]> git.ipfire.org Git - thirdparty/gcc.git/blame - libgcc/ChangeLog
arm: Add testcase for already fixed ICE [PR91913]
[thirdparty/gcc.git] / libgcc / ChangeLog
CommitLineData
5602b48b
CL
12020-02-10 Christophe Lyon <christophe.lyon@linaro.org>
2
3 PR target/93615
4 * unwind-arm-common.inc: Replace uses of gnu_Unwind_Find_got with
5 _Unwind_gnu_Find_got.
6 * unwind-pe.h: Likewise.
7
811a475e
JJ
82020-02-07 Jakub Jelinek <jakub@redhat.com>
9
10 PR target/93615
11 * config/arm/unwind-arm.h (gnu_Unwind_Find_got): Rename to ...
12 (_Unwind_gnu_Find_got): ... this. Use __asm instead of asm. Remove
13 trailing :s in asm. Formatting fixes.
14 (_Unwind_decode_typeinfo_ptr): Adjust caller.
15
2d33dcfe
SL
162020-01-31 Sandra Loosemore <sandra@codesourcery.com>
17
18 nios2: Support for GOT-relative DW_EH_PE_datarel encoding.
19
20 * config.host [nios2-*-linux*] (tmake_file, tm_file): Adjust.
21 * config/nios2-elf-lib.h: New.
22 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback): Use existing
23 code for finding GOT base for nios2.
24
3ae37f92
ML
252020-01-27 Martin Liska <mliska@suse.cz>
26
27 PR gcov-profile/93403
28 * libgcov-profiler.c (__gcov_indirect_call_profiler_v4):
29 Call __gcov_indirect_call_profiler_body.
30 (__gcov_indirect_call_profiler_body): New.
31 (__gcov_indirect_call_profiler_v4_atomic): New.
32 * libgcov.h (__gcov_indirect_call_profiler_v4_atomic):
33 New declaration.
34
2744b8b2
CZ
352020-01-27 Claudiu Zissulescu <claziss@synopsys.com>
36
37 * config/arc/crti.S: Add RF16 object attribute.
38 * config/arc/crtn.S: Likewise.
39 * config/arc/crttls.S: Likewise.
40 * config/arc/lib1funcs.S: Likewise.
41 * config/arc/fp-hack.h (ARC_OPTFPE): Define.
42 * config/arc/lib2funcs.c: New file.
43 * config/arc/t-arc: Add lib2funcs to LIB2ADD.
44
e8e66971
MR
452020-01-24 Maciej W. Rozycki <macro@wdc.com>
46
47 * Makefile.in (configure_deps): Add `toolexeclibdir.m4'.
48 * configure.ac: Handle `--with-toolexeclibdir='.
49 * configure: Regenerate.
50
54b3d52c
DM
512020-01-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
52
53 * config/mips/gnustack.h: Check for TARGET_LIBC_GNUSTACK also.
54
a3c1e1f2
DM
552020-01-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
56
57 * config/mips/gnustack.h: New file.
58 * config/mips/crti.S: Include gnustack.h.
59 * config/mips/crtn.S: Likewise.
60 * config/mips/mips16.S: Likewise.
61 * config/mips/vr4120-div.S: Likewise.
62
e9ee848d
ML
632020-01-23 Martin Liska <mliska@suse.cz>
64
65 * libgcov-driver.c (prune_topn_counter): Remove
66 check for -1 as we only prune run-time counters
67 that do not generate an invalid state.
68
7491c17f
ML
692020-01-22 Martin Liska <mliska@suse.cz>
70
71 PR tree-optimization/92924
72 * libgcov-profiler.c (__gcov_topn_values_profiler_body): First
73 try to find an existing value, then find an empty slot
74 if not found.
75
5f32f9cf
ML
762020-01-22 Martin Liska <mliska@suse.cz>
77
78 PR tree-optimization/92924
79 * libgcov-driver.c (prune_topn_counter): New.
80 (prune_counters): Likewise.
81 (dump_one_gcov): Prune a run-time counter.
82 * libgcov-profiler.c (__gcov_topn_values_profiler_body):
83 For a known value, add GCOV_TOPN_VALUES to value.
84 Otherwise, decrement all counters by one.
85
463f6499
HPN
862020-01-18 Hans-Peter Nilsson <hp@axis.com>
87
88 * config/cris/arit.c (DS): Apply attribute __fallthrough__.
89
84479e3a
JDA
902020-01-18 John David Anglin <danglin@gcc.gnu.org>
91
92 PR libgcc/92988
93 * crtstuff.c (__do_global_dtors_aux): Only call __cxa_finalize if
94 DEFAULT_USE_CXA_ATEXIT is true.
95
e953433f 962020-01-16 Mihail-Calin Ionescu <mihail.ionescu@arm.com>
674dcc3f 97 Thomas Preud'homme <thomas.preudhomme@arm.com>
e953433f
MI
98
99 * config/arm/t-arm: Check return value of gcc rather than lack of
100 output.
101
03e87724
GJL
1022020-01-14 Georg-Johann Lay <avr@gjlay.de>
103
104 * config/avr/lib1funcs.S (skip): Simplify.
105
af9bd920
KCY
1062020-01-10 Kwok Cheung Yeung <kcy@codesourcery.com>
107
108 * config/gcn/atomic.c: Remove include of stdint.h.
109 (__sync_val_compare_and_swap_##SIZE): Replace uintptr_t with
110 __UINTPTR_TYPE__.
111
d6491d15
KCY
1122020-01-09 Kwok Cheung Yeung <kcy@codesourcery.com>
113
114 * config/gcn/atomic.c: New.
115 * config/gcn/t-amdgcn (LIB2ADD): Add atomic.c.
116
f30dd607
GJL
1172020-01-08 Georg-Johann Lay <avr@gjlay.de>
118
119 Implement 64-bit double functions.
120
121 PR target/92055
122 * config.host (tmake_file) [target=avr]: Add t-libf7,
123 t-libf7-math, t-libf7-math-symbols as specified by --with-libf7=.
124 * config/avr/t-avrlibc: Don't copy libgcc.a if there are modules
125 depending on sizeof (double) or sizeof (long double).
126 * config/avr/libf7: New folder.
127
5205a445
OH
1282020-01-05 Olivier Hainque <hainque@adacore.com>
129
130 * config/gthr-vxworks.h: Guard #include vxAtomicLib.h
131 by IN_LIBGCC2.
132
8d9254fc
JJ
1332020-01-01 Jakub Jelinek <jakub@redhat.com>
134
135 Update copyright years.
136
abb6c3ee
OH
1372019-12-30 Olivier Hainque <hainque@adacore.com>
138
139 * config/gthr-vxworks.h: Use _vxworks-versions.h.
140 * config/gthr-vxworks-tls.c: Likewise.
141
d7f5094a
OH
1422019-12-30 Olivier Hainque <hainque@adacore.com>
143
144 * config/gthr-vxworks.h (GTHREAD_ONCE_INIT): Use
145 standard zero-initializer syntax.
146
49cfaa2a
OH
1472019-12-30 Olivier Hainque <hainque@adacore.com>
148
149 * config/gthr-vxworks-tls.c (__gthread_getspecific): Fix
150 reference to the internal VX_GET_TLS_DATA interface.
151
89b9a554
OH
1522019-12-30 Olivier Hainque <hainque@adacore.com>
153
154 * config/vxcrtstuff.c: Fix incorrect spelling of
155 USE_INITFINI_ARRAY in guard.
156
e8aa9f55
JL
1572019-12-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
158
159 * config.host: s/msp430*-*-elf/msp430-*-elf*.
160 Override default "extra_parts" variable.
161 * configure: Regenerate.
162 * configure.ac: Disable TM clone registry by default for
163 msp430-elfbare.
164
a9046e98
JL
1652019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
166
167 * config.host (msp430*-*-elf): Add crt{begin,end}_no_eh.o to
168 "extra_parts".
169 * config/msp430/t-msp430: Add rules to build crt{begin,end}_no_eh.o.
170
34a53788
JL
1712019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
172
173 * crtstuff.c: Declare __dso_handle only if DEFAULT_USE_CXA_ATEXIT is
174 true.
175
21a098f4
JL
1762019-12-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
177
178 * crtstuff.c (__do_global_dtors_aux): Check if USE_EH_FRAME_REGISTRY is
179 defined instead of its value.
180
ad8b7783
JL
1812019-12-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
182
183 * crtstuff.c (__do_global_dtors_aux): Wrap in #if so it's only defined
184 if it will have contents.
185
08d7ff78
GJL
1862019-12-05 Georg-Johann Lay <avr@gjlay.de>
187
188 PR target/92055
189 * config/avr/t-avrlibc (MULTISUBDIR): Search for double, not double64.
190
3d3a96a2
SN
1912019-11-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
192
34b4d99d 193 PR libgcc/91737
3d3a96a2
SN
194 * config.host: Add t-gthr-noweak on *-*-musl*.
195 * config/t-gthr-noweak: New file.
196
632b5e3d
JDA
1972019-11-17 John David Anglin <danglin@gcc.gnu.org>
198
199 * config/pa/linux-atomic.c (__kernel_cmpxchg): Change argument 1 to
200 volatile void *. Remove trap check.
201 (__kernel_cmpxchg2): Likewise.
202 (FETCH_AND_OP_2): Adjust operand types.
203 (OP_AND_FETCH_2): Likewise.
204 (FETCH_AND_OP_WORD): Likewise.
205 (OP_AND_FETCH_WORD): Likewise.
206 (COMPARE_AND_SWAP_2): Likewise.
207 (__sync_val_compare_and_swap_4): Likewise.
208 (__sync_bool_compare_and_swap_4): Likewise.
209 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
210 (__sync_lock_test_and_set_4): Likewise.
211 (SYNC_LOCK_RELEASE_1): Likewise. Use __kernel_cmpxchg2 for release.
212 (__sync_lock_release_4): Adjust operand types. Use __kernel_cmpxchg
213 for release.
214 (__sync_lock_release_8): Remove.
215
838fd641
SN
2162019-11-15 Szabolcs Nagy <szabolcs.nagy@arm.com>
217
218 * config/m68k/linux-unwind.h (struct uw_ucontext): Use sigset_t instead
219 of __sigset_t.
220
27204060
JL
2212019-11-14 Jerome Lambourg <lambourg@adacore.com>
222 Doug Rupp <rupp@adacore.com>
223 Olivier Hainque <hainque@adacore.com>
224
225 * config.host: Collapse the arm-vxworks entries into
226 a single arm-wrs-vxworks7* one.
227 * config/arm/unwind-arm-vxworks.c: Update comments. Provide
228 __gnu_Unwind_Find_exidx and a weak dummy __cxa_type_match for
229 kernel modules, to be overriden by libstdc++ when we link with
230 it. Rely on externally provided __exidx_start/end.
231
3004f893
DR
2322019-11-14 Doug Rupp <rupp@adacore.com>
233 Olivier Hainque <hainque@adacore.com>
234
235 * config.host: Handle aarch64*-wrs-vxworks7*.
236
36e5f4d4
OH
2372019-11-12 Olivier Hainque <hainque@adacore.com>
238
239 * config/t-gthr-vxworksae: New file, add all the gthr-vxworks
240 sources except the cxx0x support to LIB2ADDEH. We don't support
241 cxx0x on AE/653.
242 * config/t-vxworksae: New file.
243 * config.host: Handle *-*-vxworksae: Add the two aforementioned
244 Makefile fragment files at their expected position in the tmake_file
245 list, in accordance with what is done for other VxWorks variants.
246
806dd047
CG
2472019-11-12 Corentin Gay <gay@adacore.com>
248 Jerome Lambourg <lambourg@adacore.com>
249 Olivier Hainque <hainque@adacore.com>
250
251 * config/t-gthr-vxworks: New file, add all the gthr-vxworks
252 sources to LIB2ADDEH.
253 * config/t-vxworks: Remove adjustments to LIB2ADDEH.
254 * config/t-vxworks7: Likewise.
255
256 * config.host: Append a block at the end of the file to add the
257 t-gthr files to the tmake_file list for VxWorks after everything
258 else.
259
260 * config/vxlib.c: Rename as gthr-vxworks.c.
261 * config/vxlib-tls.c: Rename as gthr-vxworks-tls.c.
262
263 * config/gthr-vxworks.h: Simplify a few comments. Expose a TAS
264 API and a basic error checking API, both internal. Simplify the
265 __gthread_once_t type definition and initializers. Add sections
266 for condition variables support and for the C++0x thread support,
267 conditioned against Vx653 for the latter.
268
269 * config/gthr-vxworks.c (__gthread_once): Simplify comments and
270 implementation, leveraging the TAS internal API.
271 * config/gthr-vxworks-tls.c: Introduce an internal TLS data access
272 API, leveraging the general availability of TLS services in VxWorks7
273 post SR6xxx.
274 (__gthread_setspecific, __gthread_setspecific): Use it.
275 (tls_delete_hook): Likewise, and simplify the enter/leave dtor logic.
276 * config/gthr-vxworks-cond.c: New file. GTHREAD_COND variable
277 support based on VxWorks primitives.
278 * config/gthr-vxworks-thread.c: New file. GTHREAD_CXX0X support
279 based on VxWorks primitives.
280
78e49fb1
JL
2812019-11-06 Jerome Lambourg <lambourg@adacore.com>
282 Olivier Hainque <hainque@adacore.com>
283
284 * config/vxcrtstuff.c: New file.
285 * config/t-vxcrtstuff: New Makefile fragment.
286 * config.host: Append t-vxcrtstuff to the tmake_file list
287 on all VxWorks ports using dwarf for table based EH.
288
29f3def3
GJL
2892019-11-07 Georg-Johann Lay <avr@gjlay.de>
290
291 Support 64-bit double and 64-bit long double configurations.
292
293 PR target/92055
294 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Only add -DF=SF if
295 long double is a 32-bit type.
296 * config/avr/t-avrlibc: Copy double64 and long-double64
297 multilib(s) from the vanilla one.
298 * config/avr/t-copy-libgcc: New Makefile snip.
299
62ec242e
JL
3002019-11-04 Jozef Lawrynowicz <jozef.l@mittosystems.com>
301
302 * crtstuff.c: Define USE_TM_CLONE_REGISTRY to 0 if it's undefined and
303 the target output object format is not ELF.
304 s/defined(USE_TM_CLONE_REGISTRY)/USE_TM_CLONE_REGISTRY.
305
da5c1bbe
OE
3062019-11-03 Oleg Endo <olegendo@gcc.gnu.org>
307
308 PR libgcc/78804
309 * fp-bit.h: Remove FLOAT_BIT_ORDER_MISMATCH.
310 * fp-bit.c (pack_d, unpack_d): Remove special cases for
311 FLOAT_BIT_ORDER_MISMATCH.
312 * config/arc/t-arc: Remove FLOAT_BIT_ORDER_MISMATCH.
313
8dc56a22
JW
3142019-11-01 Jim Wilson <jimw@sifive.com>
315
316 * config/riscv/t-softfp32 (softfp_extra): Add FP divide routines
317
91c64455
JL
3182019-10-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
319
320 * config/msp430/lib2hw_mul.S: Fix wrong syntax in branch instruction.
321 s/RESULT_LO/RESLO, s/RESULT_HI/RESHI, s/MPY_OP1/MPY,
322 s/MPY_OP1_S/MPYS, s/MAC_OP1/MAC, s/MPY_OP2/OP2, s/MAC_OP2/OP2.
323 Define symbols for 32-bit and f5series hardware multiply
324 register addresses.
325 Replace hard-coded register addresses with symbols.
326 Fix "_mspabi*" typo.
327 Fix whitespace.
328 * config/msp430/lib2mul.c: Add comment.
329
85093ac6
JDA
3302019-10-15 John David Anglin <danglin@gcc.gnu.org>
331
332 * config/pa/fptr.c (_dl_read_access_allowed): Change argument to
333 unsigned int. Adjust callers.
334 (__canonicalize_funcptr_for_compare): Change plabel type to volatile
335 unsigned int *. Load relocation offset before function pointer.
336 Add barrier to ensure ordering.
337
1aea083d
JDA
3382019-10-12 John David Anglin <danglin@gcc.gnu.org>
339
340 * config/pa/lib2funcs.S (__gcc_plt_call): Load branch target to %r21.
341 Load PIC register after branch target. Fix white space.
342 * config/pa/milli64.S ($$dyncall): Separate LINUX and non LINUX
343 implementations. Load PIC register after branch target. Don't
344 clobber function pointer when it points to function descriptor.
345 Use nullification instead of branch in LINUX implementation.
346
c49af82c
JDA
3472019-10-03 John David Anglin <danglin@gcc.gnu.org>
348
349 * config/pa/fptr.c: Disable -Warray-bounds warning.
350
88a51d68
RH
3512019-09-25 Richard Henderson <richard.henderson@linaro.org>
352
9e46fd07
RH
353 * config.in, configure: Re-rebuild with stock autoconf 2.69,
354 not the ubuntu modified 2.69.
355
58d169ba
RH
356 PR target/91833
357 * config/aarch64/lse-init.c: Include auto-target.h. Disable
358 initialization if !HAVE_SYS_AUXV_H.
359 * configure.ac (AC_CHECK_HEADERS): Add sys/auxv.h.
360 * config.in, configure: Rebuild.
361
88a51d68
RH
362 PR target/91834
363 * config/aarch64/lse.S (LDNM): Ensure STXR output does not
364 overlap the inputs.
365
761e6bb9
SZ
3662019-09-25 Shaokun Zhang <zhangshaokun@hisilicon.com>
367
368 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Add support for
369 CTR_EL0.IDC and CTR_EL0.DIC.
370
76c93295
CL
3712019-09-20 Christophe Lyon <christophe.lyon@st.com>
372
373 Revert:
374 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
375 Mickaël Guêné <mickael.guene@st.com>
376
377 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
378 architecture.
379
33befddc
RH
3802019-09-19 Richard Henderson <richard.henderson@linaro.org>
381
382 * config/aarch64/lse-init.c: New file.
383 * config/aarch64/lse.S: New file.
384 * config/aarch64/t-lse: New file.
385 * config.host: Add t-lse to all aarch64 tuples.
386
ae1152e5
CL
3872019-09-10 Christophe Lyon <christophe.lyon@st.com>
388 Mickaël Guêné <mickael.guene@st.com>
389
84818dbb
CL
390 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
391 architecture.
392
3932019-09-10 Christophe Lyon <christophe.lyon@st.com>
394 Mickaël Guêné <mickael.guene@st.com>
395
ae1152e5
CL
396 * unwind-arm-common.inc (ARM_SET_R7_RT_SIGRETURN)
397 (THUMB2_SET_R7_RT_SIGRETURN, FDPIC_LDR_R12_WITH_FUNCDESC)
398 (FDPIC_LDR_R9_WITH_GOT, FDPIC_LDR_PC_WITH_RESTORER)
399 (FDPIC_FUNCDESC_OFFSET, ARM_NEW_RT_SIGFRAME_UCONTEXT)
400 (ARM_UCONTEXT_SIGCONTEXT, ARM_SIGCONTEXT_R0, FDPIC_T2_LDR_R12_WITH_FUNCDESC)
401 (FDPIC_T2_LDR_R9_WITH_GOT, FDPIC_T2_LDR_PC_WITH_RESTORER): New.
402 (__gnu_personality_sigframe_fdpic): New.
403 (get_eit_entry): Add FDPIC signal frame support.
404
5d727a4b
CL
4052019-09-10 Christophe Lyon <christophe.lyon@st.com>
406 Mickaël Guêné <mickael.guene@st.com>
407
408 * config/arm/linux-atomic.c (__kernel_cmpxchg): Add FDPIC support.
409 (__kernel_dmb): Likewise.
410 (__fdpic_cmpxchg): New function.
411 (__fdpic_dmb): New function.
412 * config/arm/unwind-arm.h (FDPIC_REGNUM): New define.
413 (gnu_Unwind_Find_got): New function.
414 (_Unwind_decode_typeinfo_ptr): Add FDPIC support.
415 * unwind-arm-common.inc (UCB_PR_GOT): New.
416 (funcdesc_t): New struct.
417 (get_eit_entry): Add FDPIC support.
418 (unwind_phase2): Likewise.
419 (unwind_phase2_forced): Likewise.
420 (__gnu_Unwind_RaiseException): Likewise.
421 (__gnu_Unwind_Resume): Likewise.
422 (__gnu_Unwind_Backtrace): Likewise.
423 * unwind-pe.h (read_encoded_value_with_base): Likewise.
424
b1e21e5a 4252019-09-10 Christophe Lyon <christophe.lyon@st.com>
11189793 426 Mickaël Guêné <mickael.guene@st.com>
b1e21e5a 427
11189793
CL
428 * libgcc/crtstuff.c: Add support for FDPIC.
429
4302019-09-10 Christophe Lyon <christophe.lyon@st.com>
431
432 * config.host: Handle *-*-uclinuxfdpiceabi.
b1e21e5a 433
91dfef96
JM
4342019-09-09 Jose E. Marchesi <jose.marchesi@oracle.com>
435
436 * config.host: Set cpu_type for bpf-*-* targets.
437 * config/bpf/t-bpf: Likewise.
438 * config/bpf/crtn.S: Likewise.
439 * config/bpf/crti.S: New file.
440
2f4d8951
JW
4412019-09-06 Jim Wilson <jimw@sifive.com>
442
443 * config.host (riscv*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
444 (riscv*-*-freebsd*): Likewise.
445
2f2aeda9
UW
4462019-09-03 Ulrich Weigand <uweigand@de.ibm.com>
447
448 * config.host: Remove references to spu.
449 * config/spu/: Remove directory.
450
d16017da
JL
4512019-08-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
452
453 PR target/91306
454 * crtstuff.c (__CTOR_LIST__): Align to the "__alignof__" the array
455 element type, instead of "sizeof" the element type.
456 (__DTOR_LIST__): Likewise.
457 (__TMC_LIST__): Likewise.
458 (__do_global_dtors_aux_fini_array_entry): Likewise.
459 (__frame_dummy_init_array_entry): Likewise.
460 (__CTOR_END__): Likewise.
461 (__DTOR_END__): Likweise.
462 (__FRAME_END__): Likewise.
463 (__TMC_END__): Likewise.
464
a9fcfec3
HL
4652019-08-20 Lili Cui <lilicui@intel.com>
466
467 * config/i386/cpuinfo.h: Add INTEL_COREI7_TIGERLAKE and
468 INTEL_COREI7_COOPERLAKE.
469
428642b1
MT
4702019-07-31 Matt Thomas <matt@3am-software.com>
471 Nick Hudson <nick@nthcliff.demon.co.uk>
472 Matthew Green <mrg@eterna.com.au>
473 Maya Rashish <coypu@sdf.org>
474
475 * config.host (hppa*-*-netbsd*): New case.
476 * config/pa/t-netbsd: New file.
477
f0efd925
JH
4782019-07-31 Joel Hutton <Joel.Hutton@arm.com>
479
480 * config/arm/cmse.c (cmse_check_address_range): Add
481 warn_unused_result attribute.
482
a861990d
ML
4832019-07-22 Martin Liska <mliska@suse.cz>
484
485 * config/pa/stublib.c: Remove stub symbol __gnu_lto_v1.
486 * config/pa/t-stublib: Likewise.
487
9c0dba7c
SH
4882019-07-22 Stafford Horne <shorne@gmail.com>
489
490 PR target/90362
491 * config/or1k/lib1funcs.S (__udivsi3): Change l.sfeqi
492 to l.sfeq and l.sfltsi to l.sflts equivalents as the immediate
493 instructions are not available on every processor. Change a
494 l.bnf to l.bf to fix logic issue.
495
61afc8f8
IS
4962019-07-04 Iain Sandoe <iain@sandoe.co.uk>
497
498 * config.host: Remove reference to t-darwin8.
499
179c7ef5
IS
5002019-07-03 Iain Sandoe <iain@sandoe.co.uk>
501
502 * config.host (powerpc-*-darwin*,powerpc64-*-darwin*): Revise crt
503 list.
504 * config/rs6000/t-darwin: Build crt3_2 for older systems. Revise
505 mmacosx-version-min for crts to run across all system versions.
506 * config/rs6000/t-darwin64 (LIB2ADD): Remove.
507 * config/t-darwin: Revise mmacosx-version-min for crts to run across
508 system versions >= 10.4.
509
596341c7
ML
5102019-07-03 Martin Liska <mliska@suse.cz>
511
512 * Makefile.in: Use topn_values instead of one_value names.
513 * libgcov-merge.c (__gcov_merge_single): Move to ...
514 (__gcov_merge_topn): ... this.
515 (merge_single_value_set): Move to ...
516 (merge_topn_values_set): ... this.
517 * libgcov-profiler.c (__gcov_one_value_profiler_body): Move to
518 ...
519 (__gcov_topn_values_profiler_body): ... this.
520 (__gcov_one_value_profiler_v2): Move to ...
521 (__gcov_topn_values_profiler): ... this.
522 (__gcov_one_value_profiler_v2_atomic): Move to ...
523 (__gcov_topn_values_profiler_atomic): ... this.
524 (__gcov_indirect_call_profiler_v4): Remove.
525 * libgcov-util.c (__gcov_single_counter_op): Move to ...
526 (__gcov_topn_counter_op): ... this.
527 * libgcov.h (L_gcov_merge_single): Remove.
528 (L_gcov_merge_topn): New.
529 (__gcov_merge_single): Remove.
530 (__gcov_merge_topn): New.
531 (__gcov_one_value_profiler_v2): Move to ..
532 (__gcov_topn_values_profiler): ... this.
533 (__gcov_one_value_profiler_v2_atomic): Move to ...
534 (__gcov_topn_values_profiler_atomic): ... this.
535
1b309ca5
ML
5362019-07-03 Martin Liska <mliska@suse.cz>
537
538 * libgcov-merge.c (merge_single_value_set): Support N values.
539 * libgcov-profiler.c (__gcov_one_value_profiler_body): Likewise.
540
5a460280
ID
5412019-06-27 Ilia Diachkov <ilia.diachkov@optimitech.com>
542
543 * Makefile.in (USE_TM_CLONE_REGISTRY): New.
544 (CRTSTUFF_CFLAGS): Use USE_TM_CLONE_REGISTRY.
545 * configure.ac: Add --disable-tm-clone-registry option.
546 * configure: Regenerate.
547
45309d28
ML
5482019-06-27 Martin Liska <mliska@suse.cz>
549
550 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Remove obviously
551 dead assignments.
552 * libgcov-util.c: Likewise.
553
c2f7a665
ML
5542019-06-27 Martin Liska <mliska@suse.cz>
555
556 * libgcov-util.c (gcov_profile_merge): Release allocated
557 memory.
558 (calculate_overlap): Likewise.
559
a8e55c61
IS
5602019-06-25 Iain Sandoe <iain@sandoe.co.uk>
561
562 * config.host: Add libef_ppc.a to the extra files for powerpc-darwin.
563 * config/rs6000/t-darwin: (PPC_ENDFILE_SRC, PPC_ENDFILE_OBJS): New.
564 Build objects for the out of line save/restore register functions
565 so that they can be used for any supported Darwin version.
566 * config/t-darwin: Default the build Darwin version to Darwin8
567 (MacOS 10.4).
568
e5ce4cbc
ML
5692019-06-25 Martin Liska <mliska@suse.cz>
570
571 * libgcov-driver-system.c (replace_filename_variables): Do not
572 call strlen with NULL argument.
573
52a47d28
AS
5742019-06-25 Andrew Stubbs <ams@codesourcery.com>
575
576 * config/gcn/t-amdgcn (LIB2ADD): Add unwind-gcn.c.
577 * config/gcn/unwind-gcn.c: New file.
578
76d46331
KCY
5792019-06-25 Kwok Cheung Yeung <kcy@codesourcery.com>
580 Andrew Stubbs <ams@codesourcery.com>
581
582 * configure: Regenerate.
583 * config/gcn/gthr-gcn.h: New.
584
787783a0
TV
5852019-06-18 Tom de Vries <tdevries@suse.de>
586
587 * config/nvptx/crt0.c (__main): Declare.
588
f32f7585
MG
5892019-06-17 Matthew Green <mrg@eterna.com.au>
590 Maya Rashish <coypu@sdf.org>
591
592 * config.host (aarch64*-*-netbsd*): New case.
593
0fcc78f7
JL
5942019-06-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
595
596 * config/msp430/slli.S (__mspabi_sllll): New library function for
597 performing a logical left shift of a 64-bit value.
598 * config/msp430/srai.S (__mspabi_srall): New library function for
599 performing a arithmetic right shift of a 64-bit value.
600 * config/msp430/srll.S (__mspabi_srlll): New library function for
601 performing a logical right shift of a 64-bit value.
602
b27c1082
MT
6032019-06-14 Matt Thomas <matt@3am-software.com>
604 Matthew Green <mrg@eterna.com.au>
605 Nick Hudson <skrll@netbsd.org>
606 Maya Rashish <coypu@sdf.org>
607
608 * config.host (arm*-*-netbsdelf*): Add support for EABI configurations.
609 * config/arm/t-netbsd (LIB1ASMFUNCS): Add some additional assembler
610 functions to build.
611 * config/arm/t-netbsd-eabi: New file.
612
ae7deb4b
DD
6132019-06-12 Dimitar Dimitrov <dimitar@dinux.eu>
614
615 * config.host: Add PRU target.
616 * config/pru/asri.c: New file.
617 * config/pru/eqd.c: New file.
618 * config/pru/eqf.c: New file.
619 * config/pru/ged.c: New file.
620 * config/pru/gef.c: New file.
621 * config/pru/gtd.c: New file.
622 * config/pru/gtf.c: New file.
623 * config/pru/led.c: New file.
624 * config/pru/lef.c: New file.
625 * config/pru/lib2bitcountHI.c: New file.
626 * config/pru/lib2divHI.c: New file.
627 * config/pru/lib2divQI.c: New file.
628 * config/pru/lib2divSI.c: New file.
629 * config/pru/libgcc-eabi.ver: New file.
630 * config/pru/ltd.c: New file.
631 * config/pru/ltf.c: New file.
632 * config/pru/mpyll.S: New file.
633 * config/pru/pru-abi.h: New file.
634 * config/pru/pru-asm.h: New file.
635 * config/pru/pru-divmod.h: New file.
636 * config/pru/sfp-machine.h: New file.
637 * config/pru/t-pru: New file.
638
0d7b3e47
JJ
6392019-06-11 Jakub Jelinek <jakub@redhat.com>
640
641 * libgcov-merge.c (__gcov_merge_single): Revert previous change.
642
54e2d83c
ML
6432019-06-10 Martin Liska <mliska@suse.cz>
644
645 PR bootstrap/90808
646 * libgcov.h: Add ATTRIBUTE_UNUSED.
647
92d41717
ML
6482019-06-10 Martin Liska <mliska@suse.cz>
649
650 * Makefile.in: Add __gcov_one_value_profiler_v2,
651 __gcov_one_value_profiler_v2_atomic and
652 __gcov_indirect_call_profiler_v4.
653 * libgcov-merge.c (__gcov_merge_single): Change
654 function signature.
655 (merge_single_value_set): New.
656 * libgcov-profiler.c (__gcov_one_value_profiler_body):
657 Update functionality.
658 (__gcov_one_value_profiler): Remove.
659 (__gcov_one_value_profiler_v2): ... this.
660 (__gcov_one_value_profiler_atomic): Rename to ...
661 (__gcov_one_value_profiler_v2_atomic): this.
662 (__gcov_indirect_call_profiler_v3): Rename to ...
663 (__gcov_indirect_call_profiler_v4): ... this.
664 * libgcov.h (__gcov_one_value_profiler): Remove.
665 (__gcov_one_value_profiler_atomic): Remove.
666 (__gcov_one_value_profiler_v2_atomic): New.
667 (__gcov_indirect_call_profiler_v3): Remove.
668 (__gcov_one_value_profiler_v2): New.
669 (__gcov_indirect_call_profiler_v4): New.
670 (gcov_get_counter_ignore_scaling): New function.
671
e37333ba
ML
6722019-06-07 Martin Liska <mliska@suse.cz>
673
674 * Makefile.in: Remove usage of
675 _gcov_merge_icall_topn.
676 * libgcov-driver.c (gcov_sort_n_vals): Remove.
677 (gcov_sort_icall_topn_counter): Likewise.
678 (gcov_sort_topn_counter_arrays): Likewise.
679 (dump_one_gcov): Remove call to gcov_sort_topn_counter_arrays.
680 * libgcov-merge.c (__gcov_merge_icall_topn): Remove.
681 * libgcov-profiler.c (__gcov_topn_value_profiler_body):
682 Likewise.
683 (GCOV_ICALL_COUNTER_CLEAR_THRESHOLD): Remove.
684 (struct indirect_call_tuple): Remove.
685 (__gcov_indirect_call_topn_profiler): Remove.
686 * libgcov-util.c (__gcov_icall_topn_counter_op): Remove.
687 * libgcov.h (gcov_sort_n_vals): Remove.
688 (L_gcov_merge_icall_topn): Likewise.
689 (__gcov_merge_icall_topn): Likewise.
690 (__gcov_indirect_call_topn_profiler): Likewise.
691
34a4a9c2
IS
6922019-06-06 Iain Sandoe <iain@sandoe.co.uk>
693
694 * config/rs6000/t-darwin: Ensure that the unwinder is built with
695 altivec enabled.
696
d1b2f85f
JL
6972019-06-06 Jozef Lawrynowicz <jozef.l@mittosystems.com>
698
699 * config/msp430/slli.S (__mspabi_slli_n): Put function in its own
700 section.
701 (__mspabi_slli): Likewise.
702 (__mspabi_slll_n): Likewise.
703 (__mspabi_slll): Likewise.
704 * config/msp430/srai.S (__mspabi_srai_n): Likewise.
705 (__mspabi_srai): Likewise.
706 (__mspabi_sral_n): Likewise.
707 (__mspabi_sral): Likewise.
708 * config/msp430/srli.S (__mspabi_srli_n): Likewise.
709 (__mspabi_srli): Likewise.
710 (__mspabi_srll_n): Likewise.
711 (__mspabi_srll): Likewise.
712
e69a13d1
YS
7132019-06-05 Yoshinori Sato <ysato@users.sourceforge.jp>
714
715 * config.host (rx-*-linux*): Add t-fdpbit to tmake_file
716 Add appropriate tm_file clause as well.
717 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Remove.
718
b009eac1
JC
7192019-06-05 James Clarke <jrtc27@jrtc27.com>
720
721 * config/ia64/crtbegin.S (__dso_handle): Put in .sdata/.sbss
722 rather than .data/.bss so it can be accessed via gp-relative
723 addressing.
724
781d39f2
DE
7252019-06-05 David Edelsohn <dje.gcc@gmail.com>
726
727 * config/rs6000/aix-unwind.h (LR_REGNO): Rename to R_LR.
728 (CR2_REGNO): Rename to R_CR2.
729 (XER_REGNO): Rename to R_XER.
730 (FIRST_ALTIVEC_REGNO): Rename to R_FIRST_ALTIVEC.
731 (VRSAVE_REGNO): Rename to R_VRSAVE.
732 (VSCR_REGNO): R_VSCR.
733
76aaa9cd
YS
7342019-05-29 Yoshinori Sato <ysato@users.sourceforge.jp>
735
736 * config.host (rx-*-linux*): Add new case.
737 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Force DFmode to SFmode.
738
8fc16d72
ST
7392019-05-29 Sam Tebbs <sam.tebbs@arm.com>
740
741 * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key): New
742 function.
743 * config/aarch64/aarch64-unwind.h (aarch64_post_extract_frame_addr,
744 aarch64_post_frob_eh_handler_addr): Add check for b-key.
745 * config/aarch64/aarch64-unwind-h (aarch64_post_extract_frame_addr,
746 aarch64_post_frob_eh_handler_addr, aarch64_post_frob_update_context):
747 Rename RA_A_SIGNED_BIT to RA_SIGNED_BIT.
748 * unwind-dw2-fde.c (get_cie_encoding): Add check for 'B' in augmentation
749 string.
750 * unwind-dw2.c (extract_cie_info): Add check for 'B' in augmentation
751 string.
752 (RA_A_SIGNED_BIT): Rename to RA_SIGNED_BIT.
753
e54b1a92
RO
7542019-05-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
755
756 * config/sparc/sol2-unwind.h [__arch64__] (sparc64_is_sighandler):
757 Remove Solaris 9 and 10 support.
758 (sparc_is_sighandler): Likewise.
759
abbb8307
JDA
7602019-05-26 John David Anglin <danglin@gcc.gnu.org>
761
762 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Add cast.
763
2581344d
L
7642019-05-17 H.J. Lu <hongjiu.lu@intel.com>
765
766 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
767 4_FP_W_TYPEs are used for IEEE quad precision.
768 * soft-fp/extendhftf2.c: Likewise.
769 * soft-fp/extendsftf2.c: Likewise.
770 * soft-fp/extendxftf2.c: Likewise.
771 * soft-fp/trunctfdf2.c: Likewise.
772 * soft-fp/trunctfhf2.c: Likewise.
773 * soft-fp/trunctfsf2.c: Likewise.
774 * soft-fp/trunctfxf2.c: Likewise.
775 * config/rs6000/ibm-ldouble.c: Likewise.
776
ccd1242e
RO
7772019-05-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
778
779 * config.host: Simplify various *-*-solaris2.1[0-9]* to
780 *-*-solaris2*.
781 * configure.ac: Likewise.
782 * configure: Regenerate.
783
784 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
785 Solaris 10 and Solaris 11 < snv_125 handling.
786
ef5eb79d
IS
7872019-05-12 Iain Sandoe <iain@sandoe.co.uk>
788
789 * config/rs6000/darwin-vecsave.S: Set .machine appropriately.
790
4f0e90fa
HL
7912019-05-07 Hongtao Liu <hongtao.liu@intel.com>
792
793 * config/i386/cpuinfo.c (get_available_features): Detect BF16.
794 * config/i386/cpuinfo.h (enum processor_features): Add
795 FEATURE_AVX512BF16.
796
48528842
RR
7972019-04-23 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
798 Bernd Edlinger <bernd.edlinger@hotmail.de>
799 Jakub Jelinek <jakub@redhat.com>
800
801 PR target/89093
802 * config/arm/pr-support.c: Add #pragma GCC target("general-regs-only").
803 * config/arm/unwind-arm.c: Likewise.
804 * unwind-c.c (PERSONALITY_FUNCTION): Add general-regs-only target
805 attribute for ARM.
806
887e182f
MC
8072019-04-15 Monk Chiang <sh.chiang04@gmail.com>
808
809 * config/nds32/linux-unwind.h (SIGRETURN): Remove.
810 (RT_SIGRETURN): Update.
811 (nds32_fallback_frame_state): Update.
812
a90b0cdd
MS
8132019-02-21 Martin Sebor <msebor@redhat.com>
814
815 * libgcc2.h (__clear_cache): Correct signature.
816 * libgcc2.c (__clear_cache): Same.
817
1ed28eda
UB
8182019-02-20 Uroš Bizjak <ubizjak@gmail.com>
819
820 * config/alpha/linux-unwind.h (alpha_fallback_frame_state):
821 Cast 'mcontext_t *' &rt_->uc.uc_mcontext to 'struct sigcontext *'.
822
fe95aee9
UB
8232019-02-19 Uroš Bizjak <ubizjak@gmail.com>
824
825 * unwind-dw2.c (_Unwind_GetGR) [DWARF_ZERO_REG]: Compare
826 regno instead of index to DWARF_ZERO_REG.
827
bf7988f1
EB
8282019-02-15 Eric Botcazou <ebotcazou@adacore.com>
829
830 * config/visium/lib2funcs.c (__set_trampoline_parity): Replace
831 TRAMPOLINE_SIZE with __LIBGCC_TRAMPOLINE_SIZE__.
832
ba2c1ca8
UB
8332019-01-31 Uroš Bizjak <ubizjak@gmail.com>
834
835 * config/alpha/t-linux: Add -mfp-rounding-mode=d
836 to HOST_LIBGCC2_CFLAGS.
837
6395ba73
L
8382019-01-23 Joseph Myers <joseph@codesourcery.com>
839
840 PR libgcc/88931
ba2c1ca8 841 * libgcc2.c (FSTYPE FUNC (DWtype u)): Correct no leading bits case.
6395ba73 842
756721ba
ML
8432019-01-18 Martin Liska <mliska@suse.cz>
844
845 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Rename
846 to ...
847 (__gcov_indirect_call_profiler_v3): ... this.
848 * libgcov.h (__gcov_indirect_call_profiler_v2): Likewise.
849 (__gcov_indirect_call_profiler_v3): Likewise.
850 * Makefile.in: Bump function name.
851
d273c40a
ML
8522019-01-18 Martin Liska <mliska@suse.cz>
853
854 * libgcov-driver.c (GCOV_PROF_PREFIX): Define.
855 (gcov_version): Use in gcov_error.
856 (merge_one_data): Likewise.
857 (dump_one_gcov): Likewise.
858
be9d9fdb
ML
8592019-01-18 Martin Liska <mliska@suse.cz>
860
861 * libgcov-driver.c (gcov_version_string): New function.
862 (gcov_version): Convert version integer into string.
863
91d7b7fe
AS
8642019-01-17 Andrew Stubbs <ams@codesourcery.com>
865 Kwok Cheung Yeung <kcy@codesourcery.com>
866 Julian Brown <julian@codesourcery.com>
867 Tom de Vries <tom@codesourcery.com>
868
869 * config.host: Recognize amdgcn*-*-amdhsa.
870 * config/gcn/crt0.c: New file.
871 * config/gcn/lib2-divmod-hi.c: New file.
872 * config/gcn/lib2-divmod.c: New file.
873 * config/gcn/lib2-gcn.h: New file.
874 * config/gcn/sfp-machine.h: New file.
875 * config/gcn/t-amdgcn: New file.
876
67914693
SL
8772019-01-09 Sandra Loosemore <sandra@codesourcery.com>
878
879 PR other/16615
880
881 * config/c6x/libunwind.S: Mechanically replace "can not" with
882 "cannot".
883 * config/tilepro/atomic.h: Likewise.
884 * config/vxlib-tls.c: Likewise.
885 * generic-morestack-thread.c: Likewise.
886 * generic-morestack.c: Likewise.
887 * mkmap-symver.awk: Likewise.
888
a5544970
JJ
8892019-01-01 Jakub Jelinek <jakub@redhat.com>
890
891 Update copyright years.
892
da77eace
L
8932018-12-20 H.J. Lu <hongjiu.lu@intel.com>
894
895 * unwind-pe.h (read_encoded_value_with_base): Add GCC pragma
896 to ignore -Waddress-of-packed-member.
897
72e3a529
TP
8982018-12-19 Thomas Preud'homme <thomas.preudhomme@linaro.org>
899
900 * /config/arm/lib1funcs.S (FUNC_START): Remove unused sp_section
901 parameter and corresponding code.
902 (ARM_FUNC_START): Likewise in both definitions.
903 Also update footer comment about condition that need to match with
904 gcc/config/arm/elf.h to also include libgcc/config/arm/t-arm.
905 * config/arm/ieee754-df.S (muldf3): Also build it if L_arm_muldf3 is
906 defined. Weakly define it in this case.
907 * config/arm/ieee754-sf.S (mulsf3): Likewise with L_arm_mulsf3.
908 * config/arm/t-elf (LIB1ASMFUNCS): Build _arm_muldf3.o and
909 _arm_mulsf3.o before muldiv versions if targeting Thumb-1 only. Add
910 comment to keep condition in sync with the one in
911 libgcc/config/arm/lib1funcs.S and gcc/config/arm/elf.h.
912
5d54c798
WX
9132018-12-18 Wei Xiao <wei3.xiao@intel.com>
914
915 * config/i386/cpuinfo.c (get_intel_cpu): Handle cascadelake.
916 * config/i386/cpuinfo.h: Add INTEL_COREI7_CASCADELAKE.
917
5a2580b6
RV
9182018-12-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
919
920 * config/rs6000/tramp.S (__trampoline_setup): Also emit .size
921 and .cfi_endproc directives for VxWorks targets.
922
c0c5112b
PK
9232018-12-05 Paul Koning <ni1d@arrl.net>
924
925 * udivmodhi4.c (__udivmodhi4): Fix loop end check.
926
1ea7ea18
AM
9272018-11-27 Alan Modra <amodra@gmail.com>
928
929 * config/rs6000/morestack.S (__stack_split_initialize),
930 (__morestack_get_guard, __morestack_set_guard),
931 (__morestack_make_guard): Provide CFI covering these functions.
932 * config/rs6000/tramp.S (__trampoline_setup): Likewise.
933
ff641ae1
XQ
9342018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
935
1ea7ea18 936 * config/csky/linux-unwind.h (sc_pt_regs): Update for kernel.
ff641ae1
XQ
937 (sc_pt_regs_lr): Update for kernel.
938 (sc_pt_regs_tls): Update for kernel.
939
28209372
XQ
9402018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
941
942 * config/csky/linux-unwind.h: Fix coding style.
943
b2a71af6
XQ
9442018-11-13 Xianmiao Qu <xianmiao_qu@c-sky.com>
945
946 * config/csky/linux-unwind.h (_sig_ucontext_t): Remove.
1ea7ea18 947 (csky_fallback_frame_state): Modify the check of the
b2a71af6
XQ
948 instructions to adapt to changes in the kernel
949
d929e137
SH
9502018-11-09 Stafford Horne <shorne@gmail.com>
951 Richard Henderson <rth@twiddle.net>
952
953 * config.host: Add OpenRISC support.
954 * config/or1k/*: New.
955
222cfefa
KC
9562018-11-08 Kito Cheng <kito@andestech.com>
957
958 * soft-fp/adddf3.c: Update from glibc.
959 * soft-fp/addsf3.c: Likewise.
960 * soft-fp/addtf3.c: Likewise.
961 * soft-fp/divdf3.c: Likewise.
962 * soft-fp/divsf3.c: Likewise.
963 * soft-fp/divtf3.c: Likewise.
964 * soft-fp/double.h: Likewise.
965 * soft-fp/eqdf2.c: Likewise.
966 * soft-fp/eqsf2.c: Likewise.
967 * soft-fp/eqtf2.c: Likewise.
968 * soft-fp/extenddftf2.c: Likewise.
969 * soft-fp/extended.h: Likewise.
970 * soft-fp/extendhftf2.c: Likewise.
971 * soft-fp/extendsfdf2.c: Likewise.
972 * soft-fp/extendsftf2.c: Likewise.
973 * soft-fp/extendxftf2.c: Likewise.
974 * soft-fp/fixdfdi.c: Likewise.
975 * soft-fp/fixdfsi.c: Likewise.
976 * soft-fp/fixdfti.c: Likewise.
977 * soft-fp/fixhfti.c: Likewise.
978 * soft-fp/fixsfdi.c: Likewise.
979 * soft-fp/fixsfsi.c: Likewise.
980 * soft-fp/fixsfti.c: Likewise.
981 * soft-fp/fixtfdi.c: Likewise.
982 * soft-fp/fixtfsi.c: Likewise.
983 * soft-fp/fixtfti.c: Likewise.
984 * soft-fp/fixunsdfdi.c: Likewise.
985 * soft-fp/fixunsdfsi.c: Likewise.
986 * soft-fp/fixunsdfti.c: Likewise.
987 * soft-fp/fixunshfti.c: Likewise.
988 * soft-fp/fixunssfdi.c: Likewise.
989 * soft-fp/fixunssfsi.c: Likewise.
990 * soft-fp/fixunssfti.c: Likewise.
991 * soft-fp/fixunstfdi.c: Likewise.
992 * soft-fp/fixunstfsi.c: Likewise.
993 * soft-fp/fixunstfti.c: Likewise.
994 * soft-fp/floatdidf.c: Likewise.
995 * soft-fp/floatdisf.c: Likewise.
996 * soft-fp/floatditf.c: Likewise.
997 * soft-fp/floatsidf.c: Likewise.
998 * soft-fp/floatsisf.c: Likewise.
999 * soft-fp/floatsitf.c: Likewise.
1000 * soft-fp/floattidf.c: Likewise.
1001 * soft-fp/floattihf.c: Likewise.
1002 * soft-fp/floattisf.c: Likewise.
1003 * soft-fp/floattitf.c: Likewise.
1004 * soft-fp/floatundidf.c: Likewise.
1005 * soft-fp/floatundisf.c: Likewise.
1006 * soft-fp/floatunditf.c: Likewise.
1007 * soft-fp/floatunsidf.c: Likewise.
1008 * soft-fp/floatunsisf.c: Likewise.
1009 * soft-fp/floatunsitf.c: Likewise.
1010 * soft-fp/floatuntidf.c: Likewise.
1011 * soft-fp/floatuntihf.c: Likewise.
1012 * soft-fp/floatuntisf.c: Likewise.
1013 * soft-fp/floatuntitf.c: Likewise.
1014 * soft-fp/gedf2.c: Likewise.
1015 * soft-fp/gesf2.c: Likewise.
1016 * soft-fp/getf2.c: Likewise.
1017 * soft-fp/half.h: Likewise.
1018 * soft-fp/ledf2.c: Likewise.
1019 * soft-fp/lesf2.c: Likewise.
1020 * soft-fp/letf2.c: Likewise.
1021 * soft-fp/muldf3.c: Likewise.
1022 * soft-fp/mulsf3.c: Likewise.
1023 * soft-fp/multf3.c: Likewise.
1024 * soft-fp/negdf2.c: Likewise.
1025 * soft-fp/negsf2.c: Likewise.
1026 * soft-fp/negtf2.c: Likewise.
1027 * soft-fp/op-1.h: Likewise.
1028 * soft-fp/op-2.h: Likewise.
1029 * soft-fp/op-4.h: Likewise.
1030 * soft-fp/op-8.h: Likewise.
1031 * soft-fp/op-common.h: Likewise.
1032 * soft-fp/quad.h: Likewise.
1033 * soft-fp/single.h: Likewise.
1034 * soft-fp/soft-fp.h: Likewise.
1035 * soft-fp/subdf3.c: Likewise.
1036 * soft-fp/subsf3.c: Likewise.
1037 * soft-fp/subtf3.c: Likewise.
1038 * soft-fp/truncdfsf2.c: Likewise.
1039 * soft-fp/trunctfdf2.c: Likewise.
1040 * soft-fp/trunctfhf2.c: Likewise.
1041 * soft-fp/trunctfsf2.c: Likewise.
1042 * soft-fp/trunctfxf2.c: Likewise.
1043 * soft-fp/unorddf2.c: Likewise.
1044 * soft-fp/unordsf2.c: Likewise.
1045 * soft-fp/unordtf2.c: Likewise.
1046
2901f42f
VK
10472018-11-04 Venkataramanan Kumar <Venkataramanan.kumar@amd.com>
1048
1049 * config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
1050 * config/i386/cpuinfo.h (processor_types): Add znver2.
1051
4310ca66
PK
10522018-11-01 Paul Koning <ni1d@arrl.net>
1053
1054 * config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c.
1055 (HOST_LIBGCC2_CFLAGS): Change to optimize for size.
1056
22e05272
JM
10572018-10-31 Joseph Myers <joseph@codesourcery.com>
1058
1059 PR bootstrap/82856
1060 * configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
1061 * configure: Regenerate.
1062
8180cde0
CZ
10632018-10-31 Claudiu Zissulescu <claziss@synopsys.com>
1064
1065 * config/arc/lib1funcs.S (_muldi3): New function.
1066 * config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
1067
be7b071e
RV
10682018-10-30 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1069
1070 * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
1071
3239d726
ML
10722018-10-25 Martin Liska <mliska@suse.cz>
1073
1074 PR other/87735
1075 * libgcov-profiler.c: Revert.
1076
19b55958
ML
10772018-10-24 Martin Liska <mliska@suse.cz>
1078
1079 * libgcov-profiler.c: Start from 1 in order to distinguish
1080 functions which were seen and these that were not.
1081
a9a2fddb
PK
10822018-10-18 Paul Koning <ni1d@arrl.net>
1083
1084 * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
1085 standard.
1086 * divmod.c: Update references to __udivmodsi4.
1087 * udivmod.c: Ditto.
1088 * udivhi3.c: New file.
1089 * udivmodhi4.c: New file.
1090 * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
1091
fc8abc46
RV
10922018-10-17 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1093
1094 * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
1095
87f918e3
OH
10962018-10-12 Olivier Hainque <hainque@adacore.com>
1097
1098 * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
1099 defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
1100
be86efa7
PK
11012018-10-08 Paul Koning <ni1d@arrl.net>
1102
1103 * config/pdp11/t-pdp11: Remove -mfloat32 switch.
1104
3edbcdbe
ML
11052018-10-04 Martin Liska <mliska@suse.cz>
1106
1107 PR gcov-profile/84107
1108 * libgcov-profiler.c (__gcov_indirect_call):
1109 Change type to indirect_call_tuple.
1110 (struct indirect_call_tuple): New struct.
1111 (__gcov_indirect_call_topn_profiler): Change type.
1112 (__gcov_indirect_call_profiler_v2): Use the new
1113 variables.
1114 * libgcov.h (struct indirect_call_tuple): New struct
1115 definition.
1116
af8096fc
UB
11172018-10-03 Uros Bizjak <ubizjak@gmail.com>
1118
1119 * libgcc2.c (isnan): Use __builtin_isnan.
1120 (isfinite): Use __builtin_isfinite.
1121 (isinf): Use __builtin_isinf.
1122
0a76bba4
UB
11232018-09-26 Uros Bizjak <ubizjak@gmail.com>
1124
1125 * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
1126
5244089f
OH
11272018-09-21 Alexandre Oliva <oliva@adacore.com>
1128
1129 * config/vxcache.c: New file. Provide __clear_cache, based on
1130 the cacheTextUpdate VxWorks service.
1131 * config/t-vxworks (LIB2ADD): Add vxcache.c.
1132 (LIB2FUNCS_EXCLUDE): Add _clear_cache.
1133 * config/t-vxwoks7: Likewise.
1134
512cc015
ML
11352018-09-21 Martin Liska <mliska@suse.cz>
1136
1137 * libgcov-driver.c (crc32_unsigned): Remove.
1138 (gcov_histogram_insert): Likewise.
1139 (gcov_compute_histogram): Likewise.
1140 (compute_summary): Simplify rapidly.
1141 (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
1142 (merge_summary): Rapidly simplify.
1143 (dump_one_gcov): Ignore gcov_summary.
1144 (gcov_do_dump): Do not handle program summary, it's not
1145 used.
1146 * libgcov-util.c (tag_summary): Remove.
1147 (read_gcda_finalize): Fix coding style.
1148 (read_gcda_file): Initialize curr_object_summary.
1149 (compute_summary): Remove.
1150 (calculate_overlap): Remove settings of run_max.
1151
36ff254b
MC
11522018-09-21 Monk Chiang <sh.chiang04@gmail.com>
1153
1154 * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
1155 ucontext_t type instead.
1156 (nds32_fallback_frame_state): Remove struct _sigframe statement.
1157
229a033d
KC
11582018-09-21 Kito Cheng <kito.cheng@gmail.com>
1159
1160 * config/nds32/t-nds32-glibc: New file.
1161
53c6feb2
RO
11622018-09-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1163
1164 * configure.ac (solaris_ld_v2_maps): New test.
1165 * configure: Regenerate.
1166 * Makefile.in (solaris_ld_v2_maps): New variable.
1167 * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
1168 if supported.
1169
ebdb6f23
RE
11702018-08-23 Richard Earnshaw <rearnsha@arm.com>
1171
1172 PR target/86951
1173 * config/arm/lib1funcs.asm (speculation_barrier): New function.
1174 * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
1175 to build.
1176
a49c064e
IS
11772018-08-22 Iain Sandoe <iain@sandoe.co.uk>
1178
1ea7ea18 1179 * config/unwind-dw2-fde-darwin.c
a49c064e
IS
1180 (_darwin10_Unwind_FindEnclosingFunction): move from here ...
1181 * config/darwin10-unwind-find-enc-func.c: … to here.
1182 * config/t-darwin: Build Darwin10 unwinder shim crt.
1183 * libgcc/config.host: Add the Darwin10 unwinder shim.
1184
9a5b8df7
RV
11852018-08-21 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1186
1187 * config.host: Add crtbegin.o and crtend.o for
1188 powerpc-wrs-vxworks target.
1189
4cd0bc3b
J
11902018-08-17 Jojo <jijie_rong@c-sky.com>
1191 Huibin Wang <huibin_wang@c-sky.com>
1192 Sandra Loosemore <sandra@codesourcery.com>
1193 Chung-Lin Tang <cltang@codesourcery.com>
1194
1195 C-SKY port: libgcc
1196
1197 * config.host: Add C-SKY support.
1198 * config/csky/*: New.
1199
a4931745
CJW
12002018-08-12 Chung-Ju Wu <jasonwucj@gmail.com>
1201
1202 * config/nds32/t-nds32-isr: Rearrange object dependency.
1203 * config/nds32/initfini.c: Add dwarf2 unwinding support.
1204 * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
1205 and registers usage.
1206 * config/nds32/isr-library/excp_isr.S: Ditto.
1207 * config/nds32/isr-library/intr_isr.S: Ditto.
1208 * config/nds32/isr-library/reset.S: Ditto.
1209 * config/nds32/isr-library/restore_all.inc: Ditto.
1210 * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
1211 * config/nds32/isr-library/restore_partial.inc: Ditto.
1212 * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
1213 * config/nds32/isr-library/save_all.inc: Ditto.
1214 * config/nds32/isr-library/save_mac_regs.inc: Ditto.
1215 * config/nds32/isr-library/save_partial.inc: Ditto.
1216 * config/nds32/isr-library/save_usr_regs.inc: Ditto.
1217 * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
1218
2b1969f6
JDA
12192018-08-11 John David Anglin <danglin@gcc.gnu.org>
1220
1221 * config/pa/linux-atomic.c: Update comment.
1222 (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
1223 COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
1224 SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
1225 __ATOMIC_RELAXED for atomic loads.
1226 (SYNC_LOCK_RELEASE_1): New define. Use __sync_synchronize() and
1227 unordered store to release lock.
1228 (__sync_lock_release_8): Likewise.
1229 (SYNC_LOCK_RELEASE_2): Remove define.
af8096fc 1230
89fff9cc
NP
12312018-08-02 Nicolas Pitre <nico@fluxnic.net>
1232
1233 PR libgcc/86512
1234 * config/arm/ieee754-df.S: Don't shortcut denormal handling when
1235 exponent goes negative. Update my email address.
1236 * config/arm/ieee754-sf.S: Likewise.
1237
fd2e1dcd
ML
12382018-08-01 Martin Liska <mliska@suse.cz>
1239
1240 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
92a285c1 1241 check that __gcov_indirect_call_callee is non-null.
fd2e1dcd 1242
b7415975
CL
12432018-07-30 Christophe Lyon <christophe.lyon@linaro.org>
1244
1245 * config/arm/ieee754-df.S: Fix comment for code working on
1246 architectures >= 4.
1247 * config/arm/ieee754-sf.S: Likewise.
1248
b72e71a3
L
12492018-07-27 H.J. Lu <hongjiu.lu@intel.com>
1250
1251 PR libgcc/85334
1252 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
1253 Removed.
1254
1c686aa4
JC
12552018-07-05 James Clarke <jrtc27@jrtc27.com>
1256
1257 * configure: Regenerated.
1258
b61c9b99
RO
12592018-06-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1260
1261 * Makefile.in (install_leaf): Use enable_gcov instead of
1262 enable_libgcov.
1263
1765b023
RV
12642018-06-27 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1265
1266 * configure.ac: Add --disable-gcov option.
1267 * configure: Regenerate.
1268 * Makefile.in: Honour @enable_gcov@.
1269
9b2e34ef
CL
12702018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
1271
1272 * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
1273 __ARM_ARCH and __ARM_FEATURE_CLZ instead.
1274 (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
1275 * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
1276 __ARM_ARCH__.
1277 * config/arm/ieee754-sf.S: Likewise.
1278 * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
1279
d1b0dd54
CL
12802018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
1281
1282 * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
1283 longer supported.
1284 * config/arm/ieee754-sf.S: Likewise.
1285
1f3fa525
TM
12862018-06-20 Than McIntosh <thanm@google.com>
1287
1288 PR libgcc/86213
1289 * generic-morestack.c (allocate_segment): Move calls to getenv and
1290 getpagesize to __morestack_load_mmap.
1291 (__morestack_load_mmap) Initialize static_pagesize and
1292 use_guard_page here so as to avoid clobbering SSE regs during a
1293 __morestack call.
1294
6a8886e4
MM
12952018-06-18 Michael Meissner <meissner@linux.ibm.com>
1296
1297 * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
1298 support modules with -mno-gnu-attribute.
1299 * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
1300
fb997097
OH
13012018-06-07 Olivier Hainque <hainque@adacore.com>
1302
1303 * config/t-vxworks (LIBGCC_INCLUDES): Add
1304 -I$(MULTIBUILDTOP)../../gcc/include.
1305 * config/t-vxworks7: Likewise. Reformat a bit to match
1306 the t-vxworks layout.
1307
a548a5a1
OM
13082018-06-07 Olga Makhotina <olga.makhotina@intel.com>
1309
1310 * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
1311
244aebfd
ML
13122018-06-07 Martin Liska <mliska@suse.cz>
1313
1314 * libgcov-driver.c: Rename cs_all to all and assign it from
92a285c1 1315 all_prg.
244aebfd 1316
6c086e8c
ML
13172018-06-07 Martin Liska <mliska@suse.cz>
1318
92a285c1 1319 PR bootstrap/86057
6c086e8c 1320 * libgcov-driver-system.c (replace_filename_variables): Use
92a285c1 1321 memcpy instead of mempcpy.
6c086e8c 1322 (allocate_filename_struct): Do not allocate filename, allocate
92a285c1 1323 prefix and set it.
6c086e8c 1324 (gcov_exit_open_gcda_file): Allocate memory for gf->filename
92a285c1 1325 here and properly copy content into it.
6c086e8c 1326 * libgcov-driver.c (struct gcov_filename): Remove max_length
92a285c1 1327 field, change prefix from size_t into char *.
6c086e8c
ML
1328 (compute_summary): Do not calculate longest filename.
1329 (gcov_do_dump): Release memory of gf.filename after each file.
1330 * libgcov-util.c (compute_summary): Use new signature of
92a285c1 1331 compute_summary.
6c086e8c
ML
1332 (calculate_overlap): Likewise.
1333
97a53d1d
ML
13342018-06-05 Martin Liska <mliska@suse.cz>
1335
1336 PR gcov-profile/47618
1337 * libgcov-driver-system.c (replace_filename_variables): New
92a285c1 1338 function.
97a53d1d
ML
1339 (gcov_exit_open_gcda_file): Use it.
1340
7f3577f5
ML
13412018-06-05 Martin Liska <mliska@suse.cz>
1342
1343 * libgcov-driver.c (gcov_compute_histogram): Remove usage
1344 of gcov_ctr_summary.
1345 (compute_summary): Do it just for a single summary.
1346 (merge_one_data): Likewise.
1347 (merge_summary): Simplify as we read just single summary.
1348 (dump_one_gcov): Pass proper argument.
1349 * libgcov-util.c (compute_one_gcov): Simplify as we have just
1350 single summary.
1351 (gcov_info_count_all_cold): Likewise.
1352 (calculate_overlap): Likewise.
1353
cf3cd43d
CJW
13542018-06-02 Chung-Ju Wu <jasonwucj@gmail.com>
1355 Monk Chiang <sh.chiang04@gmail.com>
1356
1357 * config.host (nds32*-linux*): New.
1358 * config/nds32/linux-atomic.c: New file.
1359 * config/nds32/linux-unwind.h: New file.
1360
8b8003ed
UB
13612018-05-31 Uros Bizjak <ubizjak@gmail.com>
1362
1363 PR target/85591
1364 * config/i386/cpuinfo.c (get_amd_cpu): Return
1365 AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
1366
bbdf026f
RV
13672018-05-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
1368
92a285c1 1369 * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
bbdf026f 1370
0e8f29da
ML
13712018-05-29 Martin Liska <mliska@suse.cz>
1372
92a285c1 1373 PR gcov-profile/85759
0e8f29da 1374 * libgcov-driver-system.c (gcov_error): Introduce usage of
92a285c1 1375 GCOV_EXIT_AT_ERROR env. variable.
0e8f29da 1376 * libgcov-driver.c (merge_one_data): Print error that we
92a285c1 1377 overwrite a gcov file with a different timestamp.
0e8f29da 1378
54fd1590
K
13792018-05-23 Kalamatee <kalamatee@gmail.com>
1380
1381 * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
1382 path to Lf$finfty.
1383
09baee1a
KC
13842018-05-18 Kito Cheng <kito.cheng@gmail.com>
1385 Monk Chiang <sh.chiang04@gmail.com>
1386 Jim Wilson <jimw@sifive.com>
1387
1388 * config/riscv/save-restore.S: Add support for rv32e.
1389
c3f808d3
KT
13902018-05-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1391
1392 * config/arm/libunwind.S: Update comment relating to armv5.
1393
fcf4f831
JL
13942018-05-17 Jerome Lambourg <lambourg@adacore.com>
1395
1396 * config/arm/cmse.c (cmse_check_address_range): Replace
1397 UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
1398
74b2bb19
OM
13992018-05-17 Olga Makhotina <olga.makhotina@intel.com>
1400
1401 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
1402 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
1403
50e461df
OM
14042018-05-08 Olga Makhotina <olga.makhotina@intel.com>
1405
1406 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
1407 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
1408
e5f1cdb1
AC
14092018-05-07 Amaan Cheval <amaan.cheval@gmail.com>
1410
1411 * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
1412
8f479d7a
AT
14132018-04-27 Andreas Tobler <andreast@gcc.gnu.org>
1414 Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
1415
1416 PR libgcc/84292
1417 * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
1418 op_and_fetch to return the right result.
1419
ae043291
AM
14202018-04-27 Alan Modra <amodra@gmail.com>
1421
1422 PR libgcc/85532
1423 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
1424 -fno-asynchronous-unwind-tables.
1425
ba169b74
CJW
14262018-04-25 Chung-Ju Wu <jasonwucj@gmail.com>
1427
1428 * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
1429 * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
1430
ffc2fc06
L
14312018-04-24 H.J. Lu <hongjiu.lu@intel.com>
1432
1433 * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
1434 when including "config/i386/shadow-stack-unwind.h".
1435
7b47ecf2
L
14362018-04-24 H.J. Lu <hongjiu.lu@intel.com>
1437
1438 * configure: Regenerated.
1439
661eb8f9
MM
14402018-04-20 Michael Meissner <meissner@linux.ibm.com>
1441
1442 PR target/85456
1443 * config/rs6000/_powikf2.c: New file. Add support for the
1444 __builtin_powil function when long double is IEEE 128-bit floating
1445 point.
1446 * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
1447 __powikf2 support.
1448 (__powikf2): Likewise.
1449 * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
1450 (__powikf2_hw): Likewise.
1451 (__powikf2): Likewise.
1452 * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
1453 * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
1454 (_powikf2-hw.c): Likewise.
1455
5707be3c
L
14562018-04-19 H.J. Lu <hongjiu.lu@intel.com>
1457
1458 PR libgcc/85334
1459 * unwind-generic.h (_Unwind_Frames_Increment): New.
1460 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
1461 Likewise.
1462 * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
1463 count with _Unwind_Frames_Increment.
1464 (_Unwind_ForcedUnwind_Phase2): Likewise.
1465
5f9ca0b8
L
14662018-04-19 H.J. Lu <hongjiu.lu@intel.com>
1467
1468 PR libgcc/85379
1469 * config/i386/morestack.S (__stack_split_initialize): Add
1470 _CET_ENDBR.
1471
a0e1df88
JJ
14722018-04-19 Jakub Jelinek <jakub@redhat.com>
1473
1474 * configure: Regenerated.
1475
001ddaa8
DM
14762018-04-18 David Malcolm <dmalcolm@redhat.com>
1477
1478 PR jit/85384
1479 * configure: Regenerate.
1480
a57f99ba
JJ
14812018-04-16 Jakub Jelinek <jakub@redhat.com>
1482
1483 PR target/84945
1484 * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
1485 -Wdangling-else warnings. Mask shift counts to avoid
1486 -Wshift-count-negative and -Wshift-count-overflow false positives.
1487
4d47fe5a
RB
14882018-04-06 Ruslan Bukin <br@bsdpad.com>
1489
1490 * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
1491
059cc8ac
L
14922018-03-29 H.J. Lu <hongjiu.lu@intel.com>
1493
1494 PR target/85100
1495 * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
1496 (XSTATE_FP): Likewise.
1497 (XSTATE_SSE): Likewise.
1498 (XSTATE_YMM): Likewise.
1499 (XSTATE_OPMASK): Likewise.
1500 (XSTATE_ZMM): Likewise.
1501 (XSTATE_HI_ZMM): Likewise.
1502 (XCR_AVX_ENABLED_MASK): Likewise.
1503 (XCR_AVX512F_ENABLED_MASK): Likewise.
1504 (get_available_features): Enable AVX and AVX512 features only
1505 if their states are supported by OSXSAVE.
1506
f2620385
IT
15072018-03-22 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1508
1509 PR target/85025
1510 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
1511 Fix a typo, tmp => 255.
1512
ae6dca8c
JJ
15132018-03-20 Jakub Jelinek <jakub@redhat.com>
1514
1515 PR target/84945
1516 * config/i386/cpuinfo.h (__cpu_features2): Declare.
1517 * config/i386/cpuinfo.c (__cpu_features2): New variable for
1518 ifndef SHARED only.
1519 (set_feature): Define.
1520 (get_available_features): Use set_feature macro. Set __cpu_features2
1521 to the second word of features ifndef SHARED.
1522
c36b04c1
JK
15232018-03-15 Julia Koval <julia.koval@intel.com>
1524
1525 * config/i386/cpuinfo.c (get_available_features): Add
1526 FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
1527 FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
1528 * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
1529 FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
1530 FEATURE_AVX512BITALG.
1531
79ab5364
JK
15322018-03-14 Julia Koval <julia.koval@intel.com>
1533
1534 * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
1535 icelake client and icelake server.
1536
66a00b11
JDA
15372018-03-06 John David Anglin <danglin@gcc.gnu.org>
1538
1539 * config/pa/fptr.c (_dl_read_access_allowed): New.
1540 (__canonicalize_funcptr_for_compare): Use it.
af8096fc 1541
ce579a4f
JJ
15422018-02-28 Jakub Jelinek <jakub@redhat.com>
1543
1544 PR debug/83917
1545 * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
1546 $asm_hidden_op if visibility ("hidden") attribute works.
1547 (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
1548 * config/i386/i386-asm.h: Don't include auto-host.h.
1549 (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
1550 PACKAGE_URL): Don't undefine.
1551 (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
1552 guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
1553 (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
1554 #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
1555 definition instead of hardcoded .hidden.
1556 * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
1557 directive. Use #ifdef HAVE_AS_CFI_SECTIONS rather than
1558 #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
1559 (USE_GAS_CFI_DIRECTIVES): Don't define.
1560 * configure: Regenerated.
1561 * config.in: Likewise.
1562
e5868319
JJ
15632018-02-26 Jakub Jelinek <jakub@redhat.com>
1564
1565 PR debug/83917
1566 * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
1567 PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
1568 inclusion of auto-target.h and auto-host.h.
1569 (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
1570 __GCC_HAVE_DWARF2_CFI_ASM.
1571 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
1572 cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
1573 cfi_pop): Define.
1574 * config/i386/cygwin.S: Don't include auto-host.h here, just
1575 define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
1576 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
1577 cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
1578 * config/i386/resms64fx.h: Add cfi_* directives.
1579 * config/i386/resms64x.h: Likewise.
1580
faef260e
MF
15812018-02-20 Max Filippov <jcmvbkbc@gmail.com>
1582
1583 * config/xtensa/ieee754-df.S (__adddf3_aux): Add
1584 .literal_position directive.
1585 * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
1586
14e335ed
IT
15872018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1588
1589 PR target/84148
1590 * configure: Regenerate.
1591
95df0433
IT
15922018-02-16 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1593
1594 PR target/84239
1595 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
1596 Include cetintrin.h not x86intrin.h.
1597
f8de876d
IT
15982018-02-08 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1599
1600 PR target/84239
95df0433 1601 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
f8de876d
IT
1602 Use new _get_ssp and _inc_ssp intrinsics.
1603
02da1e9c
JK
16042018-02-02 Julia Koval <julia.koval@intel.com>
1605
1606 * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
1607
048c6a9a
CZ
16082018-01-26 Claudiu Zissulescu <claziss@synopsys.com>
1609
1610 * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
1611 option.
1612 (__divsi3): Use RF16 safe registers.
1613 (__modsi3): Likewise.
1614
0889f168
MF
16152018-01-23 Max Filippov <jcmvbkbc@gmail.com>
1616
1617 * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
1618 (__divsf3): Make NaN return value quiet.
1619 * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
1620 (__divdf3): Make NaN return value quiet.
1621
bc8b0d04
SP
16222018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
1623
1624 * config/rl78/anddi3.S: New assembly file.
1625 * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
1626
99cc06ea
SP
16272018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
1628
1629 * config/rl78/umindi3.S: New assembly file.
1630 * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
1631
6e9007a0
SP
16322018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
1633
1634 * config/rl78/smindi3.S: New assembly file.
1635 * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
1636
d975e494 16372018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
af8096fc 1638
d975e494
SP
1639 * config/rl78/smaxdi3.S: New assembly file.
1640 * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
1641
6a18c146 16422018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
af8096fc 1643
5dd16013
SP
1644 * config/rl78/umaxdi3.S: New assembly file.
1645 * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
af8096fc 1646
07baf4a5
JDA
16472018-01-21 John David Anglin <danglin@gcc.gnu.org>
1648
1649 PR lto/83452
1650 * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
1651 * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
af8096fc 1652
dbc3af4f
RS
16532018-01-13 Richard Sandiford <richard.sandiford@linaro.org>
1654
1655 * config/aarch64/value-unwind.h (aarch64_vg): New function.
1656 (DWARF_LAZY_REGISTER_VALUE): Define.
1657 * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
1658 to provide a fallback register value.
1659
68df9882
MM
16602018-01-08 Michael Meissner <meissner@linux.vnet.ibm.com>
1661
1662 * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
1663 __ibm128, instead of trying to use long double.
1664 (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
1665 accomidate -mabi=ieeelongdouble multilibs.
1666 (CVT_IBM128_TO_FLOAT128): Likewise.
1667 * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
1668 the appropriate IBM extended double type.
1669 (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
1670 (__gcc_qsub): Likewise.
1671 (__gcc_qmul): Likewise.
1672 (__gcc_qdiv): Likewise.
1673 (pack_ldouble): Likewise.
1674 (__gcc_qneg): Likewise.
1675 (__gcc_qeq): Likewise.
1676 (__gcc_qne): Likewise.
1677 (__gcc_qge): Likewise.
1678 (__gcc_qle): Likewise.
1679 (__gcc_stoq): Likewise.
1680 (__gcc_dtoq): Likewise.
1681 (__gcc_itoq): Likewise.
1682 (__gcc_utoq): Likewise.
1683 (__gcc_qunord): Likewise.
1684 * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
1685 quad-float128.h for the definitions.
1686 (COPYSIGN): Use the f128 version instead of the q version.
1687 (INFINITY): Likewise.
1688 (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
1689 * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
1690 quad-float128.h for the definitions.
1691 (COPYSIGN): Use the f128 version instead of the q version.
1692 (INFINITY): Likewise.
1693 (FABS): Likewise.
1694 (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
1695 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
1696 * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
1697
64b371b1
SH
16982018-01-05 Sebastian Huber <sebastian.huber@embedded-brains.de>
1699
1700 * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
1701 configuration.
1702
85ec4feb
JJ
17032018-01-03 Jakub Jelinek <jakub@redhat.com>
1704
1705 Update copyright years.
1706
17072017-12-12 Kito Cheng <kito.cheng@gmail.com>
b8d7e076
KC
1708
1709 * config/riscv/t-elf: Use multi3.c instead of multi3.S.
1710 * config/riscv/multi3.c: New file.
1711 * config/riscv/multi3.S: Remove.
1712
3a4c600f
JW
17132017-12-08 Jim Wilson <jimw@sifive.com>
1714
1715 * config/riscv/div.S: Use FUNC_* macros.
1716 * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
1717 * config/riscv/save-restore.S: Likewise.
1718 * config/riscv/riscv-asm.h: New.
1719
75ad35b5
MM
17202017-11-30 Michael Meissner <meissner@linux.vnet.ibm.com>
1721
6ae3512c
MM
1722 * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
1723 * config/rs6000/_divkc3.c (__divkc3): Likewise.
1724
75ad35b5
MM
1725 PR libgcc/83112
1726 * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
1727 correct type for all ifunc resolvers to silence -Wattribute-alias
1728 warnings. Eliminate the forward declaration of the resolver
1729 functions which is no longer needed.
1730 (__subkf3_resolve): Likewise.
1731 (__mulkf3_resolve): Likewise.
1732 (__divkf3_resolve): Likewise.
1733 (__negkf2_resolve): Likewise.
1734 (__eqkf2_resolve): Likewise.
1735 (__nekf2_resolve): Likewise.
1736 (__gekf2_resolve): Likewise.
1737 (__gtkf2_resolve): Likewise.
1738 (__lekf2_resolve): Likewise.
1739 (__ltkf2_resolve): Likewise.
1740 (__unordkf2_resolve): Likewise.
1741 (__extendsfkf2_resolve): Likewise.
1742 (__extenddfkf2_resolve): Likewise.
1743 (__trunckfsf2_resolve): Likewise.
1744 (__trunckfdf2_resolve): Likewise.
1745 (__fixkfsi_resolve): Likewise.
1746 (__fixkfdi_resolve): Likewise.
1747 (__fixunskfsi_resolve): Likewise.
1748 (__fixunskfdi_resolve): Likewise.
1749 (__floatsikf_resolve): Likewise.
1750 (__floatdikf_resolve): Likewise.
1751 (__floatunsikf_resolve): Likewise.
1752 (__floatundikf_resolve): Likewise.
1753 (__extendkftf2_resolve): Likewise.
1754 (__trunctfkf2_resolve): Likewise.
1755
1756 PR libgcc/83103
1757 * config/rs6000/quad-float128.h (TF): Don't define if long double
1758 is IEEE 128-bit floating point.
1759 (TCtype): Define as either TCmode or KCmode, depending on whether
1760 long double is IEEE 128-bit floating point.
1761 (__mulkc3_sw): Add declarations for software/hardware versions of
1762 complex multiply/divide.
1763 (__divkc3_sw): Likewise.
1764 (__mulkc3_hw): Likewise.
1765 (__divkc3_hw): Likewise.
1766 * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
1767 handlers to switch between using software emulation and hardware
1768 float128 instructions, build the complex multiply/divide functions
1769 for both software and hardware support.
1770 * config/rs6000/_divkc3.c (_divkc3): Likewise.
1771 * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
1772 (__divkc3_resolve): Likewise.
1773 (__mulkc3): Likewise.
1774 (__divkc3): Likewise.
1775 * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
1776 (fp128_hw_src): Likewise.
1777 (fp128_hw_static_obj): Likewise.
1778 (fp128_hw_shared_obj): Likewise.
1779 (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
1780 _mulkc3.c and _divkc3.c, changing the function name.
1781 (_divkc3-hw.c): Likewise.
1782 * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
1783 and _divkc3-hw.c.
1784
c234d831
UB
17852017-11-26 Julia Koval <julia.koval@intel.com>
1786
1787 * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
1788 * config/i386/cpuinfo.h (processor_subtypes): Add
1789 INTEL_COREI7_CANNONLAKE.
1790
1ebafce0
IT
17912017-11-20 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1792
1793 PR bootstrap/83015
1794 * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
1795 parameter.
1796 * config/xtensa/unwind-dw2-xtensa.c: Likewise
1797 * config/ia64/unwind-ia64.c: Add frames parameter.
1798 * unwind-sjlj.c: Likewise.
1799
6a10fff4
IT
18002017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1801
1802 * config/i386/linux-unwind.h: Include
1803 config/i386/shadow-stack-unwind.h.
1804 * config/i386/shadow-stack-unwind.h: New file.
1805 * unwind-dw2.c: (uw_install_context): Add a frame parameter and
1806 pass it to _Unwind_Frames_Extra.
1807 * unwind-generic.h (_Unwind_Frames_Extra): New.
1808 * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
1809 parameter. Add local variable frames to count number of frames.
1810 (_Unwind_ForcedUnwind_Phase2): Likewise.
1811 (_Unwind_RaiseException): Add local variable frames to count
1812 number of frames, pass it to _Unwind_RaiseException_Phase2 and
1813 uw_install_context.
1814 (_Unwind_ForcedUnwind): Likewise.
1815 (_Unwind_Resume): Likewise.
1816 (_Unwind_Resume_or_Rethrow): Likewise.
1817
1ecae1fc
IT
18182017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1819
1820 * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
1821 (CET_FLAGS): New.
1822 * config/i386/morestack.S: Include <cet.h>.
1823 (__morestack_large_model): Add _CET_ENDBR at function entrance.
1824 * config/i386/resms64.h: Include <cet.h>.
1825 * config/i386/resms64f.h: Likewise.
1826 * config/i386/resms64fx.h: Likewise.
1827 * config/i386/resms64x.h: Likewise.
1828 * config/i386/savms64.h: Likewise.
1829 * config/i386/savms64f.h: Likewise.
1830 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
1831 (CRTSTUFF_T_CFLAGS): Likewise.
1832 * configure.ac: Include ../config/cet.m4.
1833 Set and substitute CET_FLAGS.
1834 * configure: Regenerated.
1835
f021f1d3
RO
18362017-11-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1837
1838 * config.host (*-*-solaris2*): Adapt comment for Solaris 12
1839 renaming.
1840 * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
1841 * configure.ac (libgcc_cv_solaris_crts): Likewise.
1842 * configure: Regenerate.
1843
65f480c7
TV
18442017-11-07 Tom de Vries <tom@codesourcery.com>
1845
1846 * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
1847 after "do {} while (0)".
1848
2a321acb
TV
18492017-11-07 Tom de Vries <tom@codesourcery.com>
1850
1851 PR other/82784
1852 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
1853 semicolon after "do {} while (0)".
1854 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1855 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1856 * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1857 * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1858
59fcf6c3
AT
18592017-11-04 Andreas Tobler <andreast@gcc.gnu.org>
1860
1861 PR libgcc/82635
1862 * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
1863 sysctl to determine whether we're in a trampoline.
1864 Keep the pattern matching method for systems without
1865 KERN_PROC_SIGTRAMP sysctl.
1866
b0c7ddf8
CM
18672017-11-03 Cupertino Miranda <cmiranda@synopsys.com>
1868 Vineet Gupta <vgupta@synopsys.com>
1869
1870 * config.host (arc*-*-linux*): Set md_unwind_header variable.
1871 * config/arc/linux-unwind-reg.def: New file.
1872 * config/arc/linux-unwind-reg.h: Likewise.
1873
5feee954
SP
18742017-10-23 Sebastian Perta <sebastian.perta@renesas.com>
1875
1876 * config/rl78/subdi3.S: New assembly file.
1877 * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
1878
a0bf6cf7
SP
18792017-10-13 Sebastian Perta <sebastian.perta@renesas.com>
1880
1881 * config/rl78/adddi3.S: New assembly file.
1882 * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
1883
e7176f75
JJ
18842017-10-13 Jakub Jelinek <jakub@redhat.com>
1885
1886 PR target/82274
1887 * libgcc2.c (__mulvDI3): If both operands have
1888 the same highpart of -1 and the topmost bit of lowpart is 0,
1889 multiplication overflows even if both lowparts are 0.
1890
db6601d2
JB
18912017-09-28 James Bowman <james.bowman@ftdichip.com>
1892
1893 * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
1894
938b6f1e
JM
18952017-09-26 Joseph Myers <joseph@codesourcery.com>
1896
1897 * config/microblaze/crti.S, config/microblaze/crtn.S,
1898 config/microblaze/divsi3.S, config/microblaze/moddi3.S,
1899 config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
1900 config/microblaze/mulsi3.S,
1901 config/microblaze/stack_overflow_exit.S,
1902 config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
1903 config/pa/milli64.S: Add .note.GNU-stack section.
1904
89762a83
DS
19052017-09-23 Daniel Santos <daniel.santos@pobox.com>
1906
1907 * configure.ac: Add Check for HAVE_AS_AVX.
1908 * config.in: Regenerate.
1909 * configure: Likewise.
1910 * config/i386/i386-asm.h: Include auto-target.h from libgcc.
1911 (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
1912 Correct out-of-date comments.
1913
cace2309
SP
19142017-09-20 Sebastian Peryt <sebastian.peryt@intel.com>
1915
1916 * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
1917 * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
1918
3cb626e4
DS
19192017-09-17 Daniel Santos <daniel.santos@pobox.com>
1920
cace2309 1921 * config/i386/i386-asm.h (PASTE2): New macro.
3cb626e4
DS
1922 (ASMNAME): Modify to use PASTE2.
1923 (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
1924 (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
cace2309 1925 * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
3cb626e4 1926 instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
cace2309
SP
1927 * config/i386/resms64f.S: Likewise.
1928 * config/i386/resms64fx.S: Likewise.
1929 * config/i386/resms64x.S: Likewise.
1930 * config/i386/savms64.S: Likewise.
1931 * config/i386/savms64f.S: Likewise.
1932 * config/i386/avx_resms64.S: New file that only defines a macro and
3cb626e4 1933 includes it's corresponding header file.
cace2309
SP
1934 * config/i386/avx_resms64f.S: Likewise.
1935 * config/i386/avx_resms64fx.S: Likewise.
1936 * config/i386/avx_resms64x.S: Likewise.
1937 * config/i386/avx_savms64.S: Likewise.
1938 * config/i386/avx_savms64f.S: Likewise.
1939 * config/i386/sse_resms64.S: Likewise.
1940 * config/i386/sse_resms64f.S: Likewise.
1941 * config/i386/sse_resms64fx.S: Likewise.
1942 * config/i386/sse_resms64x.S: Likewise.
1943 * config/i386/sse_savms64.S: Likewise.
1944 * config/i386/sse_savms64f.S: Likewise.
1945 * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
3cb626e4 1946
2f19c491 19472017-09-01 Olivier Hainque <hainque@adacore.com>
2f19c491
OH
1948 * config.host (*-*-vxworks7): Widen scope to vxworks7*.
1949
611e7036
OH
19502017-08-31 Olivier Hainque <hainque@adacore.com>
1951
1952 * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
1953 match as powerpc-wrs-vxworks*.
1954
c8f34527
JY
19552017-08-07 Jonathan Yong <10walls@gmail.com>
1956
1957 * config.host (*-cygwin): Include file from mingw
1958 config/i386/enable-execute-stack-mingw32.c
1959
0b458d2b 19602017-08-01 Jerome Lambourg <lambourg@adacore.com>
92a285c1
ML
1961 Doug Rupp <rupp@adacore.com>
1962 Olivier Hainque <hainque@adacore.com>
0b458d2b
JL
1963
1964 * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
1965 as well as arm-wrs-vxworks.
1966 * config/arm/t-vxworks7: New file. Add unwind-arm-vxworks.c to
1967 LIB2ADDEH.
1968 * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
1969 __exidx_start and __exidx_end for downloadable modules.
1970
4df612fa
OH
19712017-08-01 Olivier Hainque <hainque@adacore.com>
1972
1973 * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
1974 * config/t-vxworks7: Likewise.
1975
5560e8c0
OH
19762017-08-01 Olivier Hainque <hainque@adacore.com>
1977
1978 * config/t-vxworks: Instead of redefining LIB2ADD,
1979 augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
1980
16bab95a
SH
19812017-07-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1982
1983 * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
1984
9cbc07cc
DS
19852017-07-24 Daniel Santos <daniel.santos@pobox.com>
1986
1987 PR testsuite/80759
1988 * config.host: include i386/t-msabi for darwin and solaris.
1989 * config/i386/i386-asm.h
1990 (ELFFN): Rename to FN_TYPE.
1991 (FN_SIZE): New macro.
1992 (FN_HIDDEN): Likewise.
1993 (ASMNAME): Likewise.
1994 (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
1995 .globl.
1996 (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
1997 (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
1998 * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
1999 .macro.
2000 * config/i386/resms64f.S: Likewise.
2001 * config/i386/resms64fx.S: Likewise.
2002 * config/i386/resms64x.S: Likewise.
2003 * config/i386/savms64.S: Likewise.
2004 * config/i386/savms64f.S: Likewise.
2005
de742204
JM
20062017-07-19 John Marino <gnugcc@marino.st>
2007
2008 * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
2009
3787ee47
MM
20102017-07-12 Michael Meissner <meissner@linux.vnet.ibm.com>
2011
2012 PR target/81193
2013 * configure.ac (PowerPC float128 hardware support): Test whether
2014 we can use __builtin_cpu_supports before enabling the ifunc
2015 handler.
2016 * configure: Regenerate.
2017
b1938888
VG
20182017-07-10 Vineet Gupta <vgupta@synopsys.com>
2019
2020 * config.host: Remove uclibc from arc target spec.
2021
bec75e53
KW
20222017-07-09 Krister Walfridsson <krister.walfridsson@gmail.com>
2023
2024 * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
2025
d4391a62
PB
20262017-07-07 Peter Bergner <bergner@vnet.ibm.com>
2027
2028 * config/rs6000/float128-ifunc.c: Don't include auxv.h.
2029 (have_ieee_hw_p): Delete function.
2030 (SW_OR_HW) Use __builtin_cpu_supports().
2031
9296dd9b
TP
20322017-07-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
2033
2034 * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
2035
b85a969e
OH
20362017-07-03 Olivier Hainque <hainque@adacore.com>
2037
d4391a62 2038 * config/t-vxworks7: New file, really.
b85a969e 2039
883312dc
JM
20402017-06-28 Joseph Myers <joseph@codesourcery.com>
2041
2042 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
2043 config/alpha/linux-unwind.h (alpha_fallback_frame_state),
2044 config/bfin/linux-unwind.h (bfin_fallback_frame_state),
2045 config/i386/linux-unwind.h (x86_64_fallback_frame_state,
2046 x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
2047 uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
2048 config/pa/linux-unwind.h (pa32_fallback_frame_state),
2049 config/riscv/linux-unwind.h (riscv_fallback_frame_state),
2050 config/sh/linux-unwind.h (sh_fallback_frame_state),
2051 config/tilepro/linux-unwind.h (tile_fallback_frame_state),
2052 config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
2053 ucontext_t instead of struct ucontext.
2054
50567938
JL
20552017-06-27 Jerome Lambourg <lambourg@adacore.com>
2056
2057 * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
2058 (x86_64-wrs-vxworks7): Likewise.
2059
e4b0df93
OH
20602017-06-27 Olivier Hainque <hainque@adacore.com>
2061
2062 * config/t-vxworks7: New file.
2063 * config.host (*-*-vxworks7): Use it.
2064
60edf8bb
MT
20652017-06-22 Matt Turner <mattst88@gmail.com>
2066
2067 * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
2068 skylake case.
2069
a51a76e5
RB
20702017-06-21 Richard Biener <rguenther@suse.de>
2071
2072 PR gcov-profile/81080
2073 * configure.ac: Add AC_SYS_LARGEFILE.
2074 * libgcov.h: Include auto-target.h before tsystem.h to pick
2075 up _FILE_OFFSET_BITS which might differ for multilibs.
2076 * config.in: Regenerate.
2077 * configure: Likewise.
2078
f0cd49c5
RE
20792017-06-16 Richard Earnshaw <rearnsha@arm.com>
2080
2081 * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
2082
4f751c54
ML
20832017-06-09 Martin Liska <mliska@suse.cz>
2084
2085 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
2086 Reset __gcov_indirect_call_callee to NULL.
2087
1ac644c8
OH
20882017-06-08 Olivier Hainque <hainque@adacore.com>
2089
2090 * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
2091 the set of -I options, support for direct inclusions of net/uio.h
2092 by VxWorks header files via ioLib.h.
2093
d8b9cd27
TR
20942017-06-07 Tony Reix <tony.reix@atos.net>
2095 Matthieu Sarter <matthieu.sarter.external@atos.net>
2096 David Edelsohn <dje.gcc@gmail.com>
2097
92a285c1
ML
2098 * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
2099 unconditionally.
2100 (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support. Add 32-bit
2101 AIX 7.2 support.
d8b9cd27 2102
38a75ccc
OH
21032017-06-02 Olivier Hainque <hainque@adacore.com>
2104
2105 * config/vxlib.c (__gthread_once): Add missing value to
2106 return statement.
2107
5b2edf53
OH
21082017-05-30 Olivier Hainque <hainque@adacore.com>
2109
2110 * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
2111 dollar sign before $(MULTIDIR).
2112
7d66e265
RH
21132017-05-26 Richard Henderson <rth@redhat.com>
2114
2115 PR libgcc/80037
2116 * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
2117
78eca309
AT
21182017-05-17 Andreas Tobler <andreast@gcc.gnu.org>
2119
2120 * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
2121 _Unwind_SetIP available as functions for arm*-*-freebsd*.
2122 * config/arm/unwind-arm.c: Implement the above.
2123
c39d309a
AZ
21242017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2125
2126 * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
2127 section for a non-executable stack.
2128
eac8c9f2
KW
21292017-05-14 Krister Walfridsson <krister.walfridsson@gmail.com>
2130
2131 PR target/80600
2132 * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
2133
d6d4d770
DS
21342017-05-14 Daniel Santos <daniel.santos@pobox.com>
2135
2136 * config.host: Add i386/t-msabi to i386/t-linux file list.
2137 * config/i386/i386-asm.h: New file.
2138 * config/i386/resms64.S: New file.
2139 * config/i386/resms64f.S: New file.
2140 * config/i386/resms64fx.S: New file.
2141 * config/i386/resms64x.S: New file.
2142 * config/i386/savms64.S: New file.
2143 * config/i386/savms64f.S: New file.
2144 * config/i386/t-msabi: New file.
2145
8ef2b9a7
AT
21462017-05-09 Andreas Tobler <andreast@gcc.gnu.org>
2147
2148 * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
2149 arm*-*-freebsd* instead of the t-slibgcc-libgcc.
2150
7ab8766a
JC
21512017-05-05 Joshua Conner <joshconner@google.com>
2152
2153 * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
2154 pc-relative indirect handling for fuchsia.
2155 * config/t-slibgcc-fuchsia: New file.
2156 * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
d6d4d770 2157 x86_64-*-fuchsia*): Add definitions.
7ab8766a 2158
46928a8f
ML
21592017-04-19 Martin Liska <mliska@suse.cz>
2160
2161 PR gcov-profile/80435
2162 * Makefile.in: Install gcov.h.
2163 * gcov.h: New file.
2164 * libgcov.h: Use the header and make __gcov_flush publicly
2165 visible.
2166
63971184
ML
21672017-04-18 Martin Liska <mliska@suse.cz>
2168
2169 PR gcov-profile/78783
2170 * libgcov-driver.c (gcov_get_filename): New function.
2171
29d8aae6
JL
21722017-04-07 Jeff Law <law@redhat.com>
2173
2174 * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
2175 target makefile fragment.
2176 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
2177
2bdf7fc6
AM
21782017-04-07 Alan Modra <amodra@gmail.com>
2179
2180 PR target/45053
2181 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
2182
5764ee3c
JW
21832017-04-03 Jonathan Wakely <jwakely@redhat.com>
2184
2185 * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
2186
c4192ad7
CZ
21872017-03-27 Claudiu Zissulescu <claziss@synopsys.com>
2188
2189 * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
2190
4ccfdb28
JM
21912017-03-10 John Marino <gnugcc@marino.st>
2192
2193 * config/aarch64/freebsd-unwind.h: New file.
2194 * config.host: Add aarch64-*-freebsd unwinder.
2195
4144e4e3
SB
21962017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
2197
2198 * config/rs6000/crtrestvr.s: Use .machine altivec.
2199 * config/rs6000/crtsavevr.s: Ditto.
2200
7502c597
SB
22012017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
2202
2203 * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
2204 modify CFLAGS. Add -mabi=altivec -mvsx -mfloat128.
2205 (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
2206 -mfloat128-hardware to the CFLAGS. Fix syntax error in the C snippet.
2207 * configure: Regenerate.
2208 * config.in: Regenerate.
2209
db9f7f65
JY
22102017-03-02 Jonathan Yong <10walls@gmail.com>
2211
2212 * config/i386/gthr-win32.h: Define NOGDI before
2213 windows.h include to prevent w32api CC_NONE macro
2214 clash with libgfortran.
2215
126437c5
JY
22162017-03-02 Jonathan Yong <10walls@gmail.com>
2217
2218 * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
2219
31927af6
AP
22202017-02-16 Andrew Pinski <apinski@cavium.com>
2221
2222 * config/aarch64/value-unwind.h: New file.
2223 * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
2224 to tm_file.
2225
0bd99911
PD
22262017-02-06 Palmer Dabbelt <palmer@dabbelt.com>
2227
2228 * config.host: Add RISC-V tuples.
2229 * config/riscv/atomic.c: New file.
2230 * config/riscv/crti.S: Likewise.
2231 * config/riscv/crtn.S: Likewise.
2232 * config/riscv/div.S: Likewise.
2233 * config/riscv/linux-unwind.h: Likewise.
2234 * config/riscv/muldi3.S: Likewise.
2235 * config/riscv/multi3.S: Likewise.
2236 * config/riscv/save-restore.S: Likewise.
2237 * config/riscv/sfp-machine.h: Likewise.
2238 * config/riscv/t-elf: Likewise.
2239 * config/riscv/t-elf32: Likewise.
2240 * config/riscv/t-elf64: Likewise.
2241 * config/riscv/t-softfp32: Likewise.
2242 * config/riscv/t-softfp64: Likewise.
2243
a8c9ef2a
JJ
22442017-01-24 Jakub Jelinek <jakub@redhat.com>
2245
2246 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
2247 /* FALLTHRU */ comments.
2248
c6c82710
GP
22492017-01-21 Gerald Pfeifer <gerald@pfeifer.com>
2250
2251 * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
2252
a876231c
JW
22532017-01-20 Jiong Wang <jiong.wang@arm.com>
2254
2255 * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
2256 * unwind-dw2.c (execute_cfa_program): Only multiplexing
2257 DW_CFA_GNU_window_save for AArch64 and LP64.
2258
aa348be2
JW
22592017-01-20 Jiong Wang <jiong.wang@arm.com>
2260
2261 * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
2262
5636faf2
JW
22632017-01-19 Jiong Wang <jiong.wang@arm.com>
2264
2265 * config/aarch64/aarch64-unwind.h: New file.
2266 (DWARF_REGNUM_AARCH64_RA_STATE): Define.
2267 (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
2268 (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
2269 (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
2270 (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
2271 (aarch64_post_extract_frame_addr): New function.
2272 (aarch64_post_frob_eh_handler_addr): New function.
2273 (aarch64_frob_update_context): New function.
2274 * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
2275 * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
2276 aarch64*-*-freebsd*):
2277 Initialize md_unwind_header to include aarch64-unwind.h.
2278 * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
2279 (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
2280 __aarch64__.
2281 (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
2282 (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
2283 (uw_frob_return_addr): New function.
2284 (uw_install_context): Use uw_frob_return_addr.
2285
3c36aa6b
JJ
22862017-01-17 Jakub Jelinek <jakub@redhat.com>
2287
2288 PR other/79046
2289 * configure.ac: Add GCC_BASE_VER.
2290 * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
2291 version from BASE-VER file.
2292 * configure: Regenerated.
2293
829afb8f
JS
22942017-01-13 Joe Seymour <joe.s@somniumtech.com>
2295
2296 * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
2297 libmul_f5.a): Filter archived prerequisites.
2298
79fc8ffe
AS
22992017-01-10 Andrew Senkevich <andrew.senkevich@intel.com>
2300
2301 * config/i386/cpuinfo.h (processor_features): Add
2302 FEATURE_AVX512VPOPCNTDQ.
2303 * config/i386/cpuinfo.c (get_available_features): Habdle new
2304 feature.
2305
fec5f4e0
JM
23062017-01-04 Joseph Myers <joseph@codesourcery.com>
2307
2308 * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
2309 payload if [__mips_nan2008].
2310
8f56cb51
AM
23112017-01-04 Alan Modra <amodra@gmail.com>
2312
2313 * Makefile.in (configure_deps): Update.
2314 * configure: Regenerate.
2315
cbe34bb5
JJ
23162017-01-01 Jakub Jelinek <jakub@redhat.com>
2317
2318 Update copyright years.
2319
ab955692
KW
23202016-12-19 Krister Walfridsson <krister.walfridsson@gmail.com>
2321
2322 * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
2323 * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
2324 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
2325
de34320f
MK
23262016-12-17 Matthias Klose <doko@ubuntu.com>
2327
2328 * config/arc/gmon: Remove empty directory.
2329
e04ea1da
CZ
23302016-12-16 Claudiu Zissulescu <claziss@synopsys.com>
2331
2332 * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
2333 crtgend.
2334 (arc*-*-elf*): Likewise.
2335 * config/arc/t-arc: Remove old gmon lib targets.
2336 * config/arc/crtg.S: Remove.
2337 * config/arc/crtgend.S: Likewise.
2338 * config/arc/gmon/atomic.h: Likewise.
2339 * config/arc/gmon/auxreg.h: Likewise.
2340 * config/arc/gmon/dcache_linesz.S: Likewise.
2341 * config/arc/gmon/gmon.c: Likewise.
2342 * config/arc/gmon/machine-gmon.h: Likewise.
2343 * config/arc/gmon/mcount.c: Likewise.
2344 * config/arc/gmon/prof-freq-stub.S: Likewise.
2345 * config/arc/gmon/prof-freq.c: Likewise.
2346 * config/arc/gmon/profil.S: Likewise.
2347 * config/arc/gmon/sys/gmon.h: Likewise.
2348 * config/arc/gmon/sys/gmon_out.h: Likewise.
2349 * config/arc/t-arc-newlib: Likewise.
2350 * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
2351
8ae1c2c1
GS
23522016-12-12 George Spelvin <linux@sciencehorizons.net>
2353
2354 * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
2355
a5b947fa
GS
23562016-12-12 George Spelvin <linux@sciencehorizons.net>
2357
2358 * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
2359 R16 instead of push + pop.
2360 (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
2361
d6574dd1
KW
23622016-12-10 Krister Walfridsson <krister.walfridsson@gmail.com>
2363
2364 * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
2365 tmake_file.
2366
62440b4f
CM
23672016-12-05 Cupertino Miranda <cmiranda@synopsys.com>
2368
2369 * config.host (arc*-*-linux-uclibc*): Use default extra
2370 objects. Include linux-android header.
2371 * config/arc/crti.S (_init): Declare symbol as function.
2372 (_fini): Likewise.
2373
31cfd832
TK
23742016-12-03 Thomas Koenig <tkoenig@gcc.gnu.org>
2375
2376 PR fortran/78379
2377 * config/i386/cpuinfo.c: Move denums for processor vendors,
2378 processor type, processor subtypes and declaration of
2379 struct __processor_model into
2380 * config/i386/cpuinfo.h: New header file.
2381
c92e08e3
AV
23822016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
2383 Thomas Preud'homme <thomas.preudhomme@arm.com>
2384
2385 * config/arm/cmse_nonsecure_call.S: New.
2386 * config/arm/t-arm: Compile cmse_nonsecure_call.S
2387
de7b5723
AV
23882016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
2389 Thomas Preud'homme <thomas.preudhomme@arm.com>
2390
2391 * config/arm/t-arm (HAVE_CMSE): New.
2392 * config/arm/cmse.c: New.
2393
7a0d2bce
TP
23942016-11-28 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2395
b3a5bff4
TP
2396 PR gcc/74748
2397 * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
2398 use generic linker version information on Blackfin.
2399
7a0d2bce
TP
2400 PR gcc/74748
2401 * libgcc/mkmap-symver.awk: add support for skip_underscore
2402
b410cf1d
IS
24032016-11-27 Iain Sandoe <iain@codesourcery.com>
2404 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2405
2406 PR target/67710
2407 * config/t-darwin: Default builds to 10.5 codegen.
2408
2e5f8203
JG
24092016-11-24 James Greenhalgh <james.greenhalgh@arm.com>
2410
2411 * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
2412 (_FP_NANSIGN_H): Likewise.
2413 * config/aarch64/t-softfp (softfp_extensions): Add hftf.
2414 (softfp_truncations): Add tfhf.
2415 (softfp_extras): Add required conversion functions.
2416
bea64ca3
JG
24172016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
2418 Matthew Wahab <matthew.wahab@arm.com>
2419
2420 * config/arm/fp16.c (binary64): New.
2421 (__gnu_d2h_internal): New.
2422 (__gnu_d2h_ieee): New.
2423 (__gnu_d2h_alternative): New.
2424
8630cadb
JG
24252016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
2426 Matthew Wahab <matthew.wahab@arm.com>
2427
2428 * config/arm/fp16.c (struct format): New.
2429 (binary32): New.
2430 (__gnu_float2h_internal): New. Body moved from
2431 __gnu_f2h_internal and generalize.
2432 (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
2433 Call it with binary32.
2434
5823ef23
JG
24352016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
2436
2437 * soft-fp/extendhftf2.c: Update from glibc.
2438 * soft-fp/fixhfti.c: Likewise.
2439 * soft-fp/fixunshfti.c: Likewise.
2440 * soft-fp/floattihf.c: Likewise.
2441 * soft-fp/floatuntihf.c: Likewise.
2442 * soft-fp/half.h: Likewise.
2443 * soft-fp/trunctfhf2.c: Likewise.
2444
62a7df9f
MG
24452016-11-20 Marc Glisse <marc.glisse@inria.fr>
2446
2447 PR libgcc/77813
2448 * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
2449 __TMC_END__ behind a passthrough asm.
2450
7a384912
WL
24512016-11-18 Walter Lee <walt@tilera.com>
2452
62a7df9f 2453 * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
7a384912 2454
9775c1a5
L
24552016-11-17 Andrew Senkevich <andrew.senkevich@intel.com>
2456
2457 * config/i386/cpuinfo.c (processor_features): Add
2458 FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
2459
48c842ab
CZ
24602016-11-17 Claudiu Zissulescu <claziss@synopsys.com>
2461
2462 * config/arc/dp-hack.h (ARC_OPTFPE): Define.
2463 (__ARC_NORM__): Use instead ARC_OPTFPE.
2464 * config/arc/fp-hack.h: Likewise.
2465 * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
2466 (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
2467
5012919d
AM
24682016-11-16 Alexander Monakov <amonakov@ispras.ru>
2469
2470 * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
2471 * config/nvptx/mgomp.c: New file.
2472 * config/nvptx/t-nvptx: Add mgomp.c
2473
00178b98
WB
24742016-11-16 Waldemar Brodkorb <wbx@openadk.org>
2475
2476 PR libgcc/68468
2477 * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
2478
d64af69f
CZ
24792016-11-15 Claudiu Zissulescu <claziss@synopsys.com>
2480
2481 * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
2482 of checking for cpus.
2483 (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
2484 (__modsi3, __clzsi2): Likewise.
2485
9d8f95de
SN
24862016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
2487
2488 * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
2489 i386/t-cpuinfo-static instead of i386/t-cpuinfo.
2490 * config/i386/t-cpuinfo-static: New.
2491
7d29f8e3
ML
24922016-11-03 Martin Liska <mliska@suse.cz>
2493
2494 * libgcov-profiler.c (__gcov_time_profiler): Remove.
2495 (__gcov_time_profiler_atomic): Likewise.
2496
5de3e2d8
BE
24972016-11-03 Bernd Edlinger <bernd.edlinger@hotmail.de>
2498
2499 PR libgcc/78067
2500 * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
2501 count_leading_zeros.
2502
18362447
UB
25032016-11-02 Uros Bizjak <ubizjak@gmail.com>
2504
2505 * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
2506 * libgcc2.c (__divmoddi4): New function.
2507 * libgcc2.h (__divmoddi4): Declare.
2508 * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
2509 and __PFX_divmodti4.
2510
33107571
FW
25112016-10-24 Florian Weimer <fweimer@redhat.com>
2512
2513 PR libgcc/78064
2514 * unwind-c.c: Include auto-target.h.
2515
4c6d7494
JDA
25162016-10-19 John David Anglin <danglin@gcc.gnu.org>
2517
18362447 2518 * config/pa/pa64-hpux-lib.h: New file.
4c6d7494
JDA
2519 (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
2520 (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
2521 * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
2522 hppa*64*-*-hpux11*.
2523
2a26adf1
MF
25242016-10-18 Max Filippov <jcmvbkbc@gmail.com>
2525
2526 * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
2527 definition.
2528 * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
2529 definition.
2530 * config/xtensa/t-windowed (LIB2ADDEH): Use
2531 LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
2532 or xtensa/t-linux.
2533
66192aa1
DKC
25342016-10-18 Ding-Kai Chen <dkchen@cadence.com>
2535
2536 * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
2537 __ieee754_sqrt): New functions.
2538 (__divdf3): Add implementation with new FPU instructions under
2539 #if XCHAL_HAVE_DFP_DIV.
2540 * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
2541 __ieee754_sqrtf): New functions.
2542 (__divsf3): Add implementation with new FPU instructions under
2543 #if XCHAL_HAVE_FP_DIV.
2544 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
2545 _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
2546
4d0cdd0c
TP
25472016-10-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
2548
2549 * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
2550 equivalent.
2551 * config/tilepro/atomic.c: Likewise and stop casting model to
2552 enum memmodel.
2553
73f01cca
JM
25542016-10-10 Joseph Myers <joseph@codesourcery.com>
2555
2556 PR target/77586
2557 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
2558 soft-fp.
2559
b20e7532
AT
25602016-10-10 Andreas Tobler <andreast@gcc.gnu.org>
2561
2562 * config.host: Add support for aarch64-*-freebsd*.
2563
a786cec4
AS
25642016-10-05 Andreas Schwab <schwab@suse.de>
2565
2566 * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
2567 (.section .init_array): Don't call __do_jv_register_classes.
2568 (.section .init): Likewise.
2569
5a79befb
JJ
25702016-10-04 Jakub Jelinek <jakub@redhat.com>
2571
2572 * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
2573 (__JCR_LIST__): Remove.
2574 (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
2575 * config/i386/cygming-crtend.c (__JCR_END__): Remove.
2576 * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
2577 * config/ia64/crtend.S (__JCR_END__): Remove.
2578 * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
2579 conditionals.
2580 (__JCR_LIST__, __JCR_END__): Remove.
2581 (frame_dummy): Don't attempt to _Jv_RegisterClasses.
2582 (__do_global_ctors_1): Likewise.
2583
e0ab3753
UB
25842015-09-28 Uros Bizjak <ubizjak@gmail.com>
2585
2586 * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
2587 (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
2588
8c9434c2
ML
25892016-09-27 Martin Liska <mliska@suse.cz>
2590
2591 PR gcov-profile/7970
2592 PR gcov-profile/16855
2593 PR gcov-profile/44779
2594 * libgcov-driver.c (__gcov_init): Do not register a atexit
2595 handler.
2596 (__gcov_exit): Rename from gcov_exit.
2597 * libgcov.h (__gcov_exit): Declare.
2598
56b653f1
ML
25992016-09-27 Martin Liska <mliska@suse.cz>
2600
2601 PR bootstrap/77749
2602 * Makefile.in: Remove _gcov_merge_delta.
2603 * libgcov-merge.c (void __gcov_merge_delta): Remove.
2604 * libgcov-util.c (__gcov_delta_counter_op): Remove.
2605 * libgcov.h: Remove declaration of __gcov_merge_delta.
2606
7e02fd1b
EB
26072016-09-21 Eric Botcazou <ebotcazou@adacore.com>
2608
2609 * configure.ac: Do not create links, only substitute the filenames.
2610 * configure: Regenerate.
2611 * Makefile.in: Assign the substitution results to variables.
2612 (LIBGCC_LINKS): Define.
2613 (enable-execute-stack.c): New rule.
2614 (unwind.h): Likewise.
2615 (md-unwind-support.h): Likewise.
2616 (sfp-machine.h): Likewise.
2617 (gthr-default.h): Likewise.
2618 Add $(LIBGCC_LINKS) to the prerequisites of all object files and
2619 unwind.h as prerequisite of install-unwind_h-forbuild.
2620
29991048
JJ
26212016-09-16 Jakub Jelinek <jakub@redhat.com>
2622
2623 PR libgcc/71744
2624 * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
2625 is not the primary registry and atomics are available.
2626 (any_objects_registered): New variable.
2627 (__register_frame_info_bases, __register_frame_info_table_bases):
2628 Atomically store 1 to any_objects_registered after registering first
2629 unwind info.
2630 (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
2631
0abcd6cc
JG
26322016-09-09 James Greenhalgh <james.greenhalgh@arm.com>
2633
2634 PR target/63250
2635 * Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
2636 * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
2637 (HFtype): Likewise.
2638 (HCtype): Likewise.
2639 (__divhc3): Likewise.
2640 (__mulhc3): Likewise.
2641 * libgcc2.c: Support _mulhc3 and _divhc3.
2642
d758aeb5
JM
26432016-09-07 Joseph Myers <joseph@codesourcery.com>
2644
2645 PR libgcc/77519
2646 * libgcc2.c (NOTRUNC): Invert settings.
2647
7fe76f6a
ML
26482016-09-06 Martin Liska <mliska@suse.cz>
2649
2650 PR gcov-profile/77378
2651 PR gcov-profile/77466
2652 * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
2653 conditionaly enable/disable *_atomic functions.
2654
21184026
JM
26552016-08-26 Joseph Myers <joseph@codesourcery.com>
2656
2657 * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
2658 where not already enabled.
2659
726f49c3
SN
26602016-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
2661
2662 * config/mips/linux-unwind.h: Use sys/syscall.h.
2663
feeb6268
JM
26642016-08-16 Joseph Myers <joseph@codesourcery.com>
2665
2666 PR libgcc/77265
2667 * soft-fp/adddf3.c: Update from glibc.
2668 * soft-fp/addsf3.c: Likewise.
2669 * soft-fp/addtf3.c: Likewise.
2670 * soft-fp/divdf3.c: Likewise.
2671 * soft-fp/divsf3.c: Likewise.
2672 * soft-fp/divtf3.c: Likewise.
2673 * soft-fp/double.h: Likewise.
2674 * soft-fp/eqdf2.c: Likewise.
2675 * soft-fp/eqsf2.c: Likewise.
2676 * soft-fp/eqtf2.c: Likewise.
2677 * soft-fp/extenddftf2.c: Likewise.
2678 * soft-fp/extended.h: Likewise.
2679 * soft-fp/extendsfdf2.c: Likewise.
2680 * soft-fp/extendsftf2.c: Likewise.
2681 * soft-fp/extendxftf2.c: Likewise.
2682 * soft-fp/fixdfdi.c: Likewise.
2683 * soft-fp/fixdfsi.c: Likewise.
2684 * soft-fp/fixdfti.c: Likewise.
2685 * soft-fp/fixsfdi.c: Likewise.
2686 * soft-fp/fixsfsi.c: Likewise.
2687 * soft-fp/fixsfti.c: Likewise.
2688 * soft-fp/fixtfdi.c: Likewise.
2689 * soft-fp/fixtfsi.c: Likewise.
2690 * soft-fp/fixtfti.c: Likewise.
2691 * soft-fp/fixunsdfdi.c: Likewise.
2692 * soft-fp/fixunsdfsi.c: Likewise.
2693 * soft-fp/fixunsdfti.c: Likewise.
2694 * soft-fp/fixunssfdi.c: Likewise.
2695 * soft-fp/fixunssfsi.c: Likewise.
2696 * soft-fp/fixunssfti.c: Likewise.
2697 * soft-fp/fixunstfdi.c: Likewise.
2698 * soft-fp/fixunstfsi.c: Likewise.
2699 * soft-fp/fixunstfti.c: Likewise.
2700 * soft-fp/floatdidf.c: Likewise.
2701 * soft-fp/floatdisf.c: Likewise.
2702 * soft-fp/floatditf.c: Likewise.
2703 * soft-fp/floatsidf.c: Likewise.
2704 * soft-fp/floatsisf.c: Likewise.
2705 * soft-fp/floatsitf.c: Likewise.
2706 * soft-fp/floattidf.c: Likewise.
2707 * soft-fp/floattisf.c: Likewise.
2708 * soft-fp/floattitf.c: Likewise.
2709 * soft-fp/floatundidf.c: Likewise.
2710 * soft-fp/floatundisf.c: Likewise.
2711 * soft-fp/floatunditf.c: Likewise.
2712 * soft-fp/floatunsidf.c: Likewise.
2713 * soft-fp/floatunsisf.c: Likewise.
2714 * soft-fp/floatunsitf.c: Likewise.
2715 * soft-fp/floatuntidf.c: Likewise.
2716 * soft-fp/floatuntisf.c: Likewise.
2717 * soft-fp/floatuntitf.c: Likewise.
2718 * soft-fp/gedf2.c: Likewise.
2719 * soft-fp/gesf2.c: Likewise.
2720 * soft-fp/getf2.c: Likewise.
2721 * soft-fp/ledf2.c: Likewise.
2722 * soft-fp/lesf2.c: Likewise.
2723 * soft-fp/letf2.c: Likewise.
2724 * soft-fp/muldf3.c: Likewise.
2725 * soft-fp/mulsf3.c: Likewise.
2726 * soft-fp/multf3.c: Likewise.
2727 * soft-fp/negdf2.c: Likewise.
2728 * soft-fp/negsf2.c: Likewise.
2729 * soft-fp/negtf2.c: Likewise.
2730 * soft-fp/op-1.h: Likewise.
2731 * soft-fp/op-2.h: Likewise.
2732 * soft-fp/op-4.h: Likewise.
2733 * soft-fp/op-8.h: Likewise.
2734 * soft-fp/op-common.h: Likewise.
2735 * soft-fp/quad.h: Likewise.
2736 * soft-fp/single.h: Likewise.
2737 * soft-fp/soft-fp.h: Likewise.
2738 * soft-fp/subdf3.c: Likewise.
2739 * soft-fp/subsf3.c: Likewise.
2740 * soft-fp/subtf3.c: Likewise.
2741 * soft-fp/truncdfsf2.c: Likewise.
2742 * soft-fp/trunctfdf2.c: Likewise.
2743 * soft-fp/trunctfsf2.c: Likewise.
2744 * soft-fp/trunctfxf2.c: Likewise.
2745 * soft-fp/unorddf2.c: Likewise.
2746 * soft-fp/unordsf2.c: Likewise.
2747 * soft-fp/unordtf2.c: Likewise.
2748
2e6fc1ac
GG
27492016-08-15 Gilles Gouaillardet <gilles.gouaillardet@gmail.com>
2750
2751 PR gcov-profile/67097
2752 * libgcov-util.c (gcov_profile_merge): Skip missing files.
2753
a266236e
ML
27542016-08-10 Martin Liska <mliska@suse.cz>
2755
2756 PR gcov-profile/58306
2757 * Makefile.in: New functions (modules) are added.
2758 * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
2759 function.
2760 (__gcov_pow2_profiler_atomic): New function.
2761 (__gcov_one_value_profiler_body): New argument is instroduced.
2762 (__gcov_one_value_profiler): Call with the new argument.
2763 (__gcov_one_value_profiler_atomic): Likewise.
2764 (__gcov_indirect_call_profiler_v2): Likewise.
2765 (__gcov_time_profiler_atomic): New function.
2766 (__gcov_average_profiler_atomic): Likewise.
2767 (__gcov_ior_profiler_atomic): Likewise.
2768 * libgcov.h: Declare the aforementioned functions.
2769
e0c8eebf
ML
27702016-08-09 Martin Liska <mliska@suse.cz>
2771
2772 * libgcov-util.c: Fix typo and GNU coding style.
2773
6dce6418
ML
27742016-08-09 Martin Liska <mliska@suse.cz>
2775
2776 * Makefile.in: Remove __gcov_indirect_call_profiler.
2777 * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
2778 function.
2779 * libgcov.h: And the declaration of the function.
2780
dcb1e137
ML
27812016-08-09 Martin Liska <mliska@suse.cz>
2782
2783 * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
2784 power of two.
2785
d6e69705
BS
27862016-07-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
2787
2788 * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
2789 * config/rs6000/_mulkc3.c: Likewise.
2790
96aa1f95
GJL
27912016-07-29 Georg-Johann Lay <avr@gjlay.de>
2792
2793 * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
2794 zero_reg as previous call to __umulhisi3 already cleared it.
2795
a1b01d34
AJ
27962016-07-21 Aurelien Jarno <aurelien@aurel32.net>
2797
2798 PR target/59833
2799 * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
2800
985a47b2
NC
28012016-07-19 Nick Clifton <nickc@redhat.com>
2802
2803 * config.host (m32r): Add m32r/t-m32r to tmake_file.
2804 Add crtinit.o and crtfini.o to extra_parts.
2805
f906f5ed
BS
28062016-07-12 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
2807
2808 * config/rs6000/_divkc3.c: New.
2809 * config/rs6000/_mulkc3.c: New.
2810 * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
2811 and _divkc3.
2812 * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
2813 fp128_ppc_funcs.
2814
82742404
HW
28152016-07-11 Hale Wang <hale.wang@arm.com>
2816 Andre Vieira <andre.simoesdiasvieira@arm.com>
2817
2818 * config/arm/lib1funcs.S: Add new wrapper.
2819
05a437c1
TP
28202016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
2821
2822 * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
2823
3d16d9ec
TP
28242016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
2825
2826 * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
2827 and ARMv5t* rather than for a fixed list of architectures.
2828
6f493951
TP
28292016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
2830
2831 * config/arm/bpabi-v6m.S: Clarify what architectures is the
2832 implementation suitable for.
2833 * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
2834 for all Thumb-1 only targets.
2835 (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
2836 (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
2837 __ARM_ARCH_6M__.
2838 (EQUIV): Likewise.
2839 (ARM_FUNC_ALIAS): Likewise.
2840 (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
2841 version.
2842 (modsi3): Likewise.
2843 (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
2844 (clzdi2): Likewise.
2845 (ctzsi2): Likewise.
2846 (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
2847 __ARM_ARCH_6M__ in guard for checking whether it is defined.
2848 (final includes): Test for NOT_ISA_TARGET_32BIT rather than
2849 __ARM_ARCH_6M__ and add comment to indicate the connection between
2850 this condition and the one in gcc/config/arm/elf.h.
2851 * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
2852 __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
2853 * config/arm/t-softfp: Likewise.
2854
1770511a
TS
28552016-07-06 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2856
2857 * libgcc2.c (SYMBOL__MAIN): Remove checks for
2858 CTOR_LISTS_DEFINED_EXTERNALLY.
2859
ba6be749
WL
28602016-06-28 Walter Lee <walt@tilera.com>
2861
2862 * config/tilepro/atomic.h: Do not include arch/spr_def.h and
2863 asm/unistd.h.
2864 (SPR_CMPEXCH_VALUE): Define for tilegx.
2865 (__NR_FAST_cmpxchg): Define for tilepro.
2866 (__NR_FAST_atomic_update): Define for tilepro.
2867 (__NR_FAST_cmpxchg64): Define for tilepro.
2868
a34c0db5
JS
28692016-06-23 Jakub Sejdak <jakub.sejdak@phoesys.com>
2870
18362447 2871 * config.host: Add suport for arm*-*-phoenix* targets.
a34c0db5 2872
0609abda
TS
28732016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2874
2875 * config.host: Remove support for mep-*.
2876 * config/mep/lib1funcs.S: Remove.
2877 * config/mep/lib2funcs.c: Remove.
2878 * config/mep/t-mep: Remove.
2879 * config/mep/tramp.c: Remove.
2880
3e326935
TS
28812016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2882
2883 * config.host: Remove support for avr-rtems.
2884 * config/avr/t-rtems: Remove.
2885
914b155c
TS
28862016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2887
2888 * config.host: Remove m32r-rtems support.
2889
5ebf89bd
TS
28902016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2891
2892 * config.host: Remove h8300-rtems support.
2893
8466af06
TS
28942016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2895
2896 * config.host: Remove support for knetbsd.
2897
d980e738
TS
28982016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2899
2900 * config.host: Remove support for openbsd 2 and 3.
2901
ee2499b4
TS
29022016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2903
2904 * config.host: Remove interix support.
2905 * config/i386/t-interix: Remove.
2906
9f92937b
JDA
29072016-06-18 John David Anglin <danglin@gcc.gnu.org>
2908
2909 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
2910 least-significant bit in function pointer for fixup.
2911
0a0ec53d
AC
29122016-06-05 Aaron Conole <aconole@redhat.com>
2913 Nathan Sidwell <nathan@acm.org>
2914
2915 PR libgcc/71400
2916 * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
2917 (get_gcov_error_file): Check __gcov_error_file before trying to
2918 initialize it.
2919 (gcov_error): Always use get_gcov_error_file.
2920
8aa5bdd6
AC
29212016-06-02 Aaron Conole <aconole@redhat.com>
2922
2923 * libgcov-driver-system.c (__gcov_error_file): New.
2924 (get_gcov_error_file): New.
2925 (gcov_error): Use and set __gcov_error_file.
2926 (gcov_error_exit): New.
2927 * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
2928
40774faf
NS
29292016-05-26 Nathan Sidwell <nathan@acm.org>
2930
2931 * config/nvptx/free.asm: Delete.
2932 * config/nvptx/malloc.asm: Delete.
2933 * config/nvptx/realloc.c: Delete.
2934 * t-nvptx: Update.
2935
69a6d5ad
NS
29362016-05-25 Nathan Sidwell <nathan@acm.org>
2937
2938 * config/nvptx/crt0.s: Delete.
2939 * config/nvptx/crt0.c: New.
2940 * t-nvptx: Update.
2941
6befaff6
SL
29422016-05-19 Sandra Loosemore <sandra@codesourcery.com>
2943
385c7747 2944 * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
6befaff6
SL
2945 dw2/seh configuration.
2946 [x86_64-*-mingw*]: Likewise.
2947
ad251dfd
JS
29482016-05-10 Joel Sherrill <joel@rtems.org>
2949
2950 PR libgcc/70720
2951 * config.host (moxie-*-rtems*): Merge this stanza with other moxie
2952 targets so the same extra_parts are built. Also have tmake_file add
2953 on to its value rather than override.
2954
bc6d9014
OE
29552016-04-30 Oleg Endo <olegendo@gcc.gnu.org>
2956
2957 * config.host: Remove SH5 support.
2958 * configure: Likewise.
2959
9129c8cf
OE
29602016-04-29 Oleg Endo <olegendo@gcc.gnu.org>
2961
2962 * config/sh/crt1.S: Remove SH5 support.
2963 * config/sh/crti.S: Likewise.
2964 * config/sh/crtn.S: Likewise.
2965 * config/sh/lib1funcs-4-300.S: Likewise.
2966 * config/sh/lib1funcs-Os-4-200.S: Likewise.
2967 * config/sh/lib1funcs.S: Likewise.
2968 * config/sh/linux-unwind.h: Likewise.
2969 * config/sh/t-sh64: Delete.
2970
39d50464
CZ
29712016-04-29 Claudiu Zissulescu <claziss@synopsys.com>
2972
2973 * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
2974
8b48923b
CZ
29752016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
2976 Joern Rennecke <joern.rennecke@embecosm.com>
2977
2978 * config/arc/crttls.S: New file.
2979 * config/arc/t-arc: New rule.
2980 * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
2981
2de1cf8c
NC
29822016-04-25 Nick Clifton <nickc@redhat.com>
2983
2984 * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
2985 (__mspabi_cmpd): Likewise.
2986 * config/msp430/floathidf.c (__floathidf): Likewise.
2987 * config/msp430/floathisf.c (__floathisf): Likewise
2988 * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
2989 * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
2990 * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
2991 second parameter.
2992 (__ashrsi3): Likewise.
2993
b8ce3fe2
WB
29942016-04-21 Waldemar Brodkorb <wbx@openadk.org>
2995
2996 * config/m68k/linux-atomic.c: Do not include unistd.h
2997
4986f823
MG
29982016-04-20 Martin Galvan <martin.galvan@tallertechnologies.com>
2999
3000 * config/arm/ieee754-df.S: Fix typos in comments.
3001
35fbda43
MM
30022016-04-11 Michael Meissner <meissner@linux.vnet.ibm.com>
3003
3004 PR target/70381
3005 * configure.ac (powerpc*-*-linux*): Rework tests to build
3006 __float128 emulation routines to not depend on using #pragma GCC
3007 target to enable -mfloat128.
3008 * configure: Regnerate.
3009
72d1a48d
EB
30102016-04-04 Eric Botcazou <ebotcazou@adacore.com>
3011
3012 PR target/67172
3013 * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
3014 __MINGW32__ is defined.
3015
dc2e8995
JB
30162016-03-28 James Bowman <james.bowman@ftdichip.com>
3017
385c7747 3018 * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
dc2e8995 3019
104cdaf1
MM
30202016-03-22 Michael Meissner <meissner@linux.vnet.ibm.com>
3021
3022 PR libgcc/70363
3023 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
3024 built with an assembler that does not support ISA 3.0
3025 instructions, rename __extendkftf2_sw to __extendkftf2.
3026
a5046f48
RO
30272016-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3028
3029 PR target/38239
3030 * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
3031 call-clobbered registers.
3032 (internal_mcount): Remove __i386__ handling.
3033
df674f74
JS
30342016-02-26 Joel Sherrill <joel@rtems.org>
3035
3036 * config.host: Add x86_64-*-rtems*.
3037
7cb065d6
JS
30382016-02-26 Joel Sherrill <joel@rtems.org>
3039
3040 * libgcc/config.host: Add aarch64-*-rtems*.
3041
47dfdc53
PM
30422016-02-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
3043 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
3044
3045 * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
3046 union of u64 and double.
3047 (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
3048 (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
3049 value.
3050 (FP_ROUNDMODE): Update the usage of _fpscr.
3051
e6861a99
IV
30522016-02-25 Ilya Verbin <ilya.verbin@intel.com>
3053
3054 PR driver/68463
3055 * Makefile.in (crtoffloadtable$(objext)): New rule.
3056 * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
3057 enable_offload_targets is not empty.
3058 * configure: Regenerate.
3059 * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
3060 crtoffloadtable.
3061
9bfcbdee
MF
30622016-02-17 Max Filippov <jcmvbkbc@gmail.com>
3063
3064 * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
3065 .literal_position before the function.
3066 * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
3067 Likewise.
3068
4cb4721f
MK
30692016-02-15 Marcin Kościelnicki <koriakin@0x04.net>
3070
3071 * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
3072 * config/s390/morestack.S: New file.
3073 * config/s390/t-stack-s390: New file.
3074 * generic-morestack.c (__splitstack_find): Add s390-specific code.
3075
b29d9a29
WL
30762016-02-12 Walter Lee <walt@tilera.com>
3077
3078 * config.host (tilegx*-*-linux*): remove ti from
3079 softfp_int_modes for 32-bit configs.
3080
03a0ae7d
ILT
30812016-02-10 Ian Lance Taylor <iant@google.com>
3082
3083 PR go/68562
3084 * config/i386/morestack.S (__stack_split_initialize): Align
3085 stack.
3086
68750bce
AT
30872016-02-03 Andreas Tobler <andreast@gcc.gnu.org>
3088
3089 PR bootstrap/69611
3090 * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
3091 __FLOAT128__ to compile only for __float128 capable targets.
3092
7d296953
JJ
30932016-01-25 Jakub Jelinek <jakub@redhat.com>
3094
3095 PR target/69444
3096 * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
3097 instead of ___NO_FPRS__.
3098
a71c0334 30992016-01-21 Michael Meissner <meissner@linux.vnet.ibm.com>
7d296953
JJ
3100 Steven Munroe <munroesj@linux.vnet.ibm.com>
3101 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
a71c0334
MM
3102
3103 * config/rs6000/float128-sed: New files to convert TF names to KF
3104 names for PowerPC IEEE 128-bit floating point support.
3105 * config/rs6000/float128-sed-hw: Likewise.
3106
3107 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
3108 floating point hardware support.
3109
3110 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
3111 128-bit floating point software emulation or use ISA 3.0 hardware
3112 support if it is available.
3113
3114 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
3115 floating point.
3116
3117 * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
3118 floating point to IBM extended double.
3119
3120 * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
3121 double to IEEE 128-bit floating point.
3122
3123 * config/rs6000/t-float128: New Makefile fragments to enable
3124 building __float128 emulation support.
3125 * config/rs6000/t-float128-hw: Likewise.
3126
3127 * config/rs6000/sfp-exceptions.c: New file to provide exception
3128 support for IEEE 128-bit floating point.
3129
3130 * config/rs6000/floattikf.c: New files for converting between IEEE
3131 128-bit floating point and signed/unsigned 128-bit integers.
3132 * config/rs6000/fixunskfti.c: Likewise.
3133 * config/rs6000/fixkfti.c: Likewise.
3134 * config/rs6000/floatuntikf.c: Likewise.
3135
3136 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
3137 when building on 64-bit systems, or when VSX is enabled.
3138 (_FP_W_TYPE): Likewise.
3139 (_FP_WS_TYPE): Likewise.
3140 (_FP_I_TYPE): Likewise.
3141 (TItype): Define on 64-bit systems.
3142 (UTItype): Likewise.
3143 (TI_BITS): Likewise.
3144 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
3145 (_FP_MUL_MEAT_Q): Likewise.
3146 (_FP_DIV_MEAT_D): Likewise.
3147 (_FP_DIV_MEAT_Q): Likewise.
3148 (_FP_NANFRAC_D): Likewise.
3149 (_FP_NANFRAC_Q): Likewise.
3150 (ISA_BIT): Add exception support if we are being compiled on a
3151 machine with hardware floating point support to build the IEEE
3152 128-bit emulation functions.
3153 (FP_EX_INVALID): Likewise.
3154 (FP_EX_OVERFLOW): Likewise.
3155 (FP_EX_UNDERFLOW): Likewise.
3156 (FP_EX_DIVZERO): Likewise.
3157 (FP_EX_INEXACT): Likewise.
3158 (FP_EX_ALL): Likewise.
3159 (__sfp_handle_exceptions): Likewise.
3160 (FP_HANDLE_EXCEPTIONS): Likewise.
3161 (FP_RND_NEAREST): Likewise.
3162 (FP_RND_ZERO): Likewise.
3163 (FP_RND_PINF): Likewise.
3164 (FP_RND_MINF): Likewise.
3165 (FP_RND_MASK): Likewise.
3166 (_FP_DECL_EX): Likewise.
3167 (FP_INIT_ROUNDMODE): Likewise.
3168 (FP_ROUNDMODE): Likewise.
3169
3170 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
3171 VSX code, enable IEEE 128-bit floating point. If the compiler can
3172 compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
3173 floating point hardware instructions and it supports declaring
3174 functions with the ifunc attribute, enable ifunc functions to
3175 switch between software and hardware support.
3176 * configure.ac (powerpc*-*-linux*): Likewise.
3177 * configure: Regenerate.
3178
bdc27e50
NC
31792016-01-15 Nick Clifton <nickc@redhat.com>
3180
3181 * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
3182 dependency as the source file to be compiled.
3183 (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
3184 (lib2hw_mul_f5.o): Likewise.
3185
006df05d
MM
31862016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
3187
3188 * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
3189 * libgcc/config/rs6000/fixkfti.c: Likewise.
3190 * libgcc/config/rs6000/fixunskfti.c: Likewise.
3191 * libgcc/config/rs6000/float128-hw.c: Likewise.
3192 * libgcc/config/rs6000/float128-ifunc.c: Likewise.
3193 * libgcc/config/rs6000/float128-sed: Likewise.
3194 * libgcc/config/rs6000/floattikf.c: Likewise.
3195 * libgcc/config/rs6000/floatuntikf.c: Likewise.
3196 * libgcc/config/rs6000/quad-float128.h: Likewise.
3197 * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
3198 * libgcc/config/rs6000/sfp-machine.h: Likewise.
3199 * libgcc/config/rs6000/t-float128: Likewise.
3200 * libgcc/config/rs6000/t-float128-hw: Likewise.
3201 * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
3202 * libgcc/config.host: Likewise.
3203 * libgcc/configure: Likewise.
3204 * libgcc/configure.ac: Likewise.
3205
29176d57 32062016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
7d296953
JJ
3207 Steven Munroe <munroesj@linux.vnet.ibm.com>
3208 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
29176d57
MM
3209
3210 * config/rs6000/sfp-exceptions.c: New file to provide exception
3211 support for IEEE 128-bit floating point.
3212
3213 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
3214 floating point hardware support.
3215
3216 * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
3217 point conversions.
3218 * config/rs6000/fixunskfti.c: Likewise.
3219 * config/rs6000/fixkfti.c: Likewise.
3220 * config/rs6000/floatuntikf.c: Likewise.
3221 * config/rs6000/extendkftf2-sw.c: Likewise.
3222 * config/rs6000/trunctfkf2-sw.c: Likewise.
3223
3224 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
3225 128-bit floating point software emulation or use ISA 3.0 hardware
3226 support if it is available.
3227
3228 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
3229 floating point.
3230
3231 * config/rs6000/t-float128: New Makefile fragments to enable
3232 building __float128 emulation support.
3233 * config/rs6000/t-float128-hw: Likewise.
3234
3235 * config/rs6000/float128-sed: New file to convert TF names to KF
3236 names for PowerPC IEEE 128-bit floating point support.
3237
3238 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
3239 when building on 64-bit systems, or when VSX is enabled.
3240 (_FP_W_TYPE): Likewise.
3241 (_FP_WS_TYPE): Likewise.
3242 (_FP_I_TYPE): Likewise.
3243 (TItype): Define on 64-bit systems.
3244 (UTItype): Likewise.
3245 (TI_BITS): Likewise.
3246 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
3247 (_FP_MUL_MEAT_Q): Likewise.
3248 (_FP_DIV_MEAT_D): Likewise.
3249 (_FP_DIV_MEAT_Q): Likewise.
3250 (_FP_NANFRAC_D): Likewise.
3251 (_FP_NANFRAC_Q): Likewise.
3252 (ISA_BIT): Add exception support if we are being compiled on a
3253 machine with hardware floating point support to build the IEEE
3254 128-bit emulation functions.
3255 (FP_EX_INVALID): Likewise.
3256 (FP_EX_OVERFLOW): Likewise.
3257 (FP_EX_UNDERFLOW): Likewise.
3258 (FP_EX_DIVZERO): Likewise.
3259 (FP_EX_INEXACT): Likewise.
3260 (FP_EX_ALL): Likewise.
3261 (__sfp_handle_exceptions): Likewise.
3262 (FP_HANDLE_EXCEPTIONS): Likewise.
3263 (FP_RND_NEAREST): Likewise.
3264 (FP_RND_ZERO): Likewise.
3265 (FP_RND_PINF): Likewise.
3266 (FP_RND_MINF): Likewise.
3267 (FP_RND_MASK): Likewise.
3268 (_FP_DECL_EX): Likewise.
3269 (FP_INIT_ROUNDMODE): Likewise.
3270 (FP_ROUNDMODE): Likewise.
3271
3272 * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
3273 compiler can do __float128.
3274 * configure: Regenerate.
3275
3276 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
3277 VSX code, enable IEEE 128-bit floating point.
3278
a2218983
OH
32792016-01-05 Olivier Hainque <hainque@adacore.com>
3280
3281 * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
29176d57 3282 specificities.
a2218983 3283
818ab71a
JJ
32842016-01-04 Jakub Jelinek <jakub@redhat.com>
3285
3286 Update copyright years.
3287
5a6c8ffa
AP
32882015-12-18 Andris Pavenis <andris.pavenis@iki.fi>
3289
3290 * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
29176d57 3291 soft-fp targets.
5a6c8ffa 3292
077067a5
BE
32932015-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
3294
3295 * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
3296 instead of abort to avoid dependency on stdlib.h.
3297
787c1027
JDA
32982015-12-09 John David Anglin <danglin@gcc.gnu.org>
3299
3300 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
3301 to initialize call to __dl_fixup once.
3302
04a9ae28
NC
33032015-12-04 Nick Clifton <nickc@redhat.com>
3304
3305 * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
3306 Allow for the second argument being negative.
3307 * config.host (extra_parts): Define for MSP430. Create separate
3308 libraries for each of the hardware multiply formats.
3309 * config/msp430/lib2hw_mul.S: Build only the multiply routines
3310 that are needed.
3311 * config/msp430/lib2mul.c: Likewise.
3312 * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
3313 Add rules to build hardware multiply libraries.
3314 * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
3315 __mspabi_divul function.
3316 (__mspabi_divllu): New stub function.
3317
9a32d437
JDA
33182015-12-01 John David Anglin <danglin@gcc.gnu.org>
3319
3320 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
3321 fixup values if saved GOT address doesn't match runtime address.
3322 (fixup_branch_offset): Reorder list.
3323
e5ef217c
RO
33242015-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3325
3326 * Makefile.in (VTV_CFLAGS): New variable.
3327 (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
3328 (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
3329 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
3330 Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
3331 to extra_parts if $enable_vtable_verify = yes.
3332
78cc43a2
SN
33332015-11-23 Szabolcs Nagy <szabolcs.nagy@arm.com>
3334
3335 PR target/68059
3336 * config/arm/linux-atomic-64bit.c (__write): Rename to...
3337 (write): ...this and fix the return type.
3338
9afebea2
DD
33392015-11-19 DJ Delorie <dj@redhat.com>
3340
3341 * config/msp430/lib2hw_mul.S: Fix alignment.
3342
33f47f42
NS
33432015-11-18 Nathan Sidwell <nathan@codesourcery.com>
3344
3345 * config/nvptx/reduction.c: New.
3346 * config/nvptx/t-nvptx (LIB2ADD): Add it.
3347
d9adb476
DE
33482015-11-15 David Edelsohn <dje.gcc@gmail.com>
3349
3350 * config/rs6000/on_exit.c: New file.
3351 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
3352 * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
3353
c0ab1970
CZ
33542015-11-11 Claudiu Zissulescu <claziss@synopsys.com>
3355
3356 * config/arc/dp-hack.h: Add support for ARCHS.
3357 * config/arc/ieee-754/divdf3.S: Likewise.
3358 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
3359 * config/arc/ieee-754/muldf3.S: Likewise.
3360 * config/arc/ieee-754/mulsf3.S: Likewise
3361 * config/arc/lib1funcs.S: Likewise
3362 * config/arc/gmon/dcache_linesz.S: Don't read the build register
3363 for ARCv2 cores.
3364 * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
3365 for ARCv2 cores.
3366 * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
3367 * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
3368 cores.
3369
e6b6bf09
RO
33702015-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3371
3372 * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
3373 value.
3374 * config/ia64/crtend.S: Likewise.
3375
a153644f
TS
33762015-11-07 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3377
3378 * config/visium/lib2funcs.c (__set_trampoline_parity): Use
3379 __CHAR_BIT__ instead of BITS_PER_UNIT.
3380 * fixed-bit.h: Likewise.
3381 * fp-bit.h: Likewise.
3382 * libgcc2.c (__popcountSI2): Likewise.
3383 (__popcountDI2): Likewise.
3384 * libgcc2.h: Likewise.
3385 * libgcov.h: Likewise.
3386
3dee689d
DE
33872015-11-07 David Edelsohn <dje.gcc@gmail.com>
3388
3389 * config/rs6000/atexit.c: New file.
3390 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
3391 * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
3392 * config/rs6000/cxa_finalize.c
3393 (catomic_compare_and_exchange_bool_acq): Negate return value.
3394
2ef543e4
VK
33952015-10-30 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
3396
3397 * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
3398 (processor_subtypes): Add znver1.
3399 (get_amd_cpu): Detect znver1.
3400
1300f017
CL
34012015-10-29 Christophe Lyon <christophe.lyon@linaro.org>
3402
3403 * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
3404 Include crtfastmath.o.
3405
3e5bb7ee
JR
34062015-10-23 Joern Rennecke <joern.rennecke@embecosm.com>
3407
3408 PR libgcc/66883
3409 * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
1300f017 3410
793aa938
KP
34112015-10-16 Kaushik Phatak <kaushik.phatak@kpit.com>
3412
3413 * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
3414 * config/rl78/divmodsi.S: Update return register to r8.
3415 * config/rl78/divmodhi.S: Update return register to r8,r9.
3416 Branch to main_loop_done_himode to pop registers before return.
3417
7d296953 34182015-10-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
fac812f0
VK
3419
3420 * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
3421 (__cpu_indicator_init): Fix model selection for AMD CPUs.
3422
6a192b5a
KY
34232015-10-05 Kirill Yukhin <kirill.yukhin@intel.com>
3424
3425 * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
3426
4a0a9457
MF
34272015-10-03 Max Filippov <jcmvbkbc@gmail.com>
3428
3429 * config.host (xtensa*-*-uclinux*): New configuration.
3430
ab91c076
KY
34312015-10-02 Kirill Yukhin <kirill.yukhin@intel.com>
3432
385c7747 3433 * config/i386/cpuinfo.c (processor_features): Add
ab91c076
KY
3434 FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
3435
30954527
JM
34362015-09-28 Joseph Myers <joseph@codesourcery.com>
3437
3438 * soft-fp/adddf3.c: Update from glibc.
3439 * soft-fp/addsf3.c: Likewise.
3440 * soft-fp/addtf3.c: Likewise.
3441 * soft-fp/divdf3.c: Likewise.
3442 * soft-fp/divsf3.c: Likewise.
3443 * soft-fp/divtf3.c: Likewise.
3444 * soft-fp/double.h: Likewise.
3445 * soft-fp/eqdf2.c: Likewise.
3446 * soft-fp/eqsf2.c: Likewise.
3447 * soft-fp/eqtf2.c: Likewise.
3448 * soft-fp/extenddftf2.c: Likewise.
3449 * soft-fp/extended.h: Likewise.
3450 * soft-fp/extendsfdf2.c: Likewise.
3451 * soft-fp/extendsftf2.c: Likewise.
3452 * soft-fp/extendxftf2.c: Likewise.
3453 * soft-fp/fixdfdi.c: Likewise.
3454 * soft-fp/fixdfsi.c: Likewise.
3455 * soft-fp/fixdfti.c: Likewise.
3456 * soft-fp/fixsfdi.c: Likewise.
3457 * soft-fp/fixsfsi.c: Likewise.
3458 * soft-fp/fixsfti.c: Likewise.
3459 * soft-fp/fixtfdi.c: Likewise.
3460 * soft-fp/fixtfsi.c: Likewise.
3461 * soft-fp/fixtfti.c: Likewise.
3462 * soft-fp/fixunsdfdi.c: Likewise.
3463 * soft-fp/fixunsdfsi.c: Likewise.
3464 * soft-fp/fixunsdfti.c: Likewise.
3465 * soft-fp/fixunssfdi.c: Likewise.
3466 * soft-fp/fixunssfsi.c: Likewise.
3467 * soft-fp/fixunssfti.c: Likewise.
3468 * soft-fp/fixunstfdi.c: Likewise.
3469 * soft-fp/fixunstfsi.c: Likewise.
3470 * soft-fp/fixunstfti.c: Likewise.
3471 * soft-fp/floatdidf.c: Likewise.
3472 * soft-fp/floatdisf.c: Likewise.
3473 * soft-fp/floatditf.c: Likewise.
3474 * soft-fp/floatsidf.c: Likewise.
3475 * soft-fp/floatsisf.c: Likewise.
3476 * soft-fp/floatsitf.c: Likewise.
3477 * soft-fp/floattidf.c: Likewise.
3478 * soft-fp/floattisf.c: Likewise.
3479 * soft-fp/floattitf.c: Likewise.
3480 * soft-fp/floatundidf.c: Likewise.
3481 * soft-fp/floatundisf.c: Likewise.
3482 * soft-fp/floatunditf.c: Likewise.
3483 * soft-fp/floatunsidf.c: Likewise.
3484 * soft-fp/floatunsisf.c: Likewise.
3485 * soft-fp/floatunsitf.c: Likewise.
3486 * soft-fp/floatuntidf.c: Likewise.
3487 * soft-fp/floatuntisf.c: Likewise.
3488 * soft-fp/floatuntitf.c: Likewise.
3489 * soft-fp/gedf2.c: Likewise.
3490 * soft-fp/gesf2.c: Likewise.
3491 * soft-fp/getf2.c: Likewise.
3492 * soft-fp/ledf2.c: Likewise.
3493 * soft-fp/lesf2.c: Likewise.
3494 * soft-fp/letf2.c: Likewise.
3495 * soft-fp/muldf3.c: Likewise.
3496 * soft-fp/mulsf3.c: Likewise.
3497 * soft-fp/multf3.c: Likewise.
3498 * soft-fp/negdf2.c: Likewise.
3499 * soft-fp/negsf2.c: Likewise.
3500 * soft-fp/negtf2.c: Likewise.
3501 * soft-fp/op-1.h: Likewise.
3502 * soft-fp/op-2.h: Likewise.
3503 * soft-fp/op-4.h: Likewise.
3504 * soft-fp/op-8.h: Likewise.
3505 * soft-fp/op-common.h: Likewise.
3506 * soft-fp/quad.h: Likewise.
3507 * soft-fp/single.h: Likewise.
3508 * soft-fp/soft-fp.h: Likewise.
3509 * soft-fp/subdf3.c: Likewise.
3510 * soft-fp/subsf3.c: Likewise.
3511 * soft-fp/subtf3.c: Likewise.
3512 * soft-fp/truncdfsf2.c: Likewise.
3513 * soft-fp/trunctfdf2.c: Likewise.
3514 * soft-fp/trunctfsf2.c: Likewise.
3515 * soft-fp/trunctfxf2.c: Likewise.
3516 * soft-fp/unorddf2.c: Likewise.
3517 * soft-fp/unordsf2.c: Likewise.
3518 * soft-fp/unordtf2.c: Likewise.
3519
4dfe21ac
RE
35202015-09-24 Richard Earnshaw <rearnsha@arm.com>
3521
3522 PR libgcc/67624
3523 * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
3524
df2a1cc4
RO
35252015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3526
3527 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
3528 Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
3529 * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
3530 messages.
3531 (internal_mcount): Likewise.
3532 * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
3533 crt_compile, add CRTSTUFF_T_CFLAGS_S.
3534
2d110442
RO
35352015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3536
3537 * configure.ac (libgcc_cv_solaris_crts): New test.
3538 * configure: Regenerate.
3539 * config.in: Regenerate.
3540 * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
3541 * config/gmon-sol2.c: Rename to ...
3542 * config/sol2/gmon.c: ... this.
3543 Include auto-target.h.
3544 (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
3545 * config/t-sol2: Rename to ...
3546 * config/sol2/t-sol2: ... this.
3547 (gmon.o): Reflect renaming.
3548 (crtp.o, crtpg.o): New rules.
3549 * config.host (*-*-solaris2*): Reflect renaming.
3550 Use system CRTs if present.
3551 Remove default CRT case.
3552
d572e439
JDA
35532015-09-23 John David Anglin <danglin@gcc.gnu.org>
3554
3555 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
3556 (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
3557 __kernel_cmpxchg2.
3558 (__sync_##OP##_and_fetch_##WIDTH): Likewise.
3559 (__sync_val_compare_and_swap_##WIDTH): Likewise.
3560 (__sync_bool_compare_and_swap_##WIDTH): Likewise.
3561 (__sync_lock_test_and_set_##WIDTH): Likewise.
3562 (__sync_lock_release_##WIDTH): Likewise.
3563 (__sync_fetch_and_##OP##_4): Change result to match type of
3564 __kernel_cmpxchg.
3565 (__sync_##OP##_and_fetch_4): Likewise.
3566 (__sync_val_compare_and_swap_4): Likewise.
3567 (__sync_bool_compare_and_swap_4): likewise.
3568 (__sync_lock_test_and_set_4): Likewise.
3569 (__sync_lock_release_4): Likewise.
3570 (FETCH_AND_OP_2): Add long long variants.
3571 (OP_AND_FETCH_2): Likewise.
3572 (COMPARE_AND_SWAP_2 ): Likewise.
3573 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
3574 (SYNC_LOCK_RELEASE_2): Likewise.
3575 (__sync_bool_compare_and_swap_##WIDTH): Correct return.
3576
7d296953 35772015-09-22 Kirill Yukhin <kirill.yukhin@intel.com>
06caf59d
KY
3578
3579 * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
3580 FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
3581 FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
3582 (get_available_features): Habdle new features.
3583
131314e1
JB
35842015-09-21 James Bowman <james.bowman@ftdichip.com>
3585
3586 * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
3587 memory layout. Deal correctly with BSS region larger than 32K.
3588 Handle a watchdog reset like a power-on reset. Clean up unused
3589 code.
3590
04218b35
AD
35912015-09-18 Andrew Dixie <andrewd@gentrack.com>
3592 David Edelsohn <dje.gcc@gmail.com>
3593
3594 * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
3595 * config/rs6000/crtdbase.S: New file.
3596 * config/rs6000/t-aix-cxa: Build crtdbase.o.
3597
c8338173
MF
35982015-09-15 Max Filippov <jcmvbkbc@gmail.com>
3599
3600 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
3601 Add support for call0 ABI.
3602
7a84bf71
JDA
36032015-09-13 John David Anglin <danglin@gcc.gnu.org>
3604
3605 * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
3606
4efab402
SH
36072015-09-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
3608
3609 * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
3610 (__GTHREAD_HAS_COND): Likewise.
3611 (__gthread_t): Likewise.
3612 (__gthread_cond_t): Likewise.
3613 (__gthread_time_t): Likewise.
3614 (__GTHREAD_MUTEX_INIT): Likewise.
3615 (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
3616 (__GTHREAD_COND_INIT): Likewise.
3617 (__GTHREAD_COND_INIT_FUNCTION): Likewise.
3618 (__GTHREAD_TIME_INIT): Likewise.
3619 (__gthread_create): Likewise.
3620 (__gthread_join): Likewise.
3621 (__gthread_detach): Likewise.
3622 (__gthread_equal): Likewise.
3623 (__gthread_self): Likewise.
3624 (__gthread_yield): Likewise.
3625 (__gthread_cond_broadcast): Likewise.
3626 (__gthread_cond_signal): Likewise.
3627 (__gthread_cond_wait): Likewise.
3628 (__gthread_cond_timedwait): Likewise.
3629 (__gthread_cond_wait_recursive): Likewise.
3630 (__gthread_cond_destroy): Likewise.
3631 (rtems_gxx_once): Delete.
3632 (rtems_gxx_key_create): Likewise.
3633 (rtems_gxx_key_delete): Likewise.
3634 (rtems_gxx_getspecific): Likewise.
3635 (rtems_gxx_setspecific): Likewise.
3636 (rtems_gxx_mutex_init): Likewise.
3637 (rtems_gxx_mutex_destroy): Likewise.
3638 (rtems_gxx_mutex_lock): Likewise.
3639 (rtems_gxx_mutex_trylock): Likewise.
3640 (rtems_gxx_mutex_unlock): Likewise.
3641 (rtems_gxx_recursive_mutex_init): Likewise.
3642 (rtems_gxx_recursive_mutex_lock): Likewise.
3643 (rtems_gxx_recursive_mutex_trylock): Likewise.
3644 (rtems_gxx_recursive_mutex_unlock): Likewise.
3645 (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
3646 (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
3647 (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
3648 (__gthread_once): Likewise.
3649 (__gthread_key_create): Likewise.
3650 (__gthread_key_delete): Likewise.
3651 (__gthread_getspecific): Likewise.
3652 (__gthread_setspecific): Likewise.
3653 (__gthread_key_t): Use <pthread.h> type.
3654 (__gthread_once_t): Likewise
3655 (__gthread_mutex_t): Use <sys/lock.h> type.
3656 (__gthread_recursive_mutex_t): Likewise
3657 (__gthread_mutex_lock): Use <sys/lock.h> function.
3658 (__gthread_mutex_trylock): Likewise.
3659 (__gthread_mutex_timedlock): Likewise.
3660 (__gthread_mutex_unlock): Likewise.
3661 (__gthread_mutex_destroy): Likewise.
3662 (__gthread_recursive_mutex_lock): Likewise.
3663 (__gthread_recursive_mutex_trylock): Likewise.
3664 (__gthread_recursive_mutex_timedlock): Likewise.
3665 (__gthread_recursive_mutex_unlock): Likewise.
3666 (__gthread_recursive_mutex_destroy): Likewise.
3667
991995c4
MF
36682015-08-18 Max Filippov <jcmvbkbc@gmail.com>
3669
3670 * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
3671 context->sp instead of context->cfa.
3672
0e19db59
MF
36732015-08-18 Max Filippov <jcmvbkbc@gmail.com>
3674
3675 * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
3676 with unwind-dw2-fde-dip.
3677
b6ac5f62
MF
36782015-08-18 Max Filippov <jcmvbkbc@gmail.com>
3679
3680 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
3681 CALL12 followed by series of ENTRY to spill windowed registers.
3682 (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
3683 instead of making linux spill syscall.
3684
3e0f3349
YR
36852015-08-14 Yuri Rumyantsev <ysrumyan@gmail.com>
3686
3687 * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
3688 (get_intel_cpu): Likewise.
3689
51c728b1
L
36902015-08-12 H.J. Lu <hongjiu.lu@intel.com>
3691
3692 * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
3693 (get_intel_cpu): Add Knights Landing support.
3694
aff4eeac
UB
36952015-08-11 Uros Bizjak <ubizjak@gmail.com>
3696
3697 PR target/66954
3698 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
3699 (get_available_features): Handle FEATURE_PCLMUL.
3700
736e56da
L
37012015-08-10 H.J. Lu <hongjiu.lu@intel.com>
3702
3703 * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
3704 Broadwell.
3705
54d22142
UB
37062015-07-22 Uros Bizjak <ubizjak@gmail.com>
3707
3708 PR target/66954
3709 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
3710 (get_available_features): Handle FEATURE_AES.
3711
20ca17e4
CLT
37122015-07-22 Chung-Lin Tang <cltang@codesourcery.com>
3713
3714 * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
3715 (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
3716
ebe4a560
NS
37172015-07-17 Nathan Sidwell <nathan@codesourcery.com>
3718
3719 * offloadstuff.c: Constify host data.
3720
180744c0
JB
37212015-07-17 Jan Beulich <jbeulich@suse.com>
3722
3723 * config/t-softfp: Split up "else ifneq".
3724
a03c6ae3
SL
37252015-07-14 Sandra Loosemore <sandra@codesourcery.com>
3726 Cesar Philippidis <cesar@codesourcery.com>
3727 Chung-Lin Tang <cltang@codesourcery.com>
3728
3729 * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
3730 for __nios2_arch__ level.
3731
73358db5
JM
37322015-07-13 John Marino <gnugcc@marino.st>
3733
3734 * config/i386/t-dragonfly: New.
3735
f9a12f7b
JDA
37362015-07-01 John David Anglin <danglin@gcc.gnu.org>
3737
3738 * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
3739 better match light-weight syscall argument order.
3740 (__kernel_cmpxchg2): Likewise.
3741 Adjust callers.
3742
cb78b51c
L
37432015-06-30 H.J. Lu <hongjiu.lu@intel.com>
3744
3745 * config.host: Support i[34567]86-*-elfiamcu target.
3746 * config/t-softfp-sfdftf: New file.
3747 * config/i386/32/t-iamcu: Likewise.
3748 * configure: Regenerated.
3749
4fa0f9ea
JL
37502015-06-23 James Lemke <jwlemke@codesourcery.com>
3751
3752 libgcc/config/arm/
3753 * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
3754
428b3812
L
37552015-05-27 H.J. Lu <hongjiu.lu@intel.com>
3756
3757 * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
3758
7d296953 37592015-05-27 John Marino <gnugcc@marino.st>
89c54dd3
JM
3760
3761 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
3762 md_unwind_header
3763 * config/i386/freebsd-unwind.h: New.
3764
9b789cc1
UB
37652015-05-22 Uros Bizjak <ubizjak@gmail.com>
3766
3767 * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
3768 i386/t-crtfm to tmake_file.
3769 * config/i386/crtfastmath.c (set_fast_math_sse): New function.
3770 (set_fast_math): Use set_fast_math_sse for SSE targets.
3771 * config/i386/t-crtfm: Remove.
3772
3dafb220
AM
37732015-05-21 Alan Modra <amodra@gmail.com>
3774
3775 PR libgcc/66225
3776 * config/rs6000/morestack.S: Remove ".abiversion 1".
3777
0f0fd745
AM
37782015-05-20 Alan Modra <amodra@gmail.com>
3779
3780 * config/rs6000/morestack.S: New.
3781 * config/rs6000/t-stack-rs6000: New.
3782 * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
3783 to tmake_file.
3784 * generic-morestack.c: Don't build for powerpc 32-bit.
3785
515ae71b
EB
37862015-05-19 Eric Botcazou <ebotcazou@adacore.com>
3787
3788 * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
3789 Remove useless endif/ifneq ($(enable_shared),yes) pair.
3790
36805406
JL
37912015-05-16 James Bowman <james.bowman@ftdichip.com>
3792
3793 * config.host: FT32 target added.
3794 * config/ft32/*: New files for FT32 target.
3795
ff935d0c
MG
37962015-05-15 Martin Galvan <martin.galvan@tallertechnologies.com>
3797
385c7747
UB
3798 * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
3799 New macros.
3800 * config/arm/ieee754-df.S: Add CFI directives.
3801 * config/arm/ieee754-sf.S: Add CFI directives.
ff935d0c 3802
9b92a9f3
EB
38032015-05-13 Eric Botcazou <ebotcazou@adacore.com>
3804
3805 * configure.ac: Include config/sjlj.m4.
3806 Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
3807 * config.in: Regenerate.
3808 * configure: Likewise.
3809 * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
3810
98b5dc61
UB
38112015-05-12 Uros Bizjak <ubizjak@gmail.com>
3812
3813 * libgcov-util.c: Add space between string literal and macro name.
3814
5a0ff57c
SL
38152015-05-06 Sandra Loosemore <sandra@codesourcery.com>
3816 Chris Jones <chrisj@nvidia.com>
3817 Joshua Conner <jconner@nvidia.com>
3818
3819 * config.host (arm*-*-linux*): Add support for crtfastmath.o.
3820 (arm*-*-uclinux*): Likewise.
3821 (arm*-*-eabi* | arm*-*-rtems*): Likewise.
3822 * config/arm/crtfastmath.c: New file.
3823
d28ad5d4
BS
38242014-04-29 Bernd Schmidt <bernds@codesourcery.com>
3825
3826 * Makefile.in (real_host_noncanonical): New variable.
3827 (libsubdir): Use it.
3828 * configure.ac (real_host_noncanonical): Compute. Remove special
3829 case for intelmicemul.
3830 * configure: Regenerate.
3831
cc86234f
UB
38322015-04-28 Uros Bizjak <ubizjak@gmail.com>
3833
3834 * config/frv/elf-lib.h: New file.
3835 (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
3836 * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
3837 to tm_file.
3838
38392015-04-28 Uros Bizjak <ubizjak@gmail.com>
3840
3841 * config/frv/frvbengin.c: Do not include defaults.h
3842 * config/frv/frvend.c: Ditto.
3843
2f6bd6eb
YS
38442015-04-27 Yoshinori Sato <ysato@users.sourceforge.jp>
3845
3846 * config.host: Add h8300-*-linux
3847 * config/h8300/t-linux: New file.
3848 * config/h8300/lib1funs.s: Change symbol prefix.
3849 * config/h8300/sfp-machine.h: 64bit double support.
3850
15aa7b44
GR
38512015-04-22 Gregor Richards <gregor.richards@uwaterloo.ca>
3852 Szabolcs Nagy <szabolcs.nagy@arm.com>
3853
3854 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
3855 Linux if target provides dl_iterate_phdr.
3856
abd0cdc9
L
38572015-04-17 H.J. Lu <hongjiu.lu@intel.com>
3858
3859 PR target/65612
3860 * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
3861 * config/i386/cpuinfo.c (__cpu_model): Initialize.
3862 (__cpu_indicator_init@GCC_4.8.0): New.
3863 (__cpu_model@GCC_4.8.0): Likewise.
3864 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
3865 -DUSE_ELF_SYMVER.
3866
72ed1126
NC
38672015-04-16 Nick Clifton <nickc@redhat.com>
3868
3869 * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
3870 and __modhi3 functions.
3871 * config/rl78/divmodso.S: Add G14 and G13 versions of the
3872 __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
3873
d26b2237
CG
38742015-04-15 Chen Gang <gang.chen.5i5j@gmail.com>
3875
3876 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
3877 do-while loop as macro body to avoid warnings.
3878
cacf1f59
JJ
38792015-04-10 Jakub Jelinek <jakub@redhat.com>
3880 Iain Sandoe <iain@codesourcery.com>
3881
3882 PR target/65351
3883 * configure: Regenerate.
3884
e8a4ed3b
JJ
38852015-04-07 Jakub Jelinek <jakub@redhat.com>
3886 Iain Sandoe <iain@codesourcery.com>
3887
3888 PR target/65351
3889 * configure: Regenerate.
3890
0341335e
CLT
38912015-03-25 Chung-Lin Tang <cltang@codesourcery.com>
3892
3893 * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
3894
590e2636 38952015-03-03 Max Filippov <jcmvbkbc@gmail.com>
0341335e 3896
590e2636
MF
3897 Implement call0 ABI for xtensa
3898 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
3899 __xtensa_nonlocal_goto): Don't compile for call0 ABI.
3900 (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
3901 use ret in call0 ABI.
3902 * config/xtensa/t-windowed: New file.
3903 * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
3904 * libgcc/configure: Regenerated.
3905 * libgcc/configure.ac: Check if xtensa target is configured for
3906 windowed ABI and thus needs to use custom unwind code.
3907
7727f8f2
JW
39082015-02-12 Jonathan Wakely <jwakely@redhat.com>
3909
3910 PR libgcc/64885
3911 * gthr-single.h: Use __unused__ attribute instead of unused.
3912 * config/gthr-vxworks.h: Likewise.
3913 * config/i386/gthr-win32.h: Likewise.
3914
0e4a0def
KT
39152015-02-27 Kai Tietz <ktietz@redhat.com>
3916
3917 PR target/65038
3918 * config.in: Regenerated.
3919 * configure: Likewise.
3920 * configure.ac (AC_HEADER_STDC): Added explicit.
3921 (AC_CHECK_HEADERS): Check for default headers plus
3922 for ftw.h header.
3923 * libgcov-util.c (gcov_read_profile_dir): Disable use
3924 of ftw-function, if header is not found.
3925 (ftw_read_file): Likewise.
3926
b6530d0a
TS
39272015-02-23 Thomas Schwinge <thomas@codesourcery.com>
3928
3929 PR target/65181
3930 * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
3931 -Dinhibit_libc.
3932
53cfb467
SL
39332015-02-17 Sandra Loosemore <sandra@codesourcery.com>
3934
3935 * config/arm/bpabi.S (test_div_by_zero): Make label names
3936 consistent between thumb2 and arm mode cases. Separate the
3937 signed comparison on the high word of the numerator from the
3938 unsigned comparison on the low word.
3939 * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
3940 signed comparison.
3941
77d10a1b
JM
39422015-02-17 Joseph Myers <joseph@codesourcery.com>
3943
3944 * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
3945 and <string.h>.
3946 (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
3947
98174188
RE
39482015-02-10 Rainer Emrich <rainer@emrich-ebersheim.de>
3949
3950 PR gcov-profile/61889
471274de 3951 * libgcov-driver-system.c: undefine clashing macro for mkdir.
98174188 3952
771bef14
NC
39532015-02-02 Nick Clifton <nickc@redhat.com>
3954
3955 * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
3956 rounding up the fraction.
3957
40702893
JDA
39582015-01-31 John David Anglin <danglin@gcc.gnu.org>
3959
3960 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
3961 oldval and newval to const void *. Fix typo.
3962 (FETCH_AND_OP_2): Use __atomic_load_n to load value.
3963 (FETCH_AND_OP_WORD): Likewise.
3964 (OP_AND_FETCH_WORD): Likewise.
3965 (COMPARE_AND_SWAP_2): Likewise.
3966 (__sync_val_compare_and_swap_4): Likewise.
3967 (__sync_lock_test_and_set_4): Likewise.
3968 (SYNC_LOCK_RELEASE_2): Likewise.
3969 Remove support for long long atomic operations.
3970
f7f049fa
CT
39712015-01-27 Caroline Tice <cmtice@google.com>
3972
3973 Committing VTV Cywin/Ming patch for Patrick Wollgast
3974 * Makefile.in: Move rules to build vtv_*.o out of the check
3975 for CUSTOM_CRTSTUFF.
3976 * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
3977 i[34567]86-*-mingw*)
3978 (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
3979 enable_vtable_verify.
3980
8410904a
NC
39812015-01-27 Nick Clifton <nickc@redhat.com>
3982
3983 * config/rl78/cmpsi2.S: Use function start and end macros.
3984 (__gcc_bcmp): New function.
3985 * config/rl78/lshrsi3.S: Use function start and end macros.
3986 * config/rl78/mulsi3.S: Add support for G10.
3987 (__mulqi3): New function for G10.
3988 * config/rl78/signbit.S: Use function start and end macros.
3989 * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
3990 fpmath-sf.S.
3991 (LIB2FUNCS_EXCLUDE): Define.
3992 (LIB2FUNCS_ST): Define.
3993 * config/rl78/trampoline.S: Use function start and end macros.
3994 * config/rl78/vregs.h (START_FUNC): New macro.
3995 (START_ANOTHER_FUNC): New macro.
3996 (END_FUNC): New macro.
3997 (END_ANOTHER_FUNC): New macro.
3998 * config/rl78/bit-count.S: New file. Contains assembler
3999 implementations of the bit counting functions: ___clzhi2,
4000 __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
4001 __paritysi2, __popcounthi2 and __popcountsi2.
4002 * config/rl78/fpbit-sf.S: New file. Contains assembler
4003 implementationas of the math functions: __negsf2, __cmpsf2,
4004 __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
4005 __fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
4006 * config/rl78/fpmath-sf.S: New file. Contains assembler
4007 implementations of the math functions: __subsf3, __addsf3,
4008 __mulsf3 and __divsf3
4009
f962fbf1
RO
40102015-01-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4011
4012 * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
4013 Add i386/elf-lib.h to tm_file.
4014 * config/i386/elf-lib.h: Fix comment.
4015 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
4016 && __sun__ && __svr4__]: Remove workaround.
4017
939911c5
ASJ
40182015-01-25 Allan Sandfeld Jensen <sandfeld@kde.org>
4019
4020 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
4021 FEATURE_BMI2.
4022 (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
4023
c8f2dff2
L
40242015-01-24 H.J. Lu <hongjiu.lu@intel.com>
4025
4026 * config/i386/cpuinfo.c (processor_subtypes): Add
4027 INTEL_COREI7_BROADWELL.
4028 (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
4029 model numbers.
4030
7bbf9734
UB
40312015-01-23 Uros Bizjak <ubizjak@gmail.com>
4032
4033 * config/i386/elf-lib.h: New file.
4034 (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
4035 Wrap definition in #ifdef __i386__.
4036 * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
4037 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
4038 (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
4039 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
4040 to tm_file.
4041
324820f1
CG
40422015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
4043
4044 * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
4045 "(char *)" to avoid qualifier warning by 'xgcc' compiling.
4046
a9ce4e4a
CLT
40472015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
4048
4049 * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
4050 Update rt_sigframe format and address for current Nios II
4051 Linux conventions.
4052
82a19768
AT
40532015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
4054
4055 * config.host (arm*-*-freebsd*): Add new configuration for
4056 arm*-*-freebsd*.
4057 * config/arm/freebsd-atomic.c: New file.
4058 * config/arm/t-freebsd: Likewise.
4059 * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
4060 'PC-relative indirect' OS's.
4061
0969ec7d
EB
40622015-01-06 Eric Botcazou <ebotcazou@adacore.com>
4063
4064 * config.host: Add Visium support.
4065 * config/visium: New directory.
4066
5624e564
JJ
40672015-01-05 Jakub Jelinek <jakub@redhat.com>
4068
4069 Update copyright years.
4070
82f84ecb
MF
40712014-12-19 Matthew Fortune <matthew.fortune@imgtec.com>
4072
4073 * config.host: Support mipsisa32r6 and mipsisa64r6.
4074 * config/mips/mips16.S: Do not build for R6.
4075
69044fa9
OE
40762014-12-17 Oleg Endo <olegendo@gcc.gnu.org>
4077
4078 * config/sh/crt.h: New.
4079 * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
4080 symbols.
4081 * config/sh/crt1.S: Likewise.
4082
2405e0ea
UB
40832014-12-15 Uros Bizjak <ubizjak@gmail.com>
4084
4085 PR libgcc/63832
4086 * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
4087 func_ptr *dtor_list temporary variable to avoid "array subscript
4088 is above array bounds" warnings.
4089
7d296953 40902014-12-09 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
dd913323
MH
4091
4092 * Makefile.in (with_aix_soname): Define.
4093 * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
4094 * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
4095 * configure: Recreate.
4096
a66272f6
OH
40972014-12-05 Olivier Hainque <hainque@adacore.com>
4098
4099 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
4100 now provided by defaults.h.
4101
6342b2c5
OE
41022014-11-30 Oleg Endo <olegendo@gcc.gnu.org>
4103
7d0ee249 4104 PR target/55351
6342b2c5
OE
4105 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
4106 whether it's defined.
4107
c17eac85
IT
41082014-11-27 Ilya Tocar <ilya.tocar@intel.com>
4109
4110 * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
4111 * config/i386/cpuinfo.c (get_available_features): Detect it.
4112
1025cb6c
TW
41132014-11-27 Tony Wang <tony.wang@arm.com>
4114
4115 * config/arm/lib1funcs.S (FUNC_START): Add conditional section
4116 redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
4117 (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
4118
d19f2e38
SB
41192014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
4120
4121 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
4122
17f6e9a3
JDA
41232014-11-24 John David Anglin <danglin@gcc.gnu.org>
4124
4125 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
4126 instead.
4127
0cd7c672
GM
41282014-11-21 Guy Martin <gmsoft@tuxicoman.be>
4129 John David Anglin <danglin@gcc.gnu.org>
4130
4131 * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
4132 (FETCH_AND_OP_2): New. Use for subword and double word operations.
4133 (OP_AND_FETCH_2): Likewise.
4134 (COMPARE_AND_SWAP_2): Likewise.
4135 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
4136 (SYNC_LOCK_RELEASE_2): Likewise.
4137 (SUBWORD_SYNC_OP): Remove.
4138 (SUBWORD_VAL_CAS): Likewise.
4139 (SUBWORD_BOOL_CAS): Likewise.
4140 (FETCH_AND_OP_WORD): Update.
4141 Consistently use signed types.
cc86234f 4142
85c64bbe
BS
41432014-11-13 Bernd Schmidt <bernds@codesourcery.com>
4144 Thomas Schwinge <thomas@codesourcery.com>
4145 Ilya Verbin <ilya.verbin@intel.com>
4146 Andrey Turetskiy <andrey.turetskiy@intel.com>
4147
4148 * Makefile.in (crtoffloadbegin$(objext)): New rule.
4149 (crtoffloadend$(objext)): Likewise.
4150 * configure: Regenerate.
4151 * configure.ac (accel_dir_suffix): Compute new variable.
4152 (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
4153 if enable_offload_targets is not empty.
4154 * offloadstuff.c: New file.
4155
52a1ff8b
NC
41562014-11-13 Nick Clifton <nickc@redhat.com>
4157
4158 * config/rl78/divmodhi.S: Add support for the G10 architecture.
4159 Use START_FUNC and END_FUNC macros to enable linker garbage
4160 collection.
4161 * config/rl78/divmodqi.S: Likewise.
4162 * config/rl78/divmodsi.S: Likewise.
4163 * config/rl78/mulsi3.S: Likewise.
4164 * config/rl78/lib2div.c: Remove G10 functions.
4165 * config/rl78/lib2muls.c: Likewise.
4166 * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
4167 * config/rl78/vregs.h (START_FUNC): New macro.
4168 (END_FUNC): New macro.
4169
050af144
MF
41702014-11-12 Matthew Fortune <matthew.fortune@imgtec.com>
4171
4172 * config/mips/mips16.S: Set .module when supported. Update O32
4173 FP64 calling convention and use for FPXX when possible. Add FPXX
4174 calling convention fallback case.
4175
738f2522
BS
41762014-11-06 Bernd Schmidt <bernds@codesourcery.com>
4177
4178 * config.host: Handle nvptx-*-*.
4179 * shared-object.mk (as-flags-$o): Define.
4180 ($(base)$(objext), $(base)_s$(objext)): Use it instead of
4181 -xassembler-with-cpp.
4182 * static-object.mk: Identical changes.
4183 * config/nvptx/t-nvptx: New file.
4184 * config/nvptx/crt0.s: New file.
4185 * config/nvptx/free.asm: New file.
4186 * config/nvptx/malloc.asm: New file.
4187 * config/nvptx/realloc.c: New file.
4188
e610393c
JM
41892014-10-30 Joseph Myers <joseph@codesourcery.com>
4190
4191 * Makefile.in (libgcc.map.in): New target.
4192 (libgcc.map): Use libgcc.map.in.
4193 * config/t-softfp (softfp_compat): New variable to be set by
4194 users.
4195 [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
4196 variables.
4197 [$(softfp_compat) = y] (softfp_file_list): Use files in the build
4198 directory.
4199 [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
4200 that use compat symbols and disable all code unless [SHARED].
4201 * config/t-softfp-compat: New file.
4202 * find-symver.awk: New file.
4203 * configure.ac (--with-glibc-version): New configure option.
4204 (ppc_fp_compat): New variable set for powerpc*-*-linux*.
4205 * configure: Regenerate.
4206 * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
4207 soft-float and e500.
4208
bc1b3a88
JM
42092014-10-29 Joseph Myers <joseph@codesourcery.com>
4210
4211 * config/t-hardfp (hardfp_exclusions): Document new variable for
4212 user to define.
4213 (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
4214 * config/t-softfp (softfp_extras): Document new variable for user
4215 to define.
4216 (softfp_func_list): Add functions from $(softfp_extras).
4217 * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
4218 * config.host (powerpc*-*-linux*): For e500v1, use
4219 rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
4220 t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
4221 and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
4222
ef2810c1
JDA
42232014-10-26 John David Anglin <danglin@gcc.gnu.org>
4224
4225 * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
4226 (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
4227 memory read accesses are ok.
4228
d80c2bea
JM
42292014-10-25 Joseph Myers <joseph@codesourcery.com>
4230
4231 * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
4232 * configure: Regenerate.
4233 * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
4234 additions to tmake_file. Use t-hardfp-sfdf and t-hardfp instead
4235 of soft-fp for 32-bit classic hard float. Do not use
4236 t-softfp-excl for soft float.
4237
693b297b
JM
42382014-10-22 Joseph Myers <joseph@codesourcery.com>
4239
4240 * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
4241 configurations.
4242 * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
4243 Remove variables.
4244
18a3415e
GJL
42452014-10-22 Georg-Johann Lay <avr@gjlay.de>
4246
4247 * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
4248 introduced with 2014-10-21 trunk r216525.
4249
c1dd9790 42502014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
7d296953
JJ
4251 Vidya Praveen <vidya.praveen@atmel.com>
4252 Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
4253 Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
4254 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
c1dd9790
JR
4255
4256 * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
4257 order.
4258
4259 Updated library functions for AVRTINY arch.
4260 * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
4261 Replaced occurrences of r0/r1 with tmp/zero reg macros.
4262 Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
4263 or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
4264 wsubi/wadi macors.
4265 (__mulsi3_helper): Update stack, preserve callee saved regs and
4266 argument from stack. Restore callee save registers.
4267 (__mulpsi3): Likewise.
4268 (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
4269 __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
18a3415e 4270 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
c1dd9790
JR
4271 AVRTINY.
4272 (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
4273 (__do_copy_data): Added new definition for AVRTINY.
4274 (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
4275 (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
4276 __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
4277 * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
4278 tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
4279 macors.
18a3415e 4280 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
c1dd9790
JR
4281 AVRTINY.
4282
18a3415e 4283 Fix broken long multiplication on tiny arch.
c1dd9790 4284
5f606431
JM
42852014-10-09 Joseph Myers <joseph@codesourcery.com>
4286
4287 * soft-fp/double.h: Update from glibc.
4288 * soft-fp/eqdf2.c: Likewise.
4289 * soft-fp/eqsf2.c: Likewise.
4290 * soft-fp/eqtf2.c: Likewise.
4291 * soft-fp/extenddftf2.c: Likewise.
4292 * soft-fp/extended.h: Likewise.
4293 * soft-fp/extendsfdf2.c: Likewise.
4294 * soft-fp/extendsftf2.c: Likewise.
4295 * soft-fp/extendxftf2.c: Likewise.
4296 * soft-fp/gedf2.c: Likewise.
4297 * soft-fp/gesf2.c: Likewise.
4298 * soft-fp/getf2.c: Likewise.
4299 * soft-fp/ledf2.c: Likewise.
4300 * soft-fp/lesf2.c: Likewise.
4301 * soft-fp/letf2.c: Likewise.
4302 * soft-fp/op-1.h: Likewise.
4303 * soft-fp/op-2.h: Likewise.
4304 * soft-fp/op-4.h: Likewise.
4305 * soft-fp/op-8.h: Likewise.
4306 * soft-fp/op-common.h: Likewise.
4307 * soft-fp/quad.h: Likewise.
4308 * soft-fp/single.h: Likewise.
4309 * soft-fp/soft-fp.h: Likewise.
4310 * soft-fp/unorddf2.c: Likewise.
4311 * soft-fp/unordsf2.c: Likewise.
4312 * soft-fp/unordtf2.c: Likewise.
4313 * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
4314 * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
4315 * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
4316 * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
4317 * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
4318 * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
4319 * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
4320 * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
4321 * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
4322 * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
4323
9b84e7a8
RX
43242014-10-08 Rong Xu <xur@google.com>
4325
4326 * libgcov-util.c (read_gcda_file): Fix format.
4327 (find_match_gcov_info): Ditto.
4328 (calculate_2_entries): New.
4329 (compute_one_gcov): Ditto.
4330 (gcov_info_count_all_cold): Ditto.
4331 (gcov_info_count_all_zero): Ditto.
4332 (extract_file_basename): Ditto.
4333 (get_file_basename): Ditto.
4334 (set_flag): Ditto.
4335 (matched_gcov_info): Ditto.
4336 (calculate_overlap): Ditto.
4337 (gcov_profile_overlap): Ditto.
4338 * libgcov-driver.c (compute_summary): Make
4339 it avavilable for external calls.
4340
fe1090c1
RX
43412014-10-06 Rong Xu <xur@google.com>
4342
4343 * Makefile.in: Ditto.
4344 * libgcov-driver.c (gcov_sort_n_vals): New utility function.
4345 (gcov_sort_icall_topn_counter): Ditto.
4346 (gcov_sort_topn_counter_arrays): Ditto.
4347 (dump_one_gcov): Sort indirect_call topn counters.
4348 * libgcov-merge.c (__gcov_merge_icall_topn): New merge
4349 function.
4350 * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
4351 utility function.
4352 (__gcov_indirect_call_topn_profiler): New profiler function.
4353 * libgcov-util.c (__gcov_icall_topn_counter_op): New.
4354 * libgcov.h: New decls.
4355
3daa7bbf
TS
43562014-10-04 Trevor Saunders <tsaunders@mozilla.com>
4357
4358 * config.host: Remove support for score-*.
4359
9a79452d
JM
43602014-09-22 Joseph Myers <joseph@codesourcery.com>
4361
4362 * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
4363 (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
4364 (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
4365 __LIBGCC_XF_MANT_DIG__.
4366 (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
4367 (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
4368 __LIBGCC_TF_MANT_DIG__.
4369 * libgcc2.c (NOTRUNC): Define in terms of
4370 __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
4371 * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
4372
1a849e50
JM
43732014-09-22 Joseph Myers <joseph@codesourcery.com>
4374
4375 PR target/63312
4376 * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
4377 New macros.
4378
598a1586
HPN
43792014-09-22 Hans-Peter Nilsson <hp@axis.com>
4380
4381 * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
4382 override USE_PT_GNU_EH_FRAME.
4383 [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
4384 check USE_EH_FRAME_REGISTRY_ALWAYS against
4385 __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
4386 * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
4387 variable for substituted force_explicit_eh_registry.
4388 (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
4389 * configure.ac (explicit-exception-frame-registration):
4390 New AC_ARG_ENABLE.
4391 * configure: Regenerate.
4392
3a8fe7c6
OH
43932014-09-19 Olivier Hainque <hainque@adacore.com>
4394
4395 * config.host (powerpc-wrs-vxworksmils): New configuration,
4396 same as vxworksae.
4397
dd69f047
JM
43982014-09-18 Joseph Myers <joseph@codesourcery.com>
4399
4400 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
4401
e770bfd9
JM
44022014-09-18 Joseph Myers <joseph@codesourcery.com>
4403
4404 * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
4405 bits not set bits as indicating trapping exceptions.
4406
cadb2b96
NS
44072014-09-17 Nathan sidwell <nathan@acm.org>
4408
4409 * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
4410 (LIBGCOV_DRIVER): ... here.
4411 * libgcov-driver.c (gcov_master): New.
4412 (gcov_exit): Remove from master chain.
4413 (__gcov_init): Add to master chain if version compatible. Don't
4414 clear the version.
4415 * libgcov_interface (__gcov_flust): Call gcov_dump_int.
4416 (gcov_reset_int): Clear master chain, if compatible.
4417 (gcov_dump_int): New internal interface. Dump master chain, if
4418 compatible.
4419 (gcov_dump): Alias for gcov_dump_int.
4420 * libgcov.h (struct gcov_root): Add next and prev fields.
4421 (struct gcov_master): New struct.
4422 (__gcov_master): New.
4423 (gcov_dump_int): Declare.
4424
580d22a3
OH
44252014-09-17 Olivier Hainque <hainque@adacore.com>
4426
4427 * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
4428 and crtbegin.o + crtend.o to extra_parts.
4429
8cc4b7a2
JM
44302014-09-12 Joseph Myers <joseph@codesourcery.com>
4431
4432 * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
4433 __LIBGCC_HAS_SF_MODE__.
4434 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
4435 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
4436 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
4437 * config/libbid/bid_gcc_intrinsics.h
4438 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
4439 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
4440 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
4441 * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
4442 (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
4443 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
4444
ea3f2b24
GJL
44452014-09-11 Georg-Johann Lay <avr@gjlay.de>
4446
4447 PR target/63223
4448 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
4449 and R24 as needed. Make work for all devices and .text locations.
4450 (__do_global_ctors, __do_global_dtors): Use word addresses.
4451 (__tablejump__, __tablejump_elpm__): Remove functions.
4452 * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
4453 Add _tablejump2.
4454 (XICALL, XIJMP): New macros.
4455
b677236a
MS
44562014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
4457 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
4458
4459 * config.host (aarch64*): Include crtfastmath.o and
4460 t-crtfm.
4461 * config/aarch64/crtfastmath.c: New file.
4462
157e859f
TS
44632014-09-08 Trevor Saunders <tsaunders@mozilla.com>
4464
4465 * config.host: Remove picochip support.
4466 * config/picochip/adddi3.S: Remove.
4467 * config/picochip/ashlsi3.S: Remove.
4468 * config/picochip/ashlsi3.c: Remove.
4469 * config/picochip/ashrsi3.S: Remove.
4470 * config/picochip/ashrsi3.c: Remove.
4471 * config/picochip/clzsi2.S: Remove.
4472 * config/picochip/cmpsi2.S: Remove.
4473 * config/picochip/divmod15.S: Remove.
4474 * config/picochip/divmodhi4.S: Remove.
4475 * config/picochip/divmodsi4.S: Remove.
4476 * config/picochip/lib1funcs.S: Remove.
4477 * config/picochip/longjmp.S: Remove.
4478 * config/picochip/lshrsi3.S: Remove.
4479 * config/picochip/lshrsi3.c: Remove.
4480 * config/picochip/parityhi2.S: Remove.
4481 * config/picochip/popcounthi2.S: Remove.
4482 * config/picochip/setjmp.S: Remove.
4483 * config/picochip/subdi3.S: Remove.
4484 * config/picochip/t-picochip: Remove.
4485 * config/picochip/ucmpsi2.S: Remove.
4486 * config/picochip/udivmodhi4.S: Remove.
4487 * config/picochip/udivmodsi4.S: Remove.
4488
66bb34c0
JM
44892014-09-08 Joseph Myers <joseph@codesourcery.com>
4490
4491 * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
4492 (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
4493 (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
4494 (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
4495 * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
4496 error if not defined and LIBGCC2_HAS_SF_MODE is defined.
4497 (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
4498 defined and LIBGCC2_HAS_DF_MODE is defined.
4499 (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
4500 defined and LIBGCC2_HAS_XF_MODE is defined.
4501 (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
4502 defined and LIBGCC2_HAS_TF_MODE is defined.
4503
9686a2e6
JM
45042014-09-08 Joseph Myers <joseph@codesourcery.com>
4505
4506 * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
4507 and ROUND_TOWARDS_ZERO conditionals.
4508
71c3e2ef
NS
45092014-09-07 Nathan sidwell <nathan@acm.org>
4510
4511 * libgcov-interface.c (STRONG_ALIAS): Rename to ...
4512 (ALIAS_weak): ... here. Use forwarding function. Adjust uses.
4513
53d68b9f
JM
45142014-09-05 Joseph Myers <joseph@codesourcery.com>
4515
4516 * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
4517 * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
4518 uses to __LIBGCC_STACK_POINTER_REGNUM__.
4519 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
4520 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4521 * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
4522 Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4523 * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
4524 uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
4525 (DWARF_FRAME_REGISTERS): Change all uses to
4526 __LIBGCC_DWARF_FRAME_REGISTERS__.
4527 (EH_RETURN_STACKADJ_RTX): Change all uses to
4528 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
4529 * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
4530 __LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
4531 * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
4532 use to __LIBGCC_EH_FRAME_SECTION_NAME__.
4533 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
4534 * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
4535 to __LIBGCC_EH_FRAME_SECTION_NAME__.
4536 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
4537 * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
4538 __LIBGCC_STACK_POINTER_REGNUM__.
4539 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
4540 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4541 * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
4542 to __LIBGCC_STACK_POINTER_REGNUM__.
4543 * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
4544 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4545 * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
4546 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4547 * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
4548 Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4549 (STACK_POINTER_REGNUM): Change all uses to
4550 __LIBGCC_STACK_POINTER_REGNUM__.
4551 * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
4552 use to __LIBGCC_STACK_POINTER_REGNUM__.
4553 * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
4554 uses to __LIBGCC_STACK_POINTER_REGNUM__.
4555 * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
4556 to __LIBGCC_DWARF_FRAME_REGISTERS__.
4557 * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
4558 to __LIBGCC_DWARF_FRAME_REGISTERS__.
4559 * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
4560 to __LIBGCC_STACK_POINTER_REGNUM__.
4561 * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
4562 Remove conditional definition.
4563 * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
4564 __LIBGCC_TEXT_SECTION_ASM_OP__.
4565 (EH_FRAME_SECTION_NAME): Change all uses to
4566 __LIBGCC_EH_FRAME_SECTION_NAME__.
4567 (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
4568 __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
4569 (CTORS_SECTION_ASM_OP): Change all uses to
4570 __LIBGCC_CTORS_SECTION_ASM_OP__.
4571 (DTORS_SECTION_ASM_OP): Change all uses to
4572 __LIBGCC_DTORS_SECTION_ASM_OP__.
4573 (JCR_SECTION_NAME): Change all uses to
4574 __LIBGCC_JCR_SECTION_NAME__.
4575 (INIT_SECTION_ASM_OP): Change all uses to
4576 __LIBGCC_INIT_SECTION_ASM_OP__.
4577 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
4578 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
4579 * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
4580 __LIBGCC_STACK_GROWS_DOWNWARD__.
4581 * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
4582 __LIBGCC_INIT_SECTION_ASM_OP__.
4583 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
4584 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
4585 (EH_FRAME_SECTION_NAME): Change all uses to
4586 __LIBGCC_EH_FRAME_SECTION_NAME__.
4587 * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
4588 definitions. Change all uses to
4589 __LIBGCC_VTABLE_USES_DESCRIPTORS__.
4590 * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
4591 __LIBGCC_STACK_GROWS_DOWNWARD__.
4592 (DWARF_FRAME_REGISTERS): Change all uses to
4593 __LIBGCC_DWARF_FRAME_REGISTERS__.
4594 (EH_RETURN_STACKADJ_RTX): Change all uses to
4595 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
4596 * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
4597 definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
4598 * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
4599 __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
4600 (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
4601
b20ee094
NS
46022014-09-02 Nathan sidwell <nathan@acm.org>
4603
4604 * libgcov-interface.c (STRONG_ALIAS): New.
4605 (__gcov_flush): Call __gcov_reset_int.
4606 (__gcov_reset): Strong alias for ...
4607 (__gcov_reset_ing): ... this renamed hidden version.
4608 * libgcov.h (__gcov_reset_int): New declaration.
4609
1ac83976
YS
46102014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
4611
25efdb9f
YS
4612 * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
4613 call from here...
4614 * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
4615 (__dso_handle): Define on Cygwin.
4616 * config/i386/t-cygming (crtbeginS.o): New rule.
4617 * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
4618
1ac83976
YS
4619 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
4620 declaration syntax.
4621
c6f9ea3b
SE
46222014-08-13 Steve Ellcey <sellcey@mips.com>
4623
4624 * crtstuff.c: Undef caddr_t.
4625
5b1ea7c5
SE
46262014-08-12 Steve Ellcey <sellcey@mips.com>
4627
4628 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
4629
4303c581
NS
46302014-08-07 Nathan Sidwell <nathan@acm.org>
4631
4632 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
4633 (LIBGCOV_DRIVER): ... to here.
4634 * libgcov.h (gcov_do_dump): New #define.
4635 (struct gcov_root): New.
4636 (__gcov_root): New declaration.
4637 (__gcov_dump_one): Declare.
4638 * libgcov-driver.c (gcov_list, gcov_dump_complete,
4639 run_accounted): Delete.
4640 (gcov_compute_histogram): Add LIST argument, adjust.
4641 (compute_summary): Adjust gcov_compute_histogram call.
4642 (gcov_do_dump): Not hidden, static in libgcov.
4643 (gcov_clear): Move to interface.c.
4644 (__gcov_dump_one): New, broken out of ...
4645 (gcov_exit): ... here. Make static.
4646 (__gcov_root): New.
4647 (__gcov_init): Adjust.
4648 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
4649 declarations.
4650 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
4651 (gcov_clear): Moved from driver.c. Add LIST argument.
4652 (__gcov_reset): Adjust for changed interfaces.
4653 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
4654
23742a9e
RAR
46552014-08-04 Rohit <rohitarulraj@freescale.com>
4656
4657 PR target/60102
4658 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
d406ae47 4659 based on change in SPE high register numbers and 3 HTM registers.
23742a9e 4660
b98a872b
NS
46612014-08-01 Nathan Sidwell <nathan@acm.org>
4662
4663 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
4664 LIBGCOV_INTERFACE): Reformat.
4665 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
4666 IN_GCOV_TOOL.
4667 * libgcov-interface.c: Reformat some comments.
4668 (__gcov_flush_mx): Add declaration. Tidy up definition.
4669
6adaaa1d
AM
46702014-07-31 Alan Modra <amodra@gmail.com>
4671 Peter Bergner <bergner@vnet.ibm.com>
4672
4673 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
4674 (pack_ldouble): New function.
4675 (__gcc_qadd): Use it.
4676 (__gcc_qmul): Likewise.
4677 (__gcc_qdiv): Likewise.
4678 (__gcc_qneg): Likewise.
4679 (__gcc_stoq): Likewise.
4680 (__gcc_dtoq): Likewise.
4681
87cb0c0c
UW
46822014-07-30 J. D. Johnston <jjohnst@us.ibm.com>
4683
4684 * config/s390/tpf-unwind.h: Include <stdbool.h>.
4685 (__tpf_eh_return): Add original return address as second parameter.
4686 Handle cases where unwinder routines were called directly, instead
4687 of from within the C++ library.
4688
19926161
NS
46892014-07-29 Nathan Sidwell <nathan@acm.org>
4690
4691 * libgcov.h: Move renaming of entry points to lib gcov specific
4692 portion.
4693 (gcov_do_dump): New rename.
4694 (gcov_rewrite): Remove inline, make HIDDEN.
4695 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
4696 (gcov_exit_compute_summary): Rename to ...
4697 (compute_summary): ... here. Add LIST argument.
4698 (gcov_exit_merge_gcda): Rename to ...
4699 (merge_one_data): ... here.
4700 (gcov_exit_write_gcda): Rename to ...
4701 (write_one_data): ... here.
4702 (gcov_exit_merge_summary): Rename to ...
4703 (merge_summary): Add RUN_COUNTED argument.
4704 (gcov_exit_dump_gcov): Rename to ...
4705 (dump_one_gcov): Add RUN_COUNTED argument.
4706 (gcov_do_dump): New function, broken out of ...
4707 (gcov_exit): ... here. Call it.
4708
17522262
AG
47092014-07-27 Anthony Green <green@moxielogic.com>
4710
4711 * config.host: Add moxiebox configuration suppport.
4712
6dc33097
NS
47132014-07-27 Nathan Sidwell <nathan@acm.org>
4714
4715 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
4716 (struct gcov_filename): ... here. Include buffer and max length
4717 fields.
4718 (gcov_max_filename): Remove.
4719 (gi_filename): Remove.
4720 (gcov_exit_compute_summary): Compute max filename here.
4721 (gcov_exit_merge_gcda): Add filename parm, adjust.
4722 (gcov_exit_merge_summary): Likewise.
4723 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
4724 (gcov_exit): Likewise.
4725 (__gcov_init): Don't calculate max length here.
4726 * libgcov_util.c (max_filename_len): Remove.
4727 (read_gcda_file): Don't calculate max length here.
4728 (gcov_read_profile_dir): Don't propagate here.
4729 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
4730 struct gcov_filename changes.
4731 (gcov_exit_open_gcda_file): Likewise.
4732
770f687d
NS
47332014-07-25 Nathan Sidwell <nathan@acm.org>
4734
4735 * libgcov-driver.c (set_gcov_dump_complete,
4736 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
4737 functions polluting user's namespace.
4738 (gcov_exit): Set variable directly.
4739 (gcov_clear): Reset variable directly.
4740 * libgcov-interface.c (get_gcov_dymp_complete,
4741 reset_gov_dump_complete): Remove declarations.
4742 (__gcov_reset, __gcov_dump): Don't call them.
4743
fabf71ba
DD
47442014-07-24 DJ Delorie <dj@redhat.com>
4745
4746 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
770f687d
NS
4747 (__gcc_deregister_frame): Move logic to detect deregister function
4748 to ...
4749 (__gcc_register_frame): here, so it's consistent with the register
4750 logic.
fabf71ba 4751
d10ee722
NS
47522014-07-23 Nathan Sidwell <nathan@acm.org>
4753
4754 * libgcov-driver.c (set_gcov_list): Remove.
4755 (gcov_list): Make non-static in GCOV_TOOL.
4756 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
4757
a4137090
JDA
47582014-07-17 John David Anglin <danglin@gcc.gnu.org>
4759
4760 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
4761 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
4762 Don't use SYNC_LOCK_RELEASE for int type.
4763
72602c6c
RB
47642014-07-14 Richard Biener <rguenther@suse.de>
4765
4766 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
4767
d5313205
RX
47682014-07-11 Rong Xu <xur@google.com>
4769
4770 * libgcov-util.c (gcov_max_filename): Fix declartion.
4771
c77556a5
RX
47722014-07-10 Rong Xu <xur@google.com>
4773
4774 Add gcov-tool: an offline gcda profile processing tool
4775 Support.
4776 * libgcov-driver.c (gcov_max_filename): Make available
4777 to gcov-tool.
4778 * libgcov-merge.c (__gcov_merge_add): Replace
4779 gcov_read_counter() with a Macro.
4780 (__gcov_merge_ior): Ditto.
4781 (__gcov_merge_time_profile): Ditto.
4782 (__gcov_merge_single): Ditto.
4783 (__gcov_merge_delta): Ditto.
4784 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
4785 in the utility functions.
4786 (set_fn_ctrs): Utility function for reading gcda files to in-memory
4787 gcov_list object link lists.
4788 (tag_function): Ditto.
4789 (tag_blocks): Ditto.
4790 (tag_arcs): Ditto.
4791 (tag_lines): Ditto.
4792 (tag_counters): Ditto.
4793 (tag_summary): Ditto.
4794 (read_gcda_finalize): Ditto.
4795 (read_gcda_file): Ditto.
4796 (ftw_read_file): Ditto.
4797 (read_profile_dir_init): Ditto.
4798 (gcov_read_profile_dir): Ditto.
4799 (gcov_read_counter_mem): Ditto.
4800 (gcov_get_merge_weight): Ditto.
4801 (merge_wrapper): A wrapper function that calls merging handler.
4802 (gcov_merge): Merge two gcov_info objects with weights.
4803 (find_match_gcov_info): Find the matched gcov_info in the list.
4804 (gcov_profile_merge): Merge two gcov_info object lists.
4805 (__gcov_add_counter_op): Process edge profile counter values.
4806 (__gcov_ior_counter_op): Process IOR profile counter values.
4807 (__gcov_delta_counter_op): Process delta profile counter values.
4808 (__gcov_single_counter_op): Process single profile counter values.
4809 (fp_scale): Callback function for float-point scaling.
cc86234f 4810 (int_scale): Callback function for integer fraction scaling.
c77556a5
RX
4811 (gcov_profile_scale): Scaling profile counters.
4812 (gcov_profile_normalize): Normalize profile counters.
4813 * libgcov.h: Add headers and functions for gcov-tool use.
4814 (gcov_get_counter): New.
4815 (gcov_get_counter_target): Ditto.
4816 (struct gcov_info): Make the functions field mutable in gcov-tool
4817 compilation.
4818
5c7dac8a
KT
48192014-06-23 Kai Tietz <ktietz@redhat.com>
4820
4821 PR libgcc/61585
4822 * unwind-seh.c (_Unwind_GetGR): Check for proper
4823 index range.
4824 (_Unwind_SetGR): Likewise.
4825
161c9312
NC
48262014-05-22 Nick Clifton <nickc@redhat.com>
4827
4828 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
4829 -mhwmult=none.
4830
e3f0315f
TJ
48312014-05-22 Teresa Johnson <tejohnson@google.com>
4832
4833 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
4834 include.
4835
dbed5a9b
JM
48362014-05-20 John Marino <gnugcc@marino.st>
4837
4838 * config.host (*-*-dragonfly*): New target.
4839 * crtstuff.c: Make dl_iterate_support generic on *bsd.
4840 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
4841 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
4842 * config/i386/dragonfly-unwind.h: New.
4843
1ec380e5
MR
48442014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
4845
4846 PR libgcc/60166
4847 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
4848 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
4849
54fde020
BE
48502014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
4851
4852 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
4853 implementation.
4854
999db125
GJL
48552014-05-12 Georg-Johann Lay <avr@gjlay.de>
4856
4857 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
4858
cceaf54a
RO
48592014-05-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4860
4861 PR libgcc/61097
4862 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
4863 if --enable-shared.
4864
e3fe9b5b
BE
48652014-04-30 Bernd Edlinger <bernd.edlinger@hotmail.de>
4866
4867 Work around for current cygwin32 build problems.
4868 * config/i386/cygming-crtbegin.c (__register_frame_info,
4869 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
4870 functions only for 64-bit systems.
4871
54cf37e9
RO
48722014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4873
4874 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
4875 (sigill_caught, sigill_hdlr): Remove.
4876
d9f069ab
RO
48772014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4878
4879 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
4880 check.
4881 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
4882 Solaris 9 single-threaded support.
4883 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
4884 Solaris 9 single-threaded support. Add call_user_handler code
4885 sequences.
4886 (sparc_is_sighandler): Likewise.
4887
59976ef8
AK
48882014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4889
4890 * config.host: Append t-floattodi to tmake_file depending on
4891 host_address.
4892
d02bbcf3
JS
48932014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
4894
31466bc0 4895 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
d02bbcf3 4896
c2e7e597
UB
48972014-03-10 Uros Bizjak <ubizjak@gmail.com>
4898
4899 PR libgcc/60472
4900 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
2405e0ea 4901 variable to avoid "array subscript is above array bounds" warnings.
c2e7e597
UB
4902 Use __builtin_expect when checking *jcr_list for NULL.
4903
227a7dc8
RO
49042014-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4905
4906 PR libgcc/59339
4907 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
4908 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
4909 vtv_*.o to extra_parts if enable_vtable_verify.
4910
df2b279c
NC
49112014-03-06 Nick Clifton <nickc@redhat.com>
4912
4913 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
4914 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
4915
dc11d79b
JY
49162014-02-28 Joey Ye <joey.ye@arm.com>
4917
4918 PR libgcc/60166
4919 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
4920 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
4921 Set to zero.
4922
341c653c
WL
49232014-02-24 Walter Lee <walt@tilera.com>
4924
4925 * config.host: Support "tilegx*" and "tilepro*" triplets.
4926 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
4927 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
4928
95ce7613
CLT
49292014-02-20 Sandra Loosemore <sandra@codesourcery.com>
4930 Chung-Lin Tang <cltang@codesourcery.com>
4931
4932 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
4933 * config/nios2/crti.S: Remove .file directive.
4934 * config/nios2/crtn.S: Likewise.
4935
0bb4fc05
KT
49362014-02-18 Kai Tietz <ktietz@redhat.com>
4937 Jonathan Schleifer <js@webkeks.org>
4938
4939 PR objc/56870
4940 * unwind-seh.c (_GCC_specific_handler): Pass proper
4941 value to unwind-handler.
4942
9acf28f1
JM
49432014-02-12 Joseph Myers <joseph@codesourcery.com>
4944
4945 * soft-fp/adddf3.c: Update from glibc.
4946 * soft-fp/addsf3.c: Likewise.
4947 * soft-fp/addtf3.c: Likewise.
4948 * soft-fp/divdf3.c: Likewise.
4949 * soft-fp/divsf3.c: Likewise.
4950 * soft-fp/divtf3.c: Likewise.
4951 * soft-fp/double.h: Likewise.
4952 * soft-fp/eqdf2.c: Likewise.
4953 * soft-fp/eqsf2.c: Likewise.
4954 * soft-fp/eqtf2.c: Likewise.
4955 * soft-fp/extenddftf2.c: Likewise.
4956 * soft-fp/extended.h: Likewise.
4957 * soft-fp/extendsfdf2.c: Likewise.
4958 * soft-fp/extendsftf2.c: Likewise.
4959 * soft-fp/extendxftf2.c: Likewise.
4960 * soft-fp/fixdfdi.c: Likewise.
4961 * soft-fp/fixdfsi.c: Likewise.
4962 * soft-fp/fixdfti.c: Likewise.
4963 * soft-fp/fixsfdi.c: Likewise.
4964 * soft-fp/fixsfsi.c: Likewise.
4965 * soft-fp/fixsfti.c: Likewise.
4966 * soft-fp/fixtfdi.c: Likewise.
4967 * soft-fp/fixtfsi.c: Likewise.
4968 * soft-fp/fixtfti.c: Likewise.
4969 * soft-fp/fixunsdfdi.c: Likewise.
4970 * soft-fp/fixunsdfsi.c: Likewise.
4971 * soft-fp/fixunsdfti.c: Likewise.
4972 * soft-fp/fixunssfdi.c: Likewise.
4973 * soft-fp/fixunssfsi.c: Likewise.
4974 * soft-fp/fixunssfti.c: Likewise.
4975 * soft-fp/fixunstfdi.c: Likewise.
4976 * soft-fp/fixunstfsi.c: Likewise.
4977 * soft-fp/fixunstfti.c: Likewise.
4978 * soft-fp/floatdidf.c: Likewise.
4979 * soft-fp/floatdisf.c: Likewise.
4980 * soft-fp/floatditf.c: Likewise.
4981 * soft-fp/floatsidf.c: Likewise.
4982 * soft-fp/floatsisf.c: Likewise.
4983 * soft-fp/floatsitf.c: Likewise.
4984 * soft-fp/floattidf.c: Likewise.
4985 * soft-fp/floattisf.c: Likewise.
4986 * soft-fp/floattitf.c: Likewise.
4987 * soft-fp/floatundidf.c: Likewise.
4988 * soft-fp/floatundisf.c: Likewise.
4989 * soft-fp/floatunditf.c: Likewise.
4990 * soft-fp/floatunsidf.c: Likewise.
4991 * soft-fp/floatunsisf.c: Likewise.
4992 * soft-fp/floatunsitf.c: Likewise.
4993 * soft-fp/floatuntidf.c: Likewise.
4994 * soft-fp/floatuntisf.c: Likewise.
4995 * soft-fp/floatuntitf.c: Likewise.
4996 * soft-fp/gedf2.c: Likewise.
4997 * soft-fp/gesf2.c: Likewise.
4998 * soft-fp/getf2.c: Likewise.
4999 * soft-fp/ledf2.c: Likewise.
5000 * soft-fp/lesf2.c: Likewise.
5001 * soft-fp/letf2.c: Likewise.
5002 * soft-fp/muldf3.c: Likewise.
5003 * soft-fp/mulsf3.c: Likewise.
5004 * soft-fp/multf3.c: Likewise.
5005 * soft-fp/negdf2.c: Likewise.
5006 * soft-fp/negsf2.c: Likewise.
5007 * soft-fp/negtf2.c: Likewise.
5008 * soft-fp/op-1.h: Likewise.
5009 * soft-fp/op-2.h: Likewise.
5010 * soft-fp/op-4.h: Likewise.
5011 * soft-fp/op-8.h: Likewise.
5012 * soft-fp/op-common.h: Likewise.
5013 * soft-fp/quad.h: Likewise.
5014 * soft-fp/single.h: Likewise.
5015 * soft-fp/soft-fp.h: Likewise.
5016 * soft-fp/subdf3.c: Likewise.
5017 * soft-fp/subsf3.c: Likewise.
5018 * soft-fp/subtf3.c: Likewise.
5019 * soft-fp/truncdfsf2.c: Likewise.
5020 * soft-fp/trunctfdf2.c: Likewise.
5021 * soft-fp/trunctfsf2.c: Likewise.
5022 * soft-fp/trunctfxf2.c: Likewise.
5023 * soft-fp/unorddf2.c: Likewise.
5024 * soft-fp/unordsf2.c: Likewise.
5025 * soft-fp/unordtf2.c: Likewise.
5026 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
5027 macro.
5028 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5029 Likewise.
5030 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5031 Likewise.
5032 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5033 Likewise.
5034 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5035 Likewise.
5036 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5037 Likewise.
5038 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5039 Likewise.
5040 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5041 Likewise.
5042 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5043 Likewise.
5044 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5045 Likewise.
5046 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5047 Likewise.
5048 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5049 Likewise.
5050 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5051 Likewise.
5052 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
5053 Likewise.
5054 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
5055 Likewise.
5056 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5057 Likewise.
5058
ce245ec6
AK
50592014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5060
5061 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
5062 cannot be represented.
5063 * config/s390/32/_fixsfdi.c: Likewise.
5064 * config/s390/32/_fixtfdi.c: Likewise.
5065 * config/s390/32/_fixunsdfdi.c: Likewise.
5066 * config/s390/32/_fixunssfdi.c: Likewise.
5067 * config/s390/32/_fixunstfdi.c: Likewise.
5068
1c51d688
RS
50692014-02-07 Richard Sandiford <rdsandiford@googlemail.com>
5070
5071 * configure.ac (libgcc_cv_mips_hard_float): New.
5072 * configure: Regenerate.
5073 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
5074 t-softfp-sfdf for hard-float targets.
5075 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
5076 (softfp_float_modes, softfp_int_modes, softfp_extensions)
5077 (softfp_truncations, softfp_exclude_libgcc2): New.
5078 * config/t-hardfp: New file.
5079 * config/t-hardfp-sfdf: Likewise.
5080 * config/hardfp.c: Likewise.
5081
bbf391db
AK
50822014-02-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5083
5084 * config.host: Include t-floattodi also for s390x.
5085 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
5086 * config/s390/32/_fixsfdi.c: Likewise.
5087 * config/s390/32/_fixtfdi.c: Likewise.
5088 * config/s390/32/_fixunsdfdi.c: Likewise.
5089 * config/s390/32/_fixunssfdi.c: Likewise.
5090 * config/s390/32/_fixunstfdi.c: Likewise.
5091
91da0481
RO
50922014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5093
5094 PR target/59788
5095 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
5096 (install-libgcc-unwind-map-forbuild): New target.
5097 (all): Depend on install-libgcc-unwind-map-forbuild.
5098 (install-libgcc-unwind-map): New target.
5099 (install): Depend on install-libgcc-unwind-map.
5100
02b67731
SL
51012014-02-02 Sandra Loosemore <sandra@codesourcery.com>
5102
5103 * config/nios2/crti.S (_init): Initialize GOT pointer from
5104 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
5105
1ea0a651
RS
51062014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
5107
5108 * configure.ac: Check __mips64 when setting host_address.
5109 * configure: Regenerate.
5110 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
5111 mips/t-mips64 and t-softfp.
5112 (mips*-*-linux*): Don't add mips/t-tpbit.
5113 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
5114 (DPBIT, DPBIT_CFLAGS): Delete.
5115 * config/mips/sfp-machine.h: New file.
5116 * config/mips/t-mips64: Likewise.
5117 * config/mips/t-softfp-tf: Likewise.
5118 * config/mips/t-tpbit: Delete.
5119
f32b0061
MS
51202014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
5121
5122 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
5123 as long long.
5124
a5420aa4
WL
51252014-01-25 Walter Lee <walt@tilera.com>
5126
5127 * config/tilepro/atomic.c: Include tconfig.h. Don't include
5128 config.h or system.h.
5129 (bool) Define.
5130
24534912
WL
51312014-01-25 Walter Lee <walt@tilera.com>
5132
5133 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
5134 (post_atomic_barrier): Ditto.
5135 (__fetch_and_do): New macro.
5136 (__atomic_fetch_and_do): Use __fetch_and_do.
5137 (__sync_fetch_and_do): New macro.
5138 (__sync_fetch_and_add_4): New function.
5139 (__sync_fetch_and_sub_4): New function.
5140 (__sync_fetch_and_or_4): New function.
5141 (__sync_fetch_and_and_4): New function.
5142 (__sync_fetch_and_xor_4): New function.
5143 (__sync_fetch_and_nand_4): New function.
5144 (__sync_fetch_and_add_8): New function.
5145 (__sync_fetch_and_sub_8): New function.
5146 (__sync_fetch_and_or_8): New function.
5147 (__sync_fetch_and_and_8): New function.
5148 (__sync_fetch_and_xor_8): New function.
5149 (__sync_fetch_and_nand_8): New function.
5150 (__do_and_fetch): New macro.
5151 (__atomic_do_and_fetch): Use __do_and_fetch.
5152 (__sync_do_and_fetch): New macro.
5153 (__sync_add_and_fetch_4): New function.
5154 (__sync_sub_and_fetch_4): New function.
5155 (__sync_or_and_fetch_4): New function.
5156 (__sync_and_and_fetch_4): New function.
5157 (__sync_xor_and_fetch_4): New function.
5158 (__sync_nand_and_fetch_4): New function.
5159 (__sync_add_and_fetch_8): New function.
5160 (__sync_sub_and_fetch_8): New function.
5161 (__sync_or_and_fetch_8): New function.
5162 (__sync_and_and_fetch_8): New function.
5163 (__sync_xor_and_fetch_8): New function.
5164 (__sync_nand_and_fetch_8): New function.
5165 (__sync_exchange_methods): New macro.
5166 (__sync_val_compare_and_swap_4): New function.
5167 (__sync_bool_compare_and_swap_4): New function.
5168 (__sync_lock_test_and_test_4): New function.
5169 (__sync_val_compare_and_swap_8): New function.
5170 (__sync_bool_compare_and_swap_8): New function.
5171 (__sync_lock_test_and_test_8): New function.
5172 (__subword_cmpxchg_body): New macro.
5173 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
5174 (__atomic_compare_exchange_2): Ditto.
5175 (__sync_subword_cmpxchg): New macro.
5176 (__sync_val_compare_and_swap_1): New function.
5177 (__sync_bool_compare_and_swap_1): New function.
5178 (__sync_val_compare_and_swap_2): New function.
5179 (__sync_bool_compare_and_swap_2): New function.
5180 (__atomic_subword): Rename to ...
5181 (__subword): ... New name.
5182 (__atomic_subword_fetch): Use __subword.
5183 (__sync_subword_fetch): New macro.
5184 (__sync_fetch_and_add_1): New function.
5185 (__sync_fetch_and_sub_1): New function.
5186 (__sync_fetch_and_or_1): New function.
5187 (__sync_fetch_and_and_1): New function.
5188 (__sync_fetch_and_xor_1): New function.
5189 (__sync_fetch_and_nand_1): New function.
5190 (__sync_fetch_and_add_2): New function.
5191 (__sync_fetch_and_sub_2): New function.
5192 (__sync_fetch_and_or_2): New function.
5193 (__sync_fetch_and_and_2): New function.
5194 (__sync_fetch_and_xor_2): New function.
5195 (__sync_fetch_and_nand_2): New function.
5196 (__sync_add_and_fetch_1): New function.
5197 (__sync_sub_and_fetch_1): New function.
5198 (__sync_or_and_fetch_1): New function.
5199 (__sync_and_and_fetch_1): New function.
5200 (__sync_xor_and_fetch_1): New function.
5201 (__sync_nand_and_fetch_1): New function.
5202 (__sync_add_and_fetch_2): New function.
5203 (__sync_sub_and_fetch_2): New function.
5204 (__sync_or_and_fetch_2): New function.
5205 (__sync_and_and_fetch_2): New function.
5206 (__sync_xor_and_fetch_2): New function.
5207 (__sync_nand_and_fetch_2): New function.
5208 (__atomic_subword_lock): Use __subword.
5209 (__sync_subword_lock): New macro.
5210 (__sync_lock_test_and_set_1): New function.
5211 (__sync_lock_test_and_set_2): New function.
5212
4d6d3bc5
WL
52132014-01-25 Walter Lee <walt@tilera.com>
5214
5215 * config/tilepro/atomic.c (BIT_OFFSET): Define.
5216 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
5217 (__atomic_subword): Ditto.
5218
cbd9890e
WL
52192014-01-25 Walter Lee <walt@tilera.com>
5220
5221 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
5222 a prefix op argument.
5223 (__atomic_nand_fetch_4): Add prefix op.
5224 (__atomic_nand_fetch_8): Ditto.
5225
7d296953 52262014-01-21 Baruch Siach <barch@tkos.co.il>
800d8bd5
BS
5227
5228 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
5229
46dd1242
L
52302014-01-09 Rong Xu <xur@google.com>
5231
5232 * libgcov-driver.c (this_prg): make it local to save
5233 bss space.
5234 (gcov_exit_compute_summary): Ditto.
5235 (gcov_exit_merge_gcda): Ditto.
5236 (gcov_exit_merge_summary): Ditto.
5237 (gcov_exit_dump_gcov): Ditto.
5238
cc86234f 52392014-01-08 Rong Xu <xur@google.com>
40d6b753
RX
5240
5241 * libgcov-driver.c: Use libgcov.h.
5242 (buffer_fn_data): Use xmalloc instead of malloc.
5243 (gcov_exit_merge_gcda): Ditto.
5244 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
5245 * libgcov.h: New common header files for libgcov-*.h.
5246 * libgcov-interface.c: Use libgcov.h
5247 * libgcov-merge.c: Ditto.
5248 * libgcov-profiler.c: Ditto.
5249 * Makefile.in: Add dependence to libgcov.h
5250
a02e7bdd
JM
52512014-01-02 Joseph Myers <joseph@codesourcery.com>
5252
5253 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
5254 case of small numerator and finite nonzero result.
5255
ac1dca3c
RS
52562014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
5257
5258 Update copyright years
5259
f9030485
RS
52602014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
5261
5262 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
5263 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
5264 config/arc/dp-hack.h, config/arc/fp-hack.h,
5265 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
5266 config/arc/ieee-754/arc600-dsp/divdf3.S,
5267 config/arc/ieee-754/arc600-dsp/divsf3.S,
5268 config/arc/ieee-754/arc600-dsp/muldf3.S,
5269 config/arc/ieee-754/arc600-dsp/mulsf3.S,
5270 config/arc/ieee-754/arc600-mul64/divdf3.S,
5271 config/arc/ieee-754/arc600-mul64/divsf3.S,
5272 config/arc/ieee-754/arc600-mul64/muldf3.S,
5273 config/arc/ieee-754/arc600-mul64/mulsf3.S,
5274 config/arc/ieee-754/arc600/divsf3.S,
5275 config/arc/ieee-754/arc600/mulsf3.S,
5276 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
5277 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
5278 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
5279 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
5280 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
5281 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
5282 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
5283 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
5284 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
5285 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
5286 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
5287 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
5288 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
5289 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
5290 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
5291 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
5292 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
5293 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
5294 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
5295 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
5296 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
5297 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
5298 vtv_start_preinit.c: Use the standard form for the copyright notice.
5299
e430824f
CLT
53002013-12-31 Sandra Loosemore <sandra@codesourcery.com>
5301 Chung-Lin Tang <cltang@codesourcery.com>
5302 Based on patches from Altera Corporation
5303
5304 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
5305 * config/nios2/lib2-nios2.h: New file.
5306 * config/nios2/lib2-divmod-hi.c: New file.
5307 * config/nios2/linux-unwind.h: New file.
5308 * config/nios2/lib2-divmod.c: New file.
5309 * config/nios2/linux-atomic.c: New file.
5310 * config/nios2/t-nios2: New file.
5311 * config/nios2/crti.asm: New file.
5312 * config/nios2/t-linux: New file.
5313 * config/nios2/lib2-divtable.c: New file.
5314 * config/nios2/lib2-mul.c: New file.
5315 * config/nios2/tramp.c: New file.
5316 * config/nios2/crtn.asm: New file.
5317
1879e97f
UB
53182013-12-26 Uros Bizjak <ubizjak@gmail.com>
5319
5320 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
5321 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
5322 from cpuid.h to check vendor signatures.
5323
f4a4bdbb
GG
53242013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
5325
c2e7e597 5326 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
f4a4bdbb
GG
5327 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
5328 (get_amd_cpu): Likewise.
5329
8d2ae544
L
53302013-12-25 H.J. Lu <hongjiu.lu@intel.com>
5331
5332 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
5333 Haswell.
5334
74924838
ASJ
53352013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
5336 H.J. Lu <hongjiu.lu@intel.com>
5337
0bb52f25
L
5338 PR target/59422
5339 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
74924838
ASJ
5340 and AMD_JAGUAR.
5341 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
5342 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
5343 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
5344 FEATURE_XOP and FEATURE_FMA.
5345 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
5346 AMDFAM15H_BDVER3.
5347 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
0bb52f25 5348 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
74924838
ASJ
5349 FEATURE_FMA4 and FEATURE_XOP.
5350
d3c11974
L
53512013-12-23 H.J. Lu <hongjiu.lu@intel.com>
5352
5353 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
5354 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
5355 (get_intel_cpu): Updated.
5356
064c4ff2
ZC
53572013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
5358
5359 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
5360
8b02e720
UB
53612013-12-09 Uros Bizjak <ubizjak@gmail.com>
5362
5363 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
1f71a3c3 5364 instructions when __SSE_MATH__ is defined.
8b02e720 5365
3fa2ccb4
RC
53662013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
5367
5368 * config.host (microblaze-*-rtems*): New.
5369
ecd78fc9
KV
53702013-12-04 Kugan Vivekanandarajah <kuganv@linaro.org>
5371
5372 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
5373 architectures that do not have hardware divide instruction.
5374 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
5375
b21fbbd2
RS
53762013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
5377
5378 * longlong.h: Delete (moved to include/).
5379
b03fb8c9
AZ
53802013-12-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5381
5382 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
5383 of normal number and qNaN to not raise an inexact exception.
5384
3c716922
UB
53852013-11-28 Uros Bizjak <ubizjak@gmail.com>
5386
5387 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
5388
53892013-11-28 Matthew Leach <matthew.leach@arm.com>
cceeb9a9
ML
5390
5391 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
5392 for correct opcodes on BE.
5393
a3458d22
UB
53942013-11-27 Uros Bizjak <ubizjak@gmail.com>
5395
5396 * soft-fp/op-4.h: Update from glibc.
5397
30b8f78b
KV
53982013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
5399
5400 * libgcc2.c (__udivmoddi4): Define new implementation when
5401 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
5402 divide instructions.
5403
82552a29
OE
54042013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
5405
5406 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
5407
80e87457
RO
54082013-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5409
5410 * config/t-softfp (soft-fp-objects-base): New variable.
5411 (soft-fp-objects): Use it.
5412
44178879
DE
54132013-11-23 David Edelson <dje.gcc@gmail.com>
5414 Andrew Dixie <andrewd@gentrack.com>
5415
5416 PR target/33704
5417 * config/rs6000/aixinitfini.c: New file.
5418 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
5419 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
5420 symbols.
5421
e5287671
YR
54222013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
5423
a3458d22 5424 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
e5287671 5425
867c8b03
JH
54262013-11-18 Jan Hubicka <jh@suse.cz>
5427
7f369373
JH
5428 * libgcov-driver.c (run_accounted): Make global level static.
5429 (gcov_exit_merge_summary): Silence warning; do not clear
5430 run_accounted here.
5431 (gcov_exit): Clear it here.
5432
1d0b3334
JH
5433 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
5434 run_accounted.
5435
867c8b03
JH
5436 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
5437 (all_prg, crc32): Remove static vars.
5438 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
5439 all_prg.
5440 (gcov_exit_merge_gcda): Add crc32 parameter.
5441 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
5442 do not account run if it was already accounted.
5443 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
5444 (gcov_exit): Initialize all_prg; update.
5445
66204992
AS
54462013-11-15 Andreas Schwab <schwab@linux-m68k.org>
5447
5448 * configure: Regenerate.
5449
b54214fe
UW
54502013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5451 Alan Modra <amodra@gmail.com>
5452
5453 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
5454 (frob_update_context): Use it.
5455
54562013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5457 Alan Modra <amodra@gmail.com>
5458
5459 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
5460 (trampoline_initial): Provide ELFv2 variant.
5461 (__trampoline_setup): Likewise.
5462
5463 * config/rs6000/linux-unwind.h (frob_update_context): Do not
5464 check for AIX indirect function call sequence if _CALL_ELF == 2.
5465
54662013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5467 Alan Modra <amodra@gmail.com>
5468
5469 * config/rs6000/linux-unwind.h (get_regs): Do not support
5470 old kernel versions if _CALL_ELF == 2.
5471 (frob_update_context): Do not support PLT stub variants only
5472 generated by old linkers if _CALL_ELF == 2.
5473
13e0981a
UW
54742013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5475 Alan Modra <amodra@gmail.com>
5476
5477 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
5478 location of CR save area for 64-bit little-endian systems.
5479
1a80085d
EB
54802013-11-11 Eric Botcazou <ebotcazou@adacore.com>
5481
5482 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
5483 in tmake_file.
5484 * config/arm/t-vxworks: Delete.
5485
cabeea52
KT
54862013-11-10 Kai Tietz <ktietz@redhat.com>
5487
5488 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
5489 Increment load-count on use of LIBGCC_SONAME DLL.
5490 (hmod_libgcc): New static variable to hold handle of
5491 LIBGCC_SONAME DLL.
5492 (__gcc_deregister_frame): Decrement load-count of
5493 LIBGCC_SONAME DLL.
5494
ac088ba1
BRF
54952013-11-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
5496
5497 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
5498 availability.
5499 * configure: Regenerate
5500
d59a8fcc
UB
55012013-11-07 Uros Bizjak <ubizjak@gmail.com>
5502
5503 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
5504 FP_EX_DENORM. Store result to volatile location after SSE division
5505 to close interrupt window. Remove unneeded fwait after x87
5506 division since interrupt window will be closed by emitted fstp.
9de84e84 5507 Rewrite FP_EX_INEXACT handling.
d59a8fcc 5508
9954c743
JM
55092013-11-06 Joseph Myers <joseph@codesourcery.com>
5510
5511 * soft-fp/README: Update.
5512 * soft-fp/adddf3.c: Update from glibc.
5513 * soft-fp/addsf3.c: Likewise.
5514 * soft-fp/addtf3.c: Likewise.
5515 * soft-fp/divdf3.c: Likewise.
5516 * soft-fp/divsf3.c: Likewise.
5517 * soft-fp/divtf3.c: Likewise.
5518 * soft-fp/double.h: Likewise.
5519 * soft-fp/eqdf2.c: Likewise.
5520 * soft-fp/eqsf2.c: Likewise.
5521 * soft-fp/eqtf2.c: Likewise.
5522 * soft-fp/extenddftf2.c: Likewise.
5523 * soft-fp/extended.h: Likewise.
5524 * soft-fp/extendsfdf2.c: Likewise.
5525 * soft-fp/extendsftf2.c: Likewise.
5526 * soft-fp/extendxftf2.c: Likewise.
5527 * soft-fp/fixdfdi.c: Likewise.
5528 * soft-fp/fixdfsi.c: Likewise.
5529 * soft-fp/fixdfti.c: Likewise.
5530 * soft-fp/fixsfdi.c: Likewise.
5531 * soft-fp/fixsfsi.c: Likewise.
5532 * soft-fp/fixsfti.c: Likewise.
5533 * soft-fp/fixtfdi.c: Likewise.
5534 * soft-fp/fixtfsi.c: Likewise.
5535 * soft-fp/fixtfti.c: Likewise.
5536 * soft-fp/fixunsdfdi.c: Likewise.
5537 * soft-fp/fixunsdfsi.c: Likewise.
5538 * soft-fp/fixunsdfti.c: Likewise.
5539 * soft-fp/fixunssfdi.c: Likewise.
5540 * soft-fp/fixunssfsi.c: Likewise.
5541 * soft-fp/fixunssfti.c: Likewise.
5542 * soft-fp/fixunstfdi.c: Likewise.
5543 * soft-fp/fixunstfsi.c: Likewise.
5544 * soft-fp/fixunstfti.c: Likewise.
5545 * soft-fp/floatdidf.c: Likewise.
5546 * soft-fp/floatdisf.c: Likewise.
5547 * soft-fp/floatditf.c: Likewise.
5548 * soft-fp/floatsidf.c: Likewise.
5549 * soft-fp/floatsisf.c: Likewise.
5550 * soft-fp/floatsitf.c: Likewise.
5551 * soft-fp/floattidf.c: Likewise.
5552 * soft-fp/floattisf.c: Likewise.
5553 * soft-fp/floattitf.c: Likewise.
5554 * soft-fp/floatundidf.c: Likewise.
5555 * soft-fp/floatundisf.c: Likewise.
5556 * soft-fp/floatunditf.c: Likewise.
5557 * soft-fp/floatunsidf.c: Likewise.
5558 * soft-fp/floatunsisf.c: Likewise.
5559 * soft-fp/floatunsitf.c: Likewise.
5560 * soft-fp/floatuntidf.c: Likewise.
5561 * soft-fp/floatuntisf.c: Likewise.
5562 * soft-fp/floatuntitf.c: Likewise.
5563 * soft-fp/gedf2.c: Likewise.
5564 * soft-fp/gesf2.c: Likewise.
5565 * soft-fp/getf2.c: Likewise.
5566 * soft-fp/ledf2.c: Likewise.
5567 * soft-fp/lesf2.c: Likewise.
5568 * soft-fp/letf2.c: Likewise.
5569 * soft-fp/muldf3.c: Likewise.
5570 * soft-fp/mulsf3.c: Likewise.
5571 * soft-fp/multf3.c: Likewise.
5572 * soft-fp/negdf2.c: Likewise.
5573 * soft-fp/negsf2.c: Likewise.
5574 * soft-fp/negtf2.c: Likewise.
5575 * soft-fp/op-1.h: Likewise.
5576 * soft-fp/op-2.h: Likewise.
5577 * soft-fp/op-4.h: Likewise.
5578 * soft-fp/op-8.h: Likewise.
5579 * soft-fp/op-common.h: Likewise.
5580 * soft-fp/quad.h: Likewise.
5581 * soft-fp/single.h: Likewise.
5582 * soft-fp/soft-fp.h: Likewise.
5583 * soft-fp/subdf3.c: Likewise.
5584 * soft-fp/subsf3.c: Likewise.
5585 * soft-fp/subtf3.c: Likewise.
5586 * soft-fp/truncdfsf2.c: Likewise.
5587 * soft-fp/trunctfdf2.c: Likewise.
5588 * soft-fp/trunctfsf2.c: Likewise.
5589 * soft-fp/trunctfxf2.c: Likewise.
5590 * soft-fp/unorddf2.c: Likewise.
5591 * soft-fp/unordsf2.c: Likewise.
5592 * soft-fp/unordtf2.c: Likewise.
5593
02ac9503
UB
55942013-11-05 Uros Bizjak <ubizjak@gmail.com>
5595
5596 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
5597 (_FP_MUL_MEAT_D): Ditto.
5598 (_FP_DIV_MEAT_S): Ditto.
5599 (_FP_DIV_MEAT_D): Ditto.
5600 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
5601 t-softfp-sfdf and t-softfp to tmake_file.
5602
61221141
UB
56032013-11-03 Uros Bizjak <ubizjak@gmail.com>
5604
5605 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
5606 * config/i386/crtprec.c: Ditto.
5607
9304f876
CJW
56082013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
5609 Shiva Chen <shiva0217@gmail.com>
5610
5611 * config.host (nds32*-elf*): Add nds32 target.
5612 * config/nds32 : New directory and files.
5613
0e499e75
HPN
56142013-10-16 Hans-Peter Nilsson <hp@axis.com>
5615
5616 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
5617 * config.host (cpu_type) <Setting default>: Add entry for
5618 crisv32-*-*.
5619 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
5620 <crisv32-*-linux*>: Adjust.
5621 * longlong.h: Wrap the whole CRIS section in a single
5622 defined(__CRIS__) conditional. Add comment about add_ssaaaa
5623 and sub_ddmmss.
5624 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
5625 defined.
5626 [__CRIS__] (__umulsidi3): Define.
5627 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
5628 * config/cris/sfp-machine.h: New file.
5629 * config/cris/umulsidi3.S: New file.
5630 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
5631 * config/cris/arit.c (SIGNMULT): New macro.
5632 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
5633 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
5634 saving 3 out of originally 33 cycles from the fastest
5635 path, 3 out of 54 from the medium path and one from the longest
5636 path. Improve comments.
5637
16022041
RS
56382013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
5639
5640 * sync.c: Remove static aliases and define each function directly
5641 under its real name.
5642
69778659
JDA
56432013-10-02 John David Anglin <danglin@gcc.gnu.org>
5644
5645 * config.host (hppa*64*-*-linux*): Define extra_parts.
5646 (hppa*-*-linux*): Likewise.
5647
2deaf8b0
JR
56482013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
5649
5650 * config/arc/crtgend.S: Add 2013 to Copyright years.
5651 * config/arc/gmon/atomic.h: Likewise.
5652 * config/arc/gmon/auxreg.h: Likewise.
5653 * config/arc/gmon/sys/gmon_out.h: Likewise.
5654 * config/arc/gmon/sys/gmon.h: Likewise.
5655 * config/arc/gmon/prof-freq.c: Likewise.
5656 * config/arc/gmon/mcount.c: Likewise.
5657 * config/arc/gmon/prof-freq-stub.S: Likewise.
5658 * config/arc/gmon/gmon.c: Likewise.
5659 * config/arc/gmon/machine-gmon.h: Likewise.
5660 * config/arc/gmon/profil.S: Likewise.
5661 * config/arc/gmon/dcache_linesz.S: Likewise.
5662 * config/arc/crtg.S: Likewise.
5663 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
5664 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
5665 * config/arc/ieee-754/adddf3.S: Likewise.
5666 * config/arc/ieee-754/truncdfsf2.S: Likewise.
5667 * config/arc/ieee-754/fixsfsi.S: Likewise.
5668 * config/arc/ieee-754/gtsf2.S: Likewise.
5669 * config/arc/ieee-754/floatsisf.S: Likewise.
5670 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
5671 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
5672 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
5673 * config/arc/ieee-754/fixdfsi.S: Likewise.
5674 * config/arc/ieee-754/addsf3.S: Likewise.
5675 * config/arc/ieee-754/gesf2.S: Likewise.
5676 * config/arc/ieee-754/floatsidf.S: Likewise.
5677 * config/arc/ieee-754/extendsfdf2.S: Likewise.
5678 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
5679 * config/arc/ieee-754/gtdf2.S: Likewise.
5680 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
5681 * config/arc/ieee-754/uneqdf2.S: Likewise.
5682 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
5683 * config/arc/ieee-754/uneqsf2.S: Likewise.
5684 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
5685 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
5686 * config/arc/ieee-754/eqdf2.S: Likewise.
5687 * config/arc/ieee-754/ordsf2.S: Likewise.
5688 * config/arc/ieee-754/divsf3.S: Likewise.
5689 * config/arc/ieee-754/divdf3.S: Likewise.
5690 * config/arc/ieee-754/floatunsidf.S: Likewise.
5691 * config/arc/ieee-754/orddf2.S: Likewise.
5692 * config/arc/ieee-754/eqsf2.S: Likewise.
5693 * config/arc/ieee-754/gedf2.S: Likewise.
5694 * config/arc/crtn.S: Likewise.
5695 * config/arc/crti.S: Likewise.
5696 * config/arc/t-arc700-uClibc: Likewise.
5697 * config/arc/asm.h: Likewise.
5698 * config/arc/libgcc-excl.ver: Likewise.
5699 * config/arc/t-arc-newlib: Likewise.
5700 * config/arc/divtab-arc700.c: Likewise.
5701 * config/arc/initfini.c: Likewise.
5702 * config/arc/fp-hack.h: Likewise.
5703
c8e318b0
JR
57042013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
5705 Diego Novillo <dnovillo@google.com>
5706
5707 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
a07c5b47
JR
5708 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
5709 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
5710 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
c8e318b0 5711
d38a64b4
JR
57122013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
5713 Brendan Kehoe <brendan@zen.org>
5714 Simon Cook <simon.cook@embecosm.com>
5715
5716 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
5717 * config/arc: New directory.
5718 * longlong.h [__arc__] (umul_ppmm): Remove.
5719 [__arc__] (__umulsidi3): Define.
5720 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
5721 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
5722
dff717d2
JC
57232013-09-17 Jacek Caban <jacek@codeweavers.com>
5724
5725 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
5726 CreateSemaphoreA.
5727 * config/i386/gthr-win32.h: Likewise.
5728
5c0029de
DD
57292013-09-16 DJ Delorie <dj@redhat.com>
5730
844ad6c6 5731 * config/rl78/vregs.h: Add G10 register definitions.
5c0029de
DD
5732 * config/rl78/lib2mul.c: Enable for RL78/G10.
5733 * config/rl78/lib2div.c: Likewise.
5734 * config/rl78/lshrsi3.S: Use vregs.h.
5735 * config/rl78/cmpsi2.S: Likewise.
5736 * config/rl78/trampoline.S: Likewise.
5737 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
5738
ceb2fc49
DD
57392013-09-14 DJ Delorie <dj@redhat.com>
5740 Nick Clifton <nickc@redhat.com>
5741
5742 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
5743 * config/rl78/vregs.h: New.
5744 * config/rl78/signbit.S: New file. Implements signbit function.
5745 * config/rl78/divmodsi.S: New.
5746 * config/rl78/divmodhi.S: New.
5747 * config/rl78/divmodqi.S: New.
5748 * config/rl78/t-rl78: Build them here...
5749 * config/rl78/lib2div.c: ...but not here.
5750
f6a83b4a
DD
57512013-09-12 DJ Delorie <dj@redhat.com>
5752
5753 * config.host (msp*-*-elf): New.
5754 * config/msp430/: New port.
5755
9107b096
IS
57562013-08-18 Iain Sandoe <iain@codesourcery.com>
5757
5758 PR gcov-profile/58127
5759 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
5760 __thread var for emulated TLS.
5761 (__gcov_indirect_call_counters): Likewise.
5762
0f9bde1f 57632013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
61221141 5764 Catherine Moore <clm@codesourcery.com>
7d296953 5765 Richard Sandiford <rdsandiford@googlemail.com>
0f9bde1f
MR
5766
5767 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
5768 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
5769 (CALL_STUB_NO_RET): Likewise.
5770 (CALL_STUB_RET): Likewise.
5771 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
5772 __mips16_ret call/return stub symbols.
5773 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
5774 to tmake_file.
5775
2dc14aac
MR
57762013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
5777
5778 * config.host <mips*-*-linux*>: Remove a stray comment.
5779
748d71f3
JH
57802013-08-10 Jan Hubicka <jh@suse.cz>
5781
5782 Work around binutils PR14342
5783 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
5784 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
5785 (L_gcov_indirect_call_profiler_v2): New.
5786
2fa3d31b
JH
57872013-08-06 Jan Hubicka <jh@suse.cz>
5788
5789 * libgcov.c (__gcov_indirect_call_callee,
5790 __gcov_indirect_call_counters): New global vars.
5791 (__gcov_indirect_call_profiler): replace by ...
5792 (__gcov_indirect_call_profiler_v2) ... this one.
5793
2077db1b
CT
57942013-08-06 Caroline Tice <cmtice@google.com>
5795
d0595b65 5796 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
2077db1b 5797 vtv_start_preinit.o and vtv_end_preinit.o.
d0595b65
CT
5798 * configure.ac: Add code to check/set enable_vtable_verify.
5799 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
2077db1b 5800 true.
d0595b65
CT
5801 * vtv_start_preinit.c: New file.
5802 * vtv_end_preinit.c: New file.
5803 * vtv_start.c: New file.
5804 * vtv_end.c: New file.
5805 * configure: Regenerated.
2077db1b 5806
46549c20
MK
58072013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
5808
5809 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
5810 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
5811 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
5812 GPL-3.0-with-GCC-exception.
5813
72be589b
MR
58142013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
5815
5816 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
5817 ISA and up.
5818
902a3faf
AK
58192013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5820
5821 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
5822 mapping for FPRs when creating the fallback framestate.
5823
02371798
GJL
58242013-07-19 Georg-Johann Lay <avr@gjlay.de>
5825
5826 PR target/57516
5827 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
5828 (__round_s2_const, __round_u2_const)
5829 (__round_s4_const, __round_u4_const, __round_x8):
5830 Saturate result if addition result cannot be represented.
5831
ab0e8379
MK
58322013-07-15 Matthias Klose <doko@ubuntu.com>
5833
5834 * libgcc2.c: Don't include <limits.h>.
5835
7da38058
JJ
58362013-07-09 Janis Johnson <janisjo@codesourcery.com>
5837
5838 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
5839
1f6eac90
JJ
58402013-07-06 Jakub Jelinek <jakub@redhat.com>
5841
5842 PR target/29776
5843 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
5844
4ea3d774
JJ
58452013-06-28 Jakub Jelinek <jakub@redhat.com>
5846
5847 PR middle-end/36041
5848 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
5849 Define.
5850 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
5851 instead of table lookups.
5852 (__popcountDI2): Likewise.
5853
9d2cdf25
CJW
58542013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
5855
5856 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
5857 correctly.
5858
fa1e55b0
JM
58592013-06-21 Joseph Myers <joseph@codesourcery.com>
5860
5861 PR other/53317
5862 * soft-fp/adddf3.c: Update from glibc.
5863 * soft-fp/addsf3.c: Likewise.
5864 * soft-fp/addtf3.c: Likewise.
5865 * soft-fp/divdf3.c: Likewise.
5866 * soft-fp/divsf3.c: Likewise.
5867 * soft-fp/divtf3.c: Likewise.
5868 * soft-fp/double.h: Likewise.
5869 * soft-fp/eqdf2.c: Likewise.
5870 * soft-fp/eqsf2.c: Likewise.
5871 * soft-fp/eqtf2.c: Likewise.
5872 * soft-fp/extenddftf2.c: Likewise.
5873 * soft-fp/extended.h: Likewise.
5874 * soft-fp/extendsfdf2.c: Likewise.
5875 * soft-fp/extendsftf2.c: Likewise.
5876 * soft-fp/fixdfdi.c: Likewise.
5877 * soft-fp/fixdfsi.c: Likewise.
5878 * soft-fp/fixsfdi.c: Likewise.
5879 * soft-fp/fixsfsi.c: Likewise.
5880 * soft-fp/fixtfdi.c: Likewise.
5881 * soft-fp/fixtfsi.c: Likewise.
5882 * soft-fp/fixunsdfdi.c: Likewise.
5883 * soft-fp/fixunsdfsi.c: Likewise.
5884 * soft-fp/fixunssfdi.c: Likewise.
5885 * soft-fp/fixunssfsi.c: Likewise.
5886 * soft-fp/fixunstfdi.c: Likewise.
5887 * soft-fp/fixunstfsi.c: Likewise.
5888 * soft-fp/floatdidf.c: Likewise.
5889 * soft-fp/floatdisf.c: Likewise.
5890 * soft-fp/floatditf.c: Likewise.
5891 * soft-fp/floatsidf.c: Likewise.
5892 * soft-fp/floatsisf.c: Likewise.
5893 * soft-fp/floatsitf.c: Likewise.
5894 * soft-fp/floatundidf.c: Likewise.
5895 * soft-fp/floatundisf.c: Likewise.
5896 * soft-fp/floatunditf.c: Likewise.
5897 * soft-fp/floatunsidf.c: Likewise.
5898 * soft-fp/floatunsisf.c: Likewise.
5899 * soft-fp/floatunsitf.c: Likewise.
5900 * soft-fp/gedf2.c: Likewise.
5901 * soft-fp/gesf2.c: Likewise.
5902 * soft-fp/getf2.c: Likewise.
5903 * soft-fp/ledf2.c: Likewise.
5904 * soft-fp/lesf2.c: Likewise.
5905 * soft-fp/letf2.c: Likewise.
5906 * soft-fp/muldf3.c: Likewise.
5907 * soft-fp/mulsf3.c: Likewise.
5908 * soft-fp/multf3.c: Likewise.
5909 * soft-fp/negdf2.c: Likewise.
5910 * soft-fp/negsf2.c: Likewise.
5911 * soft-fp/negtf2.c: Likewise.
5912 * soft-fp/op-1.h: Likewise.
5913 * soft-fp/op-2.h: Likewise.
5914 * soft-fp/op-4.h: Likewise.
5915 * soft-fp/op-8.h: Likewise.
5916 * soft-fp/op-common.h: Likewise.
5917 * soft-fp/quad.h: Likewise.
5918 * soft-fp/single.h: Likewise.
5919 * soft-fp/soft-fp.h: Likewise.
5920 * soft-fp/subdf3.c: Likewise.
5921 * soft-fp/subsf3.c: Likewise.
5922 * soft-fp/subtf3.c: Likewise.
5923 * soft-fp/truncdfsf2.c: Likewise.
5924 * soft-fp/trunctfdf2.c: Likewise.
5925 * soft-fp/trunctfsf2.c: Likewise.
5926 * soft-fp/unorddf2.c: Likewise.
5927 * soft-fp/unordsf2.c: Likewise.
5928 * soft-fp/unordtf2.c: Likewise.
5929 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
5930 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5931 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5932 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5933 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5934 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5935 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5936 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5937 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5938 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
5939 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
5940 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5941
0de86a92
JU
59422013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
5943
5944 * config/mips/lib2funcs.c: New file.
5945 * config/mips/t-mips (LIB2ADD_ST): Add it.
5946
0d008882
OE
59472013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
5948
5949 PR target/6526
5950 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
5951 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
5952
776434d1
WL
59532013-06-08 Walter Lee <walt@tilera.com>
5954
5955 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
5956 Replace int64_t with long long. Add __extension__ where
5957 appropriate.
5958 * config/tilepro/atomic.c: Include config.h.
5959
6ab3ebb4
DR
59602013-06-06 Douglas B Rupp <rupp@adacore.com>
5961
5962 * config.host (arm-wrs-vxworks): Configure with other soft float.
5963
107eea2c
JU
59642013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
5965
5966 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
5967 (mips64r5900el-*-elf*): New configurations.
5968
5cc19c62
AM
59692013-06-04 Alan Modra <amodra@gmail.com>
5970
5971 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
5972
0f1d3965
YR
59732013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
5974
5975 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
5976
0ba045df
EB
59772013-05-28 Eric Botcazou <ebotcazou@adacore.com>
5978
5979 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
5980 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
5981 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
5982
49dcafd4
EB
59832013-05-22 Eric Botcazou <ebotcazou@adacore.com>
5984
5985 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
5986 (powerpc-wrs-vxworks): Likewise.
5987
4fcb5d87
EB
59882013-05-22 Eric Botcazou <ebotcazou@adacore.com>
5989
5990 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
5991 signal frames as well.
5992 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
5993 STACK_BIAS to the CFA offset.
5994
0ec33224
RH
59952013-05-17 Richard Henderson <rth@redhat.com>
5996
5997 PR target/49146
5998 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
5999 (execute_cfa_program): Use it when storing to fs->regs.
6000
492a8029
KT
60012013-05-08 Kai Tietz <ktietz@redhat.com>
6002
6003 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
6004 (__deregister_frame_info): Likewise.
6005
701e2f0a
TS
60062013-05-06 Thomas Schwinge <thomas@codesourcery.com>
6007
e5123d08
TS
6008 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
6009 NaN's payload.
6010
701e2f0a
TS
6011 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
6012
b9a7eb5d
AM
60132013-04-25 Alan Modra <amodra@gmail.com>
6014
6015 * config.host: Match little-endian powerpc-linux.
6016
dfe192f5
YZ
60172013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
6018
6019 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
6020 as 'unsigned long long' instead of 'unsigned long'.
6021 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
6022 'signed long'.
6023
b6b9af2f
JB
60242013-04-10 Julian Brown <julian@codesourcery.com>
6025
6026 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
6027 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
6028 unsigned char/unsigned short.
6029 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
6030
ecabdd00
JDA
60312013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
6032
6033 PR other/55274
6034 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
6035
34652576
MI
60362013-04-04 Meador Inge <meadori@codesourcery.com>
6037
6038 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
6039 computing the location of the link register.
6040 (aeabi_uldivmod): Ditto.
6041
e9fd8c19
KT
60422013-03-27 Kai Tietz <ktietz@redhat.com>
6043
6044 * config.host: Add support for cygwin x64 target.
6045 * configure: Regenerated.
6046
a6406324
WL
60472013-03-26 Walter Lee <walt@tilera.com>
6048
6049 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
6050 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
6051
55446c7e
KT
60522013-03-25 Kai Tietz <ktietz@redhat.com>
6053
6054 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
6055
d2ae19d9
RM
60562013-03-20 Robert Mason <rbmj@verizon.net>
6057
6058 * config/vxlib-tls.c (__gthread_get_tsd_data,)
6059 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
6060 (__gthread_leave_tsd_dtor_context): Add prototypes.
6061 (tls_delete_hook): Update.
6062
22c4c869
CM
60632013-03-20 Catherine Moore <clm@codesourcery.com>
6064 Joseph Myers <joseph@codesourcery.com>
6065 Chao-ying Fu <fu@mips.com>
6066
6067 * config/mips/mips16.S: Don't build for microMIPS.
6068 * config/mips/linux-unwind.h: Handle microMIPS frame.
6069 * config/mips/crtn.S (fini, init): New labels.
6070
fbd28bc3
JJ
60712013-03-14 Jakub Jelinek <jakub@redhat.com>
6072
6073 PR tree-optimization/53265
6074 * unwind-dw2.c (execute_cfa_program): Avoid
6075 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
6076 on targets with DWARF_FRAME_REGISTERS < 32.
6077
decc676e
OE
60782013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
6079
6080 PR target/49880
6081 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
6082 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
6083
84ea618a
ST
60842013-03-07 Sriraman Tallam <tmsriram@google.com>
6085
6086 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
6087 sandybridge processors.
6088
8f6d1c86
OE
60892013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
6090
6091 PR target/56529
6092 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
6093 inclusion list.
6094
ecdbd01a 60952013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
409b1de4
EI
6096
6097 * config/microblaze/crti.S: Setup stack protection at entry
6098
0b4ce21b
GJL
60992013-03-04 Georg-Johann Lay <avr@gjlay.de>
6100
6101 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
6102 (__rotldi3): Shift bytewise if applicable.
6103
b7c3f1ca
JG
61042013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
6105
6106 * config/aarch64/sync-cache.c
6107 (__aarch64_sync_cache_range): Silence warnings.
6108
6d65e8f1
CM
61092013-02-25 Catherine Moore <clm@codesourcery.com>
6110
6111 Revert:
6112 2013-02-24 Catherine Moore <clm@codesourcery.com>
6113 Joseph Myers <joseph@codesourcery.com>
6114 Chao-ying Fu <fu@mips.com>
6115
6116 * config/mips/mips16.S: Don't build for microMIPS.
6117 * config/mips/linux-unwind.h: Handle microMIPS frame.
6118 * config/mips/crtn.S (fini, init): New labels.
6119
6941b508
CM
61202013-02-24 Catherine Moore <clm@codesourcery.com>
6121 Joseph Myers <joseph@codesourcery.com>
6122 Chao-ying Fu <fu@mips.com>
6123
6124 * config/mips/mips16.S: Don't build for microMIPS.
6125 * config/mips/linux-unwind.h: Handle microMIPS frame.
6126 * config/mips/crtn.S (fini, init): New labels.
6127
7c422dbb 61282012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
cc86234f 6129 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
7c422dbb
EI
6130 as dividend.
6131
110207ad
AM
61322013-02-16 Alan Modra <amodra@gmail.com>
6133
6134 PR target/55431
6135 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
6136 (ppc_fallback_frame_state): Always set up save locations for fp
6137 and altivec. Don't bother with non-callee-saved regs, r0-r13
6138 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
6139
e68a4ef6
GJL
61402013-02-12 Georg-Johann Lay <avr@gjlay.de>
6141
6142 PR target/54222
6143 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
6144 _ssmulHA, _ssmulSA.
6145 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
6146 _ssmulha3, _usmulusa3, _ssmulsa3.
6147 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
6148 (__muldi3): XCALL __muldi3_6 instead of rcall.
6149 (__umulsidi3, __mulsidi3): New functions.
6150 (do_prologue_saves, do_epilogue_restores): New .macros.
6151 (__divdi3_moddi3): Use them.
6152 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
6153 (__usmulusa3, __ssmulsa3): New functions.
6154
6c59ffd1
IS
61552013-02-11 Iain Sandoe <iain@codesourcery.com>
6156 Jack Howarth <howarth@bromo.med.uc.edu>
6157 Patrick Marlier <patrick.marlier@gmail.com>
6158
6159 PR libitm/55693
6160 * config/darwin-crt-tm.c: Remove dummy functions hack.
6161
85d768f3
GJL
61622013-02-08 Georg-Johann Lay <avr@gjlay.de>
6163
6164 PR target/54222
6165 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
6166 * config/avr/lib2-object.mk: New iterator to build objects from it.
6167 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
6168 lib2funcs.c.
6169 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
6170 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
6171 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
6172 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
6173 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
6174 * config/avr/lib1funcs-fixed.S: Implement them.
6175
5d5bf775
RS
61762013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
6177
6178 Update copyright years.
6179
99113dff
DE
61802013-02-01 David Edelsohn <dje.gcc@gmail.com>
6181
6182 PR target/54601
6183 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
6184 Add crtcxa to extra_parts.
6185 * config/rs6000/exit.h: New file.
6186 * config/rs6000/cxa_atexit.c: New file.
6187 * config/rs6000/cxa_finalize.c: New file.
6188 * config/rs6000/crtcxa.c: New file.
6189 * config/rs6000/t-aix-cxa: New file.
6190 * config/rs6000/libgcc-aix-cxa.ver: New file.
6191
dbdbd982
NC
61922013-01-31 Nick Clifton <nickc@redhat.com>
6193
6194 * config/v850/lib1funcs.S: Add support for e3v5 architecture
6195 variant.
6196
5893f158
GJL
61972013-01-29 Georg-Johann Lay <avr@gjlay.de>
6198
6199 PR target/54222
6200 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
6201 _mulQQ, _mulHQ, _mulHA, _mulSA,
6202 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
6203 _divQQ, _divHQ, _divHA, _divSA,
6204 _divUQQ, _divUHQ, _divUHA, _divUSA.
6205
ecdbd01a 62062013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
fbf0cf90 6207
dbdbd982 6208 * config.host(microblaze*-linux*): tmake_file: Remove
fbf0cf90
DH
6209 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
6210 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
6211 to exclude functions from being built with libgcc.c and use
6212 the microblaze assembly.
6213
ecdbd01a 62142013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
6f14eef2
EI
6215
6216 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
6217 extra_parts.
6218
922c57d1
YZ
62192013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
6220
6221 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
6222 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
6223 __UINTPTR_TYPE__; also cast 'base' to the same type before the
6224 alignment operation.
6225
e0f8b6a0
SN
62262013-01-15 Sofiane Naci <sofiane.naci@arm.com>
6227
6228 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
6229 loop start address for cache clearing.
6230
00892272
GJL
62312013-01-14 Georg-Johann Lay <avr@gjlay.de>
6232
6233 * config/avr/lib1funcs.S: Remove trailing blanks.
6234 * config/avr/lib1funcs-fixed.S: Ditto.
6235
e59ec5fd
GJL
62362013-01-14 Georg-Johann Lay <avr@gjlay.de>
6237
6238 * config/avr/avr-lib.h: Add GPL copyright notice.
6239
3ffc1958
GJL
62402013-01-14 Georg-Johann Lay <avr@gjlay.de>
6241
6242 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
6243 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
6244 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
6245 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
6246
25c210f9
MK
62472013-01-07 Mark Kettenis <kettenis@openbsd.org>
6248
6249 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
6250 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
2bc15360 6251
db59befb
NC
62522013-01-04 Nick Clifton <nickc@redhat.com>
6253
6254 * config/v850/lib1funcs.S: Only provide CALLT support functions if
6255 the CALLT instruction is supported.
6256
5aa12dbf
JW
62572012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
6258
6259 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
6260 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
6261
65f14117
JT
62622012-12-13 John Tytgat <John@bass-software.com>
6263
6264 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
6265 is 25.
6266
ee3ae4f7
JJ
62672012-12-12 Jakub Jelinek <jakub@redhat.com>
6268
6269 PR libgcc/55451
6270 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
6271 undefined signed overflows.
6272
2fcfba3d
UB
62732012-12-09 Uros Bizjak <ubizjak@gmail.com>
6274
6275 PR target/55344
6276 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
6277
4f2b3dc2
UB
62782012-12-06 Uros Bizjak <ubizjak@gmail.com>
6279
6280 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
6281 (FP_TRAPPING_EXCEPTIONS): Define.
6282 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
6283 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
6284
066161a2
RH
62852012-12-04 Richard Henderson <rth@redhat.com>
6286
6287 PR bootstrap/55571
6288 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
6289
7d296953 62902012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
25626181 6291
4f2b3dc2 6292 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
25626181
MS
6293 (FP_EX_SHIFT): Define.
6294 (FP_TRAPPING_EXCEPTIONS): Define.
6295
7d296953 62962012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
868395e8
MS
6297
6298 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
6299 (FP_ROUNDMODE): Use FP_RND_MASK.
6300 * config/aarch64/sfp-exceptions.c: New.
6301 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
6302 Use __sfp_handle_exceptions.
6303
5005fe22
RE
63042012-12-04 Richard Earnshaw <rearnsha@arm.com>
6305
6306 * config.host: (arm*-*-freebsd*): Remove.
6307 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
6308 (arm*-*-elf*): Remove.
6309 (arm*-*-wince-pe*): Remove.
6310 * arm/unwind-arm.c (struct fpa_reg): Delete.
6311 (struct fpa_regs): Delete.
6312 (phase1_vrs): Remove fpa element.
6313 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
6314 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
6315 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
6316 * ieee754-sf.S (floatundisf): Remove FPA support.
6317 (floatdisf): Likewise.
6318 * ieee75f-df.S (floatundidf): Likewise.
6319 (floatdidf): Likewise.
6320
e5a81c8e
KT
63212012-11-29 Kai Tietz <ktietz@redhat.com>
6322
6323 PR target/55445
6324 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
6325 * unwind-generic.h: Likewise.
6326 * unwind-seh.c: Likewise.
6327
f4919e4a
RH
63282012-11-28 Richard Henderson <rth@redhat.com>
6329
6330 PR libgcc/48076
6331 * emutls.c (__emutls_get_address): Avoid race condition between
6332 obj->loc.offset read and emutls_key initialization.
4f2b3dc2 6333
e13d9d5a
GJL
63342012-11-22 Georg-Johann Lay <avr@gjlay.de>
6335
6336 Adjust decimal point of signed accum mode to GCC default.
6337
6338 PR target/54222
6339 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
6340 _divqq_helper.
6341 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
6342 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
6343 (__mulha3, __mulsa3)
6344 (__divqq3, __divha3, __divsa3): Adjust to new position of
4f2b3dc2
UB
6345 decimal point of signed accum types.
6346
e13d9d5a
GJL
6347 (__mulusa3_round): New function.
6348 (__mulusa3): Use it.
6349 (__divqq_helper): New function.
6350 (__udivuqq3): Use it.
6351
1b845c6e
JJ
63522012-11-20 Jakub Jelinek <jakub@redhat.com>
6353
6354 PR bootstrap/55370
6355 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
6356
822a258a
TJ
63572012-11-18 Teresa Johnson <tejohnson@google.com>
6358
6359 PR bootstrap/55051
6360 * libgcov.c (gcov_exit): Remove merged program summary
6361 comparison unless !GCOV_LOCKED.
6362
7d296953 63632012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
54f4eaf0
MS
6364
6365 * soft-fp: Updated from glibc upstream.
6366
e808687a
ILT
63672012-11-06 Ian Lance Taylor <iant@google.com>
6368
6369 * generic-morestack.c (__generic_morestack): Align the returned
6370 stack pointer to a 32 byte boundary.
6371 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
6372 increment the return address until we have decided that we don't
6373 have a varargs function.
6374 (__morestack) [32-bit]: Align stack correctly when calling C
6375 functions.
6376 (__morestack) [64-bit]: Likewise.
6377
460277e0
TS
63782012-11-04 Thomas Schwinge <thomas@codesourcery.com>
6379
6380 * configure: Regenerate.
6381
73edb277
UB
63822012-11-02 Uros Bizjak <ubizjak@gmail.com>
6383
6384 PR target/55175
6385 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
6386 * config/i386/sfp-machine.h: Guard exception handling
6387 code with _SOFT_FLOAT.
6388 * config/i386/32/sfp-machine.h: Guard rounding handling
6389 code with _SOFT_FLOAT.
6390 * config/i386/64/sfp-machine.h: Ditto.
6391
c1d4fa04
JS
63922012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
6393
6394 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
6395 as extra_parts.
6396
eff6ca85
UB
63972012-10-26 Uros Bizjak <ubizjak@gmail.com>
6398
6399 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
6400 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
6401 when appropriate. Correct structure element types.
6402 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
6403 -minline-all-stringops from compile flags.
6404
7d296953 64052012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
43a8f1a1
RC
6406
6407 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
6408
7d296953 64092012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
76c78361 6410
eff6ca85 6411 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
76c78361 6412
6f288860
SH
64132012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
6414
6415 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
6416 tmake_file.
6417
1e3d5096
IB
64182012-10-23 Ian Bolton <ian.bolton@arm.com>
6419 Jim MacArthur <jim.macarthur@arm.com>
6420 Marcus Shawcroft <marcus.shawcroft@arm.com>
6421 Nigel Stephens <nigel.stephens@arm.com>
6422 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
6423 Richard Earnshaw <rearnsha@arm.com>
6424 Sofiane Naci <sofiane.naci@arm.com>
6425 Stephen Thomas <stephen.thomas@arm.com>
6426 Tejas Belagod <tejas.belagod@arm.com>
6427 Yufeng Zhang <yufeng.zhang@arm.com>
6428
6429 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
6430 * config/aarch64/crti.S: New file.
6431 * config/aarch64/crtn.S: New file.
6432 * config/aarch64/linux-unwind.h: New file.
6433 * config/aarch64/sfp-machine.h: New file.
6434 * config/aarch64/sync-cache.c: New file.
6435 * config/aarch64/t-aarch64: New file.
6436 * config/aarch64/t-softfp: New file.
6437
8a740f07
HPN
64382012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
6439
6440 * config/mmix/crti.S: Mark program and data addresses using PRELD.
6441 Remove typo'd and unnecessary alignment-LOC for .data. Remove
6442 no-longer-needed LDBU insns.
6443
7d296953 64442012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
153c8397
SH
6445
6446 * config.host
6447 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
6448 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
6449
595fefee
MGD
64502012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
6451
6452 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
6453
9945a876
MK
64542012-10-15 Matthias Klose <doko@ubuntu.com>
6455
6456 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
6457
1183dc2c
PC
64582012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
6459
6460 * configure: Regenerate.
6461 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
6462
945a9c1f
UB
64632012-10-10 Uros Bizjak <ubizjak@gmail.com>
6464
6465 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
6466 instructions for 64bit targets only.
6467
fb8bf47a
UB
64682012-10-10 Uros Bizjak <ubizjak@gmail.com>
6469
6470 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
6471 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
6472 * config/i386/32/sfp-machine.h: ... here.
6473 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
6474 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
6475 New defines.
6476
acb72498
MK
64772012-10-07 Matthias Klose <doko@ubuntu.com>
6478
6479 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
6480 as unused.
6481 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
6482
8eaee0f0
MK
64832012-10-06 Mark Kettenis <kettenis@openbsd.org>
6484
6485 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
6486 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
6487 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
6488 (ElfW): Likewise.
6489
5e3e4fe8
JW
64902012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
6491
6492 PR other/53889
6493 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
6494 Fix parameter names.
6495
86086376
OE
64962012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
6497
6498 PR target/33135
6499 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
6500 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
6501 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
6502
9597375a
OE
65032012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
6504
6505 PR target/50457
6506 * config/sh/linux-atomic.S: Delete.
6507 * config/sh/linux-atomic.c: New.
6508 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
6509 linux-atomic.c. Add cflags to disable warnings.
6510
1504e3e1
JW
65112012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
6512
6513 PR other/53889
6514 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
6515 function.
6516 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
6517 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
6518 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
6519 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
5e3e4fe8
JW
6520 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
6521 Likewise.
1504e3e1
JW
6522 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
6523 Likewise.
6524 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
6525 Likewise.
6526 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
6527 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
6528
17f293b0
MK
65292012-09-19 Mark Kettenis <kettenis@openbsd.org>
6530
9597375a
OE
6531 * config.host (hppa-*-openbsd*): New target.
6532 * config/pa/t-openbsd: New file.
17f293b0 6533
51526856
GJL
65342012-09-15 Georg-Johann Lay <avr@gjlay.de>
6535
6536 PR target/54222
6537 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
6538 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
6539 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
6540 (__divsa3): Use __negsi2 to negate r_quoL.
6541 * config/avr/lib1funcs.S (FALIAS): New macro.
6542 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
6543 (__negsi2): ...this new function.
6544 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
6545 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
6546 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
6547 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
6548 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
6549 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
6550
aadb5b43
OE
65512012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
6552
6553 PR target/54089
6554 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
6555 (lshrsi3): Reimplement as lshrsi3_r0.
6556
d5d66749
AS
65572012-09-10 Andreas Schwab <schwab@linux-m68k.org>
6558
6559 PR target/46191
6560 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
6561 of libgcc.a.
6562
c6c36e73
TJ
65632012-09-07 Teresa Johnson <tejohnson@google.com>
6564
9597375a 6565 PR gcov-profile/54487
c6c36e73 6566 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
9597375a 6567 differences.
c6c36e73 6568
b588ae30
GJL
65692012-09-05 Georg-Johann Lay <avr@gjlay.de>
6570
6571 PR target/54461
6572 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
6573 not configured --with-avrlibc=no.
6574 * config/avr/t-avrlibc: New file.
6575 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
6576 (DPBIT_FUNCS): Ditto.
6577 (TPBIT_FUNCS): Ditto.
6578
abd16fb1
TJ
65792012-09-04 Teresa Johnson <tejohnson@google.com>
6580
6581 * libgcov.c (struct gcov_summary_buffer): New structure.
6582 (gcov_histogram_insert): New function.
6583 (gcov_compute_histogram): Ditto.
6584 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
6585 histograms during summary merging.
6586
613061fd
MK
65872012-09-01 Mark Kettenis <kettenis@openbsd.org>
6588
6589 * config.host (x86_64-*-openbsd*): New target.
73edb277 6590
867a8345
CLT
65912012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
6592
6593 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
6594 attribute.
6595
4aeaaca3
GJL
65962012-08-24 Georg-Johann Lay <avr@gjlay.de>
6597
6598 PR target/54222
6599 * config/avr/t-avr (conv_X): Rename to func_X.
6600
e55e4056
GJL
66012012-08-24 Georg-Johann Lay <avr@gjlay.de>
6602
6603 PR target/54222
6604 * config/avr/lib1funcs-fixed.S: New file.
6605 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
6606 after they are used.
6607 (neg2, neg4): New macros.
6608 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
6609 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
6610 (__umulhisi3): Speed up MUL variant if there is enough flash.
6611 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
6612 avr-modes.def.
6613 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
6614 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
6615 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
6616 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
6617 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
6618 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
6619 (LIB2FUNCS_EXCLUDE): Add supported functions.
6620
a147b6d2
GJL
66212012-08-22 Georg-Johann Lay <avr@gjlay.de>
6622
6623 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
6624 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
6625 libgcc-s-objects.
6626 * fixed-obj.mk: Only expand dependency if $o is not in
6627 LIB2FUNCS_EXCLUDE.
6628
c637141a
L
66292012-08-22 H.J. Lu <hongjiu.lu@intel.com>
6630
6631 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
6632
130e00bd
JM
66332012-08-22 Joseph Myers <joseph@codesourcery.com>
6634
6635 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
6636 depend on --enable-shared.
6637 ($(lib1asmfuncs-o)): Use %.vis files independent of
6638 --enable-shared.
6639 * static-object.mk ($(base)$(objext), $(base).vis)
6640 ($(base)_s$(objext)): Use same rules for visibility handling as in
6641 shared-object.mk.
6642
4b1b3788
ILT
66432012-08-21 Ian Lance Taylor <iant@google.com>
6644
6645 * config/i386/morestack.S (__morestack_non_split): Increase amount
6646 of space allocated for non-split code stack.
6647
d2468141
JM
66482012-08-19 Joseph Myers <joseph@codesourcery.com>
6649
6650 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
6651 even if inhibit_libc.
6652
a508e1a8
JB
66532012-08-17 Julian Brown <julian@codesourcery.com>
6654
6655 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
6656 -fexceptions -fnon-call-exceptions if not defined.
6657 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
6658 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
6659
5615a07d
AS
66602012-08-17 Andreas Schwab <schwab@linux-m68k.org>
6661
6662 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
6663 type.
6664
138f5acd
DE
66652012-08-16 David Edelsohn <dje.gcc@gmail.com>
6666
6667 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
6668 rs6000/t-slibgcc-aix.
6669
18efc0dd
SB
66702012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
6671
6672 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
6673
6b39bc38
SB
66742012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
6675
6676 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
6677
cd25dea0
L
66782012-08-03 H.J. Lu <hongjiu.lu@intel.com>
6679
6680 PR driver/54171
6681 * Makefile.in (version): Replace top_srcdir with srcdir.
6682
a3dda30b
JY
66832012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
6684
6685 * Makefile.in (version): set to BASE-VER file from gcc directory.
6686
d04aacfc
NC
66872012-08-01 Nick Clifton <nickc@redhat.com>
6688
6689 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
6690 Implements __clrsb for an HImode argument.
6691
0d13c974
NC
66922012-07-31 Nick Clifton <nickc@redhat.com>
6693
6694 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
6695 Implements __clrsb for an HImode argument.
6696 * config/stormy16/clrsbhi2.c: New file:
6697 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
6698
efbb59b2
SB
66992012-07-22 Steven Bosscher <steven@gcc.gnu.org>
6700
6701 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
6702
bf1431e3
TG
67032012-07-19 Tristan Gingold <gingold@adacore.com>
6704 Richard Henderson <rth@redhat.com>
6705
6706 * unwind-seh.c: New file.
6707 * unwind-generic.h: Include windows.h for SEH.
6708 (_Unwind_Exception): Use 6 private fields for SEH.
6709 (_GCC_specific_handler): Declare.
6710 * unwind-c.c (__gcc_personality_seh0): New function.
6711 Adjust for SEH.
6712 * config/i386/libgcc-cygming.ver: New file.
6713 * config/i386/t-seh-eh: New file.
6714 * config.host (x86_64-*-mingw*): Default to seh.
6715
659140c8
SB
67162012-07-14 Steven Bosscher <steven@gcc.gnu.org>
6717
6718 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
6719
a20d08fd
UB
67202012-06-17 Uros Bizjak <ubizjak@gmail.com>
6721
6722 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
6723 __builtin_expect when checking for exceptions.
6724 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
6725
79261115
UB
67262012-06-13 Uros Bizjak <ubizjak@gmail.com>
6727
4a172156
UB
6728 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
6729 function declaration.
6730 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
6731 (FP_RND_MASK): New.
6732 * config/ia64/sfp-exceptions.c: New.
6733 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
79261115 6734
bb5c97d4
UB
67352012-06-13 Uros Bizjak <ubizjak@gmail.com>
6736
6737 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
6738 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
6739 * config/i386/64/sfp-machine: ... (delete here) ...
6740 * config/i386/sfp-machine.h: ... to here.
6741 (FP_EX_MASK): Remove.
6742 (FP_RND_MASK): New.
6743 (FP_INIT_ROUNDMODE): Declare asm as volatile.
6744
91fe5efb
ST
67452012-06-11 Sriraman Tallam <tmsriram@google.com>
6746
6747 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
6748 * config/i386/libgcc-sol2.ver: Ditto.
6749 * config/i386/libgcc-glibc.ver: Ditto.
6750
67a218c5
RM
67512012-06-11 Roland McGrath <mcgrathr@google.com>
6752
6753 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
6754 If __GLIBC__ is defined, refer to __pthread_key_create instead of
6755 pthread_cancel.
6756
492fbea1
UB
67572012-06-09 Uros Bizjak <ubizjak@gmail.com>
6758
6759 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
6760 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
6761 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
6762 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
6763 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
6764 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
6765 * config/i386/64/sfp-machine: ... (delete here) ...
6766 * config/i386/sfp-machine.h: ... to here.
6767 (FP_EX_MASK): New.
6768 (__sfp_handle_exceptions): New function declaration.
6769 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
6770 * config/i386/sfp-exceptions.c: New.
6771 * config/i386/t-softfp: New.
6772 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
6773 i386/t-softfp to tmake_file.
6774
7b4cf266
DM
67752012-06-03 David S. Miller <davem@davemloft.net>
6776
6777 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
6778 change.
6779
0de0d5c6
DM
67802012-05-31 David S. Miller <davem@davemloft.net>
6781
6782 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
6783 multiply and divide instructions on 32-bit when V9.
6784 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
6785
d8c9d391
JM
67862012-05-29 Joseph Myers <joseph@codesourcery.com>
6787
6788 * config/arm/ieee754-df.S: Fix typos.
6789 * config/arm/ieee754-sf.S: Fix typos.
6790 * config/c6x/libunwind.S: Fix typos.
6791 * config/epiphany/udivsi3-float.c: Fix typos.
6792 * config/microblaze/muldi3_hard.S: Fix typos.
6793 * config/picochip/adddi3.S: Fix typos.
6794 * config/picochip/ashlsi3.S: Fix typos.
6795 * config/picochip/ashrsi3.S: Fix typos.
6796 * config/picochip/clzsi2.S: Fix typos.
6797 * config/picochip/cmpsi2.S: Fix typos.
6798 * config/picochip/divmod15.S: Fix typos.
6799 * config/picochip/divmodhi4.S: Fix typos.
6800 * config/picochip/divmodsi4.S: Fix typos.
6801 * config/picochip/longjmp.S: Fix typos.
6802 * config/picochip/lshrsi3.S: Fix typos.
6803 * config/picochip/parityhi2.S: Fix typos.
6804 * config/picochip/popcounthi2.S: Fix typos.
6805 * config/picochip/setjmp.S: Fix typos.
6806 * config/picochip/subdi3.S: Fix typos.
6807 * config/picochip/ucmpsi2.S: Fix typos.
6808 * config/picochip/udivmodhi4.S: Fix typos.
6809 * config/picochip/udivmodsi4.S: Fix typos.
6810 * config/spu/divv2df3.c: Fix typos.
6811 * config/spu/mfc_multi_tag_release.c: Fix typos.
6812 * config/spu/mfc_tag_release.c: Fix typos.
6813 * configure.ac: Fix typos.
6814 * configure: Regenerate.
6815
31a18a7e
ILT
68162012-05-25 Ian Lance Taylor <iant@google.com>
6817
6818 * config/i386/morestack.S (__morestack_non_split): Check whether
6819 caller is varargs and needs %bp to hold the stack frame on return.
6820
c5768510
OH
68212012-05-25 Olivier Hainque <hainque@adacore.com>
6822
6823 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
6824 sequence in the non pic case on VxWorks.
6825
7c7c339b
OH
68262012-05-24 Olivier Hainque <hainque@adacore.com>
6827
73fb7630 6828 * Makefile.in: Move dependency on install-unwind_h from
7c7c339b
OH
6829 "install-leaf" to "install".
6830
fdc1b7d3
OH
68312012-05-24 Olivier Hainque <hainque@adacore.com>
6832
6833 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
6834 Use a separate command for stamp removals.
6835
07ba94b9
AP
68362012-05-21 Andrew Pinski <apinski@cavium.com>
6837
6838 PR bootstrap/53183
6839 * configure.ac: Define the default includes to being none.
6840 * configure: Regenerate.
6841
4677d2eb
OH
68422012-05-16 Olivier Hainque <hainque@adacore.com>
6843
6844 * Makefile.in (install-unwind_h): Rename into ...
6845 (install-unwind_h-forbuild): New target.
6846 (all): Use it instead of the former install-unwind_h.
6847 (install-unwind_h): Reinstate, copy to user install destination
6848 for include files, not to the internal gcc object directory one.
6849 (install-leaf): Depend on it.
6850
7d67c380
OH
68512012-05-15 Olivier Hainque <hainque@adacore.com>
6852
6853 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
6854 register numbers. LR_REGNO replaces R_LR.
6855 (ucontext_for): New, helper for ...
6856 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
6857 and 5.3 of ...
6858 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
6859
aca06c90
RO
68602012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6861
6862 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
6863 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
6864 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
6865 i386/t-cpuinfo ...
6866 (i[34567]86-*-*, x86_64-*-*): ... here.
6867
6868 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
6869 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
6870
6871 * config/i386/i386-cpuinfo.c: Rename to ...
6872 * config/i386/cpuinfo.c: ... this.
6873 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
6874
6875 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
6876 (libgcc_cv_init_priority): New test.
6877 * configure: Regenerate.
6878 * config.in: New file.
6879 * Makefile.in (clean): Rename config.h to auto-target.h.
6880 (config.h): Likewise.
6881 (stamp-h): Likewise.
6882
6883 * config/i386/cpuinfo.c (auto-target.h): Include.
6884 (CONSTRUCTOR_PRIORITY): Define.
6885 (__cpu_indicator_init): Use it.
6886
0d03ac1b
L
68872012-05-09 H.J. Lu <hongjiu.lu@intel.com>
6888
6889 * longlong.h: Use a URL instead of an FSF postal address.
6890 Replace spaces with tab.
6891
4a172156 68922012-05-08 Teresa Johnson <tejohnson@google.com>
4e8ee9cb
TJ
6893
6894 * libgcov.c (gcov_clear, __gcov_reset): New functions.
6895 (__gcov_dump): Ditto.
6896 (gcov_dump_complete): New global variable.
6897 (gcov_exit): Export hidden to enable use in L_gcov_dump.
6898 (__gcov_flush): Outline functionality now in gcov_clear.
6899 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
6900
e4bb767e
AJ
69012012-04-28 Aurelien Jarno <aurelien@aurel32.net>
6902
31a18a7e
ILT
6903 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
6904 (mips*-*-linux*): Include mips/t-tpbit when long double is
6905 16 bytes long.
e4bb767e 6906
5ddecff9
ST
69072012-04-25 Sriraman Tallam <tmsriram@google.com>
6908
6909 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
6910 (get_available_features): New argument. Check for AVX2.
6911 (__cpu_indicator_init): Modify call to get_available_features.
6912
b427dd7a
AM
69132012-04-25 Alan Modra <amodra@gmail.com>
6914
6915 * config/rs6000/crtsavevr.S: New file.
6916 * config/rs6000/crtrestvr.S: New file.
6917 * config/rs6000/t-savresfgpr: Build the above.
6918 * config/rs6000/t-netbsd: Likewise.
6919
ad491329
ST
69202012-04-24 Sriraman Tallam <tmsriram@google.com>
6921
6922 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
6923
792317cc
ST
69242012-04-24 Sriraman Tallam <tmsriram@google.com>
6925
6926 * libgcc/config/i386/i386-cpuinfo.c: New file.
6927 * libgcc/config/i386/t-cpuinfo: New file.
6928 * libgcc/config.host: Include t-cpuinfo.
6929 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
6930
e1be98a4
CF
69312012-04-24 Chao-ying Fu <fu@mips.com>
6932
6933 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
6934
1bde7dab
TS
69352012-04-20 Thomas Schwinge <thomas@codesourcery.com>
6936
6937 struct siginfo vs. siginfo_t
6938
6939 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
6940 siginfo_t instead of struct siginfo.
6941 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
6942 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
6943 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
6944 (ia64_handle_unwabi): Likewise.
6945 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
6946 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
6947 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
6948 (sh_fallback_frame_state): Likewise.
6949 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
6950 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
6951
24590f66
L
69522012-04-02 H.J. Lu <hongjiu.lu@intel.com>
6953
6954 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
6955 system call number.
6956
9a9dcce8
EB
69572012-03-31 Eric Botcazou <ebotcazou@adacore.com>
6958
6959 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
6960 if it hasn't been previously saved.
6961
6401aaf5
L
69622012-03-29 H.J. Lu <hongjiu.lu@intel.com>
6963
6964 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
6965 only for glibc.
6966
7fd6378e
GJL
69672012-03-28 Georg-Johann Lay <avr@gjlay.de>
6968
6969 PR target/52737
6970 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
6971 instead of __AVR_HAVE_8BIT_SP__.
6972
9e916de7
TG
69732012-03-26 Tristan Gingold <gingold@adacore.com>
6974
6975 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
6976 (unw_table_entry): Use unw_word instead of unsigned long.
6977 (_Unwind_FindTableEntry): Likewise.
6978 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
6979 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
6980 (_Unwind_FindTableEntry): Likewise.
6981 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
6982 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
6983 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
6984 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
6985 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
6986 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
6987 (uw_init_context_1, uw_install_context): Likewise.
6988 (unw_word): Move to unwind-ia64.h
6989
4b12e93d
TG
69902012-03-26 Tristan Gingold <gingold@adacore.com>
6991
6992 * config/vms/vms-ucrt0.c: Update copyright years.
6993 Add a sanity check.
6994 (___gcc_main_flags): Declare.
6995 (__main): Check flags to remap argv and exit code.
6996 * config.host (*-*-*vms*): Adjust extra_parts.
6997 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
6998 (crt0.o): Add.
6999
06ea7371
RE
70002012-03-22 Richard Earnshaw <rearnsha@arm.com>
7001
7002 * arm/lib1funcs.asm (ctzsi2): New function.
7003 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
7004 * arm/t-linux (LIB1ASMFUNCS): Likewise.
7005 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
7006 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
7007 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
7008 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
7009
d82ad50d
AT
70102012-03-21 Andreas Tobler <andreast@fgznet.ch>
7011
7012 * config.host: Add bits to support powerpc64-*-freebsd*.
7013 * config/rs6000/freebsd-unwind.h: New file.
7014 * config/rs6000/t-freebsd64: New file.
7015
b260a8c0
RG
70162012-03-20 Richard Guenther <rguenther@suse.de>
7017
7018 PR gcov-profile/52627
7019 * libgcov.c (init_mx): Fix mutex name.
7020
86286a8a
TG
70212012-03-16 Tristan Gingold <gingold@adacore.com>
7022
7023 * config/ia64/vms-unwind.h: Remove ulong (and replace
7024 it by unw_reg where used). Define unw_reg with __int64.
7025
7888f266
RO
70262012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7027
7028 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
7029 Solaris 8 handling.
7030 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
7031 Solaris 8 handling.
7032 (sparc_is_sighandler): Likewise.
7033
f155bc64
L
70342012-03-13 H.J. Lu <hongjiu.lu@intel.com>
7035
7036 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
7037 <= saved reg size.
7038
d47657bd
RO
70392012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7040
7041 * config/arm/crtn.S: Fix typo.
7042
5bef73a1
RG
70432012-03-13 Richard Guenther <rguenther@suse.de>
7044
7045 * libgcov.c: Remove stdio.h include and NULL un-define.
7046
9c4271f3
RG
70472012-03-13 Richard Guenther <rguenther@suse.de>
7048
7049 PR target/52569
7050 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
7051
c6d10e7c
RG
70522012-03-13 Richard Guenther <rguenther@suse.de>
7053
7054 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
7055
074a385f
RG
70562012-03-13 Richard Guenther <rguenther@suse.de>
7057
7058 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
7059 and __gthread_mutex_init_function definitions.
7060
c4bc5c25
RO
70612012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7062
7063 * config.host (mips*-*-openbsd*): Remove.
7064
5c30094f
RO
70652012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7066
7067 * config.host: Remove alpha*-dec-osf5.1* handling.
7068 * config/alpha/gthr-posix.c: Remove.
7069 * config/alpha/libgcc-osf5.ver: Remove.
7070 * config/alpha/osf5-unwind.h: Remove.
7071 * config/alpha/t-osf-pthread: Remove.
7072 * config/alpha/t-slibgcc-osf: Remove.
7073 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
7074 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
7075 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
7076 * mkmap-flat.awk: Remove osf_export handling.
7077
33e3e24d
RG
70782012-03-12 Richard Guenther <rguenther@suse.de>
7079
7080 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
7081 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
7082 (__gthread_mutex_init_function): New function.
7083 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
7084
7085 PR gcov/49484
7086 * libgcov.c: Include gthr.h.
7087 (__gcov_flush_mx): New global variable.
7088 (init_mx, init_mx_once): New functions.
7089 (__gcov_flush): Protect self with a mutex.
7090 (__gcov_fork): Re-initialize mutex after forking.
7091 * unwind-dw2-fde.c: Change condition under which to use
7092 __GTHREAD_MUTEX_INIT_FUNCTION.
7093
d8aba32a
TG
70942012-03-12 Tristan Gingold <gingold@adacore.com>
7095
7096 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
7097 * config/ia64/t-vms: Likewise.
7098
75ffafdc
MH
70992012-03-11 Michael Hope <michael.hope@linaro.org>
7100
4a172156
UB
7101 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
7102 for Thumb-2.
75ffafdc 7103
ef6c2c53
WL
71042012-03-07 Walter Lee <walt@tilera.com>
7105
7106 * config/tilepro/atomic.c: Rename "atomic_" prefix to
7107 "arch_atomic_".
7108 (atomic_xor): Rename and move definition to
7109 config/tilepro/atomic.h.
7110 (atomic_nand): Ditto.
7111 * config/tilepro/atomic.h: Rename "atomic_" prefix to
7112 "arch_atomic_".
7113 (arch_atomic_xor): Move from config/tilepro/atomic.c.
7114 (arch_atomic_nand): Ditto.
7115
4e30d980
GJL
71162012-03-07 Georg-Johann Lay <avr@gjlay.de>
7117
7118 PR target/52507
7119 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
7120
61108225
GJL
71212012-03-07 Georg-Johann Lay <avr@gjlay.de>
7122
7123 PR target/52505
7124 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
7125 from RAM.
7126
b30e10ab
GJL
71272012-03-07 Georg-Johann Lay <avr@gjlay.de>
7128
7129 PR target/52461
7130 PR target/52508
7131 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
7132 if RAMPZ affects reading from RAM.
7133 (__tablejump_elpm__): Ditto.
7134 (.xload): Ditto.
7135 (__movmemx_hi): Ditto.
7136 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
7137 (__do_global_dtors): Ditto.
7138 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
7139 (__movmemx_hi): Ditto.
7140
8993fde4
RH
71412012-03-05 Richard Henderson <rth@redhat.com>
7142
7143 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
7144 [ARM] (count_trailing_zeros): Use the builtin.
7145
b7633ee3
KT
71462012-03-01 Kai Tietz <ktietz@redhat.com>
7147
7148 * soft-fp: Imported from glibc upstream.
7149
fbd3340c
KT
71502012-02-28 Kai Tietz <ktietz@redhat.com>
7151
7152 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
7153 for mingw-targets as attribute gcc_struct.
7154
e9e053eb
ILT
71552012-02-28 Ian Lance Taylor <iant@google.com>
7156
7157 * generic-morestack.c (__splitstack_releasecontext): Correct call
7158 to __morestack_release_segments.
7159
d80c632e
ST
71602012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
7161
7162 PR target/52390
7163 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
7164 for __linux__ when removing signals from __morestack_fullmask.
7165
0253a8b1
GJL
71662012-02-23 Georg-Johann Lay <avr@gjlay.de>
7167
7168 PR target/52261
7169 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
7170
e10e461e
UW
71712012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7172
7173 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
7174 instead of HAVE_INITFINI_ARRAY.
7175 * config/ia64/crtend.S: Likewise.
7176
0c0c6398
KT
71772012-02-20 Kai Tietz <ktietz@redhat.com>
7178
d7470374
KT
7179 PR libstdc++/52300
7180 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
7181
0c0c6398
KT
7182 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
7183 to w32-unwind.h header.
7184
78c27266
RS
71852012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
7186
7187 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
7188 (mips*-*-linux*): Remove t-slibgcc-libgcc.
7189 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
7190 * config/mips/mips16.S (__mips16_rdhwr): Delete.
7191
5adeb246
RS
71922012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
7193
7194 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
7195
672ed313
IS
71962012-02-15 Iain Sandoe <iains@gcc.gnu.org>
7197
7198 PR libitm/52220
7199 * config/darwin-crt-tm.c: Correct typo.
e9e053eb 7200
e948a1fb
IS
72012012-02-15 Iain Sandoe <iains@gcc.gnu.org>
7202 Patrick Marlier <patrick.marlier@gmail.com>
7203
7204 PR libitm/52220
7205 * config/darwin-crt-tm.c: Generate dummy functions.
7206
6017aed3
IS
72072012-02-15 Iain Sandoe <iains@gcc.gnu.org>
7208 Patrick Marlier <patrick.marlier@gmail.com>
7209
7210 PR libitm/52042
7211 * config/darwin-crt-tm.c (getTMCloneTable): New function.
7212 (__doTMRegistrations): Call it.
e9e053eb 7213 (__doTMdeRegistrations): Likewise.
6017aed3 7214
2da8c1ad 72152012-01-15 Georg-Johann Lay <avr@gjlay.de>
7d296953
JJ
7216 Anatoly Sokolov <aesok@post.ru>
7217 Eric Weddington <eric.weddington@atmel.com>
2da8c1ad
GJL
7218
7219 PR target/52261
7220 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
7221 (__epilogue_restores__): Ditto.
7222
0f952eb4
EB
72232012-02-15 Eric Botcazou <ebotcazou@adacore.com>
7224
7225 PR target/51921
7226 PR target/52205
7227 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
7228 Solaris 11 and slightly reformat.
7229 (sparc_is_sighandler): Likewise.
7230
dd552284
WL
72312012-02-14 Walter Lee <walt@tilera.com>
7232
7233 * config.host: Handle tilegx and tilepro.
7234 * config/tilegx/sfp-machine.h: New file.
7235 * config/tilegx/sfp-machine32.h: New file.
7236 * config/tilegx/sfp-machine64.h: New file.
7237 * config/tilegx/t-crtstuff: New file.
7238 * config/tilegx/t-softfp: New file.
7239 * config/tilegx/t-tilegx: New file.
7240 * config/tilepro/atomic.c: New file.
7241 * config/tilepro/atomic.h: New file.
7242 * config/tilepro/linux-unwind.h: New file.
7243 * config/tilepro/sfp-machine.h: New file.
7244 * config/tilepro/softdivide.c: New file.
7245 * config/tilepro/softmpy.S: New file.
7246 * config/tilepro/t-crtstuff: New file.
7247 * config/tilepro/t-tilepro: New file.
7248
b59cbd50
JW
72492012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
7250
7251 PR libstdc++/51296
7252 PR libstdc++/51906
7253 * gthr-posix.h: Allow static initializer macros to be disabled.
7254 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
7255
6caf807f
CLT
72562012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
7257
7258 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
7259 Add t-slibgcc-libgcc to tmake_file.
7260 * config/mips/libgcc-mips16.ver: Revert previous patch.
7261 * config/mips/mips16.S (__mips16_rdhwr): Hide.
7262
7d296953
JJ
72632012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
7264 Jayant R Sonar <jayant.sonar@kpitcummins.com>
b25364a0
S
7265
7266 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
7267 * config/cr16/crti.S: New file.
7268 * config/cr16/crtlibid.S: New file.
7269 * config/cr16/crtn.S: New file.
7270 * config/cr16/lib1funcs.S: New file.
7271 * config/cr16/t-cr16: New file.
7272 * config/cr16/t-crtlibid: New file.
7273 * config/cr16/unwind-dw2.h: New file.
7274 * config/cr16/unwind-cr16.c: New file.
7275 * config/cr16/divmodhi3.c: New file.
7276
8ef03aa7
AM
72772012-01-25 Alan Modra <amodra@gmail.com>
7278
7279 * config/rs6000/t-linux64: Delete. Move..
7280 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
7281 * config/rs6000/t-linux: ..and libgcc flags to here.
7282
daecebc8
DR
72832012-01-22 Douglas B Rupp <rupp@gnat.com>
7284
7285 * config.host (i[34567]86-*-interix3*):
8ef03aa7 7286 Change triplet to i[34567]86-*-interix[3-9]*.
daecebc8
DR
7287 * configure: Regenerate.
7288
ddaf8125
RS
72892012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
7290 Richard Sandiford <rdsandiford@googlemail.com>
7291
7292 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
7293 * config/mips/mips16.S (__mips16_rdhwr): New function.
7294 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
7295
2cd8b32c
NS
72962012-01-11 Nathan Sidwell <nathan@acm.org>
7297
7298 * libgcov.c (__gcov_init): Ignore objects with no functions.
7299
cba300dd
GJL
73002012-01-10 Georg-Johann Lay <avr@gjlay.de>
7301
7302 PR target/49868
7303 Extend __pgmx semantics to linearize memory.
7304 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
7305 * config/avr/lib1funcs.S (__xload_1): New function.
7306 (__movmemx_qi, __movmemx_hi): New functions.
7307 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
7308 semantics.
9ffaf4bc 7309
3d137660
EB
73102012-01-09 Eric Botcazou <ebotcazou@adacore.com>
7311
7312 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
7313 purported sigacthandler address isn't null before dereferencing it.
7314 (sparc_is_sighandler): Likewise.
7315
bf4db96c
EB
73162012-01-09 Eric Botcazou <ebotcazou@adacore.com>
7317
7318 PR ada/41929
7319 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
7320 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
7321 (sparc_is_sighandler): Likewise.
7322 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
7323
1ab3568b
TG
73242012-01-06 Tristan Gingold <gingold@adacore.com>
7325
7326 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
7327 compatibility thunks...
7328 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
7329 (crtbeginS.o, crtendS.o): ... and these to ...
7330 * config/ia64/t-ia64-elf: ... this new file.
7331 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
7332 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
7333
925b0ed8
AK
73342012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7335
7336 * configure: Regenerate.
7337 * config/s390/t-crtstuff: Remove -fPIC.
7338
a99ad737
JW
73392012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
7340
7341 PR bootstrap/51006
7342 * enable-execute-stack-mprotect.c (getpagesize): Do not define
7343 for NetBSD.
7344
884f56d1
GJL
73452012-01-02 Georg-Johann Lay <avr@gjlay.de>
7346
7347 PR target/51345
7348 * config/avr/lib1funcs.S: Remove FIXME comments.
7349 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
7350
8c57e547
GJL
73512012-01-02 Georg-Johann Lay <avr@gjlay.de>
7352
7353 Implement light-weight DImode support.
7354 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
7355 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
7356 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
7357 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
7358
04dbc287
NS
73592011-12-30 Nathan Sidwell <nathan@acm.org>
7360
7361 * libgcov.c (gcov_crc32): Remove global var.
7362 (free_fn_data): New function.
7363 (buffer_fn_data): Pass in filename, more robust error recovery.
7364 (crc32_unsigned): New function.
7365 (gcov_exit): More robust detection of new program. More robust
7366 error recovery.
7367 (__gcov_init): Do not update program's crc here.
7368
8e1d97d4
TG
73692011-12-21 Tristan Gingold <gingold@adacore.com>
7370
7371 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
7372
9ffaf4bc
ILT
73732011-12-21 Ian Lance Taylor <iant@google.com>
7374
7375 * config/i386/morestack.S: Simplify CFI opcodes throughout.
7376
a0c8d0c1
ILT
73772011-12-20 Ian Lance Taylor <iant@google.com>
7378
7379 * config/i386/morestack.S (__morestack_non_split): If there is
7380 enough stack space already, don't split. Ask for more stack space
7381 than we required.
7382
69048898
SDJ
73832011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
7384
7385 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
7386 `sys/sdt.h'.
7387 (_Unwind_DebugHook): New function.
7388 (uw_restore_core_regs): New define.
7389 (unwind_phase2): Use uw_restore_core_regs instead of
7390 restore_core_regs.
7391 (unwind_phase2_forced): Likewise.
7392 (__gnu_Unwind_Resume): Likewise.
7393
1bb4b6a3
UB
73942011-12-20 Uros Bizjak <ubizjak@gmail.com>
7395
7396 * config/alpha/linux-unwind.h: Update copyright years.
7397 (MD_FROB_UPDATE_CONTEXT): New define.
7398 (alpha_frob_update_context): New function.
7399
eb028768
RS
74002011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
7401
7402 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
7403 tmake_file rather replacing it.
7404
6a2045bf
IS
74052011-12-15 Iain Sandoe <iains@gcc.gnu.org>
7406
7407 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
1bb4b6a3 7408 function is not used for PPC64.
6a2045bf
IS
7409 (save_world): Amend comments. Update the VRsave mask to reflect the
7410 saved regs.
7411 (rest_world): Update comments, do not clobber r10, do not use r8.
7412 (eh_rest_world_r10): Amend comments, do not use r8.
7413 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
7414 no longer used, move restore of CR and target address to the end of
7415 the routine.
7416
a13780a6
L
74172011-12-14 H.J. Lu <hongjiu.lu@intel.com>
7418
7419 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
7420 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
7421
d7288dfb
GJL
74222011-12-14 Georg-Johann Lay <avr@gjlay.de>
7423
7424 PR target/49313
7425 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
7426 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
7427
8d2c862d
EB
74282011-12-11 Eric Botcazou <ebotcazou@adacore.com>
7429
7430 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
7431
3447cae6
GJL
74322011-12-09 Georg-Johann Lay <avr@gjlay.de>
7433
7434 PR target/49313
7435 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
7436 * config/avr/lib1funcs.S (__muldi3): New function.
7437
806fc6aa
AP
74382011-12-06 Andrew Pinski <apinski@cavium.com>
7439
7440 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
7441 size of func_ptr.
7442 (__frame_dummy_init_array_entry): Likewise.
7443
28c5e6b5
GJL
74442011-12-06 Georg-Johann Lay <avr@gjlay.de>
7445
7446 Forward-port from gcc-4_6-branch r181936 2011-12-02.
7447
7448 PR target/51345
7449 PR target/51002
7450 * config/avr/lib1funcs.S (__prologue_saves__,
7451 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
7452 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
7453
8f90394a
IS
74542011-12-04 Iain Sandoe <iains@gcc.gnu.org>
7455
7456 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
7457
06dd33ac
JDA
74582011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
7459
7460 PR other/51272
7461 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
7462 (_ITM_deregisterTMCloneTable): Likewise.
7463 (__register_frame_info): Fix unused warning.
7464 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
7465 pthread_default_stacksize_np): Likewise.
7466 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
1bb4b6a3 7467
85b8555e
DD
74682011-11-29 DJ Delorie <dj@redhat.com>
7469
7470 * config.host (rl78-*-elf): New case.
7471 * config/rl78: New directory for the Renesas RL78.
7472
4d5ae4ea
BS
74732011-11-29 Bernd Schmidt <bernds@codesourcery.com>
7474
7475 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
7476 formatting.
7477
f9c55897
RO
74782011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7479
7480 PR other/51022
7481 * config/rs6000/t-savresfgpr: New file.
7482 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
7483 $(srcdir)/config/rs6000/eabi.S.
7484 * config/rs6000/t-ppccomm-ldbl: Remove.
7485 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
7486 tmake_file.
7487 (powerpc-*-eabispe*): Likewise.
7488 (powerpc-*-eabi*): Likewise.
7489 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
7490 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
7491 to tmake_file, remove rs6000/t-ppccomm-ldbl.
7492 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
7493 tmake_file.
7494 (powerpc-*-eabisim*): Likewise.
7495 (powerpc-*-elf*): Likewise.
7496 (powerpc-*-eabialtivec*): Likewise.
7497 (powerpc-xilinx-eabi*): Likewise.
7498 (powerpc-*-rtems*): Likewise.
7499 (powerpcle-*-elf*): Likewise.
7500 (powerpcle-*-eabisim*): Likewise.
7501 (powerpcle-*-eabi*): Likewise.
7502
a01207c4
ILT
75032011-11-27 Ian Lance Taylor <iant@google.com>
7504
7505 * generic-morestack.c (__splitstack_find): Check for NULL old
7506 stack value.
7507 (__splitstack_resetcontext): New function.
7508 (__splitstack_releasecontext): New function.
7509 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
7510
2b0b8ab2
IS
75112011-11-27 Iain Sandoe <iains@gcc.gnu.org>
7512
7513 * config/darwin-crt-tm.c: Correct comments, use correct licence.
7514
c1d8101c
IS
75152011-11-27 Iain Sandoe <iains@gcc.gnu.org>
7516
7517 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
7518
8b281334
RH
75192011-11-26 Richard Henderson <rth@redhat.com>
7520
7521 * config/m68k/linux-atomic.c: New file.
7522 * config/m68k/t-linux: New file.
7523 * config.host (m68k-uclinux, m68k-linux): Use it.
7524
7546aa9d
RH
75252011-11-26 Richard Henderson <rth@redhat.com>
7526
7527 * crtstuff.c (__TMC_LIST__): Mark used not unused.
7528 (__TMC_END__): Only declare if hidden is available; in the definition,
7529 if hidden is unavailable add a null record.
7530 (deregister_tm_clones, register_tm_clones): New.
7531 (__do_global_dtors_aux, frame_dummy): Use them.
7532 (__do_global_dtors, __do_global_ctors_1): Likewise.
7533
e2362f5d
IS
75342011-11-22 Iain Sandoe <iains@gcc.gnu.org>
7535
7536 * config/darwin-crt-tm.c: New file.
7537 * config.host (darwin): Build crttms.o crttme.o to provide
7538 startup and shutdown for tm clones.
7539 * config/t-darwin (crttms.o): New build rule.
7540 (crttme.o): Likewise.
7541
6685dd96
HPN
75422011-11-21 Hans-Peter Nilsson <hp@axis.com>
7543
7544 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
7545 et al.
7546
b0dc7e4c
RH
75472011-11-21 Richard Henderson <rth@redhat.com>
7548
7549 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
7550 (__TMC_LIST__, __TMC_END__): New.
7551 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
7552 (__do_global_dtors): Likewise.
7553 (frame_dummy): Call _ITM_registerTMCloneTable.
7554 (__do_global_ctors_1): Likewise.
7555
d4b4b542
RO
75562011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7557
7558 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
7559 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
7560 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
7561 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
7562 * config/i386/t-darwin64: Remove.
7563 * config/sh/t-netbsd (LIB2ADD): Remove.
7564
989bdb74
GJL
75652011-11-21 Georg-Johann Lay <avr@gjlay.de>
7566
7567 PR target/49313
7568 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
7569 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
7570 * config/avr/lib1funcs.S (wmov): New assembler macro.
7571 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
7572 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
7573 (__udivmod64): New function.
7574 (__negdi2): New function.
7575
515a0cfc
GP
75762011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
7577
7578 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
7579 *-*-freebsd*aout*): Remove.
7580
0115d17f
HPN
75812011-11-20 Hans-Peter Nilsson <hp@axis.com>
7582
7583 * static-object.mk (c_flags-$o): Save c_flags.
7584 ($(base)$(objext)): Use it.
7585
93aeb62b
SE
75862011-11-18 Steve Ellcey <sje@cup.hp.com>
7587
7588 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
7589
7bc6df2c
GJL
75902011-11-18 Georg-Johann Lay <avr@gjlay.de>
7591
7592 PR target/49868
7593 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
7594 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
7595 New functions.
7596
425d737b
MGD
75972011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
7598
7599 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
7600 functions.
1bb4b6a3 7601 (aeabi_uidivmod): Likewise.
425d737b
MGD
7602 (umodsi3): Likewise.
7603 (divsi3): Likewise.
7604 (aeabi_idivmod): Likewise.
7605 (modsi3): Likewise.
7606
f2a176dc
TG
76072011-11-16 Tristan Gingold <gingold@adacore.com>
7608
7609 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
7610
7c209481
GJL
76112011-11-15 Georg-Johann Lay <avr@gjlay.de>
7612
7613 PR target/49868
7614 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
7615 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
7616
9dfd5832
JDA
76172011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
7618
7619 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
7620 tmake_file list.
7621 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
7622 * config/pa/t-stublib64: Delete.
7623
f77dca5d
RH
76242011-11-12 Richard Henderson <rth@redhat.com>
7625
7626 * config/rs6000/linux-unwind.h (frob_update_context): Properly
7627 cast the pointer argument to _Unwind_SetGRPtr.
7628
902828f0
RO
76292011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7630
7631 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
7632
e14304ef
ILT
76332011-11-09 Ian Lance Taylor <iant@google.com>
7634
7635 * generic-morestack.c: Include <string.h>.
7636 (uintptr_type): Define.
7637 (struct initial_sp): Add dont_block_signals field. Reduce size of
7638 extra array by 1.
7639 (allocate_segment): Set prev field to NULL. Don't set
7640 __morestack_current_segment or __morestack_segments.
7641 (__generic_morestack): Update current->prev and *pp after calling
7642 allocate_segment.
7643 (__morestack_block_signals): Don't do anything if
7644 dont_block_signals is set.
7645 (__morestack_unblock_signals): Likewise.
7646 (__generic_findstack): Check for initial_sp == NULL. Add casts to
7647 uintptr_type.
7648 (__splitstack_block_signals): New function.
7649 (enum __splitstack_content_offsets): Define.
7650 (__splitstack_getcontext, __splitstack_setcontext): New functions.
7651 (__splitstack_makecontext): New function.
7652 (__splitstack_block_signals_context): New function.
7653 (__splitstack_find_context): New function.
7654 * config/i386/morestack.S (__morestack_get_guard): New function.
7655 (__morestack_set_guard, __morestack_make_guard): New functions.
7656 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
7657
e3d871e4
RO
76582011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7659
7660 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
7661 (i[34567]86-*-mingw*): ... here.
7662 (x86_64-*-mingw*): ... here.
7663
e55cef40
RO
76642011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7665
7666 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
7667
5366b186
NS
76682011-11-07 Nathan Sidwell <nathan@acm.org>
7669
7670 * libgcov.c (struct gcov_fn_buffer): New struct.
7671 (buffer_fn_data): New helper.
7672 (gcov_exit): Rework for new gcov data structures.
7673
74155a6f
GJL
76742011-11-07 Georg-Johann Lay <avr@gjlay.de>
7675
7676 PR target/49313
7677 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
7678
200feb07
RO
76792011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7680
7681 * config.host (tmake_file): Correct comment.
7682 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
7683 t-libgcc-pic.
7684 (bfin*-uclinux*): Likewise.
7685 (bfin*-linux-uclibc*): Likewise.
7686 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
7687
7688 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
7689 assigning.
7690 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7691 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
7692 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7693 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
7694 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7695 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
7696 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
7697 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7698 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
7699 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
7700 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
7701 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
7702 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
7703
7704 * config/bfin/t-elf: Remove.
7705 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
7706
c9cd1a07
RO
77072011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7708
7709 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
7710 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
7711 (lm32-*-elf*, lm32-*-rtems*): Split into ...
7712 (lm32-*-elf*): ... this.
7713 (lm32-*-rtems*): ... and this.
7714 Add to tmake_file.
7715 (m32r-*-rtems*): Add to tmake_file.
7716 (moxie-*-rtems*): Likewise.
7717 (sparc-*-rtems*): Likewise.
7718 Remove t-rtems from tmake_file.
7719 (sparc64-*-rtems*): Likewise.
7720 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
7721 instead.
7722
9fbcc75d
RO
77232011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7724
7725 PR bootstrap/50982
7726 * config/gthr-posix.h: Move ...
7727 * gthr-posix.h: ... here.
7728 * config/gthr-lynx.h: Reflect this.
7729 * config/gthr-vxworks.h: Likewise.
7730 * config/rs6000/gthr-aix.h: Likewise.
7731 * configure.ac (target_thread_file): Likewise.
7732 * configure: Regenerate.
7733
76644b68
SH
77342011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
7735
7736 * config.host (arm*-*-rtemseabi*): New target.
7737
5e490f2a
JDA
77382011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
7739
7740 PR other/50991
7741 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
7742 extra-parts.
7743
feeeff5c
JR
77442011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
7745
7746 * config.host (epiphany-*-elf*): New configuration.
7747 * config/epiphany: New Directory.
7748
d618bb2c
RC
77492011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
7750
7751 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
7752 * config/avr/t-rtems: New.
7753 Filter out _exit from LIB1ASMFUNCS.
7754
1bb6f778
DM
77552011-11-04 David S. Miller <davem@davemloft.net>
7756
7757 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
7758 * configure: Rebuild.
7759
9a7f7422
AK
77602011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7761
7762 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
7763 variable.
7764
e4fe948a
GJL
77652011-11-04 Georg-Johann Lay <avr@gjlay.de>
7766
7767 PR target/50931
7768 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
7769 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
7770
7084e037
JS
77712011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
7772
7773 PR target/50989
7774 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
7775
1a032034
RO
77762011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7777
7778 * config/c6x/t-elf (LIB2ADDEH): Set.
7779 * config/c6x/t-c6x-elf: Remove.
7780
d385f772
RO
77812011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7782
7783 * config/i386/sol2-ci.S: Rename to ...
7784 * config/i386/crti.S: ... this.
7785 * config/i386/sol2-cn.S: Rename to ...
7786 * config/i386/crtn.S: ... this.
7787 * config/sparc/sol2-ci.S: Rename to ...
7788 * config/sparc/crti.S: ... this.
7789 * config/sparc/sol2-cn.S: Rename to ...
7790 * config/sparc/crtn.S: ... this.
7791 * config/t-sol2 (CUSTOM_CRTIN): Remove.
7792 (crti.o, crtn.o): Remove.
7793
1ba878a9
TG
77942011-11-04 Tristan Gingold <gingold@adacore.com>
7795
7796 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
7797
02750c15
KK
77982011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
7799
7800 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
7801
bf86b067
HPN
78022011-11-03 Hans-Peter Nilsson <hp@axis.com>
7803
7804 * config.host (crisv32-*-none, cris-*-none): Remove.
7805 (crisv32-*-elf): Append to tmake_file, don't just set it.
7806 (cris-*-elf): Add missing t-fdpbit to tmake_file.
7807
d0bc53bd
RO
78082011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7809
7810 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
7811 (ecrtn$(objext)): Likewise.
7812 (ncrti$(objext)): Likewise.
7813 (ncrtn$(objext)): Likewise.
7814
036da830
AS
78152011-11-03 Andreas Schwab <schwab@redhat.com>
7816
7817 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
7818
d2a7d041
DM
78192011-11-02 David S. Miller <davem@davemloft.net>
7820
7821 * configure.ac: Set host_address on sparc too.
7822 * configure: Regenerate.
7823 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
7824 based upon host_address.
7825 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
7826
af8ed618
JM
78272011-11-02 Jason Merrill <jason@redhat.com>
7828
7829 * config/rs6000/t-ppccomm: Add missing \.
7830
5d1c8e77
RO
78312011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7832
7833 * gthr-single.h, gthr.h: New files.
7834 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
7835 config/gthr-vxworks.h, config/i386/gthr-win32.h,
7836 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
7837 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
7838 * config/i386/gthr-win32.c: Include "gthr-win32.h".
7839 * configure.ac (thread_header): New variable.
7840 Set it depending on target_thread_file.
7841 (gthr-default.h): Link from $thread_header.
7842 * configure: Regenerate.
7843 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
7844
852b75ed
RO
78452011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7846
7847 * configure.ac (tm_file_): New variable.
7848 Determine from tm_file.
7849 (tm_file, tm_defines): Substitute.
7850 * configure: Regenerate.
7851 * mkheader.sh: New file.
7852 * Makefile.in (clean): Remove libgcc_tm.h.
7853 ($(objects)): Depend on libgcc_tm.h.
7854 (libgcc_tm_defines, libgcc_tm_file): New variables.
7855 (libgcc_tm.h, libgcc_tm.stamp): New targets.
7856 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
7857 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
7858 ($(extra-parts)): Depend on libgcc_tm.h.
7859 * config.host (tm_defines, tm_file): New variable.
7860 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
7861 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
7862 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
7863 (avr-*-rtems*): Likewise.
7864 (avr-*-*): Likewise.
7865 (frv-*-elf): Likewise.
7866 (frv-*-*linux*): Likewise.
7867 (h8300-*-rtems*): Likewise.
7868 (h8300-*-elf*): Likewise.
7869 (i[34567]86-*-darwin*): Likewise.
7870 (x86_64-*-darwin*): Likewise.
7871 (rx-*-elf): Likewise.
7872 (tic6x-*-uclinux): Likewise.
7873 (tic6x-*-elf): Likewise.
7874 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
7875 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
7876 * config/i386/cygming-crtbegin.c: Likewise.
7877 * config/i386/cygming-crtend.c: Likewise.
7878 * config/ia64/fde-vms.c: Likewise.
7879 * config/ia64/unwind-ia64.c: Likewise.
7880 * config/libbid/bid_gcc_intrinsics.h: Likewise.
7881 * config/rs6000/darwin-fallback.c: Likewise.
7882 * config/stormy16/lib2funcs.c: Likewise.
7883 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
7884 * crtstuff.c: Likewise.
7885 * dfp-bit.h: Likewise.
7886 * emutls.c: Likewise.
7887 * fixed-bit.c: Likewise.
7888 * fp-bit.c: Likewise.
7889 * generic-morestack-thread.c: Likewise.
7890 * generic-morestack.c: Likewise.
7891 * libgcc2.c: Likewise.
7892 * libgcov.c: Likewise.
7893 * unwind-dw2-fde-dip.c: Likewise.
7894 * unwind-dw2-fde.c: Likewise.
7895 * unwind-dw2.c: Likewise.
7896 * unwind-sjlj.c: Likewise.
7897
f9989b51
RO
78982011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7899
7900 * configure.ac: Include ../config/picflag.m4.
7901 (GCC_PICFLAG): Call it.
7902 Substitute.
7903 * configure: Regenerate.
7904 * Makefile.in (gcc_srcdir): Remove.
7905 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
7906 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
7907 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
7908 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
7909 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
7910 Use $<.
7911 Remove comment.
7912 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
7913 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
7914 to refer to libgcc2.c.
7915 Use $<.
7916 * config/darwin-64.c: New file.
7917 * config/darwin-crt3.c: Remove comment.
7918 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
7919 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
7920 config/udivmodsi4.c: New files.
7921 * config/memcmp.c, config/memcpy.c, config/memmove.c,
7922 config/memset.c: New files.
7923 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
7924 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
7925 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
7926 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
7927 * config/t-openbsd-thread: New file.
7928 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
7929 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
7930 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
7931 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
7932 qrnnd.S.
7933 Adapt filename.
7934 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
7935 to refer to gthr-posix.c.
7936 * config/alpha/t-vms (LIB2ADD): Set.
7937 * config/alpha/vms-gcc_shell_handler.c: New file.
7938 * config/arm/bpabi.c, config/arm/fp16.c,
7939 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
7940 config/arm/unaligned-funcs.c: New files.
7941 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
7942 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
7943 * config/arm/t-linux: Likewise.
7944 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
7945 * config/arm/t-netbsd: New file.
7946 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
7947 * config/arm/t-symbian (LIB2ADD_ST): Set.
7948 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
7949 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7950 * config/bfin/t-elf: New file.
7951 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
7952 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
7953 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
7954 config/c6x/ltf.c: New files.
7955 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
7956 (HOST_LIBGCC2_CFLAGS): Set.
7957 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
7958 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7959 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
7960 New files.
7961 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
7962 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
7963 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
7964 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
7965 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
7966 files.
7967 * config/frv/t-frv (LIB2ADD): Set.
7968 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7969 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
7970 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
7971 config/h8300/popcounthi2.c: New files.
7972 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
7973 * config/i386/gthr-win32.c: New file.
7974 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
7975 * config/i386/t-cygwin: Likewise.
7976 * config/i386/t-darwin, config/i386/t-darwin64,
7977 config/i386/t-gthr-win32, config/i386/t-interix: New files.
7978 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
7979 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7980 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7981 * config/ia64/quadlib.c: New file.
7982 * config/ia64/t-hpux (LIB2ADD): Set.
7983 * config/ia64/t-ia64: Add comment.
7984 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
7985 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7986 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
7987 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
7988 * config/m32c/t-m32c (LIB2ADD): Set.
7989 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
7990 * config/m32r/t-m32r: Likewise.
7991 * config/m68k/fpgnulib.c: New file.
7992 * config/m68k/t-floatlib (LIB2ADD): Set.
7993 (xfgnulib.c): New target.
7994 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
7995 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
7996 * config/mep/t-mep (LIB2ADD): Set.
7997 * config/microblaze/divsi3.asm: Rename to divsi3.S.
7998 * config/microblaze/moddi3.asm: Rename to moddi3.S.
7999 * config/microblaze/modsi3.asm: Rename to modsi3.S.
8000 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
8001 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
8002 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
8003 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
8004 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
8005 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
8006 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
8007 New files.
8008 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
8009 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
8010 * config/pa/fptr.c, config/pa/lib2funcs.S,
8011 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
8012 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
8013 (LIB2ADD, LIB2ADD_ST): Set.
8014 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
8015 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
8016 Set.
8017 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
8018 * config/pdp11/t-pdp11: New file.
8019 * config/picochip/libgccExtras/adddi3.S,
8020 config/picochip/libgccExtras/ashlsi3.S,
8021 config/picochip/libgccExtras/ashrsi3.S,
8022 config/picochip/libgccExtras/clzsi2.S,
8023 config/picochip/libgccExtras/cmpsi2.S,
8024 config/picochip/libgccExtras/divmod15.S,
8025 config/picochip/libgccExtras/divmodhi4.S,
8026 config/picochip/libgccExtras/divmodsi4.S,
8027 config/picochip/libgccExtras/lshrsi3.S,
8028 config/picochip/libgccExtras/parityhi2.S,
8029 config/picochip/libgccExtras/popcounthi2.S,
8030 config/picochip/libgccExtras/subdi3.S,
8031 config/picochip/libgccExtras/ucmpsi2.S,
8032 config/picochip/libgccExtras/udivmodhi4.S,
8033 config/picochip/libgccExtras/udivmodsi4.S: New files.
8034 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
8035 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
8036 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
8037 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
8038 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
8039 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
8040 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
8041 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
8042 files.
8043 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
8044 (HOST_LIBGCC2_CFLAGS): Set.
8045 * config/rs6000/t-darwin64: New file.
8046 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
8047 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
8048 * config/rs6000/t-ppccomm (LIB2ADD): Add
8049 $(srcdir)/config/rs6000/tramp.S.
8050 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
8051 Add $(srcdir)/config/rs6000/eabi.S.
8052 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
8053 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
8054 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
8055 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
8056 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
8057 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
8058 * config/rs6000/tramp.S: New file.
8059 * config/s390/t-tpf: Remove.
8060 * config/sh/linux-atomic.S: New file.
8061 * config/sh/t-linux (LIB2ADD): Set.
8062 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
8063 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
8064 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
8065 to unwind-dw2.c.
8066 (HOST_LIBGCC2_CFLAGS): Set.
8067 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8068 * config/spu/divmodti4.c, config/spu/divv2df3.c,
8069 config/spu/float_disf.c, config/spu/float_unsdidf.c,
8070 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
8071 config/spu/mfc_multi_tag_release.c,
8072 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
8073 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
8074 config/spu/multi3.c: New files.
8075 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
8076 (HOST_LIBGCC2_CFLAGS): Set.
8077 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
8078 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
8079 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
8080 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
8081 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
8082 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
8083 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
8084 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
8085 config/stormy16/umodsi3.c: New files.
8086 * config/xtensa/lib2funcs.S: New file.
8087 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
8088 * config/xtensa/t-xtensa (LIB2ADD): Set.
8089 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
8090 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
8091 Add t-freebsd-thread to tmake_file for posix threads.
8092 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
8093 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
8094 (*-*-lynxos*): Likewise.
8095 (*-*-netbsd*): Likewise.
8096 (*-*-openbsd*): Likewise.
8097 Add t-openbsd-thread to tmake_file for posix threads.
8098 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
8099 (*-*-vxworks*): Set tmake_file.
8100 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
8101 (alpha*-*-freebsd*): Likewise.
8102 (alpha*-*-netbsd*): Likewise.
8103 (alpha*-*-openbsd*): Likewise.
8104 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
8105 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
8106 (alpha*-dec-*vms*): Likewise.
8107 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
8108 (bfin*-elf*): Add bfin/t-elf to tmake_file.
8109 (bfin*-uclinux*): Likewise.
8110 (bfin*-linux-uclibc*): Likewise.
8111 (crisv32-*-elf): Add cris/t-cris to tmake_file.
8112 (crisv32-*-none): Likewise.
8113 (cris-*-elf): Likewise.
8114 (cris-*-none): Likewise.
8115 (cris-*-linux*, crisv32-*-linux*): Likewise.
8116 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
8117 tmake_file.
8118 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
8119 tmake_file.
8120 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
8121 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
8122 (x86_64-*-elf*): Likewise.
8123 (i[34567]86-*-nto-qnx*): Likewise.
8124 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
8125 win32 threads.
8126 (x86_64-*-mingw*): Likewise.
8127 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
8128 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
8129 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
8130 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
8131 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
8132 tmake_file.
8133 (mipsisa64sr71k-*-elf*): Likewise.
8134 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
8135 (mips-*-elf*, mipsel-*-elf*): Likewise.
8136 (mips64-*-elf*, mips64el-*-elf*): Likewise.
8137 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
8138 (mips*-*-rtems*): Likewise.
8139 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
8140 to tmake_file.
8141 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
8142 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
8143 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
8144 (spu-*-elf*): Likewise.
8145 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
8146
45b86625
RO
81472011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8148
8149 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
8150 $(srcdir) to refer to $(LIB1ASMSRC).
8151 Use $<.
8152 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
8153 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
8154 config/arm/lib1funcs.S: New files.
8155 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
8156 * config/arm/t-arm: New file.
8157 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
8158 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
8159 config/arm/t-strongarm-elf: New files.
8160 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
8161 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
8162 * config/avr/lib1funcs.S: New file.
8163 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8164 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
8165 * config/c6x/lib1funcs.S: New file.
8166 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8167 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
8168 * config/frv/lib1funcs.S: New file.
8169 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8170 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
8171 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
8172 * config/ia64/__divxf3.asm: Rename to ...
8173 * config/ia64/__divxf3.S: ... this.
8174 Adapt lib1funcs.asm filename.
8175 * config/ia64/_fixtfdi.asm: Rename to ...
8176 * config/ia64/_fixtfdi.S: ... this.
8177 Adapt lib1funcs.asm filename.
8178 * config/ia64/_fixunstfdi.asm: Rename to ...
8179 * config/ia64/_fixunstfdi.S: ... this.
8180 Adapt lib1funcs.asm filename.
8181 * config/ia64/_floatditf.asm: Rename to ...
8182 * config/ia64/_floatditf.S: ... this.
8183 Adapt lib1funcs.asm filename.
8184 * config/ia64/lib1funcs.S: New file.
8185 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
8186 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8187 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
8188 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
8189 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
8190 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
8191 * config/mep/lib1funcs.S: New file.
8192 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8193 * config/mips/mips16.S: New file.
8194 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8195 * config/pa/milli64.S: New file.
8196 * config/pa/t-linux, config/pa/t-linux64: New files.
8197 * config/picochip/lib1funcs.S: New file.
8198 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8199 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
8200 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
8201 * config/sh/t-netbsd: New file.
8202 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
8203 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
8204 * config/sh/t-sh64: New file.
8205 * config/sparc/lb1spc.S: New file.
8206 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
8207 filename.
8208 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
8209 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
8210 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
8211 config/xtensa/lib1funcs.S: New files.
8212 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8213 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
8214 tmake_file.
8215 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
8216 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
8217 (arm*-*-linux*): Likewise.
8218 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
8219 arm*-*-linux-*eabi, add arm/t-linux otherwise.
8220 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
8221 (arm*-*-ecos-elf): Likewise.
8222 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
8223 (arm*-*-rtems*): Likewise.
8224 (arm*-*-elf): Likewise.
8225 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
8226 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
8227 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
8228 (bfin*-uclinux*): Likewise.
8229 (bfin*-linux-uclibc*): Likewise.
8230 (bfin*-rtems*): Likewise.
8231 (bfin*-*): Likewise.
8232 (fido-*-elf): Merge into m68k-*-elf*.
8233 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
8234 (frv-*-*linux*): Add frv/t-frv to tmake_file.
8235 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
8236 (h8300-*-elf*): Likewise.
8237 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
8238 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
8239 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
8240 (i[34567]86-*-mingw*): Likewise.
8241 (x86_64-*-mingw*): Likewise.
8242 (i[34567]86-*-interix3*): Likewise.
8243 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
8244 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
8245 (m68k-*-elf*): Also handle fido-*-elf.
8246 Add m68k/t-floatlib to tmake_file.
8247 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
8248 (m68k-*-linux*): Likewise.
8249 (m68k-*-rtems*): Likewise.
8250 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
8251 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
8252 sh64*-*-*.
8253 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
8254 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
8255 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
8256 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
8257 sh/t-netbsd to tmake_file.
8258 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
8259 (sh-*-rtems*): Add sh/t-sh to tmake_file.
8260 (sh-wrs-vxworks): Likewise.
8261 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
8262 *-leon[3-9]*.
8263 (v850*-*-*): Add v850/t-v850 to tmake_file.
8264 (vax-*-linux*): Add vax/t-linux to tmake_file.
8265 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
8266
5f73c6cc
RO
82672011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8268
8269 * crtstuff.c: New file.
8270 * Makefile.in (CRTSTUFF_CFLAGS): Define.
8271 (CRTSTUFF_T_CFLAGS): Define.
8272 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
8273 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
8274 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
8275 crtstuff.c.
8276 Use $<.
8277 (crtbeginT.o): Use $(objext).
8278 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
8279 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
8280 (gcc-extra-parts): Remove.
8281 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
8282 Set extra_parts.
8283 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
8284 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
8285 Add t-crtstuff-pic to tmake_file.
8286 (*-*-lynxos*): New case.
8287 Set tmake_file, extra_parts.
8288 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
8289 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
8290 *-*-netbsdelf[2-9]*.
8291 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
8292 (*-*-rtems*): Set extra_parts.
8293 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
8294 (*-*-uclinux*): New case.
8295 Set extra_parts.
8296 (*-*-vms*): New case.
8297 Set tmake_file, extra_parts.
8298 (*-*-elf): Set extra_parts.
8299 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
8300 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
8301 vms/t-vms64.
8302 Set extra_parts.
8303 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
8304 Set extra_parts.
8305 (arm*-*-freebsd*): Add t-crtin to tmake_file.
8306 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
8307 (arm-wrs-vxworks): Append to tmake_file.
8308 Set extra_parts.
8309 (arm*-*-uclinux*): Set extra_parts.
8310 (arm*-*-ecos-elf): Likewise.
8311 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
8312 arm*-*-eabi*.
8313 (arm*-*-rtems*): Set extra_parts.
8314 (arm*-*-elf): Likewise.
8315 (avr-*-rtems*): Clear extra_parts.
8316 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
8317 Set extra_parts.
8318 (bfin*-uclinux*): Likewise.
8319 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
8320 (bfin*-rtems*): Append to tmake_file.
8321 Set extra_parts.
8322 (bfin*-*): Likewise.
8323 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
8324 (crisv32-*-elf): ... this.
8325 (crisv32-*-none): ... this.
8326 (cris-*-elf, cris-*-none): New cases.
8327 Add cris/t-elfmulti to tmake_file.
8328 (fr30-*-elf): Append to tmake_file.
8329 Set extra_parts.
8330 (frv-*-elf): Append to tmake_file, add frv/t-frv.
8331 Set extra_parts.
8332 (h8300-*-rtems*): Append to tmake_file.
8333 Set extra_parts.
8334 (h8300-*-elf*): Likewise.
8335 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
8336 Set extra_parts.
8337 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
8338 Set extra_parts.
8339 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
8340 (x86_64-*-elf*): Likewise.
8341 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
8342 (x86_64-*-freebsd*): Likewise.
8343 (x86_64-*-netbsd*): Likewise.
8344 (i[34567]86-*-linux*): Likewise.
8345 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
8346 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
8347 (x86_64-*-linux*): Likewise.
8348 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
8349 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
8350 tmake_file.
8351 Set extra_parts.
8352 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
8353 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
8354 Append to extra_parts, remove crtbegin.o, crtend.o.
8355 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
8356 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
8357 crtend.o, crtbeginS.o, crtendS.o.
8358 (ia64*-*-linux*): Comment extra_parts.
8359 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
8360 Set extra_parts.
8361 (iq2000*-*-elf*): Clear extra_parts.
8362 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
8363 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
8364 (m32r-*-elf*, m32r-*-rtems*): Split off ...
8365 (m32r-*-rtems*): ... this.
8366 Add m32r/t-m32r to tmake_file.
8367 (m68k-*-elf*): Add t-crtin to tmake_file.
8368 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
8369 (mcore-*-elf): Likewise.
8370 (microblaze*-*-*): Set extra_parts.
8371 (mips*-sde-elf*): New case.
8372 Set tmake_file, extra_parts.
8373 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
8374 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
8375 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
8376 tmake_file.
8377 Set extra_parts.
8378 (mipsisa64sr71k-*-elf*): Likewise.
8379 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
8380 (mips-*-elf*, mipsel-*-elf*): Likewise.
8381 (mips64-*-elf*, mips64el-*-elf*): Likewise.
8382 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
8383 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
8384 (mips*-*-rtems*): Likewise.
8385 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
8386 (moxie-*-*): Split into ...
8387 (moxie-*-elf, moxie-*-uclinux*): ... this.
8388 Add to extra_parts, remove crtbegin.o, crtend.o.
8389 (moxie-*-rtems*): New case.
8390 Set tmake_file.
8391 Clear extra_parts.
8392 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
8393 Set extra_parts.
8394 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
8395 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
8396 tmake_file.
8397 Set extra_parts.
8398 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
8399 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
8400 Set extra_parts.
8401 (powerpc-*-eabisim*): Likewise.
8402 (powerpc-*-elf*): Likewise.
8403 (powerpc-*-eabialtivec*): Likewise.
8404 (powerpc-xilinx-eabi*): Likewise.
8405 (powerpc-*-eabi*): Likewise.
8406 (powerpc-*-rtems*): Likewise.
8407 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
8408 tmake_file.
8409 Set extra_parts.
8410 (powerpc-*-lynxos*): Add to tmake_file.
8411 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
8412 rs6000/t-crtstuff, t-crtstuff-pic.
8413 Set extra_parts.
8414 (powerpcle-*-eabisim*): Likewise.
8415 (powerpcle-*-eabi*): Likewise.
8416 (rx-*-elf): Remove extra_parts.
8417 (s390x-ibm-tpf*): Set extra_parts.
8418 (score-*-elf): Set extra_parts.
8419 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
8420 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
8421 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
8422 (sh64l*-*-netbsd*): Split into ...
8423 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
8424 Add t-crtstuff-pic to tmake_file.
8425 Set extra_parts.
8426 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
8427 Set extra_parts.
8428 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
8429 (sparc-*-elf*): Remove t-crtin from tmake_file.
8430 Add to extra_parts, remove crtbegin.o, crtend.o.
8431 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
8432 (sparc64-*-linux*): Likewise.
8433 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
8434 Add to extra_parts, remove crtbegin.o, crtend.o.
8435 (sparc64-*-elf*): Remove t-crtin from tmake_file.
8436 Add to extra_parts, remove crtbegin.o, crtend.o.
8437 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
8438 Add to extra_parts, remove crtbegin.o, crtend.o.
8439 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
8440 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
8441 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
8442 Set extra_parts.
8443 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
8444 Set extra_parts.
8445 (tic6x-*-*): Change to ...
8446 (tic6x-*-elf): ... this.
8447 Set extra_parts.
8448 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
8449 Set extra_parts.
8450 (am33_2.0-*-linux*): Add comment.
8451 (mep*-*-*): Add mep/t-mep to tmake_file.
8452 Set extra_parts.
8453 * config/alpha/t-vms: New file.
8454 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
8455 * config/arm/crti.S, config/arm/crtn.S: New files.
8456 * config/bfin/crti.S, config/bfin/crtn.S: New files.
8457 * config/bfin/crtlibid.S: New file.
8458 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
8459 * config/c6x/crti.S, config/c6x/crtn.S: New files.
8460 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
8461 (crti.o, crtin.o): New rules.
8462 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
8463 * config/c6x/t-uclinux: New file.
8464 * config/cris/t-elfmulti: New file.
8465 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
8466 * config/fr30/crti.S, config/fr30/crtn.S: New files.
8467 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
8468 * config/frv/t-frv: New file.
8469 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
8470 * config/h8300/crti.S, config/h8300/crtn.S: New files.
8471 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
8472 New files.
8473 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
8474 refer to cygming-crtbegin.c, cygming-crtend.c.
8475 Use $<.
8476 * config/i386/t-nto: New file.
8477 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
8478 * config/ia64/crti.S, config/ia64/crtn.S: New files.
8479 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
8480 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
8481 Use .S extension.
8482 Use $<.
8483 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
8484 (crtinitS.o): New rule.
8485 * config/ia64/vms-crtinit.S: New file.
8486 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
8487 * config/m32r/initfini.c: New file.
8488 * config/m32r/t-linux, config/m32r/t-m32r: New files.
8489 * config/m68k/crti.S, config/m68k/crtn.S: New files.
8490 * config/mcore/crti.S, config/mcore/crtn.S: New files.
8491 * config/mep/t-mep: New file.
8492 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
8493 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
8494 * config/mips/crti.S, config/mips/crtn.S: New files.
8495 * config/mips/t-crtstuff: New file.
8496 * config/mmix/crti.S, config/mmix/crtn.S: New files.
8497 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
8498 (CUSTOM_CRTIN): Set.
8499 ($(T)crti.o, $(T)crtn.o): Remove $(T),
8500 dependencies.
8501 Use $(srcdir) to refer to crti.S, crtn.S.
8502 Use .S extension, $<.
8503 * config/moxie/crti.asm: Rename to ...
8504 * config/moxie/crti.S: ... this.
8505 * config/moxie/crtn.asm: Rename to ...
8506 * config/moxie/crtn.S: ... this.
8507 * config/moxie/t-moxie: Remove.
8508 * config/pa/stublib.c: New file.
8509 * config/pa/t-stublib, config/pa/t-stublib64: New files.
8510 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
8511 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
8512 * config/rs6000/t-crtstuff: New file.
8513 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
8514 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
8515 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
8516 Make output file explicit.
8517 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
8518 Make output file explicit.
8519 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
8520 Make output file explicit.
8521 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
8522 Make output file explicit.
8523 * config/score/crti.S, config/score/crtn.S: New files.
8524 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
8525 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
8526 files.
8527 * config/sh/t-sh, config/sh/t-superh: New files.
8528 * config/sparc/t-linux64: New file.
8529 * config/spu/cache.S, config/spu/cachemgr.c: New files.
8530 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
8531 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
8532 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
8533 * config/t-crtin: Remove.
8534 * config/t-crtstuff-pic: New file.
8535 * config/t-sol2 (CUSTOM_CRTIN): Set.
8536 (crti.o, crtn.o): New rules.
8537 * config/vms/t-vms: New file.
8538 * config/vms/vms-ucrt0.c: New file.
8539 * config/xtensa/t-elf: New file.
8540
b040f2be
RO
85412011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8542
8543 * Makefile.in (SHLIB_NM_FLAGS): Set.
8544 * mkmap-flat.awk, mkmap-symver.awk: New files.
8545 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
8546 exceptions.
8547 * configure: Regenerate.
8548 * config/libgcc-glibc.ver: New file.
8549 * config/libgcc-libsystem.ver: New file.
8550 * config/t-libunwind (SHLIB_LC): Set.
8551 * config/t-linux: New file.
8552 * config/t-slibgcc (INSTALL_SHLIB): New.
8553 (SHLIB_INSTALL): Use it.
8554 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
8555 to mkmap-symver.awk.
8556 (SHLIB_MAPFILES): Don't append, adapt pathname.
8557 (SHLIB_VERPFX): Set.
8558 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
8559 to mkmap-symver.awk.
8560 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
8561 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
8562 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
8563 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
8564 to mkmap-flat.awk.
8565 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
8566 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
8567 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
8568 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
8569 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
8570 * config/i386/libgcc-darwin.10.4.ver,
8571 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
8572 New files.
8573 * config/i386/t-darwin: Remove.
8574 * config/i386/t-darwin64: Likewise.
8575 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
8576 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
8577 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
8578 * config/i386/t-linux: New file.
8579 * config/i386/t-mingw32: New file.
8580 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
8581 * config/ia64/t-glibc: Rename to ...
8582 * config/ia64/t-linux: ... this.
8583 (SHLIB_MAPFILES): Set.
8584 * config/ia64/t-glibc-libunwind: Rename to ...
8585 * config/ia64/t-linux-libunwind: ... this.
8586 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
8587 * config/ia64/t-slibgcc-hpux: New file.
8588 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
8589 * config/m68k/t-slibgcc-elf-ver: New file.
8590 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
8591 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
8592 to mkmap-flat.awk.
8593 * config/pa/t-slibgcc-hpux: New file.
8594 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
8595 files.
8596 * config/rs6000/libgcc-darwin.10.4.ver,
8597 config/rs6000/libgcc-darwin.10.5.ver: New files.
8598 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
8599 config/rs6000/libgcc-glibc.ver.
8600 * config/rs6000/libgcc-ppc64.ver: Rename to
8601 config/rs6000/libgcc-ibm-ldouble.ver.
8602 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
8603 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
8604 * config/rs6000/t-ldbl128: Rename to ...
8605 * config/rs6000/t-linux: ... this.
8606 (SHLIB_MAPFILES): Adapt filename.
8607 * config/rs6000/t-slibgcc-aix: New file.
8608 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
8609 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
8610 libgcc-excl.ver, libgcc-glibc.ver.
8611 (SHLIB_LINK, SHLIB_INSTALL): Remove.
8612 * config/sparc/libgcc-glibc.ver: New file.
8613 * config/sparc/t-linux: New file.
8614 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
8615 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
8616 t-slibgcc-elf-ver to tmake_file.
8617 Add t-slibgcc-nolc-override to tmake_file for posix threads on
8618 *-*-freebsd[34].
8619 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
8620 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
8621 t-slibgcc-elf-ver, t-linux to tmake_file.
8622 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
8623 tmake_file.
8624 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
8625 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
8626 (alpha*-dec-*vms*): Likewise.
8627 (arm*-*-freebsd*): Append to tmake_file.
8628 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
8629 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
8630 arm*-*-linux-*eabi.
8631 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
8632 tmake_file for arm*-*-symbianelf*.
8633 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
8634 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
8635 cris/t-linux.
8636 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
8637 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
8638 pa/t-slibgcc-dwarf-ver to tmake_file.
8639 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
8640 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
8641 (hppa*64*-*-hpux11*): Likewise.
8642 (hppa[12]*-*-hpux11*): Likewise.
8643 (x86_64-*-darwin*): Don't override tmake_file, but only keep
8644 i386/t-crtpc, i386/t-crtfm.
8645 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
8646 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
8647 to tmake_file.
8648 Add i386/t-cygwin to tmake_file.
8649 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
8650 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
8651 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
8652 to tmake_file.
8653 Add i386/t-mingw32 to tmake_file.
8654 (x86_64-*-mingw*): Likewise.
8655 (ia64*-*-freebsd*): Append to tmake_file.
8656 (ia64*-*-linux*): Append to tmake_file.
8657 Replace ia64/t-glibc by ia64/t-linux.
8658 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
8659 system libunwind.
8660 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
8661 t-slibgcc-hpux to tmake_file.
8662 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
8663 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
8664 (m32rle-*-linux*): Likewise.
8665 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
8666 sjlj exceptions.
8667 (microblaze*-linux*): New case.
8668 Append to tmake_file, add t-slibgcc-nolc-override.
8669 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
8670 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
8671 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
8672 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
8673 rs6000/t-slibgcc-aix to tmake_file.
8674 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8675 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8676 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
8677 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
8678 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
8679 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
8680 sh*-*-linux*.
8681 (sparc-*-linux*): Append to tmake_file for *-leon*.
8682 Add sparc/t-linux to tmake_file for non-Leon targets.
8683 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
8684 (tic6x-*-uclinux): New case.
8685 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
8686 (tic6x-*-*): Add c6x/t-elf to tmake_file.
8687 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
8688 (am33_2.0-*-linux*): Append to tmake_file.
8689 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
8690 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
8691 x86_64-*-kfreebsd*-gnu.
8692 Add i386/t-linux to tmake_file.
8693
18b4bd7b
ILT
86942011-10-28 Ian Lance Taylor <iant@google.com>
8695
8696 * config/i386/morestack.S: Correct CFI information to do proper
8697 returns throughout function. In 32-bit mode, save %ebx so that it
8698 is restored on unwind.
8699
5b2d9d90
BS
87002011-10-25 Bernd Schmidt <bernds@codesourcery.com>
8701
8702 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
8703 case where B3 isn't the return register.
8704
0d53e346
BS
8705 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
8706 logic for doubleword pops.
8707
cbffbd59
AT
87082011-10-25 Andreas Tobler <andreast@fgznet.ch>
8709
8710 * config/rs6000/t-freebsd: Add wildcard.
8711
56dc349e
PB
87122011-10-21 Paul Brook <paul@codesourcery.com>
8713
8714 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
8715
1e06b07d
UB
87162011-10-16 Uros Bizjak <ubizjak@gmail.com>
8717 Eric Botcazou <ebotcazou@adacore.com>
8718
8719 PR target/50737
8720 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
8721 fs->signal_frame to 1.
8722
b5204884
ILT
87232011-10-07 Ian Lance Taylor <iant@google.com>
8724
8725 * generic-morestack-thread.c: #include <errno.h>.
8726
91a639a1
ILT
87272011-10-07 Ian Lance Taylor <iant@google.com>
8728
8729 PR target/46093
8730 * generic-morestack.c (__generic_morestack): Make sure the segment
8731 is large enough for both the stack frame and the copied
8732 parameters.
8733
cc49116d
RO
87342011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8735
8736 PR bootstrap/49804
8737 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
8738 extra_parts.
8739
2996d8c3
NC
87402011-09-28 Nick Clifton <nickc@redhat.com>
8741
8742 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
8743 64-bit doubles are not enabled.
8744 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
8745 and floatunsisf functions.
8746
1e874273 87472011-09-13 Paul Brook <paul@codesourcery.com>
2996d8c3 8748
1e874273
PB
8749 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
8750 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
8751 * unwind-arm-common.inc: New file.
8752 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
8753 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
8754 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
8755 * config/c6x/libunwind.S: New file.
8756 * config/c6x/pr-support.c: New file.
8757 * config/c6x/unwind-c6x.c: New file.
8758 * config/c6x/unwind-c6x.h: New file.
8759 * config/c6x/t-c6x-elf: New file.
8760
f70c879a
UB
87612011-08-23 Uros Bizjak <ubizjak@gmail.com>
8762
8763 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
8764 (ASM_DIVZERO): Ditto.
8765 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
8766
c55b374b
RS
87672011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
8768
8769 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
8770
1e138510
RS
87712011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
8772
8773 PR target/50090
8774 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
8775 instead of an assembly one.
8776
1563503d
PB
87772011-08-12 Paolo Bonzini <bonzini@gnu.org>
8778
8779 PR bootstrap/50047
8780 * Makefile.in (install-unwind_h): Create
8781 $(gcc_objdir)/include/unwind.h atomically.
8782
3627ac1a
RO
87832011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8784
8785 * Makefile.in (install-unwind_h): Remove destination file first.
8786
c6412d86
RO
87872011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8788
8789 * sync.c: New file.
8790 * config/mips/t-mips16: New file.
8791 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
8792 (mips*-*-linux*): Likewise.
8793 (mips*-sde-elf*): Likewise.
8794 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
8795 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
8796 Add mips/t-mips16 to tmake_file.
8797 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
8798 (mips-*-elf*): Likewise.
8799 (mips64-*-elf*): Likewise.
8800 (mips64orion-*-elf*): Likewise.
8801 (mips*-*-rtems*): Likewise.
8802 (mipstx39-*-elf*): Likewise.
8803 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
8804 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
8805 LIBGCC_SYNC_CFLAGS.
8806 Use $(srcdir) to refer to sync.c.
8807 Use $<.
8808 ($(libgcc-sync-funcs-o)): Likewise.
8809 ($(libgcc-sync-size-funcs-s-o)): Likewise.
8810 ($(libgcc-sync-funcs-s-o)): Likewise.
8811
3cb6e5bd
AS
88122011-08-09 Andreas Schwab <schwab@linux-m68k.org>
8813
8814 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
8815 t-libunwind.
8816
cca2207a
L
88172011-08-08 H.J. Lu <hongjiu.lu@intel.com>
8818
8819 PR other/48007
8820 * config/i386/value-unwind.h: New.
8821
ed39fbad
RS
88222011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
8823
8824 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
8825 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
8826 Add to tmake_file rather than overriding it.
8827
aca0b0b3
RO
88282011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8829
8830 * config/t-softfp: Remove.
8831 * soft-fp: Moved from ../gcc/config.
8832 * soft-fp/README: Remove t-softfp reference.
8833 * soft-fp/t-softfp: Move to config/t-softfp.
8834 (softfp_machine_header): Remove.
8835 (softfp_file_list): Remove config subdir.
8836 (soft-fp-objects): New variable.
8837 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
8838 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
8839 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
8840 * config/t-softfp-excl: New file.
8841 * config/t-softfp-sfdf: New file.
8842 * config/t-softfp-tf: New file.
8843 * config/no-sfp-machine.h: New file.
8844 * config/arm/sfp-machine.h: New file.
8845 * config/arm/t-softfp: New file.
8846 * config/c6x/sfp-machine.h: New file.
8847 * config/i386/32/t-fprules-softfp: Rename to ...
8848 * config/i386/32/t-softfp: ... this.
8849 (tifunctions, LIB2ADD): Remove.
8850 (softfp_int_modes): Override.
8851 * config/i386/64/t-softfp-compat (tf-functions): Remove config
8852 subdir.
8853 * config/i386/64/eqtf2.c: Likewise.
8854 * config/i386/64/getf2.c: Likewise.
8855 * config/i386/64/letf2.c: Likewise.
8856 * config/ia64/sft-machine.h: New file.
8857 * config/ia64/t-fprules-softfp: Rename to ...
8858 * config/ia64/t-softfp: ... this.
8859 * config/lm32/sfp-machine.h: New file.
8860 * config/moxie/t-moxie-softfp: Remove.
8861 * config/rs6000/ibm-ldouble-format: New file.
8862 * config/rs6000/ibm-ldouble.c: New file.
8863 * config/rs6000/libgcc-ppc-glibc.ver: New file
8864 * config/rs6000/libgcc-ppc64.ver: New file
8865 * config/rs6000/sfp-machine.h: New file.
8866 * config/rs6000/t-freebsd: New file.
8867 * config/rs6000/t-ibm-ldouble: New file.
8868 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
8869 libgcc-ppc-glibc.ver.
8870 * config/rs6000/t-linux64: New file.
8871 * config/rs6000/t-ppccomm (LIB2ADD): Add
8872 $(srcdir)/config/rs6000/ibm-ldouble.c.
8873 * config/rs6000/t-ppccomm-ldbl: New file.
8874 * config/score/sfp-machine.h: New file.
8875 * config.host (sfp_machine_header): Explain.
8876 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
8877 t-softfp to tmake_file.
8878 (arm*-*-uclinux*): Likewise.
8879 (arm*-*-ecos-elf): Likewise.
8880 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
8881 (arm*-*-rtems*): Likewise.
8882 (arm*-*-elf): Likewise.
8883 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
8884 in tmake_file.
8885 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
8886 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
8887 (lm32-*-uclinux*): Likewise.
8888 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
8889 t-softfp-excl, t-softfp.
8890 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
8891 (powerpc64-*-darwin*): Likewise.
8892 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
8893 to tmake_file.
8894 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
8895 tmake_file.
8896 (powerpc-*-eabisim*): Likewise.
8897 (powerpc-*-elf*): Likewise.
8898 (powerpc-*-eabialtivec*): Likewise.
8899 (powerpc-xilinx-eabi*): Likewise.
8900 (powerpc-*-rtems*): Likewise.
8901 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
8902 t-softfp-excl, t-softfp to tmake_file.
8903 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
8904 rs6000/t-ppccomm-ldbl to tmake_file.
8905 (powerpcle-*-elf*): Likewise.
8906 (powerpcle-*-eabisim*): Likewise.
8907 (powerpcle-*-eabi*): Likewise.
8908 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
8909 rs6000/t-ibm-ldouble to tmake_file.
8910 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8911 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8912 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
8913 (tic6x-*-*): Likewise.
8914 (i[34567]86-*-darwin*, x86_64-*-darwin*,
8915 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
8916 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
8917 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
8918 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
8919 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
8920 t-softfp to tmake_file.
8921 * configure.ac (sfp_machine_header): Provide default if unset.
8922 Substitute.
8923 Link sfp-machine.h to config/$sfp_machine_header.
8924 * configure: Regenerate.
8925
569dc494
RO
89262011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8927
8928 * Makefile.in (double_type_size, long_double_type_size): Set.
8929 Remove $(fpbit-in-libgcc) support.
8930 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
8931 (fpbit-src): New variable.
8932 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
8933 Compile with -DFLOAT $(FPBIT_CFLAGS).
8934 Use $<.
8935 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
8936 Compile with $(FPBIT_CFLAGS).
8937 Use $<.
8938 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
8939 Compile with -DFLOAT $(TPBIT_CFLAGS).
8940 Use $<.
8941 * configure.ac (double_type_size, long_double_type_size):
8942 Determine and substitute.
8943 * configure: Regenerate.
8944 * fp-bit.c, fp-bit.h: New files.
8945 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
8946 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
8947 * config/mips/t-mips: New file.
8948 * config/mips/t-sdemtk: New file.
8949 * config/rs6000/ppc64-fp.c: New file.
8950 * config/rs6000/t-darwin (LIB2ADD): Add
8951 $(srcdir)/config/rs6000/ppc64-fp.c.
8952 * config/rs6000/t-ppc64-fp: New file.
8953 * config/rx/rx-lib.h: New file.
8954 * config/rx/t-rx (FPBIT): Set to true.
8955 ($(gcc_objdir)/fp-bit.c): Remove.
8956 (DPBIT): Set to true only with -m64bit-doubles.
8957 ($(gcc_objdir)/dp-bit.c): Remove.
8958 * config/sparc/t-softfp: Remove.
8959 * config/spu/t-elf: New file.
8960 * config/t-fdpbit, config/t-fpbit: New files.
8961 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
8962 (mips*-*-*): Likewise.
8963 (arm-wrs-vxworks): Likewise.
8964 (arm*-*-freebsd*): Likewise.
8965 (avr-*-rtems*): Add t-fpbit to tmake_file.
8966 (avr-*-*): Likewise.
8967 (bfin*-elf*): Add t-fdpbit to tmake_file.
8968 (bfin*-uclinux*): Likewise.
8969 (bfin*-linux-uclibc*): Likewise.
8970 (bfin*-rtems*): New case.
8971 Add t-fdpbit to tmake_file.
8972 (bfin*-*): Add t-fdpbit to tmake_file.
8973 (crisv32-*-elf): Likewise.
8974 (cris-*-linux*): Likewise.
8975 (fr30-*-elf): Likewise.
8976 (frv-*-elf, frv-*-*linux*): Likewise.
8977 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
8978 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
8979 (m32r-*-elf*): Likewise.
8980 (m32rle-*-elf*): Likewise.
8981 (m32r-*-linux*): Likewise.
8982 (m32rle-*-linux*): Likewise.
8983 (mcore-*-elf): Add t-fdpbit to tmake_file.
8984 (microblaze*-*-*): Likewise.
8985 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
8986 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
8987 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
8988 Fix typo.
8989 Add mips/t-tpbit to tmake-file.
8990 (mips*-*-linux*): Fix typo.
8991 (mips*-sde-elf*): New case
8992 Add mips/t-sdemtk unless using newlib.
8993 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
8994 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
8995 (mn10300-*-*): Likewise.
8996 (pdp11-*-*): Likewise.
8997 (picochip-*-*): Add t-fpbit to tmake_file.
8998 (powerpc-*-eabisimaltivec*): Likewise.
8999 (powerpc-*-eabisim*): Likewise.
9000 (powerpc-*-elf*): Likewise.
9001 (powerpc-*-eabialtivec*): Likewise.
9002 (powerpc-xilinx-eabi*): New case.
9003 Add t-fdpbit to tmake_file.
9004 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
9005 (powerpc-*-rtems*): Likewise.
9006 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
9007 tmake_file.
9008 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
9009 tmake_file.
9010 (powerpc-*-lynxos*): Likewise.
9011 (powerpcle-*-elf*): Likewise.
9012 (powerpcle-*-eabisim*): Likewise.
9013 (powerpcle-*-eabi*): Likewise.
9014 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
9015 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
9016 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
9017 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
9018 (rx-*-elf): Add t-fdpbit to tmake_file.
9019 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
9020 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
9021 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
9022 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
9023 sh*-*-netbsd*.
9024 (sh-*-rtems*): Add t-fdpbit to tmake_file.
9025 (sh-wrs-vxworks): Likewise.
9026 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
9027 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
9028 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
9029 (sparc64-*-rtems*): ... new case.
9030 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
9031 (spu-*-elf*): Likewise.
9032 Add spu/t-elf to tmake_file.
9033 (v850*-*-*): Add t-fdpbit to tmake_file.
9034 (xstormy16-*-elf): Likewise.
9035 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
9036 (mep*-*-*): Likewise.
9037
201cdb74
RO
90382011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9039
9040 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
9041 variables.
9042 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
9043 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
9044 (install-unwind_h): New target.
9045 (all): Depend on it.
9046 * config.host (unwind_header): New variable.
9047 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
9048 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
9049 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
9050 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
9051 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
9052 Set unwind_header.
9053 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
9054 Set unwind_header.
9055 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
9056 arm*-*-eabi*.
9057 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
9058 Set unwind_header.
9059 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
9060 (ia64*-*-freebsd*): Likewise.
9061 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
9062 tmake_file.
9063 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
9064 $with_system_libunwind.
9065 (ia64*-*-hpux*): Set tmake_file.
9066 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
9067 (picochip-*-*): Set tmake_file.
9068 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
9069 md_unwind_header.
9070 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
9071 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
9072 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
9073 (xtensa*-*-elf*): Set tmake_file.
9074 (xtensa*-*-linux*): Likewise.
9075 * configure.ac: Include ../config/unwind_ipinfo.m4.
9076 Call GCC_CHECK_UNWIND_GETIPINFO.
9077 Link unwind.h to $unwind_header.
9078 * configure: Regenerate.
9079 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
9080 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
9081 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
9082 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
9083 * config/unwind-dw2-fde-darwin.c: New file.
9084 * config/arm/libunwind.S, config/arm/pr-support.c,
9085 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
9086 config/arm/unwind-arm.h,: New files.
9087 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
9088 config/ia64/t-eh-ia64, config/ia64/t-glibc,
9089 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
9090 config/ia64/t-vms, config/ia64/unwind-ia64.c,
9091 config/ia64/unwind-ia64.h: New files.
9092 * config/picochip/t-picochip: New file.
9093 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
9094 files.
9095 * config/rs6000/t-darwin (LIB2ADDEH): Set.
9096 * config/s390/t-tpf (LIB2ADDEH): Remove.
9097 * config/t-darwin (LIB2ADDEH): Set.
9098 * config/t-eh-dw2-dip: New file.
9099 * config/t-libunwind, config/t-libunwind-elf: New files.
9100 * config/t-sol2 (LIB2ADDEH): Remove.
9101 * config/xtensa/t-xtensa: New file.
9102
40f2f11f
L
91032011-08-02 H.J. Lu <hongjiu.lu@intel.com>
9104
9105 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
9106 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
9107 long long to check rt_sigreturn syscall.
9108
bd15e32c
AM
91092011-08-02 Alan Modra <amodra@gmail.com>
9110
9111 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
9112 Restore for indirect call bcrtl from correct stack slot, and only
9113 if cfa+40 isn't valid.
9114
655b30bf
JB
91152011-08-01 Julian Brown <julian@codesourcery.com>
9116
9117 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
9118 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
9119 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
9120
247eb06f
JB
91212011-08-01 Julian Brown <julian@codesourcery.com>
9122
9123 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
9124 (libgcc-std.ver.in): Use above.
9125 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
9126 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
9127 throughout file.
9128 * config/t-fixedpoint-gnu-prefix: New file.
9129 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
9130 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
9131 instead of __PFX__.
9132
02a8fe00
L
91332011-07-28 H.J. Lu <hongjiu.lu@intel.com>
9134
9135 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
9136 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
9137 for x86-64. Properly check __x86_64__ and __LP64__.
9138
5fce9126
L
91392010-07-28 H.J. Lu <hongjiu.lu@intel.com>
9140
9141 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
9142 version.
9143 (_FP_WS_TYPE): Likewise.
9144 (_FP_I_TYPE): Likewise.
9145
2374a88a
AM
91462011-07-28 Alan Modra <amodra@gmail.com>
9147
9148 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
9149 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
9150 in a plt call stub. Do restore r2 if stopped on bctrl.
9151
e44dbbe1
RO
91522011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9153
9154 * config.host (i[3456x]86-*-netware*): Remove.
9155 * config/i386/netware-crt0.c, config/i386/t-nwld,
9156 config/i386/t-slibgcc-nwld: Remove.
9157
bcead286
BS
91582011-07-15 Bernd Schmidt <bernds@codesourcery.com>
9159
9160 * config.host: Handle tic6x-*-*.
9161 * config/c6x/c6x-abi.h: New file.
9162
b3fe1584
RO
91632011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9164
9165 * config/i386/crtprec.c: New file.
9166 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
9167 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
9168 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
9169 (x86_64-*-darwin*): Likewise.
9170 (i[34567]86-*-solaris2*: Likewise.
9171
35d8090d
RO
91722011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9173
9174 * config/alpha/crtfastmath.c: New file.
9175 * config/i386/crtfastmath.c: New file.
9176 * config/ia64/crtfastmath.c: New file.
9177 * config/mips/crtfastmath.c: New file.
9178 * config/sparc/crtfastmath.c: New file.
9179
9180 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
9181 crtfastmath.c.
9182 Add -frandom-seed=gcc-crtfastmath.
9183 * config/alpha/t-crtfm: Remove.
9184 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
9185 * config/ia64/t-ia64 (crtfastmath.o): Remove.
9186
9187 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
9188 (alpha*-dec-osf5.1*): Likewise.
9189 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
9190 Add crtfastmath.o to extra_parts.
9191 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
9192 Add crtfastmath.o to extra_parts.
9193 (x86_64-*-darwin*): Likewise.
9194 (x86_64-*-mingw*): Likewise.
9195 (ia64*-*-elf*): Add t-crtfm to tmake_file.
9196 (ia64*-*-freebsd*): Likewise.
9197 (ia64*-*-linux*): Likewise.
9198 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
9199 Add crtfastmath.o to extra_parts.
9200
e141542e
RO
92012011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9202
9203 * config/darwin-crt3.o: New file.
9204 * config/rs6000/darwin-crt2.c: New file.
9205 * config/t-darwin: New file.
9206 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
9207 (crt2.o): New rule.
9208 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
9209 (powerpc-*-darwin*): Add crt2.o to extra_parts.
9210 (powerpc64-*-darwin*): Likewise.
9211
2d1efe2d
RO
92122011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9213
9214 * config/i386/netware-crt0.c: New file.
9215 * config/i386/t-nwld: Rename to ...
9216 * config/i386/t-slibgcc-nwld: ... this.
9217 * config/i386/t-nwld: New file.
9218 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
9219 tmake_file.
9220 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
9221 extra_parts.
9222
4a8bb046
RO
92232011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9224
9225 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
9226 i386/t-crtstuff.
9227 * configure: Regenerate.
9228
2d8d5935
RO
92292011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9230
9231 * dfp-bit.c, dfp-bit.h: New files.
9232 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
9233 variables.
9234 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
9235 ($(d64pbit-o)): Likewise.
9236 ($(d128pbit-o)): Likewise.
9237 * config/t-dfprules: New file.
9238 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
9239 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
9240 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
9241 (x86_64-*-linux*): Likewise.
9242 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
9243 (i[34567]86-*-cygwin*): Likewise.
9244 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
9245 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
9246
2c50b2c3
RO
92472011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9248
9249 * Makfile.in (LIBGCOV): New variable.
9250 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
9251 * libgcov.c: New file.
9252
a039d7c2
RO
92532011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9254
9255 * fixed-bit.c, fixed-bit.h: New files.
9256 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
9257 refer to fixed-bit.c.
9258
1e4b2746
JM
92592011-07-07 Joseph Myers <joseph@codesourcery.com>
9260
9261 * config.host (*local*): Remove.
9262
fbdd5d87
RO
92632011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9264
9265 PR target/39150
9266 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
9267 like i?86-*-solaris2.1[0-9]*.
9268 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
9269 * configure.ac (i?86-*-solaris2*): Likewise.
9270 * configure: Regenerate.
9271
9e7714f4
TS
92722011-07-06 Thomas Schwinge <thomas@schwinge.name>
9273
9274 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
9275 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
9276 md_unwind_header by splitting out of...
9277 (i[34567]86-*-linux*): ... this.
9278 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
9279 Remove md_unwind_header by splitting out of...
9280 (x86_64-*-linux*): ... this.
9281
6dab9931
GJL
92822011-07-04 Georg-Johann Lay <avr@gjlay.de>
9283
9284 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
9285
4be46d19
NC
92862011-06-28 Nick Clifton <nickc@redhat.com>
9287
9288 * config.host: Recognize all V850 variants.
9289
1da9434b
UB
92902011-06-22 Uros Bizjak <ubizjak@gmail.com>
9291
9292 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
9293
e4d48a4d
RO
92942011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9295
9296 * shared-object.mk (c_flags-$o): Save c_flags.
9297 ($(base)$(objext)): Use it.
9298 ($(base)_s$(objext)): Likewise.
9299
3801c801
BS
93002011-06-21 Bernd Schmidt <bernds@codesourcery.com>
9301
9302 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
9303 * libgcc-std.ver.in (GCC_4.7.0): New section.
9304
0ad8bb3b 93052011-06-16 Georg-Johann Lay <avr@gjlay.de>
1da9434b 9306
0ad8bb3b
GJL
9307 PR target/49313
9308 PR target/29524
9309 * config/avr/t-avr: Fix line endings.
9310 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
9311 _parityXX2.
9312
ea963999
OH
93132011-06-14 Olivier Hainque <hainque@adacore.com>
9314 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9315
9316 * config/mips/irix6-unwind.h: New file.
9317 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
9318
b11b0904
EB
93192011-06-10 Eric Botcazou <ebotcazou@adacore.com>
9320
9321 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
9322 (sparc64_fallback_frame_state): Use it.
9323 (sparc64_frob_update_context): Further adjust context.
9324 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
9325 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
9326 * config/sparc/sol2-cn.S: Likewise.
9327
10e48e39
RO
93282011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9329
9330 * enable-execute-stack-empty.c: New file.
9331 * enable-execute-stack-mprotect.c: New file.
9332 * config/i386/enable-execute-stack-mingw32.c: New file.
9333 * config.host (enable_execute_stack): New variable.
9334 Select appropriate variants.
9335 * configure.ac: Link enable-execute-stack.c to
9336 $enable_execute_stack.
9337 * configure: Regenerate.
9338 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
9339 (lib2funcs): Remove _enable_execute_stack.
9340
10c4cabc
DM
93412011-06-09 David S. Miller <davem@davemloft.net>
9342 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9343
9344 * config.host (sparc-*-linux*): Correct md_unwind_header
9345 filename.
9346 (s390x-ibm-tpf*): Fix typo.
9347
aa4203e7
RO
93482011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9349
9350 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
9351 Add crtfastmath.o to extra_parts.
9352 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
9353 mips/t-crtfm.
9354 * config/mips/t-crtfm: Remove.
9355
0defd786
JDA
93562011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
9357
9358 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
9359
82f247af
KK
93602011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
9361
9362 * config.host (sh*-*-linux*): Fix typo.
9363
58cd1d70
RO
93642011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9365
9366 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
9367 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
9368 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
9369 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
9370 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
9371 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
9372 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
9373 Wrap in !__MINGW64__.
9374 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
9375 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
9376 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
9377 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
9378 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
9379 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
9380 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
9381 Wrap in !__LP64__.
9382 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
9383 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
9384 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
9385 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
9386 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
9387 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
9388 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
9389 * config/no-unwind.h: New file.
9390 * config.host (md_unwind_header): Document.
9391 Define.
9392 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
9393 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
9394 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
9395 hppa[12]*-*-hpux11*): Set md_unwind_header.
9396 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
9397 Set md_unwind_header.
9398 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
9399 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
9400 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
9401 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
9402 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
9403 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
9404 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
9405 md_unwind_header.
9406 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
9407 * configure: Regenerate.
9408
737346fa
RO
94092011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9410
9411 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
9412 Set tmake_file, extra_parts.
9413 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
9414 Remove O32 support.
9415 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
9416 Remove O32 support.
9417 * config/mips/t-irix6: New file.
9418 * config/mips/t-slibgcc-irix: New file.
9419
c192cee6
RO
94202011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9421
9422 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
9423 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
9424
ee33b5f0
RO
94252011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9426
9427 * configure.ac (target_thread_file): Determine thread model.
9428 * configure: Regenerate.
9429 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
9430 * config/alpha/t-alpha: New file.
9431 * config/alpha/t-crtfm: Use $<.
9432 * config/alpha/t-ieee: New file.
9433 * config/alpha/t-osf-pthread: New file.
9434 * config/alpha/t-slibgcc-osf: New file.
9435 * config/alpha/libgcc-osf5.ver: New file.
9436
0699e415
RO
94372011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9438
9439 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
9440 tmake_file.
9441 Add crtfastmath.o to extra_parts.
9442
a3fab9c2
RO
94432011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9444
9445 * config/gmon-sol2.c: Reindent.
9446 Cleanup comments.
9447 Remove, correct casts.
9448 Use STDERR_FILENO, NULL.
9449 (BASEADDRESS): Remove.
9450 (minbrk): Remove.
9451 (errno, sbrk): Remove declarations.
9452 (monstartup) [hp300]: Remove.
9453 (mcount): Remove.
9454
ca24c5ad
RO
94552011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9456
9457 * Makefile.in (cpu_type): Define.
9458 * config.host (i[34567]86-*-rtems*): Handle it.
9459 (i[34567]86-*-solaris2*): Move body ...
9460 (*-*-solaris2*): ... here.
9461 New case, generalize.
9462 (sparc-*-elf*): Handle it.
9463 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
9464 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
9465 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
9466 Fold into ...
9467 (sparc*-*-solaris2*): ... this.
9468 New case.
9469 (sparc64-*-elf*): Handle it.
9470 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
9471 Merge ../gcc/config/i386/gmon-sol2.c.
9472 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
9473 Use C comments.
9474 Merge ../gcc/config/i386/sol2-gc1.asm.
9475 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
9476 Use C comments.
9477 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
9478 Use C comments.
9479 * config/i386/t-crtfm (crtfastmath.o): Use $<.
9480 * config/i386/t-crtstuff: New file.
9481 * config/i386/t-softfp: New file.
9482 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
9483 $(T)crti.o, $(T)crtn.o): Remove.
9484 (gcrt1.o): New rule.
9485 (TARGET_LIBGCC2_CFLAGS): Remove.
9486 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
9487 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
9488 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
9489 * config/sparc/t-sol2: New file.
9490 * config/sparc/t-crtfm: Move to ...
9491 * config/t-crtfm: ... this.
9492 Use $(cpu_type), $<.
9493 * config/t-crtin: New file.
9494 * config/sparc/t-softfp: New file.
9495 * config/sparc/t-softmul: New file.
9496 * config/t-rtems: New file.
9497 * config/t-slibgcc: New file.
9498 * config/t-slibgcc-elf-ver: New file.
9499 * config/t-slibgcc-gld: New file.
9500 * config/t-slibgcc-sld: New file.
9501 * config/t-sol2: New file.
9502 * configure.ac: Include ../config/lib-ld.m4.
9503 Call AC_LIB_PROG_LD_GNU.
9504 Substitute cpu_type.
9505 * configure: Regenerate.
9506
ad5f3d7b
BS
95072011-05-27 Bernd Schmidt <bernds@codesourcery.com>
9508
9509 PR bootstrap/49173
9510 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
9511 libgcc-std.ver in the build directory.
9512 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
9513 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
9514
cdbf4541
BS
95152011-05-25 Bernd Schmidt <bernds@codesourcery.com>
9516
9517 * libgcc-std.ver.in: New file.
9518 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
9519 variables.
9520 (libgcc-std.ver): New rule.
9521 * config/t-gnu-prefix: New file.
9522
c8028650
RO
95232011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9524
9525 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
9526
4a68b4ca
JM
95272011-05-10 Joseph Myers <joseph@codesourcery.com>
9528
9529 * config/i386/darwin-lib.h: New file.
9530
80cf2e08
JM
95312011-05-10 Joseph Myers <joseph@codesourcery.com>
9532
9533 * config/arm/symbian-lib.h: New.
9534
a3330c9d
CD
95352011-05-04 Chris Demetriou <cgd@google.com>
9536
9537 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
9538 (__x86.get_pc_thunk.bx): ...this.
9539 (__morestack): Adjust for rename, remove undef of __i686.
9540
6ace0756
CD
95412011-05-03 Chris Demetriou <cgd@google.com>
9542
9543 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
9544
ebb9f8b0
JM
95452011-03-22 Joseph Myers <joseph@codesourcery.com>
9546
9547 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
9548 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
9549 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
9550 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
9551 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
9552 Remove cases.
9553
9cfa1499
AT
95542011-03-14 Andreas Tobler <andreast@fgznet.ch>
9555
9556 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
9557 Adjust copyright year.
9558
457186f6
ILT
95592011-03-07 Ian Lance Taylor <iant@google.com>
9560
9561 * generic-morestack.c (__splitstack_find): Adjust returned stack
9562 pointer to include all registers pushed by __morestack.
9563
58c741a6
DK
95642011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
9565
9566 PR target/40125
9567 * configure.ac: Call ACX_NONCANONICAL_TARGET.
9568 (toolexecdir): Calculate and AC_SUBST.
9569 (toolexeclibdir): Likewise.
9570 * Makefile.in (target_noncanonical): Import.
9571 (toolexecdir): Likewise.
9572 (toolexeclibdir): Likewise.
9573 * configure: Regenerate.
9574
26716c44
NF
95752010-12-13 Nathan Froyd <froydnj@codesourcery.com>
9576
9577 PR target/46040
9578 * config/arm/bpabi.h: Rename to...
9579 * config/arm/bpabi-lib.h: ...this.
9580
b595b1a1
RO
95812010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9582
9583 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
9584 appropriate.
9585 * configure: Regenerate.
9586
a3abe41c
NF
95872010-11-24 Nathan Froyd <froydnj@codesourcery.com>
9588
9589 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
9590 __FLOAT_WORD_ORDER__.
9591 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
9592 Delete.
9593
455c8f48
RW
95942010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9595
9596 PR other/46202
9597 * Makefile.in (install-strip): New phony target.
9598
f3824a8b
ILT
95992010-11-07 Ian Lance Taylor <iant@google.com>
9600
9601 PR target/46089
9602 * config/i386/morestack.S (__morestack_large_model): New
9603 function.
9604
18ed6ee4
NF
96052010-10-23 Nathan Froyd <froydnj@codesourcery.com>
9606
9607 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
9608 Delete.
9609 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
9610
8ac7fdcb
NF
96112010-10-14 Nathan Froyd <froydnj@codesourcery.com>
9612
9613 * config/arm/bpabi.h: New file.
9614 * config/frv/frv-abi.h: New file.
9615
cdb388c2
ILT
96162010-10-01 Ian Lance Taylor <iant@google.com>
9617
9618 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
9619 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
9620
ef7c141c
L
96212010-10-01 H.J. Lu <hongjiu.lu@intel.com>
9622
9623 PR target/45858
9624 * config.host: Add the missing `$'.
9625
80920132
ME
96262010-09-30 Michael Eager <eager@eagercon.com>
9627
9628 * config.host: Add microblaze*-*-*.
9629 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
9630 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
9631 udivsi3.asm,umodsi3.asm}: New.
9632
6dace308
ILT
96332010-09-28 Ian Lance Taylor <iant@google.com>
9634
9635 * configure.ac: Adjust CFI test to test assembler directly rather
9636 than checking gcc preprocessor macro.
9637 * configure: Rebuild.
9638
b6110d6d
ILT
96392010-09-27 Ian Lance Taylor <iant@google.com>
9640
9641 * configure.ac: Test whether assembler supports CFI directives.
9642 * config.host: Only add t-stack and i386/t-stack-i386 to
9643 tmake_file if libgcc_cv_cfi is "yes".
9644 * configure: Rebuild.
9645
7458026b
ILT
96462010-09-27 Ian Lance Taylor <iant@google.com>
9647
9648 * generic-morestack.h: New file.
9649 * generic-morestack.c: New file.
9650 * generic-morestack-thread.c: New file.
9651 * config/i386/morestack.S: New file.
9652 * config/t-stack: New file.
9653 * config/i386/t-stack-i386: New file.
9654 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
9655 i386/t-stack-i386 to tmake_file.
9656
5b50fc0c
IS
96572010-09-21 Iain Sandoe <iains@gcc.gnu.org>
9658
9659 * Makefile.in (libgcc-extra-parts): Check for static archives and
9660 invoke ranlib after installing them.
9661 (gcc-extra-parts): Likewise.
9662 (install-leaf): Likewise.
9663
b93cf342
L
96642010-09-14 H.J. Lu <hongjiu.lu@intel.com>
9665
9666 * configure: Regenerated.
9667
996b42ef
KT
96682010-09-10 Kai Tietz <kai.tietz@onevision.com>
9669
b93cf342 9670 * configure: Regenerated.
996b42ef 9671
be1c764e
GP
96722010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
9673 Andrew Pinski <pinskia@gmail.com>
9674
1da9434b 9675 PR target/40959
be1c764e
GP
9676 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
9677
cc0ae0ca
L
96782010-09-06 H.J. Lu <hongjiu.lu@intel.com>
9679
9680 PR target/45524
9681 * configure: Regenerated.
9682
84f47d20
AS
96832010-09-06 Andreas Schwab <schwab@redhat.com>
9684
9685 * configure: Regenerate.
9686
4159fb8d
UB
96872010-09-03 Uros Bizjak <ubizjak@gmail.com>
9688
9689 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
9690 64bit targets.
9691 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
9692 for 64bit targets.
9693
0df8fcc8
UB
96942010-09-03 Uros Bizjak <ubizjak@gmail.com>
9695 Iain Sandoe <iains@gcc.gnu.org>
9696
9697 PR target/45476
9698 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
9699 LIB2FUNCS_EXCLUDE functions.
9700
3c39bca6
AK
97012010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9702
9703 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
9704 Include dfp.m4.
9705 * configure: Regenerate.
9706
d78552bd
UB
97072010-09-01 Uros Bizjak <ubizjak@gmail.com>
9708
9709 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
9710 i386/t-freebsd to tmake_file.
9711 * config/i386/t-freebsd: New file.
9712 * config/i386/libgcc-bsd.ver: New file.
9713
c5b79d4e
NF
97142010-07-23 Nathan Froyd <froydnj@codesourcery.com>
9715
9716 * config.host (powerpc*-eabispe*): Set tmake_file.
9717 (powerpc*-eabi*): Likewise.
9718 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
9719 crtbeginS, crtendS, crtbeginT.
9720
48b09a92
KH
97212010-06-12 Kazu Hirata <kazu@codesourcery.com>
9722
9723 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
9724 to tmake_file. Add crtfastmath.o to extra_parts.
9725 * config/mips/t-crtfm: New.
9726
7d296953 97272010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
a4389204
JS
9728
9729 * config.host (sparc64-*-rtems*): New target.
9730
ed104137
RO
97312010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9732
9733 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
9734 assembler syntax.
9735
3f56ef8b
TS
97362010-04-15 Thomas Schwinge <tschwinge@gnu.org>
9737
9738 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
9739
8c200350
RO
97402010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9741
9742 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
9743 alpha-dec-osf5.0* support.
9744
7d296953 97452010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
c1b14424
RC
9746
9747 * config.host: Add lm32-*-rtems*.
9748
f128db92 97492010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7d296953 9750 Uros Bizjak <ubizjak@gmail.com>
f128db92
RO
9751
9752 PR target/39048
9753 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
9754 like other remaining 32-bit x86 OSes.
9755 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
9756 assembler syntax.
9757 * config/i386/libgcc-sol2.ver: New file.
9758 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
9759
7d296953 97602010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
368fabd5
JH
9761
9762 PR c/43553
9763 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
9764 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
9765 is used and substitute set_use_emutls.
9766 * configure: Regenerated.
9767
15baf7f8
TG
97682010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
9769
9770 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
9771
7f5441df
RO
97722010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9773
9774 PR target/38085
9775 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
9776 MULTILIB_CFLAGS.
9777 ($(T)gcrt1.o): Likewise.
9778 ($(T)crt1.o): Likewise.
9779 ($(T)crti.o): Likewise.
9780 ($(T)crtn.o): Likewise.
9781
ef74edbd
RW
97822010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9783
9784 PR other/42980
9785 * Makefile.in (install): Use $(MAKE) string in rule, for
9786 parallel make.
9787
e7c914db
HPN
97882010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
9789
9790 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
9791 * config/mmix/t-mmix: New file.
9792 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
9793
1bcb71c4
JH
97942010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
9795
9796 PR java/41991
9797 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
9798 SHLIB_MAPFILES.
9799
e6e50811
AG
98002010-01-04 Anthony Green <green@moxielogic.com>
9801
9802 * config/moxie/crti.asm, config/moxie/crtn.asm,
9803 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
9804 config/moxie/t-moxie: New files.
9805 * config.host: Add t-moxie-softfp reference.
9806
7d296953 98072009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
ca8520ad
IS
9808
9809 PR other/39888
9810 * config/t-slibgcc-darwin: Fix embedded rpaths for
9811 --enable-version-specific-runtime-libs, build extension stub
9812 libs exposing features available from current libgcc_s.
9813
7d296953 98142009-11-11 Jon Beniston <jon@beniston.com>
aa4945c1 9815
d78552bd
UB
9816 * config.host: Add lm32 targets.
9817 * config/lm32: New directory.
9818 * config/lm32/libgcc_lm32.h: New file.
9819 * config/lm32/_mulsi3.c: New file.
9820 * config/lm32/_udivmodsi4.c: New file.
9821 * config/lm32/_divsi3.c: New file.
9822 * config/lm32/_modsi3.c: New file.
9823 * config/lm32/_udivsi3.c: New file.
9824 * config/lm32/_umodsi3.c: New file.
9825 * config/lm32/_lshrsi3.S: New file.
9826 * config/lm32/_ashrsi3.S: New file.
9827 * config/lm32/_ashlsi3.S: New file.
9828 * config/lm32/crti.S: New file.
9829 * config/lm32/crtn.S: New file.
9830 * config/lm32/t-lm32: New file.
9831 * config/lm32/t-elf: New file.
9832 * config/lm32/t-uclinux: New file.
aa4945c1 9833
65a324b4
NC
98342009-10-26 Nick Clifton <nickc@redhat.com>
9835
9836 * config.host: Add support for RX target.
9837 * config/rx: New directory.
9838 * config/rx/rx-abi-functions.c: New file. Supplementary
9839 functions for libgcc to support the RX ABI.
9840 * config/rx/rx-abi.h: New file. Supplementary header file for
9841 libgcc RX ABI functions.
9842 * config/rx/t-rx: New file: Makefile fragment for building
9843 libgcc for the RX.
9844
dfb3b0e3
UB
98452009-10-09 Uros Bizjak <ubizjak@gmail.com>
9846
9847 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
9848 constraint of y0 to "g".
9849
81dd9fd7
AK
98502009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9851
9852 * config.host: Include the s390 makefile fragments.
9853 * config/s390/32/_fixdfdi.c: New file.
9854 * config/s390/32/_fixsfdi.c: New file.
9855 * config/s390/32/_fixtfdi.c: New file.
9856 * config/s390/32/_fixunsdfdi.c: New file.
9857 * config/s390/32/_fixunssfdi.c: New file.
9858 * config/s390/32/_fixunstfdi.c: New file.
9859 * config/s390/32/t-floattodi: New file.
9860 * config/s390/libgcc-glibc.ver: New file.
9861 * config/s390/t-crtstuff: New file.
9862 * config/s390/t-linux: New file.
9863 * config/s390/t-tpf: New file.
9864
df58e648
RW
98652009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9866
9867 * configure.ac (AC_PREREQ): Bump to 2.64.
9868
79052be3
KK
98692009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
9870
9871 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
9872
5213506e
RW
98732009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9874
9875 * configure: Regenerate.
9876
a9a25daa
DR
98772009-08-09 Douglas B Rupp <rupp@gnat.com>
9878
9879 * config.host (ia64-hp-*vms*): New target.
9880 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
9881 with ia64-hp-*vms*.
9882
6efbd53f
RW
98832009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9884
9885 * configure.ac: Add snippet for maintainer-mode.
9886 * configure: Regenerate.
9887 * Makefile.in (AUTOCONF, configure_deps): New variables.
9888 ($(srcdir)/configure)): New rule, active only with maintainer
9889 mode turned on.
9890
7acf4da6
DD
98912009-06-23 DJ Delorie <dj@redhat.com>
9892
9893 Add MeP port.
9894 * config.host: Add mep support.
9895
54f549af
KT
98962009-06-22 Kai Tietz <kai.tietz@onevision.com>
9897
34481f28 9898 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 9899 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
34481f28
UB
9900
9901 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
9902 for mingw targets.
54f549af
KT
9903 * config/i386/64/_multc3.c: Likewise.
9904 * config/i386/64/_powitf2.c: Likewise.
9905 * config/i386/64/eqtf2.c: Likewise.
9906 * config/i386/64/getf2.c: Likewise.
9907 * config/i386/64/letf2.c: Likewise.
9908 * config/i386/64/letf2.c: Likewise.
34481f28
UB
9909 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
9910 unsigned long long for x64 mingw targets.
9911 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
9912 (_FP_I_TYPE): Define as long long for x64 mingw target.
54f549af 9913
fea96e25
MR
99142009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
9915
9916 * config.host (vax-*-linux*): New.
9917
cceb575c
AG
99182009-05-31 Anthony Green <green@moxielogic.com>
9919
9920 * config.host: Add moxie support.
9921 * config/moxie/t-moxie: New file.
9922
7d296953 99232009-05-29 David Billinghurst <billingd@gcc.gnu.org>
e997fb9c
DB
9924
9925 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 9926 t-softfp to tmake_file for i[34567]86-*-cygwin*.
e997fb9c 9927
532bfb0a
AJ
99282009-04-17 Aurelien Jarno <aurelien@aurel32.net>
9929
9930 * config.host: Add i386/${host_address}/t-fprules-softfp to
9931 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
9932
748086b7
JJ
99332009-04-09 Nick Clifton <nickc@redhat.com>
9934
9935 * config/ia64/tf-signs.c: Change copyright header to refer to
9936 version 3 of the GNU General Public License with version 3.1
9937 of the GCC Runtime Library Exception and to point readers at
9938 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
9939 web page.
9940 * config/i386/32/tf-signs.c: Likewise.
9941 * config/libbid/_addsub_dd.c: Likewise.
9942 * config/libbid/_addsub_sd.c: Likewise.
9943 * config/libbid/_addsub_td.c: Likewise.
9944 * config/libbid/_dd_to_df.c: Likewise.
9945 * config/libbid/_dd_to_di.c: Likewise.
9946 * config/libbid/_dd_to_sd.c: Likewise.
9947 * config/libbid/_dd_to_sf.c: Likewise.
9948 * config/libbid/_dd_to_si.c: Likewise.
9949 * config/libbid/_dd_to_td.c: Likewise.
9950 * config/libbid/_dd_to_tf.c: Likewise.
9951 * config/libbid/_dd_to_udi.c: Likewise.
9952 * config/libbid/_dd_to_usi.c: Likewise.
9953 * config/libbid/_dd_to_xf.c: Likewise.
9954 * config/libbid/_df_to_dd.c: Likewise.
9955 * config/libbid/_df_to_sd.c: Likewise.
9956 * config/libbid/_df_to_td.c: Likewise.
9957 * config/libbid/_di_to_dd.c: Likewise.
9958 * config/libbid/_di_to_sd.c: Likewise.
9959 * config/libbid/_di_to_td.c: Likewise.
9960 * config/libbid/_div_dd.c: Likewise.
9961 * config/libbid/_div_sd.c: Likewise.
9962 * config/libbid/_div_td.c: Likewise.
9963 * config/libbid/_eq_dd.c: Likewise.
9964 * config/libbid/_eq_sd.c: Likewise.
9965 * config/libbid/_eq_td.c: Likewise.
9966 * config/libbid/_ge_dd.c: Likewise.
9967 * config/libbid/_ge_sd.c: Likewise.
9968 * config/libbid/_ge_td.c: Likewise.
9969 * config/libbid/_gt_dd.c: Likewise.
9970 * config/libbid/_gt_sd.c: Likewise.
9971 * config/libbid/_gt_td.c: Likewise.
9972 * config/libbid/_isinfd128.c: Likewise.
9973 * config/libbid/_isinfd32.c: Likewise.
9974 * config/libbid/_isinfd64.c: Likewise.
9975 * config/libbid/_le_dd.c: Likewise.
9976 * config/libbid/_le_sd.c: Likewise.
9977 * config/libbid/_le_td.c: Likewise.
9978 * config/libbid/_lt_dd.c: Likewise.
9979 * config/libbid/_lt_sd.c: Likewise.
9980 * config/libbid/_lt_td.c: Likewise.
9981 * config/libbid/_mul_dd.c: Likewise.
9982 * config/libbid/_mul_sd.c: Likewise.
9983 * config/libbid/_mul_td.c: Likewise.
9984 * config/libbid/_ne_dd.c: Likewise.
9985 * config/libbid/_ne_sd.c: Likewise.
9986 * config/libbid/_ne_td.c: Likewise.
9987 * config/libbid/_sd_to_dd.c: Likewise.
9988 * config/libbid/_sd_to_df.c: Likewise.
9989 * config/libbid/_sd_to_di.c: Likewise.
9990 * config/libbid/_sd_to_sf.c: Likewise.
9991 * config/libbid/_sd_to_si.c: Likewise.
9992 * config/libbid/_sd_to_td.c: Likewise.
9993 * config/libbid/_sd_to_tf.c: Likewise.
9994 * config/libbid/_sd_to_udi.c: Likewise.
9995 * config/libbid/_sd_to_usi.c: Likewise.
9996 * config/libbid/_sd_to_xf.c: Likewise.
9997 * config/libbid/_sf_to_dd.c: Likewise.
9998 * config/libbid/_sf_to_sd.c: Likewise.
9999 * config/libbid/_sf_to_td.c: Likewise.
10000 * config/libbid/_si_to_dd.c: Likewise.
10001 * config/libbid/_si_to_sd.c: Likewise.
10002 * config/libbid/_si_to_td.c: Likewise.
10003 * config/libbid/_td_to_dd.c: Likewise.
10004 * config/libbid/_td_to_df.c: Likewise.
10005 * config/libbid/_td_to_di.c: Likewise.
10006 * config/libbid/_td_to_sd.c: Likewise.
10007 * config/libbid/_td_to_sf.c: Likewise.
10008 * config/libbid/_td_to_si.c: Likewise.
10009 * config/libbid/_td_to_tf.c: Likewise.
10010 * config/libbid/_td_to_udi.c: Likewise.
10011 * config/libbid/_td_to_usi.c: Likewise.
10012 * config/libbid/_td_to_xf.c: Likewise.
10013 * config/libbid/_tf_to_dd.c: Likewise.
10014 * config/libbid/_tf_to_sd.c: Likewise.
10015 * config/libbid/_tf_to_td.c: Likewise.
10016 * config/libbid/_udi_to_dd.c: Likewise.
10017 * config/libbid/_udi_to_sd.c: Likewise.
10018 * config/libbid/_udi_to_td.c: Likewise.
10019 * config/libbid/_unord_dd.c: Likewise.
10020 * config/libbid/_unord_sd.c: Likewise.
10021 * config/libbid/_unord_td.c: Likewise.
10022 * config/libbid/_usi_to_dd.c: Likewise.
10023 * config/libbid/_usi_to_sd.c: Likewise.
10024 * config/libbid/_usi_to_td.c: Likewise.
10025 * config/libbid/_xf_to_dd.c: Likewise.
10026 * config/libbid/_xf_to_sd.c: Likewise.
10027 * config/libbid/_xf_to_td.c: Likewise.
10028 * config/libbid/bid128.c: Likewise.
10029 * config/libbid/bid128_2_str.h: Likewise.
10030 * config/libbid/bid128_2_str_macros.h: Likewise.
10031 * config/libbid/bid128_2_str_tables.c: Likewise.
10032 * config/libbid/bid128_add.c: Likewise.
10033 * config/libbid/bid128_compare.c: Likewise.
10034 * config/libbid/bid128_div.c: Likewise.
10035 * config/libbid/bid128_fma.c: Likewise.
10036 * config/libbid/bid128_logb.c: Likewise.
10037 * config/libbid/bid128_minmax.c: Likewise.
10038 * config/libbid/bid128_mul.c: Likewise.
10039 * config/libbid/bid128_next.c: Likewise.
10040 * config/libbid/bid128_noncomp.c: Likewise.
10041 * config/libbid/bid128_quantize.c: Likewise.
10042 * config/libbid/bid128_rem.c: Likewise.
10043 * config/libbid/bid128_round_integral.c: Likewise.
10044 * config/libbid/bid128_scalb.c: Likewise.
10045 * config/libbid/bid128_sqrt.c: Likewise.
10046 * config/libbid/bid128_string.c: Likewise.
10047 * config/libbid/bid128_to_int16.c: Likewise.
10048 * config/libbid/bid128_to_int32.c: Likewise.
10049 * config/libbid/bid128_to_int64.c: Likewise.
10050 * config/libbid/bid128_to_int8.c: Likewise.
10051 * config/libbid/bid128_to_uint16.c: Likewise.
10052 * config/libbid/bid128_to_uint32.c: Likewise.
10053 * config/libbid/bid128_to_uint64.c: Likewise.
10054 * config/libbid/bid128_to_uint8.c: Likewise.
10055 * config/libbid/bid32_to_bid128.c: Likewise.
10056 * config/libbid/bid32_to_bid64.c: Likewise.
10057 * config/libbid/bid64_add.c: Likewise.
10058 * config/libbid/bid64_compare.c: Likewise.
10059 * config/libbid/bid64_div.c: Likewise.
10060 * config/libbid/bid64_fma.c: Likewise.
10061 * config/libbid/bid64_logb.c: Likewise.
10062 * config/libbid/bid64_minmax.c: Likewise.
10063 * config/libbid/bid64_mul.c: Likewise.
10064 * config/libbid/bid64_next.c: Likewise.
10065 * config/libbid/bid64_noncomp.c: Likewise.
10066 * config/libbid/bid64_quantize.c: Likewise.
10067 * config/libbid/bid64_rem.c: Likewise.
10068 * config/libbid/bid64_round_integral.c: Likewise.
10069 * config/libbid/bid64_scalb.c: Likewise.
10070 * config/libbid/bid64_sqrt.c: Likewise.
10071 * config/libbid/bid64_string.c: Likewise.
10072 * config/libbid/bid64_to_bid128.c: Likewise.
10073 * config/libbid/bid64_to_int16.c: Likewise.
10074 * config/libbid/bid64_to_int32.c: Likewise.
10075 * config/libbid/bid64_to_int64.c: Likewise.
10076 * config/libbid/bid64_to_int8.c: Likewise.
10077 * config/libbid/bid64_to_uint16.c: Likewise.
10078 * config/libbid/bid64_to_uint32.c: Likewise.
10079 * config/libbid/bid64_to_uint64.c: Likewise.
10080 * config/libbid/bid64_to_uint8.c: Likewise.
10081 * config/libbid/bid_b2d.h: Likewise.
10082 * config/libbid/bid_binarydecimal.c: Likewise.
10083 * config/libbid/bid_conf.h: Likewise.
10084 * config/libbid/bid_convert_data.c: Likewise.
10085 * config/libbid/bid_decimal_data.c: Likewise.
10086 * config/libbid/bid_decimal_globals.c: Likewise.
10087 * config/libbid/bid_div_macros.h: Likewise.
10088 * config/libbid/bid_dpd.c: Likewise.
10089 * config/libbid/bid_flag_operations.c: Likewise.
10090 * config/libbid/bid_from_int.c: Likewise.
10091 * config/libbid/bid_functions.h: Likewise.
10092 * config/libbid/bid_gcc_intrinsics.h: Likewise.
10093 * config/libbid/bid_inline_add.h: Likewise.
10094 * config/libbid/bid_internal.h: Likewise.
10095 * config/libbid/bid_round.c: Likewise.
10096 * config/libbid/bid_sqrt_macros.h: Likewise.
10097
100982009-04-09 Jakub Jelinek <jakub@redhat.com>
10099
10100 * Makefile.in: Change copyright header to refer to version
10101 3 of the GNU General Public License and to point readers at the
10102 COPYING3 file and the FSF's license web page.
10103 * config.host: Likewise.
10104
633dd061
AM
101052009-04-07 Alan Modra <amodra@bigpond.net.au>
10106
10107 * config.host: Reorder and merge to match config.gcc change.
10108
457d1d00
AM
101092009-04-03 Alan Modra <amodra@bigpond.net.au>
10110
10111 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
10112
52c0e446
JM
101132009-03-28 Joseph Myers <joseph@codesourcery.com>
10114
10115 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
10116 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
10117 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
10118 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
10119
ba181049
UB
101202009-02-12 Uros Bizjak <ubizjak@gmail.com>
10121
10122 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
10123 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
10124
c252db20
L
101252009-02-12 H.J. Lu <hongjiu.lu@intel.com>
10126
ba181049
UB
10127 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
10128 ia64/t-softfp-compat to tmake_file.
c252db20
L
10129
10130 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
10131
10132 * config/ia64/__divxf3.asm: New.
10133 * config/ia64/_fixtfdi.asm: Likewise.
10134 * config/ia64/_fixunstfdi.asm: Likewise.
10135 * config/ia64/_floatditf.asm: Likewise.
10136 * config/ia64/t-fprules-softfp: Likewise.
10137 * config/ia64/t-softfp-compat: Likewise.
10138 * config/ia64/tf-signs.c: Likewise.
10139
c60535f9
BE
101402009-01-18 Ben Elliston <bje@au.ibm.com>
10141
10142 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
10143
ce16861e
BE
101442009-01-16 Ben Elliston <bje@au.ibm.com>
10145
10146 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
10147 to tmake_file.
10148
bcf4713b
BE
101492009-01-13 Ben Elliston <bje@au.ibm.com>
10150
10151 * config/t-softfp: New file.
10152 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
10153 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
10154
7d296953 101552009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
2042cb04
JS
10156
10157 * config.host: Add m32r*-*-rtems*.
10158
7d296953 101592008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
541ed00e
JS
10160
10161 * config.host: Add m32c*-*-rtems*.
10162
19523300
RO
101632008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10164
10165 PR bootstrap/33100
10166 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
10167 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
10168 * configure: Regenerate.
10169 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
10170 tmake_file here from gcc/config.gcc.
10171 Move extra_parts here from gcc/config.gcc.
10172 * config/i386/t-sol2: Move here from gcc/config/i386.
10173 Use gcc_srcdir instead of srcdir.
10174
0a4a51c7
AN
101752008-11-18 Adam Nemet <anemet@caviumnetworks.com>
10176
10177 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
10178 case.
10179
2a761e46
TS
101802008-11-09 Thomas Schwinge <tschwinge@gnu.org>
10181
10182 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
10183
c0451df7
TS
101842008-10-08 Thomas Schwinge <tschwinge@gnu.org>
10185
10186 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
10187
358da97e
HS
101882008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
10189
10190 Add picoChip port.
10191 * config.host: Add picochip-*-*.
10192
c660f132
BW
101932008-08-06 Bob Wilson <bob.wilson@acm.org>
10194
10195 * config.host: Match more processor names for Xtensa.
10196
d1349557
L
101972008-07-08 H.J. Lu <hongjiu.lu@intel.com>
10198
10199 * config/i386/64/t-softfp-compat: Update comments.
10200
dd7b73c0
L
102012008-07-07 H.J. Lu <hongjiu.lu@intel.com>
10202
10203 * config/i386/64/_divtc3-compat.c: Moved to ...
10204 * config/i386/64/_divtc3.c: Here.
10205
10206 * config/i386/64/_multc3-compat.c: Moved to ...
10207 * config/i386/64/_multc3.c: Here.
10208
10209 * config/i386/64/_powitf2-compat.c: Moved to ...
10210 * config/i386/64/_powitf2.c: Here.
10211
10212 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
10213 .c suffix instead of -compat.c.
10214
6e1fab3d
UB
102152008-07-05 Uros Bizjak <ubizjak@gmail.com>
10216
10217 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
10218 (_FP_MUL_MEAT_D): Ditto.
10219 (_FP_DIV_MEAT_S): Ditto.
10220 (_FP_DIV_MEAT_D): Ditto.
10221
f92518d7
RS
102222008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
10223
10224 * Makefile.in: Add support for __sync_* libgcc functions.
10225
d0aede14
L
102262008-07-03 H.J. Lu <hongjiu.lu@intel.com>
10227
10228 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
10229
c174f11c
L
102302008-07-02 H.J. Lu <hongjiu.lu@intel.com>
10231
10232 PR boostrap/36702
10233 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
10234 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
10235
10236 * config/i386/64/t-fprules-softfp: Moved to ...
10237 * config/i386/64/t-softfp-compat: This. New.
10238
5f464fa2
UB
102392008-07-02 Uros Bizjak <ubizjak@gmail.com>
10240
10241 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
10242 Initialize f with 0.0.
10243
ff473280
L
102442008-07-02 H.J. Lu <hongjiu.lu@intel.com>
10245
10246 PR target/36669
10247 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
10248
10249 * config/i386/64/_divtc3-compat.c: New.
10250 * config/i386/64/_multc3-compat.c: Likewise.
10251 * config/i386/64/_powitf2-compat.c: Likewise.
10252 * config/i386/64/eqtf2.c: Likewise.
10253 * config/i386/64/getf2.c: Likewise.
10254 * config/i386/64/letf2.c: Likewise.
10255 * config/i386/64/t-fprules-softfp: Likewise.
10256
102572008-07-02 H.J. Lu <hongjiu.lu@intel.com>
10258
10259 * config.host: Add i386/${host_address}/t-fprules-softfp to
10260 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
dfb3b0e3 10261 i[34567]86-*-linux*, x86_64-*-linux*.
ff473280
L
10262
10263 * configure.ac: Set host_address to 64 or 32 for x86.
10264 * configure: Regenerated.
10265
10266 * Makefile.in (config.status): Also depend on
10267 $(srcdir)/config.host.
10268
10269 * config/i386/32/t-fprules-softfp: New.
10270 * config/i386/32/tf-signs.c: Likewise.
10271
10272 * config/i386/64/sfp-machine.h: New. Moved from gcc.
10273
102742008-07-02 H.J. Lu <hongjiu.lu@intel.com>
10275 Uros Bizjak <ubizjak@gmail.com>
10276
10277 * config/i386/32/sfp-machine.h: New.
10278
30551d99
NF
102792008-06-26 Nathan Froyd <froydnj@codesourcery.com>
10280
10281 * config/rs6000/t-ppccomm: Remove rules that conflict with
10282 auto-generated rules.
10283
18c04407
RW
102842008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
10285
10286 * configure.ac: sinclude override.m4.
10287 * configure: Regenerate.
10288
10fbe77a
BRF
102892008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
10290
10291 * configure: Regenerate.
10292
bc6d4c3f
JM
102932008-06-10 Joseph Myers <joseph@codesourcery.com>
10294
10295 * Makefile.in (DECNUMINC): Remove
10296 -I$(MULTIBUILDTOP)../../libdecnumber.
10297 * gstdint.h: New.
10298
cd985f66
JM
102992008-06-07 Joseph Myers <joseph@codesourcery.com>
10300
10301 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
10302 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
10303 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
10304 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
10305 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
10306 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
10307 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
10308 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
10309 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
10310 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
10311 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
10312 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
10313 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
10314 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
10315
93fea8d3
AL
103162008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
10317
10318 * config.host (sh2[lbe]*-*-linux*): Allow target.
10319
18724e30
NF
103202008-04-30 Nathan Froyd <froydnj@codesourcery.com>
10321
10322 * config/rs6000/t-ppccomm: Add build rules for new files.
10323 (LIB2ADD_ST): New variable.
10324
47583040
AH
103252008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
10326
10327 PR target/34210
10328 PR target/35508
10329 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
10330 * config/t-avr: New file. Build 16bit libgcc functions.
10331
cf8e67fe
JJ
103322008-03-02 Jakub Jelinek <jakub@redhat.com>
10333
10334 PR target/35401
10335 * config/t-slibgcc-darwin: Make install-leaf dependent on
10336 install-darwin-libgcc-stubs instead of install.
10337
8d8da227
JM
103382008-01-25 Joseph Myers <joseph@codesourcery.com>
10339
10340 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
10341 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
10342 sh-*-rtemscoff*): Remove cases.
10343
edbf8b16
RS
103442007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
10345
10346 * Makefile.in (all): Use install-leaf rather than install.
10347 (install): Split most of the rule into...
10348 (install-leaf): ...this new one.
10349
89deeaff
EK
103502007-12-19 Etsushi Kato <ek.kato@gmail.com>
10351 Paolo Bonzini <bonzini@gnu.org>
10352
10353 PR target/30572
5f464fa2
UB
10354 * Makefile.in: Use @shlib_slibdir@ substitution to get
10355 correct install name on darwin.
89deeaff 10356 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
dfb3b0e3 10357
4081d704
HPN
103582007-12-15 Hans-Peter Nilsson <hp@axis.com>
10359
10360 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
10361 cris-*-elf and cris-*-none.
10362 (crisv32-*-linux*): Similar, as cris-*-linux*.
10363
f43e89a3
RIL
103642007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
10365
10366 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
10367
b4e9c2c6
L
103682007-10-27 H.J. Lu <hongjiu.lu@intel.com>
10369
10370 PR regression/33926
10371 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
10372 * configure: Regenerated.
10373
b2a00c89
L
103742007-09-27 H.J. Lu <hongjiu.lu@intel.com>
10375
10376 * Makefile.in (dfp-filenames): Replace decimal_globals,
10377 decimal_data, binarydecimal and convert_data with
10378 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
10379 and bid_convert_data, respectively.
10380
8d2a9e0e
CF
103812007-09-17 Chao-ying Fu <fu@mips.com>
10382 Nigel Stephens <nigel@mips.com>
10383
10384 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
10385 * Makefile.in (fixed_point): Define.
10386 Check if fixed_point is yes to build support functions.
10387 * configure.ac: Check for fixed_point support.
10388 * configure: Regenerated.
10389 * gen-fixed.sh: New file to generate lists of fixed-point labels,
10390 funcs, modes, from, to.
10391
2b53935d
JJ
103922007-09-11 Janis Johnson <janis187@us.ibm.com
10393
10394 * Makefile.in (dfp-filenames): Add bid128_noncomp.
10395
2533577f
JJ
103962007-09-10 Janis Johnson <janis187@us.ibm.com>
10397
10398 * Makefile.in (dfp-filenames): Remove decUtility, add
10399 decDouble, decPacked, decQuad, decSingle.
10400
3ae3dbd6
HK
104012007-08-27 Hans Kester <hans.kester@ellips.nl>
10402
10403 * config.host : Add x86_64-elf target.
10404
22867d02
L
104052007-07-06 H.J. Lu <hongjiu.lu@intel.com>
10406
10407 * configure.ac (set_have_cc_tls): Add a missing =.
10408 * configure: Regenerated.
10409
6f461e76
L
104102007-07-06 H.J. Lu <hongjiu.lu@intel.com>
10411
10412 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
10413 and x86_64-*-linux*.
10414
10415 * config/t-tls: New file.
10416
dfb3b0e3 10417 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
6f461e76
L
10418
10419 * configure.ac: Include ../config/enable.m4 and
10420 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
10421 supports TLS and substitute set_have_cc_tls.
10422 * configure: Regenerated.
10423
200359e8
L
104242007-07-04 H.J. Lu <hongjiu.lu@intel.com>
10425
10426 * Makefile.in: Use libbid for DFP when BID is enabled.
10427
76f5e200
DS
104282007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
10429
10430 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
dfb3b0e3 10431 extra_parts. Add config/i386/t-cygming to tmake_file.
76f5e200
DS
10432 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
10433
9bd196f0 104342007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
200359e8 10435 Danny Smith <dannysmith@users.sourceforge.net>
9bd196f0
ZM
10436
10437 PR target/29498
10438 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
10439 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
10440 * config/i386/t-crtfm: Compile crtfastmath.o with
10441 -minline-all-stringops.
10442
1910440e
RS
104432007-05-10 Richard Sandiford <richard@codesourcery.com>
10444
10445 * config.host (sparc-wrs-vxworks): New target.
10446
7d33c31d
KH
104472007-04-14 Kazu Hirata <kazu@codesourcery.com>
10448
10449 * config.host: Recognize fido.
10450
96fccd0d
JJ
104512007-04-04 Janis Johnson <janis187@us.ibm.com>
10452
10453 * configure: Check host, not target, for decimal float support.
10454
577565f9
UB
104552007-04-03 Uros Bizjak <ubizjak@gmail.com>
10456
10457 * config/i386/t-crtpc: New file.
10458 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
5f464fa2 10459 (x86_64-*-linux*): Ditto.
577565f9 10460
ccf8e764
RH
104612007-02-30 Kai Tietz <kai.tietz@onevision.com>
10462
10463 * config.host (x86_64-*-mingw*): New target.
10464
79b87c74
MM
104652007-03-23 Michael Meissner <michael.meissner@amd.com>
10466 H.J. Lu <hongjiu.lu@intel.com>
10467
10468 * Makefile.in (enable_decimal_float): New.
10469 (DECNUMINC): Add
10470 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
10471 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
10472 (decbits-filenames): This.
10473 (decbits-objects): New.
10474 (libgcc-objects): Add $(decbits-objects).
10475
10476 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
10477 Substitute enable_decimal_float.
10478 * configure: Regenerated.
10479
8fce4e31
HPN
104802007-03-19 Hans-Peter Nilsson <hp@axis.com>
10481
10482 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
10483
e8bb4597
BM
104842007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
10485
10486 * Makefile.in (install-info): New dummy target.
10487
344189f9
BS
104882007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
10489
10490 * config.host (bfin*-linux-uclibc*): Set extra_parts.
10491
ac84c172
BM
104922007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
10493
10494 * Makefile.in: Add install-html and install-pdf dummy
10495 targets.
10496
cd5c2357
RS
104972007-02-05 Roger Sayle <roger@eyesopen.com>
10498 Daniel Jacobowitz <dan@codesourcery.com>
10499
10500 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
10501 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
10502 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
10503
d9a66f98
JJ
105042007-01-29 Janis Johnson <janis187@us.ibm.com>
10505
10506 * Makefile.in (dec-filenames): Add decExcept.
10507
9891ec5f
DJ
105082007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
10509
10510 PR bootstrap/30469
10511 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
10512 -fprofile-use.
10513
d6efbf5a
DJ
105142007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
10515
10516 * configure.ac: Add --enable-version-specific-runtime-libs.
10517 Correct $slibdir default.
10518 * configure: Regenerated.
10519
17caeff2
JM
105202007-01-23 Joseph Myers <joseph@codesourcery.com>
10521
10522 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
10523
5ea41e3a
AP
105242007-01-21 Andrew Pinski <pinskia@gmail.com>
10525
10526 PR target/30519
10527 * config.host (alpha*-*-linux*): Set extra_parts.
10528
26900826
KK
105292007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
10530
10531 * config/sh/t-linux: New.
10532 * config.host (sh*-*-linux*): Set tmake_file.
10533
97af925b
DJ
105342007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
10535
10536 * Makefile.in (install): Handle multilibs.
10537
b0088af7
BM
105382007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
10539
10540 * Makefile.in: Added .PHONY entry for documentation targets.
10541
e0a9456a
BM
105422007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
10543
10544 * Makefile.in: Add empty info, html, dvi, pdf targets.
10545
7fd453b4
MS
105462007-01-04 Mike Stump <mrs@apple.com>
10547
10548 * Makefile.in (MAKEINFO): Remove.
10549 (PERL): Likewise.
10550
14e8fc8b
PB
105512007-01-04 Paolo Bonzini <bonzini@gnu.org>
10552
10553 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
10554 * configure: Regenerate.
10555 * Makefile.in (host_subdir): Substitute it.
dfb3b0e3 10556 (gcc_objdir): Use it.
14e8fc8b 10557
1555beba
DJ
105582007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
10559
10560 * config.host (ia64*-*-linux*): Set tmake_file.
10561
79e6eaeb
DJ
105622007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
10563
10564 * Makefile.in (version): Define.
10565
fa958513
DJ
105662007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
10567 Paolo Bonzini <bonzini@gnu.org>
10568
10569 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
10570 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
10571 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
10572 config/sparc/t-crtfm, config/t-slibgcc-darwin,
10573 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
10574 shared-object.mk, siditi-object.mk, static-object.mk: New files.
10575 * configure: Generated.
818ab71a 10576\f
8d9254fc 10577Copyright (C) 2007-2020 Free Software Foundation, Inc.
818ab71a
JJ
10578
10579Copying and distribution of this file, with or without modification,
10580are permitted in any medium without royalty provided the copyright
10581notice and this notice are preserved.