]> git.ipfire.org Git - thirdparty/gcc.git/blame - libgcc/ChangeLog
arm: Factorize several occurrences of the same code into reg_needs_saving_p
[thirdparty/gcc.git] / libgcc / ChangeLog
CommitLineData
39748a89
HPN
12020-05-09 Hans-Peter Nilsson <hp@axis.com>
2
3 * config.host: Remove support for crisv32-*-* and cris*-*-linux.
4 * config/cris/libgcc-glibc.ver, config/cris/t-linux: Remove.
5
d3a1459c
UB
62020-05-06 Uroš Bizjak <ubizjak@gmail.com>
7
8 * config/i386/sfp-exceptions.c (__math_force_eval): Remove.
9 (__math_force_eval_div): New define.
10 (__sfp_handle_exceptions): Use __math_force_eval_div to use
11 generic division to generate INVALID, DIVZERO and INEXACT
12 exceptions.
13
12667785
KT
142020-05-06 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
15
16 * config/aarch64/lse-init.c (init_have_lse_atomics): Use __getauxval
17 instead of getauxval.
18 (AT_HWCAP): Define.
19 (HWCAP_ATOMICS): Define.
20 Guard detection on __gnu_linux__.
21
ef836167
MM
222020-05-05 Michael Meissner <meissner@linux.ibm.com>
23
24 * config.host: Delete changes meant for a private branch.
25 * config/rs6000/t-float128: Likewise.
26 * configure.ac: Likewise.
27 * configure: Likewise.
28
811b7636
ML
292020-05-05 Martin Liska <mliska@suse.cz>
30
31 PR gcov-profile/93623
32 * Makefile.in: Remove __gcov_flush.
33 * gcov.h (__gcov_flush): Remove.
34 * libgcov-interface.c (__gcov_flush): Remove.
35 (init_mx): Use renamed mutex.
36 (__gcov_lock): Likewise.
37 (__gcov_unlock): Likewise.
38 (__gcov_fork): Likewise.
39 (__gcov_flush): Remove.
40
c0532db4
ML
412020-05-05 Martin Liska <mliska@suse.cz>
42
43 PR gcov-profile/93623
44 * libgcov-interface.c (__gcov_fork): Do not flush
45 and reset only in child process.
46 (__gcov_execl): Dump counters only and reset them
47 only if exec* fails.
48 (__gcov_execlp): Likewise.
49 (__gcov_execle): Likewise.
50 (__gcov_execv): Likewise.
51 (__gcov_execvp): Likewise.
52 (__gcov_execve): Likewise.
53
d39f7dc8
ML
542020-05-05 Martin Liska <mliska@suse.cz>
55
56 PR gcov-profile/93623
57 * Makefile.in: Add _gcov_lock_unlock to LIBGCOV_INTERFACE.
58 * libgcov-interface.c (ALIAS_void_fn): Remove.
59 (__gcov_lock): New.
60 (__gcov_unlock): New.
61 (__gcov_flush): Use __gcov_lock and __gcov_unlock.
62 (__gcov_reset): Likewise.
63 (__gcov_dump): Likewise.
64 * libgcov.h (__gcov_lock): New declaration.
65 (__gcov_unlock): Likewise.
66
afb9b710
UB
672020-05-01 Uroš Bizjak <ubizjak@gmail.com>
68
69 * config/i386/sfp-exceptions.c (__math_force_eval): New define.
d3a1459c 70 (__sfp_handle_exceptions): Use __math_force_eval to evaluate
afb9b710
UB
71 generic division to generate INVALID and DIVZERO exceptions.
72
66711279
SH
732020-04-27 Sebastian Huber <sebastian.huber@embedded-brains.de>
74
75 * config/rs6000/crtresfpr.S: Use .machine ppc.
76 * config/rs6000/crtresxfpr.S: Likewise.
77 * config/rs6000/crtsavfpr.S: Likewise.
78
fb22faf4
SN
792020-04-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
80
81 PR target/94514
82 * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
83 Update context->flags accroding to the frame state.
84
df73e584
UB
852020-04-19 Uroš Bizjak <ubizjak@gmail.com>
86
87 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions) [__SSE_MATH__]:
88 Remove unneeded assignments to volatile memory.
89
5b2f76e3
JJ
902020-04-15 Jakub Jelinek <jakub@redhat.com>
91
92 PR target/93053
93 * configure.ac (LIBGCC_CHECK_AS_LSE): Add HAVE_AS_LSE checking.
94 * config/aarch64/lse.S: Include auto-target.h, if HAVE_AS_LSE
95 is not defined, use just .arch armv8-a.
96 (B, M, N, OPN): Define.
97 (COMMENT): New .macro.
98 (CAS, CASP, SWP, LDOP): Use .inst directive if HAVE_AS_LSE is not
99 defined. Otherwise, move the operands right after the glue? and
100 comment out operands where the macros are used.
101 * configure: Regenerated.
102 * config.in: Regenerated.
103
50c78532
ILT
1042020-04-07 Ian Lance Taylor <iant@golang.org>
105
106 PR libgcc/94513
107 * generic-morestack.c: Give up trying to use __mmap/__munmap, use
108 syscall instead.
109
458ca332
ILT
1102020-04-04 Ian Lance Taylor <iant@golang.org>
111
112 * generic-morestack.c: Only use __mmap on glibc >= 2.26.
113
710d54ed
ILT
1142020-04-03 Ian Lance Taylor <iant@golang.org>
115
116 * generic-morestack.c: On GNU/Linux use __mmap/__munmap rather
117 than mmap/munmap, to avoid hooks.
118
b749b5ec
JJ
1192020-04-03 Jim Johnston <jjohnst@us.ibm.com>
120
121 * config/s390/tpf-unwind.h (MIN_PATRANGE, MAX_PATRANGE)
122 (TPFRA_OFFSET): Macros removed.
123 (CP_CNF, cinfc_fast, CINFC_CMRESET, CINTFC_CMCENBKST)
124 (CINTFC_CMCENBKED, ICST_CRET, ICST_SRET, LOWCORE_PAGE3_ADDR)
125 (PG3_SKIPPING_OFFSET): New macros.
126 (__isPATrange): Use cinfc_fast for the check.
127 (__isSkipResetAddr): New function.
128 (s390_fallback_frame_state): Check for skip trace addresses. Use
129 either ICST_CRET or ICST_SRET to calculate return address
130 location.
131 (__tpf_eh_return): Handle skip trace addresses.
132
a9cd2d78
RE
1332020-03-26 Richard Earnshaw <rearnsha@arm.com>
134
135 PR target/94220
136 * config/arm/lib1funcs.asm (COND): Use a single definition for
137 unified syntax.
138 (aeabi_uidivmod): Unified syntax when optimizing Thumb for size.
139 (aeabi_idivmod): Likewise.
140 (divsi3_skip_div0_test): Likewise.
141
f582ca0f
MI
1422020-03-17 Mihail Ionescu <mihail.ionescu@arm.com>
143
144 * config/arm/t-arm: Do not compile cmse_nonsecure_call.S for v8.1-m.
145
068fe0a9
AK
1462020-03-04 Andreas Krebbel <krebbel@linux.ibm.com>
147
148 * config.host: Include the new makefile fragment.
149 * config/s390/t-tpf: New file.
150
6b9ce2b4
RE
1512020-03-03 Richard Earnshaw <rearnsha@arm.com>
152
153 * config/arm/bpabi-v6m.S (aeabi_lcmp): Convert thumb1 code to unified
154 syntax.
155 (aeabi_ulcmp, aeabi_ldivmod, aeabi_uldivmod): Likewise.
156 (aeabi_frsub, aeabi_cfcmpeq, aeabi_fcmpeq): Likewise.
157 (aeabi_fcmp, aeabi_drsub, aeabi_cdrcmple): Likewise.
158 (aeabi_cdcmpeq, aeabi_dcmpeq, aeabi_dcmp): Likewise.
159 * config/arm/lib1funcs.S (Lend_fde): Convert thumb1 code to unified
160 syntax.
161 (divsi3, modsi3): Likewise.
162 (clzdi2, ctzsi2): Likewise.
163 * config/arm/libunwind.S (restore_core_regs): Convert thumb1 code to
164 unified syntax.
165 (UNWIND_WRAPPER): Likewise.
166
8dd5d8f3
ML
1672020-03-02 Martin Liska <mliska@suse.cz>
168
169 * libgcov-interface.c: Remove duplicate
170 declaration of __gcov_flush_mx.
171
ea0b1252
ML
1722020-02-18 Martin Liska <mliska@suse.cz>
173
174 PR ipa/92924
175 * libgcov-merge.c (merge_topn_values_set): Record
176 when a TOP N counter becomes invalid. When merging
177 remove a smallest value if the space is needed.
178
02ce382c
SL
1792020-02-12 Sandra Loosemore <sandra@codesourcery.com>
180
181 PR libstdc++/79193
182 PR libstdc++/88999
183
184 * configure: Regenerated.
185
7214fce3
JL
1862020-02-10 Jeff Law <law@redhat.com>
187
188 * config/frv/frvbegin.c: Use right flags for .ctors and .dtors
189 sections.
190 * config/frv/frvend.c: Similarly.
191
cf0f07ef
L
1922020-02-10 H.J. Lu <hongjiu.lu@intel.com>
193
194 PR libgcc/85334
195 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
196 New.
197
5602b48b
CL
1982020-02-10 Christophe Lyon <christophe.lyon@linaro.org>
199
200 PR target/93615
201 * unwind-arm-common.inc: Replace uses of gnu_Unwind_Find_got with
202 _Unwind_gnu_Find_got.
203 * unwind-pe.h: Likewise.
204
811a475e
JJ
2052020-02-07 Jakub Jelinek <jakub@redhat.com>
206
207 PR target/93615
208 * config/arm/unwind-arm.h (gnu_Unwind_Find_got): Rename to ...
209 (_Unwind_gnu_Find_got): ... this. Use __asm instead of asm. Remove
210 trailing :s in asm. Formatting fixes.
211 (_Unwind_decode_typeinfo_ptr): Adjust caller.
212
2d33dcfe
SL
2132020-01-31 Sandra Loosemore <sandra@codesourcery.com>
214
215 nios2: Support for GOT-relative DW_EH_PE_datarel encoding.
216
217 * config.host [nios2-*-linux*] (tmake_file, tm_file): Adjust.
218 * config/nios2-elf-lib.h: New.
219 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback): Use existing
220 code for finding GOT base for nios2.
221
3ae37f92
ML
2222020-01-27 Martin Liska <mliska@suse.cz>
223
224 PR gcov-profile/93403
225 * libgcov-profiler.c (__gcov_indirect_call_profiler_v4):
226 Call __gcov_indirect_call_profiler_body.
227 (__gcov_indirect_call_profiler_body): New.
228 (__gcov_indirect_call_profiler_v4_atomic): New.
229 * libgcov.h (__gcov_indirect_call_profiler_v4_atomic):
230 New declaration.
231
2744b8b2
CZ
2322020-01-27 Claudiu Zissulescu <claziss@synopsys.com>
233
234 * config/arc/crti.S: Add RF16 object attribute.
235 * config/arc/crtn.S: Likewise.
236 * config/arc/crttls.S: Likewise.
237 * config/arc/lib1funcs.S: Likewise.
238 * config/arc/fp-hack.h (ARC_OPTFPE): Define.
239 * config/arc/lib2funcs.c: New file.
240 * config/arc/t-arc: Add lib2funcs to LIB2ADD.
241
e8e66971
MR
2422020-01-24 Maciej W. Rozycki <macro@wdc.com>
243
244 * Makefile.in (configure_deps): Add `toolexeclibdir.m4'.
245 * configure.ac: Handle `--with-toolexeclibdir='.
246 * configure: Regenerate.
247
54b3d52c
DM
2482020-01-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
249
250 * config/mips/gnustack.h: Check for TARGET_LIBC_GNUSTACK also.
251
a3c1e1f2
DM
2522020-01-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
253
254 * config/mips/gnustack.h: New file.
255 * config/mips/crti.S: Include gnustack.h.
256 * config/mips/crtn.S: Likewise.
257 * config/mips/mips16.S: Likewise.
258 * config/mips/vr4120-div.S: Likewise.
259
e9ee848d
ML
2602020-01-23 Martin Liska <mliska@suse.cz>
261
262 * libgcov-driver.c (prune_topn_counter): Remove
263 check for -1 as we only prune run-time counters
264 that do not generate an invalid state.
265
7491c17f
ML
2662020-01-22 Martin Liska <mliska@suse.cz>
267
268 PR tree-optimization/92924
269 * libgcov-profiler.c (__gcov_topn_values_profiler_body): First
270 try to find an existing value, then find an empty slot
271 if not found.
272
5f32f9cf
ML
2732020-01-22 Martin Liska <mliska@suse.cz>
274
275 PR tree-optimization/92924
276 * libgcov-driver.c (prune_topn_counter): New.
277 (prune_counters): Likewise.
278 (dump_one_gcov): Prune a run-time counter.
279 * libgcov-profiler.c (__gcov_topn_values_profiler_body):
280 For a known value, add GCOV_TOPN_VALUES to value.
281 Otherwise, decrement all counters by one.
282
463f6499
HPN
2832020-01-18 Hans-Peter Nilsson <hp@axis.com>
284
285 * config/cris/arit.c (DS): Apply attribute __fallthrough__.
286
84479e3a
JDA
2872020-01-18 John David Anglin <danglin@gcc.gnu.org>
288
289 PR libgcc/92988
290 * crtstuff.c (__do_global_dtors_aux): Only call __cxa_finalize if
291 DEFAULT_USE_CXA_ATEXIT is true.
292
e953433f 2932020-01-16 Mihail-Calin Ionescu <mihail.ionescu@arm.com>
674dcc3f 294 Thomas Preud'homme <thomas.preudhomme@arm.com>
e953433f
MI
295
296 * config/arm/t-arm: Check return value of gcc rather than lack of
297 output.
298
03e87724
GJL
2992020-01-14 Georg-Johann Lay <avr@gjlay.de>
300
301 * config/avr/lib1funcs.S (skip): Simplify.
302
af9bd920
KCY
3032020-01-10 Kwok Cheung Yeung <kcy@codesourcery.com>
304
305 * config/gcn/atomic.c: Remove include of stdint.h.
306 (__sync_val_compare_and_swap_##SIZE): Replace uintptr_t with
307 __UINTPTR_TYPE__.
308
d6491d15
KCY
3092020-01-09 Kwok Cheung Yeung <kcy@codesourcery.com>
310
311 * config/gcn/atomic.c: New.
312 * config/gcn/t-amdgcn (LIB2ADD): Add atomic.c.
313
f30dd607
GJL
3142020-01-08 Georg-Johann Lay <avr@gjlay.de>
315
316 Implement 64-bit double functions.
317
318 PR target/92055
319 * config.host (tmake_file) [target=avr]: Add t-libf7,
320 t-libf7-math, t-libf7-math-symbols as specified by --with-libf7=.
321 * config/avr/t-avrlibc: Don't copy libgcc.a if there are modules
322 depending on sizeof (double) or sizeof (long double).
323 * config/avr/libf7: New folder.
324
5205a445
OH
3252020-01-05 Olivier Hainque <hainque@adacore.com>
326
327 * config/gthr-vxworks.h: Guard #include vxAtomicLib.h
328 by IN_LIBGCC2.
329
8d9254fc
JJ
3302020-01-01 Jakub Jelinek <jakub@redhat.com>
331
332 Update copyright years.
333
abb6c3ee
OH
3342019-12-30 Olivier Hainque <hainque@adacore.com>
335
336 * config/gthr-vxworks.h: Use _vxworks-versions.h.
337 * config/gthr-vxworks-tls.c: Likewise.
338
d7f5094a
OH
3392019-12-30 Olivier Hainque <hainque@adacore.com>
340
341 * config/gthr-vxworks.h (GTHREAD_ONCE_INIT): Use
342 standard zero-initializer syntax.
343
49cfaa2a
OH
3442019-12-30 Olivier Hainque <hainque@adacore.com>
345
346 * config/gthr-vxworks-tls.c (__gthread_getspecific): Fix
347 reference to the internal VX_GET_TLS_DATA interface.
348
89b9a554
OH
3492019-12-30 Olivier Hainque <hainque@adacore.com>
350
351 * config/vxcrtstuff.c: Fix incorrect spelling of
352 USE_INITFINI_ARRAY in guard.
353
e8aa9f55
JL
3542019-12-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
355
356 * config.host: s/msp430*-*-elf/msp430-*-elf*.
357 Override default "extra_parts" variable.
358 * configure: Regenerate.
359 * configure.ac: Disable TM clone registry by default for
360 msp430-elfbare.
361
a9046e98
JL
3622019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
363
364 * config.host (msp430*-*-elf): Add crt{begin,end}_no_eh.o to
365 "extra_parts".
366 * config/msp430/t-msp430: Add rules to build crt{begin,end}_no_eh.o.
367
34a53788
JL
3682019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
369
370 * crtstuff.c: Declare __dso_handle only if DEFAULT_USE_CXA_ATEXIT is
371 true.
372
21a098f4
JL
3732019-12-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
374
375 * crtstuff.c (__do_global_dtors_aux): Check if USE_EH_FRAME_REGISTRY is
376 defined instead of its value.
377
ad8b7783
JL
3782019-12-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
379
380 * crtstuff.c (__do_global_dtors_aux): Wrap in #if so it's only defined
381 if it will have contents.
382
08d7ff78
GJL
3832019-12-05 Georg-Johann Lay <avr@gjlay.de>
384
385 PR target/92055
386 * config/avr/t-avrlibc (MULTISUBDIR): Search for double, not double64.
387
3d3a96a2
SN
3882019-11-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
389
34b4d99d 390 PR libgcc/91737
3d3a96a2
SN
391 * config.host: Add t-gthr-noweak on *-*-musl*.
392 * config/t-gthr-noweak: New file.
393
632b5e3d
JDA
3942019-11-17 John David Anglin <danglin@gcc.gnu.org>
395
396 * config/pa/linux-atomic.c (__kernel_cmpxchg): Change argument 1 to
397 volatile void *. Remove trap check.
398 (__kernel_cmpxchg2): Likewise.
399 (FETCH_AND_OP_2): Adjust operand types.
400 (OP_AND_FETCH_2): Likewise.
401 (FETCH_AND_OP_WORD): Likewise.
402 (OP_AND_FETCH_WORD): Likewise.
403 (COMPARE_AND_SWAP_2): Likewise.
404 (__sync_val_compare_and_swap_4): Likewise.
405 (__sync_bool_compare_and_swap_4): Likewise.
406 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
407 (__sync_lock_test_and_set_4): Likewise.
408 (SYNC_LOCK_RELEASE_1): Likewise. Use __kernel_cmpxchg2 for release.
409 (__sync_lock_release_4): Adjust operand types. Use __kernel_cmpxchg
410 for release.
411 (__sync_lock_release_8): Remove.
412
838fd641
SN
4132019-11-15 Szabolcs Nagy <szabolcs.nagy@arm.com>
414
415 * config/m68k/linux-unwind.h (struct uw_ucontext): Use sigset_t instead
416 of __sigset_t.
417
27204060
JL
4182019-11-14 Jerome Lambourg <lambourg@adacore.com>
419 Doug Rupp <rupp@adacore.com>
420 Olivier Hainque <hainque@adacore.com>
421
422 * config.host: Collapse the arm-vxworks entries into
423 a single arm-wrs-vxworks7* one.
424 * config/arm/unwind-arm-vxworks.c: Update comments. Provide
425 __gnu_Unwind_Find_exidx and a weak dummy __cxa_type_match for
426 kernel modules, to be overriden by libstdc++ when we link with
427 it. Rely on externally provided __exidx_start/end.
428
3004f893
DR
4292019-11-14 Doug Rupp <rupp@adacore.com>
430 Olivier Hainque <hainque@adacore.com>
431
432 * config.host: Handle aarch64*-wrs-vxworks7*.
433
36e5f4d4
OH
4342019-11-12 Olivier Hainque <hainque@adacore.com>
435
436 * config/t-gthr-vxworksae: New file, add all the gthr-vxworks
437 sources except the cxx0x support to LIB2ADDEH. We don't support
438 cxx0x on AE/653.
439 * config/t-vxworksae: New file.
440 * config.host: Handle *-*-vxworksae: Add the two aforementioned
441 Makefile fragment files at their expected position in the tmake_file
442 list, in accordance with what is done for other VxWorks variants.
443
806dd047
CG
4442019-11-12 Corentin Gay <gay@adacore.com>
445 Jerome Lambourg <lambourg@adacore.com>
446 Olivier Hainque <hainque@adacore.com>
447
448 * config/t-gthr-vxworks: New file, add all the gthr-vxworks
449 sources to LIB2ADDEH.
450 * config/t-vxworks: Remove adjustments to LIB2ADDEH.
451 * config/t-vxworks7: Likewise.
452
453 * config.host: Append a block at the end of the file to add the
454 t-gthr files to the tmake_file list for VxWorks after everything
455 else.
456
457 * config/vxlib.c: Rename as gthr-vxworks.c.
458 * config/vxlib-tls.c: Rename as gthr-vxworks-tls.c.
459
460 * config/gthr-vxworks.h: Simplify a few comments. Expose a TAS
461 API and a basic error checking API, both internal. Simplify the
462 __gthread_once_t type definition and initializers. Add sections
463 for condition variables support and for the C++0x thread support,
464 conditioned against Vx653 for the latter.
465
466 * config/gthr-vxworks.c (__gthread_once): Simplify comments and
467 implementation, leveraging the TAS internal API.
468 * config/gthr-vxworks-tls.c: Introduce an internal TLS data access
469 API, leveraging the general availability of TLS services in VxWorks7
470 post SR6xxx.
471 (__gthread_setspecific, __gthread_setspecific): Use it.
472 (tls_delete_hook): Likewise, and simplify the enter/leave dtor logic.
473 * config/gthr-vxworks-cond.c: New file. GTHREAD_COND variable
474 support based on VxWorks primitives.
475 * config/gthr-vxworks-thread.c: New file. GTHREAD_CXX0X support
476 based on VxWorks primitives.
477
78e49fb1
JL
4782019-11-06 Jerome Lambourg <lambourg@adacore.com>
479 Olivier Hainque <hainque@adacore.com>
480
481 * config/vxcrtstuff.c: New file.
482 * config/t-vxcrtstuff: New Makefile fragment.
483 * config.host: Append t-vxcrtstuff to the tmake_file list
484 on all VxWorks ports using dwarf for table based EH.
485
29f3def3
GJL
4862019-11-07 Georg-Johann Lay <avr@gjlay.de>
487
488 Support 64-bit double and 64-bit long double configurations.
489
490 PR target/92055
491 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Only add -DF=SF if
492 long double is a 32-bit type.
493 * config/avr/t-avrlibc: Copy double64 and long-double64
494 multilib(s) from the vanilla one.
495 * config/avr/t-copy-libgcc: New Makefile snip.
496
62ec242e
JL
4972019-11-04 Jozef Lawrynowicz <jozef.l@mittosystems.com>
498
499 * crtstuff.c: Define USE_TM_CLONE_REGISTRY to 0 if it's undefined and
500 the target output object format is not ELF.
501 s/defined(USE_TM_CLONE_REGISTRY)/USE_TM_CLONE_REGISTRY.
502
da5c1bbe
OE
5032019-11-03 Oleg Endo <olegendo@gcc.gnu.org>
504
505 PR libgcc/78804
506 * fp-bit.h: Remove FLOAT_BIT_ORDER_MISMATCH.
507 * fp-bit.c (pack_d, unpack_d): Remove special cases for
508 FLOAT_BIT_ORDER_MISMATCH.
509 * config/arc/t-arc: Remove FLOAT_BIT_ORDER_MISMATCH.
510
8dc56a22
JW
5112019-11-01 Jim Wilson <jimw@sifive.com>
512
513 * config/riscv/t-softfp32 (softfp_extra): Add FP divide routines
514
91c64455
JL
5152019-10-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
516
517 * config/msp430/lib2hw_mul.S: Fix wrong syntax in branch instruction.
518 s/RESULT_LO/RESLO, s/RESULT_HI/RESHI, s/MPY_OP1/MPY,
519 s/MPY_OP1_S/MPYS, s/MAC_OP1/MAC, s/MPY_OP2/OP2, s/MAC_OP2/OP2.
520 Define symbols for 32-bit and f5series hardware multiply
521 register addresses.
522 Replace hard-coded register addresses with symbols.
523 Fix "_mspabi*" typo.
524 Fix whitespace.
525 * config/msp430/lib2mul.c: Add comment.
526
85093ac6
JDA
5272019-10-15 John David Anglin <danglin@gcc.gnu.org>
528
529 * config/pa/fptr.c (_dl_read_access_allowed): Change argument to
530 unsigned int. Adjust callers.
531 (__canonicalize_funcptr_for_compare): Change plabel type to volatile
532 unsigned int *. Load relocation offset before function pointer.
533 Add barrier to ensure ordering.
534
1aea083d
JDA
5352019-10-12 John David Anglin <danglin@gcc.gnu.org>
536
537 * config/pa/lib2funcs.S (__gcc_plt_call): Load branch target to %r21.
538 Load PIC register after branch target. Fix white space.
539 * config/pa/milli64.S ($$dyncall): Separate LINUX and non LINUX
540 implementations. Load PIC register after branch target. Don't
541 clobber function pointer when it points to function descriptor.
542 Use nullification instead of branch in LINUX implementation.
543
c49af82c
JDA
5442019-10-03 John David Anglin <danglin@gcc.gnu.org>
545
546 * config/pa/fptr.c: Disable -Warray-bounds warning.
547
88a51d68
RH
5482019-09-25 Richard Henderson <richard.henderson@linaro.org>
549
9e46fd07
RH
550 * config.in, configure: Re-rebuild with stock autoconf 2.69,
551 not the ubuntu modified 2.69.
552
58d169ba
RH
553 PR target/91833
554 * config/aarch64/lse-init.c: Include auto-target.h. Disable
555 initialization if !HAVE_SYS_AUXV_H.
556 * configure.ac (AC_CHECK_HEADERS): Add sys/auxv.h.
557 * config.in, configure: Rebuild.
558
88a51d68
RH
559 PR target/91834
560 * config/aarch64/lse.S (LDNM): Ensure STXR output does not
561 overlap the inputs.
562
761e6bb9
SZ
5632019-09-25 Shaokun Zhang <zhangshaokun@hisilicon.com>
564
565 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Add support for
566 CTR_EL0.IDC and CTR_EL0.DIC.
567
76c93295
CL
5682019-09-20 Christophe Lyon <christophe.lyon@st.com>
569
570 Revert:
571 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
572 Mickaël Guêné <mickael.guene@st.com>
573
574 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
575 architecture.
576
33befddc
RH
5772019-09-19 Richard Henderson <richard.henderson@linaro.org>
578
579 * config/aarch64/lse-init.c: New file.
580 * config/aarch64/lse.S: New file.
581 * config/aarch64/t-lse: New file.
582 * config.host: Add t-lse to all aarch64 tuples.
583
ae1152e5
CL
5842019-09-10 Christophe Lyon <christophe.lyon@st.com>
585 Mickaël Guêné <mickael.guene@st.com>
586
84818dbb
CL
587 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
588 architecture.
589
5902019-09-10 Christophe Lyon <christophe.lyon@st.com>
591 Mickaël Guêné <mickael.guene@st.com>
592
ae1152e5
CL
593 * unwind-arm-common.inc (ARM_SET_R7_RT_SIGRETURN)
594 (THUMB2_SET_R7_RT_SIGRETURN, FDPIC_LDR_R12_WITH_FUNCDESC)
595 (FDPIC_LDR_R9_WITH_GOT, FDPIC_LDR_PC_WITH_RESTORER)
596 (FDPIC_FUNCDESC_OFFSET, ARM_NEW_RT_SIGFRAME_UCONTEXT)
597 (ARM_UCONTEXT_SIGCONTEXT, ARM_SIGCONTEXT_R0, FDPIC_T2_LDR_R12_WITH_FUNCDESC)
598 (FDPIC_T2_LDR_R9_WITH_GOT, FDPIC_T2_LDR_PC_WITH_RESTORER): New.
599 (__gnu_personality_sigframe_fdpic): New.
600 (get_eit_entry): Add FDPIC signal frame support.
601
5d727a4b
CL
6022019-09-10 Christophe Lyon <christophe.lyon@st.com>
603 Mickaël Guêné <mickael.guene@st.com>
604
605 * config/arm/linux-atomic.c (__kernel_cmpxchg): Add FDPIC support.
606 (__kernel_dmb): Likewise.
607 (__fdpic_cmpxchg): New function.
608 (__fdpic_dmb): New function.
609 * config/arm/unwind-arm.h (FDPIC_REGNUM): New define.
610 (gnu_Unwind_Find_got): New function.
611 (_Unwind_decode_typeinfo_ptr): Add FDPIC support.
612 * unwind-arm-common.inc (UCB_PR_GOT): New.
613 (funcdesc_t): New struct.
614 (get_eit_entry): Add FDPIC support.
615 (unwind_phase2): Likewise.
616 (unwind_phase2_forced): Likewise.
617 (__gnu_Unwind_RaiseException): Likewise.
618 (__gnu_Unwind_Resume): Likewise.
619 (__gnu_Unwind_Backtrace): Likewise.
620 * unwind-pe.h (read_encoded_value_with_base): Likewise.
621
b1e21e5a 6222019-09-10 Christophe Lyon <christophe.lyon@st.com>
11189793 623 Mickaël Guêné <mickael.guene@st.com>
b1e21e5a 624
11189793
CL
625 * libgcc/crtstuff.c: Add support for FDPIC.
626
6272019-09-10 Christophe Lyon <christophe.lyon@st.com>
628
629 * config.host: Handle *-*-uclinuxfdpiceabi.
b1e21e5a 630
91dfef96
JM
6312019-09-09 Jose E. Marchesi <jose.marchesi@oracle.com>
632
633 * config.host: Set cpu_type for bpf-*-* targets.
634 * config/bpf/t-bpf: Likewise.
635 * config/bpf/crtn.S: Likewise.
636 * config/bpf/crti.S: New file.
637
2f4d8951
JW
6382019-09-06 Jim Wilson <jimw@sifive.com>
639
640 * config.host (riscv*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
641 (riscv*-*-freebsd*): Likewise.
642
2f2aeda9
UW
6432019-09-03 Ulrich Weigand <uweigand@de.ibm.com>
644
645 * config.host: Remove references to spu.
646 * config/spu/: Remove directory.
647
d16017da
JL
6482019-08-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
649
650 PR target/91306
651 * crtstuff.c (__CTOR_LIST__): Align to the "__alignof__" the array
652 element type, instead of "sizeof" the element type.
653 (__DTOR_LIST__): Likewise.
654 (__TMC_LIST__): Likewise.
655 (__do_global_dtors_aux_fini_array_entry): Likewise.
656 (__frame_dummy_init_array_entry): Likewise.
657 (__CTOR_END__): Likewise.
658 (__DTOR_END__): Likweise.
659 (__FRAME_END__): Likewise.
660 (__TMC_END__): Likewise.
661
a9fcfec3
HL
6622019-08-20 Lili Cui <lilicui@intel.com>
663
664 * config/i386/cpuinfo.h: Add INTEL_COREI7_TIGERLAKE and
665 INTEL_COREI7_COOPERLAKE.
666
428642b1
MT
6672019-07-31 Matt Thomas <matt@3am-software.com>
668 Nick Hudson <nick@nthcliff.demon.co.uk>
669 Matthew Green <mrg@eterna.com.au>
670 Maya Rashish <coypu@sdf.org>
671
672 * config.host (hppa*-*-netbsd*): New case.
673 * config/pa/t-netbsd: New file.
674
f0efd925
JH
6752019-07-31 Joel Hutton <Joel.Hutton@arm.com>
676
677 * config/arm/cmse.c (cmse_check_address_range): Add
678 warn_unused_result attribute.
679
a861990d
ML
6802019-07-22 Martin Liska <mliska@suse.cz>
681
682 * config/pa/stublib.c: Remove stub symbol __gnu_lto_v1.
683 * config/pa/t-stublib: Likewise.
684
9c0dba7c
SH
6852019-07-22 Stafford Horne <shorne@gmail.com>
686
687 PR target/90362
688 * config/or1k/lib1funcs.S (__udivsi3): Change l.sfeqi
689 to l.sfeq and l.sfltsi to l.sflts equivalents as the immediate
690 instructions are not available on every processor. Change a
691 l.bnf to l.bf to fix logic issue.
692
61afc8f8
IS
6932019-07-04 Iain Sandoe <iain@sandoe.co.uk>
694
695 * config.host: Remove reference to t-darwin8.
696
179c7ef5
IS
6972019-07-03 Iain Sandoe <iain@sandoe.co.uk>
698
699 * config.host (powerpc-*-darwin*,powerpc64-*-darwin*): Revise crt
700 list.
701 * config/rs6000/t-darwin: Build crt3_2 for older systems. Revise
702 mmacosx-version-min for crts to run across all system versions.
703 * config/rs6000/t-darwin64 (LIB2ADD): Remove.
704 * config/t-darwin: Revise mmacosx-version-min for crts to run across
705 system versions >= 10.4.
706
596341c7
ML
7072019-07-03 Martin Liska <mliska@suse.cz>
708
709 * Makefile.in: Use topn_values instead of one_value names.
710 * libgcov-merge.c (__gcov_merge_single): Move to ...
711 (__gcov_merge_topn): ... this.
712 (merge_single_value_set): Move to ...
713 (merge_topn_values_set): ... this.
714 * libgcov-profiler.c (__gcov_one_value_profiler_body): Move to
715 ...
716 (__gcov_topn_values_profiler_body): ... this.
717 (__gcov_one_value_profiler_v2): Move to ...
718 (__gcov_topn_values_profiler): ... this.
719 (__gcov_one_value_profiler_v2_atomic): Move to ...
720 (__gcov_topn_values_profiler_atomic): ... this.
721 (__gcov_indirect_call_profiler_v4): Remove.
722 * libgcov-util.c (__gcov_single_counter_op): Move to ...
723 (__gcov_topn_counter_op): ... this.
724 * libgcov.h (L_gcov_merge_single): Remove.
725 (L_gcov_merge_topn): New.
726 (__gcov_merge_single): Remove.
727 (__gcov_merge_topn): New.
728 (__gcov_one_value_profiler_v2): Move to ..
729 (__gcov_topn_values_profiler): ... this.
730 (__gcov_one_value_profiler_v2_atomic): Move to ...
731 (__gcov_topn_values_profiler_atomic): ... this.
732
1b309ca5
ML
7332019-07-03 Martin Liska <mliska@suse.cz>
734
735 * libgcov-merge.c (merge_single_value_set): Support N values.
736 * libgcov-profiler.c (__gcov_one_value_profiler_body): Likewise.
737
5a460280
ID
7382019-06-27 Ilia Diachkov <ilia.diachkov@optimitech.com>
739
740 * Makefile.in (USE_TM_CLONE_REGISTRY): New.
741 (CRTSTUFF_CFLAGS): Use USE_TM_CLONE_REGISTRY.
742 * configure.ac: Add --disable-tm-clone-registry option.
743 * configure: Regenerate.
744
45309d28
ML
7452019-06-27 Martin Liska <mliska@suse.cz>
746
747 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Remove obviously
748 dead assignments.
749 * libgcov-util.c: Likewise.
750
c2f7a665
ML
7512019-06-27 Martin Liska <mliska@suse.cz>
752
753 * libgcov-util.c (gcov_profile_merge): Release allocated
754 memory.
755 (calculate_overlap): Likewise.
756
a8e55c61
IS
7572019-06-25 Iain Sandoe <iain@sandoe.co.uk>
758
759 * config.host: Add libef_ppc.a to the extra files for powerpc-darwin.
760 * config/rs6000/t-darwin: (PPC_ENDFILE_SRC, PPC_ENDFILE_OBJS): New.
761 Build objects for the out of line save/restore register functions
762 so that they can be used for any supported Darwin version.
763 * config/t-darwin: Default the build Darwin version to Darwin8
764 (MacOS 10.4).
765
e5ce4cbc
ML
7662019-06-25 Martin Liska <mliska@suse.cz>
767
768 * libgcov-driver-system.c (replace_filename_variables): Do not
769 call strlen with NULL argument.
770
52a47d28
AS
7712019-06-25 Andrew Stubbs <ams@codesourcery.com>
772
773 * config/gcn/t-amdgcn (LIB2ADD): Add unwind-gcn.c.
774 * config/gcn/unwind-gcn.c: New file.
775
76d46331
KCY
7762019-06-25 Kwok Cheung Yeung <kcy@codesourcery.com>
777 Andrew Stubbs <ams@codesourcery.com>
778
779 * configure: Regenerate.
780 * config/gcn/gthr-gcn.h: New.
781
787783a0
TV
7822019-06-18 Tom de Vries <tdevries@suse.de>
783
784 * config/nvptx/crt0.c (__main): Declare.
785
f32f7585
MG
7862019-06-17 Matthew Green <mrg@eterna.com.au>
787 Maya Rashish <coypu@sdf.org>
788
789 * config.host (aarch64*-*-netbsd*): New case.
790
0fcc78f7
JL
7912019-06-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
792
793 * config/msp430/slli.S (__mspabi_sllll): New library function for
794 performing a logical left shift of a 64-bit value.
795 * config/msp430/srai.S (__mspabi_srall): New library function for
796 performing a arithmetic right shift of a 64-bit value.
797 * config/msp430/srll.S (__mspabi_srlll): New library function for
798 performing a logical right shift of a 64-bit value.
799
b27c1082
MT
8002019-06-14 Matt Thomas <matt@3am-software.com>
801 Matthew Green <mrg@eterna.com.au>
802 Nick Hudson <skrll@netbsd.org>
803 Maya Rashish <coypu@sdf.org>
804
805 * config.host (arm*-*-netbsdelf*): Add support for EABI configurations.
806 * config/arm/t-netbsd (LIB1ASMFUNCS): Add some additional assembler
807 functions to build.
808 * config/arm/t-netbsd-eabi: New file.
809
ae7deb4b
DD
8102019-06-12 Dimitar Dimitrov <dimitar@dinux.eu>
811
812 * config.host: Add PRU target.
813 * config/pru/asri.c: New file.
814 * config/pru/eqd.c: New file.
815 * config/pru/eqf.c: New file.
816 * config/pru/ged.c: New file.
817 * config/pru/gef.c: New file.
818 * config/pru/gtd.c: New file.
819 * config/pru/gtf.c: New file.
820 * config/pru/led.c: New file.
821 * config/pru/lef.c: New file.
822 * config/pru/lib2bitcountHI.c: New file.
823 * config/pru/lib2divHI.c: New file.
824 * config/pru/lib2divQI.c: New file.
825 * config/pru/lib2divSI.c: New file.
826 * config/pru/libgcc-eabi.ver: New file.
827 * config/pru/ltd.c: New file.
828 * config/pru/ltf.c: New file.
829 * config/pru/mpyll.S: New file.
830 * config/pru/pru-abi.h: New file.
831 * config/pru/pru-asm.h: New file.
832 * config/pru/pru-divmod.h: New file.
833 * config/pru/sfp-machine.h: New file.
834 * config/pru/t-pru: New file.
835
0d7b3e47
JJ
8362019-06-11 Jakub Jelinek <jakub@redhat.com>
837
838 * libgcov-merge.c (__gcov_merge_single): Revert previous change.
839
54e2d83c
ML
8402019-06-10 Martin Liska <mliska@suse.cz>
841
842 PR bootstrap/90808
843 * libgcov.h: Add ATTRIBUTE_UNUSED.
844
92d41717
ML
8452019-06-10 Martin Liska <mliska@suse.cz>
846
847 * Makefile.in: Add __gcov_one_value_profiler_v2,
848 __gcov_one_value_profiler_v2_atomic and
849 __gcov_indirect_call_profiler_v4.
850 * libgcov-merge.c (__gcov_merge_single): Change
851 function signature.
852 (merge_single_value_set): New.
853 * libgcov-profiler.c (__gcov_one_value_profiler_body):
854 Update functionality.
855 (__gcov_one_value_profiler): Remove.
856 (__gcov_one_value_profiler_v2): ... this.
857 (__gcov_one_value_profiler_atomic): Rename to ...
858 (__gcov_one_value_profiler_v2_atomic): this.
859 (__gcov_indirect_call_profiler_v3): Rename to ...
860 (__gcov_indirect_call_profiler_v4): ... this.
861 * libgcov.h (__gcov_one_value_profiler): Remove.
862 (__gcov_one_value_profiler_atomic): Remove.
863 (__gcov_one_value_profiler_v2_atomic): New.
864 (__gcov_indirect_call_profiler_v3): Remove.
865 (__gcov_one_value_profiler_v2): New.
866 (__gcov_indirect_call_profiler_v4): New.
867 (gcov_get_counter_ignore_scaling): New function.
868
e37333ba
ML
8692019-06-07 Martin Liska <mliska@suse.cz>
870
871 * Makefile.in: Remove usage of
872 _gcov_merge_icall_topn.
873 * libgcov-driver.c (gcov_sort_n_vals): Remove.
874 (gcov_sort_icall_topn_counter): Likewise.
875 (gcov_sort_topn_counter_arrays): Likewise.
876 (dump_one_gcov): Remove call to gcov_sort_topn_counter_arrays.
877 * libgcov-merge.c (__gcov_merge_icall_topn): Remove.
878 * libgcov-profiler.c (__gcov_topn_value_profiler_body):
879 Likewise.
880 (GCOV_ICALL_COUNTER_CLEAR_THRESHOLD): Remove.
881 (struct indirect_call_tuple): Remove.
882 (__gcov_indirect_call_topn_profiler): Remove.
883 * libgcov-util.c (__gcov_icall_topn_counter_op): Remove.
884 * libgcov.h (gcov_sort_n_vals): Remove.
885 (L_gcov_merge_icall_topn): Likewise.
886 (__gcov_merge_icall_topn): Likewise.
887 (__gcov_indirect_call_topn_profiler): Likewise.
888
34a4a9c2
IS
8892019-06-06 Iain Sandoe <iain@sandoe.co.uk>
890
891 * config/rs6000/t-darwin: Ensure that the unwinder is built with
892 altivec enabled.
893
d1b2f85f
JL
8942019-06-06 Jozef Lawrynowicz <jozef.l@mittosystems.com>
895
896 * config/msp430/slli.S (__mspabi_slli_n): Put function in its own
897 section.
898 (__mspabi_slli): Likewise.
899 (__mspabi_slll_n): Likewise.
900 (__mspabi_slll): Likewise.
901 * config/msp430/srai.S (__mspabi_srai_n): Likewise.
902 (__mspabi_srai): Likewise.
903 (__mspabi_sral_n): Likewise.
904 (__mspabi_sral): Likewise.
905 * config/msp430/srli.S (__mspabi_srli_n): Likewise.
906 (__mspabi_srli): Likewise.
907 (__mspabi_srll_n): Likewise.
908 (__mspabi_srll): Likewise.
909
e69a13d1
YS
9102019-06-05 Yoshinori Sato <ysato@users.sourceforge.jp>
911
912 * config.host (rx-*-linux*): Add t-fdpbit to tmake_file
913 Add appropriate tm_file clause as well.
914 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Remove.
915
b009eac1
JC
9162019-06-05 James Clarke <jrtc27@jrtc27.com>
917
918 * config/ia64/crtbegin.S (__dso_handle): Put in .sdata/.sbss
919 rather than .data/.bss so it can be accessed via gp-relative
920 addressing.
921
781d39f2
DE
9222019-06-05 David Edelsohn <dje.gcc@gmail.com>
923
924 * config/rs6000/aix-unwind.h (LR_REGNO): Rename to R_LR.
925 (CR2_REGNO): Rename to R_CR2.
926 (XER_REGNO): Rename to R_XER.
927 (FIRST_ALTIVEC_REGNO): Rename to R_FIRST_ALTIVEC.
928 (VRSAVE_REGNO): Rename to R_VRSAVE.
929 (VSCR_REGNO): R_VSCR.
930
76aaa9cd
YS
9312019-05-29 Yoshinori Sato <ysato@users.sourceforge.jp>
932
933 * config.host (rx-*-linux*): Add new case.
934 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Force DFmode to SFmode.
935
8fc16d72
ST
9362019-05-29 Sam Tebbs <sam.tebbs@arm.com>
937
938 * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key): New
939 function.
940 * config/aarch64/aarch64-unwind.h (aarch64_post_extract_frame_addr,
941 aarch64_post_frob_eh_handler_addr): Add check for b-key.
942 * config/aarch64/aarch64-unwind-h (aarch64_post_extract_frame_addr,
943 aarch64_post_frob_eh_handler_addr, aarch64_post_frob_update_context):
944 Rename RA_A_SIGNED_BIT to RA_SIGNED_BIT.
945 * unwind-dw2-fde.c (get_cie_encoding): Add check for 'B' in augmentation
946 string.
947 * unwind-dw2.c (extract_cie_info): Add check for 'B' in augmentation
948 string.
949 (RA_A_SIGNED_BIT): Rename to RA_SIGNED_BIT.
950
e54b1a92
RO
9512019-05-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
952
953 * config/sparc/sol2-unwind.h [__arch64__] (sparc64_is_sighandler):
954 Remove Solaris 9 and 10 support.
955 (sparc_is_sighandler): Likewise.
956
abbb8307
JDA
9572019-05-26 John David Anglin <danglin@gcc.gnu.org>
958
959 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Add cast.
960
2581344d
L
9612019-05-17 H.J. Lu <hongjiu.lu@intel.com>
962
963 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
964 4_FP_W_TYPEs are used for IEEE quad precision.
965 * soft-fp/extendhftf2.c: Likewise.
966 * soft-fp/extendsftf2.c: Likewise.
967 * soft-fp/extendxftf2.c: Likewise.
968 * soft-fp/trunctfdf2.c: Likewise.
969 * soft-fp/trunctfhf2.c: Likewise.
970 * soft-fp/trunctfsf2.c: Likewise.
971 * soft-fp/trunctfxf2.c: Likewise.
972 * config/rs6000/ibm-ldouble.c: Likewise.
973
ccd1242e
RO
9742019-05-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
975
976 * config.host: Simplify various *-*-solaris2.1[0-9]* to
977 *-*-solaris2*.
978 * configure.ac: Likewise.
979 * configure: Regenerate.
980
981 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
982 Solaris 10 and Solaris 11 < snv_125 handling.
983
ef5eb79d
IS
9842019-05-12 Iain Sandoe <iain@sandoe.co.uk>
985
986 * config/rs6000/darwin-vecsave.S: Set .machine appropriately.
987
4f0e90fa
HL
9882019-05-07 Hongtao Liu <hongtao.liu@intel.com>
989
990 * config/i386/cpuinfo.c (get_available_features): Detect BF16.
991 * config/i386/cpuinfo.h (enum processor_features): Add
992 FEATURE_AVX512BF16.
993
48528842
RR
9942019-04-23 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
995 Bernd Edlinger <bernd.edlinger@hotmail.de>
996 Jakub Jelinek <jakub@redhat.com>
997
998 PR target/89093
999 * config/arm/pr-support.c: Add #pragma GCC target("general-regs-only").
1000 * config/arm/unwind-arm.c: Likewise.
1001 * unwind-c.c (PERSONALITY_FUNCTION): Add general-regs-only target
1002 attribute for ARM.
1003
887e182f
MC
10042019-04-15 Monk Chiang <sh.chiang04@gmail.com>
1005
1006 * config/nds32/linux-unwind.h (SIGRETURN): Remove.
1007 (RT_SIGRETURN): Update.
1008 (nds32_fallback_frame_state): Update.
1009
a90b0cdd
MS
10102019-02-21 Martin Sebor <msebor@redhat.com>
1011
1012 * libgcc2.h (__clear_cache): Correct signature.
1013 * libgcc2.c (__clear_cache): Same.
1014
1ed28eda
UB
10152019-02-20 Uroš Bizjak <ubizjak@gmail.com>
1016
1017 * config/alpha/linux-unwind.h (alpha_fallback_frame_state):
1018 Cast 'mcontext_t *' &rt_->uc.uc_mcontext to 'struct sigcontext *'.
1019
fe95aee9
UB
10202019-02-19 Uroš Bizjak <ubizjak@gmail.com>
1021
1022 * unwind-dw2.c (_Unwind_GetGR) [DWARF_ZERO_REG]: Compare
1023 regno instead of index to DWARF_ZERO_REG.
1024
bf7988f1
EB
10252019-02-15 Eric Botcazou <ebotcazou@adacore.com>
1026
1027 * config/visium/lib2funcs.c (__set_trampoline_parity): Replace
1028 TRAMPOLINE_SIZE with __LIBGCC_TRAMPOLINE_SIZE__.
1029
ba2c1ca8
UB
10302019-01-31 Uroš Bizjak <ubizjak@gmail.com>
1031
1032 * config/alpha/t-linux: Add -mfp-rounding-mode=d
1033 to HOST_LIBGCC2_CFLAGS.
1034
6395ba73
L
10352019-01-23 Joseph Myers <joseph@codesourcery.com>
1036
1037 PR libgcc/88931
ba2c1ca8 1038 * libgcc2.c (FSTYPE FUNC (DWtype u)): Correct no leading bits case.
6395ba73 1039
756721ba
ML
10402019-01-18 Martin Liska <mliska@suse.cz>
1041
1042 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Rename
1043 to ...
1044 (__gcov_indirect_call_profiler_v3): ... this.
1045 * libgcov.h (__gcov_indirect_call_profiler_v2): Likewise.
1046 (__gcov_indirect_call_profiler_v3): Likewise.
1047 * Makefile.in: Bump function name.
1048
d273c40a
ML
10492019-01-18 Martin Liska <mliska@suse.cz>
1050
1051 * libgcov-driver.c (GCOV_PROF_PREFIX): Define.
1052 (gcov_version): Use in gcov_error.
1053 (merge_one_data): Likewise.
1054 (dump_one_gcov): Likewise.
1055
be9d9fdb
ML
10562019-01-18 Martin Liska <mliska@suse.cz>
1057
1058 * libgcov-driver.c (gcov_version_string): New function.
1059 (gcov_version): Convert version integer into string.
1060
91d7b7fe
AS
10612019-01-17 Andrew Stubbs <ams@codesourcery.com>
1062 Kwok Cheung Yeung <kcy@codesourcery.com>
1063 Julian Brown <julian@codesourcery.com>
1064 Tom de Vries <tom@codesourcery.com>
1065
1066 * config.host: Recognize amdgcn*-*-amdhsa.
1067 * config/gcn/crt0.c: New file.
1068 * config/gcn/lib2-divmod-hi.c: New file.
1069 * config/gcn/lib2-divmod.c: New file.
1070 * config/gcn/lib2-gcn.h: New file.
1071 * config/gcn/sfp-machine.h: New file.
1072 * config/gcn/t-amdgcn: New file.
1073
67914693
SL
10742019-01-09 Sandra Loosemore <sandra@codesourcery.com>
1075
1076 PR other/16615
1077
1078 * config/c6x/libunwind.S: Mechanically replace "can not" with
1079 "cannot".
1080 * config/tilepro/atomic.h: Likewise.
1081 * config/vxlib-tls.c: Likewise.
1082 * generic-morestack-thread.c: Likewise.
1083 * generic-morestack.c: Likewise.
1084 * mkmap-symver.awk: Likewise.
1085
a5544970
JJ
10862019-01-01 Jakub Jelinek <jakub@redhat.com>
1087
1088 Update copyright years.
1089
da77eace
L
10902018-12-20 H.J. Lu <hongjiu.lu@intel.com>
1091
1092 * unwind-pe.h (read_encoded_value_with_base): Add GCC pragma
1093 to ignore -Waddress-of-packed-member.
1094
72e3a529
TP
10952018-12-19 Thomas Preud'homme <thomas.preudhomme@linaro.org>
1096
1097 * /config/arm/lib1funcs.S (FUNC_START): Remove unused sp_section
1098 parameter and corresponding code.
1099 (ARM_FUNC_START): Likewise in both definitions.
1100 Also update footer comment about condition that need to match with
1101 gcc/config/arm/elf.h to also include libgcc/config/arm/t-arm.
1102 * config/arm/ieee754-df.S (muldf3): Also build it if L_arm_muldf3 is
1103 defined. Weakly define it in this case.
1104 * config/arm/ieee754-sf.S (mulsf3): Likewise with L_arm_mulsf3.
1105 * config/arm/t-elf (LIB1ASMFUNCS): Build _arm_muldf3.o and
1106 _arm_mulsf3.o before muldiv versions if targeting Thumb-1 only. Add
1107 comment to keep condition in sync with the one in
1108 libgcc/config/arm/lib1funcs.S and gcc/config/arm/elf.h.
1109
5d54c798
WX
11102018-12-18 Wei Xiao <wei3.xiao@intel.com>
1111
1112 * config/i386/cpuinfo.c (get_intel_cpu): Handle cascadelake.
1113 * config/i386/cpuinfo.h: Add INTEL_COREI7_CASCADELAKE.
1114
5a2580b6
RV
11152018-12-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1116
1117 * config/rs6000/tramp.S (__trampoline_setup): Also emit .size
1118 and .cfi_endproc directives for VxWorks targets.
1119
c0c5112b
PK
11202018-12-05 Paul Koning <ni1d@arrl.net>
1121
1122 * udivmodhi4.c (__udivmodhi4): Fix loop end check.
1123
1ea7ea18
AM
11242018-11-27 Alan Modra <amodra@gmail.com>
1125
1126 * config/rs6000/morestack.S (__stack_split_initialize),
1127 (__morestack_get_guard, __morestack_set_guard),
1128 (__morestack_make_guard): Provide CFI covering these functions.
1129 * config/rs6000/tramp.S (__trampoline_setup): Likewise.
1130
ff641ae1
XQ
11312018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
1132
1ea7ea18 1133 * config/csky/linux-unwind.h (sc_pt_regs): Update for kernel.
ff641ae1
XQ
1134 (sc_pt_regs_lr): Update for kernel.
1135 (sc_pt_regs_tls): Update for kernel.
1136
28209372
XQ
11372018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
1138
1139 * config/csky/linux-unwind.h: Fix coding style.
1140
b2a71af6
XQ
11412018-11-13 Xianmiao Qu <xianmiao_qu@c-sky.com>
1142
1143 * config/csky/linux-unwind.h (_sig_ucontext_t): Remove.
1ea7ea18 1144 (csky_fallback_frame_state): Modify the check of the
b2a71af6
XQ
1145 instructions to adapt to changes in the kernel
1146
d929e137
SH
11472018-11-09 Stafford Horne <shorne@gmail.com>
1148 Richard Henderson <rth@twiddle.net>
1149
1150 * config.host: Add OpenRISC support.
1151 * config/or1k/*: New.
1152
222cfefa
KC
11532018-11-08 Kito Cheng <kito@andestech.com>
1154
1155 * soft-fp/adddf3.c: Update from glibc.
1156 * soft-fp/addsf3.c: Likewise.
1157 * soft-fp/addtf3.c: Likewise.
1158 * soft-fp/divdf3.c: Likewise.
1159 * soft-fp/divsf3.c: Likewise.
1160 * soft-fp/divtf3.c: Likewise.
1161 * soft-fp/double.h: Likewise.
1162 * soft-fp/eqdf2.c: Likewise.
1163 * soft-fp/eqsf2.c: Likewise.
1164 * soft-fp/eqtf2.c: Likewise.
1165 * soft-fp/extenddftf2.c: Likewise.
1166 * soft-fp/extended.h: Likewise.
1167 * soft-fp/extendhftf2.c: Likewise.
1168 * soft-fp/extendsfdf2.c: Likewise.
1169 * soft-fp/extendsftf2.c: Likewise.
1170 * soft-fp/extendxftf2.c: Likewise.
1171 * soft-fp/fixdfdi.c: Likewise.
1172 * soft-fp/fixdfsi.c: Likewise.
1173 * soft-fp/fixdfti.c: Likewise.
1174 * soft-fp/fixhfti.c: Likewise.
1175 * soft-fp/fixsfdi.c: Likewise.
1176 * soft-fp/fixsfsi.c: Likewise.
1177 * soft-fp/fixsfti.c: Likewise.
1178 * soft-fp/fixtfdi.c: Likewise.
1179 * soft-fp/fixtfsi.c: Likewise.
1180 * soft-fp/fixtfti.c: Likewise.
1181 * soft-fp/fixunsdfdi.c: Likewise.
1182 * soft-fp/fixunsdfsi.c: Likewise.
1183 * soft-fp/fixunsdfti.c: Likewise.
1184 * soft-fp/fixunshfti.c: Likewise.
1185 * soft-fp/fixunssfdi.c: Likewise.
1186 * soft-fp/fixunssfsi.c: Likewise.
1187 * soft-fp/fixunssfti.c: Likewise.
1188 * soft-fp/fixunstfdi.c: Likewise.
1189 * soft-fp/fixunstfsi.c: Likewise.
1190 * soft-fp/fixunstfti.c: Likewise.
1191 * soft-fp/floatdidf.c: Likewise.
1192 * soft-fp/floatdisf.c: Likewise.
1193 * soft-fp/floatditf.c: Likewise.
1194 * soft-fp/floatsidf.c: Likewise.
1195 * soft-fp/floatsisf.c: Likewise.
1196 * soft-fp/floatsitf.c: Likewise.
1197 * soft-fp/floattidf.c: Likewise.
1198 * soft-fp/floattihf.c: Likewise.
1199 * soft-fp/floattisf.c: Likewise.
1200 * soft-fp/floattitf.c: Likewise.
1201 * soft-fp/floatundidf.c: Likewise.
1202 * soft-fp/floatundisf.c: Likewise.
1203 * soft-fp/floatunditf.c: Likewise.
1204 * soft-fp/floatunsidf.c: Likewise.
1205 * soft-fp/floatunsisf.c: Likewise.
1206 * soft-fp/floatunsitf.c: Likewise.
1207 * soft-fp/floatuntidf.c: Likewise.
1208 * soft-fp/floatuntihf.c: Likewise.
1209 * soft-fp/floatuntisf.c: Likewise.
1210 * soft-fp/floatuntitf.c: Likewise.
1211 * soft-fp/gedf2.c: Likewise.
1212 * soft-fp/gesf2.c: Likewise.
1213 * soft-fp/getf2.c: Likewise.
1214 * soft-fp/half.h: Likewise.
1215 * soft-fp/ledf2.c: Likewise.
1216 * soft-fp/lesf2.c: Likewise.
1217 * soft-fp/letf2.c: Likewise.
1218 * soft-fp/muldf3.c: Likewise.
1219 * soft-fp/mulsf3.c: Likewise.
1220 * soft-fp/multf3.c: Likewise.
1221 * soft-fp/negdf2.c: Likewise.
1222 * soft-fp/negsf2.c: Likewise.
1223 * soft-fp/negtf2.c: Likewise.
1224 * soft-fp/op-1.h: Likewise.
1225 * soft-fp/op-2.h: Likewise.
1226 * soft-fp/op-4.h: Likewise.
1227 * soft-fp/op-8.h: Likewise.
1228 * soft-fp/op-common.h: Likewise.
1229 * soft-fp/quad.h: Likewise.
1230 * soft-fp/single.h: Likewise.
1231 * soft-fp/soft-fp.h: Likewise.
1232 * soft-fp/subdf3.c: Likewise.
1233 * soft-fp/subsf3.c: Likewise.
1234 * soft-fp/subtf3.c: Likewise.
1235 * soft-fp/truncdfsf2.c: Likewise.
1236 * soft-fp/trunctfdf2.c: Likewise.
1237 * soft-fp/trunctfhf2.c: Likewise.
1238 * soft-fp/trunctfsf2.c: Likewise.
1239 * soft-fp/trunctfxf2.c: Likewise.
1240 * soft-fp/unorddf2.c: Likewise.
1241 * soft-fp/unordsf2.c: Likewise.
1242 * soft-fp/unordtf2.c: Likewise.
1243
2901f42f
VK
12442018-11-04 Venkataramanan Kumar <Venkataramanan.kumar@amd.com>
1245
1246 * config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
1247 * config/i386/cpuinfo.h (processor_types): Add znver2.
1248
4310ca66
PK
12492018-11-01 Paul Koning <ni1d@arrl.net>
1250
1251 * config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c.
1252 (HOST_LIBGCC2_CFLAGS): Change to optimize for size.
1253
22e05272
JM
12542018-10-31 Joseph Myers <joseph@codesourcery.com>
1255
1256 PR bootstrap/82856
1257 * configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
1258 * configure: Regenerate.
1259
8180cde0
CZ
12602018-10-31 Claudiu Zissulescu <claziss@synopsys.com>
1261
1262 * config/arc/lib1funcs.S (_muldi3): New function.
1263 * config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
1264
be7b071e
RV
12652018-10-30 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1266
1267 * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
1268
3239d726
ML
12692018-10-25 Martin Liska <mliska@suse.cz>
1270
1271 PR other/87735
1272 * libgcov-profiler.c: Revert.
1273
19b55958
ML
12742018-10-24 Martin Liska <mliska@suse.cz>
1275
1276 * libgcov-profiler.c: Start from 1 in order to distinguish
1277 functions which were seen and these that were not.
1278
a9a2fddb
PK
12792018-10-18 Paul Koning <ni1d@arrl.net>
1280
1281 * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
1282 standard.
1283 * divmod.c: Update references to __udivmodsi4.
1284 * udivmod.c: Ditto.
1285 * udivhi3.c: New file.
1286 * udivmodhi4.c: New file.
1287 * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
1288
fc8abc46
RV
12892018-10-17 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1290
1291 * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
1292
87f918e3
OH
12932018-10-12 Olivier Hainque <hainque@adacore.com>
1294
1295 * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
1296 defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
1297
be86efa7
PK
12982018-10-08 Paul Koning <ni1d@arrl.net>
1299
1300 * config/pdp11/t-pdp11: Remove -mfloat32 switch.
1301
3edbcdbe
ML
13022018-10-04 Martin Liska <mliska@suse.cz>
1303
1304 PR gcov-profile/84107
1305 * libgcov-profiler.c (__gcov_indirect_call):
1306 Change type to indirect_call_tuple.
1307 (struct indirect_call_tuple): New struct.
1308 (__gcov_indirect_call_topn_profiler): Change type.
1309 (__gcov_indirect_call_profiler_v2): Use the new
1310 variables.
1311 * libgcov.h (struct indirect_call_tuple): New struct
1312 definition.
1313
af8096fc
UB
13142018-10-03 Uros Bizjak <ubizjak@gmail.com>
1315
1316 * libgcc2.c (isnan): Use __builtin_isnan.
1317 (isfinite): Use __builtin_isfinite.
1318 (isinf): Use __builtin_isinf.
1319
0a76bba4
UB
13202018-09-26 Uros Bizjak <ubizjak@gmail.com>
1321
1322 * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
1323
5244089f
OH
13242018-09-21 Alexandre Oliva <oliva@adacore.com>
1325
1326 * config/vxcache.c: New file. Provide __clear_cache, based on
1327 the cacheTextUpdate VxWorks service.
1328 * config/t-vxworks (LIB2ADD): Add vxcache.c.
1329 (LIB2FUNCS_EXCLUDE): Add _clear_cache.
1330 * config/t-vxwoks7: Likewise.
1331
512cc015
ML
13322018-09-21 Martin Liska <mliska@suse.cz>
1333
1334 * libgcov-driver.c (crc32_unsigned): Remove.
1335 (gcov_histogram_insert): Likewise.
1336 (gcov_compute_histogram): Likewise.
1337 (compute_summary): Simplify rapidly.
1338 (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
1339 (merge_summary): Rapidly simplify.
1340 (dump_one_gcov): Ignore gcov_summary.
1341 (gcov_do_dump): Do not handle program summary, it's not
1342 used.
1343 * libgcov-util.c (tag_summary): Remove.
1344 (read_gcda_finalize): Fix coding style.
1345 (read_gcda_file): Initialize curr_object_summary.
1346 (compute_summary): Remove.
1347 (calculate_overlap): Remove settings of run_max.
1348
36ff254b
MC
13492018-09-21 Monk Chiang <sh.chiang04@gmail.com>
1350
1351 * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
1352 ucontext_t type instead.
1353 (nds32_fallback_frame_state): Remove struct _sigframe statement.
1354
229a033d
KC
13552018-09-21 Kito Cheng <kito.cheng@gmail.com>
1356
1357 * config/nds32/t-nds32-glibc: New file.
1358
53c6feb2
RO
13592018-09-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1360
1361 * configure.ac (solaris_ld_v2_maps): New test.
1362 * configure: Regenerate.
1363 * Makefile.in (solaris_ld_v2_maps): New variable.
1364 * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
1365 if supported.
1366
ebdb6f23
RE
13672018-08-23 Richard Earnshaw <rearnsha@arm.com>
1368
1369 PR target/86951
1370 * config/arm/lib1funcs.asm (speculation_barrier): New function.
1371 * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
1372 to build.
1373
a49c064e
IS
13742018-08-22 Iain Sandoe <iain@sandoe.co.uk>
1375
1ea7ea18 1376 * config/unwind-dw2-fde-darwin.c
a49c064e
IS
1377 (_darwin10_Unwind_FindEnclosingFunction): move from here ...
1378 * config/darwin10-unwind-find-enc-func.c: … to here.
1379 * config/t-darwin: Build Darwin10 unwinder shim crt.
1380 * libgcc/config.host: Add the Darwin10 unwinder shim.
1381
9a5b8df7
RV
13822018-08-21 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1383
1384 * config.host: Add crtbegin.o and crtend.o for
1385 powerpc-wrs-vxworks target.
1386
4cd0bc3b
J
13872018-08-17 Jojo <jijie_rong@c-sky.com>
1388 Huibin Wang <huibin_wang@c-sky.com>
1389 Sandra Loosemore <sandra@codesourcery.com>
1390 Chung-Lin Tang <cltang@codesourcery.com>
1391
1392 C-SKY port: libgcc
1393
1394 * config.host: Add C-SKY support.
1395 * config/csky/*: New.
1396
a4931745
CJW
13972018-08-12 Chung-Ju Wu <jasonwucj@gmail.com>
1398
1399 * config/nds32/t-nds32-isr: Rearrange object dependency.
1400 * config/nds32/initfini.c: Add dwarf2 unwinding support.
1401 * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
1402 and registers usage.
1403 * config/nds32/isr-library/excp_isr.S: Ditto.
1404 * config/nds32/isr-library/intr_isr.S: Ditto.
1405 * config/nds32/isr-library/reset.S: Ditto.
1406 * config/nds32/isr-library/restore_all.inc: Ditto.
1407 * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
1408 * config/nds32/isr-library/restore_partial.inc: Ditto.
1409 * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
1410 * config/nds32/isr-library/save_all.inc: Ditto.
1411 * config/nds32/isr-library/save_mac_regs.inc: Ditto.
1412 * config/nds32/isr-library/save_partial.inc: Ditto.
1413 * config/nds32/isr-library/save_usr_regs.inc: Ditto.
1414 * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
1415
2b1969f6
JDA
14162018-08-11 John David Anglin <danglin@gcc.gnu.org>
1417
1418 * config/pa/linux-atomic.c: Update comment.
1419 (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
1420 COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
1421 SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
1422 __ATOMIC_RELAXED for atomic loads.
1423 (SYNC_LOCK_RELEASE_1): New define. Use __sync_synchronize() and
1424 unordered store to release lock.
1425 (__sync_lock_release_8): Likewise.
1426 (SYNC_LOCK_RELEASE_2): Remove define.
af8096fc 1427
89fff9cc
NP
14282018-08-02 Nicolas Pitre <nico@fluxnic.net>
1429
1430 PR libgcc/86512
1431 * config/arm/ieee754-df.S: Don't shortcut denormal handling when
1432 exponent goes negative. Update my email address.
1433 * config/arm/ieee754-sf.S: Likewise.
1434
fd2e1dcd
ML
14352018-08-01 Martin Liska <mliska@suse.cz>
1436
1437 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
92a285c1 1438 check that __gcov_indirect_call_callee is non-null.
fd2e1dcd 1439
b7415975
CL
14402018-07-30 Christophe Lyon <christophe.lyon@linaro.org>
1441
1442 * config/arm/ieee754-df.S: Fix comment for code working on
1443 architectures >= 4.
1444 * config/arm/ieee754-sf.S: Likewise.
1445
b72e71a3
L
14462018-07-27 H.J. Lu <hongjiu.lu@intel.com>
1447
1448 PR libgcc/85334
1449 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
1450 Removed.
1451
1c686aa4
JC
14522018-07-05 James Clarke <jrtc27@jrtc27.com>
1453
1454 * configure: Regenerated.
1455
b61c9b99
RO
14562018-06-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1457
1458 * Makefile.in (install_leaf): Use enable_gcov instead of
1459 enable_libgcov.
1460
1765b023
RV
14612018-06-27 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1462
1463 * configure.ac: Add --disable-gcov option.
1464 * configure: Regenerate.
1465 * Makefile.in: Honour @enable_gcov@.
1466
9b2e34ef
CL
14672018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
1468
1469 * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
1470 __ARM_ARCH and __ARM_FEATURE_CLZ instead.
1471 (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
1472 * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
1473 __ARM_ARCH__.
1474 * config/arm/ieee754-sf.S: Likewise.
1475 * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
1476
d1b0dd54
CL
14772018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
1478
1479 * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
1480 longer supported.
1481 * config/arm/ieee754-sf.S: Likewise.
1482
1f3fa525
TM
14832018-06-20 Than McIntosh <thanm@google.com>
1484
1485 PR libgcc/86213
1486 * generic-morestack.c (allocate_segment): Move calls to getenv and
1487 getpagesize to __morestack_load_mmap.
1488 (__morestack_load_mmap) Initialize static_pagesize and
1489 use_guard_page here so as to avoid clobbering SSE regs during a
1490 __morestack call.
1491
6a8886e4
MM
14922018-06-18 Michael Meissner <meissner@linux.ibm.com>
1493
1494 * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
1495 support modules with -mno-gnu-attribute.
1496 * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
1497
fb997097
OH
14982018-06-07 Olivier Hainque <hainque@adacore.com>
1499
1500 * config/t-vxworks (LIBGCC_INCLUDES): Add
1501 -I$(MULTIBUILDTOP)../../gcc/include.
1502 * config/t-vxworks7: Likewise. Reformat a bit to match
1503 the t-vxworks layout.
1504
a548a5a1
OM
15052018-06-07 Olga Makhotina <olga.makhotina@intel.com>
1506
1507 * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
1508
244aebfd
ML
15092018-06-07 Martin Liska <mliska@suse.cz>
1510
1511 * libgcov-driver.c: Rename cs_all to all and assign it from
92a285c1 1512 all_prg.
244aebfd 1513
6c086e8c
ML
15142018-06-07 Martin Liska <mliska@suse.cz>
1515
92a285c1 1516 PR bootstrap/86057
6c086e8c 1517 * libgcov-driver-system.c (replace_filename_variables): Use
92a285c1 1518 memcpy instead of mempcpy.
6c086e8c 1519 (allocate_filename_struct): Do not allocate filename, allocate
92a285c1 1520 prefix and set it.
6c086e8c 1521 (gcov_exit_open_gcda_file): Allocate memory for gf->filename
92a285c1 1522 here and properly copy content into it.
6c086e8c 1523 * libgcov-driver.c (struct gcov_filename): Remove max_length
92a285c1 1524 field, change prefix from size_t into char *.
6c086e8c
ML
1525 (compute_summary): Do not calculate longest filename.
1526 (gcov_do_dump): Release memory of gf.filename after each file.
1527 * libgcov-util.c (compute_summary): Use new signature of
92a285c1 1528 compute_summary.
6c086e8c
ML
1529 (calculate_overlap): Likewise.
1530
97a53d1d
ML
15312018-06-05 Martin Liska <mliska@suse.cz>
1532
1533 PR gcov-profile/47618
1534 * libgcov-driver-system.c (replace_filename_variables): New
92a285c1 1535 function.
97a53d1d
ML
1536 (gcov_exit_open_gcda_file): Use it.
1537
7f3577f5
ML
15382018-06-05 Martin Liska <mliska@suse.cz>
1539
1540 * libgcov-driver.c (gcov_compute_histogram): Remove usage
1541 of gcov_ctr_summary.
1542 (compute_summary): Do it just for a single summary.
1543 (merge_one_data): Likewise.
1544 (merge_summary): Simplify as we read just single summary.
1545 (dump_one_gcov): Pass proper argument.
1546 * libgcov-util.c (compute_one_gcov): Simplify as we have just
1547 single summary.
1548 (gcov_info_count_all_cold): Likewise.
1549 (calculate_overlap): Likewise.
1550
cf3cd43d
CJW
15512018-06-02 Chung-Ju Wu <jasonwucj@gmail.com>
1552 Monk Chiang <sh.chiang04@gmail.com>
1553
1554 * config.host (nds32*-linux*): New.
1555 * config/nds32/linux-atomic.c: New file.
1556 * config/nds32/linux-unwind.h: New file.
1557
8b8003ed
UB
15582018-05-31 Uros Bizjak <ubizjak@gmail.com>
1559
1560 PR target/85591
1561 * config/i386/cpuinfo.c (get_amd_cpu): Return
1562 AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
1563
bbdf026f
RV
15642018-05-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
1565
92a285c1 1566 * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
bbdf026f 1567
0e8f29da
ML
15682018-05-29 Martin Liska <mliska@suse.cz>
1569
92a285c1 1570 PR gcov-profile/85759
0e8f29da 1571 * libgcov-driver-system.c (gcov_error): Introduce usage of
92a285c1 1572 GCOV_EXIT_AT_ERROR env. variable.
0e8f29da 1573 * libgcov-driver.c (merge_one_data): Print error that we
92a285c1 1574 overwrite a gcov file with a different timestamp.
0e8f29da 1575
54fd1590
K
15762018-05-23 Kalamatee <kalamatee@gmail.com>
1577
1578 * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
1579 path to Lf$finfty.
1580
09baee1a
KC
15812018-05-18 Kito Cheng <kito.cheng@gmail.com>
1582 Monk Chiang <sh.chiang04@gmail.com>
1583 Jim Wilson <jimw@sifive.com>
1584
1585 * config/riscv/save-restore.S: Add support for rv32e.
1586
c3f808d3
KT
15872018-05-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1588
1589 * config/arm/libunwind.S: Update comment relating to armv5.
1590
fcf4f831
JL
15912018-05-17 Jerome Lambourg <lambourg@adacore.com>
1592
1593 * config/arm/cmse.c (cmse_check_address_range): Replace
1594 UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
1595
74b2bb19
OM
15962018-05-17 Olga Makhotina <olga.makhotina@intel.com>
1597
1598 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
1599 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
1600
50e461df
OM
16012018-05-08 Olga Makhotina <olga.makhotina@intel.com>
1602
1603 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
1604 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
1605
e5f1cdb1
AC
16062018-05-07 Amaan Cheval <amaan.cheval@gmail.com>
1607
1608 * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
1609
8f479d7a
AT
16102018-04-27 Andreas Tobler <andreast@gcc.gnu.org>
1611 Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
1612
1613 PR libgcc/84292
1614 * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
1615 op_and_fetch to return the right result.
1616
ae043291
AM
16172018-04-27 Alan Modra <amodra@gmail.com>
1618
1619 PR libgcc/85532
1620 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
1621 -fno-asynchronous-unwind-tables.
1622
ba169b74
CJW
16232018-04-25 Chung-Ju Wu <jasonwucj@gmail.com>
1624
1625 * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
1626 * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
1627
ffc2fc06
L
16282018-04-24 H.J. Lu <hongjiu.lu@intel.com>
1629
1630 * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
1631 when including "config/i386/shadow-stack-unwind.h".
1632
7b47ecf2
L
16332018-04-24 H.J. Lu <hongjiu.lu@intel.com>
1634
1635 * configure: Regenerated.
1636
661eb8f9
MM
16372018-04-20 Michael Meissner <meissner@linux.ibm.com>
1638
1639 PR target/85456
1640 * config/rs6000/_powikf2.c: New file. Add support for the
1641 __builtin_powil function when long double is IEEE 128-bit floating
1642 point.
1643 * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
1644 __powikf2 support.
1645 (__powikf2): Likewise.
1646 * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
1647 (__powikf2_hw): Likewise.
1648 (__powikf2): Likewise.
1649 * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
1650 * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
1651 (_powikf2-hw.c): Likewise.
1652
5707be3c
L
16532018-04-19 H.J. Lu <hongjiu.lu@intel.com>
1654
1655 PR libgcc/85334
1656 * unwind-generic.h (_Unwind_Frames_Increment): New.
1657 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
1658 Likewise.
1659 * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
1660 count with _Unwind_Frames_Increment.
1661 (_Unwind_ForcedUnwind_Phase2): Likewise.
1662
5f9ca0b8
L
16632018-04-19 H.J. Lu <hongjiu.lu@intel.com>
1664
1665 PR libgcc/85379
1666 * config/i386/morestack.S (__stack_split_initialize): Add
1667 _CET_ENDBR.
1668
a0e1df88
JJ
16692018-04-19 Jakub Jelinek <jakub@redhat.com>
1670
1671 * configure: Regenerated.
1672
001ddaa8
DM
16732018-04-18 David Malcolm <dmalcolm@redhat.com>
1674
1675 PR jit/85384
1676 * configure: Regenerate.
1677
a57f99ba
JJ
16782018-04-16 Jakub Jelinek <jakub@redhat.com>
1679
1680 PR target/84945
1681 * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
1682 -Wdangling-else warnings. Mask shift counts to avoid
1683 -Wshift-count-negative and -Wshift-count-overflow false positives.
1684
4d47fe5a
RB
16852018-04-06 Ruslan Bukin <br@bsdpad.com>
1686
1687 * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
1688
059cc8ac
L
16892018-03-29 H.J. Lu <hongjiu.lu@intel.com>
1690
1691 PR target/85100
1692 * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
1693 (XSTATE_FP): Likewise.
1694 (XSTATE_SSE): Likewise.
1695 (XSTATE_YMM): Likewise.
1696 (XSTATE_OPMASK): Likewise.
1697 (XSTATE_ZMM): Likewise.
1698 (XSTATE_HI_ZMM): Likewise.
1699 (XCR_AVX_ENABLED_MASK): Likewise.
1700 (XCR_AVX512F_ENABLED_MASK): Likewise.
1701 (get_available_features): Enable AVX and AVX512 features only
1702 if their states are supported by OSXSAVE.
1703
f2620385
IT
17042018-03-22 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1705
1706 PR target/85025
1707 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
1708 Fix a typo, tmp => 255.
1709
ae6dca8c
JJ
17102018-03-20 Jakub Jelinek <jakub@redhat.com>
1711
1712 PR target/84945
1713 * config/i386/cpuinfo.h (__cpu_features2): Declare.
1714 * config/i386/cpuinfo.c (__cpu_features2): New variable for
1715 ifndef SHARED only.
1716 (set_feature): Define.
1717 (get_available_features): Use set_feature macro. Set __cpu_features2
1718 to the second word of features ifndef SHARED.
1719
c36b04c1
JK
17202018-03-15 Julia Koval <julia.koval@intel.com>
1721
1722 * config/i386/cpuinfo.c (get_available_features): Add
1723 FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
1724 FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
1725 * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
1726 FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
1727 FEATURE_AVX512BITALG.
1728
79ab5364
JK
17292018-03-14 Julia Koval <julia.koval@intel.com>
1730
1731 * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
1732 icelake client and icelake server.
1733
66a00b11
JDA
17342018-03-06 John David Anglin <danglin@gcc.gnu.org>
1735
1736 * config/pa/fptr.c (_dl_read_access_allowed): New.
1737 (__canonicalize_funcptr_for_compare): Use it.
af8096fc 1738
ce579a4f
JJ
17392018-02-28 Jakub Jelinek <jakub@redhat.com>
1740
1741 PR debug/83917
1742 * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
1743 $asm_hidden_op if visibility ("hidden") attribute works.
1744 (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
1745 * config/i386/i386-asm.h: Don't include auto-host.h.
1746 (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
1747 PACKAGE_URL): Don't undefine.
1748 (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
1749 guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
1750 (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
1751 #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
1752 definition instead of hardcoded .hidden.
1753 * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
1754 directive. Use #ifdef HAVE_AS_CFI_SECTIONS rather than
1755 #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
1756 (USE_GAS_CFI_DIRECTIVES): Don't define.
1757 * configure: Regenerated.
1758 * config.in: Likewise.
1759
e5868319
JJ
17602018-02-26 Jakub Jelinek <jakub@redhat.com>
1761
1762 PR debug/83917
1763 * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
1764 PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
1765 inclusion of auto-target.h and auto-host.h.
1766 (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
1767 __GCC_HAVE_DWARF2_CFI_ASM.
1768 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
1769 cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
1770 cfi_pop): Define.
1771 * config/i386/cygwin.S: Don't include auto-host.h here, just
1772 define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
1773 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
1774 cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
1775 * config/i386/resms64fx.h: Add cfi_* directives.
1776 * config/i386/resms64x.h: Likewise.
1777
faef260e
MF
17782018-02-20 Max Filippov <jcmvbkbc@gmail.com>
1779
1780 * config/xtensa/ieee754-df.S (__adddf3_aux): Add
1781 .literal_position directive.
1782 * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
1783
14e335ed
IT
17842018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1785
1786 PR target/84148
1787 * configure: Regenerate.
1788
95df0433
IT
17892018-02-16 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1790
1791 PR target/84239
1792 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
1793 Include cetintrin.h not x86intrin.h.
1794
f8de876d
IT
17952018-02-08 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1796
1797 PR target/84239
95df0433 1798 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
f8de876d
IT
1799 Use new _get_ssp and _inc_ssp intrinsics.
1800
02da1e9c
JK
18012018-02-02 Julia Koval <julia.koval@intel.com>
1802
1803 * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
1804
048c6a9a
CZ
18052018-01-26 Claudiu Zissulescu <claziss@synopsys.com>
1806
1807 * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
1808 option.
1809 (__divsi3): Use RF16 safe registers.
1810 (__modsi3): Likewise.
1811
0889f168
MF
18122018-01-23 Max Filippov <jcmvbkbc@gmail.com>
1813
1814 * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
1815 (__divsf3): Make NaN return value quiet.
1816 * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
1817 (__divdf3): Make NaN return value quiet.
1818
bc8b0d04
SP
18192018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
1820
1821 * config/rl78/anddi3.S: New assembly file.
1822 * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
1823
99cc06ea
SP
18242018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
1825
1826 * config/rl78/umindi3.S: New assembly file.
1827 * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
1828
6e9007a0
SP
18292018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
1830
1831 * config/rl78/smindi3.S: New assembly file.
1832 * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
1833
d975e494 18342018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
af8096fc 1835
d975e494
SP
1836 * config/rl78/smaxdi3.S: New assembly file.
1837 * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
1838
6a18c146 18392018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
af8096fc 1840
5dd16013
SP
1841 * config/rl78/umaxdi3.S: New assembly file.
1842 * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
af8096fc 1843
07baf4a5
JDA
18442018-01-21 John David Anglin <danglin@gcc.gnu.org>
1845
1846 PR lto/83452
1847 * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
1848 * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
af8096fc 1849
dbc3af4f
RS
18502018-01-13 Richard Sandiford <richard.sandiford@linaro.org>
1851
1852 * config/aarch64/value-unwind.h (aarch64_vg): New function.
1853 (DWARF_LAZY_REGISTER_VALUE): Define.
1854 * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
1855 to provide a fallback register value.
1856
68df9882
MM
18572018-01-08 Michael Meissner <meissner@linux.vnet.ibm.com>
1858
1859 * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
1860 __ibm128, instead of trying to use long double.
1861 (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
1862 accomidate -mabi=ieeelongdouble multilibs.
1863 (CVT_IBM128_TO_FLOAT128): Likewise.
1864 * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
1865 the appropriate IBM extended double type.
1866 (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
1867 (__gcc_qsub): Likewise.
1868 (__gcc_qmul): Likewise.
1869 (__gcc_qdiv): Likewise.
1870 (pack_ldouble): Likewise.
1871 (__gcc_qneg): Likewise.
1872 (__gcc_qeq): Likewise.
1873 (__gcc_qne): Likewise.
1874 (__gcc_qge): Likewise.
1875 (__gcc_qle): Likewise.
1876 (__gcc_stoq): Likewise.
1877 (__gcc_dtoq): Likewise.
1878 (__gcc_itoq): Likewise.
1879 (__gcc_utoq): Likewise.
1880 (__gcc_qunord): Likewise.
1881 * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
1882 quad-float128.h for the definitions.
1883 (COPYSIGN): Use the f128 version instead of the q version.
1884 (INFINITY): Likewise.
1885 (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
1886 * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
1887 quad-float128.h for the definitions.
1888 (COPYSIGN): Use the f128 version instead of the q version.
1889 (INFINITY): Likewise.
1890 (FABS): Likewise.
1891 (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
1892 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
1893 * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
1894
64b371b1
SH
18952018-01-05 Sebastian Huber <sebastian.huber@embedded-brains.de>
1896
1897 * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
1898 configuration.
1899
85ec4feb
JJ
19002018-01-03 Jakub Jelinek <jakub@redhat.com>
1901
1902 Update copyright years.
1903
19042017-12-12 Kito Cheng <kito.cheng@gmail.com>
b8d7e076
KC
1905
1906 * config/riscv/t-elf: Use multi3.c instead of multi3.S.
1907 * config/riscv/multi3.c: New file.
1908 * config/riscv/multi3.S: Remove.
1909
3a4c600f
JW
19102017-12-08 Jim Wilson <jimw@sifive.com>
1911
1912 * config/riscv/div.S: Use FUNC_* macros.
1913 * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
1914 * config/riscv/save-restore.S: Likewise.
1915 * config/riscv/riscv-asm.h: New.
1916
75ad35b5
MM
19172017-11-30 Michael Meissner <meissner@linux.vnet.ibm.com>
1918
6ae3512c
MM
1919 * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
1920 * config/rs6000/_divkc3.c (__divkc3): Likewise.
1921
75ad35b5
MM
1922 PR libgcc/83112
1923 * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
1924 correct type for all ifunc resolvers to silence -Wattribute-alias
1925 warnings. Eliminate the forward declaration of the resolver
1926 functions which is no longer needed.
1927 (__subkf3_resolve): Likewise.
1928 (__mulkf3_resolve): Likewise.
1929 (__divkf3_resolve): Likewise.
1930 (__negkf2_resolve): Likewise.
1931 (__eqkf2_resolve): Likewise.
1932 (__nekf2_resolve): Likewise.
1933 (__gekf2_resolve): Likewise.
1934 (__gtkf2_resolve): Likewise.
1935 (__lekf2_resolve): Likewise.
1936 (__ltkf2_resolve): Likewise.
1937 (__unordkf2_resolve): Likewise.
1938 (__extendsfkf2_resolve): Likewise.
1939 (__extenddfkf2_resolve): Likewise.
1940 (__trunckfsf2_resolve): Likewise.
1941 (__trunckfdf2_resolve): Likewise.
1942 (__fixkfsi_resolve): Likewise.
1943 (__fixkfdi_resolve): Likewise.
1944 (__fixunskfsi_resolve): Likewise.
1945 (__fixunskfdi_resolve): Likewise.
1946 (__floatsikf_resolve): Likewise.
1947 (__floatdikf_resolve): Likewise.
1948 (__floatunsikf_resolve): Likewise.
1949 (__floatundikf_resolve): Likewise.
1950 (__extendkftf2_resolve): Likewise.
1951 (__trunctfkf2_resolve): Likewise.
1952
1953 PR libgcc/83103
1954 * config/rs6000/quad-float128.h (TF): Don't define if long double
1955 is IEEE 128-bit floating point.
1956 (TCtype): Define as either TCmode or KCmode, depending on whether
1957 long double is IEEE 128-bit floating point.
1958 (__mulkc3_sw): Add declarations for software/hardware versions of
1959 complex multiply/divide.
1960 (__divkc3_sw): Likewise.
1961 (__mulkc3_hw): Likewise.
1962 (__divkc3_hw): Likewise.
1963 * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
1964 handlers to switch between using software emulation and hardware
1965 float128 instructions, build the complex multiply/divide functions
1966 for both software and hardware support.
1967 * config/rs6000/_divkc3.c (_divkc3): Likewise.
1968 * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
1969 (__divkc3_resolve): Likewise.
1970 (__mulkc3): Likewise.
1971 (__divkc3): Likewise.
1972 * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
1973 (fp128_hw_src): Likewise.
1974 (fp128_hw_static_obj): Likewise.
1975 (fp128_hw_shared_obj): Likewise.
1976 (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
1977 _mulkc3.c and _divkc3.c, changing the function name.
1978 (_divkc3-hw.c): Likewise.
1979 * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
1980 and _divkc3-hw.c.
1981
c234d831
UB
19822017-11-26 Julia Koval <julia.koval@intel.com>
1983
1984 * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
1985 * config/i386/cpuinfo.h (processor_subtypes): Add
1986 INTEL_COREI7_CANNONLAKE.
1987
1ebafce0
IT
19882017-11-20 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1989
1990 PR bootstrap/83015
1991 * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
1992 parameter.
1993 * config/xtensa/unwind-dw2-xtensa.c: Likewise
1994 * config/ia64/unwind-ia64.c: Add frames parameter.
1995 * unwind-sjlj.c: Likewise.
1996
6a10fff4
IT
19972017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1998
1999 * config/i386/linux-unwind.h: Include
2000 config/i386/shadow-stack-unwind.h.
2001 * config/i386/shadow-stack-unwind.h: New file.
2002 * unwind-dw2.c: (uw_install_context): Add a frame parameter and
2003 pass it to _Unwind_Frames_Extra.
2004 * unwind-generic.h (_Unwind_Frames_Extra): New.
2005 * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
2006 parameter. Add local variable frames to count number of frames.
2007 (_Unwind_ForcedUnwind_Phase2): Likewise.
2008 (_Unwind_RaiseException): Add local variable frames to count
2009 number of frames, pass it to _Unwind_RaiseException_Phase2 and
2010 uw_install_context.
2011 (_Unwind_ForcedUnwind): Likewise.
2012 (_Unwind_Resume): Likewise.
2013 (_Unwind_Resume_or_Rethrow): Likewise.
2014
1ecae1fc
IT
20152017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2016
2017 * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
2018 (CET_FLAGS): New.
2019 * config/i386/morestack.S: Include <cet.h>.
2020 (__morestack_large_model): Add _CET_ENDBR at function entrance.
2021 * config/i386/resms64.h: Include <cet.h>.
2022 * config/i386/resms64f.h: Likewise.
2023 * config/i386/resms64fx.h: Likewise.
2024 * config/i386/resms64x.h: Likewise.
2025 * config/i386/savms64.h: Likewise.
2026 * config/i386/savms64f.h: Likewise.
2027 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
2028 (CRTSTUFF_T_CFLAGS): Likewise.
2029 * configure.ac: Include ../config/cet.m4.
2030 Set and substitute CET_FLAGS.
2031 * configure: Regenerated.
2032
f021f1d3
RO
20332017-11-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2034
2035 * config.host (*-*-solaris2*): Adapt comment for Solaris 12
2036 renaming.
2037 * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
2038 * configure.ac (libgcc_cv_solaris_crts): Likewise.
2039 * configure: Regenerate.
2040
65f480c7
TV
20412017-11-07 Tom de Vries <tom@codesourcery.com>
2042
2043 * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
2044 after "do {} while (0)".
2045
2a321acb
TV
20462017-11-07 Tom de Vries <tom@codesourcery.com>
2047
2048 PR other/82784
2049 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
2050 semicolon after "do {} while (0)".
2051 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
2052 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
2053 * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
2054 * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
2055
59fcf6c3
AT
20562017-11-04 Andreas Tobler <andreast@gcc.gnu.org>
2057
2058 PR libgcc/82635
2059 * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
2060 sysctl to determine whether we're in a trampoline.
2061 Keep the pattern matching method for systems without
2062 KERN_PROC_SIGTRAMP sysctl.
2063
b0c7ddf8
CM
20642017-11-03 Cupertino Miranda <cmiranda@synopsys.com>
2065 Vineet Gupta <vgupta@synopsys.com>
2066
2067 * config.host (arc*-*-linux*): Set md_unwind_header variable.
2068 * config/arc/linux-unwind-reg.def: New file.
2069 * config/arc/linux-unwind-reg.h: Likewise.
2070
5feee954
SP
20712017-10-23 Sebastian Perta <sebastian.perta@renesas.com>
2072
2073 * config/rl78/subdi3.S: New assembly file.
2074 * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
2075
a0bf6cf7
SP
20762017-10-13 Sebastian Perta <sebastian.perta@renesas.com>
2077
2078 * config/rl78/adddi3.S: New assembly file.
2079 * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
2080
e7176f75
JJ
20812017-10-13 Jakub Jelinek <jakub@redhat.com>
2082
2083 PR target/82274
2084 * libgcc2.c (__mulvDI3): If both operands have
2085 the same highpart of -1 and the topmost bit of lowpart is 0,
2086 multiplication overflows even if both lowparts are 0.
2087
db6601d2
JB
20882017-09-28 James Bowman <james.bowman@ftdichip.com>
2089
2090 * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
2091
938b6f1e
JM
20922017-09-26 Joseph Myers <joseph@codesourcery.com>
2093
2094 * config/microblaze/crti.S, config/microblaze/crtn.S,
2095 config/microblaze/divsi3.S, config/microblaze/moddi3.S,
2096 config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
2097 config/microblaze/mulsi3.S,
2098 config/microblaze/stack_overflow_exit.S,
2099 config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
2100 config/pa/milli64.S: Add .note.GNU-stack section.
2101
89762a83
DS
21022017-09-23 Daniel Santos <daniel.santos@pobox.com>
2103
2104 * configure.ac: Add Check for HAVE_AS_AVX.
2105 * config.in: Regenerate.
2106 * configure: Likewise.
2107 * config/i386/i386-asm.h: Include auto-target.h from libgcc.
2108 (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
2109 Correct out-of-date comments.
2110
cace2309
SP
21112017-09-20 Sebastian Peryt <sebastian.peryt@intel.com>
2112
2113 * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
2114 * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
2115
3cb626e4
DS
21162017-09-17 Daniel Santos <daniel.santos@pobox.com>
2117
cace2309 2118 * config/i386/i386-asm.h (PASTE2): New macro.
3cb626e4
DS
2119 (ASMNAME): Modify to use PASTE2.
2120 (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
2121 (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
cace2309 2122 * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
3cb626e4 2123 instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
cace2309
SP
2124 * config/i386/resms64f.S: Likewise.
2125 * config/i386/resms64fx.S: Likewise.
2126 * config/i386/resms64x.S: Likewise.
2127 * config/i386/savms64.S: Likewise.
2128 * config/i386/savms64f.S: Likewise.
2129 * config/i386/avx_resms64.S: New file that only defines a macro and
3cb626e4 2130 includes it's corresponding header file.
cace2309
SP
2131 * config/i386/avx_resms64f.S: Likewise.
2132 * config/i386/avx_resms64fx.S: Likewise.
2133 * config/i386/avx_resms64x.S: Likewise.
2134 * config/i386/avx_savms64.S: Likewise.
2135 * config/i386/avx_savms64f.S: Likewise.
2136 * config/i386/sse_resms64.S: Likewise.
2137 * config/i386/sse_resms64f.S: Likewise.
2138 * config/i386/sse_resms64fx.S: Likewise.
2139 * config/i386/sse_resms64x.S: Likewise.
2140 * config/i386/sse_savms64.S: Likewise.
2141 * config/i386/sse_savms64f.S: Likewise.
2142 * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
3cb626e4 2143
2f19c491 21442017-09-01 Olivier Hainque <hainque@adacore.com>
2f19c491
OH
2145 * config.host (*-*-vxworks7): Widen scope to vxworks7*.
2146
611e7036
OH
21472017-08-31 Olivier Hainque <hainque@adacore.com>
2148
2149 * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
2150 match as powerpc-wrs-vxworks*.
2151
c8f34527
JY
21522017-08-07 Jonathan Yong <10walls@gmail.com>
2153
2154 * config.host (*-cygwin): Include file from mingw
2155 config/i386/enable-execute-stack-mingw32.c
2156
0b458d2b 21572017-08-01 Jerome Lambourg <lambourg@adacore.com>
92a285c1
ML
2158 Doug Rupp <rupp@adacore.com>
2159 Olivier Hainque <hainque@adacore.com>
0b458d2b
JL
2160
2161 * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
2162 as well as arm-wrs-vxworks.
2163 * config/arm/t-vxworks7: New file. Add unwind-arm-vxworks.c to
2164 LIB2ADDEH.
2165 * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
2166 __exidx_start and __exidx_end for downloadable modules.
2167
4df612fa
OH
21682017-08-01 Olivier Hainque <hainque@adacore.com>
2169
2170 * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
2171 * config/t-vxworks7: Likewise.
2172
5560e8c0
OH
21732017-08-01 Olivier Hainque <hainque@adacore.com>
2174
2175 * config/t-vxworks: Instead of redefining LIB2ADD,
2176 augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
2177
16bab95a
SH
21782017-07-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
2179
2180 * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
2181
9cbc07cc
DS
21822017-07-24 Daniel Santos <daniel.santos@pobox.com>
2183
2184 PR testsuite/80759
2185 * config.host: include i386/t-msabi for darwin and solaris.
2186 * config/i386/i386-asm.h
2187 (ELFFN): Rename to FN_TYPE.
2188 (FN_SIZE): New macro.
2189 (FN_HIDDEN): Likewise.
2190 (ASMNAME): Likewise.
2191 (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
2192 .globl.
2193 (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
2194 (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
2195 * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
2196 .macro.
2197 * config/i386/resms64f.S: Likewise.
2198 * config/i386/resms64fx.S: Likewise.
2199 * config/i386/resms64x.S: Likewise.
2200 * config/i386/savms64.S: Likewise.
2201 * config/i386/savms64f.S: Likewise.
2202
de742204
JM
22032017-07-19 John Marino <gnugcc@marino.st>
2204
2205 * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
2206
3787ee47
MM
22072017-07-12 Michael Meissner <meissner@linux.vnet.ibm.com>
2208
2209 PR target/81193
2210 * configure.ac (PowerPC float128 hardware support): Test whether
2211 we can use __builtin_cpu_supports before enabling the ifunc
2212 handler.
2213 * configure: Regenerate.
2214
b1938888
VG
22152017-07-10 Vineet Gupta <vgupta@synopsys.com>
2216
2217 * config.host: Remove uclibc from arc target spec.
2218
bec75e53
KW
22192017-07-09 Krister Walfridsson <krister.walfridsson@gmail.com>
2220
2221 * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
2222
d4391a62
PB
22232017-07-07 Peter Bergner <bergner@vnet.ibm.com>
2224
2225 * config/rs6000/float128-ifunc.c: Don't include auxv.h.
2226 (have_ieee_hw_p): Delete function.
2227 (SW_OR_HW) Use __builtin_cpu_supports().
2228
9296dd9b
TP
22292017-07-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
2230
2231 * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
2232
b85a969e
OH
22332017-07-03 Olivier Hainque <hainque@adacore.com>
2234
d4391a62 2235 * config/t-vxworks7: New file, really.
b85a969e 2236
883312dc
JM
22372017-06-28 Joseph Myers <joseph@codesourcery.com>
2238
2239 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
2240 config/alpha/linux-unwind.h (alpha_fallback_frame_state),
2241 config/bfin/linux-unwind.h (bfin_fallback_frame_state),
2242 config/i386/linux-unwind.h (x86_64_fallback_frame_state,
2243 x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
2244 uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
2245 config/pa/linux-unwind.h (pa32_fallback_frame_state),
2246 config/riscv/linux-unwind.h (riscv_fallback_frame_state),
2247 config/sh/linux-unwind.h (sh_fallback_frame_state),
2248 config/tilepro/linux-unwind.h (tile_fallback_frame_state),
2249 config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
2250 ucontext_t instead of struct ucontext.
2251
50567938
JL
22522017-06-27 Jerome Lambourg <lambourg@adacore.com>
2253
2254 * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
2255 (x86_64-wrs-vxworks7): Likewise.
2256
e4b0df93
OH
22572017-06-27 Olivier Hainque <hainque@adacore.com>
2258
2259 * config/t-vxworks7: New file.
2260 * config.host (*-*-vxworks7): Use it.
2261
60edf8bb
MT
22622017-06-22 Matt Turner <mattst88@gmail.com>
2263
2264 * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
2265 skylake case.
2266
a51a76e5
RB
22672017-06-21 Richard Biener <rguenther@suse.de>
2268
2269 PR gcov-profile/81080
2270 * configure.ac: Add AC_SYS_LARGEFILE.
2271 * libgcov.h: Include auto-target.h before tsystem.h to pick
2272 up _FILE_OFFSET_BITS which might differ for multilibs.
2273 * config.in: Regenerate.
2274 * configure: Likewise.
2275
f0cd49c5
RE
22762017-06-16 Richard Earnshaw <rearnsha@arm.com>
2277
2278 * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
2279
4f751c54
ML
22802017-06-09 Martin Liska <mliska@suse.cz>
2281
2282 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
2283 Reset __gcov_indirect_call_callee to NULL.
2284
1ac644c8
OH
22852017-06-08 Olivier Hainque <hainque@adacore.com>
2286
2287 * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
2288 the set of -I options, support for direct inclusions of net/uio.h
2289 by VxWorks header files via ioLib.h.
2290
d8b9cd27
TR
22912017-06-07 Tony Reix <tony.reix@atos.net>
2292 Matthieu Sarter <matthieu.sarter.external@atos.net>
2293 David Edelsohn <dje.gcc@gmail.com>
2294
92a285c1
ML
2295 * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
2296 unconditionally.
2297 (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support. Add 32-bit
2298 AIX 7.2 support.
d8b9cd27 2299
38a75ccc
OH
23002017-06-02 Olivier Hainque <hainque@adacore.com>
2301
2302 * config/vxlib.c (__gthread_once): Add missing value to
2303 return statement.
2304
5b2edf53
OH
23052017-05-30 Olivier Hainque <hainque@adacore.com>
2306
2307 * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
2308 dollar sign before $(MULTIDIR).
2309
7d66e265
RH
23102017-05-26 Richard Henderson <rth@redhat.com>
2311
2312 PR libgcc/80037
2313 * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
2314
78eca309
AT
23152017-05-17 Andreas Tobler <andreast@gcc.gnu.org>
2316
2317 * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
2318 _Unwind_SetIP available as functions for arm*-*-freebsd*.
2319 * config/arm/unwind-arm.c: Implement the above.
2320
c39d309a
AZ
23212017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2322
2323 * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
2324 section for a non-executable stack.
2325
eac8c9f2
KW
23262017-05-14 Krister Walfridsson <krister.walfridsson@gmail.com>
2327
2328 PR target/80600
2329 * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
2330
d6d4d770
DS
23312017-05-14 Daniel Santos <daniel.santos@pobox.com>
2332
2333 * config.host: Add i386/t-msabi to i386/t-linux file list.
2334 * config/i386/i386-asm.h: New file.
2335 * config/i386/resms64.S: New file.
2336 * config/i386/resms64f.S: New file.
2337 * config/i386/resms64fx.S: New file.
2338 * config/i386/resms64x.S: New file.
2339 * config/i386/savms64.S: New file.
2340 * config/i386/savms64f.S: New file.
2341 * config/i386/t-msabi: New file.
2342
8ef2b9a7
AT
23432017-05-09 Andreas Tobler <andreast@gcc.gnu.org>
2344
2345 * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
2346 arm*-*-freebsd* instead of the t-slibgcc-libgcc.
2347
7ab8766a
JC
23482017-05-05 Joshua Conner <joshconner@google.com>
2349
2350 * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
2351 pc-relative indirect handling for fuchsia.
2352 * config/t-slibgcc-fuchsia: New file.
2353 * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
d6d4d770 2354 x86_64-*-fuchsia*): Add definitions.
7ab8766a 2355
46928a8f
ML
23562017-04-19 Martin Liska <mliska@suse.cz>
2357
2358 PR gcov-profile/80435
2359 * Makefile.in: Install gcov.h.
2360 * gcov.h: New file.
2361 * libgcov.h: Use the header and make __gcov_flush publicly
2362 visible.
2363
63971184
ML
23642017-04-18 Martin Liska <mliska@suse.cz>
2365
2366 PR gcov-profile/78783
2367 * libgcov-driver.c (gcov_get_filename): New function.
2368
29d8aae6
JL
23692017-04-07 Jeff Law <law@redhat.com>
2370
2371 * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
2372 target makefile fragment.
2373 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
2374
2bdf7fc6
AM
23752017-04-07 Alan Modra <amodra@gmail.com>
2376
2377 PR target/45053
2378 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
2379
5764ee3c
JW
23802017-04-03 Jonathan Wakely <jwakely@redhat.com>
2381
2382 * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
2383
c4192ad7
CZ
23842017-03-27 Claudiu Zissulescu <claziss@synopsys.com>
2385
2386 * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
2387
4ccfdb28
JM
23882017-03-10 John Marino <gnugcc@marino.st>
2389
2390 * config/aarch64/freebsd-unwind.h: New file.
2391 * config.host: Add aarch64-*-freebsd unwinder.
2392
4144e4e3
SB
23932017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
2394
2395 * config/rs6000/crtrestvr.s: Use .machine altivec.
2396 * config/rs6000/crtsavevr.s: Ditto.
2397
7502c597
SB
23982017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
2399
2400 * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
2401 modify CFLAGS. Add -mabi=altivec -mvsx -mfloat128.
2402 (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
2403 -mfloat128-hardware to the CFLAGS. Fix syntax error in the C snippet.
2404 * configure: Regenerate.
2405 * config.in: Regenerate.
2406
db9f7f65
JY
24072017-03-02 Jonathan Yong <10walls@gmail.com>
2408
2409 * config/i386/gthr-win32.h: Define NOGDI before
2410 windows.h include to prevent w32api CC_NONE macro
2411 clash with libgfortran.
2412
126437c5
JY
24132017-03-02 Jonathan Yong <10walls@gmail.com>
2414
2415 * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
2416
31927af6
AP
24172017-02-16 Andrew Pinski <apinski@cavium.com>
2418
2419 * config/aarch64/value-unwind.h: New file.
2420 * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
2421 to tm_file.
2422
0bd99911
PD
24232017-02-06 Palmer Dabbelt <palmer@dabbelt.com>
2424
2425 * config.host: Add RISC-V tuples.
2426 * config/riscv/atomic.c: New file.
2427 * config/riscv/crti.S: Likewise.
2428 * config/riscv/crtn.S: Likewise.
2429 * config/riscv/div.S: Likewise.
2430 * config/riscv/linux-unwind.h: Likewise.
2431 * config/riscv/muldi3.S: Likewise.
2432 * config/riscv/multi3.S: Likewise.
2433 * config/riscv/save-restore.S: Likewise.
2434 * config/riscv/sfp-machine.h: Likewise.
2435 * config/riscv/t-elf: Likewise.
2436 * config/riscv/t-elf32: Likewise.
2437 * config/riscv/t-elf64: Likewise.
2438 * config/riscv/t-softfp32: Likewise.
2439 * config/riscv/t-softfp64: Likewise.
2440
a8c9ef2a
JJ
24412017-01-24 Jakub Jelinek <jakub@redhat.com>
2442
2443 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
2444 /* FALLTHRU */ comments.
2445
c6c82710
GP
24462017-01-21 Gerald Pfeifer <gerald@pfeifer.com>
2447
2448 * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
2449
a876231c
JW
24502017-01-20 Jiong Wang <jiong.wang@arm.com>
2451
2452 * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
2453 * unwind-dw2.c (execute_cfa_program): Only multiplexing
2454 DW_CFA_GNU_window_save for AArch64 and LP64.
2455
aa348be2
JW
24562017-01-20 Jiong Wang <jiong.wang@arm.com>
2457
2458 * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
2459
5636faf2
JW
24602017-01-19 Jiong Wang <jiong.wang@arm.com>
2461
2462 * config/aarch64/aarch64-unwind.h: New file.
2463 (DWARF_REGNUM_AARCH64_RA_STATE): Define.
2464 (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
2465 (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
2466 (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
2467 (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
2468 (aarch64_post_extract_frame_addr): New function.
2469 (aarch64_post_frob_eh_handler_addr): New function.
2470 (aarch64_frob_update_context): New function.
2471 * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
2472 * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
2473 aarch64*-*-freebsd*):
2474 Initialize md_unwind_header to include aarch64-unwind.h.
2475 * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
2476 (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
2477 __aarch64__.
2478 (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
2479 (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
2480 (uw_frob_return_addr): New function.
2481 (uw_install_context): Use uw_frob_return_addr.
2482
3c36aa6b
JJ
24832017-01-17 Jakub Jelinek <jakub@redhat.com>
2484
2485 PR other/79046
2486 * configure.ac: Add GCC_BASE_VER.
2487 * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
2488 version from BASE-VER file.
2489 * configure: Regenerated.
2490
829afb8f
JS
24912017-01-13 Joe Seymour <joe.s@somniumtech.com>
2492
2493 * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
2494 libmul_f5.a): Filter archived prerequisites.
2495
79fc8ffe
AS
24962017-01-10 Andrew Senkevich <andrew.senkevich@intel.com>
2497
2498 * config/i386/cpuinfo.h (processor_features): Add
2499 FEATURE_AVX512VPOPCNTDQ.
2500 * config/i386/cpuinfo.c (get_available_features): Habdle new
2501 feature.
2502
fec5f4e0
JM
25032017-01-04 Joseph Myers <joseph@codesourcery.com>
2504
2505 * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
2506 payload if [__mips_nan2008].
2507
8f56cb51
AM
25082017-01-04 Alan Modra <amodra@gmail.com>
2509
2510 * Makefile.in (configure_deps): Update.
2511 * configure: Regenerate.
2512
cbe34bb5
JJ
25132017-01-01 Jakub Jelinek <jakub@redhat.com>
2514
2515 Update copyright years.
2516
ab955692
KW
25172016-12-19 Krister Walfridsson <krister.walfridsson@gmail.com>
2518
2519 * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
2520 * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
2521 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
2522
de34320f
MK
25232016-12-17 Matthias Klose <doko@ubuntu.com>
2524
2525 * config/arc/gmon: Remove empty directory.
2526
e04ea1da
CZ
25272016-12-16 Claudiu Zissulescu <claziss@synopsys.com>
2528
2529 * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
2530 crtgend.
2531 (arc*-*-elf*): Likewise.
2532 * config/arc/t-arc: Remove old gmon lib targets.
2533 * config/arc/crtg.S: Remove.
2534 * config/arc/crtgend.S: Likewise.
2535 * config/arc/gmon/atomic.h: Likewise.
2536 * config/arc/gmon/auxreg.h: Likewise.
2537 * config/arc/gmon/dcache_linesz.S: Likewise.
2538 * config/arc/gmon/gmon.c: Likewise.
2539 * config/arc/gmon/machine-gmon.h: Likewise.
2540 * config/arc/gmon/mcount.c: Likewise.
2541 * config/arc/gmon/prof-freq-stub.S: Likewise.
2542 * config/arc/gmon/prof-freq.c: Likewise.
2543 * config/arc/gmon/profil.S: Likewise.
2544 * config/arc/gmon/sys/gmon.h: Likewise.
2545 * config/arc/gmon/sys/gmon_out.h: Likewise.
2546 * config/arc/t-arc-newlib: Likewise.
2547 * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
2548
8ae1c2c1
GS
25492016-12-12 George Spelvin <linux@sciencehorizons.net>
2550
2551 * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
2552
a5b947fa
GS
25532016-12-12 George Spelvin <linux@sciencehorizons.net>
2554
2555 * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
2556 R16 instead of push + pop.
2557 (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
2558
d6574dd1
KW
25592016-12-10 Krister Walfridsson <krister.walfridsson@gmail.com>
2560
2561 * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
2562 tmake_file.
2563
62440b4f
CM
25642016-12-05 Cupertino Miranda <cmiranda@synopsys.com>
2565
2566 * config.host (arc*-*-linux-uclibc*): Use default extra
2567 objects. Include linux-android header.
2568 * config/arc/crti.S (_init): Declare symbol as function.
2569 (_fini): Likewise.
2570
31cfd832
TK
25712016-12-03 Thomas Koenig <tkoenig@gcc.gnu.org>
2572
2573 PR fortran/78379
2574 * config/i386/cpuinfo.c: Move denums for processor vendors,
2575 processor type, processor subtypes and declaration of
2576 struct __processor_model into
2577 * config/i386/cpuinfo.h: New header file.
2578
c92e08e3
AV
25792016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
2580 Thomas Preud'homme <thomas.preudhomme@arm.com>
2581
2582 * config/arm/cmse_nonsecure_call.S: New.
2583 * config/arm/t-arm: Compile cmse_nonsecure_call.S
2584
de7b5723
AV
25852016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
2586 Thomas Preud'homme <thomas.preudhomme@arm.com>
2587
2588 * config/arm/t-arm (HAVE_CMSE): New.
2589 * config/arm/cmse.c: New.
2590
7a0d2bce
TP
25912016-11-28 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2592
b3a5bff4
TP
2593 PR gcc/74748
2594 * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
2595 use generic linker version information on Blackfin.
2596
7a0d2bce
TP
2597 PR gcc/74748
2598 * libgcc/mkmap-symver.awk: add support for skip_underscore
2599
b410cf1d
IS
26002016-11-27 Iain Sandoe <iain@codesourcery.com>
2601 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2602
2603 PR target/67710
2604 * config/t-darwin: Default builds to 10.5 codegen.
2605
2e5f8203
JG
26062016-11-24 James Greenhalgh <james.greenhalgh@arm.com>
2607
2608 * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
2609 (_FP_NANSIGN_H): Likewise.
2610 * config/aarch64/t-softfp (softfp_extensions): Add hftf.
2611 (softfp_truncations): Add tfhf.
2612 (softfp_extras): Add required conversion functions.
2613
bea64ca3
JG
26142016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
2615 Matthew Wahab <matthew.wahab@arm.com>
2616
2617 * config/arm/fp16.c (binary64): New.
2618 (__gnu_d2h_internal): New.
2619 (__gnu_d2h_ieee): New.
2620 (__gnu_d2h_alternative): New.
2621
8630cadb
JG
26222016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
2623 Matthew Wahab <matthew.wahab@arm.com>
2624
2625 * config/arm/fp16.c (struct format): New.
2626 (binary32): New.
2627 (__gnu_float2h_internal): New. Body moved from
2628 __gnu_f2h_internal and generalize.
2629 (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
2630 Call it with binary32.
2631
5823ef23
JG
26322016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
2633
2634 * soft-fp/extendhftf2.c: Update from glibc.
2635 * soft-fp/fixhfti.c: Likewise.
2636 * soft-fp/fixunshfti.c: Likewise.
2637 * soft-fp/floattihf.c: Likewise.
2638 * soft-fp/floatuntihf.c: Likewise.
2639 * soft-fp/half.h: Likewise.
2640 * soft-fp/trunctfhf2.c: Likewise.
2641
62a7df9f
MG
26422016-11-20 Marc Glisse <marc.glisse@inria.fr>
2643
2644 PR libgcc/77813
2645 * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
2646 __TMC_END__ behind a passthrough asm.
2647
7a384912
WL
26482016-11-18 Walter Lee <walt@tilera.com>
2649
62a7df9f 2650 * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
7a384912 2651
9775c1a5
L
26522016-11-17 Andrew Senkevich <andrew.senkevich@intel.com>
2653
2654 * config/i386/cpuinfo.c (processor_features): Add
2655 FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
2656
48c842ab
CZ
26572016-11-17 Claudiu Zissulescu <claziss@synopsys.com>
2658
2659 * config/arc/dp-hack.h (ARC_OPTFPE): Define.
2660 (__ARC_NORM__): Use instead ARC_OPTFPE.
2661 * config/arc/fp-hack.h: Likewise.
2662 * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
2663 (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
2664
5012919d
AM
26652016-11-16 Alexander Monakov <amonakov@ispras.ru>
2666
2667 * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
2668 * config/nvptx/mgomp.c: New file.
2669 * config/nvptx/t-nvptx: Add mgomp.c
2670
00178b98
WB
26712016-11-16 Waldemar Brodkorb <wbx@openadk.org>
2672
2673 PR libgcc/68468
2674 * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
2675
d64af69f
CZ
26762016-11-15 Claudiu Zissulescu <claziss@synopsys.com>
2677
2678 * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
2679 of checking for cpus.
2680 (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
2681 (__modsi3, __clzsi2): Likewise.
2682
9d8f95de
SN
26832016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
2684
2685 * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
2686 i386/t-cpuinfo-static instead of i386/t-cpuinfo.
2687 * config/i386/t-cpuinfo-static: New.
2688
7d29f8e3
ML
26892016-11-03 Martin Liska <mliska@suse.cz>
2690
2691 * libgcov-profiler.c (__gcov_time_profiler): Remove.
2692 (__gcov_time_profiler_atomic): Likewise.
2693
5de3e2d8
BE
26942016-11-03 Bernd Edlinger <bernd.edlinger@hotmail.de>
2695
2696 PR libgcc/78067
2697 * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
2698 count_leading_zeros.
2699
18362447
UB
27002016-11-02 Uros Bizjak <ubizjak@gmail.com>
2701
2702 * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
2703 * libgcc2.c (__divmoddi4): New function.
2704 * libgcc2.h (__divmoddi4): Declare.
2705 * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
2706 and __PFX_divmodti4.
2707
33107571
FW
27082016-10-24 Florian Weimer <fweimer@redhat.com>
2709
2710 PR libgcc/78064
2711 * unwind-c.c: Include auto-target.h.
2712
4c6d7494
JDA
27132016-10-19 John David Anglin <danglin@gcc.gnu.org>
2714
18362447 2715 * config/pa/pa64-hpux-lib.h: New file.
4c6d7494
JDA
2716 (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
2717 (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
2718 * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
2719 hppa*64*-*-hpux11*.
2720
2a26adf1
MF
27212016-10-18 Max Filippov <jcmvbkbc@gmail.com>
2722
2723 * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
2724 definition.
2725 * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
2726 definition.
2727 * config/xtensa/t-windowed (LIB2ADDEH): Use
2728 LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
2729 or xtensa/t-linux.
2730
66192aa1
DKC
27312016-10-18 Ding-Kai Chen <dkchen@cadence.com>
2732
2733 * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
2734 __ieee754_sqrt): New functions.
2735 (__divdf3): Add implementation with new FPU instructions under
2736 #if XCHAL_HAVE_DFP_DIV.
2737 * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
2738 __ieee754_sqrtf): New functions.
2739 (__divsf3): Add implementation with new FPU instructions under
2740 #if XCHAL_HAVE_FP_DIV.
2741 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
2742 _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
2743
4d0cdd0c
TP
27442016-10-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
2745
2746 * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
2747 equivalent.
2748 * config/tilepro/atomic.c: Likewise and stop casting model to
2749 enum memmodel.
2750
73f01cca
JM
27512016-10-10 Joseph Myers <joseph@codesourcery.com>
2752
2753 PR target/77586
2754 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
2755 soft-fp.
2756
b20e7532
AT
27572016-10-10 Andreas Tobler <andreast@gcc.gnu.org>
2758
2759 * config.host: Add support for aarch64-*-freebsd*.
2760
a786cec4
AS
27612016-10-05 Andreas Schwab <schwab@suse.de>
2762
2763 * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
2764 (.section .init_array): Don't call __do_jv_register_classes.
2765 (.section .init): Likewise.
2766
5a79befb
JJ
27672016-10-04 Jakub Jelinek <jakub@redhat.com>
2768
2769 * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
2770 (__JCR_LIST__): Remove.
2771 (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
2772 * config/i386/cygming-crtend.c (__JCR_END__): Remove.
2773 * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
2774 * config/ia64/crtend.S (__JCR_END__): Remove.
2775 * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
2776 conditionals.
2777 (__JCR_LIST__, __JCR_END__): Remove.
2778 (frame_dummy): Don't attempt to _Jv_RegisterClasses.
2779 (__do_global_ctors_1): Likewise.
2780
e0ab3753
UB
27812015-09-28 Uros Bizjak <ubizjak@gmail.com>
2782
2783 * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
2784 (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
2785
8c9434c2
ML
27862016-09-27 Martin Liska <mliska@suse.cz>
2787
2788 PR gcov-profile/7970
2789 PR gcov-profile/16855
2790 PR gcov-profile/44779
2791 * libgcov-driver.c (__gcov_init): Do not register a atexit
2792 handler.
2793 (__gcov_exit): Rename from gcov_exit.
2794 * libgcov.h (__gcov_exit): Declare.
2795
56b653f1
ML
27962016-09-27 Martin Liska <mliska@suse.cz>
2797
2798 PR bootstrap/77749
2799 * Makefile.in: Remove _gcov_merge_delta.
2800 * libgcov-merge.c (void __gcov_merge_delta): Remove.
2801 * libgcov-util.c (__gcov_delta_counter_op): Remove.
2802 * libgcov.h: Remove declaration of __gcov_merge_delta.
2803
7e02fd1b
EB
28042016-09-21 Eric Botcazou <ebotcazou@adacore.com>
2805
2806 * configure.ac: Do not create links, only substitute the filenames.
2807 * configure: Regenerate.
2808 * Makefile.in: Assign the substitution results to variables.
2809 (LIBGCC_LINKS): Define.
2810 (enable-execute-stack.c): New rule.
2811 (unwind.h): Likewise.
2812 (md-unwind-support.h): Likewise.
2813 (sfp-machine.h): Likewise.
2814 (gthr-default.h): Likewise.
2815 Add $(LIBGCC_LINKS) to the prerequisites of all object files and
2816 unwind.h as prerequisite of install-unwind_h-forbuild.
2817
29991048
JJ
28182016-09-16 Jakub Jelinek <jakub@redhat.com>
2819
2820 PR libgcc/71744
2821 * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
2822 is not the primary registry and atomics are available.
2823 (any_objects_registered): New variable.
2824 (__register_frame_info_bases, __register_frame_info_table_bases):
2825 Atomically store 1 to any_objects_registered after registering first
2826 unwind info.
2827 (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
2828
0abcd6cc
JG
28292016-09-09 James Greenhalgh <james.greenhalgh@arm.com>
2830
2831 PR target/63250
2832 * Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
2833 * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
2834 (HFtype): Likewise.
2835 (HCtype): Likewise.
2836 (__divhc3): Likewise.
2837 (__mulhc3): Likewise.
2838 * libgcc2.c: Support _mulhc3 and _divhc3.
2839
d758aeb5
JM
28402016-09-07 Joseph Myers <joseph@codesourcery.com>
2841
2842 PR libgcc/77519
2843 * libgcc2.c (NOTRUNC): Invert settings.
2844
7fe76f6a
ML
28452016-09-06 Martin Liska <mliska@suse.cz>
2846
2847 PR gcov-profile/77378
2848 PR gcov-profile/77466
2849 * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
2850 conditionaly enable/disable *_atomic functions.
2851
21184026
JM
28522016-08-26 Joseph Myers <joseph@codesourcery.com>
2853
2854 * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
2855 where not already enabled.
2856
726f49c3
SN
28572016-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
2858
2859 * config/mips/linux-unwind.h: Use sys/syscall.h.
2860
feeb6268
JM
28612016-08-16 Joseph Myers <joseph@codesourcery.com>
2862
2863 PR libgcc/77265
2864 * soft-fp/adddf3.c: Update from glibc.
2865 * soft-fp/addsf3.c: Likewise.
2866 * soft-fp/addtf3.c: Likewise.
2867 * soft-fp/divdf3.c: Likewise.
2868 * soft-fp/divsf3.c: Likewise.
2869 * soft-fp/divtf3.c: Likewise.
2870 * soft-fp/double.h: Likewise.
2871 * soft-fp/eqdf2.c: Likewise.
2872 * soft-fp/eqsf2.c: Likewise.
2873 * soft-fp/eqtf2.c: Likewise.
2874 * soft-fp/extenddftf2.c: Likewise.
2875 * soft-fp/extended.h: Likewise.
2876 * soft-fp/extendsfdf2.c: Likewise.
2877 * soft-fp/extendsftf2.c: Likewise.
2878 * soft-fp/extendxftf2.c: Likewise.
2879 * soft-fp/fixdfdi.c: Likewise.
2880 * soft-fp/fixdfsi.c: Likewise.
2881 * soft-fp/fixdfti.c: Likewise.
2882 * soft-fp/fixsfdi.c: Likewise.
2883 * soft-fp/fixsfsi.c: Likewise.
2884 * soft-fp/fixsfti.c: Likewise.
2885 * soft-fp/fixtfdi.c: Likewise.
2886 * soft-fp/fixtfsi.c: Likewise.
2887 * soft-fp/fixtfti.c: Likewise.
2888 * soft-fp/fixunsdfdi.c: Likewise.
2889 * soft-fp/fixunsdfsi.c: Likewise.
2890 * soft-fp/fixunsdfti.c: Likewise.
2891 * soft-fp/fixunssfdi.c: Likewise.
2892 * soft-fp/fixunssfsi.c: Likewise.
2893 * soft-fp/fixunssfti.c: Likewise.
2894 * soft-fp/fixunstfdi.c: Likewise.
2895 * soft-fp/fixunstfsi.c: Likewise.
2896 * soft-fp/fixunstfti.c: Likewise.
2897 * soft-fp/floatdidf.c: Likewise.
2898 * soft-fp/floatdisf.c: Likewise.
2899 * soft-fp/floatditf.c: Likewise.
2900 * soft-fp/floatsidf.c: Likewise.
2901 * soft-fp/floatsisf.c: Likewise.
2902 * soft-fp/floatsitf.c: Likewise.
2903 * soft-fp/floattidf.c: Likewise.
2904 * soft-fp/floattisf.c: Likewise.
2905 * soft-fp/floattitf.c: Likewise.
2906 * soft-fp/floatundidf.c: Likewise.
2907 * soft-fp/floatundisf.c: Likewise.
2908 * soft-fp/floatunditf.c: Likewise.
2909 * soft-fp/floatunsidf.c: Likewise.
2910 * soft-fp/floatunsisf.c: Likewise.
2911 * soft-fp/floatunsitf.c: Likewise.
2912 * soft-fp/floatuntidf.c: Likewise.
2913 * soft-fp/floatuntisf.c: Likewise.
2914 * soft-fp/floatuntitf.c: Likewise.
2915 * soft-fp/gedf2.c: Likewise.
2916 * soft-fp/gesf2.c: Likewise.
2917 * soft-fp/getf2.c: Likewise.
2918 * soft-fp/ledf2.c: Likewise.
2919 * soft-fp/lesf2.c: Likewise.
2920 * soft-fp/letf2.c: Likewise.
2921 * soft-fp/muldf3.c: Likewise.
2922 * soft-fp/mulsf3.c: Likewise.
2923 * soft-fp/multf3.c: Likewise.
2924 * soft-fp/negdf2.c: Likewise.
2925 * soft-fp/negsf2.c: Likewise.
2926 * soft-fp/negtf2.c: Likewise.
2927 * soft-fp/op-1.h: Likewise.
2928 * soft-fp/op-2.h: Likewise.
2929 * soft-fp/op-4.h: Likewise.
2930 * soft-fp/op-8.h: Likewise.
2931 * soft-fp/op-common.h: Likewise.
2932 * soft-fp/quad.h: Likewise.
2933 * soft-fp/single.h: Likewise.
2934 * soft-fp/soft-fp.h: Likewise.
2935 * soft-fp/subdf3.c: Likewise.
2936 * soft-fp/subsf3.c: Likewise.
2937 * soft-fp/subtf3.c: Likewise.
2938 * soft-fp/truncdfsf2.c: Likewise.
2939 * soft-fp/trunctfdf2.c: Likewise.
2940 * soft-fp/trunctfsf2.c: Likewise.
2941 * soft-fp/trunctfxf2.c: Likewise.
2942 * soft-fp/unorddf2.c: Likewise.
2943 * soft-fp/unordsf2.c: Likewise.
2944 * soft-fp/unordtf2.c: Likewise.
2945
2e6fc1ac
GG
29462016-08-15 Gilles Gouaillardet <gilles.gouaillardet@gmail.com>
2947
2948 PR gcov-profile/67097
2949 * libgcov-util.c (gcov_profile_merge): Skip missing files.
2950
a266236e
ML
29512016-08-10 Martin Liska <mliska@suse.cz>
2952
2953 PR gcov-profile/58306
2954 * Makefile.in: New functions (modules) are added.
2955 * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
2956 function.
2957 (__gcov_pow2_profiler_atomic): New function.
2958 (__gcov_one_value_profiler_body): New argument is instroduced.
2959 (__gcov_one_value_profiler): Call with the new argument.
2960 (__gcov_one_value_profiler_atomic): Likewise.
2961 (__gcov_indirect_call_profiler_v2): Likewise.
2962 (__gcov_time_profiler_atomic): New function.
2963 (__gcov_average_profiler_atomic): Likewise.
2964 (__gcov_ior_profiler_atomic): Likewise.
2965 * libgcov.h: Declare the aforementioned functions.
2966
e0c8eebf
ML
29672016-08-09 Martin Liska <mliska@suse.cz>
2968
2969 * libgcov-util.c: Fix typo and GNU coding style.
2970
6dce6418
ML
29712016-08-09 Martin Liska <mliska@suse.cz>
2972
2973 * Makefile.in: Remove __gcov_indirect_call_profiler.
2974 * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
2975 function.
2976 * libgcov.h: And the declaration of the function.
2977
dcb1e137
ML
29782016-08-09 Martin Liska <mliska@suse.cz>
2979
2980 * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
2981 power of two.
2982
d6e69705
BS
29832016-07-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
2984
2985 * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
2986 * config/rs6000/_mulkc3.c: Likewise.
2987
96aa1f95
GJL
29882016-07-29 Georg-Johann Lay <avr@gjlay.de>
2989
2990 * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
2991 zero_reg as previous call to __umulhisi3 already cleared it.
2992
a1b01d34
AJ
29932016-07-21 Aurelien Jarno <aurelien@aurel32.net>
2994
2995 PR target/59833
2996 * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
2997
985a47b2
NC
29982016-07-19 Nick Clifton <nickc@redhat.com>
2999
3000 * config.host (m32r): Add m32r/t-m32r to tmake_file.
3001 Add crtinit.o and crtfini.o to extra_parts.
3002
f906f5ed
BS
30032016-07-12 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
3004
3005 * config/rs6000/_divkc3.c: New.
3006 * config/rs6000/_mulkc3.c: New.
3007 * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
3008 and _divkc3.
3009 * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
3010 fp128_ppc_funcs.
3011
82742404
HW
30122016-07-11 Hale Wang <hale.wang@arm.com>
3013 Andre Vieira <andre.simoesdiasvieira@arm.com>
3014
3015 * config/arm/lib1funcs.S: Add new wrapper.
3016
05a437c1
TP
30172016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
3018
3019 * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
3020
3d16d9ec
TP
30212016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
3022
3023 * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
3024 and ARMv5t* rather than for a fixed list of architectures.
3025
6f493951
TP
30262016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
3027
3028 * config/arm/bpabi-v6m.S: Clarify what architectures is the
3029 implementation suitable for.
3030 * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
3031 for all Thumb-1 only targets.
3032 (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
3033 (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
3034 __ARM_ARCH_6M__.
3035 (EQUIV): Likewise.
3036 (ARM_FUNC_ALIAS): Likewise.
3037 (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
3038 version.
3039 (modsi3): Likewise.
3040 (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
3041 (clzdi2): Likewise.
3042 (ctzsi2): Likewise.
3043 (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
3044 __ARM_ARCH_6M__ in guard for checking whether it is defined.
3045 (final includes): Test for NOT_ISA_TARGET_32BIT rather than
3046 __ARM_ARCH_6M__ and add comment to indicate the connection between
3047 this condition and the one in gcc/config/arm/elf.h.
3048 * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
3049 __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
3050 * config/arm/t-softfp: Likewise.
3051
1770511a
TS
30522016-07-06 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3053
3054 * libgcc2.c (SYMBOL__MAIN): Remove checks for
3055 CTOR_LISTS_DEFINED_EXTERNALLY.
3056
ba6be749
WL
30572016-06-28 Walter Lee <walt@tilera.com>
3058
3059 * config/tilepro/atomic.h: Do not include arch/spr_def.h and
3060 asm/unistd.h.
3061 (SPR_CMPEXCH_VALUE): Define for tilegx.
3062 (__NR_FAST_cmpxchg): Define for tilepro.
3063 (__NR_FAST_atomic_update): Define for tilepro.
3064 (__NR_FAST_cmpxchg64): Define for tilepro.
3065
a34c0db5
JS
30662016-06-23 Jakub Sejdak <jakub.sejdak@phoesys.com>
3067
18362447 3068 * config.host: Add suport for arm*-*-phoenix* targets.
a34c0db5 3069
0609abda
TS
30702016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3071
3072 * config.host: Remove support for mep-*.
3073 * config/mep/lib1funcs.S: Remove.
3074 * config/mep/lib2funcs.c: Remove.
3075 * config/mep/t-mep: Remove.
3076 * config/mep/tramp.c: Remove.
3077
3e326935
TS
30782016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3079
3080 * config.host: Remove support for avr-rtems.
3081 * config/avr/t-rtems: Remove.
3082
914b155c
TS
30832016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3084
3085 * config.host: Remove m32r-rtems support.
3086
5ebf89bd
TS
30872016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3088
3089 * config.host: Remove h8300-rtems support.
3090
8466af06
TS
30912016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3092
3093 * config.host: Remove support for knetbsd.
3094
d980e738
TS
30952016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3096
3097 * config.host: Remove support for openbsd 2 and 3.
3098
ee2499b4
TS
30992016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3100
3101 * config.host: Remove interix support.
3102 * config/i386/t-interix: Remove.
3103
9f92937b
JDA
31042016-06-18 John David Anglin <danglin@gcc.gnu.org>
3105
3106 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
3107 least-significant bit in function pointer for fixup.
3108
0a0ec53d
AC
31092016-06-05 Aaron Conole <aconole@redhat.com>
3110 Nathan Sidwell <nathan@acm.org>
3111
3112 PR libgcc/71400
3113 * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
3114 (get_gcov_error_file): Check __gcov_error_file before trying to
3115 initialize it.
3116 (gcov_error): Always use get_gcov_error_file.
3117
8aa5bdd6
AC
31182016-06-02 Aaron Conole <aconole@redhat.com>
3119
3120 * libgcov-driver-system.c (__gcov_error_file): New.
3121 (get_gcov_error_file): New.
3122 (gcov_error): Use and set __gcov_error_file.
3123 (gcov_error_exit): New.
3124 * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
3125
40774faf
NS
31262016-05-26 Nathan Sidwell <nathan@acm.org>
3127
3128 * config/nvptx/free.asm: Delete.
3129 * config/nvptx/malloc.asm: Delete.
3130 * config/nvptx/realloc.c: Delete.
3131 * t-nvptx: Update.
3132
69a6d5ad
NS
31332016-05-25 Nathan Sidwell <nathan@acm.org>
3134
3135 * config/nvptx/crt0.s: Delete.
3136 * config/nvptx/crt0.c: New.
3137 * t-nvptx: Update.
3138
6befaff6
SL
31392016-05-19 Sandra Loosemore <sandra@codesourcery.com>
3140
385c7747 3141 * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
6befaff6
SL
3142 dw2/seh configuration.
3143 [x86_64-*-mingw*]: Likewise.
3144
ad251dfd
JS
31452016-05-10 Joel Sherrill <joel@rtems.org>
3146
3147 PR libgcc/70720
3148 * config.host (moxie-*-rtems*): Merge this stanza with other moxie
3149 targets so the same extra_parts are built. Also have tmake_file add
3150 on to its value rather than override.
3151
bc6d9014
OE
31522016-04-30 Oleg Endo <olegendo@gcc.gnu.org>
3153
3154 * config.host: Remove SH5 support.
3155 * configure: Likewise.
3156
9129c8cf
OE
31572016-04-29 Oleg Endo <olegendo@gcc.gnu.org>
3158
3159 * config/sh/crt1.S: Remove SH5 support.
3160 * config/sh/crti.S: Likewise.
3161 * config/sh/crtn.S: Likewise.
3162 * config/sh/lib1funcs-4-300.S: Likewise.
3163 * config/sh/lib1funcs-Os-4-200.S: Likewise.
3164 * config/sh/lib1funcs.S: Likewise.
3165 * config/sh/linux-unwind.h: Likewise.
3166 * config/sh/t-sh64: Delete.
3167
39d50464
CZ
31682016-04-29 Claudiu Zissulescu <claziss@synopsys.com>
3169
3170 * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
3171
8b48923b
CZ
31722016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
3173 Joern Rennecke <joern.rennecke@embecosm.com>
3174
3175 * config/arc/crttls.S: New file.
3176 * config/arc/t-arc: New rule.
3177 * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
3178
2de1cf8c
NC
31792016-04-25 Nick Clifton <nickc@redhat.com>
3180
3181 * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
3182 (__mspabi_cmpd): Likewise.
3183 * config/msp430/floathidf.c (__floathidf): Likewise.
3184 * config/msp430/floathisf.c (__floathisf): Likewise
3185 * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
3186 * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
3187 * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
3188 second parameter.
3189 (__ashrsi3): Likewise.
3190
b8ce3fe2
WB
31912016-04-21 Waldemar Brodkorb <wbx@openadk.org>
3192
3193 * config/m68k/linux-atomic.c: Do not include unistd.h
3194
4986f823
MG
31952016-04-20 Martin Galvan <martin.galvan@tallertechnologies.com>
3196
3197 * config/arm/ieee754-df.S: Fix typos in comments.
3198
35fbda43
MM
31992016-04-11 Michael Meissner <meissner@linux.vnet.ibm.com>
3200
3201 PR target/70381
3202 * configure.ac (powerpc*-*-linux*): Rework tests to build
3203 __float128 emulation routines to not depend on using #pragma GCC
3204 target to enable -mfloat128.
3205 * configure: Regnerate.
3206
72d1a48d
EB
32072016-04-04 Eric Botcazou <ebotcazou@adacore.com>
3208
3209 PR target/67172
3210 * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
3211 __MINGW32__ is defined.
3212
dc2e8995
JB
32132016-03-28 James Bowman <james.bowman@ftdichip.com>
3214
385c7747 3215 * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
dc2e8995 3216
104cdaf1
MM
32172016-03-22 Michael Meissner <meissner@linux.vnet.ibm.com>
3218
3219 PR libgcc/70363
3220 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
3221 built with an assembler that does not support ISA 3.0
3222 instructions, rename __extendkftf2_sw to __extendkftf2.
3223
a5046f48
RO
32242016-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3225
3226 PR target/38239
3227 * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
3228 call-clobbered registers.
3229 (internal_mcount): Remove __i386__ handling.
3230
df674f74
JS
32312016-02-26 Joel Sherrill <joel@rtems.org>
3232
3233 * config.host: Add x86_64-*-rtems*.
3234
7cb065d6
JS
32352016-02-26 Joel Sherrill <joel@rtems.org>
3236
3237 * libgcc/config.host: Add aarch64-*-rtems*.
3238
47dfdc53
PM
32392016-02-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
3240 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
3241
3242 * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
3243 union of u64 and double.
3244 (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
3245 (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
3246 value.
3247 (FP_ROUNDMODE): Update the usage of _fpscr.
3248
e6861a99
IV
32492016-02-25 Ilya Verbin <ilya.verbin@intel.com>
3250
3251 PR driver/68463
3252 * Makefile.in (crtoffloadtable$(objext)): New rule.
3253 * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
3254 enable_offload_targets is not empty.
3255 * configure: Regenerate.
3256 * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
3257 crtoffloadtable.
3258
9bfcbdee
MF
32592016-02-17 Max Filippov <jcmvbkbc@gmail.com>
3260
3261 * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
3262 .literal_position before the function.
3263 * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
3264 Likewise.
3265
4cb4721f
MK
32662016-02-15 Marcin Kościelnicki <koriakin@0x04.net>
3267
3268 * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
3269 * config/s390/morestack.S: New file.
3270 * config/s390/t-stack-s390: New file.
3271 * generic-morestack.c (__splitstack_find): Add s390-specific code.
3272
b29d9a29
WL
32732016-02-12 Walter Lee <walt@tilera.com>
3274
3275 * config.host (tilegx*-*-linux*): remove ti from
3276 softfp_int_modes for 32-bit configs.
3277
03a0ae7d
ILT
32782016-02-10 Ian Lance Taylor <iant@google.com>
3279
3280 PR go/68562
3281 * config/i386/morestack.S (__stack_split_initialize): Align
3282 stack.
3283
68750bce
AT
32842016-02-03 Andreas Tobler <andreast@gcc.gnu.org>
3285
3286 PR bootstrap/69611
3287 * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
3288 __FLOAT128__ to compile only for __float128 capable targets.
3289
7d296953
JJ
32902016-01-25 Jakub Jelinek <jakub@redhat.com>
3291
3292 PR target/69444
3293 * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
3294 instead of ___NO_FPRS__.
3295
a71c0334 32962016-01-21 Michael Meissner <meissner@linux.vnet.ibm.com>
7d296953
JJ
3297 Steven Munroe <munroesj@linux.vnet.ibm.com>
3298 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
a71c0334
MM
3299
3300 * config/rs6000/float128-sed: New files to convert TF names to KF
3301 names for PowerPC IEEE 128-bit floating point support.
3302 * config/rs6000/float128-sed-hw: Likewise.
3303
3304 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
3305 floating point hardware support.
3306
3307 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
3308 128-bit floating point software emulation or use ISA 3.0 hardware
3309 support if it is available.
3310
3311 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
3312 floating point.
3313
3314 * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
3315 floating point to IBM extended double.
3316
3317 * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
3318 double to IEEE 128-bit floating point.
3319
3320 * config/rs6000/t-float128: New Makefile fragments to enable
3321 building __float128 emulation support.
3322 * config/rs6000/t-float128-hw: Likewise.
3323
3324 * config/rs6000/sfp-exceptions.c: New file to provide exception
3325 support for IEEE 128-bit floating point.
3326
3327 * config/rs6000/floattikf.c: New files for converting between IEEE
3328 128-bit floating point and signed/unsigned 128-bit integers.
3329 * config/rs6000/fixunskfti.c: Likewise.
3330 * config/rs6000/fixkfti.c: Likewise.
3331 * config/rs6000/floatuntikf.c: Likewise.
3332
3333 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
3334 when building on 64-bit systems, or when VSX is enabled.
3335 (_FP_W_TYPE): Likewise.
3336 (_FP_WS_TYPE): Likewise.
3337 (_FP_I_TYPE): Likewise.
3338 (TItype): Define on 64-bit systems.
3339 (UTItype): Likewise.
3340 (TI_BITS): Likewise.
3341 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
3342 (_FP_MUL_MEAT_Q): Likewise.
3343 (_FP_DIV_MEAT_D): Likewise.
3344 (_FP_DIV_MEAT_Q): Likewise.
3345 (_FP_NANFRAC_D): Likewise.
3346 (_FP_NANFRAC_Q): Likewise.
3347 (ISA_BIT): Add exception support if we are being compiled on a
3348 machine with hardware floating point support to build the IEEE
3349 128-bit emulation functions.
3350 (FP_EX_INVALID): Likewise.
3351 (FP_EX_OVERFLOW): Likewise.
3352 (FP_EX_UNDERFLOW): Likewise.
3353 (FP_EX_DIVZERO): Likewise.
3354 (FP_EX_INEXACT): Likewise.
3355 (FP_EX_ALL): Likewise.
3356 (__sfp_handle_exceptions): Likewise.
3357 (FP_HANDLE_EXCEPTIONS): Likewise.
3358 (FP_RND_NEAREST): Likewise.
3359 (FP_RND_ZERO): Likewise.
3360 (FP_RND_PINF): Likewise.
3361 (FP_RND_MINF): Likewise.
3362 (FP_RND_MASK): Likewise.
3363 (_FP_DECL_EX): Likewise.
3364 (FP_INIT_ROUNDMODE): Likewise.
3365 (FP_ROUNDMODE): Likewise.
3366
3367 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
3368 VSX code, enable IEEE 128-bit floating point. If the compiler can
3369 compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
3370 floating point hardware instructions and it supports declaring
3371 functions with the ifunc attribute, enable ifunc functions to
3372 switch between software and hardware support.
3373 * configure.ac (powerpc*-*-linux*): Likewise.
3374 * configure: Regenerate.
3375
bdc27e50
NC
33762016-01-15 Nick Clifton <nickc@redhat.com>
3377
3378 * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
3379 dependency as the source file to be compiled.
3380 (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
3381 (lib2hw_mul_f5.o): Likewise.
3382
006df05d
MM
33832016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
3384
3385 * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
3386 * libgcc/config/rs6000/fixkfti.c: Likewise.
3387 * libgcc/config/rs6000/fixunskfti.c: Likewise.
3388 * libgcc/config/rs6000/float128-hw.c: Likewise.
3389 * libgcc/config/rs6000/float128-ifunc.c: Likewise.
3390 * libgcc/config/rs6000/float128-sed: Likewise.
3391 * libgcc/config/rs6000/floattikf.c: Likewise.
3392 * libgcc/config/rs6000/floatuntikf.c: Likewise.
3393 * libgcc/config/rs6000/quad-float128.h: Likewise.
3394 * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
3395 * libgcc/config/rs6000/sfp-machine.h: Likewise.
3396 * libgcc/config/rs6000/t-float128: Likewise.
3397 * libgcc/config/rs6000/t-float128-hw: Likewise.
3398 * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
3399 * libgcc/config.host: Likewise.
3400 * libgcc/configure: Likewise.
3401 * libgcc/configure.ac: Likewise.
3402
29176d57 34032016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
7d296953
JJ
3404 Steven Munroe <munroesj@linux.vnet.ibm.com>
3405 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
29176d57
MM
3406
3407 * config/rs6000/sfp-exceptions.c: New file to provide exception
3408 support for IEEE 128-bit floating point.
3409
3410 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
3411 floating point hardware support.
3412
3413 * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
3414 point conversions.
3415 * config/rs6000/fixunskfti.c: Likewise.
3416 * config/rs6000/fixkfti.c: Likewise.
3417 * config/rs6000/floatuntikf.c: Likewise.
3418 * config/rs6000/extendkftf2-sw.c: Likewise.
3419 * config/rs6000/trunctfkf2-sw.c: Likewise.
3420
3421 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
3422 128-bit floating point software emulation or use ISA 3.0 hardware
3423 support if it is available.
3424
3425 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
3426 floating point.
3427
3428 * config/rs6000/t-float128: New Makefile fragments to enable
3429 building __float128 emulation support.
3430 * config/rs6000/t-float128-hw: Likewise.
3431
3432 * config/rs6000/float128-sed: New file to convert TF names to KF
3433 names for PowerPC IEEE 128-bit floating point support.
3434
3435 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
3436 when building on 64-bit systems, or when VSX is enabled.
3437 (_FP_W_TYPE): Likewise.
3438 (_FP_WS_TYPE): Likewise.
3439 (_FP_I_TYPE): Likewise.
3440 (TItype): Define on 64-bit systems.
3441 (UTItype): Likewise.
3442 (TI_BITS): Likewise.
3443 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
3444 (_FP_MUL_MEAT_Q): Likewise.
3445 (_FP_DIV_MEAT_D): Likewise.
3446 (_FP_DIV_MEAT_Q): Likewise.
3447 (_FP_NANFRAC_D): Likewise.
3448 (_FP_NANFRAC_Q): Likewise.
3449 (ISA_BIT): Add exception support if we are being compiled on a
3450 machine with hardware floating point support to build the IEEE
3451 128-bit emulation functions.
3452 (FP_EX_INVALID): Likewise.
3453 (FP_EX_OVERFLOW): Likewise.
3454 (FP_EX_UNDERFLOW): Likewise.
3455 (FP_EX_DIVZERO): Likewise.
3456 (FP_EX_INEXACT): Likewise.
3457 (FP_EX_ALL): Likewise.
3458 (__sfp_handle_exceptions): Likewise.
3459 (FP_HANDLE_EXCEPTIONS): Likewise.
3460 (FP_RND_NEAREST): Likewise.
3461 (FP_RND_ZERO): Likewise.
3462 (FP_RND_PINF): Likewise.
3463 (FP_RND_MINF): Likewise.
3464 (FP_RND_MASK): Likewise.
3465 (_FP_DECL_EX): Likewise.
3466 (FP_INIT_ROUNDMODE): Likewise.
3467 (FP_ROUNDMODE): Likewise.
3468
3469 * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
3470 compiler can do __float128.
3471 * configure: Regenerate.
3472
3473 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
3474 VSX code, enable IEEE 128-bit floating point.
3475
a2218983
OH
34762016-01-05 Olivier Hainque <hainque@adacore.com>
3477
3478 * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
29176d57 3479 specificities.
a2218983 3480
818ab71a
JJ
34812016-01-04 Jakub Jelinek <jakub@redhat.com>
3482
3483 Update copyright years.
3484
5a6c8ffa
AP
34852015-12-18 Andris Pavenis <andris.pavenis@iki.fi>
3486
3487 * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
29176d57 3488 soft-fp targets.
5a6c8ffa 3489
077067a5
BE
34902015-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
3491
3492 * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
3493 instead of abort to avoid dependency on stdlib.h.
3494
787c1027
JDA
34952015-12-09 John David Anglin <danglin@gcc.gnu.org>
3496
3497 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
3498 to initialize call to __dl_fixup once.
3499
04a9ae28
NC
35002015-12-04 Nick Clifton <nickc@redhat.com>
3501
3502 * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
3503 Allow for the second argument being negative.
3504 * config.host (extra_parts): Define for MSP430. Create separate
3505 libraries for each of the hardware multiply formats.
3506 * config/msp430/lib2hw_mul.S: Build only the multiply routines
3507 that are needed.
3508 * config/msp430/lib2mul.c: Likewise.
3509 * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
3510 Add rules to build hardware multiply libraries.
3511 * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
3512 __mspabi_divul function.
3513 (__mspabi_divllu): New stub function.
3514
9a32d437
JDA
35152015-12-01 John David Anglin <danglin@gcc.gnu.org>
3516
3517 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
3518 fixup values if saved GOT address doesn't match runtime address.
3519 (fixup_branch_offset): Reorder list.
3520
e5ef217c
RO
35212015-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3522
3523 * Makefile.in (VTV_CFLAGS): New variable.
3524 (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
3525 (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
3526 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
3527 Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
3528 to extra_parts if $enable_vtable_verify = yes.
3529
78cc43a2
SN
35302015-11-23 Szabolcs Nagy <szabolcs.nagy@arm.com>
3531
3532 PR target/68059
3533 * config/arm/linux-atomic-64bit.c (__write): Rename to...
3534 (write): ...this and fix the return type.
3535
9afebea2
DD
35362015-11-19 DJ Delorie <dj@redhat.com>
3537
3538 * config/msp430/lib2hw_mul.S: Fix alignment.
3539
33f47f42
NS
35402015-11-18 Nathan Sidwell <nathan@codesourcery.com>
3541
3542 * config/nvptx/reduction.c: New.
3543 * config/nvptx/t-nvptx (LIB2ADD): Add it.
3544
d9adb476
DE
35452015-11-15 David Edelsohn <dje.gcc@gmail.com>
3546
3547 * config/rs6000/on_exit.c: New file.
3548 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
3549 * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
3550
c0ab1970
CZ
35512015-11-11 Claudiu Zissulescu <claziss@synopsys.com>
3552
3553 * config/arc/dp-hack.h: Add support for ARCHS.
3554 * config/arc/ieee-754/divdf3.S: Likewise.
3555 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
3556 * config/arc/ieee-754/muldf3.S: Likewise.
3557 * config/arc/ieee-754/mulsf3.S: Likewise
3558 * config/arc/lib1funcs.S: Likewise
3559 * config/arc/gmon/dcache_linesz.S: Don't read the build register
3560 for ARCv2 cores.
3561 * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
3562 for ARCv2 cores.
3563 * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
3564 * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
3565 cores.
3566
e6b6bf09
RO
35672015-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3568
3569 * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
3570 value.
3571 * config/ia64/crtend.S: Likewise.
3572
a153644f
TS
35732015-11-07 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3574
3575 * config/visium/lib2funcs.c (__set_trampoline_parity): Use
3576 __CHAR_BIT__ instead of BITS_PER_UNIT.
3577 * fixed-bit.h: Likewise.
3578 * fp-bit.h: Likewise.
3579 * libgcc2.c (__popcountSI2): Likewise.
3580 (__popcountDI2): Likewise.
3581 * libgcc2.h: Likewise.
3582 * libgcov.h: Likewise.
3583
3dee689d
DE
35842015-11-07 David Edelsohn <dje.gcc@gmail.com>
3585
3586 * config/rs6000/atexit.c: New file.
3587 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
3588 * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
3589 * config/rs6000/cxa_finalize.c
3590 (catomic_compare_and_exchange_bool_acq): Negate return value.
3591
2ef543e4
VK
35922015-10-30 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
3593
3594 * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
3595 (processor_subtypes): Add znver1.
3596 (get_amd_cpu): Detect znver1.
3597
1300f017
CL
35982015-10-29 Christophe Lyon <christophe.lyon@linaro.org>
3599
3600 * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
3601 Include crtfastmath.o.
3602
3e5bb7ee
JR
36032015-10-23 Joern Rennecke <joern.rennecke@embecosm.com>
3604
3605 PR libgcc/66883
3606 * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
1300f017 3607
793aa938
KP
36082015-10-16 Kaushik Phatak <kaushik.phatak@kpit.com>
3609
3610 * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
3611 * config/rl78/divmodsi.S: Update return register to r8.
3612 * config/rl78/divmodhi.S: Update return register to r8,r9.
3613 Branch to main_loop_done_himode to pop registers before return.
3614
7d296953 36152015-10-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
fac812f0
VK
3616
3617 * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
3618 (__cpu_indicator_init): Fix model selection for AMD CPUs.
3619
6a192b5a
KY
36202015-10-05 Kirill Yukhin <kirill.yukhin@intel.com>
3621
3622 * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
3623
4a0a9457
MF
36242015-10-03 Max Filippov <jcmvbkbc@gmail.com>
3625
3626 * config.host (xtensa*-*-uclinux*): New configuration.
3627
ab91c076
KY
36282015-10-02 Kirill Yukhin <kirill.yukhin@intel.com>
3629
385c7747 3630 * config/i386/cpuinfo.c (processor_features): Add
ab91c076
KY
3631 FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
3632
30954527
JM
36332015-09-28 Joseph Myers <joseph@codesourcery.com>
3634
3635 * soft-fp/adddf3.c: Update from glibc.
3636 * soft-fp/addsf3.c: Likewise.
3637 * soft-fp/addtf3.c: Likewise.
3638 * soft-fp/divdf3.c: Likewise.
3639 * soft-fp/divsf3.c: Likewise.
3640 * soft-fp/divtf3.c: Likewise.
3641 * soft-fp/double.h: Likewise.
3642 * soft-fp/eqdf2.c: Likewise.
3643 * soft-fp/eqsf2.c: Likewise.
3644 * soft-fp/eqtf2.c: Likewise.
3645 * soft-fp/extenddftf2.c: Likewise.
3646 * soft-fp/extended.h: Likewise.
3647 * soft-fp/extendsfdf2.c: Likewise.
3648 * soft-fp/extendsftf2.c: Likewise.
3649 * soft-fp/extendxftf2.c: Likewise.
3650 * soft-fp/fixdfdi.c: Likewise.
3651 * soft-fp/fixdfsi.c: Likewise.
3652 * soft-fp/fixdfti.c: Likewise.
3653 * soft-fp/fixsfdi.c: Likewise.
3654 * soft-fp/fixsfsi.c: Likewise.
3655 * soft-fp/fixsfti.c: Likewise.
3656 * soft-fp/fixtfdi.c: Likewise.
3657 * soft-fp/fixtfsi.c: Likewise.
3658 * soft-fp/fixtfti.c: Likewise.
3659 * soft-fp/fixunsdfdi.c: Likewise.
3660 * soft-fp/fixunsdfsi.c: Likewise.
3661 * soft-fp/fixunsdfti.c: Likewise.
3662 * soft-fp/fixunssfdi.c: Likewise.
3663 * soft-fp/fixunssfsi.c: Likewise.
3664 * soft-fp/fixunssfti.c: Likewise.
3665 * soft-fp/fixunstfdi.c: Likewise.
3666 * soft-fp/fixunstfsi.c: Likewise.
3667 * soft-fp/fixunstfti.c: Likewise.
3668 * soft-fp/floatdidf.c: Likewise.
3669 * soft-fp/floatdisf.c: Likewise.
3670 * soft-fp/floatditf.c: Likewise.
3671 * soft-fp/floatsidf.c: Likewise.
3672 * soft-fp/floatsisf.c: Likewise.
3673 * soft-fp/floatsitf.c: Likewise.
3674 * soft-fp/floattidf.c: Likewise.
3675 * soft-fp/floattisf.c: Likewise.
3676 * soft-fp/floattitf.c: Likewise.
3677 * soft-fp/floatundidf.c: Likewise.
3678 * soft-fp/floatundisf.c: Likewise.
3679 * soft-fp/floatunditf.c: Likewise.
3680 * soft-fp/floatunsidf.c: Likewise.
3681 * soft-fp/floatunsisf.c: Likewise.
3682 * soft-fp/floatunsitf.c: Likewise.
3683 * soft-fp/floatuntidf.c: Likewise.
3684 * soft-fp/floatuntisf.c: Likewise.
3685 * soft-fp/floatuntitf.c: Likewise.
3686 * soft-fp/gedf2.c: Likewise.
3687 * soft-fp/gesf2.c: Likewise.
3688 * soft-fp/getf2.c: Likewise.
3689 * soft-fp/ledf2.c: Likewise.
3690 * soft-fp/lesf2.c: Likewise.
3691 * soft-fp/letf2.c: Likewise.
3692 * soft-fp/muldf3.c: Likewise.
3693 * soft-fp/mulsf3.c: Likewise.
3694 * soft-fp/multf3.c: Likewise.
3695 * soft-fp/negdf2.c: Likewise.
3696 * soft-fp/negsf2.c: Likewise.
3697 * soft-fp/negtf2.c: Likewise.
3698 * soft-fp/op-1.h: Likewise.
3699 * soft-fp/op-2.h: Likewise.
3700 * soft-fp/op-4.h: Likewise.
3701 * soft-fp/op-8.h: Likewise.
3702 * soft-fp/op-common.h: Likewise.
3703 * soft-fp/quad.h: Likewise.
3704 * soft-fp/single.h: Likewise.
3705 * soft-fp/soft-fp.h: Likewise.
3706 * soft-fp/subdf3.c: Likewise.
3707 * soft-fp/subsf3.c: Likewise.
3708 * soft-fp/subtf3.c: Likewise.
3709 * soft-fp/truncdfsf2.c: Likewise.
3710 * soft-fp/trunctfdf2.c: Likewise.
3711 * soft-fp/trunctfsf2.c: Likewise.
3712 * soft-fp/trunctfxf2.c: Likewise.
3713 * soft-fp/unorddf2.c: Likewise.
3714 * soft-fp/unordsf2.c: Likewise.
3715 * soft-fp/unordtf2.c: Likewise.
3716
4dfe21ac
RE
37172015-09-24 Richard Earnshaw <rearnsha@arm.com>
3718
3719 PR libgcc/67624
3720 * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
3721
df2a1cc4
RO
37222015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3723
3724 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
3725 Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
3726 * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
3727 messages.
3728 (internal_mcount): Likewise.
3729 * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
3730 crt_compile, add CRTSTUFF_T_CFLAGS_S.
3731
2d110442
RO
37322015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3733
3734 * configure.ac (libgcc_cv_solaris_crts): New test.
3735 * configure: Regenerate.
3736 * config.in: Regenerate.
3737 * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
3738 * config/gmon-sol2.c: Rename to ...
3739 * config/sol2/gmon.c: ... this.
3740 Include auto-target.h.
3741 (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
3742 * config/t-sol2: Rename to ...
3743 * config/sol2/t-sol2: ... this.
3744 (gmon.o): Reflect renaming.
3745 (crtp.o, crtpg.o): New rules.
3746 * config.host (*-*-solaris2*): Reflect renaming.
3747 Use system CRTs if present.
3748 Remove default CRT case.
3749
d572e439
JDA
37502015-09-23 John David Anglin <danglin@gcc.gnu.org>
3751
3752 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
3753 (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
3754 __kernel_cmpxchg2.
3755 (__sync_##OP##_and_fetch_##WIDTH): Likewise.
3756 (__sync_val_compare_and_swap_##WIDTH): Likewise.
3757 (__sync_bool_compare_and_swap_##WIDTH): Likewise.
3758 (__sync_lock_test_and_set_##WIDTH): Likewise.
3759 (__sync_lock_release_##WIDTH): Likewise.
3760 (__sync_fetch_and_##OP##_4): Change result to match type of
3761 __kernel_cmpxchg.
3762 (__sync_##OP##_and_fetch_4): Likewise.
3763 (__sync_val_compare_and_swap_4): Likewise.
3764 (__sync_bool_compare_and_swap_4): likewise.
3765 (__sync_lock_test_and_set_4): Likewise.
3766 (__sync_lock_release_4): Likewise.
3767 (FETCH_AND_OP_2): Add long long variants.
3768 (OP_AND_FETCH_2): Likewise.
3769 (COMPARE_AND_SWAP_2 ): Likewise.
3770 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
3771 (SYNC_LOCK_RELEASE_2): Likewise.
3772 (__sync_bool_compare_and_swap_##WIDTH): Correct return.
3773
7d296953 37742015-09-22 Kirill Yukhin <kirill.yukhin@intel.com>
06caf59d
KY
3775
3776 * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
3777 FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
3778 FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
3779 (get_available_features): Habdle new features.
3780
131314e1
JB
37812015-09-21 James Bowman <james.bowman@ftdichip.com>
3782
3783 * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
3784 memory layout. Deal correctly with BSS region larger than 32K.
3785 Handle a watchdog reset like a power-on reset. Clean up unused
3786 code.
3787
04218b35
AD
37882015-09-18 Andrew Dixie <andrewd@gentrack.com>
3789 David Edelsohn <dje.gcc@gmail.com>
3790
3791 * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
3792 * config/rs6000/crtdbase.S: New file.
3793 * config/rs6000/t-aix-cxa: Build crtdbase.o.
3794
c8338173
MF
37952015-09-15 Max Filippov <jcmvbkbc@gmail.com>
3796
3797 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
3798 Add support for call0 ABI.
3799
7a84bf71
JDA
38002015-09-13 John David Anglin <danglin@gcc.gnu.org>
3801
3802 * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
3803
4efab402
SH
38042015-09-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
3805
3806 * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
3807 (__GTHREAD_HAS_COND): Likewise.
3808 (__gthread_t): Likewise.
3809 (__gthread_cond_t): Likewise.
3810 (__gthread_time_t): Likewise.
3811 (__GTHREAD_MUTEX_INIT): Likewise.
3812 (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
3813 (__GTHREAD_COND_INIT): Likewise.
3814 (__GTHREAD_COND_INIT_FUNCTION): Likewise.
3815 (__GTHREAD_TIME_INIT): Likewise.
3816 (__gthread_create): Likewise.
3817 (__gthread_join): Likewise.
3818 (__gthread_detach): Likewise.
3819 (__gthread_equal): Likewise.
3820 (__gthread_self): Likewise.
3821 (__gthread_yield): Likewise.
3822 (__gthread_cond_broadcast): Likewise.
3823 (__gthread_cond_signal): Likewise.
3824 (__gthread_cond_wait): Likewise.
3825 (__gthread_cond_timedwait): Likewise.
3826 (__gthread_cond_wait_recursive): Likewise.
3827 (__gthread_cond_destroy): Likewise.
3828 (rtems_gxx_once): Delete.
3829 (rtems_gxx_key_create): Likewise.
3830 (rtems_gxx_key_delete): Likewise.
3831 (rtems_gxx_getspecific): Likewise.
3832 (rtems_gxx_setspecific): Likewise.
3833 (rtems_gxx_mutex_init): Likewise.
3834 (rtems_gxx_mutex_destroy): Likewise.
3835 (rtems_gxx_mutex_lock): Likewise.
3836 (rtems_gxx_mutex_trylock): Likewise.
3837 (rtems_gxx_mutex_unlock): Likewise.
3838 (rtems_gxx_recursive_mutex_init): Likewise.
3839 (rtems_gxx_recursive_mutex_lock): Likewise.
3840 (rtems_gxx_recursive_mutex_trylock): Likewise.
3841 (rtems_gxx_recursive_mutex_unlock): Likewise.
3842 (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
3843 (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
3844 (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
3845 (__gthread_once): Likewise.
3846 (__gthread_key_create): Likewise.
3847 (__gthread_key_delete): Likewise.
3848 (__gthread_getspecific): Likewise.
3849 (__gthread_setspecific): Likewise.
3850 (__gthread_key_t): Use <pthread.h> type.
3851 (__gthread_once_t): Likewise
3852 (__gthread_mutex_t): Use <sys/lock.h> type.
3853 (__gthread_recursive_mutex_t): Likewise
3854 (__gthread_mutex_lock): Use <sys/lock.h> function.
3855 (__gthread_mutex_trylock): Likewise.
3856 (__gthread_mutex_timedlock): Likewise.
3857 (__gthread_mutex_unlock): Likewise.
3858 (__gthread_mutex_destroy): Likewise.
3859 (__gthread_recursive_mutex_lock): Likewise.
3860 (__gthread_recursive_mutex_trylock): Likewise.
3861 (__gthread_recursive_mutex_timedlock): Likewise.
3862 (__gthread_recursive_mutex_unlock): Likewise.
3863 (__gthread_recursive_mutex_destroy): Likewise.
3864
991995c4
MF
38652015-08-18 Max Filippov <jcmvbkbc@gmail.com>
3866
3867 * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
3868 context->sp instead of context->cfa.
3869
0e19db59
MF
38702015-08-18 Max Filippov <jcmvbkbc@gmail.com>
3871
3872 * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
3873 with unwind-dw2-fde-dip.
3874
b6ac5f62
MF
38752015-08-18 Max Filippov <jcmvbkbc@gmail.com>
3876
3877 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
3878 CALL12 followed by series of ENTRY to spill windowed registers.
3879 (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
3880 instead of making linux spill syscall.
3881
3e0f3349
YR
38822015-08-14 Yuri Rumyantsev <ysrumyan@gmail.com>
3883
3884 * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
3885 (get_intel_cpu): Likewise.
3886
51c728b1
L
38872015-08-12 H.J. Lu <hongjiu.lu@intel.com>
3888
3889 * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
3890 (get_intel_cpu): Add Knights Landing support.
3891
aff4eeac
UB
38922015-08-11 Uros Bizjak <ubizjak@gmail.com>
3893
3894 PR target/66954
3895 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
3896 (get_available_features): Handle FEATURE_PCLMUL.
3897
736e56da
L
38982015-08-10 H.J. Lu <hongjiu.lu@intel.com>
3899
3900 * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
3901 Broadwell.
3902
54d22142
UB
39032015-07-22 Uros Bizjak <ubizjak@gmail.com>
3904
3905 PR target/66954
3906 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
3907 (get_available_features): Handle FEATURE_AES.
3908
20ca17e4
CLT
39092015-07-22 Chung-Lin Tang <cltang@codesourcery.com>
3910
3911 * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
3912 (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
3913
ebe4a560
NS
39142015-07-17 Nathan Sidwell <nathan@codesourcery.com>
3915
3916 * offloadstuff.c: Constify host data.
3917
180744c0
JB
39182015-07-17 Jan Beulich <jbeulich@suse.com>
3919
3920 * config/t-softfp: Split up "else ifneq".
3921
a03c6ae3
SL
39222015-07-14 Sandra Loosemore <sandra@codesourcery.com>
3923 Cesar Philippidis <cesar@codesourcery.com>
3924 Chung-Lin Tang <cltang@codesourcery.com>
3925
3926 * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
3927 for __nios2_arch__ level.
3928
73358db5
JM
39292015-07-13 John Marino <gnugcc@marino.st>
3930
3931 * config/i386/t-dragonfly: New.
3932
f9a12f7b
JDA
39332015-07-01 John David Anglin <danglin@gcc.gnu.org>
3934
3935 * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
3936 better match light-weight syscall argument order.
3937 (__kernel_cmpxchg2): Likewise.
3938 Adjust callers.
3939
cb78b51c
L
39402015-06-30 H.J. Lu <hongjiu.lu@intel.com>
3941
3942 * config.host: Support i[34567]86-*-elfiamcu target.
3943 * config/t-softfp-sfdftf: New file.
3944 * config/i386/32/t-iamcu: Likewise.
3945 * configure: Regenerated.
3946
4fa0f9ea
JL
39472015-06-23 James Lemke <jwlemke@codesourcery.com>
3948
3949 libgcc/config/arm/
3950 * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
3951
428b3812
L
39522015-05-27 H.J. Lu <hongjiu.lu@intel.com>
3953
3954 * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
3955
7d296953 39562015-05-27 John Marino <gnugcc@marino.st>
89c54dd3
JM
3957
3958 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
3959 md_unwind_header
3960 * config/i386/freebsd-unwind.h: New.
3961
9b789cc1
UB
39622015-05-22 Uros Bizjak <ubizjak@gmail.com>
3963
3964 * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
3965 i386/t-crtfm to tmake_file.
3966 * config/i386/crtfastmath.c (set_fast_math_sse): New function.
3967 (set_fast_math): Use set_fast_math_sse for SSE targets.
3968 * config/i386/t-crtfm: Remove.
3969
3dafb220
AM
39702015-05-21 Alan Modra <amodra@gmail.com>
3971
3972 PR libgcc/66225
3973 * config/rs6000/morestack.S: Remove ".abiversion 1".
3974
0f0fd745
AM
39752015-05-20 Alan Modra <amodra@gmail.com>
3976
3977 * config/rs6000/morestack.S: New.
3978 * config/rs6000/t-stack-rs6000: New.
3979 * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
3980 to tmake_file.
3981 * generic-morestack.c: Don't build for powerpc 32-bit.
3982
515ae71b
EB
39832015-05-19 Eric Botcazou <ebotcazou@adacore.com>
3984
3985 * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
3986 Remove useless endif/ifneq ($(enable_shared),yes) pair.
3987
36805406
JL
39882015-05-16 James Bowman <james.bowman@ftdichip.com>
3989
3990 * config.host: FT32 target added.
3991 * config/ft32/*: New files for FT32 target.
3992
ff935d0c
MG
39932015-05-15 Martin Galvan <martin.galvan@tallertechnologies.com>
3994
385c7747
UB
3995 * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
3996 New macros.
3997 * config/arm/ieee754-df.S: Add CFI directives.
3998 * config/arm/ieee754-sf.S: Add CFI directives.
ff935d0c 3999
9b92a9f3
EB
40002015-05-13 Eric Botcazou <ebotcazou@adacore.com>
4001
4002 * configure.ac: Include config/sjlj.m4.
4003 Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
4004 * config.in: Regenerate.
4005 * configure: Likewise.
4006 * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
4007
98b5dc61
UB
40082015-05-12 Uros Bizjak <ubizjak@gmail.com>
4009
4010 * libgcov-util.c: Add space between string literal and macro name.
4011
5a0ff57c
SL
40122015-05-06 Sandra Loosemore <sandra@codesourcery.com>
4013 Chris Jones <chrisj@nvidia.com>
4014 Joshua Conner <jconner@nvidia.com>
4015
4016 * config.host (arm*-*-linux*): Add support for crtfastmath.o.
4017 (arm*-*-uclinux*): Likewise.
4018 (arm*-*-eabi* | arm*-*-rtems*): Likewise.
4019 * config/arm/crtfastmath.c: New file.
4020
d28ad5d4
BS
40212014-04-29 Bernd Schmidt <bernds@codesourcery.com>
4022
4023 * Makefile.in (real_host_noncanonical): New variable.
4024 (libsubdir): Use it.
4025 * configure.ac (real_host_noncanonical): Compute. Remove special
4026 case for intelmicemul.
4027 * configure: Regenerate.
4028
cc86234f
UB
40292015-04-28 Uros Bizjak <ubizjak@gmail.com>
4030
4031 * config/frv/elf-lib.h: New file.
4032 (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
4033 * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
4034 to tm_file.
4035
40362015-04-28 Uros Bizjak <ubizjak@gmail.com>
4037
4038 * config/frv/frvbengin.c: Do not include defaults.h
4039 * config/frv/frvend.c: Ditto.
4040
2f6bd6eb
YS
40412015-04-27 Yoshinori Sato <ysato@users.sourceforge.jp>
4042
4043 * config.host: Add h8300-*-linux
4044 * config/h8300/t-linux: New file.
4045 * config/h8300/lib1funs.s: Change symbol prefix.
4046 * config/h8300/sfp-machine.h: 64bit double support.
4047
15aa7b44
GR
40482015-04-22 Gregor Richards <gregor.richards@uwaterloo.ca>
4049 Szabolcs Nagy <szabolcs.nagy@arm.com>
4050
4051 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
4052 Linux if target provides dl_iterate_phdr.
4053
abd0cdc9
L
40542015-04-17 H.J. Lu <hongjiu.lu@intel.com>
4055
4056 PR target/65612
4057 * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
4058 * config/i386/cpuinfo.c (__cpu_model): Initialize.
4059 (__cpu_indicator_init@GCC_4.8.0): New.
4060 (__cpu_model@GCC_4.8.0): Likewise.
4061 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
4062 -DUSE_ELF_SYMVER.
4063
72ed1126
NC
40642015-04-16 Nick Clifton <nickc@redhat.com>
4065
4066 * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
4067 and __modhi3 functions.
4068 * config/rl78/divmodso.S: Add G14 and G13 versions of the
4069 __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
4070
d26b2237
CG
40712015-04-15 Chen Gang <gang.chen.5i5j@gmail.com>
4072
4073 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
4074 do-while loop as macro body to avoid warnings.
4075
cacf1f59
JJ
40762015-04-10 Jakub Jelinek <jakub@redhat.com>
4077 Iain Sandoe <iain@codesourcery.com>
4078
4079 PR target/65351
4080 * configure: Regenerate.
4081
e8a4ed3b
JJ
40822015-04-07 Jakub Jelinek <jakub@redhat.com>
4083 Iain Sandoe <iain@codesourcery.com>
4084
4085 PR target/65351
4086 * configure: Regenerate.
4087
0341335e
CLT
40882015-03-25 Chung-Lin Tang <cltang@codesourcery.com>
4089
4090 * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
4091
590e2636 40922015-03-03 Max Filippov <jcmvbkbc@gmail.com>
0341335e 4093
590e2636
MF
4094 Implement call0 ABI for xtensa
4095 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
4096 __xtensa_nonlocal_goto): Don't compile for call0 ABI.
4097 (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
4098 use ret in call0 ABI.
4099 * config/xtensa/t-windowed: New file.
4100 * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
4101 * libgcc/configure: Regenerated.
4102 * libgcc/configure.ac: Check if xtensa target is configured for
4103 windowed ABI and thus needs to use custom unwind code.
4104
7727f8f2
JW
41052015-02-12 Jonathan Wakely <jwakely@redhat.com>
4106
4107 PR libgcc/64885
4108 * gthr-single.h: Use __unused__ attribute instead of unused.
4109 * config/gthr-vxworks.h: Likewise.
4110 * config/i386/gthr-win32.h: Likewise.
4111
0e4a0def
KT
41122015-02-27 Kai Tietz <ktietz@redhat.com>
4113
4114 PR target/65038
4115 * config.in: Regenerated.
4116 * configure: Likewise.
4117 * configure.ac (AC_HEADER_STDC): Added explicit.
4118 (AC_CHECK_HEADERS): Check for default headers plus
4119 for ftw.h header.
4120 * libgcov-util.c (gcov_read_profile_dir): Disable use
4121 of ftw-function, if header is not found.
4122 (ftw_read_file): Likewise.
4123
b6530d0a
TS
41242015-02-23 Thomas Schwinge <thomas@codesourcery.com>
4125
4126 PR target/65181
4127 * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
4128 -Dinhibit_libc.
4129
53cfb467
SL
41302015-02-17 Sandra Loosemore <sandra@codesourcery.com>
4131
4132 * config/arm/bpabi.S (test_div_by_zero): Make label names
4133 consistent between thumb2 and arm mode cases. Separate the
4134 signed comparison on the high word of the numerator from the
4135 unsigned comparison on the low word.
4136 * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
4137 signed comparison.
4138
77d10a1b
JM
41392015-02-17 Joseph Myers <joseph@codesourcery.com>
4140
4141 * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
4142 and <string.h>.
4143 (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
4144
98174188
RE
41452015-02-10 Rainer Emrich <rainer@emrich-ebersheim.de>
4146
4147 PR gcov-profile/61889
471274de 4148 * libgcov-driver-system.c: undefine clashing macro for mkdir.
98174188 4149
771bef14
NC
41502015-02-02 Nick Clifton <nickc@redhat.com>
4151
4152 * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
4153 rounding up the fraction.
4154
40702893
JDA
41552015-01-31 John David Anglin <danglin@gcc.gnu.org>
4156
4157 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
4158 oldval and newval to const void *. Fix typo.
4159 (FETCH_AND_OP_2): Use __atomic_load_n to load value.
4160 (FETCH_AND_OP_WORD): Likewise.
4161 (OP_AND_FETCH_WORD): Likewise.
4162 (COMPARE_AND_SWAP_2): Likewise.
4163 (__sync_val_compare_and_swap_4): Likewise.
4164 (__sync_lock_test_and_set_4): Likewise.
4165 (SYNC_LOCK_RELEASE_2): Likewise.
4166 Remove support for long long atomic operations.
4167
f7f049fa
CT
41682015-01-27 Caroline Tice <cmtice@google.com>
4169
4170 Committing VTV Cywin/Ming patch for Patrick Wollgast
4171 * Makefile.in: Move rules to build vtv_*.o out of the check
4172 for CUSTOM_CRTSTUFF.
4173 * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
4174 i[34567]86-*-mingw*)
4175 (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
4176 enable_vtable_verify.
4177
8410904a
NC
41782015-01-27 Nick Clifton <nickc@redhat.com>
4179
4180 * config/rl78/cmpsi2.S: Use function start and end macros.
4181 (__gcc_bcmp): New function.
4182 * config/rl78/lshrsi3.S: Use function start and end macros.
4183 * config/rl78/mulsi3.S: Add support for G10.
4184 (__mulqi3): New function for G10.
4185 * config/rl78/signbit.S: Use function start and end macros.
4186 * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
4187 fpmath-sf.S.
4188 (LIB2FUNCS_EXCLUDE): Define.
4189 (LIB2FUNCS_ST): Define.
4190 * config/rl78/trampoline.S: Use function start and end macros.
4191 * config/rl78/vregs.h (START_FUNC): New macro.
4192 (START_ANOTHER_FUNC): New macro.
4193 (END_FUNC): New macro.
4194 (END_ANOTHER_FUNC): New macro.
4195 * config/rl78/bit-count.S: New file. Contains assembler
4196 implementations of the bit counting functions: ___clzhi2,
4197 __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
4198 __paritysi2, __popcounthi2 and __popcountsi2.
4199 * config/rl78/fpbit-sf.S: New file. Contains assembler
4200 implementationas of the math functions: __negsf2, __cmpsf2,
4201 __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
4202 __fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
4203 * config/rl78/fpmath-sf.S: New file. Contains assembler
4204 implementations of the math functions: __subsf3, __addsf3,
4205 __mulsf3 and __divsf3
4206
f962fbf1
RO
42072015-01-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4208
4209 * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
4210 Add i386/elf-lib.h to tm_file.
4211 * config/i386/elf-lib.h: Fix comment.
4212 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
4213 && __sun__ && __svr4__]: Remove workaround.
4214
939911c5
ASJ
42152015-01-25 Allan Sandfeld Jensen <sandfeld@kde.org>
4216
4217 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
4218 FEATURE_BMI2.
4219 (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
4220
c8f2dff2
L
42212015-01-24 H.J. Lu <hongjiu.lu@intel.com>
4222
4223 * config/i386/cpuinfo.c (processor_subtypes): Add
4224 INTEL_COREI7_BROADWELL.
4225 (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
4226 model numbers.
4227
7bbf9734
UB
42282015-01-23 Uros Bizjak <ubizjak@gmail.com>
4229
4230 * config/i386/elf-lib.h: New file.
4231 (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
4232 Wrap definition in #ifdef __i386__.
4233 * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
4234 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
4235 (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
4236 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
4237 to tm_file.
4238
324820f1
CG
42392015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
4240
4241 * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
4242 "(char *)" to avoid qualifier warning by 'xgcc' compiling.
4243
a9ce4e4a
CLT
42442015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
4245
4246 * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
4247 Update rt_sigframe format and address for current Nios II
4248 Linux conventions.
4249
82a19768
AT
42502015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
4251
4252 * config.host (arm*-*-freebsd*): Add new configuration for
4253 arm*-*-freebsd*.
4254 * config/arm/freebsd-atomic.c: New file.
4255 * config/arm/t-freebsd: Likewise.
4256 * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
4257 'PC-relative indirect' OS's.
4258
0969ec7d
EB
42592015-01-06 Eric Botcazou <ebotcazou@adacore.com>
4260
4261 * config.host: Add Visium support.
4262 * config/visium: New directory.
4263
5624e564
JJ
42642015-01-05 Jakub Jelinek <jakub@redhat.com>
4265
4266 Update copyright years.
4267
82f84ecb
MF
42682014-12-19 Matthew Fortune <matthew.fortune@imgtec.com>
4269
4270 * config.host: Support mipsisa32r6 and mipsisa64r6.
4271 * config/mips/mips16.S: Do not build for R6.
4272
69044fa9
OE
42732014-12-17 Oleg Endo <olegendo@gcc.gnu.org>
4274
4275 * config/sh/crt.h: New.
4276 * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
4277 symbols.
4278 * config/sh/crt1.S: Likewise.
4279
2405e0ea
UB
42802014-12-15 Uros Bizjak <ubizjak@gmail.com>
4281
4282 PR libgcc/63832
4283 * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
4284 func_ptr *dtor_list temporary variable to avoid "array subscript
4285 is above array bounds" warnings.
4286
7d296953 42872014-12-09 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
dd913323
MH
4288
4289 * Makefile.in (with_aix_soname): Define.
4290 * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
4291 * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
4292 * configure: Recreate.
4293
a66272f6
OH
42942014-12-05 Olivier Hainque <hainque@adacore.com>
4295
4296 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
4297 now provided by defaults.h.
4298
6342b2c5
OE
42992014-11-30 Oleg Endo <olegendo@gcc.gnu.org>
4300
7d0ee249 4301 PR target/55351
6342b2c5
OE
4302 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
4303 whether it's defined.
4304
c17eac85
IT
43052014-11-27 Ilya Tocar <ilya.tocar@intel.com>
4306
4307 * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
4308 * config/i386/cpuinfo.c (get_available_features): Detect it.
4309
1025cb6c
TW
43102014-11-27 Tony Wang <tony.wang@arm.com>
4311
4312 * config/arm/lib1funcs.S (FUNC_START): Add conditional section
4313 redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
4314 (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
4315
d19f2e38
SB
43162014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
4317
4318 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
4319
17f6e9a3
JDA
43202014-11-24 John David Anglin <danglin@gcc.gnu.org>
4321
4322 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
4323 instead.
4324
0cd7c672
GM
43252014-11-21 Guy Martin <gmsoft@tuxicoman.be>
4326 John David Anglin <danglin@gcc.gnu.org>
4327
4328 * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
4329 (FETCH_AND_OP_2): New. Use for subword and double word operations.
4330 (OP_AND_FETCH_2): Likewise.
4331 (COMPARE_AND_SWAP_2): Likewise.
4332 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
4333 (SYNC_LOCK_RELEASE_2): Likewise.
4334 (SUBWORD_SYNC_OP): Remove.
4335 (SUBWORD_VAL_CAS): Likewise.
4336 (SUBWORD_BOOL_CAS): Likewise.
4337 (FETCH_AND_OP_WORD): Update.
4338 Consistently use signed types.
cc86234f 4339
85c64bbe
BS
43402014-11-13 Bernd Schmidt <bernds@codesourcery.com>
4341 Thomas Schwinge <thomas@codesourcery.com>
4342 Ilya Verbin <ilya.verbin@intel.com>
4343 Andrey Turetskiy <andrey.turetskiy@intel.com>
4344
4345 * Makefile.in (crtoffloadbegin$(objext)): New rule.
4346 (crtoffloadend$(objext)): Likewise.
4347 * configure: Regenerate.
4348 * configure.ac (accel_dir_suffix): Compute new variable.
4349 (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
4350 if enable_offload_targets is not empty.
4351 * offloadstuff.c: New file.
4352
52a1ff8b
NC
43532014-11-13 Nick Clifton <nickc@redhat.com>
4354
4355 * config/rl78/divmodhi.S: Add support for the G10 architecture.
4356 Use START_FUNC and END_FUNC macros to enable linker garbage
4357 collection.
4358 * config/rl78/divmodqi.S: Likewise.
4359 * config/rl78/divmodsi.S: Likewise.
4360 * config/rl78/mulsi3.S: Likewise.
4361 * config/rl78/lib2div.c: Remove G10 functions.
4362 * config/rl78/lib2muls.c: Likewise.
4363 * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
4364 * config/rl78/vregs.h (START_FUNC): New macro.
4365 (END_FUNC): New macro.
4366
050af144
MF
43672014-11-12 Matthew Fortune <matthew.fortune@imgtec.com>
4368
4369 * config/mips/mips16.S: Set .module when supported. Update O32
4370 FP64 calling convention and use for FPXX when possible. Add FPXX
4371 calling convention fallback case.
4372
738f2522
BS
43732014-11-06 Bernd Schmidt <bernds@codesourcery.com>
4374
4375 * config.host: Handle nvptx-*-*.
4376 * shared-object.mk (as-flags-$o): Define.
4377 ($(base)$(objext), $(base)_s$(objext)): Use it instead of
4378 -xassembler-with-cpp.
4379 * static-object.mk: Identical changes.
4380 * config/nvptx/t-nvptx: New file.
4381 * config/nvptx/crt0.s: New file.
4382 * config/nvptx/free.asm: New file.
4383 * config/nvptx/malloc.asm: New file.
4384 * config/nvptx/realloc.c: New file.
4385
e610393c
JM
43862014-10-30 Joseph Myers <joseph@codesourcery.com>
4387
4388 * Makefile.in (libgcc.map.in): New target.
4389 (libgcc.map): Use libgcc.map.in.
4390 * config/t-softfp (softfp_compat): New variable to be set by
4391 users.
4392 [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
4393 variables.
4394 [$(softfp_compat) = y] (softfp_file_list): Use files in the build
4395 directory.
4396 [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
4397 that use compat symbols and disable all code unless [SHARED].
4398 * config/t-softfp-compat: New file.
4399 * find-symver.awk: New file.
4400 * configure.ac (--with-glibc-version): New configure option.
4401 (ppc_fp_compat): New variable set for powerpc*-*-linux*.
4402 * configure: Regenerate.
4403 * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
4404 soft-float and e500.
4405
bc1b3a88
JM
44062014-10-29 Joseph Myers <joseph@codesourcery.com>
4407
4408 * config/t-hardfp (hardfp_exclusions): Document new variable for
4409 user to define.
4410 (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
4411 * config/t-softfp (softfp_extras): Document new variable for user
4412 to define.
4413 (softfp_func_list): Add functions from $(softfp_extras).
4414 * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
4415 * config.host (powerpc*-*-linux*): For e500v1, use
4416 rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
4417 t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
4418 and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
4419
ef2810c1
JDA
44202014-10-26 John David Anglin <danglin@gcc.gnu.org>
4421
4422 * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
4423 (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
4424 memory read accesses are ok.
4425
d80c2bea
JM
44262014-10-25 Joseph Myers <joseph@codesourcery.com>
4427
4428 * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
4429 * configure: Regenerate.
4430 * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
4431 additions to tmake_file. Use t-hardfp-sfdf and t-hardfp instead
4432 of soft-fp for 32-bit classic hard float. Do not use
4433 t-softfp-excl for soft float.
4434
693b297b
JM
44352014-10-22 Joseph Myers <joseph@codesourcery.com>
4436
4437 * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
4438 configurations.
4439 * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
4440 Remove variables.
4441
18a3415e
GJL
44422014-10-22 Georg-Johann Lay <avr@gjlay.de>
4443
4444 * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
4445 introduced with 2014-10-21 trunk r216525.
4446
c1dd9790 44472014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
7d296953
JJ
4448 Vidya Praveen <vidya.praveen@atmel.com>
4449 Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
4450 Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
4451 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
c1dd9790
JR
4452
4453 * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
4454 order.
4455
4456 Updated library functions for AVRTINY arch.
4457 * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
4458 Replaced occurrences of r0/r1 with tmp/zero reg macros.
4459 Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
4460 or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
4461 wsubi/wadi macors.
4462 (__mulsi3_helper): Update stack, preserve callee saved regs and
4463 argument from stack. Restore callee save registers.
4464 (__mulpsi3): Likewise.
4465 (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
4466 __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
18a3415e 4467 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
c1dd9790
JR
4468 AVRTINY.
4469 (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
4470 (__do_copy_data): Added new definition for AVRTINY.
4471 (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
4472 (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
4473 __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
4474 * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
4475 tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
4476 macors.
18a3415e 4477 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
c1dd9790
JR
4478 AVRTINY.
4479
18a3415e 4480 Fix broken long multiplication on tiny arch.
c1dd9790 4481
5f606431
JM
44822014-10-09 Joseph Myers <joseph@codesourcery.com>
4483
4484 * soft-fp/double.h: Update from glibc.
4485 * soft-fp/eqdf2.c: Likewise.
4486 * soft-fp/eqsf2.c: Likewise.
4487 * soft-fp/eqtf2.c: Likewise.
4488 * soft-fp/extenddftf2.c: Likewise.
4489 * soft-fp/extended.h: Likewise.
4490 * soft-fp/extendsfdf2.c: Likewise.
4491 * soft-fp/extendsftf2.c: Likewise.
4492 * soft-fp/extendxftf2.c: Likewise.
4493 * soft-fp/gedf2.c: Likewise.
4494 * soft-fp/gesf2.c: Likewise.
4495 * soft-fp/getf2.c: Likewise.
4496 * soft-fp/ledf2.c: Likewise.
4497 * soft-fp/lesf2.c: Likewise.
4498 * soft-fp/letf2.c: Likewise.
4499 * soft-fp/op-1.h: Likewise.
4500 * soft-fp/op-2.h: Likewise.
4501 * soft-fp/op-4.h: Likewise.
4502 * soft-fp/op-8.h: Likewise.
4503 * soft-fp/op-common.h: Likewise.
4504 * soft-fp/quad.h: Likewise.
4505 * soft-fp/single.h: Likewise.
4506 * soft-fp/soft-fp.h: Likewise.
4507 * soft-fp/unorddf2.c: Likewise.
4508 * soft-fp/unordsf2.c: Likewise.
4509 * soft-fp/unordtf2.c: Likewise.
4510 * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
4511 * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
4512 * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
4513 * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
4514 * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
4515 * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
4516 * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
4517 * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
4518 * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
4519 * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
4520
9b84e7a8
RX
45212014-10-08 Rong Xu <xur@google.com>
4522
4523 * libgcov-util.c (read_gcda_file): Fix format.
4524 (find_match_gcov_info): Ditto.
4525 (calculate_2_entries): New.
4526 (compute_one_gcov): Ditto.
4527 (gcov_info_count_all_cold): Ditto.
4528 (gcov_info_count_all_zero): Ditto.
4529 (extract_file_basename): Ditto.
4530 (get_file_basename): Ditto.
4531 (set_flag): Ditto.
4532 (matched_gcov_info): Ditto.
4533 (calculate_overlap): Ditto.
4534 (gcov_profile_overlap): Ditto.
4535 * libgcov-driver.c (compute_summary): Make
4536 it avavilable for external calls.
4537
fe1090c1
RX
45382014-10-06 Rong Xu <xur@google.com>
4539
4540 * Makefile.in: Ditto.
4541 * libgcov-driver.c (gcov_sort_n_vals): New utility function.
4542 (gcov_sort_icall_topn_counter): Ditto.
4543 (gcov_sort_topn_counter_arrays): Ditto.
4544 (dump_one_gcov): Sort indirect_call topn counters.
4545 * libgcov-merge.c (__gcov_merge_icall_topn): New merge
4546 function.
4547 * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
4548 utility function.
4549 (__gcov_indirect_call_topn_profiler): New profiler function.
4550 * libgcov-util.c (__gcov_icall_topn_counter_op): New.
4551 * libgcov.h: New decls.
4552
3daa7bbf
TS
45532014-10-04 Trevor Saunders <tsaunders@mozilla.com>
4554
4555 * config.host: Remove support for score-*.
4556
9a79452d
JM
45572014-09-22 Joseph Myers <joseph@codesourcery.com>
4558
4559 * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
4560 (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
4561 (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
4562 __LIBGCC_XF_MANT_DIG__.
4563 (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
4564 (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
4565 __LIBGCC_TF_MANT_DIG__.
4566 * libgcc2.c (NOTRUNC): Define in terms of
4567 __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
4568 * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
4569
1a849e50
JM
45702014-09-22 Joseph Myers <joseph@codesourcery.com>
4571
4572 PR target/63312
4573 * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
4574 New macros.
4575
598a1586
HPN
45762014-09-22 Hans-Peter Nilsson <hp@axis.com>
4577
4578 * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
4579 override USE_PT_GNU_EH_FRAME.
4580 [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
4581 check USE_EH_FRAME_REGISTRY_ALWAYS against
4582 __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
4583 * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
4584 variable for substituted force_explicit_eh_registry.
4585 (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
4586 * configure.ac (explicit-exception-frame-registration):
4587 New AC_ARG_ENABLE.
4588 * configure: Regenerate.
4589
3a8fe7c6
OH
45902014-09-19 Olivier Hainque <hainque@adacore.com>
4591
4592 * config.host (powerpc-wrs-vxworksmils): New configuration,
4593 same as vxworksae.
4594
dd69f047
JM
45952014-09-18 Joseph Myers <joseph@codesourcery.com>
4596
4597 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
4598
e770bfd9
JM
45992014-09-18 Joseph Myers <joseph@codesourcery.com>
4600
4601 * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
4602 bits not set bits as indicating trapping exceptions.
4603
cadb2b96
NS
46042014-09-17 Nathan sidwell <nathan@acm.org>
4605
4606 * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
4607 (LIBGCOV_DRIVER): ... here.
4608 * libgcov-driver.c (gcov_master): New.
4609 (gcov_exit): Remove from master chain.
4610 (__gcov_init): Add to master chain if version compatible. Don't
4611 clear the version.
4612 * libgcov_interface (__gcov_flust): Call gcov_dump_int.
4613 (gcov_reset_int): Clear master chain, if compatible.
4614 (gcov_dump_int): New internal interface. Dump master chain, if
4615 compatible.
4616 (gcov_dump): Alias for gcov_dump_int.
4617 * libgcov.h (struct gcov_root): Add next and prev fields.
4618 (struct gcov_master): New struct.
4619 (__gcov_master): New.
4620 (gcov_dump_int): Declare.
4621
580d22a3
OH
46222014-09-17 Olivier Hainque <hainque@adacore.com>
4623
4624 * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
4625 and crtbegin.o + crtend.o to extra_parts.
4626
8cc4b7a2
JM
46272014-09-12 Joseph Myers <joseph@codesourcery.com>
4628
4629 * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
4630 __LIBGCC_HAS_SF_MODE__.
4631 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
4632 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
4633 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
4634 * config/libbid/bid_gcc_intrinsics.h
4635 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
4636 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
4637 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
4638 * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
4639 (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
4640 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
4641
ea3f2b24
GJL
46422014-09-11 Georg-Johann Lay <avr@gjlay.de>
4643
4644 PR target/63223
4645 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
4646 and R24 as needed. Make work for all devices and .text locations.
4647 (__do_global_ctors, __do_global_dtors): Use word addresses.
4648 (__tablejump__, __tablejump_elpm__): Remove functions.
4649 * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
4650 Add _tablejump2.
4651 (XICALL, XIJMP): New macros.
4652
b677236a
MS
46532014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
4654 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
4655
4656 * config.host (aarch64*): Include crtfastmath.o and
4657 t-crtfm.
4658 * config/aarch64/crtfastmath.c: New file.
4659
157e859f
TS
46602014-09-08 Trevor Saunders <tsaunders@mozilla.com>
4661
4662 * config.host: Remove picochip support.
4663 * config/picochip/adddi3.S: Remove.
4664 * config/picochip/ashlsi3.S: Remove.
4665 * config/picochip/ashlsi3.c: Remove.
4666 * config/picochip/ashrsi3.S: Remove.
4667 * config/picochip/ashrsi3.c: Remove.
4668 * config/picochip/clzsi2.S: Remove.
4669 * config/picochip/cmpsi2.S: Remove.
4670 * config/picochip/divmod15.S: Remove.
4671 * config/picochip/divmodhi4.S: Remove.
4672 * config/picochip/divmodsi4.S: Remove.
4673 * config/picochip/lib1funcs.S: Remove.
4674 * config/picochip/longjmp.S: Remove.
4675 * config/picochip/lshrsi3.S: Remove.
4676 * config/picochip/lshrsi3.c: Remove.
4677 * config/picochip/parityhi2.S: Remove.
4678 * config/picochip/popcounthi2.S: Remove.
4679 * config/picochip/setjmp.S: Remove.
4680 * config/picochip/subdi3.S: Remove.
4681 * config/picochip/t-picochip: Remove.
4682 * config/picochip/ucmpsi2.S: Remove.
4683 * config/picochip/udivmodhi4.S: Remove.
4684 * config/picochip/udivmodsi4.S: Remove.
4685
66bb34c0
JM
46862014-09-08 Joseph Myers <joseph@codesourcery.com>
4687
4688 * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
4689 (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
4690 (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
4691 (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
4692 * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
4693 error if not defined and LIBGCC2_HAS_SF_MODE is defined.
4694 (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
4695 defined and LIBGCC2_HAS_DF_MODE is defined.
4696 (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
4697 defined and LIBGCC2_HAS_XF_MODE is defined.
4698 (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
4699 defined and LIBGCC2_HAS_TF_MODE is defined.
4700
9686a2e6
JM
47012014-09-08 Joseph Myers <joseph@codesourcery.com>
4702
4703 * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
4704 and ROUND_TOWARDS_ZERO conditionals.
4705
71c3e2ef
NS
47062014-09-07 Nathan sidwell <nathan@acm.org>
4707
4708 * libgcov-interface.c (STRONG_ALIAS): Rename to ...
4709 (ALIAS_weak): ... here. Use forwarding function. Adjust uses.
4710
53d68b9f
JM
47112014-09-05 Joseph Myers <joseph@codesourcery.com>
4712
4713 * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
4714 * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
4715 uses to __LIBGCC_STACK_POINTER_REGNUM__.
4716 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
4717 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4718 * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
4719 Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4720 * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
4721 uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
4722 (DWARF_FRAME_REGISTERS): Change all uses to
4723 __LIBGCC_DWARF_FRAME_REGISTERS__.
4724 (EH_RETURN_STACKADJ_RTX): Change all uses to
4725 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
4726 * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
4727 __LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
4728 * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
4729 use to __LIBGCC_EH_FRAME_SECTION_NAME__.
4730 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
4731 * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
4732 to __LIBGCC_EH_FRAME_SECTION_NAME__.
4733 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
4734 * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
4735 __LIBGCC_STACK_POINTER_REGNUM__.
4736 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
4737 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4738 * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
4739 to __LIBGCC_STACK_POINTER_REGNUM__.
4740 * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
4741 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4742 * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
4743 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4744 * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
4745 Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4746 (STACK_POINTER_REGNUM): Change all uses to
4747 __LIBGCC_STACK_POINTER_REGNUM__.
4748 * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
4749 use to __LIBGCC_STACK_POINTER_REGNUM__.
4750 * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
4751 uses to __LIBGCC_STACK_POINTER_REGNUM__.
4752 * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
4753 to __LIBGCC_DWARF_FRAME_REGISTERS__.
4754 * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
4755 to __LIBGCC_DWARF_FRAME_REGISTERS__.
4756 * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
4757 to __LIBGCC_STACK_POINTER_REGNUM__.
4758 * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
4759 Remove conditional definition.
4760 * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
4761 __LIBGCC_TEXT_SECTION_ASM_OP__.
4762 (EH_FRAME_SECTION_NAME): Change all uses to
4763 __LIBGCC_EH_FRAME_SECTION_NAME__.
4764 (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
4765 __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
4766 (CTORS_SECTION_ASM_OP): Change all uses to
4767 __LIBGCC_CTORS_SECTION_ASM_OP__.
4768 (DTORS_SECTION_ASM_OP): Change all uses to
4769 __LIBGCC_DTORS_SECTION_ASM_OP__.
4770 (JCR_SECTION_NAME): Change all uses to
4771 __LIBGCC_JCR_SECTION_NAME__.
4772 (INIT_SECTION_ASM_OP): Change all uses to
4773 __LIBGCC_INIT_SECTION_ASM_OP__.
4774 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
4775 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
4776 * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
4777 __LIBGCC_STACK_GROWS_DOWNWARD__.
4778 * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
4779 __LIBGCC_INIT_SECTION_ASM_OP__.
4780 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
4781 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
4782 (EH_FRAME_SECTION_NAME): Change all uses to
4783 __LIBGCC_EH_FRAME_SECTION_NAME__.
4784 * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
4785 definitions. Change all uses to
4786 __LIBGCC_VTABLE_USES_DESCRIPTORS__.
4787 * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
4788 __LIBGCC_STACK_GROWS_DOWNWARD__.
4789 (DWARF_FRAME_REGISTERS): Change all uses to
4790 __LIBGCC_DWARF_FRAME_REGISTERS__.
4791 (EH_RETURN_STACKADJ_RTX): Change all uses to
4792 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
4793 * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
4794 definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
4795 * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
4796 __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
4797 (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
4798
b20ee094
NS
47992014-09-02 Nathan sidwell <nathan@acm.org>
4800
4801 * libgcov-interface.c (STRONG_ALIAS): New.
4802 (__gcov_flush): Call __gcov_reset_int.
4803 (__gcov_reset): Strong alias for ...
4804 (__gcov_reset_ing): ... this renamed hidden version.
4805 * libgcov.h (__gcov_reset_int): New declaration.
4806
1ac83976
YS
48072014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
4808
25efdb9f
YS
4809 * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
4810 call from here...
4811 * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
4812 (__dso_handle): Define on Cygwin.
4813 * config/i386/t-cygming (crtbeginS.o): New rule.
4814 * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
4815
1ac83976
YS
4816 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
4817 declaration syntax.
4818
c6f9ea3b
SE
48192014-08-13 Steve Ellcey <sellcey@mips.com>
4820
4821 * crtstuff.c: Undef caddr_t.
4822
5b1ea7c5
SE
48232014-08-12 Steve Ellcey <sellcey@mips.com>
4824
4825 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
4826
4303c581
NS
48272014-08-07 Nathan Sidwell <nathan@acm.org>
4828
4829 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
4830 (LIBGCOV_DRIVER): ... to here.
4831 * libgcov.h (gcov_do_dump): New #define.
4832 (struct gcov_root): New.
4833 (__gcov_root): New declaration.
4834 (__gcov_dump_one): Declare.
4835 * libgcov-driver.c (gcov_list, gcov_dump_complete,
4836 run_accounted): Delete.
4837 (gcov_compute_histogram): Add LIST argument, adjust.
4838 (compute_summary): Adjust gcov_compute_histogram call.
4839 (gcov_do_dump): Not hidden, static in libgcov.
4840 (gcov_clear): Move to interface.c.
4841 (__gcov_dump_one): New, broken out of ...
4842 (gcov_exit): ... here. Make static.
4843 (__gcov_root): New.
4844 (__gcov_init): Adjust.
4845 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
4846 declarations.
4847 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
4848 (gcov_clear): Moved from driver.c. Add LIST argument.
4849 (__gcov_reset): Adjust for changed interfaces.
4850 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
4851
23742a9e
RAR
48522014-08-04 Rohit <rohitarulraj@freescale.com>
4853
4854 PR target/60102
4855 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
d406ae47 4856 based on change in SPE high register numbers and 3 HTM registers.
23742a9e 4857
b98a872b
NS
48582014-08-01 Nathan Sidwell <nathan@acm.org>
4859
4860 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
4861 LIBGCOV_INTERFACE): Reformat.
4862 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
4863 IN_GCOV_TOOL.
4864 * libgcov-interface.c: Reformat some comments.
4865 (__gcov_flush_mx): Add declaration. Tidy up definition.
4866
6adaaa1d
AM
48672014-07-31 Alan Modra <amodra@gmail.com>
4868 Peter Bergner <bergner@vnet.ibm.com>
4869
4870 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
4871 (pack_ldouble): New function.
4872 (__gcc_qadd): Use it.
4873 (__gcc_qmul): Likewise.
4874 (__gcc_qdiv): Likewise.
4875 (__gcc_qneg): Likewise.
4876 (__gcc_stoq): Likewise.
4877 (__gcc_dtoq): Likewise.
4878
87cb0c0c
UW
48792014-07-30 J. D. Johnston <jjohnst@us.ibm.com>
4880
4881 * config/s390/tpf-unwind.h: Include <stdbool.h>.
4882 (__tpf_eh_return): Add original return address as second parameter.
4883 Handle cases where unwinder routines were called directly, instead
4884 of from within the C++ library.
4885
19926161
NS
48862014-07-29 Nathan Sidwell <nathan@acm.org>
4887
4888 * libgcov.h: Move renaming of entry points to lib gcov specific
4889 portion.
4890 (gcov_do_dump): New rename.
4891 (gcov_rewrite): Remove inline, make HIDDEN.
4892 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
4893 (gcov_exit_compute_summary): Rename to ...
4894 (compute_summary): ... here. Add LIST argument.
4895 (gcov_exit_merge_gcda): Rename to ...
4896 (merge_one_data): ... here.
4897 (gcov_exit_write_gcda): Rename to ...
4898 (write_one_data): ... here.
4899 (gcov_exit_merge_summary): Rename to ...
4900 (merge_summary): Add RUN_COUNTED argument.
4901 (gcov_exit_dump_gcov): Rename to ...
4902 (dump_one_gcov): Add RUN_COUNTED argument.
4903 (gcov_do_dump): New function, broken out of ...
4904 (gcov_exit): ... here. Call it.
4905
17522262
AG
49062014-07-27 Anthony Green <green@moxielogic.com>
4907
4908 * config.host: Add moxiebox configuration suppport.
4909
6dc33097
NS
49102014-07-27 Nathan Sidwell <nathan@acm.org>
4911
4912 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
4913 (struct gcov_filename): ... here. Include buffer and max length
4914 fields.
4915 (gcov_max_filename): Remove.
4916 (gi_filename): Remove.
4917 (gcov_exit_compute_summary): Compute max filename here.
4918 (gcov_exit_merge_gcda): Add filename parm, adjust.
4919 (gcov_exit_merge_summary): Likewise.
4920 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
4921 (gcov_exit): Likewise.
4922 (__gcov_init): Don't calculate max length here.
4923 * libgcov_util.c (max_filename_len): Remove.
4924 (read_gcda_file): Don't calculate max length here.
4925 (gcov_read_profile_dir): Don't propagate here.
4926 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
4927 struct gcov_filename changes.
4928 (gcov_exit_open_gcda_file): Likewise.
4929
770f687d
NS
49302014-07-25 Nathan Sidwell <nathan@acm.org>
4931
4932 * libgcov-driver.c (set_gcov_dump_complete,
4933 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
4934 functions polluting user's namespace.
4935 (gcov_exit): Set variable directly.
4936 (gcov_clear): Reset variable directly.
4937 * libgcov-interface.c (get_gcov_dymp_complete,
4938 reset_gov_dump_complete): Remove declarations.
4939 (__gcov_reset, __gcov_dump): Don't call them.
4940
fabf71ba
DD
49412014-07-24 DJ Delorie <dj@redhat.com>
4942
4943 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
770f687d
NS
4944 (__gcc_deregister_frame): Move logic to detect deregister function
4945 to ...
4946 (__gcc_register_frame): here, so it's consistent with the register
4947 logic.
fabf71ba 4948
d10ee722
NS
49492014-07-23 Nathan Sidwell <nathan@acm.org>
4950
4951 * libgcov-driver.c (set_gcov_list): Remove.
4952 (gcov_list): Make non-static in GCOV_TOOL.
4953 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
4954
a4137090
JDA
49552014-07-17 John David Anglin <danglin@gcc.gnu.org>
4956
4957 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
4958 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
4959 Don't use SYNC_LOCK_RELEASE for int type.
4960
72602c6c
RB
49612014-07-14 Richard Biener <rguenther@suse.de>
4962
4963 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
4964
d5313205
RX
49652014-07-11 Rong Xu <xur@google.com>
4966
4967 * libgcov-util.c (gcov_max_filename): Fix declartion.
4968
c77556a5
RX
49692014-07-10 Rong Xu <xur@google.com>
4970
4971 Add gcov-tool: an offline gcda profile processing tool
4972 Support.
4973 * libgcov-driver.c (gcov_max_filename): Make available
4974 to gcov-tool.
4975 * libgcov-merge.c (__gcov_merge_add): Replace
4976 gcov_read_counter() with a Macro.
4977 (__gcov_merge_ior): Ditto.
4978 (__gcov_merge_time_profile): Ditto.
4979 (__gcov_merge_single): Ditto.
4980 (__gcov_merge_delta): Ditto.
4981 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
4982 in the utility functions.
4983 (set_fn_ctrs): Utility function for reading gcda files to in-memory
4984 gcov_list object link lists.
4985 (tag_function): Ditto.
4986 (tag_blocks): Ditto.
4987 (tag_arcs): Ditto.
4988 (tag_lines): Ditto.
4989 (tag_counters): Ditto.
4990 (tag_summary): Ditto.
4991 (read_gcda_finalize): Ditto.
4992 (read_gcda_file): Ditto.
4993 (ftw_read_file): Ditto.
4994 (read_profile_dir_init): Ditto.
4995 (gcov_read_profile_dir): Ditto.
4996 (gcov_read_counter_mem): Ditto.
4997 (gcov_get_merge_weight): Ditto.
4998 (merge_wrapper): A wrapper function that calls merging handler.
4999 (gcov_merge): Merge two gcov_info objects with weights.
5000 (find_match_gcov_info): Find the matched gcov_info in the list.
5001 (gcov_profile_merge): Merge two gcov_info object lists.
5002 (__gcov_add_counter_op): Process edge profile counter values.
5003 (__gcov_ior_counter_op): Process IOR profile counter values.
5004 (__gcov_delta_counter_op): Process delta profile counter values.
5005 (__gcov_single_counter_op): Process single profile counter values.
5006 (fp_scale): Callback function for float-point scaling.
cc86234f 5007 (int_scale): Callback function for integer fraction scaling.
c77556a5
RX
5008 (gcov_profile_scale): Scaling profile counters.
5009 (gcov_profile_normalize): Normalize profile counters.
5010 * libgcov.h: Add headers and functions for gcov-tool use.
5011 (gcov_get_counter): New.
5012 (gcov_get_counter_target): Ditto.
5013 (struct gcov_info): Make the functions field mutable in gcov-tool
5014 compilation.
5015
5c7dac8a
KT
50162014-06-23 Kai Tietz <ktietz@redhat.com>
5017
5018 PR libgcc/61585
5019 * unwind-seh.c (_Unwind_GetGR): Check for proper
5020 index range.
5021 (_Unwind_SetGR): Likewise.
5022
161c9312
NC
50232014-05-22 Nick Clifton <nickc@redhat.com>
5024
5025 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
5026 -mhwmult=none.
5027
e3f0315f
TJ
50282014-05-22 Teresa Johnson <tejohnson@google.com>
5029
5030 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
5031 include.
5032
dbed5a9b
JM
50332014-05-20 John Marino <gnugcc@marino.st>
5034
5035 * config.host (*-*-dragonfly*): New target.
5036 * crtstuff.c: Make dl_iterate_support generic on *bsd.
5037 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
5038 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
5039 * config/i386/dragonfly-unwind.h: New.
5040
1ec380e5
MR
50412014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
5042
5043 PR libgcc/60166
5044 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
5045 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
5046
54fde020
BE
50472014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
5048
5049 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
5050 implementation.
5051
999db125
GJL
50522014-05-12 Georg-Johann Lay <avr@gjlay.de>
5053
5054 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
5055
cceaf54a
RO
50562014-05-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5057
5058 PR libgcc/61097
5059 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
5060 if --enable-shared.
5061
e3fe9b5b
BE
50622014-04-30 Bernd Edlinger <bernd.edlinger@hotmail.de>
5063
5064 Work around for current cygwin32 build problems.
5065 * config/i386/cygming-crtbegin.c (__register_frame_info,
5066 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
5067 functions only for 64-bit systems.
5068
54cf37e9
RO
50692014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5070
5071 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
5072 (sigill_caught, sigill_hdlr): Remove.
5073
d9f069ab
RO
50742014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5075
5076 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
5077 check.
5078 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
5079 Solaris 9 single-threaded support.
5080 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
5081 Solaris 9 single-threaded support. Add call_user_handler code
5082 sequences.
5083 (sparc_is_sighandler): Likewise.
5084
59976ef8
AK
50852014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5086
5087 * config.host: Append t-floattodi to tmake_file depending on
5088 host_address.
5089
d02bbcf3
JS
50902014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
5091
31466bc0 5092 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
d02bbcf3 5093
c2e7e597
UB
50942014-03-10 Uros Bizjak <ubizjak@gmail.com>
5095
5096 PR libgcc/60472
5097 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
2405e0ea 5098 variable to avoid "array subscript is above array bounds" warnings.
c2e7e597
UB
5099 Use __builtin_expect when checking *jcr_list for NULL.
5100
227a7dc8
RO
51012014-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5102
5103 PR libgcc/59339
5104 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
5105 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
5106 vtv_*.o to extra_parts if enable_vtable_verify.
5107
df2b279c
NC
51082014-03-06 Nick Clifton <nickc@redhat.com>
5109
5110 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
5111 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
5112
dc11d79b
JY
51132014-02-28 Joey Ye <joey.ye@arm.com>
5114
5115 PR libgcc/60166
5116 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
5117 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
5118 Set to zero.
5119
341c653c
WL
51202014-02-24 Walter Lee <walt@tilera.com>
5121
5122 * config.host: Support "tilegx*" and "tilepro*" triplets.
5123 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
5124 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
5125
95ce7613
CLT
51262014-02-20 Sandra Loosemore <sandra@codesourcery.com>
5127 Chung-Lin Tang <cltang@codesourcery.com>
5128
5129 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
5130 * config/nios2/crti.S: Remove .file directive.
5131 * config/nios2/crtn.S: Likewise.
5132
0bb4fc05
KT
51332014-02-18 Kai Tietz <ktietz@redhat.com>
5134 Jonathan Schleifer <js@webkeks.org>
5135
5136 PR objc/56870
5137 * unwind-seh.c (_GCC_specific_handler): Pass proper
5138 value to unwind-handler.
5139
9acf28f1
JM
51402014-02-12 Joseph Myers <joseph@codesourcery.com>
5141
5142 * soft-fp/adddf3.c: Update from glibc.
5143 * soft-fp/addsf3.c: Likewise.
5144 * soft-fp/addtf3.c: Likewise.
5145 * soft-fp/divdf3.c: Likewise.
5146 * soft-fp/divsf3.c: Likewise.
5147 * soft-fp/divtf3.c: Likewise.
5148 * soft-fp/double.h: Likewise.
5149 * soft-fp/eqdf2.c: Likewise.
5150 * soft-fp/eqsf2.c: Likewise.
5151 * soft-fp/eqtf2.c: Likewise.
5152 * soft-fp/extenddftf2.c: Likewise.
5153 * soft-fp/extended.h: Likewise.
5154 * soft-fp/extendsfdf2.c: Likewise.
5155 * soft-fp/extendsftf2.c: Likewise.
5156 * soft-fp/extendxftf2.c: Likewise.
5157 * soft-fp/fixdfdi.c: Likewise.
5158 * soft-fp/fixdfsi.c: Likewise.
5159 * soft-fp/fixdfti.c: Likewise.
5160 * soft-fp/fixsfdi.c: Likewise.
5161 * soft-fp/fixsfsi.c: Likewise.
5162 * soft-fp/fixsfti.c: Likewise.
5163 * soft-fp/fixtfdi.c: Likewise.
5164 * soft-fp/fixtfsi.c: Likewise.
5165 * soft-fp/fixtfti.c: Likewise.
5166 * soft-fp/fixunsdfdi.c: Likewise.
5167 * soft-fp/fixunsdfsi.c: Likewise.
5168 * soft-fp/fixunsdfti.c: Likewise.
5169 * soft-fp/fixunssfdi.c: Likewise.
5170 * soft-fp/fixunssfsi.c: Likewise.
5171 * soft-fp/fixunssfti.c: Likewise.
5172 * soft-fp/fixunstfdi.c: Likewise.
5173 * soft-fp/fixunstfsi.c: Likewise.
5174 * soft-fp/fixunstfti.c: Likewise.
5175 * soft-fp/floatdidf.c: Likewise.
5176 * soft-fp/floatdisf.c: Likewise.
5177 * soft-fp/floatditf.c: Likewise.
5178 * soft-fp/floatsidf.c: Likewise.
5179 * soft-fp/floatsisf.c: Likewise.
5180 * soft-fp/floatsitf.c: Likewise.
5181 * soft-fp/floattidf.c: Likewise.
5182 * soft-fp/floattisf.c: Likewise.
5183 * soft-fp/floattitf.c: Likewise.
5184 * soft-fp/floatundidf.c: Likewise.
5185 * soft-fp/floatundisf.c: Likewise.
5186 * soft-fp/floatunditf.c: Likewise.
5187 * soft-fp/floatunsidf.c: Likewise.
5188 * soft-fp/floatunsisf.c: Likewise.
5189 * soft-fp/floatunsitf.c: Likewise.
5190 * soft-fp/floatuntidf.c: Likewise.
5191 * soft-fp/floatuntisf.c: Likewise.
5192 * soft-fp/floatuntitf.c: Likewise.
5193 * soft-fp/gedf2.c: Likewise.
5194 * soft-fp/gesf2.c: Likewise.
5195 * soft-fp/getf2.c: Likewise.
5196 * soft-fp/ledf2.c: Likewise.
5197 * soft-fp/lesf2.c: Likewise.
5198 * soft-fp/letf2.c: Likewise.
5199 * soft-fp/muldf3.c: Likewise.
5200 * soft-fp/mulsf3.c: Likewise.
5201 * soft-fp/multf3.c: Likewise.
5202 * soft-fp/negdf2.c: Likewise.
5203 * soft-fp/negsf2.c: Likewise.
5204 * soft-fp/negtf2.c: Likewise.
5205 * soft-fp/op-1.h: Likewise.
5206 * soft-fp/op-2.h: Likewise.
5207 * soft-fp/op-4.h: Likewise.
5208 * soft-fp/op-8.h: Likewise.
5209 * soft-fp/op-common.h: Likewise.
5210 * soft-fp/quad.h: Likewise.
5211 * soft-fp/single.h: Likewise.
5212 * soft-fp/soft-fp.h: Likewise.
5213 * soft-fp/subdf3.c: Likewise.
5214 * soft-fp/subsf3.c: Likewise.
5215 * soft-fp/subtf3.c: Likewise.
5216 * soft-fp/truncdfsf2.c: Likewise.
5217 * soft-fp/trunctfdf2.c: Likewise.
5218 * soft-fp/trunctfsf2.c: Likewise.
5219 * soft-fp/trunctfxf2.c: Likewise.
5220 * soft-fp/unorddf2.c: Likewise.
5221 * soft-fp/unordsf2.c: Likewise.
5222 * soft-fp/unordtf2.c: Likewise.
5223 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
5224 macro.
5225 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5226 Likewise.
5227 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5228 Likewise.
5229 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5230 Likewise.
5231 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5232 Likewise.
5233 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5234 Likewise.
5235 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5236 Likewise.
5237 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5238 Likewise.
5239 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5240 Likewise.
5241 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5242 Likewise.
5243 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5244 Likewise.
5245 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5246 Likewise.
5247 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5248 Likewise.
5249 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
5250 Likewise.
5251 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
5252 Likewise.
5253 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5254 Likewise.
5255
ce245ec6
AK
52562014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5257
5258 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
5259 cannot be represented.
5260 * config/s390/32/_fixsfdi.c: Likewise.
5261 * config/s390/32/_fixtfdi.c: Likewise.
5262 * config/s390/32/_fixunsdfdi.c: Likewise.
5263 * config/s390/32/_fixunssfdi.c: Likewise.
5264 * config/s390/32/_fixunstfdi.c: Likewise.
5265
1c51d688
RS
52662014-02-07 Richard Sandiford <rdsandiford@googlemail.com>
5267
5268 * configure.ac (libgcc_cv_mips_hard_float): New.
5269 * configure: Regenerate.
5270 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
5271 t-softfp-sfdf for hard-float targets.
5272 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
5273 (softfp_float_modes, softfp_int_modes, softfp_extensions)
5274 (softfp_truncations, softfp_exclude_libgcc2): New.
5275 * config/t-hardfp: New file.
5276 * config/t-hardfp-sfdf: Likewise.
5277 * config/hardfp.c: Likewise.
5278
bbf391db
AK
52792014-02-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5280
5281 * config.host: Include t-floattodi also for s390x.
5282 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
5283 * config/s390/32/_fixsfdi.c: Likewise.
5284 * config/s390/32/_fixtfdi.c: Likewise.
5285 * config/s390/32/_fixunsdfdi.c: Likewise.
5286 * config/s390/32/_fixunssfdi.c: Likewise.
5287 * config/s390/32/_fixunstfdi.c: Likewise.
5288
91da0481
RO
52892014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5290
5291 PR target/59788
5292 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
5293 (install-libgcc-unwind-map-forbuild): New target.
5294 (all): Depend on install-libgcc-unwind-map-forbuild.
5295 (install-libgcc-unwind-map): New target.
5296 (install): Depend on install-libgcc-unwind-map.
5297
02b67731
SL
52982014-02-02 Sandra Loosemore <sandra@codesourcery.com>
5299
5300 * config/nios2/crti.S (_init): Initialize GOT pointer from
5301 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
5302
1ea0a651
RS
53032014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
5304
5305 * configure.ac: Check __mips64 when setting host_address.
5306 * configure: Regenerate.
5307 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
5308 mips/t-mips64 and t-softfp.
5309 (mips*-*-linux*): Don't add mips/t-tpbit.
5310 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
5311 (DPBIT, DPBIT_CFLAGS): Delete.
5312 * config/mips/sfp-machine.h: New file.
5313 * config/mips/t-mips64: Likewise.
5314 * config/mips/t-softfp-tf: Likewise.
5315 * config/mips/t-tpbit: Delete.
5316
f32b0061
MS
53172014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
5318
5319 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
5320 as long long.
5321
a5420aa4
WL
53222014-01-25 Walter Lee <walt@tilera.com>
5323
5324 * config/tilepro/atomic.c: Include tconfig.h. Don't include
5325 config.h or system.h.
5326 (bool) Define.
5327
24534912
WL
53282014-01-25 Walter Lee <walt@tilera.com>
5329
5330 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
5331 (post_atomic_barrier): Ditto.
5332 (__fetch_and_do): New macro.
5333 (__atomic_fetch_and_do): Use __fetch_and_do.
5334 (__sync_fetch_and_do): New macro.
5335 (__sync_fetch_and_add_4): New function.
5336 (__sync_fetch_and_sub_4): New function.
5337 (__sync_fetch_and_or_4): New function.
5338 (__sync_fetch_and_and_4): New function.
5339 (__sync_fetch_and_xor_4): New function.
5340 (__sync_fetch_and_nand_4): New function.
5341 (__sync_fetch_and_add_8): New function.
5342 (__sync_fetch_and_sub_8): New function.
5343 (__sync_fetch_and_or_8): New function.
5344 (__sync_fetch_and_and_8): New function.
5345 (__sync_fetch_and_xor_8): New function.
5346 (__sync_fetch_and_nand_8): New function.
5347 (__do_and_fetch): New macro.
5348 (__atomic_do_and_fetch): Use __do_and_fetch.
5349 (__sync_do_and_fetch): New macro.
5350 (__sync_add_and_fetch_4): New function.
5351 (__sync_sub_and_fetch_4): New function.
5352 (__sync_or_and_fetch_4): New function.
5353 (__sync_and_and_fetch_4): New function.
5354 (__sync_xor_and_fetch_4): New function.
5355 (__sync_nand_and_fetch_4): New function.
5356 (__sync_add_and_fetch_8): New function.
5357 (__sync_sub_and_fetch_8): New function.
5358 (__sync_or_and_fetch_8): New function.
5359 (__sync_and_and_fetch_8): New function.
5360 (__sync_xor_and_fetch_8): New function.
5361 (__sync_nand_and_fetch_8): New function.
5362 (__sync_exchange_methods): New macro.
5363 (__sync_val_compare_and_swap_4): New function.
5364 (__sync_bool_compare_and_swap_4): New function.
5365 (__sync_lock_test_and_test_4): New function.
5366 (__sync_val_compare_and_swap_8): New function.
5367 (__sync_bool_compare_and_swap_8): New function.
5368 (__sync_lock_test_and_test_8): New function.
5369 (__subword_cmpxchg_body): New macro.
5370 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
5371 (__atomic_compare_exchange_2): Ditto.
5372 (__sync_subword_cmpxchg): New macro.
5373 (__sync_val_compare_and_swap_1): New function.
5374 (__sync_bool_compare_and_swap_1): New function.
5375 (__sync_val_compare_and_swap_2): New function.
5376 (__sync_bool_compare_and_swap_2): New function.
5377 (__atomic_subword): Rename to ...
5378 (__subword): ... New name.
5379 (__atomic_subword_fetch): Use __subword.
5380 (__sync_subword_fetch): New macro.
5381 (__sync_fetch_and_add_1): New function.
5382 (__sync_fetch_and_sub_1): New function.
5383 (__sync_fetch_and_or_1): New function.
5384 (__sync_fetch_and_and_1): New function.
5385 (__sync_fetch_and_xor_1): New function.
5386 (__sync_fetch_and_nand_1): New function.
5387 (__sync_fetch_and_add_2): New function.
5388 (__sync_fetch_and_sub_2): New function.
5389 (__sync_fetch_and_or_2): New function.
5390 (__sync_fetch_and_and_2): New function.
5391 (__sync_fetch_and_xor_2): New function.
5392 (__sync_fetch_and_nand_2): New function.
5393 (__sync_add_and_fetch_1): New function.
5394 (__sync_sub_and_fetch_1): New function.
5395 (__sync_or_and_fetch_1): New function.
5396 (__sync_and_and_fetch_1): New function.
5397 (__sync_xor_and_fetch_1): New function.
5398 (__sync_nand_and_fetch_1): New function.
5399 (__sync_add_and_fetch_2): New function.
5400 (__sync_sub_and_fetch_2): New function.
5401 (__sync_or_and_fetch_2): New function.
5402 (__sync_and_and_fetch_2): New function.
5403 (__sync_xor_and_fetch_2): New function.
5404 (__sync_nand_and_fetch_2): New function.
5405 (__atomic_subword_lock): Use __subword.
5406 (__sync_subword_lock): New macro.
5407 (__sync_lock_test_and_set_1): New function.
5408 (__sync_lock_test_and_set_2): New function.
5409
4d6d3bc5
WL
54102014-01-25 Walter Lee <walt@tilera.com>
5411
5412 * config/tilepro/atomic.c (BIT_OFFSET): Define.
5413 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
5414 (__atomic_subword): Ditto.
5415
cbd9890e
WL
54162014-01-25 Walter Lee <walt@tilera.com>
5417
5418 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
5419 a prefix op argument.
5420 (__atomic_nand_fetch_4): Add prefix op.
5421 (__atomic_nand_fetch_8): Ditto.
5422
7d296953 54232014-01-21 Baruch Siach <barch@tkos.co.il>
800d8bd5
BS
5424
5425 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
5426
46dd1242
L
54272014-01-09 Rong Xu <xur@google.com>
5428
5429 * libgcov-driver.c (this_prg): make it local to save
5430 bss space.
5431 (gcov_exit_compute_summary): Ditto.
5432 (gcov_exit_merge_gcda): Ditto.
5433 (gcov_exit_merge_summary): Ditto.
5434 (gcov_exit_dump_gcov): Ditto.
5435
cc86234f 54362014-01-08 Rong Xu <xur@google.com>
40d6b753
RX
5437
5438 * libgcov-driver.c: Use libgcov.h.
5439 (buffer_fn_data): Use xmalloc instead of malloc.
5440 (gcov_exit_merge_gcda): Ditto.
5441 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
5442 * libgcov.h: New common header files for libgcov-*.h.
5443 * libgcov-interface.c: Use libgcov.h
5444 * libgcov-merge.c: Ditto.
5445 * libgcov-profiler.c: Ditto.
5446 * Makefile.in: Add dependence to libgcov.h
5447
a02e7bdd
JM
54482014-01-02 Joseph Myers <joseph@codesourcery.com>
5449
5450 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
5451 case of small numerator and finite nonzero result.
5452
ac1dca3c
RS
54532014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
5454
5455 Update copyright years
5456
f9030485
RS
54572014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
5458
5459 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
5460 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
5461 config/arc/dp-hack.h, config/arc/fp-hack.h,
5462 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
5463 config/arc/ieee-754/arc600-dsp/divdf3.S,
5464 config/arc/ieee-754/arc600-dsp/divsf3.S,
5465 config/arc/ieee-754/arc600-dsp/muldf3.S,
5466 config/arc/ieee-754/arc600-dsp/mulsf3.S,
5467 config/arc/ieee-754/arc600-mul64/divdf3.S,
5468 config/arc/ieee-754/arc600-mul64/divsf3.S,
5469 config/arc/ieee-754/arc600-mul64/muldf3.S,
5470 config/arc/ieee-754/arc600-mul64/mulsf3.S,
5471 config/arc/ieee-754/arc600/divsf3.S,
5472 config/arc/ieee-754/arc600/mulsf3.S,
5473 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
5474 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
5475 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
5476 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
5477 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
5478 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
5479 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
5480 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
5481 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
5482 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
5483 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
5484 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
5485 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
5486 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
5487 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
5488 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
5489 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
5490 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
5491 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
5492 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
5493 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
5494 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
5495 vtv_start_preinit.c: Use the standard form for the copyright notice.
5496
e430824f
CLT
54972013-12-31 Sandra Loosemore <sandra@codesourcery.com>
5498 Chung-Lin Tang <cltang@codesourcery.com>
5499 Based on patches from Altera Corporation
5500
5501 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
5502 * config/nios2/lib2-nios2.h: New file.
5503 * config/nios2/lib2-divmod-hi.c: New file.
5504 * config/nios2/linux-unwind.h: New file.
5505 * config/nios2/lib2-divmod.c: New file.
5506 * config/nios2/linux-atomic.c: New file.
5507 * config/nios2/t-nios2: New file.
5508 * config/nios2/crti.asm: New file.
5509 * config/nios2/t-linux: New file.
5510 * config/nios2/lib2-divtable.c: New file.
5511 * config/nios2/lib2-mul.c: New file.
5512 * config/nios2/tramp.c: New file.
5513 * config/nios2/crtn.asm: New file.
5514
1879e97f
UB
55152013-12-26 Uros Bizjak <ubizjak@gmail.com>
5516
5517 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
5518 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
5519 from cpuid.h to check vendor signatures.
5520
f4a4bdbb
GG
55212013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
5522
c2e7e597 5523 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
f4a4bdbb
GG
5524 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
5525 (get_amd_cpu): Likewise.
5526
8d2ae544
L
55272013-12-25 H.J. Lu <hongjiu.lu@intel.com>
5528
5529 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
5530 Haswell.
5531
74924838
ASJ
55322013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
5533 H.J. Lu <hongjiu.lu@intel.com>
5534
0bb52f25
L
5535 PR target/59422
5536 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
74924838
ASJ
5537 and AMD_JAGUAR.
5538 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
5539 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
5540 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
5541 FEATURE_XOP and FEATURE_FMA.
5542 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
5543 AMDFAM15H_BDVER3.
5544 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
0bb52f25 5545 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
74924838
ASJ
5546 FEATURE_FMA4 and FEATURE_XOP.
5547
d3c11974
L
55482013-12-23 H.J. Lu <hongjiu.lu@intel.com>
5549
5550 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
5551 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
5552 (get_intel_cpu): Updated.
5553
064c4ff2
ZC
55542013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
5555
5556 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
5557
8b02e720
UB
55582013-12-09 Uros Bizjak <ubizjak@gmail.com>
5559
5560 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
1f71a3c3 5561 instructions when __SSE_MATH__ is defined.
8b02e720 5562
3fa2ccb4
RC
55632013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
5564
5565 * config.host (microblaze-*-rtems*): New.
5566
ecd78fc9
KV
55672013-12-04 Kugan Vivekanandarajah <kuganv@linaro.org>
5568
5569 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
5570 architectures that do not have hardware divide instruction.
5571 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
5572
b21fbbd2
RS
55732013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
5574
5575 * longlong.h: Delete (moved to include/).
5576
b03fb8c9
AZ
55772013-12-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5578
5579 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
5580 of normal number and qNaN to not raise an inexact exception.
5581
3c716922
UB
55822013-11-28 Uros Bizjak <ubizjak@gmail.com>
5583
5584 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
5585
55862013-11-28 Matthew Leach <matthew.leach@arm.com>
cceeb9a9
ML
5587
5588 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
5589 for correct opcodes on BE.
5590
a3458d22
UB
55912013-11-27 Uros Bizjak <ubizjak@gmail.com>
5592
5593 * soft-fp/op-4.h: Update from glibc.
5594
30b8f78b
KV
55952013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
5596
5597 * libgcc2.c (__udivmoddi4): Define new implementation when
5598 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
5599 divide instructions.
5600
82552a29
OE
56012013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
5602
5603 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
5604
80e87457
RO
56052013-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5606
5607 * config/t-softfp (soft-fp-objects-base): New variable.
5608 (soft-fp-objects): Use it.
5609
44178879
DE
56102013-11-23 David Edelson <dje.gcc@gmail.com>
5611 Andrew Dixie <andrewd@gentrack.com>
5612
5613 PR target/33704
5614 * config/rs6000/aixinitfini.c: New file.
5615 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
5616 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
5617 symbols.
5618
e5287671
YR
56192013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
5620
a3458d22 5621 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
e5287671 5622
867c8b03
JH
56232013-11-18 Jan Hubicka <jh@suse.cz>
5624
7f369373
JH
5625 * libgcov-driver.c (run_accounted): Make global level static.
5626 (gcov_exit_merge_summary): Silence warning; do not clear
5627 run_accounted here.
5628 (gcov_exit): Clear it here.
5629
1d0b3334
JH
5630 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
5631 run_accounted.
5632
867c8b03
JH
5633 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
5634 (all_prg, crc32): Remove static vars.
5635 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
5636 all_prg.
5637 (gcov_exit_merge_gcda): Add crc32 parameter.
5638 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
5639 do not account run if it was already accounted.
5640 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
5641 (gcov_exit): Initialize all_prg; update.
5642
66204992
AS
56432013-11-15 Andreas Schwab <schwab@linux-m68k.org>
5644
5645 * configure: Regenerate.
5646
b54214fe
UW
56472013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5648 Alan Modra <amodra@gmail.com>
5649
5650 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
5651 (frob_update_context): Use it.
5652
56532013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5654 Alan Modra <amodra@gmail.com>
5655
5656 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
5657 (trampoline_initial): Provide ELFv2 variant.
5658 (__trampoline_setup): Likewise.
5659
5660 * config/rs6000/linux-unwind.h (frob_update_context): Do not
5661 check for AIX indirect function call sequence if _CALL_ELF == 2.
5662
56632013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5664 Alan Modra <amodra@gmail.com>
5665
5666 * config/rs6000/linux-unwind.h (get_regs): Do not support
5667 old kernel versions if _CALL_ELF == 2.
5668 (frob_update_context): Do not support PLT stub variants only
5669 generated by old linkers if _CALL_ELF == 2.
5670
13e0981a
UW
56712013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5672 Alan Modra <amodra@gmail.com>
5673
5674 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
5675 location of CR save area for 64-bit little-endian systems.
5676
1a80085d
EB
56772013-11-11 Eric Botcazou <ebotcazou@adacore.com>
5678
5679 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
5680 in tmake_file.
5681 * config/arm/t-vxworks: Delete.
5682
cabeea52
KT
56832013-11-10 Kai Tietz <ktietz@redhat.com>
5684
5685 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
5686 Increment load-count on use of LIBGCC_SONAME DLL.
5687 (hmod_libgcc): New static variable to hold handle of
5688 LIBGCC_SONAME DLL.
5689 (__gcc_deregister_frame): Decrement load-count of
5690 LIBGCC_SONAME DLL.
5691
ac088ba1
BRF
56922013-11-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
5693
5694 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
5695 availability.
5696 * configure: Regenerate
5697
d59a8fcc
UB
56982013-11-07 Uros Bizjak <ubizjak@gmail.com>
5699
5700 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
5701 FP_EX_DENORM. Store result to volatile location after SSE division
5702 to close interrupt window. Remove unneeded fwait after x87
5703 division since interrupt window will be closed by emitted fstp.
9de84e84 5704 Rewrite FP_EX_INEXACT handling.
d59a8fcc 5705
9954c743
JM
57062013-11-06 Joseph Myers <joseph@codesourcery.com>
5707
5708 * soft-fp/README: Update.
5709 * soft-fp/adddf3.c: Update from glibc.
5710 * soft-fp/addsf3.c: Likewise.
5711 * soft-fp/addtf3.c: Likewise.
5712 * soft-fp/divdf3.c: Likewise.
5713 * soft-fp/divsf3.c: Likewise.
5714 * soft-fp/divtf3.c: Likewise.
5715 * soft-fp/double.h: Likewise.
5716 * soft-fp/eqdf2.c: Likewise.
5717 * soft-fp/eqsf2.c: Likewise.
5718 * soft-fp/eqtf2.c: Likewise.
5719 * soft-fp/extenddftf2.c: Likewise.
5720 * soft-fp/extended.h: Likewise.
5721 * soft-fp/extendsfdf2.c: Likewise.
5722 * soft-fp/extendsftf2.c: Likewise.
5723 * soft-fp/extendxftf2.c: Likewise.
5724 * soft-fp/fixdfdi.c: Likewise.
5725 * soft-fp/fixdfsi.c: Likewise.
5726 * soft-fp/fixdfti.c: Likewise.
5727 * soft-fp/fixsfdi.c: Likewise.
5728 * soft-fp/fixsfsi.c: Likewise.
5729 * soft-fp/fixsfti.c: Likewise.
5730 * soft-fp/fixtfdi.c: Likewise.
5731 * soft-fp/fixtfsi.c: Likewise.
5732 * soft-fp/fixtfti.c: Likewise.
5733 * soft-fp/fixunsdfdi.c: Likewise.
5734 * soft-fp/fixunsdfsi.c: Likewise.
5735 * soft-fp/fixunsdfti.c: Likewise.
5736 * soft-fp/fixunssfdi.c: Likewise.
5737 * soft-fp/fixunssfsi.c: Likewise.
5738 * soft-fp/fixunssfti.c: Likewise.
5739 * soft-fp/fixunstfdi.c: Likewise.
5740 * soft-fp/fixunstfsi.c: Likewise.
5741 * soft-fp/fixunstfti.c: Likewise.
5742 * soft-fp/floatdidf.c: Likewise.
5743 * soft-fp/floatdisf.c: Likewise.
5744 * soft-fp/floatditf.c: Likewise.
5745 * soft-fp/floatsidf.c: Likewise.
5746 * soft-fp/floatsisf.c: Likewise.
5747 * soft-fp/floatsitf.c: Likewise.
5748 * soft-fp/floattidf.c: Likewise.
5749 * soft-fp/floattisf.c: Likewise.
5750 * soft-fp/floattitf.c: Likewise.
5751 * soft-fp/floatundidf.c: Likewise.
5752 * soft-fp/floatundisf.c: Likewise.
5753 * soft-fp/floatunditf.c: Likewise.
5754 * soft-fp/floatunsidf.c: Likewise.
5755 * soft-fp/floatunsisf.c: Likewise.
5756 * soft-fp/floatunsitf.c: Likewise.
5757 * soft-fp/floatuntidf.c: Likewise.
5758 * soft-fp/floatuntisf.c: Likewise.
5759 * soft-fp/floatuntitf.c: Likewise.
5760 * soft-fp/gedf2.c: Likewise.
5761 * soft-fp/gesf2.c: Likewise.
5762 * soft-fp/getf2.c: Likewise.
5763 * soft-fp/ledf2.c: Likewise.
5764 * soft-fp/lesf2.c: Likewise.
5765 * soft-fp/letf2.c: Likewise.
5766 * soft-fp/muldf3.c: Likewise.
5767 * soft-fp/mulsf3.c: Likewise.
5768 * soft-fp/multf3.c: Likewise.
5769 * soft-fp/negdf2.c: Likewise.
5770 * soft-fp/negsf2.c: Likewise.
5771 * soft-fp/negtf2.c: Likewise.
5772 * soft-fp/op-1.h: Likewise.
5773 * soft-fp/op-2.h: Likewise.
5774 * soft-fp/op-4.h: Likewise.
5775 * soft-fp/op-8.h: Likewise.
5776 * soft-fp/op-common.h: Likewise.
5777 * soft-fp/quad.h: Likewise.
5778 * soft-fp/single.h: Likewise.
5779 * soft-fp/soft-fp.h: Likewise.
5780 * soft-fp/subdf3.c: Likewise.
5781 * soft-fp/subsf3.c: Likewise.
5782 * soft-fp/subtf3.c: Likewise.
5783 * soft-fp/truncdfsf2.c: Likewise.
5784 * soft-fp/trunctfdf2.c: Likewise.
5785 * soft-fp/trunctfsf2.c: Likewise.
5786 * soft-fp/trunctfxf2.c: Likewise.
5787 * soft-fp/unorddf2.c: Likewise.
5788 * soft-fp/unordsf2.c: Likewise.
5789 * soft-fp/unordtf2.c: Likewise.
5790
02ac9503
UB
57912013-11-05 Uros Bizjak <ubizjak@gmail.com>
5792
5793 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
5794 (_FP_MUL_MEAT_D): Ditto.
5795 (_FP_DIV_MEAT_S): Ditto.
5796 (_FP_DIV_MEAT_D): Ditto.
5797 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
5798 t-softfp-sfdf and t-softfp to tmake_file.
5799
61221141
UB
58002013-11-03 Uros Bizjak <ubizjak@gmail.com>
5801
5802 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
5803 * config/i386/crtprec.c: Ditto.
5804
9304f876
CJW
58052013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
5806 Shiva Chen <shiva0217@gmail.com>
5807
5808 * config.host (nds32*-elf*): Add nds32 target.
5809 * config/nds32 : New directory and files.
5810
0e499e75
HPN
58112013-10-16 Hans-Peter Nilsson <hp@axis.com>
5812
5813 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
5814 * config.host (cpu_type) <Setting default>: Add entry for
5815 crisv32-*-*.
5816 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
5817 <crisv32-*-linux*>: Adjust.
5818 * longlong.h: Wrap the whole CRIS section in a single
5819 defined(__CRIS__) conditional. Add comment about add_ssaaaa
5820 and sub_ddmmss.
5821 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
5822 defined.
5823 [__CRIS__] (__umulsidi3): Define.
5824 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
5825 * config/cris/sfp-machine.h: New file.
5826 * config/cris/umulsidi3.S: New file.
5827 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
5828 * config/cris/arit.c (SIGNMULT): New macro.
5829 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
5830 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
5831 saving 3 out of originally 33 cycles from the fastest
5832 path, 3 out of 54 from the medium path and one from the longest
5833 path. Improve comments.
5834
16022041
RS
58352013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
5836
5837 * sync.c: Remove static aliases and define each function directly
5838 under its real name.
5839
69778659
JDA
58402013-10-02 John David Anglin <danglin@gcc.gnu.org>
5841
5842 * config.host (hppa*64*-*-linux*): Define extra_parts.
5843 (hppa*-*-linux*): Likewise.
5844
2deaf8b0
JR
58452013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
5846
5847 * config/arc/crtgend.S: Add 2013 to Copyright years.
5848 * config/arc/gmon/atomic.h: Likewise.
5849 * config/arc/gmon/auxreg.h: Likewise.
5850 * config/arc/gmon/sys/gmon_out.h: Likewise.
5851 * config/arc/gmon/sys/gmon.h: Likewise.
5852 * config/arc/gmon/prof-freq.c: Likewise.
5853 * config/arc/gmon/mcount.c: Likewise.
5854 * config/arc/gmon/prof-freq-stub.S: Likewise.
5855 * config/arc/gmon/gmon.c: Likewise.
5856 * config/arc/gmon/machine-gmon.h: Likewise.
5857 * config/arc/gmon/profil.S: Likewise.
5858 * config/arc/gmon/dcache_linesz.S: Likewise.
5859 * config/arc/crtg.S: Likewise.
5860 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
5861 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
5862 * config/arc/ieee-754/adddf3.S: Likewise.
5863 * config/arc/ieee-754/truncdfsf2.S: Likewise.
5864 * config/arc/ieee-754/fixsfsi.S: Likewise.
5865 * config/arc/ieee-754/gtsf2.S: Likewise.
5866 * config/arc/ieee-754/floatsisf.S: Likewise.
5867 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
5868 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
5869 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
5870 * config/arc/ieee-754/fixdfsi.S: Likewise.
5871 * config/arc/ieee-754/addsf3.S: Likewise.
5872 * config/arc/ieee-754/gesf2.S: Likewise.
5873 * config/arc/ieee-754/floatsidf.S: Likewise.
5874 * config/arc/ieee-754/extendsfdf2.S: Likewise.
5875 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
5876 * config/arc/ieee-754/gtdf2.S: Likewise.
5877 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
5878 * config/arc/ieee-754/uneqdf2.S: Likewise.
5879 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
5880 * config/arc/ieee-754/uneqsf2.S: Likewise.
5881 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
5882 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
5883 * config/arc/ieee-754/eqdf2.S: Likewise.
5884 * config/arc/ieee-754/ordsf2.S: Likewise.
5885 * config/arc/ieee-754/divsf3.S: Likewise.
5886 * config/arc/ieee-754/divdf3.S: Likewise.
5887 * config/arc/ieee-754/floatunsidf.S: Likewise.
5888 * config/arc/ieee-754/orddf2.S: Likewise.
5889 * config/arc/ieee-754/eqsf2.S: Likewise.
5890 * config/arc/ieee-754/gedf2.S: Likewise.
5891 * config/arc/crtn.S: Likewise.
5892 * config/arc/crti.S: Likewise.
5893 * config/arc/t-arc700-uClibc: Likewise.
5894 * config/arc/asm.h: Likewise.
5895 * config/arc/libgcc-excl.ver: Likewise.
5896 * config/arc/t-arc-newlib: Likewise.
5897 * config/arc/divtab-arc700.c: Likewise.
5898 * config/arc/initfini.c: Likewise.
5899 * config/arc/fp-hack.h: Likewise.
5900
c8e318b0
JR
59012013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
5902 Diego Novillo <dnovillo@google.com>
5903
5904 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
a07c5b47
JR
5905 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
5906 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
5907 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
c8e318b0 5908
d38a64b4
JR
59092013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
5910 Brendan Kehoe <brendan@zen.org>
5911 Simon Cook <simon.cook@embecosm.com>
5912
5913 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
5914 * config/arc: New directory.
5915 * longlong.h [__arc__] (umul_ppmm): Remove.
5916 [__arc__] (__umulsidi3): Define.
5917 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
5918 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
5919
dff717d2
JC
59202013-09-17 Jacek Caban <jacek@codeweavers.com>
5921
5922 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
5923 CreateSemaphoreA.
5924 * config/i386/gthr-win32.h: Likewise.
5925
5c0029de
DD
59262013-09-16 DJ Delorie <dj@redhat.com>
5927
844ad6c6 5928 * config/rl78/vregs.h: Add G10 register definitions.
5c0029de
DD
5929 * config/rl78/lib2mul.c: Enable for RL78/G10.
5930 * config/rl78/lib2div.c: Likewise.
5931 * config/rl78/lshrsi3.S: Use vregs.h.
5932 * config/rl78/cmpsi2.S: Likewise.
5933 * config/rl78/trampoline.S: Likewise.
5934 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
5935
ceb2fc49
DD
59362013-09-14 DJ Delorie <dj@redhat.com>
5937 Nick Clifton <nickc@redhat.com>
5938
5939 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
5940 * config/rl78/vregs.h: New.
5941 * config/rl78/signbit.S: New file. Implements signbit function.
5942 * config/rl78/divmodsi.S: New.
5943 * config/rl78/divmodhi.S: New.
5944 * config/rl78/divmodqi.S: New.
5945 * config/rl78/t-rl78: Build them here...
5946 * config/rl78/lib2div.c: ...but not here.
5947
f6a83b4a
DD
59482013-09-12 DJ Delorie <dj@redhat.com>
5949
5950 * config.host (msp*-*-elf): New.
5951 * config/msp430/: New port.
5952
9107b096
IS
59532013-08-18 Iain Sandoe <iain@codesourcery.com>
5954
5955 PR gcov-profile/58127
5956 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
5957 __thread var for emulated TLS.
5958 (__gcov_indirect_call_counters): Likewise.
5959
0f9bde1f 59602013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
61221141 5961 Catherine Moore <clm@codesourcery.com>
7d296953 5962 Richard Sandiford <rdsandiford@googlemail.com>
0f9bde1f
MR
5963
5964 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
5965 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
5966 (CALL_STUB_NO_RET): Likewise.
5967 (CALL_STUB_RET): Likewise.
5968 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
5969 __mips16_ret call/return stub symbols.
5970 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
5971 to tmake_file.
5972
2dc14aac
MR
59732013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
5974
5975 * config.host <mips*-*-linux*>: Remove a stray comment.
5976
748d71f3
JH
59772013-08-10 Jan Hubicka <jh@suse.cz>
5978
5979 Work around binutils PR14342
5980 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
5981 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
5982 (L_gcov_indirect_call_profiler_v2): New.
5983
2fa3d31b
JH
59842013-08-06 Jan Hubicka <jh@suse.cz>
5985
5986 * libgcov.c (__gcov_indirect_call_callee,
5987 __gcov_indirect_call_counters): New global vars.
5988 (__gcov_indirect_call_profiler): replace by ...
5989 (__gcov_indirect_call_profiler_v2) ... this one.
5990
2077db1b
CT
59912013-08-06 Caroline Tice <cmtice@google.com>
5992
d0595b65 5993 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
2077db1b 5994 vtv_start_preinit.o and vtv_end_preinit.o.
d0595b65
CT
5995 * configure.ac: Add code to check/set enable_vtable_verify.
5996 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
2077db1b 5997 true.
d0595b65
CT
5998 * vtv_start_preinit.c: New file.
5999 * vtv_end_preinit.c: New file.
6000 * vtv_start.c: New file.
6001 * vtv_end.c: New file.
6002 * configure: Regenerated.
2077db1b 6003
46549c20
MK
60042013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
6005
6006 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
6007 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
6008 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
6009 GPL-3.0-with-GCC-exception.
6010
72be589b
MR
60112013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
6012
6013 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
6014 ISA and up.
6015
902a3faf
AK
60162013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6017
6018 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
6019 mapping for FPRs when creating the fallback framestate.
6020
02371798
GJL
60212013-07-19 Georg-Johann Lay <avr@gjlay.de>
6022
6023 PR target/57516
6024 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
6025 (__round_s2_const, __round_u2_const)
6026 (__round_s4_const, __round_u4_const, __round_x8):
6027 Saturate result if addition result cannot be represented.
6028
ab0e8379
MK
60292013-07-15 Matthias Klose <doko@ubuntu.com>
6030
6031 * libgcc2.c: Don't include <limits.h>.
6032
7da38058
JJ
60332013-07-09 Janis Johnson <janisjo@codesourcery.com>
6034
6035 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
6036
1f6eac90
JJ
60372013-07-06 Jakub Jelinek <jakub@redhat.com>
6038
6039 PR target/29776
6040 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
6041
4ea3d774
JJ
60422013-06-28 Jakub Jelinek <jakub@redhat.com>
6043
6044 PR middle-end/36041
6045 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
6046 Define.
6047 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
6048 instead of table lookups.
6049 (__popcountDI2): Likewise.
6050
9d2cdf25
CJW
60512013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
6052
6053 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
6054 correctly.
6055
fa1e55b0
JM
60562013-06-21 Joseph Myers <joseph@codesourcery.com>
6057
6058 PR other/53317
6059 * soft-fp/adddf3.c: Update from glibc.
6060 * soft-fp/addsf3.c: Likewise.
6061 * soft-fp/addtf3.c: Likewise.
6062 * soft-fp/divdf3.c: Likewise.
6063 * soft-fp/divsf3.c: Likewise.
6064 * soft-fp/divtf3.c: Likewise.
6065 * soft-fp/double.h: Likewise.
6066 * soft-fp/eqdf2.c: Likewise.
6067 * soft-fp/eqsf2.c: Likewise.
6068 * soft-fp/eqtf2.c: Likewise.
6069 * soft-fp/extenddftf2.c: Likewise.
6070 * soft-fp/extended.h: Likewise.
6071 * soft-fp/extendsfdf2.c: Likewise.
6072 * soft-fp/extendsftf2.c: Likewise.
6073 * soft-fp/fixdfdi.c: Likewise.
6074 * soft-fp/fixdfsi.c: Likewise.
6075 * soft-fp/fixsfdi.c: Likewise.
6076 * soft-fp/fixsfsi.c: Likewise.
6077 * soft-fp/fixtfdi.c: Likewise.
6078 * soft-fp/fixtfsi.c: Likewise.
6079 * soft-fp/fixunsdfdi.c: Likewise.
6080 * soft-fp/fixunsdfsi.c: Likewise.
6081 * soft-fp/fixunssfdi.c: Likewise.
6082 * soft-fp/fixunssfsi.c: Likewise.
6083 * soft-fp/fixunstfdi.c: Likewise.
6084 * soft-fp/fixunstfsi.c: Likewise.
6085 * soft-fp/floatdidf.c: Likewise.
6086 * soft-fp/floatdisf.c: Likewise.
6087 * soft-fp/floatditf.c: Likewise.
6088 * soft-fp/floatsidf.c: Likewise.
6089 * soft-fp/floatsisf.c: Likewise.
6090 * soft-fp/floatsitf.c: Likewise.
6091 * soft-fp/floatundidf.c: Likewise.
6092 * soft-fp/floatundisf.c: Likewise.
6093 * soft-fp/floatunditf.c: Likewise.
6094 * soft-fp/floatunsidf.c: Likewise.
6095 * soft-fp/floatunsisf.c: Likewise.
6096 * soft-fp/floatunsitf.c: Likewise.
6097 * soft-fp/gedf2.c: Likewise.
6098 * soft-fp/gesf2.c: Likewise.
6099 * soft-fp/getf2.c: Likewise.
6100 * soft-fp/ledf2.c: Likewise.
6101 * soft-fp/lesf2.c: Likewise.
6102 * soft-fp/letf2.c: Likewise.
6103 * soft-fp/muldf3.c: Likewise.
6104 * soft-fp/mulsf3.c: Likewise.
6105 * soft-fp/multf3.c: Likewise.
6106 * soft-fp/negdf2.c: Likewise.
6107 * soft-fp/negsf2.c: Likewise.
6108 * soft-fp/negtf2.c: Likewise.
6109 * soft-fp/op-1.h: Likewise.
6110 * soft-fp/op-2.h: Likewise.
6111 * soft-fp/op-4.h: Likewise.
6112 * soft-fp/op-8.h: Likewise.
6113 * soft-fp/op-common.h: Likewise.
6114 * soft-fp/quad.h: Likewise.
6115 * soft-fp/single.h: Likewise.
6116 * soft-fp/soft-fp.h: Likewise.
6117 * soft-fp/subdf3.c: Likewise.
6118 * soft-fp/subsf3.c: Likewise.
6119 * soft-fp/subtf3.c: Likewise.
6120 * soft-fp/truncdfsf2.c: Likewise.
6121 * soft-fp/trunctfdf2.c: Likewise.
6122 * soft-fp/trunctfsf2.c: Likewise.
6123 * soft-fp/unorddf2.c: Likewise.
6124 * soft-fp/unordsf2.c: Likewise.
6125 * soft-fp/unordtf2.c: Likewise.
6126 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
6127 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6128 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6129 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6130 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6131 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6132 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6133 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6134 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6135 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
6136 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
6137 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6138
0de86a92
JU
61392013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
6140
6141 * config/mips/lib2funcs.c: New file.
6142 * config/mips/t-mips (LIB2ADD_ST): Add it.
6143
0d008882
OE
61442013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
6145
6146 PR target/6526
6147 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
6148 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
6149
776434d1
WL
61502013-06-08 Walter Lee <walt@tilera.com>
6151
6152 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
6153 Replace int64_t with long long. Add __extension__ where
6154 appropriate.
6155 * config/tilepro/atomic.c: Include config.h.
6156
6ab3ebb4
DR
61572013-06-06 Douglas B Rupp <rupp@adacore.com>
6158
6159 * config.host (arm-wrs-vxworks): Configure with other soft float.
6160
107eea2c
JU
61612013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
6162
6163 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
6164 (mips64r5900el-*-elf*): New configurations.
6165
5cc19c62
AM
61662013-06-04 Alan Modra <amodra@gmail.com>
6167
6168 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
6169
0f1d3965
YR
61702013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
6171
6172 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
6173
0ba045df
EB
61742013-05-28 Eric Botcazou <ebotcazou@adacore.com>
6175
6176 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
6177 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
6178 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
6179
49dcafd4
EB
61802013-05-22 Eric Botcazou <ebotcazou@adacore.com>
6181
6182 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
6183 (powerpc-wrs-vxworks): Likewise.
6184
4fcb5d87
EB
61852013-05-22 Eric Botcazou <ebotcazou@adacore.com>
6186
6187 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
6188 signal frames as well.
6189 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
6190 STACK_BIAS to the CFA offset.
6191
0ec33224
RH
61922013-05-17 Richard Henderson <rth@redhat.com>
6193
6194 PR target/49146
6195 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
6196 (execute_cfa_program): Use it when storing to fs->regs.
6197
492a8029
KT
61982013-05-08 Kai Tietz <ktietz@redhat.com>
6199
6200 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
6201 (__deregister_frame_info): Likewise.
6202
701e2f0a
TS
62032013-05-06 Thomas Schwinge <thomas@codesourcery.com>
6204
e5123d08
TS
6205 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
6206 NaN's payload.
6207
701e2f0a
TS
6208 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
6209
b9a7eb5d
AM
62102013-04-25 Alan Modra <amodra@gmail.com>
6211
6212 * config.host: Match little-endian powerpc-linux.
6213
dfe192f5
YZ
62142013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
6215
6216 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
6217 as 'unsigned long long' instead of 'unsigned long'.
6218 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
6219 'signed long'.
6220
b6b9af2f
JB
62212013-04-10 Julian Brown <julian@codesourcery.com>
6222
6223 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
6224 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
6225 unsigned char/unsigned short.
6226 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
6227
ecabdd00
JDA
62282013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
6229
6230 PR other/55274
6231 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
6232
34652576
MI
62332013-04-04 Meador Inge <meadori@codesourcery.com>
6234
6235 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
6236 computing the location of the link register.
6237 (aeabi_uldivmod): Ditto.
6238
e9fd8c19
KT
62392013-03-27 Kai Tietz <ktietz@redhat.com>
6240
6241 * config.host: Add support for cygwin x64 target.
6242 * configure: Regenerated.
6243
a6406324
WL
62442013-03-26 Walter Lee <walt@tilera.com>
6245
6246 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
6247 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
6248
55446c7e
KT
62492013-03-25 Kai Tietz <ktietz@redhat.com>
6250
6251 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
6252
d2ae19d9
RM
62532013-03-20 Robert Mason <rbmj@verizon.net>
6254
6255 * config/vxlib-tls.c (__gthread_get_tsd_data,)
6256 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
6257 (__gthread_leave_tsd_dtor_context): Add prototypes.
6258 (tls_delete_hook): Update.
6259
22c4c869
CM
62602013-03-20 Catherine Moore <clm@codesourcery.com>
6261 Joseph Myers <joseph@codesourcery.com>
6262 Chao-ying Fu <fu@mips.com>
6263
6264 * config/mips/mips16.S: Don't build for microMIPS.
6265 * config/mips/linux-unwind.h: Handle microMIPS frame.
6266 * config/mips/crtn.S (fini, init): New labels.
6267
fbd28bc3
JJ
62682013-03-14 Jakub Jelinek <jakub@redhat.com>
6269
6270 PR tree-optimization/53265
6271 * unwind-dw2.c (execute_cfa_program): Avoid
6272 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
6273 on targets with DWARF_FRAME_REGISTERS < 32.
6274
decc676e
OE
62752013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
6276
6277 PR target/49880
6278 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
6279 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
6280
84ea618a
ST
62812013-03-07 Sriraman Tallam <tmsriram@google.com>
6282
6283 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
6284 sandybridge processors.
6285
8f6d1c86
OE
62862013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
6287
6288 PR target/56529
6289 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
6290 inclusion list.
6291
ecdbd01a 62922013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
409b1de4
EI
6293
6294 * config/microblaze/crti.S: Setup stack protection at entry
6295
0b4ce21b
GJL
62962013-03-04 Georg-Johann Lay <avr@gjlay.de>
6297
6298 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
6299 (__rotldi3): Shift bytewise if applicable.
6300
b7c3f1ca
JG
63012013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
6302
6303 * config/aarch64/sync-cache.c
6304 (__aarch64_sync_cache_range): Silence warnings.
6305
6d65e8f1
CM
63062013-02-25 Catherine Moore <clm@codesourcery.com>
6307
6308 Revert:
6309 2013-02-24 Catherine Moore <clm@codesourcery.com>
6310 Joseph Myers <joseph@codesourcery.com>
6311 Chao-ying Fu <fu@mips.com>
6312
6313 * config/mips/mips16.S: Don't build for microMIPS.
6314 * config/mips/linux-unwind.h: Handle microMIPS frame.
6315 * config/mips/crtn.S (fini, init): New labels.
6316
6941b508
CM
63172013-02-24 Catherine Moore <clm@codesourcery.com>
6318 Joseph Myers <joseph@codesourcery.com>
6319 Chao-ying Fu <fu@mips.com>
6320
6321 * config/mips/mips16.S: Don't build for microMIPS.
6322 * config/mips/linux-unwind.h: Handle microMIPS frame.
6323 * config/mips/crtn.S (fini, init): New labels.
6324
7c422dbb 63252012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
cc86234f 6326 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
7c422dbb
EI
6327 as dividend.
6328
110207ad
AM
63292013-02-16 Alan Modra <amodra@gmail.com>
6330
6331 PR target/55431
6332 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
6333 (ppc_fallback_frame_state): Always set up save locations for fp
6334 and altivec. Don't bother with non-callee-saved regs, r0-r13
6335 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
6336
e68a4ef6
GJL
63372013-02-12 Georg-Johann Lay <avr@gjlay.de>
6338
6339 PR target/54222
6340 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
6341 _ssmulHA, _ssmulSA.
6342 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
6343 _ssmulha3, _usmulusa3, _ssmulsa3.
6344 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
6345 (__muldi3): XCALL __muldi3_6 instead of rcall.
6346 (__umulsidi3, __mulsidi3): New functions.
6347 (do_prologue_saves, do_epilogue_restores): New .macros.
6348 (__divdi3_moddi3): Use them.
6349 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
6350 (__usmulusa3, __ssmulsa3): New functions.
6351
6c59ffd1
IS
63522013-02-11 Iain Sandoe <iain@codesourcery.com>
6353 Jack Howarth <howarth@bromo.med.uc.edu>
6354 Patrick Marlier <patrick.marlier@gmail.com>
6355
6356 PR libitm/55693
6357 * config/darwin-crt-tm.c: Remove dummy functions hack.
6358
85d768f3
GJL
63592013-02-08 Georg-Johann Lay <avr@gjlay.de>
6360
6361 PR target/54222
6362 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
6363 * config/avr/lib2-object.mk: New iterator to build objects from it.
6364 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
6365 lib2funcs.c.
6366 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
6367 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
6368 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
6369 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
6370 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
6371 * config/avr/lib1funcs-fixed.S: Implement them.
6372
5d5bf775
RS
63732013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
6374
6375 Update copyright years.
6376
99113dff
DE
63772013-02-01 David Edelsohn <dje.gcc@gmail.com>
6378
6379 PR target/54601
6380 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
6381 Add crtcxa to extra_parts.
6382 * config/rs6000/exit.h: New file.
6383 * config/rs6000/cxa_atexit.c: New file.
6384 * config/rs6000/cxa_finalize.c: New file.
6385 * config/rs6000/crtcxa.c: New file.
6386 * config/rs6000/t-aix-cxa: New file.
6387 * config/rs6000/libgcc-aix-cxa.ver: New file.
6388
dbdbd982
NC
63892013-01-31 Nick Clifton <nickc@redhat.com>
6390
6391 * config/v850/lib1funcs.S: Add support for e3v5 architecture
6392 variant.
6393
5893f158
GJL
63942013-01-29 Georg-Johann Lay <avr@gjlay.de>
6395
6396 PR target/54222
6397 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
6398 _mulQQ, _mulHQ, _mulHA, _mulSA,
6399 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
6400 _divQQ, _divHQ, _divHA, _divSA,
6401 _divUQQ, _divUHQ, _divUHA, _divUSA.
6402
ecdbd01a 64032013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
fbf0cf90 6404
dbdbd982 6405 * config.host(microblaze*-linux*): tmake_file: Remove
fbf0cf90
DH
6406 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
6407 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
6408 to exclude functions from being built with libgcc.c and use
6409 the microblaze assembly.
6410
ecdbd01a 64112013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
6f14eef2
EI
6412
6413 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
6414 extra_parts.
6415
922c57d1
YZ
64162013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
6417
6418 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
6419 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
6420 __UINTPTR_TYPE__; also cast 'base' to the same type before the
6421 alignment operation.
6422
e0f8b6a0
SN
64232013-01-15 Sofiane Naci <sofiane.naci@arm.com>
6424
6425 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
6426 loop start address for cache clearing.
6427
00892272
GJL
64282013-01-14 Georg-Johann Lay <avr@gjlay.de>
6429
6430 * config/avr/lib1funcs.S: Remove trailing blanks.
6431 * config/avr/lib1funcs-fixed.S: Ditto.
6432
e59ec5fd
GJL
64332013-01-14 Georg-Johann Lay <avr@gjlay.de>
6434
6435 * config/avr/avr-lib.h: Add GPL copyright notice.
6436
3ffc1958
GJL
64372013-01-14 Georg-Johann Lay <avr@gjlay.de>
6438
6439 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
6440 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
6441 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
6442 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
6443
25c210f9
MK
64442013-01-07 Mark Kettenis <kettenis@openbsd.org>
6445
6446 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
6447 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
2bc15360 6448
db59befb
NC
64492013-01-04 Nick Clifton <nickc@redhat.com>
6450
6451 * config/v850/lib1funcs.S: Only provide CALLT support functions if
6452 the CALLT instruction is supported.
6453
5aa12dbf
JW
64542012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
6455
6456 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
6457 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
6458
65f14117
JT
64592012-12-13 John Tytgat <John@bass-software.com>
6460
6461 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
6462 is 25.
6463
ee3ae4f7
JJ
64642012-12-12 Jakub Jelinek <jakub@redhat.com>
6465
6466 PR libgcc/55451
6467 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
6468 undefined signed overflows.
6469
2fcfba3d
UB
64702012-12-09 Uros Bizjak <ubizjak@gmail.com>
6471
6472 PR target/55344
6473 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
6474
4f2b3dc2
UB
64752012-12-06 Uros Bizjak <ubizjak@gmail.com>
6476
6477 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
6478 (FP_TRAPPING_EXCEPTIONS): Define.
6479 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
6480 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
6481
066161a2
RH
64822012-12-04 Richard Henderson <rth@redhat.com>
6483
6484 PR bootstrap/55571
6485 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
6486
7d296953 64872012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
25626181 6488
4f2b3dc2 6489 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
25626181
MS
6490 (FP_EX_SHIFT): Define.
6491 (FP_TRAPPING_EXCEPTIONS): Define.
6492
7d296953 64932012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
868395e8
MS
6494
6495 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
6496 (FP_ROUNDMODE): Use FP_RND_MASK.
6497 * config/aarch64/sfp-exceptions.c: New.
6498 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
6499 Use __sfp_handle_exceptions.
6500
5005fe22
RE
65012012-12-04 Richard Earnshaw <rearnsha@arm.com>
6502
6503 * config.host: (arm*-*-freebsd*): Remove.
6504 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
6505 (arm*-*-elf*): Remove.
6506 (arm*-*-wince-pe*): Remove.
6507 * arm/unwind-arm.c (struct fpa_reg): Delete.
6508 (struct fpa_regs): Delete.
6509 (phase1_vrs): Remove fpa element.
6510 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
6511 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
6512 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
6513 * ieee754-sf.S (floatundisf): Remove FPA support.
6514 (floatdisf): Likewise.
6515 * ieee75f-df.S (floatundidf): Likewise.
6516 (floatdidf): Likewise.
6517
e5a81c8e
KT
65182012-11-29 Kai Tietz <ktietz@redhat.com>
6519
6520 PR target/55445
6521 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
6522 * unwind-generic.h: Likewise.
6523 * unwind-seh.c: Likewise.
6524
f4919e4a
RH
65252012-11-28 Richard Henderson <rth@redhat.com>
6526
6527 PR libgcc/48076
6528 * emutls.c (__emutls_get_address): Avoid race condition between
6529 obj->loc.offset read and emutls_key initialization.
4f2b3dc2 6530
e13d9d5a
GJL
65312012-11-22 Georg-Johann Lay <avr@gjlay.de>
6532
6533 Adjust decimal point of signed accum mode to GCC default.
6534
6535 PR target/54222
6536 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
6537 _divqq_helper.
6538 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
6539 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
6540 (__mulha3, __mulsa3)
6541 (__divqq3, __divha3, __divsa3): Adjust to new position of
4f2b3dc2
UB
6542 decimal point of signed accum types.
6543
e13d9d5a
GJL
6544 (__mulusa3_round): New function.
6545 (__mulusa3): Use it.
6546 (__divqq_helper): New function.
6547 (__udivuqq3): Use it.
6548
1b845c6e
JJ
65492012-11-20 Jakub Jelinek <jakub@redhat.com>
6550
6551 PR bootstrap/55370
6552 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
6553
822a258a
TJ
65542012-11-18 Teresa Johnson <tejohnson@google.com>
6555
6556 PR bootstrap/55051
6557 * libgcov.c (gcov_exit): Remove merged program summary
6558 comparison unless !GCOV_LOCKED.
6559
7d296953 65602012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
54f4eaf0
MS
6561
6562 * soft-fp: Updated from glibc upstream.
6563
e808687a
ILT
65642012-11-06 Ian Lance Taylor <iant@google.com>
6565
6566 * generic-morestack.c (__generic_morestack): Align the returned
6567 stack pointer to a 32 byte boundary.
6568 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
6569 increment the return address until we have decided that we don't
6570 have a varargs function.
6571 (__morestack) [32-bit]: Align stack correctly when calling C
6572 functions.
6573 (__morestack) [64-bit]: Likewise.
6574
460277e0
TS
65752012-11-04 Thomas Schwinge <thomas@codesourcery.com>
6576
6577 * configure: Regenerate.
6578
73edb277
UB
65792012-11-02 Uros Bizjak <ubizjak@gmail.com>
6580
6581 PR target/55175
6582 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
6583 * config/i386/sfp-machine.h: Guard exception handling
6584 code with _SOFT_FLOAT.
6585 * config/i386/32/sfp-machine.h: Guard rounding handling
6586 code with _SOFT_FLOAT.
6587 * config/i386/64/sfp-machine.h: Ditto.
6588
c1d4fa04
JS
65892012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
6590
6591 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
6592 as extra_parts.
6593
eff6ca85
UB
65942012-10-26 Uros Bizjak <ubizjak@gmail.com>
6595
6596 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
6597 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
6598 when appropriate. Correct structure element types.
6599 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
6600 -minline-all-stringops from compile flags.
6601
7d296953 66022012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
43a8f1a1
RC
6603
6604 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
6605
7d296953 66062012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
76c78361 6607
eff6ca85 6608 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
76c78361 6609
6f288860
SH
66102012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
6611
6612 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
6613 tmake_file.
6614
1e3d5096
IB
66152012-10-23 Ian Bolton <ian.bolton@arm.com>
6616 Jim MacArthur <jim.macarthur@arm.com>
6617 Marcus Shawcroft <marcus.shawcroft@arm.com>
6618 Nigel Stephens <nigel.stephens@arm.com>
6619 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
6620 Richard Earnshaw <rearnsha@arm.com>
6621 Sofiane Naci <sofiane.naci@arm.com>
6622 Stephen Thomas <stephen.thomas@arm.com>
6623 Tejas Belagod <tejas.belagod@arm.com>
6624 Yufeng Zhang <yufeng.zhang@arm.com>
6625
6626 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
6627 * config/aarch64/crti.S: New file.
6628 * config/aarch64/crtn.S: New file.
6629 * config/aarch64/linux-unwind.h: New file.
6630 * config/aarch64/sfp-machine.h: New file.
6631 * config/aarch64/sync-cache.c: New file.
6632 * config/aarch64/t-aarch64: New file.
6633 * config/aarch64/t-softfp: New file.
6634
8a740f07
HPN
66352012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
6636
6637 * config/mmix/crti.S: Mark program and data addresses using PRELD.
6638 Remove typo'd and unnecessary alignment-LOC for .data. Remove
6639 no-longer-needed LDBU insns.
6640
7d296953 66412012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
153c8397
SH
6642
6643 * config.host
6644 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
6645 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
6646
595fefee
MGD
66472012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
6648
6649 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
6650
9945a876
MK
66512012-10-15 Matthias Klose <doko@ubuntu.com>
6652
6653 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
6654
1183dc2c
PC
66552012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
6656
6657 * configure: Regenerate.
6658 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
6659
945a9c1f
UB
66602012-10-10 Uros Bizjak <ubizjak@gmail.com>
6661
6662 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
6663 instructions for 64bit targets only.
6664
fb8bf47a
UB
66652012-10-10 Uros Bizjak <ubizjak@gmail.com>
6666
6667 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
6668 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
6669 * config/i386/32/sfp-machine.h: ... here.
6670 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
6671 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
6672 New defines.
6673
acb72498
MK
66742012-10-07 Matthias Klose <doko@ubuntu.com>
6675
6676 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
6677 as unused.
6678 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
6679
8eaee0f0
MK
66802012-10-06 Mark Kettenis <kettenis@openbsd.org>
6681
6682 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
6683 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
6684 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
6685 (ElfW): Likewise.
6686
5e3e4fe8
JW
66872012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
6688
6689 PR other/53889
6690 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
6691 Fix parameter names.
6692
86086376
OE
66932012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
6694
6695 PR target/33135
6696 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
6697 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
6698 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
6699
9597375a
OE
67002012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
6701
6702 PR target/50457
6703 * config/sh/linux-atomic.S: Delete.
6704 * config/sh/linux-atomic.c: New.
6705 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
6706 linux-atomic.c. Add cflags to disable warnings.
6707
1504e3e1
JW
67082012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
6709
6710 PR other/53889
6711 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
6712 function.
6713 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
6714 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
6715 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
6716 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
5e3e4fe8
JW
6717 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
6718 Likewise.
1504e3e1
JW
6719 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
6720 Likewise.
6721 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
6722 Likewise.
6723 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
6724 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
6725
17f293b0
MK
67262012-09-19 Mark Kettenis <kettenis@openbsd.org>
6727
9597375a
OE
6728 * config.host (hppa-*-openbsd*): New target.
6729 * config/pa/t-openbsd: New file.
17f293b0 6730
51526856
GJL
67312012-09-15 Georg-Johann Lay <avr@gjlay.de>
6732
6733 PR target/54222
6734 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
6735 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
6736 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
6737 (__divsa3): Use __negsi2 to negate r_quoL.
6738 * config/avr/lib1funcs.S (FALIAS): New macro.
6739 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
6740 (__negsi2): ...this new function.
6741 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
6742 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
6743 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
6744 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
6745 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
6746 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
6747
aadb5b43
OE
67482012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
6749
6750 PR target/54089
6751 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
6752 (lshrsi3): Reimplement as lshrsi3_r0.
6753
d5d66749
AS
67542012-09-10 Andreas Schwab <schwab@linux-m68k.org>
6755
6756 PR target/46191
6757 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
6758 of libgcc.a.
6759
c6c36e73
TJ
67602012-09-07 Teresa Johnson <tejohnson@google.com>
6761
9597375a 6762 PR gcov-profile/54487
c6c36e73 6763 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
9597375a 6764 differences.
c6c36e73 6765
b588ae30
GJL
67662012-09-05 Georg-Johann Lay <avr@gjlay.de>
6767
6768 PR target/54461
6769 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
6770 not configured --with-avrlibc=no.
6771 * config/avr/t-avrlibc: New file.
6772 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
6773 (DPBIT_FUNCS): Ditto.
6774 (TPBIT_FUNCS): Ditto.
6775
abd16fb1
TJ
67762012-09-04 Teresa Johnson <tejohnson@google.com>
6777
6778 * libgcov.c (struct gcov_summary_buffer): New structure.
6779 (gcov_histogram_insert): New function.
6780 (gcov_compute_histogram): Ditto.
6781 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
6782 histograms during summary merging.
6783
613061fd
MK
67842012-09-01 Mark Kettenis <kettenis@openbsd.org>
6785
6786 * config.host (x86_64-*-openbsd*): New target.
73edb277 6787
867a8345
CLT
67882012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
6789
6790 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
6791 attribute.
6792
4aeaaca3
GJL
67932012-08-24 Georg-Johann Lay <avr@gjlay.de>
6794
6795 PR target/54222
6796 * config/avr/t-avr (conv_X): Rename to func_X.
6797
e55e4056
GJL
67982012-08-24 Georg-Johann Lay <avr@gjlay.de>
6799
6800 PR target/54222
6801 * config/avr/lib1funcs-fixed.S: New file.
6802 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
6803 after they are used.
6804 (neg2, neg4): New macros.
6805 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
6806 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
6807 (__umulhisi3): Speed up MUL variant if there is enough flash.
6808 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
6809 avr-modes.def.
6810 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
6811 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
6812 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
6813 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
6814 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
6815 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
6816 (LIB2FUNCS_EXCLUDE): Add supported functions.
6817
a147b6d2
GJL
68182012-08-22 Georg-Johann Lay <avr@gjlay.de>
6819
6820 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
6821 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
6822 libgcc-s-objects.
6823 * fixed-obj.mk: Only expand dependency if $o is not in
6824 LIB2FUNCS_EXCLUDE.
6825
c637141a
L
68262012-08-22 H.J. Lu <hongjiu.lu@intel.com>
6827
6828 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
6829
130e00bd
JM
68302012-08-22 Joseph Myers <joseph@codesourcery.com>
6831
6832 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
6833 depend on --enable-shared.
6834 ($(lib1asmfuncs-o)): Use %.vis files independent of
6835 --enable-shared.
6836 * static-object.mk ($(base)$(objext), $(base).vis)
6837 ($(base)_s$(objext)): Use same rules for visibility handling as in
6838 shared-object.mk.
6839
4b1b3788
ILT
68402012-08-21 Ian Lance Taylor <iant@google.com>
6841
6842 * config/i386/morestack.S (__morestack_non_split): Increase amount
6843 of space allocated for non-split code stack.
6844
d2468141
JM
68452012-08-19 Joseph Myers <joseph@codesourcery.com>
6846
6847 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
6848 even if inhibit_libc.
6849
a508e1a8
JB
68502012-08-17 Julian Brown <julian@codesourcery.com>
6851
6852 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
6853 -fexceptions -fnon-call-exceptions if not defined.
6854 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
6855 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
6856
5615a07d
AS
68572012-08-17 Andreas Schwab <schwab@linux-m68k.org>
6858
6859 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
6860 type.
6861
138f5acd
DE
68622012-08-16 David Edelsohn <dje.gcc@gmail.com>
6863
6864 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
6865 rs6000/t-slibgcc-aix.
6866
18efc0dd
SB
68672012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
6868
6869 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
6870
6b39bc38
SB
68712012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
6872
6873 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
6874
cd25dea0
L
68752012-08-03 H.J. Lu <hongjiu.lu@intel.com>
6876
6877 PR driver/54171
6878 * Makefile.in (version): Replace top_srcdir with srcdir.
6879
a3dda30b
JY
68802012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
6881
6882 * Makefile.in (version): set to BASE-VER file from gcc directory.
6883
d04aacfc
NC
68842012-08-01 Nick Clifton <nickc@redhat.com>
6885
6886 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
6887 Implements __clrsb for an HImode argument.
6888
0d13c974
NC
68892012-07-31 Nick Clifton <nickc@redhat.com>
6890
6891 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
6892 Implements __clrsb for an HImode argument.
6893 * config/stormy16/clrsbhi2.c: New file:
6894 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
6895
efbb59b2
SB
68962012-07-22 Steven Bosscher <steven@gcc.gnu.org>
6897
6898 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
6899
bf1431e3
TG
69002012-07-19 Tristan Gingold <gingold@adacore.com>
6901 Richard Henderson <rth@redhat.com>
6902
6903 * unwind-seh.c: New file.
6904 * unwind-generic.h: Include windows.h for SEH.
6905 (_Unwind_Exception): Use 6 private fields for SEH.
6906 (_GCC_specific_handler): Declare.
6907 * unwind-c.c (__gcc_personality_seh0): New function.
6908 Adjust for SEH.
6909 * config/i386/libgcc-cygming.ver: New file.
6910 * config/i386/t-seh-eh: New file.
6911 * config.host (x86_64-*-mingw*): Default to seh.
6912
659140c8
SB
69132012-07-14 Steven Bosscher <steven@gcc.gnu.org>
6914
6915 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
6916
a20d08fd
UB
69172012-06-17 Uros Bizjak <ubizjak@gmail.com>
6918
6919 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
6920 __builtin_expect when checking for exceptions.
6921 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
6922
79261115
UB
69232012-06-13 Uros Bizjak <ubizjak@gmail.com>
6924
4a172156
UB
6925 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
6926 function declaration.
6927 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
6928 (FP_RND_MASK): New.
6929 * config/ia64/sfp-exceptions.c: New.
6930 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
79261115 6931
bb5c97d4
UB
69322012-06-13 Uros Bizjak <ubizjak@gmail.com>
6933
6934 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
6935 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
6936 * config/i386/64/sfp-machine: ... (delete here) ...
6937 * config/i386/sfp-machine.h: ... to here.
6938 (FP_EX_MASK): Remove.
6939 (FP_RND_MASK): New.
6940 (FP_INIT_ROUNDMODE): Declare asm as volatile.
6941
91fe5efb
ST
69422012-06-11 Sriraman Tallam <tmsriram@google.com>
6943
6944 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
6945 * config/i386/libgcc-sol2.ver: Ditto.
6946 * config/i386/libgcc-glibc.ver: Ditto.
6947
67a218c5
RM
69482012-06-11 Roland McGrath <mcgrathr@google.com>
6949
6950 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
6951 If __GLIBC__ is defined, refer to __pthread_key_create instead of
6952 pthread_cancel.
6953
492fbea1
UB
69542012-06-09 Uros Bizjak <ubizjak@gmail.com>
6955
6956 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
6957 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
6958 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
6959 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
6960 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
6961 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
6962 * config/i386/64/sfp-machine: ... (delete here) ...
6963 * config/i386/sfp-machine.h: ... to here.
6964 (FP_EX_MASK): New.
6965 (__sfp_handle_exceptions): New function declaration.
6966 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
6967 * config/i386/sfp-exceptions.c: New.
6968 * config/i386/t-softfp: New.
6969 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
6970 i386/t-softfp to tmake_file.
6971
7b4cf266
DM
69722012-06-03 David S. Miller <davem@davemloft.net>
6973
6974 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
6975 change.
6976
0de0d5c6
DM
69772012-05-31 David S. Miller <davem@davemloft.net>
6978
6979 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
6980 multiply and divide instructions on 32-bit when V9.
6981 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
6982
d8c9d391
JM
69832012-05-29 Joseph Myers <joseph@codesourcery.com>
6984
6985 * config/arm/ieee754-df.S: Fix typos.
6986 * config/arm/ieee754-sf.S: Fix typos.
6987 * config/c6x/libunwind.S: Fix typos.
6988 * config/epiphany/udivsi3-float.c: Fix typos.
6989 * config/microblaze/muldi3_hard.S: Fix typos.
6990 * config/picochip/adddi3.S: Fix typos.
6991 * config/picochip/ashlsi3.S: Fix typos.
6992 * config/picochip/ashrsi3.S: Fix typos.
6993 * config/picochip/clzsi2.S: Fix typos.
6994 * config/picochip/cmpsi2.S: Fix typos.
6995 * config/picochip/divmod15.S: Fix typos.
6996 * config/picochip/divmodhi4.S: Fix typos.
6997 * config/picochip/divmodsi4.S: Fix typos.
6998 * config/picochip/longjmp.S: Fix typos.
6999 * config/picochip/lshrsi3.S: Fix typos.
7000 * config/picochip/parityhi2.S: Fix typos.
7001 * config/picochip/popcounthi2.S: Fix typos.
7002 * config/picochip/setjmp.S: Fix typos.
7003 * config/picochip/subdi3.S: Fix typos.
7004 * config/picochip/ucmpsi2.S: Fix typos.
7005 * config/picochip/udivmodhi4.S: Fix typos.
7006 * config/picochip/udivmodsi4.S: Fix typos.
7007 * config/spu/divv2df3.c: Fix typos.
7008 * config/spu/mfc_multi_tag_release.c: Fix typos.
7009 * config/spu/mfc_tag_release.c: Fix typos.
7010 * configure.ac: Fix typos.
7011 * configure: Regenerate.
7012
31a18a7e
ILT
70132012-05-25 Ian Lance Taylor <iant@google.com>
7014
7015 * config/i386/morestack.S (__morestack_non_split): Check whether
7016 caller is varargs and needs %bp to hold the stack frame on return.
7017
c5768510
OH
70182012-05-25 Olivier Hainque <hainque@adacore.com>
7019
7020 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
7021 sequence in the non pic case on VxWorks.
7022
7c7c339b
OH
70232012-05-24 Olivier Hainque <hainque@adacore.com>
7024
73fb7630 7025 * Makefile.in: Move dependency on install-unwind_h from
7c7c339b
OH
7026 "install-leaf" to "install".
7027
fdc1b7d3
OH
70282012-05-24 Olivier Hainque <hainque@adacore.com>
7029
7030 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
7031 Use a separate command for stamp removals.
7032
07ba94b9
AP
70332012-05-21 Andrew Pinski <apinski@cavium.com>
7034
7035 PR bootstrap/53183
7036 * configure.ac: Define the default includes to being none.
7037 * configure: Regenerate.
7038
4677d2eb
OH
70392012-05-16 Olivier Hainque <hainque@adacore.com>
7040
7041 * Makefile.in (install-unwind_h): Rename into ...
7042 (install-unwind_h-forbuild): New target.
7043 (all): Use it instead of the former install-unwind_h.
7044 (install-unwind_h): Reinstate, copy to user install destination
7045 for include files, not to the internal gcc object directory one.
7046 (install-leaf): Depend on it.
7047
7d67c380
OH
70482012-05-15 Olivier Hainque <hainque@adacore.com>
7049
7050 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
7051 register numbers. LR_REGNO replaces R_LR.
7052 (ucontext_for): New, helper for ...
7053 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
7054 and 5.3 of ...
7055 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
7056
aca06c90
RO
70572012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7058
7059 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
7060 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
7061 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
7062 i386/t-cpuinfo ...
7063 (i[34567]86-*-*, x86_64-*-*): ... here.
7064
7065 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
7066 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
7067
7068 * config/i386/i386-cpuinfo.c: Rename to ...
7069 * config/i386/cpuinfo.c: ... this.
7070 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
7071
7072 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
7073 (libgcc_cv_init_priority): New test.
7074 * configure: Regenerate.
7075 * config.in: New file.
7076 * Makefile.in (clean): Rename config.h to auto-target.h.
7077 (config.h): Likewise.
7078 (stamp-h): Likewise.
7079
7080 * config/i386/cpuinfo.c (auto-target.h): Include.
7081 (CONSTRUCTOR_PRIORITY): Define.
7082 (__cpu_indicator_init): Use it.
7083
0d03ac1b
L
70842012-05-09 H.J. Lu <hongjiu.lu@intel.com>
7085
7086 * longlong.h: Use a URL instead of an FSF postal address.
7087 Replace spaces with tab.
7088
4a172156 70892012-05-08 Teresa Johnson <tejohnson@google.com>
4e8ee9cb
TJ
7090
7091 * libgcov.c (gcov_clear, __gcov_reset): New functions.
7092 (__gcov_dump): Ditto.
7093 (gcov_dump_complete): New global variable.
7094 (gcov_exit): Export hidden to enable use in L_gcov_dump.
7095 (__gcov_flush): Outline functionality now in gcov_clear.
7096 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
7097
e4bb767e
AJ
70982012-04-28 Aurelien Jarno <aurelien@aurel32.net>
7099
31a18a7e
ILT
7100 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
7101 (mips*-*-linux*): Include mips/t-tpbit when long double is
7102 16 bytes long.
e4bb767e 7103
5ddecff9
ST
71042012-04-25 Sriraman Tallam <tmsriram@google.com>
7105
7106 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
7107 (get_available_features): New argument. Check for AVX2.
7108 (__cpu_indicator_init): Modify call to get_available_features.
7109
b427dd7a
AM
71102012-04-25 Alan Modra <amodra@gmail.com>
7111
7112 * config/rs6000/crtsavevr.S: New file.
7113 * config/rs6000/crtrestvr.S: New file.
7114 * config/rs6000/t-savresfgpr: Build the above.
7115 * config/rs6000/t-netbsd: Likewise.
7116
ad491329
ST
71172012-04-24 Sriraman Tallam <tmsriram@google.com>
7118
7119 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
7120
792317cc
ST
71212012-04-24 Sriraman Tallam <tmsriram@google.com>
7122
7123 * libgcc/config/i386/i386-cpuinfo.c: New file.
7124 * libgcc/config/i386/t-cpuinfo: New file.
7125 * libgcc/config.host: Include t-cpuinfo.
7126 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
7127
e1be98a4
CF
71282012-04-24 Chao-ying Fu <fu@mips.com>
7129
7130 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
7131
1bde7dab
TS
71322012-04-20 Thomas Schwinge <thomas@codesourcery.com>
7133
7134 struct siginfo vs. siginfo_t
7135
7136 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
7137 siginfo_t instead of struct siginfo.
7138 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
7139 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
7140 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
7141 (ia64_handle_unwabi): Likewise.
7142 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
7143 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
7144 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
7145 (sh_fallback_frame_state): Likewise.
7146 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
7147 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
7148
24590f66
L
71492012-04-02 H.J. Lu <hongjiu.lu@intel.com>
7150
7151 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
7152 system call number.
7153
9a9dcce8
EB
71542012-03-31 Eric Botcazou <ebotcazou@adacore.com>
7155
7156 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
7157 if it hasn't been previously saved.
7158
6401aaf5
L
71592012-03-29 H.J. Lu <hongjiu.lu@intel.com>
7160
7161 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
7162 only for glibc.
7163
7fd6378e
GJL
71642012-03-28 Georg-Johann Lay <avr@gjlay.de>
7165
7166 PR target/52737
7167 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
7168 instead of __AVR_HAVE_8BIT_SP__.
7169
9e916de7
TG
71702012-03-26 Tristan Gingold <gingold@adacore.com>
7171
7172 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
7173 (unw_table_entry): Use unw_word instead of unsigned long.
7174 (_Unwind_FindTableEntry): Likewise.
7175 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
7176 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
7177 (_Unwind_FindTableEntry): Likewise.
7178 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
7179 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
7180 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
7181 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
7182 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
7183 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
7184 (uw_init_context_1, uw_install_context): Likewise.
7185 (unw_word): Move to unwind-ia64.h
7186
4b12e93d
TG
71872012-03-26 Tristan Gingold <gingold@adacore.com>
7188
7189 * config/vms/vms-ucrt0.c: Update copyright years.
7190 Add a sanity check.
7191 (___gcc_main_flags): Declare.
7192 (__main): Check flags to remap argv and exit code.
7193 * config.host (*-*-*vms*): Adjust extra_parts.
7194 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
7195 (crt0.o): Add.
7196
06ea7371
RE
71972012-03-22 Richard Earnshaw <rearnsha@arm.com>
7198
7199 * arm/lib1funcs.asm (ctzsi2): New function.
7200 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
7201 * arm/t-linux (LIB1ASMFUNCS): Likewise.
7202 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
7203 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
7204 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
7205 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
7206
d82ad50d
AT
72072012-03-21 Andreas Tobler <andreast@fgznet.ch>
7208
7209 * config.host: Add bits to support powerpc64-*-freebsd*.
7210 * config/rs6000/freebsd-unwind.h: New file.
7211 * config/rs6000/t-freebsd64: New file.
7212
b260a8c0
RG
72132012-03-20 Richard Guenther <rguenther@suse.de>
7214
7215 PR gcov-profile/52627
7216 * libgcov.c (init_mx): Fix mutex name.
7217
86286a8a
TG
72182012-03-16 Tristan Gingold <gingold@adacore.com>
7219
7220 * config/ia64/vms-unwind.h: Remove ulong (and replace
7221 it by unw_reg where used). Define unw_reg with __int64.
7222
7888f266
RO
72232012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7224
7225 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
7226 Solaris 8 handling.
7227 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
7228 Solaris 8 handling.
7229 (sparc_is_sighandler): Likewise.
7230
f155bc64
L
72312012-03-13 H.J. Lu <hongjiu.lu@intel.com>
7232
7233 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
7234 <= saved reg size.
7235
d47657bd
RO
72362012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7237
7238 * config/arm/crtn.S: Fix typo.
7239
5bef73a1
RG
72402012-03-13 Richard Guenther <rguenther@suse.de>
7241
7242 * libgcov.c: Remove stdio.h include and NULL un-define.
7243
9c4271f3
RG
72442012-03-13 Richard Guenther <rguenther@suse.de>
7245
7246 PR target/52569
7247 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
7248
c6d10e7c
RG
72492012-03-13 Richard Guenther <rguenther@suse.de>
7250
7251 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
7252
074a385f
RG
72532012-03-13 Richard Guenther <rguenther@suse.de>
7254
7255 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
7256 and __gthread_mutex_init_function definitions.
7257
c4bc5c25
RO
72582012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7259
7260 * config.host (mips*-*-openbsd*): Remove.
7261
5c30094f
RO
72622012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7263
7264 * config.host: Remove alpha*-dec-osf5.1* handling.
7265 * config/alpha/gthr-posix.c: Remove.
7266 * config/alpha/libgcc-osf5.ver: Remove.
7267 * config/alpha/osf5-unwind.h: Remove.
7268 * config/alpha/t-osf-pthread: Remove.
7269 * config/alpha/t-slibgcc-osf: Remove.
7270 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
7271 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
7272 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
7273 * mkmap-flat.awk: Remove osf_export handling.
7274
33e3e24d
RG
72752012-03-12 Richard Guenther <rguenther@suse.de>
7276
7277 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
7278 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
7279 (__gthread_mutex_init_function): New function.
7280 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
7281
7282 PR gcov/49484
7283 * libgcov.c: Include gthr.h.
7284 (__gcov_flush_mx): New global variable.
7285 (init_mx, init_mx_once): New functions.
7286 (__gcov_flush): Protect self with a mutex.
7287 (__gcov_fork): Re-initialize mutex after forking.
7288 * unwind-dw2-fde.c: Change condition under which to use
7289 __GTHREAD_MUTEX_INIT_FUNCTION.
7290
d8aba32a
TG
72912012-03-12 Tristan Gingold <gingold@adacore.com>
7292
7293 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
7294 * config/ia64/t-vms: Likewise.
7295
75ffafdc
MH
72962012-03-11 Michael Hope <michael.hope@linaro.org>
7297
4a172156
UB
7298 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
7299 for Thumb-2.
75ffafdc 7300
ef6c2c53
WL
73012012-03-07 Walter Lee <walt@tilera.com>
7302
7303 * config/tilepro/atomic.c: Rename "atomic_" prefix to
7304 "arch_atomic_".
7305 (atomic_xor): Rename and move definition to
7306 config/tilepro/atomic.h.
7307 (atomic_nand): Ditto.
7308 * config/tilepro/atomic.h: Rename "atomic_" prefix to
7309 "arch_atomic_".
7310 (arch_atomic_xor): Move from config/tilepro/atomic.c.
7311 (arch_atomic_nand): Ditto.
7312
4e30d980
GJL
73132012-03-07 Georg-Johann Lay <avr@gjlay.de>
7314
7315 PR target/52507
7316 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
7317
61108225
GJL
73182012-03-07 Georg-Johann Lay <avr@gjlay.de>
7319
7320 PR target/52505
7321 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
7322 from RAM.
7323
b30e10ab
GJL
73242012-03-07 Georg-Johann Lay <avr@gjlay.de>
7325
7326 PR target/52461
7327 PR target/52508
7328 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
7329 if RAMPZ affects reading from RAM.
7330 (__tablejump_elpm__): Ditto.
7331 (.xload): Ditto.
7332 (__movmemx_hi): Ditto.
7333 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
7334 (__do_global_dtors): Ditto.
7335 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
7336 (__movmemx_hi): Ditto.
7337
8993fde4
RH
73382012-03-05 Richard Henderson <rth@redhat.com>
7339
7340 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
7341 [ARM] (count_trailing_zeros): Use the builtin.
7342
b7633ee3
KT
73432012-03-01 Kai Tietz <ktietz@redhat.com>
7344
7345 * soft-fp: Imported from glibc upstream.
7346
fbd3340c
KT
73472012-02-28 Kai Tietz <ktietz@redhat.com>
7348
7349 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
7350 for mingw-targets as attribute gcc_struct.
7351
e9e053eb
ILT
73522012-02-28 Ian Lance Taylor <iant@google.com>
7353
7354 * generic-morestack.c (__splitstack_releasecontext): Correct call
7355 to __morestack_release_segments.
7356
d80c632e
ST
73572012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
7358
7359 PR target/52390
7360 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
7361 for __linux__ when removing signals from __morestack_fullmask.
7362
0253a8b1
GJL
73632012-02-23 Georg-Johann Lay <avr@gjlay.de>
7364
7365 PR target/52261
7366 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
7367
e10e461e
UW
73682012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7369
7370 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
7371 instead of HAVE_INITFINI_ARRAY.
7372 * config/ia64/crtend.S: Likewise.
7373
0c0c6398
KT
73742012-02-20 Kai Tietz <ktietz@redhat.com>
7375
d7470374
KT
7376 PR libstdc++/52300
7377 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
7378
0c0c6398
KT
7379 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
7380 to w32-unwind.h header.
7381
78c27266
RS
73822012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
7383
7384 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
7385 (mips*-*-linux*): Remove t-slibgcc-libgcc.
7386 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
7387 * config/mips/mips16.S (__mips16_rdhwr): Delete.
7388
5adeb246
RS
73892012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
7390
7391 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
7392
672ed313
IS
73932012-02-15 Iain Sandoe <iains@gcc.gnu.org>
7394
7395 PR libitm/52220
7396 * config/darwin-crt-tm.c: Correct typo.
e9e053eb 7397
e948a1fb
IS
73982012-02-15 Iain Sandoe <iains@gcc.gnu.org>
7399 Patrick Marlier <patrick.marlier@gmail.com>
7400
7401 PR libitm/52220
7402 * config/darwin-crt-tm.c: Generate dummy functions.
7403
6017aed3
IS
74042012-02-15 Iain Sandoe <iains@gcc.gnu.org>
7405 Patrick Marlier <patrick.marlier@gmail.com>
7406
7407 PR libitm/52042
7408 * config/darwin-crt-tm.c (getTMCloneTable): New function.
7409 (__doTMRegistrations): Call it.
e9e053eb 7410 (__doTMdeRegistrations): Likewise.
6017aed3 7411
2da8c1ad 74122012-01-15 Georg-Johann Lay <avr@gjlay.de>
7d296953
JJ
7413 Anatoly Sokolov <aesok@post.ru>
7414 Eric Weddington <eric.weddington@atmel.com>
2da8c1ad
GJL
7415
7416 PR target/52261
7417 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
7418 (__epilogue_restores__): Ditto.
7419
0f952eb4
EB
74202012-02-15 Eric Botcazou <ebotcazou@adacore.com>
7421
7422 PR target/51921
7423 PR target/52205
7424 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
7425 Solaris 11 and slightly reformat.
7426 (sparc_is_sighandler): Likewise.
7427
dd552284
WL
74282012-02-14 Walter Lee <walt@tilera.com>
7429
7430 * config.host: Handle tilegx and tilepro.
7431 * config/tilegx/sfp-machine.h: New file.
7432 * config/tilegx/sfp-machine32.h: New file.
7433 * config/tilegx/sfp-machine64.h: New file.
7434 * config/tilegx/t-crtstuff: New file.
7435 * config/tilegx/t-softfp: New file.
7436 * config/tilegx/t-tilegx: New file.
7437 * config/tilepro/atomic.c: New file.
7438 * config/tilepro/atomic.h: New file.
7439 * config/tilepro/linux-unwind.h: New file.
7440 * config/tilepro/sfp-machine.h: New file.
7441 * config/tilepro/softdivide.c: New file.
7442 * config/tilepro/softmpy.S: New file.
7443 * config/tilepro/t-crtstuff: New file.
7444 * config/tilepro/t-tilepro: New file.
7445
b59cbd50
JW
74462012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
7447
7448 PR libstdc++/51296
7449 PR libstdc++/51906
7450 * gthr-posix.h: Allow static initializer macros to be disabled.
7451 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
7452
6caf807f
CLT
74532012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
7454
7455 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
7456 Add t-slibgcc-libgcc to tmake_file.
7457 * config/mips/libgcc-mips16.ver: Revert previous patch.
7458 * config/mips/mips16.S (__mips16_rdhwr): Hide.
7459
7d296953
JJ
74602012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
7461 Jayant R Sonar <jayant.sonar@kpitcummins.com>
b25364a0
S
7462
7463 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
7464 * config/cr16/crti.S: New file.
7465 * config/cr16/crtlibid.S: New file.
7466 * config/cr16/crtn.S: New file.
7467 * config/cr16/lib1funcs.S: New file.
7468 * config/cr16/t-cr16: New file.
7469 * config/cr16/t-crtlibid: New file.
7470 * config/cr16/unwind-dw2.h: New file.
7471 * config/cr16/unwind-cr16.c: New file.
7472 * config/cr16/divmodhi3.c: New file.
7473
8ef03aa7
AM
74742012-01-25 Alan Modra <amodra@gmail.com>
7475
7476 * config/rs6000/t-linux64: Delete. Move..
7477 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
7478 * config/rs6000/t-linux: ..and libgcc flags to here.
7479
daecebc8
DR
74802012-01-22 Douglas B Rupp <rupp@gnat.com>
7481
7482 * config.host (i[34567]86-*-interix3*):
8ef03aa7 7483 Change triplet to i[34567]86-*-interix[3-9]*.
daecebc8
DR
7484 * configure: Regenerate.
7485
ddaf8125
RS
74862012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
7487 Richard Sandiford <rdsandiford@googlemail.com>
7488
7489 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
7490 * config/mips/mips16.S (__mips16_rdhwr): New function.
7491 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
7492
2cd8b32c
NS
74932012-01-11 Nathan Sidwell <nathan@acm.org>
7494
7495 * libgcov.c (__gcov_init): Ignore objects with no functions.
7496
cba300dd
GJL
74972012-01-10 Georg-Johann Lay <avr@gjlay.de>
7498
7499 PR target/49868
7500 Extend __pgmx semantics to linearize memory.
7501 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
7502 * config/avr/lib1funcs.S (__xload_1): New function.
7503 (__movmemx_qi, __movmemx_hi): New functions.
7504 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
7505 semantics.
9ffaf4bc 7506
3d137660
EB
75072012-01-09 Eric Botcazou <ebotcazou@adacore.com>
7508
7509 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
7510 purported sigacthandler address isn't null before dereferencing it.
7511 (sparc_is_sighandler): Likewise.
7512
bf4db96c
EB
75132012-01-09 Eric Botcazou <ebotcazou@adacore.com>
7514
7515 PR ada/41929
7516 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
7517 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
7518 (sparc_is_sighandler): Likewise.
7519 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
7520
1ab3568b
TG
75212012-01-06 Tristan Gingold <gingold@adacore.com>
7522
7523 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
7524 compatibility thunks...
7525 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
7526 (crtbeginS.o, crtendS.o): ... and these to ...
7527 * config/ia64/t-ia64-elf: ... this new file.
7528 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
7529 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
7530
925b0ed8
AK
75312012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7532
7533 * configure: Regenerate.
7534 * config/s390/t-crtstuff: Remove -fPIC.
7535
a99ad737
JW
75362012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
7537
7538 PR bootstrap/51006
7539 * enable-execute-stack-mprotect.c (getpagesize): Do not define
7540 for NetBSD.
7541
884f56d1
GJL
75422012-01-02 Georg-Johann Lay <avr@gjlay.de>
7543
7544 PR target/51345
7545 * config/avr/lib1funcs.S: Remove FIXME comments.
7546 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
7547
8c57e547
GJL
75482012-01-02 Georg-Johann Lay <avr@gjlay.de>
7549
7550 Implement light-weight DImode support.
7551 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
7552 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
7553 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
7554 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
7555
04dbc287
NS
75562011-12-30 Nathan Sidwell <nathan@acm.org>
7557
7558 * libgcov.c (gcov_crc32): Remove global var.
7559 (free_fn_data): New function.
7560 (buffer_fn_data): Pass in filename, more robust error recovery.
7561 (crc32_unsigned): New function.
7562 (gcov_exit): More robust detection of new program. More robust
7563 error recovery.
7564 (__gcov_init): Do not update program's crc here.
7565
8e1d97d4
TG
75662011-12-21 Tristan Gingold <gingold@adacore.com>
7567
7568 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
7569
9ffaf4bc
ILT
75702011-12-21 Ian Lance Taylor <iant@google.com>
7571
7572 * config/i386/morestack.S: Simplify CFI opcodes throughout.
7573
a0c8d0c1
ILT
75742011-12-20 Ian Lance Taylor <iant@google.com>
7575
7576 * config/i386/morestack.S (__morestack_non_split): If there is
7577 enough stack space already, don't split. Ask for more stack space
7578 than we required.
7579
69048898
SDJ
75802011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
7581
7582 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
7583 `sys/sdt.h'.
7584 (_Unwind_DebugHook): New function.
7585 (uw_restore_core_regs): New define.
7586 (unwind_phase2): Use uw_restore_core_regs instead of
7587 restore_core_regs.
7588 (unwind_phase2_forced): Likewise.
7589 (__gnu_Unwind_Resume): Likewise.
7590
1bb4b6a3
UB
75912011-12-20 Uros Bizjak <ubizjak@gmail.com>
7592
7593 * config/alpha/linux-unwind.h: Update copyright years.
7594 (MD_FROB_UPDATE_CONTEXT): New define.
7595 (alpha_frob_update_context): New function.
7596
eb028768
RS
75972011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
7598
7599 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
7600 tmake_file rather replacing it.
7601
6a2045bf
IS
76022011-12-15 Iain Sandoe <iains@gcc.gnu.org>
7603
7604 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
1bb4b6a3 7605 function is not used for PPC64.
6a2045bf
IS
7606 (save_world): Amend comments. Update the VRsave mask to reflect the
7607 saved regs.
7608 (rest_world): Update comments, do not clobber r10, do not use r8.
7609 (eh_rest_world_r10): Amend comments, do not use r8.
7610 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
7611 no longer used, move restore of CR and target address to the end of
7612 the routine.
7613
a13780a6
L
76142011-12-14 H.J. Lu <hongjiu.lu@intel.com>
7615
7616 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
7617 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
7618
d7288dfb
GJL
76192011-12-14 Georg-Johann Lay <avr@gjlay.de>
7620
7621 PR target/49313
7622 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
7623 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
7624
8d2c862d
EB
76252011-12-11 Eric Botcazou <ebotcazou@adacore.com>
7626
7627 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
7628
3447cae6
GJL
76292011-12-09 Georg-Johann Lay <avr@gjlay.de>
7630
7631 PR target/49313
7632 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
7633 * config/avr/lib1funcs.S (__muldi3): New function.
7634
806fc6aa
AP
76352011-12-06 Andrew Pinski <apinski@cavium.com>
7636
7637 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
7638 size of func_ptr.
7639 (__frame_dummy_init_array_entry): Likewise.
7640
28c5e6b5
GJL
76412011-12-06 Georg-Johann Lay <avr@gjlay.de>
7642
7643 Forward-port from gcc-4_6-branch r181936 2011-12-02.
7644
7645 PR target/51345
7646 PR target/51002
7647 * config/avr/lib1funcs.S (__prologue_saves__,
7648 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
7649 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
7650
8f90394a
IS
76512011-12-04 Iain Sandoe <iains@gcc.gnu.org>
7652
7653 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
7654
06dd33ac
JDA
76552011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
7656
7657 PR other/51272
7658 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
7659 (_ITM_deregisterTMCloneTable): Likewise.
7660 (__register_frame_info): Fix unused warning.
7661 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
7662 pthread_default_stacksize_np): Likewise.
7663 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
1bb4b6a3 7664
85b8555e
DD
76652011-11-29 DJ Delorie <dj@redhat.com>
7666
7667 * config.host (rl78-*-elf): New case.
7668 * config/rl78: New directory for the Renesas RL78.
7669
4d5ae4ea
BS
76702011-11-29 Bernd Schmidt <bernds@codesourcery.com>
7671
7672 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
7673 formatting.
7674
f9c55897
RO
76752011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7676
7677 PR other/51022
7678 * config/rs6000/t-savresfgpr: New file.
7679 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
7680 $(srcdir)/config/rs6000/eabi.S.
7681 * config/rs6000/t-ppccomm-ldbl: Remove.
7682 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
7683 tmake_file.
7684 (powerpc-*-eabispe*): Likewise.
7685 (powerpc-*-eabi*): Likewise.
7686 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
7687 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
7688 to tmake_file, remove rs6000/t-ppccomm-ldbl.
7689 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
7690 tmake_file.
7691 (powerpc-*-eabisim*): Likewise.
7692 (powerpc-*-elf*): Likewise.
7693 (powerpc-*-eabialtivec*): Likewise.
7694 (powerpc-xilinx-eabi*): Likewise.
7695 (powerpc-*-rtems*): Likewise.
7696 (powerpcle-*-elf*): Likewise.
7697 (powerpcle-*-eabisim*): Likewise.
7698 (powerpcle-*-eabi*): Likewise.
7699
a01207c4
ILT
77002011-11-27 Ian Lance Taylor <iant@google.com>
7701
7702 * generic-morestack.c (__splitstack_find): Check for NULL old
7703 stack value.
7704 (__splitstack_resetcontext): New function.
7705 (__splitstack_releasecontext): New function.
7706 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
7707
2b0b8ab2
IS
77082011-11-27 Iain Sandoe <iains@gcc.gnu.org>
7709
7710 * config/darwin-crt-tm.c: Correct comments, use correct licence.
7711
c1d8101c
IS
77122011-11-27 Iain Sandoe <iains@gcc.gnu.org>
7713
7714 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
7715
8b281334
RH
77162011-11-26 Richard Henderson <rth@redhat.com>
7717
7718 * config/m68k/linux-atomic.c: New file.
7719 * config/m68k/t-linux: New file.
7720 * config.host (m68k-uclinux, m68k-linux): Use it.
7721
7546aa9d
RH
77222011-11-26 Richard Henderson <rth@redhat.com>
7723
7724 * crtstuff.c (__TMC_LIST__): Mark used not unused.
7725 (__TMC_END__): Only declare if hidden is available; in the definition,
7726 if hidden is unavailable add a null record.
7727 (deregister_tm_clones, register_tm_clones): New.
7728 (__do_global_dtors_aux, frame_dummy): Use them.
7729 (__do_global_dtors, __do_global_ctors_1): Likewise.
7730
e2362f5d
IS
77312011-11-22 Iain Sandoe <iains@gcc.gnu.org>
7732
7733 * config/darwin-crt-tm.c: New file.
7734 * config.host (darwin): Build crttms.o crttme.o to provide
7735 startup and shutdown for tm clones.
7736 * config/t-darwin (crttms.o): New build rule.
7737 (crttme.o): Likewise.
7738
6685dd96
HPN
77392011-11-21 Hans-Peter Nilsson <hp@axis.com>
7740
7741 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
7742 et al.
7743
b0dc7e4c
RH
77442011-11-21 Richard Henderson <rth@redhat.com>
7745
7746 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
7747 (__TMC_LIST__, __TMC_END__): New.
7748 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
7749 (__do_global_dtors): Likewise.
7750 (frame_dummy): Call _ITM_registerTMCloneTable.
7751 (__do_global_ctors_1): Likewise.
7752
d4b4b542
RO
77532011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7754
7755 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
7756 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
7757 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
7758 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
7759 * config/i386/t-darwin64: Remove.
7760 * config/sh/t-netbsd (LIB2ADD): Remove.
7761
989bdb74
GJL
77622011-11-21 Georg-Johann Lay <avr@gjlay.de>
7763
7764 PR target/49313
7765 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
7766 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
7767 * config/avr/lib1funcs.S (wmov): New assembler macro.
7768 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
7769 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
7770 (__udivmod64): New function.
7771 (__negdi2): New function.
7772
515a0cfc
GP
77732011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
7774
7775 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
7776 *-*-freebsd*aout*): Remove.
7777
0115d17f
HPN
77782011-11-20 Hans-Peter Nilsson <hp@axis.com>
7779
7780 * static-object.mk (c_flags-$o): Save c_flags.
7781 ($(base)$(objext)): Use it.
7782
93aeb62b
SE
77832011-11-18 Steve Ellcey <sje@cup.hp.com>
7784
7785 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
7786
7bc6df2c
GJL
77872011-11-18 Georg-Johann Lay <avr@gjlay.de>
7788
7789 PR target/49868
7790 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
7791 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
7792 New functions.
7793
425d737b
MGD
77942011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
7795
7796 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
7797 functions.
1bb4b6a3 7798 (aeabi_uidivmod): Likewise.
425d737b
MGD
7799 (umodsi3): Likewise.
7800 (divsi3): Likewise.
7801 (aeabi_idivmod): Likewise.
7802 (modsi3): Likewise.
7803
f2a176dc
TG
78042011-11-16 Tristan Gingold <gingold@adacore.com>
7805
7806 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
7807
7c209481
GJL
78082011-11-15 Georg-Johann Lay <avr@gjlay.de>
7809
7810 PR target/49868
7811 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
7812 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
7813
9dfd5832
JDA
78142011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
7815
7816 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
7817 tmake_file list.
7818 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
7819 * config/pa/t-stublib64: Delete.
7820
f77dca5d
RH
78212011-11-12 Richard Henderson <rth@redhat.com>
7822
7823 * config/rs6000/linux-unwind.h (frob_update_context): Properly
7824 cast the pointer argument to _Unwind_SetGRPtr.
7825
902828f0
RO
78262011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7827
7828 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
7829
e14304ef
ILT
78302011-11-09 Ian Lance Taylor <iant@google.com>
7831
7832 * generic-morestack.c: Include <string.h>.
7833 (uintptr_type): Define.
7834 (struct initial_sp): Add dont_block_signals field. Reduce size of
7835 extra array by 1.
7836 (allocate_segment): Set prev field to NULL. Don't set
7837 __morestack_current_segment or __morestack_segments.
7838 (__generic_morestack): Update current->prev and *pp after calling
7839 allocate_segment.
7840 (__morestack_block_signals): Don't do anything if
7841 dont_block_signals is set.
7842 (__morestack_unblock_signals): Likewise.
7843 (__generic_findstack): Check for initial_sp == NULL. Add casts to
7844 uintptr_type.
7845 (__splitstack_block_signals): New function.
7846 (enum __splitstack_content_offsets): Define.
7847 (__splitstack_getcontext, __splitstack_setcontext): New functions.
7848 (__splitstack_makecontext): New function.
7849 (__splitstack_block_signals_context): New function.
7850 (__splitstack_find_context): New function.
7851 * config/i386/morestack.S (__morestack_get_guard): New function.
7852 (__morestack_set_guard, __morestack_make_guard): New functions.
7853 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
7854
e3d871e4
RO
78552011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7856
7857 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
7858 (i[34567]86-*-mingw*): ... here.
7859 (x86_64-*-mingw*): ... here.
7860
e55cef40
RO
78612011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7862
7863 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
7864
5366b186
NS
78652011-11-07 Nathan Sidwell <nathan@acm.org>
7866
7867 * libgcov.c (struct gcov_fn_buffer): New struct.
7868 (buffer_fn_data): New helper.
7869 (gcov_exit): Rework for new gcov data structures.
7870
74155a6f
GJL
78712011-11-07 Georg-Johann Lay <avr@gjlay.de>
7872
7873 PR target/49313
7874 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
7875
200feb07
RO
78762011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7877
7878 * config.host (tmake_file): Correct comment.
7879 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
7880 t-libgcc-pic.
7881 (bfin*-uclinux*): Likewise.
7882 (bfin*-linux-uclibc*): Likewise.
7883 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
7884
7885 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
7886 assigning.
7887 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7888 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
7889 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7890 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
7891 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7892 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
7893 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
7894 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7895 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
7896 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
7897 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
7898 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
7899 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
7900
7901 * config/bfin/t-elf: Remove.
7902 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
7903
c9cd1a07
RO
79042011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7905
7906 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
7907 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
7908 (lm32-*-elf*, lm32-*-rtems*): Split into ...
7909 (lm32-*-elf*): ... this.
7910 (lm32-*-rtems*): ... and this.
7911 Add to tmake_file.
7912 (m32r-*-rtems*): Add to tmake_file.
7913 (moxie-*-rtems*): Likewise.
7914 (sparc-*-rtems*): Likewise.
7915 Remove t-rtems from tmake_file.
7916 (sparc64-*-rtems*): Likewise.
7917 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
7918 instead.
7919
9fbcc75d
RO
79202011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7921
7922 PR bootstrap/50982
7923 * config/gthr-posix.h: Move ...
7924 * gthr-posix.h: ... here.
7925 * config/gthr-lynx.h: Reflect this.
7926 * config/gthr-vxworks.h: Likewise.
7927 * config/rs6000/gthr-aix.h: Likewise.
7928 * configure.ac (target_thread_file): Likewise.
7929 * configure: Regenerate.
7930
76644b68
SH
79312011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
7932
7933 * config.host (arm*-*-rtemseabi*): New target.
7934
5e490f2a
JDA
79352011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
7936
7937 PR other/50991
7938 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
7939 extra-parts.
7940
feeeff5c
JR
79412011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
7942
7943 * config.host (epiphany-*-elf*): New configuration.
7944 * config/epiphany: New Directory.
7945
d618bb2c
RC
79462011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
7947
7948 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
7949 * config/avr/t-rtems: New.
7950 Filter out _exit from LIB1ASMFUNCS.
7951
1bb6f778
DM
79522011-11-04 David S. Miller <davem@davemloft.net>
7953
7954 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
7955 * configure: Rebuild.
7956
9a7f7422
AK
79572011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7958
7959 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
7960 variable.
7961
e4fe948a
GJL
79622011-11-04 Georg-Johann Lay <avr@gjlay.de>
7963
7964 PR target/50931
7965 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
7966 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
7967
7084e037
JS
79682011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
7969
7970 PR target/50989
7971 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
7972
1a032034
RO
79732011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7974
7975 * config/c6x/t-elf (LIB2ADDEH): Set.
7976 * config/c6x/t-c6x-elf: Remove.
7977
d385f772
RO
79782011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7979
7980 * config/i386/sol2-ci.S: Rename to ...
7981 * config/i386/crti.S: ... this.
7982 * config/i386/sol2-cn.S: Rename to ...
7983 * config/i386/crtn.S: ... this.
7984 * config/sparc/sol2-ci.S: Rename to ...
7985 * config/sparc/crti.S: ... this.
7986 * config/sparc/sol2-cn.S: Rename to ...
7987 * config/sparc/crtn.S: ... this.
7988 * config/t-sol2 (CUSTOM_CRTIN): Remove.
7989 (crti.o, crtn.o): Remove.
7990
1ba878a9
TG
79912011-11-04 Tristan Gingold <gingold@adacore.com>
7992
7993 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
7994
02750c15
KK
79952011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
7996
7997 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
7998
bf86b067
HPN
79992011-11-03 Hans-Peter Nilsson <hp@axis.com>
8000
8001 * config.host (crisv32-*-none, cris-*-none): Remove.
8002 (crisv32-*-elf): Append to tmake_file, don't just set it.
8003 (cris-*-elf): Add missing t-fdpbit to tmake_file.
8004
d0bc53bd
RO
80052011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8006
8007 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
8008 (ecrtn$(objext)): Likewise.
8009 (ncrti$(objext)): Likewise.
8010 (ncrtn$(objext)): Likewise.
8011
036da830
AS
80122011-11-03 Andreas Schwab <schwab@redhat.com>
8013
8014 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
8015
d2a7d041
DM
80162011-11-02 David S. Miller <davem@davemloft.net>
8017
8018 * configure.ac: Set host_address on sparc too.
8019 * configure: Regenerate.
8020 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
8021 based upon host_address.
8022 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
8023
af8ed618
JM
80242011-11-02 Jason Merrill <jason@redhat.com>
8025
8026 * config/rs6000/t-ppccomm: Add missing \.
8027
5d1c8e77
RO
80282011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8029
8030 * gthr-single.h, gthr.h: New files.
8031 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
8032 config/gthr-vxworks.h, config/i386/gthr-win32.h,
8033 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
8034 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
8035 * config/i386/gthr-win32.c: Include "gthr-win32.h".
8036 * configure.ac (thread_header): New variable.
8037 Set it depending on target_thread_file.
8038 (gthr-default.h): Link from $thread_header.
8039 * configure: Regenerate.
8040 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
8041
852b75ed
RO
80422011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8043
8044 * configure.ac (tm_file_): New variable.
8045 Determine from tm_file.
8046 (tm_file, tm_defines): Substitute.
8047 * configure: Regenerate.
8048 * mkheader.sh: New file.
8049 * Makefile.in (clean): Remove libgcc_tm.h.
8050 ($(objects)): Depend on libgcc_tm.h.
8051 (libgcc_tm_defines, libgcc_tm_file): New variables.
8052 (libgcc_tm.h, libgcc_tm.stamp): New targets.
8053 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
8054 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
8055 ($(extra-parts)): Depend on libgcc_tm.h.
8056 * config.host (tm_defines, tm_file): New variable.
8057 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
8058 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
8059 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
8060 (avr-*-rtems*): Likewise.
8061 (avr-*-*): Likewise.
8062 (frv-*-elf): Likewise.
8063 (frv-*-*linux*): Likewise.
8064 (h8300-*-rtems*): Likewise.
8065 (h8300-*-elf*): Likewise.
8066 (i[34567]86-*-darwin*): Likewise.
8067 (x86_64-*-darwin*): Likewise.
8068 (rx-*-elf): Likewise.
8069 (tic6x-*-uclinux): Likewise.
8070 (tic6x-*-elf): Likewise.
8071 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
8072 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
8073 * config/i386/cygming-crtbegin.c: Likewise.
8074 * config/i386/cygming-crtend.c: Likewise.
8075 * config/ia64/fde-vms.c: Likewise.
8076 * config/ia64/unwind-ia64.c: Likewise.
8077 * config/libbid/bid_gcc_intrinsics.h: Likewise.
8078 * config/rs6000/darwin-fallback.c: Likewise.
8079 * config/stormy16/lib2funcs.c: Likewise.
8080 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
8081 * crtstuff.c: Likewise.
8082 * dfp-bit.h: Likewise.
8083 * emutls.c: Likewise.
8084 * fixed-bit.c: Likewise.
8085 * fp-bit.c: Likewise.
8086 * generic-morestack-thread.c: Likewise.
8087 * generic-morestack.c: Likewise.
8088 * libgcc2.c: Likewise.
8089 * libgcov.c: Likewise.
8090 * unwind-dw2-fde-dip.c: Likewise.
8091 * unwind-dw2-fde.c: Likewise.
8092 * unwind-dw2.c: Likewise.
8093 * unwind-sjlj.c: Likewise.
8094
f9989b51
RO
80952011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8096
8097 * configure.ac: Include ../config/picflag.m4.
8098 (GCC_PICFLAG): Call it.
8099 Substitute.
8100 * configure: Regenerate.
8101 * Makefile.in (gcc_srcdir): Remove.
8102 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
8103 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
8104 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
8105 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
8106 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
8107 Use $<.
8108 Remove comment.
8109 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
8110 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
8111 to refer to libgcc2.c.
8112 Use $<.
8113 * config/darwin-64.c: New file.
8114 * config/darwin-crt3.c: Remove comment.
8115 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
8116 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
8117 config/udivmodsi4.c: New files.
8118 * config/memcmp.c, config/memcpy.c, config/memmove.c,
8119 config/memset.c: New files.
8120 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
8121 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
8122 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
8123 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
8124 * config/t-openbsd-thread: New file.
8125 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
8126 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
8127 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
8128 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
8129 qrnnd.S.
8130 Adapt filename.
8131 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
8132 to refer to gthr-posix.c.
8133 * config/alpha/t-vms (LIB2ADD): Set.
8134 * config/alpha/vms-gcc_shell_handler.c: New file.
8135 * config/arm/bpabi.c, config/arm/fp16.c,
8136 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
8137 config/arm/unaligned-funcs.c: New files.
8138 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
8139 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
8140 * config/arm/t-linux: Likewise.
8141 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
8142 * config/arm/t-netbsd: New file.
8143 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
8144 * config/arm/t-symbian (LIB2ADD_ST): Set.
8145 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
8146 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8147 * config/bfin/t-elf: New file.
8148 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
8149 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
8150 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
8151 config/c6x/ltf.c: New files.
8152 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
8153 (HOST_LIBGCC2_CFLAGS): Set.
8154 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
8155 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8156 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
8157 New files.
8158 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
8159 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
8160 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
8161 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
8162 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
8163 files.
8164 * config/frv/t-frv (LIB2ADD): Set.
8165 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8166 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
8167 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
8168 config/h8300/popcounthi2.c: New files.
8169 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
8170 * config/i386/gthr-win32.c: New file.
8171 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
8172 * config/i386/t-cygwin: Likewise.
8173 * config/i386/t-darwin, config/i386/t-darwin64,
8174 config/i386/t-gthr-win32, config/i386/t-interix: New files.
8175 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
8176 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8177 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8178 * config/ia64/quadlib.c: New file.
8179 * config/ia64/t-hpux (LIB2ADD): Set.
8180 * config/ia64/t-ia64: Add comment.
8181 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
8182 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8183 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
8184 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
8185 * config/m32c/t-m32c (LIB2ADD): Set.
8186 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
8187 * config/m32r/t-m32r: Likewise.
8188 * config/m68k/fpgnulib.c: New file.
8189 * config/m68k/t-floatlib (LIB2ADD): Set.
8190 (xfgnulib.c): New target.
8191 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
8192 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
8193 * config/mep/t-mep (LIB2ADD): Set.
8194 * config/microblaze/divsi3.asm: Rename to divsi3.S.
8195 * config/microblaze/moddi3.asm: Rename to moddi3.S.
8196 * config/microblaze/modsi3.asm: Rename to modsi3.S.
8197 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
8198 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
8199 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
8200 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
8201 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
8202 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
8203 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
8204 New files.
8205 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
8206 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
8207 * config/pa/fptr.c, config/pa/lib2funcs.S,
8208 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
8209 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
8210 (LIB2ADD, LIB2ADD_ST): Set.
8211 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
8212 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
8213 Set.
8214 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
8215 * config/pdp11/t-pdp11: New file.
8216 * config/picochip/libgccExtras/adddi3.S,
8217 config/picochip/libgccExtras/ashlsi3.S,
8218 config/picochip/libgccExtras/ashrsi3.S,
8219 config/picochip/libgccExtras/clzsi2.S,
8220 config/picochip/libgccExtras/cmpsi2.S,
8221 config/picochip/libgccExtras/divmod15.S,
8222 config/picochip/libgccExtras/divmodhi4.S,
8223 config/picochip/libgccExtras/divmodsi4.S,
8224 config/picochip/libgccExtras/lshrsi3.S,
8225 config/picochip/libgccExtras/parityhi2.S,
8226 config/picochip/libgccExtras/popcounthi2.S,
8227 config/picochip/libgccExtras/subdi3.S,
8228 config/picochip/libgccExtras/ucmpsi2.S,
8229 config/picochip/libgccExtras/udivmodhi4.S,
8230 config/picochip/libgccExtras/udivmodsi4.S: New files.
8231 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
8232 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
8233 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
8234 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
8235 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
8236 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
8237 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
8238 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
8239 files.
8240 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
8241 (HOST_LIBGCC2_CFLAGS): Set.
8242 * config/rs6000/t-darwin64: New file.
8243 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
8244 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
8245 * config/rs6000/t-ppccomm (LIB2ADD): Add
8246 $(srcdir)/config/rs6000/tramp.S.
8247 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
8248 Add $(srcdir)/config/rs6000/eabi.S.
8249 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
8250 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
8251 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
8252 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
8253 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
8254 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
8255 * config/rs6000/tramp.S: New file.
8256 * config/s390/t-tpf: Remove.
8257 * config/sh/linux-atomic.S: New file.
8258 * config/sh/t-linux (LIB2ADD): Set.
8259 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
8260 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
8261 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
8262 to unwind-dw2.c.
8263 (HOST_LIBGCC2_CFLAGS): Set.
8264 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8265 * config/spu/divmodti4.c, config/spu/divv2df3.c,
8266 config/spu/float_disf.c, config/spu/float_unsdidf.c,
8267 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
8268 config/spu/mfc_multi_tag_release.c,
8269 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
8270 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
8271 config/spu/multi3.c: New files.
8272 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
8273 (HOST_LIBGCC2_CFLAGS): Set.
8274 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
8275 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
8276 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
8277 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
8278 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
8279 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
8280 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
8281 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
8282 config/stormy16/umodsi3.c: New files.
8283 * config/xtensa/lib2funcs.S: New file.
8284 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
8285 * config/xtensa/t-xtensa (LIB2ADD): Set.
8286 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
8287 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
8288 Add t-freebsd-thread to tmake_file for posix threads.
8289 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
8290 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
8291 (*-*-lynxos*): Likewise.
8292 (*-*-netbsd*): Likewise.
8293 (*-*-openbsd*): Likewise.
8294 Add t-openbsd-thread to tmake_file for posix threads.
8295 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
8296 (*-*-vxworks*): Set tmake_file.
8297 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
8298 (alpha*-*-freebsd*): Likewise.
8299 (alpha*-*-netbsd*): Likewise.
8300 (alpha*-*-openbsd*): Likewise.
8301 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
8302 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
8303 (alpha*-dec-*vms*): Likewise.
8304 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
8305 (bfin*-elf*): Add bfin/t-elf to tmake_file.
8306 (bfin*-uclinux*): Likewise.
8307 (bfin*-linux-uclibc*): Likewise.
8308 (crisv32-*-elf): Add cris/t-cris to tmake_file.
8309 (crisv32-*-none): Likewise.
8310 (cris-*-elf): Likewise.
8311 (cris-*-none): Likewise.
8312 (cris-*-linux*, crisv32-*-linux*): Likewise.
8313 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
8314 tmake_file.
8315 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
8316 tmake_file.
8317 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
8318 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
8319 (x86_64-*-elf*): Likewise.
8320 (i[34567]86-*-nto-qnx*): Likewise.
8321 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
8322 win32 threads.
8323 (x86_64-*-mingw*): Likewise.
8324 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
8325 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
8326 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
8327 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
8328 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
8329 tmake_file.
8330 (mipsisa64sr71k-*-elf*): Likewise.
8331 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
8332 (mips-*-elf*, mipsel-*-elf*): Likewise.
8333 (mips64-*-elf*, mips64el-*-elf*): Likewise.
8334 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
8335 (mips*-*-rtems*): Likewise.
8336 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
8337 to tmake_file.
8338 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
8339 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
8340 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
8341 (spu-*-elf*): Likewise.
8342 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
8343
45b86625
RO
83442011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8345
8346 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
8347 $(srcdir) to refer to $(LIB1ASMSRC).
8348 Use $<.
8349 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
8350 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
8351 config/arm/lib1funcs.S: New files.
8352 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
8353 * config/arm/t-arm: New file.
8354 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
8355 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
8356 config/arm/t-strongarm-elf: New files.
8357 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
8358 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
8359 * config/avr/lib1funcs.S: New file.
8360 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8361 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
8362 * config/c6x/lib1funcs.S: New file.
8363 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8364 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
8365 * config/frv/lib1funcs.S: New file.
8366 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8367 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
8368 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
8369 * config/ia64/__divxf3.asm: Rename to ...
8370 * config/ia64/__divxf3.S: ... this.
8371 Adapt lib1funcs.asm filename.
8372 * config/ia64/_fixtfdi.asm: Rename to ...
8373 * config/ia64/_fixtfdi.S: ... this.
8374 Adapt lib1funcs.asm filename.
8375 * config/ia64/_fixunstfdi.asm: Rename to ...
8376 * config/ia64/_fixunstfdi.S: ... this.
8377 Adapt lib1funcs.asm filename.
8378 * config/ia64/_floatditf.asm: Rename to ...
8379 * config/ia64/_floatditf.S: ... this.
8380 Adapt lib1funcs.asm filename.
8381 * config/ia64/lib1funcs.S: New file.
8382 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
8383 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8384 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
8385 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
8386 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
8387 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
8388 * config/mep/lib1funcs.S: New file.
8389 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8390 * config/mips/mips16.S: New file.
8391 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8392 * config/pa/milli64.S: New file.
8393 * config/pa/t-linux, config/pa/t-linux64: New files.
8394 * config/picochip/lib1funcs.S: New file.
8395 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8396 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
8397 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
8398 * config/sh/t-netbsd: New file.
8399 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
8400 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
8401 * config/sh/t-sh64: New file.
8402 * config/sparc/lb1spc.S: New file.
8403 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
8404 filename.
8405 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
8406 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
8407 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
8408 config/xtensa/lib1funcs.S: New files.
8409 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8410 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
8411 tmake_file.
8412 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
8413 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
8414 (arm*-*-linux*): Likewise.
8415 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
8416 arm*-*-linux-*eabi, add arm/t-linux otherwise.
8417 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
8418 (arm*-*-ecos-elf): Likewise.
8419 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
8420 (arm*-*-rtems*): Likewise.
8421 (arm*-*-elf): Likewise.
8422 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
8423 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
8424 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
8425 (bfin*-uclinux*): Likewise.
8426 (bfin*-linux-uclibc*): Likewise.
8427 (bfin*-rtems*): Likewise.
8428 (bfin*-*): Likewise.
8429 (fido-*-elf): Merge into m68k-*-elf*.
8430 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
8431 (frv-*-*linux*): Add frv/t-frv to tmake_file.
8432 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
8433 (h8300-*-elf*): Likewise.
8434 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
8435 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
8436 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
8437 (i[34567]86-*-mingw*): Likewise.
8438 (x86_64-*-mingw*): Likewise.
8439 (i[34567]86-*-interix3*): Likewise.
8440 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
8441 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
8442 (m68k-*-elf*): Also handle fido-*-elf.
8443 Add m68k/t-floatlib to tmake_file.
8444 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
8445 (m68k-*-linux*): Likewise.
8446 (m68k-*-rtems*): Likewise.
8447 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
8448 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
8449 sh64*-*-*.
8450 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
8451 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
8452 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
8453 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
8454 sh/t-netbsd to tmake_file.
8455 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
8456 (sh-*-rtems*): Add sh/t-sh to tmake_file.
8457 (sh-wrs-vxworks): Likewise.
8458 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
8459 *-leon[3-9]*.
8460 (v850*-*-*): Add v850/t-v850 to tmake_file.
8461 (vax-*-linux*): Add vax/t-linux to tmake_file.
8462 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
8463
5f73c6cc
RO
84642011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8465
8466 * crtstuff.c: New file.
8467 * Makefile.in (CRTSTUFF_CFLAGS): Define.
8468 (CRTSTUFF_T_CFLAGS): Define.
8469 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
8470 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
8471 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
8472 crtstuff.c.
8473 Use $<.
8474 (crtbeginT.o): Use $(objext).
8475 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
8476 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
8477 (gcc-extra-parts): Remove.
8478 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
8479 Set extra_parts.
8480 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
8481 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
8482 Add t-crtstuff-pic to tmake_file.
8483 (*-*-lynxos*): New case.
8484 Set tmake_file, extra_parts.
8485 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
8486 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
8487 *-*-netbsdelf[2-9]*.
8488 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
8489 (*-*-rtems*): Set extra_parts.
8490 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
8491 (*-*-uclinux*): New case.
8492 Set extra_parts.
8493 (*-*-vms*): New case.
8494 Set tmake_file, extra_parts.
8495 (*-*-elf): Set extra_parts.
8496 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
8497 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
8498 vms/t-vms64.
8499 Set extra_parts.
8500 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
8501 Set extra_parts.
8502 (arm*-*-freebsd*): Add t-crtin to tmake_file.
8503 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
8504 (arm-wrs-vxworks): Append to tmake_file.
8505 Set extra_parts.
8506 (arm*-*-uclinux*): Set extra_parts.
8507 (arm*-*-ecos-elf): Likewise.
8508 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
8509 arm*-*-eabi*.
8510 (arm*-*-rtems*): Set extra_parts.
8511 (arm*-*-elf): Likewise.
8512 (avr-*-rtems*): Clear extra_parts.
8513 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
8514 Set extra_parts.
8515 (bfin*-uclinux*): Likewise.
8516 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
8517 (bfin*-rtems*): Append to tmake_file.
8518 Set extra_parts.
8519 (bfin*-*): Likewise.
8520 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
8521 (crisv32-*-elf): ... this.
8522 (crisv32-*-none): ... this.
8523 (cris-*-elf, cris-*-none): New cases.
8524 Add cris/t-elfmulti to tmake_file.
8525 (fr30-*-elf): Append to tmake_file.
8526 Set extra_parts.
8527 (frv-*-elf): Append to tmake_file, add frv/t-frv.
8528 Set extra_parts.
8529 (h8300-*-rtems*): Append to tmake_file.
8530 Set extra_parts.
8531 (h8300-*-elf*): Likewise.
8532 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
8533 Set extra_parts.
8534 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
8535 Set extra_parts.
8536 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
8537 (x86_64-*-elf*): Likewise.
8538 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
8539 (x86_64-*-freebsd*): Likewise.
8540 (x86_64-*-netbsd*): Likewise.
8541 (i[34567]86-*-linux*): Likewise.
8542 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
8543 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
8544 (x86_64-*-linux*): Likewise.
8545 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
8546 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
8547 tmake_file.
8548 Set extra_parts.
8549 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
8550 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
8551 Append to extra_parts, remove crtbegin.o, crtend.o.
8552 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
8553 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
8554 crtend.o, crtbeginS.o, crtendS.o.
8555 (ia64*-*-linux*): Comment extra_parts.
8556 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
8557 Set extra_parts.
8558 (iq2000*-*-elf*): Clear extra_parts.
8559 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
8560 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
8561 (m32r-*-elf*, m32r-*-rtems*): Split off ...
8562 (m32r-*-rtems*): ... this.
8563 Add m32r/t-m32r to tmake_file.
8564 (m68k-*-elf*): Add t-crtin to tmake_file.
8565 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
8566 (mcore-*-elf): Likewise.
8567 (microblaze*-*-*): Set extra_parts.
8568 (mips*-sde-elf*): New case.
8569 Set tmake_file, extra_parts.
8570 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
8571 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
8572 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
8573 tmake_file.
8574 Set extra_parts.
8575 (mipsisa64sr71k-*-elf*): Likewise.
8576 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
8577 (mips-*-elf*, mipsel-*-elf*): Likewise.
8578 (mips64-*-elf*, mips64el-*-elf*): Likewise.
8579 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
8580 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
8581 (mips*-*-rtems*): Likewise.
8582 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
8583 (moxie-*-*): Split into ...
8584 (moxie-*-elf, moxie-*-uclinux*): ... this.
8585 Add to extra_parts, remove crtbegin.o, crtend.o.
8586 (moxie-*-rtems*): New case.
8587 Set tmake_file.
8588 Clear extra_parts.
8589 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
8590 Set extra_parts.
8591 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
8592 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
8593 tmake_file.
8594 Set extra_parts.
8595 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
8596 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
8597 Set extra_parts.
8598 (powerpc-*-eabisim*): Likewise.
8599 (powerpc-*-elf*): Likewise.
8600 (powerpc-*-eabialtivec*): Likewise.
8601 (powerpc-xilinx-eabi*): Likewise.
8602 (powerpc-*-eabi*): Likewise.
8603 (powerpc-*-rtems*): Likewise.
8604 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
8605 tmake_file.
8606 Set extra_parts.
8607 (powerpc-*-lynxos*): Add to tmake_file.
8608 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
8609 rs6000/t-crtstuff, t-crtstuff-pic.
8610 Set extra_parts.
8611 (powerpcle-*-eabisim*): Likewise.
8612 (powerpcle-*-eabi*): Likewise.
8613 (rx-*-elf): Remove extra_parts.
8614 (s390x-ibm-tpf*): Set extra_parts.
8615 (score-*-elf): Set extra_parts.
8616 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
8617 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
8618 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
8619 (sh64l*-*-netbsd*): Split into ...
8620 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
8621 Add t-crtstuff-pic to tmake_file.
8622 Set extra_parts.
8623 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
8624 Set extra_parts.
8625 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
8626 (sparc-*-elf*): Remove t-crtin from tmake_file.
8627 Add to extra_parts, remove crtbegin.o, crtend.o.
8628 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
8629 (sparc64-*-linux*): Likewise.
8630 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
8631 Add to extra_parts, remove crtbegin.o, crtend.o.
8632 (sparc64-*-elf*): Remove t-crtin from tmake_file.
8633 Add to extra_parts, remove crtbegin.o, crtend.o.
8634 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
8635 Add to extra_parts, remove crtbegin.o, crtend.o.
8636 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
8637 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
8638 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
8639 Set extra_parts.
8640 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
8641 Set extra_parts.
8642 (tic6x-*-*): Change to ...
8643 (tic6x-*-elf): ... this.
8644 Set extra_parts.
8645 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
8646 Set extra_parts.
8647 (am33_2.0-*-linux*): Add comment.
8648 (mep*-*-*): Add mep/t-mep to tmake_file.
8649 Set extra_parts.
8650 * config/alpha/t-vms: New file.
8651 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
8652 * config/arm/crti.S, config/arm/crtn.S: New files.
8653 * config/bfin/crti.S, config/bfin/crtn.S: New files.
8654 * config/bfin/crtlibid.S: New file.
8655 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
8656 * config/c6x/crti.S, config/c6x/crtn.S: New files.
8657 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
8658 (crti.o, crtin.o): New rules.
8659 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
8660 * config/c6x/t-uclinux: New file.
8661 * config/cris/t-elfmulti: New file.
8662 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
8663 * config/fr30/crti.S, config/fr30/crtn.S: New files.
8664 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
8665 * config/frv/t-frv: New file.
8666 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
8667 * config/h8300/crti.S, config/h8300/crtn.S: New files.
8668 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
8669 New files.
8670 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
8671 refer to cygming-crtbegin.c, cygming-crtend.c.
8672 Use $<.
8673 * config/i386/t-nto: New file.
8674 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
8675 * config/ia64/crti.S, config/ia64/crtn.S: New files.
8676 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
8677 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
8678 Use .S extension.
8679 Use $<.
8680 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
8681 (crtinitS.o): New rule.
8682 * config/ia64/vms-crtinit.S: New file.
8683 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
8684 * config/m32r/initfini.c: New file.
8685 * config/m32r/t-linux, config/m32r/t-m32r: New files.
8686 * config/m68k/crti.S, config/m68k/crtn.S: New files.
8687 * config/mcore/crti.S, config/mcore/crtn.S: New files.
8688 * config/mep/t-mep: New file.
8689 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
8690 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
8691 * config/mips/crti.S, config/mips/crtn.S: New files.
8692 * config/mips/t-crtstuff: New file.
8693 * config/mmix/crti.S, config/mmix/crtn.S: New files.
8694 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
8695 (CUSTOM_CRTIN): Set.
8696 ($(T)crti.o, $(T)crtn.o): Remove $(T),
8697 dependencies.
8698 Use $(srcdir) to refer to crti.S, crtn.S.
8699 Use .S extension, $<.
8700 * config/moxie/crti.asm: Rename to ...
8701 * config/moxie/crti.S: ... this.
8702 * config/moxie/crtn.asm: Rename to ...
8703 * config/moxie/crtn.S: ... this.
8704 * config/moxie/t-moxie: Remove.
8705 * config/pa/stublib.c: New file.
8706 * config/pa/t-stublib, config/pa/t-stublib64: New files.
8707 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
8708 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
8709 * config/rs6000/t-crtstuff: New file.
8710 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
8711 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
8712 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
8713 Make output file explicit.
8714 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
8715 Make output file explicit.
8716 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
8717 Make output file explicit.
8718 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
8719 Make output file explicit.
8720 * config/score/crti.S, config/score/crtn.S: New files.
8721 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
8722 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
8723 files.
8724 * config/sh/t-sh, config/sh/t-superh: New files.
8725 * config/sparc/t-linux64: New file.
8726 * config/spu/cache.S, config/spu/cachemgr.c: New files.
8727 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
8728 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
8729 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
8730 * config/t-crtin: Remove.
8731 * config/t-crtstuff-pic: New file.
8732 * config/t-sol2 (CUSTOM_CRTIN): Set.
8733 (crti.o, crtn.o): New rules.
8734 * config/vms/t-vms: New file.
8735 * config/vms/vms-ucrt0.c: New file.
8736 * config/xtensa/t-elf: New file.
8737
b040f2be
RO
87382011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8739
8740 * Makefile.in (SHLIB_NM_FLAGS): Set.
8741 * mkmap-flat.awk, mkmap-symver.awk: New files.
8742 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
8743 exceptions.
8744 * configure: Regenerate.
8745 * config/libgcc-glibc.ver: New file.
8746 * config/libgcc-libsystem.ver: New file.
8747 * config/t-libunwind (SHLIB_LC): Set.
8748 * config/t-linux: New file.
8749 * config/t-slibgcc (INSTALL_SHLIB): New.
8750 (SHLIB_INSTALL): Use it.
8751 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
8752 to mkmap-symver.awk.
8753 (SHLIB_MAPFILES): Don't append, adapt pathname.
8754 (SHLIB_VERPFX): Set.
8755 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
8756 to mkmap-symver.awk.
8757 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
8758 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
8759 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
8760 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
8761 to mkmap-flat.awk.
8762 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
8763 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
8764 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
8765 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
8766 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
8767 * config/i386/libgcc-darwin.10.4.ver,
8768 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
8769 New files.
8770 * config/i386/t-darwin: Remove.
8771 * config/i386/t-darwin64: Likewise.
8772 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
8773 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
8774 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
8775 * config/i386/t-linux: New file.
8776 * config/i386/t-mingw32: New file.
8777 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
8778 * config/ia64/t-glibc: Rename to ...
8779 * config/ia64/t-linux: ... this.
8780 (SHLIB_MAPFILES): Set.
8781 * config/ia64/t-glibc-libunwind: Rename to ...
8782 * config/ia64/t-linux-libunwind: ... this.
8783 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
8784 * config/ia64/t-slibgcc-hpux: New file.
8785 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
8786 * config/m68k/t-slibgcc-elf-ver: New file.
8787 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
8788 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
8789 to mkmap-flat.awk.
8790 * config/pa/t-slibgcc-hpux: New file.
8791 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
8792 files.
8793 * config/rs6000/libgcc-darwin.10.4.ver,
8794 config/rs6000/libgcc-darwin.10.5.ver: New files.
8795 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
8796 config/rs6000/libgcc-glibc.ver.
8797 * config/rs6000/libgcc-ppc64.ver: Rename to
8798 config/rs6000/libgcc-ibm-ldouble.ver.
8799 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
8800 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
8801 * config/rs6000/t-ldbl128: Rename to ...
8802 * config/rs6000/t-linux: ... this.
8803 (SHLIB_MAPFILES): Adapt filename.
8804 * config/rs6000/t-slibgcc-aix: New file.
8805 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
8806 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
8807 libgcc-excl.ver, libgcc-glibc.ver.
8808 (SHLIB_LINK, SHLIB_INSTALL): Remove.
8809 * config/sparc/libgcc-glibc.ver: New file.
8810 * config/sparc/t-linux: New file.
8811 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
8812 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
8813 t-slibgcc-elf-ver to tmake_file.
8814 Add t-slibgcc-nolc-override to tmake_file for posix threads on
8815 *-*-freebsd[34].
8816 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
8817 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
8818 t-slibgcc-elf-ver, t-linux to tmake_file.
8819 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
8820 tmake_file.
8821 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
8822 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
8823 (alpha*-dec-*vms*): Likewise.
8824 (arm*-*-freebsd*): Append to tmake_file.
8825 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
8826 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
8827 arm*-*-linux-*eabi.
8828 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
8829 tmake_file for arm*-*-symbianelf*.
8830 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
8831 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
8832 cris/t-linux.
8833 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
8834 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
8835 pa/t-slibgcc-dwarf-ver to tmake_file.
8836 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
8837 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
8838 (hppa*64*-*-hpux11*): Likewise.
8839 (hppa[12]*-*-hpux11*): Likewise.
8840 (x86_64-*-darwin*): Don't override tmake_file, but only keep
8841 i386/t-crtpc, i386/t-crtfm.
8842 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
8843 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
8844 to tmake_file.
8845 Add i386/t-cygwin to tmake_file.
8846 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
8847 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
8848 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
8849 to tmake_file.
8850 Add i386/t-mingw32 to tmake_file.
8851 (x86_64-*-mingw*): Likewise.
8852 (ia64*-*-freebsd*): Append to tmake_file.
8853 (ia64*-*-linux*): Append to tmake_file.
8854 Replace ia64/t-glibc by ia64/t-linux.
8855 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
8856 system libunwind.
8857 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
8858 t-slibgcc-hpux to tmake_file.
8859 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
8860 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
8861 (m32rle-*-linux*): Likewise.
8862 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
8863 sjlj exceptions.
8864 (microblaze*-linux*): New case.
8865 Append to tmake_file, add t-slibgcc-nolc-override.
8866 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
8867 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
8868 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
8869 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
8870 rs6000/t-slibgcc-aix to tmake_file.
8871 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8872 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8873 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
8874 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
8875 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
8876 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
8877 sh*-*-linux*.
8878 (sparc-*-linux*): Append to tmake_file for *-leon*.
8879 Add sparc/t-linux to tmake_file for non-Leon targets.
8880 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
8881 (tic6x-*-uclinux): New case.
8882 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
8883 (tic6x-*-*): Add c6x/t-elf to tmake_file.
8884 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
8885 (am33_2.0-*-linux*): Append to tmake_file.
8886 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
8887 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
8888 x86_64-*-kfreebsd*-gnu.
8889 Add i386/t-linux to tmake_file.
8890
18b4bd7b
ILT
88912011-10-28 Ian Lance Taylor <iant@google.com>
8892
8893 * config/i386/morestack.S: Correct CFI information to do proper
8894 returns throughout function. In 32-bit mode, save %ebx so that it
8895 is restored on unwind.
8896
5b2d9d90
BS
88972011-10-25 Bernd Schmidt <bernds@codesourcery.com>
8898
8899 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
8900 case where B3 isn't the return register.
8901
0d53e346
BS
8902 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
8903 logic for doubleword pops.
8904
cbffbd59
AT
89052011-10-25 Andreas Tobler <andreast@fgznet.ch>
8906
8907 * config/rs6000/t-freebsd: Add wildcard.
8908
56dc349e
PB
89092011-10-21 Paul Brook <paul@codesourcery.com>
8910
8911 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
8912
1e06b07d
UB
89132011-10-16 Uros Bizjak <ubizjak@gmail.com>
8914 Eric Botcazou <ebotcazou@adacore.com>
8915
8916 PR target/50737
8917 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
8918 fs->signal_frame to 1.
8919
b5204884
ILT
89202011-10-07 Ian Lance Taylor <iant@google.com>
8921
8922 * generic-morestack-thread.c: #include <errno.h>.
8923
91a639a1
ILT
89242011-10-07 Ian Lance Taylor <iant@google.com>
8925
8926 PR target/46093
8927 * generic-morestack.c (__generic_morestack): Make sure the segment
8928 is large enough for both the stack frame and the copied
8929 parameters.
8930
cc49116d
RO
89312011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8932
8933 PR bootstrap/49804
8934 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
8935 extra_parts.
8936
2996d8c3
NC
89372011-09-28 Nick Clifton <nickc@redhat.com>
8938
8939 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
8940 64-bit doubles are not enabled.
8941 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
8942 and floatunsisf functions.
8943
1e874273 89442011-09-13 Paul Brook <paul@codesourcery.com>
2996d8c3 8945
1e874273
PB
8946 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
8947 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
8948 * unwind-arm-common.inc: New file.
8949 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
8950 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
8951 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
8952 * config/c6x/libunwind.S: New file.
8953 * config/c6x/pr-support.c: New file.
8954 * config/c6x/unwind-c6x.c: New file.
8955 * config/c6x/unwind-c6x.h: New file.
8956 * config/c6x/t-c6x-elf: New file.
8957
f70c879a
UB
89582011-08-23 Uros Bizjak <ubizjak@gmail.com>
8959
8960 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
8961 (ASM_DIVZERO): Ditto.
8962 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
8963
c55b374b
RS
89642011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
8965
8966 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
8967
1e138510
RS
89682011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
8969
8970 PR target/50090
8971 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
8972 instead of an assembly one.
8973
1563503d
PB
89742011-08-12 Paolo Bonzini <bonzini@gnu.org>
8975
8976 PR bootstrap/50047
8977 * Makefile.in (install-unwind_h): Create
8978 $(gcc_objdir)/include/unwind.h atomically.
8979
3627ac1a
RO
89802011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8981
8982 * Makefile.in (install-unwind_h): Remove destination file first.
8983
c6412d86
RO
89842011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8985
8986 * sync.c: New file.
8987 * config/mips/t-mips16: New file.
8988 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
8989 (mips*-*-linux*): Likewise.
8990 (mips*-sde-elf*): Likewise.
8991 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
8992 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
8993 Add mips/t-mips16 to tmake_file.
8994 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
8995 (mips-*-elf*): Likewise.
8996 (mips64-*-elf*): Likewise.
8997 (mips64orion-*-elf*): Likewise.
8998 (mips*-*-rtems*): Likewise.
8999 (mipstx39-*-elf*): Likewise.
9000 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
9001 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
9002 LIBGCC_SYNC_CFLAGS.
9003 Use $(srcdir) to refer to sync.c.
9004 Use $<.
9005 ($(libgcc-sync-funcs-o)): Likewise.
9006 ($(libgcc-sync-size-funcs-s-o)): Likewise.
9007 ($(libgcc-sync-funcs-s-o)): Likewise.
9008
3cb6e5bd
AS
90092011-08-09 Andreas Schwab <schwab@linux-m68k.org>
9010
9011 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
9012 t-libunwind.
9013
cca2207a
L
90142011-08-08 H.J. Lu <hongjiu.lu@intel.com>
9015
9016 PR other/48007
9017 * config/i386/value-unwind.h: New.
9018
ed39fbad
RS
90192011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
9020
9021 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
9022 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
9023 Add to tmake_file rather than overriding it.
9024
aca0b0b3
RO
90252011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9026
9027 * config/t-softfp: Remove.
9028 * soft-fp: Moved from ../gcc/config.
9029 * soft-fp/README: Remove t-softfp reference.
9030 * soft-fp/t-softfp: Move to config/t-softfp.
9031 (softfp_machine_header): Remove.
9032 (softfp_file_list): Remove config subdir.
9033 (soft-fp-objects): New variable.
9034 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
9035 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
9036 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
9037 * config/t-softfp-excl: New file.
9038 * config/t-softfp-sfdf: New file.
9039 * config/t-softfp-tf: New file.
9040 * config/no-sfp-machine.h: New file.
9041 * config/arm/sfp-machine.h: New file.
9042 * config/arm/t-softfp: New file.
9043 * config/c6x/sfp-machine.h: New file.
9044 * config/i386/32/t-fprules-softfp: Rename to ...
9045 * config/i386/32/t-softfp: ... this.
9046 (tifunctions, LIB2ADD): Remove.
9047 (softfp_int_modes): Override.
9048 * config/i386/64/t-softfp-compat (tf-functions): Remove config
9049 subdir.
9050 * config/i386/64/eqtf2.c: Likewise.
9051 * config/i386/64/getf2.c: Likewise.
9052 * config/i386/64/letf2.c: Likewise.
9053 * config/ia64/sft-machine.h: New file.
9054 * config/ia64/t-fprules-softfp: Rename to ...
9055 * config/ia64/t-softfp: ... this.
9056 * config/lm32/sfp-machine.h: New file.
9057 * config/moxie/t-moxie-softfp: Remove.
9058 * config/rs6000/ibm-ldouble-format: New file.
9059 * config/rs6000/ibm-ldouble.c: New file.
9060 * config/rs6000/libgcc-ppc-glibc.ver: New file
9061 * config/rs6000/libgcc-ppc64.ver: New file
9062 * config/rs6000/sfp-machine.h: New file.
9063 * config/rs6000/t-freebsd: New file.
9064 * config/rs6000/t-ibm-ldouble: New file.
9065 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
9066 libgcc-ppc-glibc.ver.
9067 * config/rs6000/t-linux64: New file.
9068 * config/rs6000/t-ppccomm (LIB2ADD): Add
9069 $(srcdir)/config/rs6000/ibm-ldouble.c.
9070 * config/rs6000/t-ppccomm-ldbl: New file.
9071 * config/score/sfp-machine.h: New file.
9072 * config.host (sfp_machine_header): Explain.
9073 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
9074 t-softfp to tmake_file.
9075 (arm*-*-uclinux*): Likewise.
9076 (arm*-*-ecos-elf): Likewise.
9077 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
9078 (arm*-*-rtems*): Likewise.
9079 (arm*-*-elf): Likewise.
9080 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
9081 in tmake_file.
9082 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
9083 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
9084 (lm32-*-uclinux*): Likewise.
9085 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
9086 t-softfp-excl, t-softfp.
9087 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
9088 (powerpc64-*-darwin*): Likewise.
9089 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
9090 to tmake_file.
9091 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
9092 tmake_file.
9093 (powerpc-*-eabisim*): Likewise.
9094 (powerpc-*-elf*): Likewise.
9095 (powerpc-*-eabialtivec*): Likewise.
9096 (powerpc-xilinx-eabi*): Likewise.
9097 (powerpc-*-rtems*): Likewise.
9098 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
9099 t-softfp-excl, t-softfp to tmake_file.
9100 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
9101 rs6000/t-ppccomm-ldbl to tmake_file.
9102 (powerpcle-*-elf*): Likewise.
9103 (powerpcle-*-eabisim*): Likewise.
9104 (powerpcle-*-eabi*): Likewise.
9105 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
9106 rs6000/t-ibm-ldouble to tmake_file.
9107 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
9108 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
9109 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
9110 (tic6x-*-*): Likewise.
9111 (i[34567]86-*-darwin*, x86_64-*-darwin*,
9112 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
9113 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
9114 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
9115 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
9116 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
9117 t-softfp to tmake_file.
9118 * configure.ac (sfp_machine_header): Provide default if unset.
9119 Substitute.
9120 Link sfp-machine.h to config/$sfp_machine_header.
9121 * configure: Regenerate.
9122
569dc494
RO
91232011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9124
9125 * Makefile.in (double_type_size, long_double_type_size): Set.
9126 Remove $(fpbit-in-libgcc) support.
9127 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
9128 (fpbit-src): New variable.
9129 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
9130 Compile with -DFLOAT $(FPBIT_CFLAGS).
9131 Use $<.
9132 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
9133 Compile with $(FPBIT_CFLAGS).
9134 Use $<.
9135 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
9136 Compile with -DFLOAT $(TPBIT_CFLAGS).
9137 Use $<.
9138 * configure.ac (double_type_size, long_double_type_size):
9139 Determine and substitute.
9140 * configure: Regenerate.
9141 * fp-bit.c, fp-bit.h: New files.
9142 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
9143 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
9144 * config/mips/t-mips: New file.
9145 * config/mips/t-sdemtk: New file.
9146 * config/rs6000/ppc64-fp.c: New file.
9147 * config/rs6000/t-darwin (LIB2ADD): Add
9148 $(srcdir)/config/rs6000/ppc64-fp.c.
9149 * config/rs6000/t-ppc64-fp: New file.
9150 * config/rx/rx-lib.h: New file.
9151 * config/rx/t-rx (FPBIT): Set to true.
9152 ($(gcc_objdir)/fp-bit.c): Remove.
9153 (DPBIT): Set to true only with -m64bit-doubles.
9154 ($(gcc_objdir)/dp-bit.c): Remove.
9155 * config/sparc/t-softfp: Remove.
9156 * config/spu/t-elf: New file.
9157 * config/t-fdpbit, config/t-fpbit: New files.
9158 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
9159 (mips*-*-*): Likewise.
9160 (arm-wrs-vxworks): Likewise.
9161 (arm*-*-freebsd*): Likewise.
9162 (avr-*-rtems*): Add t-fpbit to tmake_file.
9163 (avr-*-*): Likewise.
9164 (bfin*-elf*): Add t-fdpbit to tmake_file.
9165 (bfin*-uclinux*): Likewise.
9166 (bfin*-linux-uclibc*): Likewise.
9167 (bfin*-rtems*): New case.
9168 Add t-fdpbit to tmake_file.
9169 (bfin*-*): Add t-fdpbit to tmake_file.
9170 (crisv32-*-elf): Likewise.
9171 (cris-*-linux*): Likewise.
9172 (fr30-*-elf): Likewise.
9173 (frv-*-elf, frv-*-*linux*): Likewise.
9174 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
9175 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
9176 (m32r-*-elf*): Likewise.
9177 (m32rle-*-elf*): Likewise.
9178 (m32r-*-linux*): Likewise.
9179 (m32rle-*-linux*): Likewise.
9180 (mcore-*-elf): Add t-fdpbit to tmake_file.
9181 (microblaze*-*-*): Likewise.
9182 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
9183 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
9184 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
9185 Fix typo.
9186 Add mips/t-tpbit to tmake-file.
9187 (mips*-*-linux*): Fix typo.
9188 (mips*-sde-elf*): New case
9189 Add mips/t-sdemtk unless using newlib.
9190 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
9191 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
9192 (mn10300-*-*): Likewise.
9193 (pdp11-*-*): Likewise.
9194 (picochip-*-*): Add t-fpbit to tmake_file.
9195 (powerpc-*-eabisimaltivec*): Likewise.
9196 (powerpc-*-eabisim*): Likewise.
9197 (powerpc-*-elf*): Likewise.
9198 (powerpc-*-eabialtivec*): Likewise.
9199 (powerpc-xilinx-eabi*): New case.
9200 Add t-fdpbit to tmake_file.
9201 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
9202 (powerpc-*-rtems*): Likewise.
9203 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
9204 tmake_file.
9205 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
9206 tmake_file.
9207 (powerpc-*-lynxos*): Likewise.
9208 (powerpcle-*-elf*): Likewise.
9209 (powerpcle-*-eabisim*): Likewise.
9210 (powerpcle-*-eabi*): Likewise.
9211 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
9212 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
9213 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
9214 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
9215 (rx-*-elf): Add t-fdpbit to tmake_file.
9216 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
9217 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
9218 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
9219 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
9220 sh*-*-netbsd*.
9221 (sh-*-rtems*): Add t-fdpbit to tmake_file.
9222 (sh-wrs-vxworks): Likewise.
9223 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
9224 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
9225 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
9226 (sparc64-*-rtems*): ... new case.
9227 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
9228 (spu-*-elf*): Likewise.
9229 Add spu/t-elf to tmake_file.
9230 (v850*-*-*): Add t-fdpbit to tmake_file.
9231 (xstormy16-*-elf): Likewise.
9232 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
9233 (mep*-*-*): Likewise.
9234
201cdb74
RO
92352011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9236
9237 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
9238 variables.
9239 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
9240 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
9241 (install-unwind_h): New target.
9242 (all): Depend on it.
9243 * config.host (unwind_header): New variable.
9244 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
9245 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
9246 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
9247 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
9248 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
9249 Set unwind_header.
9250 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
9251 Set unwind_header.
9252 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
9253 arm*-*-eabi*.
9254 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
9255 Set unwind_header.
9256 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
9257 (ia64*-*-freebsd*): Likewise.
9258 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
9259 tmake_file.
9260 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
9261 $with_system_libunwind.
9262 (ia64*-*-hpux*): Set tmake_file.
9263 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
9264 (picochip-*-*): Set tmake_file.
9265 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
9266 md_unwind_header.
9267 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
9268 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
9269 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
9270 (xtensa*-*-elf*): Set tmake_file.
9271 (xtensa*-*-linux*): Likewise.
9272 * configure.ac: Include ../config/unwind_ipinfo.m4.
9273 Call GCC_CHECK_UNWIND_GETIPINFO.
9274 Link unwind.h to $unwind_header.
9275 * configure: Regenerate.
9276 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
9277 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
9278 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
9279 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
9280 * config/unwind-dw2-fde-darwin.c: New file.
9281 * config/arm/libunwind.S, config/arm/pr-support.c,
9282 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
9283 config/arm/unwind-arm.h,: New files.
9284 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
9285 config/ia64/t-eh-ia64, config/ia64/t-glibc,
9286 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
9287 config/ia64/t-vms, config/ia64/unwind-ia64.c,
9288 config/ia64/unwind-ia64.h: New files.
9289 * config/picochip/t-picochip: New file.
9290 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
9291 files.
9292 * config/rs6000/t-darwin (LIB2ADDEH): Set.
9293 * config/s390/t-tpf (LIB2ADDEH): Remove.
9294 * config/t-darwin (LIB2ADDEH): Set.
9295 * config/t-eh-dw2-dip: New file.
9296 * config/t-libunwind, config/t-libunwind-elf: New files.
9297 * config/t-sol2 (LIB2ADDEH): Remove.
9298 * config/xtensa/t-xtensa: New file.
9299
40f2f11f
L
93002011-08-02 H.J. Lu <hongjiu.lu@intel.com>
9301
9302 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
9303 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
9304 long long to check rt_sigreturn syscall.
9305
bd15e32c
AM
93062011-08-02 Alan Modra <amodra@gmail.com>
9307
9308 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
9309 Restore for indirect call bcrtl from correct stack slot, and only
9310 if cfa+40 isn't valid.
9311
655b30bf
JB
93122011-08-01 Julian Brown <julian@codesourcery.com>
9313
9314 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
9315 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
9316 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
9317
247eb06f
JB
93182011-08-01 Julian Brown <julian@codesourcery.com>
9319
9320 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
9321 (libgcc-std.ver.in): Use above.
9322 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
9323 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
9324 throughout file.
9325 * config/t-fixedpoint-gnu-prefix: New file.
9326 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
9327 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
9328 instead of __PFX__.
9329
02a8fe00
L
93302011-07-28 H.J. Lu <hongjiu.lu@intel.com>
9331
9332 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
9333 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
9334 for x86-64. Properly check __x86_64__ and __LP64__.
9335
5fce9126
L
93362010-07-28 H.J. Lu <hongjiu.lu@intel.com>
9337
9338 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
9339 version.
9340 (_FP_WS_TYPE): Likewise.
9341 (_FP_I_TYPE): Likewise.
9342
2374a88a
AM
93432011-07-28 Alan Modra <amodra@gmail.com>
9344
9345 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
9346 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
9347 in a plt call stub. Do restore r2 if stopped on bctrl.
9348
e44dbbe1
RO
93492011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9350
9351 * config.host (i[3456x]86-*-netware*): Remove.
9352 * config/i386/netware-crt0.c, config/i386/t-nwld,
9353 config/i386/t-slibgcc-nwld: Remove.
9354
bcead286
BS
93552011-07-15 Bernd Schmidt <bernds@codesourcery.com>
9356
9357 * config.host: Handle tic6x-*-*.
9358 * config/c6x/c6x-abi.h: New file.
9359
b3fe1584
RO
93602011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9361
9362 * config/i386/crtprec.c: New file.
9363 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
9364 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
9365 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
9366 (x86_64-*-darwin*): Likewise.
9367 (i[34567]86-*-solaris2*: Likewise.
9368
35d8090d
RO
93692011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9370
9371 * config/alpha/crtfastmath.c: New file.
9372 * config/i386/crtfastmath.c: New file.
9373 * config/ia64/crtfastmath.c: New file.
9374 * config/mips/crtfastmath.c: New file.
9375 * config/sparc/crtfastmath.c: New file.
9376
9377 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
9378 crtfastmath.c.
9379 Add -frandom-seed=gcc-crtfastmath.
9380 * config/alpha/t-crtfm: Remove.
9381 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
9382 * config/ia64/t-ia64 (crtfastmath.o): Remove.
9383
9384 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
9385 (alpha*-dec-osf5.1*): Likewise.
9386 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
9387 Add crtfastmath.o to extra_parts.
9388 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
9389 Add crtfastmath.o to extra_parts.
9390 (x86_64-*-darwin*): Likewise.
9391 (x86_64-*-mingw*): Likewise.
9392 (ia64*-*-elf*): Add t-crtfm to tmake_file.
9393 (ia64*-*-freebsd*): Likewise.
9394 (ia64*-*-linux*): Likewise.
9395 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
9396 Add crtfastmath.o to extra_parts.
9397
e141542e
RO
93982011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9399
9400 * config/darwin-crt3.o: New file.
9401 * config/rs6000/darwin-crt2.c: New file.
9402 * config/t-darwin: New file.
9403 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
9404 (crt2.o): New rule.
9405 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
9406 (powerpc-*-darwin*): Add crt2.o to extra_parts.
9407 (powerpc64-*-darwin*): Likewise.
9408
2d1efe2d
RO
94092011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9410
9411 * config/i386/netware-crt0.c: New file.
9412 * config/i386/t-nwld: Rename to ...
9413 * config/i386/t-slibgcc-nwld: ... this.
9414 * config/i386/t-nwld: New file.
9415 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
9416 tmake_file.
9417 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
9418 extra_parts.
9419
4a8bb046
RO
94202011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9421
9422 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
9423 i386/t-crtstuff.
9424 * configure: Regenerate.
9425
2d8d5935
RO
94262011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9427
9428 * dfp-bit.c, dfp-bit.h: New files.
9429 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
9430 variables.
9431 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
9432 ($(d64pbit-o)): Likewise.
9433 ($(d128pbit-o)): Likewise.
9434 * config/t-dfprules: New file.
9435 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
9436 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
9437 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
9438 (x86_64-*-linux*): Likewise.
9439 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
9440 (i[34567]86-*-cygwin*): Likewise.
9441 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
9442 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
9443
2c50b2c3
RO
94442011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9445
9446 * Makfile.in (LIBGCOV): New variable.
9447 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
9448 * libgcov.c: New file.
9449
a039d7c2
RO
94502011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9451
9452 * fixed-bit.c, fixed-bit.h: New files.
9453 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
9454 refer to fixed-bit.c.
9455
1e4b2746
JM
94562011-07-07 Joseph Myers <joseph@codesourcery.com>
9457
9458 * config.host (*local*): Remove.
9459
fbdd5d87
RO
94602011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9461
9462 PR target/39150
9463 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
9464 like i?86-*-solaris2.1[0-9]*.
9465 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
9466 * configure.ac (i?86-*-solaris2*): Likewise.
9467 * configure: Regenerate.
9468
9e7714f4
TS
94692011-07-06 Thomas Schwinge <thomas@schwinge.name>
9470
9471 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
9472 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
9473 md_unwind_header by splitting out of...
9474 (i[34567]86-*-linux*): ... this.
9475 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
9476 Remove md_unwind_header by splitting out of...
9477 (x86_64-*-linux*): ... this.
9478
6dab9931
GJL
94792011-07-04 Georg-Johann Lay <avr@gjlay.de>
9480
9481 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
9482
4be46d19
NC
94832011-06-28 Nick Clifton <nickc@redhat.com>
9484
9485 * config.host: Recognize all V850 variants.
9486
1da9434b
UB
94872011-06-22 Uros Bizjak <ubizjak@gmail.com>
9488
9489 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
9490
e4d48a4d
RO
94912011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9492
9493 * shared-object.mk (c_flags-$o): Save c_flags.
9494 ($(base)$(objext)): Use it.
9495 ($(base)_s$(objext)): Likewise.
9496
3801c801
BS
94972011-06-21 Bernd Schmidt <bernds@codesourcery.com>
9498
9499 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
9500 * libgcc-std.ver.in (GCC_4.7.0): New section.
9501
0ad8bb3b 95022011-06-16 Georg-Johann Lay <avr@gjlay.de>
1da9434b 9503
0ad8bb3b
GJL
9504 PR target/49313
9505 PR target/29524
9506 * config/avr/t-avr: Fix line endings.
9507 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
9508 _parityXX2.
9509
ea963999
OH
95102011-06-14 Olivier Hainque <hainque@adacore.com>
9511 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9512
9513 * config/mips/irix6-unwind.h: New file.
9514 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
9515
b11b0904
EB
95162011-06-10 Eric Botcazou <ebotcazou@adacore.com>
9517
9518 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
9519 (sparc64_fallback_frame_state): Use it.
9520 (sparc64_frob_update_context): Further adjust context.
9521 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
9522 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
9523 * config/sparc/sol2-cn.S: Likewise.
9524
10e48e39
RO
95252011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9526
9527 * enable-execute-stack-empty.c: New file.
9528 * enable-execute-stack-mprotect.c: New file.
9529 * config/i386/enable-execute-stack-mingw32.c: New file.
9530 * config.host (enable_execute_stack): New variable.
9531 Select appropriate variants.
9532 * configure.ac: Link enable-execute-stack.c to
9533 $enable_execute_stack.
9534 * configure: Regenerate.
9535 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
9536 (lib2funcs): Remove _enable_execute_stack.
9537
10c4cabc
DM
95382011-06-09 David S. Miller <davem@davemloft.net>
9539 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9540
9541 * config.host (sparc-*-linux*): Correct md_unwind_header
9542 filename.
9543 (s390x-ibm-tpf*): Fix typo.
9544
aa4203e7
RO
95452011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9546
9547 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
9548 Add crtfastmath.o to extra_parts.
9549 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
9550 mips/t-crtfm.
9551 * config/mips/t-crtfm: Remove.
9552
0defd786
JDA
95532011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
9554
9555 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
9556
82f247af
KK
95572011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
9558
9559 * config.host (sh*-*-linux*): Fix typo.
9560
58cd1d70
RO
95612011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9562
9563 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
9564 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
9565 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
9566 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
9567 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
9568 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
9569 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
9570 Wrap in !__MINGW64__.
9571 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
9572 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
9573 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
9574 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
9575 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
9576 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
9577 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
9578 Wrap in !__LP64__.
9579 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
9580 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
9581 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
9582 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
9583 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
9584 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
9585 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
9586 * config/no-unwind.h: New file.
9587 * config.host (md_unwind_header): Document.
9588 Define.
9589 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
9590 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
9591 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
9592 hppa[12]*-*-hpux11*): Set md_unwind_header.
9593 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
9594 Set md_unwind_header.
9595 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
9596 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
9597 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
9598 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
9599 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
9600 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
9601 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
9602 md_unwind_header.
9603 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
9604 * configure: Regenerate.
9605
737346fa
RO
96062011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9607
9608 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
9609 Set tmake_file, extra_parts.
9610 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
9611 Remove O32 support.
9612 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
9613 Remove O32 support.
9614 * config/mips/t-irix6: New file.
9615 * config/mips/t-slibgcc-irix: New file.
9616
c192cee6
RO
96172011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9618
9619 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
9620 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
9621
ee33b5f0
RO
96222011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9623
9624 * configure.ac (target_thread_file): Determine thread model.
9625 * configure: Regenerate.
9626 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
9627 * config/alpha/t-alpha: New file.
9628 * config/alpha/t-crtfm: Use $<.
9629 * config/alpha/t-ieee: New file.
9630 * config/alpha/t-osf-pthread: New file.
9631 * config/alpha/t-slibgcc-osf: New file.
9632 * config/alpha/libgcc-osf5.ver: New file.
9633
0699e415
RO
96342011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9635
9636 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
9637 tmake_file.
9638 Add crtfastmath.o to extra_parts.
9639
a3fab9c2
RO
96402011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9641
9642 * config/gmon-sol2.c: Reindent.
9643 Cleanup comments.
9644 Remove, correct casts.
9645 Use STDERR_FILENO, NULL.
9646 (BASEADDRESS): Remove.
9647 (minbrk): Remove.
9648 (errno, sbrk): Remove declarations.
9649 (monstartup) [hp300]: Remove.
9650 (mcount): Remove.
9651
ca24c5ad
RO
96522011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9653
9654 * Makefile.in (cpu_type): Define.
9655 * config.host (i[34567]86-*-rtems*): Handle it.
9656 (i[34567]86-*-solaris2*): Move body ...
9657 (*-*-solaris2*): ... here.
9658 New case, generalize.
9659 (sparc-*-elf*): Handle it.
9660 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
9661 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
9662 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
9663 Fold into ...
9664 (sparc*-*-solaris2*): ... this.
9665 New case.
9666 (sparc64-*-elf*): Handle it.
9667 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
9668 Merge ../gcc/config/i386/gmon-sol2.c.
9669 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
9670 Use C comments.
9671 Merge ../gcc/config/i386/sol2-gc1.asm.
9672 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
9673 Use C comments.
9674 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
9675 Use C comments.
9676 * config/i386/t-crtfm (crtfastmath.o): Use $<.
9677 * config/i386/t-crtstuff: New file.
9678 * config/i386/t-softfp: New file.
9679 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
9680 $(T)crti.o, $(T)crtn.o): Remove.
9681 (gcrt1.o): New rule.
9682 (TARGET_LIBGCC2_CFLAGS): Remove.
9683 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
9684 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
9685 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
9686 * config/sparc/t-sol2: New file.
9687 * config/sparc/t-crtfm: Move to ...
9688 * config/t-crtfm: ... this.
9689 Use $(cpu_type), $<.
9690 * config/t-crtin: New file.
9691 * config/sparc/t-softfp: New file.
9692 * config/sparc/t-softmul: New file.
9693 * config/t-rtems: New file.
9694 * config/t-slibgcc: New file.
9695 * config/t-slibgcc-elf-ver: New file.
9696 * config/t-slibgcc-gld: New file.
9697 * config/t-slibgcc-sld: New file.
9698 * config/t-sol2: New file.
9699 * configure.ac: Include ../config/lib-ld.m4.
9700 Call AC_LIB_PROG_LD_GNU.
9701 Substitute cpu_type.
9702 * configure: Regenerate.
9703
ad5f3d7b
BS
97042011-05-27 Bernd Schmidt <bernds@codesourcery.com>
9705
9706 PR bootstrap/49173
9707 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
9708 libgcc-std.ver in the build directory.
9709 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
9710 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
9711
cdbf4541
BS
97122011-05-25 Bernd Schmidt <bernds@codesourcery.com>
9713
9714 * libgcc-std.ver.in: New file.
9715 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
9716 variables.
9717 (libgcc-std.ver): New rule.
9718 * config/t-gnu-prefix: New file.
9719
c8028650
RO
97202011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9721
9722 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
9723
4a68b4ca
JM
97242011-05-10 Joseph Myers <joseph@codesourcery.com>
9725
9726 * config/i386/darwin-lib.h: New file.
9727
80cf2e08
JM
97282011-05-10 Joseph Myers <joseph@codesourcery.com>
9729
9730 * config/arm/symbian-lib.h: New.
9731
a3330c9d
CD
97322011-05-04 Chris Demetriou <cgd@google.com>
9733
9734 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
9735 (__x86.get_pc_thunk.bx): ...this.
9736 (__morestack): Adjust for rename, remove undef of __i686.
9737
6ace0756
CD
97382011-05-03 Chris Demetriou <cgd@google.com>
9739
9740 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
9741
ebb9f8b0
JM
97422011-03-22 Joseph Myers <joseph@codesourcery.com>
9743
9744 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
9745 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
9746 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
9747 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
9748 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
9749 Remove cases.
9750
9cfa1499
AT
97512011-03-14 Andreas Tobler <andreast@fgznet.ch>
9752
9753 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
9754 Adjust copyright year.
9755
457186f6
ILT
97562011-03-07 Ian Lance Taylor <iant@google.com>
9757
9758 * generic-morestack.c (__splitstack_find): Adjust returned stack
9759 pointer to include all registers pushed by __morestack.
9760
58c741a6
DK
97612011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
9762
9763 PR target/40125
9764 * configure.ac: Call ACX_NONCANONICAL_TARGET.
9765 (toolexecdir): Calculate and AC_SUBST.
9766 (toolexeclibdir): Likewise.
9767 * Makefile.in (target_noncanonical): Import.
9768 (toolexecdir): Likewise.
9769 (toolexeclibdir): Likewise.
9770 * configure: Regenerate.
9771
26716c44
NF
97722010-12-13 Nathan Froyd <froydnj@codesourcery.com>
9773
9774 PR target/46040
9775 * config/arm/bpabi.h: Rename to...
9776 * config/arm/bpabi-lib.h: ...this.
9777
b595b1a1
RO
97782010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9779
9780 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
9781 appropriate.
9782 * configure: Regenerate.
9783
a3abe41c
NF
97842010-11-24 Nathan Froyd <froydnj@codesourcery.com>
9785
9786 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
9787 __FLOAT_WORD_ORDER__.
9788 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
9789 Delete.
9790
455c8f48
RW
97912010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9792
9793 PR other/46202
9794 * Makefile.in (install-strip): New phony target.
9795
f3824a8b
ILT
97962010-11-07 Ian Lance Taylor <iant@google.com>
9797
9798 PR target/46089
9799 * config/i386/morestack.S (__morestack_large_model): New
9800 function.
9801
18ed6ee4
NF
98022010-10-23 Nathan Froyd <froydnj@codesourcery.com>
9803
9804 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
9805 Delete.
9806 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
9807
8ac7fdcb
NF
98082010-10-14 Nathan Froyd <froydnj@codesourcery.com>
9809
9810 * config/arm/bpabi.h: New file.
9811 * config/frv/frv-abi.h: New file.
9812
cdb388c2
ILT
98132010-10-01 Ian Lance Taylor <iant@google.com>
9814
9815 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
9816 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
9817
ef7c141c
L
98182010-10-01 H.J. Lu <hongjiu.lu@intel.com>
9819
9820 PR target/45858
9821 * config.host: Add the missing `$'.
9822
80920132
ME
98232010-09-30 Michael Eager <eager@eagercon.com>
9824
9825 * config.host: Add microblaze*-*-*.
9826 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
9827 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
9828 udivsi3.asm,umodsi3.asm}: New.
9829
6dace308
ILT
98302010-09-28 Ian Lance Taylor <iant@google.com>
9831
9832 * configure.ac: Adjust CFI test to test assembler directly rather
9833 than checking gcc preprocessor macro.
9834 * configure: Rebuild.
9835
b6110d6d
ILT
98362010-09-27 Ian Lance Taylor <iant@google.com>
9837
9838 * configure.ac: Test whether assembler supports CFI directives.
9839 * config.host: Only add t-stack and i386/t-stack-i386 to
9840 tmake_file if libgcc_cv_cfi is "yes".
9841 * configure: Rebuild.
9842
7458026b
ILT
98432010-09-27 Ian Lance Taylor <iant@google.com>
9844
9845 * generic-morestack.h: New file.
9846 * generic-morestack.c: New file.
9847 * generic-morestack-thread.c: New file.
9848 * config/i386/morestack.S: New file.
9849 * config/t-stack: New file.
9850 * config/i386/t-stack-i386: New file.
9851 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
9852 i386/t-stack-i386 to tmake_file.
9853
5b50fc0c
IS
98542010-09-21 Iain Sandoe <iains@gcc.gnu.org>
9855
9856 * Makefile.in (libgcc-extra-parts): Check for static archives and
9857 invoke ranlib after installing them.
9858 (gcc-extra-parts): Likewise.
9859 (install-leaf): Likewise.
9860
b93cf342
L
98612010-09-14 H.J. Lu <hongjiu.lu@intel.com>
9862
9863 * configure: Regenerated.
9864
996b42ef
KT
98652010-09-10 Kai Tietz <kai.tietz@onevision.com>
9866
b93cf342 9867 * configure: Regenerated.
996b42ef 9868
be1c764e
GP
98692010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
9870 Andrew Pinski <pinskia@gmail.com>
9871
1da9434b 9872 PR target/40959
be1c764e
GP
9873 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
9874
cc0ae0ca
L
98752010-09-06 H.J. Lu <hongjiu.lu@intel.com>
9876
9877 PR target/45524
9878 * configure: Regenerated.
9879
84f47d20
AS
98802010-09-06 Andreas Schwab <schwab@redhat.com>
9881
9882 * configure: Regenerate.
9883
4159fb8d
UB
98842010-09-03 Uros Bizjak <ubizjak@gmail.com>
9885
9886 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
9887 64bit targets.
9888 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
9889 for 64bit targets.
9890
0df8fcc8
UB
98912010-09-03 Uros Bizjak <ubizjak@gmail.com>
9892 Iain Sandoe <iains@gcc.gnu.org>
9893
9894 PR target/45476
9895 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
9896 LIB2FUNCS_EXCLUDE functions.
9897
3c39bca6
AK
98982010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9899
9900 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
9901 Include dfp.m4.
9902 * configure: Regenerate.
9903
d78552bd
UB
99042010-09-01 Uros Bizjak <ubizjak@gmail.com>
9905
9906 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
9907 i386/t-freebsd to tmake_file.
9908 * config/i386/t-freebsd: New file.
9909 * config/i386/libgcc-bsd.ver: New file.
9910
c5b79d4e
NF
99112010-07-23 Nathan Froyd <froydnj@codesourcery.com>
9912
9913 * config.host (powerpc*-eabispe*): Set tmake_file.
9914 (powerpc*-eabi*): Likewise.
9915 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
9916 crtbeginS, crtendS, crtbeginT.
9917
48b09a92
KH
99182010-06-12 Kazu Hirata <kazu@codesourcery.com>
9919
9920 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
9921 to tmake_file. Add crtfastmath.o to extra_parts.
9922 * config/mips/t-crtfm: New.
9923
7d296953 99242010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
a4389204
JS
9925
9926 * config.host (sparc64-*-rtems*): New target.
9927
ed104137
RO
99282010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9929
9930 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
9931 assembler syntax.
9932
3f56ef8b
TS
99332010-04-15 Thomas Schwinge <tschwinge@gnu.org>
9934
9935 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
9936
8c200350
RO
99372010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9938
9939 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
9940 alpha-dec-osf5.0* support.
9941
7d296953 99422010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
c1b14424
RC
9943
9944 * config.host: Add lm32-*-rtems*.
9945
f128db92 99462010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7d296953 9947 Uros Bizjak <ubizjak@gmail.com>
f128db92
RO
9948
9949 PR target/39048
9950 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
9951 like other remaining 32-bit x86 OSes.
9952 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
9953 assembler syntax.
9954 * config/i386/libgcc-sol2.ver: New file.
9955 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
9956
7d296953 99572010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
368fabd5
JH
9958
9959 PR c/43553
9960 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
9961 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
9962 is used and substitute set_use_emutls.
9963 * configure: Regenerated.
9964
15baf7f8
TG
99652010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
9966
9967 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
9968
7f5441df
RO
99692010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9970
9971 PR target/38085
9972 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
9973 MULTILIB_CFLAGS.
9974 ($(T)gcrt1.o): Likewise.
9975 ($(T)crt1.o): Likewise.
9976 ($(T)crti.o): Likewise.
9977 ($(T)crtn.o): Likewise.
9978
ef74edbd
RW
99792010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9980
9981 PR other/42980
9982 * Makefile.in (install): Use $(MAKE) string in rule, for
9983 parallel make.
9984
e7c914db
HPN
99852010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
9986
9987 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
9988 * config/mmix/t-mmix: New file.
9989 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
9990
1bcb71c4
JH
99912010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
9992
9993 PR java/41991
9994 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
9995 SHLIB_MAPFILES.
9996
e6e50811
AG
99972010-01-04 Anthony Green <green@moxielogic.com>
9998
9999 * config/moxie/crti.asm, config/moxie/crtn.asm,
10000 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
10001 config/moxie/t-moxie: New files.
10002 * config.host: Add t-moxie-softfp reference.
10003
7d296953 100042009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
ca8520ad
IS
10005
10006 PR other/39888
10007 * config/t-slibgcc-darwin: Fix embedded rpaths for
10008 --enable-version-specific-runtime-libs, build extension stub
10009 libs exposing features available from current libgcc_s.
10010
7d296953 100112009-11-11 Jon Beniston <jon@beniston.com>
aa4945c1 10012
d78552bd
UB
10013 * config.host: Add lm32 targets.
10014 * config/lm32: New directory.
10015 * config/lm32/libgcc_lm32.h: New file.
10016 * config/lm32/_mulsi3.c: New file.
10017 * config/lm32/_udivmodsi4.c: New file.
10018 * config/lm32/_divsi3.c: New file.
10019 * config/lm32/_modsi3.c: New file.
10020 * config/lm32/_udivsi3.c: New file.
10021 * config/lm32/_umodsi3.c: New file.
10022 * config/lm32/_lshrsi3.S: New file.
10023 * config/lm32/_ashrsi3.S: New file.
10024 * config/lm32/_ashlsi3.S: New file.
10025 * config/lm32/crti.S: New file.
10026 * config/lm32/crtn.S: New file.
10027 * config/lm32/t-lm32: New file.
10028 * config/lm32/t-elf: New file.
10029 * config/lm32/t-uclinux: New file.
aa4945c1 10030
65a324b4
NC
100312009-10-26 Nick Clifton <nickc@redhat.com>
10032
10033 * config.host: Add support for RX target.
10034 * config/rx: New directory.
10035 * config/rx/rx-abi-functions.c: New file. Supplementary
10036 functions for libgcc to support the RX ABI.
10037 * config/rx/rx-abi.h: New file. Supplementary header file for
10038 libgcc RX ABI functions.
10039 * config/rx/t-rx: New file: Makefile fragment for building
10040 libgcc for the RX.
10041
dfb3b0e3
UB
100422009-10-09 Uros Bizjak <ubizjak@gmail.com>
10043
10044 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
10045 constraint of y0 to "g".
10046
81dd9fd7
AK
100472009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10048
10049 * config.host: Include the s390 makefile fragments.
10050 * config/s390/32/_fixdfdi.c: New file.
10051 * config/s390/32/_fixsfdi.c: New file.
10052 * config/s390/32/_fixtfdi.c: New file.
10053 * config/s390/32/_fixunsdfdi.c: New file.
10054 * config/s390/32/_fixunssfdi.c: New file.
10055 * config/s390/32/_fixunstfdi.c: New file.
10056 * config/s390/32/t-floattodi: New file.
10057 * config/s390/libgcc-glibc.ver: New file.
10058 * config/s390/t-crtstuff: New file.
10059 * config/s390/t-linux: New file.
10060 * config/s390/t-tpf: New file.
10061
df58e648
RW
100622009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
10063
10064 * configure.ac (AC_PREREQ): Bump to 2.64.
10065
79052be3
KK
100662009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
10067
10068 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
10069
5213506e
RW
100702009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
10071
10072 * configure: Regenerate.
10073
a9a25daa
DR
100742009-08-09 Douglas B Rupp <rupp@gnat.com>
10075
10076 * config.host (ia64-hp-*vms*): New target.
10077 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
10078 with ia64-hp-*vms*.
10079
6efbd53f
RW
100802009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
10081
10082 * configure.ac: Add snippet for maintainer-mode.
10083 * configure: Regenerate.
10084 * Makefile.in (AUTOCONF, configure_deps): New variables.
10085 ($(srcdir)/configure)): New rule, active only with maintainer
10086 mode turned on.
10087
7acf4da6
DD
100882009-06-23 DJ Delorie <dj@redhat.com>
10089
10090 Add MeP port.
10091 * config.host: Add mep support.
10092
54f549af
KT
100932009-06-22 Kai Tietz <kai.tietz@onevision.com>
10094
34481f28 10095 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 10096 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
34481f28
UB
10097
10098 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
10099 for mingw targets.
54f549af
KT
10100 * config/i386/64/_multc3.c: Likewise.
10101 * config/i386/64/_powitf2.c: Likewise.
10102 * config/i386/64/eqtf2.c: Likewise.
10103 * config/i386/64/getf2.c: Likewise.
10104 * config/i386/64/letf2.c: Likewise.
10105 * config/i386/64/letf2.c: Likewise.
34481f28
UB
10106 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
10107 unsigned long long for x64 mingw targets.
10108 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
10109 (_FP_I_TYPE): Define as long long for x64 mingw target.
54f549af 10110
fea96e25
MR
101112009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
10112
10113 * config.host (vax-*-linux*): New.
10114
cceb575c
AG
101152009-05-31 Anthony Green <green@moxielogic.com>
10116
10117 * config.host: Add moxie support.
10118 * config/moxie/t-moxie: New file.
10119
7d296953 101202009-05-29 David Billinghurst <billingd@gcc.gnu.org>
e997fb9c
DB
10121
10122 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 10123 t-softfp to tmake_file for i[34567]86-*-cygwin*.
e997fb9c 10124
532bfb0a
AJ
101252009-04-17 Aurelien Jarno <aurelien@aurel32.net>
10126
10127 * config.host: Add i386/${host_address}/t-fprules-softfp to
10128 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
10129
748086b7
JJ
101302009-04-09 Nick Clifton <nickc@redhat.com>
10131
10132 * config/ia64/tf-signs.c: Change copyright header to refer to
10133 version 3 of the GNU General Public License with version 3.1
10134 of the GCC Runtime Library Exception and to point readers at
10135 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
10136 web page.
10137 * config/i386/32/tf-signs.c: Likewise.
10138 * config/libbid/_addsub_dd.c: Likewise.
10139 * config/libbid/_addsub_sd.c: Likewise.
10140 * config/libbid/_addsub_td.c: Likewise.
10141 * config/libbid/_dd_to_df.c: Likewise.
10142 * config/libbid/_dd_to_di.c: Likewise.
10143 * config/libbid/_dd_to_sd.c: Likewise.
10144 * config/libbid/_dd_to_sf.c: Likewise.
10145 * config/libbid/_dd_to_si.c: Likewise.
10146 * config/libbid/_dd_to_td.c: Likewise.
10147 * config/libbid/_dd_to_tf.c: Likewise.
10148 * config/libbid/_dd_to_udi.c: Likewise.
10149 * config/libbid/_dd_to_usi.c: Likewise.
10150 * config/libbid/_dd_to_xf.c: Likewise.
10151 * config/libbid/_df_to_dd.c: Likewise.
10152 * config/libbid/_df_to_sd.c: Likewise.
10153 * config/libbid/_df_to_td.c: Likewise.
10154 * config/libbid/_di_to_dd.c: Likewise.
10155 * config/libbid/_di_to_sd.c: Likewise.
10156 * config/libbid/_di_to_td.c: Likewise.
10157 * config/libbid/_div_dd.c: Likewise.
10158 * config/libbid/_div_sd.c: Likewise.
10159 * config/libbid/_div_td.c: Likewise.
10160 * config/libbid/_eq_dd.c: Likewise.
10161 * config/libbid/_eq_sd.c: Likewise.
10162 * config/libbid/_eq_td.c: Likewise.
10163 * config/libbid/_ge_dd.c: Likewise.
10164 * config/libbid/_ge_sd.c: Likewise.
10165 * config/libbid/_ge_td.c: Likewise.
10166 * config/libbid/_gt_dd.c: Likewise.
10167 * config/libbid/_gt_sd.c: Likewise.
10168 * config/libbid/_gt_td.c: Likewise.
10169 * config/libbid/_isinfd128.c: Likewise.
10170 * config/libbid/_isinfd32.c: Likewise.
10171 * config/libbid/_isinfd64.c: Likewise.
10172 * config/libbid/_le_dd.c: Likewise.
10173 * config/libbid/_le_sd.c: Likewise.
10174 * config/libbid/_le_td.c: Likewise.
10175 * config/libbid/_lt_dd.c: Likewise.
10176 * config/libbid/_lt_sd.c: Likewise.
10177 * config/libbid/_lt_td.c: Likewise.
10178 * config/libbid/_mul_dd.c: Likewise.
10179 * config/libbid/_mul_sd.c: Likewise.
10180 * config/libbid/_mul_td.c: Likewise.
10181 * config/libbid/_ne_dd.c: Likewise.
10182 * config/libbid/_ne_sd.c: Likewise.
10183 * config/libbid/_ne_td.c: Likewise.
10184 * config/libbid/_sd_to_dd.c: Likewise.
10185 * config/libbid/_sd_to_df.c: Likewise.
10186 * config/libbid/_sd_to_di.c: Likewise.
10187 * config/libbid/_sd_to_sf.c: Likewise.
10188 * config/libbid/_sd_to_si.c: Likewise.
10189 * config/libbid/_sd_to_td.c: Likewise.
10190 * config/libbid/_sd_to_tf.c: Likewise.
10191 * config/libbid/_sd_to_udi.c: Likewise.
10192 * config/libbid/_sd_to_usi.c: Likewise.
10193 * config/libbid/_sd_to_xf.c: Likewise.
10194 * config/libbid/_sf_to_dd.c: Likewise.
10195 * config/libbid/_sf_to_sd.c: Likewise.
10196 * config/libbid/_sf_to_td.c: Likewise.
10197 * config/libbid/_si_to_dd.c: Likewise.
10198 * config/libbid/_si_to_sd.c: Likewise.
10199 * config/libbid/_si_to_td.c: Likewise.
10200 * config/libbid/_td_to_dd.c: Likewise.
10201 * config/libbid/_td_to_df.c: Likewise.
10202 * config/libbid/_td_to_di.c: Likewise.
10203 * config/libbid/_td_to_sd.c: Likewise.
10204 * config/libbid/_td_to_sf.c: Likewise.
10205 * config/libbid/_td_to_si.c: Likewise.
10206 * config/libbid/_td_to_tf.c: Likewise.
10207 * config/libbid/_td_to_udi.c: Likewise.
10208 * config/libbid/_td_to_usi.c: Likewise.
10209 * config/libbid/_td_to_xf.c: Likewise.
10210 * config/libbid/_tf_to_dd.c: Likewise.
10211 * config/libbid/_tf_to_sd.c: Likewise.
10212 * config/libbid/_tf_to_td.c: Likewise.
10213 * config/libbid/_udi_to_dd.c: Likewise.
10214 * config/libbid/_udi_to_sd.c: Likewise.
10215 * config/libbid/_udi_to_td.c: Likewise.
10216 * config/libbid/_unord_dd.c: Likewise.
10217 * config/libbid/_unord_sd.c: Likewise.
10218 * config/libbid/_unord_td.c: Likewise.
10219 * config/libbid/_usi_to_dd.c: Likewise.
10220 * config/libbid/_usi_to_sd.c: Likewise.
10221 * config/libbid/_usi_to_td.c: Likewise.
10222 * config/libbid/_xf_to_dd.c: Likewise.
10223 * config/libbid/_xf_to_sd.c: Likewise.
10224 * config/libbid/_xf_to_td.c: Likewise.
10225 * config/libbid/bid128.c: Likewise.
10226 * config/libbid/bid128_2_str.h: Likewise.
10227 * config/libbid/bid128_2_str_macros.h: Likewise.
10228 * config/libbid/bid128_2_str_tables.c: Likewise.
10229 * config/libbid/bid128_add.c: Likewise.
10230 * config/libbid/bid128_compare.c: Likewise.
10231 * config/libbid/bid128_div.c: Likewise.
10232 * config/libbid/bid128_fma.c: Likewise.
10233 * config/libbid/bid128_logb.c: Likewise.
10234 * config/libbid/bid128_minmax.c: Likewise.
10235 * config/libbid/bid128_mul.c: Likewise.
10236 * config/libbid/bid128_next.c: Likewise.
10237 * config/libbid/bid128_noncomp.c: Likewise.
10238 * config/libbid/bid128_quantize.c: Likewise.
10239 * config/libbid/bid128_rem.c: Likewise.
10240 * config/libbid/bid128_round_integral.c: Likewise.
10241 * config/libbid/bid128_scalb.c: Likewise.
10242 * config/libbid/bid128_sqrt.c: Likewise.
10243 * config/libbid/bid128_string.c: Likewise.
10244 * config/libbid/bid128_to_int16.c: Likewise.
10245 * config/libbid/bid128_to_int32.c: Likewise.
10246 * config/libbid/bid128_to_int64.c: Likewise.
10247 * config/libbid/bid128_to_int8.c: Likewise.
10248 * config/libbid/bid128_to_uint16.c: Likewise.
10249 * config/libbid/bid128_to_uint32.c: Likewise.
10250 * config/libbid/bid128_to_uint64.c: Likewise.
10251 * config/libbid/bid128_to_uint8.c: Likewise.
10252 * config/libbid/bid32_to_bid128.c: Likewise.
10253 * config/libbid/bid32_to_bid64.c: Likewise.
10254 * config/libbid/bid64_add.c: Likewise.
10255 * config/libbid/bid64_compare.c: Likewise.
10256 * config/libbid/bid64_div.c: Likewise.
10257 * config/libbid/bid64_fma.c: Likewise.
10258 * config/libbid/bid64_logb.c: Likewise.
10259 * config/libbid/bid64_minmax.c: Likewise.
10260 * config/libbid/bid64_mul.c: Likewise.
10261 * config/libbid/bid64_next.c: Likewise.
10262 * config/libbid/bid64_noncomp.c: Likewise.
10263 * config/libbid/bid64_quantize.c: Likewise.
10264 * config/libbid/bid64_rem.c: Likewise.
10265 * config/libbid/bid64_round_integral.c: Likewise.
10266 * config/libbid/bid64_scalb.c: Likewise.
10267 * config/libbid/bid64_sqrt.c: Likewise.
10268 * config/libbid/bid64_string.c: Likewise.
10269 * config/libbid/bid64_to_bid128.c: Likewise.
10270 * config/libbid/bid64_to_int16.c: Likewise.
10271 * config/libbid/bid64_to_int32.c: Likewise.
10272 * config/libbid/bid64_to_int64.c: Likewise.
10273 * config/libbid/bid64_to_int8.c: Likewise.
10274 * config/libbid/bid64_to_uint16.c: Likewise.
10275 * config/libbid/bid64_to_uint32.c: Likewise.
10276 * config/libbid/bid64_to_uint64.c: Likewise.
10277 * config/libbid/bid64_to_uint8.c: Likewise.
10278 * config/libbid/bid_b2d.h: Likewise.
10279 * config/libbid/bid_binarydecimal.c: Likewise.
10280 * config/libbid/bid_conf.h: Likewise.
10281 * config/libbid/bid_convert_data.c: Likewise.
10282 * config/libbid/bid_decimal_data.c: Likewise.
10283 * config/libbid/bid_decimal_globals.c: Likewise.
10284 * config/libbid/bid_div_macros.h: Likewise.
10285 * config/libbid/bid_dpd.c: Likewise.
10286 * config/libbid/bid_flag_operations.c: Likewise.
10287 * config/libbid/bid_from_int.c: Likewise.
10288 * config/libbid/bid_functions.h: Likewise.
10289 * config/libbid/bid_gcc_intrinsics.h: Likewise.
10290 * config/libbid/bid_inline_add.h: Likewise.
10291 * config/libbid/bid_internal.h: Likewise.
10292 * config/libbid/bid_round.c: Likewise.
10293 * config/libbid/bid_sqrt_macros.h: Likewise.
10294
102952009-04-09 Jakub Jelinek <jakub@redhat.com>
10296
10297 * Makefile.in: Change copyright header to refer to version
10298 3 of the GNU General Public License and to point readers at the
10299 COPYING3 file and the FSF's license web page.
10300 * config.host: Likewise.
10301
633dd061
AM
103022009-04-07 Alan Modra <amodra@bigpond.net.au>
10303
10304 * config.host: Reorder and merge to match config.gcc change.
10305
457d1d00
AM
103062009-04-03 Alan Modra <amodra@bigpond.net.au>
10307
10308 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
10309
52c0e446
JM
103102009-03-28 Joseph Myers <joseph@codesourcery.com>
10311
10312 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
10313 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
10314 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
10315 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
10316
ba181049
UB
103172009-02-12 Uros Bizjak <ubizjak@gmail.com>
10318
10319 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
10320 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
10321
c252db20
L
103222009-02-12 H.J. Lu <hongjiu.lu@intel.com>
10323
ba181049
UB
10324 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
10325 ia64/t-softfp-compat to tmake_file.
c252db20
L
10326
10327 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
10328
10329 * config/ia64/__divxf3.asm: New.
10330 * config/ia64/_fixtfdi.asm: Likewise.
10331 * config/ia64/_fixunstfdi.asm: Likewise.
10332 * config/ia64/_floatditf.asm: Likewise.
10333 * config/ia64/t-fprules-softfp: Likewise.
10334 * config/ia64/t-softfp-compat: Likewise.
10335 * config/ia64/tf-signs.c: Likewise.
10336
c60535f9
BE
103372009-01-18 Ben Elliston <bje@au.ibm.com>
10338
10339 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
10340
ce16861e
BE
103412009-01-16 Ben Elliston <bje@au.ibm.com>
10342
10343 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
10344 to tmake_file.
10345
bcf4713b
BE
103462009-01-13 Ben Elliston <bje@au.ibm.com>
10347
10348 * config/t-softfp: New file.
10349 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
10350 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
10351
7d296953 103522009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
2042cb04
JS
10353
10354 * config.host: Add m32r*-*-rtems*.
10355
7d296953 103562008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
541ed00e
JS
10357
10358 * config.host: Add m32c*-*-rtems*.
10359
19523300
RO
103602008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10361
10362 PR bootstrap/33100
10363 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
10364 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
10365 * configure: Regenerate.
10366 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
10367 tmake_file here from gcc/config.gcc.
10368 Move extra_parts here from gcc/config.gcc.
10369 * config/i386/t-sol2: Move here from gcc/config/i386.
10370 Use gcc_srcdir instead of srcdir.
10371
0a4a51c7
AN
103722008-11-18 Adam Nemet <anemet@caviumnetworks.com>
10373
10374 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
10375 case.
10376
2a761e46
TS
103772008-11-09 Thomas Schwinge <tschwinge@gnu.org>
10378
10379 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
10380
c0451df7
TS
103812008-10-08 Thomas Schwinge <tschwinge@gnu.org>
10382
10383 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
10384
358da97e
HS
103852008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
10386
10387 Add picoChip port.
10388 * config.host: Add picochip-*-*.
10389
c660f132
BW
103902008-08-06 Bob Wilson <bob.wilson@acm.org>
10391
10392 * config.host: Match more processor names for Xtensa.
10393
d1349557
L
103942008-07-08 H.J. Lu <hongjiu.lu@intel.com>
10395
10396 * config/i386/64/t-softfp-compat: Update comments.
10397
dd7b73c0
L
103982008-07-07 H.J. Lu <hongjiu.lu@intel.com>
10399
10400 * config/i386/64/_divtc3-compat.c: Moved to ...
10401 * config/i386/64/_divtc3.c: Here.
10402
10403 * config/i386/64/_multc3-compat.c: Moved to ...
10404 * config/i386/64/_multc3.c: Here.
10405
10406 * config/i386/64/_powitf2-compat.c: Moved to ...
10407 * config/i386/64/_powitf2.c: Here.
10408
10409 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
10410 .c suffix instead of -compat.c.
10411
6e1fab3d
UB
104122008-07-05 Uros Bizjak <ubizjak@gmail.com>
10413
10414 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
10415 (_FP_MUL_MEAT_D): Ditto.
10416 (_FP_DIV_MEAT_S): Ditto.
10417 (_FP_DIV_MEAT_D): Ditto.
10418
f92518d7
RS
104192008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
10420
10421 * Makefile.in: Add support for __sync_* libgcc functions.
10422
d0aede14
L
104232008-07-03 H.J. Lu <hongjiu.lu@intel.com>
10424
10425 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
10426
c174f11c
L
104272008-07-02 H.J. Lu <hongjiu.lu@intel.com>
10428
10429 PR boostrap/36702
10430 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
10431 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
10432
10433 * config/i386/64/t-fprules-softfp: Moved to ...
10434 * config/i386/64/t-softfp-compat: This. New.
10435
5f464fa2
UB
104362008-07-02 Uros Bizjak <ubizjak@gmail.com>
10437
10438 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
10439 Initialize f with 0.0.
10440
ff473280
L
104412008-07-02 H.J. Lu <hongjiu.lu@intel.com>
10442
10443 PR target/36669
10444 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
10445
10446 * config/i386/64/_divtc3-compat.c: New.
10447 * config/i386/64/_multc3-compat.c: Likewise.
10448 * config/i386/64/_powitf2-compat.c: Likewise.
10449 * config/i386/64/eqtf2.c: Likewise.
10450 * config/i386/64/getf2.c: Likewise.
10451 * config/i386/64/letf2.c: Likewise.
10452 * config/i386/64/t-fprules-softfp: Likewise.
10453
104542008-07-02 H.J. Lu <hongjiu.lu@intel.com>
10455
10456 * config.host: Add i386/${host_address}/t-fprules-softfp to
10457 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
dfb3b0e3 10458 i[34567]86-*-linux*, x86_64-*-linux*.
ff473280
L
10459
10460 * configure.ac: Set host_address to 64 or 32 for x86.
10461 * configure: Regenerated.
10462
10463 * Makefile.in (config.status): Also depend on
10464 $(srcdir)/config.host.
10465
10466 * config/i386/32/t-fprules-softfp: New.
10467 * config/i386/32/tf-signs.c: Likewise.
10468
10469 * config/i386/64/sfp-machine.h: New. Moved from gcc.
10470
104712008-07-02 H.J. Lu <hongjiu.lu@intel.com>
10472 Uros Bizjak <ubizjak@gmail.com>
10473
10474 * config/i386/32/sfp-machine.h: New.
10475
30551d99
NF
104762008-06-26 Nathan Froyd <froydnj@codesourcery.com>
10477
10478 * config/rs6000/t-ppccomm: Remove rules that conflict with
10479 auto-generated rules.
10480
18c04407
RW
104812008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
10482
10483 * configure.ac: sinclude override.m4.
10484 * configure: Regenerate.
10485
10fbe77a
BRF
104862008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
10487
10488 * configure: Regenerate.
10489
bc6d4c3f
JM
104902008-06-10 Joseph Myers <joseph@codesourcery.com>
10491
10492 * Makefile.in (DECNUMINC): Remove
10493 -I$(MULTIBUILDTOP)../../libdecnumber.
10494 * gstdint.h: New.
10495
cd985f66
JM
104962008-06-07 Joseph Myers <joseph@codesourcery.com>
10497
10498 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
10499 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
10500 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
10501 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
10502 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
10503 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
10504 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
10505 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
10506 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
10507 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
10508 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
10509 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
10510 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
10511 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
10512
93fea8d3
AL
105132008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
10514
10515 * config.host (sh2[lbe]*-*-linux*): Allow target.
10516
18724e30
NF
105172008-04-30 Nathan Froyd <froydnj@codesourcery.com>
10518
10519 * config/rs6000/t-ppccomm: Add build rules for new files.
10520 (LIB2ADD_ST): New variable.
10521
47583040
AH
105222008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
10523
10524 PR target/34210
10525 PR target/35508
10526 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
10527 * config/t-avr: New file. Build 16bit libgcc functions.
10528
cf8e67fe
JJ
105292008-03-02 Jakub Jelinek <jakub@redhat.com>
10530
10531 PR target/35401
10532 * config/t-slibgcc-darwin: Make install-leaf dependent on
10533 install-darwin-libgcc-stubs instead of install.
10534
8d8da227
JM
105352008-01-25 Joseph Myers <joseph@codesourcery.com>
10536
10537 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
10538 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
10539 sh-*-rtemscoff*): Remove cases.
10540
edbf8b16
RS
105412007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
10542
10543 * Makefile.in (all): Use install-leaf rather than install.
10544 (install): Split most of the rule into...
10545 (install-leaf): ...this new one.
10546
89deeaff
EK
105472007-12-19 Etsushi Kato <ek.kato@gmail.com>
10548 Paolo Bonzini <bonzini@gnu.org>
10549
10550 PR target/30572
5f464fa2
UB
10551 * Makefile.in: Use @shlib_slibdir@ substitution to get
10552 correct install name on darwin.
89deeaff 10553 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
dfb3b0e3 10554
4081d704
HPN
105552007-12-15 Hans-Peter Nilsson <hp@axis.com>
10556
10557 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
10558 cris-*-elf and cris-*-none.
10559 (crisv32-*-linux*): Similar, as cris-*-linux*.
10560
f43e89a3
RIL
105612007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
10562
10563 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
10564
b4e9c2c6
L
105652007-10-27 H.J. Lu <hongjiu.lu@intel.com>
10566
10567 PR regression/33926
10568 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
10569 * configure: Regenerated.
10570
b2a00c89
L
105712007-09-27 H.J. Lu <hongjiu.lu@intel.com>
10572
10573 * Makefile.in (dfp-filenames): Replace decimal_globals,
10574 decimal_data, binarydecimal and convert_data with
10575 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
10576 and bid_convert_data, respectively.
10577
8d2a9e0e
CF
105782007-09-17 Chao-ying Fu <fu@mips.com>
10579 Nigel Stephens <nigel@mips.com>
10580
10581 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
10582 * Makefile.in (fixed_point): Define.
10583 Check if fixed_point is yes to build support functions.
10584 * configure.ac: Check for fixed_point support.
10585 * configure: Regenerated.
10586 * gen-fixed.sh: New file to generate lists of fixed-point labels,
10587 funcs, modes, from, to.
10588
2b53935d
JJ
105892007-09-11 Janis Johnson <janis187@us.ibm.com
10590
10591 * Makefile.in (dfp-filenames): Add bid128_noncomp.
10592
2533577f
JJ
105932007-09-10 Janis Johnson <janis187@us.ibm.com>
10594
10595 * Makefile.in (dfp-filenames): Remove decUtility, add
10596 decDouble, decPacked, decQuad, decSingle.
10597
3ae3dbd6
HK
105982007-08-27 Hans Kester <hans.kester@ellips.nl>
10599
10600 * config.host : Add x86_64-elf target.
10601
22867d02
L
106022007-07-06 H.J. Lu <hongjiu.lu@intel.com>
10603
10604 * configure.ac (set_have_cc_tls): Add a missing =.
10605 * configure: Regenerated.
10606
6f461e76
L
106072007-07-06 H.J. Lu <hongjiu.lu@intel.com>
10608
10609 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
10610 and x86_64-*-linux*.
10611
10612 * config/t-tls: New file.
10613
dfb3b0e3 10614 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
6f461e76
L
10615
10616 * configure.ac: Include ../config/enable.m4 and
10617 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
10618 supports TLS and substitute set_have_cc_tls.
10619 * configure: Regenerated.
10620
200359e8
L
106212007-07-04 H.J. Lu <hongjiu.lu@intel.com>
10622
10623 * Makefile.in: Use libbid for DFP when BID is enabled.
10624
76f5e200
DS
106252007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
10626
10627 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
dfb3b0e3 10628 extra_parts. Add config/i386/t-cygming to tmake_file.
76f5e200
DS
10629 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
10630
9bd196f0 106312007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
200359e8 10632 Danny Smith <dannysmith@users.sourceforge.net>
9bd196f0
ZM
10633
10634 PR target/29498
10635 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
10636 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
10637 * config/i386/t-crtfm: Compile crtfastmath.o with
10638 -minline-all-stringops.
10639
1910440e
RS
106402007-05-10 Richard Sandiford <richard@codesourcery.com>
10641
10642 * config.host (sparc-wrs-vxworks): New target.
10643
7d33c31d
KH
106442007-04-14 Kazu Hirata <kazu@codesourcery.com>
10645
10646 * config.host: Recognize fido.
10647
96fccd0d
JJ
106482007-04-04 Janis Johnson <janis187@us.ibm.com>
10649
10650 * configure: Check host, not target, for decimal float support.
10651
577565f9
UB
106522007-04-03 Uros Bizjak <ubizjak@gmail.com>
10653
10654 * config/i386/t-crtpc: New file.
10655 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
5f464fa2 10656 (x86_64-*-linux*): Ditto.
577565f9 10657
ccf8e764
RH
106582007-02-30 Kai Tietz <kai.tietz@onevision.com>
10659
10660 * config.host (x86_64-*-mingw*): New target.
10661
79b87c74
MM
106622007-03-23 Michael Meissner <michael.meissner@amd.com>
10663 H.J. Lu <hongjiu.lu@intel.com>
10664
10665 * Makefile.in (enable_decimal_float): New.
10666 (DECNUMINC): Add
10667 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
10668 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
10669 (decbits-filenames): This.
10670 (decbits-objects): New.
10671 (libgcc-objects): Add $(decbits-objects).
10672
10673 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
10674 Substitute enable_decimal_float.
10675 * configure: Regenerated.
10676
8fce4e31
HPN
106772007-03-19 Hans-Peter Nilsson <hp@axis.com>
10678
10679 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
10680
e8bb4597
BM
106812007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
10682
10683 * Makefile.in (install-info): New dummy target.
10684
344189f9
BS
106852007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
10686
10687 * config.host (bfin*-linux-uclibc*): Set extra_parts.
10688
ac84c172
BM
106892007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
10690
10691 * Makefile.in: Add install-html and install-pdf dummy
10692 targets.
10693
cd5c2357
RS
106942007-02-05 Roger Sayle <roger@eyesopen.com>
10695 Daniel Jacobowitz <dan@codesourcery.com>
10696
10697 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
10698 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
10699 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
10700
d9a66f98
JJ
107012007-01-29 Janis Johnson <janis187@us.ibm.com>
10702
10703 * Makefile.in (dec-filenames): Add decExcept.
10704
9891ec5f
DJ
107052007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
10706
10707 PR bootstrap/30469
10708 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
10709 -fprofile-use.
10710
d6efbf5a
DJ
107112007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
10712
10713 * configure.ac: Add --enable-version-specific-runtime-libs.
10714 Correct $slibdir default.
10715 * configure: Regenerated.
10716
17caeff2
JM
107172007-01-23 Joseph Myers <joseph@codesourcery.com>
10718
10719 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
10720
5ea41e3a
AP
107212007-01-21 Andrew Pinski <pinskia@gmail.com>
10722
10723 PR target/30519
10724 * config.host (alpha*-*-linux*): Set extra_parts.
10725
26900826
KK
107262007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
10727
10728 * config/sh/t-linux: New.
10729 * config.host (sh*-*-linux*): Set tmake_file.
10730
97af925b
DJ
107312007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
10732
10733 * Makefile.in (install): Handle multilibs.
10734
b0088af7
BM
107352007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
10736
10737 * Makefile.in: Added .PHONY entry for documentation targets.
10738
e0a9456a
BM
107392007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
10740
10741 * Makefile.in: Add empty info, html, dvi, pdf targets.
10742
7fd453b4
MS
107432007-01-04 Mike Stump <mrs@apple.com>
10744
10745 * Makefile.in (MAKEINFO): Remove.
10746 (PERL): Likewise.
10747
14e8fc8b
PB
107482007-01-04 Paolo Bonzini <bonzini@gnu.org>
10749
10750 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
10751 * configure: Regenerate.
10752 * Makefile.in (host_subdir): Substitute it.
dfb3b0e3 10753 (gcc_objdir): Use it.
14e8fc8b 10754
1555beba
DJ
107552007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
10756
10757 * config.host (ia64*-*-linux*): Set tmake_file.
10758
79e6eaeb
DJ
107592007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
10760
10761 * Makefile.in (version): Define.
10762
fa958513
DJ
107632007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
10764 Paolo Bonzini <bonzini@gnu.org>
10765
10766 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
10767 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
10768 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
10769 config/sparc/t-crtfm, config/t-slibgcc-darwin,
10770 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
10771 shared-object.mk, siditi-object.mk, static-object.mk: New files.
10772 * configure: Generated.
818ab71a 10773\f
8d9254fc 10774Copyright (C) 2007-2020 Free Software Foundation, Inc.
818ab71a
JJ
10775
10776Copying and distribution of this file, with or without modification,
10777are permitted in any medium without royalty provided the copyright
10778notice and this notice are preserved.