]> git.ipfire.org Git - thirdparty/gcc.git/blame - libgcc/ChangeLog
Skip gcc.target/aarch64/sve/tls_preserve* for emultls targets
[thirdparty/gcc.git] / libgcc / ChangeLog
CommitLineData
5f32f9cf
ML
12020-01-22 Martin Liska <mliska@suse.cz>
2
3 PR tree-optimization/92924
4 * libgcov-driver.c (prune_topn_counter): New.
5 (prune_counters): Likewise.
6 (dump_one_gcov): Prune a run-time counter.
7 * libgcov-profiler.c (__gcov_topn_values_profiler_body):
8 For a known value, add GCOV_TOPN_VALUES to value.
9 Otherwise, decrement all counters by one.
10
463f6499
HPN
112020-01-18 Hans-Peter Nilsson <hp@axis.com>
12
13 * config/cris/arit.c (DS): Apply attribute __fallthrough__.
14
84479e3a
JDA
152020-01-18 John David Anglin <danglin@gcc.gnu.org>
16
17 PR libgcc/92988
18 * crtstuff.c (__do_global_dtors_aux): Only call __cxa_finalize if
19 DEFAULT_USE_CXA_ATEXIT is true.
20
e953433f 212020-01-16 Mihail-Calin Ionescu <mihail.ionescu@arm.com>
674dcc3f 22 Thomas Preud'homme <thomas.preudhomme@arm.com>
e953433f
MI
23
24 * config/arm/t-arm: Check return value of gcc rather than lack of
25 output.
26
03e87724
GJL
272020-01-14 Georg-Johann Lay <avr@gjlay.de>
28
29 * config/avr/lib1funcs.S (skip): Simplify.
30
af9bd920
KCY
312020-01-10 Kwok Cheung Yeung <kcy@codesourcery.com>
32
33 * config/gcn/atomic.c: Remove include of stdint.h.
34 (__sync_val_compare_and_swap_##SIZE): Replace uintptr_t with
35 __UINTPTR_TYPE__.
36
d6491d15
KCY
372020-01-09 Kwok Cheung Yeung <kcy@codesourcery.com>
38
39 * config/gcn/atomic.c: New.
40 * config/gcn/t-amdgcn (LIB2ADD): Add atomic.c.
41
f30dd607
GJL
422020-01-08 Georg-Johann Lay <avr@gjlay.de>
43
44 Implement 64-bit double functions.
45
46 PR target/92055
47 * config.host (tmake_file) [target=avr]: Add t-libf7,
48 t-libf7-math, t-libf7-math-symbols as specified by --with-libf7=.
49 * config/avr/t-avrlibc: Don't copy libgcc.a if there are modules
50 depending on sizeof (double) or sizeof (long double).
51 * config/avr/libf7: New folder.
52
5205a445
OH
532020-01-05 Olivier Hainque <hainque@adacore.com>
54
55 * config/gthr-vxworks.h: Guard #include vxAtomicLib.h
56 by IN_LIBGCC2.
57
8d9254fc
JJ
582020-01-01 Jakub Jelinek <jakub@redhat.com>
59
60 Update copyright years.
61
abb6c3ee
OH
622019-12-30 Olivier Hainque <hainque@adacore.com>
63
64 * config/gthr-vxworks.h: Use _vxworks-versions.h.
65 * config/gthr-vxworks-tls.c: Likewise.
66
d7f5094a
OH
672019-12-30 Olivier Hainque <hainque@adacore.com>
68
69 * config/gthr-vxworks.h (GTHREAD_ONCE_INIT): Use
70 standard zero-initializer syntax.
71
49cfaa2a
OH
722019-12-30 Olivier Hainque <hainque@adacore.com>
73
74 * config/gthr-vxworks-tls.c (__gthread_getspecific): Fix
75 reference to the internal VX_GET_TLS_DATA interface.
76
89b9a554
OH
772019-12-30 Olivier Hainque <hainque@adacore.com>
78
79 * config/vxcrtstuff.c: Fix incorrect spelling of
80 USE_INITFINI_ARRAY in guard.
81
e8aa9f55
JL
822019-12-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
83
84 * config.host: s/msp430*-*-elf/msp430-*-elf*.
85 Override default "extra_parts" variable.
86 * configure: Regenerate.
87 * configure.ac: Disable TM clone registry by default for
88 msp430-elfbare.
89
a9046e98
JL
902019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
91
92 * config.host (msp430*-*-elf): Add crt{begin,end}_no_eh.o to
93 "extra_parts".
94 * config/msp430/t-msp430: Add rules to build crt{begin,end}_no_eh.o.
95
34a53788
JL
962019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
97
98 * crtstuff.c: Declare __dso_handle only if DEFAULT_USE_CXA_ATEXIT is
99 true.
100
21a098f4
JL
1012019-12-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
102
103 * crtstuff.c (__do_global_dtors_aux): Check if USE_EH_FRAME_REGISTRY is
104 defined instead of its value.
105
ad8b7783
JL
1062019-12-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
107
108 * crtstuff.c (__do_global_dtors_aux): Wrap in #if so it's only defined
109 if it will have contents.
110
08d7ff78
GJL
1112019-12-05 Georg-Johann Lay <avr@gjlay.de>
112
113 PR target/92055
114 * config/avr/t-avrlibc (MULTISUBDIR): Search for double, not double64.
115
3d3a96a2
SN
1162019-11-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
117
34b4d99d 118 PR libgcc/91737
3d3a96a2
SN
119 * config.host: Add t-gthr-noweak on *-*-musl*.
120 * config/t-gthr-noweak: New file.
121
632b5e3d
JDA
1222019-11-17 John David Anglin <danglin@gcc.gnu.org>
123
124 * config/pa/linux-atomic.c (__kernel_cmpxchg): Change argument 1 to
125 volatile void *. Remove trap check.
126 (__kernel_cmpxchg2): Likewise.
127 (FETCH_AND_OP_2): Adjust operand types.
128 (OP_AND_FETCH_2): Likewise.
129 (FETCH_AND_OP_WORD): Likewise.
130 (OP_AND_FETCH_WORD): Likewise.
131 (COMPARE_AND_SWAP_2): Likewise.
132 (__sync_val_compare_and_swap_4): Likewise.
133 (__sync_bool_compare_and_swap_4): Likewise.
134 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
135 (__sync_lock_test_and_set_4): Likewise.
136 (SYNC_LOCK_RELEASE_1): Likewise. Use __kernel_cmpxchg2 for release.
137 (__sync_lock_release_4): Adjust operand types. Use __kernel_cmpxchg
138 for release.
139 (__sync_lock_release_8): Remove.
140
838fd641
SN
1412019-11-15 Szabolcs Nagy <szabolcs.nagy@arm.com>
142
143 * config/m68k/linux-unwind.h (struct uw_ucontext): Use sigset_t instead
144 of __sigset_t.
145
27204060
JL
1462019-11-14 Jerome Lambourg <lambourg@adacore.com>
147 Doug Rupp <rupp@adacore.com>
148 Olivier Hainque <hainque@adacore.com>
149
150 * config.host: Collapse the arm-vxworks entries into
151 a single arm-wrs-vxworks7* one.
152 * config/arm/unwind-arm-vxworks.c: Update comments. Provide
153 __gnu_Unwind_Find_exidx and a weak dummy __cxa_type_match for
154 kernel modules, to be overriden by libstdc++ when we link with
155 it. Rely on externally provided __exidx_start/end.
156
3004f893
DR
1572019-11-14 Doug Rupp <rupp@adacore.com>
158 Olivier Hainque <hainque@adacore.com>
159
160 * config.host: Handle aarch64*-wrs-vxworks7*.
161
36e5f4d4
OH
1622019-11-12 Olivier Hainque <hainque@adacore.com>
163
164 * config/t-gthr-vxworksae: New file, add all the gthr-vxworks
165 sources except the cxx0x support to LIB2ADDEH. We don't support
166 cxx0x on AE/653.
167 * config/t-vxworksae: New file.
168 * config.host: Handle *-*-vxworksae: Add the two aforementioned
169 Makefile fragment files at their expected position in the tmake_file
170 list, in accordance with what is done for other VxWorks variants.
171
806dd047
CG
1722019-11-12 Corentin Gay <gay@adacore.com>
173 Jerome Lambourg <lambourg@adacore.com>
174 Olivier Hainque <hainque@adacore.com>
175
176 * config/t-gthr-vxworks: New file, add all the gthr-vxworks
177 sources to LIB2ADDEH.
178 * config/t-vxworks: Remove adjustments to LIB2ADDEH.
179 * config/t-vxworks7: Likewise.
180
181 * config.host: Append a block at the end of the file to add the
182 t-gthr files to the tmake_file list for VxWorks after everything
183 else.
184
185 * config/vxlib.c: Rename as gthr-vxworks.c.
186 * config/vxlib-tls.c: Rename as gthr-vxworks-tls.c.
187
188 * config/gthr-vxworks.h: Simplify a few comments. Expose a TAS
189 API and a basic error checking API, both internal. Simplify the
190 __gthread_once_t type definition and initializers. Add sections
191 for condition variables support and for the C++0x thread support,
192 conditioned against Vx653 for the latter.
193
194 * config/gthr-vxworks.c (__gthread_once): Simplify comments and
195 implementation, leveraging the TAS internal API.
196 * config/gthr-vxworks-tls.c: Introduce an internal TLS data access
197 API, leveraging the general availability of TLS services in VxWorks7
198 post SR6xxx.
199 (__gthread_setspecific, __gthread_setspecific): Use it.
200 (tls_delete_hook): Likewise, and simplify the enter/leave dtor logic.
201 * config/gthr-vxworks-cond.c: New file. GTHREAD_COND variable
202 support based on VxWorks primitives.
203 * config/gthr-vxworks-thread.c: New file. GTHREAD_CXX0X support
204 based on VxWorks primitives.
205
78e49fb1
JL
2062019-11-06 Jerome Lambourg <lambourg@adacore.com>
207 Olivier Hainque <hainque@adacore.com>
208
209 * config/vxcrtstuff.c: New file.
210 * config/t-vxcrtstuff: New Makefile fragment.
211 * config.host: Append t-vxcrtstuff to the tmake_file list
212 on all VxWorks ports using dwarf for table based EH.
213
29f3def3
GJL
2142019-11-07 Georg-Johann Lay <avr@gjlay.de>
215
216 Support 64-bit double and 64-bit long double configurations.
217
218 PR target/92055
219 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Only add -DF=SF if
220 long double is a 32-bit type.
221 * config/avr/t-avrlibc: Copy double64 and long-double64
222 multilib(s) from the vanilla one.
223 * config/avr/t-copy-libgcc: New Makefile snip.
224
62ec242e
JL
2252019-11-04 Jozef Lawrynowicz <jozef.l@mittosystems.com>
226
227 * crtstuff.c: Define USE_TM_CLONE_REGISTRY to 0 if it's undefined and
228 the target output object format is not ELF.
229 s/defined(USE_TM_CLONE_REGISTRY)/USE_TM_CLONE_REGISTRY.
230
da5c1bbe
OE
2312019-11-03 Oleg Endo <olegendo@gcc.gnu.org>
232
233 PR libgcc/78804
234 * fp-bit.h: Remove FLOAT_BIT_ORDER_MISMATCH.
235 * fp-bit.c (pack_d, unpack_d): Remove special cases for
236 FLOAT_BIT_ORDER_MISMATCH.
237 * config/arc/t-arc: Remove FLOAT_BIT_ORDER_MISMATCH.
238
8dc56a22
JW
2392019-11-01 Jim Wilson <jimw@sifive.com>
240
241 * config/riscv/t-softfp32 (softfp_extra): Add FP divide routines
242
91c64455
JL
2432019-10-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
244
245 * config/msp430/lib2hw_mul.S: Fix wrong syntax in branch instruction.
246 s/RESULT_LO/RESLO, s/RESULT_HI/RESHI, s/MPY_OP1/MPY,
247 s/MPY_OP1_S/MPYS, s/MAC_OP1/MAC, s/MPY_OP2/OP2, s/MAC_OP2/OP2.
248 Define symbols for 32-bit and f5series hardware multiply
249 register addresses.
250 Replace hard-coded register addresses with symbols.
251 Fix "_mspabi*" typo.
252 Fix whitespace.
253 * config/msp430/lib2mul.c: Add comment.
254
85093ac6
JDA
2552019-10-15 John David Anglin <danglin@gcc.gnu.org>
256
257 * config/pa/fptr.c (_dl_read_access_allowed): Change argument to
258 unsigned int. Adjust callers.
259 (__canonicalize_funcptr_for_compare): Change plabel type to volatile
260 unsigned int *. Load relocation offset before function pointer.
261 Add barrier to ensure ordering.
262
1aea083d
JDA
2632019-10-12 John David Anglin <danglin@gcc.gnu.org>
264
265 * config/pa/lib2funcs.S (__gcc_plt_call): Load branch target to %r21.
266 Load PIC register after branch target. Fix white space.
267 * config/pa/milli64.S ($$dyncall): Separate LINUX and non LINUX
268 implementations. Load PIC register after branch target. Don't
269 clobber function pointer when it points to function descriptor.
270 Use nullification instead of branch in LINUX implementation.
271
c49af82c
JDA
2722019-10-03 John David Anglin <danglin@gcc.gnu.org>
273
274 * config/pa/fptr.c: Disable -Warray-bounds warning.
275
88a51d68
RH
2762019-09-25 Richard Henderson <richard.henderson@linaro.org>
277
9e46fd07
RH
278 * config.in, configure: Re-rebuild with stock autoconf 2.69,
279 not the ubuntu modified 2.69.
280
58d169ba
RH
281 PR target/91833
282 * config/aarch64/lse-init.c: Include auto-target.h. Disable
283 initialization if !HAVE_SYS_AUXV_H.
284 * configure.ac (AC_CHECK_HEADERS): Add sys/auxv.h.
285 * config.in, configure: Rebuild.
286
88a51d68
RH
287 PR target/91834
288 * config/aarch64/lse.S (LDNM): Ensure STXR output does not
289 overlap the inputs.
290
761e6bb9
SZ
2912019-09-25 Shaokun Zhang <zhangshaokun@hisilicon.com>
292
293 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Add support for
294 CTR_EL0.IDC and CTR_EL0.DIC.
295
76c93295
CL
2962019-09-20 Christophe Lyon <christophe.lyon@st.com>
297
298 Revert:
299 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
300 Mickaël Guêné <mickael.guene@st.com>
301
302 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
303 architecture.
304
33befddc
RH
3052019-09-19 Richard Henderson <richard.henderson@linaro.org>
306
307 * config/aarch64/lse-init.c: New file.
308 * config/aarch64/lse.S: New file.
309 * config/aarch64/t-lse: New file.
310 * config.host: Add t-lse to all aarch64 tuples.
311
ae1152e5
CL
3122019-09-10 Christophe Lyon <christophe.lyon@st.com>
313 Mickaël Guêné <mickael.guene@st.com>
314
84818dbb
CL
315 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
316 architecture.
317
3182019-09-10 Christophe Lyon <christophe.lyon@st.com>
319 Mickaël Guêné <mickael.guene@st.com>
320
ae1152e5
CL
321 * unwind-arm-common.inc (ARM_SET_R7_RT_SIGRETURN)
322 (THUMB2_SET_R7_RT_SIGRETURN, FDPIC_LDR_R12_WITH_FUNCDESC)
323 (FDPIC_LDR_R9_WITH_GOT, FDPIC_LDR_PC_WITH_RESTORER)
324 (FDPIC_FUNCDESC_OFFSET, ARM_NEW_RT_SIGFRAME_UCONTEXT)
325 (ARM_UCONTEXT_SIGCONTEXT, ARM_SIGCONTEXT_R0, FDPIC_T2_LDR_R12_WITH_FUNCDESC)
326 (FDPIC_T2_LDR_R9_WITH_GOT, FDPIC_T2_LDR_PC_WITH_RESTORER): New.
327 (__gnu_personality_sigframe_fdpic): New.
328 (get_eit_entry): Add FDPIC signal frame support.
329
5d727a4b
CL
3302019-09-10 Christophe Lyon <christophe.lyon@st.com>
331 Mickaël Guêné <mickael.guene@st.com>
332
333 * config/arm/linux-atomic.c (__kernel_cmpxchg): Add FDPIC support.
334 (__kernel_dmb): Likewise.
335 (__fdpic_cmpxchg): New function.
336 (__fdpic_dmb): New function.
337 * config/arm/unwind-arm.h (FDPIC_REGNUM): New define.
338 (gnu_Unwind_Find_got): New function.
339 (_Unwind_decode_typeinfo_ptr): Add FDPIC support.
340 * unwind-arm-common.inc (UCB_PR_GOT): New.
341 (funcdesc_t): New struct.
342 (get_eit_entry): Add FDPIC support.
343 (unwind_phase2): Likewise.
344 (unwind_phase2_forced): Likewise.
345 (__gnu_Unwind_RaiseException): Likewise.
346 (__gnu_Unwind_Resume): Likewise.
347 (__gnu_Unwind_Backtrace): Likewise.
348 * unwind-pe.h (read_encoded_value_with_base): Likewise.
349
b1e21e5a 3502019-09-10 Christophe Lyon <christophe.lyon@st.com>
11189793 351 Mickaël Guêné <mickael.guene@st.com>
b1e21e5a 352
11189793
CL
353 * libgcc/crtstuff.c: Add support for FDPIC.
354
3552019-09-10 Christophe Lyon <christophe.lyon@st.com>
356
357 * config.host: Handle *-*-uclinuxfdpiceabi.
b1e21e5a 358
91dfef96
JM
3592019-09-09 Jose E. Marchesi <jose.marchesi@oracle.com>
360
361 * config.host: Set cpu_type for bpf-*-* targets.
362 * config/bpf/t-bpf: Likewise.
363 * config/bpf/crtn.S: Likewise.
364 * config/bpf/crti.S: New file.
365
2f4d8951
JW
3662019-09-06 Jim Wilson <jimw@sifive.com>
367
368 * config.host (riscv*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
369 (riscv*-*-freebsd*): Likewise.
370
2f2aeda9
UW
3712019-09-03 Ulrich Weigand <uweigand@de.ibm.com>
372
373 * config.host: Remove references to spu.
374 * config/spu/: Remove directory.
375
d16017da
JL
3762019-08-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
377
378 PR target/91306
379 * crtstuff.c (__CTOR_LIST__): Align to the "__alignof__" the array
380 element type, instead of "sizeof" the element type.
381 (__DTOR_LIST__): Likewise.
382 (__TMC_LIST__): Likewise.
383 (__do_global_dtors_aux_fini_array_entry): Likewise.
384 (__frame_dummy_init_array_entry): Likewise.
385 (__CTOR_END__): Likewise.
386 (__DTOR_END__): Likweise.
387 (__FRAME_END__): Likewise.
388 (__TMC_END__): Likewise.
389
a9fcfec3
HL
3902019-08-20 Lili Cui <lilicui@intel.com>
391
392 * config/i386/cpuinfo.h: Add INTEL_COREI7_TIGERLAKE and
393 INTEL_COREI7_COOPERLAKE.
394
428642b1
MT
3952019-07-31 Matt Thomas <matt@3am-software.com>
396 Nick Hudson <nick@nthcliff.demon.co.uk>
397 Matthew Green <mrg@eterna.com.au>
398 Maya Rashish <coypu@sdf.org>
399
400 * config.host (hppa*-*-netbsd*): New case.
401 * config/pa/t-netbsd: New file.
402
f0efd925
JH
4032019-07-31 Joel Hutton <Joel.Hutton@arm.com>
404
405 * config/arm/cmse.c (cmse_check_address_range): Add
406 warn_unused_result attribute.
407
a861990d
ML
4082019-07-22 Martin Liska <mliska@suse.cz>
409
410 * config/pa/stublib.c: Remove stub symbol __gnu_lto_v1.
411 * config/pa/t-stublib: Likewise.
412
9c0dba7c
SH
4132019-07-22 Stafford Horne <shorne@gmail.com>
414
415 PR target/90362
416 * config/or1k/lib1funcs.S (__udivsi3): Change l.sfeqi
417 to l.sfeq and l.sfltsi to l.sflts equivalents as the immediate
418 instructions are not available on every processor. Change a
419 l.bnf to l.bf to fix logic issue.
420
61afc8f8
IS
4212019-07-04 Iain Sandoe <iain@sandoe.co.uk>
422
423 * config.host: Remove reference to t-darwin8.
424
179c7ef5
IS
4252019-07-03 Iain Sandoe <iain@sandoe.co.uk>
426
427 * config.host (powerpc-*-darwin*,powerpc64-*-darwin*): Revise crt
428 list.
429 * config/rs6000/t-darwin: Build crt3_2 for older systems. Revise
430 mmacosx-version-min for crts to run across all system versions.
431 * config/rs6000/t-darwin64 (LIB2ADD): Remove.
432 * config/t-darwin: Revise mmacosx-version-min for crts to run across
433 system versions >= 10.4.
434
596341c7
ML
4352019-07-03 Martin Liska <mliska@suse.cz>
436
437 * Makefile.in: Use topn_values instead of one_value names.
438 * libgcov-merge.c (__gcov_merge_single): Move to ...
439 (__gcov_merge_topn): ... this.
440 (merge_single_value_set): Move to ...
441 (merge_topn_values_set): ... this.
442 * libgcov-profiler.c (__gcov_one_value_profiler_body): Move to
443 ...
444 (__gcov_topn_values_profiler_body): ... this.
445 (__gcov_one_value_profiler_v2): Move to ...
446 (__gcov_topn_values_profiler): ... this.
447 (__gcov_one_value_profiler_v2_atomic): Move to ...
448 (__gcov_topn_values_profiler_atomic): ... this.
449 (__gcov_indirect_call_profiler_v4): Remove.
450 * libgcov-util.c (__gcov_single_counter_op): Move to ...
451 (__gcov_topn_counter_op): ... this.
452 * libgcov.h (L_gcov_merge_single): Remove.
453 (L_gcov_merge_topn): New.
454 (__gcov_merge_single): Remove.
455 (__gcov_merge_topn): New.
456 (__gcov_one_value_profiler_v2): Move to ..
457 (__gcov_topn_values_profiler): ... this.
458 (__gcov_one_value_profiler_v2_atomic): Move to ...
459 (__gcov_topn_values_profiler_atomic): ... this.
460
1b309ca5
ML
4612019-07-03 Martin Liska <mliska@suse.cz>
462
463 * libgcov-merge.c (merge_single_value_set): Support N values.
464 * libgcov-profiler.c (__gcov_one_value_profiler_body): Likewise.
465
5a460280
ID
4662019-06-27 Ilia Diachkov <ilia.diachkov@optimitech.com>
467
468 * Makefile.in (USE_TM_CLONE_REGISTRY): New.
469 (CRTSTUFF_CFLAGS): Use USE_TM_CLONE_REGISTRY.
470 * configure.ac: Add --disable-tm-clone-registry option.
471 * configure: Regenerate.
472
45309d28
ML
4732019-06-27 Martin Liska <mliska@suse.cz>
474
475 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Remove obviously
476 dead assignments.
477 * libgcov-util.c: Likewise.
478
c2f7a665
ML
4792019-06-27 Martin Liska <mliska@suse.cz>
480
481 * libgcov-util.c (gcov_profile_merge): Release allocated
482 memory.
483 (calculate_overlap): Likewise.
484
a8e55c61
IS
4852019-06-25 Iain Sandoe <iain@sandoe.co.uk>
486
487 * config.host: Add libef_ppc.a to the extra files for powerpc-darwin.
488 * config/rs6000/t-darwin: (PPC_ENDFILE_SRC, PPC_ENDFILE_OBJS): New.
489 Build objects for the out of line save/restore register functions
490 so that they can be used for any supported Darwin version.
491 * config/t-darwin: Default the build Darwin version to Darwin8
492 (MacOS 10.4).
493
e5ce4cbc
ML
4942019-06-25 Martin Liska <mliska@suse.cz>
495
496 * libgcov-driver-system.c (replace_filename_variables): Do not
497 call strlen with NULL argument.
498
52a47d28
AS
4992019-06-25 Andrew Stubbs <ams@codesourcery.com>
500
501 * config/gcn/t-amdgcn (LIB2ADD): Add unwind-gcn.c.
502 * config/gcn/unwind-gcn.c: New file.
503
76d46331
KCY
5042019-06-25 Kwok Cheung Yeung <kcy@codesourcery.com>
505 Andrew Stubbs <ams@codesourcery.com>
506
507 * configure: Regenerate.
508 * config/gcn/gthr-gcn.h: New.
509
787783a0
TV
5102019-06-18 Tom de Vries <tdevries@suse.de>
511
512 * config/nvptx/crt0.c (__main): Declare.
513
f32f7585
MG
5142019-06-17 Matthew Green <mrg@eterna.com.au>
515 Maya Rashish <coypu@sdf.org>
516
517 * config.host (aarch64*-*-netbsd*): New case.
518
0fcc78f7
JL
5192019-06-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
520
521 * config/msp430/slli.S (__mspabi_sllll): New library function for
522 performing a logical left shift of a 64-bit value.
523 * config/msp430/srai.S (__mspabi_srall): New library function for
524 performing a arithmetic right shift of a 64-bit value.
525 * config/msp430/srll.S (__mspabi_srlll): New library function for
526 performing a logical right shift of a 64-bit value.
527
b27c1082
MT
5282019-06-14 Matt Thomas <matt@3am-software.com>
529 Matthew Green <mrg@eterna.com.au>
530 Nick Hudson <skrll@netbsd.org>
531 Maya Rashish <coypu@sdf.org>
532
533 * config.host (arm*-*-netbsdelf*): Add support for EABI configurations.
534 * config/arm/t-netbsd (LIB1ASMFUNCS): Add some additional assembler
535 functions to build.
536 * config/arm/t-netbsd-eabi: New file.
537
ae7deb4b
DD
5382019-06-12 Dimitar Dimitrov <dimitar@dinux.eu>
539
540 * config.host: Add PRU target.
541 * config/pru/asri.c: New file.
542 * config/pru/eqd.c: New file.
543 * config/pru/eqf.c: New file.
544 * config/pru/ged.c: New file.
545 * config/pru/gef.c: New file.
546 * config/pru/gtd.c: New file.
547 * config/pru/gtf.c: New file.
548 * config/pru/led.c: New file.
549 * config/pru/lef.c: New file.
550 * config/pru/lib2bitcountHI.c: New file.
551 * config/pru/lib2divHI.c: New file.
552 * config/pru/lib2divQI.c: New file.
553 * config/pru/lib2divSI.c: New file.
554 * config/pru/libgcc-eabi.ver: New file.
555 * config/pru/ltd.c: New file.
556 * config/pru/ltf.c: New file.
557 * config/pru/mpyll.S: New file.
558 * config/pru/pru-abi.h: New file.
559 * config/pru/pru-asm.h: New file.
560 * config/pru/pru-divmod.h: New file.
561 * config/pru/sfp-machine.h: New file.
562 * config/pru/t-pru: New file.
563
0d7b3e47
JJ
5642019-06-11 Jakub Jelinek <jakub@redhat.com>
565
566 * libgcov-merge.c (__gcov_merge_single): Revert previous change.
567
54e2d83c
ML
5682019-06-10 Martin Liska <mliska@suse.cz>
569
570 PR bootstrap/90808
571 * libgcov.h: Add ATTRIBUTE_UNUSED.
572
92d41717
ML
5732019-06-10 Martin Liska <mliska@suse.cz>
574
575 * Makefile.in: Add __gcov_one_value_profiler_v2,
576 __gcov_one_value_profiler_v2_atomic and
577 __gcov_indirect_call_profiler_v4.
578 * libgcov-merge.c (__gcov_merge_single): Change
579 function signature.
580 (merge_single_value_set): New.
581 * libgcov-profiler.c (__gcov_one_value_profiler_body):
582 Update functionality.
583 (__gcov_one_value_profiler): Remove.
584 (__gcov_one_value_profiler_v2): ... this.
585 (__gcov_one_value_profiler_atomic): Rename to ...
586 (__gcov_one_value_profiler_v2_atomic): this.
587 (__gcov_indirect_call_profiler_v3): Rename to ...
588 (__gcov_indirect_call_profiler_v4): ... this.
589 * libgcov.h (__gcov_one_value_profiler): Remove.
590 (__gcov_one_value_profiler_atomic): Remove.
591 (__gcov_one_value_profiler_v2_atomic): New.
592 (__gcov_indirect_call_profiler_v3): Remove.
593 (__gcov_one_value_profiler_v2): New.
594 (__gcov_indirect_call_profiler_v4): New.
595 (gcov_get_counter_ignore_scaling): New function.
596
e37333ba
ML
5972019-06-07 Martin Liska <mliska@suse.cz>
598
599 * Makefile.in: Remove usage of
600 _gcov_merge_icall_topn.
601 * libgcov-driver.c (gcov_sort_n_vals): Remove.
602 (gcov_sort_icall_topn_counter): Likewise.
603 (gcov_sort_topn_counter_arrays): Likewise.
604 (dump_one_gcov): Remove call to gcov_sort_topn_counter_arrays.
605 * libgcov-merge.c (__gcov_merge_icall_topn): Remove.
606 * libgcov-profiler.c (__gcov_topn_value_profiler_body):
607 Likewise.
608 (GCOV_ICALL_COUNTER_CLEAR_THRESHOLD): Remove.
609 (struct indirect_call_tuple): Remove.
610 (__gcov_indirect_call_topn_profiler): Remove.
611 * libgcov-util.c (__gcov_icall_topn_counter_op): Remove.
612 * libgcov.h (gcov_sort_n_vals): Remove.
613 (L_gcov_merge_icall_topn): Likewise.
614 (__gcov_merge_icall_topn): Likewise.
615 (__gcov_indirect_call_topn_profiler): Likewise.
616
34a4a9c2
IS
6172019-06-06 Iain Sandoe <iain@sandoe.co.uk>
618
619 * config/rs6000/t-darwin: Ensure that the unwinder is built with
620 altivec enabled.
621
d1b2f85f
JL
6222019-06-06 Jozef Lawrynowicz <jozef.l@mittosystems.com>
623
624 * config/msp430/slli.S (__mspabi_slli_n): Put function in its own
625 section.
626 (__mspabi_slli): Likewise.
627 (__mspabi_slll_n): Likewise.
628 (__mspabi_slll): Likewise.
629 * config/msp430/srai.S (__mspabi_srai_n): Likewise.
630 (__mspabi_srai): Likewise.
631 (__mspabi_sral_n): Likewise.
632 (__mspabi_sral): Likewise.
633 * config/msp430/srli.S (__mspabi_srli_n): Likewise.
634 (__mspabi_srli): Likewise.
635 (__mspabi_srll_n): Likewise.
636 (__mspabi_srll): Likewise.
637
e69a13d1
YS
6382019-06-05 Yoshinori Sato <ysato@users.sourceforge.jp>
639
640 * config.host (rx-*-linux*): Add t-fdpbit to tmake_file
641 Add appropriate tm_file clause as well.
642 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Remove.
643
b009eac1
JC
6442019-06-05 James Clarke <jrtc27@jrtc27.com>
645
646 * config/ia64/crtbegin.S (__dso_handle): Put in .sdata/.sbss
647 rather than .data/.bss so it can be accessed via gp-relative
648 addressing.
649
781d39f2
DE
6502019-06-05 David Edelsohn <dje.gcc@gmail.com>
651
652 * config/rs6000/aix-unwind.h (LR_REGNO): Rename to R_LR.
653 (CR2_REGNO): Rename to R_CR2.
654 (XER_REGNO): Rename to R_XER.
655 (FIRST_ALTIVEC_REGNO): Rename to R_FIRST_ALTIVEC.
656 (VRSAVE_REGNO): Rename to R_VRSAVE.
657 (VSCR_REGNO): R_VSCR.
658
76aaa9cd
YS
6592019-05-29 Yoshinori Sato <ysato@users.sourceforge.jp>
660
661 * config.host (rx-*-linux*): Add new case.
662 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Force DFmode to SFmode.
663
8fc16d72
ST
6642019-05-29 Sam Tebbs <sam.tebbs@arm.com>
665
666 * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key): New
667 function.
668 * config/aarch64/aarch64-unwind.h (aarch64_post_extract_frame_addr,
669 aarch64_post_frob_eh_handler_addr): Add check for b-key.
670 * config/aarch64/aarch64-unwind-h (aarch64_post_extract_frame_addr,
671 aarch64_post_frob_eh_handler_addr, aarch64_post_frob_update_context):
672 Rename RA_A_SIGNED_BIT to RA_SIGNED_BIT.
673 * unwind-dw2-fde.c (get_cie_encoding): Add check for 'B' in augmentation
674 string.
675 * unwind-dw2.c (extract_cie_info): Add check for 'B' in augmentation
676 string.
677 (RA_A_SIGNED_BIT): Rename to RA_SIGNED_BIT.
678
e54b1a92
RO
6792019-05-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
680
681 * config/sparc/sol2-unwind.h [__arch64__] (sparc64_is_sighandler):
682 Remove Solaris 9 and 10 support.
683 (sparc_is_sighandler): Likewise.
684
abbb8307
JDA
6852019-05-26 John David Anglin <danglin@gcc.gnu.org>
686
687 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Add cast.
688
2581344d
L
6892019-05-17 H.J. Lu <hongjiu.lu@intel.com>
690
691 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
692 4_FP_W_TYPEs are used for IEEE quad precision.
693 * soft-fp/extendhftf2.c: Likewise.
694 * soft-fp/extendsftf2.c: Likewise.
695 * soft-fp/extendxftf2.c: Likewise.
696 * soft-fp/trunctfdf2.c: Likewise.
697 * soft-fp/trunctfhf2.c: Likewise.
698 * soft-fp/trunctfsf2.c: Likewise.
699 * soft-fp/trunctfxf2.c: Likewise.
700 * config/rs6000/ibm-ldouble.c: Likewise.
701
ccd1242e
RO
7022019-05-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
703
704 * config.host: Simplify various *-*-solaris2.1[0-9]* to
705 *-*-solaris2*.
706 * configure.ac: Likewise.
707 * configure: Regenerate.
708
709 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
710 Solaris 10 and Solaris 11 < snv_125 handling.
711
ef5eb79d
IS
7122019-05-12 Iain Sandoe <iain@sandoe.co.uk>
713
714 * config/rs6000/darwin-vecsave.S: Set .machine appropriately.
715
4f0e90fa
HL
7162019-05-07 Hongtao Liu <hongtao.liu@intel.com>
717
718 * config/i386/cpuinfo.c (get_available_features): Detect BF16.
719 * config/i386/cpuinfo.h (enum processor_features): Add
720 FEATURE_AVX512BF16.
721
48528842
RR
7222019-04-23 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
723 Bernd Edlinger <bernd.edlinger@hotmail.de>
724 Jakub Jelinek <jakub@redhat.com>
725
726 PR target/89093
727 * config/arm/pr-support.c: Add #pragma GCC target("general-regs-only").
728 * config/arm/unwind-arm.c: Likewise.
729 * unwind-c.c (PERSONALITY_FUNCTION): Add general-regs-only target
730 attribute for ARM.
731
887e182f
MC
7322019-04-15 Monk Chiang <sh.chiang04@gmail.com>
733
734 * config/nds32/linux-unwind.h (SIGRETURN): Remove.
735 (RT_SIGRETURN): Update.
736 (nds32_fallback_frame_state): Update.
737
a90b0cdd
MS
7382019-02-21 Martin Sebor <msebor@redhat.com>
739
740 * libgcc2.h (__clear_cache): Correct signature.
741 * libgcc2.c (__clear_cache): Same.
742
1ed28eda
UB
7432019-02-20 Uroš Bizjak <ubizjak@gmail.com>
744
745 * config/alpha/linux-unwind.h (alpha_fallback_frame_state):
746 Cast 'mcontext_t *' &rt_->uc.uc_mcontext to 'struct sigcontext *'.
747
fe95aee9
UB
7482019-02-19 Uroš Bizjak <ubizjak@gmail.com>
749
750 * unwind-dw2.c (_Unwind_GetGR) [DWARF_ZERO_REG]: Compare
751 regno instead of index to DWARF_ZERO_REG.
752
bf7988f1
EB
7532019-02-15 Eric Botcazou <ebotcazou@adacore.com>
754
755 * config/visium/lib2funcs.c (__set_trampoline_parity): Replace
756 TRAMPOLINE_SIZE with __LIBGCC_TRAMPOLINE_SIZE__.
757
ba2c1ca8
UB
7582019-01-31 Uroš Bizjak <ubizjak@gmail.com>
759
760 * config/alpha/t-linux: Add -mfp-rounding-mode=d
761 to HOST_LIBGCC2_CFLAGS.
762
6395ba73
L
7632019-01-23 Joseph Myers <joseph@codesourcery.com>
764
765 PR libgcc/88931
ba2c1ca8 766 * libgcc2.c (FSTYPE FUNC (DWtype u)): Correct no leading bits case.
6395ba73 767
756721ba
ML
7682019-01-18 Martin Liska <mliska@suse.cz>
769
770 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Rename
771 to ...
772 (__gcov_indirect_call_profiler_v3): ... this.
773 * libgcov.h (__gcov_indirect_call_profiler_v2): Likewise.
774 (__gcov_indirect_call_profiler_v3): Likewise.
775 * Makefile.in: Bump function name.
776
d273c40a
ML
7772019-01-18 Martin Liska <mliska@suse.cz>
778
779 * libgcov-driver.c (GCOV_PROF_PREFIX): Define.
780 (gcov_version): Use in gcov_error.
781 (merge_one_data): Likewise.
782 (dump_one_gcov): Likewise.
783
be9d9fdb
ML
7842019-01-18 Martin Liska <mliska@suse.cz>
785
786 * libgcov-driver.c (gcov_version_string): New function.
787 (gcov_version): Convert version integer into string.
788
91d7b7fe
AS
7892019-01-17 Andrew Stubbs <ams@codesourcery.com>
790 Kwok Cheung Yeung <kcy@codesourcery.com>
791 Julian Brown <julian@codesourcery.com>
792 Tom de Vries <tom@codesourcery.com>
793
794 * config.host: Recognize amdgcn*-*-amdhsa.
795 * config/gcn/crt0.c: New file.
796 * config/gcn/lib2-divmod-hi.c: New file.
797 * config/gcn/lib2-divmod.c: New file.
798 * config/gcn/lib2-gcn.h: New file.
799 * config/gcn/sfp-machine.h: New file.
800 * config/gcn/t-amdgcn: New file.
801
67914693
SL
8022019-01-09 Sandra Loosemore <sandra@codesourcery.com>
803
804 PR other/16615
805
806 * config/c6x/libunwind.S: Mechanically replace "can not" with
807 "cannot".
808 * config/tilepro/atomic.h: Likewise.
809 * config/vxlib-tls.c: Likewise.
810 * generic-morestack-thread.c: Likewise.
811 * generic-morestack.c: Likewise.
812 * mkmap-symver.awk: Likewise.
813
a5544970
JJ
8142019-01-01 Jakub Jelinek <jakub@redhat.com>
815
816 Update copyright years.
817
da77eace
L
8182018-12-20 H.J. Lu <hongjiu.lu@intel.com>
819
820 * unwind-pe.h (read_encoded_value_with_base): Add GCC pragma
821 to ignore -Waddress-of-packed-member.
822
72e3a529
TP
8232018-12-19 Thomas Preud'homme <thomas.preudhomme@linaro.org>
824
825 * /config/arm/lib1funcs.S (FUNC_START): Remove unused sp_section
826 parameter and corresponding code.
827 (ARM_FUNC_START): Likewise in both definitions.
828 Also update footer comment about condition that need to match with
829 gcc/config/arm/elf.h to also include libgcc/config/arm/t-arm.
830 * config/arm/ieee754-df.S (muldf3): Also build it if L_arm_muldf3 is
831 defined. Weakly define it in this case.
832 * config/arm/ieee754-sf.S (mulsf3): Likewise with L_arm_mulsf3.
833 * config/arm/t-elf (LIB1ASMFUNCS): Build _arm_muldf3.o and
834 _arm_mulsf3.o before muldiv versions if targeting Thumb-1 only. Add
835 comment to keep condition in sync with the one in
836 libgcc/config/arm/lib1funcs.S and gcc/config/arm/elf.h.
837
5d54c798
WX
8382018-12-18 Wei Xiao <wei3.xiao@intel.com>
839
840 * config/i386/cpuinfo.c (get_intel_cpu): Handle cascadelake.
841 * config/i386/cpuinfo.h: Add INTEL_COREI7_CASCADELAKE.
842
5a2580b6
RV
8432018-12-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
844
845 * config/rs6000/tramp.S (__trampoline_setup): Also emit .size
846 and .cfi_endproc directives for VxWorks targets.
847
c0c5112b
PK
8482018-12-05 Paul Koning <ni1d@arrl.net>
849
850 * udivmodhi4.c (__udivmodhi4): Fix loop end check.
851
1ea7ea18
AM
8522018-11-27 Alan Modra <amodra@gmail.com>
853
854 * config/rs6000/morestack.S (__stack_split_initialize),
855 (__morestack_get_guard, __morestack_set_guard),
856 (__morestack_make_guard): Provide CFI covering these functions.
857 * config/rs6000/tramp.S (__trampoline_setup): Likewise.
858
ff641ae1
XQ
8592018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
860
1ea7ea18 861 * config/csky/linux-unwind.h (sc_pt_regs): Update for kernel.
ff641ae1
XQ
862 (sc_pt_regs_lr): Update for kernel.
863 (sc_pt_regs_tls): Update for kernel.
864
28209372
XQ
8652018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
866
867 * config/csky/linux-unwind.h: Fix coding style.
868
b2a71af6
XQ
8692018-11-13 Xianmiao Qu <xianmiao_qu@c-sky.com>
870
871 * config/csky/linux-unwind.h (_sig_ucontext_t): Remove.
1ea7ea18 872 (csky_fallback_frame_state): Modify the check of the
b2a71af6
XQ
873 instructions to adapt to changes in the kernel
874
d929e137
SH
8752018-11-09 Stafford Horne <shorne@gmail.com>
876 Richard Henderson <rth@twiddle.net>
877
878 * config.host: Add OpenRISC support.
879 * config/or1k/*: New.
880
222cfefa
KC
8812018-11-08 Kito Cheng <kito@andestech.com>
882
883 * soft-fp/adddf3.c: Update from glibc.
884 * soft-fp/addsf3.c: Likewise.
885 * soft-fp/addtf3.c: Likewise.
886 * soft-fp/divdf3.c: Likewise.
887 * soft-fp/divsf3.c: Likewise.
888 * soft-fp/divtf3.c: Likewise.
889 * soft-fp/double.h: Likewise.
890 * soft-fp/eqdf2.c: Likewise.
891 * soft-fp/eqsf2.c: Likewise.
892 * soft-fp/eqtf2.c: Likewise.
893 * soft-fp/extenddftf2.c: Likewise.
894 * soft-fp/extended.h: Likewise.
895 * soft-fp/extendhftf2.c: Likewise.
896 * soft-fp/extendsfdf2.c: Likewise.
897 * soft-fp/extendsftf2.c: Likewise.
898 * soft-fp/extendxftf2.c: Likewise.
899 * soft-fp/fixdfdi.c: Likewise.
900 * soft-fp/fixdfsi.c: Likewise.
901 * soft-fp/fixdfti.c: Likewise.
902 * soft-fp/fixhfti.c: Likewise.
903 * soft-fp/fixsfdi.c: Likewise.
904 * soft-fp/fixsfsi.c: Likewise.
905 * soft-fp/fixsfti.c: Likewise.
906 * soft-fp/fixtfdi.c: Likewise.
907 * soft-fp/fixtfsi.c: Likewise.
908 * soft-fp/fixtfti.c: Likewise.
909 * soft-fp/fixunsdfdi.c: Likewise.
910 * soft-fp/fixunsdfsi.c: Likewise.
911 * soft-fp/fixunsdfti.c: Likewise.
912 * soft-fp/fixunshfti.c: Likewise.
913 * soft-fp/fixunssfdi.c: Likewise.
914 * soft-fp/fixunssfsi.c: Likewise.
915 * soft-fp/fixunssfti.c: Likewise.
916 * soft-fp/fixunstfdi.c: Likewise.
917 * soft-fp/fixunstfsi.c: Likewise.
918 * soft-fp/fixunstfti.c: Likewise.
919 * soft-fp/floatdidf.c: Likewise.
920 * soft-fp/floatdisf.c: Likewise.
921 * soft-fp/floatditf.c: Likewise.
922 * soft-fp/floatsidf.c: Likewise.
923 * soft-fp/floatsisf.c: Likewise.
924 * soft-fp/floatsitf.c: Likewise.
925 * soft-fp/floattidf.c: Likewise.
926 * soft-fp/floattihf.c: Likewise.
927 * soft-fp/floattisf.c: Likewise.
928 * soft-fp/floattitf.c: Likewise.
929 * soft-fp/floatundidf.c: Likewise.
930 * soft-fp/floatundisf.c: Likewise.
931 * soft-fp/floatunditf.c: Likewise.
932 * soft-fp/floatunsidf.c: Likewise.
933 * soft-fp/floatunsisf.c: Likewise.
934 * soft-fp/floatunsitf.c: Likewise.
935 * soft-fp/floatuntidf.c: Likewise.
936 * soft-fp/floatuntihf.c: Likewise.
937 * soft-fp/floatuntisf.c: Likewise.
938 * soft-fp/floatuntitf.c: Likewise.
939 * soft-fp/gedf2.c: Likewise.
940 * soft-fp/gesf2.c: Likewise.
941 * soft-fp/getf2.c: Likewise.
942 * soft-fp/half.h: Likewise.
943 * soft-fp/ledf2.c: Likewise.
944 * soft-fp/lesf2.c: Likewise.
945 * soft-fp/letf2.c: Likewise.
946 * soft-fp/muldf3.c: Likewise.
947 * soft-fp/mulsf3.c: Likewise.
948 * soft-fp/multf3.c: Likewise.
949 * soft-fp/negdf2.c: Likewise.
950 * soft-fp/negsf2.c: Likewise.
951 * soft-fp/negtf2.c: Likewise.
952 * soft-fp/op-1.h: Likewise.
953 * soft-fp/op-2.h: Likewise.
954 * soft-fp/op-4.h: Likewise.
955 * soft-fp/op-8.h: Likewise.
956 * soft-fp/op-common.h: Likewise.
957 * soft-fp/quad.h: Likewise.
958 * soft-fp/single.h: Likewise.
959 * soft-fp/soft-fp.h: Likewise.
960 * soft-fp/subdf3.c: Likewise.
961 * soft-fp/subsf3.c: Likewise.
962 * soft-fp/subtf3.c: Likewise.
963 * soft-fp/truncdfsf2.c: Likewise.
964 * soft-fp/trunctfdf2.c: Likewise.
965 * soft-fp/trunctfhf2.c: Likewise.
966 * soft-fp/trunctfsf2.c: Likewise.
967 * soft-fp/trunctfxf2.c: Likewise.
968 * soft-fp/unorddf2.c: Likewise.
969 * soft-fp/unordsf2.c: Likewise.
970 * soft-fp/unordtf2.c: Likewise.
971
2901f42f
VK
9722018-11-04 Venkataramanan Kumar <Venkataramanan.kumar@amd.com>
973
974 * config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
975 * config/i386/cpuinfo.h (processor_types): Add znver2.
976
4310ca66
PK
9772018-11-01 Paul Koning <ni1d@arrl.net>
978
979 * config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c.
980 (HOST_LIBGCC2_CFLAGS): Change to optimize for size.
981
22e05272
JM
9822018-10-31 Joseph Myers <joseph@codesourcery.com>
983
984 PR bootstrap/82856
985 * configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
986 * configure: Regenerate.
987
8180cde0
CZ
9882018-10-31 Claudiu Zissulescu <claziss@synopsys.com>
989
990 * config/arc/lib1funcs.S (_muldi3): New function.
991 * config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
992
be7b071e
RV
9932018-10-30 Rasmus Villemoes <rv@rasmusvillemoes.dk>
994
995 * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
996
3239d726
ML
9972018-10-25 Martin Liska <mliska@suse.cz>
998
999 PR other/87735
1000 * libgcov-profiler.c: Revert.
1001
19b55958
ML
10022018-10-24 Martin Liska <mliska@suse.cz>
1003
1004 * libgcov-profiler.c: Start from 1 in order to distinguish
1005 functions which were seen and these that were not.
1006
a9a2fddb
PK
10072018-10-18 Paul Koning <ni1d@arrl.net>
1008
1009 * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
1010 standard.
1011 * divmod.c: Update references to __udivmodsi4.
1012 * udivmod.c: Ditto.
1013 * udivhi3.c: New file.
1014 * udivmodhi4.c: New file.
1015 * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
1016
fc8abc46
RV
10172018-10-17 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1018
1019 * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
1020
87f918e3
OH
10212018-10-12 Olivier Hainque <hainque@adacore.com>
1022
1023 * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
1024 defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
1025
be86efa7
PK
10262018-10-08 Paul Koning <ni1d@arrl.net>
1027
1028 * config/pdp11/t-pdp11: Remove -mfloat32 switch.
1029
3edbcdbe
ML
10302018-10-04 Martin Liska <mliska@suse.cz>
1031
1032 PR gcov-profile/84107
1033 * libgcov-profiler.c (__gcov_indirect_call):
1034 Change type to indirect_call_tuple.
1035 (struct indirect_call_tuple): New struct.
1036 (__gcov_indirect_call_topn_profiler): Change type.
1037 (__gcov_indirect_call_profiler_v2): Use the new
1038 variables.
1039 * libgcov.h (struct indirect_call_tuple): New struct
1040 definition.
1041
af8096fc
UB
10422018-10-03 Uros Bizjak <ubizjak@gmail.com>
1043
1044 * libgcc2.c (isnan): Use __builtin_isnan.
1045 (isfinite): Use __builtin_isfinite.
1046 (isinf): Use __builtin_isinf.
1047
0a76bba4
UB
10482018-09-26 Uros Bizjak <ubizjak@gmail.com>
1049
1050 * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
1051
5244089f
OH
10522018-09-21 Alexandre Oliva <oliva@adacore.com>
1053
1054 * config/vxcache.c: New file. Provide __clear_cache, based on
1055 the cacheTextUpdate VxWorks service.
1056 * config/t-vxworks (LIB2ADD): Add vxcache.c.
1057 (LIB2FUNCS_EXCLUDE): Add _clear_cache.
1058 * config/t-vxwoks7: Likewise.
1059
512cc015
ML
10602018-09-21 Martin Liska <mliska@suse.cz>
1061
1062 * libgcov-driver.c (crc32_unsigned): Remove.
1063 (gcov_histogram_insert): Likewise.
1064 (gcov_compute_histogram): Likewise.
1065 (compute_summary): Simplify rapidly.
1066 (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
1067 (merge_summary): Rapidly simplify.
1068 (dump_one_gcov): Ignore gcov_summary.
1069 (gcov_do_dump): Do not handle program summary, it's not
1070 used.
1071 * libgcov-util.c (tag_summary): Remove.
1072 (read_gcda_finalize): Fix coding style.
1073 (read_gcda_file): Initialize curr_object_summary.
1074 (compute_summary): Remove.
1075 (calculate_overlap): Remove settings of run_max.
1076
36ff254b
MC
10772018-09-21 Monk Chiang <sh.chiang04@gmail.com>
1078
1079 * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
1080 ucontext_t type instead.
1081 (nds32_fallback_frame_state): Remove struct _sigframe statement.
1082
229a033d
KC
10832018-09-21 Kito Cheng <kito.cheng@gmail.com>
1084
1085 * config/nds32/t-nds32-glibc: New file.
1086
53c6feb2
RO
10872018-09-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1088
1089 * configure.ac (solaris_ld_v2_maps): New test.
1090 * configure: Regenerate.
1091 * Makefile.in (solaris_ld_v2_maps): New variable.
1092 * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
1093 if supported.
1094
ebdb6f23
RE
10952018-08-23 Richard Earnshaw <rearnsha@arm.com>
1096
1097 PR target/86951
1098 * config/arm/lib1funcs.asm (speculation_barrier): New function.
1099 * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
1100 to build.
1101
a49c064e
IS
11022018-08-22 Iain Sandoe <iain@sandoe.co.uk>
1103
1ea7ea18 1104 * config/unwind-dw2-fde-darwin.c
a49c064e
IS
1105 (_darwin10_Unwind_FindEnclosingFunction): move from here ...
1106 * config/darwin10-unwind-find-enc-func.c: … to here.
1107 * config/t-darwin: Build Darwin10 unwinder shim crt.
1108 * libgcc/config.host: Add the Darwin10 unwinder shim.
1109
9a5b8df7
RV
11102018-08-21 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1111
1112 * config.host: Add crtbegin.o and crtend.o for
1113 powerpc-wrs-vxworks target.
1114
4cd0bc3b
J
11152018-08-17 Jojo <jijie_rong@c-sky.com>
1116 Huibin Wang <huibin_wang@c-sky.com>
1117 Sandra Loosemore <sandra@codesourcery.com>
1118 Chung-Lin Tang <cltang@codesourcery.com>
1119
1120 C-SKY port: libgcc
1121
1122 * config.host: Add C-SKY support.
1123 * config/csky/*: New.
1124
a4931745
CJW
11252018-08-12 Chung-Ju Wu <jasonwucj@gmail.com>
1126
1127 * config/nds32/t-nds32-isr: Rearrange object dependency.
1128 * config/nds32/initfini.c: Add dwarf2 unwinding support.
1129 * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
1130 and registers usage.
1131 * config/nds32/isr-library/excp_isr.S: Ditto.
1132 * config/nds32/isr-library/intr_isr.S: Ditto.
1133 * config/nds32/isr-library/reset.S: Ditto.
1134 * config/nds32/isr-library/restore_all.inc: Ditto.
1135 * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
1136 * config/nds32/isr-library/restore_partial.inc: Ditto.
1137 * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
1138 * config/nds32/isr-library/save_all.inc: Ditto.
1139 * config/nds32/isr-library/save_mac_regs.inc: Ditto.
1140 * config/nds32/isr-library/save_partial.inc: Ditto.
1141 * config/nds32/isr-library/save_usr_regs.inc: Ditto.
1142 * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
1143
2b1969f6
JDA
11442018-08-11 John David Anglin <danglin@gcc.gnu.org>
1145
1146 * config/pa/linux-atomic.c: Update comment.
1147 (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
1148 COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
1149 SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
1150 __ATOMIC_RELAXED for atomic loads.
1151 (SYNC_LOCK_RELEASE_1): New define. Use __sync_synchronize() and
1152 unordered store to release lock.
1153 (__sync_lock_release_8): Likewise.
1154 (SYNC_LOCK_RELEASE_2): Remove define.
af8096fc 1155
89fff9cc
NP
11562018-08-02 Nicolas Pitre <nico@fluxnic.net>
1157
1158 PR libgcc/86512
1159 * config/arm/ieee754-df.S: Don't shortcut denormal handling when
1160 exponent goes negative. Update my email address.
1161 * config/arm/ieee754-sf.S: Likewise.
1162
fd2e1dcd
ML
11632018-08-01 Martin Liska <mliska@suse.cz>
1164
1165 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
92a285c1 1166 check that __gcov_indirect_call_callee is non-null.
fd2e1dcd 1167
b7415975
CL
11682018-07-30 Christophe Lyon <christophe.lyon@linaro.org>
1169
1170 * config/arm/ieee754-df.S: Fix comment for code working on
1171 architectures >= 4.
1172 * config/arm/ieee754-sf.S: Likewise.
1173
b72e71a3
L
11742018-07-27 H.J. Lu <hongjiu.lu@intel.com>
1175
1176 PR libgcc/85334
1177 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
1178 Removed.
1179
1c686aa4
JC
11802018-07-05 James Clarke <jrtc27@jrtc27.com>
1181
1182 * configure: Regenerated.
1183
b61c9b99
RO
11842018-06-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1185
1186 * Makefile.in (install_leaf): Use enable_gcov instead of
1187 enable_libgcov.
1188
1765b023
RV
11892018-06-27 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1190
1191 * configure.ac: Add --disable-gcov option.
1192 * configure: Regenerate.
1193 * Makefile.in: Honour @enable_gcov@.
1194
9b2e34ef
CL
11952018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
1196
1197 * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
1198 __ARM_ARCH and __ARM_FEATURE_CLZ instead.
1199 (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
1200 * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
1201 __ARM_ARCH__.
1202 * config/arm/ieee754-sf.S: Likewise.
1203 * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
1204
d1b0dd54
CL
12052018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
1206
1207 * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
1208 longer supported.
1209 * config/arm/ieee754-sf.S: Likewise.
1210
1f3fa525
TM
12112018-06-20 Than McIntosh <thanm@google.com>
1212
1213 PR libgcc/86213
1214 * generic-morestack.c (allocate_segment): Move calls to getenv and
1215 getpagesize to __morestack_load_mmap.
1216 (__morestack_load_mmap) Initialize static_pagesize and
1217 use_guard_page here so as to avoid clobbering SSE regs during a
1218 __morestack call.
1219
6a8886e4
MM
12202018-06-18 Michael Meissner <meissner@linux.ibm.com>
1221
1222 * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
1223 support modules with -mno-gnu-attribute.
1224 * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
1225
fb997097
OH
12262018-06-07 Olivier Hainque <hainque@adacore.com>
1227
1228 * config/t-vxworks (LIBGCC_INCLUDES): Add
1229 -I$(MULTIBUILDTOP)../../gcc/include.
1230 * config/t-vxworks7: Likewise. Reformat a bit to match
1231 the t-vxworks layout.
1232
a548a5a1
OM
12332018-06-07 Olga Makhotina <olga.makhotina@intel.com>
1234
1235 * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
1236
244aebfd
ML
12372018-06-07 Martin Liska <mliska@suse.cz>
1238
1239 * libgcov-driver.c: Rename cs_all to all and assign it from
92a285c1 1240 all_prg.
244aebfd 1241
6c086e8c
ML
12422018-06-07 Martin Liska <mliska@suse.cz>
1243
92a285c1 1244 PR bootstrap/86057
6c086e8c 1245 * libgcov-driver-system.c (replace_filename_variables): Use
92a285c1 1246 memcpy instead of mempcpy.
6c086e8c 1247 (allocate_filename_struct): Do not allocate filename, allocate
92a285c1 1248 prefix and set it.
6c086e8c 1249 (gcov_exit_open_gcda_file): Allocate memory for gf->filename
92a285c1 1250 here and properly copy content into it.
6c086e8c 1251 * libgcov-driver.c (struct gcov_filename): Remove max_length
92a285c1 1252 field, change prefix from size_t into char *.
6c086e8c
ML
1253 (compute_summary): Do not calculate longest filename.
1254 (gcov_do_dump): Release memory of gf.filename after each file.
1255 * libgcov-util.c (compute_summary): Use new signature of
92a285c1 1256 compute_summary.
6c086e8c
ML
1257 (calculate_overlap): Likewise.
1258
97a53d1d
ML
12592018-06-05 Martin Liska <mliska@suse.cz>
1260
1261 PR gcov-profile/47618
1262 * libgcov-driver-system.c (replace_filename_variables): New
92a285c1 1263 function.
97a53d1d
ML
1264 (gcov_exit_open_gcda_file): Use it.
1265
7f3577f5
ML
12662018-06-05 Martin Liska <mliska@suse.cz>
1267
1268 * libgcov-driver.c (gcov_compute_histogram): Remove usage
1269 of gcov_ctr_summary.
1270 (compute_summary): Do it just for a single summary.
1271 (merge_one_data): Likewise.
1272 (merge_summary): Simplify as we read just single summary.
1273 (dump_one_gcov): Pass proper argument.
1274 * libgcov-util.c (compute_one_gcov): Simplify as we have just
1275 single summary.
1276 (gcov_info_count_all_cold): Likewise.
1277 (calculate_overlap): Likewise.
1278
cf3cd43d
CJW
12792018-06-02 Chung-Ju Wu <jasonwucj@gmail.com>
1280 Monk Chiang <sh.chiang04@gmail.com>
1281
1282 * config.host (nds32*-linux*): New.
1283 * config/nds32/linux-atomic.c: New file.
1284 * config/nds32/linux-unwind.h: New file.
1285
8b8003ed
UB
12862018-05-31 Uros Bizjak <ubizjak@gmail.com>
1287
1288 PR target/85591
1289 * config/i386/cpuinfo.c (get_amd_cpu): Return
1290 AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
1291
bbdf026f
RV
12922018-05-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
1293
92a285c1 1294 * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
bbdf026f 1295
0e8f29da
ML
12962018-05-29 Martin Liska <mliska@suse.cz>
1297
92a285c1 1298 PR gcov-profile/85759
0e8f29da 1299 * libgcov-driver-system.c (gcov_error): Introduce usage of
92a285c1 1300 GCOV_EXIT_AT_ERROR env. variable.
0e8f29da 1301 * libgcov-driver.c (merge_one_data): Print error that we
92a285c1 1302 overwrite a gcov file with a different timestamp.
0e8f29da 1303
54fd1590
K
13042018-05-23 Kalamatee <kalamatee@gmail.com>
1305
1306 * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
1307 path to Lf$finfty.
1308
09baee1a
KC
13092018-05-18 Kito Cheng <kito.cheng@gmail.com>
1310 Monk Chiang <sh.chiang04@gmail.com>
1311 Jim Wilson <jimw@sifive.com>
1312
1313 * config/riscv/save-restore.S: Add support for rv32e.
1314
c3f808d3
KT
13152018-05-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1316
1317 * config/arm/libunwind.S: Update comment relating to armv5.
1318
fcf4f831
JL
13192018-05-17 Jerome Lambourg <lambourg@adacore.com>
1320
1321 * config/arm/cmse.c (cmse_check_address_range): Replace
1322 UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
1323
74b2bb19
OM
13242018-05-17 Olga Makhotina <olga.makhotina@intel.com>
1325
1326 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
1327 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
1328
50e461df
OM
13292018-05-08 Olga Makhotina <olga.makhotina@intel.com>
1330
1331 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
1332 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
1333
e5f1cdb1
AC
13342018-05-07 Amaan Cheval <amaan.cheval@gmail.com>
1335
1336 * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
1337
8f479d7a
AT
13382018-04-27 Andreas Tobler <andreast@gcc.gnu.org>
1339 Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
1340
1341 PR libgcc/84292
1342 * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
1343 op_and_fetch to return the right result.
1344
ae043291
AM
13452018-04-27 Alan Modra <amodra@gmail.com>
1346
1347 PR libgcc/85532
1348 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
1349 -fno-asynchronous-unwind-tables.
1350
ba169b74
CJW
13512018-04-25 Chung-Ju Wu <jasonwucj@gmail.com>
1352
1353 * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
1354 * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
1355
ffc2fc06
L
13562018-04-24 H.J. Lu <hongjiu.lu@intel.com>
1357
1358 * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
1359 when including "config/i386/shadow-stack-unwind.h".
1360
7b47ecf2
L
13612018-04-24 H.J. Lu <hongjiu.lu@intel.com>
1362
1363 * configure: Regenerated.
1364
661eb8f9
MM
13652018-04-20 Michael Meissner <meissner@linux.ibm.com>
1366
1367 PR target/85456
1368 * config/rs6000/_powikf2.c: New file. Add support for the
1369 __builtin_powil function when long double is IEEE 128-bit floating
1370 point.
1371 * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
1372 __powikf2 support.
1373 (__powikf2): Likewise.
1374 * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
1375 (__powikf2_hw): Likewise.
1376 (__powikf2): Likewise.
1377 * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
1378 * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
1379 (_powikf2-hw.c): Likewise.
1380
5707be3c
L
13812018-04-19 H.J. Lu <hongjiu.lu@intel.com>
1382
1383 PR libgcc/85334
1384 * unwind-generic.h (_Unwind_Frames_Increment): New.
1385 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
1386 Likewise.
1387 * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
1388 count with _Unwind_Frames_Increment.
1389 (_Unwind_ForcedUnwind_Phase2): Likewise.
1390
5f9ca0b8
L
13912018-04-19 H.J. Lu <hongjiu.lu@intel.com>
1392
1393 PR libgcc/85379
1394 * config/i386/morestack.S (__stack_split_initialize): Add
1395 _CET_ENDBR.
1396
a0e1df88
JJ
13972018-04-19 Jakub Jelinek <jakub@redhat.com>
1398
1399 * configure: Regenerated.
1400
001ddaa8
DM
14012018-04-18 David Malcolm <dmalcolm@redhat.com>
1402
1403 PR jit/85384
1404 * configure: Regenerate.
1405
a57f99ba
JJ
14062018-04-16 Jakub Jelinek <jakub@redhat.com>
1407
1408 PR target/84945
1409 * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
1410 -Wdangling-else warnings. Mask shift counts to avoid
1411 -Wshift-count-negative and -Wshift-count-overflow false positives.
1412
4d47fe5a
RB
14132018-04-06 Ruslan Bukin <br@bsdpad.com>
1414
1415 * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
1416
059cc8ac
L
14172018-03-29 H.J. Lu <hongjiu.lu@intel.com>
1418
1419 PR target/85100
1420 * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
1421 (XSTATE_FP): Likewise.
1422 (XSTATE_SSE): Likewise.
1423 (XSTATE_YMM): Likewise.
1424 (XSTATE_OPMASK): Likewise.
1425 (XSTATE_ZMM): Likewise.
1426 (XSTATE_HI_ZMM): Likewise.
1427 (XCR_AVX_ENABLED_MASK): Likewise.
1428 (XCR_AVX512F_ENABLED_MASK): Likewise.
1429 (get_available_features): Enable AVX and AVX512 features only
1430 if their states are supported by OSXSAVE.
1431
f2620385
IT
14322018-03-22 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1433
1434 PR target/85025
1435 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
1436 Fix a typo, tmp => 255.
1437
ae6dca8c
JJ
14382018-03-20 Jakub Jelinek <jakub@redhat.com>
1439
1440 PR target/84945
1441 * config/i386/cpuinfo.h (__cpu_features2): Declare.
1442 * config/i386/cpuinfo.c (__cpu_features2): New variable for
1443 ifndef SHARED only.
1444 (set_feature): Define.
1445 (get_available_features): Use set_feature macro. Set __cpu_features2
1446 to the second word of features ifndef SHARED.
1447
c36b04c1
JK
14482018-03-15 Julia Koval <julia.koval@intel.com>
1449
1450 * config/i386/cpuinfo.c (get_available_features): Add
1451 FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
1452 FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
1453 * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
1454 FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
1455 FEATURE_AVX512BITALG.
1456
79ab5364
JK
14572018-03-14 Julia Koval <julia.koval@intel.com>
1458
1459 * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
1460 icelake client and icelake server.
1461
66a00b11
JDA
14622018-03-06 John David Anglin <danglin@gcc.gnu.org>
1463
1464 * config/pa/fptr.c (_dl_read_access_allowed): New.
1465 (__canonicalize_funcptr_for_compare): Use it.
af8096fc 1466
ce579a4f
JJ
14672018-02-28 Jakub Jelinek <jakub@redhat.com>
1468
1469 PR debug/83917
1470 * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
1471 $asm_hidden_op if visibility ("hidden") attribute works.
1472 (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
1473 * config/i386/i386-asm.h: Don't include auto-host.h.
1474 (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
1475 PACKAGE_URL): Don't undefine.
1476 (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
1477 guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
1478 (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
1479 #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
1480 definition instead of hardcoded .hidden.
1481 * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
1482 directive. Use #ifdef HAVE_AS_CFI_SECTIONS rather than
1483 #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
1484 (USE_GAS_CFI_DIRECTIVES): Don't define.
1485 * configure: Regenerated.
1486 * config.in: Likewise.
1487
e5868319
JJ
14882018-02-26 Jakub Jelinek <jakub@redhat.com>
1489
1490 PR debug/83917
1491 * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
1492 PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
1493 inclusion of auto-target.h and auto-host.h.
1494 (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
1495 __GCC_HAVE_DWARF2_CFI_ASM.
1496 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
1497 cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
1498 cfi_pop): Define.
1499 * config/i386/cygwin.S: Don't include auto-host.h here, just
1500 define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
1501 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
1502 cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
1503 * config/i386/resms64fx.h: Add cfi_* directives.
1504 * config/i386/resms64x.h: Likewise.
1505
faef260e
MF
15062018-02-20 Max Filippov <jcmvbkbc@gmail.com>
1507
1508 * config/xtensa/ieee754-df.S (__adddf3_aux): Add
1509 .literal_position directive.
1510 * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
1511
14e335ed
IT
15122018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1513
1514 PR target/84148
1515 * configure: Regenerate.
1516
95df0433
IT
15172018-02-16 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1518
1519 PR target/84239
1520 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
1521 Include cetintrin.h not x86intrin.h.
1522
f8de876d
IT
15232018-02-08 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1524
1525 PR target/84239
95df0433 1526 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
f8de876d
IT
1527 Use new _get_ssp and _inc_ssp intrinsics.
1528
02da1e9c
JK
15292018-02-02 Julia Koval <julia.koval@intel.com>
1530
1531 * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
1532
048c6a9a
CZ
15332018-01-26 Claudiu Zissulescu <claziss@synopsys.com>
1534
1535 * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
1536 option.
1537 (__divsi3): Use RF16 safe registers.
1538 (__modsi3): Likewise.
1539
0889f168
MF
15402018-01-23 Max Filippov <jcmvbkbc@gmail.com>
1541
1542 * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
1543 (__divsf3): Make NaN return value quiet.
1544 * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
1545 (__divdf3): Make NaN return value quiet.
1546
bc8b0d04
SP
15472018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
1548
1549 * config/rl78/anddi3.S: New assembly file.
1550 * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
1551
99cc06ea
SP
15522018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
1553
1554 * config/rl78/umindi3.S: New assembly file.
1555 * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
1556
6e9007a0
SP
15572018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
1558
1559 * config/rl78/smindi3.S: New assembly file.
1560 * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
1561
d975e494 15622018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
af8096fc 1563
d975e494
SP
1564 * config/rl78/smaxdi3.S: New assembly file.
1565 * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
1566
6a18c146 15672018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
af8096fc 1568
5dd16013
SP
1569 * config/rl78/umaxdi3.S: New assembly file.
1570 * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
af8096fc 1571
07baf4a5
JDA
15722018-01-21 John David Anglin <danglin@gcc.gnu.org>
1573
1574 PR lto/83452
1575 * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
1576 * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
af8096fc 1577
dbc3af4f
RS
15782018-01-13 Richard Sandiford <richard.sandiford@linaro.org>
1579
1580 * config/aarch64/value-unwind.h (aarch64_vg): New function.
1581 (DWARF_LAZY_REGISTER_VALUE): Define.
1582 * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
1583 to provide a fallback register value.
1584
68df9882
MM
15852018-01-08 Michael Meissner <meissner@linux.vnet.ibm.com>
1586
1587 * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
1588 __ibm128, instead of trying to use long double.
1589 (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
1590 accomidate -mabi=ieeelongdouble multilibs.
1591 (CVT_IBM128_TO_FLOAT128): Likewise.
1592 * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
1593 the appropriate IBM extended double type.
1594 (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
1595 (__gcc_qsub): Likewise.
1596 (__gcc_qmul): Likewise.
1597 (__gcc_qdiv): Likewise.
1598 (pack_ldouble): Likewise.
1599 (__gcc_qneg): Likewise.
1600 (__gcc_qeq): Likewise.
1601 (__gcc_qne): Likewise.
1602 (__gcc_qge): Likewise.
1603 (__gcc_qle): Likewise.
1604 (__gcc_stoq): Likewise.
1605 (__gcc_dtoq): Likewise.
1606 (__gcc_itoq): Likewise.
1607 (__gcc_utoq): Likewise.
1608 (__gcc_qunord): Likewise.
1609 * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
1610 quad-float128.h for the definitions.
1611 (COPYSIGN): Use the f128 version instead of the q version.
1612 (INFINITY): Likewise.
1613 (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
1614 * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
1615 quad-float128.h for the definitions.
1616 (COPYSIGN): Use the f128 version instead of the q version.
1617 (INFINITY): Likewise.
1618 (FABS): Likewise.
1619 (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
1620 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
1621 * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
1622
64b371b1
SH
16232018-01-05 Sebastian Huber <sebastian.huber@embedded-brains.de>
1624
1625 * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
1626 configuration.
1627
85ec4feb
JJ
16282018-01-03 Jakub Jelinek <jakub@redhat.com>
1629
1630 Update copyright years.
1631
16322017-12-12 Kito Cheng <kito.cheng@gmail.com>
b8d7e076
KC
1633
1634 * config/riscv/t-elf: Use multi3.c instead of multi3.S.
1635 * config/riscv/multi3.c: New file.
1636 * config/riscv/multi3.S: Remove.
1637
3a4c600f
JW
16382017-12-08 Jim Wilson <jimw@sifive.com>
1639
1640 * config/riscv/div.S: Use FUNC_* macros.
1641 * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
1642 * config/riscv/save-restore.S: Likewise.
1643 * config/riscv/riscv-asm.h: New.
1644
75ad35b5
MM
16452017-11-30 Michael Meissner <meissner@linux.vnet.ibm.com>
1646
6ae3512c
MM
1647 * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
1648 * config/rs6000/_divkc3.c (__divkc3): Likewise.
1649
75ad35b5
MM
1650 PR libgcc/83112
1651 * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
1652 correct type for all ifunc resolvers to silence -Wattribute-alias
1653 warnings. Eliminate the forward declaration of the resolver
1654 functions which is no longer needed.
1655 (__subkf3_resolve): Likewise.
1656 (__mulkf3_resolve): Likewise.
1657 (__divkf3_resolve): Likewise.
1658 (__negkf2_resolve): Likewise.
1659 (__eqkf2_resolve): Likewise.
1660 (__nekf2_resolve): Likewise.
1661 (__gekf2_resolve): Likewise.
1662 (__gtkf2_resolve): Likewise.
1663 (__lekf2_resolve): Likewise.
1664 (__ltkf2_resolve): Likewise.
1665 (__unordkf2_resolve): Likewise.
1666 (__extendsfkf2_resolve): Likewise.
1667 (__extenddfkf2_resolve): Likewise.
1668 (__trunckfsf2_resolve): Likewise.
1669 (__trunckfdf2_resolve): Likewise.
1670 (__fixkfsi_resolve): Likewise.
1671 (__fixkfdi_resolve): Likewise.
1672 (__fixunskfsi_resolve): Likewise.
1673 (__fixunskfdi_resolve): Likewise.
1674 (__floatsikf_resolve): Likewise.
1675 (__floatdikf_resolve): Likewise.
1676 (__floatunsikf_resolve): Likewise.
1677 (__floatundikf_resolve): Likewise.
1678 (__extendkftf2_resolve): Likewise.
1679 (__trunctfkf2_resolve): Likewise.
1680
1681 PR libgcc/83103
1682 * config/rs6000/quad-float128.h (TF): Don't define if long double
1683 is IEEE 128-bit floating point.
1684 (TCtype): Define as either TCmode or KCmode, depending on whether
1685 long double is IEEE 128-bit floating point.
1686 (__mulkc3_sw): Add declarations for software/hardware versions of
1687 complex multiply/divide.
1688 (__divkc3_sw): Likewise.
1689 (__mulkc3_hw): Likewise.
1690 (__divkc3_hw): Likewise.
1691 * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
1692 handlers to switch between using software emulation and hardware
1693 float128 instructions, build the complex multiply/divide functions
1694 for both software and hardware support.
1695 * config/rs6000/_divkc3.c (_divkc3): Likewise.
1696 * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
1697 (__divkc3_resolve): Likewise.
1698 (__mulkc3): Likewise.
1699 (__divkc3): Likewise.
1700 * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
1701 (fp128_hw_src): Likewise.
1702 (fp128_hw_static_obj): Likewise.
1703 (fp128_hw_shared_obj): Likewise.
1704 (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
1705 _mulkc3.c and _divkc3.c, changing the function name.
1706 (_divkc3-hw.c): Likewise.
1707 * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
1708 and _divkc3-hw.c.
1709
c234d831
UB
17102017-11-26 Julia Koval <julia.koval@intel.com>
1711
1712 * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
1713 * config/i386/cpuinfo.h (processor_subtypes): Add
1714 INTEL_COREI7_CANNONLAKE.
1715
1ebafce0
IT
17162017-11-20 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1717
1718 PR bootstrap/83015
1719 * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
1720 parameter.
1721 * config/xtensa/unwind-dw2-xtensa.c: Likewise
1722 * config/ia64/unwind-ia64.c: Add frames parameter.
1723 * unwind-sjlj.c: Likewise.
1724
6a10fff4
IT
17252017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1726
1727 * config/i386/linux-unwind.h: Include
1728 config/i386/shadow-stack-unwind.h.
1729 * config/i386/shadow-stack-unwind.h: New file.
1730 * unwind-dw2.c: (uw_install_context): Add a frame parameter and
1731 pass it to _Unwind_Frames_Extra.
1732 * unwind-generic.h (_Unwind_Frames_Extra): New.
1733 * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
1734 parameter. Add local variable frames to count number of frames.
1735 (_Unwind_ForcedUnwind_Phase2): Likewise.
1736 (_Unwind_RaiseException): Add local variable frames to count
1737 number of frames, pass it to _Unwind_RaiseException_Phase2 and
1738 uw_install_context.
1739 (_Unwind_ForcedUnwind): Likewise.
1740 (_Unwind_Resume): Likewise.
1741 (_Unwind_Resume_or_Rethrow): Likewise.
1742
1ecae1fc
IT
17432017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1744
1745 * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
1746 (CET_FLAGS): New.
1747 * config/i386/morestack.S: Include <cet.h>.
1748 (__morestack_large_model): Add _CET_ENDBR at function entrance.
1749 * config/i386/resms64.h: Include <cet.h>.
1750 * config/i386/resms64f.h: Likewise.
1751 * config/i386/resms64fx.h: Likewise.
1752 * config/i386/resms64x.h: Likewise.
1753 * config/i386/savms64.h: Likewise.
1754 * config/i386/savms64f.h: Likewise.
1755 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
1756 (CRTSTUFF_T_CFLAGS): Likewise.
1757 * configure.ac: Include ../config/cet.m4.
1758 Set and substitute CET_FLAGS.
1759 * configure: Regenerated.
1760
f021f1d3
RO
17612017-11-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1762
1763 * config.host (*-*-solaris2*): Adapt comment for Solaris 12
1764 renaming.
1765 * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
1766 * configure.ac (libgcc_cv_solaris_crts): Likewise.
1767 * configure: Regenerate.
1768
65f480c7
TV
17692017-11-07 Tom de Vries <tom@codesourcery.com>
1770
1771 * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
1772 after "do {} while (0)".
1773
2a321acb
TV
17742017-11-07 Tom de Vries <tom@codesourcery.com>
1775
1776 PR other/82784
1777 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
1778 semicolon after "do {} while (0)".
1779 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1780 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1781 * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1782 * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1783
59fcf6c3
AT
17842017-11-04 Andreas Tobler <andreast@gcc.gnu.org>
1785
1786 PR libgcc/82635
1787 * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
1788 sysctl to determine whether we're in a trampoline.
1789 Keep the pattern matching method for systems without
1790 KERN_PROC_SIGTRAMP sysctl.
1791
b0c7ddf8
CM
17922017-11-03 Cupertino Miranda <cmiranda@synopsys.com>
1793 Vineet Gupta <vgupta@synopsys.com>
1794
1795 * config.host (arc*-*-linux*): Set md_unwind_header variable.
1796 * config/arc/linux-unwind-reg.def: New file.
1797 * config/arc/linux-unwind-reg.h: Likewise.
1798
5feee954
SP
17992017-10-23 Sebastian Perta <sebastian.perta@renesas.com>
1800
1801 * config/rl78/subdi3.S: New assembly file.
1802 * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
1803
a0bf6cf7
SP
18042017-10-13 Sebastian Perta <sebastian.perta@renesas.com>
1805
1806 * config/rl78/adddi3.S: New assembly file.
1807 * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
1808
e7176f75
JJ
18092017-10-13 Jakub Jelinek <jakub@redhat.com>
1810
1811 PR target/82274
1812 * libgcc2.c (__mulvDI3): If both operands have
1813 the same highpart of -1 and the topmost bit of lowpart is 0,
1814 multiplication overflows even if both lowparts are 0.
1815
db6601d2
JB
18162017-09-28 James Bowman <james.bowman@ftdichip.com>
1817
1818 * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
1819
938b6f1e
JM
18202017-09-26 Joseph Myers <joseph@codesourcery.com>
1821
1822 * config/microblaze/crti.S, config/microblaze/crtn.S,
1823 config/microblaze/divsi3.S, config/microblaze/moddi3.S,
1824 config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
1825 config/microblaze/mulsi3.S,
1826 config/microblaze/stack_overflow_exit.S,
1827 config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
1828 config/pa/milli64.S: Add .note.GNU-stack section.
1829
89762a83
DS
18302017-09-23 Daniel Santos <daniel.santos@pobox.com>
1831
1832 * configure.ac: Add Check for HAVE_AS_AVX.
1833 * config.in: Regenerate.
1834 * configure: Likewise.
1835 * config/i386/i386-asm.h: Include auto-target.h from libgcc.
1836 (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
1837 Correct out-of-date comments.
1838
cace2309
SP
18392017-09-20 Sebastian Peryt <sebastian.peryt@intel.com>
1840
1841 * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
1842 * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
1843
3cb626e4
DS
18442017-09-17 Daniel Santos <daniel.santos@pobox.com>
1845
cace2309 1846 * config/i386/i386-asm.h (PASTE2): New macro.
3cb626e4
DS
1847 (ASMNAME): Modify to use PASTE2.
1848 (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
1849 (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
cace2309 1850 * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
3cb626e4 1851 instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
cace2309
SP
1852 * config/i386/resms64f.S: Likewise.
1853 * config/i386/resms64fx.S: Likewise.
1854 * config/i386/resms64x.S: Likewise.
1855 * config/i386/savms64.S: Likewise.
1856 * config/i386/savms64f.S: Likewise.
1857 * config/i386/avx_resms64.S: New file that only defines a macro and
3cb626e4 1858 includes it's corresponding header file.
cace2309
SP
1859 * config/i386/avx_resms64f.S: Likewise.
1860 * config/i386/avx_resms64fx.S: Likewise.
1861 * config/i386/avx_resms64x.S: Likewise.
1862 * config/i386/avx_savms64.S: Likewise.
1863 * config/i386/avx_savms64f.S: Likewise.
1864 * config/i386/sse_resms64.S: Likewise.
1865 * config/i386/sse_resms64f.S: Likewise.
1866 * config/i386/sse_resms64fx.S: Likewise.
1867 * config/i386/sse_resms64x.S: Likewise.
1868 * config/i386/sse_savms64.S: Likewise.
1869 * config/i386/sse_savms64f.S: Likewise.
1870 * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
3cb626e4 1871
2f19c491 18722017-09-01 Olivier Hainque <hainque@adacore.com>
2f19c491
OH
1873 * config.host (*-*-vxworks7): Widen scope to vxworks7*.
1874
611e7036
OH
18752017-08-31 Olivier Hainque <hainque@adacore.com>
1876
1877 * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
1878 match as powerpc-wrs-vxworks*.
1879
c8f34527
JY
18802017-08-07 Jonathan Yong <10walls@gmail.com>
1881
1882 * config.host (*-cygwin): Include file from mingw
1883 config/i386/enable-execute-stack-mingw32.c
1884
0b458d2b 18852017-08-01 Jerome Lambourg <lambourg@adacore.com>
92a285c1
ML
1886 Doug Rupp <rupp@adacore.com>
1887 Olivier Hainque <hainque@adacore.com>
0b458d2b
JL
1888
1889 * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
1890 as well as arm-wrs-vxworks.
1891 * config/arm/t-vxworks7: New file. Add unwind-arm-vxworks.c to
1892 LIB2ADDEH.
1893 * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
1894 __exidx_start and __exidx_end for downloadable modules.
1895
4df612fa
OH
18962017-08-01 Olivier Hainque <hainque@adacore.com>
1897
1898 * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
1899 * config/t-vxworks7: Likewise.
1900
5560e8c0
OH
19012017-08-01 Olivier Hainque <hainque@adacore.com>
1902
1903 * config/t-vxworks: Instead of redefining LIB2ADD,
1904 augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
1905
16bab95a
SH
19062017-07-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1907
1908 * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
1909
9cbc07cc
DS
19102017-07-24 Daniel Santos <daniel.santos@pobox.com>
1911
1912 PR testsuite/80759
1913 * config.host: include i386/t-msabi for darwin and solaris.
1914 * config/i386/i386-asm.h
1915 (ELFFN): Rename to FN_TYPE.
1916 (FN_SIZE): New macro.
1917 (FN_HIDDEN): Likewise.
1918 (ASMNAME): Likewise.
1919 (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
1920 .globl.
1921 (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
1922 (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
1923 * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
1924 .macro.
1925 * config/i386/resms64f.S: Likewise.
1926 * config/i386/resms64fx.S: Likewise.
1927 * config/i386/resms64x.S: Likewise.
1928 * config/i386/savms64.S: Likewise.
1929 * config/i386/savms64f.S: Likewise.
1930
de742204
JM
19312017-07-19 John Marino <gnugcc@marino.st>
1932
1933 * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
1934
3787ee47
MM
19352017-07-12 Michael Meissner <meissner@linux.vnet.ibm.com>
1936
1937 PR target/81193
1938 * configure.ac (PowerPC float128 hardware support): Test whether
1939 we can use __builtin_cpu_supports before enabling the ifunc
1940 handler.
1941 * configure: Regenerate.
1942
b1938888
VG
19432017-07-10 Vineet Gupta <vgupta@synopsys.com>
1944
1945 * config.host: Remove uclibc from arc target spec.
1946
bec75e53
KW
19472017-07-09 Krister Walfridsson <krister.walfridsson@gmail.com>
1948
1949 * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
1950
d4391a62
PB
19512017-07-07 Peter Bergner <bergner@vnet.ibm.com>
1952
1953 * config/rs6000/float128-ifunc.c: Don't include auxv.h.
1954 (have_ieee_hw_p): Delete function.
1955 (SW_OR_HW) Use __builtin_cpu_supports().
1956
9296dd9b
TP
19572017-07-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
1958
1959 * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
1960
b85a969e
OH
19612017-07-03 Olivier Hainque <hainque@adacore.com>
1962
d4391a62 1963 * config/t-vxworks7: New file, really.
b85a969e 1964
883312dc
JM
19652017-06-28 Joseph Myers <joseph@codesourcery.com>
1966
1967 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
1968 config/alpha/linux-unwind.h (alpha_fallback_frame_state),
1969 config/bfin/linux-unwind.h (bfin_fallback_frame_state),
1970 config/i386/linux-unwind.h (x86_64_fallback_frame_state,
1971 x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
1972 uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
1973 config/pa/linux-unwind.h (pa32_fallback_frame_state),
1974 config/riscv/linux-unwind.h (riscv_fallback_frame_state),
1975 config/sh/linux-unwind.h (sh_fallback_frame_state),
1976 config/tilepro/linux-unwind.h (tile_fallback_frame_state),
1977 config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
1978 ucontext_t instead of struct ucontext.
1979
50567938
JL
19802017-06-27 Jerome Lambourg <lambourg@adacore.com>
1981
1982 * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
1983 (x86_64-wrs-vxworks7): Likewise.
1984
e4b0df93
OH
19852017-06-27 Olivier Hainque <hainque@adacore.com>
1986
1987 * config/t-vxworks7: New file.
1988 * config.host (*-*-vxworks7): Use it.
1989
60edf8bb
MT
19902017-06-22 Matt Turner <mattst88@gmail.com>
1991
1992 * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
1993 skylake case.
1994
a51a76e5
RB
19952017-06-21 Richard Biener <rguenther@suse.de>
1996
1997 PR gcov-profile/81080
1998 * configure.ac: Add AC_SYS_LARGEFILE.
1999 * libgcov.h: Include auto-target.h before tsystem.h to pick
2000 up _FILE_OFFSET_BITS which might differ for multilibs.
2001 * config.in: Regenerate.
2002 * configure: Likewise.
2003
f0cd49c5
RE
20042017-06-16 Richard Earnshaw <rearnsha@arm.com>
2005
2006 * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
2007
4f751c54
ML
20082017-06-09 Martin Liska <mliska@suse.cz>
2009
2010 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
2011 Reset __gcov_indirect_call_callee to NULL.
2012
1ac644c8
OH
20132017-06-08 Olivier Hainque <hainque@adacore.com>
2014
2015 * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
2016 the set of -I options, support for direct inclusions of net/uio.h
2017 by VxWorks header files via ioLib.h.
2018
d8b9cd27
TR
20192017-06-07 Tony Reix <tony.reix@atos.net>
2020 Matthieu Sarter <matthieu.sarter.external@atos.net>
2021 David Edelsohn <dje.gcc@gmail.com>
2022
92a285c1
ML
2023 * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
2024 unconditionally.
2025 (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support. Add 32-bit
2026 AIX 7.2 support.
d8b9cd27 2027
38a75ccc
OH
20282017-06-02 Olivier Hainque <hainque@adacore.com>
2029
2030 * config/vxlib.c (__gthread_once): Add missing value to
2031 return statement.
2032
5b2edf53
OH
20332017-05-30 Olivier Hainque <hainque@adacore.com>
2034
2035 * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
2036 dollar sign before $(MULTIDIR).
2037
7d66e265
RH
20382017-05-26 Richard Henderson <rth@redhat.com>
2039
2040 PR libgcc/80037
2041 * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
2042
78eca309
AT
20432017-05-17 Andreas Tobler <andreast@gcc.gnu.org>
2044
2045 * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
2046 _Unwind_SetIP available as functions for arm*-*-freebsd*.
2047 * config/arm/unwind-arm.c: Implement the above.
2048
c39d309a
AZ
20492017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2050
2051 * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
2052 section for a non-executable stack.
2053
eac8c9f2
KW
20542017-05-14 Krister Walfridsson <krister.walfridsson@gmail.com>
2055
2056 PR target/80600
2057 * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
2058
d6d4d770
DS
20592017-05-14 Daniel Santos <daniel.santos@pobox.com>
2060
2061 * config.host: Add i386/t-msabi to i386/t-linux file list.
2062 * config/i386/i386-asm.h: New file.
2063 * config/i386/resms64.S: New file.
2064 * config/i386/resms64f.S: New file.
2065 * config/i386/resms64fx.S: New file.
2066 * config/i386/resms64x.S: New file.
2067 * config/i386/savms64.S: New file.
2068 * config/i386/savms64f.S: New file.
2069 * config/i386/t-msabi: New file.
2070
8ef2b9a7
AT
20712017-05-09 Andreas Tobler <andreast@gcc.gnu.org>
2072
2073 * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
2074 arm*-*-freebsd* instead of the t-slibgcc-libgcc.
2075
7ab8766a
JC
20762017-05-05 Joshua Conner <joshconner@google.com>
2077
2078 * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
2079 pc-relative indirect handling for fuchsia.
2080 * config/t-slibgcc-fuchsia: New file.
2081 * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
d6d4d770 2082 x86_64-*-fuchsia*): Add definitions.
7ab8766a 2083
46928a8f
ML
20842017-04-19 Martin Liska <mliska@suse.cz>
2085
2086 PR gcov-profile/80435
2087 * Makefile.in: Install gcov.h.
2088 * gcov.h: New file.
2089 * libgcov.h: Use the header and make __gcov_flush publicly
2090 visible.
2091
63971184
ML
20922017-04-18 Martin Liska <mliska@suse.cz>
2093
2094 PR gcov-profile/78783
2095 * libgcov-driver.c (gcov_get_filename): New function.
2096
29d8aae6
JL
20972017-04-07 Jeff Law <law@redhat.com>
2098
2099 * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
2100 target makefile fragment.
2101 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
2102
2bdf7fc6
AM
21032017-04-07 Alan Modra <amodra@gmail.com>
2104
2105 PR target/45053
2106 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
2107
5764ee3c
JW
21082017-04-03 Jonathan Wakely <jwakely@redhat.com>
2109
2110 * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
2111
c4192ad7
CZ
21122017-03-27 Claudiu Zissulescu <claziss@synopsys.com>
2113
2114 * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
2115
4ccfdb28
JM
21162017-03-10 John Marino <gnugcc@marino.st>
2117
2118 * config/aarch64/freebsd-unwind.h: New file.
2119 * config.host: Add aarch64-*-freebsd unwinder.
2120
4144e4e3
SB
21212017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
2122
2123 * config/rs6000/crtrestvr.s: Use .machine altivec.
2124 * config/rs6000/crtsavevr.s: Ditto.
2125
7502c597
SB
21262017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
2127
2128 * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
2129 modify CFLAGS. Add -mabi=altivec -mvsx -mfloat128.
2130 (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
2131 -mfloat128-hardware to the CFLAGS. Fix syntax error in the C snippet.
2132 * configure: Regenerate.
2133 * config.in: Regenerate.
2134
db9f7f65
JY
21352017-03-02 Jonathan Yong <10walls@gmail.com>
2136
2137 * config/i386/gthr-win32.h: Define NOGDI before
2138 windows.h include to prevent w32api CC_NONE macro
2139 clash with libgfortran.
2140
126437c5
JY
21412017-03-02 Jonathan Yong <10walls@gmail.com>
2142
2143 * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
2144
31927af6
AP
21452017-02-16 Andrew Pinski <apinski@cavium.com>
2146
2147 * config/aarch64/value-unwind.h: New file.
2148 * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
2149 to tm_file.
2150
0bd99911
PD
21512017-02-06 Palmer Dabbelt <palmer@dabbelt.com>
2152
2153 * config.host: Add RISC-V tuples.
2154 * config/riscv/atomic.c: New file.
2155 * config/riscv/crti.S: Likewise.
2156 * config/riscv/crtn.S: Likewise.
2157 * config/riscv/div.S: Likewise.
2158 * config/riscv/linux-unwind.h: Likewise.
2159 * config/riscv/muldi3.S: Likewise.
2160 * config/riscv/multi3.S: Likewise.
2161 * config/riscv/save-restore.S: Likewise.
2162 * config/riscv/sfp-machine.h: Likewise.
2163 * config/riscv/t-elf: Likewise.
2164 * config/riscv/t-elf32: Likewise.
2165 * config/riscv/t-elf64: Likewise.
2166 * config/riscv/t-softfp32: Likewise.
2167 * config/riscv/t-softfp64: Likewise.
2168
a8c9ef2a
JJ
21692017-01-24 Jakub Jelinek <jakub@redhat.com>
2170
2171 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
2172 /* FALLTHRU */ comments.
2173
c6c82710
GP
21742017-01-21 Gerald Pfeifer <gerald@pfeifer.com>
2175
2176 * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
2177
a876231c
JW
21782017-01-20 Jiong Wang <jiong.wang@arm.com>
2179
2180 * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
2181 * unwind-dw2.c (execute_cfa_program): Only multiplexing
2182 DW_CFA_GNU_window_save for AArch64 and LP64.
2183
aa348be2
JW
21842017-01-20 Jiong Wang <jiong.wang@arm.com>
2185
2186 * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
2187
5636faf2
JW
21882017-01-19 Jiong Wang <jiong.wang@arm.com>
2189
2190 * config/aarch64/aarch64-unwind.h: New file.
2191 (DWARF_REGNUM_AARCH64_RA_STATE): Define.
2192 (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
2193 (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
2194 (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
2195 (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
2196 (aarch64_post_extract_frame_addr): New function.
2197 (aarch64_post_frob_eh_handler_addr): New function.
2198 (aarch64_frob_update_context): New function.
2199 * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
2200 * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
2201 aarch64*-*-freebsd*):
2202 Initialize md_unwind_header to include aarch64-unwind.h.
2203 * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
2204 (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
2205 __aarch64__.
2206 (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
2207 (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
2208 (uw_frob_return_addr): New function.
2209 (uw_install_context): Use uw_frob_return_addr.
2210
3c36aa6b
JJ
22112017-01-17 Jakub Jelinek <jakub@redhat.com>
2212
2213 PR other/79046
2214 * configure.ac: Add GCC_BASE_VER.
2215 * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
2216 version from BASE-VER file.
2217 * configure: Regenerated.
2218
829afb8f
JS
22192017-01-13 Joe Seymour <joe.s@somniumtech.com>
2220
2221 * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
2222 libmul_f5.a): Filter archived prerequisites.
2223
79fc8ffe
AS
22242017-01-10 Andrew Senkevich <andrew.senkevich@intel.com>
2225
2226 * config/i386/cpuinfo.h (processor_features): Add
2227 FEATURE_AVX512VPOPCNTDQ.
2228 * config/i386/cpuinfo.c (get_available_features): Habdle new
2229 feature.
2230
fec5f4e0
JM
22312017-01-04 Joseph Myers <joseph@codesourcery.com>
2232
2233 * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
2234 payload if [__mips_nan2008].
2235
8f56cb51
AM
22362017-01-04 Alan Modra <amodra@gmail.com>
2237
2238 * Makefile.in (configure_deps): Update.
2239 * configure: Regenerate.
2240
cbe34bb5
JJ
22412017-01-01 Jakub Jelinek <jakub@redhat.com>
2242
2243 Update copyright years.
2244
ab955692
KW
22452016-12-19 Krister Walfridsson <krister.walfridsson@gmail.com>
2246
2247 * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
2248 * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
2249 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
2250
de34320f
MK
22512016-12-17 Matthias Klose <doko@ubuntu.com>
2252
2253 * config/arc/gmon: Remove empty directory.
2254
e04ea1da
CZ
22552016-12-16 Claudiu Zissulescu <claziss@synopsys.com>
2256
2257 * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
2258 crtgend.
2259 (arc*-*-elf*): Likewise.
2260 * config/arc/t-arc: Remove old gmon lib targets.
2261 * config/arc/crtg.S: Remove.
2262 * config/arc/crtgend.S: Likewise.
2263 * config/arc/gmon/atomic.h: Likewise.
2264 * config/arc/gmon/auxreg.h: Likewise.
2265 * config/arc/gmon/dcache_linesz.S: Likewise.
2266 * config/arc/gmon/gmon.c: Likewise.
2267 * config/arc/gmon/machine-gmon.h: Likewise.
2268 * config/arc/gmon/mcount.c: Likewise.
2269 * config/arc/gmon/prof-freq-stub.S: Likewise.
2270 * config/arc/gmon/prof-freq.c: Likewise.
2271 * config/arc/gmon/profil.S: Likewise.
2272 * config/arc/gmon/sys/gmon.h: Likewise.
2273 * config/arc/gmon/sys/gmon_out.h: Likewise.
2274 * config/arc/t-arc-newlib: Likewise.
2275 * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
2276
8ae1c2c1
GS
22772016-12-12 George Spelvin <linux@sciencehorizons.net>
2278
2279 * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
2280
a5b947fa
GS
22812016-12-12 George Spelvin <linux@sciencehorizons.net>
2282
2283 * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
2284 R16 instead of push + pop.
2285 (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
2286
d6574dd1
KW
22872016-12-10 Krister Walfridsson <krister.walfridsson@gmail.com>
2288
2289 * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
2290 tmake_file.
2291
62440b4f
CM
22922016-12-05 Cupertino Miranda <cmiranda@synopsys.com>
2293
2294 * config.host (arc*-*-linux-uclibc*): Use default extra
2295 objects. Include linux-android header.
2296 * config/arc/crti.S (_init): Declare symbol as function.
2297 (_fini): Likewise.
2298
31cfd832
TK
22992016-12-03 Thomas Koenig <tkoenig@gcc.gnu.org>
2300
2301 PR fortran/78379
2302 * config/i386/cpuinfo.c: Move denums for processor vendors,
2303 processor type, processor subtypes and declaration of
2304 struct __processor_model into
2305 * config/i386/cpuinfo.h: New header file.
2306
c92e08e3
AV
23072016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
2308 Thomas Preud'homme <thomas.preudhomme@arm.com>
2309
2310 * config/arm/cmse_nonsecure_call.S: New.
2311 * config/arm/t-arm: Compile cmse_nonsecure_call.S
2312
de7b5723
AV
23132016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
2314 Thomas Preud'homme <thomas.preudhomme@arm.com>
2315
2316 * config/arm/t-arm (HAVE_CMSE): New.
2317 * config/arm/cmse.c: New.
2318
7a0d2bce
TP
23192016-11-28 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2320
b3a5bff4
TP
2321 PR gcc/74748
2322 * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
2323 use generic linker version information on Blackfin.
2324
7a0d2bce
TP
2325 PR gcc/74748
2326 * libgcc/mkmap-symver.awk: add support for skip_underscore
2327
b410cf1d
IS
23282016-11-27 Iain Sandoe <iain@codesourcery.com>
2329 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2330
2331 PR target/67710
2332 * config/t-darwin: Default builds to 10.5 codegen.
2333
2e5f8203
JG
23342016-11-24 James Greenhalgh <james.greenhalgh@arm.com>
2335
2336 * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
2337 (_FP_NANSIGN_H): Likewise.
2338 * config/aarch64/t-softfp (softfp_extensions): Add hftf.
2339 (softfp_truncations): Add tfhf.
2340 (softfp_extras): Add required conversion functions.
2341
bea64ca3
JG
23422016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
2343 Matthew Wahab <matthew.wahab@arm.com>
2344
2345 * config/arm/fp16.c (binary64): New.
2346 (__gnu_d2h_internal): New.
2347 (__gnu_d2h_ieee): New.
2348 (__gnu_d2h_alternative): New.
2349
8630cadb
JG
23502016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
2351 Matthew Wahab <matthew.wahab@arm.com>
2352
2353 * config/arm/fp16.c (struct format): New.
2354 (binary32): New.
2355 (__gnu_float2h_internal): New. Body moved from
2356 __gnu_f2h_internal and generalize.
2357 (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
2358 Call it with binary32.
2359
5823ef23
JG
23602016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
2361
2362 * soft-fp/extendhftf2.c: Update from glibc.
2363 * soft-fp/fixhfti.c: Likewise.
2364 * soft-fp/fixunshfti.c: Likewise.
2365 * soft-fp/floattihf.c: Likewise.
2366 * soft-fp/floatuntihf.c: Likewise.
2367 * soft-fp/half.h: Likewise.
2368 * soft-fp/trunctfhf2.c: Likewise.
2369
62a7df9f
MG
23702016-11-20 Marc Glisse <marc.glisse@inria.fr>
2371
2372 PR libgcc/77813
2373 * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
2374 __TMC_END__ behind a passthrough asm.
2375
7a384912
WL
23762016-11-18 Walter Lee <walt@tilera.com>
2377
62a7df9f 2378 * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
7a384912 2379
9775c1a5
L
23802016-11-17 Andrew Senkevich <andrew.senkevich@intel.com>
2381
2382 * config/i386/cpuinfo.c (processor_features): Add
2383 FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
2384
48c842ab
CZ
23852016-11-17 Claudiu Zissulescu <claziss@synopsys.com>
2386
2387 * config/arc/dp-hack.h (ARC_OPTFPE): Define.
2388 (__ARC_NORM__): Use instead ARC_OPTFPE.
2389 * config/arc/fp-hack.h: Likewise.
2390 * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
2391 (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
2392
5012919d
AM
23932016-11-16 Alexander Monakov <amonakov@ispras.ru>
2394
2395 * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
2396 * config/nvptx/mgomp.c: New file.
2397 * config/nvptx/t-nvptx: Add mgomp.c
2398
00178b98
WB
23992016-11-16 Waldemar Brodkorb <wbx@openadk.org>
2400
2401 PR libgcc/68468
2402 * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
2403
d64af69f
CZ
24042016-11-15 Claudiu Zissulescu <claziss@synopsys.com>
2405
2406 * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
2407 of checking for cpus.
2408 (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
2409 (__modsi3, __clzsi2): Likewise.
2410
9d8f95de
SN
24112016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
2412
2413 * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
2414 i386/t-cpuinfo-static instead of i386/t-cpuinfo.
2415 * config/i386/t-cpuinfo-static: New.
2416
7d29f8e3
ML
24172016-11-03 Martin Liska <mliska@suse.cz>
2418
2419 * libgcov-profiler.c (__gcov_time_profiler): Remove.
2420 (__gcov_time_profiler_atomic): Likewise.
2421
5de3e2d8
BE
24222016-11-03 Bernd Edlinger <bernd.edlinger@hotmail.de>
2423
2424 PR libgcc/78067
2425 * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
2426 count_leading_zeros.
2427
18362447
UB
24282016-11-02 Uros Bizjak <ubizjak@gmail.com>
2429
2430 * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
2431 * libgcc2.c (__divmoddi4): New function.
2432 * libgcc2.h (__divmoddi4): Declare.
2433 * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
2434 and __PFX_divmodti4.
2435
33107571
FW
24362016-10-24 Florian Weimer <fweimer@redhat.com>
2437
2438 PR libgcc/78064
2439 * unwind-c.c: Include auto-target.h.
2440
4c6d7494
JDA
24412016-10-19 John David Anglin <danglin@gcc.gnu.org>
2442
18362447 2443 * config/pa/pa64-hpux-lib.h: New file.
4c6d7494
JDA
2444 (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
2445 (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
2446 * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
2447 hppa*64*-*-hpux11*.
2448
2a26adf1
MF
24492016-10-18 Max Filippov <jcmvbkbc@gmail.com>
2450
2451 * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
2452 definition.
2453 * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
2454 definition.
2455 * config/xtensa/t-windowed (LIB2ADDEH): Use
2456 LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
2457 or xtensa/t-linux.
2458
66192aa1
DKC
24592016-10-18 Ding-Kai Chen <dkchen@cadence.com>
2460
2461 * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
2462 __ieee754_sqrt): New functions.
2463 (__divdf3): Add implementation with new FPU instructions under
2464 #if XCHAL_HAVE_DFP_DIV.
2465 * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
2466 __ieee754_sqrtf): New functions.
2467 (__divsf3): Add implementation with new FPU instructions under
2468 #if XCHAL_HAVE_FP_DIV.
2469 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
2470 _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
2471
4d0cdd0c
TP
24722016-10-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
2473
2474 * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
2475 equivalent.
2476 * config/tilepro/atomic.c: Likewise and stop casting model to
2477 enum memmodel.
2478
73f01cca
JM
24792016-10-10 Joseph Myers <joseph@codesourcery.com>
2480
2481 PR target/77586
2482 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
2483 soft-fp.
2484
b20e7532
AT
24852016-10-10 Andreas Tobler <andreast@gcc.gnu.org>
2486
2487 * config.host: Add support for aarch64-*-freebsd*.
2488
a786cec4
AS
24892016-10-05 Andreas Schwab <schwab@suse.de>
2490
2491 * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
2492 (.section .init_array): Don't call __do_jv_register_classes.
2493 (.section .init): Likewise.
2494
5a79befb
JJ
24952016-10-04 Jakub Jelinek <jakub@redhat.com>
2496
2497 * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
2498 (__JCR_LIST__): Remove.
2499 (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
2500 * config/i386/cygming-crtend.c (__JCR_END__): Remove.
2501 * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
2502 * config/ia64/crtend.S (__JCR_END__): Remove.
2503 * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
2504 conditionals.
2505 (__JCR_LIST__, __JCR_END__): Remove.
2506 (frame_dummy): Don't attempt to _Jv_RegisterClasses.
2507 (__do_global_ctors_1): Likewise.
2508
e0ab3753
UB
25092015-09-28 Uros Bizjak <ubizjak@gmail.com>
2510
2511 * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
2512 (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
2513
8c9434c2
ML
25142016-09-27 Martin Liska <mliska@suse.cz>
2515
2516 PR gcov-profile/7970
2517 PR gcov-profile/16855
2518 PR gcov-profile/44779
2519 * libgcov-driver.c (__gcov_init): Do not register a atexit
2520 handler.
2521 (__gcov_exit): Rename from gcov_exit.
2522 * libgcov.h (__gcov_exit): Declare.
2523
56b653f1
ML
25242016-09-27 Martin Liska <mliska@suse.cz>
2525
2526 PR bootstrap/77749
2527 * Makefile.in: Remove _gcov_merge_delta.
2528 * libgcov-merge.c (void __gcov_merge_delta): Remove.
2529 * libgcov-util.c (__gcov_delta_counter_op): Remove.
2530 * libgcov.h: Remove declaration of __gcov_merge_delta.
2531
7e02fd1b
EB
25322016-09-21 Eric Botcazou <ebotcazou@adacore.com>
2533
2534 * configure.ac: Do not create links, only substitute the filenames.
2535 * configure: Regenerate.
2536 * Makefile.in: Assign the substitution results to variables.
2537 (LIBGCC_LINKS): Define.
2538 (enable-execute-stack.c): New rule.
2539 (unwind.h): Likewise.
2540 (md-unwind-support.h): Likewise.
2541 (sfp-machine.h): Likewise.
2542 (gthr-default.h): Likewise.
2543 Add $(LIBGCC_LINKS) to the prerequisites of all object files and
2544 unwind.h as prerequisite of install-unwind_h-forbuild.
2545
29991048
JJ
25462016-09-16 Jakub Jelinek <jakub@redhat.com>
2547
2548 PR libgcc/71744
2549 * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
2550 is not the primary registry and atomics are available.
2551 (any_objects_registered): New variable.
2552 (__register_frame_info_bases, __register_frame_info_table_bases):
2553 Atomically store 1 to any_objects_registered after registering first
2554 unwind info.
2555 (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
2556
0abcd6cc
JG
25572016-09-09 James Greenhalgh <james.greenhalgh@arm.com>
2558
2559 PR target/63250
2560 * Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
2561 * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
2562 (HFtype): Likewise.
2563 (HCtype): Likewise.
2564 (__divhc3): Likewise.
2565 (__mulhc3): Likewise.
2566 * libgcc2.c: Support _mulhc3 and _divhc3.
2567
d758aeb5
JM
25682016-09-07 Joseph Myers <joseph@codesourcery.com>
2569
2570 PR libgcc/77519
2571 * libgcc2.c (NOTRUNC): Invert settings.
2572
7fe76f6a
ML
25732016-09-06 Martin Liska <mliska@suse.cz>
2574
2575 PR gcov-profile/77378
2576 PR gcov-profile/77466
2577 * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
2578 conditionaly enable/disable *_atomic functions.
2579
21184026
JM
25802016-08-26 Joseph Myers <joseph@codesourcery.com>
2581
2582 * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
2583 where not already enabled.
2584
726f49c3
SN
25852016-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
2586
2587 * config/mips/linux-unwind.h: Use sys/syscall.h.
2588
feeb6268
JM
25892016-08-16 Joseph Myers <joseph@codesourcery.com>
2590
2591 PR libgcc/77265
2592 * soft-fp/adddf3.c: Update from glibc.
2593 * soft-fp/addsf3.c: Likewise.
2594 * soft-fp/addtf3.c: Likewise.
2595 * soft-fp/divdf3.c: Likewise.
2596 * soft-fp/divsf3.c: Likewise.
2597 * soft-fp/divtf3.c: Likewise.
2598 * soft-fp/double.h: Likewise.
2599 * soft-fp/eqdf2.c: Likewise.
2600 * soft-fp/eqsf2.c: Likewise.
2601 * soft-fp/eqtf2.c: Likewise.
2602 * soft-fp/extenddftf2.c: Likewise.
2603 * soft-fp/extended.h: Likewise.
2604 * soft-fp/extendsfdf2.c: Likewise.
2605 * soft-fp/extendsftf2.c: Likewise.
2606 * soft-fp/extendxftf2.c: Likewise.
2607 * soft-fp/fixdfdi.c: Likewise.
2608 * soft-fp/fixdfsi.c: Likewise.
2609 * soft-fp/fixdfti.c: Likewise.
2610 * soft-fp/fixsfdi.c: Likewise.
2611 * soft-fp/fixsfsi.c: Likewise.
2612 * soft-fp/fixsfti.c: Likewise.
2613 * soft-fp/fixtfdi.c: Likewise.
2614 * soft-fp/fixtfsi.c: Likewise.
2615 * soft-fp/fixtfti.c: Likewise.
2616 * soft-fp/fixunsdfdi.c: Likewise.
2617 * soft-fp/fixunsdfsi.c: Likewise.
2618 * soft-fp/fixunsdfti.c: Likewise.
2619 * soft-fp/fixunssfdi.c: Likewise.
2620 * soft-fp/fixunssfsi.c: Likewise.
2621 * soft-fp/fixunssfti.c: Likewise.
2622 * soft-fp/fixunstfdi.c: Likewise.
2623 * soft-fp/fixunstfsi.c: Likewise.
2624 * soft-fp/fixunstfti.c: Likewise.
2625 * soft-fp/floatdidf.c: Likewise.
2626 * soft-fp/floatdisf.c: Likewise.
2627 * soft-fp/floatditf.c: Likewise.
2628 * soft-fp/floatsidf.c: Likewise.
2629 * soft-fp/floatsisf.c: Likewise.
2630 * soft-fp/floatsitf.c: Likewise.
2631 * soft-fp/floattidf.c: Likewise.
2632 * soft-fp/floattisf.c: Likewise.
2633 * soft-fp/floattitf.c: Likewise.
2634 * soft-fp/floatundidf.c: Likewise.
2635 * soft-fp/floatundisf.c: Likewise.
2636 * soft-fp/floatunditf.c: Likewise.
2637 * soft-fp/floatunsidf.c: Likewise.
2638 * soft-fp/floatunsisf.c: Likewise.
2639 * soft-fp/floatunsitf.c: Likewise.
2640 * soft-fp/floatuntidf.c: Likewise.
2641 * soft-fp/floatuntisf.c: Likewise.
2642 * soft-fp/floatuntitf.c: Likewise.
2643 * soft-fp/gedf2.c: Likewise.
2644 * soft-fp/gesf2.c: Likewise.
2645 * soft-fp/getf2.c: Likewise.
2646 * soft-fp/ledf2.c: Likewise.
2647 * soft-fp/lesf2.c: Likewise.
2648 * soft-fp/letf2.c: Likewise.
2649 * soft-fp/muldf3.c: Likewise.
2650 * soft-fp/mulsf3.c: Likewise.
2651 * soft-fp/multf3.c: Likewise.
2652 * soft-fp/negdf2.c: Likewise.
2653 * soft-fp/negsf2.c: Likewise.
2654 * soft-fp/negtf2.c: Likewise.
2655 * soft-fp/op-1.h: Likewise.
2656 * soft-fp/op-2.h: Likewise.
2657 * soft-fp/op-4.h: Likewise.
2658 * soft-fp/op-8.h: Likewise.
2659 * soft-fp/op-common.h: Likewise.
2660 * soft-fp/quad.h: Likewise.
2661 * soft-fp/single.h: Likewise.
2662 * soft-fp/soft-fp.h: Likewise.
2663 * soft-fp/subdf3.c: Likewise.
2664 * soft-fp/subsf3.c: Likewise.
2665 * soft-fp/subtf3.c: Likewise.
2666 * soft-fp/truncdfsf2.c: Likewise.
2667 * soft-fp/trunctfdf2.c: Likewise.
2668 * soft-fp/trunctfsf2.c: Likewise.
2669 * soft-fp/trunctfxf2.c: Likewise.
2670 * soft-fp/unorddf2.c: Likewise.
2671 * soft-fp/unordsf2.c: Likewise.
2672 * soft-fp/unordtf2.c: Likewise.
2673
2e6fc1ac
GG
26742016-08-15 Gilles Gouaillardet <gilles.gouaillardet@gmail.com>
2675
2676 PR gcov-profile/67097
2677 * libgcov-util.c (gcov_profile_merge): Skip missing files.
2678
a266236e
ML
26792016-08-10 Martin Liska <mliska@suse.cz>
2680
2681 PR gcov-profile/58306
2682 * Makefile.in: New functions (modules) are added.
2683 * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
2684 function.
2685 (__gcov_pow2_profiler_atomic): New function.
2686 (__gcov_one_value_profiler_body): New argument is instroduced.
2687 (__gcov_one_value_profiler): Call with the new argument.
2688 (__gcov_one_value_profiler_atomic): Likewise.
2689 (__gcov_indirect_call_profiler_v2): Likewise.
2690 (__gcov_time_profiler_atomic): New function.
2691 (__gcov_average_profiler_atomic): Likewise.
2692 (__gcov_ior_profiler_atomic): Likewise.
2693 * libgcov.h: Declare the aforementioned functions.
2694
e0c8eebf
ML
26952016-08-09 Martin Liska <mliska@suse.cz>
2696
2697 * libgcov-util.c: Fix typo and GNU coding style.
2698
6dce6418
ML
26992016-08-09 Martin Liska <mliska@suse.cz>
2700
2701 * Makefile.in: Remove __gcov_indirect_call_profiler.
2702 * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
2703 function.
2704 * libgcov.h: And the declaration of the function.
2705
dcb1e137
ML
27062016-08-09 Martin Liska <mliska@suse.cz>
2707
2708 * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
2709 power of two.
2710
d6e69705
BS
27112016-07-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
2712
2713 * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
2714 * config/rs6000/_mulkc3.c: Likewise.
2715
96aa1f95
GJL
27162016-07-29 Georg-Johann Lay <avr@gjlay.de>
2717
2718 * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
2719 zero_reg as previous call to __umulhisi3 already cleared it.
2720
a1b01d34
AJ
27212016-07-21 Aurelien Jarno <aurelien@aurel32.net>
2722
2723 PR target/59833
2724 * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
2725
985a47b2
NC
27262016-07-19 Nick Clifton <nickc@redhat.com>
2727
2728 * config.host (m32r): Add m32r/t-m32r to tmake_file.
2729 Add crtinit.o and crtfini.o to extra_parts.
2730
f906f5ed
BS
27312016-07-12 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
2732
2733 * config/rs6000/_divkc3.c: New.
2734 * config/rs6000/_mulkc3.c: New.
2735 * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
2736 and _divkc3.
2737 * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
2738 fp128_ppc_funcs.
2739
82742404
HW
27402016-07-11 Hale Wang <hale.wang@arm.com>
2741 Andre Vieira <andre.simoesdiasvieira@arm.com>
2742
2743 * config/arm/lib1funcs.S: Add new wrapper.
2744
05a437c1
TP
27452016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
2746
2747 * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
2748
3d16d9ec
TP
27492016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
2750
2751 * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
2752 and ARMv5t* rather than for a fixed list of architectures.
2753
6f493951
TP
27542016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
2755
2756 * config/arm/bpabi-v6m.S: Clarify what architectures is the
2757 implementation suitable for.
2758 * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
2759 for all Thumb-1 only targets.
2760 (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
2761 (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
2762 __ARM_ARCH_6M__.
2763 (EQUIV): Likewise.
2764 (ARM_FUNC_ALIAS): Likewise.
2765 (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
2766 version.
2767 (modsi3): Likewise.
2768 (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
2769 (clzdi2): Likewise.
2770 (ctzsi2): Likewise.
2771 (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
2772 __ARM_ARCH_6M__ in guard for checking whether it is defined.
2773 (final includes): Test for NOT_ISA_TARGET_32BIT rather than
2774 __ARM_ARCH_6M__ and add comment to indicate the connection between
2775 this condition and the one in gcc/config/arm/elf.h.
2776 * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
2777 __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
2778 * config/arm/t-softfp: Likewise.
2779
1770511a
TS
27802016-07-06 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2781
2782 * libgcc2.c (SYMBOL__MAIN): Remove checks for
2783 CTOR_LISTS_DEFINED_EXTERNALLY.
2784
ba6be749
WL
27852016-06-28 Walter Lee <walt@tilera.com>
2786
2787 * config/tilepro/atomic.h: Do not include arch/spr_def.h and
2788 asm/unistd.h.
2789 (SPR_CMPEXCH_VALUE): Define for tilegx.
2790 (__NR_FAST_cmpxchg): Define for tilepro.
2791 (__NR_FAST_atomic_update): Define for tilepro.
2792 (__NR_FAST_cmpxchg64): Define for tilepro.
2793
a34c0db5
JS
27942016-06-23 Jakub Sejdak <jakub.sejdak@phoesys.com>
2795
18362447 2796 * config.host: Add suport for arm*-*-phoenix* targets.
a34c0db5 2797
0609abda
TS
27982016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2799
2800 * config.host: Remove support for mep-*.
2801 * config/mep/lib1funcs.S: Remove.
2802 * config/mep/lib2funcs.c: Remove.
2803 * config/mep/t-mep: Remove.
2804 * config/mep/tramp.c: Remove.
2805
3e326935
TS
28062016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2807
2808 * config.host: Remove support for avr-rtems.
2809 * config/avr/t-rtems: Remove.
2810
914b155c
TS
28112016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2812
2813 * config.host: Remove m32r-rtems support.
2814
5ebf89bd
TS
28152016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2816
2817 * config.host: Remove h8300-rtems support.
2818
8466af06
TS
28192016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2820
2821 * config.host: Remove support for knetbsd.
2822
d980e738
TS
28232016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2824
2825 * config.host: Remove support for openbsd 2 and 3.
2826
ee2499b4
TS
28272016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2828
2829 * config.host: Remove interix support.
2830 * config/i386/t-interix: Remove.
2831
9f92937b
JDA
28322016-06-18 John David Anglin <danglin@gcc.gnu.org>
2833
2834 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
2835 least-significant bit in function pointer for fixup.
2836
0a0ec53d
AC
28372016-06-05 Aaron Conole <aconole@redhat.com>
2838 Nathan Sidwell <nathan@acm.org>
2839
2840 PR libgcc/71400
2841 * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
2842 (get_gcov_error_file): Check __gcov_error_file before trying to
2843 initialize it.
2844 (gcov_error): Always use get_gcov_error_file.
2845
8aa5bdd6
AC
28462016-06-02 Aaron Conole <aconole@redhat.com>
2847
2848 * libgcov-driver-system.c (__gcov_error_file): New.
2849 (get_gcov_error_file): New.
2850 (gcov_error): Use and set __gcov_error_file.
2851 (gcov_error_exit): New.
2852 * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
2853
40774faf
NS
28542016-05-26 Nathan Sidwell <nathan@acm.org>
2855
2856 * config/nvptx/free.asm: Delete.
2857 * config/nvptx/malloc.asm: Delete.
2858 * config/nvptx/realloc.c: Delete.
2859 * t-nvptx: Update.
2860
69a6d5ad
NS
28612016-05-25 Nathan Sidwell <nathan@acm.org>
2862
2863 * config/nvptx/crt0.s: Delete.
2864 * config/nvptx/crt0.c: New.
2865 * t-nvptx: Update.
2866
6befaff6
SL
28672016-05-19 Sandra Loosemore <sandra@codesourcery.com>
2868
385c7747 2869 * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
6befaff6
SL
2870 dw2/seh configuration.
2871 [x86_64-*-mingw*]: Likewise.
2872
ad251dfd
JS
28732016-05-10 Joel Sherrill <joel@rtems.org>
2874
2875 PR libgcc/70720
2876 * config.host (moxie-*-rtems*): Merge this stanza with other moxie
2877 targets so the same extra_parts are built. Also have tmake_file add
2878 on to its value rather than override.
2879
bc6d9014
OE
28802016-04-30 Oleg Endo <olegendo@gcc.gnu.org>
2881
2882 * config.host: Remove SH5 support.
2883 * configure: Likewise.
2884
9129c8cf
OE
28852016-04-29 Oleg Endo <olegendo@gcc.gnu.org>
2886
2887 * config/sh/crt1.S: Remove SH5 support.
2888 * config/sh/crti.S: Likewise.
2889 * config/sh/crtn.S: Likewise.
2890 * config/sh/lib1funcs-4-300.S: Likewise.
2891 * config/sh/lib1funcs-Os-4-200.S: Likewise.
2892 * config/sh/lib1funcs.S: Likewise.
2893 * config/sh/linux-unwind.h: Likewise.
2894 * config/sh/t-sh64: Delete.
2895
39d50464
CZ
28962016-04-29 Claudiu Zissulescu <claziss@synopsys.com>
2897
2898 * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
2899
8b48923b
CZ
29002016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
2901 Joern Rennecke <joern.rennecke@embecosm.com>
2902
2903 * config/arc/crttls.S: New file.
2904 * config/arc/t-arc: New rule.
2905 * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
2906
2de1cf8c
NC
29072016-04-25 Nick Clifton <nickc@redhat.com>
2908
2909 * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
2910 (__mspabi_cmpd): Likewise.
2911 * config/msp430/floathidf.c (__floathidf): Likewise.
2912 * config/msp430/floathisf.c (__floathisf): Likewise
2913 * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
2914 * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
2915 * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
2916 second parameter.
2917 (__ashrsi3): Likewise.
2918
b8ce3fe2
WB
29192016-04-21 Waldemar Brodkorb <wbx@openadk.org>
2920
2921 * config/m68k/linux-atomic.c: Do not include unistd.h
2922
4986f823
MG
29232016-04-20 Martin Galvan <martin.galvan@tallertechnologies.com>
2924
2925 * config/arm/ieee754-df.S: Fix typos in comments.
2926
35fbda43
MM
29272016-04-11 Michael Meissner <meissner@linux.vnet.ibm.com>
2928
2929 PR target/70381
2930 * configure.ac (powerpc*-*-linux*): Rework tests to build
2931 __float128 emulation routines to not depend on using #pragma GCC
2932 target to enable -mfloat128.
2933 * configure: Regnerate.
2934
72d1a48d
EB
29352016-04-04 Eric Botcazou <ebotcazou@adacore.com>
2936
2937 PR target/67172
2938 * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
2939 __MINGW32__ is defined.
2940
dc2e8995
JB
29412016-03-28 James Bowman <james.bowman@ftdichip.com>
2942
385c7747 2943 * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
dc2e8995 2944
104cdaf1
MM
29452016-03-22 Michael Meissner <meissner@linux.vnet.ibm.com>
2946
2947 PR libgcc/70363
2948 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
2949 built with an assembler that does not support ISA 3.0
2950 instructions, rename __extendkftf2_sw to __extendkftf2.
2951
a5046f48
RO
29522016-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2953
2954 PR target/38239
2955 * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
2956 call-clobbered registers.
2957 (internal_mcount): Remove __i386__ handling.
2958
df674f74
JS
29592016-02-26 Joel Sherrill <joel@rtems.org>
2960
2961 * config.host: Add x86_64-*-rtems*.
2962
7cb065d6
JS
29632016-02-26 Joel Sherrill <joel@rtems.org>
2964
2965 * libgcc/config.host: Add aarch64-*-rtems*.
2966
47dfdc53
PM
29672016-02-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2968 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
2969
2970 * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
2971 union of u64 and double.
2972 (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
2973 (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
2974 value.
2975 (FP_ROUNDMODE): Update the usage of _fpscr.
2976
e6861a99
IV
29772016-02-25 Ilya Verbin <ilya.verbin@intel.com>
2978
2979 PR driver/68463
2980 * Makefile.in (crtoffloadtable$(objext)): New rule.
2981 * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
2982 enable_offload_targets is not empty.
2983 * configure: Regenerate.
2984 * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
2985 crtoffloadtable.
2986
9bfcbdee
MF
29872016-02-17 Max Filippov <jcmvbkbc@gmail.com>
2988
2989 * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
2990 .literal_position before the function.
2991 * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
2992 Likewise.
2993
4cb4721f
MK
29942016-02-15 Marcin Kościelnicki <koriakin@0x04.net>
2995
2996 * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
2997 * config/s390/morestack.S: New file.
2998 * config/s390/t-stack-s390: New file.
2999 * generic-morestack.c (__splitstack_find): Add s390-specific code.
3000
b29d9a29
WL
30012016-02-12 Walter Lee <walt@tilera.com>
3002
3003 * config.host (tilegx*-*-linux*): remove ti from
3004 softfp_int_modes for 32-bit configs.
3005
03a0ae7d
ILT
30062016-02-10 Ian Lance Taylor <iant@google.com>
3007
3008 PR go/68562
3009 * config/i386/morestack.S (__stack_split_initialize): Align
3010 stack.
3011
68750bce
AT
30122016-02-03 Andreas Tobler <andreast@gcc.gnu.org>
3013
3014 PR bootstrap/69611
3015 * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
3016 __FLOAT128__ to compile only for __float128 capable targets.
3017
7d296953
JJ
30182016-01-25 Jakub Jelinek <jakub@redhat.com>
3019
3020 PR target/69444
3021 * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
3022 instead of ___NO_FPRS__.
3023
a71c0334 30242016-01-21 Michael Meissner <meissner@linux.vnet.ibm.com>
7d296953
JJ
3025 Steven Munroe <munroesj@linux.vnet.ibm.com>
3026 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
a71c0334
MM
3027
3028 * config/rs6000/float128-sed: New files to convert TF names to KF
3029 names for PowerPC IEEE 128-bit floating point support.
3030 * config/rs6000/float128-sed-hw: Likewise.
3031
3032 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
3033 floating point hardware support.
3034
3035 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
3036 128-bit floating point software emulation or use ISA 3.0 hardware
3037 support if it is available.
3038
3039 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
3040 floating point.
3041
3042 * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
3043 floating point to IBM extended double.
3044
3045 * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
3046 double to IEEE 128-bit floating point.
3047
3048 * config/rs6000/t-float128: New Makefile fragments to enable
3049 building __float128 emulation support.
3050 * config/rs6000/t-float128-hw: Likewise.
3051
3052 * config/rs6000/sfp-exceptions.c: New file to provide exception
3053 support for IEEE 128-bit floating point.
3054
3055 * config/rs6000/floattikf.c: New files for converting between IEEE
3056 128-bit floating point and signed/unsigned 128-bit integers.
3057 * config/rs6000/fixunskfti.c: Likewise.
3058 * config/rs6000/fixkfti.c: Likewise.
3059 * config/rs6000/floatuntikf.c: Likewise.
3060
3061 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
3062 when building on 64-bit systems, or when VSX is enabled.
3063 (_FP_W_TYPE): Likewise.
3064 (_FP_WS_TYPE): Likewise.
3065 (_FP_I_TYPE): Likewise.
3066 (TItype): Define on 64-bit systems.
3067 (UTItype): Likewise.
3068 (TI_BITS): Likewise.
3069 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
3070 (_FP_MUL_MEAT_Q): Likewise.
3071 (_FP_DIV_MEAT_D): Likewise.
3072 (_FP_DIV_MEAT_Q): Likewise.
3073 (_FP_NANFRAC_D): Likewise.
3074 (_FP_NANFRAC_Q): Likewise.
3075 (ISA_BIT): Add exception support if we are being compiled on a
3076 machine with hardware floating point support to build the IEEE
3077 128-bit emulation functions.
3078 (FP_EX_INVALID): Likewise.
3079 (FP_EX_OVERFLOW): Likewise.
3080 (FP_EX_UNDERFLOW): Likewise.
3081 (FP_EX_DIVZERO): Likewise.
3082 (FP_EX_INEXACT): Likewise.
3083 (FP_EX_ALL): Likewise.
3084 (__sfp_handle_exceptions): Likewise.
3085 (FP_HANDLE_EXCEPTIONS): Likewise.
3086 (FP_RND_NEAREST): Likewise.
3087 (FP_RND_ZERO): Likewise.
3088 (FP_RND_PINF): Likewise.
3089 (FP_RND_MINF): Likewise.
3090 (FP_RND_MASK): Likewise.
3091 (_FP_DECL_EX): Likewise.
3092 (FP_INIT_ROUNDMODE): Likewise.
3093 (FP_ROUNDMODE): Likewise.
3094
3095 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
3096 VSX code, enable IEEE 128-bit floating point. If the compiler can
3097 compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
3098 floating point hardware instructions and it supports declaring
3099 functions with the ifunc attribute, enable ifunc functions to
3100 switch between software and hardware support.
3101 * configure.ac (powerpc*-*-linux*): Likewise.
3102 * configure: Regenerate.
3103
bdc27e50
NC
31042016-01-15 Nick Clifton <nickc@redhat.com>
3105
3106 * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
3107 dependency as the source file to be compiled.
3108 (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
3109 (lib2hw_mul_f5.o): Likewise.
3110
006df05d
MM
31112016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
3112
3113 * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
3114 * libgcc/config/rs6000/fixkfti.c: Likewise.
3115 * libgcc/config/rs6000/fixunskfti.c: Likewise.
3116 * libgcc/config/rs6000/float128-hw.c: Likewise.
3117 * libgcc/config/rs6000/float128-ifunc.c: Likewise.
3118 * libgcc/config/rs6000/float128-sed: Likewise.
3119 * libgcc/config/rs6000/floattikf.c: Likewise.
3120 * libgcc/config/rs6000/floatuntikf.c: Likewise.
3121 * libgcc/config/rs6000/quad-float128.h: Likewise.
3122 * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
3123 * libgcc/config/rs6000/sfp-machine.h: Likewise.
3124 * libgcc/config/rs6000/t-float128: Likewise.
3125 * libgcc/config/rs6000/t-float128-hw: Likewise.
3126 * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
3127 * libgcc/config.host: Likewise.
3128 * libgcc/configure: Likewise.
3129 * libgcc/configure.ac: Likewise.
3130
29176d57 31312016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
7d296953
JJ
3132 Steven Munroe <munroesj@linux.vnet.ibm.com>
3133 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
29176d57
MM
3134
3135 * config/rs6000/sfp-exceptions.c: New file to provide exception
3136 support for IEEE 128-bit floating point.
3137
3138 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
3139 floating point hardware support.
3140
3141 * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
3142 point conversions.
3143 * config/rs6000/fixunskfti.c: Likewise.
3144 * config/rs6000/fixkfti.c: Likewise.
3145 * config/rs6000/floatuntikf.c: Likewise.
3146 * config/rs6000/extendkftf2-sw.c: Likewise.
3147 * config/rs6000/trunctfkf2-sw.c: Likewise.
3148
3149 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
3150 128-bit floating point software emulation or use ISA 3.0 hardware
3151 support if it is available.
3152
3153 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
3154 floating point.
3155
3156 * config/rs6000/t-float128: New Makefile fragments to enable
3157 building __float128 emulation support.
3158 * config/rs6000/t-float128-hw: Likewise.
3159
3160 * config/rs6000/float128-sed: New file to convert TF names to KF
3161 names for PowerPC IEEE 128-bit floating point support.
3162
3163 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
3164 when building on 64-bit systems, or when VSX is enabled.
3165 (_FP_W_TYPE): Likewise.
3166 (_FP_WS_TYPE): Likewise.
3167 (_FP_I_TYPE): Likewise.
3168 (TItype): Define on 64-bit systems.
3169 (UTItype): Likewise.
3170 (TI_BITS): Likewise.
3171 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
3172 (_FP_MUL_MEAT_Q): Likewise.
3173 (_FP_DIV_MEAT_D): Likewise.
3174 (_FP_DIV_MEAT_Q): Likewise.
3175 (_FP_NANFRAC_D): Likewise.
3176 (_FP_NANFRAC_Q): Likewise.
3177 (ISA_BIT): Add exception support if we are being compiled on a
3178 machine with hardware floating point support to build the IEEE
3179 128-bit emulation functions.
3180 (FP_EX_INVALID): Likewise.
3181 (FP_EX_OVERFLOW): Likewise.
3182 (FP_EX_UNDERFLOW): Likewise.
3183 (FP_EX_DIVZERO): Likewise.
3184 (FP_EX_INEXACT): Likewise.
3185 (FP_EX_ALL): Likewise.
3186 (__sfp_handle_exceptions): Likewise.
3187 (FP_HANDLE_EXCEPTIONS): Likewise.
3188 (FP_RND_NEAREST): Likewise.
3189 (FP_RND_ZERO): Likewise.
3190 (FP_RND_PINF): Likewise.
3191 (FP_RND_MINF): Likewise.
3192 (FP_RND_MASK): Likewise.
3193 (_FP_DECL_EX): Likewise.
3194 (FP_INIT_ROUNDMODE): Likewise.
3195 (FP_ROUNDMODE): Likewise.
3196
3197 * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
3198 compiler can do __float128.
3199 * configure: Regenerate.
3200
3201 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
3202 VSX code, enable IEEE 128-bit floating point.
3203
a2218983
OH
32042016-01-05 Olivier Hainque <hainque@adacore.com>
3205
3206 * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
29176d57 3207 specificities.
a2218983 3208
818ab71a
JJ
32092016-01-04 Jakub Jelinek <jakub@redhat.com>
3210
3211 Update copyright years.
3212
5a6c8ffa
AP
32132015-12-18 Andris Pavenis <andris.pavenis@iki.fi>
3214
3215 * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
29176d57 3216 soft-fp targets.
5a6c8ffa 3217
077067a5
BE
32182015-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
3219
3220 * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
3221 instead of abort to avoid dependency on stdlib.h.
3222
787c1027
JDA
32232015-12-09 John David Anglin <danglin@gcc.gnu.org>
3224
3225 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
3226 to initialize call to __dl_fixup once.
3227
04a9ae28
NC
32282015-12-04 Nick Clifton <nickc@redhat.com>
3229
3230 * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
3231 Allow for the second argument being negative.
3232 * config.host (extra_parts): Define for MSP430. Create separate
3233 libraries for each of the hardware multiply formats.
3234 * config/msp430/lib2hw_mul.S: Build only the multiply routines
3235 that are needed.
3236 * config/msp430/lib2mul.c: Likewise.
3237 * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
3238 Add rules to build hardware multiply libraries.
3239 * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
3240 __mspabi_divul function.
3241 (__mspabi_divllu): New stub function.
3242
9a32d437
JDA
32432015-12-01 John David Anglin <danglin@gcc.gnu.org>
3244
3245 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
3246 fixup values if saved GOT address doesn't match runtime address.
3247 (fixup_branch_offset): Reorder list.
3248
e5ef217c
RO
32492015-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3250
3251 * Makefile.in (VTV_CFLAGS): New variable.
3252 (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
3253 (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
3254 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
3255 Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
3256 to extra_parts if $enable_vtable_verify = yes.
3257
78cc43a2
SN
32582015-11-23 Szabolcs Nagy <szabolcs.nagy@arm.com>
3259
3260 PR target/68059
3261 * config/arm/linux-atomic-64bit.c (__write): Rename to...
3262 (write): ...this and fix the return type.
3263
9afebea2
DD
32642015-11-19 DJ Delorie <dj@redhat.com>
3265
3266 * config/msp430/lib2hw_mul.S: Fix alignment.
3267
33f47f42
NS
32682015-11-18 Nathan Sidwell <nathan@codesourcery.com>
3269
3270 * config/nvptx/reduction.c: New.
3271 * config/nvptx/t-nvptx (LIB2ADD): Add it.
3272
d9adb476
DE
32732015-11-15 David Edelsohn <dje.gcc@gmail.com>
3274
3275 * config/rs6000/on_exit.c: New file.
3276 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
3277 * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
3278
c0ab1970
CZ
32792015-11-11 Claudiu Zissulescu <claziss@synopsys.com>
3280
3281 * config/arc/dp-hack.h: Add support for ARCHS.
3282 * config/arc/ieee-754/divdf3.S: Likewise.
3283 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
3284 * config/arc/ieee-754/muldf3.S: Likewise.
3285 * config/arc/ieee-754/mulsf3.S: Likewise
3286 * config/arc/lib1funcs.S: Likewise
3287 * config/arc/gmon/dcache_linesz.S: Don't read the build register
3288 for ARCv2 cores.
3289 * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
3290 for ARCv2 cores.
3291 * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
3292 * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
3293 cores.
3294
e6b6bf09
RO
32952015-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3296
3297 * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
3298 value.
3299 * config/ia64/crtend.S: Likewise.
3300
a153644f
TS
33012015-11-07 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3302
3303 * config/visium/lib2funcs.c (__set_trampoline_parity): Use
3304 __CHAR_BIT__ instead of BITS_PER_UNIT.
3305 * fixed-bit.h: Likewise.
3306 * fp-bit.h: Likewise.
3307 * libgcc2.c (__popcountSI2): Likewise.
3308 (__popcountDI2): Likewise.
3309 * libgcc2.h: Likewise.
3310 * libgcov.h: Likewise.
3311
3dee689d
DE
33122015-11-07 David Edelsohn <dje.gcc@gmail.com>
3313
3314 * config/rs6000/atexit.c: New file.
3315 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
3316 * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
3317 * config/rs6000/cxa_finalize.c
3318 (catomic_compare_and_exchange_bool_acq): Negate return value.
3319
2ef543e4
VK
33202015-10-30 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
3321
3322 * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
3323 (processor_subtypes): Add znver1.
3324 (get_amd_cpu): Detect znver1.
3325
1300f017
CL
33262015-10-29 Christophe Lyon <christophe.lyon@linaro.org>
3327
3328 * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
3329 Include crtfastmath.o.
3330
3e5bb7ee
JR
33312015-10-23 Joern Rennecke <joern.rennecke@embecosm.com>
3332
3333 PR libgcc/66883
3334 * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
1300f017 3335
793aa938
KP
33362015-10-16 Kaushik Phatak <kaushik.phatak@kpit.com>
3337
3338 * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
3339 * config/rl78/divmodsi.S: Update return register to r8.
3340 * config/rl78/divmodhi.S: Update return register to r8,r9.
3341 Branch to main_loop_done_himode to pop registers before return.
3342
7d296953 33432015-10-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
fac812f0
VK
3344
3345 * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
3346 (__cpu_indicator_init): Fix model selection for AMD CPUs.
3347
6a192b5a
KY
33482015-10-05 Kirill Yukhin <kirill.yukhin@intel.com>
3349
3350 * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
3351
4a0a9457
MF
33522015-10-03 Max Filippov <jcmvbkbc@gmail.com>
3353
3354 * config.host (xtensa*-*-uclinux*): New configuration.
3355
ab91c076
KY
33562015-10-02 Kirill Yukhin <kirill.yukhin@intel.com>
3357
385c7747 3358 * config/i386/cpuinfo.c (processor_features): Add
ab91c076
KY
3359 FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
3360
30954527
JM
33612015-09-28 Joseph Myers <joseph@codesourcery.com>
3362
3363 * soft-fp/adddf3.c: Update from glibc.
3364 * soft-fp/addsf3.c: Likewise.
3365 * soft-fp/addtf3.c: Likewise.
3366 * soft-fp/divdf3.c: Likewise.
3367 * soft-fp/divsf3.c: Likewise.
3368 * soft-fp/divtf3.c: Likewise.
3369 * soft-fp/double.h: Likewise.
3370 * soft-fp/eqdf2.c: Likewise.
3371 * soft-fp/eqsf2.c: Likewise.
3372 * soft-fp/eqtf2.c: Likewise.
3373 * soft-fp/extenddftf2.c: Likewise.
3374 * soft-fp/extended.h: Likewise.
3375 * soft-fp/extendsfdf2.c: Likewise.
3376 * soft-fp/extendsftf2.c: Likewise.
3377 * soft-fp/extendxftf2.c: Likewise.
3378 * soft-fp/fixdfdi.c: Likewise.
3379 * soft-fp/fixdfsi.c: Likewise.
3380 * soft-fp/fixdfti.c: Likewise.
3381 * soft-fp/fixsfdi.c: Likewise.
3382 * soft-fp/fixsfsi.c: Likewise.
3383 * soft-fp/fixsfti.c: Likewise.
3384 * soft-fp/fixtfdi.c: Likewise.
3385 * soft-fp/fixtfsi.c: Likewise.
3386 * soft-fp/fixtfti.c: Likewise.
3387 * soft-fp/fixunsdfdi.c: Likewise.
3388 * soft-fp/fixunsdfsi.c: Likewise.
3389 * soft-fp/fixunsdfti.c: Likewise.
3390 * soft-fp/fixunssfdi.c: Likewise.
3391 * soft-fp/fixunssfsi.c: Likewise.
3392 * soft-fp/fixunssfti.c: Likewise.
3393 * soft-fp/fixunstfdi.c: Likewise.
3394 * soft-fp/fixunstfsi.c: Likewise.
3395 * soft-fp/fixunstfti.c: Likewise.
3396 * soft-fp/floatdidf.c: Likewise.
3397 * soft-fp/floatdisf.c: Likewise.
3398 * soft-fp/floatditf.c: Likewise.
3399 * soft-fp/floatsidf.c: Likewise.
3400 * soft-fp/floatsisf.c: Likewise.
3401 * soft-fp/floatsitf.c: Likewise.
3402 * soft-fp/floattidf.c: Likewise.
3403 * soft-fp/floattisf.c: Likewise.
3404 * soft-fp/floattitf.c: Likewise.
3405 * soft-fp/floatundidf.c: Likewise.
3406 * soft-fp/floatundisf.c: Likewise.
3407 * soft-fp/floatunditf.c: Likewise.
3408 * soft-fp/floatunsidf.c: Likewise.
3409 * soft-fp/floatunsisf.c: Likewise.
3410 * soft-fp/floatunsitf.c: Likewise.
3411 * soft-fp/floatuntidf.c: Likewise.
3412 * soft-fp/floatuntisf.c: Likewise.
3413 * soft-fp/floatuntitf.c: Likewise.
3414 * soft-fp/gedf2.c: Likewise.
3415 * soft-fp/gesf2.c: Likewise.
3416 * soft-fp/getf2.c: Likewise.
3417 * soft-fp/ledf2.c: Likewise.
3418 * soft-fp/lesf2.c: Likewise.
3419 * soft-fp/letf2.c: Likewise.
3420 * soft-fp/muldf3.c: Likewise.
3421 * soft-fp/mulsf3.c: Likewise.
3422 * soft-fp/multf3.c: Likewise.
3423 * soft-fp/negdf2.c: Likewise.
3424 * soft-fp/negsf2.c: Likewise.
3425 * soft-fp/negtf2.c: Likewise.
3426 * soft-fp/op-1.h: Likewise.
3427 * soft-fp/op-2.h: Likewise.
3428 * soft-fp/op-4.h: Likewise.
3429 * soft-fp/op-8.h: Likewise.
3430 * soft-fp/op-common.h: Likewise.
3431 * soft-fp/quad.h: Likewise.
3432 * soft-fp/single.h: Likewise.
3433 * soft-fp/soft-fp.h: Likewise.
3434 * soft-fp/subdf3.c: Likewise.
3435 * soft-fp/subsf3.c: Likewise.
3436 * soft-fp/subtf3.c: Likewise.
3437 * soft-fp/truncdfsf2.c: Likewise.
3438 * soft-fp/trunctfdf2.c: Likewise.
3439 * soft-fp/trunctfsf2.c: Likewise.
3440 * soft-fp/trunctfxf2.c: Likewise.
3441 * soft-fp/unorddf2.c: Likewise.
3442 * soft-fp/unordsf2.c: Likewise.
3443 * soft-fp/unordtf2.c: Likewise.
3444
4dfe21ac
RE
34452015-09-24 Richard Earnshaw <rearnsha@arm.com>
3446
3447 PR libgcc/67624
3448 * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
3449
df2a1cc4
RO
34502015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3451
3452 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
3453 Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
3454 * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
3455 messages.
3456 (internal_mcount): Likewise.
3457 * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
3458 crt_compile, add CRTSTUFF_T_CFLAGS_S.
3459
2d110442
RO
34602015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3461
3462 * configure.ac (libgcc_cv_solaris_crts): New test.
3463 * configure: Regenerate.
3464 * config.in: Regenerate.
3465 * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
3466 * config/gmon-sol2.c: Rename to ...
3467 * config/sol2/gmon.c: ... this.
3468 Include auto-target.h.
3469 (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
3470 * config/t-sol2: Rename to ...
3471 * config/sol2/t-sol2: ... this.
3472 (gmon.o): Reflect renaming.
3473 (crtp.o, crtpg.o): New rules.
3474 * config.host (*-*-solaris2*): Reflect renaming.
3475 Use system CRTs if present.
3476 Remove default CRT case.
3477
d572e439
JDA
34782015-09-23 John David Anglin <danglin@gcc.gnu.org>
3479
3480 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
3481 (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
3482 __kernel_cmpxchg2.
3483 (__sync_##OP##_and_fetch_##WIDTH): Likewise.
3484 (__sync_val_compare_and_swap_##WIDTH): Likewise.
3485 (__sync_bool_compare_and_swap_##WIDTH): Likewise.
3486 (__sync_lock_test_and_set_##WIDTH): Likewise.
3487 (__sync_lock_release_##WIDTH): Likewise.
3488 (__sync_fetch_and_##OP##_4): Change result to match type of
3489 __kernel_cmpxchg.
3490 (__sync_##OP##_and_fetch_4): Likewise.
3491 (__sync_val_compare_and_swap_4): Likewise.
3492 (__sync_bool_compare_and_swap_4): likewise.
3493 (__sync_lock_test_and_set_4): Likewise.
3494 (__sync_lock_release_4): Likewise.
3495 (FETCH_AND_OP_2): Add long long variants.
3496 (OP_AND_FETCH_2): Likewise.
3497 (COMPARE_AND_SWAP_2 ): Likewise.
3498 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
3499 (SYNC_LOCK_RELEASE_2): Likewise.
3500 (__sync_bool_compare_and_swap_##WIDTH): Correct return.
3501
7d296953 35022015-09-22 Kirill Yukhin <kirill.yukhin@intel.com>
06caf59d
KY
3503
3504 * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
3505 FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
3506 FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
3507 (get_available_features): Habdle new features.
3508
131314e1
JB
35092015-09-21 James Bowman <james.bowman@ftdichip.com>
3510
3511 * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
3512 memory layout. Deal correctly with BSS region larger than 32K.
3513 Handle a watchdog reset like a power-on reset. Clean up unused
3514 code.
3515
04218b35
AD
35162015-09-18 Andrew Dixie <andrewd@gentrack.com>
3517 David Edelsohn <dje.gcc@gmail.com>
3518
3519 * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
3520 * config/rs6000/crtdbase.S: New file.
3521 * config/rs6000/t-aix-cxa: Build crtdbase.o.
3522
c8338173
MF
35232015-09-15 Max Filippov <jcmvbkbc@gmail.com>
3524
3525 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
3526 Add support for call0 ABI.
3527
7a84bf71
JDA
35282015-09-13 John David Anglin <danglin@gcc.gnu.org>
3529
3530 * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
3531
4efab402
SH
35322015-09-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
3533
3534 * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
3535 (__GTHREAD_HAS_COND): Likewise.
3536 (__gthread_t): Likewise.
3537 (__gthread_cond_t): Likewise.
3538 (__gthread_time_t): Likewise.
3539 (__GTHREAD_MUTEX_INIT): Likewise.
3540 (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
3541 (__GTHREAD_COND_INIT): Likewise.
3542 (__GTHREAD_COND_INIT_FUNCTION): Likewise.
3543 (__GTHREAD_TIME_INIT): Likewise.
3544 (__gthread_create): Likewise.
3545 (__gthread_join): Likewise.
3546 (__gthread_detach): Likewise.
3547 (__gthread_equal): Likewise.
3548 (__gthread_self): Likewise.
3549 (__gthread_yield): Likewise.
3550 (__gthread_cond_broadcast): Likewise.
3551 (__gthread_cond_signal): Likewise.
3552 (__gthread_cond_wait): Likewise.
3553 (__gthread_cond_timedwait): Likewise.
3554 (__gthread_cond_wait_recursive): Likewise.
3555 (__gthread_cond_destroy): Likewise.
3556 (rtems_gxx_once): Delete.
3557 (rtems_gxx_key_create): Likewise.
3558 (rtems_gxx_key_delete): Likewise.
3559 (rtems_gxx_getspecific): Likewise.
3560 (rtems_gxx_setspecific): Likewise.
3561 (rtems_gxx_mutex_init): Likewise.
3562 (rtems_gxx_mutex_destroy): Likewise.
3563 (rtems_gxx_mutex_lock): Likewise.
3564 (rtems_gxx_mutex_trylock): Likewise.
3565 (rtems_gxx_mutex_unlock): Likewise.
3566 (rtems_gxx_recursive_mutex_init): Likewise.
3567 (rtems_gxx_recursive_mutex_lock): Likewise.
3568 (rtems_gxx_recursive_mutex_trylock): Likewise.
3569 (rtems_gxx_recursive_mutex_unlock): Likewise.
3570 (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
3571 (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
3572 (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
3573 (__gthread_once): Likewise.
3574 (__gthread_key_create): Likewise.
3575 (__gthread_key_delete): Likewise.
3576 (__gthread_getspecific): Likewise.
3577 (__gthread_setspecific): Likewise.
3578 (__gthread_key_t): Use <pthread.h> type.
3579 (__gthread_once_t): Likewise
3580 (__gthread_mutex_t): Use <sys/lock.h> type.
3581 (__gthread_recursive_mutex_t): Likewise
3582 (__gthread_mutex_lock): Use <sys/lock.h> function.
3583 (__gthread_mutex_trylock): Likewise.
3584 (__gthread_mutex_timedlock): Likewise.
3585 (__gthread_mutex_unlock): Likewise.
3586 (__gthread_mutex_destroy): Likewise.
3587 (__gthread_recursive_mutex_lock): Likewise.
3588 (__gthread_recursive_mutex_trylock): Likewise.
3589 (__gthread_recursive_mutex_timedlock): Likewise.
3590 (__gthread_recursive_mutex_unlock): Likewise.
3591 (__gthread_recursive_mutex_destroy): Likewise.
3592
991995c4
MF
35932015-08-18 Max Filippov <jcmvbkbc@gmail.com>
3594
3595 * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
3596 context->sp instead of context->cfa.
3597
0e19db59
MF
35982015-08-18 Max Filippov <jcmvbkbc@gmail.com>
3599
3600 * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
3601 with unwind-dw2-fde-dip.
3602
b6ac5f62
MF
36032015-08-18 Max Filippov <jcmvbkbc@gmail.com>
3604
3605 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
3606 CALL12 followed by series of ENTRY to spill windowed registers.
3607 (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
3608 instead of making linux spill syscall.
3609
3e0f3349
YR
36102015-08-14 Yuri Rumyantsev <ysrumyan@gmail.com>
3611
3612 * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
3613 (get_intel_cpu): Likewise.
3614
51c728b1
L
36152015-08-12 H.J. Lu <hongjiu.lu@intel.com>
3616
3617 * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
3618 (get_intel_cpu): Add Knights Landing support.
3619
aff4eeac
UB
36202015-08-11 Uros Bizjak <ubizjak@gmail.com>
3621
3622 PR target/66954
3623 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
3624 (get_available_features): Handle FEATURE_PCLMUL.
3625
736e56da
L
36262015-08-10 H.J. Lu <hongjiu.lu@intel.com>
3627
3628 * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
3629 Broadwell.
3630
54d22142
UB
36312015-07-22 Uros Bizjak <ubizjak@gmail.com>
3632
3633 PR target/66954
3634 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
3635 (get_available_features): Handle FEATURE_AES.
3636
20ca17e4
CLT
36372015-07-22 Chung-Lin Tang <cltang@codesourcery.com>
3638
3639 * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
3640 (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
3641
ebe4a560
NS
36422015-07-17 Nathan Sidwell <nathan@codesourcery.com>
3643
3644 * offloadstuff.c: Constify host data.
3645
180744c0
JB
36462015-07-17 Jan Beulich <jbeulich@suse.com>
3647
3648 * config/t-softfp: Split up "else ifneq".
3649
a03c6ae3
SL
36502015-07-14 Sandra Loosemore <sandra@codesourcery.com>
3651 Cesar Philippidis <cesar@codesourcery.com>
3652 Chung-Lin Tang <cltang@codesourcery.com>
3653
3654 * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
3655 for __nios2_arch__ level.
3656
73358db5
JM
36572015-07-13 John Marino <gnugcc@marino.st>
3658
3659 * config/i386/t-dragonfly: New.
3660
f9a12f7b
JDA
36612015-07-01 John David Anglin <danglin@gcc.gnu.org>
3662
3663 * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
3664 better match light-weight syscall argument order.
3665 (__kernel_cmpxchg2): Likewise.
3666 Adjust callers.
3667
cb78b51c
L
36682015-06-30 H.J. Lu <hongjiu.lu@intel.com>
3669
3670 * config.host: Support i[34567]86-*-elfiamcu target.
3671 * config/t-softfp-sfdftf: New file.
3672 * config/i386/32/t-iamcu: Likewise.
3673 * configure: Regenerated.
3674
4fa0f9ea
JL
36752015-06-23 James Lemke <jwlemke@codesourcery.com>
3676
3677 libgcc/config/arm/
3678 * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
3679
428b3812
L
36802015-05-27 H.J. Lu <hongjiu.lu@intel.com>
3681
3682 * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
3683
7d296953 36842015-05-27 John Marino <gnugcc@marino.st>
89c54dd3
JM
3685
3686 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
3687 md_unwind_header
3688 * config/i386/freebsd-unwind.h: New.
3689
9b789cc1
UB
36902015-05-22 Uros Bizjak <ubizjak@gmail.com>
3691
3692 * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
3693 i386/t-crtfm to tmake_file.
3694 * config/i386/crtfastmath.c (set_fast_math_sse): New function.
3695 (set_fast_math): Use set_fast_math_sse for SSE targets.
3696 * config/i386/t-crtfm: Remove.
3697
3dafb220
AM
36982015-05-21 Alan Modra <amodra@gmail.com>
3699
3700 PR libgcc/66225
3701 * config/rs6000/morestack.S: Remove ".abiversion 1".
3702
0f0fd745
AM
37032015-05-20 Alan Modra <amodra@gmail.com>
3704
3705 * config/rs6000/morestack.S: New.
3706 * config/rs6000/t-stack-rs6000: New.
3707 * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
3708 to tmake_file.
3709 * generic-morestack.c: Don't build for powerpc 32-bit.
3710
515ae71b
EB
37112015-05-19 Eric Botcazou <ebotcazou@adacore.com>
3712
3713 * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
3714 Remove useless endif/ifneq ($(enable_shared),yes) pair.
3715
36805406
JL
37162015-05-16 James Bowman <james.bowman@ftdichip.com>
3717
3718 * config.host: FT32 target added.
3719 * config/ft32/*: New files for FT32 target.
3720
ff935d0c
MG
37212015-05-15 Martin Galvan <martin.galvan@tallertechnologies.com>
3722
385c7747
UB
3723 * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
3724 New macros.
3725 * config/arm/ieee754-df.S: Add CFI directives.
3726 * config/arm/ieee754-sf.S: Add CFI directives.
ff935d0c 3727
9b92a9f3
EB
37282015-05-13 Eric Botcazou <ebotcazou@adacore.com>
3729
3730 * configure.ac: Include config/sjlj.m4.
3731 Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
3732 * config.in: Regenerate.
3733 * configure: Likewise.
3734 * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
3735
98b5dc61
UB
37362015-05-12 Uros Bizjak <ubizjak@gmail.com>
3737
3738 * libgcov-util.c: Add space between string literal and macro name.
3739
5a0ff57c
SL
37402015-05-06 Sandra Loosemore <sandra@codesourcery.com>
3741 Chris Jones <chrisj@nvidia.com>
3742 Joshua Conner <jconner@nvidia.com>
3743
3744 * config.host (arm*-*-linux*): Add support for crtfastmath.o.
3745 (arm*-*-uclinux*): Likewise.
3746 (arm*-*-eabi* | arm*-*-rtems*): Likewise.
3747 * config/arm/crtfastmath.c: New file.
3748
d28ad5d4
BS
37492014-04-29 Bernd Schmidt <bernds@codesourcery.com>
3750
3751 * Makefile.in (real_host_noncanonical): New variable.
3752 (libsubdir): Use it.
3753 * configure.ac (real_host_noncanonical): Compute. Remove special
3754 case for intelmicemul.
3755 * configure: Regenerate.
3756
cc86234f
UB
37572015-04-28 Uros Bizjak <ubizjak@gmail.com>
3758
3759 * config/frv/elf-lib.h: New file.
3760 (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
3761 * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
3762 to tm_file.
3763
37642015-04-28 Uros Bizjak <ubizjak@gmail.com>
3765
3766 * config/frv/frvbengin.c: Do not include defaults.h
3767 * config/frv/frvend.c: Ditto.
3768
2f6bd6eb
YS
37692015-04-27 Yoshinori Sato <ysato@users.sourceforge.jp>
3770
3771 * config.host: Add h8300-*-linux
3772 * config/h8300/t-linux: New file.
3773 * config/h8300/lib1funs.s: Change symbol prefix.
3774 * config/h8300/sfp-machine.h: 64bit double support.
3775
15aa7b44
GR
37762015-04-22 Gregor Richards <gregor.richards@uwaterloo.ca>
3777 Szabolcs Nagy <szabolcs.nagy@arm.com>
3778
3779 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
3780 Linux if target provides dl_iterate_phdr.
3781
abd0cdc9
L
37822015-04-17 H.J. Lu <hongjiu.lu@intel.com>
3783
3784 PR target/65612
3785 * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
3786 * config/i386/cpuinfo.c (__cpu_model): Initialize.
3787 (__cpu_indicator_init@GCC_4.8.0): New.
3788 (__cpu_model@GCC_4.8.0): Likewise.
3789 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
3790 -DUSE_ELF_SYMVER.
3791
72ed1126
NC
37922015-04-16 Nick Clifton <nickc@redhat.com>
3793
3794 * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
3795 and __modhi3 functions.
3796 * config/rl78/divmodso.S: Add G14 and G13 versions of the
3797 __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
3798
d26b2237
CG
37992015-04-15 Chen Gang <gang.chen.5i5j@gmail.com>
3800
3801 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
3802 do-while loop as macro body to avoid warnings.
3803
cacf1f59
JJ
38042015-04-10 Jakub Jelinek <jakub@redhat.com>
3805 Iain Sandoe <iain@codesourcery.com>
3806
3807 PR target/65351
3808 * configure: Regenerate.
3809
e8a4ed3b
JJ
38102015-04-07 Jakub Jelinek <jakub@redhat.com>
3811 Iain Sandoe <iain@codesourcery.com>
3812
3813 PR target/65351
3814 * configure: Regenerate.
3815
0341335e
CLT
38162015-03-25 Chung-Lin Tang <cltang@codesourcery.com>
3817
3818 * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
3819
590e2636 38202015-03-03 Max Filippov <jcmvbkbc@gmail.com>
0341335e 3821
590e2636
MF
3822 Implement call0 ABI for xtensa
3823 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
3824 __xtensa_nonlocal_goto): Don't compile for call0 ABI.
3825 (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
3826 use ret in call0 ABI.
3827 * config/xtensa/t-windowed: New file.
3828 * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
3829 * libgcc/configure: Regenerated.
3830 * libgcc/configure.ac: Check if xtensa target is configured for
3831 windowed ABI and thus needs to use custom unwind code.
3832
7727f8f2
JW
38332015-02-12 Jonathan Wakely <jwakely@redhat.com>
3834
3835 PR libgcc/64885
3836 * gthr-single.h: Use __unused__ attribute instead of unused.
3837 * config/gthr-vxworks.h: Likewise.
3838 * config/i386/gthr-win32.h: Likewise.
3839
0e4a0def
KT
38402015-02-27 Kai Tietz <ktietz@redhat.com>
3841
3842 PR target/65038
3843 * config.in: Regenerated.
3844 * configure: Likewise.
3845 * configure.ac (AC_HEADER_STDC): Added explicit.
3846 (AC_CHECK_HEADERS): Check for default headers plus
3847 for ftw.h header.
3848 * libgcov-util.c (gcov_read_profile_dir): Disable use
3849 of ftw-function, if header is not found.
3850 (ftw_read_file): Likewise.
3851
b6530d0a
TS
38522015-02-23 Thomas Schwinge <thomas@codesourcery.com>
3853
3854 PR target/65181
3855 * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
3856 -Dinhibit_libc.
3857
53cfb467
SL
38582015-02-17 Sandra Loosemore <sandra@codesourcery.com>
3859
3860 * config/arm/bpabi.S (test_div_by_zero): Make label names
3861 consistent between thumb2 and arm mode cases. Separate the
3862 signed comparison on the high word of the numerator from the
3863 unsigned comparison on the low word.
3864 * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
3865 signed comparison.
3866
77d10a1b
JM
38672015-02-17 Joseph Myers <joseph@codesourcery.com>
3868
3869 * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
3870 and <string.h>.
3871 (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
3872
98174188
RE
38732015-02-10 Rainer Emrich <rainer@emrich-ebersheim.de>
3874
3875 PR gcov-profile/61889
471274de 3876 * libgcov-driver-system.c: undefine clashing macro for mkdir.
98174188 3877
771bef14
NC
38782015-02-02 Nick Clifton <nickc@redhat.com>
3879
3880 * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
3881 rounding up the fraction.
3882
40702893
JDA
38832015-01-31 John David Anglin <danglin@gcc.gnu.org>
3884
3885 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
3886 oldval and newval to const void *. Fix typo.
3887 (FETCH_AND_OP_2): Use __atomic_load_n to load value.
3888 (FETCH_AND_OP_WORD): Likewise.
3889 (OP_AND_FETCH_WORD): Likewise.
3890 (COMPARE_AND_SWAP_2): Likewise.
3891 (__sync_val_compare_and_swap_4): Likewise.
3892 (__sync_lock_test_and_set_4): Likewise.
3893 (SYNC_LOCK_RELEASE_2): Likewise.
3894 Remove support for long long atomic operations.
3895
f7f049fa
CT
38962015-01-27 Caroline Tice <cmtice@google.com>
3897
3898 Committing VTV Cywin/Ming patch for Patrick Wollgast
3899 * Makefile.in: Move rules to build vtv_*.o out of the check
3900 for CUSTOM_CRTSTUFF.
3901 * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
3902 i[34567]86-*-mingw*)
3903 (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
3904 enable_vtable_verify.
3905
8410904a
NC
39062015-01-27 Nick Clifton <nickc@redhat.com>
3907
3908 * config/rl78/cmpsi2.S: Use function start and end macros.
3909 (__gcc_bcmp): New function.
3910 * config/rl78/lshrsi3.S: Use function start and end macros.
3911 * config/rl78/mulsi3.S: Add support for G10.
3912 (__mulqi3): New function for G10.
3913 * config/rl78/signbit.S: Use function start and end macros.
3914 * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
3915 fpmath-sf.S.
3916 (LIB2FUNCS_EXCLUDE): Define.
3917 (LIB2FUNCS_ST): Define.
3918 * config/rl78/trampoline.S: Use function start and end macros.
3919 * config/rl78/vregs.h (START_FUNC): New macro.
3920 (START_ANOTHER_FUNC): New macro.
3921 (END_FUNC): New macro.
3922 (END_ANOTHER_FUNC): New macro.
3923 * config/rl78/bit-count.S: New file. Contains assembler
3924 implementations of the bit counting functions: ___clzhi2,
3925 __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
3926 __paritysi2, __popcounthi2 and __popcountsi2.
3927 * config/rl78/fpbit-sf.S: New file. Contains assembler
3928 implementationas of the math functions: __negsf2, __cmpsf2,
3929 __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
3930 __fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
3931 * config/rl78/fpmath-sf.S: New file. Contains assembler
3932 implementations of the math functions: __subsf3, __addsf3,
3933 __mulsf3 and __divsf3
3934
f962fbf1
RO
39352015-01-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3936
3937 * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
3938 Add i386/elf-lib.h to tm_file.
3939 * config/i386/elf-lib.h: Fix comment.
3940 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
3941 && __sun__ && __svr4__]: Remove workaround.
3942
939911c5
ASJ
39432015-01-25 Allan Sandfeld Jensen <sandfeld@kde.org>
3944
3945 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
3946 FEATURE_BMI2.
3947 (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
3948
c8f2dff2
L
39492015-01-24 H.J. Lu <hongjiu.lu@intel.com>
3950
3951 * config/i386/cpuinfo.c (processor_subtypes): Add
3952 INTEL_COREI7_BROADWELL.
3953 (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
3954 model numbers.
3955
7bbf9734
UB
39562015-01-23 Uros Bizjak <ubizjak@gmail.com>
3957
3958 * config/i386/elf-lib.h: New file.
3959 (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
3960 Wrap definition in #ifdef __i386__.
3961 * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
3962 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
3963 (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
3964 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
3965 to tm_file.
3966
324820f1
CG
39672015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
3968
3969 * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
3970 "(char *)" to avoid qualifier warning by 'xgcc' compiling.
3971
a9ce4e4a
CLT
39722015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
3973
3974 * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
3975 Update rt_sigframe format and address for current Nios II
3976 Linux conventions.
3977
82a19768
AT
39782015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
3979
3980 * config.host (arm*-*-freebsd*): Add new configuration for
3981 arm*-*-freebsd*.
3982 * config/arm/freebsd-atomic.c: New file.
3983 * config/arm/t-freebsd: Likewise.
3984 * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
3985 'PC-relative indirect' OS's.
3986
0969ec7d
EB
39872015-01-06 Eric Botcazou <ebotcazou@adacore.com>
3988
3989 * config.host: Add Visium support.
3990 * config/visium: New directory.
3991
5624e564
JJ
39922015-01-05 Jakub Jelinek <jakub@redhat.com>
3993
3994 Update copyright years.
3995
82f84ecb
MF
39962014-12-19 Matthew Fortune <matthew.fortune@imgtec.com>
3997
3998 * config.host: Support mipsisa32r6 and mipsisa64r6.
3999 * config/mips/mips16.S: Do not build for R6.
4000
69044fa9
OE
40012014-12-17 Oleg Endo <olegendo@gcc.gnu.org>
4002
4003 * config/sh/crt.h: New.
4004 * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
4005 symbols.
4006 * config/sh/crt1.S: Likewise.
4007
2405e0ea
UB
40082014-12-15 Uros Bizjak <ubizjak@gmail.com>
4009
4010 PR libgcc/63832
4011 * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
4012 func_ptr *dtor_list temporary variable to avoid "array subscript
4013 is above array bounds" warnings.
4014
7d296953 40152014-12-09 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
dd913323
MH
4016
4017 * Makefile.in (with_aix_soname): Define.
4018 * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
4019 * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
4020 * configure: Recreate.
4021
a66272f6
OH
40222014-12-05 Olivier Hainque <hainque@adacore.com>
4023
4024 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
4025 now provided by defaults.h.
4026
6342b2c5
OE
40272014-11-30 Oleg Endo <olegendo@gcc.gnu.org>
4028
7d0ee249 4029 PR target/55351
6342b2c5
OE
4030 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
4031 whether it's defined.
4032
c17eac85
IT
40332014-11-27 Ilya Tocar <ilya.tocar@intel.com>
4034
4035 * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
4036 * config/i386/cpuinfo.c (get_available_features): Detect it.
4037
1025cb6c
TW
40382014-11-27 Tony Wang <tony.wang@arm.com>
4039
4040 * config/arm/lib1funcs.S (FUNC_START): Add conditional section
4041 redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
4042 (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
4043
d19f2e38
SB
40442014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
4045
4046 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
4047
17f6e9a3
JDA
40482014-11-24 John David Anglin <danglin@gcc.gnu.org>
4049
4050 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
4051 instead.
4052
0cd7c672
GM
40532014-11-21 Guy Martin <gmsoft@tuxicoman.be>
4054 John David Anglin <danglin@gcc.gnu.org>
4055
4056 * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
4057 (FETCH_AND_OP_2): New. Use for subword and double word operations.
4058 (OP_AND_FETCH_2): Likewise.
4059 (COMPARE_AND_SWAP_2): Likewise.
4060 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
4061 (SYNC_LOCK_RELEASE_2): Likewise.
4062 (SUBWORD_SYNC_OP): Remove.
4063 (SUBWORD_VAL_CAS): Likewise.
4064 (SUBWORD_BOOL_CAS): Likewise.
4065 (FETCH_AND_OP_WORD): Update.
4066 Consistently use signed types.
cc86234f 4067
85c64bbe
BS
40682014-11-13 Bernd Schmidt <bernds@codesourcery.com>
4069 Thomas Schwinge <thomas@codesourcery.com>
4070 Ilya Verbin <ilya.verbin@intel.com>
4071 Andrey Turetskiy <andrey.turetskiy@intel.com>
4072
4073 * Makefile.in (crtoffloadbegin$(objext)): New rule.
4074 (crtoffloadend$(objext)): Likewise.
4075 * configure: Regenerate.
4076 * configure.ac (accel_dir_suffix): Compute new variable.
4077 (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
4078 if enable_offload_targets is not empty.
4079 * offloadstuff.c: New file.
4080
52a1ff8b
NC
40812014-11-13 Nick Clifton <nickc@redhat.com>
4082
4083 * config/rl78/divmodhi.S: Add support for the G10 architecture.
4084 Use START_FUNC and END_FUNC macros to enable linker garbage
4085 collection.
4086 * config/rl78/divmodqi.S: Likewise.
4087 * config/rl78/divmodsi.S: Likewise.
4088 * config/rl78/mulsi3.S: Likewise.
4089 * config/rl78/lib2div.c: Remove G10 functions.
4090 * config/rl78/lib2muls.c: Likewise.
4091 * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
4092 * config/rl78/vregs.h (START_FUNC): New macro.
4093 (END_FUNC): New macro.
4094
050af144
MF
40952014-11-12 Matthew Fortune <matthew.fortune@imgtec.com>
4096
4097 * config/mips/mips16.S: Set .module when supported. Update O32
4098 FP64 calling convention and use for FPXX when possible. Add FPXX
4099 calling convention fallback case.
4100
738f2522
BS
41012014-11-06 Bernd Schmidt <bernds@codesourcery.com>
4102
4103 * config.host: Handle nvptx-*-*.
4104 * shared-object.mk (as-flags-$o): Define.
4105 ($(base)$(objext), $(base)_s$(objext)): Use it instead of
4106 -xassembler-with-cpp.
4107 * static-object.mk: Identical changes.
4108 * config/nvptx/t-nvptx: New file.
4109 * config/nvptx/crt0.s: New file.
4110 * config/nvptx/free.asm: New file.
4111 * config/nvptx/malloc.asm: New file.
4112 * config/nvptx/realloc.c: New file.
4113
e610393c
JM
41142014-10-30 Joseph Myers <joseph@codesourcery.com>
4115
4116 * Makefile.in (libgcc.map.in): New target.
4117 (libgcc.map): Use libgcc.map.in.
4118 * config/t-softfp (softfp_compat): New variable to be set by
4119 users.
4120 [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
4121 variables.
4122 [$(softfp_compat) = y] (softfp_file_list): Use files in the build
4123 directory.
4124 [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
4125 that use compat symbols and disable all code unless [SHARED].
4126 * config/t-softfp-compat: New file.
4127 * find-symver.awk: New file.
4128 * configure.ac (--with-glibc-version): New configure option.
4129 (ppc_fp_compat): New variable set for powerpc*-*-linux*.
4130 * configure: Regenerate.
4131 * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
4132 soft-float and e500.
4133
bc1b3a88
JM
41342014-10-29 Joseph Myers <joseph@codesourcery.com>
4135
4136 * config/t-hardfp (hardfp_exclusions): Document new variable for
4137 user to define.
4138 (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
4139 * config/t-softfp (softfp_extras): Document new variable for user
4140 to define.
4141 (softfp_func_list): Add functions from $(softfp_extras).
4142 * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
4143 * config.host (powerpc*-*-linux*): For e500v1, use
4144 rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
4145 t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
4146 and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
4147
ef2810c1
JDA
41482014-10-26 John David Anglin <danglin@gcc.gnu.org>
4149
4150 * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
4151 (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
4152 memory read accesses are ok.
4153
d80c2bea
JM
41542014-10-25 Joseph Myers <joseph@codesourcery.com>
4155
4156 * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
4157 * configure: Regenerate.
4158 * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
4159 additions to tmake_file. Use t-hardfp-sfdf and t-hardfp instead
4160 of soft-fp for 32-bit classic hard float. Do not use
4161 t-softfp-excl for soft float.
4162
693b297b
JM
41632014-10-22 Joseph Myers <joseph@codesourcery.com>
4164
4165 * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
4166 configurations.
4167 * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
4168 Remove variables.
4169
18a3415e
GJL
41702014-10-22 Georg-Johann Lay <avr@gjlay.de>
4171
4172 * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
4173 introduced with 2014-10-21 trunk r216525.
4174
c1dd9790 41752014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
7d296953
JJ
4176 Vidya Praveen <vidya.praveen@atmel.com>
4177 Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
4178 Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
4179 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
c1dd9790
JR
4180
4181 * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
4182 order.
4183
4184 Updated library functions for AVRTINY arch.
4185 * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
4186 Replaced occurrences of r0/r1 with tmp/zero reg macros.
4187 Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
4188 or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
4189 wsubi/wadi macors.
4190 (__mulsi3_helper): Update stack, preserve callee saved regs and
4191 argument from stack. Restore callee save registers.
4192 (__mulpsi3): Likewise.
4193 (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
4194 __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
18a3415e 4195 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
c1dd9790
JR
4196 AVRTINY.
4197 (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
4198 (__do_copy_data): Added new definition for AVRTINY.
4199 (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
4200 (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
4201 __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
4202 * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
4203 tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
4204 macors.
18a3415e 4205 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
c1dd9790
JR
4206 AVRTINY.
4207
18a3415e 4208 Fix broken long multiplication on tiny arch.
c1dd9790 4209
5f606431
JM
42102014-10-09 Joseph Myers <joseph@codesourcery.com>
4211
4212 * soft-fp/double.h: Update from glibc.
4213 * soft-fp/eqdf2.c: Likewise.
4214 * soft-fp/eqsf2.c: Likewise.
4215 * soft-fp/eqtf2.c: Likewise.
4216 * soft-fp/extenddftf2.c: Likewise.
4217 * soft-fp/extended.h: Likewise.
4218 * soft-fp/extendsfdf2.c: Likewise.
4219 * soft-fp/extendsftf2.c: Likewise.
4220 * soft-fp/extendxftf2.c: Likewise.
4221 * soft-fp/gedf2.c: Likewise.
4222 * soft-fp/gesf2.c: Likewise.
4223 * soft-fp/getf2.c: Likewise.
4224 * soft-fp/ledf2.c: Likewise.
4225 * soft-fp/lesf2.c: Likewise.
4226 * soft-fp/letf2.c: Likewise.
4227 * soft-fp/op-1.h: Likewise.
4228 * soft-fp/op-2.h: Likewise.
4229 * soft-fp/op-4.h: Likewise.
4230 * soft-fp/op-8.h: Likewise.
4231 * soft-fp/op-common.h: Likewise.
4232 * soft-fp/quad.h: Likewise.
4233 * soft-fp/single.h: Likewise.
4234 * soft-fp/soft-fp.h: Likewise.
4235 * soft-fp/unorddf2.c: Likewise.
4236 * soft-fp/unordsf2.c: Likewise.
4237 * soft-fp/unordtf2.c: Likewise.
4238 * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
4239 * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
4240 * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
4241 * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
4242 * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
4243 * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
4244 * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
4245 * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
4246 * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
4247 * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
4248
9b84e7a8
RX
42492014-10-08 Rong Xu <xur@google.com>
4250
4251 * libgcov-util.c (read_gcda_file): Fix format.
4252 (find_match_gcov_info): Ditto.
4253 (calculate_2_entries): New.
4254 (compute_one_gcov): Ditto.
4255 (gcov_info_count_all_cold): Ditto.
4256 (gcov_info_count_all_zero): Ditto.
4257 (extract_file_basename): Ditto.
4258 (get_file_basename): Ditto.
4259 (set_flag): Ditto.
4260 (matched_gcov_info): Ditto.
4261 (calculate_overlap): Ditto.
4262 (gcov_profile_overlap): Ditto.
4263 * libgcov-driver.c (compute_summary): Make
4264 it avavilable for external calls.
4265
fe1090c1
RX
42662014-10-06 Rong Xu <xur@google.com>
4267
4268 * Makefile.in: Ditto.
4269 * libgcov-driver.c (gcov_sort_n_vals): New utility function.
4270 (gcov_sort_icall_topn_counter): Ditto.
4271 (gcov_sort_topn_counter_arrays): Ditto.
4272 (dump_one_gcov): Sort indirect_call topn counters.
4273 * libgcov-merge.c (__gcov_merge_icall_topn): New merge
4274 function.
4275 * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
4276 utility function.
4277 (__gcov_indirect_call_topn_profiler): New profiler function.
4278 * libgcov-util.c (__gcov_icall_topn_counter_op): New.
4279 * libgcov.h: New decls.
4280
3daa7bbf
TS
42812014-10-04 Trevor Saunders <tsaunders@mozilla.com>
4282
4283 * config.host: Remove support for score-*.
4284
9a79452d
JM
42852014-09-22 Joseph Myers <joseph@codesourcery.com>
4286
4287 * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
4288 (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
4289 (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
4290 __LIBGCC_XF_MANT_DIG__.
4291 (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
4292 (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
4293 __LIBGCC_TF_MANT_DIG__.
4294 * libgcc2.c (NOTRUNC): Define in terms of
4295 __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
4296 * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
4297
1a849e50
JM
42982014-09-22 Joseph Myers <joseph@codesourcery.com>
4299
4300 PR target/63312
4301 * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
4302 New macros.
4303
598a1586
HPN
43042014-09-22 Hans-Peter Nilsson <hp@axis.com>
4305
4306 * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
4307 override USE_PT_GNU_EH_FRAME.
4308 [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
4309 check USE_EH_FRAME_REGISTRY_ALWAYS against
4310 __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
4311 * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
4312 variable for substituted force_explicit_eh_registry.
4313 (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
4314 * configure.ac (explicit-exception-frame-registration):
4315 New AC_ARG_ENABLE.
4316 * configure: Regenerate.
4317
3a8fe7c6
OH
43182014-09-19 Olivier Hainque <hainque@adacore.com>
4319
4320 * config.host (powerpc-wrs-vxworksmils): New configuration,
4321 same as vxworksae.
4322
dd69f047
JM
43232014-09-18 Joseph Myers <joseph@codesourcery.com>
4324
4325 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
4326
e770bfd9
JM
43272014-09-18 Joseph Myers <joseph@codesourcery.com>
4328
4329 * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
4330 bits not set bits as indicating trapping exceptions.
4331
cadb2b96
NS
43322014-09-17 Nathan sidwell <nathan@acm.org>
4333
4334 * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
4335 (LIBGCOV_DRIVER): ... here.
4336 * libgcov-driver.c (gcov_master): New.
4337 (gcov_exit): Remove from master chain.
4338 (__gcov_init): Add to master chain if version compatible. Don't
4339 clear the version.
4340 * libgcov_interface (__gcov_flust): Call gcov_dump_int.
4341 (gcov_reset_int): Clear master chain, if compatible.
4342 (gcov_dump_int): New internal interface. Dump master chain, if
4343 compatible.
4344 (gcov_dump): Alias for gcov_dump_int.
4345 * libgcov.h (struct gcov_root): Add next and prev fields.
4346 (struct gcov_master): New struct.
4347 (__gcov_master): New.
4348 (gcov_dump_int): Declare.
4349
580d22a3
OH
43502014-09-17 Olivier Hainque <hainque@adacore.com>
4351
4352 * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
4353 and crtbegin.o + crtend.o to extra_parts.
4354
8cc4b7a2
JM
43552014-09-12 Joseph Myers <joseph@codesourcery.com>
4356
4357 * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
4358 __LIBGCC_HAS_SF_MODE__.
4359 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
4360 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
4361 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
4362 * config/libbid/bid_gcc_intrinsics.h
4363 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
4364 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
4365 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
4366 * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
4367 (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
4368 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
4369
ea3f2b24
GJL
43702014-09-11 Georg-Johann Lay <avr@gjlay.de>
4371
4372 PR target/63223
4373 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
4374 and R24 as needed. Make work for all devices and .text locations.
4375 (__do_global_ctors, __do_global_dtors): Use word addresses.
4376 (__tablejump__, __tablejump_elpm__): Remove functions.
4377 * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
4378 Add _tablejump2.
4379 (XICALL, XIJMP): New macros.
4380
b677236a
MS
43812014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
4382 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
4383
4384 * config.host (aarch64*): Include crtfastmath.o and
4385 t-crtfm.
4386 * config/aarch64/crtfastmath.c: New file.
4387
157e859f
TS
43882014-09-08 Trevor Saunders <tsaunders@mozilla.com>
4389
4390 * config.host: Remove picochip support.
4391 * config/picochip/adddi3.S: Remove.
4392 * config/picochip/ashlsi3.S: Remove.
4393 * config/picochip/ashlsi3.c: Remove.
4394 * config/picochip/ashrsi3.S: Remove.
4395 * config/picochip/ashrsi3.c: Remove.
4396 * config/picochip/clzsi2.S: Remove.
4397 * config/picochip/cmpsi2.S: Remove.
4398 * config/picochip/divmod15.S: Remove.
4399 * config/picochip/divmodhi4.S: Remove.
4400 * config/picochip/divmodsi4.S: Remove.
4401 * config/picochip/lib1funcs.S: Remove.
4402 * config/picochip/longjmp.S: Remove.
4403 * config/picochip/lshrsi3.S: Remove.
4404 * config/picochip/lshrsi3.c: Remove.
4405 * config/picochip/parityhi2.S: Remove.
4406 * config/picochip/popcounthi2.S: Remove.
4407 * config/picochip/setjmp.S: Remove.
4408 * config/picochip/subdi3.S: Remove.
4409 * config/picochip/t-picochip: Remove.
4410 * config/picochip/ucmpsi2.S: Remove.
4411 * config/picochip/udivmodhi4.S: Remove.
4412 * config/picochip/udivmodsi4.S: Remove.
4413
66bb34c0
JM
44142014-09-08 Joseph Myers <joseph@codesourcery.com>
4415
4416 * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
4417 (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
4418 (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
4419 (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
4420 * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
4421 error if not defined and LIBGCC2_HAS_SF_MODE is defined.
4422 (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
4423 defined and LIBGCC2_HAS_DF_MODE is defined.
4424 (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
4425 defined and LIBGCC2_HAS_XF_MODE is defined.
4426 (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
4427 defined and LIBGCC2_HAS_TF_MODE is defined.
4428
9686a2e6
JM
44292014-09-08 Joseph Myers <joseph@codesourcery.com>
4430
4431 * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
4432 and ROUND_TOWARDS_ZERO conditionals.
4433
71c3e2ef
NS
44342014-09-07 Nathan sidwell <nathan@acm.org>
4435
4436 * libgcov-interface.c (STRONG_ALIAS): Rename to ...
4437 (ALIAS_weak): ... here. Use forwarding function. Adjust uses.
4438
53d68b9f
JM
44392014-09-05 Joseph Myers <joseph@codesourcery.com>
4440
4441 * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
4442 * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
4443 uses to __LIBGCC_STACK_POINTER_REGNUM__.
4444 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
4445 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4446 * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
4447 Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4448 * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
4449 uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
4450 (DWARF_FRAME_REGISTERS): Change all uses to
4451 __LIBGCC_DWARF_FRAME_REGISTERS__.
4452 (EH_RETURN_STACKADJ_RTX): Change all uses to
4453 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
4454 * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
4455 __LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
4456 * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
4457 use to __LIBGCC_EH_FRAME_SECTION_NAME__.
4458 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
4459 * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
4460 to __LIBGCC_EH_FRAME_SECTION_NAME__.
4461 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
4462 * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
4463 __LIBGCC_STACK_POINTER_REGNUM__.
4464 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
4465 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4466 * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
4467 to __LIBGCC_STACK_POINTER_REGNUM__.
4468 * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
4469 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4470 * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
4471 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4472 * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
4473 Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4474 (STACK_POINTER_REGNUM): Change all uses to
4475 __LIBGCC_STACK_POINTER_REGNUM__.
4476 * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
4477 use to __LIBGCC_STACK_POINTER_REGNUM__.
4478 * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
4479 uses to __LIBGCC_STACK_POINTER_REGNUM__.
4480 * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
4481 to __LIBGCC_DWARF_FRAME_REGISTERS__.
4482 * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
4483 to __LIBGCC_DWARF_FRAME_REGISTERS__.
4484 * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
4485 to __LIBGCC_STACK_POINTER_REGNUM__.
4486 * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
4487 Remove conditional definition.
4488 * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
4489 __LIBGCC_TEXT_SECTION_ASM_OP__.
4490 (EH_FRAME_SECTION_NAME): Change all uses to
4491 __LIBGCC_EH_FRAME_SECTION_NAME__.
4492 (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
4493 __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
4494 (CTORS_SECTION_ASM_OP): Change all uses to
4495 __LIBGCC_CTORS_SECTION_ASM_OP__.
4496 (DTORS_SECTION_ASM_OP): Change all uses to
4497 __LIBGCC_DTORS_SECTION_ASM_OP__.
4498 (JCR_SECTION_NAME): Change all uses to
4499 __LIBGCC_JCR_SECTION_NAME__.
4500 (INIT_SECTION_ASM_OP): Change all uses to
4501 __LIBGCC_INIT_SECTION_ASM_OP__.
4502 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
4503 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
4504 * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
4505 __LIBGCC_STACK_GROWS_DOWNWARD__.
4506 * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
4507 __LIBGCC_INIT_SECTION_ASM_OP__.
4508 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
4509 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
4510 (EH_FRAME_SECTION_NAME): Change all uses to
4511 __LIBGCC_EH_FRAME_SECTION_NAME__.
4512 * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
4513 definitions. Change all uses to
4514 __LIBGCC_VTABLE_USES_DESCRIPTORS__.
4515 * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
4516 __LIBGCC_STACK_GROWS_DOWNWARD__.
4517 (DWARF_FRAME_REGISTERS): Change all uses to
4518 __LIBGCC_DWARF_FRAME_REGISTERS__.
4519 (EH_RETURN_STACKADJ_RTX): Change all uses to
4520 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
4521 * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
4522 definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
4523 * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
4524 __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
4525 (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
4526
b20ee094
NS
45272014-09-02 Nathan sidwell <nathan@acm.org>
4528
4529 * libgcov-interface.c (STRONG_ALIAS): New.
4530 (__gcov_flush): Call __gcov_reset_int.
4531 (__gcov_reset): Strong alias for ...
4532 (__gcov_reset_ing): ... this renamed hidden version.
4533 * libgcov.h (__gcov_reset_int): New declaration.
4534
1ac83976
YS
45352014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
4536
25efdb9f
YS
4537 * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
4538 call from here...
4539 * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
4540 (__dso_handle): Define on Cygwin.
4541 * config/i386/t-cygming (crtbeginS.o): New rule.
4542 * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
4543
1ac83976
YS
4544 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
4545 declaration syntax.
4546
c6f9ea3b
SE
45472014-08-13 Steve Ellcey <sellcey@mips.com>
4548
4549 * crtstuff.c: Undef caddr_t.
4550
5b1ea7c5
SE
45512014-08-12 Steve Ellcey <sellcey@mips.com>
4552
4553 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
4554
4303c581
NS
45552014-08-07 Nathan Sidwell <nathan@acm.org>
4556
4557 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
4558 (LIBGCOV_DRIVER): ... to here.
4559 * libgcov.h (gcov_do_dump): New #define.
4560 (struct gcov_root): New.
4561 (__gcov_root): New declaration.
4562 (__gcov_dump_one): Declare.
4563 * libgcov-driver.c (gcov_list, gcov_dump_complete,
4564 run_accounted): Delete.
4565 (gcov_compute_histogram): Add LIST argument, adjust.
4566 (compute_summary): Adjust gcov_compute_histogram call.
4567 (gcov_do_dump): Not hidden, static in libgcov.
4568 (gcov_clear): Move to interface.c.
4569 (__gcov_dump_one): New, broken out of ...
4570 (gcov_exit): ... here. Make static.
4571 (__gcov_root): New.
4572 (__gcov_init): Adjust.
4573 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
4574 declarations.
4575 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
4576 (gcov_clear): Moved from driver.c. Add LIST argument.
4577 (__gcov_reset): Adjust for changed interfaces.
4578 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
4579
23742a9e
RAR
45802014-08-04 Rohit <rohitarulraj@freescale.com>
4581
4582 PR target/60102
4583 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
d406ae47 4584 based on change in SPE high register numbers and 3 HTM registers.
23742a9e 4585
b98a872b
NS
45862014-08-01 Nathan Sidwell <nathan@acm.org>
4587
4588 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
4589 LIBGCOV_INTERFACE): Reformat.
4590 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
4591 IN_GCOV_TOOL.
4592 * libgcov-interface.c: Reformat some comments.
4593 (__gcov_flush_mx): Add declaration. Tidy up definition.
4594
6adaaa1d
AM
45952014-07-31 Alan Modra <amodra@gmail.com>
4596 Peter Bergner <bergner@vnet.ibm.com>
4597
4598 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
4599 (pack_ldouble): New function.
4600 (__gcc_qadd): Use it.
4601 (__gcc_qmul): Likewise.
4602 (__gcc_qdiv): Likewise.
4603 (__gcc_qneg): Likewise.
4604 (__gcc_stoq): Likewise.
4605 (__gcc_dtoq): Likewise.
4606
87cb0c0c
UW
46072014-07-30 J. D. Johnston <jjohnst@us.ibm.com>
4608
4609 * config/s390/tpf-unwind.h: Include <stdbool.h>.
4610 (__tpf_eh_return): Add original return address as second parameter.
4611 Handle cases where unwinder routines were called directly, instead
4612 of from within the C++ library.
4613
19926161
NS
46142014-07-29 Nathan Sidwell <nathan@acm.org>
4615
4616 * libgcov.h: Move renaming of entry points to lib gcov specific
4617 portion.
4618 (gcov_do_dump): New rename.
4619 (gcov_rewrite): Remove inline, make HIDDEN.
4620 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
4621 (gcov_exit_compute_summary): Rename to ...
4622 (compute_summary): ... here. Add LIST argument.
4623 (gcov_exit_merge_gcda): Rename to ...
4624 (merge_one_data): ... here.
4625 (gcov_exit_write_gcda): Rename to ...
4626 (write_one_data): ... here.
4627 (gcov_exit_merge_summary): Rename to ...
4628 (merge_summary): Add RUN_COUNTED argument.
4629 (gcov_exit_dump_gcov): Rename to ...
4630 (dump_one_gcov): Add RUN_COUNTED argument.
4631 (gcov_do_dump): New function, broken out of ...
4632 (gcov_exit): ... here. Call it.
4633
17522262
AG
46342014-07-27 Anthony Green <green@moxielogic.com>
4635
4636 * config.host: Add moxiebox configuration suppport.
4637
6dc33097
NS
46382014-07-27 Nathan Sidwell <nathan@acm.org>
4639
4640 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
4641 (struct gcov_filename): ... here. Include buffer and max length
4642 fields.
4643 (gcov_max_filename): Remove.
4644 (gi_filename): Remove.
4645 (gcov_exit_compute_summary): Compute max filename here.
4646 (gcov_exit_merge_gcda): Add filename parm, adjust.
4647 (gcov_exit_merge_summary): Likewise.
4648 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
4649 (gcov_exit): Likewise.
4650 (__gcov_init): Don't calculate max length here.
4651 * libgcov_util.c (max_filename_len): Remove.
4652 (read_gcda_file): Don't calculate max length here.
4653 (gcov_read_profile_dir): Don't propagate here.
4654 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
4655 struct gcov_filename changes.
4656 (gcov_exit_open_gcda_file): Likewise.
4657
770f687d
NS
46582014-07-25 Nathan Sidwell <nathan@acm.org>
4659
4660 * libgcov-driver.c (set_gcov_dump_complete,
4661 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
4662 functions polluting user's namespace.
4663 (gcov_exit): Set variable directly.
4664 (gcov_clear): Reset variable directly.
4665 * libgcov-interface.c (get_gcov_dymp_complete,
4666 reset_gov_dump_complete): Remove declarations.
4667 (__gcov_reset, __gcov_dump): Don't call them.
4668
fabf71ba
DD
46692014-07-24 DJ Delorie <dj@redhat.com>
4670
4671 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
770f687d
NS
4672 (__gcc_deregister_frame): Move logic to detect deregister function
4673 to ...
4674 (__gcc_register_frame): here, so it's consistent with the register
4675 logic.
fabf71ba 4676
d10ee722
NS
46772014-07-23 Nathan Sidwell <nathan@acm.org>
4678
4679 * libgcov-driver.c (set_gcov_list): Remove.
4680 (gcov_list): Make non-static in GCOV_TOOL.
4681 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
4682
a4137090
JDA
46832014-07-17 John David Anglin <danglin@gcc.gnu.org>
4684
4685 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
4686 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
4687 Don't use SYNC_LOCK_RELEASE for int type.
4688
72602c6c
RB
46892014-07-14 Richard Biener <rguenther@suse.de>
4690
4691 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
4692
d5313205
RX
46932014-07-11 Rong Xu <xur@google.com>
4694
4695 * libgcov-util.c (gcov_max_filename): Fix declartion.
4696
c77556a5
RX
46972014-07-10 Rong Xu <xur@google.com>
4698
4699 Add gcov-tool: an offline gcda profile processing tool
4700 Support.
4701 * libgcov-driver.c (gcov_max_filename): Make available
4702 to gcov-tool.
4703 * libgcov-merge.c (__gcov_merge_add): Replace
4704 gcov_read_counter() with a Macro.
4705 (__gcov_merge_ior): Ditto.
4706 (__gcov_merge_time_profile): Ditto.
4707 (__gcov_merge_single): Ditto.
4708 (__gcov_merge_delta): Ditto.
4709 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
4710 in the utility functions.
4711 (set_fn_ctrs): Utility function for reading gcda files to in-memory
4712 gcov_list object link lists.
4713 (tag_function): Ditto.
4714 (tag_blocks): Ditto.
4715 (tag_arcs): Ditto.
4716 (tag_lines): Ditto.
4717 (tag_counters): Ditto.
4718 (tag_summary): Ditto.
4719 (read_gcda_finalize): Ditto.
4720 (read_gcda_file): Ditto.
4721 (ftw_read_file): Ditto.
4722 (read_profile_dir_init): Ditto.
4723 (gcov_read_profile_dir): Ditto.
4724 (gcov_read_counter_mem): Ditto.
4725 (gcov_get_merge_weight): Ditto.
4726 (merge_wrapper): A wrapper function that calls merging handler.
4727 (gcov_merge): Merge two gcov_info objects with weights.
4728 (find_match_gcov_info): Find the matched gcov_info in the list.
4729 (gcov_profile_merge): Merge two gcov_info object lists.
4730 (__gcov_add_counter_op): Process edge profile counter values.
4731 (__gcov_ior_counter_op): Process IOR profile counter values.
4732 (__gcov_delta_counter_op): Process delta profile counter values.
4733 (__gcov_single_counter_op): Process single profile counter values.
4734 (fp_scale): Callback function for float-point scaling.
cc86234f 4735 (int_scale): Callback function for integer fraction scaling.
c77556a5
RX
4736 (gcov_profile_scale): Scaling profile counters.
4737 (gcov_profile_normalize): Normalize profile counters.
4738 * libgcov.h: Add headers and functions for gcov-tool use.
4739 (gcov_get_counter): New.
4740 (gcov_get_counter_target): Ditto.
4741 (struct gcov_info): Make the functions field mutable in gcov-tool
4742 compilation.
4743
5c7dac8a
KT
47442014-06-23 Kai Tietz <ktietz@redhat.com>
4745
4746 PR libgcc/61585
4747 * unwind-seh.c (_Unwind_GetGR): Check for proper
4748 index range.
4749 (_Unwind_SetGR): Likewise.
4750
161c9312
NC
47512014-05-22 Nick Clifton <nickc@redhat.com>
4752
4753 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
4754 -mhwmult=none.
4755
e3f0315f
TJ
47562014-05-22 Teresa Johnson <tejohnson@google.com>
4757
4758 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
4759 include.
4760
dbed5a9b
JM
47612014-05-20 John Marino <gnugcc@marino.st>
4762
4763 * config.host (*-*-dragonfly*): New target.
4764 * crtstuff.c: Make dl_iterate_support generic on *bsd.
4765 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
4766 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
4767 * config/i386/dragonfly-unwind.h: New.
4768
1ec380e5
MR
47692014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
4770
4771 PR libgcc/60166
4772 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
4773 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
4774
54fde020
BE
47752014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
4776
4777 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
4778 implementation.
4779
999db125
GJL
47802014-05-12 Georg-Johann Lay <avr@gjlay.de>
4781
4782 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
4783
cceaf54a
RO
47842014-05-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4785
4786 PR libgcc/61097
4787 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
4788 if --enable-shared.
4789
e3fe9b5b
BE
47902014-04-30 Bernd Edlinger <bernd.edlinger@hotmail.de>
4791
4792 Work around for current cygwin32 build problems.
4793 * config/i386/cygming-crtbegin.c (__register_frame_info,
4794 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
4795 functions only for 64-bit systems.
4796
54cf37e9
RO
47972014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4798
4799 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
4800 (sigill_caught, sigill_hdlr): Remove.
4801
d9f069ab
RO
48022014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4803
4804 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
4805 check.
4806 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
4807 Solaris 9 single-threaded support.
4808 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
4809 Solaris 9 single-threaded support. Add call_user_handler code
4810 sequences.
4811 (sparc_is_sighandler): Likewise.
4812
59976ef8
AK
48132014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4814
4815 * config.host: Append t-floattodi to tmake_file depending on
4816 host_address.
4817
d02bbcf3
JS
48182014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
4819
31466bc0 4820 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
d02bbcf3 4821
c2e7e597
UB
48222014-03-10 Uros Bizjak <ubizjak@gmail.com>
4823
4824 PR libgcc/60472
4825 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
2405e0ea 4826 variable to avoid "array subscript is above array bounds" warnings.
c2e7e597
UB
4827 Use __builtin_expect when checking *jcr_list for NULL.
4828
227a7dc8
RO
48292014-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4830
4831 PR libgcc/59339
4832 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
4833 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
4834 vtv_*.o to extra_parts if enable_vtable_verify.
4835
df2b279c
NC
48362014-03-06 Nick Clifton <nickc@redhat.com>
4837
4838 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
4839 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
4840
dc11d79b
JY
48412014-02-28 Joey Ye <joey.ye@arm.com>
4842
4843 PR libgcc/60166
4844 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
4845 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
4846 Set to zero.
4847
341c653c
WL
48482014-02-24 Walter Lee <walt@tilera.com>
4849
4850 * config.host: Support "tilegx*" and "tilepro*" triplets.
4851 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
4852 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
4853
95ce7613
CLT
48542014-02-20 Sandra Loosemore <sandra@codesourcery.com>
4855 Chung-Lin Tang <cltang@codesourcery.com>
4856
4857 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
4858 * config/nios2/crti.S: Remove .file directive.
4859 * config/nios2/crtn.S: Likewise.
4860
0bb4fc05
KT
48612014-02-18 Kai Tietz <ktietz@redhat.com>
4862 Jonathan Schleifer <js@webkeks.org>
4863
4864 PR objc/56870
4865 * unwind-seh.c (_GCC_specific_handler): Pass proper
4866 value to unwind-handler.
4867
9acf28f1
JM
48682014-02-12 Joseph Myers <joseph@codesourcery.com>
4869
4870 * soft-fp/adddf3.c: Update from glibc.
4871 * soft-fp/addsf3.c: Likewise.
4872 * soft-fp/addtf3.c: Likewise.
4873 * soft-fp/divdf3.c: Likewise.
4874 * soft-fp/divsf3.c: Likewise.
4875 * soft-fp/divtf3.c: Likewise.
4876 * soft-fp/double.h: Likewise.
4877 * soft-fp/eqdf2.c: Likewise.
4878 * soft-fp/eqsf2.c: Likewise.
4879 * soft-fp/eqtf2.c: Likewise.
4880 * soft-fp/extenddftf2.c: Likewise.
4881 * soft-fp/extended.h: Likewise.
4882 * soft-fp/extendsfdf2.c: Likewise.
4883 * soft-fp/extendsftf2.c: Likewise.
4884 * soft-fp/extendxftf2.c: Likewise.
4885 * soft-fp/fixdfdi.c: Likewise.
4886 * soft-fp/fixdfsi.c: Likewise.
4887 * soft-fp/fixdfti.c: Likewise.
4888 * soft-fp/fixsfdi.c: Likewise.
4889 * soft-fp/fixsfsi.c: Likewise.
4890 * soft-fp/fixsfti.c: Likewise.
4891 * soft-fp/fixtfdi.c: Likewise.
4892 * soft-fp/fixtfsi.c: Likewise.
4893 * soft-fp/fixtfti.c: Likewise.
4894 * soft-fp/fixunsdfdi.c: Likewise.
4895 * soft-fp/fixunsdfsi.c: Likewise.
4896 * soft-fp/fixunsdfti.c: Likewise.
4897 * soft-fp/fixunssfdi.c: Likewise.
4898 * soft-fp/fixunssfsi.c: Likewise.
4899 * soft-fp/fixunssfti.c: Likewise.
4900 * soft-fp/fixunstfdi.c: Likewise.
4901 * soft-fp/fixunstfsi.c: Likewise.
4902 * soft-fp/fixunstfti.c: Likewise.
4903 * soft-fp/floatdidf.c: Likewise.
4904 * soft-fp/floatdisf.c: Likewise.
4905 * soft-fp/floatditf.c: Likewise.
4906 * soft-fp/floatsidf.c: Likewise.
4907 * soft-fp/floatsisf.c: Likewise.
4908 * soft-fp/floatsitf.c: Likewise.
4909 * soft-fp/floattidf.c: Likewise.
4910 * soft-fp/floattisf.c: Likewise.
4911 * soft-fp/floattitf.c: Likewise.
4912 * soft-fp/floatundidf.c: Likewise.
4913 * soft-fp/floatundisf.c: Likewise.
4914 * soft-fp/floatunditf.c: Likewise.
4915 * soft-fp/floatunsidf.c: Likewise.
4916 * soft-fp/floatunsisf.c: Likewise.
4917 * soft-fp/floatunsitf.c: Likewise.
4918 * soft-fp/floatuntidf.c: Likewise.
4919 * soft-fp/floatuntisf.c: Likewise.
4920 * soft-fp/floatuntitf.c: Likewise.
4921 * soft-fp/gedf2.c: Likewise.
4922 * soft-fp/gesf2.c: Likewise.
4923 * soft-fp/getf2.c: Likewise.
4924 * soft-fp/ledf2.c: Likewise.
4925 * soft-fp/lesf2.c: Likewise.
4926 * soft-fp/letf2.c: Likewise.
4927 * soft-fp/muldf3.c: Likewise.
4928 * soft-fp/mulsf3.c: Likewise.
4929 * soft-fp/multf3.c: Likewise.
4930 * soft-fp/negdf2.c: Likewise.
4931 * soft-fp/negsf2.c: Likewise.
4932 * soft-fp/negtf2.c: Likewise.
4933 * soft-fp/op-1.h: Likewise.
4934 * soft-fp/op-2.h: Likewise.
4935 * soft-fp/op-4.h: Likewise.
4936 * soft-fp/op-8.h: Likewise.
4937 * soft-fp/op-common.h: Likewise.
4938 * soft-fp/quad.h: Likewise.
4939 * soft-fp/single.h: Likewise.
4940 * soft-fp/soft-fp.h: Likewise.
4941 * soft-fp/subdf3.c: Likewise.
4942 * soft-fp/subsf3.c: Likewise.
4943 * soft-fp/subtf3.c: Likewise.
4944 * soft-fp/truncdfsf2.c: Likewise.
4945 * soft-fp/trunctfdf2.c: Likewise.
4946 * soft-fp/trunctfsf2.c: Likewise.
4947 * soft-fp/trunctfxf2.c: Likewise.
4948 * soft-fp/unorddf2.c: Likewise.
4949 * soft-fp/unordsf2.c: Likewise.
4950 * soft-fp/unordtf2.c: Likewise.
4951 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
4952 macro.
4953 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4954 Likewise.
4955 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4956 Likewise.
4957 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4958 Likewise.
4959 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4960 Likewise.
4961 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4962 Likewise.
4963 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4964 Likewise.
4965 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4966 Likewise.
4967 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4968 Likewise.
4969 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4970 Likewise.
4971 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4972 Likewise.
4973 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4974 Likewise.
4975 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4976 Likewise.
4977 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
4978 Likewise.
4979 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
4980 Likewise.
4981 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4982 Likewise.
4983
ce245ec6
AK
49842014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4985
4986 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
4987 cannot be represented.
4988 * config/s390/32/_fixsfdi.c: Likewise.
4989 * config/s390/32/_fixtfdi.c: Likewise.
4990 * config/s390/32/_fixunsdfdi.c: Likewise.
4991 * config/s390/32/_fixunssfdi.c: Likewise.
4992 * config/s390/32/_fixunstfdi.c: Likewise.
4993
1c51d688
RS
49942014-02-07 Richard Sandiford <rdsandiford@googlemail.com>
4995
4996 * configure.ac (libgcc_cv_mips_hard_float): New.
4997 * configure: Regenerate.
4998 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
4999 t-softfp-sfdf for hard-float targets.
5000 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
5001 (softfp_float_modes, softfp_int_modes, softfp_extensions)
5002 (softfp_truncations, softfp_exclude_libgcc2): New.
5003 * config/t-hardfp: New file.
5004 * config/t-hardfp-sfdf: Likewise.
5005 * config/hardfp.c: Likewise.
5006
bbf391db
AK
50072014-02-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5008
5009 * config.host: Include t-floattodi also for s390x.
5010 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
5011 * config/s390/32/_fixsfdi.c: Likewise.
5012 * config/s390/32/_fixtfdi.c: Likewise.
5013 * config/s390/32/_fixunsdfdi.c: Likewise.
5014 * config/s390/32/_fixunssfdi.c: Likewise.
5015 * config/s390/32/_fixunstfdi.c: Likewise.
5016
91da0481
RO
50172014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5018
5019 PR target/59788
5020 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
5021 (install-libgcc-unwind-map-forbuild): New target.
5022 (all): Depend on install-libgcc-unwind-map-forbuild.
5023 (install-libgcc-unwind-map): New target.
5024 (install): Depend on install-libgcc-unwind-map.
5025
02b67731
SL
50262014-02-02 Sandra Loosemore <sandra@codesourcery.com>
5027
5028 * config/nios2/crti.S (_init): Initialize GOT pointer from
5029 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
5030
1ea0a651
RS
50312014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
5032
5033 * configure.ac: Check __mips64 when setting host_address.
5034 * configure: Regenerate.
5035 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
5036 mips/t-mips64 and t-softfp.
5037 (mips*-*-linux*): Don't add mips/t-tpbit.
5038 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
5039 (DPBIT, DPBIT_CFLAGS): Delete.
5040 * config/mips/sfp-machine.h: New file.
5041 * config/mips/t-mips64: Likewise.
5042 * config/mips/t-softfp-tf: Likewise.
5043 * config/mips/t-tpbit: Delete.
5044
f32b0061
MS
50452014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
5046
5047 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
5048 as long long.
5049
a5420aa4
WL
50502014-01-25 Walter Lee <walt@tilera.com>
5051
5052 * config/tilepro/atomic.c: Include tconfig.h. Don't include
5053 config.h or system.h.
5054 (bool) Define.
5055
24534912
WL
50562014-01-25 Walter Lee <walt@tilera.com>
5057
5058 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
5059 (post_atomic_barrier): Ditto.
5060 (__fetch_and_do): New macro.
5061 (__atomic_fetch_and_do): Use __fetch_and_do.
5062 (__sync_fetch_and_do): New macro.
5063 (__sync_fetch_and_add_4): New function.
5064 (__sync_fetch_and_sub_4): New function.
5065 (__sync_fetch_and_or_4): New function.
5066 (__sync_fetch_and_and_4): New function.
5067 (__sync_fetch_and_xor_4): New function.
5068 (__sync_fetch_and_nand_4): New function.
5069 (__sync_fetch_and_add_8): New function.
5070 (__sync_fetch_and_sub_8): New function.
5071 (__sync_fetch_and_or_8): New function.
5072 (__sync_fetch_and_and_8): New function.
5073 (__sync_fetch_and_xor_8): New function.
5074 (__sync_fetch_and_nand_8): New function.
5075 (__do_and_fetch): New macro.
5076 (__atomic_do_and_fetch): Use __do_and_fetch.
5077 (__sync_do_and_fetch): New macro.
5078 (__sync_add_and_fetch_4): New function.
5079 (__sync_sub_and_fetch_4): New function.
5080 (__sync_or_and_fetch_4): New function.
5081 (__sync_and_and_fetch_4): New function.
5082 (__sync_xor_and_fetch_4): New function.
5083 (__sync_nand_and_fetch_4): New function.
5084 (__sync_add_and_fetch_8): New function.
5085 (__sync_sub_and_fetch_8): New function.
5086 (__sync_or_and_fetch_8): New function.
5087 (__sync_and_and_fetch_8): New function.
5088 (__sync_xor_and_fetch_8): New function.
5089 (__sync_nand_and_fetch_8): New function.
5090 (__sync_exchange_methods): New macro.
5091 (__sync_val_compare_and_swap_4): New function.
5092 (__sync_bool_compare_and_swap_4): New function.
5093 (__sync_lock_test_and_test_4): New function.
5094 (__sync_val_compare_and_swap_8): New function.
5095 (__sync_bool_compare_and_swap_8): New function.
5096 (__sync_lock_test_and_test_8): New function.
5097 (__subword_cmpxchg_body): New macro.
5098 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
5099 (__atomic_compare_exchange_2): Ditto.
5100 (__sync_subword_cmpxchg): New macro.
5101 (__sync_val_compare_and_swap_1): New function.
5102 (__sync_bool_compare_and_swap_1): New function.
5103 (__sync_val_compare_and_swap_2): New function.
5104 (__sync_bool_compare_and_swap_2): New function.
5105 (__atomic_subword): Rename to ...
5106 (__subword): ... New name.
5107 (__atomic_subword_fetch): Use __subword.
5108 (__sync_subword_fetch): New macro.
5109 (__sync_fetch_and_add_1): New function.
5110 (__sync_fetch_and_sub_1): New function.
5111 (__sync_fetch_and_or_1): New function.
5112 (__sync_fetch_and_and_1): New function.
5113 (__sync_fetch_and_xor_1): New function.
5114 (__sync_fetch_and_nand_1): New function.
5115 (__sync_fetch_and_add_2): New function.
5116 (__sync_fetch_and_sub_2): New function.
5117 (__sync_fetch_and_or_2): New function.
5118 (__sync_fetch_and_and_2): New function.
5119 (__sync_fetch_and_xor_2): New function.
5120 (__sync_fetch_and_nand_2): New function.
5121 (__sync_add_and_fetch_1): New function.
5122 (__sync_sub_and_fetch_1): New function.
5123 (__sync_or_and_fetch_1): New function.
5124 (__sync_and_and_fetch_1): New function.
5125 (__sync_xor_and_fetch_1): New function.
5126 (__sync_nand_and_fetch_1): New function.
5127 (__sync_add_and_fetch_2): New function.
5128 (__sync_sub_and_fetch_2): New function.
5129 (__sync_or_and_fetch_2): New function.
5130 (__sync_and_and_fetch_2): New function.
5131 (__sync_xor_and_fetch_2): New function.
5132 (__sync_nand_and_fetch_2): New function.
5133 (__atomic_subword_lock): Use __subword.
5134 (__sync_subword_lock): New macro.
5135 (__sync_lock_test_and_set_1): New function.
5136 (__sync_lock_test_and_set_2): New function.
5137
4d6d3bc5
WL
51382014-01-25 Walter Lee <walt@tilera.com>
5139
5140 * config/tilepro/atomic.c (BIT_OFFSET): Define.
5141 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
5142 (__atomic_subword): Ditto.
5143
cbd9890e
WL
51442014-01-25 Walter Lee <walt@tilera.com>
5145
5146 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
5147 a prefix op argument.
5148 (__atomic_nand_fetch_4): Add prefix op.
5149 (__atomic_nand_fetch_8): Ditto.
5150
7d296953 51512014-01-21 Baruch Siach <barch@tkos.co.il>
800d8bd5
BS
5152
5153 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
5154
46dd1242
L
51552014-01-09 Rong Xu <xur@google.com>
5156
5157 * libgcov-driver.c (this_prg): make it local to save
5158 bss space.
5159 (gcov_exit_compute_summary): Ditto.
5160 (gcov_exit_merge_gcda): Ditto.
5161 (gcov_exit_merge_summary): Ditto.
5162 (gcov_exit_dump_gcov): Ditto.
5163
cc86234f 51642014-01-08 Rong Xu <xur@google.com>
40d6b753
RX
5165
5166 * libgcov-driver.c: Use libgcov.h.
5167 (buffer_fn_data): Use xmalloc instead of malloc.
5168 (gcov_exit_merge_gcda): Ditto.
5169 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
5170 * libgcov.h: New common header files for libgcov-*.h.
5171 * libgcov-interface.c: Use libgcov.h
5172 * libgcov-merge.c: Ditto.
5173 * libgcov-profiler.c: Ditto.
5174 * Makefile.in: Add dependence to libgcov.h
5175
a02e7bdd
JM
51762014-01-02 Joseph Myers <joseph@codesourcery.com>
5177
5178 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
5179 case of small numerator and finite nonzero result.
5180
ac1dca3c
RS
51812014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
5182
5183 Update copyright years
5184
f9030485
RS
51852014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
5186
5187 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
5188 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
5189 config/arc/dp-hack.h, config/arc/fp-hack.h,
5190 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
5191 config/arc/ieee-754/arc600-dsp/divdf3.S,
5192 config/arc/ieee-754/arc600-dsp/divsf3.S,
5193 config/arc/ieee-754/arc600-dsp/muldf3.S,
5194 config/arc/ieee-754/arc600-dsp/mulsf3.S,
5195 config/arc/ieee-754/arc600-mul64/divdf3.S,
5196 config/arc/ieee-754/arc600-mul64/divsf3.S,
5197 config/arc/ieee-754/arc600-mul64/muldf3.S,
5198 config/arc/ieee-754/arc600-mul64/mulsf3.S,
5199 config/arc/ieee-754/arc600/divsf3.S,
5200 config/arc/ieee-754/arc600/mulsf3.S,
5201 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
5202 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
5203 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
5204 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
5205 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
5206 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
5207 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
5208 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
5209 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
5210 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
5211 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
5212 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
5213 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
5214 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
5215 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
5216 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
5217 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
5218 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
5219 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
5220 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
5221 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
5222 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
5223 vtv_start_preinit.c: Use the standard form for the copyright notice.
5224
e430824f
CLT
52252013-12-31 Sandra Loosemore <sandra@codesourcery.com>
5226 Chung-Lin Tang <cltang@codesourcery.com>
5227 Based on patches from Altera Corporation
5228
5229 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
5230 * config/nios2/lib2-nios2.h: New file.
5231 * config/nios2/lib2-divmod-hi.c: New file.
5232 * config/nios2/linux-unwind.h: New file.
5233 * config/nios2/lib2-divmod.c: New file.
5234 * config/nios2/linux-atomic.c: New file.
5235 * config/nios2/t-nios2: New file.
5236 * config/nios2/crti.asm: New file.
5237 * config/nios2/t-linux: New file.
5238 * config/nios2/lib2-divtable.c: New file.
5239 * config/nios2/lib2-mul.c: New file.
5240 * config/nios2/tramp.c: New file.
5241 * config/nios2/crtn.asm: New file.
5242
1879e97f
UB
52432013-12-26 Uros Bizjak <ubizjak@gmail.com>
5244
5245 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
5246 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
5247 from cpuid.h to check vendor signatures.
5248
f4a4bdbb
GG
52492013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
5250
c2e7e597 5251 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
f4a4bdbb
GG
5252 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
5253 (get_amd_cpu): Likewise.
5254
8d2ae544
L
52552013-12-25 H.J. Lu <hongjiu.lu@intel.com>
5256
5257 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
5258 Haswell.
5259
74924838
ASJ
52602013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
5261 H.J. Lu <hongjiu.lu@intel.com>
5262
0bb52f25
L
5263 PR target/59422
5264 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
74924838
ASJ
5265 and AMD_JAGUAR.
5266 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
5267 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
5268 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
5269 FEATURE_XOP and FEATURE_FMA.
5270 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
5271 AMDFAM15H_BDVER3.
5272 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
0bb52f25 5273 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
74924838
ASJ
5274 FEATURE_FMA4 and FEATURE_XOP.
5275
d3c11974
L
52762013-12-23 H.J. Lu <hongjiu.lu@intel.com>
5277
5278 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
5279 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
5280 (get_intel_cpu): Updated.
5281
064c4ff2
ZC
52822013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
5283
5284 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
5285
8b02e720
UB
52862013-12-09 Uros Bizjak <ubizjak@gmail.com>
5287
5288 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
1f71a3c3 5289 instructions when __SSE_MATH__ is defined.
8b02e720 5290
3fa2ccb4
RC
52912013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
5292
5293 * config.host (microblaze-*-rtems*): New.
5294
ecd78fc9
KV
52952013-12-04 Kugan Vivekanandarajah <kuganv@linaro.org>
5296
5297 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
5298 architectures that do not have hardware divide instruction.
5299 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
5300
b21fbbd2
RS
53012013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
5302
5303 * longlong.h: Delete (moved to include/).
5304
b03fb8c9
AZ
53052013-12-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5306
5307 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
5308 of normal number and qNaN to not raise an inexact exception.
5309
3c716922
UB
53102013-11-28 Uros Bizjak <ubizjak@gmail.com>
5311
5312 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
5313
53142013-11-28 Matthew Leach <matthew.leach@arm.com>
cceeb9a9
ML
5315
5316 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
5317 for correct opcodes on BE.
5318
a3458d22
UB
53192013-11-27 Uros Bizjak <ubizjak@gmail.com>
5320
5321 * soft-fp/op-4.h: Update from glibc.
5322
30b8f78b
KV
53232013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
5324
5325 * libgcc2.c (__udivmoddi4): Define new implementation when
5326 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
5327 divide instructions.
5328
82552a29
OE
53292013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
5330
5331 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
5332
80e87457
RO
53332013-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5334
5335 * config/t-softfp (soft-fp-objects-base): New variable.
5336 (soft-fp-objects): Use it.
5337
44178879
DE
53382013-11-23 David Edelson <dje.gcc@gmail.com>
5339 Andrew Dixie <andrewd@gentrack.com>
5340
5341 PR target/33704
5342 * config/rs6000/aixinitfini.c: New file.
5343 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
5344 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
5345 symbols.
5346
e5287671
YR
53472013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
5348
a3458d22 5349 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
e5287671 5350
867c8b03
JH
53512013-11-18 Jan Hubicka <jh@suse.cz>
5352
7f369373
JH
5353 * libgcov-driver.c (run_accounted): Make global level static.
5354 (gcov_exit_merge_summary): Silence warning; do not clear
5355 run_accounted here.
5356 (gcov_exit): Clear it here.
5357
1d0b3334
JH
5358 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
5359 run_accounted.
5360
867c8b03
JH
5361 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
5362 (all_prg, crc32): Remove static vars.
5363 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
5364 all_prg.
5365 (gcov_exit_merge_gcda): Add crc32 parameter.
5366 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
5367 do not account run if it was already accounted.
5368 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
5369 (gcov_exit): Initialize all_prg; update.
5370
66204992
AS
53712013-11-15 Andreas Schwab <schwab@linux-m68k.org>
5372
5373 * configure: Regenerate.
5374
b54214fe
UW
53752013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5376 Alan Modra <amodra@gmail.com>
5377
5378 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
5379 (frob_update_context): Use it.
5380
53812013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5382 Alan Modra <amodra@gmail.com>
5383
5384 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
5385 (trampoline_initial): Provide ELFv2 variant.
5386 (__trampoline_setup): Likewise.
5387
5388 * config/rs6000/linux-unwind.h (frob_update_context): Do not
5389 check for AIX indirect function call sequence if _CALL_ELF == 2.
5390
53912013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5392 Alan Modra <amodra@gmail.com>
5393
5394 * config/rs6000/linux-unwind.h (get_regs): Do not support
5395 old kernel versions if _CALL_ELF == 2.
5396 (frob_update_context): Do not support PLT stub variants only
5397 generated by old linkers if _CALL_ELF == 2.
5398
13e0981a
UW
53992013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5400 Alan Modra <amodra@gmail.com>
5401
5402 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
5403 location of CR save area for 64-bit little-endian systems.
5404
1a80085d
EB
54052013-11-11 Eric Botcazou <ebotcazou@adacore.com>
5406
5407 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
5408 in tmake_file.
5409 * config/arm/t-vxworks: Delete.
5410
cabeea52
KT
54112013-11-10 Kai Tietz <ktietz@redhat.com>
5412
5413 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
5414 Increment load-count on use of LIBGCC_SONAME DLL.
5415 (hmod_libgcc): New static variable to hold handle of
5416 LIBGCC_SONAME DLL.
5417 (__gcc_deregister_frame): Decrement load-count of
5418 LIBGCC_SONAME DLL.
5419
ac088ba1
BRF
54202013-11-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
5421
5422 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
5423 availability.
5424 * configure: Regenerate
5425
d59a8fcc
UB
54262013-11-07 Uros Bizjak <ubizjak@gmail.com>
5427
5428 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
5429 FP_EX_DENORM. Store result to volatile location after SSE division
5430 to close interrupt window. Remove unneeded fwait after x87
5431 division since interrupt window will be closed by emitted fstp.
9de84e84 5432 Rewrite FP_EX_INEXACT handling.
d59a8fcc 5433
9954c743
JM
54342013-11-06 Joseph Myers <joseph@codesourcery.com>
5435
5436 * soft-fp/README: Update.
5437 * soft-fp/adddf3.c: Update from glibc.
5438 * soft-fp/addsf3.c: Likewise.
5439 * soft-fp/addtf3.c: Likewise.
5440 * soft-fp/divdf3.c: Likewise.
5441 * soft-fp/divsf3.c: Likewise.
5442 * soft-fp/divtf3.c: Likewise.
5443 * soft-fp/double.h: Likewise.
5444 * soft-fp/eqdf2.c: Likewise.
5445 * soft-fp/eqsf2.c: Likewise.
5446 * soft-fp/eqtf2.c: Likewise.
5447 * soft-fp/extenddftf2.c: Likewise.
5448 * soft-fp/extended.h: Likewise.
5449 * soft-fp/extendsfdf2.c: Likewise.
5450 * soft-fp/extendsftf2.c: Likewise.
5451 * soft-fp/extendxftf2.c: Likewise.
5452 * soft-fp/fixdfdi.c: Likewise.
5453 * soft-fp/fixdfsi.c: Likewise.
5454 * soft-fp/fixdfti.c: Likewise.
5455 * soft-fp/fixsfdi.c: Likewise.
5456 * soft-fp/fixsfsi.c: Likewise.
5457 * soft-fp/fixsfti.c: Likewise.
5458 * soft-fp/fixtfdi.c: Likewise.
5459 * soft-fp/fixtfsi.c: Likewise.
5460 * soft-fp/fixtfti.c: Likewise.
5461 * soft-fp/fixunsdfdi.c: Likewise.
5462 * soft-fp/fixunsdfsi.c: Likewise.
5463 * soft-fp/fixunsdfti.c: Likewise.
5464 * soft-fp/fixunssfdi.c: Likewise.
5465 * soft-fp/fixunssfsi.c: Likewise.
5466 * soft-fp/fixunssfti.c: Likewise.
5467 * soft-fp/fixunstfdi.c: Likewise.
5468 * soft-fp/fixunstfsi.c: Likewise.
5469 * soft-fp/fixunstfti.c: Likewise.
5470 * soft-fp/floatdidf.c: Likewise.
5471 * soft-fp/floatdisf.c: Likewise.
5472 * soft-fp/floatditf.c: Likewise.
5473 * soft-fp/floatsidf.c: Likewise.
5474 * soft-fp/floatsisf.c: Likewise.
5475 * soft-fp/floatsitf.c: Likewise.
5476 * soft-fp/floattidf.c: Likewise.
5477 * soft-fp/floattisf.c: Likewise.
5478 * soft-fp/floattitf.c: Likewise.
5479 * soft-fp/floatundidf.c: Likewise.
5480 * soft-fp/floatundisf.c: Likewise.
5481 * soft-fp/floatunditf.c: Likewise.
5482 * soft-fp/floatunsidf.c: Likewise.
5483 * soft-fp/floatunsisf.c: Likewise.
5484 * soft-fp/floatunsitf.c: Likewise.
5485 * soft-fp/floatuntidf.c: Likewise.
5486 * soft-fp/floatuntisf.c: Likewise.
5487 * soft-fp/floatuntitf.c: Likewise.
5488 * soft-fp/gedf2.c: Likewise.
5489 * soft-fp/gesf2.c: Likewise.
5490 * soft-fp/getf2.c: Likewise.
5491 * soft-fp/ledf2.c: Likewise.
5492 * soft-fp/lesf2.c: Likewise.
5493 * soft-fp/letf2.c: Likewise.
5494 * soft-fp/muldf3.c: Likewise.
5495 * soft-fp/mulsf3.c: Likewise.
5496 * soft-fp/multf3.c: Likewise.
5497 * soft-fp/negdf2.c: Likewise.
5498 * soft-fp/negsf2.c: Likewise.
5499 * soft-fp/negtf2.c: Likewise.
5500 * soft-fp/op-1.h: Likewise.
5501 * soft-fp/op-2.h: Likewise.
5502 * soft-fp/op-4.h: Likewise.
5503 * soft-fp/op-8.h: Likewise.
5504 * soft-fp/op-common.h: Likewise.
5505 * soft-fp/quad.h: Likewise.
5506 * soft-fp/single.h: Likewise.
5507 * soft-fp/soft-fp.h: Likewise.
5508 * soft-fp/subdf3.c: Likewise.
5509 * soft-fp/subsf3.c: Likewise.
5510 * soft-fp/subtf3.c: Likewise.
5511 * soft-fp/truncdfsf2.c: Likewise.
5512 * soft-fp/trunctfdf2.c: Likewise.
5513 * soft-fp/trunctfsf2.c: Likewise.
5514 * soft-fp/trunctfxf2.c: Likewise.
5515 * soft-fp/unorddf2.c: Likewise.
5516 * soft-fp/unordsf2.c: Likewise.
5517 * soft-fp/unordtf2.c: Likewise.
5518
02ac9503
UB
55192013-11-05 Uros Bizjak <ubizjak@gmail.com>
5520
5521 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
5522 (_FP_MUL_MEAT_D): Ditto.
5523 (_FP_DIV_MEAT_S): Ditto.
5524 (_FP_DIV_MEAT_D): Ditto.
5525 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
5526 t-softfp-sfdf and t-softfp to tmake_file.
5527
61221141
UB
55282013-11-03 Uros Bizjak <ubizjak@gmail.com>
5529
5530 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
5531 * config/i386/crtprec.c: Ditto.
5532
9304f876
CJW
55332013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
5534 Shiva Chen <shiva0217@gmail.com>
5535
5536 * config.host (nds32*-elf*): Add nds32 target.
5537 * config/nds32 : New directory and files.
5538
0e499e75
HPN
55392013-10-16 Hans-Peter Nilsson <hp@axis.com>
5540
5541 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
5542 * config.host (cpu_type) <Setting default>: Add entry for
5543 crisv32-*-*.
5544 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
5545 <crisv32-*-linux*>: Adjust.
5546 * longlong.h: Wrap the whole CRIS section in a single
5547 defined(__CRIS__) conditional. Add comment about add_ssaaaa
5548 and sub_ddmmss.
5549 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
5550 defined.
5551 [__CRIS__] (__umulsidi3): Define.
5552 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
5553 * config/cris/sfp-machine.h: New file.
5554 * config/cris/umulsidi3.S: New file.
5555 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
5556 * config/cris/arit.c (SIGNMULT): New macro.
5557 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
5558 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
5559 saving 3 out of originally 33 cycles from the fastest
5560 path, 3 out of 54 from the medium path and one from the longest
5561 path. Improve comments.
5562
16022041
RS
55632013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
5564
5565 * sync.c: Remove static aliases and define each function directly
5566 under its real name.
5567
69778659
JDA
55682013-10-02 John David Anglin <danglin@gcc.gnu.org>
5569
5570 * config.host (hppa*64*-*-linux*): Define extra_parts.
5571 (hppa*-*-linux*): Likewise.
5572
2deaf8b0
JR
55732013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
5574
5575 * config/arc/crtgend.S: Add 2013 to Copyright years.
5576 * config/arc/gmon/atomic.h: Likewise.
5577 * config/arc/gmon/auxreg.h: Likewise.
5578 * config/arc/gmon/sys/gmon_out.h: Likewise.
5579 * config/arc/gmon/sys/gmon.h: Likewise.
5580 * config/arc/gmon/prof-freq.c: Likewise.
5581 * config/arc/gmon/mcount.c: Likewise.
5582 * config/arc/gmon/prof-freq-stub.S: Likewise.
5583 * config/arc/gmon/gmon.c: Likewise.
5584 * config/arc/gmon/machine-gmon.h: Likewise.
5585 * config/arc/gmon/profil.S: Likewise.
5586 * config/arc/gmon/dcache_linesz.S: Likewise.
5587 * config/arc/crtg.S: Likewise.
5588 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
5589 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
5590 * config/arc/ieee-754/adddf3.S: Likewise.
5591 * config/arc/ieee-754/truncdfsf2.S: Likewise.
5592 * config/arc/ieee-754/fixsfsi.S: Likewise.
5593 * config/arc/ieee-754/gtsf2.S: Likewise.
5594 * config/arc/ieee-754/floatsisf.S: Likewise.
5595 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
5596 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
5597 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
5598 * config/arc/ieee-754/fixdfsi.S: Likewise.
5599 * config/arc/ieee-754/addsf3.S: Likewise.
5600 * config/arc/ieee-754/gesf2.S: Likewise.
5601 * config/arc/ieee-754/floatsidf.S: Likewise.
5602 * config/arc/ieee-754/extendsfdf2.S: Likewise.
5603 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
5604 * config/arc/ieee-754/gtdf2.S: Likewise.
5605 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
5606 * config/arc/ieee-754/uneqdf2.S: Likewise.
5607 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
5608 * config/arc/ieee-754/uneqsf2.S: Likewise.
5609 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
5610 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
5611 * config/arc/ieee-754/eqdf2.S: Likewise.
5612 * config/arc/ieee-754/ordsf2.S: Likewise.
5613 * config/arc/ieee-754/divsf3.S: Likewise.
5614 * config/arc/ieee-754/divdf3.S: Likewise.
5615 * config/arc/ieee-754/floatunsidf.S: Likewise.
5616 * config/arc/ieee-754/orddf2.S: Likewise.
5617 * config/arc/ieee-754/eqsf2.S: Likewise.
5618 * config/arc/ieee-754/gedf2.S: Likewise.
5619 * config/arc/crtn.S: Likewise.
5620 * config/arc/crti.S: Likewise.
5621 * config/arc/t-arc700-uClibc: Likewise.
5622 * config/arc/asm.h: Likewise.
5623 * config/arc/libgcc-excl.ver: Likewise.
5624 * config/arc/t-arc-newlib: Likewise.
5625 * config/arc/divtab-arc700.c: Likewise.
5626 * config/arc/initfini.c: Likewise.
5627 * config/arc/fp-hack.h: Likewise.
5628
c8e318b0
JR
56292013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
5630 Diego Novillo <dnovillo@google.com>
5631
5632 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
a07c5b47
JR
5633 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
5634 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
5635 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
c8e318b0 5636
d38a64b4
JR
56372013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
5638 Brendan Kehoe <brendan@zen.org>
5639 Simon Cook <simon.cook@embecosm.com>
5640
5641 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
5642 * config/arc: New directory.
5643 * longlong.h [__arc__] (umul_ppmm): Remove.
5644 [__arc__] (__umulsidi3): Define.
5645 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
5646 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
5647
dff717d2
JC
56482013-09-17 Jacek Caban <jacek@codeweavers.com>
5649
5650 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
5651 CreateSemaphoreA.
5652 * config/i386/gthr-win32.h: Likewise.
5653
5c0029de
DD
56542013-09-16 DJ Delorie <dj@redhat.com>
5655
844ad6c6 5656 * config/rl78/vregs.h: Add G10 register definitions.
5c0029de
DD
5657 * config/rl78/lib2mul.c: Enable for RL78/G10.
5658 * config/rl78/lib2div.c: Likewise.
5659 * config/rl78/lshrsi3.S: Use vregs.h.
5660 * config/rl78/cmpsi2.S: Likewise.
5661 * config/rl78/trampoline.S: Likewise.
5662 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
5663
ceb2fc49
DD
56642013-09-14 DJ Delorie <dj@redhat.com>
5665 Nick Clifton <nickc@redhat.com>
5666
5667 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
5668 * config/rl78/vregs.h: New.
5669 * config/rl78/signbit.S: New file. Implements signbit function.
5670 * config/rl78/divmodsi.S: New.
5671 * config/rl78/divmodhi.S: New.
5672 * config/rl78/divmodqi.S: New.
5673 * config/rl78/t-rl78: Build them here...
5674 * config/rl78/lib2div.c: ...but not here.
5675
f6a83b4a
DD
56762013-09-12 DJ Delorie <dj@redhat.com>
5677
5678 * config.host (msp*-*-elf): New.
5679 * config/msp430/: New port.
5680
9107b096
IS
56812013-08-18 Iain Sandoe <iain@codesourcery.com>
5682
5683 PR gcov-profile/58127
5684 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
5685 __thread var for emulated TLS.
5686 (__gcov_indirect_call_counters): Likewise.
5687
0f9bde1f 56882013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
61221141 5689 Catherine Moore <clm@codesourcery.com>
7d296953 5690 Richard Sandiford <rdsandiford@googlemail.com>
0f9bde1f
MR
5691
5692 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
5693 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
5694 (CALL_STUB_NO_RET): Likewise.
5695 (CALL_STUB_RET): Likewise.
5696 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
5697 __mips16_ret call/return stub symbols.
5698 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
5699 to tmake_file.
5700
2dc14aac
MR
57012013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
5702
5703 * config.host <mips*-*-linux*>: Remove a stray comment.
5704
748d71f3
JH
57052013-08-10 Jan Hubicka <jh@suse.cz>
5706
5707 Work around binutils PR14342
5708 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
5709 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
5710 (L_gcov_indirect_call_profiler_v2): New.
5711
2fa3d31b
JH
57122013-08-06 Jan Hubicka <jh@suse.cz>
5713
5714 * libgcov.c (__gcov_indirect_call_callee,
5715 __gcov_indirect_call_counters): New global vars.
5716 (__gcov_indirect_call_profiler): replace by ...
5717 (__gcov_indirect_call_profiler_v2) ... this one.
5718
2077db1b
CT
57192013-08-06 Caroline Tice <cmtice@google.com>
5720
d0595b65 5721 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
2077db1b 5722 vtv_start_preinit.o and vtv_end_preinit.o.
d0595b65
CT
5723 * configure.ac: Add code to check/set enable_vtable_verify.
5724 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
2077db1b 5725 true.
d0595b65
CT
5726 * vtv_start_preinit.c: New file.
5727 * vtv_end_preinit.c: New file.
5728 * vtv_start.c: New file.
5729 * vtv_end.c: New file.
5730 * configure: Regenerated.
2077db1b 5731
46549c20
MK
57322013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
5733
5734 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
5735 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
5736 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
5737 GPL-3.0-with-GCC-exception.
5738
72be589b
MR
57392013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
5740
5741 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
5742 ISA and up.
5743
902a3faf
AK
57442013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5745
5746 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
5747 mapping for FPRs when creating the fallback framestate.
5748
02371798
GJL
57492013-07-19 Georg-Johann Lay <avr@gjlay.de>
5750
5751 PR target/57516
5752 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
5753 (__round_s2_const, __round_u2_const)
5754 (__round_s4_const, __round_u4_const, __round_x8):
5755 Saturate result if addition result cannot be represented.
5756
ab0e8379
MK
57572013-07-15 Matthias Klose <doko@ubuntu.com>
5758
5759 * libgcc2.c: Don't include <limits.h>.
5760
7da38058
JJ
57612013-07-09 Janis Johnson <janisjo@codesourcery.com>
5762
5763 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
5764
1f6eac90
JJ
57652013-07-06 Jakub Jelinek <jakub@redhat.com>
5766
5767 PR target/29776
5768 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
5769
4ea3d774
JJ
57702013-06-28 Jakub Jelinek <jakub@redhat.com>
5771
5772 PR middle-end/36041
5773 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
5774 Define.
5775 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
5776 instead of table lookups.
5777 (__popcountDI2): Likewise.
5778
9d2cdf25
CJW
57792013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
5780
5781 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
5782 correctly.
5783
fa1e55b0
JM
57842013-06-21 Joseph Myers <joseph@codesourcery.com>
5785
5786 PR other/53317
5787 * soft-fp/adddf3.c: Update from glibc.
5788 * soft-fp/addsf3.c: Likewise.
5789 * soft-fp/addtf3.c: Likewise.
5790 * soft-fp/divdf3.c: Likewise.
5791 * soft-fp/divsf3.c: Likewise.
5792 * soft-fp/divtf3.c: Likewise.
5793 * soft-fp/double.h: Likewise.
5794 * soft-fp/eqdf2.c: Likewise.
5795 * soft-fp/eqsf2.c: Likewise.
5796 * soft-fp/eqtf2.c: Likewise.
5797 * soft-fp/extenddftf2.c: Likewise.
5798 * soft-fp/extended.h: Likewise.
5799 * soft-fp/extendsfdf2.c: Likewise.
5800 * soft-fp/extendsftf2.c: Likewise.
5801 * soft-fp/fixdfdi.c: Likewise.
5802 * soft-fp/fixdfsi.c: Likewise.
5803 * soft-fp/fixsfdi.c: Likewise.
5804 * soft-fp/fixsfsi.c: Likewise.
5805 * soft-fp/fixtfdi.c: Likewise.
5806 * soft-fp/fixtfsi.c: Likewise.
5807 * soft-fp/fixunsdfdi.c: Likewise.
5808 * soft-fp/fixunsdfsi.c: Likewise.
5809 * soft-fp/fixunssfdi.c: Likewise.
5810 * soft-fp/fixunssfsi.c: Likewise.
5811 * soft-fp/fixunstfdi.c: Likewise.
5812 * soft-fp/fixunstfsi.c: Likewise.
5813 * soft-fp/floatdidf.c: Likewise.
5814 * soft-fp/floatdisf.c: Likewise.
5815 * soft-fp/floatditf.c: Likewise.
5816 * soft-fp/floatsidf.c: Likewise.
5817 * soft-fp/floatsisf.c: Likewise.
5818 * soft-fp/floatsitf.c: Likewise.
5819 * soft-fp/floatundidf.c: Likewise.
5820 * soft-fp/floatundisf.c: Likewise.
5821 * soft-fp/floatunditf.c: Likewise.
5822 * soft-fp/floatunsidf.c: Likewise.
5823 * soft-fp/floatunsisf.c: Likewise.
5824 * soft-fp/floatunsitf.c: Likewise.
5825 * soft-fp/gedf2.c: Likewise.
5826 * soft-fp/gesf2.c: Likewise.
5827 * soft-fp/getf2.c: Likewise.
5828 * soft-fp/ledf2.c: Likewise.
5829 * soft-fp/lesf2.c: Likewise.
5830 * soft-fp/letf2.c: Likewise.
5831 * soft-fp/muldf3.c: Likewise.
5832 * soft-fp/mulsf3.c: Likewise.
5833 * soft-fp/multf3.c: Likewise.
5834 * soft-fp/negdf2.c: Likewise.
5835 * soft-fp/negsf2.c: Likewise.
5836 * soft-fp/negtf2.c: Likewise.
5837 * soft-fp/op-1.h: Likewise.
5838 * soft-fp/op-2.h: Likewise.
5839 * soft-fp/op-4.h: Likewise.
5840 * soft-fp/op-8.h: Likewise.
5841 * soft-fp/op-common.h: Likewise.
5842 * soft-fp/quad.h: Likewise.
5843 * soft-fp/single.h: Likewise.
5844 * soft-fp/soft-fp.h: Likewise.
5845 * soft-fp/subdf3.c: Likewise.
5846 * soft-fp/subsf3.c: Likewise.
5847 * soft-fp/subtf3.c: Likewise.
5848 * soft-fp/truncdfsf2.c: Likewise.
5849 * soft-fp/trunctfdf2.c: Likewise.
5850 * soft-fp/trunctfsf2.c: Likewise.
5851 * soft-fp/unorddf2.c: Likewise.
5852 * soft-fp/unordsf2.c: Likewise.
5853 * soft-fp/unordtf2.c: Likewise.
5854 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
5855 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5856 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5857 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5858 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5859 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5860 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5861 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5862 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5863 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
5864 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
5865 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5866
0de86a92
JU
58672013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
5868
5869 * config/mips/lib2funcs.c: New file.
5870 * config/mips/t-mips (LIB2ADD_ST): Add it.
5871
0d008882
OE
58722013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
5873
5874 PR target/6526
5875 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
5876 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
5877
776434d1
WL
58782013-06-08 Walter Lee <walt@tilera.com>
5879
5880 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
5881 Replace int64_t with long long. Add __extension__ where
5882 appropriate.
5883 * config/tilepro/atomic.c: Include config.h.
5884
6ab3ebb4
DR
58852013-06-06 Douglas B Rupp <rupp@adacore.com>
5886
5887 * config.host (arm-wrs-vxworks): Configure with other soft float.
5888
107eea2c
JU
58892013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
5890
5891 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
5892 (mips64r5900el-*-elf*): New configurations.
5893
5cc19c62
AM
58942013-06-04 Alan Modra <amodra@gmail.com>
5895
5896 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
5897
0f1d3965
YR
58982013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
5899
5900 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
5901
0ba045df
EB
59022013-05-28 Eric Botcazou <ebotcazou@adacore.com>
5903
5904 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
5905 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
5906 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
5907
49dcafd4
EB
59082013-05-22 Eric Botcazou <ebotcazou@adacore.com>
5909
5910 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
5911 (powerpc-wrs-vxworks): Likewise.
5912
4fcb5d87
EB
59132013-05-22 Eric Botcazou <ebotcazou@adacore.com>
5914
5915 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
5916 signal frames as well.
5917 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
5918 STACK_BIAS to the CFA offset.
5919
0ec33224
RH
59202013-05-17 Richard Henderson <rth@redhat.com>
5921
5922 PR target/49146
5923 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
5924 (execute_cfa_program): Use it when storing to fs->regs.
5925
492a8029
KT
59262013-05-08 Kai Tietz <ktietz@redhat.com>
5927
5928 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
5929 (__deregister_frame_info): Likewise.
5930
701e2f0a
TS
59312013-05-06 Thomas Schwinge <thomas@codesourcery.com>
5932
e5123d08
TS
5933 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
5934 NaN's payload.
5935
701e2f0a
TS
5936 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
5937
b9a7eb5d
AM
59382013-04-25 Alan Modra <amodra@gmail.com>
5939
5940 * config.host: Match little-endian powerpc-linux.
5941
dfe192f5
YZ
59422013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
5943
5944 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
5945 as 'unsigned long long' instead of 'unsigned long'.
5946 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
5947 'signed long'.
5948
b6b9af2f
JB
59492013-04-10 Julian Brown <julian@codesourcery.com>
5950
5951 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
5952 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
5953 unsigned char/unsigned short.
5954 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
5955
ecabdd00
JDA
59562013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
5957
5958 PR other/55274
5959 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
5960
34652576
MI
59612013-04-04 Meador Inge <meadori@codesourcery.com>
5962
5963 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
5964 computing the location of the link register.
5965 (aeabi_uldivmod): Ditto.
5966
e9fd8c19
KT
59672013-03-27 Kai Tietz <ktietz@redhat.com>
5968
5969 * config.host: Add support for cygwin x64 target.
5970 * configure: Regenerated.
5971
a6406324
WL
59722013-03-26 Walter Lee <walt@tilera.com>
5973
5974 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
5975 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
5976
55446c7e
KT
59772013-03-25 Kai Tietz <ktietz@redhat.com>
5978
5979 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
5980
d2ae19d9
RM
59812013-03-20 Robert Mason <rbmj@verizon.net>
5982
5983 * config/vxlib-tls.c (__gthread_get_tsd_data,)
5984 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
5985 (__gthread_leave_tsd_dtor_context): Add prototypes.
5986 (tls_delete_hook): Update.
5987
22c4c869
CM
59882013-03-20 Catherine Moore <clm@codesourcery.com>
5989 Joseph Myers <joseph@codesourcery.com>
5990 Chao-ying Fu <fu@mips.com>
5991
5992 * config/mips/mips16.S: Don't build for microMIPS.
5993 * config/mips/linux-unwind.h: Handle microMIPS frame.
5994 * config/mips/crtn.S (fini, init): New labels.
5995
fbd28bc3
JJ
59962013-03-14 Jakub Jelinek <jakub@redhat.com>
5997
5998 PR tree-optimization/53265
5999 * unwind-dw2.c (execute_cfa_program): Avoid
6000 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
6001 on targets with DWARF_FRAME_REGISTERS < 32.
6002
decc676e
OE
60032013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
6004
6005 PR target/49880
6006 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
6007 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
6008
84ea618a
ST
60092013-03-07 Sriraman Tallam <tmsriram@google.com>
6010
6011 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
6012 sandybridge processors.
6013
8f6d1c86
OE
60142013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
6015
6016 PR target/56529
6017 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
6018 inclusion list.
6019
ecdbd01a 60202013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
409b1de4
EI
6021
6022 * config/microblaze/crti.S: Setup stack protection at entry
6023
0b4ce21b
GJL
60242013-03-04 Georg-Johann Lay <avr@gjlay.de>
6025
6026 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
6027 (__rotldi3): Shift bytewise if applicable.
6028
b7c3f1ca
JG
60292013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
6030
6031 * config/aarch64/sync-cache.c
6032 (__aarch64_sync_cache_range): Silence warnings.
6033
6d65e8f1
CM
60342013-02-25 Catherine Moore <clm@codesourcery.com>
6035
6036 Revert:
6037 2013-02-24 Catherine Moore <clm@codesourcery.com>
6038 Joseph Myers <joseph@codesourcery.com>
6039 Chao-ying Fu <fu@mips.com>
6040
6041 * config/mips/mips16.S: Don't build for microMIPS.
6042 * config/mips/linux-unwind.h: Handle microMIPS frame.
6043 * config/mips/crtn.S (fini, init): New labels.
6044
6941b508
CM
60452013-02-24 Catherine Moore <clm@codesourcery.com>
6046 Joseph Myers <joseph@codesourcery.com>
6047 Chao-ying Fu <fu@mips.com>
6048
6049 * config/mips/mips16.S: Don't build for microMIPS.
6050 * config/mips/linux-unwind.h: Handle microMIPS frame.
6051 * config/mips/crtn.S (fini, init): New labels.
6052
7c422dbb 60532012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
cc86234f 6054 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
7c422dbb
EI
6055 as dividend.
6056
110207ad
AM
60572013-02-16 Alan Modra <amodra@gmail.com>
6058
6059 PR target/55431
6060 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
6061 (ppc_fallback_frame_state): Always set up save locations for fp
6062 and altivec. Don't bother with non-callee-saved regs, r0-r13
6063 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
6064
e68a4ef6
GJL
60652013-02-12 Georg-Johann Lay <avr@gjlay.de>
6066
6067 PR target/54222
6068 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
6069 _ssmulHA, _ssmulSA.
6070 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
6071 _ssmulha3, _usmulusa3, _ssmulsa3.
6072 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
6073 (__muldi3): XCALL __muldi3_6 instead of rcall.
6074 (__umulsidi3, __mulsidi3): New functions.
6075 (do_prologue_saves, do_epilogue_restores): New .macros.
6076 (__divdi3_moddi3): Use them.
6077 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
6078 (__usmulusa3, __ssmulsa3): New functions.
6079
6c59ffd1
IS
60802013-02-11 Iain Sandoe <iain@codesourcery.com>
6081 Jack Howarth <howarth@bromo.med.uc.edu>
6082 Patrick Marlier <patrick.marlier@gmail.com>
6083
6084 PR libitm/55693
6085 * config/darwin-crt-tm.c: Remove dummy functions hack.
6086
85d768f3
GJL
60872013-02-08 Georg-Johann Lay <avr@gjlay.de>
6088
6089 PR target/54222
6090 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
6091 * config/avr/lib2-object.mk: New iterator to build objects from it.
6092 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
6093 lib2funcs.c.
6094 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
6095 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
6096 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
6097 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
6098 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
6099 * config/avr/lib1funcs-fixed.S: Implement them.
6100
5d5bf775
RS
61012013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
6102
6103 Update copyright years.
6104
99113dff
DE
61052013-02-01 David Edelsohn <dje.gcc@gmail.com>
6106
6107 PR target/54601
6108 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
6109 Add crtcxa to extra_parts.
6110 * config/rs6000/exit.h: New file.
6111 * config/rs6000/cxa_atexit.c: New file.
6112 * config/rs6000/cxa_finalize.c: New file.
6113 * config/rs6000/crtcxa.c: New file.
6114 * config/rs6000/t-aix-cxa: New file.
6115 * config/rs6000/libgcc-aix-cxa.ver: New file.
6116
dbdbd982
NC
61172013-01-31 Nick Clifton <nickc@redhat.com>
6118
6119 * config/v850/lib1funcs.S: Add support for e3v5 architecture
6120 variant.
6121
5893f158
GJL
61222013-01-29 Georg-Johann Lay <avr@gjlay.de>
6123
6124 PR target/54222
6125 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
6126 _mulQQ, _mulHQ, _mulHA, _mulSA,
6127 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
6128 _divQQ, _divHQ, _divHA, _divSA,
6129 _divUQQ, _divUHQ, _divUHA, _divUSA.
6130
ecdbd01a 61312013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
fbf0cf90 6132
dbdbd982 6133 * config.host(microblaze*-linux*): tmake_file: Remove
fbf0cf90
DH
6134 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
6135 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
6136 to exclude functions from being built with libgcc.c and use
6137 the microblaze assembly.
6138
ecdbd01a 61392013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
6f14eef2
EI
6140
6141 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
6142 extra_parts.
6143
922c57d1
YZ
61442013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
6145
6146 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
6147 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
6148 __UINTPTR_TYPE__; also cast 'base' to the same type before the
6149 alignment operation.
6150
e0f8b6a0
SN
61512013-01-15 Sofiane Naci <sofiane.naci@arm.com>
6152
6153 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
6154 loop start address for cache clearing.
6155
00892272
GJL
61562013-01-14 Georg-Johann Lay <avr@gjlay.de>
6157
6158 * config/avr/lib1funcs.S: Remove trailing blanks.
6159 * config/avr/lib1funcs-fixed.S: Ditto.
6160
e59ec5fd
GJL
61612013-01-14 Georg-Johann Lay <avr@gjlay.de>
6162
6163 * config/avr/avr-lib.h: Add GPL copyright notice.
6164
3ffc1958
GJL
61652013-01-14 Georg-Johann Lay <avr@gjlay.de>
6166
6167 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
6168 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
6169 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
6170 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
6171
25c210f9
MK
61722013-01-07 Mark Kettenis <kettenis@openbsd.org>
6173
6174 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
6175 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
2bc15360 6176
db59befb
NC
61772013-01-04 Nick Clifton <nickc@redhat.com>
6178
6179 * config/v850/lib1funcs.S: Only provide CALLT support functions if
6180 the CALLT instruction is supported.
6181
5aa12dbf
JW
61822012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
6183
6184 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
6185 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
6186
65f14117
JT
61872012-12-13 John Tytgat <John@bass-software.com>
6188
6189 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
6190 is 25.
6191
ee3ae4f7
JJ
61922012-12-12 Jakub Jelinek <jakub@redhat.com>
6193
6194 PR libgcc/55451
6195 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
6196 undefined signed overflows.
6197
2fcfba3d
UB
61982012-12-09 Uros Bizjak <ubizjak@gmail.com>
6199
6200 PR target/55344
6201 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
6202
4f2b3dc2
UB
62032012-12-06 Uros Bizjak <ubizjak@gmail.com>
6204
6205 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
6206 (FP_TRAPPING_EXCEPTIONS): Define.
6207 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
6208 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
6209
066161a2
RH
62102012-12-04 Richard Henderson <rth@redhat.com>
6211
6212 PR bootstrap/55571
6213 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
6214
7d296953 62152012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
25626181 6216
4f2b3dc2 6217 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
25626181
MS
6218 (FP_EX_SHIFT): Define.
6219 (FP_TRAPPING_EXCEPTIONS): Define.
6220
7d296953 62212012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
868395e8
MS
6222
6223 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
6224 (FP_ROUNDMODE): Use FP_RND_MASK.
6225 * config/aarch64/sfp-exceptions.c: New.
6226 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
6227 Use __sfp_handle_exceptions.
6228
5005fe22
RE
62292012-12-04 Richard Earnshaw <rearnsha@arm.com>
6230
6231 * config.host: (arm*-*-freebsd*): Remove.
6232 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
6233 (arm*-*-elf*): Remove.
6234 (arm*-*-wince-pe*): Remove.
6235 * arm/unwind-arm.c (struct fpa_reg): Delete.
6236 (struct fpa_regs): Delete.
6237 (phase1_vrs): Remove fpa element.
6238 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
6239 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
6240 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
6241 * ieee754-sf.S (floatundisf): Remove FPA support.
6242 (floatdisf): Likewise.
6243 * ieee75f-df.S (floatundidf): Likewise.
6244 (floatdidf): Likewise.
6245
e5a81c8e
KT
62462012-11-29 Kai Tietz <ktietz@redhat.com>
6247
6248 PR target/55445
6249 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
6250 * unwind-generic.h: Likewise.
6251 * unwind-seh.c: Likewise.
6252
f4919e4a
RH
62532012-11-28 Richard Henderson <rth@redhat.com>
6254
6255 PR libgcc/48076
6256 * emutls.c (__emutls_get_address): Avoid race condition between
6257 obj->loc.offset read and emutls_key initialization.
4f2b3dc2 6258
e13d9d5a
GJL
62592012-11-22 Georg-Johann Lay <avr@gjlay.de>
6260
6261 Adjust decimal point of signed accum mode to GCC default.
6262
6263 PR target/54222
6264 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
6265 _divqq_helper.
6266 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
6267 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
6268 (__mulha3, __mulsa3)
6269 (__divqq3, __divha3, __divsa3): Adjust to new position of
4f2b3dc2
UB
6270 decimal point of signed accum types.
6271
e13d9d5a
GJL
6272 (__mulusa3_round): New function.
6273 (__mulusa3): Use it.
6274 (__divqq_helper): New function.
6275 (__udivuqq3): Use it.
6276
1b845c6e
JJ
62772012-11-20 Jakub Jelinek <jakub@redhat.com>
6278
6279 PR bootstrap/55370
6280 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
6281
822a258a
TJ
62822012-11-18 Teresa Johnson <tejohnson@google.com>
6283
6284 PR bootstrap/55051
6285 * libgcov.c (gcov_exit): Remove merged program summary
6286 comparison unless !GCOV_LOCKED.
6287
7d296953 62882012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
54f4eaf0
MS
6289
6290 * soft-fp: Updated from glibc upstream.
6291
e808687a
ILT
62922012-11-06 Ian Lance Taylor <iant@google.com>
6293
6294 * generic-morestack.c (__generic_morestack): Align the returned
6295 stack pointer to a 32 byte boundary.
6296 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
6297 increment the return address until we have decided that we don't
6298 have a varargs function.
6299 (__morestack) [32-bit]: Align stack correctly when calling C
6300 functions.
6301 (__morestack) [64-bit]: Likewise.
6302
460277e0
TS
63032012-11-04 Thomas Schwinge <thomas@codesourcery.com>
6304
6305 * configure: Regenerate.
6306
73edb277
UB
63072012-11-02 Uros Bizjak <ubizjak@gmail.com>
6308
6309 PR target/55175
6310 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
6311 * config/i386/sfp-machine.h: Guard exception handling
6312 code with _SOFT_FLOAT.
6313 * config/i386/32/sfp-machine.h: Guard rounding handling
6314 code with _SOFT_FLOAT.
6315 * config/i386/64/sfp-machine.h: Ditto.
6316
c1d4fa04
JS
63172012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
6318
6319 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
6320 as extra_parts.
6321
eff6ca85
UB
63222012-10-26 Uros Bizjak <ubizjak@gmail.com>
6323
6324 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
6325 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
6326 when appropriate. Correct structure element types.
6327 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
6328 -minline-all-stringops from compile flags.
6329
7d296953 63302012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
43a8f1a1
RC
6331
6332 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
6333
7d296953 63342012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
76c78361 6335
eff6ca85 6336 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
76c78361 6337
6f288860
SH
63382012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
6339
6340 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
6341 tmake_file.
6342
1e3d5096
IB
63432012-10-23 Ian Bolton <ian.bolton@arm.com>
6344 Jim MacArthur <jim.macarthur@arm.com>
6345 Marcus Shawcroft <marcus.shawcroft@arm.com>
6346 Nigel Stephens <nigel.stephens@arm.com>
6347 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
6348 Richard Earnshaw <rearnsha@arm.com>
6349 Sofiane Naci <sofiane.naci@arm.com>
6350 Stephen Thomas <stephen.thomas@arm.com>
6351 Tejas Belagod <tejas.belagod@arm.com>
6352 Yufeng Zhang <yufeng.zhang@arm.com>
6353
6354 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
6355 * config/aarch64/crti.S: New file.
6356 * config/aarch64/crtn.S: New file.
6357 * config/aarch64/linux-unwind.h: New file.
6358 * config/aarch64/sfp-machine.h: New file.
6359 * config/aarch64/sync-cache.c: New file.
6360 * config/aarch64/t-aarch64: New file.
6361 * config/aarch64/t-softfp: New file.
6362
8a740f07
HPN
63632012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
6364
6365 * config/mmix/crti.S: Mark program and data addresses using PRELD.
6366 Remove typo'd and unnecessary alignment-LOC for .data. Remove
6367 no-longer-needed LDBU insns.
6368
7d296953 63692012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
153c8397
SH
6370
6371 * config.host
6372 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
6373 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
6374
595fefee
MGD
63752012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
6376
6377 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
6378
9945a876
MK
63792012-10-15 Matthias Klose <doko@ubuntu.com>
6380
6381 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
6382
1183dc2c
PC
63832012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
6384
6385 * configure: Regenerate.
6386 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
6387
945a9c1f
UB
63882012-10-10 Uros Bizjak <ubizjak@gmail.com>
6389
6390 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
6391 instructions for 64bit targets only.
6392
fb8bf47a
UB
63932012-10-10 Uros Bizjak <ubizjak@gmail.com>
6394
6395 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
6396 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
6397 * config/i386/32/sfp-machine.h: ... here.
6398 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
6399 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
6400 New defines.
6401
acb72498
MK
64022012-10-07 Matthias Klose <doko@ubuntu.com>
6403
6404 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
6405 as unused.
6406 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
6407
8eaee0f0
MK
64082012-10-06 Mark Kettenis <kettenis@openbsd.org>
6409
6410 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
6411 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
6412 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
6413 (ElfW): Likewise.
6414
5e3e4fe8
JW
64152012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
6416
6417 PR other/53889
6418 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
6419 Fix parameter names.
6420
86086376
OE
64212012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
6422
6423 PR target/33135
6424 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
6425 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
6426 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
6427
9597375a
OE
64282012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
6429
6430 PR target/50457
6431 * config/sh/linux-atomic.S: Delete.
6432 * config/sh/linux-atomic.c: New.
6433 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
6434 linux-atomic.c. Add cflags to disable warnings.
6435
1504e3e1
JW
64362012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
6437
6438 PR other/53889
6439 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
6440 function.
6441 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
6442 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
6443 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
6444 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
5e3e4fe8
JW
6445 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
6446 Likewise.
1504e3e1
JW
6447 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
6448 Likewise.
6449 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
6450 Likewise.
6451 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
6452 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
6453
17f293b0
MK
64542012-09-19 Mark Kettenis <kettenis@openbsd.org>
6455
9597375a
OE
6456 * config.host (hppa-*-openbsd*): New target.
6457 * config/pa/t-openbsd: New file.
17f293b0 6458
51526856
GJL
64592012-09-15 Georg-Johann Lay <avr@gjlay.de>
6460
6461 PR target/54222
6462 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
6463 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
6464 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
6465 (__divsa3): Use __negsi2 to negate r_quoL.
6466 * config/avr/lib1funcs.S (FALIAS): New macro.
6467 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
6468 (__negsi2): ...this new function.
6469 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
6470 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
6471 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
6472 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
6473 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
6474 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
6475
aadb5b43
OE
64762012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
6477
6478 PR target/54089
6479 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
6480 (lshrsi3): Reimplement as lshrsi3_r0.
6481
d5d66749
AS
64822012-09-10 Andreas Schwab <schwab@linux-m68k.org>
6483
6484 PR target/46191
6485 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
6486 of libgcc.a.
6487
c6c36e73
TJ
64882012-09-07 Teresa Johnson <tejohnson@google.com>
6489
9597375a 6490 PR gcov-profile/54487
c6c36e73 6491 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
9597375a 6492 differences.
c6c36e73 6493
b588ae30
GJL
64942012-09-05 Georg-Johann Lay <avr@gjlay.de>
6495
6496 PR target/54461
6497 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
6498 not configured --with-avrlibc=no.
6499 * config/avr/t-avrlibc: New file.
6500 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
6501 (DPBIT_FUNCS): Ditto.
6502 (TPBIT_FUNCS): Ditto.
6503
abd16fb1
TJ
65042012-09-04 Teresa Johnson <tejohnson@google.com>
6505
6506 * libgcov.c (struct gcov_summary_buffer): New structure.
6507 (gcov_histogram_insert): New function.
6508 (gcov_compute_histogram): Ditto.
6509 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
6510 histograms during summary merging.
6511
613061fd
MK
65122012-09-01 Mark Kettenis <kettenis@openbsd.org>
6513
6514 * config.host (x86_64-*-openbsd*): New target.
73edb277 6515
867a8345
CLT
65162012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
6517
6518 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
6519 attribute.
6520
4aeaaca3
GJL
65212012-08-24 Georg-Johann Lay <avr@gjlay.de>
6522
6523 PR target/54222
6524 * config/avr/t-avr (conv_X): Rename to func_X.
6525
e55e4056
GJL
65262012-08-24 Georg-Johann Lay <avr@gjlay.de>
6527
6528 PR target/54222
6529 * config/avr/lib1funcs-fixed.S: New file.
6530 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
6531 after they are used.
6532 (neg2, neg4): New macros.
6533 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
6534 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
6535 (__umulhisi3): Speed up MUL variant if there is enough flash.
6536 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
6537 avr-modes.def.
6538 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
6539 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
6540 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
6541 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
6542 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
6543 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
6544 (LIB2FUNCS_EXCLUDE): Add supported functions.
6545
a147b6d2
GJL
65462012-08-22 Georg-Johann Lay <avr@gjlay.de>
6547
6548 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
6549 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
6550 libgcc-s-objects.
6551 * fixed-obj.mk: Only expand dependency if $o is not in
6552 LIB2FUNCS_EXCLUDE.
6553
c637141a
L
65542012-08-22 H.J. Lu <hongjiu.lu@intel.com>
6555
6556 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
6557
130e00bd
JM
65582012-08-22 Joseph Myers <joseph@codesourcery.com>
6559
6560 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
6561 depend on --enable-shared.
6562 ($(lib1asmfuncs-o)): Use %.vis files independent of
6563 --enable-shared.
6564 * static-object.mk ($(base)$(objext), $(base).vis)
6565 ($(base)_s$(objext)): Use same rules for visibility handling as in
6566 shared-object.mk.
6567
4b1b3788
ILT
65682012-08-21 Ian Lance Taylor <iant@google.com>
6569
6570 * config/i386/morestack.S (__morestack_non_split): Increase amount
6571 of space allocated for non-split code stack.
6572
d2468141
JM
65732012-08-19 Joseph Myers <joseph@codesourcery.com>
6574
6575 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
6576 even if inhibit_libc.
6577
a508e1a8
JB
65782012-08-17 Julian Brown <julian@codesourcery.com>
6579
6580 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
6581 -fexceptions -fnon-call-exceptions if not defined.
6582 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
6583 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
6584
5615a07d
AS
65852012-08-17 Andreas Schwab <schwab@linux-m68k.org>
6586
6587 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
6588 type.
6589
138f5acd
DE
65902012-08-16 David Edelsohn <dje.gcc@gmail.com>
6591
6592 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
6593 rs6000/t-slibgcc-aix.
6594
18efc0dd
SB
65952012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
6596
6597 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
6598
6b39bc38
SB
65992012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
6600
6601 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
6602
cd25dea0
L
66032012-08-03 H.J. Lu <hongjiu.lu@intel.com>
6604
6605 PR driver/54171
6606 * Makefile.in (version): Replace top_srcdir with srcdir.
6607
a3dda30b
JY
66082012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
6609
6610 * Makefile.in (version): set to BASE-VER file from gcc directory.
6611
d04aacfc
NC
66122012-08-01 Nick Clifton <nickc@redhat.com>
6613
6614 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
6615 Implements __clrsb for an HImode argument.
6616
0d13c974
NC
66172012-07-31 Nick Clifton <nickc@redhat.com>
6618
6619 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
6620 Implements __clrsb for an HImode argument.
6621 * config/stormy16/clrsbhi2.c: New file:
6622 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
6623
efbb59b2
SB
66242012-07-22 Steven Bosscher <steven@gcc.gnu.org>
6625
6626 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
6627
bf1431e3
TG
66282012-07-19 Tristan Gingold <gingold@adacore.com>
6629 Richard Henderson <rth@redhat.com>
6630
6631 * unwind-seh.c: New file.
6632 * unwind-generic.h: Include windows.h for SEH.
6633 (_Unwind_Exception): Use 6 private fields for SEH.
6634 (_GCC_specific_handler): Declare.
6635 * unwind-c.c (__gcc_personality_seh0): New function.
6636 Adjust for SEH.
6637 * config/i386/libgcc-cygming.ver: New file.
6638 * config/i386/t-seh-eh: New file.
6639 * config.host (x86_64-*-mingw*): Default to seh.
6640
659140c8
SB
66412012-07-14 Steven Bosscher <steven@gcc.gnu.org>
6642
6643 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
6644
a20d08fd
UB
66452012-06-17 Uros Bizjak <ubizjak@gmail.com>
6646
6647 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
6648 __builtin_expect when checking for exceptions.
6649 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
6650
79261115
UB
66512012-06-13 Uros Bizjak <ubizjak@gmail.com>
6652
4a172156
UB
6653 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
6654 function declaration.
6655 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
6656 (FP_RND_MASK): New.
6657 * config/ia64/sfp-exceptions.c: New.
6658 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
79261115 6659
bb5c97d4
UB
66602012-06-13 Uros Bizjak <ubizjak@gmail.com>
6661
6662 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
6663 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
6664 * config/i386/64/sfp-machine: ... (delete here) ...
6665 * config/i386/sfp-machine.h: ... to here.
6666 (FP_EX_MASK): Remove.
6667 (FP_RND_MASK): New.
6668 (FP_INIT_ROUNDMODE): Declare asm as volatile.
6669
91fe5efb
ST
66702012-06-11 Sriraman Tallam <tmsriram@google.com>
6671
6672 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
6673 * config/i386/libgcc-sol2.ver: Ditto.
6674 * config/i386/libgcc-glibc.ver: Ditto.
6675
67a218c5
RM
66762012-06-11 Roland McGrath <mcgrathr@google.com>
6677
6678 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
6679 If __GLIBC__ is defined, refer to __pthread_key_create instead of
6680 pthread_cancel.
6681
492fbea1
UB
66822012-06-09 Uros Bizjak <ubizjak@gmail.com>
6683
6684 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
6685 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
6686 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
6687 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
6688 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
6689 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
6690 * config/i386/64/sfp-machine: ... (delete here) ...
6691 * config/i386/sfp-machine.h: ... to here.
6692 (FP_EX_MASK): New.
6693 (__sfp_handle_exceptions): New function declaration.
6694 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
6695 * config/i386/sfp-exceptions.c: New.
6696 * config/i386/t-softfp: New.
6697 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
6698 i386/t-softfp to tmake_file.
6699
7b4cf266
DM
67002012-06-03 David S. Miller <davem@davemloft.net>
6701
6702 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
6703 change.
6704
0de0d5c6
DM
67052012-05-31 David S. Miller <davem@davemloft.net>
6706
6707 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
6708 multiply and divide instructions on 32-bit when V9.
6709 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
6710
d8c9d391
JM
67112012-05-29 Joseph Myers <joseph@codesourcery.com>
6712
6713 * config/arm/ieee754-df.S: Fix typos.
6714 * config/arm/ieee754-sf.S: Fix typos.
6715 * config/c6x/libunwind.S: Fix typos.
6716 * config/epiphany/udivsi3-float.c: Fix typos.
6717 * config/microblaze/muldi3_hard.S: Fix typos.
6718 * config/picochip/adddi3.S: Fix typos.
6719 * config/picochip/ashlsi3.S: Fix typos.
6720 * config/picochip/ashrsi3.S: Fix typos.
6721 * config/picochip/clzsi2.S: Fix typos.
6722 * config/picochip/cmpsi2.S: Fix typos.
6723 * config/picochip/divmod15.S: Fix typos.
6724 * config/picochip/divmodhi4.S: Fix typos.
6725 * config/picochip/divmodsi4.S: Fix typos.
6726 * config/picochip/longjmp.S: Fix typos.
6727 * config/picochip/lshrsi3.S: Fix typos.
6728 * config/picochip/parityhi2.S: Fix typos.
6729 * config/picochip/popcounthi2.S: Fix typos.
6730 * config/picochip/setjmp.S: Fix typos.
6731 * config/picochip/subdi3.S: Fix typos.
6732 * config/picochip/ucmpsi2.S: Fix typos.
6733 * config/picochip/udivmodhi4.S: Fix typos.
6734 * config/picochip/udivmodsi4.S: Fix typos.
6735 * config/spu/divv2df3.c: Fix typos.
6736 * config/spu/mfc_multi_tag_release.c: Fix typos.
6737 * config/spu/mfc_tag_release.c: Fix typos.
6738 * configure.ac: Fix typos.
6739 * configure: Regenerate.
6740
31a18a7e
ILT
67412012-05-25 Ian Lance Taylor <iant@google.com>
6742
6743 * config/i386/morestack.S (__morestack_non_split): Check whether
6744 caller is varargs and needs %bp to hold the stack frame on return.
6745
c5768510
OH
67462012-05-25 Olivier Hainque <hainque@adacore.com>
6747
6748 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
6749 sequence in the non pic case on VxWorks.
6750
7c7c339b
OH
67512012-05-24 Olivier Hainque <hainque@adacore.com>
6752
73fb7630 6753 * Makefile.in: Move dependency on install-unwind_h from
7c7c339b
OH
6754 "install-leaf" to "install".
6755
fdc1b7d3
OH
67562012-05-24 Olivier Hainque <hainque@adacore.com>
6757
6758 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
6759 Use a separate command for stamp removals.
6760
07ba94b9
AP
67612012-05-21 Andrew Pinski <apinski@cavium.com>
6762
6763 PR bootstrap/53183
6764 * configure.ac: Define the default includes to being none.
6765 * configure: Regenerate.
6766
4677d2eb
OH
67672012-05-16 Olivier Hainque <hainque@adacore.com>
6768
6769 * Makefile.in (install-unwind_h): Rename into ...
6770 (install-unwind_h-forbuild): New target.
6771 (all): Use it instead of the former install-unwind_h.
6772 (install-unwind_h): Reinstate, copy to user install destination
6773 for include files, not to the internal gcc object directory one.
6774 (install-leaf): Depend on it.
6775
7d67c380
OH
67762012-05-15 Olivier Hainque <hainque@adacore.com>
6777
6778 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
6779 register numbers. LR_REGNO replaces R_LR.
6780 (ucontext_for): New, helper for ...
6781 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
6782 and 5.3 of ...
6783 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
6784
aca06c90
RO
67852012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6786
6787 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
6788 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
6789 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
6790 i386/t-cpuinfo ...
6791 (i[34567]86-*-*, x86_64-*-*): ... here.
6792
6793 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
6794 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
6795
6796 * config/i386/i386-cpuinfo.c: Rename to ...
6797 * config/i386/cpuinfo.c: ... this.
6798 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
6799
6800 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
6801 (libgcc_cv_init_priority): New test.
6802 * configure: Regenerate.
6803 * config.in: New file.
6804 * Makefile.in (clean): Rename config.h to auto-target.h.
6805 (config.h): Likewise.
6806 (stamp-h): Likewise.
6807
6808 * config/i386/cpuinfo.c (auto-target.h): Include.
6809 (CONSTRUCTOR_PRIORITY): Define.
6810 (__cpu_indicator_init): Use it.
6811
0d03ac1b
L
68122012-05-09 H.J. Lu <hongjiu.lu@intel.com>
6813
6814 * longlong.h: Use a URL instead of an FSF postal address.
6815 Replace spaces with tab.
6816
4a172156 68172012-05-08 Teresa Johnson <tejohnson@google.com>
4e8ee9cb
TJ
6818
6819 * libgcov.c (gcov_clear, __gcov_reset): New functions.
6820 (__gcov_dump): Ditto.
6821 (gcov_dump_complete): New global variable.
6822 (gcov_exit): Export hidden to enable use in L_gcov_dump.
6823 (__gcov_flush): Outline functionality now in gcov_clear.
6824 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
6825
e4bb767e
AJ
68262012-04-28 Aurelien Jarno <aurelien@aurel32.net>
6827
31a18a7e
ILT
6828 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
6829 (mips*-*-linux*): Include mips/t-tpbit when long double is
6830 16 bytes long.
e4bb767e 6831
5ddecff9
ST
68322012-04-25 Sriraman Tallam <tmsriram@google.com>
6833
6834 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
6835 (get_available_features): New argument. Check for AVX2.
6836 (__cpu_indicator_init): Modify call to get_available_features.
6837
b427dd7a
AM
68382012-04-25 Alan Modra <amodra@gmail.com>
6839
6840 * config/rs6000/crtsavevr.S: New file.
6841 * config/rs6000/crtrestvr.S: New file.
6842 * config/rs6000/t-savresfgpr: Build the above.
6843 * config/rs6000/t-netbsd: Likewise.
6844
ad491329
ST
68452012-04-24 Sriraman Tallam <tmsriram@google.com>
6846
6847 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
6848
792317cc
ST
68492012-04-24 Sriraman Tallam <tmsriram@google.com>
6850
6851 * libgcc/config/i386/i386-cpuinfo.c: New file.
6852 * libgcc/config/i386/t-cpuinfo: New file.
6853 * libgcc/config.host: Include t-cpuinfo.
6854 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
6855
e1be98a4
CF
68562012-04-24 Chao-ying Fu <fu@mips.com>
6857
6858 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
6859
1bde7dab
TS
68602012-04-20 Thomas Schwinge <thomas@codesourcery.com>
6861
6862 struct siginfo vs. siginfo_t
6863
6864 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
6865 siginfo_t instead of struct siginfo.
6866 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
6867 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
6868 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
6869 (ia64_handle_unwabi): Likewise.
6870 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
6871 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
6872 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
6873 (sh_fallback_frame_state): Likewise.
6874 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
6875 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
6876
24590f66
L
68772012-04-02 H.J. Lu <hongjiu.lu@intel.com>
6878
6879 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
6880 system call number.
6881
9a9dcce8
EB
68822012-03-31 Eric Botcazou <ebotcazou@adacore.com>
6883
6884 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
6885 if it hasn't been previously saved.
6886
6401aaf5
L
68872012-03-29 H.J. Lu <hongjiu.lu@intel.com>
6888
6889 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
6890 only for glibc.
6891
7fd6378e
GJL
68922012-03-28 Georg-Johann Lay <avr@gjlay.de>
6893
6894 PR target/52737
6895 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
6896 instead of __AVR_HAVE_8BIT_SP__.
6897
9e916de7
TG
68982012-03-26 Tristan Gingold <gingold@adacore.com>
6899
6900 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
6901 (unw_table_entry): Use unw_word instead of unsigned long.
6902 (_Unwind_FindTableEntry): Likewise.
6903 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
6904 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
6905 (_Unwind_FindTableEntry): Likewise.
6906 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
6907 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
6908 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
6909 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
6910 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
6911 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
6912 (uw_init_context_1, uw_install_context): Likewise.
6913 (unw_word): Move to unwind-ia64.h
6914
4b12e93d
TG
69152012-03-26 Tristan Gingold <gingold@adacore.com>
6916
6917 * config/vms/vms-ucrt0.c: Update copyright years.
6918 Add a sanity check.
6919 (___gcc_main_flags): Declare.
6920 (__main): Check flags to remap argv and exit code.
6921 * config.host (*-*-*vms*): Adjust extra_parts.
6922 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
6923 (crt0.o): Add.
6924
06ea7371
RE
69252012-03-22 Richard Earnshaw <rearnsha@arm.com>
6926
6927 * arm/lib1funcs.asm (ctzsi2): New function.
6928 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
6929 * arm/t-linux (LIB1ASMFUNCS): Likewise.
6930 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
6931 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
6932 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
6933 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
6934
d82ad50d
AT
69352012-03-21 Andreas Tobler <andreast@fgznet.ch>
6936
6937 * config.host: Add bits to support powerpc64-*-freebsd*.
6938 * config/rs6000/freebsd-unwind.h: New file.
6939 * config/rs6000/t-freebsd64: New file.
6940
b260a8c0
RG
69412012-03-20 Richard Guenther <rguenther@suse.de>
6942
6943 PR gcov-profile/52627
6944 * libgcov.c (init_mx): Fix mutex name.
6945
86286a8a
TG
69462012-03-16 Tristan Gingold <gingold@adacore.com>
6947
6948 * config/ia64/vms-unwind.h: Remove ulong (and replace
6949 it by unw_reg where used). Define unw_reg with __int64.
6950
7888f266
RO
69512012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6952
6953 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
6954 Solaris 8 handling.
6955 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
6956 Solaris 8 handling.
6957 (sparc_is_sighandler): Likewise.
6958
f155bc64
L
69592012-03-13 H.J. Lu <hongjiu.lu@intel.com>
6960
6961 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
6962 <= saved reg size.
6963
d47657bd
RO
69642012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6965
6966 * config/arm/crtn.S: Fix typo.
6967
5bef73a1
RG
69682012-03-13 Richard Guenther <rguenther@suse.de>
6969
6970 * libgcov.c: Remove stdio.h include and NULL un-define.
6971
9c4271f3
RG
69722012-03-13 Richard Guenther <rguenther@suse.de>
6973
6974 PR target/52569
6975 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
6976
c6d10e7c
RG
69772012-03-13 Richard Guenther <rguenther@suse.de>
6978
6979 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
6980
074a385f
RG
69812012-03-13 Richard Guenther <rguenther@suse.de>
6982
6983 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
6984 and __gthread_mutex_init_function definitions.
6985
c4bc5c25
RO
69862012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6987
6988 * config.host (mips*-*-openbsd*): Remove.
6989
5c30094f
RO
69902012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6991
6992 * config.host: Remove alpha*-dec-osf5.1* handling.
6993 * config/alpha/gthr-posix.c: Remove.
6994 * config/alpha/libgcc-osf5.ver: Remove.
6995 * config/alpha/osf5-unwind.h: Remove.
6996 * config/alpha/t-osf-pthread: Remove.
6997 * config/alpha/t-slibgcc-osf: Remove.
6998 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
6999 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
7000 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
7001 * mkmap-flat.awk: Remove osf_export handling.
7002
33e3e24d
RG
70032012-03-12 Richard Guenther <rguenther@suse.de>
7004
7005 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
7006 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
7007 (__gthread_mutex_init_function): New function.
7008 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
7009
7010 PR gcov/49484
7011 * libgcov.c: Include gthr.h.
7012 (__gcov_flush_mx): New global variable.
7013 (init_mx, init_mx_once): New functions.
7014 (__gcov_flush): Protect self with a mutex.
7015 (__gcov_fork): Re-initialize mutex after forking.
7016 * unwind-dw2-fde.c: Change condition under which to use
7017 __GTHREAD_MUTEX_INIT_FUNCTION.
7018
d8aba32a
TG
70192012-03-12 Tristan Gingold <gingold@adacore.com>
7020
7021 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
7022 * config/ia64/t-vms: Likewise.
7023
75ffafdc
MH
70242012-03-11 Michael Hope <michael.hope@linaro.org>
7025
4a172156
UB
7026 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
7027 for Thumb-2.
75ffafdc 7028
ef6c2c53
WL
70292012-03-07 Walter Lee <walt@tilera.com>
7030
7031 * config/tilepro/atomic.c: Rename "atomic_" prefix to
7032 "arch_atomic_".
7033 (atomic_xor): Rename and move definition to
7034 config/tilepro/atomic.h.
7035 (atomic_nand): Ditto.
7036 * config/tilepro/atomic.h: Rename "atomic_" prefix to
7037 "arch_atomic_".
7038 (arch_atomic_xor): Move from config/tilepro/atomic.c.
7039 (arch_atomic_nand): Ditto.
7040
4e30d980
GJL
70412012-03-07 Georg-Johann Lay <avr@gjlay.de>
7042
7043 PR target/52507
7044 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
7045
61108225
GJL
70462012-03-07 Georg-Johann Lay <avr@gjlay.de>
7047
7048 PR target/52505
7049 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
7050 from RAM.
7051
b30e10ab
GJL
70522012-03-07 Georg-Johann Lay <avr@gjlay.de>
7053
7054 PR target/52461
7055 PR target/52508
7056 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
7057 if RAMPZ affects reading from RAM.
7058 (__tablejump_elpm__): Ditto.
7059 (.xload): Ditto.
7060 (__movmemx_hi): Ditto.
7061 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
7062 (__do_global_dtors): Ditto.
7063 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
7064 (__movmemx_hi): Ditto.
7065
8993fde4
RH
70662012-03-05 Richard Henderson <rth@redhat.com>
7067
7068 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
7069 [ARM] (count_trailing_zeros): Use the builtin.
7070
b7633ee3
KT
70712012-03-01 Kai Tietz <ktietz@redhat.com>
7072
7073 * soft-fp: Imported from glibc upstream.
7074
fbd3340c
KT
70752012-02-28 Kai Tietz <ktietz@redhat.com>
7076
7077 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
7078 for mingw-targets as attribute gcc_struct.
7079
e9e053eb
ILT
70802012-02-28 Ian Lance Taylor <iant@google.com>
7081
7082 * generic-morestack.c (__splitstack_releasecontext): Correct call
7083 to __morestack_release_segments.
7084
d80c632e
ST
70852012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
7086
7087 PR target/52390
7088 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
7089 for __linux__ when removing signals from __morestack_fullmask.
7090
0253a8b1
GJL
70912012-02-23 Georg-Johann Lay <avr@gjlay.de>
7092
7093 PR target/52261
7094 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
7095
e10e461e
UW
70962012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7097
7098 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
7099 instead of HAVE_INITFINI_ARRAY.
7100 * config/ia64/crtend.S: Likewise.
7101
0c0c6398
KT
71022012-02-20 Kai Tietz <ktietz@redhat.com>
7103
d7470374
KT
7104 PR libstdc++/52300
7105 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
7106
0c0c6398
KT
7107 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
7108 to w32-unwind.h header.
7109
78c27266
RS
71102012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
7111
7112 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
7113 (mips*-*-linux*): Remove t-slibgcc-libgcc.
7114 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
7115 * config/mips/mips16.S (__mips16_rdhwr): Delete.
7116
5adeb246
RS
71172012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
7118
7119 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
7120
672ed313
IS
71212012-02-15 Iain Sandoe <iains@gcc.gnu.org>
7122
7123 PR libitm/52220
7124 * config/darwin-crt-tm.c: Correct typo.
e9e053eb 7125
e948a1fb
IS
71262012-02-15 Iain Sandoe <iains@gcc.gnu.org>
7127 Patrick Marlier <patrick.marlier@gmail.com>
7128
7129 PR libitm/52220
7130 * config/darwin-crt-tm.c: Generate dummy functions.
7131
6017aed3
IS
71322012-02-15 Iain Sandoe <iains@gcc.gnu.org>
7133 Patrick Marlier <patrick.marlier@gmail.com>
7134
7135 PR libitm/52042
7136 * config/darwin-crt-tm.c (getTMCloneTable): New function.
7137 (__doTMRegistrations): Call it.
e9e053eb 7138 (__doTMdeRegistrations): Likewise.
6017aed3 7139
2da8c1ad 71402012-01-15 Georg-Johann Lay <avr@gjlay.de>
7d296953
JJ
7141 Anatoly Sokolov <aesok@post.ru>
7142 Eric Weddington <eric.weddington@atmel.com>
2da8c1ad
GJL
7143
7144 PR target/52261
7145 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
7146 (__epilogue_restores__): Ditto.
7147
0f952eb4
EB
71482012-02-15 Eric Botcazou <ebotcazou@adacore.com>
7149
7150 PR target/51921
7151 PR target/52205
7152 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
7153 Solaris 11 and slightly reformat.
7154 (sparc_is_sighandler): Likewise.
7155
dd552284
WL
71562012-02-14 Walter Lee <walt@tilera.com>
7157
7158 * config.host: Handle tilegx and tilepro.
7159 * config/tilegx/sfp-machine.h: New file.
7160 * config/tilegx/sfp-machine32.h: New file.
7161 * config/tilegx/sfp-machine64.h: New file.
7162 * config/tilegx/t-crtstuff: New file.
7163 * config/tilegx/t-softfp: New file.
7164 * config/tilegx/t-tilegx: New file.
7165 * config/tilepro/atomic.c: New file.
7166 * config/tilepro/atomic.h: New file.
7167 * config/tilepro/linux-unwind.h: New file.
7168 * config/tilepro/sfp-machine.h: New file.
7169 * config/tilepro/softdivide.c: New file.
7170 * config/tilepro/softmpy.S: New file.
7171 * config/tilepro/t-crtstuff: New file.
7172 * config/tilepro/t-tilepro: New file.
7173
b59cbd50
JW
71742012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
7175
7176 PR libstdc++/51296
7177 PR libstdc++/51906
7178 * gthr-posix.h: Allow static initializer macros to be disabled.
7179 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
7180
6caf807f
CLT
71812012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
7182
7183 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
7184 Add t-slibgcc-libgcc to tmake_file.
7185 * config/mips/libgcc-mips16.ver: Revert previous patch.
7186 * config/mips/mips16.S (__mips16_rdhwr): Hide.
7187
7d296953
JJ
71882012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
7189 Jayant R Sonar <jayant.sonar@kpitcummins.com>
b25364a0
S
7190
7191 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
7192 * config/cr16/crti.S: New file.
7193 * config/cr16/crtlibid.S: New file.
7194 * config/cr16/crtn.S: New file.
7195 * config/cr16/lib1funcs.S: New file.
7196 * config/cr16/t-cr16: New file.
7197 * config/cr16/t-crtlibid: New file.
7198 * config/cr16/unwind-dw2.h: New file.
7199 * config/cr16/unwind-cr16.c: New file.
7200 * config/cr16/divmodhi3.c: New file.
7201
8ef03aa7
AM
72022012-01-25 Alan Modra <amodra@gmail.com>
7203
7204 * config/rs6000/t-linux64: Delete. Move..
7205 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
7206 * config/rs6000/t-linux: ..and libgcc flags to here.
7207
daecebc8
DR
72082012-01-22 Douglas B Rupp <rupp@gnat.com>
7209
7210 * config.host (i[34567]86-*-interix3*):
8ef03aa7 7211 Change triplet to i[34567]86-*-interix[3-9]*.
daecebc8
DR
7212 * configure: Regenerate.
7213
ddaf8125
RS
72142012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
7215 Richard Sandiford <rdsandiford@googlemail.com>
7216
7217 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
7218 * config/mips/mips16.S (__mips16_rdhwr): New function.
7219 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
7220
2cd8b32c
NS
72212012-01-11 Nathan Sidwell <nathan@acm.org>
7222
7223 * libgcov.c (__gcov_init): Ignore objects with no functions.
7224
cba300dd
GJL
72252012-01-10 Georg-Johann Lay <avr@gjlay.de>
7226
7227 PR target/49868
7228 Extend __pgmx semantics to linearize memory.
7229 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
7230 * config/avr/lib1funcs.S (__xload_1): New function.
7231 (__movmemx_qi, __movmemx_hi): New functions.
7232 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
7233 semantics.
9ffaf4bc 7234
3d137660
EB
72352012-01-09 Eric Botcazou <ebotcazou@adacore.com>
7236
7237 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
7238 purported sigacthandler address isn't null before dereferencing it.
7239 (sparc_is_sighandler): Likewise.
7240
bf4db96c
EB
72412012-01-09 Eric Botcazou <ebotcazou@adacore.com>
7242
7243 PR ada/41929
7244 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
7245 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
7246 (sparc_is_sighandler): Likewise.
7247 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
7248
1ab3568b
TG
72492012-01-06 Tristan Gingold <gingold@adacore.com>
7250
7251 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
7252 compatibility thunks...
7253 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
7254 (crtbeginS.o, crtendS.o): ... and these to ...
7255 * config/ia64/t-ia64-elf: ... this new file.
7256 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
7257 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
7258
925b0ed8
AK
72592012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7260
7261 * configure: Regenerate.
7262 * config/s390/t-crtstuff: Remove -fPIC.
7263
a99ad737
JW
72642012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
7265
7266 PR bootstrap/51006
7267 * enable-execute-stack-mprotect.c (getpagesize): Do not define
7268 for NetBSD.
7269
884f56d1
GJL
72702012-01-02 Georg-Johann Lay <avr@gjlay.de>
7271
7272 PR target/51345
7273 * config/avr/lib1funcs.S: Remove FIXME comments.
7274 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
7275
8c57e547
GJL
72762012-01-02 Georg-Johann Lay <avr@gjlay.de>
7277
7278 Implement light-weight DImode support.
7279 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
7280 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
7281 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
7282 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
7283
04dbc287
NS
72842011-12-30 Nathan Sidwell <nathan@acm.org>
7285
7286 * libgcov.c (gcov_crc32): Remove global var.
7287 (free_fn_data): New function.
7288 (buffer_fn_data): Pass in filename, more robust error recovery.
7289 (crc32_unsigned): New function.
7290 (gcov_exit): More robust detection of new program. More robust
7291 error recovery.
7292 (__gcov_init): Do not update program's crc here.
7293
8e1d97d4
TG
72942011-12-21 Tristan Gingold <gingold@adacore.com>
7295
7296 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
7297
9ffaf4bc
ILT
72982011-12-21 Ian Lance Taylor <iant@google.com>
7299
7300 * config/i386/morestack.S: Simplify CFI opcodes throughout.
7301
a0c8d0c1
ILT
73022011-12-20 Ian Lance Taylor <iant@google.com>
7303
7304 * config/i386/morestack.S (__morestack_non_split): If there is
7305 enough stack space already, don't split. Ask for more stack space
7306 than we required.
7307
69048898
SDJ
73082011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
7309
7310 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
7311 `sys/sdt.h'.
7312 (_Unwind_DebugHook): New function.
7313 (uw_restore_core_regs): New define.
7314 (unwind_phase2): Use uw_restore_core_regs instead of
7315 restore_core_regs.
7316 (unwind_phase2_forced): Likewise.
7317 (__gnu_Unwind_Resume): Likewise.
7318
1bb4b6a3
UB
73192011-12-20 Uros Bizjak <ubizjak@gmail.com>
7320
7321 * config/alpha/linux-unwind.h: Update copyright years.
7322 (MD_FROB_UPDATE_CONTEXT): New define.
7323 (alpha_frob_update_context): New function.
7324
eb028768
RS
73252011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
7326
7327 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
7328 tmake_file rather replacing it.
7329
6a2045bf
IS
73302011-12-15 Iain Sandoe <iains@gcc.gnu.org>
7331
7332 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
1bb4b6a3 7333 function is not used for PPC64.
6a2045bf
IS
7334 (save_world): Amend comments. Update the VRsave mask to reflect the
7335 saved regs.
7336 (rest_world): Update comments, do not clobber r10, do not use r8.
7337 (eh_rest_world_r10): Amend comments, do not use r8.
7338 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
7339 no longer used, move restore of CR and target address to the end of
7340 the routine.
7341
a13780a6
L
73422011-12-14 H.J. Lu <hongjiu.lu@intel.com>
7343
7344 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
7345 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
7346
d7288dfb
GJL
73472011-12-14 Georg-Johann Lay <avr@gjlay.de>
7348
7349 PR target/49313
7350 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
7351 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
7352
8d2c862d
EB
73532011-12-11 Eric Botcazou <ebotcazou@adacore.com>
7354
7355 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
7356
3447cae6
GJL
73572011-12-09 Georg-Johann Lay <avr@gjlay.de>
7358
7359 PR target/49313
7360 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
7361 * config/avr/lib1funcs.S (__muldi3): New function.
7362
806fc6aa
AP
73632011-12-06 Andrew Pinski <apinski@cavium.com>
7364
7365 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
7366 size of func_ptr.
7367 (__frame_dummy_init_array_entry): Likewise.
7368
28c5e6b5
GJL
73692011-12-06 Georg-Johann Lay <avr@gjlay.de>
7370
7371 Forward-port from gcc-4_6-branch r181936 2011-12-02.
7372
7373 PR target/51345
7374 PR target/51002
7375 * config/avr/lib1funcs.S (__prologue_saves__,
7376 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
7377 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
7378
8f90394a
IS
73792011-12-04 Iain Sandoe <iains@gcc.gnu.org>
7380
7381 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
7382
06dd33ac
JDA
73832011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
7384
7385 PR other/51272
7386 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
7387 (_ITM_deregisterTMCloneTable): Likewise.
7388 (__register_frame_info): Fix unused warning.
7389 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
7390 pthread_default_stacksize_np): Likewise.
7391 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
1bb4b6a3 7392
85b8555e
DD
73932011-11-29 DJ Delorie <dj@redhat.com>
7394
7395 * config.host (rl78-*-elf): New case.
7396 * config/rl78: New directory for the Renesas RL78.
7397
4d5ae4ea
BS
73982011-11-29 Bernd Schmidt <bernds@codesourcery.com>
7399
7400 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
7401 formatting.
7402
f9c55897
RO
74032011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7404
7405 PR other/51022
7406 * config/rs6000/t-savresfgpr: New file.
7407 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
7408 $(srcdir)/config/rs6000/eabi.S.
7409 * config/rs6000/t-ppccomm-ldbl: Remove.
7410 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
7411 tmake_file.
7412 (powerpc-*-eabispe*): Likewise.
7413 (powerpc-*-eabi*): Likewise.
7414 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
7415 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
7416 to tmake_file, remove rs6000/t-ppccomm-ldbl.
7417 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
7418 tmake_file.
7419 (powerpc-*-eabisim*): Likewise.
7420 (powerpc-*-elf*): Likewise.
7421 (powerpc-*-eabialtivec*): Likewise.
7422 (powerpc-xilinx-eabi*): Likewise.
7423 (powerpc-*-rtems*): Likewise.
7424 (powerpcle-*-elf*): Likewise.
7425 (powerpcle-*-eabisim*): Likewise.
7426 (powerpcle-*-eabi*): Likewise.
7427
a01207c4
ILT
74282011-11-27 Ian Lance Taylor <iant@google.com>
7429
7430 * generic-morestack.c (__splitstack_find): Check for NULL old
7431 stack value.
7432 (__splitstack_resetcontext): New function.
7433 (__splitstack_releasecontext): New function.
7434 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
7435
2b0b8ab2
IS
74362011-11-27 Iain Sandoe <iains@gcc.gnu.org>
7437
7438 * config/darwin-crt-tm.c: Correct comments, use correct licence.
7439
c1d8101c
IS
74402011-11-27 Iain Sandoe <iains@gcc.gnu.org>
7441
7442 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
7443
8b281334
RH
74442011-11-26 Richard Henderson <rth@redhat.com>
7445
7446 * config/m68k/linux-atomic.c: New file.
7447 * config/m68k/t-linux: New file.
7448 * config.host (m68k-uclinux, m68k-linux): Use it.
7449
7546aa9d
RH
74502011-11-26 Richard Henderson <rth@redhat.com>
7451
7452 * crtstuff.c (__TMC_LIST__): Mark used not unused.
7453 (__TMC_END__): Only declare if hidden is available; in the definition,
7454 if hidden is unavailable add a null record.
7455 (deregister_tm_clones, register_tm_clones): New.
7456 (__do_global_dtors_aux, frame_dummy): Use them.
7457 (__do_global_dtors, __do_global_ctors_1): Likewise.
7458
e2362f5d
IS
74592011-11-22 Iain Sandoe <iains@gcc.gnu.org>
7460
7461 * config/darwin-crt-tm.c: New file.
7462 * config.host (darwin): Build crttms.o crttme.o to provide
7463 startup and shutdown for tm clones.
7464 * config/t-darwin (crttms.o): New build rule.
7465 (crttme.o): Likewise.
7466
6685dd96
HPN
74672011-11-21 Hans-Peter Nilsson <hp@axis.com>
7468
7469 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
7470 et al.
7471
b0dc7e4c
RH
74722011-11-21 Richard Henderson <rth@redhat.com>
7473
7474 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
7475 (__TMC_LIST__, __TMC_END__): New.
7476 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
7477 (__do_global_dtors): Likewise.
7478 (frame_dummy): Call _ITM_registerTMCloneTable.
7479 (__do_global_ctors_1): Likewise.
7480
d4b4b542
RO
74812011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7482
7483 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
7484 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
7485 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
7486 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
7487 * config/i386/t-darwin64: Remove.
7488 * config/sh/t-netbsd (LIB2ADD): Remove.
7489
989bdb74
GJL
74902011-11-21 Georg-Johann Lay <avr@gjlay.de>
7491
7492 PR target/49313
7493 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
7494 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
7495 * config/avr/lib1funcs.S (wmov): New assembler macro.
7496 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
7497 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
7498 (__udivmod64): New function.
7499 (__negdi2): New function.
7500
515a0cfc
GP
75012011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
7502
7503 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
7504 *-*-freebsd*aout*): Remove.
7505
0115d17f
HPN
75062011-11-20 Hans-Peter Nilsson <hp@axis.com>
7507
7508 * static-object.mk (c_flags-$o): Save c_flags.
7509 ($(base)$(objext)): Use it.
7510
93aeb62b
SE
75112011-11-18 Steve Ellcey <sje@cup.hp.com>
7512
7513 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
7514
7bc6df2c
GJL
75152011-11-18 Georg-Johann Lay <avr@gjlay.de>
7516
7517 PR target/49868
7518 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
7519 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
7520 New functions.
7521
425d737b
MGD
75222011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
7523
7524 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
7525 functions.
1bb4b6a3 7526 (aeabi_uidivmod): Likewise.
425d737b
MGD
7527 (umodsi3): Likewise.
7528 (divsi3): Likewise.
7529 (aeabi_idivmod): Likewise.
7530 (modsi3): Likewise.
7531
f2a176dc
TG
75322011-11-16 Tristan Gingold <gingold@adacore.com>
7533
7534 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
7535
7c209481
GJL
75362011-11-15 Georg-Johann Lay <avr@gjlay.de>
7537
7538 PR target/49868
7539 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
7540 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
7541
9dfd5832
JDA
75422011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
7543
7544 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
7545 tmake_file list.
7546 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
7547 * config/pa/t-stublib64: Delete.
7548
f77dca5d
RH
75492011-11-12 Richard Henderson <rth@redhat.com>
7550
7551 * config/rs6000/linux-unwind.h (frob_update_context): Properly
7552 cast the pointer argument to _Unwind_SetGRPtr.
7553
902828f0
RO
75542011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7555
7556 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
7557
e14304ef
ILT
75582011-11-09 Ian Lance Taylor <iant@google.com>
7559
7560 * generic-morestack.c: Include <string.h>.
7561 (uintptr_type): Define.
7562 (struct initial_sp): Add dont_block_signals field. Reduce size of
7563 extra array by 1.
7564 (allocate_segment): Set prev field to NULL. Don't set
7565 __morestack_current_segment or __morestack_segments.
7566 (__generic_morestack): Update current->prev and *pp after calling
7567 allocate_segment.
7568 (__morestack_block_signals): Don't do anything if
7569 dont_block_signals is set.
7570 (__morestack_unblock_signals): Likewise.
7571 (__generic_findstack): Check for initial_sp == NULL. Add casts to
7572 uintptr_type.
7573 (__splitstack_block_signals): New function.
7574 (enum __splitstack_content_offsets): Define.
7575 (__splitstack_getcontext, __splitstack_setcontext): New functions.
7576 (__splitstack_makecontext): New function.
7577 (__splitstack_block_signals_context): New function.
7578 (__splitstack_find_context): New function.
7579 * config/i386/morestack.S (__morestack_get_guard): New function.
7580 (__morestack_set_guard, __morestack_make_guard): New functions.
7581 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
7582
e3d871e4
RO
75832011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7584
7585 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
7586 (i[34567]86-*-mingw*): ... here.
7587 (x86_64-*-mingw*): ... here.
7588
e55cef40
RO
75892011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7590
7591 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
7592
5366b186
NS
75932011-11-07 Nathan Sidwell <nathan@acm.org>
7594
7595 * libgcov.c (struct gcov_fn_buffer): New struct.
7596 (buffer_fn_data): New helper.
7597 (gcov_exit): Rework for new gcov data structures.
7598
74155a6f
GJL
75992011-11-07 Georg-Johann Lay <avr@gjlay.de>
7600
7601 PR target/49313
7602 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
7603
200feb07
RO
76042011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7605
7606 * config.host (tmake_file): Correct comment.
7607 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
7608 t-libgcc-pic.
7609 (bfin*-uclinux*): Likewise.
7610 (bfin*-linux-uclibc*): Likewise.
7611 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
7612
7613 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
7614 assigning.
7615 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7616 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
7617 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7618 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
7619 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7620 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
7621 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
7622 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7623 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
7624 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
7625 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
7626 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
7627 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
7628
7629 * config/bfin/t-elf: Remove.
7630 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
7631
c9cd1a07
RO
76322011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7633
7634 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
7635 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
7636 (lm32-*-elf*, lm32-*-rtems*): Split into ...
7637 (lm32-*-elf*): ... this.
7638 (lm32-*-rtems*): ... and this.
7639 Add to tmake_file.
7640 (m32r-*-rtems*): Add to tmake_file.
7641 (moxie-*-rtems*): Likewise.
7642 (sparc-*-rtems*): Likewise.
7643 Remove t-rtems from tmake_file.
7644 (sparc64-*-rtems*): Likewise.
7645 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
7646 instead.
7647
9fbcc75d
RO
76482011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7649
7650 PR bootstrap/50982
7651 * config/gthr-posix.h: Move ...
7652 * gthr-posix.h: ... here.
7653 * config/gthr-lynx.h: Reflect this.
7654 * config/gthr-vxworks.h: Likewise.
7655 * config/rs6000/gthr-aix.h: Likewise.
7656 * configure.ac (target_thread_file): Likewise.
7657 * configure: Regenerate.
7658
76644b68
SH
76592011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
7660
7661 * config.host (arm*-*-rtemseabi*): New target.
7662
5e490f2a
JDA
76632011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
7664
7665 PR other/50991
7666 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
7667 extra-parts.
7668
feeeff5c
JR
76692011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
7670
7671 * config.host (epiphany-*-elf*): New configuration.
7672 * config/epiphany: New Directory.
7673
d618bb2c
RC
76742011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
7675
7676 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
7677 * config/avr/t-rtems: New.
7678 Filter out _exit from LIB1ASMFUNCS.
7679
1bb6f778
DM
76802011-11-04 David S. Miller <davem@davemloft.net>
7681
7682 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
7683 * configure: Rebuild.
7684
9a7f7422
AK
76852011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7686
7687 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
7688 variable.
7689
e4fe948a
GJL
76902011-11-04 Georg-Johann Lay <avr@gjlay.de>
7691
7692 PR target/50931
7693 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
7694 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
7695
7084e037
JS
76962011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
7697
7698 PR target/50989
7699 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
7700
1a032034
RO
77012011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7702
7703 * config/c6x/t-elf (LIB2ADDEH): Set.
7704 * config/c6x/t-c6x-elf: Remove.
7705
d385f772
RO
77062011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7707
7708 * config/i386/sol2-ci.S: Rename to ...
7709 * config/i386/crti.S: ... this.
7710 * config/i386/sol2-cn.S: Rename to ...
7711 * config/i386/crtn.S: ... this.
7712 * config/sparc/sol2-ci.S: Rename to ...
7713 * config/sparc/crti.S: ... this.
7714 * config/sparc/sol2-cn.S: Rename to ...
7715 * config/sparc/crtn.S: ... this.
7716 * config/t-sol2 (CUSTOM_CRTIN): Remove.
7717 (crti.o, crtn.o): Remove.
7718
1ba878a9
TG
77192011-11-04 Tristan Gingold <gingold@adacore.com>
7720
7721 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
7722
02750c15
KK
77232011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
7724
7725 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
7726
bf86b067
HPN
77272011-11-03 Hans-Peter Nilsson <hp@axis.com>
7728
7729 * config.host (crisv32-*-none, cris-*-none): Remove.
7730 (crisv32-*-elf): Append to tmake_file, don't just set it.
7731 (cris-*-elf): Add missing t-fdpbit to tmake_file.
7732
d0bc53bd
RO
77332011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7734
7735 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
7736 (ecrtn$(objext)): Likewise.
7737 (ncrti$(objext)): Likewise.
7738 (ncrtn$(objext)): Likewise.
7739
036da830
AS
77402011-11-03 Andreas Schwab <schwab@redhat.com>
7741
7742 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
7743
d2a7d041
DM
77442011-11-02 David S. Miller <davem@davemloft.net>
7745
7746 * configure.ac: Set host_address on sparc too.
7747 * configure: Regenerate.
7748 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
7749 based upon host_address.
7750 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
7751
af8ed618
JM
77522011-11-02 Jason Merrill <jason@redhat.com>
7753
7754 * config/rs6000/t-ppccomm: Add missing \.
7755
5d1c8e77
RO
77562011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7757
7758 * gthr-single.h, gthr.h: New files.
7759 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
7760 config/gthr-vxworks.h, config/i386/gthr-win32.h,
7761 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
7762 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
7763 * config/i386/gthr-win32.c: Include "gthr-win32.h".
7764 * configure.ac (thread_header): New variable.
7765 Set it depending on target_thread_file.
7766 (gthr-default.h): Link from $thread_header.
7767 * configure: Regenerate.
7768 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
7769
852b75ed
RO
77702011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7771
7772 * configure.ac (tm_file_): New variable.
7773 Determine from tm_file.
7774 (tm_file, tm_defines): Substitute.
7775 * configure: Regenerate.
7776 * mkheader.sh: New file.
7777 * Makefile.in (clean): Remove libgcc_tm.h.
7778 ($(objects)): Depend on libgcc_tm.h.
7779 (libgcc_tm_defines, libgcc_tm_file): New variables.
7780 (libgcc_tm.h, libgcc_tm.stamp): New targets.
7781 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
7782 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
7783 ($(extra-parts)): Depend on libgcc_tm.h.
7784 * config.host (tm_defines, tm_file): New variable.
7785 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
7786 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
7787 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
7788 (avr-*-rtems*): Likewise.
7789 (avr-*-*): Likewise.
7790 (frv-*-elf): Likewise.
7791 (frv-*-*linux*): Likewise.
7792 (h8300-*-rtems*): Likewise.
7793 (h8300-*-elf*): Likewise.
7794 (i[34567]86-*-darwin*): Likewise.
7795 (x86_64-*-darwin*): Likewise.
7796 (rx-*-elf): Likewise.
7797 (tic6x-*-uclinux): Likewise.
7798 (tic6x-*-elf): Likewise.
7799 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
7800 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
7801 * config/i386/cygming-crtbegin.c: Likewise.
7802 * config/i386/cygming-crtend.c: Likewise.
7803 * config/ia64/fde-vms.c: Likewise.
7804 * config/ia64/unwind-ia64.c: Likewise.
7805 * config/libbid/bid_gcc_intrinsics.h: Likewise.
7806 * config/rs6000/darwin-fallback.c: Likewise.
7807 * config/stormy16/lib2funcs.c: Likewise.
7808 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
7809 * crtstuff.c: Likewise.
7810 * dfp-bit.h: Likewise.
7811 * emutls.c: Likewise.
7812 * fixed-bit.c: Likewise.
7813 * fp-bit.c: Likewise.
7814 * generic-morestack-thread.c: Likewise.
7815 * generic-morestack.c: Likewise.
7816 * libgcc2.c: Likewise.
7817 * libgcov.c: Likewise.
7818 * unwind-dw2-fde-dip.c: Likewise.
7819 * unwind-dw2-fde.c: Likewise.
7820 * unwind-dw2.c: Likewise.
7821 * unwind-sjlj.c: Likewise.
7822
f9989b51
RO
78232011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7824
7825 * configure.ac: Include ../config/picflag.m4.
7826 (GCC_PICFLAG): Call it.
7827 Substitute.
7828 * configure: Regenerate.
7829 * Makefile.in (gcc_srcdir): Remove.
7830 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
7831 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
7832 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
7833 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
7834 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
7835 Use $<.
7836 Remove comment.
7837 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
7838 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
7839 to refer to libgcc2.c.
7840 Use $<.
7841 * config/darwin-64.c: New file.
7842 * config/darwin-crt3.c: Remove comment.
7843 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
7844 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
7845 config/udivmodsi4.c: New files.
7846 * config/memcmp.c, config/memcpy.c, config/memmove.c,
7847 config/memset.c: New files.
7848 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
7849 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
7850 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
7851 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
7852 * config/t-openbsd-thread: New file.
7853 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
7854 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
7855 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
7856 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
7857 qrnnd.S.
7858 Adapt filename.
7859 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
7860 to refer to gthr-posix.c.
7861 * config/alpha/t-vms (LIB2ADD): Set.
7862 * config/alpha/vms-gcc_shell_handler.c: New file.
7863 * config/arm/bpabi.c, config/arm/fp16.c,
7864 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
7865 config/arm/unaligned-funcs.c: New files.
7866 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
7867 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
7868 * config/arm/t-linux: Likewise.
7869 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
7870 * config/arm/t-netbsd: New file.
7871 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
7872 * config/arm/t-symbian (LIB2ADD_ST): Set.
7873 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
7874 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7875 * config/bfin/t-elf: New file.
7876 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
7877 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
7878 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
7879 config/c6x/ltf.c: New files.
7880 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
7881 (HOST_LIBGCC2_CFLAGS): Set.
7882 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
7883 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7884 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
7885 New files.
7886 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
7887 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
7888 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
7889 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
7890 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
7891 files.
7892 * config/frv/t-frv (LIB2ADD): Set.
7893 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7894 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
7895 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
7896 config/h8300/popcounthi2.c: New files.
7897 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
7898 * config/i386/gthr-win32.c: New file.
7899 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
7900 * config/i386/t-cygwin: Likewise.
7901 * config/i386/t-darwin, config/i386/t-darwin64,
7902 config/i386/t-gthr-win32, config/i386/t-interix: New files.
7903 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
7904 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7905 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7906 * config/ia64/quadlib.c: New file.
7907 * config/ia64/t-hpux (LIB2ADD): Set.
7908 * config/ia64/t-ia64: Add comment.
7909 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
7910 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7911 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
7912 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
7913 * config/m32c/t-m32c (LIB2ADD): Set.
7914 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
7915 * config/m32r/t-m32r: Likewise.
7916 * config/m68k/fpgnulib.c: New file.
7917 * config/m68k/t-floatlib (LIB2ADD): Set.
7918 (xfgnulib.c): New target.
7919 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
7920 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
7921 * config/mep/t-mep (LIB2ADD): Set.
7922 * config/microblaze/divsi3.asm: Rename to divsi3.S.
7923 * config/microblaze/moddi3.asm: Rename to moddi3.S.
7924 * config/microblaze/modsi3.asm: Rename to modsi3.S.
7925 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
7926 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
7927 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
7928 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
7929 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
7930 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
7931 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
7932 New files.
7933 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
7934 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
7935 * config/pa/fptr.c, config/pa/lib2funcs.S,
7936 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
7937 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
7938 (LIB2ADD, LIB2ADD_ST): Set.
7939 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
7940 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
7941 Set.
7942 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
7943 * config/pdp11/t-pdp11: New file.
7944 * config/picochip/libgccExtras/adddi3.S,
7945 config/picochip/libgccExtras/ashlsi3.S,
7946 config/picochip/libgccExtras/ashrsi3.S,
7947 config/picochip/libgccExtras/clzsi2.S,
7948 config/picochip/libgccExtras/cmpsi2.S,
7949 config/picochip/libgccExtras/divmod15.S,
7950 config/picochip/libgccExtras/divmodhi4.S,
7951 config/picochip/libgccExtras/divmodsi4.S,
7952 config/picochip/libgccExtras/lshrsi3.S,
7953 config/picochip/libgccExtras/parityhi2.S,
7954 config/picochip/libgccExtras/popcounthi2.S,
7955 config/picochip/libgccExtras/subdi3.S,
7956 config/picochip/libgccExtras/ucmpsi2.S,
7957 config/picochip/libgccExtras/udivmodhi4.S,
7958 config/picochip/libgccExtras/udivmodsi4.S: New files.
7959 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
7960 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
7961 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
7962 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
7963 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
7964 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
7965 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
7966 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
7967 files.
7968 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
7969 (HOST_LIBGCC2_CFLAGS): Set.
7970 * config/rs6000/t-darwin64: New file.
7971 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
7972 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
7973 * config/rs6000/t-ppccomm (LIB2ADD): Add
7974 $(srcdir)/config/rs6000/tramp.S.
7975 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
7976 Add $(srcdir)/config/rs6000/eabi.S.
7977 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
7978 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
7979 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
7980 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
7981 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
7982 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
7983 * config/rs6000/tramp.S: New file.
7984 * config/s390/t-tpf: Remove.
7985 * config/sh/linux-atomic.S: New file.
7986 * config/sh/t-linux (LIB2ADD): Set.
7987 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
7988 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
7989 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
7990 to unwind-dw2.c.
7991 (HOST_LIBGCC2_CFLAGS): Set.
7992 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7993 * config/spu/divmodti4.c, config/spu/divv2df3.c,
7994 config/spu/float_disf.c, config/spu/float_unsdidf.c,
7995 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
7996 config/spu/mfc_multi_tag_release.c,
7997 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
7998 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
7999 config/spu/multi3.c: New files.
8000 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
8001 (HOST_LIBGCC2_CFLAGS): Set.
8002 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
8003 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
8004 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
8005 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
8006 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
8007 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
8008 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
8009 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
8010 config/stormy16/umodsi3.c: New files.
8011 * config/xtensa/lib2funcs.S: New file.
8012 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
8013 * config/xtensa/t-xtensa (LIB2ADD): Set.
8014 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
8015 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
8016 Add t-freebsd-thread to tmake_file for posix threads.
8017 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
8018 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
8019 (*-*-lynxos*): Likewise.
8020 (*-*-netbsd*): Likewise.
8021 (*-*-openbsd*): Likewise.
8022 Add t-openbsd-thread to tmake_file for posix threads.
8023 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
8024 (*-*-vxworks*): Set tmake_file.
8025 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
8026 (alpha*-*-freebsd*): Likewise.
8027 (alpha*-*-netbsd*): Likewise.
8028 (alpha*-*-openbsd*): Likewise.
8029 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
8030 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
8031 (alpha*-dec-*vms*): Likewise.
8032 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
8033 (bfin*-elf*): Add bfin/t-elf to tmake_file.
8034 (bfin*-uclinux*): Likewise.
8035 (bfin*-linux-uclibc*): Likewise.
8036 (crisv32-*-elf): Add cris/t-cris to tmake_file.
8037 (crisv32-*-none): Likewise.
8038 (cris-*-elf): Likewise.
8039 (cris-*-none): Likewise.
8040 (cris-*-linux*, crisv32-*-linux*): Likewise.
8041 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
8042 tmake_file.
8043 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
8044 tmake_file.
8045 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
8046 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
8047 (x86_64-*-elf*): Likewise.
8048 (i[34567]86-*-nto-qnx*): Likewise.
8049 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
8050 win32 threads.
8051 (x86_64-*-mingw*): Likewise.
8052 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
8053 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
8054 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
8055 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
8056 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
8057 tmake_file.
8058 (mipsisa64sr71k-*-elf*): Likewise.
8059 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
8060 (mips-*-elf*, mipsel-*-elf*): Likewise.
8061 (mips64-*-elf*, mips64el-*-elf*): Likewise.
8062 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
8063 (mips*-*-rtems*): Likewise.
8064 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
8065 to tmake_file.
8066 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
8067 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
8068 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
8069 (spu-*-elf*): Likewise.
8070 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
8071
45b86625
RO
80722011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8073
8074 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
8075 $(srcdir) to refer to $(LIB1ASMSRC).
8076 Use $<.
8077 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
8078 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
8079 config/arm/lib1funcs.S: New files.
8080 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
8081 * config/arm/t-arm: New file.
8082 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
8083 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
8084 config/arm/t-strongarm-elf: New files.
8085 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
8086 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
8087 * config/avr/lib1funcs.S: New file.
8088 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8089 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
8090 * config/c6x/lib1funcs.S: New file.
8091 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8092 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
8093 * config/frv/lib1funcs.S: New file.
8094 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8095 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
8096 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
8097 * config/ia64/__divxf3.asm: Rename to ...
8098 * config/ia64/__divxf3.S: ... this.
8099 Adapt lib1funcs.asm filename.
8100 * config/ia64/_fixtfdi.asm: Rename to ...
8101 * config/ia64/_fixtfdi.S: ... this.
8102 Adapt lib1funcs.asm filename.
8103 * config/ia64/_fixunstfdi.asm: Rename to ...
8104 * config/ia64/_fixunstfdi.S: ... this.
8105 Adapt lib1funcs.asm filename.
8106 * config/ia64/_floatditf.asm: Rename to ...
8107 * config/ia64/_floatditf.S: ... this.
8108 Adapt lib1funcs.asm filename.
8109 * config/ia64/lib1funcs.S: New file.
8110 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
8111 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8112 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
8113 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
8114 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
8115 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
8116 * config/mep/lib1funcs.S: New file.
8117 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8118 * config/mips/mips16.S: New file.
8119 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8120 * config/pa/milli64.S: New file.
8121 * config/pa/t-linux, config/pa/t-linux64: New files.
8122 * config/picochip/lib1funcs.S: New file.
8123 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8124 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
8125 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
8126 * config/sh/t-netbsd: New file.
8127 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
8128 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
8129 * config/sh/t-sh64: New file.
8130 * config/sparc/lb1spc.S: New file.
8131 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
8132 filename.
8133 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
8134 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
8135 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
8136 config/xtensa/lib1funcs.S: New files.
8137 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8138 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
8139 tmake_file.
8140 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
8141 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
8142 (arm*-*-linux*): Likewise.
8143 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
8144 arm*-*-linux-*eabi, add arm/t-linux otherwise.
8145 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
8146 (arm*-*-ecos-elf): Likewise.
8147 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
8148 (arm*-*-rtems*): Likewise.
8149 (arm*-*-elf): Likewise.
8150 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
8151 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
8152 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
8153 (bfin*-uclinux*): Likewise.
8154 (bfin*-linux-uclibc*): Likewise.
8155 (bfin*-rtems*): Likewise.
8156 (bfin*-*): Likewise.
8157 (fido-*-elf): Merge into m68k-*-elf*.
8158 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
8159 (frv-*-*linux*): Add frv/t-frv to tmake_file.
8160 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
8161 (h8300-*-elf*): Likewise.
8162 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
8163 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
8164 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
8165 (i[34567]86-*-mingw*): Likewise.
8166 (x86_64-*-mingw*): Likewise.
8167 (i[34567]86-*-interix3*): Likewise.
8168 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
8169 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
8170 (m68k-*-elf*): Also handle fido-*-elf.
8171 Add m68k/t-floatlib to tmake_file.
8172 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
8173 (m68k-*-linux*): Likewise.
8174 (m68k-*-rtems*): Likewise.
8175 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
8176 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
8177 sh64*-*-*.
8178 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
8179 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
8180 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
8181 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
8182 sh/t-netbsd to tmake_file.
8183 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
8184 (sh-*-rtems*): Add sh/t-sh to tmake_file.
8185 (sh-wrs-vxworks): Likewise.
8186 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
8187 *-leon[3-9]*.
8188 (v850*-*-*): Add v850/t-v850 to tmake_file.
8189 (vax-*-linux*): Add vax/t-linux to tmake_file.
8190 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
8191
5f73c6cc
RO
81922011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8193
8194 * crtstuff.c: New file.
8195 * Makefile.in (CRTSTUFF_CFLAGS): Define.
8196 (CRTSTUFF_T_CFLAGS): Define.
8197 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
8198 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
8199 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
8200 crtstuff.c.
8201 Use $<.
8202 (crtbeginT.o): Use $(objext).
8203 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
8204 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
8205 (gcc-extra-parts): Remove.
8206 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
8207 Set extra_parts.
8208 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
8209 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
8210 Add t-crtstuff-pic to tmake_file.
8211 (*-*-lynxos*): New case.
8212 Set tmake_file, extra_parts.
8213 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
8214 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
8215 *-*-netbsdelf[2-9]*.
8216 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
8217 (*-*-rtems*): Set extra_parts.
8218 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
8219 (*-*-uclinux*): New case.
8220 Set extra_parts.
8221 (*-*-vms*): New case.
8222 Set tmake_file, extra_parts.
8223 (*-*-elf): Set extra_parts.
8224 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
8225 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
8226 vms/t-vms64.
8227 Set extra_parts.
8228 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
8229 Set extra_parts.
8230 (arm*-*-freebsd*): Add t-crtin to tmake_file.
8231 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
8232 (arm-wrs-vxworks): Append to tmake_file.
8233 Set extra_parts.
8234 (arm*-*-uclinux*): Set extra_parts.
8235 (arm*-*-ecos-elf): Likewise.
8236 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
8237 arm*-*-eabi*.
8238 (arm*-*-rtems*): Set extra_parts.
8239 (arm*-*-elf): Likewise.
8240 (avr-*-rtems*): Clear extra_parts.
8241 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
8242 Set extra_parts.
8243 (bfin*-uclinux*): Likewise.
8244 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
8245 (bfin*-rtems*): Append to tmake_file.
8246 Set extra_parts.
8247 (bfin*-*): Likewise.
8248 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
8249 (crisv32-*-elf): ... this.
8250 (crisv32-*-none): ... this.
8251 (cris-*-elf, cris-*-none): New cases.
8252 Add cris/t-elfmulti to tmake_file.
8253 (fr30-*-elf): Append to tmake_file.
8254 Set extra_parts.
8255 (frv-*-elf): Append to tmake_file, add frv/t-frv.
8256 Set extra_parts.
8257 (h8300-*-rtems*): Append to tmake_file.
8258 Set extra_parts.
8259 (h8300-*-elf*): Likewise.
8260 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
8261 Set extra_parts.
8262 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
8263 Set extra_parts.
8264 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
8265 (x86_64-*-elf*): Likewise.
8266 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
8267 (x86_64-*-freebsd*): Likewise.
8268 (x86_64-*-netbsd*): Likewise.
8269 (i[34567]86-*-linux*): Likewise.
8270 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
8271 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
8272 (x86_64-*-linux*): Likewise.
8273 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
8274 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
8275 tmake_file.
8276 Set extra_parts.
8277 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
8278 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
8279 Append to extra_parts, remove crtbegin.o, crtend.o.
8280 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
8281 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
8282 crtend.o, crtbeginS.o, crtendS.o.
8283 (ia64*-*-linux*): Comment extra_parts.
8284 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
8285 Set extra_parts.
8286 (iq2000*-*-elf*): Clear extra_parts.
8287 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
8288 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
8289 (m32r-*-elf*, m32r-*-rtems*): Split off ...
8290 (m32r-*-rtems*): ... this.
8291 Add m32r/t-m32r to tmake_file.
8292 (m68k-*-elf*): Add t-crtin to tmake_file.
8293 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
8294 (mcore-*-elf): Likewise.
8295 (microblaze*-*-*): Set extra_parts.
8296 (mips*-sde-elf*): New case.
8297 Set tmake_file, extra_parts.
8298 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
8299 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
8300 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
8301 tmake_file.
8302 Set extra_parts.
8303 (mipsisa64sr71k-*-elf*): Likewise.
8304 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
8305 (mips-*-elf*, mipsel-*-elf*): Likewise.
8306 (mips64-*-elf*, mips64el-*-elf*): Likewise.
8307 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
8308 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
8309 (mips*-*-rtems*): Likewise.
8310 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
8311 (moxie-*-*): Split into ...
8312 (moxie-*-elf, moxie-*-uclinux*): ... this.
8313 Add to extra_parts, remove crtbegin.o, crtend.o.
8314 (moxie-*-rtems*): New case.
8315 Set tmake_file.
8316 Clear extra_parts.
8317 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
8318 Set extra_parts.
8319 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
8320 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
8321 tmake_file.
8322 Set extra_parts.
8323 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
8324 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
8325 Set extra_parts.
8326 (powerpc-*-eabisim*): Likewise.
8327 (powerpc-*-elf*): Likewise.
8328 (powerpc-*-eabialtivec*): Likewise.
8329 (powerpc-xilinx-eabi*): Likewise.
8330 (powerpc-*-eabi*): Likewise.
8331 (powerpc-*-rtems*): Likewise.
8332 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
8333 tmake_file.
8334 Set extra_parts.
8335 (powerpc-*-lynxos*): Add to tmake_file.
8336 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
8337 rs6000/t-crtstuff, t-crtstuff-pic.
8338 Set extra_parts.
8339 (powerpcle-*-eabisim*): Likewise.
8340 (powerpcle-*-eabi*): Likewise.
8341 (rx-*-elf): Remove extra_parts.
8342 (s390x-ibm-tpf*): Set extra_parts.
8343 (score-*-elf): Set extra_parts.
8344 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
8345 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
8346 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
8347 (sh64l*-*-netbsd*): Split into ...
8348 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
8349 Add t-crtstuff-pic to tmake_file.
8350 Set extra_parts.
8351 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
8352 Set extra_parts.
8353 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
8354 (sparc-*-elf*): Remove t-crtin from tmake_file.
8355 Add to extra_parts, remove crtbegin.o, crtend.o.
8356 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
8357 (sparc64-*-linux*): Likewise.
8358 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
8359 Add to extra_parts, remove crtbegin.o, crtend.o.
8360 (sparc64-*-elf*): Remove t-crtin from tmake_file.
8361 Add to extra_parts, remove crtbegin.o, crtend.o.
8362 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
8363 Add to extra_parts, remove crtbegin.o, crtend.o.
8364 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
8365 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
8366 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
8367 Set extra_parts.
8368 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
8369 Set extra_parts.
8370 (tic6x-*-*): Change to ...
8371 (tic6x-*-elf): ... this.
8372 Set extra_parts.
8373 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
8374 Set extra_parts.
8375 (am33_2.0-*-linux*): Add comment.
8376 (mep*-*-*): Add mep/t-mep to tmake_file.
8377 Set extra_parts.
8378 * config/alpha/t-vms: New file.
8379 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
8380 * config/arm/crti.S, config/arm/crtn.S: New files.
8381 * config/bfin/crti.S, config/bfin/crtn.S: New files.
8382 * config/bfin/crtlibid.S: New file.
8383 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
8384 * config/c6x/crti.S, config/c6x/crtn.S: New files.
8385 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
8386 (crti.o, crtin.o): New rules.
8387 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
8388 * config/c6x/t-uclinux: New file.
8389 * config/cris/t-elfmulti: New file.
8390 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
8391 * config/fr30/crti.S, config/fr30/crtn.S: New files.
8392 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
8393 * config/frv/t-frv: New file.
8394 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
8395 * config/h8300/crti.S, config/h8300/crtn.S: New files.
8396 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
8397 New files.
8398 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
8399 refer to cygming-crtbegin.c, cygming-crtend.c.
8400 Use $<.
8401 * config/i386/t-nto: New file.
8402 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
8403 * config/ia64/crti.S, config/ia64/crtn.S: New files.
8404 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
8405 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
8406 Use .S extension.
8407 Use $<.
8408 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
8409 (crtinitS.o): New rule.
8410 * config/ia64/vms-crtinit.S: New file.
8411 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
8412 * config/m32r/initfini.c: New file.
8413 * config/m32r/t-linux, config/m32r/t-m32r: New files.
8414 * config/m68k/crti.S, config/m68k/crtn.S: New files.
8415 * config/mcore/crti.S, config/mcore/crtn.S: New files.
8416 * config/mep/t-mep: New file.
8417 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
8418 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
8419 * config/mips/crti.S, config/mips/crtn.S: New files.
8420 * config/mips/t-crtstuff: New file.
8421 * config/mmix/crti.S, config/mmix/crtn.S: New files.
8422 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
8423 (CUSTOM_CRTIN): Set.
8424 ($(T)crti.o, $(T)crtn.o): Remove $(T),
8425 dependencies.
8426 Use $(srcdir) to refer to crti.S, crtn.S.
8427 Use .S extension, $<.
8428 * config/moxie/crti.asm: Rename to ...
8429 * config/moxie/crti.S: ... this.
8430 * config/moxie/crtn.asm: Rename to ...
8431 * config/moxie/crtn.S: ... this.
8432 * config/moxie/t-moxie: Remove.
8433 * config/pa/stublib.c: New file.
8434 * config/pa/t-stublib, config/pa/t-stublib64: New files.
8435 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
8436 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
8437 * config/rs6000/t-crtstuff: New file.
8438 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
8439 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
8440 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
8441 Make output file explicit.
8442 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
8443 Make output file explicit.
8444 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
8445 Make output file explicit.
8446 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
8447 Make output file explicit.
8448 * config/score/crti.S, config/score/crtn.S: New files.
8449 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
8450 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
8451 files.
8452 * config/sh/t-sh, config/sh/t-superh: New files.
8453 * config/sparc/t-linux64: New file.
8454 * config/spu/cache.S, config/spu/cachemgr.c: New files.
8455 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
8456 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
8457 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
8458 * config/t-crtin: Remove.
8459 * config/t-crtstuff-pic: New file.
8460 * config/t-sol2 (CUSTOM_CRTIN): Set.
8461 (crti.o, crtn.o): New rules.
8462 * config/vms/t-vms: New file.
8463 * config/vms/vms-ucrt0.c: New file.
8464 * config/xtensa/t-elf: New file.
8465
b040f2be
RO
84662011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8467
8468 * Makefile.in (SHLIB_NM_FLAGS): Set.
8469 * mkmap-flat.awk, mkmap-symver.awk: New files.
8470 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
8471 exceptions.
8472 * configure: Regenerate.
8473 * config/libgcc-glibc.ver: New file.
8474 * config/libgcc-libsystem.ver: New file.
8475 * config/t-libunwind (SHLIB_LC): Set.
8476 * config/t-linux: New file.
8477 * config/t-slibgcc (INSTALL_SHLIB): New.
8478 (SHLIB_INSTALL): Use it.
8479 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
8480 to mkmap-symver.awk.
8481 (SHLIB_MAPFILES): Don't append, adapt pathname.
8482 (SHLIB_VERPFX): Set.
8483 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
8484 to mkmap-symver.awk.
8485 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
8486 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
8487 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
8488 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
8489 to mkmap-flat.awk.
8490 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
8491 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
8492 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
8493 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
8494 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
8495 * config/i386/libgcc-darwin.10.4.ver,
8496 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
8497 New files.
8498 * config/i386/t-darwin: Remove.
8499 * config/i386/t-darwin64: Likewise.
8500 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
8501 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
8502 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
8503 * config/i386/t-linux: New file.
8504 * config/i386/t-mingw32: New file.
8505 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
8506 * config/ia64/t-glibc: Rename to ...
8507 * config/ia64/t-linux: ... this.
8508 (SHLIB_MAPFILES): Set.
8509 * config/ia64/t-glibc-libunwind: Rename to ...
8510 * config/ia64/t-linux-libunwind: ... this.
8511 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
8512 * config/ia64/t-slibgcc-hpux: New file.
8513 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
8514 * config/m68k/t-slibgcc-elf-ver: New file.
8515 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
8516 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
8517 to mkmap-flat.awk.
8518 * config/pa/t-slibgcc-hpux: New file.
8519 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
8520 files.
8521 * config/rs6000/libgcc-darwin.10.4.ver,
8522 config/rs6000/libgcc-darwin.10.5.ver: New files.
8523 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
8524 config/rs6000/libgcc-glibc.ver.
8525 * config/rs6000/libgcc-ppc64.ver: Rename to
8526 config/rs6000/libgcc-ibm-ldouble.ver.
8527 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
8528 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
8529 * config/rs6000/t-ldbl128: Rename to ...
8530 * config/rs6000/t-linux: ... this.
8531 (SHLIB_MAPFILES): Adapt filename.
8532 * config/rs6000/t-slibgcc-aix: New file.
8533 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
8534 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
8535 libgcc-excl.ver, libgcc-glibc.ver.
8536 (SHLIB_LINK, SHLIB_INSTALL): Remove.
8537 * config/sparc/libgcc-glibc.ver: New file.
8538 * config/sparc/t-linux: New file.
8539 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
8540 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
8541 t-slibgcc-elf-ver to tmake_file.
8542 Add t-slibgcc-nolc-override to tmake_file for posix threads on
8543 *-*-freebsd[34].
8544 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
8545 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
8546 t-slibgcc-elf-ver, t-linux to tmake_file.
8547 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
8548 tmake_file.
8549 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
8550 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
8551 (alpha*-dec-*vms*): Likewise.
8552 (arm*-*-freebsd*): Append to tmake_file.
8553 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
8554 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
8555 arm*-*-linux-*eabi.
8556 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
8557 tmake_file for arm*-*-symbianelf*.
8558 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
8559 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
8560 cris/t-linux.
8561 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
8562 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
8563 pa/t-slibgcc-dwarf-ver to tmake_file.
8564 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
8565 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
8566 (hppa*64*-*-hpux11*): Likewise.
8567 (hppa[12]*-*-hpux11*): Likewise.
8568 (x86_64-*-darwin*): Don't override tmake_file, but only keep
8569 i386/t-crtpc, i386/t-crtfm.
8570 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
8571 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
8572 to tmake_file.
8573 Add i386/t-cygwin to tmake_file.
8574 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
8575 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
8576 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
8577 to tmake_file.
8578 Add i386/t-mingw32 to tmake_file.
8579 (x86_64-*-mingw*): Likewise.
8580 (ia64*-*-freebsd*): Append to tmake_file.
8581 (ia64*-*-linux*): Append to tmake_file.
8582 Replace ia64/t-glibc by ia64/t-linux.
8583 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
8584 system libunwind.
8585 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
8586 t-slibgcc-hpux to tmake_file.
8587 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
8588 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
8589 (m32rle-*-linux*): Likewise.
8590 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
8591 sjlj exceptions.
8592 (microblaze*-linux*): New case.
8593 Append to tmake_file, add t-slibgcc-nolc-override.
8594 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
8595 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
8596 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
8597 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
8598 rs6000/t-slibgcc-aix to tmake_file.
8599 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8600 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8601 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
8602 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
8603 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
8604 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
8605 sh*-*-linux*.
8606 (sparc-*-linux*): Append to tmake_file for *-leon*.
8607 Add sparc/t-linux to tmake_file for non-Leon targets.
8608 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
8609 (tic6x-*-uclinux): New case.
8610 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
8611 (tic6x-*-*): Add c6x/t-elf to tmake_file.
8612 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
8613 (am33_2.0-*-linux*): Append to tmake_file.
8614 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
8615 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
8616 x86_64-*-kfreebsd*-gnu.
8617 Add i386/t-linux to tmake_file.
8618
18b4bd7b
ILT
86192011-10-28 Ian Lance Taylor <iant@google.com>
8620
8621 * config/i386/morestack.S: Correct CFI information to do proper
8622 returns throughout function. In 32-bit mode, save %ebx so that it
8623 is restored on unwind.
8624
5b2d9d90
BS
86252011-10-25 Bernd Schmidt <bernds@codesourcery.com>
8626
8627 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
8628 case where B3 isn't the return register.
8629
0d53e346
BS
8630 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
8631 logic for doubleword pops.
8632
cbffbd59
AT
86332011-10-25 Andreas Tobler <andreast@fgznet.ch>
8634
8635 * config/rs6000/t-freebsd: Add wildcard.
8636
56dc349e
PB
86372011-10-21 Paul Brook <paul@codesourcery.com>
8638
8639 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
8640
1e06b07d
UB
86412011-10-16 Uros Bizjak <ubizjak@gmail.com>
8642 Eric Botcazou <ebotcazou@adacore.com>
8643
8644 PR target/50737
8645 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
8646 fs->signal_frame to 1.
8647
b5204884
ILT
86482011-10-07 Ian Lance Taylor <iant@google.com>
8649
8650 * generic-morestack-thread.c: #include <errno.h>.
8651
91a639a1
ILT
86522011-10-07 Ian Lance Taylor <iant@google.com>
8653
8654 PR target/46093
8655 * generic-morestack.c (__generic_morestack): Make sure the segment
8656 is large enough for both the stack frame and the copied
8657 parameters.
8658
cc49116d
RO
86592011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8660
8661 PR bootstrap/49804
8662 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
8663 extra_parts.
8664
2996d8c3
NC
86652011-09-28 Nick Clifton <nickc@redhat.com>
8666
8667 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
8668 64-bit doubles are not enabled.
8669 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
8670 and floatunsisf functions.
8671
1e874273 86722011-09-13 Paul Brook <paul@codesourcery.com>
2996d8c3 8673
1e874273
PB
8674 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
8675 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
8676 * unwind-arm-common.inc: New file.
8677 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
8678 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
8679 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
8680 * config/c6x/libunwind.S: New file.
8681 * config/c6x/pr-support.c: New file.
8682 * config/c6x/unwind-c6x.c: New file.
8683 * config/c6x/unwind-c6x.h: New file.
8684 * config/c6x/t-c6x-elf: New file.
8685
f70c879a
UB
86862011-08-23 Uros Bizjak <ubizjak@gmail.com>
8687
8688 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
8689 (ASM_DIVZERO): Ditto.
8690 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
8691
c55b374b
RS
86922011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
8693
8694 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
8695
1e138510
RS
86962011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
8697
8698 PR target/50090
8699 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
8700 instead of an assembly one.
8701
1563503d
PB
87022011-08-12 Paolo Bonzini <bonzini@gnu.org>
8703
8704 PR bootstrap/50047
8705 * Makefile.in (install-unwind_h): Create
8706 $(gcc_objdir)/include/unwind.h atomically.
8707
3627ac1a
RO
87082011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8709
8710 * Makefile.in (install-unwind_h): Remove destination file first.
8711
c6412d86
RO
87122011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8713
8714 * sync.c: New file.
8715 * config/mips/t-mips16: New file.
8716 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
8717 (mips*-*-linux*): Likewise.
8718 (mips*-sde-elf*): Likewise.
8719 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
8720 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
8721 Add mips/t-mips16 to tmake_file.
8722 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
8723 (mips-*-elf*): Likewise.
8724 (mips64-*-elf*): Likewise.
8725 (mips64orion-*-elf*): Likewise.
8726 (mips*-*-rtems*): Likewise.
8727 (mipstx39-*-elf*): Likewise.
8728 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
8729 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
8730 LIBGCC_SYNC_CFLAGS.
8731 Use $(srcdir) to refer to sync.c.
8732 Use $<.
8733 ($(libgcc-sync-funcs-o)): Likewise.
8734 ($(libgcc-sync-size-funcs-s-o)): Likewise.
8735 ($(libgcc-sync-funcs-s-o)): Likewise.
8736
3cb6e5bd
AS
87372011-08-09 Andreas Schwab <schwab@linux-m68k.org>
8738
8739 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
8740 t-libunwind.
8741
cca2207a
L
87422011-08-08 H.J. Lu <hongjiu.lu@intel.com>
8743
8744 PR other/48007
8745 * config/i386/value-unwind.h: New.
8746
ed39fbad
RS
87472011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
8748
8749 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
8750 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
8751 Add to tmake_file rather than overriding it.
8752
aca0b0b3
RO
87532011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8754
8755 * config/t-softfp: Remove.
8756 * soft-fp: Moved from ../gcc/config.
8757 * soft-fp/README: Remove t-softfp reference.
8758 * soft-fp/t-softfp: Move to config/t-softfp.
8759 (softfp_machine_header): Remove.
8760 (softfp_file_list): Remove config subdir.
8761 (soft-fp-objects): New variable.
8762 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
8763 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
8764 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
8765 * config/t-softfp-excl: New file.
8766 * config/t-softfp-sfdf: New file.
8767 * config/t-softfp-tf: New file.
8768 * config/no-sfp-machine.h: New file.
8769 * config/arm/sfp-machine.h: New file.
8770 * config/arm/t-softfp: New file.
8771 * config/c6x/sfp-machine.h: New file.
8772 * config/i386/32/t-fprules-softfp: Rename to ...
8773 * config/i386/32/t-softfp: ... this.
8774 (tifunctions, LIB2ADD): Remove.
8775 (softfp_int_modes): Override.
8776 * config/i386/64/t-softfp-compat (tf-functions): Remove config
8777 subdir.
8778 * config/i386/64/eqtf2.c: Likewise.
8779 * config/i386/64/getf2.c: Likewise.
8780 * config/i386/64/letf2.c: Likewise.
8781 * config/ia64/sft-machine.h: New file.
8782 * config/ia64/t-fprules-softfp: Rename to ...
8783 * config/ia64/t-softfp: ... this.
8784 * config/lm32/sfp-machine.h: New file.
8785 * config/moxie/t-moxie-softfp: Remove.
8786 * config/rs6000/ibm-ldouble-format: New file.
8787 * config/rs6000/ibm-ldouble.c: New file.
8788 * config/rs6000/libgcc-ppc-glibc.ver: New file
8789 * config/rs6000/libgcc-ppc64.ver: New file
8790 * config/rs6000/sfp-machine.h: New file.
8791 * config/rs6000/t-freebsd: New file.
8792 * config/rs6000/t-ibm-ldouble: New file.
8793 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
8794 libgcc-ppc-glibc.ver.
8795 * config/rs6000/t-linux64: New file.
8796 * config/rs6000/t-ppccomm (LIB2ADD): Add
8797 $(srcdir)/config/rs6000/ibm-ldouble.c.
8798 * config/rs6000/t-ppccomm-ldbl: New file.
8799 * config/score/sfp-machine.h: New file.
8800 * config.host (sfp_machine_header): Explain.
8801 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
8802 t-softfp to tmake_file.
8803 (arm*-*-uclinux*): Likewise.
8804 (arm*-*-ecos-elf): Likewise.
8805 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
8806 (arm*-*-rtems*): Likewise.
8807 (arm*-*-elf): Likewise.
8808 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
8809 in tmake_file.
8810 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
8811 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
8812 (lm32-*-uclinux*): Likewise.
8813 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
8814 t-softfp-excl, t-softfp.
8815 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
8816 (powerpc64-*-darwin*): Likewise.
8817 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
8818 to tmake_file.
8819 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
8820 tmake_file.
8821 (powerpc-*-eabisim*): Likewise.
8822 (powerpc-*-elf*): Likewise.
8823 (powerpc-*-eabialtivec*): Likewise.
8824 (powerpc-xilinx-eabi*): Likewise.
8825 (powerpc-*-rtems*): Likewise.
8826 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
8827 t-softfp-excl, t-softfp to tmake_file.
8828 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
8829 rs6000/t-ppccomm-ldbl to tmake_file.
8830 (powerpcle-*-elf*): Likewise.
8831 (powerpcle-*-eabisim*): Likewise.
8832 (powerpcle-*-eabi*): Likewise.
8833 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
8834 rs6000/t-ibm-ldouble to tmake_file.
8835 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8836 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8837 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
8838 (tic6x-*-*): Likewise.
8839 (i[34567]86-*-darwin*, x86_64-*-darwin*,
8840 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
8841 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
8842 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
8843 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
8844 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
8845 t-softfp to tmake_file.
8846 * configure.ac (sfp_machine_header): Provide default if unset.
8847 Substitute.
8848 Link sfp-machine.h to config/$sfp_machine_header.
8849 * configure: Regenerate.
8850
569dc494
RO
88512011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8852
8853 * Makefile.in (double_type_size, long_double_type_size): Set.
8854 Remove $(fpbit-in-libgcc) support.
8855 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
8856 (fpbit-src): New variable.
8857 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
8858 Compile with -DFLOAT $(FPBIT_CFLAGS).
8859 Use $<.
8860 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
8861 Compile with $(FPBIT_CFLAGS).
8862 Use $<.
8863 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
8864 Compile with -DFLOAT $(TPBIT_CFLAGS).
8865 Use $<.
8866 * configure.ac (double_type_size, long_double_type_size):
8867 Determine and substitute.
8868 * configure: Regenerate.
8869 * fp-bit.c, fp-bit.h: New files.
8870 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
8871 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
8872 * config/mips/t-mips: New file.
8873 * config/mips/t-sdemtk: New file.
8874 * config/rs6000/ppc64-fp.c: New file.
8875 * config/rs6000/t-darwin (LIB2ADD): Add
8876 $(srcdir)/config/rs6000/ppc64-fp.c.
8877 * config/rs6000/t-ppc64-fp: New file.
8878 * config/rx/rx-lib.h: New file.
8879 * config/rx/t-rx (FPBIT): Set to true.
8880 ($(gcc_objdir)/fp-bit.c): Remove.
8881 (DPBIT): Set to true only with -m64bit-doubles.
8882 ($(gcc_objdir)/dp-bit.c): Remove.
8883 * config/sparc/t-softfp: Remove.
8884 * config/spu/t-elf: New file.
8885 * config/t-fdpbit, config/t-fpbit: New files.
8886 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
8887 (mips*-*-*): Likewise.
8888 (arm-wrs-vxworks): Likewise.
8889 (arm*-*-freebsd*): Likewise.
8890 (avr-*-rtems*): Add t-fpbit to tmake_file.
8891 (avr-*-*): Likewise.
8892 (bfin*-elf*): Add t-fdpbit to tmake_file.
8893 (bfin*-uclinux*): Likewise.
8894 (bfin*-linux-uclibc*): Likewise.
8895 (bfin*-rtems*): New case.
8896 Add t-fdpbit to tmake_file.
8897 (bfin*-*): Add t-fdpbit to tmake_file.
8898 (crisv32-*-elf): Likewise.
8899 (cris-*-linux*): Likewise.
8900 (fr30-*-elf): Likewise.
8901 (frv-*-elf, frv-*-*linux*): Likewise.
8902 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
8903 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
8904 (m32r-*-elf*): Likewise.
8905 (m32rle-*-elf*): Likewise.
8906 (m32r-*-linux*): Likewise.
8907 (m32rle-*-linux*): Likewise.
8908 (mcore-*-elf): Add t-fdpbit to tmake_file.
8909 (microblaze*-*-*): Likewise.
8910 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
8911 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
8912 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
8913 Fix typo.
8914 Add mips/t-tpbit to tmake-file.
8915 (mips*-*-linux*): Fix typo.
8916 (mips*-sde-elf*): New case
8917 Add mips/t-sdemtk unless using newlib.
8918 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
8919 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
8920 (mn10300-*-*): Likewise.
8921 (pdp11-*-*): Likewise.
8922 (picochip-*-*): Add t-fpbit to tmake_file.
8923 (powerpc-*-eabisimaltivec*): Likewise.
8924 (powerpc-*-eabisim*): Likewise.
8925 (powerpc-*-elf*): Likewise.
8926 (powerpc-*-eabialtivec*): Likewise.
8927 (powerpc-xilinx-eabi*): New case.
8928 Add t-fdpbit to tmake_file.
8929 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
8930 (powerpc-*-rtems*): Likewise.
8931 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
8932 tmake_file.
8933 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
8934 tmake_file.
8935 (powerpc-*-lynxos*): Likewise.
8936 (powerpcle-*-elf*): Likewise.
8937 (powerpcle-*-eabisim*): Likewise.
8938 (powerpcle-*-eabi*): Likewise.
8939 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
8940 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
8941 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8942 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8943 (rx-*-elf): Add t-fdpbit to tmake_file.
8944 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
8945 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
8946 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
8947 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
8948 sh*-*-netbsd*.
8949 (sh-*-rtems*): Add t-fdpbit to tmake_file.
8950 (sh-wrs-vxworks): Likewise.
8951 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
8952 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
8953 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
8954 (sparc64-*-rtems*): ... new case.
8955 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
8956 (spu-*-elf*): Likewise.
8957 Add spu/t-elf to tmake_file.
8958 (v850*-*-*): Add t-fdpbit to tmake_file.
8959 (xstormy16-*-elf): Likewise.
8960 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
8961 (mep*-*-*): Likewise.
8962
201cdb74
RO
89632011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8964
8965 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
8966 variables.
8967 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
8968 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
8969 (install-unwind_h): New target.
8970 (all): Depend on it.
8971 * config.host (unwind_header): New variable.
8972 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
8973 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
8974 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
8975 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
8976 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
8977 Set unwind_header.
8978 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
8979 Set unwind_header.
8980 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
8981 arm*-*-eabi*.
8982 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
8983 Set unwind_header.
8984 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
8985 (ia64*-*-freebsd*): Likewise.
8986 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
8987 tmake_file.
8988 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
8989 $with_system_libunwind.
8990 (ia64*-*-hpux*): Set tmake_file.
8991 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
8992 (picochip-*-*): Set tmake_file.
8993 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
8994 md_unwind_header.
8995 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8996 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8997 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
8998 (xtensa*-*-elf*): Set tmake_file.
8999 (xtensa*-*-linux*): Likewise.
9000 * configure.ac: Include ../config/unwind_ipinfo.m4.
9001 Call GCC_CHECK_UNWIND_GETIPINFO.
9002 Link unwind.h to $unwind_header.
9003 * configure: Regenerate.
9004 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
9005 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
9006 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
9007 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
9008 * config/unwind-dw2-fde-darwin.c: New file.
9009 * config/arm/libunwind.S, config/arm/pr-support.c,
9010 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
9011 config/arm/unwind-arm.h,: New files.
9012 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
9013 config/ia64/t-eh-ia64, config/ia64/t-glibc,
9014 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
9015 config/ia64/t-vms, config/ia64/unwind-ia64.c,
9016 config/ia64/unwind-ia64.h: New files.
9017 * config/picochip/t-picochip: New file.
9018 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
9019 files.
9020 * config/rs6000/t-darwin (LIB2ADDEH): Set.
9021 * config/s390/t-tpf (LIB2ADDEH): Remove.
9022 * config/t-darwin (LIB2ADDEH): Set.
9023 * config/t-eh-dw2-dip: New file.
9024 * config/t-libunwind, config/t-libunwind-elf: New files.
9025 * config/t-sol2 (LIB2ADDEH): Remove.
9026 * config/xtensa/t-xtensa: New file.
9027
40f2f11f
L
90282011-08-02 H.J. Lu <hongjiu.lu@intel.com>
9029
9030 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
9031 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
9032 long long to check rt_sigreturn syscall.
9033
bd15e32c
AM
90342011-08-02 Alan Modra <amodra@gmail.com>
9035
9036 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
9037 Restore for indirect call bcrtl from correct stack slot, and only
9038 if cfa+40 isn't valid.
9039
655b30bf
JB
90402011-08-01 Julian Brown <julian@codesourcery.com>
9041
9042 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
9043 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
9044 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
9045
247eb06f
JB
90462011-08-01 Julian Brown <julian@codesourcery.com>
9047
9048 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
9049 (libgcc-std.ver.in): Use above.
9050 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
9051 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
9052 throughout file.
9053 * config/t-fixedpoint-gnu-prefix: New file.
9054 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
9055 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
9056 instead of __PFX__.
9057
02a8fe00
L
90582011-07-28 H.J. Lu <hongjiu.lu@intel.com>
9059
9060 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
9061 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
9062 for x86-64. Properly check __x86_64__ and __LP64__.
9063
5fce9126
L
90642010-07-28 H.J. Lu <hongjiu.lu@intel.com>
9065
9066 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
9067 version.
9068 (_FP_WS_TYPE): Likewise.
9069 (_FP_I_TYPE): Likewise.
9070
2374a88a
AM
90712011-07-28 Alan Modra <amodra@gmail.com>
9072
9073 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
9074 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
9075 in a plt call stub. Do restore r2 if stopped on bctrl.
9076
e44dbbe1
RO
90772011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9078
9079 * config.host (i[3456x]86-*-netware*): Remove.
9080 * config/i386/netware-crt0.c, config/i386/t-nwld,
9081 config/i386/t-slibgcc-nwld: Remove.
9082
bcead286
BS
90832011-07-15 Bernd Schmidt <bernds@codesourcery.com>
9084
9085 * config.host: Handle tic6x-*-*.
9086 * config/c6x/c6x-abi.h: New file.
9087
b3fe1584
RO
90882011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9089
9090 * config/i386/crtprec.c: New file.
9091 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
9092 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
9093 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
9094 (x86_64-*-darwin*): Likewise.
9095 (i[34567]86-*-solaris2*: Likewise.
9096
35d8090d
RO
90972011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9098
9099 * config/alpha/crtfastmath.c: New file.
9100 * config/i386/crtfastmath.c: New file.
9101 * config/ia64/crtfastmath.c: New file.
9102 * config/mips/crtfastmath.c: New file.
9103 * config/sparc/crtfastmath.c: New file.
9104
9105 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
9106 crtfastmath.c.
9107 Add -frandom-seed=gcc-crtfastmath.
9108 * config/alpha/t-crtfm: Remove.
9109 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
9110 * config/ia64/t-ia64 (crtfastmath.o): Remove.
9111
9112 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
9113 (alpha*-dec-osf5.1*): Likewise.
9114 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
9115 Add crtfastmath.o to extra_parts.
9116 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
9117 Add crtfastmath.o to extra_parts.
9118 (x86_64-*-darwin*): Likewise.
9119 (x86_64-*-mingw*): Likewise.
9120 (ia64*-*-elf*): Add t-crtfm to tmake_file.
9121 (ia64*-*-freebsd*): Likewise.
9122 (ia64*-*-linux*): Likewise.
9123 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
9124 Add crtfastmath.o to extra_parts.
9125
e141542e
RO
91262011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9127
9128 * config/darwin-crt3.o: New file.
9129 * config/rs6000/darwin-crt2.c: New file.
9130 * config/t-darwin: New file.
9131 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
9132 (crt2.o): New rule.
9133 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
9134 (powerpc-*-darwin*): Add crt2.o to extra_parts.
9135 (powerpc64-*-darwin*): Likewise.
9136
2d1efe2d
RO
91372011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9138
9139 * config/i386/netware-crt0.c: New file.
9140 * config/i386/t-nwld: Rename to ...
9141 * config/i386/t-slibgcc-nwld: ... this.
9142 * config/i386/t-nwld: New file.
9143 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
9144 tmake_file.
9145 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
9146 extra_parts.
9147
4a8bb046
RO
91482011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9149
9150 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
9151 i386/t-crtstuff.
9152 * configure: Regenerate.
9153
2d8d5935
RO
91542011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9155
9156 * dfp-bit.c, dfp-bit.h: New files.
9157 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
9158 variables.
9159 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
9160 ($(d64pbit-o)): Likewise.
9161 ($(d128pbit-o)): Likewise.
9162 * config/t-dfprules: New file.
9163 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
9164 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
9165 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
9166 (x86_64-*-linux*): Likewise.
9167 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
9168 (i[34567]86-*-cygwin*): Likewise.
9169 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
9170 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
9171
2c50b2c3
RO
91722011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9173
9174 * Makfile.in (LIBGCOV): New variable.
9175 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
9176 * libgcov.c: New file.
9177
a039d7c2
RO
91782011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9179
9180 * fixed-bit.c, fixed-bit.h: New files.
9181 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
9182 refer to fixed-bit.c.
9183
1e4b2746
JM
91842011-07-07 Joseph Myers <joseph@codesourcery.com>
9185
9186 * config.host (*local*): Remove.
9187
fbdd5d87
RO
91882011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9189
9190 PR target/39150
9191 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
9192 like i?86-*-solaris2.1[0-9]*.
9193 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
9194 * configure.ac (i?86-*-solaris2*): Likewise.
9195 * configure: Regenerate.
9196
9e7714f4
TS
91972011-07-06 Thomas Schwinge <thomas@schwinge.name>
9198
9199 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
9200 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
9201 md_unwind_header by splitting out of...
9202 (i[34567]86-*-linux*): ... this.
9203 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
9204 Remove md_unwind_header by splitting out of...
9205 (x86_64-*-linux*): ... this.
9206
6dab9931
GJL
92072011-07-04 Georg-Johann Lay <avr@gjlay.de>
9208
9209 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
9210
4be46d19
NC
92112011-06-28 Nick Clifton <nickc@redhat.com>
9212
9213 * config.host: Recognize all V850 variants.
9214
1da9434b
UB
92152011-06-22 Uros Bizjak <ubizjak@gmail.com>
9216
9217 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
9218
e4d48a4d
RO
92192011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9220
9221 * shared-object.mk (c_flags-$o): Save c_flags.
9222 ($(base)$(objext)): Use it.
9223 ($(base)_s$(objext)): Likewise.
9224
3801c801
BS
92252011-06-21 Bernd Schmidt <bernds@codesourcery.com>
9226
9227 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
9228 * libgcc-std.ver.in (GCC_4.7.0): New section.
9229
0ad8bb3b 92302011-06-16 Georg-Johann Lay <avr@gjlay.de>
1da9434b 9231
0ad8bb3b
GJL
9232 PR target/49313
9233 PR target/29524
9234 * config/avr/t-avr: Fix line endings.
9235 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
9236 _parityXX2.
9237
ea963999
OH
92382011-06-14 Olivier Hainque <hainque@adacore.com>
9239 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9240
9241 * config/mips/irix6-unwind.h: New file.
9242 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
9243
b11b0904
EB
92442011-06-10 Eric Botcazou <ebotcazou@adacore.com>
9245
9246 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
9247 (sparc64_fallback_frame_state): Use it.
9248 (sparc64_frob_update_context): Further adjust context.
9249 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
9250 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
9251 * config/sparc/sol2-cn.S: Likewise.
9252
10e48e39
RO
92532011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9254
9255 * enable-execute-stack-empty.c: New file.
9256 * enable-execute-stack-mprotect.c: New file.
9257 * config/i386/enable-execute-stack-mingw32.c: New file.
9258 * config.host (enable_execute_stack): New variable.
9259 Select appropriate variants.
9260 * configure.ac: Link enable-execute-stack.c to
9261 $enable_execute_stack.
9262 * configure: Regenerate.
9263 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
9264 (lib2funcs): Remove _enable_execute_stack.
9265
10c4cabc
DM
92662011-06-09 David S. Miller <davem@davemloft.net>
9267 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9268
9269 * config.host (sparc-*-linux*): Correct md_unwind_header
9270 filename.
9271 (s390x-ibm-tpf*): Fix typo.
9272
aa4203e7
RO
92732011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9274
9275 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
9276 Add crtfastmath.o to extra_parts.
9277 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
9278 mips/t-crtfm.
9279 * config/mips/t-crtfm: Remove.
9280
0defd786
JDA
92812011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
9282
9283 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
9284
82f247af
KK
92852011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
9286
9287 * config.host (sh*-*-linux*): Fix typo.
9288
58cd1d70
RO
92892011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9290
9291 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
9292 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
9293 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
9294 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
9295 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
9296 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
9297 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
9298 Wrap in !__MINGW64__.
9299 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
9300 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
9301 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
9302 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
9303 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
9304 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
9305 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
9306 Wrap in !__LP64__.
9307 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
9308 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
9309 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
9310 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
9311 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
9312 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
9313 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
9314 * config/no-unwind.h: New file.
9315 * config.host (md_unwind_header): Document.
9316 Define.
9317 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
9318 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
9319 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
9320 hppa[12]*-*-hpux11*): Set md_unwind_header.
9321 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
9322 Set md_unwind_header.
9323 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
9324 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
9325 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
9326 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
9327 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
9328 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
9329 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
9330 md_unwind_header.
9331 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
9332 * configure: Regenerate.
9333
737346fa
RO
93342011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9335
9336 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
9337 Set tmake_file, extra_parts.
9338 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
9339 Remove O32 support.
9340 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
9341 Remove O32 support.
9342 * config/mips/t-irix6: New file.
9343 * config/mips/t-slibgcc-irix: New file.
9344
c192cee6
RO
93452011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9346
9347 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
9348 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
9349
ee33b5f0
RO
93502011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9351
9352 * configure.ac (target_thread_file): Determine thread model.
9353 * configure: Regenerate.
9354 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
9355 * config/alpha/t-alpha: New file.
9356 * config/alpha/t-crtfm: Use $<.
9357 * config/alpha/t-ieee: New file.
9358 * config/alpha/t-osf-pthread: New file.
9359 * config/alpha/t-slibgcc-osf: New file.
9360 * config/alpha/libgcc-osf5.ver: New file.
9361
0699e415
RO
93622011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9363
9364 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
9365 tmake_file.
9366 Add crtfastmath.o to extra_parts.
9367
a3fab9c2
RO
93682011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9369
9370 * config/gmon-sol2.c: Reindent.
9371 Cleanup comments.
9372 Remove, correct casts.
9373 Use STDERR_FILENO, NULL.
9374 (BASEADDRESS): Remove.
9375 (minbrk): Remove.
9376 (errno, sbrk): Remove declarations.
9377 (monstartup) [hp300]: Remove.
9378 (mcount): Remove.
9379
ca24c5ad
RO
93802011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9381
9382 * Makefile.in (cpu_type): Define.
9383 * config.host (i[34567]86-*-rtems*): Handle it.
9384 (i[34567]86-*-solaris2*): Move body ...
9385 (*-*-solaris2*): ... here.
9386 New case, generalize.
9387 (sparc-*-elf*): Handle it.
9388 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
9389 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
9390 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
9391 Fold into ...
9392 (sparc*-*-solaris2*): ... this.
9393 New case.
9394 (sparc64-*-elf*): Handle it.
9395 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
9396 Merge ../gcc/config/i386/gmon-sol2.c.
9397 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
9398 Use C comments.
9399 Merge ../gcc/config/i386/sol2-gc1.asm.
9400 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
9401 Use C comments.
9402 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
9403 Use C comments.
9404 * config/i386/t-crtfm (crtfastmath.o): Use $<.
9405 * config/i386/t-crtstuff: New file.
9406 * config/i386/t-softfp: New file.
9407 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
9408 $(T)crti.o, $(T)crtn.o): Remove.
9409 (gcrt1.o): New rule.
9410 (TARGET_LIBGCC2_CFLAGS): Remove.
9411 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
9412 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
9413 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
9414 * config/sparc/t-sol2: New file.
9415 * config/sparc/t-crtfm: Move to ...
9416 * config/t-crtfm: ... this.
9417 Use $(cpu_type), $<.
9418 * config/t-crtin: New file.
9419 * config/sparc/t-softfp: New file.
9420 * config/sparc/t-softmul: New file.
9421 * config/t-rtems: New file.
9422 * config/t-slibgcc: New file.
9423 * config/t-slibgcc-elf-ver: New file.
9424 * config/t-slibgcc-gld: New file.
9425 * config/t-slibgcc-sld: New file.
9426 * config/t-sol2: New file.
9427 * configure.ac: Include ../config/lib-ld.m4.
9428 Call AC_LIB_PROG_LD_GNU.
9429 Substitute cpu_type.
9430 * configure: Regenerate.
9431
ad5f3d7b
BS
94322011-05-27 Bernd Schmidt <bernds@codesourcery.com>
9433
9434 PR bootstrap/49173
9435 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
9436 libgcc-std.ver in the build directory.
9437 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
9438 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
9439
cdbf4541
BS
94402011-05-25 Bernd Schmidt <bernds@codesourcery.com>
9441
9442 * libgcc-std.ver.in: New file.
9443 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
9444 variables.
9445 (libgcc-std.ver): New rule.
9446 * config/t-gnu-prefix: New file.
9447
c8028650
RO
94482011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9449
9450 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
9451
4a68b4ca
JM
94522011-05-10 Joseph Myers <joseph@codesourcery.com>
9453
9454 * config/i386/darwin-lib.h: New file.
9455
80cf2e08
JM
94562011-05-10 Joseph Myers <joseph@codesourcery.com>
9457
9458 * config/arm/symbian-lib.h: New.
9459
a3330c9d
CD
94602011-05-04 Chris Demetriou <cgd@google.com>
9461
9462 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
9463 (__x86.get_pc_thunk.bx): ...this.
9464 (__morestack): Adjust for rename, remove undef of __i686.
9465
6ace0756
CD
94662011-05-03 Chris Demetriou <cgd@google.com>
9467
9468 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
9469
ebb9f8b0
JM
94702011-03-22 Joseph Myers <joseph@codesourcery.com>
9471
9472 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
9473 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
9474 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
9475 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
9476 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
9477 Remove cases.
9478
9cfa1499
AT
94792011-03-14 Andreas Tobler <andreast@fgznet.ch>
9480
9481 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
9482 Adjust copyright year.
9483
457186f6
ILT
94842011-03-07 Ian Lance Taylor <iant@google.com>
9485
9486 * generic-morestack.c (__splitstack_find): Adjust returned stack
9487 pointer to include all registers pushed by __morestack.
9488
58c741a6
DK
94892011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
9490
9491 PR target/40125
9492 * configure.ac: Call ACX_NONCANONICAL_TARGET.
9493 (toolexecdir): Calculate and AC_SUBST.
9494 (toolexeclibdir): Likewise.
9495 * Makefile.in (target_noncanonical): Import.
9496 (toolexecdir): Likewise.
9497 (toolexeclibdir): Likewise.
9498 * configure: Regenerate.
9499
26716c44
NF
95002010-12-13 Nathan Froyd <froydnj@codesourcery.com>
9501
9502 PR target/46040
9503 * config/arm/bpabi.h: Rename to...
9504 * config/arm/bpabi-lib.h: ...this.
9505
b595b1a1
RO
95062010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9507
9508 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
9509 appropriate.
9510 * configure: Regenerate.
9511
a3abe41c
NF
95122010-11-24 Nathan Froyd <froydnj@codesourcery.com>
9513
9514 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
9515 __FLOAT_WORD_ORDER__.
9516 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
9517 Delete.
9518
455c8f48
RW
95192010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9520
9521 PR other/46202
9522 * Makefile.in (install-strip): New phony target.
9523
f3824a8b
ILT
95242010-11-07 Ian Lance Taylor <iant@google.com>
9525
9526 PR target/46089
9527 * config/i386/morestack.S (__morestack_large_model): New
9528 function.
9529
18ed6ee4
NF
95302010-10-23 Nathan Froyd <froydnj@codesourcery.com>
9531
9532 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
9533 Delete.
9534 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
9535
8ac7fdcb
NF
95362010-10-14 Nathan Froyd <froydnj@codesourcery.com>
9537
9538 * config/arm/bpabi.h: New file.
9539 * config/frv/frv-abi.h: New file.
9540
cdb388c2
ILT
95412010-10-01 Ian Lance Taylor <iant@google.com>
9542
9543 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
9544 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
9545
ef7c141c
L
95462010-10-01 H.J. Lu <hongjiu.lu@intel.com>
9547
9548 PR target/45858
9549 * config.host: Add the missing `$'.
9550
80920132
ME
95512010-09-30 Michael Eager <eager@eagercon.com>
9552
9553 * config.host: Add microblaze*-*-*.
9554 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
9555 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
9556 udivsi3.asm,umodsi3.asm}: New.
9557
6dace308
ILT
95582010-09-28 Ian Lance Taylor <iant@google.com>
9559
9560 * configure.ac: Adjust CFI test to test assembler directly rather
9561 than checking gcc preprocessor macro.
9562 * configure: Rebuild.
9563
b6110d6d
ILT
95642010-09-27 Ian Lance Taylor <iant@google.com>
9565
9566 * configure.ac: Test whether assembler supports CFI directives.
9567 * config.host: Only add t-stack and i386/t-stack-i386 to
9568 tmake_file if libgcc_cv_cfi is "yes".
9569 * configure: Rebuild.
9570
7458026b
ILT
95712010-09-27 Ian Lance Taylor <iant@google.com>
9572
9573 * generic-morestack.h: New file.
9574 * generic-morestack.c: New file.
9575 * generic-morestack-thread.c: New file.
9576 * config/i386/morestack.S: New file.
9577 * config/t-stack: New file.
9578 * config/i386/t-stack-i386: New file.
9579 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
9580 i386/t-stack-i386 to tmake_file.
9581
5b50fc0c
IS
95822010-09-21 Iain Sandoe <iains@gcc.gnu.org>
9583
9584 * Makefile.in (libgcc-extra-parts): Check for static archives and
9585 invoke ranlib after installing them.
9586 (gcc-extra-parts): Likewise.
9587 (install-leaf): Likewise.
9588
b93cf342
L
95892010-09-14 H.J. Lu <hongjiu.lu@intel.com>
9590
9591 * configure: Regenerated.
9592
996b42ef
KT
95932010-09-10 Kai Tietz <kai.tietz@onevision.com>
9594
b93cf342 9595 * configure: Regenerated.
996b42ef 9596
be1c764e
GP
95972010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
9598 Andrew Pinski <pinskia@gmail.com>
9599
1da9434b 9600 PR target/40959
be1c764e
GP
9601 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
9602
cc0ae0ca
L
96032010-09-06 H.J. Lu <hongjiu.lu@intel.com>
9604
9605 PR target/45524
9606 * configure: Regenerated.
9607
84f47d20
AS
96082010-09-06 Andreas Schwab <schwab@redhat.com>
9609
9610 * configure: Regenerate.
9611
4159fb8d
UB
96122010-09-03 Uros Bizjak <ubizjak@gmail.com>
9613
9614 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
9615 64bit targets.
9616 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
9617 for 64bit targets.
9618
0df8fcc8
UB
96192010-09-03 Uros Bizjak <ubizjak@gmail.com>
9620 Iain Sandoe <iains@gcc.gnu.org>
9621
9622 PR target/45476
9623 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
9624 LIB2FUNCS_EXCLUDE functions.
9625
3c39bca6
AK
96262010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9627
9628 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
9629 Include dfp.m4.
9630 * configure: Regenerate.
9631
d78552bd
UB
96322010-09-01 Uros Bizjak <ubizjak@gmail.com>
9633
9634 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
9635 i386/t-freebsd to tmake_file.
9636 * config/i386/t-freebsd: New file.
9637 * config/i386/libgcc-bsd.ver: New file.
9638
c5b79d4e
NF
96392010-07-23 Nathan Froyd <froydnj@codesourcery.com>
9640
9641 * config.host (powerpc*-eabispe*): Set tmake_file.
9642 (powerpc*-eabi*): Likewise.
9643 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
9644 crtbeginS, crtendS, crtbeginT.
9645
48b09a92
KH
96462010-06-12 Kazu Hirata <kazu@codesourcery.com>
9647
9648 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
9649 to tmake_file. Add crtfastmath.o to extra_parts.
9650 * config/mips/t-crtfm: New.
9651
7d296953 96522010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
a4389204
JS
9653
9654 * config.host (sparc64-*-rtems*): New target.
9655
ed104137
RO
96562010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9657
9658 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
9659 assembler syntax.
9660
3f56ef8b
TS
96612010-04-15 Thomas Schwinge <tschwinge@gnu.org>
9662
9663 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
9664
8c200350
RO
96652010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9666
9667 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
9668 alpha-dec-osf5.0* support.
9669
7d296953 96702010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
c1b14424
RC
9671
9672 * config.host: Add lm32-*-rtems*.
9673
f128db92 96742010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7d296953 9675 Uros Bizjak <ubizjak@gmail.com>
f128db92
RO
9676
9677 PR target/39048
9678 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
9679 like other remaining 32-bit x86 OSes.
9680 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
9681 assembler syntax.
9682 * config/i386/libgcc-sol2.ver: New file.
9683 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
9684
7d296953 96852010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
368fabd5
JH
9686
9687 PR c/43553
9688 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
9689 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
9690 is used and substitute set_use_emutls.
9691 * configure: Regenerated.
9692
15baf7f8
TG
96932010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
9694
9695 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
9696
7f5441df
RO
96972010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9698
9699 PR target/38085
9700 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
9701 MULTILIB_CFLAGS.
9702 ($(T)gcrt1.o): Likewise.
9703 ($(T)crt1.o): Likewise.
9704 ($(T)crti.o): Likewise.
9705 ($(T)crtn.o): Likewise.
9706
ef74edbd
RW
97072010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9708
9709 PR other/42980
9710 * Makefile.in (install): Use $(MAKE) string in rule, for
9711 parallel make.
9712
e7c914db
HPN
97132010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
9714
9715 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
9716 * config/mmix/t-mmix: New file.
9717 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
9718
1bcb71c4
JH
97192010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
9720
9721 PR java/41991
9722 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
9723 SHLIB_MAPFILES.
9724
e6e50811
AG
97252010-01-04 Anthony Green <green@moxielogic.com>
9726
9727 * config/moxie/crti.asm, config/moxie/crtn.asm,
9728 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
9729 config/moxie/t-moxie: New files.
9730 * config.host: Add t-moxie-softfp reference.
9731
7d296953 97322009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
ca8520ad
IS
9733
9734 PR other/39888
9735 * config/t-slibgcc-darwin: Fix embedded rpaths for
9736 --enable-version-specific-runtime-libs, build extension stub
9737 libs exposing features available from current libgcc_s.
9738
7d296953 97392009-11-11 Jon Beniston <jon@beniston.com>
aa4945c1 9740
d78552bd
UB
9741 * config.host: Add lm32 targets.
9742 * config/lm32: New directory.
9743 * config/lm32/libgcc_lm32.h: New file.
9744 * config/lm32/_mulsi3.c: New file.
9745 * config/lm32/_udivmodsi4.c: New file.
9746 * config/lm32/_divsi3.c: New file.
9747 * config/lm32/_modsi3.c: New file.
9748 * config/lm32/_udivsi3.c: New file.
9749 * config/lm32/_umodsi3.c: New file.
9750 * config/lm32/_lshrsi3.S: New file.
9751 * config/lm32/_ashrsi3.S: New file.
9752 * config/lm32/_ashlsi3.S: New file.
9753 * config/lm32/crti.S: New file.
9754 * config/lm32/crtn.S: New file.
9755 * config/lm32/t-lm32: New file.
9756 * config/lm32/t-elf: New file.
9757 * config/lm32/t-uclinux: New file.
aa4945c1 9758
65a324b4
NC
97592009-10-26 Nick Clifton <nickc@redhat.com>
9760
9761 * config.host: Add support for RX target.
9762 * config/rx: New directory.
9763 * config/rx/rx-abi-functions.c: New file. Supplementary
9764 functions for libgcc to support the RX ABI.
9765 * config/rx/rx-abi.h: New file. Supplementary header file for
9766 libgcc RX ABI functions.
9767 * config/rx/t-rx: New file: Makefile fragment for building
9768 libgcc for the RX.
9769
dfb3b0e3
UB
97702009-10-09 Uros Bizjak <ubizjak@gmail.com>
9771
9772 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
9773 constraint of y0 to "g".
9774
81dd9fd7
AK
97752009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9776
9777 * config.host: Include the s390 makefile fragments.
9778 * config/s390/32/_fixdfdi.c: New file.
9779 * config/s390/32/_fixsfdi.c: New file.
9780 * config/s390/32/_fixtfdi.c: New file.
9781 * config/s390/32/_fixunsdfdi.c: New file.
9782 * config/s390/32/_fixunssfdi.c: New file.
9783 * config/s390/32/_fixunstfdi.c: New file.
9784 * config/s390/32/t-floattodi: New file.
9785 * config/s390/libgcc-glibc.ver: New file.
9786 * config/s390/t-crtstuff: New file.
9787 * config/s390/t-linux: New file.
9788 * config/s390/t-tpf: New file.
9789
df58e648
RW
97902009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9791
9792 * configure.ac (AC_PREREQ): Bump to 2.64.
9793
79052be3
KK
97942009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
9795
9796 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
9797
5213506e
RW
97982009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9799
9800 * configure: Regenerate.
9801
a9a25daa
DR
98022009-08-09 Douglas B Rupp <rupp@gnat.com>
9803
9804 * config.host (ia64-hp-*vms*): New target.
9805 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
9806 with ia64-hp-*vms*.
9807
6efbd53f
RW
98082009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9809
9810 * configure.ac: Add snippet for maintainer-mode.
9811 * configure: Regenerate.
9812 * Makefile.in (AUTOCONF, configure_deps): New variables.
9813 ($(srcdir)/configure)): New rule, active only with maintainer
9814 mode turned on.
9815
7acf4da6
DD
98162009-06-23 DJ Delorie <dj@redhat.com>
9817
9818 Add MeP port.
9819 * config.host: Add mep support.
9820
54f549af
KT
98212009-06-22 Kai Tietz <kai.tietz@onevision.com>
9822
34481f28 9823 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 9824 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
34481f28
UB
9825
9826 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
9827 for mingw targets.
54f549af
KT
9828 * config/i386/64/_multc3.c: Likewise.
9829 * config/i386/64/_powitf2.c: Likewise.
9830 * config/i386/64/eqtf2.c: Likewise.
9831 * config/i386/64/getf2.c: Likewise.
9832 * config/i386/64/letf2.c: Likewise.
9833 * config/i386/64/letf2.c: Likewise.
34481f28
UB
9834 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
9835 unsigned long long for x64 mingw targets.
9836 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
9837 (_FP_I_TYPE): Define as long long for x64 mingw target.
54f549af 9838
fea96e25
MR
98392009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
9840
9841 * config.host (vax-*-linux*): New.
9842
cceb575c
AG
98432009-05-31 Anthony Green <green@moxielogic.com>
9844
9845 * config.host: Add moxie support.
9846 * config/moxie/t-moxie: New file.
9847
7d296953 98482009-05-29 David Billinghurst <billingd@gcc.gnu.org>
e997fb9c
DB
9849
9850 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 9851 t-softfp to tmake_file for i[34567]86-*-cygwin*.
e997fb9c 9852
532bfb0a
AJ
98532009-04-17 Aurelien Jarno <aurelien@aurel32.net>
9854
9855 * config.host: Add i386/${host_address}/t-fprules-softfp to
9856 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
9857
748086b7
JJ
98582009-04-09 Nick Clifton <nickc@redhat.com>
9859
9860 * config/ia64/tf-signs.c: Change copyright header to refer to
9861 version 3 of the GNU General Public License with version 3.1
9862 of the GCC Runtime Library Exception and to point readers at
9863 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
9864 web page.
9865 * config/i386/32/tf-signs.c: Likewise.
9866 * config/libbid/_addsub_dd.c: Likewise.
9867 * config/libbid/_addsub_sd.c: Likewise.
9868 * config/libbid/_addsub_td.c: Likewise.
9869 * config/libbid/_dd_to_df.c: Likewise.
9870 * config/libbid/_dd_to_di.c: Likewise.
9871 * config/libbid/_dd_to_sd.c: Likewise.
9872 * config/libbid/_dd_to_sf.c: Likewise.
9873 * config/libbid/_dd_to_si.c: Likewise.
9874 * config/libbid/_dd_to_td.c: Likewise.
9875 * config/libbid/_dd_to_tf.c: Likewise.
9876 * config/libbid/_dd_to_udi.c: Likewise.
9877 * config/libbid/_dd_to_usi.c: Likewise.
9878 * config/libbid/_dd_to_xf.c: Likewise.
9879 * config/libbid/_df_to_dd.c: Likewise.
9880 * config/libbid/_df_to_sd.c: Likewise.
9881 * config/libbid/_df_to_td.c: Likewise.
9882 * config/libbid/_di_to_dd.c: Likewise.
9883 * config/libbid/_di_to_sd.c: Likewise.
9884 * config/libbid/_di_to_td.c: Likewise.
9885 * config/libbid/_div_dd.c: Likewise.
9886 * config/libbid/_div_sd.c: Likewise.
9887 * config/libbid/_div_td.c: Likewise.
9888 * config/libbid/_eq_dd.c: Likewise.
9889 * config/libbid/_eq_sd.c: Likewise.
9890 * config/libbid/_eq_td.c: Likewise.
9891 * config/libbid/_ge_dd.c: Likewise.
9892 * config/libbid/_ge_sd.c: Likewise.
9893 * config/libbid/_ge_td.c: Likewise.
9894 * config/libbid/_gt_dd.c: Likewise.
9895 * config/libbid/_gt_sd.c: Likewise.
9896 * config/libbid/_gt_td.c: Likewise.
9897 * config/libbid/_isinfd128.c: Likewise.
9898 * config/libbid/_isinfd32.c: Likewise.
9899 * config/libbid/_isinfd64.c: Likewise.
9900 * config/libbid/_le_dd.c: Likewise.
9901 * config/libbid/_le_sd.c: Likewise.
9902 * config/libbid/_le_td.c: Likewise.
9903 * config/libbid/_lt_dd.c: Likewise.
9904 * config/libbid/_lt_sd.c: Likewise.
9905 * config/libbid/_lt_td.c: Likewise.
9906 * config/libbid/_mul_dd.c: Likewise.
9907 * config/libbid/_mul_sd.c: Likewise.
9908 * config/libbid/_mul_td.c: Likewise.
9909 * config/libbid/_ne_dd.c: Likewise.
9910 * config/libbid/_ne_sd.c: Likewise.
9911 * config/libbid/_ne_td.c: Likewise.
9912 * config/libbid/_sd_to_dd.c: Likewise.
9913 * config/libbid/_sd_to_df.c: Likewise.
9914 * config/libbid/_sd_to_di.c: Likewise.
9915 * config/libbid/_sd_to_sf.c: Likewise.
9916 * config/libbid/_sd_to_si.c: Likewise.
9917 * config/libbid/_sd_to_td.c: Likewise.
9918 * config/libbid/_sd_to_tf.c: Likewise.
9919 * config/libbid/_sd_to_udi.c: Likewise.
9920 * config/libbid/_sd_to_usi.c: Likewise.
9921 * config/libbid/_sd_to_xf.c: Likewise.
9922 * config/libbid/_sf_to_dd.c: Likewise.
9923 * config/libbid/_sf_to_sd.c: Likewise.
9924 * config/libbid/_sf_to_td.c: Likewise.
9925 * config/libbid/_si_to_dd.c: Likewise.
9926 * config/libbid/_si_to_sd.c: Likewise.
9927 * config/libbid/_si_to_td.c: Likewise.
9928 * config/libbid/_td_to_dd.c: Likewise.
9929 * config/libbid/_td_to_df.c: Likewise.
9930 * config/libbid/_td_to_di.c: Likewise.
9931 * config/libbid/_td_to_sd.c: Likewise.
9932 * config/libbid/_td_to_sf.c: Likewise.
9933 * config/libbid/_td_to_si.c: Likewise.
9934 * config/libbid/_td_to_tf.c: Likewise.
9935 * config/libbid/_td_to_udi.c: Likewise.
9936 * config/libbid/_td_to_usi.c: Likewise.
9937 * config/libbid/_td_to_xf.c: Likewise.
9938 * config/libbid/_tf_to_dd.c: Likewise.
9939 * config/libbid/_tf_to_sd.c: Likewise.
9940 * config/libbid/_tf_to_td.c: Likewise.
9941 * config/libbid/_udi_to_dd.c: Likewise.
9942 * config/libbid/_udi_to_sd.c: Likewise.
9943 * config/libbid/_udi_to_td.c: Likewise.
9944 * config/libbid/_unord_dd.c: Likewise.
9945 * config/libbid/_unord_sd.c: Likewise.
9946 * config/libbid/_unord_td.c: Likewise.
9947 * config/libbid/_usi_to_dd.c: Likewise.
9948 * config/libbid/_usi_to_sd.c: Likewise.
9949 * config/libbid/_usi_to_td.c: Likewise.
9950 * config/libbid/_xf_to_dd.c: Likewise.
9951 * config/libbid/_xf_to_sd.c: Likewise.
9952 * config/libbid/_xf_to_td.c: Likewise.
9953 * config/libbid/bid128.c: Likewise.
9954 * config/libbid/bid128_2_str.h: Likewise.
9955 * config/libbid/bid128_2_str_macros.h: Likewise.
9956 * config/libbid/bid128_2_str_tables.c: Likewise.
9957 * config/libbid/bid128_add.c: Likewise.
9958 * config/libbid/bid128_compare.c: Likewise.
9959 * config/libbid/bid128_div.c: Likewise.
9960 * config/libbid/bid128_fma.c: Likewise.
9961 * config/libbid/bid128_logb.c: Likewise.
9962 * config/libbid/bid128_minmax.c: Likewise.
9963 * config/libbid/bid128_mul.c: Likewise.
9964 * config/libbid/bid128_next.c: Likewise.
9965 * config/libbid/bid128_noncomp.c: Likewise.
9966 * config/libbid/bid128_quantize.c: Likewise.
9967 * config/libbid/bid128_rem.c: Likewise.
9968 * config/libbid/bid128_round_integral.c: Likewise.
9969 * config/libbid/bid128_scalb.c: Likewise.
9970 * config/libbid/bid128_sqrt.c: Likewise.
9971 * config/libbid/bid128_string.c: Likewise.
9972 * config/libbid/bid128_to_int16.c: Likewise.
9973 * config/libbid/bid128_to_int32.c: Likewise.
9974 * config/libbid/bid128_to_int64.c: Likewise.
9975 * config/libbid/bid128_to_int8.c: Likewise.
9976 * config/libbid/bid128_to_uint16.c: Likewise.
9977 * config/libbid/bid128_to_uint32.c: Likewise.
9978 * config/libbid/bid128_to_uint64.c: Likewise.
9979 * config/libbid/bid128_to_uint8.c: Likewise.
9980 * config/libbid/bid32_to_bid128.c: Likewise.
9981 * config/libbid/bid32_to_bid64.c: Likewise.
9982 * config/libbid/bid64_add.c: Likewise.
9983 * config/libbid/bid64_compare.c: Likewise.
9984 * config/libbid/bid64_div.c: Likewise.
9985 * config/libbid/bid64_fma.c: Likewise.
9986 * config/libbid/bid64_logb.c: Likewise.
9987 * config/libbid/bid64_minmax.c: Likewise.
9988 * config/libbid/bid64_mul.c: Likewise.
9989 * config/libbid/bid64_next.c: Likewise.
9990 * config/libbid/bid64_noncomp.c: Likewise.
9991 * config/libbid/bid64_quantize.c: Likewise.
9992 * config/libbid/bid64_rem.c: Likewise.
9993 * config/libbid/bid64_round_integral.c: Likewise.
9994 * config/libbid/bid64_scalb.c: Likewise.
9995 * config/libbid/bid64_sqrt.c: Likewise.
9996 * config/libbid/bid64_string.c: Likewise.
9997 * config/libbid/bid64_to_bid128.c: Likewise.
9998 * config/libbid/bid64_to_int16.c: Likewise.
9999 * config/libbid/bid64_to_int32.c: Likewise.
10000 * config/libbid/bid64_to_int64.c: Likewise.
10001 * config/libbid/bid64_to_int8.c: Likewise.
10002 * config/libbid/bid64_to_uint16.c: Likewise.
10003 * config/libbid/bid64_to_uint32.c: Likewise.
10004 * config/libbid/bid64_to_uint64.c: Likewise.
10005 * config/libbid/bid64_to_uint8.c: Likewise.
10006 * config/libbid/bid_b2d.h: Likewise.
10007 * config/libbid/bid_binarydecimal.c: Likewise.
10008 * config/libbid/bid_conf.h: Likewise.
10009 * config/libbid/bid_convert_data.c: Likewise.
10010 * config/libbid/bid_decimal_data.c: Likewise.
10011 * config/libbid/bid_decimal_globals.c: Likewise.
10012 * config/libbid/bid_div_macros.h: Likewise.
10013 * config/libbid/bid_dpd.c: Likewise.
10014 * config/libbid/bid_flag_operations.c: Likewise.
10015 * config/libbid/bid_from_int.c: Likewise.
10016 * config/libbid/bid_functions.h: Likewise.
10017 * config/libbid/bid_gcc_intrinsics.h: Likewise.
10018 * config/libbid/bid_inline_add.h: Likewise.
10019 * config/libbid/bid_internal.h: Likewise.
10020 * config/libbid/bid_round.c: Likewise.
10021 * config/libbid/bid_sqrt_macros.h: Likewise.
10022
100232009-04-09 Jakub Jelinek <jakub@redhat.com>
10024
10025 * Makefile.in: Change copyright header to refer to version
10026 3 of the GNU General Public License and to point readers at the
10027 COPYING3 file and the FSF's license web page.
10028 * config.host: Likewise.
10029
633dd061
AM
100302009-04-07 Alan Modra <amodra@bigpond.net.au>
10031
10032 * config.host: Reorder and merge to match config.gcc change.
10033
457d1d00
AM
100342009-04-03 Alan Modra <amodra@bigpond.net.au>
10035
10036 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
10037
52c0e446
JM
100382009-03-28 Joseph Myers <joseph@codesourcery.com>
10039
10040 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
10041 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
10042 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
10043 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
10044
ba181049
UB
100452009-02-12 Uros Bizjak <ubizjak@gmail.com>
10046
10047 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
10048 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
10049
c252db20
L
100502009-02-12 H.J. Lu <hongjiu.lu@intel.com>
10051
ba181049
UB
10052 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
10053 ia64/t-softfp-compat to tmake_file.
c252db20
L
10054
10055 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
10056
10057 * config/ia64/__divxf3.asm: New.
10058 * config/ia64/_fixtfdi.asm: Likewise.
10059 * config/ia64/_fixunstfdi.asm: Likewise.
10060 * config/ia64/_floatditf.asm: Likewise.
10061 * config/ia64/t-fprules-softfp: Likewise.
10062 * config/ia64/t-softfp-compat: Likewise.
10063 * config/ia64/tf-signs.c: Likewise.
10064
c60535f9
BE
100652009-01-18 Ben Elliston <bje@au.ibm.com>
10066
10067 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
10068
ce16861e
BE
100692009-01-16 Ben Elliston <bje@au.ibm.com>
10070
10071 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
10072 to tmake_file.
10073
bcf4713b
BE
100742009-01-13 Ben Elliston <bje@au.ibm.com>
10075
10076 * config/t-softfp: New file.
10077 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
10078 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
10079
7d296953 100802009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
2042cb04
JS
10081
10082 * config.host: Add m32r*-*-rtems*.
10083
7d296953 100842008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
541ed00e
JS
10085
10086 * config.host: Add m32c*-*-rtems*.
10087
19523300
RO
100882008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10089
10090 PR bootstrap/33100
10091 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
10092 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
10093 * configure: Regenerate.
10094 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
10095 tmake_file here from gcc/config.gcc.
10096 Move extra_parts here from gcc/config.gcc.
10097 * config/i386/t-sol2: Move here from gcc/config/i386.
10098 Use gcc_srcdir instead of srcdir.
10099
0a4a51c7
AN
101002008-11-18 Adam Nemet <anemet@caviumnetworks.com>
10101
10102 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
10103 case.
10104
2a761e46
TS
101052008-11-09 Thomas Schwinge <tschwinge@gnu.org>
10106
10107 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
10108
c0451df7
TS
101092008-10-08 Thomas Schwinge <tschwinge@gnu.org>
10110
10111 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
10112
358da97e
HS
101132008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
10114
10115 Add picoChip port.
10116 * config.host: Add picochip-*-*.
10117
c660f132
BW
101182008-08-06 Bob Wilson <bob.wilson@acm.org>
10119
10120 * config.host: Match more processor names for Xtensa.
10121
d1349557
L
101222008-07-08 H.J. Lu <hongjiu.lu@intel.com>
10123
10124 * config/i386/64/t-softfp-compat: Update comments.
10125
dd7b73c0
L
101262008-07-07 H.J. Lu <hongjiu.lu@intel.com>
10127
10128 * config/i386/64/_divtc3-compat.c: Moved to ...
10129 * config/i386/64/_divtc3.c: Here.
10130
10131 * config/i386/64/_multc3-compat.c: Moved to ...
10132 * config/i386/64/_multc3.c: Here.
10133
10134 * config/i386/64/_powitf2-compat.c: Moved to ...
10135 * config/i386/64/_powitf2.c: Here.
10136
10137 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
10138 .c suffix instead of -compat.c.
10139
6e1fab3d
UB
101402008-07-05 Uros Bizjak <ubizjak@gmail.com>
10141
10142 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
10143 (_FP_MUL_MEAT_D): Ditto.
10144 (_FP_DIV_MEAT_S): Ditto.
10145 (_FP_DIV_MEAT_D): Ditto.
10146
f92518d7
RS
101472008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
10148
10149 * Makefile.in: Add support for __sync_* libgcc functions.
10150
d0aede14
L
101512008-07-03 H.J. Lu <hongjiu.lu@intel.com>
10152
10153 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
10154
c174f11c
L
101552008-07-02 H.J. Lu <hongjiu.lu@intel.com>
10156
10157 PR boostrap/36702
10158 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
10159 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
10160
10161 * config/i386/64/t-fprules-softfp: Moved to ...
10162 * config/i386/64/t-softfp-compat: This. New.
10163
5f464fa2
UB
101642008-07-02 Uros Bizjak <ubizjak@gmail.com>
10165
10166 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
10167 Initialize f with 0.0.
10168
ff473280
L
101692008-07-02 H.J. Lu <hongjiu.lu@intel.com>
10170
10171 PR target/36669
10172 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
10173
10174 * config/i386/64/_divtc3-compat.c: New.
10175 * config/i386/64/_multc3-compat.c: Likewise.
10176 * config/i386/64/_powitf2-compat.c: Likewise.
10177 * config/i386/64/eqtf2.c: Likewise.
10178 * config/i386/64/getf2.c: Likewise.
10179 * config/i386/64/letf2.c: Likewise.
10180 * config/i386/64/t-fprules-softfp: Likewise.
10181
101822008-07-02 H.J. Lu <hongjiu.lu@intel.com>
10183
10184 * config.host: Add i386/${host_address}/t-fprules-softfp to
10185 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
dfb3b0e3 10186 i[34567]86-*-linux*, x86_64-*-linux*.
ff473280
L
10187
10188 * configure.ac: Set host_address to 64 or 32 for x86.
10189 * configure: Regenerated.
10190
10191 * Makefile.in (config.status): Also depend on
10192 $(srcdir)/config.host.
10193
10194 * config/i386/32/t-fprules-softfp: New.
10195 * config/i386/32/tf-signs.c: Likewise.
10196
10197 * config/i386/64/sfp-machine.h: New. Moved from gcc.
10198
101992008-07-02 H.J. Lu <hongjiu.lu@intel.com>
10200 Uros Bizjak <ubizjak@gmail.com>
10201
10202 * config/i386/32/sfp-machine.h: New.
10203
30551d99
NF
102042008-06-26 Nathan Froyd <froydnj@codesourcery.com>
10205
10206 * config/rs6000/t-ppccomm: Remove rules that conflict with
10207 auto-generated rules.
10208
18c04407
RW
102092008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
10210
10211 * configure.ac: sinclude override.m4.
10212 * configure: Regenerate.
10213
10fbe77a
BRF
102142008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
10215
10216 * configure: Regenerate.
10217
bc6d4c3f
JM
102182008-06-10 Joseph Myers <joseph@codesourcery.com>
10219
10220 * Makefile.in (DECNUMINC): Remove
10221 -I$(MULTIBUILDTOP)../../libdecnumber.
10222 * gstdint.h: New.
10223
cd985f66
JM
102242008-06-07 Joseph Myers <joseph@codesourcery.com>
10225
10226 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
10227 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
10228 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
10229 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
10230 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
10231 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
10232 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
10233 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
10234 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
10235 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
10236 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
10237 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
10238 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
10239 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
10240
93fea8d3
AL
102412008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
10242
10243 * config.host (sh2[lbe]*-*-linux*): Allow target.
10244
18724e30
NF
102452008-04-30 Nathan Froyd <froydnj@codesourcery.com>
10246
10247 * config/rs6000/t-ppccomm: Add build rules for new files.
10248 (LIB2ADD_ST): New variable.
10249
47583040
AH
102502008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
10251
10252 PR target/34210
10253 PR target/35508
10254 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
10255 * config/t-avr: New file. Build 16bit libgcc functions.
10256
cf8e67fe
JJ
102572008-03-02 Jakub Jelinek <jakub@redhat.com>
10258
10259 PR target/35401
10260 * config/t-slibgcc-darwin: Make install-leaf dependent on
10261 install-darwin-libgcc-stubs instead of install.
10262
8d8da227
JM
102632008-01-25 Joseph Myers <joseph@codesourcery.com>
10264
10265 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
10266 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
10267 sh-*-rtemscoff*): Remove cases.
10268
edbf8b16
RS
102692007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
10270
10271 * Makefile.in (all): Use install-leaf rather than install.
10272 (install): Split most of the rule into...
10273 (install-leaf): ...this new one.
10274
89deeaff
EK
102752007-12-19 Etsushi Kato <ek.kato@gmail.com>
10276 Paolo Bonzini <bonzini@gnu.org>
10277
10278 PR target/30572
5f464fa2
UB
10279 * Makefile.in: Use @shlib_slibdir@ substitution to get
10280 correct install name on darwin.
89deeaff 10281 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
dfb3b0e3 10282
4081d704
HPN
102832007-12-15 Hans-Peter Nilsson <hp@axis.com>
10284
10285 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
10286 cris-*-elf and cris-*-none.
10287 (crisv32-*-linux*): Similar, as cris-*-linux*.
10288
f43e89a3
RIL
102892007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
10290
10291 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
10292
b4e9c2c6
L
102932007-10-27 H.J. Lu <hongjiu.lu@intel.com>
10294
10295 PR regression/33926
10296 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
10297 * configure: Regenerated.
10298
b2a00c89
L
102992007-09-27 H.J. Lu <hongjiu.lu@intel.com>
10300
10301 * Makefile.in (dfp-filenames): Replace decimal_globals,
10302 decimal_data, binarydecimal and convert_data with
10303 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
10304 and bid_convert_data, respectively.
10305
8d2a9e0e
CF
103062007-09-17 Chao-ying Fu <fu@mips.com>
10307 Nigel Stephens <nigel@mips.com>
10308
10309 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
10310 * Makefile.in (fixed_point): Define.
10311 Check if fixed_point is yes to build support functions.
10312 * configure.ac: Check for fixed_point support.
10313 * configure: Regenerated.
10314 * gen-fixed.sh: New file to generate lists of fixed-point labels,
10315 funcs, modes, from, to.
10316
2b53935d
JJ
103172007-09-11 Janis Johnson <janis187@us.ibm.com
10318
10319 * Makefile.in (dfp-filenames): Add bid128_noncomp.
10320
2533577f
JJ
103212007-09-10 Janis Johnson <janis187@us.ibm.com>
10322
10323 * Makefile.in (dfp-filenames): Remove decUtility, add
10324 decDouble, decPacked, decQuad, decSingle.
10325
3ae3dbd6
HK
103262007-08-27 Hans Kester <hans.kester@ellips.nl>
10327
10328 * config.host : Add x86_64-elf target.
10329
22867d02
L
103302007-07-06 H.J. Lu <hongjiu.lu@intel.com>
10331
10332 * configure.ac (set_have_cc_tls): Add a missing =.
10333 * configure: Regenerated.
10334
6f461e76
L
103352007-07-06 H.J. Lu <hongjiu.lu@intel.com>
10336
10337 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
10338 and x86_64-*-linux*.
10339
10340 * config/t-tls: New file.
10341
dfb3b0e3 10342 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
6f461e76
L
10343
10344 * configure.ac: Include ../config/enable.m4 and
10345 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
10346 supports TLS and substitute set_have_cc_tls.
10347 * configure: Regenerated.
10348
200359e8
L
103492007-07-04 H.J. Lu <hongjiu.lu@intel.com>
10350
10351 * Makefile.in: Use libbid for DFP when BID is enabled.
10352
76f5e200
DS
103532007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
10354
10355 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
dfb3b0e3 10356 extra_parts. Add config/i386/t-cygming to tmake_file.
76f5e200
DS
10357 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
10358
9bd196f0 103592007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
200359e8 10360 Danny Smith <dannysmith@users.sourceforge.net>
9bd196f0
ZM
10361
10362 PR target/29498
10363 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
10364 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
10365 * config/i386/t-crtfm: Compile crtfastmath.o with
10366 -minline-all-stringops.
10367
1910440e
RS
103682007-05-10 Richard Sandiford <richard@codesourcery.com>
10369
10370 * config.host (sparc-wrs-vxworks): New target.
10371
7d33c31d
KH
103722007-04-14 Kazu Hirata <kazu@codesourcery.com>
10373
10374 * config.host: Recognize fido.
10375
96fccd0d
JJ
103762007-04-04 Janis Johnson <janis187@us.ibm.com>
10377
10378 * configure: Check host, not target, for decimal float support.
10379
577565f9
UB
103802007-04-03 Uros Bizjak <ubizjak@gmail.com>
10381
10382 * config/i386/t-crtpc: New file.
10383 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
5f464fa2 10384 (x86_64-*-linux*): Ditto.
577565f9 10385
ccf8e764
RH
103862007-02-30 Kai Tietz <kai.tietz@onevision.com>
10387
10388 * config.host (x86_64-*-mingw*): New target.
10389
79b87c74
MM
103902007-03-23 Michael Meissner <michael.meissner@amd.com>
10391 H.J. Lu <hongjiu.lu@intel.com>
10392
10393 * Makefile.in (enable_decimal_float): New.
10394 (DECNUMINC): Add
10395 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
10396 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
10397 (decbits-filenames): This.
10398 (decbits-objects): New.
10399 (libgcc-objects): Add $(decbits-objects).
10400
10401 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
10402 Substitute enable_decimal_float.
10403 * configure: Regenerated.
10404
8fce4e31
HPN
104052007-03-19 Hans-Peter Nilsson <hp@axis.com>
10406
10407 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
10408
e8bb4597
BM
104092007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
10410
10411 * Makefile.in (install-info): New dummy target.
10412
344189f9
BS
104132007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
10414
10415 * config.host (bfin*-linux-uclibc*): Set extra_parts.
10416
ac84c172
BM
104172007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
10418
10419 * Makefile.in: Add install-html and install-pdf dummy
10420 targets.
10421
cd5c2357
RS
104222007-02-05 Roger Sayle <roger@eyesopen.com>
10423 Daniel Jacobowitz <dan@codesourcery.com>
10424
10425 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
10426 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
10427 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
10428
d9a66f98
JJ
104292007-01-29 Janis Johnson <janis187@us.ibm.com>
10430
10431 * Makefile.in (dec-filenames): Add decExcept.
10432
9891ec5f
DJ
104332007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
10434
10435 PR bootstrap/30469
10436 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
10437 -fprofile-use.
10438
d6efbf5a
DJ
104392007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
10440
10441 * configure.ac: Add --enable-version-specific-runtime-libs.
10442 Correct $slibdir default.
10443 * configure: Regenerated.
10444
17caeff2
JM
104452007-01-23 Joseph Myers <joseph@codesourcery.com>
10446
10447 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
10448
5ea41e3a
AP
104492007-01-21 Andrew Pinski <pinskia@gmail.com>
10450
10451 PR target/30519
10452 * config.host (alpha*-*-linux*): Set extra_parts.
10453
26900826
KK
104542007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
10455
10456 * config/sh/t-linux: New.
10457 * config.host (sh*-*-linux*): Set tmake_file.
10458
97af925b
DJ
104592007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
10460
10461 * Makefile.in (install): Handle multilibs.
10462
b0088af7
BM
104632007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
10464
10465 * Makefile.in: Added .PHONY entry for documentation targets.
10466
e0a9456a
BM
104672007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
10468
10469 * Makefile.in: Add empty info, html, dvi, pdf targets.
10470
7fd453b4
MS
104712007-01-04 Mike Stump <mrs@apple.com>
10472
10473 * Makefile.in (MAKEINFO): Remove.
10474 (PERL): Likewise.
10475
14e8fc8b
PB
104762007-01-04 Paolo Bonzini <bonzini@gnu.org>
10477
10478 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
10479 * configure: Regenerate.
10480 * Makefile.in (host_subdir): Substitute it.
dfb3b0e3 10481 (gcc_objdir): Use it.
14e8fc8b 10482
1555beba
DJ
104832007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
10484
10485 * config.host (ia64*-*-linux*): Set tmake_file.
10486
79e6eaeb
DJ
104872007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
10488
10489 * Makefile.in (version): Define.
10490
fa958513
DJ
104912007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
10492 Paolo Bonzini <bonzini@gnu.org>
10493
10494 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
10495 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
10496 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
10497 config/sparc/t-crtfm, config/t-slibgcc-darwin,
10498 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
10499 shared-object.mk, siditi-object.mk, static-object.mk: New files.
10500 * configure: Generated.
818ab71a 10501\f
8d9254fc 10502Copyright (C) 2007-2020 Free Software Foundation, Inc.
818ab71a
JJ
10503
10504Copying and distribution of this file, with or without modification,
10505are permitted in any medium without royalty provided the copyright
10506notice and this notice are preserved.