]> git.ipfire.org Git - thirdparty/gcc.git/blame - libgcc/ChangeLog
analyzer: fixes to tree_cmp and other comparators
[thirdparty/gcc.git] / libgcc / ChangeLog
CommitLineData
2744b8b2
CZ
12020-01-27 Claudiu Zissulescu <claziss@synopsys.com>
2
3 * config/arc/crti.S: Add RF16 object attribute.
4 * config/arc/crtn.S: Likewise.
5 * config/arc/crttls.S: Likewise.
6 * config/arc/lib1funcs.S: Likewise.
7 * config/arc/fp-hack.h (ARC_OPTFPE): Define.
8 * config/arc/lib2funcs.c: New file.
9 * config/arc/t-arc: Add lib2funcs to LIB2ADD.
10
e8e66971
MR
112020-01-24 Maciej W. Rozycki <macro@wdc.com>
12
13 * Makefile.in (configure_deps): Add `toolexeclibdir.m4'.
14 * configure.ac: Handle `--with-toolexeclibdir='.
15 * configure: Regenerate.
16
54b3d52c
DM
172020-01-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
18
19 * config/mips/gnustack.h: Check for TARGET_LIBC_GNUSTACK also.
20
a3c1e1f2
DM
212020-01-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
22
23 * config/mips/gnustack.h: New file.
24 * config/mips/crti.S: Include gnustack.h.
25 * config/mips/crtn.S: Likewise.
26 * config/mips/mips16.S: Likewise.
27 * config/mips/vr4120-div.S: Likewise.
28
e9ee848d
ML
292020-01-23 Martin Liska <mliska@suse.cz>
30
31 * libgcov-driver.c (prune_topn_counter): Remove
32 check for -1 as we only prune run-time counters
33 that do not generate an invalid state.
34
7491c17f
ML
352020-01-22 Martin Liska <mliska@suse.cz>
36
37 PR tree-optimization/92924
38 * libgcov-profiler.c (__gcov_topn_values_profiler_body): First
39 try to find an existing value, then find an empty slot
40 if not found.
41
5f32f9cf
ML
422020-01-22 Martin Liska <mliska@suse.cz>
43
44 PR tree-optimization/92924
45 * libgcov-driver.c (prune_topn_counter): New.
46 (prune_counters): Likewise.
47 (dump_one_gcov): Prune a run-time counter.
48 * libgcov-profiler.c (__gcov_topn_values_profiler_body):
49 For a known value, add GCOV_TOPN_VALUES to value.
50 Otherwise, decrement all counters by one.
51
463f6499
HPN
522020-01-18 Hans-Peter Nilsson <hp@axis.com>
53
54 * config/cris/arit.c (DS): Apply attribute __fallthrough__.
55
84479e3a
JDA
562020-01-18 John David Anglin <danglin@gcc.gnu.org>
57
58 PR libgcc/92988
59 * crtstuff.c (__do_global_dtors_aux): Only call __cxa_finalize if
60 DEFAULT_USE_CXA_ATEXIT is true.
61
e953433f 622020-01-16 Mihail-Calin Ionescu <mihail.ionescu@arm.com>
674dcc3f 63 Thomas Preud'homme <thomas.preudhomme@arm.com>
e953433f
MI
64
65 * config/arm/t-arm: Check return value of gcc rather than lack of
66 output.
67
03e87724
GJL
682020-01-14 Georg-Johann Lay <avr@gjlay.de>
69
70 * config/avr/lib1funcs.S (skip): Simplify.
71
af9bd920
KCY
722020-01-10 Kwok Cheung Yeung <kcy@codesourcery.com>
73
74 * config/gcn/atomic.c: Remove include of stdint.h.
75 (__sync_val_compare_and_swap_##SIZE): Replace uintptr_t with
76 __UINTPTR_TYPE__.
77
d6491d15
KCY
782020-01-09 Kwok Cheung Yeung <kcy@codesourcery.com>
79
80 * config/gcn/atomic.c: New.
81 * config/gcn/t-amdgcn (LIB2ADD): Add atomic.c.
82
f30dd607
GJL
832020-01-08 Georg-Johann Lay <avr@gjlay.de>
84
85 Implement 64-bit double functions.
86
87 PR target/92055
88 * config.host (tmake_file) [target=avr]: Add t-libf7,
89 t-libf7-math, t-libf7-math-symbols as specified by --with-libf7=.
90 * config/avr/t-avrlibc: Don't copy libgcc.a if there are modules
91 depending on sizeof (double) or sizeof (long double).
92 * config/avr/libf7: New folder.
93
5205a445
OH
942020-01-05 Olivier Hainque <hainque@adacore.com>
95
96 * config/gthr-vxworks.h: Guard #include vxAtomicLib.h
97 by IN_LIBGCC2.
98
8d9254fc
JJ
992020-01-01 Jakub Jelinek <jakub@redhat.com>
100
101 Update copyright years.
102
abb6c3ee
OH
1032019-12-30 Olivier Hainque <hainque@adacore.com>
104
105 * config/gthr-vxworks.h: Use _vxworks-versions.h.
106 * config/gthr-vxworks-tls.c: Likewise.
107
d7f5094a
OH
1082019-12-30 Olivier Hainque <hainque@adacore.com>
109
110 * config/gthr-vxworks.h (GTHREAD_ONCE_INIT): Use
111 standard zero-initializer syntax.
112
49cfaa2a
OH
1132019-12-30 Olivier Hainque <hainque@adacore.com>
114
115 * config/gthr-vxworks-tls.c (__gthread_getspecific): Fix
116 reference to the internal VX_GET_TLS_DATA interface.
117
89b9a554
OH
1182019-12-30 Olivier Hainque <hainque@adacore.com>
119
120 * config/vxcrtstuff.c: Fix incorrect spelling of
121 USE_INITFINI_ARRAY in guard.
122
e8aa9f55
JL
1232019-12-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
124
125 * config.host: s/msp430*-*-elf/msp430-*-elf*.
126 Override default "extra_parts" variable.
127 * configure: Regenerate.
128 * configure.ac: Disable TM clone registry by default for
129 msp430-elfbare.
130
a9046e98
JL
1312019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
132
133 * config.host (msp430*-*-elf): Add crt{begin,end}_no_eh.o to
134 "extra_parts".
135 * config/msp430/t-msp430: Add rules to build crt{begin,end}_no_eh.o.
136
34a53788
JL
1372019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
138
139 * crtstuff.c: Declare __dso_handle only if DEFAULT_USE_CXA_ATEXIT is
140 true.
141
21a098f4
JL
1422019-12-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
143
144 * crtstuff.c (__do_global_dtors_aux): Check if USE_EH_FRAME_REGISTRY is
145 defined instead of its value.
146
ad8b7783
JL
1472019-12-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
148
149 * crtstuff.c (__do_global_dtors_aux): Wrap in #if so it's only defined
150 if it will have contents.
151
08d7ff78
GJL
1522019-12-05 Georg-Johann Lay <avr@gjlay.de>
153
154 PR target/92055
155 * config/avr/t-avrlibc (MULTISUBDIR): Search for double, not double64.
156
3d3a96a2
SN
1572019-11-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
158
34b4d99d 159 PR libgcc/91737
3d3a96a2
SN
160 * config.host: Add t-gthr-noweak on *-*-musl*.
161 * config/t-gthr-noweak: New file.
162
632b5e3d
JDA
1632019-11-17 John David Anglin <danglin@gcc.gnu.org>
164
165 * config/pa/linux-atomic.c (__kernel_cmpxchg): Change argument 1 to
166 volatile void *. Remove trap check.
167 (__kernel_cmpxchg2): Likewise.
168 (FETCH_AND_OP_2): Adjust operand types.
169 (OP_AND_FETCH_2): Likewise.
170 (FETCH_AND_OP_WORD): Likewise.
171 (OP_AND_FETCH_WORD): Likewise.
172 (COMPARE_AND_SWAP_2): Likewise.
173 (__sync_val_compare_and_swap_4): Likewise.
174 (__sync_bool_compare_and_swap_4): Likewise.
175 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
176 (__sync_lock_test_and_set_4): Likewise.
177 (SYNC_LOCK_RELEASE_1): Likewise. Use __kernel_cmpxchg2 for release.
178 (__sync_lock_release_4): Adjust operand types. Use __kernel_cmpxchg
179 for release.
180 (__sync_lock_release_8): Remove.
181
838fd641
SN
1822019-11-15 Szabolcs Nagy <szabolcs.nagy@arm.com>
183
184 * config/m68k/linux-unwind.h (struct uw_ucontext): Use sigset_t instead
185 of __sigset_t.
186
27204060
JL
1872019-11-14 Jerome Lambourg <lambourg@adacore.com>
188 Doug Rupp <rupp@adacore.com>
189 Olivier Hainque <hainque@adacore.com>
190
191 * config.host: Collapse the arm-vxworks entries into
192 a single arm-wrs-vxworks7* one.
193 * config/arm/unwind-arm-vxworks.c: Update comments. Provide
194 __gnu_Unwind_Find_exidx and a weak dummy __cxa_type_match for
195 kernel modules, to be overriden by libstdc++ when we link with
196 it. Rely on externally provided __exidx_start/end.
197
3004f893
DR
1982019-11-14 Doug Rupp <rupp@adacore.com>
199 Olivier Hainque <hainque@adacore.com>
200
201 * config.host: Handle aarch64*-wrs-vxworks7*.
202
36e5f4d4
OH
2032019-11-12 Olivier Hainque <hainque@adacore.com>
204
205 * config/t-gthr-vxworksae: New file, add all the gthr-vxworks
206 sources except the cxx0x support to LIB2ADDEH. We don't support
207 cxx0x on AE/653.
208 * config/t-vxworksae: New file.
209 * config.host: Handle *-*-vxworksae: Add the two aforementioned
210 Makefile fragment files at their expected position in the tmake_file
211 list, in accordance with what is done for other VxWorks variants.
212
806dd047
CG
2132019-11-12 Corentin Gay <gay@adacore.com>
214 Jerome Lambourg <lambourg@adacore.com>
215 Olivier Hainque <hainque@adacore.com>
216
217 * config/t-gthr-vxworks: New file, add all the gthr-vxworks
218 sources to LIB2ADDEH.
219 * config/t-vxworks: Remove adjustments to LIB2ADDEH.
220 * config/t-vxworks7: Likewise.
221
222 * config.host: Append a block at the end of the file to add the
223 t-gthr files to the tmake_file list for VxWorks after everything
224 else.
225
226 * config/vxlib.c: Rename as gthr-vxworks.c.
227 * config/vxlib-tls.c: Rename as gthr-vxworks-tls.c.
228
229 * config/gthr-vxworks.h: Simplify a few comments. Expose a TAS
230 API and a basic error checking API, both internal. Simplify the
231 __gthread_once_t type definition and initializers. Add sections
232 for condition variables support and for the C++0x thread support,
233 conditioned against Vx653 for the latter.
234
235 * config/gthr-vxworks.c (__gthread_once): Simplify comments and
236 implementation, leveraging the TAS internal API.
237 * config/gthr-vxworks-tls.c: Introduce an internal TLS data access
238 API, leveraging the general availability of TLS services in VxWorks7
239 post SR6xxx.
240 (__gthread_setspecific, __gthread_setspecific): Use it.
241 (tls_delete_hook): Likewise, and simplify the enter/leave dtor logic.
242 * config/gthr-vxworks-cond.c: New file. GTHREAD_COND variable
243 support based on VxWorks primitives.
244 * config/gthr-vxworks-thread.c: New file. GTHREAD_CXX0X support
245 based on VxWorks primitives.
246
78e49fb1
JL
2472019-11-06 Jerome Lambourg <lambourg@adacore.com>
248 Olivier Hainque <hainque@adacore.com>
249
250 * config/vxcrtstuff.c: New file.
251 * config/t-vxcrtstuff: New Makefile fragment.
252 * config.host: Append t-vxcrtstuff to the tmake_file list
253 on all VxWorks ports using dwarf for table based EH.
254
29f3def3
GJL
2552019-11-07 Georg-Johann Lay <avr@gjlay.de>
256
257 Support 64-bit double and 64-bit long double configurations.
258
259 PR target/92055
260 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Only add -DF=SF if
261 long double is a 32-bit type.
262 * config/avr/t-avrlibc: Copy double64 and long-double64
263 multilib(s) from the vanilla one.
264 * config/avr/t-copy-libgcc: New Makefile snip.
265
62ec242e
JL
2662019-11-04 Jozef Lawrynowicz <jozef.l@mittosystems.com>
267
268 * crtstuff.c: Define USE_TM_CLONE_REGISTRY to 0 if it's undefined and
269 the target output object format is not ELF.
270 s/defined(USE_TM_CLONE_REGISTRY)/USE_TM_CLONE_REGISTRY.
271
da5c1bbe
OE
2722019-11-03 Oleg Endo <olegendo@gcc.gnu.org>
273
274 PR libgcc/78804
275 * fp-bit.h: Remove FLOAT_BIT_ORDER_MISMATCH.
276 * fp-bit.c (pack_d, unpack_d): Remove special cases for
277 FLOAT_BIT_ORDER_MISMATCH.
278 * config/arc/t-arc: Remove FLOAT_BIT_ORDER_MISMATCH.
279
8dc56a22
JW
2802019-11-01 Jim Wilson <jimw@sifive.com>
281
282 * config/riscv/t-softfp32 (softfp_extra): Add FP divide routines
283
91c64455
JL
2842019-10-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
285
286 * config/msp430/lib2hw_mul.S: Fix wrong syntax in branch instruction.
287 s/RESULT_LO/RESLO, s/RESULT_HI/RESHI, s/MPY_OP1/MPY,
288 s/MPY_OP1_S/MPYS, s/MAC_OP1/MAC, s/MPY_OP2/OP2, s/MAC_OP2/OP2.
289 Define symbols for 32-bit and f5series hardware multiply
290 register addresses.
291 Replace hard-coded register addresses with symbols.
292 Fix "_mspabi*" typo.
293 Fix whitespace.
294 * config/msp430/lib2mul.c: Add comment.
295
85093ac6
JDA
2962019-10-15 John David Anglin <danglin@gcc.gnu.org>
297
298 * config/pa/fptr.c (_dl_read_access_allowed): Change argument to
299 unsigned int. Adjust callers.
300 (__canonicalize_funcptr_for_compare): Change plabel type to volatile
301 unsigned int *. Load relocation offset before function pointer.
302 Add barrier to ensure ordering.
303
1aea083d
JDA
3042019-10-12 John David Anglin <danglin@gcc.gnu.org>
305
306 * config/pa/lib2funcs.S (__gcc_plt_call): Load branch target to %r21.
307 Load PIC register after branch target. Fix white space.
308 * config/pa/milli64.S ($$dyncall): Separate LINUX and non LINUX
309 implementations. Load PIC register after branch target. Don't
310 clobber function pointer when it points to function descriptor.
311 Use nullification instead of branch in LINUX implementation.
312
c49af82c
JDA
3132019-10-03 John David Anglin <danglin@gcc.gnu.org>
314
315 * config/pa/fptr.c: Disable -Warray-bounds warning.
316
88a51d68
RH
3172019-09-25 Richard Henderson <richard.henderson@linaro.org>
318
9e46fd07
RH
319 * config.in, configure: Re-rebuild with stock autoconf 2.69,
320 not the ubuntu modified 2.69.
321
58d169ba
RH
322 PR target/91833
323 * config/aarch64/lse-init.c: Include auto-target.h. Disable
324 initialization if !HAVE_SYS_AUXV_H.
325 * configure.ac (AC_CHECK_HEADERS): Add sys/auxv.h.
326 * config.in, configure: Rebuild.
327
88a51d68
RH
328 PR target/91834
329 * config/aarch64/lse.S (LDNM): Ensure STXR output does not
330 overlap the inputs.
331
761e6bb9
SZ
3322019-09-25 Shaokun Zhang <zhangshaokun@hisilicon.com>
333
334 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Add support for
335 CTR_EL0.IDC and CTR_EL0.DIC.
336
76c93295
CL
3372019-09-20 Christophe Lyon <christophe.lyon@st.com>
338
339 Revert:
340 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
341 Mickaël Guêné <mickael.guene@st.com>
342
343 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
344 architecture.
345
33befddc
RH
3462019-09-19 Richard Henderson <richard.henderson@linaro.org>
347
348 * config/aarch64/lse-init.c: New file.
349 * config/aarch64/lse.S: New file.
350 * config/aarch64/t-lse: New file.
351 * config.host: Add t-lse to all aarch64 tuples.
352
ae1152e5
CL
3532019-09-10 Christophe Lyon <christophe.lyon@st.com>
354 Mickaël Guêné <mickael.guene@st.com>
355
84818dbb
CL
356 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
357 architecture.
358
3592019-09-10 Christophe Lyon <christophe.lyon@st.com>
360 Mickaël Guêné <mickael.guene@st.com>
361
ae1152e5
CL
362 * unwind-arm-common.inc (ARM_SET_R7_RT_SIGRETURN)
363 (THUMB2_SET_R7_RT_SIGRETURN, FDPIC_LDR_R12_WITH_FUNCDESC)
364 (FDPIC_LDR_R9_WITH_GOT, FDPIC_LDR_PC_WITH_RESTORER)
365 (FDPIC_FUNCDESC_OFFSET, ARM_NEW_RT_SIGFRAME_UCONTEXT)
366 (ARM_UCONTEXT_SIGCONTEXT, ARM_SIGCONTEXT_R0, FDPIC_T2_LDR_R12_WITH_FUNCDESC)
367 (FDPIC_T2_LDR_R9_WITH_GOT, FDPIC_T2_LDR_PC_WITH_RESTORER): New.
368 (__gnu_personality_sigframe_fdpic): New.
369 (get_eit_entry): Add FDPIC signal frame support.
370
5d727a4b
CL
3712019-09-10 Christophe Lyon <christophe.lyon@st.com>
372 Mickaël Guêné <mickael.guene@st.com>
373
374 * config/arm/linux-atomic.c (__kernel_cmpxchg): Add FDPIC support.
375 (__kernel_dmb): Likewise.
376 (__fdpic_cmpxchg): New function.
377 (__fdpic_dmb): New function.
378 * config/arm/unwind-arm.h (FDPIC_REGNUM): New define.
379 (gnu_Unwind_Find_got): New function.
380 (_Unwind_decode_typeinfo_ptr): Add FDPIC support.
381 * unwind-arm-common.inc (UCB_PR_GOT): New.
382 (funcdesc_t): New struct.
383 (get_eit_entry): Add FDPIC support.
384 (unwind_phase2): Likewise.
385 (unwind_phase2_forced): Likewise.
386 (__gnu_Unwind_RaiseException): Likewise.
387 (__gnu_Unwind_Resume): Likewise.
388 (__gnu_Unwind_Backtrace): Likewise.
389 * unwind-pe.h (read_encoded_value_with_base): Likewise.
390
b1e21e5a 3912019-09-10 Christophe Lyon <christophe.lyon@st.com>
11189793 392 Mickaël Guêné <mickael.guene@st.com>
b1e21e5a 393
11189793
CL
394 * libgcc/crtstuff.c: Add support for FDPIC.
395
3962019-09-10 Christophe Lyon <christophe.lyon@st.com>
397
398 * config.host: Handle *-*-uclinuxfdpiceabi.
b1e21e5a 399
91dfef96
JM
4002019-09-09 Jose E. Marchesi <jose.marchesi@oracle.com>
401
402 * config.host: Set cpu_type for bpf-*-* targets.
403 * config/bpf/t-bpf: Likewise.
404 * config/bpf/crtn.S: Likewise.
405 * config/bpf/crti.S: New file.
406
2f4d8951
JW
4072019-09-06 Jim Wilson <jimw@sifive.com>
408
409 * config.host (riscv*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
410 (riscv*-*-freebsd*): Likewise.
411
2f2aeda9
UW
4122019-09-03 Ulrich Weigand <uweigand@de.ibm.com>
413
414 * config.host: Remove references to spu.
415 * config/spu/: Remove directory.
416
d16017da
JL
4172019-08-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
418
419 PR target/91306
420 * crtstuff.c (__CTOR_LIST__): Align to the "__alignof__" the array
421 element type, instead of "sizeof" the element type.
422 (__DTOR_LIST__): Likewise.
423 (__TMC_LIST__): Likewise.
424 (__do_global_dtors_aux_fini_array_entry): Likewise.
425 (__frame_dummy_init_array_entry): Likewise.
426 (__CTOR_END__): Likewise.
427 (__DTOR_END__): Likweise.
428 (__FRAME_END__): Likewise.
429 (__TMC_END__): Likewise.
430
a9fcfec3
HL
4312019-08-20 Lili Cui <lilicui@intel.com>
432
433 * config/i386/cpuinfo.h: Add INTEL_COREI7_TIGERLAKE and
434 INTEL_COREI7_COOPERLAKE.
435
428642b1
MT
4362019-07-31 Matt Thomas <matt@3am-software.com>
437 Nick Hudson <nick@nthcliff.demon.co.uk>
438 Matthew Green <mrg@eterna.com.au>
439 Maya Rashish <coypu@sdf.org>
440
441 * config.host (hppa*-*-netbsd*): New case.
442 * config/pa/t-netbsd: New file.
443
f0efd925
JH
4442019-07-31 Joel Hutton <Joel.Hutton@arm.com>
445
446 * config/arm/cmse.c (cmse_check_address_range): Add
447 warn_unused_result attribute.
448
a861990d
ML
4492019-07-22 Martin Liska <mliska@suse.cz>
450
451 * config/pa/stublib.c: Remove stub symbol __gnu_lto_v1.
452 * config/pa/t-stublib: Likewise.
453
9c0dba7c
SH
4542019-07-22 Stafford Horne <shorne@gmail.com>
455
456 PR target/90362
457 * config/or1k/lib1funcs.S (__udivsi3): Change l.sfeqi
458 to l.sfeq and l.sfltsi to l.sflts equivalents as the immediate
459 instructions are not available on every processor. Change a
460 l.bnf to l.bf to fix logic issue.
461
61afc8f8
IS
4622019-07-04 Iain Sandoe <iain@sandoe.co.uk>
463
464 * config.host: Remove reference to t-darwin8.
465
179c7ef5
IS
4662019-07-03 Iain Sandoe <iain@sandoe.co.uk>
467
468 * config.host (powerpc-*-darwin*,powerpc64-*-darwin*): Revise crt
469 list.
470 * config/rs6000/t-darwin: Build crt3_2 for older systems. Revise
471 mmacosx-version-min for crts to run across all system versions.
472 * config/rs6000/t-darwin64 (LIB2ADD): Remove.
473 * config/t-darwin: Revise mmacosx-version-min for crts to run across
474 system versions >= 10.4.
475
596341c7
ML
4762019-07-03 Martin Liska <mliska@suse.cz>
477
478 * Makefile.in: Use topn_values instead of one_value names.
479 * libgcov-merge.c (__gcov_merge_single): Move to ...
480 (__gcov_merge_topn): ... this.
481 (merge_single_value_set): Move to ...
482 (merge_topn_values_set): ... this.
483 * libgcov-profiler.c (__gcov_one_value_profiler_body): Move to
484 ...
485 (__gcov_topn_values_profiler_body): ... this.
486 (__gcov_one_value_profiler_v2): Move to ...
487 (__gcov_topn_values_profiler): ... this.
488 (__gcov_one_value_profiler_v2_atomic): Move to ...
489 (__gcov_topn_values_profiler_atomic): ... this.
490 (__gcov_indirect_call_profiler_v4): Remove.
491 * libgcov-util.c (__gcov_single_counter_op): Move to ...
492 (__gcov_topn_counter_op): ... this.
493 * libgcov.h (L_gcov_merge_single): Remove.
494 (L_gcov_merge_topn): New.
495 (__gcov_merge_single): Remove.
496 (__gcov_merge_topn): New.
497 (__gcov_one_value_profiler_v2): Move to ..
498 (__gcov_topn_values_profiler): ... this.
499 (__gcov_one_value_profiler_v2_atomic): Move to ...
500 (__gcov_topn_values_profiler_atomic): ... this.
501
1b309ca5
ML
5022019-07-03 Martin Liska <mliska@suse.cz>
503
504 * libgcov-merge.c (merge_single_value_set): Support N values.
505 * libgcov-profiler.c (__gcov_one_value_profiler_body): Likewise.
506
5a460280
ID
5072019-06-27 Ilia Diachkov <ilia.diachkov@optimitech.com>
508
509 * Makefile.in (USE_TM_CLONE_REGISTRY): New.
510 (CRTSTUFF_CFLAGS): Use USE_TM_CLONE_REGISTRY.
511 * configure.ac: Add --disable-tm-clone-registry option.
512 * configure: Regenerate.
513
45309d28
ML
5142019-06-27 Martin Liska <mliska@suse.cz>
515
516 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Remove obviously
517 dead assignments.
518 * libgcov-util.c: Likewise.
519
c2f7a665
ML
5202019-06-27 Martin Liska <mliska@suse.cz>
521
522 * libgcov-util.c (gcov_profile_merge): Release allocated
523 memory.
524 (calculate_overlap): Likewise.
525
a8e55c61
IS
5262019-06-25 Iain Sandoe <iain@sandoe.co.uk>
527
528 * config.host: Add libef_ppc.a to the extra files for powerpc-darwin.
529 * config/rs6000/t-darwin: (PPC_ENDFILE_SRC, PPC_ENDFILE_OBJS): New.
530 Build objects for the out of line save/restore register functions
531 so that they can be used for any supported Darwin version.
532 * config/t-darwin: Default the build Darwin version to Darwin8
533 (MacOS 10.4).
534
e5ce4cbc
ML
5352019-06-25 Martin Liska <mliska@suse.cz>
536
537 * libgcov-driver-system.c (replace_filename_variables): Do not
538 call strlen with NULL argument.
539
52a47d28
AS
5402019-06-25 Andrew Stubbs <ams@codesourcery.com>
541
542 * config/gcn/t-amdgcn (LIB2ADD): Add unwind-gcn.c.
543 * config/gcn/unwind-gcn.c: New file.
544
76d46331
KCY
5452019-06-25 Kwok Cheung Yeung <kcy@codesourcery.com>
546 Andrew Stubbs <ams@codesourcery.com>
547
548 * configure: Regenerate.
549 * config/gcn/gthr-gcn.h: New.
550
787783a0
TV
5512019-06-18 Tom de Vries <tdevries@suse.de>
552
553 * config/nvptx/crt0.c (__main): Declare.
554
f32f7585
MG
5552019-06-17 Matthew Green <mrg@eterna.com.au>
556 Maya Rashish <coypu@sdf.org>
557
558 * config.host (aarch64*-*-netbsd*): New case.
559
0fcc78f7
JL
5602019-06-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
561
562 * config/msp430/slli.S (__mspabi_sllll): New library function for
563 performing a logical left shift of a 64-bit value.
564 * config/msp430/srai.S (__mspabi_srall): New library function for
565 performing a arithmetic right shift of a 64-bit value.
566 * config/msp430/srll.S (__mspabi_srlll): New library function for
567 performing a logical right shift of a 64-bit value.
568
b27c1082
MT
5692019-06-14 Matt Thomas <matt@3am-software.com>
570 Matthew Green <mrg@eterna.com.au>
571 Nick Hudson <skrll@netbsd.org>
572 Maya Rashish <coypu@sdf.org>
573
574 * config.host (arm*-*-netbsdelf*): Add support for EABI configurations.
575 * config/arm/t-netbsd (LIB1ASMFUNCS): Add some additional assembler
576 functions to build.
577 * config/arm/t-netbsd-eabi: New file.
578
ae7deb4b
DD
5792019-06-12 Dimitar Dimitrov <dimitar@dinux.eu>
580
581 * config.host: Add PRU target.
582 * config/pru/asri.c: New file.
583 * config/pru/eqd.c: New file.
584 * config/pru/eqf.c: New file.
585 * config/pru/ged.c: New file.
586 * config/pru/gef.c: New file.
587 * config/pru/gtd.c: New file.
588 * config/pru/gtf.c: New file.
589 * config/pru/led.c: New file.
590 * config/pru/lef.c: New file.
591 * config/pru/lib2bitcountHI.c: New file.
592 * config/pru/lib2divHI.c: New file.
593 * config/pru/lib2divQI.c: New file.
594 * config/pru/lib2divSI.c: New file.
595 * config/pru/libgcc-eabi.ver: New file.
596 * config/pru/ltd.c: New file.
597 * config/pru/ltf.c: New file.
598 * config/pru/mpyll.S: New file.
599 * config/pru/pru-abi.h: New file.
600 * config/pru/pru-asm.h: New file.
601 * config/pru/pru-divmod.h: New file.
602 * config/pru/sfp-machine.h: New file.
603 * config/pru/t-pru: New file.
604
0d7b3e47
JJ
6052019-06-11 Jakub Jelinek <jakub@redhat.com>
606
607 * libgcov-merge.c (__gcov_merge_single): Revert previous change.
608
54e2d83c
ML
6092019-06-10 Martin Liska <mliska@suse.cz>
610
611 PR bootstrap/90808
612 * libgcov.h: Add ATTRIBUTE_UNUSED.
613
92d41717
ML
6142019-06-10 Martin Liska <mliska@suse.cz>
615
616 * Makefile.in: Add __gcov_one_value_profiler_v2,
617 __gcov_one_value_profiler_v2_atomic and
618 __gcov_indirect_call_profiler_v4.
619 * libgcov-merge.c (__gcov_merge_single): Change
620 function signature.
621 (merge_single_value_set): New.
622 * libgcov-profiler.c (__gcov_one_value_profiler_body):
623 Update functionality.
624 (__gcov_one_value_profiler): Remove.
625 (__gcov_one_value_profiler_v2): ... this.
626 (__gcov_one_value_profiler_atomic): Rename to ...
627 (__gcov_one_value_profiler_v2_atomic): this.
628 (__gcov_indirect_call_profiler_v3): Rename to ...
629 (__gcov_indirect_call_profiler_v4): ... this.
630 * libgcov.h (__gcov_one_value_profiler): Remove.
631 (__gcov_one_value_profiler_atomic): Remove.
632 (__gcov_one_value_profiler_v2_atomic): New.
633 (__gcov_indirect_call_profiler_v3): Remove.
634 (__gcov_one_value_profiler_v2): New.
635 (__gcov_indirect_call_profiler_v4): New.
636 (gcov_get_counter_ignore_scaling): New function.
637
e37333ba
ML
6382019-06-07 Martin Liska <mliska@suse.cz>
639
640 * Makefile.in: Remove usage of
641 _gcov_merge_icall_topn.
642 * libgcov-driver.c (gcov_sort_n_vals): Remove.
643 (gcov_sort_icall_topn_counter): Likewise.
644 (gcov_sort_topn_counter_arrays): Likewise.
645 (dump_one_gcov): Remove call to gcov_sort_topn_counter_arrays.
646 * libgcov-merge.c (__gcov_merge_icall_topn): Remove.
647 * libgcov-profiler.c (__gcov_topn_value_profiler_body):
648 Likewise.
649 (GCOV_ICALL_COUNTER_CLEAR_THRESHOLD): Remove.
650 (struct indirect_call_tuple): Remove.
651 (__gcov_indirect_call_topn_profiler): Remove.
652 * libgcov-util.c (__gcov_icall_topn_counter_op): Remove.
653 * libgcov.h (gcov_sort_n_vals): Remove.
654 (L_gcov_merge_icall_topn): Likewise.
655 (__gcov_merge_icall_topn): Likewise.
656 (__gcov_indirect_call_topn_profiler): Likewise.
657
34a4a9c2
IS
6582019-06-06 Iain Sandoe <iain@sandoe.co.uk>
659
660 * config/rs6000/t-darwin: Ensure that the unwinder is built with
661 altivec enabled.
662
d1b2f85f
JL
6632019-06-06 Jozef Lawrynowicz <jozef.l@mittosystems.com>
664
665 * config/msp430/slli.S (__mspabi_slli_n): Put function in its own
666 section.
667 (__mspabi_slli): Likewise.
668 (__mspabi_slll_n): Likewise.
669 (__mspabi_slll): Likewise.
670 * config/msp430/srai.S (__mspabi_srai_n): Likewise.
671 (__mspabi_srai): Likewise.
672 (__mspabi_sral_n): Likewise.
673 (__mspabi_sral): Likewise.
674 * config/msp430/srli.S (__mspabi_srli_n): Likewise.
675 (__mspabi_srli): Likewise.
676 (__mspabi_srll_n): Likewise.
677 (__mspabi_srll): Likewise.
678
e69a13d1
YS
6792019-06-05 Yoshinori Sato <ysato@users.sourceforge.jp>
680
681 * config.host (rx-*-linux*): Add t-fdpbit to tmake_file
682 Add appropriate tm_file clause as well.
683 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Remove.
684
b009eac1
JC
6852019-06-05 James Clarke <jrtc27@jrtc27.com>
686
687 * config/ia64/crtbegin.S (__dso_handle): Put in .sdata/.sbss
688 rather than .data/.bss so it can be accessed via gp-relative
689 addressing.
690
781d39f2
DE
6912019-06-05 David Edelsohn <dje.gcc@gmail.com>
692
693 * config/rs6000/aix-unwind.h (LR_REGNO): Rename to R_LR.
694 (CR2_REGNO): Rename to R_CR2.
695 (XER_REGNO): Rename to R_XER.
696 (FIRST_ALTIVEC_REGNO): Rename to R_FIRST_ALTIVEC.
697 (VRSAVE_REGNO): Rename to R_VRSAVE.
698 (VSCR_REGNO): R_VSCR.
699
76aaa9cd
YS
7002019-05-29 Yoshinori Sato <ysato@users.sourceforge.jp>
701
702 * config.host (rx-*-linux*): Add new case.
703 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Force DFmode to SFmode.
704
8fc16d72
ST
7052019-05-29 Sam Tebbs <sam.tebbs@arm.com>
706
707 * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key): New
708 function.
709 * config/aarch64/aarch64-unwind.h (aarch64_post_extract_frame_addr,
710 aarch64_post_frob_eh_handler_addr): Add check for b-key.
711 * config/aarch64/aarch64-unwind-h (aarch64_post_extract_frame_addr,
712 aarch64_post_frob_eh_handler_addr, aarch64_post_frob_update_context):
713 Rename RA_A_SIGNED_BIT to RA_SIGNED_BIT.
714 * unwind-dw2-fde.c (get_cie_encoding): Add check for 'B' in augmentation
715 string.
716 * unwind-dw2.c (extract_cie_info): Add check for 'B' in augmentation
717 string.
718 (RA_A_SIGNED_BIT): Rename to RA_SIGNED_BIT.
719
e54b1a92
RO
7202019-05-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
721
722 * config/sparc/sol2-unwind.h [__arch64__] (sparc64_is_sighandler):
723 Remove Solaris 9 and 10 support.
724 (sparc_is_sighandler): Likewise.
725
abbb8307
JDA
7262019-05-26 John David Anglin <danglin@gcc.gnu.org>
727
728 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Add cast.
729
2581344d
L
7302019-05-17 H.J. Lu <hongjiu.lu@intel.com>
731
732 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
733 4_FP_W_TYPEs are used for IEEE quad precision.
734 * soft-fp/extendhftf2.c: Likewise.
735 * soft-fp/extendsftf2.c: Likewise.
736 * soft-fp/extendxftf2.c: Likewise.
737 * soft-fp/trunctfdf2.c: Likewise.
738 * soft-fp/trunctfhf2.c: Likewise.
739 * soft-fp/trunctfsf2.c: Likewise.
740 * soft-fp/trunctfxf2.c: Likewise.
741 * config/rs6000/ibm-ldouble.c: Likewise.
742
ccd1242e
RO
7432019-05-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
744
745 * config.host: Simplify various *-*-solaris2.1[0-9]* to
746 *-*-solaris2*.
747 * configure.ac: Likewise.
748 * configure: Regenerate.
749
750 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
751 Solaris 10 and Solaris 11 < snv_125 handling.
752
ef5eb79d
IS
7532019-05-12 Iain Sandoe <iain@sandoe.co.uk>
754
755 * config/rs6000/darwin-vecsave.S: Set .machine appropriately.
756
4f0e90fa
HL
7572019-05-07 Hongtao Liu <hongtao.liu@intel.com>
758
759 * config/i386/cpuinfo.c (get_available_features): Detect BF16.
760 * config/i386/cpuinfo.h (enum processor_features): Add
761 FEATURE_AVX512BF16.
762
48528842
RR
7632019-04-23 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
764 Bernd Edlinger <bernd.edlinger@hotmail.de>
765 Jakub Jelinek <jakub@redhat.com>
766
767 PR target/89093
768 * config/arm/pr-support.c: Add #pragma GCC target("general-regs-only").
769 * config/arm/unwind-arm.c: Likewise.
770 * unwind-c.c (PERSONALITY_FUNCTION): Add general-regs-only target
771 attribute for ARM.
772
887e182f
MC
7732019-04-15 Monk Chiang <sh.chiang04@gmail.com>
774
775 * config/nds32/linux-unwind.h (SIGRETURN): Remove.
776 (RT_SIGRETURN): Update.
777 (nds32_fallback_frame_state): Update.
778
a90b0cdd
MS
7792019-02-21 Martin Sebor <msebor@redhat.com>
780
781 * libgcc2.h (__clear_cache): Correct signature.
782 * libgcc2.c (__clear_cache): Same.
783
1ed28eda
UB
7842019-02-20 Uroš Bizjak <ubizjak@gmail.com>
785
786 * config/alpha/linux-unwind.h (alpha_fallback_frame_state):
787 Cast 'mcontext_t *' &rt_->uc.uc_mcontext to 'struct sigcontext *'.
788
fe95aee9
UB
7892019-02-19 Uroš Bizjak <ubizjak@gmail.com>
790
791 * unwind-dw2.c (_Unwind_GetGR) [DWARF_ZERO_REG]: Compare
792 regno instead of index to DWARF_ZERO_REG.
793
bf7988f1
EB
7942019-02-15 Eric Botcazou <ebotcazou@adacore.com>
795
796 * config/visium/lib2funcs.c (__set_trampoline_parity): Replace
797 TRAMPOLINE_SIZE with __LIBGCC_TRAMPOLINE_SIZE__.
798
ba2c1ca8
UB
7992019-01-31 Uroš Bizjak <ubizjak@gmail.com>
800
801 * config/alpha/t-linux: Add -mfp-rounding-mode=d
802 to HOST_LIBGCC2_CFLAGS.
803
6395ba73
L
8042019-01-23 Joseph Myers <joseph@codesourcery.com>
805
806 PR libgcc/88931
ba2c1ca8 807 * libgcc2.c (FSTYPE FUNC (DWtype u)): Correct no leading bits case.
6395ba73 808
756721ba
ML
8092019-01-18 Martin Liska <mliska@suse.cz>
810
811 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Rename
812 to ...
813 (__gcov_indirect_call_profiler_v3): ... this.
814 * libgcov.h (__gcov_indirect_call_profiler_v2): Likewise.
815 (__gcov_indirect_call_profiler_v3): Likewise.
816 * Makefile.in: Bump function name.
817
d273c40a
ML
8182019-01-18 Martin Liska <mliska@suse.cz>
819
820 * libgcov-driver.c (GCOV_PROF_PREFIX): Define.
821 (gcov_version): Use in gcov_error.
822 (merge_one_data): Likewise.
823 (dump_one_gcov): Likewise.
824
be9d9fdb
ML
8252019-01-18 Martin Liska <mliska@suse.cz>
826
827 * libgcov-driver.c (gcov_version_string): New function.
828 (gcov_version): Convert version integer into string.
829
91d7b7fe
AS
8302019-01-17 Andrew Stubbs <ams@codesourcery.com>
831 Kwok Cheung Yeung <kcy@codesourcery.com>
832 Julian Brown <julian@codesourcery.com>
833 Tom de Vries <tom@codesourcery.com>
834
835 * config.host: Recognize amdgcn*-*-amdhsa.
836 * config/gcn/crt0.c: New file.
837 * config/gcn/lib2-divmod-hi.c: New file.
838 * config/gcn/lib2-divmod.c: New file.
839 * config/gcn/lib2-gcn.h: New file.
840 * config/gcn/sfp-machine.h: New file.
841 * config/gcn/t-amdgcn: New file.
842
67914693
SL
8432019-01-09 Sandra Loosemore <sandra@codesourcery.com>
844
845 PR other/16615
846
847 * config/c6x/libunwind.S: Mechanically replace "can not" with
848 "cannot".
849 * config/tilepro/atomic.h: Likewise.
850 * config/vxlib-tls.c: Likewise.
851 * generic-morestack-thread.c: Likewise.
852 * generic-morestack.c: Likewise.
853 * mkmap-symver.awk: Likewise.
854
a5544970
JJ
8552019-01-01 Jakub Jelinek <jakub@redhat.com>
856
857 Update copyright years.
858
da77eace
L
8592018-12-20 H.J. Lu <hongjiu.lu@intel.com>
860
861 * unwind-pe.h (read_encoded_value_with_base): Add GCC pragma
862 to ignore -Waddress-of-packed-member.
863
72e3a529
TP
8642018-12-19 Thomas Preud'homme <thomas.preudhomme@linaro.org>
865
866 * /config/arm/lib1funcs.S (FUNC_START): Remove unused sp_section
867 parameter and corresponding code.
868 (ARM_FUNC_START): Likewise in both definitions.
869 Also update footer comment about condition that need to match with
870 gcc/config/arm/elf.h to also include libgcc/config/arm/t-arm.
871 * config/arm/ieee754-df.S (muldf3): Also build it if L_arm_muldf3 is
872 defined. Weakly define it in this case.
873 * config/arm/ieee754-sf.S (mulsf3): Likewise with L_arm_mulsf3.
874 * config/arm/t-elf (LIB1ASMFUNCS): Build _arm_muldf3.o and
875 _arm_mulsf3.o before muldiv versions if targeting Thumb-1 only. Add
876 comment to keep condition in sync with the one in
877 libgcc/config/arm/lib1funcs.S and gcc/config/arm/elf.h.
878
5d54c798
WX
8792018-12-18 Wei Xiao <wei3.xiao@intel.com>
880
881 * config/i386/cpuinfo.c (get_intel_cpu): Handle cascadelake.
882 * config/i386/cpuinfo.h: Add INTEL_COREI7_CASCADELAKE.
883
5a2580b6
RV
8842018-12-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
885
886 * config/rs6000/tramp.S (__trampoline_setup): Also emit .size
887 and .cfi_endproc directives for VxWorks targets.
888
c0c5112b
PK
8892018-12-05 Paul Koning <ni1d@arrl.net>
890
891 * udivmodhi4.c (__udivmodhi4): Fix loop end check.
892
1ea7ea18
AM
8932018-11-27 Alan Modra <amodra@gmail.com>
894
895 * config/rs6000/morestack.S (__stack_split_initialize),
896 (__morestack_get_guard, __morestack_set_guard),
897 (__morestack_make_guard): Provide CFI covering these functions.
898 * config/rs6000/tramp.S (__trampoline_setup): Likewise.
899
ff641ae1
XQ
9002018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
901
1ea7ea18 902 * config/csky/linux-unwind.h (sc_pt_regs): Update for kernel.
ff641ae1
XQ
903 (sc_pt_regs_lr): Update for kernel.
904 (sc_pt_regs_tls): Update for kernel.
905
28209372
XQ
9062018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
907
908 * config/csky/linux-unwind.h: Fix coding style.
909
b2a71af6
XQ
9102018-11-13 Xianmiao Qu <xianmiao_qu@c-sky.com>
911
912 * config/csky/linux-unwind.h (_sig_ucontext_t): Remove.
1ea7ea18 913 (csky_fallback_frame_state): Modify the check of the
b2a71af6
XQ
914 instructions to adapt to changes in the kernel
915
d929e137
SH
9162018-11-09 Stafford Horne <shorne@gmail.com>
917 Richard Henderson <rth@twiddle.net>
918
919 * config.host: Add OpenRISC support.
920 * config/or1k/*: New.
921
222cfefa
KC
9222018-11-08 Kito Cheng <kito@andestech.com>
923
924 * soft-fp/adddf3.c: Update from glibc.
925 * soft-fp/addsf3.c: Likewise.
926 * soft-fp/addtf3.c: Likewise.
927 * soft-fp/divdf3.c: Likewise.
928 * soft-fp/divsf3.c: Likewise.
929 * soft-fp/divtf3.c: Likewise.
930 * soft-fp/double.h: Likewise.
931 * soft-fp/eqdf2.c: Likewise.
932 * soft-fp/eqsf2.c: Likewise.
933 * soft-fp/eqtf2.c: Likewise.
934 * soft-fp/extenddftf2.c: Likewise.
935 * soft-fp/extended.h: Likewise.
936 * soft-fp/extendhftf2.c: Likewise.
937 * soft-fp/extendsfdf2.c: Likewise.
938 * soft-fp/extendsftf2.c: Likewise.
939 * soft-fp/extendxftf2.c: Likewise.
940 * soft-fp/fixdfdi.c: Likewise.
941 * soft-fp/fixdfsi.c: Likewise.
942 * soft-fp/fixdfti.c: Likewise.
943 * soft-fp/fixhfti.c: Likewise.
944 * soft-fp/fixsfdi.c: Likewise.
945 * soft-fp/fixsfsi.c: Likewise.
946 * soft-fp/fixsfti.c: Likewise.
947 * soft-fp/fixtfdi.c: Likewise.
948 * soft-fp/fixtfsi.c: Likewise.
949 * soft-fp/fixtfti.c: Likewise.
950 * soft-fp/fixunsdfdi.c: Likewise.
951 * soft-fp/fixunsdfsi.c: Likewise.
952 * soft-fp/fixunsdfti.c: Likewise.
953 * soft-fp/fixunshfti.c: Likewise.
954 * soft-fp/fixunssfdi.c: Likewise.
955 * soft-fp/fixunssfsi.c: Likewise.
956 * soft-fp/fixunssfti.c: Likewise.
957 * soft-fp/fixunstfdi.c: Likewise.
958 * soft-fp/fixunstfsi.c: Likewise.
959 * soft-fp/fixunstfti.c: Likewise.
960 * soft-fp/floatdidf.c: Likewise.
961 * soft-fp/floatdisf.c: Likewise.
962 * soft-fp/floatditf.c: Likewise.
963 * soft-fp/floatsidf.c: Likewise.
964 * soft-fp/floatsisf.c: Likewise.
965 * soft-fp/floatsitf.c: Likewise.
966 * soft-fp/floattidf.c: Likewise.
967 * soft-fp/floattihf.c: Likewise.
968 * soft-fp/floattisf.c: Likewise.
969 * soft-fp/floattitf.c: Likewise.
970 * soft-fp/floatundidf.c: Likewise.
971 * soft-fp/floatundisf.c: Likewise.
972 * soft-fp/floatunditf.c: Likewise.
973 * soft-fp/floatunsidf.c: Likewise.
974 * soft-fp/floatunsisf.c: Likewise.
975 * soft-fp/floatunsitf.c: Likewise.
976 * soft-fp/floatuntidf.c: Likewise.
977 * soft-fp/floatuntihf.c: Likewise.
978 * soft-fp/floatuntisf.c: Likewise.
979 * soft-fp/floatuntitf.c: Likewise.
980 * soft-fp/gedf2.c: Likewise.
981 * soft-fp/gesf2.c: Likewise.
982 * soft-fp/getf2.c: Likewise.
983 * soft-fp/half.h: Likewise.
984 * soft-fp/ledf2.c: Likewise.
985 * soft-fp/lesf2.c: Likewise.
986 * soft-fp/letf2.c: Likewise.
987 * soft-fp/muldf3.c: Likewise.
988 * soft-fp/mulsf3.c: Likewise.
989 * soft-fp/multf3.c: Likewise.
990 * soft-fp/negdf2.c: Likewise.
991 * soft-fp/negsf2.c: Likewise.
992 * soft-fp/negtf2.c: Likewise.
993 * soft-fp/op-1.h: Likewise.
994 * soft-fp/op-2.h: Likewise.
995 * soft-fp/op-4.h: Likewise.
996 * soft-fp/op-8.h: Likewise.
997 * soft-fp/op-common.h: Likewise.
998 * soft-fp/quad.h: Likewise.
999 * soft-fp/single.h: Likewise.
1000 * soft-fp/soft-fp.h: Likewise.
1001 * soft-fp/subdf3.c: Likewise.
1002 * soft-fp/subsf3.c: Likewise.
1003 * soft-fp/subtf3.c: Likewise.
1004 * soft-fp/truncdfsf2.c: Likewise.
1005 * soft-fp/trunctfdf2.c: Likewise.
1006 * soft-fp/trunctfhf2.c: Likewise.
1007 * soft-fp/trunctfsf2.c: Likewise.
1008 * soft-fp/trunctfxf2.c: Likewise.
1009 * soft-fp/unorddf2.c: Likewise.
1010 * soft-fp/unordsf2.c: Likewise.
1011 * soft-fp/unordtf2.c: Likewise.
1012
2901f42f
VK
10132018-11-04 Venkataramanan Kumar <Venkataramanan.kumar@amd.com>
1014
1015 * config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
1016 * config/i386/cpuinfo.h (processor_types): Add znver2.
1017
4310ca66
PK
10182018-11-01 Paul Koning <ni1d@arrl.net>
1019
1020 * config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c.
1021 (HOST_LIBGCC2_CFLAGS): Change to optimize for size.
1022
22e05272
JM
10232018-10-31 Joseph Myers <joseph@codesourcery.com>
1024
1025 PR bootstrap/82856
1026 * configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
1027 * configure: Regenerate.
1028
8180cde0
CZ
10292018-10-31 Claudiu Zissulescu <claziss@synopsys.com>
1030
1031 * config/arc/lib1funcs.S (_muldi3): New function.
1032 * config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
1033
be7b071e
RV
10342018-10-30 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1035
1036 * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
1037
3239d726
ML
10382018-10-25 Martin Liska <mliska@suse.cz>
1039
1040 PR other/87735
1041 * libgcov-profiler.c: Revert.
1042
19b55958
ML
10432018-10-24 Martin Liska <mliska@suse.cz>
1044
1045 * libgcov-profiler.c: Start from 1 in order to distinguish
1046 functions which were seen and these that were not.
1047
a9a2fddb
PK
10482018-10-18 Paul Koning <ni1d@arrl.net>
1049
1050 * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
1051 standard.
1052 * divmod.c: Update references to __udivmodsi4.
1053 * udivmod.c: Ditto.
1054 * udivhi3.c: New file.
1055 * udivmodhi4.c: New file.
1056 * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
1057
fc8abc46
RV
10582018-10-17 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1059
1060 * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
1061
87f918e3
OH
10622018-10-12 Olivier Hainque <hainque@adacore.com>
1063
1064 * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
1065 defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
1066
be86efa7
PK
10672018-10-08 Paul Koning <ni1d@arrl.net>
1068
1069 * config/pdp11/t-pdp11: Remove -mfloat32 switch.
1070
3edbcdbe
ML
10712018-10-04 Martin Liska <mliska@suse.cz>
1072
1073 PR gcov-profile/84107
1074 * libgcov-profiler.c (__gcov_indirect_call):
1075 Change type to indirect_call_tuple.
1076 (struct indirect_call_tuple): New struct.
1077 (__gcov_indirect_call_topn_profiler): Change type.
1078 (__gcov_indirect_call_profiler_v2): Use the new
1079 variables.
1080 * libgcov.h (struct indirect_call_tuple): New struct
1081 definition.
1082
af8096fc
UB
10832018-10-03 Uros Bizjak <ubizjak@gmail.com>
1084
1085 * libgcc2.c (isnan): Use __builtin_isnan.
1086 (isfinite): Use __builtin_isfinite.
1087 (isinf): Use __builtin_isinf.
1088
0a76bba4
UB
10892018-09-26 Uros Bizjak <ubizjak@gmail.com>
1090
1091 * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
1092
5244089f
OH
10932018-09-21 Alexandre Oliva <oliva@adacore.com>
1094
1095 * config/vxcache.c: New file. Provide __clear_cache, based on
1096 the cacheTextUpdate VxWorks service.
1097 * config/t-vxworks (LIB2ADD): Add vxcache.c.
1098 (LIB2FUNCS_EXCLUDE): Add _clear_cache.
1099 * config/t-vxwoks7: Likewise.
1100
512cc015
ML
11012018-09-21 Martin Liska <mliska@suse.cz>
1102
1103 * libgcov-driver.c (crc32_unsigned): Remove.
1104 (gcov_histogram_insert): Likewise.
1105 (gcov_compute_histogram): Likewise.
1106 (compute_summary): Simplify rapidly.
1107 (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
1108 (merge_summary): Rapidly simplify.
1109 (dump_one_gcov): Ignore gcov_summary.
1110 (gcov_do_dump): Do not handle program summary, it's not
1111 used.
1112 * libgcov-util.c (tag_summary): Remove.
1113 (read_gcda_finalize): Fix coding style.
1114 (read_gcda_file): Initialize curr_object_summary.
1115 (compute_summary): Remove.
1116 (calculate_overlap): Remove settings of run_max.
1117
36ff254b
MC
11182018-09-21 Monk Chiang <sh.chiang04@gmail.com>
1119
1120 * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
1121 ucontext_t type instead.
1122 (nds32_fallback_frame_state): Remove struct _sigframe statement.
1123
229a033d
KC
11242018-09-21 Kito Cheng <kito.cheng@gmail.com>
1125
1126 * config/nds32/t-nds32-glibc: New file.
1127
53c6feb2
RO
11282018-09-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1129
1130 * configure.ac (solaris_ld_v2_maps): New test.
1131 * configure: Regenerate.
1132 * Makefile.in (solaris_ld_v2_maps): New variable.
1133 * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
1134 if supported.
1135
ebdb6f23
RE
11362018-08-23 Richard Earnshaw <rearnsha@arm.com>
1137
1138 PR target/86951
1139 * config/arm/lib1funcs.asm (speculation_barrier): New function.
1140 * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
1141 to build.
1142
a49c064e
IS
11432018-08-22 Iain Sandoe <iain@sandoe.co.uk>
1144
1ea7ea18 1145 * config/unwind-dw2-fde-darwin.c
a49c064e
IS
1146 (_darwin10_Unwind_FindEnclosingFunction): move from here ...
1147 * config/darwin10-unwind-find-enc-func.c: … to here.
1148 * config/t-darwin: Build Darwin10 unwinder shim crt.
1149 * libgcc/config.host: Add the Darwin10 unwinder shim.
1150
9a5b8df7
RV
11512018-08-21 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1152
1153 * config.host: Add crtbegin.o and crtend.o for
1154 powerpc-wrs-vxworks target.
1155
4cd0bc3b
J
11562018-08-17 Jojo <jijie_rong@c-sky.com>
1157 Huibin Wang <huibin_wang@c-sky.com>
1158 Sandra Loosemore <sandra@codesourcery.com>
1159 Chung-Lin Tang <cltang@codesourcery.com>
1160
1161 C-SKY port: libgcc
1162
1163 * config.host: Add C-SKY support.
1164 * config/csky/*: New.
1165
a4931745
CJW
11662018-08-12 Chung-Ju Wu <jasonwucj@gmail.com>
1167
1168 * config/nds32/t-nds32-isr: Rearrange object dependency.
1169 * config/nds32/initfini.c: Add dwarf2 unwinding support.
1170 * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
1171 and registers usage.
1172 * config/nds32/isr-library/excp_isr.S: Ditto.
1173 * config/nds32/isr-library/intr_isr.S: Ditto.
1174 * config/nds32/isr-library/reset.S: Ditto.
1175 * config/nds32/isr-library/restore_all.inc: Ditto.
1176 * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
1177 * config/nds32/isr-library/restore_partial.inc: Ditto.
1178 * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
1179 * config/nds32/isr-library/save_all.inc: Ditto.
1180 * config/nds32/isr-library/save_mac_regs.inc: Ditto.
1181 * config/nds32/isr-library/save_partial.inc: Ditto.
1182 * config/nds32/isr-library/save_usr_regs.inc: Ditto.
1183 * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
1184
2b1969f6
JDA
11852018-08-11 John David Anglin <danglin@gcc.gnu.org>
1186
1187 * config/pa/linux-atomic.c: Update comment.
1188 (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
1189 COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
1190 SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
1191 __ATOMIC_RELAXED for atomic loads.
1192 (SYNC_LOCK_RELEASE_1): New define. Use __sync_synchronize() and
1193 unordered store to release lock.
1194 (__sync_lock_release_8): Likewise.
1195 (SYNC_LOCK_RELEASE_2): Remove define.
af8096fc 1196
89fff9cc
NP
11972018-08-02 Nicolas Pitre <nico@fluxnic.net>
1198
1199 PR libgcc/86512
1200 * config/arm/ieee754-df.S: Don't shortcut denormal handling when
1201 exponent goes negative. Update my email address.
1202 * config/arm/ieee754-sf.S: Likewise.
1203
fd2e1dcd
ML
12042018-08-01 Martin Liska <mliska@suse.cz>
1205
1206 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
92a285c1 1207 check that __gcov_indirect_call_callee is non-null.
fd2e1dcd 1208
b7415975
CL
12092018-07-30 Christophe Lyon <christophe.lyon@linaro.org>
1210
1211 * config/arm/ieee754-df.S: Fix comment for code working on
1212 architectures >= 4.
1213 * config/arm/ieee754-sf.S: Likewise.
1214
b72e71a3
L
12152018-07-27 H.J. Lu <hongjiu.lu@intel.com>
1216
1217 PR libgcc/85334
1218 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
1219 Removed.
1220
1c686aa4
JC
12212018-07-05 James Clarke <jrtc27@jrtc27.com>
1222
1223 * configure: Regenerated.
1224
b61c9b99
RO
12252018-06-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1226
1227 * Makefile.in (install_leaf): Use enable_gcov instead of
1228 enable_libgcov.
1229
1765b023
RV
12302018-06-27 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1231
1232 * configure.ac: Add --disable-gcov option.
1233 * configure: Regenerate.
1234 * Makefile.in: Honour @enable_gcov@.
1235
9b2e34ef
CL
12362018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
1237
1238 * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
1239 __ARM_ARCH and __ARM_FEATURE_CLZ instead.
1240 (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
1241 * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
1242 __ARM_ARCH__.
1243 * config/arm/ieee754-sf.S: Likewise.
1244 * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
1245
d1b0dd54
CL
12462018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
1247
1248 * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
1249 longer supported.
1250 * config/arm/ieee754-sf.S: Likewise.
1251
1f3fa525
TM
12522018-06-20 Than McIntosh <thanm@google.com>
1253
1254 PR libgcc/86213
1255 * generic-morestack.c (allocate_segment): Move calls to getenv and
1256 getpagesize to __morestack_load_mmap.
1257 (__morestack_load_mmap) Initialize static_pagesize and
1258 use_guard_page here so as to avoid clobbering SSE regs during a
1259 __morestack call.
1260
6a8886e4
MM
12612018-06-18 Michael Meissner <meissner@linux.ibm.com>
1262
1263 * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
1264 support modules with -mno-gnu-attribute.
1265 * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
1266
fb997097
OH
12672018-06-07 Olivier Hainque <hainque@adacore.com>
1268
1269 * config/t-vxworks (LIBGCC_INCLUDES): Add
1270 -I$(MULTIBUILDTOP)../../gcc/include.
1271 * config/t-vxworks7: Likewise. Reformat a bit to match
1272 the t-vxworks layout.
1273
a548a5a1
OM
12742018-06-07 Olga Makhotina <olga.makhotina@intel.com>
1275
1276 * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
1277
244aebfd
ML
12782018-06-07 Martin Liska <mliska@suse.cz>
1279
1280 * libgcov-driver.c: Rename cs_all to all and assign it from
92a285c1 1281 all_prg.
244aebfd 1282
6c086e8c
ML
12832018-06-07 Martin Liska <mliska@suse.cz>
1284
92a285c1 1285 PR bootstrap/86057
6c086e8c 1286 * libgcov-driver-system.c (replace_filename_variables): Use
92a285c1 1287 memcpy instead of mempcpy.
6c086e8c 1288 (allocate_filename_struct): Do not allocate filename, allocate
92a285c1 1289 prefix and set it.
6c086e8c 1290 (gcov_exit_open_gcda_file): Allocate memory for gf->filename
92a285c1 1291 here and properly copy content into it.
6c086e8c 1292 * libgcov-driver.c (struct gcov_filename): Remove max_length
92a285c1 1293 field, change prefix from size_t into char *.
6c086e8c
ML
1294 (compute_summary): Do not calculate longest filename.
1295 (gcov_do_dump): Release memory of gf.filename after each file.
1296 * libgcov-util.c (compute_summary): Use new signature of
92a285c1 1297 compute_summary.
6c086e8c
ML
1298 (calculate_overlap): Likewise.
1299
97a53d1d
ML
13002018-06-05 Martin Liska <mliska@suse.cz>
1301
1302 PR gcov-profile/47618
1303 * libgcov-driver-system.c (replace_filename_variables): New
92a285c1 1304 function.
97a53d1d
ML
1305 (gcov_exit_open_gcda_file): Use it.
1306
7f3577f5
ML
13072018-06-05 Martin Liska <mliska@suse.cz>
1308
1309 * libgcov-driver.c (gcov_compute_histogram): Remove usage
1310 of gcov_ctr_summary.
1311 (compute_summary): Do it just for a single summary.
1312 (merge_one_data): Likewise.
1313 (merge_summary): Simplify as we read just single summary.
1314 (dump_one_gcov): Pass proper argument.
1315 * libgcov-util.c (compute_one_gcov): Simplify as we have just
1316 single summary.
1317 (gcov_info_count_all_cold): Likewise.
1318 (calculate_overlap): Likewise.
1319
cf3cd43d
CJW
13202018-06-02 Chung-Ju Wu <jasonwucj@gmail.com>
1321 Monk Chiang <sh.chiang04@gmail.com>
1322
1323 * config.host (nds32*-linux*): New.
1324 * config/nds32/linux-atomic.c: New file.
1325 * config/nds32/linux-unwind.h: New file.
1326
8b8003ed
UB
13272018-05-31 Uros Bizjak <ubizjak@gmail.com>
1328
1329 PR target/85591
1330 * config/i386/cpuinfo.c (get_amd_cpu): Return
1331 AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
1332
bbdf026f
RV
13332018-05-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
1334
92a285c1 1335 * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
bbdf026f 1336
0e8f29da
ML
13372018-05-29 Martin Liska <mliska@suse.cz>
1338
92a285c1 1339 PR gcov-profile/85759
0e8f29da 1340 * libgcov-driver-system.c (gcov_error): Introduce usage of
92a285c1 1341 GCOV_EXIT_AT_ERROR env. variable.
0e8f29da 1342 * libgcov-driver.c (merge_one_data): Print error that we
92a285c1 1343 overwrite a gcov file with a different timestamp.
0e8f29da 1344
54fd1590
K
13452018-05-23 Kalamatee <kalamatee@gmail.com>
1346
1347 * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
1348 path to Lf$finfty.
1349
09baee1a
KC
13502018-05-18 Kito Cheng <kito.cheng@gmail.com>
1351 Monk Chiang <sh.chiang04@gmail.com>
1352 Jim Wilson <jimw@sifive.com>
1353
1354 * config/riscv/save-restore.S: Add support for rv32e.
1355
c3f808d3
KT
13562018-05-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1357
1358 * config/arm/libunwind.S: Update comment relating to armv5.
1359
fcf4f831
JL
13602018-05-17 Jerome Lambourg <lambourg@adacore.com>
1361
1362 * config/arm/cmse.c (cmse_check_address_range): Replace
1363 UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
1364
74b2bb19
OM
13652018-05-17 Olga Makhotina <olga.makhotina@intel.com>
1366
1367 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
1368 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
1369
50e461df
OM
13702018-05-08 Olga Makhotina <olga.makhotina@intel.com>
1371
1372 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
1373 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
1374
e5f1cdb1
AC
13752018-05-07 Amaan Cheval <amaan.cheval@gmail.com>
1376
1377 * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
1378
8f479d7a
AT
13792018-04-27 Andreas Tobler <andreast@gcc.gnu.org>
1380 Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
1381
1382 PR libgcc/84292
1383 * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
1384 op_and_fetch to return the right result.
1385
ae043291
AM
13862018-04-27 Alan Modra <amodra@gmail.com>
1387
1388 PR libgcc/85532
1389 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
1390 -fno-asynchronous-unwind-tables.
1391
ba169b74
CJW
13922018-04-25 Chung-Ju Wu <jasonwucj@gmail.com>
1393
1394 * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
1395 * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
1396
ffc2fc06
L
13972018-04-24 H.J. Lu <hongjiu.lu@intel.com>
1398
1399 * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
1400 when including "config/i386/shadow-stack-unwind.h".
1401
7b47ecf2
L
14022018-04-24 H.J. Lu <hongjiu.lu@intel.com>
1403
1404 * configure: Regenerated.
1405
661eb8f9
MM
14062018-04-20 Michael Meissner <meissner@linux.ibm.com>
1407
1408 PR target/85456
1409 * config/rs6000/_powikf2.c: New file. Add support for the
1410 __builtin_powil function when long double is IEEE 128-bit floating
1411 point.
1412 * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
1413 __powikf2 support.
1414 (__powikf2): Likewise.
1415 * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
1416 (__powikf2_hw): Likewise.
1417 (__powikf2): Likewise.
1418 * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
1419 * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
1420 (_powikf2-hw.c): Likewise.
1421
5707be3c
L
14222018-04-19 H.J. Lu <hongjiu.lu@intel.com>
1423
1424 PR libgcc/85334
1425 * unwind-generic.h (_Unwind_Frames_Increment): New.
1426 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
1427 Likewise.
1428 * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
1429 count with _Unwind_Frames_Increment.
1430 (_Unwind_ForcedUnwind_Phase2): Likewise.
1431
5f9ca0b8
L
14322018-04-19 H.J. Lu <hongjiu.lu@intel.com>
1433
1434 PR libgcc/85379
1435 * config/i386/morestack.S (__stack_split_initialize): Add
1436 _CET_ENDBR.
1437
a0e1df88
JJ
14382018-04-19 Jakub Jelinek <jakub@redhat.com>
1439
1440 * configure: Regenerated.
1441
001ddaa8
DM
14422018-04-18 David Malcolm <dmalcolm@redhat.com>
1443
1444 PR jit/85384
1445 * configure: Regenerate.
1446
a57f99ba
JJ
14472018-04-16 Jakub Jelinek <jakub@redhat.com>
1448
1449 PR target/84945
1450 * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
1451 -Wdangling-else warnings. Mask shift counts to avoid
1452 -Wshift-count-negative and -Wshift-count-overflow false positives.
1453
4d47fe5a
RB
14542018-04-06 Ruslan Bukin <br@bsdpad.com>
1455
1456 * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
1457
059cc8ac
L
14582018-03-29 H.J. Lu <hongjiu.lu@intel.com>
1459
1460 PR target/85100
1461 * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
1462 (XSTATE_FP): Likewise.
1463 (XSTATE_SSE): Likewise.
1464 (XSTATE_YMM): Likewise.
1465 (XSTATE_OPMASK): Likewise.
1466 (XSTATE_ZMM): Likewise.
1467 (XSTATE_HI_ZMM): Likewise.
1468 (XCR_AVX_ENABLED_MASK): Likewise.
1469 (XCR_AVX512F_ENABLED_MASK): Likewise.
1470 (get_available_features): Enable AVX and AVX512 features only
1471 if their states are supported by OSXSAVE.
1472
f2620385
IT
14732018-03-22 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1474
1475 PR target/85025
1476 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
1477 Fix a typo, tmp => 255.
1478
ae6dca8c
JJ
14792018-03-20 Jakub Jelinek <jakub@redhat.com>
1480
1481 PR target/84945
1482 * config/i386/cpuinfo.h (__cpu_features2): Declare.
1483 * config/i386/cpuinfo.c (__cpu_features2): New variable for
1484 ifndef SHARED only.
1485 (set_feature): Define.
1486 (get_available_features): Use set_feature macro. Set __cpu_features2
1487 to the second word of features ifndef SHARED.
1488
c36b04c1
JK
14892018-03-15 Julia Koval <julia.koval@intel.com>
1490
1491 * config/i386/cpuinfo.c (get_available_features): Add
1492 FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
1493 FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
1494 * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
1495 FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
1496 FEATURE_AVX512BITALG.
1497
79ab5364
JK
14982018-03-14 Julia Koval <julia.koval@intel.com>
1499
1500 * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
1501 icelake client and icelake server.
1502
66a00b11
JDA
15032018-03-06 John David Anglin <danglin@gcc.gnu.org>
1504
1505 * config/pa/fptr.c (_dl_read_access_allowed): New.
1506 (__canonicalize_funcptr_for_compare): Use it.
af8096fc 1507
ce579a4f
JJ
15082018-02-28 Jakub Jelinek <jakub@redhat.com>
1509
1510 PR debug/83917
1511 * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
1512 $asm_hidden_op if visibility ("hidden") attribute works.
1513 (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
1514 * config/i386/i386-asm.h: Don't include auto-host.h.
1515 (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
1516 PACKAGE_URL): Don't undefine.
1517 (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
1518 guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
1519 (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
1520 #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
1521 definition instead of hardcoded .hidden.
1522 * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
1523 directive. Use #ifdef HAVE_AS_CFI_SECTIONS rather than
1524 #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
1525 (USE_GAS_CFI_DIRECTIVES): Don't define.
1526 * configure: Regenerated.
1527 * config.in: Likewise.
1528
e5868319
JJ
15292018-02-26 Jakub Jelinek <jakub@redhat.com>
1530
1531 PR debug/83917
1532 * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
1533 PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
1534 inclusion of auto-target.h and auto-host.h.
1535 (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
1536 __GCC_HAVE_DWARF2_CFI_ASM.
1537 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
1538 cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
1539 cfi_pop): Define.
1540 * config/i386/cygwin.S: Don't include auto-host.h here, just
1541 define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
1542 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
1543 cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
1544 * config/i386/resms64fx.h: Add cfi_* directives.
1545 * config/i386/resms64x.h: Likewise.
1546
faef260e
MF
15472018-02-20 Max Filippov <jcmvbkbc@gmail.com>
1548
1549 * config/xtensa/ieee754-df.S (__adddf3_aux): Add
1550 .literal_position directive.
1551 * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
1552
14e335ed
IT
15532018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1554
1555 PR target/84148
1556 * configure: Regenerate.
1557
95df0433
IT
15582018-02-16 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1559
1560 PR target/84239
1561 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
1562 Include cetintrin.h not x86intrin.h.
1563
f8de876d
IT
15642018-02-08 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1565
1566 PR target/84239
95df0433 1567 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
f8de876d
IT
1568 Use new _get_ssp and _inc_ssp intrinsics.
1569
02da1e9c
JK
15702018-02-02 Julia Koval <julia.koval@intel.com>
1571
1572 * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
1573
048c6a9a
CZ
15742018-01-26 Claudiu Zissulescu <claziss@synopsys.com>
1575
1576 * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
1577 option.
1578 (__divsi3): Use RF16 safe registers.
1579 (__modsi3): Likewise.
1580
0889f168
MF
15812018-01-23 Max Filippov <jcmvbkbc@gmail.com>
1582
1583 * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
1584 (__divsf3): Make NaN return value quiet.
1585 * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
1586 (__divdf3): Make NaN return value quiet.
1587
bc8b0d04
SP
15882018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
1589
1590 * config/rl78/anddi3.S: New assembly file.
1591 * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
1592
99cc06ea
SP
15932018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
1594
1595 * config/rl78/umindi3.S: New assembly file.
1596 * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
1597
6e9007a0
SP
15982018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
1599
1600 * config/rl78/smindi3.S: New assembly file.
1601 * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
1602
d975e494 16032018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
af8096fc 1604
d975e494
SP
1605 * config/rl78/smaxdi3.S: New assembly file.
1606 * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
1607
6a18c146 16082018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
af8096fc 1609
5dd16013
SP
1610 * config/rl78/umaxdi3.S: New assembly file.
1611 * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
af8096fc 1612
07baf4a5
JDA
16132018-01-21 John David Anglin <danglin@gcc.gnu.org>
1614
1615 PR lto/83452
1616 * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
1617 * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
af8096fc 1618
dbc3af4f
RS
16192018-01-13 Richard Sandiford <richard.sandiford@linaro.org>
1620
1621 * config/aarch64/value-unwind.h (aarch64_vg): New function.
1622 (DWARF_LAZY_REGISTER_VALUE): Define.
1623 * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
1624 to provide a fallback register value.
1625
68df9882
MM
16262018-01-08 Michael Meissner <meissner@linux.vnet.ibm.com>
1627
1628 * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
1629 __ibm128, instead of trying to use long double.
1630 (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
1631 accomidate -mabi=ieeelongdouble multilibs.
1632 (CVT_IBM128_TO_FLOAT128): Likewise.
1633 * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
1634 the appropriate IBM extended double type.
1635 (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
1636 (__gcc_qsub): Likewise.
1637 (__gcc_qmul): Likewise.
1638 (__gcc_qdiv): Likewise.
1639 (pack_ldouble): Likewise.
1640 (__gcc_qneg): Likewise.
1641 (__gcc_qeq): Likewise.
1642 (__gcc_qne): Likewise.
1643 (__gcc_qge): Likewise.
1644 (__gcc_qle): Likewise.
1645 (__gcc_stoq): Likewise.
1646 (__gcc_dtoq): Likewise.
1647 (__gcc_itoq): Likewise.
1648 (__gcc_utoq): Likewise.
1649 (__gcc_qunord): Likewise.
1650 * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
1651 quad-float128.h for the definitions.
1652 (COPYSIGN): Use the f128 version instead of the q version.
1653 (INFINITY): Likewise.
1654 (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
1655 * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
1656 quad-float128.h for the definitions.
1657 (COPYSIGN): Use the f128 version instead of the q version.
1658 (INFINITY): Likewise.
1659 (FABS): Likewise.
1660 (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
1661 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
1662 * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
1663
64b371b1
SH
16642018-01-05 Sebastian Huber <sebastian.huber@embedded-brains.de>
1665
1666 * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
1667 configuration.
1668
85ec4feb
JJ
16692018-01-03 Jakub Jelinek <jakub@redhat.com>
1670
1671 Update copyright years.
1672
16732017-12-12 Kito Cheng <kito.cheng@gmail.com>
b8d7e076
KC
1674
1675 * config/riscv/t-elf: Use multi3.c instead of multi3.S.
1676 * config/riscv/multi3.c: New file.
1677 * config/riscv/multi3.S: Remove.
1678
3a4c600f
JW
16792017-12-08 Jim Wilson <jimw@sifive.com>
1680
1681 * config/riscv/div.S: Use FUNC_* macros.
1682 * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
1683 * config/riscv/save-restore.S: Likewise.
1684 * config/riscv/riscv-asm.h: New.
1685
75ad35b5
MM
16862017-11-30 Michael Meissner <meissner@linux.vnet.ibm.com>
1687
6ae3512c
MM
1688 * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
1689 * config/rs6000/_divkc3.c (__divkc3): Likewise.
1690
75ad35b5
MM
1691 PR libgcc/83112
1692 * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
1693 correct type for all ifunc resolvers to silence -Wattribute-alias
1694 warnings. Eliminate the forward declaration of the resolver
1695 functions which is no longer needed.
1696 (__subkf3_resolve): Likewise.
1697 (__mulkf3_resolve): Likewise.
1698 (__divkf3_resolve): Likewise.
1699 (__negkf2_resolve): Likewise.
1700 (__eqkf2_resolve): Likewise.
1701 (__nekf2_resolve): Likewise.
1702 (__gekf2_resolve): Likewise.
1703 (__gtkf2_resolve): Likewise.
1704 (__lekf2_resolve): Likewise.
1705 (__ltkf2_resolve): Likewise.
1706 (__unordkf2_resolve): Likewise.
1707 (__extendsfkf2_resolve): Likewise.
1708 (__extenddfkf2_resolve): Likewise.
1709 (__trunckfsf2_resolve): Likewise.
1710 (__trunckfdf2_resolve): Likewise.
1711 (__fixkfsi_resolve): Likewise.
1712 (__fixkfdi_resolve): Likewise.
1713 (__fixunskfsi_resolve): Likewise.
1714 (__fixunskfdi_resolve): Likewise.
1715 (__floatsikf_resolve): Likewise.
1716 (__floatdikf_resolve): Likewise.
1717 (__floatunsikf_resolve): Likewise.
1718 (__floatundikf_resolve): Likewise.
1719 (__extendkftf2_resolve): Likewise.
1720 (__trunctfkf2_resolve): Likewise.
1721
1722 PR libgcc/83103
1723 * config/rs6000/quad-float128.h (TF): Don't define if long double
1724 is IEEE 128-bit floating point.
1725 (TCtype): Define as either TCmode or KCmode, depending on whether
1726 long double is IEEE 128-bit floating point.
1727 (__mulkc3_sw): Add declarations for software/hardware versions of
1728 complex multiply/divide.
1729 (__divkc3_sw): Likewise.
1730 (__mulkc3_hw): Likewise.
1731 (__divkc3_hw): Likewise.
1732 * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
1733 handlers to switch between using software emulation and hardware
1734 float128 instructions, build the complex multiply/divide functions
1735 for both software and hardware support.
1736 * config/rs6000/_divkc3.c (_divkc3): Likewise.
1737 * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
1738 (__divkc3_resolve): Likewise.
1739 (__mulkc3): Likewise.
1740 (__divkc3): Likewise.
1741 * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
1742 (fp128_hw_src): Likewise.
1743 (fp128_hw_static_obj): Likewise.
1744 (fp128_hw_shared_obj): Likewise.
1745 (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
1746 _mulkc3.c and _divkc3.c, changing the function name.
1747 (_divkc3-hw.c): Likewise.
1748 * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
1749 and _divkc3-hw.c.
1750
c234d831
UB
17512017-11-26 Julia Koval <julia.koval@intel.com>
1752
1753 * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
1754 * config/i386/cpuinfo.h (processor_subtypes): Add
1755 INTEL_COREI7_CANNONLAKE.
1756
1ebafce0
IT
17572017-11-20 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1758
1759 PR bootstrap/83015
1760 * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
1761 parameter.
1762 * config/xtensa/unwind-dw2-xtensa.c: Likewise
1763 * config/ia64/unwind-ia64.c: Add frames parameter.
1764 * unwind-sjlj.c: Likewise.
1765
6a10fff4
IT
17662017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1767
1768 * config/i386/linux-unwind.h: Include
1769 config/i386/shadow-stack-unwind.h.
1770 * config/i386/shadow-stack-unwind.h: New file.
1771 * unwind-dw2.c: (uw_install_context): Add a frame parameter and
1772 pass it to _Unwind_Frames_Extra.
1773 * unwind-generic.h (_Unwind_Frames_Extra): New.
1774 * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
1775 parameter. Add local variable frames to count number of frames.
1776 (_Unwind_ForcedUnwind_Phase2): Likewise.
1777 (_Unwind_RaiseException): Add local variable frames to count
1778 number of frames, pass it to _Unwind_RaiseException_Phase2 and
1779 uw_install_context.
1780 (_Unwind_ForcedUnwind): Likewise.
1781 (_Unwind_Resume): Likewise.
1782 (_Unwind_Resume_or_Rethrow): Likewise.
1783
1ecae1fc
IT
17842017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1785
1786 * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
1787 (CET_FLAGS): New.
1788 * config/i386/morestack.S: Include <cet.h>.
1789 (__morestack_large_model): Add _CET_ENDBR at function entrance.
1790 * config/i386/resms64.h: Include <cet.h>.
1791 * config/i386/resms64f.h: Likewise.
1792 * config/i386/resms64fx.h: Likewise.
1793 * config/i386/resms64x.h: Likewise.
1794 * config/i386/savms64.h: Likewise.
1795 * config/i386/savms64f.h: Likewise.
1796 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
1797 (CRTSTUFF_T_CFLAGS): Likewise.
1798 * configure.ac: Include ../config/cet.m4.
1799 Set and substitute CET_FLAGS.
1800 * configure: Regenerated.
1801
f021f1d3
RO
18022017-11-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1803
1804 * config.host (*-*-solaris2*): Adapt comment for Solaris 12
1805 renaming.
1806 * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
1807 * configure.ac (libgcc_cv_solaris_crts): Likewise.
1808 * configure: Regenerate.
1809
65f480c7
TV
18102017-11-07 Tom de Vries <tom@codesourcery.com>
1811
1812 * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
1813 after "do {} while (0)".
1814
2a321acb
TV
18152017-11-07 Tom de Vries <tom@codesourcery.com>
1816
1817 PR other/82784
1818 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
1819 semicolon after "do {} while (0)".
1820 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1821 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1822 * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1823 * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1824
59fcf6c3
AT
18252017-11-04 Andreas Tobler <andreast@gcc.gnu.org>
1826
1827 PR libgcc/82635
1828 * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
1829 sysctl to determine whether we're in a trampoline.
1830 Keep the pattern matching method for systems without
1831 KERN_PROC_SIGTRAMP sysctl.
1832
b0c7ddf8
CM
18332017-11-03 Cupertino Miranda <cmiranda@synopsys.com>
1834 Vineet Gupta <vgupta@synopsys.com>
1835
1836 * config.host (arc*-*-linux*): Set md_unwind_header variable.
1837 * config/arc/linux-unwind-reg.def: New file.
1838 * config/arc/linux-unwind-reg.h: Likewise.
1839
5feee954
SP
18402017-10-23 Sebastian Perta <sebastian.perta@renesas.com>
1841
1842 * config/rl78/subdi3.S: New assembly file.
1843 * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
1844
a0bf6cf7
SP
18452017-10-13 Sebastian Perta <sebastian.perta@renesas.com>
1846
1847 * config/rl78/adddi3.S: New assembly file.
1848 * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
1849
e7176f75
JJ
18502017-10-13 Jakub Jelinek <jakub@redhat.com>
1851
1852 PR target/82274
1853 * libgcc2.c (__mulvDI3): If both operands have
1854 the same highpart of -1 and the topmost bit of lowpart is 0,
1855 multiplication overflows even if both lowparts are 0.
1856
db6601d2
JB
18572017-09-28 James Bowman <james.bowman@ftdichip.com>
1858
1859 * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
1860
938b6f1e
JM
18612017-09-26 Joseph Myers <joseph@codesourcery.com>
1862
1863 * config/microblaze/crti.S, config/microblaze/crtn.S,
1864 config/microblaze/divsi3.S, config/microblaze/moddi3.S,
1865 config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
1866 config/microblaze/mulsi3.S,
1867 config/microblaze/stack_overflow_exit.S,
1868 config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
1869 config/pa/milli64.S: Add .note.GNU-stack section.
1870
89762a83
DS
18712017-09-23 Daniel Santos <daniel.santos@pobox.com>
1872
1873 * configure.ac: Add Check for HAVE_AS_AVX.
1874 * config.in: Regenerate.
1875 * configure: Likewise.
1876 * config/i386/i386-asm.h: Include auto-target.h from libgcc.
1877 (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
1878 Correct out-of-date comments.
1879
cace2309
SP
18802017-09-20 Sebastian Peryt <sebastian.peryt@intel.com>
1881
1882 * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
1883 * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
1884
3cb626e4
DS
18852017-09-17 Daniel Santos <daniel.santos@pobox.com>
1886
cace2309 1887 * config/i386/i386-asm.h (PASTE2): New macro.
3cb626e4
DS
1888 (ASMNAME): Modify to use PASTE2.
1889 (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
1890 (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
cace2309 1891 * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
3cb626e4 1892 instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
cace2309
SP
1893 * config/i386/resms64f.S: Likewise.
1894 * config/i386/resms64fx.S: Likewise.
1895 * config/i386/resms64x.S: Likewise.
1896 * config/i386/savms64.S: Likewise.
1897 * config/i386/savms64f.S: Likewise.
1898 * config/i386/avx_resms64.S: New file that only defines a macro and
3cb626e4 1899 includes it's corresponding header file.
cace2309
SP
1900 * config/i386/avx_resms64f.S: Likewise.
1901 * config/i386/avx_resms64fx.S: Likewise.
1902 * config/i386/avx_resms64x.S: Likewise.
1903 * config/i386/avx_savms64.S: Likewise.
1904 * config/i386/avx_savms64f.S: Likewise.
1905 * config/i386/sse_resms64.S: Likewise.
1906 * config/i386/sse_resms64f.S: Likewise.
1907 * config/i386/sse_resms64fx.S: Likewise.
1908 * config/i386/sse_resms64x.S: Likewise.
1909 * config/i386/sse_savms64.S: Likewise.
1910 * config/i386/sse_savms64f.S: Likewise.
1911 * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
3cb626e4 1912
2f19c491 19132017-09-01 Olivier Hainque <hainque@adacore.com>
2f19c491
OH
1914 * config.host (*-*-vxworks7): Widen scope to vxworks7*.
1915
611e7036
OH
19162017-08-31 Olivier Hainque <hainque@adacore.com>
1917
1918 * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
1919 match as powerpc-wrs-vxworks*.
1920
c8f34527
JY
19212017-08-07 Jonathan Yong <10walls@gmail.com>
1922
1923 * config.host (*-cygwin): Include file from mingw
1924 config/i386/enable-execute-stack-mingw32.c
1925
0b458d2b 19262017-08-01 Jerome Lambourg <lambourg@adacore.com>
92a285c1
ML
1927 Doug Rupp <rupp@adacore.com>
1928 Olivier Hainque <hainque@adacore.com>
0b458d2b
JL
1929
1930 * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
1931 as well as arm-wrs-vxworks.
1932 * config/arm/t-vxworks7: New file. Add unwind-arm-vxworks.c to
1933 LIB2ADDEH.
1934 * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
1935 __exidx_start and __exidx_end for downloadable modules.
1936
4df612fa
OH
19372017-08-01 Olivier Hainque <hainque@adacore.com>
1938
1939 * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
1940 * config/t-vxworks7: Likewise.
1941
5560e8c0
OH
19422017-08-01 Olivier Hainque <hainque@adacore.com>
1943
1944 * config/t-vxworks: Instead of redefining LIB2ADD,
1945 augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
1946
16bab95a
SH
19472017-07-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1948
1949 * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
1950
9cbc07cc
DS
19512017-07-24 Daniel Santos <daniel.santos@pobox.com>
1952
1953 PR testsuite/80759
1954 * config.host: include i386/t-msabi for darwin and solaris.
1955 * config/i386/i386-asm.h
1956 (ELFFN): Rename to FN_TYPE.
1957 (FN_SIZE): New macro.
1958 (FN_HIDDEN): Likewise.
1959 (ASMNAME): Likewise.
1960 (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
1961 .globl.
1962 (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
1963 (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
1964 * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
1965 .macro.
1966 * config/i386/resms64f.S: Likewise.
1967 * config/i386/resms64fx.S: Likewise.
1968 * config/i386/resms64x.S: Likewise.
1969 * config/i386/savms64.S: Likewise.
1970 * config/i386/savms64f.S: Likewise.
1971
de742204
JM
19722017-07-19 John Marino <gnugcc@marino.st>
1973
1974 * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
1975
3787ee47
MM
19762017-07-12 Michael Meissner <meissner@linux.vnet.ibm.com>
1977
1978 PR target/81193
1979 * configure.ac (PowerPC float128 hardware support): Test whether
1980 we can use __builtin_cpu_supports before enabling the ifunc
1981 handler.
1982 * configure: Regenerate.
1983
b1938888
VG
19842017-07-10 Vineet Gupta <vgupta@synopsys.com>
1985
1986 * config.host: Remove uclibc from arc target spec.
1987
bec75e53
KW
19882017-07-09 Krister Walfridsson <krister.walfridsson@gmail.com>
1989
1990 * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
1991
d4391a62
PB
19922017-07-07 Peter Bergner <bergner@vnet.ibm.com>
1993
1994 * config/rs6000/float128-ifunc.c: Don't include auxv.h.
1995 (have_ieee_hw_p): Delete function.
1996 (SW_OR_HW) Use __builtin_cpu_supports().
1997
9296dd9b
TP
19982017-07-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
1999
2000 * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
2001
b85a969e
OH
20022017-07-03 Olivier Hainque <hainque@adacore.com>
2003
d4391a62 2004 * config/t-vxworks7: New file, really.
b85a969e 2005
883312dc
JM
20062017-06-28 Joseph Myers <joseph@codesourcery.com>
2007
2008 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
2009 config/alpha/linux-unwind.h (alpha_fallback_frame_state),
2010 config/bfin/linux-unwind.h (bfin_fallback_frame_state),
2011 config/i386/linux-unwind.h (x86_64_fallback_frame_state,
2012 x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
2013 uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
2014 config/pa/linux-unwind.h (pa32_fallback_frame_state),
2015 config/riscv/linux-unwind.h (riscv_fallback_frame_state),
2016 config/sh/linux-unwind.h (sh_fallback_frame_state),
2017 config/tilepro/linux-unwind.h (tile_fallback_frame_state),
2018 config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
2019 ucontext_t instead of struct ucontext.
2020
50567938
JL
20212017-06-27 Jerome Lambourg <lambourg@adacore.com>
2022
2023 * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
2024 (x86_64-wrs-vxworks7): Likewise.
2025
e4b0df93
OH
20262017-06-27 Olivier Hainque <hainque@adacore.com>
2027
2028 * config/t-vxworks7: New file.
2029 * config.host (*-*-vxworks7): Use it.
2030
60edf8bb
MT
20312017-06-22 Matt Turner <mattst88@gmail.com>
2032
2033 * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
2034 skylake case.
2035
a51a76e5
RB
20362017-06-21 Richard Biener <rguenther@suse.de>
2037
2038 PR gcov-profile/81080
2039 * configure.ac: Add AC_SYS_LARGEFILE.
2040 * libgcov.h: Include auto-target.h before tsystem.h to pick
2041 up _FILE_OFFSET_BITS which might differ for multilibs.
2042 * config.in: Regenerate.
2043 * configure: Likewise.
2044
f0cd49c5
RE
20452017-06-16 Richard Earnshaw <rearnsha@arm.com>
2046
2047 * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
2048
4f751c54
ML
20492017-06-09 Martin Liska <mliska@suse.cz>
2050
2051 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
2052 Reset __gcov_indirect_call_callee to NULL.
2053
1ac644c8
OH
20542017-06-08 Olivier Hainque <hainque@adacore.com>
2055
2056 * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
2057 the set of -I options, support for direct inclusions of net/uio.h
2058 by VxWorks header files via ioLib.h.
2059
d8b9cd27
TR
20602017-06-07 Tony Reix <tony.reix@atos.net>
2061 Matthieu Sarter <matthieu.sarter.external@atos.net>
2062 David Edelsohn <dje.gcc@gmail.com>
2063
92a285c1
ML
2064 * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
2065 unconditionally.
2066 (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support. Add 32-bit
2067 AIX 7.2 support.
d8b9cd27 2068
38a75ccc
OH
20692017-06-02 Olivier Hainque <hainque@adacore.com>
2070
2071 * config/vxlib.c (__gthread_once): Add missing value to
2072 return statement.
2073
5b2edf53
OH
20742017-05-30 Olivier Hainque <hainque@adacore.com>
2075
2076 * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
2077 dollar sign before $(MULTIDIR).
2078
7d66e265
RH
20792017-05-26 Richard Henderson <rth@redhat.com>
2080
2081 PR libgcc/80037
2082 * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
2083
78eca309
AT
20842017-05-17 Andreas Tobler <andreast@gcc.gnu.org>
2085
2086 * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
2087 _Unwind_SetIP available as functions for arm*-*-freebsd*.
2088 * config/arm/unwind-arm.c: Implement the above.
2089
c39d309a
AZ
20902017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2091
2092 * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
2093 section for a non-executable stack.
2094
eac8c9f2
KW
20952017-05-14 Krister Walfridsson <krister.walfridsson@gmail.com>
2096
2097 PR target/80600
2098 * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
2099
d6d4d770
DS
21002017-05-14 Daniel Santos <daniel.santos@pobox.com>
2101
2102 * config.host: Add i386/t-msabi to i386/t-linux file list.
2103 * config/i386/i386-asm.h: New file.
2104 * config/i386/resms64.S: New file.
2105 * config/i386/resms64f.S: New file.
2106 * config/i386/resms64fx.S: New file.
2107 * config/i386/resms64x.S: New file.
2108 * config/i386/savms64.S: New file.
2109 * config/i386/savms64f.S: New file.
2110 * config/i386/t-msabi: New file.
2111
8ef2b9a7
AT
21122017-05-09 Andreas Tobler <andreast@gcc.gnu.org>
2113
2114 * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
2115 arm*-*-freebsd* instead of the t-slibgcc-libgcc.
2116
7ab8766a
JC
21172017-05-05 Joshua Conner <joshconner@google.com>
2118
2119 * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
2120 pc-relative indirect handling for fuchsia.
2121 * config/t-slibgcc-fuchsia: New file.
2122 * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
d6d4d770 2123 x86_64-*-fuchsia*): Add definitions.
7ab8766a 2124
46928a8f
ML
21252017-04-19 Martin Liska <mliska@suse.cz>
2126
2127 PR gcov-profile/80435
2128 * Makefile.in: Install gcov.h.
2129 * gcov.h: New file.
2130 * libgcov.h: Use the header and make __gcov_flush publicly
2131 visible.
2132
63971184
ML
21332017-04-18 Martin Liska <mliska@suse.cz>
2134
2135 PR gcov-profile/78783
2136 * libgcov-driver.c (gcov_get_filename): New function.
2137
29d8aae6
JL
21382017-04-07 Jeff Law <law@redhat.com>
2139
2140 * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
2141 target makefile fragment.
2142 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
2143
2bdf7fc6
AM
21442017-04-07 Alan Modra <amodra@gmail.com>
2145
2146 PR target/45053
2147 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
2148
5764ee3c
JW
21492017-04-03 Jonathan Wakely <jwakely@redhat.com>
2150
2151 * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
2152
c4192ad7
CZ
21532017-03-27 Claudiu Zissulescu <claziss@synopsys.com>
2154
2155 * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
2156
4ccfdb28
JM
21572017-03-10 John Marino <gnugcc@marino.st>
2158
2159 * config/aarch64/freebsd-unwind.h: New file.
2160 * config.host: Add aarch64-*-freebsd unwinder.
2161
4144e4e3
SB
21622017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
2163
2164 * config/rs6000/crtrestvr.s: Use .machine altivec.
2165 * config/rs6000/crtsavevr.s: Ditto.
2166
7502c597
SB
21672017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
2168
2169 * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
2170 modify CFLAGS. Add -mabi=altivec -mvsx -mfloat128.
2171 (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
2172 -mfloat128-hardware to the CFLAGS. Fix syntax error in the C snippet.
2173 * configure: Regenerate.
2174 * config.in: Regenerate.
2175
db9f7f65
JY
21762017-03-02 Jonathan Yong <10walls@gmail.com>
2177
2178 * config/i386/gthr-win32.h: Define NOGDI before
2179 windows.h include to prevent w32api CC_NONE macro
2180 clash with libgfortran.
2181
126437c5
JY
21822017-03-02 Jonathan Yong <10walls@gmail.com>
2183
2184 * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
2185
31927af6
AP
21862017-02-16 Andrew Pinski <apinski@cavium.com>
2187
2188 * config/aarch64/value-unwind.h: New file.
2189 * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
2190 to tm_file.
2191
0bd99911
PD
21922017-02-06 Palmer Dabbelt <palmer@dabbelt.com>
2193
2194 * config.host: Add RISC-V tuples.
2195 * config/riscv/atomic.c: New file.
2196 * config/riscv/crti.S: Likewise.
2197 * config/riscv/crtn.S: Likewise.
2198 * config/riscv/div.S: Likewise.
2199 * config/riscv/linux-unwind.h: Likewise.
2200 * config/riscv/muldi3.S: Likewise.
2201 * config/riscv/multi3.S: Likewise.
2202 * config/riscv/save-restore.S: Likewise.
2203 * config/riscv/sfp-machine.h: Likewise.
2204 * config/riscv/t-elf: Likewise.
2205 * config/riscv/t-elf32: Likewise.
2206 * config/riscv/t-elf64: Likewise.
2207 * config/riscv/t-softfp32: Likewise.
2208 * config/riscv/t-softfp64: Likewise.
2209
a8c9ef2a
JJ
22102017-01-24 Jakub Jelinek <jakub@redhat.com>
2211
2212 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
2213 /* FALLTHRU */ comments.
2214
c6c82710
GP
22152017-01-21 Gerald Pfeifer <gerald@pfeifer.com>
2216
2217 * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
2218
a876231c
JW
22192017-01-20 Jiong Wang <jiong.wang@arm.com>
2220
2221 * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
2222 * unwind-dw2.c (execute_cfa_program): Only multiplexing
2223 DW_CFA_GNU_window_save for AArch64 and LP64.
2224
aa348be2
JW
22252017-01-20 Jiong Wang <jiong.wang@arm.com>
2226
2227 * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
2228
5636faf2
JW
22292017-01-19 Jiong Wang <jiong.wang@arm.com>
2230
2231 * config/aarch64/aarch64-unwind.h: New file.
2232 (DWARF_REGNUM_AARCH64_RA_STATE): Define.
2233 (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
2234 (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
2235 (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
2236 (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
2237 (aarch64_post_extract_frame_addr): New function.
2238 (aarch64_post_frob_eh_handler_addr): New function.
2239 (aarch64_frob_update_context): New function.
2240 * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
2241 * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
2242 aarch64*-*-freebsd*):
2243 Initialize md_unwind_header to include aarch64-unwind.h.
2244 * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
2245 (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
2246 __aarch64__.
2247 (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
2248 (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
2249 (uw_frob_return_addr): New function.
2250 (uw_install_context): Use uw_frob_return_addr.
2251
3c36aa6b
JJ
22522017-01-17 Jakub Jelinek <jakub@redhat.com>
2253
2254 PR other/79046
2255 * configure.ac: Add GCC_BASE_VER.
2256 * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
2257 version from BASE-VER file.
2258 * configure: Regenerated.
2259
829afb8f
JS
22602017-01-13 Joe Seymour <joe.s@somniumtech.com>
2261
2262 * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
2263 libmul_f5.a): Filter archived prerequisites.
2264
79fc8ffe
AS
22652017-01-10 Andrew Senkevich <andrew.senkevich@intel.com>
2266
2267 * config/i386/cpuinfo.h (processor_features): Add
2268 FEATURE_AVX512VPOPCNTDQ.
2269 * config/i386/cpuinfo.c (get_available_features): Habdle new
2270 feature.
2271
fec5f4e0
JM
22722017-01-04 Joseph Myers <joseph@codesourcery.com>
2273
2274 * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
2275 payload if [__mips_nan2008].
2276
8f56cb51
AM
22772017-01-04 Alan Modra <amodra@gmail.com>
2278
2279 * Makefile.in (configure_deps): Update.
2280 * configure: Regenerate.
2281
cbe34bb5
JJ
22822017-01-01 Jakub Jelinek <jakub@redhat.com>
2283
2284 Update copyright years.
2285
ab955692
KW
22862016-12-19 Krister Walfridsson <krister.walfridsson@gmail.com>
2287
2288 * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
2289 * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
2290 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
2291
de34320f
MK
22922016-12-17 Matthias Klose <doko@ubuntu.com>
2293
2294 * config/arc/gmon: Remove empty directory.
2295
e04ea1da
CZ
22962016-12-16 Claudiu Zissulescu <claziss@synopsys.com>
2297
2298 * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
2299 crtgend.
2300 (arc*-*-elf*): Likewise.
2301 * config/arc/t-arc: Remove old gmon lib targets.
2302 * config/arc/crtg.S: Remove.
2303 * config/arc/crtgend.S: Likewise.
2304 * config/arc/gmon/atomic.h: Likewise.
2305 * config/arc/gmon/auxreg.h: Likewise.
2306 * config/arc/gmon/dcache_linesz.S: Likewise.
2307 * config/arc/gmon/gmon.c: Likewise.
2308 * config/arc/gmon/machine-gmon.h: Likewise.
2309 * config/arc/gmon/mcount.c: Likewise.
2310 * config/arc/gmon/prof-freq-stub.S: Likewise.
2311 * config/arc/gmon/prof-freq.c: Likewise.
2312 * config/arc/gmon/profil.S: Likewise.
2313 * config/arc/gmon/sys/gmon.h: Likewise.
2314 * config/arc/gmon/sys/gmon_out.h: Likewise.
2315 * config/arc/t-arc-newlib: Likewise.
2316 * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
2317
8ae1c2c1
GS
23182016-12-12 George Spelvin <linux@sciencehorizons.net>
2319
2320 * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
2321
a5b947fa
GS
23222016-12-12 George Spelvin <linux@sciencehorizons.net>
2323
2324 * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
2325 R16 instead of push + pop.
2326 (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
2327
d6574dd1
KW
23282016-12-10 Krister Walfridsson <krister.walfridsson@gmail.com>
2329
2330 * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
2331 tmake_file.
2332
62440b4f
CM
23332016-12-05 Cupertino Miranda <cmiranda@synopsys.com>
2334
2335 * config.host (arc*-*-linux-uclibc*): Use default extra
2336 objects. Include linux-android header.
2337 * config/arc/crti.S (_init): Declare symbol as function.
2338 (_fini): Likewise.
2339
31cfd832
TK
23402016-12-03 Thomas Koenig <tkoenig@gcc.gnu.org>
2341
2342 PR fortran/78379
2343 * config/i386/cpuinfo.c: Move denums for processor vendors,
2344 processor type, processor subtypes and declaration of
2345 struct __processor_model into
2346 * config/i386/cpuinfo.h: New header file.
2347
c92e08e3
AV
23482016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
2349 Thomas Preud'homme <thomas.preudhomme@arm.com>
2350
2351 * config/arm/cmse_nonsecure_call.S: New.
2352 * config/arm/t-arm: Compile cmse_nonsecure_call.S
2353
de7b5723
AV
23542016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
2355 Thomas Preud'homme <thomas.preudhomme@arm.com>
2356
2357 * config/arm/t-arm (HAVE_CMSE): New.
2358 * config/arm/cmse.c: New.
2359
7a0d2bce
TP
23602016-11-28 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2361
b3a5bff4
TP
2362 PR gcc/74748
2363 * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
2364 use generic linker version information on Blackfin.
2365
7a0d2bce
TP
2366 PR gcc/74748
2367 * libgcc/mkmap-symver.awk: add support for skip_underscore
2368
b410cf1d
IS
23692016-11-27 Iain Sandoe <iain@codesourcery.com>
2370 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2371
2372 PR target/67710
2373 * config/t-darwin: Default builds to 10.5 codegen.
2374
2e5f8203
JG
23752016-11-24 James Greenhalgh <james.greenhalgh@arm.com>
2376
2377 * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
2378 (_FP_NANSIGN_H): Likewise.
2379 * config/aarch64/t-softfp (softfp_extensions): Add hftf.
2380 (softfp_truncations): Add tfhf.
2381 (softfp_extras): Add required conversion functions.
2382
bea64ca3
JG
23832016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
2384 Matthew Wahab <matthew.wahab@arm.com>
2385
2386 * config/arm/fp16.c (binary64): New.
2387 (__gnu_d2h_internal): New.
2388 (__gnu_d2h_ieee): New.
2389 (__gnu_d2h_alternative): New.
2390
8630cadb
JG
23912016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
2392 Matthew Wahab <matthew.wahab@arm.com>
2393
2394 * config/arm/fp16.c (struct format): New.
2395 (binary32): New.
2396 (__gnu_float2h_internal): New. Body moved from
2397 __gnu_f2h_internal and generalize.
2398 (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
2399 Call it with binary32.
2400
5823ef23
JG
24012016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
2402
2403 * soft-fp/extendhftf2.c: Update from glibc.
2404 * soft-fp/fixhfti.c: Likewise.
2405 * soft-fp/fixunshfti.c: Likewise.
2406 * soft-fp/floattihf.c: Likewise.
2407 * soft-fp/floatuntihf.c: Likewise.
2408 * soft-fp/half.h: Likewise.
2409 * soft-fp/trunctfhf2.c: Likewise.
2410
62a7df9f
MG
24112016-11-20 Marc Glisse <marc.glisse@inria.fr>
2412
2413 PR libgcc/77813
2414 * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
2415 __TMC_END__ behind a passthrough asm.
2416
7a384912
WL
24172016-11-18 Walter Lee <walt@tilera.com>
2418
62a7df9f 2419 * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
7a384912 2420
9775c1a5
L
24212016-11-17 Andrew Senkevich <andrew.senkevich@intel.com>
2422
2423 * config/i386/cpuinfo.c (processor_features): Add
2424 FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
2425
48c842ab
CZ
24262016-11-17 Claudiu Zissulescu <claziss@synopsys.com>
2427
2428 * config/arc/dp-hack.h (ARC_OPTFPE): Define.
2429 (__ARC_NORM__): Use instead ARC_OPTFPE.
2430 * config/arc/fp-hack.h: Likewise.
2431 * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
2432 (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
2433
5012919d
AM
24342016-11-16 Alexander Monakov <amonakov@ispras.ru>
2435
2436 * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
2437 * config/nvptx/mgomp.c: New file.
2438 * config/nvptx/t-nvptx: Add mgomp.c
2439
00178b98
WB
24402016-11-16 Waldemar Brodkorb <wbx@openadk.org>
2441
2442 PR libgcc/68468
2443 * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
2444
d64af69f
CZ
24452016-11-15 Claudiu Zissulescu <claziss@synopsys.com>
2446
2447 * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
2448 of checking for cpus.
2449 (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
2450 (__modsi3, __clzsi2): Likewise.
2451
9d8f95de
SN
24522016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
2453
2454 * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
2455 i386/t-cpuinfo-static instead of i386/t-cpuinfo.
2456 * config/i386/t-cpuinfo-static: New.
2457
7d29f8e3
ML
24582016-11-03 Martin Liska <mliska@suse.cz>
2459
2460 * libgcov-profiler.c (__gcov_time_profiler): Remove.
2461 (__gcov_time_profiler_atomic): Likewise.
2462
5de3e2d8
BE
24632016-11-03 Bernd Edlinger <bernd.edlinger@hotmail.de>
2464
2465 PR libgcc/78067
2466 * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
2467 count_leading_zeros.
2468
18362447
UB
24692016-11-02 Uros Bizjak <ubizjak@gmail.com>
2470
2471 * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
2472 * libgcc2.c (__divmoddi4): New function.
2473 * libgcc2.h (__divmoddi4): Declare.
2474 * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
2475 and __PFX_divmodti4.
2476
33107571
FW
24772016-10-24 Florian Weimer <fweimer@redhat.com>
2478
2479 PR libgcc/78064
2480 * unwind-c.c: Include auto-target.h.
2481
4c6d7494
JDA
24822016-10-19 John David Anglin <danglin@gcc.gnu.org>
2483
18362447 2484 * config/pa/pa64-hpux-lib.h: New file.
4c6d7494
JDA
2485 (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
2486 (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
2487 * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
2488 hppa*64*-*-hpux11*.
2489
2a26adf1
MF
24902016-10-18 Max Filippov <jcmvbkbc@gmail.com>
2491
2492 * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
2493 definition.
2494 * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
2495 definition.
2496 * config/xtensa/t-windowed (LIB2ADDEH): Use
2497 LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
2498 or xtensa/t-linux.
2499
66192aa1
DKC
25002016-10-18 Ding-Kai Chen <dkchen@cadence.com>
2501
2502 * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
2503 __ieee754_sqrt): New functions.
2504 (__divdf3): Add implementation with new FPU instructions under
2505 #if XCHAL_HAVE_DFP_DIV.
2506 * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
2507 __ieee754_sqrtf): New functions.
2508 (__divsf3): Add implementation with new FPU instructions under
2509 #if XCHAL_HAVE_FP_DIV.
2510 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
2511 _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
2512
4d0cdd0c
TP
25132016-10-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
2514
2515 * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
2516 equivalent.
2517 * config/tilepro/atomic.c: Likewise and stop casting model to
2518 enum memmodel.
2519
73f01cca
JM
25202016-10-10 Joseph Myers <joseph@codesourcery.com>
2521
2522 PR target/77586
2523 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
2524 soft-fp.
2525
b20e7532
AT
25262016-10-10 Andreas Tobler <andreast@gcc.gnu.org>
2527
2528 * config.host: Add support for aarch64-*-freebsd*.
2529
a786cec4
AS
25302016-10-05 Andreas Schwab <schwab@suse.de>
2531
2532 * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
2533 (.section .init_array): Don't call __do_jv_register_classes.
2534 (.section .init): Likewise.
2535
5a79befb
JJ
25362016-10-04 Jakub Jelinek <jakub@redhat.com>
2537
2538 * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
2539 (__JCR_LIST__): Remove.
2540 (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
2541 * config/i386/cygming-crtend.c (__JCR_END__): Remove.
2542 * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
2543 * config/ia64/crtend.S (__JCR_END__): Remove.
2544 * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
2545 conditionals.
2546 (__JCR_LIST__, __JCR_END__): Remove.
2547 (frame_dummy): Don't attempt to _Jv_RegisterClasses.
2548 (__do_global_ctors_1): Likewise.
2549
e0ab3753
UB
25502015-09-28 Uros Bizjak <ubizjak@gmail.com>
2551
2552 * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
2553 (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
2554
8c9434c2
ML
25552016-09-27 Martin Liska <mliska@suse.cz>
2556
2557 PR gcov-profile/7970
2558 PR gcov-profile/16855
2559 PR gcov-profile/44779
2560 * libgcov-driver.c (__gcov_init): Do not register a atexit
2561 handler.
2562 (__gcov_exit): Rename from gcov_exit.
2563 * libgcov.h (__gcov_exit): Declare.
2564
56b653f1
ML
25652016-09-27 Martin Liska <mliska@suse.cz>
2566
2567 PR bootstrap/77749
2568 * Makefile.in: Remove _gcov_merge_delta.
2569 * libgcov-merge.c (void __gcov_merge_delta): Remove.
2570 * libgcov-util.c (__gcov_delta_counter_op): Remove.
2571 * libgcov.h: Remove declaration of __gcov_merge_delta.
2572
7e02fd1b
EB
25732016-09-21 Eric Botcazou <ebotcazou@adacore.com>
2574
2575 * configure.ac: Do not create links, only substitute the filenames.
2576 * configure: Regenerate.
2577 * Makefile.in: Assign the substitution results to variables.
2578 (LIBGCC_LINKS): Define.
2579 (enable-execute-stack.c): New rule.
2580 (unwind.h): Likewise.
2581 (md-unwind-support.h): Likewise.
2582 (sfp-machine.h): Likewise.
2583 (gthr-default.h): Likewise.
2584 Add $(LIBGCC_LINKS) to the prerequisites of all object files and
2585 unwind.h as prerequisite of install-unwind_h-forbuild.
2586
29991048
JJ
25872016-09-16 Jakub Jelinek <jakub@redhat.com>
2588
2589 PR libgcc/71744
2590 * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
2591 is not the primary registry and atomics are available.
2592 (any_objects_registered): New variable.
2593 (__register_frame_info_bases, __register_frame_info_table_bases):
2594 Atomically store 1 to any_objects_registered after registering first
2595 unwind info.
2596 (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
2597
0abcd6cc
JG
25982016-09-09 James Greenhalgh <james.greenhalgh@arm.com>
2599
2600 PR target/63250
2601 * Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
2602 * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
2603 (HFtype): Likewise.
2604 (HCtype): Likewise.
2605 (__divhc3): Likewise.
2606 (__mulhc3): Likewise.
2607 * libgcc2.c: Support _mulhc3 and _divhc3.
2608
d758aeb5
JM
26092016-09-07 Joseph Myers <joseph@codesourcery.com>
2610
2611 PR libgcc/77519
2612 * libgcc2.c (NOTRUNC): Invert settings.
2613
7fe76f6a
ML
26142016-09-06 Martin Liska <mliska@suse.cz>
2615
2616 PR gcov-profile/77378
2617 PR gcov-profile/77466
2618 * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
2619 conditionaly enable/disable *_atomic functions.
2620
21184026
JM
26212016-08-26 Joseph Myers <joseph@codesourcery.com>
2622
2623 * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
2624 where not already enabled.
2625
726f49c3
SN
26262016-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
2627
2628 * config/mips/linux-unwind.h: Use sys/syscall.h.
2629
feeb6268
JM
26302016-08-16 Joseph Myers <joseph@codesourcery.com>
2631
2632 PR libgcc/77265
2633 * soft-fp/adddf3.c: Update from glibc.
2634 * soft-fp/addsf3.c: Likewise.
2635 * soft-fp/addtf3.c: Likewise.
2636 * soft-fp/divdf3.c: Likewise.
2637 * soft-fp/divsf3.c: Likewise.
2638 * soft-fp/divtf3.c: Likewise.
2639 * soft-fp/double.h: Likewise.
2640 * soft-fp/eqdf2.c: Likewise.
2641 * soft-fp/eqsf2.c: Likewise.
2642 * soft-fp/eqtf2.c: Likewise.
2643 * soft-fp/extenddftf2.c: Likewise.
2644 * soft-fp/extended.h: Likewise.
2645 * soft-fp/extendsfdf2.c: Likewise.
2646 * soft-fp/extendsftf2.c: Likewise.
2647 * soft-fp/extendxftf2.c: Likewise.
2648 * soft-fp/fixdfdi.c: Likewise.
2649 * soft-fp/fixdfsi.c: Likewise.
2650 * soft-fp/fixdfti.c: Likewise.
2651 * soft-fp/fixsfdi.c: Likewise.
2652 * soft-fp/fixsfsi.c: Likewise.
2653 * soft-fp/fixsfti.c: Likewise.
2654 * soft-fp/fixtfdi.c: Likewise.
2655 * soft-fp/fixtfsi.c: Likewise.
2656 * soft-fp/fixtfti.c: Likewise.
2657 * soft-fp/fixunsdfdi.c: Likewise.
2658 * soft-fp/fixunsdfsi.c: Likewise.
2659 * soft-fp/fixunsdfti.c: Likewise.
2660 * soft-fp/fixunssfdi.c: Likewise.
2661 * soft-fp/fixunssfsi.c: Likewise.
2662 * soft-fp/fixunssfti.c: Likewise.
2663 * soft-fp/fixunstfdi.c: Likewise.
2664 * soft-fp/fixunstfsi.c: Likewise.
2665 * soft-fp/fixunstfti.c: Likewise.
2666 * soft-fp/floatdidf.c: Likewise.
2667 * soft-fp/floatdisf.c: Likewise.
2668 * soft-fp/floatditf.c: Likewise.
2669 * soft-fp/floatsidf.c: Likewise.
2670 * soft-fp/floatsisf.c: Likewise.
2671 * soft-fp/floatsitf.c: Likewise.
2672 * soft-fp/floattidf.c: Likewise.
2673 * soft-fp/floattisf.c: Likewise.
2674 * soft-fp/floattitf.c: Likewise.
2675 * soft-fp/floatundidf.c: Likewise.
2676 * soft-fp/floatundisf.c: Likewise.
2677 * soft-fp/floatunditf.c: Likewise.
2678 * soft-fp/floatunsidf.c: Likewise.
2679 * soft-fp/floatunsisf.c: Likewise.
2680 * soft-fp/floatunsitf.c: Likewise.
2681 * soft-fp/floatuntidf.c: Likewise.
2682 * soft-fp/floatuntisf.c: Likewise.
2683 * soft-fp/floatuntitf.c: Likewise.
2684 * soft-fp/gedf2.c: Likewise.
2685 * soft-fp/gesf2.c: Likewise.
2686 * soft-fp/getf2.c: Likewise.
2687 * soft-fp/ledf2.c: Likewise.
2688 * soft-fp/lesf2.c: Likewise.
2689 * soft-fp/letf2.c: Likewise.
2690 * soft-fp/muldf3.c: Likewise.
2691 * soft-fp/mulsf3.c: Likewise.
2692 * soft-fp/multf3.c: Likewise.
2693 * soft-fp/negdf2.c: Likewise.
2694 * soft-fp/negsf2.c: Likewise.
2695 * soft-fp/negtf2.c: Likewise.
2696 * soft-fp/op-1.h: Likewise.
2697 * soft-fp/op-2.h: Likewise.
2698 * soft-fp/op-4.h: Likewise.
2699 * soft-fp/op-8.h: Likewise.
2700 * soft-fp/op-common.h: Likewise.
2701 * soft-fp/quad.h: Likewise.
2702 * soft-fp/single.h: Likewise.
2703 * soft-fp/soft-fp.h: Likewise.
2704 * soft-fp/subdf3.c: Likewise.
2705 * soft-fp/subsf3.c: Likewise.
2706 * soft-fp/subtf3.c: Likewise.
2707 * soft-fp/truncdfsf2.c: Likewise.
2708 * soft-fp/trunctfdf2.c: Likewise.
2709 * soft-fp/trunctfsf2.c: Likewise.
2710 * soft-fp/trunctfxf2.c: Likewise.
2711 * soft-fp/unorddf2.c: Likewise.
2712 * soft-fp/unordsf2.c: Likewise.
2713 * soft-fp/unordtf2.c: Likewise.
2714
2e6fc1ac
GG
27152016-08-15 Gilles Gouaillardet <gilles.gouaillardet@gmail.com>
2716
2717 PR gcov-profile/67097
2718 * libgcov-util.c (gcov_profile_merge): Skip missing files.
2719
a266236e
ML
27202016-08-10 Martin Liska <mliska@suse.cz>
2721
2722 PR gcov-profile/58306
2723 * Makefile.in: New functions (modules) are added.
2724 * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
2725 function.
2726 (__gcov_pow2_profiler_atomic): New function.
2727 (__gcov_one_value_profiler_body): New argument is instroduced.
2728 (__gcov_one_value_profiler): Call with the new argument.
2729 (__gcov_one_value_profiler_atomic): Likewise.
2730 (__gcov_indirect_call_profiler_v2): Likewise.
2731 (__gcov_time_profiler_atomic): New function.
2732 (__gcov_average_profiler_atomic): Likewise.
2733 (__gcov_ior_profiler_atomic): Likewise.
2734 * libgcov.h: Declare the aforementioned functions.
2735
e0c8eebf
ML
27362016-08-09 Martin Liska <mliska@suse.cz>
2737
2738 * libgcov-util.c: Fix typo and GNU coding style.
2739
6dce6418
ML
27402016-08-09 Martin Liska <mliska@suse.cz>
2741
2742 * Makefile.in: Remove __gcov_indirect_call_profiler.
2743 * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
2744 function.
2745 * libgcov.h: And the declaration of the function.
2746
dcb1e137
ML
27472016-08-09 Martin Liska <mliska@suse.cz>
2748
2749 * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
2750 power of two.
2751
d6e69705
BS
27522016-07-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
2753
2754 * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
2755 * config/rs6000/_mulkc3.c: Likewise.
2756
96aa1f95
GJL
27572016-07-29 Georg-Johann Lay <avr@gjlay.de>
2758
2759 * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
2760 zero_reg as previous call to __umulhisi3 already cleared it.
2761
a1b01d34
AJ
27622016-07-21 Aurelien Jarno <aurelien@aurel32.net>
2763
2764 PR target/59833
2765 * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
2766
985a47b2
NC
27672016-07-19 Nick Clifton <nickc@redhat.com>
2768
2769 * config.host (m32r): Add m32r/t-m32r to tmake_file.
2770 Add crtinit.o and crtfini.o to extra_parts.
2771
f906f5ed
BS
27722016-07-12 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
2773
2774 * config/rs6000/_divkc3.c: New.
2775 * config/rs6000/_mulkc3.c: New.
2776 * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
2777 and _divkc3.
2778 * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
2779 fp128_ppc_funcs.
2780
82742404
HW
27812016-07-11 Hale Wang <hale.wang@arm.com>
2782 Andre Vieira <andre.simoesdiasvieira@arm.com>
2783
2784 * config/arm/lib1funcs.S: Add new wrapper.
2785
05a437c1
TP
27862016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
2787
2788 * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
2789
3d16d9ec
TP
27902016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
2791
2792 * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
2793 and ARMv5t* rather than for a fixed list of architectures.
2794
6f493951
TP
27952016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
2796
2797 * config/arm/bpabi-v6m.S: Clarify what architectures is the
2798 implementation suitable for.
2799 * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
2800 for all Thumb-1 only targets.
2801 (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
2802 (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
2803 __ARM_ARCH_6M__.
2804 (EQUIV): Likewise.
2805 (ARM_FUNC_ALIAS): Likewise.
2806 (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
2807 version.
2808 (modsi3): Likewise.
2809 (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
2810 (clzdi2): Likewise.
2811 (ctzsi2): Likewise.
2812 (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
2813 __ARM_ARCH_6M__ in guard for checking whether it is defined.
2814 (final includes): Test for NOT_ISA_TARGET_32BIT rather than
2815 __ARM_ARCH_6M__ and add comment to indicate the connection between
2816 this condition and the one in gcc/config/arm/elf.h.
2817 * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
2818 __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
2819 * config/arm/t-softfp: Likewise.
2820
1770511a
TS
28212016-07-06 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2822
2823 * libgcc2.c (SYMBOL__MAIN): Remove checks for
2824 CTOR_LISTS_DEFINED_EXTERNALLY.
2825
ba6be749
WL
28262016-06-28 Walter Lee <walt@tilera.com>
2827
2828 * config/tilepro/atomic.h: Do not include arch/spr_def.h and
2829 asm/unistd.h.
2830 (SPR_CMPEXCH_VALUE): Define for tilegx.
2831 (__NR_FAST_cmpxchg): Define for tilepro.
2832 (__NR_FAST_atomic_update): Define for tilepro.
2833 (__NR_FAST_cmpxchg64): Define for tilepro.
2834
a34c0db5
JS
28352016-06-23 Jakub Sejdak <jakub.sejdak@phoesys.com>
2836
18362447 2837 * config.host: Add suport for arm*-*-phoenix* targets.
a34c0db5 2838
0609abda
TS
28392016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2840
2841 * config.host: Remove support for mep-*.
2842 * config/mep/lib1funcs.S: Remove.
2843 * config/mep/lib2funcs.c: Remove.
2844 * config/mep/t-mep: Remove.
2845 * config/mep/tramp.c: Remove.
2846
3e326935
TS
28472016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2848
2849 * config.host: Remove support for avr-rtems.
2850 * config/avr/t-rtems: Remove.
2851
914b155c
TS
28522016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2853
2854 * config.host: Remove m32r-rtems support.
2855
5ebf89bd
TS
28562016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2857
2858 * config.host: Remove h8300-rtems support.
2859
8466af06
TS
28602016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2861
2862 * config.host: Remove support for knetbsd.
2863
d980e738
TS
28642016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2865
2866 * config.host: Remove support for openbsd 2 and 3.
2867
ee2499b4
TS
28682016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2869
2870 * config.host: Remove interix support.
2871 * config/i386/t-interix: Remove.
2872
9f92937b
JDA
28732016-06-18 John David Anglin <danglin@gcc.gnu.org>
2874
2875 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
2876 least-significant bit in function pointer for fixup.
2877
0a0ec53d
AC
28782016-06-05 Aaron Conole <aconole@redhat.com>
2879 Nathan Sidwell <nathan@acm.org>
2880
2881 PR libgcc/71400
2882 * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
2883 (get_gcov_error_file): Check __gcov_error_file before trying to
2884 initialize it.
2885 (gcov_error): Always use get_gcov_error_file.
2886
8aa5bdd6
AC
28872016-06-02 Aaron Conole <aconole@redhat.com>
2888
2889 * libgcov-driver-system.c (__gcov_error_file): New.
2890 (get_gcov_error_file): New.
2891 (gcov_error): Use and set __gcov_error_file.
2892 (gcov_error_exit): New.
2893 * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
2894
40774faf
NS
28952016-05-26 Nathan Sidwell <nathan@acm.org>
2896
2897 * config/nvptx/free.asm: Delete.
2898 * config/nvptx/malloc.asm: Delete.
2899 * config/nvptx/realloc.c: Delete.
2900 * t-nvptx: Update.
2901
69a6d5ad
NS
29022016-05-25 Nathan Sidwell <nathan@acm.org>
2903
2904 * config/nvptx/crt0.s: Delete.
2905 * config/nvptx/crt0.c: New.
2906 * t-nvptx: Update.
2907
6befaff6
SL
29082016-05-19 Sandra Loosemore <sandra@codesourcery.com>
2909
385c7747 2910 * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
6befaff6
SL
2911 dw2/seh configuration.
2912 [x86_64-*-mingw*]: Likewise.
2913
ad251dfd
JS
29142016-05-10 Joel Sherrill <joel@rtems.org>
2915
2916 PR libgcc/70720
2917 * config.host (moxie-*-rtems*): Merge this stanza with other moxie
2918 targets so the same extra_parts are built. Also have tmake_file add
2919 on to its value rather than override.
2920
bc6d9014
OE
29212016-04-30 Oleg Endo <olegendo@gcc.gnu.org>
2922
2923 * config.host: Remove SH5 support.
2924 * configure: Likewise.
2925
9129c8cf
OE
29262016-04-29 Oleg Endo <olegendo@gcc.gnu.org>
2927
2928 * config/sh/crt1.S: Remove SH5 support.
2929 * config/sh/crti.S: Likewise.
2930 * config/sh/crtn.S: Likewise.
2931 * config/sh/lib1funcs-4-300.S: Likewise.
2932 * config/sh/lib1funcs-Os-4-200.S: Likewise.
2933 * config/sh/lib1funcs.S: Likewise.
2934 * config/sh/linux-unwind.h: Likewise.
2935 * config/sh/t-sh64: Delete.
2936
39d50464
CZ
29372016-04-29 Claudiu Zissulescu <claziss@synopsys.com>
2938
2939 * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
2940
8b48923b
CZ
29412016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
2942 Joern Rennecke <joern.rennecke@embecosm.com>
2943
2944 * config/arc/crttls.S: New file.
2945 * config/arc/t-arc: New rule.
2946 * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
2947
2de1cf8c
NC
29482016-04-25 Nick Clifton <nickc@redhat.com>
2949
2950 * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
2951 (__mspabi_cmpd): Likewise.
2952 * config/msp430/floathidf.c (__floathidf): Likewise.
2953 * config/msp430/floathisf.c (__floathisf): Likewise
2954 * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
2955 * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
2956 * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
2957 second parameter.
2958 (__ashrsi3): Likewise.
2959
b8ce3fe2
WB
29602016-04-21 Waldemar Brodkorb <wbx@openadk.org>
2961
2962 * config/m68k/linux-atomic.c: Do not include unistd.h
2963
4986f823
MG
29642016-04-20 Martin Galvan <martin.galvan@tallertechnologies.com>
2965
2966 * config/arm/ieee754-df.S: Fix typos in comments.
2967
35fbda43
MM
29682016-04-11 Michael Meissner <meissner@linux.vnet.ibm.com>
2969
2970 PR target/70381
2971 * configure.ac (powerpc*-*-linux*): Rework tests to build
2972 __float128 emulation routines to not depend on using #pragma GCC
2973 target to enable -mfloat128.
2974 * configure: Regnerate.
2975
72d1a48d
EB
29762016-04-04 Eric Botcazou <ebotcazou@adacore.com>
2977
2978 PR target/67172
2979 * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
2980 __MINGW32__ is defined.
2981
dc2e8995
JB
29822016-03-28 James Bowman <james.bowman@ftdichip.com>
2983
385c7747 2984 * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
dc2e8995 2985
104cdaf1
MM
29862016-03-22 Michael Meissner <meissner@linux.vnet.ibm.com>
2987
2988 PR libgcc/70363
2989 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
2990 built with an assembler that does not support ISA 3.0
2991 instructions, rename __extendkftf2_sw to __extendkftf2.
2992
a5046f48
RO
29932016-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2994
2995 PR target/38239
2996 * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
2997 call-clobbered registers.
2998 (internal_mcount): Remove __i386__ handling.
2999
df674f74
JS
30002016-02-26 Joel Sherrill <joel@rtems.org>
3001
3002 * config.host: Add x86_64-*-rtems*.
3003
7cb065d6
JS
30042016-02-26 Joel Sherrill <joel@rtems.org>
3005
3006 * libgcc/config.host: Add aarch64-*-rtems*.
3007
47dfdc53
PM
30082016-02-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
3009 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
3010
3011 * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
3012 union of u64 and double.
3013 (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
3014 (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
3015 value.
3016 (FP_ROUNDMODE): Update the usage of _fpscr.
3017
e6861a99
IV
30182016-02-25 Ilya Verbin <ilya.verbin@intel.com>
3019
3020 PR driver/68463
3021 * Makefile.in (crtoffloadtable$(objext)): New rule.
3022 * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
3023 enable_offload_targets is not empty.
3024 * configure: Regenerate.
3025 * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
3026 crtoffloadtable.
3027
9bfcbdee
MF
30282016-02-17 Max Filippov <jcmvbkbc@gmail.com>
3029
3030 * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
3031 .literal_position before the function.
3032 * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
3033 Likewise.
3034
4cb4721f
MK
30352016-02-15 Marcin Kościelnicki <koriakin@0x04.net>
3036
3037 * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
3038 * config/s390/morestack.S: New file.
3039 * config/s390/t-stack-s390: New file.
3040 * generic-morestack.c (__splitstack_find): Add s390-specific code.
3041
b29d9a29
WL
30422016-02-12 Walter Lee <walt@tilera.com>
3043
3044 * config.host (tilegx*-*-linux*): remove ti from
3045 softfp_int_modes for 32-bit configs.
3046
03a0ae7d
ILT
30472016-02-10 Ian Lance Taylor <iant@google.com>
3048
3049 PR go/68562
3050 * config/i386/morestack.S (__stack_split_initialize): Align
3051 stack.
3052
68750bce
AT
30532016-02-03 Andreas Tobler <andreast@gcc.gnu.org>
3054
3055 PR bootstrap/69611
3056 * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
3057 __FLOAT128__ to compile only for __float128 capable targets.
3058
7d296953
JJ
30592016-01-25 Jakub Jelinek <jakub@redhat.com>
3060
3061 PR target/69444
3062 * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
3063 instead of ___NO_FPRS__.
3064
a71c0334 30652016-01-21 Michael Meissner <meissner@linux.vnet.ibm.com>
7d296953
JJ
3066 Steven Munroe <munroesj@linux.vnet.ibm.com>
3067 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
a71c0334
MM
3068
3069 * config/rs6000/float128-sed: New files to convert TF names to KF
3070 names for PowerPC IEEE 128-bit floating point support.
3071 * config/rs6000/float128-sed-hw: Likewise.
3072
3073 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
3074 floating point hardware support.
3075
3076 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
3077 128-bit floating point software emulation or use ISA 3.0 hardware
3078 support if it is available.
3079
3080 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
3081 floating point.
3082
3083 * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
3084 floating point to IBM extended double.
3085
3086 * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
3087 double to IEEE 128-bit floating point.
3088
3089 * config/rs6000/t-float128: New Makefile fragments to enable
3090 building __float128 emulation support.
3091 * config/rs6000/t-float128-hw: Likewise.
3092
3093 * config/rs6000/sfp-exceptions.c: New file to provide exception
3094 support for IEEE 128-bit floating point.
3095
3096 * config/rs6000/floattikf.c: New files for converting between IEEE
3097 128-bit floating point and signed/unsigned 128-bit integers.
3098 * config/rs6000/fixunskfti.c: Likewise.
3099 * config/rs6000/fixkfti.c: Likewise.
3100 * config/rs6000/floatuntikf.c: Likewise.
3101
3102 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
3103 when building on 64-bit systems, or when VSX is enabled.
3104 (_FP_W_TYPE): Likewise.
3105 (_FP_WS_TYPE): Likewise.
3106 (_FP_I_TYPE): Likewise.
3107 (TItype): Define on 64-bit systems.
3108 (UTItype): Likewise.
3109 (TI_BITS): Likewise.
3110 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
3111 (_FP_MUL_MEAT_Q): Likewise.
3112 (_FP_DIV_MEAT_D): Likewise.
3113 (_FP_DIV_MEAT_Q): Likewise.
3114 (_FP_NANFRAC_D): Likewise.
3115 (_FP_NANFRAC_Q): Likewise.
3116 (ISA_BIT): Add exception support if we are being compiled on a
3117 machine with hardware floating point support to build the IEEE
3118 128-bit emulation functions.
3119 (FP_EX_INVALID): Likewise.
3120 (FP_EX_OVERFLOW): Likewise.
3121 (FP_EX_UNDERFLOW): Likewise.
3122 (FP_EX_DIVZERO): Likewise.
3123 (FP_EX_INEXACT): Likewise.
3124 (FP_EX_ALL): Likewise.
3125 (__sfp_handle_exceptions): Likewise.
3126 (FP_HANDLE_EXCEPTIONS): Likewise.
3127 (FP_RND_NEAREST): Likewise.
3128 (FP_RND_ZERO): Likewise.
3129 (FP_RND_PINF): Likewise.
3130 (FP_RND_MINF): Likewise.
3131 (FP_RND_MASK): Likewise.
3132 (_FP_DECL_EX): Likewise.
3133 (FP_INIT_ROUNDMODE): Likewise.
3134 (FP_ROUNDMODE): Likewise.
3135
3136 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
3137 VSX code, enable IEEE 128-bit floating point. If the compiler can
3138 compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
3139 floating point hardware instructions and it supports declaring
3140 functions with the ifunc attribute, enable ifunc functions to
3141 switch between software and hardware support.
3142 * configure.ac (powerpc*-*-linux*): Likewise.
3143 * configure: Regenerate.
3144
bdc27e50
NC
31452016-01-15 Nick Clifton <nickc@redhat.com>
3146
3147 * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
3148 dependency as the source file to be compiled.
3149 (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
3150 (lib2hw_mul_f5.o): Likewise.
3151
006df05d
MM
31522016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
3153
3154 * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
3155 * libgcc/config/rs6000/fixkfti.c: Likewise.
3156 * libgcc/config/rs6000/fixunskfti.c: Likewise.
3157 * libgcc/config/rs6000/float128-hw.c: Likewise.
3158 * libgcc/config/rs6000/float128-ifunc.c: Likewise.
3159 * libgcc/config/rs6000/float128-sed: Likewise.
3160 * libgcc/config/rs6000/floattikf.c: Likewise.
3161 * libgcc/config/rs6000/floatuntikf.c: Likewise.
3162 * libgcc/config/rs6000/quad-float128.h: Likewise.
3163 * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
3164 * libgcc/config/rs6000/sfp-machine.h: Likewise.
3165 * libgcc/config/rs6000/t-float128: Likewise.
3166 * libgcc/config/rs6000/t-float128-hw: Likewise.
3167 * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
3168 * libgcc/config.host: Likewise.
3169 * libgcc/configure: Likewise.
3170 * libgcc/configure.ac: Likewise.
3171
29176d57 31722016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
7d296953
JJ
3173 Steven Munroe <munroesj@linux.vnet.ibm.com>
3174 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
29176d57
MM
3175
3176 * config/rs6000/sfp-exceptions.c: New file to provide exception
3177 support for IEEE 128-bit floating point.
3178
3179 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
3180 floating point hardware support.
3181
3182 * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
3183 point conversions.
3184 * config/rs6000/fixunskfti.c: Likewise.
3185 * config/rs6000/fixkfti.c: Likewise.
3186 * config/rs6000/floatuntikf.c: Likewise.
3187 * config/rs6000/extendkftf2-sw.c: Likewise.
3188 * config/rs6000/trunctfkf2-sw.c: Likewise.
3189
3190 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
3191 128-bit floating point software emulation or use ISA 3.0 hardware
3192 support if it is available.
3193
3194 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
3195 floating point.
3196
3197 * config/rs6000/t-float128: New Makefile fragments to enable
3198 building __float128 emulation support.
3199 * config/rs6000/t-float128-hw: Likewise.
3200
3201 * config/rs6000/float128-sed: New file to convert TF names to KF
3202 names for PowerPC IEEE 128-bit floating point support.
3203
3204 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
3205 when building on 64-bit systems, or when VSX is enabled.
3206 (_FP_W_TYPE): Likewise.
3207 (_FP_WS_TYPE): Likewise.
3208 (_FP_I_TYPE): Likewise.
3209 (TItype): Define on 64-bit systems.
3210 (UTItype): Likewise.
3211 (TI_BITS): Likewise.
3212 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
3213 (_FP_MUL_MEAT_Q): Likewise.
3214 (_FP_DIV_MEAT_D): Likewise.
3215 (_FP_DIV_MEAT_Q): Likewise.
3216 (_FP_NANFRAC_D): Likewise.
3217 (_FP_NANFRAC_Q): Likewise.
3218 (ISA_BIT): Add exception support if we are being compiled on a
3219 machine with hardware floating point support to build the IEEE
3220 128-bit emulation functions.
3221 (FP_EX_INVALID): Likewise.
3222 (FP_EX_OVERFLOW): Likewise.
3223 (FP_EX_UNDERFLOW): Likewise.
3224 (FP_EX_DIVZERO): Likewise.
3225 (FP_EX_INEXACT): Likewise.
3226 (FP_EX_ALL): Likewise.
3227 (__sfp_handle_exceptions): Likewise.
3228 (FP_HANDLE_EXCEPTIONS): Likewise.
3229 (FP_RND_NEAREST): Likewise.
3230 (FP_RND_ZERO): Likewise.
3231 (FP_RND_PINF): Likewise.
3232 (FP_RND_MINF): Likewise.
3233 (FP_RND_MASK): Likewise.
3234 (_FP_DECL_EX): Likewise.
3235 (FP_INIT_ROUNDMODE): Likewise.
3236 (FP_ROUNDMODE): Likewise.
3237
3238 * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
3239 compiler can do __float128.
3240 * configure: Regenerate.
3241
3242 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
3243 VSX code, enable IEEE 128-bit floating point.
3244
a2218983
OH
32452016-01-05 Olivier Hainque <hainque@adacore.com>
3246
3247 * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
29176d57 3248 specificities.
a2218983 3249
818ab71a
JJ
32502016-01-04 Jakub Jelinek <jakub@redhat.com>
3251
3252 Update copyright years.
3253
5a6c8ffa
AP
32542015-12-18 Andris Pavenis <andris.pavenis@iki.fi>
3255
3256 * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
29176d57 3257 soft-fp targets.
5a6c8ffa 3258
077067a5
BE
32592015-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
3260
3261 * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
3262 instead of abort to avoid dependency on stdlib.h.
3263
787c1027
JDA
32642015-12-09 John David Anglin <danglin@gcc.gnu.org>
3265
3266 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
3267 to initialize call to __dl_fixup once.
3268
04a9ae28
NC
32692015-12-04 Nick Clifton <nickc@redhat.com>
3270
3271 * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
3272 Allow for the second argument being negative.
3273 * config.host (extra_parts): Define for MSP430. Create separate
3274 libraries for each of the hardware multiply formats.
3275 * config/msp430/lib2hw_mul.S: Build only the multiply routines
3276 that are needed.
3277 * config/msp430/lib2mul.c: Likewise.
3278 * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
3279 Add rules to build hardware multiply libraries.
3280 * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
3281 __mspabi_divul function.
3282 (__mspabi_divllu): New stub function.
3283
9a32d437
JDA
32842015-12-01 John David Anglin <danglin@gcc.gnu.org>
3285
3286 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
3287 fixup values if saved GOT address doesn't match runtime address.
3288 (fixup_branch_offset): Reorder list.
3289
e5ef217c
RO
32902015-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3291
3292 * Makefile.in (VTV_CFLAGS): New variable.
3293 (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
3294 (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
3295 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
3296 Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
3297 to extra_parts if $enable_vtable_verify = yes.
3298
78cc43a2
SN
32992015-11-23 Szabolcs Nagy <szabolcs.nagy@arm.com>
3300
3301 PR target/68059
3302 * config/arm/linux-atomic-64bit.c (__write): Rename to...
3303 (write): ...this and fix the return type.
3304
9afebea2
DD
33052015-11-19 DJ Delorie <dj@redhat.com>
3306
3307 * config/msp430/lib2hw_mul.S: Fix alignment.
3308
33f47f42
NS
33092015-11-18 Nathan Sidwell <nathan@codesourcery.com>
3310
3311 * config/nvptx/reduction.c: New.
3312 * config/nvptx/t-nvptx (LIB2ADD): Add it.
3313
d9adb476
DE
33142015-11-15 David Edelsohn <dje.gcc@gmail.com>
3315
3316 * config/rs6000/on_exit.c: New file.
3317 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
3318 * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
3319
c0ab1970
CZ
33202015-11-11 Claudiu Zissulescu <claziss@synopsys.com>
3321
3322 * config/arc/dp-hack.h: Add support for ARCHS.
3323 * config/arc/ieee-754/divdf3.S: Likewise.
3324 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
3325 * config/arc/ieee-754/muldf3.S: Likewise.
3326 * config/arc/ieee-754/mulsf3.S: Likewise
3327 * config/arc/lib1funcs.S: Likewise
3328 * config/arc/gmon/dcache_linesz.S: Don't read the build register
3329 for ARCv2 cores.
3330 * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
3331 for ARCv2 cores.
3332 * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
3333 * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
3334 cores.
3335
e6b6bf09
RO
33362015-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3337
3338 * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
3339 value.
3340 * config/ia64/crtend.S: Likewise.
3341
a153644f
TS
33422015-11-07 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3343
3344 * config/visium/lib2funcs.c (__set_trampoline_parity): Use
3345 __CHAR_BIT__ instead of BITS_PER_UNIT.
3346 * fixed-bit.h: Likewise.
3347 * fp-bit.h: Likewise.
3348 * libgcc2.c (__popcountSI2): Likewise.
3349 (__popcountDI2): Likewise.
3350 * libgcc2.h: Likewise.
3351 * libgcov.h: Likewise.
3352
3dee689d
DE
33532015-11-07 David Edelsohn <dje.gcc@gmail.com>
3354
3355 * config/rs6000/atexit.c: New file.
3356 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
3357 * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
3358 * config/rs6000/cxa_finalize.c
3359 (catomic_compare_and_exchange_bool_acq): Negate return value.
3360
2ef543e4
VK
33612015-10-30 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
3362
3363 * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
3364 (processor_subtypes): Add znver1.
3365 (get_amd_cpu): Detect znver1.
3366
1300f017
CL
33672015-10-29 Christophe Lyon <christophe.lyon@linaro.org>
3368
3369 * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
3370 Include crtfastmath.o.
3371
3e5bb7ee
JR
33722015-10-23 Joern Rennecke <joern.rennecke@embecosm.com>
3373
3374 PR libgcc/66883
3375 * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
1300f017 3376
793aa938
KP
33772015-10-16 Kaushik Phatak <kaushik.phatak@kpit.com>
3378
3379 * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
3380 * config/rl78/divmodsi.S: Update return register to r8.
3381 * config/rl78/divmodhi.S: Update return register to r8,r9.
3382 Branch to main_loop_done_himode to pop registers before return.
3383
7d296953 33842015-10-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
fac812f0
VK
3385
3386 * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
3387 (__cpu_indicator_init): Fix model selection for AMD CPUs.
3388
6a192b5a
KY
33892015-10-05 Kirill Yukhin <kirill.yukhin@intel.com>
3390
3391 * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
3392
4a0a9457
MF
33932015-10-03 Max Filippov <jcmvbkbc@gmail.com>
3394
3395 * config.host (xtensa*-*-uclinux*): New configuration.
3396
ab91c076
KY
33972015-10-02 Kirill Yukhin <kirill.yukhin@intel.com>
3398
385c7747 3399 * config/i386/cpuinfo.c (processor_features): Add
ab91c076
KY
3400 FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
3401
30954527
JM
34022015-09-28 Joseph Myers <joseph@codesourcery.com>
3403
3404 * soft-fp/adddf3.c: Update from glibc.
3405 * soft-fp/addsf3.c: Likewise.
3406 * soft-fp/addtf3.c: Likewise.
3407 * soft-fp/divdf3.c: Likewise.
3408 * soft-fp/divsf3.c: Likewise.
3409 * soft-fp/divtf3.c: Likewise.
3410 * soft-fp/double.h: Likewise.
3411 * soft-fp/eqdf2.c: Likewise.
3412 * soft-fp/eqsf2.c: Likewise.
3413 * soft-fp/eqtf2.c: Likewise.
3414 * soft-fp/extenddftf2.c: Likewise.
3415 * soft-fp/extended.h: Likewise.
3416 * soft-fp/extendsfdf2.c: Likewise.
3417 * soft-fp/extendsftf2.c: Likewise.
3418 * soft-fp/extendxftf2.c: Likewise.
3419 * soft-fp/fixdfdi.c: Likewise.
3420 * soft-fp/fixdfsi.c: Likewise.
3421 * soft-fp/fixdfti.c: Likewise.
3422 * soft-fp/fixsfdi.c: Likewise.
3423 * soft-fp/fixsfsi.c: Likewise.
3424 * soft-fp/fixsfti.c: Likewise.
3425 * soft-fp/fixtfdi.c: Likewise.
3426 * soft-fp/fixtfsi.c: Likewise.
3427 * soft-fp/fixtfti.c: Likewise.
3428 * soft-fp/fixunsdfdi.c: Likewise.
3429 * soft-fp/fixunsdfsi.c: Likewise.
3430 * soft-fp/fixunsdfti.c: Likewise.
3431 * soft-fp/fixunssfdi.c: Likewise.
3432 * soft-fp/fixunssfsi.c: Likewise.
3433 * soft-fp/fixunssfti.c: Likewise.
3434 * soft-fp/fixunstfdi.c: Likewise.
3435 * soft-fp/fixunstfsi.c: Likewise.
3436 * soft-fp/fixunstfti.c: Likewise.
3437 * soft-fp/floatdidf.c: Likewise.
3438 * soft-fp/floatdisf.c: Likewise.
3439 * soft-fp/floatditf.c: Likewise.
3440 * soft-fp/floatsidf.c: Likewise.
3441 * soft-fp/floatsisf.c: Likewise.
3442 * soft-fp/floatsitf.c: Likewise.
3443 * soft-fp/floattidf.c: Likewise.
3444 * soft-fp/floattisf.c: Likewise.
3445 * soft-fp/floattitf.c: Likewise.
3446 * soft-fp/floatundidf.c: Likewise.
3447 * soft-fp/floatundisf.c: Likewise.
3448 * soft-fp/floatunditf.c: Likewise.
3449 * soft-fp/floatunsidf.c: Likewise.
3450 * soft-fp/floatunsisf.c: Likewise.
3451 * soft-fp/floatunsitf.c: Likewise.
3452 * soft-fp/floatuntidf.c: Likewise.
3453 * soft-fp/floatuntisf.c: Likewise.
3454 * soft-fp/floatuntitf.c: Likewise.
3455 * soft-fp/gedf2.c: Likewise.
3456 * soft-fp/gesf2.c: Likewise.
3457 * soft-fp/getf2.c: Likewise.
3458 * soft-fp/ledf2.c: Likewise.
3459 * soft-fp/lesf2.c: Likewise.
3460 * soft-fp/letf2.c: Likewise.
3461 * soft-fp/muldf3.c: Likewise.
3462 * soft-fp/mulsf3.c: Likewise.
3463 * soft-fp/multf3.c: Likewise.
3464 * soft-fp/negdf2.c: Likewise.
3465 * soft-fp/negsf2.c: Likewise.
3466 * soft-fp/negtf2.c: Likewise.
3467 * soft-fp/op-1.h: Likewise.
3468 * soft-fp/op-2.h: Likewise.
3469 * soft-fp/op-4.h: Likewise.
3470 * soft-fp/op-8.h: Likewise.
3471 * soft-fp/op-common.h: Likewise.
3472 * soft-fp/quad.h: Likewise.
3473 * soft-fp/single.h: Likewise.
3474 * soft-fp/soft-fp.h: Likewise.
3475 * soft-fp/subdf3.c: Likewise.
3476 * soft-fp/subsf3.c: Likewise.
3477 * soft-fp/subtf3.c: Likewise.
3478 * soft-fp/truncdfsf2.c: Likewise.
3479 * soft-fp/trunctfdf2.c: Likewise.
3480 * soft-fp/trunctfsf2.c: Likewise.
3481 * soft-fp/trunctfxf2.c: Likewise.
3482 * soft-fp/unorddf2.c: Likewise.
3483 * soft-fp/unordsf2.c: Likewise.
3484 * soft-fp/unordtf2.c: Likewise.
3485
4dfe21ac
RE
34862015-09-24 Richard Earnshaw <rearnsha@arm.com>
3487
3488 PR libgcc/67624
3489 * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
3490
df2a1cc4
RO
34912015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3492
3493 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
3494 Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
3495 * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
3496 messages.
3497 (internal_mcount): Likewise.
3498 * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
3499 crt_compile, add CRTSTUFF_T_CFLAGS_S.
3500
2d110442
RO
35012015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3502
3503 * configure.ac (libgcc_cv_solaris_crts): New test.
3504 * configure: Regenerate.
3505 * config.in: Regenerate.
3506 * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
3507 * config/gmon-sol2.c: Rename to ...
3508 * config/sol2/gmon.c: ... this.
3509 Include auto-target.h.
3510 (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
3511 * config/t-sol2: Rename to ...
3512 * config/sol2/t-sol2: ... this.
3513 (gmon.o): Reflect renaming.
3514 (crtp.o, crtpg.o): New rules.
3515 * config.host (*-*-solaris2*): Reflect renaming.
3516 Use system CRTs if present.
3517 Remove default CRT case.
3518
d572e439
JDA
35192015-09-23 John David Anglin <danglin@gcc.gnu.org>
3520
3521 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
3522 (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
3523 __kernel_cmpxchg2.
3524 (__sync_##OP##_and_fetch_##WIDTH): Likewise.
3525 (__sync_val_compare_and_swap_##WIDTH): Likewise.
3526 (__sync_bool_compare_and_swap_##WIDTH): Likewise.
3527 (__sync_lock_test_and_set_##WIDTH): Likewise.
3528 (__sync_lock_release_##WIDTH): Likewise.
3529 (__sync_fetch_and_##OP##_4): Change result to match type of
3530 __kernel_cmpxchg.
3531 (__sync_##OP##_and_fetch_4): Likewise.
3532 (__sync_val_compare_and_swap_4): Likewise.
3533 (__sync_bool_compare_and_swap_4): likewise.
3534 (__sync_lock_test_and_set_4): Likewise.
3535 (__sync_lock_release_4): Likewise.
3536 (FETCH_AND_OP_2): Add long long variants.
3537 (OP_AND_FETCH_2): Likewise.
3538 (COMPARE_AND_SWAP_2 ): Likewise.
3539 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
3540 (SYNC_LOCK_RELEASE_2): Likewise.
3541 (__sync_bool_compare_and_swap_##WIDTH): Correct return.
3542
7d296953 35432015-09-22 Kirill Yukhin <kirill.yukhin@intel.com>
06caf59d
KY
3544
3545 * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
3546 FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
3547 FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
3548 (get_available_features): Habdle new features.
3549
131314e1
JB
35502015-09-21 James Bowman <james.bowman@ftdichip.com>
3551
3552 * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
3553 memory layout. Deal correctly with BSS region larger than 32K.
3554 Handle a watchdog reset like a power-on reset. Clean up unused
3555 code.
3556
04218b35
AD
35572015-09-18 Andrew Dixie <andrewd@gentrack.com>
3558 David Edelsohn <dje.gcc@gmail.com>
3559
3560 * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
3561 * config/rs6000/crtdbase.S: New file.
3562 * config/rs6000/t-aix-cxa: Build crtdbase.o.
3563
c8338173
MF
35642015-09-15 Max Filippov <jcmvbkbc@gmail.com>
3565
3566 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
3567 Add support for call0 ABI.
3568
7a84bf71
JDA
35692015-09-13 John David Anglin <danglin@gcc.gnu.org>
3570
3571 * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
3572
4efab402
SH
35732015-09-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
3574
3575 * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
3576 (__GTHREAD_HAS_COND): Likewise.
3577 (__gthread_t): Likewise.
3578 (__gthread_cond_t): Likewise.
3579 (__gthread_time_t): Likewise.
3580 (__GTHREAD_MUTEX_INIT): Likewise.
3581 (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
3582 (__GTHREAD_COND_INIT): Likewise.
3583 (__GTHREAD_COND_INIT_FUNCTION): Likewise.
3584 (__GTHREAD_TIME_INIT): Likewise.
3585 (__gthread_create): Likewise.
3586 (__gthread_join): Likewise.
3587 (__gthread_detach): Likewise.
3588 (__gthread_equal): Likewise.
3589 (__gthread_self): Likewise.
3590 (__gthread_yield): Likewise.
3591 (__gthread_cond_broadcast): Likewise.
3592 (__gthread_cond_signal): Likewise.
3593 (__gthread_cond_wait): Likewise.
3594 (__gthread_cond_timedwait): Likewise.
3595 (__gthread_cond_wait_recursive): Likewise.
3596 (__gthread_cond_destroy): Likewise.
3597 (rtems_gxx_once): Delete.
3598 (rtems_gxx_key_create): Likewise.
3599 (rtems_gxx_key_delete): Likewise.
3600 (rtems_gxx_getspecific): Likewise.
3601 (rtems_gxx_setspecific): Likewise.
3602 (rtems_gxx_mutex_init): Likewise.
3603 (rtems_gxx_mutex_destroy): Likewise.
3604 (rtems_gxx_mutex_lock): Likewise.
3605 (rtems_gxx_mutex_trylock): Likewise.
3606 (rtems_gxx_mutex_unlock): Likewise.
3607 (rtems_gxx_recursive_mutex_init): Likewise.
3608 (rtems_gxx_recursive_mutex_lock): Likewise.
3609 (rtems_gxx_recursive_mutex_trylock): Likewise.
3610 (rtems_gxx_recursive_mutex_unlock): Likewise.
3611 (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
3612 (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
3613 (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
3614 (__gthread_once): Likewise.
3615 (__gthread_key_create): Likewise.
3616 (__gthread_key_delete): Likewise.
3617 (__gthread_getspecific): Likewise.
3618 (__gthread_setspecific): Likewise.
3619 (__gthread_key_t): Use <pthread.h> type.
3620 (__gthread_once_t): Likewise
3621 (__gthread_mutex_t): Use <sys/lock.h> type.
3622 (__gthread_recursive_mutex_t): Likewise
3623 (__gthread_mutex_lock): Use <sys/lock.h> function.
3624 (__gthread_mutex_trylock): Likewise.
3625 (__gthread_mutex_timedlock): Likewise.
3626 (__gthread_mutex_unlock): Likewise.
3627 (__gthread_mutex_destroy): Likewise.
3628 (__gthread_recursive_mutex_lock): Likewise.
3629 (__gthread_recursive_mutex_trylock): Likewise.
3630 (__gthread_recursive_mutex_timedlock): Likewise.
3631 (__gthread_recursive_mutex_unlock): Likewise.
3632 (__gthread_recursive_mutex_destroy): Likewise.
3633
991995c4
MF
36342015-08-18 Max Filippov <jcmvbkbc@gmail.com>
3635
3636 * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
3637 context->sp instead of context->cfa.
3638
0e19db59
MF
36392015-08-18 Max Filippov <jcmvbkbc@gmail.com>
3640
3641 * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
3642 with unwind-dw2-fde-dip.
3643
b6ac5f62
MF
36442015-08-18 Max Filippov <jcmvbkbc@gmail.com>
3645
3646 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
3647 CALL12 followed by series of ENTRY to spill windowed registers.
3648 (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
3649 instead of making linux spill syscall.
3650
3e0f3349
YR
36512015-08-14 Yuri Rumyantsev <ysrumyan@gmail.com>
3652
3653 * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
3654 (get_intel_cpu): Likewise.
3655
51c728b1
L
36562015-08-12 H.J. Lu <hongjiu.lu@intel.com>
3657
3658 * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
3659 (get_intel_cpu): Add Knights Landing support.
3660
aff4eeac
UB
36612015-08-11 Uros Bizjak <ubizjak@gmail.com>
3662
3663 PR target/66954
3664 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
3665 (get_available_features): Handle FEATURE_PCLMUL.
3666
736e56da
L
36672015-08-10 H.J. Lu <hongjiu.lu@intel.com>
3668
3669 * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
3670 Broadwell.
3671
54d22142
UB
36722015-07-22 Uros Bizjak <ubizjak@gmail.com>
3673
3674 PR target/66954
3675 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
3676 (get_available_features): Handle FEATURE_AES.
3677
20ca17e4
CLT
36782015-07-22 Chung-Lin Tang <cltang@codesourcery.com>
3679
3680 * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
3681 (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
3682
ebe4a560
NS
36832015-07-17 Nathan Sidwell <nathan@codesourcery.com>
3684
3685 * offloadstuff.c: Constify host data.
3686
180744c0
JB
36872015-07-17 Jan Beulich <jbeulich@suse.com>
3688
3689 * config/t-softfp: Split up "else ifneq".
3690
a03c6ae3
SL
36912015-07-14 Sandra Loosemore <sandra@codesourcery.com>
3692 Cesar Philippidis <cesar@codesourcery.com>
3693 Chung-Lin Tang <cltang@codesourcery.com>
3694
3695 * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
3696 for __nios2_arch__ level.
3697
73358db5
JM
36982015-07-13 John Marino <gnugcc@marino.st>
3699
3700 * config/i386/t-dragonfly: New.
3701
f9a12f7b
JDA
37022015-07-01 John David Anglin <danglin@gcc.gnu.org>
3703
3704 * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
3705 better match light-weight syscall argument order.
3706 (__kernel_cmpxchg2): Likewise.
3707 Adjust callers.
3708
cb78b51c
L
37092015-06-30 H.J. Lu <hongjiu.lu@intel.com>
3710
3711 * config.host: Support i[34567]86-*-elfiamcu target.
3712 * config/t-softfp-sfdftf: New file.
3713 * config/i386/32/t-iamcu: Likewise.
3714 * configure: Regenerated.
3715
4fa0f9ea
JL
37162015-06-23 James Lemke <jwlemke@codesourcery.com>
3717
3718 libgcc/config/arm/
3719 * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
3720
428b3812
L
37212015-05-27 H.J. Lu <hongjiu.lu@intel.com>
3722
3723 * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
3724
7d296953 37252015-05-27 John Marino <gnugcc@marino.st>
89c54dd3
JM
3726
3727 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
3728 md_unwind_header
3729 * config/i386/freebsd-unwind.h: New.
3730
9b789cc1
UB
37312015-05-22 Uros Bizjak <ubizjak@gmail.com>
3732
3733 * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
3734 i386/t-crtfm to tmake_file.
3735 * config/i386/crtfastmath.c (set_fast_math_sse): New function.
3736 (set_fast_math): Use set_fast_math_sse for SSE targets.
3737 * config/i386/t-crtfm: Remove.
3738
3dafb220
AM
37392015-05-21 Alan Modra <amodra@gmail.com>
3740
3741 PR libgcc/66225
3742 * config/rs6000/morestack.S: Remove ".abiversion 1".
3743
0f0fd745
AM
37442015-05-20 Alan Modra <amodra@gmail.com>
3745
3746 * config/rs6000/morestack.S: New.
3747 * config/rs6000/t-stack-rs6000: New.
3748 * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
3749 to tmake_file.
3750 * generic-morestack.c: Don't build for powerpc 32-bit.
3751
515ae71b
EB
37522015-05-19 Eric Botcazou <ebotcazou@adacore.com>
3753
3754 * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
3755 Remove useless endif/ifneq ($(enable_shared),yes) pair.
3756
36805406
JL
37572015-05-16 James Bowman <james.bowman@ftdichip.com>
3758
3759 * config.host: FT32 target added.
3760 * config/ft32/*: New files for FT32 target.
3761
ff935d0c
MG
37622015-05-15 Martin Galvan <martin.galvan@tallertechnologies.com>
3763
385c7747
UB
3764 * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
3765 New macros.
3766 * config/arm/ieee754-df.S: Add CFI directives.
3767 * config/arm/ieee754-sf.S: Add CFI directives.
ff935d0c 3768
9b92a9f3
EB
37692015-05-13 Eric Botcazou <ebotcazou@adacore.com>
3770
3771 * configure.ac: Include config/sjlj.m4.
3772 Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
3773 * config.in: Regenerate.
3774 * configure: Likewise.
3775 * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
3776
98b5dc61
UB
37772015-05-12 Uros Bizjak <ubizjak@gmail.com>
3778
3779 * libgcov-util.c: Add space between string literal and macro name.
3780
5a0ff57c
SL
37812015-05-06 Sandra Loosemore <sandra@codesourcery.com>
3782 Chris Jones <chrisj@nvidia.com>
3783 Joshua Conner <jconner@nvidia.com>
3784
3785 * config.host (arm*-*-linux*): Add support for crtfastmath.o.
3786 (arm*-*-uclinux*): Likewise.
3787 (arm*-*-eabi* | arm*-*-rtems*): Likewise.
3788 * config/arm/crtfastmath.c: New file.
3789
d28ad5d4
BS
37902014-04-29 Bernd Schmidt <bernds@codesourcery.com>
3791
3792 * Makefile.in (real_host_noncanonical): New variable.
3793 (libsubdir): Use it.
3794 * configure.ac (real_host_noncanonical): Compute. Remove special
3795 case for intelmicemul.
3796 * configure: Regenerate.
3797
cc86234f
UB
37982015-04-28 Uros Bizjak <ubizjak@gmail.com>
3799
3800 * config/frv/elf-lib.h: New file.
3801 (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
3802 * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
3803 to tm_file.
3804
38052015-04-28 Uros Bizjak <ubizjak@gmail.com>
3806
3807 * config/frv/frvbengin.c: Do not include defaults.h
3808 * config/frv/frvend.c: Ditto.
3809
2f6bd6eb
YS
38102015-04-27 Yoshinori Sato <ysato@users.sourceforge.jp>
3811
3812 * config.host: Add h8300-*-linux
3813 * config/h8300/t-linux: New file.
3814 * config/h8300/lib1funs.s: Change symbol prefix.
3815 * config/h8300/sfp-machine.h: 64bit double support.
3816
15aa7b44
GR
38172015-04-22 Gregor Richards <gregor.richards@uwaterloo.ca>
3818 Szabolcs Nagy <szabolcs.nagy@arm.com>
3819
3820 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
3821 Linux if target provides dl_iterate_phdr.
3822
abd0cdc9
L
38232015-04-17 H.J. Lu <hongjiu.lu@intel.com>
3824
3825 PR target/65612
3826 * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
3827 * config/i386/cpuinfo.c (__cpu_model): Initialize.
3828 (__cpu_indicator_init@GCC_4.8.0): New.
3829 (__cpu_model@GCC_4.8.0): Likewise.
3830 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
3831 -DUSE_ELF_SYMVER.
3832
72ed1126
NC
38332015-04-16 Nick Clifton <nickc@redhat.com>
3834
3835 * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
3836 and __modhi3 functions.
3837 * config/rl78/divmodso.S: Add G14 and G13 versions of the
3838 __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
3839
d26b2237
CG
38402015-04-15 Chen Gang <gang.chen.5i5j@gmail.com>
3841
3842 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
3843 do-while loop as macro body to avoid warnings.
3844
cacf1f59
JJ
38452015-04-10 Jakub Jelinek <jakub@redhat.com>
3846 Iain Sandoe <iain@codesourcery.com>
3847
3848 PR target/65351
3849 * configure: Regenerate.
3850
e8a4ed3b
JJ
38512015-04-07 Jakub Jelinek <jakub@redhat.com>
3852 Iain Sandoe <iain@codesourcery.com>
3853
3854 PR target/65351
3855 * configure: Regenerate.
3856
0341335e
CLT
38572015-03-25 Chung-Lin Tang <cltang@codesourcery.com>
3858
3859 * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
3860
590e2636 38612015-03-03 Max Filippov <jcmvbkbc@gmail.com>
0341335e 3862
590e2636
MF
3863 Implement call0 ABI for xtensa
3864 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
3865 __xtensa_nonlocal_goto): Don't compile for call0 ABI.
3866 (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
3867 use ret in call0 ABI.
3868 * config/xtensa/t-windowed: New file.
3869 * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
3870 * libgcc/configure: Regenerated.
3871 * libgcc/configure.ac: Check if xtensa target is configured for
3872 windowed ABI and thus needs to use custom unwind code.
3873
7727f8f2
JW
38742015-02-12 Jonathan Wakely <jwakely@redhat.com>
3875
3876 PR libgcc/64885
3877 * gthr-single.h: Use __unused__ attribute instead of unused.
3878 * config/gthr-vxworks.h: Likewise.
3879 * config/i386/gthr-win32.h: Likewise.
3880
0e4a0def
KT
38812015-02-27 Kai Tietz <ktietz@redhat.com>
3882
3883 PR target/65038
3884 * config.in: Regenerated.
3885 * configure: Likewise.
3886 * configure.ac (AC_HEADER_STDC): Added explicit.
3887 (AC_CHECK_HEADERS): Check for default headers plus
3888 for ftw.h header.
3889 * libgcov-util.c (gcov_read_profile_dir): Disable use
3890 of ftw-function, if header is not found.
3891 (ftw_read_file): Likewise.
3892
b6530d0a
TS
38932015-02-23 Thomas Schwinge <thomas@codesourcery.com>
3894
3895 PR target/65181
3896 * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
3897 -Dinhibit_libc.
3898
53cfb467
SL
38992015-02-17 Sandra Loosemore <sandra@codesourcery.com>
3900
3901 * config/arm/bpabi.S (test_div_by_zero): Make label names
3902 consistent between thumb2 and arm mode cases. Separate the
3903 signed comparison on the high word of the numerator from the
3904 unsigned comparison on the low word.
3905 * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
3906 signed comparison.
3907
77d10a1b
JM
39082015-02-17 Joseph Myers <joseph@codesourcery.com>
3909
3910 * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
3911 and <string.h>.
3912 (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
3913
98174188
RE
39142015-02-10 Rainer Emrich <rainer@emrich-ebersheim.de>
3915
3916 PR gcov-profile/61889
471274de 3917 * libgcov-driver-system.c: undefine clashing macro for mkdir.
98174188 3918
771bef14
NC
39192015-02-02 Nick Clifton <nickc@redhat.com>
3920
3921 * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
3922 rounding up the fraction.
3923
40702893
JDA
39242015-01-31 John David Anglin <danglin@gcc.gnu.org>
3925
3926 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
3927 oldval and newval to const void *. Fix typo.
3928 (FETCH_AND_OP_2): Use __atomic_load_n to load value.
3929 (FETCH_AND_OP_WORD): Likewise.
3930 (OP_AND_FETCH_WORD): Likewise.
3931 (COMPARE_AND_SWAP_2): Likewise.
3932 (__sync_val_compare_and_swap_4): Likewise.
3933 (__sync_lock_test_and_set_4): Likewise.
3934 (SYNC_LOCK_RELEASE_2): Likewise.
3935 Remove support for long long atomic operations.
3936
f7f049fa
CT
39372015-01-27 Caroline Tice <cmtice@google.com>
3938
3939 Committing VTV Cywin/Ming patch for Patrick Wollgast
3940 * Makefile.in: Move rules to build vtv_*.o out of the check
3941 for CUSTOM_CRTSTUFF.
3942 * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
3943 i[34567]86-*-mingw*)
3944 (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
3945 enable_vtable_verify.
3946
8410904a
NC
39472015-01-27 Nick Clifton <nickc@redhat.com>
3948
3949 * config/rl78/cmpsi2.S: Use function start and end macros.
3950 (__gcc_bcmp): New function.
3951 * config/rl78/lshrsi3.S: Use function start and end macros.
3952 * config/rl78/mulsi3.S: Add support for G10.
3953 (__mulqi3): New function for G10.
3954 * config/rl78/signbit.S: Use function start and end macros.
3955 * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
3956 fpmath-sf.S.
3957 (LIB2FUNCS_EXCLUDE): Define.
3958 (LIB2FUNCS_ST): Define.
3959 * config/rl78/trampoline.S: Use function start and end macros.
3960 * config/rl78/vregs.h (START_FUNC): New macro.
3961 (START_ANOTHER_FUNC): New macro.
3962 (END_FUNC): New macro.
3963 (END_ANOTHER_FUNC): New macro.
3964 * config/rl78/bit-count.S: New file. Contains assembler
3965 implementations of the bit counting functions: ___clzhi2,
3966 __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
3967 __paritysi2, __popcounthi2 and __popcountsi2.
3968 * config/rl78/fpbit-sf.S: New file. Contains assembler
3969 implementationas of the math functions: __negsf2, __cmpsf2,
3970 __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
3971 __fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
3972 * config/rl78/fpmath-sf.S: New file. Contains assembler
3973 implementations of the math functions: __subsf3, __addsf3,
3974 __mulsf3 and __divsf3
3975
f962fbf1
RO
39762015-01-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3977
3978 * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
3979 Add i386/elf-lib.h to tm_file.
3980 * config/i386/elf-lib.h: Fix comment.
3981 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
3982 && __sun__ && __svr4__]: Remove workaround.
3983
939911c5
ASJ
39842015-01-25 Allan Sandfeld Jensen <sandfeld@kde.org>
3985
3986 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
3987 FEATURE_BMI2.
3988 (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
3989
c8f2dff2
L
39902015-01-24 H.J. Lu <hongjiu.lu@intel.com>
3991
3992 * config/i386/cpuinfo.c (processor_subtypes): Add
3993 INTEL_COREI7_BROADWELL.
3994 (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
3995 model numbers.
3996
7bbf9734
UB
39972015-01-23 Uros Bizjak <ubizjak@gmail.com>
3998
3999 * config/i386/elf-lib.h: New file.
4000 (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
4001 Wrap definition in #ifdef __i386__.
4002 * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
4003 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
4004 (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
4005 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
4006 to tm_file.
4007
324820f1
CG
40082015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
4009
4010 * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
4011 "(char *)" to avoid qualifier warning by 'xgcc' compiling.
4012
a9ce4e4a
CLT
40132015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
4014
4015 * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
4016 Update rt_sigframe format and address for current Nios II
4017 Linux conventions.
4018
82a19768
AT
40192015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
4020
4021 * config.host (arm*-*-freebsd*): Add new configuration for
4022 arm*-*-freebsd*.
4023 * config/arm/freebsd-atomic.c: New file.
4024 * config/arm/t-freebsd: Likewise.
4025 * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
4026 'PC-relative indirect' OS's.
4027
0969ec7d
EB
40282015-01-06 Eric Botcazou <ebotcazou@adacore.com>
4029
4030 * config.host: Add Visium support.
4031 * config/visium: New directory.
4032
5624e564
JJ
40332015-01-05 Jakub Jelinek <jakub@redhat.com>
4034
4035 Update copyright years.
4036
82f84ecb
MF
40372014-12-19 Matthew Fortune <matthew.fortune@imgtec.com>
4038
4039 * config.host: Support mipsisa32r6 and mipsisa64r6.
4040 * config/mips/mips16.S: Do not build for R6.
4041
69044fa9
OE
40422014-12-17 Oleg Endo <olegendo@gcc.gnu.org>
4043
4044 * config/sh/crt.h: New.
4045 * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
4046 symbols.
4047 * config/sh/crt1.S: Likewise.
4048
2405e0ea
UB
40492014-12-15 Uros Bizjak <ubizjak@gmail.com>
4050
4051 PR libgcc/63832
4052 * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
4053 func_ptr *dtor_list temporary variable to avoid "array subscript
4054 is above array bounds" warnings.
4055
7d296953 40562014-12-09 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
dd913323
MH
4057
4058 * Makefile.in (with_aix_soname): Define.
4059 * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
4060 * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
4061 * configure: Recreate.
4062
a66272f6
OH
40632014-12-05 Olivier Hainque <hainque@adacore.com>
4064
4065 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
4066 now provided by defaults.h.
4067
6342b2c5
OE
40682014-11-30 Oleg Endo <olegendo@gcc.gnu.org>
4069
7d0ee249 4070 PR target/55351
6342b2c5
OE
4071 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
4072 whether it's defined.
4073
c17eac85
IT
40742014-11-27 Ilya Tocar <ilya.tocar@intel.com>
4075
4076 * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
4077 * config/i386/cpuinfo.c (get_available_features): Detect it.
4078
1025cb6c
TW
40792014-11-27 Tony Wang <tony.wang@arm.com>
4080
4081 * config/arm/lib1funcs.S (FUNC_START): Add conditional section
4082 redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
4083 (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
4084
d19f2e38
SB
40852014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
4086
4087 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
4088
17f6e9a3
JDA
40892014-11-24 John David Anglin <danglin@gcc.gnu.org>
4090
4091 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
4092 instead.
4093
0cd7c672
GM
40942014-11-21 Guy Martin <gmsoft@tuxicoman.be>
4095 John David Anglin <danglin@gcc.gnu.org>
4096
4097 * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
4098 (FETCH_AND_OP_2): New. Use for subword and double word operations.
4099 (OP_AND_FETCH_2): Likewise.
4100 (COMPARE_AND_SWAP_2): Likewise.
4101 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
4102 (SYNC_LOCK_RELEASE_2): Likewise.
4103 (SUBWORD_SYNC_OP): Remove.
4104 (SUBWORD_VAL_CAS): Likewise.
4105 (SUBWORD_BOOL_CAS): Likewise.
4106 (FETCH_AND_OP_WORD): Update.
4107 Consistently use signed types.
cc86234f 4108
85c64bbe
BS
41092014-11-13 Bernd Schmidt <bernds@codesourcery.com>
4110 Thomas Schwinge <thomas@codesourcery.com>
4111 Ilya Verbin <ilya.verbin@intel.com>
4112 Andrey Turetskiy <andrey.turetskiy@intel.com>
4113
4114 * Makefile.in (crtoffloadbegin$(objext)): New rule.
4115 (crtoffloadend$(objext)): Likewise.
4116 * configure: Regenerate.
4117 * configure.ac (accel_dir_suffix): Compute new variable.
4118 (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
4119 if enable_offload_targets is not empty.
4120 * offloadstuff.c: New file.
4121
52a1ff8b
NC
41222014-11-13 Nick Clifton <nickc@redhat.com>
4123
4124 * config/rl78/divmodhi.S: Add support for the G10 architecture.
4125 Use START_FUNC and END_FUNC macros to enable linker garbage
4126 collection.
4127 * config/rl78/divmodqi.S: Likewise.
4128 * config/rl78/divmodsi.S: Likewise.
4129 * config/rl78/mulsi3.S: Likewise.
4130 * config/rl78/lib2div.c: Remove G10 functions.
4131 * config/rl78/lib2muls.c: Likewise.
4132 * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
4133 * config/rl78/vregs.h (START_FUNC): New macro.
4134 (END_FUNC): New macro.
4135
050af144
MF
41362014-11-12 Matthew Fortune <matthew.fortune@imgtec.com>
4137
4138 * config/mips/mips16.S: Set .module when supported. Update O32
4139 FP64 calling convention and use for FPXX when possible. Add FPXX
4140 calling convention fallback case.
4141
738f2522
BS
41422014-11-06 Bernd Schmidt <bernds@codesourcery.com>
4143
4144 * config.host: Handle nvptx-*-*.
4145 * shared-object.mk (as-flags-$o): Define.
4146 ($(base)$(objext), $(base)_s$(objext)): Use it instead of
4147 -xassembler-with-cpp.
4148 * static-object.mk: Identical changes.
4149 * config/nvptx/t-nvptx: New file.
4150 * config/nvptx/crt0.s: New file.
4151 * config/nvptx/free.asm: New file.
4152 * config/nvptx/malloc.asm: New file.
4153 * config/nvptx/realloc.c: New file.
4154
e610393c
JM
41552014-10-30 Joseph Myers <joseph@codesourcery.com>
4156
4157 * Makefile.in (libgcc.map.in): New target.
4158 (libgcc.map): Use libgcc.map.in.
4159 * config/t-softfp (softfp_compat): New variable to be set by
4160 users.
4161 [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
4162 variables.
4163 [$(softfp_compat) = y] (softfp_file_list): Use files in the build
4164 directory.
4165 [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
4166 that use compat symbols and disable all code unless [SHARED].
4167 * config/t-softfp-compat: New file.
4168 * find-symver.awk: New file.
4169 * configure.ac (--with-glibc-version): New configure option.
4170 (ppc_fp_compat): New variable set for powerpc*-*-linux*.
4171 * configure: Regenerate.
4172 * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
4173 soft-float and e500.
4174
bc1b3a88
JM
41752014-10-29 Joseph Myers <joseph@codesourcery.com>
4176
4177 * config/t-hardfp (hardfp_exclusions): Document new variable for
4178 user to define.
4179 (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
4180 * config/t-softfp (softfp_extras): Document new variable for user
4181 to define.
4182 (softfp_func_list): Add functions from $(softfp_extras).
4183 * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
4184 * config.host (powerpc*-*-linux*): For e500v1, use
4185 rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
4186 t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
4187 and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
4188
ef2810c1
JDA
41892014-10-26 John David Anglin <danglin@gcc.gnu.org>
4190
4191 * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
4192 (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
4193 memory read accesses are ok.
4194
d80c2bea
JM
41952014-10-25 Joseph Myers <joseph@codesourcery.com>
4196
4197 * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
4198 * configure: Regenerate.
4199 * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
4200 additions to tmake_file. Use t-hardfp-sfdf and t-hardfp instead
4201 of soft-fp for 32-bit classic hard float. Do not use
4202 t-softfp-excl for soft float.
4203
693b297b
JM
42042014-10-22 Joseph Myers <joseph@codesourcery.com>
4205
4206 * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
4207 configurations.
4208 * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
4209 Remove variables.
4210
18a3415e
GJL
42112014-10-22 Georg-Johann Lay <avr@gjlay.de>
4212
4213 * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
4214 introduced with 2014-10-21 trunk r216525.
4215
c1dd9790 42162014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
7d296953
JJ
4217 Vidya Praveen <vidya.praveen@atmel.com>
4218 Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
4219 Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
4220 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
c1dd9790
JR
4221
4222 * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
4223 order.
4224
4225 Updated library functions for AVRTINY arch.
4226 * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
4227 Replaced occurrences of r0/r1 with tmp/zero reg macros.
4228 Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
4229 or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
4230 wsubi/wadi macors.
4231 (__mulsi3_helper): Update stack, preserve callee saved regs and
4232 argument from stack. Restore callee save registers.
4233 (__mulpsi3): Likewise.
4234 (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
4235 __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
18a3415e 4236 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
c1dd9790
JR
4237 AVRTINY.
4238 (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
4239 (__do_copy_data): Added new definition for AVRTINY.
4240 (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
4241 (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
4242 __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
4243 * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
4244 tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
4245 macors.
18a3415e 4246 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
c1dd9790
JR
4247 AVRTINY.
4248
18a3415e 4249 Fix broken long multiplication on tiny arch.
c1dd9790 4250
5f606431
JM
42512014-10-09 Joseph Myers <joseph@codesourcery.com>
4252
4253 * soft-fp/double.h: Update from glibc.
4254 * soft-fp/eqdf2.c: Likewise.
4255 * soft-fp/eqsf2.c: Likewise.
4256 * soft-fp/eqtf2.c: Likewise.
4257 * soft-fp/extenddftf2.c: Likewise.
4258 * soft-fp/extended.h: Likewise.
4259 * soft-fp/extendsfdf2.c: Likewise.
4260 * soft-fp/extendsftf2.c: Likewise.
4261 * soft-fp/extendxftf2.c: Likewise.
4262 * soft-fp/gedf2.c: Likewise.
4263 * soft-fp/gesf2.c: Likewise.
4264 * soft-fp/getf2.c: Likewise.
4265 * soft-fp/ledf2.c: Likewise.
4266 * soft-fp/lesf2.c: Likewise.
4267 * soft-fp/letf2.c: Likewise.
4268 * soft-fp/op-1.h: Likewise.
4269 * soft-fp/op-2.h: Likewise.
4270 * soft-fp/op-4.h: Likewise.
4271 * soft-fp/op-8.h: Likewise.
4272 * soft-fp/op-common.h: Likewise.
4273 * soft-fp/quad.h: Likewise.
4274 * soft-fp/single.h: Likewise.
4275 * soft-fp/soft-fp.h: Likewise.
4276 * soft-fp/unorddf2.c: Likewise.
4277 * soft-fp/unordsf2.c: Likewise.
4278 * soft-fp/unordtf2.c: Likewise.
4279 * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
4280 * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
4281 * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
4282 * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
4283 * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
4284 * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
4285 * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
4286 * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
4287 * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
4288 * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
4289
9b84e7a8
RX
42902014-10-08 Rong Xu <xur@google.com>
4291
4292 * libgcov-util.c (read_gcda_file): Fix format.
4293 (find_match_gcov_info): Ditto.
4294 (calculate_2_entries): New.
4295 (compute_one_gcov): Ditto.
4296 (gcov_info_count_all_cold): Ditto.
4297 (gcov_info_count_all_zero): Ditto.
4298 (extract_file_basename): Ditto.
4299 (get_file_basename): Ditto.
4300 (set_flag): Ditto.
4301 (matched_gcov_info): Ditto.
4302 (calculate_overlap): Ditto.
4303 (gcov_profile_overlap): Ditto.
4304 * libgcov-driver.c (compute_summary): Make
4305 it avavilable for external calls.
4306
fe1090c1
RX
43072014-10-06 Rong Xu <xur@google.com>
4308
4309 * Makefile.in: Ditto.
4310 * libgcov-driver.c (gcov_sort_n_vals): New utility function.
4311 (gcov_sort_icall_topn_counter): Ditto.
4312 (gcov_sort_topn_counter_arrays): Ditto.
4313 (dump_one_gcov): Sort indirect_call topn counters.
4314 * libgcov-merge.c (__gcov_merge_icall_topn): New merge
4315 function.
4316 * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
4317 utility function.
4318 (__gcov_indirect_call_topn_profiler): New profiler function.
4319 * libgcov-util.c (__gcov_icall_topn_counter_op): New.
4320 * libgcov.h: New decls.
4321
3daa7bbf
TS
43222014-10-04 Trevor Saunders <tsaunders@mozilla.com>
4323
4324 * config.host: Remove support for score-*.
4325
9a79452d
JM
43262014-09-22 Joseph Myers <joseph@codesourcery.com>
4327
4328 * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
4329 (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
4330 (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
4331 __LIBGCC_XF_MANT_DIG__.
4332 (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
4333 (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
4334 __LIBGCC_TF_MANT_DIG__.
4335 * libgcc2.c (NOTRUNC): Define in terms of
4336 __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
4337 * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
4338
1a849e50
JM
43392014-09-22 Joseph Myers <joseph@codesourcery.com>
4340
4341 PR target/63312
4342 * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
4343 New macros.
4344
598a1586
HPN
43452014-09-22 Hans-Peter Nilsson <hp@axis.com>
4346
4347 * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
4348 override USE_PT_GNU_EH_FRAME.
4349 [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
4350 check USE_EH_FRAME_REGISTRY_ALWAYS against
4351 __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
4352 * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
4353 variable for substituted force_explicit_eh_registry.
4354 (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
4355 * configure.ac (explicit-exception-frame-registration):
4356 New AC_ARG_ENABLE.
4357 * configure: Regenerate.
4358
3a8fe7c6
OH
43592014-09-19 Olivier Hainque <hainque@adacore.com>
4360
4361 * config.host (powerpc-wrs-vxworksmils): New configuration,
4362 same as vxworksae.
4363
dd69f047
JM
43642014-09-18 Joseph Myers <joseph@codesourcery.com>
4365
4366 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
4367
e770bfd9
JM
43682014-09-18 Joseph Myers <joseph@codesourcery.com>
4369
4370 * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
4371 bits not set bits as indicating trapping exceptions.
4372
cadb2b96
NS
43732014-09-17 Nathan sidwell <nathan@acm.org>
4374
4375 * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
4376 (LIBGCOV_DRIVER): ... here.
4377 * libgcov-driver.c (gcov_master): New.
4378 (gcov_exit): Remove from master chain.
4379 (__gcov_init): Add to master chain if version compatible. Don't
4380 clear the version.
4381 * libgcov_interface (__gcov_flust): Call gcov_dump_int.
4382 (gcov_reset_int): Clear master chain, if compatible.
4383 (gcov_dump_int): New internal interface. Dump master chain, if
4384 compatible.
4385 (gcov_dump): Alias for gcov_dump_int.
4386 * libgcov.h (struct gcov_root): Add next and prev fields.
4387 (struct gcov_master): New struct.
4388 (__gcov_master): New.
4389 (gcov_dump_int): Declare.
4390
580d22a3
OH
43912014-09-17 Olivier Hainque <hainque@adacore.com>
4392
4393 * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
4394 and crtbegin.o + crtend.o to extra_parts.
4395
8cc4b7a2
JM
43962014-09-12 Joseph Myers <joseph@codesourcery.com>
4397
4398 * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
4399 __LIBGCC_HAS_SF_MODE__.
4400 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
4401 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
4402 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
4403 * config/libbid/bid_gcc_intrinsics.h
4404 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
4405 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
4406 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
4407 * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
4408 (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
4409 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
4410
ea3f2b24
GJL
44112014-09-11 Georg-Johann Lay <avr@gjlay.de>
4412
4413 PR target/63223
4414 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
4415 and R24 as needed. Make work for all devices and .text locations.
4416 (__do_global_ctors, __do_global_dtors): Use word addresses.
4417 (__tablejump__, __tablejump_elpm__): Remove functions.
4418 * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
4419 Add _tablejump2.
4420 (XICALL, XIJMP): New macros.
4421
b677236a
MS
44222014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
4423 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
4424
4425 * config.host (aarch64*): Include crtfastmath.o and
4426 t-crtfm.
4427 * config/aarch64/crtfastmath.c: New file.
4428
157e859f
TS
44292014-09-08 Trevor Saunders <tsaunders@mozilla.com>
4430
4431 * config.host: Remove picochip support.
4432 * config/picochip/adddi3.S: Remove.
4433 * config/picochip/ashlsi3.S: Remove.
4434 * config/picochip/ashlsi3.c: Remove.
4435 * config/picochip/ashrsi3.S: Remove.
4436 * config/picochip/ashrsi3.c: Remove.
4437 * config/picochip/clzsi2.S: Remove.
4438 * config/picochip/cmpsi2.S: Remove.
4439 * config/picochip/divmod15.S: Remove.
4440 * config/picochip/divmodhi4.S: Remove.
4441 * config/picochip/divmodsi4.S: Remove.
4442 * config/picochip/lib1funcs.S: Remove.
4443 * config/picochip/longjmp.S: Remove.
4444 * config/picochip/lshrsi3.S: Remove.
4445 * config/picochip/lshrsi3.c: Remove.
4446 * config/picochip/parityhi2.S: Remove.
4447 * config/picochip/popcounthi2.S: Remove.
4448 * config/picochip/setjmp.S: Remove.
4449 * config/picochip/subdi3.S: Remove.
4450 * config/picochip/t-picochip: Remove.
4451 * config/picochip/ucmpsi2.S: Remove.
4452 * config/picochip/udivmodhi4.S: Remove.
4453 * config/picochip/udivmodsi4.S: Remove.
4454
66bb34c0
JM
44552014-09-08 Joseph Myers <joseph@codesourcery.com>
4456
4457 * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
4458 (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
4459 (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
4460 (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
4461 * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
4462 error if not defined and LIBGCC2_HAS_SF_MODE is defined.
4463 (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
4464 defined and LIBGCC2_HAS_DF_MODE is defined.
4465 (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
4466 defined and LIBGCC2_HAS_XF_MODE is defined.
4467 (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
4468 defined and LIBGCC2_HAS_TF_MODE is defined.
4469
9686a2e6
JM
44702014-09-08 Joseph Myers <joseph@codesourcery.com>
4471
4472 * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
4473 and ROUND_TOWARDS_ZERO conditionals.
4474
71c3e2ef
NS
44752014-09-07 Nathan sidwell <nathan@acm.org>
4476
4477 * libgcov-interface.c (STRONG_ALIAS): Rename to ...
4478 (ALIAS_weak): ... here. Use forwarding function. Adjust uses.
4479
53d68b9f
JM
44802014-09-05 Joseph Myers <joseph@codesourcery.com>
4481
4482 * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
4483 * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
4484 uses to __LIBGCC_STACK_POINTER_REGNUM__.
4485 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
4486 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4487 * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
4488 Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4489 * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
4490 uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
4491 (DWARF_FRAME_REGISTERS): Change all uses to
4492 __LIBGCC_DWARF_FRAME_REGISTERS__.
4493 (EH_RETURN_STACKADJ_RTX): Change all uses to
4494 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
4495 * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
4496 __LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
4497 * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
4498 use to __LIBGCC_EH_FRAME_SECTION_NAME__.
4499 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
4500 * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
4501 to __LIBGCC_EH_FRAME_SECTION_NAME__.
4502 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
4503 * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
4504 __LIBGCC_STACK_POINTER_REGNUM__.
4505 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
4506 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4507 * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
4508 to __LIBGCC_STACK_POINTER_REGNUM__.
4509 * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
4510 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4511 * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
4512 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4513 * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
4514 Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4515 (STACK_POINTER_REGNUM): Change all uses to
4516 __LIBGCC_STACK_POINTER_REGNUM__.
4517 * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
4518 use to __LIBGCC_STACK_POINTER_REGNUM__.
4519 * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
4520 uses to __LIBGCC_STACK_POINTER_REGNUM__.
4521 * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
4522 to __LIBGCC_DWARF_FRAME_REGISTERS__.
4523 * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
4524 to __LIBGCC_DWARF_FRAME_REGISTERS__.
4525 * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
4526 to __LIBGCC_STACK_POINTER_REGNUM__.
4527 * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
4528 Remove conditional definition.
4529 * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
4530 __LIBGCC_TEXT_SECTION_ASM_OP__.
4531 (EH_FRAME_SECTION_NAME): Change all uses to
4532 __LIBGCC_EH_FRAME_SECTION_NAME__.
4533 (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
4534 __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
4535 (CTORS_SECTION_ASM_OP): Change all uses to
4536 __LIBGCC_CTORS_SECTION_ASM_OP__.
4537 (DTORS_SECTION_ASM_OP): Change all uses to
4538 __LIBGCC_DTORS_SECTION_ASM_OP__.
4539 (JCR_SECTION_NAME): Change all uses to
4540 __LIBGCC_JCR_SECTION_NAME__.
4541 (INIT_SECTION_ASM_OP): Change all uses to
4542 __LIBGCC_INIT_SECTION_ASM_OP__.
4543 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
4544 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
4545 * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
4546 __LIBGCC_STACK_GROWS_DOWNWARD__.
4547 * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
4548 __LIBGCC_INIT_SECTION_ASM_OP__.
4549 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
4550 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
4551 (EH_FRAME_SECTION_NAME): Change all uses to
4552 __LIBGCC_EH_FRAME_SECTION_NAME__.
4553 * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
4554 definitions. Change all uses to
4555 __LIBGCC_VTABLE_USES_DESCRIPTORS__.
4556 * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
4557 __LIBGCC_STACK_GROWS_DOWNWARD__.
4558 (DWARF_FRAME_REGISTERS): Change all uses to
4559 __LIBGCC_DWARF_FRAME_REGISTERS__.
4560 (EH_RETURN_STACKADJ_RTX): Change all uses to
4561 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
4562 * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
4563 definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
4564 * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
4565 __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
4566 (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
4567
b20ee094
NS
45682014-09-02 Nathan sidwell <nathan@acm.org>
4569
4570 * libgcov-interface.c (STRONG_ALIAS): New.
4571 (__gcov_flush): Call __gcov_reset_int.
4572 (__gcov_reset): Strong alias for ...
4573 (__gcov_reset_ing): ... this renamed hidden version.
4574 * libgcov.h (__gcov_reset_int): New declaration.
4575
1ac83976
YS
45762014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
4577
25efdb9f
YS
4578 * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
4579 call from here...
4580 * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
4581 (__dso_handle): Define on Cygwin.
4582 * config/i386/t-cygming (crtbeginS.o): New rule.
4583 * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
4584
1ac83976
YS
4585 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
4586 declaration syntax.
4587
c6f9ea3b
SE
45882014-08-13 Steve Ellcey <sellcey@mips.com>
4589
4590 * crtstuff.c: Undef caddr_t.
4591
5b1ea7c5
SE
45922014-08-12 Steve Ellcey <sellcey@mips.com>
4593
4594 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
4595
4303c581
NS
45962014-08-07 Nathan Sidwell <nathan@acm.org>
4597
4598 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
4599 (LIBGCOV_DRIVER): ... to here.
4600 * libgcov.h (gcov_do_dump): New #define.
4601 (struct gcov_root): New.
4602 (__gcov_root): New declaration.
4603 (__gcov_dump_one): Declare.
4604 * libgcov-driver.c (gcov_list, gcov_dump_complete,
4605 run_accounted): Delete.
4606 (gcov_compute_histogram): Add LIST argument, adjust.
4607 (compute_summary): Adjust gcov_compute_histogram call.
4608 (gcov_do_dump): Not hidden, static in libgcov.
4609 (gcov_clear): Move to interface.c.
4610 (__gcov_dump_one): New, broken out of ...
4611 (gcov_exit): ... here. Make static.
4612 (__gcov_root): New.
4613 (__gcov_init): Adjust.
4614 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
4615 declarations.
4616 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
4617 (gcov_clear): Moved from driver.c. Add LIST argument.
4618 (__gcov_reset): Adjust for changed interfaces.
4619 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
4620
23742a9e
RAR
46212014-08-04 Rohit <rohitarulraj@freescale.com>
4622
4623 PR target/60102
4624 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
d406ae47 4625 based on change in SPE high register numbers and 3 HTM registers.
23742a9e 4626
b98a872b
NS
46272014-08-01 Nathan Sidwell <nathan@acm.org>
4628
4629 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
4630 LIBGCOV_INTERFACE): Reformat.
4631 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
4632 IN_GCOV_TOOL.
4633 * libgcov-interface.c: Reformat some comments.
4634 (__gcov_flush_mx): Add declaration. Tidy up definition.
4635
6adaaa1d
AM
46362014-07-31 Alan Modra <amodra@gmail.com>
4637 Peter Bergner <bergner@vnet.ibm.com>
4638
4639 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
4640 (pack_ldouble): New function.
4641 (__gcc_qadd): Use it.
4642 (__gcc_qmul): Likewise.
4643 (__gcc_qdiv): Likewise.
4644 (__gcc_qneg): Likewise.
4645 (__gcc_stoq): Likewise.
4646 (__gcc_dtoq): Likewise.
4647
87cb0c0c
UW
46482014-07-30 J. D. Johnston <jjohnst@us.ibm.com>
4649
4650 * config/s390/tpf-unwind.h: Include <stdbool.h>.
4651 (__tpf_eh_return): Add original return address as second parameter.
4652 Handle cases where unwinder routines were called directly, instead
4653 of from within the C++ library.
4654
19926161
NS
46552014-07-29 Nathan Sidwell <nathan@acm.org>
4656
4657 * libgcov.h: Move renaming of entry points to lib gcov specific
4658 portion.
4659 (gcov_do_dump): New rename.
4660 (gcov_rewrite): Remove inline, make HIDDEN.
4661 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
4662 (gcov_exit_compute_summary): Rename to ...
4663 (compute_summary): ... here. Add LIST argument.
4664 (gcov_exit_merge_gcda): Rename to ...
4665 (merge_one_data): ... here.
4666 (gcov_exit_write_gcda): Rename to ...
4667 (write_one_data): ... here.
4668 (gcov_exit_merge_summary): Rename to ...
4669 (merge_summary): Add RUN_COUNTED argument.
4670 (gcov_exit_dump_gcov): Rename to ...
4671 (dump_one_gcov): Add RUN_COUNTED argument.
4672 (gcov_do_dump): New function, broken out of ...
4673 (gcov_exit): ... here. Call it.
4674
17522262
AG
46752014-07-27 Anthony Green <green@moxielogic.com>
4676
4677 * config.host: Add moxiebox configuration suppport.
4678
6dc33097
NS
46792014-07-27 Nathan Sidwell <nathan@acm.org>
4680
4681 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
4682 (struct gcov_filename): ... here. Include buffer and max length
4683 fields.
4684 (gcov_max_filename): Remove.
4685 (gi_filename): Remove.
4686 (gcov_exit_compute_summary): Compute max filename here.
4687 (gcov_exit_merge_gcda): Add filename parm, adjust.
4688 (gcov_exit_merge_summary): Likewise.
4689 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
4690 (gcov_exit): Likewise.
4691 (__gcov_init): Don't calculate max length here.
4692 * libgcov_util.c (max_filename_len): Remove.
4693 (read_gcda_file): Don't calculate max length here.
4694 (gcov_read_profile_dir): Don't propagate here.
4695 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
4696 struct gcov_filename changes.
4697 (gcov_exit_open_gcda_file): Likewise.
4698
770f687d
NS
46992014-07-25 Nathan Sidwell <nathan@acm.org>
4700
4701 * libgcov-driver.c (set_gcov_dump_complete,
4702 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
4703 functions polluting user's namespace.
4704 (gcov_exit): Set variable directly.
4705 (gcov_clear): Reset variable directly.
4706 * libgcov-interface.c (get_gcov_dymp_complete,
4707 reset_gov_dump_complete): Remove declarations.
4708 (__gcov_reset, __gcov_dump): Don't call them.
4709
fabf71ba
DD
47102014-07-24 DJ Delorie <dj@redhat.com>
4711
4712 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
770f687d
NS
4713 (__gcc_deregister_frame): Move logic to detect deregister function
4714 to ...
4715 (__gcc_register_frame): here, so it's consistent with the register
4716 logic.
fabf71ba 4717
d10ee722
NS
47182014-07-23 Nathan Sidwell <nathan@acm.org>
4719
4720 * libgcov-driver.c (set_gcov_list): Remove.
4721 (gcov_list): Make non-static in GCOV_TOOL.
4722 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
4723
a4137090
JDA
47242014-07-17 John David Anglin <danglin@gcc.gnu.org>
4725
4726 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
4727 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
4728 Don't use SYNC_LOCK_RELEASE for int type.
4729
72602c6c
RB
47302014-07-14 Richard Biener <rguenther@suse.de>
4731
4732 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
4733
d5313205
RX
47342014-07-11 Rong Xu <xur@google.com>
4735
4736 * libgcov-util.c (gcov_max_filename): Fix declartion.
4737
c77556a5
RX
47382014-07-10 Rong Xu <xur@google.com>
4739
4740 Add gcov-tool: an offline gcda profile processing tool
4741 Support.
4742 * libgcov-driver.c (gcov_max_filename): Make available
4743 to gcov-tool.
4744 * libgcov-merge.c (__gcov_merge_add): Replace
4745 gcov_read_counter() with a Macro.
4746 (__gcov_merge_ior): Ditto.
4747 (__gcov_merge_time_profile): Ditto.
4748 (__gcov_merge_single): Ditto.
4749 (__gcov_merge_delta): Ditto.
4750 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
4751 in the utility functions.
4752 (set_fn_ctrs): Utility function for reading gcda files to in-memory
4753 gcov_list object link lists.
4754 (tag_function): Ditto.
4755 (tag_blocks): Ditto.
4756 (tag_arcs): Ditto.
4757 (tag_lines): Ditto.
4758 (tag_counters): Ditto.
4759 (tag_summary): Ditto.
4760 (read_gcda_finalize): Ditto.
4761 (read_gcda_file): Ditto.
4762 (ftw_read_file): Ditto.
4763 (read_profile_dir_init): Ditto.
4764 (gcov_read_profile_dir): Ditto.
4765 (gcov_read_counter_mem): Ditto.
4766 (gcov_get_merge_weight): Ditto.
4767 (merge_wrapper): A wrapper function that calls merging handler.
4768 (gcov_merge): Merge two gcov_info objects with weights.
4769 (find_match_gcov_info): Find the matched gcov_info in the list.
4770 (gcov_profile_merge): Merge two gcov_info object lists.
4771 (__gcov_add_counter_op): Process edge profile counter values.
4772 (__gcov_ior_counter_op): Process IOR profile counter values.
4773 (__gcov_delta_counter_op): Process delta profile counter values.
4774 (__gcov_single_counter_op): Process single profile counter values.
4775 (fp_scale): Callback function for float-point scaling.
cc86234f 4776 (int_scale): Callback function for integer fraction scaling.
c77556a5
RX
4777 (gcov_profile_scale): Scaling profile counters.
4778 (gcov_profile_normalize): Normalize profile counters.
4779 * libgcov.h: Add headers and functions for gcov-tool use.
4780 (gcov_get_counter): New.
4781 (gcov_get_counter_target): Ditto.
4782 (struct gcov_info): Make the functions field mutable in gcov-tool
4783 compilation.
4784
5c7dac8a
KT
47852014-06-23 Kai Tietz <ktietz@redhat.com>
4786
4787 PR libgcc/61585
4788 * unwind-seh.c (_Unwind_GetGR): Check for proper
4789 index range.
4790 (_Unwind_SetGR): Likewise.
4791
161c9312
NC
47922014-05-22 Nick Clifton <nickc@redhat.com>
4793
4794 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
4795 -mhwmult=none.
4796
e3f0315f
TJ
47972014-05-22 Teresa Johnson <tejohnson@google.com>
4798
4799 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
4800 include.
4801
dbed5a9b
JM
48022014-05-20 John Marino <gnugcc@marino.st>
4803
4804 * config.host (*-*-dragonfly*): New target.
4805 * crtstuff.c: Make dl_iterate_support generic on *bsd.
4806 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
4807 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
4808 * config/i386/dragonfly-unwind.h: New.
4809
1ec380e5
MR
48102014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
4811
4812 PR libgcc/60166
4813 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
4814 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
4815
54fde020
BE
48162014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
4817
4818 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
4819 implementation.
4820
999db125
GJL
48212014-05-12 Georg-Johann Lay <avr@gjlay.de>
4822
4823 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
4824
cceaf54a
RO
48252014-05-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4826
4827 PR libgcc/61097
4828 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
4829 if --enable-shared.
4830
e3fe9b5b
BE
48312014-04-30 Bernd Edlinger <bernd.edlinger@hotmail.de>
4832
4833 Work around for current cygwin32 build problems.
4834 * config/i386/cygming-crtbegin.c (__register_frame_info,
4835 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
4836 functions only for 64-bit systems.
4837
54cf37e9
RO
48382014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4839
4840 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
4841 (sigill_caught, sigill_hdlr): Remove.
4842
d9f069ab
RO
48432014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4844
4845 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
4846 check.
4847 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
4848 Solaris 9 single-threaded support.
4849 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
4850 Solaris 9 single-threaded support. Add call_user_handler code
4851 sequences.
4852 (sparc_is_sighandler): Likewise.
4853
59976ef8
AK
48542014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4855
4856 * config.host: Append t-floattodi to tmake_file depending on
4857 host_address.
4858
d02bbcf3
JS
48592014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
4860
31466bc0 4861 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
d02bbcf3 4862
c2e7e597
UB
48632014-03-10 Uros Bizjak <ubizjak@gmail.com>
4864
4865 PR libgcc/60472
4866 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
2405e0ea 4867 variable to avoid "array subscript is above array bounds" warnings.
c2e7e597
UB
4868 Use __builtin_expect when checking *jcr_list for NULL.
4869
227a7dc8
RO
48702014-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4871
4872 PR libgcc/59339
4873 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
4874 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
4875 vtv_*.o to extra_parts if enable_vtable_verify.
4876
df2b279c
NC
48772014-03-06 Nick Clifton <nickc@redhat.com>
4878
4879 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
4880 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
4881
dc11d79b
JY
48822014-02-28 Joey Ye <joey.ye@arm.com>
4883
4884 PR libgcc/60166
4885 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
4886 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
4887 Set to zero.
4888
341c653c
WL
48892014-02-24 Walter Lee <walt@tilera.com>
4890
4891 * config.host: Support "tilegx*" and "tilepro*" triplets.
4892 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
4893 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
4894
95ce7613
CLT
48952014-02-20 Sandra Loosemore <sandra@codesourcery.com>
4896 Chung-Lin Tang <cltang@codesourcery.com>
4897
4898 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
4899 * config/nios2/crti.S: Remove .file directive.
4900 * config/nios2/crtn.S: Likewise.
4901
0bb4fc05
KT
49022014-02-18 Kai Tietz <ktietz@redhat.com>
4903 Jonathan Schleifer <js@webkeks.org>
4904
4905 PR objc/56870
4906 * unwind-seh.c (_GCC_specific_handler): Pass proper
4907 value to unwind-handler.
4908
9acf28f1
JM
49092014-02-12 Joseph Myers <joseph@codesourcery.com>
4910
4911 * soft-fp/adddf3.c: Update from glibc.
4912 * soft-fp/addsf3.c: Likewise.
4913 * soft-fp/addtf3.c: Likewise.
4914 * soft-fp/divdf3.c: Likewise.
4915 * soft-fp/divsf3.c: Likewise.
4916 * soft-fp/divtf3.c: Likewise.
4917 * soft-fp/double.h: Likewise.
4918 * soft-fp/eqdf2.c: Likewise.
4919 * soft-fp/eqsf2.c: Likewise.
4920 * soft-fp/eqtf2.c: Likewise.
4921 * soft-fp/extenddftf2.c: Likewise.
4922 * soft-fp/extended.h: Likewise.
4923 * soft-fp/extendsfdf2.c: Likewise.
4924 * soft-fp/extendsftf2.c: Likewise.
4925 * soft-fp/extendxftf2.c: Likewise.
4926 * soft-fp/fixdfdi.c: Likewise.
4927 * soft-fp/fixdfsi.c: Likewise.
4928 * soft-fp/fixdfti.c: Likewise.
4929 * soft-fp/fixsfdi.c: Likewise.
4930 * soft-fp/fixsfsi.c: Likewise.
4931 * soft-fp/fixsfti.c: Likewise.
4932 * soft-fp/fixtfdi.c: Likewise.
4933 * soft-fp/fixtfsi.c: Likewise.
4934 * soft-fp/fixtfti.c: Likewise.
4935 * soft-fp/fixunsdfdi.c: Likewise.
4936 * soft-fp/fixunsdfsi.c: Likewise.
4937 * soft-fp/fixunsdfti.c: Likewise.
4938 * soft-fp/fixunssfdi.c: Likewise.
4939 * soft-fp/fixunssfsi.c: Likewise.
4940 * soft-fp/fixunssfti.c: Likewise.
4941 * soft-fp/fixunstfdi.c: Likewise.
4942 * soft-fp/fixunstfsi.c: Likewise.
4943 * soft-fp/fixunstfti.c: Likewise.
4944 * soft-fp/floatdidf.c: Likewise.
4945 * soft-fp/floatdisf.c: Likewise.
4946 * soft-fp/floatditf.c: Likewise.
4947 * soft-fp/floatsidf.c: Likewise.
4948 * soft-fp/floatsisf.c: Likewise.
4949 * soft-fp/floatsitf.c: Likewise.
4950 * soft-fp/floattidf.c: Likewise.
4951 * soft-fp/floattisf.c: Likewise.
4952 * soft-fp/floattitf.c: Likewise.
4953 * soft-fp/floatundidf.c: Likewise.
4954 * soft-fp/floatundisf.c: Likewise.
4955 * soft-fp/floatunditf.c: Likewise.
4956 * soft-fp/floatunsidf.c: Likewise.
4957 * soft-fp/floatunsisf.c: Likewise.
4958 * soft-fp/floatunsitf.c: Likewise.
4959 * soft-fp/floatuntidf.c: Likewise.
4960 * soft-fp/floatuntisf.c: Likewise.
4961 * soft-fp/floatuntitf.c: Likewise.
4962 * soft-fp/gedf2.c: Likewise.
4963 * soft-fp/gesf2.c: Likewise.
4964 * soft-fp/getf2.c: Likewise.
4965 * soft-fp/ledf2.c: Likewise.
4966 * soft-fp/lesf2.c: Likewise.
4967 * soft-fp/letf2.c: Likewise.
4968 * soft-fp/muldf3.c: Likewise.
4969 * soft-fp/mulsf3.c: Likewise.
4970 * soft-fp/multf3.c: Likewise.
4971 * soft-fp/negdf2.c: Likewise.
4972 * soft-fp/negsf2.c: Likewise.
4973 * soft-fp/negtf2.c: Likewise.
4974 * soft-fp/op-1.h: Likewise.
4975 * soft-fp/op-2.h: Likewise.
4976 * soft-fp/op-4.h: Likewise.
4977 * soft-fp/op-8.h: Likewise.
4978 * soft-fp/op-common.h: Likewise.
4979 * soft-fp/quad.h: Likewise.
4980 * soft-fp/single.h: Likewise.
4981 * soft-fp/soft-fp.h: Likewise.
4982 * soft-fp/subdf3.c: Likewise.
4983 * soft-fp/subsf3.c: Likewise.
4984 * soft-fp/subtf3.c: Likewise.
4985 * soft-fp/truncdfsf2.c: Likewise.
4986 * soft-fp/trunctfdf2.c: Likewise.
4987 * soft-fp/trunctfsf2.c: Likewise.
4988 * soft-fp/trunctfxf2.c: Likewise.
4989 * soft-fp/unorddf2.c: Likewise.
4990 * soft-fp/unordsf2.c: Likewise.
4991 * soft-fp/unordtf2.c: Likewise.
4992 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
4993 macro.
4994 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4995 Likewise.
4996 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4997 Likewise.
4998 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4999 Likewise.
5000 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5001 Likewise.
5002 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5003 Likewise.
5004 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5005 Likewise.
5006 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5007 Likewise.
5008 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5009 Likewise.
5010 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5011 Likewise.
5012 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5013 Likewise.
5014 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5015 Likewise.
5016 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5017 Likewise.
5018 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
5019 Likewise.
5020 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
5021 Likewise.
5022 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5023 Likewise.
5024
ce245ec6
AK
50252014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5026
5027 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
5028 cannot be represented.
5029 * config/s390/32/_fixsfdi.c: Likewise.
5030 * config/s390/32/_fixtfdi.c: Likewise.
5031 * config/s390/32/_fixunsdfdi.c: Likewise.
5032 * config/s390/32/_fixunssfdi.c: Likewise.
5033 * config/s390/32/_fixunstfdi.c: Likewise.
5034
1c51d688
RS
50352014-02-07 Richard Sandiford <rdsandiford@googlemail.com>
5036
5037 * configure.ac (libgcc_cv_mips_hard_float): New.
5038 * configure: Regenerate.
5039 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
5040 t-softfp-sfdf for hard-float targets.
5041 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
5042 (softfp_float_modes, softfp_int_modes, softfp_extensions)
5043 (softfp_truncations, softfp_exclude_libgcc2): New.
5044 * config/t-hardfp: New file.
5045 * config/t-hardfp-sfdf: Likewise.
5046 * config/hardfp.c: Likewise.
5047
bbf391db
AK
50482014-02-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5049
5050 * config.host: Include t-floattodi also for s390x.
5051 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
5052 * config/s390/32/_fixsfdi.c: Likewise.
5053 * config/s390/32/_fixtfdi.c: Likewise.
5054 * config/s390/32/_fixunsdfdi.c: Likewise.
5055 * config/s390/32/_fixunssfdi.c: Likewise.
5056 * config/s390/32/_fixunstfdi.c: Likewise.
5057
91da0481
RO
50582014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5059
5060 PR target/59788
5061 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
5062 (install-libgcc-unwind-map-forbuild): New target.
5063 (all): Depend on install-libgcc-unwind-map-forbuild.
5064 (install-libgcc-unwind-map): New target.
5065 (install): Depend on install-libgcc-unwind-map.
5066
02b67731
SL
50672014-02-02 Sandra Loosemore <sandra@codesourcery.com>
5068
5069 * config/nios2/crti.S (_init): Initialize GOT pointer from
5070 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
5071
1ea0a651
RS
50722014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
5073
5074 * configure.ac: Check __mips64 when setting host_address.
5075 * configure: Regenerate.
5076 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
5077 mips/t-mips64 and t-softfp.
5078 (mips*-*-linux*): Don't add mips/t-tpbit.
5079 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
5080 (DPBIT, DPBIT_CFLAGS): Delete.
5081 * config/mips/sfp-machine.h: New file.
5082 * config/mips/t-mips64: Likewise.
5083 * config/mips/t-softfp-tf: Likewise.
5084 * config/mips/t-tpbit: Delete.
5085
f32b0061
MS
50862014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
5087
5088 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
5089 as long long.
5090
a5420aa4
WL
50912014-01-25 Walter Lee <walt@tilera.com>
5092
5093 * config/tilepro/atomic.c: Include tconfig.h. Don't include
5094 config.h or system.h.
5095 (bool) Define.
5096
24534912
WL
50972014-01-25 Walter Lee <walt@tilera.com>
5098
5099 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
5100 (post_atomic_barrier): Ditto.
5101 (__fetch_and_do): New macro.
5102 (__atomic_fetch_and_do): Use __fetch_and_do.
5103 (__sync_fetch_and_do): New macro.
5104 (__sync_fetch_and_add_4): New function.
5105 (__sync_fetch_and_sub_4): New function.
5106 (__sync_fetch_and_or_4): New function.
5107 (__sync_fetch_and_and_4): New function.
5108 (__sync_fetch_and_xor_4): New function.
5109 (__sync_fetch_and_nand_4): New function.
5110 (__sync_fetch_and_add_8): New function.
5111 (__sync_fetch_and_sub_8): New function.
5112 (__sync_fetch_and_or_8): New function.
5113 (__sync_fetch_and_and_8): New function.
5114 (__sync_fetch_and_xor_8): New function.
5115 (__sync_fetch_and_nand_8): New function.
5116 (__do_and_fetch): New macro.
5117 (__atomic_do_and_fetch): Use __do_and_fetch.
5118 (__sync_do_and_fetch): New macro.
5119 (__sync_add_and_fetch_4): New function.
5120 (__sync_sub_and_fetch_4): New function.
5121 (__sync_or_and_fetch_4): New function.
5122 (__sync_and_and_fetch_4): New function.
5123 (__sync_xor_and_fetch_4): New function.
5124 (__sync_nand_and_fetch_4): New function.
5125 (__sync_add_and_fetch_8): New function.
5126 (__sync_sub_and_fetch_8): New function.
5127 (__sync_or_and_fetch_8): New function.
5128 (__sync_and_and_fetch_8): New function.
5129 (__sync_xor_and_fetch_8): New function.
5130 (__sync_nand_and_fetch_8): New function.
5131 (__sync_exchange_methods): New macro.
5132 (__sync_val_compare_and_swap_4): New function.
5133 (__sync_bool_compare_and_swap_4): New function.
5134 (__sync_lock_test_and_test_4): New function.
5135 (__sync_val_compare_and_swap_8): New function.
5136 (__sync_bool_compare_and_swap_8): New function.
5137 (__sync_lock_test_and_test_8): New function.
5138 (__subword_cmpxchg_body): New macro.
5139 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
5140 (__atomic_compare_exchange_2): Ditto.
5141 (__sync_subword_cmpxchg): New macro.
5142 (__sync_val_compare_and_swap_1): New function.
5143 (__sync_bool_compare_and_swap_1): New function.
5144 (__sync_val_compare_and_swap_2): New function.
5145 (__sync_bool_compare_and_swap_2): New function.
5146 (__atomic_subword): Rename to ...
5147 (__subword): ... New name.
5148 (__atomic_subword_fetch): Use __subword.
5149 (__sync_subword_fetch): New macro.
5150 (__sync_fetch_and_add_1): New function.
5151 (__sync_fetch_and_sub_1): New function.
5152 (__sync_fetch_and_or_1): New function.
5153 (__sync_fetch_and_and_1): New function.
5154 (__sync_fetch_and_xor_1): New function.
5155 (__sync_fetch_and_nand_1): New function.
5156 (__sync_fetch_and_add_2): New function.
5157 (__sync_fetch_and_sub_2): New function.
5158 (__sync_fetch_and_or_2): New function.
5159 (__sync_fetch_and_and_2): New function.
5160 (__sync_fetch_and_xor_2): New function.
5161 (__sync_fetch_and_nand_2): New function.
5162 (__sync_add_and_fetch_1): New function.
5163 (__sync_sub_and_fetch_1): New function.
5164 (__sync_or_and_fetch_1): New function.
5165 (__sync_and_and_fetch_1): New function.
5166 (__sync_xor_and_fetch_1): New function.
5167 (__sync_nand_and_fetch_1): New function.
5168 (__sync_add_and_fetch_2): New function.
5169 (__sync_sub_and_fetch_2): New function.
5170 (__sync_or_and_fetch_2): New function.
5171 (__sync_and_and_fetch_2): New function.
5172 (__sync_xor_and_fetch_2): New function.
5173 (__sync_nand_and_fetch_2): New function.
5174 (__atomic_subword_lock): Use __subword.
5175 (__sync_subword_lock): New macro.
5176 (__sync_lock_test_and_set_1): New function.
5177 (__sync_lock_test_and_set_2): New function.
5178
4d6d3bc5
WL
51792014-01-25 Walter Lee <walt@tilera.com>
5180
5181 * config/tilepro/atomic.c (BIT_OFFSET): Define.
5182 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
5183 (__atomic_subword): Ditto.
5184
cbd9890e
WL
51852014-01-25 Walter Lee <walt@tilera.com>
5186
5187 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
5188 a prefix op argument.
5189 (__atomic_nand_fetch_4): Add prefix op.
5190 (__atomic_nand_fetch_8): Ditto.
5191
7d296953 51922014-01-21 Baruch Siach <barch@tkos.co.il>
800d8bd5
BS
5193
5194 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
5195
46dd1242
L
51962014-01-09 Rong Xu <xur@google.com>
5197
5198 * libgcov-driver.c (this_prg): make it local to save
5199 bss space.
5200 (gcov_exit_compute_summary): Ditto.
5201 (gcov_exit_merge_gcda): Ditto.
5202 (gcov_exit_merge_summary): Ditto.
5203 (gcov_exit_dump_gcov): Ditto.
5204
cc86234f 52052014-01-08 Rong Xu <xur@google.com>
40d6b753
RX
5206
5207 * libgcov-driver.c: Use libgcov.h.
5208 (buffer_fn_data): Use xmalloc instead of malloc.
5209 (gcov_exit_merge_gcda): Ditto.
5210 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
5211 * libgcov.h: New common header files for libgcov-*.h.
5212 * libgcov-interface.c: Use libgcov.h
5213 * libgcov-merge.c: Ditto.
5214 * libgcov-profiler.c: Ditto.
5215 * Makefile.in: Add dependence to libgcov.h
5216
a02e7bdd
JM
52172014-01-02 Joseph Myers <joseph@codesourcery.com>
5218
5219 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
5220 case of small numerator and finite nonzero result.
5221
ac1dca3c
RS
52222014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
5223
5224 Update copyright years
5225
f9030485
RS
52262014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
5227
5228 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
5229 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
5230 config/arc/dp-hack.h, config/arc/fp-hack.h,
5231 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
5232 config/arc/ieee-754/arc600-dsp/divdf3.S,
5233 config/arc/ieee-754/arc600-dsp/divsf3.S,
5234 config/arc/ieee-754/arc600-dsp/muldf3.S,
5235 config/arc/ieee-754/arc600-dsp/mulsf3.S,
5236 config/arc/ieee-754/arc600-mul64/divdf3.S,
5237 config/arc/ieee-754/arc600-mul64/divsf3.S,
5238 config/arc/ieee-754/arc600-mul64/muldf3.S,
5239 config/arc/ieee-754/arc600-mul64/mulsf3.S,
5240 config/arc/ieee-754/arc600/divsf3.S,
5241 config/arc/ieee-754/arc600/mulsf3.S,
5242 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
5243 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
5244 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
5245 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
5246 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
5247 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
5248 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
5249 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
5250 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
5251 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
5252 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
5253 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
5254 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
5255 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
5256 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
5257 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
5258 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
5259 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
5260 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
5261 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
5262 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
5263 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
5264 vtv_start_preinit.c: Use the standard form for the copyright notice.
5265
e430824f
CLT
52662013-12-31 Sandra Loosemore <sandra@codesourcery.com>
5267 Chung-Lin Tang <cltang@codesourcery.com>
5268 Based on patches from Altera Corporation
5269
5270 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
5271 * config/nios2/lib2-nios2.h: New file.
5272 * config/nios2/lib2-divmod-hi.c: New file.
5273 * config/nios2/linux-unwind.h: New file.
5274 * config/nios2/lib2-divmod.c: New file.
5275 * config/nios2/linux-atomic.c: New file.
5276 * config/nios2/t-nios2: New file.
5277 * config/nios2/crti.asm: New file.
5278 * config/nios2/t-linux: New file.
5279 * config/nios2/lib2-divtable.c: New file.
5280 * config/nios2/lib2-mul.c: New file.
5281 * config/nios2/tramp.c: New file.
5282 * config/nios2/crtn.asm: New file.
5283
1879e97f
UB
52842013-12-26 Uros Bizjak <ubizjak@gmail.com>
5285
5286 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
5287 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
5288 from cpuid.h to check vendor signatures.
5289
f4a4bdbb
GG
52902013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
5291
c2e7e597 5292 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
f4a4bdbb
GG
5293 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
5294 (get_amd_cpu): Likewise.
5295
8d2ae544
L
52962013-12-25 H.J. Lu <hongjiu.lu@intel.com>
5297
5298 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
5299 Haswell.
5300
74924838
ASJ
53012013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
5302 H.J. Lu <hongjiu.lu@intel.com>
5303
0bb52f25
L
5304 PR target/59422
5305 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
74924838
ASJ
5306 and AMD_JAGUAR.
5307 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
5308 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
5309 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
5310 FEATURE_XOP and FEATURE_FMA.
5311 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
5312 AMDFAM15H_BDVER3.
5313 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
0bb52f25 5314 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
74924838
ASJ
5315 FEATURE_FMA4 and FEATURE_XOP.
5316
d3c11974
L
53172013-12-23 H.J. Lu <hongjiu.lu@intel.com>
5318
5319 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
5320 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
5321 (get_intel_cpu): Updated.
5322
064c4ff2
ZC
53232013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
5324
5325 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
5326
8b02e720
UB
53272013-12-09 Uros Bizjak <ubizjak@gmail.com>
5328
5329 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
1f71a3c3 5330 instructions when __SSE_MATH__ is defined.
8b02e720 5331
3fa2ccb4
RC
53322013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
5333
5334 * config.host (microblaze-*-rtems*): New.
5335
ecd78fc9
KV
53362013-12-04 Kugan Vivekanandarajah <kuganv@linaro.org>
5337
5338 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
5339 architectures that do not have hardware divide instruction.
5340 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
5341
b21fbbd2
RS
53422013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
5343
5344 * longlong.h: Delete (moved to include/).
5345
b03fb8c9
AZ
53462013-12-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5347
5348 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
5349 of normal number and qNaN to not raise an inexact exception.
5350
3c716922
UB
53512013-11-28 Uros Bizjak <ubizjak@gmail.com>
5352
5353 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
5354
53552013-11-28 Matthew Leach <matthew.leach@arm.com>
cceeb9a9
ML
5356
5357 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
5358 for correct opcodes on BE.
5359
a3458d22
UB
53602013-11-27 Uros Bizjak <ubizjak@gmail.com>
5361
5362 * soft-fp/op-4.h: Update from glibc.
5363
30b8f78b
KV
53642013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
5365
5366 * libgcc2.c (__udivmoddi4): Define new implementation when
5367 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
5368 divide instructions.
5369
82552a29
OE
53702013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
5371
5372 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
5373
80e87457
RO
53742013-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5375
5376 * config/t-softfp (soft-fp-objects-base): New variable.
5377 (soft-fp-objects): Use it.
5378
44178879
DE
53792013-11-23 David Edelson <dje.gcc@gmail.com>
5380 Andrew Dixie <andrewd@gentrack.com>
5381
5382 PR target/33704
5383 * config/rs6000/aixinitfini.c: New file.
5384 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
5385 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
5386 symbols.
5387
e5287671
YR
53882013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
5389
a3458d22 5390 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
e5287671 5391
867c8b03
JH
53922013-11-18 Jan Hubicka <jh@suse.cz>
5393
7f369373
JH
5394 * libgcov-driver.c (run_accounted): Make global level static.
5395 (gcov_exit_merge_summary): Silence warning; do not clear
5396 run_accounted here.
5397 (gcov_exit): Clear it here.
5398
1d0b3334
JH
5399 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
5400 run_accounted.
5401
867c8b03
JH
5402 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
5403 (all_prg, crc32): Remove static vars.
5404 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
5405 all_prg.
5406 (gcov_exit_merge_gcda): Add crc32 parameter.
5407 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
5408 do not account run if it was already accounted.
5409 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
5410 (gcov_exit): Initialize all_prg; update.
5411
66204992
AS
54122013-11-15 Andreas Schwab <schwab@linux-m68k.org>
5413
5414 * configure: Regenerate.
5415
b54214fe
UW
54162013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5417 Alan Modra <amodra@gmail.com>
5418
5419 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
5420 (frob_update_context): Use it.
5421
54222013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5423 Alan Modra <amodra@gmail.com>
5424
5425 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
5426 (trampoline_initial): Provide ELFv2 variant.
5427 (__trampoline_setup): Likewise.
5428
5429 * config/rs6000/linux-unwind.h (frob_update_context): Do not
5430 check for AIX indirect function call sequence if _CALL_ELF == 2.
5431
54322013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5433 Alan Modra <amodra@gmail.com>
5434
5435 * config/rs6000/linux-unwind.h (get_regs): Do not support
5436 old kernel versions if _CALL_ELF == 2.
5437 (frob_update_context): Do not support PLT stub variants only
5438 generated by old linkers if _CALL_ELF == 2.
5439
13e0981a
UW
54402013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5441 Alan Modra <amodra@gmail.com>
5442
5443 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
5444 location of CR save area for 64-bit little-endian systems.
5445
1a80085d
EB
54462013-11-11 Eric Botcazou <ebotcazou@adacore.com>
5447
5448 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
5449 in tmake_file.
5450 * config/arm/t-vxworks: Delete.
5451
cabeea52
KT
54522013-11-10 Kai Tietz <ktietz@redhat.com>
5453
5454 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
5455 Increment load-count on use of LIBGCC_SONAME DLL.
5456 (hmod_libgcc): New static variable to hold handle of
5457 LIBGCC_SONAME DLL.
5458 (__gcc_deregister_frame): Decrement load-count of
5459 LIBGCC_SONAME DLL.
5460
ac088ba1
BRF
54612013-11-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
5462
5463 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
5464 availability.
5465 * configure: Regenerate
5466
d59a8fcc
UB
54672013-11-07 Uros Bizjak <ubizjak@gmail.com>
5468
5469 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
5470 FP_EX_DENORM. Store result to volatile location after SSE division
5471 to close interrupt window. Remove unneeded fwait after x87
5472 division since interrupt window will be closed by emitted fstp.
9de84e84 5473 Rewrite FP_EX_INEXACT handling.
d59a8fcc 5474
9954c743
JM
54752013-11-06 Joseph Myers <joseph@codesourcery.com>
5476
5477 * soft-fp/README: Update.
5478 * soft-fp/adddf3.c: Update from glibc.
5479 * soft-fp/addsf3.c: Likewise.
5480 * soft-fp/addtf3.c: Likewise.
5481 * soft-fp/divdf3.c: Likewise.
5482 * soft-fp/divsf3.c: Likewise.
5483 * soft-fp/divtf3.c: Likewise.
5484 * soft-fp/double.h: Likewise.
5485 * soft-fp/eqdf2.c: Likewise.
5486 * soft-fp/eqsf2.c: Likewise.
5487 * soft-fp/eqtf2.c: Likewise.
5488 * soft-fp/extenddftf2.c: Likewise.
5489 * soft-fp/extended.h: Likewise.
5490 * soft-fp/extendsfdf2.c: Likewise.
5491 * soft-fp/extendsftf2.c: Likewise.
5492 * soft-fp/extendxftf2.c: Likewise.
5493 * soft-fp/fixdfdi.c: Likewise.
5494 * soft-fp/fixdfsi.c: Likewise.
5495 * soft-fp/fixdfti.c: Likewise.
5496 * soft-fp/fixsfdi.c: Likewise.
5497 * soft-fp/fixsfsi.c: Likewise.
5498 * soft-fp/fixsfti.c: Likewise.
5499 * soft-fp/fixtfdi.c: Likewise.
5500 * soft-fp/fixtfsi.c: Likewise.
5501 * soft-fp/fixtfti.c: Likewise.
5502 * soft-fp/fixunsdfdi.c: Likewise.
5503 * soft-fp/fixunsdfsi.c: Likewise.
5504 * soft-fp/fixunsdfti.c: Likewise.
5505 * soft-fp/fixunssfdi.c: Likewise.
5506 * soft-fp/fixunssfsi.c: Likewise.
5507 * soft-fp/fixunssfti.c: Likewise.
5508 * soft-fp/fixunstfdi.c: Likewise.
5509 * soft-fp/fixunstfsi.c: Likewise.
5510 * soft-fp/fixunstfti.c: Likewise.
5511 * soft-fp/floatdidf.c: Likewise.
5512 * soft-fp/floatdisf.c: Likewise.
5513 * soft-fp/floatditf.c: Likewise.
5514 * soft-fp/floatsidf.c: Likewise.
5515 * soft-fp/floatsisf.c: Likewise.
5516 * soft-fp/floatsitf.c: Likewise.
5517 * soft-fp/floattidf.c: Likewise.
5518 * soft-fp/floattisf.c: Likewise.
5519 * soft-fp/floattitf.c: Likewise.
5520 * soft-fp/floatundidf.c: Likewise.
5521 * soft-fp/floatundisf.c: Likewise.
5522 * soft-fp/floatunditf.c: Likewise.
5523 * soft-fp/floatunsidf.c: Likewise.
5524 * soft-fp/floatunsisf.c: Likewise.
5525 * soft-fp/floatunsitf.c: Likewise.
5526 * soft-fp/floatuntidf.c: Likewise.
5527 * soft-fp/floatuntisf.c: Likewise.
5528 * soft-fp/floatuntitf.c: Likewise.
5529 * soft-fp/gedf2.c: Likewise.
5530 * soft-fp/gesf2.c: Likewise.
5531 * soft-fp/getf2.c: Likewise.
5532 * soft-fp/ledf2.c: Likewise.
5533 * soft-fp/lesf2.c: Likewise.
5534 * soft-fp/letf2.c: Likewise.
5535 * soft-fp/muldf3.c: Likewise.
5536 * soft-fp/mulsf3.c: Likewise.
5537 * soft-fp/multf3.c: Likewise.
5538 * soft-fp/negdf2.c: Likewise.
5539 * soft-fp/negsf2.c: Likewise.
5540 * soft-fp/negtf2.c: Likewise.
5541 * soft-fp/op-1.h: Likewise.
5542 * soft-fp/op-2.h: Likewise.
5543 * soft-fp/op-4.h: Likewise.
5544 * soft-fp/op-8.h: Likewise.
5545 * soft-fp/op-common.h: Likewise.
5546 * soft-fp/quad.h: Likewise.
5547 * soft-fp/single.h: Likewise.
5548 * soft-fp/soft-fp.h: Likewise.
5549 * soft-fp/subdf3.c: Likewise.
5550 * soft-fp/subsf3.c: Likewise.
5551 * soft-fp/subtf3.c: Likewise.
5552 * soft-fp/truncdfsf2.c: Likewise.
5553 * soft-fp/trunctfdf2.c: Likewise.
5554 * soft-fp/trunctfsf2.c: Likewise.
5555 * soft-fp/trunctfxf2.c: Likewise.
5556 * soft-fp/unorddf2.c: Likewise.
5557 * soft-fp/unordsf2.c: Likewise.
5558 * soft-fp/unordtf2.c: Likewise.
5559
02ac9503
UB
55602013-11-05 Uros Bizjak <ubizjak@gmail.com>
5561
5562 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
5563 (_FP_MUL_MEAT_D): Ditto.
5564 (_FP_DIV_MEAT_S): Ditto.
5565 (_FP_DIV_MEAT_D): Ditto.
5566 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
5567 t-softfp-sfdf and t-softfp to tmake_file.
5568
61221141
UB
55692013-11-03 Uros Bizjak <ubizjak@gmail.com>
5570
5571 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
5572 * config/i386/crtprec.c: Ditto.
5573
9304f876
CJW
55742013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
5575 Shiva Chen <shiva0217@gmail.com>
5576
5577 * config.host (nds32*-elf*): Add nds32 target.
5578 * config/nds32 : New directory and files.
5579
0e499e75
HPN
55802013-10-16 Hans-Peter Nilsson <hp@axis.com>
5581
5582 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
5583 * config.host (cpu_type) <Setting default>: Add entry for
5584 crisv32-*-*.
5585 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
5586 <crisv32-*-linux*>: Adjust.
5587 * longlong.h: Wrap the whole CRIS section in a single
5588 defined(__CRIS__) conditional. Add comment about add_ssaaaa
5589 and sub_ddmmss.
5590 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
5591 defined.
5592 [__CRIS__] (__umulsidi3): Define.
5593 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
5594 * config/cris/sfp-machine.h: New file.
5595 * config/cris/umulsidi3.S: New file.
5596 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
5597 * config/cris/arit.c (SIGNMULT): New macro.
5598 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
5599 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
5600 saving 3 out of originally 33 cycles from the fastest
5601 path, 3 out of 54 from the medium path and one from the longest
5602 path. Improve comments.
5603
16022041
RS
56042013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
5605
5606 * sync.c: Remove static aliases and define each function directly
5607 under its real name.
5608
69778659
JDA
56092013-10-02 John David Anglin <danglin@gcc.gnu.org>
5610
5611 * config.host (hppa*64*-*-linux*): Define extra_parts.
5612 (hppa*-*-linux*): Likewise.
5613
2deaf8b0
JR
56142013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
5615
5616 * config/arc/crtgend.S: Add 2013 to Copyright years.
5617 * config/arc/gmon/atomic.h: Likewise.
5618 * config/arc/gmon/auxreg.h: Likewise.
5619 * config/arc/gmon/sys/gmon_out.h: Likewise.
5620 * config/arc/gmon/sys/gmon.h: Likewise.
5621 * config/arc/gmon/prof-freq.c: Likewise.
5622 * config/arc/gmon/mcount.c: Likewise.
5623 * config/arc/gmon/prof-freq-stub.S: Likewise.
5624 * config/arc/gmon/gmon.c: Likewise.
5625 * config/arc/gmon/machine-gmon.h: Likewise.
5626 * config/arc/gmon/profil.S: Likewise.
5627 * config/arc/gmon/dcache_linesz.S: Likewise.
5628 * config/arc/crtg.S: Likewise.
5629 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
5630 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
5631 * config/arc/ieee-754/adddf3.S: Likewise.
5632 * config/arc/ieee-754/truncdfsf2.S: Likewise.
5633 * config/arc/ieee-754/fixsfsi.S: Likewise.
5634 * config/arc/ieee-754/gtsf2.S: Likewise.
5635 * config/arc/ieee-754/floatsisf.S: Likewise.
5636 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
5637 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
5638 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
5639 * config/arc/ieee-754/fixdfsi.S: Likewise.
5640 * config/arc/ieee-754/addsf3.S: Likewise.
5641 * config/arc/ieee-754/gesf2.S: Likewise.
5642 * config/arc/ieee-754/floatsidf.S: Likewise.
5643 * config/arc/ieee-754/extendsfdf2.S: Likewise.
5644 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
5645 * config/arc/ieee-754/gtdf2.S: Likewise.
5646 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
5647 * config/arc/ieee-754/uneqdf2.S: Likewise.
5648 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
5649 * config/arc/ieee-754/uneqsf2.S: Likewise.
5650 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
5651 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
5652 * config/arc/ieee-754/eqdf2.S: Likewise.
5653 * config/arc/ieee-754/ordsf2.S: Likewise.
5654 * config/arc/ieee-754/divsf3.S: Likewise.
5655 * config/arc/ieee-754/divdf3.S: Likewise.
5656 * config/arc/ieee-754/floatunsidf.S: Likewise.
5657 * config/arc/ieee-754/orddf2.S: Likewise.
5658 * config/arc/ieee-754/eqsf2.S: Likewise.
5659 * config/arc/ieee-754/gedf2.S: Likewise.
5660 * config/arc/crtn.S: Likewise.
5661 * config/arc/crti.S: Likewise.
5662 * config/arc/t-arc700-uClibc: Likewise.
5663 * config/arc/asm.h: Likewise.
5664 * config/arc/libgcc-excl.ver: Likewise.
5665 * config/arc/t-arc-newlib: Likewise.
5666 * config/arc/divtab-arc700.c: Likewise.
5667 * config/arc/initfini.c: Likewise.
5668 * config/arc/fp-hack.h: Likewise.
5669
c8e318b0
JR
56702013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
5671 Diego Novillo <dnovillo@google.com>
5672
5673 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
a07c5b47
JR
5674 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
5675 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
5676 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
c8e318b0 5677
d38a64b4
JR
56782013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
5679 Brendan Kehoe <brendan@zen.org>
5680 Simon Cook <simon.cook@embecosm.com>
5681
5682 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
5683 * config/arc: New directory.
5684 * longlong.h [__arc__] (umul_ppmm): Remove.
5685 [__arc__] (__umulsidi3): Define.
5686 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
5687 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
5688
dff717d2
JC
56892013-09-17 Jacek Caban <jacek@codeweavers.com>
5690
5691 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
5692 CreateSemaphoreA.
5693 * config/i386/gthr-win32.h: Likewise.
5694
5c0029de
DD
56952013-09-16 DJ Delorie <dj@redhat.com>
5696
844ad6c6 5697 * config/rl78/vregs.h: Add G10 register definitions.
5c0029de
DD
5698 * config/rl78/lib2mul.c: Enable for RL78/G10.
5699 * config/rl78/lib2div.c: Likewise.
5700 * config/rl78/lshrsi3.S: Use vregs.h.
5701 * config/rl78/cmpsi2.S: Likewise.
5702 * config/rl78/trampoline.S: Likewise.
5703 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
5704
ceb2fc49
DD
57052013-09-14 DJ Delorie <dj@redhat.com>
5706 Nick Clifton <nickc@redhat.com>
5707
5708 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
5709 * config/rl78/vregs.h: New.
5710 * config/rl78/signbit.S: New file. Implements signbit function.
5711 * config/rl78/divmodsi.S: New.
5712 * config/rl78/divmodhi.S: New.
5713 * config/rl78/divmodqi.S: New.
5714 * config/rl78/t-rl78: Build them here...
5715 * config/rl78/lib2div.c: ...but not here.
5716
f6a83b4a
DD
57172013-09-12 DJ Delorie <dj@redhat.com>
5718
5719 * config.host (msp*-*-elf): New.
5720 * config/msp430/: New port.
5721
9107b096
IS
57222013-08-18 Iain Sandoe <iain@codesourcery.com>
5723
5724 PR gcov-profile/58127
5725 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
5726 __thread var for emulated TLS.
5727 (__gcov_indirect_call_counters): Likewise.
5728
0f9bde1f 57292013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
61221141 5730 Catherine Moore <clm@codesourcery.com>
7d296953 5731 Richard Sandiford <rdsandiford@googlemail.com>
0f9bde1f
MR
5732
5733 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
5734 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
5735 (CALL_STUB_NO_RET): Likewise.
5736 (CALL_STUB_RET): Likewise.
5737 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
5738 __mips16_ret call/return stub symbols.
5739 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
5740 to tmake_file.
5741
2dc14aac
MR
57422013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
5743
5744 * config.host <mips*-*-linux*>: Remove a stray comment.
5745
748d71f3
JH
57462013-08-10 Jan Hubicka <jh@suse.cz>
5747
5748 Work around binutils PR14342
5749 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
5750 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
5751 (L_gcov_indirect_call_profiler_v2): New.
5752
2fa3d31b
JH
57532013-08-06 Jan Hubicka <jh@suse.cz>
5754
5755 * libgcov.c (__gcov_indirect_call_callee,
5756 __gcov_indirect_call_counters): New global vars.
5757 (__gcov_indirect_call_profiler): replace by ...
5758 (__gcov_indirect_call_profiler_v2) ... this one.
5759
2077db1b
CT
57602013-08-06 Caroline Tice <cmtice@google.com>
5761
d0595b65 5762 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
2077db1b 5763 vtv_start_preinit.o and vtv_end_preinit.o.
d0595b65
CT
5764 * configure.ac: Add code to check/set enable_vtable_verify.
5765 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
2077db1b 5766 true.
d0595b65
CT
5767 * vtv_start_preinit.c: New file.
5768 * vtv_end_preinit.c: New file.
5769 * vtv_start.c: New file.
5770 * vtv_end.c: New file.
5771 * configure: Regenerated.
2077db1b 5772
46549c20
MK
57732013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
5774
5775 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
5776 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
5777 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
5778 GPL-3.0-with-GCC-exception.
5779
72be589b
MR
57802013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
5781
5782 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
5783 ISA and up.
5784
902a3faf
AK
57852013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5786
5787 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
5788 mapping for FPRs when creating the fallback framestate.
5789
02371798
GJL
57902013-07-19 Georg-Johann Lay <avr@gjlay.de>
5791
5792 PR target/57516
5793 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
5794 (__round_s2_const, __round_u2_const)
5795 (__round_s4_const, __round_u4_const, __round_x8):
5796 Saturate result if addition result cannot be represented.
5797
ab0e8379
MK
57982013-07-15 Matthias Klose <doko@ubuntu.com>
5799
5800 * libgcc2.c: Don't include <limits.h>.
5801
7da38058
JJ
58022013-07-09 Janis Johnson <janisjo@codesourcery.com>
5803
5804 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
5805
1f6eac90
JJ
58062013-07-06 Jakub Jelinek <jakub@redhat.com>
5807
5808 PR target/29776
5809 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
5810
4ea3d774
JJ
58112013-06-28 Jakub Jelinek <jakub@redhat.com>
5812
5813 PR middle-end/36041
5814 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
5815 Define.
5816 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
5817 instead of table lookups.
5818 (__popcountDI2): Likewise.
5819
9d2cdf25
CJW
58202013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
5821
5822 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
5823 correctly.
5824
fa1e55b0
JM
58252013-06-21 Joseph Myers <joseph@codesourcery.com>
5826
5827 PR other/53317
5828 * soft-fp/adddf3.c: Update from glibc.
5829 * soft-fp/addsf3.c: Likewise.
5830 * soft-fp/addtf3.c: Likewise.
5831 * soft-fp/divdf3.c: Likewise.
5832 * soft-fp/divsf3.c: Likewise.
5833 * soft-fp/divtf3.c: Likewise.
5834 * soft-fp/double.h: Likewise.
5835 * soft-fp/eqdf2.c: Likewise.
5836 * soft-fp/eqsf2.c: Likewise.
5837 * soft-fp/eqtf2.c: Likewise.
5838 * soft-fp/extenddftf2.c: Likewise.
5839 * soft-fp/extended.h: Likewise.
5840 * soft-fp/extendsfdf2.c: Likewise.
5841 * soft-fp/extendsftf2.c: Likewise.
5842 * soft-fp/fixdfdi.c: Likewise.
5843 * soft-fp/fixdfsi.c: Likewise.
5844 * soft-fp/fixsfdi.c: Likewise.
5845 * soft-fp/fixsfsi.c: Likewise.
5846 * soft-fp/fixtfdi.c: Likewise.
5847 * soft-fp/fixtfsi.c: Likewise.
5848 * soft-fp/fixunsdfdi.c: Likewise.
5849 * soft-fp/fixunsdfsi.c: Likewise.
5850 * soft-fp/fixunssfdi.c: Likewise.
5851 * soft-fp/fixunssfsi.c: Likewise.
5852 * soft-fp/fixunstfdi.c: Likewise.
5853 * soft-fp/fixunstfsi.c: Likewise.
5854 * soft-fp/floatdidf.c: Likewise.
5855 * soft-fp/floatdisf.c: Likewise.
5856 * soft-fp/floatditf.c: Likewise.
5857 * soft-fp/floatsidf.c: Likewise.
5858 * soft-fp/floatsisf.c: Likewise.
5859 * soft-fp/floatsitf.c: Likewise.
5860 * soft-fp/floatundidf.c: Likewise.
5861 * soft-fp/floatundisf.c: Likewise.
5862 * soft-fp/floatunditf.c: Likewise.
5863 * soft-fp/floatunsidf.c: Likewise.
5864 * soft-fp/floatunsisf.c: Likewise.
5865 * soft-fp/floatunsitf.c: Likewise.
5866 * soft-fp/gedf2.c: Likewise.
5867 * soft-fp/gesf2.c: Likewise.
5868 * soft-fp/getf2.c: Likewise.
5869 * soft-fp/ledf2.c: Likewise.
5870 * soft-fp/lesf2.c: Likewise.
5871 * soft-fp/letf2.c: Likewise.
5872 * soft-fp/muldf3.c: Likewise.
5873 * soft-fp/mulsf3.c: Likewise.
5874 * soft-fp/multf3.c: Likewise.
5875 * soft-fp/negdf2.c: Likewise.
5876 * soft-fp/negsf2.c: Likewise.
5877 * soft-fp/negtf2.c: Likewise.
5878 * soft-fp/op-1.h: Likewise.
5879 * soft-fp/op-2.h: Likewise.
5880 * soft-fp/op-4.h: Likewise.
5881 * soft-fp/op-8.h: Likewise.
5882 * soft-fp/op-common.h: Likewise.
5883 * soft-fp/quad.h: Likewise.
5884 * soft-fp/single.h: Likewise.
5885 * soft-fp/soft-fp.h: Likewise.
5886 * soft-fp/subdf3.c: Likewise.
5887 * soft-fp/subsf3.c: Likewise.
5888 * soft-fp/subtf3.c: Likewise.
5889 * soft-fp/truncdfsf2.c: Likewise.
5890 * soft-fp/trunctfdf2.c: Likewise.
5891 * soft-fp/trunctfsf2.c: Likewise.
5892 * soft-fp/unorddf2.c: Likewise.
5893 * soft-fp/unordsf2.c: Likewise.
5894 * soft-fp/unordtf2.c: Likewise.
5895 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
5896 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5897 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5898 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5899 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5900 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5901 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5902 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5903 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5904 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
5905 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
5906 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5907
0de86a92
JU
59082013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
5909
5910 * config/mips/lib2funcs.c: New file.
5911 * config/mips/t-mips (LIB2ADD_ST): Add it.
5912
0d008882
OE
59132013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
5914
5915 PR target/6526
5916 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
5917 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
5918
776434d1
WL
59192013-06-08 Walter Lee <walt@tilera.com>
5920
5921 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
5922 Replace int64_t with long long. Add __extension__ where
5923 appropriate.
5924 * config/tilepro/atomic.c: Include config.h.
5925
6ab3ebb4
DR
59262013-06-06 Douglas B Rupp <rupp@adacore.com>
5927
5928 * config.host (arm-wrs-vxworks): Configure with other soft float.
5929
107eea2c
JU
59302013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
5931
5932 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
5933 (mips64r5900el-*-elf*): New configurations.
5934
5cc19c62
AM
59352013-06-04 Alan Modra <amodra@gmail.com>
5936
5937 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
5938
0f1d3965
YR
59392013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
5940
5941 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
5942
0ba045df
EB
59432013-05-28 Eric Botcazou <ebotcazou@adacore.com>
5944
5945 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
5946 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
5947 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
5948
49dcafd4
EB
59492013-05-22 Eric Botcazou <ebotcazou@adacore.com>
5950
5951 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
5952 (powerpc-wrs-vxworks): Likewise.
5953
4fcb5d87
EB
59542013-05-22 Eric Botcazou <ebotcazou@adacore.com>
5955
5956 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
5957 signal frames as well.
5958 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
5959 STACK_BIAS to the CFA offset.
5960
0ec33224
RH
59612013-05-17 Richard Henderson <rth@redhat.com>
5962
5963 PR target/49146
5964 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
5965 (execute_cfa_program): Use it when storing to fs->regs.
5966
492a8029
KT
59672013-05-08 Kai Tietz <ktietz@redhat.com>
5968
5969 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
5970 (__deregister_frame_info): Likewise.
5971
701e2f0a
TS
59722013-05-06 Thomas Schwinge <thomas@codesourcery.com>
5973
e5123d08
TS
5974 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
5975 NaN's payload.
5976
701e2f0a
TS
5977 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
5978
b9a7eb5d
AM
59792013-04-25 Alan Modra <amodra@gmail.com>
5980
5981 * config.host: Match little-endian powerpc-linux.
5982
dfe192f5
YZ
59832013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
5984
5985 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
5986 as 'unsigned long long' instead of 'unsigned long'.
5987 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
5988 'signed long'.
5989
b6b9af2f
JB
59902013-04-10 Julian Brown <julian@codesourcery.com>
5991
5992 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
5993 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
5994 unsigned char/unsigned short.
5995 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
5996
ecabdd00
JDA
59972013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
5998
5999 PR other/55274
6000 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
6001
34652576
MI
60022013-04-04 Meador Inge <meadori@codesourcery.com>
6003
6004 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
6005 computing the location of the link register.
6006 (aeabi_uldivmod): Ditto.
6007
e9fd8c19
KT
60082013-03-27 Kai Tietz <ktietz@redhat.com>
6009
6010 * config.host: Add support for cygwin x64 target.
6011 * configure: Regenerated.
6012
a6406324
WL
60132013-03-26 Walter Lee <walt@tilera.com>
6014
6015 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
6016 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
6017
55446c7e
KT
60182013-03-25 Kai Tietz <ktietz@redhat.com>
6019
6020 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
6021
d2ae19d9
RM
60222013-03-20 Robert Mason <rbmj@verizon.net>
6023
6024 * config/vxlib-tls.c (__gthread_get_tsd_data,)
6025 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
6026 (__gthread_leave_tsd_dtor_context): Add prototypes.
6027 (tls_delete_hook): Update.
6028
22c4c869
CM
60292013-03-20 Catherine Moore <clm@codesourcery.com>
6030 Joseph Myers <joseph@codesourcery.com>
6031 Chao-ying Fu <fu@mips.com>
6032
6033 * config/mips/mips16.S: Don't build for microMIPS.
6034 * config/mips/linux-unwind.h: Handle microMIPS frame.
6035 * config/mips/crtn.S (fini, init): New labels.
6036
fbd28bc3
JJ
60372013-03-14 Jakub Jelinek <jakub@redhat.com>
6038
6039 PR tree-optimization/53265
6040 * unwind-dw2.c (execute_cfa_program): Avoid
6041 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
6042 on targets with DWARF_FRAME_REGISTERS < 32.
6043
decc676e
OE
60442013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
6045
6046 PR target/49880
6047 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
6048 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
6049
84ea618a
ST
60502013-03-07 Sriraman Tallam <tmsriram@google.com>
6051
6052 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
6053 sandybridge processors.
6054
8f6d1c86
OE
60552013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
6056
6057 PR target/56529
6058 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
6059 inclusion list.
6060
ecdbd01a 60612013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
409b1de4
EI
6062
6063 * config/microblaze/crti.S: Setup stack protection at entry
6064
0b4ce21b
GJL
60652013-03-04 Georg-Johann Lay <avr@gjlay.de>
6066
6067 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
6068 (__rotldi3): Shift bytewise if applicable.
6069
b7c3f1ca
JG
60702013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
6071
6072 * config/aarch64/sync-cache.c
6073 (__aarch64_sync_cache_range): Silence warnings.
6074
6d65e8f1
CM
60752013-02-25 Catherine Moore <clm@codesourcery.com>
6076
6077 Revert:
6078 2013-02-24 Catherine Moore <clm@codesourcery.com>
6079 Joseph Myers <joseph@codesourcery.com>
6080 Chao-ying Fu <fu@mips.com>
6081
6082 * config/mips/mips16.S: Don't build for microMIPS.
6083 * config/mips/linux-unwind.h: Handle microMIPS frame.
6084 * config/mips/crtn.S (fini, init): New labels.
6085
6941b508
CM
60862013-02-24 Catherine Moore <clm@codesourcery.com>
6087 Joseph Myers <joseph@codesourcery.com>
6088 Chao-ying Fu <fu@mips.com>
6089
6090 * config/mips/mips16.S: Don't build for microMIPS.
6091 * config/mips/linux-unwind.h: Handle microMIPS frame.
6092 * config/mips/crtn.S (fini, init): New labels.
6093
7c422dbb 60942012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
cc86234f 6095 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
7c422dbb
EI
6096 as dividend.
6097
110207ad
AM
60982013-02-16 Alan Modra <amodra@gmail.com>
6099
6100 PR target/55431
6101 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
6102 (ppc_fallback_frame_state): Always set up save locations for fp
6103 and altivec. Don't bother with non-callee-saved regs, r0-r13
6104 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
6105
e68a4ef6
GJL
61062013-02-12 Georg-Johann Lay <avr@gjlay.de>
6107
6108 PR target/54222
6109 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
6110 _ssmulHA, _ssmulSA.
6111 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
6112 _ssmulha3, _usmulusa3, _ssmulsa3.
6113 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
6114 (__muldi3): XCALL __muldi3_6 instead of rcall.
6115 (__umulsidi3, __mulsidi3): New functions.
6116 (do_prologue_saves, do_epilogue_restores): New .macros.
6117 (__divdi3_moddi3): Use them.
6118 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
6119 (__usmulusa3, __ssmulsa3): New functions.
6120
6c59ffd1
IS
61212013-02-11 Iain Sandoe <iain@codesourcery.com>
6122 Jack Howarth <howarth@bromo.med.uc.edu>
6123 Patrick Marlier <patrick.marlier@gmail.com>
6124
6125 PR libitm/55693
6126 * config/darwin-crt-tm.c: Remove dummy functions hack.
6127
85d768f3
GJL
61282013-02-08 Georg-Johann Lay <avr@gjlay.de>
6129
6130 PR target/54222
6131 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
6132 * config/avr/lib2-object.mk: New iterator to build objects from it.
6133 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
6134 lib2funcs.c.
6135 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
6136 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
6137 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
6138 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
6139 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
6140 * config/avr/lib1funcs-fixed.S: Implement them.
6141
5d5bf775
RS
61422013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
6143
6144 Update copyright years.
6145
99113dff
DE
61462013-02-01 David Edelsohn <dje.gcc@gmail.com>
6147
6148 PR target/54601
6149 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
6150 Add crtcxa to extra_parts.
6151 * config/rs6000/exit.h: New file.
6152 * config/rs6000/cxa_atexit.c: New file.
6153 * config/rs6000/cxa_finalize.c: New file.
6154 * config/rs6000/crtcxa.c: New file.
6155 * config/rs6000/t-aix-cxa: New file.
6156 * config/rs6000/libgcc-aix-cxa.ver: New file.
6157
dbdbd982
NC
61582013-01-31 Nick Clifton <nickc@redhat.com>
6159
6160 * config/v850/lib1funcs.S: Add support for e3v5 architecture
6161 variant.
6162
5893f158
GJL
61632013-01-29 Georg-Johann Lay <avr@gjlay.de>
6164
6165 PR target/54222
6166 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
6167 _mulQQ, _mulHQ, _mulHA, _mulSA,
6168 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
6169 _divQQ, _divHQ, _divHA, _divSA,
6170 _divUQQ, _divUHQ, _divUHA, _divUSA.
6171
ecdbd01a 61722013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
fbf0cf90 6173
dbdbd982 6174 * config.host(microblaze*-linux*): tmake_file: Remove
fbf0cf90
DH
6175 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
6176 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
6177 to exclude functions from being built with libgcc.c and use
6178 the microblaze assembly.
6179
ecdbd01a 61802013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
6f14eef2
EI
6181
6182 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
6183 extra_parts.
6184
922c57d1
YZ
61852013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
6186
6187 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
6188 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
6189 __UINTPTR_TYPE__; also cast 'base' to the same type before the
6190 alignment operation.
6191
e0f8b6a0
SN
61922013-01-15 Sofiane Naci <sofiane.naci@arm.com>
6193
6194 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
6195 loop start address for cache clearing.
6196
00892272
GJL
61972013-01-14 Georg-Johann Lay <avr@gjlay.de>
6198
6199 * config/avr/lib1funcs.S: Remove trailing blanks.
6200 * config/avr/lib1funcs-fixed.S: Ditto.
6201
e59ec5fd
GJL
62022013-01-14 Georg-Johann Lay <avr@gjlay.de>
6203
6204 * config/avr/avr-lib.h: Add GPL copyright notice.
6205
3ffc1958
GJL
62062013-01-14 Georg-Johann Lay <avr@gjlay.de>
6207
6208 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
6209 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
6210 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
6211 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
6212
25c210f9
MK
62132013-01-07 Mark Kettenis <kettenis@openbsd.org>
6214
6215 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
6216 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
2bc15360 6217
db59befb
NC
62182013-01-04 Nick Clifton <nickc@redhat.com>
6219
6220 * config/v850/lib1funcs.S: Only provide CALLT support functions if
6221 the CALLT instruction is supported.
6222
5aa12dbf
JW
62232012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
6224
6225 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
6226 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
6227
65f14117
JT
62282012-12-13 John Tytgat <John@bass-software.com>
6229
6230 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
6231 is 25.
6232
ee3ae4f7
JJ
62332012-12-12 Jakub Jelinek <jakub@redhat.com>
6234
6235 PR libgcc/55451
6236 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
6237 undefined signed overflows.
6238
2fcfba3d
UB
62392012-12-09 Uros Bizjak <ubizjak@gmail.com>
6240
6241 PR target/55344
6242 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
6243
4f2b3dc2
UB
62442012-12-06 Uros Bizjak <ubizjak@gmail.com>
6245
6246 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
6247 (FP_TRAPPING_EXCEPTIONS): Define.
6248 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
6249 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
6250
066161a2
RH
62512012-12-04 Richard Henderson <rth@redhat.com>
6252
6253 PR bootstrap/55571
6254 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
6255
7d296953 62562012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
25626181 6257
4f2b3dc2 6258 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
25626181
MS
6259 (FP_EX_SHIFT): Define.
6260 (FP_TRAPPING_EXCEPTIONS): Define.
6261
7d296953 62622012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
868395e8
MS
6263
6264 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
6265 (FP_ROUNDMODE): Use FP_RND_MASK.
6266 * config/aarch64/sfp-exceptions.c: New.
6267 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
6268 Use __sfp_handle_exceptions.
6269
5005fe22
RE
62702012-12-04 Richard Earnshaw <rearnsha@arm.com>
6271
6272 * config.host: (arm*-*-freebsd*): Remove.
6273 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
6274 (arm*-*-elf*): Remove.
6275 (arm*-*-wince-pe*): Remove.
6276 * arm/unwind-arm.c (struct fpa_reg): Delete.
6277 (struct fpa_regs): Delete.
6278 (phase1_vrs): Remove fpa element.
6279 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
6280 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
6281 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
6282 * ieee754-sf.S (floatundisf): Remove FPA support.
6283 (floatdisf): Likewise.
6284 * ieee75f-df.S (floatundidf): Likewise.
6285 (floatdidf): Likewise.
6286
e5a81c8e
KT
62872012-11-29 Kai Tietz <ktietz@redhat.com>
6288
6289 PR target/55445
6290 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
6291 * unwind-generic.h: Likewise.
6292 * unwind-seh.c: Likewise.
6293
f4919e4a
RH
62942012-11-28 Richard Henderson <rth@redhat.com>
6295
6296 PR libgcc/48076
6297 * emutls.c (__emutls_get_address): Avoid race condition between
6298 obj->loc.offset read and emutls_key initialization.
4f2b3dc2 6299
e13d9d5a
GJL
63002012-11-22 Georg-Johann Lay <avr@gjlay.de>
6301
6302 Adjust decimal point of signed accum mode to GCC default.
6303
6304 PR target/54222
6305 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
6306 _divqq_helper.
6307 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
6308 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
6309 (__mulha3, __mulsa3)
6310 (__divqq3, __divha3, __divsa3): Adjust to new position of
4f2b3dc2
UB
6311 decimal point of signed accum types.
6312
e13d9d5a
GJL
6313 (__mulusa3_round): New function.
6314 (__mulusa3): Use it.
6315 (__divqq_helper): New function.
6316 (__udivuqq3): Use it.
6317
1b845c6e
JJ
63182012-11-20 Jakub Jelinek <jakub@redhat.com>
6319
6320 PR bootstrap/55370
6321 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
6322
822a258a
TJ
63232012-11-18 Teresa Johnson <tejohnson@google.com>
6324
6325 PR bootstrap/55051
6326 * libgcov.c (gcov_exit): Remove merged program summary
6327 comparison unless !GCOV_LOCKED.
6328
7d296953 63292012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
54f4eaf0
MS
6330
6331 * soft-fp: Updated from glibc upstream.
6332
e808687a
ILT
63332012-11-06 Ian Lance Taylor <iant@google.com>
6334
6335 * generic-morestack.c (__generic_morestack): Align the returned
6336 stack pointer to a 32 byte boundary.
6337 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
6338 increment the return address until we have decided that we don't
6339 have a varargs function.
6340 (__morestack) [32-bit]: Align stack correctly when calling C
6341 functions.
6342 (__morestack) [64-bit]: Likewise.
6343
460277e0
TS
63442012-11-04 Thomas Schwinge <thomas@codesourcery.com>
6345
6346 * configure: Regenerate.
6347
73edb277
UB
63482012-11-02 Uros Bizjak <ubizjak@gmail.com>
6349
6350 PR target/55175
6351 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
6352 * config/i386/sfp-machine.h: Guard exception handling
6353 code with _SOFT_FLOAT.
6354 * config/i386/32/sfp-machine.h: Guard rounding handling
6355 code with _SOFT_FLOAT.
6356 * config/i386/64/sfp-machine.h: Ditto.
6357
c1d4fa04
JS
63582012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
6359
6360 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
6361 as extra_parts.
6362
eff6ca85
UB
63632012-10-26 Uros Bizjak <ubizjak@gmail.com>
6364
6365 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
6366 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
6367 when appropriate. Correct structure element types.
6368 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
6369 -minline-all-stringops from compile flags.
6370
7d296953 63712012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
43a8f1a1
RC
6372
6373 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
6374
7d296953 63752012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
76c78361 6376
eff6ca85 6377 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
76c78361 6378
6f288860
SH
63792012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
6380
6381 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
6382 tmake_file.
6383
1e3d5096
IB
63842012-10-23 Ian Bolton <ian.bolton@arm.com>
6385 Jim MacArthur <jim.macarthur@arm.com>
6386 Marcus Shawcroft <marcus.shawcroft@arm.com>
6387 Nigel Stephens <nigel.stephens@arm.com>
6388 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
6389 Richard Earnshaw <rearnsha@arm.com>
6390 Sofiane Naci <sofiane.naci@arm.com>
6391 Stephen Thomas <stephen.thomas@arm.com>
6392 Tejas Belagod <tejas.belagod@arm.com>
6393 Yufeng Zhang <yufeng.zhang@arm.com>
6394
6395 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
6396 * config/aarch64/crti.S: New file.
6397 * config/aarch64/crtn.S: New file.
6398 * config/aarch64/linux-unwind.h: New file.
6399 * config/aarch64/sfp-machine.h: New file.
6400 * config/aarch64/sync-cache.c: New file.
6401 * config/aarch64/t-aarch64: New file.
6402 * config/aarch64/t-softfp: New file.
6403
8a740f07
HPN
64042012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
6405
6406 * config/mmix/crti.S: Mark program and data addresses using PRELD.
6407 Remove typo'd and unnecessary alignment-LOC for .data. Remove
6408 no-longer-needed LDBU insns.
6409
7d296953 64102012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
153c8397
SH
6411
6412 * config.host
6413 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
6414 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
6415
595fefee
MGD
64162012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
6417
6418 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
6419
9945a876
MK
64202012-10-15 Matthias Klose <doko@ubuntu.com>
6421
6422 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
6423
1183dc2c
PC
64242012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
6425
6426 * configure: Regenerate.
6427 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
6428
945a9c1f
UB
64292012-10-10 Uros Bizjak <ubizjak@gmail.com>
6430
6431 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
6432 instructions for 64bit targets only.
6433
fb8bf47a
UB
64342012-10-10 Uros Bizjak <ubizjak@gmail.com>
6435
6436 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
6437 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
6438 * config/i386/32/sfp-machine.h: ... here.
6439 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
6440 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
6441 New defines.
6442
acb72498
MK
64432012-10-07 Matthias Klose <doko@ubuntu.com>
6444
6445 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
6446 as unused.
6447 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
6448
8eaee0f0
MK
64492012-10-06 Mark Kettenis <kettenis@openbsd.org>
6450
6451 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
6452 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
6453 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
6454 (ElfW): Likewise.
6455
5e3e4fe8
JW
64562012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
6457
6458 PR other/53889
6459 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
6460 Fix parameter names.
6461
86086376
OE
64622012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
6463
6464 PR target/33135
6465 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
6466 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
6467 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
6468
9597375a
OE
64692012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
6470
6471 PR target/50457
6472 * config/sh/linux-atomic.S: Delete.
6473 * config/sh/linux-atomic.c: New.
6474 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
6475 linux-atomic.c. Add cflags to disable warnings.
6476
1504e3e1
JW
64772012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
6478
6479 PR other/53889
6480 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
6481 function.
6482 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
6483 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
6484 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
6485 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
5e3e4fe8
JW
6486 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
6487 Likewise.
1504e3e1
JW
6488 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
6489 Likewise.
6490 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
6491 Likewise.
6492 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
6493 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
6494
17f293b0
MK
64952012-09-19 Mark Kettenis <kettenis@openbsd.org>
6496
9597375a
OE
6497 * config.host (hppa-*-openbsd*): New target.
6498 * config/pa/t-openbsd: New file.
17f293b0 6499
51526856
GJL
65002012-09-15 Georg-Johann Lay <avr@gjlay.de>
6501
6502 PR target/54222
6503 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
6504 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
6505 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
6506 (__divsa3): Use __negsi2 to negate r_quoL.
6507 * config/avr/lib1funcs.S (FALIAS): New macro.
6508 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
6509 (__negsi2): ...this new function.
6510 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
6511 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
6512 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
6513 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
6514 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
6515 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
6516
aadb5b43
OE
65172012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
6518
6519 PR target/54089
6520 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
6521 (lshrsi3): Reimplement as lshrsi3_r0.
6522
d5d66749
AS
65232012-09-10 Andreas Schwab <schwab@linux-m68k.org>
6524
6525 PR target/46191
6526 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
6527 of libgcc.a.
6528
c6c36e73
TJ
65292012-09-07 Teresa Johnson <tejohnson@google.com>
6530
9597375a 6531 PR gcov-profile/54487
c6c36e73 6532 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
9597375a 6533 differences.
c6c36e73 6534
b588ae30
GJL
65352012-09-05 Georg-Johann Lay <avr@gjlay.de>
6536
6537 PR target/54461
6538 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
6539 not configured --with-avrlibc=no.
6540 * config/avr/t-avrlibc: New file.
6541 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
6542 (DPBIT_FUNCS): Ditto.
6543 (TPBIT_FUNCS): Ditto.
6544
abd16fb1
TJ
65452012-09-04 Teresa Johnson <tejohnson@google.com>
6546
6547 * libgcov.c (struct gcov_summary_buffer): New structure.
6548 (gcov_histogram_insert): New function.
6549 (gcov_compute_histogram): Ditto.
6550 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
6551 histograms during summary merging.
6552
613061fd
MK
65532012-09-01 Mark Kettenis <kettenis@openbsd.org>
6554
6555 * config.host (x86_64-*-openbsd*): New target.
73edb277 6556
867a8345
CLT
65572012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
6558
6559 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
6560 attribute.
6561
4aeaaca3
GJL
65622012-08-24 Georg-Johann Lay <avr@gjlay.de>
6563
6564 PR target/54222
6565 * config/avr/t-avr (conv_X): Rename to func_X.
6566
e55e4056
GJL
65672012-08-24 Georg-Johann Lay <avr@gjlay.de>
6568
6569 PR target/54222
6570 * config/avr/lib1funcs-fixed.S: New file.
6571 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
6572 after they are used.
6573 (neg2, neg4): New macros.
6574 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
6575 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
6576 (__umulhisi3): Speed up MUL variant if there is enough flash.
6577 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
6578 avr-modes.def.
6579 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
6580 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
6581 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
6582 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
6583 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
6584 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
6585 (LIB2FUNCS_EXCLUDE): Add supported functions.
6586
a147b6d2
GJL
65872012-08-22 Georg-Johann Lay <avr@gjlay.de>
6588
6589 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
6590 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
6591 libgcc-s-objects.
6592 * fixed-obj.mk: Only expand dependency if $o is not in
6593 LIB2FUNCS_EXCLUDE.
6594
c637141a
L
65952012-08-22 H.J. Lu <hongjiu.lu@intel.com>
6596
6597 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
6598
130e00bd
JM
65992012-08-22 Joseph Myers <joseph@codesourcery.com>
6600
6601 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
6602 depend on --enable-shared.
6603 ($(lib1asmfuncs-o)): Use %.vis files independent of
6604 --enable-shared.
6605 * static-object.mk ($(base)$(objext), $(base).vis)
6606 ($(base)_s$(objext)): Use same rules for visibility handling as in
6607 shared-object.mk.
6608
4b1b3788
ILT
66092012-08-21 Ian Lance Taylor <iant@google.com>
6610
6611 * config/i386/morestack.S (__morestack_non_split): Increase amount
6612 of space allocated for non-split code stack.
6613
d2468141
JM
66142012-08-19 Joseph Myers <joseph@codesourcery.com>
6615
6616 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
6617 even if inhibit_libc.
6618
a508e1a8
JB
66192012-08-17 Julian Brown <julian@codesourcery.com>
6620
6621 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
6622 -fexceptions -fnon-call-exceptions if not defined.
6623 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
6624 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
6625
5615a07d
AS
66262012-08-17 Andreas Schwab <schwab@linux-m68k.org>
6627
6628 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
6629 type.
6630
138f5acd
DE
66312012-08-16 David Edelsohn <dje.gcc@gmail.com>
6632
6633 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
6634 rs6000/t-slibgcc-aix.
6635
18efc0dd
SB
66362012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
6637
6638 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
6639
6b39bc38
SB
66402012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
6641
6642 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
6643
cd25dea0
L
66442012-08-03 H.J. Lu <hongjiu.lu@intel.com>
6645
6646 PR driver/54171
6647 * Makefile.in (version): Replace top_srcdir with srcdir.
6648
a3dda30b
JY
66492012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
6650
6651 * Makefile.in (version): set to BASE-VER file from gcc directory.
6652
d04aacfc
NC
66532012-08-01 Nick Clifton <nickc@redhat.com>
6654
6655 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
6656 Implements __clrsb for an HImode argument.
6657
0d13c974
NC
66582012-07-31 Nick Clifton <nickc@redhat.com>
6659
6660 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
6661 Implements __clrsb for an HImode argument.
6662 * config/stormy16/clrsbhi2.c: New file:
6663 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
6664
efbb59b2
SB
66652012-07-22 Steven Bosscher <steven@gcc.gnu.org>
6666
6667 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
6668
bf1431e3
TG
66692012-07-19 Tristan Gingold <gingold@adacore.com>
6670 Richard Henderson <rth@redhat.com>
6671
6672 * unwind-seh.c: New file.
6673 * unwind-generic.h: Include windows.h for SEH.
6674 (_Unwind_Exception): Use 6 private fields for SEH.
6675 (_GCC_specific_handler): Declare.
6676 * unwind-c.c (__gcc_personality_seh0): New function.
6677 Adjust for SEH.
6678 * config/i386/libgcc-cygming.ver: New file.
6679 * config/i386/t-seh-eh: New file.
6680 * config.host (x86_64-*-mingw*): Default to seh.
6681
659140c8
SB
66822012-07-14 Steven Bosscher <steven@gcc.gnu.org>
6683
6684 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
6685
a20d08fd
UB
66862012-06-17 Uros Bizjak <ubizjak@gmail.com>
6687
6688 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
6689 __builtin_expect when checking for exceptions.
6690 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
6691
79261115
UB
66922012-06-13 Uros Bizjak <ubizjak@gmail.com>
6693
4a172156
UB
6694 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
6695 function declaration.
6696 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
6697 (FP_RND_MASK): New.
6698 * config/ia64/sfp-exceptions.c: New.
6699 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
79261115 6700
bb5c97d4
UB
67012012-06-13 Uros Bizjak <ubizjak@gmail.com>
6702
6703 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
6704 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
6705 * config/i386/64/sfp-machine: ... (delete here) ...
6706 * config/i386/sfp-machine.h: ... to here.
6707 (FP_EX_MASK): Remove.
6708 (FP_RND_MASK): New.
6709 (FP_INIT_ROUNDMODE): Declare asm as volatile.
6710
91fe5efb
ST
67112012-06-11 Sriraman Tallam <tmsriram@google.com>
6712
6713 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
6714 * config/i386/libgcc-sol2.ver: Ditto.
6715 * config/i386/libgcc-glibc.ver: Ditto.
6716
67a218c5
RM
67172012-06-11 Roland McGrath <mcgrathr@google.com>
6718
6719 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
6720 If __GLIBC__ is defined, refer to __pthread_key_create instead of
6721 pthread_cancel.
6722
492fbea1
UB
67232012-06-09 Uros Bizjak <ubizjak@gmail.com>
6724
6725 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
6726 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
6727 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
6728 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
6729 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
6730 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
6731 * config/i386/64/sfp-machine: ... (delete here) ...
6732 * config/i386/sfp-machine.h: ... to here.
6733 (FP_EX_MASK): New.
6734 (__sfp_handle_exceptions): New function declaration.
6735 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
6736 * config/i386/sfp-exceptions.c: New.
6737 * config/i386/t-softfp: New.
6738 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
6739 i386/t-softfp to tmake_file.
6740
7b4cf266
DM
67412012-06-03 David S. Miller <davem@davemloft.net>
6742
6743 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
6744 change.
6745
0de0d5c6
DM
67462012-05-31 David S. Miller <davem@davemloft.net>
6747
6748 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
6749 multiply and divide instructions on 32-bit when V9.
6750 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
6751
d8c9d391
JM
67522012-05-29 Joseph Myers <joseph@codesourcery.com>
6753
6754 * config/arm/ieee754-df.S: Fix typos.
6755 * config/arm/ieee754-sf.S: Fix typos.
6756 * config/c6x/libunwind.S: Fix typos.
6757 * config/epiphany/udivsi3-float.c: Fix typos.
6758 * config/microblaze/muldi3_hard.S: Fix typos.
6759 * config/picochip/adddi3.S: Fix typos.
6760 * config/picochip/ashlsi3.S: Fix typos.
6761 * config/picochip/ashrsi3.S: Fix typos.
6762 * config/picochip/clzsi2.S: Fix typos.
6763 * config/picochip/cmpsi2.S: Fix typos.
6764 * config/picochip/divmod15.S: Fix typos.
6765 * config/picochip/divmodhi4.S: Fix typos.
6766 * config/picochip/divmodsi4.S: Fix typos.
6767 * config/picochip/longjmp.S: Fix typos.
6768 * config/picochip/lshrsi3.S: Fix typos.
6769 * config/picochip/parityhi2.S: Fix typos.
6770 * config/picochip/popcounthi2.S: Fix typos.
6771 * config/picochip/setjmp.S: Fix typos.
6772 * config/picochip/subdi3.S: Fix typos.
6773 * config/picochip/ucmpsi2.S: Fix typos.
6774 * config/picochip/udivmodhi4.S: Fix typos.
6775 * config/picochip/udivmodsi4.S: Fix typos.
6776 * config/spu/divv2df3.c: Fix typos.
6777 * config/spu/mfc_multi_tag_release.c: Fix typos.
6778 * config/spu/mfc_tag_release.c: Fix typos.
6779 * configure.ac: Fix typos.
6780 * configure: Regenerate.
6781
31a18a7e
ILT
67822012-05-25 Ian Lance Taylor <iant@google.com>
6783
6784 * config/i386/morestack.S (__morestack_non_split): Check whether
6785 caller is varargs and needs %bp to hold the stack frame on return.
6786
c5768510
OH
67872012-05-25 Olivier Hainque <hainque@adacore.com>
6788
6789 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
6790 sequence in the non pic case on VxWorks.
6791
7c7c339b
OH
67922012-05-24 Olivier Hainque <hainque@adacore.com>
6793
73fb7630 6794 * Makefile.in: Move dependency on install-unwind_h from
7c7c339b
OH
6795 "install-leaf" to "install".
6796
fdc1b7d3
OH
67972012-05-24 Olivier Hainque <hainque@adacore.com>
6798
6799 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
6800 Use a separate command for stamp removals.
6801
07ba94b9
AP
68022012-05-21 Andrew Pinski <apinski@cavium.com>
6803
6804 PR bootstrap/53183
6805 * configure.ac: Define the default includes to being none.
6806 * configure: Regenerate.
6807
4677d2eb
OH
68082012-05-16 Olivier Hainque <hainque@adacore.com>
6809
6810 * Makefile.in (install-unwind_h): Rename into ...
6811 (install-unwind_h-forbuild): New target.
6812 (all): Use it instead of the former install-unwind_h.
6813 (install-unwind_h): Reinstate, copy to user install destination
6814 for include files, not to the internal gcc object directory one.
6815 (install-leaf): Depend on it.
6816
7d67c380
OH
68172012-05-15 Olivier Hainque <hainque@adacore.com>
6818
6819 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
6820 register numbers. LR_REGNO replaces R_LR.
6821 (ucontext_for): New, helper for ...
6822 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
6823 and 5.3 of ...
6824 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
6825
aca06c90
RO
68262012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6827
6828 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
6829 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
6830 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
6831 i386/t-cpuinfo ...
6832 (i[34567]86-*-*, x86_64-*-*): ... here.
6833
6834 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
6835 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
6836
6837 * config/i386/i386-cpuinfo.c: Rename to ...
6838 * config/i386/cpuinfo.c: ... this.
6839 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
6840
6841 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
6842 (libgcc_cv_init_priority): New test.
6843 * configure: Regenerate.
6844 * config.in: New file.
6845 * Makefile.in (clean): Rename config.h to auto-target.h.
6846 (config.h): Likewise.
6847 (stamp-h): Likewise.
6848
6849 * config/i386/cpuinfo.c (auto-target.h): Include.
6850 (CONSTRUCTOR_PRIORITY): Define.
6851 (__cpu_indicator_init): Use it.
6852
0d03ac1b
L
68532012-05-09 H.J. Lu <hongjiu.lu@intel.com>
6854
6855 * longlong.h: Use a URL instead of an FSF postal address.
6856 Replace spaces with tab.
6857
4a172156 68582012-05-08 Teresa Johnson <tejohnson@google.com>
4e8ee9cb
TJ
6859
6860 * libgcov.c (gcov_clear, __gcov_reset): New functions.
6861 (__gcov_dump): Ditto.
6862 (gcov_dump_complete): New global variable.
6863 (gcov_exit): Export hidden to enable use in L_gcov_dump.
6864 (__gcov_flush): Outline functionality now in gcov_clear.
6865 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
6866
e4bb767e
AJ
68672012-04-28 Aurelien Jarno <aurelien@aurel32.net>
6868
31a18a7e
ILT
6869 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
6870 (mips*-*-linux*): Include mips/t-tpbit when long double is
6871 16 bytes long.
e4bb767e 6872
5ddecff9
ST
68732012-04-25 Sriraman Tallam <tmsriram@google.com>
6874
6875 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
6876 (get_available_features): New argument. Check for AVX2.
6877 (__cpu_indicator_init): Modify call to get_available_features.
6878
b427dd7a
AM
68792012-04-25 Alan Modra <amodra@gmail.com>
6880
6881 * config/rs6000/crtsavevr.S: New file.
6882 * config/rs6000/crtrestvr.S: New file.
6883 * config/rs6000/t-savresfgpr: Build the above.
6884 * config/rs6000/t-netbsd: Likewise.
6885
ad491329
ST
68862012-04-24 Sriraman Tallam <tmsriram@google.com>
6887
6888 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
6889
792317cc
ST
68902012-04-24 Sriraman Tallam <tmsriram@google.com>
6891
6892 * libgcc/config/i386/i386-cpuinfo.c: New file.
6893 * libgcc/config/i386/t-cpuinfo: New file.
6894 * libgcc/config.host: Include t-cpuinfo.
6895 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
6896
e1be98a4
CF
68972012-04-24 Chao-ying Fu <fu@mips.com>
6898
6899 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
6900
1bde7dab
TS
69012012-04-20 Thomas Schwinge <thomas@codesourcery.com>
6902
6903 struct siginfo vs. siginfo_t
6904
6905 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
6906 siginfo_t instead of struct siginfo.
6907 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
6908 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
6909 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
6910 (ia64_handle_unwabi): Likewise.
6911 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
6912 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
6913 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
6914 (sh_fallback_frame_state): Likewise.
6915 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
6916 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
6917
24590f66
L
69182012-04-02 H.J. Lu <hongjiu.lu@intel.com>
6919
6920 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
6921 system call number.
6922
9a9dcce8
EB
69232012-03-31 Eric Botcazou <ebotcazou@adacore.com>
6924
6925 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
6926 if it hasn't been previously saved.
6927
6401aaf5
L
69282012-03-29 H.J. Lu <hongjiu.lu@intel.com>
6929
6930 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
6931 only for glibc.
6932
7fd6378e
GJL
69332012-03-28 Georg-Johann Lay <avr@gjlay.de>
6934
6935 PR target/52737
6936 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
6937 instead of __AVR_HAVE_8BIT_SP__.
6938
9e916de7
TG
69392012-03-26 Tristan Gingold <gingold@adacore.com>
6940
6941 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
6942 (unw_table_entry): Use unw_word instead of unsigned long.
6943 (_Unwind_FindTableEntry): Likewise.
6944 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
6945 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
6946 (_Unwind_FindTableEntry): Likewise.
6947 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
6948 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
6949 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
6950 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
6951 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
6952 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
6953 (uw_init_context_1, uw_install_context): Likewise.
6954 (unw_word): Move to unwind-ia64.h
6955
4b12e93d
TG
69562012-03-26 Tristan Gingold <gingold@adacore.com>
6957
6958 * config/vms/vms-ucrt0.c: Update copyright years.
6959 Add a sanity check.
6960 (___gcc_main_flags): Declare.
6961 (__main): Check flags to remap argv and exit code.
6962 * config.host (*-*-*vms*): Adjust extra_parts.
6963 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
6964 (crt0.o): Add.
6965
06ea7371
RE
69662012-03-22 Richard Earnshaw <rearnsha@arm.com>
6967
6968 * arm/lib1funcs.asm (ctzsi2): New function.
6969 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
6970 * arm/t-linux (LIB1ASMFUNCS): Likewise.
6971 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
6972 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
6973 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
6974 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
6975
d82ad50d
AT
69762012-03-21 Andreas Tobler <andreast@fgznet.ch>
6977
6978 * config.host: Add bits to support powerpc64-*-freebsd*.
6979 * config/rs6000/freebsd-unwind.h: New file.
6980 * config/rs6000/t-freebsd64: New file.
6981
b260a8c0
RG
69822012-03-20 Richard Guenther <rguenther@suse.de>
6983
6984 PR gcov-profile/52627
6985 * libgcov.c (init_mx): Fix mutex name.
6986
86286a8a
TG
69872012-03-16 Tristan Gingold <gingold@adacore.com>
6988
6989 * config/ia64/vms-unwind.h: Remove ulong (and replace
6990 it by unw_reg where used). Define unw_reg with __int64.
6991
7888f266
RO
69922012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6993
6994 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
6995 Solaris 8 handling.
6996 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
6997 Solaris 8 handling.
6998 (sparc_is_sighandler): Likewise.
6999
f155bc64
L
70002012-03-13 H.J. Lu <hongjiu.lu@intel.com>
7001
7002 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
7003 <= saved reg size.
7004
d47657bd
RO
70052012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7006
7007 * config/arm/crtn.S: Fix typo.
7008
5bef73a1
RG
70092012-03-13 Richard Guenther <rguenther@suse.de>
7010
7011 * libgcov.c: Remove stdio.h include and NULL un-define.
7012
9c4271f3
RG
70132012-03-13 Richard Guenther <rguenther@suse.de>
7014
7015 PR target/52569
7016 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
7017
c6d10e7c
RG
70182012-03-13 Richard Guenther <rguenther@suse.de>
7019
7020 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
7021
074a385f
RG
70222012-03-13 Richard Guenther <rguenther@suse.de>
7023
7024 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
7025 and __gthread_mutex_init_function definitions.
7026
c4bc5c25
RO
70272012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7028
7029 * config.host (mips*-*-openbsd*): Remove.
7030
5c30094f
RO
70312012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7032
7033 * config.host: Remove alpha*-dec-osf5.1* handling.
7034 * config/alpha/gthr-posix.c: Remove.
7035 * config/alpha/libgcc-osf5.ver: Remove.
7036 * config/alpha/osf5-unwind.h: Remove.
7037 * config/alpha/t-osf-pthread: Remove.
7038 * config/alpha/t-slibgcc-osf: Remove.
7039 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
7040 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
7041 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
7042 * mkmap-flat.awk: Remove osf_export handling.
7043
33e3e24d
RG
70442012-03-12 Richard Guenther <rguenther@suse.de>
7045
7046 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
7047 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
7048 (__gthread_mutex_init_function): New function.
7049 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
7050
7051 PR gcov/49484
7052 * libgcov.c: Include gthr.h.
7053 (__gcov_flush_mx): New global variable.
7054 (init_mx, init_mx_once): New functions.
7055 (__gcov_flush): Protect self with a mutex.
7056 (__gcov_fork): Re-initialize mutex after forking.
7057 * unwind-dw2-fde.c: Change condition under which to use
7058 __GTHREAD_MUTEX_INIT_FUNCTION.
7059
d8aba32a
TG
70602012-03-12 Tristan Gingold <gingold@adacore.com>
7061
7062 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
7063 * config/ia64/t-vms: Likewise.
7064
75ffafdc
MH
70652012-03-11 Michael Hope <michael.hope@linaro.org>
7066
4a172156
UB
7067 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
7068 for Thumb-2.
75ffafdc 7069
ef6c2c53
WL
70702012-03-07 Walter Lee <walt@tilera.com>
7071
7072 * config/tilepro/atomic.c: Rename "atomic_" prefix to
7073 "arch_atomic_".
7074 (atomic_xor): Rename and move definition to
7075 config/tilepro/atomic.h.
7076 (atomic_nand): Ditto.
7077 * config/tilepro/atomic.h: Rename "atomic_" prefix to
7078 "arch_atomic_".
7079 (arch_atomic_xor): Move from config/tilepro/atomic.c.
7080 (arch_atomic_nand): Ditto.
7081
4e30d980
GJL
70822012-03-07 Georg-Johann Lay <avr@gjlay.de>
7083
7084 PR target/52507
7085 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
7086
61108225
GJL
70872012-03-07 Georg-Johann Lay <avr@gjlay.de>
7088
7089 PR target/52505
7090 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
7091 from RAM.
7092
b30e10ab
GJL
70932012-03-07 Georg-Johann Lay <avr@gjlay.de>
7094
7095 PR target/52461
7096 PR target/52508
7097 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
7098 if RAMPZ affects reading from RAM.
7099 (__tablejump_elpm__): Ditto.
7100 (.xload): Ditto.
7101 (__movmemx_hi): Ditto.
7102 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
7103 (__do_global_dtors): Ditto.
7104 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
7105 (__movmemx_hi): Ditto.
7106
8993fde4
RH
71072012-03-05 Richard Henderson <rth@redhat.com>
7108
7109 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
7110 [ARM] (count_trailing_zeros): Use the builtin.
7111
b7633ee3
KT
71122012-03-01 Kai Tietz <ktietz@redhat.com>
7113
7114 * soft-fp: Imported from glibc upstream.
7115
fbd3340c
KT
71162012-02-28 Kai Tietz <ktietz@redhat.com>
7117
7118 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
7119 for mingw-targets as attribute gcc_struct.
7120
e9e053eb
ILT
71212012-02-28 Ian Lance Taylor <iant@google.com>
7122
7123 * generic-morestack.c (__splitstack_releasecontext): Correct call
7124 to __morestack_release_segments.
7125
d80c632e
ST
71262012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
7127
7128 PR target/52390
7129 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
7130 for __linux__ when removing signals from __morestack_fullmask.
7131
0253a8b1
GJL
71322012-02-23 Georg-Johann Lay <avr@gjlay.de>
7133
7134 PR target/52261
7135 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
7136
e10e461e
UW
71372012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7138
7139 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
7140 instead of HAVE_INITFINI_ARRAY.
7141 * config/ia64/crtend.S: Likewise.
7142
0c0c6398
KT
71432012-02-20 Kai Tietz <ktietz@redhat.com>
7144
d7470374
KT
7145 PR libstdc++/52300
7146 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
7147
0c0c6398
KT
7148 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
7149 to w32-unwind.h header.
7150
78c27266
RS
71512012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
7152
7153 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
7154 (mips*-*-linux*): Remove t-slibgcc-libgcc.
7155 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
7156 * config/mips/mips16.S (__mips16_rdhwr): Delete.
7157
5adeb246
RS
71582012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
7159
7160 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
7161
672ed313
IS
71622012-02-15 Iain Sandoe <iains@gcc.gnu.org>
7163
7164 PR libitm/52220
7165 * config/darwin-crt-tm.c: Correct typo.
e9e053eb 7166
e948a1fb
IS
71672012-02-15 Iain Sandoe <iains@gcc.gnu.org>
7168 Patrick Marlier <patrick.marlier@gmail.com>
7169
7170 PR libitm/52220
7171 * config/darwin-crt-tm.c: Generate dummy functions.
7172
6017aed3
IS
71732012-02-15 Iain Sandoe <iains@gcc.gnu.org>
7174 Patrick Marlier <patrick.marlier@gmail.com>
7175
7176 PR libitm/52042
7177 * config/darwin-crt-tm.c (getTMCloneTable): New function.
7178 (__doTMRegistrations): Call it.
e9e053eb 7179 (__doTMdeRegistrations): Likewise.
6017aed3 7180
2da8c1ad 71812012-01-15 Georg-Johann Lay <avr@gjlay.de>
7d296953
JJ
7182 Anatoly Sokolov <aesok@post.ru>
7183 Eric Weddington <eric.weddington@atmel.com>
2da8c1ad
GJL
7184
7185 PR target/52261
7186 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
7187 (__epilogue_restores__): Ditto.
7188
0f952eb4
EB
71892012-02-15 Eric Botcazou <ebotcazou@adacore.com>
7190
7191 PR target/51921
7192 PR target/52205
7193 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
7194 Solaris 11 and slightly reformat.
7195 (sparc_is_sighandler): Likewise.
7196
dd552284
WL
71972012-02-14 Walter Lee <walt@tilera.com>
7198
7199 * config.host: Handle tilegx and tilepro.
7200 * config/tilegx/sfp-machine.h: New file.
7201 * config/tilegx/sfp-machine32.h: New file.
7202 * config/tilegx/sfp-machine64.h: New file.
7203 * config/tilegx/t-crtstuff: New file.
7204 * config/tilegx/t-softfp: New file.
7205 * config/tilegx/t-tilegx: New file.
7206 * config/tilepro/atomic.c: New file.
7207 * config/tilepro/atomic.h: New file.
7208 * config/tilepro/linux-unwind.h: New file.
7209 * config/tilepro/sfp-machine.h: New file.
7210 * config/tilepro/softdivide.c: New file.
7211 * config/tilepro/softmpy.S: New file.
7212 * config/tilepro/t-crtstuff: New file.
7213 * config/tilepro/t-tilepro: New file.
7214
b59cbd50
JW
72152012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
7216
7217 PR libstdc++/51296
7218 PR libstdc++/51906
7219 * gthr-posix.h: Allow static initializer macros to be disabled.
7220 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
7221
6caf807f
CLT
72222012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
7223
7224 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
7225 Add t-slibgcc-libgcc to tmake_file.
7226 * config/mips/libgcc-mips16.ver: Revert previous patch.
7227 * config/mips/mips16.S (__mips16_rdhwr): Hide.
7228
7d296953
JJ
72292012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
7230 Jayant R Sonar <jayant.sonar@kpitcummins.com>
b25364a0
S
7231
7232 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
7233 * config/cr16/crti.S: New file.
7234 * config/cr16/crtlibid.S: New file.
7235 * config/cr16/crtn.S: New file.
7236 * config/cr16/lib1funcs.S: New file.
7237 * config/cr16/t-cr16: New file.
7238 * config/cr16/t-crtlibid: New file.
7239 * config/cr16/unwind-dw2.h: New file.
7240 * config/cr16/unwind-cr16.c: New file.
7241 * config/cr16/divmodhi3.c: New file.
7242
8ef03aa7
AM
72432012-01-25 Alan Modra <amodra@gmail.com>
7244
7245 * config/rs6000/t-linux64: Delete. Move..
7246 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
7247 * config/rs6000/t-linux: ..and libgcc flags to here.
7248
daecebc8
DR
72492012-01-22 Douglas B Rupp <rupp@gnat.com>
7250
7251 * config.host (i[34567]86-*-interix3*):
8ef03aa7 7252 Change triplet to i[34567]86-*-interix[3-9]*.
daecebc8
DR
7253 * configure: Regenerate.
7254
ddaf8125
RS
72552012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
7256 Richard Sandiford <rdsandiford@googlemail.com>
7257
7258 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
7259 * config/mips/mips16.S (__mips16_rdhwr): New function.
7260 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
7261
2cd8b32c
NS
72622012-01-11 Nathan Sidwell <nathan@acm.org>
7263
7264 * libgcov.c (__gcov_init): Ignore objects with no functions.
7265
cba300dd
GJL
72662012-01-10 Georg-Johann Lay <avr@gjlay.de>
7267
7268 PR target/49868
7269 Extend __pgmx semantics to linearize memory.
7270 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
7271 * config/avr/lib1funcs.S (__xload_1): New function.
7272 (__movmemx_qi, __movmemx_hi): New functions.
7273 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
7274 semantics.
9ffaf4bc 7275
3d137660
EB
72762012-01-09 Eric Botcazou <ebotcazou@adacore.com>
7277
7278 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
7279 purported sigacthandler address isn't null before dereferencing it.
7280 (sparc_is_sighandler): Likewise.
7281
bf4db96c
EB
72822012-01-09 Eric Botcazou <ebotcazou@adacore.com>
7283
7284 PR ada/41929
7285 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
7286 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
7287 (sparc_is_sighandler): Likewise.
7288 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
7289
1ab3568b
TG
72902012-01-06 Tristan Gingold <gingold@adacore.com>
7291
7292 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
7293 compatibility thunks...
7294 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
7295 (crtbeginS.o, crtendS.o): ... and these to ...
7296 * config/ia64/t-ia64-elf: ... this new file.
7297 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
7298 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
7299
925b0ed8
AK
73002012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7301
7302 * configure: Regenerate.
7303 * config/s390/t-crtstuff: Remove -fPIC.
7304
a99ad737
JW
73052012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
7306
7307 PR bootstrap/51006
7308 * enable-execute-stack-mprotect.c (getpagesize): Do not define
7309 for NetBSD.
7310
884f56d1
GJL
73112012-01-02 Georg-Johann Lay <avr@gjlay.de>
7312
7313 PR target/51345
7314 * config/avr/lib1funcs.S: Remove FIXME comments.
7315 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
7316
8c57e547
GJL
73172012-01-02 Georg-Johann Lay <avr@gjlay.de>
7318
7319 Implement light-weight DImode support.
7320 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
7321 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
7322 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
7323 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
7324
04dbc287
NS
73252011-12-30 Nathan Sidwell <nathan@acm.org>
7326
7327 * libgcov.c (gcov_crc32): Remove global var.
7328 (free_fn_data): New function.
7329 (buffer_fn_data): Pass in filename, more robust error recovery.
7330 (crc32_unsigned): New function.
7331 (gcov_exit): More robust detection of new program. More robust
7332 error recovery.
7333 (__gcov_init): Do not update program's crc here.
7334
8e1d97d4
TG
73352011-12-21 Tristan Gingold <gingold@adacore.com>
7336
7337 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
7338
9ffaf4bc
ILT
73392011-12-21 Ian Lance Taylor <iant@google.com>
7340
7341 * config/i386/morestack.S: Simplify CFI opcodes throughout.
7342
a0c8d0c1
ILT
73432011-12-20 Ian Lance Taylor <iant@google.com>
7344
7345 * config/i386/morestack.S (__morestack_non_split): If there is
7346 enough stack space already, don't split. Ask for more stack space
7347 than we required.
7348
69048898
SDJ
73492011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
7350
7351 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
7352 `sys/sdt.h'.
7353 (_Unwind_DebugHook): New function.
7354 (uw_restore_core_regs): New define.
7355 (unwind_phase2): Use uw_restore_core_regs instead of
7356 restore_core_regs.
7357 (unwind_phase2_forced): Likewise.
7358 (__gnu_Unwind_Resume): Likewise.
7359
1bb4b6a3
UB
73602011-12-20 Uros Bizjak <ubizjak@gmail.com>
7361
7362 * config/alpha/linux-unwind.h: Update copyright years.
7363 (MD_FROB_UPDATE_CONTEXT): New define.
7364 (alpha_frob_update_context): New function.
7365
eb028768
RS
73662011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
7367
7368 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
7369 tmake_file rather replacing it.
7370
6a2045bf
IS
73712011-12-15 Iain Sandoe <iains@gcc.gnu.org>
7372
7373 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
1bb4b6a3 7374 function is not used for PPC64.
6a2045bf
IS
7375 (save_world): Amend comments. Update the VRsave mask to reflect the
7376 saved regs.
7377 (rest_world): Update comments, do not clobber r10, do not use r8.
7378 (eh_rest_world_r10): Amend comments, do not use r8.
7379 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
7380 no longer used, move restore of CR and target address to the end of
7381 the routine.
7382
a13780a6
L
73832011-12-14 H.J. Lu <hongjiu.lu@intel.com>
7384
7385 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
7386 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
7387
d7288dfb
GJL
73882011-12-14 Georg-Johann Lay <avr@gjlay.de>
7389
7390 PR target/49313
7391 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
7392 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
7393
8d2c862d
EB
73942011-12-11 Eric Botcazou <ebotcazou@adacore.com>
7395
7396 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
7397
3447cae6
GJL
73982011-12-09 Georg-Johann Lay <avr@gjlay.de>
7399
7400 PR target/49313
7401 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
7402 * config/avr/lib1funcs.S (__muldi3): New function.
7403
806fc6aa
AP
74042011-12-06 Andrew Pinski <apinski@cavium.com>
7405
7406 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
7407 size of func_ptr.
7408 (__frame_dummy_init_array_entry): Likewise.
7409
28c5e6b5
GJL
74102011-12-06 Georg-Johann Lay <avr@gjlay.de>
7411
7412 Forward-port from gcc-4_6-branch r181936 2011-12-02.
7413
7414 PR target/51345
7415 PR target/51002
7416 * config/avr/lib1funcs.S (__prologue_saves__,
7417 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
7418 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
7419
8f90394a
IS
74202011-12-04 Iain Sandoe <iains@gcc.gnu.org>
7421
7422 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
7423
06dd33ac
JDA
74242011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
7425
7426 PR other/51272
7427 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
7428 (_ITM_deregisterTMCloneTable): Likewise.
7429 (__register_frame_info): Fix unused warning.
7430 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
7431 pthread_default_stacksize_np): Likewise.
7432 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
1bb4b6a3 7433
85b8555e
DD
74342011-11-29 DJ Delorie <dj@redhat.com>
7435
7436 * config.host (rl78-*-elf): New case.
7437 * config/rl78: New directory for the Renesas RL78.
7438
4d5ae4ea
BS
74392011-11-29 Bernd Schmidt <bernds@codesourcery.com>
7440
7441 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
7442 formatting.
7443
f9c55897
RO
74442011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7445
7446 PR other/51022
7447 * config/rs6000/t-savresfgpr: New file.
7448 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
7449 $(srcdir)/config/rs6000/eabi.S.
7450 * config/rs6000/t-ppccomm-ldbl: Remove.
7451 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
7452 tmake_file.
7453 (powerpc-*-eabispe*): Likewise.
7454 (powerpc-*-eabi*): Likewise.
7455 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
7456 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
7457 to tmake_file, remove rs6000/t-ppccomm-ldbl.
7458 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
7459 tmake_file.
7460 (powerpc-*-eabisim*): Likewise.
7461 (powerpc-*-elf*): Likewise.
7462 (powerpc-*-eabialtivec*): Likewise.
7463 (powerpc-xilinx-eabi*): Likewise.
7464 (powerpc-*-rtems*): Likewise.
7465 (powerpcle-*-elf*): Likewise.
7466 (powerpcle-*-eabisim*): Likewise.
7467 (powerpcle-*-eabi*): Likewise.
7468
a01207c4
ILT
74692011-11-27 Ian Lance Taylor <iant@google.com>
7470
7471 * generic-morestack.c (__splitstack_find): Check for NULL old
7472 stack value.
7473 (__splitstack_resetcontext): New function.
7474 (__splitstack_releasecontext): New function.
7475 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
7476
2b0b8ab2
IS
74772011-11-27 Iain Sandoe <iains@gcc.gnu.org>
7478
7479 * config/darwin-crt-tm.c: Correct comments, use correct licence.
7480
c1d8101c
IS
74812011-11-27 Iain Sandoe <iains@gcc.gnu.org>
7482
7483 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
7484
8b281334
RH
74852011-11-26 Richard Henderson <rth@redhat.com>
7486
7487 * config/m68k/linux-atomic.c: New file.
7488 * config/m68k/t-linux: New file.
7489 * config.host (m68k-uclinux, m68k-linux): Use it.
7490
7546aa9d
RH
74912011-11-26 Richard Henderson <rth@redhat.com>
7492
7493 * crtstuff.c (__TMC_LIST__): Mark used not unused.
7494 (__TMC_END__): Only declare if hidden is available; in the definition,
7495 if hidden is unavailable add a null record.
7496 (deregister_tm_clones, register_tm_clones): New.
7497 (__do_global_dtors_aux, frame_dummy): Use them.
7498 (__do_global_dtors, __do_global_ctors_1): Likewise.
7499
e2362f5d
IS
75002011-11-22 Iain Sandoe <iains@gcc.gnu.org>
7501
7502 * config/darwin-crt-tm.c: New file.
7503 * config.host (darwin): Build crttms.o crttme.o to provide
7504 startup and shutdown for tm clones.
7505 * config/t-darwin (crttms.o): New build rule.
7506 (crttme.o): Likewise.
7507
6685dd96
HPN
75082011-11-21 Hans-Peter Nilsson <hp@axis.com>
7509
7510 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
7511 et al.
7512
b0dc7e4c
RH
75132011-11-21 Richard Henderson <rth@redhat.com>
7514
7515 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
7516 (__TMC_LIST__, __TMC_END__): New.
7517 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
7518 (__do_global_dtors): Likewise.
7519 (frame_dummy): Call _ITM_registerTMCloneTable.
7520 (__do_global_ctors_1): Likewise.
7521
d4b4b542
RO
75222011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7523
7524 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
7525 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
7526 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
7527 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
7528 * config/i386/t-darwin64: Remove.
7529 * config/sh/t-netbsd (LIB2ADD): Remove.
7530
989bdb74
GJL
75312011-11-21 Georg-Johann Lay <avr@gjlay.de>
7532
7533 PR target/49313
7534 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
7535 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
7536 * config/avr/lib1funcs.S (wmov): New assembler macro.
7537 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
7538 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
7539 (__udivmod64): New function.
7540 (__negdi2): New function.
7541
515a0cfc
GP
75422011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
7543
7544 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
7545 *-*-freebsd*aout*): Remove.
7546
0115d17f
HPN
75472011-11-20 Hans-Peter Nilsson <hp@axis.com>
7548
7549 * static-object.mk (c_flags-$o): Save c_flags.
7550 ($(base)$(objext)): Use it.
7551
93aeb62b
SE
75522011-11-18 Steve Ellcey <sje@cup.hp.com>
7553
7554 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
7555
7bc6df2c
GJL
75562011-11-18 Georg-Johann Lay <avr@gjlay.de>
7557
7558 PR target/49868
7559 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
7560 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
7561 New functions.
7562
425d737b
MGD
75632011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
7564
7565 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
7566 functions.
1bb4b6a3 7567 (aeabi_uidivmod): Likewise.
425d737b
MGD
7568 (umodsi3): Likewise.
7569 (divsi3): Likewise.
7570 (aeabi_idivmod): Likewise.
7571 (modsi3): Likewise.
7572
f2a176dc
TG
75732011-11-16 Tristan Gingold <gingold@adacore.com>
7574
7575 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
7576
7c209481
GJL
75772011-11-15 Georg-Johann Lay <avr@gjlay.de>
7578
7579 PR target/49868
7580 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
7581 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
7582
9dfd5832
JDA
75832011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
7584
7585 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
7586 tmake_file list.
7587 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
7588 * config/pa/t-stublib64: Delete.
7589
f77dca5d
RH
75902011-11-12 Richard Henderson <rth@redhat.com>
7591
7592 * config/rs6000/linux-unwind.h (frob_update_context): Properly
7593 cast the pointer argument to _Unwind_SetGRPtr.
7594
902828f0
RO
75952011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7596
7597 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
7598
e14304ef
ILT
75992011-11-09 Ian Lance Taylor <iant@google.com>
7600
7601 * generic-morestack.c: Include <string.h>.
7602 (uintptr_type): Define.
7603 (struct initial_sp): Add dont_block_signals field. Reduce size of
7604 extra array by 1.
7605 (allocate_segment): Set prev field to NULL. Don't set
7606 __morestack_current_segment or __morestack_segments.
7607 (__generic_morestack): Update current->prev and *pp after calling
7608 allocate_segment.
7609 (__morestack_block_signals): Don't do anything if
7610 dont_block_signals is set.
7611 (__morestack_unblock_signals): Likewise.
7612 (__generic_findstack): Check for initial_sp == NULL. Add casts to
7613 uintptr_type.
7614 (__splitstack_block_signals): New function.
7615 (enum __splitstack_content_offsets): Define.
7616 (__splitstack_getcontext, __splitstack_setcontext): New functions.
7617 (__splitstack_makecontext): New function.
7618 (__splitstack_block_signals_context): New function.
7619 (__splitstack_find_context): New function.
7620 * config/i386/morestack.S (__morestack_get_guard): New function.
7621 (__morestack_set_guard, __morestack_make_guard): New functions.
7622 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
7623
e3d871e4
RO
76242011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7625
7626 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
7627 (i[34567]86-*-mingw*): ... here.
7628 (x86_64-*-mingw*): ... here.
7629
e55cef40
RO
76302011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7631
7632 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
7633
5366b186
NS
76342011-11-07 Nathan Sidwell <nathan@acm.org>
7635
7636 * libgcov.c (struct gcov_fn_buffer): New struct.
7637 (buffer_fn_data): New helper.
7638 (gcov_exit): Rework for new gcov data structures.
7639
74155a6f
GJL
76402011-11-07 Georg-Johann Lay <avr@gjlay.de>
7641
7642 PR target/49313
7643 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
7644
200feb07
RO
76452011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7646
7647 * config.host (tmake_file): Correct comment.
7648 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
7649 t-libgcc-pic.
7650 (bfin*-uclinux*): Likewise.
7651 (bfin*-linux-uclibc*): Likewise.
7652 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
7653
7654 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
7655 assigning.
7656 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7657 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
7658 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7659 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
7660 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7661 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
7662 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
7663 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7664 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
7665 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
7666 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
7667 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
7668 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
7669
7670 * config/bfin/t-elf: Remove.
7671 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
7672
c9cd1a07
RO
76732011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7674
7675 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
7676 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
7677 (lm32-*-elf*, lm32-*-rtems*): Split into ...
7678 (lm32-*-elf*): ... this.
7679 (lm32-*-rtems*): ... and this.
7680 Add to tmake_file.
7681 (m32r-*-rtems*): Add to tmake_file.
7682 (moxie-*-rtems*): Likewise.
7683 (sparc-*-rtems*): Likewise.
7684 Remove t-rtems from tmake_file.
7685 (sparc64-*-rtems*): Likewise.
7686 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
7687 instead.
7688
9fbcc75d
RO
76892011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7690
7691 PR bootstrap/50982
7692 * config/gthr-posix.h: Move ...
7693 * gthr-posix.h: ... here.
7694 * config/gthr-lynx.h: Reflect this.
7695 * config/gthr-vxworks.h: Likewise.
7696 * config/rs6000/gthr-aix.h: Likewise.
7697 * configure.ac (target_thread_file): Likewise.
7698 * configure: Regenerate.
7699
76644b68
SH
77002011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
7701
7702 * config.host (arm*-*-rtemseabi*): New target.
7703
5e490f2a
JDA
77042011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
7705
7706 PR other/50991
7707 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
7708 extra-parts.
7709
feeeff5c
JR
77102011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
7711
7712 * config.host (epiphany-*-elf*): New configuration.
7713 * config/epiphany: New Directory.
7714
d618bb2c
RC
77152011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
7716
7717 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
7718 * config/avr/t-rtems: New.
7719 Filter out _exit from LIB1ASMFUNCS.
7720
1bb6f778
DM
77212011-11-04 David S. Miller <davem@davemloft.net>
7722
7723 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
7724 * configure: Rebuild.
7725
9a7f7422
AK
77262011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7727
7728 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
7729 variable.
7730
e4fe948a
GJL
77312011-11-04 Georg-Johann Lay <avr@gjlay.de>
7732
7733 PR target/50931
7734 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
7735 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
7736
7084e037
JS
77372011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
7738
7739 PR target/50989
7740 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
7741
1a032034
RO
77422011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7743
7744 * config/c6x/t-elf (LIB2ADDEH): Set.
7745 * config/c6x/t-c6x-elf: Remove.
7746
d385f772
RO
77472011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7748
7749 * config/i386/sol2-ci.S: Rename to ...
7750 * config/i386/crti.S: ... this.
7751 * config/i386/sol2-cn.S: Rename to ...
7752 * config/i386/crtn.S: ... this.
7753 * config/sparc/sol2-ci.S: Rename to ...
7754 * config/sparc/crti.S: ... this.
7755 * config/sparc/sol2-cn.S: Rename to ...
7756 * config/sparc/crtn.S: ... this.
7757 * config/t-sol2 (CUSTOM_CRTIN): Remove.
7758 (crti.o, crtn.o): Remove.
7759
1ba878a9
TG
77602011-11-04 Tristan Gingold <gingold@adacore.com>
7761
7762 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
7763
02750c15
KK
77642011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
7765
7766 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
7767
bf86b067
HPN
77682011-11-03 Hans-Peter Nilsson <hp@axis.com>
7769
7770 * config.host (crisv32-*-none, cris-*-none): Remove.
7771 (crisv32-*-elf): Append to tmake_file, don't just set it.
7772 (cris-*-elf): Add missing t-fdpbit to tmake_file.
7773
d0bc53bd
RO
77742011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7775
7776 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
7777 (ecrtn$(objext)): Likewise.
7778 (ncrti$(objext)): Likewise.
7779 (ncrtn$(objext)): Likewise.
7780
036da830
AS
77812011-11-03 Andreas Schwab <schwab@redhat.com>
7782
7783 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
7784
d2a7d041
DM
77852011-11-02 David S. Miller <davem@davemloft.net>
7786
7787 * configure.ac: Set host_address on sparc too.
7788 * configure: Regenerate.
7789 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
7790 based upon host_address.
7791 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
7792
af8ed618
JM
77932011-11-02 Jason Merrill <jason@redhat.com>
7794
7795 * config/rs6000/t-ppccomm: Add missing \.
7796
5d1c8e77
RO
77972011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7798
7799 * gthr-single.h, gthr.h: New files.
7800 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
7801 config/gthr-vxworks.h, config/i386/gthr-win32.h,
7802 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
7803 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
7804 * config/i386/gthr-win32.c: Include "gthr-win32.h".
7805 * configure.ac (thread_header): New variable.
7806 Set it depending on target_thread_file.
7807 (gthr-default.h): Link from $thread_header.
7808 * configure: Regenerate.
7809 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
7810
852b75ed
RO
78112011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7812
7813 * configure.ac (tm_file_): New variable.
7814 Determine from tm_file.
7815 (tm_file, tm_defines): Substitute.
7816 * configure: Regenerate.
7817 * mkheader.sh: New file.
7818 * Makefile.in (clean): Remove libgcc_tm.h.
7819 ($(objects)): Depend on libgcc_tm.h.
7820 (libgcc_tm_defines, libgcc_tm_file): New variables.
7821 (libgcc_tm.h, libgcc_tm.stamp): New targets.
7822 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
7823 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
7824 ($(extra-parts)): Depend on libgcc_tm.h.
7825 * config.host (tm_defines, tm_file): New variable.
7826 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
7827 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
7828 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
7829 (avr-*-rtems*): Likewise.
7830 (avr-*-*): Likewise.
7831 (frv-*-elf): Likewise.
7832 (frv-*-*linux*): Likewise.
7833 (h8300-*-rtems*): Likewise.
7834 (h8300-*-elf*): Likewise.
7835 (i[34567]86-*-darwin*): Likewise.
7836 (x86_64-*-darwin*): Likewise.
7837 (rx-*-elf): Likewise.
7838 (tic6x-*-uclinux): Likewise.
7839 (tic6x-*-elf): Likewise.
7840 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
7841 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
7842 * config/i386/cygming-crtbegin.c: Likewise.
7843 * config/i386/cygming-crtend.c: Likewise.
7844 * config/ia64/fde-vms.c: Likewise.
7845 * config/ia64/unwind-ia64.c: Likewise.
7846 * config/libbid/bid_gcc_intrinsics.h: Likewise.
7847 * config/rs6000/darwin-fallback.c: Likewise.
7848 * config/stormy16/lib2funcs.c: Likewise.
7849 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
7850 * crtstuff.c: Likewise.
7851 * dfp-bit.h: Likewise.
7852 * emutls.c: Likewise.
7853 * fixed-bit.c: Likewise.
7854 * fp-bit.c: Likewise.
7855 * generic-morestack-thread.c: Likewise.
7856 * generic-morestack.c: Likewise.
7857 * libgcc2.c: Likewise.
7858 * libgcov.c: Likewise.
7859 * unwind-dw2-fde-dip.c: Likewise.
7860 * unwind-dw2-fde.c: Likewise.
7861 * unwind-dw2.c: Likewise.
7862 * unwind-sjlj.c: Likewise.
7863
f9989b51
RO
78642011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7865
7866 * configure.ac: Include ../config/picflag.m4.
7867 (GCC_PICFLAG): Call it.
7868 Substitute.
7869 * configure: Regenerate.
7870 * Makefile.in (gcc_srcdir): Remove.
7871 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
7872 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
7873 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
7874 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
7875 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
7876 Use $<.
7877 Remove comment.
7878 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
7879 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
7880 to refer to libgcc2.c.
7881 Use $<.
7882 * config/darwin-64.c: New file.
7883 * config/darwin-crt3.c: Remove comment.
7884 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
7885 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
7886 config/udivmodsi4.c: New files.
7887 * config/memcmp.c, config/memcpy.c, config/memmove.c,
7888 config/memset.c: New files.
7889 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
7890 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
7891 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
7892 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
7893 * config/t-openbsd-thread: New file.
7894 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
7895 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
7896 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
7897 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
7898 qrnnd.S.
7899 Adapt filename.
7900 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
7901 to refer to gthr-posix.c.
7902 * config/alpha/t-vms (LIB2ADD): Set.
7903 * config/alpha/vms-gcc_shell_handler.c: New file.
7904 * config/arm/bpabi.c, config/arm/fp16.c,
7905 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
7906 config/arm/unaligned-funcs.c: New files.
7907 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
7908 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
7909 * config/arm/t-linux: Likewise.
7910 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
7911 * config/arm/t-netbsd: New file.
7912 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
7913 * config/arm/t-symbian (LIB2ADD_ST): Set.
7914 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
7915 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7916 * config/bfin/t-elf: New file.
7917 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
7918 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
7919 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
7920 config/c6x/ltf.c: New files.
7921 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
7922 (HOST_LIBGCC2_CFLAGS): Set.
7923 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
7924 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7925 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
7926 New files.
7927 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
7928 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
7929 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
7930 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
7931 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
7932 files.
7933 * config/frv/t-frv (LIB2ADD): Set.
7934 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7935 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
7936 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
7937 config/h8300/popcounthi2.c: New files.
7938 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
7939 * config/i386/gthr-win32.c: New file.
7940 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
7941 * config/i386/t-cygwin: Likewise.
7942 * config/i386/t-darwin, config/i386/t-darwin64,
7943 config/i386/t-gthr-win32, config/i386/t-interix: New files.
7944 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
7945 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7946 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7947 * config/ia64/quadlib.c: New file.
7948 * config/ia64/t-hpux (LIB2ADD): Set.
7949 * config/ia64/t-ia64: Add comment.
7950 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
7951 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7952 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
7953 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
7954 * config/m32c/t-m32c (LIB2ADD): Set.
7955 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
7956 * config/m32r/t-m32r: Likewise.
7957 * config/m68k/fpgnulib.c: New file.
7958 * config/m68k/t-floatlib (LIB2ADD): Set.
7959 (xfgnulib.c): New target.
7960 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
7961 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
7962 * config/mep/t-mep (LIB2ADD): Set.
7963 * config/microblaze/divsi3.asm: Rename to divsi3.S.
7964 * config/microblaze/moddi3.asm: Rename to moddi3.S.
7965 * config/microblaze/modsi3.asm: Rename to modsi3.S.
7966 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
7967 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
7968 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
7969 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
7970 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
7971 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
7972 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
7973 New files.
7974 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
7975 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
7976 * config/pa/fptr.c, config/pa/lib2funcs.S,
7977 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
7978 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
7979 (LIB2ADD, LIB2ADD_ST): Set.
7980 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
7981 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
7982 Set.
7983 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
7984 * config/pdp11/t-pdp11: New file.
7985 * config/picochip/libgccExtras/adddi3.S,
7986 config/picochip/libgccExtras/ashlsi3.S,
7987 config/picochip/libgccExtras/ashrsi3.S,
7988 config/picochip/libgccExtras/clzsi2.S,
7989 config/picochip/libgccExtras/cmpsi2.S,
7990 config/picochip/libgccExtras/divmod15.S,
7991 config/picochip/libgccExtras/divmodhi4.S,
7992 config/picochip/libgccExtras/divmodsi4.S,
7993 config/picochip/libgccExtras/lshrsi3.S,
7994 config/picochip/libgccExtras/parityhi2.S,
7995 config/picochip/libgccExtras/popcounthi2.S,
7996 config/picochip/libgccExtras/subdi3.S,
7997 config/picochip/libgccExtras/ucmpsi2.S,
7998 config/picochip/libgccExtras/udivmodhi4.S,
7999 config/picochip/libgccExtras/udivmodsi4.S: New files.
8000 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
8001 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
8002 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
8003 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
8004 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
8005 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
8006 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
8007 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
8008 files.
8009 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
8010 (HOST_LIBGCC2_CFLAGS): Set.
8011 * config/rs6000/t-darwin64: New file.
8012 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
8013 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
8014 * config/rs6000/t-ppccomm (LIB2ADD): Add
8015 $(srcdir)/config/rs6000/tramp.S.
8016 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
8017 Add $(srcdir)/config/rs6000/eabi.S.
8018 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
8019 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
8020 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
8021 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
8022 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
8023 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
8024 * config/rs6000/tramp.S: New file.
8025 * config/s390/t-tpf: Remove.
8026 * config/sh/linux-atomic.S: New file.
8027 * config/sh/t-linux (LIB2ADD): Set.
8028 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
8029 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
8030 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
8031 to unwind-dw2.c.
8032 (HOST_LIBGCC2_CFLAGS): Set.
8033 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8034 * config/spu/divmodti4.c, config/spu/divv2df3.c,
8035 config/spu/float_disf.c, config/spu/float_unsdidf.c,
8036 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
8037 config/spu/mfc_multi_tag_release.c,
8038 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
8039 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
8040 config/spu/multi3.c: New files.
8041 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
8042 (HOST_LIBGCC2_CFLAGS): Set.
8043 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
8044 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
8045 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
8046 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
8047 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
8048 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
8049 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
8050 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
8051 config/stormy16/umodsi3.c: New files.
8052 * config/xtensa/lib2funcs.S: New file.
8053 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
8054 * config/xtensa/t-xtensa (LIB2ADD): Set.
8055 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
8056 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
8057 Add t-freebsd-thread to tmake_file for posix threads.
8058 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
8059 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
8060 (*-*-lynxos*): Likewise.
8061 (*-*-netbsd*): Likewise.
8062 (*-*-openbsd*): Likewise.
8063 Add t-openbsd-thread to tmake_file for posix threads.
8064 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
8065 (*-*-vxworks*): Set tmake_file.
8066 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
8067 (alpha*-*-freebsd*): Likewise.
8068 (alpha*-*-netbsd*): Likewise.
8069 (alpha*-*-openbsd*): Likewise.
8070 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
8071 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
8072 (alpha*-dec-*vms*): Likewise.
8073 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
8074 (bfin*-elf*): Add bfin/t-elf to tmake_file.
8075 (bfin*-uclinux*): Likewise.
8076 (bfin*-linux-uclibc*): Likewise.
8077 (crisv32-*-elf): Add cris/t-cris to tmake_file.
8078 (crisv32-*-none): Likewise.
8079 (cris-*-elf): Likewise.
8080 (cris-*-none): Likewise.
8081 (cris-*-linux*, crisv32-*-linux*): Likewise.
8082 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
8083 tmake_file.
8084 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
8085 tmake_file.
8086 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
8087 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
8088 (x86_64-*-elf*): Likewise.
8089 (i[34567]86-*-nto-qnx*): Likewise.
8090 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
8091 win32 threads.
8092 (x86_64-*-mingw*): Likewise.
8093 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
8094 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
8095 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
8096 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
8097 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
8098 tmake_file.
8099 (mipsisa64sr71k-*-elf*): Likewise.
8100 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
8101 (mips-*-elf*, mipsel-*-elf*): Likewise.
8102 (mips64-*-elf*, mips64el-*-elf*): Likewise.
8103 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
8104 (mips*-*-rtems*): Likewise.
8105 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
8106 to tmake_file.
8107 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
8108 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
8109 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
8110 (spu-*-elf*): Likewise.
8111 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
8112
45b86625
RO
81132011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8114
8115 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
8116 $(srcdir) to refer to $(LIB1ASMSRC).
8117 Use $<.
8118 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
8119 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
8120 config/arm/lib1funcs.S: New files.
8121 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
8122 * config/arm/t-arm: New file.
8123 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
8124 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
8125 config/arm/t-strongarm-elf: New files.
8126 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
8127 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
8128 * config/avr/lib1funcs.S: New file.
8129 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8130 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
8131 * config/c6x/lib1funcs.S: New file.
8132 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8133 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
8134 * config/frv/lib1funcs.S: New file.
8135 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8136 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
8137 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
8138 * config/ia64/__divxf3.asm: Rename to ...
8139 * config/ia64/__divxf3.S: ... this.
8140 Adapt lib1funcs.asm filename.
8141 * config/ia64/_fixtfdi.asm: Rename to ...
8142 * config/ia64/_fixtfdi.S: ... this.
8143 Adapt lib1funcs.asm filename.
8144 * config/ia64/_fixunstfdi.asm: Rename to ...
8145 * config/ia64/_fixunstfdi.S: ... this.
8146 Adapt lib1funcs.asm filename.
8147 * config/ia64/_floatditf.asm: Rename to ...
8148 * config/ia64/_floatditf.S: ... this.
8149 Adapt lib1funcs.asm filename.
8150 * config/ia64/lib1funcs.S: New file.
8151 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
8152 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8153 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
8154 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
8155 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
8156 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
8157 * config/mep/lib1funcs.S: New file.
8158 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8159 * config/mips/mips16.S: New file.
8160 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8161 * config/pa/milli64.S: New file.
8162 * config/pa/t-linux, config/pa/t-linux64: New files.
8163 * config/picochip/lib1funcs.S: New file.
8164 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8165 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
8166 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
8167 * config/sh/t-netbsd: New file.
8168 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
8169 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
8170 * config/sh/t-sh64: New file.
8171 * config/sparc/lb1spc.S: New file.
8172 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
8173 filename.
8174 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
8175 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
8176 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
8177 config/xtensa/lib1funcs.S: New files.
8178 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8179 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
8180 tmake_file.
8181 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
8182 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
8183 (arm*-*-linux*): Likewise.
8184 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
8185 arm*-*-linux-*eabi, add arm/t-linux otherwise.
8186 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
8187 (arm*-*-ecos-elf): Likewise.
8188 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
8189 (arm*-*-rtems*): Likewise.
8190 (arm*-*-elf): Likewise.
8191 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
8192 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
8193 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
8194 (bfin*-uclinux*): Likewise.
8195 (bfin*-linux-uclibc*): Likewise.
8196 (bfin*-rtems*): Likewise.
8197 (bfin*-*): Likewise.
8198 (fido-*-elf): Merge into m68k-*-elf*.
8199 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
8200 (frv-*-*linux*): Add frv/t-frv to tmake_file.
8201 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
8202 (h8300-*-elf*): Likewise.
8203 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
8204 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
8205 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
8206 (i[34567]86-*-mingw*): Likewise.
8207 (x86_64-*-mingw*): Likewise.
8208 (i[34567]86-*-interix3*): Likewise.
8209 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
8210 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
8211 (m68k-*-elf*): Also handle fido-*-elf.
8212 Add m68k/t-floatlib to tmake_file.
8213 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
8214 (m68k-*-linux*): Likewise.
8215 (m68k-*-rtems*): Likewise.
8216 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
8217 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
8218 sh64*-*-*.
8219 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
8220 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
8221 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
8222 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
8223 sh/t-netbsd to tmake_file.
8224 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
8225 (sh-*-rtems*): Add sh/t-sh to tmake_file.
8226 (sh-wrs-vxworks): Likewise.
8227 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
8228 *-leon[3-9]*.
8229 (v850*-*-*): Add v850/t-v850 to tmake_file.
8230 (vax-*-linux*): Add vax/t-linux to tmake_file.
8231 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
8232
5f73c6cc
RO
82332011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8234
8235 * crtstuff.c: New file.
8236 * Makefile.in (CRTSTUFF_CFLAGS): Define.
8237 (CRTSTUFF_T_CFLAGS): Define.
8238 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
8239 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
8240 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
8241 crtstuff.c.
8242 Use $<.
8243 (crtbeginT.o): Use $(objext).
8244 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
8245 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
8246 (gcc-extra-parts): Remove.
8247 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
8248 Set extra_parts.
8249 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
8250 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
8251 Add t-crtstuff-pic to tmake_file.
8252 (*-*-lynxos*): New case.
8253 Set tmake_file, extra_parts.
8254 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
8255 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
8256 *-*-netbsdelf[2-9]*.
8257 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
8258 (*-*-rtems*): Set extra_parts.
8259 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
8260 (*-*-uclinux*): New case.
8261 Set extra_parts.
8262 (*-*-vms*): New case.
8263 Set tmake_file, extra_parts.
8264 (*-*-elf): Set extra_parts.
8265 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
8266 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
8267 vms/t-vms64.
8268 Set extra_parts.
8269 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
8270 Set extra_parts.
8271 (arm*-*-freebsd*): Add t-crtin to tmake_file.
8272 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
8273 (arm-wrs-vxworks): Append to tmake_file.
8274 Set extra_parts.
8275 (arm*-*-uclinux*): Set extra_parts.
8276 (arm*-*-ecos-elf): Likewise.
8277 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
8278 arm*-*-eabi*.
8279 (arm*-*-rtems*): Set extra_parts.
8280 (arm*-*-elf): Likewise.
8281 (avr-*-rtems*): Clear extra_parts.
8282 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
8283 Set extra_parts.
8284 (bfin*-uclinux*): Likewise.
8285 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
8286 (bfin*-rtems*): Append to tmake_file.
8287 Set extra_parts.
8288 (bfin*-*): Likewise.
8289 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
8290 (crisv32-*-elf): ... this.
8291 (crisv32-*-none): ... this.
8292 (cris-*-elf, cris-*-none): New cases.
8293 Add cris/t-elfmulti to tmake_file.
8294 (fr30-*-elf): Append to tmake_file.
8295 Set extra_parts.
8296 (frv-*-elf): Append to tmake_file, add frv/t-frv.
8297 Set extra_parts.
8298 (h8300-*-rtems*): Append to tmake_file.
8299 Set extra_parts.
8300 (h8300-*-elf*): Likewise.
8301 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
8302 Set extra_parts.
8303 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
8304 Set extra_parts.
8305 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
8306 (x86_64-*-elf*): Likewise.
8307 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
8308 (x86_64-*-freebsd*): Likewise.
8309 (x86_64-*-netbsd*): Likewise.
8310 (i[34567]86-*-linux*): Likewise.
8311 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
8312 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
8313 (x86_64-*-linux*): Likewise.
8314 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
8315 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
8316 tmake_file.
8317 Set extra_parts.
8318 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
8319 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
8320 Append to extra_parts, remove crtbegin.o, crtend.o.
8321 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
8322 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
8323 crtend.o, crtbeginS.o, crtendS.o.
8324 (ia64*-*-linux*): Comment extra_parts.
8325 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
8326 Set extra_parts.
8327 (iq2000*-*-elf*): Clear extra_parts.
8328 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
8329 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
8330 (m32r-*-elf*, m32r-*-rtems*): Split off ...
8331 (m32r-*-rtems*): ... this.
8332 Add m32r/t-m32r to tmake_file.
8333 (m68k-*-elf*): Add t-crtin to tmake_file.
8334 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
8335 (mcore-*-elf): Likewise.
8336 (microblaze*-*-*): Set extra_parts.
8337 (mips*-sde-elf*): New case.
8338 Set tmake_file, extra_parts.
8339 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
8340 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
8341 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
8342 tmake_file.
8343 Set extra_parts.
8344 (mipsisa64sr71k-*-elf*): Likewise.
8345 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
8346 (mips-*-elf*, mipsel-*-elf*): Likewise.
8347 (mips64-*-elf*, mips64el-*-elf*): Likewise.
8348 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
8349 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
8350 (mips*-*-rtems*): Likewise.
8351 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
8352 (moxie-*-*): Split into ...
8353 (moxie-*-elf, moxie-*-uclinux*): ... this.
8354 Add to extra_parts, remove crtbegin.o, crtend.o.
8355 (moxie-*-rtems*): New case.
8356 Set tmake_file.
8357 Clear extra_parts.
8358 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
8359 Set extra_parts.
8360 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
8361 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
8362 tmake_file.
8363 Set extra_parts.
8364 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
8365 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
8366 Set extra_parts.
8367 (powerpc-*-eabisim*): Likewise.
8368 (powerpc-*-elf*): Likewise.
8369 (powerpc-*-eabialtivec*): Likewise.
8370 (powerpc-xilinx-eabi*): Likewise.
8371 (powerpc-*-eabi*): Likewise.
8372 (powerpc-*-rtems*): Likewise.
8373 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
8374 tmake_file.
8375 Set extra_parts.
8376 (powerpc-*-lynxos*): Add to tmake_file.
8377 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
8378 rs6000/t-crtstuff, t-crtstuff-pic.
8379 Set extra_parts.
8380 (powerpcle-*-eabisim*): Likewise.
8381 (powerpcle-*-eabi*): Likewise.
8382 (rx-*-elf): Remove extra_parts.
8383 (s390x-ibm-tpf*): Set extra_parts.
8384 (score-*-elf): Set extra_parts.
8385 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
8386 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
8387 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
8388 (sh64l*-*-netbsd*): Split into ...
8389 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
8390 Add t-crtstuff-pic to tmake_file.
8391 Set extra_parts.
8392 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
8393 Set extra_parts.
8394 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
8395 (sparc-*-elf*): Remove t-crtin from tmake_file.
8396 Add to extra_parts, remove crtbegin.o, crtend.o.
8397 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
8398 (sparc64-*-linux*): Likewise.
8399 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
8400 Add to extra_parts, remove crtbegin.o, crtend.o.
8401 (sparc64-*-elf*): Remove t-crtin from tmake_file.
8402 Add to extra_parts, remove crtbegin.o, crtend.o.
8403 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
8404 Add to extra_parts, remove crtbegin.o, crtend.o.
8405 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
8406 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
8407 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
8408 Set extra_parts.
8409 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
8410 Set extra_parts.
8411 (tic6x-*-*): Change to ...
8412 (tic6x-*-elf): ... this.
8413 Set extra_parts.
8414 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
8415 Set extra_parts.
8416 (am33_2.0-*-linux*): Add comment.
8417 (mep*-*-*): Add mep/t-mep to tmake_file.
8418 Set extra_parts.
8419 * config/alpha/t-vms: New file.
8420 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
8421 * config/arm/crti.S, config/arm/crtn.S: New files.
8422 * config/bfin/crti.S, config/bfin/crtn.S: New files.
8423 * config/bfin/crtlibid.S: New file.
8424 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
8425 * config/c6x/crti.S, config/c6x/crtn.S: New files.
8426 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
8427 (crti.o, crtin.o): New rules.
8428 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
8429 * config/c6x/t-uclinux: New file.
8430 * config/cris/t-elfmulti: New file.
8431 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
8432 * config/fr30/crti.S, config/fr30/crtn.S: New files.
8433 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
8434 * config/frv/t-frv: New file.
8435 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
8436 * config/h8300/crti.S, config/h8300/crtn.S: New files.
8437 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
8438 New files.
8439 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
8440 refer to cygming-crtbegin.c, cygming-crtend.c.
8441 Use $<.
8442 * config/i386/t-nto: New file.
8443 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
8444 * config/ia64/crti.S, config/ia64/crtn.S: New files.
8445 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
8446 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
8447 Use .S extension.
8448 Use $<.
8449 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
8450 (crtinitS.o): New rule.
8451 * config/ia64/vms-crtinit.S: New file.
8452 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
8453 * config/m32r/initfini.c: New file.
8454 * config/m32r/t-linux, config/m32r/t-m32r: New files.
8455 * config/m68k/crti.S, config/m68k/crtn.S: New files.
8456 * config/mcore/crti.S, config/mcore/crtn.S: New files.
8457 * config/mep/t-mep: New file.
8458 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
8459 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
8460 * config/mips/crti.S, config/mips/crtn.S: New files.
8461 * config/mips/t-crtstuff: New file.
8462 * config/mmix/crti.S, config/mmix/crtn.S: New files.
8463 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
8464 (CUSTOM_CRTIN): Set.
8465 ($(T)crti.o, $(T)crtn.o): Remove $(T),
8466 dependencies.
8467 Use $(srcdir) to refer to crti.S, crtn.S.
8468 Use .S extension, $<.
8469 * config/moxie/crti.asm: Rename to ...
8470 * config/moxie/crti.S: ... this.
8471 * config/moxie/crtn.asm: Rename to ...
8472 * config/moxie/crtn.S: ... this.
8473 * config/moxie/t-moxie: Remove.
8474 * config/pa/stublib.c: New file.
8475 * config/pa/t-stublib, config/pa/t-stublib64: New files.
8476 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
8477 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
8478 * config/rs6000/t-crtstuff: New file.
8479 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
8480 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
8481 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
8482 Make output file explicit.
8483 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
8484 Make output file explicit.
8485 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
8486 Make output file explicit.
8487 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
8488 Make output file explicit.
8489 * config/score/crti.S, config/score/crtn.S: New files.
8490 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
8491 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
8492 files.
8493 * config/sh/t-sh, config/sh/t-superh: New files.
8494 * config/sparc/t-linux64: New file.
8495 * config/spu/cache.S, config/spu/cachemgr.c: New files.
8496 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
8497 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
8498 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
8499 * config/t-crtin: Remove.
8500 * config/t-crtstuff-pic: New file.
8501 * config/t-sol2 (CUSTOM_CRTIN): Set.
8502 (crti.o, crtn.o): New rules.
8503 * config/vms/t-vms: New file.
8504 * config/vms/vms-ucrt0.c: New file.
8505 * config/xtensa/t-elf: New file.
8506
b040f2be
RO
85072011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8508
8509 * Makefile.in (SHLIB_NM_FLAGS): Set.
8510 * mkmap-flat.awk, mkmap-symver.awk: New files.
8511 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
8512 exceptions.
8513 * configure: Regenerate.
8514 * config/libgcc-glibc.ver: New file.
8515 * config/libgcc-libsystem.ver: New file.
8516 * config/t-libunwind (SHLIB_LC): Set.
8517 * config/t-linux: New file.
8518 * config/t-slibgcc (INSTALL_SHLIB): New.
8519 (SHLIB_INSTALL): Use it.
8520 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
8521 to mkmap-symver.awk.
8522 (SHLIB_MAPFILES): Don't append, adapt pathname.
8523 (SHLIB_VERPFX): Set.
8524 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
8525 to mkmap-symver.awk.
8526 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
8527 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
8528 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
8529 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
8530 to mkmap-flat.awk.
8531 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
8532 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
8533 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
8534 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
8535 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
8536 * config/i386/libgcc-darwin.10.4.ver,
8537 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
8538 New files.
8539 * config/i386/t-darwin: Remove.
8540 * config/i386/t-darwin64: Likewise.
8541 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
8542 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
8543 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
8544 * config/i386/t-linux: New file.
8545 * config/i386/t-mingw32: New file.
8546 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
8547 * config/ia64/t-glibc: Rename to ...
8548 * config/ia64/t-linux: ... this.
8549 (SHLIB_MAPFILES): Set.
8550 * config/ia64/t-glibc-libunwind: Rename to ...
8551 * config/ia64/t-linux-libunwind: ... this.
8552 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
8553 * config/ia64/t-slibgcc-hpux: New file.
8554 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
8555 * config/m68k/t-slibgcc-elf-ver: New file.
8556 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
8557 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
8558 to mkmap-flat.awk.
8559 * config/pa/t-slibgcc-hpux: New file.
8560 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
8561 files.
8562 * config/rs6000/libgcc-darwin.10.4.ver,
8563 config/rs6000/libgcc-darwin.10.5.ver: New files.
8564 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
8565 config/rs6000/libgcc-glibc.ver.
8566 * config/rs6000/libgcc-ppc64.ver: Rename to
8567 config/rs6000/libgcc-ibm-ldouble.ver.
8568 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
8569 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
8570 * config/rs6000/t-ldbl128: Rename to ...
8571 * config/rs6000/t-linux: ... this.
8572 (SHLIB_MAPFILES): Adapt filename.
8573 * config/rs6000/t-slibgcc-aix: New file.
8574 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
8575 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
8576 libgcc-excl.ver, libgcc-glibc.ver.
8577 (SHLIB_LINK, SHLIB_INSTALL): Remove.
8578 * config/sparc/libgcc-glibc.ver: New file.
8579 * config/sparc/t-linux: New file.
8580 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
8581 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
8582 t-slibgcc-elf-ver to tmake_file.
8583 Add t-slibgcc-nolc-override to tmake_file for posix threads on
8584 *-*-freebsd[34].
8585 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
8586 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
8587 t-slibgcc-elf-ver, t-linux to tmake_file.
8588 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
8589 tmake_file.
8590 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
8591 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
8592 (alpha*-dec-*vms*): Likewise.
8593 (arm*-*-freebsd*): Append to tmake_file.
8594 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
8595 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
8596 arm*-*-linux-*eabi.
8597 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
8598 tmake_file for arm*-*-symbianelf*.
8599 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
8600 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
8601 cris/t-linux.
8602 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
8603 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
8604 pa/t-slibgcc-dwarf-ver to tmake_file.
8605 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
8606 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
8607 (hppa*64*-*-hpux11*): Likewise.
8608 (hppa[12]*-*-hpux11*): Likewise.
8609 (x86_64-*-darwin*): Don't override tmake_file, but only keep
8610 i386/t-crtpc, i386/t-crtfm.
8611 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
8612 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
8613 to tmake_file.
8614 Add i386/t-cygwin to tmake_file.
8615 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
8616 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
8617 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
8618 to tmake_file.
8619 Add i386/t-mingw32 to tmake_file.
8620 (x86_64-*-mingw*): Likewise.
8621 (ia64*-*-freebsd*): Append to tmake_file.
8622 (ia64*-*-linux*): Append to tmake_file.
8623 Replace ia64/t-glibc by ia64/t-linux.
8624 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
8625 system libunwind.
8626 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
8627 t-slibgcc-hpux to tmake_file.
8628 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
8629 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
8630 (m32rle-*-linux*): Likewise.
8631 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
8632 sjlj exceptions.
8633 (microblaze*-linux*): New case.
8634 Append to tmake_file, add t-slibgcc-nolc-override.
8635 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
8636 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
8637 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
8638 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
8639 rs6000/t-slibgcc-aix to tmake_file.
8640 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8641 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8642 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
8643 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
8644 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
8645 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
8646 sh*-*-linux*.
8647 (sparc-*-linux*): Append to tmake_file for *-leon*.
8648 Add sparc/t-linux to tmake_file for non-Leon targets.
8649 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
8650 (tic6x-*-uclinux): New case.
8651 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
8652 (tic6x-*-*): Add c6x/t-elf to tmake_file.
8653 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
8654 (am33_2.0-*-linux*): Append to tmake_file.
8655 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
8656 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
8657 x86_64-*-kfreebsd*-gnu.
8658 Add i386/t-linux to tmake_file.
8659
18b4bd7b
ILT
86602011-10-28 Ian Lance Taylor <iant@google.com>
8661
8662 * config/i386/morestack.S: Correct CFI information to do proper
8663 returns throughout function. In 32-bit mode, save %ebx so that it
8664 is restored on unwind.
8665
5b2d9d90
BS
86662011-10-25 Bernd Schmidt <bernds@codesourcery.com>
8667
8668 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
8669 case where B3 isn't the return register.
8670
0d53e346
BS
8671 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
8672 logic for doubleword pops.
8673
cbffbd59
AT
86742011-10-25 Andreas Tobler <andreast@fgznet.ch>
8675
8676 * config/rs6000/t-freebsd: Add wildcard.
8677
56dc349e
PB
86782011-10-21 Paul Brook <paul@codesourcery.com>
8679
8680 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
8681
1e06b07d
UB
86822011-10-16 Uros Bizjak <ubizjak@gmail.com>
8683 Eric Botcazou <ebotcazou@adacore.com>
8684
8685 PR target/50737
8686 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
8687 fs->signal_frame to 1.
8688
b5204884
ILT
86892011-10-07 Ian Lance Taylor <iant@google.com>
8690
8691 * generic-morestack-thread.c: #include <errno.h>.
8692
91a639a1
ILT
86932011-10-07 Ian Lance Taylor <iant@google.com>
8694
8695 PR target/46093
8696 * generic-morestack.c (__generic_morestack): Make sure the segment
8697 is large enough for both the stack frame and the copied
8698 parameters.
8699
cc49116d
RO
87002011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8701
8702 PR bootstrap/49804
8703 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
8704 extra_parts.
8705
2996d8c3
NC
87062011-09-28 Nick Clifton <nickc@redhat.com>
8707
8708 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
8709 64-bit doubles are not enabled.
8710 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
8711 and floatunsisf functions.
8712
1e874273 87132011-09-13 Paul Brook <paul@codesourcery.com>
2996d8c3 8714
1e874273
PB
8715 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
8716 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
8717 * unwind-arm-common.inc: New file.
8718 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
8719 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
8720 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
8721 * config/c6x/libunwind.S: New file.
8722 * config/c6x/pr-support.c: New file.
8723 * config/c6x/unwind-c6x.c: New file.
8724 * config/c6x/unwind-c6x.h: New file.
8725 * config/c6x/t-c6x-elf: New file.
8726
f70c879a
UB
87272011-08-23 Uros Bizjak <ubizjak@gmail.com>
8728
8729 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
8730 (ASM_DIVZERO): Ditto.
8731 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
8732
c55b374b
RS
87332011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
8734
8735 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
8736
1e138510
RS
87372011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
8738
8739 PR target/50090
8740 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
8741 instead of an assembly one.
8742
1563503d
PB
87432011-08-12 Paolo Bonzini <bonzini@gnu.org>
8744
8745 PR bootstrap/50047
8746 * Makefile.in (install-unwind_h): Create
8747 $(gcc_objdir)/include/unwind.h atomically.
8748
3627ac1a
RO
87492011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8750
8751 * Makefile.in (install-unwind_h): Remove destination file first.
8752
c6412d86
RO
87532011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8754
8755 * sync.c: New file.
8756 * config/mips/t-mips16: New file.
8757 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
8758 (mips*-*-linux*): Likewise.
8759 (mips*-sde-elf*): Likewise.
8760 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
8761 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
8762 Add mips/t-mips16 to tmake_file.
8763 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
8764 (mips-*-elf*): Likewise.
8765 (mips64-*-elf*): Likewise.
8766 (mips64orion-*-elf*): Likewise.
8767 (mips*-*-rtems*): Likewise.
8768 (mipstx39-*-elf*): Likewise.
8769 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
8770 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
8771 LIBGCC_SYNC_CFLAGS.
8772 Use $(srcdir) to refer to sync.c.
8773 Use $<.
8774 ($(libgcc-sync-funcs-o)): Likewise.
8775 ($(libgcc-sync-size-funcs-s-o)): Likewise.
8776 ($(libgcc-sync-funcs-s-o)): Likewise.
8777
3cb6e5bd
AS
87782011-08-09 Andreas Schwab <schwab@linux-m68k.org>
8779
8780 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
8781 t-libunwind.
8782
cca2207a
L
87832011-08-08 H.J. Lu <hongjiu.lu@intel.com>
8784
8785 PR other/48007
8786 * config/i386/value-unwind.h: New.
8787
ed39fbad
RS
87882011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
8789
8790 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
8791 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
8792 Add to tmake_file rather than overriding it.
8793
aca0b0b3
RO
87942011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8795
8796 * config/t-softfp: Remove.
8797 * soft-fp: Moved from ../gcc/config.
8798 * soft-fp/README: Remove t-softfp reference.
8799 * soft-fp/t-softfp: Move to config/t-softfp.
8800 (softfp_machine_header): Remove.
8801 (softfp_file_list): Remove config subdir.
8802 (soft-fp-objects): New variable.
8803 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
8804 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
8805 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
8806 * config/t-softfp-excl: New file.
8807 * config/t-softfp-sfdf: New file.
8808 * config/t-softfp-tf: New file.
8809 * config/no-sfp-machine.h: New file.
8810 * config/arm/sfp-machine.h: New file.
8811 * config/arm/t-softfp: New file.
8812 * config/c6x/sfp-machine.h: New file.
8813 * config/i386/32/t-fprules-softfp: Rename to ...
8814 * config/i386/32/t-softfp: ... this.
8815 (tifunctions, LIB2ADD): Remove.
8816 (softfp_int_modes): Override.
8817 * config/i386/64/t-softfp-compat (tf-functions): Remove config
8818 subdir.
8819 * config/i386/64/eqtf2.c: Likewise.
8820 * config/i386/64/getf2.c: Likewise.
8821 * config/i386/64/letf2.c: Likewise.
8822 * config/ia64/sft-machine.h: New file.
8823 * config/ia64/t-fprules-softfp: Rename to ...
8824 * config/ia64/t-softfp: ... this.
8825 * config/lm32/sfp-machine.h: New file.
8826 * config/moxie/t-moxie-softfp: Remove.
8827 * config/rs6000/ibm-ldouble-format: New file.
8828 * config/rs6000/ibm-ldouble.c: New file.
8829 * config/rs6000/libgcc-ppc-glibc.ver: New file
8830 * config/rs6000/libgcc-ppc64.ver: New file
8831 * config/rs6000/sfp-machine.h: New file.
8832 * config/rs6000/t-freebsd: New file.
8833 * config/rs6000/t-ibm-ldouble: New file.
8834 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
8835 libgcc-ppc-glibc.ver.
8836 * config/rs6000/t-linux64: New file.
8837 * config/rs6000/t-ppccomm (LIB2ADD): Add
8838 $(srcdir)/config/rs6000/ibm-ldouble.c.
8839 * config/rs6000/t-ppccomm-ldbl: New file.
8840 * config/score/sfp-machine.h: New file.
8841 * config.host (sfp_machine_header): Explain.
8842 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
8843 t-softfp to tmake_file.
8844 (arm*-*-uclinux*): Likewise.
8845 (arm*-*-ecos-elf): Likewise.
8846 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
8847 (arm*-*-rtems*): Likewise.
8848 (arm*-*-elf): Likewise.
8849 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
8850 in tmake_file.
8851 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
8852 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
8853 (lm32-*-uclinux*): Likewise.
8854 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
8855 t-softfp-excl, t-softfp.
8856 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
8857 (powerpc64-*-darwin*): Likewise.
8858 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
8859 to tmake_file.
8860 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
8861 tmake_file.
8862 (powerpc-*-eabisim*): Likewise.
8863 (powerpc-*-elf*): Likewise.
8864 (powerpc-*-eabialtivec*): Likewise.
8865 (powerpc-xilinx-eabi*): Likewise.
8866 (powerpc-*-rtems*): Likewise.
8867 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
8868 t-softfp-excl, t-softfp to tmake_file.
8869 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
8870 rs6000/t-ppccomm-ldbl to tmake_file.
8871 (powerpcle-*-elf*): Likewise.
8872 (powerpcle-*-eabisim*): Likewise.
8873 (powerpcle-*-eabi*): Likewise.
8874 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
8875 rs6000/t-ibm-ldouble to tmake_file.
8876 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8877 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8878 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
8879 (tic6x-*-*): Likewise.
8880 (i[34567]86-*-darwin*, x86_64-*-darwin*,
8881 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
8882 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
8883 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
8884 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
8885 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
8886 t-softfp to tmake_file.
8887 * configure.ac (sfp_machine_header): Provide default if unset.
8888 Substitute.
8889 Link sfp-machine.h to config/$sfp_machine_header.
8890 * configure: Regenerate.
8891
569dc494
RO
88922011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8893
8894 * Makefile.in (double_type_size, long_double_type_size): Set.
8895 Remove $(fpbit-in-libgcc) support.
8896 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
8897 (fpbit-src): New variable.
8898 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
8899 Compile with -DFLOAT $(FPBIT_CFLAGS).
8900 Use $<.
8901 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
8902 Compile with $(FPBIT_CFLAGS).
8903 Use $<.
8904 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
8905 Compile with -DFLOAT $(TPBIT_CFLAGS).
8906 Use $<.
8907 * configure.ac (double_type_size, long_double_type_size):
8908 Determine and substitute.
8909 * configure: Regenerate.
8910 * fp-bit.c, fp-bit.h: New files.
8911 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
8912 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
8913 * config/mips/t-mips: New file.
8914 * config/mips/t-sdemtk: New file.
8915 * config/rs6000/ppc64-fp.c: New file.
8916 * config/rs6000/t-darwin (LIB2ADD): Add
8917 $(srcdir)/config/rs6000/ppc64-fp.c.
8918 * config/rs6000/t-ppc64-fp: New file.
8919 * config/rx/rx-lib.h: New file.
8920 * config/rx/t-rx (FPBIT): Set to true.
8921 ($(gcc_objdir)/fp-bit.c): Remove.
8922 (DPBIT): Set to true only with -m64bit-doubles.
8923 ($(gcc_objdir)/dp-bit.c): Remove.
8924 * config/sparc/t-softfp: Remove.
8925 * config/spu/t-elf: New file.
8926 * config/t-fdpbit, config/t-fpbit: New files.
8927 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
8928 (mips*-*-*): Likewise.
8929 (arm-wrs-vxworks): Likewise.
8930 (arm*-*-freebsd*): Likewise.
8931 (avr-*-rtems*): Add t-fpbit to tmake_file.
8932 (avr-*-*): Likewise.
8933 (bfin*-elf*): Add t-fdpbit to tmake_file.
8934 (bfin*-uclinux*): Likewise.
8935 (bfin*-linux-uclibc*): Likewise.
8936 (bfin*-rtems*): New case.
8937 Add t-fdpbit to tmake_file.
8938 (bfin*-*): Add t-fdpbit to tmake_file.
8939 (crisv32-*-elf): Likewise.
8940 (cris-*-linux*): Likewise.
8941 (fr30-*-elf): Likewise.
8942 (frv-*-elf, frv-*-*linux*): Likewise.
8943 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
8944 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
8945 (m32r-*-elf*): Likewise.
8946 (m32rle-*-elf*): Likewise.
8947 (m32r-*-linux*): Likewise.
8948 (m32rle-*-linux*): Likewise.
8949 (mcore-*-elf): Add t-fdpbit to tmake_file.
8950 (microblaze*-*-*): Likewise.
8951 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
8952 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
8953 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
8954 Fix typo.
8955 Add mips/t-tpbit to tmake-file.
8956 (mips*-*-linux*): Fix typo.
8957 (mips*-sde-elf*): New case
8958 Add mips/t-sdemtk unless using newlib.
8959 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
8960 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
8961 (mn10300-*-*): Likewise.
8962 (pdp11-*-*): Likewise.
8963 (picochip-*-*): Add t-fpbit to tmake_file.
8964 (powerpc-*-eabisimaltivec*): Likewise.
8965 (powerpc-*-eabisim*): Likewise.
8966 (powerpc-*-elf*): Likewise.
8967 (powerpc-*-eabialtivec*): Likewise.
8968 (powerpc-xilinx-eabi*): New case.
8969 Add t-fdpbit to tmake_file.
8970 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
8971 (powerpc-*-rtems*): Likewise.
8972 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
8973 tmake_file.
8974 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
8975 tmake_file.
8976 (powerpc-*-lynxos*): Likewise.
8977 (powerpcle-*-elf*): Likewise.
8978 (powerpcle-*-eabisim*): Likewise.
8979 (powerpcle-*-eabi*): Likewise.
8980 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
8981 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
8982 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8983 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8984 (rx-*-elf): Add t-fdpbit to tmake_file.
8985 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
8986 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
8987 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
8988 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
8989 sh*-*-netbsd*.
8990 (sh-*-rtems*): Add t-fdpbit to tmake_file.
8991 (sh-wrs-vxworks): Likewise.
8992 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
8993 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
8994 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
8995 (sparc64-*-rtems*): ... new case.
8996 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
8997 (spu-*-elf*): Likewise.
8998 Add spu/t-elf to tmake_file.
8999 (v850*-*-*): Add t-fdpbit to tmake_file.
9000 (xstormy16-*-elf): Likewise.
9001 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
9002 (mep*-*-*): Likewise.
9003
201cdb74
RO
90042011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9005
9006 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
9007 variables.
9008 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
9009 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
9010 (install-unwind_h): New target.
9011 (all): Depend on it.
9012 * config.host (unwind_header): New variable.
9013 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
9014 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
9015 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
9016 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
9017 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
9018 Set unwind_header.
9019 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
9020 Set unwind_header.
9021 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
9022 arm*-*-eabi*.
9023 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
9024 Set unwind_header.
9025 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
9026 (ia64*-*-freebsd*): Likewise.
9027 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
9028 tmake_file.
9029 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
9030 $with_system_libunwind.
9031 (ia64*-*-hpux*): Set tmake_file.
9032 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
9033 (picochip-*-*): Set tmake_file.
9034 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
9035 md_unwind_header.
9036 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
9037 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
9038 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
9039 (xtensa*-*-elf*): Set tmake_file.
9040 (xtensa*-*-linux*): Likewise.
9041 * configure.ac: Include ../config/unwind_ipinfo.m4.
9042 Call GCC_CHECK_UNWIND_GETIPINFO.
9043 Link unwind.h to $unwind_header.
9044 * configure: Regenerate.
9045 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
9046 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
9047 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
9048 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
9049 * config/unwind-dw2-fde-darwin.c: New file.
9050 * config/arm/libunwind.S, config/arm/pr-support.c,
9051 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
9052 config/arm/unwind-arm.h,: New files.
9053 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
9054 config/ia64/t-eh-ia64, config/ia64/t-glibc,
9055 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
9056 config/ia64/t-vms, config/ia64/unwind-ia64.c,
9057 config/ia64/unwind-ia64.h: New files.
9058 * config/picochip/t-picochip: New file.
9059 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
9060 files.
9061 * config/rs6000/t-darwin (LIB2ADDEH): Set.
9062 * config/s390/t-tpf (LIB2ADDEH): Remove.
9063 * config/t-darwin (LIB2ADDEH): Set.
9064 * config/t-eh-dw2-dip: New file.
9065 * config/t-libunwind, config/t-libunwind-elf: New files.
9066 * config/t-sol2 (LIB2ADDEH): Remove.
9067 * config/xtensa/t-xtensa: New file.
9068
40f2f11f
L
90692011-08-02 H.J. Lu <hongjiu.lu@intel.com>
9070
9071 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
9072 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
9073 long long to check rt_sigreturn syscall.
9074
bd15e32c
AM
90752011-08-02 Alan Modra <amodra@gmail.com>
9076
9077 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
9078 Restore for indirect call bcrtl from correct stack slot, and only
9079 if cfa+40 isn't valid.
9080
655b30bf
JB
90812011-08-01 Julian Brown <julian@codesourcery.com>
9082
9083 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
9084 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
9085 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
9086
247eb06f
JB
90872011-08-01 Julian Brown <julian@codesourcery.com>
9088
9089 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
9090 (libgcc-std.ver.in): Use above.
9091 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
9092 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
9093 throughout file.
9094 * config/t-fixedpoint-gnu-prefix: New file.
9095 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
9096 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
9097 instead of __PFX__.
9098
02a8fe00
L
90992011-07-28 H.J. Lu <hongjiu.lu@intel.com>
9100
9101 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
9102 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
9103 for x86-64. Properly check __x86_64__ and __LP64__.
9104
5fce9126
L
91052010-07-28 H.J. Lu <hongjiu.lu@intel.com>
9106
9107 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
9108 version.
9109 (_FP_WS_TYPE): Likewise.
9110 (_FP_I_TYPE): Likewise.
9111
2374a88a
AM
91122011-07-28 Alan Modra <amodra@gmail.com>
9113
9114 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
9115 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
9116 in a plt call stub. Do restore r2 if stopped on bctrl.
9117
e44dbbe1
RO
91182011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9119
9120 * config.host (i[3456x]86-*-netware*): Remove.
9121 * config/i386/netware-crt0.c, config/i386/t-nwld,
9122 config/i386/t-slibgcc-nwld: Remove.
9123
bcead286
BS
91242011-07-15 Bernd Schmidt <bernds@codesourcery.com>
9125
9126 * config.host: Handle tic6x-*-*.
9127 * config/c6x/c6x-abi.h: New file.
9128
b3fe1584
RO
91292011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9130
9131 * config/i386/crtprec.c: New file.
9132 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
9133 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
9134 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
9135 (x86_64-*-darwin*): Likewise.
9136 (i[34567]86-*-solaris2*: Likewise.
9137
35d8090d
RO
91382011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9139
9140 * config/alpha/crtfastmath.c: New file.
9141 * config/i386/crtfastmath.c: New file.
9142 * config/ia64/crtfastmath.c: New file.
9143 * config/mips/crtfastmath.c: New file.
9144 * config/sparc/crtfastmath.c: New file.
9145
9146 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
9147 crtfastmath.c.
9148 Add -frandom-seed=gcc-crtfastmath.
9149 * config/alpha/t-crtfm: Remove.
9150 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
9151 * config/ia64/t-ia64 (crtfastmath.o): Remove.
9152
9153 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
9154 (alpha*-dec-osf5.1*): Likewise.
9155 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
9156 Add crtfastmath.o to extra_parts.
9157 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
9158 Add crtfastmath.o to extra_parts.
9159 (x86_64-*-darwin*): Likewise.
9160 (x86_64-*-mingw*): Likewise.
9161 (ia64*-*-elf*): Add t-crtfm to tmake_file.
9162 (ia64*-*-freebsd*): Likewise.
9163 (ia64*-*-linux*): Likewise.
9164 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
9165 Add crtfastmath.o to extra_parts.
9166
e141542e
RO
91672011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9168
9169 * config/darwin-crt3.o: New file.
9170 * config/rs6000/darwin-crt2.c: New file.
9171 * config/t-darwin: New file.
9172 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
9173 (crt2.o): New rule.
9174 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
9175 (powerpc-*-darwin*): Add crt2.o to extra_parts.
9176 (powerpc64-*-darwin*): Likewise.
9177
2d1efe2d
RO
91782011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9179
9180 * config/i386/netware-crt0.c: New file.
9181 * config/i386/t-nwld: Rename to ...
9182 * config/i386/t-slibgcc-nwld: ... this.
9183 * config/i386/t-nwld: New file.
9184 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
9185 tmake_file.
9186 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
9187 extra_parts.
9188
4a8bb046
RO
91892011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9190
9191 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
9192 i386/t-crtstuff.
9193 * configure: Regenerate.
9194
2d8d5935
RO
91952011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9196
9197 * dfp-bit.c, dfp-bit.h: New files.
9198 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
9199 variables.
9200 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
9201 ($(d64pbit-o)): Likewise.
9202 ($(d128pbit-o)): Likewise.
9203 * config/t-dfprules: New file.
9204 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
9205 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
9206 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
9207 (x86_64-*-linux*): Likewise.
9208 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
9209 (i[34567]86-*-cygwin*): Likewise.
9210 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
9211 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
9212
2c50b2c3
RO
92132011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9214
9215 * Makfile.in (LIBGCOV): New variable.
9216 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
9217 * libgcov.c: New file.
9218
a039d7c2
RO
92192011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9220
9221 * fixed-bit.c, fixed-bit.h: New files.
9222 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
9223 refer to fixed-bit.c.
9224
1e4b2746
JM
92252011-07-07 Joseph Myers <joseph@codesourcery.com>
9226
9227 * config.host (*local*): Remove.
9228
fbdd5d87
RO
92292011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9230
9231 PR target/39150
9232 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
9233 like i?86-*-solaris2.1[0-9]*.
9234 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
9235 * configure.ac (i?86-*-solaris2*): Likewise.
9236 * configure: Regenerate.
9237
9e7714f4
TS
92382011-07-06 Thomas Schwinge <thomas@schwinge.name>
9239
9240 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
9241 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
9242 md_unwind_header by splitting out of...
9243 (i[34567]86-*-linux*): ... this.
9244 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
9245 Remove md_unwind_header by splitting out of...
9246 (x86_64-*-linux*): ... this.
9247
6dab9931
GJL
92482011-07-04 Georg-Johann Lay <avr@gjlay.de>
9249
9250 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
9251
4be46d19
NC
92522011-06-28 Nick Clifton <nickc@redhat.com>
9253
9254 * config.host: Recognize all V850 variants.
9255
1da9434b
UB
92562011-06-22 Uros Bizjak <ubizjak@gmail.com>
9257
9258 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
9259
e4d48a4d
RO
92602011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9261
9262 * shared-object.mk (c_flags-$o): Save c_flags.
9263 ($(base)$(objext)): Use it.
9264 ($(base)_s$(objext)): Likewise.
9265
3801c801
BS
92662011-06-21 Bernd Schmidt <bernds@codesourcery.com>
9267
9268 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
9269 * libgcc-std.ver.in (GCC_4.7.0): New section.
9270
0ad8bb3b 92712011-06-16 Georg-Johann Lay <avr@gjlay.de>
1da9434b 9272
0ad8bb3b
GJL
9273 PR target/49313
9274 PR target/29524
9275 * config/avr/t-avr: Fix line endings.
9276 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
9277 _parityXX2.
9278
ea963999
OH
92792011-06-14 Olivier Hainque <hainque@adacore.com>
9280 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9281
9282 * config/mips/irix6-unwind.h: New file.
9283 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
9284
b11b0904
EB
92852011-06-10 Eric Botcazou <ebotcazou@adacore.com>
9286
9287 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
9288 (sparc64_fallback_frame_state): Use it.
9289 (sparc64_frob_update_context): Further adjust context.
9290 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
9291 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
9292 * config/sparc/sol2-cn.S: Likewise.
9293
10e48e39
RO
92942011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9295
9296 * enable-execute-stack-empty.c: New file.
9297 * enable-execute-stack-mprotect.c: New file.
9298 * config/i386/enable-execute-stack-mingw32.c: New file.
9299 * config.host (enable_execute_stack): New variable.
9300 Select appropriate variants.
9301 * configure.ac: Link enable-execute-stack.c to
9302 $enable_execute_stack.
9303 * configure: Regenerate.
9304 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
9305 (lib2funcs): Remove _enable_execute_stack.
9306
10c4cabc
DM
93072011-06-09 David S. Miller <davem@davemloft.net>
9308 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9309
9310 * config.host (sparc-*-linux*): Correct md_unwind_header
9311 filename.
9312 (s390x-ibm-tpf*): Fix typo.
9313
aa4203e7
RO
93142011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9315
9316 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
9317 Add crtfastmath.o to extra_parts.
9318 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
9319 mips/t-crtfm.
9320 * config/mips/t-crtfm: Remove.
9321
0defd786
JDA
93222011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
9323
9324 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
9325
82f247af
KK
93262011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
9327
9328 * config.host (sh*-*-linux*): Fix typo.
9329
58cd1d70
RO
93302011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9331
9332 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
9333 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
9334 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
9335 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
9336 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
9337 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
9338 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
9339 Wrap in !__MINGW64__.
9340 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
9341 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
9342 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
9343 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
9344 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
9345 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
9346 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
9347 Wrap in !__LP64__.
9348 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
9349 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
9350 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
9351 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
9352 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
9353 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
9354 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
9355 * config/no-unwind.h: New file.
9356 * config.host (md_unwind_header): Document.
9357 Define.
9358 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
9359 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
9360 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
9361 hppa[12]*-*-hpux11*): Set md_unwind_header.
9362 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
9363 Set md_unwind_header.
9364 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
9365 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
9366 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
9367 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
9368 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
9369 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
9370 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
9371 md_unwind_header.
9372 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
9373 * configure: Regenerate.
9374
737346fa
RO
93752011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9376
9377 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
9378 Set tmake_file, extra_parts.
9379 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
9380 Remove O32 support.
9381 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
9382 Remove O32 support.
9383 * config/mips/t-irix6: New file.
9384 * config/mips/t-slibgcc-irix: New file.
9385
c192cee6
RO
93862011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9387
9388 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
9389 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
9390
ee33b5f0
RO
93912011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9392
9393 * configure.ac (target_thread_file): Determine thread model.
9394 * configure: Regenerate.
9395 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
9396 * config/alpha/t-alpha: New file.
9397 * config/alpha/t-crtfm: Use $<.
9398 * config/alpha/t-ieee: New file.
9399 * config/alpha/t-osf-pthread: New file.
9400 * config/alpha/t-slibgcc-osf: New file.
9401 * config/alpha/libgcc-osf5.ver: New file.
9402
0699e415
RO
94032011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9404
9405 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
9406 tmake_file.
9407 Add crtfastmath.o to extra_parts.
9408
a3fab9c2
RO
94092011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9410
9411 * config/gmon-sol2.c: Reindent.
9412 Cleanup comments.
9413 Remove, correct casts.
9414 Use STDERR_FILENO, NULL.
9415 (BASEADDRESS): Remove.
9416 (minbrk): Remove.
9417 (errno, sbrk): Remove declarations.
9418 (monstartup) [hp300]: Remove.
9419 (mcount): Remove.
9420
ca24c5ad
RO
94212011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9422
9423 * Makefile.in (cpu_type): Define.
9424 * config.host (i[34567]86-*-rtems*): Handle it.
9425 (i[34567]86-*-solaris2*): Move body ...
9426 (*-*-solaris2*): ... here.
9427 New case, generalize.
9428 (sparc-*-elf*): Handle it.
9429 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
9430 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
9431 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
9432 Fold into ...
9433 (sparc*-*-solaris2*): ... this.
9434 New case.
9435 (sparc64-*-elf*): Handle it.
9436 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
9437 Merge ../gcc/config/i386/gmon-sol2.c.
9438 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
9439 Use C comments.
9440 Merge ../gcc/config/i386/sol2-gc1.asm.
9441 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
9442 Use C comments.
9443 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
9444 Use C comments.
9445 * config/i386/t-crtfm (crtfastmath.o): Use $<.
9446 * config/i386/t-crtstuff: New file.
9447 * config/i386/t-softfp: New file.
9448 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
9449 $(T)crti.o, $(T)crtn.o): Remove.
9450 (gcrt1.o): New rule.
9451 (TARGET_LIBGCC2_CFLAGS): Remove.
9452 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
9453 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
9454 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
9455 * config/sparc/t-sol2: New file.
9456 * config/sparc/t-crtfm: Move to ...
9457 * config/t-crtfm: ... this.
9458 Use $(cpu_type), $<.
9459 * config/t-crtin: New file.
9460 * config/sparc/t-softfp: New file.
9461 * config/sparc/t-softmul: New file.
9462 * config/t-rtems: New file.
9463 * config/t-slibgcc: New file.
9464 * config/t-slibgcc-elf-ver: New file.
9465 * config/t-slibgcc-gld: New file.
9466 * config/t-slibgcc-sld: New file.
9467 * config/t-sol2: New file.
9468 * configure.ac: Include ../config/lib-ld.m4.
9469 Call AC_LIB_PROG_LD_GNU.
9470 Substitute cpu_type.
9471 * configure: Regenerate.
9472
ad5f3d7b
BS
94732011-05-27 Bernd Schmidt <bernds@codesourcery.com>
9474
9475 PR bootstrap/49173
9476 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
9477 libgcc-std.ver in the build directory.
9478 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
9479 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
9480
cdbf4541
BS
94812011-05-25 Bernd Schmidt <bernds@codesourcery.com>
9482
9483 * libgcc-std.ver.in: New file.
9484 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
9485 variables.
9486 (libgcc-std.ver): New rule.
9487 * config/t-gnu-prefix: New file.
9488
c8028650
RO
94892011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9490
9491 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
9492
4a68b4ca
JM
94932011-05-10 Joseph Myers <joseph@codesourcery.com>
9494
9495 * config/i386/darwin-lib.h: New file.
9496
80cf2e08
JM
94972011-05-10 Joseph Myers <joseph@codesourcery.com>
9498
9499 * config/arm/symbian-lib.h: New.
9500
a3330c9d
CD
95012011-05-04 Chris Demetriou <cgd@google.com>
9502
9503 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
9504 (__x86.get_pc_thunk.bx): ...this.
9505 (__morestack): Adjust for rename, remove undef of __i686.
9506
6ace0756
CD
95072011-05-03 Chris Demetriou <cgd@google.com>
9508
9509 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
9510
ebb9f8b0
JM
95112011-03-22 Joseph Myers <joseph@codesourcery.com>
9512
9513 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
9514 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
9515 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
9516 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
9517 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
9518 Remove cases.
9519
9cfa1499
AT
95202011-03-14 Andreas Tobler <andreast@fgznet.ch>
9521
9522 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
9523 Adjust copyright year.
9524
457186f6
ILT
95252011-03-07 Ian Lance Taylor <iant@google.com>
9526
9527 * generic-morestack.c (__splitstack_find): Adjust returned stack
9528 pointer to include all registers pushed by __morestack.
9529
58c741a6
DK
95302011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
9531
9532 PR target/40125
9533 * configure.ac: Call ACX_NONCANONICAL_TARGET.
9534 (toolexecdir): Calculate and AC_SUBST.
9535 (toolexeclibdir): Likewise.
9536 * Makefile.in (target_noncanonical): Import.
9537 (toolexecdir): Likewise.
9538 (toolexeclibdir): Likewise.
9539 * configure: Regenerate.
9540
26716c44
NF
95412010-12-13 Nathan Froyd <froydnj@codesourcery.com>
9542
9543 PR target/46040
9544 * config/arm/bpabi.h: Rename to...
9545 * config/arm/bpabi-lib.h: ...this.
9546
b595b1a1
RO
95472010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9548
9549 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
9550 appropriate.
9551 * configure: Regenerate.
9552
a3abe41c
NF
95532010-11-24 Nathan Froyd <froydnj@codesourcery.com>
9554
9555 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
9556 __FLOAT_WORD_ORDER__.
9557 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
9558 Delete.
9559
455c8f48
RW
95602010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9561
9562 PR other/46202
9563 * Makefile.in (install-strip): New phony target.
9564
f3824a8b
ILT
95652010-11-07 Ian Lance Taylor <iant@google.com>
9566
9567 PR target/46089
9568 * config/i386/morestack.S (__morestack_large_model): New
9569 function.
9570
18ed6ee4
NF
95712010-10-23 Nathan Froyd <froydnj@codesourcery.com>
9572
9573 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
9574 Delete.
9575 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
9576
8ac7fdcb
NF
95772010-10-14 Nathan Froyd <froydnj@codesourcery.com>
9578
9579 * config/arm/bpabi.h: New file.
9580 * config/frv/frv-abi.h: New file.
9581
cdb388c2
ILT
95822010-10-01 Ian Lance Taylor <iant@google.com>
9583
9584 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
9585 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
9586
ef7c141c
L
95872010-10-01 H.J. Lu <hongjiu.lu@intel.com>
9588
9589 PR target/45858
9590 * config.host: Add the missing `$'.
9591
80920132
ME
95922010-09-30 Michael Eager <eager@eagercon.com>
9593
9594 * config.host: Add microblaze*-*-*.
9595 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
9596 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
9597 udivsi3.asm,umodsi3.asm}: New.
9598
6dace308
ILT
95992010-09-28 Ian Lance Taylor <iant@google.com>
9600
9601 * configure.ac: Adjust CFI test to test assembler directly rather
9602 than checking gcc preprocessor macro.
9603 * configure: Rebuild.
9604
b6110d6d
ILT
96052010-09-27 Ian Lance Taylor <iant@google.com>
9606
9607 * configure.ac: Test whether assembler supports CFI directives.
9608 * config.host: Only add t-stack and i386/t-stack-i386 to
9609 tmake_file if libgcc_cv_cfi is "yes".
9610 * configure: Rebuild.
9611
7458026b
ILT
96122010-09-27 Ian Lance Taylor <iant@google.com>
9613
9614 * generic-morestack.h: New file.
9615 * generic-morestack.c: New file.
9616 * generic-morestack-thread.c: New file.
9617 * config/i386/morestack.S: New file.
9618 * config/t-stack: New file.
9619 * config/i386/t-stack-i386: New file.
9620 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
9621 i386/t-stack-i386 to tmake_file.
9622
5b50fc0c
IS
96232010-09-21 Iain Sandoe <iains@gcc.gnu.org>
9624
9625 * Makefile.in (libgcc-extra-parts): Check for static archives and
9626 invoke ranlib after installing them.
9627 (gcc-extra-parts): Likewise.
9628 (install-leaf): Likewise.
9629
b93cf342
L
96302010-09-14 H.J. Lu <hongjiu.lu@intel.com>
9631
9632 * configure: Regenerated.
9633
996b42ef
KT
96342010-09-10 Kai Tietz <kai.tietz@onevision.com>
9635
b93cf342 9636 * configure: Regenerated.
996b42ef 9637
be1c764e
GP
96382010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
9639 Andrew Pinski <pinskia@gmail.com>
9640
1da9434b 9641 PR target/40959
be1c764e
GP
9642 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
9643
cc0ae0ca
L
96442010-09-06 H.J. Lu <hongjiu.lu@intel.com>
9645
9646 PR target/45524
9647 * configure: Regenerated.
9648
84f47d20
AS
96492010-09-06 Andreas Schwab <schwab@redhat.com>
9650
9651 * configure: Regenerate.
9652
4159fb8d
UB
96532010-09-03 Uros Bizjak <ubizjak@gmail.com>
9654
9655 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
9656 64bit targets.
9657 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
9658 for 64bit targets.
9659
0df8fcc8
UB
96602010-09-03 Uros Bizjak <ubizjak@gmail.com>
9661 Iain Sandoe <iains@gcc.gnu.org>
9662
9663 PR target/45476
9664 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
9665 LIB2FUNCS_EXCLUDE functions.
9666
3c39bca6
AK
96672010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9668
9669 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
9670 Include dfp.m4.
9671 * configure: Regenerate.
9672
d78552bd
UB
96732010-09-01 Uros Bizjak <ubizjak@gmail.com>
9674
9675 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
9676 i386/t-freebsd to tmake_file.
9677 * config/i386/t-freebsd: New file.
9678 * config/i386/libgcc-bsd.ver: New file.
9679
c5b79d4e
NF
96802010-07-23 Nathan Froyd <froydnj@codesourcery.com>
9681
9682 * config.host (powerpc*-eabispe*): Set tmake_file.
9683 (powerpc*-eabi*): Likewise.
9684 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
9685 crtbeginS, crtendS, crtbeginT.
9686
48b09a92
KH
96872010-06-12 Kazu Hirata <kazu@codesourcery.com>
9688
9689 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
9690 to tmake_file. Add crtfastmath.o to extra_parts.
9691 * config/mips/t-crtfm: New.
9692
7d296953 96932010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
a4389204
JS
9694
9695 * config.host (sparc64-*-rtems*): New target.
9696
ed104137
RO
96972010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9698
9699 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
9700 assembler syntax.
9701
3f56ef8b
TS
97022010-04-15 Thomas Schwinge <tschwinge@gnu.org>
9703
9704 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
9705
8c200350
RO
97062010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9707
9708 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
9709 alpha-dec-osf5.0* support.
9710
7d296953 97112010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
c1b14424
RC
9712
9713 * config.host: Add lm32-*-rtems*.
9714
f128db92 97152010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7d296953 9716 Uros Bizjak <ubizjak@gmail.com>
f128db92
RO
9717
9718 PR target/39048
9719 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
9720 like other remaining 32-bit x86 OSes.
9721 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
9722 assembler syntax.
9723 * config/i386/libgcc-sol2.ver: New file.
9724 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
9725
7d296953 97262010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
368fabd5
JH
9727
9728 PR c/43553
9729 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
9730 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
9731 is used and substitute set_use_emutls.
9732 * configure: Regenerated.
9733
15baf7f8
TG
97342010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
9735
9736 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
9737
7f5441df
RO
97382010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9739
9740 PR target/38085
9741 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
9742 MULTILIB_CFLAGS.
9743 ($(T)gcrt1.o): Likewise.
9744 ($(T)crt1.o): Likewise.
9745 ($(T)crti.o): Likewise.
9746 ($(T)crtn.o): Likewise.
9747
ef74edbd
RW
97482010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9749
9750 PR other/42980
9751 * Makefile.in (install): Use $(MAKE) string in rule, for
9752 parallel make.
9753
e7c914db
HPN
97542010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
9755
9756 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
9757 * config/mmix/t-mmix: New file.
9758 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
9759
1bcb71c4
JH
97602010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
9761
9762 PR java/41991
9763 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
9764 SHLIB_MAPFILES.
9765
e6e50811
AG
97662010-01-04 Anthony Green <green@moxielogic.com>
9767
9768 * config/moxie/crti.asm, config/moxie/crtn.asm,
9769 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
9770 config/moxie/t-moxie: New files.
9771 * config.host: Add t-moxie-softfp reference.
9772
7d296953 97732009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
ca8520ad
IS
9774
9775 PR other/39888
9776 * config/t-slibgcc-darwin: Fix embedded rpaths for
9777 --enable-version-specific-runtime-libs, build extension stub
9778 libs exposing features available from current libgcc_s.
9779
7d296953 97802009-11-11 Jon Beniston <jon@beniston.com>
aa4945c1 9781
d78552bd
UB
9782 * config.host: Add lm32 targets.
9783 * config/lm32: New directory.
9784 * config/lm32/libgcc_lm32.h: New file.
9785 * config/lm32/_mulsi3.c: New file.
9786 * config/lm32/_udivmodsi4.c: New file.
9787 * config/lm32/_divsi3.c: New file.
9788 * config/lm32/_modsi3.c: New file.
9789 * config/lm32/_udivsi3.c: New file.
9790 * config/lm32/_umodsi3.c: New file.
9791 * config/lm32/_lshrsi3.S: New file.
9792 * config/lm32/_ashrsi3.S: New file.
9793 * config/lm32/_ashlsi3.S: New file.
9794 * config/lm32/crti.S: New file.
9795 * config/lm32/crtn.S: New file.
9796 * config/lm32/t-lm32: New file.
9797 * config/lm32/t-elf: New file.
9798 * config/lm32/t-uclinux: New file.
aa4945c1 9799
65a324b4
NC
98002009-10-26 Nick Clifton <nickc@redhat.com>
9801
9802 * config.host: Add support for RX target.
9803 * config/rx: New directory.
9804 * config/rx/rx-abi-functions.c: New file. Supplementary
9805 functions for libgcc to support the RX ABI.
9806 * config/rx/rx-abi.h: New file. Supplementary header file for
9807 libgcc RX ABI functions.
9808 * config/rx/t-rx: New file: Makefile fragment for building
9809 libgcc for the RX.
9810
dfb3b0e3
UB
98112009-10-09 Uros Bizjak <ubizjak@gmail.com>
9812
9813 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
9814 constraint of y0 to "g".
9815
81dd9fd7
AK
98162009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9817
9818 * config.host: Include the s390 makefile fragments.
9819 * config/s390/32/_fixdfdi.c: New file.
9820 * config/s390/32/_fixsfdi.c: New file.
9821 * config/s390/32/_fixtfdi.c: New file.
9822 * config/s390/32/_fixunsdfdi.c: New file.
9823 * config/s390/32/_fixunssfdi.c: New file.
9824 * config/s390/32/_fixunstfdi.c: New file.
9825 * config/s390/32/t-floattodi: New file.
9826 * config/s390/libgcc-glibc.ver: New file.
9827 * config/s390/t-crtstuff: New file.
9828 * config/s390/t-linux: New file.
9829 * config/s390/t-tpf: New file.
9830
df58e648
RW
98312009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9832
9833 * configure.ac (AC_PREREQ): Bump to 2.64.
9834
79052be3
KK
98352009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
9836
9837 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
9838
5213506e
RW
98392009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9840
9841 * configure: Regenerate.
9842
a9a25daa
DR
98432009-08-09 Douglas B Rupp <rupp@gnat.com>
9844
9845 * config.host (ia64-hp-*vms*): New target.
9846 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
9847 with ia64-hp-*vms*.
9848
6efbd53f
RW
98492009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9850
9851 * configure.ac: Add snippet for maintainer-mode.
9852 * configure: Regenerate.
9853 * Makefile.in (AUTOCONF, configure_deps): New variables.
9854 ($(srcdir)/configure)): New rule, active only with maintainer
9855 mode turned on.
9856
7acf4da6
DD
98572009-06-23 DJ Delorie <dj@redhat.com>
9858
9859 Add MeP port.
9860 * config.host: Add mep support.
9861
54f549af
KT
98622009-06-22 Kai Tietz <kai.tietz@onevision.com>
9863
34481f28 9864 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 9865 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
34481f28
UB
9866
9867 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
9868 for mingw targets.
54f549af
KT
9869 * config/i386/64/_multc3.c: Likewise.
9870 * config/i386/64/_powitf2.c: Likewise.
9871 * config/i386/64/eqtf2.c: Likewise.
9872 * config/i386/64/getf2.c: Likewise.
9873 * config/i386/64/letf2.c: Likewise.
9874 * config/i386/64/letf2.c: Likewise.
34481f28
UB
9875 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
9876 unsigned long long for x64 mingw targets.
9877 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
9878 (_FP_I_TYPE): Define as long long for x64 mingw target.
54f549af 9879
fea96e25
MR
98802009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
9881
9882 * config.host (vax-*-linux*): New.
9883
cceb575c
AG
98842009-05-31 Anthony Green <green@moxielogic.com>
9885
9886 * config.host: Add moxie support.
9887 * config/moxie/t-moxie: New file.
9888
7d296953 98892009-05-29 David Billinghurst <billingd@gcc.gnu.org>
e997fb9c
DB
9890
9891 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 9892 t-softfp to tmake_file for i[34567]86-*-cygwin*.
e997fb9c 9893
532bfb0a
AJ
98942009-04-17 Aurelien Jarno <aurelien@aurel32.net>
9895
9896 * config.host: Add i386/${host_address}/t-fprules-softfp to
9897 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
9898
748086b7
JJ
98992009-04-09 Nick Clifton <nickc@redhat.com>
9900
9901 * config/ia64/tf-signs.c: Change copyright header to refer to
9902 version 3 of the GNU General Public License with version 3.1
9903 of the GCC Runtime Library Exception and to point readers at
9904 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
9905 web page.
9906 * config/i386/32/tf-signs.c: Likewise.
9907 * config/libbid/_addsub_dd.c: Likewise.
9908 * config/libbid/_addsub_sd.c: Likewise.
9909 * config/libbid/_addsub_td.c: Likewise.
9910 * config/libbid/_dd_to_df.c: Likewise.
9911 * config/libbid/_dd_to_di.c: Likewise.
9912 * config/libbid/_dd_to_sd.c: Likewise.
9913 * config/libbid/_dd_to_sf.c: Likewise.
9914 * config/libbid/_dd_to_si.c: Likewise.
9915 * config/libbid/_dd_to_td.c: Likewise.
9916 * config/libbid/_dd_to_tf.c: Likewise.
9917 * config/libbid/_dd_to_udi.c: Likewise.
9918 * config/libbid/_dd_to_usi.c: Likewise.
9919 * config/libbid/_dd_to_xf.c: Likewise.
9920 * config/libbid/_df_to_dd.c: Likewise.
9921 * config/libbid/_df_to_sd.c: Likewise.
9922 * config/libbid/_df_to_td.c: Likewise.
9923 * config/libbid/_di_to_dd.c: Likewise.
9924 * config/libbid/_di_to_sd.c: Likewise.
9925 * config/libbid/_di_to_td.c: Likewise.
9926 * config/libbid/_div_dd.c: Likewise.
9927 * config/libbid/_div_sd.c: Likewise.
9928 * config/libbid/_div_td.c: Likewise.
9929 * config/libbid/_eq_dd.c: Likewise.
9930 * config/libbid/_eq_sd.c: Likewise.
9931 * config/libbid/_eq_td.c: Likewise.
9932 * config/libbid/_ge_dd.c: Likewise.
9933 * config/libbid/_ge_sd.c: Likewise.
9934 * config/libbid/_ge_td.c: Likewise.
9935 * config/libbid/_gt_dd.c: Likewise.
9936 * config/libbid/_gt_sd.c: Likewise.
9937 * config/libbid/_gt_td.c: Likewise.
9938 * config/libbid/_isinfd128.c: Likewise.
9939 * config/libbid/_isinfd32.c: Likewise.
9940 * config/libbid/_isinfd64.c: Likewise.
9941 * config/libbid/_le_dd.c: Likewise.
9942 * config/libbid/_le_sd.c: Likewise.
9943 * config/libbid/_le_td.c: Likewise.
9944 * config/libbid/_lt_dd.c: Likewise.
9945 * config/libbid/_lt_sd.c: Likewise.
9946 * config/libbid/_lt_td.c: Likewise.
9947 * config/libbid/_mul_dd.c: Likewise.
9948 * config/libbid/_mul_sd.c: Likewise.
9949 * config/libbid/_mul_td.c: Likewise.
9950 * config/libbid/_ne_dd.c: Likewise.
9951 * config/libbid/_ne_sd.c: Likewise.
9952 * config/libbid/_ne_td.c: Likewise.
9953 * config/libbid/_sd_to_dd.c: Likewise.
9954 * config/libbid/_sd_to_df.c: Likewise.
9955 * config/libbid/_sd_to_di.c: Likewise.
9956 * config/libbid/_sd_to_sf.c: Likewise.
9957 * config/libbid/_sd_to_si.c: Likewise.
9958 * config/libbid/_sd_to_td.c: Likewise.
9959 * config/libbid/_sd_to_tf.c: Likewise.
9960 * config/libbid/_sd_to_udi.c: Likewise.
9961 * config/libbid/_sd_to_usi.c: Likewise.
9962 * config/libbid/_sd_to_xf.c: Likewise.
9963 * config/libbid/_sf_to_dd.c: Likewise.
9964 * config/libbid/_sf_to_sd.c: Likewise.
9965 * config/libbid/_sf_to_td.c: Likewise.
9966 * config/libbid/_si_to_dd.c: Likewise.
9967 * config/libbid/_si_to_sd.c: Likewise.
9968 * config/libbid/_si_to_td.c: Likewise.
9969 * config/libbid/_td_to_dd.c: Likewise.
9970 * config/libbid/_td_to_df.c: Likewise.
9971 * config/libbid/_td_to_di.c: Likewise.
9972 * config/libbid/_td_to_sd.c: Likewise.
9973 * config/libbid/_td_to_sf.c: Likewise.
9974 * config/libbid/_td_to_si.c: Likewise.
9975 * config/libbid/_td_to_tf.c: Likewise.
9976 * config/libbid/_td_to_udi.c: Likewise.
9977 * config/libbid/_td_to_usi.c: Likewise.
9978 * config/libbid/_td_to_xf.c: Likewise.
9979 * config/libbid/_tf_to_dd.c: Likewise.
9980 * config/libbid/_tf_to_sd.c: Likewise.
9981 * config/libbid/_tf_to_td.c: Likewise.
9982 * config/libbid/_udi_to_dd.c: Likewise.
9983 * config/libbid/_udi_to_sd.c: Likewise.
9984 * config/libbid/_udi_to_td.c: Likewise.
9985 * config/libbid/_unord_dd.c: Likewise.
9986 * config/libbid/_unord_sd.c: Likewise.
9987 * config/libbid/_unord_td.c: Likewise.
9988 * config/libbid/_usi_to_dd.c: Likewise.
9989 * config/libbid/_usi_to_sd.c: Likewise.
9990 * config/libbid/_usi_to_td.c: Likewise.
9991 * config/libbid/_xf_to_dd.c: Likewise.
9992 * config/libbid/_xf_to_sd.c: Likewise.
9993 * config/libbid/_xf_to_td.c: Likewise.
9994 * config/libbid/bid128.c: Likewise.
9995 * config/libbid/bid128_2_str.h: Likewise.
9996 * config/libbid/bid128_2_str_macros.h: Likewise.
9997 * config/libbid/bid128_2_str_tables.c: Likewise.
9998 * config/libbid/bid128_add.c: Likewise.
9999 * config/libbid/bid128_compare.c: Likewise.
10000 * config/libbid/bid128_div.c: Likewise.
10001 * config/libbid/bid128_fma.c: Likewise.
10002 * config/libbid/bid128_logb.c: Likewise.
10003 * config/libbid/bid128_minmax.c: Likewise.
10004 * config/libbid/bid128_mul.c: Likewise.
10005 * config/libbid/bid128_next.c: Likewise.
10006 * config/libbid/bid128_noncomp.c: Likewise.
10007 * config/libbid/bid128_quantize.c: Likewise.
10008 * config/libbid/bid128_rem.c: Likewise.
10009 * config/libbid/bid128_round_integral.c: Likewise.
10010 * config/libbid/bid128_scalb.c: Likewise.
10011 * config/libbid/bid128_sqrt.c: Likewise.
10012 * config/libbid/bid128_string.c: Likewise.
10013 * config/libbid/bid128_to_int16.c: Likewise.
10014 * config/libbid/bid128_to_int32.c: Likewise.
10015 * config/libbid/bid128_to_int64.c: Likewise.
10016 * config/libbid/bid128_to_int8.c: Likewise.
10017 * config/libbid/bid128_to_uint16.c: Likewise.
10018 * config/libbid/bid128_to_uint32.c: Likewise.
10019 * config/libbid/bid128_to_uint64.c: Likewise.
10020 * config/libbid/bid128_to_uint8.c: Likewise.
10021 * config/libbid/bid32_to_bid128.c: Likewise.
10022 * config/libbid/bid32_to_bid64.c: Likewise.
10023 * config/libbid/bid64_add.c: Likewise.
10024 * config/libbid/bid64_compare.c: Likewise.
10025 * config/libbid/bid64_div.c: Likewise.
10026 * config/libbid/bid64_fma.c: Likewise.
10027 * config/libbid/bid64_logb.c: Likewise.
10028 * config/libbid/bid64_minmax.c: Likewise.
10029 * config/libbid/bid64_mul.c: Likewise.
10030 * config/libbid/bid64_next.c: Likewise.
10031 * config/libbid/bid64_noncomp.c: Likewise.
10032 * config/libbid/bid64_quantize.c: Likewise.
10033 * config/libbid/bid64_rem.c: Likewise.
10034 * config/libbid/bid64_round_integral.c: Likewise.
10035 * config/libbid/bid64_scalb.c: Likewise.
10036 * config/libbid/bid64_sqrt.c: Likewise.
10037 * config/libbid/bid64_string.c: Likewise.
10038 * config/libbid/bid64_to_bid128.c: Likewise.
10039 * config/libbid/bid64_to_int16.c: Likewise.
10040 * config/libbid/bid64_to_int32.c: Likewise.
10041 * config/libbid/bid64_to_int64.c: Likewise.
10042 * config/libbid/bid64_to_int8.c: Likewise.
10043 * config/libbid/bid64_to_uint16.c: Likewise.
10044 * config/libbid/bid64_to_uint32.c: Likewise.
10045 * config/libbid/bid64_to_uint64.c: Likewise.
10046 * config/libbid/bid64_to_uint8.c: Likewise.
10047 * config/libbid/bid_b2d.h: Likewise.
10048 * config/libbid/bid_binarydecimal.c: Likewise.
10049 * config/libbid/bid_conf.h: Likewise.
10050 * config/libbid/bid_convert_data.c: Likewise.
10051 * config/libbid/bid_decimal_data.c: Likewise.
10052 * config/libbid/bid_decimal_globals.c: Likewise.
10053 * config/libbid/bid_div_macros.h: Likewise.
10054 * config/libbid/bid_dpd.c: Likewise.
10055 * config/libbid/bid_flag_operations.c: Likewise.
10056 * config/libbid/bid_from_int.c: Likewise.
10057 * config/libbid/bid_functions.h: Likewise.
10058 * config/libbid/bid_gcc_intrinsics.h: Likewise.
10059 * config/libbid/bid_inline_add.h: Likewise.
10060 * config/libbid/bid_internal.h: Likewise.
10061 * config/libbid/bid_round.c: Likewise.
10062 * config/libbid/bid_sqrt_macros.h: Likewise.
10063
100642009-04-09 Jakub Jelinek <jakub@redhat.com>
10065
10066 * Makefile.in: Change copyright header to refer to version
10067 3 of the GNU General Public License and to point readers at the
10068 COPYING3 file and the FSF's license web page.
10069 * config.host: Likewise.
10070
633dd061
AM
100712009-04-07 Alan Modra <amodra@bigpond.net.au>
10072
10073 * config.host: Reorder and merge to match config.gcc change.
10074
457d1d00
AM
100752009-04-03 Alan Modra <amodra@bigpond.net.au>
10076
10077 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
10078
52c0e446
JM
100792009-03-28 Joseph Myers <joseph@codesourcery.com>
10080
10081 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
10082 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
10083 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
10084 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
10085
ba181049
UB
100862009-02-12 Uros Bizjak <ubizjak@gmail.com>
10087
10088 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
10089 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
10090
c252db20
L
100912009-02-12 H.J. Lu <hongjiu.lu@intel.com>
10092
ba181049
UB
10093 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
10094 ia64/t-softfp-compat to tmake_file.
c252db20
L
10095
10096 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
10097
10098 * config/ia64/__divxf3.asm: New.
10099 * config/ia64/_fixtfdi.asm: Likewise.
10100 * config/ia64/_fixunstfdi.asm: Likewise.
10101 * config/ia64/_floatditf.asm: Likewise.
10102 * config/ia64/t-fprules-softfp: Likewise.
10103 * config/ia64/t-softfp-compat: Likewise.
10104 * config/ia64/tf-signs.c: Likewise.
10105
c60535f9
BE
101062009-01-18 Ben Elliston <bje@au.ibm.com>
10107
10108 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
10109
ce16861e
BE
101102009-01-16 Ben Elliston <bje@au.ibm.com>
10111
10112 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
10113 to tmake_file.
10114
bcf4713b
BE
101152009-01-13 Ben Elliston <bje@au.ibm.com>
10116
10117 * config/t-softfp: New file.
10118 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
10119 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
10120
7d296953 101212009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
2042cb04
JS
10122
10123 * config.host: Add m32r*-*-rtems*.
10124
7d296953 101252008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
541ed00e
JS
10126
10127 * config.host: Add m32c*-*-rtems*.
10128
19523300
RO
101292008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10130
10131 PR bootstrap/33100
10132 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
10133 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
10134 * configure: Regenerate.
10135 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
10136 tmake_file here from gcc/config.gcc.
10137 Move extra_parts here from gcc/config.gcc.
10138 * config/i386/t-sol2: Move here from gcc/config/i386.
10139 Use gcc_srcdir instead of srcdir.
10140
0a4a51c7
AN
101412008-11-18 Adam Nemet <anemet@caviumnetworks.com>
10142
10143 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
10144 case.
10145
2a761e46
TS
101462008-11-09 Thomas Schwinge <tschwinge@gnu.org>
10147
10148 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
10149
c0451df7
TS
101502008-10-08 Thomas Schwinge <tschwinge@gnu.org>
10151
10152 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
10153
358da97e
HS
101542008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
10155
10156 Add picoChip port.
10157 * config.host: Add picochip-*-*.
10158
c660f132
BW
101592008-08-06 Bob Wilson <bob.wilson@acm.org>
10160
10161 * config.host: Match more processor names for Xtensa.
10162
d1349557
L
101632008-07-08 H.J. Lu <hongjiu.lu@intel.com>
10164
10165 * config/i386/64/t-softfp-compat: Update comments.
10166
dd7b73c0
L
101672008-07-07 H.J. Lu <hongjiu.lu@intel.com>
10168
10169 * config/i386/64/_divtc3-compat.c: Moved to ...
10170 * config/i386/64/_divtc3.c: Here.
10171
10172 * config/i386/64/_multc3-compat.c: Moved to ...
10173 * config/i386/64/_multc3.c: Here.
10174
10175 * config/i386/64/_powitf2-compat.c: Moved to ...
10176 * config/i386/64/_powitf2.c: Here.
10177
10178 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
10179 .c suffix instead of -compat.c.
10180
6e1fab3d
UB
101812008-07-05 Uros Bizjak <ubizjak@gmail.com>
10182
10183 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
10184 (_FP_MUL_MEAT_D): Ditto.
10185 (_FP_DIV_MEAT_S): Ditto.
10186 (_FP_DIV_MEAT_D): Ditto.
10187
f92518d7
RS
101882008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
10189
10190 * Makefile.in: Add support for __sync_* libgcc functions.
10191
d0aede14
L
101922008-07-03 H.J. Lu <hongjiu.lu@intel.com>
10193
10194 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
10195
c174f11c
L
101962008-07-02 H.J. Lu <hongjiu.lu@intel.com>
10197
10198 PR boostrap/36702
10199 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
10200 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
10201
10202 * config/i386/64/t-fprules-softfp: Moved to ...
10203 * config/i386/64/t-softfp-compat: This. New.
10204
5f464fa2
UB
102052008-07-02 Uros Bizjak <ubizjak@gmail.com>
10206
10207 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
10208 Initialize f with 0.0.
10209
ff473280
L
102102008-07-02 H.J. Lu <hongjiu.lu@intel.com>
10211
10212 PR target/36669
10213 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
10214
10215 * config/i386/64/_divtc3-compat.c: New.
10216 * config/i386/64/_multc3-compat.c: Likewise.
10217 * config/i386/64/_powitf2-compat.c: Likewise.
10218 * config/i386/64/eqtf2.c: Likewise.
10219 * config/i386/64/getf2.c: Likewise.
10220 * config/i386/64/letf2.c: Likewise.
10221 * config/i386/64/t-fprules-softfp: Likewise.
10222
102232008-07-02 H.J. Lu <hongjiu.lu@intel.com>
10224
10225 * config.host: Add i386/${host_address}/t-fprules-softfp to
10226 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
dfb3b0e3 10227 i[34567]86-*-linux*, x86_64-*-linux*.
ff473280
L
10228
10229 * configure.ac: Set host_address to 64 or 32 for x86.
10230 * configure: Regenerated.
10231
10232 * Makefile.in (config.status): Also depend on
10233 $(srcdir)/config.host.
10234
10235 * config/i386/32/t-fprules-softfp: New.
10236 * config/i386/32/tf-signs.c: Likewise.
10237
10238 * config/i386/64/sfp-machine.h: New. Moved from gcc.
10239
102402008-07-02 H.J. Lu <hongjiu.lu@intel.com>
10241 Uros Bizjak <ubizjak@gmail.com>
10242
10243 * config/i386/32/sfp-machine.h: New.
10244
30551d99
NF
102452008-06-26 Nathan Froyd <froydnj@codesourcery.com>
10246
10247 * config/rs6000/t-ppccomm: Remove rules that conflict with
10248 auto-generated rules.
10249
18c04407
RW
102502008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
10251
10252 * configure.ac: sinclude override.m4.
10253 * configure: Regenerate.
10254
10fbe77a
BRF
102552008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
10256
10257 * configure: Regenerate.
10258
bc6d4c3f
JM
102592008-06-10 Joseph Myers <joseph@codesourcery.com>
10260
10261 * Makefile.in (DECNUMINC): Remove
10262 -I$(MULTIBUILDTOP)../../libdecnumber.
10263 * gstdint.h: New.
10264
cd985f66
JM
102652008-06-07 Joseph Myers <joseph@codesourcery.com>
10266
10267 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
10268 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
10269 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
10270 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
10271 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
10272 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
10273 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
10274 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
10275 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
10276 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
10277 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
10278 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
10279 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
10280 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
10281
93fea8d3
AL
102822008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
10283
10284 * config.host (sh2[lbe]*-*-linux*): Allow target.
10285
18724e30
NF
102862008-04-30 Nathan Froyd <froydnj@codesourcery.com>
10287
10288 * config/rs6000/t-ppccomm: Add build rules for new files.
10289 (LIB2ADD_ST): New variable.
10290
47583040
AH
102912008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
10292
10293 PR target/34210
10294 PR target/35508
10295 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
10296 * config/t-avr: New file. Build 16bit libgcc functions.
10297
cf8e67fe
JJ
102982008-03-02 Jakub Jelinek <jakub@redhat.com>
10299
10300 PR target/35401
10301 * config/t-slibgcc-darwin: Make install-leaf dependent on
10302 install-darwin-libgcc-stubs instead of install.
10303
8d8da227
JM
103042008-01-25 Joseph Myers <joseph@codesourcery.com>
10305
10306 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
10307 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
10308 sh-*-rtemscoff*): Remove cases.
10309
edbf8b16
RS
103102007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
10311
10312 * Makefile.in (all): Use install-leaf rather than install.
10313 (install): Split most of the rule into...
10314 (install-leaf): ...this new one.
10315
89deeaff
EK
103162007-12-19 Etsushi Kato <ek.kato@gmail.com>
10317 Paolo Bonzini <bonzini@gnu.org>
10318
10319 PR target/30572
5f464fa2
UB
10320 * Makefile.in: Use @shlib_slibdir@ substitution to get
10321 correct install name on darwin.
89deeaff 10322 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
dfb3b0e3 10323
4081d704
HPN
103242007-12-15 Hans-Peter Nilsson <hp@axis.com>
10325
10326 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
10327 cris-*-elf and cris-*-none.
10328 (crisv32-*-linux*): Similar, as cris-*-linux*.
10329
f43e89a3
RIL
103302007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
10331
10332 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
10333
b4e9c2c6
L
103342007-10-27 H.J. Lu <hongjiu.lu@intel.com>
10335
10336 PR regression/33926
10337 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
10338 * configure: Regenerated.
10339
b2a00c89
L
103402007-09-27 H.J. Lu <hongjiu.lu@intel.com>
10341
10342 * Makefile.in (dfp-filenames): Replace decimal_globals,
10343 decimal_data, binarydecimal and convert_data with
10344 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
10345 and bid_convert_data, respectively.
10346
8d2a9e0e
CF
103472007-09-17 Chao-ying Fu <fu@mips.com>
10348 Nigel Stephens <nigel@mips.com>
10349
10350 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
10351 * Makefile.in (fixed_point): Define.
10352 Check if fixed_point is yes to build support functions.
10353 * configure.ac: Check for fixed_point support.
10354 * configure: Regenerated.
10355 * gen-fixed.sh: New file to generate lists of fixed-point labels,
10356 funcs, modes, from, to.
10357
2b53935d
JJ
103582007-09-11 Janis Johnson <janis187@us.ibm.com
10359
10360 * Makefile.in (dfp-filenames): Add bid128_noncomp.
10361
2533577f
JJ
103622007-09-10 Janis Johnson <janis187@us.ibm.com>
10363
10364 * Makefile.in (dfp-filenames): Remove decUtility, add
10365 decDouble, decPacked, decQuad, decSingle.
10366
3ae3dbd6
HK
103672007-08-27 Hans Kester <hans.kester@ellips.nl>
10368
10369 * config.host : Add x86_64-elf target.
10370
22867d02
L
103712007-07-06 H.J. Lu <hongjiu.lu@intel.com>
10372
10373 * configure.ac (set_have_cc_tls): Add a missing =.
10374 * configure: Regenerated.
10375
6f461e76
L
103762007-07-06 H.J. Lu <hongjiu.lu@intel.com>
10377
10378 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
10379 and x86_64-*-linux*.
10380
10381 * config/t-tls: New file.
10382
dfb3b0e3 10383 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
6f461e76
L
10384
10385 * configure.ac: Include ../config/enable.m4 and
10386 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
10387 supports TLS and substitute set_have_cc_tls.
10388 * configure: Regenerated.
10389
200359e8
L
103902007-07-04 H.J. Lu <hongjiu.lu@intel.com>
10391
10392 * Makefile.in: Use libbid for DFP when BID is enabled.
10393
76f5e200
DS
103942007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
10395
10396 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
dfb3b0e3 10397 extra_parts. Add config/i386/t-cygming to tmake_file.
76f5e200
DS
10398 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
10399
9bd196f0 104002007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
200359e8 10401 Danny Smith <dannysmith@users.sourceforge.net>
9bd196f0
ZM
10402
10403 PR target/29498
10404 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
10405 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
10406 * config/i386/t-crtfm: Compile crtfastmath.o with
10407 -minline-all-stringops.
10408
1910440e
RS
104092007-05-10 Richard Sandiford <richard@codesourcery.com>
10410
10411 * config.host (sparc-wrs-vxworks): New target.
10412
7d33c31d
KH
104132007-04-14 Kazu Hirata <kazu@codesourcery.com>
10414
10415 * config.host: Recognize fido.
10416
96fccd0d
JJ
104172007-04-04 Janis Johnson <janis187@us.ibm.com>
10418
10419 * configure: Check host, not target, for decimal float support.
10420
577565f9
UB
104212007-04-03 Uros Bizjak <ubizjak@gmail.com>
10422
10423 * config/i386/t-crtpc: New file.
10424 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
5f464fa2 10425 (x86_64-*-linux*): Ditto.
577565f9 10426
ccf8e764
RH
104272007-02-30 Kai Tietz <kai.tietz@onevision.com>
10428
10429 * config.host (x86_64-*-mingw*): New target.
10430
79b87c74
MM
104312007-03-23 Michael Meissner <michael.meissner@amd.com>
10432 H.J. Lu <hongjiu.lu@intel.com>
10433
10434 * Makefile.in (enable_decimal_float): New.
10435 (DECNUMINC): Add
10436 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
10437 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
10438 (decbits-filenames): This.
10439 (decbits-objects): New.
10440 (libgcc-objects): Add $(decbits-objects).
10441
10442 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
10443 Substitute enable_decimal_float.
10444 * configure: Regenerated.
10445
8fce4e31
HPN
104462007-03-19 Hans-Peter Nilsson <hp@axis.com>
10447
10448 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
10449
e8bb4597
BM
104502007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
10451
10452 * Makefile.in (install-info): New dummy target.
10453
344189f9
BS
104542007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
10455
10456 * config.host (bfin*-linux-uclibc*): Set extra_parts.
10457
ac84c172
BM
104582007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
10459
10460 * Makefile.in: Add install-html and install-pdf dummy
10461 targets.
10462
cd5c2357
RS
104632007-02-05 Roger Sayle <roger@eyesopen.com>
10464 Daniel Jacobowitz <dan@codesourcery.com>
10465
10466 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
10467 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
10468 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
10469
d9a66f98
JJ
104702007-01-29 Janis Johnson <janis187@us.ibm.com>
10471
10472 * Makefile.in (dec-filenames): Add decExcept.
10473
9891ec5f
DJ
104742007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
10475
10476 PR bootstrap/30469
10477 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
10478 -fprofile-use.
10479
d6efbf5a
DJ
104802007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
10481
10482 * configure.ac: Add --enable-version-specific-runtime-libs.
10483 Correct $slibdir default.
10484 * configure: Regenerated.
10485
17caeff2
JM
104862007-01-23 Joseph Myers <joseph@codesourcery.com>
10487
10488 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
10489
5ea41e3a
AP
104902007-01-21 Andrew Pinski <pinskia@gmail.com>
10491
10492 PR target/30519
10493 * config.host (alpha*-*-linux*): Set extra_parts.
10494
26900826
KK
104952007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
10496
10497 * config/sh/t-linux: New.
10498 * config.host (sh*-*-linux*): Set tmake_file.
10499
97af925b
DJ
105002007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
10501
10502 * Makefile.in (install): Handle multilibs.
10503
b0088af7
BM
105042007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
10505
10506 * Makefile.in: Added .PHONY entry for documentation targets.
10507
e0a9456a
BM
105082007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
10509
10510 * Makefile.in: Add empty info, html, dvi, pdf targets.
10511
7fd453b4
MS
105122007-01-04 Mike Stump <mrs@apple.com>
10513
10514 * Makefile.in (MAKEINFO): Remove.
10515 (PERL): Likewise.
10516
14e8fc8b
PB
105172007-01-04 Paolo Bonzini <bonzini@gnu.org>
10518
10519 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
10520 * configure: Regenerate.
10521 * Makefile.in (host_subdir): Substitute it.
dfb3b0e3 10522 (gcc_objdir): Use it.
14e8fc8b 10523
1555beba
DJ
105242007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
10525
10526 * config.host (ia64*-*-linux*): Set tmake_file.
10527
79e6eaeb
DJ
105282007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
10529
10530 * Makefile.in (version): Define.
10531
fa958513
DJ
105322007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
10533 Paolo Bonzini <bonzini@gnu.org>
10534
10535 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
10536 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
10537 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
10538 config/sparc/t-crtfm, config/t-slibgcc-darwin,
10539 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
10540 shared-object.mk, siditi-object.mk, static-object.mk: New files.
10541 * configure: Generated.
818ab71a 10542\f
8d9254fc 10543Copyright (C) 2007-2020 Free Software Foundation, Inc.
818ab71a
JJ
10544
10545Copying and distribution of this file, with or without modification,
10546are permitted in any medium without royalty provided the copyright
10547notice and this notice are preserved.