]> git.ipfire.org Git - thirdparty/gcc.git/blame - libgcc/ChangeLog
Fix libgomp plugin-gcn bug
[thirdparty/gcc.git] / libgcc / ChangeLog
CommitLineData
7491c17f
ML
12020-01-22 Martin Liska <mliska@suse.cz>
2
3 PR tree-optimization/92924
4 * libgcov-profiler.c (__gcov_topn_values_profiler_body): First
5 try to find an existing value, then find an empty slot
6 if not found.
7
5f32f9cf
ML
82020-01-22 Martin Liska <mliska@suse.cz>
9
10 PR tree-optimization/92924
11 * libgcov-driver.c (prune_topn_counter): New.
12 (prune_counters): Likewise.
13 (dump_one_gcov): Prune a run-time counter.
14 * libgcov-profiler.c (__gcov_topn_values_profiler_body):
15 For a known value, add GCOV_TOPN_VALUES to value.
16 Otherwise, decrement all counters by one.
17
463f6499
HPN
182020-01-18 Hans-Peter Nilsson <hp@axis.com>
19
20 * config/cris/arit.c (DS): Apply attribute __fallthrough__.
21
84479e3a
JDA
222020-01-18 John David Anglin <danglin@gcc.gnu.org>
23
24 PR libgcc/92988
25 * crtstuff.c (__do_global_dtors_aux): Only call __cxa_finalize if
26 DEFAULT_USE_CXA_ATEXIT is true.
27
e953433f 282020-01-16 Mihail-Calin Ionescu <mihail.ionescu@arm.com>
674dcc3f 29 Thomas Preud'homme <thomas.preudhomme@arm.com>
e953433f
MI
30
31 * config/arm/t-arm: Check return value of gcc rather than lack of
32 output.
33
03e87724
GJL
342020-01-14 Georg-Johann Lay <avr@gjlay.de>
35
36 * config/avr/lib1funcs.S (skip): Simplify.
37
af9bd920
KCY
382020-01-10 Kwok Cheung Yeung <kcy@codesourcery.com>
39
40 * config/gcn/atomic.c: Remove include of stdint.h.
41 (__sync_val_compare_and_swap_##SIZE): Replace uintptr_t with
42 __UINTPTR_TYPE__.
43
d6491d15
KCY
442020-01-09 Kwok Cheung Yeung <kcy@codesourcery.com>
45
46 * config/gcn/atomic.c: New.
47 * config/gcn/t-amdgcn (LIB2ADD): Add atomic.c.
48
f30dd607
GJL
492020-01-08 Georg-Johann Lay <avr@gjlay.de>
50
51 Implement 64-bit double functions.
52
53 PR target/92055
54 * config.host (tmake_file) [target=avr]: Add t-libf7,
55 t-libf7-math, t-libf7-math-symbols as specified by --with-libf7=.
56 * config/avr/t-avrlibc: Don't copy libgcc.a if there are modules
57 depending on sizeof (double) or sizeof (long double).
58 * config/avr/libf7: New folder.
59
5205a445
OH
602020-01-05 Olivier Hainque <hainque@adacore.com>
61
62 * config/gthr-vxworks.h: Guard #include vxAtomicLib.h
63 by IN_LIBGCC2.
64
8d9254fc
JJ
652020-01-01 Jakub Jelinek <jakub@redhat.com>
66
67 Update copyright years.
68
abb6c3ee
OH
692019-12-30 Olivier Hainque <hainque@adacore.com>
70
71 * config/gthr-vxworks.h: Use _vxworks-versions.h.
72 * config/gthr-vxworks-tls.c: Likewise.
73
d7f5094a
OH
742019-12-30 Olivier Hainque <hainque@adacore.com>
75
76 * config/gthr-vxworks.h (GTHREAD_ONCE_INIT): Use
77 standard zero-initializer syntax.
78
49cfaa2a
OH
792019-12-30 Olivier Hainque <hainque@adacore.com>
80
81 * config/gthr-vxworks-tls.c (__gthread_getspecific): Fix
82 reference to the internal VX_GET_TLS_DATA interface.
83
89b9a554
OH
842019-12-30 Olivier Hainque <hainque@adacore.com>
85
86 * config/vxcrtstuff.c: Fix incorrect spelling of
87 USE_INITFINI_ARRAY in guard.
88
e8aa9f55
JL
892019-12-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
90
91 * config.host: s/msp430*-*-elf/msp430-*-elf*.
92 Override default "extra_parts" variable.
93 * configure: Regenerate.
94 * configure.ac: Disable TM clone registry by default for
95 msp430-elfbare.
96
a9046e98
JL
972019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
98
99 * config.host (msp430*-*-elf): Add crt{begin,end}_no_eh.o to
100 "extra_parts".
101 * config/msp430/t-msp430: Add rules to build crt{begin,end}_no_eh.o.
102
34a53788
JL
1032019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
104
105 * crtstuff.c: Declare __dso_handle only if DEFAULT_USE_CXA_ATEXIT is
106 true.
107
21a098f4
JL
1082019-12-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
109
110 * crtstuff.c (__do_global_dtors_aux): Check if USE_EH_FRAME_REGISTRY is
111 defined instead of its value.
112
ad8b7783
JL
1132019-12-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
114
115 * crtstuff.c (__do_global_dtors_aux): Wrap in #if so it's only defined
116 if it will have contents.
117
08d7ff78
GJL
1182019-12-05 Georg-Johann Lay <avr@gjlay.de>
119
120 PR target/92055
121 * config/avr/t-avrlibc (MULTISUBDIR): Search for double, not double64.
122
3d3a96a2
SN
1232019-11-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
124
34b4d99d 125 PR libgcc/91737
3d3a96a2
SN
126 * config.host: Add t-gthr-noweak on *-*-musl*.
127 * config/t-gthr-noweak: New file.
128
632b5e3d
JDA
1292019-11-17 John David Anglin <danglin@gcc.gnu.org>
130
131 * config/pa/linux-atomic.c (__kernel_cmpxchg): Change argument 1 to
132 volatile void *. Remove trap check.
133 (__kernel_cmpxchg2): Likewise.
134 (FETCH_AND_OP_2): Adjust operand types.
135 (OP_AND_FETCH_2): Likewise.
136 (FETCH_AND_OP_WORD): Likewise.
137 (OP_AND_FETCH_WORD): Likewise.
138 (COMPARE_AND_SWAP_2): Likewise.
139 (__sync_val_compare_and_swap_4): Likewise.
140 (__sync_bool_compare_and_swap_4): Likewise.
141 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
142 (__sync_lock_test_and_set_4): Likewise.
143 (SYNC_LOCK_RELEASE_1): Likewise. Use __kernel_cmpxchg2 for release.
144 (__sync_lock_release_4): Adjust operand types. Use __kernel_cmpxchg
145 for release.
146 (__sync_lock_release_8): Remove.
147
838fd641
SN
1482019-11-15 Szabolcs Nagy <szabolcs.nagy@arm.com>
149
150 * config/m68k/linux-unwind.h (struct uw_ucontext): Use sigset_t instead
151 of __sigset_t.
152
27204060
JL
1532019-11-14 Jerome Lambourg <lambourg@adacore.com>
154 Doug Rupp <rupp@adacore.com>
155 Olivier Hainque <hainque@adacore.com>
156
157 * config.host: Collapse the arm-vxworks entries into
158 a single arm-wrs-vxworks7* one.
159 * config/arm/unwind-arm-vxworks.c: Update comments. Provide
160 __gnu_Unwind_Find_exidx and a weak dummy __cxa_type_match for
161 kernel modules, to be overriden by libstdc++ when we link with
162 it. Rely on externally provided __exidx_start/end.
163
3004f893
DR
1642019-11-14 Doug Rupp <rupp@adacore.com>
165 Olivier Hainque <hainque@adacore.com>
166
167 * config.host: Handle aarch64*-wrs-vxworks7*.
168
36e5f4d4
OH
1692019-11-12 Olivier Hainque <hainque@adacore.com>
170
171 * config/t-gthr-vxworksae: New file, add all the gthr-vxworks
172 sources except the cxx0x support to LIB2ADDEH. We don't support
173 cxx0x on AE/653.
174 * config/t-vxworksae: New file.
175 * config.host: Handle *-*-vxworksae: Add the two aforementioned
176 Makefile fragment files at their expected position in the tmake_file
177 list, in accordance with what is done for other VxWorks variants.
178
806dd047
CG
1792019-11-12 Corentin Gay <gay@adacore.com>
180 Jerome Lambourg <lambourg@adacore.com>
181 Olivier Hainque <hainque@adacore.com>
182
183 * config/t-gthr-vxworks: New file, add all the gthr-vxworks
184 sources to LIB2ADDEH.
185 * config/t-vxworks: Remove adjustments to LIB2ADDEH.
186 * config/t-vxworks7: Likewise.
187
188 * config.host: Append a block at the end of the file to add the
189 t-gthr files to the tmake_file list for VxWorks after everything
190 else.
191
192 * config/vxlib.c: Rename as gthr-vxworks.c.
193 * config/vxlib-tls.c: Rename as gthr-vxworks-tls.c.
194
195 * config/gthr-vxworks.h: Simplify a few comments. Expose a TAS
196 API and a basic error checking API, both internal. Simplify the
197 __gthread_once_t type definition and initializers. Add sections
198 for condition variables support and for the C++0x thread support,
199 conditioned against Vx653 for the latter.
200
201 * config/gthr-vxworks.c (__gthread_once): Simplify comments and
202 implementation, leveraging the TAS internal API.
203 * config/gthr-vxworks-tls.c: Introduce an internal TLS data access
204 API, leveraging the general availability of TLS services in VxWorks7
205 post SR6xxx.
206 (__gthread_setspecific, __gthread_setspecific): Use it.
207 (tls_delete_hook): Likewise, and simplify the enter/leave dtor logic.
208 * config/gthr-vxworks-cond.c: New file. GTHREAD_COND variable
209 support based on VxWorks primitives.
210 * config/gthr-vxworks-thread.c: New file. GTHREAD_CXX0X support
211 based on VxWorks primitives.
212
78e49fb1
JL
2132019-11-06 Jerome Lambourg <lambourg@adacore.com>
214 Olivier Hainque <hainque@adacore.com>
215
216 * config/vxcrtstuff.c: New file.
217 * config/t-vxcrtstuff: New Makefile fragment.
218 * config.host: Append t-vxcrtstuff to the tmake_file list
219 on all VxWorks ports using dwarf for table based EH.
220
29f3def3
GJL
2212019-11-07 Georg-Johann Lay <avr@gjlay.de>
222
223 Support 64-bit double and 64-bit long double configurations.
224
225 PR target/92055
226 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Only add -DF=SF if
227 long double is a 32-bit type.
228 * config/avr/t-avrlibc: Copy double64 and long-double64
229 multilib(s) from the vanilla one.
230 * config/avr/t-copy-libgcc: New Makefile snip.
231
62ec242e
JL
2322019-11-04 Jozef Lawrynowicz <jozef.l@mittosystems.com>
233
234 * crtstuff.c: Define USE_TM_CLONE_REGISTRY to 0 if it's undefined and
235 the target output object format is not ELF.
236 s/defined(USE_TM_CLONE_REGISTRY)/USE_TM_CLONE_REGISTRY.
237
da5c1bbe
OE
2382019-11-03 Oleg Endo <olegendo@gcc.gnu.org>
239
240 PR libgcc/78804
241 * fp-bit.h: Remove FLOAT_BIT_ORDER_MISMATCH.
242 * fp-bit.c (pack_d, unpack_d): Remove special cases for
243 FLOAT_BIT_ORDER_MISMATCH.
244 * config/arc/t-arc: Remove FLOAT_BIT_ORDER_MISMATCH.
245
8dc56a22
JW
2462019-11-01 Jim Wilson <jimw@sifive.com>
247
248 * config/riscv/t-softfp32 (softfp_extra): Add FP divide routines
249
91c64455
JL
2502019-10-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
251
252 * config/msp430/lib2hw_mul.S: Fix wrong syntax in branch instruction.
253 s/RESULT_LO/RESLO, s/RESULT_HI/RESHI, s/MPY_OP1/MPY,
254 s/MPY_OP1_S/MPYS, s/MAC_OP1/MAC, s/MPY_OP2/OP2, s/MAC_OP2/OP2.
255 Define symbols for 32-bit and f5series hardware multiply
256 register addresses.
257 Replace hard-coded register addresses with symbols.
258 Fix "_mspabi*" typo.
259 Fix whitespace.
260 * config/msp430/lib2mul.c: Add comment.
261
85093ac6
JDA
2622019-10-15 John David Anglin <danglin@gcc.gnu.org>
263
264 * config/pa/fptr.c (_dl_read_access_allowed): Change argument to
265 unsigned int. Adjust callers.
266 (__canonicalize_funcptr_for_compare): Change plabel type to volatile
267 unsigned int *. Load relocation offset before function pointer.
268 Add barrier to ensure ordering.
269
1aea083d
JDA
2702019-10-12 John David Anglin <danglin@gcc.gnu.org>
271
272 * config/pa/lib2funcs.S (__gcc_plt_call): Load branch target to %r21.
273 Load PIC register after branch target. Fix white space.
274 * config/pa/milli64.S ($$dyncall): Separate LINUX and non LINUX
275 implementations. Load PIC register after branch target. Don't
276 clobber function pointer when it points to function descriptor.
277 Use nullification instead of branch in LINUX implementation.
278
c49af82c
JDA
2792019-10-03 John David Anglin <danglin@gcc.gnu.org>
280
281 * config/pa/fptr.c: Disable -Warray-bounds warning.
282
88a51d68
RH
2832019-09-25 Richard Henderson <richard.henderson@linaro.org>
284
9e46fd07
RH
285 * config.in, configure: Re-rebuild with stock autoconf 2.69,
286 not the ubuntu modified 2.69.
287
58d169ba
RH
288 PR target/91833
289 * config/aarch64/lse-init.c: Include auto-target.h. Disable
290 initialization if !HAVE_SYS_AUXV_H.
291 * configure.ac (AC_CHECK_HEADERS): Add sys/auxv.h.
292 * config.in, configure: Rebuild.
293
88a51d68
RH
294 PR target/91834
295 * config/aarch64/lse.S (LDNM): Ensure STXR output does not
296 overlap the inputs.
297
761e6bb9
SZ
2982019-09-25 Shaokun Zhang <zhangshaokun@hisilicon.com>
299
300 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Add support for
301 CTR_EL0.IDC and CTR_EL0.DIC.
302
76c93295
CL
3032019-09-20 Christophe Lyon <christophe.lyon@st.com>
304
305 Revert:
306 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
307 Mickaël Guêné <mickael.guene@st.com>
308
309 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
310 architecture.
311
33befddc
RH
3122019-09-19 Richard Henderson <richard.henderson@linaro.org>
313
314 * config/aarch64/lse-init.c: New file.
315 * config/aarch64/lse.S: New file.
316 * config/aarch64/t-lse: New file.
317 * config.host: Add t-lse to all aarch64 tuples.
318
ae1152e5
CL
3192019-09-10 Christophe Lyon <christophe.lyon@st.com>
320 Mickaël Guêné <mickael.guene@st.com>
321
84818dbb
CL
322 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
323 architecture.
324
3252019-09-10 Christophe Lyon <christophe.lyon@st.com>
326 Mickaël Guêné <mickael.guene@st.com>
327
ae1152e5
CL
328 * unwind-arm-common.inc (ARM_SET_R7_RT_SIGRETURN)
329 (THUMB2_SET_R7_RT_SIGRETURN, FDPIC_LDR_R12_WITH_FUNCDESC)
330 (FDPIC_LDR_R9_WITH_GOT, FDPIC_LDR_PC_WITH_RESTORER)
331 (FDPIC_FUNCDESC_OFFSET, ARM_NEW_RT_SIGFRAME_UCONTEXT)
332 (ARM_UCONTEXT_SIGCONTEXT, ARM_SIGCONTEXT_R0, FDPIC_T2_LDR_R12_WITH_FUNCDESC)
333 (FDPIC_T2_LDR_R9_WITH_GOT, FDPIC_T2_LDR_PC_WITH_RESTORER): New.
334 (__gnu_personality_sigframe_fdpic): New.
335 (get_eit_entry): Add FDPIC signal frame support.
336
5d727a4b
CL
3372019-09-10 Christophe Lyon <christophe.lyon@st.com>
338 Mickaël Guêné <mickael.guene@st.com>
339
340 * config/arm/linux-atomic.c (__kernel_cmpxchg): Add FDPIC support.
341 (__kernel_dmb): Likewise.
342 (__fdpic_cmpxchg): New function.
343 (__fdpic_dmb): New function.
344 * config/arm/unwind-arm.h (FDPIC_REGNUM): New define.
345 (gnu_Unwind_Find_got): New function.
346 (_Unwind_decode_typeinfo_ptr): Add FDPIC support.
347 * unwind-arm-common.inc (UCB_PR_GOT): New.
348 (funcdesc_t): New struct.
349 (get_eit_entry): Add FDPIC support.
350 (unwind_phase2): Likewise.
351 (unwind_phase2_forced): Likewise.
352 (__gnu_Unwind_RaiseException): Likewise.
353 (__gnu_Unwind_Resume): Likewise.
354 (__gnu_Unwind_Backtrace): Likewise.
355 * unwind-pe.h (read_encoded_value_with_base): Likewise.
356
b1e21e5a 3572019-09-10 Christophe Lyon <christophe.lyon@st.com>
11189793 358 Mickaël Guêné <mickael.guene@st.com>
b1e21e5a 359
11189793
CL
360 * libgcc/crtstuff.c: Add support for FDPIC.
361
3622019-09-10 Christophe Lyon <christophe.lyon@st.com>
363
364 * config.host: Handle *-*-uclinuxfdpiceabi.
b1e21e5a 365
91dfef96
JM
3662019-09-09 Jose E. Marchesi <jose.marchesi@oracle.com>
367
368 * config.host: Set cpu_type for bpf-*-* targets.
369 * config/bpf/t-bpf: Likewise.
370 * config/bpf/crtn.S: Likewise.
371 * config/bpf/crti.S: New file.
372
2f4d8951
JW
3732019-09-06 Jim Wilson <jimw@sifive.com>
374
375 * config.host (riscv*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
376 (riscv*-*-freebsd*): Likewise.
377
2f2aeda9
UW
3782019-09-03 Ulrich Weigand <uweigand@de.ibm.com>
379
380 * config.host: Remove references to spu.
381 * config/spu/: Remove directory.
382
d16017da
JL
3832019-08-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
384
385 PR target/91306
386 * crtstuff.c (__CTOR_LIST__): Align to the "__alignof__" the array
387 element type, instead of "sizeof" the element type.
388 (__DTOR_LIST__): Likewise.
389 (__TMC_LIST__): Likewise.
390 (__do_global_dtors_aux_fini_array_entry): Likewise.
391 (__frame_dummy_init_array_entry): Likewise.
392 (__CTOR_END__): Likewise.
393 (__DTOR_END__): Likweise.
394 (__FRAME_END__): Likewise.
395 (__TMC_END__): Likewise.
396
a9fcfec3
HL
3972019-08-20 Lili Cui <lilicui@intel.com>
398
399 * config/i386/cpuinfo.h: Add INTEL_COREI7_TIGERLAKE and
400 INTEL_COREI7_COOPERLAKE.
401
428642b1
MT
4022019-07-31 Matt Thomas <matt@3am-software.com>
403 Nick Hudson <nick@nthcliff.demon.co.uk>
404 Matthew Green <mrg@eterna.com.au>
405 Maya Rashish <coypu@sdf.org>
406
407 * config.host (hppa*-*-netbsd*): New case.
408 * config/pa/t-netbsd: New file.
409
f0efd925
JH
4102019-07-31 Joel Hutton <Joel.Hutton@arm.com>
411
412 * config/arm/cmse.c (cmse_check_address_range): Add
413 warn_unused_result attribute.
414
a861990d
ML
4152019-07-22 Martin Liska <mliska@suse.cz>
416
417 * config/pa/stublib.c: Remove stub symbol __gnu_lto_v1.
418 * config/pa/t-stublib: Likewise.
419
9c0dba7c
SH
4202019-07-22 Stafford Horne <shorne@gmail.com>
421
422 PR target/90362
423 * config/or1k/lib1funcs.S (__udivsi3): Change l.sfeqi
424 to l.sfeq and l.sfltsi to l.sflts equivalents as the immediate
425 instructions are not available on every processor. Change a
426 l.bnf to l.bf to fix logic issue.
427
61afc8f8
IS
4282019-07-04 Iain Sandoe <iain@sandoe.co.uk>
429
430 * config.host: Remove reference to t-darwin8.
431
179c7ef5
IS
4322019-07-03 Iain Sandoe <iain@sandoe.co.uk>
433
434 * config.host (powerpc-*-darwin*,powerpc64-*-darwin*): Revise crt
435 list.
436 * config/rs6000/t-darwin: Build crt3_2 for older systems. Revise
437 mmacosx-version-min for crts to run across all system versions.
438 * config/rs6000/t-darwin64 (LIB2ADD): Remove.
439 * config/t-darwin: Revise mmacosx-version-min for crts to run across
440 system versions >= 10.4.
441
596341c7
ML
4422019-07-03 Martin Liska <mliska@suse.cz>
443
444 * Makefile.in: Use topn_values instead of one_value names.
445 * libgcov-merge.c (__gcov_merge_single): Move to ...
446 (__gcov_merge_topn): ... this.
447 (merge_single_value_set): Move to ...
448 (merge_topn_values_set): ... this.
449 * libgcov-profiler.c (__gcov_one_value_profiler_body): Move to
450 ...
451 (__gcov_topn_values_profiler_body): ... this.
452 (__gcov_one_value_profiler_v2): Move to ...
453 (__gcov_topn_values_profiler): ... this.
454 (__gcov_one_value_profiler_v2_atomic): Move to ...
455 (__gcov_topn_values_profiler_atomic): ... this.
456 (__gcov_indirect_call_profiler_v4): Remove.
457 * libgcov-util.c (__gcov_single_counter_op): Move to ...
458 (__gcov_topn_counter_op): ... this.
459 * libgcov.h (L_gcov_merge_single): Remove.
460 (L_gcov_merge_topn): New.
461 (__gcov_merge_single): Remove.
462 (__gcov_merge_topn): New.
463 (__gcov_one_value_profiler_v2): Move to ..
464 (__gcov_topn_values_profiler): ... this.
465 (__gcov_one_value_profiler_v2_atomic): Move to ...
466 (__gcov_topn_values_profiler_atomic): ... this.
467
1b309ca5
ML
4682019-07-03 Martin Liska <mliska@suse.cz>
469
470 * libgcov-merge.c (merge_single_value_set): Support N values.
471 * libgcov-profiler.c (__gcov_one_value_profiler_body): Likewise.
472
5a460280
ID
4732019-06-27 Ilia Diachkov <ilia.diachkov@optimitech.com>
474
475 * Makefile.in (USE_TM_CLONE_REGISTRY): New.
476 (CRTSTUFF_CFLAGS): Use USE_TM_CLONE_REGISTRY.
477 * configure.ac: Add --disable-tm-clone-registry option.
478 * configure: Regenerate.
479
45309d28
ML
4802019-06-27 Martin Liska <mliska@suse.cz>
481
482 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Remove obviously
483 dead assignments.
484 * libgcov-util.c: Likewise.
485
c2f7a665
ML
4862019-06-27 Martin Liska <mliska@suse.cz>
487
488 * libgcov-util.c (gcov_profile_merge): Release allocated
489 memory.
490 (calculate_overlap): Likewise.
491
a8e55c61
IS
4922019-06-25 Iain Sandoe <iain@sandoe.co.uk>
493
494 * config.host: Add libef_ppc.a to the extra files for powerpc-darwin.
495 * config/rs6000/t-darwin: (PPC_ENDFILE_SRC, PPC_ENDFILE_OBJS): New.
496 Build objects for the out of line save/restore register functions
497 so that they can be used for any supported Darwin version.
498 * config/t-darwin: Default the build Darwin version to Darwin8
499 (MacOS 10.4).
500
e5ce4cbc
ML
5012019-06-25 Martin Liska <mliska@suse.cz>
502
503 * libgcov-driver-system.c (replace_filename_variables): Do not
504 call strlen with NULL argument.
505
52a47d28
AS
5062019-06-25 Andrew Stubbs <ams@codesourcery.com>
507
508 * config/gcn/t-amdgcn (LIB2ADD): Add unwind-gcn.c.
509 * config/gcn/unwind-gcn.c: New file.
510
76d46331
KCY
5112019-06-25 Kwok Cheung Yeung <kcy@codesourcery.com>
512 Andrew Stubbs <ams@codesourcery.com>
513
514 * configure: Regenerate.
515 * config/gcn/gthr-gcn.h: New.
516
787783a0
TV
5172019-06-18 Tom de Vries <tdevries@suse.de>
518
519 * config/nvptx/crt0.c (__main): Declare.
520
f32f7585
MG
5212019-06-17 Matthew Green <mrg@eterna.com.au>
522 Maya Rashish <coypu@sdf.org>
523
524 * config.host (aarch64*-*-netbsd*): New case.
525
0fcc78f7
JL
5262019-06-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
527
528 * config/msp430/slli.S (__mspabi_sllll): New library function for
529 performing a logical left shift of a 64-bit value.
530 * config/msp430/srai.S (__mspabi_srall): New library function for
531 performing a arithmetic right shift of a 64-bit value.
532 * config/msp430/srll.S (__mspabi_srlll): New library function for
533 performing a logical right shift of a 64-bit value.
534
b27c1082
MT
5352019-06-14 Matt Thomas <matt@3am-software.com>
536 Matthew Green <mrg@eterna.com.au>
537 Nick Hudson <skrll@netbsd.org>
538 Maya Rashish <coypu@sdf.org>
539
540 * config.host (arm*-*-netbsdelf*): Add support for EABI configurations.
541 * config/arm/t-netbsd (LIB1ASMFUNCS): Add some additional assembler
542 functions to build.
543 * config/arm/t-netbsd-eabi: New file.
544
ae7deb4b
DD
5452019-06-12 Dimitar Dimitrov <dimitar@dinux.eu>
546
547 * config.host: Add PRU target.
548 * config/pru/asri.c: New file.
549 * config/pru/eqd.c: New file.
550 * config/pru/eqf.c: New file.
551 * config/pru/ged.c: New file.
552 * config/pru/gef.c: New file.
553 * config/pru/gtd.c: New file.
554 * config/pru/gtf.c: New file.
555 * config/pru/led.c: New file.
556 * config/pru/lef.c: New file.
557 * config/pru/lib2bitcountHI.c: New file.
558 * config/pru/lib2divHI.c: New file.
559 * config/pru/lib2divQI.c: New file.
560 * config/pru/lib2divSI.c: New file.
561 * config/pru/libgcc-eabi.ver: New file.
562 * config/pru/ltd.c: New file.
563 * config/pru/ltf.c: New file.
564 * config/pru/mpyll.S: New file.
565 * config/pru/pru-abi.h: New file.
566 * config/pru/pru-asm.h: New file.
567 * config/pru/pru-divmod.h: New file.
568 * config/pru/sfp-machine.h: New file.
569 * config/pru/t-pru: New file.
570
0d7b3e47
JJ
5712019-06-11 Jakub Jelinek <jakub@redhat.com>
572
573 * libgcov-merge.c (__gcov_merge_single): Revert previous change.
574
54e2d83c
ML
5752019-06-10 Martin Liska <mliska@suse.cz>
576
577 PR bootstrap/90808
578 * libgcov.h: Add ATTRIBUTE_UNUSED.
579
92d41717
ML
5802019-06-10 Martin Liska <mliska@suse.cz>
581
582 * Makefile.in: Add __gcov_one_value_profiler_v2,
583 __gcov_one_value_profiler_v2_atomic and
584 __gcov_indirect_call_profiler_v4.
585 * libgcov-merge.c (__gcov_merge_single): Change
586 function signature.
587 (merge_single_value_set): New.
588 * libgcov-profiler.c (__gcov_one_value_profiler_body):
589 Update functionality.
590 (__gcov_one_value_profiler): Remove.
591 (__gcov_one_value_profiler_v2): ... this.
592 (__gcov_one_value_profiler_atomic): Rename to ...
593 (__gcov_one_value_profiler_v2_atomic): this.
594 (__gcov_indirect_call_profiler_v3): Rename to ...
595 (__gcov_indirect_call_profiler_v4): ... this.
596 * libgcov.h (__gcov_one_value_profiler): Remove.
597 (__gcov_one_value_profiler_atomic): Remove.
598 (__gcov_one_value_profiler_v2_atomic): New.
599 (__gcov_indirect_call_profiler_v3): Remove.
600 (__gcov_one_value_profiler_v2): New.
601 (__gcov_indirect_call_profiler_v4): New.
602 (gcov_get_counter_ignore_scaling): New function.
603
e37333ba
ML
6042019-06-07 Martin Liska <mliska@suse.cz>
605
606 * Makefile.in: Remove usage of
607 _gcov_merge_icall_topn.
608 * libgcov-driver.c (gcov_sort_n_vals): Remove.
609 (gcov_sort_icall_topn_counter): Likewise.
610 (gcov_sort_topn_counter_arrays): Likewise.
611 (dump_one_gcov): Remove call to gcov_sort_topn_counter_arrays.
612 * libgcov-merge.c (__gcov_merge_icall_topn): Remove.
613 * libgcov-profiler.c (__gcov_topn_value_profiler_body):
614 Likewise.
615 (GCOV_ICALL_COUNTER_CLEAR_THRESHOLD): Remove.
616 (struct indirect_call_tuple): Remove.
617 (__gcov_indirect_call_topn_profiler): Remove.
618 * libgcov-util.c (__gcov_icall_topn_counter_op): Remove.
619 * libgcov.h (gcov_sort_n_vals): Remove.
620 (L_gcov_merge_icall_topn): Likewise.
621 (__gcov_merge_icall_topn): Likewise.
622 (__gcov_indirect_call_topn_profiler): Likewise.
623
34a4a9c2
IS
6242019-06-06 Iain Sandoe <iain@sandoe.co.uk>
625
626 * config/rs6000/t-darwin: Ensure that the unwinder is built with
627 altivec enabled.
628
d1b2f85f
JL
6292019-06-06 Jozef Lawrynowicz <jozef.l@mittosystems.com>
630
631 * config/msp430/slli.S (__mspabi_slli_n): Put function in its own
632 section.
633 (__mspabi_slli): Likewise.
634 (__mspabi_slll_n): Likewise.
635 (__mspabi_slll): Likewise.
636 * config/msp430/srai.S (__mspabi_srai_n): Likewise.
637 (__mspabi_srai): Likewise.
638 (__mspabi_sral_n): Likewise.
639 (__mspabi_sral): Likewise.
640 * config/msp430/srli.S (__mspabi_srli_n): Likewise.
641 (__mspabi_srli): Likewise.
642 (__mspabi_srll_n): Likewise.
643 (__mspabi_srll): Likewise.
644
e69a13d1
YS
6452019-06-05 Yoshinori Sato <ysato@users.sourceforge.jp>
646
647 * config.host (rx-*-linux*): Add t-fdpbit to tmake_file
648 Add appropriate tm_file clause as well.
649 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Remove.
650
b009eac1
JC
6512019-06-05 James Clarke <jrtc27@jrtc27.com>
652
653 * config/ia64/crtbegin.S (__dso_handle): Put in .sdata/.sbss
654 rather than .data/.bss so it can be accessed via gp-relative
655 addressing.
656
781d39f2
DE
6572019-06-05 David Edelsohn <dje.gcc@gmail.com>
658
659 * config/rs6000/aix-unwind.h (LR_REGNO): Rename to R_LR.
660 (CR2_REGNO): Rename to R_CR2.
661 (XER_REGNO): Rename to R_XER.
662 (FIRST_ALTIVEC_REGNO): Rename to R_FIRST_ALTIVEC.
663 (VRSAVE_REGNO): Rename to R_VRSAVE.
664 (VSCR_REGNO): R_VSCR.
665
76aaa9cd
YS
6662019-05-29 Yoshinori Sato <ysato@users.sourceforge.jp>
667
668 * config.host (rx-*-linux*): Add new case.
669 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Force DFmode to SFmode.
670
8fc16d72
ST
6712019-05-29 Sam Tebbs <sam.tebbs@arm.com>
672
673 * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key): New
674 function.
675 * config/aarch64/aarch64-unwind.h (aarch64_post_extract_frame_addr,
676 aarch64_post_frob_eh_handler_addr): Add check for b-key.
677 * config/aarch64/aarch64-unwind-h (aarch64_post_extract_frame_addr,
678 aarch64_post_frob_eh_handler_addr, aarch64_post_frob_update_context):
679 Rename RA_A_SIGNED_BIT to RA_SIGNED_BIT.
680 * unwind-dw2-fde.c (get_cie_encoding): Add check for 'B' in augmentation
681 string.
682 * unwind-dw2.c (extract_cie_info): Add check for 'B' in augmentation
683 string.
684 (RA_A_SIGNED_BIT): Rename to RA_SIGNED_BIT.
685
e54b1a92
RO
6862019-05-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
687
688 * config/sparc/sol2-unwind.h [__arch64__] (sparc64_is_sighandler):
689 Remove Solaris 9 and 10 support.
690 (sparc_is_sighandler): Likewise.
691
abbb8307
JDA
6922019-05-26 John David Anglin <danglin@gcc.gnu.org>
693
694 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Add cast.
695
2581344d
L
6962019-05-17 H.J. Lu <hongjiu.lu@intel.com>
697
698 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
699 4_FP_W_TYPEs are used for IEEE quad precision.
700 * soft-fp/extendhftf2.c: Likewise.
701 * soft-fp/extendsftf2.c: Likewise.
702 * soft-fp/extendxftf2.c: Likewise.
703 * soft-fp/trunctfdf2.c: Likewise.
704 * soft-fp/trunctfhf2.c: Likewise.
705 * soft-fp/trunctfsf2.c: Likewise.
706 * soft-fp/trunctfxf2.c: Likewise.
707 * config/rs6000/ibm-ldouble.c: Likewise.
708
ccd1242e
RO
7092019-05-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
710
711 * config.host: Simplify various *-*-solaris2.1[0-9]* to
712 *-*-solaris2*.
713 * configure.ac: Likewise.
714 * configure: Regenerate.
715
716 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
717 Solaris 10 and Solaris 11 < snv_125 handling.
718
ef5eb79d
IS
7192019-05-12 Iain Sandoe <iain@sandoe.co.uk>
720
721 * config/rs6000/darwin-vecsave.S: Set .machine appropriately.
722
4f0e90fa
HL
7232019-05-07 Hongtao Liu <hongtao.liu@intel.com>
724
725 * config/i386/cpuinfo.c (get_available_features): Detect BF16.
726 * config/i386/cpuinfo.h (enum processor_features): Add
727 FEATURE_AVX512BF16.
728
48528842
RR
7292019-04-23 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
730 Bernd Edlinger <bernd.edlinger@hotmail.de>
731 Jakub Jelinek <jakub@redhat.com>
732
733 PR target/89093
734 * config/arm/pr-support.c: Add #pragma GCC target("general-regs-only").
735 * config/arm/unwind-arm.c: Likewise.
736 * unwind-c.c (PERSONALITY_FUNCTION): Add general-regs-only target
737 attribute for ARM.
738
887e182f
MC
7392019-04-15 Monk Chiang <sh.chiang04@gmail.com>
740
741 * config/nds32/linux-unwind.h (SIGRETURN): Remove.
742 (RT_SIGRETURN): Update.
743 (nds32_fallback_frame_state): Update.
744
a90b0cdd
MS
7452019-02-21 Martin Sebor <msebor@redhat.com>
746
747 * libgcc2.h (__clear_cache): Correct signature.
748 * libgcc2.c (__clear_cache): Same.
749
1ed28eda
UB
7502019-02-20 Uroš Bizjak <ubizjak@gmail.com>
751
752 * config/alpha/linux-unwind.h (alpha_fallback_frame_state):
753 Cast 'mcontext_t *' &rt_->uc.uc_mcontext to 'struct sigcontext *'.
754
fe95aee9
UB
7552019-02-19 Uroš Bizjak <ubizjak@gmail.com>
756
757 * unwind-dw2.c (_Unwind_GetGR) [DWARF_ZERO_REG]: Compare
758 regno instead of index to DWARF_ZERO_REG.
759
bf7988f1
EB
7602019-02-15 Eric Botcazou <ebotcazou@adacore.com>
761
762 * config/visium/lib2funcs.c (__set_trampoline_parity): Replace
763 TRAMPOLINE_SIZE with __LIBGCC_TRAMPOLINE_SIZE__.
764
ba2c1ca8
UB
7652019-01-31 Uroš Bizjak <ubizjak@gmail.com>
766
767 * config/alpha/t-linux: Add -mfp-rounding-mode=d
768 to HOST_LIBGCC2_CFLAGS.
769
6395ba73
L
7702019-01-23 Joseph Myers <joseph@codesourcery.com>
771
772 PR libgcc/88931
ba2c1ca8 773 * libgcc2.c (FSTYPE FUNC (DWtype u)): Correct no leading bits case.
6395ba73 774
756721ba
ML
7752019-01-18 Martin Liska <mliska@suse.cz>
776
777 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Rename
778 to ...
779 (__gcov_indirect_call_profiler_v3): ... this.
780 * libgcov.h (__gcov_indirect_call_profiler_v2): Likewise.
781 (__gcov_indirect_call_profiler_v3): Likewise.
782 * Makefile.in: Bump function name.
783
d273c40a
ML
7842019-01-18 Martin Liska <mliska@suse.cz>
785
786 * libgcov-driver.c (GCOV_PROF_PREFIX): Define.
787 (gcov_version): Use in gcov_error.
788 (merge_one_data): Likewise.
789 (dump_one_gcov): Likewise.
790
be9d9fdb
ML
7912019-01-18 Martin Liska <mliska@suse.cz>
792
793 * libgcov-driver.c (gcov_version_string): New function.
794 (gcov_version): Convert version integer into string.
795
91d7b7fe
AS
7962019-01-17 Andrew Stubbs <ams@codesourcery.com>
797 Kwok Cheung Yeung <kcy@codesourcery.com>
798 Julian Brown <julian@codesourcery.com>
799 Tom de Vries <tom@codesourcery.com>
800
801 * config.host: Recognize amdgcn*-*-amdhsa.
802 * config/gcn/crt0.c: New file.
803 * config/gcn/lib2-divmod-hi.c: New file.
804 * config/gcn/lib2-divmod.c: New file.
805 * config/gcn/lib2-gcn.h: New file.
806 * config/gcn/sfp-machine.h: New file.
807 * config/gcn/t-amdgcn: New file.
808
67914693
SL
8092019-01-09 Sandra Loosemore <sandra@codesourcery.com>
810
811 PR other/16615
812
813 * config/c6x/libunwind.S: Mechanically replace "can not" with
814 "cannot".
815 * config/tilepro/atomic.h: Likewise.
816 * config/vxlib-tls.c: Likewise.
817 * generic-morestack-thread.c: Likewise.
818 * generic-morestack.c: Likewise.
819 * mkmap-symver.awk: Likewise.
820
a5544970
JJ
8212019-01-01 Jakub Jelinek <jakub@redhat.com>
822
823 Update copyright years.
824
da77eace
L
8252018-12-20 H.J. Lu <hongjiu.lu@intel.com>
826
827 * unwind-pe.h (read_encoded_value_with_base): Add GCC pragma
828 to ignore -Waddress-of-packed-member.
829
72e3a529
TP
8302018-12-19 Thomas Preud'homme <thomas.preudhomme@linaro.org>
831
832 * /config/arm/lib1funcs.S (FUNC_START): Remove unused sp_section
833 parameter and corresponding code.
834 (ARM_FUNC_START): Likewise in both definitions.
835 Also update footer comment about condition that need to match with
836 gcc/config/arm/elf.h to also include libgcc/config/arm/t-arm.
837 * config/arm/ieee754-df.S (muldf3): Also build it if L_arm_muldf3 is
838 defined. Weakly define it in this case.
839 * config/arm/ieee754-sf.S (mulsf3): Likewise with L_arm_mulsf3.
840 * config/arm/t-elf (LIB1ASMFUNCS): Build _arm_muldf3.o and
841 _arm_mulsf3.o before muldiv versions if targeting Thumb-1 only. Add
842 comment to keep condition in sync with the one in
843 libgcc/config/arm/lib1funcs.S and gcc/config/arm/elf.h.
844
5d54c798
WX
8452018-12-18 Wei Xiao <wei3.xiao@intel.com>
846
847 * config/i386/cpuinfo.c (get_intel_cpu): Handle cascadelake.
848 * config/i386/cpuinfo.h: Add INTEL_COREI7_CASCADELAKE.
849
5a2580b6
RV
8502018-12-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
851
852 * config/rs6000/tramp.S (__trampoline_setup): Also emit .size
853 and .cfi_endproc directives for VxWorks targets.
854
c0c5112b
PK
8552018-12-05 Paul Koning <ni1d@arrl.net>
856
857 * udivmodhi4.c (__udivmodhi4): Fix loop end check.
858
1ea7ea18
AM
8592018-11-27 Alan Modra <amodra@gmail.com>
860
861 * config/rs6000/morestack.S (__stack_split_initialize),
862 (__morestack_get_guard, __morestack_set_guard),
863 (__morestack_make_guard): Provide CFI covering these functions.
864 * config/rs6000/tramp.S (__trampoline_setup): Likewise.
865
ff641ae1
XQ
8662018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
867
1ea7ea18 868 * config/csky/linux-unwind.h (sc_pt_regs): Update for kernel.
ff641ae1
XQ
869 (sc_pt_regs_lr): Update for kernel.
870 (sc_pt_regs_tls): Update for kernel.
871
28209372
XQ
8722018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
873
874 * config/csky/linux-unwind.h: Fix coding style.
875
b2a71af6
XQ
8762018-11-13 Xianmiao Qu <xianmiao_qu@c-sky.com>
877
878 * config/csky/linux-unwind.h (_sig_ucontext_t): Remove.
1ea7ea18 879 (csky_fallback_frame_state): Modify the check of the
b2a71af6
XQ
880 instructions to adapt to changes in the kernel
881
d929e137
SH
8822018-11-09 Stafford Horne <shorne@gmail.com>
883 Richard Henderson <rth@twiddle.net>
884
885 * config.host: Add OpenRISC support.
886 * config/or1k/*: New.
887
222cfefa
KC
8882018-11-08 Kito Cheng <kito@andestech.com>
889
890 * soft-fp/adddf3.c: Update from glibc.
891 * soft-fp/addsf3.c: Likewise.
892 * soft-fp/addtf3.c: Likewise.
893 * soft-fp/divdf3.c: Likewise.
894 * soft-fp/divsf3.c: Likewise.
895 * soft-fp/divtf3.c: Likewise.
896 * soft-fp/double.h: Likewise.
897 * soft-fp/eqdf2.c: Likewise.
898 * soft-fp/eqsf2.c: Likewise.
899 * soft-fp/eqtf2.c: Likewise.
900 * soft-fp/extenddftf2.c: Likewise.
901 * soft-fp/extended.h: Likewise.
902 * soft-fp/extendhftf2.c: Likewise.
903 * soft-fp/extendsfdf2.c: Likewise.
904 * soft-fp/extendsftf2.c: Likewise.
905 * soft-fp/extendxftf2.c: Likewise.
906 * soft-fp/fixdfdi.c: Likewise.
907 * soft-fp/fixdfsi.c: Likewise.
908 * soft-fp/fixdfti.c: Likewise.
909 * soft-fp/fixhfti.c: Likewise.
910 * soft-fp/fixsfdi.c: Likewise.
911 * soft-fp/fixsfsi.c: Likewise.
912 * soft-fp/fixsfti.c: Likewise.
913 * soft-fp/fixtfdi.c: Likewise.
914 * soft-fp/fixtfsi.c: Likewise.
915 * soft-fp/fixtfti.c: Likewise.
916 * soft-fp/fixunsdfdi.c: Likewise.
917 * soft-fp/fixunsdfsi.c: Likewise.
918 * soft-fp/fixunsdfti.c: Likewise.
919 * soft-fp/fixunshfti.c: Likewise.
920 * soft-fp/fixunssfdi.c: Likewise.
921 * soft-fp/fixunssfsi.c: Likewise.
922 * soft-fp/fixunssfti.c: Likewise.
923 * soft-fp/fixunstfdi.c: Likewise.
924 * soft-fp/fixunstfsi.c: Likewise.
925 * soft-fp/fixunstfti.c: Likewise.
926 * soft-fp/floatdidf.c: Likewise.
927 * soft-fp/floatdisf.c: Likewise.
928 * soft-fp/floatditf.c: Likewise.
929 * soft-fp/floatsidf.c: Likewise.
930 * soft-fp/floatsisf.c: Likewise.
931 * soft-fp/floatsitf.c: Likewise.
932 * soft-fp/floattidf.c: Likewise.
933 * soft-fp/floattihf.c: Likewise.
934 * soft-fp/floattisf.c: Likewise.
935 * soft-fp/floattitf.c: Likewise.
936 * soft-fp/floatundidf.c: Likewise.
937 * soft-fp/floatundisf.c: Likewise.
938 * soft-fp/floatunditf.c: Likewise.
939 * soft-fp/floatunsidf.c: Likewise.
940 * soft-fp/floatunsisf.c: Likewise.
941 * soft-fp/floatunsitf.c: Likewise.
942 * soft-fp/floatuntidf.c: Likewise.
943 * soft-fp/floatuntihf.c: Likewise.
944 * soft-fp/floatuntisf.c: Likewise.
945 * soft-fp/floatuntitf.c: Likewise.
946 * soft-fp/gedf2.c: Likewise.
947 * soft-fp/gesf2.c: Likewise.
948 * soft-fp/getf2.c: Likewise.
949 * soft-fp/half.h: Likewise.
950 * soft-fp/ledf2.c: Likewise.
951 * soft-fp/lesf2.c: Likewise.
952 * soft-fp/letf2.c: Likewise.
953 * soft-fp/muldf3.c: Likewise.
954 * soft-fp/mulsf3.c: Likewise.
955 * soft-fp/multf3.c: Likewise.
956 * soft-fp/negdf2.c: Likewise.
957 * soft-fp/negsf2.c: Likewise.
958 * soft-fp/negtf2.c: Likewise.
959 * soft-fp/op-1.h: Likewise.
960 * soft-fp/op-2.h: Likewise.
961 * soft-fp/op-4.h: Likewise.
962 * soft-fp/op-8.h: Likewise.
963 * soft-fp/op-common.h: Likewise.
964 * soft-fp/quad.h: Likewise.
965 * soft-fp/single.h: Likewise.
966 * soft-fp/soft-fp.h: Likewise.
967 * soft-fp/subdf3.c: Likewise.
968 * soft-fp/subsf3.c: Likewise.
969 * soft-fp/subtf3.c: Likewise.
970 * soft-fp/truncdfsf2.c: Likewise.
971 * soft-fp/trunctfdf2.c: Likewise.
972 * soft-fp/trunctfhf2.c: Likewise.
973 * soft-fp/trunctfsf2.c: Likewise.
974 * soft-fp/trunctfxf2.c: Likewise.
975 * soft-fp/unorddf2.c: Likewise.
976 * soft-fp/unordsf2.c: Likewise.
977 * soft-fp/unordtf2.c: Likewise.
978
2901f42f
VK
9792018-11-04 Venkataramanan Kumar <Venkataramanan.kumar@amd.com>
980
981 * config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
982 * config/i386/cpuinfo.h (processor_types): Add znver2.
983
4310ca66
PK
9842018-11-01 Paul Koning <ni1d@arrl.net>
985
986 * config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c.
987 (HOST_LIBGCC2_CFLAGS): Change to optimize for size.
988
22e05272
JM
9892018-10-31 Joseph Myers <joseph@codesourcery.com>
990
991 PR bootstrap/82856
992 * configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
993 * configure: Regenerate.
994
8180cde0
CZ
9952018-10-31 Claudiu Zissulescu <claziss@synopsys.com>
996
997 * config/arc/lib1funcs.S (_muldi3): New function.
998 * config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
999
be7b071e
RV
10002018-10-30 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1001
1002 * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
1003
3239d726
ML
10042018-10-25 Martin Liska <mliska@suse.cz>
1005
1006 PR other/87735
1007 * libgcov-profiler.c: Revert.
1008
19b55958
ML
10092018-10-24 Martin Liska <mliska@suse.cz>
1010
1011 * libgcov-profiler.c: Start from 1 in order to distinguish
1012 functions which were seen and these that were not.
1013
a9a2fddb
PK
10142018-10-18 Paul Koning <ni1d@arrl.net>
1015
1016 * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
1017 standard.
1018 * divmod.c: Update references to __udivmodsi4.
1019 * udivmod.c: Ditto.
1020 * udivhi3.c: New file.
1021 * udivmodhi4.c: New file.
1022 * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
1023
fc8abc46
RV
10242018-10-17 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1025
1026 * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
1027
87f918e3
OH
10282018-10-12 Olivier Hainque <hainque@adacore.com>
1029
1030 * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
1031 defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
1032
be86efa7
PK
10332018-10-08 Paul Koning <ni1d@arrl.net>
1034
1035 * config/pdp11/t-pdp11: Remove -mfloat32 switch.
1036
3edbcdbe
ML
10372018-10-04 Martin Liska <mliska@suse.cz>
1038
1039 PR gcov-profile/84107
1040 * libgcov-profiler.c (__gcov_indirect_call):
1041 Change type to indirect_call_tuple.
1042 (struct indirect_call_tuple): New struct.
1043 (__gcov_indirect_call_topn_profiler): Change type.
1044 (__gcov_indirect_call_profiler_v2): Use the new
1045 variables.
1046 * libgcov.h (struct indirect_call_tuple): New struct
1047 definition.
1048
af8096fc
UB
10492018-10-03 Uros Bizjak <ubizjak@gmail.com>
1050
1051 * libgcc2.c (isnan): Use __builtin_isnan.
1052 (isfinite): Use __builtin_isfinite.
1053 (isinf): Use __builtin_isinf.
1054
0a76bba4
UB
10552018-09-26 Uros Bizjak <ubizjak@gmail.com>
1056
1057 * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
1058
5244089f
OH
10592018-09-21 Alexandre Oliva <oliva@adacore.com>
1060
1061 * config/vxcache.c: New file. Provide __clear_cache, based on
1062 the cacheTextUpdate VxWorks service.
1063 * config/t-vxworks (LIB2ADD): Add vxcache.c.
1064 (LIB2FUNCS_EXCLUDE): Add _clear_cache.
1065 * config/t-vxwoks7: Likewise.
1066
512cc015
ML
10672018-09-21 Martin Liska <mliska@suse.cz>
1068
1069 * libgcov-driver.c (crc32_unsigned): Remove.
1070 (gcov_histogram_insert): Likewise.
1071 (gcov_compute_histogram): Likewise.
1072 (compute_summary): Simplify rapidly.
1073 (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
1074 (merge_summary): Rapidly simplify.
1075 (dump_one_gcov): Ignore gcov_summary.
1076 (gcov_do_dump): Do not handle program summary, it's not
1077 used.
1078 * libgcov-util.c (tag_summary): Remove.
1079 (read_gcda_finalize): Fix coding style.
1080 (read_gcda_file): Initialize curr_object_summary.
1081 (compute_summary): Remove.
1082 (calculate_overlap): Remove settings of run_max.
1083
36ff254b
MC
10842018-09-21 Monk Chiang <sh.chiang04@gmail.com>
1085
1086 * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
1087 ucontext_t type instead.
1088 (nds32_fallback_frame_state): Remove struct _sigframe statement.
1089
229a033d
KC
10902018-09-21 Kito Cheng <kito.cheng@gmail.com>
1091
1092 * config/nds32/t-nds32-glibc: New file.
1093
53c6feb2
RO
10942018-09-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1095
1096 * configure.ac (solaris_ld_v2_maps): New test.
1097 * configure: Regenerate.
1098 * Makefile.in (solaris_ld_v2_maps): New variable.
1099 * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
1100 if supported.
1101
ebdb6f23
RE
11022018-08-23 Richard Earnshaw <rearnsha@arm.com>
1103
1104 PR target/86951
1105 * config/arm/lib1funcs.asm (speculation_barrier): New function.
1106 * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
1107 to build.
1108
a49c064e
IS
11092018-08-22 Iain Sandoe <iain@sandoe.co.uk>
1110
1ea7ea18 1111 * config/unwind-dw2-fde-darwin.c
a49c064e
IS
1112 (_darwin10_Unwind_FindEnclosingFunction): move from here ...
1113 * config/darwin10-unwind-find-enc-func.c: … to here.
1114 * config/t-darwin: Build Darwin10 unwinder shim crt.
1115 * libgcc/config.host: Add the Darwin10 unwinder shim.
1116
9a5b8df7
RV
11172018-08-21 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1118
1119 * config.host: Add crtbegin.o and crtend.o for
1120 powerpc-wrs-vxworks target.
1121
4cd0bc3b
J
11222018-08-17 Jojo <jijie_rong@c-sky.com>
1123 Huibin Wang <huibin_wang@c-sky.com>
1124 Sandra Loosemore <sandra@codesourcery.com>
1125 Chung-Lin Tang <cltang@codesourcery.com>
1126
1127 C-SKY port: libgcc
1128
1129 * config.host: Add C-SKY support.
1130 * config/csky/*: New.
1131
a4931745
CJW
11322018-08-12 Chung-Ju Wu <jasonwucj@gmail.com>
1133
1134 * config/nds32/t-nds32-isr: Rearrange object dependency.
1135 * config/nds32/initfini.c: Add dwarf2 unwinding support.
1136 * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
1137 and registers usage.
1138 * config/nds32/isr-library/excp_isr.S: Ditto.
1139 * config/nds32/isr-library/intr_isr.S: Ditto.
1140 * config/nds32/isr-library/reset.S: Ditto.
1141 * config/nds32/isr-library/restore_all.inc: Ditto.
1142 * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
1143 * config/nds32/isr-library/restore_partial.inc: Ditto.
1144 * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
1145 * config/nds32/isr-library/save_all.inc: Ditto.
1146 * config/nds32/isr-library/save_mac_regs.inc: Ditto.
1147 * config/nds32/isr-library/save_partial.inc: Ditto.
1148 * config/nds32/isr-library/save_usr_regs.inc: Ditto.
1149 * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
1150
2b1969f6
JDA
11512018-08-11 John David Anglin <danglin@gcc.gnu.org>
1152
1153 * config/pa/linux-atomic.c: Update comment.
1154 (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
1155 COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
1156 SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
1157 __ATOMIC_RELAXED for atomic loads.
1158 (SYNC_LOCK_RELEASE_1): New define. Use __sync_synchronize() and
1159 unordered store to release lock.
1160 (__sync_lock_release_8): Likewise.
1161 (SYNC_LOCK_RELEASE_2): Remove define.
af8096fc 1162
89fff9cc
NP
11632018-08-02 Nicolas Pitre <nico@fluxnic.net>
1164
1165 PR libgcc/86512
1166 * config/arm/ieee754-df.S: Don't shortcut denormal handling when
1167 exponent goes negative. Update my email address.
1168 * config/arm/ieee754-sf.S: Likewise.
1169
fd2e1dcd
ML
11702018-08-01 Martin Liska <mliska@suse.cz>
1171
1172 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
92a285c1 1173 check that __gcov_indirect_call_callee is non-null.
fd2e1dcd 1174
b7415975
CL
11752018-07-30 Christophe Lyon <christophe.lyon@linaro.org>
1176
1177 * config/arm/ieee754-df.S: Fix comment for code working on
1178 architectures >= 4.
1179 * config/arm/ieee754-sf.S: Likewise.
1180
b72e71a3
L
11812018-07-27 H.J. Lu <hongjiu.lu@intel.com>
1182
1183 PR libgcc/85334
1184 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
1185 Removed.
1186
1c686aa4
JC
11872018-07-05 James Clarke <jrtc27@jrtc27.com>
1188
1189 * configure: Regenerated.
1190
b61c9b99
RO
11912018-06-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1192
1193 * Makefile.in (install_leaf): Use enable_gcov instead of
1194 enable_libgcov.
1195
1765b023
RV
11962018-06-27 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1197
1198 * configure.ac: Add --disable-gcov option.
1199 * configure: Regenerate.
1200 * Makefile.in: Honour @enable_gcov@.
1201
9b2e34ef
CL
12022018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
1203
1204 * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
1205 __ARM_ARCH and __ARM_FEATURE_CLZ instead.
1206 (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
1207 * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
1208 __ARM_ARCH__.
1209 * config/arm/ieee754-sf.S: Likewise.
1210 * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
1211
d1b0dd54
CL
12122018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
1213
1214 * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
1215 longer supported.
1216 * config/arm/ieee754-sf.S: Likewise.
1217
1f3fa525
TM
12182018-06-20 Than McIntosh <thanm@google.com>
1219
1220 PR libgcc/86213
1221 * generic-morestack.c (allocate_segment): Move calls to getenv and
1222 getpagesize to __morestack_load_mmap.
1223 (__morestack_load_mmap) Initialize static_pagesize and
1224 use_guard_page here so as to avoid clobbering SSE regs during a
1225 __morestack call.
1226
6a8886e4
MM
12272018-06-18 Michael Meissner <meissner@linux.ibm.com>
1228
1229 * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
1230 support modules with -mno-gnu-attribute.
1231 * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
1232
fb997097
OH
12332018-06-07 Olivier Hainque <hainque@adacore.com>
1234
1235 * config/t-vxworks (LIBGCC_INCLUDES): Add
1236 -I$(MULTIBUILDTOP)../../gcc/include.
1237 * config/t-vxworks7: Likewise. Reformat a bit to match
1238 the t-vxworks layout.
1239
a548a5a1
OM
12402018-06-07 Olga Makhotina <olga.makhotina@intel.com>
1241
1242 * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
1243
244aebfd
ML
12442018-06-07 Martin Liska <mliska@suse.cz>
1245
1246 * libgcov-driver.c: Rename cs_all to all and assign it from
92a285c1 1247 all_prg.
244aebfd 1248
6c086e8c
ML
12492018-06-07 Martin Liska <mliska@suse.cz>
1250
92a285c1 1251 PR bootstrap/86057
6c086e8c 1252 * libgcov-driver-system.c (replace_filename_variables): Use
92a285c1 1253 memcpy instead of mempcpy.
6c086e8c 1254 (allocate_filename_struct): Do not allocate filename, allocate
92a285c1 1255 prefix and set it.
6c086e8c 1256 (gcov_exit_open_gcda_file): Allocate memory for gf->filename
92a285c1 1257 here and properly copy content into it.
6c086e8c 1258 * libgcov-driver.c (struct gcov_filename): Remove max_length
92a285c1 1259 field, change prefix from size_t into char *.
6c086e8c
ML
1260 (compute_summary): Do not calculate longest filename.
1261 (gcov_do_dump): Release memory of gf.filename after each file.
1262 * libgcov-util.c (compute_summary): Use new signature of
92a285c1 1263 compute_summary.
6c086e8c
ML
1264 (calculate_overlap): Likewise.
1265
97a53d1d
ML
12662018-06-05 Martin Liska <mliska@suse.cz>
1267
1268 PR gcov-profile/47618
1269 * libgcov-driver-system.c (replace_filename_variables): New
92a285c1 1270 function.
97a53d1d
ML
1271 (gcov_exit_open_gcda_file): Use it.
1272
7f3577f5
ML
12732018-06-05 Martin Liska <mliska@suse.cz>
1274
1275 * libgcov-driver.c (gcov_compute_histogram): Remove usage
1276 of gcov_ctr_summary.
1277 (compute_summary): Do it just for a single summary.
1278 (merge_one_data): Likewise.
1279 (merge_summary): Simplify as we read just single summary.
1280 (dump_one_gcov): Pass proper argument.
1281 * libgcov-util.c (compute_one_gcov): Simplify as we have just
1282 single summary.
1283 (gcov_info_count_all_cold): Likewise.
1284 (calculate_overlap): Likewise.
1285
cf3cd43d
CJW
12862018-06-02 Chung-Ju Wu <jasonwucj@gmail.com>
1287 Monk Chiang <sh.chiang04@gmail.com>
1288
1289 * config.host (nds32*-linux*): New.
1290 * config/nds32/linux-atomic.c: New file.
1291 * config/nds32/linux-unwind.h: New file.
1292
8b8003ed
UB
12932018-05-31 Uros Bizjak <ubizjak@gmail.com>
1294
1295 PR target/85591
1296 * config/i386/cpuinfo.c (get_amd_cpu): Return
1297 AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
1298
bbdf026f
RV
12992018-05-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
1300
92a285c1 1301 * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
bbdf026f 1302
0e8f29da
ML
13032018-05-29 Martin Liska <mliska@suse.cz>
1304
92a285c1 1305 PR gcov-profile/85759
0e8f29da 1306 * libgcov-driver-system.c (gcov_error): Introduce usage of
92a285c1 1307 GCOV_EXIT_AT_ERROR env. variable.
0e8f29da 1308 * libgcov-driver.c (merge_one_data): Print error that we
92a285c1 1309 overwrite a gcov file with a different timestamp.
0e8f29da 1310
54fd1590
K
13112018-05-23 Kalamatee <kalamatee@gmail.com>
1312
1313 * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
1314 path to Lf$finfty.
1315
09baee1a
KC
13162018-05-18 Kito Cheng <kito.cheng@gmail.com>
1317 Monk Chiang <sh.chiang04@gmail.com>
1318 Jim Wilson <jimw@sifive.com>
1319
1320 * config/riscv/save-restore.S: Add support for rv32e.
1321
c3f808d3
KT
13222018-05-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1323
1324 * config/arm/libunwind.S: Update comment relating to armv5.
1325
fcf4f831
JL
13262018-05-17 Jerome Lambourg <lambourg@adacore.com>
1327
1328 * config/arm/cmse.c (cmse_check_address_range): Replace
1329 UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
1330
74b2bb19
OM
13312018-05-17 Olga Makhotina <olga.makhotina@intel.com>
1332
1333 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
1334 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
1335
50e461df
OM
13362018-05-08 Olga Makhotina <olga.makhotina@intel.com>
1337
1338 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
1339 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
1340
e5f1cdb1
AC
13412018-05-07 Amaan Cheval <amaan.cheval@gmail.com>
1342
1343 * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
1344
8f479d7a
AT
13452018-04-27 Andreas Tobler <andreast@gcc.gnu.org>
1346 Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
1347
1348 PR libgcc/84292
1349 * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
1350 op_and_fetch to return the right result.
1351
ae043291
AM
13522018-04-27 Alan Modra <amodra@gmail.com>
1353
1354 PR libgcc/85532
1355 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
1356 -fno-asynchronous-unwind-tables.
1357
ba169b74
CJW
13582018-04-25 Chung-Ju Wu <jasonwucj@gmail.com>
1359
1360 * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
1361 * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
1362
ffc2fc06
L
13632018-04-24 H.J. Lu <hongjiu.lu@intel.com>
1364
1365 * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
1366 when including "config/i386/shadow-stack-unwind.h".
1367
7b47ecf2
L
13682018-04-24 H.J. Lu <hongjiu.lu@intel.com>
1369
1370 * configure: Regenerated.
1371
661eb8f9
MM
13722018-04-20 Michael Meissner <meissner@linux.ibm.com>
1373
1374 PR target/85456
1375 * config/rs6000/_powikf2.c: New file. Add support for the
1376 __builtin_powil function when long double is IEEE 128-bit floating
1377 point.
1378 * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
1379 __powikf2 support.
1380 (__powikf2): Likewise.
1381 * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
1382 (__powikf2_hw): Likewise.
1383 (__powikf2): Likewise.
1384 * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
1385 * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
1386 (_powikf2-hw.c): Likewise.
1387
5707be3c
L
13882018-04-19 H.J. Lu <hongjiu.lu@intel.com>
1389
1390 PR libgcc/85334
1391 * unwind-generic.h (_Unwind_Frames_Increment): New.
1392 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
1393 Likewise.
1394 * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
1395 count with _Unwind_Frames_Increment.
1396 (_Unwind_ForcedUnwind_Phase2): Likewise.
1397
5f9ca0b8
L
13982018-04-19 H.J. Lu <hongjiu.lu@intel.com>
1399
1400 PR libgcc/85379
1401 * config/i386/morestack.S (__stack_split_initialize): Add
1402 _CET_ENDBR.
1403
a0e1df88
JJ
14042018-04-19 Jakub Jelinek <jakub@redhat.com>
1405
1406 * configure: Regenerated.
1407
001ddaa8
DM
14082018-04-18 David Malcolm <dmalcolm@redhat.com>
1409
1410 PR jit/85384
1411 * configure: Regenerate.
1412
a57f99ba
JJ
14132018-04-16 Jakub Jelinek <jakub@redhat.com>
1414
1415 PR target/84945
1416 * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
1417 -Wdangling-else warnings. Mask shift counts to avoid
1418 -Wshift-count-negative and -Wshift-count-overflow false positives.
1419
4d47fe5a
RB
14202018-04-06 Ruslan Bukin <br@bsdpad.com>
1421
1422 * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
1423
059cc8ac
L
14242018-03-29 H.J. Lu <hongjiu.lu@intel.com>
1425
1426 PR target/85100
1427 * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
1428 (XSTATE_FP): Likewise.
1429 (XSTATE_SSE): Likewise.
1430 (XSTATE_YMM): Likewise.
1431 (XSTATE_OPMASK): Likewise.
1432 (XSTATE_ZMM): Likewise.
1433 (XSTATE_HI_ZMM): Likewise.
1434 (XCR_AVX_ENABLED_MASK): Likewise.
1435 (XCR_AVX512F_ENABLED_MASK): Likewise.
1436 (get_available_features): Enable AVX and AVX512 features only
1437 if their states are supported by OSXSAVE.
1438
f2620385
IT
14392018-03-22 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1440
1441 PR target/85025
1442 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
1443 Fix a typo, tmp => 255.
1444
ae6dca8c
JJ
14452018-03-20 Jakub Jelinek <jakub@redhat.com>
1446
1447 PR target/84945
1448 * config/i386/cpuinfo.h (__cpu_features2): Declare.
1449 * config/i386/cpuinfo.c (__cpu_features2): New variable for
1450 ifndef SHARED only.
1451 (set_feature): Define.
1452 (get_available_features): Use set_feature macro. Set __cpu_features2
1453 to the second word of features ifndef SHARED.
1454
c36b04c1
JK
14552018-03-15 Julia Koval <julia.koval@intel.com>
1456
1457 * config/i386/cpuinfo.c (get_available_features): Add
1458 FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
1459 FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
1460 * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
1461 FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
1462 FEATURE_AVX512BITALG.
1463
79ab5364
JK
14642018-03-14 Julia Koval <julia.koval@intel.com>
1465
1466 * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
1467 icelake client and icelake server.
1468
66a00b11
JDA
14692018-03-06 John David Anglin <danglin@gcc.gnu.org>
1470
1471 * config/pa/fptr.c (_dl_read_access_allowed): New.
1472 (__canonicalize_funcptr_for_compare): Use it.
af8096fc 1473
ce579a4f
JJ
14742018-02-28 Jakub Jelinek <jakub@redhat.com>
1475
1476 PR debug/83917
1477 * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
1478 $asm_hidden_op if visibility ("hidden") attribute works.
1479 (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
1480 * config/i386/i386-asm.h: Don't include auto-host.h.
1481 (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
1482 PACKAGE_URL): Don't undefine.
1483 (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
1484 guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
1485 (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
1486 #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
1487 definition instead of hardcoded .hidden.
1488 * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
1489 directive. Use #ifdef HAVE_AS_CFI_SECTIONS rather than
1490 #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
1491 (USE_GAS_CFI_DIRECTIVES): Don't define.
1492 * configure: Regenerated.
1493 * config.in: Likewise.
1494
e5868319
JJ
14952018-02-26 Jakub Jelinek <jakub@redhat.com>
1496
1497 PR debug/83917
1498 * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
1499 PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
1500 inclusion of auto-target.h and auto-host.h.
1501 (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
1502 __GCC_HAVE_DWARF2_CFI_ASM.
1503 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
1504 cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
1505 cfi_pop): Define.
1506 * config/i386/cygwin.S: Don't include auto-host.h here, just
1507 define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
1508 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
1509 cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
1510 * config/i386/resms64fx.h: Add cfi_* directives.
1511 * config/i386/resms64x.h: Likewise.
1512
faef260e
MF
15132018-02-20 Max Filippov <jcmvbkbc@gmail.com>
1514
1515 * config/xtensa/ieee754-df.S (__adddf3_aux): Add
1516 .literal_position directive.
1517 * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
1518
14e335ed
IT
15192018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1520
1521 PR target/84148
1522 * configure: Regenerate.
1523
95df0433
IT
15242018-02-16 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1525
1526 PR target/84239
1527 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
1528 Include cetintrin.h not x86intrin.h.
1529
f8de876d
IT
15302018-02-08 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1531
1532 PR target/84239
95df0433 1533 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
f8de876d
IT
1534 Use new _get_ssp and _inc_ssp intrinsics.
1535
02da1e9c
JK
15362018-02-02 Julia Koval <julia.koval@intel.com>
1537
1538 * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
1539
048c6a9a
CZ
15402018-01-26 Claudiu Zissulescu <claziss@synopsys.com>
1541
1542 * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
1543 option.
1544 (__divsi3): Use RF16 safe registers.
1545 (__modsi3): Likewise.
1546
0889f168
MF
15472018-01-23 Max Filippov <jcmvbkbc@gmail.com>
1548
1549 * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
1550 (__divsf3): Make NaN return value quiet.
1551 * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
1552 (__divdf3): Make NaN return value quiet.
1553
bc8b0d04
SP
15542018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
1555
1556 * config/rl78/anddi3.S: New assembly file.
1557 * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
1558
99cc06ea
SP
15592018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
1560
1561 * config/rl78/umindi3.S: New assembly file.
1562 * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
1563
6e9007a0
SP
15642018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
1565
1566 * config/rl78/smindi3.S: New assembly file.
1567 * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
1568
d975e494 15692018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
af8096fc 1570
d975e494
SP
1571 * config/rl78/smaxdi3.S: New assembly file.
1572 * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
1573
6a18c146 15742018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
af8096fc 1575
5dd16013
SP
1576 * config/rl78/umaxdi3.S: New assembly file.
1577 * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
af8096fc 1578
07baf4a5
JDA
15792018-01-21 John David Anglin <danglin@gcc.gnu.org>
1580
1581 PR lto/83452
1582 * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
1583 * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
af8096fc 1584
dbc3af4f
RS
15852018-01-13 Richard Sandiford <richard.sandiford@linaro.org>
1586
1587 * config/aarch64/value-unwind.h (aarch64_vg): New function.
1588 (DWARF_LAZY_REGISTER_VALUE): Define.
1589 * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
1590 to provide a fallback register value.
1591
68df9882
MM
15922018-01-08 Michael Meissner <meissner@linux.vnet.ibm.com>
1593
1594 * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
1595 __ibm128, instead of trying to use long double.
1596 (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
1597 accomidate -mabi=ieeelongdouble multilibs.
1598 (CVT_IBM128_TO_FLOAT128): Likewise.
1599 * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
1600 the appropriate IBM extended double type.
1601 (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
1602 (__gcc_qsub): Likewise.
1603 (__gcc_qmul): Likewise.
1604 (__gcc_qdiv): Likewise.
1605 (pack_ldouble): Likewise.
1606 (__gcc_qneg): Likewise.
1607 (__gcc_qeq): Likewise.
1608 (__gcc_qne): Likewise.
1609 (__gcc_qge): Likewise.
1610 (__gcc_qle): Likewise.
1611 (__gcc_stoq): Likewise.
1612 (__gcc_dtoq): Likewise.
1613 (__gcc_itoq): Likewise.
1614 (__gcc_utoq): Likewise.
1615 (__gcc_qunord): Likewise.
1616 * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
1617 quad-float128.h for the definitions.
1618 (COPYSIGN): Use the f128 version instead of the q version.
1619 (INFINITY): Likewise.
1620 (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
1621 * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
1622 quad-float128.h for the definitions.
1623 (COPYSIGN): Use the f128 version instead of the q version.
1624 (INFINITY): Likewise.
1625 (FABS): Likewise.
1626 (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
1627 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
1628 * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
1629
64b371b1
SH
16302018-01-05 Sebastian Huber <sebastian.huber@embedded-brains.de>
1631
1632 * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
1633 configuration.
1634
85ec4feb
JJ
16352018-01-03 Jakub Jelinek <jakub@redhat.com>
1636
1637 Update copyright years.
1638
16392017-12-12 Kito Cheng <kito.cheng@gmail.com>
b8d7e076
KC
1640
1641 * config/riscv/t-elf: Use multi3.c instead of multi3.S.
1642 * config/riscv/multi3.c: New file.
1643 * config/riscv/multi3.S: Remove.
1644
3a4c600f
JW
16452017-12-08 Jim Wilson <jimw@sifive.com>
1646
1647 * config/riscv/div.S: Use FUNC_* macros.
1648 * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
1649 * config/riscv/save-restore.S: Likewise.
1650 * config/riscv/riscv-asm.h: New.
1651
75ad35b5
MM
16522017-11-30 Michael Meissner <meissner@linux.vnet.ibm.com>
1653
6ae3512c
MM
1654 * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
1655 * config/rs6000/_divkc3.c (__divkc3): Likewise.
1656
75ad35b5
MM
1657 PR libgcc/83112
1658 * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
1659 correct type for all ifunc resolvers to silence -Wattribute-alias
1660 warnings. Eliminate the forward declaration of the resolver
1661 functions which is no longer needed.
1662 (__subkf3_resolve): Likewise.
1663 (__mulkf3_resolve): Likewise.
1664 (__divkf3_resolve): Likewise.
1665 (__negkf2_resolve): Likewise.
1666 (__eqkf2_resolve): Likewise.
1667 (__nekf2_resolve): Likewise.
1668 (__gekf2_resolve): Likewise.
1669 (__gtkf2_resolve): Likewise.
1670 (__lekf2_resolve): Likewise.
1671 (__ltkf2_resolve): Likewise.
1672 (__unordkf2_resolve): Likewise.
1673 (__extendsfkf2_resolve): Likewise.
1674 (__extenddfkf2_resolve): Likewise.
1675 (__trunckfsf2_resolve): Likewise.
1676 (__trunckfdf2_resolve): Likewise.
1677 (__fixkfsi_resolve): Likewise.
1678 (__fixkfdi_resolve): Likewise.
1679 (__fixunskfsi_resolve): Likewise.
1680 (__fixunskfdi_resolve): Likewise.
1681 (__floatsikf_resolve): Likewise.
1682 (__floatdikf_resolve): Likewise.
1683 (__floatunsikf_resolve): Likewise.
1684 (__floatundikf_resolve): Likewise.
1685 (__extendkftf2_resolve): Likewise.
1686 (__trunctfkf2_resolve): Likewise.
1687
1688 PR libgcc/83103
1689 * config/rs6000/quad-float128.h (TF): Don't define if long double
1690 is IEEE 128-bit floating point.
1691 (TCtype): Define as either TCmode or KCmode, depending on whether
1692 long double is IEEE 128-bit floating point.
1693 (__mulkc3_sw): Add declarations for software/hardware versions of
1694 complex multiply/divide.
1695 (__divkc3_sw): Likewise.
1696 (__mulkc3_hw): Likewise.
1697 (__divkc3_hw): Likewise.
1698 * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
1699 handlers to switch between using software emulation and hardware
1700 float128 instructions, build the complex multiply/divide functions
1701 for both software and hardware support.
1702 * config/rs6000/_divkc3.c (_divkc3): Likewise.
1703 * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
1704 (__divkc3_resolve): Likewise.
1705 (__mulkc3): Likewise.
1706 (__divkc3): Likewise.
1707 * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
1708 (fp128_hw_src): Likewise.
1709 (fp128_hw_static_obj): Likewise.
1710 (fp128_hw_shared_obj): Likewise.
1711 (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
1712 _mulkc3.c and _divkc3.c, changing the function name.
1713 (_divkc3-hw.c): Likewise.
1714 * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
1715 and _divkc3-hw.c.
1716
c234d831
UB
17172017-11-26 Julia Koval <julia.koval@intel.com>
1718
1719 * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
1720 * config/i386/cpuinfo.h (processor_subtypes): Add
1721 INTEL_COREI7_CANNONLAKE.
1722
1ebafce0
IT
17232017-11-20 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1724
1725 PR bootstrap/83015
1726 * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
1727 parameter.
1728 * config/xtensa/unwind-dw2-xtensa.c: Likewise
1729 * config/ia64/unwind-ia64.c: Add frames parameter.
1730 * unwind-sjlj.c: Likewise.
1731
6a10fff4
IT
17322017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1733
1734 * config/i386/linux-unwind.h: Include
1735 config/i386/shadow-stack-unwind.h.
1736 * config/i386/shadow-stack-unwind.h: New file.
1737 * unwind-dw2.c: (uw_install_context): Add a frame parameter and
1738 pass it to _Unwind_Frames_Extra.
1739 * unwind-generic.h (_Unwind_Frames_Extra): New.
1740 * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
1741 parameter. Add local variable frames to count number of frames.
1742 (_Unwind_ForcedUnwind_Phase2): Likewise.
1743 (_Unwind_RaiseException): Add local variable frames to count
1744 number of frames, pass it to _Unwind_RaiseException_Phase2 and
1745 uw_install_context.
1746 (_Unwind_ForcedUnwind): Likewise.
1747 (_Unwind_Resume): Likewise.
1748 (_Unwind_Resume_or_Rethrow): Likewise.
1749
1ecae1fc
IT
17502017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1751
1752 * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
1753 (CET_FLAGS): New.
1754 * config/i386/morestack.S: Include <cet.h>.
1755 (__morestack_large_model): Add _CET_ENDBR at function entrance.
1756 * config/i386/resms64.h: Include <cet.h>.
1757 * config/i386/resms64f.h: Likewise.
1758 * config/i386/resms64fx.h: Likewise.
1759 * config/i386/resms64x.h: Likewise.
1760 * config/i386/savms64.h: Likewise.
1761 * config/i386/savms64f.h: Likewise.
1762 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
1763 (CRTSTUFF_T_CFLAGS): Likewise.
1764 * configure.ac: Include ../config/cet.m4.
1765 Set and substitute CET_FLAGS.
1766 * configure: Regenerated.
1767
f021f1d3
RO
17682017-11-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1769
1770 * config.host (*-*-solaris2*): Adapt comment for Solaris 12
1771 renaming.
1772 * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
1773 * configure.ac (libgcc_cv_solaris_crts): Likewise.
1774 * configure: Regenerate.
1775
65f480c7
TV
17762017-11-07 Tom de Vries <tom@codesourcery.com>
1777
1778 * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
1779 after "do {} while (0)".
1780
2a321acb
TV
17812017-11-07 Tom de Vries <tom@codesourcery.com>
1782
1783 PR other/82784
1784 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
1785 semicolon after "do {} while (0)".
1786 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1787 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1788 * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1789 * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1790
59fcf6c3
AT
17912017-11-04 Andreas Tobler <andreast@gcc.gnu.org>
1792
1793 PR libgcc/82635
1794 * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
1795 sysctl to determine whether we're in a trampoline.
1796 Keep the pattern matching method for systems without
1797 KERN_PROC_SIGTRAMP sysctl.
1798
b0c7ddf8
CM
17992017-11-03 Cupertino Miranda <cmiranda@synopsys.com>
1800 Vineet Gupta <vgupta@synopsys.com>
1801
1802 * config.host (arc*-*-linux*): Set md_unwind_header variable.
1803 * config/arc/linux-unwind-reg.def: New file.
1804 * config/arc/linux-unwind-reg.h: Likewise.
1805
5feee954
SP
18062017-10-23 Sebastian Perta <sebastian.perta@renesas.com>
1807
1808 * config/rl78/subdi3.S: New assembly file.
1809 * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
1810
a0bf6cf7
SP
18112017-10-13 Sebastian Perta <sebastian.perta@renesas.com>
1812
1813 * config/rl78/adddi3.S: New assembly file.
1814 * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
1815
e7176f75
JJ
18162017-10-13 Jakub Jelinek <jakub@redhat.com>
1817
1818 PR target/82274
1819 * libgcc2.c (__mulvDI3): If both operands have
1820 the same highpart of -1 and the topmost bit of lowpart is 0,
1821 multiplication overflows even if both lowparts are 0.
1822
db6601d2
JB
18232017-09-28 James Bowman <james.bowman@ftdichip.com>
1824
1825 * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
1826
938b6f1e
JM
18272017-09-26 Joseph Myers <joseph@codesourcery.com>
1828
1829 * config/microblaze/crti.S, config/microblaze/crtn.S,
1830 config/microblaze/divsi3.S, config/microblaze/moddi3.S,
1831 config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
1832 config/microblaze/mulsi3.S,
1833 config/microblaze/stack_overflow_exit.S,
1834 config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
1835 config/pa/milli64.S: Add .note.GNU-stack section.
1836
89762a83
DS
18372017-09-23 Daniel Santos <daniel.santos@pobox.com>
1838
1839 * configure.ac: Add Check for HAVE_AS_AVX.
1840 * config.in: Regenerate.
1841 * configure: Likewise.
1842 * config/i386/i386-asm.h: Include auto-target.h from libgcc.
1843 (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
1844 Correct out-of-date comments.
1845
cace2309
SP
18462017-09-20 Sebastian Peryt <sebastian.peryt@intel.com>
1847
1848 * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
1849 * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
1850
3cb626e4
DS
18512017-09-17 Daniel Santos <daniel.santos@pobox.com>
1852
cace2309 1853 * config/i386/i386-asm.h (PASTE2): New macro.
3cb626e4
DS
1854 (ASMNAME): Modify to use PASTE2.
1855 (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
1856 (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
cace2309 1857 * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
3cb626e4 1858 instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
cace2309
SP
1859 * config/i386/resms64f.S: Likewise.
1860 * config/i386/resms64fx.S: Likewise.
1861 * config/i386/resms64x.S: Likewise.
1862 * config/i386/savms64.S: Likewise.
1863 * config/i386/savms64f.S: Likewise.
1864 * config/i386/avx_resms64.S: New file that only defines a macro and
3cb626e4 1865 includes it's corresponding header file.
cace2309
SP
1866 * config/i386/avx_resms64f.S: Likewise.
1867 * config/i386/avx_resms64fx.S: Likewise.
1868 * config/i386/avx_resms64x.S: Likewise.
1869 * config/i386/avx_savms64.S: Likewise.
1870 * config/i386/avx_savms64f.S: Likewise.
1871 * config/i386/sse_resms64.S: Likewise.
1872 * config/i386/sse_resms64f.S: Likewise.
1873 * config/i386/sse_resms64fx.S: Likewise.
1874 * config/i386/sse_resms64x.S: Likewise.
1875 * config/i386/sse_savms64.S: Likewise.
1876 * config/i386/sse_savms64f.S: Likewise.
1877 * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
3cb626e4 1878
2f19c491 18792017-09-01 Olivier Hainque <hainque@adacore.com>
2f19c491
OH
1880 * config.host (*-*-vxworks7): Widen scope to vxworks7*.
1881
611e7036
OH
18822017-08-31 Olivier Hainque <hainque@adacore.com>
1883
1884 * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
1885 match as powerpc-wrs-vxworks*.
1886
c8f34527
JY
18872017-08-07 Jonathan Yong <10walls@gmail.com>
1888
1889 * config.host (*-cygwin): Include file from mingw
1890 config/i386/enable-execute-stack-mingw32.c
1891
0b458d2b 18922017-08-01 Jerome Lambourg <lambourg@adacore.com>
92a285c1
ML
1893 Doug Rupp <rupp@adacore.com>
1894 Olivier Hainque <hainque@adacore.com>
0b458d2b
JL
1895
1896 * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
1897 as well as arm-wrs-vxworks.
1898 * config/arm/t-vxworks7: New file. Add unwind-arm-vxworks.c to
1899 LIB2ADDEH.
1900 * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
1901 __exidx_start and __exidx_end for downloadable modules.
1902
4df612fa
OH
19032017-08-01 Olivier Hainque <hainque@adacore.com>
1904
1905 * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
1906 * config/t-vxworks7: Likewise.
1907
5560e8c0
OH
19082017-08-01 Olivier Hainque <hainque@adacore.com>
1909
1910 * config/t-vxworks: Instead of redefining LIB2ADD,
1911 augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
1912
16bab95a
SH
19132017-07-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1914
1915 * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
1916
9cbc07cc
DS
19172017-07-24 Daniel Santos <daniel.santos@pobox.com>
1918
1919 PR testsuite/80759
1920 * config.host: include i386/t-msabi for darwin and solaris.
1921 * config/i386/i386-asm.h
1922 (ELFFN): Rename to FN_TYPE.
1923 (FN_SIZE): New macro.
1924 (FN_HIDDEN): Likewise.
1925 (ASMNAME): Likewise.
1926 (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
1927 .globl.
1928 (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
1929 (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
1930 * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
1931 .macro.
1932 * config/i386/resms64f.S: Likewise.
1933 * config/i386/resms64fx.S: Likewise.
1934 * config/i386/resms64x.S: Likewise.
1935 * config/i386/savms64.S: Likewise.
1936 * config/i386/savms64f.S: Likewise.
1937
de742204
JM
19382017-07-19 John Marino <gnugcc@marino.st>
1939
1940 * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
1941
3787ee47
MM
19422017-07-12 Michael Meissner <meissner@linux.vnet.ibm.com>
1943
1944 PR target/81193
1945 * configure.ac (PowerPC float128 hardware support): Test whether
1946 we can use __builtin_cpu_supports before enabling the ifunc
1947 handler.
1948 * configure: Regenerate.
1949
b1938888
VG
19502017-07-10 Vineet Gupta <vgupta@synopsys.com>
1951
1952 * config.host: Remove uclibc from arc target spec.
1953
bec75e53
KW
19542017-07-09 Krister Walfridsson <krister.walfridsson@gmail.com>
1955
1956 * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
1957
d4391a62
PB
19582017-07-07 Peter Bergner <bergner@vnet.ibm.com>
1959
1960 * config/rs6000/float128-ifunc.c: Don't include auxv.h.
1961 (have_ieee_hw_p): Delete function.
1962 (SW_OR_HW) Use __builtin_cpu_supports().
1963
9296dd9b
TP
19642017-07-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
1965
1966 * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
1967
b85a969e
OH
19682017-07-03 Olivier Hainque <hainque@adacore.com>
1969
d4391a62 1970 * config/t-vxworks7: New file, really.
b85a969e 1971
883312dc
JM
19722017-06-28 Joseph Myers <joseph@codesourcery.com>
1973
1974 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
1975 config/alpha/linux-unwind.h (alpha_fallback_frame_state),
1976 config/bfin/linux-unwind.h (bfin_fallback_frame_state),
1977 config/i386/linux-unwind.h (x86_64_fallback_frame_state,
1978 x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
1979 uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
1980 config/pa/linux-unwind.h (pa32_fallback_frame_state),
1981 config/riscv/linux-unwind.h (riscv_fallback_frame_state),
1982 config/sh/linux-unwind.h (sh_fallback_frame_state),
1983 config/tilepro/linux-unwind.h (tile_fallback_frame_state),
1984 config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
1985 ucontext_t instead of struct ucontext.
1986
50567938
JL
19872017-06-27 Jerome Lambourg <lambourg@adacore.com>
1988
1989 * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
1990 (x86_64-wrs-vxworks7): Likewise.
1991
e4b0df93
OH
19922017-06-27 Olivier Hainque <hainque@adacore.com>
1993
1994 * config/t-vxworks7: New file.
1995 * config.host (*-*-vxworks7): Use it.
1996
60edf8bb
MT
19972017-06-22 Matt Turner <mattst88@gmail.com>
1998
1999 * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
2000 skylake case.
2001
a51a76e5
RB
20022017-06-21 Richard Biener <rguenther@suse.de>
2003
2004 PR gcov-profile/81080
2005 * configure.ac: Add AC_SYS_LARGEFILE.
2006 * libgcov.h: Include auto-target.h before tsystem.h to pick
2007 up _FILE_OFFSET_BITS which might differ for multilibs.
2008 * config.in: Regenerate.
2009 * configure: Likewise.
2010
f0cd49c5
RE
20112017-06-16 Richard Earnshaw <rearnsha@arm.com>
2012
2013 * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
2014
4f751c54
ML
20152017-06-09 Martin Liska <mliska@suse.cz>
2016
2017 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
2018 Reset __gcov_indirect_call_callee to NULL.
2019
1ac644c8
OH
20202017-06-08 Olivier Hainque <hainque@adacore.com>
2021
2022 * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
2023 the set of -I options, support for direct inclusions of net/uio.h
2024 by VxWorks header files via ioLib.h.
2025
d8b9cd27
TR
20262017-06-07 Tony Reix <tony.reix@atos.net>
2027 Matthieu Sarter <matthieu.sarter.external@atos.net>
2028 David Edelsohn <dje.gcc@gmail.com>
2029
92a285c1
ML
2030 * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
2031 unconditionally.
2032 (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support. Add 32-bit
2033 AIX 7.2 support.
d8b9cd27 2034
38a75ccc
OH
20352017-06-02 Olivier Hainque <hainque@adacore.com>
2036
2037 * config/vxlib.c (__gthread_once): Add missing value to
2038 return statement.
2039
5b2edf53
OH
20402017-05-30 Olivier Hainque <hainque@adacore.com>
2041
2042 * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
2043 dollar sign before $(MULTIDIR).
2044
7d66e265
RH
20452017-05-26 Richard Henderson <rth@redhat.com>
2046
2047 PR libgcc/80037
2048 * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
2049
78eca309
AT
20502017-05-17 Andreas Tobler <andreast@gcc.gnu.org>
2051
2052 * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
2053 _Unwind_SetIP available as functions for arm*-*-freebsd*.
2054 * config/arm/unwind-arm.c: Implement the above.
2055
c39d309a
AZ
20562017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2057
2058 * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
2059 section for a non-executable stack.
2060
eac8c9f2
KW
20612017-05-14 Krister Walfridsson <krister.walfridsson@gmail.com>
2062
2063 PR target/80600
2064 * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
2065
d6d4d770
DS
20662017-05-14 Daniel Santos <daniel.santos@pobox.com>
2067
2068 * config.host: Add i386/t-msabi to i386/t-linux file list.
2069 * config/i386/i386-asm.h: New file.
2070 * config/i386/resms64.S: New file.
2071 * config/i386/resms64f.S: New file.
2072 * config/i386/resms64fx.S: New file.
2073 * config/i386/resms64x.S: New file.
2074 * config/i386/savms64.S: New file.
2075 * config/i386/savms64f.S: New file.
2076 * config/i386/t-msabi: New file.
2077
8ef2b9a7
AT
20782017-05-09 Andreas Tobler <andreast@gcc.gnu.org>
2079
2080 * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
2081 arm*-*-freebsd* instead of the t-slibgcc-libgcc.
2082
7ab8766a
JC
20832017-05-05 Joshua Conner <joshconner@google.com>
2084
2085 * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
2086 pc-relative indirect handling for fuchsia.
2087 * config/t-slibgcc-fuchsia: New file.
2088 * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
d6d4d770 2089 x86_64-*-fuchsia*): Add definitions.
7ab8766a 2090
46928a8f
ML
20912017-04-19 Martin Liska <mliska@suse.cz>
2092
2093 PR gcov-profile/80435
2094 * Makefile.in: Install gcov.h.
2095 * gcov.h: New file.
2096 * libgcov.h: Use the header and make __gcov_flush publicly
2097 visible.
2098
63971184
ML
20992017-04-18 Martin Liska <mliska@suse.cz>
2100
2101 PR gcov-profile/78783
2102 * libgcov-driver.c (gcov_get_filename): New function.
2103
29d8aae6
JL
21042017-04-07 Jeff Law <law@redhat.com>
2105
2106 * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
2107 target makefile fragment.
2108 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
2109
2bdf7fc6
AM
21102017-04-07 Alan Modra <amodra@gmail.com>
2111
2112 PR target/45053
2113 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
2114
5764ee3c
JW
21152017-04-03 Jonathan Wakely <jwakely@redhat.com>
2116
2117 * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
2118
c4192ad7
CZ
21192017-03-27 Claudiu Zissulescu <claziss@synopsys.com>
2120
2121 * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
2122
4ccfdb28
JM
21232017-03-10 John Marino <gnugcc@marino.st>
2124
2125 * config/aarch64/freebsd-unwind.h: New file.
2126 * config.host: Add aarch64-*-freebsd unwinder.
2127
4144e4e3
SB
21282017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
2129
2130 * config/rs6000/crtrestvr.s: Use .machine altivec.
2131 * config/rs6000/crtsavevr.s: Ditto.
2132
7502c597
SB
21332017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
2134
2135 * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
2136 modify CFLAGS. Add -mabi=altivec -mvsx -mfloat128.
2137 (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
2138 -mfloat128-hardware to the CFLAGS. Fix syntax error in the C snippet.
2139 * configure: Regenerate.
2140 * config.in: Regenerate.
2141
db9f7f65
JY
21422017-03-02 Jonathan Yong <10walls@gmail.com>
2143
2144 * config/i386/gthr-win32.h: Define NOGDI before
2145 windows.h include to prevent w32api CC_NONE macro
2146 clash with libgfortran.
2147
126437c5
JY
21482017-03-02 Jonathan Yong <10walls@gmail.com>
2149
2150 * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
2151
31927af6
AP
21522017-02-16 Andrew Pinski <apinski@cavium.com>
2153
2154 * config/aarch64/value-unwind.h: New file.
2155 * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
2156 to tm_file.
2157
0bd99911
PD
21582017-02-06 Palmer Dabbelt <palmer@dabbelt.com>
2159
2160 * config.host: Add RISC-V tuples.
2161 * config/riscv/atomic.c: New file.
2162 * config/riscv/crti.S: Likewise.
2163 * config/riscv/crtn.S: Likewise.
2164 * config/riscv/div.S: Likewise.
2165 * config/riscv/linux-unwind.h: Likewise.
2166 * config/riscv/muldi3.S: Likewise.
2167 * config/riscv/multi3.S: Likewise.
2168 * config/riscv/save-restore.S: Likewise.
2169 * config/riscv/sfp-machine.h: Likewise.
2170 * config/riscv/t-elf: Likewise.
2171 * config/riscv/t-elf32: Likewise.
2172 * config/riscv/t-elf64: Likewise.
2173 * config/riscv/t-softfp32: Likewise.
2174 * config/riscv/t-softfp64: Likewise.
2175
a8c9ef2a
JJ
21762017-01-24 Jakub Jelinek <jakub@redhat.com>
2177
2178 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
2179 /* FALLTHRU */ comments.
2180
c6c82710
GP
21812017-01-21 Gerald Pfeifer <gerald@pfeifer.com>
2182
2183 * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
2184
a876231c
JW
21852017-01-20 Jiong Wang <jiong.wang@arm.com>
2186
2187 * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
2188 * unwind-dw2.c (execute_cfa_program): Only multiplexing
2189 DW_CFA_GNU_window_save for AArch64 and LP64.
2190
aa348be2
JW
21912017-01-20 Jiong Wang <jiong.wang@arm.com>
2192
2193 * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
2194
5636faf2
JW
21952017-01-19 Jiong Wang <jiong.wang@arm.com>
2196
2197 * config/aarch64/aarch64-unwind.h: New file.
2198 (DWARF_REGNUM_AARCH64_RA_STATE): Define.
2199 (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
2200 (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
2201 (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
2202 (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
2203 (aarch64_post_extract_frame_addr): New function.
2204 (aarch64_post_frob_eh_handler_addr): New function.
2205 (aarch64_frob_update_context): New function.
2206 * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
2207 * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
2208 aarch64*-*-freebsd*):
2209 Initialize md_unwind_header to include aarch64-unwind.h.
2210 * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
2211 (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
2212 __aarch64__.
2213 (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
2214 (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
2215 (uw_frob_return_addr): New function.
2216 (uw_install_context): Use uw_frob_return_addr.
2217
3c36aa6b
JJ
22182017-01-17 Jakub Jelinek <jakub@redhat.com>
2219
2220 PR other/79046
2221 * configure.ac: Add GCC_BASE_VER.
2222 * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
2223 version from BASE-VER file.
2224 * configure: Regenerated.
2225
829afb8f
JS
22262017-01-13 Joe Seymour <joe.s@somniumtech.com>
2227
2228 * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
2229 libmul_f5.a): Filter archived prerequisites.
2230
79fc8ffe
AS
22312017-01-10 Andrew Senkevich <andrew.senkevich@intel.com>
2232
2233 * config/i386/cpuinfo.h (processor_features): Add
2234 FEATURE_AVX512VPOPCNTDQ.
2235 * config/i386/cpuinfo.c (get_available_features): Habdle new
2236 feature.
2237
fec5f4e0
JM
22382017-01-04 Joseph Myers <joseph@codesourcery.com>
2239
2240 * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
2241 payload if [__mips_nan2008].
2242
8f56cb51
AM
22432017-01-04 Alan Modra <amodra@gmail.com>
2244
2245 * Makefile.in (configure_deps): Update.
2246 * configure: Regenerate.
2247
cbe34bb5
JJ
22482017-01-01 Jakub Jelinek <jakub@redhat.com>
2249
2250 Update copyright years.
2251
ab955692
KW
22522016-12-19 Krister Walfridsson <krister.walfridsson@gmail.com>
2253
2254 * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
2255 * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
2256 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
2257
de34320f
MK
22582016-12-17 Matthias Klose <doko@ubuntu.com>
2259
2260 * config/arc/gmon: Remove empty directory.
2261
e04ea1da
CZ
22622016-12-16 Claudiu Zissulescu <claziss@synopsys.com>
2263
2264 * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
2265 crtgend.
2266 (arc*-*-elf*): Likewise.
2267 * config/arc/t-arc: Remove old gmon lib targets.
2268 * config/arc/crtg.S: Remove.
2269 * config/arc/crtgend.S: Likewise.
2270 * config/arc/gmon/atomic.h: Likewise.
2271 * config/arc/gmon/auxreg.h: Likewise.
2272 * config/arc/gmon/dcache_linesz.S: Likewise.
2273 * config/arc/gmon/gmon.c: Likewise.
2274 * config/arc/gmon/machine-gmon.h: Likewise.
2275 * config/arc/gmon/mcount.c: Likewise.
2276 * config/arc/gmon/prof-freq-stub.S: Likewise.
2277 * config/arc/gmon/prof-freq.c: Likewise.
2278 * config/arc/gmon/profil.S: Likewise.
2279 * config/arc/gmon/sys/gmon.h: Likewise.
2280 * config/arc/gmon/sys/gmon_out.h: Likewise.
2281 * config/arc/t-arc-newlib: Likewise.
2282 * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
2283
8ae1c2c1
GS
22842016-12-12 George Spelvin <linux@sciencehorizons.net>
2285
2286 * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
2287
a5b947fa
GS
22882016-12-12 George Spelvin <linux@sciencehorizons.net>
2289
2290 * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
2291 R16 instead of push + pop.
2292 (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
2293
d6574dd1
KW
22942016-12-10 Krister Walfridsson <krister.walfridsson@gmail.com>
2295
2296 * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
2297 tmake_file.
2298
62440b4f
CM
22992016-12-05 Cupertino Miranda <cmiranda@synopsys.com>
2300
2301 * config.host (arc*-*-linux-uclibc*): Use default extra
2302 objects. Include linux-android header.
2303 * config/arc/crti.S (_init): Declare symbol as function.
2304 (_fini): Likewise.
2305
31cfd832
TK
23062016-12-03 Thomas Koenig <tkoenig@gcc.gnu.org>
2307
2308 PR fortran/78379
2309 * config/i386/cpuinfo.c: Move denums for processor vendors,
2310 processor type, processor subtypes and declaration of
2311 struct __processor_model into
2312 * config/i386/cpuinfo.h: New header file.
2313
c92e08e3
AV
23142016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
2315 Thomas Preud'homme <thomas.preudhomme@arm.com>
2316
2317 * config/arm/cmse_nonsecure_call.S: New.
2318 * config/arm/t-arm: Compile cmse_nonsecure_call.S
2319
de7b5723
AV
23202016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
2321 Thomas Preud'homme <thomas.preudhomme@arm.com>
2322
2323 * config/arm/t-arm (HAVE_CMSE): New.
2324 * config/arm/cmse.c: New.
2325
7a0d2bce
TP
23262016-11-28 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2327
b3a5bff4
TP
2328 PR gcc/74748
2329 * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
2330 use generic linker version information on Blackfin.
2331
7a0d2bce
TP
2332 PR gcc/74748
2333 * libgcc/mkmap-symver.awk: add support for skip_underscore
2334
b410cf1d
IS
23352016-11-27 Iain Sandoe <iain@codesourcery.com>
2336 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2337
2338 PR target/67710
2339 * config/t-darwin: Default builds to 10.5 codegen.
2340
2e5f8203
JG
23412016-11-24 James Greenhalgh <james.greenhalgh@arm.com>
2342
2343 * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
2344 (_FP_NANSIGN_H): Likewise.
2345 * config/aarch64/t-softfp (softfp_extensions): Add hftf.
2346 (softfp_truncations): Add tfhf.
2347 (softfp_extras): Add required conversion functions.
2348
bea64ca3
JG
23492016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
2350 Matthew Wahab <matthew.wahab@arm.com>
2351
2352 * config/arm/fp16.c (binary64): New.
2353 (__gnu_d2h_internal): New.
2354 (__gnu_d2h_ieee): New.
2355 (__gnu_d2h_alternative): New.
2356
8630cadb
JG
23572016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
2358 Matthew Wahab <matthew.wahab@arm.com>
2359
2360 * config/arm/fp16.c (struct format): New.
2361 (binary32): New.
2362 (__gnu_float2h_internal): New. Body moved from
2363 __gnu_f2h_internal and generalize.
2364 (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
2365 Call it with binary32.
2366
5823ef23
JG
23672016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
2368
2369 * soft-fp/extendhftf2.c: Update from glibc.
2370 * soft-fp/fixhfti.c: Likewise.
2371 * soft-fp/fixunshfti.c: Likewise.
2372 * soft-fp/floattihf.c: Likewise.
2373 * soft-fp/floatuntihf.c: Likewise.
2374 * soft-fp/half.h: Likewise.
2375 * soft-fp/trunctfhf2.c: Likewise.
2376
62a7df9f
MG
23772016-11-20 Marc Glisse <marc.glisse@inria.fr>
2378
2379 PR libgcc/77813
2380 * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
2381 __TMC_END__ behind a passthrough asm.
2382
7a384912
WL
23832016-11-18 Walter Lee <walt@tilera.com>
2384
62a7df9f 2385 * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
7a384912 2386
9775c1a5
L
23872016-11-17 Andrew Senkevich <andrew.senkevich@intel.com>
2388
2389 * config/i386/cpuinfo.c (processor_features): Add
2390 FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
2391
48c842ab
CZ
23922016-11-17 Claudiu Zissulescu <claziss@synopsys.com>
2393
2394 * config/arc/dp-hack.h (ARC_OPTFPE): Define.
2395 (__ARC_NORM__): Use instead ARC_OPTFPE.
2396 * config/arc/fp-hack.h: Likewise.
2397 * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
2398 (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
2399
5012919d
AM
24002016-11-16 Alexander Monakov <amonakov@ispras.ru>
2401
2402 * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
2403 * config/nvptx/mgomp.c: New file.
2404 * config/nvptx/t-nvptx: Add mgomp.c
2405
00178b98
WB
24062016-11-16 Waldemar Brodkorb <wbx@openadk.org>
2407
2408 PR libgcc/68468
2409 * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
2410
d64af69f
CZ
24112016-11-15 Claudiu Zissulescu <claziss@synopsys.com>
2412
2413 * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
2414 of checking for cpus.
2415 (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
2416 (__modsi3, __clzsi2): Likewise.
2417
9d8f95de
SN
24182016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
2419
2420 * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
2421 i386/t-cpuinfo-static instead of i386/t-cpuinfo.
2422 * config/i386/t-cpuinfo-static: New.
2423
7d29f8e3
ML
24242016-11-03 Martin Liska <mliska@suse.cz>
2425
2426 * libgcov-profiler.c (__gcov_time_profiler): Remove.
2427 (__gcov_time_profiler_atomic): Likewise.
2428
5de3e2d8
BE
24292016-11-03 Bernd Edlinger <bernd.edlinger@hotmail.de>
2430
2431 PR libgcc/78067
2432 * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
2433 count_leading_zeros.
2434
18362447
UB
24352016-11-02 Uros Bizjak <ubizjak@gmail.com>
2436
2437 * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
2438 * libgcc2.c (__divmoddi4): New function.
2439 * libgcc2.h (__divmoddi4): Declare.
2440 * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
2441 and __PFX_divmodti4.
2442
33107571
FW
24432016-10-24 Florian Weimer <fweimer@redhat.com>
2444
2445 PR libgcc/78064
2446 * unwind-c.c: Include auto-target.h.
2447
4c6d7494
JDA
24482016-10-19 John David Anglin <danglin@gcc.gnu.org>
2449
18362447 2450 * config/pa/pa64-hpux-lib.h: New file.
4c6d7494
JDA
2451 (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
2452 (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
2453 * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
2454 hppa*64*-*-hpux11*.
2455
2a26adf1
MF
24562016-10-18 Max Filippov <jcmvbkbc@gmail.com>
2457
2458 * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
2459 definition.
2460 * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
2461 definition.
2462 * config/xtensa/t-windowed (LIB2ADDEH): Use
2463 LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
2464 or xtensa/t-linux.
2465
66192aa1
DKC
24662016-10-18 Ding-Kai Chen <dkchen@cadence.com>
2467
2468 * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
2469 __ieee754_sqrt): New functions.
2470 (__divdf3): Add implementation with new FPU instructions under
2471 #if XCHAL_HAVE_DFP_DIV.
2472 * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
2473 __ieee754_sqrtf): New functions.
2474 (__divsf3): Add implementation with new FPU instructions under
2475 #if XCHAL_HAVE_FP_DIV.
2476 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
2477 _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
2478
4d0cdd0c
TP
24792016-10-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
2480
2481 * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
2482 equivalent.
2483 * config/tilepro/atomic.c: Likewise and stop casting model to
2484 enum memmodel.
2485
73f01cca
JM
24862016-10-10 Joseph Myers <joseph@codesourcery.com>
2487
2488 PR target/77586
2489 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
2490 soft-fp.
2491
b20e7532
AT
24922016-10-10 Andreas Tobler <andreast@gcc.gnu.org>
2493
2494 * config.host: Add support for aarch64-*-freebsd*.
2495
a786cec4
AS
24962016-10-05 Andreas Schwab <schwab@suse.de>
2497
2498 * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
2499 (.section .init_array): Don't call __do_jv_register_classes.
2500 (.section .init): Likewise.
2501
5a79befb
JJ
25022016-10-04 Jakub Jelinek <jakub@redhat.com>
2503
2504 * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
2505 (__JCR_LIST__): Remove.
2506 (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
2507 * config/i386/cygming-crtend.c (__JCR_END__): Remove.
2508 * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
2509 * config/ia64/crtend.S (__JCR_END__): Remove.
2510 * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
2511 conditionals.
2512 (__JCR_LIST__, __JCR_END__): Remove.
2513 (frame_dummy): Don't attempt to _Jv_RegisterClasses.
2514 (__do_global_ctors_1): Likewise.
2515
e0ab3753
UB
25162015-09-28 Uros Bizjak <ubizjak@gmail.com>
2517
2518 * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
2519 (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
2520
8c9434c2
ML
25212016-09-27 Martin Liska <mliska@suse.cz>
2522
2523 PR gcov-profile/7970
2524 PR gcov-profile/16855
2525 PR gcov-profile/44779
2526 * libgcov-driver.c (__gcov_init): Do not register a atexit
2527 handler.
2528 (__gcov_exit): Rename from gcov_exit.
2529 * libgcov.h (__gcov_exit): Declare.
2530
56b653f1
ML
25312016-09-27 Martin Liska <mliska@suse.cz>
2532
2533 PR bootstrap/77749
2534 * Makefile.in: Remove _gcov_merge_delta.
2535 * libgcov-merge.c (void __gcov_merge_delta): Remove.
2536 * libgcov-util.c (__gcov_delta_counter_op): Remove.
2537 * libgcov.h: Remove declaration of __gcov_merge_delta.
2538
7e02fd1b
EB
25392016-09-21 Eric Botcazou <ebotcazou@adacore.com>
2540
2541 * configure.ac: Do not create links, only substitute the filenames.
2542 * configure: Regenerate.
2543 * Makefile.in: Assign the substitution results to variables.
2544 (LIBGCC_LINKS): Define.
2545 (enable-execute-stack.c): New rule.
2546 (unwind.h): Likewise.
2547 (md-unwind-support.h): Likewise.
2548 (sfp-machine.h): Likewise.
2549 (gthr-default.h): Likewise.
2550 Add $(LIBGCC_LINKS) to the prerequisites of all object files and
2551 unwind.h as prerequisite of install-unwind_h-forbuild.
2552
29991048
JJ
25532016-09-16 Jakub Jelinek <jakub@redhat.com>
2554
2555 PR libgcc/71744
2556 * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
2557 is not the primary registry and atomics are available.
2558 (any_objects_registered): New variable.
2559 (__register_frame_info_bases, __register_frame_info_table_bases):
2560 Atomically store 1 to any_objects_registered after registering first
2561 unwind info.
2562 (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
2563
0abcd6cc
JG
25642016-09-09 James Greenhalgh <james.greenhalgh@arm.com>
2565
2566 PR target/63250
2567 * Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
2568 * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
2569 (HFtype): Likewise.
2570 (HCtype): Likewise.
2571 (__divhc3): Likewise.
2572 (__mulhc3): Likewise.
2573 * libgcc2.c: Support _mulhc3 and _divhc3.
2574
d758aeb5
JM
25752016-09-07 Joseph Myers <joseph@codesourcery.com>
2576
2577 PR libgcc/77519
2578 * libgcc2.c (NOTRUNC): Invert settings.
2579
7fe76f6a
ML
25802016-09-06 Martin Liska <mliska@suse.cz>
2581
2582 PR gcov-profile/77378
2583 PR gcov-profile/77466
2584 * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
2585 conditionaly enable/disable *_atomic functions.
2586
21184026
JM
25872016-08-26 Joseph Myers <joseph@codesourcery.com>
2588
2589 * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
2590 where not already enabled.
2591
726f49c3
SN
25922016-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
2593
2594 * config/mips/linux-unwind.h: Use sys/syscall.h.
2595
feeb6268
JM
25962016-08-16 Joseph Myers <joseph@codesourcery.com>
2597
2598 PR libgcc/77265
2599 * soft-fp/adddf3.c: Update from glibc.
2600 * soft-fp/addsf3.c: Likewise.
2601 * soft-fp/addtf3.c: Likewise.
2602 * soft-fp/divdf3.c: Likewise.
2603 * soft-fp/divsf3.c: Likewise.
2604 * soft-fp/divtf3.c: Likewise.
2605 * soft-fp/double.h: Likewise.
2606 * soft-fp/eqdf2.c: Likewise.
2607 * soft-fp/eqsf2.c: Likewise.
2608 * soft-fp/eqtf2.c: Likewise.
2609 * soft-fp/extenddftf2.c: Likewise.
2610 * soft-fp/extended.h: Likewise.
2611 * soft-fp/extendsfdf2.c: Likewise.
2612 * soft-fp/extendsftf2.c: Likewise.
2613 * soft-fp/extendxftf2.c: Likewise.
2614 * soft-fp/fixdfdi.c: Likewise.
2615 * soft-fp/fixdfsi.c: Likewise.
2616 * soft-fp/fixdfti.c: Likewise.
2617 * soft-fp/fixsfdi.c: Likewise.
2618 * soft-fp/fixsfsi.c: Likewise.
2619 * soft-fp/fixsfti.c: Likewise.
2620 * soft-fp/fixtfdi.c: Likewise.
2621 * soft-fp/fixtfsi.c: Likewise.
2622 * soft-fp/fixtfti.c: Likewise.
2623 * soft-fp/fixunsdfdi.c: Likewise.
2624 * soft-fp/fixunsdfsi.c: Likewise.
2625 * soft-fp/fixunsdfti.c: Likewise.
2626 * soft-fp/fixunssfdi.c: Likewise.
2627 * soft-fp/fixunssfsi.c: Likewise.
2628 * soft-fp/fixunssfti.c: Likewise.
2629 * soft-fp/fixunstfdi.c: Likewise.
2630 * soft-fp/fixunstfsi.c: Likewise.
2631 * soft-fp/fixunstfti.c: Likewise.
2632 * soft-fp/floatdidf.c: Likewise.
2633 * soft-fp/floatdisf.c: Likewise.
2634 * soft-fp/floatditf.c: Likewise.
2635 * soft-fp/floatsidf.c: Likewise.
2636 * soft-fp/floatsisf.c: Likewise.
2637 * soft-fp/floatsitf.c: Likewise.
2638 * soft-fp/floattidf.c: Likewise.
2639 * soft-fp/floattisf.c: Likewise.
2640 * soft-fp/floattitf.c: Likewise.
2641 * soft-fp/floatundidf.c: Likewise.
2642 * soft-fp/floatundisf.c: Likewise.
2643 * soft-fp/floatunditf.c: Likewise.
2644 * soft-fp/floatunsidf.c: Likewise.
2645 * soft-fp/floatunsisf.c: Likewise.
2646 * soft-fp/floatunsitf.c: Likewise.
2647 * soft-fp/floatuntidf.c: Likewise.
2648 * soft-fp/floatuntisf.c: Likewise.
2649 * soft-fp/floatuntitf.c: Likewise.
2650 * soft-fp/gedf2.c: Likewise.
2651 * soft-fp/gesf2.c: Likewise.
2652 * soft-fp/getf2.c: Likewise.
2653 * soft-fp/ledf2.c: Likewise.
2654 * soft-fp/lesf2.c: Likewise.
2655 * soft-fp/letf2.c: Likewise.
2656 * soft-fp/muldf3.c: Likewise.
2657 * soft-fp/mulsf3.c: Likewise.
2658 * soft-fp/multf3.c: Likewise.
2659 * soft-fp/negdf2.c: Likewise.
2660 * soft-fp/negsf2.c: Likewise.
2661 * soft-fp/negtf2.c: Likewise.
2662 * soft-fp/op-1.h: Likewise.
2663 * soft-fp/op-2.h: Likewise.
2664 * soft-fp/op-4.h: Likewise.
2665 * soft-fp/op-8.h: Likewise.
2666 * soft-fp/op-common.h: Likewise.
2667 * soft-fp/quad.h: Likewise.
2668 * soft-fp/single.h: Likewise.
2669 * soft-fp/soft-fp.h: Likewise.
2670 * soft-fp/subdf3.c: Likewise.
2671 * soft-fp/subsf3.c: Likewise.
2672 * soft-fp/subtf3.c: Likewise.
2673 * soft-fp/truncdfsf2.c: Likewise.
2674 * soft-fp/trunctfdf2.c: Likewise.
2675 * soft-fp/trunctfsf2.c: Likewise.
2676 * soft-fp/trunctfxf2.c: Likewise.
2677 * soft-fp/unorddf2.c: Likewise.
2678 * soft-fp/unordsf2.c: Likewise.
2679 * soft-fp/unordtf2.c: Likewise.
2680
2e6fc1ac
GG
26812016-08-15 Gilles Gouaillardet <gilles.gouaillardet@gmail.com>
2682
2683 PR gcov-profile/67097
2684 * libgcov-util.c (gcov_profile_merge): Skip missing files.
2685
a266236e
ML
26862016-08-10 Martin Liska <mliska@suse.cz>
2687
2688 PR gcov-profile/58306
2689 * Makefile.in: New functions (modules) are added.
2690 * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
2691 function.
2692 (__gcov_pow2_profiler_atomic): New function.
2693 (__gcov_one_value_profiler_body): New argument is instroduced.
2694 (__gcov_one_value_profiler): Call with the new argument.
2695 (__gcov_one_value_profiler_atomic): Likewise.
2696 (__gcov_indirect_call_profiler_v2): Likewise.
2697 (__gcov_time_profiler_atomic): New function.
2698 (__gcov_average_profiler_atomic): Likewise.
2699 (__gcov_ior_profiler_atomic): Likewise.
2700 * libgcov.h: Declare the aforementioned functions.
2701
e0c8eebf
ML
27022016-08-09 Martin Liska <mliska@suse.cz>
2703
2704 * libgcov-util.c: Fix typo and GNU coding style.
2705
6dce6418
ML
27062016-08-09 Martin Liska <mliska@suse.cz>
2707
2708 * Makefile.in: Remove __gcov_indirect_call_profiler.
2709 * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
2710 function.
2711 * libgcov.h: And the declaration of the function.
2712
dcb1e137
ML
27132016-08-09 Martin Liska <mliska@suse.cz>
2714
2715 * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
2716 power of two.
2717
d6e69705
BS
27182016-07-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
2719
2720 * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
2721 * config/rs6000/_mulkc3.c: Likewise.
2722
96aa1f95
GJL
27232016-07-29 Georg-Johann Lay <avr@gjlay.de>
2724
2725 * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
2726 zero_reg as previous call to __umulhisi3 already cleared it.
2727
a1b01d34
AJ
27282016-07-21 Aurelien Jarno <aurelien@aurel32.net>
2729
2730 PR target/59833
2731 * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
2732
985a47b2
NC
27332016-07-19 Nick Clifton <nickc@redhat.com>
2734
2735 * config.host (m32r): Add m32r/t-m32r to tmake_file.
2736 Add crtinit.o and crtfini.o to extra_parts.
2737
f906f5ed
BS
27382016-07-12 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
2739
2740 * config/rs6000/_divkc3.c: New.
2741 * config/rs6000/_mulkc3.c: New.
2742 * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
2743 and _divkc3.
2744 * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
2745 fp128_ppc_funcs.
2746
82742404
HW
27472016-07-11 Hale Wang <hale.wang@arm.com>
2748 Andre Vieira <andre.simoesdiasvieira@arm.com>
2749
2750 * config/arm/lib1funcs.S: Add new wrapper.
2751
05a437c1
TP
27522016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
2753
2754 * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
2755
3d16d9ec
TP
27562016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
2757
2758 * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
2759 and ARMv5t* rather than for a fixed list of architectures.
2760
6f493951
TP
27612016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
2762
2763 * config/arm/bpabi-v6m.S: Clarify what architectures is the
2764 implementation suitable for.
2765 * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
2766 for all Thumb-1 only targets.
2767 (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
2768 (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
2769 __ARM_ARCH_6M__.
2770 (EQUIV): Likewise.
2771 (ARM_FUNC_ALIAS): Likewise.
2772 (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
2773 version.
2774 (modsi3): Likewise.
2775 (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
2776 (clzdi2): Likewise.
2777 (ctzsi2): Likewise.
2778 (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
2779 __ARM_ARCH_6M__ in guard for checking whether it is defined.
2780 (final includes): Test for NOT_ISA_TARGET_32BIT rather than
2781 __ARM_ARCH_6M__ and add comment to indicate the connection between
2782 this condition and the one in gcc/config/arm/elf.h.
2783 * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
2784 __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
2785 * config/arm/t-softfp: Likewise.
2786
1770511a
TS
27872016-07-06 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2788
2789 * libgcc2.c (SYMBOL__MAIN): Remove checks for
2790 CTOR_LISTS_DEFINED_EXTERNALLY.
2791
ba6be749
WL
27922016-06-28 Walter Lee <walt@tilera.com>
2793
2794 * config/tilepro/atomic.h: Do not include arch/spr_def.h and
2795 asm/unistd.h.
2796 (SPR_CMPEXCH_VALUE): Define for tilegx.
2797 (__NR_FAST_cmpxchg): Define for tilepro.
2798 (__NR_FAST_atomic_update): Define for tilepro.
2799 (__NR_FAST_cmpxchg64): Define for tilepro.
2800
a34c0db5
JS
28012016-06-23 Jakub Sejdak <jakub.sejdak@phoesys.com>
2802
18362447 2803 * config.host: Add suport for arm*-*-phoenix* targets.
a34c0db5 2804
0609abda
TS
28052016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2806
2807 * config.host: Remove support for mep-*.
2808 * config/mep/lib1funcs.S: Remove.
2809 * config/mep/lib2funcs.c: Remove.
2810 * config/mep/t-mep: Remove.
2811 * config/mep/tramp.c: Remove.
2812
3e326935
TS
28132016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2814
2815 * config.host: Remove support for avr-rtems.
2816 * config/avr/t-rtems: Remove.
2817
914b155c
TS
28182016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2819
2820 * config.host: Remove m32r-rtems support.
2821
5ebf89bd
TS
28222016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2823
2824 * config.host: Remove h8300-rtems support.
2825
8466af06
TS
28262016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2827
2828 * config.host: Remove support for knetbsd.
2829
d980e738
TS
28302016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2831
2832 * config.host: Remove support for openbsd 2 and 3.
2833
ee2499b4
TS
28342016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2835
2836 * config.host: Remove interix support.
2837 * config/i386/t-interix: Remove.
2838
9f92937b
JDA
28392016-06-18 John David Anglin <danglin@gcc.gnu.org>
2840
2841 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
2842 least-significant bit in function pointer for fixup.
2843
0a0ec53d
AC
28442016-06-05 Aaron Conole <aconole@redhat.com>
2845 Nathan Sidwell <nathan@acm.org>
2846
2847 PR libgcc/71400
2848 * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
2849 (get_gcov_error_file): Check __gcov_error_file before trying to
2850 initialize it.
2851 (gcov_error): Always use get_gcov_error_file.
2852
8aa5bdd6
AC
28532016-06-02 Aaron Conole <aconole@redhat.com>
2854
2855 * libgcov-driver-system.c (__gcov_error_file): New.
2856 (get_gcov_error_file): New.
2857 (gcov_error): Use and set __gcov_error_file.
2858 (gcov_error_exit): New.
2859 * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
2860
40774faf
NS
28612016-05-26 Nathan Sidwell <nathan@acm.org>
2862
2863 * config/nvptx/free.asm: Delete.
2864 * config/nvptx/malloc.asm: Delete.
2865 * config/nvptx/realloc.c: Delete.
2866 * t-nvptx: Update.
2867
69a6d5ad
NS
28682016-05-25 Nathan Sidwell <nathan@acm.org>
2869
2870 * config/nvptx/crt0.s: Delete.
2871 * config/nvptx/crt0.c: New.
2872 * t-nvptx: Update.
2873
6befaff6
SL
28742016-05-19 Sandra Loosemore <sandra@codesourcery.com>
2875
385c7747 2876 * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
6befaff6
SL
2877 dw2/seh configuration.
2878 [x86_64-*-mingw*]: Likewise.
2879
ad251dfd
JS
28802016-05-10 Joel Sherrill <joel@rtems.org>
2881
2882 PR libgcc/70720
2883 * config.host (moxie-*-rtems*): Merge this stanza with other moxie
2884 targets so the same extra_parts are built. Also have tmake_file add
2885 on to its value rather than override.
2886
bc6d9014
OE
28872016-04-30 Oleg Endo <olegendo@gcc.gnu.org>
2888
2889 * config.host: Remove SH5 support.
2890 * configure: Likewise.
2891
9129c8cf
OE
28922016-04-29 Oleg Endo <olegendo@gcc.gnu.org>
2893
2894 * config/sh/crt1.S: Remove SH5 support.
2895 * config/sh/crti.S: Likewise.
2896 * config/sh/crtn.S: Likewise.
2897 * config/sh/lib1funcs-4-300.S: Likewise.
2898 * config/sh/lib1funcs-Os-4-200.S: Likewise.
2899 * config/sh/lib1funcs.S: Likewise.
2900 * config/sh/linux-unwind.h: Likewise.
2901 * config/sh/t-sh64: Delete.
2902
39d50464
CZ
29032016-04-29 Claudiu Zissulescu <claziss@synopsys.com>
2904
2905 * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
2906
8b48923b
CZ
29072016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
2908 Joern Rennecke <joern.rennecke@embecosm.com>
2909
2910 * config/arc/crttls.S: New file.
2911 * config/arc/t-arc: New rule.
2912 * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
2913
2de1cf8c
NC
29142016-04-25 Nick Clifton <nickc@redhat.com>
2915
2916 * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
2917 (__mspabi_cmpd): Likewise.
2918 * config/msp430/floathidf.c (__floathidf): Likewise.
2919 * config/msp430/floathisf.c (__floathisf): Likewise
2920 * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
2921 * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
2922 * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
2923 second parameter.
2924 (__ashrsi3): Likewise.
2925
b8ce3fe2
WB
29262016-04-21 Waldemar Brodkorb <wbx@openadk.org>
2927
2928 * config/m68k/linux-atomic.c: Do not include unistd.h
2929
4986f823
MG
29302016-04-20 Martin Galvan <martin.galvan@tallertechnologies.com>
2931
2932 * config/arm/ieee754-df.S: Fix typos in comments.
2933
35fbda43
MM
29342016-04-11 Michael Meissner <meissner@linux.vnet.ibm.com>
2935
2936 PR target/70381
2937 * configure.ac (powerpc*-*-linux*): Rework tests to build
2938 __float128 emulation routines to not depend on using #pragma GCC
2939 target to enable -mfloat128.
2940 * configure: Regnerate.
2941
72d1a48d
EB
29422016-04-04 Eric Botcazou <ebotcazou@adacore.com>
2943
2944 PR target/67172
2945 * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
2946 __MINGW32__ is defined.
2947
dc2e8995
JB
29482016-03-28 James Bowman <james.bowman@ftdichip.com>
2949
385c7747 2950 * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
dc2e8995 2951
104cdaf1
MM
29522016-03-22 Michael Meissner <meissner@linux.vnet.ibm.com>
2953
2954 PR libgcc/70363
2955 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
2956 built with an assembler that does not support ISA 3.0
2957 instructions, rename __extendkftf2_sw to __extendkftf2.
2958
a5046f48
RO
29592016-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2960
2961 PR target/38239
2962 * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
2963 call-clobbered registers.
2964 (internal_mcount): Remove __i386__ handling.
2965
df674f74
JS
29662016-02-26 Joel Sherrill <joel@rtems.org>
2967
2968 * config.host: Add x86_64-*-rtems*.
2969
7cb065d6
JS
29702016-02-26 Joel Sherrill <joel@rtems.org>
2971
2972 * libgcc/config.host: Add aarch64-*-rtems*.
2973
47dfdc53
PM
29742016-02-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2975 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
2976
2977 * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
2978 union of u64 and double.
2979 (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
2980 (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
2981 value.
2982 (FP_ROUNDMODE): Update the usage of _fpscr.
2983
e6861a99
IV
29842016-02-25 Ilya Verbin <ilya.verbin@intel.com>
2985
2986 PR driver/68463
2987 * Makefile.in (crtoffloadtable$(objext)): New rule.
2988 * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
2989 enable_offload_targets is not empty.
2990 * configure: Regenerate.
2991 * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
2992 crtoffloadtable.
2993
9bfcbdee
MF
29942016-02-17 Max Filippov <jcmvbkbc@gmail.com>
2995
2996 * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
2997 .literal_position before the function.
2998 * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
2999 Likewise.
3000
4cb4721f
MK
30012016-02-15 Marcin Kościelnicki <koriakin@0x04.net>
3002
3003 * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
3004 * config/s390/morestack.S: New file.
3005 * config/s390/t-stack-s390: New file.
3006 * generic-morestack.c (__splitstack_find): Add s390-specific code.
3007
b29d9a29
WL
30082016-02-12 Walter Lee <walt@tilera.com>
3009
3010 * config.host (tilegx*-*-linux*): remove ti from
3011 softfp_int_modes for 32-bit configs.
3012
03a0ae7d
ILT
30132016-02-10 Ian Lance Taylor <iant@google.com>
3014
3015 PR go/68562
3016 * config/i386/morestack.S (__stack_split_initialize): Align
3017 stack.
3018
68750bce
AT
30192016-02-03 Andreas Tobler <andreast@gcc.gnu.org>
3020
3021 PR bootstrap/69611
3022 * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
3023 __FLOAT128__ to compile only for __float128 capable targets.
3024
7d296953
JJ
30252016-01-25 Jakub Jelinek <jakub@redhat.com>
3026
3027 PR target/69444
3028 * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
3029 instead of ___NO_FPRS__.
3030
a71c0334 30312016-01-21 Michael Meissner <meissner@linux.vnet.ibm.com>
7d296953
JJ
3032 Steven Munroe <munroesj@linux.vnet.ibm.com>
3033 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
a71c0334
MM
3034
3035 * config/rs6000/float128-sed: New files to convert TF names to KF
3036 names for PowerPC IEEE 128-bit floating point support.
3037 * config/rs6000/float128-sed-hw: Likewise.
3038
3039 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
3040 floating point hardware support.
3041
3042 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
3043 128-bit floating point software emulation or use ISA 3.0 hardware
3044 support if it is available.
3045
3046 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
3047 floating point.
3048
3049 * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
3050 floating point to IBM extended double.
3051
3052 * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
3053 double to IEEE 128-bit floating point.
3054
3055 * config/rs6000/t-float128: New Makefile fragments to enable
3056 building __float128 emulation support.
3057 * config/rs6000/t-float128-hw: Likewise.
3058
3059 * config/rs6000/sfp-exceptions.c: New file to provide exception
3060 support for IEEE 128-bit floating point.
3061
3062 * config/rs6000/floattikf.c: New files for converting between IEEE
3063 128-bit floating point and signed/unsigned 128-bit integers.
3064 * config/rs6000/fixunskfti.c: Likewise.
3065 * config/rs6000/fixkfti.c: Likewise.
3066 * config/rs6000/floatuntikf.c: Likewise.
3067
3068 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
3069 when building on 64-bit systems, or when VSX is enabled.
3070 (_FP_W_TYPE): Likewise.
3071 (_FP_WS_TYPE): Likewise.
3072 (_FP_I_TYPE): Likewise.
3073 (TItype): Define on 64-bit systems.
3074 (UTItype): Likewise.
3075 (TI_BITS): Likewise.
3076 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
3077 (_FP_MUL_MEAT_Q): Likewise.
3078 (_FP_DIV_MEAT_D): Likewise.
3079 (_FP_DIV_MEAT_Q): Likewise.
3080 (_FP_NANFRAC_D): Likewise.
3081 (_FP_NANFRAC_Q): Likewise.
3082 (ISA_BIT): Add exception support if we are being compiled on a
3083 machine with hardware floating point support to build the IEEE
3084 128-bit emulation functions.
3085 (FP_EX_INVALID): Likewise.
3086 (FP_EX_OVERFLOW): Likewise.
3087 (FP_EX_UNDERFLOW): Likewise.
3088 (FP_EX_DIVZERO): Likewise.
3089 (FP_EX_INEXACT): Likewise.
3090 (FP_EX_ALL): Likewise.
3091 (__sfp_handle_exceptions): Likewise.
3092 (FP_HANDLE_EXCEPTIONS): Likewise.
3093 (FP_RND_NEAREST): Likewise.
3094 (FP_RND_ZERO): Likewise.
3095 (FP_RND_PINF): Likewise.
3096 (FP_RND_MINF): Likewise.
3097 (FP_RND_MASK): Likewise.
3098 (_FP_DECL_EX): Likewise.
3099 (FP_INIT_ROUNDMODE): Likewise.
3100 (FP_ROUNDMODE): Likewise.
3101
3102 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
3103 VSX code, enable IEEE 128-bit floating point. If the compiler can
3104 compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
3105 floating point hardware instructions and it supports declaring
3106 functions with the ifunc attribute, enable ifunc functions to
3107 switch between software and hardware support.
3108 * configure.ac (powerpc*-*-linux*): Likewise.
3109 * configure: Regenerate.
3110
bdc27e50
NC
31112016-01-15 Nick Clifton <nickc@redhat.com>
3112
3113 * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
3114 dependency as the source file to be compiled.
3115 (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
3116 (lib2hw_mul_f5.o): Likewise.
3117
006df05d
MM
31182016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
3119
3120 * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
3121 * libgcc/config/rs6000/fixkfti.c: Likewise.
3122 * libgcc/config/rs6000/fixunskfti.c: Likewise.
3123 * libgcc/config/rs6000/float128-hw.c: Likewise.
3124 * libgcc/config/rs6000/float128-ifunc.c: Likewise.
3125 * libgcc/config/rs6000/float128-sed: Likewise.
3126 * libgcc/config/rs6000/floattikf.c: Likewise.
3127 * libgcc/config/rs6000/floatuntikf.c: Likewise.
3128 * libgcc/config/rs6000/quad-float128.h: Likewise.
3129 * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
3130 * libgcc/config/rs6000/sfp-machine.h: Likewise.
3131 * libgcc/config/rs6000/t-float128: Likewise.
3132 * libgcc/config/rs6000/t-float128-hw: Likewise.
3133 * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
3134 * libgcc/config.host: Likewise.
3135 * libgcc/configure: Likewise.
3136 * libgcc/configure.ac: Likewise.
3137
29176d57 31382016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
7d296953
JJ
3139 Steven Munroe <munroesj@linux.vnet.ibm.com>
3140 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
29176d57
MM
3141
3142 * config/rs6000/sfp-exceptions.c: New file to provide exception
3143 support for IEEE 128-bit floating point.
3144
3145 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
3146 floating point hardware support.
3147
3148 * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
3149 point conversions.
3150 * config/rs6000/fixunskfti.c: Likewise.
3151 * config/rs6000/fixkfti.c: Likewise.
3152 * config/rs6000/floatuntikf.c: Likewise.
3153 * config/rs6000/extendkftf2-sw.c: Likewise.
3154 * config/rs6000/trunctfkf2-sw.c: Likewise.
3155
3156 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
3157 128-bit floating point software emulation or use ISA 3.0 hardware
3158 support if it is available.
3159
3160 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
3161 floating point.
3162
3163 * config/rs6000/t-float128: New Makefile fragments to enable
3164 building __float128 emulation support.
3165 * config/rs6000/t-float128-hw: Likewise.
3166
3167 * config/rs6000/float128-sed: New file to convert TF names to KF
3168 names for PowerPC IEEE 128-bit floating point support.
3169
3170 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
3171 when building on 64-bit systems, or when VSX is enabled.
3172 (_FP_W_TYPE): Likewise.
3173 (_FP_WS_TYPE): Likewise.
3174 (_FP_I_TYPE): Likewise.
3175 (TItype): Define on 64-bit systems.
3176 (UTItype): Likewise.
3177 (TI_BITS): Likewise.
3178 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
3179 (_FP_MUL_MEAT_Q): Likewise.
3180 (_FP_DIV_MEAT_D): Likewise.
3181 (_FP_DIV_MEAT_Q): Likewise.
3182 (_FP_NANFRAC_D): Likewise.
3183 (_FP_NANFRAC_Q): Likewise.
3184 (ISA_BIT): Add exception support if we are being compiled on a
3185 machine with hardware floating point support to build the IEEE
3186 128-bit emulation functions.
3187 (FP_EX_INVALID): Likewise.
3188 (FP_EX_OVERFLOW): Likewise.
3189 (FP_EX_UNDERFLOW): Likewise.
3190 (FP_EX_DIVZERO): Likewise.
3191 (FP_EX_INEXACT): Likewise.
3192 (FP_EX_ALL): Likewise.
3193 (__sfp_handle_exceptions): Likewise.
3194 (FP_HANDLE_EXCEPTIONS): Likewise.
3195 (FP_RND_NEAREST): Likewise.
3196 (FP_RND_ZERO): Likewise.
3197 (FP_RND_PINF): Likewise.
3198 (FP_RND_MINF): Likewise.
3199 (FP_RND_MASK): Likewise.
3200 (_FP_DECL_EX): Likewise.
3201 (FP_INIT_ROUNDMODE): Likewise.
3202 (FP_ROUNDMODE): Likewise.
3203
3204 * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
3205 compiler can do __float128.
3206 * configure: Regenerate.
3207
3208 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
3209 VSX code, enable IEEE 128-bit floating point.
3210
a2218983
OH
32112016-01-05 Olivier Hainque <hainque@adacore.com>
3212
3213 * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
29176d57 3214 specificities.
a2218983 3215
818ab71a
JJ
32162016-01-04 Jakub Jelinek <jakub@redhat.com>
3217
3218 Update copyright years.
3219
5a6c8ffa
AP
32202015-12-18 Andris Pavenis <andris.pavenis@iki.fi>
3221
3222 * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
29176d57 3223 soft-fp targets.
5a6c8ffa 3224
077067a5
BE
32252015-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
3226
3227 * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
3228 instead of abort to avoid dependency on stdlib.h.
3229
787c1027
JDA
32302015-12-09 John David Anglin <danglin@gcc.gnu.org>
3231
3232 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
3233 to initialize call to __dl_fixup once.
3234
04a9ae28
NC
32352015-12-04 Nick Clifton <nickc@redhat.com>
3236
3237 * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
3238 Allow for the second argument being negative.
3239 * config.host (extra_parts): Define for MSP430. Create separate
3240 libraries for each of the hardware multiply formats.
3241 * config/msp430/lib2hw_mul.S: Build only the multiply routines
3242 that are needed.
3243 * config/msp430/lib2mul.c: Likewise.
3244 * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
3245 Add rules to build hardware multiply libraries.
3246 * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
3247 __mspabi_divul function.
3248 (__mspabi_divllu): New stub function.
3249
9a32d437
JDA
32502015-12-01 John David Anglin <danglin@gcc.gnu.org>
3251
3252 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
3253 fixup values if saved GOT address doesn't match runtime address.
3254 (fixup_branch_offset): Reorder list.
3255
e5ef217c
RO
32562015-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3257
3258 * Makefile.in (VTV_CFLAGS): New variable.
3259 (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
3260 (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
3261 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
3262 Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
3263 to extra_parts if $enable_vtable_verify = yes.
3264
78cc43a2
SN
32652015-11-23 Szabolcs Nagy <szabolcs.nagy@arm.com>
3266
3267 PR target/68059
3268 * config/arm/linux-atomic-64bit.c (__write): Rename to...
3269 (write): ...this and fix the return type.
3270
9afebea2
DD
32712015-11-19 DJ Delorie <dj@redhat.com>
3272
3273 * config/msp430/lib2hw_mul.S: Fix alignment.
3274
33f47f42
NS
32752015-11-18 Nathan Sidwell <nathan@codesourcery.com>
3276
3277 * config/nvptx/reduction.c: New.
3278 * config/nvptx/t-nvptx (LIB2ADD): Add it.
3279
d9adb476
DE
32802015-11-15 David Edelsohn <dje.gcc@gmail.com>
3281
3282 * config/rs6000/on_exit.c: New file.
3283 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
3284 * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
3285
c0ab1970
CZ
32862015-11-11 Claudiu Zissulescu <claziss@synopsys.com>
3287
3288 * config/arc/dp-hack.h: Add support for ARCHS.
3289 * config/arc/ieee-754/divdf3.S: Likewise.
3290 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
3291 * config/arc/ieee-754/muldf3.S: Likewise.
3292 * config/arc/ieee-754/mulsf3.S: Likewise
3293 * config/arc/lib1funcs.S: Likewise
3294 * config/arc/gmon/dcache_linesz.S: Don't read the build register
3295 for ARCv2 cores.
3296 * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
3297 for ARCv2 cores.
3298 * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
3299 * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
3300 cores.
3301
e6b6bf09
RO
33022015-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3303
3304 * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
3305 value.
3306 * config/ia64/crtend.S: Likewise.
3307
a153644f
TS
33082015-11-07 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3309
3310 * config/visium/lib2funcs.c (__set_trampoline_parity): Use
3311 __CHAR_BIT__ instead of BITS_PER_UNIT.
3312 * fixed-bit.h: Likewise.
3313 * fp-bit.h: Likewise.
3314 * libgcc2.c (__popcountSI2): Likewise.
3315 (__popcountDI2): Likewise.
3316 * libgcc2.h: Likewise.
3317 * libgcov.h: Likewise.
3318
3dee689d
DE
33192015-11-07 David Edelsohn <dje.gcc@gmail.com>
3320
3321 * config/rs6000/atexit.c: New file.
3322 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
3323 * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
3324 * config/rs6000/cxa_finalize.c
3325 (catomic_compare_and_exchange_bool_acq): Negate return value.
3326
2ef543e4
VK
33272015-10-30 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
3328
3329 * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
3330 (processor_subtypes): Add znver1.
3331 (get_amd_cpu): Detect znver1.
3332
1300f017
CL
33332015-10-29 Christophe Lyon <christophe.lyon@linaro.org>
3334
3335 * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
3336 Include crtfastmath.o.
3337
3e5bb7ee
JR
33382015-10-23 Joern Rennecke <joern.rennecke@embecosm.com>
3339
3340 PR libgcc/66883
3341 * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
1300f017 3342
793aa938
KP
33432015-10-16 Kaushik Phatak <kaushik.phatak@kpit.com>
3344
3345 * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
3346 * config/rl78/divmodsi.S: Update return register to r8.
3347 * config/rl78/divmodhi.S: Update return register to r8,r9.
3348 Branch to main_loop_done_himode to pop registers before return.
3349
7d296953 33502015-10-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
fac812f0
VK
3351
3352 * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
3353 (__cpu_indicator_init): Fix model selection for AMD CPUs.
3354
6a192b5a
KY
33552015-10-05 Kirill Yukhin <kirill.yukhin@intel.com>
3356
3357 * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
3358
4a0a9457
MF
33592015-10-03 Max Filippov <jcmvbkbc@gmail.com>
3360
3361 * config.host (xtensa*-*-uclinux*): New configuration.
3362
ab91c076
KY
33632015-10-02 Kirill Yukhin <kirill.yukhin@intel.com>
3364
385c7747 3365 * config/i386/cpuinfo.c (processor_features): Add
ab91c076
KY
3366 FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
3367
30954527
JM
33682015-09-28 Joseph Myers <joseph@codesourcery.com>
3369
3370 * soft-fp/adddf3.c: Update from glibc.
3371 * soft-fp/addsf3.c: Likewise.
3372 * soft-fp/addtf3.c: Likewise.
3373 * soft-fp/divdf3.c: Likewise.
3374 * soft-fp/divsf3.c: Likewise.
3375 * soft-fp/divtf3.c: Likewise.
3376 * soft-fp/double.h: Likewise.
3377 * soft-fp/eqdf2.c: Likewise.
3378 * soft-fp/eqsf2.c: Likewise.
3379 * soft-fp/eqtf2.c: Likewise.
3380 * soft-fp/extenddftf2.c: Likewise.
3381 * soft-fp/extended.h: Likewise.
3382 * soft-fp/extendsfdf2.c: Likewise.
3383 * soft-fp/extendsftf2.c: Likewise.
3384 * soft-fp/extendxftf2.c: Likewise.
3385 * soft-fp/fixdfdi.c: Likewise.
3386 * soft-fp/fixdfsi.c: Likewise.
3387 * soft-fp/fixdfti.c: Likewise.
3388 * soft-fp/fixsfdi.c: Likewise.
3389 * soft-fp/fixsfsi.c: Likewise.
3390 * soft-fp/fixsfti.c: Likewise.
3391 * soft-fp/fixtfdi.c: Likewise.
3392 * soft-fp/fixtfsi.c: Likewise.
3393 * soft-fp/fixtfti.c: Likewise.
3394 * soft-fp/fixunsdfdi.c: Likewise.
3395 * soft-fp/fixunsdfsi.c: Likewise.
3396 * soft-fp/fixunsdfti.c: Likewise.
3397 * soft-fp/fixunssfdi.c: Likewise.
3398 * soft-fp/fixunssfsi.c: Likewise.
3399 * soft-fp/fixunssfti.c: Likewise.
3400 * soft-fp/fixunstfdi.c: Likewise.
3401 * soft-fp/fixunstfsi.c: Likewise.
3402 * soft-fp/fixunstfti.c: Likewise.
3403 * soft-fp/floatdidf.c: Likewise.
3404 * soft-fp/floatdisf.c: Likewise.
3405 * soft-fp/floatditf.c: Likewise.
3406 * soft-fp/floatsidf.c: Likewise.
3407 * soft-fp/floatsisf.c: Likewise.
3408 * soft-fp/floatsitf.c: Likewise.
3409 * soft-fp/floattidf.c: Likewise.
3410 * soft-fp/floattisf.c: Likewise.
3411 * soft-fp/floattitf.c: Likewise.
3412 * soft-fp/floatundidf.c: Likewise.
3413 * soft-fp/floatundisf.c: Likewise.
3414 * soft-fp/floatunditf.c: Likewise.
3415 * soft-fp/floatunsidf.c: Likewise.
3416 * soft-fp/floatunsisf.c: Likewise.
3417 * soft-fp/floatunsitf.c: Likewise.
3418 * soft-fp/floatuntidf.c: Likewise.
3419 * soft-fp/floatuntisf.c: Likewise.
3420 * soft-fp/floatuntitf.c: Likewise.
3421 * soft-fp/gedf2.c: Likewise.
3422 * soft-fp/gesf2.c: Likewise.
3423 * soft-fp/getf2.c: Likewise.
3424 * soft-fp/ledf2.c: Likewise.
3425 * soft-fp/lesf2.c: Likewise.
3426 * soft-fp/letf2.c: Likewise.
3427 * soft-fp/muldf3.c: Likewise.
3428 * soft-fp/mulsf3.c: Likewise.
3429 * soft-fp/multf3.c: Likewise.
3430 * soft-fp/negdf2.c: Likewise.
3431 * soft-fp/negsf2.c: Likewise.
3432 * soft-fp/negtf2.c: Likewise.
3433 * soft-fp/op-1.h: Likewise.
3434 * soft-fp/op-2.h: Likewise.
3435 * soft-fp/op-4.h: Likewise.
3436 * soft-fp/op-8.h: Likewise.
3437 * soft-fp/op-common.h: Likewise.
3438 * soft-fp/quad.h: Likewise.
3439 * soft-fp/single.h: Likewise.
3440 * soft-fp/soft-fp.h: Likewise.
3441 * soft-fp/subdf3.c: Likewise.
3442 * soft-fp/subsf3.c: Likewise.
3443 * soft-fp/subtf3.c: Likewise.
3444 * soft-fp/truncdfsf2.c: Likewise.
3445 * soft-fp/trunctfdf2.c: Likewise.
3446 * soft-fp/trunctfsf2.c: Likewise.
3447 * soft-fp/trunctfxf2.c: Likewise.
3448 * soft-fp/unorddf2.c: Likewise.
3449 * soft-fp/unordsf2.c: Likewise.
3450 * soft-fp/unordtf2.c: Likewise.
3451
4dfe21ac
RE
34522015-09-24 Richard Earnshaw <rearnsha@arm.com>
3453
3454 PR libgcc/67624
3455 * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
3456
df2a1cc4
RO
34572015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3458
3459 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
3460 Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
3461 * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
3462 messages.
3463 (internal_mcount): Likewise.
3464 * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
3465 crt_compile, add CRTSTUFF_T_CFLAGS_S.
3466
2d110442
RO
34672015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3468
3469 * configure.ac (libgcc_cv_solaris_crts): New test.
3470 * configure: Regenerate.
3471 * config.in: Regenerate.
3472 * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
3473 * config/gmon-sol2.c: Rename to ...
3474 * config/sol2/gmon.c: ... this.
3475 Include auto-target.h.
3476 (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
3477 * config/t-sol2: Rename to ...
3478 * config/sol2/t-sol2: ... this.
3479 (gmon.o): Reflect renaming.
3480 (crtp.o, crtpg.o): New rules.
3481 * config.host (*-*-solaris2*): Reflect renaming.
3482 Use system CRTs if present.
3483 Remove default CRT case.
3484
d572e439
JDA
34852015-09-23 John David Anglin <danglin@gcc.gnu.org>
3486
3487 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
3488 (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
3489 __kernel_cmpxchg2.
3490 (__sync_##OP##_and_fetch_##WIDTH): Likewise.
3491 (__sync_val_compare_and_swap_##WIDTH): Likewise.
3492 (__sync_bool_compare_and_swap_##WIDTH): Likewise.
3493 (__sync_lock_test_and_set_##WIDTH): Likewise.
3494 (__sync_lock_release_##WIDTH): Likewise.
3495 (__sync_fetch_and_##OP##_4): Change result to match type of
3496 __kernel_cmpxchg.
3497 (__sync_##OP##_and_fetch_4): Likewise.
3498 (__sync_val_compare_and_swap_4): Likewise.
3499 (__sync_bool_compare_and_swap_4): likewise.
3500 (__sync_lock_test_and_set_4): Likewise.
3501 (__sync_lock_release_4): Likewise.
3502 (FETCH_AND_OP_2): Add long long variants.
3503 (OP_AND_FETCH_2): Likewise.
3504 (COMPARE_AND_SWAP_2 ): Likewise.
3505 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
3506 (SYNC_LOCK_RELEASE_2): Likewise.
3507 (__sync_bool_compare_and_swap_##WIDTH): Correct return.
3508
7d296953 35092015-09-22 Kirill Yukhin <kirill.yukhin@intel.com>
06caf59d
KY
3510
3511 * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
3512 FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
3513 FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
3514 (get_available_features): Habdle new features.
3515
131314e1
JB
35162015-09-21 James Bowman <james.bowman@ftdichip.com>
3517
3518 * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
3519 memory layout. Deal correctly with BSS region larger than 32K.
3520 Handle a watchdog reset like a power-on reset. Clean up unused
3521 code.
3522
04218b35
AD
35232015-09-18 Andrew Dixie <andrewd@gentrack.com>
3524 David Edelsohn <dje.gcc@gmail.com>
3525
3526 * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
3527 * config/rs6000/crtdbase.S: New file.
3528 * config/rs6000/t-aix-cxa: Build crtdbase.o.
3529
c8338173
MF
35302015-09-15 Max Filippov <jcmvbkbc@gmail.com>
3531
3532 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
3533 Add support for call0 ABI.
3534
7a84bf71
JDA
35352015-09-13 John David Anglin <danglin@gcc.gnu.org>
3536
3537 * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
3538
4efab402
SH
35392015-09-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
3540
3541 * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
3542 (__GTHREAD_HAS_COND): Likewise.
3543 (__gthread_t): Likewise.
3544 (__gthread_cond_t): Likewise.
3545 (__gthread_time_t): Likewise.
3546 (__GTHREAD_MUTEX_INIT): Likewise.
3547 (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
3548 (__GTHREAD_COND_INIT): Likewise.
3549 (__GTHREAD_COND_INIT_FUNCTION): Likewise.
3550 (__GTHREAD_TIME_INIT): Likewise.
3551 (__gthread_create): Likewise.
3552 (__gthread_join): Likewise.
3553 (__gthread_detach): Likewise.
3554 (__gthread_equal): Likewise.
3555 (__gthread_self): Likewise.
3556 (__gthread_yield): Likewise.
3557 (__gthread_cond_broadcast): Likewise.
3558 (__gthread_cond_signal): Likewise.
3559 (__gthread_cond_wait): Likewise.
3560 (__gthread_cond_timedwait): Likewise.
3561 (__gthread_cond_wait_recursive): Likewise.
3562 (__gthread_cond_destroy): Likewise.
3563 (rtems_gxx_once): Delete.
3564 (rtems_gxx_key_create): Likewise.
3565 (rtems_gxx_key_delete): Likewise.
3566 (rtems_gxx_getspecific): Likewise.
3567 (rtems_gxx_setspecific): Likewise.
3568 (rtems_gxx_mutex_init): Likewise.
3569 (rtems_gxx_mutex_destroy): Likewise.
3570 (rtems_gxx_mutex_lock): Likewise.
3571 (rtems_gxx_mutex_trylock): Likewise.
3572 (rtems_gxx_mutex_unlock): Likewise.
3573 (rtems_gxx_recursive_mutex_init): Likewise.
3574 (rtems_gxx_recursive_mutex_lock): Likewise.
3575 (rtems_gxx_recursive_mutex_trylock): Likewise.
3576 (rtems_gxx_recursive_mutex_unlock): Likewise.
3577 (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
3578 (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
3579 (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
3580 (__gthread_once): Likewise.
3581 (__gthread_key_create): Likewise.
3582 (__gthread_key_delete): Likewise.
3583 (__gthread_getspecific): Likewise.
3584 (__gthread_setspecific): Likewise.
3585 (__gthread_key_t): Use <pthread.h> type.
3586 (__gthread_once_t): Likewise
3587 (__gthread_mutex_t): Use <sys/lock.h> type.
3588 (__gthread_recursive_mutex_t): Likewise
3589 (__gthread_mutex_lock): Use <sys/lock.h> function.
3590 (__gthread_mutex_trylock): Likewise.
3591 (__gthread_mutex_timedlock): Likewise.
3592 (__gthread_mutex_unlock): Likewise.
3593 (__gthread_mutex_destroy): Likewise.
3594 (__gthread_recursive_mutex_lock): Likewise.
3595 (__gthread_recursive_mutex_trylock): Likewise.
3596 (__gthread_recursive_mutex_timedlock): Likewise.
3597 (__gthread_recursive_mutex_unlock): Likewise.
3598 (__gthread_recursive_mutex_destroy): Likewise.
3599
991995c4
MF
36002015-08-18 Max Filippov <jcmvbkbc@gmail.com>
3601
3602 * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
3603 context->sp instead of context->cfa.
3604
0e19db59
MF
36052015-08-18 Max Filippov <jcmvbkbc@gmail.com>
3606
3607 * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
3608 with unwind-dw2-fde-dip.
3609
b6ac5f62
MF
36102015-08-18 Max Filippov <jcmvbkbc@gmail.com>
3611
3612 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
3613 CALL12 followed by series of ENTRY to spill windowed registers.
3614 (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
3615 instead of making linux spill syscall.
3616
3e0f3349
YR
36172015-08-14 Yuri Rumyantsev <ysrumyan@gmail.com>
3618
3619 * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
3620 (get_intel_cpu): Likewise.
3621
51c728b1
L
36222015-08-12 H.J. Lu <hongjiu.lu@intel.com>
3623
3624 * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
3625 (get_intel_cpu): Add Knights Landing support.
3626
aff4eeac
UB
36272015-08-11 Uros Bizjak <ubizjak@gmail.com>
3628
3629 PR target/66954
3630 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
3631 (get_available_features): Handle FEATURE_PCLMUL.
3632
736e56da
L
36332015-08-10 H.J. Lu <hongjiu.lu@intel.com>
3634
3635 * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
3636 Broadwell.
3637
54d22142
UB
36382015-07-22 Uros Bizjak <ubizjak@gmail.com>
3639
3640 PR target/66954
3641 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
3642 (get_available_features): Handle FEATURE_AES.
3643
20ca17e4
CLT
36442015-07-22 Chung-Lin Tang <cltang@codesourcery.com>
3645
3646 * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
3647 (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
3648
ebe4a560
NS
36492015-07-17 Nathan Sidwell <nathan@codesourcery.com>
3650
3651 * offloadstuff.c: Constify host data.
3652
180744c0
JB
36532015-07-17 Jan Beulich <jbeulich@suse.com>
3654
3655 * config/t-softfp: Split up "else ifneq".
3656
a03c6ae3
SL
36572015-07-14 Sandra Loosemore <sandra@codesourcery.com>
3658 Cesar Philippidis <cesar@codesourcery.com>
3659 Chung-Lin Tang <cltang@codesourcery.com>
3660
3661 * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
3662 for __nios2_arch__ level.
3663
73358db5
JM
36642015-07-13 John Marino <gnugcc@marino.st>
3665
3666 * config/i386/t-dragonfly: New.
3667
f9a12f7b
JDA
36682015-07-01 John David Anglin <danglin@gcc.gnu.org>
3669
3670 * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
3671 better match light-weight syscall argument order.
3672 (__kernel_cmpxchg2): Likewise.
3673 Adjust callers.
3674
cb78b51c
L
36752015-06-30 H.J. Lu <hongjiu.lu@intel.com>
3676
3677 * config.host: Support i[34567]86-*-elfiamcu target.
3678 * config/t-softfp-sfdftf: New file.
3679 * config/i386/32/t-iamcu: Likewise.
3680 * configure: Regenerated.
3681
4fa0f9ea
JL
36822015-06-23 James Lemke <jwlemke@codesourcery.com>
3683
3684 libgcc/config/arm/
3685 * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
3686
428b3812
L
36872015-05-27 H.J. Lu <hongjiu.lu@intel.com>
3688
3689 * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
3690
7d296953 36912015-05-27 John Marino <gnugcc@marino.st>
89c54dd3
JM
3692
3693 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
3694 md_unwind_header
3695 * config/i386/freebsd-unwind.h: New.
3696
9b789cc1
UB
36972015-05-22 Uros Bizjak <ubizjak@gmail.com>
3698
3699 * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
3700 i386/t-crtfm to tmake_file.
3701 * config/i386/crtfastmath.c (set_fast_math_sse): New function.
3702 (set_fast_math): Use set_fast_math_sse for SSE targets.
3703 * config/i386/t-crtfm: Remove.
3704
3dafb220
AM
37052015-05-21 Alan Modra <amodra@gmail.com>
3706
3707 PR libgcc/66225
3708 * config/rs6000/morestack.S: Remove ".abiversion 1".
3709
0f0fd745
AM
37102015-05-20 Alan Modra <amodra@gmail.com>
3711
3712 * config/rs6000/morestack.S: New.
3713 * config/rs6000/t-stack-rs6000: New.
3714 * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
3715 to tmake_file.
3716 * generic-morestack.c: Don't build for powerpc 32-bit.
3717
515ae71b
EB
37182015-05-19 Eric Botcazou <ebotcazou@adacore.com>
3719
3720 * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
3721 Remove useless endif/ifneq ($(enable_shared),yes) pair.
3722
36805406
JL
37232015-05-16 James Bowman <james.bowman@ftdichip.com>
3724
3725 * config.host: FT32 target added.
3726 * config/ft32/*: New files for FT32 target.
3727
ff935d0c
MG
37282015-05-15 Martin Galvan <martin.galvan@tallertechnologies.com>
3729
385c7747
UB
3730 * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
3731 New macros.
3732 * config/arm/ieee754-df.S: Add CFI directives.
3733 * config/arm/ieee754-sf.S: Add CFI directives.
ff935d0c 3734
9b92a9f3
EB
37352015-05-13 Eric Botcazou <ebotcazou@adacore.com>
3736
3737 * configure.ac: Include config/sjlj.m4.
3738 Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
3739 * config.in: Regenerate.
3740 * configure: Likewise.
3741 * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
3742
98b5dc61
UB
37432015-05-12 Uros Bizjak <ubizjak@gmail.com>
3744
3745 * libgcov-util.c: Add space between string literal and macro name.
3746
5a0ff57c
SL
37472015-05-06 Sandra Loosemore <sandra@codesourcery.com>
3748 Chris Jones <chrisj@nvidia.com>
3749 Joshua Conner <jconner@nvidia.com>
3750
3751 * config.host (arm*-*-linux*): Add support for crtfastmath.o.
3752 (arm*-*-uclinux*): Likewise.
3753 (arm*-*-eabi* | arm*-*-rtems*): Likewise.
3754 * config/arm/crtfastmath.c: New file.
3755
d28ad5d4
BS
37562014-04-29 Bernd Schmidt <bernds@codesourcery.com>
3757
3758 * Makefile.in (real_host_noncanonical): New variable.
3759 (libsubdir): Use it.
3760 * configure.ac (real_host_noncanonical): Compute. Remove special
3761 case for intelmicemul.
3762 * configure: Regenerate.
3763
cc86234f
UB
37642015-04-28 Uros Bizjak <ubizjak@gmail.com>
3765
3766 * config/frv/elf-lib.h: New file.
3767 (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
3768 * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
3769 to tm_file.
3770
37712015-04-28 Uros Bizjak <ubizjak@gmail.com>
3772
3773 * config/frv/frvbengin.c: Do not include defaults.h
3774 * config/frv/frvend.c: Ditto.
3775
2f6bd6eb
YS
37762015-04-27 Yoshinori Sato <ysato@users.sourceforge.jp>
3777
3778 * config.host: Add h8300-*-linux
3779 * config/h8300/t-linux: New file.
3780 * config/h8300/lib1funs.s: Change symbol prefix.
3781 * config/h8300/sfp-machine.h: 64bit double support.
3782
15aa7b44
GR
37832015-04-22 Gregor Richards <gregor.richards@uwaterloo.ca>
3784 Szabolcs Nagy <szabolcs.nagy@arm.com>
3785
3786 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
3787 Linux if target provides dl_iterate_phdr.
3788
abd0cdc9
L
37892015-04-17 H.J. Lu <hongjiu.lu@intel.com>
3790
3791 PR target/65612
3792 * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
3793 * config/i386/cpuinfo.c (__cpu_model): Initialize.
3794 (__cpu_indicator_init@GCC_4.8.0): New.
3795 (__cpu_model@GCC_4.8.0): Likewise.
3796 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
3797 -DUSE_ELF_SYMVER.
3798
72ed1126
NC
37992015-04-16 Nick Clifton <nickc@redhat.com>
3800
3801 * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
3802 and __modhi3 functions.
3803 * config/rl78/divmodso.S: Add G14 and G13 versions of the
3804 __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
3805
d26b2237
CG
38062015-04-15 Chen Gang <gang.chen.5i5j@gmail.com>
3807
3808 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
3809 do-while loop as macro body to avoid warnings.
3810
cacf1f59
JJ
38112015-04-10 Jakub Jelinek <jakub@redhat.com>
3812 Iain Sandoe <iain@codesourcery.com>
3813
3814 PR target/65351
3815 * configure: Regenerate.
3816
e8a4ed3b
JJ
38172015-04-07 Jakub Jelinek <jakub@redhat.com>
3818 Iain Sandoe <iain@codesourcery.com>
3819
3820 PR target/65351
3821 * configure: Regenerate.
3822
0341335e
CLT
38232015-03-25 Chung-Lin Tang <cltang@codesourcery.com>
3824
3825 * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
3826
590e2636 38272015-03-03 Max Filippov <jcmvbkbc@gmail.com>
0341335e 3828
590e2636
MF
3829 Implement call0 ABI for xtensa
3830 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
3831 __xtensa_nonlocal_goto): Don't compile for call0 ABI.
3832 (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
3833 use ret in call0 ABI.
3834 * config/xtensa/t-windowed: New file.
3835 * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
3836 * libgcc/configure: Regenerated.
3837 * libgcc/configure.ac: Check if xtensa target is configured for
3838 windowed ABI and thus needs to use custom unwind code.
3839
7727f8f2
JW
38402015-02-12 Jonathan Wakely <jwakely@redhat.com>
3841
3842 PR libgcc/64885
3843 * gthr-single.h: Use __unused__ attribute instead of unused.
3844 * config/gthr-vxworks.h: Likewise.
3845 * config/i386/gthr-win32.h: Likewise.
3846
0e4a0def
KT
38472015-02-27 Kai Tietz <ktietz@redhat.com>
3848
3849 PR target/65038
3850 * config.in: Regenerated.
3851 * configure: Likewise.
3852 * configure.ac (AC_HEADER_STDC): Added explicit.
3853 (AC_CHECK_HEADERS): Check for default headers plus
3854 for ftw.h header.
3855 * libgcov-util.c (gcov_read_profile_dir): Disable use
3856 of ftw-function, if header is not found.
3857 (ftw_read_file): Likewise.
3858
b6530d0a
TS
38592015-02-23 Thomas Schwinge <thomas@codesourcery.com>
3860
3861 PR target/65181
3862 * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
3863 -Dinhibit_libc.
3864
53cfb467
SL
38652015-02-17 Sandra Loosemore <sandra@codesourcery.com>
3866
3867 * config/arm/bpabi.S (test_div_by_zero): Make label names
3868 consistent between thumb2 and arm mode cases. Separate the
3869 signed comparison on the high word of the numerator from the
3870 unsigned comparison on the low word.
3871 * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
3872 signed comparison.
3873
77d10a1b
JM
38742015-02-17 Joseph Myers <joseph@codesourcery.com>
3875
3876 * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
3877 and <string.h>.
3878 (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
3879
98174188
RE
38802015-02-10 Rainer Emrich <rainer@emrich-ebersheim.de>
3881
3882 PR gcov-profile/61889
471274de 3883 * libgcov-driver-system.c: undefine clashing macro for mkdir.
98174188 3884
771bef14
NC
38852015-02-02 Nick Clifton <nickc@redhat.com>
3886
3887 * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
3888 rounding up the fraction.
3889
40702893
JDA
38902015-01-31 John David Anglin <danglin@gcc.gnu.org>
3891
3892 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
3893 oldval and newval to const void *. Fix typo.
3894 (FETCH_AND_OP_2): Use __atomic_load_n to load value.
3895 (FETCH_AND_OP_WORD): Likewise.
3896 (OP_AND_FETCH_WORD): Likewise.
3897 (COMPARE_AND_SWAP_2): Likewise.
3898 (__sync_val_compare_and_swap_4): Likewise.
3899 (__sync_lock_test_and_set_4): Likewise.
3900 (SYNC_LOCK_RELEASE_2): Likewise.
3901 Remove support for long long atomic operations.
3902
f7f049fa
CT
39032015-01-27 Caroline Tice <cmtice@google.com>
3904
3905 Committing VTV Cywin/Ming patch for Patrick Wollgast
3906 * Makefile.in: Move rules to build vtv_*.o out of the check
3907 for CUSTOM_CRTSTUFF.
3908 * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
3909 i[34567]86-*-mingw*)
3910 (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
3911 enable_vtable_verify.
3912
8410904a
NC
39132015-01-27 Nick Clifton <nickc@redhat.com>
3914
3915 * config/rl78/cmpsi2.S: Use function start and end macros.
3916 (__gcc_bcmp): New function.
3917 * config/rl78/lshrsi3.S: Use function start and end macros.
3918 * config/rl78/mulsi3.S: Add support for G10.
3919 (__mulqi3): New function for G10.
3920 * config/rl78/signbit.S: Use function start and end macros.
3921 * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
3922 fpmath-sf.S.
3923 (LIB2FUNCS_EXCLUDE): Define.
3924 (LIB2FUNCS_ST): Define.
3925 * config/rl78/trampoline.S: Use function start and end macros.
3926 * config/rl78/vregs.h (START_FUNC): New macro.
3927 (START_ANOTHER_FUNC): New macro.
3928 (END_FUNC): New macro.
3929 (END_ANOTHER_FUNC): New macro.
3930 * config/rl78/bit-count.S: New file. Contains assembler
3931 implementations of the bit counting functions: ___clzhi2,
3932 __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
3933 __paritysi2, __popcounthi2 and __popcountsi2.
3934 * config/rl78/fpbit-sf.S: New file. Contains assembler
3935 implementationas of the math functions: __negsf2, __cmpsf2,
3936 __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
3937 __fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
3938 * config/rl78/fpmath-sf.S: New file. Contains assembler
3939 implementations of the math functions: __subsf3, __addsf3,
3940 __mulsf3 and __divsf3
3941
f962fbf1
RO
39422015-01-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3943
3944 * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
3945 Add i386/elf-lib.h to tm_file.
3946 * config/i386/elf-lib.h: Fix comment.
3947 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
3948 && __sun__ && __svr4__]: Remove workaround.
3949
939911c5
ASJ
39502015-01-25 Allan Sandfeld Jensen <sandfeld@kde.org>
3951
3952 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
3953 FEATURE_BMI2.
3954 (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
3955
c8f2dff2
L
39562015-01-24 H.J. Lu <hongjiu.lu@intel.com>
3957
3958 * config/i386/cpuinfo.c (processor_subtypes): Add
3959 INTEL_COREI7_BROADWELL.
3960 (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
3961 model numbers.
3962
7bbf9734
UB
39632015-01-23 Uros Bizjak <ubizjak@gmail.com>
3964
3965 * config/i386/elf-lib.h: New file.
3966 (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
3967 Wrap definition in #ifdef __i386__.
3968 * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
3969 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
3970 (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
3971 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
3972 to tm_file.
3973
324820f1
CG
39742015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
3975
3976 * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
3977 "(char *)" to avoid qualifier warning by 'xgcc' compiling.
3978
a9ce4e4a
CLT
39792015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
3980
3981 * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
3982 Update rt_sigframe format and address for current Nios II
3983 Linux conventions.
3984
82a19768
AT
39852015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
3986
3987 * config.host (arm*-*-freebsd*): Add new configuration for
3988 arm*-*-freebsd*.
3989 * config/arm/freebsd-atomic.c: New file.
3990 * config/arm/t-freebsd: Likewise.
3991 * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
3992 'PC-relative indirect' OS's.
3993
0969ec7d
EB
39942015-01-06 Eric Botcazou <ebotcazou@adacore.com>
3995
3996 * config.host: Add Visium support.
3997 * config/visium: New directory.
3998
5624e564
JJ
39992015-01-05 Jakub Jelinek <jakub@redhat.com>
4000
4001 Update copyright years.
4002
82f84ecb
MF
40032014-12-19 Matthew Fortune <matthew.fortune@imgtec.com>
4004
4005 * config.host: Support mipsisa32r6 and mipsisa64r6.
4006 * config/mips/mips16.S: Do not build for R6.
4007
69044fa9
OE
40082014-12-17 Oleg Endo <olegendo@gcc.gnu.org>
4009
4010 * config/sh/crt.h: New.
4011 * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
4012 symbols.
4013 * config/sh/crt1.S: Likewise.
4014
2405e0ea
UB
40152014-12-15 Uros Bizjak <ubizjak@gmail.com>
4016
4017 PR libgcc/63832
4018 * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
4019 func_ptr *dtor_list temporary variable to avoid "array subscript
4020 is above array bounds" warnings.
4021
7d296953 40222014-12-09 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
dd913323
MH
4023
4024 * Makefile.in (with_aix_soname): Define.
4025 * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
4026 * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
4027 * configure: Recreate.
4028
a66272f6
OH
40292014-12-05 Olivier Hainque <hainque@adacore.com>
4030
4031 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
4032 now provided by defaults.h.
4033
6342b2c5
OE
40342014-11-30 Oleg Endo <olegendo@gcc.gnu.org>
4035
7d0ee249 4036 PR target/55351
6342b2c5
OE
4037 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
4038 whether it's defined.
4039
c17eac85
IT
40402014-11-27 Ilya Tocar <ilya.tocar@intel.com>
4041
4042 * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
4043 * config/i386/cpuinfo.c (get_available_features): Detect it.
4044
1025cb6c
TW
40452014-11-27 Tony Wang <tony.wang@arm.com>
4046
4047 * config/arm/lib1funcs.S (FUNC_START): Add conditional section
4048 redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
4049 (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
4050
d19f2e38
SB
40512014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
4052
4053 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
4054
17f6e9a3
JDA
40552014-11-24 John David Anglin <danglin@gcc.gnu.org>
4056
4057 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
4058 instead.
4059
0cd7c672
GM
40602014-11-21 Guy Martin <gmsoft@tuxicoman.be>
4061 John David Anglin <danglin@gcc.gnu.org>
4062
4063 * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
4064 (FETCH_AND_OP_2): New. Use for subword and double word operations.
4065 (OP_AND_FETCH_2): Likewise.
4066 (COMPARE_AND_SWAP_2): Likewise.
4067 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
4068 (SYNC_LOCK_RELEASE_2): Likewise.
4069 (SUBWORD_SYNC_OP): Remove.
4070 (SUBWORD_VAL_CAS): Likewise.
4071 (SUBWORD_BOOL_CAS): Likewise.
4072 (FETCH_AND_OP_WORD): Update.
4073 Consistently use signed types.
cc86234f 4074
85c64bbe
BS
40752014-11-13 Bernd Schmidt <bernds@codesourcery.com>
4076 Thomas Schwinge <thomas@codesourcery.com>
4077 Ilya Verbin <ilya.verbin@intel.com>
4078 Andrey Turetskiy <andrey.turetskiy@intel.com>
4079
4080 * Makefile.in (crtoffloadbegin$(objext)): New rule.
4081 (crtoffloadend$(objext)): Likewise.
4082 * configure: Regenerate.
4083 * configure.ac (accel_dir_suffix): Compute new variable.
4084 (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
4085 if enable_offload_targets is not empty.
4086 * offloadstuff.c: New file.
4087
52a1ff8b
NC
40882014-11-13 Nick Clifton <nickc@redhat.com>
4089
4090 * config/rl78/divmodhi.S: Add support for the G10 architecture.
4091 Use START_FUNC and END_FUNC macros to enable linker garbage
4092 collection.
4093 * config/rl78/divmodqi.S: Likewise.
4094 * config/rl78/divmodsi.S: Likewise.
4095 * config/rl78/mulsi3.S: Likewise.
4096 * config/rl78/lib2div.c: Remove G10 functions.
4097 * config/rl78/lib2muls.c: Likewise.
4098 * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
4099 * config/rl78/vregs.h (START_FUNC): New macro.
4100 (END_FUNC): New macro.
4101
050af144
MF
41022014-11-12 Matthew Fortune <matthew.fortune@imgtec.com>
4103
4104 * config/mips/mips16.S: Set .module when supported. Update O32
4105 FP64 calling convention and use for FPXX when possible. Add FPXX
4106 calling convention fallback case.
4107
738f2522
BS
41082014-11-06 Bernd Schmidt <bernds@codesourcery.com>
4109
4110 * config.host: Handle nvptx-*-*.
4111 * shared-object.mk (as-flags-$o): Define.
4112 ($(base)$(objext), $(base)_s$(objext)): Use it instead of
4113 -xassembler-with-cpp.
4114 * static-object.mk: Identical changes.
4115 * config/nvptx/t-nvptx: New file.
4116 * config/nvptx/crt0.s: New file.
4117 * config/nvptx/free.asm: New file.
4118 * config/nvptx/malloc.asm: New file.
4119 * config/nvptx/realloc.c: New file.
4120
e610393c
JM
41212014-10-30 Joseph Myers <joseph@codesourcery.com>
4122
4123 * Makefile.in (libgcc.map.in): New target.
4124 (libgcc.map): Use libgcc.map.in.
4125 * config/t-softfp (softfp_compat): New variable to be set by
4126 users.
4127 [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
4128 variables.
4129 [$(softfp_compat) = y] (softfp_file_list): Use files in the build
4130 directory.
4131 [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
4132 that use compat symbols and disable all code unless [SHARED].
4133 * config/t-softfp-compat: New file.
4134 * find-symver.awk: New file.
4135 * configure.ac (--with-glibc-version): New configure option.
4136 (ppc_fp_compat): New variable set for powerpc*-*-linux*.
4137 * configure: Regenerate.
4138 * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
4139 soft-float and e500.
4140
bc1b3a88
JM
41412014-10-29 Joseph Myers <joseph@codesourcery.com>
4142
4143 * config/t-hardfp (hardfp_exclusions): Document new variable for
4144 user to define.
4145 (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
4146 * config/t-softfp (softfp_extras): Document new variable for user
4147 to define.
4148 (softfp_func_list): Add functions from $(softfp_extras).
4149 * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
4150 * config.host (powerpc*-*-linux*): For e500v1, use
4151 rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
4152 t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
4153 and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
4154
ef2810c1
JDA
41552014-10-26 John David Anglin <danglin@gcc.gnu.org>
4156
4157 * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
4158 (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
4159 memory read accesses are ok.
4160
d80c2bea
JM
41612014-10-25 Joseph Myers <joseph@codesourcery.com>
4162
4163 * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
4164 * configure: Regenerate.
4165 * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
4166 additions to tmake_file. Use t-hardfp-sfdf and t-hardfp instead
4167 of soft-fp for 32-bit classic hard float. Do not use
4168 t-softfp-excl for soft float.
4169
693b297b
JM
41702014-10-22 Joseph Myers <joseph@codesourcery.com>
4171
4172 * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
4173 configurations.
4174 * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
4175 Remove variables.
4176
18a3415e
GJL
41772014-10-22 Georg-Johann Lay <avr@gjlay.de>
4178
4179 * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
4180 introduced with 2014-10-21 trunk r216525.
4181
c1dd9790 41822014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
7d296953
JJ
4183 Vidya Praveen <vidya.praveen@atmel.com>
4184 Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
4185 Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
4186 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
c1dd9790
JR
4187
4188 * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
4189 order.
4190
4191 Updated library functions for AVRTINY arch.
4192 * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
4193 Replaced occurrences of r0/r1 with tmp/zero reg macros.
4194 Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
4195 or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
4196 wsubi/wadi macors.
4197 (__mulsi3_helper): Update stack, preserve callee saved regs and
4198 argument from stack. Restore callee save registers.
4199 (__mulpsi3): Likewise.
4200 (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
4201 __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
18a3415e 4202 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
c1dd9790
JR
4203 AVRTINY.
4204 (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
4205 (__do_copy_data): Added new definition for AVRTINY.
4206 (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
4207 (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
4208 __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
4209 * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
4210 tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
4211 macors.
18a3415e 4212 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
c1dd9790
JR
4213 AVRTINY.
4214
18a3415e 4215 Fix broken long multiplication on tiny arch.
c1dd9790 4216
5f606431
JM
42172014-10-09 Joseph Myers <joseph@codesourcery.com>
4218
4219 * soft-fp/double.h: Update from glibc.
4220 * soft-fp/eqdf2.c: Likewise.
4221 * soft-fp/eqsf2.c: Likewise.
4222 * soft-fp/eqtf2.c: Likewise.
4223 * soft-fp/extenddftf2.c: Likewise.
4224 * soft-fp/extended.h: Likewise.
4225 * soft-fp/extendsfdf2.c: Likewise.
4226 * soft-fp/extendsftf2.c: Likewise.
4227 * soft-fp/extendxftf2.c: Likewise.
4228 * soft-fp/gedf2.c: Likewise.
4229 * soft-fp/gesf2.c: Likewise.
4230 * soft-fp/getf2.c: Likewise.
4231 * soft-fp/ledf2.c: Likewise.
4232 * soft-fp/lesf2.c: Likewise.
4233 * soft-fp/letf2.c: Likewise.
4234 * soft-fp/op-1.h: Likewise.
4235 * soft-fp/op-2.h: Likewise.
4236 * soft-fp/op-4.h: Likewise.
4237 * soft-fp/op-8.h: Likewise.
4238 * soft-fp/op-common.h: Likewise.
4239 * soft-fp/quad.h: Likewise.
4240 * soft-fp/single.h: Likewise.
4241 * soft-fp/soft-fp.h: Likewise.
4242 * soft-fp/unorddf2.c: Likewise.
4243 * soft-fp/unordsf2.c: Likewise.
4244 * soft-fp/unordtf2.c: Likewise.
4245 * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
4246 * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
4247 * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
4248 * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
4249 * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
4250 * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
4251 * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
4252 * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
4253 * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
4254 * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
4255
9b84e7a8
RX
42562014-10-08 Rong Xu <xur@google.com>
4257
4258 * libgcov-util.c (read_gcda_file): Fix format.
4259 (find_match_gcov_info): Ditto.
4260 (calculate_2_entries): New.
4261 (compute_one_gcov): Ditto.
4262 (gcov_info_count_all_cold): Ditto.
4263 (gcov_info_count_all_zero): Ditto.
4264 (extract_file_basename): Ditto.
4265 (get_file_basename): Ditto.
4266 (set_flag): Ditto.
4267 (matched_gcov_info): Ditto.
4268 (calculate_overlap): Ditto.
4269 (gcov_profile_overlap): Ditto.
4270 * libgcov-driver.c (compute_summary): Make
4271 it avavilable for external calls.
4272
fe1090c1
RX
42732014-10-06 Rong Xu <xur@google.com>
4274
4275 * Makefile.in: Ditto.
4276 * libgcov-driver.c (gcov_sort_n_vals): New utility function.
4277 (gcov_sort_icall_topn_counter): Ditto.
4278 (gcov_sort_topn_counter_arrays): Ditto.
4279 (dump_one_gcov): Sort indirect_call topn counters.
4280 * libgcov-merge.c (__gcov_merge_icall_topn): New merge
4281 function.
4282 * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
4283 utility function.
4284 (__gcov_indirect_call_topn_profiler): New profiler function.
4285 * libgcov-util.c (__gcov_icall_topn_counter_op): New.
4286 * libgcov.h: New decls.
4287
3daa7bbf
TS
42882014-10-04 Trevor Saunders <tsaunders@mozilla.com>
4289
4290 * config.host: Remove support for score-*.
4291
9a79452d
JM
42922014-09-22 Joseph Myers <joseph@codesourcery.com>
4293
4294 * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
4295 (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
4296 (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
4297 __LIBGCC_XF_MANT_DIG__.
4298 (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
4299 (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
4300 __LIBGCC_TF_MANT_DIG__.
4301 * libgcc2.c (NOTRUNC): Define in terms of
4302 __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
4303 * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
4304
1a849e50
JM
43052014-09-22 Joseph Myers <joseph@codesourcery.com>
4306
4307 PR target/63312
4308 * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
4309 New macros.
4310
598a1586
HPN
43112014-09-22 Hans-Peter Nilsson <hp@axis.com>
4312
4313 * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
4314 override USE_PT_GNU_EH_FRAME.
4315 [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
4316 check USE_EH_FRAME_REGISTRY_ALWAYS against
4317 __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
4318 * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
4319 variable for substituted force_explicit_eh_registry.
4320 (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
4321 * configure.ac (explicit-exception-frame-registration):
4322 New AC_ARG_ENABLE.
4323 * configure: Regenerate.
4324
3a8fe7c6
OH
43252014-09-19 Olivier Hainque <hainque@adacore.com>
4326
4327 * config.host (powerpc-wrs-vxworksmils): New configuration,
4328 same as vxworksae.
4329
dd69f047
JM
43302014-09-18 Joseph Myers <joseph@codesourcery.com>
4331
4332 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
4333
e770bfd9
JM
43342014-09-18 Joseph Myers <joseph@codesourcery.com>
4335
4336 * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
4337 bits not set bits as indicating trapping exceptions.
4338
cadb2b96
NS
43392014-09-17 Nathan sidwell <nathan@acm.org>
4340
4341 * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
4342 (LIBGCOV_DRIVER): ... here.
4343 * libgcov-driver.c (gcov_master): New.
4344 (gcov_exit): Remove from master chain.
4345 (__gcov_init): Add to master chain if version compatible. Don't
4346 clear the version.
4347 * libgcov_interface (__gcov_flust): Call gcov_dump_int.
4348 (gcov_reset_int): Clear master chain, if compatible.
4349 (gcov_dump_int): New internal interface. Dump master chain, if
4350 compatible.
4351 (gcov_dump): Alias for gcov_dump_int.
4352 * libgcov.h (struct gcov_root): Add next and prev fields.
4353 (struct gcov_master): New struct.
4354 (__gcov_master): New.
4355 (gcov_dump_int): Declare.
4356
580d22a3
OH
43572014-09-17 Olivier Hainque <hainque@adacore.com>
4358
4359 * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
4360 and crtbegin.o + crtend.o to extra_parts.
4361
8cc4b7a2
JM
43622014-09-12 Joseph Myers <joseph@codesourcery.com>
4363
4364 * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
4365 __LIBGCC_HAS_SF_MODE__.
4366 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
4367 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
4368 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
4369 * config/libbid/bid_gcc_intrinsics.h
4370 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
4371 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
4372 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
4373 * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
4374 (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
4375 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
4376
ea3f2b24
GJL
43772014-09-11 Georg-Johann Lay <avr@gjlay.de>
4378
4379 PR target/63223
4380 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
4381 and R24 as needed. Make work for all devices and .text locations.
4382 (__do_global_ctors, __do_global_dtors): Use word addresses.
4383 (__tablejump__, __tablejump_elpm__): Remove functions.
4384 * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
4385 Add _tablejump2.
4386 (XICALL, XIJMP): New macros.
4387
b677236a
MS
43882014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
4389 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
4390
4391 * config.host (aarch64*): Include crtfastmath.o and
4392 t-crtfm.
4393 * config/aarch64/crtfastmath.c: New file.
4394
157e859f
TS
43952014-09-08 Trevor Saunders <tsaunders@mozilla.com>
4396
4397 * config.host: Remove picochip support.
4398 * config/picochip/adddi3.S: Remove.
4399 * config/picochip/ashlsi3.S: Remove.
4400 * config/picochip/ashlsi3.c: Remove.
4401 * config/picochip/ashrsi3.S: Remove.
4402 * config/picochip/ashrsi3.c: Remove.
4403 * config/picochip/clzsi2.S: Remove.
4404 * config/picochip/cmpsi2.S: Remove.
4405 * config/picochip/divmod15.S: Remove.
4406 * config/picochip/divmodhi4.S: Remove.
4407 * config/picochip/divmodsi4.S: Remove.
4408 * config/picochip/lib1funcs.S: Remove.
4409 * config/picochip/longjmp.S: Remove.
4410 * config/picochip/lshrsi3.S: Remove.
4411 * config/picochip/lshrsi3.c: Remove.
4412 * config/picochip/parityhi2.S: Remove.
4413 * config/picochip/popcounthi2.S: Remove.
4414 * config/picochip/setjmp.S: Remove.
4415 * config/picochip/subdi3.S: Remove.
4416 * config/picochip/t-picochip: Remove.
4417 * config/picochip/ucmpsi2.S: Remove.
4418 * config/picochip/udivmodhi4.S: Remove.
4419 * config/picochip/udivmodsi4.S: Remove.
4420
66bb34c0
JM
44212014-09-08 Joseph Myers <joseph@codesourcery.com>
4422
4423 * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
4424 (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
4425 (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
4426 (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
4427 * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
4428 error if not defined and LIBGCC2_HAS_SF_MODE is defined.
4429 (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
4430 defined and LIBGCC2_HAS_DF_MODE is defined.
4431 (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
4432 defined and LIBGCC2_HAS_XF_MODE is defined.
4433 (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
4434 defined and LIBGCC2_HAS_TF_MODE is defined.
4435
9686a2e6
JM
44362014-09-08 Joseph Myers <joseph@codesourcery.com>
4437
4438 * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
4439 and ROUND_TOWARDS_ZERO conditionals.
4440
71c3e2ef
NS
44412014-09-07 Nathan sidwell <nathan@acm.org>
4442
4443 * libgcov-interface.c (STRONG_ALIAS): Rename to ...
4444 (ALIAS_weak): ... here. Use forwarding function. Adjust uses.
4445
53d68b9f
JM
44462014-09-05 Joseph Myers <joseph@codesourcery.com>
4447
4448 * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
4449 * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
4450 uses to __LIBGCC_STACK_POINTER_REGNUM__.
4451 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
4452 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4453 * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
4454 Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4455 * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
4456 uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
4457 (DWARF_FRAME_REGISTERS): Change all uses to
4458 __LIBGCC_DWARF_FRAME_REGISTERS__.
4459 (EH_RETURN_STACKADJ_RTX): Change all uses to
4460 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
4461 * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
4462 __LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
4463 * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
4464 use to __LIBGCC_EH_FRAME_SECTION_NAME__.
4465 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
4466 * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
4467 to __LIBGCC_EH_FRAME_SECTION_NAME__.
4468 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
4469 * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
4470 __LIBGCC_STACK_POINTER_REGNUM__.
4471 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
4472 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4473 * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
4474 to __LIBGCC_STACK_POINTER_REGNUM__.
4475 * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
4476 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4477 * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
4478 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4479 * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
4480 Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4481 (STACK_POINTER_REGNUM): Change all uses to
4482 __LIBGCC_STACK_POINTER_REGNUM__.
4483 * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
4484 use to __LIBGCC_STACK_POINTER_REGNUM__.
4485 * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
4486 uses to __LIBGCC_STACK_POINTER_REGNUM__.
4487 * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
4488 to __LIBGCC_DWARF_FRAME_REGISTERS__.
4489 * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
4490 to __LIBGCC_DWARF_FRAME_REGISTERS__.
4491 * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
4492 to __LIBGCC_STACK_POINTER_REGNUM__.
4493 * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
4494 Remove conditional definition.
4495 * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
4496 __LIBGCC_TEXT_SECTION_ASM_OP__.
4497 (EH_FRAME_SECTION_NAME): Change all uses to
4498 __LIBGCC_EH_FRAME_SECTION_NAME__.
4499 (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
4500 __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
4501 (CTORS_SECTION_ASM_OP): Change all uses to
4502 __LIBGCC_CTORS_SECTION_ASM_OP__.
4503 (DTORS_SECTION_ASM_OP): Change all uses to
4504 __LIBGCC_DTORS_SECTION_ASM_OP__.
4505 (JCR_SECTION_NAME): Change all uses to
4506 __LIBGCC_JCR_SECTION_NAME__.
4507 (INIT_SECTION_ASM_OP): Change all uses to
4508 __LIBGCC_INIT_SECTION_ASM_OP__.
4509 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
4510 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
4511 * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
4512 __LIBGCC_STACK_GROWS_DOWNWARD__.
4513 * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
4514 __LIBGCC_INIT_SECTION_ASM_OP__.
4515 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
4516 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
4517 (EH_FRAME_SECTION_NAME): Change all uses to
4518 __LIBGCC_EH_FRAME_SECTION_NAME__.
4519 * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
4520 definitions. Change all uses to
4521 __LIBGCC_VTABLE_USES_DESCRIPTORS__.
4522 * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
4523 __LIBGCC_STACK_GROWS_DOWNWARD__.
4524 (DWARF_FRAME_REGISTERS): Change all uses to
4525 __LIBGCC_DWARF_FRAME_REGISTERS__.
4526 (EH_RETURN_STACKADJ_RTX): Change all uses to
4527 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
4528 * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
4529 definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
4530 * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
4531 __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
4532 (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
4533
b20ee094
NS
45342014-09-02 Nathan sidwell <nathan@acm.org>
4535
4536 * libgcov-interface.c (STRONG_ALIAS): New.
4537 (__gcov_flush): Call __gcov_reset_int.
4538 (__gcov_reset): Strong alias for ...
4539 (__gcov_reset_ing): ... this renamed hidden version.
4540 * libgcov.h (__gcov_reset_int): New declaration.
4541
1ac83976
YS
45422014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
4543
25efdb9f
YS
4544 * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
4545 call from here...
4546 * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
4547 (__dso_handle): Define on Cygwin.
4548 * config/i386/t-cygming (crtbeginS.o): New rule.
4549 * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
4550
1ac83976
YS
4551 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
4552 declaration syntax.
4553
c6f9ea3b
SE
45542014-08-13 Steve Ellcey <sellcey@mips.com>
4555
4556 * crtstuff.c: Undef caddr_t.
4557
5b1ea7c5
SE
45582014-08-12 Steve Ellcey <sellcey@mips.com>
4559
4560 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
4561
4303c581
NS
45622014-08-07 Nathan Sidwell <nathan@acm.org>
4563
4564 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
4565 (LIBGCOV_DRIVER): ... to here.
4566 * libgcov.h (gcov_do_dump): New #define.
4567 (struct gcov_root): New.
4568 (__gcov_root): New declaration.
4569 (__gcov_dump_one): Declare.
4570 * libgcov-driver.c (gcov_list, gcov_dump_complete,
4571 run_accounted): Delete.
4572 (gcov_compute_histogram): Add LIST argument, adjust.
4573 (compute_summary): Adjust gcov_compute_histogram call.
4574 (gcov_do_dump): Not hidden, static in libgcov.
4575 (gcov_clear): Move to interface.c.
4576 (__gcov_dump_one): New, broken out of ...
4577 (gcov_exit): ... here. Make static.
4578 (__gcov_root): New.
4579 (__gcov_init): Adjust.
4580 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
4581 declarations.
4582 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
4583 (gcov_clear): Moved from driver.c. Add LIST argument.
4584 (__gcov_reset): Adjust for changed interfaces.
4585 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
4586
23742a9e
RAR
45872014-08-04 Rohit <rohitarulraj@freescale.com>
4588
4589 PR target/60102
4590 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
d406ae47 4591 based on change in SPE high register numbers and 3 HTM registers.
23742a9e 4592
b98a872b
NS
45932014-08-01 Nathan Sidwell <nathan@acm.org>
4594
4595 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
4596 LIBGCOV_INTERFACE): Reformat.
4597 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
4598 IN_GCOV_TOOL.
4599 * libgcov-interface.c: Reformat some comments.
4600 (__gcov_flush_mx): Add declaration. Tidy up definition.
4601
6adaaa1d
AM
46022014-07-31 Alan Modra <amodra@gmail.com>
4603 Peter Bergner <bergner@vnet.ibm.com>
4604
4605 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
4606 (pack_ldouble): New function.
4607 (__gcc_qadd): Use it.
4608 (__gcc_qmul): Likewise.
4609 (__gcc_qdiv): Likewise.
4610 (__gcc_qneg): Likewise.
4611 (__gcc_stoq): Likewise.
4612 (__gcc_dtoq): Likewise.
4613
87cb0c0c
UW
46142014-07-30 J. D. Johnston <jjohnst@us.ibm.com>
4615
4616 * config/s390/tpf-unwind.h: Include <stdbool.h>.
4617 (__tpf_eh_return): Add original return address as second parameter.
4618 Handle cases where unwinder routines were called directly, instead
4619 of from within the C++ library.
4620
19926161
NS
46212014-07-29 Nathan Sidwell <nathan@acm.org>
4622
4623 * libgcov.h: Move renaming of entry points to lib gcov specific
4624 portion.
4625 (gcov_do_dump): New rename.
4626 (gcov_rewrite): Remove inline, make HIDDEN.
4627 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
4628 (gcov_exit_compute_summary): Rename to ...
4629 (compute_summary): ... here. Add LIST argument.
4630 (gcov_exit_merge_gcda): Rename to ...
4631 (merge_one_data): ... here.
4632 (gcov_exit_write_gcda): Rename to ...
4633 (write_one_data): ... here.
4634 (gcov_exit_merge_summary): Rename to ...
4635 (merge_summary): Add RUN_COUNTED argument.
4636 (gcov_exit_dump_gcov): Rename to ...
4637 (dump_one_gcov): Add RUN_COUNTED argument.
4638 (gcov_do_dump): New function, broken out of ...
4639 (gcov_exit): ... here. Call it.
4640
17522262
AG
46412014-07-27 Anthony Green <green@moxielogic.com>
4642
4643 * config.host: Add moxiebox configuration suppport.
4644
6dc33097
NS
46452014-07-27 Nathan Sidwell <nathan@acm.org>
4646
4647 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
4648 (struct gcov_filename): ... here. Include buffer and max length
4649 fields.
4650 (gcov_max_filename): Remove.
4651 (gi_filename): Remove.
4652 (gcov_exit_compute_summary): Compute max filename here.
4653 (gcov_exit_merge_gcda): Add filename parm, adjust.
4654 (gcov_exit_merge_summary): Likewise.
4655 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
4656 (gcov_exit): Likewise.
4657 (__gcov_init): Don't calculate max length here.
4658 * libgcov_util.c (max_filename_len): Remove.
4659 (read_gcda_file): Don't calculate max length here.
4660 (gcov_read_profile_dir): Don't propagate here.
4661 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
4662 struct gcov_filename changes.
4663 (gcov_exit_open_gcda_file): Likewise.
4664
770f687d
NS
46652014-07-25 Nathan Sidwell <nathan@acm.org>
4666
4667 * libgcov-driver.c (set_gcov_dump_complete,
4668 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
4669 functions polluting user's namespace.
4670 (gcov_exit): Set variable directly.
4671 (gcov_clear): Reset variable directly.
4672 * libgcov-interface.c (get_gcov_dymp_complete,
4673 reset_gov_dump_complete): Remove declarations.
4674 (__gcov_reset, __gcov_dump): Don't call them.
4675
fabf71ba
DD
46762014-07-24 DJ Delorie <dj@redhat.com>
4677
4678 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
770f687d
NS
4679 (__gcc_deregister_frame): Move logic to detect deregister function
4680 to ...
4681 (__gcc_register_frame): here, so it's consistent with the register
4682 logic.
fabf71ba 4683
d10ee722
NS
46842014-07-23 Nathan Sidwell <nathan@acm.org>
4685
4686 * libgcov-driver.c (set_gcov_list): Remove.
4687 (gcov_list): Make non-static in GCOV_TOOL.
4688 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
4689
a4137090
JDA
46902014-07-17 John David Anglin <danglin@gcc.gnu.org>
4691
4692 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
4693 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
4694 Don't use SYNC_LOCK_RELEASE for int type.
4695
72602c6c
RB
46962014-07-14 Richard Biener <rguenther@suse.de>
4697
4698 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
4699
d5313205
RX
47002014-07-11 Rong Xu <xur@google.com>
4701
4702 * libgcov-util.c (gcov_max_filename): Fix declartion.
4703
c77556a5
RX
47042014-07-10 Rong Xu <xur@google.com>
4705
4706 Add gcov-tool: an offline gcda profile processing tool
4707 Support.
4708 * libgcov-driver.c (gcov_max_filename): Make available
4709 to gcov-tool.
4710 * libgcov-merge.c (__gcov_merge_add): Replace
4711 gcov_read_counter() with a Macro.
4712 (__gcov_merge_ior): Ditto.
4713 (__gcov_merge_time_profile): Ditto.
4714 (__gcov_merge_single): Ditto.
4715 (__gcov_merge_delta): Ditto.
4716 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
4717 in the utility functions.
4718 (set_fn_ctrs): Utility function for reading gcda files to in-memory
4719 gcov_list object link lists.
4720 (tag_function): Ditto.
4721 (tag_blocks): Ditto.
4722 (tag_arcs): Ditto.
4723 (tag_lines): Ditto.
4724 (tag_counters): Ditto.
4725 (tag_summary): Ditto.
4726 (read_gcda_finalize): Ditto.
4727 (read_gcda_file): Ditto.
4728 (ftw_read_file): Ditto.
4729 (read_profile_dir_init): Ditto.
4730 (gcov_read_profile_dir): Ditto.
4731 (gcov_read_counter_mem): Ditto.
4732 (gcov_get_merge_weight): Ditto.
4733 (merge_wrapper): A wrapper function that calls merging handler.
4734 (gcov_merge): Merge two gcov_info objects with weights.
4735 (find_match_gcov_info): Find the matched gcov_info in the list.
4736 (gcov_profile_merge): Merge two gcov_info object lists.
4737 (__gcov_add_counter_op): Process edge profile counter values.
4738 (__gcov_ior_counter_op): Process IOR profile counter values.
4739 (__gcov_delta_counter_op): Process delta profile counter values.
4740 (__gcov_single_counter_op): Process single profile counter values.
4741 (fp_scale): Callback function for float-point scaling.
cc86234f 4742 (int_scale): Callback function for integer fraction scaling.
c77556a5
RX
4743 (gcov_profile_scale): Scaling profile counters.
4744 (gcov_profile_normalize): Normalize profile counters.
4745 * libgcov.h: Add headers and functions for gcov-tool use.
4746 (gcov_get_counter): New.
4747 (gcov_get_counter_target): Ditto.
4748 (struct gcov_info): Make the functions field mutable in gcov-tool
4749 compilation.
4750
5c7dac8a
KT
47512014-06-23 Kai Tietz <ktietz@redhat.com>
4752
4753 PR libgcc/61585
4754 * unwind-seh.c (_Unwind_GetGR): Check for proper
4755 index range.
4756 (_Unwind_SetGR): Likewise.
4757
161c9312
NC
47582014-05-22 Nick Clifton <nickc@redhat.com>
4759
4760 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
4761 -mhwmult=none.
4762
e3f0315f
TJ
47632014-05-22 Teresa Johnson <tejohnson@google.com>
4764
4765 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
4766 include.
4767
dbed5a9b
JM
47682014-05-20 John Marino <gnugcc@marino.st>
4769
4770 * config.host (*-*-dragonfly*): New target.
4771 * crtstuff.c: Make dl_iterate_support generic on *bsd.
4772 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
4773 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
4774 * config/i386/dragonfly-unwind.h: New.
4775
1ec380e5
MR
47762014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
4777
4778 PR libgcc/60166
4779 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
4780 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
4781
54fde020
BE
47822014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
4783
4784 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
4785 implementation.
4786
999db125
GJL
47872014-05-12 Georg-Johann Lay <avr@gjlay.de>
4788
4789 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
4790
cceaf54a
RO
47912014-05-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4792
4793 PR libgcc/61097
4794 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
4795 if --enable-shared.
4796
e3fe9b5b
BE
47972014-04-30 Bernd Edlinger <bernd.edlinger@hotmail.de>
4798
4799 Work around for current cygwin32 build problems.
4800 * config/i386/cygming-crtbegin.c (__register_frame_info,
4801 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
4802 functions only for 64-bit systems.
4803
54cf37e9
RO
48042014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4805
4806 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
4807 (sigill_caught, sigill_hdlr): Remove.
4808
d9f069ab
RO
48092014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4810
4811 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
4812 check.
4813 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
4814 Solaris 9 single-threaded support.
4815 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
4816 Solaris 9 single-threaded support. Add call_user_handler code
4817 sequences.
4818 (sparc_is_sighandler): Likewise.
4819
59976ef8
AK
48202014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4821
4822 * config.host: Append t-floattodi to tmake_file depending on
4823 host_address.
4824
d02bbcf3
JS
48252014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
4826
31466bc0 4827 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
d02bbcf3 4828
c2e7e597
UB
48292014-03-10 Uros Bizjak <ubizjak@gmail.com>
4830
4831 PR libgcc/60472
4832 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
2405e0ea 4833 variable to avoid "array subscript is above array bounds" warnings.
c2e7e597
UB
4834 Use __builtin_expect when checking *jcr_list for NULL.
4835
227a7dc8
RO
48362014-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4837
4838 PR libgcc/59339
4839 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
4840 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
4841 vtv_*.o to extra_parts if enable_vtable_verify.
4842
df2b279c
NC
48432014-03-06 Nick Clifton <nickc@redhat.com>
4844
4845 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
4846 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
4847
dc11d79b
JY
48482014-02-28 Joey Ye <joey.ye@arm.com>
4849
4850 PR libgcc/60166
4851 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
4852 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
4853 Set to zero.
4854
341c653c
WL
48552014-02-24 Walter Lee <walt@tilera.com>
4856
4857 * config.host: Support "tilegx*" and "tilepro*" triplets.
4858 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
4859 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
4860
95ce7613
CLT
48612014-02-20 Sandra Loosemore <sandra@codesourcery.com>
4862 Chung-Lin Tang <cltang@codesourcery.com>
4863
4864 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
4865 * config/nios2/crti.S: Remove .file directive.
4866 * config/nios2/crtn.S: Likewise.
4867
0bb4fc05
KT
48682014-02-18 Kai Tietz <ktietz@redhat.com>
4869 Jonathan Schleifer <js@webkeks.org>
4870
4871 PR objc/56870
4872 * unwind-seh.c (_GCC_specific_handler): Pass proper
4873 value to unwind-handler.
4874
9acf28f1
JM
48752014-02-12 Joseph Myers <joseph@codesourcery.com>
4876
4877 * soft-fp/adddf3.c: Update from glibc.
4878 * soft-fp/addsf3.c: Likewise.
4879 * soft-fp/addtf3.c: Likewise.
4880 * soft-fp/divdf3.c: Likewise.
4881 * soft-fp/divsf3.c: Likewise.
4882 * soft-fp/divtf3.c: Likewise.
4883 * soft-fp/double.h: Likewise.
4884 * soft-fp/eqdf2.c: Likewise.
4885 * soft-fp/eqsf2.c: Likewise.
4886 * soft-fp/eqtf2.c: Likewise.
4887 * soft-fp/extenddftf2.c: Likewise.
4888 * soft-fp/extended.h: Likewise.
4889 * soft-fp/extendsfdf2.c: Likewise.
4890 * soft-fp/extendsftf2.c: Likewise.
4891 * soft-fp/extendxftf2.c: Likewise.
4892 * soft-fp/fixdfdi.c: Likewise.
4893 * soft-fp/fixdfsi.c: Likewise.
4894 * soft-fp/fixdfti.c: Likewise.
4895 * soft-fp/fixsfdi.c: Likewise.
4896 * soft-fp/fixsfsi.c: Likewise.
4897 * soft-fp/fixsfti.c: Likewise.
4898 * soft-fp/fixtfdi.c: Likewise.
4899 * soft-fp/fixtfsi.c: Likewise.
4900 * soft-fp/fixtfti.c: Likewise.
4901 * soft-fp/fixunsdfdi.c: Likewise.
4902 * soft-fp/fixunsdfsi.c: Likewise.
4903 * soft-fp/fixunsdfti.c: Likewise.
4904 * soft-fp/fixunssfdi.c: Likewise.
4905 * soft-fp/fixunssfsi.c: Likewise.
4906 * soft-fp/fixunssfti.c: Likewise.
4907 * soft-fp/fixunstfdi.c: Likewise.
4908 * soft-fp/fixunstfsi.c: Likewise.
4909 * soft-fp/fixunstfti.c: Likewise.
4910 * soft-fp/floatdidf.c: Likewise.
4911 * soft-fp/floatdisf.c: Likewise.
4912 * soft-fp/floatditf.c: Likewise.
4913 * soft-fp/floatsidf.c: Likewise.
4914 * soft-fp/floatsisf.c: Likewise.
4915 * soft-fp/floatsitf.c: Likewise.
4916 * soft-fp/floattidf.c: Likewise.
4917 * soft-fp/floattisf.c: Likewise.
4918 * soft-fp/floattitf.c: Likewise.
4919 * soft-fp/floatundidf.c: Likewise.
4920 * soft-fp/floatundisf.c: Likewise.
4921 * soft-fp/floatunditf.c: Likewise.
4922 * soft-fp/floatunsidf.c: Likewise.
4923 * soft-fp/floatunsisf.c: Likewise.
4924 * soft-fp/floatunsitf.c: Likewise.
4925 * soft-fp/floatuntidf.c: Likewise.
4926 * soft-fp/floatuntisf.c: Likewise.
4927 * soft-fp/floatuntitf.c: Likewise.
4928 * soft-fp/gedf2.c: Likewise.
4929 * soft-fp/gesf2.c: Likewise.
4930 * soft-fp/getf2.c: Likewise.
4931 * soft-fp/ledf2.c: Likewise.
4932 * soft-fp/lesf2.c: Likewise.
4933 * soft-fp/letf2.c: Likewise.
4934 * soft-fp/muldf3.c: Likewise.
4935 * soft-fp/mulsf3.c: Likewise.
4936 * soft-fp/multf3.c: Likewise.
4937 * soft-fp/negdf2.c: Likewise.
4938 * soft-fp/negsf2.c: Likewise.
4939 * soft-fp/negtf2.c: Likewise.
4940 * soft-fp/op-1.h: Likewise.
4941 * soft-fp/op-2.h: Likewise.
4942 * soft-fp/op-4.h: Likewise.
4943 * soft-fp/op-8.h: Likewise.
4944 * soft-fp/op-common.h: Likewise.
4945 * soft-fp/quad.h: Likewise.
4946 * soft-fp/single.h: Likewise.
4947 * soft-fp/soft-fp.h: Likewise.
4948 * soft-fp/subdf3.c: Likewise.
4949 * soft-fp/subsf3.c: Likewise.
4950 * soft-fp/subtf3.c: Likewise.
4951 * soft-fp/truncdfsf2.c: Likewise.
4952 * soft-fp/trunctfdf2.c: Likewise.
4953 * soft-fp/trunctfsf2.c: Likewise.
4954 * soft-fp/trunctfxf2.c: Likewise.
4955 * soft-fp/unorddf2.c: Likewise.
4956 * soft-fp/unordsf2.c: Likewise.
4957 * soft-fp/unordtf2.c: Likewise.
4958 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
4959 macro.
4960 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4961 Likewise.
4962 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4963 Likewise.
4964 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4965 Likewise.
4966 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4967 Likewise.
4968 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4969 Likewise.
4970 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4971 Likewise.
4972 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4973 Likewise.
4974 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4975 Likewise.
4976 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4977 Likewise.
4978 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4979 Likewise.
4980 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4981 Likewise.
4982 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4983 Likewise.
4984 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
4985 Likewise.
4986 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
4987 Likewise.
4988 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4989 Likewise.
4990
ce245ec6
AK
49912014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4992
4993 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
4994 cannot be represented.
4995 * config/s390/32/_fixsfdi.c: Likewise.
4996 * config/s390/32/_fixtfdi.c: Likewise.
4997 * config/s390/32/_fixunsdfdi.c: Likewise.
4998 * config/s390/32/_fixunssfdi.c: Likewise.
4999 * config/s390/32/_fixunstfdi.c: Likewise.
5000
1c51d688
RS
50012014-02-07 Richard Sandiford <rdsandiford@googlemail.com>
5002
5003 * configure.ac (libgcc_cv_mips_hard_float): New.
5004 * configure: Regenerate.
5005 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
5006 t-softfp-sfdf for hard-float targets.
5007 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
5008 (softfp_float_modes, softfp_int_modes, softfp_extensions)
5009 (softfp_truncations, softfp_exclude_libgcc2): New.
5010 * config/t-hardfp: New file.
5011 * config/t-hardfp-sfdf: Likewise.
5012 * config/hardfp.c: Likewise.
5013
bbf391db
AK
50142014-02-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5015
5016 * config.host: Include t-floattodi also for s390x.
5017 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
5018 * config/s390/32/_fixsfdi.c: Likewise.
5019 * config/s390/32/_fixtfdi.c: Likewise.
5020 * config/s390/32/_fixunsdfdi.c: Likewise.
5021 * config/s390/32/_fixunssfdi.c: Likewise.
5022 * config/s390/32/_fixunstfdi.c: Likewise.
5023
91da0481
RO
50242014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5025
5026 PR target/59788
5027 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
5028 (install-libgcc-unwind-map-forbuild): New target.
5029 (all): Depend on install-libgcc-unwind-map-forbuild.
5030 (install-libgcc-unwind-map): New target.
5031 (install): Depend on install-libgcc-unwind-map.
5032
02b67731
SL
50332014-02-02 Sandra Loosemore <sandra@codesourcery.com>
5034
5035 * config/nios2/crti.S (_init): Initialize GOT pointer from
5036 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
5037
1ea0a651
RS
50382014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
5039
5040 * configure.ac: Check __mips64 when setting host_address.
5041 * configure: Regenerate.
5042 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
5043 mips/t-mips64 and t-softfp.
5044 (mips*-*-linux*): Don't add mips/t-tpbit.
5045 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
5046 (DPBIT, DPBIT_CFLAGS): Delete.
5047 * config/mips/sfp-machine.h: New file.
5048 * config/mips/t-mips64: Likewise.
5049 * config/mips/t-softfp-tf: Likewise.
5050 * config/mips/t-tpbit: Delete.
5051
f32b0061
MS
50522014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
5053
5054 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
5055 as long long.
5056
a5420aa4
WL
50572014-01-25 Walter Lee <walt@tilera.com>
5058
5059 * config/tilepro/atomic.c: Include tconfig.h. Don't include
5060 config.h or system.h.
5061 (bool) Define.
5062
24534912
WL
50632014-01-25 Walter Lee <walt@tilera.com>
5064
5065 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
5066 (post_atomic_barrier): Ditto.
5067 (__fetch_and_do): New macro.
5068 (__atomic_fetch_and_do): Use __fetch_and_do.
5069 (__sync_fetch_and_do): New macro.
5070 (__sync_fetch_and_add_4): New function.
5071 (__sync_fetch_and_sub_4): New function.
5072 (__sync_fetch_and_or_4): New function.
5073 (__sync_fetch_and_and_4): New function.
5074 (__sync_fetch_and_xor_4): New function.
5075 (__sync_fetch_and_nand_4): New function.
5076 (__sync_fetch_and_add_8): New function.
5077 (__sync_fetch_and_sub_8): New function.
5078 (__sync_fetch_and_or_8): New function.
5079 (__sync_fetch_and_and_8): New function.
5080 (__sync_fetch_and_xor_8): New function.
5081 (__sync_fetch_and_nand_8): New function.
5082 (__do_and_fetch): New macro.
5083 (__atomic_do_and_fetch): Use __do_and_fetch.
5084 (__sync_do_and_fetch): New macro.
5085 (__sync_add_and_fetch_4): New function.
5086 (__sync_sub_and_fetch_4): New function.
5087 (__sync_or_and_fetch_4): New function.
5088 (__sync_and_and_fetch_4): New function.
5089 (__sync_xor_and_fetch_4): New function.
5090 (__sync_nand_and_fetch_4): New function.
5091 (__sync_add_and_fetch_8): New function.
5092 (__sync_sub_and_fetch_8): New function.
5093 (__sync_or_and_fetch_8): New function.
5094 (__sync_and_and_fetch_8): New function.
5095 (__sync_xor_and_fetch_8): New function.
5096 (__sync_nand_and_fetch_8): New function.
5097 (__sync_exchange_methods): New macro.
5098 (__sync_val_compare_and_swap_4): New function.
5099 (__sync_bool_compare_and_swap_4): New function.
5100 (__sync_lock_test_and_test_4): New function.
5101 (__sync_val_compare_and_swap_8): New function.
5102 (__sync_bool_compare_and_swap_8): New function.
5103 (__sync_lock_test_and_test_8): New function.
5104 (__subword_cmpxchg_body): New macro.
5105 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
5106 (__atomic_compare_exchange_2): Ditto.
5107 (__sync_subword_cmpxchg): New macro.
5108 (__sync_val_compare_and_swap_1): New function.
5109 (__sync_bool_compare_and_swap_1): New function.
5110 (__sync_val_compare_and_swap_2): New function.
5111 (__sync_bool_compare_and_swap_2): New function.
5112 (__atomic_subword): Rename to ...
5113 (__subword): ... New name.
5114 (__atomic_subword_fetch): Use __subword.
5115 (__sync_subword_fetch): New macro.
5116 (__sync_fetch_and_add_1): New function.
5117 (__sync_fetch_and_sub_1): New function.
5118 (__sync_fetch_and_or_1): New function.
5119 (__sync_fetch_and_and_1): New function.
5120 (__sync_fetch_and_xor_1): New function.
5121 (__sync_fetch_and_nand_1): New function.
5122 (__sync_fetch_and_add_2): New function.
5123 (__sync_fetch_and_sub_2): New function.
5124 (__sync_fetch_and_or_2): New function.
5125 (__sync_fetch_and_and_2): New function.
5126 (__sync_fetch_and_xor_2): New function.
5127 (__sync_fetch_and_nand_2): New function.
5128 (__sync_add_and_fetch_1): New function.
5129 (__sync_sub_and_fetch_1): New function.
5130 (__sync_or_and_fetch_1): New function.
5131 (__sync_and_and_fetch_1): New function.
5132 (__sync_xor_and_fetch_1): New function.
5133 (__sync_nand_and_fetch_1): New function.
5134 (__sync_add_and_fetch_2): New function.
5135 (__sync_sub_and_fetch_2): New function.
5136 (__sync_or_and_fetch_2): New function.
5137 (__sync_and_and_fetch_2): New function.
5138 (__sync_xor_and_fetch_2): New function.
5139 (__sync_nand_and_fetch_2): New function.
5140 (__atomic_subword_lock): Use __subword.
5141 (__sync_subword_lock): New macro.
5142 (__sync_lock_test_and_set_1): New function.
5143 (__sync_lock_test_and_set_2): New function.
5144
4d6d3bc5
WL
51452014-01-25 Walter Lee <walt@tilera.com>
5146
5147 * config/tilepro/atomic.c (BIT_OFFSET): Define.
5148 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
5149 (__atomic_subword): Ditto.
5150
cbd9890e
WL
51512014-01-25 Walter Lee <walt@tilera.com>
5152
5153 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
5154 a prefix op argument.
5155 (__atomic_nand_fetch_4): Add prefix op.
5156 (__atomic_nand_fetch_8): Ditto.
5157
7d296953 51582014-01-21 Baruch Siach <barch@tkos.co.il>
800d8bd5
BS
5159
5160 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
5161
46dd1242
L
51622014-01-09 Rong Xu <xur@google.com>
5163
5164 * libgcov-driver.c (this_prg): make it local to save
5165 bss space.
5166 (gcov_exit_compute_summary): Ditto.
5167 (gcov_exit_merge_gcda): Ditto.
5168 (gcov_exit_merge_summary): Ditto.
5169 (gcov_exit_dump_gcov): Ditto.
5170
cc86234f 51712014-01-08 Rong Xu <xur@google.com>
40d6b753
RX
5172
5173 * libgcov-driver.c: Use libgcov.h.
5174 (buffer_fn_data): Use xmalloc instead of malloc.
5175 (gcov_exit_merge_gcda): Ditto.
5176 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
5177 * libgcov.h: New common header files for libgcov-*.h.
5178 * libgcov-interface.c: Use libgcov.h
5179 * libgcov-merge.c: Ditto.
5180 * libgcov-profiler.c: Ditto.
5181 * Makefile.in: Add dependence to libgcov.h
5182
a02e7bdd
JM
51832014-01-02 Joseph Myers <joseph@codesourcery.com>
5184
5185 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
5186 case of small numerator and finite nonzero result.
5187
ac1dca3c
RS
51882014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
5189
5190 Update copyright years
5191
f9030485
RS
51922014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
5193
5194 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
5195 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
5196 config/arc/dp-hack.h, config/arc/fp-hack.h,
5197 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
5198 config/arc/ieee-754/arc600-dsp/divdf3.S,
5199 config/arc/ieee-754/arc600-dsp/divsf3.S,
5200 config/arc/ieee-754/arc600-dsp/muldf3.S,
5201 config/arc/ieee-754/arc600-dsp/mulsf3.S,
5202 config/arc/ieee-754/arc600-mul64/divdf3.S,
5203 config/arc/ieee-754/arc600-mul64/divsf3.S,
5204 config/arc/ieee-754/arc600-mul64/muldf3.S,
5205 config/arc/ieee-754/arc600-mul64/mulsf3.S,
5206 config/arc/ieee-754/arc600/divsf3.S,
5207 config/arc/ieee-754/arc600/mulsf3.S,
5208 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
5209 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
5210 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
5211 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
5212 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
5213 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
5214 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
5215 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
5216 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
5217 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
5218 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
5219 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
5220 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
5221 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
5222 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
5223 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
5224 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
5225 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
5226 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
5227 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
5228 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
5229 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
5230 vtv_start_preinit.c: Use the standard form for the copyright notice.
5231
e430824f
CLT
52322013-12-31 Sandra Loosemore <sandra@codesourcery.com>
5233 Chung-Lin Tang <cltang@codesourcery.com>
5234 Based on patches from Altera Corporation
5235
5236 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
5237 * config/nios2/lib2-nios2.h: New file.
5238 * config/nios2/lib2-divmod-hi.c: New file.
5239 * config/nios2/linux-unwind.h: New file.
5240 * config/nios2/lib2-divmod.c: New file.
5241 * config/nios2/linux-atomic.c: New file.
5242 * config/nios2/t-nios2: New file.
5243 * config/nios2/crti.asm: New file.
5244 * config/nios2/t-linux: New file.
5245 * config/nios2/lib2-divtable.c: New file.
5246 * config/nios2/lib2-mul.c: New file.
5247 * config/nios2/tramp.c: New file.
5248 * config/nios2/crtn.asm: New file.
5249
1879e97f
UB
52502013-12-26 Uros Bizjak <ubizjak@gmail.com>
5251
5252 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
5253 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
5254 from cpuid.h to check vendor signatures.
5255
f4a4bdbb
GG
52562013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
5257
c2e7e597 5258 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
f4a4bdbb
GG
5259 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
5260 (get_amd_cpu): Likewise.
5261
8d2ae544
L
52622013-12-25 H.J. Lu <hongjiu.lu@intel.com>
5263
5264 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
5265 Haswell.
5266
74924838
ASJ
52672013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
5268 H.J. Lu <hongjiu.lu@intel.com>
5269
0bb52f25
L
5270 PR target/59422
5271 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
74924838
ASJ
5272 and AMD_JAGUAR.
5273 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
5274 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
5275 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
5276 FEATURE_XOP and FEATURE_FMA.
5277 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
5278 AMDFAM15H_BDVER3.
5279 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
0bb52f25 5280 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
74924838
ASJ
5281 FEATURE_FMA4 and FEATURE_XOP.
5282
d3c11974
L
52832013-12-23 H.J. Lu <hongjiu.lu@intel.com>
5284
5285 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
5286 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
5287 (get_intel_cpu): Updated.
5288
064c4ff2
ZC
52892013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
5290
5291 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
5292
8b02e720
UB
52932013-12-09 Uros Bizjak <ubizjak@gmail.com>
5294
5295 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
1f71a3c3 5296 instructions when __SSE_MATH__ is defined.
8b02e720 5297
3fa2ccb4
RC
52982013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
5299
5300 * config.host (microblaze-*-rtems*): New.
5301
ecd78fc9
KV
53022013-12-04 Kugan Vivekanandarajah <kuganv@linaro.org>
5303
5304 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
5305 architectures that do not have hardware divide instruction.
5306 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
5307
b21fbbd2
RS
53082013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
5309
5310 * longlong.h: Delete (moved to include/).
5311
b03fb8c9
AZ
53122013-12-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5313
5314 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
5315 of normal number and qNaN to not raise an inexact exception.
5316
3c716922
UB
53172013-11-28 Uros Bizjak <ubizjak@gmail.com>
5318
5319 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
5320
53212013-11-28 Matthew Leach <matthew.leach@arm.com>
cceeb9a9
ML
5322
5323 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
5324 for correct opcodes on BE.
5325
a3458d22
UB
53262013-11-27 Uros Bizjak <ubizjak@gmail.com>
5327
5328 * soft-fp/op-4.h: Update from glibc.
5329
30b8f78b
KV
53302013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
5331
5332 * libgcc2.c (__udivmoddi4): Define new implementation when
5333 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
5334 divide instructions.
5335
82552a29
OE
53362013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
5337
5338 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
5339
80e87457
RO
53402013-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5341
5342 * config/t-softfp (soft-fp-objects-base): New variable.
5343 (soft-fp-objects): Use it.
5344
44178879
DE
53452013-11-23 David Edelson <dje.gcc@gmail.com>
5346 Andrew Dixie <andrewd@gentrack.com>
5347
5348 PR target/33704
5349 * config/rs6000/aixinitfini.c: New file.
5350 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
5351 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
5352 symbols.
5353
e5287671
YR
53542013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
5355
a3458d22 5356 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
e5287671 5357
867c8b03
JH
53582013-11-18 Jan Hubicka <jh@suse.cz>
5359
7f369373
JH
5360 * libgcov-driver.c (run_accounted): Make global level static.
5361 (gcov_exit_merge_summary): Silence warning; do not clear
5362 run_accounted here.
5363 (gcov_exit): Clear it here.
5364
1d0b3334
JH
5365 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
5366 run_accounted.
5367
867c8b03
JH
5368 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
5369 (all_prg, crc32): Remove static vars.
5370 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
5371 all_prg.
5372 (gcov_exit_merge_gcda): Add crc32 parameter.
5373 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
5374 do not account run if it was already accounted.
5375 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
5376 (gcov_exit): Initialize all_prg; update.
5377
66204992
AS
53782013-11-15 Andreas Schwab <schwab@linux-m68k.org>
5379
5380 * configure: Regenerate.
5381
b54214fe
UW
53822013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5383 Alan Modra <amodra@gmail.com>
5384
5385 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
5386 (frob_update_context): Use it.
5387
53882013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5389 Alan Modra <amodra@gmail.com>
5390
5391 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
5392 (trampoline_initial): Provide ELFv2 variant.
5393 (__trampoline_setup): Likewise.
5394
5395 * config/rs6000/linux-unwind.h (frob_update_context): Do not
5396 check for AIX indirect function call sequence if _CALL_ELF == 2.
5397
53982013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5399 Alan Modra <amodra@gmail.com>
5400
5401 * config/rs6000/linux-unwind.h (get_regs): Do not support
5402 old kernel versions if _CALL_ELF == 2.
5403 (frob_update_context): Do not support PLT stub variants only
5404 generated by old linkers if _CALL_ELF == 2.
5405
13e0981a
UW
54062013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5407 Alan Modra <amodra@gmail.com>
5408
5409 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
5410 location of CR save area for 64-bit little-endian systems.
5411
1a80085d
EB
54122013-11-11 Eric Botcazou <ebotcazou@adacore.com>
5413
5414 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
5415 in tmake_file.
5416 * config/arm/t-vxworks: Delete.
5417
cabeea52
KT
54182013-11-10 Kai Tietz <ktietz@redhat.com>
5419
5420 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
5421 Increment load-count on use of LIBGCC_SONAME DLL.
5422 (hmod_libgcc): New static variable to hold handle of
5423 LIBGCC_SONAME DLL.
5424 (__gcc_deregister_frame): Decrement load-count of
5425 LIBGCC_SONAME DLL.
5426
ac088ba1
BRF
54272013-11-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
5428
5429 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
5430 availability.
5431 * configure: Regenerate
5432
d59a8fcc
UB
54332013-11-07 Uros Bizjak <ubizjak@gmail.com>
5434
5435 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
5436 FP_EX_DENORM. Store result to volatile location after SSE division
5437 to close interrupt window. Remove unneeded fwait after x87
5438 division since interrupt window will be closed by emitted fstp.
9de84e84 5439 Rewrite FP_EX_INEXACT handling.
d59a8fcc 5440
9954c743
JM
54412013-11-06 Joseph Myers <joseph@codesourcery.com>
5442
5443 * soft-fp/README: Update.
5444 * soft-fp/adddf3.c: Update from glibc.
5445 * soft-fp/addsf3.c: Likewise.
5446 * soft-fp/addtf3.c: Likewise.
5447 * soft-fp/divdf3.c: Likewise.
5448 * soft-fp/divsf3.c: Likewise.
5449 * soft-fp/divtf3.c: Likewise.
5450 * soft-fp/double.h: Likewise.
5451 * soft-fp/eqdf2.c: Likewise.
5452 * soft-fp/eqsf2.c: Likewise.
5453 * soft-fp/eqtf2.c: Likewise.
5454 * soft-fp/extenddftf2.c: Likewise.
5455 * soft-fp/extended.h: Likewise.
5456 * soft-fp/extendsfdf2.c: Likewise.
5457 * soft-fp/extendsftf2.c: Likewise.
5458 * soft-fp/extendxftf2.c: Likewise.
5459 * soft-fp/fixdfdi.c: Likewise.
5460 * soft-fp/fixdfsi.c: Likewise.
5461 * soft-fp/fixdfti.c: Likewise.
5462 * soft-fp/fixsfdi.c: Likewise.
5463 * soft-fp/fixsfsi.c: Likewise.
5464 * soft-fp/fixsfti.c: Likewise.
5465 * soft-fp/fixtfdi.c: Likewise.
5466 * soft-fp/fixtfsi.c: Likewise.
5467 * soft-fp/fixtfti.c: Likewise.
5468 * soft-fp/fixunsdfdi.c: Likewise.
5469 * soft-fp/fixunsdfsi.c: Likewise.
5470 * soft-fp/fixunsdfti.c: Likewise.
5471 * soft-fp/fixunssfdi.c: Likewise.
5472 * soft-fp/fixunssfsi.c: Likewise.
5473 * soft-fp/fixunssfti.c: Likewise.
5474 * soft-fp/fixunstfdi.c: Likewise.
5475 * soft-fp/fixunstfsi.c: Likewise.
5476 * soft-fp/fixunstfti.c: Likewise.
5477 * soft-fp/floatdidf.c: Likewise.
5478 * soft-fp/floatdisf.c: Likewise.
5479 * soft-fp/floatditf.c: Likewise.
5480 * soft-fp/floatsidf.c: Likewise.
5481 * soft-fp/floatsisf.c: Likewise.
5482 * soft-fp/floatsitf.c: Likewise.
5483 * soft-fp/floattidf.c: Likewise.
5484 * soft-fp/floattisf.c: Likewise.
5485 * soft-fp/floattitf.c: Likewise.
5486 * soft-fp/floatundidf.c: Likewise.
5487 * soft-fp/floatundisf.c: Likewise.
5488 * soft-fp/floatunditf.c: Likewise.
5489 * soft-fp/floatunsidf.c: Likewise.
5490 * soft-fp/floatunsisf.c: Likewise.
5491 * soft-fp/floatunsitf.c: Likewise.
5492 * soft-fp/floatuntidf.c: Likewise.
5493 * soft-fp/floatuntisf.c: Likewise.
5494 * soft-fp/floatuntitf.c: Likewise.
5495 * soft-fp/gedf2.c: Likewise.
5496 * soft-fp/gesf2.c: Likewise.
5497 * soft-fp/getf2.c: Likewise.
5498 * soft-fp/ledf2.c: Likewise.
5499 * soft-fp/lesf2.c: Likewise.
5500 * soft-fp/letf2.c: Likewise.
5501 * soft-fp/muldf3.c: Likewise.
5502 * soft-fp/mulsf3.c: Likewise.
5503 * soft-fp/multf3.c: Likewise.
5504 * soft-fp/negdf2.c: Likewise.
5505 * soft-fp/negsf2.c: Likewise.
5506 * soft-fp/negtf2.c: Likewise.
5507 * soft-fp/op-1.h: Likewise.
5508 * soft-fp/op-2.h: Likewise.
5509 * soft-fp/op-4.h: Likewise.
5510 * soft-fp/op-8.h: Likewise.
5511 * soft-fp/op-common.h: Likewise.
5512 * soft-fp/quad.h: Likewise.
5513 * soft-fp/single.h: Likewise.
5514 * soft-fp/soft-fp.h: Likewise.
5515 * soft-fp/subdf3.c: Likewise.
5516 * soft-fp/subsf3.c: Likewise.
5517 * soft-fp/subtf3.c: Likewise.
5518 * soft-fp/truncdfsf2.c: Likewise.
5519 * soft-fp/trunctfdf2.c: Likewise.
5520 * soft-fp/trunctfsf2.c: Likewise.
5521 * soft-fp/trunctfxf2.c: Likewise.
5522 * soft-fp/unorddf2.c: Likewise.
5523 * soft-fp/unordsf2.c: Likewise.
5524 * soft-fp/unordtf2.c: Likewise.
5525
02ac9503
UB
55262013-11-05 Uros Bizjak <ubizjak@gmail.com>
5527
5528 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
5529 (_FP_MUL_MEAT_D): Ditto.
5530 (_FP_DIV_MEAT_S): Ditto.
5531 (_FP_DIV_MEAT_D): Ditto.
5532 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
5533 t-softfp-sfdf and t-softfp to tmake_file.
5534
61221141
UB
55352013-11-03 Uros Bizjak <ubizjak@gmail.com>
5536
5537 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
5538 * config/i386/crtprec.c: Ditto.
5539
9304f876
CJW
55402013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
5541 Shiva Chen <shiva0217@gmail.com>
5542
5543 * config.host (nds32*-elf*): Add nds32 target.
5544 * config/nds32 : New directory and files.
5545
0e499e75
HPN
55462013-10-16 Hans-Peter Nilsson <hp@axis.com>
5547
5548 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
5549 * config.host (cpu_type) <Setting default>: Add entry for
5550 crisv32-*-*.
5551 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
5552 <crisv32-*-linux*>: Adjust.
5553 * longlong.h: Wrap the whole CRIS section in a single
5554 defined(__CRIS__) conditional. Add comment about add_ssaaaa
5555 and sub_ddmmss.
5556 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
5557 defined.
5558 [__CRIS__] (__umulsidi3): Define.
5559 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
5560 * config/cris/sfp-machine.h: New file.
5561 * config/cris/umulsidi3.S: New file.
5562 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
5563 * config/cris/arit.c (SIGNMULT): New macro.
5564 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
5565 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
5566 saving 3 out of originally 33 cycles from the fastest
5567 path, 3 out of 54 from the medium path and one from the longest
5568 path. Improve comments.
5569
16022041
RS
55702013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
5571
5572 * sync.c: Remove static aliases and define each function directly
5573 under its real name.
5574
69778659
JDA
55752013-10-02 John David Anglin <danglin@gcc.gnu.org>
5576
5577 * config.host (hppa*64*-*-linux*): Define extra_parts.
5578 (hppa*-*-linux*): Likewise.
5579
2deaf8b0
JR
55802013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
5581
5582 * config/arc/crtgend.S: Add 2013 to Copyright years.
5583 * config/arc/gmon/atomic.h: Likewise.
5584 * config/arc/gmon/auxreg.h: Likewise.
5585 * config/arc/gmon/sys/gmon_out.h: Likewise.
5586 * config/arc/gmon/sys/gmon.h: Likewise.
5587 * config/arc/gmon/prof-freq.c: Likewise.
5588 * config/arc/gmon/mcount.c: Likewise.
5589 * config/arc/gmon/prof-freq-stub.S: Likewise.
5590 * config/arc/gmon/gmon.c: Likewise.
5591 * config/arc/gmon/machine-gmon.h: Likewise.
5592 * config/arc/gmon/profil.S: Likewise.
5593 * config/arc/gmon/dcache_linesz.S: Likewise.
5594 * config/arc/crtg.S: Likewise.
5595 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
5596 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
5597 * config/arc/ieee-754/adddf3.S: Likewise.
5598 * config/arc/ieee-754/truncdfsf2.S: Likewise.
5599 * config/arc/ieee-754/fixsfsi.S: Likewise.
5600 * config/arc/ieee-754/gtsf2.S: Likewise.
5601 * config/arc/ieee-754/floatsisf.S: Likewise.
5602 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
5603 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
5604 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
5605 * config/arc/ieee-754/fixdfsi.S: Likewise.
5606 * config/arc/ieee-754/addsf3.S: Likewise.
5607 * config/arc/ieee-754/gesf2.S: Likewise.
5608 * config/arc/ieee-754/floatsidf.S: Likewise.
5609 * config/arc/ieee-754/extendsfdf2.S: Likewise.
5610 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
5611 * config/arc/ieee-754/gtdf2.S: Likewise.
5612 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
5613 * config/arc/ieee-754/uneqdf2.S: Likewise.
5614 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
5615 * config/arc/ieee-754/uneqsf2.S: Likewise.
5616 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
5617 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
5618 * config/arc/ieee-754/eqdf2.S: Likewise.
5619 * config/arc/ieee-754/ordsf2.S: Likewise.
5620 * config/arc/ieee-754/divsf3.S: Likewise.
5621 * config/arc/ieee-754/divdf3.S: Likewise.
5622 * config/arc/ieee-754/floatunsidf.S: Likewise.
5623 * config/arc/ieee-754/orddf2.S: Likewise.
5624 * config/arc/ieee-754/eqsf2.S: Likewise.
5625 * config/arc/ieee-754/gedf2.S: Likewise.
5626 * config/arc/crtn.S: Likewise.
5627 * config/arc/crti.S: Likewise.
5628 * config/arc/t-arc700-uClibc: Likewise.
5629 * config/arc/asm.h: Likewise.
5630 * config/arc/libgcc-excl.ver: Likewise.
5631 * config/arc/t-arc-newlib: Likewise.
5632 * config/arc/divtab-arc700.c: Likewise.
5633 * config/arc/initfini.c: Likewise.
5634 * config/arc/fp-hack.h: Likewise.
5635
c8e318b0
JR
56362013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
5637 Diego Novillo <dnovillo@google.com>
5638
5639 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
a07c5b47
JR
5640 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
5641 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
5642 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
c8e318b0 5643
d38a64b4
JR
56442013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
5645 Brendan Kehoe <brendan@zen.org>
5646 Simon Cook <simon.cook@embecosm.com>
5647
5648 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
5649 * config/arc: New directory.
5650 * longlong.h [__arc__] (umul_ppmm): Remove.
5651 [__arc__] (__umulsidi3): Define.
5652 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
5653 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
5654
dff717d2
JC
56552013-09-17 Jacek Caban <jacek@codeweavers.com>
5656
5657 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
5658 CreateSemaphoreA.
5659 * config/i386/gthr-win32.h: Likewise.
5660
5c0029de
DD
56612013-09-16 DJ Delorie <dj@redhat.com>
5662
844ad6c6 5663 * config/rl78/vregs.h: Add G10 register definitions.
5c0029de
DD
5664 * config/rl78/lib2mul.c: Enable for RL78/G10.
5665 * config/rl78/lib2div.c: Likewise.
5666 * config/rl78/lshrsi3.S: Use vregs.h.
5667 * config/rl78/cmpsi2.S: Likewise.
5668 * config/rl78/trampoline.S: Likewise.
5669 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
5670
ceb2fc49
DD
56712013-09-14 DJ Delorie <dj@redhat.com>
5672 Nick Clifton <nickc@redhat.com>
5673
5674 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
5675 * config/rl78/vregs.h: New.
5676 * config/rl78/signbit.S: New file. Implements signbit function.
5677 * config/rl78/divmodsi.S: New.
5678 * config/rl78/divmodhi.S: New.
5679 * config/rl78/divmodqi.S: New.
5680 * config/rl78/t-rl78: Build them here...
5681 * config/rl78/lib2div.c: ...but not here.
5682
f6a83b4a
DD
56832013-09-12 DJ Delorie <dj@redhat.com>
5684
5685 * config.host (msp*-*-elf): New.
5686 * config/msp430/: New port.
5687
9107b096
IS
56882013-08-18 Iain Sandoe <iain@codesourcery.com>
5689
5690 PR gcov-profile/58127
5691 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
5692 __thread var for emulated TLS.
5693 (__gcov_indirect_call_counters): Likewise.
5694
0f9bde1f 56952013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
61221141 5696 Catherine Moore <clm@codesourcery.com>
7d296953 5697 Richard Sandiford <rdsandiford@googlemail.com>
0f9bde1f
MR
5698
5699 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
5700 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
5701 (CALL_STUB_NO_RET): Likewise.
5702 (CALL_STUB_RET): Likewise.
5703 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
5704 __mips16_ret call/return stub symbols.
5705 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
5706 to tmake_file.
5707
2dc14aac
MR
57082013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
5709
5710 * config.host <mips*-*-linux*>: Remove a stray comment.
5711
748d71f3
JH
57122013-08-10 Jan Hubicka <jh@suse.cz>
5713
5714 Work around binutils PR14342
5715 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
5716 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
5717 (L_gcov_indirect_call_profiler_v2): New.
5718
2fa3d31b
JH
57192013-08-06 Jan Hubicka <jh@suse.cz>
5720
5721 * libgcov.c (__gcov_indirect_call_callee,
5722 __gcov_indirect_call_counters): New global vars.
5723 (__gcov_indirect_call_profiler): replace by ...
5724 (__gcov_indirect_call_profiler_v2) ... this one.
5725
2077db1b
CT
57262013-08-06 Caroline Tice <cmtice@google.com>
5727
d0595b65 5728 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
2077db1b 5729 vtv_start_preinit.o and vtv_end_preinit.o.
d0595b65
CT
5730 * configure.ac: Add code to check/set enable_vtable_verify.
5731 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
2077db1b 5732 true.
d0595b65
CT
5733 * vtv_start_preinit.c: New file.
5734 * vtv_end_preinit.c: New file.
5735 * vtv_start.c: New file.
5736 * vtv_end.c: New file.
5737 * configure: Regenerated.
2077db1b 5738
46549c20
MK
57392013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
5740
5741 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
5742 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
5743 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
5744 GPL-3.0-with-GCC-exception.
5745
72be589b
MR
57462013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
5747
5748 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
5749 ISA and up.
5750
902a3faf
AK
57512013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5752
5753 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
5754 mapping for FPRs when creating the fallback framestate.
5755
02371798
GJL
57562013-07-19 Georg-Johann Lay <avr@gjlay.de>
5757
5758 PR target/57516
5759 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
5760 (__round_s2_const, __round_u2_const)
5761 (__round_s4_const, __round_u4_const, __round_x8):
5762 Saturate result if addition result cannot be represented.
5763
ab0e8379
MK
57642013-07-15 Matthias Klose <doko@ubuntu.com>
5765
5766 * libgcc2.c: Don't include <limits.h>.
5767
7da38058
JJ
57682013-07-09 Janis Johnson <janisjo@codesourcery.com>
5769
5770 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
5771
1f6eac90
JJ
57722013-07-06 Jakub Jelinek <jakub@redhat.com>
5773
5774 PR target/29776
5775 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
5776
4ea3d774
JJ
57772013-06-28 Jakub Jelinek <jakub@redhat.com>
5778
5779 PR middle-end/36041
5780 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
5781 Define.
5782 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
5783 instead of table lookups.
5784 (__popcountDI2): Likewise.
5785
9d2cdf25
CJW
57862013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
5787
5788 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
5789 correctly.
5790
fa1e55b0
JM
57912013-06-21 Joseph Myers <joseph@codesourcery.com>
5792
5793 PR other/53317
5794 * soft-fp/adddf3.c: Update from glibc.
5795 * soft-fp/addsf3.c: Likewise.
5796 * soft-fp/addtf3.c: Likewise.
5797 * soft-fp/divdf3.c: Likewise.
5798 * soft-fp/divsf3.c: Likewise.
5799 * soft-fp/divtf3.c: Likewise.
5800 * soft-fp/double.h: Likewise.
5801 * soft-fp/eqdf2.c: Likewise.
5802 * soft-fp/eqsf2.c: Likewise.
5803 * soft-fp/eqtf2.c: Likewise.
5804 * soft-fp/extenddftf2.c: Likewise.
5805 * soft-fp/extended.h: Likewise.
5806 * soft-fp/extendsfdf2.c: Likewise.
5807 * soft-fp/extendsftf2.c: Likewise.
5808 * soft-fp/fixdfdi.c: Likewise.
5809 * soft-fp/fixdfsi.c: Likewise.
5810 * soft-fp/fixsfdi.c: Likewise.
5811 * soft-fp/fixsfsi.c: Likewise.
5812 * soft-fp/fixtfdi.c: Likewise.
5813 * soft-fp/fixtfsi.c: Likewise.
5814 * soft-fp/fixunsdfdi.c: Likewise.
5815 * soft-fp/fixunsdfsi.c: Likewise.
5816 * soft-fp/fixunssfdi.c: Likewise.
5817 * soft-fp/fixunssfsi.c: Likewise.
5818 * soft-fp/fixunstfdi.c: Likewise.
5819 * soft-fp/fixunstfsi.c: Likewise.
5820 * soft-fp/floatdidf.c: Likewise.
5821 * soft-fp/floatdisf.c: Likewise.
5822 * soft-fp/floatditf.c: Likewise.
5823 * soft-fp/floatsidf.c: Likewise.
5824 * soft-fp/floatsisf.c: Likewise.
5825 * soft-fp/floatsitf.c: Likewise.
5826 * soft-fp/floatundidf.c: Likewise.
5827 * soft-fp/floatundisf.c: Likewise.
5828 * soft-fp/floatunditf.c: Likewise.
5829 * soft-fp/floatunsidf.c: Likewise.
5830 * soft-fp/floatunsisf.c: Likewise.
5831 * soft-fp/floatunsitf.c: Likewise.
5832 * soft-fp/gedf2.c: Likewise.
5833 * soft-fp/gesf2.c: Likewise.
5834 * soft-fp/getf2.c: Likewise.
5835 * soft-fp/ledf2.c: Likewise.
5836 * soft-fp/lesf2.c: Likewise.
5837 * soft-fp/letf2.c: Likewise.
5838 * soft-fp/muldf3.c: Likewise.
5839 * soft-fp/mulsf3.c: Likewise.
5840 * soft-fp/multf3.c: Likewise.
5841 * soft-fp/negdf2.c: Likewise.
5842 * soft-fp/negsf2.c: Likewise.
5843 * soft-fp/negtf2.c: Likewise.
5844 * soft-fp/op-1.h: Likewise.
5845 * soft-fp/op-2.h: Likewise.
5846 * soft-fp/op-4.h: Likewise.
5847 * soft-fp/op-8.h: Likewise.
5848 * soft-fp/op-common.h: Likewise.
5849 * soft-fp/quad.h: Likewise.
5850 * soft-fp/single.h: Likewise.
5851 * soft-fp/soft-fp.h: Likewise.
5852 * soft-fp/subdf3.c: Likewise.
5853 * soft-fp/subsf3.c: Likewise.
5854 * soft-fp/subtf3.c: Likewise.
5855 * soft-fp/truncdfsf2.c: Likewise.
5856 * soft-fp/trunctfdf2.c: Likewise.
5857 * soft-fp/trunctfsf2.c: Likewise.
5858 * soft-fp/unorddf2.c: Likewise.
5859 * soft-fp/unordsf2.c: Likewise.
5860 * soft-fp/unordtf2.c: Likewise.
5861 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
5862 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5863 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5864 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5865 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5866 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5867 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5868 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5869 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5870 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
5871 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
5872 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5873
0de86a92
JU
58742013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
5875
5876 * config/mips/lib2funcs.c: New file.
5877 * config/mips/t-mips (LIB2ADD_ST): Add it.
5878
0d008882
OE
58792013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
5880
5881 PR target/6526
5882 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
5883 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
5884
776434d1
WL
58852013-06-08 Walter Lee <walt@tilera.com>
5886
5887 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
5888 Replace int64_t with long long. Add __extension__ where
5889 appropriate.
5890 * config/tilepro/atomic.c: Include config.h.
5891
6ab3ebb4
DR
58922013-06-06 Douglas B Rupp <rupp@adacore.com>
5893
5894 * config.host (arm-wrs-vxworks): Configure with other soft float.
5895
107eea2c
JU
58962013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
5897
5898 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
5899 (mips64r5900el-*-elf*): New configurations.
5900
5cc19c62
AM
59012013-06-04 Alan Modra <amodra@gmail.com>
5902
5903 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
5904
0f1d3965
YR
59052013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
5906
5907 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
5908
0ba045df
EB
59092013-05-28 Eric Botcazou <ebotcazou@adacore.com>
5910
5911 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
5912 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
5913 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
5914
49dcafd4
EB
59152013-05-22 Eric Botcazou <ebotcazou@adacore.com>
5916
5917 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
5918 (powerpc-wrs-vxworks): Likewise.
5919
4fcb5d87
EB
59202013-05-22 Eric Botcazou <ebotcazou@adacore.com>
5921
5922 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
5923 signal frames as well.
5924 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
5925 STACK_BIAS to the CFA offset.
5926
0ec33224
RH
59272013-05-17 Richard Henderson <rth@redhat.com>
5928
5929 PR target/49146
5930 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
5931 (execute_cfa_program): Use it when storing to fs->regs.
5932
492a8029
KT
59332013-05-08 Kai Tietz <ktietz@redhat.com>
5934
5935 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
5936 (__deregister_frame_info): Likewise.
5937
701e2f0a
TS
59382013-05-06 Thomas Schwinge <thomas@codesourcery.com>
5939
e5123d08
TS
5940 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
5941 NaN's payload.
5942
701e2f0a
TS
5943 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
5944
b9a7eb5d
AM
59452013-04-25 Alan Modra <amodra@gmail.com>
5946
5947 * config.host: Match little-endian powerpc-linux.
5948
dfe192f5
YZ
59492013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
5950
5951 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
5952 as 'unsigned long long' instead of 'unsigned long'.
5953 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
5954 'signed long'.
5955
b6b9af2f
JB
59562013-04-10 Julian Brown <julian@codesourcery.com>
5957
5958 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
5959 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
5960 unsigned char/unsigned short.
5961 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
5962
ecabdd00
JDA
59632013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
5964
5965 PR other/55274
5966 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
5967
34652576
MI
59682013-04-04 Meador Inge <meadori@codesourcery.com>
5969
5970 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
5971 computing the location of the link register.
5972 (aeabi_uldivmod): Ditto.
5973
e9fd8c19
KT
59742013-03-27 Kai Tietz <ktietz@redhat.com>
5975
5976 * config.host: Add support for cygwin x64 target.
5977 * configure: Regenerated.
5978
a6406324
WL
59792013-03-26 Walter Lee <walt@tilera.com>
5980
5981 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
5982 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
5983
55446c7e
KT
59842013-03-25 Kai Tietz <ktietz@redhat.com>
5985
5986 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
5987
d2ae19d9
RM
59882013-03-20 Robert Mason <rbmj@verizon.net>
5989
5990 * config/vxlib-tls.c (__gthread_get_tsd_data,)
5991 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
5992 (__gthread_leave_tsd_dtor_context): Add prototypes.
5993 (tls_delete_hook): Update.
5994
22c4c869
CM
59952013-03-20 Catherine Moore <clm@codesourcery.com>
5996 Joseph Myers <joseph@codesourcery.com>
5997 Chao-ying Fu <fu@mips.com>
5998
5999 * config/mips/mips16.S: Don't build for microMIPS.
6000 * config/mips/linux-unwind.h: Handle microMIPS frame.
6001 * config/mips/crtn.S (fini, init): New labels.
6002
fbd28bc3
JJ
60032013-03-14 Jakub Jelinek <jakub@redhat.com>
6004
6005 PR tree-optimization/53265
6006 * unwind-dw2.c (execute_cfa_program): Avoid
6007 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
6008 on targets with DWARF_FRAME_REGISTERS < 32.
6009
decc676e
OE
60102013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
6011
6012 PR target/49880
6013 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
6014 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
6015
84ea618a
ST
60162013-03-07 Sriraman Tallam <tmsriram@google.com>
6017
6018 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
6019 sandybridge processors.
6020
8f6d1c86
OE
60212013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
6022
6023 PR target/56529
6024 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
6025 inclusion list.
6026
ecdbd01a 60272013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
409b1de4
EI
6028
6029 * config/microblaze/crti.S: Setup stack protection at entry
6030
0b4ce21b
GJL
60312013-03-04 Georg-Johann Lay <avr@gjlay.de>
6032
6033 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
6034 (__rotldi3): Shift bytewise if applicable.
6035
b7c3f1ca
JG
60362013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
6037
6038 * config/aarch64/sync-cache.c
6039 (__aarch64_sync_cache_range): Silence warnings.
6040
6d65e8f1
CM
60412013-02-25 Catherine Moore <clm@codesourcery.com>
6042
6043 Revert:
6044 2013-02-24 Catherine Moore <clm@codesourcery.com>
6045 Joseph Myers <joseph@codesourcery.com>
6046 Chao-ying Fu <fu@mips.com>
6047
6048 * config/mips/mips16.S: Don't build for microMIPS.
6049 * config/mips/linux-unwind.h: Handle microMIPS frame.
6050 * config/mips/crtn.S (fini, init): New labels.
6051
6941b508
CM
60522013-02-24 Catherine Moore <clm@codesourcery.com>
6053 Joseph Myers <joseph@codesourcery.com>
6054 Chao-ying Fu <fu@mips.com>
6055
6056 * config/mips/mips16.S: Don't build for microMIPS.
6057 * config/mips/linux-unwind.h: Handle microMIPS frame.
6058 * config/mips/crtn.S (fini, init): New labels.
6059
7c422dbb 60602012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
cc86234f 6061 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
7c422dbb
EI
6062 as dividend.
6063
110207ad
AM
60642013-02-16 Alan Modra <amodra@gmail.com>
6065
6066 PR target/55431
6067 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
6068 (ppc_fallback_frame_state): Always set up save locations for fp
6069 and altivec. Don't bother with non-callee-saved regs, r0-r13
6070 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
6071
e68a4ef6
GJL
60722013-02-12 Georg-Johann Lay <avr@gjlay.de>
6073
6074 PR target/54222
6075 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
6076 _ssmulHA, _ssmulSA.
6077 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
6078 _ssmulha3, _usmulusa3, _ssmulsa3.
6079 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
6080 (__muldi3): XCALL __muldi3_6 instead of rcall.
6081 (__umulsidi3, __mulsidi3): New functions.
6082 (do_prologue_saves, do_epilogue_restores): New .macros.
6083 (__divdi3_moddi3): Use them.
6084 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
6085 (__usmulusa3, __ssmulsa3): New functions.
6086
6c59ffd1
IS
60872013-02-11 Iain Sandoe <iain@codesourcery.com>
6088 Jack Howarth <howarth@bromo.med.uc.edu>
6089 Patrick Marlier <patrick.marlier@gmail.com>
6090
6091 PR libitm/55693
6092 * config/darwin-crt-tm.c: Remove dummy functions hack.
6093
85d768f3
GJL
60942013-02-08 Georg-Johann Lay <avr@gjlay.de>
6095
6096 PR target/54222
6097 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
6098 * config/avr/lib2-object.mk: New iterator to build objects from it.
6099 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
6100 lib2funcs.c.
6101 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
6102 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
6103 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
6104 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
6105 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
6106 * config/avr/lib1funcs-fixed.S: Implement them.
6107
5d5bf775
RS
61082013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
6109
6110 Update copyright years.
6111
99113dff
DE
61122013-02-01 David Edelsohn <dje.gcc@gmail.com>
6113
6114 PR target/54601
6115 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
6116 Add crtcxa to extra_parts.
6117 * config/rs6000/exit.h: New file.
6118 * config/rs6000/cxa_atexit.c: New file.
6119 * config/rs6000/cxa_finalize.c: New file.
6120 * config/rs6000/crtcxa.c: New file.
6121 * config/rs6000/t-aix-cxa: New file.
6122 * config/rs6000/libgcc-aix-cxa.ver: New file.
6123
dbdbd982
NC
61242013-01-31 Nick Clifton <nickc@redhat.com>
6125
6126 * config/v850/lib1funcs.S: Add support for e3v5 architecture
6127 variant.
6128
5893f158
GJL
61292013-01-29 Georg-Johann Lay <avr@gjlay.de>
6130
6131 PR target/54222
6132 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
6133 _mulQQ, _mulHQ, _mulHA, _mulSA,
6134 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
6135 _divQQ, _divHQ, _divHA, _divSA,
6136 _divUQQ, _divUHQ, _divUHA, _divUSA.
6137
ecdbd01a 61382013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
fbf0cf90 6139
dbdbd982 6140 * config.host(microblaze*-linux*): tmake_file: Remove
fbf0cf90
DH
6141 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
6142 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
6143 to exclude functions from being built with libgcc.c and use
6144 the microblaze assembly.
6145
ecdbd01a 61462013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
6f14eef2
EI
6147
6148 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
6149 extra_parts.
6150
922c57d1
YZ
61512013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
6152
6153 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
6154 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
6155 __UINTPTR_TYPE__; also cast 'base' to the same type before the
6156 alignment operation.
6157
e0f8b6a0
SN
61582013-01-15 Sofiane Naci <sofiane.naci@arm.com>
6159
6160 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
6161 loop start address for cache clearing.
6162
00892272
GJL
61632013-01-14 Georg-Johann Lay <avr@gjlay.de>
6164
6165 * config/avr/lib1funcs.S: Remove trailing blanks.
6166 * config/avr/lib1funcs-fixed.S: Ditto.
6167
e59ec5fd
GJL
61682013-01-14 Georg-Johann Lay <avr@gjlay.de>
6169
6170 * config/avr/avr-lib.h: Add GPL copyright notice.
6171
3ffc1958
GJL
61722013-01-14 Georg-Johann Lay <avr@gjlay.de>
6173
6174 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
6175 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
6176 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
6177 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
6178
25c210f9
MK
61792013-01-07 Mark Kettenis <kettenis@openbsd.org>
6180
6181 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
6182 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
2bc15360 6183
db59befb
NC
61842013-01-04 Nick Clifton <nickc@redhat.com>
6185
6186 * config/v850/lib1funcs.S: Only provide CALLT support functions if
6187 the CALLT instruction is supported.
6188
5aa12dbf
JW
61892012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
6190
6191 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
6192 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
6193
65f14117
JT
61942012-12-13 John Tytgat <John@bass-software.com>
6195
6196 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
6197 is 25.
6198
ee3ae4f7
JJ
61992012-12-12 Jakub Jelinek <jakub@redhat.com>
6200
6201 PR libgcc/55451
6202 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
6203 undefined signed overflows.
6204
2fcfba3d
UB
62052012-12-09 Uros Bizjak <ubizjak@gmail.com>
6206
6207 PR target/55344
6208 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
6209
4f2b3dc2
UB
62102012-12-06 Uros Bizjak <ubizjak@gmail.com>
6211
6212 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
6213 (FP_TRAPPING_EXCEPTIONS): Define.
6214 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
6215 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
6216
066161a2
RH
62172012-12-04 Richard Henderson <rth@redhat.com>
6218
6219 PR bootstrap/55571
6220 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
6221
7d296953 62222012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
25626181 6223
4f2b3dc2 6224 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
25626181
MS
6225 (FP_EX_SHIFT): Define.
6226 (FP_TRAPPING_EXCEPTIONS): Define.
6227
7d296953 62282012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
868395e8
MS
6229
6230 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
6231 (FP_ROUNDMODE): Use FP_RND_MASK.
6232 * config/aarch64/sfp-exceptions.c: New.
6233 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
6234 Use __sfp_handle_exceptions.
6235
5005fe22
RE
62362012-12-04 Richard Earnshaw <rearnsha@arm.com>
6237
6238 * config.host: (arm*-*-freebsd*): Remove.
6239 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
6240 (arm*-*-elf*): Remove.
6241 (arm*-*-wince-pe*): Remove.
6242 * arm/unwind-arm.c (struct fpa_reg): Delete.
6243 (struct fpa_regs): Delete.
6244 (phase1_vrs): Remove fpa element.
6245 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
6246 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
6247 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
6248 * ieee754-sf.S (floatundisf): Remove FPA support.
6249 (floatdisf): Likewise.
6250 * ieee75f-df.S (floatundidf): Likewise.
6251 (floatdidf): Likewise.
6252
e5a81c8e
KT
62532012-11-29 Kai Tietz <ktietz@redhat.com>
6254
6255 PR target/55445
6256 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
6257 * unwind-generic.h: Likewise.
6258 * unwind-seh.c: Likewise.
6259
f4919e4a
RH
62602012-11-28 Richard Henderson <rth@redhat.com>
6261
6262 PR libgcc/48076
6263 * emutls.c (__emutls_get_address): Avoid race condition between
6264 obj->loc.offset read and emutls_key initialization.
4f2b3dc2 6265
e13d9d5a
GJL
62662012-11-22 Georg-Johann Lay <avr@gjlay.de>
6267
6268 Adjust decimal point of signed accum mode to GCC default.
6269
6270 PR target/54222
6271 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
6272 _divqq_helper.
6273 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
6274 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
6275 (__mulha3, __mulsa3)
6276 (__divqq3, __divha3, __divsa3): Adjust to new position of
4f2b3dc2
UB
6277 decimal point of signed accum types.
6278
e13d9d5a
GJL
6279 (__mulusa3_round): New function.
6280 (__mulusa3): Use it.
6281 (__divqq_helper): New function.
6282 (__udivuqq3): Use it.
6283
1b845c6e
JJ
62842012-11-20 Jakub Jelinek <jakub@redhat.com>
6285
6286 PR bootstrap/55370
6287 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
6288
822a258a
TJ
62892012-11-18 Teresa Johnson <tejohnson@google.com>
6290
6291 PR bootstrap/55051
6292 * libgcov.c (gcov_exit): Remove merged program summary
6293 comparison unless !GCOV_LOCKED.
6294
7d296953 62952012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
54f4eaf0
MS
6296
6297 * soft-fp: Updated from glibc upstream.
6298
e808687a
ILT
62992012-11-06 Ian Lance Taylor <iant@google.com>
6300
6301 * generic-morestack.c (__generic_morestack): Align the returned
6302 stack pointer to a 32 byte boundary.
6303 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
6304 increment the return address until we have decided that we don't
6305 have a varargs function.
6306 (__morestack) [32-bit]: Align stack correctly when calling C
6307 functions.
6308 (__morestack) [64-bit]: Likewise.
6309
460277e0
TS
63102012-11-04 Thomas Schwinge <thomas@codesourcery.com>
6311
6312 * configure: Regenerate.
6313
73edb277
UB
63142012-11-02 Uros Bizjak <ubizjak@gmail.com>
6315
6316 PR target/55175
6317 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
6318 * config/i386/sfp-machine.h: Guard exception handling
6319 code with _SOFT_FLOAT.
6320 * config/i386/32/sfp-machine.h: Guard rounding handling
6321 code with _SOFT_FLOAT.
6322 * config/i386/64/sfp-machine.h: Ditto.
6323
c1d4fa04
JS
63242012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
6325
6326 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
6327 as extra_parts.
6328
eff6ca85
UB
63292012-10-26 Uros Bizjak <ubizjak@gmail.com>
6330
6331 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
6332 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
6333 when appropriate. Correct structure element types.
6334 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
6335 -minline-all-stringops from compile flags.
6336
7d296953 63372012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
43a8f1a1
RC
6338
6339 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
6340
7d296953 63412012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
76c78361 6342
eff6ca85 6343 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
76c78361 6344
6f288860
SH
63452012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
6346
6347 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
6348 tmake_file.
6349
1e3d5096
IB
63502012-10-23 Ian Bolton <ian.bolton@arm.com>
6351 Jim MacArthur <jim.macarthur@arm.com>
6352 Marcus Shawcroft <marcus.shawcroft@arm.com>
6353 Nigel Stephens <nigel.stephens@arm.com>
6354 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
6355 Richard Earnshaw <rearnsha@arm.com>
6356 Sofiane Naci <sofiane.naci@arm.com>
6357 Stephen Thomas <stephen.thomas@arm.com>
6358 Tejas Belagod <tejas.belagod@arm.com>
6359 Yufeng Zhang <yufeng.zhang@arm.com>
6360
6361 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
6362 * config/aarch64/crti.S: New file.
6363 * config/aarch64/crtn.S: New file.
6364 * config/aarch64/linux-unwind.h: New file.
6365 * config/aarch64/sfp-machine.h: New file.
6366 * config/aarch64/sync-cache.c: New file.
6367 * config/aarch64/t-aarch64: New file.
6368 * config/aarch64/t-softfp: New file.
6369
8a740f07
HPN
63702012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
6371
6372 * config/mmix/crti.S: Mark program and data addresses using PRELD.
6373 Remove typo'd and unnecessary alignment-LOC for .data. Remove
6374 no-longer-needed LDBU insns.
6375
7d296953 63762012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
153c8397
SH
6377
6378 * config.host
6379 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
6380 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
6381
595fefee
MGD
63822012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
6383
6384 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
6385
9945a876
MK
63862012-10-15 Matthias Klose <doko@ubuntu.com>
6387
6388 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
6389
1183dc2c
PC
63902012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
6391
6392 * configure: Regenerate.
6393 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
6394
945a9c1f
UB
63952012-10-10 Uros Bizjak <ubizjak@gmail.com>
6396
6397 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
6398 instructions for 64bit targets only.
6399
fb8bf47a
UB
64002012-10-10 Uros Bizjak <ubizjak@gmail.com>
6401
6402 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
6403 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
6404 * config/i386/32/sfp-machine.h: ... here.
6405 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
6406 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
6407 New defines.
6408
acb72498
MK
64092012-10-07 Matthias Klose <doko@ubuntu.com>
6410
6411 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
6412 as unused.
6413 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
6414
8eaee0f0
MK
64152012-10-06 Mark Kettenis <kettenis@openbsd.org>
6416
6417 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
6418 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
6419 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
6420 (ElfW): Likewise.
6421
5e3e4fe8
JW
64222012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
6423
6424 PR other/53889
6425 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
6426 Fix parameter names.
6427
86086376
OE
64282012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
6429
6430 PR target/33135
6431 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
6432 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
6433 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
6434
9597375a
OE
64352012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
6436
6437 PR target/50457
6438 * config/sh/linux-atomic.S: Delete.
6439 * config/sh/linux-atomic.c: New.
6440 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
6441 linux-atomic.c. Add cflags to disable warnings.
6442
1504e3e1
JW
64432012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
6444
6445 PR other/53889
6446 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
6447 function.
6448 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
6449 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
6450 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
6451 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
5e3e4fe8
JW
6452 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
6453 Likewise.
1504e3e1
JW
6454 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
6455 Likewise.
6456 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
6457 Likewise.
6458 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
6459 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
6460
17f293b0
MK
64612012-09-19 Mark Kettenis <kettenis@openbsd.org>
6462
9597375a
OE
6463 * config.host (hppa-*-openbsd*): New target.
6464 * config/pa/t-openbsd: New file.
17f293b0 6465
51526856
GJL
64662012-09-15 Georg-Johann Lay <avr@gjlay.de>
6467
6468 PR target/54222
6469 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
6470 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
6471 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
6472 (__divsa3): Use __negsi2 to negate r_quoL.
6473 * config/avr/lib1funcs.S (FALIAS): New macro.
6474 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
6475 (__negsi2): ...this new function.
6476 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
6477 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
6478 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
6479 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
6480 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
6481 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
6482
aadb5b43
OE
64832012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
6484
6485 PR target/54089
6486 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
6487 (lshrsi3): Reimplement as lshrsi3_r0.
6488
d5d66749
AS
64892012-09-10 Andreas Schwab <schwab@linux-m68k.org>
6490
6491 PR target/46191
6492 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
6493 of libgcc.a.
6494
c6c36e73
TJ
64952012-09-07 Teresa Johnson <tejohnson@google.com>
6496
9597375a 6497 PR gcov-profile/54487
c6c36e73 6498 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
9597375a 6499 differences.
c6c36e73 6500
b588ae30
GJL
65012012-09-05 Georg-Johann Lay <avr@gjlay.de>
6502
6503 PR target/54461
6504 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
6505 not configured --with-avrlibc=no.
6506 * config/avr/t-avrlibc: New file.
6507 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
6508 (DPBIT_FUNCS): Ditto.
6509 (TPBIT_FUNCS): Ditto.
6510
abd16fb1
TJ
65112012-09-04 Teresa Johnson <tejohnson@google.com>
6512
6513 * libgcov.c (struct gcov_summary_buffer): New structure.
6514 (gcov_histogram_insert): New function.
6515 (gcov_compute_histogram): Ditto.
6516 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
6517 histograms during summary merging.
6518
613061fd
MK
65192012-09-01 Mark Kettenis <kettenis@openbsd.org>
6520
6521 * config.host (x86_64-*-openbsd*): New target.
73edb277 6522
867a8345
CLT
65232012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
6524
6525 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
6526 attribute.
6527
4aeaaca3
GJL
65282012-08-24 Georg-Johann Lay <avr@gjlay.de>
6529
6530 PR target/54222
6531 * config/avr/t-avr (conv_X): Rename to func_X.
6532
e55e4056
GJL
65332012-08-24 Georg-Johann Lay <avr@gjlay.de>
6534
6535 PR target/54222
6536 * config/avr/lib1funcs-fixed.S: New file.
6537 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
6538 after they are used.
6539 (neg2, neg4): New macros.
6540 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
6541 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
6542 (__umulhisi3): Speed up MUL variant if there is enough flash.
6543 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
6544 avr-modes.def.
6545 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
6546 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
6547 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
6548 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
6549 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
6550 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
6551 (LIB2FUNCS_EXCLUDE): Add supported functions.
6552
a147b6d2
GJL
65532012-08-22 Georg-Johann Lay <avr@gjlay.de>
6554
6555 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
6556 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
6557 libgcc-s-objects.
6558 * fixed-obj.mk: Only expand dependency if $o is not in
6559 LIB2FUNCS_EXCLUDE.
6560
c637141a
L
65612012-08-22 H.J. Lu <hongjiu.lu@intel.com>
6562
6563 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
6564
130e00bd
JM
65652012-08-22 Joseph Myers <joseph@codesourcery.com>
6566
6567 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
6568 depend on --enable-shared.
6569 ($(lib1asmfuncs-o)): Use %.vis files independent of
6570 --enable-shared.
6571 * static-object.mk ($(base)$(objext), $(base).vis)
6572 ($(base)_s$(objext)): Use same rules for visibility handling as in
6573 shared-object.mk.
6574
4b1b3788
ILT
65752012-08-21 Ian Lance Taylor <iant@google.com>
6576
6577 * config/i386/morestack.S (__morestack_non_split): Increase amount
6578 of space allocated for non-split code stack.
6579
d2468141
JM
65802012-08-19 Joseph Myers <joseph@codesourcery.com>
6581
6582 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
6583 even if inhibit_libc.
6584
a508e1a8
JB
65852012-08-17 Julian Brown <julian@codesourcery.com>
6586
6587 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
6588 -fexceptions -fnon-call-exceptions if not defined.
6589 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
6590 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
6591
5615a07d
AS
65922012-08-17 Andreas Schwab <schwab@linux-m68k.org>
6593
6594 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
6595 type.
6596
138f5acd
DE
65972012-08-16 David Edelsohn <dje.gcc@gmail.com>
6598
6599 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
6600 rs6000/t-slibgcc-aix.
6601
18efc0dd
SB
66022012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
6603
6604 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
6605
6b39bc38
SB
66062012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
6607
6608 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
6609
cd25dea0
L
66102012-08-03 H.J. Lu <hongjiu.lu@intel.com>
6611
6612 PR driver/54171
6613 * Makefile.in (version): Replace top_srcdir with srcdir.
6614
a3dda30b
JY
66152012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
6616
6617 * Makefile.in (version): set to BASE-VER file from gcc directory.
6618
d04aacfc
NC
66192012-08-01 Nick Clifton <nickc@redhat.com>
6620
6621 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
6622 Implements __clrsb for an HImode argument.
6623
0d13c974
NC
66242012-07-31 Nick Clifton <nickc@redhat.com>
6625
6626 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
6627 Implements __clrsb for an HImode argument.
6628 * config/stormy16/clrsbhi2.c: New file:
6629 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
6630
efbb59b2
SB
66312012-07-22 Steven Bosscher <steven@gcc.gnu.org>
6632
6633 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
6634
bf1431e3
TG
66352012-07-19 Tristan Gingold <gingold@adacore.com>
6636 Richard Henderson <rth@redhat.com>
6637
6638 * unwind-seh.c: New file.
6639 * unwind-generic.h: Include windows.h for SEH.
6640 (_Unwind_Exception): Use 6 private fields for SEH.
6641 (_GCC_specific_handler): Declare.
6642 * unwind-c.c (__gcc_personality_seh0): New function.
6643 Adjust for SEH.
6644 * config/i386/libgcc-cygming.ver: New file.
6645 * config/i386/t-seh-eh: New file.
6646 * config.host (x86_64-*-mingw*): Default to seh.
6647
659140c8
SB
66482012-07-14 Steven Bosscher <steven@gcc.gnu.org>
6649
6650 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
6651
a20d08fd
UB
66522012-06-17 Uros Bizjak <ubizjak@gmail.com>
6653
6654 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
6655 __builtin_expect when checking for exceptions.
6656 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
6657
79261115
UB
66582012-06-13 Uros Bizjak <ubizjak@gmail.com>
6659
4a172156
UB
6660 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
6661 function declaration.
6662 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
6663 (FP_RND_MASK): New.
6664 * config/ia64/sfp-exceptions.c: New.
6665 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
79261115 6666
bb5c97d4
UB
66672012-06-13 Uros Bizjak <ubizjak@gmail.com>
6668
6669 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
6670 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
6671 * config/i386/64/sfp-machine: ... (delete here) ...
6672 * config/i386/sfp-machine.h: ... to here.
6673 (FP_EX_MASK): Remove.
6674 (FP_RND_MASK): New.
6675 (FP_INIT_ROUNDMODE): Declare asm as volatile.
6676
91fe5efb
ST
66772012-06-11 Sriraman Tallam <tmsriram@google.com>
6678
6679 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
6680 * config/i386/libgcc-sol2.ver: Ditto.
6681 * config/i386/libgcc-glibc.ver: Ditto.
6682
67a218c5
RM
66832012-06-11 Roland McGrath <mcgrathr@google.com>
6684
6685 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
6686 If __GLIBC__ is defined, refer to __pthread_key_create instead of
6687 pthread_cancel.
6688
492fbea1
UB
66892012-06-09 Uros Bizjak <ubizjak@gmail.com>
6690
6691 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
6692 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
6693 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
6694 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
6695 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
6696 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
6697 * config/i386/64/sfp-machine: ... (delete here) ...
6698 * config/i386/sfp-machine.h: ... to here.
6699 (FP_EX_MASK): New.
6700 (__sfp_handle_exceptions): New function declaration.
6701 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
6702 * config/i386/sfp-exceptions.c: New.
6703 * config/i386/t-softfp: New.
6704 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
6705 i386/t-softfp to tmake_file.
6706
7b4cf266
DM
67072012-06-03 David S. Miller <davem@davemloft.net>
6708
6709 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
6710 change.
6711
0de0d5c6
DM
67122012-05-31 David S. Miller <davem@davemloft.net>
6713
6714 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
6715 multiply and divide instructions on 32-bit when V9.
6716 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
6717
d8c9d391
JM
67182012-05-29 Joseph Myers <joseph@codesourcery.com>
6719
6720 * config/arm/ieee754-df.S: Fix typos.
6721 * config/arm/ieee754-sf.S: Fix typos.
6722 * config/c6x/libunwind.S: Fix typos.
6723 * config/epiphany/udivsi3-float.c: Fix typos.
6724 * config/microblaze/muldi3_hard.S: Fix typos.
6725 * config/picochip/adddi3.S: Fix typos.
6726 * config/picochip/ashlsi3.S: Fix typos.
6727 * config/picochip/ashrsi3.S: Fix typos.
6728 * config/picochip/clzsi2.S: Fix typos.
6729 * config/picochip/cmpsi2.S: Fix typos.
6730 * config/picochip/divmod15.S: Fix typos.
6731 * config/picochip/divmodhi4.S: Fix typos.
6732 * config/picochip/divmodsi4.S: Fix typos.
6733 * config/picochip/longjmp.S: Fix typos.
6734 * config/picochip/lshrsi3.S: Fix typos.
6735 * config/picochip/parityhi2.S: Fix typos.
6736 * config/picochip/popcounthi2.S: Fix typos.
6737 * config/picochip/setjmp.S: Fix typos.
6738 * config/picochip/subdi3.S: Fix typos.
6739 * config/picochip/ucmpsi2.S: Fix typos.
6740 * config/picochip/udivmodhi4.S: Fix typos.
6741 * config/picochip/udivmodsi4.S: Fix typos.
6742 * config/spu/divv2df3.c: Fix typos.
6743 * config/spu/mfc_multi_tag_release.c: Fix typos.
6744 * config/spu/mfc_tag_release.c: Fix typos.
6745 * configure.ac: Fix typos.
6746 * configure: Regenerate.
6747
31a18a7e
ILT
67482012-05-25 Ian Lance Taylor <iant@google.com>
6749
6750 * config/i386/morestack.S (__morestack_non_split): Check whether
6751 caller is varargs and needs %bp to hold the stack frame on return.
6752
c5768510
OH
67532012-05-25 Olivier Hainque <hainque@adacore.com>
6754
6755 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
6756 sequence in the non pic case on VxWorks.
6757
7c7c339b
OH
67582012-05-24 Olivier Hainque <hainque@adacore.com>
6759
73fb7630 6760 * Makefile.in: Move dependency on install-unwind_h from
7c7c339b
OH
6761 "install-leaf" to "install".
6762
fdc1b7d3
OH
67632012-05-24 Olivier Hainque <hainque@adacore.com>
6764
6765 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
6766 Use a separate command for stamp removals.
6767
07ba94b9
AP
67682012-05-21 Andrew Pinski <apinski@cavium.com>
6769
6770 PR bootstrap/53183
6771 * configure.ac: Define the default includes to being none.
6772 * configure: Regenerate.
6773
4677d2eb
OH
67742012-05-16 Olivier Hainque <hainque@adacore.com>
6775
6776 * Makefile.in (install-unwind_h): Rename into ...
6777 (install-unwind_h-forbuild): New target.
6778 (all): Use it instead of the former install-unwind_h.
6779 (install-unwind_h): Reinstate, copy to user install destination
6780 for include files, not to the internal gcc object directory one.
6781 (install-leaf): Depend on it.
6782
7d67c380
OH
67832012-05-15 Olivier Hainque <hainque@adacore.com>
6784
6785 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
6786 register numbers. LR_REGNO replaces R_LR.
6787 (ucontext_for): New, helper for ...
6788 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
6789 and 5.3 of ...
6790 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
6791
aca06c90
RO
67922012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6793
6794 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
6795 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
6796 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
6797 i386/t-cpuinfo ...
6798 (i[34567]86-*-*, x86_64-*-*): ... here.
6799
6800 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
6801 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
6802
6803 * config/i386/i386-cpuinfo.c: Rename to ...
6804 * config/i386/cpuinfo.c: ... this.
6805 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
6806
6807 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
6808 (libgcc_cv_init_priority): New test.
6809 * configure: Regenerate.
6810 * config.in: New file.
6811 * Makefile.in (clean): Rename config.h to auto-target.h.
6812 (config.h): Likewise.
6813 (stamp-h): Likewise.
6814
6815 * config/i386/cpuinfo.c (auto-target.h): Include.
6816 (CONSTRUCTOR_PRIORITY): Define.
6817 (__cpu_indicator_init): Use it.
6818
0d03ac1b
L
68192012-05-09 H.J. Lu <hongjiu.lu@intel.com>
6820
6821 * longlong.h: Use a URL instead of an FSF postal address.
6822 Replace spaces with tab.
6823
4a172156 68242012-05-08 Teresa Johnson <tejohnson@google.com>
4e8ee9cb
TJ
6825
6826 * libgcov.c (gcov_clear, __gcov_reset): New functions.
6827 (__gcov_dump): Ditto.
6828 (gcov_dump_complete): New global variable.
6829 (gcov_exit): Export hidden to enable use in L_gcov_dump.
6830 (__gcov_flush): Outline functionality now in gcov_clear.
6831 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
6832
e4bb767e
AJ
68332012-04-28 Aurelien Jarno <aurelien@aurel32.net>
6834
31a18a7e
ILT
6835 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
6836 (mips*-*-linux*): Include mips/t-tpbit when long double is
6837 16 bytes long.
e4bb767e 6838
5ddecff9
ST
68392012-04-25 Sriraman Tallam <tmsriram@google.com>
6840
6841 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
6842 (get_available_features): New argument. Check for AVX2.
6843 (__cpu_indicator_init): Modify call to get_available_features.
6844
b427dd7a
AM
68452012-04-25 Alan Modra <amodra@gmail.com>
6846
6847 * config/rs6000/crtsavevr.S: New file.
6848 * config/rs6000/crtrestvr.S: New file.
6849 * config/rs6000/t-savresfgpr: Build the above.
6850 * config/rs6000/t-netbsd: Likewise.
6851
ad491329
ST
68522012-04-24 Sriraman Tallam <tmsriram@google.com>
6853
6854 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
6855
792317cc
ST
68562012-04-24 Sriraman Tallam <tmsriram@google.com>
6857
6858 * libgcc/config/i386/i386-cpuinfo.c: New file.
6859 * libgcc/config/i386/t-cpuinfo: New file.
6860 * libgcc/config.host: Include t-cpuinfo.
6861 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
6862
e1be98a4
CF
68632012-04-24 Chao-ying Fu <fu@mips.com>
6864
6865 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
6866
1bde7dab
TS
68672012-04-20 Thomas Schwinge <thomas@codesourcery.com>
6868
6869 struct siginfo vs. siginfo_t
6870
6871 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
6872 siginfo_t instead of struct siginfo.
6873 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
6874 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
6875 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
6876 (ia64_handle_unwabi): Likewise.
6877 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
6878 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
6879 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
6880 (sh_fallback_frame_state): Likewise.
6881 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
6882 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
6883
24590f66
L
68842012-04-02 H.J. Lu <hongjiu.lu@intel.com>
6885
6886 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
6887 system call number.
6888
9a9dcce8
EB
68892012-03-31 Eric Botcazou <ebotcazou@adacore.com>
6890
6891 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
6892 if it hasn't been previously saved.
6893
6401aaf5
L
68942012-03-29 H.J. Lu <hongjiu.lu@intel.com>
6895
6896 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
6897 only for glibc.
6898
7fd6378e
GJL
68992012-03-28 Georg-Johann Lay <avr@gjlay.de>
6900
6901 PR target/52737
6902 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
6903 instead of __AVR_HAVE_8BIT_SP__.
6904
9e916de7
TG
69052012-03-26 Tristan Gingold <gingold@adacore.com>
6906
6907 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
6908 (unw_table_entry): Use unw_word instead of unsigned long.
6909 (_Unwind_FindTableEntry): Likewise.
6910 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
6911 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
6912 (_Unwind_FindTableEntry): Likewise.
6913 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
6914 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
6915 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
6916 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
6917 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
6918 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
6919 (uw_init_context_1, uw_install_context): Likewise.
6920 (unw_word): Move to unwind-ia64.h
6921
4b12e93d
TG
69222012-03-26 Tristan Gingold <gingold@adacore.com>
6923
6924 * config/vms/vms-ucrt0.c: Update copyright years.
6925 Add a sanity check.
6926 (___gcc_main_flags): Declare.
6927 (__main): Check flags to remap argv and exit code.
6928 * config.host (*-*-*vms*): Adjust extra_parts.
6929 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
6930 (crt0.o): Add.
6931
06ea7371
RE
69322012-03-22 Richard Earnshaw <rearnsha@arm.com>
6933
6934 * arm/lib1funcs.asm (ctzsi2): New function.
6935 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
6936 * arm/t-linux (LIB1ASMFUNCS): Likewise.
6937 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
6938 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
6939 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
6940 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
6941
d82ad50d
AT
69422012-03-21 Andreas Tobler <andreast@fgznet.ch>
6943
6944 * config.host: Add bits to support powerpc64-*-freebsd*.
6945 * config/rs6000/freebsd-unwind.h: New file.
6946 * config/rs6000/t-freebsd64: New file.
6947
b260a8c0
RG
69482012-03-20 Richard Guenther <rguenther@suse.de>
6949
6950 PR gcov-profile/52627
6951 * libgcov.c (init_mx): Fix mutex name.
6952
86286a8a
TG
69532012-03-16 Tristan Gingold <gingold@adacore.com>
6954
6955 * config/ia64/vms-unwind.h: Remove ulong (and replace
6956 it by unw_reg where used). Define unw_reg with __int64.
6957
7888f266
RO
69582012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6959
6960 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
6961 Solaris 8 handling.
6962 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
6963 Solaris 8 handling.
6964 (sparc_is_sighandler): Likewise.
6965
f155bc64
L
69662012-03-13 H.J. Lu <hongjiu.lu@intel.com>
6967
6968 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
6969 <= saved reg size.
6970
d47657bd
RO
69712012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6972
6973 * config/arm/crtn.S: Fix typo.
6974
5bef73a1
RG
69752012-03-13 Richard Guenther <rguenther@suse.de>
6976
6977 * libgcov.c: Remove stdio.h include and NULL un-define.
6978
9c4271f3
RG
69792012-03-13 Richard Guenther <rguenther@suse.de>
6980
6981 PR target/52569
6982 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
6983
c6d10e7c
RG
69842012-03-13 Richard Guenther <rguenther@suse.de>
6985
6986 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
6987
074a385f
RG
69882012-03-13 Richard Guenther <rguenther@suse.de>
6989
6990 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
6991 and __gthread_mutex_init_function definitions.
6992
c4bc5c25
RO
69932012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6994
6995 * config.host (mips*-*-openbsd*): Remove.
6996
5c30094f
RO
69972012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6998
6999 * config.host: Remove alpha*-dec-osf5.1* handling.
7000 * config/alpha/gthr-posix.c: Remove.
7001 * config/alpha/libgcc-osf5.ver: Remove.
7002 * config/alpha/osf5-unwind.h: Remove.
7003 * config/alpha/t-osf-pthread: Remove.
7004 * config/alpha/t-slibgcc-osf: Remove.
7005 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
7006 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
7007 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
7008 * mkmap-flat.awk: Remove osf_export handling.
7009
33e3e24d
RG
70102012-03-12 Richard Guenther <rguenther@suse.de>
7011
7012 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
7013 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
7014 (__gthread_mutex_init_function): New function.
7015 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
7016
7017 PR gcov/49484
7018 * libgcov.c: Include gthr.h.
7019 (__gcov_flush_mx): New global variable.
7020 (init_mx, init_mx_once): New functions.
7021 (__gcov_flush): Protect self with a mutex.
7022 (__gcov_fork): Re-initialize mutex after forking.
7023 * unwind-dw2-fde.c: Change condition under which to use
7024 __GTHREAD_MUTEX_INIT_FUNCTION.
7025
d8aba32a
TG
70262012-03-12 Tristan Gingold <gingold@adacore.com>
7027
7028 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
7029 * config/ia64/t-vms: Likewise.
7030
75ffafdc
MH
70312012-03-11 Michael Hope <michael.hope@linaro.org>
7032
4a172156
UB
7033 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
7034 for Thumb-2.
75ffafdc 7035
ef6c2c53
WL
70362012-03-07 Walter Lee <walt@tilera.com>
7037
7038 * config/tilepro/atomic.c: Rename "atomic_" prefix to
7039 "arch_atomic_".
7040 (atomic_xor): Rename and move definition to
7041 config/tilepro/atomic.h.
7042 (atomic_nand): Ditto.
7043 * config/tilepro/atomic.h: Rename "atomic_" prefix to
7044 "arch_atomic_".
7045 (arch_atomic_xor): Move from config/tilepro/atomic.c.
7046 (arch_atomic_nand): Ditto.
7047
4e30d980
GJL
70482012-03-07 Georg-Johann Lay <avr@gjlay.de>
7049
7050 PR target/52507
7051 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
7052
61108225
GJL
70532012-03-07 Georg-Johann Lay <avr@gjlay.de>
7054
7055 PR target/52505
7056 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
7057 from RAM.
7058
b30e10ab
GJL
70592012-03-07 Georg-Johann Lay <avr@gjlay.de>
7060
7061 PR target/52461
7062 PR target/52508
7063 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
7064 if RAMPZ affects reading from RAM.
7065 (__tablejump_elpm__): Ditto.
7066 (.xload): Ditto.
7067 (__movmemx_hi): Ditto.
7068 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
7069 (__do_global_dtors): Ditto.
7070 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
7071 (__movmemx_hi): Ditto.
7072
8993fde4
RH
70732012-03-05 Richard Henderson <rth@redhat.com>
7074
7075 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
7076 [ARM] (count_trailing_zeros): Use the builtin.
7077
b7633ee3
KT
70782012-03-01 Kai Tietz <ktietz@redhat.com>
7079
7080 * soft-fp: Imported from glibc upstream.
7081
fbd3340c
KT
70822012-02-28 Kai Tietz <ktietz@redhat.com>
7083
7084 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
7085 for mingw-targets as attribute gcc_struct.
7086
e9e053eb
ILT
70872012-02-28 Ian Lance Taylor <iant@google.com>
7088
7089 * generic-morestack.c (__splitstack_releasecontext): Correct call
7090 to __morestack_release_segments.
7091
d80c632e
ST
70922012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
7093
7094 PR target/52390
7095 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
7096 for __linux__ when removing signals from __morestack_fullmask.
7097
0253a8b1
GJL
70982012-02-23 Georg-Johann Lay <avr@gjlay.de>
7099
7100 PR target/52261
7101 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
7102
e10e461e
UW
71032012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7104
7105 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
7106 instead of HAVE_INITFINI_ARRAY.
7107 * config/ia64/crtend.S: Likewise.
7108
0c0c6398
KT
71092012-02-20 Kai Tietz <ktietz@redhat.com>
7110
d7470374
KT
7111 PR libstdc++/52300
7112 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
7113
0c0c6398
KT
7114 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
7115 to w32-unwind.h header.
7116
78c27266
RS
71172012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
7118
7119 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
7120 (mips*-*-linux*): Remove t-slibgcc-libgcc.
7121 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
7122 * config/mips/mips16.S (__mips16_rdhwr): Delete.
7123
5adeb246
RS
71242012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
7125
7126 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
7127
672ed313
IS
71282012-02-15 Iain Sandoe <iains@gcc.gnu.org>
7129
7130 PR libitm/52220
7131 * config/darwin-crt-tm.c: Correct typo.
e9e053eb 7132
e948a1fb
IS
71332012-02-15 Iain Sandoe <iains@gcc.gnu.org>
7134 Patrick Marlier <patrick.marlier@gmail.com>
7135
7136 PR libitm/52220
7137 * config/darwin-crt-tm.c: Generate dummy functions.
7138
6017aed3
IS
71392012-02-15 Iain Sandoe <iains@gcc.gnu.org>
7140 Patrick Marlier <patrick.marlier@gmail.com>
7141
7142 PR libitm/52042
7143 * config/darwin-crt-tm.c (getTMCloneTable): New function.
7144 (__doTMRegistrations): Call it.
e9e053eb 7145 (__doTMdeRegistrations): Likewise.
6017aed3 7146
2da8c1ad 71472012-01-15 Georg-Johann Lay <avr@gjlay.de>
7d296953
JJ
7148 Anatoly Sokolov <aesok@post.ru>
7149 Eric Weddington <eric.weddington@atmel.com>
2da8c1ad
GJL
7150
7151 PR target/52261
7152 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
7153 (__epilogue_restores__): Ditto.
7154
0f952eb4
EB
71552012-02-15 Eric Botcazou <ebotcazou@adacore.com>
7156
7157 PR target/51921
7158 PR target/52205
7159 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
7160 Solaris 11 and slightly reformat.
7161 (sparc_is_sighandler): Likewise.
7162
dd552284
WL
71632012-02-14 Walter Lee <walt@tilera.com>
7164
7165 * config.host: Handle tilegx and tilepro.
7166 * config/tilegx/sfp-machine.h: New file.
7167 * config/tilegx/sfp-machine32.h: New file.
7168 * config/tilegx/sfp-machine64.h: New file.
7169 * config/tilegx/t-crtstuff: New file.
7170 * config/tilegx/t-softfp: New file.
7171 * config/tilegx/t-tilegx: New file.
7172 * config/tilepro/atomic.c: New file.
7173 * config/tilepro/atomic.h: New file.
7174 * config/tilepro/linux-unwind.h: New file.
7175 * config/tilepro/sfp-machine.h: New file.
7176 * config/tilepro/softdivide.c: New file.
7177 * config/tilepro/softmpy.S: New file.
7178 * config/tilepro/t-crtstuff: New file.
7179 * config/tilepro/t-tilepro: New file.
7180
b59cbd50
JW
71812012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
7182
7183 PR libstdc++/51296
7184 PR libstdc++/51906
7185 * gthr-posix.h: Allow static initializer macros to be disabled.
7186 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
7187
6caf807f
CLT
71882012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
7189
7190 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
7191 Add t-slibgcc-libgcc to tmake_file.
7192 * config/mips/libgcc-mips16.ver: Revert previous patch.
7193 * config/mips/mips16.S (__mips16_rdhwr): Hide.
7194
7d296953
JJ
71952012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
7196 Jayant R Sonar <jayant.sonar@kpitcummins.com>
b25364a0
S
7197
7198 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
7199 * config/cr16/crti.S: New file.
7200 * config/cr16/crtlibid.S: New file.
7201 * config/cr16/crtn.S: New file.
7202 * config/cr16/lib1funcs.S: New file.
7203 * config/cr16/t-cr16: New file.
7204 * config/cr16/t-crtlibid: New file.
7205 * config/cr16/unwind-dw2.h: New file.
7206 * config/cr16/unwind-cr16.c: New file.
7207 * config/cr16/divmodhi3.c: New file.
7208
8ef03aa7
AM
72092012-01-25 Alan Modra <amodra@gmail.com>
7210
7211 * config/rs6000/t-linux64: Delete. Move..
7212 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
7213 * config/rs6000/t-linux: ..and libgcc flags to here.
7214
daecebc8
DR
72152012-01-22 Douglas B Rupp <rupp@gnat.com>
7216
7217 * config.host (i[34567]86-*-interix3*):
8ef03aa7 7218 Change triplet to i[34567]86-*-interix[3-9]*.
daecebc8
DR
7219 * configure: Regenerate.
7220
ddaf8125
RS
72212012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
7222 Richard Sandiford <rdsandiford@googlemail.com>
7223
7224 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
7225 * config/mips/mips16.S (__mips16_rdhwr): New function.
7226 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
7227
2cd8b32c
NS
72282012-01-11 Nathan Sidwell <nathan@acm.org>
7229
7230 * libgcov.c (__gcov_init): Ignore objects with no functions.
7231
cba300dd
GJL
72322012-01-10 Georg-Johann Lay <avr@gjlay.de>
7233
7234 PR target/49868
7235 Extend __pgmx semantics to linearize memory.
7236 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
7237 * config/avr/lib1funcs.S (__xload_1): New function.
7238 (__movmemx_qi, __movmemx_hi): New functions.
7239 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
7240 semantics.
9ffaf4bc 7241
3d137660
EB
72422012-01-09 Eric Botcazou <ebotcazou@adacore.com>
7243
7244 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
7245 purported sigacthandler address isn't null before dereferencing it.
7246 (sparc_is_sighandler): Likewise.
7247
bf4db96c
EB
72482012-01-09 Eric Botcazou <ebotcazou@adacore.com>
7249
7250 PR ada/41929
7251 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
7252 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
7253 (sparc_is_sighandler): Likewise.
7254 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
7255
1ab3568b
TG
72562012-01-06 Tristan Gingold <gingold@adacore.com>
7257
7258 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
7259 compatibility thunks...
7260 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
7261 (crtbeginS.o, crtendS.o): ... and these to ...
7262 * config/ia64/t-ia64-elf: ... this new file.
7263 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
7264 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
7265
925b0ed8
AK
72662012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7267
7268 * configure: Regenerate.
7269 * config/s390/t-crtstuff: Remove -fPIC.
7270
a99ad737
JW
72712012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
7272
7273 PR bootstrap/51006
7274 * enable-execute-stack-mprotect.c (getpagesize): Do not define
7275 for NetBSD.
7276
884f56d1
GJL
72772012-01-02 Georg-Johann Lay <avr@gjlay.de>
7278
7279 PR target/51345
7280 * config/avr/lib1funcs.S: Remove FIXME comments.
7281 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
7282
8c57e547
GJL
72832012-01-02 Georg-Johann Lay <avr@gjlay.de>
7284
7285 Implement light-weight DImode support.
7286 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
7287 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
7288 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
7289 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
7290
04dbc287
NS
72912011-12-30 Nathan Sidwell <nathan@acm.org>
7292
7293 * libgcov.c (gcov_crc32): Remove global var.
7294 (free_fn_data): New function.
7295 (buffer_fn_data): Pass in filename, more robust error recovery.
7296 (crc32_unsigned): New function.
7297 (gcov_exit): More robust detection of new program. More robust
7298 error recovery.
7299 (__gcov_init): Do not update program's crc here.
7300
8e1d97d4
TG
73012011-12-21 Tristan Gingold <gingold@adacore.com>
7302
7303 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
7304
9ffaf4bc
ILT
73052011-12-21 Ian Lance Taylor <iant@google.com>
7306
7307 * config/i386/morestack.S: Simplify CFI opcodes throughout.
7308
a0c8d0c1
ILT
73092011-12-20 Ian Lance Taylor <iant@google.com>
7310
7311 * config/i386/morestack.S (__morestack_non_split): If there is
7312 enough stack space already, don't split. Ask for more stack space
7313 than we required.
7314
69048898
SDJ
73152011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
7316
7317 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
7318 `sys/sdt.h'.
7319 (_Unwind_DebugHook): New function.
7320 (uw_restore_core_regs): New define.
7321 (unwind_phase2): Use uw_restore_core_regs instead of
7322 restore_core_regs.
7323 (unwind_phase2_forced): Likewise.
7324 (__gnu_Unwind_Resume): Likewise.
7325
1bb4b6a3
UB
73262011-12-20 Uros Bizjak <ubizjak@gmail.com>
7327
7328 * config/alpha/linux-unwind.h: Update copyright years.
7329 (MD_FROB_UPDATE_CONTEXT): New define.
7330 (alpha_frob_update_context): New function.
7331
eb028768
RS
73322011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
7333
7334 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
7335 tmake_file rather replacing it.
7336
6a2045bf
IS
73372011-12-15 Iain Sandoe <iains@gcc.gnu.org>
7338
7339 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
1bb4b6a3 7340 function is not used for PPC64.
6a2045bf
IS
7341 (save_world): Amend comments. Update the VRsave mask to reflect the
7342 saved regs.
7343 (rest_world): Update comments, do not clobber r10, do not use r8.
7344 (eh_rest_world_r10): Amend comments, do not use r8.
7345 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
7346 no longer used, move restore of CR and target address to the end of
7347 the routine.
7348
a13780a6
L
73492011-12-14 H.J. Lu <hongjiu.lu@intel.com>
7350
7351 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
7352 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
7353
d7288dfb
GJL
73542011-12-14 Georg-Johann Lay <avr@gjlay.de>
7355
7356 PR target/49313
7357 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
7358 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
7359
8d2c862d
EB
73602011-12-11 Eric Botcazou <ebotcazou@adacore.com>
7361
7362 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
7363
3447cae6
GJL
73642011-12-09 Georg-Johann Lay <avr@gjlay.de>
7365
7366 PR target/49313
7367 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
7368 * config/avr/lib1funcs.S (__muldi3): New function.
7369
806fc6aa
AP
73702011-12-06 Andrew Pinski <apinski@cavium.com>
7371
7372 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
7373 size of func_ptr.
7374 (__frame_dummy_init_array_entry): Likewise.
7375
28c5e6b5
GJL
73762011-12-06 Georg-Johann Lay <avr@gjlay.de>
7377
7378 Forward-port from gcc-4_6-branch r181936 2011-12-02.
7379
7380 PR target/51345
7381 PR target/51002
7382 * config/avr/lib1funcs.S (__prologue_saves__,
7383 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
7384 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
7385
8f90394a
IS
73862011-12-04 Iain Sandoe <iains@gcc.gnu.org>
7387
7388 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
7389
06dd33ac
JDA
73902011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
7391
7392 PR other/51272
7393 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
7394 (_ITM_deregisterTMCloneTable): Likewise.
7395 (__register_frame_info): Fix unused warning.
7396 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
7397 pthread_default_stacksize_np): Likewise.
7398 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
1bb4b6a3 7399
85b8555e
DD
74002011-11-29 DJ Delorie <dj@redhat.com>
7401
7402 * config.host (rl78-*-elf): New case.
7403 * config/rl78: New directory for the Renesas RL78.
7404
4d5ae4ea
BS
74052011-11-29 Bernd Schmidt <bernds@codesourcery.com>
7406
7407 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
7408 formatting.
7409
f9c55897
RO
74102011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7411
7412 PR other/51022
7413 * config/rs6000/t-savresfgpr: New file.
7414 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
7415 $(srcdir)/config/rs6000/eabi.S.
7416 * config/rs6000/t-ppccomm-ldbl: Remove.
7417 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
7418 tmake_file.
7419 (powerpc-*-eabispe*): Likewise.
7420 (powerpc-*-eabi*): Likewise.
7421 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
7422 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
7423 to tmake_file, remove rs6000/t-ppccomm-ldbl.
7424 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
7425 tmake_file.
7426 (powerpc-*-eabisim*): Likewise.
7427 (powerpc-*-elf*): Likewise.
7428 (powerpc-*-eabialtivec*): Likewise.
7429 (powerpc-xilinx-eabi*): Likewise.
7430 (powerpc-*-rtems*): Likewise.
7431 (powerpcle-*-elf*): Likewise.
7432 (powerpcle-*-eabisim*): Likewise.
7433 (powerpcle-*-eabi*): Likewise.
7434
a01207c4
ILT
74352011-11-27 Ian Lance Taylor <iant@google.com>
7436
7437 * generic-morestack.c (__splitstack_find): Check for NULL old
7438 stack value.
7439 (__splitstack_resetcontext): New function.
7440 (__splitstack_releasecontext): New function.
7441 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
7442
2b0b8ab2
IS
74432011-11-27 Iain Sandoe <iains@gcc.gnu.org>
7444
7445 * config/darwin-crt-tm.c: Correct comments, use correct licence.
7446
c1d8101c
IS
74472011-11-27 Iain Sandoe <iains@gcc.gnu.org>
7448
7449 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
7450
8b281334
RH
74512011-11-26 Richard Henderson <rth@redhat.com>
7452
7453 * config/m68k/linux-atomic.c: New file.
7454 * config/m68k/t-linux: New file.
7455 * config.host (m68k-uclinux, m68k-linux): Use it.
7456
7546aa9d
RH
74572011-11-26 Richard Henderson <rth@redhat.com>
7458
7459 * crtstuff.c (__TMC_LIST__): Mark used not unused.
7460 (__TMC_END__): Only declare if hidden is available; in the definition,
7461 if hidden is unavailable add a null record.
7462 (deregister_tm_clones, register_tm_clones): New.
7463 (__do_global_dtors_aux, frame_dummy): Use them.
7464 (__do_global_dtors, __do_global_ctors_1): Likewise.
7465
e2362f5d
IS
74662011-11-22 Iain Sandoe <iains@gcc.gnu.org>
7467
7468 * config/darwin-crt-tm.c: New file.
7469 * config.host (darwin): Build crttms.o crttme.o to provide
7470 startup and shutdown for tm clones.
7471 * config/t-darwin (crttms.o): New build rule.
7472 (crttme.o): Likewise.
7473
6685dd96
HPN
74742011-11-21 Hans-Peter Nilsson <hp@axis.com>
7475
7476 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
7477 et al.
7478
b0dc7e4c
RH
74792011-11-21 Richard Henderson <rth@redhat.com>
7480
7481 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
7482 (__TMC_LIST__, __TMC_END__): New.
7483 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
7484 (__do_global_dtors): Likewise.
7485 (frame_dummy): Call _ITM_registerTMCloneTable.
7486 (__do_global_ctors_1): Likewise.
7487
d4b4b542
RO
74882011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7489
7490 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
7491 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
7492 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
7493 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
7494 * config/i386/t-darwin64: Remove.
7495 * config/sh/t-netbsd (LIB2ADD): Remove.
7496
989bdb74
GJL
74972011-11-21 Georg-Johann Lay <avr@gjlay.de>
7498
7499 PR target/49313
7500 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
7501 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
7502 * config/avr/lib1funcs.S (wmov): New assembler macro.
7503 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
7504 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
7505 (__udivmod64): New function.
7506 (__negdi2): New function.
7507
515a0cfc
GP
75082011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
7509
7510 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
7511 *-*-freebsd*aout*): Remove.
7512
0115d17f
HPN
75132011-11-20 Hans-Peter Nilsson <hp@axis.com>
7514
7515 * static-object.mk (c_flags-$o): Save c_flags.
7516 ($(base)$(objext)): Use it.
7517
93aeb62b
SE
75182011-11-18 Steve Ellcey <sje@cup.hp.com>
7519
7520 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
7521
7bc6df2c
GJL
75222011-11-18 Georg-Johann Lay <avr@gjlay.de>
7523
7524 PR target/49868
7525 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
7526 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
7527 New functions.
7528
425d737b
MGD
75292011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
7530
7531 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
7532 functions.
1bb4b6a3 7533 (aeabi_uidivmod): Likewise.
425d737b
MGD
7534 (umodsi3): Likewise.
7535 (divsi3): Likewise.
7536 (aeabi_idivmod): Likewise.
7537 (modsi3): Likewise.
7538
f2a176dc
TG
75392011-11-16 Tristan Gingold <gingold@adacore.com>
7540
7541 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
7542
7c209481
GJL
75432011-11-15 Georg-Johann Lay <avr@gjlay.de>
7544
7545 PR target/49868
7546 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
7547 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
7548
9dfd5832
JDA
75492011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
7550
7551 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
7552 tmake_file list.
7553 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
7554 * config/pa/t-stublib64: Delete.
7555
f77dca5d
RH
75562011-11-12 Richard Henderson <rth@redhat.com>
7557
7558 * config/rs6000/linux-unwind.h (frob_update_context): Properly
7559 cast the pointer argument to _Unwind_SetGRPtr.
7560
902828f0
RO
75612011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7562
7563 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
7564
e14304ef
ILT
75652011-11-09 Ian Lance Taylor <iant@google.com>
7566
7567 * generic-morestack.c: Include <string.h>.
7568 (uintptr_type): Define.
7569 (struct initial_sp): Add dont_block_signals field. Reduce size of
7570 extra array by 1.
7571 (allocate_segment): Set prev field to NULL. Don't set
7572 __morestack_current_segment or __morestack_segments.
7573 (__generic_morestack): Update current->prev and *pp after calling
7574 allocate_segment.
7575 (__morestack_block_signals): Don't do anything if
7576 dont_block_signals is set.
7577 (__morestack_unblock_signals): Likewise.
7578 (__generic_findstack): Check for initial_sp == NULL. Add casts to
7579 uintptr_type.
7580 (__splitstack_block_signals): New function.
7581 (enum __splitstack_content_offsets): Define.
7582 (__splitstack_getcontext, __splitstack_setcontext): New functions.
7583 (__splitstack_makecontext): New function.
7584 (__splitstack_block_signals_context): New function.
7585 (__splitstack_find_context): New function.
7586 * config/i386/morestack.S (__morestack_get_guard): New function.
7587 (__morestack_set_guard, __morestack_make_guard): New functions.
7588 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
7589
e3d871e4
RO
75902011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7591
7592 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
7593 (i[34567]86-*-mingw*): ... here.
7594 (x86_64-*-mingw*): ... here.
7595
e55cef40
RO
75962011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7597
7598 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
7599
5366b186
NS
76002011-11-07 Nathan Sidwell <nathan@acm.org>
7601
7602 * libgcov.c (struct gcov_fn_buffer): New struct.
7603 (buffer_fn_data): New helper.
7604 (gcov_exit): Rework for new gcov data structures.
7605
74155a6f
GJL
76062011-11-07 Georg-Johann Lay <avr@gjlay.de>
7607
7608 PR target/49313
7609 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
7610
200feb07
RO
76112011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7612
7613 * config.host (tmake_file): Correct comment.
7614 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
7615 t-libgcc-pic.
7616 (bfin*-uclinux*): Likewise.
7617 (bfin*-linux-uclibc*): Likewise.
7618 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
7619
7620 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
7621 assigning.
7622 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7623 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
7624 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7625 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
7626 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7627 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
7628 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
7629 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7630 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
7631 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
7632 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
7633 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
7634 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
7635
7636 * config/bfin/t-elf: Remove.
7637 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
7638
c9cd1a07
RO
76392011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7640
7641 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
7642 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
7643 (lm32-*-elf*, lm32-*-rtems*): Split into ...
7644 (lm32-*-elf*): ... this.
7645 (lm32-*-rtems*): ... and this.
7646 Add to tmake_file.
7647 (m32r-*-rtems*): Add to tmake_file.
7648 (moxie-*-rtems*): Likewise.
7649 (sparc-*-rtems*): Likewise.
7650 Remove t-rtems from tmake_file.
7651 (sparc64-*-rtems*): Likewise.
7652 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
7653 instead.
7654
9fbcc75d
RO
76552011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7656
7657 PR bootstrap/50982
7658 * config/gthr-posix.h: Move ...
7659 * gthr-posix.h: ... here.
7660 * config/gthr-lynx.h: Reflect this.
7661 * config/gthr-vxworks.h: Likewise.
7662 * config/rs6000/gthr-aix.h: Likewise.
7663 * configure.ac (target_thread_file): Likewise.
7664 * configure: Regenerate.
7665
76644b68
SH
76662011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
7667
7668 * config.host (arm*-*-rtemseabi*): New target.
7669
5e490f2a
JDA
76702011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
7671
7672 PR other/50991
7673 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
7674 extra-parts.
7675
feeeff5c
JR
76762011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
7677
7678 * config.host (epiphany-*-elf*): New configuration.
7679 * config/epiphany: New Directory.
7680
d618bb2c
RC
76812011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
7682
7683 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
7684 * config/avr/t-rtems: New.
7685 Filter out _exit from LIB1ASMFUNCS.
7686
1bb6f778
DM
76872011-11-04 David S. Miller <davem@davemloft.net>
7688
7689 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
7690 * configure: Rebuild.
7691
9a7f7422
AK
76922011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7693
7694 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
7695 variable.
7696
e4fe948a
GJL
76972011-11-04 Georg-Johann Lay <avr@gjlay.de>
7698
7699 PR target/50931
7700 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
7701 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
7702
7084e037
JS
77032011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
7704
7705 PR target/50989
7706 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
7707
1a032034
RO
77082011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7709
7710 * config/c6x/t-elf (LIB2ADDEH): Set.
7711 * config/c6x/t-c6x-elf: Remove.
7712
d385f772
RO
77132011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7714
7715 * config/i386/sol2-ci.S: Rename to ...
7716 * config/i386/crti.S: ... this.
7717 * config/i386/sol2-cn.S: Rename to ...
7718 * config/i386/crtn.S: ... this.
7719 * config/sparc/sol2-ci.S: Rename to ...
7720 * config/sparc/crti.S: ... this.
7721 * config/sparc/sol2-cn.S: Rename to ...
7722 * config/sparc/crtn.S: ... this.
7723 * config/t-sol2 (CUSTOM_CRTIN): Remove.
7724 (crti.o, crtn.o): Remove.
7725
1ba878a9
TG
77262011-11-04 Tristan Gingold <gingold@adacore.com>
7727
7728 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
7729
02750c15
KK
77302011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
7731
7732 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
7733
bf86b067
HPN
77342011-11-03 Hans-Peter Nilsson <hp@axis.com>
7735
7736 * config.host (crisv32-*-none, cris-*-none): Remove.
7737 (crisv32-*-elf): Append to tmake_file, don't just set it.
7738 (cris-*-elf): Add missing t-fdpbit to tmake_file.
7739
d0bc53bd
RO
77402011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7741
7742 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
7743 (ecrtn$(objext)): Likewise.
7744 (ncrti$(objext)): Likewise.
7745 (ncrtn$(objext)): Likewise.
7746
036da830
AS
77472011-11-03 Andreas Schwab <schwab@redhat.com>
7748
7749 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
7750
d2a7d041
DM
77512011-11-02 David S. Miller <davem@davemloft.net>
7752
7753 * configure.ac: Set host_address on sparc too.
7754 * configure: Regenerate.
7755 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
7756 based upon host_address.
7757 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
7758
af8ed618
JM
77592011-11-02 Jason Merrill <jason@redhat.com>
7760
7761 * config/rs6000/t-ppccomm: Add missing \.
7762
5d1c8e77
RO
77632011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7764
7765 * gthr-single.h, gthr.h: New files.
7766 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
7767 config/gthr-vxworks.h, config/i386/gthr-win32.h,
7768 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
7769 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
7770 * config/i386/gthr-win32.c: Include "gthr-win32.h".
7771 * configure.ac (thread_header): New variable.
7772 Set it depending on target_thread_file.
7773 (gthr-default.h): Link from $thread_header.
7774 * configure: Regenerate.
7775 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
7776
852b75ed
RO
77772011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7778
7779 * configure.ac (tm_file_): New variable.
7780 Determine from tm_file.
7781 (tm_file, tm_defines): Substitute.
7782 * configure: Regenerate.
7783 * mkheader.sh: New file.
7784 * Makefile.in (clean): Remove libgcc_tm.h.
7785 ($(objects)): Depend on libgcc_tm.h.
7786 (libgcc_tm_defines, libgcc_tm_file): New variables.
7787 (libgcc_tm.h, libgcc_tm.stamp): New targets.
7788 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
7789 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
7790 ($(extra-parts)): Depend on libgcc_tm.h.
7791 * config.host (tm_defines, tm_file): New variable.
7792 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
7793 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
7794 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
7795 (avr-*-rtems*): Likewise.
7796 (avr-*-*): Likewise.
7797 (frv-*-elf): Likewise.
7798 (frv-*-*linux*): Likewise.
7799 (h8300-*-rtems*): Likewise.
7800 (h8300-*-elf*): Likewise.
7801 (i[34567]86-*-darwin*): Likewise.
7802 (x86_64-*-darwin*): Likewise.
7803 (rx-*-elf): Likewise.
7804 (tic6x-*-uclinux): Likewise.
7805 (tic6x-*-elf): Likewise.
7806 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
7807 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
7808 * config/i386/cygming-crtbegin.c: Likewise.
7809 * config/i386/cygming-crtend.c: Likewise.
7810 * config/ia64/fde-vms.c: Likewise.
7811 * config/ia64/unwind-ia64.c: Likewise.
7812 * config/libbid/bid_gcc_intrinsics.h: Likewise.
7813 * config/rs6000/darwin-fallback.c: Likewise.
7814 * config/stormy16/lib2funcs.c: Likewise.
7815 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
7816 * crtstuff.c: Likewise.
7817 * dfp-bit.h: Likewise.
7818 * emutls.c: Likewise.
7819 * fixed-bit.c: Likewise.
7820 * fp-bit.c: Likewise.
7821 * generic-morestack-thread.c: Likewise.
7822 * generic-morestack.c: Likewise.
7823 * libgcc2.c: Likewise.
7824 * libgcov.c: Likewise.
7825 * unwind-dw2-fde-dip.c: Likewise.
7826 * unwind-dw2-fde.c: Likewise.
7827 * unwind-dw2.c: Likewise.
7828 * unwind-sjlj.c: Likewise.
7829
f9989b51
RO
78302011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7831
7832 * configure.ac: Include ../config/picflag.m4.
7833 (GCC_PICFLAG): Call it.
7834 Substitute.
7835 * configure: Regenerate.
7836 * Makefile.in (gcc_srcdir): Remove.
7837 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
7838 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
7839 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
7840 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
7841 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
7842 Use $<.
7843 Remove comment.
7844 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
7845 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
7846 to refer to libgcc2.c.
7847 Use $<.
7848 * config/darwin-64.c: New file.
7849 * config/darwin-crt3.c: Remove comment.
7850 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
7851 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
7852 config/udivmodsi4.c: New files.
7853 * config/memcmp.c, config/memcpy.c, config/memmove.c,
7854 config/memset.c: New files.
7855 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
7856 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
7857 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
7858 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
7859 * config/t-openbsd-thread: New file.
7860 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
7861 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
7862 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
7863 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
7864 qrnnd.S.
7865 Adapt filename.
7866 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
7867 to refer to gthr-posix.c.
7868 * config/alpha/t-vms (LIB2ADD): Set.
7869 * config/alpha/vms-gcc_shell_handler.c: New file.
7870 * config/arm/bpabi.c, config/arm/fp16.c,
7871 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
7872 config/arm/unaligned-funcs.c: New files.
7873 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
7874 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
7875 * config/arm/t-linux: Likewise.
7876 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
7877 * config/arm/t-netbsd: New file.
7878 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
7879 * config/arm/t-symbian (LIB2ADD_ST): Set.
7880 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
7881 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7882 * config/bfin/t-elf: New file.
7883 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
7884 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
7885 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
7886 config/c6x/ltf.c: New files.
7887 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
7888 (HOST_LIBGCC2_CFLAGS): Set.
7889 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
7890 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7891 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
7892 New files.
7893 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
7894 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
7895 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
7896 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
7897 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
7898 files.
7899 * config/frv/t-frv (LIB2ADD): Set.
7900 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7901 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
7902 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
7903 config/h8300/popcounthi2.c: New files.
7904 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
7905 * config/i386/gthr-win32.c: New file.
7906 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
7907 * config/i386/t-cygwin: Likewise.
7908 * config/i386/t-darwin, config/i386/t-darwin64,
7909 config/i386/t-gthr-win32, config/i386/t-interix: New files.
7910 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
7911 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7912 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7913 * config/ia64/quadlib.c: New file.
7914 * config/ia64/t-hpux (LIB2ADD): Set.
7915 * config/ia64/t-ia64: Add comment.
7916 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
7917 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7918 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
7919 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
7920 * config/m32c/t-m32c (LIB2ADD): Set.
7921 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
7922 * config/m32r/t-m32r: Likewise.
7923 * config/m68k/fpgnulib.c: New file.
7924 * config/m68k/t-floatlib (LIB2ADD): Set.
7925 (xfgnulib.c): New target.
7926 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
7927 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
7928 * config/mep/t-mep (LIB2ADD): Set.
7929 * config/microblaze/divsi3.asm: Rename to divsi3.S.
7930 * config/microblaze/moddi3.asm: Rename to moddi3.S.
7931 * config/microblaze/modsi3.asm: Rename to modsi3.S.
7932 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
7933 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
7934 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
7935 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
7936 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
7937 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
7938 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
7939 New files.
7940 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
7941 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
7942 * config/pa/fptr.c, config/pa/lib2funcs.S,
7943 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
7944 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
7945 (LIB2ADD, LIB2ADD_ST): Set.
7946 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
7947 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
7948 Set.
7949 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
7950 * config/pdp11/t-pdp11: New file.
7951 * config/picochip/libgccExtras/adddi3.S,
7952 config/picochip/libgccExtras/ashlsi3.S,
7953 config/picochip/libgccExtras/ashrsi3.S,
7954 config/picochip/libgccExtras/clzsi2.S,
7955 config/picochip/libgccExtras/cmpsi2.S,
7956 config/picochip/libgccExtras/divmod15.S,
7957 config/picochip/libgccExtras/divmodhi4.S,
7958 config/picochip/libgccExtras/divmodsi4.S,
7959 config/picochip/libgccExtras/lshrsi3.S,
7960 config/picochip/libgccExtras/parityhi2.S,
7961 config/picochip/libgccExtras/popcounthi2.S,
7962 config/picochip/libgccExtras/subdi3.S,
7963 config/picochip/libgccExtras/ucmpsi2.S,
7964 config/picochip/libgccExtras/udivmodhi4.S,
7965 config/picochip/libgccExtras/udivmodsi4.S: New files.
7966 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
7967 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
7968 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
7969 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
7970 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
7971 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
7972 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
7973 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
7974 files.
7975 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
7976 (HOST_LIBGCC2_CFLAGS): Set.
7977 * config/rs6000/t-darwin64: New file.
7978 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
7979 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
7980 * config/rs6000/t-ppccomm (LIB2ADD): Add
7981 $(srcdir)/config/rs6000/tramp.S.
7982 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
7983 Add $(srcdir)/config/rs6000/eabi.S.
7984 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
7985 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
7986 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
7987 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
7988 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
7989 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
7990 * config/rs6000/tramp.S: New file.
7991 * config/s390/t-tpf: Remove.
7992 * config/sh/linux-atomic.S: New file.
7993 * config/sh/t-linux (LIB2ADD): Set.
7994 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
7995 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
7996 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
7997 to unwind-dw2.c.
7998 (HOST_LIBGCC2_CFLAGS): Set.
7999 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8000 * config/spu/divmodti4.c, config/spu/divv2df3.c,
8001 config/spu/float_disf.c, config/spu/float_unsdidf.c,
8002 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
8003 config/spu/mfc_multi_tag_release.c,
8004 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
8005 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
8006 config/spu/multi3.c: New files.
8007 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
8008 (HOST_LIBGCC2_CFLAGS): Set.
8009 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
8010 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
8011 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
8012 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
8013 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
8014 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
8015 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
8016 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
8017 config/stormy16/umodsi3.c: New files.
8018 * config/xtensa/lib2funcs.S: New file.
8019 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
8020 * config/xtensa/t-xtensa (LIB2ADD): Set.
8021 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
8022 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
8023 Add t-freebsd-thread to tmake_file for posix threads.
8024 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
8025 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
8026 (*-*-lynxos*): Likewise.
8027 (*-*-netbsd*): Likewise.
8028 (*-*-openbsd*): Likewise.
8029 Add t-openbsd-thread to tmake_file for posix threads.
8030 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
8031 (*-*-vxworks*): Set tmake_file.
8032 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
8033 (alpha*-*-freebsd*): Likewise.
8034 (alpha*-*-netbsd*): Likewise.
8035 (alpha*-*-openbsd*): Likewise.
8036 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
8037 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
8038 (alpha*-dec-*vms*): Likewise.
8039 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
8040 (bfin*-elf*): Add bfin/t-elf to tmake_file.
8041 (bfin*-uclinux*): Likewise.
8042 (bfin*-linux-uclibc*): Likewise.
8043 (crisv32-*-elf): Add cris/t-cris to tmake_file.
8044 (crisv32-*-none): Likewise.
8045 (cris-*-elf): Likewise.
8046 (cris-*-none): Likewise.
8047 (cris-*-linux*, crisv32-*-linux*): Likewise.
8048 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
8049 tmake_file.
8050 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
8051 tmake_file.
8052 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
8053 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
8054 (x86_64-*-elf*): Likewise.
8055 (i[34567]86-*-nto-qnx*): Likewise.
8056 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
8057 win32 threads.
8058 (x86_64-*-mingw*): Likewise.
8059 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
8060 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
8061 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
8062 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
8063 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
8064 tmake_file.
8065 (mipsisa64sr71k-*-elf*): Likewise.
8066 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
8067 (mips-*-elf*, mipsel-*-elf*): Likewise.
8068 (mips64-*-elf*, mips64el-*-elf*): Likewise.
8069 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
8070 (mips*-*-rtems*): Likewise.
8071 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
8072 to tmake_file.
8073 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
8074 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
8075 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
8076 (spu-*-elf*): Likewise.
8077 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
8078
45b86625
RO
80792011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8080
8081 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
8082 $(srcdir) to refer to $(LIB1ASMSRC).
8083 Use $<.
8084 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
8085 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
8086 config/arm/lib1funcs.S: New files.
8087 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
8088 * config/arm/t-arm: New file.
8089 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
8090 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
8091 config/arm/t-strongarm-elf: New files.
8092 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
8093 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
8094 * config/avr/lib1funcs.S: New file.
8095 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8096 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
8097 * config/c6x/lib1funcs.S: New file.
8098 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8099 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
8100 * config/frv/lib1funcs.S: New file.
8101 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8102 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
8103 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
8104 * config/ia64/__divxf3.asm: Rename to ...
8105 * config/ia64/__divxf3.S: ... this.
8106 Adapt lib1funcs.asm filename.
8107 * config/ia64/_fixtfdi.asm: Rename to ...
8108 * config/ia64/_fixtfdi.S: ... this.
8109 Adapt lib1funcs.asm filename.
8110 * config/ia64/_fixunstfdi.asm: Rename to ...
8111 * config/ia64/_fixunstfdi.S: ... this.
8112 Adapt lib1funcs.asm filename.
8113 * config/ia64/_floatditf.asm: Rename to ...
8114 * config/ia64/_floatditf.S: ... this.
8115 Adapt lib1funcs.asm filename.
8116 * config/ia64/lib1funcs.S: New file.
8117 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
8118 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8119 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
8120 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
8121 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
8122 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
8123 * config/mep/lib1funcs.S: New file.
8124 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8125 * config/mips/mips16.S: New file.
8126 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8127 * config/pa/milli64.S: New file.
8128 * config/pa/t-linux, config/pa/t-linux64: New files.
8129 * config/picochip/lib1funcs.S: New file.
8130 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8131 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
8132 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
8133 * config/sh/t-netbsd: New file.
8134 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
8135 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
8136 * config/sh/t-sh64: New file.
8137 * config/sparc/lb1spc.S: New file.
8138 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
8139 filename.
8140 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
8141 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
8142 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
8143 config/xtensa/lib1funcs.S: New files.
8144 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8145 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
8146 tmake_file.
8147 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
8148 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
8149 (arm*-*-linux*): Likewise.
8150 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
8151 arm*-*-linux-*eabi, add arm/t-linux otherwise.
8152 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
8153 (arm*-*-ecos-elf): Likewise.
8154 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
8155 (arm*-*-rtems*): Likewise.
8156 (arm*-*-elf): Likewise.
8157 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
8158 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
8159 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
8160 (bfin*-uclinux*): Likewise.
8161 (bfin*-linux-uclibc*): Likewise.
8162 (bfin*-rtems*): Likewise.
8163 (bfin*-*): Likewise.
8164 (fido-*-elf): Merge into m68k-*-elf*.
8165 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
8166 (frv-*-*linux*): Add frv/t-frv to tmake_file.
8167 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
8168 (h8300-*-elf*): Likewise.
8169 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
8170 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
8171 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
8172 (i[34567]86-*-mingw*): Likewise.
8173 (x86_64-*-mingw*): Likewise.
8174 (i[34567]86-*-interix3*): Likewise.
8175 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
8176 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
8177 (m68k-*-elf*): Also handle fido-*-elf.
8178 Add m68k/t-floatlib to tmake_file.
8179 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
8180 (m68k-*-linux*): Likewise.
8181 (m68k-*-rtems*): Likewise.
8182 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
8183 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
8184 sh64*-*-*.
8185 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
8186 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
8187 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
8188 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
8189 sh/t-netbsd to tmake_file.
8190 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
8191 (sh-*-rtems*): Add sh/t-sh to tmake_file.
8192 (sh-wrs-vxworks): Likewise.
8193 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
8194 *-leon[3-9]*.
8195 (v850*-*-*): Add v850/t-v850 to tmake_file.
8196 (vax-*-linux*): Add vax/t-linux to tmake_file.
8197 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
8198
5f73c6cc
RO
81992011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8200
8201 * crtstuff.c: New file.
8202 * Makefile.in (CRTSTUFF_CFLAGS): Define.
8203 (CRTSTUFF_T_CFLAGS): Define.
8204 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
8205 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
8206 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
8207 crtstuff.c.
8208 Use $<.
8209 (crtbeginT.o): Use $(objext).
8210 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
8211 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
8212 (gcc-extra-parts): Remove.
8213 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
8214 Set extra_parts.
8215 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
8216 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
8217 Add t-crtstuff-pic to tmake_file.
8218 (*-*-lynxos*): New case.
8219 Set tmake_file, extra_parts.
8220 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
8221 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
8222 *-*-netbsdelf[2-9]*.
8223 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
8224 (*-*-rtems*): Set extra_parts.
8225 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
8226 (*-*-uclinux*): New case.
8227 Set extra_parts.
8228 (*-*-vms*): New case.
8229 Set tmake_file, extra_parts.
8230 (*-*-elf): Set extra_parts.
8231 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
8232 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
8233 vms/t-vms64.
8234 Set extra_parts.
8235 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
8236 Set extra_parts.
8237 (arm*-*-freebsd*): Add t-crtin to tmake_file.
8238 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
8239 (arm-wrs-vxworks): Append to tmake_file.
8240 Set extra_parts.
8241 (arm*-*-uclinux*): Set extra_parts.
8242 (arm*-*-ecos-elf): Likewise.
8243 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
8244 arm*-*-eabi*.
8245 (arm*-*-rtems*): Set extra_parts.
8246 (arm*-*-elf): Likewise.
8247 (avr-*-rtems*): Clear extra_parts.
8248 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
8249 Set extra_parts.
8250 (bfin*-uclinux*): Likewise.
8251 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
8252 (bfin*-rtems*): Append to tmake_file.
8253 Set extra_parts.
8254 (bfin*-*): Likewise.
8255 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
8256 (crisv32-*-elf): ... this.
8257 (crisv32-*-none): ... this.
8258 (cris-*-elf, cris-*-none): New cases.
8259 Add cris/t-elfmulti to tmake_file.
8260 (fr30-*-elf): Append to tmake_file.
8261 Set extra_parts.
8262 (frv-*-elf): Append to tmake_file, add frv/t-frv.
8263 Set extra_parts.
8264 (h8300-*-rtems*): Append to tmake_file.
8265 Set extra_parts.
8266 (h8300-*-elf*): Likewise.
8267 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
8268 Set extra_parts.
8269 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
8270 Set extra_parts.
8271 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
8272 (x86_64-*-elf*): Likewise.
8273 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
8274 (x86_64-*-freebsd*): Likewise.
8275 (x86_64-*-netbsd*): Likewise.
8276 (i[34567]86-*-linux*): Likewise.
8277 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
8278 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
8279 (x86_64-*-linux*): Likewise.
8280 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
8281 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
8282 tmake_file.
8283 Set extra_parts.
8284 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
8285 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
8286 Append to extra_parts, remove crtbegin.o, crtend.o.
8287 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
8288 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
8289 crtend.o, crtbeginS.o, crtendS.o.
8290 (ia64*-*-linux*): Comment extra_parts.
8291 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
8292 Set extra_parts.
8293 (iq2000*-*-elf*): Clear extra_parts.
8294 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
8295 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
8296 (m32r-*-elf*, m32r-*-rtems*): Split off ...
8297 (m32r-*-rtems*): ... this.
8298 Add m32r/t-m32r to tmake_file.
8299 (m68k-*-elf*): Add t-crtin to tmake_file.
8300 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
8301 (mcore-*-elf): Likewise.
8302 (microblaze*-*-*): Set extra_parts.
8303 (mips*-sde-elf*): New case.
8304 Set tmake_file, extra_parts.
8305 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
8306 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
8307 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
8308 tmake_file.
8309 Set extra_parts.
8310 (mipsisa64sr71k-*-elf*): Likewise.
8311 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
8312 (mips-*-elf*, mipsel-*-elf*): Likewise.
8313 (mips64-*-elf*, mips64el-*-elf*): Likewise.
8314 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
8315 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
8316 (mips*-*-rtems*): Likewise.
8317 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
8318 (moxie-*-*): Split into ...
8319 (moxie-*-elf, moxie-*-uclinux*): ... this.
8320 Add to extra_parts, remove crtbegin.o, crtend.o.
8321 (moxie-*-rtems*): New case.
8322 Set tmake_file.
8323 Clear extra_parts.
8324 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
8325 Set extra_parts.
8326 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
8327 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
8328 tmake_file.
8329 Set extra_parts.
8330 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
8331 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
8332 Set extra_parts.
8333 (powerpc-*-eabisim*): Likewise.
8334 (powerpc-*-elf*): Likewise.
8335 (powerpc-*-eabialtivec*): Likewise.
8336 (powerpc-xilinx-eabi*): Likewise.
8337 (powerpc-*-eabi*): Likewise.
8338 (powerpc-*-rtems*): Likewise.
8339 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
8340 tmake_file.
8341 Set extra_parts.
8342 (powerpc-*-lynxos*): Add to tmake_file.
8343 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
8344 rs6000/t-crtstuff, t-crtstuff-pic.
8345 Set extra_parts.
8346 (powerpcle-*-eabisim*): Likewise.
8347 (powerpcle-*-eabi*): Likewise.
8348 (rx-*-elf): Remove extra_parts.
8349 (s390x-ibm-tpf*): Set extra_parts.
8350 (score-*-elf): Set extra_parts.
8351 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
8352 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
8353 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
8354 (sh64l*-*-netbsd*): Split into ...
8355 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
8356 Add t-crtstuff-pic to tmake_file.
8357 Set extra_parts.
8358 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
8359 Set extra_parts.
8360 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
8361 (sparc-*-elf*): Remove t-crtin from tmake_file.
8362 Add to extra_parts, remove crtbegin.o, crtend.o.
8363 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
8364 (sparc64-*-linux*): Likewise.
8365 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
8366 Add to extra_parts, remove crtbegin.o, crtend.o.
8367 (sparc64-*-elf*): Remove t-crtin from tmake_file.
8368 Add to extra_parts, remove crtbegin.o, crtend.o.
8369 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
8370 Add to extra_parts, remove crtbegin.o, crtend.o.
8371 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
8372 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
8373 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
8374 Set extra_parts.
8375 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
8376 Set extra_parts.
8377 (tic6x-*-*): Change to ...
8378 (tic6x-*-elf): ... this.
8379 Set extra_parts.
8380 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
8381 Set extra_parts.
8382 (am33_2.0-*-linux*): Add comment.
8383 (mep*-*-*): Add mep/t-mep to tmake_file.
8384 Set extra_parts.
8385 * config/alpha/t-vms: New file.
8386 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
8387 * config/arm/crti.S, config/arm/crtn.S: New files.
8388 * config/bfin/crti.S, config/bfin/crtn.S: New files.
8389 * config/bfin/crtlibid.S: New file.
8390 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
8391 * config/c6x/crti.S, config/c6x/crtn.S: New files.
8392 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
8393 (crti.o, crtin.o): New rules.
8394 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
8395 * config/c6x/t-uclinux: New file.
8396 * config/cris/t-elfmulti: New file.
8397 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
8398 * config/fr30/crti.S, config/fr30/crtn.S: New files.
8399 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
8400 * config/frv/t-frv: New file.
8401 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
8402 * config/h8300/crti.S, config/h8300/crtn.S: New files.
8403 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
8404 New files.
8405 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
8406 refer to cygming-crtbegin.c, cygming-crtend.c.
8407 Use $<.
8408 * config/i386/t-nto: New file.
8409 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
8410 * config/ia64/crti.S, config/ia64/crtn.S: New files.
8411 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
8412 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
8413 Use .S extension.
8414 Use $<.
8415 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
8416 (crtinitS.o): New rule.
8417 * config/ia64/vms-crtinit.S: New file.
8418 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
8419 * config/m32r/initfini.c: New file.
8420 * config/m32r/t-linux, config/m32r/t-m32r: New files.
8421 * config/m68k/crti.S, config/m68k/crtn.S: New files.
8422 * config/mcore/crti.S, config/mcore/crtn.S: New files.
8423 * config/mep/t-mep: New file.
8424 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
8425 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
8426 * config/mips/crti.S, config/mips/crtn.S: New files.
8427 * config/mips/t-crtstuff: New file.
8428 * config/mmix/crti.S, config/mmix/crtn.S: New files.
8429 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
8430 (CUSTOM_CRTIN): Set.
8431 ($(T)crti.o, $(T)crtn.o): Remove $(T),
8432 dependencies.
8433 Use $(srcdir) to refer to crti.S, crtn.S.
8434 Use .S extension, $<.
8435 * config/moxie/crti.asm: Rename to ...
8436 * config/moxie/crti.S: ... this.
8437 * config/moxie/crtn.asm: Rename to ...
8438 * config/moxie/crtn.S: ... this.
8439 * config/moxie/t-moxie: Remove.
8440 * config/pa/stublib.c: New file.
8441 * config/pa/t-stublib, config/pa/t-stublib64: New files.
8442 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
8443 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
8444 * config/rs6000/t-crtstuff: New file.
8445 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
8446 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
8447 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
8448 Make output file explicit.
8449 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
8450 Make output file explicit.
8451 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
8452 Make output file explicit.
8453 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
8454 Make output file explicit.
8455 * config/score/crti.S, config/score/crtn.S: New files.
8456 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
8457 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
8458 files.
8459 * config/sh/t-sh, config/sh/t-superh: New files.
8460 * config/sparc/t-linux64: New file.
8461 * config/spu/cache.S, config/spu/cachemgr.c: New files.
8462 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
8463 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
8464 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
8465 * config/t-crtin: Remove.
8466 * config/t-crtstuff-pic: New file.
8467 * config/t-sol2 (CUSTOM_CRTIN): Set.
8468 (crti.o, crtn.o): New rules.
8469 * config/vms/t-vms: New file.
8470 * config/vms/vms-ucrt0.c: New file.
8471 * config/xtensa/t-elf: New file.
8472
b040f2be
RO
84732011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8474
8475 * Makefile.in (SHLIB_NM_FLAGS): Set.
8476 * mkmap-flat.awk, mkmap-symver.awk: New files.
8477 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
8478 exceptions.
8479 * configure: Regenerate.
8480 * config/libgcc-glibc.ver: New file.
8481 * config/libgcc-libsystem.ver: New file.
8482 * config/t-libunwind (SHLIB_LC): Set.
8483 * config/t-linux: New file.
8484 * config/t-slibgcc (INSTALL_SHLIB): New.
8485 (SHLIB_INSTALL): Use it.
8486 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
8487 to mkmap-symver.awk.
8488 (SHLIB_MAPFILES): Don't append, adapt pathname.
8489 (SHLIB_VERPFX): Set.
8490 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
8491 to mkmap-symver.awk.
8492 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
8493 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
8494 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
8495 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
8496 to mkmap-flat.awk.
8497 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
8498 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
8499 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
8500 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
8501 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
8502 * config/i386/libgcc-darwin.10.4.ver,
8503 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
8504 New files.
8505 * config/i386/t-darwin: Remove.
8506 * config/i386/t-darwin64: Likewise.
8507 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
8508 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
8509 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
8510 * config/i386/t-linux: New file.
8511 * config/i386/t-mingw32: New file.
8512 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
8513 * config/ia64/t-glibc: Rename to ...
8514 * config/ia64/t-linux: ... this.
8515 (SHLIB_MAPFILES): Set.
8516 * config/ia64/t-glibc-libunwind: Rename to ...
8517 * config/ia64/t-linux-libunwind: ... this.
8518 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
8519 * config/ia64/t-slibgcc-hpux: New file.
8520 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
8521 * config/m68k/t-slibgcc-elf-ver: New file.
8522 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
8523 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
8524 to mkmap-flat.awk.
8525 * config/pa/t-slibgcc-hpux: New file.
8526 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
8527 files.
8528 * config/rs6000/libgcc-darwin.10.4.ver,
8529 config/rs6000/libgcc-darwin.10.5.ver: New files.
8530 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
8531 config/rs6000/libgcc-glibc.ver.
8532 * config/rs6000/libgcc-ppc64.ver: Rename to
8533 config/rs6000/libgcc-ibm-ldouble.ver.
8534 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
8535 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
8536 * config/rs6000/t-ldbl128: Rename to ...
8537 * config/rs6000/t-linux: ... this.
8538 (SHLIB_MAPFILES): Adapt filename.
8539 * config/rs6000/t-slibgcc-aix: New file.
8540 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
8541 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
8542 libgcc-excl.ver, libgcc-glibc.ver.
8543 (SHLIB_LINK, SHLIB_INSTALL): Remove.
8544 * config/sparc/libgcc-glibc.ver: New file.
8545 * config/sparc/t-linux: New file.
8546 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
8547 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
8548 t-slibgcc-elf-ver to tmake_file.
8549 Add t-slibgcc-nolc-override to tmake_file for posix threads on
8550 *-*-freebsd[34].
8551 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
8552 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
8553 t-slibgcc-elf-ver, t-linux to tmake_file.
8554 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
8555 tmake_file.
8556 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
8557 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
8558 (alpha*-dec-*vms*): Likewise.
8559 (arm*-*-freebsd*): Append to tmake_file.
8560 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
8561 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
8562 arm*-*-linux-*eabi.
8563 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
8564 tmake_file for arm*-*-symbianelf*.
8565 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
8566 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
8567 cris/t-linux.
8568 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
8569 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
8570 pa/t-slibgcc-dwarf-ver to tmake_file.
8571 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
8572 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
8573 (hppa*64*-*-hpux11*): Likewise.
8574 (hppa[12]*-*-hpux11*): Likewise.
8575 (x86_64-*-darwin*): Don't override tmake_file, but only keep
8576 i386/t-crtpc, i386/t-crtfm.
8577 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
8578 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
8579 to tmake_file.
8580 Add i386/t-cygwin to tmake_file.
8581 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
8582 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
8583 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
8584 to tmake_file.
8585 Add i386/t-mingw32 to tmake_file.
8586 (x86_64-*-mingw*): Likewise.
8587 (ia64*-*-freebsd*): Append to tmake_file.
8588 (ia64*-*-linux*): Append to tmake_file.
8589 Replace ia64/t-glibc by ia64/t-linux.
8590 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
8591 system libunwind.
8592 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
8593 t-slibgcc-hpux to tmake_file.
8594 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
8595 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
8596 (m32rle-*-linux*): Likewise.
8597 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
8598 sjlj exceptions.
8599 (microblaze*-linux*): New case.
8600 Append to tmake_file, add t-slibgcc-nolc-override.
8601 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
8602 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
8603 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
8604 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
8605 rs6000/t-slibgcc-aix to tmake_file.
8606 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8607 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8608 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
8609 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
8610 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
8611 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
8612 sh*-*-linux*.
8613 (sparc-*-linux*): Append to tmake_file for *-leon*.
8614 Add sparc/t-linux to tmake_file for non-Leon targets.
8615 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
8616 (tic6x-*-uclinux): New case.
8617 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
8618 (tic6x-*-*): Add c6x/t-elf to tmake_file.
8619 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
8620 (am33_2.0-*-linux*): Append to tmake_file.
8621 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
8622 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
8623 x86_64-*-kfreebsd*-gnu.
8624 Add i386/t-linux to tmake_file.
8625
18b4bd7b
ILT
86262011-10-28 Ian Lance Taylor <iant@google.com>
8627
8628 * config/i386/morestack.S: Correct CFI information to do proper
8629 returns throughout function. In 32-bit mode, save %ebx so that it
8630 is restored on unwind.
8631
5b2d9d90
BS
86322011-10-25 Bernd Schmidt <bernds@codesourcery.com>
8633
8634 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
8635 case where B3 isn't the return register.
8636
0d53e346
BS
8637 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
8638 logic for doubleword pops.
8639
cbffbd59
AT
86402011-10-25 Andreas Tobler <andreast@fgznet.ch>
8641
8642 * config/rs6000/t-freebsd: Add wildcard.
8643
56dc349e
PB
86442011-10-21 Paul Brook <paul@codesourcery.com>
8645
8646 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
8647
1e06b07d
UB
86482011-10-16 Uros Bizjak <ubizjak@gmail.com>
8649 Eric Botcazou <ebotcazou@adacore.com>
8650
8651 PR target/50737
8652 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
8653 fs->signal_frame to 1.
8654
b5204884
ILT
86552011-10-07 Ian Lance Taylor <iant@google.com>
8656
8657 * generic-morestack-thread.c: #include <errno.h>.
8658
91a639a1
ILT
86592011-10-07 Ian Lance Taylor <iant@google.com>
8660
8661 PR target/46093
8662 * generic-morestack.c (__generic_morestack): Make sure the segment
8663 is large enough for both the stack frame and the copied
8664 parameters.
8665
cc49116d
RO
86662011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8667
8668 PR bootstrap/49804
8669 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
8670 extra_parts.
8671
2996d8c3
NC
86722011-09-28 Nick Clifton <nickc@redhat.com>
8673
8674 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
8675 64-bit doubles are not enabled.
8676 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
8677 and floatunsisf functions.
8678
1e874273 86792011-09-13 Paul Brook <paul@codesourcery.com>
2996d8c3 8680
1e874273
PB
8681 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
8682 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
8683 * unwind-arm-common.inc: New file.
8684 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
8685 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
8686 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
8687 * config/c6x/libunwind.S: New file.
8688 * config/c6x/pr-support.c: New file.
8689 * config/c6x/unwind-c6x.c: New file.
8690 * config/c6x/unwind-c6x.h: New file.
8691 * config/c6x/t-c6x-elf: New file.
8692
f70c879a
UB
86932011-08-23 Uros Bizjak <ubizjak@gmail.com>
8694
8695 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
8696 (ASM_DIVZERO): Ditto.
8697 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
8698
c55b374b
RS
86992011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
8700
8701 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
8702
1e138510
RS
87032011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
8704
8705 PR target/50090
8706 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
8707 instead of an assembly one.
8708
1563503d
PB
87092011-08-12 Paolo Bonzini <bonzini@gnu.org>
8710
8711 PR bootstrap/50047
8712 * Makefile.in (install-unwind_h): Create
8713 $(gcc_objdir)/include/unwind.h atomically.
8714
3627ac1a
RO
87152011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8716
8717 * Makefile.in (install-unwind_h): Remove destination file first.
8718
c6412d86
RO
87192011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8720
8721 * sync.c: New file.
8722 * config/mips/t-mips16: New file.
8723 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
8724 (mips*-*-linux*): Likewise.
8725 (mips*-sde-elf*): Likewise.
8726 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
8727 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
8728 Add mips/t-mips16 to tmake_file.
8729 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
8730 (mips-*-elf*): Likewise.
8731 (mips64-*-elf*): Likewise.
8732 (mips64orion-*-elf*): Likewise.
8733 (mips*-*-rtems*): Likewise.
8734 (mipstx39-*-elf*): Likewise.
8735 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
8736 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
8737 LIBGCC_SYNC_CFLAGS.
8738 Use $(srcdir) to refer to sync.c.
8739 Use $<.
8740 ($(libgcc-sync-funcs-o)): Likewise.
8741 ($(libgcc-sync-size-funcs-s-o)): Likewise.
8742 ($(libgcc-sync-funcs-s-o)): Likewise.
8743
3cb6e5bd
AS
87442011-08-09 Andreas Schwab <schwab@linux-m68k.org>
8745
8746 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
8747 t-libunwind.
8748
cca2207a
L
87492011-08-08 H.J. Lu <hongjiu.lu@intel.com>
8750
8751 PR other/48007
8752 * config/i386/value-unwind.h: New.
8753
ed39fbad
RS
87542011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
8755
8756 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
8757 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
8758 Add to tmake_file rather than overriding it.
8759
aca0b0b3
RO
87602011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8761
8762 * config/t-softfp: Remove.
8763 * soft-fp: Moved from ../gcc/config.
8764 * soft-fp/README: Remove t-softfp reference.
8765 * soft-fp/t-softfp: Move to config/t-softfp.
8766 (softfp_machine_header): Remove.
8767 (softfp_file_list): Remove config subdir.
8768 (soft-fp-objects): New variable.
8769 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
8770 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
8771 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
8772 * config/t-softfp-excl: New file.
8773 * config/t-softfp-sfdf: New file.
8774 * config/t-softfp-tf: New file.
8775 * config/no-sfp-machine.h: New file.
8776 * config/arm/sfp-machine.h: New file.
8777 * config/arm/t-softfp: New file.
8778 * config/c6x/sfp-machine.h: New file.
8779 * config/i386/32/t-fprules-softfp: Rename to ...
8780 * config/i386/32/t-softfp: ... this.
8781 (tifunctions, LIB2ADD): Remove.
8782 (softfp_int_modes): Override.
8783 * config/i386/64/t-softfp-compat (tf-functions): Remove config
8784 subdir.
8785 * config/i386/64/eqtf2.c: Likewise.
8786 * config/i386/64/getf2.c: Likewise.
8787 * config/i386/64/letf2.c: Likewise.
8788 * config/ia64/sft-machine.h: New file.
8789 * config/ia64/t-fprules-softfp: Rename to ...
8790 * config/ia64/t-softfp: ... this.
8791 * config/lm32/sfp-machine.h: New file.
8792 * config/moxie/t-moxie-softfp: Remove.
8793 * config/rs6000/ibm-ldouble-format: New file.
8794 * config/rs6000/ibm-ldouble.c: New file.
8795 * config/rs6000/libgcc-ppc-glibc.ver: New file
8796 * config/rs6000/libgcc-ppc64.ver: New file
8797 * config/rs6000/sfp-machine.h: New file.
8798 * config/rs6000/t-freebsd: New file.
8799 * config/rs6000/t-ibm-ldouble: New file.
8800 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
8801 libgcc-ppc-glibc.ver.
8802 * config/rs6000/t-linux64: New file.
8803 * config/rs6000/t-ppccomm (LIB2ADD): Add
8804 $(srcdir)/config/rs6000/ibm-ldouble.c.
8805 * config/rs6000/t-ppccomm-ldbl: New file.
8806 * config/score/sfp-machine.h: New file.
8807 * config.host (sfp_machine_header): Explain.
8808 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
8809 t-softfp to tmake_file.
8810 (arm*-*-uclinux*): Likewise.
8811 (arm*-*-ecos-elf): Likewise.
8812 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
8813 (arm*-*-rtems*): Likewise.
8814 (arm*-*-elf): Likewise.
8815 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
8816 in tmake_file.
8817 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
8818 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
8819 (lm32-*-uclinux*): Likewise.
8820 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
8821 t-softfp-excl, t-softfp.
8822 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
8823 (powerpc64-*-darwin*): Likewise.
8824 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
8825 to tmake_file.
8826 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
8827 tmake_file.
8828 (powerpc-*-eabisim*): Likewise.
8829 (powerpc-*-elf*): Likewise.
8830 (powerpc-*-eabialtivec*): Likewise.
8831 (powerpc-xilinx-eabi*): Likewise.
8832 (powerpc-*-rtems*): Likewise.
8833 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
8834 t-softfp-excl, t-softfp to tmake_file.
8835 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
8836 rs6000/t-ppccomm-ldbl to tmake_file.
8837 (powerpcle-*-elf*): Likewise.
8838 (powerpcle-*-eabisim*): Likewise.
8839 (powerpcle-*-eabi*): Likewise.
8840 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
8841 rs6000/t-ibm-ldouble to tmake_file.
8842 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8843 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8844 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
8845 (tic6x-*-*): Likewise.
8846 (i[34567]86-*-darwin*, x86_64-*-darwin*,
8847 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
8848 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
8849 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
8850 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
8851 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
8852 t-softfp to tmake_file.
8853 * configure.ac (sfp_machine_header): Provide default if unset.
8854 Substitute.
8855 Link sfp-machine.h to config/$sfp_machine_header.
8856 * configure: Regenerate.
8857
569dc494
RO
88582011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8859
8860 * Makefile.in (double_type_size, long_double_type_size): Set.
8861 Remove $(fpbit-in-libgcc) support.
8862 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
8863 (fpbit-src): New variable.
8864 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
8865 Compile with -DFLOAT $(FPBIT_CFLAGS).
8866 Use $<.
8867 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
8868 Compile with $(FPBIT_CFLAGS).
8869 Use $<.
8870 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
8871 Compile with -DFLOAT $(TPBIT_CFLAGS).
8872 Use $<.
8873 * configure.ac (double_type_size, long_double_type_size):
8874 Determine and substitute.
8875 * configure: Regenerate.
8876 * fp-bit.c, fp-bit.h: New files.
8877 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
8878 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
8879 * config/mips/t-mips: New file.
8880 * config/mips/t-sdemtk: New file.
8881 * config/rs6000/ppc64-fp.c: New file.
8882 * config/rs6000/t-darwin (LIB2ADD): Add
8883 $(srcdir)/config/rs6000/ppc64-fp.c.
8884 * config/rs6000/t-ppc64-fp: New file.
8885 * config/rx/rx-lib.h: New file.
8886 * config/rx/t-rx (FPBIT): Set to true.
8887 ($(gcc_objdir)/fp-bit.c): Remove.
8888 (DPBIT): Set to true only with -m64bit-doubles.
8889 ($(gcc_objdir)/dp-bit.c): Remove.
8890 * config/sparc/t-softfp: Remove.
8891 * config/spu/t-elf: New file.
8892 * config/t-fdpbit, config/t-fpbit: New files.
8893 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
8894 (mips*-*-*): Likewise.
8895 (arm-wrs-vxworks): Likewise.
8896 (arm*-*-freebsd*): Likewise.
8897 (avr-*-rtems*): Add t-fpbit to tmake_file.
8898 (avr-*-*): Likewise.
8899 (bfin*-elf*): Add t-fdpbit to tmake_file.
8900 (bfin*-uclinux*): Likewise.
8901 (bfin*-linux-uclibc*): Likewise.
8902 (bfin*-rtems*): New case.
8903 Add t-fdpbit to tmake_file.
8904 (bfin*-*): Add t-fdpbit to tmake_file.
8905 (crisv32-*-elf): Likewise.
8906 (cris-*-linux*): Likewise.
8907 (fr30-*-elf): Likewise.
8908 (frv-*-elf, frv-*-*linux*): Likewise.
8909 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
8910 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
8911 (m32r-*-elf*): Likewise.
8912 (m32rle-*-elf*): Likewise.
8913 (m32r-*-linux*): Likewise.
8914 (m32rle-*-linux*): Likewise.
8915 (mcore-*-elf): Add t-fdpbit to tmake_file.
8916 (microblaze*-*-*): Likewise.
8917 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
8918 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
8919 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
8920 Fix typo.
8921 Add mips/t-tpbit to tmake-file.
8922 (mips*-*-linux*): Fix typo.
8923 (mips*-sde-elf*): New case
8924 Add mips/t-sdemtk unless using newlib.
8925 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
8926 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
8927 (mn10300-*-*): Likewise.
8928 (pdp11-*-*): Likewise.
8929 (picochip-*-*): Add t-fpbit to tmake_file.
8930 (powerpc-*-eabisimaltivec*): Likewise.
8931 (powerpc-*-eabisim*): Likewise.
8932 (powerpc-*-elf*): Likewise.
8933 (powerpc-*-eabialtivec*): Likewise.
8934 (powerpc-xilinx-eabi*): New case.
8935 Add t-fdpbit to tmake_file.
8936 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
8937 (powerpc-*-rtems*): Likewise.
8938 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
8939 tmake_file.
8940 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
8941 tmake_file.
8942 (powerpc-*-lynxos*): Likewise.
8943 (powerpcle-*-elf*): Likewise.
8944 (powerpcle-*-eabisim*): Likewise.
8945 (powerpcle-*-eabi*): Likewise.
8946 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
8947 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
8948 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8949 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8950 (rx-*-elf): Add t-fdpbit to tmake_file.
8951 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
8952 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
8953 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
8954 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
8955 sh*-*-netbsd*.
8956 (sh-*-rtems*): Add t-fdpbit to tmake_file.
8957 (sh-wrs-vxworks): Likewise.
8958 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
8959 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
8960 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
8961 (sparc64-*-rtems*): ... new case.
8962 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
8963 (spu-*-elf*): Likewise.
8964 Add spu/t-elf to tmake_file.
8965 (v850*-*-*): Add t-fdpbit to tmake_file.
8966 (xstormy16-*-elf): Likewise.
8967 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
8968 (mep*-*-*): Likewise.
8969
201cdb74
RO
89702011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8971
8972 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
8973 variables.
8974 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
8975 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
8976 (install-unwind_h): New target.
8977 (all): Depend on it.
8978 * config.host (unwind_header): New variable.
8979 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
8980 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
8981 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
8982 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
8983 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
8984 Set unwind_header.
8985 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
8986 Set unwind_header.
8987 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
8988 arm*-*-eabi*.
8989 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
8990 Set unwind_header.
8991 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
8992 (ia64*-*-freebsd*): Likewise.
8993 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
8994 tmake_file.
8995 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
8996 $with_system_libunwind.
8997 (ia64*-*-hpux*): Set tmake_file.
8998 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
8999 (picochip-*-*): Set tmake_file.
9000 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
9001 md_unwind_header.
9002 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
9003 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
9004 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
9005 (xtensa*-*-elf*): Set tmake_file.
9006 (xtensa*-*-linux*): Likewise.
9007 * configure.ac: Include ../config/unwind_ipinfo.m4.
9008 Call GCC_CHECK_UNWIND_GETIPINFO.
9009 Link unwind.h to $unwind_header.
9010 * configure: Regenerate.
9011 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
9012 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
9013 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
9014 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
9015 * config/unwind-dw2-fde-darwin.c: New file.
9016 * config/arm/libunwind.S, config/arm/pr-support.c,
9017 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
9018 config/arm/unwind-arm.h,: New files.
9019 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
9020 config/ia64/t-eh-ia64, config/ia64/t-glibc,
9021 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
9022 config/ia64/t-vms, config/ia64/unwind-ia64.c,
9023 config/ia64/unwind-ia64.h: New files.
9024 * config/picochip/t-picochip: New file.
9025 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
9026 files.
9027 * config/rs6000/t-darwin (LIB2ADDEH): Set.
9028 * config/s390/t-tpf (LIB2ADDEH): Remove.
9029 * config/t-darwin (LIB2ADDEH): Set.
9030 * config/t-eh-dw2-dip: New file.
9031 * config/t-libunwind, config/t-libunwind-elf: New files.
9032 * config/t-sol2 (LIB2ADDEH): Remove.
9033 * config/xtensa/t-xtensa: New file.
9034
40f2f11f
L
90352011-08-02 H.J. Lu <hongjiu.lu@intel.com>
9036
9037 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
9038 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
9039 long long to check rt_sigreturn syscall.
9040
bd15e32c
AM
90412011-08-02 Alan Modra <amodra@gmail.com>
9042
9043 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
9044 Restore for indirect call bcrtl from correct stack slot, and only
9045 if cfa+40 isn't valid.
9046
655b30bf
JB
90472011-08-01 Julian Brown <julian@codesourcery.com>
9048
9049 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
9050 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
9051 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
9052
247eb06f
JB
90532011-08-01 Julian Brown <julian@codesourcery.com>
9054
9055 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
9056 (libgcc-std.ver.in): Use above.
9057 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
9058 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
9059 throughout file.
9060 * config/t-fixedpoint-gnu-prefix: New file.
9061 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
9062 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
9063 instead of __PFX__.
9064
02a8fe00
L
90652011-07-28 H.J. Lu <hongjiu.lu@intel.com>
9066
9067 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
9068 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
9069 for x86-64. Properly check __x86_64__ and __LP64__.
9070
5fce9126
L
90712010-07-28 H.J. Lu <hongjiu.lu@intel.com>
9072
9073 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
9074 version.
9075 (_FP_WS_TYPE): Likewise.
9076 (_FP_I_TYPE): Likewise.
9077
2374a88a
AM
90782011-07-28 Alan Modra <amodra@gmail.com>
9079
9080 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
9081 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
9082 in a plt call stub. Do restore r2 if stopped on bctrl.
9083
e44dbbe1
RO
90842011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9085
9086 * config.host (i[3456x]86-*-netware*): Remove.
9087 * config/i386/netware-crt0.c, config/i386/t-nwld,
9088 config/i386/t-slibgcc-nwld: Remove.
9089
bcead286
BS
90902011-07-15 Bernd Schmidt <bernds@codesourcery.com>
9091
9092 * config.host: Handle tic6x-*-*.
9093 * config/c6x/c6x-abi.h: New file.
9094
b3fe1584
RO
90952011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9096
9097 * config/i386/crtprec.c: New file.
9098 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
9099 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
9100 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
9101 (x86_64-*-darwin*): Likewise.
9102 (i[34567]86-*-solaris2*: Likewise.
9103
35d8090d
RO
91042011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9105
9106 * config/alpha/crtfastmath.c: New file.
9107 * config/i386/crtfastmath.c: New file.
9108 * config/ia64/crtfastmath.c: New file.
9109 * config/mips/crtfastmath.c: New file.
9110 * config/sparc/crtfastmath.c: New file.
9111
9112 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
9113 crtfastmath.c.
9114 Add -frandom-seed=gcc-crtfastmath.
9115 * config/alpha/t-crtfm: Remove.
9116 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
9117 * config/ia64/t-ia64 (crtfastmath.o): Remove.
9118
9119 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
9120 (alpha*-dec-osf5.1*): Likewise.
9121 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
9122 Add crtfastmath.o to extra_parts.
9123 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
9124 Add crtfastmath.o to extra_parts.
9125 (x86_64-*-darwin*): Likewise.
9126 (x86_64-*-mingw*): Likewise.
9127 (ia64*-*-elf*): Add t-crtfm to tmake_file.
9128 (ia64*-*-freebsd*): Likewise.
9129 (ia64*-*-linux*): Likewise.
9130 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
9131 Add crtfastmath.o to extra_parts.
9132
e141542e
RO
91332011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9134
9135 * config/darwin-crt3.o: New file.
9136 * config/rs6000/darwin-crt2.c: New file.
9137 * config/t-darwin: New file.
9138 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
9139 (crt2.o): New rule.
9140 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
9141 (powerpc-*-darwin*): Add crt2.o to extra_parts.
9142 (powerpc64-*-darwin*): Likewise.
9143
2d1efe2d
RO
91442011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9145
9146 * config/i386/netware-crt0.c: New file.
9147 * config/i386/t-nwld: Rename to ...
9148 * config/i386/t-slibgcc-nwld: ... this.
9149 * config/i386/t-nwld: New file.
9150 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
9151 tmake_file.
9152 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
9153 extra_parts.
9154
4a8bb046
RO
91552011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9156
9157 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
9158 i386/t-crtstuff.
9159 * configure: Regenerate.
9160
2d8d5935
RO
91612011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9162
9163 * dfp-bit.c, dfp-bit.h: New files.
9164 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
9165 variables.
9166 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
9167 ($(d64pbit-o)): Likewise.
9168 ($(d128pbit-o)): Likewise.
9169 * config/t-dfprules: New file.
9170 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
9171 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
9172 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
9173 (x86_64-*-linux*): Likewise.
9174 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
9175 (i[34567]86-*-cygwin*): Likewise.
9176 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
9177 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
9178
2c50b2c3
RO
91792011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9180
9181 * Makfile.in (LIBGCOV): New variable.
9182 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
9183 * libgcov.c: New file.
9184
a039d7c2
RO
91852011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9186
9187 * fixed-bit.c, fixed-bit.h: New files.
9188 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
9189 refer to fixed-bit.c.
9190
1e4b2746
JM
91912011-07-07 Joseph Myers <joseph@codesourcery.com>
9192
9193 * config.host (*local*): Remove.
9194
fbdd5d87
RO
91952011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9196
9197 PR target/39150
9198 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
9199 like i?86-*-solaris2.1[0-9]*.
9200 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
9201 * configure.ac (i?86-*-solaris2*): Likewise.
9202 * configure: Regenerate.
9203
9e7714f4
TS
92042011-07-06 Thomas Schwinge <thomas@schwinge.name>
9205
9206 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
9207 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
9208 md_unwind_header by splitting out of...
9209 (i[34567]86-*-linux*): ... this.
9210 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
9211 Remove md_unwind_header by splitting out of...
9212 (x86_64-*-linux*): ... this.
9213
6dab9931
GJL
92142011-07-04 Georg-Johann Lay <avr@gjlay.de>
9215
9216 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
9217
4be46d19
NC
92182011-06-28 Nick Clifton <nickc@redhat.com>
9219
9220 * config.host: Recognize all V850 variants.
9221
1da9434b
UB
92222011-06-22 Uros Bizjak <ubizjak@gmail.com>
9223
9224 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
9225
e4d48a4d
RO
92262011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9227
9228 * shared-object.mk (c_flags-$o): Save c_flags.
9229 ($(base)$(objext)): Use it.
9230 ($(base)_s$(objext)): Likewise.
9231
3801c801
BS
92322011-06-21 Bernd Schmidt <bernds@codesourcery.com>
9233
9234 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
9235 * libgcc-std.ver.in (GCC_4.7.0): New section.
9236
0ad8bb3b 92372011-06-16 Georg-Johann Lay <avr@gjlay.de>
1da9434b 9238
0ad8bb3b
GJL
9239 PR target/49313
9240 PR target/29524
9241 * config/avr/t-avr: Fix line endings.
9242 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
9243 _parityXX2.
9244
ea963999
OH
92452011-06-14 Olivier Hainque <hainque@adacore.com>
9246 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9247
9248 * config/mips/irix6-unwind.h: New file.
9249 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
9250
b11b0904
EB
92512011-06-10 Eric Botcazou <ebotcazou@adacore.com>
9252
9253 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
9254 (sparc64_fallback_frame_state): Use it.
9255 (sparc64_frob_update_context): Further adjust context.
9256 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
9257 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
9258 * config/sparc/sol2-cn.S: Likewise.
9259
10e48e39
RO
92602011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9261
9262 * enable-execute-stack-empty.c: New file.
9263 * enable-execute-stack-mprotect.c: New file.
9264 * config/i386/enable-execute-stack-mingw32.c: New file.
9265 * config.host (enable_execute_stack): New variable.
9266 Select appropriate variants.
9267 * configure.ac: Link enable-execute-stack.c to
9268 $enable_execute_stack.
9269 * configure: Regenerate.
9270 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
9271 (lib2funcs): Remove _enable_execute_stack.
9272
10c4cabc
DM
92732011-06-09 David S. Miller <davem@davemloft.net>
9274 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9275
9276 * config.host (sparc-*-linux*): Correct md_unwind_header
9277 filename.
9278 (s390x-ibm-tpf*): Fix typo.
9279
aa4203e7
RO
92802011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9281
9282 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
9283 Add crtfastmath.o to extra_parts.
9284 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
9285 mips/t-crtfm.
9286 * config/mips/t-crtfm: Remove.
9287
0defd786
JDA
92882011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
9289
9290 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
9291
82f247af
KK
92922011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
9293
9294 * config.host (sh*-*-linux*): Fix typo.
9295
58cd1d70
RO
92962011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9297
9298 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
9299 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
9300 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
9301 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
9302 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
9303 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
9304 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
9305 Wrap in !__MINGW64__.
9306 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
9307 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
9308 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
9309 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
9310 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
9311 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
9312 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
9313 Wrap in !__LP64__.
9314 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
9315 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
9316 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
9317 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
9318 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
9319 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
9320 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
9321 * config/no-unwind.h: New file.
9322 * config.host (md_unwind_header): Document.
9323 Define.
9324 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
9325 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
9326 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
9327 hppa[12]*-*-hpux11*): Set md_unwind_header.
9328 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
9329 Set md_unwind_header.
9330 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
9331 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
9332 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
9333 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
9334 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
9335 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
9336 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
9337 md_unwind_header.
9338 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
9339 * configure: Regenerate.
9340
737346fa
RO
93412011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9342
9343 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
9344 Set tmake_file, extra_parts.
9345 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
9346 Remove O32 support.
9347 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
9348 Remove O32 support.
9349 * config/mips/t-irix6: New file.
9350 * config/mips/t-slibgcc-irix: New file.
9351
c192cee6
RO
93522011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9353
9354 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
9355 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
9356
ee33b5f0
RO
93572011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9358
9359 * configure.ac (target_thread_file): Determine thread model.
9360 * configure: Regenerate.
9361 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
9362 * config/alpha/t-alpha: New file.
9363 * config/alpha/t-crtfm: Use $<.
9364 * config/alpha/t-ieee: New file.
9365 * config/alpha/t-osf-pthread: New file.
9366 * config/alpha/t-slibgcc-osf: New file.
9367 * config/alpha/libgcc-osf5.ver: New file.
9368
0699e415
RO
93692011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9370
9371 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
9372 tmake_file.
9373 Add crtfastmath.o to extra_parts.
9374
a3fab9c2
RO
93752011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9376
9377 * config/gmon-sol2.c: Reindent.
9378 Cleanup comments.
9379 Remove, correct casts.
9380 Use STDERR_FILENO, NULL.
9381 (BASEADDRESS): Remove.
9382 (minbrk): Remove.
9383 (errno, sbrk): Remove declarations.
9384 (monstartup) [hp300]: Remove.
9385 (mcount): Remove.
9386
ca24c5ad
RO
93872011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9388
9389 * Makefile.in (cpu_type): Define.
9390 * config.host (i[34567]86-*-rtems*): Handle it.
9391 (i[34567]86-*-solaris2*): Move body ...
9392 (*-*-solaris2*): ... here.
9393 New case, generalize.
9394 (sparc-*-elf*): Handle it.
9395 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
9396 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
9397 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
9398 Fold into ...
9399 (sparc*-*-solaris2*): ... this.
9400 New case.
9401 (sparc64-*-elf*): Handle it.
9402 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
9403 Merge ../gcc/config/i386/gmon-sol2.c.
9404 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
9405 Use C comments.
9406 Merge ../gcc/config/i386/sol2-gc1.asm.
9407 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
9408 Use C comments.
9409 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
9410 Use C comments.
9411 * config/i386/t-crtfm (crtfastmath.o): Use $<.
9412 * config/i386/t-crtstuff: New file.
9413 * config/i386/t-softfp: New file.
9414 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
9415 $(T)crti.o, $(T)crtn.o): Remove.
9416 (gcrt1.o): New rule.
9417 (TARGET_LIBGCC2_CFLAGS): Remove.
9418 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
9419 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
9420 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
9421 * config/sparc/t-sol2: New file.
9422 * config/sparc/t-crtfm: Move to ...
9423 * config/t-crtfm: ... this.
9424 Use $(cpu_type), $<.
9425 * config/t-crtin: New file.
9426 * config/sparc/t-softfp: New file.
9427 * config/sparc/t-softmul: New file.
9428 * config/t-rtems: New file.
9429 * config/t-slibgcc: New file.
9430 * config/t-slibgcc-elf-ver: New file.
9431 * config/t-slibgcc-gld: New file.
9432 * config/t-slibgcc-sld: New file.
9433 * config/t-sol2: New file.
9434 * configure.ac: Include ../config/lib-ld.m4.
9435 Call AC_LIB_PROG_LD_GNU.
9436 Substitute cpu_type.
9437 * configure: Regenerate.
9438
ad5f3d7b
BS
94392011-05-27 Bernd Schmidt <bernds@codesourcery.com>
9440
9441 PR bootstrap/49173
9442 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
9443 libgcc-std.ver in the build directory.
9444 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
9445 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
9446
cdbf4541
BS
94472011-05-25 Bernd Schmidt <bernds@codesourcery.com>
9448
9449 * libgcc-std.ver.in: New file.
9450 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
9451 variables.
9452 (libgcc-std.ver): New rule.
9453 * config/t-gnu-prefix: New file.
9454
c8028650
RO
94552011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9456
9457 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
9458
4a68b4ca
JM
94592011-05-10 Joseph Myers <joseph@codesourcery.com>
9460
9461 * config/i386/darwin-lib.h: New file.
9462
80cf2e08
JM
94632011-05-10 Joseph Myers <joseph@codesourcery.com>
9464
9465 * config/arm/symbian-lib.h: New.
9466
a3330c9d
CD
94672011-05-04 Chris Demetriou <cgd@google.com>
9468
9469 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
9470 (__x86.get_pc_thunk.bx): ...this.
9471 (__morestack): Adjust for rename, remove undef of __i686.
9472
6ace0756
CD
94732011-05-03 Chris Demetriou <cgd@google.com>
9474
9475 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
9476
ebb9f8b0
JM
94772011-03-22 Joseph Myers <joseph@codesourcery.com>
9478
9479 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
9480 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
9481 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
9482 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
9483 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
9484 Remove cases.
9485
9cfa1499
AT
94862011-03-14 Andreas Tobler <andreast@fgznet.ch>
9487
9488 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
9489 Adjust copyright year.
9490
457186f6
ILT
94912011-03-07 Ian Lance Taylor <iant@google.com>
9492
9493 * generic-morestack.c (__splitstack_find): Adjust returned stack
9494 pointer to include all registers pushed by __morestack.
9495
58c741a6
DK
94962011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
9497
9498 PR target/40125
9499 * configure.ac: Call ACX_NONCANONICAL_TARGET.
9500 (toolexecdir): Calculate and AC_SUBST.
9501 (toolexeclibdir): Likewise.
9502 * Makefile.in (target_noncanonical): Import.
9503 (toolexecdir): Likewise.
9504 (toolexeclibdir): Likewise.
9505 * configure: Regenerate.
9506
26716c44
NF
95072010-12-13 Nathan Froyd <froydnj@codesourcery.com>
9508
9509 PR target/46040
9510 * config/arm/bpabi.h: Rename to...
9511 * config/arm/bpabi-lib.h: ...this.
9512
b595b1a1
RO
95132010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9514
9515 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
9516 appropriate.
9517 * configure: Regenerate.
9518
a3abe41c
NF
95192010-11-24 Nathan Froyd <froydnj@codesourcery.com>
9520
9521 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
9522 __FLOAT_WORD_ORDER__.
9523 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
9524 Delete.
9525
455c8f48
RW
95262010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9527
9528 PR other/46202
9529 * Makefile.in (install-strip): New phony target.
9530
f3824a8b
ILT
95312010-11-07 Ian Lance Taylor <iant@google.com>
9532
9533 PR target/46089
9534 * config/i386/morestack.S (__morestack_large_model): New
9535 function.
9536
18ed6ee4
NF
95372010-10-23 Nathan Froyd <froydnj@codesourcery.com>
9538
9539 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
9540 Delete.
9541 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
9542
8ac7fdcb
NF
95432010-10-14 Nathan Froyd <froydnj@codesourcery.com>
9544
9545 * config/arm/bpabi.h: New file.
9546 * config/frv/frv-abi.h: New file.
9547
cdb388c2
ILT
95482010-10-01 Ian Lance Taylor <iant@google.com>
9549
9550 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
9551 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
9552
ef7c141c
L
95532010-10-01 H.J. Lu <hongjiu.lu@intel.com>
9554
9555 PR target/45858
9556 * config.host: Add the missing `$'.
9557
80920132
ME
95582010-09-30 Michael Eager <eager@eagercon.com>
9559
9560 * config.host: Add microblaze*-*-*.
9561 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
9562 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
9563 udivsi3.asm,umodsi3.asm}: New.
9564
6dace308
ILT
95652010-09-28 Ian Lance Taylor <iant@google.com>
9566
9567 * configure.ac: Adjust CFI test to test assembler directly rather
9568 than checking gcc preprocessor macro.
9569 * configure: Rebuild.
9570
b6110d6d
ILT
95712010-09-27 Ian Lance Taylor <iant@google.com>
9572
9573 * configure.ac: Test whether assembler supports CFI directives.
9574 * config.host: Only add t-stack and i386/t-stack-i386 to
9575 tmake_file if libgcc_cv_cfi is "yes".
9576 * configure: Rebuild.
9577
7458026b
ILT
95782010-09-27 Ian Lance Taylor <iant@google.com>
9579
9580 * generic-morestack.h: New file.
9581 * generic-morestack.c: New file.
9582 * generic-morestack-thread.c: New file.
9583 * config/i386/morestack.S: New file.
9584 * config/t-stack: New file.
9585 * config/i386/t-stack-i386: New file.
9586 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
9587 i386/t-stack-i386 to tmake_file.
9588
5b50fc0c
IS
95892010-09-21 Iain Sandoe <iains@gcc.gnu.org>
9590
9591 * Makefile.in (libgcc-extra-parts): Check for static archives and
9592 invoke ranlib after installing them.
9593 (gcc-extra-parts): Likewise.
9594 (install-leaf): Likewise.
9595
b93cf342
L
95962010-09-14 H.J. Lu <hongjiu.lu@intel.com>
9597
9598 * configure: Regenerated.
9599
996b42ef
KT
96002010-09-10 Kai Tietz <kai.tietz@onevision.com>
9601
b93cf342 9602 * configure: Regenerated.
996b42ef 9603
be1c764e
GP
96042010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
9605 Andrew Pinski <pinskia@gmail.com>
9606
1da9434b 9607 PR target/40959
be1c764e
GP
9608 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
9609
cc0ae0ca
L
96102010-09-06 H.J. Lu <hongjiu.lu@intel.com>
9611
9612 PR target/45524
9613 * configure: Regenerated.
9614
84f47d20
AS
96152010-09-06 Andreas Schwab <schwab@redhat.com>
9616
9617 * configure: Regenerate.
9618
4159fb8d
UB
96192010-09-03 Uros Bizjak <ubizjak@gmail.com>
9620
9621 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
9622 64bit targets.
9623 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
9624 for 64bit targets.
9625
0df8fcc8
UB
96262010-09-03 Uros Bizjak <ubizjak@gmail.com>
9627 Iain Sandoe <iains@gcc.gnu.org>
9628
9629 PR target/45476
9630 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
9631 LIB2FUNCS_EXCLUDE functions.
9632
3c39bca6
AK
96332010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9634
9635 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
9636 Include dfp.m4.
9637 * configure: Regenerate.
9638
d78552bd
UB
96392010-09-01 Uros Bizjak <ubizjak@gmail.com>
9640
9641 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
9642 i386/t-freebsd to tmake_file.
9643 * config/i386/t-freebsd: New file.
9644 * config/i386/libgcc-bsd.ver: New file.
9645
c5b79d4e
NF
96462010-07-23 Nathan Froyd <froydnj@codesourcery.com>
9647
9648 * config.host (powerpc*-eabispe*): Set tmake_file.
9649 (powerpc*-eabi*): Likewise.
9650 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
9651 crtbeginS, crtendS, crtbeginT.
9652
48b09a92
KH
96532010-06-12 Kazu Hirata <kazu@codesourcery.com>
9654
9655 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
9656 to tmake_file. Add crtfastmath.o to extra_parts.
9657 * config/mips/t-crtfm: New.
9658
7d296953 96592010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
a4389204
JS
9660
9661 * config.host (sparc64-*-rtems*): New target.
9662
ed104137
RO
96632010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9664
9665 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
9666 assembler syntax.
9667
3f56ef8b
TS
96682010-04-15 Thomas Schwinge <tschwinge@gnu.org>
9669
9670 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
9671
8c200350
RO
96722010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9673
9674 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
9675 alpha-dec-osf5.0* support.
9676
7d296953 96772010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
c1b14424
RC
9678
9679 * config.host: Add lm32-*-rtems*.
9680
f128db92 96812010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7d296953 9682 Uros Bizjak <ubizjak@gmail.com>
f128db92
RO
9683
9684 PR target/39048
9685 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
9686 like other remaining 32-bit x86 OSes.
9687 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
9688 assembler syntax.
9689 * config/i386/libgcc-sol2.ver: New file.
9690 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
9691
7d296953 96922010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
368fabd5
JH
9693
9694 PR c/43553
9695 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
9696 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
9697 is used and substitute set_use_emutls.
9698 * configure: Regenerated.
9699
15baf7f8
TG
97002010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
9701
9702 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
9703
7f5441df
RO
97042010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9705
9706 PR target/38085
9707 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
9708 MULTILIB_CFLAGS.
9709 ($(T)gcrt1.o): Likewise.
9710 ($(T)crt1.o): Likewise.
9711 ($(T)crti.o): Likewise.
9712 ($(T)crtn.o): Likewise.
9713
ef74edbd
RW
97142010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9715
9716 PR other/42980
9717 * Makefile.in (install): Use $(MAKE) string in rule, for
9718 parallel make.
9719
e7c914db
HPN
97202010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
9721
9722 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
9723 * config/mmix/t-mmix: New file.
9724 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
9725
1bcb71c4
JH
97262010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
9727
9728 PR java/41991
9729 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
9730 SHLIB_MAPFILES.
9731
e6e50811
AG
97322010-01-04 Anthony Green <green@moxielogic.com>
9733
9734 * config/moxie/crti.asm, config/moxie/crtn.asm,
9735 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
9736 config/moxie/t-moxie: New files.
9737 * config.host: Add t-moxie-softfp reference.
9738
7d296953 97392009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
ca8520ad
IS
9740
9741 PR other/39888
9742 * config/t-slibgcc-darwin: Fix embedded rpaths for
9743 --enable-version-specific-runtime-libs, build extension stub
9744 libs exposing features available from current libgcc_s.
9745
7d296953 97462009-11-11 Jon Beniston <jon@beniston.com>
aa4945c1 9747
d78552bd
UB
9748 * config.host: Add lm32 targets.
9749 * config/lm32: New directory.
9750 * config/lm32/libgcc_lm32.h: New file.
9751 * config/lm32/_mulsi3.c: New file.
9752 * config/lm32/_udivmodsi4.c: New file.
9753 * config/lm32/_divsi3.c: New file.
9754 * config/lm32/_modsi3.c: New file.
9755 * config/lm32/_udivsi3.c: New file.
9756 * config/lm32/_umodsi3.c: New file.
9757 * config/lm32/_lshrsi3.S: New file.
9758 * config/lm32/_ashrsi3.S: New file.
9759 * config/lm32/_ashlsi3.S: New file.
9760 * config/lm32/crti.S: New file.
9761 * config/lm32/crtn.S: New file.
9762 * config/lm32/t-lm32: New file.
9763 * config/lm32/t-elf: New file.
9764 * config/lm32/t-uclinux: New file.
aa4945c1 9765
65a324b4
NC
97662009-10-26 Nick Clifton <nickc@redhat.com>
9767
9768 * config.host: Add support for RX target.
9769 * config/rx: New directory.
9770 * config/rx/rx-abi-functions.c: New file. Supplementary
9771 functions for libgcc to support the RX ABI.
9772 * config/rx/rx-abi.h: New file. Supplementary header file for
9773 libgcc RX ABI functions.
9774 * config/rx/t-rx: New file: Makefile fragment for building
9775 libgcc for the RX.
9776
dfb3b0e3
UB
97772009-10-09 Uros Bizjak <ubizjak@gmail.com>
9778
9779 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
9780 constraint of y0 to "g".
9781
81dd9fd7
AK
97822009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9783
9784 * config.host: Include the s390 makefile fragments.
9785 * config/s390/32/_fixdfdi.c: New file.
9786 * config/s390/32/_fixsfdi.c: New file.
9787 * config/s390/32/_fixtfdi.c: New file.
9788 * config/s390/32/_fixunsdfdi.c: New file.
9789 * config/s390/32/_fixunssfdi.c: New file.
9790 * config/s390/32/_fixunstfdi.c: New file.
9791 * config/s390/32/t-floattodi: New file.
9792 * config/s390/libgcc-glibc.ver: New file.
9793 * config/s390/t-crtstuff: New file.
9794 * config/s390/t-linux: New file.
9795 * config/s390/t-tpf: New file.
9796
df58e648
RW
97972009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9798
9799 * configure.ac (AC_PREREQ): Bump to 2.64.
9800
79052be3
KK
98012009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
9802
9803 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
9804
5213506e
RW
98052009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9806
9807 * configure: Regenerate.
9808
a9a25daa
DR
98092009-08-09 Douglas B Rupp <rupp@gnat.com>
9810
9811 * config.host (ia64-hp-*vms*): New target.
9812 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
9813 with ia64-hp-*vms*.
9814
6efbd53f
RW
98152009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9816
9817 * configure.ac: Add snippet for maintainer-mode.
9818 * configure: Regenerate.
9819 * Makefile.in (AUTOCONF, configure_deps): New variables.
9820 ($(srcdir)/configure)): New rule, active only with maintainer
9821 mode turned on.
9822
7acf4da6
DD
98232009-06-23 DJ Delorie <dj@redhat.com>
9824
9825 Add MeP port.
9826 * config.host: Add mep support.
9827
54f549af
KT
98282009-06-22 Kai Tietz <kai.tietz@onevision.com>
9829
34481f28 9830 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 9831 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
34481f28
UB
9832
9833 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
9834 for mingw targets.
54f549af
KT
9835 * config/i386/64/_multc3.c: Likewise.
9836 * config/i386/64/_powitf2.c: Likewise.
9837 * config/i386/64/eqtf2.c: Likewise.
9838 * config/i386/64/getf2.c: Likewise.
9839 * config/i386/64/letf2.c: Likewise.
9840 * config/i386/64/letf2.c: Likewise.
34481f28
UB
9841 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
9842 unsigned long long for x64 mingw targets.
9843 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
9844 (_FP_I_TYPE): Define as long long for x64 mingw target.
54f549af 9845
fea96e25
MR
98462009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
9847
9848 * config.host (vax-*-linux*): New.
9849
cceb575c
AG
98502009-05-31 Anthony Green <green@moxielogic.com>
9851
9852 * config.host: Add moxie support.
9853 * config/moxie/t-moxie: New file.
9854
7d296953 98552009-05-29 David Billinghurst <billingd@gcc.gnu.org>
e997fb9c
DB
9856
9857 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 9858 t-softfp to tmake_file for i[34567]86-*-cygwin*.
e997fb9c 9859
532bfb0a
AJ
98602009-04-17 Aurelien Jarno <aurelien@aurel32.net>
9861
9862 * config.host: Add i386/${host_address}/t-fprules-softfp to
9863 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
9864
748086b7
JJ
98652009-04-09 Nick Clifton <nickc@redhat.com>
9866
9867 * config/ia64/tf-signs.c: Change copyright header to refer to
9868 version 3 of the GNU General Public License with version 3.1
9869 of the GCC Runtime Library Exception and to point readers at
9870 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
9871 web page.
9872 * config/i386/32/tf-signs.c: Likewise.
9873 * config/libbid/_addsub_dd.c: Likewise.
9874 * config/libbid/_addsub_sd.c: Likewise.
9875 * config/libbid/_addsub_td.c: Likewise.
9876 * config/libbid/_dd_to_df.c: Likewise.
9877 * config/libbid/_dd_to_di.c: Likewise.
9878 * config/libbid/_dd_to_sd.c: Likewise.
9879 * config/libbid/_dd_to_sf.c: Likewise.
9880 * config/libbid/_dd_to_si.c: Likewise.
9881 * config/libbid/_dd_to_td.c: Likewise.
9882 * config/libbid/_dd_to_tf.c: Likewise.
9883 * config/libbid/_dd_to_udi.c: Likewise.
9884 * config/libbid/_dd_to_usi.c: Likewise.
9885 * config/libbid/_dd_to_xf.c: Likewise.
9886 * config/libbid/_df_to_dd.c: Likewise.
9887 * config/libbid/_df_to_sd.c: Likewise.
9888 * config/libbid/_df_to_td.c: Likewise.
9889 * config/libbid/_di_to_dd.c: Likewise.
9890 * config/libbid/_di_to_sd.c: Likewise.
9891 * config/libbid/_di_to_td.c: Likewise.
9892 * config/libbid/_div_dd.c: Likewise.
9893 * config/libbid/_div_sd.c: Likewise.
9894 * config/libbid/_div_td.c: Likewise.
9895 * config/libbid/_eq_dd.c: Likewise.
9896 * config/libbid/_eq_sd.c: Likewise.
9897 * config/libbid/_eq_td.c: Likewise.
9898 * config/libbid/_ge_dd.c: Likewise.
9899 * config/libbid/_ge_sd.c: Likewise.
9900 * config/libbid/_ge_td.c: Likewise.
9901 * config/libbid/_gt_dd.c: Likewise.
9902 * config/libbid/_gt_sd.c: Likewise.
9903 * config/libbid/_gt_td.c: Likewise.
9904 * config/libbid/_isinfd128.c: Likewise.
9905 * config/libbid/_isinfd32.c: Likewise.
9906 * config/libbid/_isinfd64.c: Likewise.
9907 * config/libbid/_le_dd.c: Likewise.
9908 * config/libbid/_le_sd.c: Likewise.
9909 * config/libbid/_le_td.c: Likewise.
9910 * config/libbid/_lt_dd.c: Likewise.
9911 * config/libbid/_lt_sd.c: Likewise.
9912 * config/libbid/_lt_td.c: Likewise.
9913 * config/libbid/_mul_dd.c: Likewise.
9914 * config/libbid/_mul_sd.c: Likewise.
9915 * config/libbid/_mul_td.c: Likewise.
9916 * config/libbid/_ne_dd.c: Likewise.
9917 * config/libbid/_ne_sd.c: Likewise.
9918 * config/libbid/_ne_td.c: Likewise.
9919 * config/libbid/_sd_to_dd.c: Likewise.
9920 * config/libbid/_sd_to_df.c: Likewise.
9921 * config/libbid/_sd_to_di.c: Likewise.
9922 * config/libbid/_sd_to_sf.c: Likewise.
9923 * config/libbid/_sd_to_si.c: Likewise.
9924 * config/libbid/_sd_to_td.c: Likewise.
9925 * config/libbid/_sd_to_tf.c: Likewise.
9926 * config/libbid/_sd_to_udi.c: Likewise.
9927 * config/libbid/_sd_to_usi.c: Likewise.
9928 * config/libbid/_sd_to_xf.c: Likewise.
9929 * config/libbid/_sf_to_dd.c: Likewise.
9930 * config/libbid/_sf_to_sd.c: Likewise.
9931 * config/libbid/_sf_to_td.c: Likewise.
9932 * config/libbid/_si_to_dd.c: Likewise.
9933 * config/libbid/_si_to_sd.c: Likewise.
9934 * config/libbid/_si_to_td.c: Likewise.
9935 * config/libbid/_td_to_dd.c: Likewise.
9936 * config/libbid/_td_to_df.c: Likewise.
9937 * config/libbid/_td_to_di.c: Likewise.
9938 * config/libbid/_td_to_sd.c: Likewise.
9939 * config/libbid/_td_to_sf.c: Likewise.
9940 * config/libbid/_td_to_si.c: Likewise.
9941 * config/libbid/_td_to_tf.c: Likewise.
9942 * config/libbid/_td_to_udi.c: Likewise.
9943 * config/libbid/_td_to_usi.c: Likewise.
9944 * config/libbid/_td_to_xf.c: Likewise.
9945 * config/libbid/_tf_to_dd.c: Likewise.
9946 * config/libbid/_tf_to_sd.c: Likewise.
9947 * config/libbid/_tf_to_td.c: Likewise.
9948 * config/libbid/_udi_to_dd.c: Likewise.
9949 * config/libbid/_udi_to_sd.c: Likewise.
9950 * config/libbid/_udi_to_td.c: Likewise.
9951 * config/libbid/_unord_dd.c: Likewise.
9952 * config/libbid/_unord_sd.c: Likewise.
9953 * config/libbid/_unord_td.c: Likewise.
9954 * config/libbid/_usi_to_dd.c: Likewise.
9955 * config/libbid/_usi_to_sd.c: Likewise.
9956 * config/libbid/_usi_to_td.c: Likewise.
9957 * config/libbid/_xf_to_dd.c: Likewise.
9958 * config/libbid/_xf_to_sd.c: Likewise.
9959 * config/libbid/_xf_to_td.c: Likewise.
9960 * config/libbid/bid128.c: Likewise.
9961 * config/libbid/bid128_2_str.h: Likewise.
9962 * config/libbid/bid128_2_str_macros.h: Likewise.
9963 * config/libbid/bid128_2_str_tables.c: Likewise.
9964 * config/libbid/bid128_add.c: Likewise.
9965 * config/libbid/bid128_compare.c: Likewise.
9966 * config/libbid/bid128_div.c: Likewise.
9967 * config/libbid/bid128_fma.c: Likewise.
9968 * config/libbid/bid128_logb.c: Likewise.
9969 * config/libbid/bid128_minmax.c: Likewise.
9970 * config/libbid/bid128_mul.c: Likewise.
9971 * config/libbid/bid128_next.c: Likewise.
9972 * config/libbid/bid128_noncomp.c: Likewise.
9973 * config/libbid/bid128_quantize.c: Likewise.
9974 * config/libbid/bid128_rem.c: Likewise.
9975 * config/libbid/bid128_round_integral.c: Likewise.
9976 * config/libbid/bid128_scalb.c: Likewise.
9977 * config/libbid/bid128_sqrt.c: Likewise.
9978 * config/libbid/bid128_string.c: Likewise.
9979 * config/libbid/bid128_to_int16.c: Likewise.
9980 * config/libbid/bid128_to_int32.c: Likewise.
9981 * config/libbid/bid128_to_int64.c: Likewise.
9982 * config/libbid/bid128_to_int8.c: Likewise.
9983 * config/libbid/bid128_to_uint16.c: Likewise.
9984 * config/libbid/bid128_to_uint32.c: Likewise.
9985 * config/libbid/bid128_to_uint64.c: Likewise.
9986 * config/libbid/bid128_to_uint8.c: Likewise.
9987 * config/libbid/bid32_to_bid128.c: Likewise.
9988 * config/libbid/bid32_to_bid64.c: Likewise.
9989 * config/libbid/bid64_add.c: Likewise.
9990 * config/libbid/bid64_compare.c: Likewise.
9991 * config/libbid/bid64_div.c: Likewise.
9992 * config/libbid/bid64_fma.c: Likewise.
9993 * config/libbid/bid64_logb.c: Likewise.
9994 * config/libbid/bid64_minmax.c: Likewise.
9995 * config/libbid/bid64_mul.c: Likewise.
9996 * config/libbid/bid64_next.c: Likewise.
9997 * config/libbid/bid64_noncomp.c: Likewise.
9998 * config/libbid/bid64_quantize.c: Likewise.
9999 * config/libbid/bid64_rem.c: Likewise.
10000 * config/libbid/bid64_round_integral.c: Likewise.
10001 * config/libbid/bid64_scalb.c: Likewise.
10002 * config/libbid/bid64_sqrt.c: Likewise.
10003 * config/libbid/bid64_string.c: Likewise.
10004 * config/libbid/bid64_to_bid128.c: Likewise.
10005 * config/libbid/bid64_to_int16.c: Likewise.
10006 * config/libbid/bid64_to_int32.c: Likewise.
10007 * config/libbid/bid64_to_int64.c: Likewise.
10008 * config/libbid/bid64_to_int8.c: Likewise.
10009 * config/libbid/bid64_to_uint16.c: Likewise.
10010 * config/libbid/bid64_to_uint32.c: Likewise.
10011 * config/libbid/bid64_to_uint64.c: Likewise.
10012 * config/libbid/bid64_to_uint8.c: Likewise.
10013 * config/libbid/bid_b2d.h: Likewise.
10014 * config/libbid/bid_binarydecimal.c: Likewise.
10015 * config/libbid/bid_conf.h: Likewise.
10016 * config/libbid/bid_convert_data.c: Likewise.
10017 * config/libbid/bid_decimal_data.c: Likewise.
10018 * config/libbid/bid_decimal_globals.c: Likewise.
10019 * config/libbid/bid_div_macros.h: Likewise.
10020 * config/libbid/bid_dpd.c: Likewise.
10021 * config/libbid/bid_flag_operations.c: Likewise.
10022 * config/libbid/bid_from_int.c: Likewise.
10023 * config/libbid/bid_functions.h: Likewise.
10024 * config/libbid/bid_gcc_intrinsics.h: Likewise.
10025 * config/libbid/bid_inline_add.h: Likewise.
10026 * config/libbid/bid_internal.h: Likewise.
10027 * config/libbid/bid_round.c: Likewise.
10028 * config/libbid/bid_sqrt_macros.h: Likewise.
10029
100302009-04-09 Jakub Jelinek <jakub@redhat.com>
10031
10032 * Makefile.in: Change copyright header to refer to version
10033 3 of the GNU General Public License and to point readers at the
10034 COPYING3 file and the FSF's license web page.
10035 * config.host: Likewise.
10036
633dd061
AM
100372009-04-07 Alan Modra <amodra@bigpond.net.au>
10038
10039 * config.host: Reorder and merge to match config.gcc change.
10040
457d1d00
AM
100412009-04-03 Alan Modra <amodra@bigpond.net.au>
10042
10043 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
10044
52c0e446
JM
100452009-03-28 Joseph Myers <joseph@codesourcery.com>
10046
10047 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
10048 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
10049 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
10050 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
10051
ba181049
UB
100522009-02-12 Uros Bizjak <ubizjak@gmail.com>
10053
10054 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
10055 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
10056
c252db20
L
100572009-02-12 H.J. Lu <hongjiu.lu@intel.com>
10058
ba181049
UB
10059 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
10060 ia64/t-softfp-compat to tmake_file.
c252db20
L
10061
10062 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
10063
10064 * config/ia64/__divxf3.asm: New.
10065 * config/ia64/_fixtfdi.asm: Likewise.
10066 * config/ia64/_fixunstfdi.asm: Likewise.
10067 * config/ia64/_floatditf.asm: Likewise.
10068 * config/ia64/t-fprules-softfp: Likewise.
10069 * config/ia64/t-softfp-compat: Likewise.
10070 * config/ia64/tf-signs.c: Likewise.
10071
c60535f9
BE
100722009-01-18 Ben Elliston <bje@au.ibm.com>
10073
10074 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
10075
ce16861e
BE
100762009-01-16 Ben Elliston <bje@au.ibm.com>
10077
10078 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
10079 to tmake_file.
10080
bcf4713b
BE
100812009-01-13 Ben Elliston <bje@au.ibm.com>
10082
10083 * config/t-softfp: New file.
10084 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
10085 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
10086
7d296953 100872009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
2042cb04
JS
10088
10089 * config.host: Add m32r*-*-rtems*.
10090
7d296953 100912008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
541ed00e
JS
10092
10093 * config.host: Add m32c*-*-rtems*.
10094
19523300
RO
100952008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10096
10097 PR bootstrap/33100
10098 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
10099 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
10100 * configure: Regenerate.
10101 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
10102 tmake_file here from gcc/config.gcc.
10103 Move extra_parts here from gcc/config.gcc.
10104 * config/i386/t-sol2: Move here from gcc/config/i386.
10105 Use gcc_srcdir instead of srcdir.
10106
0a4a51c7
AN
101072008-11-18 Adam Nemet <anemet@caviumnetworks.com>
10108
10109 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
10110 case.
10111
2a761e46
TS
101122008-11-09 Thomas Schwinge <tschwinge@gnu.org>
10113
10114 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
10115
c0451df7
TS
101162008-10-08 Thomas Schwinge <tschwinge@gnu.org>
10117
10118 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
10119
358da97e
HS
101202008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
10121
10122 Add picoChip port.
10123 * config.host: Add picochip-*-*.
10124
c660f132
BW
101252008-08-06 Bob Wilson <bob.wilson@acm.org>
10126
10127 * config.host: Match more processor names for Xtensa.
10128
d1349557
L
101292008-07-08 H.J. Lu <hongjiu.lu@intel.com>
10130
10131 * config/i386/64/t-softfp-compat: Update comments.
10132
dd7b73c0
L
101332008-07-07 H.J. Lu <hongjiu.lu@intel.com>
10134
10135 * config/i386/64/_divtc3-compat.c: Moved to ...
10136 * config/i386/64/_divtc3.c: Here.
10137
10138 * config/i386/64/_multc3-compat.c: Moved to ...
10139 * config/i386/64/_multc3.c: Here.
10140
10141 * config/i386/64/_powitf2-compat.c: Moved to ...
10142 * config/i386/64/_powitf2.c: Here.
10143
10144 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
10145 .c suffix instead of -compat.c.
10146
6e1fab3d
UB
101472008-07-05 Uros Bizjak <ubizjak@gmail.com>
10148
10149 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
10150 (_FP_MUL_MEAT_D): Ditto.
10151 (_FP_DIV_MEAT_S): Ditto.
10152 (_FP_DIV_MEAT_D): Ditto.
10153
f92518d7
RS
101542008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
10155
10156 * Makefile.in: Add support for __sync_* libgcc functions.
10157
d0aede14
L
101582008-07-03 H.J. Lu <hongjiu.lu@intel.com>
10159
10160 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
10161
c174f11c
L
101622008-07-02 H.J. Lu <hongjiu.lu@intel.com>
10163
10164 PR boostrap/36702
10165 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
10166 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
10167
10168 * config/i386/64/t-fprules-softfp: Moved to ...
10169 * config/i386/64/t-softfp-compat: This. New.
10170
5f464fa2
UB
101712008-07-02 Uros Bizjak <ubizjak@gmail.com>
10172
10173 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
10174 Initialize f with 0.0.
10175
ff473280
L
101762008-07-02 H.J. Lu <hongjiu.lu@intel.com>
10177
10178 PR target/36669
10179 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
10180
10181 * config/i386/64/_divtc3-compat.c: New.
10182 * config/i386/64/_multc3-compat.c: Likewise.
10183 * config/i386/64/_powitf2-compat.c: Likewise.
10184 * config/i386/64/eqtf2.c: Likewise.
10185 * config/i386/64/getf2.c: Likewise.
10186 * config/i386/64/letf2.c: Likewise.
10187 * config/i386/64/t-fprules-softfp: Likewise.
10188
101892008-07-02 H.J. Lu <hongjiu.lu@intel.com>
10190
10191 * config.host: Add i386/${host_address}/t-fprules-softfp to
10192 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
dfb3b0e3 10193 i[34567]86-*-linux*, x86_64-*-linux*.
ff473280
L
10194
10195 * configure.ac: Set host_address to 64 or 32 for x86.
10196 * configure: Regenerated.
10197
10198 * Makefile.in (config.status): Also depend on
10199 $(srcdir)/config.host.
10200
10201 * config/i386/32/t-fprules-softfp: New.
10202 * config/i386/32/tf-signs.c: Likewise.
10203
10204 * config/i386/64/sfp-machine.h: New. Moved from gcc.
10205
102062008-07-02 H.J. Lu <hongjiu.lu@intel.com>
10207 Uros Bizjak <ubizjak@gmail.com>
10208
10209 * config/i386/32/sfp-machine.h: New.
10210
30551d99
NF
102112008-06-26 Nathan Froyd <froydnj@codesourcery.com>
10212
10213 * config/rs6000/t-ppccomm: Remove rules that conflict with
10214 auto-generated rules.
10215
18c04407
RW
102162008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
10217
10218 * configure.ac: sinclude override.m4.
10219 * configure: Regenerate.
10220
10fbe77a
BRF
102212008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
10222
10223 * configure: Regenerate.
10224
bc6d4c3f
JM
102252008-06-10 Joseph Myers <joseph@codesourcery.com>
10226
10227 * Makefile.in (DECNUMINC): Remove
10228 -I$(MULTIBUILDTOP)../../libdecnumber.
10229 * gstdint.h: New.
10230
cd985f66
JM
102312008-06-07 Joseph Myers <joseph@codesourcery.com>
10232
10233 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
10234 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
10235 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
10236 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
10237 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
10238 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
10239 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
10240 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
10241 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
10242 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
10243 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
10244 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
10245 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
10246 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
10247
93fea8d3
AL
102482008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
10249
10250 * config.host (sh2[lbe]*-*-linux*): Allow target.
10251
18724e30
NF
102522008-04-30 Nathan Froyd <froydnj@codesourcery.com>
10253
10254 * config/rs6000/t-ppccomm: Add build rules for new files.
10255 (LIB2ADD_ST): New variable.
10256
47583040
AH
102572008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
10258
10259 PR target/34210
10260 PR target/35508
10261 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
10262 * config/t-avr: New file. Build 16bit libgcc functions.
10263
cf8e67fe
JJ
102642008-03-02 Jakub Jelinek <jakub@redhat.com>
10265
10266 PR target/35401
10267 * config/t-slibgcc-darwin: Make install-leaf dependent on
10268 install-darwin-libgcc-stubs instead of install.
10269
8d8da227
JM
102702008-01-25 Joseph Myers <joseph@codesourcery.com>
10271
10272 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
10273 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
10274 sh-*-rtemscoff*): Remove cases.
10275
edbf8b16
RS
102762007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
10277
10278 * Makefile.in (all): Use install-leaf rather than install.
10279 (install): Split most of the rule into...
10280 (install-leaf): ...this new one.
10281
89deeaff
EK
102822007-12-19 Etsushi Kato <ek.kato@gmail.com>
10283 Paolo Bonzini <bonzini@gnu.org>
10284
10285 PR target/30572
5f464fa2
UB
10286 * Makefile.in: Use @shlib_slibdir@ substitution to get
10287 correct install name on darwin.
89deeaff 10288 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
dfb3b0e3 10289
4081d704
HPN
102902007-12-15 Hans-Peter Nilsson <hp@axis.com>
10291
10292 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
10293 cris-*-elf and cris-*-none.
10294 (crisv32-*-linux*): Similar, as cris-*-linux*.
10295
f43e89a3
RIL
102962007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
10297
10298 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
10299
b4e9c2c6
L
103002007-10-27 H.J. Lu <hongjiu.lu@intel.com>
10301
10302 PR regression/33926
10303 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
10304 * configure: Regenerated.
10305
b2a00c89
L
103062007-09-27 H.J. Lu <hongjiu.lu@intel.com>
10307
10308 * Makefile.in (dfp-filenames): Replace decimal_globals,
10309 decimal_data, binarydecimal and convert_data with
10310 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
10311 and bid_convert_data, respectively.
10312
8d2a9e0e
CF
103132007-09-17 Chao-ying Fu <fu@mips.com>
10314 Nigel Stephens <nigel@mips.com>
10315
10316 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
10317 * Makefile.in (fixed_point): Define.
10318 Check if fixed_point is yes to build support functions.
10319 * configure.ac: Check for fixed_point support.
10320 * configure: Regenerated.
10321 * gen-fixed.sh: New file to generate lists of fixed-point labels,
10322 funcs, modes, from, to.
10323
2b53935d
JJ
103242007-09-11 Janis Johnson <janis187@us.ibm.com
10325
10326 * Makefile.in (dfp-filenames): Add bid128_noncomp.
10327
2533577f
JJ
103282007-09-10 Janis Johnson <janis187@us.ibm.com>
10329
10330 * Makefile.in (dfp-filenames): Remove decUtility, add
10331 decDouble, decPacked, decQuad, decSingle.
10332
3ae3dbd6
HK
103332007-08-27 Hans Kester <hans.kester@ellips.nl>
10334
10335 * config.host : Add x86_64-elf target.
10336
22867d02
L
103372007-07-06 H.J. Lu <hongjiu.lu@intel.com>
10338
10339 * configure.ac (set_have_cc_tls): Add a missing =.
10340 * configure: Regenerated.
10341
6f461e76
L
103422007-07-06 H.J. Lu <hongjiu.lu@intel.com>
10343
10344 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
10345 and x86_64-*-linux*.
10346
10347 * config/t-tls: New file.
10348
dfb3b0e3 10349 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
6f461e76
L
10350
10351 * configure.ac: Include ../config/enable.m4 and
10352 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
10353 supports TLS and substitute set_have_cc_tls.
10354 * configure: Regenerated.
10355
200359e8
L
103562007-07-04 H.J. Lu <hongjiu.lu@intel.com>
10357
10358 * Makefile.in: Use libbid for DFP when BID is enabled.
10359
76f5e200
DS
103602007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
10361
10362 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
dfb3b0e3 10363 extra_parts. Add config/i386/t-cygming to tmake_file.
76f5e200
DS
10364 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
10365
9bd196f0 103662007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
200359e8 10367 Danny Smith <dannysmith@users.sourceforge.net>
9bd196f0
ZM
10368
10369 PR target/29498
10370 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
10371 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
10372 * config/i386/t-crtfm: Compile crtfastmath.o with
10373 -minline-all-stringops.
10374
1910440e
RS
103752007-05-10 Richard Sandiford <richard@codesourcery.com>
10376
10377 * config.host (sparc-wrs-vxworks): New target.
10378
7d33c31d
KH
103792007-04-14 Kazu Hirata <kazu@codesourcery.com>
10380
10381 * config.host: Recognize fido.
10382
96fccd0d
JJ
103832007-04-04 Janis Johnson <janis187@us.ibm.com>
10384
10385 * configure: Check host, not target, for decimal float support.
10386
577565f9
UB
103872007-04-03 Uros Bizjak <ubizjak@gmail.com>
10388
10389 * config/i386/t-crtpc: New file.
10390 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
5f464fa2 10391 (x86_64-*-linux*): Ditto.
577565f9 10392
ccf8e764
RH
103932007-02-30 Kai Tietz <kai.tietz@onevision.com>
10394
10395 * config.host (x86_64-*-mingw*): New target.
10396
79b87c74
MM
103972007-03-23 Michael Meissner <michael.meissner@amd.com>
10398 H.J. Lu <hongjiu.lu@intel.com>
10399
10400 * Makefile.in (enable_decimal_float): New.
10401 (DECNUMINC): Add
10402 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
10403 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
10404 (decbits-filenames): This.
10405 (decbits-objects): New.
10406 (libgcc-objects): Add $(decbits-objects).
10407
10408 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
10409 Substitute enable_decimal_float.
10410 * configure: Regenerated.
10411
8fce4e31
HPN
104122007-03-19 Hans-Peter Nilsson <hp@axis.com>
10413
10414 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
10415
e8bb4597
BM
104162007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
10417
10418 * Makefile.in (install-info): New dummy target.
10419
344189f9
BS
104202007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
10421
10422 * config.host (bfin*-linux-uclibc*): Set extra_parts.
10423
ac84c172
BM
104242007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
10425
10426 * Makefile.in: Add install-html and install-pdf dummy
10427 targets.
10428
cd5c2357
RS
104292007-02-05 Roger Sayle <roger@eyesopen.com>
10430 Daniel Jacobowitz <dan@codesourcery.com>
10431
10432 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
10433 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
10434 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
10435
d9a66f98
JJ
104362007-01-29 Janis Johnson <janis187@us.ibm.com>
10437
10438 * Makefile.in (dec-filenames): Add decExcept.
10439
9891ec5f
DJ
104402007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
10441
10442 PR bootstrap/30469
10443 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
10444 -fprofile-use.
10445
d6efbf5a
DJ
104462007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
10447
10448 * configure.ac: Add --enable-version-specific-runtime-libs.
10449 Correct $slibdir default.
10450 * configure: Regenerated.
10451
17caeff2
JM
104522007-01-23 Joseph Myers <joseph@codesourcery.com>
10453
10454 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
10455
5ea41e3a
AP
104562007-01-21 Andrew Pinski <pinskia@gmail.com>
10457
10458 PR target/30519
10459 * config.host (alpha*-*-linux*): Set extra_parts.
10460
26900826
KK
104612007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
10462
10463 * config/sh/t-linux: New.
10464 * config.host (sh*-*-linux*): Set tmake_file.
10465
97af925b
DJ
104662007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
10467
10468 * Makefile.in (install): Handle multilibs.
10469
b0088af7
BM
104702007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
10471
10472 * Makefile.in: Added .PHONY entry for documentation targets.
10473
e0a9456a
BM
104742007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
10475
10476 * Makefile.in: Add empty info, html, dvi, pdf targets.
10477
7fd453b4
MS
104782007-01-04 Mike Stump <mrs@apple.com>
10479
10480 * Makefile.in (MAKEINFO): Remove.
10481 (PERL): Likewise.
10482
14e8fc8b
PB
104832007-01-04 Paolo Bonzini <bonzini@gnu.org>
10484
10485 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
10486 * configure: Regenerate.
10487 * Makefile.in (host_subdir): Substitute it.
dfb3b0e3 10488 (gcc_objdir): Use it.
14e8fc8b 10489
1555beba
DJ
104902007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
10491
10492 * config.host (ia64*-*-linux*): Set tmake_file.
10493
79e6eaeb
DJ
104942007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
10495
10496 * Makefile.in (version): Define.
10497
fa958513
DJ
104982007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
10499 Paolo Bonzini <bonzini@gnu.org>
10500
10501 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
10502 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
10503 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
10504 config/sparc/t-crtfm, config/t-slibgcc-darwin,
10505 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
10506 shared-object.mk, siditi-object.mk, static-object.mk: New files.
10507 * configure: Generated.
818ab71a 10508\f
8d9254fc 10509Copyright (C) 2007-2020 Free Software Foundation, Inc.
818ab71a
JJ
10510
10511Copying and distribution of this file, with or without modification,
10512are permitted in any medium without royalty provided the copyright
10513notice and this notice are preserved.