]> git.ipfire.org Git - thirdparty/gcc.git/blame - libgcc/ChangeLog
Daily bump.
[thirdparty/gcc.git] / libgcc / ChangeLog
CommitLineData
6a1ad710
GA
12020-08-03 Ian Lance Taylor <iant@golang.org>
2
3 * config/i386/morestack.S (BACKOFF) [x86_64]: Add 2048 bytes.
4
52020-08-03 Jakub Jelinek <jakub@redhat.com>
6
7 PR target/96402
8 * config/aarch64/lse.S (__aarch64_cas16_acq_rel): Use x2, x3 instead
9 of x(tmp0), x(tmp1) in STXP arguments.
10
48cc2e46
GA
112020-07-31 Maciej W. Rozycki <macro@wdc.com>
12
13 * config/riscv/save-restore.S [__riscv_xlen == 64]
14 (__riscv_save_10, __riscv_save_8, __riscv_save_6, __riscv_save_4)
15 (__riscv_save_2): Replace negative immediates used for the final
16 stack pointer adjustment with positive ones, right-shifted by 4.
17
182020-07-31 Martin Liska <mliska@suse.cz>
19
20 * libgcov-driver.c: Add __gcov_kvp_pool
21 and __gcov_kvp_pool_index variables.
22 * libgcov.h (allocate_gcov_kvp): New.
23 (gcov_topn_add_value): Use it.
24
53256ee3
GA
252020-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
26
27 * config/aarch64/lse.S: Add PAC property note.
28
9bb403dc
GA
292020-07-23 Martin Liska <mliska@suse.cz>
30
31 PR gcov-profile/96035
32 * libgcov-driver-system.c: Create gcov folders with 0777
33 so that it respects a system umask.
34
8ca07a30
GA
352020-07-14 David Edelsohn <dje.gcc@gmail.com>
36
37 * config/rs6000/t-slibgcc-aix: Set BITS from compiler cpp macro.
38
ea69fcf9
GA
392020-07-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
40
41 PR target/94891
42 * config/aarch64/aarch64-unwind.h (MD_POST_EXTRACT_ROOT_ADDR): Remove.
43 (MD_POST_FROB_EH_HANDLER_ADDR): Remove.
44 (MD_POST_EXTRACT_FRAME_ADDR): Rename to ...
45 (MD_DEMANGLE_RETURN_ADDR): This.
46 (aarch64_post_extract_frame_addr): Rename to ...
47 (aarch64_demangle_return_addr): This.
48 (aarch64_post_frob_eh_handler_addr): Remove.
49 * unwind-dw2.c (uw_update_context): Demangle return address.
50 (uw_frob_return_addr): Remove.
51
3f8ca9cb
GA
522020-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
53
54 PR target/96001
55 * config/aarch64/lse.S: Add BTI marking and related definitions,
56 and add BTI c to function entries.
57
582020-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
59
60 * config/aarch64/lse.S: Add stack note.
61
b5f24739
GA
622020-07-02 Martin Liska <mliska@suse.cz>
63
64 PR gcov-profile/95348
65 * libgcov-driver.c (merge_one_data): Merge only profiles
66 that are not of non-zero type.
67 (write_one_data): Write counters only if there's one non-zero
68 value.
69 * libgcov-util.c (tag_function): Change signature from unsigned
70 to int.
71 (tag_blocks): Likewise.
72 (tag_arcs): Likewise.
73 (tag_counters): Likewise.
74 (tag_summary): Likewise.
75 (tag_lines): Read only if COUNTERS is non-zero.
76 (read_gcda_file): Handle negative length for COUNTERS type.
77
d61ffe12
GA
782020-06-25 Martin Liska <mliska@suse.cz>
79
80 * libgcov-driver.c (merge_summary): Remove function as its name
81 is misleading and doing something different.
82 (dump_one_gcov): Add ATTRIBUTE_UNUSED for 2 args. Take read summary
83 in gcov-tool.
84 * libgcov-util.c (curr_object_summary): Remove.
85 (read_gcda_file): Remove unused curr_object_summary.
86 (gcov_merge): Merge summaries.
87 * libgcov.h: Add summary argument for gcov_info struct.
88
2e546c26
GA
892020-06-24 H.J. Lu <hjl.tools@gmail.com>
90
91 PR target/95259
92 * config/i386/cpuinfo.c: Don't include "cpuinfo.h". Include
93 "common/config/i386/i386-cpuinfo.h" and
94 "common/config/i386/cpuinfo.h".
95 (__cpu_features2): Changed to array.
96 (get_amd_cpu): Removed.
97 (get_intel_cpu): Likewise.
98 (get_available_features): Likewise.
99 (__cpu_indicator_init): Call cpu_indicator_init.
100 * config/i386/cpuinfo.h: Removed.
101
4543acc8
GA
1022020-06-23 David Edelsohn <dje.gcc@gmail.com>
103
104 * Makefile.in: Remove uses of empty.mk. Use -include.
105 * config/avr/t-avr: Use -include.
106 * empty.mk: Delete.
107
f86e11a2
GA
1082020-06-21 David Edelsohn <dje.gcc@gmail.com>
109
110 * config.host (extra_parts): Add crtcxa_64 and crtdbase_64.
111 * config/rs6000/t-aix-cxa: Explicitly compile 32 bit with -maix32
112 and 64 bit with -maix64.
113 * config/rs6000/t-slibgcc-aix: Remove extra @multilib_dir@ level.
114 Build and install AIX-style FAT libraries.
115
aff95ee7
GA
1162020-06-17 Samuel Thibault <samuel.thibault@gnu.org>
117
118 * config.host (md_unwind_header) <i[34567]86-*-gnu*>: Set to
119 'i386/gnu-unwind.h'
120 * config/i386/gnu-unwind.h: New file.
121
1222020-06-17 Martin Liska <mliska@suse.cz>
123
124 * libgcov-util.c (read_gcda_finalize): Remove const operator.
125 (merge_wrapper): Add both counts and use them properly.
126 (topn_to_memory_representation): New function.
127 (gcov_merge): Covert on disk representation to in memory
128 representation.
129 * libgcov.h: Remove const operator.
130
6fb94d67
GA
1312020-06-15 Max Filippov <jcmvbkbc@gmail.com>
132
133 * configure: Regenerate.
134 * configure.ac: Use AC_COMPILE_IFELSE instead of manual
135 preprocessor invocation to check for __XTENSA_CALL0_ABI__.
136
b952c2cf
GA
1372020-06-09 Martin Liska <mliska@suse.cz>
138
139 PR gcov-profile/95494
140 * libgcov-driver.c (write_top_counters): Cast first to
141 intptr_t as sizeof(*) != sizeof(gcov_type).
142 * libgcov.h (gcov_counter_set_if_null): Remove.
143 (gcov_topn_add_value): Cast first to intptr_t and update
144 linked list directly.
145
1462020-06-09 Max Filippov <jcmvbkbc@gmail.com>
147
148 * config/xtensa/unwind-dw2-xtensa.c (uw_install_context): Merge
149 with uw_install_context_1.
150
3add3425
GA
1512020-06-04 Andreas Schwab <schwab@suse.de>
152
153 PR target/59230
154 PR libfortran/59227
155 * config/ia64/t-softfp-compat (softfp_file_list): Filter out
156 soft-fp/divtf3.c.
157 (LIB2ADD): Add config/ia64/divtf3.c.
158 * config/ia64/divtf3.c: New file.
159
9a5b7438
GA
1602020-06-03 Martin Liska <mliska@suse.cz>
161
162 PR gcov-profile/95480
163 * libgcov-profiler.c (GCOV_SUPPORTS_ATOMIC): Move to...
164 * libgcov.h (GCOV_SUPPORTS_ATOMIC): ...here.
165 (gcov_counter_add): Use GCOV_SUPPORTS_ATOMIC guard.
166 (gcov_counter_set_if_null): Likewise.
167
a9312a79
GA
1682020-06-02 Jim Wilson <jimw@sifive.com>
169
170 * config/riscv/div.S (__divdi3): For negative arguments, change bgez
171 to bgtz.
172
1732020-06-02 Martin Liska <mliska@suse.cz>
174
175 * libgcov.h (gcov_topn_add_value): Use xcalloc instead
176 of xmalloc.
177
1782020-06-02 Martin Liska <mliska@suse.cz>
179
180 * libgcov-driver.c (prune_topn_counter): Remove.
181 (prune_counters): Likewise.
182 (merge_one_data): Special case TOP N counters
183 as they have variable length.
184 (write_top_counters): New.
185 (write_one_data): Special case TOP N.
186 (dump_one_gcov): Do not prune TOP N counters.
187 * libgcov-merge.c (merge_topn_values_set): Remove.
188 (__gcov_merge_topn): Use gcov_topn_add_value.
189 * libgcov-profiler.c (__gcov_topn_values_profiler_body):
190 Likewise here.
191 * libgcov.h (gcov_counter_add): New.
192 (gcov_counter_set_if_null): Likewise.
193 (gcov_topn_add_value): New.
194
4a9aa9de
GA
1952020-06-01 Uroš Bizjak <ubizjak@gmail.com>
196
197 * config/i386/sfp-exceptions.c (struct fenv):
198 Add __attribute__ ((gcc_struct)).
199
885ef72f
GA
2002020-05-29 H.J. Lu <hjl.tools@gmail.com>
201
202 PR bootstrap/95413
203 * configure: Regenerated.
204
53ffb43a
GA
2052020-05-28 Dong JianQiang <dongjianqiang2@huawei.com>
206
207 PR gcov-profile/95332
208 * libgcov-util.c (read_gcda_file): Call gcov_magic.
209 * libgcov.h (gcov_magic): Disable GCC poison.
210
5855bdfa
L
2112020-05-21 H.J. Lu <hongjiu.lu@intel.com>
212
213 PR target/95212
214 * config/i386/cpuinfo.h (processor_features): Move
215 FEATURE_AVX512VP2INTERSECT after FEATURE_AVX512BF16.
216
35b98036
L
2172020-05-20 H.J. Lu <hongjiu.lu@intel.com>
218
219 PR target/91695
220 * config/i386/cpuinfo.c (get_available_features): Fix VPCLMULQDQ
221 check.
222
45395445
L
2232020-05-19 H.J. Lu <hongjiu.lu@intel.com>
224
225 PR target/95212
226 PR target/95220
227 * config/i386/cpuinfo.c (get_available_features): Fix
228 FEATURE_GFNI check. Also check FEATURE_AVX512VP2INTERSECT.
229 * config/i386/cpuinfo.h (processor_features): Add
230 FEATURE_AVX512VP2INTERSECT.
231
4c1a5d8b
L
2322020-05-15 H.J. Lu <hongjiu.lu@intel.com>
233
234 PR bootstrap/95147
235 * configure: Regenerated.
236
8d286dd1
L
2372020-05-14 H.J. Lu <hongjiu.lu@intel.com>
238
239 * configure: Regenerated.
240
39748a89
HPN
2412020-05-09 Hans-Peter Nilsson <hp@axis.com>
242
243 * config.host: Remove support for crisv32-*-* and cris*-*-linux.
244 * config/cris/libgcc-glibc.ver, config/cris/t-linux: Remove.
245
d3a1459c
UB
2462020-05-06 Uroš Bizjak <ubizjak@gmail.com>
247
248 * config/i386/sfp-exceptions.c (__math_force_eval): Remove.
249 (__math_force_eval_div): New define.
250 (__sfp_handle_exceptions): Use __math_force_eval_div to use
251 generic division to generate INVALID, DIVZERO and INEXACT
252 exceptions.
253
12667785
KT
2542020-05-06 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
255
256 * config/aarch64/lse-init.c (init_have_lse_atomics): Use __getauxval
257 instead of getauxval.
258 (AT_HWCAP): Define.
259 (HWCAP_ATOMICS): Define.
260 Guard detection on __gnu_linux__.
261
ef836167
MM
2622020-05-05 Michael Meissner <meissner@linux.ibm.com>
263
264 * config.host: Delete changes meant for a private branch.
265 * config/rs6000/t-float128: Likewise.
266 * configure.ac: Likewise.
267 * configure: Likewise.
268
811b7636
ML
2692020-05-05 Martin Liska <mliska@suse.cz>
270
271 PR gcov-profile/93623
272 * Makefile.in: Remove __gcov_flush.
273 * gcov.h (__gcov_flush): Remove.
274 * libgcov-interface.c (__gcov_flush): Remove.
275 (init_mx): Use renamed mutex.
276 (__gcov_lock): Likewise.
277 (__gcov_unlock): Likewise.
278 (__gcov_fork): Likewise.
279 (__gcov_flush): Remove.
280
c0532db4
ML
2812020-05-05 Martin Liska <mliska@suse.cz>
282
283 PR gcov-profile/93623
284 * libgcov-interface.c (__gcov_fork): Do not flush
285 and reset only in child process.
286 (__gcov_execl): Dump counters only and reset them
287 only if exec* fails.
288 (__gcov_execlp): Likewise.
289 (__gcov_execle): Likewise.
290 (__gcov_execv): Likewise.
291 (__gcov_execvp): Likewise.
292 (__gcov_execve): Likewise.
293
d39f7dc8
ML
2942020-05-05 Martin Liska <mliska@suse.cz>
295
296 PR gcov-profile/93623
297 * Makefile.in: Add _gcov_lock_unlock to LIBGCOV_INTERFACE.
298 * libgcov-interface.c (ALIAS_void_fn): Remove.
299 (__gcov_lock): New.
300 (__gcov_unlock): New.
301 (__gcov_flush): Use __gcov_lock and __gcov_unlock.
302 (__gcov_reset): Likewise.
303 (__gcov_dump): Likewise.
304 * libgcov.h (__gcov_lock): New declaration.
305 (__gcov_unlock): Likewise.
306
afb9b710
UB
3072020-05-01 Uroš Bizjak <ubizjak@gmail.com>
308
309 * config/i386/sfp-exceptions.c (__math_force_eval): New define.
d3a1459c 310 (__sfp_handle_exceptions): Use __math_force_eval to evaluate
afb9b710
UB
311 generic division to generate INVALID and DIVZERO exceptions.
312
66711279
SH
3132020-04-27 Sebastian Huber <sebastian.huber@embedded-brains.de>
314
315 * config/rs6000/crtresfpr.S: Use .machine ppc.
316 * config/rs6000/crtresxfpr.S: Likewise.
317 * config/rs6000/crtsavfpr.S: Likewise.
318
fb22faf4
SN
3192020-04-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
320
321 PR target/94514
322 * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
323 Update context->flags accroding to the frame state.
324
df73e584
UB
3252020-04-19 Uroš Bizjak <ubizjak@gmail.com>
326
327 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions) [__SSE_MATH__]:
328 Remove unneeded assignments to volatile memory.
329
5b2f76e3
JJ
3302020-04-15 Jakub Jelinek <jakub@redhat.com>
331
332 PR target/93053
333 * configure.ac (LIBGCC_CHECK_AS_LSE): Add HAVE_AS_LSE checking.
334 * config/aarch64/lse.S: Include auto-target.h, if HAVE_AS_LSE
335 is not defined, use just .arch armv8-a.
336 (B, M, N, OPN): Define.
337 (COMMENT): New .macro.
338 (CAS, CASP, SWP, LDOP): Use .inst directive if HAVE_AS_LSE is not
339 defined. Otherwise, move the operands right after the glue? and
340 comment out operands where the macros are used.
341 * configure: Regenerated.
342 * config.in: Regenerated.
343
50c78532
ILT
3442020-04-07 Ian Lance Taylor <iant@golang.org>
345
346 PR libgcc/94513
347 * generic-morestack.c: Give up trying to use __mmap/__munmap, use
348 syscall instead.
349
458ca332
ILT
3502020-04-04 Ian Lance Taylor <iant@golang.org>
351
352 * generic-morestack.c: Only use __mmap on glibc >= 2.26.
353
710d54ed
ILT
3542020-04-03 Ian Lance Taylor <iant@golang.org>
355
356 * generic-morestack.c: On GNU/Linux use __mmap/__munmap rather
357 than mmap/munmap, to avoid hooks.
358
b749b5ec
JJ
3592020-04-03 Jim Johnston <jjohnst@us.ibm.com>
360
361 * config/s390/tpf-unwind.h (MIN_PATRANGE, MAX_PATRANGE)
362 (TPFRA_OFFSET): Macros removed.
363 (CP_CNF, cinfc_fast, CINFC_CMRESET, CINTFC_CMCENBKST)
364 (CINTFC_CMCENBKED, ICST_CRET, ICST_SRET, LOWCORE_PAGE3_ADDR)
365 (PG3_SKIPPING_OFFSET): New macros.
366 (__isPATrange): Use cinfc_fast for the check.
367 (__isSkipResetAddr): New function.
368 (s390_fallback_frame_state): Check for skip trace addresses. Use
369 either ICST_CRET or ICST_SRET to calculate return address
370 location.
371 (__tpf_eh_return): Handle skip trace addresses.
372
a9cd2d78
RE
3732020-03-26 Richard Earnshaw <rearnsha@arm.com>
374
375 PR target/94220
376 * config/arm/lib1funcs.asm (COND): Use a single definition for
377 unified syntax.
378 (aeabi_uidivmod): Unified syntax when optimizing Thumb for size.
379 (aeabi_idivmod): Likewise.
380 (divsi3_skip_div0_test): Likewise.
381
f582ca0f
MI
3822020-03-17 Mihail Ionescu <mihail.ionescu@arm.com>
383
384 * config/arm/t-arm: Do not compile cmse_nonsecure_call.S for v8.1-m.
385
068fe0a9
AK
3862020-03-04 Andreas Krebbel <krebbel@linux.ibm.com>
387
388 * config.host: Include the new makefile fragment.
389 * config/s390/t-tpf: New file.
390
6b9ce2b4
RE
3912020-03-03 Richard Earnshaw <rearnsha@arm.com>
392
393 * config/arm/bpabi-v6m.S (aeabi_lcmp): Convert thumb1 code to unified
394 syntax.
395 (aeabi_ulcmp, aeabi_ldivmod, aeabi_uldivmod): Likewise.
396 (aeabi_frsub, aeabi_cfcmpeq, aeabi_fcmpeq): Likewise.
397 (aeabi_fcmp, aeabi_drsub, aeabi_cdrcmple): Likewise.
398 (aeabi_cdcmpeq, aeabi_dcmpeq, aeabi_dcmp): Likewise.
399 * config/arm/lib1funcs.S (Lend_fde): Convert thumb1 code to unified
400 syntax.
401 (divsi3, modsi3): Likewise.
402 (clzdi2, ctzsi2): Likewise.
403 * config/arm/libunwind.S (restore_core_regs): Convert thumb1 code to
404 unified syntax.
405 (UNWIND_WRAPPER): Likewise.
406
8dd5d8f3
ML
4072020-03-02 Martin Liska <mliska@suse.cz>
408
409 * libgcov-interface.c: Remove duplicate
410 declaration of __gcov_flush_mx.
411
ea0b1252
ML
4122020-02-18 Martin Liska <mliska@suse.cz>
413
414 PR ipa/92924
415 * libgcov-merge.c (merge_topn_values_set): Record
416 when a TOP N counter becomes invalid. When merging
417 remove a smallest value if the space is needed.
418
02ce382c
SL
4192020-02-12 Sandra Loosemore <sandra@codesourcery.com>
420
421 PR libstdc++/79193
422 PR libstdc++/88999
423
424 * configure: Regenerated.
425
7214fce3
JL
4262020-02-10 Jeff Law <law@redhat.com>
427
428 * config/frv/frvbegin.c: Use right flags for .ctors and .dtors
429 sections.
430 * config/frv/frvend.c: Similarly.
431
cf0f07ef
L
4322020-02-10 H.J. Lu <hongjiu.lu@intel.com>
433
434 PR libgcc/85334
435 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
436 New.
437
5602b48b
CL
4382020-02-10 Christophe Lyon <christophe.lyon@linaro.org>
439
440 PR target/93615
441 * unwind-arm-common.inc: Replace uses of gnu_Unwind_Find_got with
442 _Unwind_gnu_Find_got.
443 * unwind-pe.h: Likewise.
444
811a475e
JJ
4452020-02-07 Jakub Jelinek <jakub@redhat.com>
446
447 PR target/93615
448 * config/arm/unwind-arm.h (gnu_Unwind_Find_got): Rename to ...
449 (_Unwind_gnu_Find_got): ... this. Use __asm instead of asm. Remove
450 trailing :s in asm. Formatting fixes.
451 (_Unwind_decode_typeinfo_ptr): Adjust caller.
452
2d33dcfe
SL
4532020-01-31 Sandra Loosemore <sandra@codesourcery.com>
454
455 nios2: Support for GOT-relative DW_EH_PE_datarel encoding.
456
457 * config.host [nios2-*-linux*] (tmake_file, tm_file): Adjust.
458 * config/nios2-elf-lib.h: New.
459 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback): Use existing
460 code for finding GOT base for nios2.
461
3ae37f92
ML
4622020-01-27 Martin Liska <mliska@suse.cz>
463
464 PR gcov-profile/93403
465 * libgcov-profiler.c (__gcov_indirect_call_profiler_v4):
466 Call __gcov_indirect_call_profiler_body.
467 (__gcov_indirect_call_profiler_body): New.
468 (__gcov_indirect_call_profiler_v4_atomic): New.
469 * libgcov.h (__gcov_indirect_call_profiler_v4_atomic):
470 New declaration.
471
2744b8b2
CZ
4722020-01-27 Claudiu Zissulescu <claziss@synopsys.com>
473
474 * config/arc/crti.S: Add RF16 object attribute.
475 * config/arc/crtn.S: Likewise.
476 * config/arc/crttls.S: Likewise.
477 * config/arc/lib1funcs.S: Likewise.
478 * config/arc/fp-hack.h (ARC_OPTFPE): Define.
479 * config/arc/lib2funcs.c: New file.
480 * config/arc/t-arc: Add lib2funcs to LIB2ADD.
481
e8e66971
MR
4822020-01-24 Maciej W. Rozycki <macro@wdc.com>
483
484 * Makefile.in (configure_deps): Add `toolexeclibdir.m4'.
485 * configure.ac: Handle `--with-toolexeclibdir='.
486 * configure: Regenerate.
487
54b3d52c
DM
4882020-01-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
489
490 * config/mips/gnustack.h: Check for TARGET_LIBC_GNUSTACK also.
491
a3c1e1f2
DM
4922020-01-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
493
494 * config/mips/gnustack.h: New file.
495 * config/mips/crti.S: Include gnustack.h.
496 * config/mips/crtn.S: Likewise.
497 * config/mips/mips16.S: Likewise.
498 * config/mips/vr4120-div.S: Likewise.
499
e9ee848d
ML
5002020-01-23 Martin Liska <mliska@suse.cz>
501
502 * libgcov-driver.c (prune_topn_counter): Remove
503 check for -1 as we only prune run-time counters
504 that do not generate an invalid state.
505
7491c17f
ML
5062020-01-22 Martin Liska <mliska@suse.cz>
507
508 PR tree-optimization/92924
509 * libgcov-profiler.c (__gcov_topn_values_profiler_body): First
510 try to find an existing value, then find an empty slot
511 if not found.
512
5f32f9cf
ML
5132020-01-22 Martin Liska <mliska@suse.cz>
514
515 PR tree-optimization/92924
516 * libgcov-driver.c (prune_topn_counter): New.
517 (prune_counters): Likewise.
518 (dump_one_gcov): Prune a run-time counter.
519 * libgcov-profiler.c (__gcov_topn_values_profiler_body):
520 For a known value, add GCOV_TOPN_VALUES to value.
521 Otherwise, decrement all counters by one.
522
463f6499
HPN
5232020-01-18 Hans-Peter Nilsson <hp@axis.com>
524
525 * config/cris/arit.c (DS): Apply attribute __fallthrough__.
526
84479e3a
JDA
5272020-01-18 John David Anglin <danglin@gcc.gnu.org>
528
529 PR libgcc/92988
530 * crtstuff.c (__do_global_dtors_aux): Only call __cxa_finalize if
531 DEFAULT_USE_CXA_ATEXIT is true.
532
e953433f 5332020-01-16 Mihail-Calin Ionescu <mihail.ionescu@arm.com>
674dcc3f 534 Thomas Preud'homme <thomas.preudhomme@arm.com>
e953433f
MI
535
536 * config/arm/t-arm: Check return value of gcc rather than lack of
537 output.
538
03e87724
GJL
5392020-01-14 Georg-Johann Lay <avr@gjlay.de>
540
541 * config/avr/lib1funcs.S (skip): Simplify.
542
af9bd920
KCY
5432020-01-10 Kwok Cheung Yeung <kcy@codesourcery.com>
544
545 * config/gcn/atomic.c: Remove include of stdint.h.
546 (__sync_val_compare_and_swap_##SIZE): Replace uintptr_t with
547 __UINTPTR_TYPE__.
548
d6491d15
KCY
5492020-01-09 Kwok Cheung Yeung <kcy@codesourcery.com>
550
551 * config/gcn/atomic.c: New.
552 * config/gcn/t-amdgcn (LIB2ADD): Add atomic.c.
553
f30dd607
GJL
5542020-01-08 Georg-Johann Lay <avr@gjlay.de>
555
556 Implement 64-bit double functions.
557
558 PR target/92055
559 * config.host (tmake_file) [target=avr]: Add t-libf7,
560 t-libf7-math, t-libf7-math-symbols as specified by --with-libf7=.
561 * config/avr/t-avrlibc: Don't copy libgcc.a if there are modules
562 depending on sizeof (double) or sizeof (long double).
563 * config/avr/libf7: New folder.
564
5205a445
OH
5652020-01-05 Olivier Hainque <hainque@adacore.com>
566
567 * config/gthr-vxworks.h: Guard #include vxAtomicLib.h
568 by IN_LIBGCC2.
569
8d9254fc
JJ
5702020-01-01 Jakub Jelinek <jakub@redhat.com>
571
572 Update copyright years.
573
abb6c3ee
OH
5742019-12-30 Olivier Hainque <hainque@adacore.com>
575
576 * config/gthr-vxworks.h: Use _vxworks-versions.h.
577 * config/gthr-vxworks-tls.c: Likewise.
578
d7f5094a
OH
5792019-12-30 Olivier Hainque <hainque@adacore.com>
580
581 * config/gthr-vxworks.h (GTHREAD_ONCE_INIT): Use
582 standard zero-initializer syntax.
583
49cfaa2a
OH
5842019-12-30 Olivier Hainque <hainque@adacore.com>
585
586 * config/gthr-vxworks-tls.c (__gthread_getspecific): Fix
587 reference to the internal VX_GET_TLS_DATA interface.
588
89b9a554
OH
5892019-12-30 Olivier Hainque <hainque@adacore.com>
590
591 * config/vxcrtstuff.c: Fix incorrect spelling of
592 USE_INITFINI_ARRAY in guard.
593
e8aa9f55
JL
5942019-12-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
595
596 * config.host: s/msp430*-*-elf/msp430-*-elf*.
597 Override default "extra_parts" variable.
598 * configure: Regenerate.
599 * configure.ac: Disable TM clone registry by default for
600 msp430-elfbare.
601
a9046e98
JL
6022019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
603
604 * config.host (msp430*-*-elf): Add crt{begin,end}_no_eh.o to
605 "extra_parts".
606 * config/msp430/t-msp430: Add rules to build crt{begin,end}_no_eh.o.
607
34a53788
JL
6082019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
609
610 * crtstuff.c: Declare __dso_handle only if DEFAULT_USE_CXA_ATEXIT is
611 true.
612
21a098f4
JL
6132019-12-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
614
615 * crtstuff.c (__do_global_dtors_aux): Check if USE_EH_FRAME_REGISTRY is
616 defined instead of its value.
617
ad8b7783
JL
6182019-12-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
619
620 * crtstuff.c (__do_global_dtors_aux): Wrap in #if so it's only defined
621 if it will have contents.
622
08d7ff78
GJL
6232019-12-05 Georg-Johann Lay <avr@gjlay.de>
624
625 PR target/92055
626 * config/avr/t-avrlibc (MULTISUBDIR): Search for double, not double64.
627
3d3a96a2
SN
6282019-11-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
629
34b4d99d 630 PR libgcc/91737
3d3a96a2
SN
631 * config.host: Add t-gthr-noweak on *-*-musl*.
632 * config/t-gthr-noweak: New file.
633
632b5e3d
JDA
6342019-11-17 John David Anglin <danglin@gcc.gnu.org>
635
636 * config/pa/linux-atomic.c (__kernel_cmpxchg): Change argument 1 to
637 volatile void *. Remove trap check.
638 (__kernel_cmpxchg2): Likewise.
639 (FETCH_AND_OP_2): Adjust operand types.
640 (OP_AND_FETCH_2): Likewise.
641 (FETCH_AND_OP_WORD): Likewise.
642 (OP_AND_FETCH_WORD): Likewise.
643 (COMPARE_AND_SWAP_2): Likewise.
644 (__sync_val_compare_and_swap_4): Likewise.
645 (__sync_bool_compare_and_swap_4): Likewise.
646 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
647 (__sync_lock_test_and_set_4): Likewise.
648 (SYNC_LOCK_RELEASE_1): Likewise. Use __kernel_cmpxchg2 for release.
649 (__sync_lock_release_4): Adjust operand types. Use __kernel_cmpxchg
650 for release.
651 (__sync_lock_release_8): Remove.
652
838fd641
SN
6532019-11-15 Szabolcs Nagy <szabolcs.nagy@arm.com>
654
655 * config/m68k/linux-unwind.h (struct uw_ucontext): Use sigset_t instead
656 of __sigset_t.
657
27204060
JL
6582019-11-14 Jerome Lambourg <lambourg@adacore.com>
659 Doug Rupp <rupp@adacore.com>
660 Olivier Hainque <hainque@adacore.com>
661
662 * config.host: Collapse the arm-vxworks entries into
663 a single arm-wrs-vxworks7* one.
664 * config/arm/unwind-arm-vxworks.c: Update comments. Provide
665 __gnu_Unwind_Find_exidx and a weak dummy __cxa_type_match for
666 kernel modules, to be overriden by libstdc++ when we link with
667 it. Rely on externally provided __exidx_start/end.
668
3004f893
DR
6692019-11-14 Doug Rupp <rupp@adacore.com>
670 Olivier Hainque <hainque@adacore.com>
671
672 * config.host: Handle aarch64*-wrs-vxworks7*.
673
36e5f4d4
OH
6742019-11-12 Olivier Hainque <hainque@adacore.com>
675
676 * config/t-gthr-vxworksae: New file, add all the gthr-vxworks
677 sources except the cxx0x support to LIB2ADDEH. We don't support
678 cxx0x on AE/653.
679 * config/t-vxworksae: New file.
680 * config.host: Handle *-*-vxworksae: Add the two aforementioned
681 Makefile fragment files at their expected position in the tmake_file
682 list, in accordance with what is done for other VxWorks variants.
683
806dd047
CG
6842019-11-12 Corentin Gay <gay@adacore.com>
685 Jerome Lambourg <lambourg@adacore.com>
686 Olivier Hainque <hainque@adacore.com>
687
688 * config/t-gthr-vxworks: New file, add all the gthr-vxworks
689 sources to LIB2ADDEH.
690 * config/t-vxworks: Remove adjustments to LIB2ADDEH.
691 * config/t-vxworks7: Likewise.
692
693 * config.host: Append a block at the end of the file to add the
694 t-gthr files to the tmake_file list for VxWorks after everything
695 else.
696
697 * config/vxlib.c: Rename as gthr-vxworks.c.
698 * config/vxlib-tls.c: Rename as gthr-vxworks-tls.c.
699
700 * config/gthr-vxworks.h: Simplify a few comments. Expose a TAS
701 API and a basic error checking API, both internal. Simplify the
702 __gthread_once_t type definition and initializers. Add sections
703 for condition variables support and for the C++0x thread support,
704 conditioned against Vx653 for the latter.
705
706 * config/gthr-vxworks.c (__gthread_once): Simplify comments and
707 implementation, leveraging the TAS internal API.
708 * config/gthr-vxworks-tls.c: Introduce an internal TLS data access
709 API, leveraging the general availability of TLS services in VxWorks7
710 post SR6xxx.
711 (__gthread_setspecific, __gthread_setspecific): Use it.
712 (tls_delete_hook): Likewise, and simplify the enter/leave dtor logic.
713 * config/gthr-vxworks-cond.c: New file. GTHREAD_COND variable
714 support based on VxWorks primitives.
715 * config/gthr-vxworks-thread.c: New file. GTHREAD_CXX0X support
716 based on VxWorks primitives.
717
78e49fb1
JL
7182019-11-06 Jerome Lambourg <lambourg@adacore.com>
719 Olivier Hainque <hainque@adacore.com>
720
721 * config/vxcrtstuff.c: New file.
722 * config/t-vxcrtstuff: New Makefile fragment.
723 * config.host: Append t-vxcrtstuff to the tmake_file list
724 on all VxWorks ports using dwarf for table based EH.
725
29f3def3
GJL
7262019-11-07 Georg-Johann Lay <avr@gjlay.de>
727
728 Support 64-bit double and 64-bit long double configurations.
729
730 PR target/92055
731 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Only add -DF=SF if
732 long double is a 32-bit type.
733 * config/avr/t-avrlibc: Copy double64 and long-double64
734 multilib(s) from the vanilla one.
735 * config/avr/t-copy-libgcc: New Makefile snip.
736
62ec242e
JL
7372019-11-04 Jozef Lawrynowicz <jozef.l@mittosystems.com>
738
739 * crtstuff.c: Define USE_TM_CLONE_REGISTRY to 0 if it's undefined and
740 the target output object format is not ELF.
741 s/defined(USE_TM_CLONE_REGISTRY)/USE_TM_CLONE_REGISTRY.
742
da5c1bbe
OE
7432019-11-03 Oleg Endo <olegendo@gcc.gnu.org>
744
745 PR libgcc/78804
746 * fp-bit.h: Remove FLOAT_BIT_ORDER_MISMATCH.
747 * fp-bit.c (pack_d, unpack_d): Remove special cases for
748 FLOAT_BIT_ORDER_MISMATCH.
749 * config/arc/t-arc: Remove FLOAT_BIT_ORDER_MISMATCH.
750
8dc56a22
JW
7512019-11-01 Jim Wilson <jimw@sifive.com>
752
753 * config/riscv/t-softfp32 (softfp_extra): Add FP divide routines
754
91c64455
JL
7552019-10-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
756
757 * config/msp430/lib2hw_mul.S: Fix wrong syntax in branch instruction.
758 s/RESULT_LO/RESLO, s/RESULT_HI/RESHI, s/MPY_OP1/MPY,
759 s/MPY_OP1_S/MPYS, s/MAC_OP1/MAC, s/MPY_OP2/OP2, s/MAC_OP2/OP2.
760 Define symbols for 32-bit and f5series hardware multiply
761 register addresses.
762 Replace hard-coded register addresses with symbols.
763 Fix "_mspabi*" typo.
764 Fix whitespace.
765 * config/msp430/lib2mul.c: Add comment.
766
85093ac6
JDA
7672019-10-15 John David Anglin <danglin@gcc.gnu.org>
768
769 * config/pa/fptr.c (_dl_read_access_allowed): Change argument to
770 unsigned int. Adjust callers.
771 (__canonicalize_funcptr_for_compare): Change plabel type to volatile
772 unsigned int *. Load relocation offset before function pointer.
773 Add barrier to ensure ordering.
774
1aea083d
JDA
7752019-10-12 John David Anglin <danglin@gcc.gnu.org>
776
777 * config/pa/lib2funcs.S (__gcc_plt_call): Load branch target to %r21.
778 Load PIC register after branch target. Fix white space.
779 * config/pa/milli64.S ($$dyncall): Separate LINUX and non LINUX
780 implementations. Load PIC register after branch target. Don't
781 clobber function pointer when it points to function descriptor.
782 Use nullification instead of branch in LINUX implementation.
783
c49af82c
JDA
7842019-10-03 John David Anglin <danglin@gcc.gnu.org>
785
786 * config/pa/fptr.c: Disable -Warray-bounds warning.
787
88a51d68
RH
7882019-09-25 Richard Henderson <richard.henderson@linaro.org>
789
9e46fd07
RH
790 * config.in, configure: Re-rebuild with stock autoconf 2.69,
791 not the ubuntu modified 2.69.
792
58d169ba
RH
793 PR target/91833
794 * config/aarch64/lse-init.c: Include auto-target.h. Disable
795 initialization if !HAVE_SYS_AUXV_H.
796 * configure.ac (AC_CHECK_HEADERS): Add sys/auxv.h.
797 * config.in, configure: Rebuild.
798
88a51d68
RH
799 PR target/91834
800 * config/aarch64/lse.S (LDNM): Ensure STXR output does not
801 overlap the inputs.
802
761e6bb9
SZ
8032019-09-25 Shaokun Zhang <zhangshaokun@hisilicon.com>
804
805 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Add support for
806 CTR_EL0.IDC and CTR_EL0.DIC.
807
76c93295
CL
8082019-09-20 Christophe Lyon <christophe.lyon@st.com>
809
810 Revert:
811 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
812 Mickaël Guêné <mickael.guene@st.com>
813
814 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
815 architecture.
816
33befddc
RH
8172019-09-19 Richard Henderson <richard.henderson@linaro.org>
818
819 * config/aarch64/lse-init.c: New file.
820 * config/aarch64/lse.S: New file.
821 * config/aarch64/t-lse: New file.
822 * config.host: Add t-lse to all aarch64 tuples.
823
ae1152e5
CL
8242019-09-10 Christophe Lyon <christophe.lyon@st.com>
825 Mickaël Guêné <mickael.guene@st.com>
826
84818dbb
CL
827 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
828 architecture.
829
8302019-09-10 Christophe Lyon <christophe.lyon@st.com>
831 Mickaël Guêné <mickael.guene@st.com>
832
ae1152e5
CL
833 * unwind-arm-common.inc (ARM_SET_R7_RT_SIGRETURN)
834 (THUMB2_SET_R7_RT_SIGRETURN, FDPIC_LDR_R12_WITH_FUNCDESC)
835 (FDPIC_LDR_R9_WITH_GOT, FDPIC_LDR_PC_WITH_RESTORER)
836 (FDPIC_FUNCDESC_OFFSET, ARM_NEW_RT_SIGFRAME_UCONTEXT)
837 (ARM_UCONTEXT_SIGCONTEXT, ARM_SIGCONTEXT_R0, FDPIC_T2_LDR_R12_WITH_FUNCDESC)
838 (FDPIC_T2_LDR_R9_WITH_GOT, FDPIC_T2_LDR_PC_WITH_RESTORER): New.
839 (__gnu_personality_sigframe_fdpic): New.
840 (get_eit_entry): Add FDPIC signal frame support.
841
5d727a4b
CL
8422019-09-10 Christophe Lyon <christophe.lyon@st.com>
843 Mickaël Guêné <mickael.guene@st.com>
844
845 * config/arm/linux-atomic.c (__kernel_cmpxchg): Add FDPIC support.
846 (__kernel_dmb): Likewise.
847 (__fdpic_cmpxchg): New function.
848 (__fdpic_dmb): New function.
849 * config/arm/unwind-arm.h (FDPIC_REGNUM): New define.
850 (gnu_Unwind_Find_got): New function.
851 (_Unwind_decode_typeinfo_ptr): Add FDPIC support.
852 * unwind-arm-common.inc (UCB_PR_GOT): New.
853 (funcdesc_t): New struct.
854 (get_eit_entry): Add FDPIC support.
855 (unwind_phase2): Likewise.
856 (unwind_phase2_forced): Likewise.
857 (__gnu_Unwind_RaiseException): Likewise.
858 (__gnu_Unwind_Resume): Likewise.
859 (__gnu_Unwind_Backtrace): Likewise.
860 * unwind-pe.h (read_encoded_value_with_base): Likewise.
861
b1e21e5a 8622019-09-10 Christophe Lyon <christophe.lyon@st.com>
11189793 863 Mickaël Guêné <mickael.guene@st.com>
b1e21e5a 864
11189793
CL
865 * libgcc/crtstuff.c: Add support for FDPIC.
866
8672019-09-10 Christophe Lyon <christophe.lyon@st.com>
868
869 * config.host: Handle *-*-uclinuxfdpiceabi.
b1e21e5a 870
91dfef96
JM
8712019-09-09 Jose E. Marchesi <jose.marchesi@oracle.com>
872
873 * config.host: Set cpu_type for bpf-*-* targets.
874 * config/bpf/t-bpf: Likewise.
875 * config/bpf/crtn.S: Likewise.
876 * config/bpf/crti.S: New file.
877
2f4d8951
JW
8782019-09-06 Jim Wilson <jimw@sifive.com>
879
880 * config.host (riscv*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
881 (riscv*-*-freebsd*): Likewise.
882
2f2aeda9
UW
8832019-09-03 Ulrich Weigand <uweigand@de.ibm.com>
884
885 * config.host: Remove references to spu.
886 * config/spu/: Remove directory.
887
d16017da
JL
8882019-08-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
889
890 PR target/91306
891 * crtstuff.c (__CTOR_LIST__): Align to the "__alignof__" the array
892 element type, instead of "sizeof" the element type.
893 (__DTOR_LIST__): Likewise.
894 (__TMC_LIST__): Likewise.
895 (__do_global_dtors_aux_fini_array_entry): Likewise.
896 (__frame_dummy_init_array_entry): Likewise.
897 (__CTOR_END__): Likewise.
898 (__DTOR_END__): Likweise.
899 (__FRAME_END__): Likewise.
900 (__TMC_END__): Likewise.
901
a9fcfec3
HL
9022019-08-20 Lili Cui <lilicui@intel.com>
903
904 * config/i386/cpuinfo.h: Add INTEL_COREI7_TIGERLAKE and
905 INTEL_COREI7_COOPERLAKE.
906
428642b1
MT
9072019-07-31 Matt Thomas <matt@3am-software.com>
908 Nick Hudson <nick@nthcliff.demon.co.uk>
909 Matthew Green <mrg@eterna.com.au>
910 Maya Rashish <coypu@sdf.org>
911
912 * config.host (hppa*-*-netbsd*): New case.
913 * config/pa/t-netbsd: New file.
914
f0efd925
JH
9152019-07-31 Joel Hutton <Joel.Hutton@arm.com>
916
917 * config/arm/cmse.c (cmse_check_address_range): Add
918 warn_unused_result attribute.
919
a861990d
ML
9202019-07-22 Martin Liska <mliska@suse.cz>
921
922 * config/pa/stublib.c: Remove stub symbol __gnu_lto_v1.
923 * config/pa/t-stublib: Likewise.
924
9c0dba7c
SH
9252019-07-22 Stafford Horne <shorne@gmail.com>
926
927 PR target/90362
928 * config/or1k/lib1funcs.S (__udivsi3): Change l.sfeqi
929 to l.sfeq and l.sfltsi to l.sflts equivalents as the immediate
930 instructions are not available on every processor. Change a
931 l.bnf to l.bf to fix logic issue.
932
61afc8f8
IS
9332019-07-04 Iain Sandoe <iain@sandoe.co.uk>
934
935 * config.host: Remove reference to t-darwin8.
936
179c7ef5
IS
9372019-07-03 Iain Sandoe <iain@sandoe.co.uk>
938
939 * config.host (powerpc-*-darwin*,powerpc64-*-darwin*): Revise crt
940 list.
941 * config/rs6000/t-darwin: Build crt3_2 for older systems. Revise
942 mmacosx-version-min for crts to run across all system versions.
943 * config/rs6000/t-darwin64 (LIB2ADD): Remove.
944 * config/t-darwin: Revise mmacosx-version-min for crts to run across
945 system versions >= 10.4.
946
596341c7
ML
9472019-07-03 Martin Liska <mliska@suse.cz>
948
949 * Makefile.in: Use topn_values instead of one_value names.
950 * libgcov-merge.c (__gcov_merge_single): Move to ...
951 (__gcov_merge_topn): ... this.
952 (merge_single_value_set): Move to ...
953 (merge_topn_values_set): ... this.
954 * libgcov-profiler.c (__gcov_one_value_profiler_body): Move to
955 ...
956 (__gcov_topn_values_profiler_body): ... this.
957 (__gcov_one_value_profiler_v2): Move to ...
958 (__gcov_topn_values_profiler): ... this.
959 (__gcov_one_value_profiler_v2_atomic): Move to ...
960 (__gcov_topn_values_profiler_atomic): ... this.
961 (__gcov_indirect_call_profiler_v4): Remove.
962 * libgcov-util.c (__gcov_single_counter_op): Move to ...
963 (__gcov_topn_counter_op): ... this.
964 * libgcov.h (L_gcov_merge_single): Remove.
965 (L_gcov_merge_topn): New.
966 (__gcov_merge_single): Remove.
967 (__gcov_merge_topn): New.
968 (__gcov_one_value_profiler_v2): Move to ..
969 (__gcov_topn_values_profiler): ... this.
970 (__gcov_one_value_profiler_v2_atomic): Move to ...
971 (__gcov_topn_values_profiler_atomic): ... this.
972
1b309ca5
ML
9732019-07-03 Martin Liska <mliska@suse.cz>
974
975 * libgcov-merge.c (merge_single_value_set): Support N values.
976 * libgcov-profiler.c (__gcov_one_value_profiler_body): Likewise.
977
5a460280
ID
9782019-06-27 Ilia Diachkov <ilia.diachkov@optimitech.com>
979
980 * Makefile.in (USE_TM_CLONE_REGISTRY): New.
981 (CRTSTUFF_CFLAGS): Use USE_TM_CLONE_REGISTRY.
982 * configure.ac: Add --disable-tm-clone-registry option.
983 * configure: Regenerate.
984
45309d28
ML
9852019-06-27 Martin Liska <mliska@suse.cz>
986
987 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Remove obviously
988 dead assignments.
989 * libgcov-util.c: Likewise.
990
c2f7a665
ML
9912019-06-27 Martin Liska <mliska@suse.cz>
992
993 * libgcov-util.c (gcov_profile_merge): Release allocated
994 memory.
995 (calculate_overlap): Likewise.
996
a8e55c61
IS
9972019-06-25 Iain Sandoe <iain@sandoe.co.uk>
998
999 * config.host: Add libef_ppc.a to the extra files for powerpc-darwin.
1000 * config/rs6000/t-darwin: (PPC_ENDFILE_SRC, PPC_ENDFILE_OBJS): New.
1001 Build objects for the out of line save/restore register functions
1002 so that they can be used for any supported Darwin version.
1003 * config/t-darwin: Default the build Darwin version to Darwin8
1004 (MacOS 10.4).
1005
e5ce4cbc
ML
10062019-06-25 Martin Liska <mliska@suse.cz>
1007
1008 * libgcov-driver-system.c (replace_filename_variables): Do not
1009 call strlen with NULL argument.
1010
52a47d28
AS
10112019-06-25 Andrew Stubbs <ams@codesourcery.com>
1012
1013 * config/gcn/t-amdgcn (LIB2ADD): Add unwind-gcn.c.
1014 * config/gcn/unwind-gcn.c: New file.
1015
76d46331
KCY
10162019-06-25 Kwok Cheung Yeung <kcy@codesourcery.com>
1017 Andrew Stubbs <ams@codesourcery.com>
1018
1019 * configure: Regenerate.
1020 * config/gcn/gthr-gcn.h: New.
1021
787783a0
TV
10222019-06-18 Tom de Vries <tdevries@suse.de>
1023
1024 * config/nvptx/crt0.c (__main): Declare.
1025
f32f7585
MG
10262019-06-17 Matthew Green <mrg@eterna.com.au>
1027 Maya Rashish <coypu@sdf.org>
1028
1029 * config.host (aarch64*-*-netbsd*): New case.
1030
0fcc78f7
JL
10312019-06-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1032
1033 * config/msp430/slli.S (__mspabi_sllll): New library function for
1034 performing a logical left shift of a 64-bit value.
1035 * config/msp430/srai.S (__mspabi_srall): New library function for
1036 performing a arithmetic right shift of a 64-bit value.
1037 * config/msp430/srll.S (__mspabi_srlll): New library function for
1038 performing a logical right shift of a 64-bit value.
1039
b27c1082
MT
10402019-06-14 Matt Thomas <matt@3am-software.com>
1041 Matthew Green <mrg@eterna.com.au>
1042 Nick Hudson <skrll@netbsd.org>
1043 Maya Rashish <coypu@sdf.org>
1044
1045 * config.host (arm*-*-netbsdelf*): Add support for EABI configurations.
1046 * config/arm/t-netbsd (LIB1ASMFUNCS): Add some additional assembler
1047 functions to build.
1048 * config/arm/t-netbsd-eabi: New file.
1049
ae7deb4b
DD
10502019-06-12 Dimitar Dimitrov <dimitar@dinux.eu>
1051
1052 * config.host: Add PRU target.
1053 * config/pru/asri.c: New file.
1054 * config/pru/eqd.c: New file.
1055 * config/pru/eqf.c: New file.
1056 * config/pru/ged.c: New file.
1057 * config/pru/gef.c: New file.
1058 * config/pru/gtd.c: New file.
1059 * config/pru/gtf.c: New file.
1060 * config/pru/led.c: New file.
1061 * config/pru/lef.c: New file.
1062 * config/pru/lib2bitcountHI.c: New file.
1063 * config/pru/lib2divHI.c: New file.
1064 * config/pru/lib2divQI.c: New file.
1065 * config/pru/lib2divSI.c: New file.
1066 * config/pru/libgcc-eabi.ver: New file.
1067 * config/pru/ltd.c: New file.
1068 * config/pru/ltf.c: New file.
1069 * config/pru/mpyll.S: New file.
1070 * config/pru/pru-abi.h: New file.
1071 * config/pru/pru-asm.h: New file.
1072 * config/pru/pru-divmod.h: New file.
1073 * config/pru/sfp-machine.h: New file.
1074 * config/pru/t-pru: New file.
1075
0d7b3e47
JJ
10762019-06-11 Jakub Jelinek <jakub@redhat.com>
1077
1078 * libgcov-merge.c (__gcov_merge_single): Revert previous change.
1079
54e2d83c
ML
10802019-06-10 Martin Liska <mliska@suse.cz>
1081
1082 PR bootstrap/90808
1083 * libgcov.h: Add ATTRIBUTE_UNUSED.
1084
92d41717
ML
10852019-06-10 Martin Liska <mliska@suse.cz>
1086
1087 * Makefile.in: Add __gcov_one_value_profiler_v2,
1088 __gcov_one_value_profiler_v2_atomic and
1089 __gcov_indirect_call_profiler_v4.
1090 * libgcov-merge.c (__gcov_merge_single): Change
1091 function signature.
1092 (merge_single_value_set): New.
1093 * libgcov-profiler.c (__gcov_one_value_profiler_body):
1094 Update functionality.
1095 (__gcov_one_value_profiler): Remove.
1096 (__gcov_one_value_profiler_v2): ... this.
1097 (__gcov_one_value_profiler_atomic): Rename to ...
1098 (__gcov_one_value_profiler_v2_atomic): this.
1099 (__gcov_indirect_call_profiler_v3): Rename to ...
1100 (__gcov_indirect_call_profiler_v4): ... this.
1101 * libgcov.h (__gcov_one_value_profiler): Remove.
1102 (__gcov_one_value_profiler_atomic): Remove.
1103 (__gcov_one_value_profiler_v2_atomic): New.
1104 (__gcov_indirect_call_profiler_v3): Remove.
1105 (__gcov_one_value_profiler_v2): New.
1106 (__gcov_indirect_call_profiler_v4): New.
1107 (gcov_get_counter_ignore_scaling): New function.
1108
e37333ba
ML
11092019-06-07 Martin Liska <mliska@suse.cz>
1110
1111 * Makefile.in: Remove usage of
1112 _gcov_merge_icall_topn.
1113 * libgcov-driver.c (gcov_sort_n_vals): Remove.
1114 (gcov_sort_icall_topn_counter): Likewise.
1115 (gcov_sort_topn_counter_arrays): Likewise.
1116 (dump_one_gcov): Remove call to gcov_sort_topn_counter_arrays.
1117 * libgcov-merge.c (__gcov_merge_icall_topn): Remove.
1118 * libgcov-profiler.c (__gcov_topn_value_profiler_body):
1119 Likewise.
1120 (GCOV_ICALL_COUNTER_CLEAR_THRESHOLD): Remove.
1121 (struct indirect_call_tuple): Remove.
1122 (__gcov_indirect_call_topn_profiler): Remove.
1123 * libgcov-util.c (__gcov_icall_topn_counter_op): Remove.
1124 * libgcov.h (gcov_sort_n_vals): Remove.
1125 (L_gcov_merge_icall_topn): Likewise.
1126 (__gcov_merge_icall_topn): Likewise.
1127 (__gcov_indirect_call_topn_profiler): Likewise.
1128
34a4a9c2
IS
11292019-06-06 Iain Sandoe <iain@sandoe.co.uk>
1130
1131 * config/rs6000/t-darwin: Ensure that the unwinder is built with
1132 altivec enabled.
1133
d1b2f85f
JL
11342019-06-06 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1135
1136 * config/msp430/slli.S (__mspabi_slli_n): Put function in its own
1137 section.
1138 (__mspabi_slli): Likewise.
1139 (__mspabi_slll_n): Likewise.
1140 (__mspabi_slll): Likewise.
1141 * config/msp430/srai.S (__mspabi_srai_n): Likewise.
1142 (__mspabi_srai): Likewise.
1143 (__mspabi_sral_n): Likewise.
1144 (__mspabi_sral): Likewise.
1145 * config/msp430/srli.S (__mspabi_srli_n): Likewise.
1146 (__mspabi_srli): Likewise.
1147 (__mspabi_srll_n): Likewise.
1148 (__mspabi_srll): Likewise.
1149
e69a13d1
YS
11502019-06-05 Yoshinori Sato <ysato@users.sourceforge.jp>
1151
1152 * config.host (rx-*-linux*): Add t-fdpbit to tmake_file
1153 Add appropriate tm_file clause as well.
1154 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Remove.
1155
b009eac1
JC
11562019-06-05 James Clarke <jrtc27@jrtc27.com>
1157
1158 * config/ia64/crtbegin.S (__dso_handle): Put in .sdata/.sbss
1159 rather than .data/.bss so it can be accessed via gp-relative
1160 addressing.
1161
781d39f2
DE
11622019-06-05 David Edelsohn <dje.gcc@gmail.com>
1163
1164 * config/rs6000/aix-unwind.h (LR_REGNO): Rename to R_LR.
1165 (CR2_REGNO): Rename to R_CR2.
1166 (XER_REGNO): Rename to R_XER.
1167 (FIRST_ALTIVEC_REGNO): Rename to R_FIRST_ALTIVEC.
1168 (VRSAVE_REGNO): Rename to R_VRSAVE.
1169 (VSCR_REGNO): R_VSCR.
1170
76aaa9cd
YS
11712019-05-29 Yoshinori Sato <ysato@users.sourceforge.jp>
1172
1173 * config.host (rx-*-linux*): Add new case.
1174 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Force DFmode to SFmode.
1175
8fc16d72
ST
11762019-05-29 Sam Tebbs <sam.tebbs@arm.com>
1177
1178 * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key): New
1179 function.
1180 * config/aarch64/aarch64-unwind.h (aarch64_post_extract_frame_addr,
1181 aarch64_post_frob_eh_handler_addr): Add check for b-key.
1182 * config/aarch64/aarch64-unwind-h (aarch64_post_extract_frame_addr,
1183 aarch64_post_frob_eh_handler_addr, aarch64_post_frob_update_context):
1184 Rename RA_A_SIGNED_BIT to RA_SIGNED_BIT.
1185 * unwind-dw2-fde.c (get_cie_encoding): Add check for 'B' in augmentation
1186 string.
1187 * unwind-dw2.c (extract_cie_info): Add check for 'B' in augmentation
1188 string.
1189 (RA_A_SIGNED_BIT): Rename to RA_SIGNED_BIT.
1190
e54b1a92
RO
11912019-05-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1192
1193 * config/sparc/sol2-unwind.h [__arch64__] (sparc64_is_sighandler):
1194 Remove Solaris 9 and 10 support.
1195 (sparc_is_sighandler): Likewise.
1196
abbb8307
JDA
11972019-05-26 John David Anglin <danglin@gcc.gnu.org>
1198
1199 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Add cast.
1200
2581344d
L
12012019-05-17 H.J. Lu <hongjiu.lu@intel.com>
1202
1203 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
1204 4_FP_W_TYPEs are used for IEEE quad precision.
1205 * soft-fp/extendhftf2.c: Likewise.
1206 * soft-fp/extendsftf2.c: Likewise.
1207 * soft-fp/extendxftf2.c: Likewise.
1208 * soft-fp/trunctfdf2.c: Likewise.
1209 * soft-fp/trunctfhf2.c: Likewise.
1210 * soft-fp/trunctfsf2.c: Likewise.
1211 * soft-fp/trunctfxf2.c: Likewise.
1212 * config/rs6000/ibm-ldouble.c: Likewise.
1213
ccd1242e
RO
12142019-05-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1215
1216 * config.host: Simplify various *-*-solaris2.1[0-9]* to
1217 *-*-solaris2*.
1218 * configure.ac: Likewise.
1219 * configure: Regenerate.
1220
1221 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
1222 Solaris 10 and Solaris 11 < snv_125 handling.
1223
ef5eb79d
IS
12242019-05-12 Iain Sandoe <iain@sandoe.co.uk>
1225
1226 * config/rs6000/darwin-vecsave.S: Set .machine appropriately.
1227
4f0e90fa
HL
12282019-05-07 Hongtao Liu <hongtao.liu@intel.com>
1229
1230 * config/i386/cpuinfo.c (get_available_features): Detect BF16.
1231 * config/i386/cpuinfo.h (enum processor_features): Add
1232 FEATURE_AVX512BF16.
1233
48528842
RR
12342019-04-23 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
1235 Bernd Edlinger <bernd.edlinger@hotmail.de>
1236 Jakub Jelinek <jakub@redhat.com>
1237
1238 PR target/89093
1239 * config/arm/pr-support.c: Add #pragma GCC target("general-regs-only").
1240 * config/arm/unwind-arm.c: Likewise.
1241 * unwind-c.c (PERSONALITY_FUNCTION): Add general-regs-only target
1242 attribute for ARM.
1243
887e182f
MC
12442019-04-15 Monk Chiang <sh.chiang04@gmail.com>
1245
1246 * config/nds32/linux-unwind.h (SIGRETURN): Remove.
1247 (RT_SIGRETURN): Update.
1248 (nds32_fallback_frame_state): Update.
1249
a90b0cdd
MS
12502019-02-21 Martin Sebor <msebor@redhat.com>
1251
1252 * libgcc2.h (__clear_cache): Correct signature.
1253 * libgcc2.c (__clear_cache): Same.
1254
1ed28eda
UB
12552019-02-20 Uroš Bizjak <ubizjak@gmail.com>
1256
1257 * config/alpha/linux-unwind.h (alpha_fallback_frame_state):
1258 Cast 'mcontext_t *' &rt_->uc.uc_mcontext to 'struct sigcontext *'.
1259
fe95aee9
UB
12602019-02-19 Uroš Bizjak <ubizjak@gmail.com>
1261
1262 * unwind-dw2.c (_Unwind_GetGR) [DWARF_ZERO_REG]: Compare
1263 regno instead of index to DWARF_ZERO_REG.
1264
bf7988f1
EB
12652019-02-15 Eric Botcazou <ebotcazou@adacore.com>
1266
1267 * config/visium/lib2funcs.c (__set_trampoline_parity): Replace
1268 TRAMPOLINE_SIZE with __LIBGCC_TRAMPOLINE_SIZE__.
1269
ba2c1ca8
UB
12702019-01-31 Uroš Bizjak <ubizjak@gmail.com>
1271
1272 * config/alpha/t-linux: Add -mfp-rounding-mode=d
1273 to HOST_LIBGCC2_CFLAGS.
1274
6395ba73
L
12752019-01-23 Joseph Myers <joseph@codesourcery.com>
1276
1277 PR libgcc/88931
ba2c1ca8 1278 * libgcc2.c (FSTYPE FUNC (DWtype u)): Correct no leading bits case.
6395ba73 1279
756721ba
ML
12802019-01-18 Martin Liska <mliska@suse.cz>
1281
1282 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Rename
1283 to ...
1284 (__gcov_indirect_call_profiler_v3): ... this.
1285 * libgcov.h (__gcov_indirect_call_profiler_v2): Likewise.
1286 (__gcov_indirect_call_profiler_v3): Likewise.
1287 * Makefile.in: Bump function name.
1288
d273c40a
ML
12892019-01-18 Martin Liska <mliska@suse.cz>
1290
1291 * libgcov-driver.c (GCOV_PROF_PREFIX): Define.
1292 (gcov_version): Use in gcov_error.
1293 (merge_one_data): Likewise.
1294 (dump_one_gcov): Likewise.
1295
be9d9fdb
ML
12962019-01-18 Martin Liska <mliska@suse.cz>
1297
1298 * libgcov-driver.c (gcov_version_string): New function.
1299 (gcov_version): Convert version integer into string.
1300
91d7b7fe
AS
13012019-01-17 Andrew Stubbs <ams@codesourcery.com>
1302 Kwok Cheung Yeung <kcy@codesourcery.com>
1303 Julian Brown <julian@codesourcery.com>
1304 Tom de Vries <tom@codesourcery.com>
1305
1306 * config.host: Recognize amdgcn*-*-amdhsa.
1307 * config/gcn/crt0.c: New file.
1308 * config/gcn/lib2-divmod-hi.c: New file.
1309 * config/gcn/lib2-divmod.c: New file.
1310 * config/gcn/lib2-gcn.h: New file.
1311 * config/gcn/sfp-machine.h: New file.
1312 * config/gcn/t-amdgcn: New file.
1313
67914693
SL
13142019-01-09 Sandra Loosemore <sandra@codesourcery.com>
1315
1316 PR other/16615
1317
1318 * config/c6x/libunwind.S: Mechanically replace "can not" with
1319 "cannot".
1320 * config/tilepro/atomic.h: Likewise.
1321 * config/vxlib-tls.c: Likewise.
1322 * generic-morestack-thread.c: Likewise.
1323 * generic-morestack.c: Likewise.
1324 * mkmap-symver.awk: Likewise.
1325
a5544970
JJ
13262019-01-01 Jakub Jelinek <jakub@redhat.com>
1327
1328 Update copyright years.
1329
da77eace
L
13302018-12-20 H.J. Lu <hongjiu.lu@intel.com>
1331
1332 * unwind-pe.h (read_encoded_value_with_base): Add GCC pragma
1333 to ignore -Waddress-of-packed-member.
1334
72e3a529
TP
13352018-12-19 Thomas Preud'homme <thomas.preudhomme@linaro.org>
1336
1337 * /config/arm/lib1funcs.S (FUNC_START): Remove unused sp_section
1338 parameter and corresponding code.
1339 (ARM_FUNC_START): Likewise in both definitions.
1340 Also update footer comment about condition that need to match with
1341 gcc/config/arm/elf.h to also include libgcc/config/arm/t-arm.
1342 * config/arm/ieee754-df.S (muldf3): Also build it if L_arm_muldf3 is
1343 defined. Weakly define it in this case.
1344 * config/arm/ieee754-sf.S (mulsf3): Likewise with L_arm_mulsf3.
1345 * config/arm/t-elf (LIB1ASMFUNCS): Build _arm_muldf3.o and
1346 _arm_mulsf3.o before muldiv versions if targeting Thumb-1 only. Add
1347 comment to keep condition in sync with the one in
1348 libgcc/config/arm/lib1funcs.S and gcc/config/arm/elf.h.
1349
5d54c798
WX
13502018-12-18 Wei Xiao <wei3.xiao@intel.com>
1351
1352 * config/i386/cpuinfo.c (get_intel_cpu): Handle cascadelake.
1353 * config/i386/cpuinfo.h: Add INTEL_COREI7_CASCADELAKE.
1354
5a2580b6
RV
13552018-12-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1356
1357 * config/rs6000/tramp.S (__trampoline_setup): Also emit .size
1358 and .cfi_endproc directives for VxWorks targets.
1359
c0c5112b
PK
13602018-12-05 Paul Koning <ni1d@arrl.net>
1361
1362 * udivmodhi4.c (__udivmodhi4): Fix loop end check.
1363
1ea7ea18
AM
13642018-11-27 Alan Modra <amodra@gmail.com>
1365
1366 * config/rs6000/morestack.S (__stack_split_initialize),
1367 (__morestack_get_guard, __morestack_set_guard),
1368 (__morestack_make_guard): Provide CFI covering these functions.
1369 * config/rs6000/tramp.S (__trampoline_setup): Likewise.
1370
ff641ae1
XQ
13712018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
1372
1ea7ea18 1373 * config/csky/linux-unwind.h (sc_pt_regs): Update for kernel.
ff641ae1
XQ
1374 (sc_pt_regs_lr): Update for kernel.
1375 (sc_pt_regs_tls): Update for kernel.
1376
28209372
XQ
13772018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
1378
1379 * config/csky/linux-unwind.h: Fix coding style.
1380
b2a71af6
XQ
13812018-11-13 Xianmiao Qu <xianmiao_qu@c-sky.com>
1382
1383 * config/csky/linux-unwind.h (_sig_ucontext_t): Remove.
1ea7ea18 1384 (csky_fallback_frame_state): Modify the check of the
b2a71af6
XQ
1385 instructions to adapt to changes in the kernel
1386
d929e137
SH
13872018-11-09 Stafford Horne <shorne@gmail.com>
1388 Richard Henderson <rth@twiddle.net>
1389
1390 * config.host: Add OpenRISC support.
1391 * config/or1k/*: New.
1392
222cfefa
KC
13932018-11-08 Kito Cheng <kito@andestech.com>
1394
1395 * soft-fp/adddf3.c: Update from glibc.
1396 * soft-fp/addsf3.c: Likewise.
1397 * soft-fp/addtf3.c: Likewise.
1398 * soft-fp/divdf3.c: Likewise.
1399 * soft-fp/divsf3.c: Likewise.
1400 * soft-fp/divtf3.c: Likewise.
1401 * soft-fp/double.h: Likewise.
1402 * soft-fp/eqdf2.c: Likewise.
1403 * soft-fp/eqsf2.c: Likewise.
1404 * soft-fp/eqtf2.c: Likewise.
1405 * soft-fp/extenddftf2.c: Likewise.
1406 * soft-fp/extended.h: Likewise.
1407 * soft-fp/extendhftf2.c: Likewise.
1408 * soft-fp/extendsfdf2.c: Likewise.
1409 * soft-fp/extendsftf2.c: Likewise.
1410 * soft-fp/extendxftf2.c: Likewise.
1411 * soft-fp/fixdfdi.c: Likewise.
1412 * soft-fp/fixdfsi.c: Likewise.
1413 * soft-fp/fixdfti.c: Likewise.
1414 * soft-fp/fixhfti.c: Likewise.
1415 * soft-fp/fixsfdi.c: Likewise.
1416 * soft-fp/fixsfsi.c: Likewise.
1417 * soft-fp/fixsfti.c: Likewise.
1418 * soft-fp/fixtfdi.c: Likewise.
1419 * soft-fp/fixtfsi.c: Likewise.
1420 * soft-fp/fixtfti.c: Likewise.
1421 * soft-fp/fixunsdfdi.c: Likewise.
1422 * soft-fp/fixunsdfsi.c: Likewise.
1423 * soft-fp/fixunsdfti.c: Likewise.
1424 * soft-fp/fixunshfti.c: Likewise.
1425 * soft-fp/fixunssfdi.c: Likewise.
1426 * soft-fp/fixunssfsi.c: Likewise.
1427 * soft-fp/fixunssfti.c: Likewise.
1428 * soft-fp/fixunstfdi.c: Likewise.
1429 * soft-fp/fixunstfsi.c: Likewise.
1430 * soft-fp/fixunstfti.c: Likewise.
1431 * soft-fp/floatdidf.c: Likewise.
1432 * soft-fp/floatdisf.c: Likewise.
1433 * soft-fp/floatditf.c: Likewise.
1434 * soft-fp/floatsidf.c: Likewise.
1435 * soft-fp/floatsisf.c: Likewise.
1436 * soft-fp/floatsitf.c: Likewise.
1437 * soft-fp/floattidf.c: Likewise.
1438 * soft-fp/floattihf.c: Likewise.
1439 * soft-fp/floattisf.c: Likewise.
1440 * soft-fp/floattitf.c: Likewise.
1441 * soft-fp/floatundidf.c: Likewise.
1442 * soft-fp/floatundisf.c: Likewise.
1443 * soft-fp/floatunditf.c: Likewise.
1444 * soft-fp/floatunsidf.c: Likewise.
1445 * soft-fp/floatunsisf.c: Likewise.
1446 * soft-fp/floatunsitf.c: Likewise.
1447 * soft-fp/floatuntidf.c: Likewise.
1448 * soft-fp/floatuntihf.c: Likewise.
1449 * soft-fp/floatuntisf.c: Likewise.
1450 * soft-fp/floatuntitf.c: Likewise.
1451 * soft-fp/gedf2.c: Likewise.
1452 * soft-fp/gesf2.c: Likewise.
1453 * soft-fp/getf2.c: Likewise.
1454 * soft-fp/half.h: Likewise.
1455 * soft-fp/ledf2.c: Likewise.
1456 * soft-fp/lesf2.c: Likewise.
1457 * soft-fp/letf2.c: Likewise.
1458 * soft-fp/muldf3.c: Likewise.
1459 * soft-fp/mulsf3.c: Likewise.
1460 * soft-fp/multf3.c: Likewise.
1461 * soft-fp/negdf2.c: Likewise.
1462 * soft-fp/negsf2.c: Likewise.
1463 * soft-fp/negtf2.c: Likewise.
1464 * soft-fp/op-1.h: Likewise.
1465 * soft-fp/op-2.h: Likewise.
1466 * soft-fp/op-4.h: Likewise.
1467 * soft-fp/op-8.h: Likewise.
1468 * soft-fp/op-common.h: Likewise.
1469 * soft-fp/quad.h: Likewise.
1470 * soft-fp/single.h: Likewise.
1471 * soft-fp/soft-fp.h: Likewise.
1472 * soft-fp/subdf3.c: Likewise.
1473 * soft-fp/subsf3.c: Likewise.
1474 * soft-fp/subtf3.c: Likewise.
1475 * soft-fp/truncdfsf2.c: Likewise.
1476 * soft-fp/trunctfdf2.c: Likewise.
1477 * soft-fp/trunctfhf2.c: Likewise.
1478 * soft-fp/trunctfsf2.c: Likewise.
1479 * soft-fp/trunctfxf2.c: Likewise.
1480 * soft-fp/unorddf2.c: Likewise.
1481 * soft-fp/unordsf2.c: Likewise.
1482 * soft-fp/unordtf2.c: Likewise.
1483
2901f42f
VK
14842018-11-04 Venkataramanan Kumar <Venkataramanan.kumar@amd.com>
1485
1486 * config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
1487 * config/i386/cpuinfo.h (processor_types): Add znver2.
1488
4310ca66
PK
14892018-11-01 Paul Koning <ni1d@arrl.net>
1490
1491 * config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c.
1492 (HOST_LIBGCC2_CFLAGS): Change to optimize for size.
1493
22e05272
JM
14942018-10-31 Joseph Myers <joseph@codesourcery.com>
1495
1496 PR bootstrap/82856
1497 * configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
1498 * configure: Regenerate.
1499
8180cde0
CZ
15002018-10-31 Claudiu Zissulescu <claziss@synopsys.com>
1501
1502 * config/arc/lib1funcs.S (_muldi3): New function.
1503 * config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
1504
be7b071e
RV
15052018-10-30 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1506
1507 * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
1508
3239d726
ML
15092018-10-25 Martin Liska <mliska@suse.cz>
1510
1511 PR other/87735
1512 * libgcov-profiler.c: Revert.
1513
19b55958
ML
15142018-10-24 Martin Liska <mliska@suse.cz>
1515
1516 * libgcov-profiler.c: Start from 1 in order to distinguish
1517 functions which were seen and these that were not.
1518
a9a2fddb
PK
15192018-10-18 Paul Koning <ni1d@arrl.net>
1520
1521 * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
1522 standard.
1523 * divmod.c: Update references to __udivmodsi4.
1524 * udivmod.c: Ditto.
1525 * udivhi3.c: New file.
1526 * udivmodhi4.c: New file.
1527 * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
1528
fc8abc46
RV
15292018-10-17 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1530
1531 * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
1532
87f918e3
OH
15332018-10-12 Olivier Hainque <hainque@adacore.com>
1534
1535 * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
1536 defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
1537
be86efa7
PK
15382018-10-08 Paul Koning <ni1d@arrl.net>
1539
1540 * config/pdp11/t-pdp11: Remove -mfloat32 switch.
1541
3edbcdbe
ML
15422018-10-04 Martin Liska <mliska@suse.cz>
1543
1544 PR gcov-profile/84107
1545 * libgcov-profiler.c (__gcov_indirect_call):
1546 Change type to indirect_call_tuple.
1547 (struct indirect_call_tuple): New struct.
1548 (__gcov_indirect_call_topn_profiler): Change type.
1549 (__gcov_indirect_call_profiler_v2): Use the new
1550 variables.
1551 * libgcov.h (struct indirect_call_tuple): New struct
1552 definition.
1553
af8096fc
UB
15542018-10-03 Uros Bizjak <ubizjak@gmail.com>
1555
1556 * libgcc2.c (isnan): Use __builtin_isnan.
1557 (isfinite): Use __builtin_isfinite.
1558 (isinf): Use __builtin_isinf.
1559
0a76bba4
UB
15602018-09-26 Uros Bizjak <ubizjak@gmail.com>
1561
1562 * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
1563
5244089f
OH
15642018-09-21 Alexandre Oliva <oliva@adacore.com>
1565
1566 * config/vxcache.c: New file. Provide __clear_cache, based on
1567 the cacheTextUpdate VxWorks service.
1568 * config/t-vxworks (LIB2ADD): Add vxcache.c.
1569 (LIB2FUNCS_EXCLUDE): Add _clear_cache.
1570 * config/t-vxwoks7: Likewise.
1571
512cc015
ML
15722018-09-21 Martin Liska <mliska@suse.cz>
1573
1574 * libgcov-driver.c (crc32_unsigned): Remove.
1575 (gcov_histogram_insert): Likewise.
1576 (gcov_compute_histogram): Likewise.
1577 (compute_summary): Simplify rapidly.
1578 (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
1579 (merge_summary): Rapidly simplify.
1580 (dump_one_gcov): Ignore gcov_summary.
1581 (gcov_do_dump): Do not handle program summary, it's not
1582 used.
1583 * libgcov-util.c (tag_summary): Remove.
1584 (read_gcda_finalize): Fix coding style.
1585 (read_gcda_file): Initialize curr_object_summary.
1586 (compute_summary): Remove.
1587 (calculate_overlap): Remove settings of run_max.
1588
36ff254b
MC
15892018-09-21 Monk Chiang <sh.chiang04@gmail.com>
1590
1591 * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
1592 ucontext_t type instead.
1593 (nds32_fallback_frame_state): Remove struct _sigframe statement.
1594
229a033d
KC
15952018-09-21 Kito Cheng <kito.cheng@gmail.com>
1596
1597 * config/nds32/t-nds32-glibc: New file.
1598
53c6feb2
RO
15992018-09-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1600
1601 * configure.ac (solaris_ld_v2_maps): New test.
1602 * configure: Regenerate.
1603 * Makefile.in (solaris_ld_v2_maps): New variable.
1604 * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
1605 if supported.
1606
ebdb6f23
RE
16072018-08-23 Richard Earnshaw <rearnsha@arm.com>
1608
1609 PR target/86951
1610 * config/arm/lib1funcs.asm (speculation_barrier): New function.
1611 * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
1612 to build.
1613
a49c064e
IS
16142018-08-22 Iain Sandoe <iain@sandoe.co.uk>
1615
1ea7ea18 1616 * config/unwind-dw2-fde-darwin.c
a49c064e
IS
1617 (_darwin10_Unwind_FindEnclosingFunction): move from here ...
1618 * config/darwin10-unwind-find-enc-func.c: … to here.
1619 * config/t-darwin: Build Darwin10 unwinder shim crt.
1620 * libgcc/config.host: Add the Darwin10 unwinder shim.
1621
9a5b8df7
RV
16222018-08-21 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1623
1624 * config.host: Add crtbegin.o and crtend.o for
1625 powerpc-wrs-vxworks target.
1626
4cd0bc3b
J
16272018-08-17 Jojo <jijie_rong@c-sky.com>
1628 Huibin Wang <huibin_wang@c-sky.com>
1629 Sandra Loosemore <sandra@codesourcery.com>
1630 Chung-Lin Tang <cltang@codesourcery.com>
1631
1632 C-SKY port: libgcc
1633
1634 * config.host: Add C-SKY support.
1635 * config/csky/*: New.
1636
a4931745
CJW
16372018-08-12 Chung-Ju Wu <jasonwucj@gmail.com>
1638
1639 * config/nds32/t-nds32-isr: Rearrange object dependency.
1640 * config/nds32/initfini.c: Add dwarf2 unwinding support.
1641 * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
1642 and registers usage.
1643 * config/nds32/isr-library/excp_isr.S: Ditto.
1644 * config/nds32/isr-library/intr_isr.S: Ditto.
1645 * config/nds32/isr-library/reset.S: Ditto.
1646 * config/nds32/isr-library/restore_all.inc: Ditto.
1647 * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
1648 * config/nds32/isr-library/restore_partial.inc: Ditto.
1649 * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
1650 * config/nds32/isr-library/save_all.inc: Ditto.
1651 * config/nds32/isr-library/save_mac_regs.inc: Ditto.
1652 * config/nds32/isr-library/save_partial.inc: Ditto.
1653 * config/nds32/isr-library/save_usr_regs.inc: Ditto.
1654 * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
1655
2b1969f6
JDA
16562018-08-11 John David Anglin <danglin@gcc.gnu.org>
1657
1658 * config/pa/linux-atomic.c: Update comment.
1659 (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
1660 COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
1661 SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
1662 __ATOMIC_RELAXED for atomic loads.
1663 (SYNC_LOCK_RELEASE_1): New define. Use __sync_synchronize() and
1664 unordered store to release lock.
1665 (__sync_lock_release_8): Likewise.
1666 (SYNC_LOCK_RELEASE_2): Remove define.
af8096fc 1667
89fff9cc
NP
16682018-08-02 Nicolas Pitre <nico@fluxnic.net>
1669
1670 PR libgcc/86512
1671 * config/arm/ieee754-df.S: Don't shortcut denormal handling when
1672 exponent goes negative. Update my email address.
1673 * config/arm/ieee754-sf.S: Likewise.
1674
fd2e1dcd
ML
16752018-08-01 Martin Liska <mliska@suse.cz>
1676
1677 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
92a285c1 1678 check that __gcov_indirect_call_callee is non-null.
fd2e1dcd 1679
b7415975
CL
16802018-07-30 Christophe Lyon <christophe.lyon@linaro.org>
1681
1682 * config/arm/ieee754-df.S: Fix comment for code working on
1683 architectures >= 4.
1684 * config/arm/ieee754-sf.S: Likewise.
1685
b72e71a3
L
16862018-07-27 H.J. Lu <hongjiu.lu@intel.com>
1687
1688 PR libgcc/85334
1689 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
1690 Removed.
1691
1c686aa4
JC
16922018-07-05 James Clarke <jrtc27@jrtc27.com>
1693
1694 * configure: Regenerated.
1695
b61c9b99
RO
16962018-06-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1697
1698 * Makefile.in (install_leaf): Use enable_gcov instead of
1699 enable_libgcov.
1700
1765b023
RV
17012018-06-27 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1702
1703 * configure.ac: Add --disable-gcov option.
1704 * configure: Regenerate.
1705 * Makefile.in: Honour @enable_gcov@.
1706
9b2e34ef
CL
17072018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
1708
1709 * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
1710 __ARM_ARCH and __ARM_FEATURE_CLZ instead.
1711 (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
1712 * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
1713 __ARM_ARCH__.
1714 * config/arm/ieee754-sf.S: Likewise.
1715 * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
1716
d1b0dd54
CL
17172018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
1718
1719 * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
1720 longer supported.
1721 * config/arm/ieee754-sf.S: Likewise.
1722
1f3fa525
TM
17232018-06-20 Than McIntosh <thanm@google.com>
1724
1725 PR libgcc/86213
1726 * generic-morestack.c (allocate_segment): Move calls to getenv and
1727 getpagesize to __morestack_load_mmap.
1728 (__morestack_load_mmap) Initialize static_pagesize and
1729 use_guard_page here so as to avoid clobbering SSE regs during a
1730 __morestack call.
1731
6a8886e4
MM
17322018-06-18 Michael Meissner <meissner@linux.ibm.com>
1733
1734 * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
1735 support modules with -mno-gnu-attribute.
1736 * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
1737
fb997097
OH
17382018-06-07 Olivier Hainque <hainque@adacore.com>
1739
1740 * config/t-vxworks (LIBGCC_INCLUDES): Add
1741 -I$(MULTIBUILDTOP)../../gcc/include.
1742 * config/t-vxworks7: Likewise. Reformat a bit to match
1743 the t-vxworks layout.
1744
a548a5a1
OM
17452018-06-07 Olga Makhotina <olga.makhotina@intel.com>
1746
1747 * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
1748
244aebfd
ML
17492018-06-07 Martin Liska <mliska@suse.cz>
1750
1751 * libgcov-driver.c: Rename cs_all to all and assign it from
92a285c1 1752 all_prg.
244aebfd 1753
6c086e8c
ML
17542018-06-07 Martin Liska <mliska@suse.cz>
1755
92a285c1 1756 PR bootstrap/86057
6c086e8c 1757 * libgcov-driver-system.c (replace_filename_variables): Use
92a285c1 1758 memcpy instead of mempcpy.
6c086e8c 1759 (allocate_filename_struct): Do not allocate filename, allocate
92a285c1 1760 prefix and set it.
6c086e8c 1761 (gcov_exit_open_gcda_file): Allocate memory for gf->filename
92a285c1 1762 here and properly copy content into it.
6c086e8c 1763 * libgcov-driver.c (struct gcov_filename): Remove max_length
92a285c1 1764 field, change prefix from size_t into char *.
6c086e8c
ML
1765 (compute_summary): Do not calculate longest filename.
1766 (gcov_do_dump): Release memory of gf.filename after each file.
1767 * libgcov-util.c (compute_summary): Use new signature of
92a285c1 1768 compute_summary.
6c086e8c
ML
1769 (calculate_overlap): Likewise.
1770
97a53d1d
ML
17712018-06-05 Martin Liska <mliska@suse.cz>
1772
1773 PR gcov-profile/47618
1774 * libgcov-driver-system.c (replace_filename_variables): New
92a285c1 1775 function.
97a53d1d
ML
1776 (gcov_exit_open_gcda_file): Use it.
1777
7f3577f5
ML
17782018-06-05 Martin Liska <mliska@suse.cz>
1779
1780 * libgcov-driver.c (gcov_compute_histogram): Remove usage
1781 of gcov_ctr_summary.
1782 (compute_summary): Do it just for a single summary.
1783 (merge_one_data): Likewise.
1784 (merge_summary): Simplify as we read just single summary.
1785 (dump_one_gcov): Pass proper argument.
1786 * libgcov-util.c (compute_one_gcov): Simplify as we have just
1787 single summary.
1788 (gcov_info_count_all_cold): Likewise.
1789 (calculate_overlap): Likewise.
1790
cf3cd43d
CJW
17912018-06-02 Chung-Ju Wu <jasonwucj@gmail.com>
1792 Monk Chiang <sh.chiang04@gmail.com>
1793
1794 * config.host (nds32*-linux*): New.
1795 * config/nds32/linux-atomic.c: New file.
1796 * config/nds32/linux-unwind.h: New file.
1797
8b8003ed
UB
17982018-05-31 Uros Bizjak <ubizjak@gmail.com>
1799
1800 PR target/85591
1801 * config/i386/cpuinfo.c (get_amd_cpu): Return
1802 AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
1803
bbdf026f
RV
18042018-05-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
1805
92a285c1 1806 * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
bbdf026f 1807
0e8f29da
ML
18082018-05-29 Martin Liska <mliska@suse.cz>
1809
92a285c1 1810 PR gcov-profile/85759
0e8f29da 1811 * libgcov-driver-system.c (gcov_error): Introduce usage of
92a285c1 1812 GCOV_EXIT_AT_ERROR env. variable.
0e8f29da 1813 * libgcov-driver.c (merge_one_data): Print error that we
92a285c1 1814 overwrite a gcov file with a different timestamp.
0e8f29da 1815
54fd1590
K
18162018-05-23 Kalamatee <kalamatee@gmail.com>
1817
1818 * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
1819 path to Lf$finfty.
1820
09baee1a
KC
18212018-05-18 Kito Cheng <kito.cheng@gmail.com>
1822 Monk Chiang <sh.chiang04@gmail.com>
1823 Jim Wilson <jimw@sifive.com>
1824
1825 * config/riscv/save-restore.S: Add support for rv32e.
1826
c3f808d3
KT
18272018-05-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1828
1829 * config/arm/libunwind.S: Update comment relating to armv5.
1830
fcf4f831
JL
18312018-05-17 Jerome Lambourg <lambourg@adacore.com>
1832
1833 * config/arm/cmse.c (cmse_check_address_range): Replace
1834 UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
1835
74b2bb19
OM
18362018-05-17 Olga Makhotina <olga.makhotina@intel.com>
1837
1838 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
1839 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
1840
50e461df
OM
18412018-05-08 Olga Makhotina <olga.makhotina@intel.com>
1842
1843 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
1844 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
1845
e5f1cdb1
AC
18462018-05-07 Amaan Cheval <amaan.cheval@gmail.com>
1847
1848 * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
1849
8f479d7a
AT
18502018-04-27 Andreas Tobler <andreast@gcc.gnu.org>
1851 Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
1852
1853 PR libgcc/84292
1854 * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
1855 op_and_fetch to return the right result.
1856
ae043291
AM
18572018-04-27 Alan Modra <amodra@gmail.com>
1858
1859 PR libgcc/85532
1860 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
1861 -fno-asynchronous-unwind-tables.
1862
ba169b74
CJW
18632018-04-25 Chung-Ju Wu <jasonwucj@gmail.com>
1864
1865 * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
1866 * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
1867
ffc2fc06
L
18682018-04-24 H.J. Lu <hongjiu.lu@intel.com>
1869
1870 * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
1871 when including "config/i386/shadow-stack-unwind.h".
1872
7b47ecf2
L
18732018-04-24 H.J. Lu <hongjiu.lu@intel.com>
1874
1875 * configure: Regenerated.
1876
661eb8f9
MM
18772018-04-20 Michael Meissner <meissner@linux.ibm.com>
1878
1879 PR target/85456
1880 * config/rs6000/_powikf2.c: New file. Add support for the
1881 __builtin_powil function when long double is IEEE 128-bit floating
1882 point.
1883 * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
1884 __powikf2 support.
1885 (__powikf2): Likewise.
1886 * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
1887 (__powikf2_hw): Likewise.
1888 (__powikf2): Likewise.
1889 * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
1890 * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
1891 (_powikf2-hw.c): Likewise.
1892
5707be3c
L
18932018-04-19 H.J. Lu <hongjiu.lu@intel.com>
1894
1895 PR libgcc/85334
1896 * unwind-generic.h (_Unwind_Frames_Increment): New.
1897 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
1898 Likewise.
1899 * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
1900 count with _Unwind_Frames_Increment.
1901 (_Unwind_ForcedUnwind_Phase2): Likewise.
1902
5f9ca0b8
L
19032018-04-19 H.J. Lu <hongjiu.lu@intel.com>
1904
1905 PR libgcc/85379
1906 * config/i386/morestack.S (__stack_split_initialize): Add
1907 _CET_ENDBR.
1908
a0e1df88
JJ
19092018-04-19 Jakub Jelinek <jakub@redhat.com>
1910
1911 * configure: Regenerated.
1912
001ddaa8
DM
19132018-04-18 David Malcolm <dmalcolm@redhat.com>
1914
1915 PR jit/85384
1916 * configure: Regenerate.
1917
a57f99ba
JJ
19182018-04-16 Jakub Jelinek <jakub@redhat.com>
1919
1920 PR target/84945
1921 * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
1922 -Wdangling-else warnings. Mask shift counts to avoid
1923 -Wshift-count-negative and -Wshift-count-overflow false positives.
1924
4d47fe5a
RB
19252018-04-06 Ruslan Bukin <br@bsdpad.com>
1926
1927 * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
1928
059cc8ac
L
19292018-03-29 H.J. Lu <hongjiu.lu@intel.com>
1930
1931 PR target/85100
1932 * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
1933 (XSTATE_FP): Likewise.
1934 (XSTATE_SSE): Likewise.
1935 (XSTATE_YMM): Likewise.
1936 (XSTATE_OPMASK): Likewise.
1937 (XSTATE_ZMM): Likewise.
1938 (XSTATE_HI_ZMM): Likewise.
1939 (XCR_AVX_ENABLED_MASK): Likewise.
1940 (XCR_AVX512F_ENABLED_MASK): Likewise.
1941 (get_available_features): Enable AVX and AVX512 features only
1942 if their states are supported by OSXSAVE.
1943
f2620385
IT
19442018-03-22 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1945
1946 PR target/85025
1947 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
1948 Fix a typo, tmp => 255.
1949
ae6dca8c
JJ
19502018-03-20 Jakub Jelinek <jakub@redhat.com>
1951
1952 PR target/84945
1953 * config/i386/cpuinfo.h (__cpu_features2): Declare.
1954 * config/i386/cpuinfo.c (__cpu_features2): New variable for
1955 ifndef SHARED only.
1956 (set_feature): Define.
1957 (get_available_features): Use set_feature macro. Set __cpu_features2
1958 to the second word of features ifndef SHARED.
1959
c36b04c1
JK
19602018-03-15 Julia Koval <julia.koval@intel.com>
1961
1962 * config/i386/cpuinfo.c (get_available_features): Add
1963 FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
1964 FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
1965 * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
1966 FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
1967 FEATURE_AVX512BITALG.
1968
79ab5364
JK
19692018-03-14 Julia Koval <julia.koval@intel.com>
1970
1971 * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
1972 icelake client and icelake server.
1973
66a00b11
JDA
19742018-03-06 John David Anglin <danglin@gcc.gnu.org>
1975
1976 * config/pa/fptr.c (_dl_read_access_allowed): New.
1977 (__canonicalize_funcptr_for_compare): Use it.
af8096fc 1978
ce579a4f
JJ
19792018-02-28 Jakub Jelinek <jakub@redhat.com>
1980
1981 PR debug/83917
1982 * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
1983 $asm_hidden_op if visibility ("hidden") attribute works.
1984 (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
1985 * config/i386/i386-asm.h: Don't include auto-host.h.
1986 (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
1987 PACKAGE_URL): Don't undefine.
1988 (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
1989 guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
1990 (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
1991 #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
1992 definition instead of hardcoded .hidden.
1993 * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
1994 directive. Use #ifdef HAVE_AS_CFI_SECTIONS rather than
1995 #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
1996 (USE_GAS_CFI_DIRECTIVES): Don't define.
1997 * configure: Regenerated.
1998 * config.in: Likewise.
1999
e5868319
JJ
20002018-02-26 Jakub Jelinek <jakub@redhat.com>
2001
2002 PR debug/83917
2003 * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
2004 PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
2005 inclusion of auto-target.h and auto-host.h.
2006 (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
2007 __GCC_HAVE_DWARF2_CFI_ASM.
2008 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
2009 cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
2010 cfi_pop): Define.
2011 * config/i386/cygwin.S: Don't include auto-host.h here, just
2012 define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
2013 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
2014 cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
2015 * config/i386/resms64fx.h: Add cfi_* directives.
2016 * config/i386/resms64x.h: Likewise.
2017
faef260e
MF
20182018-02-20 Max Filippov <jcmvbkbc@gmail.com>
2019
2020 * config/xtensa/ieee754-df.S (__adddf3_aux): Add
2021 .literal_position directive.
2022 * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
2023
14e335ed
IT
20242018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2025
2026 PR target/84148
2027 * configure: Regenerate.
2028
95df0433
IT
20292018-02-16 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2030
2031 PR target/84239
2032 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
2033 Include cetintrin.h not x86intrin.h.
2034
f8de876d
IT
20352018-02-08 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2036
2037 PR target/84239
95df0433 2038 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
f8de876d
IT
2039 Use new _get_ssp and _inc_ssp intrinsics.
2040
02da1e9c
JK
20412018-02-02 Julia Koval <julia.koval@intel.com>
2042
2043 * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
2044
048c6a9a
CZ
20452018-01-26 Claudiu Zissulescu <claziss@synopsys.com>
2046
2047 * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
2048 option.
2049 (__divsi3): Use RF16 safe registers.
2050 (__modsi3): Likewise.
2051
0889f168
MF
20522018-01-23 Max Filippov <jcmvbkbc@gmail.com>
2053
2054 * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
2055 (__divsf3): Make NaN return value quiet.
2056 * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
2057 (__divdf3): Make NaN return value quiet.
2058
bc8b0d04
SP
20592018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
2060
2061 * config/rl78/anddi3.S: New assembly file.
2062 * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
2063
99cc06ea
SP
20642018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
2065
2066 * config/rl78/umindi3.S: New assembly file.
2067 * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
2068
6e9007a0
SP
20692018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
2070
2071 * config/rl78/smindi3.S: New assembly file.
2072 * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
2073
d975e494 20742018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
af8096fc 2075
d975e494
SP
2076 * config/rl78/smaxdi3.S: New assembly file.
2077 * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
2078
6a18c146 20792018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
af8096fc 2080
5dd16013
SP
2081 * config/rl78/umaxdi3.S: New assembly file.
2082 * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
af8096fc 2083
07baf4a5
JDA
20842018-01-21 John David Anglin <danglin@gcc.gnu.org>
2085
2086 PR lto/83452
2087 * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
2088 * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
af8096fc 2089
dbc3af4f
RS
20902018-01-13 Richard Sandiford <richard.sandiford@linaro.org>
2091
2092 * config/aarch64/value-unwind.h (aarch64_vg): New function.
2093 (DWARF_LAZY_REGISTER_VALUE): Define.
2094 * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
2095 to provide a fallback register value.
2096
68df9882
MM
20972018-01-08 Michael Meissner <meissner@linux.vnet.ibm.com>
2098
2099 * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
2100 __ibm128, instead of trying to use long double.
2101 (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
2102 accomidate -mabi=ieeelongdouble multilibs.
2103 (CVT_IBM128_TO_FLOAT128): Likewise.
2104 * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
2105 the appropriate IBM extended double type.
2106 (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
2107 (__gcc_qsub): Likewise.
2108 (__gcc_qmul): Likewise.
2109 (__gcc_qdiv): Likewise.
2110 (pack_ldouble): Likewise.
2111 (__gcc_qneg): Likewise.
2112 (__gcc_qeq): Likewise.
2113 (__gcc_qne): Likewise.
2114 (__gcc_qge): Likewise.
2115 (__gcc_qle): Likewise.
2116 (__gcc_stoq): Likewise.
2117 (__gcc_dtoq): Likewise.
2118 (__gcc_itoq): Likewise.
2119 (__gcc_utoq): Likewise.
2120 (__gcc_qunord): Likewise.
2121 * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
2122 quad-float128.h for the definitions.
2123 (COPYSIGN): Use the f128 version instead of the q version.
2124 (INFINITY): Likewise.
2125 (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
2126 * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
2127 quad-float128.h for the definitions.
2128 (COPYSIGN): Use the f128 version instead of the q version.
2129 (INFINITY): Likewise.
2130 (FABS): Likewise.
2131 (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
2132 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
2133 * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
2134
64b371b1
SH
21352018-01-05 Sebastian Huber <sebastian.huber@embedded-brains.de>
2136
2137 * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
2138 configuration.
2139
85ec4feb
JJ
21402018-01-03 Jakub Jelinek <jakub@redhat.com>
2141
2142 Update copyright years.
2143
21442017-12-12 Kito Cheng <kito.cheng@gmail.com>
b8d7e076
KC
2145
2146 * config/riscv/t-elf: Use multi3.c instead of multi3.S.
2147 * config/riscv/multi3.c: New file.
2148 * config/riscv/multi3.S: Remove.
2149
3a4c600f
JW
21502017-12-08 Jim Wilson <jimw@sifive.com>
2151
2152 * config/riscv/div.S: Use FUNC_* macros.
2153 * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
2154 * config/riscv/save-restore.S: Likewise.
2155 * config/riscv/riscv-asm.h: New.
2156
75ad35b5
MM
21572017-11-30 Michael Meissner <meissner@linux.vnet.ibm.com>
2158
6ae3512c
MM
2159 * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
2160 * config/rs6000/_divkc3.c (__divkc3): Likewise.
2161
75ad35b5
MM
2162 PR libgcc/83112
2163 * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
2164 correct type for all ifunc resolvers to silence -Wattribute-alias
2165 warnings. Eliminate the forward declaration of the resolver
2166 functions which is no longer needed.
2167 (__subkf3_resolve): Likewise.
2168 (__mulkf3_resolve): Likewise.
2169 (__divkf3_resolve): Likewise.
2170 (__negkf2_resolve): Likewise.
2171 (__eqkf2_resolve): Likewise.
2172 (__nekf2_resolve): Likewise.
2173 (__gekf2_resolve): Likewise.
2174 (__gtkf2_resolve): Likewise.
2175 (__lekf2_resolve): Likewise.
2176 (__ltkf2_resolve): Likewise.
2177 (__unordkf2_resolve): Likewise.
2178 (__extendsfkf2_resolve): Likewise.
2179 (__extenddfkf2_resolve): Likewise.
2180 (__trunckfsf2_resolve): Likewise.
2181 (__trunckfdf2_resolve): Likewise.
2182 (__fixkfsi_resolve): Likewise.
2183 (__fixkfdi_resolve): Likewise.
2184 (__fixunskfsi_resolve): Likewise.
2185 (__fixunskfdi_resolve): Likewise.
2186 (__floatsikf_resolve): Likewise.
2187 (__floatdikf_resolve): Likewise.
2188 (__floatunsikf_resolve): Likewise.
2189 (__floatundikf_resolve): Likewise.
2190 (__extendkftf2_resolve): Likewise.
2191 (__trunctfkf2_resolve): Likewise.
2192
2193 PR libgcc/83103
2194 * config/rs6000/quad-float128.h (TF): Don't define if long double
2195 is IEEE 128-bit floating point.
2196 (TCtype): Define as either TCmode or KCmode, depending on whether
2197 long double is IEEE 128-bit floating point.
2198 (__mulkc3_sw): Add declarations for software/hardware versions of
2199 complex multiply/divide.
2200 (__divkc3_sw): Likewise.
2201 (__mulkc3_hw): Likewise.
2202 (__divkc3_hw): Likewise.
2203 * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
2204 handlers to switch between using software emulation and hardware
2205 float128 instructions, build the complex multiply/divide functions
2206 for both software and hardware support.
2207 * config/rs6000/_divkc3.c (_divkc3): Likewise.
2208 * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
2209 (__divkc3_resolve): Likewise.
2210 (__mulkc3): Likewise.
2211 (__divkc3): Likewise.
2212 * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
2213 (fp128_hw_src): Likewise.
2214 (fp128_hw_static_obj): Likewise.
2215 (fp128_hw_shared_obj): Likewise.
2216 (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
2217 _mulkc3.c and _divkc3.c, changing the function name.
2218 (_divkc3-hw.c): Likewise.
2219 * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
2220 and _divkc3-hw.c.
2221
c234d831
UB
22222017-11-26 Julia Koval <julia.koval@intel.com>
2223
2224 * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
2225 * config/i386/cpuinfo.h (processor_subtypes): Add
2226 INTEL_COREI7_CANNONLAKE.
2227
1ebafce0
IT
22282017-11-20 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2229
2230 PR bootstrap/83015
2231 * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
2232 parameter.
2233 * config/xtensa/unwind-dw2-xtensa.c: Likewise
2234 * config/ia64/unwind-ia64.c: Add frames parameter.
2235 * unwind-sjlj.c: Likewise.
2236
6a10fff4
IT
22372017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2238
2239 * config/i386/linux-unwind.h: Include
2240 config/i386/shadow-stack-unwind.h.
2241 * config/i386/shadow-stack-unwind.h: New file.
2242 * unwind-dw2.c: (uw_install_context): Add a frame parameter and
2243 pass it to _Unwind_Frames_Extra.
2244 * unwind-generic.h (_Unwind_Frames_Extra): New.
2245 * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
2246 parameter. Add local variable frames to count number of frames.
2247 (_Unwind_ForcedUnwind_Phase2): Likewise.
2248 (_Unwind_RaiseException): Add local variable frames to count
2249 number of frames, pass it to _Unwind_RaiseException_Phase2 and
2250 uw_install_context.
2251 (_Unwind_ForcedUnwind): Likewise.
2252 (_Unwind_Resume): Likewise.
2253 (_Unwind_Resume_or_Rethrow): Likewise.
2254
1ecae1fc
IT
22552017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2256
2257 * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
2258 (CET_FLAGS): New.
2259 * config/i386/morestack.S: Include <cet.h>.
2260 (__morestack_large_model): Add _CET_ENDBR at function entrance.
2261 * config/i386/resms64.h: Include <cet.h>.
2262 * config/i386/resms64f.h: Likewise.
2263 * config/i386/resms64fx.h: Likewise.
2264 * config/i386/resms64x.h: Likewise.
2265 * config/i386/savms64.h: Likewise.
2266 * config/i386/savms64f.h: Likewise.
2267 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
2268 (CRTSTUFF_T_CFLAGS): Likewise.
2269 * configure.ac: Include ../config/cet.m4.
2270 Set and substitute CET_FLAGS.
2271 * configure: Regenerated.
2272
f021f1d3
RO
22732017-11-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2274
2275 * config.host (*-*-solaris2*): Adapt comment for Solaris 12
2276 renaming.
2277 * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
2278 * configure.ac (libgcc_cv_solaris_crts): Likewise.
2279 * configure: Regenerate.
2280
65f480c7
TV
22812017-11-07 Tom de Vries <tom@codesourcery.com>
2282
2283 * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
2284 after "do {} while (0)".
2285
2a321acb
TV
22862017-11-07 Tom de Vries <tom@codesourcery.com>
2287
2288 PR other/82784
2289 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
2290 semicolon after "do {} while (0)".
2291 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
2292 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
2293 * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
2294 * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
2295
59fcf6c3
AT
22962017-11-04 Andreas Tobler <andreast@gcc.gnu.org>
2297
2298 PR libgcc/82635
2299 * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
2300 sysctl to determine whether we're in a trampoline.
2301 Keep the pattern matching method for systems without
2302 KERN_PROC_SIGTRAMP sysctl.
2303
b0c7ddf8
CM
23042017-11-03 Cupertino Miranda <cmiranda@synopsys.com>
2305 Vineet Gupta <vgupta@synopsys.com>
2306
2307 * config.host (arc*-*-linux*): Set md_unwind_header variable.
2308 * config/arc/linux-unwind-reg.def: New file.
2309 * config/arc/linux-unwind-reg.h: Likewise.
2310
5feee954
SP
23112017-10-23 Sebastian Perta <sebastian.perta@renesas.com>
2312
2313 * config/rl78/subdi3.S: New assembly file.
2314 * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
2315
a0bf6cf7
SP
23162017-10-13 Sebastian Perta <sebastian.perta@renesas.com>
2317
2318 * config/rl78/adddi3.S: New assembly file.
2319 * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
2320
e7176f75
JJ
23212017-10-13 Jakub Jelinek <jakub@redhat.com>
2322
2323 PR target/82274
2324 * libgcc2.c (__mulvDI3): If both operands have
2325 the same highpart of -1 and the topmost bit of lowpart is 0,
2326 multiplication overflows even if both lowparts are 0.
2327
db6601d2
JB
23282017-09-28 James Bowman <james.bowman@ftdichip.com>
2329
2330 * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
2331
938b6f1e
JM
23322017-09-26 Joseph Myers <joseph@codesourcery.com>
2333
2334 * config/microblaze/crti.S, config/microblaze/crtn.S,
2335 config/microblaze/divsi3.S, config/microblaze/moddi3.S,
2336 config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
2337 config/microblaze/mulsi3.S,
2338 config/microblaze/stack_overflow_exit.S,
2339 config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
2340 config/pa/milli64.S: Add .note.GNU-stack section.
2341
89762a83
DS
23422017-09-23 Daniel Santos <daniel.santos@pobox.com>
2343
2344 * configure.ac: Add Check for HAVE_AS_AVX.
2345 * config.in: Regenerate.
2346 * configure: Likewise.
2347 * config/i386/i386-asm.h: Include auto-target.h from libgcc.
2348 (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
2349 Correct out-of-date comments.
2350
cace2309
SP
23512017-09-20 Sebastian Peryt <sebastian.peryt@intel.com>
2352
2353 * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
2354 * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
2355
3cb626e4
DS
23562017-09-17 Daniel Santos <daniel.santos@pobox.com>
2357
cace2309 2358 * config/i386/i386-asm.h (PASTE2): New macro.
3cb626e4
DS
2359 (ASMNAME): Modify to use PASTE2.
2360 (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
2361 (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
cace2309 2362 * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
3cb626e4 2363 instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
cace2309
SP
2364 * config/i386/resms64f.S: Likewise.
2365 * config/i386/resms64fx.S: Likewise.
2366 * config/i386/resms64x.S: Likewise.
2367 * config/i386/savms64.S: Likewise.
2368 * config/i386/savms64f.S: Likewise.
2369 * config/i386/avx_resms64.S: New file that only defines a macro and
3cb626e4 2370 includes it's corresponding header file.
cace2309
SP
2371 * config/i386/avx_resms64f.S: Likewise.
2372 * config/i386/avx_resms64fx.S: Likewise.
2373 * config/i386/avx_resms64x.S: Likewise.
2374 * config/i386/avx_savms64.S: Likewise.
2375 * config/i386/avx_savms64f.S: Likewise.
2376 * config/i386/sse_resms64.S: Likewise.
2377 * config/i386/sse_resms64f.S: Likewise.
2378 * config/i386/sse_resms64fx.S: Likewise.
2379 * config/i386/sse_resms64x.S: Likewise.
2380 * config/i386/sse_savms64.S: Likewise.
2381 * config/i386/sse_savms64f.S: Likewise.
2382 * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
3cb626e4 2383
2f19c491 23842017-09-01 Olivier Hainque <hainque@adacore.com>
2f19c491
OH
2385 * config.host (*-*-vxworks7): Widen scope to vxworks7*.
2386
611e7036
OH
23872017-08-31 Olivier Hainque <hainque@adacore.com>
2388
2389 * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
2390 match as powerpc-wrs-vxworks*.
2391
c8f34527
JY
23922017-08-07 Jonathan Yong <10walls@gmail.com>
2393
2394 * config.host (*-cygwin): Include file from mingw
2395 config/i386/enable-execute-stack-mingw32.c
2396
0b458d2b 23972017-08-01 Jerome Lambourg <lambourg@adacore.com>
92a285c1
ML
2398 Doug Rupp <rupp@adacore.com>
2399 Olivier Hainque <hainque@adacore.com>
0b458d2b
JL
2400
2401 * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
2402 as well as arm-wrs-vxworks.
2403 * config/arm/t-vxworks7: New file. Add unwind-arm-vxworks.c to
2404 LIB2ADDEH.
2405 * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
2406 __exidx_start and __exidx_end for downloadable modules.
2407
4df612fa
OH
24082017-08-01 Olivier Hainque <hainque@adacore.com>
2409
2410 * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
2411 * config/t-vxworks7: Likewise.
2412
5560e8c0
OH
24132017-08-01 Olivier Hainque <hainque@adacore.com>
2414
2415 * config/t-vxworks: Instead of redefining LIB2ADD,
2416 augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
2417
16bab95a
SH
24182017-07-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
2419
2420 * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
2421
9cbc07cc
DS
24222017-07-24 Daniel Santos <daniel.santos@pobox.com>
2423
2424 PR testsuite/80759
2425 * config.host: include i386/t-msabi for darwin and solaris.
2426 * config/i386/i386-asm.h
2427 (ELFFN): Rename to FN_TYPE.
2428 (FN_SIZE): New macro.
2429 (FN_HIDDEN): Likewise.
2430 (ASMNAME): Likewise.
2431 (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
2432 .globl.
2433 (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
2434 (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
2435 * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
2436 .macro.
2437 * config/i386/resms64f.S: Likewise.
2438 * config/i386/resms64fx.S: Likewise.
2439 * config/i386/resms64x.S: Likewise.
2440 * config/i386/savms64.S: Likewise.
2441 * config/i386/savms64f.S: Likewise.
2442
de742204
JM
24432017-07-19 John Marino <gnugcc@marino.st>
2444
2445 * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
2446
3787ee47
MM
24472017-07-12 Michael Meissner <meissner@linux.vnet.ibm.com>
2448
2449 PR target/81193
2450 * configure.ac (PowerPC float128 hardware support): Test whether
2451 we can use __builtin_cpu_supports before enabling the ifunc
2452 handler.
2453 * configure: Regenerate.
2454
b1938888
VG
24552017-07-10 Vineet Gupta <vgupta@synopsys.com>
2456
2457 * config.host: Remove uclibc from arc target spec.
2458
bec75e53
KW
24592017-07-09 Krister Walfridsson <krister.walfridsson@gmail.com>
2460
2461 * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
2462
d4391a62
PB
24632017-07-07 Peter Bergner <bergner@vnet.ibm.com>
2464
2465 * config/rs6000/float128-ifunc.c: Don't include auxv.h.
2466 (have_ieee_hw_p): Delete function.
2467 (SW_OR_HW) Use __builtin_cpu_supports().
2468
9296dd9b
TP
24692017-07-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
2470
2471 * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
2472
b85a969e
OH
24732017-07-03 Olivier Hainque <hainque@adacore.com>
2474
d4391a62 2475 * config/t-vxworks7: New file, really.
b85a969e 2476
883312dc
JM
24772017-06-28 Joseph Myers <joseph@codesourcery.com>
2478
2479 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
2480 config/alpha/linux-unwind.h (alpha_fallback_frame_state),
2481 config/bfin/linux-unwind.h (bfin_fallback_frame_state),
2482 config/i386/linux-unwind.h (x86_64_fallback_frame_state,
2483 x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
2484 uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
2485 config/pa/linux-unwind.h (pa32_fallback_frame_state),
2486 config/riscv/linux-unwind.h (riscv_fallback_frame_state),
2487 config/sh/linux-unwind.h (sh_fallback_frame_state),
2488 config/tilepro/linux-unwind.h (tile_fallback_frame_state),
2489 config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
2490 ucontext_t instead of struct ucontext.
2491
50567938
JL
24922017-06-27 Jerome Lambourg <lambourg@adacore.com>
2493
2494 * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
2495 (x86_64-wrs-vxworks7): Likewise.
2496
e4b0df93
OH
24972017-06-27 Olivier Hainque <hainque@adacore.com>
2498
2499 * config/t-vxworks7: New file.
2500 * config.host (*-*-vxworks7): Use it.
2501
60edf8bb
MT
25022017-06-22 Matt Turner <mattst88@gmail.com>
2503
2504 * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
2505 skylake case.
2506
a51a76e5
RB
25072017-06-21 Richard Biener <rguenther@suse.de>
2508
2509 PR gcov-profile/81080
2510 * configure.ac: Add AC_SYS_LARGEFILE.
2511 * libgcov.h: Include auto-target.h before tsystem.h to pick
2512 up _FILE_OFFSET_BITS which might differ for multilibs.
2513 * config.in: Regenerate.
2514 * configure: Likewise.
2515
f0cd49c5
RE
25162017-06-16 Richard Earnshaw <rearnsha@arm.com>
2517
2518 * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
2519
4f751c54
ML
25202017-06-09 Martin Liska <mliska@suse.cz>
2521
2522 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
2523 Reset __gcov_indirect_call_callee to NULL.
2524
1ac644c8
OH
25252017-06-08 Olivier Hainque <hainque@adacore.com>
2526
2527 * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
2528 the set of -I options, support for direct inclusions of net/uio.h
2529 by VxWorks header files via ioLib.h.
2530
d8b9cd27
TR
25312017-06-07 Tony Reix <tony.reix@atos.net>
2532 Matthieu Sarter <matthieu.sarter.external@atos.net>
2533 David Edelsohn <dje.gcc@gmail.com>
2534
92a285c1
ML
2535 * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
2536 unconditionally.
2537 (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support. Add 32-bit
2538 AIX 7.2 support.
d8b9cd27 2539
38a75ccc
OH
25402017-06-02 Olivier Hainque <hainque@adacore.com>
2541
2542 * config/vxlib.c (__gthread_once): Add missing value to
2543 return statement.
2544
5b2edf53
OH
25452017-05-30 Olivier Hainque <hainque@adacore.com>
2546
2547 * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
2548 dollar sign before $(MULTIDIR).
2549
7d66e265
RH
25502017-05-26 Richard Henderson <rth@redhat.com>
2551
2552 PR libgcc/80037
2553 * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
2554
78eca309
AT
25552017-05-17 Andreas Tobler <andreast@gcc.gnu.org>
2556
2557 * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
2558 _Unwind_SetIP available as functions for arm*-*-freebsd*.
2559 * config/arm/unwind-arm.c: Implement the above.
2560
c39d309a
AZ
25612017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2562
2563 * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
2564 section for a non-executable stack.
2565
eac8c9f2
KW
25662017-05-14 Krister Walfridsson <krister.walfridsson@gmail.com>
2567
2568 PR target/80600
2569 * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
2570
d6d4d770
DS
25712017-05-14 Daniel Santos <daniel.santos@pobox.com>
2572
2573 * config.host: Add i386/t-msabi to i386/t-linux file list.
2574 * config/i386/i386-asm.h: New file.
2575 * config/i386/resms64.S: New file.
2576 * config/i386/resms64f.S: New file.
2577 * config/i386/resms64fx.S: New file.
2578 * config/i386/resms64x.S: New file.
2579 * config/i386/savms64.S: New file.
2580 * config/i386/savms64f.S: New file.
2581 * config/i386/t-msabi: New file.
2582
8ef2b9a7
AT
25832017-05-09 Andreas Tobler <andreast@gcc.gnu.org>
2584
2585 * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
2586 arm*-*-freebsd* instead of the t-slibgcc-libgcc.
2587
7ab8766a
JC
25882017-05-05 Joshua Conner <joshconner@google.com>
2589
2590 * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
2591 pc-relative indirect handling for fuchsia.
2592 * config/t-slibgcc-fuchsia: New file.
2593 * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
d6d4d770 2594 x86_64-*-fuchsia*): Add definitions.
7ab8766a 2595
46928a8f
ML
25962017-04-19 Martin Liska <mliska@suse.cz>
2597
2598 PR gcov-profile/80435
2599 * Makefile.in: Install gcov.h.
2600 * gcov.h: New file.
2601 * libgcov.h: Use the header and make __gcov_flush publicly
2602 visible.
2603
63971184
ML
26042017-04-18 Martin Liska <mliska@suse.cz>
2605
2606 PR gcov-profile/78783
2607 * libgcov-driver.c (gcov_get_filename): New function.
2608
29d8aae6
JL
26092017-04-07 Jeff Law <law@redhat.com>
2610
2611 * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
2612 target makefile fragment.
2613 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
2614
2bdf7fc6
AM
26152017-04-07 Alan Modra <amodra@gmail.com>
2616
2617 PR target/45053
2618 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
2619
5764ee3c
JW
26202017-04-03 Jonathan Wakely <jwakely@redhat.com>
2621
2622 * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
2623
c4192ad7
CZ
26242017-03-27 Claudiu Zissulescu <claziss@synopsys.com>
2625
2626 * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
2627
4ccfdb28
JM
26282017-03-10 John Marino <gnugcc@marino.st>
2629
2630 * config/aarch64/freebsd-unwind.h: New file.
2631 * config.host: Add aarch64-*-freebsd unwinder.
2632
4144e4e3
SB
26332017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
2634
2635 * config/rs6000/crtrestvr.s: Use .machine altivec.
2636 * config/rs6000/crtsavevr.s: Ditto.
2637
7502c597
SB
26382017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
2639
2640 * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
2641 modify CFLAGS. Add -mabi=altivec -mvsx -mfloat128.
2642 (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
2643 -mfloat128-hardware to the CFLAGS. Fix syntax error in the C snippet.
2644 * configure: Regenerate.
2645 * config.in: Regenerate.
2646
db9f7f65
JY
26472017-03-02 Jonathan Yong <10walls@gmail.com>
2648
2649 * config/i386/gthr-win32.h: Define NOGDI before
2650 windows.h include to prevent w32api CC_NONE macro
2651 clash with libgfortran.
2652
126437c5
JY
26532017-03-02 Jonathan Yong <10walls@gmail.com>
2654
2655 * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
2656
31927af6
AP
26572017-02-16 Andrew Pinski <apinski@cavium.com>
2658
2659 * config/aarch64/value-unwind.h: New file.
2660 * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
2661 to tm_file.
2662
0bd99911
PD
26632017-02-06 Palmer Dabbelt <palmer@dabbelt.com>
2664
2665 * config.host: Add RISC-V tuples.
2666 * config/riscv/atomic.c: New file.
2667 * config/riscv/crti.S: Likewise.
2668 * config/riscv/crtn.S: Likewise.
2669 * config/riscv/div.S: Likewise.
2670 * config/riscv/linux-unwind.h: Likewise.
2671 * config/riscv/muldi3.S: Likewise.
2672 * config/riscv/multi3.S: Likewise.
2673 * config/riscv/save-restore.S: Likewise.
2674 * config/riscv/sfp-machine.h: Likewise.
2675 * config/riscv/t-elf: Likewise.
2676 * config/riscv/t-elf32: Likewise.
2677 * config/riscv/t-elf64: Likewise.
2678 * config/riscv/t-softfp32: Likewise.
2679 * config/riscv/t-softfp64: Likewise.
2680
a8c9ef2a
JJ
26812017-01-24 Jakub Jelinek <jakub@redhat.com>
2682
2683 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
2684 /* FALLTHRU */ comments.
2685
c6c82710
GP
26862017-01-21 Gerald Pfeifer <gerald@pfeifer.com>
2687
2688 * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
2689
a876231c
JW
26902017-01-20 Jiong Wang <jiong.wang@arm.com>
2691
2692 * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
2693 * unwind-dw2.c (execute_cfa_program): Only multiplexing
2694 DW_CFA_GNU_window_save for AArch64 and LP64.
2695
aa348be2
JW
26962017-01-20 Jiong Wang <jiong.wang@arm.com>
2697
2698 * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
2699
5636faf2
JW
27002017-01-19 Jiong Wang <jiong.wang@arm.com>
2701
2702 * config/aarch64/aarch64-unwind.h: New file.
2703 (DWARF_REGNUM_AARCH64_RA_STATE): Define.
2704 (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
2705 (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
2706 (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
2707 (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
2708 (aarch64_post_extract_frame_addr): New function.
2709 (aarch64_post_frob_eh_handler_addr): New function.
2710 (aarch64_frob_update_context): New function.
2711 * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
2712 * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
2713 aarch64*-*-freebsd*):
2714 Initialize md_unwind_header to include aarch64-unwind.h.
2715 * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
2716 (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
2717 __aarch64__.
2718 (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
2719 (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
2720 (uw_frob_return_addr): New function.
2721 (uw_install_context): Use uw_frob_return_addr.
2722
3c36aa6b
JJ
27232017-01-17 Jakub Jelinek <jakub@redhat.com>
2724
2725 PR other/79046
2726 * configure.ac: Add GCC_BASE_VER.
2727 * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
2728 version from BASE-VER file.
2729 * configure: Regenerated.
2730
829afb8f
JS
27312017-01-13 Joe Seymour <joe.s@somniumtech.com>
2732
2733 * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
2734 libmul_f5.a): Filter archived prerequisites.
2735
79fc8ffe
AS
27362017-01-10 Andrew Senkevich <andrew.senkevich@intel.com>
2737
2738 * config/i386/cpuinfo.h (processor_features): Add
2739 FEATURE_AVX512VPOPCNTDQ.
2740 * config/i386/cpuinfo.c (get_available_features): Habdle new
2741 feature.
2742
fec5f4e0
JM
27432017-01-04 Joseph Myers <joseph@codesourcery.com>
2744
2745 * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
2746 payload if [__mips_nan2008].
2747
8f56cb51
AM
27482017-01-04 Alan Modra <amodra@gmail.com>
2749
2750 * Makefile.in (configure_deps): Update.
2751 * configure: Regenerate.
2752
cbe34bb5
JJ
27532017-01-01 Jakub Jelinek <jakub@redhat.com>
2754
2755 Update copyright years.
2756
ab955692
KW
27572016-12-19 Krister Walfridsson <krister.walfridsson@gmail.com>
2758
2759 * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
2760 * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
2761 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
2762
de34320f
MK
27632016-12-17 Matthias Klose <doko@ubuntu.com>
2764
2765 * config/arc/gmon: Remove empty directory.
2766
e04ea1da
CZ
27672016-12-16 Claudiu Zissulescu <claziss@synopsys.com>
2768
2769 * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
2770 crtgend.
2771 (arc*-*-elf*): Likewise.
2772 * config/arc/t-arc: Remove old gmon lib targets.
2773 * config/arc/crtg.S: Remove.
2774 * config/arc/crtgend.S: Likewise.
2775 * config/arc/gmon/atomic.h: Likewise.
2776 * config/arc/gmon/auxreg.h: Likewise.
2777 * config/arc/gmon/dcache_linesz.S: Likewise.
2778 * config/arc/gmon/gmon.c: Likewise.
2779 * config/arc/gmon/machine-gmon.h: Likewise.
2780 * config/arc/gmon/mcount.c: Likewise.
2781 * config/arc/gmon/prof-freq-stub.S: Likewise.
2782 * config/arc/gmon/prof-freq.c: Likewise.
2783 * config/arc/gmon/profil.S: Likewise.
2784 * config/arc/gmon/sys/gmon.h: Likewise.
2785 * config/arc/gmon/sys/gmon_out.h: Likewise.
2786 * config/arc/t-arc-newlib: Likewise.
2787 * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
2788
8ae1c2c1
GS
27892016-12-12 George Spelvin <linux@sciencehorizons.net>
2790
2791 * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
2792
a5b947fa
GS
27932016-12-12 George Spelvin <linux@sciencehorizons.net>
2794
2795 * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
2796 R16 instead of push + pop.
2797 (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
2798
d6574dd1
KW
27992016-12-10 Krister Walfridsson <krister.walfridsson@gmail.com>
2800
2801 * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
2802 tmake_file.
2803
62440b4f
CM
28042016-12-05 Cupertino Miranda <cmiranda@synopsys.com>
2805
2806 * config.host (arc*-*-linux-uclibc*): Use default extra
2807 objects. Include linux-android header.
2808 * config/arc/crti.S (_init): Declare symbol as function.
2809 (_fini): Likewise.
2810
31cfd832
TK
28112016-12-03 Thomas Koenig <tkoenig@gcc.gnu.org>
2812
2813 PR fortran/78379
2814 * config/i386/cpuinfo.c: Move denums for processor vendors,
2815 processor type, processor subtypes and declaration of
2816 struct __processor_model into
2817 * config/i386/cpuinfo.h: New header file.
2818
c92e08e3
AV
28192016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
2820 Thomas Preud'homme <thomas.preudhomme@arm.com>
2821
2822 * config/arm/cmse_nonsecure_call.S: New.
2823 * config/arm/t-arm: Compile cmse_nonsecure_call.S
2824
de7b5723
AV
28252016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
2826 Thomas Preud'homme <thomas.preudhomme@arm.com>
2827
2828 * config/arm/t-arm (HAVE_CMSE): New.
2829 * config/arm/cmse.c: New.
2830
7a0d2bce
TP
28312016-11-28 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2832
b3a5bff4
TP
2833 PR gcc/74748
2834 * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
2835 use generic linker version information on Blackfin.
2836
7a0d2bce
TP
2837 PR gcc/74748
2838 * libgcc/mkmap-symver.awk: add support for skip_underscore
2839
b410cf1d
IS
28402016-11-27 Iain Sandoe <iain@codesourcery.com>
2841 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2842
2843 PR target/67710
2844 * config/t-darwin: Default builds to 10.5 codegen.
2845
2e5f8203
JG
28462016-11-24 James Greenhalgh <james.greenhalgh@arm.com>
2847
2848 * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
2849 (_FP_NANSIGN_H): Likewise.
2850 * config/aarch64/t-softfp (softfp_extensions): Add hftf.
2851 (softfp_truncations): Add tfhf.
2852 (softfp_extras): Add required conversion functions.
2853
bea64ca3
JG
28542016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
2855 Matthew Wahab <matthew.wahab@arm.com>
2856
2857 * config/arm/fp16.c (binary64): New.
2858 (__gnu_d2h_internal): New.
2859 (__gnu_d2h_ieee): New.
2860 (__gnu_d2h_alternative): New.
2861
8630cadb
JG
28622016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
2863 Matthew Wahab <matthew.wahab@arm.com>
2864
2865 * config/arm/fp16.c (struct format): New.
2866 (binary32): New.
2867 (__gnu_float2h_internal): New. Body moved from
2868 __gnu_f2h_internal and generalize.
2869 (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
2870 Call it with binary32.
2871
5823ef23
JG
28722016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
2873
2874 * soft-fp/extendhftf2.c: Update from glibc.
2875 * soft-fp/fixhfti.c: Likewise.
2876 * soft-fp/fixunshfti.c: Likewise.
2877 * soft-fp/floattihf.c: Likewise.
2878 * soft-fp/floatuntihf.c: Likewise.
2879 * soft-fp/half.h: Likewise.
2880 * soft-fp/trunctfhf2.c: Likewise.
2881
62a7df9f
MG
28822016-11-20 Marc Glisse <marc.glisse@inria.fr>
2883
2884 PR libgcc/77813
2885 * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
2886 __TMC_END__ behind a passthrough asm.
2887
7a384912
WL
28882016-11-18 Walter Lee <walt@tilera.com>
2889
62a7df9f 2890 * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
7a384912 2891
9775c1a5
L
28922016-11-17 Andrew Senkevich <andrew.senkevich@intel.com>
2893
2894 * config/i386/cpuinfo.c (processor_features): Add
2895 FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
2896
48c842ab
CZ
28972016-11-17 Claudiu Zissulescu <claziss@synopsys.com>
2898
2899 * config/arc/dp-hack.h (ARC_OPTFPE): Define.
2900 (__ARC_NORM__): Use instead ARC_OPTFPE.
2901 * config/arc/fp-hack.h: Likewise.
2902 * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
2903 (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
2904
5012919d
AM
29052016-11-16 Alexander Monakov <amonakov@ispras.ru>
2906
2907 * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
2908 * config/nvptx/mgomp.c: New file.
2909 * config/nvptx/t-nvptx: Add mgomp.c
2910
00178b98
WB
29112016-11-16 Waldemar Brodkorb <wbx@openadk.org>
2912
2913 PR libgcc/68468
2914 * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
2915
d64af69f
CZ
29162016-11-15 Claudiu Zissulescu <claziss@synopsys.com>
2917
2918 * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
2919 of checking for cpus.
2920 (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
2921 (__modsi3, __clzsi2): Likewise.
2922
9d8f95de
SN
29232016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
2924
2925 * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
2926 i386/t-cpuinfo-static instead of i386/t-cpuinfo.
2927 * config/i386/t-cpuinfo-static: New.
2928
7d29f8e3
ML
29292016-11-03 Martin Liska <mliska@suse.cz>
2930
2931 * libgcov-profiler.c (__gcov_time_profiler): Remove.
2932 (__gcov_time_profiler_atomic): Likewise.
2933
5de3e2d8
BE
29342016-11-03 Bernd Edlinger <bernd.edlinger@hotmail.de>
2935
2936 PR libgcc/78067
2937 * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
2938 count_leading_zeros.
2939
18362447
UB
29402016-11-02 Uros Bizjak <ubizjak@gmail.com>
2941
2942 * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
2943 * libgcc2.c (__divmoddi4): New function.
2944 * libgcc2.h (__divmoddi4): Declare.
2945 * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
2946 and __PFX_divmodti4.
2947
33107571
FW
29482016-10-24 Florian Weimer <fweimer@redhat.com>
2949
2950 PR libgcc/78064
2951 * unwind-c.c: Include auto-target.h.
2952
4c6d7494
JDA
29532016-10-19 John David Anglin <danglin@gcc.gnu.org>
2954
18362447 2955 * config/pa/pa64-hpux-lib.h: New file.
4c6d7494
JDA
2956 (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
2957 (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
2958 * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
2959 hppa*64*-*-hpux11*.
2960
2a26adf1
MF
29612016-10-18 Max Filippov <jcmvbkbc@gmail.com>
2962
2963 * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
2964 definition.
2965 * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
2966 definition.
2967 * config/xtensa/t-windowed (LIB2ADDEH): Use
2968 LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
2969 or xtensa/t-linux.
2970
66192aa1
DKC
29712016-10-18 Ding-Kai Chen <dkchen@cadence.com>
2972
2973 * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
2974 __ieee754_sqrt): New functions.
2975 (__divdf3): Add implementation with new FPU instructions under
2976 #if XCHAL_HAVE_DFP_DIV.
2977 * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
2978 __ieee754_sqrtf): New functions.
2979 (__divsf3): Add implementation with new FPU instructions under
2980 #if XCHAL_HAVE_FP_DIV.
2981 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
2982 _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
2983
4d0cdd0c
TP
29842016-10-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
2985
2986 * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
2987 equivalent.
2988 * config/tilepro/atomic.c: Likewise and stop casting model to
2989 enum memmodel.
2990
73f01cca
JM
29912016-10-10 Joseph Myers <joseph@codesourcery.com>
2992
2993 PR target/77586
2994 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
2995 soft-fp.
2996
b20e7532
AT
29972016-10-10 Andreas Tobler <andreast@gcc.gnu.org>
2998
2999 * config.host: Add support for aarch64-*-freebsd*.
3000
a786cec4
AS
30012016-10-05 Andreas Schwab <schwab@suse.de>
3002
3003 * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
3004 (.section .init_array): Don't call __do_jv_register_classes.
3005 (.section .init): Likewise.
3006
5a79befb
JJ
30072016-10-04 Jakub Jelinek <jakub@redhat.com>
3008
3009 * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
3010 (__JCR_LIST__): Remove.
3011 (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
3012 * config/i386/cygming-crtend.c (__JCR_END__): Remove.
3013 * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
3014 * config/ia64/crtend.S (__JCR_END__): Remove.
3015 * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
3016 conditionals.
3017 (__JCR_LIST__, __JCR_END__): Remove.
3018 (frame_dummy): Don't attempt to _Jv_RegisterClasses.
3019 (__do_global_ctors_1): Likewise.
3020
e0ab3753
UB
30212015-09-28 Uros Bizjak <ubizjak@gmail.com>
3022
3023 * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
3024 (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
3025
8c9434c2
ML
30262016-09-27 Martin Liska <mliska@suse.cz>
3027
3028 PR gcov-profile/7970
3029 PR gcov-profile/16855
3030 PR gcov-profile/44779
3031 * libgcov-driver.c (__gcov_init): Do not register a atexit
3032 handler.
3033 (__gcov_exit): Rename from gcov_exit.
3034 * libgcov.h (__gcov_exit): Declare.
3035
56b653f1
ML
30362016-09-27 Martin Liska <mliska@suse.cz>
3037
3038 PR bootstrap/77749
3039 * Makefile.in: Remove _gcov_merge_delta.
3040 * libgcov-merge.c (void __gcov_merge_delta): Remove.
3041 * libgcov-util.c (__gcov_delta_counter_op): Remove.
3042 * libgcov.h: Remove declaration of __gcov_merge_delta.
3043
7e02fd1b
EB
30442016-09-21 Eric Botcazou <ebotcazou@adacore.com>
3045
3046 * configure.ac: Do not create links, only substitute the filenames.
3047 * configure: Regenerate.
3048 * Makefile.in: Assign the substitution results to variables.
3049 (LIBGCC_LINKS): Define.
3050 (enable-execute-stack.c): New rule.
3051 (unwind.h): Likewise.
3052 (md-unwind-support.h): Likewise.
3053 (sfp-machine.h): Likewise.
3054 (gthr-default.h): Likewise.
3055 Add $(LIBGCC_LINKS) to the prerequisites of all object files and
3056 unwind.h as prerequisite of install-unwind_h-forbuild.
3057
29991048
JJ
30582016-09-16 Jakub Jelinek <jakub@redhat.com>
3059
3060 PR libgcc/71744
3061 * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
3062 is not the primary registry and atomics are available.
3063 (any_objects_registered): New variable.
3064 (__register_frame_info_bases, __register_frame_info_table_bases):
3065 Atomically store 1 to any_objects_registered after registering first
3066 unwind info.
3067 (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
3068
0abcd6cc
JG
30692016-09-09 James Greenhalgh <james.greenhalgh@arm.com>
3070
3071 PR target/63250
3072 * Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
3073 * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
3074 (HFtype): Likewise.
3075 (HCtype): Likewise.
3076 (__divhc3): Likewise.
3077 (__mulhc3): Likewise.
3078 * libgcc2.c: Support _mulhc3 and _divhc3.
3079
d758aeb5
JM
30802016-09-07 Joseph Myers <joseph@codesourcery.com>
3081
3082 PR libgcc/77519
3083 * libgcc2.c (NOTRUNC): Invert settings.
3084
7fe76f6a
ML
30852016-09-06 Martin Liska <mliska@suse.cz>
3086
3087 PR gcov-profile/77378
3088 PR gcov-profile/77466
3089 * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
3090 conditionaly enable/disable *_atomic functions.
3091
21184026
JM
30922016-08-26 Joseph Myers <joseph@codesourcery.com>
3093
3094 * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
3095 where not already enabled.
3096
726f49c3
SN
30972016-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
3098
3099 * config/mips/linux-unwind.h: Use sys/syscall.h.
3100
feeb6268
JM
31012016-08-16 Joseph Myers <joseph@codesourcery.com>
3102
3103 PR libgcc/77265
3104 * soft-fp/adddf3.c: Update from glibc.
3105 * soft-fp/addsf3.c: Likewise.
3106 * soft-fp/addtf3.c: Likewise.
3107 * soft-fp/divdf3.c: Likewise.
3108 * soft-fp/divsf3.c: Likewise.
3109 * soft-fp/divtf3.c: Likewise.
3110 * soft-fp/double.h: Likewise.
3111 * soft-fp/eqdf2.c: Likewise.
3112 * soft-fp/eqsf2.c: Likewise.
3113 * soft-fp/eqtf2.c: Likewise.
3114 * soft-fp/extenddftf2.c: Likewise.
3115 * soft-fp/extended.h: Likewise.
3116 * soft-fp/extendsfdf2.c: Likewise.
3117 * soft-fp/extendsftf2.c: Likewise.
3118 * soft-fp/extendxftf2.c: Likewise.
3119 * soft-fp/fixdfdi.c: Likewise.
3120 * soft-fp/fixdfsi.c: Likewise.
3121 * soft-fp/fixdfti.c: Likewise.
3122 * soft-fp/fixsfdi.c: Likewise.
3123 * soft-fp/fixsfsi.c: Likewise.
3124 * soft-fp/fixsfti.c: Likewise.
3125 * soft-fp/fixtfdi.c: Likewise.
3126 * soft-fp/fixtfsi.c: Likewise.
3127 * soft-fp/fixtfti.c: Likewise.
3128 * soft-fp/fixunsdfdi.c: Likewise.
3129 * soft-fp/fixunsdfsi.c: Likewise.
3130 * soft-fp/fixunsdfti.c: Likewise.
3131 * soft-fp/fixunssfdi.c: Likewise.
3132 * soft-fp/fixunssfsi.c: Likewise.
3133 * soft-fp/fixunssfti.c: Likewise.
3134 * soft-fp/fixunstfdi.c: Likewise.
3135 * soft-fp/fixunstfsi.c: Likewise.
3136 * soft-fp/fixunstfti.c: Likewise.
3137 * soft-fp/floatdidf.c: Likewise.
3138 * soft-fp/floatdisf.c: Likewise.
3139 * soft-fp/floatditf.c: Likewise.
3140 * soft-fp/floatsidf.c: Likewise.
3141 * soft-fp/floatsisf.c: Likewise.
3142 * soft-fp/floatsitf.c: Likewise.
3143 * soft-fp/floattidf.c: Likewise.
3144 * soft-fp/floattisf.c: Likewise.
3145 * soft-fp/floattitf.c: Likewise.
3146 * soft-fp/floatundidf.c: Likewise.
3147 * soft-fp/floatundisf.c: Likewise.
3148 * soft-fp/floatunditf.c: Likewise.
3149 * soft-fp/floatunsidf.c: Likewise.
3150 * soft-fp/floatunsisf.c: Likewise.
3151 * soft-fp/floatunsitf.c: Likewise.
3152 * soft-fp/floatuntidf.c: Likewise.
3153 * soft-fp/floatuntisf.c: Likewise.
3154 * soft-fp/floatuntitf.c: Likewise.
3155 * soft-fp/gedf2.c: Likewise.
3156 * soft-fp/gesf2.c: Likewise.
3157 * soft-fp/getf2.c: Likewise.
3158 * soft-fp/ledf2.c: Likewise.
3159 * soft-fp/lesf2.c: Likewise.
3160 * soft-fp/letf2.c: Likewise.
3161 * soft-fp/muldf3.c: Likewise.
3162 * soft-fp/mulsf3.c: Likewise.
3163 * soft-fp/multf3.c: Likewise.
3164 * soft-fp/negdf2.c: Likewise.
3165 * soft-fp/negsf2.c: Likewise.
3166 * soft-fp/negtf2.c: Likewise.
3167 * soft-fp/op-1.h: Likewise.
3168 * soft-fp/op-2.h: Likewise.
3169 * soft-fp/op-4.h: Likewise.
3170 * soft-fp/op-8.h: Likewise.
3171 * soft-fp/op-common.h: Likewise.
3172 * soft-fp/quad.h: Likewise.
3173 * soft-fp/single.h: Likewise.
3174 * soft-fp/soft-fp.h: Likewise.
3175 * soft-fp/subdf3.c: Likewise.
3176 * soft-fp/subsf3.c: Likewise.
3177 * soft-fp/subtf3.c: Likewise.
3178 * soft-fp/truncdfsf2.c: Likewise.
3179 * soft-fp/trunctfdf2.c: Likewise.
3180 * soft-fp/trunctfsf2.c: Likewise.
3181 * soft-fp/trunctfxf2.c: Likewise.
3182 * soft-fp/unorddf2.c: Likewise.
3183 * soft-fp/unordsf2.c: Likewise.
3184 * soft-fp/unordtf2.c: Likewise.
3185
2e6fc1ac
GG
31862016-08-15 Gilles Gouaillardet <gilles.gouaillardet@gmail.com>
3187
3188 PR gcov-profile/67097
3189 * libgcov-util.c (gcov_profile_merge): Skip missing files.
3190
a266236e
ML
31912016-08-10 Martin Liska <mliska@suse.cz>
3192
3193 PR gcov-profile/58306
3194 * Makefile.in: New functions (modules) are added.
3195 * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
3196 function.
3197 (__gcov_pow2_profiler_atomic): New function.
3198 (__gcov_one_value_profiler_body): New argument is instroduced.
3199 (__gcov_one_value_profiler): Call with the new argument.
3200 (__gcov_one_value_profiler_atomic): Likewise.
3201 (__gcov_indirect_call_profiler_v2): Likewise.
3202 (__gcov_time_profiler_atomic): New function.
3203 (__gcov_average_profiler_atomic): Likewise.
3204 (__gcov_ior_profiler_atomic): Likewise.
3205 * libgcov.h: Declare the aforementioned functions.
3206
e0c8eebf
ML
32072016-08-09 Martin Liska <mliska@suse.cz>
3208
3209 * libgcov-util.c: Fix typo and GNU coding style.
3210
6dce6418
ML
32112016-08-09 Martin Liska <mliska@suse.cz>
3212
3213 * Makefile.in: Remove __gcov_indirect_call_profiler.
3214 * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
3215 function.
3216 * libgcov.h: And the declaration of the function.
3217
dcb1e137
ML
32182016-08-09 Martin Liska <mliska@suse.cz>
3219
3220 * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
3221 power of two.
3222
d6e69705
BS
32232016-07-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
3224
3225 * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
3226 * config/rs6000/_mulkc3.c: Likewise.
3227
96aa1f95
GJL
32282016-07-29 Georg-Johann Lay <avr@gjlay.de>
3229
3230 * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
3231 zero_reg as previous call to __umulhisi3 already cleared it.
3232
a1b01d34
AJ
32332016-07-21 Aurelien Jarno <aurelien@aurel32.net>
3234
3235 PR target/59833
3236 * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
3237
985a47b2
NC
32382016-07-19 Nick Clifton <nickc@redhat.com>
3239
3240 * config.host (m32r): Add m32r/t-m32r to tmake_file.
3241 Add crtinit.o and crtfini.o to extra_parts.
3242
f906f5ed
BS
32432016-07-12 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
3244
3245 * config/rs6000/_divkc3.c: New.
3246 * config/rs6000/_mulkc3.c: New.
3247 * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
3248 and _divkc3.
3249 * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
3250 fp128_ppc_funcs.
3251
82742404
HW
32522016-07-11 Hale Wang <hale.wang@arm.com>
3253 Andre Vieira <andre.simoesdiasvieira@arm.com>
3254
3255 * config/arm/lib1funcs.S: Add new wrapper.
3256
05a437c1
TP
32572016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
3258
3259 * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
3260
3d16d9ec
TP
32612016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
3262
3263 * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
3264 and ARMv5t* rather than for a fixed list of architectures.
3265
6f493951
TP
32662016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
3267
3268 * config/arm/bpabi-v6m.S: Clarify what architectures is the
3269 implementation suitable for.
3270 * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
3271 for all Thumb-1 only targets.
3272 (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
3273 (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
3274 __ARM_ARCH_6M__.
3275 (EQUIV): Likewise.
3276 (ARM_FUNC_ALIAS): Likewise.
3277 (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
3278 version.
3279 (modsi3): Likewise.
3280 (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
3281 (clzdi2): Likewise.
3282 (ctzsi2): Likewise.
3283 (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
3284 __ARM_ARCH_6M__ in guard for checking whether it is defined.
3285 (final includes): Test for NOT_ISA_TARGET_32BIT rather than
3286 __ARM_ARCH_6M__ and add comment to indicate the connection between
3287 this condition and the one in gcc/config/arm/elf.h.
3288 * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
3289 __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
3290 * config/arm/t-softfp: Likewise.
3291
1770511a
TS
32922016-07-06 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3293
3294 * libgcc2.c (SYMBOL__MAIN): Remove checks for
3295 CTOR_LISTS_DEFINED_EXTERNALLY.
3296
ba6be749
WL
32972016-06-28 Walter Lee <walt@tilera.com>
3298
3299 * config/tilepro/atomic.h: Do not include arch/spr_def.h and
3300 asm/unistd.h.
3301 (SPR_CMPEXCH_VALUE): Define for tilegx.
3302 (__NR_FAST_cmpxchg): Define for tilepro.
3303 (__NR_FAST_atomic_update): Define for tilepro.
3304 (__NR_FAST_cmpxchg64): Define for tilepro.
3305
a34c0db5
JS
33062016-06-23 Jakub Sejdak <jakub.sejdak@phoesys.com>
3307
18362447 3308 * config.host: Add suport for arm*-*-phoenix* targets.
a34c0db5 3309
0609abda
TS
33102016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3311
3312 * config.host: Remove support for mep-*.
3313 * config/mep/lib1funcs.S: Remove.
3314 * config/mep/lib2funcs.c: Remove.
3315 * config/mep/t-mep: Remove.
3316 * config/mep/tramp.c: Remove.
3317
3e326935
TS
33182016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3319
3320 * config.host: Remove support for avr-rtems.
3321 * config/avr/t-rtems: Remove.
3322
914b155c
TS
33232016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3324
3325 * config.host: Remove m32r-rtems support.
3326
5ebf89bd
TS
33272016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3328
3329 * config.host: Remove h8300-rtems support.
3330
8466af06
TS
33312016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3332
3333 * config.host: Remove support for knetbsd.
3334
d980e738
TS
33352016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3336
3337 * config.host: Remove support for openbsd 2 and 3.
3338
ee2499b4
TS
33392016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3340
3341 * config.host: Remove interix support.
3342 * config/i386/t-interix: Remove.
3343
9f92937b
JDA
33442016-06-18 John David Anglin <danglin@gcc.gnu.org>
3345
3346 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
3347 least-significant bit in function pointer for fixup.
3348
0a0ec53d
AC
33492016-06-05 Aaron Conole <aconole@redhat.com>
3350 Nathan Sidwell <nathan@acm.org>
3351
3352 PR libgcc/71400
3353 * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
3354 (get_gcov_error_file): Check __gcov_error_file before trying to
3355 initialize it.
3356 (gcov_error): Always use get_gcov_error_file.
3357
8aa5bdd6
AC
33582016-06-02 Aaron Conole <aconole@redhat.com>
3359
3360 * libgcov-driver-system.c (__gcov_error_file): New.
3361 (get_gcov_error_file): New.
3362 (gcov_error): Use and set __gcov_error_file.
3363 (gcov_error_exit): New.
3364 * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
3365
40774faf
NS
33662016-05-26 Nathan Sidwell <nathan@acm.org>
3367
3368 * config/nvptx/free.asm: Delete.
3369 * config/nvptx/malloc.asm: Delete.
3370 * config/nvptx/realloc.c: Delete.
3371 * t-nvptx: Update.
3372
69a6d5ad
NS
33732016-05-25 Nathan Sidwell <nathan@acm.org>
3374
3375 * config/nvptx/crt0.s: Delete.
3376 * config/nvptx/crt0.c: New.
3377 * t-nvptx: Update.
3378
6befaff6
SL
33792016-05-19 Sandra Loosemore <sandra@codesourcery.com>
3380
385c7747 3381 * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
6befaff6
SL
3382 dw2/seh configuration.
3383 [x86_64-*-mingw*]: Likewise.
3384
ad251dfd
JS
33852016-05-10 Joel Sherrill <joel@rtems.org>
3386
3387 PR libgcc/70720
3388 * config.host (moxie-*-rtems*): Merge this stanza with other moxie
3389 targets so the same extra_parts are built. Also have tmake_file add
3390 on to its value rather than override.
3391
bc6d9014
OE
33922016-04-30 Oleg Endo <olegendo@gcc.gnu.org>
3393
3394 * config.host: Remove SH5 support.
3395 * configure: Likewise.
3396
9129c8cf
OE
33972016-04-29 Oleg Endo <olegendo@gcc.gnu.org>
3398
3399 * config/sh/crt1.S: Remove SH5 support.
3400 * config/sh/crti.S: Likewise.
3401 * config/sh/crtn.S: Likewise.
3402 * config/sh/lib1funcs-4-300.S: Likewise.
3403 * config/sh/lib1funcs-Os-4-200.S: Likewise.
3404 * config/sh/lib1funcs.S: Likewise.
3405 * config/sh/linux-unwind.h: Likewise.
3406 * config/sh/t-sh64: Delete.
3407
39d50464
CZ
34082016-04-29 Claudiu Zissulescu <claziss@synopsys.com>
3409
3410 * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
3411
8b48923b
CZ
34122016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
3413 Joern Rennecke <joern.rennecke@embecosm.com>
3414
3415 * config/arc/crttls.S: New file.
3416 * config/arc/t-arc: New rule.
3417 * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
3418
2de1cf8c
NC
34192016-04-25 Nick Clifton <nickc@redhat.com>
3420
3421 * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
3422 (__mspabi_cmpd): Likewise.
3423 * config/msp430/floathidf.c (__floathidf): Likewise.
3424 * config/msp430/floathisf.c (__floathisf): Likewise
3425 * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
3426 * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
3427 * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
3428 second parameter.
3429 (__ashrsi3): Likewise.
3430
b8ce3fe2
WB
34312016-04-21 Waldemar Brodkorb <wbx@openadk.org>
3432
3433 * config/m68k/linux-atomic.c: Do not include unistd.h
3434
4986f823
MG
34352016-04-20 Martin Galvan <martin.galvan@tallertechnologies.com>
3436
3437 * config/arm/ieee754-df.S: Fix typos in comments.
3438
35fbda43
MM
34392016-04-11 Michael Meissner <meissner@linux.vnet.ibm.com>
3440
3441 PR target/70381
3442 * configure.ac (powerpc*-*-linux*): Rework tests to build
3443 __float128 emulation routines to not depend on using #pragma GCC
3444 target to enable -mfloat128.
3445 * configure: Regnerate.
3446
72d1a48d
EB
34472016-04-04 Eric Botcazou <ebotcazou@adacore.com>
3448
3449 PR target/67172
3450 * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
3451 __MINGW32__ is defined.
3452
dc2e8995
JB
34532016-03-28 James Bowman <james.bowman@ftdichip.com>
3454
385c7747 3455 * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
dc2e8995 3456
104cdaf1
MM
34572016-03-22 Michael Meissner <meissner@linux.vnet.ibm.com>
3458
3459 PR libgcc/70363
3460 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
3461 built with an assembler that does not support ISA 3.0
3462 instructions, rename __extendkftf2_sw to __extendkftf2.
3463
a5046f48
RO
34642016-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3465
3466 PR target/38239
3467 * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
3468 call-clobbered registers.
3469 (internal_mcount): Remove __i386__ handling.
3470
df674f74
JS
34712016-02-26 Joel Sherrill <joel@rtems.org>
3472
3473 * config.host: Add x86_64-*-rtems*.
3474
7cb065d6
JS
34752016-02-26 Joel Sherrill <joel@rtems.org>
3476
3477 * libgcc/config.host: Add aarch64-*-rtems*.
3478
47dfdc53
PM
34792016-02-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
3480 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
3481
3482 * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
3483 union of u64 and double.
3484 (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
3485 (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
3486 value.
3487 (FP_ROUNDMODE): Update the usage of _fpscr.
3488
e6861a99
IV
34892016-02-25 Ilya Verbin <ilya.verbin@intel.com>
3490
3491 PR driver/68463
3492 * Makefile.in (crtoffloadtable$(objext)): New rule.
3493 * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
3494 enable_offload_targets is not empty.
3495 * configure: Regenerate.
3496 * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
3497 crtoffloadtable.
3498
9bfcbdee
MF
34992016-02-17 Max Filippov <jcmvbkbc@gmail.com>
3500
3501 * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
3502 .literal_position before the function.
3503 * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
3504 Likewise.
3505
4cb4721f
MK
35062016-02-15 Marcin Kościelnicki <koriakin@0x04.net>
3507
3508 * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
3509 * config/s390/morestack.S: New file.
3510 * config/s390/t-stack-s390: New file.
3511 * generic-morestack.c (__splitstack_find): Add s390-specific code.
3512
b29d9a29
WL
35132016-02-12 Walter Lee <walt@tilera.com>
3514
3515 * config.host (tilegx*-*-linux*): remove ti from
3516 softfp_int_modes for 32-bit configs.
3517
03a0ae7d
ILT
35182016-02-10 Ian Lance Taylor <iant@google.com>
3519
3520 PR go/68562
3521 * config/i386/morestack.S (__stack_split_initialize): Align
3522 stack.
3523
68750bce
AT
35242016-02-03 Andreas Tobler <andreast@gcc.gnu.org>
3525
3526 PR bootstrap/69611
3527 * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
3528 __FLOAT128__ to compile only for __float128 capable targets.
3529
7d296953
JJ
35302016-01-25 Jakub Jelinek <jakub@redhat.com>
3531
3532 PR target/69444
3533 * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
3534 instead of ___NO_FPRS__.
3535
a71c0334 35362016-01-21 Michael Meissner <meissner@linux.vnet.ibm.com>
7d296953
JJ
3537 Steven Munroe <munroesj@linux.vnet.ibm.com>
3538 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
a71c0334
MM
3539
3540 * config/rs6000/float128-sed: New files to convert TF names to KF
3541 names for PowerPC IEEE 128-bit floating point support.
3542 * config/rs6000/float128-sed-hw: Likewise.
3543
3544 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
3545 floating point hardware support.
3546
3547 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
3548 128-bit floating point software emulation or use ISA 3.0 hardware
3549 support if it is available.
3550
3551 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
3552 floating point.
3553
3554 * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
3555 floating point to IBM extended double.
3556
3557 * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
3558 double to IEEE 128-bit floating point.
3559
3560 * config/rs6000/t-float128: New Makefile fragments to enable
3561 building __float128 emulation support.
3562 * config/rs6000/t-float128-hw: Likewise.
3563
3564 * config/rs6000/sfp-exceptions.c: New file to provide exception
3565 support for IEEE 128-bit floating point.
3566
3567 * config/rs6000/floattikf.c: New files for converting between IEEE
3568 128-bit floating point and signed/unsigned 128-bit integers.
3569 * config/rs6000/fixunskfti.c: Likewise.
3570 * config/rs6000/fixkfti.c: Likewise.
3571 * config/rs6000/floatuntikf.c: Likewise.
3572
3573 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
3574 when building on 64-bit systems, or when VSX is enabled.
3575 (_FP_W_TYPE): Likewise.
3576 (_FP_WS_TYPE): Likewise.
3577 (_FP_I_TYPE): Likewise.
3578 (TItype): Define on 64-bit systems.
3579 (UTItype): Likewise.
3580 (TI_BITS): Likewise.
3581 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
3582 (_FP_MUL_MEAT_Q): Likewise.
3583 (_FP_DIV_MEAT_D): Likewise.
3584 (_FP_DIV_MEAT_Q): Likewise.
3585 (_FP_NANFRAC_D): Likewise.
3586 (_FP_NANFRAC_Q): Likewise.
3587 (ISA_BIT): Add exception support if we are being compiled on a
3588 machine with hardware floating point support to build the IEEE
3589 128-bit emulation functions.
3590 (FP_EX_INVALID): Likewise.
3591 (FP_EX_OVERFLOW): Likewise.
3592 (FP_EX_UNDERFLOW): Likewise.
3593 (FP_EX_DIVZERO): Likewise.
3594 (FP_EX_INEXACT): Likewise.
3595 (FP_EX_ALL): Likewise.
3596 (__sfp_handle_exceptions): Likewise.
3597 (FP_HANDLE_EXCEPTIONS): Likewise.
3598 (FP_RND_NEAREST): Likewise.
3599 (FP_RND_ZERO): Likewise.
3600 (FP_RND_PINF): Likewise.
3601 (FP_RND_MINF): Likewise.
3602 (FP_RND_MASK): Likewise.
3603 (_FP_DECL_EX): Likewise.
3604 (FP_INIT_ROUNDMODE): Likewise.
3605 (FP_ROUNDMODE): Likewise.
3606
3607 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
3608 VSX code, enable IEEE 128-bit floating point. If the compiler can
3609 compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
3610 floating point hardware instructions and it supports declaring
3611 functions with the ifunc attribute, enable ifunc functions to
3612 switch between software and hardware support.
3613 * configure.ac (powerpc*-*-linux*): Likewise.
3614 * configure: Regenerate.
3615
bdc27e50
NC
36162016-01-15 Nick Clifton <nickc@redhat.com>
3617
3618 * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
3619 dependency as the source file to be compiled.
3620 (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
3621 (lib2hw_mul_f5.o): Likewise.
3622
006df05d
MM
36232016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
3624
3625 * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
3626 * libgcc/config/rs6000/fixkfti.c: Likewise.
3627 * libgcc/config/rs6000/fixunskfti.c: Likewise.
3628 * libgcc/config/rs6000/float128-hw.c: Likewise.
3629 * libgcc/config/rs6000/float128-ifunc.c: Likewise.
3630 * libgcc/config/rs6000/float128-sed: Likewise.
3631 * libgcc/config/rs6000/floattikf.c: Likewise.
3632 * libgcc/config/rs6000/floatuntikf.c: Likewise.
3633 * libgcc/config/rs6000/quad-float128.h: Likewise.
3634 * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
3635 * libgcc/config/rs6000/sfp-machine.h: Likewise.
3636 * libgcc/config/rs6000/t-float128: Likewise.
3637 * libgcc/config/rs6000/t-float128-hw: Likewise.
3638 * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
3639 * libgcc/config.host: Likewise.
3640 * libgcc/configure: Likewise.
3641 * libgcc/configure.ac: Likewise.
3642
29176d57 36432016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
7d296953
JJ
3644 Steven Munroe <munroesj@linux.vnet.ibm.com>
3645 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
29176d57
MM
3646
3647 * config/rs6000/sfp-exceptions.c: New file to provide exception
3648 support for IEEE 128-bit floating point.
3649
3650 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
3651 floating point hardware support.
3652
3653 * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
3654 point conversions.
3655 * config/rs6000/fixunskfti.c: Likewise.
3656 * config/rs6000/fixkfti.c: Likewise.
3657 * config/rs6000/floatuntikf.c: Likewise.
3658 * config/rs6000/extendkftf2-sw.c: Likewise.
3659 * config/rs6000/trunctfkf2-sw.c: Likewise.
3660
3661 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
3662 128-bit floating point software emulation or use ISA 3.0 hardware
3663 support if it is available.
3664
3665 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
3666 floating point.
3667
3668 * config/rs6000/t-float128: New Makefile fragments to enable
3669 building __float128 emulation support.
3670 * config/rs6000/t-float128-hw: Likewise.
3671
3672 * config/rs6000/float128-sed: New file to convert TF names to KF
3673 names for PowerPC IEEE 128-bit floating point support.
3674
3675 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
3676 when building on 64-bit systems, or when VSX is enabled.
3677 (_FP_W_TYPE): Likewise.
3678 (_FP_WS_TYPE): Likewise.
3679 (_FP_I_TYPE): Likewise.
3680 (TItype): Define on 64-bit systems.
3681 (UTItype): Likewise.
3682 (TI_BITS): Likewise.
3683 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
3684 (_FP_MUL_MEAT_Q): Likewise.
3685 (_FP_DIV_MEAT_D): Likewise.
3686 (_FP_DIV_MEAT_Q): Likewise.
3687 (_FP_NANFRAC_D): Likewise.
3688 (_FP_NANFRAC_Q): Likewise.
3689 (ISA_BIT): Add exception support if we are being compiled on a
3690 machine with hardware floating point support to build the IEEE
3691 128-bit emulation functions.
3692 (FP_EX_INVALID): Likewise.
3693 (FP_EX_OVERFLOW): Likewise.
3694 (FP_EX_UNDERFLOW): Likewise.
3695 (FP_EX_DIVZERO): Likewise.
3696 (FP_EX_INEXACT): Likewise.
3697 (FP_EX_ALL): Likewise.
3698 (__sfp_handle_exceptions): Likewise.
3699 (FP_HANDLE_EXCEPTIONS): Likewise.
3700 (FP_RND_NEAREST): Likewise.
3701 (FP_RND_ZERO): Likewise.
3702 (FP_RND_PINF): Likewise.
3703 (FP_RND_MINF): Likewise.
3704 (FP_RND_MASK): Likewise.
3705 (_FP_DECL_EX): Likewise.
3706 (FP_INIT_ROUNDMODE): Likewise.
3707 (FP_ROUNDMODE): Likewise.
3708
3709 * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
3710 compiler can do __float128.
3711 * configure: Regenerate.
3712
3713 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
3714 VSX code, enable IEEE 128-bit floating point.
3715
a2218983
OH
37162016-01-05 Olivier Hainque <hainque@adacore.com>
3717
3718 * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
29176d57 3719 specificities.
a2218983 3720
818ab71a
JJ
37212016-01-04 Jakub Jelinek <jakub@redhat.com>
3722
3723 Update copyright years.
3724
5a6c8ffa
AP
37252015-12-18 Andris Pavenis <andris.pavenis@iki.fi>
3726
3727 * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
29176d57 3728 soft-fp targets.
5a6c8ffa 3729
077067a5
BE
37302015-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
3731
3732 * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
3733 instead of abort to avoid dependency on stdlib.h.
3734
787c1027
JDA
37352015-12-09 John David Anglin <danglin@gcc.gnu.org>
3736
3737 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
3738 to initialize call to __dl_fixup once.
3739
04a9ae28
NC
37402015-12-04 Nick Clifton <nickc@redhat.com>
3741
3742 * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
3743 Allow for the second argument being negative.
3744 * config.host (extra_parts): Define for MSP430. Create separate
3745 libraries for each of the hardware multiply formats.
3746 * config/msp430/lib2hw_mul.S: Build only the multiply routines
3747 that are needed.
3748 * config/msp430/lib2mul.c: Likewise.
3749 * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
3750 Add rules to build hardware multiply libraries.
3751 * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
3752 __mspabi_divul function.
3753 (__mspabi_divllu): New stub function.
3754
9a32d437
JDA
37552015-12-01 John David Anglin <danglin@gcc.gnu.org>
3756
3757 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
3758 fixup values if saved GOT address doesn't match runtime address.
3759 (fixup_branch_offset): Reorder list.
3760
e5ef217c
RO
37612015-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3762
3763 * Makefile.in (VTV_CFLAGS): New variable.
3764 (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
3765 (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
3766 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
3767 Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
3768 to extra_parts if $enable_vtable_verify = yes.
3769
78cc43a2
SN
37702015-11-23 Szabolcs Nagy <szabolcs.nagy@arm.com>
3771
3772 PR target/68059
3773 * config/arm/linux-atomic-64bit.c (__write): Rename to...
3774 (write): ...this and fix the return type.
3775
9afebea2
DD
37762015-11-19 DJ Delorie <dj@redhat.com>
3777
3778 * config/msp430/lib2hw_mul.S: Fix alignment.
3779
33f47f42
NS
37802015-11-18 Nathan Sidwell <nathan@codesourcery.com>
3781
3782 * config/nvptx/reduction.c: New.
3783 * config/nvptx/t-nvptx (LIB2ADD): Add it.
3784
d9adb476
DE
37852015-11-15 David Edelsohn <dje.gcc@gmail.com>
3786
3787 * config/rs6000/on_exit.c: New file.
3788 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
3789 * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
3790
c0ab1970
CZ
37912015-11-11 Claudiu Zissulescu <claziss@synopsys.com>
3792
3793 * config/arc/dp-hack.h: Add support for ARCHS.
3794 * config/arc/ieee-754/divdf3.S: Likewise.
3795 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
3796 * config/arc/ieee-754/muldf3.S: Likewise.
3797 * config/arc/ieee-754/mulsf3.S: Likewise
3798 * config/arc/lib1funcs.S: Likewise
3799 * config/arc/gmon/dcache_linesz.S: Don't read the build register
3800 for ARCv2 cores.
3801 * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
3802 for ARCv2 cores.
3803 * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
3804 * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
3805 cores.
3806
e6b6bf09
RO
38072015-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3808
3809 * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
3810 value.
3811 * config/ia64/crtend.S: Likewise.
3812
a153644f
TS
38132015-11-07 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3814
3815 * config/visium/lib2funcs.c (__set_trampoline_parity): Use
3816 __CHAR_BIT__ instead of BITS_PER_UNIT.
3817 * fixed-bit.h: Likewise.
3818 * fp-bit.h: Likewise.
3819 * libgcc2.c (__popcountSI2): Likewise.
3820 (__popcountDI2): Likewise.
3821 * libgcc2.h: Likewise.
3822 * libgcov.h: Likewise.
3823
3dee689d
DE
38242015-11-07 David Edelsohn <dje.gcc@gmail.com>
3825
3826 * config/rs6000/atexit.c: New file.
3827 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
3828 * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
3829 * config/rs6000/cxa_finalize.c
3830 (catomic_compare_and_exchange_bool_acq): Negate return value.
3831
2ef543e4
VK
38322015-10-30 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
3833
3834 * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
3835 (processor_subtypes): Add znver1.
3836 (get_amd_cpu): Detect znver1.
3837
1300f017
CL
38382015-10-29 Christophe Lyon <christophe.lyon@linaro.org>
3839
3840 * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
3841 Include crtfastmath.o.
3842
3e5bb7ee
JR
38432015-10-23 Joern Rennecke <joern.rennecke@embecosm.com>
3844
3845 PR libgcc/66883
3846 * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
1300f017 3847
793aa938
KP
38482015-10-16 Kaushik Phatak <kaushik.phatak@kpit.com>
3849
3850 * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
3851 * config/rl78/divmodsi.S: Update return register to r8.
3852 * config/rl78/divmodhi.S: Update return register to r8,r9.
3853 Branch to main_loop_done_himode to pop registers before return.
3854
7d296953 38552015-10-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
fac812f0
VK
3856
3857 * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
3858 (__cpu_indicator_init): Fix model selection for AMD CPUs.
3859
6a192b5a
KY
38602015-10-05 Kirill Yukhin <kirill.yukhin@intel.com>
3861
3862 * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
3863
4a0a9457
MF
38642015-10-03 Max Filippov <jcmvbkbc@gmail.com>
3865
3866 * config.host (xtensa*-*-uclinux*): New configuration.
3867
ab91c076
KY
38682015-10-02 Kirill Yukhin <kirill.yukhin@intel.com>
3869
385c7747 3870 * config/i386/cpuinfo.c (processor_features): Add
ab91c076
KY
3871 FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
3872
30954527
JM
38732015-09-28 Joseph Myers <joseph@codesourcery.com>
3874
3875 * soft-fp/adddf3.c: Update from glibc.
3876 * soft-fp/addsf3.c: Likewise.
3877 * soft-fp/addtf3.c: Likewise.
3878 * soft-fp/divdf3.c: Likewise.
3879 * soft-fp/divsf3.c: Likewise.
3880 * soft-fp/divtf3.c: Likewise.
3881 * soft-fp/double.h: Likewise.
3882 * soft-fp/eqdf2.c: Likewise.
3883 * soft-fp/eqsf2.c: Likewise.
3884 * soft-fp/eqtf2.c: Likewise.
3885 * soft-fp/extenddftf2.c: Likewise.
3886 * soft-fp/extended.h: Likewise.
3887 * soft-fp/extendsfdf2.c: Likewise.
3888 * soft-fp/extendsftf2.c: Likewise.
3889 * soft-fp/extendxftf2.c: Likewise.
3890 * soft-fp/fixdfdi.c: Likewise.
3891 * soft-fp/fixdfsi.c: Likewise.
3892 * soft-fp/fixdfti.c: Likewise.
3893 * soft-fp/fixsfdi.c: Likewise.
3894 * soft-fp/fixsfsi.c: Likewise.
3895 * soft-fp/fixsfti.c: Likewise.
3896 * soft-fp/fixtfdi.c: Likewise.
3897 * soft-fp/fixtfsi.c: Likewise.
3898 * soft-fp/fixtfti.c: Likewise.
3899 * soft-fp/fixunsdfdi.c: Likewise.
3900 * soft-fp/fixunsdfsi.c: Likewise.
3901 * soft-fp/fixunsdfti.c: Likewise.
3902 * soft-fp/fixunssfdi.c: Likewise.
3903 * soft-fp/fixunssfsi.c: Likewise.
3904 * soft-fp/fixunssfti.c: Likewise.
3905 * soft-fp/fixunstfdi.c: Likewise.
3906 * soft-fp/fixunstfsi.c: Likewise.
3907 * soft-fp/fixunstfti.c: Likewise.
3908 * soft-fp/floatdidf.c: Likewise.
3909 * soft-fp/floatdisf.c: Likewise.
3910 * soft-fp/floatditf.c: Likewise.
3911 * soft-fp/floatsidf.c: Likewise.
3912 * soft-fp/floatsisf.c: Likewise.
3913 * soft-fp/floatsitf.c: Likewise.
3914 * soft-fp/floattidf.c: Likewise.
3915 * soft-fp/floattisf.c: Likewise.
3916 * soft-fp/floattitf.c: Likewise.
3917 * soft-fp/floatundidf.c: Likewise.
3918 * soft-fp/floatundisf.c: Likewise.
3919 * soft-fp/floatunditf.c: Likewise.
3920 * soft-fp/floatunsidf.c: Likewise.
3921 * soft-fp/floatunsisf.c: Likewise.
3922 * soft-fp/floatunsitf.c: Likewise.
3923 * soft-fp/floatuntidf.c: Likewise.
3924 * soft-fp/floatuntisf.c: Likewise.
3925 * soft-fp/floatuntitf.c: Likewise.
3926 * soft-fp/gedf2.c: Likewise.
3927 * soft-fp/gesf2.c: Likewise.
3928 * soft-fp/getf2.c: Likewise.
3929 * soft-fp/ledf2.c: Likewise.
3930 * soft-fp/lesf2.c: Likewise.
3931 * soft-fp/letf2.c: Likewise.
3932 * soft-fp/muldf3.c: Likewise.
3933 * soft-fp/mulsf3.c: Likewise.
3934 * soft-fp/multf3.c: Likewise.
3935 * soft-fp/negdf2.c: Likewise.
3936 * soft-fp/negsf2.c: Likewise.
3937 * soft-fp/negtf2.c: Likewise.
3938 * soft-fp/op-1.h: Likewise.
3939 * soft-fp/op-2.h: Likewise.
3940 * soft-fp/op-4.h: Likewise.
3941 * soft-fp/op-8.h: Likewise.
3942 * soft-fp/op-common.h: Likewise.
3943 * soft-fp/quad.h: Likewise.
3944 * soft-fp/single.h: Likewise.
3945 * soft-fp/soft-fp.h: Likewise.
3946 * soft-fp/subdf3.c: Likewise.
3947 * soft-fp/subsf3.c: Likewise.
3948 * soft-fp/subtf3.c: Likewise.
3949 * soft-fp/truncdfsf2.c: Likewise.
3950 * soft-fp/trunctfdf2.c: Likewise.
3951 * soft-fp/trunctfsf2.c: Likewise.
3952 * soft-fp/trunctfxf2.c: Likewise.
3953 * soft-fp/unorddf2.c: Likewise.
3954 * soft-fp/unordsf2.c: Likewise.
3955 * soft-fp/unordtf2.c: Likewise.
3956
4dfe21ac
RE
39572015-09-24 Richard Earnshaw <rearnsha@arm.com>
3958
3959 PR libgcc/67624
3960 * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
3961
df2a1cc4
RO
39622015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3963
3964 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
3965 Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
3966 * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
3967 messages.
3968 (internal_mcount): Likewise.
3969 * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
3970 crt_compile, add CRTSTUFF_T_CFLAGS_S.
3971
2d110442
RO
39722015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3973
3974 * configure.ac (libgcc_cv_solaris_crts): New test.
3975 * configure: Regenerate.
3976 * config.in: Regenerate.
3977 * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
3978 * config/gmon-sol2.c: Rename to ...
3979 * config/sol2/gmon.c: ... this.
3980 Include auto-target.h.
3981 (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
3982 * config/t-sol2: Rename to ...
3983 * config/sol2/t-sol2: ... this.
3984 (gmon.o): Reflect renaming.
3985 (crtp.o, crtpg.o): New rules.
3986 * config.host (*-*-solaris2*): Reflect renaming.
3987 Use system CRTs if present.
3988 Remove default CRT case.
3989
d572e439
JDA
39902015-09-23 John David Anglin <danglin@gcc.gnu.org>
3991
3992 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
3993 (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
3994 __kernel_cmpxchg2.
3995 (__sync_##OP##_and_fetch_##WIDTH): Likewise.
3996 (__sync_val_compare_and_swap_##WIDTH): Likewise.
3997 (__sync_bool_compare_and_swap_##WIDTH): Likewise.
3998 (__sync_lock_test_and_set_##WIDTH): Likewise.
3999 (__sync_lock_release_##WIDTH): Likewise.
4000 (__sync_fetch_and_##OP##_4): Change result to match type of
4001 __kernel_cmpxchg.
4002 (__sync_##OP##_and_fetch_4): Likewise.
4003 (__sync_val_compare_and_swap_4): Likewise.
4004 (__sync_bool_compare_and_swap_4): likewise.
4005 (__sync_lock_test_and_set_4): Likewise.
4006 (__sync_lock_release_4): Likewise.
4007 (FETCH_AND_OP_2): Add long long variants.
4008 (OP_AND_FETCH_2): Likewise.
4009 (COMPARE_AND_SWAP_2 ): Likewise.
4010 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
4011 (SYNC_LOCK_RELEASE_2): Likewise.
4012 (__sync_bool_compare_and_swap_##WIDTH): Correct return.
4013
7d296953 40142015-09-22 Kirill Yukhin <kirill.yukhin@intel.com>
06caf59d
KY
4015
4016 * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
4017 FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
4018 FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
4019 (get_available_features): Habdle new features.
4020
131314e1
JB
40212015-09-21 James Bowman <james.bowman@ftdichip.com>
4022
4023 * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
4024 memory layout. Deal correctly with BSS region larger than 32K.
4025 Handle a watchdog reset like a power-on reset. Clean up unused
4026 code.
4027
04218b35
AD
40282015-09-18 Andrew Dixie <andrewd@gentrack.com>
4029 David Edelsohn <dje.gcc@gmail.com>
4030
4031 * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
4032 * config/rs6000/crtdbase.S: New file.
4033 * config/rs6000/t-aix-cxa: Build crtdbase.o.
4034
c8338173
MF
40352015-09-15 Max Filippov <jcmvbkbc@gmail.com>
4036
4037 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
4038 Add support for call0 ABI.
4039
7a84bf71
JDA
40402015-09-13 John David Anglin <danglin@gcc.gnu.org>
4041
4042 * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
4043
4efab402
SH
40442015-09-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
4045
4046 * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
4047 (__GTHREAD_HAS_COND): Likewise.
4048 (__gthread_t): Likewise.
4049 (__gthread_cond_t): Likewise.
4050 (__gthread_time_t): Likewise.
4051 (__GTHREAD_MUTEX_INIT): Likewise.
4052 (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
4053 (__GTHREAD_COND_INIT): Likewise.
4054 (__GTHREAD_COND_INIT_FUNCTION): Likewise.
4055 (__GTHREAD_TIME_INIT): Likewise.
4056 (__gthread_create): Likewise.
4057 (__gthread_join): Likewise.
4058 (__gthread_detach): Likewise.
4059 (__gthread_equal): Likewise.
4060 (__gthread_self): Likewise.
4061 (__gthread_yield): Likewise.
4062 (__gthread_cond_broadcast): Likewise.
4063 (__gthread_cond_signal): Likewise.
4064 (__gthread_cond_wait): Likewise.
4065 (__gthread_cond_timedwait): Likewise.
4066 (__gthread_cond_wait_recursive): Likewise.
4067 (__gthread_cond_destroy): Likewise.
4068 (rtems_gxx_once): Delete.
4069 (rtems_gxx_key_create): Likewise.
4070 (rtems_gxx_key_delete): Likewise.
4071 (rtems_gxx_getspecific): Likewise.
4072 (rtems_gxx_setspecific): Likewise.
4073 (rtems_gxx_mutex_init): Likewise.
4074 (rtems_gxx_mutex_destroy): Likewise.
4075 (rtems_gxx_mutex_lock): Likewise.
4076 (rtems_gxx_mutex_trylock): Likewise.
4077 (rtems_gxx_mutex_unlock): Likewise.
4078 (rtems_gxx_recursive_mutex_init): Likewise.
4079 (rtems_gxx_recursive_mutex_lock): Likewise.
4080 (rtems_gxx_recursive_mutex_trylock): Likewise.
4081 (rtems_gxx_recursive_mutex_unlock): Likewise.
4082 (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
4083 (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
4084 (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
4085 (__gthread_once): Likewise.
4086 (__gthread_key_create): Likewise.
4087 (__gthread_key_delete): Likewise.
4088 (__gthread_getspecific): Likewise.
4089 (__gthread_setspecific): Likewise.
4090 (__gthread_key_t): Use <pthread.h> type.
4091 (__gthread_once_t): Likewise
4092 (__gthread_mutex_t): Use <sys/lock.h> type.
4093 (__gthread_recursive_mutex_t): Likewise
4094 (__gthread_mutex_lock): Use <sys/lock.h> function.
4095 (__gthread_mutex_trylock): Likewise.
4096 (__gthread_mutex_timedlock): Likewise.
4097 (__gthread_mutex_unlock): Likewise.
4098 (__gthread_mutex_destroy): Likewise.
4099 (__gthread_recursive_mutex_lock): Likewise.
4100 (__gthread_recursive_mutex_trylock): Likewise.
4101 (__gthread_recursive_mutex_timedlock): Likewise.
4102 (__gthread_recursive_mutex_unlock): Likewise.
4103 (__gthread_recursive_mutex_destroy): Likewise.
4104
991995c4
MF
41052015-08-18 Max Filippov <jcmvbkbc@gmail.com>
4106
4107 * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
4108 context->sp instead of context->cfa.
4109
0e19db59
MF
41102015-08-18 Max Filippov <jcmvbkbc@gmail.com>
4111
4112 * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
4113 with unwind-dw2-fde-dip.
4114
b6ac5f62
MF
41152015-08-18 Max Filippov <jcmvbkbc@gmail.com>
4116
4117 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
4118 CALL12 followed by series of ENTRY to spill windowed registers.
4119 (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
4120 instead of making linux spill syscall.
4121
3e0f3349
YR
41222015-08-14 Yuri Rumyantsev <ysrumyan@gmail.com>
4123
4124 * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
4125 (get_intel_cpu): Likewise.
4126
51c728b1
L
41272015-08-12 H.J. Lu <hongjiu.lu@intel.com>
4128
4129 * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
4130 (get_intel_cpu): Add Knights Landing support.
4131
aff4eeac
UB
41322015-08-11 Uros Bizjak <ubizjak@gmail.com>
4133
4134 PR target/66954
4135 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
4136 (get_available_features): Handle FEATURE_PCLMUL.
4137
736e56da
L
41382015-08-10 H.J. Lu <hongjiu.lu@intel.com>
4139
4140 * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
4141 Broadwell.
4142
54d22142
UB
41432015-07-22 Uros Bizjak <ubizjak@gmail.com>
4144
4145 PR target/66954
4146 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
4147 (get_available_features): Handle FEATURE_AES.
4148
20ca17e4
CLT
41492015-07-22 Chung-Lin Tang <cltang@codesourcery.com>
4150
4151 * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
4152 (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
4153
ebe4a560
NS
41542015-07-17 Nathan Sidwell <nathan@codesourcery.com>
4155
4156 * offloadstuff.c: Constify host data.
4157
180744c0
JB
41582015-07-17 Jan Beulich <jbeulich@suse.com>
4159
4160 * config/t-softfp: Split up "else ifneq".
4161
a03c6ae3
SL
41622015-07-14 Sandra Loosemore <sandra@codesourcery.com>
4163 Cesar Philippidis <cesar@codesourcery.com>
4164 Chung-Lin Tang <cltang@codesourcery.com>
4165
4166 * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
4167 for __nios2_arch__ level.
4168
73358db5
JM
41692015-07-13 John Marino <gnugcc@marino.st>
4170
4171 * config/i386/t-dragonfly: New.
4172
f9a12f7b
JDA
41732015-07-01 John David Anglin <danglin@gcc.gnu.org>
4174
4175 * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
4176 better match light-weight syscall argument order.
4177 (__kernel_cmpxchg2): Likewise.
4178 Adjust callers.
4179
cb78b51c
L
41802015-06-30 H.J. Lu <hongjiu.lu@intel.com>
4181
4182 * config.host: Support i[34567]86-*-elfiamcu target.
4183 * config/t-softfp-sfdftf: New file.
4184 * config/i386/32/t-iamcu: Likewise.
4185 * configure: Regenerated.
4186
4fa0f9ea
JL
41872015-06-23 James Lemke <jwlemke@codesourcery.com>
4188
4189 libgcc/config/arm/
4190 * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
4191
428b3812
L
41922015-05-27 H.J. Lu <hongjiu.lu@intel.com>
4193
4194 * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
4195
7d296953 41962015-05-27 John Marino <gnugcc@marino.st>
89c54dd3
JM
4197
4198 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
4199 md_unwind_header
4200 * config/i386/freebsd-unwind.h: New.
4201
9b789cc1
UB
42022015-05-22 Uros Bizjak <ubizjak@gmail.com>
4203
4204 * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
4205 i386/t-crtfm to tmake_file.
4206 * config/i386/crtfastmath.c (set_fast_math_sse): New function.
4207 (set_fast_math): Use set_fast_math_sse for SSE targets.
4208 * config/i386/t-crtfm: Remove.
4209
3dafb220
AM
42102015-05-21 Alan Modra <amodra@gmail.com>
4211
4212 PR libgcc/66225
4213 * config/rs6000/morestack.S: Remove ".abiversion 1".
4214
0f0fd745
AM
42152015-05-20 Alan Modra <amodra@gmail.com>
4216
4217 * config/rs6000/morestack.S: New.
4218 * config/rs6000/t-stack-rs6000: New.
4219 * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
4220 to tmake_file.
4221 * generic-morestack.c: Don't build for powerpc 32-bit.
4222
515ae71b
EB
42232015-05-19 Eric Botcazou <ebotcazou@adacore.com>
4224
4225 * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
4226 Remove useless endif/ifneq ($(enable_shared),yes) pair.
4227
36805406
JL
42282015-05-16 James Bowman <james.bowman@ftdichip.com>
4229
4230 * config.host: FT32 target added.
4231 * config/ft32/*: New files for FT32 target.
4232
ff935d0c
MG
42332015-05-15 Martin Galvan <martin.galvan@tallertechnologies.com>
4234
385c7747
UB
4235 * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
4236 New macros.
4237 * config/arm/ieee754-df.S: Add CFI directives.
4238 * config/arm/ieee754-sf.S: Add CFI directives.
ff935d0c 4239
9b92a9f3
EB
42402015-05-13 Eric Botcazou <ebotcazou@adacore.com>
4241
4242 * configure.ac: Include config/sjlj.m4.
4243 Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
4244 * config.in: Regenerate.
4245 * configure: Likewise.
4246 * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
4247
98b5dc61
UB
42482015-05-12 Uros Bizjak <ubizjak@gmail.com>
4249
4250 * libgcov-util.c: Add space between string literal and macro name.
4251
5a0ff57c
SL
42522015-05-06 Sandra Loosemore <sandra@codesourcery.com>
4253 Chris Jones <chrisj@nvidia.com>
4254 Joshua Conner <jconner@nvidia.com>
4255
4256 * config.host (arm*-*-linux*): Add support for crtfastmath.o.
4257 (arm*-*-uclinux*): Likewise.
4258 (arm*-*-eabi* | arm*-*-rtems*): Likewise.
4259 * config/arm/crtfastmath.c: New file.
4260
d28ad5d4
BS
42612014-04-29 Bernd Schmidt <bernds@codesourcery.com>
4262
4263 * Makefile.in (real_host_noncanonical): New variable.
4264 (libsubdir): Use it.
4265 * configure.ac (real_host_noncanonical): Compute. Remove special
4266 case for intelmicemul.
4267 * configure: Regenerate.
4268
cc86234f
UB
42692015-04-28 Uros Bizjak <ubizjak@gmail.com>
4270
4271 * config/frv/elf-lib.h: New file.
4272 (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
4273 * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
4274 to tm_file.
4275
42762015-04-28 Uros Bizjak <ubizjak@gmail.com>
4277
4278 * config/frv/frvbengin.c: Do not include defaults.h
4279 * config/frv/frvend.c: Ditto.
4280
2f6bd6eb
YS
42812015-04-27 Yoshinori Sato <ysato@users.sourceforge.jp>
4282
4283 * config.host: Add h8300-*-linux
4284 * config/h8300/t-linux: New file.
4285 * config/h8300/lib1funs.s: Change symbol prefix.
4286 * config/h8300/sfp-machine.h: 64bit double support.
4287
15aa7b44
GR
42882015-04-22 Gregor Richards <gregor.richards@uwaterloo.ca>
4289 Szabolcs Nagy <szabolcs.nagy@arm.com>
4290
4291 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
4292 Linux if target provides dl_iterate_phdr.
4293
abd0cdc9
L
42942015-04-17 H.J. Lu <hongjiu.lu@intel.com>
4295
4296 PR target/65612
4297 * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
4298 * config/i386/cpuinfo.c (__cpu_model): Initialize.
4299 (__cpu_indicator_init@GCC_4.8.0): New.
4300 (__cpu_model@GCC_4.8.0): Likewise.
4301 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
4302 -DUSE_ELF_SYMVER.
4303
72ed1126
NC
43042015-04-16 Nick Clifton <nickc@redhat.com>
4305
4306 * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
4307 and __modhi3 functions.
4308 * config/rl78/divmodso.S: Add G14 and G13 versions of the
4309 __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
4310
d26b2237
CG
43112015-04-15 Chen Gang <gang.chen.5i5j@gmail.com>
4312
4313 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
4314 do-while loop as macro body to avoid warnings.
4315
cacf1f59
JJ
43162015-04-10 Jakub Jelinek <jakub@redhat.com>
4317 Iain Sandoe <iain@codesourcery.com>
4318
4319 PR target/65351
4320 * configure: Regenerate.
4321
e8a4ed3b
JJ
43222015-04-07 Jakub Jelinek <jakub@redhat.com>
4323 Iain Sandoe <iain@codesourcery.com>
4324
4325 PR target/65351
4326 * configure: Regenerate.
4327
0341335e
CLT
43282015-03-25 Chung-Lin Tang <cltang@codesourcery.com>
4329
4330 * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
4331
590e2636 43322015-03-03 Max Filippov <jcmvbkbc@gmail.com>
0341335e 4333
590e2636
MF
4334 Implement call0 ABI for xtensa
4335 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
4336 __xtensa_nonlocal_goto): Don't compile for call0 ABI.
4337 (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
4338 use ret in call0 ABI.
4339 * config/xtensa/t-windowed: New file.
4340 * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
4341 * libgcc/configure: Regenerated.
4342 * libgcc/configure.ac: Check if xtensa target is configured for
4343 windowed ABI and thus needs to use custom unwind code.
4344
7727f8f2
JW
43452015-02-12 Jonathan Wakely <jwakely@redhat.com>
4346
4347 PR libgcc/64885
4348 * gthr-single.h: Use __unused__ attribute instead of unused.
4349 * config/gthr-vxworks.h: Likewise.
4350 * config/i386/gthr-win32.h: Likewise.
4351
0e4a0def
KT
43522015-02-27 Kai Tietz <ktietz@redhat.com>
4353
4354 PR target/65038
4355 * config.in: Regenerated.
4356 * configure: Likewise.
4357 * configure.ac (AC_HEADER_STDC): Added explicit.
4358 (AC_CHECK_HEADERS): Check for default headers plus
4359 for ftw.h header.
4360 * libgcov-util.c (gcov_read_profile_dir): Disable use
4361 of ftw-function, if header is not found.
4362 (ftw_read_file): Likewise.
4363
b6530d0a
TS
43642015-02-23 Thomas Schwinge <thomas@codesourcery.com>
4365
4366 PR target/65181
4367 * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
4368 -Dinhibit_libc.
4369
53cfb467
SL
43702015-02-17 Sandra Loosemore <sandra@codesourcery.com>
4371
4372 * config/arm/bpabi.S (test_div_by_zero): Make label names
4373 consistent between thumb2 and arm mode cases. Separate the
4374 signed comparison on the high word of the numerator from the
4375 unsigned comparison on the low word.
4376 * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
4377 signed comparison.
4378
77d10a1b
JM
43792015-02-17 Joseph Myers <joseph@codesourcery.com>
4380
4381 * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
4382 and <string.h>.
4383 (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
4384
98174188
RE
43852015-02-10 Rainer Emrich <rainer@emrich-ebersheim.de>
4386
4387 PR gcov-profile/61889
471274de 4388 * libgcov-driver-system.c: undefine clashing macro for mkdir.
98174188 4389
771bef14
NC
43902015-02-02 Nick Clifton <nickc@redhat.com>
4391
4392 * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
4393 rounding up the fraction.
4394
40702893
JDA
43952015-01-31 John David Anglin <danglin@gcc.gnu.org>
4396
4397 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
4398 oldval and newval to const void *. Fix typo.
4399 (FETCH_AND_OP_2): Use __atomic_load_n to load value.
4400 (FETCH_AND_OP_WORD): Likewise.
4401 (OP_AND_FETCH_WORD): Likewise.
4402 (COMPARE_AND_SWAP_2): Likewise.
4403 (__sync_val_compare_and_swap_4): Likewise.
4404 (__sync_lock_test_and_set_4): Likewise.
4405 (SYNC_LOCK_RELEASE_2): Likewise.
4406 Remove support for long long atomic operations.
4407
f7f049fa
CT
44082015-01-27 Caroline Tice <cmtice@google.com>
4409
4410 Committing VTV Cywin/Ming patch for Patrick Wollgast
4411 * Makefile.in: Move rules to build vtv_*.o out of the check
4412 for CUSTOM_CRTSTUFF.
4413 * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
4414 i[34567]86-*-mingw*)
4415 (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
4416 enable_vtable_verify.
4417
8410904a
NC
44182015-01-27 Nick Clifton <nickc@redhat.com>
4419
4420 * config/rl78/cmpsi2.S: Use function start and end macros.
4421 (__gcc_bcmp): New function.
4422 * config/rl78/lshrsi3.S: Use function start and end macros.
4423 * config/rl78/mulsi3.S: Add support for G10.
4424 (__mulqi3): New function for G10.
4425 * config/rl78/signbit.S: Use function start and end macros.
4426 * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
4427 fpmath-sf.S.
4428 (LIB2FUNCS_EXCLUDE): Define.
4429 (LIB2FUNCS_ST): Define.
4430 * config/rl78/trampoline.S: Use function start and end macros.
4431 * config/rl78/vregs.h (START_FUNC): New macro.
4432 (START_ANOTHER_FUNC): New macro.
4433 (END_FUNC): New macro.
4434 (END_ANOTHER_FUNC): New macro.
4435 * config/rl78/bit-count.S: New file. Contains assembler
4436 implementations of the bit counting functions: ___clzhi2,
4437 __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
4438 __paritysi2, __popcounthi2 and __popcountsi2.
4439 * config/rl78/fpbit-sf.S: New file. Contains assembler
4440 implementationas of the math functions: __negsf2, __cmpsf2,
4441 __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
4442 __fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
4443 * config/rl78/fpmath-sf.S: New file. Contains assembler
4444 implementations of the math functions: __subsf3, __addsf3,
4445 __mulsf3 and __divsf3
4446
f962fbf1
RO
44472015-01-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4448
4449 * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
4450 Add i386/elf-lib.h to tm_file.
4451 * config/i386/elf-lib.h: Fix comment.
4452 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
4453 && __sun__ && __svr4__]: Remove workaround.
4454
939911c5
ASJ
44552015-01-25 Allan Sandfeld Jensen <sandfeld@kde.org>
4456
4457 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
4458 FEATURE_BMI2.
4459 (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
4460
c8f2dff2
L
44612015-01-24 H.J. Lu <hongjiu.lu@intel.com>
4462
4463 * config/i386/cpuinfo.c (processor_subtypes): Add
4464 INTEL_COREI7_BROADWELL.
4465 (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
4466 model numbers.
4467
7bbf9734
UB
44682015-01-23 Uros Bizjak <ubizjak@gmail.com>
4469
4470 * config/i386/elf-lib.h: New file.
4471 (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
4472 Wrap definition in #ifdef __i386__.
4473 * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
4474 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
4475 (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
4476 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
4477 to tm_file.
4478
324820f1
CG
44792015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
4480
4481 * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
4482 "(char *)" to avoid qualifier warning by 'xgcc' compiling.
4483
a9ce4e4a
CLT
44842015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
4485
4486 * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
4487 Update rt_sigframe format and address for current Nios II
4488 Linux conventions.
4489
82a19768
AT
44902015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
4491
4492 * config.host (arm*-*-freebsd*): Add new configuration for
4493 arm*-*-freebsd*.
4494 * config/arm/freebsd-atomic.c: New file.
4495 * config/arm/t-freebsd: Likewise.
4496 * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
4497 'PC-relative indirect' OS's.
4498
0969ec7d
EB
44992015-01-06 Eric Botcazou <ebotcazou@adacore.com>
4500
4501 * config.host: Add Visium support.
4502 * config/visium: New directory.
4503
5624e564
JJ
45042015-01-05 Jakub Jelinek <jakub@redhat.com>
4505
4506 Update copyright years.
4507
82f84ecb
MF
45082014-12-19 Matthew Fortune <matthew.fortune@imgtec.com>
4509
4510 * config.host: Support mipsisa32r6 and mipsisa64r6.
4511 * config/mips/mips16.S: Do not build for R6.
4512
69044fa9
OE
45132014-12-17 Oleg Endo <olegendo@gcc.gnu.org>
4514
4515 * config/sh/crt.h: New.
4516 * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
4517 symbols.
4518 * config/sh/crt1.S: Likewise.
4519
2405e0ea
UB
45202014-12-15 Uros Bizjak <ubizjak@gmail.com>
4521
4522 PR libgcc/63832
4523 * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
4524 func_ptr *dtor_list temporary variable to avoid "array subscript
4525 is above array bounds" warnings.
4526
7d296953 45272014-12-09 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
dd913323
MH
4528
4529 * Makefile.in (with_aix_soname): Define.
4530 * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
4531 * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
4532 * configure: Recreate.
4533
a66272f6
OH
45342014-12-05 Olivier Hainque <hainque@adacore.com>
4535
4536 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
4537 now provided by defaults.h.
4538
6342b2c5
OE
45392014-11-30 Oleg Endo <olegendo@gcc.gnu.org>
4540
7d0ee249 4541 PR target/55351
6342b2c5
OE
4542 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
4543 whether it's defined.
4544
c17eac85
IT
45452014-11-27 Ilya Tocar <ilya.tocar@intel.com>
4546
4547 * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
4548 * config/i386/cpuinfo.c (get_available_features): Detect it.
4549
1025cb6c
TW
45502014-11-27 Tony Wang <tony.wang@arm.com>
4551
4552 * config/arm/lib1funcs.S (FUNC_START): Add conditional section
4553 redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
4554 (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
4555
d19f2e38
SB
45562014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
4557
4558 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
4559
17f6e9a3
JDA
45602014-11-24 John David Anglin <danglin@gcc.gnu.org>
4561
4562 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
4563 instead.
4564
0cd7c672
GM
45652014-11-21 Guy Martin <gmsoft@tuxicoman.be>
4566 John David Anglin <danglin@gcc.gnu.org>
4567
4568 * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
4569 (FETCH_AND_OP_2): New. Use for subword and double word operations.
4570 (OP_AND_FETCH_2): Likewise.
4571 (COMPARE_AND_SWAP_2): Likewise.
4572 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
4573 (SYNC_LOCK_RELEASE_2): Likewise.
4574 (SUBWORD_SYNC_OP): Remove.
4575 (SUBWORD_VAL_CAS): Likewise.
4576 (SUBWORD_BOOL_CAS): Likewise.
4577 (FETCH_AND_OP_WORD): Update.
4578 Consistently use signed types.
cc86234f 4579
85c64bbe
BS
45802014-11-13 Bernd Schmidt <bernds@codesourcery.com>
4581 Thomas Schwinge <thomas@codesourcery.com>
4582 Ilya Verbin <ilya.verbin@intel.com>
4583 Andrey Turetskiy <andrey.turetskiy@intel.com>
4584
4585 * Makefile.in (crtoffloadbegin$(objext)): New rule.
4586 (crtoffloadend$(objext)): Likewise.
4587 * configure: Regenerate.
4588 * configure.ac (accel_dir_suffix): Compute new variable.
4589 (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
4590 if enable_offload_targets is not empty.
4591 * offloadstuff.c: New file.
4592
52a1ff8b
NC
45932014-11-13 Nick Clifton <nickc@redhat.com>
4594
4595 * config/rl78/divmodhi.S: Add support for the G10 architecture.
4596 Use START_FUNC and END_FUNC macros to enable linker garbage
4597 collection.
4598 * config/rl78/divmodqi.S: Likewise.
4599 * config/rl78/divmodsi.S: Likewise.
4600 * config/rl78/mulsi3.S: Likewise.
4601 * config/rl78/lib2div.c: Remove G10 functions.
4602 * config/rl78/lib2muls.c: Likewise.
4603 * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
4604 * config/rl78/vregs.h (START_FUNC): New macro.
4605 (END_FUNC): New macro.
4606
050af144
MF
46072014-11-12 Matthew Fortune <matthew.fortune@imgtec.com>
4608
4609 * config/mips/mips16.S: Set .module when supported. Update O32
4610 FP64 calling convention and use for FPXX when possible. Add FPXX
4611 calling convention fallback case.
4612
738f2522
BS
46132014-11-06 Bernd Schmidt <bernds@codesourcery.com>
4614
4615 * config.host: Handle nvptx-*-*.
4616 * shared-object.mk (as-flags-$o): Define.
4617 ($(base)$(objext), $(base)_s$(objext)): Use it instead of
4618 -xassembler-with-cpp.
4619 * static-object.mk: Identical changes.
4620 * config/nvptx/t-nvptx: New file.
4621 * config/nvptx/crt0.s: New file.
4622 * config/nvptx/free.asm: New file.
4623 * config/nvptx/malloc.asm: New file.
4624 * config/nvptx/realloc.c: New file.
4625
e610393c
JM
46262014-10-30 Joseph Myers <joseph@codesourcery.com>
4627
4628 * Makefile.in (libgcc.map.in): New target.
4629 (libgcc.map): Use libgcc.map.in.
4630 * config/t-softfp (softfp_compat): New variable to be set by
4631 users.
4632 [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
4633 variables.
4634 [$(softfp_compat) = y] (softfp_file_list): Use files in the build
4635 directory.
4636 [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
4637 that use compat symbols and disable all code unless [SHARED].
4638 * config/t-softfp-compat: New file.
4639 * find-symver.awk: New file.
4640 * configure.ac (--with-glibc-version): New configure option.
4641 (ppc_fp_compat): New variable set for powerpc*-*-linux*.
4642 * configure: Regenerate.
4643 * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
4644 soft-float and e500.
4645
bc1b3a88
JM
46462014-10-29 Joseph Myers <joseph@codesourcery.com>
4647
4648 * config/t-hardfp (hardfp_exclusions): Document new variable for
4649 user to define.
4650 (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
4651 * config/t-softfp (softfp_extras): Document new variable for user
4652 to define.
4653 (softfp_func_list): Add functions from $(softfp_extras).
4654 * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
4655 * config.host (powerpc*-*-linux*): For e500v1, use
4656 rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
4657 t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
4658 and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
4659
ef2810c1
JDA
46602014-10-26 John David Anglin <danglin@gcc.gnu.org>
4661
4662 * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
4663 (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
4664 memory read accesses are ok.
4665
d80c2bea
JM
46662014-10-25 Joseph Myers <joseph@codesourcery.com>
4667
4668 * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
4669 * configure: Regenerate.
4670 * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
4671 additions to tmake_file. Use t-hardfp-sfdf and t-hardfp instead
4672 of soft-fp for 32-bit classic hard float. Do not use
4673 t-softfp-excl for soft float.
4674
693b297b
JM
46752014-10-22 Joseph Myers <joseph@codesourcery.com>
4676
4677 * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
4678 configurations.
4679 * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
4680 Remove variables.
4681
18a3415e
GJL
46822014-10-22 Georg-Johann Lay <avr@gjlay.de>
4683
4684 * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
4685 introduced with 2014-10-21 trunk r216525.
4686
c1dd9790 46872014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
7d296953
JJ
4688 Vidya Praveen <vidya.praveen@atmel.com>
4689 Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
4690 Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
4691 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
c1dd9790
JR
4692
4693 * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
4694 order.
4695
4696 Updated library functions for AVRTINY arch.
4697 * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
4698 Replaced occurrences of r0/r1 with tmp/zero reg macros.
4699 Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
4700 or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
4701 wsubi/wadi macors.
4702 (__mulsi3_helper): Update stack, preserve callee saved regs and
4703 argument from stack. Restore callee save registers.
4704 (__mulpsi3): Likewise.
4705 (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
4706 __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
18a3415e 4707 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
c1dd9790
JR
4708 AVRTINY.
4709 (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
4710 (__do_copy_data): Added new definition for AVRTINY.
4711 (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
4712 (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
4713 __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
4714 * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
4715 tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
4716 macors.
18a3415e 4717 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
c1dd9790
JR
4718 AVRTINY.
4719
18a3415e 4720 Fix broken long multiplication on tiny arch.
c1dd9790 4721
5f606431
JM
47222014-10-09 Joseph Myers <joseph@codesourcery.com>
4723
4724 * soft-fp/double.h: Update from glibc.
4725 * soft-fp/eqdf2.c: Likewise.
4726 * soft-fp/eqsf2.c: Likewise.
4727 * soft-fp/eqtf2.c: Likewise.
4728 * soft-fp/extenddftf2.c: Likewise.
4729 * soft-fp/extended.h: Likewise.
4730 * soft-fp/extendsfdf2.c: Likewise.
4731 * soft-fp/extendsftf2.c: Likewise.
4732 * soft-fp/extendxftf2.c: Likewise.
4733 * soft-fp/gedf2.c: Likewise.
4734 * soft-fp/gesf2.c: Likewise.
4735 * soft-fp/getf2.c: Likewise.
4736 * soft-fp/ledf2.c: Likewise.
4737 * soft-fp/lesf2.c: Likewise.
4738 * soft-fp/letf2.c: Likewise.
4739 * soft-fp/op-1.h: Likewise.
4740 * soft-fp/op-2.h: Likewise.
4741 * soft-fp/op-4.h: Likewise.
4742 * soft-fp/op-8.h: Likewise.
4743 * soft-fp/op-common.h: Likewise.
4744 * soft-fp/quad.h: Likewise.
4745 * soft-fp/single.h: Likewise.
4746 * soft-fp/soft-fp.h: Likewise.
4747 * soft-fp/unorddf2.c: Likewise.
4748 * soft-fp/unordsf2.c: Likewise.
4749 * soft-fp/unordtf2.c: Likewise.
4750 * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
4751 * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
4752 * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
4753 * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
4754 * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
4755 * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
4756 * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
4757 * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
4758 * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
4759 * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
4760
9b84e7a8
RX
47612014-10-08 Rong Xu <xur@google.com>
4762
4763 * libgcov-util.c (read_gcda_file): Fix format.
4764 (find_match_gcov_info): Ditto.
4765 (calculate_2_entries): New.
4766 (compute_one_gcov): Ditto.
4767 (gcov_info_count_all_cold): Ditto.
4768 (gcov_info_count_all_zero): Ditto.
4769 (extract_file_basename): Ditto.
4770 (get_file_basename): Ditto.
4771 (set_flag): Ditto.
4772 (matched_gcov_info): Ditto.
4773 (calculate_overlap): Ditto.
4774 (gcov_profile_overlap): Ditto.
4775 * libgcov-driver.c (compute_summary): Make
4776 it avavilable for external calls.
4777
fe1090c1
RX
47782014-10-06 Rong Xu <xur@google.com>
4779
4780 * Makefile.in: Ditto.
4781 * libgcov-driver.c (gcov_sort_n_vals): New utility function.
4782 (gcov_sort_icall_topn_counter): Ditto.
4783 (gcov_sort_topn_counter_arrays): Ditto.
4784 (dump_one_gcov): Sort indirect_call topn counters.
4785 * libgcov-merge.c (__gcov_merge_icall_topn): New merge
4786 function.
4787 * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
4788 utility function.
4789 (__gcov_indirect_call_topn_profiler): New profiler function.
4790 * libgcov-util.c (__gcov_icall_topn_counter_op): New.
4791 * libgcov.h: New decls.
4792
3daa7bbf
TS
47932014-10-04 Trevor Saunders <tsaunders@mozilla.com>
4794
4795 * config.host: Remove support for score-*.
4796
9a79452d
JM
47972014-09-22 Joseph Myers <joseph@codesourcery.com>
4798
4799 * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
4800 (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
4801 (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
4802 __LIBGCC_XF_MANT_DIG__.
4803 (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
4804 (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
4805 __LIBGCC_TF_MANT_DIG__.
4806 * libgcc2.c (NOTRUNC): Define in terms of
4807 __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
4808 * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
4809
1a849e50
JM
48102014-09-22 Joseph Myers <joseph@codesourcery.com>
4811
4812 PR target/63312
4813 * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
4814 New macros.
4815
598a1586
HPN
48162014-09-22 Hans-Peter Nilsson <hp@axis.com>
4817
4818 * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
4819 override USE_PT_GNU_EH_FRAME.
4820 [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
4821 check USE_EH_FRAME_REGISTRY_ALWAYS against
4822 __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
4823 * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
4824 variable for substituted force_explicit_eh_registry.
4825 (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
4826 * configure.ac (explicit-exception-frame-registration):
4827 New AC_ARG_ENABLE.
4828 * configure: Regenerate.
4829
3a8fe7c6
OH
48302014-09-19 Olivier Hainque <hainque@adacore.com>
4831
4832 * config.host (powerpc-wrs-vxworksmils): New configuration,
4833 same as vxworksae.
4834
dd69f047
JM
48352014-09-18 Joseph Myers <joseph@codesourcery.com>
4836
4837 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
4838
e770bfd9
JM
48392014-09-18 Joseph Myers <joseph@codesourcery.com>
4840
4841 * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
4842 bits not set bits as indicating trapping exceptions.
4843
cadb2b96
NS
48442014-09-17 Nathan sidwell <nathan@acm.org>
4845
4846 * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
4847 (LIBGCOV_DRIVER): ... here.
4848 * libgcov-driver.c (gcov_master): New.
4849 (gcov_exit): Remove from master chain.
4850 (__gcov_init): Add to master chain if version compatible. Don't
4851 clear the version.
4852 * libgcov_interface (__gcov_flust): Call gcov_dump_int.
4853 (gcov_reset_int): Clear master chain, if compatible.
4854 (gcov_dump_int): New internal interface. Dump master chain, if
4855 compatible.
4856 (gcov_dump): Alias for gcov_dump_int.
4857 * libgcov.h (struct gcov_root): Add next and prev fields.
4858 (struct gcov_master): New struct.
4859 (__gcov_master): New.
4860 (gcov_dump_int): Declare.
4861
580d22a3
OH
48622014-09-17 Olivier Hainque <hainque@adacore.com>
4863
4864 * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
4865 and crtbegin.o + crtend.o to extra_parts.
4866
8cc4b7a2
JM
48672014-09-12 Joseph Myers <joseph@codesourcery.com>
4868
4869 * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
4870 __LIBGCC_HAS_SF_MODE__.
4871 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
4872 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
4873 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
4874 * config/libbid/bid_gcc_intrinsics.h
4875 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
4876 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
4877 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
4878 * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
4879 (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
4880 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
4881
ea3f2b24
GJL
48822014-09-11 Georg-Johann Lay <avr@gjlay.de>
4883
4884 PR target/63223
4885 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
4886 and R24 as needed. Make work for all devices and .text locations.
4887 (__do_global_ctors, __do_global_dtors): Use word addresses.
4888 (__tablejump__, __tablejump_elpm__): Remove functions.
4889 * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
4890 Add _tablejump2.
4891 (XICALL, XIJMP): New macros.
4892
b677236a
MS
48932014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
4894 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
4895
4896 * config.host (aarch64*): Include crtfastmath.o and
4897 t-crtfm.
4898 * config/aarch64/crtfastmath.c: New file.
4899
157e859f
TS
49002014-09-08 Trevor Saunders <tsaunders@mozilla.com>
4901
4902 * config.host: Remove picochip support.
4903 * config/picochip/adddi3.S: Remove.
4904 * config/picochip/ashlsi3.S: Remove.
4905 * config/picochip/ashlsi3.c: Remove.
4906 * config/picochip/ashrsi3.S: Remove.
4907 * config/picochip/ashrsi3.c: Remove.
4908 * config/picochip/clzsi2.S: Remove.
4909 * config/picochip/cmpsi2.S: Remove.
4910 * config/picochip/divmod15.S: Remove.
4911 * config/picochip/divmodhi4.S: Remove.
4912 * config/picochip/divmodsi4.S: Remove.
4913 * config/picochip/lib1funcs.S: Remove.
4914 * config/picochip/longjmp.S: Remove.
4915 * config/picochip/lshrsi3.S: Remove.
4916 * config/picochip/lshrsi3.c: Remove.
4917 * config/picochip/parityhi2.S: Remove.
4918 * config/picochip/popcounthi2.S: Remove.
4919 * config/picochip/setjmp.S: Remove.
4920 * config/picochip/subdi3.S: Remove.
4921 * config/picochip/t-picochip: Remove.
4922 * config/picochip/ucmpsi2.S: Remove.
4923 * config/picochip/udivmodhi4.S: Remove.
4924 * config/picochip/udivmodsi4.S: Remove.
4925
66bb34c0
JM
49262014-09-08 Joseph Myers <joseph@codesourcery.com>
4927
4928 * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
4929 (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
4930 (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
4931 (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
4932 * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
4933 error if not defined and LIBGCC2_HAS_SF_MODE is defined.
4934 (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
4935 defined and LIBGCC2_HAS_DF_MODE is defined.
4936 (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
4937 defined and LIBGCC2_HAS_XF_MODE is defined.
4938 (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
4939 defined and LIBGCC2_HAS_TF_MODE is defined.
4940
9686a2e6
JM
49412014-09-08 Joseph Myers <joseph@codesourcery.com>
4942
4943 * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
4944 and ROUND_TOWARDS_ZERO conditionals.
4945
71c3e2ef
NS
49462014-09-07 Nathan sidwell <nathan@acm.org>
4947
4948 * libgcov-interface.c (STRONG_ALIAS): Rename to ...
4949 (ALIAS_weak): ... here. Use forwarding function. Adjust uses.
4950
53d68b9f
JM
49512014-09-05 Joseph Myers <joseph@codesourcery.com>
4952
4953 * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
4954 * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
4955 uses to __LIBGCC_STACK_POINTER_REGNUM__.
4956 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
4957 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4958 * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
4959 Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4960 * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
4961 uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
4962 (DWARF_FRAME_REGISTERS): Change all uses to
4963 __LIBGCC_DWARF_FRAME_REGISTERS__.
4964 (EH_RETURN_STACKADJ_RTX): Change all uses to
4965 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
4966 * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
4967 __LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
4968 * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
4969 use to __LIBGCC_EH_FRAME_SECTION_NAME__.
4970 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
4971 * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
4972 to __LIBGCC_EH_FRAME_SECTION_NAME__.
4973 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
4974 * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
4975 __LIBGCC_STACK_POINTER_REGNUM__.
4976 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
4977 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4978 * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
4979 to __LIBGCC_STACK_POINTER_REGNUM__.
4980 * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
4981 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4982 * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
4983 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4984 * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
4985 Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4986 (STACK_POINTER_REGNUM): Change all uses to
4987 __LIBGCC_STACK_POINTER_REGNUM__.
4988 * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
4989 use to __LIBGCC_STACK_POINTER_REGNUM__.
4990 * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
4991 uses to __LIBGCC_STACK_POINTER_REGNUM__.
4992 * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
4993 to __LIBGCC_DWARF_FRAME_REGISTERS__.
4994 * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
4995 to __LIBGCC_DWARF_FRAME_REGISTERS__.
4996 * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
4997 to __LIBGCC_STACK_POINTER_REGNUM__.
4998 * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
4999 Remove conditional definition.
5000 * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
5001 __LIBGCC_TEXT_SECTION_ASM_OP__.
5002 (EH_FRAME_SECTION_NAME): Change all uses to
5003 __LIBGCC_EH_FRAME_SECTION_NAME__.
5004 (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
5005 __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
5006 (CTORS_SECTION_ASM_OP): Change all uses to
5007 __LIBGCC_CTORS_SECTION_ASM_OP__.
5008 (DTORS_SECTION_ASM_OP): Change all uses to
5009 __LIBGCC_DTORS_SECTION_ASM_OP__.
5010 (JCR_SECTION_NAME): Change all uses to
5011 __LIBGCC_JCR_SECTION_NAME__.
5012 (INIT_SECTION_ASM_OP): Change all uses to
5013 __LIBGCC_INIT_SECTION_ASM_OP__.
5014 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
5015 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
5016 * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
5017 __LIBGCC_STACK_GROWS_DOWNWARD__.
5018 * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
5019 __LIBGCC_INIT_SECTION_ASM_OP__.
5020 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
5021 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
5022 (EH_FRAME_SECTION_NAME): Change all uses to
5023 __LIBGCC_EH_FRAME_SECTION_NAME__.
5024 * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
5025 definitions. Change all uses to
5026 __LIBGCC_VTABLE_USES_DESCRIPTORS__.
5027 * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
5028 __LIBGCC_STACK_GROWS_DOWNWARD__.
5029 (DWARF_FRAME_REGISTERS): Change all uses to
5030 __LIBGCC_DWARF_FRAME_REGISTERS__.
5031 (EH_RETURN_STACKADJ_RTX): Change all uses to
5032 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
5033 * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
5034 definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
5035 * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
5036 __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
5037 (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
5038
b20ee094
NS
50392014-09-02 Nathan sidwell <nathan@acm.org>
5040
5041 * libgcov-interface.c (STRONG_ALIAS): New.
5042 (__gcov_flush): Call __gcov_reset_int.
5043 (__gcov_reset): Strong alias for ...
5044 (__gcov_reset_ing): ... this renamed hidden version.
5045 * libgcov.h (__gcov_reset_int): New declaration.
5046
1ac83976
YS
50472014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
5048
25efdb9f
YS
5049 * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
5050 call from here...
5051 * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
5052 (__dso_handle): Define on Cygwin.
5053 * config/i386/t-cygming (crtbeginS.o): New rule.
5054 * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
5055
1ac83976
YS
5056 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
5057 declaration syntax.
5058
c6f9ea3b
SE
50592014-08-13 Steve Ellcey <sellcey@mips.com>
5060
5061 * crtstuff.c: Undef caddr_t.
5062
5b1ea7c5
SE
50632014-08-12 Steve Ellcey <sellcey@mips.com>
5064
5065 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
5066
4303c581
NS
50672014-08-07 Nathan Sidwell <nathan@acm.org>
5068
5069 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
5070 (LIBGCOV_DRIVER): ... to here.
5071 * libgcov.h (gcov_do_dump): New #define.
5072 (struct gcov_root): New.
5073 (__gcov_root): New declaration.
5074 (__gcov_dump_one): Declare.
5075 * libgcov-driver.c (gcov_list, gcov_dump_complete,
5076 run_accounted): Delete.
5077 (gcov_compute_histogram): Add LIST argument, adjust.
5078 (compute_summary): Adjust gcov_compute_histogram call.
5079 (gcov_do_dump): Not hidden, static in libgcov.
5080 (gcov_clear): Move to interface.c.
5081 (__gcov_dump_one): New, broken out of ...
5082 (gcov_exit): ... here. Make static.
5083 (__gcov_root): New.
5084 (__gcov_init): Adjust.
5085 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
5086 declarations.
5087 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
5088 (gcov_clear): Moved from driver.c. Add LIST argument.
5089 (__gcov_reset): Adjust for changed interfaces.
5090 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
5091
23742a9e
RAR
50922014-08-04 Rohit <rohitarulraj@freescale.com>
5093
5094 PR target/60102
5095 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
d406ae47 5096 based on change in SPE high register numbers and 3 HTM registers.
23742a9e 5097
b98a872b
NS
50982014-08-01 Nathan Sidwell <nathan@acm.org>
5099
5100 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
5101 LIBGCOV_INTERFACE): Reformat.
5102 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
5103 IN_GCOV_TOOL.
5104 * libgcov-interface.c: Reformat some comments.
5105 (__gcov_flush_mx): Add declaration. Tidy up definition.
5106
6adaaa1d
AM
51072014-07-31 Alan Modra <amodra@gmail.com>
5108 Peter Bergner <bergner@vnet.ibm.com>
5109
5110 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
5111 (pack_ldouble): New function.
5112 (__gcc_qadd): Use it.
5113 (__gcc_qmul): Likewise.
5114 (__gcc_qdiv): Likewise.
5115 (__gcc_qneg): Likewise.
5116 (__gcc_stoq): Likewise.
5117 (__gcc_dtoq): Likewise.
5118
87cb0c0c
UW
51192014-07-30 J. D. Johnston <jjohnst@us.ibm.com>
5120
5121 * config/s390/tpf-unwind.h: Include <stdbool.h>.
5122 (__tpf_eh_return): Add original return address as second parameter.
5123 Handle cases where unwinder routines were called directly, instead
5124 of from within the C++ library.
5125
19926161
NS
51262014-07-29 Nathan Sidwell <nathan@acm.org>
5127
5128 * libgcov.h: Move renaming of entry points to lib gcov specific
5129 portion.
5130 (gcov_do_dump): New rename.
5131 (gcov_rewrite): Remove inline, make HIDDEN.
5132 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
5133 (gcov_exit_compute_summary): Rename to ...
5134 (compute_summary): ... here. Add LIST argument.
5135 (gcov_exit_merge_gcda): Rename to ...
5136 (merge_one_data): ... here.
5137 (gcov_exit_write_gcda): Rename to ...
5138 (write_one_data): ... here.
5139 (gcov_exit_merge_summary): Rename to ...
5140 (merge_summary): Add RUN_COUNTED argument.
5141 (gcov_exit_dump_gcov): Rename to ...
5142 (dump_one_gcov): Add RUN_COUNTED argument.
5143 (gcov_do_dump): New function, broken out of ...
5144 (gcov_exit): ... here. Call it.
5145
17522262
AG
51462014-07-27 Anthony Green <green@moxielogic.com>
5147
5148 * config.host: Add moxiebox configuration suppport.
5149
6dc33097
NS
51502014-07-27 Nathan Sidwell <nathan@acm.org>
5151
5152 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
5153 (struct gcov_filename): ... here. Include buffer and max length
5154 fields.
5155 (gcov_max_filename): Remove.
5156 (gi_filename): Remove.
5157 (gcov_exit_compute_summary): Compute max filename here.
5158 (gcov_exit_merge_gcda): Add filename parm, adjust.
5159 (gcov_exit_merge_summary): Likewise.
5160 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
5161 (gcov_exit): Likewise.
5162 (__gcov_init): Don't calculate max length here.
5163 * libgcov_util.c (max_filename_len): Remove.
5164 (read_gcda_file): Don't calculate max length here.
5165 (gcov_read_profile_dir): Don't propagate here.
5166 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
5167 struct gcov_filename changes.
5168 (gcov_exit_open_gcda_file): Likewise.
5169
770f687d
NS
51702014-07-25 Nathan Sidwell <nathan@acm.org>
5171
5172 * libgcov-driver.c (set_gcov_dump_complete,
5173 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
5174 functions polluting user's namespace.
5175 (gcov_exit): Set variable directly.
5176 (gcov_clear): Reset variable directly.
5177 * libgcov-interface.c (get_gcov_dymp_complete,
5178 reset_gov_dump_complete): Remove declarations.
5179 (__gcov_reset, __gcov_dump): Don't call them.
5180
fabf71ba
DD
51812014-07-24 DJ Delorie <dj@redhat.com>
5182
5183 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
770f687d
NS
5184 (__gcc_deregister_frame): Move logic to detect deregister function
5185 to ...
5186 (__gcc_register_frame): here, so it's consistent with the register
5187 logic.
fabf71ba 5188
d10ee722
NS
51892014-07-23 Nathan Sidwell <nathan@acm.org>
5190
5191 * libgcov-driver.c (set_gcov_list): Remove.
5192 (gcov_list): Make non-static in GCOV_TOOL.
5193 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
5194
a4137090
JDA
51952014-07-17 John David Anglin <danglin@gcc.gnu.org>
5196
5197 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
5198 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
5199 Don't use SYNC_LOCK_RELEASE for int type.
5200
72602c6c
RB
52012014-07-14 Richard Biener <rguenther@suse.de>
5202
5203 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
5204
d5313205
RX
52052014-07-11 Rong Xu <xur@google.com>
5206
5207 * libgcov-util.c (gcov_max_filename): Fix declartion.
5208
c77556a5
RX
52092014-07-10 Rong Xu <xur@google.com>
5210
5211 Add gcov-tool: an offline gcda profile processing tool
5212 Support.
5213 * libgcov-driver.c (gcov_max_filename): Make available
5214 to gcov-tool.
5215 * libgcov-merge.c (__gcov_merge_add): Replace
5216 gcov_read_counter() with a Macro.
5217 (__gcov_merge_ior): Ditto.
5218 (__gcov_merge_time_profile): Ditto.
5219 (__gcov_merge_single): Ditto.
5220 (__gcov_merge_delta): Ditto.
5221 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
5222 in the utility functions.
5223 (set_fn_ctrs): Utility function for reading gcda files to in-memory
5224 gcov_list object link lists.
5225 (tag_function): Ditto.
5226 (tag_blocks): Ditto.
5227 (tag_arcs): Ditto.
5228 (tag_lines): Ditto.
5229 (tag_counters): Ditto.
5230 (tag_summary): Ditto.
5231 (read_gcda_finalize): Ditto.
5232 (read_gcda_file): Ditto.
5233 (ftw_read_file): Ditto.
5234 (read_profile_dir_init): Ditto.
5235 (gcov_read_profile_dir): Ditto.
5236 (gcov_read_counter_mem): Ditto.
5237 (gcov_get_merge_weight): Ditto.
5238 (merge_wrapper): A wrapper function that calls merging handler.
5239 (gcov_merge): Merge two gcov_info objects with weights.
5240 (find_match_gcov_info): Find the matched gcov_info in the list.
5241 (gcov_profile_merge): Merge two gcov_info object lists.
5242 (__gcov_add_counter_op): Process edge profile counter values.
5243 (__gcov_ior_counter_op): Process IOR profile counter values.
5244 (__gcov_delta_counter_op): Process delta profile counter values.
5245 (__gcov_single_counter_op): Process single profile counter values.
5246 (fp_scale): Callback function for float-point scaling.
cc86234f 5247 (int_scale): Callback function for integer fraction scaling.
c77556a5
RX
5248 (gcov_profile_scale): Scaling profile counters.
5249 (gcov_profile_normalize): Normalize profile counters.
5250 * libgcov.h: Add headers and functions for gcov-tool use.
5251 (gcov_get_counter): New.
5252 (gcov_get_counter_target): Ditto.
5253 (struct gcov_info): Make the functions field mutable in gcov-tool
5254 compilation.
5255
5c7dac8a
KT
52562014-06-23 Kai Tietz <ktietz@redhat.com>
5257
5258 PR libgcc/61585
5259 * unwind-seh.c (_Unwind_GetGR): Check for proper
5260 index range.
5261 (_Unwind_SetGR): Likewise.
5262
161c9312
NC
52632014-05-22 Nick Clifton <nickc@redhat.com>
5264
5265 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
5266 -mhwmult=none.
5267
e3f0315f
TJ
52682014-05-22 Teresa Johnson <tejohnson@google.com>
5269
5270 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
5271 include.
5272
dbed5a9b
JM
52732014-05-20 John Marino <gnugcc@marino.st>
5274
5275 * config.host (*-*-dragonfly*): New target.
5276 * crtstuff.c: Make dl_iterate_support generic on *bsd.
5277 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
5278 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
5279 * config/i386/dragonfly-unwind.h: New.
5280
1ec380e5
MR
52812014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
5282
5283 PR libgcc/60166
5284 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
5285 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
5286
54fde020
BE
52872014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
5288
5289 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
5290 implementation.
5291
999db125
GJL
52922014-05-12 Georg-Johann Lay <avr@gjlay.de>
5293
5294 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
5295
cceaf54a
RO
52962014-05-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5297
5298 PR libgcc/61097
5299 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
5300 if --enable-shared.
5301
e3fe9b5b
BE
53022014-04-30 Bernd Edlinger <bernd.edlinger@hotmail.de>
5303
5304 Work around for current cygwin32 build problems.
5305 * config/i386/cygming-crtbegin.c (__register_frame_info,
5306 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
5307 functions only for 64-bit systems.
5308
54cf37e9
RO
53092014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5310
5311 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
5312 (sigill_caught, sigill_hdlr): Remove.
5313
d9f069ab
RO
53142014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5315
5316 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
5317 check.
5318 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
5319 Solaris 9 single-threaded support.
5320 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
5321 Solaris 9 single-threaded support. Add call_user_handler code
5322 sequences.
5323 (sparc_is_sighandler): Likewise.
5324
59976ef8
AK
53252014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5326
5327 * config.host: Append t-floattodi to tmake_file depending on
5328 host_address.
5329
d02bbcf3
JS
53302014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
5331
31466bc0 5332 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
d02bbcf3 5333
c2e7e597
UB
53342014-03-10 Uros Bizjak <ubizjak@gmail.com>
5335
5336 PR libgcc/60472
5337 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
2405e0ea 5338 variable to avoid "array subscript is above array bounds" warnings.
c2e7e597
UB
5339 Use __builtin_expect when checking *jcr_list for NULL.
5340
227a7dc8
RO
53412014-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5342
5343 PR libgcc/59339
5344 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
5345 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
5346 vtv_*.o to extra_parts if enable_vtable_verify.
5347
df2b279c
NC
53482014-03-06 Nick Clifton <nickc@redhat.com>
5349
5350 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
5351 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
5352
dc11d79b
JY
53532014-02-28 Joey Ye <joey.ye@arm.com>
5354
5355 PR libgcc/60166
5356 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
5357 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
5358 Set to zero.
5359
341c653c
WL
53602014-02-24 Walter Lee <walt@tilera.com>
5361
5362 * config.host: Support "tilegx*" and "tilepro*" triplets.
5363 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
5364 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
5365
95ce7613
CLT
53662014-02-20 Sandra Loosemore <sandra@codesourcery.com>
5367 Chung-Lin Tang <cltang@codesourcery.com>
5368
5369 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
5370 * config/nios2/crti.S: Remove .file directive.
5371 * config/nios2/crtn.S: Likewise.
5372
0bb4fc05
KT
53732014-02-18 Kai Tietz <ktietz@redhat.com>
5374 Jonathan Schleifer <js@webkeks.org>
5375
5376 PR objc/56870
5377 * unwind-seh.c (_GCC_specific_handler): Pass proper
5378 value to unwind-handler.
5379
9acf28f1
JM
53802014-02-12 Joseph Myers <joseph@codesourcery.com>
5381
5382 * soft-fp/adddf3.c: Update from glibc.
5383 * soft-fp/addsf3.c: Likewise.
5384 * soft-fp/addtf3.c: Likewise.
5385 * soft-fp/divdf3.c: Likewise.
5386 * soft-fp/divsf3.c: Likewise.
5387 * soft-fp/divtf3.c: Likewise.
5388 * soft-fp/double.h: Likewise.
5389 * soft-fp/eqdf2.c: Likewise.
5390 * soft-fp/eqsf2.c: Likewise.
5391 * soft-fp/eqtf2.c: Likewise.
5392 * soft-fp/extenddftf2.c: Likewise.
5393 * soft-fp/extended.h: Likewise.
5394 * soft-fp/extendsfdf2.c: Likewise.
5395 * soft-fp/extendsftf2.c: Likewise.
5396 * soft-fp/extendxftf2.c: Likewise.
5397 * soft-fp/fixdfdi.c: Likewise.
5398 * soft-fp/fixdfsi.c: Likewise.
5399 * soft-fp/fixdfti.c: Likewise.
5400 * soft-fp/fixsfdi.c: Likewise.
5401 * soft-fp/fixsfsi.c: Likewise.
5402 * soft-fp/fixsfti.c: Likewise.
5403 * soft-fp/fixtfdi.c: Likewise.
5404 * soft-fp/fixtfsi.c: Likewise.
5405 * soft-fp/fixtfti.c: Likewise.
5406 * soft-fp/fixunsdfdi.c: Likewise.
5407 * soft-fp/fixunsdfsi.c: Likewise.
5408 * soft-fp/fixunsdfti.c: Likewise.
5409 * soft-fp/fixunssfdi.c: Likewise.
5410 * soft-fp/fixunssfsi.c: Likewise.
5411 * soft-fp/fixunssfti.c: Likewise.
5412 * soft-fp/fixunstfdi.c: Likewise.
5413 * soft-fp/fixunstfsi.c: Likewise.
5414 * soft-fp/fixunstfti.c: Likewise.
5415 * soft-fp/floatdidf.c: Likewise.
5416 * soft-fp/floatdisf.c: Likewise.
5417 * soft-fp/floatditf.c: Likewise.
5418 * soft-fp/floatsidf.c: Likewise.
5419 * soft-fp/floatsisf.c: Likewise.
5420 * soft-fp/floatsitf.c: Likewise.
5421 * soft-fp/floattidf.c: Likewise.
5422 * soft-fp/floattisf.c: Likewise.
5423 * soft-fp/floattitf.c: Likewise.
5424 * soft-fp/floatundidf.c: Likewise.
5425 * soft-fp/floatundisf.c: Likewise.
5426 * soft-fp/floatunditf.c: Likewise.
5427 * soft-fp/floatunsidf.c: Likewise.
5428 * soft-fp/floatunsisf.c: Likewise.
5429 * soft-fp/floatunsitf.c: Likewise.
5430 * soft-fp/floatuntidf.c: Likewise.
5431 * soft-fp/floatuntisf.c: Likewise.
5432 * soft-fp/floatuntitf.c: Likewise.
5433 * soft-fp/gedf2.c: Likewise.
5434 * soft-fp/gesf2.c: Likewise.
5435 * soft-fp/getf2.c: Likewise.
5436 * soft-fp/ledf2.c: Likewise.
5437 * soft-fp/lesf2.c: Likewise.
5438 * soft-fp/letf2.c: Likewise.
5439 * soft-fp/muldf3.c: Likewise.
5440 * soft-fp/mulsf3.c: Likewise.
5441 * soft-fp/multf3.c: Likewise.
5442 * soft-fp/negdf2.c: Likewise.
5443 * soft-fp/negsf2.c: Likewise.
5444 * soft-fp/negtf2.c: Likewise.
5445 * soft-fp/op-1.h: Likewise.
5446 * soft-fp/op-2.h: Likewise.
5447 * soft-fp/op-4.h: Likewise.
5448 * soft-fp/op-8.h: Likewise.
5449 * soft-fp/op-common.h: Likewise.
5450 * soft-fp/quad.h: Likewise.
5451 * soft-fp/single.h: Likewise.
5452 * soft-fp/soft-fp.h: Likewise.
5453 * soft-fp/subdf3.c: Likewise.
5454 * soft-fp/subsf3.c: Likewise.
5455 * soft-fp/subtf3.c: Likewise.
5456 * soft-fp/truncdfsf2.c: Likewise.
5457 * soft-fp/trunctfdf2.c: Likewise.
5458 * soft-fp/trunctfsf2.c: Likewise.
5459 * soft-fp/trunctfxf2.c: Likewise.
5460 * soft-fp/unorddf2.c: Likewise.
5461 * soft-fp/unordsf2.c: Likewise.
5462 * soft-fp/unordtf2.c: Likewise.
5463 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
5464 macro.
5465 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5466 Likewise.
5467 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5468 Likewise.
5469 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5470 Likewise.
5471 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5472 Likewise.
5473 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5474 Likewise.
5475 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5476 Likewise.
5477 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5478 Likewise.
5479 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5480 Likewise.
5481 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5482 Likewise.
5483 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5484 Likewise.
5485 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5486 Likewise.
5487 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5488 Likewise.
5489 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
5490 Likewise.
5491 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
5492 Likewise.
5493 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5494 Likewise.
5495
ce245ec6
AK
54962014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5497
5498 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
5499 cannot be represented.
5500 * config/s390/32/_fixsfdi.c: Likewise.
5501 * config/s390/32/_fixtfdi.c: Likewise.
5502 * config/s390/32/_fixunsdfdi.c: Likewise.
5503 * config/s390/32/_fixunssfdi.c: Likewise.
5504 * config/s390/32/_fixunstfdi.c: Likewise.
5505
1c51d688
RS
55062014-02-07 Richard Sandiford <rdsandiford@googlemail.com>
5507
5508 * configure.ac (libgcc_cv_mips_hard_float): New.
5509 * configure: Regenerate.
5510 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
5511 t-softfp-sfdf for hard-float targets.
5512 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
5513 (softfp_float_modes, softfp_int_modes, softfp_extensions)
5514 (softfp_truncations, softfp_exclude_libgcc2): New.
5515 * config/t-hardfp: New file.
5516 * config/t-hardfp-sfdf: Likewise.
5517 * config/hardfp.c: Likewise.
5518
bbf391db
AK
55192014-02-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5520
5521 * config.host: Include t-floattodi also for s390x.
5522 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
5523 * config/s390/32/_fixsfdi.c: Likewise.
5524 * config/s390/32/_fixtfdi.c: Likewise.
5525 * config/s390/32/_fixunsdfdi.c: Likewise.
5526 * config/s390/32/_fixunssfdi.c: Likewise.
5527 * config/s390/32/_fixunstfdi.c: Likewise.
5528
91da0481
RO
55292014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5530
5531 PR target/59788
5532 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
5533 (install-libgcc-unwind-map-forbuild): New target.
5534 (all): Depend on install-libgcc-unwind-map-forbuild.
5535 (install-libgcc-unwind-map): New target.
5536 (install): Depend on install-libgcc-unwind-map.
5537
02b67731
SL
55382014-02-02 Sandra Loosemore <sandra@codesourcery.com>
5539
5540 * config/nios2/crti.S (_init): Initialize GOT pointer from
5541 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
5542
1ea0a651
RS
55432014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
5544
5545 * configure.ac: Check __mips64 when setting host_address.
5546 * configure: Regenerate.
5547 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
5548 mips/t-mips64 and t-softfp.
5549 (mips*-*-linux*): Don't add mips/t-tpbit.
5550 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
5551 (DPBIT, DPBIT_CFLAGS): Delete.
5552 * config/mips/sfp-machine.h: New file.
5553 * config/mips/t-mips64: Likewise.
5554 * config/mips/t-softfp-tf: Likewise.
5555 * config/mips/t-tpbit: Delete.
5556
f32b0061
MS
55572014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
5558
5559 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
5560 as long long.
5561
a5420aa4
WL
55622014-01-25 Walter Lee <walt@tilera.com>
5563
5564 * config/tilepro/atomic.c: Include tconfig.h. Don't include
5565 config.h or system.h.
5566 (bool) Define.
5567
24534912
WL
55682014-01-25 Walter Lee <walt@tilera.com>
5569
5570 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
5571 (post_atomic_barrier): Ditto.
5572 (__fetch_and_do): New macro.
5573 (__atomic_fetch_and_do): Use __fetch_and_do.
5574 (__sync_fetch_and_do): New macro.
5575 (__sync_fetch_and_add_4): New function.
5576 (__sync_fetch_and_sub_4): New function.
5577 (__sync_fetch_and_or_4): New function.
5578 (__sync_fetch_and_and_4): New function.
5579 (__sync_fetch_and_xor_4): New function.
5580 (__sync_fetch_and_nand_4): New function.
5581 (__sync_fetch_and_add_8): New function.
5582 (__sync_fetch_and_sub_8): New function.
5583 (__sync_fetch_and_or_8): New function.
5584 (__sync_fetch_and_and_8): New function.
5585 (__sync_fetch_and_xor_8): New function.
5586 (__sync_fetch_and_nand_8): New function.
5587 (__do_and_fetch): New macro.
5588 (__atomic_do_and_fetch): Use __do_and_fetch.
5589 (__sync_do_and_fetch): New macro.
5590 (__sync_add_and_fetch_4): New function.
5591 (__sync_sub_and_fetch_4): New function.
5592 (__sync_or_and_fetch_4): New function.
5593 (__sync_and_and_fetch_4): New function.
5594 (__sync_xor_and_fetch_4): New function.
5595 (__sync_nand_and_fetch_4): New function.
5596 (__sync_add_and_fetch_8): New function.
5597 (__sync_sub_and_fetch_8): New function.
5598 (__sync_or_and_fetch_8): New function.
5599 (__sync_and_and_fetch_8): New function.
5600 (__sync_xor_and_fetch_8): New function.
5601 (__sync_nand_and_fetch_8): New function.
5602 (__sync_exchange_methods): New macro.
5603 (__sync_val_compare_and_swap_4): New function.
5604 (__sync_bool_compare_and_swap_4): New function.
5605 (__sync_lock_test_and_test_4): New function.
5606 (__sync_val_compare_and_swap_8): New function.
5607 (__sync_bool_compare_and_swap_8): New function.
5608 (__sync_lock_test_and_test_8): New function.
5609 (__subword_cmpxchg_body): New macro.
5610 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
5611 (__atomic_compare_exchange_2): Ditto.
5612 (__sync_subword_cmpxchg): New macro.
5613 (__sync_val_compare_and_swap_1): New function.
5614 (__sync_bool_compare_and_swap_1): New function.
5615 (__sync_val_compare_and_swap_2): New function.
5616 (__sync_bool_compare_and_swap_2): New function.
5617 (__atomic_subword): Rename to ...
5618 (__subword): ... New name.
5619 (__atomic_subword_fetch): Use __subword.
5620 (__sync_subword_fetch): New macro.
5621 (__sync_fetch_and_add_1): New function.
5622 (__sync_fetch_and_sub_1): New function.
5623 (__sync_fetch_and_or_1): New function.
5624 (__sync_fetch_and_and_1): New function.
5625 (__sync_fetch_and_xor_1): New function.
5626 (__sync_fetch_and_nand_1): New function.
5627 (__sync_fetch_and_add_2): New function.
5628 (__sync_fetch_and_sub_2): New function.
5629 (__sync_fetch_and_or_2): New function.
5630 (__sync_fetch_and_and_2): New function.
5631 (__sync_fetch_and_xor_2): New function.
5632 (__sync_fetch_and_nand_2): New function.
5633 (__sync_add_and_fetch_1): New function.
5634 (__sync_sub_and_fetch_1): New function.
5635 (__sync_or_and_fetch_1): New function.
5636 (__sync_and_and_fetch_1): New function.
5637 (__sync_xor_and_fetch_1): New function.
5638 (__sync_nand_and_fetch_1): New function.
5639 (__sync_add_and_fetch_2): New function.
5640 (__sync_sub_and_fetch_2): New function.
5641 (__sync_or_and_fetch_2): New function.
5642 (__sync_and_and_fetch_2): New function.
5643 (__sync_xor_and_fetch_2): New function.
5644 (__sync_nand_and_fetch_2): New function.
5645 (__atomic_subword_lock): Use __subword.
5646 (__sync_subword_lock): New macro.
5647 (__sync_lock_test_and_set_1): New function.
5648 (__sync_lock_test_and_set_2): New function.
5649
4d6d3bc5
WL
56502014-01-25 Walter Lee <walt@tilera.com>
5651
5652 * config/tilepro/atomic.c (BIT_OFFSET): Define.
5653 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
5654 (__atomic_subword): Ditto.
5655
cbd9890e
WL
56562014-01-25 Walter Lee <walt@tilera.com>
5657
5658 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
5659 a prefix op argument.
5660 (__atomic_nand_fetch_4): Add prefix op.
5661 (__atomic_nand_fetch_8): Ditto.
5662
7d296953 56632014-01-21 Baruch Siach <barch@tkos.co.il>
800d8bd5
BS
5664
5665 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
5666
46dd1242
L
56672014-01-09 Rong Xu <xur@google.com>
5668
5669 * libgcov-driver.c (this_prg): make it local to save
5670 bss space.
5671 (gcov_exit_compute_summary): Ditto.
5672 (gcov_exit_merge_gcda): Ditto.
5673 (gcov_exit_merge_summary): Ditto.
5674 (gcov_exit_dump_gcov): Ditto.
5675
cc86234f 56762014-01-08 Rong Xu <xur@google.com>
40d6b753
RX
5677
5678 * libgcov-driver.c: Use libgcov.h.
5679 (buffer_fn_data): Use xmalloc instead of malloc.
5680 (gcov_exit_merge_gcda): Ditto.
5681 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
5682 * libgcov.h: New common header files for libgcov-*.h.
5683 * libgcov-interface.c: Use libgcov.h
5684 * libgcov-merge.c: Ditto.
5685 * libgcov-profiler.c: Ditto.
5686 * Makefile.in: Add dependence to libgcov.h
5687
a02e7bdd
JM
56882014-01-02 Joseph Myers <joseph@codesourcery.com>
5689
5690 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
5691 case of small numerator and finite nonzero result.
5692
ac1dca3c
RS
56932014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
5694
5695 Update copyright years
5696
f9030485
RS
56972014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
5698
5699 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
5700 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
5701 config/arc/dp-hack.h, config/arc/fp-hack.h,
5702 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
5703 config/arc/ieee-754/arc600-dsp/divdf3.S,
5704 config/arc/ieee-754/arc600-dsp/divsf3.S,
5705 config/arc/ieee-754/arc600-dsp/muldf3.S,
5706 config/arc/ieee-754/arc600-dsp/mulsf3.S,
5707 config/arc/ieee-754/arc600-mul64/divdf3.S,
5708 config/arc/ieee-754/arc600-mul64/divsf3.S,
5709 config/arc/ieee-754/arc600-mul64/muldf3.S,
5710 config/arc/ieee-754/arc600-mul64/mulsf3.S,
5711 config/arc/ieee-754/arc600/divsf3.S,
5712 config/arc/ieee-754/arc600/mulsf3.S,
5713 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
5714 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
5715 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
5716 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
5717 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
5718 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
5719 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
5720 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
5721 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
5722 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
5723 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
5724 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
5725 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
5726 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
5727 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
5728 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
5729 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
5730 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
5731 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
5732 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
5733 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
5734 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
5735 vtv_start_preinit.c: Use the standard form for the copyright notice.
5736
e430824f
CLT
57372013-12-31 Sandra Loosemore <sandra@codesourcery.com>
5738 Chung-Lin Tang <cltang@codesourcery.com>
5739 Based on patches from Altera Corporation
5740
5741 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
5742 * config/nios2/lib2-nios2.h: New file.
5743 * config/nios2/lib2-divmod-hi.c: New file.
5744 * config/nios2/linux-unwind.h: New file.
5745 * config/nios2/lib2-divmod.c: New file.
5746 * config/nios2/linux-atomic.c: New file.
5747 * config/nios2/t-nios2: New file.
5748 * config/nios2/crti.asm: New file.
5749 * config/nios2/t-linux: New file.
5750 * config/nios2/lib2-divtable.c: New file.
5751 * config/nios2/lib2-mul.c: New file.
5752 * config/nios2/tramp.c: New file.
5753 * config/nios2/crtn.asm: New file.
5754
1879e97f
UB
57552013-12-26 Uros Bizjak <ubizjak@gmail.com>
5756
5757 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
5758 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
5759 from cpuid.h to check vendor signatures.
5760
f4a4bdbb
GG
57612013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
5762
c2e7e597 5763 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
f4a4bdbb
GG
5764 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
5765 (get_amd_cpu): Likewise.
5766
8d2ae544
L
57672013-12-25 H.J. Lu <hongjiu.lu@intel.com>
5768
5769 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
5770 Haswell.
5771
74924838
ASJ
57722013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
5773 H.J. Lu <hongjiu.lu@intel.com>
5774
0bb52f25
L
5775 PR target/59422
5776 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
74924838
ASJ
5777 and AMD_JAGUAR.
5778 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
5779 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
5780 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
5781 FEATURE_XOP and FEATURE_FMA.
5782 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
5783 AMDFAM15H_BDVER3.
5784 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
0bb52f25 5785 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
74924838
ASJ
5786 FEATURE_FMA4 and FEATURE_XOP.
5787
d3c11974
L
57882013-12-23 H.J. Lu <hongjiu.lu@intel.com>
5789
5790 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
5791 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
5792 (get_intel_cpu): Updated.
5793
064c4ff2
ZC
57942013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
5795
5796 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
5797
8b02e720
UB
57982013-12-09 Uros Bizjak <ubizjak@gmail.com>
5799
5800 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
1f71a3c3 5801 instructions when __SSE_MATH__ is defined.
8b02e720 5802
3fa2ccb4
RC
58032013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
5804
5805 * config.host (microblaze-*-rtems*): New.
5806
ecd78fc9
KV
58072013-12-04 Kugan Vivekanandarajah <kuganv@linaro.org>
5808
5809 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
5810 architectures that do not have hardware divide instruction.
5811 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
5812
b21fbbd2
RS
58132013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
5814
5815 * longlong.h: Delete (moved to include/).
5816
b03fb8c9
AZ
58172013-12-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5818
5819 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
5820 of normal number and qNaN to not raise an inexact exception.
5821
3c716922
UB
58222013-11-28 Uros Bizjak <ubizjak@gmail.com>
5823
5824 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
5825
58262013-11-28 Matthew Leach <matthew.leach@arm.com>
cceeb9a9
ML
5827
5828 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
5829 for correct opcodes on BE.
5830
a3458d22
UB
58312013-11-27 Uros Bizjak <ubizjak@gmail.com>
5832
5833 * soft-fp/op-4.h: Update from glibc.
5834
30b8f78b
KV
58352013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
5836
5837 * libgcc2.c (__udivmoddi4): Define new implementation when
5838 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
5839 divide instructions.
5840
82552a29
OE
58412013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
5842
5843 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
5844
80e87457
RO
58452013-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5846
5847 * config/t-softfp (soft-fp-objects-base): New variable.
5848 (soft-fp-objects): Use it.
5849
44178879
DE
58502013-11-23 David Edelson <dje.gcc@gmail.com>
5851 Andrew Dixie <andrewd@gentrack.com>
5852
5853 PR target/33704
5854 * config/rs6000/aixinitfini.c: New file.
5855 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
5856 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
5857 symbols.
5858
e5287671
YR
58592013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
5860
a3458d22 5861 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
e5287671 5862
867c8b03
JH
58632013-11-18 Jan Hubicka <jh@suse.cz>
5864
7f369373
JH
5865 * libgcov-driver.c (run_accounted): Make global level static.
5866 (gcov_exit_merge_summary): Silence warning; do not clear
5867 run_accounted here.
5868 (gcov_exit): Clear it here.
5869
1d0b3334
JH
5870 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
5871 run_accounted.
5872
867c8b03
JH
5873 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
5874 (all_prg, crc32): Remove static vars.
5875 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
5876 all_prg.
5877 (gcov_exit_merge_gcda): Add crc32 parameter.
5878 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
5879 do not account run if it was already accounted.
5880 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
5881 (gcov_exit): Initialize all_prg; update.
5882
66204992
AS
58832013-11-15 Andreas Schwab <schwab@linux-m68k.org>
5884
5885 * configure: Regenerate.
5886
b54214fe
UW
58872013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5888 Alan Modra <amodra@gmail.com>
5889
5890 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
5891 (frob_update_context): Use it.
5892
58932013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5894 Alan Modra <amodra@gmail.com>
5895
5896 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
5897 (trampoline_initial): Provide ELFv2 variant.
5898 (__trampoline_setup): Likewise.
5899
5900 * config/rs6000/linux-unwind.h (frob_update_context): Do not
5901 check for AIX indirect function call sequence if _CALL_ELF == 2.
5902
59032013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5904 Alan Modra <amodra@gmail.com>
5905
5906 * config/rs6000/linux-unwind.h (get_regs): Do not support
5907 old kernel versions if _CALL_ELF == 2.
5908 (frob_update_context): Do not support PLT stub variants only
5909 generated by old linkers if _CALL_ELF == 2.
5910
13e0981a
UW
59112013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5912 Alan Modra <amodra@gmail.com>
5913
5914 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
5915 location of CR save area for 64-bit little-endian systems.
5916
1a80085d
EB
59172013-11-11 Eric Botcazou <ebotcazou@adacore.com>
5918
5919 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
5920 in tmake_file.
5921 * config/arm/t-vxworks: Delete.
5922
cabeea52
KT
59232013-11-10 Kai Tietz <ktietz@redhat.com>
5924
5925 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
5926 Increment load-count on use of LIBGCC_SONAME DLL.
5927 (hmod_libgcc): New static variable to hold handle of
5928 LIBGCC_SONAME DLL.
5929 (__gcc_deregister_frame): Decrement load-count of
5930 LIBGCC_SONAME DLL.
5931
ac088ba1
BRF
59322013-11-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
5933
5934 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
5935 availability.
5936 * configure: Regenerate
5937
d59a8fcc
UB
59382013-11-07 Uros Bizjak <ubizjak@gmail.com>
5939
5940 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
5941 FP_EX_DENORM. Store result to volatile location after SSE division
5942 to close interrupt window. Remove unneeded fwait after x87
5943 division since interrupt window will be closed by emitted fstp.
9de84e84 5944 Rewrite FP_EX_INEXACT handling.
d59a8fcc 5945
9954c743
JM
59462013-11-06 Joseph Myers <joseph@codesourcery.com>
5947
5948 * soft-fp/README: Update.
5949 * soft-fp/adddf3.c: Update from glibc.
5950 * soft-fp/addsf3.c: Likewise.
5951 * soft-fp/addtf3.c: Likewise.
5952 * soft-fp/divdf3.c: Likewise.
5953 * soft-fp/divsf3.c: Likewise.
5954 * soft-fp/divtf3.c: Likewise.
5955 * soft-fp/double.h: Likewise.
5956 * soft-fp/eqdf2.c: Likewise.
5957 * soft-fp/eqsf2.c: Likewise.
5958 * soft-fp/eqtf2.c: Likewise.
5959 * soft-fp/extenddftf2.c: Likewise.
5960 * soft-fp/extended.h: Likewise.
5961 * soft-fp/extendsfdf2.c: Likewise.
5962 * soft-fp/extendsftf2.c: Likewise.
5963 * soft-fp/extendxftf2.c: Likewise.
5964 * soft-fp/fixdfdi.c: Likewise.
5965 * soft-fp/fixdfsi.c: Likewise.
5966 * soft-fp/fixdfti.c: Likewise.
5967 * soft-fp/fixsfdi.c: Likewise.
5968 * soft-fp/fixsfsi.c: Likewise.
5969 * soft-fp/fixsfti.c: Likewise.
5970 * soft-fp/fixtfdi.c: Likewise.
5971 * soft-fp/fixtfsi.c: Likewise.
5972 * soft-fp/fixtfti.c: Likewise.
5973 * soft-fp/fixunsdfdi.c: Likewise.
5974 * soft-fp/fixunsdfsi.c: Likewise.
5975 * soft-fp/fixunsdfti.c: Likewise.
5976 * soft-fp/fixunssfdi.c: Likewise.
5977 * soft-fp/fixunssfsi.c: Likewise.
5978 * soft-fp/fixunssfti.c: Likewise.
5979 * soft-fp/fixunstfdi.c: Likewise.
5980 * soft-fp/fixunstfsi.c: Likewise.
5981 * soft-fp/fixunstfti.c: Likewise.
5982 * soft-fp/floatdidf.c: Likewise.
5983 * soft-fp/floatdisf.c: Likewise.
5984 * soft-fp/floatditf.c: Likewise.
5985 * soft-fp/floatsidf.c: Likewise.
5986 * soft-fp/floatsisf.c: Likewise.
5987 * soft-fp/floatsitf.c: Likewise.
5988 * soft-fp/floattidf.c: Likewise.
5989 * soft-fp/floattisf.c: Likewise.
5990 * soft-fp/floattitf.c: Likewise.
5991 * soft-fp/floatundidf.c: Likewise.
5992 * soft-fp/floatundisf.c: Likewise.
5993 * soft-fp/floatunditf.c: Likewise.
5994 * soft-fp/floatunsidf.c: Likewise.
5995 * soft-fp/floatunsisf.c: Likewise.
5996 * soft-fp/floatunsitf.c: Likewise.
5997 * soft-fp/floatuntidf.c: Likewise.
5998 * soft-fp/floatuntisf.c: Likewise.
5999 * soft-fp/floatuntitf.c: Likewise.
6000 * soft-fp/gedf2.c: Likewise.
6001 * soft-fp/gesf2.c: Likewise.
6002 * soft-fp/getf2.c: Likewise.
6003 * soft-fp/ledf2.c: Likewise.
6004 * soft-fp/lesf2.c: Likewise.
6005 * soft-fp/letf2.c: Likewise.
6006 * soft-fp/muldf3.c: Likewise.
6007 * soft-fp/mulsf3.c: Likewise.
6008 * soft-fp/multf3.c: Likewise.
6009 * soft-fp/negdf2.c: Likewise.
6010 * soft-fp/negsf2.c: Likewise.
6011 * soft-fp/negtf2.c: Likewise.
6012 * soft-fp/op-1.h: Likewise.
6013 * soft-fp/op-2.h: Likewise.
6014 * soft-fp/op-4.h: Likewise.
6015 * soft-fp/op-8.h: Likewise.
6016 * soft-fp/op-common.h: Likewise.
6017 * soft-fp/quad.h: Likewise.
6018 * soft-fp/single.h: Likewise.
6019 * soft-fp/soft-fp.h: Likewise.
6020 * soft-fp/subdf3.c: Likewise.
6021 * soft-fp/subsf3.c: Likewise.
6022 * soft-fp/subtf3.c: Likewise.
6023 * soft-fp/truncdfsf2.c: Likewise.
6024 * soft-fp/trunctfdf2.c: Likewise.
6025 * soft-fp/trunctfsf2.c: Likewise.
6026 * soft-fp/trunctfxf2.c: Likewise.
6027 * soft-fp/unorddf2.c: Likewise.
6028 * soft-fp/unordsf2.c: Likewise.
6029 * soft-fp/unordtf2.c: Likewise.
6030
02ac9503
UB
60312013-11-05 Uros Bizjak <ubizjak@gmail.com>
6032
6033 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
6034 (_FP_MUL_MEAT_D): Ditto.
6035 (_FP_DIV_MEAT_S): Ditto.
6036 (_FP_DIV_MEAT_D): Ditto.
6037 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
6038 t-softfp-sfdf and t-softfp to tmake_file.
6039
61221141
UB
60402013-11-03 Uros Bizjak <ubizjak@gmail.com>
6041
6042 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
6043 * config/i386/crtprec.c: Ditto.
6044
9304f876
CJW
60452013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
6046 Shiva Chen <shiva0217@gmail.com>
6047
6048 * config.host (nds32*-elf*): Add nds32 target.
6049 * config/nds32 : New directory and files.
6050
0e499e75
HPN
60512013-10-16 Hans-Peter Nilsson <hp@axis.com>
6052
6053 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
6054 * config.host (cpu_type) <Setting default>: Add entry for
6055 crisv32-*-*.
6056 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
6057 <crisv32-*-linux*>: Adjust.
6058 * longlong.h: Wrap the whole CRIS section in a single
6059 defined(__CRIS__) conditional. Add comment about add_ssaaaa
6060 and sub_ddmmss.
6061 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
6062 defined.
6063 [__CRIS__] (__umulsidi3): Define.
6064 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
6065 * config/cris/sfp-machine.h: New file.
6066 * config/cris/umulsidi3.S: New file.
6067 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
6068 * config/cris/arit.c (SIGNMULT): New macro.
6069 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
6070 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
6071 saving 3 out of originally 33 cycles from the fastest
6072 path, 3 out of 54 from the medium path and one from the longest
6073 path. Improve comments.
6074
16022041
RS
60752013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
6076
6077 * sync.c: Remove static aliases and define each function directly
6078 under its real name.
6079
69778659
JDA
60802013-10-02 John David Anglin <danglin@gcc.gnu.org>
6081
6082 * config.host (hppa*64*-*-linux*): Define extra_parts.
6083 (hppa*-*-linux*): Likewise.
6084
2deaf8b0
JR
60852013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
6086
6087 * config/arc/crtgend.S: Add 2013 to Copyright years.
6088 * config/arc/gmon/atomic.h: Likewise.
6089 * config/arc/gmon/auxreg.h: Likewise.
6090 * config/arc/gmon/sys/gmon_out.h: Likewise.
6091 * config/arc/gmon/sys/gmon.h: Likewise.
6092 * config/arc/gmon/prof-freq.c: Likewise.
6093 * config/arc/gmon/mcount.c: Likewise.
6094 * config/arc/gmon/prof-freq-stub.S: Likewise.
6095 * config/arc/gmon/gmon.c: Likewise.
6096 * config/arc/gmon/machine-gmon.h: Likewise.
6097 * config/arc/gmon/profil.S: Likewise.
6098 * config/arc/gmon/dcache_linesz.S: Likewise.
6099 * config/arc/crtg.S: Likewise.
6100 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
6101 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
6102 * config/arc/ieee-754/adddf3.S: Likewise.
6103 * config/arc/ieee-754/truncdfsf2.S: Likewise.
6104 * config/arc/ieee-754/fixsfsi.S: Likewise.
6105 * config/arc/ieee-754/gtsf2.S: Likewise.
6106 * config/arc/ieee-754/floatsisf.S: Likewise.
6107 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
6108 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
6109 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
6110 * config/arc/ieee-754/fixdfsi.S: Likewise.
6111 * config/arc/ieee-754/addsf3.S: Likewise.
6112 * config/arc/ieee-754/gesf2.S: Likewise.
6113 * config/arc/ieee-754/floatsidf.S: Likewise.
6114 * config/arc/ieee-754/extendsfdf2.S: Likewise.
6115 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
6116 * config/arc/ieee-754/gtdf2.S: Likewise.
6117 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
6118 * config/arc/ieee-754/uneqdf2.S: Likewise.
6119 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
6120 * config/arc/ieee-754/uneqsf2.S: Likewise.
6121 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
6122 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
6123 * config/arc/ieee-754/eqdf2.S: Likewise.
6124 * config/arc/ieee-754/ordsf2.S: Likewise.
6125 * config/arc/ieee-754/divsf3.S: Likewise.
6126 * config/arc/ieee-754/divdf3.S: Likewise.
6127 * config/arc/ieee-754/floatunsidf.S: Likewise.
6128 * config/arc/ieee-754/orddf2.S: Likewise.
6129 * config/arc/ieee-754/eqsf2.S: Likewise.
6130 * config/arc/ieee-754/gedf2.S: Likewise.
6131 * config/arc/crtn.S: Likewise.
6132 * config/arc/crti.S: Likewise.
6133 * config/arc/t-arc700-uClibc: Likewise.
6134 * config/arc/asm.h: Likewise.
6135 * config/arc/libgcc-excl.ver: Likewise.
6136 * config/arc/t-arc-newlib: Likewise.
6137 * config/arc/divtab-arc700.c: Likewise.
6138 * config/arc/initfini.c: Likewise.
6139 * config/arc/fp-hack.h: Likewise.
6140
c8e318b0
JR
61412013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
6142 Diego Novillo <dnovillo@google.com>
6143
6144 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
a07c5b47
JR
6145 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
6146 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
6147 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
c8e318b0 6148
d38a64b4
JR
61492013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
6150 Brendan Kehoe <brendan@zen.org>
6151 Simon Cook <simon.cook@embecosm.com>
6152
6153 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
6154 * config/arc: New directory.
6155 * longlong.h [__arc__] (umul_ppmm): Remove.
6156 [__arc__] (__umulsidi3): Define.
6157 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
6158 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
6159
dff717d2
JC
61602013-09-17 Jacek Caban <jacek@codeweavers.com>
6161
6162 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
6163 CreateSemaphoreA.
6164 * config/i386/gthr-win32.h: Likewise.
6165
5c0029de
DD
61662013-09-16 DJ Delorie <dj@redhat.com>
6167
844ad6c6 6168 * config/rl78/vregs.h: Add G10 register definitions.
5c0029de
DD
6169 * config/rl78/lib2mul.c: Enable for RL78/G10.
6170 * config/rl78/lib2div.c: Likewise.
6171 * config/rl78/lshrsi3.S: Use vregs.h.
6172 * config/rl78/cmpsi2.S: Likewise.
6173 * config/rl78/trampoline.S: Likewise.
6174 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
6175
ceb2fc49
DD
61762013-09-14 DJ Delorie <dj@redhat.com>
6177 Nick Clifton <nickc@redhat.com>
6178
6179 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
6180 * config/rl78/vregs.h: New.
6181 * config/rl78/signbit.S: New file. Implements signbit function.
6182 * config/rl78/divmodsi.S: New.
6183 * config/rl78/divmodhi.S: New.
6184 * config/rl78/divmodqi.S: New.
6185 * config/rl78/t-rl78: Build them here...
6186 * config/rl78/lib2div.c: ...but not here.
6187
f6a83b4a
DD
61882013-09-12 DJ Delorie <dj@redhat.com>
6189
6190 * config.host (msp*-*-elf): New.
6191 * config/msp430/: New port.
6192
9107b096
IS
61932013-08-18 Iain Sandoe <iain@codesourcery.com>
6194
6195 PR gcov-profile/58127
6196 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
6197 __thread var for emulated TLS.
6198 (__gcov_indirect_call_counters): Likewise.
6199
0f9bde1f 62002013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
61221141 6201 Catherine Moore <clm@codesourcery.com>
7d296953 6202 Richard Sandiford <rdsandiford@googlemail.com>
0f9bde1f
MR
6203
6204 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
6205 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
6206 (CALL_STUB_NO_RET): Likewise.
6207 (CALL_STUB_RET): Likewise.
6208 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
6209 __mips16_ret call/return stub symbols.
6210 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
6211 to tmake_file.
6212
2dc14aac
MR
62132013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
6214
6215 * config.host <mips*-*-linux*>: Remove a stray comment.
6216
748d71f3
JH
62172013-08-10 Jan Hubicka <jh@suse.cz>
6218
6219 Work around binutils PR14342
6220 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
6221 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
6222 (L_gcov_indirect_call_profiler_v2): New.
6223
2fa3d31b
JH
62242013-08-06 Jan Hubicka <jh@suse.cz>
6225
6226 * libgcov.c (__gcov_indirect_call_callee,
6227 __gcov_indirect_call_counters): New global vars.
6228 (__gcov_indirect_call_profiler): replace by ...
6229 (__gcov_indirect_call_profiler_v2) ... this one.
6230
2077db1b
CT
62312013-08-06 Caroline Tice <cmtice@google.com>
6232
d0595b65 6233 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
2077db1b 6234 vtv_start_preinit.o and vtv_end_preinit.o.
d0595b65
CT
6235 * configure.ac: Add code to check/set enable_vtable_verify.
6236 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
2077db1b 6237 true.
d0595b65
CT
6238 * vtv_start_preinit.c: New file.
6239 * vtv_end_preinit.c: New file.
6240 * vtv_start.c: New file.
6241 * vtv_end.c: New file.
6242 * configure: Regenerated.
2077db1b 6243
46549c20
MK
62442013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
6245
6246 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
6247 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
6248 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
6249 GPL-3.0-with-GCC-exception.
6250
72be589b
MR
62512013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
6252
6253 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
6254 ISA and up.
6255
902a3faf
AK
62562013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6257
6258 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
6259 mapping for FPRs when creating the fallback framestate.
6260
02371798
GJL
62612013-07-19 Georg-Johann Lay <avr@gjlay.de>
6262
6263 PR target/57516
6264 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
6265 (__round_s2_const, __round_u2_const)
6266 (__round_s4_const, __round_u4_const, __round_x8):
6267 Saturate result if addition result cannot be represented.
6268
ab0e8379
MK
62692013-07-15 Matthias Klose <doko@ubuntu.com>
6270
6271 * libgcc2.c: Don't include <limits.h>.
6272
7da38058
JJ
62732013-07-09 Janis Johnson <janisjo@codesourcery.com>
6274
6275 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
6276
1f6eac90
JJ
62772013-07-06 Jakub Jelinek <jakub@redhat.com>
6278
6279 PR target/29776
6280 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
6281
4ea3d774
JJ
62822013-06-28 Jakub Jelinek <jakub@redhat.com>
6283
6284 PR middle-end/36041
6285 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
6286 Define.
6287 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
6288 instead of table lookups.
6289 (__popcountDI2): Likewise.
6290
9d2cdf25
CJW
62912013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
6292
6293 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
6294 correctly.
6295
fa1e55b0
JM
62962013-06-21 Joseph Myers <joseph@codesourcery.com>
6297
6298 PR other/53317
6299 * soft-fp/adddf3.c: Update from glibc.
6300 * soft-fp/addsf3.c: Likewise.
6301 * soft-fp/addtf3.c: Likewise.
6302 * soft-fp/divdf3.c: Likewise.
6303 * soft-fp/divsf3.c: Likewise.
6304 * soft-fp/divtf3.c: Likewise.
6305 * soft-fp/double.h: Likewise.
6306 * soft-fp/eqdf2.c: Likewise.
6307 * soft-fp/eqsf2.c: Likewise.
6308 * soft-fp/eqtf2.c: Likewise.
6309 * soft-fp/extenddftf2.c: Likewise.
6310 * soft-fp/extended.h: Likewise.
6311 * soft-fp/extendsfdf2.c: Likewise.
6312 * soft-fp/extendsftf2.c: Likewise.
6313 * soft-fp/fixdfdi.c: Likewise.
6314 * soft-fp/fixdfsi.c: Likewise.
6315 * soft-fp/fixsfdi.c: Likewise.
6316 * soft-fp/fixsfsi.c: Likewise.
6317 * soft-fp/fixtfdi.c: Likewise.
6318 * soft-fp/fixtfsi.c: Likewise.
6319 * soft-fp/fixunsdfdi.c: Likewise.
6320 * soft-fp/fixunsdfsi.c: Likewise.
6321 * soft-fp/fixunssfdi.c: Likewise.
6322 * soft-fp/fixunssfsi.c: Likewise.
6323 * soft-fp/fixunstfdi.c: Likewise.
6324 * soft-fp/fixunstfsi.c: Likewise.
6325 * soft-fp/floatdidf.c: Likewise.
6326 * soft-fp/floatdisf.c: Likewise.
6327 * soft-fp/floatditf.c: Likewise.
6328 * soft-fp/floatsidf.c: Likewise.
6329 * soft-fp/floatsisf.c: Likewise.
6330 * soft-fp/floatsitf.c: Likewise.
6331 * soft-fp/floatundidf.c: Likewise.
6332 * soft-fp/floatundisf.c: Likewise.
6333 * soft-fp/floatunditf.c: Likewise.
6334 * soft-fp/floatunsidf.c: Likewise.
6335 * soft-fp/floatunsisf.c: Likewise.
6336 * soft-fp/floatunsitf.c: Likewise.
6337 * soft-fp/gedf2.c: Likewise.
6338 * soft-fp/gesf2.c: Likewise.
6339 * soft-fp/getf2.c: Likewise.
6340 * soft-fp/ledf2.c: Likewise.
6341 * soft-fp/lesf2.c: Likewise.
6342 * soft-fp/letf2.c: Likewise.
6343 * soft-fp/muldf3.c: Likewise.
6344 * soft-fp/mulsf3.c: Likewise.
6345 * soft-fp/multf3.c: Likewise.
6346 * soft-fp/negdf2.c: Likewise.
6347 * soft-fp/negsf2.c: Likewise.
6348 * soft-fp/negtf2.c: Likewise.
6349 * soft-fp/op-1.h: Likewise.
6350 * soft-fp/op-2.h: Likewise.
6351 * soft-fp/op-4.h: Likewise.
6352 * soft-fp/op-8.h: Likewise.
6353 * soft-fp/op-common.h: Likewise.
6354 * soft-fp/quad.h: Likewise.
6355 * soft-fp/single.h: Likewise.
6356 * soft-fp/soft-fp.h: Likewise.
6357 * soft-fp/subdf3.c: Likewise.
6358 * soft-fp/subsf3.c: Likewise.
6359 * soft-fp/subtf3.c: Likewise.
6360 * soft-fp/truncdfsf2.c: Likewise.
6361 * soft-fp/trunctfdf2.c: Likewise.
6362 * soft-fp/trunctfsf2.c: Likewise.
6363 * soft-fp/unorddf2.c: Likewise.
6364 * soft-fp/unordsf2.c: Likewise.
6365 * soft-fp/unordtf2.c: Likewise.
6366 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
6367 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6368 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6369 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6370 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6371 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6372 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6373 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6374 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6375 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
6376 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
6377 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6378
0de86a92
JU
63792013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
6380
6381 * config/mips/lib2funcs.c: New file.
6382 * config/mips/t-mips (LIB2ADD_ST): Add it.
6383
0d008882
OE
63842013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
6385
6386 PR target/6526
6387 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
6388 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
6389
776434d1
WL
63902013-06-08 Walter Lee <walt@tilera.com>
6391
6392 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
6393 Replace int64_t with long long. Add __extension__ where
6394 appropriate.
6395 * config/tilepro/atomic.c: Include config.h.
6396
6ab3ebb4
DR
63972013-06-06 Douglas B Rupp <rupp@adacore.com>
6398
6399 * config.host (arm-wrs-vxworks): Configure with other soft float.
6400
107eea2c
JU
64012013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
6402
6403 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
6404 (mips64r5900el-*-elf*): New configurations.
6405
5cc19c62
AM
64062013-06-04 Alan Modra <amodra@gmail.com>
6407
6408 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
6409
0f1d3965
YR
64102013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
6411
6412 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
6413
0ba045df
EB
64142013-05-28 Eric Botcazou <ebotcazou@adacore.com>
6415
6416 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
6417 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
6418 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
6419
49dcafd4
EB
64202013-05-22 Eric Botcazou <ebotcazou@adacore.com>
6421
6422 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
6423 (powerpc-wrs-vxworks): Likewise.
6424
4fcb5d87
EB
64252013-05-22 Eric Botcazou <ebotcazou@adacore.com>
6426
6427 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
6428 signal frames as well.
6429 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
6430 STACK_BIAS to the CFA offset.
6431
0ec33224
RH
64322013-05-17 Richard Henderson <rth@redhat.com>
6433
6434 PR target/49146
6435 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
6436 (execute_cfa_program): Use it when storing to fs->regs.
6437
492a8029
KT
64382013-05-08 Kai Tietz <ktietz@redhat.com>
6439
6440 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
6441 (__deregister_frame_info): Likewise.
6442
701e2f0a
TS
64432013-05-06 Thomas Schwinge <thomas@codesourcery.com>
6444
e5123d08
TS
6445 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
6446 NaN's payload.
6447
701e2f0a
TS
6448 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
6449
b9a7eb5d
AM
64502013-04-25 Alan Modra <amodra@gmail.com>
6451
6452 * config.host: Match little-endian powerpc-linux.
6453
dfe192f5
YZ
64542013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
6455
6456 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
6457 as 'unsigned long long' instead of 'unsigned long'.
6458 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
6459 'signed long'.
6460
b6b9af2f
JB
64612013-04-10 Julian Brown <julian@codesourcery.com>
6462
6463 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
6464 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
6465 unsigned char/unsigned short.
6466 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
6467
ecabdd00
JDA
64682013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
6469
6470 PR other/55274
6471 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
6472
34652576
MI
64732013-04-04 Meador Inge <meadori@codesourcery.com>
6474
6475 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
6476 computing the location of the link register.
6477 (aeabi_uldivmod): Ditto.
6478
e9fd8c19
KT
64792013-03-27 Kai Tietz <ktietz@redhat.com>
6480
6481 * config.host: Add support for cygwin x64 target.
6482 * configure: Regenerated.
6483
a6406324
WL
64842013-03-26 Walter Lee <walt@tilera.com>
6485
6486 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
6487 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
6488
55446c7e
KT
64892013-03-25 Kai Tietz <ktietz@redhat.com>
6490
6491 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
6492
d2ae19d9
RM
64932013-03-20 Robert Mason <rbmj@verizon.net>
6494
6495 * config/vxlib-tls.c (__gthread_get_tsd_data,)
6496 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
6497 (__gthread_leave_tsd_dtor_context): Add prototypes.
6498 (tls_delete_hook): Update.
6499
22c4c869
CM
65002013-03-20 Catherine Moore <clm@codesourcery.com>
6501 Joseph Myers <joseph@codesourcery.com>
6502 Chao-ying Fu <fu@mips.com>
6503
6504 * config/mips/mips16.S: Don't build for microMIPS.
6505 * config/mips/linux-unwind.h: Handle microMIPS frame.
6506 * config/mips/crtn.S (fini, init): New labels.
6507
fbd28bc3
JJ
65082013-03-14 Jakub Jelinek <jakub@redhat.com>
6509
6510 PR tree-optimization/53265
6511 * unwind-dw2.c (execute_cfa_program): Avoid
6512 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
6513 on targets with DWARF_FRAME_REGISTERS < 32.
6514
decc676e
OE
65152013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
6516
6517 PR target/49880
6518 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
6519 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
6520
84ea618a
ST
65212013-03-07 Sriraman Tallam <tmsriram@google.com>
6522
6523 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
6524 sandybridge processors.
6525
8f6d1c86
OE
65262013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
6527
6528 PR target/56529
6529 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
6530 inclusion list.
6531
ecdbd01a 65322013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
409b1de4
EI
6533
6534 * config/microblaze/crti.S: Setup stack protection at entry
6535
0b4ce21b
GJL
65362013-03-04 Georg-Johann Lay <avr@gjlay.de>
6537
6538 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
6539 (__rotldi3): Shift bytewise if applicable.
6540
b7c3f1ca
JG
65412013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
6542
6543 * config/aarch64/sync-cache.c
6544 (__aarch64_sync_cache_range): Silence warnings.
6545
6d65e8f1
CM
65462013-02-25 Catherine Moore <clm@codesourcery.com>
6547
6548 Revert:
6549 2013-02-24 Catherine Moore <clm@codesourcery.com>
6550 Joseph Myers <joseph@codesourcery.com>
6551 Chao-ying Fu <fu@mips.com>
6552
6553 * config/mips/mips16.S: Don't build for microMIPS.
6554 * config/mips/linux-unwind.h: Handle microMIPS frame.
6555 * config/mips/crtn.S (fini, init): New labels.
6556
6941b508
CM
65572013-02-24 Catherine Moore <clm@codesourcery.com>
6558 Joseph Myers <joseph@codesourcery.com>
6559 Chao-ying Fu <fu@mips.com>
6560
6561 * config/mips/mips16.S: Don't build for microMIPS.
6562 * config/mips/linux-unwind.h: Handle microMIPS frame.
6563 * config/mips/crtn.S (fini, init): New labels.
6564
7c422dbb 65652012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
cc86234f 6566 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
7c422dbb
EI
6567 as dividend.
6568
110207ad
AM
65692013-02-16 Alan Modra <amodra@gmail.com>
6570
6571 PR target/55431
6572 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
6573 (ppc_fallback_frame_state): Always set up save locations for fp
6574 and altivec. Don't bother with non-callee-saved regs, r0-r13
6575 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
6576
e68a4ef6
GJL
65772013-02-12 Georg-Johann Lay <avr@gjlay.de>
6578
6579 PR target/54222
6580 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
6581 _ssmulHA, _ssmulSA.
6582 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
6583 _ssmulha3, _usmulusa3, _ssmulsa3.
6584 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
6585 (__muldi3): XCALL __muldi3_6 instead of rcall.
6586 (__umulsidi3, __mulsidi3): New functions.
6587 (do_prologue_saves, do_epilogue_restores): New .macros.
6588 (__divdi3_moddi3): Use them.
6589 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
6590 (__usmulusa3, __ssmulsa3): New functions.
6591
6c59ffd1
IS
65922013-02-11 Iain Sandoe <iain@codesourcery.com>
6593 Jack Howarth <howarth@bromo.med.uc.edu>
6594 Patrick Marlier <patrick.marlier@gmail.com>
6595
6596 PR libitm/55693
6597 * config/darwin-crt-tm.c: Remove dummy functions hack.
6598
85d768f3
GJL
65992013-02-08 Georg-Johann Lay <avr@gjlay.de>
6600
6601 PR target/54222
6602 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
6603 * config/avr/lib2-object.mk: New iterator to build objects from it.
6604 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
6605 lib2funcs.c.
6606 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
6607 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
6608 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
6609 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
6610 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
6611 * config/avr/lib1funcs-fixed.S: Implement them.
6612
5d5bf775
RS
66132013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
6614
6615 Update copyright years.
6616
99113dff
DE
66172013-02-01 David Edelsohn <dje.gcc@gmail.com>
6618
6619 PR target/54601
6620 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
6621 Add crtcxa to extra_parts.
6622 * config/rs6000/exit.h: New file.
6623 * config/rs6000/cxa_atexit.c: New file.
6624 * config/rs6000/cxa_finalize.c: New file.
6625 * config/rs6000/crtcxa.c: New file.
6626 * config/rs6000/t-aix-cxa: New file.
6627 * config/rs6000/libgcc-aix-cxa.ver: New file.
6628
dbdbd982
NC
66292013-01-31 Nick Clifton <nickc@redhat.com>
6630
6631 * config/v850/lib1funcs.S: Add support for e3v5 architecture
6632 variant.
6633
5893f158
GJL
66342013-01-29 Georg-Johann Lay <avr@gjlay.de>
6635
6636 PR target/54222
6637 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
6638 _mulQQ, _mulHQ, _mulHA, _mulSA,
6639 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
6640 _divQQ, _divHQ, _divHA, _divSA,
6641 _divUQQ, _divUHQ, _divUHA, _divUSA.
6642
ecdbd01a 66432013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
fbf0cf90 6644
dbdbd982 6645 * config.host(microblaze*-linux*): tmake_file: Remove
fbf0cf90
DH
6646 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
6647 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
6648 to exclude functions from being built with libgcc.c and use
6649 the microblaze assembly.
6650
ecdbd01a 66512013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
6f14eef2
EI
6652
6653 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
6654 extra_parts.
6655
922c57d1
YZ
66562013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
6657
6658 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
6659 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
6660 __UINTPTR_TYPE__; also cast 'base' to the same type before the
6661 alignment operation.
6662
e0f8b6a0
SN
66632013-01-15 Sofiane Naci <sofiane.naci@arm.com>
6664
6665 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
6666 loop start address for cache clearing.
6667
00892272
GJL
66682013-01-14 Georg-Johann Lay <avr@gjlay.de>
6669
6670 * config/avr/lib1funcs.S: Remove trailing blanks.
6671 * config/avr/lib1funcs-fixed.S: Ditto.
6672
e59ec5fd
GJL
66732013-01-14 Georg-Johann Lay <avr@gjlay.de>
6674
6675 * config/avr/avr-lib.h: Add GPL copyright notice.
6676
3ffc1958
GJL
66772013-01-14 Georg-Johann Lay <avr@gjlay.de>
6678
6679 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
6680 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
6681 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
6682 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
6683
25c210f9
MK
66842013-01-07 Mark Kettenis <kettenis@openbsd.org>
6685
6686 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
6687 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
2bc15360 6688
db59befb
NC
66892013-01-04 Nick Clifton <nickc@redhat.com>
6690
6691 * config/v850/lib1funcs.S: Only provide CALLT support functions if
6692 the CALLT instruction is supported.
6693
5aa12dbf
JW
66942012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
6695
6696 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
6697 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
6698
65f14117
JT
66992012-12-13 John Tytgat <John@bass-software.com>
6700
6701 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
6702 is 25.
6703
ee3ae4f7
JJ
67042012-12-12 Jakub Jelinek <jakub@redhat.com>
6705
6706 PR libgcc/55451
6707 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
6708 undefined signed overflows.
6709
2fcfba3d
UB
67102012-12-09 Uros Bizjak <ubizjak@gmail.com>
6711
6712 PR target/55344
6713 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
6714
4f2b3dc2
UB
67152012-12-06 Uros Bizjak <ubizjak@gmail.com>
6716
6717 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
6718 (FP_TRAPPING_EXCEPTIONS): Define.
6719 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
6720 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
6721
066161a2
RH
67222012-12-04 Richard Henderson <rth@redhat.com>
6723
6724 PR bootstrap/55571
6725 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
6726
7d296953 67272012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
25626181 6728
4f2b3dc2 6729 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
25626181
MS
6730 (FP_EX_SHIFT): Define.
6731 (FP_TRAPPING_EXCEPTIONS): Define.
6732
7d296953 67332012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
868395e8
MS
6734
6735 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
6736 (FP_ROUNDMODE): Use FP_RND_MASK.
6737 * config/aarch64/sfp-exceptions.c: New.
6738 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
6739 Use __sfp_handle_exceptions.
6740
5005fe22
RE
67412012-12-04 Richard Earnshaw <rearnsha@arm.com>
6742
6743 * config.host: (arm*-*-freebsd*): Remove.
6744 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
6745 (arm*-*-elf*): Remove.
6746 (arm*-*-wince-pe*): Remove.
6747 * arm/unwind-arm.c (struct fpa_reg): Delete.
6748 (struct fpa_regs): Delete.
6749 (phase1_vrs): Remove fpa element.
6750 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
6751 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
6752 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
6753 * ieee754-sf.S (floatundisf): Remove FPA support.
6754 (floatdisf): Likewise.
6755 * ieee75f-df.S (floatundidf): Likewise.
6756 (floatdidf): Likewise.
6757
e5a81c8e
KT
67582012-11-29 Kai Tietz <ktietz@redhat.com>
6759
6760 PR target/55445
6761 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
6762 * unwind-generic.h: Likewise.
6763 * unwind-seh.c: Likewise.
6764
f4919e4a
RH
67652012-11-28 Richard Henderson <rth@redhat.com>
6766
6767 PR libgcc/48076
6768 * emutls.c (__emutls_get_address): Avoid race condition between
6769 obj->loc.offset read and emutls_key initialization.
4f2b3dc2 6770
e13d9d5a
GJL
67712012-11-22 Georg-Johann Lay <avr@gjlay.de>
6772
6773 Adjust decimal point of signed accum mode to GCC default.
6774
6775 PR target/54222
6776 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
6777 _divqq_helper.
6778 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
6779 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
6780 (__mulha3, __mulsa3)
6781 (__divqq3, __divha3, __divsa3): Adjust to new position of
4f2b3dc2
UB
6782 decimal point of signed accum types.
6783
e13d9d5a
GJL
6784 (__mulusa3_round): New function.
6785 (__mulusa3): Use it.
6786 (__divqq_helper): New function.
6787 (__udivuqq3): Use it.
6788
1b845c6e
JJ
67892012-11-20 Jakub Jelinek <jakub@redhat.com>
6790
6791 PR bootstrap/55370
6792 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
6793
822a258a
TJ
67942012-11-18 Teresa Johnson <tejohnson@google.com>
6795
6796 PR bootstrap/55051
6797 * libgcov.c (gcov_exit): Remove merged program summary
6798 comparison unless !GCOV_LOCKED.
6799
7d296953 68002012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
54f4eaf0
MS
6801
6802 * soft-fp: Updated from glibc upstream.
6803
e808687a
ILT
68042012-11-06 Ian Lance Taylor <iant@google.com>
6805
6806 * generic-morestack.c (__generic_morestack): Align the returned
6807 stack pointer to a 32 byte boundary.
6808 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
6809 increment the return address until we have decided that we don't
6810 have a varargs function.
6811 (__morestack) [32-bit]: Align stack correctly when calling C
6812 functions.
6813 (__morestack) [64-bit]: Likewise.
6814
460277e0
TS
68152012-11-04 Thomas Schwinge <thomas@codesourcery.com>
6816
6817 * configure: Regenerate.
6818
73edb277
UB
68192012-11-02 Uros Bizjak <ubizjak@gmail.com>
6820
6821 PR target/55175
6822 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
6823 * config/i386/sfp-machine.h: Guard exception handling
6824 code with _SOFT_FLOAT.
6825 * config/i386/32/sfp-machine.h: Guard rounding handling
6826 code with _SOFT_FLOAT.
6827 * config/i386/64/sfp-machine.h: Ditto.
6828
c1d4fa04
JS
68292012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
6830
6831 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
6832 as extra_parts.
6833
eff6ca85
UB
68342012-10-26 Uros Bizjak <ubizjak@gmail.com>
6835
6836 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
6837 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
6838 when appropriate. Correct structure element types.
6839 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
6840 -minline-all-stringops from compile flags.
6841
7d296953 68422012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
43a8f1a1
RC
6843
6844 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
6845
7d296953 68462012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
76c78361 6847
eff6ca85 6848 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
76c78361 6849
6f288860
SH
68502012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
6851
6852 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
6853 tmake_file.
6854
1e3d5096
IB
68552012-10-23 Ian Bolton <ian.bolton@arm.com>
6856 Jim MacArthur <jim.macarthur@arm.com>
6857 Marcus Shawcroft <marcus.shawcroft@arm.com>
6858 Nigel Stephens <nigel.stephens@arm.com>
6859 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
6860 Richard Earnshaw <rearnsha@arm.com>
6861 Sofiane Naci <sofiane.naci@arm.com>
6862 Stephen Thomas <stephen.thomas@arm.com>
6863 Tejas Belagod <tejas.belagod@arm.com>
6864 Yufeng Zhang <yufeng.zhang@arm.com>
6865
6866 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
6867 * config/aarch64/crti.S: New file.
6868 * config/aarch64/crtn.S: New file.
6869 * config/aarch64/linux-unwind.h: New file.
6870 * config/aarch64/sfp-machine.h: New file.
6871 * config/aarch64/sync-cache.c: New file.
6872 * config/aarch64/t-aarch64: New file.
6873 * config/aarch64/t-softfp: New file.
6874
8a740f07
HPN
68752012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
6876
6877 * config/mmix/crti.S: Mark program and data addresses using PRELD.
6878 Remove typo'd and unnecessary alignment-LOC for .data. Remove
6879 no-longer-needed LDBU insns.
6880
7d296953 68812012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
153c8397
SH
6882
6883 * config.host
6884 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
6885 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
6886
595fefee
MGD
68872012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
6888
6889 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
6890
9945a876
MK
68912012-10-15 Matthias Klose <doko@ubuntu.com>
6892
6893 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
6894
1183dc2c
PC
68952012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
6896
6897 * configure: Regenerate.
6898 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
6899
945a9c1f
UB
69002012-10-10 Uros Bizjak <ubizjak@gmail.com>
6901
6902 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
6903 instructions for 64bit targets only.
6904
fb8bf47a
UB
69052012-10-10 Uros Bizjak <ubizjak@gmail.com>
6906
6907 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
6908 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
6909 * config/i386/32/sfp-machine.h: ... here.
6910 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
6911 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
6912 New defines.
6913
acb72498
MK
69142012-10-07 Matthias Klose <doko@ubuntu.com>
6915
6916 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
6917 as unused.
6918 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
6919
8eaee0f0
MK
69202012-10-06 Mark Kettenis <kettenis@openbsd.org>
6921
6922 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
6923 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
6924 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
6925 (ElfW): Likewise.
6926
5e3e4fe8
JW
69272012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
6928
6929 PR other/53889
6930 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
6931 Fix parameter names.
6932
86086376
OE
69332012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
6934
6935 PR target/33135
6936 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
6937 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
6938 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
6939
9597375a
OE
69402012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
6941
6942 PR target/50457
6943 * config/sh/linux-atomic.S: Delete.
6944 * config/sh/linux-atomic.c: New.
6945 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
6946 linux-atomic.c. Add cflags to disable warnings.
6947
1504e3e1
JW
69482012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
6949
6950 PR other/53889
6951 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
6952 function.
6953 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
6954 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
6955 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
6956 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
5e3e4fe8
JW
6957 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
6958 Likewise.
1504e3e1
JW
6959 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
6960 Likewise.
6961 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
6962 Likewise.
6963 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
6964 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
6965
17f293b0
MK
69662012-09-19 Mark Kettenis <kettenis@openbsd.org>
6967
9597375a
OE
6968 * config.host (hppa-*-openbsd*): New target.
6969 * config/pa/t-openbsd: New file.
17f293b0 6970
51526856
GJL
69712012-09-15 Georg-Johann Lay <avr@gjlay.de>
6972
6973 PR target/54222
6974 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
6975 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
6976 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
6977 (__divsa3): Use __negsi2 to negate r_quoL.
6978 * config/avr/lib1funcs.S (FALIAS): New macro.
6979 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
6980 (__negsi2): ...this new function.
6981 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
6982 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
6983 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
6984 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
6985 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
6986 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
6987
aadb5b43
OE
69882012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
6989
6990 PR target/54089
6991 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
6992 (lshrsi3): Reimplement as lshrsi3_r0.
6993
d5d66749
AS
69942012-09-10 Andreas Schwab <schwab@linux-m68k.org>
6995
6996 PR target/46191
6997 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
6998 of libgcc.a.
6999
c6c36e73
TJ
70002012-09-07 Teresa Johnson <tejohnson@google.com>
7001
9597375a 7002 PR gcov-profile/54487
c6c36e73 7003 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
9597375a 7004 differences.
c6c36e73 7005
b588ae30
GJL
70062012-09-05 Georg-Johann Lay <avr@gjlay.de>
7007
7008 PR target/54461
7009 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
7010 not configured --with-avrlibc=no.
7011 * config/avr/t-avrlibc: New file.
7012 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
7013 (DPBIT_FUNCS): Ditto.
7014 (TPBIT_FUNCS): Ditto.
7015
abd16fb1
TJ
70162012-09-04 Teresa Johnson <tejohnson@google.com>
7017
7018 * libgcov.c (struct gcov_summary_buffer): New structure.
7019 (gcov_histogram_insert): New function.
7020 (gcov_compute_histogram): Ditto.
7021 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
7022 histograms during summary merging.
7023
613061fd
MK
70242012-09-01 Mark Kettenis <kettenis@openbsd.org>
7025
7026 * config.host (x86_64-*-openbsd*): New target.
73edb277 7027
867a8345
CLT
70282012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
7029
7030 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
7031 attribute.
7032
4aeaaca3
GJL
70332012-08-24 Georg-Johann Lay <avr@gjlay.de>
7034
7035 PR target/54222
7036 * config/avr/t-avr (conv_X): Rename to func_X.
7037
e55e4056
GJL
70382012-08-24 Georg-Johann Lay <avr@gjlay.de>
7039
7040 PR target/54222
7041 * config/avr/lib1funcs-fixed.S: New file.
7042 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
7043 after they are used.
7044 (neg2, neg4): New macros.
7045 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
7046 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
7047 (__umulhisi3): Speed up MUL variant if there is enough flash.
7048 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
7049 avr-modes.def.
7050 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
7051 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
7052 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
7053 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
7054 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
7055 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
7056 (LIB2FUNCS_EXCLUDE): Add supported functions.
7057
a147b6d2
GJL
70582012-08-22 Georg-Johann Lay <avr@gjlay.de>
7059
7060 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
7061 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
7062 libgcc-s-objects.
7063 * fixed-obj.mk: Only expand dependency if $o is not in
7064 LIB2FUNCS_EXCLUDE.
7065
c637141a
L
70662012-08-22 H.J. Lu <hongjiu.lu@intel.com>
7067
7068 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
7069
130e00bd
JM
70702012-08-22 Joseph Myers <joseph@codesourcery.com>
7071
7072 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
7073 depend on --enable-shared.
7074 ($(lib1asmfuncs-o)): Use %.vis files independent of
7075 --enable-shared.
7076 * static-object.mk ($(base)$(objext), $(base).vis)
7077 ($(base)_s$(objext)): Use same rules for visibility handling as in
7078 shared-object.mk.
7079
4b1b3788
ILT
70802012-08-21 Ian Lance Taylor <iant@google.com>
7081
7082 * config/i386/morestack.S (__morestack_non_split): Increase amount
7083 of space allocated for non-split code stack.
7084
d2468141
JM
70852012-08-19 Joseph Myers <joseph@codesourcery.com>
7086
7087 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
7088 even if inhibit_libc.
7089
a508e1a8
JB
70902012-08-17 Julian Brown <julian@codesourcery.com>
7091
7092 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
7093 -fexceptions -fnon-call-exceptions if not defined.
7094 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
7095 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
7096
5615a07d
AS
70972012-08-17 Andreas Schwab <schwab@linux-m68k.org>
7098
7099 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
7100 type.
7101
138f5acd
DE
71022012-08-16 David Edelsohn <dje.gcc@gmail.com>
7103
7104 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
7105 rs6000/t-slibgcc-aix.
7106
18efc0dd
SB
71072012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
7108
7109 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
7110
6b39bc38
SB
71112012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
7112
7113 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
7114
cd25dea0
L
71152012-08-03 H.J. Lu <hongjiu.lu@intel.com>
7116
7117 PR driver/54171
7118 * Makefile.in (version): Replace top_srcdir with srcdir.
7119
a3dda30b
JY
71202012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
7121
7122 * Makefile.in (version): set to BASE-VER file from gcc directory.
7123
d04aacfc
NC
71242012-08-01 Nick Clifton <nickc@redhat.com>
7125
7126 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
7127 Implements __clrsb for an HImode argument.
7128
0d13c974
NC
71292012-07-31 Nick Clifton <nickc@redhat.com>
7130
7131 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
7132 Implements __clrsb for an HImode argument.
7133 * config/stormy16/clrsbhi2.c: New file:
7134 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
7135
efbb59b2
SB
71362012-07-22 Steven Bosscher <steven@gcc.gnu.org>
7137
7138 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
7139
bf1431e3
TG
71402012-07-19 Tristan Gingold <gingold@adacore.com>
7141 Richard Henderson <rth@redhat.com>
7142
7143 * unwind-seh.c: New file.
7144 * unwind-generic.h: Include windows.h for SEH.
7145 (_Unwind_Exception): Use 6 private fields for SEH.
7146 (_GCC_specific_handler): Declare.
7147 * unwind-c.c (__gcc_personality_seh0): New function.
7148 Adjust for SEH.
7149 * config/i386/libgcc-cygming.ver: New file.
7150 * config/i386/t-seh-eh: New file.
7151 * config.host (x86_64-*-mingw*): Default to seh.
7152
659140c8
SB
71532012-07-14 Steven Bosscher <steven@gcc.gnu.org>
7154
7155 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
7156
a20d08fd
UB
71572012-06-17 Uros Bizjak <ubizjak@gmail.com>
7158
7159 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
7160 __builtin_expect when checking for exceptions.
7161 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
7162
79261115
UB
71632012-06-13 Uros Bizjak <ubizjak@gmail.com>
7164
4a172156
UB
7165 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
7166 function declaration.
7167 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
7168 (FP_RND_MASK): New.
7169 * config/ia64/sfp-exceptions.c: New.
7170 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
79261115 7171
bb5c97d4
UB
71722012-06-13 Uros Bizjak <ubizjak@gmail.com>
7173
7174 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
7175 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
7176 * config/i386/64/sfp-machine: ... (delete here) ...
7177 * config/i386/sfp-machine.h: ... to here.
7178 (FP_EX_MASK): Remove.
7179 (FP_RND_MASK): New.
7180 (FP_INIT_ROUNDMODE): Declare asm as volatile.
7181
91fe5efb
ST
71822012-06-11 Sriraman Tallam <tmsriram@google.com>
7183
7184 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
7185 * config/i386/libgcc-sol2.ver: Ditto.
7186 * config/i386/libgcc-glibc.ver: Ditto.
7187
67a218c5
RM
71882012-06-11 Roland McGrath <mcgrathr@google.com>
7189
7190 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
7191 If __GLIBC__ is defined, refer to __pthread_key_create instead of
7192 pthread_cancel.
7193
492fbea1
UB
71942012-06-09 Uros Bizjak <ubizjak@gmail.com>
7195
7196 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
7197 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
7198 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
7199 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
7200 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
7201 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
7202 * config/i386/64/sfp-machine: ... (delete here) ...
7203 * config/i386/sfp-machine.h: ... to here.
7204 (FP_EX_MASK): New.
7205 (__sfp_handle_exceptions): New function declaration.
7206 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
7207 * config/i386/sfp-exceptions.c: New.
7208 * config/i386/t-softfp: New.
7209 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
7210 i386/t-softfp to tmake_file.
7211
7b4cf266
DM
72122012-06-03 David S. Miller <davem@davemloft.net>
7213
7214 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
7215 change.
7216
0de0d5c6
DM
72172012-05-31 David S. Miller <davem@davemloft.net>
7218
7219 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
7220 multiply and divide instructions on 32-bit when V9.
7221 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
7222
d8c9d391
JM
72232012-05-29 Joseph Myers <joseph@codesourcery.com>
7224
7225 * config/arm/ieee754-df.S: Fix typos.
7226 * config/arm/ieee754-sf.S: Fix typos.
7227 * config/c6x/libunwind.S: Fix typos.
7228 * config/epiphany/udivsi3-float.c: Fix typos.
7229 * config/microblaze/muldi3_hard.S: Fix typos.
7230 * config/picochip/adddi3.S: Fix typos.
7231 * config/picochip/ashlsi3.S: Fix typos.
7232 * config/picochip/ashrsi3.S: Fix typos.
7233 * config/picochip/clzsi2.S: Fix typos.
7234 * config/picochip/cmpsi2.S: Fix typos.
7235 * config/picochip/divmod15.S: Fix typos.
7236 * config/picochip/divmodhi4.S: Fix typos.
7237 * config/picochip/divmodsi4.S: Fix typos.
7238 * config/picochip/longjmp.S: Fix typos.
7239 * config/picochip/lshrsi3.S: Fix typos.
7240 * config/picochip/parityhi2.S: Fix typos.
7241 * config/picochip/popcounthi2.S: Fix typos.
7242 * config/picochip/setjmp.S: Fix typos.
7243 * config/picochip/subdi3.S: Fix typos.
7244 * config/picochip/ucmpsi2.S: Fix typos.
7245 * config/picochip/udivmodhi4.S: Fix typos.
7246 * config/picochip/udivmodsi4.S: Fix typos.
7247 * config/spu/divv2df3.c: Fix typos.
7248 * config/spu/mfc_multi_tag_release.c: Fix typos.
7249 * config/spu/mfc_tag_release.c: Fix typos.
7250 * configure.ac: Fix typos.
7251 * configure: Regenerate.
7252
31a18a7e
ILT
72532012-05-25 Ian Lance Taylor <iant@google.com>
7254
7255 * config/i386/morestack.S (__morestack_non_split): Check whether
7256 caller is varargs and needs %bp to hold the stack frame on return.
7257
c5768510
OH
72582012-05-25 Olivier Hainque <hainque@adacore.com>
7259
7260 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
7261 sequence in the non pic case on VxWorks.
7262
7c7c339b
OH
72632012-05-24 Olivier Hainque <hainque@adacore.com>
7264
73fb7630 7265 * Makefile.in: Move dependency on install-unwind_h from
7c7c339b
OH
7266 "install-leaf" to "install".
7267
fdc1b7d3
OH
72682012-05-24 Olivier Hainque <hainque@adacore.com>
7269
7270 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
7271 Use a separate command for stamp removals.
7272
07ba94b9
AP
72732012-05-21 Andrew Pinski <apinski@cavium.com>
7274
7275 PR bootstrap/53183
7276 * configure.ac: Define the default includes to being none.
7277 * configure: Regenerate.
7278
4677d2eb
OH
72792012-05-16 Olivier Hainque <hainque@adacore.com>
7280
7281 * Makefile.in (install-unwind_h): Rename into ...
7282 (install-unwind_h-forbuild): New target.
7283 (all): Use it instead of the former install-unwind_h.
7284 (install-unwind_h): Reinstate, copy to user install destination
7285 for include files, not to the internal gcc object directory one.
7286 (install-leaf): Depend on it.
7287
7d67c380
OH
72882012-05-15 Olivier Hainque <hainque@adacore.com>
7289
7290 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
7291 register numbers. LR_REGNO replaces R_LR.
7292 (ucontext_for): New, helper for ...
7293 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
7294 and 5.3 of ...
7295 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
7296
aca06c90
RO
72972012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7298
7299 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
7300 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
7301 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
7302 i386/t-cpuinfo ...
7303 (i[34567]86-*-*, x86_64-*-*): ... here.
7304
7305 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
7306 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
7307
7308 * config/i386/i386-cpuinfo.c: Rename to ...
7309 * config/i386/cpuinfo.c: ... this.
7310 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
7311
7312 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
7313 (libgcc_cv_init_priority): New test.
7314 * configure: Regenerate.
7315 * config.in: New file.
7316 * Makefile.in (clean): Rename config.h to auto-target.h.
7317 (config.h): Likewise.
7318 (stamp-h): Likewise.
7319
7320 * config/i386/cpuinfo.c (auto-target.h): Include.
7321 (CONSTRUCTOR_PRIORITY): Define.
7322 (__cpu_indicator_init): Use it.
7323
0d03ac1b
L
73242012-05-09 H.J. Lu <hongjiu.lu@intel.com>
7325
7326 * longlong.h: Use a URL instead of an FSF postal address.
7327 Replace spaces with tab.
7328
4a172156 73292012-05-08 Teresa Johnson <tejohnson@google.com>
4e8ee9cb
TJ
7330
7331 * libgcov.c (gcov_clear, __gcov_reset): New functions.
7332 (__gcov_dump): Ditto.
7333 (gcov_dump_complete): New global variable.
7334 (gcov_exit): Export hidden to enable use in L_gcov_dump.
7335 (__gcov_flush): Outline functionality now in gcov_clear.
7336 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
7337
e4bb767e
AJ
73382012-04-28 Aurelien Jarno <aurelien@aurel32.net>
7339
31a18a7e
ILT
7340 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
7341 (mips*-*-linux*): Include mips/t-tpbit when long double is
7342 16 bytes long.
e4bb767e 7343
5ddecff9
ST
73442012-04-25 Sriraman Tallam <tmsriram@google.com>
7345
7346 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
7347 (get_available_features): New argument. Check for AVX2.
7348 (__cpu_indicator_init): Modify call to get_available_features.
7349
b427dd7a
AM
73502012-04-25 Alan Modra <amodra@gmail.com>
7351
7352 * config/rs6000/crtsavevr.S: New file.
7353 * config/rs6000/crtrestvr.S: New file.
7354 * config/rs6000/t-savresfgpr: Build the above.
7355 * config/rs6000/t-netbsd: Likewise.
7356
ad491329
ST
73572012-04-24 Sriraman Tallam <tmsriram@google.com>
7358
7359 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
7360
792317cc
ST
73612012-04-24 Sriraman Tallam <tmsriram@google.com>
7362
7363 * libgcc/config/i386/i386-cpuinfo.c: New file.
7364 * libgcc/config/i386/t-cpuinfo: New file.
7365 * libgcc/config.host: Include t-cpuinfo.
7366 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
7367
e1be98a4
CF
73682012-04-24 Chao-ying Fu <fu@mips.com>
7369
7370 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
7371
1bde7dab
TS
73722012-04-20 Thomas Schwinge <thomas@codesourcery.com>
7373
7374 struct siginfo vs. siginfo_t
7375
7376 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
7377 siginfo_t instead of struct siginfo.
7378 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
7379 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
7380 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
7381 (ia64_handle_unwabi): Likewise.
7382 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
7383 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
7384 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
7385 (sh_fallback_frame_state): Likewise.
7386 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
7387 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
7388
24590f66
L
73892012-04-02 H.J. Lu <hongjiu.lu@intel.com>
7390
7391 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
7392 system call number.
7393
9a9dcce8
EB
73942012-03-31 Eric Botcazou <ebotcazou@adacore.com>
7395
7396 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
7397 if it hasn't been previously saved.
7398
6401aaf5
L
73992012-03-29 H.J. Lu <hongjiu.lu@intel.com>
7400
7401 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
7402 only for glibc.
7403
7fd6378e
GJL
74042012-03-28 Georg-Johann Lay <avr@gjlay.de>
7405
7406 PR target/52737
7407 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
7408 instead of __AVR_HAVE_8BIT_SP__.
7409
9e916de7
TG
74102012-03-26 Tristan Gingold <gingold@adacore.com>
7411
7412 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
7413 (unw_table_entry): Use unw_word instead of unsigned long.
7414 (_Unwind_FindTableEntry): Likewise.
7415 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
7416 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
7417 (_Unwind_FindTableEntry): Likewise.
7418 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
7419 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
7420 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
7421 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
7422 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
7423 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
7424 (uw_init_context_1, uw_install_context): Likewise.
7425 (unw_word): Move to unwind-ia64.h
7426
4b12e93d
TG
74272012-03-26 Tristan Gingold <gingold@adacore.com>
7428
7429 * config/vms/vms-ucrt0.c: Update copyright years.
7430 Add a sanity check.
7431 (___gcc_main_flags): Declare.
7432 (__main): Check flags to remap argv and exit code.
7433 * config.host (*-*-*vms*): Adjust extra_parts.
7434 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
7435 (crt0.o): Add.
7436
06ea7371
RE
74372012-03-22 Richard Earnshaw <rearnsha@arm.com>
7438
7439 * arm/lib1funcs.asm (ctzsi2): New function.
7440 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
7441 * arm/t-linux (LIB1ASMFUNCS): Likewise.
7442 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
7443 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
7444 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
7445 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
7446
d82ad50d
AT
74472012-03-21 Andreas Tobler <andreast@fgznet.ch>
7448
7449 * config.host: Add bits to support powerpc64-*-freebsd*.
7450 * config/rs6000/freebsd-unwind.h: New file.
7451 * config/rs6000/t-freebsd64: New file.
7452
b260a8c0
RG
74532012-03-20 Richard Guenther <rguenther@suse.de>
7454
7455 PR gcov-profile/52627
7456 * libgcov.c (init_mx): Fix mutex name.
7457
86286a8a
TG
74582012-03-16 Tristan Gingold <gingold@adacore.com>
7459
7460 * config/ia64/vms-unwind.h: Remove ulong (and replace
7461 it by unw_reg where used). Define unw_reg with __int64.
7462
7888f266
RO
74632012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7464
7465 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
7466 Solaris 8 handling.
7467 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
7468 Solaris 8 handling.
7469 (sparc_is_sighandler): Likewise.
7470
f155bc64
L
74712012-03-13 H.J. Lu <hongjiu.lu@intel.com>
7472
7473 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
7474 <= saved reg size.
7475
d47657bd
RO
74762012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7477
7478 * config/arm/crtn.S: Fix typo.
7479
5bef73a1
RG
74802012-03-13 Richard Guenther <rguenther@suse.de>
7481
7482 * libgcov.c: Remove stdio.h include and NULL un-define.
7483
9c4271f3
RG
74842012-03-13 Richard Guenther <rguenther@suse.de>
7485
7486 PR target/52569
7487 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
7488
c6d10e7c
RG
74892012-03-13 Richard Guenther <rguenther@suse.de>
7490
7491 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
7492
074a385f
RG
74932012-03-13 Richard Guenther <rguenther@suse.de>
7494
7495 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
7496 and __gthread_mutex_init_function definitions.
7497
c4bc5c25
RO
74982012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7499
7500 * config.host (mips*-*-openbsd*): Remove.
7501
5c30094f
RO
75022012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7503
7504 * config.host: Remove alpha*-dec-osf5.1* handling.
7505 * config/alpha/gthr-posix.c: Remove.
7506 * config/alpha/libgcc-osf5.ver: Remove.
7507 * config/alpha/osf5-unwind.h: Remove.
7508 * config/alpha/t-osf-pthread: Remove.
7509 * config/alpha/t-slibgcc-osf: Remove.
7510 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
7511 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
7512 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
7513 * mkmap-flat.awk: Remove osf_export handling.
7514
33e3e24d
RG
75152012-03-12 Richard Guenther <rguenther@suse.de>
7516
7517 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
7518 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
7519 (__gthread_mutex_init_function): New function.
7520 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
7521
7522 PR gcov/49484
7523 * libgcov.c: Include gthr.h.
7524 (__gcov_flush_mx): New global variable.
7525 (init_mx, init_mx_once): New functions.
7526 (__gcov_flush): Protect self with a mutex.
7527 (__gcov_fork): Re-initialize mutex after forking.
7528 * unwind-dw2-fde.c: Change condition under which to use
7529 __GTHREAD_MUTEX_INIT_FUNCTION.
7530
d8aba32a
TG
75312012-03-12 Tristan Gingold <gingold@adacore.com>
7532
7533 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
7534 * config/ia64/t-vms: Likewise.
7535
75ffafdc
MH
75362012-03-11 Michael Hope <michael.hope@linaro.org>
7537
4a172156
UB
7538 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
7539 for Thumb-2.
75ffafdc 7540
ef6c2c53
WL
75412012-03-07 Walter Lee <walt@tilera.com>
7542
7543 * config/tilepro/atomic.c: Rename "atomic_" prefix to
7544 "arch_atomic_".
7545 (atomic_xor): Rename and move definition to
7546 config/tilepro/atomic.h.
7547 (atomic_nand): Ditto.
7548 * config/tilepro/atomic.h: Rename "atomic_" prefix to
7549 "arch_atomic_".
7550 (arch_atomic_xor): Move from config/tilepro/atomic.c.
7551 (arch_atomic_nand): Ditto.
7552
4e30d980
GJL
75532012-03-07 Georg-Johann Lay <avr@gjlay.de>
7554
7555 PR target/52507
7556 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
7557
61108225
GJL
75582012-03-07 Georg-Johann Lay <avr@gjlay.de>
7559
7560 PR target/52505
7561 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
7562 from RAM.
7563
b30e10ab
GJL
75642012-03-07 Georg-Johann Lay <avr@gjlay.de>
7565
7566 PR target/52461
7567 PR target/52508
7568 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
7569 if RAMPZ affects reading from RAM.
7570 (__tablejump_elpm__): Ditto.
7571 (.xload): Ditto.
7572 (__movmemx_hi): Ditto.
7573 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
7574 (__do_global_dtors): Ditto.
7575 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
7576 (__movmemx_hi): Ditto.
7577
8993fde4
RH
75782012-03-05 Richard Henderson <rth@redhat.com>
7579
7580 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
7581 [ARM] (count_trailing_zeros): Use the builtin.
7582
b7633ee3
KT
75832012-03-01 Kai Tietz <ktietz@redhat.com>
7584
7585 * soft-fp: Imported from glibc upstream.
7586
fbd3340c
KT
75872012-02-28 Kai Tietz <ktietz@redhat.com>
7588
7589 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
7590 for mingw-targets as attribute gcc_struct.
7591
e9e053eb
ILT
75922012-02-28 Ian Lance Taylor <iant@google.com>
7593
7594 * generic-morestack.c (__splitstack_releasecontext): Correct call
7595 to __morestack_release_segments.
7596
d80c632e
ST
75972012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
7598
7599 PR target/52390
7600 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
7601 for __linux__ when removing signals from __morestack_fullmask.
7602
0253a8b1
GJL
76032012-02-23 Georg-Johann Lay <avr@gjlay.de>
7604
7605 PR target/52261
7606 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
7607
e10e461e
UW
76082012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7609
7610 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
7611 instead of HAVE_INITFINI_ARRAY.
7612 * config/ia64/crtend.S: Likewise.
7613
0c0c6398
KT
76142012-02-20 Kai Tietz <ktietz@redhat.com>
7615
d7470374
KT
7616 PR libstdc++/52300
7617 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
7618
0c0c6398
KT
7619 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
7620 to w32-unwind.h header.
7621
78c27266
RS
76222012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
7623
7624 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
7625 (mips*-*-linux*): Remove t-slibgcc-libgcc.
7626 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
7627 * config/mips/mips16.S (__mips16_rdhwr): Delete.
7628
5adeb246
RS
76292012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
7630
7631 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
7632
672ed313
IS
76332012-02-15 Iain Sandoe <iains@gcc.gnu.org>
7634
7635 PR libitm/52220
7636 * config/darwin-crt-tm.c: Correct typo.
e9e053eb 7637
e948a1fb
IS
76382012-02-15 Iain Sandoe <iains@gcc.gnu.org>
7639 Patrick Marlier <patrick.marlier@gmail.com>
7640
7641 PR libitm/52220
7642 * config/darwin-crt-tm.c: Generate dummy functions.
7643
6017aed3
IS
76442012-02-15 Iain Sandoe <iains@gcc.gnu.org>
7645 Patrick Marlier <patrick.marlier@gmail.com>
7646
7647 PR libitm/52042
7648 * config/darwin-crt-tm.c (getTMCloneTable): New function.
7649 (__doTMRegistrations): Call it.
e9e053eb 7650 (__doTMdeRegistrations): Likewise.
6017aed3 7651
2da8c1ad 76522012-01-15 Georg-Johann Lay <avr@gjlay.de>
7d296953
JJ
7653 Anatoly Sokolov <aesok@post.ru>
7654 Eric Weddington <eric.weddington@atmel.com>
2da8c1ad
GJL
7655
7656 PR target/52261
7657 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
7658 (__epilogue_restores__): Ditto.
7659
0f952eb4
EB
76602012-02-15 Eric Botcazou <ebotcazou@adacore.com>
7661
7662 PR target/51921
7663 PR target/52205
7664 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
7665 Solaris 11 and slightly reformat.
7666 (sparc_is_sighandler): Likewise.
7667
dd552284
WL
76682012-02-14 Walter Lee <walt@tilera.com>
7669
7670 * config.host: Handle tilegx and tilepro.
7671 * config/tilegx/sfp-machine.h: New file.
7672 * config/tilegx/sfp-machine32.h: New file.
7673 * config/tilegx/sfp-machine64.h: New file.
7674 * config/tilegx/t-crtstuff: New file.
7675 * config/tilegx/t-softfp: New file.
7676 * config/tilegx/t-tilegx: New file.
7677 * config/tilepro/atomic.c: New file.
7678 * config/tilepro/atomic.h: New file.
7679 * config/tilepro/linux-unwind.h: New file.
7680 * config/tilepro/sfp-machine.h: New file.
7681 * config/tilepro/softdivide.c: New file.
7682 * config/tilepro/softmpy.S: New file.
7683 * config/tilepro/t-crtstuff: New file.
7684 * config/tilepro/t-tilepro: New file.
7685
b59cbd50
JW
76862012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
7687
7688 PR libstdc++/51296
7689 PR libstdc++/51906
7690 * gthr-posix.h: Allow static initializer macros to be disabled.
7691 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
7692
6caf807f
CLT
76932012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
7694
7695 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
7696 Add t-slibgcc-libgcc to tmake_file.
7697 * config/mips/libgcc-mips16.ver: Revert previous patch.
7698 * config/mips/mips16.S (__mips16_rdhwr): Hide.
7699
7d296953
JJ
77002012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
7701 Jayant R Sonar <jayant.sonar@kpitcummins.com>
b25364a0
S
7702
7703 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
7704 * config/cr16/crti.S: New file.
7705 * config/cr16/crtlibid.S: New file.
7706 * config/cr16/crtn.S: New file.
7707 * config/cr16/lib1funcs.S: New file.
7708 * config/cr16/t-cr16: New file.
7709 * config/cr16/t-crtlibid: New file.
7710 * config/cr16/unwind-dw2.h: New file.
7711 * config/cr16/unwind-cr16.c: New file.
7712 * config/cr16/divmodhi3.c: New file.
7713
8ef03aa7
AM
77142012-01-25 Alan Modra <amodra@gmail.com>
7715
7716 * config/rs6000/t-linux64: Delete. Move..
7717 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
7718 * config/rs6000/t-linux: ..and libgcc flags to here.
7719
daecebc8
DR
77202012-01-22 Douglas B Rupp <rupp@gnat.com>
7721
7722 * config.host (i[34567]86-*-interix3*):
8ef03aa7 7723 Change triplet to i[34567]86-*-interix[3-9]*.
daecebc8
DR
7724 * configure: Regenerate.
7725
ddaf8125
RS
77262012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
7727 Richard Sandiford <rdsandiford@googlemail.com>
7728
7729 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
7730 * config/mips/mips16.S (__mips16_rdhwr): New function.
7731 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
7732
2cd8b32c
NS
77332012-01-11 Nathan Sidwell <nathan@acm.org>
7734
7735 * libgcov.c (__gcov_init): Ignore objects with no functions.
7736
cba300dd
GJL
77372012-01-10 Georg-Johann Lay <avr@gjlay.de>
7738
7739 PR target/49868
7740 Extend __pgmx semantics to linearize memory.
7741 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
7742 * config/avr/lib1funcs.S (__xload_1): New function.
7743 (__movmemx_qi, __movmemx_hi): New functions.
7744 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
7745 semantics.
9ffaf4bc 7746
3d137660
EB
77472012-01-09 Eric Botcazou <ebotcazou@adacore.com>
7748
7749 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
7750 purported sigacthandler address isn't null before dereferencing it.
7751 (sparc_is_sighandler): Likewise.
7752
bf4db96c
EB
77532012-01-09 Eric Botcazou <ebotcazou@adacore.com>
7754
7755 PR ada/41929
7756 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
7757 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
7758 (sparc_is_sighandler): Likewise.
7759 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
7760
1ab3568b
TG
77612012-01-06 Tristan Gingold <gingold@adacore.com>
7762
7763 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
7764 compatibility thunks...
7765 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
7766 (crtbeginS.o, crtendS.o): ... and these to ...
7767 * config/ia64/t-ia64-elf: ... this new file.
7768 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
7769 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
7770
925b0ed8
AK
77712012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7772
7773 * configure: Regenerate.
7774 * config/s390/t-crtstuff: Remove -fPIC.
7775
a99ad737
JW
77762012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
7777
7778 PR bootstrap/51006
7779 * enable-execute-stack-mprotect.c (getpagesize): Do not define
7780 for NetBSD.
7781
884f56d1
GJL
77822012-01-02 Georg-Johann Lay <avr@gjlay.de>
7783
7784 PR target/51345
7785 * config/avr/lib1funcs.S: Remove FIXME comments.
7786 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
7787
8c57e547
GJL
77882012-01-02 Georg-Johann Lay <avr@gjlay.de>
7789
7790 Implement light-weight DImode support.
7791 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
7792 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
7793 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
7794 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
7795
04dbc287
NS
77962011-12-30 Nathan Sidwell <nathan@acm.org>
7797
7798 * libgcov.c (gcov_crc32): Remove global var.
7799 (free_fn_data): New function.
7800 (buffer_fn_data): Pass in filename, more robust error recovery.
7801 (crc32_unsigned): New function.
7802 (gcov_exit): More robust detection of new program. More robust
7803 error recovery.
7804 (__gcov_init): Do not update program's crc here.
7805
8e1d97d4
TG
78062011-12-21 Tristan Gingold <gingold@adacore.com>
7807
7808 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
7809
9ffaf4bc
ILT
78102011-12-21 Ian Lance Taylor <iant@google.com>
7811
7812 * config/i386/morestack.S: Simplify CFI opcodes throughout.
7813
a0c8d0c1
ILT
78142011-12-20 Ian Lance Taylor <iant@google.com>
7815
7816 * config/i386/morestack.S (__morestack_non_split): If there is
7817 enough stack space already, don't split. Ask for more stack space
7818 than we required.
7819
69048898
SDJ
78202011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
7821
7822 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
7823 `sys/sdt.h'.
7824 (_Unwind_DebugHook): New function.
7825 (uw_restore_core_regs): New define.
7826 (unwind_phase2): Use uw_restore_core_regs instead of
7827 restore_core_regs.
7828 (unwind_phase2_forced): Likewise.
7829 (__gnu_Unwind_Resume): Likewise.
7830
1bb4b6a3
UB
78312011-12-20 Uros Bizjak <ubizjak@gmail.com>
7832
7833 * config/alpha/linux-unwind.h: Update copyright years.
7834 (MD_FROB_UPDATE_CONTEXT): New define.
7835 (alpha_frob_update_context): New function.
7836
eb028768
RS
78372011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
7838
7839 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
7840 tmake_file rather replacing it.
7841
6a2045bf
IS
78422011-12-15 Iain Sandoe <iains@gcc.gnu.org>
7843
7844 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
1bb4b6a3 7845 function is not used for PPC64.
6a2045bf
IS
7846 (save_world): Amend comments. Update the VRsave mask to reflect the
7847 saved regs.
7848 (rest_world): Update comments, do not clobber r10, do not use r8.
7849 (eh_rest_world_r10): Amend comments, do not use r8.
7850 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
7851 no longer used, move restore of CR and target address to the end of
7852 the routine.
7853
a13780a6
L
78542011-12-14 H.J. Lu <hongjiu.lu@intel.com>
7855
7856 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
7857 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
7858
d7288dfb
GJL
78592011-12-14 Georg-Johann Lay <avr@gjlay.de>
7860
7861 PR target/49313
7862 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
7863 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
7864
8d2c862d
EB
78652011-12-11 Eric Botcazou <ebotcazou@adacore.com>
7866
7867 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
7868
3447cae6
GJL
78692011-12-09 Georg-Johann Lay <avr@gjlay.de>
7870
7871 PR target/49313
7872 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
7873 * config/avr/lib1funcs.S (__muldi3): New function.
7874
806fc6aa
AP
78752011-12-06 Andrew Pinski <apinski@cavium.com>
7876
7877 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
7878 size of func_ptr.
7879 (__frame_dummy_init_array_entry): Likewise.
7880
28c5e6b5
GJL
78812011-12-06 Georg-Johann Lay <avr@gjlay.de>
7882
7883 Forward-port from gcc-4_6-branch r181936 2011-12-02.
7884
7885 PR target/51345
7886 PR target/51002
7887 * config/avr/lib1funcs.S (__prologue_saves__,
7888 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
7889 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
7890
8f90394a
IS
78912011-12-04 Iain Sandoe <iains@gcc.gnu.org>
7892
7893 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
7894
06dd33ac
JDA
78952011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
7896
7897 PR other/51272
7898 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
7899 (_ITM_deregisterTMCloneTable): Likewise.
7900 (__register_frame_info): Fix unused warning.
7901 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
7902 pthread_default_stacksize_np): Likewise.
7903 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
1bb4b6a3 7904
85b8555e
DD
79052011-11-29 DJ Delorie <dj@redhat.com>
7906
7907 * config.host (rl78-*-elf): New case.
7908 * config/rl78: New directory for the Renesas RL78.
7909
4d5ae4ea
BS
79102011-11-29 Bernd Schmidt <bernds@codesourcery.com>
7911
7912 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
7913 formatting.
7914
f9c55897
RO
79152011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7916
7917 PR other/51022
7918 * config/rs6000/t-savresfgpr: New file.
7919 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
7920 $(srcdir)/config/rs6000/eabi.S.
7921 * config/rs6000/t-ppccomm-ldbl: Remove.
7922 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
7923 tmake_file.
7924 (powerpc-*-eabispe*): Likewise.
7925 (powerpc-*-eabi*): Likewise.
7926 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
7927 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
7928 to tmake_file, remove rs6000/t-ppccomm-ldbl.
7929 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
7930 tmake_file.
7931 (powerpc-*-eabisim*): Likewise.
7932 (powerpc-*-elf*): Likewise.
7933 (powerpc-*-eabialtivec*): Likewise.
7934 (powerpc-xilinx-eabi*): Likewise.
7935 (powerpc-*-rtems*): Likewise.
7936 (powerpcle-*-elf*): Likewise.
7937 (powerpcle-*-eabisim*): Likewise.
7938 (powerpcle-*-eabi*): Likewise.
7939
a01207c4
ILT
79402011-11-27 Ian Lance Taylor <iant@google.com>
7941
7942 * generic-morestack.c (__splitstack_find): Check for NULL old
7943 stack value.
7944 (__splitstack_resetcontext): New function.
7945 (__splitstack_releasecontext): New function.
7946 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
7947
2b0b8ab2
IS
79482011-11-27 Iain Sandoe <iains@gcc.gnu.org>
7949
7950 * config/darwin-crt-tm.c: Correct comments, use correct licence.
7951
c1d8101c
IS
79522011-11-27 Iain Sandoe <iains@gcc.gnu.org>
7953
7954 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
7955
8b281334
RH
79562011-11-26 Richard Henderson <rth@redhat.com>
7957
7958 * config/m68k/linux-atomic.c: New file.
7959 * config/m68k/t-linux: New file.
7960 * config.host (m68k-uclinux, m68k-linux): Use it.
7961
7546aa9d
RH
79622011-11-26 Richard Henderson <rth@redhat.com>
7963
7964 * crtstuff.c (__TMC_LIST__): Mark used not unused.
7965 (__TMC_END__): Only declare if hidden is available; in the definition,
7966 if hidden is unavailable add a null record.
7967 (deregister_tm_clones, register_tm_clones): New.
7968 (__do_global_dtors_aux, frame_dummy): Use them.
7969 (__do_global_dtors, __do_global_ctors_1): Likewise.
7970
e2362f5d
IS
79712011-11-22 Iain Sandoe <iains@gcc.gnu.org>
7972
7973 * config/darwin-crt-tm.c: New file.
7974 * config.host (darwin): Build crttms.o crttme.o to provide
7975 startup and shutdown for tm clones.
7976 * config/t-darwin (crttms.o): New build rule.
7977 (crttme.o): Likewise.
7978
6685dd96
HPN
79792011-11-21 Hans-Peter Nilsson <hp@axis.com>
7980
7981 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
7982 et al.
7983
b0dc7e4c
RH
79842011-11-21 Richard Henderson <rth@redhat.com>
7985
7986 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
7987 (__TMC_LIST__, __TMC_END__): New.
7988 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
7989 (__do_global_dtors): Likewise.
7990 (frame_dummy): Call _ITM_registerTMCloneTable.
7991 (__do_global_ctors_1): Likewise.
7992
d4b4b542
RO
79932011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7994
7995 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
7996 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
7997 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
7998 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
7999 * config/i386/t-darwin64: Remove.
8000 * config/sh/t-netbsd (LIB2ADD): Remove.
8001
989bdb74
GJL
80022011-11-21 Georg-Johann Lay <avr@gjlay.de>
8003
8004 PR target/49313
8005 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
8006 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
8007 * config/avr/lib1funcs.S (wmov): New assembler macro.
8008 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
8009 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
8010 (__udivmod64): New function.
8011 (__negdi2): New function.
8012
515a0cfc
GP
80132011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
8014
8015 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
8016 *-*-freebsd*aout*): Remove.
8017
0115d17f
HPN
80182011-11-20 Hans-Peter Nilsson <hp@axis.com>
8019
8020 * static-object.mk (c_flags-$o): Save c_flags.
8021 ($(base)$(objext)): Use it.
8022
93aeb62b
SE
80232011-11-18 Steve Ellcey <sje@cup.hp.com>
8024
8025 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
8026
7bc6df2c
GJL
80272011-11-18 Georg-Johann Lay <avr@gjlay.de>
8028
8029 PR target/49868
8030 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
8031 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
8032 New functions.
8033
425d737b
MGD
80342011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
8035
8036 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
8037 functions.
1bb4b6a3 8038 (aeabi_uidivmod): Likewise.
425d737b
MGD
8039 (umodsi3): Likewise.
8040 (divsi3): Likewise.
8041 (aeabi_idivmod): Likewise.
8042 (modsi3): Likewise.
8043
f2a176dc
TG
80442011-11-16 Tristan Gingold <gingold@adacore.com>
8045
8046 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
8047
7c209481
GJL
80482011-11-15 Georg-Johann Lay <avr@gjlay.de>
8049
8050 PR target/49868
8051 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
8052 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
8053
9dfd5832
JDA
80542011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
8055
8056 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
8057 tmake_file list.
8058 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
8059 * config/pa/t-stublib64: Delete.
8060
f77dca5d
RH
80612011-11-12 Richard Henderson <rth@redhat.com>
8062
8063 * config/rs6000/linux-unwind.h (frob_update_context): Properly
8064 cast the pointer argument to _Unwind_SetGRPtr.
8065
902828f0
RO
80662011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8067
8068 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
8069
e14304ef
ILT
80702011-11-09 Ian Lance Taylor <iant@google.com>
8071
8072 * generic-morestack.c: Include <string.h>.
8073 (uintptr_type): Define.
8074 (struct initial_sp): Add dont_block_signals field. Reduce size of
8075 extra array by 1.
8076 (allocate_segment): Set prev field to NULL. Don't set
8077 __morestack_current_segment or __morestack_segments.
8078 (__generic_morestack): Update current->prev and *pp after calling
8079 allocate_segment.
8080 (__morestack_block_signals): Don't do anything if
8081 dont_block_signals is set.
8082 (__morestack_unblock_signals): Likewise.
8083 (__generic_findstack): Check for initial_sp == NULL. Add casts to
8084 uintptr_type.
8085 (__splitstack_block_signals): New function.
8086 (enum __splitstack_content_offsets): Define.
8087 (__splitstack_getcontext, __splitstack_setcontext): New functions.
8088 (__splitstack_makecontext): New function.
8089 (__splitstack_block_signals_context): New function.
8090 (__splitstack_find_context): New function.
8091 * config/i386/morestack.S (__morestack_get_guard): New function.
8092 (__morestack_set_guard, __morestack_make_guard): New functions.
8093 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
8094
e3d871e4
RO
80952011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8096
8097 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
8098 (i[34567]86-*-mingw*): ... here.
8099 (x86_64-*-mingw*): ... here.
8100
e55cef40
RO
81012011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8102
8103 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
8104
5366b186
NS
81052011-11-07 Nathan Sidwell <nathan@acm.org>
8106
8107 * libgcov.c (struct gcov_fn_buffer): New struct.
8108 (buffer_fn_data): New helper.
8109 (gcov_exit): Rework for new gcov data structures.
8110
74155a6f
GJL
81112011-11-07 Georg-Johann Lay <avr@gjlay.de>
8112
8113 PR target/49313
8114 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
8115
200feb07
RO
81162011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8117
8118 * config.host (tmake_file): Correct comment.
8119 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
8120 t-libgcc-pic.
8121 (bfin*-uclinux*): Likewise.
8122 (bfin*-linux-uclibc*): Likewise.
8123 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
8124
8125 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
8126 assigning.
8127 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
8128 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
8129 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
8130 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
8131 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
8132 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
8133 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
8134 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
8135 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
8136 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
8137 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
8138 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
8139 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
8140
8141 * config/bfin/t-elf: Remove.
8142 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
8143
c9cd1a07
RO
81442011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8145
8146 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
8147 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
8148 (lm32-*-elf*, lm32-*-rtems*): Split into ...
8149 (lm32-*-elf*): ... this.
8150 (lm32-*-rtems*): ... and this.
8151 Add to tmake_file.
8152 (m32r-*-rtems*): Add to tmake_file.
8153 (moxie-*-rtems*): Likewise.
8154 (sparc-*-rtems*): Likewise.
8155 Remove t-rtems from tmake_file.
8156 (sparc64-*-rtems*): Likewise.
8157 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
8158 instead.
8159
9fbcc75d
RO
81602011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8161
8162 PR bootstrap/50982
8163 * config/gthr-posix.h: Move ...
8164 * gthr-posix.h: ... here.
8165 * config/gthr-lynx.h: Reflect this.
8166 * config/gthr-vxworks.h: Likewise.
8167 * config/rs6000/gthr-aix.h: Likewise.
8168 * configure.ac (target_thread_file): Likewise.
8169 * configure: Regenerate.
8170
76644b68
SH
81712011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
8172
8173 * config.host (arm*-*-rtemseabi*): New target.
8174
5e490f2a
JDA
81752011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
8176
8177 PR other/50991
8178 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
8179 extra-parts.
8180
feeeff5c
JR
81812011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
8182
8183 * config.host (epiphany-*-elf*): New configuration.
8184 * config/epiphany: New Directory.
8185
d618bb2c
RC
81862011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
8187
8188 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
8189 * config/avr/t-rtems: New.
8190 Filter out _exit from LIB1ASMFUNCS.
8191
1bb6f778
DM
81922011-11-04 David S. Miller <davem@davemloft.net>
8193
8194 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
8195 * configure: Rebuild.
8196
9a7f7422
AK
81972011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8198
8199 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
8200 variable.
8201
e4fe948a
GJL
82022011-11-04 Georg-Johann Lay <avr@gjlay.de>
8203
8204 PR target/50931
8205 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
8206 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
8207
7084e037
JS
82082011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
8209
8210 PR target/50989
8211 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
8212
1a032034
RO
82132011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8214
8215 * config/c6x/t-elf (LIB2ADDEH): Set.
8216 * config/c6x/t-c6x-elf: Remove.
8217
d385f772
RO
82182011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8219
8220 * config/i386/sol2-ci.S: Rename to ...
8221 * config/i386/crti.S: ... this.
8222 * config/i386/sol2-cn.S: Rename to ...
8223 * config/i386/crtn.S: ... this.
8224 * config/sparc/sol2-ci.S: Rename to ...
8225 * config/sparc/crti.S: ... this.
8226 * config/sparc/sol2-cn.S: Rename to ...
8227 * config/sparc/crtn.S: ... this.
8228 * config/t-sol2 (CUSTOM_CRTIN): Remove.
8229 (crti.o, crtn.o): Remove.
8230
1ba878a9
TG
82312011-11-04 Tristan Gingold <gingold@adacore.com>
8232
8233 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
8234
02750c15
KK
82352011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
8236
8237 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
8238
bf86b067
HPN
82392011-11-03 Hans-Peter Nilsson <hp@axis.com>
8240
8241 * config.host (crisv32-*-none, cris-*-none): Remove.
8242 (crisv32-*-elf): Append to tmake_file, don't just set it.
8243 (cris-*-elf): Add missing t-fdpbit to tmake_file.
8244
d0bc53bd
RO
82452011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8246
8247 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
8248 (ecrtn$(objext)): Likewise.
8249 (ncrti$(objext)): Likewise.
8250 (ncrtn$(objext)): Likewise.
8251
036da830
AS
82522011-11-03 Andreas Schwab <schwab@redhat.com>
8253
8254 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
8255
d2a7d041
DM
82562011-11-02 David S. Miller <davem@davemloft.net>
8257
8258 * configure.ac: Set host_address on sparc too.
8259 * configure: Regenerate.
8260 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
8261 based upon host_address.
8262 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
8263
af8ed618
JM
82642011-11-02 Jason Merrill <jason@redhat.com>
8265
8266 * config/rs6000/t-ppccomm: Add missing \.
8267
5d1c8e77
RO
82682011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8269
8270 * gthr-single.h, gthr.h: New files.
8271 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
8272 config/gthr-vxworks.h, config/i386/gthr-win32.h,
8273 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
8274 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
8275 * config/i386/gthr-win32.c: Include "gthr-win32.h".
8276 * configure.ac (thread_header): New variable.
8277 Set it depending on target_thread_file.
8278 (gthr-default.h): Link from $thread_header.
8279 * configure: Regenerate.
8280 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
8281
852b75ed
RO
82822011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8283
8284 * configure.ac (tm_file_): New variable.
8285 Determine from tm_file.
8286 (tm_file, tm_defines): Substitute.
8287 * configure: Regenerate.
8288 * mkheader.sh: New file.
8289 * Makefile.in (clean): Remove libgcc_tm.h.
8290 ($(objects)): Depend on libgcc_tm.h.
8291 (libgcc_tm_defines, libgcc_tm_file): New variables.
8292 (libgcc_tm.h, libgcc_tm.stamp): New targets.
8293 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
8294 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
8295 ($(extra-parts)): Depend on libgcc_tm.h.
8296 * config.host (tm_defines, tm_file): New variable.
8297 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
8298 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
8299 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
8300 (avr-*-rtems*): Likewise.
8301 (avr-*-*): Likewise.
8302 (frv-*-elf): Likewise.
8303 (frv-*-*linux*): Likewise.
8304 (h8300-*-rtems*): Likewise.
8305 (h8300-*-elf*): Likewise.
8306 (i[34567]86-*-darwin*): Likewise.
8307 (x86_64-*-darwin*): Likewise.
8308 (rx-*-elf): Likewise.
8309 (tic6x-*-uclinux): Likewise.
8310 (tic6x-*-elf): Likewise.
8311 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
8312 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
8313 * config/i386/cygming-crtbegin.c: Likewise.
8314 * config/i386/cygming-crtend.c: Likewise.
8315 * config/ia64/fde-vms.c: Likewise.
8316 * config/ia64/unwind-ia64.c: Likewise.
8317 * config/libbid/bid_gcc_intrinsics.h: Likewise.
8318 * config/rs6000/darwin-fallback.c: Likewise.
8319 * config/stormy16/lib2funcs.c: Likewise.
8320 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
8321 * crtstuff.c: Likewise.
8322 * dfp-bit.h: Likewise.
8323 * emutls.c: Likewise.
8324 * fixed-bit.c: Likewise.
8325 * fp-bit.c: Likewise.
8326 * generic-morestack-thread.c: Likewise.
8327 * generic-morestack.c: Likewise.
8328 * libgcc2.c: Likewise.
8329 * libgcov.c: Likewise.
8330 * unwind-dw2-fde-dip.c: Likewise.
8331 * unwind-dw2-fde.c: Likewise.
8332 * unwind-dw2.c: Likewise.
8333 * unwind-sjlj.c: Likewise.
8334
f9989b51
RO
83352011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8336
8337 * configure.ac: Include ../config/picflag.m4.
8338 (GCC_PICFLAG): Call it.
8339 Substitute.
8340 * configure: Regenerate.
8341 * Makefile.in (gcc_srcdir): Remove.
8342 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
8343 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
8344 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
8345 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
8346 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
8347 Use $<.
8348 Remove comment.
8349 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
8350 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
8351 to refer to libgcc2.c.
8352 Use $<.
8353 * config/darwin-64.c: New file.
8354 * config/darwin-crt3.c: Remove comment.
8355 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
8356 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
8357 config/udivmodsi4.c: New files.
8358 * config/memcmp.c, config/memcpy.c, config/memmove.c,
8359 config/memset.c: New files.
8360 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
8361 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
8362 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
8363 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
8364 * config/t-openbsd-thread: New file.
8365 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
8366 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
8367 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
8368 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
8369 qrnnd.S.
8370 Adapt filename.
8371 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
8372 to refer to gthr-posix.c.
8373 * config/alpha/t-vms (LIB2ADD): Set.
8374 * config/alpha/vms-gcc_shell_handler.c: New file.
8375 * config/arm/bpabi.c, config/arm/fp16.c,
8376 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
8377 config/arm/unaligned-funcs.c: New files.
8378 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
8379 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
8380 * config/arm/t-linux: Likewise.
8381 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
8382 * config/arm/t-netbsd: New file.
8383 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
8384 * config/arm/t-symbian (LIB2ADD_ST): Set.
8385 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
8386 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8387 * config/bfin/t-elf: New file.
8388 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
8389 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
8390 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
8391 config/c6x/ltf.c: New files.
8392 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
8393 (HOST_LIBGCC2_CFLAGS): Set.
8394 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
8395 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8396 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
8397 New files.
8398 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
8399 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
8400 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
8401 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
8402 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
8403 files.
8404 * config/frv/t-frv (LIB2ADD): Set.
8405 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8406 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
8407 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
8408 config/h8300/popcounthi2.c: New files.
8409 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
8410 * config/i386/gthr-win32.c: New file.
8411 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
8412 * config/i386/t-cygwin: Likewise.
8413 * config/i386/t-darwin, config/i386/t-darwin64,
8414 config/i386/t-gthr-win32, config/i386/t-interix: New files.
8415 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
8416 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8417 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8418 * config/ia64/quadlib.c: New file.
8419 * config/ia64/t-hpux (LIB2ADD): Set.
8420 * config/ia64/t-ia64: Add comment.
8421 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
8422 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8423 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
8424 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
8425 * config/m32c/t-m32c (LIB2ADD): Set.
8426 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
8427 * config/m32r/t-m32r: Likewise.
8428 * config/m68k/fpgnulib.c: New file.
8429 * config/m68k/t-floatlib (LIB2ADD): Set.
8430 (xfgnulib.c): New target.
8431 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
8432 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
8433 * config/mep/t-mep (LIB2ADD): Set.
8434 * config/microblaze/divsi3.asm: Rename to divsi3.S.
8435 * config/microblaze/moddi3.asm: Rename to moddi3.S.
8436 * config/microblaze/modsi3.asm: Rename to modsi3.S.
8437 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
8438 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
8439 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
8440 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
8441 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
8442 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
8443 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
8444 New files.
8445 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
8446 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
8447 * config/pa/fptr.c, config/pa/lib2funcs.S,
8448 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
8449 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
8450 (LIB2ADD, LIB2ADD_ST): Set.
8451 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
8452 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
8453 Set.
8454 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
8455 * config/pdp11/t-pdp11: New file.
8456 * config/picochip/libgccExtras/adddi3.S,
8457 config/picochip/libgccExtras/ashlsi3.S,
8458 config/picochip/libgccExtras/ashrsi3.S,
8459 config/picochip/libgccExtras/clzsi2.S,
8460 config/picochip/libgccExtras/cmpsi2.S,
8461 config/picochip/libgccExtras/divmod15.S,
8462 config/picochip/libgccExtras/divmodhi4.S,
8463 config/picochip/libgccExtras/divmodsi4.S,
8464 config/picochip/libgccExtras/lshrsi3.S,
8465 config/picochip/libgccExtras/parityhi2.S,
8466 config/picochip/libgccExtras/popcounthi2.S,
8467 config/picochip/libgccExtras/subdi3.S,
8468 config/picochip/libgccExtras/ucmpsi2.S,
8469 config/picochip/libgccExtras/udivmodhi4.S,
8470 config/picochip/libgccExtras/udivmodsi4.S: New files.
8471 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
8472 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
8473 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
8474 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
8475 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
8476 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
8477 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
8478 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
8479 files.
8480 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
8481 (HOST_LIBGCC2_CFLAGS): Set.
8482 * config/rs6000/t-darwin64: New file.
8483 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
8484 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
8485 * config/rs6000/t-ppccomm (LIB2ADD): Add
8486 $(srcdir)/config/rs6000/tramp.S.
8487 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
8488 Add $(srcdir)/config/rs6000/eabi.S.
8489 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
8490 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
8491 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
8492 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
8493 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
8494 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
8495 * config/rs6000/tramp.S: New file.
8496 * config/s390/t-tpf: Remove.
8497 * config/sh/linux-atomic.S: New file.
8498 * config/sh/t-linux (LIB2ADD): Set.
8499 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
8500 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
8501 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
8502 to unwind-dw2.c.
8503 (HOST_LIBGCC2_CFLAGS): Set.
8504 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8505 * config/spu/divmodti4.c, config/spu/divv2df3.c,
8506 config/spu/float_disf.c, config/spu/float_unsdidf.c,
8507 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
8508 config/spu/mfc_multi_tag_release.c,
8509 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
8510 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
8511 config/spu/multi3.c: New files.
8512 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
8513 (HOST_LIBGCC2_CFLAGS): Set.
8514 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
8515 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
8516 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
8517 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
8518 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
8519 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
8520 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
8521 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
8522 config/stormy16/umodsi3.c: New files.
8523 * config/xtensa/lib2funcs.S: New file.
8524 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
8525 * config/xtensa/t-xtensa (LIB2ADD): Set.
8526 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
8527 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
8528 Add t-freebsd-thread to tmake_file for posix threads.
8529 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
8530 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
8531 (*-*-lynxos*): Likewise.
8532 (*-*-netbsd*): Likewise.
8533 (*-*-openbsd*): Likewise.
8534 Add t-openbsd-thread to tmake_file for posix threads.
8535 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
8536 (*-*-vxworks*): Set tmake_file.
8537 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
8538 (alpha*-*-freebsd*): Likewise.
8539 (alpha*-*-netbsd*): Likewise.
8540 (alpha*-*-openbsd*): Likewise.
8541 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
8542 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
8543 (alpha*-dec-*vms*): Likewise.
8544 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
8545 (bfin*-elf*): Add bfin/t-elf to tmake_file.
8546 (bfin*-uclinux*): Likewise.
8547 (bfin*-linux-uclibc*): Likewise.
8548 (crisv32-*-elf): Add cris/t-cris to tmake_file.
8549 (crisv32-*-none): Likewise.
8550 (cris-*-elf): Likewise.
8551 (cris-*-none): Likewise.
8552 (cris-*-linux*, crisv32-*-linux*): Likewise.
8553 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
8554 tmake_file.
8555 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
8556 tmake_file.
8557 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
8558 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
8559 (x86_64-*-elf*): Likewise.
8560 (i[34567]86-*-nto-qnx*): Likewise.
8561 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
8562 win32 threads.
8563 (x86_64-*-mingw*): Likewise.
8564 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
8565 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
8566 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
8567 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
8568 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
8569 tmake_file.
8570 (mipsisa64sr71k-*-elf*): Likewise.
8571 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
8572 (mips-*-elf*, mipsel-*-elf*): Likewise.
8573 (mips64-*-elf*, mips64el-*-elf*): Likewise.
8574 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
8575 (mips*-*-rtems*): Likewise.
8576 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
8577 to tmake_file.
8578 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
8579 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
8580 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
8581 (spu-*-elf*): Likewise.
8582 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
8583
45b86625
RO
85842011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8585
8586 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
8587 $(srcdir) to refer to $(LIB1ASMSRC).
8588 Use $<.
8589 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
8590 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
8591 config/arm/lib1funcs.S: New files.
8592 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
8593 * config/arm/t-arm: New file.
8594 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
8595 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
8596 config/arm/t-strongarm-elf: New files.
8597 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
8598 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
8599 * config/avr/lib1funcs.S: New file.
8600 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8601 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
8602 * config/c6x/lib1funcs.S: New file.
8603 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8604 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
8605 * config/frv/lib1funcs.S: New file.
8606 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8607 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
8608 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
8609 * config/ia64/__divxf3.asm: Rename to ...
8610 * config/ia64/__divxf3.S: ... this.
8611 Adapt lib1funcs.asm filename.
8612 * config/ia64/_fixtfdi.asm: Rename to ...
8613 * config/ia64/_fixtfdi.S: ... this.
8614 Adapt lib1funcs.asm filename.
8615 * config/ia64/_fixunstfdi.asm: Rename to ...
8616 * config/ia64/_fixunstfdi.S: ... this.
8617 Adapt lib1funcs.asm filename.
8618 * config/ia64/_floatditf.asm: Rename to ...
8619 * config/ia64/_floatditf.S: ... this.
8620 Adapt lib1funcs.asm filename.
8621 * config/ia64/lib1funcs.S: New file.
8622 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
8623 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8624 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
8625 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
8626 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
8627 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
8628 * config/mep/lib1funcs.S: New file.
8629 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8630 * config/mips/mips16.S: New file.
8631 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8632 * config/pa/milli64.S: New file.
8633 * config/pa/t-linux, config/pa/t-linux64: New files.
8634 * config/picochip/lib1funcs.S: New file.
8635 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8636 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
8637 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
8638 * config/sh/t-netbsd: New file.
8639 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
8640 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
8641 * config/sh/t-sh64: New file.
8642 * config/sparc/lb1spc.S: New file.
8643 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
8644 filename.
8645 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
8646 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
8647 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
8648 config/xtensa/lib1funcs.S: New files.
8649 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8650 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
8651 tmake_file.
8652 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
8653 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
8654 (arm*-*-linux*): Likewise.
8655 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
8656 arm*-*-linux-*eabi, add arm/t-linux otherwise.
8657 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
8658 (arm*-*-ecos-elf): Likewise.
8659 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
8660 (arm*-*-rtems*): Likewise.
8661 (arm*-*-elf): Likewise.
8662 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
8663 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
8664 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
8665 (bfin*-uclinux*): Likewise.
8666 (bfin*-linux-uclibc*): Likewise.
8667 (bfin*-rtems*): Likewise.
8668 (bfin*-*): Likewise.
8669 (fido-*-elf): Merge into m68k-*-elf*.
8670 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
8671 (frv-*-*linux*): Add frv/t-frv to tmake_file.
8672 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
8673 (h8300-*-elf*): Likewise.
8674 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
8675 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
8676 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
8677 (i[34567]86-*-mingw*): Likewise.
8678 (x86_64-*-mingw*): Likewise.
8679 (i[34567]86-*-interix3*): Likewise.
8680 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
8681 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
8682 (m68k-*-elf*): Also handle fido-*-elf.
8683 Add m68k/t-floatlib to tmake_file.
8684 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
8685 (m68k-*-linux*): Likewise.
8686 (m68k-*-rtems*): Likewise.
8687 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
8688 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
8689 sh64*-*-*.
8690 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
8691 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
8692 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
8693 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
8694 sh/t-netbsd to tmake_file.
8695 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
8696 (sh-*-rtems*): Add sh/t-sh to tmake_file.
8697 (sh-wrs-vxworks): Likewise.
8698 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
8699 *-leon[3-9]*.
8700 (v850*-*-*): Add v850/t-v850 to tmake_file.
8701 (vax-*-linux*): Add vax/t-linux to tmake_file.
8702 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
8703
5f73c6cc
RO
87042011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8705
8706 * crtstuff.c: New file.
8707 * Makefile.in (CRTSTUFF_CFLAGS): Define.
8708 (CRTSTUFF_T_CFLAGS): Define.
8709 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
8710 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
8711 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
8712 crtstuff.c.
8713 Use $<.
8714 (crtbeginT.o): Use $(objext).
8715 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
8716 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
8717 (gcc-extra-parts): Remove.
8718 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
8719 Set extra_parts.
8720 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
8721 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
8722 Add t-crtstuff-pic to tmake_file.
8723 (*-*-lynxos*): New case.
8724 Set tmake_file, extra_parts.
8725 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
8726 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
8727 *-*-netbsdelf[2-9]*.
8728 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
8729 (*-*-rtems*): Set extra_parts.
8730 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
8731 (*-*-uclinux*): New case.
8732 Set extra_parts.
8733 (*-*-vms*): New case.
8734 Set tmake_file, extra_parts.
8735 (*-*-elf): Set extra_parts.
8736 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
8737 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
8738 vms/t-vms64.
8739 Set extra_parts.
8740 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
8741 Set extra_parts.
8742 (arm*-*-freebsd*): Add t-crtin to tmake_file.
8743 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
8744 (arm-wrs-vxworks): Append to tmake_file.
8745 Set extra_parts.
8746 (arm*-*-uclinux*): Set extra_parts.
8747 (arm*-*-ecos-elf): Likewise.
8748 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
8749 arm*-*-eabi*.
8750 (arm*-*-rtems*): Set extra_parts.
8751 (arm*-*-elf): Likewise.
8752 (avr-*-rtems*): Clear extra_parts.
8753 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
8754 Set extra_parts.
8755 (bfin*-uclinux*): Likewise.
8756 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
8757 (bfin*-rtems*): Append to tmake_file.
8758 Set extra_parts.
8759 (bfin*-*): Likewise.
8760 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
8761 (crisv32-*-elf): ... this.
8762 (crisv32-*-none): ... this.
8763 (cris-*-elf, cris-*-none): New cases.
8764 Add cris/t-elfmulti to tmake_file.
8765 (fr30-*-elf): Append to tmake_file.
8766 Set extra_parts.
8767 (frv-*-elf): Append to tmake_file, add frv/t-frv.
8768 Set extra_parts.
8769 (h8300-*-rtems*): Append to tmake_file.
8770 Set extra_parts.
8771 (h8300-*-elf*): Likewise.
8772 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
8773 Set extra_parts.
8774 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
8775 Set extra_parts.
8776 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
8777 (x86_64-*-elf*): Likewise.
8778 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
8779 (x86_64-*-freebsd*): Likewise.
8780 (x86_64-*-netbsd*): Likewise.
8781 (i[34567]86-*-linux*): Likewise.
8782 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
8783 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
8784 (x86_64-*-linux*): Likewise.
8785 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
8786 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
8787 tmake_file.
8788 Set extra_parts.
8789 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
8790 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
8791 Append to extra_parts, remove crtbegin.o, crtend.o.
8792 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
8793 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
8794 crtend.o, crtbeginS.o, crtendS.o.
8795 (ia64*-*-linux*): Comment extra_parts.
8796 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
8797 Set extra_parts.
8798 (iq2000*-*-elf*): Clear extra_parts.
8799 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
8800 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
8801 (m32r-*-elf*, m32r-*-rtems*): Split off ...
8802 (m32r-*-rtems*): ... this.
8803 Add m32r/t-m32r to tmake_file.
8804 (m68k-*-elf*): Add t-crtin to tmake_file.
8805 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
8806 (mcore-*-elf): Likewise.
8807 (microblaze*-*-*): Set extra_parts.
8808 (mips*-sde-elf*): New case.
8809 Set tmake_file, extra_parts.
8810 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
8811 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
8812 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
8813 tmake_file.
8814 Set extra_parts.
8815 (mipsisa64sr71k-*-elf*): Likewise.
8816 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
8817 (mips-*-elf*, mipsel-*-elf*): Likewise.
8818 (mips64-*-elf*, mips64el-*-elf*): Likewise.
8819 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
8820 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
8821 (mips*-*-rtems*): Likewise.
8822 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
8823 (moxie-*-*): Split into ...
8824 (moxie-*-elf, moxie-*-uclinux*): ... this.
8825 Add to extra_parts, remove crtbegin.o, crtend.o.
8826 (moxie-*-rtems*): New case.
8827 Set tmake_file.
8828 Clear extra_parts.
8829 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
8830 Set extra_parts.
8831 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
8832 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
8833 tmake_file.
8834 Set extra_parts.
8835 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
8836 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
8837 Set extra_parts.
8838 (powerpc-*-eabisim*): Likewise.
8839 (powerpc-*-elf*): Likewise.
8840 (powerpc-*-eabialtivec*): Likewise.
8841 (powerpc-xilinx-eabi*): Likewise.
8842 (powerpc-*-eabi*): Likewise.
8843 (powerpc-*-rtems*): Likewise.
8844 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
8845 tmake_file.
8846 Set extra_parts.
8847 (powerpc-*-lynxos*): Add to tmake_file.
8848 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
8849 rs6000/t-crtstuff, t-crtstuff-pic.
8850 Set extra_parts.
8851 (powerpcle-*-eabisim*): Likewise.
8852 (powerpcle-*-eabi*): Likewise.
8853 (rx-*-elf): Remove extra_parts.
8854 (s390x-ibm-tpf*): Set extra_parts.
8855 (score-*-elf): Set extra_parts.
8856 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
8857 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
8858 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
8859 (sh64l*-*-netbsd*): Split into ...
8860 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
8861 Add t-crtstuff-pic to tmake_file.
8862 Set extra_parts.
8863 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
8864 Set extra_parts.
8865 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
8866 (sparc-*-elf*): Remove t-crtin from tmake_file.
8867 Add to extra_parts, remove crtbegin.o, crtend.o.
8868 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
8869 (sparc64-*-linux*): Likewise.
8870 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
8871 Add to extra_parts, remove crtbegin.o, crtend.o.
8872 (sparc64-*-elf*): Remove t-crtin from tmake_file.
8873 Add to extra_parts, remove crtbegin.o, crtend.o.
8874 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
8875 Add to extra_parts, remove crtbegin.o, crtend.o.
8876 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
8877 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
8878 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
8879 Set extra_parts.
8880 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
8881 Set extra_parts.
8882 (tic6x-*-*): Change to ...
8883 (tic6x-*-elf): ... this.
8884 Set extra_parts.
8885 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
8886 Set extra_parts.
8887 (am33_2.0-*-linux*): Add comment.
8888 (mep*-*-*): Add mep/t-mep to tmake_file.
8889 Set extra_parts.
8890 * config/alpha/t-vms: New file.
8891 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
8892 * config/arm/crti.S, config/arm/crtn.S: New files.
8893 * config/bfin/crti.S, config/bfin/crtn.S: New files.
8894 * config/bfin/crtlibid.S: New file.
8895 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
8896 * config/c6x/crti.S, config/c6x/crtn.S: New files.
8897 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
8898 (crti.o, crtin.o): New rules.
8899 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
8900 * config/c6x/t-uclinux: New file.
8901 * config/cris/t-elfmulti: New file.
8902 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
8903 * config/fr30/crti.S, config/fr30/crtn.S: New files.
8904 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
8905 * config/frv/t-frv: New file.
8906 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
8907 * config/h8300/crti.S, config/h8300/crtn.S: New files.
8908 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
8909 New files.
8910 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
8911 refer to cygming-crtbegin.c, cygming-crtend.c.
8912 Use $<.
8913 * config/i386/t-nto: New file.
8914 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
8915 * config/ia64/crti.S, config/ia64/crtn.S: New files.
8916 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
8917 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
8918 Use .S extension.
8919 Use $<.
8920 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
8921 (crtinitS.o): New rule.
8922 * config/ia64/vms-crtinit.S: New file.
8923 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
8924 * config/m32r/initfini.c: New file.
8925 * config/m32r/t-linux, config/m32r/t-m32r: New files.
8926 * config/m68k/crti.S, config/m68k/crtn.S: New files.
8927 * config/mcore/crti.S, config/mcore/crtn.S: New files.
8928 * config/mep/t-mep: New file.
8929 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
8930 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
8931 * config/mips/crti.S, config/mips/crtn.S: New files.
8932 * config/mips/t-crtstuff: New file.
8933 * config/mmix/crti.S, config/mmix/crtn.S: New files.
8934 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
8935 (CUSTOM_CRTIN): Set.
8936 ($(T)crti.o, $(T)crtn.o): Remove $(T),
8937 dependencies.
8938 Use $(srcdir) to refer to crti.S, crtn.S.
8939 Use .S extension, $<.
8940 * config/moxie/crti.asm: Rename to ...
8941 * config/moxie/crti.S: ... this.
8942 * config/moxie/crtn.asm: Rename to ...
8943 * config/moxie/crtn.S: ... this.
8944 * config/moxie/t-moxie: Remove.
8945 * config/pa/stublib.c: New file.
8946 * config/pa/t-stublib, config/pa/t-stublib64: New files.
8947 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
8948 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
8949 * config/rs6000/t-crtstuff: New file.
8950 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
8951 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
8952 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
8953 Make output file explicit.
8954 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
8955 Make output file explicit.
8956 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
8957 Make output file explicit.
8958 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
8959 Make output file explicit.
8960 * config/score/crti.S, config/score/crtn.S: New files.
8961 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
8962 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
8963 files.
8964 * config/sh/t-sh, config/sh/t-superh: New files.
8965 * config/sparc/t-linux64: New file.
8966 * config/spu/cache.S, config/spu/cachemgr.c: New files.
8967 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
8968 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
8969 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
8970 * config/t-crtin: Remove.
8971 * config/t-crtstuff-pic: New file.
8972 * config/t-sol2 (CUSTOM_CRTIN): Set.
8973 (crti.o, crtn.o): New rules.
8974 * config/vms/t-vms: New file.
8975 * config/vms/vms-ucrt0.c: New file.
8976 * config/xtensa/t-elf: New file.
8977
b040f2be
RO
89782011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8979
8980 * Makefile.in (SHLIB_NM_FLAGS): Set.
8981 * mkmap-flat.awk, mkmap-symver.awk: New files.
8982 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
8983 exceptions.
8984 * configure: Regenerate.
8985 * config/libgcc-glibc.ver: New file.
8986 * config/libgcc-libsystem.ver: New file.
8987 * config/t-libunwind (SHLIB_LC): Set.
8988 * config/t-linux: New file.
8989 * config/t-slibgcc (INSTALL_SHLIB): New.
8990 (SHLIB_INSTALL): Use it.
8991 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
8992 to mkmap-symver.awk.
8993 (SHLIB_MAPFILES): Don't append, adapt pathname.
8994 (SHLIB_VERPFX): Set.
8995 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
8996 to mkmap-symver.awk.
8997 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
8998 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
8999 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
9000 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
9001 to mkmap-flat.awk.
9002 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
9003 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
9004 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
9005 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
9006 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
9007 * config/i386/libgcc-darwin.10.4.ver,
9008 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
9009 New files.
9010 * config/i386/t-darwin: Remove.
9011 * config/i386/t-darwin64: Likewise.
9012 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
9013 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
9014 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
9015 * config/i386/t-linux: New file.
9016 * config/i386/t-mingw32: New file.
9017 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
9018 * config/ia64/t-glibc: Rename to ...
9019 * config/ia64/t-linux: ... this.
9020 (SHLIB_MAPFILES): Set.
9021 * config/ia64/t-glibc-libunwind: Rename to ...
9022 * config/ia64/t-linux-libunwind: ... this.
9023 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
9024 * config/ia64/t-slibgcc-hpux: New file.
9025 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
9026 * config/m68k/t-slibgcc-elf-ver: New file.
9027 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
9028 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
9029 to mkmap-flat.awk.
9030 * config/pa/t-slibgcc-hpux: New file.
9031 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
9032 files.
9033 * config/rs6000/libgcc-darwin.10.4.ver,
9034 config/rs6000/libgcc-darwin.10.5.ver: New files.
9035 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
9036 config/rs6000/libgcc-glibc.ver.
9037 * config/rs6000/libgcc-ppc64.ver: Rename to
9038 config/rs6000/libgcc-ibm-ldouble.ver.
9039 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
9040 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
9041 * config/rs6000/t-ldbl128: Rename to ...
9042 * config/rs6000/t-linux: ... this.
9043 (SHLIB_MAPFILES): Adapt filename.
9044 * config/rs6000/t-slibgcc-aix: New file.
9045 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
9046 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
9047 libgcc-excl.ver, libgcc-glibc.ver.
9048 (SHLIB_LINK, SHLIB_INSTALL): Remove.
9049 * config/sparc/libgcc-glibc.ver: New file.
9050 * config/sparc/t-linux: New file.
9051 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
9052 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
9053 t-slibgcc-elf-ver to tmake_file.
9054 Add t-slibgcc-nolc-override to tmake_file for posix threads on
9055 *-*-freebsd[34].
9056 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
9057 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
9058 t-slibgcc-elf-ver, t-linux to tmake_file.
9059 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
9060 tmake_file.
9061 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
9062 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
9063 (alpha*-dec-*vms*): Likewise.
9064 (arm*-*-freebsd*): Append to tmake_file.
9065 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
9066 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
9067 arm*-*-linux-*eabi.
9068 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
9069 tmake_file for arm*-*-symbianelf*.
9070 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
9071 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
9072 cris/t-linux.
9073 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
9074 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
9075 pa/t-slibgcc-dwarf-ver to tmake_file.
9076 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
9077 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
9078 (hppa*64*-*-hpux11*): Likewise.
9079 (hppa[12]*-*-hpux11*): Likewise.
9080 (x86_64-*-darwin*): Don't override tmake_file, but only keep
9081 i386/t-crtpc, i386/t-crtfm.
9082 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
9083 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
9084 to tmake_file.
9085 Add i386/t-cygwin to tmake_file.
9086 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
9087 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
9088 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
9089 to tmake_file.
9090 Add i386/t-mingw32 to tmake_file.
9091 (x86_64-*-mingw*): Likewise.
9092 (ia64*-*-freebsd*): Append to tmake_file.
9093 (ia64*-*-linux*): Append to tmake_file.
9094 Replace ia64/t-glibc by ia64/t-linux.
9095 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
9096 system libunwind.
9097 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
9098 t-slibgcc-hpux to tmake_file.
9099 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
9100 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
9101 (m32rle-*-linux*): Likewise.
9102 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
9103 sjlj exceptions.
9104 (microblaze*-linux*): New case.
9105 Append to tmake_file, add t-slibgcc-nolc-override.
9106 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
9107 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
9108 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
9109 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
9110 rs6000/t-slibgcc-aix to tmake_file.
9111 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
9112 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
9113 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
9114 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
9115 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
9116 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
9117 sh*-*-linux*.
9118 (sparc-*-linux*): Append to tmake_file for *-leon*.
9119 Add sparc/t-linux to tmake_file for non-Leon targets.
9120 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
9121 (tic6x-*-uclinux): New case.
9122 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
9123 (tic6x-*-*): Add c6x/t-elf to tmake_file.
9124 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
9125 (am33_2.0-*-linux*): Append to tmake_file.
9126 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
9127 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
9128 x86_64-*-kfreebsd*-gnu.
9129 Add i386/t-linux to tmake_file.
9130
18b4bd7b
ILT
91312011-10-28 Ian Lance Taylor <iant@google.com>
9132
9133 * config/i386/morestack.S: Correct CFI information to do proper
9134 returns throughout function. In 32-bit mode, save %ebx so that it
9135 is restored on unwind.
9136
5b2d9d90
BS
91372011-10-25 Bernd Schmidt <bernds@codesourcery.com>
9138
9139 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
9140 case where B3 isn't the return register.
9141
0d53e346
BS
9142 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
9143 logic for doubleword pops.
9144
cbffbd59
AT
91452011-10-25 Andreas Tobler <andreast@fgznet.ch>
9146
9147 * config/rs6000/t-freebsd: Add wildcard.
9148
56dc349e
PB
91492011-10-21 Paul Brook <paul@codesourcery.com>
9150
9151 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
9152
1e06b07d
UB
91532011-10-16 Uros Bizjak <ubizjak@gmail.com>
9154 Eric Botcazou <ebotcazou@adacore.com>
9155
9156 PR target/50737
9157 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
9158 fs->signal_frame to 1.
9159
b5204884
ILT
91602011-10-07 Ian Lance Taylor <iant@google.com>
9161
9162 * generic-morestack-thread.c: #include <errno.h>.
9163
91a639a1
ILT
91642011-10-07 Ian Lance Taylor <iant@google.com>
9165
9166 PR target/46093
9167 * generic-morestack.c (__generic_morestack): Make sure the segment
9168 is large enough for both the stack frame and the copied
9169 parameters.
9170
cc49116d
RO
91712011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9172
9173 PR bootstrap/49804
9174 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
9175 extra_parts.
9176
2996d8c3
NC
91772011-09-28 Nick Clifton <nickc@redhat.com>
9178
9179 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
9180 64-bit doubles are not enabled.
9181 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
9182 and floatunsisf functions.
9183
1e874273 91842011-09-13 Paul Brook <paul@codesourcery.com>
2996d8c3 9185
1e874273
PB
9186 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
9187 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
9188 * unwind-arm-common.inc: New file.
9189 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
9190 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
9191 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
9192 * config/c6x/libunwind.S: New file.
9193 * config/c6x/pr-support.c: New file.
9194 * config/c6x/unwind-c6x.c: New file.
9195 * config/c6x/unwind-c6x.h: New file.
9196 * config/c6x/t-c6x-elf: New file.
9197
f70c879a
UB
91982011-08-23 Uros Bizjak <ubizjak@gmail.com>
9199
9200 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
9201 (ASM_DIVZERO): Ditto.
9202 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
9203
c55b374b
RS
92042011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
9205
9206 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
9207
1e138510
RS
92082011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
9209
9210 PR target/50090
9211 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
9212 instead of an assembly one.
9213
1563503d
PB
92142011-08-12 Paolo Bonzini <bonzini@gnu.org>
9215
9216 PR bootstrap/50047
9217 * Makefile.in (install-unwind_h): Create
9218 $(gcc_objdir)/include/unwind.h atomically.
9219
3627ac1a
RO
92202011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9221
9222 * Makefile.in (install-unwind_h): Remove destination file first.
9223
c6412d86
RO
92242011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9225
9226 * sync.c: New file.
9227 * config/mips/t-mips16: New file.
9228 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
9229 (mips*-*-linux*): Likewise.
9230 (mips*-sde-elf*): Likewise.
9231 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
9232 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
9233 Add mips/t-mips16 to tmake_file.
9234 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
9235 (mips-*-elf*): Likewise.
9236 (mips64-*-elf*): Likewise.
9237 (mips64orion-*-elf*): Likewise.
9238 (mips*-*-rtems*): Likewise.
9239 (mipstx39-*-elf*): Likewise.
9240 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
9241 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
9242 LIBGCC_SYNC_CFLAGS.
9243 Use $(srcdir) to refer to sync.c.
9244 Use $<.
9245 ($(libgcc-sync-funcs-o)): Likewise.
9246 ($(libgcc-sync-size-funcs-s-o)): Likewise.
9247 ($(libgcc-sync-funcs-s-o)): Likewise.
9248
3cb6e5bd
AS
92492011-08-09 Andreas Schwab <schwab@linux-m68k.org>
9250
9251 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
9252 t-libunwind.
9253
cca2207a
L
92542011-08-08 H.J. Lu <hongjiu.lu@intel.com>
9255
9256 PR other/48007
9257 * config/i386/value-unwind.h: New.
9258
ed39fbad
RS
92592011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
9260
9261 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
9262 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
9263 Add to tmake_file rather than overriding it.
9264
aca0b0b3
RO
92652011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9266
9267 * config/t-softfp: Remove.
9268 * soft-fp: Moved from ../gcc/config.
9269 * soft-fp/README: Remove t-softfp reference.
9270 * soft-fp/t-softfp: Move to config/t-softfp.
9271 (softfp_machine_header): Remove.
9272 (softfp_file_list): Remove config subdir.
9273 (soft-fp-objects): New variable.
9274 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
9275 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
9276 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
9277 * config/t-softfp-excl: New file.
9278 * config/t-softfp-sfdf: New file.
9279 * config/t-softfp-tf: New file.
9280 * config/no-sfp-machine.h: New file.
9281 * config/arm/sfp-machine.h: New file.
9282 * config/arm/t-softfp: New file.
9283 * config/c6x/sfp-machine.h: New file.
9284 * config/i386/32/t-fprules-softfp: Rename to ...
9285 * config/i386/32/t-softfp: ... this.
9286 (tifunctions, LIB2ADD): Remove.
9287 (softfp_int_modes): Override.
9288 * config/i386/64/t-softfp-compat (tf-functions): Remove config
9289 subdir.
9290 * config/i386/64/eqtf2.c: Likewise.
9291 * config/i386/64/getf2.c: Likewise.
9292 * config/i386/64/letf2.c: Likewise.
9293 * config/ia64/sft-machine.h: New file.
9294 * config/ia64/t-fprules-softfp: Rename to ...
9295 * config/ia64/t-softfp: ... this.
9296 * config/lm32/sfp-machine.h: New file.
9297 * config/moxie/t-moxie-softfp: Remove.
9298 * config/rs6000/ibm-ldouble-format: New file.
9299 * config/rs6000/ibm-ldouble.c: New file.
9300 * config/rs6000/libgcc-ppc-glibc.ver: New file
9301 * config/rs6000/libgcc-ppc64.ver: New file
9302 * config/rs6000/sfp-machine.h: New file.
9303 * config/rs6000/t-freebsd: New file.
9304 * config/rs6000/t-ibm-ldouble: New file.
9305 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
9306 libgcc-ppc-glibc.ver.
9307 * config/rs6000/t-linux64: New file.
9308 * config/rs6000/t-ppccomm (LIB2ADD): Add
9309 $(srcdir)/config/rs6000/ibm-ldouble.c.
9310 * config/rs6000/t-ppccomm-ldbl: New file.
9311 * config/score/sfp-machine.h: New file.
9312 * config.host (sfp_machine_header): Explain.
9313 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
9314 t-softfp to tmake_file.
9315 (arm*-*-uclinux*): Likewise.
9316 (arm*-*-ecos-elf): Likewise.
9317 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
9318 (arm*-*-rtems*): Likewise.
9319 (arm*-*-elf): Likewise.
9320 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
9321 in tmake_file.
9322 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
9323 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
9324 (lm32-*-uclinux*): Likewise.
9325 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
9326 t-softfp-excl, t-softfp.
9327 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
9328 (powerpc64-*-darwin*): Likewise.
9329 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
9330 to tmake_file.
9331 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
9332 tmake_file.
9333 (powerpc-*-eabisim*): Likewise.
9334 (powerpc-*-elf*): Likewise.
9335 (powerpc-*-eabialtivec*): Likewise.
9336 (powerpc-xilinx-eabi*): Likewise.
9337 (powerpc-*-rtems*): Likewise.
9338 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
9339 t-softfp-excl, t-softfp to tmake_file.
9340 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
9341 rs6000/t-ppccomm-ldbl to tmake_file.
9342 (powerpcle-*-elf*): Likewise.
9343 (powerpcle-*-eabisim*): Likewise.
9344 (powerpcle-*-eabi*): Likewise.
9345 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
9346 rs6000/t-ibm-ldouble to tmake_file.
9347 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
9348 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
9349 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
9350 (tic6x-*-*): Likewise.
9351 (i[34567]86-*-darwin*, x86_64-*-darwin*,
9352 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
9353 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
9354 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
9355 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
9356 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
9357 t-softfp to tmake_file.
9358 * configure.ac (sfp_machine_header): Provide default if unset.
9359 Substitute.
9360 Link sfp-machine.h to config/$sfp_machine_header.
9361 * configure: Regenerate.
9362
569dc494
RO
93632011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9364
9365 * Makefile.in (double_type_size, long_double_type_size): Set.
9366 Remove $(fpbit-in-libgcc) support.
9367 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
9368 (fpbit-src): New variable.
9369 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
9370 Compile with -DFLOAT $(FPBIT_CFLAGS).
9371 Use $<.
9372 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
9373 Compile with $(FPBIT_CFLAGS).
9374 Use $<.
9375 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
9376 Compile with -DFLOAT $(TPBIT_CFLAGS).
9377 Use $<.
9378 * configure.ac (double_type_size, long_double_type_size):
9379 Determine and substitute.
9380 * configure: Regenerate.
9381 * fp-bit.c, fp-bit.h: New files.
9382 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
9383 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
9384 * config/mips/t-mips: New file.
9385 * config/mips/t-sdemtk: New file.
9386 * config/rs6000/ppc64-fp.c: New file.
9387 * config/rs6000/t-darwin (LIB2ADD): Add
9388 $(srcdir)/config/rs6000/ppc64-fp.c.
9389 * config/rs6000/t-ppc64-fp: New file.
9390 * config/rx/rx-lib.h: New file.
9391 * config/rx/t-rx (FPBIT): Set to true.
9392 ($(gcc_objdir)/fp-bit.c): Remove.
9393 (DPBIT): Set to true only with -m64bit-doubles.
9394 ($(gcc_objdir)/dp-bit.c): Remove.
9395 * config/sparc/t-softfp: Remove.
9396 * config/spu/t-elf: New file.
9397 * config/t-fdpbit, config/t-fpbit: New files.
9398 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
9399 (mips*-*-*): Likewise.
9400 (arm-wrs-vxworks): Likewise.
9401 (arm*-*-freebsd*): Likewise.
9402 (avr-*-rtems*): Add t-fpbit to tmake_file.
9403 (avr-*-*): Likewise.
9404 (bfin*-elf*): Add t-fdpbit to tmake_file.
9405 (bfin*-uclinux*): Likewise.
9406 (bfin*-linux-uclibc*): Likewise.
9407 (bfin*-rtems*): New case.
9408 Add t-fdpbit to tmake_file.
9409 (bfin*-*): Add t-fdpbit to tmake_file.
9410 (crisv32-*-elf): Likewise.
9411 (cris-*-linux*): Likewise.
9412 (fr30-*-elf): Likewise.
9413 (frv-*-elf, frv-*-*linux*): Likewise.
9414 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
9415 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
9416 (m32r-*-elf*): Likewise.
9417 (m32rle-*-elf*): Likewise.
9418 (m32r-*-linux*): Likewise.
9419 (m32rle-*-linux*): Likewise.
9420 (mcore-*-elf): Add t-fdpbit to tmake_file.
9421 (microblaze*-*-*): Likewise.
9422 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
9423 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
9424 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
9425 Fix typo.
9426 Add mips/t-tpbit to tmake-file.
9427 (mips*-*-linux*): Fix typo.
9428 (mips*-sde-elf*): New case
9429 Add mips/t-sdemtk unless using newlib.
9430 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
9431 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
9432 (mn10300-*-*): Likewise.
9433 (pdp11-*-*): Likewise.
9434 (picochip-*-*): Add t-fpbit to tmake_file.
9435 (powerpc-*-eabisimaltivec*): Likewise.
9436 (powerpc-*-eabisim*): Likewise.
9437 (powerpc-*-elf*): Likewise.
9438 (powerpc-*-eabialtivec*): Likewise.
9439 (powerpc-xilinx-eabi*): New case.
9440 Add t-fdpbit to tmake_file.
9441 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
9442 (powerpc-*-rtems*): Likewise.
9443 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
9444 tmake_file.
9445 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
9446 tmake_file.
9447 (powerpc-*-lynxos*): Likewise.
9448 (powerpcle-*-elf*): Likewise.
9449 (powerpcle-*-eabisim*): Likewise.
9450 (powerpcle-*-eabi*): Likewise.
9451 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
9452 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
9453 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
9454 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
9455 (rx-*-elf): Add t-fdpbit to tmake_file.
9456 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
9457 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
9458 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
9459 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
9460 sh*-*-netbsd*.
9461 (sh-*-rtems*): Add t-fdpbit to tmake_file.
9462 (sh-wrs-vxworks): Likewise.
9463 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
9464 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
9465 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
9466 (sparc64-*-rtems*): ... new case.
9467 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
9468 (spu-*-elf*): Likewise.
9469 Add spu/t-elf to tmake_file.
9470 (v850*-*-*): Add t-fdpbit to tmake_file.
9471 (xstormy16-*-elf): Likewise.
9472 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
9473 (mep*-*-*): Likewise.
9474
201cdb74
RO
94752011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9476
9477 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
9478 variables.
9479 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
9480 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
9481 (install-unwind_h): New target.
9482 (all): Depend on it.
9483 * config.host (unwind_header): New variable.
9484 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
9485 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
9486 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
9487 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
9488 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
9489 Set unwind_header.
9490 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
9491 Set unwind_header.
9492 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
9493 arm*-*-eabi*.
9494 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
9495 Set unwind_header.
9496 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
9497 (ia64*-*-freebsd*): Likewise.
9498 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
9499 tmake_file.
9500 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
9501 $with_system_libunwind.
9502 (ia64*-*-hpux*): Set tmake_file.
9503 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
9504 (picochip-*-*): Set tmake_file.
9505 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
9506 md_unwind_header.
9507 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
9508 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
9509 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
9510 (xtensa*-*-elf*): Set tmake_file.
9511 (xtensa*-*-linux*): Likewise.
9512 * configure.ac: Include ../config/unwind_ipinfo.m4.
9513 Call GCC_CHECK_UNWIND_GETIPINFO.
9514 Link unwind.h to $unwind_header.
9515 * configure: Regenerate.
9516 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
9517 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
9518 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
9519 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
9520 * config/unwind-dw2-fde-darwin.c: New file.
9521 * config/arm/libunwind.S, config/arm/pr-support.c,
9522 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
9523 config/arm/unwind-arm.h,: New files.
9524 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
9525 config/ia64/t-eh-ia64, config/ia64/t-glibc,
9526 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
9527 config/ia64/t-vms, config/ia64/unwind-ia64.c,
9528 config/ia64/unwind-ia64.h: New files.
9529 * config/picochip/t-picochip: New file.
9530 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
9531 files.
9532 * config/rs6000/t-darwin (LIB2ADDEH): Set.
9533 * config/s390/t-tpf (LIB2ADDEH): Remove.
9534 * config/t-darwin (LIB2ADDEH): Set.
9535 * config/t-eh-dw2-dip: New file.
9536 * config/t-libunwind, config/t-libunwind-elf: New files.
9537 * config/t-sol2 (LIB2ADDEH): Remove.
9538 * config/xtensa/t-xtensa: New file.
9539
40f2f11f
L
95402011-08-02 H.J. Lu <hongjiu.lu@intel.com>
9541
9542 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
9543 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
9544 long long to check rt_sigreturn syscall.
9545
bd15e32c
AM
95462011-08-02 Alan Modra <amodra@gmail.com>
9547
9548 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
9549 Restore for indirect call bcrtl from correct stack slot, and only
9550 if cfa+40 isn't valid.
9551
655b30bf
JB
95522011-08-01 Julian Brown <julian@codesourcery.com>
9553
9554 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
9555 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
9556 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
9557
247eb06f
JB
95582011-08-01 Julian Brown <julian@codesourcery.com>
9559
9560 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
9561 (libgcc-std.ver.in): Use above.
9562 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
9563 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
9564 throughout file.
9565 * config/t-fixedpoint-gnu-prefix: New file.
9566 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
9567 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
9568 instead of __PFX__.
9569
02a8fe00
L
95702011-07-28 H.J. Lu <hongjiu.lu@intel.com>
9571
9572 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
9573 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
9574 for x86-64. Properly check __x86_64__ and __LP64__.
9575
5fce9126
L
95762010-07-28 H.J. Lu <hongjiu.lu@intel.com>
9577
9578 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
9579 version.
9580 (_FP_WS_TYPE): Likewise.
9581 (_FP_I_TYPE): Likewise.
9582
2374a88a
AM
95832011-07-28 Alan Modra <amodra@gmail.com>
9584
9585 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
9586 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
9587 in a plt call stub. Do restore r2 if stopped on bctrl.
9588
e44dbbe1
RO
95892011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9590
9591 * config.host (i[3456x]86-*-netware*): Remove.
9592 * config/i386/netware-crt0.c, config/i386/t-nwld,
9593 config/i386/t-slibgcc-nwld: Remove.
9594
bcead286
BS
95952011-07-15 Bernd Schmidt <bernds@codesourcery.com>
9596
9597 * config.host: Handle tic6x-*-*.
9598 * config/c6x/c6x-abi.h: New file.
9599
b3fe1584
RO
96002011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9601
9602 * config/i386/crtprec.c: New file.
9603 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
9604 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
9605 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
9606 (x86_64-*-darwin*): Likewise.
9607 (i[34567]86-*-solaris2*: Likewise.
9608
35d8090d
RO
96092011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9610
9611 * config/alpha/crtfastmath.c: New file.
9612 * config/i386/crtfastmath.c: New file.
9613 * config/ia64/crtfastmath.c: New file.
9614 * config/mips/crtfastmath.c: New file.
9615 * config/sparc/crtfastmath.c: New file.
9616
9617 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
9618 crtfastmath.c.
9619 Add -frandom-seed=gcc-crtfastmath.
9620 * config/alpha/t-crtfm: Remove.
9621 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
9622 * config/ia64/t-ia64 (crtfastmath.o): Remove.
9623
9624 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
9625 (alpha*-dec-osf5.1*): Likewise.
9626 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
9627 Add crtfastmath.o to extra_parts.
9628 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
9629 Add crtfastmath.o to extra_parts.
9630 (x86_64-*-darwin*): Likewise.
9631 (x86_64-*-mingw*): Likewise.
9632 (ia64*-*-elf*): Add t-crtfm to tmake_file.
9633 (ia64*-*-freebsd*): Likewise.
9634 (ia64*-*-linux*): Likewise.
9635 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
9636 Add crtfastmath.o to extra_parts.
9637
e141542e
RO
96382011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9639
9640 * config/darwin-crt3.o: New file.
9641 * config/rs6000/darwin-crt2.c: New file.
9642 * config/t-darwin: New file.
9643 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
9644 (crt2.o): New rule.
9645 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
9646 (powerpc-*-darwin*): Add crt2.o to extra_parts.
9647 (powerpc64-*-darwin*): Likewise.
9648
2d1efe2d
RO
96492011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9650
9651 * config/i386/netware-crt0.c: New file.
9652 * config/i386/t-nwld: Rename to ...
9653 * config/i386/t-slibgcc-nwld: ... this.
9654 * config/i386/t-nwld: New file.
9655 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
9656 tmake_file.
9657 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
9658 extra_parts.
9659
4a8bb046
RO
96602011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9661
9662 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
9663 i386/t-crtstuff.
9664 * configure: Regenerate.
9665
2d8d5935
RO
96662011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9667
9668 * dfp-bit.c, dfp-bit.h: New files.
9669 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
9670 variables.
9671 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
9672 ($(d64pbit-o)): Likewise.
9673 ($(d128pbit-o)): Likewise.
9674 * config/t-dfprules: New file.
9675 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
9676 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
9677 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
9678 (x86_64-*-linux*): Likewise.
9679 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
9680 (i[34567]86-*-cygwin*): Likewise.
9681 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
9682 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
9683
2c50b2c3
RO
96842011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9685
9686 * Makfile.in (LIBGCOV): New variable.
9687 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
9688 * libgcov.c: New file.
9689
a039d7c2
RO
96902011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9691
9692 * fixed-bit.c, fixed-bit.h: New files.
9693 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
9694 refer to fixed-bit.c.
9695
1e4b2746
JM
96962011-07-07 Joseph Myers <joseph@codesourcery.com>
9697
9698 * config.host (*local*): Remove.
9699
fbdd5d87
RO
97002011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9701
9702 PR target/39150
9703 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
9704 like i?86-*-solaris2.1[0-9]*.
9705 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
9706 * configure.ac (i?86-*-solaris2*): Likewise.
9707 * configure: Regenerate.
9708
9e7714f4
TS
97092011-07-06 Thomas Schwinge <thomas@schwinge.name>
9710
9711 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
9712 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
9713 md_unwind_header by splitting out of...
9714 (i[34567]86-*-linux*): ... this.
9715 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
9716 Remove md_unwind_header by splitting out of...
9717 (x86_64-*-linux*): ... this.
9718
6dab9931
GJL
97192011-07-04 Georg-Johann Lay <avr@gjlay.de>
9720
9721 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
9722
4be46d19
NC
97232011-06-28 Nick Clifton <nickc@redhat.com>
9724
9725 * config.host: Recognize all V850 variants.
9726
1da9434b
UB
97272011-06-22 Uros Bizjak <ubizjak@gmail.com>
9728
9729 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
9730
e4d48a4d
RO
97312011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9732
9733 * shared-object.mk (c_flags-$o): Save c_flags.
9734 ($(base)$(objext)): Use it.
9735 ($(base)_s$(objext)): Likewise.
9736
3801c801
BS
97372011-06-21 Bernd Schmidt <bernds@codesourcery.com>
9738
9739 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
9740 * libgcc-std.ver.in (GCC_4.7.0): New section.
9741
0ad8bb3b 97422011-06-16 Georg-Johann Lay <avr@gjlay.de>
1da9434b 9743
0ad8bb3b
GJL
9744 PR target/49313
9745 PR target/29524
9746 * config/avr/t-avr: Fix line endings.
9747 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
9748 _parityXX2.
9749
ea963999
OH
97502011-06-14 Olivier Hainque <hainque@adacore.com>
9751 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9752
9753 * config/mips/irix6-unwind.h: New file.
9754 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
9755
b11b0904
EB
97562011-06-10 Eric Botcazou <ebotcazou@adacore.com>
9757
9758 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
9759 (sparc64_fallback_frame_state): Use it.
9760 (sparc64_frob_update_context): Further adjust context.
9761 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
9762 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
9763 * config/sparc/sol2-cn.S: Likewise.
9764
10e48e39
RO
97652011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9766
9767 * enable-execute-stack-empty.c: New file.
9768 * enable-execute-stack-mprotect.c: New file.
9769 * config/i386/enable-execute-stack-mingw32.c: New file.
9770 * config.host (enable_execute_stack): New variable.
9771 Select appropriate variants.
9772 * configure.ac: Link enable-execute-stack.c to
9773 $enable_execute_stack.
9774 * configure: Regenerate.
9775 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
9776 (lib2funcs): Remove _enable_execute_stack.
9777
10c4cabc
DM
97782011-06-09 David S. Miller <davem@davemloft.net>
9779 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9780
9781 * config.host (sparc-*-linux*): Correct md_unwind_header
9782 filename.
9783 (s390x-ibm-tpf*): Fix typo.
9784
aa4203e7
RO
97852011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9786
9787 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
9788 Add crtfastmath.o to extra_parts.
9789 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
9790 mips/t-crtfm.
9791 * config/mips/t-crtfm: Remove.
9792
0defd786
JDA
97932011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
9794
9795 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
9796
82f247af
KK
97972011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
9798
9799 * config.host (sh*-*-linux*): Fix typo.
9800
58cd1d70
RO
98012011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9802
9803 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
9804 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
9805 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
9806 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
9807 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
9808 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
9809 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
9810 Wrap in !__MINGW64__.
9811 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
9812 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
9813 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
9814 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
9815 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
9816 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
9817 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
9818 Wrap in !__LP64__.
9819 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
9820 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
9821 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
9822 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
9823 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
9824 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
9825 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
9826 * config/no-unwind.h: New file.
9827 * config.host (md_unwind_header): Document.
9828 Define.
9829 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
9830 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
9831 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
9832 hppa[12]*-*-hpux11*): Set md_unwind_header.
9833 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
9834 Set md_unwind_header.
9835 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
9836 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
9837 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
9838 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
9839 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
9840 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
9841 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
9842 md_unwind_header.
9843 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
9844 * configure: Regenerate.
9845
737346fa
RO
98462011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9847
9848 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
9849 Set tmake_file, extra_parts.
9850 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
9851 Remove O32 support.
9852 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
9853 Remove O32 support.
9854 * config/mips/t-irix6: New file.
9855 * config/mips/t-slibgcc-irix: New file.
9856
c192cee6
RO
98572011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9858
9859 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
9860 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
9861
ee33b5f0
RO
98622011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9863
9864 * configure.ac (target_thread_file): Determine thread model.
9865 * configure: Regenerate.
9866 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
9867 * config/alpha/t-alpha: New file.
9868 * config/alpha/t-crtfm: Use $<.
9869 * config/alpha/t-ieee: New file.
9870 * config/alpha/t-osf-pthread: New file.
9871 * config/alpha/t-slibgcc-osf: New file.
9872 * config/alpha/libgcc-osf5.ver: New file.
9873
0699e415
RO
98742011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9875
9876 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
9877 tmake_file.
9878 Add crtfastmath.o to extra_parts.
9879
a3fab9c2
RO
98802011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9881
9882 * config/gmon-sol2.c: Reindent.
9883 Cleanup comments.
9884 Remove, correct casts.
9885 Use STDERR_FILENO, NULL.
9886 (BASEADDRESS): Remove.
9887 (minbrk): Remove.
9888 (errno, sbrk): Remove declarations.
9889 (monstartup) [hp300]: Remove.
9890 (mcount): Remove.
9891
ca24c5ad
RO
98922011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9893
9894 * Makefile.in (cpu_type): Define.
9895 * config.host (i[34567]86-*-rtems*): Handle it.
9896 (i[34567]86-*-solaris2*): Move body ...
9897 (*-*-solaris2*): ... here.
9898 New case, generalize.
9899 (sparc-*-elf*): Handle it.
9900 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
9901 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
9902 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
9903 Fold into ...
9904 (sparc*-*-solaris2*): ... this.
9905 New case.
9906 (sparc64-*-elf*): Handle it.
9907 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
9908 Merge ../gcc/config/i386/gmon-sol2.c.
9909 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
9910 Use C comments.
9911 Merge ../gcc/config/i386/sol2-gc1.asm.
9912 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
9913 Use C comments.
9914 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
9915 Use C comments.
9916 * config/i386/t-crtfm (crtfastmath.o): Use $<.
9917 * config/i386/t-crtstuff: New file.
9918 * config/i386/t-softfp: New file.
9919 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
9920 $(T)crti.o, $(T)crtn.o): Remove.
9921 (gcrt1.o): New rule.
9922 (TARGET_LIBGCC2_CFLAGS): Remove.
9923 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
9924 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
9925 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
9926 * config/sparc/t-sol2: New file.
9927 * config/sparc/t-crtfm: Move to ...
9928 * config/t-crtfm: ... this.
9929 Use $(cpu_type), $<.
9930 * config/t-crtin: New file.
9931 * config/sparc/t-softfp: New file.
9932 * config/sparc/t-softmul: New file.
9933 * config/t-rtems: New file.
9934 * config/t-slibgcc: New file.
9935 * config/t-slibgcc-elf-ver: New file.
9936 * config/t-slibgcc-gld: New file.
9937 * config/t-slibgcc-sld: New file.
9938 * config/t-sol2: New file.
9939 * configure.ac: Include ../config/lib-ld.m4.
9940 Call AC_LIB_PROG_LD_GNU.
9941 Substitute cpu_type.
9942 * configure: Regenerate.
9943
ad5f3d7b
BS
99442011-05-27 Bernd Schmidt <bernds@codesourcery.com>
9945
9946 PR bootstrap/49173
9947 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
9948 libgcc-std.ver in the build directory.
9949 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
9950 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
9951
cdbf4541
BS
99522011-05-25 Bernd Schmidt <bernds@codesourcery.com>
9953
9954 * libgcc-std.ver.in: New file.
9955 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
9956 variables.
9957 (libgcc-std.ver): New rule.
9958 * config/t-gnu-prefix: New file.
9959
c8028650
RO
99602011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9961
9962 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
9963
4a68b4ca
JM
99642011-05-10 Joseph Myers <joseph@codesourcery.com>
9965
9966 * config/i386/darwin-lib.h: New file.
9967
80cf2e08
JM
99682011-05-10 Joseph Myers <joseph@codesourcery.com>
9969
9970 * config/arm/symbian-lib.h: New.
9971
a3330c9d
CD
99722011-05-04 Chris Demetriou <cgd@google.com>
9973
9974 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
9975 (__x86.get_pc_thunk.bx): ...this.
9976 (__morestack): Adjust for rename, remove undef of __i686.
9977
6ace0756
CD
99782011-05-03 Chris Demetriou <cgd@google.com>
9979
9980 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
9981
ebb9f8b0
JM
99822011-03-22 Joseph Myers <joseph@codesourcery.com>
9983
9984 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
9985 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
9986 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
9987 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
9988 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
9989 Remove cases.
9990
9cfa1499
AT
99912011-03-14 Andreas Tobler <andreast@fgznet.ch>
9992
9993 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
9994 Adjust copyright year.
9995
457186f6
ILT
99962011-03-07 Ian Lance Taylor <iant@google.com>
9997
9998 * generic-morestack.c (__splitstack_find): Adjust returned stack
9999 pointer to include all registers pushed by __morestack.
10000
58c741a6
DK
100012011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
10002
10003 PR target/40125
10004 * configure.ac: Call ACX_NONCANONICAL_TARGET.
10005 (toolexecdir): Calculate and AC_SUBST.
10006 (toolexeclibdir): Likewise.
10007 * Makefile.in (target_noncanonical): Import.
10008 (toolexecdir): Likewise.
10009 (toolexeclibdir): Likewise.
10010 * configure: Regenerate.
10011
26716c44
NF
100122010-12-13 Nathan Froyd <froydnj@codesourcery.com>
10013
10014 PR target/46040
10015 * config/arm/bpabi.h: Rename to...
10016 * config/arm/bpabi-lib.h: ...this.
10017
b595b1a1
RO
100182010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10019
10020 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
10021 appropriate.
10022 * configure: Regenerate.
10023
a3abe41c
NF
100242010-11-24 Nathan Froyd <froydnj@codesourcery.com>
10025
10026 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
10027 __FLOAT_WORD_ORDER__.
10028 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
10029 Delete.
10030
455c8f48
RW
100312010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
10032
10033 PR other/46202
10034 * Makefile.in (install-strip): New phony target.
10035
f3824a8b
ILT
100362010-11-07 Ian Lance Taylor <iant@google.com>
10037
10038 PR target/46089
10039 * config/i386/morestack.S (__morestack_large_model): New
10040 function.
10041
18ed6ee4
NF
100422010-10-23 Nathan Froyd <froydnj@codesourcery.com>
10043
10044 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
10045 Delete.
10046 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
10047
8ac7fdcb
NF
100482010-10-14 Nathan Froyd <froydnj@codesourcery.com>
10049
10050 * config/arm/bpabi.h: New file.
10051 * config/frv/frv-abi.h: New file.
10052
cdb388c2
ILT
100532010-10-01 Ian Lance Taylor <iant@google.com>
10054
10055 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
10056 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
10057
ef7c141c
L
100582010-10-01 H.J. Lu <hongjiu.lu@intel.com>
10059
10060 PR target/45858
10061 * config.host: Add the missing `$'.
10062
80920132
ME
100632010-09-30 Michael Eager <eager@eagercon.com>
10064
10065 * config.host: Add microblaze*-*-*.
10066 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
10067 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
10068 udivsi3.asm,umodsi3.asm}: New.
10069
6dace308
ILT
100702010-09-28 Ian Lance Taylor <iant@google.com>
10071
10072 * configure.ac: Adjust CFI test to test assembler directly rather
10073 than checking gcc preprocessor macro.
10074 * configure: Rebuild.
10075
b6110d6d
ILT
100762010-09-27 Ian Lance Taylor <iant@google.com>
10077
10078 * configure.ac: Test whether assembler supports CFI directives.
10079 * config.host: Only add t-stack and i386/t-stack-i386 to
10080 tmake_file if libgcc_cv_cfi is "yes".
10081 * configure: Rebuild.
10082
7458026b
ILT
100832010-09-27 Ian Lance Taylor <iant@google.com>
10084
10085 * generic-morestack.h: New file.
10086 * generic-morestack.c: New file.
10087 * generic-morestack-thread.c: New file.
10088 * config/i386/morestack.S: New file.
10089 * config/t-stack: New file.
10090 * config/i386/t-stack-i386: New file.
10091 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
10092 i386/t-stack-i386 to tmake_file.
10093
5b50fc0c
IS
100942010-09-21 Iain Sandoe <iains@gcc.gnu.org>
10095
10096 * Makefile.in (libgcc-extra-parts): Check for static archives and
10097 invoke ranlib after installing them.
10098 (gcc-extra-parts): Likewise.
10099 (install-leaf): Likewise.
10100
b93cf342
L
101012010-09-14 H.J. Lu <hongjiu.lu@intel.com>
10102
10103 * configure: Regenerated.
10104
996b42ef
KT
101052010-09-10 Kai Tietz <kai.tietz@onevision.com>
10106
b93cf342 10107 * configure: Regenerated.
996b42ef 10108
be1c764e
GP
101092010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
10110 Andrew Pinski <pinskia@gmail.com>
10111
1da9434b 10112 PR target/40959
be1c764e
GP
10113 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
10114
cc0ae0ca
L
101152010-09-06 H.J. Lu <hongjiu.lu@intel.com>
10116
10117 PR target/45524
10118 * configure: Regenerated.
10119
84f47d20
AS
101202010-09-06 Andreas Schwab <schwab@redhat.com>
10121
10122 * configure: Regenerate.
10123
4159fb8d
UB
101242010-09-03 Uros Bizjak <ubizjak@gmail.com>
10125
10126 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
10127 64bit targets.
10128 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
10129 for 64bit targets.
10130
0df8fcc8
UB
101312010-09-03 Uros Bizjak <ubizjak@gmail.com>
10132 Iain Sandoe <iains@gcc.gnu.org>
10133
10134 PR target/45476
10135 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
10136 LIB2FUNCS_EXCLUDE functions.
10137
3c39bca6
AK
101382010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10139
10140 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
10141 Include dfp.m4.
10142 * configure: Regenerate.
10143
d78552bd
UB
101442010-09-01 Uros Bizjak <ubizjak@gmail.com>
10145
10146 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
10147 i386/t-freebsd to tmake_file.
10148 * config/i386/t-freebsd: New file.
10149 * config/i386/libgcc-bsd.ver: New file.
10150
c5b79d4e
NF
101512010-07-23 Nathan Froyd <froydnj@codesourcery.com>
10152
10153 * config.host (powerpc*-eabispe*): Set tmake_file.
10154 (powerpc*-eabi*): Likewise.
10155 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
10156 crtbeginS, crtendS, crtbeginT.
10157
48b09a92
KH
101582010-06-12 Kazu Hirata <kazu@codesourcery.com>
10159
10160 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
10161 to tmake_file. Add crtfastmath.o to extra_parts.
10162 * config/mips/t-crtfm: New.
10163
7d296953 101642010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
a4389204
JS
10165
10166 * config.host (sparc64-*-rtems*): New target.
10167
ed104137
RO
101682010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10169
10170 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
10171 assembler syntax.
10172
3f56ef8b
TS
101732010-04-15 Thomas Schwinge <tschwinge@gnu.org>
10174
10175 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
10176
8c200350
RO
101772010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10178
10179 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
10180 alpha-dec-osf5.0* support.
10181
7d296953 101822010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
c1b14424
RC
10183
10184 * config.host: Add lm32-*-rtems*.
10185
f128db92 101862010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7d296953 10187 Uros Bizjak <ubizjak@gmail.com>
f128db92
RO
10188
10189 PR target/39048
10190 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
10191 like other remaining 32-bit x86 OSes.
10192 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
10193 assembler syntax.
10194 * config/i386/libgcc-sol2.ver: New file.
10195 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
10196
7d296953 101972010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
368fabd5
JH
10198
10199 PR c/43553
10200 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
10201 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
10202 is used and substitute set_use_emutls.
10203 * configure: Regenerated.
10204
15baf7f8
TG
102052010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
10206
10207 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
10208
7f5441df
RO
102092010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10210
10211 PR target/38085
10212 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
10213 MULTILIB_CFLAGS.
10214 ($(T)gcrt1.o): Likewise.
10215 ($(T)crt1.o): Likewise.
10216 ($(T)crti.o): Likewise.
10217 ($(T)crtn.o): Likewise.
10218
ef74edbd
RW
102192010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
10220
10221 PR other/42980
10222 * Makefile.in (install): Use $(MAKE) string in rule, for
10223 parallel make.
10224
e7c914db
HPN
102252010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
10226
10227 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
10228 * config/mmix/t-mmix: New file.
10229 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
10230
1bcb71c4
JH
102312010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
10232
10233 PR java/41991
10234 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
10235 SHLIB_MAPFILES.
10236
e6e50811
AG
102372010-01-04 Anthony Green <green@moxielogic.com>
10238
10239 * config/moxie/crti.asm, config/moxie/crtn.asm,
10240 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
10241 config/moxie/t-moxie: New files.
10242 * config.host: Add t-moxie-softfp reference.
10243
7d296953 102442009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
ca8520ad
IS
10245
10246 PR other/39888
10247 * config/t-slibgcc-darwin: Fix embedded rpaths for
10248 --enable-version-specific-runtime-libs, build extension stub
10249 libs exposing features available from current libgcc_s.
10250
7d296953 102512009-11-11 Jon Beniston <jon@beniston.com>
aa4945c1 10252
d78552bd
UB
10253 * config.host: Add lm32 targets.
10254 * config/lm32: New directory.
10255 * config/lm32/libgcc_lm32.h: New file.
10256 * config/lm32/_mulsi3.c: New file.
10257 * config/lm32/_udivmodsi4.c: New file.
10258 * config/lm32/_divsi3.c: New file.
10259 * config/lm32/_modsi3.c: New file.
10260 * config/lm32/_udivsi3.c: New file.
10261 * config/lm32/_umodsi3.c: New file.
10262 * config/lm32/_lshrsi3.S: New file.
10263 * config/lm32/_ashrsi3.S: New file.
10264 * config/lm32/_ashlsi3.S: New file.
10265 * config/lm32/crti.S: New file.
10266 * config/lm32/crtn.S: New file.
10267 * config/lm32/t-lm32: New file.
10268 * config/lm32/t-elf: New file.
10269 * config/lm32/t-uclinux: New file.
aa4945c1 10270
65a324b4
NC
102712009-10-26 Nick Clifton <nickc@redhat.com>
10272
10273 * config.host: Add support for RX target.
10274 * config/rx: New directory.
10275 * config/rx/rx-abi-functions.c: New file. Supplementary
10276 functions for libgcc to support the RX ABI.
10277 * config/rx/rx-abi.h: New file. Supplementary header file for
10278 libgcc RX ABI functions.
10279 * config/rx/t-rx: New file: Makefile fragment for building
10280 libgcc for the RX.
10281
dfb3b0e3
UB
102822009-10-09 Uros Bizjak <ubizjak@gmail.com>
10283
10284 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
10285 constraint of y0 to "g".
10286
81dd9fd7
AK
102872009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10288
10289 * config.host: Include the s390 makefile fragments.
10290 * config/s390/32/_fixdfdi.c: New file.
10291 * config/s390/32/_fixsfdi.c: New file.
10292 * config/s390/32/_fixtfdi.c: New file.
10293 * config/s390/32/_fixunsdfdi.c: New file.
10294 * config/s390/32/_fixunssfdi.c: New file.
10295 * config/s390/32/_fixunstfdi.c: New file.
10296 * config/s390/32/t-floattodi: New file.
10297 * config/s390/libgcc-glibc.ver: New file.
10298 * config/s390/t-crtstuff: New file.
10299 * config/s390/t-linux: New file.
10300 * config/s390/t-tpf: New file.
10301
df58e648
RW
103022009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
10303
10304 * configure.ac (AC_PREREQ): Bump to 2.64.
10305
79052be3
KK
103062009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
10307
10308 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
10309
5213506e
RW
103102009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
10311
10312 * configure: Regenerate.
10313
a9a25daa
DR
103142009-08-09 Douglas B Rupp <rupp@gnat.com>
10315
10316 * config.host (ia64-hp-*vms*): New target.
10317 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
10318 with ia64-hp-*vms*.
10319
6efbd53f
RW
103202009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
10321
10322 * configure.ac: Add snippet for maintainer-mode.
10323 * configure: Regenerate.
10324 * Makefile.in (AUTOCONF, configure_deps): New variables.
10325 ($(srcdir)/configure)): New rule, active only with maintainer
10326 mode turned on.
10327
7acf4da6
DD
103282009-06-23 DJ Delorie <dj@redhat.com>
10329
10330 Add MeP port.
10331 * config.host: Add mep support.
10332
54f549af
KT
103332009-06-22 Kai Tietz <kai.tietz@onevision.com>
10334
34481f28 10335 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 10336 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
34481f28
UB
10337
10338 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
10339 for mingw targets.
54f549af
KT
10340 * config/i386/64/_multc3.c: Likewise.
10341 * config/i386/64/_powitf2.c: Likewise.
10342 * config/i386/64/eqtf2.c: Likewise.
10343 * config/i386/64/getf2.c: Likewise.
10344 * config/i386/64/letf2.c: Likewise.
10345 * config/i386/64/letf2.c: Likewise.
34481f28
UB
10346 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
10347 unsigned long long for x64 mingw targets.
10348 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
10349 (_FP_I_TYPE): Define as long long for x64 mingw target.
54f549af 10350
fea96e25
MR
103512009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
10352
10353 * config.host (vax-*-linux*): New.
10354
cceb575c
AG
103552009-05-31 Anthony Green <green@moxielogic.com>
10356
10357 * config.host: Add moxie support.
10358 * config/moxie/t-moxie: New file.
10359
7d296953 103602009-05-29 David Billinghurst <billingd@gcc.gnu.org>
e997fb9c
DB
10361
10362 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 10363 t-softfp to tmake_file for i[34567]86-*-cygwin*.
e997fb9c 10364
532bfb0a
AJ
103652009-04-17 Aurelien Jarno <aurelien@aurel32.net>
10366
10367 * config.host: Add i386/${host_address}/t-fprules-softfp to
10368 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
10369
748086b7
JJ
103702009-04-09 Nick Clifton <nickc@redhat.com>
10371
10372 * config/ia64/tf-signs.c: Change copyright header to refer to
10373 version 3 of the GNU General Public License with version 3.1
10374 of the GCC Runtime Library Exception and to point readers at
10375 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
10376 web page.
10377 * config/i386/32/tf-signs.c: Likewise.
10378 * config/libbid/_addsub_dd.c: Likewise.
10379 * config/libbid/_addsub_sd.c: Likewise.
10380 * config/libbid/_addsub_td.c: Likewise.
10381 * config/libbid/_dd_to_df.c: Likewise.
10382 * config/libbid/_dd_to_di.c: Likewise.
10383 * config/libbid/_dd_to_sd.c: Likewise.
10384 * config/libbid/_dd_to_sf.c: Likewise.
10385 * config/libbid/_dd_to_si.c: Likewise.
10386 * config/libbid/_dd_to_td.c: Likewise.
10387 * config/libbid/_dd_to_tf.c: Likewise.
10388 * config/libbid/_dd_to_udi.c: Likewise.
10389 * config/libbid/_dd_to_usi.c: Likewise.
10390 * config/libbid/_dd_to_xf.c: Likewise.
10391 * config/libbid/_df_to_dd.c: Likewise.
10392 * config/libbid/_df_to_sd.c: Likewise.
10393 * config/libbid/_df_to_td.c: Likewise.
10394 * config/libbid/_di_to_dd.c: Likewise.
10395 * config/libbid/_di_to_sd.c: Likewise.
10396 * config/libbid/_di_to_td.c: Likewise.
10397 * config/libbid/_div_dd.c: Likewise.
10398 * config/libbid/_div_sd.c: Likewise.
10399 * config/libbid/_div_td.c: Likewise.
10400 * config/libbid/_eq_dd.c: Likewise.
10401 * config/libbid/_eq_sd.c: Likewise.
10402 * config/libbid/_eq_td.c: Likewise.
10403 * config/libbid/_ge_dd.c: Likewise.
10404 * config/libbid/_ge_sd.c: Likewise.
10405 * config/libbid/_ge_td.c: Likewise.
10406 * config/libbid/_gt_dd.c: Likewise.
10407 * config/libbid/_gt_sd.c: Likewise.
10408 * config/libbid/_gt_td.c: Likewise.
10409 * config/libbid/_isinfd128.c: Likewise.
10410 * config/libbid/_isinfd32.c: Likewise.
10411 * config/libbid/_isinfd64.c: Likewise.
10412 * config/libbid/_le_dd.c: Likewise.
10413 * config/libbid/_le_sd.c: Likewise.
10414 * config/libbid/_le_td.c: Likewise.
10415 * config/libbid/_lt_dd.c: Likewise.
10416 * config/libbid/_lt_sd.c: Likewise.
10417 * config/libbid/_lt_td.c: Likewise.
10418 * config/libbid/_mul_dd.c: Likewise.
10419 * config/libbid/_mul_sd.c: Likewise.
10420 * config/libbid/_mul_td.c: Likewise.
10421 * config/libbid/_ne_dd.c: Likewise.
10422 * config/libbid/_ne_sd.c: Likewise.
10423 * config/libbid/_ne_td.c: Likewise.
10424 * config/libbid/_sd_to_dd.c: Likewise.
10425 * config/libbid/_sd_to_df.c: Likewise.
10426 * config/libbid/_sd_to_di.c: Likewise.
10427 * config/libbid/_sd_to_sf.c: Likewise.
10428 * config/libbid/_sd_to_si.c: Likewise.
10429 * config/libbid/_sd_to_td.c: Likewise.
10430 * config/libbid/_sd_to_tf.c: Likewise.
10431 * config/libbid/_sd_to_udi.c: Likewise.
10432 * config/libbid/_sd_to_usi.c: Likewise.
10433 * config/libbid/_sd_to_xf.c: Likewise.
10434 * config/libbid/_sf_to_dd.c: Likewise.
10435 * config/libbid/_sf_to_sd.c: Likewise.
10436 * config/libbid/_sf_to_td.c: Likewise.
10437 * config/libbid/_si_to_dd.c: Likewise.
10438 * config/libbid/_si_to_sd.c: Likewise.
10439 * config/libbid/_si_to_td.c: Likewise.
10440 * config/libbid/_td_to_dd.c: Likewise.
10441 * config/libbid/_td_to_df.c: Likewise.
10442 * config/libbid/_td_to_di.c: Likewise.
10443 * config/libbid/_td_to_sd.c: Likewise.
10444 * config/libbid/_td_to_sf.c: Likewise.
10445 * config/libbid/_td_to_si.c: Likewise.
10446 * config/libbid/_td_to_tf.c: Likewise.
10447 * config/libbid/_td_to_udi.c: Likewise.
10448 * config/libbid/_td_to_usi.c: Likewise.
10449 * config/libbid/_td_to_xf.c: Likewise.
10450 * config/libbid/_tf_to_dd.c: Likewise.
10451 * config/libbid/_tf_to_sd.c: Likewise.
10452 * config/libbid/_tf_to_td.c: Likewise.
10453 * config/libbid/_udi_to_dd.c: Likewise.
10454 * config/libbid/_udi_to_sd.c: Likewise.
10455 * config/libbid/_udi_to_td.c: Likewise.
10456 * config/libbid/_unord_dd.c: Likewise.
10457 * config/libbid/_unord_sd.c: Likewise.
10458 * config/libbid/_unord_td.c: Likewise.
10459 * config/libbid/_usi_to_dd.c: Likewise.
10460 * config/libbid/_usi_to_sd.c: Likewise.
10461 * config/libbid/_usi_to_td.c: Likewise.
10462 * config/libbid/_xf_to_dd.c: Likewise.
10463 * config/libbid/_xf_to_sd.c: Likewise.
10464 * config/libbid/_xf_to_td.c: Likewise.
10465 * config/libbid/bid128.c: Likewise.
10466 * config/libbid/bid128_2_str.h: Likewise.
10467 * config/libbid/bid128_2_str_macros.h: Likewise.
10468 * config/libbid/bid128_2_str_tables.c: Likewise.
10469 * config/libbid/bid128_add.c: Likewise.
10470 * config/libbid/bid128_compare.c: Likewise.
10471 * config/libbid/bid128_div.c: Likewise.
10472 * config/libbid/bid128_fma.c: Likewise.
10473 * config/libbid/bid128_logb.c: Likewise.
10474 * config/libbid/bid128_minmax.c: Likewise.
10475 * config/libbid/bid128_mul.c: Likewise.
10476 * config/libbid/bid128_next.c: Likewise.
10477 * config/libbid/bid128_noncomp.c: Likewise.
10478 * config/libbid/bid128_quantize.c: Likewise.
10479 * config/libbid/bid128_rem.c: Likewise.
10480 * config/libbid/bid128_round_integral.c: Likewise.
10481 * config/libbid/bid128_scalb.c: Likewise.
10482 * config/libbid/bid128_sqrt.c: Likewise.
10483 * config/libbid/bid128_string.c: Likewise.
10484 * config/libbid/bid128_to_int16.c: Likewise.
10485 * config/libbid/bid128_to_int32.c: Likewise.
10486 * config/libbid/bid128_to_int64.c: Likewise.
10487 * config/libbid/bid128_to_int8.c: Likewise.
10488 * config/libbid/bid128_to_uint16.c: Likewise.
10489 * config/libbid/bid128_to_uint32.c: Likewise.
10490 * config/libbid/bid128_to_uint64.c: Likewise.
10491 * config/libbid/bid128_to_uint8.c: Likewise.
10492 * config/libbid/bid32_to_bid128.c: Likewise.
10493 * config/libbid/bid32_to_bid64.c: Likewise.
10494 * config/libbid/bid64_add.c: Likewise.
10495 * config/libbid/bid64_compare.c: Likewise.
10496 * config/libbid/bid64_div.c: Likewise.
10497 * config/libbid/bid64_fma.c: Likewise.
10498 * config/libbid/bid64_logb.c: Likewise.
10499 * config/libbid/bid64_minmax.c: Likewise.
10500 * config/libbid/bid64_mul.c: Likewise.
10501 * config/libbid/bid64_next.c: Likewise.
10502 * config/libbid/bid64_noncomp.c: Likewise.
10503 * config/libbid/bid64_quantize.c: Likewise.
10504 * config/libbid/bid64_rem.c: Likewise.
10505 * config/libbid/bid64_round_integral.c: Likewise.
10506 * config/libbid/bid64_scalb.c: Likewise.
10507 * config/libbid/bid64_sqrt.c: Likewise.
10508 * config/libbid/bid64_string.c: Likewise.
10509 * config/libbid/bid64_to_bid128.c: Likewise.
10510 * config/libbid/bid64_to_int16.c: Likewise.
10511 * config/libbid/bid64_to_int32.c: Likewise.
10512 * config/libbid/bid64_to_int64.c: Likewise.
10513 * config/libbid/bid64_to_int8.c: Likewise.
10514 * config/libbid/bid64_to_uint16.c: Likewise.
10515 * config/libbid/bid64_to_uint32.c: Likewise.
10516 * config/libbid/bid64_to_uint64.c: Likewise.
10517 * config/libbid/bid64_to_uint8.c: Likewise.
10518 * config/libbid/bid_b2d.h: Likewise.
10519 * config/libbid/bid_binarydecimal.c: Likewise.
10520 * config/libbid/bid_conf.h: Likewise.
10521 * config/libbid/bid_convert_data.c: Likewise.
10522 * config/libbid/bid_decimal_data.c: Likewise.
10523 * config/libbid/bid_decimal_globals.c: Likewise.
10524 * config/libbid/bid_div_macros.h: Likewise.
10525 * config/libbid/bid_dpd.c: Likewise.
10526 * config/libbid/bid_flag_operations.c: Likewise.
10527 * config/libbid/bid_from_int.c: Likewise.
10528 * config/libbid/bid_functions.h: Likewise.
10529 * config/libbid/bid_gcc_intrinsics.h: Likewise.
10530 * config/libbid/bid_inline_add.h: Likewise.
10531 * config/libbid/bid_internal.h: Likewise.
10532 * config/libbid/bid_round.c: Likewise.
10533 * config/libbid/bid_sqrt_macros.h: Likewise.
10534
105352009-04-09 Jakub Jelinek <jakub@redhat.com>
10536
10537 * Makefile.in: Change copyright header to refer to version
10538 3 of the GNU General Public License and to point readers at the
10539 COPYING3 file and the FSF's license web page.
10540 * config.host: Likewise.
10541
633dd061
AM
105422009-04-07 Alan Modra <amodra@bigpond.net.au>
10543
10544 * config.host: Reorder and merge to match config.gcc change.
10545
457d1d00
AM
105462009-04-03 Alan Modra <amodra@bigpond.net.au>
10547
10548 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
10549
52c0e446
JM
105502009-03-28 Joseph Myers <joseph@codesourcery.com>
10551
10552 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
10553 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
10554 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
10555 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
10556
ba181049
UB
105572009-02-12 Uros Bizjak <ubizjak@gmail.com>
10558
10559 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
10560 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
10561
c252db20
L
105622009-02-12 H.J. Lu <hongjiu.lu@intel.com>
10563
ba181049
UB
10564 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
10565 ia64/t-softfp-compat to tmake_file.
c252db20
L
10566
10567 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
10568
10569 * config/ia64/__divxf3.asm: New.
10570 * config/ia64/_fixtfdi.asm: Likewise.
10571 * config/ia64/_fixunstfdi.asm: Likewise.
10572 * config/ia64/_floatditf.asm: Likewise.
10573 * config/ia64/t-fprules-softfp: Likewise.
10574 * config/ia64/t-softfp-compat: Likewise.
10575 * config/ia64/tf-signs.c: Likewise.
10576
c60535f9
BE
105772009-01-18 Ben Elliston <bje@au.ibm.com>
10578
10579 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
10580
ce16861e
BE
105812009-01-16 Ben Elliston <bje@au.ibm.com>
10582
10583 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
10584 to tmake_file.
10585
bcf4713b
BE
105862009-01-13 Ben Elliston <bje@au.ibm.com>
10587
10588 * config/t-softfp: New file.
10589 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
10590 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
10591
7d296953 105922009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
2042cb04
JS
10593
10594 * config.host: Add m32r*-*-rtems*.
10595
7d296953 105962008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
541ed00e
JS
10597
10598 * config.host: Add m32c*-*-rtems*.
10599
19523300
RO
106002008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10601
10602 PR bootstrap/33100
10603 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
10604 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
10605 * configure: Regenerate.
10606 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
10607 tmake_file here from gcc/config.gcc.
10608 Move extra_parts here from gcc/config.gcc.
10609 * config/i386/t-sol2: Move here from gcc/config/i386.
10610 Use gcc_srcdir instead of srcdir.
10611
0a4a51c7
AN
106122008-11-18 Adam Nemet <anemet@caviumnetworks.com>
10613
10614 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
10615 case.
10616
2a761e46
TS
106172008-11-09 Thomas Schwinge <tschwinge@gnu.org>
10618
10619 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
10620
c0451df7
TS
106212008-10-08 Thomas Schwinge <tschwinge@gnu.org>
10622
10623 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
10624
358da97e
HS
106252008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
10626
10627 Add picoChip port.
10628 * config.host: Add picochip-*-*.
10629
c660f132
BW
106302008-08-06 Bob Wilson <bob.wilson@acm.org>
10631
10632 * config.host: Match more processor names for Xtensa.
10633
d1349557
L
106342008-07-08 H.J. Lu <hongjiu.lu@intel.com>
10635
10636 * config/i386/64/t-softfp-compat: Update comments.
10637
dd7b73c0
L
106382008-07-07 H.J. Lu <hongjiu.lu@intel.com>
10639
10640 * config/i386/64/_divtc3-compat.c: Moved to ...
10641 * config/i386/64/_divtc3.c: Here.
10642
10643 * config/i386/64/_multc3-compat.c: Moved to ...
10644 * config/i386/64/_multc3.c: Here.
10645
10646 * config/i386/64/_powitf2-compat.c: Moved to ...
10647 * config/i386/64/_powitf2.c: Here.
10648
10649 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
10650 .c suffix instead of -compat.c.
10651
6e1fab3d
UB
106522008-07-05 Uros Bizjak <ubizjak@gmail.com>
10653
10654 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
10655 (_FP_MUL_MEAT_D): Ditto.
10656 (_FP_DIV_MEAT_S): Ditto.
10657 (_FP_DIV_MEAT_D): Ditto.
10658
f92518d7
RS
106592008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
10660
10661 * Makefile.in: Add support for __sync_* libgcc functions.
10662
d0aede14
L
106632008-07-03 H.J. Lu <hongjiu.lu@intel.com>
10664
10665 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
10666
c174f11c
L
106672008-07-02 H.J. Lu <hongjiu.lu@intel.com>
10668
10669 PR boostrap/36702
10670 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
10671 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
10672
10673 * config/i386/64/t-fprules-softfp: Moved to ...
10674 * config/i386/64/t-softfp-compat: This. New.
10675
5f464fa2
UB
106762008-07-02 Uros Bizjak <ubizjak@gmail.com>
10677
10678 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
10679 Initialize f with 0.0.
10680
ff473280
L
106812008-07-02 H.J. Lu <hongjiu.lu@intel.com>
10682
10683 PR target/36669
10684 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
10685
10686 * config/i386/64/_divtc3-compat.c: New.
10687 * config/i386/64/_multc3-compat.c: Likewise.
10688 * config/i386/64/_powitf2-compat.c: Likewise.
10689 * config/i386/64/eqtf2.c: Likewise.
10690 * config/i386/64/getf2.c: Likewise.
10691 * config/i386/64/letf2.c: Likewise.
10692 * config/i386/64/t-fprules-softfp: Likewise.
10693
106942008-07-02 H.J. Lu <hongjiu.lu@intel.com>
10695
10696 * config.host: Add i386/${host_address}/t-fprules-softfp to
10697 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
dfb3b0e3 10698 i[34567]86-*-linux*, x86_64-*-linux*.
ff473280
L
10699
10700 * configure.ac: Set host_address to 64 or 32 for x86.
10701 * configure: Regenerated.
10702
10703 * Makefile.in (config.status): Also depend on
10704 $(srcdir)/config.host.
10705
10706 * config/i386/32/t-fprules-softfp: New.
10707 * config/i386/32/tf-signs.c: Likewise.
10708
10709 * config/i386/64/sfp-machine.h: New. Moved from gcc.
10710
107112008-07-02 H.J. Lu <hongjiu.lu@intel.com>
10712 Uros Bizjak <ubizjak@gmail.com>
10713
10714 * config/i386/32/sfp-machine.h: New.
10715
30551d99
NF
107162008-06-26 Nathan Froyd <froydnj@codesourcery.com>
10717
10718 * config/rs6000/t-ppccomm: Remove rules that conflict with
10719 auto-generated rules.
10720
18c04407
RW
107212008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
10722
10723 * configure.ac: sinclude override.m4.
10724 * configure: Regenerate.
10725
10fbe77a
BRF
107262008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
10727
10728 * configure: Regenerate.
10729
bc6d4c3f
JM
107302008-06-10 Joseph Myers <joseph@codesourcery.com>
10731
10732 * Makefile.in (DECNUMINC): Remove
10733 -I$(MULTIBUILDTOP)../../libdecnumber.
10734 * gstdint.h: New.
10735
cd985f66
JM
107362008-06-07 Joseph Myers <joseph@codesourcery.com>
10737
10738 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
10739 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
10740 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
10741 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
10742 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
10743 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
10744 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
10745 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
10746 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
10747 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
10748 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
10749 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
10750 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
10751 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
10752
93fea8d3
AL
107532008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
10754
10755 * config.host (sh2[lbe]*-*-linux*): Allow target.
10756
18724e30
NF
107572008-04-30 Nathan Froyd <froydnj@codesourcery.com>
10758
10759 * config/rs6000/t-ppccomm: Add build rules for new files.
10760 (LIB2ADD_ST): New variable.
10761
47583040
AH
107622008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
10763
10764 PR target/34210
10765 PR target/35508
10766 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
10767 * config/t-avr: New file. Build 16bit libgcc functions.
10768
cf8e67fe
JJ
107692008-03-02 Jakub Jelinek <jakub@redhat.com>
10770
10771 PR target/35401
10772 * config/t-slibgcc-darwin: Make install-leaf dependent on
10773 install-darwin-libgcc-stubs instead of install.
10774
8d8da227
JM
107752008-01-25 Joseph Myers <joseph@codesourcery.com>
10776
10777 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
10778 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
10779 sh-*-rtemscoff*): Remove cases.
10780
edbf8b16
RS
107812007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
10782
10783 * Makefile.in (all): Use install-leaf rather than install.
10784 (install): Split most of the rule into...
10785 (install-leaf): ...this new one.
10786
89deeaff
EK
107872007-12-19 Etsushi Kato <ek.kato@gmail.com>
10788 Paolo Bonzini <bonzini@gnu.org>
10789
10790 PR target/30572
5f464fa2
UB
10791 * Makefile.in: Use @shlib_slibdir@ substitution to get
10792 correct install name on darwin.
89deeaff 10793 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
dfb3b0e3 10794
4081d704
HPN
107952007-12-15 Hans-Peter Nilsson <hp@axis.com>
10796
10797 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
10798 cris-*-elf and cris-*-none.
10799 (crisv32-*-linux*): Similar, as cris-*-linux*.
10800
f43e89a3
RIL
108012007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
10802
10803 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
10804
b4e9c2c6
L
108052007-10-27 H.J. Lu <hongjiu.lu@intel.com>
10806
10807 PR regression/33926
10808 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
10809 * configure: Regenerated.
10810
b2a00c89
L
108112007-09-27 H.J. Lu <hongjiu.lu@intel.com>
10812
10813 * Makefile.in (dfp-filenames): Replace decimal_globals,
10814 decimal_data, binarydecimal and convert_data with
10815 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
10816 and bid_convert_data, respectively.
10817
8d2a9e0e
CF
108182007-09-17 Chao-ying Fu <fu@mips.com>
10819 Nigel Stephens <nigel@mips.com>
10820
10821 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
10822 * Makefile.in (fixed_point): Define.
10823 Check if fixed_point is yes to build support functions.
10824 * configure.ac: Check for fixed_point support.
10825 * configure: Regenerated.
10826 * gen-fixed.sh: New file to generate lists of fixed-point labels,
10827 funcs, modes, from, to.
10828
2b53935d
JJ
108292007-09-11 Janis Johnson <janis187@us.ibm.com
10830
10831 * Makefile.in (dfp-filenames): Add bid128_noncomp.
10832
2533577f
JJ
108332007-09-10 Janis Johnson <janis187@us.ibm.com>
10834
10835 * Makefile.in (dfp-filenames): Remove decUtility, add
10836 decDouble, decPacked, decQuad, decSingle.
10837
3ae3dbd6
HK
108382007-08-27 Hans Kester <hans.kester@ellips.nl>
10839
10840 * config.host : Add x86_64-elf target.
10841
22867d02
L
108422007-07-06 H.J. Lu <hongjiu.lu@intel.com>
10843
10844 * configure.ac (set_have_cc_tls): Add a missing =.
10845 * configure: Regenerated.
10846
6f461e76
L
108472007-07-06 H.J. Lu <hongjiu.lu@intel.com>
10848
10849 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
10850 and x86_64-*-linux*.
10851
10852 * config/t-tls: New file.
10853
dfb3b0e3 10854 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
6f461e76
L
10855
10856 * configure.ac: Include ../config/enable.m4 and
10857 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
10858 supports TLS and substitute set_have_cc_tls.
10859 * configure: Regenerated.
10860
200359e8
L
108612007-07-04 H.J. Lu <hongjiu.lu@intel.com>
10862
10863 * Makefile.in: Use libbid for DFP when BID is enabled.
10864
76f5e200
DS
108652007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
10866
10867 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
dfb3b0e3 10868 extra_parts. Add config/i386/t-cygming to tmake_file.
76f5e200
DS
10869 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
10870
9bd196f0 108712007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
200359e8 10872 Danny Smith <dannysmith@users.sourceforge.net>
9bd196f0
ZM
10873
10874 PR target/29498
10875 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
10876 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
10877 * config/i386/t-crtfm: Compile crtfastmath.o with
10878 -minline-all-stringops.
10879
1910440e
RS
108802007-05-10 Richard Sandiford <richard@codesourcery.com>
10881
10882 * config.host (sparc-wrs-vxworks): New target.
10883
7d33c31d
KH
108842007-04-14 Kazu Hirata <kazu@codesourcery.com>
10885
10886 * config.host: Recognize fido.
10887
96fccd0d
JJ
108882007-04-04 Janis Johnson <janis187@us.ibm.com>
10889
10890 * configure: Check host, not target, for decimal float support.
10891
577565f9
UB
108922007-04-03 Uros Bizjak <ubizjak@gmail.com>
10893
10894 * config/i386/t-crtpc: New file.
10895 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
5f464fa2 10896 (x86_64-*-linux*): Ditto.
577565f9 10897
ccf8e764
RH
108982007-02-30 Kai Tietz <kai.tietz@onevision.com>
10899
10900 * config.host (x86_64-*-mingw*): New target.
10901
79b87c74
MM
109022007-03-23 Michael Meissner <michael.meissner@amd.com>
10903 H.J. Lu <hongjiu.lu@intel.com>
10904
10905 * Makefile.in (enable_decimal_float): New.
10906 (DECNUMINC): Add
10907 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
10908 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
10909 (decbits-filenames): This.
10910 (decbits-objects): New.
10911 (libgcc-objects): Add $(decbits-objects).
10912
10913 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
10914 Substitute enable_decimal_float.
10915 * configure: Regenerated.
10916
8fce4e31
HPN
109172007-03-19 Hans-Peter Nilsson <hp@axis.com>
10918
10919 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
10920
e8bb4597
BM
109212007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
10922
10923 * Makefile.in (install-info): New dummy target.
10924
344189f9
BS
109252007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
10926
10927 * config.host (bfin*-linux-uclibc*): Set extra_parts.
10928
ac84c172
BM
109292007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
10930
10931 * Makefile.in: Add install-html and install-pdf dummy
10932 targets.
10933
cd5c2357
RS
109342007-02-05 Roger Sayle <roger@eyesopen.com>
10935 Daniel Jacobowitz <dan@codesourcery.com>
10936
10937 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
10938 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
10939 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
10940
d9a66f98
JJ
109412007-01-29 Janis Johnson <janis187@us.ibm.com>
10942
10943 * Makefile.in (dec-filenames): Add decExcept.
10944
9891ec5f
DJ
109452007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
10946
10947 PR bootstrap/30469
10948 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
10949 -fprofile-use.
10950
d6efbf5a
DJ
109512007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
10952
10953 * configure.ac: Add --enable-version-specific-runtime-libs.
10954 Correct $slibdir default.
10955 * configure: Regenerated.
10956
17caeff2
JM
109572007-01-23 Joseph Myers <joseph@codesourcery.com>
10958
10959 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
10960
5ea41e3a
AP
109612007-01-21 Andrew Pinski <pinskia@gmail.com>
10962
10963 PR target/30519
10964 * config.host (alpha*-*-linux*): Set extra_parts.
10965
26900826
KK
109662007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
10967
10968 * config/sh/t-linux: New.
10969 * config.host (sh*-*-linux*): Set tmake_file.
10970
97af925b
DJ
109712007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
10972
10973 * Makefile.in (install): Handle multilibs.
10974
b0088af7
BM
109752007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
10976
10977 * Makefile.in: Added .PHONY entry for documentation targets.
10978
e0a9456a
BM
109792007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
10980
10981 * Makefile.in: Add empty info, html, dvi, pdf targets.
10982
7fd453b4
MS
109832007-01-04 Mike Stump <mrs@apple.com>
10984
10985 * Makefile.in (MAKEINFO): Remove.
10986 (PERL): Likewise.
10987
14e8fc8b
PB
109882007-01-04 Paolo Bonzini <bonzini@gnu.org>
10989
10990 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
10991 * configure: Regenerate.
10992 * Makefile.in (host_subdir): Substitute it.
dfb3b0e3 10993 (gcc_objdir): Use it.
14e8fc8b 10994
1555beba
DJ
109952007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
10996
10997 * config.host (ia64*-*-linux*): Set tmake_file.
10998
79e6eaeb
DJ
109992007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
11000
11001 * Makefile.in (version): Define.
11002
fa958513
DJ
110032007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
11004 Paolo Bonzini <bonzini@gnu.org>
11005
11006 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
11007 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
11008 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
11009 config/sparc/t-crtfm, config/t-slibgcc-darwin,
11010 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
11011 shared-object.mk, siditi-object.mk, static-object.mk: New files.
11012 * configure: Generated.
818ab71a 11013\f
8d9254fc 11014Copyright (C) 2007-2020 Free Software Foundation, Inc.
818ab71a
JJ
11015
11016Copying and distribution of this file, with or without modification,
11017are permitted in any medium without royalty provided the copyright
11018notice and this notice are preserved.