]> git.ipfire.org Git - thirdparty/gcc.git/blame - libgcc/ChangeLog
c: Allow duplicate C2x standard attributes
[thirdparty/gcc.git] / libgcc / ChangeLog
CommitLineData
efe71fcc
GA
12020-10-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2
3 * config/gthr-vxworks-thread.c: #include gthr.h before
4 testing the guard defined there.
5 * config/gthr-vxworks-cond.c: Likewise.
6
56ddd5e2
GA
72020-10-21 Douglas Rupp <rupp@adacore.com>
8 Olivier Hainque <hainque@adacore.com>
9
10 * config.host (powerpc*-wrs-vxworks7*): New case.
11 * configure.ac: Handle powerpc*-*-vxworks7* as
12 powerpc*-*-linux* for ppc-fp_type.
13 * configure: Regenerate.
14
56e4eee9
GA
152020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
16
17 * config/gthr-vxworks.h: Condition the ___GTHREADS_CXX0X
18 section on VxWorks >= 6.
19 * config/gthr-vxworks-thread.c: Condition the entire
20 implementation on __GTHREAD_CXX0X.
21
222020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
23
24 * config/gthr-vxworks.h: Condition the __GTHREAD_HAS_COND
25 section on VxWorks >= 6.
26 * config/gthr-vxworks-cond.c: Condition the entire
27 implementation on __GTHREAD_HAS_COND.
28
292020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
30
31 * config/gthr-vxworks.c: #include <taskLib.h>.
32
332020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
34
35 * config/gthr-vxworks.h: Rewrite remaining occurrence
36 of _VXW_PRE_69 as _VXWORKS_PRE(6,9).
37
382020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
39 Olivier Hainque <hainque@adacore.com>
40
41 * config/gthr-vxworks-tls.c (VX_ENTER_TLS_DTOR): Nil
42 except on VxWorks 6.
43
442020-10-16 Olivier Hainque <hainque@adacore.com>
45
46 * config/t-vxcrtstuff: Remove the -kernel/-rtp specialization.
47
b2698c21
GA
482020-10-14 Alexandre Oliva <oliva@adacore.com>
49
50 * config/gthr-vxworks-thread.c: Include stdlib.h.
51 (tls_delete_hook): Prototype it.
52 (__gthread_cond_signal): Return early if no waiters. Consume
53 signal in case the semaphore got full. Use semInfoGet instead
54 of kernel-mode-only semInfo.
55 (__gthread_cond_timedwait): Use semExchange. Always take the
56 mutex again before returning.
57 * config/gthr-vxworks-cond.c (__ghtread_cond_wait): Likewise.
58
592020-10-14 Olivier Hainque <hainque@adacore.com>
60
61 * config/t-vxworks (LIBGCC2_INCLUDES): Append
62 $(MULTISUBDIR) to the -I path for fixed headers, as we
63 arrange to have different sets of such headers for different
64 multilibs when they are activated.
65 * config/t-vxworks7: Likewise.
66
672020-10-14 Olivier Hainque <hainque@adacore.com>
68
69 * config/t-vxworks: Add include-fixed to include search
70 paths for libgcc on VxWorks.
71 * config/t-vxworks7: Likewise.
72
c74a0e82
GA
732020-10-09 H.J. Lu <hjl.tools@gmail.com>
74
75 PR target/97148
76 * config/i386/shadow-stack-unwind.h: Include <x86gprintrin.h>
77 instead of <cetintrin.h>.
78
6c2675fa
GA
792020-10-01 Alan Modra <amodra@gmail.com>
80
81 * config/rs6000/morestack.S,
82 * config/rs6000/tramp.S: Support __PCREL__ code.
83
842020-10-01 Alan Modra <amodra@gmail.com>
85
86 * config/rs6000/t-linux: Document purpose of -mno-minimal-toc.
87
93bca37c
GA
882020-09-29 Maciej W. Rozycki <macro@wdc.com>
89
90 * config/riscv/t-elf (LIB2_DIVMOD_EXCEPTION_FLAGS): New
91 variable.
92
e84761c6
GA
932020-09-28 Richard Sandiford <richard.sandiford@arm.com>
94
95 * config/aarch64/libgcc-softfp.ver: New file.
96 * config/aarch64/t-softfp (SHLIB_MAPFILES): Add it.
97
4383c595
GA
982020-09-27 Clement Chigot <clement.chigot@atos.net>
99
100 * config/rs6000/t-slibgcc-aix: Use $(AR) without -X32_64.
101
521d2711
GA
1022020-09-22 Sergei Trofimovich <siarheit@google.com>
103
104 PR gcov-profile/96913
105 * libgcov-driver.c (write_one_data): Avoid function pointer
106 comparison in TOP streaming decision.
107
2aad20c0
GA
1082020-09-17 Torbjörn SVENSSON <torbjorn.svensson@st.com>
109 Christophe Lyon <christophe.lyon@linaro.org>
110
111 * config/arm/fp16.c (__gnu_h2f_internal): Add 'static inline'
112 qualifier.
113 (__gnu_f2h_ieee, __gnu_h2f_ieee, __gnu_f2h_alternative)
114 (__gnu_h2f_alternative,__gnu_d2h_ieee, __gnu_d2h_alternative): Add
115 missing prototypes.
116
1172020-09-17 Wei Wentao <weiwt.fnst@cn.fujitsu.com>
118
119 * config/aarch64/aarch64-unwind.h (aarch64_demangle_return_addr): Fix
120 unused variable warning.
121
ecde1b0a
GA
1222020-09-16 Jojo R <jiejie_rong@c-sky.com>
123
124 * config.host (C-SKY): Enable crtbegin/crtend.o of libgcc for elf target.
125
80f86e78
GA
1262020-09-09 Tom de Vries <tdevries@suse.de>
127
128 * config/nvptx/atomic.c (__SYNC_SUBWORD_COMPARE_AND_SWAP): Fix
129 Wbuiltin-declaration-mismatch.
130
57ea0894
GA
1312020-08-26 Jozef Lawrynowicz <jozef.l@mittosystems.com>
132
133 * config/msp430/slli.S (__gnu_mspabi_sllp): New.
134 * config/msp430/srai.S (__gnu_mspabi_srap): New.
135 * config/msp430/srli.S (__gnu_mspabi_srlp): New.
136
b3cb5606
GA
1372020-08-13 Kwok Cheung Yeung <kcy@codesourcery.com>
138
139 * config/nvptx/atomic.c: New.
140 * config/nvptx/t-nvptx (LIB2ADD): Add atomic.c.
141
6a1ad710
GA
1422020-08-03 Ian Lance Taylor <iant@golang.org>
143
144 * config/i386/morestack.S (BACKOFF) [x86_64]: Add 2048 bytes.
145
1462020-08-03 Jakub Jelinek <jakub@redhat.com>
147
148 PR target/96402
149 * config/aarch64/lse.S (__aarch64_cas16_acq_rel): Use x2, x3 instead
150 of x(tmp0), x(tmp1) in STXP arguments.
151
48cc2e46
GA
1522020-07-31 Maciej W. Rozycki <macro@wdc.com>
153
154 * config/riscv/save-restore.S [__riscv_xlen == 64]
155 (__riscv_save_10, __riscv_save_8, __riscv_save_6, __riscv_save_4)
156 (__riscv_save_2): Replace negative immediates used for the final
157 stack pointer adjustment with positive ones, right-shifted by 4.
158
1592020-07-31 Martin Liska <mliska@suse.cz>
160
161 * libgcov-driver.c: Add __gcov_kvp_pool
162 and __gcov_kvp_pool_index variables.
163 * libgcov.h (allocate_gcov_kvp): New.
164 (gcov_topn_add_value): Use it.
165
53256ee3
GA
1662020-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
167
168 * config/aarch64/lse.S: Add PAC property note.
169
9bb403dc
GA
1702020-07-23 Martin Liska <mliska@suse.cz>
171
172 PR gcov-profile/96035
173 * libgcov-driver-system.c: Create gcov folders with 0777
174 so that it respects a system umask.
175
8ca07a30
GA
1762020-07-14 David Edelsohn <dje.gcc@gmail.com>
177
178 * config/rs6000/t-slibgcc-aix: Set BITS from compiler cpp macro.
179
ea69fcf9
GA
1802020-07-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
181
182 PR target/94891
183 * config/aarch64/aarch64-unwind.h (MD_POST_EXTRACT_ROOT_ADDR): Remove.
184 (MD_POST_FROB_EH_HANDLER_ADDR): Remove.
185 (MD_POST_EXTRACT_FRAME_ADDR): Rename to ...
186 (MD_DEMANGLE_RETURN_ADDR): This.
187 (aarch64_post_extract_frame_addr): Rename to ...
188 (aarch64_demangle_return_addr): This.
189 (aarch64_post_frob_eh_handler_addr): Remove.
190 * unwind-dw2.c (uw_update_context): Demangle return address.
191 (uw_frob_return_addr): Remove.
192
3f8ca9cb
GA
1932020-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
194
195 PR target/96001
196 * config/aarch64/lse.S: Add BTI marking and related definitions,
197 and add BTI c to function entries.
198
1992020-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
200
201 * config/aarch64/lse.S: Add stack note.
202
b5f24739
GA
2032020-07-02 Martin Liska <mliska@suse.cz>
204
205 PR gcov-profile/95348
206 * libgcov-driver.c (merge_one_data): Merge only profiles
207 that are not of non-zero type.
208 (write_one_data): Write counters only if there's one non-zero
209 value.
210 * libgcov-util.c (tag_function): Change signature from unsigned
211 to int.
212 (tag_blocks): Likewise.
213 (tag_arcs): Likewise.
214 (tag_counters): Likewise.
215 (tag_summary): Likewise.
216 (tag_lines): Read only if COUNTERS is non-zero.
217 (read_gcda_file): Handle negative length for COUNTERS type.
218
d61ffe12
GA
2192020-06-25 Martin Liska <mliska@suse.cz>
220
221 * libgcov-driver.c (merge_summary): Remove function as its name
222 is misleading and doing something different.
223 (dump_one_gcov): Add ATTRIBUTE_UNUSED for 2 args. Take read summary
224 in gcov-tool.
225 * libgcov-util.c (curr_object_summary): Remove.
226 (read_gcda_file): Remove unused curr_object_summary.
227 (gcov_merge): Merge summaries.
228 * libgcov.h: Add summary argument for gcov_info struct.
229
2e546c26
GA
2302020-06-24 H.J. Lu <hjl.tools@gmail.com>
231
232 PR target/95259
233 * config/i386/cpuinfo.c: Don't include "cpuinfo.h". Include
234 "common/config/i386/i386-cpuinfo.h" and
235 "common/config/i386/cpuinfo.h".
236 (__cpu_features2): Changed to array.
237 (get_amd_cpu): Removed.
238 (get_intel_cpu): Likewise.
239 (get_available_features): Likewise.
240 (__cpu_indicator_init): Call cpu_indicator_init.
241 * config/i386/cpuinfo.h: Removed.
242
4543acc8
GA
2432020-06-23 David Edelsohn <dje.gcc@gmail.com>
244
245 * Makefile.in: Remove uses of empty.mk. Use -include.
246 * config/avr/t-avr: Use -include.
247 * empty.mk: Delete.
248
f86e11a2
GA
2492020-06-21 David Edelsohn <dje.gcc@gmail.com>
250
251 * config.host (extra_parts): Add crtcxa_64 and crtdbase_64.
252 * config/rs6000/t-aix-cxa: Explicitly compile 32 bit with -maix32
253 and 64 bit with -maix64.
254 * config/rs6000/t-slibgcc-aix: Remove extra @multilib_dir@ level.
255 Build and install AIX-style FAT libraries.
256
aff95ee7
GA
2572020-06-17 Samuel Thibault <samuel.thibault@gnu.org>
258
259 * config.host (md_unwind_header) <i[34567]86-*-gnu*>: Set to
260 'i386/gnu-unwind.h'
261 * config/i386/gnu-unwind.h: New file.
262
2632020-06-17 Martin Liska <mliska@suse.cz>
264
265 * libgcov-util.c (read_gcda_finalize): Remove const operator.
266 (merge_wrapper): Add both counts and use them properly.
267 (topn_to_memory_representation): New function.
268 (gcov_merge): Covert on disk representation to in memory
269 representation.
270 * libgcov.h: Remove const operator.
271
6fb94d67
GA
2722020-06-15 Max Filippov <jcmvbkbc@gmail.com>
273
274 * configure: Regenerate.
275 * configure.ac: Use AC_COMPILE_IFELSE instead of manual
276 preprocessor invocation to check for __XTENSA_CALL0_ABI__.
277
b952c2cf
GA
2782020-06-09 Martin Liska <mliska@suse.cz>
279
280 PR gcov-profile/95494
281 * libgcov-driver.c (write_top_counters): Cast first to
282 intptr_t as sizeof(*) != sizeof(gcov_type).
283 * libgcov.h (gcov_counter_set_if_null): Remove.
284 (gcov_topn_add_value): Cast first to intptr_t and update
285 linked list directly.
286
2872020-06-09 Max Filippov <jcmvbkbc@gmail.com>
288
289 * config/xtensa/unwind-dw2-xtensa.c (uw_install_context): Merge
290 with uw_install_context_1.
291
3add3425
GA
2922020-06-04 Andreas Schwab <schwab@suse.de>
293
294 PR target/59230
295 PR libfortran/59227
296 * config/ia64/t-softfp-compat (softfp_file_list): Filter out
297 soft-fp/divtf3.c.
298 (LIB2ADD): Add config/ia64/divtf3.c.
299 * config/ia64/divtf3.c: New file.
300
9a5b7438
GA
3012020-06-03 Martin Liska <mliska@suse.cz>
302
303 PR gcov-profile/95480
304 * libgcov-profiler.c (GCOV_SUPPORTS_ATOMIC): Move to...
305 * libgcov.h (GCOV_SUPPORTS_ATOMIC): ...here.
306 (gcov_counter_add): Use GCOV_SUPPORTS_ATOMIC guard.
307 (gcov_counter_set_if_null): Likewise.
308
a9312a79
GA
3092020-06-02 Jim Wilson <jimw@sifive.com>
310
311 * config/riscv/div.S (__divdi3): For negative arguments, change bgez
312 to bgtz.
313
3142020-06-02 Martin Liska <mliska@suse.cz>
315
316 * libgcov.h (gcov_topn_add_value): Use xcalloc instead
317 of xmalloc.
318
3192020-06-02 Martin Liska <mliska@suse.cz>
320
321 * libgcov-driver.c (prune_topn_counter): Remove.
322 (prune_counters): Likewise.
323 (merge_one_data): Special case TOP N counters
324 as they have variable length.
325 (write_top_counters): New.
326 (write_one_data): Special case TOP N.
327 (dump_one_gcov): Do not prune TOP N counters.
328 * libgcov-merge.c (merge_topn_values_set): Remove.
329 (__gcov_merge_topn): Use gcov_topn_add_value.
330 * libgcov-profiler.c (__gcov_topn_values_profiler_body):
331 Likewise here.
332 * libgcov.h (gcov_counter_add): New.
333 (gcov_counter_set_if_null): Likewise.
334 (gcov_topn_add_value): New.
335
4a9aa9de
GA
3362020-06-01 Uroš Bizjak <ubizjak@gmail.com>
337
338 * config/i386/sfp-exceptions.c (struct fenv):
339 Add __attribute__ ((gcc_struct)).
340
885ef72f
GA
3412020-05-29 H.J. Lu <hjl.tools@gmail.com>
342
343 PR bootstrap/95413
344 * configure: Regenerated.
345
53ffb43a
GA
3462020-05-28 Dong JianQiang <dongjianqiang2@huawei.com>
347
348 PR gcov-profile/95332
349 * libgcov-util.c (read_gcda_file): Call gcov_magic.
350 * libgcov.h (gcov_magic): Disable GCC poison.
351
5855bdfa
L
3522020-05-21 H.J. Lu <hongjiu.lu@intel.com>
353
354 PR target/95212
355 * config/i386/cpuinfo.h (processor_features): Move
356 FEATURE_AVX512VP2INTERSECT after FEATURE_AVX512BF16.
357
35b98036
L
3582020-05-20 H.J. Lu <hongjiu.lu@intel.com>
359
360 PR target/91695
361 * config/i386/cpuinfo.c (get_available_features): Fix VPCLMULQDQ
362 check.
363
45395445
L
3642020-05-19 H.J. Lu <hongjiu.lu@intel.com>
365
366 PR target/95212
367 PR target/95220
368 * config/i386/cpuinfo.c (get_available_features): Fix
369 FEATURE_GFNI check. Also check FEATURE_AVX512VP2INTERSECT.
370 * config/i386/cpuinfo.h (processor_features): Add
371 FEATURE_AVX512VP2INTERSECT.
372
4c1a5d8b
L
3732020-05-15 H.J. Lu <hongjiu.lu@intel.com>
374
375 PR bootstrap/95147
376 * configure: Regenerated.
377
8d286dd1
L
3782020-05-14 H.J. Lu <hongjiu.lu@intel.com>
379
380 * configure: Regenerated.
381
39748a89
HPN
3822020-05-09 Hans-Peter Nilsson <hp@axis.com>
383
384 * config.host: Remove support for crisv32-*-* and cris*-*-linux.
385 * config/cris/libgcc-glibc.ver, config/cris/t-linux: Remove.
386
d3a1459c
UB
3872020-05-06 Uroš Bizjak <ubizjak@gmail.com>
388
389 * config/i386/sfp-exceptions.c (__math_force_eval): Remove.
390 (__math_force_eval_div): New define.
391 (__sfp_handle_exceptions): Use __math_force_eval_div to use
392 generic division to generate INVALID, DIVZERO and INEXACT
393 exceptions.
394
12667785
KT
3952020-05-06 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
396
397 * config/aarch64/lse-init.c (init_have_lse_atomics): Use __getauxval
398 instead of getauxval.
399 (AT_HWCAP): Define.
400 (HWCAP_ATOMICS): Define.
401 Guard detection on __gnu_linux__.
402
ef836167
MM
4032020-05-05 Michael Meissner <meissner@linux.ibm.com>
404
405 * config.host: Delete changes meant for a private branch.
406 * config/rs6000/t-float128: Likewise.
407 * configure.ac: Likewise.
408 * configure: Likewise.
409
811b7636
ML
4102020-05-05 Martin Liska <mliska@suse.cz>
411
412 PR gcov-profile/93623
413 * Makefile.in: Remove __gcov_flush.
414 * gcov.h (__gcov_flush): Remove.
415 * libgcov-interface.c (__gcov_flush): Remove.
416 (init_mx): Use renamed mutex.
417 (__gcov_lock): Likewise.
418 (__gcov_unlock): Likewise.
419 (__gcov_fork): Likewise.
420 (__gcov_flush): Remove.
421
c0532db4
ML
4222020-05-05 Martin Liska <mliska@suse.cz>
423
424 PR gcov-profile/93623
425 * libgcov-interface.c (__gcov_fork): Do not flush
426 and reset only in child process.
427 (__gcov_execl): Dump counters only and reset them
428 only if exec* fails.
429 (__gcov_execlp): Likewise.
430 (__gcov_execle): Likewise.
431 (__gcov_execv): Likewise.
432 (__gcov_execvp): Likewise.
433 (__gcov_execve): Likewise.
434
d39f7dc8
ML
4352020-05-05 Martin Liska <mliska@suse.cz>
436
437 PR gcov-profile/93623
438 * Makefile.in: Add _gcov_lock_unlock to LIBGCOV_INTERFACE.
439 * libgcov-interface.c (ALIAS_void_fn): Remove.
440 (__gcov_lock): New.
441 (__gcov_unlock): New.
442 (__gcov_flush): Use __gcov_lock and __gcov_unlock.
443 (__gcov_reset): Likewise.
444 (__gcov_dump): Likewise.
445 * libgcov.h (__gcov_lock): New declaration.
446 (__gcov_unlock): Likewise.
447
afb9b710
UB
4482020-05-01 Uroš Bizjak <ubizjak@gmail.com>
449
450 * config/i386/sfp-exceptions.c (__math_force_eval): New define.
d3a1459c 451 (__sfp_handle_exceptions): Use __math_force_eval to evaluate
afb9b710
UB
452 generic division to generate INVALID and DIVZERO exceptions.
453
66711279
SH
4542020-04-27 Sebastian Huber <sebastian.huber@embedded-brains.de>
455
456 * config/rs6000/crtresfpr.S: Use .machine ppc.
457 * config/rs6000/crtresxfpr.S: Likewise.
458 * config/rs6000/crtsavfpr.S: Likewise.
459
fb22faf4
SN
4602020-04-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
461
462 PR target/94514
463 * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
464 Update context->flags accroding to the frame state.
465
df73e584
UB
4662020-04-19 Uroš Bizjak <ubizjak@gmail.com>
467
468 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions) [__SSE_MATH__]:
469 Remove unneeded assignments to volatile memory.
470
5b2f76e3
JJ
4712020-04-15 Jakub Jelinek <jakub@redhat.com>
472
473 PR target/93053
474 * configure.ac (LIBGCC_CHECK_AS_LSE): Add HAVE_AS_LSE checking.
475 * config/aarch64/lse.S: Include auto-target.h, if HAVE_AS_LSE
476 is not defined, use just .arch armv8-a.
477 (B, M, N, OPN): Define.
478 (COMMENT): New .macro.
479 (CAS, CASP, SWP, LDOP): Use .inst directive if HAVE_AS_LSE is not
480 defined. Otherwise, move the operands right after the glue? and
481 comment out operands where the macros are used.
482 * configure: Regenerated.
483 * config.in: Regenerated.
484
50c78532
ILT
4852020-04-07 Ian Lance Taylor <iant@golang.org>
486
487 PR libgcc/94513
488 * generic-morestack.c: Give up trying to use __mmap/__munmap, use
489 syscall instead.
490
458ca332
ILT
4912020-04-04 Ian Lance Taylor <iant@golang.org>
492
493 * generic-morestack.c: Only use __mmap on glibc >= 2.26.
494
710d54ed
ILT
4952020-04-03 Ian Lance Taylor <iant@golang.org>
496
497 * generic-morestack.c: On GNU/Linux use __mmap/__munmap rather
498 than mmap/munmap, to avoid hooks.
499
b749b5ec
JJ
5002020-04-03 Jim Johnston <jjohnst@us.ibm.com>
501
502 * config/s390/tpf-unwind.h (MIN_PATRANGE, MAX_PATRANGE)
503 (TPFRA_OFFSET): Macros removed.
504 (CP_CNF, cinfc_fast, CINFC_CMRESET, CINTFC_CMCENBKST)
505 (CINTFC_CMCENBKED, ICST_CRET, ICST_SRET, LOWCORE_PAGE3_ADDR)
506 (PG3_SKIPPING_OFFSET): New macros.
507 (__isPATrange): Use cinfc_fast for the check.
508 (__isSkipResetAddr): New function.
509 (s390_fallback_frame_state): Check for skip trace addresses. Use
510 either ICST_CRET or ICST_SRET to calculate return address
511 location.
512 (__tpf_eh_return): Handle skip trace addresses.
513
a9cd2d78
RE
5142020-03-26 Richard Earnshaw <rearnsha@arm.com>
515
516 PR target/94220
517 * config/arm/lib1funcs.asm (COND): Use a single definition for
518 unified syntax.
519 (aeabi_uidivmod): Unified syntax when optimizing Thumb for size.
520 (aeabi_idivmod): Likewise.
521 (divsi3_skip_div0_test): Likewise.
522
f582ca0f
MI
5232020-03-17 Mihail Ionescu <mihail.ionescu@arm.com>
524
525 * config/arm/t-arm: Do not compile cmse_nonsecure_call.S for v8.1-m.
526
068fe0a9
AK
5272020-03-04 Andreas Krebbel <krebbel@linux.ibm.com>
528
529 * config.host: Include the new makefile fragment.
530 * config/s390/t-tpf: New file.
531
6b9ce2b4
RE
5322020-03-03 Richard Earnshaw <rearnsha@arm.com>
533
534 * config/arm/bpabi-v6m.S (aeabi_lcmp): Convert thumb1 code to unified
535 syntax.
536 (aeabi_ulcmp, aeabi_ldivmod, aeabi_uldivmod): Likewise.
537 (aeabi_frsub, aeabi_cfcmpeq, aeabi_fcmpeq): Likewise.
538 (aeabi_fcmp, aeabi_drsub, aeabi_cdrcmple): Likewise.
539 (aeabi_cdcmpeq, aeabi_dcmpeq, aeabi_dcmp): Likewise.
540 * config/arm/lib1funcs.S (Lend_fde): Convert thumb1 code to unified
541 syntax.
542 (divsi3, modsi3): Likewise.
543 (clzdi2, ctzsi2): Likewise.
544 * config/arm/libunwind.S (restore_core_regs): Convert thumb1 code to
545 unified syntax.
546 (UNWIND_WRAPPER): Likewise.
547
8dd5d8f3
ML
5482020-03-02 Martin Liska <mliska@suse.cz>
549
550 * libgcov-interface.c: Remove duplicate
551 declaration of __gcov_flush_mx.
552
ea0b1252
ML
5532020-02-18 Martin Liska <mliska@suse.cz>
554
555 PR ipa/92924
556 * libgcov-merge.c (merge_topn_values_set): Record
557 when a TOP N counter becomes invalid. When merging
558 remove a smallest value if the space is needed.
559
02ce382c
SL
5602020-02-12 Sandra Loosemore <sandra@codesourcery.com>
561
562 PR libstdc++/79193
563 PR libstdc++/88999
564
565 * configure: Regenerated.
566
7214fce3
JL
5672020-02-10 Jeff Law <law@redhat.com>
568
569 * config/frv/frvbegin.c: Use right flags for .ctors and .dtors
570 sections.
571 * config/frv/frvend.c: Similarly.
572
cf0f07ef
L
5732020-02-10 H.J. Lu <hongjiu.lu@intel.com>
574
575 PR libgcc/85334
576 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
577 New.
578
5602b48b
CL
5792020-02-10 Christophe Lyon <christophe.lyon@linaro.org>
580
581 PR target/93615
582 * unwind-arm-common.inc: Replace uses of gnu_Unwind_Find_got with
583 _Unwind_gnu_Find_got.
584 * unwind-pe.h: Likewise.
585
811a475e
JJ
5862020-02-07 Jakub Jelinek <jakub@redhat.com>
587
588 PR target/93615
589 * config/arm/unwind-arm.h (gnu_Unwind_Find_got): Rename to ...
590 (_Unwind_gnu_Find_got): ... this. Use __asm instead of asm. Remove
591 trailing :s in asm. Formatting fixes.
592 (_Unwind_decode_typeinfo_ptr): Adjust caller.
593
2d33dcfe
SL
5942020-01-31 Sandra Loosemore <sandra@codesourcery.com>
595
596 nios2: Support for GOT-relative DW_EH_PE_datarel encoding.
597
598 * config.host [nios2-*-linux*] (tmake_file, tm_file): Adjust.
599 * config/nios2-elf-lib.h: New.
600 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback): Use existing
601 code for finding GOT base for nios2.
602
3ae37f92
ML
6032020-01-27 Martin Liska <mliska@suse.cz>
604
605 PR gcov-profile/93403
606 * libgcov-profiler.c (__gcov_indirect_call_profiler_v4):
607 Call __gcov_indirect_call_profiler_body.
608 (__gcov_indirect_call_profiler_body): New.
609 (__gcov_indirect_call_profiler_v4_atomic): New.
610 * libgcov.h (__gcov_indirect_call_profiler_v4_atomic):
611 New declaration.
612
2744b8b2
CZ
6132020-01-27 Claudiu Zissulescu <claziss@synopsys.com>
614
615 * config/arc/crti.S: Add RF16 object attribute.
616 * config/arc/crtn.S: Likewise.
617 * config/arc/crttls.S: Likewise.
618 * config/arc/lib1funcs.S: Likewise.
619 * config/arc/fp-hack.h (ARC_OPTFPE): Define.
620 * config/arc/lib2funcs.c: New file.
621 * config/arc/t-arc: Add lib2funcs to LIB2ADD.
622
e8e66971
MR
6232020-01-24 Maciej W. Rozycki <macro@wdc.com>
624
625 * Makefile.in (configure_deps): Add `toolexeclibdir.m4'.
626 * configure.ac: Handle `--with-toolexeclibdir='.
627 * configure: Regenerate.
628
54b3d52c
DM
6292020-01-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
630
631 * config/mips/gnustack.h: Check for TARGET_LIBC_GNUSTACK also.
632
a3c1e1f2
DM
6332020-01-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
634
635 * config/mips/gnustack.h: New file.
636 * config/mips/crti.S: Include gnustack.h.
637 * config/mips/crtn.S: Likewise.
638 * config/mips/mips16.S: Likewise.
639 * config/mips/vr4120-div.S: Likewise.
640
e9ee848d
ML
6412020-01-23 Martin Liska <mliska@suse.cz>
642
643 * libgcov-driver.c (prune_topn_counter): Remove
644 check for -1 as we only prune run-time counters
645 that do not generate an invalid state.
646
7491c17f
ML
6472020-01-22 Martin Liska <mliska@suse.cz>
648
649 PR tree-optimization/92924
650 * libgcov-profiler.c (__gcov_topn_values_profiler_body): First
651 try to find an existing value, then find an empty slot
652 if not found.
653
5f32f9cf
ML
6542020-01-22 Martin Liska <mliska@suse.cz>
655
656 PR tree-optimization/92924
657 * libgcov-driver.c (prune_topn_counter): New.
658 (prune_counters): Likewise.
659 (dump_one_gcov): Prune a run-time counter.
660 * libgcov-profiler.c (__gcov_topn_values_profiler_body):
661 For a known value, add GCOV_TOPN_VALUES to value.
662 Otherwise, decrement all counters by one.
663
463f6499
HPN
6642020-01-18 Hans-Peter Nilsson <hp@axis.com>
665
666 * config/cris/arit.c (DS): Apply attribute __fallthrough__.
667
84479e3a
JDA
6682020-01-18 John David Anglin <danglin@gcc.gnu.org>
669
670 PR libgcc/92988
671 * crtstuff.c (__do_global_dtors_aux): Only call __cxa_finalize if
672 DEFAULT_USE_CXA_ATEXIT is true.
673
e953433f 6742020-01-16 Mihail-Calin Ionescu <mihail.ionescu@arm.com>
674dcc3f 675 Thomas Preud'homme <thomas.preudhomme@arm.com>
e953433f
MI
676
677 * config/arm/t-arm: Check return value of gcc rather than lack of
678 output.
679
03e87724
GJL
6802020-01-14 Georg-Johann Lay <avr@gjlay.de>
681
682 * config/avr/lib1funcs.S (skip): Simplify.
683
af9bd920
KCY
6842020-01-10 Kwok Cheung Yeung <kcy@codesourcery.com>
685
686 * config/gcn/atomic.c: Remove include of stdint.h.
687 (__sync_val_compare_and_swap_##SIZE): Replace uintptr_t with
688 __UINTPTR_TYPE__.
689
d6491d15
KCY
6902020-01-09 Kwok Cheung Yeung <kcy@codesourcery.com>
691
692 * config/gcn/atomic.c: New.
693 * config/gcn/t-amdgcn (LIB2ADD): Add atomic.c.
694
f30dd607
GJL
6952020-01-08 Georg-Johann Lay <avr@gjlay.de>
696
697 Implement 64-bit double functions.
698
699 PR target/92055
700 * config.host (tmake_file) [target=avr]: Add t-libf7,
701 t-libf7-math, t-libf7-math-symbols as specified by --with-libf7=.
702 * config/avr/t-avrlibc: Don't copy libgcc.a if there are modules
703 depending on sizeof (double) or sizeof (long double).
704 * config/avr/libf7: New folder.
705
5205a445
OH
7062020-01-05 Olivier Hainque <hainque@adacore.com>
707
708 * config/gthr-vxworks.h: Guard #include vxAtomicLib.h
709 by IN_LIBGCC2.
710
8d9254fc
JJ
7112020-01-01 Jakub Jelinek <jakub@redhat.com>
712
713 Update copyright years.
714
abb6c3ee
OH
7152019-12-30 Olivier Hainque <hainque@adacore.com>
716
717 * config/gthr-vxworks.h: Use _vxworks-versions.h.
718 * config/gthr-vxworks-tls.c: Likewise.
719
d7f5094a
OH
7202019-12-30 Olivier Hainque <hainque@adacore.com>
721
722 * config/gthr-vxworks.h (GTHREAD_ONCE_INIT): Use
723 standard zero-initializer syntax.
724
49cfaa2a
OH
7252019-12-30 Olivier Hainque <hainque@adacore.com>
726
727 * config/gthr-vxworks-tls.c (__gthread_getspecific): Fix
728 reference to the internal VX_GET_TLS_DATA interface.
729
89b9a554
OH
7302019-12-30 Olivier Hainque <hainque@adacore.com>
731
732 * config/vxcrtstuff.c: Fix incorrect spelling of
733 USE_INITFINI_ARRAY in guard.
734
e8aa9f55
JL
7352019-12-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
736
737 * config.host: s/msp430*-*-elf/msp430-*-elf*.
738 Override default "extra_parts" variable.
739 * configure: Regenerate.
740 * configure.ac: Disable TM clone registry by default for
741 msp430-elfbare.
742
a9046e98
JL
7432019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
744
745 * config.host (msp430*-*-elf): Add crt{begin,end}_no_eh.o to
746 "extra_parts".
747 * config/msp430/t-msp430: Add rules to build crt{begin,end}_no_eh.o.
748
34a53788
JL
7492019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
750
751 * crtstuff.c: Declare __dso_handle only if DEFAULT_USE_CXA_ATEXIT is
752 true.
753
21a098f4
JL
7542019-12-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
755
756 * crtstuff.c (__do_global_dtors_aux): Check if USE_EH_FRAME_REGISTRY is
757 defined instead of its value.
758
ad8b7783
JL
7592019-12-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
760
761 * crtstuff.c (__do_global_dtors_aux): Wrap in #if so it's only defined
762 if it will have contents.
763
08d7ff78
GJL
7642019-12-05 Georg-Johann Lay <avr@gjlay.de>
765
766 PR target/92055
767 * config/avr/t-avrlibc (MULTISUBDIR): Search for double, not double64.
768
3d3a96a2
SN
7692019-11-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
770
34b4d99d 771 PR libgcc/91737
3d3a96a2
SN
772 * config.host: Add t-gthr-noweak on *-*-musl*.
773 * config/t-gthr-noweak: New file.
774
632b5e3d
JDA
7752019-11-17 John David Anglin <danglin@gcc.gnu.org>
776
777 * config/pa/linux-atomic.c (__kernel_cmpxchg): Change argument 1 to
778 volatile void *. Remove trap check.
779 (__kernel_cmpxchg2): Likewise.
780 (FETCH_AND_OP_2): Adjust operand types.
781 (OP_AND_FETCH_2): Likewise.
782 (FETCH_AND_OP_WORD): Likewise.
783 (OP_AND_FETCH_WORD): Likewise.
784 (COMPARE_AND_SWAP_2): Likewise.
785 (__sync_val_compare_and_swap_4): Likewise.
786 (__sync_bool_compare_and_swap_4): Likewise.
787 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
788 (__sync_lock_test_and_set_4): Likewise.
789 (SYNC_LOCK_RELEASE_1): Likewise. Use __kernel_cmpxchg2 for release.
790 (__sync_lock_release_4): Adjust operand types. Use __kernel_cmpxchg
791 for release.
792 (__sync_lock_release_8): Remove.
793
838fd641
SN
7942019-11-15 Szabolcs Nagy <szabolcs.nagy@arm.com>
795
796 * config/m68k/linux-unwind.h (struct uw_ucontext): Use sigset_t instead
797 of __sigset_t.
798
27204060
JL
7992019-11-14 Jerome Lambourg <lambourg@adacore.com>
800 Doug Rupp <rupp@adacore.com>
801 Olivier Hainque <hainque@adacore.com>
802
803 * config.host: Collapse the arm-vxworks entries into
804 a single arm-wrs-vxworks7* one.
805 * config/arm/unwind-arm-vxworks.c: Update comments. Provide
806 __gnu_Unwind_Find_exidx and a weak dummy __cxa_type_match for
807 kernel modules, to be overriden by libstdc++ when we link with
808 it. Rely on externally provided __exidx_start/end.
809
3004f893
DR
8102019-11-14 Doug Rupp <rupp@adacore.com>
811 Olivier Hainque <hainque@adacore.com>
812
813 * config.host: Handle aarch64*-wrs-vxworks7*.
814
36e5f4d4
OH
8152019-11-12 Olivier Hainque <hainque@adacore.com>
816
817 * config/t-gthr-vxworksae: New file, add all the gthr-vxworks
818 sources except the cxx0x support to LIB2ADDEH. We don't support
819 cxx0x on AE/653.
820 * config/t-vxworksae: New file.
821 * config.host: Handle *-*-vxworksae: Add the two aforementioned
822 Makefile fragment files at their expected position in the tmake_file
823 list, in accordance with what is done for other VxWorks variants.
824
806dd047
CG
8252019-11-12 Corentin Gay <gay@adacore.com>
826 Jerome Lambourg <lambourg@adacore.com>
827 Olivier Hainque <hainque@adacore.com>
828
829 * config/t-gthr-vxworks: New file, add all the gthr-vxworks
830 sources to LIB2ADDEH.
831 * config/t-vxworks: Remove adjustments to LIB2ADDEH.
832 * config/t-vxworks7: Likewise.
833
834 * config.host: Append a block at the end of the file to add the
835 t-gthr files to the tmake_file list for VxWorks after everything
836 else.
837
838 * config/vxlib.c: Rename as gthr-vxworks.c.
839 * config/vxlib-tls.c: Rename as gthr-vxworks-tls.c.
840
841 * config/gthr-vxworks.h: Simplify a few comments. Expose a TAS
842 API and a basic error checking API, both internal. Simplify the
843 __gthread_once_t type definition and initializers. Add sections
844 for condition variables support and for the C++0x thread support,
845 conditioned against Vx653 for the latter.
846
847 * config/gthr-vxworks.c (__gthread_once): Simplify comments and
848 implementation, leveraging the TAS internal API.
849 * config/gthr-vxworks-tls.c: Introduce an internal TLS data access
850 API, leveraging the general availability of TLS services in VxWorks7
851 post SR6xxx.
852 (__gthread_setspecific, __gthread_setspecific): Use it.
853 (tls_delete_hook): Likewise, and simplify the enter/leave dtor logic.
854 * config/gthr-vxworks-cond.c: New file. GTHREAD_COND variable
855 support based on VxWorks primitives.
856 * config/gthr-vxworks-thread.c: New file. GTHREAD_CXX0X support
857 based on VxWorks primitives.
858
78e49fb1
JL
8592019-11-06 Jerome Lambourg <lambourg@adacore.com>
860 Olivier Hainque <hainque@adacore.com>
861
862 * config/vxcrtstuff.c: New file.
863 * config/t-vxcrtstuff: New Makefile fragment.
864 * config.host: Append t-vxcrtstuff to the tmake_file list
865 on all VxWorks ports using dwarf for table based EH.
866
29f3def3
GJL
8672019-11-07 Georg-Johann Lay <avr@gjlay.de>
868
869 Support 64-bit double and 64-bit long double configurations.
870
871 PR target/92055
872 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Only add -DF=SF if
873 long double is a 32-bit type.
874 * config/avr/t-avrlibc: Copy double64 and long-double64
875 multilib(s) from the vanilla one.
876 * config/avr/t-copy-libgcc: New Makefile snip.
877
62ec242e
JL
8782019-11-04 Jozef Lawrynowicz <jozef.l@mittosystems.com>
879
880 * crtstuff.c: Define USE_TM_CLONE_REGISTRY to 0 if it's undefined and
881 the target output object format is not ELF.
882 s/defined(USE_TM_CLONE_REGISTRY)/USE_TM_CLONE_REGISTRY.
883
da5c1bbe
OE
8842019-11-03 Oleg Endo <olegendo@gcc.gnu.org>
885
886 PR libgcc/78804
887 * fp-bit.h: Remove FLOAT_BIT_ORDER_MISMATCH.
888 * fp-bit.c (pack_d, unpack_d): Remove special cases for
889 FLOAT_BIT_ORDER_MISMATCH.
890 * config/arc/t-arc: Remove FLOAT_BIT_ORDER_MISMATCH.
891
8dc56a22
JW
8922019-11-01 Jim Wilson <jimw@sifive.com>
893
894 * config/riscv/t-softfp32 (softfp_extra): Add FP divide routines
895
91c64455
JL
8962019-10-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
897
898 * config/msp430/lib2hw_mul.S: Fix wrong syntax in branch instruction.
899 s/RESULT_LO/RESLO, s/RESULT_HI/RESHI, s/MPY_OP1/MPY,
900 s/MPY_OP1_S/MPYS, s/MAC_OP1/MAC, s/MPY_OP2/OP2, s/MAC_OP2/OP2.
901 Define symbols for 32-bit and f5series hardware multiply
902 register addresses.
903 Replace hard-coded register addresses with symbols.
904 Fix "_mspabi*" typo.
905 Fix whitespace.
906 * config/msp430/lib2mul.c: Add comment.
907
85093ac6
JDA
9082019-10-15 John David Anglin <danglin@gcc.gnu.org>
909
910 * config/pa/fptr.c (_dl_read_access_allowed): Change argument to
911 unsigned int. Adjust callers.
912 (__canonicalize_funcptr_for_compare): Change plabel type to volatile
913 unsigned int *. Load relocation offset before function pointer.
914 Add barrier to ensure ordering.
915
1aea083d
JDA
9162019-10-12 John David Anglin <danglin@gcc.gnu.org>
917
918 * config/pa/lib2funcs.S (__gcc_plt_call): Load branch target to %r21.
919 Load PIC register after branch target. Fix white space.
920 * config/pa/milli64.S ($$dyncall): Separate LINUX and non LINUX
921 implementations. Load PIC register after branch target. Don't
922 clobber function pointer when it points to function descriptor.
923 Use nullification instead of branch in LINUX implementation.
924
c49af82c
JDA
9252019-10-03 John David Anglin <danglin@gcc.gnu.org>
926
927 * config/pa/fptr.c: Disable -Warray-bounds warning.
928
88a51d68
RH
9292019-09-25 Richard Henderson <richard.henderson@linaro.org>
930
9e46fd07
RH
931 * config.in, configure: Re-rebuild with stock autoconf 2.69,
932 not the ubuntu modified 2.69.
933
58d169ba
RH
934 PR target/91833
935 * config/aarch64/lse-init.c: Include auto-target.h. Disable
936 initialization if !HAVE_SYS_AUXV_H.
937 * configure.ac (AC_CHECK_HEADERS): Add sys/auxv.h.
938 * config.in, configure: Rebuild.
939
88a51d68
RH
940 PR target/91834
941 * config/aarch64/lse.S (LDNM): Ensure STXR output does not
942 overlap the inputs.
943
761e6bb9
SZ
9442019-09-25 Shaokun Zhang <zhangshaokun@hisilicon.com>
945
946 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Add support for
947 CTR_EL0.IDC and CTR_EL0.DIC.
948
76c93295
CL
9492019-09-20 Christophe Lyon <christophe.lyon@st.com>
950
951 Revert:
952 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
953 Mickaël Guêné <mickael.guene@st.com>
954
955 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
956 architecture.
957
33befddc
RH
9582019-09-19 Richard Henderson <richard.henderson@linaro.org>
959
960 * config/aarch64/lse-init.c: New file.
961 * config/aarch64/lse.S: New file.
962 * config/aarch64/t-lse: New file.
963 * config.host: Add t-lse to all aarch64 tuples.
964
ae1152e5
CL
9652019-09-10 Christophe Lyon <christophe.lyon@st.com>
966 Mickaël Guêné <mickael.guene@st.com>
967
84818dbb
CL
968 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
969 architecture.
970
9712019-09-10 Christophe Lyon <christophe.lyon@st.com>
972 Mickaël Guêné <mickael.guene@st.com>
973
ae1152e5
CL
974 * unwind-arm-common.inc (ARM_SET_R7_RT_SIGRETURN)
975 (THUMB2_SET_R7_RT_SIGRETURN, FDPIC_LDR_R12_WITH_FUNCDESC)
976 (FDPIC_LDR_R9_WITH_GOT, FDPIC_LDR_PC_WITH_RESTORER)
977 (FDPIC_FUNCDESC_OFFSET, ARM_NEW_RT_SIGFRAME_UCONTEXT)
978 (ARM_UCONTEXT_SIGCONTEXT, ARM_SIGCONTEXT_R0, FDPIC_T2_LDR_R12_WITH_FUNCDESC)
979 (FDPIC_T2_LDR_R9_WITH_GOT, FDPIC_T2_LDR_PC_WITH_RESTORER): New.
980 (__gnu_personality_sigframe_fdpic): New.
981 (get_eit_entry): Add FDPIC signal frame support.
982
5d727a4b
CL
9832019-09-10 Christophe Lyon <christophe.lyon@st.com>
984 Mickaël Guêné <mickael.guene@st.com>
985
986 * config/arm/linux-atomic.c (__kernel_cmpxchg): Add FDPIC support.
987 (__kernel_dmb): Likewise.
988 (__fdpic_cmpxchg): New function.
989 (__fdpic_dmb): New function.
990 * config/arm/unwind-arm.h (FDPIC_REGNUM): New define.
991 (gnu_Unwind_Find_got): New function.
992 (_Unwind_decode_typeinfo_ptr): Add FDPIC support.
993 * unwind-arm-common.inc (UCB_PR_GOT): New.
994 (funcdesc_t): New struct.
995 (get_eit_entry): Add FDPIC support.
996 (unwind_phase2): Likewise.
997 (unwind_phase2_forced): Likewise.
998 (__gnu_Unwind_RaiseException): Likewise.
999 (__gnu_Unwind_Resume): Likewise.
1000 (__gnu_Unwind_Backtrace): Likewise.
1001 * unwind-pe.h (read_encoded_value_with_base): Likewise.
1002
b1e21e5a 10032019-09-10 Christophe Lyon <christophe.lyon@st.com>
11189793 1004 Mickaël Guêné <mickael.guene@st.com>
b1e21e5a 1005
11189793
CL
1006 * libgcc/crtstuff.c: Add support for FDPIC.
1007
10082019-09-10 Christophe Lyon <christophe.lyon@st.com>
1009
1010 * config.host: Handle *-*-uclinuxfdpiceabi.
b1e21e5a 1011
91dfef96
JM
10122019-09-09 Jose E. Marchesi <jose.marchesi@oracle.com>
1013
1014 * config.host: Set cpu_type for bpf-*-* targets.
1015 * config/bpf/t-bpf: Likewise.
1016 * config/bpf/crtn.S: Likewise.
1017 * config/bpf/crti.S: New file.
1018
2f4d8951
JW
10192019-09-06 Jim Wilson <jimw@sifive.com>
1020
1021 * config.host (riscv*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
1022 (riscv*-*-freebsd*): Likewise.
1023
2f2aeda9
UW
10242019-09-03 Ulrich Weigand <uweigand@de.ibm.com>
1025
1026 * config.host: Remove references to spu.
1027 * config/spu/: Remove directory.
1028
d16017da
JL
10292019-08-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1030
1031 PR target/91306
1032 * crtstuff.c (__CTOR_LIST__): Align to the "__alignof__" the array
1033 element type, instead of "sizeof" the element type.
1034 (__DTOR_LIST__): Likewise.
1035 (__TMC_LIST__): Likewise.
1036 (__do_global_dtors_aux_fini_array_entry): Likewise.
1037 (__frame_dummy_init_array_entry): Likewise.
1038 (__CTOR_END__): Likewise.
1039 (__DTOR_END__): Likweise.
1040 (__FRAME_END__): Likewise.
1041 (__TMC_END__): Likewise.
1042
a9fcfec3
HL
10432019-08-20 Lili Cui <lilicui@intel.com>
1044
1045 * config/i386/cpuinfo.h: Add INTEL_COREI7_TIGERLAKE and
1046 INTEL_COREI7_COOPERLAKE.
1047
428642b1
MT
10482019-07-31 Matt Thomas <matt@3am-software.com>
1049 Nick Hudson <nick@nthcliff.demon.co.uk>
1050 Matthew Green <mrg@eterna.com.au>
1051 Maya Rashish <coypu@sdf.org>
1052
1053 * config.host (hppa*-*-netbsd*): New case.
1054 * config/pa/t-netbsd: New file.
1055
f0efd925
JH
10562019-07-31 Joel Hutton <Joel.Hutton@arm.com>
1057
1058 * config/arm/cmse.c (cmse_check_address_range): Add
1059 warn_unused_result attribute.
1060
a861990d
ML
10612019-07-22 Martin Liska <mliska@suse.cz>
1062
1063 * config/pa/stublib.c: Remove stub symbol __gnu_lto_v1.
1064 * config/pa/t-stublib: Likewise.
1065
9c0dba7c
SH
10662019-07-22 Stafford Horne <shorne@gmail.com>
1067
1068 PR target/90362
1069 * config/or1k/lib1funcs.S (__udivsi3): Change l.sfeqi
1070 to l.sfeq and l.sfltsi to l.sflts equivalents as the immediate
1071 instructions are not available on every processor. Change a
1072 l.bnf to l.bf to fix logic issue.
1073
61afc8f8
IS
10742019-07-04 Iain Sandoe <iain@sandoe.co.uk>
1075
1076 * config.host: Remove reference to t-darwin8.
1077
179c7ef5
IS
10782019-07-03 Iain Sandoe <iain@sandoe.co.uk>
1079
1080 * config.host (powerpc-*-darwin*,powerpc64-*-darwin*): Revise crt
1081 list.
1082 * config/rs6000/t-darwin: Build crt3_2 for older systems. Revise
1083 mmacosx-version-min for crts to run across all system versions.
1084 * config/rs6000/t-darwin64 (LIB2ADD): Remove.
1085 * config/t-darwin: Revise mmacosx-version-min for crts to run across
1086 system versions >= 10.4.
1087
596341c7
ML
10882019-07-03 Martin Liska <mliska@suse.cz>
1089
1090 * Makefile.in: Use topn_values instead of one_value names.
1091 * libgcov-merge.c (__gcov_merge_single): Move to ...
1092 (__gcov_merge_topn): ... this.
1093 (merge_single_value_set): Move to ...
1094 (merge_topn_values_set): ... this.
1095 * libgcov-profiler.c (__gcov_one_value_profiler_body): Move to
1096 ...
1097 (__gcov_topn_values_profiler_body): ... this.
1098 (__gcov_one_value_profiler_v2): Move to ...
1099 (__gcov_topn_values_profiler): ... this.
1100 (__gcov_one_value_profiler_v2_atomic): Move to ...
1101 (__gcov_topn_values_profiler_atomic): ... this.
1102 (__gcov_indirect_call_profiler_v4): Remove.
1103 * libgcov-util.c (__gcov_single_counter_op): Move to ...
1104 (__gcov_topn_counter_op): ... this.
1105 * libgcov.h (L_gcov_merge_single): Remove.
1106 (L_gcov_merge_topn): New.
1107 (__gcov_merge_single): Remove.
1108 (__gcov_merge_topn): New.
1109 (__gcov_one_value_profiler_v2): Move to ..
1110 (__gcov_topn_values_profiler): ... this.
1111 (__gcov_one_value_profiler_v2_atomic): Move to ...
1112 (__gcov_topn_values_profiler_atomic): ... this.
1113
1b309ca5
ML
11142019-07-03 Martin Liska <mliska@suse.cz>
1115
1116 * libgcov-merge.c (merge_single_value_set): Support N values.
1117 * libgcov-profiler.c (__gcov_one_value_profiler_body): Likewise.
1118
5a460280
ID
11192019-06-27 Ilia Diachkov <ilia.diachkov@optimitech.com>
1120
1121 * Makefile.in (USE_TM_CLONE_REGISTRY): New.
1122 (CRTSTUFF_CFLAGS): Use USE_TM_CLONE_REGISTRY.
1123 * configure.ac: Add --disable-tm-clone-registry option.
1124 * configure: Regenerate.
1125
45309d28
ML
11262019-06-27 Martin Liska <mliska@suse.cz>
1127
1128 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Remove obviously
1129 dead assignments.
1130 * libgcov-util.c: Likewise.
1131
c2f7a665
ML
11322019-06-27 Martin Liska <mliska@suse.cz>
1133
1134 * libgcov-util.c (gcov_profile_merge): Release allocated
1135 memory.
1136 (calculate_overlap): Likewise.
1137
a8e55c61
IS
11382019-06-25 Iain Sandoe <iain@sandoe.co.uk>
1139
1140 * config.host: Add libef_ppc.a to the extra files for powerpc-darwin.
1141 * config/rs6000/t-darwin: (PPC_ENDFILE_SRC, PPC_ENDFILE_OBJS): New.
1142 Build objects for the out of line save/restore register functions
1143 so that they can be used for any supported Darwin version.
1144 * config/t-darwin: Default the build Darwin version to Darwin8
1145 (MacOS 10.4).
1146
e5ce4cbc
ML
11472019-06-25 Martin Liska <mliska@suse.cz>
1148
1149 * libgcov-driver-system.c (replace_filename_variables): Do not
1150 call strlen with NULL argument.
1151
52a47d28
AS
11522019-06-25 Andrew Stubbs <ams@codesourcery.com>
1153
1154 * config/gcn/t-amdgcn (LIB2ADD): Add unwind-gcn.c.
1155 * config/gcn/unwind-gcn.c: New file.
1156
76d46331
KCY
11572019-06-25 Kwok Cheung Yeung <kcy@codesourcery.com>
1158 Andrew Stubbs <ams@codesourcery.com>
1159
1160 * configure: Regenerate.
1161 * config/gcn/gthr-gcn.h: New.
1162
787783a0
TV
11632019-06-18 Tom de Vries <tdevries@suse.de>
1164
1165 * config/nvptx/crt0.c (__main): Declare.
1166
f32f7585
MG
11672019-06-17 Matthew Green <mrg@eterna.com.au>
1168 Maya Rashish <coypu@sdf.org>
1169
1170 * config.host (aarch64*-*-netbsd*): New case.
1171
0fcc78f7
JL
11722019-06-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1173
1174 * config/msp430/slli.S (__mspabi_sllll): New library function for
1175 performing a logical left shift of a 64-bit value.
1176 * config/msp430/srai.S (__mspabi_srall): New library function for
1177 performing a arithmetic right shift of a 64-bit value.
1178 * config/msp430/srll.S (__mspabi_srlll): New library function for
1179 performing a logical right shift of a 64-bit value.
1180
b27c1082
MT
11812019-06-14 Matt Thomas <matt@3am-software.com>
1182 Matthew Green <mrg@eterna.com.au>
1183 Nick Hudson <skrll@netbsd.org>
1184 Maya Rashish <coypu@sdf.org>
1185
1186 * config.host (arm*-*-netbsdelf*): Add support for EABI configurations.
1187 * config/arm/t-netbsd (LIB1ASMFUNCS): Add some additional assembler
1188 functions to build.
1189 * config/arm/t-netbsd-eabi: New file.
1190
ae7deb4b
DD
11912019-06-12 Dimitar Dimitrov <dimitar@dinux.eu>
1192
1193 * config.host: Add PRU target.
1194 * config/pru/asri.c: New file.
1195 * config/pru/eqd.c: New file.
1196 * config/pru/eqf.c: New file.
1197 * config/pru/ged.c: New file.
1198 * config/pru/gef.c: New file.
1199 * config/pru/gtd.c: New file.
1200 * config/pru/gtf.c: New file.
1201 * config/pru/led.c: New file.
1202 * config/pru/lef.c: New file.
1203 * config/pru/lib2bitcountHI.c: New file.
1204 * config/pru/lib2divHI.c: New file.
1205 * config/pru/lib2divQI.c: New file.
1206 * config/pru/lib2divSI.c: New file.
1207 * config/pru/libgcc-eabi.ver: New file.
1208 * config/pru/ltd.c: New file.
1209 * config/pru/ltf.c: New file.
1210 * config/pru/mpyll.S: New file.
1211 * config/pru/pru-abi.h: New file.
1212 * config/pru/pru-asm.h: New file.
1213 * config/pru/pru-divmod.h: New file.
1214 * config/pru/sfp-machine.h: New file.
1215 * config/pru/t-pru: New file.
1216
0d7b3e47
JJ
12172019-06-11 Jakub Jelinek <jakub@redhat.com>
1218
1219 * libgcov-merge.c (__gcov_merge_single): Revert previous change.
1220
54e2d83c
ML
12212019-06-10 Martin Liska <mliska@suse.cz>
1222
1223 PR bootstrap/90808
1224 * libgcov.h: Add ATTRIBUTE_UNUSED.
1225
92d41717
ML
12262019-06-10 Martin Liska <mliska@suse.cz>
1227
1228 * Makefile.in: Add __gcov_one_value_profiler_v2,
1229 __gcov_one_value_profiler_v2_atomic and
1230 __gcov_indirect_call_profiler_v4.
1231 * libgcov-merge.c (__gcov_merge_single): Change
1232 function signature.
1233 (merge_single_value_set): New.
1234 * libgcov-profiler.c (__gcov_one_value_profiler_body):
1235 Update functionality.
1236 (__gcov_one_value_profiler): Remove.
1237 (__gcov_one_value_profiler_v2): ... this.
1238 (__gcov_one_value_profiler_atomic): Rename to ...
1239 (__gcov_one_value_profiler_v2_atomic): this.
1240 (__gcov_indirect_call_profiler_v3): Rename to ...
1241 (__gcov_indirect_call_profiler_v4): ... this.
1242 * libgcov.h (__gcov_one_value_profiler): Remove.
1243 (__gcov_one_value_profiler_atomic): Remove.
1244 (__gcov_one_value_profiler_v2_atomic): New.
1245 (__gcov_indirect_call_profiler_v3): Remove.
1246 (__gcov_one_value_profiler_v2): New.
1247 (__gcov_indirect_call_profiler_v4): New.
1248 (gcov_get_counter_ignore_scaling): New function.
1249
e37333ba
ML
12502019-06-07 Martin Liska <mliska@suse.cz>
1251
1252 * Makefile.in: Remove usage of
1253 _gcov_merge_icall_topn.
1254 * libgcov-driver.c (gcov_sort_n_vals): Remove.
1255 (gcov_sort_icall_topn_counter): Likewise.
1256 (gcov_sort_topn_counter_arrays): Likewise.
1257 (dump_one_gcov): Remove call to gcov_sort_topn_counter_arrays.
1258 * libgcov-merge.c (__gcov_merge_icall_topn): Remove.
1259 * libgcov-profiler.c (__gcov_topn_value_profiler_body):
1260 Likewise.
1261 (GCOV_ICALL_COUNTER_CLEAR_THRESHOLD): Remove.
1262 (struct indirect_call_tuple): Remove.
1263 (__gcov_indirect_call_topn_profiler): Remove.
1264 * libgcov-util.c (__gcov_icall_topn_counter_op): Remove.
1265 * libgcov.h (gcov_sort_n_vals): Remove.
1266 (L_gcov_merge_icall_topn): Likewise.
1267 (__gcov_merge_icall_topn): Likewise.
1268 (__gcov_indirect_call_topn_profiler): Likewise.
1269
34a4a9c2
IS
12702019-06-06 Iain Sandoe <iain@sandoe.co.uk>
1271
1272 * config/rs6000/t-darwin: Ensure that the unwinder is built with
1273 altivec enabled.
1274
d1b2f85f
JL
12752019-06-06 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1276
1277 * config/msp430/slli.S (__mspabi_slli_n): Put function in its own
1278 section.
1279 (__mspabi_slli): Likewise.
1280 (__mspabi_slll_n): Likewise.
1281 (__mspabi_slll): Likewise.
1282 * config/msp430/srai.S (__mspabi_srai_n): Likewise.
1283 (__mspabi_srai): Likewise.
1284 (__mspabi_sral_n): Likewise.
1285 (__mspabi_sral): Likewise.
1286 * config/msp430/srli.S (__mspabi_srli_n): Likewise.
1287 (__mspabi_srli): Likewise.
1288 (__mspabi_srll_n): Likewise.
1289 (__mspabi_srll): Likewise.
1290
e69a13d1
YS
12912019-06-05 Yoshinori Sato <ysato@users.sourceforge.jp>
1292
1293 * config.host (rx-*-linux*): Add t-fdpbit to tmake_file
1294 Add appropriate tm_file clause as well.
1295 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Remove.
1296
b009eac1
JC
12972019-06-05 James Clarke <jrtc27@jrtc27.com>
1298
1299 * config/ia64/crtbegin.S (__dso_handle): Put in .sdata/.sbss
1300 rather than .data/.bss so it can be accessed via gp-relative
1301 addressing.
1302
781d39f2
DE
13032019-06-05 David Edelsohn <dje.gcc@gmail.com>
1304
1305 * config/rs6000/aix-unwind.h (LR_REGNO): Rename to R_LR.
1306 (CR2_REGNO): Rename to R_CR2.
1307 (XER_REGNO): Rename to R_XER.
1308 (FIRST_ALTIVEC_REGNO): Rename to R_FIRST_ALTIVEC.
1309 (VRSAVE_REGNO): Rename to R_VRSAVE.
1310 (VSCR_REGNO): R_VSCR.
1311
76aaa9cd
YS
13122019-05-29 Yoshinori Sato <ysato@users.sourceforge.jp>
1313
1314 * config.host (rx-*-linux*): Add new case.
1315 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Force DFmode to SFmode.
1316
8fc16d72
ST
13172019-05-29 Sam Tebbs <sam.tebbs@arm.com>
1318
1319 * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key): New
1320 function.
1321 * config/aarch64/aarch64-unwind.h (aarch64_post_extract_frame_addr,
1322 aarch64_post_frob_eh_handler_addr): Add check for b-key.
1323 * config/aarch64/aarch64-unwind-h (aarch64_post_extract_frame_addr,
1324 aarch64_post_frob_eh_handler_addr, aarch64_post_frob_update_context):
1325 Rename RA_A_SIGNED_BIT to RA_SIGNED_BIT.
1326 * unwind-dw2-fde.c (get_cie_encoding): Add check for 'B' in augmentation
1327 string.
1328 * unwind-dw2.c (extract_cie_info): Add check for 'B' in augmentation
1329 string.
1330 (RA_A_SIGNED_BIT): Rename to RA_SIGNED_BIT.
1331
e54b1a92
RO
13322019-05-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1333
1334 * config/sparc/sol2-unwind.h [__arch64__] (sparc64_is_sighandler):
1335 Remove Solaris 9 and 10 support.
1336 (sparc_is_sighandler): Likewise.
1337
abbb8307
JDA
13382019-05-26 John David Anglin <danglin@gcc.gnu.org>
1339
1340 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Add cast.
1341
2581344d
L
13422019-05-17 H.J. Lu <hongjiu.lu@intel.com>
1343
1344 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
1345 4_FP_W_TYPEs are used for IEEE quad precision.
1346 * soft-fp/extendhftf2.c: Likewise.
1347 * soft-fp/extendsftf2.c: Likewise.
1348 * soft-fp/extendxftf2.c: Likewise.
1349 * soft-fp/trunctfdf2.c: Likewise.
1350 * soft-fp/trunctfhf2.c: Likewise.
1351 * soft-fp/trunctfsf2.c: Likewise.
1352 * soft-fp/trunctfxf2.c: Likewise.
1353 * config/rs6000/ibm-ldouble.c: Likewise.
1354
ccd1242e
RO
13552019-05-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1356
1357 * config.host: Simplify various *-*-solaris2.1[0-9]* to
1358 *-*-solaris2*.
1359 * configure.ac: Likewise.
1360 * configure: Regenerate.
1361
1362 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
1363 Solaris 10 and Solaris 11 < snv_125 handling.
1364
ef5eb79d
IS
13652019-05-12 Iain Sandoe <iain@sandoe.co.uk>
1366
1367 * config/rs6000/darwin-vecsave.S: Set .machine appropriately.
1368
4f0e90fa
HL
13692019-05-07 Hongtao Liu <hongtao.liu@intel.com>
1370
1371 * config/i386/cpuinfo.c (get_available_features): Detect BF16.
1372 * config/i386/cpuinfo.h (enum processor_features): Add
1373 FEATURE_AVX512BF16.
1374
48528842
RR
13752019-04-23 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
1376 Bernd Edlinger <bernd.edlinger@hotmail.de>
1377 Jakub Jelinek <jakub@redhat.com>
1378
1379 PR target/89093
1380 * config/arm/pr-support.c: Add #pragma GCC target("general-regs-only").
1381 * config/arm/unwind-arm.c: Likewise.
1382 * unwind-c.c (PERSONALITY_FUNCTION): Add general-regs-only target
1383 attribute for ARM.
1384
887e182f
MC
13852019-04-15 Monk Chiang <sh.chiang04@gmail.com>
1386
1387 * config/nds32/linux-unwind.h (SIGRETURN): Remove.
1388 (RT_SIGRETURN): Update.
1389 (nds32_fallback_frame_state): Update.
1390
a90b0cdd
MS
13912019-02-21 Martin Sebor <msebor@redhat.com>
1392
1393 * libgcc2.h (__clear_cache): Correct signature.
1394 * libgcc2.c (__clear_cache): Same.
1395
1ed28eda
UB
13962019-02-20 Uroš Bizjak <ubizjak@gmail.com>
1397
1398 * config/alpha/linux-unwind.h (alpha_fallback_frame_state):
1399 Cast 'mcontext_t *' &rt_->uc.uc_mcontext to 'struct sigcontext *'.
1400
fe95aee9
UB
14012019-02-19 Uroš Bizjak <ubizjak@gmail.com>
1402
1403 * unwind-dw2.c (_Unwind_GetGR) [DWARF_ZERO_REG]: Compare
1404 regno instead of index to DWARF_ZERO_REG.
1405
bf7988f1
EB
14062019-02-15 Eric Botcazou <ebotcazou@adacore.com>
1407
1408 * config/visium/lib2funcs.c (__set_trampoline_parity): Replace
1409 TRAMPOLINE_SIZE with __LIBGCC_TRAMPOLINE_SIZE__.
1410
ba2c1ca8
UB
14112019-01-31 Uroš Bizjak <ubizjak@gmail.com>
1412
1413 * config/alpha/t-linux: Add -mfp-rounding-mode=d
1414 to HOST_LIBGCC2_CFLAGS.
1415
6395ba73
L
14162019-01-23 Joseph Myers <joseph@codesourcery.com>
1417
1418 PR libgcc/88931
ba2c1ca8 1419 * libgcc2.c (FSTYPE FUNC (DWtype u)): Correct no leading bits case.
6395ba73 1420
756721ba
ML
14212019-01-18 Martin Liska <mliska@suse.cz>
1422
1423 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Rename
1424 to ...
1425 (__gcov_indirect_call_profiler_v3): ... this.
1426 * libgcov.h (__gcov_indirect_call_profiler_v2): Likewise.
1427 (__gcov_indirect_call_profiler_v3): Likewise.
1428 * Makefile.in: Bump function name.
1429
d273c40a
ML
14302019-01-18 Martin Liska <mliska@suse.cz>
1431
1432 * libgcov-driver.c (GCOV_PROF_PREFIX): Define.
1433 (gcov_version): Use in gcov_error.
1434 (merge_one_data): Likewise.
1435 (dump_one_gcov): Likewise.
1436
be9d9fdb
ML
14372019-01-18 Martin Liska <mliska@suse.cz>
1438
1439 * libgcov-driver.c (gcov_version_string): New function.
1440 (gcov_version): Convert version integer into string.
1441
91d7b7fe
AS
14422019-01-17 Andrew Stubbs <ams@codesourcery.com>
1443 Kwok Cheung Yeung <kcy@codesourcery.com>
1444 Julian Brown <julian@codesourcery.com>
1445 Tom de Vries <tom@codesourcery.com>
1446
1447 * config.host: Recognize amdgcn*-*-amdhsa.
1448 * config/gcn/crt0.c: New file.
1449 * config/gcn/lib2-divmod-hi.c: New file.
1450 * config/gcn/lib2-divmod.c: New file.
1451 * config/gcn/lib2-gcn.h: New file.
1452 * config/gcn/sfp-machine.h: New file.
1453 * config/gcn/t-amdgcn: New file.
1454
67914693
SL
14552019-01-09 Sandra Loosemore <sandra@codesourcery.com>
1456
1457 PR other/16615
1458
1459 * config/c6x/libunwind.S: Mechanically replace "can not" with
1460 "cannot".
1461 * config/tilepro/atomic.h: Likewise.
1462 * config/vxlib-tls.c: Likewise.
1463 * generic-morestack-thread.c: Likewise.
1464 * generic-morestack.c: Likewise.
1465 * mkmap-symver.awk: Likewise.
1466
a5544970
JJ
14672019-01-01 Jakub Jelinek <jakub@redhat.com>
1468
1469 Update copyright years.
1470
da77eace
L
14712018-12-20 H.J. Lu <hongjiu.lu@intel.com>
1472
1473 * unwind-pe.h (read_encoded_value_with_base): Add GCC pragma
1474 to ignore -Waddress-of-packed-member.
1475
72e3a529
TP
14762018-12-19 Thomas Preud'homme <thomas.preudhomme@linaro.org>
1477
1478 * /config/arm/lib1funcs.S (FUNC_START): Remove unused sp_section
1479 parameter and corresponding code.
1480 (ARM_FUNC_START): Likewise in both definitions.
1481 Also update footer comment about condition that need to match with
1482 gcc/config/arm/elf.h to also include libgcc/config/arm/t-arm.
1483 * config/arm/ieee754-df.S (muldf3): Also build it if L_arm_muldf3 is
1484 defined. Weakly define it in this case.
1485 * config/arm/ieee754-sf.S (mulsf3): Likewise with L_arm_mulsf3.
1486 * config/arm/t-elf (LIB1ASMFUNCS): Build _arm_muldf3.o and
1487 _arm_mulsf3.o before muldiv versions if targeting Thumb-1 only. Add
1488 comment to keep condition in sync with the one in
1489 libgcc/config/arm/lib1funcs.S and gcc/config/arm/elf.h.
1490
5d54c798
WX
14912018-12-18 Wei Xiao <wei3.xiao@intel.com>
1492
1493 * config/i386/cpuinfo.c (get_intel_cpu): Handle cascadelake.
1494 * config/i386/cpuinfo.h: Add INTEL_COREI7_CASCADELAKE.
1495
5a2580b6
RV
14962018-12-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1497
1498 * config/rs6000/tramp.S (__trampoline_setup): Also emit .size
1499 and .cfi_endproc directives for VxWorks targets.
1500
c0c5112b
PK
15012018-12-05 Paul Koning <ni1d@arrl.net>
1502
1503 * udivmodhi4.c (__udivmodhi4): Fix loop end check.
1504
1ea7ea18
AM
15052018-11-27 Alan Modra <amodra@gmail.com>
1506
1507 * config/rs6000/morestack.S (__stack_split_initialize),
1508 (__morestack_get_guard, __morestack_set_guard),
1509 (__morestack_make_guard): Provide CFI covering these functions.
1510 * config/rs6000/tramp.S (__trampoline_setup): Likewise.
1511
ff641ae1
XQ
15122018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
1513
1ea7ea18 1514 * config/csky/linux-unwind.h (sc_pt_regs): Update for kernel.
ff641ae1
XQ
1515 (sc_pt_regs_lr): Update for kernel.
1516 (sc_pt_regs_tls): Update for kernel.
1517
28209372
XQ
15182018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
1519
1520 * config/csky/linux-unwind.h: Fix coding style.
1521
b2a71af6
XQ
15222018-11-13 Xianmiao Qu <xianmiao_qu@c-sky.com>
1523
1524 * config/csky/linux-unwind.h (_sig_ucontext_t): Remove.
1ea7ea18 1525 (csky_fallback_frame_state): Modify the check of the
b2a71af6
XQ
1526 instructions to adapt to changes in the kernel
1527
d929e137
SH
15282018-11-09 Stafford Horne <shorne@gmail.com>
1529 Richard Henderson <rth@twiddle.net>
1530
1531 * config.host: Add OpenRISC support.
1532 * config/or1k/*: New.
1533
222cfefa
KC
15342018-11-08 Kito Cheng <kito@andestech.com>
1535
1536 * soft-fp/adddf3.c: Update from glibc.
1537 * soft-fp/addsf3.c: Likewise.
1538 * soft-fp/addtf3.c: Likewise.
1539 * soft-fp/divdf3.c: Likewise.
1540 * soft-fp/divsf3.c: Likewise.
1541 * soft-fp/divtf3.c: Likewise.
1542 * soft-fp/double.h: Likewise.
1543 * soft-fp/eqdf2.c: Likewise.
1544 * soft-fp/eqsf2.c: Likewise.
1545 * soft-fp/eqtf2.c: Likewise.
1546 * soft-fp/extenddftf2.c: Likewise.
1547 * soft-fp/extended.h: Likewise.
1548 * soft-fp/extendhftf2.c: Likewise.
1549 * soft-fp/extendsfdf2.c: Likewise.
1550 * soft-fp/extendsftf2.c: Likewise.
1551 * soft-fp/extendxftf2.c: Likewise.
1552 * soft-fp/fixdfdi.c: Likewise.
1553 * soft-fp/fixdfsi.c: Likewise.
1554 * soft-fp/fixdfti.c: Likewise.
1555 * soft-fp/fixhfti.c: Likewise.
1556 * soft-fp/fixsfdi.c: Likewise.
1557 * soft-fp/fixsfsi.c: Likewise.
1558 * soft-fp/fixsfti.c: Likewise.
1559 * soft-fp/fixtfdi.c: Likewise.
1560 * soft-fp/fixtfsi.c: Likewise.
1561 * soft-fp/fixtfti.c: Likewise.
1562 * soft-fp/fixunsdfdi.c: Likewise.
1563 * soft-fp/fixunsdfsi.c: Likewise.
1564 * soft-fp/fixunsdfti.c: Likewise.
1565 * soft-fp/fixunshfti.c: Likewise.
1566 * soft-fp/fixunssfdi.c: Likewise.
1567 * soft-fp/fixunssfsi.c: Likewise.
1568 * soft-fp/fixunssfti.c: Likewise.
1569 * soft-fp/fixunstfdi.c: Likewise.
1570 * soft-fp/fixunstfsi.c: Likewise.
1571 * soft-fp/fixunstfti.c: Likewise.
1572 * soft-fp/floatdidf.c: Likewise.
1573 * soft-fp/floatdisf.c: Likewise.
1574 * soft-fp/floatditf.c: Likewise.
1575 * soft-fp/floatsidf.c: Likewise.
1576 * soft-fp/floatsisf.c: Likewise.
1577 * soft-fp/floatsitf.c: Likewise.
1578 * soft-fp/floattidf.c: Likewise.
1579 * soft-fp/floattihf.c: Likewise.
1580 * soft-fp/floattisf.c: Likewise.
1581 * soft-fp/floattitf.c: Likewise.
1582 * soft-fp/floatundidf.c: Likewise.
1583 * soft-fp/floatundisf.c: Likewise.
1584 * soft-fp/floatunditf.c: Likewise.
1585 * soft-fp/floatunsidf.c: Likewise.
1586 * soft-fp/floatunsisf.c: Likewise.
1587 * soft-fp/floatunsitf.c: Likewise.
1588 * soft-fp/floatuntidf.c: Likewise.
1589 * soft-fp/floatuntihf.c: Likewise.
1590 * soft-fp/floatuntisf.c: Likewise.
1591 * soft-fp/floatuntitf.c: Likewise.
1592 * soft-fp/gedf2.c: Likewise.
1593 * soft-fp/gesf2.c: Likewise.
1594 * soft-fp/getf2.c: Likewise.
1595 * soft-fp/half.h: Likewise.
1596 * soft-fp/ledf2.c: Likewise.
1597 * soft-fp/lesf2.c: Likewise.
1598 * soft-fp/letf2.c: Likewise.
1599 * soft-fp/muldf3.c: Likewise.
1600 * soft-fp/mulsf3.c: Likewise.
1601 * soft-fp/multf3.c: Likewise.
1602 * soft-fp/negdf2.c: Likewise.
1603 * soft-fp/negsf2.c: Likewise.
1604 * soft-fp/negtf2.c: Likewise.
1605 * soft-fp/op-1.h: Likewise.
1606 * soft-fp/op-2.h: Likewise.
1607 * soft-fp/op-4.h: Likewise.
1608 * soft-fp/op-8.h: Likewise.
1609 * soft-fp/op-common.h: Likewise.
1610 * soft-fp/quad.h: Likewise.
1611 * soft-fp/single.h: Likewise.
1612 * soft-fp/soft-fp.h: Likewise.
1613 * soft-fp/subdf3.c: Likewise.
1614 * soft-fp/subsf3.c: Likewise.
1615 * soft-fp/subtf3.c: Likewise.
1616 * soft-fp/truncdfsf2.c: Likewise.
1617 * soft-fp/trunctfdf2.c: Likewise.
1618 * soft-fp/trunctfhf2.c: Likewise.
1619 * soft-fp/trunctfsf2.c: Likewise.
1620 * soft-fp/trunctfxf2.c: Likewise.
1621 * soft-fp/unorddf2.c: Likewise.
1622 * soft-fp/unordsf2.c: Likewise.
1623 * soft-fp/unordtf2.c: Likewise.
1624
2901f42f
VK
16252018-11-04 Venkataramanan Kumar <Venkataramanan.kumar@amd.com>
1626
1627 * config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
1628 * config/i386/cpuinfo.h (processor_types): Add znver2.
1629
4310ca66
PK
16302018-11-01 Paul Koning <ni1d@arrl.net>
1631
1632 * config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c.
1633 (HOST_LIBGCC2_CFLAGS): Change to optimize for size.
1634
22e05272
JM
16352018-10-31 Joseph Myers <joseph@codesourcery.com>
1636
1637 PR bootstrap/82856
1638 * configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
1639 * configure: Regenerate.
1640
8180cde0
CZ
16412018-10-31 Claudiu Zissulescu <claziss@synopsys.com>
1642
1643 * config/arc/lib1funcs.S (_muldi3): New function.
1644 * config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
1645
be7b071e
RV
16462018-10-30 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1647
1648 * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
1649
3239d726
ML
16502018-10-25 Martin Liska <mliska@suse.cz>
1651
1652 PR other/87735
1653 * libgcov-profiler.c: Revert.
1654
19b55958
ML
16552018-10-24 Martin Liska <mliska@suse.cz>
1656
1657 * libgcov-profiler.c: Start from 1 in order to distinguish
1658 functions which were seen and these that were not.
1659
a9a2fddb
PK
16602018-10-18 Paul Koning <ni1d@arrl.net>
1661
1662 * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
1663 standard.
1664 * divmod.c: Update references to __udivmodsi4.
1665 * udivmod.c: Ditto.
1666 * udivhi3.c: New file.
1667 * udivmodhi4.c: New file.
1668 * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
1669
fc8abc46
RV
16702018-10-17 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1671
1672 * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
1673
87f918e3
OH
16742018-10-12 Olivier Hainque <hainque@adacore.com>
1675
1676 * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
1677 defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
1678
be86efa7
PK
16792018-10-08 Paul Koning <ni1d@arrl.net>
1680
1681 * config/pdp11/t-pdp11: Remove -mfloat32 switch.
1682
3edbcdbe
ML
16832018-10-04 Martin Liska <mliska@suse.cz>
1684
1685 PR gcov-profile/84107
1686 * libgcov-profiler.c (__gcov_indirect_call):
1687 Change type to indirect_call_tuple.
1688 (struct indirect_call_tuple): New struct.
1689 (__gcov_indirect_call_topn_profiler): Change type.
1690 (__gcov_indirect_call_profiler_v2): Use the new
1691 variables.
1692 * libgcov.h (struct indirect_call_tuple): New struct
1693 definition.
1694
af8096fc
UB
16952018-10-03 Uros Bizjak <ubizjak@gmail.com>
1696
1697 * libgcc2.c (isnan): Use __builtin_isnan.
1698 (isfinite): Use __builtin_isfinite.
1699 (isinf): Use __builtin_isinf.
1700
0a76bba4
UB
17012018-09-26 Uros Bizjak <ubizjak@gmail.com>
1702
1703 * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
1704
5244089f
OH
17052018-09-21 Alexandre Oliva <oliva@adacore.com>
1706
1707 * config/vxcache.c: New file. Provide __clear_cache, based on
1708 the cacheTextUpdate VxWorks service.
1709 * config/t-vxworks (LIB2ADD): Add vxcache.c.
1710 (LIB2FUNCS_EXCLUDE): Add _clear_cache.
1711 * config/t-vxwoks7: Likewise.
1712
512cc015
ML
17132018-09-21 Martin Liska <mliska@suse.cz>
1714
1715 * libgcov-driver.c (crc32_unsigned): Remove.
1716 (gcov_histogram_insert): Likewise.
1717 (gcov_compute_histogram): Likewise.
1718 (compute_summary): Simplify rapidly.
1719 (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
1720 (merge_summary): Rapidly simplify.
1721 (dump_one_gcov): Ignore gcov_summary.
1722 (gcov_do_dump): Do not handle program summary, it's not
1723 used.
1724 * libgcov-util.c (tag_summary): Remove.
1725 (read_gcda_finalize): Fix coding style.
1726 (read_gcda_file): Initialize curr_object_summary.
1727 (compute_summary): Remove.
1728 (calculate_overlap): Remove settings of run_max.
1729
36ff254b
MC
17302018-09-21 Monk Chiang <sh.chiang04@gmail.com>
1731
1732 * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
1733 ucontext_t type instead.
1734 (nds32_fallback_frame_state): Remove struct _sigframe statement.
1735
229a033d
KC
17362018-09-21 Kito Cheng <kito.cheng@gmail.com>
1737
1738 * config/nds32/t-nds32-glibc: New file.
1739
53c6feb2
RO
17402018-09-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1741
1742 * configure.ac (solaris_ld_v2_maps): New test.
1743 * configure: Regenerate.
1744 * Makefile.in (solaris_ld_v2_maps): New variable.
1745 * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
1746 if supported.
1747
ebdb6f23
RE
17482018-08-23 Richard Earnshaw <rearnsha@arm.com>
1749
1750 PR target/86951
1751 * config/arm/lib1funcs.asm (speculation_barrier): New function.
1752 * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
1753 to build.
1754
a49c064e
IS
17552018-08-22 Iain Sandoe <iain@sandoe.co.uk>
1756
1ea7ea18 1757 * config/unwind-dw2-fde-darwin.c
a49c064e
IS
1758 (_darwin10_Unwind_FindEnclosingFunction): move from here ...
1759 * config/darwin10-unwind-find-enc-func.c: … to here.
1760 * config/t-darwin: Build Darwin10 unwinder shim crt.
1761 * libgcc/config.host: Add the Darwin10 unwinder shim.
1762
9a5b8df7
RV
17632018-08-21 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1764
1765 * config.host: Add crtbegin.o and crtend.o for
1766 powerpc-wrs-vxworks target.
1767
4cd0bc3b
J
17682018-08-17 Jojo <jijie_rong@c-sky.com>
1769 Huibin Wang <huibin_wang@c-sky.com>
1770 Sandra Loosemore <sandra@codesourcery.com>
1771 Chung-Lin Tang <cltang@codesourcery.com>
1772
1773 C-SKY port: libgcc
1774
1775 * config.host: Add C-SKY support.
1776 * config/csky/*: New.
1777
a4931745
CJW
17782018-08-12 Chung-Ju Wu <jasonwucj@gmail.com>
1779
1780 * config/nds32/t-nds32-isr: Rearrange object dependency.
1781 * config/nds32/initfini.c: Add dwarf2 unwinding support.
1782 * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
1783 and registers usage.
1784 * config/nds32/isr-library/excp_isr.S: Ditto.
1785 * config/nds32/isr-library/intr_isr.S: Ditto.
1786 * config/nds32/isr-library/reset.S: Ditto.
1787 * config/nds32/isr-library/restore_all.inc: Ditto.
1788 * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
1789 * config/nds32/isr-library/restore_partial.inc: Ditto.
1790 * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
1791 * config/nds32/isr-library/save_all.inc: Ditto.
1792 * config/nds32/isr-library/save_mac_regs.inc: Ditto.
1793 * config/nds32/isr-library/save_partial.inc: Ditto.
1794 * config/nds32/isr-library/save_usr_regs.inc: Ditto.
1795 * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
1796
2b1969f6
JDA
17972018-08-11 John David Anglin <danglin@gcc.gnu.org>
1798
1799 * config/pa/linux-atomic.c: Update comment.
1800 (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
1801 COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
1802 SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
1803 __ATOMIC_RELAXED for atomic loads.
1804 (SYNC_LOCK_RELEASE_1): New define. Use __sync_synchronize() and
1805 unordered store to release lock.
1806 (__sync_lock_release_8): Likewise.
1807 (SYNC_LOCK_RELEASE_2): Remove define.
af8096fc 1808
89fff9cc
NP
18092018-08-02 Nicolas Pitre <nico@fluxnic.net>
1810
1811 PR libgcc/86512
1812 * config/arm/ieee754-df.S: Don't shortcut denormal handling when
1813 exponent goes negative. Update my email address.
1814 * config/arm/ieee754-sf.S: Likewise.
1815
fd2e1dcd
ML
18162018-08-01 Martin Liska <mliska@suse.cz>
1817
1818 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
92a285c1 1819 check that __gcov_indirect_call_callee is non-null.
fd2e1dcd 1820
b7415975
CL
18212018-07-30 Christophe Lyon <christophe.lyon@linaro.org>
1822
1823 * config/arm/ieee754-df.S: Fix comment for code working on
1824 architectures >= 4.
1825 * config/arm/ieee754-sf.S: Likewise.
1826
b72e71a3
L
18272018-07-27 H.J. Lu <hongjiu.lu@intel.com>
1828
1829 PR libgcc/85334
1830 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
1831 Removed.
1832
1c686aa4
JC
18332018-07-05 James Clarke <jrtc27@jrtc27.com>
1834
1835 * configure: Regenerated.
1836
b61c9b99
RO
18372018-06-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1838
1839 * Makefile.in (install_leaf): Use enable_gcov instead of
1840 enable_libgcov.
1841
1765b023
RV
18422018-06-27 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1843
1844 * configure.ac: Add --disable-gcov option.
1845 * configure: Regenerate.
1846 * Makefile.in: Honour @enable_gcov@.
1847
9b2e34ef
CL
18482018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
1849
1850 * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
1851 __ARM_ARCH and __ARM_FEATURE_CLZ instead.
1852 (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
1853 * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
1854 __ARM_ARCH__.
1855 * config/arm/ieee754-sf.S: Likewise.
1856 * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
1857
d1b0dd54
CL
18582018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
1859
1860 * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
1861 longer supported.
1862 * config/arm/ieee754-sf.S: Likewise.
1863
1f3fa525
TM
18642018-06-20 Than McIntosh <thanm@google.com>
1865
1866 PR libgcc/86213
1867 * generic-morestack.c (allocate_segment): Move calls to getenv and
1868 getpagesize to __morestack_load_mmap.
1869 (__morestack_load_mmap) Initialize static_pagesize and
1870 use_guard_page here so as to avoid clobbering SSE regs during a
1871 __morestack call.
1872
6a8886e4
MM
18732018-06-18 Michael Meissner <meissner@linux.ibm.com>
1874
1875 * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
1876 support modules with -mno-gnu-attribute.
1877 * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
1878
fb997097
OH
18792018-06-07 Olivier Hainque <hainque@adacore.com>
1880
1881 * config/t-vxworks (LIBGCC_INCLUDES): Add
1882 -I$(MULTIBUILDTOP)../../gcc/include.
1883 * config/t-vxworks7: Likewise. Reformat a bit to match
1884 the t-vxworks layout.
1885
a548a5a1
OM
18862018-06-07 Olga Makhotina <olga.makhotina@intel.com>
1887
1888 * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
1889
244aebfd
ML
18902018-06-07 Martin Liska <mliska@suse.cz>
1891
1892 * libgcov-driver.c: Rename cs_all to all and assign it from
92a285c1 1893 all_prg.
244aebfd 1894
6c086e8c
ML
18952018-06-07 Martin Liska <mliska@suse.cz>
1896
92a285c1 1897 PR bootstrap/86057
6c086e8c 1898 * libgcov-driver-system.c (replace_filename_variables): Use
92a285c1 1899 memcpy instead of mempcpy.
6c086e8c 1900 (allocate_filename_struct): Do not allocate filename, allocate
92a285c1 1901 prefix and set it.
6c086e8c 1902 (gcov_exit_open_gcda_file): Allocate memory for gf->filename
92a285c1 1903 here and properly copy content into it.
6c086e8c 1904 * libgcov-driver.c (struct gcov_filename): Remove max_length
92a285c1 1905 field, change prefix from size_t into char *.
6c086e8c
ML
1906 (compute_summary): Do not calculate longest filename.
1907 (gcov_do_dump): Release memory of gf.filename after each file.
1908 * libgcov-util.c (compute_summary): Use new signature of
92a285c1 1909 compute_summary.
6c086e8c
ML
1910 (calculate_overlap): Likewise.
1911
97a53d1d
ML
19122018-06-05 Martin Liska <mliska@suse.cz>
1913
1914 PR gcov-profile/47618
1915 * libgcov-driver-system.c (replace_filename_variables): New
92a285c1 1916 function.
97a53d1d
ML
1917 (gcov_exit_open_gcda_file): Use it.
1918
7f3577f5
ML
19192018-06-05 Martin Liska <mliska@suse.cz>
1920
1921 * libgcov-driver.c (gcov_compute_histogram): Remove usage
1922 of gcov_ctr_summary.
1923 (compute_summary): Do it just for a single summary.
1924 (merge_one_data): Likewise.
1925 (merge_summary): Simplify as we read just single summary.
1926 (dump_one_gcov): Pass proper argument.
1927 * libgcov-util.c (compute_one_gcov): Simplify as we have just
1928 single summary.
1929 (gcov_info_count_all_cold): Likewise.
1930 (calculate_overlap): Likewise.
1931
cf3cd43d
CJW
19322018-06-02 Chung-Ju Wu <jasonwucj@gmail.com>
1933 Monk Chiang <sh.chiang04@gmail.com>
1934
1935 * config.host (nds32*-linux*): New.
1936 * config/nds32/linux-atomic.c: New file.
1937 * config/nds32/linux-unwind.h: New file.
1938
8b8003ed
UB
19392018-05-31 Uros Bizjak <ubizjak@gmail.com>
1940
1941 PR target/85591
1942 * config/i386/cpuinfo.c (get_amd_cpu): Return
1943 AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
1944
bbdf026f
RV
19452018-05-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
1946
92a285c1 1947 * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
bbdf026f 1948
0e8f29da
ML
19492018-05-29 Martin Liska <mliska@suse.cz>
1950
92a285c1 1951 PR gcov-profile/85759
0e8f29da 1952 * libgcov-driver-system.c (gcov_error): Introduce usage of
92a285c1 1953 GCOV_EXIT_AT_ERROR env. variable.
0e8f29da 1954 * libgcov-driver.c (merge_one_data): Print error that we
92a285c1 1955 overwrite a gcov file with a different timestamp.
0e8f29da 1956
54fd1590
K
19572018-05-23 Kalamatee <kalamatee@gmail.com>
1958
1959 * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
1960 path to Lf$finfty.
1961
09baee1a
KC
19622018-05-18 Kito Cheng <kito.cheng@gmail.com>
1963 Monk Chiang <sh.chiang04@gmail.com>
1964 Jim Wilson <jimw@sifive.com>
1965
1966 * config/riscv/save-restore.S: Add support for rv32e.
1967
c3f808d3
KT
19682018-05-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1969
1970 * config/arm/libunwind.S: Update comment relating to armv5.
1971
fcf4f831
JL
19722018-05-17 Jerome Lambourg <lambourg@adacore.com>
1973
1974 * config/arm/cmse.c (cmse_check_address_range): Replace
1975 UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
1976
74b2bb19
OM
19772018-05-17 Olga Makhotina <olga.makhotina@intel.com>
1978
1979 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
1980 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
1981
50e461df
OM
19822018-05-08 Olga Makhotina <olga.makhotina@intel.com>
1983
1984 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
1985 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
1986
e5f1cdb1
AC
19872018-05-07 Amaan Cheval <amaan.cheval@gmail.com>
1988
1989 * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
1990
8f479d7a
AT
19912018-04-27 Andreas Tobler <andreast@gcc.gnu.org>
1992 Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
1993
1994 PR libgcc/84292
1995 * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
1996 op_and_fetch to return the right result.
1997
ae043291
AM
19982018-04-27 Alan Modra <amodra@gmail.com>
1999
2000 PR libgcc/85532
2001 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
2002 -fno-asynchronous-unwind-tables.
2003
ba169b74
CJW
20042018-04-25 Chung-Ju Wu <jasonwucj@gmail.com>
2005
2006 * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
2007 * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
2008
ffc2fc06
L
20092018-04-24 H.J. Lu <hongjiu.lu@intel.com>
2010
2011 * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
2012 when including "config/i386/shadow-stack-unwind.h".
2013
7b47ecf2
L
20142018-04-24 H.J. Lu <hongjiu.lu@intel.com>
2015
2016 * configure: Regenerated.
2017
661eb8f9
MM
20182018-04-20 Michael Meissner <meissner@linux.ibm.com>
2019
2020 PR target/85456
2021 * config/rs6000/_powikf2.c: New file. Add support for the
2022 __builtin_powil function when long double is IEEE 128-bit floating
2023 point.
2024 * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
2025 __powikf2 support.
2026 (__powikf2): Likewise.
2027 * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
2028 (__powikf2_hw): Likewise.
2029 (__powikf2): Likewise.
2030 * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
2031 * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
2032 (_powikf2-hw.c): Likewise.
2033
5707be3c
L
20342018-04-19 H.J. Lu <hongjiu.lu@intel.com>
2035
2036 PR libgcc/85334
2037 * unwind-generic.h (_Unwind_Frames_Increment): New.
2038 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
2039 Likewise.
2040 * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
2041 count with _Unwind_Frames_Increment.
2042 (_Unwind_ForcedUnwind_Phase2): Likewise.
2043
5f9ca0b8
L
20442018-04-19 H.J. Lu <hongjiu.lu@intel.com>
2045
2046 PR libgcc/85379
2047 * config/i386/morestack.S (__stack_split_initialize): Add
2048 _CET_ENDBR.
2049
a0e1df88
JJ
20502018-04-19 Jakub Jelinek <jakub@redhat.com>
2051
2052 * configure: Regenerated.
2053
001ddaa8
DM
20542018-04-18 David Malcolm <dmalcolm@redhat.com>
2055
2056 PR jit/85384
2057 * configure: Regenerate.
2058
a57f99ba
JJ
20592018-04-16 Jakub Jelinek <jakub@redhat.com>
2060
2061 PR target/84945
2062 * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
2063 -Wdangling-else warnings. Mask shift counts to avoid
2064 -Wshift-count-negative and -Wshift-count-overflow false positives.
2065
4d47fe5a
RB
20662018-04-06 Ruslan Bukin <br@bsdpad.com>
2067
2068 * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
2069
059cc8ac
L
20702018-03-29 H.J. Lu <hongjiu.lu@intel.com>
2071
2072 PR target/85100
2073 * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
2074 (XSTATE_FP): Likewise.
2075 (XSTATE_SSE): Likewise.
2076 (XSTATE_YMM): Likewise.
2077 (XSTATE_OPMASK): Likewise.
2078 (XSTATE_ZMM): Likewise.
2079 (XSTATE_HI_ZMM): Likewise.
2080 (XCR_AVX_ENABLED_MASK): Likewise.
2081 (XCR_AVX512F_ENABLED_MASK): Likewise.
2082 (get_available_features): Enable AVX and AVX512 features only
2083 if their states are supported by OSXSAVE.
2084
f2620385
IT
20852018-03-22 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2086
2087 PR target/85025
2088 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
2089 Fix a typo, tmp => 255.
2090
ae6dca8c
JJ
20912018-03-20 Jakub Jelinek <jakub@redhat.com>
2092
2093 PR target/84945
2094 * config/i386/cpuinfo.h (__cpu_features2): Declare.
2095 * config/i386/cpuinfo.c (__cpu_features2): New variable for
2096 ifndef SHARED only.
2097 (set_feature): Define.
2098 (get_available_features): Use set_feature macro. Set __cpu_features2
2099 to the second word of features ifndef SHARED.
2100
c36b04c1
JK
21012018-03-15 Julia Koval <julia.koval@intel.com>
2102
2103 * config/i386/cpuinfo.c (get_available_features): Add
2104 FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
2105 FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
2106 * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
2107 FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
2108 FEATURE_AVX512BITALG.
2109
79ab5364
JK
21102018-03-14 Julia Koval <julia.koval@intel.com>
2111
2112 * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
2113 icelake client and icelake server.
2114
66a00b11
JDA
21152018-03-06 John David Anglin <danglin@gcc.gnu.org>
2116
2117 * config/pa/fptr.c (_dl_read_access_allowed): New.
2118 (__canonicalize_funcptr_for_compare): Use it.
af8096fc 2119
ce579a4f
JJ
21202018-02-28 Jakub Jelinek <jakub@redhat.com>
2121
2122 PR debug/83917
2123 * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
2124 $asm_hidden_op if visibility ("hidden") attribute works.
2125 (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
2126 * config/i386/i386-asm.h: Don't include auto-host.h.
2127 (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
2128 PACKAGE_URL): Don't undefine.
2129 (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
2130 guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
2131 (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
2132 #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
2133 definition instead of hardcoded .hidden.
2134 * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
2135 directive. Use #ifdef HAVE_AS_CFI_SECTIONS rather than
2136 #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
2137 (USE_GAS_CFI_DIRECTIVES): Don't define.
2138 * configure: Regenerated.
2139 * config.in: Likewise.
2140
e5868319
JJ
21412018-02-26 Jakub Jelinek <jakub@redhat.com>
2142
2143 PR debug/83917
2144 * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
2145 PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
2146 inclusion of auto-target.h and auto-host.h.
2147 (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
2148 __GCC_HAVE_DWARF2_CFI_ASM.
2149 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
2150 cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
2151 cfi_pop): Define.
2152 * config/i386/cygwin.S: Don't include auto-host.h here, just
2153 define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
2154 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
2155 cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
2156 * config/i386/resms64fx.h: Add cfi_* directives.
2157 * config/i386/resms64x.h: Likewise.
2158
faef260e
MF
21592018-02-20 Max Filippov <jcmvbkbc@gmail.com>
2160
2161 * config/xtensa/ieee754-df.S (__adddf3_aux): Add
2162 .literal_position directive.
2163 * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
2164
14e335ed
IT
21652018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2166
2167 PR target/84148
2168 * configure: Regenerate.
2169
95df0433
IT
21702018-02-16 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2171
2172 PR target/84239
2173 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
2174 Include cetintrin.h not x86intrin.h.
2175
f8de876d
IT
21762018-02-08 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2177
2178 PR target/84239
95df0433 2179 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
f8de876d
IT
2180 Use new _get_ssp and _inc_ssp intrinsics.
2181
02da1e9c
JK
21822018-02-02 Julia Koval <julia.koval@intel.com>
2183
2184 * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
2185
048c6a9a
CZ
21862018-01-26 Claudiu Zissulescu <claziss@synopsys.com>
2187
2188 * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
2189 option.
2190 (__divsi3): Use RF16 safe registers.
2191 (__modsi3): Likewise.
2192
0889f168
MF
21932018-01-23 Max Filippov <jcmvbkbc@gmail.com>
2194
2195 * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
2196 (__divsf3): Make NaN return value quiet.
2197 * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
2198 (__divdf3): Make NaN return value quiet.
2199
bc8b0d04
SP
22002018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
2201
2202 * config/rl78/anddi3.S: New assembly file.
2203 * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
2204
99cc06ea
SP
22052018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
2206
2207 * config/rl78/umindi3.S: New assembly file.
2208 * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
2209
6e9007a0
SP
22102018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
2211
2212 * config/rl78/smindi3.S: New assembly file.
2213 * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
2214
d975e494 22152018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
af8096fc 2216
d975e494
SP
2217 * config/rl78/smaxdi3.S: New assembly file.
2218 * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
2219
6a18c146 22202018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
af8096fc 2221
5dd16013
SP
2222 * config/rl78/umaxdi3.S: New assembly file.
2223 * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
af8096fc 2224
07baf4a5
JDA
22252018-01-21 John David Anglin <danglin@gcc.gnu.org>
2226
2227 PR lto/83452
2228 * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
2229 * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
af8096fc 2230
dbc3af4f
RS
22312018-01-13 Richard Sandiford <richard.sandiford@linaro.org>
2232
2233 * config/aarch64/value-unwind.h (aarch64_vg): New function.
2234 (DWARF_LAZY_REGISTER_VALUE): Define.
2235 * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
2236 to provide a fallback register value.
2237
68df9882
MM
22382018-01-08 Michael Meissner <meissner@linux.vnet.ibm.com>
2239
2240 * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
2241 __ibm128, instead of trying to use long double.
2242 (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
2243 accomidate -mabi=ieeelongdouble multilibs.
2244 (CVT_IBM128_TO_FLOAT128): Likewise.
2245 * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
2246 the appropriate IBM extended double type.
2247 (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
2248 (__gcc_qsub): Likewise.
2249 (__gcc_qmul): Likewise.
2250 (__gcc_qdiv): Likewise.
2251 (pack_ldouble): Likewise.
2252 (__gcc_qneg): Likewise.
2253 (__gcc_qeq): Likewise.
2254 (__gcc_qne): Likewise.
2255 (__gcc_qge): Likewise.
2256 (__gcc_qle): Likewise.
2257 (__gcc_stoq): Likewise.
2258 (__gcc_dtoq): Likewise.
2259 (__gcc_itoq): Likewise.
2260 (__gcc_utoq): Likewise.
2261 (__gcc_qunord): Likewise.
2262 * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
2263 quad-float128.h for the definitions.
2264 (COPYSIGN): Use the f128 version instead of the q version.
2265 (INFINITY): Likewise.
2266 (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
2267 * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
2268 quad-float128.h for the definitions.
2269 (COPYSIGN): Use the f128 version instead of the q version.
2270 (INFINITY): Likewise.
2271 (FABS): Likewise.
2272 (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
2273 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
2274 * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
2275
64b371b1
SH
22762018-01-05 Sebastian Huber <sebastian.huber@embedded-brains.de>
2277
2278 * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
2279 configuration.
2280
85ec4feb
JJ
22812018-01-03 Jakub Jelinek <jakub@redhat.com>
2282
2283 Update copyright years.
2284
22852017-12-12 Kito Cheng <kito.cheng@gmail.com>
b8d7e076
KC
2286
2287 * config/riscv/t-elf: Use multi3.c instead of multi3.S.
2288 * config/riscv/multi3.c: New file.
2289 * config/riscv/multi3.S: Remove.
2290
3a4c600f
JW
22912017-12-08 Jim Wilson <jimw@sifive.com>
2292
2293 * config/riscv/div.S: Use FUNC_* macros.
2294 * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
2295 * config/riscv/save-restore.S: Likewise.
2296 * config/riscv/riscv-asm.h: New.
2297
75ad35b5
MM
22982017-11-30 Michael Meissner <meissner@linux.vnet.ibm.com>
2299
6ae3512c
MM
2300 * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
2301 * config/rs6000/_divkc3.c (__divkc3): Likewise.
2302
75ad35b5
MM
2303 PR libgcc/83112
2304 * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
2305 correct type for all ifunc resolvers to silence -Wattribute-alias
2306 warnings. Eliminate the forward declaration of the resolver
2307 functions which is no longer needed.
2308 (__subkf3_resolve): Likewise.
2309 (__mulkf3_resolve): Likewise.
2310 (__divkf3_resolve): Likewise.
2311 (__negkf2_resolve): Likewise.
2312 (__eqkf2_resolve): Likewise.
2313 (__nekf2_resolve): Likewise.
2314 (__gekf2_resolve): Likewise.
2315 (__gtkf2_resolve): Likewise.
2316 (__lekf2_resolve): Likewise.
2317 (__ltkf2_resolve): Likewise.
2318 (__unordkf2_resolve): Likewise.
2319 (__extendsfkf2_resolve): Likewise.
2320 (__extenddfkf2_resolve): Likewise.
2321 (__trunckfsf2_resolve): Likewise.
2322 (__trunckfdf2_resolve): Likewise.
2323 (__fixkfsi_resolve): Likewise.
2324 (__fixkfdi_resolve): Likewise.
2325 (__fixunskfsi_resolve): Likewise.
2326 (__fixunskfdi_resolve): Likewise.
2327 (__floatsikf_resolve): Likewise.
2328 (__floatdikf_resolve): Likewise.
2329 (__floatunsikf_resolve): Likewise.
2330 (__floatundikf_resolve): Likewise.
2331 (__extendkftf2_resolve): Likewise.
2332 (__trunctfkf2_resolve): Likewise.
2333
2334 PR libgcc/83103
2335 * config/rs6000/quad-float128.h (TF): Don't define if long double
2336 is IEEE 128-bit floating point.
2337 (TCtype): Define as either TCmode or KCmode, depending on whether
2338 long double is IEEE 128-bit floating point.
2339 (__mulkc3_sw): Add declarations for software/hardware versions of
2340 complex multiply/divide.
2341 (__divkc3_sw): Likewise.
2342 (__mulkc3_hw): Likewise.
2343 (__divkc3_hw): Likewise.
2344 * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
2345 handlers to switch between using software emulation and hardware
2346 float128 instructions, build the complex multiply/divide functions
2347 for both software and hardware support.
2348 * config/rs6000/_divkc3.c (_divkc3): Likewise.
2349 * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
2350 (__divkc3_resolve): Likewise.
2351 (__mulkc3): Likewise.
2352 (__divkc3): Likewise.
2353 * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
2354 (fp128_hw_src): Likewise.
2355 (fp128_hw_static_obj): Likewise.
2356 (fp128_hw_shared_obj): Likewise.
2357 (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
2358 _mulkc3.c and _divkc3.c, changing the function name.
2359 (_divkc3-hw.c): Likewise.
2360 * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
2361 and _divkc3-hw.c.
2362
c234d831
UB
23632017-11-26 Julia Koval <julia.koval@intel.com>
2364
2365 * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
2366 * config/i386/cpuinfo.h (processor_subtypes): Add
2367 INTEL_COREI7_CANNONLAKE.
2368
1ebafce0
IT
23692017-11-20 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2370
2371 PR bootstrap/83015
2372 * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
2373 parameter.
2374 * config/xtensa/unwind-dw2-xtensa.c: Likewise
2375 * config/ia64/unwind-ia64.c: Add frames parameter.
2376 * unwind-sjlj.c: Likewise.
2377
6a10fff4
IT
23782017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2379
2380 * config/i386/linux-unwind.h: Include
2381 config/i386/shadow-stack-unwind.h.
2382 * config/i386/shadow-stack-unwind.h: New file.
2383 * unwind-dw2.c: (uw_install_context): Add a frame parameter and
2384 pass it to _Unwind_Frames_Extra.
2385 * unwind-generic.h (_Unwind_Frames_Extra): New.
2386 * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
2387 parameter. Add local variable frames to count number of frames.
2388 (_Unwind_ForcedUnwind_Phase2): Likewise.
2389 (_Unwind_RaiseException): Add local variable frames to count
2390 number of frames, pass it to _Unwind_RaiseException_Phase2 and
2391 uw_install_context.
2392 (_Unwind_ForcedUnwind): Likewise.
2393 (_Unwind_Resume): Likewise.
2394 (_Unwind_Resume_or_Rethrow): Likewise.
2395
1ecae1fc
IT
23962017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2397
2398 * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
2399 (CET_FLAGS): New.
2400 * config/i386/morestack.S: Include <cet.h>.
2401 (__morestack_large_model): Add _CET_ENDBR at function entrance.
2402 * config/i386/resms64.h: Include <cet.h>.
2403 * config/i386/resms64f.h: Likewise.
2404 * config/i386/resms64fx.h: Likewise.
2405 * config/i386/resms64x.h: Likewise.
2406 * config/i386/savms64.h: Likewise.
2407 * config/i386/savms64f.h: Likewise.
2408 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
2409 (CRTSTUFF_T_CFLAGS): Likewise.
2410 * configure.ac: Include ../config/cet.m4.
2411 Set and substitute CET_FLAGS.
2412 * configure: Regenerated.
2413
f021f1d3
RO
24142017-11-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2415
2416 * config.host (*-*-solaris2*): Adapt comment for Solaris 12
2417 renaming.
2418 * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
2419 * configure.ac (libgcc_cv_solaris_crts): Likewise.
2420 * configure: Regenerate.
2421
65f480c7
TV
24222017-11-07 Tom de Vries <tom@codesourcery.com>
2423
2424 * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
2425 after "do {} while (0)".
2426
2a321acb
TV
24272017-11-07 Tom de Vries <tom@codesourcery.com>
2428
2429 PR other/82784
2430 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
2431 semicolon after "do {} while (0)".
2432 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
2433 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
2434 * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
2435 * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
2436
59fcf6c3
AT
24372017-11-04 Andreas Tobler <andreast@gcc.gnu.org>
2438
2439 PR libgcc/82635
2440 * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
2441 sysctl to determine whether we're in a trampoline.
2442 Keep the pattern matching method for systems without
2443 KERN_PROC_SIGTRAMP sysctl.
2444
b0c7ddf8
CM
24452017-11-03 Cupertino Miranda <cmiranda@synopsys.com>
2446 Vineet Gupta <vgupta@synopsys.com>
2447
2448 * config.host (arc*-*-linux*): Set md_unwind_header variable.
2449 * config/arc/linux-unwind-reg.def: New file.
2450 * config/arc/linux-unwind-reg.h: Likewise.
2451
5feee954
SP
24522017-10-23 Sebastian Perta <sebastian.perta@renesas.com>
2453
2454 * config/rl78/subdi3.S: New assembly file.
2455 * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
2456
a0bf6cf7
SP
24572017-10-13 Sebastian Perta <sebastian.perta@renesas.com>
2458
2459 * config/rl78/adddi3.S: New assembly file.
2460 * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
2461
e7176f75
JJ
24622017-10-13 Jakub Jelinek <jakub@redhat.com>
2463
2464 PR target/82274
2465 * libgcc2.c (__mulvDI3): If both operands have
2466 the same highpart of -1 and the topmost bit of lowpart is 0,
2467 multiplication overflows even if both lowparts are 0.
2468
db6601d2
JB
24692017-09-28 James Bowman <james.bowman@ftdichip.com>
2470
2471 * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
2472
938b6f1e
JM
24732017-09-26 Joseph Myers <joseph@codesourcery.com>
2474
2475 * config/microblaze/crti.S, config/microblaze/crtn.S,
2476 config/microblaze/divsi3.S, config/microblaze/moddi3.S,
2477 config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
2478 config/microblaze/mulsi3.S,
2479 config/microblaze/stack_overflow_exit.S,
2480 config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
2481 config/pa/milli64.S: Add .note.GNU-stack section.
2482
89762a83
DS
24832017-09-23 Daniel Santos <daniel.santos@pobox.com>
2484
2485 * configure.ac: Add Check for HAVE_AS_AVX.
2486 * config.in: Regenerate.
2487 * configure: Likewise.
2488 * config/i386/i386-asm.h: Include auto-target.h from libgcc.
2489 (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
2490 Correct out-of-date comments.
2491
cace2309
SP
24922017-09-20 Sebastian Peryt <sebastian.peryt@intel.com>
2493
2494 * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
2495 * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
2496
3cb626e4
DS
24972017-09-17 Daniel Santos <daniel.santos@pobox.com>
2498
cace2309 2499 * config/i386/i386-asm.h (PASTE2): New macro.
3cb626e4
DS
2500 (ASMNAME): Modify to use PASTE2.
2501 (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
2502 (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
cace2309 2503 * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
3cb626e4 2504 instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
cace2309
SP
2505 * config/i386/resms64f.S: Likewise.
2506 * config/i386/resms64fx.S: Likewise.
2507 * config/i386/resms64x.S: Likewise.
2508 * config/i386/savms64.S: Likewise.
2509 * config/i386/savms64f.S: Likewise.
2510 * config/i386/avx_resms64.S: New file that only defines a macro and
3cb626e4 2511 includes it's corresponding header file.
cace2309
SP
2512 * config/i386/avx_resms64f.S: Likewise.
2513 * config/i386/avx_resms64fx.S: Likewise.
2514 * config/i386/avx_resms64x.S: Likewise.
2515 * config/i386/avx_savms64.S: Likewise.
2516 * config/i386/avx_savms64f.S: Likewise.
2517 * config/i386/sse_resms64.S: Likewise.
2518 * config/i386/sse_resms64f.S: Likewise.
2519 * config/i386/sse_resms64fx.S: Likewise.
2520 * config/i386/sse_resms64x.S: Likewise.
2521 * config/i386/sse_savms64.S: Likewise.
2522 * config/i386/sse_savms64f.S: Likewise.
2523 * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
3cb626e4 2524
2f19c491 25252017-09-01 Olivier Hainque <hainque@adacore.com>
2f19c491
OH
2526 * config.host (*-*-vxworks7): Widen scope to vxworks7*.
2527
611e7036
OH
25282017-08-31 Olivier Hainque <hainque@adacore.com>
2529
2530 * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
2531 match as powerpc-wrs-vxworks*.
2532
c8f34527
JY
25332017-08-07 Jonathan Yong <10walls@gmail.com>
2534
2535 * config.host (*-cygwin): Include file from mingw
2536 config/i386/enable-execute-stack-mingw32.c
2537
0b458d2b 25382017-08-01 Jerome Lambourg <lambourg@adacore.com>
92a285c1
ML
2539 Doug Rupp <rupp@adacore.com>
2540 Olivier Hainque <hainque@adacore.com>
0b458d2b
JL
2541
2542 * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
2543 as well as arm-wrs-vxworks.
2544 * config/arm/t-vxworks7: New file. Add unwind-arm-vxworks.c to
2545 LIB2ADDEH.
2546 * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
2547 __exidx_start and __exidx_end for downloadable modules.
2548
4df612fa
OH
25492017-08-01 Olivier Hainque <hainque@adacore.com>
2550
2551 * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
2552 * config/t-vxworks7: Likewise.
2553
5560e8c0
OH
25542017-08-01 Olivier Hainque <hainque@adacore.com>
2555
2556 * config/t-vxworks: Instead of redefining LIB2ADD,
2557 augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
2558
16bab95a
SH
25592017-07-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
2560
2561 * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
2562
9cbc07cc
DS
25632017-07-24 Daniel Santos <daniel.santos@pobox.com>
2564
2565 PR testsuite/80759
2566 * config.host: include i386/t-msabi for darwin and solaris.
2567 * config/i386/i386-asm.h
2568 (ELFFN): Rename to FN_TYPE.
2569 (FN_SIZE): New macro.
2570 (FN_HIDDEN): Likewise.
2571 (ASMNAME): Likewise.
2572 (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
2573 .globl.
2574 (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
2575 (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
2576 * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
2577 .macro.
2578 * config/i386/resms64f.S: Likewise.
2579 * config/i386/resms64fx.S: Likewise.
2580 * config/i386/resms64x.S: Likewise.
2581 * config/i386/savms64.S: Likewise.
2582 * config/i386/savms64f.S: Likewise.
2583
de742204
JM
25842017-07-19 John Marino <gnugcc@marino.st>
2585
2586 * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
2587
3787ee47
MM
25882017-07-12 Michael Meissner <meissner@linux.vnet.ibm.com>
2589
2590 PR target/81193
2591 * configure.ac (PowerPC float128 hardware support): Test whether
2592 we can use __builtin_cpu_supports before enabling the ifunc
2593 handler.
2594 * configure: Regenerate.
2595
b1938888
VG
25962017-07-10 Vineet Gupta <vgupta@synopsys.com>
2597
2598 * config.host: Remove uclibc from arc target spec.
2599
bec75e53
KW
26002017-07-09 Krister Walfridsson <krister.walfridsson@gmail.com>
2601
2602 * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
2603
d4391a62
PB
26042017-07-07 Peter Bergner <bergner@vnet.ibm.com>
2605
2606 * config/rs6000/float128-ifunc.c: Don't include auxv.h.
2607 (have_ieee_hw_p): Delete function.
2608 (SW_OR_HW) Use __builtin_cpu_supports().
2609
9296dd9b
TP
26102017-07-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
2611
2612 * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
2613
b85a969e
OH
26142017-07-03 Olivier Hainque <hainque@adacore.com>
2615
d4391a62 2616 * config/t-vxworks7: New file, really.
b85a969e 2617
883312dc
JM
26182017-06-28 Joseph Myers <joseph@codesourcery.com>
2619
2620 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
2621 config/alpha/linux-unwind.h (alpha_fallback_frame_state),
2622 config/bfin/linux-unwind.h (bfin_fallback_frame_state),
2623 config/i386/linux-unwind.h (x86_64_fallback_frame_state,
2624 x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
2625 uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
2626 config/pa/linux-unwind.h (pa32_fallback_frame_state),
2627 config/riscv/linux-unwind.h (riscv_fallback_frame_state),
2628 config/sh/linux-unwind.h (sh_fallback_frame_state),
2629 config/tilepro/linux-unwind.h (tile_fallback_frame_state),
2630 config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
2631 ucontext_t instead of struct ucontext.
2632
50567938
JL
26332017-06-27 Jerome Lambourg <lambourg@adacore.com>
2634
2635 * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
2636 (x86_64-wrs-vxworks7): Likewise.
2637
e4b0df93
OH
26382017-06-27 Olivier Hainque <hainque@adacore.com>
2639
2640 * config/t-vxworks7: New file.
2641 * config.host (*-*-vxworks7): Use it.
2642
60edf8bb
MT
26432017-06-22 Matt Turner <mattst88@gmail.com>
2644
2645 * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
2646 skylake case.
2647
a51a76e5
RB
26482017-06-21 Richard Biener <rguenther@suse.de>
2649
2650 PR gcov-profile/81080
2651 * configure.ac: Add AC_SYS_LARGEFILE.
2652 * libgcov.h: Include auto-target.h before tsystem.h to pick
2653 up _FILE_OFFSET_BITS which might differ for multilibs.
2654 * config.in: Regenerate.
2655 * configure: Likewise.
2656
f0cd49c5
RE
26572017-06-16 Richard Earnshaw <rearnsha@arm.com>
2658
2659 * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
2660
4f751c54
ML
26612017-06-09 Martin Liska <mliska@suse.cz>
2662
2663 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
2664 Reset __gcov_indirect_call_callee to NULL.
2665
1ac644c8
OH
26662017-06-08 Olivier Hainque <hainque@adacore.com>
2667
2668 * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
2669 the set of -I options, support for direct inclusions of net/uio.h
2670 by VxWorks header files via ioLib.h.
2671
d8b9cd27
TR
26722017-06-07 Tony Reix <tony.reix@atos.net>
2673 Matthieu Sarter <matthieu.sarter.external@atos.net>
2674 David Edelsohn <dje.gcc@gmail.com>
2675
92a285c1
ML
2676 * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
2677 unconditionally.
2678 (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support. Add 32-bit
2679 AIX 7.2 support.
d8b9cd27 2680
38a75ccc
OH
26812017-06-02 Olivier Hainque <hainque@adacore.com>
2682
2683 * config/vxlib.c (__gthread_once): Add missing value to
2684 return statement.
2685
5b2edf53
OH
26862017-05-30 Olivier Hainque <hainque@adacore.com>
2687
2688 * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
2689 dollar sign before $(MULTIDIR).
2690
7d66e265
RH
26912017-05-26 Richard Henderson <rth@redhat.com>
2692
2693 PR libgcc/80037
2694 * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
2695
78eca309
AT
26962017-05-17 Andreas Tobler <andreast@gcc.gnu.org>
2697
2698 * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
2699 _Unwind_SetIP available as functions for arm*-*-freebsd*.
2700 * config/arm/unwind-arm.c: Implement the above.
2701
c39d309a
AZ
27022017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2703
2704 * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
2705 section for a non-executable stack.
2706
eac8c9f2
KW
27072017-05-14 Krister Walfridsson <krister.walfridsson@gmail.com>
2708
2709 PR target/80600
2710 * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
2711
d6d4d770
DS
27122017-05-14 Daniel Santos <daniel.santos@pobox.com>
2713
2714 * config.host: Add i386/t-msabi to i386/t-linux file list.
2715 * config/i386/i386-asm.h: New file.
2716 * config/i386/resms64.S: New file.
2717 * config/i386/resms64f.S: New file.
2718 * config/i386/resms64fx.S: New file.
2719 * config/i386/resms64x.S: New file.
2720 * config/i386/savms64.S: New file.
2721 * config/i386/savms64f.S: New file.
2722 * config/i386/t-msabi: New file.
2723
8ef2b9a7
AT
27242017-05-09 Andreas Tobler <andreast@gcc.gnu.org>
2725
2726 * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
2727 arm*-*-freebsd* instead of the t-slibgcc-libgcc.
2728
7ab8766a
JC
27292017-05-05 Joshua Conner <joshconner@google.com>
2730
2731 * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
2732 pc-relative indirect handling for fuchsia.
2733 * config/t-slibgcc-fuchsia: New file.
2734 * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
d6d4d770 2735 x86_64-*-fuchsia*): Add definitions.
7ab8766a 2736
46928a8f
ML
27372017-04-19 Martin Liska <mliska@suse.cz>
2738
2739 PR gcov-profile/80435
2740 * Makefile.in: Install gcov.h.
2741 * gcov.h: New file.
2742 * libgcov.h: Use the header and make __gcov_flush publicly
2743 visible.
2744
63971184
ML
27452017-04-18 Martin Liska <mliska@suse.cz>
2746
2747 PR gcov-profile/78783
2748 * libgcov-driver.c (gcov_get_filename): New function.
2749
29d8aae6
JL
27502017-04-07 Jeff Law <law@redhat.com>
2751
2752 * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
2753 target makefile fragment.
2754 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
2755
2bdf7fc6
AM
27562017-04-07 Alan Modra <amodra@gmail.com>
2757
2758 PR target/45053
2759 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
2760
5764ee3c
JW
27612017-04-03 Jonathan Wakely <jwakely@redhat.com>
2762
2763 * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
2764
c4192ad7
CZ
27652017-03-27 Claudiu Zissulescu <claziss@synopsys.com>
2766
2767 * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
2768
4ccfdb28
JM
27692017-03-10 John Marino <gnugcc@marino.st>
2770
2771 * config/aarch64/freebsd-unwind.h: New file.
2772 * config.host: Add aarch64-*-freebsd unwinder.
2773
4144e4e3
SB
27742017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
2775
2776 * config/rs6000/crtrestvr.s: Use .machine altivec.
2777 * config/rs6000/crtsavevr.s: Ditto.
2778
7502c597
SB
27792017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
2780
2781 * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
2782 modify CFLAGS. Add -mabi=altivec -mvsx -mfloat128.
2783 (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
2784 -mfloat128-hardware to the CFLAGS. Fix syntax error in the C snippet.
2785 * configure: Regenerate.
2786 * config.in: Regenerate.
2787
db9f7f65
JY
27882017-03-02 Jonathan Yong <10walls@gmail.com>
2789
2790 * config/i386/gthr-win32.h: Define NOGDI before
2791 windows.h include to prevent w32api CC_NONE macro
2792 clash with libgfortran.
2793
126437c5
JY
27942017-03-02 Jonathan Yong <10walls@gmail.com>
2795
2796 * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
2797
31927af6
AP
27982017-02-16 Andrew Pinski <apinski@cavium.com>
2799
2800 * config/aarch64/value-unwind.h: New file.
2801 * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
2802 to tm_file.
2803
0bd99911
PD
28042017-02-06 Palmer Dabbelt <palmer@dabbelt.com>
2805
2806 * config.host: Add RISC-V tuples.
2807 * config/riscv/atomic.c: New file.
2808 * config/riscv/crti.S: Likewise.
2809 * config/riscv/crtn.S: Likewise.
2810 * config/riscv/div.S: Likewise.
2811 * config/riscv/linux-unwind.h: Likewise.
2812 * config/riscv/muldi3.S: Likewise.
2813 * config/riscv/multi3.S: Likewise.
2814 * config/riscv/save-restore.S: Likewise.
2815 * config/riscv/sfp-machine.h: Likewise.
2816 * config/riscv/t-elf: Likewise.
2817 * config/riscv/t-elf32: Likewise.
2818 * config/riscv/t-elf64: Likewise.
2819 * config/riscv/t-softfp32: Likewise.
2820 * config/riscv/t-softfp64: Likewise.
2821
a8c9ef2a
JJ
28222017-01-24 Jakub Jelinek <jakub@redhat.com>
2823
2824 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
2825 /* FALLTHRU */ comments.
2826
c6c82710
GP
28272017-01-21 Gerald Pfeifer <gerald@pfeifer.com>
2828
2829 * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
2830
a876231c
JW
28312017-01-20 Jiong Wang <jiong.wang@arm.com>
2832
2833 * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
2834 * unwind-dw2.c (execute_cfa_program): Only multiplexing
2835 DW_CFA_GNU_window_save for AArch64 and LP64.
2836
aa348be2
JW
28372017-01-20 Jiong Wang <jiong.wang@arm.com>
2838
2839 * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
2840
5636faf2
JW
28412017-01-19 Jiong Wang <jiong.wang@arm.com>
2842
2843 * config/aarch64/aarch64-unwind.h: New file.
2844 (DWARF_REGNUM_AARCH64_RA_STATE): Define.
2845 (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
2846 (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
2847 (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
2848 (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
2849 (aarch64_post_extract_frame_addr): New function.
2850 (aarch64_post_frob_eh_handler_addr): New function.
2851 (aarch64_frob_update_context): New function.
2852 * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
2853 * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
2854 aarch64*-*-freebsd*):
2855 Initialize md_unwind_header to include aarch64-unwind.h.
2856 * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
2857 (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
2858 __aarch64__.
2859 (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
2860 (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
2861 (uw_frob_return_addr): New function.
2862 (uw_install_context): Use uw_frob_return_addr.
2863
3c36aa6b
JJ
28642017-01-17 Jakub Jelinek <jakub@redhat.com>
2865
2866 PR other/79046
2867 * configure.ac: Add GCC_BASE_VER.
2868 * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
2869 version from BASE-VER file.
2870 * configure: Regenerated.
2871
829afb8f
JS
28722017-01-13 Joe Seymour <joe.s@somniumtech.com>
2873
2874 * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
2875 libmul_f5.a): Filter archived prerequisites.
2876
79fc8ffe
AS
28772017-01-10 Andrew Senkevich <andrew.senkevich@intel.com>
2878
2879 * config/i386/cpuinfo.h (processor_features): Add
2880 FEATURE_AVX512VPOPCNTDQ.
2881 * config/i386/cpuinfo.c (get_available_features): Habdle new
2882 feature.
2883
fec5f4e0
JM
28842017-01-04 Joseph Myers <joseph@codesourcery.com>
2885
2886 * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
2887 payload if [__mips_nan2008].
2888
8f56cb51
AM
28892017-01-04 Alan Modra <amodra@gmail.com>
2890
2891 * Makefile.in (configure_deps): Update.
2892 * configure: Regenerate.
2893
cbe34bb5
JJ
28942017-01-01 Jakub Jelinek <jakub@redhat.com>
2895
2896 Update copyright years.
2897
ab955692
KW
28982016-12-19 Krister Walfridsson <krister.walfridsson@gmail.com>
2899
2900 * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
2901 * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
2902 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
2903
de34320f
MK
29042016-12-17 Matthias Klose <doko@ubuntu.com>
2905
2906 * config/arc/gmon: Remove empty directory.
2907
e04ea1da
CZ
29082016-12-16 Claudiu Zissulescu <claziss@synopsys.com>
2909
2910 * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
2911 crtgend.
2912 (arc*-*-elf*): Likewise.
2913 * config/arc/t-arc: Remove old gmon lib targets.
2914 * config/arc/crtg.S: Remove.
2915 * config/arc/crtgend.S: Likewise.
2916 * config/arc/gmon/atomic.h: Likewise.
2917 * config/arc/gmon/auxreg.h: Likewise.
2918 * config/arc/gmon/dcache_linesz.S: Likewise.
2919 * config/arc/gmon/gmon.c: Likewise.
2920 * config/arc/gmon/machine-gmon.h: Likewise.
2921 * config/arc/gmon/mcount.c: Likewise.
2922 * config/arc/gmon/prof-freq-stub.S: Likewise.
2923 * config/arc/gmon/prof-freq.c: Likewise.
2924 * config/arc/gmon/profil.S: Likewise.
2925 * config/arc/gmon/sys/gmon.h: Likewise.
2926 * config/arc/gmon/sys/gmon_out.h: Likewise.
2927 * config/arc/t-arc-newlib: Likewise.
2928 * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
2929
8ae1c2c1
GS
29302016-12-12 George Spelvin <linux@sciencehorizons.net>
2931
2932 * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
2933
a5b947fa
GS
29342016-12-12 George Spelvin <linux@sciencehorizons.net>
2935
2936 * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
2937 R16 instead of push + pop.
2938 (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
2939
d6574dd1
KW
29402016-12-10 Krister Walfridsson <krister.walfridsson@gmail.com>
2941
2942 * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
2943 tmake_file.
2944
62440b4f
CM
29452016-12-05 Cupertino Miranda <cmiranda@synopsys.com>
2946
2947 * config.host (arc*-*-linux-uclibc*): Use default extra
2948 objects. Include linux-android header.
2949 * config/arc/crti.S (_init): Declare symbol as function.
2950 (_fini): Likewise.
2951
31cfd832
TK
29522016-12-03 Thomas Koenig <tkoenig@gcc.gnu.org>
2953
2954 PR fortran/78379
2955 * config/i386/cpuinfo.c: Move denums for processor vendors,
2956 processor type, processor subtypes and declaration of
2957 struct __processor_model into
2958 * config/i386/cpuinfo.h: New header file.
2959
c92e08e3
AV
29602016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
2961 Thomas Preud'homme <thomas.preudhomme@arm.com>
2962
2963 * config/arm/cmse_nonsecure_call.S: New.
2964 * config/arm/t-arm: Compile cmse_nonsecure_call.S
2965
de7b5723
AV
29662016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
2967 Thomas Preud'homme <thomas.preudhomme@arm.com>
2968
2969 * config/arm/t-arm (HAVE_CMSE): New.
2970 * config/arm/cmse.c: New.
2971
7a0d2bce
TP
29722016-11-28 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2973
b3a5bff4
TP
2974 PR gcc/74748
2975 * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
2976 use generic linker version information on Blackfin.
2977
7a0d2bce
TP
2978 PR gcc/74748
2979 * libgcc/mkmap-symver.awk: add support for skip_underscore
2980
b410cf1d
IS
29812016-11-27 Iain Sandoe <iain@codesourcery.com>
2982 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2983
2984 PR target/67710
2985 * config/t-darwin: Default builds to 10.5 codegen.
2986
2e5f8203
JG
29872016-11-24 James Greenhalgh <james.greenhalgh@arm.com>
2988
2989 * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
2990 (_FP_NANSIGN_H): Likewise.
2991 * config/aarch64/t-softfp (softfp_extensions): Add hftf.
2992 (softfp_truncations): Add tfhf.
2993 (softfp_extras): Add required conversion functions.
2994
bea64ca3
JG
29952016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
2996 Matthew Wahab <matthew.wahab@arm.com>
2997
2998 * config/arm/fp16.c (binary64): New.
2999 (__gnu_d2h_internal): New.
3000 (__gnu_d2h_ieee): New.
3001 (__gnu_d2h_alternative): New.
3002
8630cadb
JG
30032016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
3004 Matthew Wahab <matthew.wahab@arm.com>
3005
3006 * config/arm/fp16.c (struct format): New.
3007 (binary32): New.
3008 (__gnu_float2h_internal): New. Body moved from
3009 __gnu_f2h_internal and generalize.
3010 (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
3011 Call it with binary32.
3012
5823ef23
JG
30132016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
3014
3015 * soft-fp/extendhftf2.c: Update from glibc.
3016 * soft-fp/fixhfti.c: Likewise.
3017 * soft-fp/fixunshfti.c: Likewise.
3018 * soft-fp/floattihf.c: Likewise.
3019 * soft-fp/floatuntihf.c: Likewise.
3020 * soft-fp/half.h: Likewise.
3021 * soft-fp/trunctfhf2.c: Likewise.
3022
62a7df9f
MG
30232016-11-20 Marc Glisse <marc.glisse@inria.fr>
3024
3025 PR libgcc/77813
3026 * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
3027 __TMC_END__ behind a passthrough asm.
3028
7a384912
WL
30292016-11-18 Walter Lee <walt@tilera.com>
3030
62a7df9f 3031 * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
7a384912 3032
9775c1a5
L
30332016-11-17 Andrew Senkevich <andrew.senkevich@intel.com>
3034
3035 * config/i386/cpuinfo.c (processor_features): Add
3036 FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
3037
48c842ab
CZ
30382016-11-17 Claudiu Zissulescu <claziss@synopsys.com>
3039
3040 * config/arc/dp-hack.h (ARC_OPTFPE): Define.
3041 (__ARC_NORM__): Use instead ARC_OPTFPE.
3042 * config/arc/fp-hack.h: Likewise.
3043 * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
3044 (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
3045
5012919d
AM
30462016-11-16 Alexander Monakov <amonakov@ispras.ru>
3047
3048 * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
3049 * config/nvptx/mgomp.c: New file.
3050 * config/nvptx/t-nvptx: Add mgomp.c
3051
00178b98
WB
30522016-11-16 Waldemar Brodkorb <wbx@openadk.org>
3053
3054 PR libgcc/68468
3055 * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
3056
d64af69f
CZ
30572016-11-15 Claudiu Zissulescu <claziss@synopsys.com>
3058
3059 * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
3060 of checking for cpus.
3061 (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
3062 (__modsi3, __clzsi2): Likewise.
3063
9d8f95de
SN
30642016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
3065
3066 * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
3067 i386/t-cpuinfo-static instead of i386/t-cpuinfo.
3068 * config/i386/t-cpuinfo-static: New.
3069
7d29f8e3
ML
30702016-11-03 Martin Liska <mliska@suse.cz>
3071
3072 * libgcov-profiler.c (__gcov_time_profiler): Remove.
3073 (__gcov_time_profiler_atomic): Likewise.
3074
5de3e2d8
BE
30752016-11-03 Bernd Edlinger <bernd.edlinger@hotmail.de>
3076
3077 PR libgcc/78067
3078 * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
3079 count_leading_zeros.
3080
18362447
UB
30812016-11-02 Uros Bizjak <ubizjak@gmail.com>
3082
3083 * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
3084 * libgcc2.c (__divmoddi4): New function.
3085 * libgcc2.h (__divmoddi4): Declare.
3086 * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
3087 and __PFX_divmodti4.
3088
33107571
FW
30892016-10-24 Florian Weimer <fweimer@redhat.com>
3090
3091 PR libgcc/78064
3092 * unwind-c.c: Include auto-target.h.
3093
4c6d7494
JDA
30942016-10-19 John David Anglin <danglin@gcc.gnu.org>
3095
18362447 3096 * config/pa/pa64-hpux-lib.h: New file.
4c6d7494
JDA
3097 (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
3098 (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
3099 * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
3100 hppa*64*-*-hpux11*.
3101
2a26adf1
MF
31022016-10-18 Max Filippov <jcmvbkbc@gmail.com>
3103
3104 * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
3105 definition.
3106 * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
3107 definition.
3108 * config/xtensa/t-windowed (LIB2ADDEH): Use
3109 LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
3110 or xtensa/t-linux.
3111
66192aa1
DKC
31122016-10-18 Ding-Kai Chen <dkchen@cadence.com>
3113
3114 * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
3115 __ieee754_sqrt): New functions.
3116 (__divdf3): Add implementation with new FPU instructions under
3117 #if XCHAL_HAVE_DFP_DIV.
3118 * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
3119 __ieee754_sqrtf): New functions.
3120 (__divsf3): Add implementation with new FPU instructions under
3121 #if XCHAL_HAVE_FP_DIV.
3122 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
3123 _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
3124
4d0cdd0c
TP
31252016-10-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
3126
3127 * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
3128 equivalent.
3129 * config/tilepro/atomic.c: Likewise and stop casting model to
3130 enum memmodel.
3131
73f01cca
JM
31322016-10-10 Joseph Myers <joseph@codesourcery.com>
3133
3134 PR target/77586
3135 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
3136 soft-fp.
3137
b20e7532
AT
31382016-10-10 Andreas Tobler <andreast@gcc.gnu.org>
3139
3140 * config.host: Add support for aarch64-*-freebsd*.
3141
a786cec4
AS
31422016-10-05 Andreas Schwab <schwab@suse.de>
3143
3144 * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
3145 (.section .init_array): Don't call __do_jv_register_classes.
3146 (.section .init): Likewise.
3147
5a79befb
JJ
31482016-10-04 Jakub Jelinek <jakub@redhat.com>
3149
3150 * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
3151 (__JCR_LIST__): Remove.
3152 (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
3153 * config/i386/cygming-crtend.c (__JCR_END__): Remove.
3154 * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
3155 * config/ia64/crtend.S (__JCR_END__): Remove.
3156 * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
3157 conditionals.
3158 (__JCR_LIST__, __JCR_END__): Remove.
3159 (frame_dummy): Don't attempt to _Jv_RegisterClasses.
3160 (__do_global_ctors_1): Likewise.
3161
e0ab3753
UB
31622015-09-28 Uros Bizjak <ubizjak@gmail.com>
3163
3164 * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
3165 (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
3166
8c9434c2
ML
31672016-09-27 Martin Liska <mliska@suse.cz>
3168
3169 PR gcov-profile/7970
3170 PR gcov-profile/16855
3171 PR gcov-profile/44779
3172 * libgcov-driver.c (__gcov_init): Do not register a atexit
3173 handler.
3174 (__gcov_exit): Rename from gcov_exit.
3175 * libgcov.h (__gcov_exit): Declare.
3176
56b653f1
ML
31772016-09-27 Martin Liska <mliska@suse.cz>
3178
3179 PR bootstrap/77749
3180 * Makefile.in: Remove _gcov_merge_delta.
3181 * libgcov-merge.c (void __gcov_merge_delta): Remove.
3182 * libgcov-util.c (__gcov_delta_counter_op): Remove.
3183 * libgcov.h: Remove declaration of __gcov_merge_delta.
3184
7e02fd1b
EB
31852016-09-21 Eric Botcazou <ebotcazou@adacore.com>
3186
3187 * configure.ac: Do not create links, only substitute the filenames.
3188 * configure: Regenerate.
3189 * Makefile.in: Assign the substitution results to variables.
3190 (LIBGCC_LINKS): Define.
3191 (enable-execute-stack.c): New rule.
3192 (unwind.h): Likewise.
3193 (md-unwind-support.h): Likewise.
3194 (sfp-machine.h): Likewise.
3195 (gthr-default.h): Likewise.
3196 Add $(LIBGCC_LINKS) to the prerequisites of all object files and
3197 unwind.h as prerequisite of install-unwind_h-forbuild.
3198
29991048
JJ
31992016-09-16 Jakub Jelinek <jakub@redhat.com>
3200
3201 PR libgcc/71744
3202 * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
3203 is not the primary registry and atomics are available.
3204 (any_objects_registered): New variable.
3205 (__register_frame_info_bases, __register_frame_info_table_bases):
3206 Atomically store 1 to any_objects_registered after registering first
3207 unwind info.
3208 (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
3209
0abcd6cc
JG
32102016-09-09 James Greenhalgh <james.greenhalgh@arm.com>
3211
3212 PR target/63250
3213 * Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
3214 * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
3215 (HFtype): Likewise.
3216 (HCtype): Likewise.
3217 (__divhc3): Likewise.
3218 (__mulhc3): Likewise.
3219 * libgcc2.c: Support _mulhc3 and _divhc3.
3220
d758aeb5
JM
32212016-09-07 Joseph Myers <joseph@codesourcery.com>
3222
3223 PR libgcc/77519
3224 * libgcc2.c (NOTRUNC): Invert settings.
3225
7fe76f6a
ML
32262016-09-06 Martin Liska <mliska@suse.cz>
3227
3228 PR gcov-profile/77378
3229 PR gcov-profile/77466
3230 * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
3231 conditionaly enable/disable *_atomic functions.
3232
21184026
JM
32332016-08-26 Joseph Myers <joseph@codesourcery.com>
3234
3235 * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
3236 where not already enabled.
3237
726f49c3
SN
32382016-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
3239
3240 * config/mips/linux-unwind.h: Use sys/syscall.h.
3241
feeb6268
JM
32422016-08-16 Joseph Myers <joseph@codesourcery.com>
3243
3244 PR libgcc/77265
3245 * soft-fp/adddf3.c: Update from glibc.
3246 * soft-fp/addsf3.c: Likewise.
3247 * soft-fp/addtf3.c: Likewise.
3248 * soft-fp/divdf3.c: Likewise.
3249 * soft-fp/divsf3.c: Likewise.
3250 * soft-fp/divtf3.c: Likewise.
3251 * soft-fp/double.h: Likewise.
3252 * soft-fp/eqdf2.c: Likewise.
3253 * soft-fp/eqsf2.c: Likewise.
3254 * soft-fp/eqtf2.c: Likewise.
3255 * soft-fp/extenddftf2.c: Likewise.
3256 * soft-fp/extended.h: Likewise.
3257 * soft-fp/extendsfdf2.c: Likewise.
3258 * soft-fp/extendsftf2.c: Likewise.
3259 * soft-fp/extendxftf2.c: Likewise.
3260 * soft-fp/fixdfdi.c: Likewise.
3261 * soft-fp/fixdfsi.c: Likewise.
3262 * soft-fp/fixdfti.c: Likewise.
3263 * soft-fp/fixsfdi.c: Likewise.
3264 * soft-fp/fixsfsi.c: Likewise.
3265 * soft-fp/fixsfti.c: Likewise.
3266 * soft-fp/fixtfdi.c: Likewise.
3267 * soft-fp/fixtfsi.c: Likewise.
3268 * soft-fp/fixtfti.c: Likewise.
3269 * soft-fp/fixunsdfdi.c: Likewise.
3270 * soft-fp/fixunsdfsi.c: Likewise.
3271 * soft-fp/fixunsdfti.c: Likewise.
3272 * soft-fp/fixunssfdi.c: Likewise.
3273 * soft-fp/fixunssfsi.c: Likewise.
3274 * soft-fp/fixunssfti.c: Likewise.
3275 * soft-fp/fixunstfdi.c: Likewise.
3276 * soft-fp/fixunstfsi.c: Likewise.
3277 * soft-fp/fixunstfti.c: Likewise.
3278 * soft-fp/floatdidf.c: Likewise.
3279 * soft-fp/floatdisf.c: Likewise.
3280 * soft-fp/floatditf.c: Likewise.
3281 * soft-fp/floatsidf.c: Likewise.
3282 * soft-fp/floatsisf.c: Likewise.
3283 * soft-fp/floatsitf.c: Likewise.
3284 * soft-fp/floattidf.c: Likewise.
3285 * soft-fp/floattisf.c: Likewise.
3286 * soft-fp/floattitf.c: Likewise.
3287 * soft-fp/floatundidf.c: Likewise.
3288 * soft-fp/floatundisf.c: Likewise.
3289 * soft-fp/floatunditf.c: Likewise.
3290 * soft-fp/floatunsidf.c: Likewise.
3291 * soft-fp/floatunsisf.c: Likewise.
3292 * soft-fp/floatunsitf.c: Likewise.
3293 * soft-fp/floatuntidf.c: Likewise.
3294 * soft-fp/floatuntisf.c: Likewise.
3295 * soft-fp/floatuntitf.c: Likewise.
3296 * soft-fp/gedf2.c: Likewise.
3297 * soft-fp/gesf2.c: Likewise.
3298 * soft-fp/getf2.c: Likewise.
3299 * soft-fp/ledf2.c: Likewise.
3300 * soft-fp/lesf2.c: Likewise.
3301 * soft-fp/letf2.c: Likewise.
3302 * soft-fp/muldf3.c: Likewise.
3303 * soft-fp/mulsf3.c: Likewise.
3304 * soft-fp/multf3.c: Likewise.
3305 * soft-fp/negdf2.c: Likewise.
3306 * soft-fp/negsf2.c: Likewise.
3307 * soft-fp/negtf2.c: Likewise.
3308 * soft-fp/op-1.h: Likewise.
3309 * soft-fp/op-2.h: Likewise.
3310 * soft-fp/op-4.h: Likewise.
3311 * soft-fp/op-8.h: Likewise.
3312 * soft-fp/op-common.h: Likewise.
3313 * soft-fp/quad.h: Likewise.
3314 * soft-fp/single.h: Likewise.
3315 * soft-fp/soft-fp.h: Likewise.
3316 * soft-fp/subdf3.c: Likewise.
3317 * soft-fp/subsf3.c: Likewise.
3318 * soft-fp/subtf3.c: Likewise.
3319 * soft-fp/truncdfsf2.c: Likewise.
3320 * soft-fp/trunctfdf2.c: Likewise.
3321 * soft-fp/trunctfsf2.c: Likewise.
3322 * soft-fp/trunctfxf2.c: Likewise.
3323 * soft-fp/unorddf2.c: Likewise.
3324 * soft-fp/unordsf2.c: Likewise.
3325 * soft-fp/unordtf2.c: Likewise.
3326
2e6fc1ac
GG
33272016-08-15 Gilles Gouaillardet <gilles.gouaillardet@gmail.com>
3328
3329 PR gcov-profile/67097
3330 * libgcov-util.c (gcov_profile_merge): Skip missing files.
3331
a266236e
ML
33322016-08-10 Martin Liska <mliska@suse.cz>
3333
3334 PR gcov-profile/58306
3335 * Makefile.in: New functions (modules) are added.
3336 * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
3337 function.
3338 (__gcov_pow2_profiler_atomic): New function.
3339 (__gcov_one_value_profiler_body): New argument is instroduced.
3340 (__gcov_one_value_profiler): Call with the new argument.
3341 (__gcov_one_value_profiler_atomic): Likewise.
3342 (__gcov_indirect_call_profiler_v2): Likewise.
3343 (__gcov_time_profiler_atomic): New function.
3344 (__gcov_average_profiler_atomic): Likewise.
3345 (__gcov_ior_profiler_atomic): Likewise.
3346 * libgcov.h: Declare the aforementioned functions.
3347
e0c8eebf
ML
33482016-08-09 Martin Liska <mliska@suse.cz>
3349
3350 * libgcov-util.c: Fix typo and GNU coding style.
3351
6dce6418
ML
33522016-08-09 Martin Liska <mliska@suse.cz>
3353
3354 * Makefile.in: Remove __gcov_indirect_call_profiler.
3355 * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
3356 function.
3357 * libgcov.h: And the declaration of the function.
3358
dcb1e137
ML
33592016-08-09 Martin Liska <mliska@suse.cz>
3360
3361 * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
3362 power of two.
3363
d6e69705
BS
33642016-07-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
3365
3366 * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
3367 * config/rs6000/_mulkc3.c: Likewise.
3368
96aa1f95
GJL
33692016-07-29 Georg-Johann Lay <avr@gjlay.de>
3370
3371 * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
3372 zero_reg as previous call to __umulhisi3 already cleared it.
3373
a1b01d34
AJ
33742016-07-21 Aurelien Jarno <aurelien@aurel32.net>
3375
3376 PR target/59833
3377 * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
3378
985a47b2
NC
33792016-07-19 Nick Clifton <nickc@redhat.com>
3380
3381 * config.host (m32r): Add m32r/t-m32r to tmake_file.
3382 Add crtinit.o and crtfini.o to extra_parts.
3383
f906f5ed
BS
33842016-07-12 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
3385
3386 * config/rs6000/_divkc3.c: New.
3387 * config/rs6000/_mulkc3.c: New.
3388 * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
3389 and _divkc3.
3390 * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
3391 fp128_ppc_funcs.
3392
82742404
HW
33932016-07-11 Hale Wang <hale.wang@arm.com>
3394 Andre Vieira <andre.simoesdiasvieira@arm.com>
3395
3396 * config/arm/lib1funcs.S: Add new wrapper.
3397
05a437c1
TP
33982016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
3399
3400 * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
3401
3d16d9ec
TP
34022016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
3403
3404 * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
3405 and ARMv5t* rather than for a fixed list of architectures.
3406
6f493951
TP
34072016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
3408
3409 * config/arm/bpabi-v6m.S: Clarify what architectures is the
3410 implementation suitable for.
3411 * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
3412 for all Thumb-1 only targets.
3413 (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
3414 (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
3415 __ARM_ARCH_6M__.
3416 (EQUIV): Likewise.
3417 (ARM_FUNC_ALIAS): Likewise.
3418 (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
3419 version.
3420 (modsi3): Likewise.
3421 (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
3422 (clzdi2): Likewise.
3423 (ctzsi2): Likewise.
3424 (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
3425 __ARM_ARCH_6M__ in guard for checking whether it is defined.
3426 (final includes): Test for NOT_ISA_TARGET_32BIT rather than
3427 __ARM_ARCH_6M__ and add comment to indicate the connection between
3428 this condition and the one in gcc/config/arm/elf.h.
3429 * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
3430 __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
3431 * config/arm/t-softfp: Likewise.
3432
1770511a
TS
34332016-07-06 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3434
3435 * libgcc2.c (SYMBOL__MAIN): Remove checks for
3436 CTOR_LISTS_DEFINED_EXTERNALLY.
3437
ba6be749
WL
34382016-06-28 Walter Lee <walt@tilera.com>
3439
3440 * config/tilepro/atomic.h: Do not include arch/spr_def.h and
3441 asm/unistd.h.
3442 (SPR_CMPEXCH_VALUE): Define for tilegx.
3443 (__NR_FAST_cmpxchg): Define for tilepro.
3444 (__NR_FAST_atomic_update): Define for tilepro.
3445 (__NR_FAST_cmpxchg64): Define for tilepro.
3446
a34c0db5
JS
34472016-06-23 Jakub Sejdak <jakub.sejdak@phoesys.com>
3448
18362447 3449 * config.host: Add suport for arm*-*-phoenix* targets.
a34c0db5 3450
0609abda
TS
34512016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3452
3453 * config.host: Remove support for mep-*.
3454 * config/mep/lib1funcs.S: Remove.
3455 * config/mep/lib2funcs.c: Remove.
3456 * config/mep/t-mep: Remove.
3457 * config/mep/tramp.c: Remove.
3458
3e326935
TS
34592016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3460
3461 * config.host: Remove support for avr-rtems.
3462 * config/avr/t-rtems: Remove.
3463
914b155c
TS
34642016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3465
3466 * config.host: Remove m32r-rtems support.
3467
5ebf89bd
TS
34682016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3469
3470 * config.host: Remove h8300-rtems support.
3471
8466af06
TS
34722016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3473
3474 * config.host: Remove support for knetbsd.
3475
d980e738
TS
34762016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3477
3478 * config.host: Remove support for openbsd 2 and 3.
3479
ee2499b4
TS
34802016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3481
3482 * config.host: Remove interix support.
3483 * config/i386/t-interix: Remove.
3484
9f92937b
JDA
34852016-06-18 John David Anglin <danglin@gcc.gnu.org>
3486
3487 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
3488 least-significant bit in function pointer for fixup.
3489
0a0ec53d
AC
34902016-06-05 Aaron Conole <aconole@redhat.com>
3491 Nathan Sidwell <nathan@acm.org>
3492
3493 PR libgcc/71400
3494 * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
3495 (get_gcov_error_file): Check __gcov_error_file before trying to
3496 initialize it.
3497 (gcov_error): Always use get_gcov_error_file.
3498
8aa5bdd6
AC
34992016-06-02 Aaron Conole <aconole@redhat.com>
3500
3501 * libgcov-driver-system.c (__gcov_error_file): New.
3502 (get_gcov_error_file): New.
3503 (gcov_error): Use and set __gcov_error_file.
3504 (gcov_error_exit): New.
3505 * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
3506
40774faf
NS
35072016-05-26 Nathan Sidwell <nathan@acm.org>
3508
3509 * config/nvptx/free.asm: Delete.
3510 * config/nvptx/malloc.asm: Delete.
3511 * config/nvptx/realloc.c: Delete.
3512 * t-nvptx: Update.
3513
69a6d5ad
NS
35142016-05-25 Nathan Sidwell <nathan@acm.org>
3515
3516 * config/nvptx/crt0.s: Delete.
3517 * config/nvptx/crt0.c: New.
3518 * t-nvptx: Update.
3519
6befaff6
SL
35202016-05-19 Sandra Loosemore <sandra@codesourcery.com>
3521
385c7747 3522 * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
6befaff6
SL
3523 dw2/seh configuration.
3524 [x86_64-*-mingw*]: Likewise.
3525
ad251dfd
JS
35262016-05-10 Joel Sherrill <joel@rtems.org>
3527
3528 PR libgcc/70720
3529 * config.host (moxie-*-rtems*): Merge this stanza with other moxie
3530 targets so the same extra_parts are built. Also have tmake_file add
3531 on to its value rather than override.
3532
bc6d9014
OE
35332016-04-30 Oleg Endo <olegendo@gcc.gnu.org>
3534
3535 * config.host: Remove SH5 support.
3536 * configure: Likewise.
3537
9129c8cf
OE
35382016-04-29 Oleg Endo <olegendo@gcc.gnu.org>
3539
3540 * config/sh/crt1.S: Remove SH5 support.
3541 * config/sh/crti.S: Likewise.
3542 * config/sh/crtn.S: Likewise.
3543 * config/sh/lib1funcs-4-300.S: Likewise.
3544 * config/sh/lib1funcs-Os-4-200.S: Likewise.
3545 * config/sh/lib1funcs.S: Likewise.
3546 * config/sh/linux-unwind.h: Likewise.
3547 * config/sh/t-sh64: Delete.
3548
39d50464
CZ
35492016-04-29 Claudiu Zissulescu <claziss@synopsys.com>
3550
3551 * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
3552
8b48923b
CZ
35532016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
3554 Joern Rennecke <joern.rennecke@embecosm.com>
3555
3556 * config/arc/crttls.S: New file.
3557 * config/arc/t-arc: New rule.
3558 * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
3559
2de1cf8c
NC
35602016-04-25 Nick Clifton <nickc@redhat.com>
3561
3562 * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
3563 (__mspabi_cmpd): Likewise.
3564 * config/msp430/floathidf.c (__floathidf): Likewise.
3565 * config/msp430/floathisf.c (__floathisf): Likewise
3566 * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
3567 * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
3568 * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
3569 second parameter.
3570 (__ashrsi3): Likewise.
3571
b8ce3fe2
WB
35722016-04-21 Waldemar Brodkorb <wbx@openadk.org>
3573
3574 * config/m68k/linux-atomic.c: Do not include unistd.h
3575
4986f823
MG
35762016-04-20 Martin Galvan <martin.galvan@tallertechnologies.com>
3577
3578 * config/arm/ieee754-df.S: Fix typos in comments.
3579
35fbda43
MM
35802016-04-11 Michael Meissner <meissner@linux.vnet.ibm.com>
3581
3582 PR target/70381
3583 * configure.ac (powerpc*-*-linux*): Rework tests to build
3584 __float128 emulation routines to not depend on using #pragma GCC
3585 target to enable -mfloat128.
3586 * configure: Regnerate.
3587
72d1a48d
EB
35882016-04-04 Eric Botcazou <ebotcazou@adacore.com>
3589
3590 PR target/67172
3591 * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
3592 __MINGW32__ is defined.
3593
dc2e8995
JB
35942016-03-28 James Bowman <james.bowman@ftdichip.com>
3595
385c7747 3596 * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
dc2e8995 3597
104cdaf1
MM
35982016-03-22 Michael Meissner <meissner@linux.vnet.ibm.com>
3599
3600 PR libgcc/70363
3601 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
3602 built with an assembler that does not support ISA 3.0
3603 instructions, rename __extendkftf2_sw to __extendkftf2.
3604
a5046f48
RO
36052016-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3606
3607 PR target/38239
3608 * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
3609 call-clobbered registers.
3610 (internal_mcount): Remove __i386__ handling.
3611
df674f74
JS
36122016-02-26 Joel Sherrill <joel@rtems.org>
3613
3614 * config.host: Add x86_64-*-rtems*.
3615
7cb065d6
JS
36162016-02-26 Joel Sherrill <joel@rtems.org>
3617
3618 * libgcc/config.host: Add aarch64-*-rtems*.
3619
47dfdc53
PM
36202016-02-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
3621 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
3622
3623 * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
3624 union of u64 and double.
3625 (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
3626 (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
3627 value.
3628 (FP_ROUNDMODE): Update the usage of _fpscr.
3629
e6861a99
IV
36302016-02-25 Ilya Verbin <ilya.verbin@intel.com>
3631
3632 PR driver/68463
3633 * Makefile.in (crtoffloadtable$(objext)): New rule.
3634 * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
3635 enable_offload_targets is not empty.
3636 * configure: Regenerate.
3637 * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
3638 crtoffloadtable.
3639
9bfcbdee
MF
36402016-02-17 Max Filippov <jcmvbkbc@gmail.com>
3641
3642 * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
3643 .literal_position before the function.
3644 * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
3645 Likewise.
3646
4cb4721f
MK
36472016-02-15 Marcin Kościelnicki <koriakin@0x04.net>
3648
3649 * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
3650 * config/s390/morestack.S: New file.
3651 * config/s390/t-stack-s390: New file.
3652 * generic-morestack.c (__splitstack_find): Add s390-specific code.
3653
b29d9a29
WL
36542016-02-12 Walter Lee <walt@tilera.com>
3655
3656 * config.host (tilegx*-*-linux*): remove ti from
3657 softfp_int_modes for 32-bit configs.
3658
03a0ae7d
ILT
36592016-02-10 Ian Lance Taylor <iant@google.com>
3660
3661 PR go/68562
3662 * config/i386/morestack.S (__stack_split_initialize): Align
3663 stack.
3664
68750bce
AT
36652016-02-03 Andreas Tobler <andreast@gcc.gnu.org>
3666
3667 PR bootstrap/69611
3668 * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
3669 __FLOAT128__ to compile only for __float128 capable targets.
3670
7d296953
JJ
36712016-01-25 Jakub Jelinek <jakub@redhat.com>
3672
3673 PR target/69444
3674 * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
3675 instead of ___NO_FPRS__.
3676
a71c0334 36772016-01-21 Michael Meissner <meissner@linux.vnet.ibm.com>
7d296953
JJ
3678 Steven Munroe <munroesj@linux.vnet.ibm.com>
3679 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
a71c0334
MM
3680
3681 * config/rs6000/float128-sed: New files to convert TF names to KF
3682 names for PowerPC IEEE 128-bit floating point support.
3683 * config/rs6000/float128-sed-hw: Likewise.
3684
3685 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
3686 floating point hardware support.
3687
3688 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
3689 128-bit floating point software emulation or use ISA 3.0 hardware
3690 support if it is available.
3691
3692 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
3693 floating point.
3694
3695 * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
3696 floating point to IBM extended double.
3697
3698 * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
3699 double to IEEE 128-bit floating point.
3700
3701 * config/rs6000/t-float128: New Makefile fragments to enable
3702 building __float128 emulation support.
3703 * config/rs6000/t-float128-hw: Likewise.
3704
3705 * config/rs6000/sfp-exceptions.c: New file to provide exception
3706 support for IEEE 128-bit floating point.
3707
3708 * config/rs6000/floattikf.c: New files for converting between IEEE
3709 128-bit floating point and signed/unsigned 128-bit integers.
3710 * config/rs6000/fixunskfti.c: Likewise.
3711 * config/rs6000/fixkfti.c: Likewise.
3712 * config/rs6000/floatuntikf.c: Likewise.
3713
3714 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
3715 when building on 64-bit systems, or when VSX is enabled.
3716 (_FP_W_TYPE): Likewise.
3717 (_FP_WS_TYPE): Likewise.
3718 (_FP_I_TYPE): Likewise.
3719 (TItype): Define on 64-bit systems.
3720 (UTItype): Likewise.
3721 (TI_BITS): Likewise.
3722 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
3723 (_FP_MUL_MEAT_Q): Likewise.
3724 (_FP_DIV_MEAT_D): Likewise.
3725 (_FP_DIV_MEAT_Q): Likewise.
3726 (_FP_NANFRAC_D): Likewise.
3727 (_FP_NANFRAC_Q): Likewise.
3728 (ISA_BIT): Add exception support if we are being compiled on a
3729 machine with hardware floating point support to build the IEEE
3730 128-bit emulation functions.
3731 (FP_EX_INVALID): Likewise.
3732 (FP_EX_OVERFLOW): Likewise.
3733 (FP_EX_UNDERFLOW): Likewise.
3734 (FP_EX_DIVZERO): Likewise.
3735 (FP_EX_INEXACT): Likewise.
3736 (FP_EX_ALL): Likewise.
3737 (__sfp_handle_exceptions): Likewise.
3738 (FP_HANDLE_EXCEPTIONS): Likewise.
3739 (FP_RND_NEAREST): Likewise.
3740 (FP_RND_ZERO): Likewise.
3741 (FP_RND_PINF): Likewise.
3742 (FP_RND_MINF): Likewise.
3743 (FP_RND_MASK): Likewise.
3744 (_FP_DECL_EX): Likewise.
3745 (FP_INIT_ROUNDMODE): Likewise.
3746 (FP_ROUNDMODE): Likewise.
3747
3748 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
3749 VSX code, enable IEEE 128-bit floating point. If the compiler can
3750 compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
3751 floating point hardware instructions and it supports declaring
3752 functions with the ifunc attribute, enable ifunc functions to
3753 switch between software and hardware support.
3754 * configure.ac (powerpc*-*-linux*): Likewise.
3755 * configure: Regenerate.
3756
bdc27e50
NC
37572016-01-15 Nick Clifton <nickc@redhat.com>
3758
3759 * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
3760 dependency as the source file to be compiled.
3761 (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
3762 (lib2hw_mul_f5.o): Likewise.
3763
006df05d
MM
37642016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
3765
3766 * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
3767 * libgcc/config/rs6000/fixkfti.c: Likewise.
3768 * libgcc/config/rs6000/fixunskfti.c: Likewise.
3769 * libgcc/config/rs6000/float128-hw.c: Likewise.
3770 * libgcc/config/rs6000/float128-ifunc.c: Likewise.
3771 * libgcc/config/rs6000/float128-sed: Likewise.
3772 * libgcc/config/rs6000/floattikf.c: Likewise.
3773 * libgcc/config/rs6000/floatuntikf.c: Likewise.
3774 * libgcc/config/rs6000/quad-float128.h: Likewise.
3775 * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
3776 * libgcc/config/rs6000/sfp-machine.h: Likewise.
3777 * libgcc/config/rs6000/t-float128: Likewise.
3778 * libgcc/config/rs6000/t-float128-hw: Likewise.
3779 * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
3780 * libgcc/config.host: Likewise.
3781 * libgcc/configure: Likewise.
3782 * libgcc/configure.ac: Likewise.
3783
29176d57 37842016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
7d296953
JJ
3785 Steven Munroe <munroesj@linux.vnet.ibm.com>
3786 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
29176d57
MM
3787
3788 * config/rs6000/sfp-exceptions.c: New file to provide exception
3789 support for IEEE 128-bit floating point.
3790
3791 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
3792 floating point hardware support.
3793
3794 * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
3795 point conversions.
3796 * config/rs6000/fixunskfti.c: Likewise.
3797 * config/rs6000/fixkfti.c: Likewise.
3798 * config/rs6000/floatuntikf.c: Likewise.
3799 * config/rs6000/extendkftf2-sw.c: Likewise.
3800 * config/rs6000/trunctfkf2-sw.c: Likewise.
3801
3802 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
3803 128-bit floating point software emulation or use ISA 3.0 hardware
3804 support if it is available.
3805
3806 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
3807 floating point.
3808
3809 * config/rs6000/t-float128: New Makefile fragments to enable
3810 building __float128 emulation support.
3811 * config/rs6000/t-float128-hw: Likewise.
3812
3813 * config/rs6000/float128-sed: New file to convert TF names to KF
3814 names for PowerPC IEEE 128-bit floating point support.
3815
3816 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
3817 when building on 64-bit systems, or when VSX is enabled.
3818 (_FP_W_TYPE): Likewise.
3819 (_FP_WS_TYPE): Likewise.
3820 (_FP_I_TYPE): Likewise.
3821 (TItype): Define on 64-bit systems.
3822 (UTItype): Likewise.
3823 (TI_BITS): Likewise.
3824 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
3825 (_FP_MUL_MEAT_Q): Likewise.
3826 (_FP_DIV_MEAT_D): Likewise.
3827 (_FP_DIV_MEAT_Q): Likewise.
3828 (_FP_NANFRAC_D): Likewise.
3829 (_FP_NANFRAC_Q): Likewise.
3830 (ISA_BIT): Add exception support if we are being compiled on a
3831 machine with hardware floating point support to build the IEEE
3832 128-bit emulation functions.
3833 (FP_EX_INVALID): Likewise.
3834 (FP_EX_OVERFLOW): Likewise.
3835 (FP_EX_UNDERFLOW): Likewise.
3836 (FP_EX_DIVZERO): Likewise.
3837 (FP_EX_INEXACT): Likewise.
3838 (FP_EX_ALL): Likewise.
3839 (__sfp_handle_exceptions): Likewise.
3840 (FP_HANDLE_EXCEPTIONS): Likewise.
3841 (FP_RND_NEAREST): Likewise.
3842 (FP_RND_ZERO): Likewise.
3843 (FP_RND_PINF): Likewise.
3844 (FP_RND_MINF): Likewise.
3845 (FP_RND_MASK): Likewise.
3846 (_FP_DECL_EX): Likewise.
3847 (FP_INIT_ROUNDMODE): Likewise.
3848 (FP_ROUNDMODE): Likewise.
3849
3850 * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
3851 compiler can do __float128.
3852 * configure: Regenerate.
3853
3854 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
3855 VSX code, enable IEEE 128-bit floating point.
3856
a2218983
OH
38572016-01-05 Olivier Hainque <hainque@adacore.com>
3858
3859 * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
29176d57 3860 specificities.
a2218983 3861
818ab71a
JJ
38622016-01-04 Jakub Jelinek <jakub@redhat.com>
3863
3864 Update copyright years.
3865
5a6c8ffa
AP
38662015-12-18 Andris Pavenis <andris.pavenis@iki.fi>
3867
3868 * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
29176d57 3869 soft-fp targets.
5a6c8ffa 3870
077067a5
BE
38712015-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
3872
3873 * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
3874 instead of abort to avoid dependency on stdlib.h.
3875
787c1027
JDA
38762015-12-09 John David Anglin <danglin@gcc.gnu.org>
3877
3878 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
3879 to initialize call to __dl_fixup once.
3880
04a9ae28
NC
38812015-12-04 Nick Clifton <nickc@redhat.com>
3882
3883 * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
3884 Allow for the second argument being negative.
3885 * config.host (extra_parts): Define for MSP430. Create separate
3886 libraries for each of the hardware multiply formats.
3887 * config/msp430/lib2hw_mul.S: Build only the multiply routines
3888 that are needed.
3889 * config/msp430/lib2mul.c: Likewise.
3890 * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
3891 Add rules to build hardware multiply libraries.
3892 * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
3893 __mspabi_divul function.
3894 (__mspabi_divllu): New stub function.
3895
9a32d437
JDA
38962015-12-01 John David Anglin <danglin@gcc.gnu.org>
3897
3898 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
3899 fixup values if saved GOT address doesn't match runtime address.
3900 (fixup_branch_offset): Reorder list.
3901
e5ef217c
RO
39022015-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3903
3904 * Makefile.in (VTV_CFLAGS): New variable.
3905 (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
3906 (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
3907 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
3908 Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
3909 to extra_parts if $enable_vtable_verify = yes.
3910
78cc43a2
SN
39112015-11-23 Szabolcs Nagy <szabolcs.nagy@arm.com>
3912
3913 PR target/68059
3914 * config/arm/linux-atomic-64bit.c (__write): Rename to...
3915 (write): ...this and fix the return type.
3916
9afebea2
DD
39172015-11-19 DJ Delorie <dj@redhat.com>
3918
3919 * config/msp430/lib2hw_mul.S: Fix alignment.
3920
33f47f42
NS
39212015-11-18 Nathan Sidwell <nathan@codesourcery.com>
3922
3923 * config/nvptx/reduction.c: New.
3924 * config/nvptx/t-nvptx (LIB2ADD): Add it.
3925
d9adb476
DE
39262015-11-15 David Edelsohn <dje.gcc@gmail.com>
3927
3928 * config/rs6000/on_exit.c: New file.
3929 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
3930 * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
3931
c0ab1970
CZ
39322015-11-11 Claudiu Zissulescu <claziss@synopsys.com>
3933
3934 * config/arc/dp-hack.h: Add support for ARCHS.
3935 * config/arc/ieee-754/divdf3.S: Likewise.
3936 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
3937 * config/arc/ieee-754/muldf3.S: Likewise.
3938 * config/arc/ieee-754/mulsf3.S: Likewise
3939 * config/arc/lib1funcs.S: Likewise
3940 * config/arc/gmon/dcache_linesz.S: Don't read the build register
3941 for ARCv2 cores.
3942 * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
3943 for ARCv2 cores.
3944 * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
3945 * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
3946 cores.
3947
e6b6bf09
RO
39482015-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3949
3950 * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
3951 value.
3952 * config/ia64/crtend.S: Likewise.
3953
a153644f
TS
39542015-11-07 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3955
3956 * config/visium/lib2funcs.c (__set_trampoline_parity): Use
3957 __CHAR_BIT__ instead of BITS_PER_UNIT.
3958 * fixed-bit.h: Likewise.
3959 * fp-bit.h: Likewise.
3960 * libgcc2.c (__popcountSI2): Likewise.
3961 (__popcountDI2): Likewise.
3962 * libgcc2.h: Likewise.
3963 * libgcov.h: Likewise.
3964
3dee689d
DE
39652015-11-07 David Edelsohn <dje.gcc@gmail.com>
3966
3967 * config/rs6000/atexit.c: New file.
3968 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
3969 * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
3970 * config/rs6000/cxa_finalize.c
3971 (catomic_compare_and_exchange_bool_acq): Negate return value.
3972
2ef543e4
VK
39732015-10-30 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
3974
3975 * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
3976 (processor_subtypes): Add znver1.
3977 (get_amd_cpu): Detect znver1.
3978
1300f017
CL
39792015-10-29 Christophe Lyon <christophe.lyon@linaro.org>
3980
3981 * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
3982 Include crtfastmath.o.
3983
3e5bb7ee
JR
39842015-10-23 Joern Rennecke <joern.rennecke@embecosm.com>
3985
3986 PR libgcc/66883
3987 * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
1300f017 3988
793aa938
KP
39892015-10-16 Kaushik Phatak <kaushik.phatak@kpit.com>
3990
3991 * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
3992 * config/rl78/divmodsi.S: Update return register to r8.
3993 * config/rl78/divmodhi.S: Update return register to r8,r9.
3994 Branch to main_loop_done_himode to pop registers before return.
3995
7d296953 39962015-10-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
fac812f0
VK
3997
3998 * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
3999 (__cpu_indicator_init): Fix model selection for AMD CPUs.
4000
6a192b5a
KY
40012015-10-05 Kirill Yukhin <kirill.yukhin@intel.com>
4002
4003 * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
4004
4a0a9457
MF
40052015-10-03 Max Filippov <jcmvbkbc@gmail.com>
4006
4007 * config.host (xtensa*-*-uclinux*): New configuration.
4008
ab91c076
KY
40092015-10-02 Kirill Yukhin <kirill.yukhin@intel.com>
4010
385c7747 4011 * config/i386/cpuinfo.c (processor_features): Add
ab91c076
KY
4012 FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
4013
30954527
JM
40142015-09-28 Joseph Myers <joseph@codesourcery.com>
4015
4016 * soft-fp/adddf3.c: Update from glibc.
4017 * soft-fp/addsf3.c: Likewise.
4018 * soft-fp/addtf3.c: Likewise.
4019 * soft-fp/divdf3.c: Likewise.
4020 * soft-fp/divsf3.c: Likewise.
4021 * soft-fp/divtf3.c: Likewise.
4022 * soft-fp/double.h: Likewise.
4023 * soft-fp/eqdf2.c: Likewise.
4024 * soft-fp/eqsf2.c: Likewise.
4025 * soft-fp/eqtf2.c: Likewise.
4026 * soft-fp/extenddftf2.c: Likewise.
4027 * soft-fp/extended.h: Likewise.
4028 * soft-fp/extendsfdf2.c: Likewise.
4029 * soft-fp/extendsftf2.c: Likewise.
4030 * soft-fp/extendxftf2.c: Likewise.
4031 * soft-fp/fixdfdi.c: Likewise.
4032 * soft-fp/fixdfsi.c: Likewise.
4033 * soft-fp/fixdfti.c: Likewise.
4034 * soft-fp/fixsfdi.c: Likewise.
4035 * soft-fp/fixsfsi.c: Likewise.
4036 * soft-fp/fixsfti.c: Likewise.
4037 * soft-fp/fixtfdi.c: Likewise.
4038 * soft-fp/fixtfsi.c: Likewise.
4039 * soft-fp/fixtfti.c: Likewise.
4040 * soft-fp/fixunsdfdi.c: Likewise.
4041 * soft-fp/fixunsdfsi.c: Likewise.
4042 * soft-fp/fixunsdfti.c: Likewise.
4043 * soft-fp/fixunssfdi.c: Likewise.
4044 * soft-fp/fixunssfsi.c: Likewise.
4045 * soft-fp/fixunssfti.c: Likewise.
4046 * soft-fp/fixunstfdi.c: Likewise.
4047 * soft-fp/fixunstfsi.c: Likewise.
4048 * soft-fp/fixunstfti.c: Likewise.
4049 * soft-fp/floatdidf.c: Likewise.
4050 * soft-fp/floatdisf.c: Likewise.
4051 * soft-fp/floatditf.c: Likewise.
4052 * soft-fp/floatsidf.c: Likewise.
4053 * soft-fp/floatsisf.c: Likewise.
4054 * soft-fp/floatsitf.c: Likewise.
4055 * soft-fp/floattidf.c: Likewise.
4056 * soft-fp/floattisf.c: Likewise.
4057 * soft-fp/floattitf.c: Likewise.
4058 * soft-fp/floatundidf.c: Likewise.
4059 * soft-fp/floatundisf.c: Likewise.
4060 * soft-fp/floatunditf.c: Likewise.
4061 * soft-fp/floatunsidf.c: Likewise.
4062 * soft-fp/floatunsisf.c: Likewise.
4063 * soft-fp/floatunsitf.c: Likewise.
4064 * soft-fp/floatuntidf.c: Likewise.
4065 * soft-fp/floatuntisf.c: Likewise.
4066 * soft-fp/floatuntitf.c: Likewise.
4067 * soft-fp/gedf2.c: Likewise.
4068 * soft-fp/gesf2.c: Likewise.
4069 * soft-fp/getf2.c: Likewise.
4070 * soft-fp/ledf2.c: Likewise.
4071 * soft-fp/lesf2.c: Likewise.
4072 * soft-fp/letf2.c: Likewise.
4073 * soft-fp/muldf3.c: Likewise.
4074 * soft-fp/mulsf3.c: Likewise.
4075 * soft-fp/multf3.c: Likewise.
4076 * soft-fp/negdf2.c: Likewise.
4077 * soft-fp/negsf2.c: Likewise.
4078 * soft-fp/negtf2.c: Likewise.
4079 * soft-fp/op-1.h: Likewise.
4080 * soft-fp/op-2.h: Likewise.
4081 * soft-fp/op-4.h: Likewise.
4082 * soft-fp/op-8.h: Likewise.
4083 * soft-fp/op-common.h: Likewise.
4084 * soft-fp/quad.h: Likewise.
4085 * soft-fp/single.h: Likewise.
4086 * soft-fp/soft-fp.h: Likewise.
4087 * soft-fp/subdf3.c: Likewise.
4088 * soft-fp/subsf3.c: Likewise.
4089 * soft-fp/subtf3.c: Likewise.
4090 * soft-fp/truncdfsf2.c: Likewise.
4091 * soft-fp/trunctfdf2.c: Likewise.
4092 * soft-fp/trunctfsf2.c: Likewise.
4093 * soft-fp/trunctfxf2.c: Likewise.
4094 * soft-fp/unorddf2.c: Likewise.
4095 * soft-fp/unordsf2.c: Likewise.
4096 * soft-fp/unordtf2.c: Likewise.
4097
4dfe21ac
RE
40982015-09-24 Richard Earnshaw <rearnsha@arm.com>
4099
4100 PR libgcc/67624
4101 * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
4102
df2a1cc4
RO
41032015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4104
4105 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
4106 Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
4107 * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
4108 messages.
4109 (internal_mcount): Likewise.
4110 * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
4111 crt_compile, add CRTSTUFF_T_CFLAGS_S.
4112
2d110442
RO
41132015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4114
4115 * configure.ac (libgcc_cv_solaris_crts): New test.
4116 * configure: Regenerate.
4117 * config.in: Regenerate.
4118 * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
4119 * config/gmon-sol2.c: Rename to ...
4120 * config/sol2/gmon.c: ... this.
4121 Include auto-target.h.
4122 (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
4123 * config/t-sol2: Rename to ...
4124 * config/sol2/t-sol2: ... this.
4125 (gmon.o): Reflect renaming.
4126 (crtp.o, crtpg.o): New rules.
4127 * config.host (*-*-solaris2*): Reflect renaming.
4128 Use system CRTs if present.
4129 Remove default CRT case.
4130
d572e439
JDA
41312015-09-23 John David Anglin <danglin@gcc.gnu.org>
4132
4133 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
4134 (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
4135 __kernel_cmpxchg2.
4136 (__sync_##OP##_and_fetch_##WIDTH): Likewise.
4137 (__sync_val_compare_and_swap_##WIDTH): Likewise.
4138 (__sync_bool_compare_and_swap_##WIDTH): Likewise.
4139 (__sync_lock_test_and_set_##WIDTH): Likewise.
4140 (__sync_lock_release_##WIDTH): Likewise.
4141 (__sync_fetch_and_##OP##_4): Change result to match type of
4142 __kernel_cmpxchg.
4143 (__sync_##OP##_and_fetch_4): Likewise.
4144 (__sync_val_compare_and_swap_4): Likewise.
4145 (__sync_bool_compare_and_swap_4): likewise.
4146 (__sync_lock_test_and_set_4): Likewise.
4147 (__sync_lock_release_4): Likewise.
4148 (FETCH_AND_OP_2): Add long long variants.
4149 (OP_AND_FETCH_2): Likewise.
4150 (COMPARE_AND_SWAP_2 ): Likewise.
4151 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
4152 (SYNC_LOCK_RELEASE_2): Likewise.
4153 (__sync_bool_compare_and_swap_##WIDTH): Correct return.
4154
7d296953 41552015-09-22 Kirill Yukhin <kirill.yukhin@intel.com>
06caf59d
KY
4156
4157 * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
4158 FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
4159 FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
4160 (get_available_features): Habdle new features.
4161
131314e1
JB
41622015-09-21 James Bowman <james.bowman@ftdichip.com>
4163
4164 * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
4165 memory layout. Deal correctly with BSS region larger than 32K.
4166 Handle a watchdog reset like a power-on reset. Clean up unused
4167 code.
4168
04218b35
AD
41692015-09-18 Andrew Dixie <andrewd@gentrack.com>
4170 David Edelsohn <dje.gcc@gmail.com>
4171
4172 * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
4173 * config/rs6000/crtdbase.S: New file.
4174 * config/rs6000/t-aix-cxa: Build crtdbase.o.
4175
c8338173
MF
41762015-09-15 Max Filippov <jcmvbkbc@gmail.com>
4177
4178 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
4179 Add support for call0 ABI.
4180
7a84bf71
JDA
41812015-09-13 John David Anglin <danglin@gcc.gnu.org>
4182
4183 * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
4184
4efab402
SH
41852015-09-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
4186
4187 * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
4188 (__GTHREAD_HAS_COND): Likewise.
4189 (__gthread_t): Likewise.
4190 (__gthread_cond_t): Likewise.
4191 (__gthread_time_t): Likewise.
4192 (__GTHREAD_MUTEX_INIT): Likewise.
4193 (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
4194 (__GTHREAD_COND_INIT): Likewise.
4195 (__GTHREAD_COND_INIT_FUNCTION): Likewise.
4196 (__GTHREAD_TIME_INIT): Likewise.
4197 (__gthread_create): Likewise.
4198 (__gthread_join): Likewise.
4199 (__gthread_detach): Likewise.
4200 (__gthread_equal): Likewise.
4201 (__gthread_self): Likewise.
4202 (__gthread_yield): Likewise.
4203 (__gthread_cond_broadcast): Likewise.
4204 (__gthread_cond_signal): Likewise.
4205 (__gthread_cond_wait): Likewise.
4206 (__gthread_cond_timedwait): Likewise.
4207 (__gthread_cond_wait_recursive): Likewise.
4208 (__gthread_cond_destroy): Likewise.
4209 (rtems_gxx_once): Delete.
4210 (rtems_gxx_key_create): Likewise.
4211 (rtems_gxx_key_delete): Likewise.
4212 (rtems_gxx_getspecific): Likewise.
4213 (rtems_gxx_setspecific): Likewise.
4214 (rtems_gxx_mutex_init): Likewise.
4215 (rtems_gxx_mutex_destroy): Likewise.
4216 (rtems_gxx_mutex_lock): Likewise.
4217 (rtems_gxx_mutex_trylock): Likewise.
4218 (rtems_gxx_mutex_unlock): Likewise.
4219 (rtems_gxx_recursive_mutex_init): Likewise.
4220 (rtems_gxx_recursive_mutex_lock): Likewise.
4221 (rtems_gxx_recursive_mutex_trylock): Likewise.
4222 (rtems_gxx_recursive_mutex_unlock): Likewise.
4223 (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
4224 (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
4225 (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
4226 (__gthread_once): Likewise.
4227 (__gthread_key_create): Likewise.
4228 (__gthread_key_delete): Likewise.
4229 (__gthread_getspecific): Likewise.
4230 (__gthread_setspecific): Likewise.
4231 (__gthread_key_t): Use <pthread.h> type.
4232 (__gthread_once_t): Likewise
4233 (__gthread_mutex_t): Use <sys/lock.h> type.
4234 (__gthread_recursive_mutex_t): Likewise
4235 (__gthread_mutex_lock): Use <sys/lock.h> function.
4236 (__gthread_mutex_trylock): Likewise.
4237 (__gthread_mutex_timedlock): Likewise.
4238 (__gthread_mutex_unlock): Likewise.
4239 (__gthread_mutex_destroy): Likewise.
4240 (__gthread_recursive_mutex_lock): Likewise.
4241 (__gthread_recursive_mutex_trylock): Likewise.
4242 (__gthread_recursive_mutex_timedlock): Likewise.
4243 (__gthread_recursive_mutex_unlock): Likewise.
4244 (__gthread_recursive_mutex_destroy): Likewise.
4245
991995c4
MF
42462015-08-18 Max Filippov <jcmvbkbc@gmail.com>
4247
4248 * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
4249 context->sp instead of context->cfa.
4250
0e19db59
MF
42512015-08-18 Max Filippov <jcmvbkbc@gmail.com>
4252
4253 * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
4254 with unwind-dw2-fde-dip.
4255
b6ac5f62
MF
42562015-08-18 Max Filippov <jcmvbkbc@gmail.com>
4257
4258 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
4259 CALL12 followed by series of ENTRY to spill windowed registers.
4260 (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
4261 instead of making linux spill syscall.
4262
3e0f3349
YR
42632015-08-14 Yuri Rumyantsev <ysrumyan@gmail.com>
4264
4265 * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
4266 (get_intel_cpu): Likewise.
4267
51c728b1
L
42682015-08-12 H.J. Lu <hongjiu.lu@intel.com>
4269
4270 * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
4271 (get_intel_cpu): Add Knights Landing support.
4272
aff4eeac
UB
42732015-08-11 Uros Bizjak <ubizjak@gmail.com>
4274
4275 PR target/66954
4276 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
4277 (get_available_features): Handle FEATURE_PCLMUL.
4278
736e56da
L
42792015-08-10 H.J. Lu <hongjiu.lu@intel.com>
4280
4281 * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
4282 Broadwell.
4283
54d22142
UB
42842015-07-22 Uros Bizjak <ubizjak@gmail.com>
4285
4286 PR target/66954
4287 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
4288 (get_available_features): Handle FEATURE_AES.
4289
20ca17e4
CLT
42902015-07-22 Chung-Lin Tang <cltang@codesourcery.com>
4291
4292 * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
4293 (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
4294
ebe4a560
NS
42952015-07-17 Nathan Sidwell <nathan@codesourcery.com>
4296
4297 * offloadstuff.c: Constify host data.
4298
180744c0
JB
42992015-07-17 Jan Beulich <jbeulich@suse.com>
4300
4301 * config/t-softfp: Split up "else ifneq".
4302
a03c6ae3
SL
43032015-07-14 Sandra Loosemore <sandra@codesourcery.com>
4304 Cesar Philippidis <cesar@codesourcery.com>
4305 Chung-Lin Tang <cltang@codesourcery.com>
4306
4307 * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
4308 for __nios2_arch__ level.
4309
73358db5
JM
43102015-07-13 John Marino <gnugcc@marino.st>
4311
4312 * config/i386/t-dragonfly: New.
4313
f9a12f7b
JDA
43142015-07-01 John David Anglin <danglin@gcc.gnu.org>
4315
4316 * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
4317 better match light-weight syscall argument order.
4318 (__kernel_cmpxchg2): Likewise.
4319 Adjust callers.
4320
cb78b51c
L
43212015-06-30 H.J. Lu <hongjiu.lu@intel.com>
4322
4323 * config.host: Support i[34567]86-*-elfiamcu target.
4324 * config/t-softfp-sfdftf: New file.
4325 * config/i386/32/t-iamcu: Likewise.
4326 * configure: Regenerated.
4327
4fa0f9ea
JL
43282015-06-23 James Lemke <jwlemke@codesourcery.com>
4329
4330 libgcc/config/arm/
4331 * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
4332
428b3812
L
43332015-05-27 H.J. Lu <hongjiu.lu@intel.com>
4334
4335 * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
4336
7d296953 43372015-05-27 John Marino <gnugcc@marino.st>
89c54dd3
JM
4338
4339 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
4340 md_unwind_header
4341 * config/i386/freebsd-unwind.h: New.
4342
9b789cc1
UB
43432015-05-22 Uros Bizjak <ubizjak@gmail.com>
4344
4345 * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
4346 i386/t-crtfm to tmake_file.
4347 * config/i386/crtfastmath.c (set_fast_math_sse): New function.
4348 (set_fast_math): Use set_fast_math_sse for SSE targets.
4349 * config/i386/t-crtfm: Remove.
4350
3dafb220
AM
43512015-05-21 Alan Modra <amodra@gmail.com>
4352
4353 PR libgcc/66225
4354 * config/rs6000/morestack.S: Remove ".abiversion 1".
4355
0f0fd745
AM
43562015-05-20 Alan Modra <amodra@gmail.com>
4357
4358 * config/rs6000/morestack.S: New.
4359 * config/rs6000/t-stack-rs6000: New.
4360 * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
4361 to tmake_file.
4362 * generic-morestack.c: Don't build for powerpc 32-bit.
4363
515ae71b
EB
43642015-05-19 Eric Botcazou <ebotcazou@adacore.com>
4365
4366 * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
4367 Remove useless endif/ifneq ($(enable_shared),yes) pair.
4368
36805406
JL
43692015-05-16 James Bowman <james.bowman@ftdichip.com>
4370
4371 * config.host: FT32 target added.
4372 * config/ft32/*: New files for FT32 target.
4373
ff935d0c
MG
43742015-05-15 Martin Galvan <martin.galvan@tallertechnologies.com>
4375
385c7747
UB
4376 * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
4377 New macros.
4378 * config/arm/ieee754-df.S: Add CFI directives.
4379 * config/arm/ieee754-sf.S: Add CFI directives.
ff935d0c 4380
9b92a9f3
EB
43812015-05-13 Eric Botcazou <ebotcazou@adacore.com>
4382
4383 * configure.ac: Include config/sjlj.m4.
4384 Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
4385 * config.in: Regenerate.
4386 * configure: Likewise.
4387 * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
4388
98b5dc61
UB
43892015-05-12 Uros Bizjak <ubizjak@gmail.com>
4390
4391 * libgcov-util.c: Add space between string literal and macro name.
4392
5a0ff57c
SL
43932015-05-06 Sandra Loosemore <sandra@codesourcery.com>
4394 Chris Jones <chrisj@nvidia.com>
4395 Joshua Conner <jconner@nvidia.com>
4396
4397 * config.host (arm*-*-linux*): Add support for crtfastmath.o.
4398 (arm*-*-uclinux*): Likewise.
4399 (arm*-*-eabi* | arm*-*-rtems*): Likewise.
4400 * config/arm/crtfastmath.c: New file.
4401
d28ad5d4
BS
44022014-04-29 Bernd Schmidt <bernds@codesourcery.com>
4403
4404 * Makefile.in (real_host_noncanonical): New variable.
4405 (libsubdir): Use it.
4406 * configure.ac (real_host_noncanonical): Compute. Remove special
4407 case for intelmicemul.
4408 * configure: Regenerate.
4409
cc86234f
UB
44102015-04-28 Uros Bizjak <ubizjak@gmail.com>
4411
4412 * config/frv/elf-lib.h: New file.
4413 (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
4414 * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
4415 to tm_file.
4416
44172015-04-28 Uros Bizjak <ubizjak@gmail.com>
4418
4419 * config/frv/frvbengin.c: Do not include defaults.h
4420 * config/frv/frvend.c: Ditto.
4421
2f6bd6eb
YS
44222015-04-27 Yoshinori Sato <ysato@users.sourceforge.jp>
4423
4424 * config.host: Add h8300-*-linux
4425 * config/h8300/t-linux: New file.
4426 * config/h8300/lib1funs.s: Change symbol prefix.
4427 * config/h8300/sfp-machine.h: 64bit double support.
4428
15aa7b44
GR
44292015-04-22 Gregor Richards <gregor.richards@uwaterloo.ca>
4430 Szabolcs Nagy <szabolcs.nagy@arm.com>
4431
4432 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
4433 Linux if target provides dl_iterate_phdr.
4434
abd0cdc9
L
44352015-04-17 H.J. Lu <hongjiu.lu@intel.com>
4436
4437 PR target/65612
4438 * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
4439 * config/i386/cpuinfo.c (__cpu_model): Initialize.
4440 (__cpu_indicator_init@GCC_4.8.0): New.
4441 (__cpu_model@GCC_4.8.0): Likewise.
4442 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
4443 -DUSE_ELF_SYMVER.
4444
72ed1126
NC
44452015-04-16 Nick Clifton <nickc@redhat.com>
4446
4447 * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
4448 and __modhi3 functions.
4449 * config/rl78/divmodso.S: Add G14 and G13 versions of the
4450 __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
4451
d26b2237
CG
44522015-04-15 Chen Gang <gang.chen.5i5j@gmail.com>
4453
4454 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
4455 do-while loop as macro body to avoid warnings.
4456
cacf1f59
JJ
44572015-04-10 Jakub Jelinek <jakub@redhat.com>
4458 Iain Sandoe <iain@codesourcery.com>
4459
4460 PR target/65351
4461 * configure: Regenerate.
4462
e8a4ed3b
JJ
44632015-04-07 Jakub Jelinek <jakub@redhat.com>
4464 Iain Sandoe <iain@codesourcery.com>
4465
4466 PR target/65351
4467 * configure: Regenerate.
4468
0341335e
CLT
44692015-03-25 Chung-Lin Tang <cltang@codesourcery.com>
4470
4471 * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
4472
590e2636 44732015-03-03 Max Filippov <jcmvbkbc@gmail.com>
0341335e 4474
590e2636
MF
4475 Implement call0 ABI for xtensa
4476 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
4477 __xtensa_nonlocal_goto): Don't compile for call0 ABI.
4478 (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
4479 use ret in call0 ABI.
4480 * config/xtensa/t-windowed: New file.
4481 * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
4482 * libgcc/configure: Regenerated.
4483 * libgcc/configure.ac: Check if xtensa target is configured for
4484 windowed ABI and thus needs to use custom unwind code.
4485
7727f8f2
JW
44862015-02-12 Jonathan Wakely <jwakely@redhat.com>
4487
4488 PR libgcc/64885
4489 * gthr-single.h: Use __unused__ attribute instead of unused.
4490 * config/gthr-vxworks.h: Likewise.
4491 * config/i386/gthr-win32.h: Likewise.
4492
0e4a0def
KT
44932015-02-27 Kai Tietz <ktietz@redhat.com>
4494
4495 PR target/65038
4496 * config.in: Regenerated.
4497 * configure: Likewise.
4498 * configure.ac (AC_HEADER_STDC): Added explicit.
4499 (AC_CHECK_HEADERS): Check for default headers plus
4500 for ftw.h header.
4501 * libgcov-util.c (gcov_read_profile_dir): Disable use
4502 of ftw-function, if header is not found.
4503 (ftw_read_file): Likewise.
4504
b6530d0a
TS
45052015-02-23 Thomas Schwinge <thomas@codesourcery.com>
4506
4507 PR target/65181
4508 * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
4509 -Dinhibit_libc.
4510
53cfb467
SL
45112015-02-17 Sandra Loosemore <sandra@codesourcery.com>
4512
4513 * config/arm/bpabi.S (test_div_by_zero): Make label names
4514 consistent between thumb2 and arm mode cases. Separate the
4515 signed comparison on the high word of the numerator from the
4516 unsigned comparison on the low word.
4517 * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
4518 signed comparison.
4519
77d10a1b
JM
45202015-02-17 Joseph Myers <joseph@codesourcery.com>
4521
4522 * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
4523 and <string.h>.
4524 (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
4525
98174188
RE
45262015-02-10 Rainer Emrich <rainer@emrich-ebersheim.de>
4527
4528 PR gcov-profile/61889
471274de 4529 * libgcov-driver-system.c: undefine clashing macro for mkdir.
98174188 4530
771bef14
NC
45312015-02-02 Nick Clifton <nickc@redhat.com>
4532
4533 * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
4534 rounding up the fraction.
4535
40702893
JDA
45362015-01-31 John David Anglin <danglin@gcc.gnu.org>
4537
4538 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
4539 oldval and newval to const void *. Fix typo.
4540 (FETCH_AND_OP_2): Use __atomic_load_n to load value.
4541 (FETCH_AND_OP_WORD): Likewise.
4542 (OP_AND_FETCH_WORD): Likewise.
4543 (COMPARE_AND_SWAP_2): Likewise.
4544 (__sync_val_compare_and_swap_4): Likewise.
4545 (__sync_lock_test_and_set_4): Likewise.
4546 (SYNC_LOCK_RELEASE_2): Likewise.
4547 Remove support for long long atomic operations.
4548
f7f049fa
CT
45492015-01-27 Caroline Tice <cmtice@google.com>
4550
4551 Committing VTV Cywin/Ming patch for Patrick Wollgast
4552 * Makefile.in: Move rules to build vtv_*.o out of the check
4553 for CUSTOM_CRTSTUFF.
4554 * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
4555 i[34567]86-*-mingw*)
4556 (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
4557 enable_vtable_verify.
4558
8410904a
NC
45592015-01-27 Nick Clifton <nickc@redhat.com>
4560
4561 * config/rl78/cmpsi2.S: Use function start and end macros.
4562 (__gcc_bcmp): New function.
4563 * config/rl78/lshrsi3.S: Use function start and end macros.
4564 * config/rl78/mulsi3.S: Add support for G10.
4565 (__mulqi3): New function for G10.
4566 * config/rl78/signbit.S: Use function start and end macros.
4567 * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
4568 fpmath-sf.S.
4569 (LIB2FUNCS_EXCLUDE): Define.
4570 (LIB2FUNCS_ST): Define.
4571 * config/rl78/trampoline.S: Use function start and end macros.
4572 * config/rl78/vregs.h (START_FUNC): New macro.
4573 (START_ANOTHER_FUNC): New macro.
4574 (END_FUNC): New macro.
4575 (END_ANOTHER_FUNC): New macro.
4576 * config/rl78/bit-count.S: New file. Contains assembler
4577 implementations of the bit counting functions: ___clzhi2,
4578 __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
4579 __paritysi2, __popcounthi2 and __popcountsi2.
4580 * config/rl78/fpbit-sf.S: New file. Contains assembler
4581 implementationas of the math functions: __negsf2, __cmpsf2,
4582 __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
4583 __fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
4584 * config/rl78/fpmath-sf.S: New file. Contains assembler
4585 implementations of the math functions: __subsf3, __addsf3,
4586 __mulsf3 and __divsf3
4587
f962fbf1
RO
45882015-01-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4589
4590 * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
4591 Add i386/elf-lib.h to tm_file.
4592 * config/i386/elf-lib.h: Fix comment.
4593 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
4594 && __sun__ && __svr4__]: Remove workaround.
4595
939911c5
ASJ
45962015-01-25 Allan Sandfeld Jensen <sandfeld@kde.org>
4597
4598 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
4599 FEATURE_BMI2.
4600 (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
4601
c8f2dff2
L
46022015-01-24 H.J. Lu <hongjiu.lu@intel.com>
4603
4604 * config/i386/cpuinfo.c (processor_subtypes): Add
4605 INTEL_COREI7_BROADWELL.
4606 (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
4607 model numbers.
4608
7bbf9734
UB
46092015-01-23 Uros Bizjak <ubizjak@gmail.com>
4610
4611 * config/i386/elf-lib.h: New file.
4612 (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
4613 Wrap definition in #ifdef __i386__.
4614 * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
4615 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
4616 (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
4617 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
4618 to tm_file.
4619
324820f1
CG
46202015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
4621
4622 * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
4623 "(char *)" to avoid qualifier warning by 'xgcc' compiling.
4624
a9ce4e4a
CLT
46252015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
4626
4627 * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
4628 Update rt_sigframe format and address for current Nios II
4629 Linux conventions.
4630
82a19768
AT
46312015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
4632
4633 * config.host (arm*-*-freebsd*): Add new configuration for
4634 arm*-*-freebsd*.
4635 * config/arm/freebsd-atomic.c: New file.
4636 * config/arm/t-freebsd: Likewise.
4637 * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
4638 'PC-relative indirect' OS's.
4639
0969ec7d
EB
46402015-01-06 Eric Botcazou <ebotcazou@adacore.com>
4641
4642 * config.host: Add Visium support.
4643 * config/visium: New directory.
4644
5624e564
JJ
46452015-01-05 Jakub Jelinek <jakub@redhat.com>
4646
4647 Update copyright years.
4648
82f84ecb
MF
46492014-12-19 Matthew Fortune <matthew.fortune@imgtec.com>
4650
4651 * config.host: Support mipsisa32r6 and mipsisa64r6.
4652 * config/mips/mips16.S: Do not build for R6.
4653
69044fa9
OE
46542014-12-17 Oleg Endo <olegendo@gcc.gnu.org>
4655
4656 * config/sh/crt.h: New.
4657 * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
4658 symbols.
4659 * config/sh/crt1.S: Likewise.
4660
2405e0ea
UB
46612014-12-15 Uros Bizjak <ubizjak@gmail.com>
4662
4663 PR libgcc/63832
4664 * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
4665 func_ptr *dtor_list temporary variable to avoid "array subscript
4666 is above array bounds" warnings.
4667
7d296953 46682014-12-09 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
dd913323
MH
4669
4670 * Makefile.in (with_aix_soname): Define.
4671 * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
4672 * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
4673 * configure: Recreate.
4674
a66272f6
OH
46752014-12-05 Olivier Hainque <hainque@adacore.com>
4676
4677 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
4678 now provided by defaults.h.
4679
6342b2c5
OE
46802014-11-30 Oleg Endo <olegendo@gcc.gnu.org>
4681
7d0ee249 4682 PR target/55351
6342b2c5
OE
4683 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
4684 whether it's defined.
4685
c17eac85
IT
46862014-11-27 Ilya Tocar <ilya.tocar@intel.com>
4687
4688 * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
4689 * config/i386/cpuinfo.c (get_available_features): Detect it.
4690
1025cb6c
TW
46912014-11-27 Tony Wang <tony.wang@arm.com>
4692
4693 * config/arm/lib1funcs.S (FUNC_START): Add conditional section
4694 redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
4695 (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
4696
d19f2e38
SB
46972014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
4698
4699 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
4700
17f6e9a3
JDA
47012014-11-24 John David Anglin <danglin@gcc.gnu.org>
4702
4703 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
4704 instead.
4705
0cd7c672
GM
47062014-11-21 Guy Martin <gmsoft@tuxicoman.be>
4707 John David Anglin <danglin@gcc.gnu.org>
4708
4709 * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
4710 (FETCH_AND_OP_2): New. Use for subword and double word operations.
4711 (OP_AND_FETCH_2): Likewise.
4712 (COMPARE_AND_SWAP_2): Likewise.
4713 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
4714 (SYNC_LOCK_RELEASE_2): Likewise.
4715 (SUBWORD_SYNC_OP): Remove.
4716 (SUBWORD_VAL_CAS): Likewise.
4717 (SUBWORD_BOOL_CAS): Likewise.
4718 (FETCH_AND_OP_WORD): Update.
4719 Consistently use signed types.
cc86234f 4720
85c64bbe
BS
47212014-11-13 Bernd Schmidt <bernds@codesourcery.com>
4722 Thomas Schwinge <thomas@codesourcery.com>
4723 Ilya Verbin <ilya.verbin@intel.com>
4724 Andrey Turetskiy <andrey.turetskiy@intel.com>
4725
4726 * Makefile.in (crtoffloadbegin$(objext)): New rule.
4727 (crtoffloadend$(objext)): Likewise.
4728 * configure: Regenerate.
4729 * configure.ac (accel_dir_suffix): Compute new variable.
4730 (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
4731 if enable_offload_targets is not empty.
4732 * offloadstuff.c: New file.
4733
52a1ff8b
NC
47342014-11-13 Nick Clifton <nickc@redhat.com>
4735
4736 * config/rl78/divmodhi.S: Add support for the G10 architecture.
4737 Use START_FUNC and END_FUNC macros to enable linker garbage
4738 collection.
4739 * config/rl78/divmodqi.S: Likewise.
4740 * config/rl78/divmodsi.S: Likewise.
4741 * config/rl78/mulsi3.S: Likewise.
4742 * config/rl78/lib2div.c: Remove G10 functions.
4743 * config/rl78/lib2muls.c: Likewise.
4744 * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
4745 * config/rl78/vregs.h (START_FUNC): New macro.
4746 (END_FUNC): New macro.
4747
050af144
MF
47482014-11-12 Matthew Fortune <matthew.fortune@imgtec.com>
4749
4750 * config/mips/mips16.S: Set .module when supported. Update O32
4751 FP64 calling convention and use for FPXX when possible. Add FPXX
4752 calling convention fallback case.
4753
738f2522
BS
47542014-11-06 Bernd Schmidt <bernds@codesourcery.com>
4755
4756 * config.host: Handle nvptx-*-*.
4757 * shared-object.mk (as-flags-$o): Define.
4758 ($(base)$(objext), $(base)_s$(objext)): Use it instead of
4759 -xassembler-with-cpp.
4760 * static-object.mk: Identical changes.
4761 * config/nvptx/t-nvptx: New file.
4762 * config/nvptx/crt0.s: New file.
4763 * config/nvptx/free.asm: New file.
4764 * config/nvptx/malloc.asm: New file.
4765 * config/nvptx/realloc.c: New file.
4766
e610393c
JM
47672014-10-30 Joseph Myers <joseph@codesourcery.com>
4768
4769 * Makefile.in (libgcc.map.in): New target.
4770 (libgcc.map): Use libgcc.map.in.
4771 * config/t-softfp (softfp_compat): New variable to be set by
4772 users.
4773 [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
4774 variables.
4775 [$(softfp_compat) = y] (softfp_file_list): Use files in the build
4776 directory.
4777 [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
4778 that use compat symbols and disable all code unless [SHARED].
4779 * config/t-softfp-compat: New file.
4780 * find-symver.awk: New file.
4781 * configure.ac (--with-glibc-version): New configure option.
4782 (ppc_fp_compat): New variable set for powerpc*-*-linux*.
4783 * configure: Regenerate.
4784 * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
4785 soft-float and e500.
4786
bc1b3a88
JM
47872014-10-29 Joseph Myers <joseph@codesourcery.com>
4788
4789 * config/t-hardfp (hardfp_exclusions): Document new variable for
4790 user to define.
4791 (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
4792 * config/t-softfp (softfp_extras): Document new variable for user
4793 to define.
4794 (softfp_func_list): Add functions from $(softfp_extras).
4795 * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
4796 * config.host (powerpc*-*-linux*): For e500v1, use
4797 rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
4798 t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
4799 and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
4800
ef2810c1
JDA
48012014-10-26 John David Anglin <danglin@gcc.gnu.org>
4802
4803 * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
4804 (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
4805 memory read accesses are ok.
4806
d80c2bea
JM
48072014-10-25 Joseph Myers <joseph@codesourcery.com>
4808
4809 * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
4810 * configure: Regenerate.
4811 * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
4812 additions to tmake_file. Use t-hardfp-sfdf and t-hardfp instead
4813 of soft-fp for 32-bit classic hard float. Do not use
4814 t-softfp-excl for soft float.
4815
693b297b
JM
48162014-10-22 Joseph Myers <joseph@codesourcery.com>
4817
4818 * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
4819 configurations.
4820 * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
4821 Remove variables.
4822
18a3415e
GJL
48232014-10-22 Georg-Johann Lay <avr@gjlay.de>
4824
4825 * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
4826 introduced with 2014-10-21 trunk r216525.
4827
c1dd9790 48282014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
7d296953
JJ
4829 Vidya Praveen <vidya.praveen@atmel.com>
4830 Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
4831 Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
4832 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
c1dd9790
JR
4833
4834 * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
4835 order.
4836
4837 Updated library functions for AVRTINY arch.
4838 * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
4839 Replaced occurrences of r0/r1 with tmp/zero reg macros.
4840 Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
4841 or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
4842 wsubi/wadi macors.
4843 (__mulsi3_helper): Update stack, preserve callee saved regs and
4844 argument from stack. Restore callee save registers.
4845 (__mulpsi3): Likewise.
4846 (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
4847 __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
18a3415e 4848 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
c1dd9790
JR
4849 AVRTINY.
4850 (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
4851 (__do_copy_data): Added new definition for AVRTINY.
4852 (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
4853 (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
4854 __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
4855 * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
4856 tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
4857 macors.
18a3415e 4858 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
c1dd9790
JR
4859 AVRTINY.
4860
18a3415e 4861 Fix broken long multiplication on tiny arch.
c1dd9790 4862
5f606431
JM
48632014-10-09 Joseph Myers <joseph@codesourcery.com>
4864
4865 * soft-fp/double.h: Update from glibc.
4866 * soft-fp/eqdf2.c: Likewise.
4867 * soft-fp/eqsf2.c: Likewise.
4868 * soft-fp/eqtf2.c: Likewise.
4869 * soft-fp/extenddftf2.c: Likewise.
4870 * soft-fp/extended.h: Likewise.
4871 * soft-fp/extendsfdf2.c: Likewise.
4872 * soft-fp/extendsftf2.c: Likewise.
4873 * soft-fp/extendxftf2.c: Likewise.
4874 * soft-fp/gedf2.c: Likewise.
4875 * soft-fp/gesf2.c: Likewise.
4876 * soft-fp/getf2.c: Likewise.
4877 * soft-fp/ledf2.c: Likewise.
4878 * soft-fp/lesf2.c: Likewise.
4879 * soft-fp/letf2.c: Likewise.
4880 * soft-fp/op-1.h: Likewise.
4881 * soft-fp/op-2.h: Likewise.
4882 * soft-fp/op-4.h: Likewise.
4883 * soft-fp/op-8.h: Likewise.
4884 * soft-fp/op-common.h: Likewise.
4885 * soft-fp/quad.h: Likewise.
4886 * soft-fp/single.h: Likewise.
4887 * soft-fp/soft-fp.h: Likewise.
4888 * soft-fp/unorddf2.c: Likewise.
4889 * soft-fp/unordsf2.c: Likewise.
4890 * soft-fp/unordtf2.c: Likewise.
4891 * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
4892 * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
4893 * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
4894 * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
4895 * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
4896 * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
4897 * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
4898 * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
4899 * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
4900 * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
4901
9b84e7a8
RX
49022014-10-08 Rong Xu <xur@google.com>
4903
4904 * libgcov-util.c (read_gcda_file): Fix format.
4905 (find_match_gcov_info): Ditto.
4906 (calculate_2_entries): New.
4907 (compute_one_gcov): Ditto.
4908 (gcov_info_count_all_cold): Ditto.
4909 (gcov_info_count_all_zero): Ditto.
4910 (extract_file_basename): Ditto.
4911 (get_file_basename): Ditto.
4912 (set_flag): Ditto.
4913 (matched_gcov_info): Ditto.
4914 (calculate_overlap): Ditto.
4915 (gcov_profile_overlap): Ditto.
4916 * libgcov-driver.c (compute_summary): Make
4917 it avavilable for external calls.
4918
fe1090c1
RX
49192014-10-06 Rong Xu <xur@google.com>
4920
4921 * Makefile.in: Ditto.
4922 * libgcov-driver.c (gcov_sort_n_vals): New utility function.
4923 (gcov_sort_icall_topn_counter): Ditto.
4924 (gcov_sort_topn_counter_arrays): Ditto.
4925 (dump_one_gcov): Sort indirect_call topn counters.
4926 * libgcov-merge.c (__gcov_merge_icall_topn): New merge
4927 function.
4928 * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
4929 utility function.
4930 (__gcov_indirect_call_topn_profiler): New profiler function.
4931 * libgcov-util.c (__gcov_icall_topn_counter_op): New.
4932 * libgcov.h: New decls.
4933
3daa7bbf
TS
49342014-10-04 Trevor Saunders <tsaunders@mozilla.com>
4935
4936 * config.host: Remove support for score-*.
4937
9a79452d
JM
49382014-09-22 Joseph Myers <joseph@codesourcery.com>
4939
4940 * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
4941 (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
4942 (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
4943 __LIBGCC_XF_MANT_DIG__.
4944 (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
4945 (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
4946 __LIBGCC_TF_MANT_DIG__.
4947 * libgcc2.c (NOTRUNC): Define in terms of
4948 __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
4949 * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
4950
1a849e50
JM
49512014-09-22 Joseph Myers <joseph@codesourcery.com>
4952
4953 PR target/63312
4954 * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
4955 New macros.
4956
598a1586
HPN
49572014-09-22 Hans-Peter Nilsson <hp@axis.com>
4958
4959 * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
4960 override USE_PT_GNU_EH_FRAME.
4961 [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
4962 check USE_EH_FRAME_REGISTRY_ALWAYS against
4963 __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
4964 * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
4965 variable for substituted force_explicit_eh_registry.
4966 (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
4967 * configure.ac (explicit-exception-frame-registration):
4968 New AC_ARG_ENABLE.
4969 * configure: Regenerate.
4970
3a8fe7c6
OH
49712014-09-19 Olivier Hainque <hainque@adacore.com>
4972
4973 * config.host (powerpc-wrs-vxworksmils): New configuration,
4974 same as vxworksae.
4975
dd69f047
JM
49762014-09-18 Joseph Myers <joseph@codesourcery.com>
4977
4978 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
4979
e770bfd9
JM
49802014-09-18 Joseph Myers <joseph@codesourcery.com>
4981
4982 * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
4983 bits not set bits as indicating trapping exceptions.
4984
cadb2b96
NS
49852014-09-17 Nathan sidwell <nathan@acm.org>
4986
4987 * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
4988 (LIBGCOV_DRIVER): ... here.
4989 * libgcov-driver.c (gcov_master): New.
4990 (gcov_exit): Remove from master chain.
4991 (__gcov_init): Add to master chain if version compatible. Don't
4992 clear the version.
4993 * libgcov_interface (__gcov_flust): Call gcov_dump_int.
4994 (gcov_reset_int): Clear master chain, if compatible.
4995 (gcov_dump_int): New internal interface. Dump master chain, if
4996 compatible.
4997 (gcov_dump): Alias for gcov_dump_int.
4998 * libgcov.h (struct gcov_root): Add next and prev fields.
4999 (struct gcov_master): New struct.
5000 (__gcov_master): New.
5001 (gcov_dump_int): Declare.
5002
580d22a3
OH
50032014-09-17 Olivier Hainque <hainque@adacore.com>
5004
5005 * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
5006 and crtbegin.o + crtend.o to extra_parts.
5007
8cc4b7a2
JM
50082014-09-12 Joseph Myers <joseph@codesourcery.com>
5009
5010 * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
5011 __LIBGCC_HAS_SF_MODE__.
5012 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
5013 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
5014 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
5015 * config/libbid/bid_gcc_intrinsics.h
5016 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
5017 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
5018 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
5019 * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
5020 (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
5021 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
5022
ea3f2b24
GJL
50232014-09-11 Georg-Johann Lay <avr@gjlay.de>
5024
5025 PR target/63223
5026 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
5027 and R24 as needed. Make work for all devices and .text locations.
5028 (__do_global_ctors, __do_global_dtors): Use word addresses.
5029 (__tablejump__, __tablejump_elpm__): Remove functions.
5030 * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
5031 Add _tablejump2.
5032 (XICALL, XIJMP): New macros.
5033
b677236a
MS
50342014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
5035 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
5036
5037 * config.host (aarch64*): Include crtfastmath.o and
5038 t-crtfm.
5039 * config/aarch64/crtfastmath.c: New file.
5040
157e859f
TS
50412014-09-08 Trevor Saunders <tsaunders@mozilla.com>
5042
5043 * config.host: Remove picochip support.
5044 * config/picochip/adddi3.S: Remove.
5045 * config/picochip/ashlsi3.S: Remove.
5046 * config/picochip/ashlsi3.c: Remove.
5047 * config/picochip/ashrsi3.S: Remove.
5048 * config/picochip/ashrsi3.c: Remove.
5049 * config/picochip/clzsi2.S: Remove.
5050 * config/picochip/cmpsi2.S: Remove.
5051 * config/picochip/divmod15.S: Remove.
5052 * config/picochip/divmodhi4.S: Remove.
5053 * config/picochip/divmodsi4.S: Remove.
5054 * config/picochip/lib1funcs.S: Remove.
5055 * config/picochip/longjmp.S: Remove.
5056 * config/picochip/lshrsi3.S: Remove.
5057 * config/picochip/lshrsi3.c: Remove.
5058 * config/picochip/parityhi2.S: Remove.
5059 * config/picochip/popcounthi2.S: Remove.
5060 * config/picochip/setjmp.S: Remove.
5061 * config/picochip/subdi3.S: Remove.
5062 * config/picochip/t-picochip: Remove.
5063 * config/picochip/ucmpsi2.S: Remove.
5064 * config/picochip/udivmodhi4.S: Remove.
5065 * config/picochip/udivmodsi4.S: Remove.
5066
66bb34c0
JM
50672014-09-08 Joseph Myers <joseph@codesourcery.com>
5068
5069 * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
5070 (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
5071 (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
5072 (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
5073 * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
5074 error if not defined and LIBGCC2_HAS_SF_MODE is defined.
5075 (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
5076 defined and LIBGCC2_HAS_DF_MODE is defined.
5077 (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
5078 defined and LIBGCC2_HAS_XF_MODE is defined.
5079 (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
5080 defined and LIBGCC2_HAS_TF_MODE is defined.
5081
9686a2e6
JM
50822014-09-08 Joseph Myers <joseph@codesourcery.com>
5083
5084 * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
5085 and ROUND_TOWARDS_ZERO conditionals.
5086
71c3e2ef
NS
50872014-09-07 Nathan sidwell <nathan@acm.org>
5088
5089 * libgcov-interface.c (STRONG_ALIAS): Rename to ...
5090 (ALIAS_weak): ... here. Use forwarding function. Adjust uses.
5091
53d68b9f
JM
50922014-09-05 Joseph Myers <joseph@codesourcery.com>
5093
5094 * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
5095 * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
5096 uses to __LIBGCC_STACK_POINTER_REGNUM__.
5097 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
5098 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5099 * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
5100 Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5101 * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
5102 uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
5103 (DWARF_FRAME_REGISTERS): Change all uses to
5104 __LIBGCC_DWARF_FRAME_REGISTERS__.
5105 (EH_RETURN_STACKADJ_RTX): Change all uses to
5106 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
5107 * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
5108 __LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
5109 * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
5110 use to __LIBGCC_EH_FRAME_SECTION_NAME__.
5111 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
5112 * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
5113 to __LIBGCC_EH_FRAME_SECTION_NAME__.
5114 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
5115 * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
5116 __LIBGCC_STACK_POINTER_REGNUM__.
5117 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
5118 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5119 * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
5120 to __LIBGCC_STACK_POINTER_REGNUM__.
5121 * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
5122 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5123 * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
5124 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5125 * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
5126 Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5127 (STACK_POINTER_REGNUM): Change all uses to
5128 __LIBGCC_STACK_POINTER_REGNUM__.
5129 * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
5130 use to __LIBGCC_STACK_POINTER_REGNUM__.
5131 * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
5132 uses to __LIBGCC_STACK_POINTER_REGNUM__.
5133 * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
5134 to __LIBGCC_DWARF_FRAME_REGISTERS__.
5135 * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
5136 to __LIBGCC_DWARF_FRAME_REGISTERS__.
5137 * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
5138 to __LIBGCC_STACK_POINTER_REGNUM__.
5139 * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
5140 Remove conditional definition.
5141 * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
5142 __LIBGCC_TEXT_SECTION_ASM_OP__.
5143 (EH_FRAME_SECTION_NAME): Change all uses to
5144 __LIBGCC_EH_FRAME_SECTION_NAME__.
5145 (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
5146 __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
5147 (CTORS_SECTION_ASM_OP): Change all uses to
5148 __LIBGCC_CTORS_SECTION_ASM_OP__.
5149 (DTORS_SECTION_ASM_OP): Change all uses to
5150 __LIBGCC_DTORS_SECTION_ASM_OP__.
5151 (JCR_SECTION_NAME): Change all uses to
5152 __LIBGCC_JCR_SECTION_NAME__.
5153 (INIT_SECTION_ASM_OP): Change all uses to
5154 __LIBGCC_INIT_SECTION_ASM_OP__.
5155 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
5156 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
5157 * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
5158 __LIBGCC_STACK_GROWS_DOWNWARD__.
5159 * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
5160 __LIBGCC_INIT_SECTION_ASM_OP__.
5161 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
5162 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
5163 (EH_FRAME_SECTION_NAME): Change all uses to
5164 __LIBGCC_EH_FRAME_SECTION_NAME__.
5165 * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
5166 definitions. Change all uses to
5167 __LIBGCC_VTABLE_USES_DESCRIPTORS__.
5168 * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
5169 __LIBGCC_STACK_GROWS_DOWNWARD__.
5170 (DWARF_FRAME_REGISTERS): Change all uses to
5171 __LIBGCC_DWARF_FRAME_REGISTERS__.
5172 (EH_RETURN_STACKADJ_RTX): Change all uses to
5173 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
5174 * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
5175 definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
5176 * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
5177 __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
5178 (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
5179
b20ee094
NS
51802014-09-02 Nathan sidwell <nathan@acm.org>
5181
5182 * libgcov-interface.c (STRONG_ALIAS): New.
5183 (__gcov_flush): Call __gcov_reset_int.
5184 (__gcov_reset): Strong alias for ...
5185 (__gcov_reset_ing): ... this renamed hidden version.
5186 * libgcov.h (__gcov_reset_int): New declaration.
5187
1ac83976
YS
51882014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
5189
25efdb9f
YS
5190 * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
5191 call from here...
5192 * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
5193 (__dso_handle): Define on Cygwin.
5194 * config/i386/t-cygming (crtbeginS.o): New rule.
5195 * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
5196
1ac83976
YS
5197 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
5198 declaration syntax.
5199
c6f9ea3b
SE
52002014-08-13 Steve Ellcey <sellcey@mips.com>
5201
5202 * crtstuff.c: Undef caddr_t.
5203
5b1ea7c5
SE
52042014-08-12 Steve Ellcey <sellcey@mips.com>
5205
5206 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
5207
4303c581
NS
52082014-08-07 Nathan Sidwell <nathan@acm.org>
5209
5210 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
5211 (LIBGCOV_DRIVER): ... to here.
5212 * libgcov.h (gcov_do_dump): New #define.
5213 (struct gcov_root): New.
5214 (__gcov_root): New declaration.
5215 (__gcov_dump_one): Declare.
5216 * libgcov-driver.c (gcov_list, gcov_dump_complete,
5217 run_accounted): Delete.
5218 (gcov_compute_histogram): Add LIST argument, adjust.
5219 (compute_summary): Adjust gcov_compute_histogram call.
5220 (gcov_do_dump): Not hidden, static in libgcov.
5221 (gcov_clear): Move to interface.c.
5222 (__gcov_dump_one): New, broken out of ...
5223 (gcov_exit): ... here. Make static.
5224 (__gcov_root): New.
5225 (__gcov_init): Adjust.
5226 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
5227 declarations.
5228 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
5229 (gcov_clear): Moved from driver.c. Add LIST argument.
5230 (__gcov_reset): Adjust for changed interfaces.
5231 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
5232
23742a9e
RAR
52332014-08-04 Rohit <rohitarulraj@freescale.com>
5234
5235 PR target/60102
5236 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
d406ae47 5237 based on change in SPE high register numbers and 3 HTM registers.
23742a9e 5238
b98a872b
NS
52392014-08-01 Nathan Sidwell <nathan@acm.org>
5240
5241 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
5242 LIBGCOV_INTERFACE): Reformat.
5243 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
5244 IN_GCOV_TOOL.
5245 * libgcov-interface.c: Reformat some comments.
5246 (__gcov_flush_mx): Add declaration. Tidy up definition.
5247
6adaaa1d
AM
52482014-07-31 Alan Modra <amodra@gmail.com>
5249 Peter Bergner <bergner@vnet.ibm.com>
5250
5251 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
5252 (pack_ldouble): New function.
5253 (__gcc_qadd): Use it.
5254 (__gcc_qmul): Likewise.
5255 (__gcc_qdiv): Likewise.
5256 (__gcc_qneg): Likewise.
5257 (__gcc_stoq): Likewise.
5258 (__gcc_dtoq): Likewise.
5259
87cb0c0c
UW
52602014-07-30 J. D. Johnston <jjohnst@us.ibm.com>
5261
5262 * config/s390/tpf-unwind.h: Include <stdbool.h>.
5263 (__tpf_eh_return): Add original return address as second parameter.
5264 Handle cases where unwinder routines were called directly, instead
5265 of from within the C++ library.
5266
19926161
NS
52672014-07-29 Nathan Sidwell <nathan@acm.org>
5268
5269 * libgcov.h: Move renaming of entry points to lib gcov specific
5270 portion.
5271 (gcov_do_dump): New rename.
5272 (gcov_rewrite): Remove inline, make HIDDEN.
5273 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
5274 (gcov_exit_compute_summary): Rename to ...
5275 (compute_summary): ... here. Add LIST argument.
5276 (gcov_exit_merge_gcda): Rename to ...
5277 (merge_one_data): ... here.
5278 (gcov_exit_write_gcda): Rename to ...
5279 (write_one_data): ... here.
5280 (gcov_exit_merge_summary): Rename to ...
5281 (merge_summary): Add RUN_COUNTED argument.
5282 (gcov_exit_dump_gcov): Rename to ...
5283 (dump_one_gcov): Add RUN_COUNTED argument.
5284 (gcov_do_dump): New function, broken out of ...
5285 (gcov_exit): ... here. Call it.
5286
17522262
AG
52872014-07-27 Anthony Green <green@moxielogic.com>
5288
5289 * config.host: Add moxiebox configuration suppport.
5290
6dc33097
NS
52912014-07-27 Nathan Sidwell <nathan@acm.org>
5292
5293 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
5294 (struct gcov_filename): ... here. Include buffer and max length
5295 fields.
5296 (gcov_max_filename): Remove.
5297 (gi_filename): Remove.
5298 (gcov_exit_compute_summary): Compute max filename here.
5299 (gcov_exit_merge_gcda): Add filename parm, adjust.
5300 (gcov_exit_merge_summary): Likewise.
5301 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
5302 (gcov_exit): Likewise.
5303 (__gcov_init): Don't calculate max length here.
5304 * libgcov_util.c (max_filename_len): Remove.
5305 (read_gcda_file): Don't calculate max length here.
5306 (gcov_read_profile_dir): Don't propagate here.
5307 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
5308 struct gcov_filename changes.
5309 (gcov_exit_open_gcda_file): Likewise.
5310
770f687d
NS
53112014-07-25 Nathan Sidwell <nathan@acm.org>
5312
5313 * libgcov-driver.c (set_gcov_dump_complete,
5314 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
5315 functions polluting user's namespace.
5316 (gcov_exit): Set variable directly.
5317 (gcov_clear): Reset variable directly.
5318 * libgcov-interface.c (get_gcov_dymp_complete,
5319 reset_gov_dump_complete): Remove declarations.
5320 (__gcov_reset, __gcov_dump): Don't call them.
5321
fabf71ba
DD
53222014-07-24 DJ Delorie <dj@redhat.com>
5323
5324 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
770f687d
NS
5325 (__gcc_deregister_frame): Move logic to detect deregister function
5326 to ...
5327 (__gcc_register_frame): here, so it's consistent with the register
5328 logic.
fabf71ba 5329
d10ee722
NS
53302014-07-23 Nathan Sidwell <nathan@acm.org>
5331
5332 * libgcov-driver.c (set_gcov_list): Remove.
5333 (gcov_list): Make non-static in GCOV_TOOL.
5334 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
5335
a4137090
JDA
53362014-07-17 John David Anglin <danglin@gcc.gnu.org>
5337
5338 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
5339 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
5340 Don't use SYNC_LOCK_RELEASE for int type.
5341
72602c6c
RB
53422014-07-14 Richard Biener <rguenther@suse.de>
5343
5344 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
5345
d5313205
RX
53462014-07-11 Rong Xu <xur@google.com>
5347
5348 * libgcov-util.c (gcov_max_filename): Fix declartion.
5349
c77556a5
RX
53502014-07-10 Rong Xu <xur@google.com>
5351
5352 Add gcov-tool: an offline gcda profile processing tool
5353 Support.
5354 * libgcov-driver.c (gcov_max_filename): Make available
5355 to gcov-tool.
5356 * libgcov-merge.c (__gcov_merge_add): Replace
5357 gcov_read_counter() with a Macro.
5358 (__gcov_merge_ior): Ditto.
5359 (__gcov_merge_time_profile): Ditto.
5360 (__gcov_merge_single): Ditto.
5361 (__gcov_merge_delta): Ditto.
5362 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
5363 in the utility functions.
5364 (set_fn_ctrs): Utility function for reading gcda files to in-memory
5365 gcov_list object link lists.
5366 (tag_function): Ditto.
5367 (tag_blocks): Ditto.
5368 (tag_arcs): Ditto.
5369 (tag_lines): Ditto.
5370 (tag_counters): Ditto.
5371 (tag_summary): Ditto.
5372 (read_gcda_finalize): Ditto.
5373 (read_gcda_file): Ditto.
5374 (ftw_read_file): Ditto.
5375 (read_profile_dir_init): Ditto.
5376 (gcov_read_profile_dir): Ditto.
5377 (gcov_read_counter_mem): Ditto.
5378 (gcov_get_merge_weight): Ditto.
5379 (merge_wrapper): A wrapper function that calls merging handler.
5380 (gcov_merge): Merge two gcov_info objects with weights.
5381 (find_match_gcov_info): Find the matched gcov_info in the list.
5382 (gcov_profile_merge): Merge two gcov_info object lists.
5383 (__gcov_add_counter_op): Process edge profile counter values.
5384 (__gcov_ior_counter_op): Process IOR profile counter values.
5385 (__gcov_delta_counter_op): Process delta profile counter values.
5386 (__gcov_single_counter_op): Process single profile counter values.
5387 (fp_scale): Callback function for float-point scaling.
cc86234f 5388 (int_scale): Callback function for integer fraction scaling.
c77556a5
RX
5389 (gcov_profile_scale): Scaling profile counters.
5390 (gcov_profile_normalize): Normalize profile counters.
5391 * libgcov.h: Add headers and functions for gcov-tool use.
5392 (gcov_get_counter): New.
5393 (gcov_get_counter_target): Ditto.
5394 (struct gcov_info): Make the functions field mutable in gcov-tool
5395 compilation.
5396
5c7dac8a
KT
53972014-06-23 Kai Tietz <ktietz@redhat.com>
5398
5399 PR libgcc/61585
5400 * unwind-seh.c (_Unwind_GetGR): Check for proper
5401 index range.
5402 (_Unwind_SetGR): Likewise.
5403
161c9312
NC
54042014-05-22 Nick Clifton <nickc@redhat.com>
5405
5406 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
5407 -mhwmult=none.
5408
e3f0315f
TJ
54092014-05-22 Teresa Johnson <tejohnson@google.com>
5410
5411 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
5412 include.
5413
dbed5a9b
JM
54142014-05-20 John Marino <gnugcc@marino.st>
5415
5416 * config.host (*-*-dragonfly*): New target.
5417 * crtstuff.c: Make dl_iterate_support generic on *bsd.
5418 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
5419 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
5420 * config/i386/dragonfly-unwind.h: New.
5421
1ec380e5
MR
54222014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
5423
5424 PR libgcc/60166
5425 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
5426 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
5427
54fde020
BE
54282014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
5429
5430 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
5431 implementation.
5432
999db125
GJL
54332014-05-12 Georg-Johann Lay <avr@gjlay.de>
5434
5435 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
5436
cceaf54a
RO
54372014-05-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5438
5439 PR libgcc/61097
5440 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
5441 if --enable-shared.
5442
e3fe9b5b
BE
54432014-04-30 Bernd Edlinger <bernd.edlinger@hotmail.de>
5444
5445 Work around for current cygwin32 build problems.
5446 * config/i386/cygming-crtbegin.c (__register_frame_info,
5447 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
5448 functions only for 64-bit systems.
5449
54cf37e9
RO
54502014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5451
5452 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
5453 (sigill_caught, sigill_hdlr): Remove.
5454
d9f069ab
RO
54552014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5456
5457 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
5458 check.
5459 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
5460 Solaris 9 single-threaded support.
5461 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
5462 Solaris 9 single-threaded support. Add call_user_handler code
5463 sequences.
5464 (sparc_is_sighandler): Likewise.
5465
59976ef8
AK
54662014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5467
5468 * config.host: Append t-floattodi to tmake_file depending on
5469 host_address.
5470
d02bbcf3
JS
54712014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
5472
31466bc0 5473 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
d02bbcf3 5474
c2e7e597
UB
54752014-03-10 Uros Bizjak <ubizjak@gmail.com>
5476
5477 PR libgcc/60472
5478 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
2405e0ea 5479 variable to avoid "array subscript is above array bounds" warnings.
c2e7e597
UB
5480 Use __builtin_expect when checking *jcr_list for NULL.
5481
227a7dc8
RO
54822014-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5483
5484 PR libgcc/59339
5485 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
5486 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
5487 vtv_*.o to extra_parts if enable_vtable_verify.
5488
df2b279c
NC
54892014-03-06 Nick Clifton <nickc@redhat.com>
5490
5491 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
5492 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
5493
dc11d79b
JY
54942014-02-28 Joey Ye <joey.ye@arm.com>
5495
5496 PR libgcc/60166
5497 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
5498 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
5499 Set to zero.
5500
341c653c
WL
55012014-02-24 Walter Lee <walt@tilera.com>
5502
5503 * config.host: Support "tilegx*" and "tilepro*" triplets.
5504 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
5505 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
5506
95ce7613
CLT
55072014-02-20 Sandra Loosemore <sandra@codesourcery.com>
5508 Chung-Lin Tang <cltang@codesourcery.com>
5509
5510 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
5511 * config/nios2/crti.S: Remove .file directive.
5512 * config/nios2/crtn.S: Likewise.
5513
0bb4fc05
KT
55142014-02-18 Kai Tietz <ktietz@redhat.com>
5515 Jonathan Schleifer <js@webkeks.org>
5516
5517 PR objc/56870
5518 * unwind-seh.c (_GCC_specific_handler): Pass proper
5519 value to unwind-handler.
5520
9acf28f1
JM
55212014-02-12 Joseph Myers <joseph@codesourcery.com>
5522
5523 * soft-fp/adddf3.c: Update from glibc.
5524 * soft-fp/addsf3.c: Likewise.
5525 * soft-fp/addtf3.c: Likewise.
5526 * soft-fp/divdf3.c: Likewise.
5527 * soft-fp/divsf3.c: Likewise.
5528 * soft-fp/divtf3.c: Likewise.
5529 * soft-fp/double.h: Likewise.
5530 * soft-fp/eqdf2.c: Likewise.
5531 * soft-fp/eqsf2.c: Likewise.
5532 * soft-fp/eqtf2.c: Likewise.
5533 * soft-fp/extenddftf2.c: Likewise.
5534 * soft-fp/extended.h: Likewise.
5535 * soft-fp/extendsfdf2.c: Likewise.
5536 * soft-fp/extendsftf2.c: Likewise.
5537 * soft-fp/extendxftf2.c: Likewise.
5538 * soft-fp/fixdfdi.c: Likewise.
5539 * soft-fp/fixdfsi.c: Likewise.
5540 * soft-fp/fixdfti.c: Likewise.
5541 * soft-fp/fixsfdi.c: Likewise.
5542 * soft-fp/fixsfsi.c: Likewise.
5543 * soft-fp/fixsfti.c: Likewise.
5544 * soft-fp/fixtfdi.c: Likewise.
5545 * soft-fp/fixtfsi.c: Likewise.
5546 * soft-fp/fixtfti.c: Likewise.
5547 * soft-fp/fixunsdfdi.c: Likewise.
5548 * soft-fp/fixunsdfsi.c: Likewise.
5549 * soft-fp/fixunsdfti.c: Likewise.
5550 * soft-fp/fixunssfdi.c: Likewise.
5551 * soft-fp/fixunssfsi.c: Likewise.
5552 * soft-fp/fixunssfti.c: Likewise.
5553 * soft-fp/fixunstfdi.c: Likewise.
5554 * soft-fp/fixunstfsi.c: Likewise.
5555 * soft-fp/fixunstfti.c: Likewise.
5556 * soft-fp/floatdidf.c: Likewise.
5557 * soft-fp/floatdisf.c: Likewise.
5558 * soft-fp/floatditf.c: Likewise.
5559 * soft-fp/floatsidf.c: Likewise.
5560 * soft-fp/floatsisf.c: Likewise.
5561 * soft-fp/floatsitf.c: Likewise.
5562 * soft-fp/floattidf.c: Likewise.
5563 * soft-fp/floattisf.c: Likewise.
5564 * soft-fp/floattitf.c: Likewise.
5565 * soft-fp/floatundidf.c: Likewise.
5566 * soft-fp/floatundisf.c: Likewise.
5567 * soft-fp/floatunditf.c: Likewise.
5568 * soft-fp/floatunsidf.c: Likewise.
5569 * soft-fp/floatunsisf.c: Likewise.
5570 * soft-fp/floatunsitf.c: Likewise.
5571 * soft-fp/floatuntidf.c: Likewise.
5572 * soft-fp/floatuntisf.c: Likewise.
5573 * soft-fp/floatuntitf.c: Likewise.
5574 * soft-fp/gedf2.c: Likewise.
5575 * soft-fp/gesf2.c: Likewise.
5576 * soft-fp/getf2.c: Likewise.
5577 * soft-fp/ledf2.c: Likewise.
5578 * soft-fp/lesf2.c: Likewise.
5579 * soft-fp/letf2.c: Likewise.
5580 * soft-fp/muldf3.c: Likewise.
5581 * soft-fp/mulsf3.c: Likewise.
5582 * soft-fp/multf3.c: Likewise.
5583 * soft-fp/negdf2.c: Likewise.
5584 * soft-fp/negsf2.c: Likewise.
5585 * soft-fp/negtf2.c: Likewise.
5586 * soft-fp/op-1.h: Likewise.
5587 * soft-fp/op-2.h: Likewise.
5588 * soft-fp/op-4.h: Likewise.
5589 * soft-fp/op-8.h: Likewise.
5590 * soft-fp/op-common.h: Likewise.
5591 * soft-fp/quad.h: Likewise.
5592 * soft-fp/single.h: Likewise.
5593 * soft-fp/soft-fp.h: Likewise.
5594 * soft-fp/subdf3.c: Likewise.
5595 * soft-fp/subsf3.c: Likewise.
5596 * soft-fp/subtf3.c: Likewise.
5597 * soft-fp/truncdfsf2.c: Likewise.
5598 * soft-fp/trunctfdf2.c: Likewise.
5599 * soft-fp/trunctfsf2.c: Likewise.
5600 * soft-fp/trunctfxf2.c: Likewise.
5601 * soft-fp/unorddf2.c: Likewise.
5602 * soft-fp/unordsf2.c: Likewise.
5603 * soft-fp/unordtf2.c: Likewise.
5604 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
5605 macro.
5606 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5607 Likewise.
5608 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5609 Likewise.
5610 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5611 Likewise.
5612 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5613 Likewise.
5614 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5615 Likewise.
5616 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5617 Likewise.
5618 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5619 Likewise.
5620 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5621 Likewise.
5622 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5623 Likewise.
5624 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5625 Likewise.
5626 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5627 Likewise.
5628 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5629 Likewise.
5630 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
5631 Likewise.
5632 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
5633 Likewise.
5634 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5635 Likewise.
5636
ce245ec6
AK
56372014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5638
5639 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
5640 cannot be represented.
5641 * config/s390/32/_fixsfdi.c: Likewise.
5642 * config/s390/32/_fixtfdi.c: Likewise.
5643 * config/s390/32/_fixunsdfdi.c: Likewise.
5644 * config/s390/32/_fixunssfdi.c: Likewise.
5645 * config/s390/32/_fixunstfdi.c: Likewise.
5646
1c51d688
RS
56472014-02-07 Richard Sandiford <rdsandiford@googlemail.com>
5648
5649 * configure.ac (libgcc_cv_mips_hard_float): New.
5650 * configure: Regenerate.
5651 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
5652 t-softfp-sfdf for hard-float targets.
5653 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
5654 (softfp_float_modes, softfp_int_modes, softfp_extensions)
5655 (softfp_truncations, softfp_exclude_libgcc2): New.
5656 * config/t-hardfp: New file.
5657 * config/t-hardfp-sfdf: Likewise.
5658 * config/hardfp.c: Likewise.
5659
bbf391db
AK
56602014-02-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5661
5662 * config.host: Include t-floattodi also for s390x.
5663 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
5664 * config/s390/32/_fixsfdi.c: Likewise.
5665 * config/s390/32/_fixtfdi.c: Likewise.
5666 * config/s390/32/_fixunsdfdi.c: Likewise.
5667 * config/s390/32/_fixunssfdi.c: Likewise.
5668 * config/s390/32/_fixunstfdi.c: Likewise.
5669
91da0481
RO
56702014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5671
5672 PR target/59788
5673 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
5674 (install-libgcc-unwind-map-forbuild): New target.
5675 (all): Depend on install-libgcc-unwind-map-forbuild.
5676 (install-libgcc-unwind-map): New target.
5677 (install): Depend on install-libgcc-unwind-map.
5678
02b67731
SL
56792014-02-02 Sandra Loosemore <sandra@codesourcery.com>
5680
5681 * config/nios2/crti.S (_init): Initialize GOT pointer from
5682 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
5683
1ea0a651
RS
56842014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
5685
5686 * configure.ac: Check __mips64 when setting host_address.
5687 * configure: Regenerate.
5688 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
5689 mips/t-mips64 and t-softfp.
5690 (mips*-*-linux*): Don't add mips/t-tpbit.
5691 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
5692 (DPBIT, DPBIT_CFLAGS): Delete.
5693 * config/mips/sfp-machine.h: New file.
5694 * config/mips/t-mips64: Likewise.
5695 * config/mips/t-softfp-tf: Likewise.
5696 * config/mips/t-tpbit: Delete.
5697
f32b0061
MS
56982014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
5699
5700 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
5701 as long long.
5702
a5420aa4
WL
57032014-01-25 Walter Lee <walt@tilera.com>
5704
5705 * config/tilepro/atomic.c: Include tconfig.h. Don't include
5706 config.h or system.h.
5707 (bool) Define.
5708
24534912
WL
57092014-01-25 Walter Lee <walt@tilera.com>
5710
5711 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
5712 (post_atomic_barrier): Ditto.
5713 (__fetch_and_do): New macro.
5714 (__atomic_fetch_and_do): Use __fetch_and_do.
5715 (__sync_fetch_and_do): New macro.
5716 (__sync_fetch_and_add_4): New function.
5717 (__sync_fetch_and_sub_4): New function.
5718 (__sync_fetch_and_or_4): New function.
5719 (__sync_fetch_and_and_4): New function.
5720 (__sync_fetch_and_xor_4): New function.
5721 (__sync_fetch_and_nand_4): New function.
5722 (__sync_fetch_and_add_8): New function.
5723 (__sync_fetch_and_sub_8): New function.
5724 (__sync_fetch_and_or_8): New function.
5725 (__sync_fetch_and_and_8): New function.
5726 (__sync_fetch_and_xor_8): New function.
5727 (__sync_fetch_and_nand_8): New function.
5728 (__do_and_fetch): New macro.
5729 (__atomic_do_and_fetch): Use __do_and_fetch.
5730 (__sync_do_and_fetch): New macro.
5731 (__sync_add_and_fetch_4): New function.
5732 (__sync_sub_and_fetch_4): New function.
5733 (__sync_or_and_fetch_4): New function.
5734 (__sync_and_and_fetch_4): New function.
5735 (__sync_xor_and_fetch_4): New function.
5736 (__sync_nand_and_fetch_4): New function.
5737 (__sync_add_and_fetch_8): New function.
5738 (__sync_sub_and_fetch_8): New function.
5739 (__sync_or_and_fetch_8): New function.
5740 (__sync_and_and_fetch_8): New function.
5741 (__sync_xor_and_fetch_8): New function.
5742 (__sync_nand_and_fetch_8): New function.
5743 (__sync_exchange_methods): New macro.
5744 (__sync_val_compare_and_swap_4): New function.
5745 (__sync_bool_compare_and_swap_4): New function.
5746 (__sync_lock_test_and_test_4): New function.
5747 (__sync_val_compare_and_swap_8): New function.
5748 (__sync_bool_compare_and_swap_8): New function.
5749 (__sync_lock_test_and_test_8): New function.
5750 (__subword_cmpxchg_body): New macro.
5751 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
5752 (__atomic_compare_exchange_2): Ditto.
5753 (__sync_subword_cmpxchg): New macro.
5754 (__sync_val_compare_and_swap_1): New function.
5755 (__sync_bool_compare_and_swap_1): New function.
5756 (__sync_val_compare_and_swap_2): New function.
5757 (__sync_bool_compare_and_swap_2): New function.
5758 (__atomic_subword): Rename to ...
5759 (__subword): ... New name.
5760 (__atomic_subword_fetch): Use __subword.
5761 (__sync_subword_fetch): New macro.
5762 (__sync_fetch_and_add_1): New function.
5763 (__sync_fetch_and_sub_1): New function.
5764 (__sync_fetch_and_or_1): New function.
5765 (__sync_fetch_and_and_1): New function.
5766 (__sync_fetch_and_xor_1): New function.
5767 (__sync_fetch_and_nand_1): New function.
5768 (__sync_fetch_and_add_2): New function.
5769 (__sync_fetch_and_sub_2): New function.
5770 (__sync_fetch_and_or_2): New function.
5771 (__sync_fetch_and_and_2): New function.
5772 (__sync_fetch_and_xor_2): New function.
5773 (__sync_fetch_and_nand_2): New function.
5774 (__sync_add_and_fetch_1): New function.
5775 (__sync_sub_and_fetch_1): New function.
5776 (__sync_or_and_fetch_1): New function.
5777 (__sync_and_and_fetch_1): New function.
5778 (__sync_xor_and_fetch_1): New function.
5779 (__sync_nand_and_fetch_1): New function.
5780 (__sync_add_and_fetch_2): New function.
5781 (__sync_sub_and_fetch_2): New function.
5782 (__sync_or_and_fetch_2): New function.
5783 (__sync_and_and_fetch_2): New function.
5784 (__sync_xor_and_fetch_2): New function.
5785 (__sync_nand_and_fetch_2): New function.
5786 (__atomic_subword_lock): Use __subword.
5787 (__sync_subword_lock): New macro.
5788 (__sync_lock_test_and_set_1): New function.
5789 (__sync_lock_test_and_set_2): New function.
5790
4d6d3bc5
WL
57912014-01-25 Walter Lee <walt@tilera.com>
5792
5793 * config/tilepro/atomic.c (BIT_OFFSET): Define.
5794 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
5795 (__atomic_subword): Ditto.
5796
cbd9890e
WL
57972014-01-25 Walter Lee <walt@tilera.com>
5798
5799 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
5800 a prefix op argument.
5801 (__atomic_nand_fetch_4): Add prefix op.
5802 (__atomic_nand_fetch_8): Ditto.
5803
7d296953 58042014-01-21 Baruch Siach <barch@tkos.co.il>
800d8bd5
BS
5805
5806 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
5807
46dd1242
L
58082014-01-09 Rong Xu <xur@google.com>
5809
5810 * libgcov-driver.c (this_prg): make it local to save
5811 bss space.
5812 (gcov_exit_compute_summary): Ditto.
5813 (gcov_exit_merge_gcda): Ditto.
5814 (gcov_exit_merge_summary): Ditto.
5815 (gcov_exit_dump_gcov): Ditto.
5816
cc86234f 58172014-01-08 Rong Xu <xur@google.com>
40d6b753
RX
5818
5819 * libgcov-driver.c: Use libgcov.h.
5820 (buffer_fn_data): Use xmalloc instead of malloc.
5821 (gcov_exit_merge_gcda): Ditto.
5822 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
5823 * libgcov.h: New common header files for libgcov-*.h.
5824 * libgcov-interface.c: Use libgcov.h
5825 * libgcov-merge.c: Ditto.
5826 * libgcov-profiler.c: Ditto.
5827 * Makefile.in: Add dependence to libgcov.h
5828
a02e7bdd
JM
58292014-01-02 Joseph Myers <joseph@codesourcery.com>
5830
5831 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
5832 case of small numerator and finite nonzero result.
5833
ac1dca3c
RS
58342014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
5835
5836 Update copyright years
5837
f9030485
RS
58382014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
5839
5840 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
5841 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
5842 config/arc/dp-hack.h, config/arc/fp-hack.h,
5843 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
5844 config/arc/ieee-754/arc600-dsp/divdf3.S,
5845 config/arc/ieee-754/arc600-dsp/divsf3.S,
5846 config/arc/ieee-754/arc600-dsp/muldf3.S,
5847 config/arc/ieee-754/arc600-dsp/mulsf3.S,
5848 config/arc/ieee-754/arc600-mul64/divdf3.S,
5849 config/arc/ieee-754/arc600-mul64/divsf3.S,
5850 config/arc/ieee-754/arc600-mul64/muldf3.S,
5851 config/arc/ieee-754/arc600-mul64/mulsf3.S,
5852 config/arc/ieee-754/arc600/divsf3.S,
5853 config/arc/ieee-754/arc600/mulsf3.S,
5854 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
5855 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
5856 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
5857 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
5858 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
5859 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
5860 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
5861 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
5862 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
5863 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
5864 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
5865 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
5866 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
5867 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
5868 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
5869 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
5870 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
5871 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
5872 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
5873 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
5874 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
5875 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
5876 vtv_start_preinit.c: Use the standard form for the copyright notice.
5877
e430824f
CLT
58782013-12-31 Sandra Loosemore <sandra@codesourcery.com>
5879 Chung-Lin Tang <cltang@codesourcery.com>
5880 Based on patches from Altera Corporation
5881
5882 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
5883 * config/nios2/lib2-nios2.h: New file.
5884 * config/nios2/lib2-divmod-hi.c: New file.
5885 * config/nios2/linux-unwind.h: New file.
5886 * config/nios2/lib2-divmod.c: New file.
5887 * config/nios2/linux-atomic.c: New file.
5888 * config/nios2/t-nios2: New file.
5889 * config/nios2/crti.asm: New file.
5890 * config/nios2/t-linux: New file.
5891 * config/nios2/lib2-divtable.c: New file.
5892 * config/nios2/lib2-mul.c: New file.
5893 * config/nios2/tramp.c: New file.
5894 * config/nios2/crtn.asm: New file.
5895
1879e97f
UB
58962013-12-26 Uros Bizjak <ubizjak@gmail.com>
5897
5898 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
5899 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
5900 from cpuid.h to check vendor signatures.
5901
f4a4bdbb
GG
59022013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
5903
c2e7e597 5904 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
f4a4bdbb
GG
5905 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
5906 (get_amd_cpu): Likewise.
5907
8d2ae544
L
59082013-12-25 H.J. Lu <hongjiu.lu@intel.com>
5909
5910 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
5911 Haswell.
5912
74924838
ASJ
59132013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
5914 H.J. Lu <hongjiu.lu@intel.com>
5915
0bb52f25
L
5916 PR target/59422
5917 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
74924838
ASJ
5918 and AMD_JAGUAR.
5919 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
5920 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
5921 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
5922 FEATURE_XOP and FEATURE_FMA.
5923 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
5924 AMDFAM15H_BDVER3.
5925 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
0bb52f25 5926 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
74924838
ASJ
5927 FEATURE_FMA4 and FEATURE_XOP.
5928
d3c11974
L
59292013-12-23 H.J. Lu <hongjiu.lu@intel.com>
5930
5931 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
5932 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
5933 (get_intel_cpu): Updated.
5934
064c4ff2
ZC
59352013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
5936
5937 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
5938
8b02e720
UB
59392013-12-09 Uros Bizjak <ubizjak@gmail.com>
5940
5941 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
1f71a3c3 5942 instructions when __SSE_MATH__ is defined.
8b02e720 5943
3fa2ccb4
RC
59442013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
5945
5946 * config.host (microblaze-*-rtems*): New.
5947
ecd78fc9
KV
59482013-12-04 Kugan Vivekanandarajah <kuganv@linaro.org>
5949
5950 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
5951 architectures that do not have hardware divide instruction.
5952 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
5953
b21fbbd2
RS
59542013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
5955
5956 * longlong.h: Delete (moved to include/).
5957
b03fb8c9
AZ
59582013-12-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5959
5960 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
5961 of normal number and qNaN to not raise an inexact exception.
5962
3c716922
UB
59632013-11-28 Uros Bizjak <ubizjak@gmail.com>
5964
5965 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
5966
59672013-11-28 Matthew Leach <matthew.leach@arm.com>
cceeb9a9
ML
5968
5969 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
5970 for correct opcodes on BE.
5971
a3458d22
UB
59722013-11-27 Uros Bizjak <ubizjak@gmail.com>
5973
5974 * soft-fp/op-4.h: Update from glibc.
5975
30b8f78b
KV
59762013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
5977
5978 * libgcc2.c (__udivmoddi4): Define new implementation when
5979 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
5980 divide instructions.
5981
82552a29
OE
59822013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
5983
5984 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
5985
80e87457
RO
59862013-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5987
5988 * config/t-softfp (soft-fp-objects-base): New variable.
5989 (soft-fp-objects): Use it.
5990
44178879
DE
59912013-11-23 David Edelson <dje.gcc@gmail.com>
5992 Andrew Dixie <andrewd@gentrack.com>
5993
5994 PR target/33704
5995 * config/rs6000/aixinitfini.c: New file.
5996 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
5997 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
5998 symbols.
5999
e5287671
YR
60002013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
6001
a3458d22 6002 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
e5287671 6003
867c8b03
JH
60042013-11-18 Jan Hubicka <jh@suse.cz>
6005
7f369373
JH
6006 * libgcov-driver.c (run_accounted): Make global level static.
6007 (gcov_exit_merge_summary): Silence warning; do not clear
6008 run_accounted here.
6009 (gcov_exit): Clear it here.
6010
1d0b3334
JH
6011 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
6012 run_accounted.
6013
867c8b03
JH
6014 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
6015 (all_prg, crc32): Remove static vars.
6016 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
6017 all_prg.
6018 (gcov_exit_merge_gcda): Add crc32 parameter.
6019 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
6020 do not account run if it was already accounted.
6021 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
6022 (gcov_exit): Initialize all_prg; update.
6023
66204992
AS
60242013-11-15 Andreas Schwab <schwab@linux-m68k.org>
6025
6026 * configure: Regenerate.
6027
b54214fe
UW
60282013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6029 Alan Modra <amodra@gmail.com>
6030
6031 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
6032 (frob_update_context): Use it.
6033
60342013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6035 Alan Modra <amodra@gmail.com>
6036
6037 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
6038 (trampoline_initial): Provide ELFv2 variant.
6039 (__trampoline_setup): Likewise.
6040
6041 * config/rs6000/linux-unwind.h (frob_update_context): Do not
6042 check for AIX indirect function call sequence if _CALL_ELF == 2.
6043
60442013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6045 Alan Modra <amodra@gmail.com>
6046
6047 * config/rs6000/linux-unwind.h (get_regs): Do not support
6048 old kernel versions if _CALL_ELF == 2.
6049 (frob_update_context): Do not support PLT stub variants only
6050 generated by old linkers if _CALL_ELF == 2.
6051
13e0981a
UW
60522013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6053 Alan Modra <amodra@gmail.com>
6054
6055 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
6056 location of CR save area for 64-bit little-endian systems.
6057
1a80085d
EB
60582013-11-11 Eric Botcazou <ebotcazou@adacore.com>
6059
6060 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
6061 in tmake_file.
6062 * config/arm/t-vxworks: Delete.
6063
cabeea52
KT
60642013-11-10 Kai Tietz <ktietz@redhat.com>
6065
6066 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
6067 Increment load-count on use of LIBGCC_SONAME DLL.
6068 (hmod_libgcc): New static variable to hold handle of
6069 LIBGCC_SONAME DLL.
6070 (__gcc_deregister_frame): Decrement load-count of
6071 LIBGCC_SONAME DLL.
6072
ac088ba1
BRF
60732013-11-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
6074
6075 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
6076 availability.
6077 * configure: Regenerate
6078
d59a8fcc
UB
60792013-11-07 Uros Bizjak <ubizjak@gmail.com>
6080
6081 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
6082 FP_EX_DENORM. Store result to volatile location after SSE division
6083 to close interrupt window. Remove unneeded fwait after x87
6084 division since interrupt window will be closed by emitted fstp.
9de84e84 6085 Rewrite FP_EX_INEXACT handling.
d59a8fcc 6086
9954c743
JM
60872013-11-06 Joseph Myers <joseph@codesourcery.com>
6088
6089 * soft-fp/README: Update.
6090 * soft-fp/adddf3.c: Update from glibc.
6091 * soft-fp/addsf3.c: Likewise.
6092 * soft-fp/addtf3.c: Likewise.
6093 * soft-fp/divdf3.c: Likewise.
6094 * soft-fp/divsf3.c: Likewise.
6095 * soft-fp/divtf3.c: Likewise.
6096 * soft-fp/double.h: Likewise.
6097 * soft-fp/eqdf2.c: Likewise.
6098 * soft-fp/eqsf2.c: Likewise.
6099 * soft-fp/eqtf2.c: Likewise.
6100 * soft-fp/extenddftf2.c: Likewise.
6101 * soft-fp/extended.h: Likewise.
6102 * soft-fp/extendsfdf2.c: Likewise.
6103 * soft-fp/extendsftf2.c: Likewise.
6104 * soft-fp/extendxftf2.c: Likewise.
6105 * soft-fp/fixdfdi.c: Likewise.
6106 * soft-fp/fixdfsi.c: Likewise.
6107 * soft-fp/fixdfti.c: Likewise.
6108 * soft-fp/fixsfdi.c: Likewise.
6109 * soft-fp/fixsfsi.c: Likewise.
6110 * soft-fp/fixsfti.c: Likewise.
6111 * soft-fp/fixtfdi.c: Likewise.
6112 * soft-fp/fixtfsi.c: Likewise.
6113 * soft-fp/fixtfti.c: Likewise.
6114 * soft-fp/fixunsdfdi.c: Likewise.
6115 * soft-fp/fixunsdfsi.c: Likewise.
6116 * soft-fp/fixunsdfti.c: Likewise.
6117 * soft-fp/fixunssfdi.c: Likewise.
6118 * soft-fp/fixunssfsi.c: Likewise.
6119 * soft-fp/fixunssfti.c: Likewise.
6120 * soft-fp/fixunstfdi.c: Likewise.
6121 * soft-fp/fixunstfsi.c: Likewise.
6122 * soft-fp/fixunstfti.c: Likewise.
6123 * soft-fp/floatdidf.c: Likewise.
6124 * soft-fp/floatdisf.c: Likewise.
6125 * soft-fp/floatditf.c: Likewise.
6126 * soft-fp/floatsidf.c: Likewise.
6127 * soft-fp/floatsisf.c: Likewise.
6128 * soft-fp/floatsitf.c: Likewise.
6129 * soft-fp/floattidf.c: Likewise.
6130 * soft-fp/floattisf.c: Likewise.
6131 * soft-fp/floattitf.c: Likewise.
6132 * soft-fp/floatundidf.c: Likewise.
6133 * soft-fp/floatundisf.c: Likewise.
6134 * soft-fp/floatunditf.c: Likewise.
6135 * soft-fp/floatunsidf.c: Likewise.
6136 * soft-fp/floatunsisf.c: Likewise.
6137 * soft-fp/floatunsitf.c: Likewise.
6138 * soft-fp/floatuntidf.c: Likewise.
6139 * soft-fp/floatuntisf.c: Likewise.
6140 * soft-fp/floatuntitf.c: Likewise.
6141 * soft-fp/gedf2.c: Likewise.
6142 * soft-fp/gesf2.c: Likewise.
6143 * soft-fp/getf2.c: Likewise.
6144 * soft-fp/ledf2.c: Likewise.
6145 * soft-fp/lesf2.c: Likewise.
6146 * soft-fp/letf2.c: Likewise.
6147 * soft-fp/muldf3.c: Likewise.
6148 * soft-fp/mulsf3.c: Likewise.
6149 * soft-fp/multf3.c: Likewise.
6150 * soft-fp/negdf2.c: Likewise.
6151 * soft-fp/negsf2.c: Likewise.
6152 * soft-fp/negtf2.c: Likewise.
6153 * soft-fp/op-1.h: Likewise.
6154 * soft-fp/op-2.h: Likewise.
6155 * soft-fp/op-4.h: Likewise.
6156 * soft-fp/op-8.h: Likewise.
6157 * soft-fp/op-common.h: Likewise.
6158 * soft-fp/quad.h: Likewise.
6159 * soft-fp/single.h: Likewise.
6160 * soft-fp/soft-fp.h: Likewise.
6161 * soft-fp/subdf3.c: Likewise.
6162 * soft-fp/subsf3.c: Likewise.
6163 * soft-fp/subtf3.c: Likewise.
6164 * soft-fp/truncdfsf2.c: Likewise.
6165 * soft-fp/trunctfdf2.c: Likewise.
6166 * soft-fp/trunctfsf2.c: Likewise.
6167 * soft-fp/trunctfxf2.c: Likewise.
6168 * soft-fp/unorddf2.c: Likewise.
6169 * soft-fp/unordsf2.c: Likewise.
6170 * soft-fp/unordtf2.c: Likewise.
6171
02ac9503
UB
61722013-11-05 Uros Bizjak <ubizjak@gmail.com>
6173
6174 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
6175 (_FP_MUL_MEAT_D): Ditto.
6176 (_FP_DIV_MEAT_S): Ditto.
6177 (_FP_DIV_MEAT_D): Ditto.
6178 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
6179 t-softfp-sfdf and t-softfp to tmake_file.
6180
61221141
UB
61812013-11-03 Uros Bizjak <ubizjak@gmail.com>
6182
6183 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
6184 * config/i386/crtprec.c: Ditto.
6185
9304f876
CJW
61862013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
6187 Shiva Chen <shiva0217@gmail.com>
6188
6189 * config.host (nds32*-elf*): Add nds32 target.
6190 * config/nds32 : New directory and files.
6191
0e499e75
HPN
61922013-10-16 Hans-Peter Nilsson <hp@axis.com>
6193
6194 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
6195 * config.host (cpu_type) <Setting default>: Add entry for
6196 crisv32-*-*.
6197 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
6198 <crisv32-*-linux*>: Adjust.
6199 * longlong.h: Wrap the whole CRIS section in a single
6200 defined(__CRIS__) conditional. Add comment about add_ssaaaa
6201 and sub_ddmmss.
6202 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
6203 defined.
6204 [__CRIS__] (__umulsidi3): Define.
6205 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
6206 * config/cris/sfp-machine.h: New file.
6207 * config/cris/umulsidi3.S: New file.
6208 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
6209 * config/cris/arit.c (SIGNMULT): New macro.
6210 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
6211 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
6212 saving 3 out of originally 33 cycles from the fastest
6213 path, 3 out of 54 from the medium path and one from the longest
6214 path. Improve comments.
6215
16022041
RS
62162013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
6217
6218 * sync.c: Remove static aliases and define each function directly
6219 under its real name.
6220
69778659
JDA
62212013-10-02 John David Anglin <danglin@gcc.gnu.org>
6222
6223 * config.host (hppa*64*-*-linux*): Define extra_parts.
6224 (hppa*-*-linux*): Likewise.
6225
2deaf8b0
JR
62262013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
6227
6228 * config/arc/crtgend.S: Add 2013 to Copyright years.
6229 * config/arc/gmon/atomic.h: Likewise.
6230 * config/arc/gmon/auxreg.h: Likewise.
6231 * config/arc/gmon/sys/gmon_out.h: Likewise.
6232 * config/arc/gmon/sys/gmon.h: Likewise.
6233 * config/arc/gmon/prof-freq.c: Likewise.
6234 * config/arc/gmon/mcount.c: Likewise.
6235 * config/arc/gmon/prof-freq-stub.S: Likewise.
6236 * config/arc/gmon/gmon.c: Likewise.
6237 * config/arc/gmon/machine-gmon.h: Likewise.
6238 * config/arc/gmon/profil.S: Likewise.
6239 * config/arc/gmon/dcache_linesz.S: Likewise.
6240 * config/arc/crtg.S: Likewise.
6241 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
6242 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
6243 * config/arc/ieee-754/adddf3.S: Likewise.
6244 * config/arc/ieee-754/truncdfsf2.S: Likewise.
6245 * config/arc/ieee-754/fixsfsi.S: Likewise.
6246 * config/arc/ieee-754/gtsf2.S: Likewise.
6247 * config/arc/ieee-754/floatsisf.S: Likewise.
6248 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
6249 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
6250 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
6251 * config/arc/ieee-754/fixdfsi.S: Likewise.
6252 * config/arc/ieee-754/addsf3.S: Likewise.
6253 * config/arc/ieee-754/gesf2.S: Likewise.
6254 * config/arc/ieee-754/floatsidf.S: Likewise.
6255 * config/arc/ieee-754/extendsfdf2.S: Likewise.
6256 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
6257 * config/arc/ieee-754/gtdf2.S: Likewise.
6258 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
6259 * config/arc/ieee-754/uneqdf2.S: Likewise.
6260 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
6261 * config/arc/ieee-754/uneqsf2.S: Likewise.
6262 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
6263 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
6264 * config/arc/ieee-754/eqdf2.S: Likewise.
6265 * config/arc/ieee-754/ordsf2.S: Likewise.
6266 * config/arc/ieee-754/divsf3.S: Likewise.
6267 * config/arc/ieee-754/divdf3.S: Likewise.
6268 * config/arc/ieee-754/floatunsidf.S: Likewise.
6269 * config/arc/ieee-754/orddf2.S: Likewise.
6270 * config/arc/ieee-754/eqsf2.S: Likewise.
6271 * config/arc/ieee-754/gedf2.S: Likewise.
6272 * config/arc/crtn.S: Likewise.
6273 * config/arc/crti.S: Likewise.
6274 * config/arc/t-arc700-uClibc: Likewise.
6275 * config/arc/asm.h: Likewise.
6276 * config/arc/libgcc-excl.ver: Likewise.
6277 * config/arc/t-arc-newlib: Likewise.
6278 * config/arc/divtab-arc700.c: Likewise.
6279 * config/arc/initfini.c: Likewise.
6280 * config/arc/fp-hack.h: Likewise.
6281
c8e318b0
JR
62822013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
6283 Diego Novillo <dnovillo@google.com>
6284
6285 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
a07c5b47
JR
6286 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
6287 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
6288 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
c8e318b0 6289
d38a64b4
JR
62902013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
6291 Brendan Kehoe <brendan@zen.org>
6292 Simon Cook <simon.cook@embecosm.com>
6293
6294 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
6295 * config/arc: New directory.
6296 * longlong.h [__arc__] (umul_ppmm): Remove.
6297 [__arc__] (__umulsidi3): Define.
6298 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
6299 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
6300
dff717d2
JC
63012013-09-17 Jacek Caban <jacek@codeweavers.com>
6302
6303 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
6304 CreateSemaphoreA.
6305 * config/i386/gthr-win32.h: Likewise.
6306
5c0029de
DD
63072013-09-16 DJ Delorie <dj@redhat.com>
6308
844ad6c6 6309 * config/rl78/vregs.h: Add G10 register definitions.
5c0029de
DD
6310 * config/rl78/lib2mul.c: Enable for RL78/G10.
6311 * config/rl78/lib2div.c: Likewise.
6312 * config/rl78/lshrsi3.S: Use vregs.h.
6313 * config/rl78/cmpsi2.S: Likewise.
6314 * config/rl78/trampoline.S: Likewise.
6315 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
6316
ceb2fc49
DD
63172013-09-14 DJ Delorie <dj@redhat.com>
6318 Nick Clifton <nickc@redhat.com>
6319
6320 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
6321 * config/rl78/vregs.h: New.
6322 * config/rl78/signbit.S: New file. Implements signbit function.
6323 * config/rl78/divmodsi.S: New.
6324 * config/rl78/divmodhi.S: New.
6325 * config/rl78/divmodqi.S: New.
6326 * config/rl78/t-rl78: Build them here...
6327 * config/rl78/lib2div.c: ...but not here.
6328
f6a83b4a
DD
63292013-09-12 DJ Delorie <dj@redhat.com>
6330
6331 * config.host (msp*-*-elf): New.
6332 * config/msp430/: New port.
6333
9107b096
IS
63342013-08-18 Iain Sandoe <iain@codesourcery.com>
6335
6336 PR gcov-profile/58127
6337 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
6338 __thread var for emulated TLS.
6339 (__gcov_indirect_call_counters): Likewise.
6340
0f9bde1f 63412013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
61221141 6342 Catherine Moore <clm@codesourcery.com>
7d296953 6343 Richard Sandiford <rdsandiford@googlemail.com>
0f9bde1f
MR
6344
6345 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
6346 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
6347 (CALL_STUB_NO_RET): Likewise.
6348 (CALL_STUB_RET): Likewise.
6349 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
6350 __mips16_ret call/return stub symbols.
6351 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
6352 to tmake_file.
6353
2dc14aac
MR
63542013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
6355
6356 * config.host <mips*-*-linux*>: Remove a stray comment.
6357
748d71f3
JH
63582013-08-10 Jan Hubicka <jh@suse.cz>
6359
6360 Work around binutils PR14342
6361 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
6362 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
6363 (L_gcov_indirect_call_profiler_v2): New.
6364
2fa3d31b
JH
63652013-08-06 Jan Hubicka <jh@suse.cz>
6366
6367 * libgcov.c (__gcov_indirect_call_callee,
6368 __gcov_indirect_call_counters): New global vars.
6369 (__gcov_indirect_call_profiler): replace by ...
6370 (__gcov_indirect_call_profiler_v2) ... this one.
6371
2077db1b
CT
63722013-08-06 Caroline Tice <cmtice@google.com>
6373
d0595b65 6374 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
2077db1b 6375 vtv_start_preinit.o and vtv_end_preinit.o.
d0595b65
CT
6376 * configure.ac: Add code to check/set enable_vtable_verify.
6377 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
2077db1b 6378 true.
d0595b65
CT
6379 * vtv_start_preinit.c: New file.
6380 * vtv_end_preinit.c: New file.
6381 * vtv_start.c: New file.
6382 * vtv_end.c: New file.
6383 * configure: Regenerated.
2077db1b 6384
46549c20
MK
63852013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
6386
6387 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
6388 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
6389 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
6390 GPL-3.0-with-GCC-exception.
6391
72be589b
MR
63922013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
6393
6394 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
6395 ISA and up.
6396
902a3faf
AK
63972013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6398
6399 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
6400 mapping for FPRs when creating the fallback framestate.
6401
02371798
GJL
64022013-07-19 Georg-Johann Lay <avr@gjlay.de>
6403
6404 PR target/57516
6405 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
6406 (__round_s2_const, __round_u2_const)
6407 (__round_s4_const, __round_u4_const, __round_x8):
6408 Saturate result if addition result cannot be represented.
6409
ab0e8379
MK
64102013-07-15 Matthias Klose <doko@ubuntu.com>
6411
6412 * libgcc2.c: Don't include <limits.h>.
6413
7da38058
JJ
64142013-07-09 Janis Johnson <janisjo@codesourcery.com>
6415
6416 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
6417
1f6eac90
JJ
64182013-07-06 Jakub Jelinek <jakub@redhat.com>
6419
6420 PR target/29776
6421 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
6422
4ea3d774
JJ
64232013-06-28 Jakub Jelinek <jakub@redhat.com>
6424
6425 PR middle-end/36041
6426 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
6427 Define.
6428 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
6429 instead of table lookups.
6430 (__popcountDI2): Likewise.
6431
9d2cdf25
CJW
64322013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
6433
6434 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
6435 correctly.
6436
fa1e55b0
JM
64372013-06-21 Joseph Myers <joseph@codesourcery.com>
6438
6439 PR other/53317
6440 * soft-fp/adddf3.c: Update from glibc.
6441 * soft-fp/addsf3.c: Likewise.
6442 * soft-fp/addtf3.c: Likewise.
6443 * soft-fp/divdf3.c: Likewise.
6444 * soft-fp/divsf3.c: Likewise.
6445 * soft-fp/divtf3.c: Likewise.
6446 * soft-fp/double.h: Likewise.
6447 * soft-fp/eqdf2.c: Likewise.
6448 * soft-fp/eqsf2.c: Likewise.
6449 * soft-fp/eqtf2.c: Likewise.
6450 * soft-fp/extenddftf2.c: Likewise.
6451 * soft-fp/extended.h: Likewise.
6452 * soft-fp/extendsfdf2.c: Likewise.
6453 * soft-fp/extendsftf2.c: Likewise.
6454 * soft-fp/fixdfdi.c: Likewise.
6455 * soft-fp/fixdfsi.c: Likewise.
6456 * soft-fp/fixsfdi.c: Likewise.
6457 * soft-fp/fixsfsi.c: Likewise.
6458 * soft-fp/fixtfdi.c: Likewise.
6459 * soft-fp/fixtfsi.c: Likewise.
6460 * soft-fp/fixunsdfdi.c: Likewise.
6461 * soft-fp/fixunsdfsi.c: Likewise.
6462 * soft-fp/fixunssfdi.c: Likewise.
6463 * soft-fp/fixunssfsi.c: Likewise.
6464 * soft-fp/fixunstfdi.c: Likewise.
6465 * soft-fp/fixunstfsi.c: Likewise.
6466 * soft-fp/floatdidf.c: Likewise.
6467 * soft-fp/floatdisf.c: Likewise.
6468 * soft-fp/floatditf.c: Likewise.
6469 * soft-fp/floatsidf.c: Likewise.
6470 * soft-fp/floatsisf.c: Likewise.
6471 * soft-fp/floatsitf.c: Likewise.
6472 * soft-fp/floatundidf.c: Likewise.
6473 * soft-fp/floatundisf.c: Likewise.
6474 * soft-fp/floatunditf.c: Likewise.
6475 * soft-fp/floatunsidf.c: Likewise.
6476 * soft-fp/floatunsisf.c: Likewise.
6477 * soft-fp/floatunsitf.c: Likewise.
6478 * soft-fp/gedf2.c: Likewise.
6479 * soft-fp/gesf2.c: Likewise.
6480 * soft-fp/getf2.c: Likewise.
6481 * soft-fp/ledf2.c: Likewise.
6482 * soft-fp/lesf2.c: Likewise.
6483 * soft-fp/letf2.c: Likewise.
6484 * soft-fp/muldf3.c: Likewise.
6485 * soft-fp/mulsf3.c: Likewise.
6486 * soft-fp/multf3.c: Likewise.
6487 * soft-fp/negdf2.c: Likewise.
6488 * soft-fp/negsf2.c: Likewise.
6489 * soft-fp/negtf2.c: Likewise.
6490 * soft-fp/op-1.h: Likewise.
6491 * soft-fp/op-2.h: Likewise.
6492 * soft-fp/op-4.h: Likewise.
6493 * soft-fp/op-8.h: Likewise.
6494 * soft-fp/op-common.h: Likewise.
6495 * soft-fp/quad.h: Likewise.
6496 * soft-fp/single.h: Likewise.
6497 * soft-fp/soft-fp.h: Likewise.
6498 * soft-fp/subdf3.c: Likewise.
6499 * soft-fp/subsf3.c: Likewise.
6500 * soft-fp/subtf3.c: Likewise.
6501 * soft-fp/truncdfsf2.c: Likewise.
6502 * soft-fp/trunctfdf2.c: Likewise.
6503 * soft-fp/trunctfsf2.c: Likewise.
6504 * soft-fp/unorddf2.c: Likewise.
6505 * soft-fp/unordsf2.c: Likewise.
6506 * soft-fp/unordtf2.c: Likewise.
6507 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
6508 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6509 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6510 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6511 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6512 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6513 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6514 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6515 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6516 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
6517 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
6518 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6519
0de86a92
JU
65202013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
6521
6522 * config/mips/lib2funcs.c: New file.
6523 * config/mips/t-mips (LIB2ADD_ST): Add it.
6524
0d008882
OE
65252013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
6526
6527 PR target/6526
6528 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
6529 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
6530
776434d1
WL
65312013-06-08 Walter Lee <walt@tilera.com>
6532
6533 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
6534 Replace int64_t with long long. Add __extension__ where
6535 appropriate.
6536 * config/tilepro/atomic.c: Include config.h.
6537
6ab3ebb4
DR
65382013-06-06 Douglas B Rupp <rupp@adacore.com>
6539
6540 * config.host (arm-wrs-vxworks): Configure with other soft float.
6541
107eea2c
JU
65422013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
6543
6544 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
6545 (mips64r5900el-*-elf*): New configurations.
6546
5cc19c62
AM
65472013-06-04 Alan Modra <amodra@gmail.com>
6548
6549 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
6550
0f1d3965
YR
65512013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
6552
6553 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
6554
0ba045df
EB
65552013-05-28 Eric Botcazou <ebotcazou@adacore.com>
6556
6557 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
6558 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
6559 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
6560
49dcafd4
EB
65612013-05-22 Eric Botcazou <ebotcazou@adacore.com>
6562
6563 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
6564 (powerpc-wrs-vxworks): Likewise.
6565
4fcb5d87
EB
65662013-05-22 Eric Botcazou <ebotcazou@adacore.com>
6567
6568 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
6569 signal frames as well.
6570 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
6571 STACK_BIAS to the CFA offset.
6572
0ec33224
RH
65732013-05-17 Richard Henderson <rth@redhat.com>
6574
6575 PR target/49146
6576 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
6577 (execute_cfa_program): Use it when storing to fs->regs.
6578
492a8029
KT
65792013-05-08 Kai Tietz <ktietz@redhat.com>
6580
6581 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
6582 (__deregister_frame_info): Likewise.
6583
701e2f0a
TS
65842013-05-06 Thomas Schwinge <thomas@codesourcery.com>
6585
e5123d08
TS
6586 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
6587 NaN's payload.
6588
701e2f0a
TS
6589 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
6590
b9a7eb5d
AM
65912013-04-25 Alan Modra <amodra@gmail.com>
6592
6593 * config.host: Match little-endian powerpc-linux.
6594
dfe192f5
YZ
65952013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
6596
6597 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
6598 as 'unsigned long long' instead of 'unsigned long'.
6599 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
6600 'signed long'.
6601
b6b9af2f
JB
66022013-04-10 Julian Brown <julian@codesourcery.com>
6603
6604 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
6605 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
6606 unsigned char/unsigned short.
6607 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
6608
ecabdd00
JDA
66092013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
6610
6611 PR other/55274
6612 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
6613
34652576
MI
66142013-04-04 Meador Inge <meadori@codesourcery.com>
6615
6616 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
6617 computing the location of the link register.
6618 (aeabi_uldivmod): Ditto.
6619
e9fd8c19
KT
66202013-03-27 Kai Tietz <ktietz@redhat.com>
6621
6622 * config.host: Add support for cygwin x64 target.
6623 * configure: Regenerated.
6624
a6406324
WL
66252013-03-26 Walter Lee <walt@tilera.com>
6626
6627 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
6628 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
6629
55446c7e
KT
66302013-03-25 Kai Tietz <ktietz@redhat.com>
6631
6632 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
6633
d2ae19d9
RM
66342013-03-20 Robert Mason <rbmj@verizon.net>
6635
6636 * config/vxlib-tls.c (__gthread_get_tsd_data,)
6637 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
6638 (__gthread_leave_tsd_dtor_context): Add prototypes.
6639 (tls_delete_hook): Update.
6640
22c4c869
CM
66412013-03-20 Catherine Moore <clm@codesourcery.com>
6642 Joseph Myers <joseph@codesourcery.com>
6643 Chao-ying Fu <fu@mips.com>
6644
6645 * config/mips/mips16.S: Don't build for microMIPS.
6646 * config/mips/linux-unwind.h: Handle microMIPS frame.
6647 * config/mips/crtn.S (fini, init): New labels.
6648
fbd28bc3
JJ
66492013-03-14 Jakub Jelinek <jakub@redhat.com>
6650
6651 PR tree-optimization/53265
6652 * unwind-dw2.c (execute_cfa_program): Avoid
6653 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
6654 on targets with DWARF_FRAME_REGISTERS < 32.
6655
decc676e
OE
66562013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
6657
6658 PR target/49880
6659 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
6660 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
6661
84ea618a
ST
66622013-03-07 Sriraman Tallam <tmsriram@google.com>
6663
6664 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
6665 sandybridge processors.
6666
8f6d1c86
OE
66672013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
6668
6669 PR target/56529
6670 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
6671 inclusion list.
6672
ecdbd01a 66732013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
409b1de4
EI
6674
6675 * config/microblaze/crti.S: Setup stack protection at entry
6676
0b4ce21b
GJL
66772013-03-04 Georg-Johann Lay <avr@gjlay.de>
6678
6679 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
6680 (__rotldi3): Shift bytewise if applicable.
6681
b7c3f1ca
JG
66822013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
6683
6684 * config/aarch64/sync-cache.c
6685 (__aarch64_sync_cache_range): Silence warnings.
6686
6d65e8f1
CM
66872013-02-25 Catherine Moore <clm@codesourcery.com>
6688
6689 Revert:
6690 2013-02-24 Catherine Moore <clm@codesourcery.com>
6691 Joseph Myers <joseph@codesourcery.com>
6692 Chao-ying Fu <fu@mips.com>
6693
6694 * config/mips/mips16.S: Don't build for microMIPS.
6695 * config/mips/linux-unwind.h: Handle microMIPS frame.
6696 * config/mips/crtn.S (fini, init): New labels.
6697
6941b508
CM
66982013-02-24 Catherine Moore <clm@codesourcery.com>
6699 Joseph Myers <joseph@codesourcery.com>
6700 Chao-ying Fu <fu@mips.com>
6701
6702 * config/mips/mips16.S: Don't build for microMIPS.
6703 * config/mips/linux-unwind.h: Handle microMIPS frame.
6704 * config/mips/crtn.S (fini, init): New labels.
6705
7c422dbb 67062012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
cc86234f 6707 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
7c422dbb
EI
6708 as dividend.
6709
110207ad
AM
67102013-02-16 Alan Modra <amodra@gmail.com>
6711
6712 PR target/55431
6713 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
6714 (ppc_fallback_frame_state): Always set up save locations for fp
6715 and altivec. Don't bother with non-callee-saved regs, r0-r13
6716 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
6717
e68a4ef6
GJL
67182013-02-12 Georg-Johann Lay <avr@gjlay.de>
6719
6720 PR target/54222
6721 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
6722 _ssmulHA, _ssmulSA.
6723 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
6724 _ssmulha3, _usmulusa3, _ssmulsa3.
6725 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
6726 (__muldi3): XCALL __muldi3_6 instead of rcall.
6727 (__umulsidi3, __mulsidi3): New functions.
6728 (do_prologue_saves, do_epilogue_restores): New .macros.
6729 (__divdi3_moddi3): Use them.
6730 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
6731 (__usmulusa3, __ssmulsa3): New functions.
6732
6c59ffd1
IS
67332013-02-11 Iain Sandoe <iain@codesourcery.com>
6734 Jack Howarth <howarth@bromo.med.uc.edu>
6735 Patrick Marlier <patrick.marlier@gmail.com>
6736
6737 PR libitm/55693
6738 * config/darwin-crt-tm.c: Remove dummy functions hack.
6739
85d768f3
GJL
67402013-02-08 Georg-Johann Lay <avr@gjlay.de>
6741
6742 PR target/54222
6743 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
6744 * config/avr/lib2-object.mk: New iterator to build objects from it.
6745 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
6746 lib2funcs.c.
6747 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
6748 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
6749 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
6750 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
6751 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
6752 * config/avr/lib1funcs-fixed.S: Implement them.
6753
5d5bf775
RS
67542013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
6755
6756 Update copyright years.
6757
99113dff
DE
67582013-02-01 David Edelsohn <dje.gcc@gmail.com>
6759
6760 PR target/54601
6761 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
6762 Add crtcxa to extra_parts.
6763 * config/rs6000/exit.h: New file.
6764 * config/rs6000/cxa_atexit.c: New file.
6765 * config/rs6000/cxa_finalize.c: New file.
6766 * config/rs6000/crtcxa.c: New file.
6767 * config/rs6000/t-aix-cxa: New file.
6768 * config/rs6000/libgcc-aix-cxa.ver: New file.
6769
dbdbd982
NC
67702013-01-31 Nick Clifton <nickc@redhat.com>
6771
6772 * config/v850/lib1funcs.S: Add support for e3v5 architecture
6773 variant.
6774
5893f158
GJL
67752013-01-29 Georg-Johann Lay <avr@gjlay.de>
6776
6777 PR target/54222
6778 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
6779 _mulQQ, _mulHQ, _mulHA, _mulSA,
6780 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
6781 _divQQ, _divHQ, _divHA, _divSA,
6782 _divUQQ, _divUHQ, _divUHA, _divUSA.
6783
ecdbd01a 67842013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
fbf0cf90 6785
dbdbd982 6786 * config.host(microblaze*-linux*): tmake_file: Remove
fbf0cf90
DH
6787 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
6788 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
6789 to exclude functions from being built with libgcc.c and use
6790 the microblaze assembly.
6791
ecdbd01a 67922013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
6f14eef2
EI
6793
6794 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
6795 extra_parts.
6796
922c57d1
YZ
67972013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
6798
6799 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
6800 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
6801 __UINTPTR_TYPE__; also cast 'base' to the same type before the
6802 alignment operation.
6803
e0f8b6a0
SN
68042013-01-15 Sofiane Naci <sofiane.naci@arm.com>
6805
6806 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
6807 loop start address for cache clearing.
6808
00892272
GJL
68092013-01-14 Georg-Johann Lay <avr@gjlay.de>
6810
6811 * config/avr/lib1funcs.S: Remove trailing blanks.
6812 * config/avr/lib1funcs-fixed.S: Ditto.
6813
e59ec5fd
GJL
68142013-01-14 Georg-Johann Lay <avr@gjlay.de>
6815
6816 * config/avr/avr-lib.h: Add GPL copyright notice.
6817
3ffc1958
GJL
68182013-01-14 Georg-Johann Lay <avr@gjlay.de>
6819
6820 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
6821 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
6822 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
6823 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
6824
25c210f9
MK
68252013-01-07 Mark Kettenis <kettenis@openbsd.org>
6826
6827 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
6828 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
2bc15360 6829
db59befb
NC
68302013-01-04 Nick Clifton <nickc@redhat.com>
6831
6832 * config/v850/lib1funcs.S: Only provide CALLT support functions if
6833 the CALLT instruction is supported.
6834
5aa12dbf
JW
68352012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
6836
6837 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
6838 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
6839
65f14117
JT
68402012-12-13 John Tytgat <John@bass-software.com>
6841
6842 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
6843 is 25.
6844
ee3ae4f7
JJ
68452012-12-12 Jakub Jelinek <jakub@redhat.com>
6846
6847 PR libgcc/55451
6848 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
6849 undefined signed overflows.
6850
2fcfba3d
UB
68512012-12-09 Uros Bizjak <ubizjak@gmail.com>
6852
6853 PR target/55344
6854 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
6855
4f2b3dc2
UB
68562012-12-06 Uros Bizjak <ubizjak@gmail.com>
6857
6858 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
6859 (FP_TRAPPING_EXCEPTIONS): Define.
6860 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
6861 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
6862
066161a2
RH
68632012-12-04 Richard Henderson <rth@redhat.com>
6864
6865 PR bootstrap/55571
6866 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
6867
7d296953 68682012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
25626181 6869
4f2b3dc2 6870 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
25626181
MS
6871 (FP_EX_SHIFT): Define.
6872 (FP_TRAPPING_EXCEPTIONS): Define.
6873
7d296953 68742012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
868395e8
MS
6875
6876 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
6877 (FP_ROUNDMODE): Use FP_RND_MASK.
6878 * config/aarch64/sfp-exceptions.c: New.
6879 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
6880 Use __sfp_handle_exceptions.
6881
5005fe22
RE
68822012-12-04 Richard Earnshaw <rearnsha@arm.com>
6883
6884 * config.host: (arm*-*-freebsd*): Remove.
6885 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
6886 (arm*-*-elf*): Remove.
6887 (arm*-*-wince-pe*): Remove.
6888 * arm/unwind-arm.c (struct fpa_reg): Delete.
6889 (struct fpa_regs): Delete.
6890 (phase1_vrs): Remove fpa element.
6891 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
6892 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
6893 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
6894 * ieee754-sf.S (floatundisf): Remove FPA support.
6895 (floatdisf): Likewise.
6896 * ieee75f-df.S (floatundidf): Likewise.
6897 (floatdidf): Likewise.
6898
e5a81c8e
KT
68992012-11-29 Kai Tietz <ktietz@redhat.com>
6900
6901 PR target/55445
6902 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
6903 * unwind-generic.h: Likewise.
6904 * unwind-seh.c: Likewise.
6905
f4919e4a
RH
69062012-11-28 Richard Henderson <rth@redhat.com>
6907
6908 PR libgcc/48076
6909 * emutls.c (__emutls_get_address): Avoid race condition between
6910 obj->loc.offset read and emutls_key initialization.
4f2b3dc2 6911
e13d9d5a
GJL
69122012-11-22 Georg-Johann Lay <avr@gjlay.de>
6913
6914 Adjust decimal point of signed accum mode to GCC default.
6915
6916 PR target/54222
6917 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
6918 _divqq_helper.
6919 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
6920 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
6921 (__mulha3, __mulsa3)
6922 (__divqq3, __divha3, __divsa3): Adjust to new position of
4f2b3dc2
UB
6923 decimal point of signed accum types.
6924
e13d9d5a
GJL
6925 (__mulusa3_round): New function.
6926 (__mulusa3): Use it.
6927 (__divqq_helper): New function.
6928 (__udivuqq3): Use it.
6929
1b845c6e
JJ
69302012-11-20 Jakub Jelinek <jakub@redhat.com>
6931
6932 PR bootstrap/55370
6933 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
6934
822a258a
TJ
69352012-11-18 Teresa Johnson <tejohnson@google.com>
6936
6937 PR bootstrap/55051
6938 * libgcov.c (gcov_exit): Remove merged program summary
6939 comparison unless !GCOV_LOCKED.
6940
7d296953 69412012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
54f4eaf0
MS
6942
6943 * soft-fp: Updated from glibc upstream.
6944
e808687a
ILT
69452012-11-06 Ian Lance Taylor <iant@google.com>
6946
6947 * generic-morestack.c (__generic_morestack): Align the returned
6948 stack pointer to a 32 byte boundary.
6949 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
6950 increment the return address until we have decided that we don't
6951 have a varargs function.
6952 (__morestack) [32-bit]: Align stack correctly when calling C
6953 functions.
6954 (__morestack) [64-bit]: Likewise.
6955
460277e0
TS
69562012-11-04 Thomas Schwinge <thomas@codesourcery.com>
6957
6958 * configure: Regenerate.
6959
73edb277
UB
69602012-11-02 Uros Bizjak <ubizjak@gmail.com>
6961
6962 PR target/55175
6963 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
6964 * config/i386/sfp-machine.h: Guard exception handling
6965 code with _SOFT_FLOAT.
6966 * config/i386/32/sfp-machine.h: Guard rounding handling
6967 code with _SOFT_FLOAT.
6968 * config/i386/64/sfp-machine.h: Ditto.
6969
c1d4fa04
JS
69702012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
6971
6972 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
6973 as extra_parts.
6974
eff6ca85
UB
69752012-10-26 Uros Bizjak <ubizjak@gmail.com>
6976
6977 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
6978 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
6979 when appropriate. Correct structure element types.
6980 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
6981 -minline-all-stringops from compile flags.
6982
7d296953 69832012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
43a8f1a1
RC
6984
6985 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
6986
7d296953 69872012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
76c78361 6988
eff6ca85 6989 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
76c78361 6990
6f288860
SH
69912012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
6992
6993 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
6994 tmake_file.
6995
1e3d5096
IB
69962012-10-23 Ian Bolton <ian.bolton@arm.com>
6997 Jim MacArthur <jim.macarthur@arm.com>
6998 Marcus Shawcroft <marcus.shawcroft@arm.com>
6999 Nigel Stephens <nigel.stephens@arm.com>
7000 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
7001 Richard Earnshaw <rearnsha@arm.com>
7002 Sofiane Naci <sofiane.naci@arm.com>
7003 Stephen Thomas <stephen.thomas@arm.com>
7004 Tejas Belagod <tejas.belagod@arm.com>
7005 Yufeng Zhang <yufeng.zhang@arm.com>
7006
7007 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
7008 * config/aarch64/crti.S: New file.
7009 * config/aarch64/crtn.S: New file.
7010 * config/aarch64/linux-unwind.h: New file.
7011 * config/aarch64/sfp-machine.h: New file.
7012 * config/aarch64/sync-cache.c: New file.
7013 * config/aarch64/t-aarch64: New file.
7014 * config/aarch64/t-softfp: New file.
7015
8a740f07
HPN
70162012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
7017
7018 * config/mmix/crti.S: Mark program and data addresses using PRELD.
7019 Remove typo'd and unnecessary alignment-LOC for .data. Remove
7020 no-longer-needed LDBU insns.
7021
7d296953 70222012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
153c8397
SH
7023
7024 * config.host
7025 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
7026 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
7027
595fefee
MGD
70282012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
7029
7030 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
7031
9945a876
MK
70322012-10-15 Matthias Klose <doko@ubuntu.com>
7033
7034 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
7035
1183dc2c
PC
70362012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
7037
7038 * configure: Regenerate.
7039 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
7040
945a9c1f
UB
70412012-10-10 Uros Bizjak <ubizjak@gmail.com>
7042
7043 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
7044 instructions for 64bit targets only.
7045
fb8bf47a
UB
70462012-10-10 Uros Bizjak <ubizjak@gmail.com>
7047
7048 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
7049 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
7050 * config/i386/32/sfp-machine.h: ... here.
7051 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
7052 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
7053 New defines.
7054
acb72498
MK
70552012-10-07 Matthias Klose <doko@ubuntu.com>
7056
7057 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
7058 as unused.
7059 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
7060
8eaee0f0
MK
70612012-10-06 Mark Kettenis <kettenis@openbsd.org>
7062
7063 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
7064 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
7065 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
7066 (ElfW): Likewise.
7067
5e3e4fe8
JW
70682012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
7069
7070 PR other/53889
7071 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
7072 Fix parameter names.
7073
86086376
OE
70742012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
7075
7076 PR target/33135
7077 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
7078 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
7079 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
7080
9597375a
OE
70812012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
7082
7083 PR target/50457
7084 * config/sh/linux-atomic.S: Delete.
7085 * config/sh/linux-atomic.c: New.
7086 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
7087 linux-atomic.c. Add cflags to disable warnings.
7088
1504e3e1
JW
70892012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
7090
7091 PR other/53889
7092 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
7093 function.
7094 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
7095 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
7096 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
7097 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
5e3e4fe8
JW
7098 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
7099 Likewise.
1504e3e1
JW
7100 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
7101 Likewise.
7102 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
7103 Likewise.
7104 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
7105 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
7106
17f293b0
MK
71072012-09-19 Mark Kettenis <kettenis@openbsd.org>
7108
9597375a
OE
7109 * config.host (hppa-*-openbsd*): New target.
7110 * config/pa/t-openbsd: New file.
17f293b0 7111
51526856
GJL
71122012-09-15 Georg-Johann Lay <avr@gjlay.de>
7113
7114 PR target/54222
7115 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
7116 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
7117 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
7118 (__divsa3): Use __negsi2 to negate r_quoL.
7119 * config/avr/lib1funcs.S (FALIAS): New macro.
7120 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
7121 (__negsi2): ...this new function.
7122 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
7123 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
7124 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
7125 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
7126 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
7127 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
7128
aadb5b43
OE
71292012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
7130
7131 PR target/54089
7132 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
7133 (lshrsi3): Reimplement as lshrsi3_r0.
7134
d5d66749
AS
71352012-09-10 Andreas Schwab <schwab@linux-m68k.org>
7136
7137 PR target/46191
7138 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
7139 of libgcc.a.
7140
c6c36e73
TJ
71412012-09-07 Teresa Johnson <tejohnson@google.com>
7142
9597375a 7143 PR gcov-profile/54487
c6c36e73 7144 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
9597375a 7145 differences.
c6c36e73 7146
b588ae30
GJL
71472012-09-05 Georg-Johann Lay <avr@gjlay.de>
7148
7149 PR target/54461
7150 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
7151 not configured --with-avrlibc=no.
7152 * config/avr/t-avrlibc: New file.
7153 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
7154 (DPBIT_FUNCS): Ditto.
7155 (TPBIT_FUNCS): Ditto.
7156
abd16fb1
TJ
71572012-09-04 Teresa Johnson <tejohnson@google.com>
7158
7159 * libgcov.c (struct gcov_summary_buffer): New structure.
7160 (gcov_histogram_insert): New function.
7161 (gcov_compute_histogram): Ditto.
7162 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
7163 histograms during summary merging.
7164
613061fd
MK
71652012-09-01 Mark Kettenis <kettenis@openbsd.org>
7166
7167 * config.host (x86_64-*-openbsd*): New target.
73edb277 7168
867a8345
CLT
71692012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
7170
7171 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
7172 attribute.
7173
4aeaaca3
GJL
71742012-08-24 Georg-Johann Lay <avr@gjlay.de>
7175
7176 PR target/54222
7177 * config/avr/t-avr (conv_X): Rename to func_X.
7178
e55e4056
GJL
71792012-08-24 Georg-Johann Lay <avr@gjlay.de>
7180
7181 PR target/54222
7182 * config/avr/lib1funcs-fixed.S: New file.
7183 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
7184 after they are used.
7185 (neg2, neg4): New macros.
7186 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
7187 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
7188 (__umulhisi3): Speed up MUL variant if there is enough flash.
7189 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
7190 avr-modes.def.
7191 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
7192 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
7193 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
7194 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
7195 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
7196 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
7197 (LIB2FUNCS_EXCLUDE): Add supported functions.
7198
a147b6d2
GJL
71992012-08-22 Georg-Johann Lay <avr@gjlay.de>
7200
7201 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
7202 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
7203 libgcc-s-objects.
7204 * fixed-obj.mk: Only expand dependency if $o is not in
7205 LIB2FUNCS_EXCLUDE.
7206
c637141a
L
72072012-08-22 H.J. Lu <hongjiu.lu@intel.com>
7208
7209 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
7210
130e00bd
JM
72112012-08-22 Joseph Myers <joseph@codesourcery.com>
7212
7213 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
7214 depend on --enable-shared.
7215 ($(lib1asmfuncs-o)): Use %.vis files independent of
7216 --enable-shared.
7217 * static-object.mk ($(base)$(objext), $(base).vis)
7218 ($(base)_s$(objext)): Use same rules for visibility handling as in
7219 shared-object.mk.
7220
4b1b3788
ILT
72212012-08-21 Ian Lance Taylor <iant@google.com>
7222
7223 * config/i386/morestack.S (__morestack_non_split): Increase amount
7224 of space allocated for non-split code stack.
7225
d2468141
JM
72262012-08-19 Joseph Myers <joseph@codesourcery.com>
7227
7228 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
7229 even if inhibit_libc.
7230
a508e1a8
JB
72312012-08-17 Julian Brown <julian@codesourcery.com>
7232
7233 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
7234 -fexceptions -fnon-call-exceptions if not defined.
7235 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
7236 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
7237
5615a07d
AS
72382012-08-17 Andreas Schwab <schwab@linux-m68k.org>
7239
7240 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
7241 type.
7242
138f5acd
DE
72432012-08-16 David Edelsohn <dje.gcc@gmail.com>
7244
7245 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
7246 rs6000/t-slibgcc-aix.
7247
18efc0dd
SB
72482012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
7249
7250 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
7251
6b39bc38
SB
72522012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
7253
7254 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
7255
cd25dea0
L
72562012-08-03 H.J. Lu <hongjiu.lu@intel.com>
7257
7258 PR driver/54171
7259 * Makefile.in (version): Replace top_srcdir with srcdir.
7260
a3dda30b
JY
72612012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
7262
7263 * Makefile.in (version): set to BASE-VER file from gcc directory.
7264
d04aacfc
NC
72652012-08-01 Nick Clifton <nickc@redhat.com>
7266
7267 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
7268 Implements __clrsb for an HImode argument.
7269
0d13c974
NC
72702012-07-31 Nick Clifton <nickc@redhat.com>
7271
7272 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
7273 Implements __clrsb for an HImode argument.
7274 * config/stormy16/clrsbhi2.c: New file:
7275 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
7276
efbb59b2
SB
72772012-07-22 Steven Bosscher <steven@gcc.gnu.org>
7278
7279 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
7280
bf1431e3
TG
72812012-07-19 Tristan Gingold <gingold@adacore.com>
7282 Richard Henderson <rth@redhat.com>
7283
7284 * unwind-seh.c: New file.
7285 * unwind-generic.h: Include windows.h for SEH.
7286 (_Unwind_Exception): Use 6 private fields for SEH.
7287 (_GCC_specific_handler): Declare.
7288 * unwind-c.c (__gcc_personality_seh0): New function.
7289 Adjust for SEH.
7290 * config/i386/libgcc-cygming.ver: New file.
7291 * config/i386/t-seh-eh: New file.
7292 * config.host (x86_64-*-mingw*): Default to seh.
7293
659140c8
SB
72942012-07-14 Steven Bosscher <steven@gcc.gnu.org>
7295
7296 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
7297
a20d08fd
UB
72982012-06-17 Uros Bizjak <ubizjak@gmail.com>
7299
7300 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
7301 __builtin_expect when checking for exceptions.
7302 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
7303
79261115
UB
73042012-06-13 Uros Bizjak <ubizjak@gmail.com>
7305
4a172156
UB
7306 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
7307 function declaration.
7308 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
7309 (FP_RND_MASK): New.
7310 * config/ia64/sfp-exceptions.c: New.
7311 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
79261115 7312
bb5c97d4
UB
73132012-06-13 Uros Bizjak <ubizjak@gmail.com>
7314
7315 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
7316 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
7317 * config/i386/64/sfp-machine: ... (delete here) ...
7318 * config/i386/sfp-machine.h: ... to here.
7319 (FP_EX_MASK): Remove.
7320 (FP_RND_MASK): New.
7321 (FP_INIT_ROUNDMODE): Declare asm as volatile.
7322
91fe5efb
ST
73232012-06-11 Sriraman Tallam <tmsriram@google.com>
7324
7325 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
7326 * config/i386/libgcc-sol2.ver: Ditto.
7327 * config/i386/libgcc-glibc.ver: Ditto.
7328
67a218c5
RM
73292012-06-11 Roland McGrath <mcgrathr@google.com>
7330
7331 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
7332 If __GLIBC__ is defined, refer to __pthread_key_create instead of
7333 pthread_cancel.
7334
492fbea1
UB
73352012-06-09 Uros Bizjak <ubizjak@gmail.com>
7336
7337 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
7338 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
7339 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
7340 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
7341 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
7342 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
7343 * config/i386/64/sfp-machine: ... (delete here) ...
7344 * config/i386/sfp-machine.h: ... to here.
7345 (FP_EX_MASK): New.
7346 (__sfp_handle_exceptions): New function declaration.
7347 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
7348 * config/i386/sfp-exceptions.c: New.
7349 * config/i386/t-softfp: New.
7350 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
7351 i386/t-softfp to tmake_file.
7352
7b4cf266
DM
73532012-06-03 David S. Miller <davem@davemloft.net>
7354
7355 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
7356 change.
7357
0de0d5c6
DM
73582012-05-31 David S. Miller <davem@davemloft.net>
7359
7360 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
7361 multiply and divide instructions on 32-bit when V9.
7362 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
7363
d8c9d391
JM
73642012-05-29 Joseph Myers <joseph@codesourcery.com>
7365
7366 * config/arm/ieee754-df.S: Fix typos.
7367 * config/arm/ieee754-sf.S: Fix typos.
7368 * config/c6x/libunwind.S: Fix typos.
7369 * config/epiphany/udivsi3-float.c: Fix typos.
7370 * config/microblaze/muldi3_hard.S: Fix typos.
7371 * config/picochip/adddi3.S: Fix typos.
7372 * config/picochip/ashlsi3.S: Fix typos.
7373 * config/picochip/ashrsi3.S: Fix typos.
7374 * config/picochip/clzsi2.S: Fix typos.
7375 * config/picochip/cmpsi2.S: Fix typos.
7376 * config/picochip/divmod15.S: Fix typos.
7377 * config/picochip/divmodhi4.S: Fix typos.
7378 * config/picochip/divmodsi4.S: Fix typos.
7379 * config/picochip/longjmp.S: Fix typos.
7380 * config/picochip/lshrsi3.S: Fix typos.
7381 * config/picochip/parityhi2.S: Fix typos.
7382 * config/picochip/popcounthi2.S: Fix typos.
7383 * config/picochip/setjmp.S: Fix typos.
7384 * config/picochip/subdi3.S: Fix typos.
7385 * config/picochip/ucmpsi2.S: Fix typos.
7386 * config/picochip/udivmodhi4.S: Fix typos.
7387 * config/picochip/udivmodsi4.S: Fix typos.
7388 * config/spu/divv2df3.c: Fix typos.
7389 * config/spu/mfc_multi_tag_release.c: Fix typos.
7390 * config/spu/mfc_tag_release.c: Fix typos.
7391 * configure.ac: Fix typos.
7392 * configure: Regenerate.
7393
31a18a7e
ILT
73942012-05-25 Ian Lance Taylor <iant@google.com>
7395
7396 * config/i386/morestack.S (__morestack_non_split): Check whether
7397 caller is varargs and needs %bp to hold the stack frame on return.
7398
c5768510
OH
73992012-05-25 Olivier Hainque <hainque@adacore.com>
7400
7401 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
7402 sequence in the non pic case on VxWorks.
7403
7c7c339b
OH
74042012-05-24 Olivier Hainque <hainque@adacore.com>
7405
73fb7630 7406 * Makefile.in: Move dependency on install-unwind_h from
7c7c339b
OH
7407 "install-leaf" to "install".
7408
fdc1b7d3
OH
74092012-05-24 Olivier Hainque <hainque@adacore.com>
7410
7411 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
7412 Use a separate command for stamp removals.
7413
07ba94b9
AP
74142012-05-21 Andrew Pinski <apinski@cavium.com>
7415
7416 PR bootstrap/53183
7417 * configure.ac: Define the default includes to being none.
7418 * configure: Regenerate.
7419
4677d2eb
OH
74202012-05-16 Olivier Hainque <hainque@adacore.com>
7421
7422 * Makefile.in (install-unwind_h): Rename into ...
7423 (install-unwind_h-forbuild): New target.
7424 (all): Use it instead of the former install-unwind_h.
7425 (install-unwind_h): Reinstate, copy to user install destination
7426 for include files, not to the internal gcc object directory one.
7427 (install-leaf): Depend on it.
7428
7d67c380
OH
74292012-05-15 Olivier Hainque <hainque@adacore.com>
7430
7431 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
7432 register numbers. LR_REGNO replaces R_LR.
7433 (ucontext_for): New, helper for ...
7434 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
7435 and 5.3 of ...
7436 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
7437
aca06c90
RO
74382012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7439
7440 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
7441 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
7442 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
7443 i386/t-cpuinfo ...
7444 (i[34567]86-*-*, x86_64-*-*): ... here.
7445
7446 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
7447 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
7448
7449 * config/i386/i386-cpuinfo.c: Rename to ...
7450 * config/i386/cpuinfo.c: ... this.
7451 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
7452
7453 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
7454 (libgcc_cv_init_priority): New test.
7455 * configure: Regenerate.
7456 * config.in: New file.
7457 * Makefile.in (clean): Rename config.h to auto-target.h.
7458 (config.h): Likewise.
7459 (stamp-h): Likewise.
7460
7461 * config/i386/cpuinfo.c (auto-target.h): Include.
7462 (CONSTRUCTOR_PRIORITY): Define.
7463 (__cpu_indicator_init): Use it.
7464
0d03ac1b
L
74652012-05-09 H.J. Lu <hongjiu.lu@intel.com>
7466
7467 * longlong.h: Use a URL instead of an FSF postal address.
7468 Replace spaces with tab.
7469
4a172156 74702012-05-08 Teresa Johnson <tejohnson@google.com>
4e8ee9cb
TJ
7471
7472 * libgcov.c (gcov_clear, __gcov_reset): New functions.
7473 (__gcov_dump): Ditto.
7474 (gcov_dump_complete): New global variable.
7475 (gcov_exit): Export hidden to enable use in L_gcov_dump.
7476 (__gcov_flush): Outline functionality now in gcov_clear.
7477 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
7478
e4bb767e
AJ
74792012-04-28 Aurelien Jarno <aurelien@aurel32.net>
7480
31a18a7e
ILT
7481 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
7482 (mips*-*-linux*): Include mips/t-tpbit when long double is
7483 16 bytes long.
e4bb767e 7484
5ddecff9
ST
74852012-04-25 Sriraman Tallam <tmsriram@google.com>
7486
7487 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
7488 (get_available_features): New argument. Check for AVX2.
7489 (__cpu_indicator_init): Modify call to get_available_features.
7490
b427dd7a
AM
74912012-04-25 Alan Modra <amodra@gmail.com>
7492
7493 * config/rs6000/crtsavevr.S: New file.
7494 * config/rs6000/crtrestvr.S: New file.
7495 * config/rs6000/t-savresfgpr: Build the above.
7496 * config/rs6000/t-netbsd: Likewise.
7497
ad491329
ST
74982012-04-24 Sriraman Tallam <tmsriram@google.com>
7499
7500 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
7501
792317cc
ST
75022012-04-24 Sriraman Tallam <tmsriram@google.com>
7503
7504 * libgcc/config/i386/i386-cpuinfo.c: New file.
7505 * libgcc/config/i386/t-cpuinfo: New file.
7506 * libgcc/config.host: Include t-cpuinfo.
7507 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
7508
e1be98a4
CF
75092012-04-24 Chao-ying Fu <fu@mips.com>
7510
7511 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
7512
1bde7dab
TS
75132012-04-20 Thomas Schwinge <thomas@codesourcery.com>
7514
7515 struct siginfo vs. siginfo_t
7516
7517 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
7518 siginfo_t instead of struct siginfo.
7519 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
7520 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
7521 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
7522 (ia64_handle_unwabi): Likewise.
7523 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
7524 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
7525 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
7526 (sh_fallback_frame_state): Likewise.
7527 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
7528 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
7529
24590f66
L
75302012-04-02 H.J. Lu <hongjiu.lu@intel.com>
7531
7532 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
7533 system call number.
7534
9a9dcce8
EB
75352012-03-31 Eric Botcazou <ebotcazou@adacore.com>
7536
7537 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
7538 if it hasn't been previously saved.
7539
6401aaf5
L
75402012-03-29 H.J. Lu <hongjiu.lu@intel.com>
7541
7542 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
7543 only for glibc.
7544
7fd6378e
GJL
75452012-03-28 Georg-Johann Lay <avr@gjlay.de>
7546
7547 PR target/52737
7548 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
7549 instead of __AVR_HAVE_8BIT_SP__.
7550
9e916de7
TG
75512012-03-26 Tristan Gingold <gingold@adacore.com>
7552
7553 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
7554 (unw_table_entry): Use unw_word instead of unsigned long.
7555 (_Unwind_FindTableEntry): Likewise.
7556 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
7557 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
7558 (_Unwind_FindTableEntry): Likewise.
7559 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
7560 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
7561 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
7562 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
7563 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
7564 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
7565 (uw_init_context_1, uw_install_context): Likewise.
7566 (unw_word): Move to unwind-ia64.h
7567
4b12e93d
TG
75682012-03-26 Tristan Gingold <gingold@adacore.com>
7569
7570 * config/vms/vms-ucrt0.c: Update copyright years.
7571 Add a sanity check.
7572 (___gcc_main_flags): Declare.
7573 (__main): Check flags to remap argv and exit code.
7574 * config.host (*-*-*vms*): Adjust extra_parts.
7575 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
7576 (crt0.o): Add.
7577
06ea7371
RE
75782012-03-22 Richard Earnshaw <rearnsha@arm.com>
7579
7580 * arm/lib1funcs.asm (ctzsi2): New function.
7581 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
7582 * arm/t-linux (LIB1ASMFUNCS): Likewise.
7583 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
7584 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
7585 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
7586 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
7587
d82ad50d
AT
75882012-03-21 Andreas Tobler <andreast@fgznet.ch>
7589
7590 * config.host: Add bits to support powerpc64-*-freebsd*.
7591 * config/rs6000/freebsd-unwind.h: New file.
7592 * config/rs6000/t-freebsd64: New file.
7593
b260a8c0
RG
75942012-03-20 Richard Guenther <rguenther@suse.de>
7595
7596 PR gcov-profile/52627
7597 * libgcov.c (init_mx): Fix mutex name.
7598
86286a8a
TG
75992012-03-16 Tristan Gingold <gingold@adacore.com>
7600
7601 * config/ia64/vms-unwind.h: Remove ulong (and replace
7602 it by unw_reg where used). Define unw_reg with __int64.
7603
7888f266
RO
76042012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7605
7606 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
7607 Solaris 8 handling.
7608 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
7609 Solaris 8 handling.
7610 (sparc_is_sighandler): Likewise.
7611
f155bc64
L
76122012-03-13 H.J. Lu <hongjiu.lu@intel.com>
7613
7614 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
7615 <= saved reg size.
7616
d47657bd
RO
76172012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7618
7619 * config/arm/crtn.S: Fix typo.
7620
5bef73a1
RG
76212012-03-13 Richard Guenther <rguenther@suse.de>
7622
7623 * libgcov.c: Remove stdio.h include and NULL un-define.
7624
9c4271f3
RG
76252012-03-13 Richard Guenther <rguenther@suse.de>
7626
7627 PR target/52569
7628 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
7629
c6d10e7c
RG
76302012-03-13 Richard Guenther <rguenther@suse.de>
7631
7632 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
7633
074a385f
RG
76342012-03-13 Richard Guenther <rguenther@suse.de>
7635
7636 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
7637 and __gthread_mutex_init_function definitions.
7638
c4bc5c25
RO
76392012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7640
7641 * config.host (mips*-*-openbsd*): Remove.
7642
5c30094f
RO
76432012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7644
7645 * config.host: Remove alpha*-dec-osf5.1* handling.
7646 * config/alpha/gthr-posix.c: Remove.
7647 * config/alpha/libgcc-osf5.ver: Remove.
7648 * config/alpha/osf5-unwind.h: Remove.
7649 * config/alpha/t-osf-pthread: Remove.
7650 * config/alpha/t-slibgcc-osf: Remove.
7651 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
7652 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
7653 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
7654 * mkmap-flat.awk: Remove osf_export handling.
7655
33e3e24d
RG
76562012-03-12 Richard Guenther <rguenther@suse.de>
7657
7658 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
7659 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
7660 (__gthread_mutex_init_function): New function.
7661 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
7662
7663 PR gcov/49484
7664 * libgcov.c: Include gthr.h.
7665 (__gcov_flush_mx): New global variable.
7666 (init_mx, init_mx_once): New functions.
7667 (__gcov_flush): Protect self with a mutex.
7668 (__gcov_fork): Re-initialize mutex after forking.
7669 * unwind-dw2-fde.c: Change condition under which to use
7670 __GTHREAD_MUTEX_INIT_FUNCTION.
7671
d8aba32a
TG
76722012-03-12 Tristan Gingold <gingold@adacore.com>
7673
7674 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
7675 * config/ia64/t-vms: Likewise.
7676
75ffafdc
MH
76772012-03-11 Michael Hope <michael.hope@linaro.org>
7678
4a172156
UB
7679 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
7680 for Thumb-2.
75ffafdc 7681
ef6c2c53
WL
76822012-03-07 Walter Lee <walt@tilera.com>
7683
7684 * config/tilepro/atomic.c: Rename "atomic_" prefix to
7685 "arch_atomic_".
7686 (atomic_xor): Rename and move definition to
7687 config/tilepro/atomic.h.
7688 (atomic_nand): Ditto.
7689 * config/tilepro/atomic.h: Rename "atomic_" prefix to
7690 "arch_atomic_".
7691 (arch_atomic_xor): Move from config/tilepro/atomic.c.
7692 (arch_atomic_nand): Ditto.
7693
4e30d980
GJL
76942012-03-07 Georg-Johann Lay <avr@gjlay.de>
7695
7696 PR target/52507
7697 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
7698
61108225
GJL
76992012-03-07 Georg-Johann Lay <avr@gjlay.de>
7700
7701 PR target/52505
7702 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
7703 from RAM.
7704
b30e10ab
GJL
77052012-03-07 Georg-Johann Lay <avr@gjlay.de>
7706
7707 PR target/52461
7708 PR target/52508
7709 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
7710 if RAMPZ affects reading from RAM.
7711 (__tablejump_elpm__): Ditto.
7712 (.xload): Ditto.
7713 (__movmemx_hi): Ditto.
7714 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
7715 (__do_global_dtors): Ditto.
7716 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
7717 (__movmemx_hi): Ditto.
7718
8993fde4
RH
77192012-03-05 Richard Henderson <rth@redhat.com>
7720
7721 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
7722 [ARM] (count_trailing_zeros): Use the builtin.
7723
b7633ee3
KT
77242012-03-01 Kai Tietz <ktietz@redhat.com>
7725
7726 * soft-fp: Imported from glibc upstream.
7727
fbd3340c
KT
77282012-02-28 Kai Tietz <ktietz@redhat.com>
7729
7730 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
7731 for mingw-targets as attribute gcc_struct.
7732
e9e053eb
ILT
77332012-02-28 Ian Lance Taylor <iant@google.com>
7734
7735 * generic-morestack.c (__splitstack_releasecontext): Correct call
7736 to __morestack_release_segments.
7737
d80c632e
ST
77382012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
7739
7740 PR target/52390
7741 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
7742 for __linux__ when removing signals from __morestack_fullmask.
7743
0253a8b1
GJL
77442012-02-23 Georg-Johann Lay <avr@gjlay.de>
7745
7746 PR target/52261
7747 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
7748
e10e461e
UW
77492012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7750
7751 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
7752 instead of HAVE_INITFINI_ARRAY.
7753 * config/ia64/crtend.S: Likewise.
7754
0c0c6398
KT
77552012-02-20 Kai Tietz <ktietz@redhat.com>
7756
d7470374
KT
7757 PR libstdc++/52300
7758 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
7759
0c0c6398
KT
7760 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
7761 to w32-unwind.h header.
7762
78c27266
RS
77632012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
7764
7765 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
7766 (mips*-*-linux*): Remove t-slibgcc-libgcc.
7767 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
7768 * config/mips/mips16.S (__mips16_rdhwr): Delete.
7769
5adeb246
RS
77702012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
7771
7772 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
7773
672ed313
IS
77742012-02-15 Iain Sandoe <iains@gcc.gnu.org>
7775
7776 PR libitm/52220
7777 * config/darwin-crt-tm.c: Correct typo.
e9e053eb 7778
e948a1fb
IS
77792012-02-15 Iain Sandoe <iains@gcc.gnu.org>
7780 Patrick Marlier <patrick.marlier@gmail.com>
7781
7782 PR libitm/52220
7783 * config/darwin-crt-tm.c: Generate dummy functions.
7784
6017aed3
IS
77852012-02-15 Iain Sandoe <iains@gcc.gnu.org>
7786 Patrick Marlier <patrick.marlier@gmail.com>
7787
7788 PR libitm/52042
7789 * config/darwin-crt-tm.c (getTMCloneTable): New function.
7790 (__doTMRegistrations): Call it.
e9e053eb 7791 (__doTMdeRegistrations): Likewise.
6017aed3 7792
2da8c1ad 77932012-01-15 Georg-Johann Lay <avr@gjlay.de>
7d296953
JJ
7794 Anatoly Sokolov <aesok@post.ru>
7795 Eric Weddington <eric.weddington@atmel.com>
2da8c1ad
GJL
7796
7797 PR target/52261
7798 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
7799 (__epilogue_restores__): Ditto.
7800
0f952eb4
EB
78012012-02-15 Eric Botcazou <ebotcazou@adacore.com>
7802
7803 PR target/51921
7804 PR target/52205
7805 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
7806 Solaris 11 and slightly reformat.
7807 (sparc_is_sighandler): Likewise.
7808
dd552284
WL
78092012-02-14 Walter Lee <walt@tilera.com>
7810
7811 * config.host: Handle tilegx and tilepro.
7812 * config/tilegx/sfp-machine.h: New file.
7813 * config/tilegx/sfp-machine32.h: New file.
7814 * config/tilegx/sfp-machine64.h: New file.
7815 * config/tilegx/t-crtstuff: New file.
7816 * config/tilegx/t-softfp: New file.
7817 * config/tilegx/t-tilegx: New file.
7818 * config/tilepro/atomic.c: New file.
7819 * config/tilepro/atomic.h: New file.
7820 * config/tilepro/linux-unwind.h: New file.
7821 * config/tilepro/sfp-machine.h: New file.
7822 * config/tilepro/softdivide.c: New file.
7823 * config/tilepro/softmpy.S: New file.
7824 * config/tilepro/t-crtstuff: New file.
7825 * config/tilepro/t-tilepro: New file.
7826
b59cbd50
JW
78272012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
7828
7829 PR libstdc++/51296
7830 PR libstdc++/51906
7831 * gthr-posix.h: Allow static initializer macros to be disabled.
7832 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
7833
6caf807f
CLT
78342012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
7835
7836 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
7837 Add t-slibgcc-libgcc to tmake_file.
7838 * config/mips/libgcc-mips16.ver: Revert previous patch.
7839 * config/mips/mips16.S (__mips16_rdhwr): Hide.
7840
7d296953
JJ
78412012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
7842 Jayant R Sonar <jayant.sonar@kpitcummins.com>
b25364a0
S
7843
7844 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
7845 * config/cr16/crti.S: New file.
7846 * config/cr16/crtlibid.S: New file.
7847 * config/cr16/crtn.S: New file.
7848 * config/cr16/lib1funcs.S: New file.
7849 * config/cr16/t-cr16: New file.
7850 * config/cr16/t-crtlibid: New file.
7851 * config/cr16/unwind-dw2.h: New file.
7852 * config/cr16/unwind-cr16.c: New file.
7853 * config/cr16/divmodhi3.c: New file.
7854
8ef03aa7
AM
78552012-01-25 Alan Modra <amodra@gmail.com>
7856
7857 * config/rs6000/t-linux64: Delete. Move..
7858 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
7859 * config/rs6000/t-linux: ..and libgcc flags to here.
7860
daecebc8
DR
78612012-01-22 Douglas B Rupp <rupp@gnat.com>
7862
7863 * config.host (i[34567]86-*-interix3*):
8ef03aa7 7864 Change triplet to i[34567]86-*-interix[3-9]*.
daecebc8
DR
7865 * configure: Regenerate.
7866
ddaf8125
RS
78672012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
7868 Richard Sandiford <rdsandiford@googlemail.com>
7869
7870 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
7871 * config/mips/mips16.S (__mips16_rdhwr): New function.
7872 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
7873
2cd8b32c
NS
78742012-01-11 Nathan Sidwell <nathan@acm.org>
7875
7876 * libgcov.c (__gcov_init): Ignore objects with no functions.
7877
cba300dd
GJL
78782012-01-10 Georg-Johann Lay <avr@gjlay.de>
7879
7880 PR target/49868
7881 Extend __pgmx semantics to linearize memory.
7882 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
7883 * config/avr/lib1funcs.S (__xload_1): New function.
7884 (__movmemx_qi, __movmemx_hi): New functions.
7885 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
7886 semantics.
9ffaf4bc 7887
3d137660
EB
78882012-01-09 Eric Botcazou <ebotcazou@adacore.com>
7889
7890 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
7891 purported sigacthandler address isn't null before dereferencing it.
7892 (sparc_is_sighandler): Likewise.
7893
bf4db96c
EB
78942012-01-09 Eric Botcazou <ebotcazou@adacore.com>
7895
7896 PR ada/41929
7897 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
7898 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
7899 (sparc_is_sighandler): Likewise.
7900 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
7901
1ab3568b
TG
79022012-01-06 Tristan Gingold <gingold@adacore.com>
7903
7904 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
7905 compatibility thunks...
7906 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
7907 (crtbeginS.o, crtendS.o): ... and these to ...
7908 * config/ia64/t-ia64-elf: ... this new file.
7909 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
7910 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
7911
925b0ed8
AK
79122012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7913
7914 * configure: Regenerate.
7915 * config/s390/t-crtstuff: Remove -fPIC.
7916
a99ad737
JW
79172012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
7918
7919 PR bootstrap/51006
7920 * enable-execute-stack-mprotect.c (getpagesize): Do not define
7921 for NetBSD.
7922
884f56d1
GJL
79232012-01-02 Georg-Johann Lay <avr@gjlay.de>
7924
7925 PR target/51345
7926 * config/avr/lib1funcs.S: Remove FIXME comments.
7927 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
7928
8c57e547
GJL
79292012-01-02 Georg-Johann Lay <avr@gjlay.de>
7930
7931 Implement light-weight DImode support.
7932 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
7933 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
7934 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
7935 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
7936
04dbc287
NS
79372011-12-30 Nathan Sidwell <nathan@acm.org>
7938
7939 * libgcov.c (gcov_crc32): Remove global var.
7940 (free_fn_data): New function.
7941 (buffer_fn_data): Pass in filename, more robust error recovery.
7942 (crc32_unsigned): New function.
7943 (gcov_exit): More robust detection of new program. More robust
7944 error recovery.
7945 (__gcov_init): Do not update program's crc here.
7946
8e1d97d4
TG
79472011-12-21 Tristan Gingold <gingold@adacore.com>
7948
7949 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
7950
9ffaf4bc
ILT
79512011-12-21 Ian Lance Taylor <iant@google.com>
7952
7953 * config/i386/morestack.S: Simplify CFI opcodes throughout.
7954
a0c8d0c1
ILT
79552011-12-20 Ian Lance Taylor <iant@google.com>
7956
7957 * config/i386/morestack.S (__morestack_non_split): If there is
7958 enough stack space already, don't split. Ask for more stack space
7959 than we required.
7960
69048898
SDJ
79612011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
7962
7963 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
7964 `sys/sdt.h'.
7965 (_Unwind_DebugHook): New function.
7966 (uw_restore_core_regs): New define.
7967 (unwind_phase2): Use uw_restore_core_regs instead of
7968 restore_core_regs.
7969 (unwind_phase2_forced): Likewise.
7970 (__gnu_Unwind_Resume): Likewise.
7971
1bb4b6a3
UB
79722011-12-20 Uros Bizjak <ubizjak@gmail.com>
7973
7974 * config/alpha/linux-unwind.h: Update copyright years.
7975 (MD_FROB_UPDATE_CONTEXT): New define.
7976 (alpha_frob_update_context): New function.
7977
eb028768
RS
79782011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
7979
7980 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
7981 tmake_file rather replacing it.
7982
6a2045bf
IS
79832011-12-15 Iain Sandoe <iains@gcc.gnu.org>
7984
7985 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
1bb4b6a3 7986 function is not used for PPC64.
6a2045bf
IS
7987 (save_world): Amend comments. Update the VRsave mask to reflect the
7988 saved regs.
7989 (rest_world): Update comments, do not clobber r10, do not use r8.
7990 (eh_rest_world_r10): Amend comments, do not use r8.
7991 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
7992 no longer used, move restore of CR and target address to the end of
7993 the routine.
7994
a13780a6
L
79952011-12-14 H.J. Lu <hongjiu.lu@intel.com>
7996
7997 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
7998 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
7999
d7288dfb
GJL
80002011-12-14 Georg-Johann Lay <avr@gjlay.de>
8001
8002 PR target/49313
8003 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
8004 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
8005
8d2c862d
EB
80062011-12-11 Eric Botcazou <ebotcazou@adacore.com>
8007
8008 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
8009
3447cae6
GJL
80102011-12-09 Georg-Johann Lay <avr@gjlay.de>
8011
8012 PR target/49313
8013 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
8014 * config/avr/lib1funcs.S (__muldi3): New function.
8015
806fc6aa
AP
80162011-12-06 Andrew Pinski <apinski@cavium.com>
8017
8018 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
8019 size of func_ptr.
8020 (__frame_dummy_init_array_entry): Likewise.
8021
28c5e6b5
GJL
80222011-12-06 Georg-Johann Lay <avr@gjlay.de>
8023
8024 Forward-port from gcc-4_6-branch r181936 2011-12-02.
8025
8026 PR target/51345
8027 PR target/51002
8028 * config/avr/lib1funcs.S (__prologue_saves__,
8029 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
8030 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
8031
8f90394a
IS
80322011-12-04 Iain Sandoe <iains@gcc.gnu.org>
8033
8034 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
8035
06dd33ac
JDA
80362011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
8037
8038 PR other/51272
8039 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
8040 (_ITM_deregisterTMCloneTable): Likewise.
8041 (__register_frame_info): Fix unused warning.
8042 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
8043 pthread_default_stacksize_np): Likewise.
8044 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
1bb4b6a3 8045
85b8555e
DD
80462011-11-29 DJ Delorie <dj@redhat.com>
8047
8048 * config.host (rl78-*-elf): New case.
8049 * config/rl78: New directory for the Renesas RL78.
8050
4d5ae4ea
BS
80512011-11-29 Bernd Schmidt <bernds@codesourcery.com>
8052
8053 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
8054 formatting.
8055
f9c55897
RO
80562011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8057
8058 PR other/51022
8059 * config/rs6000/t-savresfgpr: New file.
8060 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
8061 $(srcdir)/config/rs6000/eabi.S.
8062 * config/rs6000/t-ppccomm-ldbl: Remove.
8063 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
8064 tmake_file.
8065 (powerpc-*-eabispe*): Likewise.
8066 (powerpc-*-eabi*): Likewise.
8067 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
8068 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
8069 to tmake_file, remove rs6000/t-ppccomm-ldbl.
8070 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
8071 tmake_file.
8072 (powerpc-*-eabisim*): Likewise.
8073 (powerpc-*-elf*): Likewise.
8074 (powerpc-*-eabialtivec*): Likewise.
8075 (powerpc-xilinx-eabi*): Likewise.
8076 (powerpc-*-rtems*): Likewise.
8077 (powerpcle-*-elf*): Likewise.
8078 (powerpcle-*-eabisim*): Likewise.
8079 (powerpcle-*-eabi*): Likewise.
8080
a01207c4
ILT
80812011-11-27 Ian Lance Taylor <iant@google.com>
8082
8083 * generic-morestack.c (__splitstack_find): Check for NULL old
8084 stack value.
8085 (__splitstack_resetcontext): New function.
8086 (__splitstack_releasecontext): New function.
8087 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
8088
2b0b8ab2
IS
80892011-11-27 Iain Sandoe <iains@gcc.gnu.org>
8090
8091 * config/darwin-crt-tm.c: Correct comments, use correct licence.
8092
c1d8101c
IS
80932011-11-27 Iain Sandoe <iains@gcc.gnu.org>
8094
8095 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
8096
8b281334
RH
80972011-11-26 Richard Henderson <rth@redhat.com>
8098
8099 * config/m68k/linux-atomic.c: New file.
8100 * config/m68k/t-linux: New file.
8101 * config.host (m68k-uclinux, m68k-linux): Use it.
8102
7546aa9d
RH
81032011-11-26 Richard Henderson <rth@redhat.com>
8104
8105 * crtstuff.c (__TMC_LIST__): Mark used not unused.
8106 (__TMC_END__): Only declare if hidden is available; in the definition,
8107 if hidden is unavailable add a null record.
8108 (deregister_tm_clones, register_tm_clones): New.
8109 (__do_global_dtors_aux, frame_dummy): Use them.
8110 (__do_global_dtors, __do_global_ctors_1): Likewise.
8111
e2362f5d
IS
81122011-11-22 Iain Sandoe <iains@gcc.gnu.org>
8113
8114 * config/darwin-crt-tm.c: New file.
8115 * config.host (darwin): Build crttms.o crttme.o to provide
8116 startup and shutdown for tm clones.
8117 * config/t-darwin (crttms.o): New build rule.
8118 (crttme.o): Likewise.
8119
6685dd96
HPN
81202011-11-21 Hans-Peter Nilsson <hp@axis.com>
8121
8122 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
8123 et al.
8124
b0dc7e4c
RH
81252011-11-21 Richard Henderson <rth@redhat.com>
8126
8127 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
8128 (__TMC_LIST__, __TMC_END__): New.
8129 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
8130 (__do_global_dtors): Likewise.
8131 (frame_dummy): Call _ITM_registerTMCloneTable.
8132 (__do_global_ctors_1): Likewise.
8133
d4b4b542
RO
81342011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8135
8136 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
8137 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
8138 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
8139 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
8140 * config/i386/t-darwin64: Remove.
8141 * config/sh/t-netbsd (LIB2ADD): Remove.
8142
989bdb74
GJL
81432011-11-21 Georg-Johann Lay <avr@gjlay.de>
8144
8145 PR target/49313
8146 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
8147 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
8148 * config/avr/lib1funcs.S (wmov): New assembler macro.
8149 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
8150 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
8151 (__udivmod64): New function.
8152 (__negdi2): New function.
8153
515a0cfc
GP
81542011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
8155
8156 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
8157 *-*-freebsd*aout*): Remove.
8158
0115d17f
HPN
81592011-11-20 Hans-Peter Nilsson <hp@axis.com>
8160
8161 * static-object.mk (c_flags-$o): Save c_flags.
8162 ($(base)$(objext)): Use it.
8163
93aeb62b
SE
81642011-11-18 Steve Ellcey <sje@cup.hp.com>
8165
8166 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
8167
7bc6df2c
GJL
81682011-11-18 Georg-Johann Lay <avr@gjlay.de>
8169
8170 PR target/49868
8171 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
8172 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
8173 New functions.
8174
425d737b
MGD
81752011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
8176
8177 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
8178 functions.
1bb4b6a3 8179 (aeabi_uidivmod): Likewise.
425d737b
MGD
8180 (umodsi3): Likewise.
8181 (divsi3): Likewise.
8182 (aeabi_idivmod): Likewise.
8183 (modsi3): Likewise.
8184
f2a176dc
TG
81852011-11-16 Tristan Gingold <gingold@adacore.com>
8186
8187 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
8188
7c209481
GJL
81892011-11-15 Georg-Johann Lay <avr@gjlay.de>
8190
8191 PR target/49868
8192 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
8193 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
8194
9dfd5832
JDA
81952011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
8196
8197 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
8198 tmake_file list.
8199 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
8200 * config/pa/t-stublib64: Delete.
8201
f77dca5d
RH
82022011-11-12 Richard Henderson <rth@redhat.com>
8203
8204 * config/rs6000/linux-unwind.h (frob_update_context): Properly
8205 cast the pointer argument to _Unwind_SetGRPtr.
8206
902828f0
RO
82072011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8208
8209 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
8210
e14304ef
ILT
82112011-11-09 Ian Lance Taylor <iant@google.com>
8212
8213 * generic-morestack.c: Include <string.h>.
8214 (uintptr_type): Define.
8215 (struct initial_sp): Add dont_block_signals field. Reduce size of
8216 extra array by 1.
8217 (allocate_segment): Set prev field to NULL. Don't set
8218 __morestack_current_segment or __morestack_segments.
8219 (__generic_morestack): Update current->prev and *pp after calling
8220 allocate_segment.
8221 (__morestack_block_signals): Don't do anything if
8222 dont_block_signals is set.
8223 (__morestack_unblock_signals): Likewise.
8224 (__generic_findstack): Check for initial_sp == NULL. Add casts to
8225 uintptr_type.
8226 (__splitstack_block_signals): New function.
8227 (enum __splitstack_content_offsets): Define.
8228 (__splitstack_getcontext, __splitstack_setcontext): New functions.
8229 (__splitstack_makecontext): New function.
8230 (__splitstack_block_signals_context): New function.
8231 (__splitstack_find_context): New function.
8232 * config/i386/morestack.S (__morestack_get_guard): New function.
8233 (__morestack_set_guard, __morestack_make_guard): New functions.
8234 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
8235
e3d871e4
RO
82362011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8237
8238 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
8239 (i[34567]86-*-mingw*): ... here.
8240 (x86_64-*-mingw*): ... here.
8241
e55cef40
RO
82422011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8243
8244 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
8245
5366b186
NS
82462011-11-07 Nathan Sidwell <nathan@acm.org>
8247
8248 * libgcov.c (struct gcov_fn_buffer): New struct.
8249 (buffer_fn_data): New helper.
8250 (gcov_exit): Rework for new gcov data structures.
8251
74155a6f
GJL
82522011-11-07 Georg-Johann Lay <avr@gjlay.de>
8253
8254 PR target/49313
8255 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
8256
200feb07
RO
82572011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8258
8259 * config.host (tmake_file): Correct comment.
8260 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
8261 t-libgcc-pic.
8262 (bfin*-uclinux*): Likewise.
8263 (bfin*-linux-uclibc*): Likewise.
8264 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
8265
8266 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
8267 assigning.
8268 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
8269 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
8270 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
8271 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
8272 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
8273 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
8274 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
8275 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
8276 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
8277 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
8278 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
8279 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
8280 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
8281
8282 * config/bfin/t-elf: Remove.
8283 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
8284
c9cd1a07
RO
82852011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8286
8287 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
8288 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
8289 (lm32-*-elf*, lm32-*-rtems*): Split into ...
8290 (lm32-*-elf*): ... this.
8291 (lm32-*-rtems*): ... and this.
8292 Add to tmake_file.
8293 (m32r-*-rtems*): Add to tmake_file.
8294 (moxie-*-rtems*): Likewise.
8295 (sparc-*-rtems*): Likewise.
8296 Remove t-rtems from tmake_file.
8297 (sparc64-*-rtems*): Likewise.
8298 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
8299 instead.
8300
9fbcc75d
RO
83012011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8302
8303 PR bootstrap/50982
8304 * config/gthr-posix.h: Move ...
8305 * gthr-posix.h: ... here.
8306 * config/gthr-lynx.h: Reflect this.
8307 * config/gthr-vxworks.h: Likewise.
8308 * config/rs6000/gthr-aix.h: Likewise.
8309 * configure.ac (target_thread_file): Likewise.
8310 * configure: Regenerate.
8311
76644b68
SH
83122011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
8313
8314 * config.host (arm*-*-rtemseabi*): New target.
8315
5e490f2a
JDA
83162011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
8317
8318 PR other/50991
8319 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
8320 extra-parts.
8321
feeeff5c
JR
83222011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
8323
8324 * config.host (epiphany-*-elf*): New configuration.
8325 * config/epiphany: New Directory.
8326
d618bb2c
RC
83272011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
8328
8329 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
8330 * config/avr/t-rtems: New.
8331 Filter out _exit from LIB1ASMFUNCS.
8332
1bb6f778
DM
83332011-11-04 David S. Miller <davem@davemloft.net>
8334
8335 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
8336 * configure: Rebuild.
8337
9a7f7422
AK
83382011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8339
8340 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
8341 variable.
8342
e4fe948a
GJL
83432011-11-04 Georg-Johann Lay <avr@gjlay.de>
8344
8345 PR target/50931
8346 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
8347 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
8348
7084e037
JS
83492011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
8350
8351 PR target/50989
8352 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
8353
1a032034
RO
83542011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8355
8356 * config/c6x/t-elf (LIB2ADDEH): Set.
8357 * config/c6x/t-c6x-elf: Remove.
8358
d385f772
RO
83592011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8360
8361 * config/i386/sol2-ci.S: Rename to ...
8362 * config/i386/crti.S: ... this.
8363 * config/i386/sol2-cn.S: Rename to ...
8364 * config/i386/crtn.S: ... this.
8365 * config/sparc/sol2-ci.S: Rename to ...
8366 * config/sparc/crti.S: ... this.
8367 * config/sparc/sol2-cn.S: Rename to ...
8368 * config/sparc/crtn.S: ... this.
8369 * config/t-sol2 (CUSTOM_CRTIN): Remove.
8370 (crti.o, crtn.o): Remove.
8371
1ba878a9
TG
83722011-11-04 Tristan Gingold <gingold@adacore.com>
8373
8374 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
8375
02750c15
KK
83762011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
8377
8378 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
8379
bf86b067
HPN
83802011-11-03 Hans-Peter Nilsson <hp@axis.com>
8381
8382 * config.host (crisv32-*-none, cris-*-none): Remove.
8383 (crisv32-*-elf): Append to tmake_file, don't just set it.
8384 (cris-*-elf): Add missing t-fdpbit to tmake_file.
8385
d0bc53bd
RO
83862011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8387
8388 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
8389 (ecrtn$(objext)): Likewise.
8390 (ncrti$(objext)): Likewise.
8391 (ncrtn$(objext)): Likewise.
8392
036da830
AS
83932011-11-03 Andreas Schwab <schwab@redhat.com>
8394
8395 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
8396
d2a7d041
DM
83972011-11-02 David S. Miller <davem@davemloft.net>
8398
8399 * configure.ac: Set host_address on sparc too.
8400 * configure: Regenerate.
8401 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
8402 based upon host_address.
8403 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
8404
af8ed618
JM
84052011-11-02 Jason Merrill <jason@redhat.com>
8406
8407 * config/rs6000/t-ppccomm: Add missing \.
8408
5d1c8e77
RO
84092011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8410
8411 * gthr-single.h, gthr.h: New files.
8412 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
8413 config/gthr-vxworks.h, config/i386/gthr-win32.h,
8414 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
8415 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
8416 * config/i386/gthr-win32.c: Include "gthr-win32.h".
8417 * configure.ac (thread_header): New variable.
8418 Set it depending on target_thread_file.
8419 (gthr-default.h): Link from $thread_header.
8420 * configure: Regenerate.
8421 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
8422
852b75ed
RO
84232011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8424
8425 * configure.ac (tm_file_): New variable.
8426 Determine from tm_file.
8427 (tm_file, tm_defines): Substitute.
8428 * configure: Regenerate.
8429 * mkheader.sh: New file.
8430 * Makefile.in (clean): Remove libgcc_tm.h.
8431 ($(objects)): Depend on libgcc_tm.h.
8432 (libgcc_tm_defines, libgcc_tm_file): New variables.
8433 (libgcc_tm.h, libgcc_tm.stamp): New targets.
8434 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
8435 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
8436 ($(extra-parts)): Depend on libgcc_tm.h.
8437 * config.host (tm_defines, tm_file): New variable.
8438 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
8439 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
8440 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
8441 (avr-*-rtems*): Likewise.
8442 (avr-*-*): Likewise.
8443 (frv-*-elf): Likewise.
8444 (frv-*-*linux*): Likewise.
8445 (h8300-*-rtems*): Likewise.
8446 (h8300-*-elf*): Likewise.
8447 (i[34567]86-*-darwin*): Likewise.
8448 (x86_64-*-darwin*): Likewise.
8449 (rx-*-elf): Likewise.
8450 (tic6x-*-uclinux): Likewise.
8451 (tic6x-*-elf): Likewise.
8452 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
8453 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
8454 * config/i386/cygming-crtbegin.c: Likewise.
8455 * config/i386/cygming-crtend.c: Likewise.
8456 * config/ia64/fde-vms.c: Likewise.
8457 * config/ia64/unwind-ia64.c: Likewise.
8458 * config/libbid/bid_gcc_intrinsics.h: Likewise.
8459 * config/rs6000/darwin-fallback.c: Likewise.
8460 * config/stormy16/lib2funcs.c: Likewise.
8461 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
8462 * crtstuff.c: Likewise.
8463 * dfp-bit.h: Likewise.
8464 * emutls.c: Likewise.
8465 * fixed-bit.c: Likewise.
8466 * fp-bit.c: Likewise.
8467 * generic-morestack-thread.c: Likewise.
8468 * generic-morestack.c: Likewise.
8469 * libgcc2.c: Likewise.
8470 * libgcov.c: Likewise.
8471 * unwind-dw2-fde-dip.c: Likewise.
8472 * unwind-dw2-fde.c: Likewise.
8473 * unwind-dw2.c: Likewise.
8474 * unwind-sjlj.c: Likewise.
8475
f9989b51
RO
84762011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8477
8478 * configure.ac: Include ../config/picflag.m4.
8479 (GCC_PICFLAG): Call it.
8480 Substitute.
8481 * configure: Regenerate.
8482 * Makefile.in (gcc_srcdir): Remove.
8483 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
8484 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
8485 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
8486 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
8487 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
8488 Use $<.
8489 Remove comment.
8490 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
8491 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
8492 to refer to libgcc2.c.
8493 Use $<.
8494 * config/darwin-64.c: New file.
8495 * config/darwin-crt3.c: Remove comment.
8496 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
8497 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
8498 config/udivmodsi4.c: New files.
8499 * config/memcmp.c, config/memcpy.c, config/memmove.c,
8500 config/memset.c: New files.
8501 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
8502 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
8503 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
8504 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
8505 * config/t-openbsd-thread: New file.
8506 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
8507 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
8508 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
8509 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
8510 qrnnd.S.
8511 Adapt filename.
8512 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
8513 to refer to gthr-posix.c.
8514 * config/alpha/t-vms (LIB2ADD): Set.
8515 * config/alpha/vms-gcc_shell_handler.c: New file.
8516 * config/arm/bpabi.c, config/arm/fp16.c,
8517 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
8518 config/arm/unaligned-funcs.c: New files.
8519 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
8520 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
8521 * config/arm/t-linux: Likewise.
8522 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
8523 * config/arm/t-netbsd: New file.
8524 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
8525 * config/arm/t-symbian (LIB2ADD_ST): Set.
8526 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
8527 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8528 * config/bfin/t-elf: New file.
8529 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
8530 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
8531 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
8532 config/c6x/ltf.c: New files.
8533 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
8534 (HOST_LIBGCC2_CFLAGS): Set.
8535 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
8536 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8537 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
8538 New files.
8539 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
8540 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
8541 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
8542 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
8543 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
8544 files.
8545 * config/frv/t-frv (LIB2ADD): Set.
8546 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8547 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
8548 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
8549 config/h8300/popcounthi2.c: New files.
8550 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
8551 * config/i386/gthr-win32.c: New file.
8552 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
8553 * config/i386/t-cygwin: Likewise.
8554 * config/i386/t-darwin, config/i386/t-darwin64,
8555 config/i386/t-gthr-win32, config/i386/t-interix: New files.
8556 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
8557 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8558 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8559 * config/ia64/quadlib.c: New file.
8560 * config/ia64/t-hpux (LIB2ADD): Set.
8561 * config/ia64/t-ia64: Add comment.
8562 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
8563 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8564 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
8565 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
8566 * config/m32c/t-m32c (LIB2ADD): Set.
8567 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
8568 * config/m32r/t-m32r: Likewise.
8569 * config/m68k/fpgnulib.c: New file.
8570 * config/m68k/t-floatlib (LIB2ADD): Set.
8571 (xfgnulib.c): New target.
8572 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
8573 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
8574 * config/mep/t-mep (LIB2ADD): Set.
8575 * config/microblaze/divsi3.asm: Rename to divsi3.S.
8576 * config/microblaze/moddi3.asm: Rename to moddi3.S.
8577 * config/microblaze/modsi3.asm: Rename to modsi3.S.
8578 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
8579 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
8580 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
8581 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
8582 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
8583 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
8584 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
8585 New files.
8586 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
8587 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
8588 * config/pa/fptr.c, config/pa/lib2funcs.S,
8589 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
8590 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
8591 (LIB2ADD, LIB2ADD_ST): Set.
8592 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
8593 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
8594 Set.
8595 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
8596 * config/pdp11/t-pdp11: New file.
8597 * config/picochip/libgccExtras/adddi3.S,
8598 config/picochip/libgccExtras/ashlsi3.S,
8599 config/picochip/libgccExtras/ashrsi3.S,
8600 config/picochip/libgccExtras/clzsi2.S,
8601 config/picochip/libgccExtras/cmpsi2.S,
8602 config/picochip/libgccExtras/divmod15.S,
8603 config/picochip/libgccExtras/divmodhi4.S,
8604 config/picochip/libgccExtras/divmodsi4.S,
8605 config/picochip/libgccExtras/lshrsi3.S,
8606 config/picochip/libgccExtras/parityhi2.S,
8607 config/picochip/libgccExtras/popcounthi2.S,
8608 config/picochip/libgccExtras/subdi3.S,
8609 config/picochip/libgccExtras/ucmpsi2.S,
8610 config/picochip/libgccExtras/udivmodhi4.S,
8611 config/picochip/libgccExtras/udivmodsi4.S: New files.
8612 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
8613 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
8614 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
8615 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
8616 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
8617 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
8618 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
8619 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
8620 files.
8621 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
8622 (HOST_LIBGCC2_CFLAGS): Set.
8623 * config/rs6000/t-darwin64: New file.
8624 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
8625 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
8626 * config/rs6000/t-ppccomm (LIB2ADD): Add
8627 $(srcdir)/config/rs6000/tramp.S.
8628 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
8629 Add $(srcdir)/config/rs6000/eabi.S.
8630 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
8631 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
8632 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
8633 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
8634 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
8635 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
8636 * config/rs6000/tramp.S: New file.
8637 * config/s390/t-tpf: Remove.
8638 * config/sh/linux-atomic.S: New file.
8639 * config/sh/t-linux (LIB2ADD): Set.
8640 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
8641 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
8642 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
8643 to unwind-dw2.c.
8644 (HOST_LIBGCC2_CFLAGS): Set.
8645 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8646 * config/spu/divmodti4.c, config/spu/divv2df3.c,
8647 config/spu/float_disf.c, config/spu/float_unsdidf.c,
8648 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
8649 config/spu/mfc_multi_tag_release.c,
8650 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
8651 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
8652 config/spu/multi3.c: New files.
8653 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
8654 (HOST_LIBGCC2_CFLAGS): Set.
8655 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
8656 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
8657 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
8658 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
8659 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
8660 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
8661 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
8662 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
8663 config/stormy16/umodsi3.c: New files.
8664 * config/xtensa/lib2funcs.S: New file.
8665 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
8666 * config/xtensa/t-xtensa (LIB2ADD): Set.
8667 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
8668 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
8669 Add t-freebsd-thread to tmake_file for posix threads.
8670 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
8671 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
8672 (*-*-lynxos*): Likewise.
8673 (*-*-netbsd*): Likewise.
8674 (*-*-openbsd*): Likewise.
8675 Add t-openbsd-thread to tmake_file for posix threads.
8676 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
8677 (*-*-vxworks*): Set tmake_file.
8678 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
8679 (alpha*-*-freebsd*): Likewise.
8680 (alpha*-*-netbsd*): Likewise.
8681 (alpha*-*-openbsd*): Likewise.
8682 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
8683 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
8684 (alpha*-dec-*vms*): Likewise.
8685 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
8686 (bfin*-elf*): Add bfin/t-elf to tmake_file.
8687 (bfin*-uclinux*): Likewise.
8688 (bfin*-linux-uclibc*): Likewise.
8689 (crisv32-*-elf): Add cris/t-cris to tmake_file.
8690 (crisv32-*-none): Likewise.
8691 (cris-*-elf): Likewise.
8692 (cris-*-none): Likewise.
8693 (cris-*-linux*, crisv32-*-linux*): Likewise.
8694 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
8695 tmake_file.
8696 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
8697 tmake_file.
8698 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
8699 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
8700 (x86_64-*-elf*): Likewise.
8701 (i[34567]86-*-nto-qnx*): Likewise.
8702 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
8703 win32 threads.
8704 (x86_64-*-mingw*): Likewise.
8705 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
8706 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
8707 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
8708 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
8709 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
8710 tmake_file.
8711 (mipsisa64sr71k-*-elf*): Likewise.
8712 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
8713 (mips-*-elf*, mipsel-*-elf*): Likewise.
8714 (mips64-*-elf*, mips64el-*-elf*): Likewise.
8715 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
8716 (mips*-*-rtems*): Likewise.
8717 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
8718 to tmake_file.
8719 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
8720 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
8721 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
8722 (spu-*-elf*): Likewise.
8723 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
8724
45b86625
RO
87252011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8726
8727 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
8728 $(srcdir) to refer to $(LIB1ASMSRC).
8729 Use $<.
8730 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
8731 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
8732 config/arm/lib1funcs.S: New files.
8733 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
8734 * config/arm/t-arm: New file.
8735 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
8736 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
8737 config/arm/t-strongarm-elf: New files.
8738 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
8739 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
8740 * config/avr/lib1funcs.S: New file.
8741 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8742 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
8743 * config/c6x/lib1funcs.S: New file.
8744 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8745 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
8746 * config/frv/lib1funcs.S: New file.
8747 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8748 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
8749 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
8750 * config/ia64/__divxf3.asm: Rename to ...
8751 * config/ia64/__divxf3.S: ... this.
8752 Adapt lib1funcs.asm filename.
8753 * config/ia64/_fixtfdi.asm: Rename to ...
8754 * config/ia64/_fixtfdi.S: ... this.
8755 Adapt lib1funcs.asm filename.
8756 * config/ia64/_fixunstfdi.asm: Rename to ...
8757 * config/ia64/_fixunstfdi.S: ... this.
8758 Adapt lib1funcs.asm filename.
8759 * config/ia64/_floatditf.asm: Rename to ...
8760 * config/ia64/_floatditf.S: ... this.
8761 Adapt lib1funcs.asm filename.
8762 * config/ia64/lib1funcs.S: New file.
8763 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
8764 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8765 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
8766 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
8767 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
8768 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
8769 * config/mep/lib1funcs.S: New file.
8770 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8771 * config/mips/mips16.S: New file.
8772 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8773 * config/pa/milli64.S: New file.
8774 * config/pa/t-linux, config/pa/t-linux64: New files.
8775 * config/picochip/lib1funcs.S: New file.
8776 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8777 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
8778 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
8779 * config/sh/t-netbsd: New file.
8780 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
8781 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
8782 * config/sh/t-sh64: New file.
8783 * config/sparc/lb1spc.S: New file.
8784 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
8785 filename.
8786 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
8787 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
8788 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
8789 config/xtensa/lib1funcs.S: New files.
8790 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8791 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
8792 tmake_file.
8793 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
8794 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
8795 (arm*-*-linux*): Likewise.
8796 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
8797 arm*-*-linux-*eabi, add arm/t-linux otherwise.
8798 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
8799 (arm*-*-ecos-elf): Likewise.
8800 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
8801 (arm*-*-rtems*): Likewise.
8802 (arm*-*-elf): Likewise.
8803 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
8804 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
8805 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
8806 (bfin*-uclinux*): Likewise.
8807 (bfin*-linux-uclibc*): Likewise.
8808 (bfin*-rtems*): Likewise.
8809 (bfin*-*): Likewise.
8810 (fido-*-elf): Merge into m68k-*-elf*.
8811 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
8812 (frv-*-*linux*): Add frv/t-frv to tmake_file.
8813 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
8814 (h8300-*-elf*): Likewise.
8815 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
8816 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
8817 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
8818 (i[34567]86-*-mingw*): Likewise.
8819 (x86_64-*-mingw*): Likewise.
8820 (i[34567]86-*-interix3*): Likewise.
8821 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
8822 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
8823 (m68k-*-elf*): Also handle fido-*-elf.
8824 Add m68k/t-floatlib to tmake_file.
8825 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
8826 (m68k-*-linux*): Likewise.
8827 (m68k-*-rtems*): Likewise.
8828 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
8829 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
8830 sh64*-*-*.
8831 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
8832 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
8833 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
8834 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
8835 sh/t-netbsd to tmake_file.
8836 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
8837 (sh-*-rtems*): Add sh/t-sh to tmake_file.
8838 (sh-wrs-vxworks): Likewise.
8839 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
8840 *-leon[3-9]*.
8841 (v850*-*-*): Add v850/t-v850 to tmake_file.
8842 (vax-*-linux*): Add vax/t-linux to tmake_file.
8843 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
8844
5f73c6cc
RO
88452011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8846
8847 * crtstuff.c: New file.
8848 * Makefile.in (CRTSTUFF_CFLAGS): Define.
8849 (CRTSTUFF_T_CFLAGS): Define.
8850 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
8851 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
8852 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
8853 crtstuff.c.
8854 Use $<.
8855 (crtbeginT.o): Use $(objext).
8856 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
8857 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
8858 (gcc-extra-parts): Remove.
8859 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
8860 Set extra_parts.
8861 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
8862 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
8863 Add t-crtstuff-pic to tmake_file.
8864 (*-*-lynxos*): New case.
8865 Set tmake_file, extra_parts.
8866 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
8867 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
8868 *-*-netbsdelf[2-9]*.
8869 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
8870 (*-*-rtems*): Set extra_parts.
8871 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
8872 (*-*-uclinux*): New case.
8873 Set extra_parts.
8874 (*-*-vms*): New case.
8875 Set tmake_file, extra_parts.
8876 (*-*-elf): Set extra_parts.
8877 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
8878 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
8879 vms/t-vms64.
8880 Set extra_parts.
8881 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
8882 Set extra_parts.
8883 (arm*-*-freebsd*): Add t-crtin to tmake_file.
8884 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
8885 (arm-wrs-vxworks): Append to tmake_file.
8886 Set extra_parts.
8887 (arm*-*-uclinux*): Set extra_parts.
8888 (arm*-*-ecos-elf): Likewise.
8889 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
8890 arm*-*-eabi*.
8891 (arm*-*-rtems*): Set extra_parts.
8892 (arm*-*-elf): Likewise.
8893 (avr-*-rtems*): Clear extra_parts.
8894 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
8895 Set extra_parts.
8896 (bfin*-uclinux*): Likewise.
8897 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
8898 (bfin*-rtems*): Append to tmake_file.
8899 Set extra_parts.
8900 (bfin*-*): Likewise.
8901 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
8902 (crisv32-*-elf): ... this.
8903 (crisv32-*-none): ... this.
8904 (cris-*-elf, cris-*-none): New cases.
8905 Add cris/t-elfmulti to tmake_file.
8906 (fr30-*-elf): Append to tmake_file.
8907 Set extra_parts.
8908 (frv-*-elf): Append to tmake_file, add frv/t-frv.
8909 Set extra_parts.
8910 (h8300-*-rtems*): Append to tmake_file.
8911 Set extra_parts.
8912 (h8300-*-elf*): Likewise.
8913 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
8914 Set extra_parts.
8915 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
8916 Set extra_parts.
8917 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
8918 (x86_64-*-elf*): Likewise.
8919 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
8920 (x86_64-*-freebsd*): Likewise.
8921 (x86_64-*-netbsd*): Likewise.
8922 (i[34567]86-*-linux*): Likewise.
8923 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
8924 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
8925 (x86_64-*-linux*): Likewise.
8926 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
8927 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
8928 tmake_file.
8929 Set extra_parts.
8930 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
8931 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
8932 Append to extra_parts, remove crtbegin.o, crtend.o.
8933 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
8934 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
8935 crtend.o, crtbeginS.o, crtendS.o.
8936 (ia64*-*-linux*): Comment extra_parts.
8937 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
8938 Set extra_parts.
8939 (iq2000*-*-elf*): Clear extra_parts.
8940 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
8941 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
8942 (m32r-*-elf*, m32r-*-rtems*): Split off ...
8943 (m32r-*-rtems*): ... this.
8944 Add m32r/t-m32r to tmake_file.
8945 (m68k-*-elf*): Add t-crtin to tmake_file.
8946 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
8947 (mcore-*-elf): Likewise.
8948 (microblaze*-*-*): Set extra_parts.
8949 (mips*-sde-elf*): New case.
8950 Set tmake_file, extra_parts.
8951 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
8952 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
8953 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
8954 tmake_file.
8955 Set extra_parts.
8956 (mipsisa64sr71k-*-elf*): Likewise.
8957 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
8958 (mips-*-elf*, mipsel-*-elf*): Likewise.
8959 (mips64-*-elf*, mips64el-*-elf*): Likewise.
8960 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
8961 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
8962 (mips*-*-rtems*): Likewise.
8963 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
8964 (moxie-*-*): Split into ...
8965 (moxie-*-elf, moxie-*-uclinux*): ... this.
8966 Add to extra_parts, remove crtbegin.o, crtend.o.
8967 (moxie-*-rtems*): New case.
8968 Set tmake_file.
8969 Clear extra_parts.
8970 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
8971 Set extra_parts.
8972 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
8973 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
8974 tmake_file.
8975 Set extra_parts.
8976 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
8977 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
8978 Set extra_parts.
8979 (powerpc-*-eabisim*): Likewise.
8980 (powerpc-*-elf*): Likewise.
8981 (powerpc-*-eabialtivec*): Likewise.
8982 (powerpc-xilinx-eabi*): Likewise.
8983 (powerpc-*-eabi*): Likewise.
8984 (powerpc-*-rtems*): Likewise.
8985 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
8986 tmake_file.
8987 Set extra_parts.
8988 (powerpc-*-lynxos*): Add to tmake_file.
8989 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
8990 rs6000/t-crtstuff, t-crtstuff-pic.
8991 Set extra_parts.
8992 (powerpcle-*-eabisim*): Likewise.
8993 (powerpcle-*-eabi*): Likewise.
8994 (rx-*-elf): Remove extra_parts.
8995 (s390x-ibm-tpf*): Set extra_parts.
8996 (score-*-elf): Set extra_parts.
8997 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
8998 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
8999 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
9000 (sh64l*-*-netbsd*): Split into ...
9001 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
9002 Add t-crtstuff-pic to tmake_file.
9003 Set extra_parts.
9004 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
9005 Set extra_parts.
9006 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
9007 (sparc-*-elf*): Remove t-crtin from tmake_file.
9008 Add to extra_parts, remove crtbegin.o, crtend.o.
9009 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
9010 (sparc64-*-linux*): Likewise.
9011 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
9012 Add to extra_parts, remove crtbegin.o, crtend.o.
9013 (sparc64-*-elf*): Remove t-crtin from tmake_file.
9014 Add to extra_parts, remove crtbegin.o, crtend.o.
9015 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
9016 Add to extra_parts, remove crtbegin.o, crtend.o.
9017 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
9018 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
9019 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
9020 Set extra_parts.
9021 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
9022 Set extra_parts.
9023 (tic6x-*-*): Change to ...
9024 (tic6x-*-elf): ... this.
9025 Set extra_parts.
9026 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
9027 Set extra_parts.
9028 (am33_2.0-*-linux*): Add comment.
9029 (mep*-*-*): Add mep/t-mep to tmake_file.
9030 Set extra_parts.
9031 * config/alpha/t-vms: New file.
9032 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
9033 * config/arm/crti.S, config/arm/crtn.S: New files.
9034 * config/bfin/crti.S, config/bfin/crtn.S: New files.
9035 * config/bfin/crtlibid.S: New file.
9036 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
9037 * config/c6x/crti.S, config/c6x/crtn.S: New files.
9038 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
9039 (crti.o, crtin.o): New rules.
9040 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
9041 * config/c6x/t-uclinux: New file.
9042 * config/cris/t-elfmulti: New file.
9043 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
9044 * config/fr30/crti.S, config/fr30/crtn.S: New files.
9045 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
9046 * config/frv/t-frv: New file.
9047 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
9048 * config/h8300/crti.S, config/h8300/crtn.S: New files.
9049 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
9050 New files.
9051 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
9052 refer to cygming-crtbegin.c, cygming-crtend.c.
9053 Use $<.
9054 * config/i386/t-nto: New file.
9055 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
9056 * config/ia64/crti.S, config/ia64/crtn.S: New files.
9057 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
9058 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
9059 Use .S extension.
9060 Use $<.
9061 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
9062 (crtinitS.o): New rule.
9063 * config/ia64/vms-crtinit.S: New file.
9064 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
9065 * config/m32r/initfini.c: New file.
9066 * config/m32r/t-linux, config/m32r/t-m32r: New files.
9067 * config/m68k/crti.S, config/m68k/crtn.S: New files.
9068 * config/mcore/crti.S, config/mcore/crtn.S: New files.
9069 * config/mep/t-mep: New file.
9070 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
9071 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
9072 * config/mips/crti.S, config/mips/crtn.S: New files.
9073 * config/mips/t-crtstuff: New file.
9074 * config/mmix/crti.S, config/mmix/crtn.S: New files.
9075 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
9076 (CUSTOM_CRTIN): Set.
9077 ($(T)crti.o, $(T)crtn.o): Remove $(T),
9078 dependencies.
9079 Use $(srcdir) to refer to crti.S, crtn.S.
9080 Use .S extension, $<.
9081 * config/moxie/crti.asm: Rename to ...
9082 * config/moxie/crti.S: ... this.
9083 * config/moxie/crtn.asm: Rename to ...
9084 * config/moxie/crtn.S: ... this.
9085 * config/moxie/t-moxie: Remove.
9086 * config/pa/stublib.c: New file.
9087 * config/pa/t-stublib, config/pa/t-stublib64: New files.
9088 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
9089 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
9090 * config/rs6000/t-crtstuff: New file.
9091 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
9092 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
9093 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
9094 Make output file explicit.
9095 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
9096 Make output file explicit.
9097 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
9098 Make output file explicit.
9099 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
9100 Make output file explicit.
9101 * config/score/crti.S, config/score/crtn.S: New files.
9102 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
9103 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
9104 files.
9105 * config/sh/t-sh, config/sh/t-superh: New files.
9106 * config/sparc/t-linux64: New file.
9107 * config/spu/cache.S, config/spu/cachemgr.c: New files.
9108 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
9109 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
9110 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
9111 * config/t-crtin: Remove.
9112 * config/t-crtstuff-pic: New file.
9113 * config/t-sol2 (CUSTOM_CRTIN): Set.
9114 (crti.o, crtn.o): New rules.
9115 * config/vms/t-vms: New file.
9116 * config/vms/vms-ucrt0.c: New file.
9117 * config/xtensa/t-elf: New file.
9118
b040f2be
RO
91192011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9120
9121 * Makefile.in (SHLIB_NM_FLAGS): Set.
9122 * mkmap-flat.awk, mkmap-symver.awk: New files.
9123 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
9124 exceptions.
9125 * configure: Regenerate.
9126 * config/libgcc-glibc.ver: New file.
9127 * config/libgcc-libsystem.ver: New file.
9128 * config/t-libunwind (SHLIB_LC): Set.
9129 * config/t-linux: New file.
9130 * config/t-slibgcc (INSTALL_SHLIB): New.
9131 (SHLIB_INSTALL): Use it.
9132 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
9133 to mkmap-symver.awk.
9134 (SHLIB_MAPFILES): Don't append, adapt pathname.
9135 (SHLIB_VERPFX): Set.
9136 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
9137 to mkmap-symver.awk.
9138 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
9139 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
9140 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
9141 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
9142 to mkmap-flat.awk.
9143 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
9144 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
9145 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
9146 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
9147 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
9148 * config/i386/libgcc-darwin.10.4.ver,
9149 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
9150 New files.
9151 * config/i386/t-darwin: Remove.
9152 * config/i386/t-darwin64: Likewise.
9153 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
9154 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
9155 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
9156 * config/i386/t-linux: New file.
9157 * config/i386/t-mingw32: New file.
9158 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
9159 * config/ia64/t-glibc: Rename to ...
9160 * config/ia64/t-linux: ... this.
9161 (SHLIB_MAPFILES): Set.
9162 * config/ia64/t-glibc-libunwind: Rename to ...
9163 * config/ia64/t-linux-libunwind: ... this.
9164 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
9165 * config/ia64/t-slibgcc-hpux: New file.
9166 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
9167 * config/m68k/t-slibgcc-elf-ver: New file.
9168 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
9169 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
9170 to mkmap-flat.awk.
9171 * config/pa/t-slibgcc-hpux: New file.
9172 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
9173 files.
9174 * config/rs6000/libgcc-darwin.10.4.ver,
9175 config/rs6000/libgcc-darwin.10.5.ver: New files.
9176 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
9177 config/rs6000/libgcc-glibc.ver.
9178 * config/rs6000/libgcc-ppc64.ver: Rename to
9179 config/rs6000/libgcc-ibm-ldouble.ver.
9180 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
9181 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
9182 * config/rs6000/t-ldbl128: Rename to ...
9183 * config/rs6000/t-linux: ... this.
9184 (SHLIB_MAPFILES): Adapt filename.
9185 * config/rs6000/t-slibgcc-aix: New file.
9186 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
9187 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
9188 libgcc-excl.ver, libgcc-glibc.ver.
9189 (SHLIB_LINK, SHLIB_INSTALL): Remove.
9190 * config/sparc/libgcc-glibc.ver: New file.
9191 * config/sparc/t-linux: New file.
9192 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
9193 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
9194 t-slibgcc-elf-ver to tmake_file.
9195 Add t-slibgcc-nolc-override to tmake_file for posix threads on
9196 *-*-freebsd[34].
9197 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
9198 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
9199 t-slibgcc-elf-ver, t-linux to tmake_file.
9200 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
9201 tmake_file.
9202 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
9203 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
9204 (alpha*-dec-*vms*): Likewise.
9205 (arm*-*-freebsd*): Append to tmake_file.
9206 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
9207 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
9208 arm*-*-linux-*eabi.
9209 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
9210 tmake_file for arm*-*-symbianelf*.
9211 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
9212 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
9213 cris/t-linux.
9214 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
9215 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
9216 pa/t-slibgcc-dwarf-ver to tmake_file.
9217 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
9218 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
9219 (hppa*64*-*-hpux11*): Likewise.
9220 (hppa[12]*-*-hpux11*): Likewise.
9221 (x86_64-*-darwin*): Don't override tmake_file, but only keep
9222 i386/t-crtpc, i386/t-crtfm.
9223 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
9224 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
9225 to tmake_file.
9226 Add i386/t-cygwin to tmake_file.
9227 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
9228 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
9229 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
9230 to tmake_file.
9231 Add i386/t-mingw32 to tmake_file.
9232 (x86_64-*-mingw*): Likewise.
9233 (ia64*-*-freebsd*): Append to tmake_file.
9234 (ia64*-*-linux*): Append to tmake_file.
9235 Replace ia64/t-glibc by ia64/t-linux.
9236 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
9237 system libunwind.
9238 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
9239 t-slibgcc-hpux to tmake_file.
9240 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
9241 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
9242 (m32rle-*-linux*): Likewise.
9243 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
9244 sjlj exceptions.
9245 (microblaze*-linux*): New case.
9246 Append to tmake_file, add t-slibgcc-nolc-override.
9247 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
9248 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
9249 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
9250 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
9251 rs6000/t-slibgcc-aix to tmake_file.
9252 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
9253 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
9254 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
9255 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
9256 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
9257 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
9258 sh*-*-linux*.
9259 (sparc-*-linux*): Append to tmake_file for *-leon*.
9260 Add sparc/t-linux to tmake_file for non-Leon targets.
9261 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
9262 (tic6x-*-uclinux): New case.
9263 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
9264 (tic6x-*-*): Add c6x/t-elf to tmake_file.
9265 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
9266 (am33_2.0-*-linux*): Append to tmake_file.
9267 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
9268 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
9269 x86_64-*-kfreebsd*-gnu.
9270 Add i386/t-linux to tmake_file.
9271
18b4bd7b
ILT
92722011-10-28 Ian Lance Taylor <iant@google.com>
9273
9274 * config/i386/morestack.S: Correct CFI information to do proper
9275 returns throughout function. In 32-bit mode, save %ebx so that it
9276 is restored on unwind.
9277
5b2d9d90
BS
92782011-10-25 Bernd Schmidt <bernds@codesourcery.com>
9279
9280 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
9281 case where B3 isn't the return register.
9282
0d53e346
BS
9283 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
9284 logic for doubleword pops.
9285
cbffbd59
AT
92862011-10-25 Andreas Tobler <andreast@fgznet.ch>
9287
9288 * config/rs6000/t-freebsd: Add wildcard.
9289
56dc349e
PB
92902011-10-21 Paul Brook <paul@codesourcery.com>
9291
9292 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
9293
1e06b07d
UB
92942011-10-16 Uros Bizjak <ubizjak@gmail.com>
9295 Eric Botcazou <ebotcazou@adacore.com>
9296
9297 PR target/50737
9298 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
9299 fs->signal_frame to 1.
9300
b5204884
ILT
93012011-10-07 Ian Lance Taylor <iant@google.com>
9302
9303 * generic-morestack-thread.c: #include <errno.h>.
9304
91a639a1
ILT
93052011-10-07 Ian Lance Taylor <iant@google.com>
9306
9307 PR target/46093
9308 * generic-morestack.c (__generic_morestack): Make sure the segment
9309 is large enough for both the stack frame and the copied
9310 parameters.
9311
cc49116d
RO
93122011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9313
9314 PR bootstrap/49804
9315 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
9316 extra_parts.
9317
2996d8c3
NC
93182011-09-28 Nick Clifton <nickc@redhat.com>
9319
9320 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
9321 64-bit doubles are not enabled.
9322 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
9323 and floatunsisf functions.
9324
1e874273 93252011-09-13 Paul Brook <paul@codesourcery.com>
2996d8c3 9326
1e874273
PB
9327 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
9328 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
9329 * unwind-arm-common.inc: New file.
9330 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
9331 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
9332 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
9333 * config/c6x/libunwind.S: New file.
9334 * config/c6x/pr-support.c: New file.
9335 * config/c6x/unwind-c6x.c: New file.
9336 * config/c6x/unwind-c6x.h: New file.
9337 * config/c6x/t-c6x-elf: New file.
9338
f70c879a
UB
93392011-08-23 Uros Bizjak <ubizjak@gmail.com>
9340
9341 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
9342 (ASM_DIVZERO): Ditto.
9343 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
9344
c55b374b
RS
93452011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
9346
9347 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
9348
1e138510
RS
93492011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
9350
9351 PR target/50090
9352 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
9353 instead of an assembly one.
9354
1563503d
PB
93552011-08-12 Paolo Bonzini <bonzini@gnu.org>
9356
9357 PR bootstrap/50047
9358 * Makefile.in (install-unwind_h): Create
9359 $(gcc_objdir)/include/unwind.h atomically.
9360
3627ac1a
RO
93612011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9362
9363 * Makefile.in (install-unwind_h): Remove destination file first.
9364
c6412d86
RO
93652011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9366
9367 * sync.c: New file.
9368 * config/mips/t-mips16: New file.
9369 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
9370 (mips*-*-linux*): Likewise.
9371 (mips*-sde-elf*): Likewise.
9372 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
9373 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
9374 Add mips/t-mips16 to tmake_file.
9375 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
9376 (mips-*-elf*): Likewise.
9377 (mips64-*-elf*): Likewise.
9378 (mips64orion-*-elf*): Likewise.
9379 (mips*-*-rtems*): Likewise.
9380 (mipstx39-*-elf*): Likewise.
9381 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
9382 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
9383 LIBGCC_SYNC_CFLAGS.
9384 Use $(srcdir) to refer to sync.c.
9385 Use $<.
9386 ($(libgcc-sync-funcs-o)): Likewise.
9387 ($(libgcc-sync-size-funcs-s-o)): Likewise.
9388 ($(libgcc-sync-funcs-s-o)): Likewise.
9389
3cb6e5bd
AS
93902011-08-09 Andreas Schwab <schwab@linux-m68k.org>
9391
9392 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
9393 t-libunwind.
9394
cca2207a
L
93952011-08-08 H.J. Lu <hongjiu.lu@intel.com>
9396
9397 PR other/48007
9398 * config/i386/value-unwind.h: New.
9399
ed39fbad
RS
94002011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
9401
9402 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
9403 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
9404 Add to tmake_file rather than overriding it.
9405
aca0b0b3
RO
94062011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9407
9408 * config/t-softfp: Remove.
9409 * soft-fp: Moved from ../gcc/config.
9410 * soft-fp/README: Remove t-softfp reference.
9411 * soft-fp/t-softfp: Move to config/t-softfp.
9412 (softfp_machine_header): Remove.
9413 (softfp_file_list): Remove config subdir.
9414 (soft-fp-objects): New variable.
9415 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
9416 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
9417 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
9418 * config/t-softfp-excl: New file.
9419 * config/t-softfp-sfdf: New file.
9420 * config/t-softfp-tf: New file.
9421 * config/no-sfp-machine.h: New file.
9422 * config/arm/sfp-machine.h: New file.
9423 * config/arm/t-softfp: New file.
9424 * config/c6x/sfp-machine.h: New file.
9425 * config/i386/32/t-fprules-softfp: Rename to ...
9426 * config/i386/32/t-softfp: ... this.
9427 (tifunctions, LIB2ADD): Remove.
9428 (softfp_int_modes): Override.
9429 * config/i386/64/t-softfp-compat (tf-functions): Remove config
9430 subdir.
9431 * config/i386/64/eqtf2.c: Likewise.
9432 * config/i386/64/getf2.c: Likewise.
9433 * config/i386/64/letf2.c: Likewise.
9434 * config/ia64/sft-machine.h: New file.
9435 * config/ia64/t-fprules-softfp: Rename to ...
9436 * config/ia64/t-softfp: ... this.
9437 * config/lm32/sfp-machine.h: New file.
9438 * config/moxie/t-moxie-softfp: Remove.
9439 * config/rs6000/ibm-ldouble-format: New file.
9440 * config/rs6000/ibm-ldouble.c: New file.
9441 * config/rs6000/libgcc-ppc-glibc.ver: New file
9442 * config/rs6000/libgcc-ppc64.ver: New file
9443 * config/rs6000/sfp-machine.h: New file.
9444 * config/rs6000/t-freebsd: New file.
9445 * config/rs6000/t-ibm-ldouble: New file.
9446 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
9447 libgcc-ppc-glibc.ver.
9448 * config/rs6000/t-linux64: New file.
9449 * config/rs6000/t-ppccomm (LIB2ADD): Add
9450 $(srcdir)/config/rs6000/ibm-ldouble.c.
9451 * config/rs6000/t-ppccomm-ldbl: New file.
9452 * config/score/sfp-machine.h: New file.
9453 * config.host (sfp_machine_header): Explain.
9454 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
9455 t-softfp to tmake_file.
9456 (arm*-*-uclinux*): Likewise.
9457 (arm*-*-ecos-elf): Likewise.
9458 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
9459 (arm*-*-rtems*): Likewise.
9460 (arm*-*-elf): Likewise.
9461 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
9462 in tmake_file.
9463 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
9464 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
9465 (lm32-*-uclinux*): Likewise.
9466 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
9467 t-softfp-excl, t-softfp.
9468 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
9469 (powerpc64-*-darwin*): Likewise.
9470 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
9471 to tmake_file.
9472 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
9473 tmake_file.
9474 (powerpc-*-eabisim*): Likewise.
9475 (powerpc-*-elf*): Likewise.
9476 (powerpc-*-eabialtivec*): Likewise.
9477 (powerpc-xilinx-eabi*): Likewise.
9478 (powerpc-*-rtems*): Likewise.
9479 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
9480 t-softfp-excl, t-softfp to tmake_file.
9481 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
9482 rs6000/t-ppccomm-ldbl to tmake_file.
9483 (powerpcle-*-elf*): Likewise.
9484 (powerpcle-*-eabisim*): Likewise.
9485 (powerpcle-*-eabi*): Likewise.
9486 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
9487 rs6000/t-ibm-ldouble to tmake_file.
9488 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
9489 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
9490 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
9491 (tic6x-*-*): Likewise.
9492 (i[34567]86-*-darwin*, x86_64-*-darwin*,
9493 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
9494 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
9495 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
9496 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
9497 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
9498 t-softfp to tmake_file.
9499 * configure.ac (sfp_machine_header): Provide default if unset.
9500 Substitute.
9501 Link sfp-machine.h to config/$sfp_machine_header.
9502 * configure: Regenerate.
9503
569dc494
RO
95042011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9505
9506 * Makefile.in (double_type_size, long_double_type_size): Set.
9507 Remove $(fpbit-in-libgcc) support.
9508 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
9509 (fpbit-src): New variable.
9510 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
9511 Compile with -DFLOAT $(FPBIT_CFLAGS).
9512 Use $<.
9513 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
9514 Compile with $(FPBIT_CFLAGS).
9515 Use $<.
9516 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
9517 Compile with -DFLOAT $(TPBIT_CFLAGS).
9518 Use $<.
9519 * configure.ac (double_type_size, long_double_type_size):
9520 Determine and substitute.
9521 * configure: Regenerate.
9522 * fp-bit.c, fp-bit.h: New files.
9523 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
9524 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
9525 * config/mips/t-mips: New file.
9526 * config/mips/t-sdemtk: New file.
9527 * config/rs6000/ppc64-fp.c: New file.
9528 * config/rs6000/t-darwin (LIB2ADD): Add
9529 $(srcdir)/config/rs6000/ppc64-fp.c.
9530 * config/rs6000/t-ppc64-fp: New file.
9531 * config/rx/rx-lib.h: New file.
9532 * config/rx/t-rx (FPBIT): Set to true.
9533 ($(gcc_objdir)/fp-bit.c): Remove.
9534 (DPBIT): Set to true only with -m64bit-doubles.
9535 ($(gcc_objdir)/dp-bit.c): Remove.
9536 * config/sparc/t-softfp: Remove.
9537 * config/spu/t-elf: New file.
9538 * config/t-fdpbit, config/t-fpbit: New files.
9539 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
9540 (mips*-*-*): Likewise.
9541 (arm-wrs-vxworks): Likewise.
9542 (arm*-*-freebsd*): Likewise.
9543 (avr-*-rtems*): Add t-fpbit to tmake_file.
9544 (avr-*-*): Likewise.
9545 (bfin*-elf*): Add t-fdpbit to tmake_file.
9546 (bfin*-uclinux*): Likewise.
9547 (bfin*-linux-uclibc*): Likewise.
9548 (bfin*-rtems*): New case.
9549 Add t-fdpbit to tmake_file.
9550 (bfin*-*): Add t-fdpbit to tmake_file.
9551 (crisv32-*-elf): Likewise.
9552 (cris-*-linux*): Likewise.
9553 (fr30-*-elf): Likewise.
9554 (frv-*-elf, frv-*-*linux*): Likewise.
9555 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
9556 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
9557 (m32r-*-elf*): Likewise.
9558 (m32rle-*-elf*): Likewise.
9559 (m32r-*-linux*): Likewise.
9560 (m32rle-*-linux*): Likewise.
9561 (mcore-*-elf): Add t-fdpbit to tmake_file.
9562 (microblaze*-*-*): Likewise.
9563 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
9564 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
9565 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
9566 Fix typo.
9567 Add mips/t-tpbit to tmake-file.
9568 (mips*-*-linux*): Fix typo.
9569 (mips*-sde-elf*): New case
9570 Add mips/t-sdemtk unless using newlib.
9571 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
9572 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
9573 (mn10300-*-*): Likewise.
9574 (pdp11-*-*): Likewise.
9575 (picochip-*-*): Add t-fpbit to tmake_file.
9576 (powerpc-*-eabisimaltivec*): Likewise.
9577 (powerpc-*-eabisim*): Likewise.
9578 (powerpc-*-elf*): Likewise.
9579 (powerpc-*-eabialtivec*): Likewise.
9580 (powerpc-xilinx-eabi*): New case.
9581 Add t-fdpbit to tmake_file.
9582 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
9583 (powerpc-*-rtems*): Likewise.
9584 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
9585 tmake_file.
9586 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
9587 tmake_file.
9588 (powerpc-*-lynxos*): Likewise.
9589 (powerpcle-*-elf*): Likewise.
9590 (powerpcle-*-eabisim*): Likewise.
9591 (powerpcle-*-eabi*): Likewise.
9592 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
9593 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
9594 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
9595 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
9596 (rx-*-elf): Add t-fdpbit to tmake_file.
9597 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
9598 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
9599 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
9600 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
9601 sh*-*-netbsd*.
9602 (sh-*-rtems*): Add t-fdpbit to tmake_file.
9603 (sh-wrs-vxworks): Likewise.
9604 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
9605 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
9606 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
9607 (sparc64-*-rtems*): ... new case.
9608 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
9609 (spu-*-elf*): Likewise.
9610 Add spu/t-elf to tmake_file.
9611 (v850*-*-*): Add t-fdpbit to tmake_file.
9612 (xstormy16-*-elf): Likewise.
9613 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
9614 (mep*-*-*): Likewise.
9615
201cdb74
RO
96162011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9617
9618 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
9619 variables.
9620 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
9621 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
9622 (install-unwind_h): New target.
9623 (all): Depend on it.
9624 * config.host (unwind_header): New variable.
9625 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
9626 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
9627 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
9628 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
9629 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
9630 Set unwind_header.
9631 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
9632 Set unwind_header.
9633 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
9634 arm*-*-eabi*.
9635 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
9636 Set unwind_header.
9637 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
9638 (ia64*-*-freebsd*): Likewise.
9639 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
9640 tmake_file.
9641 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
9642 $with_system_libunwind.
9643 (ia64*-*-hpux*): Set tmake_file.
9644 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
9645 (picochip-*-*): Set tmake_file.
9646 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
9647 md_unwind_header.
9648 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
9649 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
9650 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
9651 (xtensa*-*-elf*): Set tmake_file.
9652 (xtensa*-*-linux*): Likewise.
9653 * configure.ac: Include ../config/unwind_ipinfo.m4.
9654 Call GCC_CHECK_UNWIND_GETIPINFO.
9655 Link unwind.h to $unwind_header.
9656 * configure: Regenerate.
9657 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
9658 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
9659 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
9660 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
9661 * config/unwind-dw2-fde-darwin.c: New file.
9662 * config/arm/libunwind.S, config/arm/pr-support.c,
9663 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
9664 config/arm/unwind-arm.h,: New files.
9665 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
9666 config/ia64/t-eh-ia64, config/ia64/t-glibc,
9667 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
9668 config/ia64/t-vms, config/ia64/unwind-ia64.c,
9669 config/ia64/unwind-ia64.h: New files.
9670 * config/picochip/t-picochip: New file.
9671 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
9672 files.
9673 * config/rs6000/t-darwin (LIB2ADDEH): Set.
9674 * config/s390/t-tpf (LIB2ADDEH): Remove.
9675 * config/t-darwin (LIB2ADDEH): Set.
9676 * config/t-eh-dw2-dip: New file.
9677 * config/t-libunwind, config/t-libunwind-elf: New files.
9678 * config/t-sol2 (LIB2ADDEH): Remove.
9679 * config/xtensa/t-xtensa: New file.
9680
40f2f11f
L
96812011-08-02 H.J. Lu <hongjiu.lu@intel.com>
9682
9683 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
9684 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
9685 long long to check rt_sigreturn syscall.
9686
bd15e32c
AM
96872011-08-02 Alan Modra <amodra@gmail.com>
9688
9689 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
9690 Restore for indirect call bcrtl from correct stack slot, and only
9691 if cfa+40 isn't valid.
9692
655b30bf
JB
96932011-08-01 Julian Brown <julian@codesourcery.com>
9694
9695 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
9696 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
9697 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
9698
247eb06f
JB
96992011-08-01 Julian Brown <julian@codesourcery.com>
9700
9701 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
9702 (libgcc-std.ver.in): Use above.
9703 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
9704 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
9705 throughout file.
9706 * config/t-fixedpoint-gnu-prefix: New file.
9707 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
9708 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
9709 instead of __PFX__.
9710
02a8fe00
L
97112011-07-28 H.J. Lu <hongjiu.lu@intel.com>
9712
9713 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
9714 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
9715 for x86-64. Properly check __x86_64__ and __LP64__.
9716
5fce9126
L
97172010-07-28 H.J. Lu <hongjiu.lu@intel.com>
9718
9719 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
9720 version.
9721 (_FP_WS_TYPE): Likewise.
9722 (_FP_I_TYPE): Likewise.
9723
2374a88a
AM
97242011-07-28 Alan Modra <amodra@gmail.com>
9725
9726 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
9727 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
9728 in a plt call stub. Do restore r2 if stopped on bctrl.
9729
e44dbbe1
RO
97302011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9731
9732 * config.host (i[3456x]86-*-netware*): Remove.
9733 * config/i386/netware-crt0.c, config/i386/t-nwld,
9734 config/i386/t-slibgcc-nwld: Remove.
9735
bcead286
BS
97362011-07-15 Bernd Schmidt <bernds@codesourcery.com>
9737
9738 * config.host: Handle tic6x-*-*.
9739 * config/c6x/c6x-abi.h: New file.
9740
b3fe1584
RO
97412011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9742
9743 * config/i386/crtprec.c: New file.
9744 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
9745 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
9746 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
9747 (x86_64-*-darwin*): Likewise.
9748 (i[34567]86-*-solaris2*: Likewise.
9749
35d8090d
RO
97502011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9751
9752 * config/alpha/crtfastmath.c: New file.
9753 * config/i386/crtfastmath.c: New file.
9754 * config/ia64/crtfastmath.c: New file.
9755 * config/mips/crtfastmath.c: New file.
9756 * config/sparc/crtfastmath.c: New file.
9757
9758 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
9759 crtfastmath.c.
9760 Add -frandom-seed=gcc-crtfastmath.
9761 * config/alpha/t-crtfm: Remove.
9762 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
9763 * config/ia64/t-ia64 (crtfastmath.o): Remove.
9764
9765 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
9766 (alpha*-dec-osf5.1*): Likewise.
9767 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
9768 Add crtfastmath.o to extra_parts.
9769 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
9770 Add crtfastmath.o to extra_parts.
9771 (x86_64-*-darwin*): Likewise.
9772 (x86_64-*-mingw*): Likewise.
9773 (ia64*-*-elf*): Add t-crtfm to tmake_file.
9774 (ia64*-*-freebsd*): Likewise.
9775 (ia64*-*-linux*): Likewise.
9776 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
9777 Add crtfastmath.o to extra_parts.
9778
e141542e
RO
97792011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9780
9781 * config/darwin-crt3.o: New file.
9782 * config/rs6000/darwin-crt2.c: New file.
9783 * config/t-darwin: New file.
9784 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
9785 (crt2.o): New rule.
9786 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
9787 (powerpc-*-darwin*): Add crt2.o to extra_parts.
9788 (powerpc64-*-darwin*): Likewise.
9789
2d1efe2d
RO
97902011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9791
9792 * config/i386/netware-crt0.c: New file.
9793 * config/i386/t-nwld: Rename to ...
9794 * config/i386/t-slibgcc-nwld: ... this.
9795 * config/i386/t-nwld: New file.
9796 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
9797 tmake_file.
9798 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
9799 extra_parts.
9800
4a8bb046
RO
98012011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9802
9803 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
9804 i386/t-crtstuff.
9805 * configure: Regenerate.
9806
2d8d5935
RO
98072011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9808
9809 * dfp-bit.c, dfp-bit.h: New files.
9810 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
9811 variables.
9812 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
9813 ($(d64pbit-o)): Likewise.
9814 ($(d128pbit-o)): Likewise.
9815 * config/t-dfprules: New file.
9816 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
9817 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
9818 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
9819 (x86_64-*-linux*): Likewise.
9820 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
9821 (i[34567]86-*-cygwin*): Likewise.
9822 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
9823 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
9824
2c50b2c3
RO
98252011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9826
9827 * Makfile.in (LIBGCOV): New variable.
9828 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
9829 * libgcov.c: New file.
9830
a039d7c2
RO
98312011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9832
9833 * fixed-bit.c, fixed-bit.h: New files.
9834 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
9835 refer to fixed-bit.c.
9836
1e4b2746
JM
98372011-07-07 Joseph Myers <joseph@codesourcery.com>
9838
9839 * config.host (*local*): Remove.
9840
fbdd5d87
RO
98412011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9842
9843 PR target/39150
9844 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
9845 like i?86-*-solaris2.1[0-9]*.
9846 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
9847 * configure.ac (i?86-*-solaris2*): Likewise.
9848 * configure: Regenerate.
9849
9e7714f4
TS
98502011-07-06 Thomas Schwinge <thomas@schwinge.name>
9851
9852 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
9853 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
9854 md_unwind_header by splitting out of...
9855 (i[34567]86-*-linux*): ... this.
9856 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
9857 Remove md_unwind_header by splitting out of...
9858 (x86_64-*-linux*): ... this.
9859
6dab9931
GJL
98602011-07-04 Georg-Johann Lay <avr@gjlay.de>
9861
9862 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
9863
4be46d19
NC
98642011-06-28 Nick Clifton <nickc@redhat.com>
9865
9866 * config.host: Recognize all V850 variants.
9867
1da9434b
UB
98682011-06-22 Uros Bizjak <ubizjak@gmail.com>
9869
9870 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
9871
e4d48a4d
RO
98722011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9873
9874 * shared-object.mk (c_flags-$o): Save c_flags.
9875 ($(base)$(objext)): Use it.
9876 ($(base)_s$(objext)): Likewise.
9877
3801c801
BS
98782011-06-21 Bernd Schmidt <bernds@codesourcery.com>
9879
9880 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
9881 * libgcc-std.ver.in (GCC_4.7.0): New section.
9882
0ad8bb3b 98832011-06-16 Georg-Johann Lay <avr@gjlay.de>
1da9434b 9884
0ad8bb3b
GJL
9885 PR target/49313
9886 PR target/29524
9887 * config/avr/t-avr: Fix line endings.
9888 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
9889 _parityXX2.
9890
ea963999
OH
98912011-06-14 Olivier Hainque <hainque@adacore.com>
9892 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9893
9894 * config/mips/irix6-unwind.h: New file.
9895 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
9896
b11b0904
EB
98972011-06-10 Eric Botcazou <ebotcazou@adacore.com>
9898
9899 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
9900 (sparc64_fallback_frame_state): Use it.
9901 (sparc64_frob_update_context): Further adjust context.
9902 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
9903 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
9904 * config/sparc/sol2-cn.S: Likewise.
9905
10e48e39
RO
99062011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9907
9908 * enable-execute-stack-empty.c: New file.
9909 * enable-execute-stack-mprotect.c: New file.
9910 * config/i386/enable-execute-stack-mingw32.c: New file.
9911 * config.host (enable_execute_stack): New variable.
9912 Select appropriate variants.
9913 * configure.ac: Link enable-execute-stack.c to
9914 $enable_execute_stack.
9915 * configure: Regenerate.
9916 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
9917 (lib2funcs): Remove _enable_execute_stack.
9918
10c4cabc
DM
99192011-06-09 David S. Miller <davem@davemloft.net>
9920 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9921
9922 * config.host (sparc-*-linux*): Correct md_unwind_header
9923 filename.
9924 (s390x-ibm-tpf*): Fix typo.
9925
aa4203e7
RO
99262011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9927
9928 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
9929 Add crtfastmath.o to extra_parts.
9930 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
9931 mips/t-crtfm.
9932 * config/mips/t-crtfm: Remove.
9933
0defd786
JDA
99342011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
9935
9936 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
9937
82f247af
KK
99382011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
9939
9940 * config.host (sh*-*-linux*): Fix typo.
9941
58cd1d70
RO
99422011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9943
9944 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
9945 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
9946 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
9947 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
9948 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
9949 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
9950 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
9951 Wrap in !__MINGW64__.
9952 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
9953 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
9954 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
9955 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
9956 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
9957 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
9958 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
9959 Wrap in !__LP64__.
9960 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
9961 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
9962 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
9963 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
9964 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
9965 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
9966 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
9967 * config/no-unwind.h: New file.
9968 * config.host (md_unwind_header): Document.
9969 Define.
9970 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
9971 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
9972 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
9973 hppa[12]*-*-hpux11*): Set md_unwind_header.
9974 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
9975 Set md_unwind_header.
9976 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
9977 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
9978 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
9979 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
9980 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
9981 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
9982 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
9983 md_unwind_header.
9984 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
9985 * configure: Regenerate.
9986
737346fa
RO
99872011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9988
9989 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
9990 Set tmake_file, extra_parts.
9991 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
9992 Remove O32 support.
9993 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
9994 Remove O32 support.
9995 * config/mips/t-irix6: New file.
9996 * config/mips/t-slibgcc-irix: New file.
9997
c192cee6
RO
99982011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9999
10000 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
10001 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
10002
ee33b5f0
RO
100032011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10004
10005 * configure.ac (target_thread_file): Determine thread model.
10006 * configure: Regenerate.
10007 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
10008 * config/alpha/t-alpha: New file.
10009 * config/alpha/t-crtfm: Use $<.
10010 * config/alpha/t-ieee: New file.
10011 * config/alpha/t-osf-pthread: New file.
10012 * config/alpha/t-slibgcc-osf: New file.
10013 * config/alpha/libgcc-osf5.ver: New file.
10014
0699e415
RO
100152011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10016
10017 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
10018 tmake_file.
10019 Add crtfastmath.o to extra_parts.
10020
a3fab9c2
RO
100212011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10022
10023 * config/gmon-sol2.c: Reindent.
10024 Cleanup comments.
10025 Remove, correct casts.
10026 Use STDERR_FILENO, NULL.
10027 (BASEADDRESS): Remove.
10028 (minbrk): Remove.
10029 (errno, sbrk): Remove declarations.
10030 (monstartup) [hp300]: Remove.
10031 (mcount): Remove.
10032
ca24c5ad
RO
100332011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10034
10035 * Makefile.in (cpu_type): Define.
10036 * config.host (i[34567]86-*-rtems*): Handle it.
10037 (i[34567]86-*-solaris2*): Move body ...
10038 (*-*-solaris2*): ... here.
10039 New case, generalize.
10040 (sparc-*-elf*): Handle it.
10041 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
10042 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
10043 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
10044 Fold into ...
10045 (sparc*-*-solaris2*): ... this.
10046 New case.
10047 (sparc64-*-elf*): Handle it.
10048 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
10049 Merge ../gcc/config/i386/gmon-sol2.c.
10050 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
10051 Use C comments.
10052 Merge ../gcc/config/i386/sol2-gc1.asm.
10053 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
10054 Use C comments.
10055 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
10056 Use C comments.
10057 * config/i386/t-crtfm (crtfastmath.o): Use $<.
10058 * config/i386/t-crtstuff: New file.
10059 * config/i386/t-softfp: New file.
10060 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
10061 $(T)crti.o, $(T)crtn.o): Remove.
10062 (gcrt1.o): New rule.
10063 (TARGET_LIBGCC2_CFLAGS): Remove.
10064 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
10065 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
10066 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
10067 * config/sparc/t-sol2: New file.
10068 * config/sparc/t-crtfm: Move to ...
10069 * config/t-crtfm: ... this.
10070 Use $(cpu_type), $<.
10071 * config/t-crtin: New file.
10072 * config/sparc/t-softfp: New file.
10073 * config/sparc/t-softmul: New file.
10074 * config/t-rtems: New file.
10075 * config/t-slibgcc: New file.
10076 * config/t-slibgcc-elf-ver: New file.
10077 * config/t-slibgcc-gld: New file.
10078 * config/t-slibgcc-sld: New file.
10079 * config/t-sol2: New file.
10080 * configure.ac: Include ../config/lib-ld.m4.
10081 Call AC_LIB_PROG_LD_GNU.
10082 Substitute cpu_type.
10083 * configure: Regenerate.
10084
ad5f3d7b
BS
100852011-05-27 Bernd Schmidt <bernds@codesourcery.com>
10086
10087 PR bootstrap/49173
10088 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
10089 libgcc-std.ver in the build directory.
10090 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
10091 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
10092
cdbf4541
BS
100932011-05-25 Bernd Schmidt <bernds@codesourcery.com>
10094
10095 * libgcc-std.ver.in: New file.
10096 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
10097 variables.
10098 (libgcc-std.ver): New rule.
10099 * config/t-gnu-prefix: New file.
10100
c8028650
RO
101012011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10102
10103 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
10104
4a68b4ca
JM
101052011-05-10 Joseph Myers <joseph@codesourcery.com>
10106
10107 * config/i386/darwin-lib.h: New file.
10108
80cf2e08
JM
101092011-05-10 Joseph Myers <joseph@codesourcery.com>
10110
10111 * config/arm/symbian-lib.h: New.
10112
a3330c9d
CD
101132011-05-04 Chris Demetriou <cgd@google.com>
10114
10115 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
10116 (__x86.get_pc_thunk.bx): ...this.
10117 (__morestack): Adjust for rename, remove undef of __i686.
10118
6ace0756
CD
101192011-05-03 Chris Demetriou <cgd@google.com>
10120
10121 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
10122
ebb9f8b0
JM
101232011-03-22 Joseph Myers <joseph@codesourcery.com>
10124
10125 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
10126 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
10127 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
10128 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
10129 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
10130 Remove cases.
10131
9cfa1499
AT
101322011-03-14 Andreas Tobler <andreast@fgznet.ch>
10133
10134 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
10135 Adjust copyright year.
10136
457186f6
ILT
101372011-03-07 Ian Lance Taylor <iant@google.com>
10138
10139 * generic-morestack.c (__splitstack_find): Adjust returned stack
10140 pointer to include all registers pushed by __morestack.
10141
58c741a6
DK
101422011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
10143
10144 PR target/40125
10145 * configure.ac: Call ACX_NONCANONICAL_TARGET.
10146 (toolexecdir): Calculate and AC_SUBST.
10147 (toolexeclibdir): Likewise.
10148 * Makefile.in (target_noncanonical): Import.
10149 (toolexecdir): Likewise.
10150 (toolexeclibdir): Likewise.
10151 * configure: Regenerate.
10152
26716c44
NF
101532010-12-13 Nathan Froyd <froydnj@codesourcery.com>
10154
10155 PR target/46040
10156 * config/arm/bpabi.h: Rename to...
10157 * config/arm/bpabi-lib.h: ...this.
10158
b595b1a1
RO
101592010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10160
10161 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
10162 appropriate.
10163 * configure: Regenerate.
10164
a3abe41c
NF
101652010-11-24 Nathan Froyd <froydnj@codesourcery.com>
10166
10167 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
10168 __FLOAT_WORD_ORDER__.
10169 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
10170 Delete.
10171
455c8f48
RW
101722010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
10173
10174 PR other/46202
10175 * Makefile.in (install-strip): New phony target.
10176
f3824a8b
ILT
101772010-11-07 Ian Lance Taylor <iant@google.com>
10178
10179 PR target/46089
10180 * config/i386/morestack.S (__morestack_large_model): New
10181 function.
10182
18ed6ee4
NF
101832010-10-23 Nathan Froyd <froydnj@codesourcery.com>
10184
10185 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
10186 Delete.
10187 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
10188
8ac7fdcb
NF
101892010-10-14 Nathan Froyd <froydnj@codesourcery.com>
10190
10191 * config/arm/bpabi.h: New file.
10192 * config/frv/frv-abi.h: New file.
10193
cdb388c2
ILT
101942010-10-01 Ian Lance Taylor <iant@google.com>
10195
10196 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
10197 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
10198
ef7c141c
L
101992010-10-01 H.J. Lu <hongjiu.lu@intel.com>
10200
10201 PR target/45858
10202 * config.host: Add the missing `$'.
10203
80920132
ME
102042010-09-30 Michael Eager <eager@eagercon.com>
10205
10206 * config.host: Add microblaze*-*-*.
10207 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
10208 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
10209 udivsi3.asm,umodsi3.asm}: New.
10210
6dace308
ILT
102112010-09-28 Ian Lance Taylor <iant@google.com>
10212
10213 * configure.ac: Adjust CFI test to test assembler directly rather
10214 than checking gcc preprocessor macro.
10215 * configure: Rebuild.
10216
b6110d6d
ILT
102172010-09-27 Ian Lance Taylor <iant@google.com>
10218
10219 * configure.ac: Test whether assembler supports CFI directives.
10220 * config.host: Only add t-stack and i386/t-stack-i386 to
10221 tmake_file if libgcc_cv_cfi is "yes".
10222 * configure: Rebuild.
10223
7458026b
ILT
102242010-09-27 Ian Lance Taylor <iant@google.com>
10225
10226 * generic-morestack.h: New file.
10227 * generic-morestack.c: New file.
10228 * generic-morestack-thread.c: New file.
10229 * config/i386/morestack.S: New file.
10230 * config/t-stack: New file.
10231 * config/i386/t-stack-i386: New file.
10232 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
10233 i386/t-stack-i386 to tmake_file.
10234
5b50fc0c
IS
102352010-09-21 Iain Sandoe <iains@gcc.gnu.org>
10236
10237 * Makefile.in (libgcc-extra-parts): Check for static archives and
10238 invoke ranlib after installing them.
10239 (gcc-extra-parts): Likewise.
10240 (install-leaf): Likewise.
10241
b93cf342
L
102422010-09-14 H.J. Lu <hongjiu.lu@intel.com>
10243
10244 * configure: Regenerated.
10245
996b42ef
KT
102462010-09-10 Kai Tietz <kai.tietz@onevision.com>
10247
b93cf342 10248 * configure: Regenerated.
996b42ef 10249
be1c764e
GP
102502010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
10251 Andrew Pinski <pinskia@gmail.com>
10252
1da9434b 10253 PR target/40959
be1c764e
GP
10254 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
10255
cc0ae0ca
L
102562010-09-06 H.J. Lu <hongjiu.lu@intel.com>
10257
10258 PR target/45524
10259 * configure: Regenerated.
10260
84f47d20
AS
102612010-09-06 Andreas Schwab <schwab@redhat.com>
10262
10263 * configure: Regenerate.
10264
4159fb8d
UB
102652010-09-03 Uros Bizjak <ubizjak@gmail.com>
10266
10267 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
10268 64bit targets.
10269 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
10270 for 64bit targets.
10271
0df8fcc8
UB
102722010-09-03 Uros Bizjak <ubizjak@gmail.com>
10273 Iain Sandoe <iains@gcc.gnu.org>
10274
10275 PR target/45476
10276 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
10277 LIB2FUNCS_EXCLUDE functions.
10278
3c39bca6
AK
102792010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10280
10281 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
10282 Include dfp.m4.
10283 * configure: Regenerate.
10284
d78552bd
UB
102852010-09-01 Uros Bizjak <ubizjak@gmail.com>
10286
10287 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
10288 i386/t-freebsd to tmake_file.
10289 * config/i386/t-freebsd: New file.
10290 * config/i386/libgcc-bsd.ver: New file.
10291
c5b79d4e
NF
102922010-07-23 Nathan Froyd <froydnj@codesourcery.com>
10293
10294 * config.host (powerpc*-eabispe*): Set tmake_file.
10295 (powerpc*-eabi*): Likewise.
10296 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
10297 crtbeginS, crtendS, crtbeginT.
10298
48b09a92
KH
102992010-06-12 Kazu Hirata <kazu@codesourcery.com>
10300
10301 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
10302 to tmake_file. Add crtfastmath.o to extra_parts.
10303 * config/mips/t-crtfm: New.
10304
7d296953 103052010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
a4389204
JS
10306
10307 * config.host (sparc64-*-rtems*): New target.
10308
ed104137
RO
103092010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10310
10311 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
10312 assembler syntax.
10313
3f56ef8b
TS
103142010-04-15 Thomas Schwinge <tschwinge@gnu.org>
10315
10316 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
10317
8c200350
RO
103182010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10319
10320 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
10321 alpha-dec-osf5.0* support.
10322
7d296953 103232010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
c1b14424
RC
10324
10325 * config.host: Add lm32-*-rtems*.
10326
f128db92 103272010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7d296953 10328 Uros Bizjak <ubizjak@gmail.com>
f128db92
RO
10329
10330 PR target/39048
10331 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
10332 like other remaining 32-bit x86 OSes.
10333 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
10334 assembler syntax.
10335 * config/i386/libgcc-sol2.ver: New file.
10336 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
10337
7d296953 103382010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
368fabd5
JH
10339
10340 PR c/43553
10341 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
10342 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
10343 is used and substitute set_use_emutls.
10344 * configure: Regenerated.
10345
15baf7f8
TG
103462010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
10347
10348 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
10349
7f5441df
RO
103502010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10351
10352 PR target/38085
10353 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
10354 MULTILIB_CFLAGS.
10355 ($(T)gcrt1.o): Likewise.
10356 ($(T)crt1.o): Likewise.
10357 ($(T)crti.o): Likewise.
10358 ($(T)crtn.o): Likewise.
10359
ef74edbd
RW
103602010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
10361
10362 PR other/42980
10363 * Makefile.in (install): Use $(MAKE) string in rule, for
10364 parallel make.
10365
e7c914db
HPN
103662010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
10367
10368 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
10369 * config/mmix/t-mmix: New file.
10370 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
10371
1bcb71c4
JH
103722010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
10373
10374 PR java/41991
10375 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
10376 SHLIB_MAPFILES.
10377
e6e50811
AG
103782010-01-04 Anthony Green <green@moxielogic.com>
10379
10380 * config/moxie/crti.asm, config/moxie/crtn.asm,
10381 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
10382 config/moxie/t-moxie: New files.
10383 * config.host: Add t-moxie-softfp reference.
10384
7d296953 103852009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
ca8520ad
IS
10386
10387 PR other/39888
10388 * config/t-slibgcc-darwin: Fix embedded rpaths for
10389 --enable-version-specific-runtime-libs, build extension stub
10390 libs exposing features available from current libgcc_s.
10391
7d296953 103922009-11-11 Jon Beniston <jon@beniston.com>
aa4945c1 10393
d78552bd
UB
10394 * config.host: Add lm32 targets.
10395 * config/lm32: New directory.
10396 * config/lm32/libgcc_lm32.h: New file.
10397 * config/lm32/_mulsi3.c: New file.
10398 * config/lm32/_udivmodsi4.c: New file.
10399 * config/lm32/_divsi3.c: New file.
10400 * config/lm32/_modsi3.c: New file.
10401 * config/lm32/_udivsi3.c: New file.
10402 * config/lm32/_umodsi3.c: New file.
10403 * config/lm32/_lshrsi3.S: New file.
10404 * config/lm32/_ashrsi3.S: New file.
10405 * config/lm32/_ashlsi3.S: New file.
10406 * config/lm32/crti.S: New file.
10407 * config/lm32/crtn.S: New file.
10408 * config/lm32/t-lm32: New file.
10409 * config/lm32/t-elf: New file.
10410 * config/lm32/t-uclinux: New file.
aa4945c1 10411
65a324b4
NC
104122009-10-26 Nick Clifton <nickc@redhat.com>
10413
10414 * config.host: Add support for RX target.
10415 * config/rx: New directory.
10416 * config/rx/rx-abi-functions.c: New file. Supplementary
10417 functions for libgcc to support the RX ABI.
10418 * config/rx/rx-abi.h: New file. Supplementary header file for
10419 libgcc RX ABI functions.
10420 * config/rx/t-rx: New file: Makefile fragment for building
10421 libgcc for the RX.
10422
dfb3b0e3
UB
104232009-10-09 Uros Bizjak <ubizjak@gmail.com>
10424
10425 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
10426 constraint of y0 to "g".
10427
81dd9fd7
AK
104282009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10429
10430 * config.host: Include the s390 makefile fragments.
10431 * config/s390/32/_fixdfdi.c: New file.
10432 * config/s390/32/_fixsfdi.c: New file.
10433 * config/s390/32/_fixtfdi.c: New file.
10434 * config/s390/32/_fixunsdfdi.c: New file.
10435 * config/s390/32/_fixunssfdi.c: New file.
10436 * config/s390/32/_fixunstfdi.c: New file.
10437 * config/s390/32/t-floattodi: New file.
10438 * config/s390/libgcc-glibc.ver: New file.
10439 * config/s390/t-crtstuff: New file.
10440 * config/s390/t-linux: New file.
10441 * config/s390/t-tpf: New file.
10442
df58e648
RW
104432009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
10444
10445 * configure.ac (AC_PREREQ): Bump to 2.64.
10446
79052be3
KK
104472009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
10448
10449 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
10450
5213506e
RW
104512009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
10452
10453 * configure: Regenerate.
10454
a9a25daa
DR
104552009-08-09 Douglas B Rupp <rupp@gnat.com>
10456
10457 * config.host (ia64-hp-*vms*): New target.
10458 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
10459 with ia64-hp-*vms*.
10460
6efbd53f
RW
104612009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
10462
10463 * configure.ac: Add snippet for maintainer-mode.
10464 * configure: Regenerate.
10465 * Makefile.in (AUTOCONF, configure_deps): New variables.
10466 ($(srcdir)/configure)): New rule, active only with maintainer
10467 mode turned on.
10468
7acf4da6
DD
104692009-06-23 DJ Delorie <dj@redhat.com>
10470
10471 Add MeP port.
10472 * config.host: Add mep support.
10473
54f549af
KT
104742009-06-22 Kai Tietz <kai.tietz@onevision.com>
10475
34481f28 10476 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 10477 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
34481f28
UB
10478
10479 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
10480 for mingw targets.
54f549af
KT
10481 * config/i386/64/_multc3.c: Likewise.
10482 * config/i386/64/_powitf2.c: Likewise.
10483 * config/i386/64/eqtf2.c: Likewise.
10484 * config/i386/64/getf2.c: Likewise.
10485 * config/i386/64/letf2.c: Likewise.
10486 * config/i386/64/letf2.c: Likewise.
34481f28
UB
10487 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
10488 unsigned long long for x64 mingw targets.
10489 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
10490 (_FP_I_TYPE): Define as long long for x64 mingw target.
54f549af 10491
fea96e25
MR
104922009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
10493
10494 * config.host (vax-*-linux*): New.
10495
cceb575c
AG
104962009-05-31 Anthony Green <green@moxielogic.com>
10497
10498 * config.host: Add moxie support.
10499 * config/moxie/t-moxie: New file.
10500
7d296953 105012009-05-29 David Billinghurst <billingd@gcc.gnu.org>
e997fb9c
DB
10502
10503 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 10504 t-softfp to tmake_file for i[34567]86-*-cygwin*.
e997fb9c 10505
532bfb0a
AJ
105062009-04-17 Aurelien Jarno <aurelien@aurel32.net>
10507
10508 * config.host: Add i386/${host_address}/t-fprules-softfp to
10509 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
10510
748086b7
JJ
105112009-04-09 Nick Clifton <nickc@redhat.com>
10512
10513 * config/ia64/tf-signs.c: Change copyright header to refer to
10514 version 3 of the GNU General Public License with version 3.1
10515 of the GCC Runtime Library Exception and to point readers at
10516 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
10517 web page.
10518 * config/i386/32/tf-signs.c: Likewise.
10519 * config/libbid/_addsub_dd.c: Likewise.
10520 * config/libbid/_addsub_sd.c: Likewise.
10521 * config/libbid/_addsub_td.c: Likewise.
10522 * config/libbid/_dd_to_df.c: Likewise.
10523 * config/libbid/_dd_to_di.c: Likewise.
10524 * config/libbid/_dd_to_sd.c: Likewise.
10525 * config/libbid/_dd_to_sf.c: Likewise.
10526 * config/libbid/_dd_to_si.c: Likewise.
10527 * config/libbid/_dd_to_td.c: Likewise.
10528 * config/libbid/_dd_to_tf.c: Likewise.
10529 * config/libbid/_dd_to_udi.c: Likewise.
10530 * config/libbid/_dd_to_usi.c: Likewise.
10531 * config/libbid/_dd_to_xf.c: Likewise.
10532 * config/libbid/_df_to_dd.c: Likewise.
10533 * config/libbid/_df_to_sd.c: Likewise.
10534 * config/libbid/_df_to_td.c: Likewise.
10535 * config/libbid/_di_to_dd.c: Likewise.
10536 * config/libbid/_di_to_sd.c: Likewise.
10537 * config/libbid/_di_to_td.c: Likewise.
10538 * config/libbid/_div_dd.c: Likewise.
10539 * config/libbid/_div_sd.c: Likewise.
10540 * config/libbid/_div_td.c: Likewise.
10541 * config/libbid/_eq_dd.c: Likewise.
10542 * config/libbid/_eq_sd.c: Likewise.
10543 * config/libbid/_eq_td.c: Likewise.
10544 * config/libbid/_ge_dd.c: Likewise.
10545 * config/libbid/_ge_sd.c: Likewise.
10546 * config/libbid/_ge_td.c: Likewise.
10547 * config/libbid/_gt_dd.c: Likewise.
10548 * config/libbid/_gt_sd.c: Likewise.
10549 * config/libbid/_gt_td.c: Likewise.
10550 * config/libbid/_isinfd128.c: Likewise.
10551 * config/libbid/_isinfd32.c: Likewise.
10552 * config/libbid/_isinfd64.c: Likewise.
10553 * config/libbid/_le_dd.c: Likewise.
10554 * config/libbid/_le_sd.c: Likewise.
10555 * config/libbid/_le_td.c: Likewise.
10556 * config/libbid/_lt_dd.c: Likewise.
10557 * config/libbid/_lt_sd.c: Likewise.
10558 * config/libbid/_lt_td.c: Likewise.
10559 * config/libbid/_mul_dd.c: Likewise.
10560 * config/libbid/_mul_sd.c: Likewise.
10561 * config/libbid/_mul_td.c: Likewise.
10562 * config/libbid/_ne_dd.c: Likewise.
10563 * config/libbid/_ne_sd.c: Likewise.
10564 * config/libbid/_ne_td.c: Likewise.
10565 * config/libbid/_sd_to_dd.c: Likewise.
10566 * config/libbid/_sd_to_df.c: Likewise.
10567 * config/libbid/_sd_to_di.c: Likewise.
10568 * config/libbid/_sd_to_sf.c: Likewise.
10569 * config/libbid/_sd_to_si.c: Likewise.
10570 * config/libbid/_sd_to_td.c: Likewise.
10571 * config/libbid/_sd_to_tf.c: Likewise.
10572 * config/libbid/_sd_to_udi.c: Likewise.
10573 * config/libbid/_sd_to_usi.c: Likewise.
10574 * config/libbid/_sd_to_xf.c: Likewise.
10575 * config/libbid/_sf_to_dd.c: Likewise.
10576 * config/libbid/_sf_to_sd.c: Likewise.
10577 * config/libbid/_sf_to_td.c: Likewise.
10578 * config/libbid/_si_to_dd.c: Likewise.
10579 * config/libbid/_si_to_sd.c: Likewise.
10580 * config/libbid/_si_to_td.c: Likewise.
10581 * config/libbid/_td_to_dd.c: Likewise.
10582 * config/libbid/_td_to_df.c: Likewise.
10583 * config/libbid/_td_to_di.c: Likewise.
10584 * config/libbid/_td_to_sd.c: Likewise.
10585 * config/libbid/_td_to_sf.c: Likewise.
10586 * config/libbid/_td_to_si.c: Likewise.
10587 * config/libbid/_td_to_tf.c: Likewise.
10588 * config/libbid/_td_to_udi.c: Likewise.
10589 * config/libbid/_td_to_usi.c: Likewise.
10590 * config/libbid/_td_to_xf.c: Likewise.
10591 * config/libbid/_tf_to_dd.c: Likewise.
10592 * config/libbid/_tf_to_sd.c: Likewise.
10593 * config/libbid/_tf_to_td.c: Likewise.
10594 * config/libbid/_udi_to_dd.c: Likewise.
10595 * config/libbid/_udi_to_sd.c: Likewise.
10596 * config/libbid/_udi_to_td.c: Likewise.
10597 * config/libbid/_unord_dd.c: Likewise.
10598 * config/libbid/_unord_sd.c: Likewise.
10599 * config/libbid/_unord_td.c: Likewise.
10600 * config/libbid/_usi_to_dd.c: Likewise.
10601 * config/libbid/_usi_to_sd.c: Likewise.
10602 * config/libbid/_usi_to_td.c: Likewise.
10603 * config/libbid/_xf_to_dd.c: Likewise.
10604 * config/libbid/_xf_to_sd.c: Likewise.
10605 * config/libbid/_xf_to_td.c: Likewise.
10606 * config/libbid/bid128.c: Likewise.
10607 * config/libbid/bid128_2_str.h: Likewise.
10608 * config/libbid/bid128_2_str_macros.h: Likewise.
10609 * config/libbid/bid128_2_str_tables.c: Likewise.
10610 * config/libbid/bid128_add.c: Likewise.
10611 * config/libbid/bid128_compare.c: Likewise.
10612 * config/libbid/bid128_div.c: Likewise.
10613 * config/libbid/bid128_fma.c: Likewise.
10614 * config/libbid/bid128_logb.c: Likewise.
10615 * config/libbid/bid128_minmax.c: Likewise.
10616 * config/libbid/bid128_mul.c: Likewise.
10617 * config/libbid/bid128_next.c: Likewise.
10618 * config/libbid/bid128_noncomp.c: Likewise.
10619 * config/libbid/bid128_quantize.c: Likewise.
10620 * config/libbid/bid128_rem.c: Likewise.
10621 * config/libbid/bid128_round_integral.c: Likewise.
10622 * config/libbid/bid128_scalb.c: Likewise.
10623 * config/libbid/bid128_sqrt.c: Likewise.
10624 * config/libbid/bid128_string.c: Likewise.
10625 * config/libbid/bid128_to_int16.c: Likewise.
10626 * config/libbid/bid128_to_int32.c: Likewise.
10627 * config/libbid/bid128_to_int64.c: Likewise.
10628 * config/libbid/bid128_to_int8.c: Likewise.
10629 * config/libbid/bid128_to_uint16.c: Likewise.
10630 * config/libbid/bid128_to_uint32.c: Likewise.
10631 * config/libbid/bid128_to_uint64.c: Likewise.
10632 * config/libbid/bid128_to_uint8.c: Likewise.
10633 * config/libbid/bid32_to_bid128.c: Likewise.
10634 * config/libbid/bid32_to_bid64.c: Likewise.
10635 * config/libbid/bid64_add.c: Likewise.
10636 * config/libbid/bid64_compare.c: Likewise.
10637 * config/libbid/bid64_div.c: Likewise.
10638 * config/libbid/bid64_fma.c: Likewise.
10639 * config/libbid/bid64_logb.c: Likewise.
10640 * config/libbid/bid64_minmax.c: Likewise.
10641 * config/libbid/bid64_mul.c: Likewise.
10642 * config/libbid/bid64_next.c: Likewise.
10643 * config/libbid/bid64_noncomp.c: Likewise.
10644 * config/libbid/bid64_quantize.c: Likewise.
10645 * config/libbid/bid64_rem.c: Likewise.
10646 * config/libbid/bid64_round_integral.c: Likewise.
10647 * config/libbid/bid64_scalb.c: Likewise.
10648 * config/libbid/bid64_sqrt.c: Likewise.
10649 * config/libbid/bid64_string.c: Likewise.
10650 * config/libbid/bid64_to_bid128.c: Likewise.
10651 * config/libbid/bid64_to_int16.c: Likewise.
10652 * config/libbid/bid64_to_int32.c: Likewise.
10653 * config/libbid/bid64_to_int64.c: Likewise.
10654 * config/libbid/bid64_to_int8.c: Likewise.
10655 * config/libbid/bid64_to_uint16.c: Likewise.
10656 * config/libbid/bid64_to_uint32.c: Likewise.
10657 * config/libbid/bid64_to_uint64.c: Likewise.
10658 * config/libbid/bid64_to_uint8.c: Likewise.
10659 * config/libbid/bid_b2d.h: Likewise.
10660 * config/libbid/bid_binarydecimal.c: Likewise.
10661 * config/libbid/bid_conf.h: Likewise.
10662 * config/libbid/bid_convert_data.c: Likewise.
10663 * config/libbid/bid_decimal_data.c: Likewise.
10664 * config/libbid/bid_decimal_globals.c: Likewise.
10665 * config/libbid/bid_div_macros.h: Likewise.
10666 * config/libbid/bid_dpd.c: Likewise.
10667 * config/libbid/bid_flag_operations.c: Likewise.
10668 * config/libbid/bid_from_int.c: Likewise.
10669 * config/libbid/bid_functions.h: Likewise.
10670 * config/libbid/bid_gcc_intrinsics.h: Likewise.
10671 * config/libbid/bid_inline_add.h: Likewise.
10672 * config/libbid/bid_internal.h: Likewise.
10673 * config/libbid/bid_round.c: Likewise.
10674 * config/libbid/bid_sqrt_macros.h: Likewise.
10675
106762009-04-09 Jakub Jelinek <jakub@redhat.com>
10677
10678 * Makefile.in: Change copyright header to refer to version
10679 3 of the GNU General Public License and to point readers at the
10680 COPYING3 file and the FSF's license web page.
10681 * config.host: Likewise.
10682
633dd061
AM
106832009-04-07 Alan Modra <amodra@bigpond.net.au>
10684
10685 * config.host: Reorder and merge to match config.gcc change.
10686
457d1d00
AM
106872009-04-03 Alan Modra <amodra@bigpond.net.au>
10688
10689 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
10690
52c0e446
JM
106912009-03-28 Joseph Myers <joseph@codesourcery.com>
10692
10693 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
10694 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
10695 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
10696 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
10697
ba181049
UB
106982009-02-12 Uros Bizjak <ubizjak@gmail.com>
10699
10700 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
10701 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
10702
c252db20
L
107032009-02-12 H.J. Lu <hongjiu.lu@intel.com>
10704
ba181049
UB
10705 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
10706 ia64/t-softfp-compat to tmake_file.
c252db20
L
10707
10708 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
10709
10710 * config/ia64/__divxf3.asm: New.
10711 * config/ia64/_fixtfdi.asm: Likewise.
10712 * config/ia64/_fixunstfdi.asm: Likewise.
10713 * config/ia64/_floatditf.asm: Likewise.
10714 * config/ia64/t-fprules-softfp: Likewise.
10715 * config/ia64/t-softfp-compat: Likewise.
10716 * config/ia64/tf-signs.c: Likewise.
10717
c60535f9
BE
107182009-01-18 Ben Elliston <bje@au.ibm.com>
10719
10720 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
10721
ce16861e
BE
107222009-01-16 Ben Elliston <bje@au.ibm.com>
10723
10724 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
10725 to tmake_file.
10726
bcf4713b
BE
107272009-01-13 Ben Elliston <bje@au.ibm.com>
10728
10729 * config/t-softfp: New file.
10730 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
10731 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
10732
7d296953 107332009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
2042cb04
JS
10734
10735 * config.host: Add m32r*-*-rtems*.
10736
7d296953 107372008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
541ed00e
JS
10738
10739 * config.host: Add m32c*-*-rtems*.
10740
19523300
RO
107412008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10742
10743 PR bootstrap/33100
10744 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
10745 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
10746 * configure: Regenerate.
10747 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
10748 tmake_file here from gcc/config.gcc.
10749 Move extra_parts here from gcc/config.gcc.
10750 * config/i386/t-sol2: Move here from gcc/config/i386.
10751 Use gcc_srcdir instead of srcdir.
10752
0a4a51c7
AN
107532008-11-18 Adam Nemet <anemet@caviumnetworks.com>
10754
10755 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
10756 case.
10757
2a761e46
TS
107582008-11-09 Thomas Schwinge <tschwinge@gnu.org>
10759
10760 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
10761
c0451df7
TS
107622008-10-08 Thomas Schwinge <tschwinge@gnu.org>
10763
10764 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
10765
358da97e
HS
107662008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
10767
10768 Add picoChip port.
10769 * config.host: Add picochip-*-*.
10770
c660f132
BW
107712008-08-06 Bob Wilson <bob.wilson@acm.org>
10772
10773 * config.host: Match more processor names for Xtensa.
10774
d1349557
L
107752008-07-08 H.J. Lu <hongjiu.lu@intel.com>
10776
10777 * config/i386/64/t-softfp-compat: Update comments.
10778
dd7b73c0
L
107792008-07-07 H.J. Lu <hongjiu.lu@intel.com>
10780
10781 * config/i386/64/_divtc3-compat.c: Moved to ...
10782 * config/i386/64/_divtc3.c: Here.
10783
10784 * config/i386/64/_multc3-compat.c: Moved to ...
10785 * config/i386/64/_multc3.c: Here.
10786
10787 * config/i386/64/_powitf2-compat.c: Moved to ...
10788 * config/i386/64/_powitf2.c: Here.
10789
10790 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
10791 .c suffix instead of -compat.c.
10792
6e1fab3d
UB
107932008-07-05 Uros Bizjak <ubizjak@gmail.com>
10794
10795 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
10796 (_FP_MUL_MEAT_D): Ditto.
10797 (_FP_DIV_MEAT_S): Ditto.
10798 (_FP_DIV_MEAT_D): Ditto.
10799
f92518d7
RS
108002008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
10801
10802 * Makefile.in: Add support for __sync_* libgcc functions.
10803
d0aede14
L
108042008-07-03 H.J. Lu <hongjiu.lu@intel.com>
10805
10806 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
10807
c174f11c
L
108082008-07-02 H.J. Lu <hongjiu.lu@intel.com>
10809
10810 PR boostrap/36702
10811 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
10812 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
10813
10814 * config/i386/64/t-fprules-softfp: Moved to ...
10815 * config/i386/64/t-softfp-compat: This. New.
10816
5f464fa2
UB
108172008-07-02 Uros Bizjak <ubizjak@gmail.com>
10818
10819 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
10820 Initialize f with 0.0.
10821
ff473280
L
108222008-07-02 H.J. Lu <hongjiu.lu@intel.com>
10823
10824 PR target/36669
10825 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
10826
10827 * config/i386/64/_divtc3-compat.c: New.
10828 * config/i386/64/_multc3-compat.c: Likewise.
10829 * config/i386/64/_powitf2-compat.c: Likewise.
10830 * config/i386/64/eqtf2.c: Likewise.
10831 * config/i386/64/getf2.c: Likewise.
10832 * config/i386/64/letf2.c: Likewise.
10833 * config/i386/64/t-fprules-softfp: Likewise.
10834
108352008-07-02 H.J. Lu <hongjiu.lu@intel.com>
10836
10837 * config.host: Add i386/${host_address}/t-fprules-softfp to
10838 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
dfb3b0e3 10839 i[34567]86-*-linux*, x86_64-*-linux*.
ff473280
L
10840
10841 * configure.ac: Set host_address to 64 or 32 for x86.
10842 * configure: Regenerated.
10843
10844 * Makefile.in (config.status): Also depend on
10845 $(srcdir)/config.host.
10846
10847 * config/i386/32/t-fprules-softfp: New.
10848 * config/i386/32/tf-signs.c: Likewise.
10849
10850 * config/i386/64/sfp-machine.h: New. Moved from gcc.
10851
108522008-07-02 H.J. Lu <hongjiu.lu@intel.com>
10853 Uros Bizjak <ubizjak@gmail.com>
10854
10855 * config/i386/32/sfp-machine.h: New.
10856
30551d99
NF
108572008-06-26 Nathan Froyd <froydnj@codesourcery.com>
10858
10859 * config/rs6000/t-ppccomm: Remove rules that conflict with
10860 auto-generated rules.
10861
18c04407
RW
108622008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
10863
10864 * configure.ac: sinclude override.m4.
10865 * configure: Regenerate.
10866
10fbe77a
BRF
108672008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
10868
10869 * configure: Regenerate.
10870
bc6d4c3f
JM
108712008-06-10 Joseph Myers <joseph@codesourcery.com>
10872
10873 * Makefile.in (DECNUMINC): Remove
10874 -I$(MULTIBUILDTOP)../../libdecnumber.
10875 * gstdint.h: New.
10876
cd985f66
JM
108772008-06-07 Joseph Myers <joseph@codesourcery.com>
10878
10879 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
10880 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
10881 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
10882 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
10883 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
10884 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
10885 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
10886 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
10887 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
10888 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
10889 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
10890 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
10891 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
10892 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
10893
93fea8d3
AL
108942008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
10895
10896 * config.host (sh2[lbe]*-*-linux*): Allow target.
10897
18724e30
NF
108982008-04-30 Nathan Froyd <froydnj@codesourcery.com>
10899
10900 * config/rs6000/t-ppccomm: Add build rules for new files.
10901 (LIB2ADD_ST): New variable.
10902
47583040
AH
109032008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
10904
10905 PR target/34210
10906 PR target/35508
10907 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
10908 * config/t-avr: New file. Build 16bit libgcc functions.
10909
cf8e67fe
JJ
109102008-03-02 Jakub Jelinek <jakub@redhat.com>
10911
10912 PR target/35401
10913 * config/t-slibgcc-darwin: Make install-leaf dependent on
10914 install-darwin-libgcc-stubs instead of install.
10915
8d8da227
JM
109162008-01-25 Joseph Myers <joseph@codesourcery.com>
10917
10918 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
10919 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
10920 sh-*-rtemscoff*): Remove cases.
10921
edbf8b16
RS
109222007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
10923
10924 * Makefile.in (all): Use install-leaf rather than install.
10925 (install): Split most of the rule into...
10926 (install-leaf): ...this new one.
10927
89deeaff
EK
109282007-12-19 Etsushi Kato <ek.kato@gmail.com>
10929 Paolo Bonzini <bonzini@gnu.org>
10930
10931 PR target/30572
5f464fa2
UB
10932 * Makefile.in: Use @shlib_slibdir@ substitution to get
10933 correct install name on darwin.
89deeaff 10934 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
dfb3b0e3 10935
4081d704
HPN
109362007-12-15 Hans-Peter Nilsson <hp@axis.com>
10937
10938 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
10939 cris-*-elf and cris-*-none.
10940 (crisv32-*-linux*): Similar, as cris-*-linux*.
10941
f43e89a3
RIL
109422007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
10943
10944 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
10945
b4e9c2c6
L
109462007-10-27 H.J. Lu <hongjiu.lu@intel.com>
10947
10948 PR regression/33926
10949 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
10950 * configure: Regenerated.
10951
b2a00c89
L
109522007-09-27 H.J. Lu <hongjiu.lu@intel.com>
10953
10954 * Makefile.in (dfp-filenames): Replace decimal_globals,
10955 decimal_data, binarydecimal and convert_data with
10956 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
10957 and bid_convert_data, respectively.
10958
8d2a9e0e
CF
109592007-09-17 Chao-ying Fu <fu@mips.com>
10960 Nigel Stephens <nigel@mips.com>
10961
10962 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
10963 * Makefile.in (fixed_point): Define.
10964 Check if fixed_point is yes to build support functions.
10965 * configure.ac: Check for fixed_point support.
10966 * configure: Regenerated.
10967 * gen-fixed.sh: New file to generate lists of fixed-point labels,
10968 funcs, modes, from, to.
10969
2b53935d
JJ
109702007-09-11 Janis Johnson <janis187@us.ibm.com
10971
10972 * Makefile.in (dfp-filenames): Add bid128_noncomp.
10973
2533577f
JJ
109742007-09-10 Janis Johnson <janis187@us.ibm.com>
10975
10976 * Makefile.in (dfp-filenames): Remove decUtility, add
10977 decDouble, decPacked, decQuad, decSingle.
10978
3ae3dbd6
HK
109792007-08-27 Hans Kester <hans.kester@ellips.nl>
10980
10981 * config.host : Add x86_64-elf target.
10982
22867d02
L
109832007-07-06 H.J. Lu <hongjiu.lu@intel.com>
10984
10985 * configure.ac (set_have_cc_tls): Add a missing =.
10986 * configure: Regenerated.
10987
6f461e76
L
109882007-07-06 H.J. Lu <hongjiu.lu@intel.com>
10989
10990 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
10991 and x86_64-*-linux*.
10992
10993 * config/t-tls: New file.
10994
dfb3b0e3 10995 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
6f461e76
L
10996
10997 * configure.ac: Include ../config/enable.m4 and
10998 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
10999 supports TLS and substitute set_have_cc_tls.
11000 * configure: Regenerated.
11001
200359e8
L
110022007-07-04 H.J. Lu <hongjiu.lu@intel.com>
11003
11004 * Makefile.in: Use libbid for DFP when BID is enabled.
11005
76f5e200
DS
110062007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
11007
11008 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
dfb3b0e3 11009 extra_parts. Add config/i386/t-cygming to tmake_file.
76f5e200
DS
11010 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
11011
9bd196f0 110122007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
200359e8 11013 Danny Smith <dannysmith@users.sourceforge.net>
9bd196f0
ZM
11014
11015 PR target/29498
11016 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
11017 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
11018 * config/i386/t-crtfm: Compile crtfastmath.o with
11019 -minline-all-stringops.
11020
1910440e
RS
110212007-05-10 Richard Sandiford <richard@codesourcery.com>
11022
11023 * config.host (sparc-wrs-vxworks): New target.
11024
7d33c31d
KH
110252007-04-14 Kazu Hirata <kazu@codesourcery.com>
11026
11027 * config.host: Recognize fido.
11028
96fccd0d
JJ
110292007-04-04 Janis Johnson <janis187@us.ibm.com>
11030
11031 * configure: Check host, not target, for decimal float support.
11032
577565f9
UB
110332007-04-03 Uros Bizjak <ubizjak@gmail.com>
11034
11035 * config/i386/t-crtpc: New file.
11036 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
5f464fa2 11037 (x86_64-*-linux*): Ditto.
577565f9 11038
ccf8e764
RH
110392007-02-30 Kai Tietz <kai.tietz@onevision.com>
11040
11041 * config.host (x86_64-*-mingw*): New target.
11042
79b87c74
MM
110432007-03-23 Michael Meissner <michael.meissner@amd.com>
11044 H.J. Lu <hongjiu.lu@intel.com>
11045
11046 * Makefile.in (enable_decimal_float): New.
11047 (DECNUMINC): Add
11048 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
11049 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
11050 (decbits-filenames): This.
11051 (decbits-objects): New.
11052 (libgcc-objects): Add $(decbits-objects).
11053
11054 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
11055 Substitute enable_decimal_float.
11056 * configure: Regenerated.
11057
8fce4e31
HPN
110582007-03-19 Hans-Peter Nilsson <hp@axis.com>
11059
11060 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
11061
e8bb4597
BM
110622007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
11063
11064 * Makefile.in (install-info): New dummy target.
11065
344189f9
BS
110662007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
11067
11068 * config.host (bfin*-linux-uclibc*): Set extra_parts.
11069
ac84c172
BM
110702007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
11071
11072 * Makefile.in: Add install-html and install-pdf dummy
11073 targets.
11074
cd5c2357
RS
110752007-02-05 Roger Sayle <roger@eyesopen.com>
11076 Daniel Jacobowitz <dan@codesourcery.com>
11077
11078 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
11079 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
11080 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
11081
d9a66f98
JJ
110822007-01-29 Janis Johnson <janis187@us.ibm.com>
11083
11084 * Makefile.in (dec-filenames): Add decExcept.
11085
9891ec5f
DJ
110862007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
11087
11088 PR bootstrap/30469
11089 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
11090 -fprofile-use.
11091
d6efbf5a
DJ
110922007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
11093
11094 * configure.ac: Add --enable-version-specific-runtime-libs.
11095 Correct $slibdir default.
11096 * configure: Regenerated.
11097
17caeff2
JM
110982007-01-23 Joseph Myers <joseph@codesourcery.com>
11099
11100 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
11101
5ea41e3a
AP
111022007-01-21 Andrew Pinski <pinskia@gmail.com>
11103
11104 PR target/30519
11105 * config.host (alpha*-*-linux*): Set extra_parts.
11106
26900826
KK
111072007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
11108
11109 * config/sh/t-linux: New.
11110 * config.host (sh*-*-linux*): Set tmake_file.
11111
97af925b
DJ
111122007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
11113
11114 * Makefile.in (install): Handle multilibs.
11115
b0088af7
BM
111162007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
11117
11118 * Makefile.in: Added .PHONY entry for documentation targets.
11119
e0a9456a
BM
111202007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
11121
11122 * Makefile.in: Add empty info, html, dvi, pdf targets.
11123
7fd453b4
MS
111242007-01-04 Mike Stump <mrs@apple.com>
11125
11126 * Makefile.in (MAKEINFO): Remove.
11127 (PERL): Likewise.
11128
14e8fc8b
PB
111292007-01-04 Paolo Bonzini <bonzini@gnu.org>
11130
11131 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
11132 * configure: Regenerate.
11133 * Makefile.in (host_subdir): Substitute it.
dfb3b0e3 11134 (gcc_objdir): Use it.
14e8fc8b 11135
1555beba
DJ
111362007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
11137
11138 * config.host (ia64*-*-linux*): Set tmake_file.
11139
79e6eaeb
DJ
111402007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
11141
11142 * Makefile.in (version): Define.
11143
fa958513
DJ
111442007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
11145 Paolo Bonzini <bonzini@gnu.org>
11146
11147 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
11148 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
11149 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
11150 config/sparc/t-crtfm, config/t-slibgcc-darwin,
11151 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
11152 shared-object.mk, siditi-object.mk, static-object.mk: New files.
11153 * configure: Generated.
818ab71a 11154\f
8d9254fc 11155Copyright (C) 2007-2020 Free Software Foundation, Inc.
818ab71a
JJ
11156
11157Copying and distribution of this file, with or without modification,
11158are permitted in any medium without royalty provided the copyright
11159notice and this notice are preserved.