]> git.ipfire.org Git - thirdparty/gcc.git/blame - libgcc/ChangeLog
real: Fix roundeven on inf/nan [PR93663]
[thirdparty/gcc.git] / libgcc / ChangeLog
CommitLineData
7214fce3
JL
12020-02-10 Jeff Law <law@redhat.com>
2
3 * config/frv/frvbegin.c: Use right flags for .ctors and .dtors
4 sections.
5 * config/frv/frvend.c: Similarly.
6
cf0f07ef
L
72020-02-10 H.J. Lu <hongjiu.lu@intel.com>
8
9 PR libgcc/85334
10 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
11 New.
12
5602b48b
CL
132020-02-10 Christophe Lyon <christophe.lyon@linaro.org>
14
15 PR target/93615
16 * unwind-arm-common.inc: Replace uses of gnu_Unwind_Find_got with
17 _Unwind_gnu_Find_got.
18 * unwind-pe.h: Likewise.
19
811a475e
JJ
202020-02-07 Jakub Jelinek <jakub@redhat.com>
21
22 PR target/93615
23 * config/arm/unwind-arm.h (gnu_Unwind_Find_got): Rename to ...
24 (_Unwind_gnu_Find_got): ... this. Use __asm instead of asm. Remove
25 trailing :s in asm. Formatting fixes.
26 (_Unwind_decode_typeinfo_ptr): Adjust caller.
27
2d33dcfe
SL
282020-01-31 Sandra Loosemore <sandra@codesourcery.com>
29
30 nios2: Support for GOT-relative DW_EH_PE_datarel encoding.
31
32 * config.host [nios2-*-linux*] (tmake_file, tm_file): Adjust.
33 * config/nios2-elf-lib.h: New.
34 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback): Use existing
35 code for finding GOT base for nios2.
36
3ae37f92
ML
372020-01-27 Martin Liska <mliska@suse.cz>
38
39 PR gcov-profile/93403
40 * libgcov-profiler.c (__gcov_indirect_call_profiler_v4):
41 Call __gcov_indirect_call_profiler_body.
42 (__gcov_indirect_call_profiler_body): New.
43 (__gcov_indirect_call_profiler_v4_atomic): New.
44 * libgcov.h (__gcov_indirect_call_profiler_v4_atomic):
45 New declaration.
46
2744b8b2
CZ
472020-01-27 Claudiu Zissulescu <claziss@synopsys.com>
48
49 * config/arc/crti.S: Add RF16 object attribute.
50 * config/arc/crtn.S: Likewise.
51 * config/arc/crttls.S: Likewise.
52 * config/arc/lib1funcs.S: Likewise.
53 * config/arc/fp-hack.h (ARC_OPTFPE): Define.
54 * config/arc/lib2funcs.c: New file.
55 * config/arc/t-arc: Add lib2funcs to LIB2ADD.
56
e8e66971
MR
572020-01-24 Maciej W. Rozycki <macro@wdc.com>
58
59 * Makefile.in (configure_deps): Add `toolexeclibdir.m4'.
60 * configure.ac: Handle `--with-toolexeclibdir='.
61 * configure: Regenerate.
62
54b3d52c
DM
632020-01-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
64
65 * config/mips/gnustack.h: Check for TARGET_LIBC_GNUSTACK also.
66
a3c1e1f2
DM
672020-01-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
68
69 * config/mips/gnustack.h: New file.
70 * config/mips/crti.S: Include gnustack.h.
71 * config/mips/crtn.S: Likewise.
72 * config/mips/mips16.S: Likewise.
73 * config/mips/vr4120-div.S: Likewise.
74
e9ee848d
ML
752020-01-23 Martin Liska <mliska@suse.cz>
76
77 * libgcov-driver.c (prune_topn_counter): Remove
78 check for -1 as we only prune run-time counters
79 that do not generate an invalid state.
80
7491c17f
ML
812020-01-22 Martin Liska <mliska@suse.cz>
82
83 PR tree-optimization/92924
84 * libgcov-profiler.c (__gcov_topn_values_profiler_body): First
85 try to find an existing value, then find an empty slot
86 if not found.
87
5f32f9cf
ML
882020-01-22 Martin Liska <mliska@suse.cz>
89
90 PR tree-optimization/92924
91 * libgcov-driver.c (prune_topn_counter): New.
92 (prune_counters): Likewise.
93 (dump_one_gcov): Prune a run-time counter.
94 * libgcov-profiler.c (__gcov_topn_values_profiler_body):
95 For a known value, add GCOV_TOPN_VALUES to value.
96 Otherwise, decrement all counters by one.
97
463f6499
HPN
982020-01-18 Hans-Peter Nilsson <hp@axis.com>
99
100 * config/cris/arit.c (DS): Apply attribute __fallthrough__.
101
84479e3a
JDA
1022020-01-18 John David Anglin <danglin@gcc.gnu.org>
103
104 PR libgcc/92988
105 * crtstuff.c (__do_global_dtors_aux): Only call __cxa_finalize if
106 DEFAULT_USE_CXA_ATEXIT is true.
107
e953433f 1082020-01-16 Mihail-Calin Ionescu <mihail.ionescu@arm.com>
674dcc3f 109 Thomas Preud'homme <thomas.preudhomme@arm.com>
e953433f
MI
110
111 * config/arm/t-arm: Check return value of gcc rather than lack of
112 output.
113
03e87724
GJL
1142020-01-14 Georg-Johann Lay <avr@gjlay.de>
115
116 * config/avr/lib1funcs.S (skip): Simplify.
117
af9bd920
KCY
1182020-01-10 Kwok Cheung Yeung <kcy@codesourcery.com>
119
120 * config/gcn/atomic.c: Remove include of stdint.h.
121 (__sync_val_compare_and_swap_##SIZE): Replace uintptr_t with
122 __UINTPTR_TYPE__.
123
d6491d15
KCY
1242020-01-09 Kwok Cheung Yeung <kcy@codesourcery.com>
125
126 * config/gcn/atomic.c: New.
127 * config/gcn/t-amdgcn (LIB2ADD): Add atomic.c.
128
f30dd607
GJL
1292020-01-08 Georg-Johann Lay <avr@gjlay.de>
130
131 Implement 64-bit double functions.
132
133 PR target/92055
134 * config.host (tmake_file) [target=avr]: Add t-libf7,
135 t-libf7-math, t-libf7-math-symbols as specified by --with-libf7=.
136 * config/avr/t-avrlibc: Don't copy libgcc.a if there are modules
137 depending on sizeof (double) or sizeof (long double).
138 * config/avr/libf7: New folder.
139
5205a445
OH
1402020-01-05 Olivier Hainque <hainque@adacore.com>
141
142 * config/gthr-vxworks.h: Guard #include vxAtomicLib.h
143 by IN_LIBGCC2.
144
8d9254fc
JJ
1452020-01-01 Jakub Jelinek <jakub@redhat.com>
146
147 Update copyright years.
148
abb6c3ee
OH
1492019-12-30 Olivier Hainque <hainque@adacore.com>
150
151 * config/gthr-vxworks.h: Use _vxworks-versions.h.
152 * config/gthr-vxworks-tls.c: Likewise.
153
d7f5094a
OH
1542019-12-30 Olivier Hainque <hainque@adacore.com>
155
156 * config/gthr-vxworks.h (GTHREAD_ONCE_INIT): Use
157 standard zero-initializer syntax.
158
49cfaa2a
OH
1592019-12-30 Olivier Hainque <hainque@adacore.com>
160
161 * config/gthr-vxworks-tls.c (__gthread_getspecific): Fix
162 reference to the internal VX_GET_TLS_DATA interface.
163
89b9a554
OH
1642019-12-30 Olivier Hainque <hainque@adacore.com>
165
166 * config/vxcrtstuff.c: Fix incorrect spelling of
167 USE_INITFINI_ARRAY in guard.
168
e8aa9f55
JL
1692019-12-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
170
171 * config.host: s/msp430*-*-elf/msp430-*-elf*.
172 Override default "extra_parts" variable.
173 * configure: Regenerate.
174 * configure.ac: Disable TM clone registry by default for
175 msp430-elfbare.
176
a9046e98
JL
1772019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
178
179 * config.host (msp430*-*-elf): Add crt{begin,end}_no_eh.o to
180 "extra_parts".
181 * config/msp430/t-msp430: Add rules to build crt{begin,end}_no_eh.o.
182
34a53788
JL
1832019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
184
185 * crtstuff.c: Declare __dso_handle only if DEFAULT_USE_CXA_ATEXIT is
186 true.
187
21a098f4
JL
1882019-12-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
189
190 * crtstuff.c (__do_global_dtors_aux): Check if USE_EH_FRAME_REGISTRY is
191 defined instead of its value.
192
ad8b7783
JL
1932019-12-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
194
195 * crtstuff.c (__do_global_dtors_aux): Wrap in #if so it's only defined
196 if it will have contents.
197
08d7ff78
GJL
1982019-12-05 Georg-Johann Lay <avr@gjlay.de>
199
200 PR target/92055
201 * config/avr/t-avrlibc (MULTISUBDIR): Search for double, not double64.
202
3d3a96a2
SN
2032019-11-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
204
34b4d99d 205 PR libgcc/91737
3d3a96a2
SN
206 * config.host: Add t-gthr-noweak on *-*-musl*.
207 * config/t-gthr-noweak: New file.
208
632b5e3d
JDA
2092019-11-17 John David Anglin <danglin@gcc.gnu.org>
210
211 * config/pa/linux-atomic.c (__kernel_cmpxchg): Change argument 1 to
212 volatile void *. Remove trap check.
213 (__kernel_cmpxchg2): Likewise.
214 (FETCH_AND_OP_2): Adjust operand types.
215 (OP_AND_FETCH_2): Likewise.
216 (FETCH_AND_OP_WORD): Likewise.
217 (OP_AND_FETCH_WORD): Likewise.
218 (COMPARE_AND_SWAP_2): Likewise.
219 (__sync_val_compare_and_swap_4): Likewise.
220 (__sync_bool_compare_and_swap_4): Likewise.
221 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
222 (__sync_lock_test_and_set_4): Likewise.
223 (SYNC_LOCK_RELEASE_1): Likewise. Use __kernel_cmpxchg2 for release.
224 (__sync_lock_release_4): Adjust operand types. Use __kernel_cmpxchg
225 for release.
226 (__sync_lock_release_8): Remove.
227
838fd641
SN
2282019-11-15 Szabolcs Nagy <szabolcs.nagy@arm.com>
229
230 * config/m68k/linux-unwind.h (struct uw_ucontext): Use sigset_t instead
231 of __sigset_t.
232
27204060
JL
2332019-11-14 Jerome Lambourg <lambourg@adacore.com>
234 Doug Rupp <rupp@adacore.com>
235 Olivier Hainque <hainque@adacore.com>
236
237 * config.host: Collapse the arm-vxworks entries into
238 a single arm-wrs-vxworks7* one.
239 * config/arm/unwind-arm-vxworks.c: Update comments. Provide
240 __gnu_Unwind_Find_exidx and a weak dummy __cxa_type_match for
241 kernel modules, to be overriden by libstdc++ when we link with
242 it. Rely on externally provided __exidx_start/end.
243
3004f893
DR
2442019-11-14 Doug Rupp <rupp@adacore.com>
245 Olivier Hainque <hainque@adacore.com>
246
247 * config.host: Handle aarch64*-wrs-vxworks7*.
248
36e5f4d4
OH
2492019-11-12 Olivier Hainque <hainque@adacore.com>
250
251 * config/t-gthr-vxworksae: New file, add all the gthr-vxworks
252 sources except the cxx0x support to LIB2ADDEH. We don't support
253 cxx0x on AE/653.
254 * config/t-vxworksae: New file.
255 * config.host: Handle *-*-vxworksae: Add the two aforementioned
256 Makefile fragment files at their expected position in the tmake_file
257 list, in accordance with what is done for other VxWorks variants.
258
806dd047
CG
2592019-11-12 Corentin Gay <gay@adacore.com>
260 Jerome Lambourg <lambourg@adacore.com>
261 Olivier Hainque <hainque@adacore.com>
262
263 * config/t-gthr-vxworks: New file, add all the gthr-vxworks
264 sources to LIB2ADDEH.
265 * config/t-vxworks: Remove adjustments to LIB2ADDEH.
266 * config/t-vxworks7: Likewise.
267
268 * config.host: Append a block at the end of the file to add the
269 t-gthr files to the tmake_file list for VxWorks after everything
270 else.
271
272 * config/vxlib.c: Rename as gthr-vxworks.c.
273 * config/vxlib-tls.c: Rename as gthr-vxworks-tls.c.
274
275 * config/gthr-vxworks.h: Simplify a few comments. Expose a TAS
276 API and a basic error checking API, both internal. Simplify the
277 __gthread_once_t type definition and initializers. Add sections
278 for condition variables support and for the C++0x thread support,
279 conditioned against Vx653 for the latter.
280
281 * config/gthr-vxworks.c (__gthread_once): Simplify comments and
282 implementation, leveraging the TAS internal API.
283 * config/gthr-vxworks-tls.c: Introduce an internal TLS data access
284 API, leveraging the general availability of TLS services in VxWorks7
285 post SR6xxx.
286 (__gthread_setspecific, __gthread_setspecific): Use it.
287 (tls_delete_hook): Likewise, and simplify the enter/leave dtor logic.
288 * config/gthr-vxworks-cond.c: New file. GTHREAD_COND variable
289 support based on VxWorks primitives.
290 * config/gthr-vxworks-thread.c: New file. GTHREAD_CXX0X support
291 based on VxWorks primitives.
292
78e49fb1
JL
2932019-11-06 Jerome Lambourg <lambourg@adacore.com>
294 Olivier Hainque <hainque@adacore.com>
295
296 * config/vxcrtstuff.c: New file.
297 * config/t-vxcrtstuff: New Makefile fragment.
298 * config.host: Append t-vxcrtstuff to the tmake_file list
299 on all VxWorks ports using dwarf for table based EH.
300
29f3def3
GJL
3012019-11-07 Georg-Johann Lay <avr@gjlay.de>
302
303 Support 64-bit double and 64-bit long double configurations.
304
305 PR target/92055
306 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Only add -DF=SF if
307 long double is a 32-bit type.
308 * config/avr/t-avrlibc: Copy double64 and long-double64
309 multilib(s) from the vanilla one.
310 * config/avr/t-copy-libgcc: New Makefile snip.
311
62ec242e
JL
3122019-11-04 Jozef Lawrynowicz <jozef.l@mittosystems.com>
313
314 * crtstuff.c: Define USE_TM_CLONE_REGISTRY to 0 if it's undefined and
315 the target output object format is not ELF.
316 s/defined(USE_TM_CLONE_REGISTRY)/USE_TM_CLONE_REGISTRY.
317
da5c1bbe
OE
3182019-11-03 Oleg Endo <olegendo@gcc.gnu.org>
319
320 PR libgcc/78804
321 * fp-bit.h: Remove FLOAT_BIT_ORDER_MISMATCH.
322 * fp-bit.c (pack_d, unpack_d): Remove special cases for
323 FLOAT_BIT_ORDER_MISMATCH.
324 * config/arc/t-arc: Remove FLOAT_BIT_ORDER_MISMATCH.
325
8dc56a22
JW
3262019-11-01 Jim Wilson <jimw@sifive.com>
327
328 * config/riscv/t-softfp32 (softfp_extra): Add FP divide routines
329
91c64455
JL
3302019-10-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
331
332 * config/msp430/lib2hw_mul.S: Fix wrong syntax in branch instruction.
333 s/RESULT_LO/RESLO, s/RESULT_HI/RESHI, s/MPY_OP1/MPY,
334 s/MPY_OP1_S/MPYS, s/MAC_OP1/MAC, s/MPY_OP2/OP2, s/MAC_OP2/OP2.
335 Define symbols for 32-bit and f5series hardware multiply
336 register addresses.
337 Replace hard-coded register addresses with symbols.
338 Fix "_mspabi*" typo.
339 Fix whitespace.
340 * config/msp430/lib2mul.c: Add comment.
341
85093ac6
JDA
3422019-10-15 John David Anglin <danglin@gcc.gnu.org>
343
344 * config/pa/fptr.c (_dl_read_access_allowed): Change argument to
345 unsigned int. Adjust callers.
346 (__canonicalize_funcptr_for_compare): Change plabel type to volatile
347 unsigned int *. Load relocation offset before function pointer.
348 Add barrier to ensure ordering.
349
1aea083d
JDA
3502019-10-12 John David Anglin <danglin@gcc.gnu.org>
351
352 * config/pa/lib2funcs.S (__gcc_plt_call): Load branch target to %r21.
353 Load PIC register after branch target. Fix white space.
354 * config/pa/milli64.S ($$dyncall): Separate LINUX and non LINUX
355 implementations. Load PIC register after branch target. Don't
356 clobber function pointer when it points to function descriptor.
357 Use nullification instead of branch in LINUX implementation.
358
c49af82c
JDA
3592019-10-03 John David Anglin <danglin@gcc.gnu.org>
360
361 * config/pa/fptr.c: Disable -Warray-bounds warning.
362
88a51d68
RH
3632019-09-25 Richard Henderson <richard.henderson@linaro.org>
364
9e46fd07
RH
365 * config.in, configure: Re-rebuild with stock autoconf 2.69,
366 not the ubuntu modified 2.69.
367
58d169ba
RH
368 PR target/91833
369 * config/aarch64/lse-init.c: Include auto-target.h. Disable
370 initialization if !HAVE_SYS_AUXV_H.
371 * configure.ac (AC_CHECK_HEADERS): Add sys/auxv.h.
372 * config.in, configure: Rebuild.
373
88a51d68
RH
374 PR target/91834
375 * config/aarch64/lse.S (LDNM): Ensure STXR output does not
376 overlap the inputs.
377
761e6bb9
SZ
3782019-09-25 Shaokun Zhang <zhangshaokun@hisilicon.com>
379
380 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Add support for
381 CTR_EL0.IDC and CTR_EL0.DIC.
382
76c93295
CL
3832019-09-20 Christophe Lyon <christophe.lyon@st.com>
384
385 Revert:
386 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
387 Mickaël Guêné <mickael.guene@st.com>
388
389 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
390 architecture.
391
33befddc
RH
3922019-09-19 Richard Henderson <richard.henderson@linaro.org>
393
394 * config/aarch64/lse-init.c: New file.
395 * config/aarch64/lse.S: New file.
396 * config/aarch64/t-lse: New file.
397 * config.host: Add t-lse to all aarch64 tuples.
398
ae1152e5
CL
3992019-09-10 Christophe Lyon <christophe.lyon@st.com>
400 Mickaël Guêné <mickael.guene@st.com>
401
84818dbb
CL
402 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
403 architecture.
404
4052019-09-10 Christophe Lyon <christophe.lyon@st.com>
406 Mickaël Guêné <mickael.guene@st.com>
407
ae1152e5
CL
408 * unwind-arm-common.inc (ARM_SET_R7_RT_SIGRETURN)
409 (THUMB2_SET_R7_RT_SIGRETURN, FDPIC_LDR_R12_WITH_FUNCDESC)
410 (FDPIC_LDR_R9_WITH_GOT, FDPIC_LDR_PC_WITH_RESTORER)
411 (FDPIC_FUNCDESC_OFFSET, ARM_NEW_RT_SIGFRAME_UCONTEXT)
412 (ARM_UCONTEXT_SIGCONTEXT, ARM_SIGCONTEXT_R0, FDPIC_T2_LDR_R12_WITH_FUNCDESC)
413 (FDPIC_T2_LDR_R9_WITH_GOT, FDPIC_T2_LDR_PC_WITH_RESTORER): New.
414 (__gnu_personality_sigframe_fdpic): New.
415 (get_eit_entry): Add FDPIC signal frame support.
416
5d727a4b
CL
4172019-09-10 Christophe Lyon <christophe.lyon@st.com>
418 Mickaël Guêné <mickael.guene@st.com>
419
420 * config/arm/linux-atomic.c (__kernel_cmpxchg): Add FDPIC support.
421 (__kernel_dmb): Likewise.
422 (__fdpic_cmpxchg): New function.
423 (__fdpic_dmb): New function.
424 * config/arm/unwind-arm.h (FDPIC_REGNUM): New define.
425 (gnu_Unwind_Find_got): New function.
426 (_Unwind_decode_typeinfo_ptr): Add FDPIC support.
427 * unwind-arm-common.inc (UCB_PR_GOT): New.
428 (funcdesc_t): New struct.
429 (get_eit_entry): Add FDPIC support.
430 (unwind_phase2): Likewise.
431 (unwind_phase2_forced): Likewise.
432 (__gnu_Unwind_RaiseException): Likewise.
433 (__gnu_Unwind_Resume): Likewise.
434 (__gnu_Unwind_Backtrace): Likewise.
435 * unwind-pe.h (read_encoded_value_with_base): Likewise.
436
b1e21e5a 4372019-09-10 Christophe Lyon <christophe.lyon@st.com>
11189793 438 Mickaël Guêné <mickael.guene@st.com>
b1e21e5a 439
11189793
CL
440 * libgcc/crtstuff.c: Add support for FDPIC.
441
4422019-09-10 Christophe Lyon <christophe.lyon@st.com>
443
444 * config.host: Handle *-*-uclinuxfdpiceabi.
b1e21e5a 445
91dfef96
JM
4462019-09-09 Jose E. Marchesi <jose.marchesi@oracle.com>
447
448 * config.host: Set cpu_type for bpf-*-* targets.
449 * config/bpf/t-bpf: Likewise.
450 * config/bpf/crtn.S: Likewise.
451 * config/bpf/crti.S: New file.
452
2f4d8951
JW
4532019-09-06 Jim Wilson <jimw@sifive.com>
454
455 * config.host (riscv*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
456 (riscv*-*-freebsd*): Likewise.
457
2f2aeda9
UW
4582019-09-03 Ulrich Weigand <uweigand@de.ibm.com>
459
460 * config.host: Remove references to spu.
461 * config/spu/: Remove directory.
462
d16017da
JL
4632019-08-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
464
465 PR target/91306
466 * crtstuff.c (__CTOR_LIST__): Align to the "__alignof__" the array
467 element type, instead of "sizeof" the element type.
468 (__DTOR_LIST__): Likewise.
469 (__TMC_LIST__): Likewise.
470 (__do_global_dtors_aux_fini_array_entry): Likewise.
471 (__frame_dummy_init_array_entry): Likewise.
472 (__CTOR_END__): Likewise.
473 (__DTOR_END__): Likweise.
474 (__FRAME_END__): Likewise.
475 (__TMC_END__): Likewise.
476
a9fcfec3
HL
4772019-08-20 Lili Cui <lilicui@intel.com>
478
479 * config/i386/cpuinfo.h: Add INTEL_COREI7_TIGERLAKE and
480 INTEL_COREI7_COOPERLAKE.
481
428642b1
MT
4822019-07-31 Matt Thomas <matt@3am-software.com>
483 Nick Hudson <nick@nthcliff.demon.co.uk>
484 Matthew Green <mrg@eterna.com.au>
485 Maya Rashish <coypu@sdf.org>
486
487 * config.host (hppa*-*-netbsd*): New case.
488 * config/pa/t-netbsd: New file.
489
f0efd925
JH
4902019-07-31 Joel Hutton <Joel.Hutton@arm.com>
491
492 * config/arm/cmse.c (cmse_check_address_range): Add
493 warn_unused_result attribute.
494
a861990d
ML
4952019-07-22 Martin Liska <mliska@suse.cz>
496
497 * config/pa/stublib.c: Remove stub symbol __gnu_lto_v1.
498 * config/pa/t-stublib: Likewise.
499
9c0dba7c
SH
5002019-07-22 Stafford Horne <shorne@gmail.com>
501
502 PR target/90362
503 * config/or1k/lib1funcs.S (__udivsi3): Change l.sfeqi
504 to l.sfeq and l.sfltsi to l.sflts equivalents as the immediate
505 instructions are not available on every processor. Change a
506 l.bnf to l.bf to fix logic issue.
507
61afc8f8
IS
5082019-07-04 Iain Sandoe <iain@sandoe.co.uk>
509
510 * config.host: Remove reference to t-darwin8.
511
179c7ef5
IS
5122019-07-03 Iain Sandoe <iain@sandoe.co.uk>
513
514 * config.host (powerpc-*-darwin*,powerpc64-*-darwin*): Revise crt
515 list.
516 * config/rs6000/t-darwin: Build crt3_2 for older systems. Revise
517 mmacosx-version-min for crts to run across all system versions.
518 * config/rs6000/t-darwin64 (LIB2ADD): Remove.
519 * config/t-darwin: Revise mmacosx-version-min for crts to run across
520 system versions >= 10.4.
521
596341c7
ML
5222019-07-03 Martin Liska <mliska@suse.cz>
523
524 * Makefile.in: Use topn_values instead of one_value names.
525 * libgcov-merge.c (__gcov_merge_single): Move to ...
526 (__gcov_merge_topn): ... this.
527 (merge_single_value_set): Move to ...
528 (merge_topn_values_set): ... this.
529 * libgcov-profiler.c (__gcov_one_value_profiler_body): Move to
530 ...
531 (__gcov_topn_values_profiler_body): ... this.
532 (__gcov_one_value_profiler_v2): Move to ...
533 (__gcov_topn_values_profiler): ... this.
534 (__gcov_one_value_profiler_v2_atomic): Move to ...
535 (__gcov_topn_values_profiler_atomic): ... this.
536 (__gcov_indirect_call_profiler_v4): Remove.
537 * libgcov-util.c (__gcov_single_counter_op): Move to ...
538 (__gcov_topn_counter_op): ... this.
539 * libgcov.h (L_gcov_merge_single): Remove.
540 (L_gcov_merge_topn): New.
541 (__gcov_merge_single): Remove.
542 (__gcov_merge_topn): New.
543 (__gcov_one_value_profiler_v2): Move to ..
544 (__gcov_topn_values_profiler): ... this.
545 (__gcov_one_value_profiler_v2_atomic): Move to ...
546 (__gcov_topn_values_profiler_atomic): ... this.
547
1b309ca5
ML
5482019-07-03 Martin Liska <mliska@suse.cz>
549
550 * libgcov-merge.c (merge_single_value_set): Support N values.
551 * libgcov-profiler.c (__gcov_one_value_profiler_body): Likewise.
552
5a460280
ID
5532019-06-27 Ilia Diachkov <ilia.diachkov@optimitech.com>
554
555 * Makefile.in (USE_TM_CLONE_REGISTRY): New.
556 (CRTSTUFF_CFLAGS): Use USE_TM_CLONE_REGISTRY.
557 * configure.ac: Add --disable-tm-clone-registry option.
558 * configure: Regenerate.
559
45309d28
ML
5602019-06-27 Martin Liska <mliska@suse.cz>
561
562 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Remove obviously
563 dead assignments.
564 * libgcov-util.c: Likewise.
565
c2f7a665
ML
5662019-06-27 Martin Liska <mliska@suse.cz>
567
568 * libgcov-util.c (gcov_profile_merge): Release allocated
569 memory.
570 (calculate_overlap): Likewise.
571
a8e55c61
IS
5722019-06-25 Iain Sandoe <iain@sandoe.co.uk>
573
574 * config.host: Add libef_ppc.a to the extra files for powerpc-darwin.
575 * config/rs6000/t-darwin: (PPC_ENDFILE_SRC, PPC_ENDFILE_OBJS): New.
576 Build objects for the out of line save/restore register functions
577 so that they can be used for any supported Darwin version.
578 * config/t-darwin: Default the build Darwin version to Darwin8
579 (MacOS 10.4).
580
e5ce4cbc
ML
5812019-06-25 Martin Liska <mliska@suse.cz>
582
583 * libgcov-driver-system.c (replace_filename_variables): Do not
584 call strlen with NULL argument.
585
52a47d28
AS
5862019-06-25 Andrew Stubbs <ams@codesourcery.com>
587
588 * config/gcn/t-amdgcn (LIB2ADD): Add unwind-gcn.c.
589 * config/gcn/unwind-gcn.c: New file.
590
76d46331
KCY
5912019-06-25 Kwok Cheung Yeung <kcy@codesourcery.com>
592 Andrew Stubbs <ams@codesourcery.com>
593
594 * configure: Regenerate.
595 * config/gcn/gthr-gcn.h: New.
596
787783a0
TV
5972019-06-18 Tom de Vries <tdevries@suse.de>
598
599 * config/nvptx/crt0.c (__main): Declare.
600
f32f7585
MG
6012019-06-17 Matthew Green <mrg@eterna.com.au>
602 Maya Rashish <coypu@sdf.org>
603
604 * config.host (aarch64*-*-netbsd*): New case.
605
0fcc78f7
JL
6062019-06-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
607
608 * config/msp430/slli.S (__mspabi_sllll): New library function for
609 performing a logical left shift of a 64-bit value.
610 * config/msp430/srai.S (__mspabi_srall): New library function for
611 performing a arithmetic right shift of a 64-bit value.
612 * config/msp430/srll.S (__mspabi_srlll): New library function for
613 performing a logical right shift of a 64-bit value.
614
b27c1082
MT
6152019-06-14 Matt Thomas <matt@3am-software.com>
616 Matthew Green <mrg@eterna.com.au>
617 Nick Hudson <skrll@netbsd.org>
618 Maya Rashish <coypu@sdf.org>
619
620 * config.host (arm*-*-netbsdelf*): Add support for EABI configurations.
621 * config/arm/t-netbsd (LIB1ASMFUNCS): Add some additional assembler
622 functions to build.
623 * config/arm/t-netbsd-eabi: New file.
624
ae7deb4b
DD
6252019-06-12 Dimitar Dimitrov <dimitar@dinux.eu>
626
627 * config.host: Add PRU target.
628 * config/pru/asri.c: New file.
629 * config/pru/eqd.c: New file.
630 * config/pru/eqf.c: New file.
631 * config/pru/ged.c: New file.
632 * config/pru/gef.c: New file.
633 * config/pru/gtd.c: New file.
634 * config/pru/gtf.c: New file.
635 * config/pru/led.c: New file.
636 * config/pru/lef.c: New file.
637 * config/pru/lib2bitcountHI.c: New file.
638 * config/pru/lib2divHI.c: New file.
639 * config/pru/lib2divQI.c: New file.
640 * config/pru/lib2divSI.c: New file.
641 * config/pru/libgcc-eabi.ver: New file.
642 * config/pru/ltd.c: New file.
643 * config/pru/ltf.c: New file.
644 * config/pru/mpyll.S: New file.
645 * config/pru/pru-abi.h: New file.
646 * config/pru/pru-asm.h: New file.
647 * config/pru/pru-divmod.h: New file.
648 * config/pru/sfp-machine.h: New file.
649 * config/pru/t-pru: New file.
650
0d7b3e47
JJ
6512019-06-11 Jakub Jelinek <jakub@redhat.com>
652
653 * libgcov-merge.c (__gcov_merge_single): Revert previous change.
654
54e2d83c
ML
6552019-06-10 Martin Liska <mliska@suse.cz>
656
657 PR bootstrap/90808
658 * libgcov.h: Add ATTRIBUTE_UNUSED.
659
92d41717
ML
6602019-06-10 Martin Liska <mliska@suse.cz>
661
662 * Makefile.in: Add __gcov_one_value_profiler_v2,
663 __gcov_one_value_profiler_v2_atomic and
664 __gcov_indirect_call_profiler_v4.
665 * libgcov-merge.c (__gcov_merge_single): Change
666 function signature.
667 (merge_single_value_set): New.
668 * libgcov-profiler.c (__gcov_one_value_profiler_body):
669 Update functionality.
670 (__gcov_one_value_profiler): Remove.
671 (__gcov_one_value_profiler_v2): ... this.
672 (__gcov_one_value_profiler_atomic): Rename to ...
673 (__gcov_one_value_profiler_v2_atomic): this.
674 (__gcov_indirect_call_profiler_v3): Rename to ...
675 (__gcov_indirect_call_profiler_v4): ... this.
676 * libgcov.h (__gcov_one_value_profiler): Remove.
677 (__gcov_one_value_profiler_atomic): Remove.
678 (__gcov_one_value_profiler_v2_atomic): New.
679 (__gcov_indirect_call_profiler_v3): Remove.
680 (__gcov_one_value_profiler_v2): New.
681 (__gcov_indirect_call_profiler_v4): New.
682 (gcov_get_counter_ignore_scaling): New function.
683
e37333ba
ML
6842019-06-07 Martin Liska <mliska@suse.cz>
685
686 * Makefile.in: Remove usage of
687 _gcov_merge_icall_topn.
688 * libgcov-driver.c (gcov_sort_n_vals): Remove.
689 (gcov_sort_icall_topn_counter): Likewise.
690 (gcov_sort_topn_counter_arrays): Likewise.
691 (dump_one_gcov): Remove call to gcov_sort_topn_counter_arrays.
692 * libgcov-merge.c (__gcov_merge_icall_topn): Remove.
693 * libgcov-profiler.c (__gcov_topn_value_profiler_body):
694 Likewise.
695 (GCOV_ICALL_COUNTER_CLEAR_THRESHOLD): Remove.
696 (struct indirect_call_tuple): Remove.
697 (__gcov_indirect_call_topn_profiler): Remove.
698 * libgcov-util.c (__gcov_icall_topn_counter_op): Remove.
699 * libgcov.h (gcov_sort_n_vals): Remove.
700 (L_gcov_merge_icall_topn): Likewise.
701 (__gcov_merge_icall_topn): Likewise.
702 (__gcov_indirect_call_topn_profiler): Likewise.
703
34a4a9c2
IS
7042019-06-06 Iain Sandoe <iain@sandoe.co.uk>
705
706 * config/rs6000/t-darwin: Ensure that the unwinder is built with
707 altivec enabled.
708
d1b2f85f
JL
7092019-06-06 Jozef Lawrynowicz <jozef.l@mittosystems.com>
710
711 * config/msp430/slli.S (__mspabi_slli_n): Put function in its own
712 section.
713 (__mspabi_slli): Likewise.
714 (__mspabi_slll_n): Likewise.
715 (__mspabi_slll): Likewise.
716 * config/msp430/srai.S (__mspabi_srai_n): Likewise.
717 (__mspabi_srai): Likewise.
718 (__mspabi_sral_n): Likewise.
719 (__mspabi_sral): Likewise.
720 * config/msp430/srli.S (__mspabi_srli_n): Likewise.
721 (__mspabi_srli): Likewise.
722 (__mspabi_srll_n): Likewise.
723 (__mspabi_srll): Likewise.
724
e69a13d1
YS
7252019-06-05 Yoshinori Sato <ysato@users.sourceforge.jp>
726
727 * config.host (rx-*-linux*): Add t-fdpbit to tmake_file
728 Add appropriate tm_file clause as well.
729 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Remove.
730
b009eac1
JC
7312019-06-05 James Clarke <jrtc27@jrtc27.com>
732
733 * config/ia64/crtbegin.S (__dso_handle): Put in .sdata/.sbss
734 rather than .data/.bss so it can be accessed via gp-relative
735 addressing.
736
781d39f2
DE
7372019-06-05 David Edelsohn <dje.gcc@gmail.com>
738
739 * config/rs6000/aix-unwind.h (LR_REGNO): Rename to R_LR.
740 (CR2_REGNO): Rename to R_CR2.
741 (XER_REGNO): Rename to R_XER.
742 (FIRST_ALTIVEC_REGNO): Rename to R_FIRST_ALTIVEC.
743 (VRSAVE_REGNO): Rename to R_VRSAVE.
744 (VSCR_REGNO): R_VSCR.
745
76aaa9cd
YS
7462019-05-29 Yoshinori Sato <ysato@users.sourceforge.jp>
747
748 * config.host (rx-*-linux*): Add new case.
749 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Force DFmode to SFmode.
750
8fc16d72
ST
7512019-05-29 Sam Tebbs <sam.tebbs@arm.com>
752
753 * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key): New
754 function.
755 * config/aarch64/aarch64-unwind.h (aarch64_post_extract_frame_addr,
756 aarch64_post_frob_eh_handler_addr): Add check for b-key.
757 * config/aarch64/aarch64-unwind-h (aarch64_post_extract_frame_addr,
758 aarch64_post_frob_eh_handler_addr, aarch64_post_frob_update_context):
759 Rename RA_A_SIGNED_BIT to RA_SIGNED_BIT.
760 * unwind-dw2-fde.c (get_cie_encoding): Add check for 'B' in augmentation
761 string.
762 * unwind-dw2.c (extract_cie_info): Add check for 'B' in augmentation
763 string.
764 (RA_A_SIGNED_BIT): Rename to RA_SIGNED_BIT.
765
e54b1a92
RO
7662019-05-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
767
768 * config/sparc/sol2-unwind.h [__arch64__] (sparc64_is_sighandler):
769 Remove Solaris 9 and 10 support.
770 (sparc_is_sighandler): Likewise.
771
abbb8307
JDA
7722019-05-26 John David Anglin <danglin@gcc.gnu.org>
773
774 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Add cast.
775
2581344d
L
7762019-05-17 H.J. Lu <hongjiu.lu@intel.com>
777
778 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
779 4_FP_W_TYPEs are used for IEEE quad precision.
780 * soft-fp/extendhftf2.c: Likewise.
781 * soft-fp/extendsftf2.c: Likewise.
782 * soft-fp/extendxftf2.c: Likewise.
783 * soft-fp/trunctfdf2.c: Likewise.
784 * soft-fp/trunctfhf2.c: Likewise.
785 * soft-fp/trunctfsf2.c: Likewise.
786 * soft-fp/trunctfxf2.c: Likewise.
787 * config/rs6000/ibm-ldouble.c: Likewise.
788
ccd1242e
RO
7892019-05-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
790
791 * config.host: Simplify various *-*-solaris2.1[0-9]* to
792 *-*-solaris2*.
793 * configure.ac: Likewise.
794 * configure: Regenerate.
795
796 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
797 Solaris 10 and Solaris 11 < snv_125 handling.
798
ef5eb79d
IS
7992019-05-12 Iain Sandoe <iain@sandoe.co.uk>
800
801 * config/rs6000/darwin-vecsave.S: Set .machine appropriately.
802
4f0e90fa
HL
8032019-05-07 Hongtao Liu <hongtao.liu@intel.com>
804
805 * config/i386/cpuinfo.c (get_available_features): Detect BF16.
806 * config/i386/cpuinfo.h (enum processor_features): Add
807 FEATURE_AVX512BF16.
808
48528842
RR
8092019-04-23 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
810 Bernd Edlinger <bernd.edlinger@hotmail.de>
811 Jakub Jelinek <jakub@redhat.com>
812
813 PR target/89093
814 * config/arm/pr-support.c: Add #pragma GCC target("general-regs-only").
815 * config/arm/unwind-arm.c: Likewise.
816 * unwind-c.c (PERSONALITY_FUNCTION): Add general-regs-only target
817 attribute for ARM.
818
887e182f
MC
8192019-04-15 Monk Chiang <sh.chiang04@gmail.com>
820
821 * config/nds32/linux-unwind.h (SIGRETURN): Remove.
822 (RT_SIGRETURN): Update.
823 (nds32_fallback_frame_state): Update.
824
a90b0cdd
MS
8252019-02-21 Martin Sebor <msebor@redhat.com>
826
827 * libgcc2.h (__clear_cache): Correct signature.
828 * libgcc2.c (__clear_cache): Same.
829
1ed28eda
UB
8302019-02-20 Uroš Bizjak <ubizjak@gmail.com>
831
832 * config/alpha/linux-unwind.h (alpha_fallback_frame_state):
833 Cast 'mcontext_t *' &rt_->uc.uc_mcontext to 'struct sigcontext *'.
834
fe95aee9
UB
8352019-02-19 Uroš Bizjak <ubizjak@gmail.com>
836
837 * unwind-dw2.c (_Unwind_GetGR) [DWARF_ZERO_REG]: Compare
838 regno instead of index to DWARF_ZERO_REG.
839
bf7988f1
EB
8402019-02-15 Eric Botcazou <ebotcazou@adacore.com>
841
842 * config/visium/lib2funcs.c (__set_trampoline_parity): Replace
843 TRAMPOLINE_SIZE with __LIBGCC_TRAMPOLINE_SIZE__.
844
ba2c1ca8
UB
8452019-01-31 Uroš Bizjak <ubizjak@gmail.com>
846
847 * config/alpha/t-linux: Add -mfp-rounding-mode=d
848 to HOST_LIBGCC2_CFLAGS.
849
6395ba73
L
8502019-01-23 Joseph Myers <joseph@codesourcery.com>
851
852 PR libgcc/88931
ba2c1ca8 853 * libgcc2.c (FSTYPE FUNC (DWtype u)): Correct no leading bits case.
6395ba73 854
756721ba
ML
8552019-01-18 Martin Liska <mliska@suse.cz>
856
857 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Rename
858 to ...
859 (__gcov_indirect_call_profiler_v3): ... this.
860 * libgcov.h (__gcov_indirect_call_profiler_v2): Likewise.
861 (__gcov_indirect_call_profiler_v3): Likewise.
862 * Makefile.in: Bump function name.
863
d273c40a
ML
8642019-01-18 Martin Liska <mliska@suse.cz>
865
866 * libgcov-driver.c (GCOV_PROF_PREFIX): Define.
867 (gcov_version): Use in gcov_error.
868 (merge_one_data): Likewise.
869 (dump_one_gcov): Likewise.
870
be9d9fdb
ML
8712019-01-18 Martin Liska <mliska@suse.cz>
872
873 * libgcov-driver.c (gcov_version_string): New function.
874 (gcov_version): Convert version integer into string.
875
91d7b7fe
AS
8762019-01-17 Andrew Stubbs <ams@codesourcery.com>
877 Kwok Cheung Yeung <kcy@codesourcery.com>
878 Julian Brown <julian@codesourcery.com>
879 Tom de Vries <tom@codesourcery.com>
880
881 * config.host: Recognize amdgcn*-*-amdhsa.
882 * config/gcn/crt0.c: New file.
883 * config/gcn/lib2-divmod-hi.c: New file.
884 * config/gcn/lib2-divmod.c: New file.
885 * config/gcn/lib2-gcn.h: New file.
886 * config/gcn/sfp-machine.h: New file.
887 * config/gcn/t-amdgcn: New file.
888
67914693
SL
8892019-01-09 Sandra Loosemore <sandra@codesourcery.com>
890
891 PR other/16615
892
893 * config/c6x/libunwind.S: Mechanically replace "can not" with
894 "cannot".
895 * config/tilepro/atomic.h: Likewise.
896 * config/vxlib-tls.c: Likewise.
897 * generic-morestack-thread.c: Likewise.
898 * generic-morestack.c: Likewise.
899 * mkmap-symver.awk: Likewise.
900
a5544970
JJ
9012019-01-01 Jakub Jelinek <jakub@redhat.com>
902
903 Update copyright years.
904
da77eace
L
9052018-12-20 H.J. Lu <hongjiu.lu@intel.com>
906
907 * unwind-pe.h (read_encoded_value_with_base): Add GCC pragma
908 to ignore -Waddress-of-packed-member.
909
72e3a529
TP
9102018-12-19 Thomas Preud'homme <thomas.preudhomme@linaro.org>
911
912 * /config/arm/lib1funcs.S (FUNC_START): Remove unused sp_section
913 parameter and corresponding code.
914 (ARM_FUNC_START): Likewise in both definitions.
915 Also update footer comment about condition that need to match with
916 gcc/config/arm/elf.h to also include libgcc/config/arm/t-arm.
917 * config/arm/ieee754-df.S (muldf3): Also build it if L_arm_muldf3 is
918 defined. Weakly define it in this case.
919 * config/arm/ieee754-sf.S (mulsf3): Likewise with L_arm_mulsf3.
920 * config/arm/t-elf (LIB1ASMFUNCS): Build _arm_muldf3.o and
921 _arm_mulsf3.o before muldiv versions if targeting Thumb-1 only. Add
922 comment to keep condition in sync with the one in
923 libgcc/config/arm/lib1funcs.S and gcc/config/arm/elf.h.
924
5d54c798
WX
9252018-12-18 Wei Xiao <wei3.xiao@intel.com>
926
927 * config/i386/cpuinfo.c (get_intel_cpu): Handle cascadelake.
928 * config/i386/cpuinfo.h: Add INTEL_COREI7_CASCADELAKE.
929
5a2580b6
RV
9302018-12-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
931
932 * config/rs6000/tramp.S (__trampoline_setup): Also emit .size
933 and .cfi_endproc directives for VxWorks targets.
934
c0c5112b
PK
9352018-12-05 Paul Koning <ni1d@arrl.net>
936
937 * udivmodhi4.c (__udivmodhi4): Fix loop end check.
938
1ea7ea18
AM
9392018-11-27 Alan Modra <amodra@gmail.com>
940
941 * config/rs6000/morestack.S (__stack_split_initialize),
942 (__morestack_get_guard, __morestack_set_guard),
943 (__morestack_make_guard): Provide CFI covering these functions.
944 * config/rs6000/tramp.S (__trampoline_setup): Likewise.
945
ff641ae1
XQ
9462018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
947
1ea7ea18 948 * config/csky/linux-unwind.h (sc_pt_regs): Update for kernel.
ff641ae1
XQ
949 (sc_pt_regs_lr): Update for kernel.
950 (sc_pt_regs_tls): Update for kernel.
951
28209372
XQ
9522018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
953
954 * config/csky/linux-unwind.h: Fix coding style.
955
b2a71af6
XQ
9562018-11-13 Xianmiao Qu <xianmiao_qu@c-sky.com>
957
958 * config/csky/linux-unwind.h (_sig_ucontext_t): Remove.
1ea7ea18 959 (csky_fallback_frame_state): Modify the check of the
b2a71af6
XQ
960 instructions to adapt to changes in the kernel
961
d929e137
SH
9622018-11-09 Stafford Horne <shorne@gmail.com>
963 Richard Henderson <rth@twiddle.net>
964
965 * config.host: Add OpenRISC support.
966 * config/or1k/*: New.
967
222cfefa
KC
9682018-11-08 Kito Cheng <kito@andestech.com>
969
970 * soft-fp/adddf3.c: Update from glibc.
971 * soft-fp/addsf3.c: Likewise.
972 * soft-fp/addtf3.c: Likewise.
973 * soft-fp/divdf3.c: Likewise.
974 * soft-fp/divsf3.c: Likewise.
975 * soft-fp/divtf3.c: Likewise.
976 * soft-fp/double.h: Likewise.
977 * soft-fp/eqdf2.c: Likewise.
978 * soft-fp/eqsf2.c: Likewise.
979 * soft-fp/eqtf2.c: Likewise.
980 * soft-fp/extenddftf2.c: Likewise.
981 * soft-fp/extended.h: Likewise.
982 * soft-fp/extendhftf2.c: Likewise.
983 * soft-fp/extendsfdf2.c: Likewise.
984 * soft-fp/extendsftf2.c: Likewise.
985 * soft-fp/extendxftf2.c: Likewise.
986 * soft-fp/fixdfdi.c: Likewise.
987 * soft-fp/fixdfsi.c: Likewise.
988 * soft-fp/fixdfti.c: Likewise.
989 * soft-fp/fixhfti.c: Likewise.
990 * soft-fp/fixsfdi.c: Likewise.
991 * soft-fp/fixsfsi.c: Likewise.
992 * soft-fp/fixsfti.c: Likewise.
993 * soft-fp/fixtfdi.c: Likewise.
994 * soft-fp/fixtfsi.c: Likewise.
995 * soft-fp/fixtfti.c: Likewise.
996 * soft-fp/fixunsdfdi.c: Likewise.
997 * soft-fp/fixunsdfsi.c: Likewise.
998 * soft-fp/fixunsdfti.c: Likewise.
999 * soft-fp/fixunshfti.c: Likewise.
1000 * soft-fp/fixunssfdi.c: Likewise.
1001 * soft-fp/fixunssfsi.c: Likewise.
1002 * soft-fp/fixunssfti.c: Likewise.
1003 * soft-fp/fixunstfdi.c: Likewise.
1004 * soft-fp/fixunstfsi.c: Likewise.
1005 * soft-fp/fixunstfti.c: Likewise.
1006 * soft-fp/floatdidf.c: Likewise.
1007 * soft-fp/floatdisf.c: Likewise.
1008 * soft-fp/floatditf.c: Likewise.
1009 * soft-fp/floatsidf.c: Likewise.
1010 * soft-fp/floatsisf.c: Likewise.
1011 * soft-fp/floatsitf.c: Likewise.
1012 * soft-fp/floattidf.c: Likewise.
1013 * soft-fp/floattihf.c: Likewise.
1014 * soft-fp/floattisf.c: Likewise.
1015 * soft-fp/floattitf.c: Likewise.
1016 * soft-fp/floatundidf.c: Likewise.
1017 * soft-fp/floatundisf.c: Likewise.
1018 * soft-fp/floatunditf.c: Likewise.
1019 * soft-fp/floatunsidf.c: Likewise.
1020 * soft-fp/floatunsisf.c: Likewise.
1021 * soft-fp/floatunsitf.c: Likewise.
1022 * soft-fp/floatuntidf.c: Likewise.
1023 * soft-fp/floatuntihf.c: Likewise.
1024 * soft-fp/floatuntisf.c: Likewise.
1025 * soft-fp/floatuntitf.c: Likewise.
1026 * soft-fp/gedf2.c: Likewise.
1027 * soft-fp/gesf2.c: Likewise.
1028 * soft-fp/getf2.c: Likewise.
1029 * soft-fp/half.h: Likewise.
1030 * soft-fp/ledf2.c: Likewise.
1031 * soft-fp/lesf2.c: Likewise.
1032 * soft-fp/letf2.c: Likewise.
1033 * soft-fp/muldf3.c: Likewise.
1034 * soft-fp/mulsf3.c: Likewise.
1035 * soft-fp/multf3.c: Likewise.
1036 * soft-fp/negdf2.c: Likewise.
1037 * soft-fp/negsf2.c: Likewise.
1038 * soft-fp/negtf2.c: Likewise.
1039 * soft-fp/op-1.h: Likewise.
1040 * soft-fp/op-2.h: Likewise.
1041 * soft-fp/op-4.h: Likewise.
1042 * soft-fp/op-8.h: Likewise.
1043 * soft-fp/op-common.h: Likewise.
1044 * soft-fp/quad.h: Likewise.
1045 * soft-fp/single.h: Likewise.
1046 * soft-fp/soft-fp.h: Likewise.
1047 * soft-fp/subdf3.c: Likewise.
1048 * soft-fp/subsf3.c: Likewise.
1049 * soft-fp/subtf3.c: Likewise.
1050 * soft-fp/truncdfsf2.c: Likewise.
1051 * soft-fp/trunctfdf2.c: Likewise.
1052 * soft-fp/trunctfhf2.c: Likewise.
1053 * soft-fp/trunctfsf2.c: Likewise.
1054 * soft-fp/trunctfxf2.c: Likewise.
1055 * soft-fp/unorddf2.c: Likewise.
1056 * soft-fp/unordsf2.c: Likewise.
1057 * soft-fp/unordtf2.c: Likewise.
1058
2901f42f
VK
10592018-11-04 Venkataramanan Kumar <Venkataramanan.kumar@amd.com>
1060
1061 * config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
1062 * config/i386/cpuinfo.h (processor_types): Add znver2.
1063
4310ca66
PK
10642018-11-01 Paul Koning <ni1d@arrl.net>
1065
1066 * config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c.
1067 (HOST_LIBGCC2_CFLAGS): Change to optimize for size.
1068
22e05272
JM
10692018-10-31 Joseph Myers <joseph@codesourcery.com>
1070
1071 PR bootstrap/82856
1072 * configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
1073 * configure: Regenerate.
1074
8180cde0
CZ
10752018-10-31 Claudiu Zissulescu <claziss@synopsys.com>
1076
1077 * config/arc/lib1funcs.S (_muldi3): New function.
1078 * config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
1079
be7b071e
RV
10802018-10-30 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1081
1082 * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
1083
3239d726
ML
10842018-10-25 Martin Liska <mliska@suse.cz>
1085
1086 PR other/87735
1087 * libgcov-profiler.c: Revert.
1088
19b55958
ML
10892018-10-24 Martin Liska <mliska@suse.cz>
1090
1091 * libgcov-profiler.c: Start from 1 in order to distinguish
1092 functions which were seen and these that were not.
1093
a9a2fddb
PK
10942018-10-18 Paul Koning <ni1d@arrl.net>
1095
1096 * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
1097 standard.
1098 * divmod.c: Update references to __udivmodsi4.
1099 * udivmod.c: Ditto.
1100 * udivhi3.c: New file.
1101 * udivmodhi4.c: New file.
1102 * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
1103
fc8abc46
RV
11042018-10-17 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1105
1106 * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
1107
87f918e3
OH
11082018-10-12 Olivier Hainque <hainque@adacore.com>
1109
1110 * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
1111 defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
1112
be86efa7
PK
11132018-10-08 Paul Koning <ni1d@arrl.net>
1114
1115 * config/pdp11/t-pdp11: Remove -mfloat32 switch.
1116
3edbcdbe
ML
11172018-10-04 Martin Liska <mliska@suse.cz>
1118
1119 PR gcov-profile/84107
1120 * libgcov-profiler.c (__gcov_indirect_call):
1121 Change type to indirect_call_tuple.
1122 (struct indirect_call_tuple): New struct.
1123 (__gcov_indirect_call_topn_profiler): Change type.
1124 (__gcov_indirect_call_profiler_v2): Use the new
1125 variables.
1126 * libgcov.h (struct indirect_call_tuple): New struct
1127 definition.
1128
af8096fc
UB
11292018-10-03 Uros Bizjak <ubizjak@gmail.com>
1130
1131 * libgcc2.c (isnan): Use __builtin_isnan.
1132 (isfinite): Use __builtin_isfinite.
1133 (isinf): Use __builtin_isinf.
1134
0a76bba4
UB
11352018-09-26 Uros Bizjak <ubizjak@gmail.com>
1136
1137 * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
1138
5244089f
OH
11392018-09-21 Alexandre Oliva <oliva@adacore.com>
1140
1141 * config/vxcache.c: New file. Provide __clear_cache, based on
1142 the cacheTextUpdate VxWorks service.
1143 * config/t-vxworks (LIB2ADD): Add vxcache.c.
1144 (LIB2FUNCS_EXCLUDE): Add _clear_cache.
1145 * config/t-vxwoks7: Likewise.
1146
512cc015
ML
11472018-09-21 Martin Liska <mliska@suse.cz>
1148
1149 * libgcov-driver.c (crc32_unsigned): Remove.
1150 (gcov_histogram_insert): Likewise.
1151 (gcov_compute_histogram): Likewise.
1152 (compute_summary): Simplify rapidly.
1153 (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
1154 (merge_summary): Rapidly simplify.
1155 (dump_one_gcov): Ignore gcov_summary.
1156 (gcov_do_dump): Do not handle program summary, it's not
1157 used.
1158 * libgcov-util.c (tag_summary): Remove.
1159 (read_gcda_finalize): Fix coding style.
1160 (read_gcda_file): Initialize curr_object_summary.
1161 (compute_summary): Remove.
1162 (calculate_overlap): Remove settings of run_max.
1163
36ff254b
MC
11642018-09-21 Monk Chiang <sh.chiang04@gmail.com>
1165
1166 * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
1167 ucontext_t type instead.
1168 (nds32_fallback_frame_state): Remove struct _sigframe statement.
1169
229a033d
KC
11702018-09-21 Kito Cheng <kito.cheng@gmail.com>
1171
1172 * config/nds32/t-nds32-glibc: New file.
1173
53c6feb2
RO
11742018-09-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1175
1176 * configure.ac (solaris_ld_v2_maps): New test.
1177 * configure: Regenerate.
1178 * Makefile.in (solaris_ld_v2_maps): New variable.
1179 * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
1180 if supported.
1181
ebdb6f23
RE
11822018-08-23 Richard Earnshaw <rearnsha@arm.com>
1183
1184 PR target/86951
1185 * config/arm/lib1funcs.asm (speculation_barrier): New function.
1186 * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
1187 to build.
1188
a49c064e
IS
11892018-08-22 Iain Sandoe <iain@sandoe.co.uk>
1190
1ea7ea18 1191 * config/unwind-dw2-fde-darwin.c
a49c064e
IS
1192 (_darwin10_Unwind_FindEnclosingFunction): move from here ...
1193 * config/darwin10-unwind-find-enc-func.c: … to here.
1194 * config/t-darwin: Build Darwin10 unwinder shim crt.
1195 * libgcc/config.host: Add the Darwin10 unwinder shim.
1196
9a5b8df7
RV
11972018-08-21 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1198
1199 * config.host: Add crtbegin.o and crtend.o for
1200 powerpc-wrs-vxworks target.
1201
4cd0bc3b
J
12022018-08-17 Jojo <jijie_rong@c-sky.com>
1203 Huibin Wang <huibin_wang@c-sky.com>
1204 Sandra Loosemore <sandra@codesourcery.com>
1205 Chung-Lin Tang <cltang@codesourcery.com>
1206
1207 C-SKY port: libgcc
1208
1209 * config.host: Add C-SKY support.
1210 * config/csky/*: New.
1211
a4931745
CJW
12122018-08-12 Chung-Ju Wu <jasonwucj@gmail.com>
1213
1214 * config/nds32/t-nds32-isr: Rearrange object dependency.
1215 * config/nds32/initfini.c: Add dwarf2 unwinding support.
1216 * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
1217 and registers usage.
1218 * config/nds32/isr-library/excp_isr.S: Ditto.
1219 * config/nds32/isr-library/intr_isr.S: Ditto.
1220 * config/nds32/isr-library/reset.S: Ditto.
1221 * config/nds32/isr-library/restore_all.inc: Ditto.
1222 * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
1223 * config/nds32/isr-library/restore_partial.inc: Ditto.
1224 * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
1225 * config/nds32/isr-library/save_all.inc: Ditto.
1226 * config/nds32/isr-library/save_mac_regs.inc: Ditto.
1227 * config/nds32/isr-library/save_partial.inc: Ditto.
1228 * config/nds32/isr-library/save_usr_regs.inc: Ditto.
1229 * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
1230
2b1969f6
JDA
12312018-08-11 John David Anglin <danglin@gcc.gnu.org>
1232
1233 * config/pa/linux-atomic.c: Update comment.
1234 (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
1235 COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
1236 SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
1237 __ATOMIC_RELAXED for atomic loads.
1238 (SYNC_LOCK_RELEASE_1): New define. Use __sync_synchronize() and
1239 unordered store to release lock.
1240 (__sync_lock_release_8): Likewise.
1241 (SYNC_LOCK_RELEASE_2): Remove define.
af8096fc 1242
89fff9cc
NP
12432018-08-02 Nicolas Pitre <nico@fluxnic.net>
1244
1245 PR libgcc/86512
1246 * config/arm/ieee754-df.S: Don't shortcut denormal handling when
1247 exponent goes negative. Update my email address.
1248 * config/arm/ieee754-sf.S: Likewise.
1249
fd2e1dcd
ML
12502018-08-01 Martin Liska <mliska@suse.cz>
1251
1252 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
92a285c1 1253 check that __gcov_indirect_call_callee is non-null.
fd2e1dcd 1254
b7415975
CL
12552018-07-30 Christophe Lyon <christophe.lyon@linaro.org>
1256
1257 * config/arm/ieee754-df.S: Fix comment for code working on
1258 architectures >= 4.
1259 * config/arm/ieee754-sf.S: Likewise.
1260
b72e71a3
L
12612018-07-27 H.J. Lu <hongjiu.lu@intel.com>
1262
1263 PR libgcc/85334
1264 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
1265 Removed.
1266
1c686aa4
JC
12672018-07-05 James Clarke <jrtc27@jrtc27.com>
1268
1269 * configure: Regenerated.
1270
b61c9b99
RO
12712018-06-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1272
1273 * Makefile.in (install_leaf): Use enable_gcov instead of
1274 enable_libgcov.
1275
1765b023
RV
12762018-06-27 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1277
1278 * configure.ac: Add --disable-gcov option.
1279 * configure: Regenerate.
1280 * Makefile.in: Honour @enable_gcov@.
1281
9b2e34ef
CL
12822018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
1283
1284 * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
1285 __ARM_ARCH and __ARM_FEATURE_CLZ instead.
1286 (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
1287 * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
1288 __ARM_ARCH__.
1289 * config/arm/ieee754-sf.S: Likewise.
1290 * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
1291
d1b0dd54
CL
12922018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
1293
1294 * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
1295 longer supported.
1296 * config/arm/ieee754-sf.S: Likewise.
1297
1f3fa525
TM
12982018-06-20 Than McIntosh <thanm@google.com>
1299
1300 PR libgcc/86213
1301 * generic-morestack.c (allocate_segment): Move calls to getenv and
1302 getpagesize to __morestack_load_mmap.
1303 (__morestack_load_mmap) Initialize static_pagesize and
1304 use_guard_page here so as to avoid clobbering SSE regs during a
1305 __morestack call.
1306
6a8886e4
MM
13072018-06-18 Michael Meissner <meissner@linux.ibm.com>
1308
1309 * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
1310 support modules with -mno-gnu-attribute.
1311 * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
1312
fb997097
OH
13132018-06-07 Olivier Hainque <hainque@adacore.com>
1314
1315 * config/t-vxworks (LIBGCC_INCLUDES): Add
1316 -I$(MULTIBUILDTOP)../../gcc/include.
1317 * config/t-vxworks7: Likewise. Reformat a bit to match
1318 the t-vxworks layout.
1319
a548a5a1
OM
13202018-06-07 Olga Makhotina <olga.makhotina@intel.com>
1321
1322 * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
1323
244aebfd
ML
13242018-06-07 Martin Liska <mliska@suse.cz>
1325
1326 * libgcov-driver.c: Rename cs_all to all and assign it from
92a285c1 1327 all_prg.
244aebfd 1328
6c086e8c
ML
13292018-06-07 Martin Liska <mliska@suse.cz>
1330
92a285c1 1331 PR bootstrap/86057
6c086e8c 1332 * libgcov-driver-system.c (replace_filename_variables): Use
92a285c1 1333 memcpy instead of mempcpy.
6c086e8c 1334 (allocate_filename_struct): Do not allocate filename, allocate
92a285c1 1335 prefix and set it.
6c086e8c 1336 (gcov_exit_open_gcda_file): Allocate memory for gf->filename
92a285c1 1337 here and properly copy content into it.
6c086e8c 1338 * libgcov-driver.c (struct gcov_filename): Remove max_length
92a285c1 1339 field, change prefix from size_t into char *.
6c086e8c
ML
1340 (compute_summary): Do not calculate longest filename.
1341 (gcov_do_dump): Release memory of gf.filename after each file.
1342 * libgcov-util.c (compute_summary): Use new signature of
92a285c1 1343 compute_summary.
6c086e8c
ML
1344 (calculate_overlap): Likewise.
1345
97a53d1d
ML
13462018-06-05 Martin Liska <mliska@suse.cz>
1347
1348 PR gcov-profile/47618
1349 * libgcov-driver-system.c (replace_filename_variables): New
92a285c1 1350 function.
97a53d1d
ML
1351 (gcov_exit_open_gcda_file): Use it.
1352
7f3577f5
ML
13532018-06-05 Martin Liska <mliska@suse.cz>
1354
1355 * libgcov-driver.c (gcov_compute_histogram): Remove usage
1356 of gcov_ctr_summary.
1357 (compute_summary): Do it just for a single summary.
1358 (merge_one_data): Likewise.
1359 (merge_summary): Simplify as we read just single summary.
1360 (dump_one_gcov): Pass proper argument.
1361 * libgcov-util.c (compute_one_gcov): Simplify as we have just
1362 single summary.
1363 (gcov_info_count_all_cold): Likewise.
1364 (calculate_overlap): Likewise.
1365
cf3cd43d
CJW
13662018-06-02 Chung-Ju Wu <jasonwucj@gmail.com>
1367 Monk Chiang <sh.chiang04@gmail.com>
1368
1369 * config.host (nds32*-linux*): New.
1370 * config/nds32/linux-atomic.c: New file.
1371 * config/nds32/linux-unwind.h: New file.
1372
8b8003ed
UB
13732018-05-31 Uros Bizjak <ubizjak@gmail.com>
1374
1375 PR target/85591
1376 * config/i386/cpuinfo.c (get_amd_cpu): Return
1377 AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
1378
bbdf026f
RV
13792018-05-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
1380
92a285c1 1381 * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
bbdf026f 1382
0e8f29da
ML
13832018-05-29 Martin Liska <mliska@suse.cz>
1384
92a285c1 1385 PR gcov-profile/85759
0e8f29da 1386 * libgcov-driver-system.c (gcov_error): Introduce usage of
92a285c1 1387 GCOV_EXIT_AT_ERROR env. variable.
0e8f29da 1388 * libgcov-driver.c (merge_one_data): Print error that we
92a285c1 1389 overwrite a gcov file with a different timestamp.
0e8f29da 1390
54fd1590
K
13912018-05-23 Kalamatee <kalamatee@gmail.com>
1392
1393 * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
1394 path to Lf$finfty.
1395
09baee1a
KC
13962018-05-18 Kito Cheng <kito.cheng@gmail.com>
1397 Monk Chiang <sh.chiang04@gmail.com>
1398 Jim Wilson <jimw@sifive.com>
1399
1400 * config/riscv/save-restore.S: Add support for rv32e.
1401
c3f808d3
KT
14022018-05-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1403
1404 * config/arm/libunwind.S: Update comment relating to armv5.
1405
fcf4f831
JL
14062018-05-17 Jerome Lambourg <lambourg@adacore.com>
1407
1408 * config/arm/cmse.c (cmse_check_address_range): Replace
1409 UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
1410
74b2bb19
OM
14112018-05-17 Olga Makhotina <olga.makhotina@intel.com>
1412
1413 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
1414 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
1415
50e461df
OM
14162018-05-08 Olga Makhotina <olga.makhotina@intel.com>
1417
1418 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
1419 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
1420
e5f1cdb1
AC
14212018-05-07 Amaan Cheval <amaan.cheval@gmail.com>
1422
1423 * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
1424
8f479d7a
AT
14252018-04-27 Andreas Tobler <andreast@gcc.gnu.org>
1426 Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
1427
1428 PR libgcc/84292
1429 * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
1430 op_and_fetch to return the right result.
1431
ae043291
AM
14322018-04-27 Alan Modra <amodra@gmail.com>
1433
1434 PR libgcc/85532
1435 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
1436 -fno-asynchronous-unwind-tables.
1437
ba169b74
CJW
14382018-04-25 Chung-Ju Wu <jasonwucj@gmail.com>
1439
1440 * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
1441 * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
1442
ffc2fc06
L
14432018-04-24 H.J. Lu <hongjiu.lu@intel.com>
1444
1445 * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
1446 when including "config/i386/shadow-stack-unwind.h".
1447
7b47ecf2
L
14482018-04-24 H.J. Lu <hongjiu.lu@intel.com>
1449
1450 * configure: Regenerated.
1451
661eb8f9
MM
14522018-04-20 Michael Meissner <meissner@linux.ibm.com>
1453
1454 PR target/85456
1455 * config/rs6000/_powikf2.c: New file. Add support for the
1456 __builtin_powil function when long double is IEEE 128-bit floating
1457 point.
1458 * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
1459 __powikf2 support.
1460 (__powikf2): Likewise.
1461 * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
1462 (__powikf2_hw): Likewise.
1463 (__powikf2): Likewise.
1464 * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
1465 * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
1466 (_powikf2-hw.c): Likewise.
1467
5707be3c
L
14682018-04-19 H.J. Lu <hongjiu.lu@intel.com>
1469
1470 PR libgcc/85334
1471 * unwind-generic.h (_Unwind_Frames_Increment): New.
1472 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
1473 Likewise.
1474 * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
1475 count with _Unwind_Frames_Increment.
1476 (_Unwind_ForcedUnwind_Phase2): Likewise.
1477
5f9ca0b8
L
14782018-04-19 H.J. Lu <hongjiu.lu@intel.com>
1479
1480 PR libgcc/85379
1481 * config/i386/morestack.S (__stack_split_initialize): Add
1482 _CET_ENDBR.
1483
a0e1df88
JJ
14842018-04-19 Jakub Jelinek <jakub@redhat.com>
1485
1486 * configure: Regenerated.
1487
001ddaa8
DM
14882018-04-18 David Malcolm <dmalcolm@redhat.com>
1489
1490 PR jit/85384
1491 * configure: Regenerate.
1492
a57f99ba
JJ
14932018-04-16 Jakub Jelinek <jakub@redhat.com>
1494
1495 PR target/84945
1496 * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
1497 -Wdangling-else warnings. Mask shift counts to avoid
1498 -Wshift-count-negative and -Wshift-count-overflow false positives.
1499
4d47fe5a
RB
15002018-04-06 Ruslan Bukin <br@bsdpad.com>
1501
1502 * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
1503
059cc8ac
L
15042018-03-29 H.J. Lu <hongjiu.lu@intel.com>
1505
1506 PR target/85100
1507 * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
1508 (XSTATE_FP): Likewise.
1509 (XSTATE_SSE): Likewise.
1510 (XSTATE_YMM): Likewise.
1511 (XSTATE_OPMASK): Likewise.
1512 (XSTATE_ZMM): Likewise.
1513 (XSTATE_HI_ZMM): Likewise.
1514 (XCR_AVX_ENABLED_MASK): Likewise.
1515 (XCR_AVX512F_ENABLED_MASK): Likewise.
1516 (get_available_features): Enable AVX and AVX512 features only
1517 if their states are supported by OSXSAVE.
1518
f2620385
IT
15192018-03-22 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1520
1521 PR target/85025
1522 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
1523 Fix a typo, tmp => 255.
1524
ae6dca8c
JJ
15252018-03-20 Jakub Jelinek <jakub@redhat.com>
1526
1527 PR target/84945
1528 * config/i386/cpuinfo.h (__cpu_features2): Declare.
1529 * config/i386/cpuinfo.c (__cpu_features2): New variable for
1530 ifndef SHARED only.
1531 (set_feature): Define.
1532 (get_available_features): Use set_feature macro. Set __cpu_features2
1533 to the second word of features ifndef SHARED.
1534
c36b04c1
JK
15352018-03-15 Julia Koval <julia.koval@intel.com>
1536
1537 * config/i386/cpuinfo.c (get_available_features): Add
1538 FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
1539 FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
1540 * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
1541 FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
1542 FEATURE_AVX512BITALG.
1543
79ab5364
JK
15442018-03-14 Julia Koval <julia.koval@intel.com>
1545
1546 * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
1547 icelake client and icelake server.
1548
66a00b11
JDA
15492018-03-06 John David Anglin <danglin@gcc.gnu.org>
1550
1551 * config/pa/fptr.c (_dl_read_access_allowed): New.
1552 (__canonicalize_funcptr_for_compare): Use it.
af8096fc 1553
ce579a4f
JJ
15542018-02-28 Jakub Jelinek <jakub@redhat.com>
1555
1556 PR debug/83917
1557 * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
1558 $asm_hidden_op if visibility ("hidden") attribute works.
1559 (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
1560 * config/i386/i386-asm.h: Don't include auto-host.h.
1561 (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
1562 PACKAGE_URL): Don't undefine.
1563 (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
1564 guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
1565 (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
1566 #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
1567 definition instead of hardcoded .hidden.
1568 * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
1569 directive. Use #ifdef HAVE_AS_CFI_SECTIONS rather than
1570 #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
1571 (USE_GAS_CFI_DIRECTIVES): Don't define.
1572 * configure: Regenerated.
1573 * config.in: Likewise.
1574
e5868319
JJ
15752018-02-26 Jakub Jelinek <jakub@redhat.com>
1576
1577 PR debug/83917
1578 * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
1579 PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
1580 inclusion of auto-target.h and auto-host.h.
1581 (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
1582 __GCC_HAVE_DWARF2_CFI_ASM.
1583 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
1584 cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
1585 cfi_pop): Define.
1586 * config/i386/cygwin.S: Don't include auto-host.h here, just
1587 define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
1588 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
1589 cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
1590 * config/i386/resms64fx.h: Add cfi_* directives.
1591 * config/i386/resms64x.h: Likewise.
1592
faef260e
MF
15932018-02-20 Max Filippov <jcmvbkbc@gmail.com>
1594
1595 * config/xtensa/ieee754-df.S (__adddf3_aux): Add
1596 .literal_position directive.
1597 * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
1598
14e335ed
IT
15992018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1600
1601 PR target/84148
1602 * configure: Regenerate.
1603
95df0433
IT
16042018-02-16 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1605
1606 PR target/84239
1607 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
1608 Include cetintrin.h not x86intrin.h.
1609
f8de876d
IT
16102018-02-08 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1611
1612 PR target/84239
95df0433 1613 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
f8de876d
IT
1614 Use new _get_ssp and _inc_ssp intrinsics.
1615
02da1e9c
JK
16162018-02-02 Julia Koval <julia.koval@intel.com>
1617
1618 * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
1619
048c6a9a
CZ
16202018-01-26 Claudiu Zissulescu <claziss@synopsys.com>
1621
1622 * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
1623 option.
1624 (__divsi3): Use RF16 safe registers.
1625 (__modsi3): Likewise.
1626
0889f168
MF
16272018-01-23 Max Filippov <jcmvbkbc@gmail.com>
1628
1629 * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
1630 (__divsf3): Make NaN return value quiet.
1631 * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
1632 (__divdf3): Make NaN return value quiet.
1633
bc8b0d04
SP
16342018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
1635
1636 * config/rl78/anddi3.S: New assembly file.
1637 * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
1638
99cc06ea
SP
16392018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
1640
1641 * config/rl78/umindi3.S: New assembly file.
1642 * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
1643
6e9007a0
SP
16442018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
1645
1646 * config/rl78/smindi3.S: New assembly file.
1647 * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
1648
d975e494 16492018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
af8096fc 1650
d975e494
SP
1651 * config/rl78/smaxdi3.S: New assembly file.
1652 * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
1653
6a18c146 16542018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
af8096fc 1655
5dd16013
SP
1656 * config/rl78/umaxdi3.S: New assembly file.
1657 * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
af8096fc 1658
07baf4a5
JDA
16592018-01-21 John David Anglin <danglin@gcc.gnu.org>
1660
1661 PR lto/83452
1662 * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
1663 * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
af8096fc 1664
dbc3af4f
RS
16652018-01-13 Richard Sandiford <richard.sandiford@linaro.org>
1666
1667 * config/aarch64/value-unwind.h (aarch64_vg): New function.
1668 (DWARF_LAZY_REGISTER_VALUE): Define.
1669 * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
1670 to provide a fallback register value.
1671
68df9882
MM
16722018-01-08 Michael Meissner <meissner@linux.vnet.ibm.com>
1673
1674 * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
1675 __ibm128, instead of trying to use long double.
1676 (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
1677 accomidate -mabi=ieeelongdouble multilibs.
1678 (CVT_IBM128_TO_FLOAT128): Likewise.
1679 * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
1680 the appropriate IBM extended double type.
1681 (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
1682 (__gcc_qsub): Likewise.
1683 (__gcc_qmul): Likewise.
1684 (__gcc_qdiv): Likewise.
1685 (pack_ldouble): Likewise.
1686 (__gcc_qneg): Likewise.
1687 (__gcc_qeq): Likewise.
1688 (__gcc_qne): Likewise.
1689 (__gcc_qge): Likewise.
1690 (__gcc_qle): Likewise.
1691 (__gcc_stoq): Likewise.
1692 (__gcc_dtoq): Likewise.
1693 (__gcc_itoq): Likewise.
1694 (__gcc_utoq): Likewise.
1695 (__gcc_qunord): Likewise.
1696 * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
1697 quad-float128.h for the definitions.
1698 (COPYSIGN): Use the f128 version instead of the q version.
1699 (INFINITY): Likewise.
1700 (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
1701 * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
1702 quad-float128.h for the definitions.
1703 (COPYSIGN): Use the f128 version instead of the q version.
1704 (INFINITY): Likewise.
1705 (FABS): Likewise.
1706 (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
1707 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
1708 * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
1709
64b371b1
SH
17102018-01-05 Sebastian Huber <sebastian.huber@embedded-brains.de>
1711
1712 * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
1713 configuration.
1714
85ec4feb
JJ
17152018-01-03 Jakub Jelinek <jakub@redhat.com>
1716
1717 Update copyright years.
1718
17192017-12-12 Kito Cheng <kito.cheng@gmail.com>
b8d7e076
KC
1720
1721 * config/riscv/t-elf: Use multi3.c instead of multi3.S.
1722 * config/riscv/multi3.c: New file.
1723 * config/riscv/multi3.S: Remove.
1724
3a4c600f
JW
17252017-12-08 Jim Wilson <jimw@sifive.com>
1726
1727 * config/riscv/div.S: Use FUNC_* macros.
1728 * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
1729 * config/riscv/save-restore.S: Likewise.
1730 * config/riscv/riscv-asm.h: New.
1731
75ad35b5
MM
17322017-11-30 Michael Meissner <meissner@linux.vnet.ibm.com>
1733
6ae3512c
MM
1734 * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
1735 * config/rs6000/_divkc3.c (__divkc3): Likewise.
1736
75ad35b5
MM
1737 PR libgcc/83112
1738 * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
1739 correct type for all ifunc resolvers to silence -Wattribute-alias
1740 warnings. Eliminate the forward declaration of the resolver
1741 functions which is no longer needed.
1742 (__subkf3_resolve): Likewise.
1743 (__mulkf3_resolve): Likewise.
1744 (__divkf3_resolve): Likewise.
1745 (__negkf2_resolve): Likewise.
1746 (__eqkf2_resolve): Likewise.
1747 (__nekf2_resolve): Likewise.
1748 (__gekf2_resolve): Likewise.
1749 (__gtkf2_resolve): Likewise.
1750 (__lekf2_resolve): Likewise.
1751 (__ltkf2_resolve): Likewise.
1752 (__unordkf2_resolve): Likewise.
1753 (__extendsfkf2_resolve): Likewise.
1754 (__extenddfkf2_resolve): Likewise.
1755 (__trunckfsf2_resolve): Likewise.
1756 (__trunckfdf2_resolve): Likewise.
1757 (__fixkfsi_resolve): Likewise.
1758 (__fixkfdi_resolve): Likewise.
1759 (__fixunskfsi_resolve): Likewise.
1760 (__fixunskfdi_resolve): Likewise.
1761 (__floatsikf_resolve): Likewise.
1762 (__floatdikf_resolve): Likewise.
1763 (__floatunsikf_resolve): Likewise.
1764 (__floatundikf_resolve): Likewise.
1765 (__extendkftf2_resolve): Likewise.
1766 (__trunctfkf2_resolve): Likewise.
1767
1768 PR libgcc/83103
1769 * config/rs6000/quad-float128.h (TF): Don't define if long double
1770 is IEEE 128-bit floating point.
1771 (TCtype): Define as either TCmode or KCmode, depending on whether
1772 long double is IEEE 128-bit floating point.
1773 (__mulkc3_sw): Add declarations for software/hardware versions of
1774 complex multiply/divide.
1775 (__divkc3_sw): Likewise.
1776 (__mulkc3_hw): Likewise.
1777 (__divkc3_hw): Likewise.
1778 * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
1779 handlers to switch between using software emulation and hardware
1780 float128 instructions, build the complex multiply/divide functions
1781 for both software and hardware support.
1782 * config/rs6000/_divkc3.c (_divkc3): Likewise.
1783 * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
1784 (__divkc3_resolve): Likewise.
1785 (__mulkc3): Likewise.
1786 (__divkc3): Likewise.
1787 * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
1788 (fp128_hw_src): Likewise.
1789 (fp128_hw_static_obj): Likewise.
1790 (fp128_hw_shared_obj): Likewise.
1791 (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
1792 _mulkc3.c and _divkc3.c, changing the function name.
1793 (_divkc3-hw.c): Likewise.
1794 * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
1795 and _divkc3-hw.c.
1796
c234d831
UB
17972017-11-26 Julia Koval <julia.koval@intel.com>
1798
1799 * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
1800 * config/i386/cpuinfo.h (processor_subtypes): Add
1801 INTEL_COREI7_CANNONLAKE.
1802
1ebafce0
IT
18032017-11-20 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1804
1805 PR bootstrap/83015
1806 * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
1807 parameter.
1808 * config/xtensa/unwind-dw2-xtensa.c: Likewise
1809 * config/ia64/unwind-ia64.c: Add frames parameter.
1810 * unwind-sjlj.c: Likewise.
1811
6a10fff4
IT
18122017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1813
1814 * config/i386/linux-unwind.h: Include
1815 config/i386/shadow-stack-unwind.h.
1816 * config/i386/shadow-stack-unwind.h: New file.
1817 * unwind-dw2.c: (uw_install_context): Add a frame parameter and
1818 pass it to _Unwind_Frames_Extra.
1819 * unwind-generic.h (_Unwind_Frames_Extra): New.
1820 * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
1821 parameter. Add local variable frames to count number of frames.
1822 (_Unwind_ForcedUnwind_Phase2): Likewise.
1823 (_Unwind_RaiseException): Add local variable frames to count
1824 number of frames, pass it to _Unwind_RaiseException_Phase2 and
1825 uw_install_context.
1826 (_Unwind_ForcedUnwind): Likewise.
1827 (_Unwind_Resume): Likewise.
1828 (_Unwind_Resume_or_Rethrow): Likewise.
1829
1ecae1fc
IT
18302017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1831
1832 * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
1833 (CET_FLAGS): New.
1834 * config/i386/morestack.S: Include <cet.h>.
1835 (__morestack_large_model): Add _CET_ENDBR at function entrance.
1836 * config/i386/resms64.h: Include <cet.h>.
1837 * config/i386/resms64f.h: Likewise.
1838 * config/i386/resms64fx.h: Likewise.
1839 * config/i386/resms64x.h: Likewise.
1840 * config/i386/savms64.h: Likewise.
1841 * config/i386/savms64f.h: Likewise.
1842 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
1843 (CRTSTUFF_T_CFLAGS): Likewise.
1844 * configure.ac: Include ../config/cet.m4.
1845 Set and substitute CET_FLAGS.
1846 * configure: Regenerated.
1847
f021f1d3
RO
18482017-11-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1849
1850 * config.host (*-*-solaris2*): Adapt comment for Solaris 12
1851 renaming.
1852 * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
1853 * configure.ac (libgcc_cv_solaris_crts): Likewise.
1854 * configure: Regenerate.
1855
65f480c7
TV
18562017-11-07 Tom de Vries <tom@codesourcery.com>
1857
1858 * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
1859 after "do {} while (0)".
1860
2a321acb
TV
18612017-11-07 Tom de Vries <tom@codesourcery.com>
1862
1863 PR other/82784
1864 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
1865 semicolon after "do {} while (0)".
1866 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1867 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1868 * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1869 * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1870
59fcf6c3
AT
18712017-11-04 Andreas Tobler <andreast@gcc.gnu.org>
1872
1873 PR libgcc/82635
1874 * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
1875 sysctl to determine whether we're in a trampoline.
1876 Keep the pattern matching method for systems without
1877 KERN_PROC_SIGTRAMP sysctl.
1878
b0c7ddf8
CM
18792017-11-03 Cupertino Miranda <cmiranda@synopsys.com>
1880 Vineet Gupta <vgupta@synopsys.com>
1881
1882 * config.host (arc*-*-linux*): Set md_unwind_header variable.
1883 * config/arc/linux-unwind-reg.def: New file.
1884 * config/arc/linux-unwind-reg.h: Likewise.
1885
5feee954
SP
18862017-10-23 Sebastian Perta <sebastian.perta@renesas.com>
1887
1888 * config/rl78/subdi3.S: New assembly file.
1889 * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
1890
a0bf6cf7
SP
18912017-10-13 Sebastian Perta <sebastian.perta@renesas.com>
1892
1893 * config/rl78/adddi3.S: New assembly file.
1894 * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
1895
e7176f75
JJ
18962017-10-13 Jakub Jelinek <jakub@redhat.com>
1897
1898 PR target/82274
1899 * libgcc2.c (__mulvDI3): If both operands have
1900 the same highpart of -1 and the topmost bit of lowpart is 0,
1901 multiplication overflows even if both lowparts are 0.
1902
db6601d2
JB
19032017-09-28 James Bowman <james.bowman@ftdichip.com>
1904
1905 * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
1906
938b6f1e
JM
19072017-09-26 Joseph Myers <joseph@codesourcery.com>
1908
1909 * config/microblaze/crti.S, config/microblaze/crtn.S,
1910 config/microblaze/divsi3.S, config/microblaze/moddi3.S,
1911 config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
1912 config/microblaze/mulsi3.S,
1913 config/microblaze/stack_overflow_exit.S,
1914 config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
1915 config/pa/milli64.S: Add .note.GNU-stack section.
1916
89762a83
DS
19172017-09-23 Daniel Santos <daniel.santos@pobox.com>
1918
1919 * configure.ac: Add Check for HAVE_AS_AVX.
1920 * config.in: Regenerate.
1921 * configure: Likewise.
1922 * config/i386/i386-asm.h: Include auto-target.h from libgcc.
1923 (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
1924 Correct out-of-date comments.
1925
cace2309
SP
19262017-09-20 Sebastian Peryt <sebastian.peryt@intel.com>
1927
1928 * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
1929 * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
1930
3cb626e4
DS
19312017-09-17 Daniel Santos <daniel.santos@pobox.com>
1932
cace2309 1933 * config/i386/i386-asm.h (PASTE2): New macro.
3cb626e4
DS
1934 (ASMNAME): Modify to use PASTE2.
1935 (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
1936 (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
cace2309 1937 * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
3cb626e4 1938 instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
cace2309
SP
1939 * config/i386/resms64f.S: Likewise.
1940 * config/i386/resms64fx.S: Likewise.
1941 * config/i386/resms64x.S: Likewise.
1942 * config/i386/savms64.S: Likewise.
1943 * config/i386/savms64f.S: Likewise.
1944 * config/i386/avx_resms64.S: New file that only defines a macro and
3cb626e4 1945 includes it's corresponding header file.
cace2309
SP
1946 * config/i386/avx_resms64f.S: Likewise.
1947 * config/i386/avx_resms64fx.S: Likewise.
1948 * config/i386/avx_resms64x.S: Likewise.
1949 * config/i386/avx_savms64.S: Likewise.
1950 * config/i386/avx_savms64f.S: Likewise.
1951 * config/i386/sse_resms64.S: Likewise.
1952 * config/i386/sse_resms64f.S: Likewise.
1953 * config/i386/sse_resms64fx.S: Likewise.
1954 * config/i386/sse_resms64x.S: Likewise.
1955 * config/i386/sse_savms64.S: Likewise.
1956 * config/i386/sse_savms64f.S: Likewise.
1957 * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
3cb626e4 1958
2f19c491 19592017-09-01 Olivier Hainque <hainque@adacore.com>
2f19c491
OH
1960 * config.host (*-*-vxworks7): Widen scope to vxworks7*.
1961
611e7036
OH
19622017-08-31 Olivier Hainque <hainque@adacore.com>
1963
1964 * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
1965 match as powerpc-wrs-vxworks*.
1966
c8f34527
JY
19672017-08-07 Jonathan Yong <10walls@gmail.com>
1968
1969 * config.host (*-cygwin): Include file from mingw
1970 config/i386/enable-execute-stack-mingw32.c
1971
0b458d2b 19722017-08-01 Jerome Lambourg <lambourg@adacore.com>
92a285c1
ML
1973 Doug Rupp <rupp@adacore.com>
1974 Olivier Hainque <hainque@adacore.com>
0b458d2b
JL
1975
1976 * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
1977 as well as arm-wrs-vxworks.
1978 * config/arm/t-vxworks7: New file. Add unwind-arm-vxworks.c to
1979 LIB2ADDEH.
1980 * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
1981 __exidx_start and __exidx_end for downloadable modules.
1982
4df612fa
OH
19832017-08-01 Olivier Hainque <hainque@adacore.com>
1984
1985 * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
1986 * config/t-vxworks7: Likewise.
1987
5560e8c0
OH
19882017-08-01 Olivier Hainque <hainque@adacore.com>
1989
1990 * config/t-vxworks: Instead of redefining LIB2ADD,
1991 augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
1992
16bab95a
SH
19932017-07-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1994
1995 * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
1996
9cbc07cc
DS
19972017-07-24 Daniel Santos <daniel.santos@pobox.com>
1998
1999 PR testsuite/80759
2000 * config.host: include i386/t-msabi for darwin and solaris.
2001 * config/i386/i386-asm.h
2002 (ELFFN): Rename to FN_TYPE.
2003 (FN_SIZE): New macro.
2004 (FN_HIDDEN): Likewise.
2005 (ASMNAME): Likewise.
2006 (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
2007 .globl.
2008 (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
2009 (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
2010 * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
2011 .macro.
2012 * config/i386/resms64f.S: Likewise.
2013 * config/i386/resms64fx.S: Likewise.
2014 * config/i386/resms64x.S: Likewise.
2015 * config/i386/savms64.S: Likewise.
2016 * config/i386/savms64f.S: Likewise.
2017
de742204
JM
20182017-07-19 John Marino <gnugcc@marino.st>
2019
2020 * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
2021
3787ee47
MM
20222017-07-12 Michael Meissner <meissner@linux.vnet.ibm.com>
2023
2024 PR target/81193
2025 * configure.ac (PowerPC float128 hardware support): Test whether
2026 we can use __builtin_cpu_supports before enabling the ifunc
2027 handler.
2028 * configure: Regenerate.
2029
b1938888
VG
20302017-07-10 Vineet Gupta <vgupta@synopsys.com>
2031
2032 * config.host: Remove uclibc from arc target spec.
2033
bec75e53
KW
20342017-07-09 Krister Walfridsson <krister.walfridsson@gmail.com>
2035
2036 * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
2037
d4391a62
PB
20382017-07-07 Peter Bergner <bergner@vnet.ibm.com>
2039
2040 * config/rs6000/float128-ifunc.c: Don't include auxv.h.
2041 (have_ieee_hw_p): Delete function.
2042 (SW_OR_HW) Use __builtin_cpu_supports().
2043
9296dd9b
TP
20442017-07-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
2045
2046 * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
2047
b85a969e
OH
20482017-07-03 Olivier Hainque <hainque@adacore.com>
2049
d4391a62 2050 * config/t-vxworks7: New file, really.
b85a969e 2051
883312dc
JM
20522017-06-28 Joseph Myers <joseph@codesourcery.com>
2053
2054 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
2055 config/alpha/linux-unwind.h (alpha_fallback_frame_state),
2056 config/bfin/linux-unwind.h (bfin_fallback_frame_state),
2057 config/i386/linux-unwind.h (x86_64_fallback_frame_state,
2058 x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
2059 uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
2060 config/pa/linux-unwind.h (pa32_fallback_frame_state),
2061 config/riscv/linux-unwind.h (riscv_fallback_frame_state),
2062 config/sh/linux-unwind.h (sh_fallback_frame_state),
2063 config/tilepro/linux-unwind.h (tile_fallback_frame_state),
2064 config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
2065 ucontext_t instead of struct ucontext.
2066
50567938
JL
20672017-06-27 Jerome Lambourg <lambourg@adacore.com>
2068
2069 * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
2070 (x86_64-wrs-vxworks7): Likewise.
2071
e4b0df93
OH
20722017-06-27 Olivier Hainque <hainque@adacore.com>
2073
2074 * config/t-vxworks7: New file.
2075 * config.host (*-*-vxworks7): Use it.
2076
60edf8bb
MT
20772017-06-22 Matt Turner <mattst88@gmail.com>
2078
2079 * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
2080 skylake case.
2081
a51a76e5
RB
20822017-06-21 Richard Biener <rguenther@suse.de>
2083
2084 PR gcov-profile/81080
2085 * configure.ac: Add AC_SYS_LARGEFILE.
2086 * libgcov.h: Include auto-target.h before tsystem.h to pick
2087 up _FILE_OFFSET_BITS which might differ for multilibs.
2088 * config.in: Regenerate.
2089 * configure: Likewise.
2090
f0cd49c5
RE
20912017-06-16 Richard Earnshaw <rearnsha@arm.com>
2092
2093 * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
2094
4f751c54
ML
20952017-06-09 Martin Liska <mliska@suse.cz>
2096
2097 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
2098 Reset __gcov_indirect_call_callee to NULL.
2099
1ac644c8
OH
21002017-06-08 Olivier Hainque <hainque@adacore.com>
2101
2102 * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
2103 the set of -I options, support for direct inclusions of net/uio.h
2104 by VxWorks header files via ioLib.h.
2105
d8b9cd27
TR
21062017-06-07 Tony Reix <tony.reix@atos.net>
2107 Matthieu Sarter <matthieu.sarter.external@atos.net>
2108 David Edelsohn <dje.gcc@gmail.com>
2109
92a285c1
ML
2110 * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
2111 unconditionally.
2112 (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support. Add 32-bit
2113 AIX 7.2 support.
d8b9cd27 2114
38a75ccc
OH
21152017-06-02 Olivier Hainque <hainque@adacore.com>
2116
2117 * config/vxlib.c (__gthread_once): Add missing value to
2118 return statement.
2119
5b2edf53
OH
21202017-05-30 Olivier Hainque <hainque@adacore.com>
2121
2122 * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
2123 dollar sign before $(MULTIDIR).
2124
7d66e265
RH
21252017-05-26 Richard Henderson <rth@redhat.com>
2126
2127 PR libgcc/80037
2128 * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
2129
78eca309
AT
21302017-05-17 Andreas Tobler <andreast@gcc.gnu.org>
2131
2132 * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
2133 _Unwind_SetIP available as functions for arm*-*-freebsd*.
2134 * config/arm/unwind-arm.c: Implement the above.
2135
c39d309a
AZ
21362017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2137
2138 * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
2139 section for a non-executable stack.
2140
eac8c9f2
KW
21412017-05-14 Krister Walfridsson <krister.walfridsson@gmail.com>
2142
2143 PR target/80600
2144 * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
2145
d6d4d770
DS
21462017-05-14 Daniel Santos <daniel.santos@pobox.com>
2147
2148 * config.host: Add i386/t-msabi to i386/t-linux file list.
2149 * config/i386/i386-asm.h: New file.
2150 * config/i386/resms64.S: New file.
2151 * config/i386/resms64f.S: New file.
2152 * config/i386/resms64fx.S: New file.
2153 * config/i386/resms64x.S: New file.
2154 * config/i386/savms64.S: New file.
2155 * config/i386/savms64f.S: New file.
2156 * config/i386/t-msabi: New file.
2157
8ef2b9a7
AT
21582017-05-09 Andreas Tobler <andreast@gcc.gnu.org>
2159
2160 * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
2161 arm*-*-freebsd* instead of the t-slibgcc-libgcc.
2162
7ab8766a
JC
21632017-05-05 Joshua Conner <joshconner@google.com>
2164
2165 * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
2166 pc-relative indirect handling for fuchsia.
2167 * config/t-slibgcc-fuchsia: New file.
2168 * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
d6d4d770 2169 x86_64-*-fuchsia*): Add definitions.
7ab8766a 2170
46928a8f
ML
21712017-04-19 Martin Liska <mliska@suse.cz>
2172
2173 PR gcov-profile/80435
2174 * Makefile.in: Install gcov.h.
2175 * gcov.h: New file.
2176 * libgcov.h: Use the header and make __gcov_flush publicly
2177 visible.
2178
63971184
ML
21792017-04-18 Martin Liska <mliska@suse.cz>
2180
2181 PR gcov-profile/78783
2182 * libgcov-driver.c (gcov_get_filename): New function.
2183
29d8aae6
JL
21842017-04-07 Jeff Law <law@redhat.com>
2185
2186 * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
2187 target makefile fragment.
2188 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
2189
2bdf7fc6
AM
21902017-04-07 Alan Modra <amodra@gmail.com>
2191
2192 PR target/45053
2193 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
2194
5764ee3c
JW
21952017-04-03 Jonathan Wakely <jwakely@redhat.com>
2196
2197 * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
2198
c4192ad7
CZ
21992017-03-27 Claudiu Zissulescu <claziss@synopsys.com>
2200
2201 * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
2202
4ccfdb28
JM
22032017-03-10 John Marino <gnugcc@marino.st>
2204
2205 * config/aarch64/freebsd-unwind.h: New file.
2206 * config.host: Add aarch64-*-freebsd unwinder.
2207
4144e4e3
SB
22082017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
2209
2210 * config/rs6000/crtrestvr.s: Use .machine altivec.
2211 * config/rs6000/crtsavevr.s: Ditto.
2212
7502c597
SB
22132017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
2214
2215 * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
2216 modify CFLAGS. Add -mabi=altivec -mvsx -mfloat128.
2217 (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
2218 -mfloat128-hardware to the CFLAGS. Fix syntax error in the C snippet.
2219 * configure: Regenerate.
2220 * config.in: Regenerate.
2221
db9f7f65
JY
22222017-03-02 Jonathan Yong <10walls@gmail.com>
2223
2224 * config/i386/gthr-win32.h: Define NOGDI before
2225 windows.h include to prevent w32api CC_NONE macro
2226 clash with libgfortran.
2227
126437c5
JY
22282017-03-02 Jonathan Yong <10walls@gmail.com>
2229
2230 * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
2231
31927af6
AP
22322017-02-16 Andrew Pinski <apinski@cavium.com>
2233
2234 * config/aarch64/value-unwind.h: New file.
2235 * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
2236 to tm_file.
2237
0bd99911
PD
22382017-02-06 Palmer Dabbelt <palmer@dabbelt.com>
2239
2240 * config.host: Add RISC-V tuples.
2241 * config/riscv/atomic.c: New file.
2242 * config/riscv/crti.S: Likewise.
2243 * config/riscv/crtn.S: Likewise.
2244 * config/riscv/div.S: Likewise.
2245 * config/riscv/linux-unwind.h: Likewise.
2246 * config/riscv/muldi3.S: Likewise.
2247 * config/riscv/multi3.S: Likewise.
2248 * config/riscv/save-restore.S: Likewise.
2249 * config/riscv/sfp-machine.h: Likewise.
2250 * config/riscv/t-elf: Likewise.
2251 * config/riscv/t-elf32: Likewise.
2252 * config/riscv/t-elf64: Likewise.
2253 * config/riscv/t-softfp32: Likewise.
2254 * config/riscv/t-softfp64: Likewise.
2255
a8c9ef2a
JJ
22562017-01-24 Jakub Jelinek <jakub@redhat.com>
2257
2258 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
2259 /* FALLTHRU */ comments.
2260
c6c82710
GP
22612017-01-21 Gerald Pfeifer <gerald@pfeifer.com>
2262
2263 * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
2264
a876231c
JW
22652017-01-20 Jiong Wang <jiong.wang@arm.com>
2266
2267 * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
2268 * unwind-dw2.c (execute_cfa_program): Only multiplexing
2269 DW_CFA_GNU_window_save for AArch64 and LP64.
2270
aa348be2
JW
22712017-01-20 Jiong Wang <jiong.wang@arm.com>
2272
2273 * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
2274
5636faf2
JW
22752017-01-19 Jiong Wang <jiong.wang@arm.com>
2276
2277 * config/aarch64/aarch64-unwind.h: New file.
2278 (DWARF_REGNUM_AARCH64_RA_STATE): Define.
2279 (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
2280 (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
2281 (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
2282 (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
2283 (aarch64_post_extract_frame_addr): New function.
2284 (aarch64_post_frob_eh_handler_addr): New function.
2285 (aarch64_frob_update_context): New function.
2286 * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
2287 * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
2288 aarch64*-*-freebsd*):
2289 Initialize md_unwind_header to include aarch64-unwind.h.
2290 * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
2291 (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
2292 __aarch64__.
2293 (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
2294 (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
2295 (uw_frob_return_addr): New function.
2296 (uw_install_context): Use uw_frob_return_addr.
2297
3c36aa6b
JJ
22982017-01-17 Jakub Jelinek <jakub@redhat.com>
2299
2300 PR other/79046
2301 * configure.ac: Add GCC_BASE_VER.
2302 * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
2303 version from BASE-VER file.
2304 * configure: Regenerated.
2305
829afb8f
JS
23062017-01-13 Joe Seymour <joe.s@somniumtech.com>
2307
2308 * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
2309 libmul_f5.a): Filter archived prerequisites.
2310
79fc8ffe
AS
23112017-01-10 Andrew Senkevich <andrew.senkevich@intel.com>
2312
2313 * config/i386/cpuinfo.h (processor_features): Add
2314 FEATURE_AVX512VPOPCNTDQ.
2315 * config/i386/cpuinfo.c (get_available_features): Habdle new
2316 feature.
2317
fec5f4e0
JM
23182017-01-04 Joseph Myers <joseph@codesourcery.com>
2319
2320 * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
2321 payload if [__mips_nan2008].
2322
8f56cb51
AM
23232017-01-04 Alan Modra <amodra@gmail.com>
2324
2325 * Makefile.in (configure_deps): Update.
2326 * configure: Regenerate.
2327
cbe34bb5
JJ
23282017-01-01 Jakub Jelinek <jakub@redhat.com>
2329
2330 Update copyright years.
2331
ab955692
KW
23322016-12-19 Krister Walfridsson <krister.walfridsson@gmail.com>
2333
2334 * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
2335 * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
2336 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
2337
de34320f
MK
23382016-12-17 Matthias Klose <doko@ubuntu.com>
2339
2340 * config/arc/gmon: Remove empty directory.
2341
e04ea1da
CZ
23422016-12-16 Claudiu Zissulescu <claziss@synopsys.com>
2343
2344 * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
2345 crtgend.
2346 (arc*-*-elf*): Likewise.
2347 * config/arc/t-arc: Remove old gmon lib targets.
2348 * config/arc/crtg.S: Remove.
2349 * config/arc/crtgend.S: Likewise.
2350 * config/arc/gmon/atomic.h: Likewise.
2351 * config/arc/gmon/auxreg.h: Likewise.
2352 * config/arc/gmon/dcache_linesz.S: Likewise.
2353 * config/arc/gmon/gmon.c: Likewise.
2354 * config/arc/gmon/machine-gmon.h: Likewise.
2355 * config/arc/gmon/mcount.c: Likewise.
2356 * config/arc/gmon/prof-freq-stub.S: Likewise.
2357 * config/arc/gmon/prof-freq.c: Likewise.
2358 * config/arc/gmon/profil.S: Likewise.
2359 * config/arc/gmon/sys/gmon.h: Likewise.
2360 * config/arc/gmon/sys/gmon_out.h: Likewise.
2361 * config/arc/t-arc-newlib: Likewise.
2362 * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
2363
8ae1c2c1
GS
23642016-12-12 George Spelvin <linux@sciencehorizons.net>
2365
2366 * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
2367
a5b947fa
GS
23682016-12-12 George Spelvin <linux@sciencehorizons.net>
2369
2370 * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
2371 R16 instead of push + pop.
2372 (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
2373
d6574dd1
KW
23742016-12-10 Krister Walfridsson <krister.walfridsson@gmail.com>
2375
2376 * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
2377 tmake_file.
2378
62440b4f
CM
23792016-12-05 Cupertino Miranda <cmiranda@synopsys.com>
2380
2381 * config.host (arc*-*-linux-uclibc*): Use default extra
2382 objects. Include linux-android header.
2383 * config/arc/crti.S (_init): Declare symbol as function.
2384 (_fini): Likewise.
2385
31cfd832
TK
23862016-12-03 Thomas Koenig <tkoenig@gcc.gnu.org>
2387
2388 PR fortran/78379
2389 * config/i386/cpuinfo.c: Move denums for processor vendors,
2390 processor type, processor subtypes and declaration of
2391 struct __processor_model into
2392 * config/i386/cpuinfo.h: New header file.
2393
c92e08e3
AV
23942016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
2395 Thomas Preud'homme <thomas.preudhomme@arm.com>
2396
2397 * config/arm/cmse_nonsecure_call.S: New.
2398 * config/arm/t-arm: Compile cmse_nonsecure_call.S
2399
de7b5723
AV
24002016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
2401 Thomas Preud'homme <thomas.preudhomme@arm.com>
2402
2403 * config/arm/t-arm (HAVE_CMSE): New.
2404 * config/arm/cmse.c: New.
2405
7a0d2bce
TP
24062016-11-28 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2407
b3a5bff4
TP
2408 PR gcc/74748
2409 * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
2410 use generic linker version information on Blackfin.
2411
7a0d2bce
TP
2412 PR gcc/74748
2413 * libgcc/mkmap-symver.awk: add support for skip_underscore
2414
b410cf1d
IS
24152016-11-27 Iain Sandoe <iain@codesourcery.com>
2416 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2417
2418 PR target/67710
2419 * config/t-darwin: Default builds to 10.5 codegen.
2420
2e5f8203
JG
24212016-11-24 James Greenhalgh <james.greenhalgh@arm.com>
2422
2423 * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
2424 (_FP_NANSIGN_H): Likewise.
2425 * config/aarch64/t-softfp (softfp_extensions): Add hftf.
2426 (softfp_truncations): Add tfhf.
2427 (softfp_extras): Add required conversion functions.
2428
bea64ca3
JG
24292016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
2430 Matthew Wahab <matthew.wahab@arm.com>
2431
2432 * config/arm/fp16.c (binary64): New.
2433 (__gnu_d2h_internal): New.
2434 (__gnu_d2h_ieee): New.
2435 (__gnu_d2h_alternative): New.
2436
8630cadb
JG
24372016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
2438 Matthew Wahab <matthew.wahab@arm.com>
2439
2440 * config/arm/fp16.c (struct format): New.
2441 (binary32): New.
2442 (__gnu_float2h_internal): New. Body moved from
2443 __gnu_f2h_internal and generalize.
2444 (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
2445 Call it with binary32.
2446
5823ef23
JG
24472016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
2448
2449 * soft-fp/extendhftf2.c: Update from glibc.
2450 * soft-fp/fixhfti.c: Likewise.
2451 * soft-fp/fixunshfti.c: Likewise.
2452 * soft-fp/floattihf.c: Likewise.
2453 * soft-fp/floatuntihf.c: Likewise.
2454 * soft-fp/half.h: Likewise.
2455 * soft-fp/trunctfhf2.c: Likewise.
2456
62a7df9f
MG
24572016-11-20 Marc Glisse <marc.glisse@inria.fr>
2458
2459 PR libgcc/77813
2460 * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
2461 __TMC_END__ behind a passthrough asm.
2462
7a384912
WL
24632016-11-18 Walter Lee <walt@tilera.com>
2464
62a7df9f 2465 * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
7a384912 2466
9775c1a5
L
24672016-11-17 Andrew Senkevich <andrew.senkevich@intel.com>
2468
2469 * config/i386/cpuinfo.c (processor_features): Add
2470 FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
2471
48c842ab
CZ
24722016-11-17 Claudiu Zissulescu <claziss@synopsys.com>
2473
2474 * config/arc/dp-hack.h (ARC_OPTFPE): Define.
2475 (__ARC_NORM__): Use instead ARC_OPTFPE.
2476 * config/arc/fp-hack.h: Likewise.
2477 * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
2478 (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
2479
5012919d
AM
24802016-11-16 Alexander Monakov <amonakov@ispras.ru>
2481
2482 * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
2483 * config/nvptx/mgomp.c: New file.
2484 * config/nvptx/t-nvptx: Add mgomp.c
2485
00178b98
WB
24862016-11-16 Waldemar Brodkorb <wbx@openadk.org>
2487
2488 PR libgcc/68468
2489 * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
2490
d64af69f
CZ
24912016-11-15 Claudiu Zissulescu <claziss@synopsys.com>
2492
2493 * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
2494 of checking for cpus.
2495 (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
2496 (__modsi3, __clzsi2): Likewise.
2497
9d8f95de
SN
24982016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
2499
2500 * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
2501 i386/t-cpuinfo-static instead of i386/t-cpuinfo.
2502 * config/i386/t-cpuinfo-static: New.
2503
7d29f8e3
ML
25042016-11-03 Martin Liska <mliska@suse.cz>
2505
2506 * libgcov-profiler.c (__gcov_time_profiler): Remove.
2507 (__gcov_time_profiler_atomic): Likewise.
2508
5de3e2d8
BE
25092016-11-03 Bernd Edlinger <bernd.edlinger@hotmail.de>
2510
2511 PR libgcc/78067
2512 * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
2513 count_leading_zeros.
2514
18362447
UB
25152016-11-02 Uros Bizjak <ubizjak@gmail.com>
2516
2517 * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
2518 * libgcc2.c (__divmoddi4): New function.
2519 * libgcc2.h (__divmoddi4): Declare.
2520 * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
2521 and __PFX_divmodti4.
2522
33107571
FW
25232016-10-24 Florian Weimer <fweimer@redhat.com>
2524
2525 PR libgcc/78064
2526 * unwind-c.c: Include auto-target.h.
2527
4c6d7494
JDA
25282016-10-19 John David Anglin <danglin@gcc.gnu.org>
2529
18362447 2530 * config/pa/pa64-hpux-lib.h: New file.
4c6d7494
JDA
2531 (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
2532 (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
2533 * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
2534 hppa*64*-*-hpux11*.
2535
2a26adf1
MF
25362016-10-18 Max Filippov <jcmvbkbc@gmail.com>
2537
2538 * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
2539 definition.
2540 * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
2541 definition.
2542 * config/xtensa/t-windowed (LIB2ADDEH): Use
2543 LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
2544 or xtensa/t-linux.
2545
66192aa1
DKC
25462016-10-18 Ding-Kai Chen <dkchen@cadence.com>
2547
2548 * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
2549 __ieee754_sqrt): New functions.
2550 (__divdf3): Add implementation with new FPU instructions under
2551 #if XCHAL_HAVE_DFP_DIV.
2552 * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
2553 __ieee754_sqrtf): New functions.
2554 (__divsf3): Add implementation with new FPU instructions under
2555 #if XCHAL_HAVE_FP_DIV.
2556 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
2557 _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
2558
4d0cdd0c
TP
25592016-10-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
2560
2561 * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
2562 equivalent.
2563 * config/tilepro/atomic.c: Likewise and stop casting model to
2564 enum memmodel.
2565
73f01cca
JM
25662016-10-10 Joseph Myers <joseph@codesourcery.com>
2567
2568 PR target/77586
2569 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
2570 soft-fp.
2571
b20e7532
AT
25722016-10-10 Andreas Tobler <andreast@gcc.gnu.org>
2573
2574 * config.host: Add support for aarch64-*-freebsd*.
2575
a786cec4
AS
25762016-10-05 Andreas Schwab <schwab@suse.de>
2577
2578 * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
2579 (.section .init_array): Don't call __do_jv_register_classes.
2580 (.section .init): Likewise.
2581
5a79befb
JJ
25822016-10-04 Jakub Jelinek <jakub@redhat.com>
2583
2584 * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
2585 (__JCR_LIST__): Remove.
2586 (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
2587 * config/i386/cygming-crtend.c (__JCR_END__): Remove.
2588 * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
2589 * config/ia64/crtend.S (__JCR_END__): Remove.
2590 * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
2591 conditionals.
2592 (__JCR_LIST__, __JCR_END__): Remove.
2593 (frame_dummy): Don't attempt to _Jv_RegisterClasses.
2594 (__do_global_ctors_1): Likewise.
2595
e0ab3753
UB
25962015-09-28 Uros Bizjak <ubizjak@gmail.com>
2597
2598 * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
2599 (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
2600
8c9434c2
ML
26012016-09-27 Martin Liska <mliska@suse.cz>
2602
2603 PR gcov-profile/7970
2604 PR gcov-profile/16855
2605 PR gcov-profile/44779
2606 * libgcov-driver.c (__gcov_init): Do not register a atexit
2607 handler.
2608 (__gcov_exit): Rename from gcov_exit.
2609 * libgcov.h (__gcov_exit): Declare.
2610
56b653f1
ML
26112016-09-27 Martin Liska <mliska@suse.cz>
2612
2613 PR bootstrap/77749
2614 * Makefile.in: Remove _gcov_merge_delta.
2615 * libgcov-merge.c (void __gcov_merge_delta): Remove.
2616 * libgcov-util.c (__gcov_delta_counter_op): Remove.
2617 * libgcov.h: Remove declaration of __gcov_merge_delta.
2618
7e02fd1b
EB
26192016-09-21 Eric Botcazou <ebotcazou@adacore.com>
2620
2621 * configure.ac: Do not create links, only substitute the filenames.
2622 * configure: Regenerate.
2623 * Makefile.in: Assign the substitution results to variables.
2624 (LIBGCC_LINKS): Define.
2625 (enable-execute-stack.c): New rule.
2626 (unwind.h): Likewise.
2627 (md-unwind-support.h): Likewise.
2628 (sfp-machine.h): Likewise.
2629 (gthr-default.h): Likewise.
2630 Add $(LIBGCC_LINKS) to the prerequisites of all object files and
2631 unwind.h as prerequisite of install-unwind_h-forbuild.
2632
29991048
JJ
26332016-09-16 Jakub Jelinek <jakub@redhat.com>
2634
2635 PR libgcc/71744
2636 * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
2637 is not the primary registry and atomics are available.
2638 (any_objects_registered): New variable.
2639 (__register_frame_info_bases, __register_frame_info_table_bases):
2640 Atomically store 1 to any_objects_registered after registering first
2641 unwind info.
2642 (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
2643
0abcd6cc
JG
26442016-09-09 James Greenhalgh <james.greenhalgh@arm.com>
2645
2646 PR target/63250
2647 * Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
2648 * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
2649 (HFtype): Likewise.
2650 (HCtype): Likewise.
2651 (__divhc3): Likewise.
2652 (__mulhc3): Likewise.
2653 * libgcc2.c: Support _mulhc3 and _divhc3.
2654
d758aeb5
JM
26552016-09-07 Joseph Myers <joseph@codesourcery.com>
2656
2657 PR libgcc/77519
2658 * libgcc2.c (NOTRUNC): Invert settings.
2659
7fe76f6a
ML
26602016-09-06 Martin Liska <mliska@suse.cz>
2661
2662 PR gcov-profile/77378
2663 PR gcov-profile/77466
2664 * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
2665 conditionaly enable/disable *_atomic functions.
2666
21184026
JM
26672016-08-26 Joseph Myers <joseph@codesourcery.com>
2668
2669 * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
2670 where not already enabled.
2671
726f49c3
SN
26722016-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
2673
2674 * config/mips/linux-unwind.h: Use sys/syscall.h.
2675
feeb6268
JM
26762016-08-16 Joseph Myers <joseph@codesourcery.com>
2677
2678 PR libgcc/77265
2679 * soft-fp/adddf3.c: Update from glibc.
2680 * soft-fp/addsf3.c: Likewise.
2681 * soft-fp/addtf3.c: Likewise.
2682 * soft-fp/divdf3.c: Likewise.
2683 * soft-fp/divsf3.c: Likewise.
2684 * soft-fp/divtf3.c: Likewise.
2685 * soft-fp/double.h: Likewise.
2686 * soft-fp/eqdf2.c: Likewise.
2687 * soft-fp/eqsf2.c: Likewise.
2688 * soft-fp/eqtf2.c: Likewise.
2689 * soft-fp/extenddftf2.c: Likewise.
2690 * soft-fp/extended.h: Likewise.
2691 * soft-fp/extendsfdf2.c: Likewise.
2692 * soft-fp/extendsftf2.c: Likewise.
2693 * soft-fp/extendxftf2.c: Likewise.
2694 * soft-fp/fixdfdi.c: Likewise.
2695 * soft-fp/fixdfsi.c: Likewise.
2696 * soft-fp/fixdfti.c: Likewise.
2697 * soft-fp/fixsfdi.c: Likewise.
2698 * soft-fp/fixsfsi.c: Likewise.
2699 * soft-fp/fixsfti.c: Likewise.
2700 * soft-fp/fixtfdi.c: Likewise.
2701 * soft-fp/fixtfsi.c: Likewise.
2702 * soft-fp/fixtfti.c: Likewise.
2703 * soft-fp/fixunsdfdi.c: Likewise.
2704 * soft-fp/fixunsdfsi.c: Likewise.
2705 * soft-fp/fixunsdfti.c: Likewise.
2706 * soft-fp/fixunssfdi.c: Likewise.
2707 * soft-fp/fixunssfsi.c: Likewise.
2708 * soft-fp/fixunssfti.c: Likewise.
2709 * soft-fp/fixunstfdi.c: Likewise.
2710 * soft-fp/fixunstfsi.c: Likewise.
2711 * soft-fp/fixunstfti.c: Likewise.
2712 * soft-fp/floatdidf.c: Likewise.
2713 * soft-fp/floatdisf.c: Likewise.
2714 * soft-fp/floatditf.c: Likewise.
2715 * soft-fp/floatsidf.c: Likewise.
2716 * soft-fp/floatsisf.c: Likewise.
2717 * soft-fp/floatsitf.c: Likewise.
2718 * soft-fp/floattidf.c: Likewise.
2719 * soft-fp/floattisf.c: Likewise.
2720 * soft-fp/floattitf.c: Likewise.
2721 * soft-fp/floatundidf.c: Likewise.
2722 * soft-fp/floatundisf.c: Likewise.
2723 * soft-fp/floatunditf.c: Likewise.
2724 * soft-fp/floatunsidf.c: Likewise.
2725 * soft-fp/floatunsisf.c: Likewise.
2726 * soft-fp/floatunsitf.c: Likewise.
2727 * soft-fp/floatuntidf.c: Likewise.
2728 * soft-fp/floatuntisf.c: Likewise.
2729 * soft-fp/floatuntitf.c: Likewise.
2730 * soft-fp/gedf2.c: Likewise.
2731 * soft-fp/gesf2.c: Likewise.
2732 * soft-fp/getf2.c: Likewise.
2733 * soft-fp/ledf2.c: Likewise.
2734 * soft-fp/lesf2.c: Likewise.
2735 * soft-fp/letf2.c: Likewise.
2736 * soft-fp/muldf3.c: Likewise.
2737 * soft-fp/mulsf3.c: Likewise.
2738 * soft-fp/multf3.c: Likewise.
2739 * soft-fp/negdf2.c: Likewise.
2740 * soft-fp/negsf2.c: Likewise.
2741 * soft-fp/negtf2.c: Likewise.
2742 * soft-fp/op-1.h: Likewise.
2743 * soft-fp/op-2.h: Likewise.
2744 * soft-fp/op-4.h: Likewise.
2745 * soft-fp/op-8.h: Likewise.
2746 * soft-fp/op-common.h: Likewise.
2747 * soft-fp/quad.h: Likewise.
2748 * soft-fp/single.h: Likewise.
2749 * soft-fp/soft-fp.h: Likewise.
2750 * soft-fp/subdf3.c: Likewise.
2751 * soft-fp/subsf3.c: Likewise.
2752 * soft-fp/subtf3.c: Likewise.
2753 * soft-fp/truncdfsf2.c: Likewise.
2754 * soft-fp/trunctfdf2.c: Likewise.
2755 * soft-fp/trunctfsf2.c: Likewise.
2756 * soft-fp/trunctfxf2.c: Likewise.
2757 * soft-fp/unorddf2.c: Likewise.
2758 * soft-fp/unordsf2.c: Likewise.
2759 * soft-fp/unordtf2.c: Likewise.
2760
2e6fc1ac
GG
27612016-08-15 Gilles Gouaillardet <gilles.gouaillardet@gmail.com>
2762
2763 PR gcov-profile/67097
2764 * libgcov-util.c (gcov_profile_merge): Skip missing files.
2765
a266236e
ML
27662016-08-10 Martin Liska <mliska@suse.cz>
2767
2768 PR gcov-profile/58306
2769 * Makefile.in: New functions (modules) are added.
2770 * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
2771 function.
2772 (__gcov_pow2_profiler_atomic): New function.
2773 (__gcov_one_value_profiler_body): New argument is instroduced.
2774 (__gcov_one_value_profiler): Call with the new argument.
2775 (__gcov_one_value_profiler_atomic): Likewise.
2776 (__gcov_indirect_call_profiler_v2): Likewise.
2777 (__gcov_time_profiler_atomic): New function.
2778 (__gcov_average_profiler_atomic): Likewise.
2779 (__gcov_ior_profiler_atomic): Likewise.
2780 * libgcov.h: Declare the aforementioned functions.
2781
e0c8eebf
ML
27822016-08-09 Martin Liska <mliska@suse.cz>
2783
2784 * libgcov-util.c: Fix typo and GNU coding style.
2785
6dce6418
ML
27862016-08-09 Martin Liska <mliska@suse.cz>
2787
2788 * Makefile.in: Remove __gcov_indirect_call_profiler.
2789 * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
2790 function.
2791 * libgcov.h: And the declaration of the function.
2792
dcb1e137
ML
27932016-08-09 Martin Liska <mliska@suse.cz>
2794
2795 * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
2796 power of two.
2797
d6e69705
BS
27982016-07-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
2799
2800 * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
2801 * config/rs6000/_mulkc3.c: Likewise.
2802
96aa1f95
GJL
28032016-07-29 Georg-Johann Lay <avr@gjlay.de>
2804
2805 * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
2806 zero_reg as previous call to __umulhisi3 already cleared it.
2807
a1b01d34
AJ
28082016-07-21 Aurelien Jarno <aurelien@aurel32.net>
2809
2810 PR target/59833
2811 * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
2812
985a47b2
NC
28132016-07-19 Nick Clifton <nickc@redhat.com>
2814
2815 * config.host (m32r): Add m32r/t-m32r to tmake_file.
2816 Add crtinit.o and crtfini.o to extra_parts.
2817
f906f5ed
BS
28182016-07-12 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
2819
2820 * config/rs6000/_divkc3.c: New.
2821 * config/rs6000/_mulkc3.c: New.
2822 * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
2823 and _divkc3.
2824 * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
2825 fp128_ppc_funcs.
2826
82742404
HW
28272016-07-11 Hale Wang <hale.wang@arm.com>
2828 Andre Vieira <andre.simoesdiasvieira@arm.com>
2829
2830 * config/arm/lib1funcs.S: Add new wrapper.
2831
05a437c1
TP
28322016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
2833
2834 * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
2835
3d16d9ec
TP
28362016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
2837
2838 * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
2839 and ARMv5t* rather than for a fixed list of architectures.
2840
6f493951
TP
28412016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
2842
2843 * config/arm/bpabi-v6m.S: Clarify what architectures is the
2844 implementation suitable for.
2845 * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
2846 for all Thumb-1 only targets.
2847 (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
2848 (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
2849 __ARM_ARCH_6M__.
2850 (EQUIV): Likewise.
2851 (ARM_FUNC_ALIAS): Likewise.
2852 (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
2853 version.
2854 (modsi3): Likewise.
2855 (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
2856 (clzdi2): Likewise.
2857 (ctzsi2): Likewise.
2858 (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
2859 __ARM_ARCH_6M__ in guard for checking whether it is defined.
2860 (final includes): Test for NOT_ISA_TARGET_32BIT rather than
2861 __ARM_ARCH_6M__ and add comment to indicate the connection between
2862 this condition and the one in gcc/config/arm/elf.h.
2863 * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
2864 __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
2865 * config/arm/t-softfp: Likewise.
2866
1770511a
TS
28672016-07-06 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2868
2869 * libgcc2.c (SYMBOL__MAIN): Remove checks for
2870 CTOR_LISTS_DEFINED_EXTERNALLY.
2871
ba6be749
WL
28722016-06-28 Walter Lee <walt@tilera.com>
2873
2874 * config/tilepro/atomic.h: Do not include arch/spr_def.h and
2875 asm/unistd.h.
2876 (SPR_CMPEXCH_VALUE): Define for tilegx.
2877 (__NR_FAST_cmpxchg): Define for tilepro.
2878 (__NR_FAST_atomic_update): Define for tilepro.
2879 (__NR_FAST_cmpxchg64): Define for tilepro.
2880
a34c0db5
JS
28812016-06-23 Jakub Sejdak <jakub.sejdak@phoesys.com>
2882
18362447 2883 * config.host: Add suport for arm*-*-phoenix* targets.
a34c0db5 2884
0609abda
TS
28852016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2886
2887 * config.host: Remove support for mep-*.
2888 * config/mep/lib1funcs.S: Remove.
2889 * config/mep/lib2funcs.c: Remove.
2890 * config/mep/t-mep: Remove.
2891 * config/mep/tramp.c: Remove.
2892
3e326935
TS
28932016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2894
2895 * config.host: Remove support for avr-rtems.
2896 * config/avr/t-rtems: Remove.
2897
914b155c
TS
28982016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2899
2900 * config.host: Remove m32r-rtems support.
2901
5ebf89bd
TS
29022016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2903
2904 * config.host: Remove h8300-rtems support.
2905
8466af06
TS
29062016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2907
2908 * config.host: Remove support for knetbsd.
2909
d980e738
TS
29102016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2911
2912 * config.host: Remove support for openbsd 2 and 3.
2913
ee2499b4
TS
29142016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2915
2916 * config.host: Remove interix support.
2917 * config/i386/t-interix: Remove.
2918
9f92937b
JDA
29192016-06-18 John David Anglin <danglin@gcc.gnu.org>
2920
2921 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
2922 least-significant bit in function pointer for fixup.
2923
0a0ec53d
AC
29242016-06-05 Aaron Conole <aconole@redhat.com>
2925 Nathan Sidwell <nathan@acm.org>
2926
2927 PR libgcc/71400
2928 * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
2929 (get_gcov_error_file): Check __gcov_error_file before trying to
2930 initialize it.
2931 (gcov_error): Always use get_gcov_error_file.
2932
8aa5bdd6
AC
29332016-06-02 Aaron Conole <aconole@redhat.com>
2934
2935 * libgcov-driver-system.c (__gcov_error_file): New.
2936 (get_gcov_error_file): New.
2937 (gcov_error): Use and set __gcov_error_file.
2938 (gcov_error_exit): New.
2939 * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
2940
40774faf
NS
29412016-05-26 Nathan Sidwell <nathan@acm.org>
2942
2943 * config/nvptx/free.asm: Delete.
2944 * config/nvptx/malloc.asm: Delete.
2945 * config/nvptx/realloc.c: Delete.
2946 * t-nvptx: Update.
2947
69a6d5ad
NS
29482016-05-25 Nathan Sidwell <nathan@acm.org>
2949
2950 * config/nvptx/crt0.s: Delete.
2951 * config/nvptx/crt0.c: New.
2952 * t-nvptx: Update.
2953
6befaff6
SL
29542016-05-19 Sandra Loosemore <sandra@codesourcery.com>
2955
385c7747 2956 * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
6befaff6
SL
2957 dw2/seh configuration.
2958 [x86_64-*-mingw*]: Likewise.
2959
ad251dfd
JS
29602016-05-10 Joel Sherrill <joel@rtems.org>
2961
2962 PR libgcc/70720
2963 * config.host (moxie-*-rtems*): Merge this stanza with other moxie
2964 targets so the same extra_parts are built. Also have tmake_file add
2965 on to its value rather than override.
2966
bc6d9014
OE
29672016-04-30 Oleg Endo <olegendo@gcc.gnu.org>
2968
2969 * config.host: Remove SH5 support.
2970 * configure: Likewise.
2971
9129c8cf
OE
29722016-04-29 Oleg Endo <olegendo@gcc.gnu.org>
2973
2974 * config/sh/crt1.S: Remove SH5 support.
2975 * config/sh/crti.S: Likewise.
2976 * config/sh/crtn.S: Likewise.
2977 * config/sh/lib1funcs-4-300.S: Likewise.
2978 * config/sh/lib1funcs-Os-4-200.S: Likewise.
2979 * config/sh/lib1funcs.S: Likewise.
2980 * config/sh/linux-unwind.h: Likewise.
2981 * config/sh/t-sh64: Delete.
2982
39d50464
CZ
29832016-04-29 Claudiu Zissulescu <claziss@synopsys.com>
2984
2985 * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
2986
8b48923b
CZ
29872016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
2988 Joern Rennecke <joern.rennecke@embecosm.com>
2989
2990 * config/arc/crttls.S: New file.
2991 * config/arc/t-arc: New rule.
2992 * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
2993
2de1cf8c
NC
29942016-04-25 Nick Clifton <nickc@redhat.com>
2995
2996 * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
2997 (__mspabi_cmpd): Likewise.
2998 * config/msp430/floathidf.c (__floathidf): Likewise.
2999 * config/msp430/floathisf.c (__floathisf): Likewise
3000 * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
3001 * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
3002 * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
3003 second parameter.
3004 (__ashrsi3): Likewise.
3005
b8ce3fe2
WB
30062016-04-21 Waldemar Brodkorb <wbx@openadk.org>
3007
3008 * config/m68k/linux-atomic.c: Do not include unistd.h
3009
4986f823
MG
30102016-04-20 Martin Galvan <martin.galvan@tallertechnologies.com>
3011
3012 * config/arm/ieee754-df.S: Fix typos in comments.
3013
35fbda43
MM
30142016-04-11 Michael Meissner <meissner@linux.vnet.ibm.com>
3015
3016 PR target/70381
3017 * configure.ac (powerpc*-*-linux*): Rework tests to build
3018 __float128 emulation routines to not depend on using #pragma GCC
3019 target to enable -mfloat128.
3020 * configure: Regnerate.
3021
72d1a48d
EB
30222016-04-04 Eric Botcazou <ebotcazou@adacore.com>
3023
3024 PR target/67172
3025 * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
3026 __MINGW32__ is defined.
3027
dc2e8995
JB
30282016-03-28 James Bowman <james.bowman@ftdichip.com>
3029
385c7747 3030 * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
dc2e8995 3031
104cdaf1
MM
30322016-03-22 Michael Meissner <meissner@linux.vnet.ibm.com>
3033
3034 PR libgcc/70363
3035 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
3036 built with an assembler that does not support ISA 3.0
3037 instructions, rename __extendkftf2_sw to __extendkftf2.
3038
a5046f48
RO
30392016-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3040
3041 PR target/38239
3042 * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
3043 call-clobbered registers.
3044 (internal_mcount): Remove __i386__ handling.
3045
df674f74
JS
30462016-02-26 Joel Sherrill <joel@rtems.org>
3047
3048 * config.host: Add x86_64-*-rtems*.
3049
7cb065d6
JS
30502016-02-26 Joel Sherrill <joel@rtems.org>
3051
3052 * libgcc/config.host: Add aarch64-*-rtems*.
3053
47dfdc53
PM
30542016-02-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
3055 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
3056
3057 * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
3058 union of u64 and double.
3059 (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
3060 (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
3061 value.
3062 (FP_ROUNDMODE): Update the usage of _fpscr.
3063
e6861a99
IV
30642016-02-25 Ilya Verbin <ilya.verbin@intel.com>
3065
3066 PR driver/68463
3067 * Makefile.in (crtoffloadtable$(objext)): New rule.
3068 * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
3069 enable_offload_targets is not empty.
3070 * configure: Regenerate.
3071 * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
3072 crtoffloadtable.
3073
9bfcbdee
MF
30742016-02-17 Max Filippov <jcmvbkbc@gmail.com>
3075
3076 * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
3077 .literal_position before the function.
3078 * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
3079 Likewise.
3080
4cb4721f
MK
30812016-02-15 Marcin Kościelnicki <koriakin@0x04.net>
3082
3083 * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
3084 * config/s390/morestack.S: New file.
3085 * config/s390/t-stack-s390: New file.
3086 * generic-morestack.c (__splitstack_find): Add s390-specific code.
3087
b29d9a29
WL
30882016-02-12 Walter Lee <walt@tilera.com>
3089
3090 * config.host (tilegx*-*-linux*): remove ti from
3091 softfp_int_modes for 32-bit configs.
3092
03a0ae7d
ILT
30932016-02-10 Ian Lance Taylor <iant@google.com>
3094
3095 PR go/68562
3096 * config/i386/morestack.S (__stack_split_initialize): Align
3097 stack.
3098
68750bce
AT
30992016-02-03 Andreas Tobler <andreast@gcc.gnu.org>
3100
3101 PR bootstrap/69611
3102 * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
3103 __FLOAT128__ to compile only for __float128 capable targets.
3104
7d296953
JJ
31052016-01-25 Jakub Jelinek <jakub@redhat.com>
3106
3107 PR target/69444
3108 * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
3109 instead of ___NO_FPRS__.
3110
a71c0334 31112016-01-21 Michael Meissner <meissner@linux.vnet.ibm.com>
7d296953
JJ
3112 Steven Munroe <munroesj@linux.vnet.ibm.com>
3113 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
a71c0334
MM
3114
3115 * config/rs6000/float128-sed: New files to convert TF names to KF
3116 names for PowerPC IEEE 128-bit floating point support.
3117 * config/rs6000/float128-sed-hw: Likewise.
3118
3119 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
3120 floating point hardware support.
3121
3122 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
3123 128-bit floating point software emulation or use ISA 3.0 hardware
3124 support if it is available.
3125
3126 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
3127 floating point.
3128
3129 * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
3130 floating point to IBM extended double.
3131
3132 * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
3133 double to IEEE 128-bit floating point.
3134
3135 * config/rs6000/t-float128: New Makefile fragments to enable
3136 building __float128 emulation support.
3137 * config/rs6000/t-float128-hw: Likewise.
3138
3139 * config/rs6000/sfp-exceptions.c: New file to provide exception
3140 support for IEEE 128-bit floating point.
3141
3142 * config/rs6000/floattikf.c: New files for converting between IEEE
3143 128-bit floating point and signed/unsigned 128-bit integers.
3144 * config/rs6000/fixunskfti.c: Likewise.
3145 * config/rs6000/fixkfti.c: Likewise.
3146 * config/rs6000/floatuntikf.c: Likewise.
3147
3148 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
3149 when building on 64-bit systems, or when VSX is enabled.
3150 (_FP_W_TYPE): Likewise.
3151 (_FP_WS_TYPE): Likewise.
3152 (_FP_I_TYPE): Likewise.
3153 (TItype): Define on 64-bit systems.
3154 (UTItype): Likewise.
3155 (TI_BITS): Likewise.
3156 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
3157 (_FP_MUL_MEAT_Q): Likewise.
3158 (_FP_DIV_MEAT_D): Likewise.
3159 (_FP_DIV_MEAT_Q): Likewise.
3160 (_FP_NANFRAC_D): Likewise.
3161 (_FP_NANFRAC_Q): Likewise.
3162 (ISA_BIT): Add exception support if we are being compiled on a
3163 machine with hardware floating point support to build the IEEE
3164 128-bit emulation functions.
3165 (FP_EX_INVALID): Likewise.
3166 (FP_EX_OVERFLOW): Likewise.
3167 (FP_EX_UNDERFLOW): Likewise.
3168 (FP_EX_DIVZERO): Likewise.
3169 (FP_EX_INEXACT): Likewise.
3170 (FP_EX_ALL): Likewise.
3171 (__sfp_handle_exceptions): Likewise.
3172 (FP_HANDLE_EXCEPTIONS): Likewise.
3173 (FP_RND_NEAREST): Likewise.
3174 (FP_RND_ZERO): Likewise.
3175 (FP_RND_PINF): Likewise.
3176 (FP_RND_MINF): Likewise.
3177 (FP_RND_MASK): Likewise.
3178 (_FP_DECL_EX): Likewise.
3179 (FP_INIT_ROUNDMODE): Likewise.
3180 (FP_ROUNDMODE): Likewise.
3181
3182 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
3183 VSX code, enable IEEE 128-bit floating point. If the compiler can
3184 compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
3185 floating point hardware instructions and it supports declaring
3186 functions with the ifunc attribute, enable ifunc functions to
3187 switch between software and hardware support.
3188 * configure.ac (powerpc*-*-linux*): Likewise.
3189 * configure: Regenerate.
3190
bdc27e50
NC
31912016-01-15 Nick Clifton <nickc@redhat.com>
3192
3193 * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
3194 dependency as the source file to be compiled.
3195 (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
3196 (lib2hw_mul_f5.o): Likewise.
3197
006df05d
MM
31982016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
3199
3200 * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
3201 * libgcc/config/rs6000/fixkfti.c: Likewise.
3202 * libgcc/config/rs6000/fixunskfti.c: Likewise.
3203 * libgcc/config/rs6000/float128-hw.c: Likewise.
3204 * libgcc/config/rs6000/float128-ifunc.c: Likewise.
3205 * libgcc/config/rs6000/float128-sed: Likewise.
3206 * libgcc/config/rs6000/floattikf.c: Likewise.
3207 * libgcc/config/rs6000/floatuntikf.c: Likewise.
3208 * libgcc/config/rs6000/quad-float128.h: Likewise.
3209 * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
3210 * libgcc/config/rs6000/sfp-machine.h: Likewise.
3211 * libgcc/config/rs6000/t-float128: Likewise.
3212 * libgcc/config/rs6000/t-float128-hw: Likewise.
3213 * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
3214 * libgcc/config.host: Likewise.
3215 * libgcc/configure: Likewise.
3216 * libgcc/configure.ac: Likewise.
3217
29176d57 32182016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
7d296953
JJ
3219 Steven Munroe <munroesj@linux.vnet.ibm.com>
3220 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
29176d57
MM
3221
3222 * config/rs6000/sfp-exceptions.c: New file to provide exception
3223 support for IEEE 128-bit floating point.
3224
3225 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
3226 floating point hardware support.
3227
3228 * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
3229 point conversions.
3230 * config/rs6000/fixunskfti.c: Likewise.
3231 * config/rs6000/fixkfti.c: Likewise.
3232 * config/rs6000/floatuntikf.c: Likewise.
3233 * config/rs6000/extendkftf2-sw.c: Likewise.
3234 * config/rs6000/trunctfkf2-sw.c: Likewise.
3235
3236 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
3237 128-bit floating point software emulation or use ISA 3.0 hardware
3238 support if it is available.
3239
3240 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
3241 floating point.
3242
3243 * config/rs6000/t-float128: New Makefile fragments to enable
3244 building __float128 emulation support.
3245 * config/rs6000/t-float128-hw: Likewise.
3246
3247 * config/rs6000/float128-sed: New file to convert TF names to KF
3248 names for PowerPC IEEE 128-bit floating point support.
3249
3250 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
3251 when building on 64-bit systems, or when VSX is enabled.
3252 (_FP_W_TYPE): Likewise.
3253 (_FP_WS_TYPE): Likewise.
3254 (_FP_I_TYPE): Likewise.
3255 (TItype): Define on 64-bit systems.
3256 (UTItype): Likewise.
3257 (TI_BITS): Likewise.
3258 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
3259 (_FP_MUL_MEAT_Q): Likewise.
3260 (_FP_DIV_MEAT_D): Likewise.
3261 (_FP_DIV_MEAT_Q): Likewise.
3262 (_FP_NANFRAC_D): Likewise.
3263 (_FP_NANFRAC_Q): Likewise.
3264 (ISA_BIT): Add exception support if we are being compiled on a
3265 machine with hardware floating point support to build the IEEE
3266 128-bit emulation functions.
3267 (FP_EX_INVALID): Likewise.
3268 (FP_EX_OVERFLOW): Likewise.
3269 (FP_EX_UNDERFLOW): Likewise.
3270 (FP_EX_DIVZERO): Likewise.
3271 (FP_EX_INEXACT): Likewise.
3272 (FP_EX_ALL): Likewise.
3273 (__sfp_handle_exceptions): Likewise.
3274 (FP_HANDLE_EXCEPTIONS): Likewise.
3275 (FP_RND_NEAREST): Likewise.
3276 (FP_RND_ZERO): Likewise.
3277 (FP_RND_PINF): Likewise.
3278 (FP_RND_MINF): Likewise.
3279 (FP_RND_MASK): Likewise.
3280 (_FP_DECL_EX): Likewise.
3281 (FP_INIT_ROUNDMODE): Likewise.
3282 (FP_ROUNDMODE): Likewise.
3283
3284 * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
3285 compiler can do __float128.
3286 * configure: Regenerate.
3287
3288 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
3289 VSX code, enable IEEE 128-bit floating point.
3290
a2218983
OH
32912016-01-05 Olivier Hainque <hainque@adacore.com>
3292
3293 * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
29176d57 3294 specificities.
a2218983 3295
818ab71a
JJ
32962016-01-04 Jakub Jelinek <jakub@redhat.com>
3297
3298 Update copyright years.
3299
5a6c8ffa
AP
33002015-12-18 Andris Pavenis <andris.pavenis@iki.fi>
3301
3302 * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
29176d57 3303 soft-fp targets.
5a6c8ffa 3304
077067a5
BE
33052015-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
3306
3307 * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
3308 instead of abort to avoid dependency on stdlib.h.
3309
787c1027
JDA
33102015-12-09 John David Anglin <danglin@gcc.gnu.org>
3311
3312 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
3313 to initialize call to __dl_fixup once.
3314
04a9ae28
NC
33152015-12-04 Nick Clifton <nickc@redhat.com>
3316
3317 * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
3318 Allow for the second argument being negative.
3319 * config.host (extra_parts): Define for MSP430. Create separate
3320 libraries for each of the hardware multiply formats.
3321 * config/msp430/lib2hw_mul.S: Build only the multiply routines
3322 that are needed.
3323 * config/msp430/lib2mul.c: Likewise.
3324 * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
3325 Add rules to build hardware multiply libraries.
3326 * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
3327 __mspabi_divul function.
3328 (__mspabi_divllu): New stub function.
3329
9a32d437
JDA
33302015-12-01 John David Anglin <danglin@gcc.gnu.org>
3331
3332 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
3333 fixup values if saved GOT address doesn't match runtime address.
3334 (fixup_branch_offset): Reorder list.
3335
e5ef217c
RO
33362015-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3337
3338 * Makefile.in (VTV_CFLAGS): New variable.
3339 (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
3340 (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
3341 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
3342 Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
3343 to extra_parts if $enable_vtable_verify = yes.
3344
78cc43a2
SN
33452015-11-23 Szabolcs Nagy <szabolcs.nagy@arm.com>
3346
3347 PR target/68059
3348 * config/arm/linux-atomic-64bit.c (__write): Rename to...
3349 (write): ...this and fix the return type.
3350
9afebea2
DD
33512015-11-19 DJ Delorie <dj@redhat.com>
3352
3353 * config/msp430/lib2hw_mul.S: Fix alignment.
3354
33f47f42
NS
33552015-11-18 Nathan Sidwell <nathan@codesourcery.com>
3356
3357 * config/nvptx/reduction.c: New.
3358 * config/nvptx/t-nvptx (LIB2ADD): Add it.
3359
d9adb476
DE
33602015-11-15 David Edelsohn <dje.gcc@gmail.com>
3361
3362 * config/rs6000/on_exit.c: New file.
3363 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
3364 * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
3365
c0ab1970
CZ
33662015-11-11 Claudiu Zissulescu <claziss@synopsys.com>
3367
3368 * config/arc/dp-hack.h: Add support for ARCHS.
3369 * config/arc/ieee-754/divdf3.S: Likewise.
3370 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
3371 * config/arc/ieee-754/muldf3.S: Likewise.
3372 * config/arc/ieee-754/mulsf3.S: Likewise
3373 * config/arc/lib1funcs.S: Likewise
3374 * config/arc/gmon/dcache_linesz.S: Don't read the build register
3375 for ARCv2 cores.
3376 * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
3377 for ARCv2 cores.
3378 * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
3379 * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
3380 cores.
3381
e6b6bf09
RO
33822015-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3383
3384 * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
3385 value.
3386 * config/ia64/crtend.S: Likewise.
3387
a153644f
TS
33882015-11-07 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3389
3390 * config/visium/lib2funcs.c (__set_trampoline_parity): Use
3391 __CHAR_BIT__ instead of BITS_PER_UNIT.
3392 * fixed-bit.h: Likewise.
3393 * fp-bit.h: Likewise.
3394 * libgcc2.c (__popcountSI2): Likewise.
3395 (__popcountDI2): Likewise.
3396 * libgcc2.h: Likewise.
3397 * libgcov.h: Likewise.
3398
3dee689d
DE
33992015-11-07 David Edelsohn <dje.gcc@gmail.com>
3400
3401 * config/rs6000/atexit.c: New file.
3402 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
3403 * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
3404 * config/rs6000/cxa_finalize.c
3405 (catomic_compare_and_exchange_bool_acq): Negate return value.
3406
2ef543e4
VK
34072015-10-30 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
3408
3409 * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
3410 (processor_subtypes): Add znver1.
3411 (get_amd_cpu): Detect znver1.
3412
1300f017
CL
34132015-10-29 Christophe Lyon <christophe.lyon@linaro.org>
3414
3415 * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
3416 Include crtfastmath.o.
3417
3e5bb7ee
JR
34182015-10-23 Joern Rennecke <joern.rennecke@embecosm.com>
3419
3420 PR libgcc/66883
3421 * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
1300f017 3422
793aa938
KP
34232015-10-16 Kaushik Phatak <kaushik.phatak@kpit.com>
3424
3425 * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
3426 * config/rl78/divmodsi.S: Update return register to r8.
3427 * config/rl78/divmodhi.S: Update return register to r8,r9.
3428 Branch to main_loop_done_himode to pop registers before return.
3429
7d296953 34302015-10-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
fac812f0
VK
3431
3432 * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
3433 (__cpu_indicator_init): Fix model selection for AMD CPUs.
3434
6a192b5a
KY
34352015-10-05 Kirill Yukhin <kirill.yukhin@intel.com>
3436
3437 * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
3438
4a0a9457
MF
34392015-10-03 Max Filippov <jcmvbkbc@gmail.com>
3440
3441 * config.host (xtensa*-*-uclinux*): New configuration.
3442
ab91c076
KY
34432015-10-02 Kirill Yukhin <kirill.yukhin@intel.com>
3444
385c7747 3445 * config/i386/cpuinfo.c (processor_features): Add
ab91c076
KY
3446 FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
3447
30954527
JM
34482015-09-28 Joseph Myers <joseph@codesourcery.com>
3449
3450 * soft-fp/adddf3.c: Update from glibc.
3451 * soft-fp/addsf3.c: Likewise.
3452 * soft-fp/addtf3.c: Likewise.
3453 * soft-fp/divdf3.c: Likewise.
3454 * soft-fp/divsf3.c: Likewise.
3455 * soft-fp/divtf3.c: Likewise.
3456 * soft-fp/double.h: Likewise.
3457 * soft-fp/eqdf2.c: Likewise.
3458 * soft-fp/eqsf2.c: Likewise.
3459 * soft-fp/eqtf2.c: Likewise.
3460 * soft-fp/extenddftf2.c: Likewise.
3461 * soft-fp/extended.h: Likewise.
3462 * soft-fp/extendsfdf2.c: Likewise.
3463 * soft-fp/extendsftf2.c: Likewise.
3464 * soft-fp/extendxftf2.c: Likewise.
3465 * soft-fp/fixdfdi.c: Likewise.
3466 * soft-fp/fixdfsi.c: Likewise.
3467 * soft-fp/fixdfti.c: Likewise.
3468 * soft-fp/fixsfdi.c: Likewise.
3469 * soft-fp/fixsfsi.c: Likewise.
3470 * soft-fp/fixsfti.c: Likewise.
3471 * soft-fp/fixtfdi.c: Likewise.
3472 * soft-fp/fixtfsi.c: Likewise.
3473 * soft-fp/fixtfti.c: Likewise.
3474 * soft-fp/fixunsdfdi.c: Likewise.
3475 * soft-fp/fixunsdfsi.c: Likewise.
3476 * soft-fp/fixunsdfti.c: Likewise.
3477 * soft-fp/fixunssfdi.c: Likewise.
3478 * soft-fp/fixunssfsi.c: Likewise.
3479 * soft-fp/fixunssfti.c: Likewise.
3480 * soft-fp/fixunstfdi.c: Likewise.
3481 * soft-fp/fixunstfsi.c: Likewise.
3482 * soft-fp/fixunstfti.c: Likewise.
3483 * soft-fp/floatdidf.c: Likewise.
3484 * soft-fp/floatdisf.c: Likewise.
3485 * soft-fp/floatditf.c: Likewise.
3486 * soft-fp/floatsidf.c: Likewise.
3487 * soft-fp/floatsisf.c: Likewise.
3488 * soft-fp/floatsitf.c: Likewise.
3489 * soft-fp/floattidf.c: Likewise.
3490 * soft-fp/floattisf.c: Likewise.
3491 * soft-fp/floattitf.c: Likewise.
3492 * soft-fp/floatundidf.c: Likewise.
3493 * soft-fp/floatundisf.c: Likewise.
3494 * soft-fp/floatunditf.c: Likewise.
3495 * soft-fp/floatunsidf.c: Likewise.
3496 * soft-fp/floatunsisf.c: Likewise.
3497 * soft-fp/floatunsitf.c: Likewise.
3498 * soft-fp/floatuntidf.c: Likewise.
3499 * soft-fp/floatuntisf.c: Likewise.
3500 * soft-fp/floatuntitf.c: Likewise.
3501 * soft-fp/gedf2.c: Likewise.
3502 * soft-fp/gesf2.c: Likewise.
3503 * soft-fp/getf2.c: Likewise.
3504 * soft-fp/ledf2.c: Likewise.
3505 * soft-fp/lesf2.c: Likewise.
3506 * soft-fp/letf2.c: Likewise.
3507 * soft-fp/muldf3.c: Likewise.
3508 * soft-fp/mulsf3.c: Likewise.
3509 * soft-fp/multf3.c: Likewise.
3510 * soft-fp/negdf2.c: Likewise.
3511 * soft-fp/negsf2.c: Likewise.
3512 * soft-fp/negtf2.c: Likewise.
3513 * soft-fp/op-1.h: Likewise.
3514 * soft-fp/op-2.h: Likewise.
3515 * soft-fp/op-4.h: Likewise.
3516 * soft-fp/op-8.h: Likewise.
3517 * soft-fp/op-common.h: Likewise.
3518 * soft-fp/quad.h: Likewise.
3519 * soft-fp/single.h: Likewise.
3520 * soft-fp/soft-fp.h: Likewise.
3521 * soft-fp/subdf3.c: Likewise.
3522 * soft-fp/subsf3.c: Likewise.
3523 * soft-fp/subtf3.c: Likewise.
3524 * soft-fp/truncdfsf2.c: Likewise.
3525 * soft-fp/trunctfdf2.c: Likewise.
3526 * soft-fp/trunctfsf2.c: Likewise.
3527 * soft-fp/trunctfxf2.c: Likewise.
3528 * soft-fp/unorddf2.c: Likewise.
3529 * soft-fp/unordsf2.c: Likewise.
3530 * soft-fp/unordtf2.c: Likewise.
3531
4dfe21ac
RE
35322015-09-24 Richard Earnshaw <rearnsha@arm.com>
3533
3534 PR libgcc/67624
3535 * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
3536
df2a1cc4
RO
35372015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3538
3539 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
3540 Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
3541 * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
3542 messages.
3543 (internal_mcount): Likewise.
3544 * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
3545 crt_compile, add CRTSTUFF_T_CFLAGS_S.
3546
2d110442
RO
35472015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3548
3549 * configure.ac (libgcc_cv_solaris_crts): New test.
3550 * configure: Regenerate.
3551 * config.in: Regenerate.
3552 * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
3553 * config/gmon-sol2.c: Rename to ...
3554 * config/sol2/gmon.c: ... this.
3555 Include auto-target.h.
3556 (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
3557 * config/t-sol2: Rename to ...
3558 * config/sol2/t-sol2: ... this.
3559 (gmon.o): Reflect renaming.
3560 (crtp.o, crtpg.o): New rules.
3561 * config.host (*-*-solaris2*): Reflect renaming.
3562 Use system CRTs if present.
3563 Remove default CRT case.
3564
d572e439
JDA
35652015-09-23 John David Anglin <danglin@gcc.gnu.org>
3566
3567 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
3568 (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
3569 __kernel_cmpxchg2.
3570 (__sync_##OP##_and_fetch_##WIDTH): Likewise.
3571 (__sync_val_compare_and_swap_##WIDTH): Likewise.
3572 (__sync_bool_compare_and_swap_##WIDTH): Likewise.
3573 (__sync_lock_test_and_set_##WIDTH): Likewise.
3574 (__sync_lock_release_##WIDTH): Likewise.
3575 (__sync_fetch_and_##OP##_4): Change result to match type of
3576 __kernel_cmpxchg.
3577 (__sync_##OP##_and_fetch_4): Likewise.
3578 (__sync_val_compare_and_swap_4): Likewise.
3579 (__sync_bool_compare_and_swap_4): likewise.
3580 (__sync_lock_test_and_set_4): Likewise.
3581 (__sync_lock_release_4): Likewise.
3582 (FETCH_AND_OP_2): Add long long variants.
3583 (OP_AND_FETCH_2): Likewise.
3584 (COMPARE_AND_SWAP_2 ): Likewise.
3585 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
3586 (SYNC_LOCK_RELEASE_2): Likewise.
3587 (__sync_bool_compare_and_swap_##WIDTH): Correct return.
3588
7d296953 35892015-09-22 Kirill Yukhin <kirill.yukhin@intel.com>
06caf59d
KY
3590
3591 * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
3592 FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
3593 FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
3594 (get_available_features): Habdle new features.
3595
131314e1
JB
35962015-09-21 James Bowman <james.bowman@ftdichip.com>
3597
3598 * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
3599 memory layout. Deal correctly with BSS region larger than 32K.
3600 Handle a watchdog reset like a power-on reset. Clean up unused
3601 code.
3602
04218b35
AD
36032015-09-18 Andrew Dixie <andrewd@gentrack.com>
3604 David Edelsohn <dje.gcc@gmail.com>
3605
3606 * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
3607 * config/rs6000/crtdbase.S: New file.
3608 * config/rs6000/t-aix-cxa: Build crtdbase.o.
3609
c8338173
MF
36102015-09-15 Max Filippov <jcmvbkbc@gmail.com>
3611
3612 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
3613 Add support for call0 ABI.
3614
7a84bf71
JDA
36152015-09-13 John David Anglin <danglin@gcc.gnu.org>
3616
3617 * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
3618
4efab402
SH
36192015-09-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
3620
3621 * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
3622 (__GTHREAD_HAS_COND): Likewise.
3623 (__gthread_t): Likewise.
3624 (__gthread_cond_t): Likewise.
3625 (__gthread_time_t): Likewise.
3626 (__GTHREAD_MUTEX_INIT): Likewise.
3627 (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
3628 (__GTHREAD_COND_INIT): Likewise.
3629 (__GTHREAD_COND_INIT_FUNCTION): Likewise.
3630 (__GTHREAD_TIME_INIT): Likewise.
3631 (__gthread_create): Likewise.
3632 (__gthread_join): Likewise.
3633 (__gthread_detach): Likewise.
3634 (__gthread_equal): Likewise.
3635 (__gthread_self): Likewise.
3636 (__gthread_yield): Likewise.
3637 (__gthread_cond_broadcast): Likewise.
3638 (__gthread_cond_signal): Likewise.
3639 (__gthread_cond_wait): Likewise.
3640 (__gthread_cond_timedwait): Likewise.
3641 (__gthread_cond_wait_recursive): Likewise.
3642 (__gthread_cond_destroy): Likewise.
3643 (rtems_gxx_once): Delete.
3644 (rtems_gxx_key_create): Likewise.
3645 (rtems_gxx_key_delete): Likewise.
3646 (rtems_gxx_getspecific): Likewise.
3647 (rtems_gxx_setspecific): Likewise.
3648 (rtems_gxx_mutex_init): Likewise.
3649 (rtems_gxx_mutex_destroy): Likewise.
3650 (rtems_gxx_mutex_lock): Likewise.
3651 (rtems_gxx_mutex_trylock): Likewise.
3652 (rtems_gxx_mutex_unlock): Likewise.
3653 (rtems_gxx_recursive_mutex_init): Likewise.
3654 (rtems_gxx_recursive_mutex_lock): Likewise.
3655 (rtems_gxx_recursive_mutex_trylock): Likewise.
3656 (rtems_gxx_recursive_mutex_unlock): Likewise.
3657 (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
3658 (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
3659 (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
3660 (__gthread_once): Likewise.
3661 (__gthread_key_create): Likewise.
3662 (__gthread_key_delete): Likewise.
3663 (__gthread_getspecific): Likewise.
3664 (__gthread_setspecific): Likewise.
3665 (__gthread_key_t): Use <pthread.h> type.
3666 (__gthread_once_t): Likewise
3667 (__gthread_mutex_t): Use <sys/lock.h> type.
3668 (__gthread_recursive_mutex_t): Likewise
3669 (__gthread_mutex_lock): Use <sys/lock.h> function.
3670 (__gthread_mutex_trylock): Likewise.
3671 (__gthread_mutex_timedlock): Likewise.
3672 (__gthread_mutex_unlock): Likewise.
3673 (__gthread_mutex_destroy): Likewise.
3674 (__gthread_recursive_mutex_lock): Likewise.
3675 (__gthread_recursive_mutex_trylock): Likewise.
3676 (__gthread_recursive_mutex_timedlock): Likewise.
3677 (__gthread_recursive_mutex_unlock): Likewise.
3678 (__gthread_recursive_mutex_destroy): Likewise.
3679
991995c4
MF
36802015-08-18 Max Filippov <jcmvbkbc@gmail.com>
3681
3682 * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
3683 context->sp instead of context->cfa.
3684
0e19db59
MF
36852015-08-18 Max Filippov <jcmvbkbc@gmail.com>
3686
3687 * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
3688 with unwind-dw2-fde-dip.
3689
b6ac5f62
MF
36902015-08-18 Max Filippov <jcmvbkbc@gmail.com>
3691
3692 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
3693 CALL12 followed by series of ENTRY to spill windowed registers.
3694 (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
3695 instead of making linux spill syscall.
3696
3e0f3349
YR
36972015-08-14 Yuri Rumyantsev <ysrumyan@gmail.com>
3698
3699 * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
3700 (get_intel_cpu): Likewise.
3701
51c728b1
L
37022015-08-12 H.J. Lu <hongjiu.lu@intel.com>
3703
3704 * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
3705 (get_intel_cpu): Add Knights Landing support.
3706
aff4eeac
UB
37072015-08-11 Uros Bizjak <ubizjak@gmail.com>
3708
3709 PR target/66954
3710 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
3711 (get_available_features): Handle FEATURE_PCLMUL.
3712
736e56da
L
37132015-08-10 H.J. Lu <hongjiu.lu@intel.com>
3714
3715 * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
3716 Broadwell.
3717
54d22142
UB
37182015-07-22 Uros Bizjak <ubizjak@gmail.com>
3719
3720 PR target/66954
3721 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
3722 (get_available_features): Handle FEATURE_AES.
3723
20ca17e4
CLT
37242015-07-22 Chung-Lin Tang <cltang@codesourcery.com>
3725
3726 * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
3727 (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
3728
ebe4a560
NS
37292015-07-17 Nathan Sidwell <nathan@codesourcery.com>
3730
3731 * offloadstuff.c: Constify host data.
3732
180744c0
JB
37332015-07-17 Jan Beulich <jbeulich@suse.com>
3734
3735 * config/t-softfp: Split up "else ifneq".
3736
a03c6ae3
SL
37372015-07-14 Sandra Loosemore <sandra@codesourcery.com>
3738 Cesar Philippidis <cesar@codesourcery.com>
3739 Chung-Lin Tang <cltang@codesourcery.com>
3740
3741 * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
3742 for __nios2_arch__ level.
3743
73358db5
JM
37442015-07-13 John Marino <gnugcc@marino.st>
3745
3746 * config/i386/t-dragonfly: New.
3747
f9a12f7b
JDA
37482015-07-01 John David Anglin <danglin@gcc.gnu.org>
3749
3750 * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
3751 better match light-weight syscall argument order.
3752 (__kernel_cmpxchg2): Likewise.
3753 Adjust callers.
3754
cb78b51c
L
37552015-06-30 H.J. Lu <hongjiu.lu@intel.com>
3756
3757 * config.host: Support i[34567]86-*-elfiamcu target.
3758 * config/t-softfp-sfdftf: New file.
3759 * config/i386/32/t-iamcu: Likewise.
3760 * configure: Regenerated.
3761
4fa0f9ea
JL
37622015-06-23 James Lemke <jwlemke@codesourcery.com>
3763
3764 libgcc/config/arm/
3765 * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
3766
428b3812
L
37672015-05-27 H.J. Lu <hongjiu.lu@intel.com>
3768
3769 * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
3770
7d296953 37712015-05-27 John Marino <gnugcc@marino.st>
89c54dd3
JM
3772
3773 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
3774 md_unwind_header
3775 * config/i386/freebsd-unwind.h: New.
3776
9b789cc1
UB
37772015-05-22 Uros Bizjak <ubizjak@gmail.com>
3778
3779 * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
3780 i386/t-crtfm to tmake_file.
3781 * config/i386/crtfastmath.c (set_fast_math_sse): New function.
3782 (set_fast_math): Use set_fast_math_sse for SSE targets.
3783 * config/i386/t-crtfm: Remove.
3784
3dafb220
AM
37852015-05-21 Alan Modra <amodra@gmail.com>
3786
3787 PR libgcc/66225
3788 * config/rs6000/morestack.S: Remove ".abiversion 1".
3789
0f0fd745
AM
37902015-05-20 Alan Modra <amodra@gmail.com>
3791
3792 * config/rs6000/morestack.S: New.
3793 * config/rs6000/t-stack-rs6000: New.
3794 * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
3795 to tmake_file.
3796 * generic-morestack.c: Don't build for powerpc 32-bit.
3797
515ae71b
EB
37982015-05-19 Eric Botcazou <ebotcazou@adacore.com>
3799
3800 * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
3801 Remove useless endif/ifneq ($(enable_shared),yes) pair.
3802
36805406
JL
38032015-05-16 James Bowman <james.bowman@ftdichip.com>
3804
3805 * config.host: FT32 target added.
3806 * config/ft32/*: New files for FT32 target.
3807
ff935d0c
MG
38082015-05-15 Martin Galvan <martin.galvan@tallertechnologies.com>
3809
385c7747
UB
3810 * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
3811 New macros.
3812 * config/arm/ieee754-df.S: Add CFI directives.
3813 * config/arm/ieee754-sf.S: Add CFI directives.
ff935d0c 3814
9b92a9f3
EB
38152015-05-13 Eric Botcazou <ebotcazou@adacore.com>
3816
3817 * configure.ac: Include config/sjlj.m4.
3818 Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
3819 * config.in: Regenerate.
3820 * configure: Likewise.
3821 * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
3822
98b5dc61
UB
38232015-05-12 Uros Bizjak <ubizjak@gmail.com>
3824
3825 * libgcov-util.c: Add space between string literal and macro name.
3826
5a0ff57c
SL
38272015-05-06 Sandra Loosemore <sandra@codesourcery.com>
3828 Chris Jones <chrisj@nvidia.com>
3829 Joshua Conner <jconner@nvidia.com>
3830
3831 * config.host (arm*-*-linux*): Add support for crtfastmath.o.
3832 (arm*-*-uclinux*): Likewise.
3833 (arm*-*-eabi* | arm*-*-rtems*): Likewise.
3834 * config/arm/crtfastmath.c: New file.
3835
d28ad5d4
BS
38362014-04-29 Bernd Schmidt <bernds@codesourcery.com>
3837
3838 * Makefile.in (real_host_noncanonical): New variable.
3839 (libsubdir): Use it.
3840 * configure.ac (real_host_noncanonical): Compute. Remove special
3841 case for intelmicemul.
3842 * configure: Regenerate.
3843
cc86234f
UB
38442015-04-28 Uros Bizjak <ubizjak@gmail.com>
3845
3846 * config/frv/elf-lib.h: New file.
3847 (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
3848 * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
3849 to tm_file.
3850
38512015-04-28 Uros Bizjak <ubizjak@gmail.com>
3852
3853 * config/frv/frvbengin.c: Do not include defaults.h
3854 * config/frv/frvend.c: Ditto.
3855
2f6bd6eb
YS
38562015-04-27 Yoshinori Sato <ysato@users.sourceforge.jp>
3857
3858 * config.host: Add h8300-*-linux
3859 * config/h8300/t-linux: New file.
3860 * config/h8300/lib1funs.s: Change symbol prefix.
3861 * config/h8300/sfp-machine.h: 64bit double support.
3862
15aa7b44
GR
38632015-04-22 Gregor Richards <gregor.richards@uwaterloo.ca>
3864 Szabolcs Nagy <szabolcs.nagy@arm.com>
3865
3866 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
3867 Linux if target provides dl_iterate_phdr.
3868
abd0cdc9
L
38692015-04-17 H.J. Lu <hongjiu.lu@intel.com>
3870
3871 PR target/65612
3872 * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
3873 * config/i386/cpuinfo.c (__cpu_model): Initialize.
3874 (__cpu_indicator_init@GCC_4.8.0): New.
3875 (__cpu_model@GCC_4.8.0): Likewise.
3876 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
3877 -DUSE_ELF_SYMVER.
3878
72ed1126
NC
38792015-04-16 Nick Clifton <nickc@redhat.com>
3880
3881 * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
3882 and __modhi3 functions.
3883 * config/rl78/divmodso.S: Add G14 and G13 versions of the
3884 __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
3885
d26b2237
CG
38862015-04-15 Chen Gang <gang.chen.5i5j@gmail.com>
3887
3888 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
3889 do-while loop as macro body to avoid warnings.
3890
cacf1f59
JJ
38912015-04-10 Jakub Jelinek <jakub@redhat.com>
3892 Iain Sandoe <iain@codesourcery.com>
3893
3894 PR target/65351
3895 * configure: Regenerate.
3896
e8a4ed3b
JJ
38972015-04-07 Jakub Jelinek <jakub@redhat.com>
3898 Iain Sandoe <iain@codesourcery.com>
3899
3900 PR target/65351
3901 * configure: Regenerate.
3902
0341335e
CLT
39032015-03-25 Chung-Lin Tang <cltang@codesourcery.com>
3904
3905 * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
3906
590e2636 39072015-03-03 Max Filippov <jcmvbkbc@gmail.com>
0341335e 3908
590e2636
MF
3909 Implement call0 ABI for xtensa
3910 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
3911 __xtensa_nonlocal_goto): Don't compile for call0 ABI.
3912 (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
3913 use ret in call0 ABI.
3914 * config/xtensa/t-windowed: New file.
3915 * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
3916 * libgcc/configure: Regenerated.
3917 * libgcc/configure.ac: Check if xtensa target is configured for
3918 windowed ABI and thus needs to use custom unwind code.
3919
7727f8f2
JW
39202015-02-12 Jonathan Wakely <jwakely@redhat.com>
3921
3922 PR libgcc/64885
3923 * gthr-single.h: Use __unused__ attribute instead of unused.
3924 * config/gthr-vxworks.h: Likewise.
3925 * config/i386/gthr-win32.h: Likewise.
3926
0e4a0def
KT
39272015-02-27 Kai Tietz <ktietz@redhat.com>
3928
3929 PR target/65038
3930 * config.in: Regenerated.
3931 * configure: Likewise.
3932 * configure.ac (AC_HEADER_STDC): Added explicit.
3933 (AC_CHECK_HEADERS): Check for default headers plus
3934 for ftw.h header.
3935 * libgcov-util.c (gcov_read_profile_dir): Disable use
3936 of ftw-function, if header is not found.
3937 (ftw_read_file): Likewise.
3938
b6530d0a
TS
39392015-02-23 Thomas Schwinge <thomas@codesourcery.com>
3940
3941 PR target/65181
3942 * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
3943 -Dinhibit_libc.
3944
53cfb467
SL
39452015-02-17 Sandra Loosemore <sandra@codesourcery.com>
3946
3947 * config/arm/bpabi.S (test_div_by_zero): Make label names
3948 consistent between thumb2 and arm mode cases. Separate the
3949 signed comparison on the high word of the numerator from the
3950 unsigned comparison on the low word.
3951 * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
3952 signed comparison.
3953
77d10a1b
JM
39542015-02-17 Joseph Myers <joseph@codesourcery.com>
3955
3956 * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
3957 and <string.h>.
3958 (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
3959
98174188
RE
39602015-02-10 Rainer Emrich <rainer@emrich-ebersheim.de>
3961
3962 PR gcov-profile/61889
471274de 3963 * libgcov-driver-system.c: undefine clashing macro for mkdir.
98174188 3964
771bef14
NC
39652015-02-02 Nick Clifton <nickc@redhat.com>
3966
3967 * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
3968 rounding up the fraction.
3969
40702893
JDA
39702015-01-31 John David Anglin <danglin@gcc.gnu.org>
3971
3972 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
3973 oldval and newval to const void *. Fix typo.
3974 (FETCH_AND_OP_2): Use __atomic_load_n to load value.
3975 (FETCH_AND_OP_WORD): Likewise.
3976 (OP_AND_FETCH_WORD): Likewise.
3977 (COMPARE_AND_SWAP_2): Likewise.
3978 (__sync_val_compare_and_swap_4): Likewise.
3979 (__sync_lock_test_and_set_4): Likewise.
3980 (SYNC_LOCK_RELEASE_2): Likewise.
3981 Remove support for long long atomic operations.
3982
f7f049fa
CT
39832015-01-27 Caroline Tice <cmtice@google.com>
3984
3985 Committing VTV Cywin/Ming patch for Patrick Wollgast
3986 * Makefile.in: Move rules to build vtv_*.o out of the check
3987 for CUSTOM_CRTSTUFF.
3988 * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
3989 i[34567]86-*-mingw*)
3990 (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
3991 enable_vtable_verify.
3992
8410904a
NC
39932015-01-27 Nick Clifton <nickc@redhat.com>
3994
3995 * config/rl78/cmpsi2.S: Use function start and end macros.
3996 (__gcc_bcmp): New function.
3997 * config/rl78/lshrsi3.S: Use function start and end macros.
3998 * config/rl78/mulsi3.S: Add support for G10.
3999 (__mulqi3): New function for G10.
4000 * config/rl78/signbit.S: Use function start and end macros.
4001 * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
4002 fpmath-sf.S.
4003 (LIB2FUNCS_EXCLUDE): Define.
4004 (LIB2FUNCS_ST): Define.
4005 * config/rl78/trampoline.S: Use function start and end macros.
4006 * config/rl78/vregs.h (START_FUNC): New macro.
4007 (START_ANOTHER_FUNC): New macro.
4008 (END_FUNC): New macro.
4009 (END_ANOTHER_FUNC): New macro.
4010 * config/rl78/bit-count.S: New file. Contains assembler
4011 implementations of the bit counting functions: ___clzhi2,
4012 __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
4013 __paritysi2, __popcounthi2 and __popcountsi2.
4014 * config/rl78/fpbit-sf.S: New file. Contains assembler
4015 implementationas of the math functions: __negsf2, __cmpsf2,
4016 __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
4017 __fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
4018 * config/rl78/fpmath-sf.S: New file. Contains assembler
4019 implementations of the math functions: __subsf3, __addsf3,
4020 __mulsf3 and __divsf3
4021
f962fbf1
RO
40222015-01-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4023
4024 * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
4025 Add i386/elf-lib.h to tm_file.
4026 * config/i386/elf-lib.h: Fix comment.
4027 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
4028 && __sun__ && __svr4__]: Remove workaround.
4029
939911c5
ASJ
40302015-01-25 Allan Sandfeld Jensen <sandfeld@kde.org>
4031
4032 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
4033 FEATURE_BMI2.
4034 (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
4035
c8f2dff2
L
40362015-01-24 H.J. Lu <hongjiu.lu@intel.com>
4037
4038 * config/i386/cpuinfo.c (processor_subtypes): Add
4039 INTEL_COREI7_BROADWELL.
4040 (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
4041 model numbers.
4042
7bbf9734
UB
40432015-01-23 Uros Bizjak <ubizjak@gmail.com>
4044
4045 * config/i386/elf-lib.h: New file.
4046 (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
4047 Wrap definition in #ifdef __i386__.
4048 * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
4049 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
4050 (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
4051 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
4052 to tm_file.
4053
324820f1
CG
40542015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
4055
4056 * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
4057 "(char *)" to avoid qualifier warning by 'xgcc' compiling.
4058
a9ce4e4a
CLT
40592015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
4060
4061 * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
4062 Update rt_sigframe format and address for current Nios II
4063 Linux conventions.
4064
82a19768
AT
40652015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
4066
4067 * config.host (arm*-*-freebsd*): Add new configuration for
4068 arm*-*-freebsd*.
4069 * config/arm/freebsd-atomic.c: New file.
4070 * config/arm/t-freebsd: Likewise.
4071 * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
4072 'PC-relative indirect' OS's.
4073
0969ec7d
EB
40742015-01-06 Eric Botcazou <ebotcazou@adacore.com>
4075
4076 * config.host: Add Visium support.
4077 * config/visium: New directory.
4078
5624e564
JJ
40792015-01-05 Jakub Jelinek <jakub@redhat.com>
4080
4081 Update copyright years.
4082
82f84ecb
MF
40832014-12-19 Matthew Fortune <matthew.fortune@imgtec.com>
4084
4085 * config.host: Support mipsisa32r6 and mipsisa64r6.
4086 * config/mips/mips16.S: Do not build for R6.
4087
69044fa9
OE
40882014-12-17 Oleg Endo <olegendo@gcc.gnu.org>
4089
4090 * config/sh/crt.h: New.
4091 * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
4092 symbols.
4093 * config/sh/crt1.S: Likewise.
4094
2405e0ea
UB
40952014-12-15 Uros Bizjak <ubizjak@gmail.com>
4096
4097 PR libgcc/63832
4098 * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
4099 func_ptr *dtor_list temporary variable to avoid "array subscript
4100 is above array bounds" warnings.
4101
7d296953 41022014-12-09 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
dd913323
MH
4103
4104 * Makefile.in (with_aix_soname): Define.
4105 * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
4106 * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
4107 * configure: Recreate.
4108
a66272f6
OH
41092014-12-05 Olivier Hainque <hainque@adacore.com>
4110
4111 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
4112 now provided by defaults.h.
4113
6342b2c5
OE
41142014-11-30 Oleg Endo <olegendo@gcc.gnu.org>
4115
7d0ee249 4116 PR target/55351
6342b2c5
OE
4117 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
4118 whether it's defined.
4119
c17eac85
IT
41202014-11-27 Ilya Tocar <ilya.tocar@intel.com>
4121
4122 * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
4123 * config/i386/cpuinfo.c (get_available_features): Detect it.
4124
1025cb6c
TW
41252014-11-27 Tony Wang <tony.wang@arm.com>
4126
4127 * config/arm/lib1funcs.S (FUNC_START): Add conditional section
4128 redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
4129 (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
4130
d19f2e38
SB
41312014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
4132
4133 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
4134
17f6e9a3
JDA
41352014-11-24 John David Anglin <danglin@gcc.gnu.org>
4136
4137 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
4138 instead.
4139
0cd7c672
GM
41402014-11-21 Guy Martin <gmsoft@tuxicoman.be>
4141 John David Anglin <danglin@gcc.gnu.org>
4142
4143 * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
4144 (FETCH_AND_OP_2): New. Use for subword and double word operations.
4145 (OP_AND_FETCH_2): Likewise.
4146 (COMPARE_AND_SWAP_2): Likewise.
4147 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
4148 (SYNC_LOCK_RELEASE_2): Likewise.
4149 (SUBWORD_SYNC_OP): Remove.
4150 (SUBWORD_VAL_CAS): Likewise.
4151 (SUBWORD_BOOL_CAS): Likewise.
4152 (FETCH_AND_OP_WORD): Update.
4153 Consistently use signed types.
cc86234f 4154
85c64bbe
BS
41552014-11-13 Bernd Schmidt <bernds@codesourcery.com>
4156 Thomas Schwinge <thomas@codesourcery.com>
4157 Ilya Verbin <ilya.verbin@intel.com>
4158 Andrey Turetskiy <andrey.turetskiy@intel.com>
4159
4160 * Makefile.in (crtoffloadbegin$(objext)): New rule.
4161 (crtoffloadend$(objext)): Likewise.
4162 * configure: Regenerate.
4163 * configure.ac (accel_dir_suffix): Compute new variable.
4164 (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
4165 if enable_offload_targets is not empty.
4166 * offloadstuff.c: New file.
4167
52a1ff8b
NC
41682014-11-13 Nick Clifton <nickc@redhat.com>
4169
4170 * config/rl78/divmodhi.S: Add support for the G10 architecture.
4171 Use START_FUNC and END_FUNC macros to enable linker garbage
4172 collection.
4173 * config/rl78/divmodqi.S: Likewise.
4174 * config/rl78/divmodsi.S: Likewise.
4175 * config/rl78/mulsi3.S: Likewise.
4176 * config/rl78/lib2div.c: Remove G10 functions.
4177 * config/rl78/lib2muls.c: Likewise.
4178 * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
4179 * config/rl78/vregs.h (START_FUNC): New macro.
4180 (END_FUNC): New macro.
4181
050af144
MF
41822014-11-12 Matthew Fortune <matthew.fortune@imgtec.com>
4183
4184 * config/mips/mips16.S: Set .module when supported. Update O32
4185 FP64 calling convention and use for FPXX when possible. Add FPXX
4186 calling convention fallback case.
4187
738f2522
BS
41882014-11-06 Bernd Schmidt <bernds@codesourcery.com>
4189
4190 * config.host: Handle nvptx-*-*.
4191 * shared-object.mk (as-flags-$o): Define.
4192 ($(base)$(objext), $(base)_s$(objext)): Use it instead of
4193 -xassembler-with-cpp.
4194 * static-object.mk: Identical changes.
4195 * config/nvptx/t-nvptx: New file.
4196 * config/nvptx/crt0.s: New file.
4197 * config/nvptx/free.asm: New file.
4198 * config/nvptx/malloc.asm: New file.
4199 * config/nvptx/realloc.c: New file.
4200
e610393c
JM
42012014-10-30 Joseph Myers <joseph@codesourcery.com>
4202
4203 * Makefile.in (libgcc.map.in): New target.
4204 (libgcc.map): Use libgcc.map.in.
4205 * config/t-softfp (softfp_compat): New variable to be set by
4206 users.
4207 [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
4208 variables.
4209 [$(softfp_compat) = y] (softfp_file_list): Use files in the build
4210 directory.
4211 [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
4212 that use compat symbols and disable all code unless [SHARED].
4213 * config/t-softfp-compat: New file.
4214 * find-symver.awk: New file.
4215 * configure.ac (--with-glibc-version): New configure option.
4216 (ppc_fp_compat): New variable set for powerpc*-*-linux*.
4217 * configure: Regenerate.
4218 * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
4219 soft-float and e500.
4220
bc1b3a88
JM
42212014-10-29 Joseph Myers <joseph@codesourcery.com>
4222
4223 * config/t-hardfp (hardfp_exclusions): Document new variable for
4224 user to define.
4225 (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
4226 * config/t-softfp (softfp_extras): Document new variable for user
4227 to define.
4228 (softfp_func_list): Add functions from $(softfp_extras).
4229 * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
4230 * config.host (powerpc*-*-linux*): For e500v1, use
4231 rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
4232 t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
4233 and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
4234
ef2810c1
JDA
42352014-10-26 John David Anglin <danglin@gcc.gnu.org>
4236
4237 * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
4238 (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
4239 memory read accesses are ok.
4240
d80c2bea
JM
42412014-10-25 Joseph Myers <joseph@codesourcery.com>
4242
4243 * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
4244 * configure: Regenerate.
4245 * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
4246 additions to tmake_file. Use t-hardfp-sfdf and t-hardfp instead
4247 of soft-fp for 32-bit classic hard float. Do not use
4248 t-softfp-excl for soft float.
4249
693b297b
JM
42502014-10-22 Joseph Myers <joseph@codesourcery.com>
4251
4252 * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
4253 configurations.
4254 * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
4255 Remove variables.
4256
18a3415e
GJL
42572014-10-22 Georg-Johann Lay <avr@gjlay.de>
4258
4259 * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
4260 introduced with 2014-10-21 trunk r216525.
4261
c1dd9790 42622014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
7d296953
JJ
4263 Vidya Praveen <vidya.praveen@atmel.com>
4264 Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
4265 Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
4266 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
c1dd9790
JR
4267
4268 * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
4269 order.
4270
4271 Updated library functions for AVRTINY arch.
4272 * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
4273 Replaced occurrences of r0/r1 with tmp/zero reg macros.
4274 Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
4275 or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
4276 wsubi/wadi macors.
4277 (__mulsi3_helper): Update stack, preserve callee saved regs and
4278 argument from stack. Restore callee save registers.
4279 (__mulpsi3): Likewise.
4280 (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
4281 __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
18a3415e 4282 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
c1dd9790
JR
4283 AVRTINY.
4284 (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
4285 (__do_copy_data): Added new definition for AVRTINY.
4286 (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
4287 (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
4288 __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
4289 * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
4290 tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
4291 macors.
18a3415e 4292 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
c1dd9790
JR
4293 AVRTINY.
4294
18a3415e 4295 Fix broken long multiplication on tiny arch.
c1dd9790 4296
5f606431
JM
42972014-10-09 Joseph Myers <joseph@codesourcery.com>
4298
4299 * soft-fp/double.h: Update from glibc.
4300 * soft-fp/eqdf2.c: Likewise.
4301 * soft-fp/eqsf2.c: Likewise.
4302 * soft-fp/eqtf2.c: Likewise.
4303 * soft-fp/extenddftf2.c: Likewise.
4304 * soft-fp/extended.h: Likewise.
4305 * soft-fp/extendsfdf2.c: Likewise.
4306 * soft-fp/extendsftf2.c: Likewise.
4307 * soft-fp/extendxftf2.c: Likewise.
4308 * soft-fp/gedf2.c: Likewise.
4309 * soft-fp/gesf2.c: Likewise.
4310 * soft-fp/getf2.c: Likewise.
4311 * soft-fp/ledf2.c: Likewise.
4312 * soft-fp/lesf2.c: Likewise.
4313 * soft-fp/letf2.c: Likewise.
4314 * soft-fp/op-1.h: Likewise.
4315 * soft-fp/op-2.h: Likewise.
4316 * soft-fp/op-4.h: Likewise.
4317 * soft-fp/op-8.h: Likewise.
4318 * soft-fp/op-common.h: Likewise.
4319 * soft-fp/quad.h: Likewise.
4320 * soft-fp/single.h: Likewise.
4321 * soft-fp/soft-fp.h: Likewise.
4322 * soft-fp/unorddf2.c: Likewise.
4323 * soft-fp/unordsf2.c: Likewise.
4324 * soft-fp/unordtf2.c: Likewise.
4325 * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
4326 * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
4327 * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
4328 * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
4329 * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
4330 * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
4331 * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
4332 * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
4333 * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
4334 * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
4335
9b84e7a8
RX
43362014-10-08 Rong Xu <xur@google.com>
4337
4338 * libgcov-util.c (read_gcda_file): Fix format.
4339 (find_match_gcov_info): Ditto.
4340 (calculate_2_entries): New.
4341 (compute_one_gcov): Ditto.
4342 (gcov_info_count_all_cold): Ditto.
4343 (gcov_info_count_all_zero): Ditto.
4344 (extract_file_basename): Ditto.
4345 (get_file_basename): Ditto.
4346 (set_flag): Ditto.
4347 (matched_gcov_info): Ditto.
4348 (calculate_overlap): Ditto.
4349 (gcov_profile_overlap): Ditto.
4350 * libgcov-driver.c (compute_summary): Make
4351 it avavilable for external calls.
4352
fe1090c1
RX
43532014-10-06 Rong Xu <xur@google.com>
4354
4355 * Makefile.in: Ditto.
4356 * libgcov-driver.c (gcov_sort_n_vals): New utility function.
4357 (gcov_sort_icall_topn_counter): Ditto.
4358 (gcov_sort_topn_counter_arrays): Ditto.
4359 (dump_one_gcov): Sort indirect_call topn counters.
4360 * libgcov-merge.c (__gcov_merge_icall_topn): New merge
4361 function.
4362 * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
4363 utility function.
4364 (__gcov_indirect_call_topn_profiler): New profiler function.
4365 * libgcov-util.c (__gcov_icall_topn_counter_op): New.
4366 * libgcov.h: New decls.
4367
3daa7bbf
TS
43682014-10-04 Trevor Saunders <tsaunders@mozilla.com>
4369
4370 * config.host: Remove support for score-*.
4371
9a79452d
JM
43722014-09-22 Joseph Myers <joseph@codesourcery.com>
4373
4374 * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
4375 (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
4376 (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
4377 __LIBGCC_XF_MANT_DIG__.
4378 (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
4379 (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
4380 __LIBGCC_TF_MANT_DIG__.
4381 * libgcc2.c (NOTRUNC): Define in terms of
4382 __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
4383 * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
4384
1a849e50
JM
43852014-09-22 Joseph Myers <joseph@codesourcery.com>
4386
4387 PR target/63312
4388 * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
4389 New macros.
4390
598a1586
HPN
43912014-09-22 Hans-Peter Nilsson <hp@axis.com>
4392
4393 * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
4394 override USE_PT_GNU_EH_FRAME.
4395 [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
4396 check USE_EH_FRAME_REGISTRY_ALWAYS against
4397 __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
4398 * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
4399 variable for substituted force_explicit_eh_registry.
4400 (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
4401 * configure.ac (explicit-exception-frame-registration):
4402 New AC_ARG_ENABLE.
4403 * configure: Regenerate.
4404
3a8fe7c6
OH
44052014-09-19 Olivier Hainque <hainque@adacore.com>
4406
4407 * config.host (powerpc-wrs-vxworksmils): New configuration,
4408 same as vxworksae.
4409
dd69f047
JM
44102014-09-18 Joseph Myers <joseph@codesourcery.com>
4411
4412 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
4413
e770bfd9
JM
44142014-09-18 Joseph Myers <joseph@codesourcery.com>
4415
4416 * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
4417 bits not set bits as indicating trapping exceptions.
4418
cadb2b96
NS
44192014-09-17 Nathan sidwell <nathan@acm.org>
4420
4421 * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
4422 (LIBGCOV_DRIVER): ... here.
4423 * libgcov-driver.c (gcov_master): New.
4424 (gcov_exit): Remove from master chain.
4425 (__gcov_init): Add to master chain if version compatible. Don't
4426 clear the version.
4427 * libgcov_interface (__gcov_flust): Call gcov_dump_int.
4428 (gcov_reset_int): Clear master chain, if compatible.
4429 (gcov_dump_int): New internal interface. Dump master chain, if
4430 compatible.
4431 (gcov_dump): Alias for gcov_dump_int.
4432 * libgcov.h (struct gcov_root): Add next and prev fields.
4433 (struct gcov_master): New struct.
4434 (__gcov_master): New.
4435 (gcov_dump_int): Declare.
4436
580d22a3
OH
44372014-09-17 Olivier Hainque <hainque@adacore.com>
4438
4439 * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
4440 and crtbegin.o + crtend.o to extra_parts.
4441
8cc4b7a2
JM
44422014-09-12 Joseph Myers <joseph@codesourcery.com>
4443
4444 * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
4445 __LIBGCC_HAS_SF_MODE__.
4446 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
4447 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
4448 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
4449 * config/libbid/bid_gcc_intrinsics.h
4450 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
4451 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
4452 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
4453 * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
4454 (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
4455 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
4456
ea3f2b24
GJL
44572014-09-11 Georg-Johann Lay <avr@gjlay.de>
4458
4459 PR target/63223
4460 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
4461 and R24 as needed. Make work for all devices and .text locations.
4462 (__do_global_ctors, __do_global_dtors): Use word addresses.
4463 (__tablejump__, __tablejump_elpm__): Remove functions.
4464 * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
4465 Add _tablejump2.
4466 (XICALL, XIJMP): New macros.
4467
b677236a
MS
44682014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
4469 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
4470
4471 * config.host (aarch64*): Include crtfastmath.o and
4472 t-crtfm.
4473 * config/aarch64/crtfastmath.c: New file.
4474
157e859f
TS
44752014-09-08 Trevor Saunders <tsaunders@mozilla.com>
4476
4477 * config.host: Remove picochip support.
4478 * config/picochip/adddi3.S: Remove.
4479 * config/picochip/ashlsi3.S: Remove.
4480 * config/picochip/ashlsi3.c: Remove.
4481 * config/picochip/ashrsi3.S: Remove.
4482 * config/picochip/ashrsi3.c: Remove.
4483 * config/picochip/clzsi2.S: Remove.
4484 * config/picochip/cmpsi2.S: Remove.
4485 * config/picochip/divmod15.S: Remove.
4486 * config/picochip/divmodhi4.S: Remove.
4487 * config/picochip/divmodsi4.S: Remove.
4488 * config/picochip/lib1funcs.S: Remove.
4489 * config/picochip/longjmp.S: Remove.
4490 * config/picochip/lshrsi3.S: Remove.
4491 * config/picochip/lshrsi3.c: Remove.
4492 * config/picochip/parityhi2.S: Remove.
4493 * config/picochip/popcounthi2.S: Remove.
4494 * config/picochip/setjmp.S: Remove.
4495 * config/picochip/subdi3.S: Remove.
4496 * config/picochip/t-picochip: Remove.
4497 * config/picochip/ucmpsi2.S: Remove.
4498 * config/picochip/udivmodhi4.S: Remove.
4499 * config/picochip/udivmodsi4.S: Remove.
4500
66bb34c0
JM
45012014-09-08 Joseph Myers <joseph@codesourcery.com>
4502
4503 * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
4504 (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
4505 (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
4506 (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
4507 * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
4508 error if not defined and LIBGCC2_HAS_SF_MODE is defined.
4509 (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
4510 defined and LIBGCC2_HAS_DF_MODE is defined.
4511 (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
4512 defined and LIBGCC2_HAS_XF_MODE is defined.
4513 (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
4514 defined and LIBGCC2_HAS_TF_MODE is defined.
4515
9686a2e6
JM
45162014-09-08 Joseph Myers <joseph@codesourcery.com>
4517
4518 * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
4519 and ROUND_TOWARDS_ZERO conditionals.
4520
71c3e2ef
NS
45212014-09-07 Nathan sidwell <nathan@acm.org>
4522
4523 * libgcov-interface.c (STRONG_ALIAS): Rename to ...
4524 (ALIAS_weak): ... here. Use forwarding function. Adjust uses.
4525
53d68b9f
JM
45262014-09-05 Joseph Myers <joseph@codesourcery.com>
4527
4528 * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
4529 * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
4530 uses to __LIBGCC_STACK_POINTER_REGNUM__.
4531 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
4532 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4533 * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
4534 Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4535 * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
4536 uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
4537 (DWARF_FRAME_REGISTERS): Change all uses to
4538 __LIBGCC_DWARF_FRAME_REGISTERS__.
4539 (EH_RETURN_STACKADJ_RTX): Change all uses to
4540 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
4541 * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
4542 __LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
4543 * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
4544 use to __LIBGCC_EH_FRAME_SECTION_NAME__.
4545 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
4546 * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
4547 to __LIBGCC_EH_FRAME_SECTION_NAME__.
4548 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
4549 * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
4550 __LIBGCC_STACK_POINTER_REGNUM__.
4551 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
4552 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4553 * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
4554 to __LIBGCC_STACK_POINTER_REGNUM__.
4555 * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
4556 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4557 * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
4558 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4559 * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
4560 Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4561 (STACK_POINTER_REGNUM): Change all uses to
4562 __LIBGCC_STACK_POINTER_REGNUM__.
4563 * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
4564 use to __LIBGCC_STACK_POINTER_REGNUM__.
4565 * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
4566 uses to __LIBGCC_STACK_POINTER_REGNUM__.
4567 * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
4568 to __LIBGCC_DWARF_FRAME_REGISTERS__.
4569 * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
4570 to __LIBGCC_DWARF_FRAME_REGISTERS__.
4571 * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
4572 to __LIBGCC_STACK_POINTER_REGNUM__.
4573 * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
4574 Remove conditional definition.
4575 * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
4576 __LIBGCC_TEXT_SECTION_ASM_OP__.
4577 (EH_FRAME_SECTION_NAME): Change all uses to
4578 __LIBGCC_EH_FRAME_SECTION_NAME__.
4579 (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
4580 __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
4581 (CTORS_SECTION_ASM_OP): Change all uses to
4582 __LIBGCC_CTORS_SECTION_ASM_OP__.
4583 (DTORS_SECTION_ASM_OP): Change all uses to
4584 __LIBGCC_DTORS_SECTION_ASM_OP__.
4585 (JCR_SECTION_NAME): Change all uses to
4586 __LIBGCC_JCR_SECTION_NAME__.
4587 (INIT_SECTION_ASM_OP): Change all uses to
4588 __LIBGCC_INIT_SECTION_ASM_OP__.
4589 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
4590 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
4591 * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
4592 __LIBGCC_STACK_GROWS_DOWNWARD__.
4593 * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
4594 __LIBGCC_INIT_SECTION_ASM_OP__.
4595 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
4596 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
4597 (EH_FRAME_SECTION_NAME): Change all uses to
4598 __LIBGCC_EH_FRAME_SECTION_NAME__.
4599 * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
4600 definitions. Change all uses to
4601 __LIBGCC_VTABLE_USES_DESCRIPTORS__.
4602 * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
4603 __LIBGCC_STACK_GROWS_DOWNWARD__.
4604 (DWARF_FRAME_REGISTERS): Change all uses to
4605 __LIBGCC_DWARF_FRAME_REGISTERS__.
4606 (EH_RETURN_STACKADJ_RTX): Change all uses to
4607 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
4608 * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
4609 definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
4610 * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
4611 __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
4612 (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
4613
b20ee094
NS
46142014-09-02 Nathan sidwell <nathan@acm.org>
4615
4616 * libgcov-interface.c (STRONG_ALIAS): New.
4617 (__gcov_flush): Call __gcov_reset_int.
4618 (__gcov_reset): Strong alias for ...
4619 (__gcov_reset_ing): ... this renamed hidden version.
4620 * libgcov.h (__gcov_reset_int): New declaration.
4621
1ac83976
YS
46222014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
4623
25efdb9f
YS
4624 * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
4625 call from here...
4626 * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
4627 (__dso_handle): Define on Cygwin.
4628 * config/i386/t-cygming (crtbeginS.o): New rule.
4629 * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
4630
1ac83976
YS
4631 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
4632 declaration syntax.
4633
c6f9ea3b
SE
46342014-08-13 Steve Ellcey <sellcey@mips.com>
4635
4636 * crtstuff.c: Undef caddr_t.
4637
5b1ea7c5
SE
46382014-08-12 Steve Ellcey <sellcey@mips.com>
4639
4640 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
4641
4303c581
NS
46422014-08-07 Nathan Sidwell <nathan@acm.org>
4643
4644 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
4645 (LIBGCOV_DRIVER): ... to here.
4646 * libgcov.h (gcov_do_dump): New #define.
4647 (struct gcov_root): New.
4648 (__gcov_root): New declaration.
4649 (__gcov_dump_one): Declare.
4650 * libgcov-driver.c (gcov_list, gcov_dump_complete,
4651 run_accounted): Delete.
4652 (gcov_compute_histogram): Add LIST argument, adjust.
4653 (compute_summary): Adjust gcov_compute_histogram call.
4654 (gcov_do_dump): Not hidden, static in libgcov.
4655 (gcov_clear): Move to interface.c.
4656 (__gcov_dump_one): New, broken out of ...
4657 (gcov_exit): ... here. Make static.
4658 (__gcov_root): New.
4659 (__gcov_init): Adjust.
4660 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
4661 declarations.
4662 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
4663 (gcov_clear): Moved from driver.c. Add LIST argument.
4664 (__gcov_reset): Adjust for changed interfaces.
4665 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
4666
23742a9e
RAR
46672014-08-04 Rohit <rohitarulraj@freescale.com>
4668
4669 PR target/60102
4670 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
d406ae47 4671 based on change in SPE high register numbers and 3 HTM registers.
23742a9e 4672
b98a872b
NS
46732014-08-01 Nathan Sidwell <nathan@acm.org>
4674
4675 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
4676 LIBGCOV_INTERFACE): Reformat.
4677 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
4678 IN_GCOV_TOOL.
4679 * libgcov-interface.c: Reformat some comments.
4680 (__gcov_flush_mx): Add declaration. Tidy up definition.
4681
6adaaa1d
AM
46822014-07-31 Alan Modra <amodra@gmail.com>
4683 Peter Bergner <bergner@vnet.ibm.com>
4684
4685 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
4686 (pack_ldouble): New function.
4687 (__gcc_qadd): Use it.
4688 (__gcc_qmul): Likewise.
4689 (__gcc_qdiv): Likewise.
4690 (__gcc_qneg): Likewise.
4691 (__gcc_stoq): Likewise.
4692 (__gcc_dtoq): Likewise.
4693
87cb0c0c
UW
46942014-07-30 J. D. Johnston <jjohnst@us.ibm.com>
4695
4696 * config/s390/tpf-unwind.h: Include <stdbool.h>.
4697 (__tpf_eh_return): Add original return address as second parameter.
4698 Handle cases where unwinder routines were called directly, instead
4699 of from within the C++ library.
4700
19926161
NS
47012014-07-29 Nathan Sidwell <nathan@acm.org>
4702
4703 * libgcov.h: Move renaming of entry points to lib gcov specific
4704 portion.
4705 (gcov_do_dump): New rename.
4706 (gcov_rewrite): Remove inline, make HIDDEN.
4707 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
4708 (gcov_exit_compute_summary): Rename to ...
4709 (compute_summary): ... here. Add LIST argument.
4710 (gcov_exit_merge_gcda): Rename to ...
4711 (merge_one_data): ... here.
4712 (gcov_exit_write_gcda): Rename to ...
4713 (write_one_data): ... here.
4714 (gcov_exit_merge_summary): Rename to ...
4715 (merge_summary): Add RUN_COUNTED argument.
4716 (gcov_exit_dump_gcov): Rename to ...
4717 (dump_one_gcov): Add RUN_COUNTED argument.
4718 (gcov_do_dump): New function, broken out of ...
4719 (gcov_exit): ... here. Call it.
4720
17522262
AG
47212014-07-27 Anthony Green <green@moxielogic.com>
4722
4723 * config.host: Add moxiebox configuration suppport.
4724
6dc33097
NS
47252014-07-27 Nathan Sidwell <nathan@acm.org>
4726
4727 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
4728 (struct gcov_filename): ... here. Include buffer and max length
4729 fields.
4730 (gcov_max_filename): Remove.
4731 (gi_filename): Remove.
4732 (gcov_exit_compute_summary): Compute max filename here.
4733 (gcov_exit_merge_gcda): Add filename parm, adjust.
4734 (gcov_exit_merge_summary): Likewise.
4735 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
4736 (gcov_exit): Likewise.
4737 (__gcov_init): Don't calculate max length here.
4738 * libgcov_util.c (max_filename_len): Remove.
4739 (read_gcda_file): Don't calculate max length here.
4740 (gcov_read_profile_dir): Don't propagate here.
4741 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
4742 struct gcov_filename changes.
4743 (gcov_exit_open_gcda_file): Likewise.
4744
770f687d
NS
47452014-07-25 Nathan Sidwell <nathan@acm.org>
4746
4747 * libgcov-driver.c (set_gcov_dump_complete,
4748 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
4749 functions polluting user's namespace.
4750 (gcov_exit): Set variable directly.
4751 (gcov_clear): Reset variable directly.
4752 * libgcov-interface.c (get_gcov_dymp_complete,
4753 reset_gov_dump_complete): Remove declarations.
4754 (__gcov_reset, __gcov_dump): Don't call them.
4755
fabf71ba
DD
47562014-07-24 DJ Delorie <dj@redhat.com>
4757
4758 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
770f687d
NS
4759 (__gcc_deregister_frame): Move logic to detect deregister function
4760 to ...
4761 (__gcc_register_frame): here, so it's consistent with the register
4762 logic.
fabf71ba 4763
d10ee722
NS
47642014-07-23 Nathan Sidwell <nathan@acm.org>
4765
4766 * libgcov-driver.c (set_gcov_list): Remove.
4767 (gcov_list): Make non-static in GCOV_TOOL.
4768 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
4769
a4137090
JDA
47702014-07-17 John David Anglin <danglin@gcc.gnu.org>
4771
4772 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
4773 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
4774 Don't use SYNC_LOCK_RELEASE for int type.
4775
72602c6c
RB
47762014-07-14 Richard Biener <rguenther@suse.de>
4777
4778 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
4779
d5313205
RX
47802014-07-11 Rong Xu <xur@google.com>
4781
4782 * libgcov-util.c (gcov_max_filename): Fix declartion.
4783
c77556a5
RX
47842014-07-10 Rong Xu <xur@google.com>
4785
4786 Add gcov-tool: an offline gcda profile processing tool
4787 Support.
4788 * libgcov-driver.c (gcov_max_filename): Make available
4789 to gcov-tool.
4790 * libgcov-merge.c (__gcov_merge_add): Replace
4791 gcov_read_counter() with a Macro.
4792 (__gcov_merge_ior): Ditto.
4793 (__gcov_merge_time_profile): Ditto.
4794 (__gcov_merge_single): Ditto.
4795 (__gcov_merge_delta): Ditto.
4796 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
4797 in the utility functions.
4798 (set_fn_ctrs): Utility function for reading gcda files to in-memory
4799 gcov_list object link lists.
4800 (tag_function): Ditto.
4801 (tag_blocks): Ditto.
4802 (tag_arcs): Ditto.
4803 (tag_lines): Ditto.
4804 (tag_counters): Ditto.
4805 (tag_summary): Ditto.
4806 (read_gcda_finalize): Ditto.
4807 (read_gcda_file): Ditto.
4808 (ftw_read_file): Ditto.
4809 (read_profile_dir_init): Ditto.
4810 (gcov_read_profile_dir): Ditto.
4811 (gcov_read_counter_mem): Ditto.
4812 (gcov_get_merge_weight): Ditto.
4813 (merge_wrapper): A wrapper function that calls merging handler.
4814 (gcov_merge): Merge two gcov_info objects with weights.
4815 (find_match_gcov_info): Find the matched gcov_info in the list.
4816 (gcov_profile_merge): Merge two gcov_info object lists.
4817 (__gcov_add_counter_op): Process edge profile counter values.
4818 (__gcov_ior_counter_op): Process IOR profile counter values.
4819 (__gcov_delta_counter_op): Process delta profile counter values.
4820 (__gcov_single_counter_op): Process single profile counter values.
4821 (fp_scale): Callback function for float-point scaling.
cc86234f 4822 (int_scale): Callback function for integer fraction scaling.
c77556a5
RX
4823 (gcov_profile_scale): Scaling profile counters.
4824 (gcov_profile_normalize): Normalize profile counters.
4825 * libgcov.h: Add headers and functions for gcov-tool use.
4826 (gcov_get_counter): New.
4827 (gcov_get_counter_target): Ditto.
4828 (struct gcov_info): Make the functions field mutable in gcov-tool
4829 compilation.
4830
5c7dac8a
KT
48312014-06-23 Kai Tietz <ktietz@redhat.com>
4832
4833 PR libgcc/61585
4834 * unwind-seh.c (_Unwind_GetGR): Check for proper
4835 index range.
4836 (_Unwind_SetGR): Likewise.
4837
161c9312
NC
48382014-05-22 Nick Clifton <nickc@redhat.com>
4839
4840 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
4841 -mhwmult=none.
4842
e3f0315f
TJ
48432014-05-22 Teresa Johnson <tejohnson@google.com>
4844
4845 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
4846 include.
4847
dbed5a9b
JM
48482014-05-20 John Marino <gnugcc@marino.st>
4849
4850 * config.host (*-*-dragonfly*): New target.
4851 * crtstuff.c: Make dl_iterate_support generic on *bsd.
4852 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
4853 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
4854 * config/i386/dragonfly-unwind.h: New.
4855
1ec380e5
MR
48562014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
4857
4858 PR libgcc/60166
4859 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
4860 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
4861
54fde020
BE
48622014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
4863
4864 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
4865 implementation.
4866
999db125
GJL
48672014-05-12 Georg-Johann Lay <avr@gjlay.de>
4868
4869 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
4870
cceaf54a
RO
48712014-05-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4872
4873 PR libgcc/61097
4874 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
4875 if --enable-shared.
4876
e3fe9b5b
BE
48772014-04-30 Bernd Edlinger <bernd.edlinger@hotmail.de>
4878
4879 Work around for current cygwin32 build problems.
4880 * config/i386/cygming-crtbegin.c (__register_frame_info,
4881 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
4882 functions only for 64-bit systems.
4883
54cf37e9
RO
48842014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4885
4886 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
4887 (sigill_caught, sigill_hdlr): Remove.
4888
d9f069ab
RO
48892014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4890
4891 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
4892 check.
4893 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
4894 Solaris 9 single-threaded support.
4895 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
4896 Solaris 9 single-threaded support. Add call_user_handler code
4897 sequences.
4898 (sparc_is_sighandler): Likewise.
4899
59976ef8
AK
49002014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4901
4902 * config.host: Append t-floattodi to tmake_file depending on
4903 host_address.
4904
d02bbcf3
JS
49052014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
4906
31466bc0 4907 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
d02bbcf3 4908
c2e7e597
UB
49092014-03-10 Uros Bizjak <ubizjak@gmail.com>
4910
4911 PR libgcc/60472
4912 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
2405e0ea 4913 variable to avoid "array subscript is above array bounds" warnings.
c2e7e597
UB
4914 Use __builtin_expect when checking *jcr_list for NULL.
4915
227a7dc8
RO
49162014-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4917
4918 PR libgcc/59339
4919 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
4920 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
4921 vtv_*.o to extra_parts if enable_vtable_verify.
4922
df2b279c
NC
49232014-03-06 Nick Clifton <nickc@redhat.com>
4924
4925 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
4926 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
4927
dc11d79b
JY
49282014-02-28 Joey Ye <joey.ye@arm.com>
4929
4930 PR libgcc/60166
4931 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
4932 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
4933 Set to zero.
4934
341c653c
WL
49352014-02-24 Walter Lee <walt@tilera.com>
4936
4937 * config.host: Support "tilegx*" and "tilepro*" triplets.
4938 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
4939 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
4940
95ce7613
CLT
49412014-02-20 Sandra Loosemore <sandra@codesourcery.com>
4942 Chung-Lin Tang <cltang@codesourcery.com>
4943
4944 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
4945 * config/nios2/crti.S: Remove .file directive.
4946 * config/nios2/crtn.S: Likewise.
4947
0bb4fc05
KT
49482014-02-18 Kai Tietz <ktietz@redhat.com>
4949 Jonathan Schleifer <js@webkeks.org>
4950
4951 PR objc/56870
4952 * unwind-seh.c (_GCC_specific_handler): Pass proper
4953 value to unwind-handler.
4954
9acf28f1
JM
49552014-02-12 Joseph Myers <joseph@codesourcery.com>
4956
4957 * soft-fp/adddf3.c: Update from glibc.
4958 * soft-fp/addsf3.c: Likewise.
4959 * soft-fp/addtf3.c: Likewise.
4960 * soft-fp/divdf3.c: Likewise.
4961 * soft-fp/divsf3.c: Likewise.
4962 * soft-fp/divtf3.c: Likewise.
4963 * soft-fp/double.h: Likewise.
4964 * soft-fp/eqdf2.c: Likewise.
4965 * soft-fp/eqsf2.c: Likewise.
4966 * soft-fp/eqtf2.c: Likewise.
4967 * soft-fp/extenddftf2.c: Likewise.
4968 * soft-fp/extended.h: Likewise.
4969 * soft-fp/extendsfdf2.c: Likewise.
4970 * soft-fp/extendsftf2.c: Likewise.
4971 * soft-fp/extendxftf2.c: Likewise.
4972 * soft-fp/fixdfdi.c: Likewise.
4973 * soft-fp/fixdfsi.c: Likewise.
4974 * soft-fp/fixdfti.c: Likewise.
4975 * soft-fp/fixsfdi.c: Likewise.
4976 * soft-fp/fixsfsi.c: Likewise.
4977 * soft-fp/fixsfti.c: Likewise.
4978 * soft-fp/fixtfdi.c: Likewise.
4979 * soft-fp/fixtfsi.c: Likewise.
4980 * soft-fp/fixtfti.c: Likewise.
4981 * soft-fp/fixunsdfdi.c: Likewise.
4982 * soft-fp/fixunsdfsi.c: Likewise.
4983 * soft-fp/fixunsdfti.c: Likewise.
4984 * soft-fp/fixunssfdi.c: Likewise.
4985 * soft-fp/fixunssfsi.c: Likewise.
4986 * soft-fp/fixunssfti.c: Likewise.
4987 * soft-fp/fixunstfdi.c: Likewise.
4988 * soft-fp/fixunstfsi.c: Likewise.
4989 * soft-fp/fixunstfti.c: Likewise.
4990 * soft-fp/floatdidf.c: Likewise.
4991 * soft-fp/floatdisf.c: Likewise.
4992 * soft-fp/floatditf.c: Likewise.
4993 * soft-fp/floatsidf.c: Likewise.
4994 * soft-fp/floatsisf.c: Likewise.
4995 * soft-fp/floatsitf.c: Likewise.
4996 * soft-fp/floattidf.c: Likewise.
4997 * soft-fp/floattisf.c: Likewise.
4998 * soft-fp/floattitf.c: Likewise.
4999 * soft-fp/floatundidf.c: Likewise.
5000 * soft-fp/floatundisf.c: Likewise.
5001 * soft-fp/floatunditf.c: Likewise.
5002 * soft-fp/floatunsidf.c: Likewise.
5003 * soft-fp/floatunsisf.c: Likewise.
5004 * soft-fp/floatunsitf.c: Likewise.
5005 * soft-fp/floatuntidf.c: Likewise.
5006 * soft-fp/floatuntisf.c: Likewise.
5007 * soft-fp/floatuntitf.c: Likewise.
5008 * soft-fp/gedf2.c: Likewise.
5009 * soft-fp/gesf2.c: Likewise.
5010 * soft-fp/getf2.c: Likewise.
5011 * soft-fp/ledf2.c: Likewise.
5012 * soft-fp/lesf2.c: Likewise.
5013 * soft-fp/letf2.c: Likewise.
5014 * soft-fp/muldf3.c: Likewise.
5015 * soft-fp/mulsf3.c: Likewise.
5016 * soft-fp/multf3.c: Likewise.
5017 * soft-fp/negdf2.c: Likewise.
5018 * soft-fp/negsf2.c: Likewise.
5019 * soft-fp/negtf2.c: Likewise.
5020 * soft-fp/op-1.h: Likewise.
5021 * soft-fp/op-2.h: Likewise.
5022 * soft-fp/op-4.h: Likewise.
5023 * soft-fp/op-8.h: Likewise.
5024 * soft-fp/op-common.h: Likewise.
5025 * soft-fp/quad.h: Likewise.
5026 * soft-fp/single.h: Likewise.
5027 * soft-fp/soft-fp.h: Likewise.
5028 * soft-fp/subdf3.c: Likewise.
5029 * soft-fp/subsf3.c: Likewise.
5030 * soft-fp/subtf3.c: Likewise.
5031 * soft-fp/truncdfsf2.c: Likewise.
5032 * soft-fp/trunctfdf2.c: Likewise.
5033 * soft-fp/trunctfsf2.c: Likewise.
5034 * soft-fp/trunctfxf2.c: Likewise.
5035 * soft-fp/unorddf2.c: Likewise.
5036 * soft-fp/unordsf2.c: Likewise.
5037 * soft-fp/unordtf2.c: Likewise.
5038 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
5039 macro.
5040 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5041 Likewise.
5042 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5043 Likewise.
5044 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5045 Likewise.
5046 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5047 Likewise.
5048 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5049 Likewise.
5050 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5051 Likewise.
5052 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5053 Likewise.
5054 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5055 Likewise.
5056 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5057 Likewise.
5058 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5059 Likewise.
5060 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5061 Likewise.
5062 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5063 Likewise.
5064 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
5065 Likewise.
5066 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
5067 Likewise.
5068 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5069 Likewise.
5070
ce245ec6
AK
50712014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5072
5073 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
5074 cannot be represented.
5075 * config/s390/32/_fixsfdi.c: Likewise.
5076 * config/s390/32/_fixtfdi.c: Likewise.
5077 * config/s390/32/_fixunsdfdi.c: Likewise.
5078 * config/s390/32/_fixunssfdi.c: Likewise.
5079 * config/s390/32/_fixunstfdi.c: Likewise.
5080
1c51d688
RS
50812014-02-07 Richard Sandiford <rdsandiford@googlemail.com>
5082
5083 * configure.ac (libgcc_cv_mips_hard_float): New.
5084 * configure: Regenerate.
5085 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
5086 t-softfp-sfdf for hard-float targets.
5087 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
5088 (softfp_float_modes, softfp_int_modes, softfp_extensions)
5089 (softfp_truncations, softfp_exclude_libgcc2): New.
5090 * config/t-hardfp: New file.
5091 * config/t-hardfp-sfdf: Likewise.
5092 * config/hardfp.c: Likewise.
5093
bbf391db
AK
50942014-02-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5095
5096 * config.host: Include t-floattodi also for s390x.
5097 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
5098 * config/s390/32/_fixsfdi.c: Likewise.
5099 * config/s390/32/_fixtfdi.c: Likewise.
5100 * config/s390/32/_fixunsdfdi.c: Likewise.
5101 * config/s390/32/_fixunssfdi.c: Likewise.
5102 * config/s390/32/_fixunstfdi.c: Likewise.
5103
91da0481
RO
51042014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5105
5106 PR target/59788
5107 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
5108 (install-libgcc-unwind-map-forbuild): New target.
5109 (all): Depend on install-libgcc-unwind-map-forbuild.
5110 (install-libgcc-unwind-map): New target.
5111 (install): Depend on install-libgcc-unwind-map.
5112
02b67731
SL
51132014-02-02 Sandra Loosemore <sandra@codesourcery.com>
5114
5115 * config/nios2/crti.S (_init): Initialize GOT pointer from
5116 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
5117
1ea0a651
RS
51182014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
5119
5120 * configure.ac: Check __mips64 when setting host_address.
5121 * configure: Regenerate.
5122 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
5123 mips/t-mips64 and t-softfp.
5124 (mips*-*-linux*): Don't add mips/t-tpbit.
5125 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
5126 (DPBIT, DPBIT_CFLAGS): Delete.
5127 * config/mips/sfp-machine.h: New file.
5128 * config/mips/t-mips64: Likewise.
5129 * config/mips/t-softfp-tf: Likewise.
5130 * config/mips/t-tpbit: Delete.
5131
f32b0061
MS
51322014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
5133
5134 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
5135 as long long.
5136
a5420aa4
WL
51372014-01-25 Walter Lee <walt@tilera.com>
5138
5139 * config/tilepro/atomic.c: Include tconfig.h. Don't include
5140 config.h or system.h.
5141 (bool) Define.
5142
24534912
WL
51432014-01-25 Walter Lee <walt@tilera.com>
5144
5145 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
5146 (post_atomic_barrier): Ditto.
5147 (__fetch_and_do): New macro.
5148 (__atomic_fetch_and_do): Use __fetch_and_do.
5149 (__sync_fetch_and_do): New macro.
5150 (__sync_fetch_and_add_4): New function.
5151 (__sync_fetch_and_sub_4): New function.
5152 (__sync_fetch_and_or_4): New function.
5153 (__sync_fetch_and_and_4): New function.
5154 (__sync_fetch_and_xor_4): New function.
5155 (__sync_fetch_and_nand_4): New function.
5156 (__sync_fetch_and_add_8): New function.
5157 (__sync_fetch_and_sub_8): New function.
5158 (__sync_fetch_and_or_8): New function.
5159 (__sync_fetch_and_and_8): New function.
5160 (__sync_fetch_and_xor_8): New function.
5161 (__sync_fetch_and_nand_8): New function.
5162 (__do_and_fetch): New macro.
5163 (__atomic_do_and_fetch): Use __do_and_fetch.
5164 (__sync_do_and_fetch): New macro.
5165 (__sync_add_and_fetch_4): New function.
5166 (__sync_sub_and_fetch_4): New function.
5167 (__sync_or_and_fetch_4): New function.
5168 (__sync_and_and_fetch_4): New function.
5169 (__sync_xor_and_fetch_4): New function.
5170 (__sync_nand_and_fetch_4): New function.
5171 (__sync_add_and_fetch_8): New function.
5172 (__sync_sub_and_fetch_8): New function.
5173 (__sync_or_and_fetch_8): New function.
5174 (__sync_and_and_fetch_8): New function.
5175 (__sync_xor_and_fetch_8): New function.
5176 (__sync_nand_and_fetch_8): New function.
5177 (__sync_exchange_methods): New macro.
5178 (__sync_val_compare_and_swap_4): New function.
5179 (__sync_bool_compare_and_swap_4): New function.
5180 (__sync_lock_test_and_test_4): New function.
5181 (__sync_val_compare_and_swap_8): New function.
5182 (__sync_bool_compare_and_swap_8): New function.
5183 (__sync_lock_test_and_test_8): New function.
5184 (__subword_cmpxchg_body): New macro.
5185 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
5186 (__atomic_compare_exchange_2): Ditto.
5187 (__sync_subword_cmpxchg): New macro.
5188 (__sync_val_compare_and_swap_1): New function.
5189 (__sync_bool_compare_and_swap_1): New function.
5190 (__sync_val_compare_and_swap_2): New function.
5191 (__sync_bool_compare_and_swap_2): New function.
5192 (__atomic_subword): Rename to ...
5193 (__subword): ... New name.
5194 (__atomic_subword_fetch): Use __subword.
5195 (__sync_subword_fetch): New macro.
5196 (__sync_fetch_and_add_1): New function.
5197 (__sync_fetch_and_sub_1): New function.
5198 (__sync_fetch_and_or_1): New function.
5199 (__sync_fetch_and_and_1): New function.
5200 (__sync_fetch_and_xor_1): New function.
5201 (__sync_fetch_and_nand_1): New function.
5202 (__sync_fetch_and_add_2): New function.
5203 (__sync_fetch_and_sub_2): New function.
5204 (__sync_fetch_and_or_2): New function.
5205 (__sync_fetch_and_and_2): New function.
5206 (__sync_fetch_and_xor_2): New function.
5207 (__sync_fetch_and_nand_2): New function.
5208 (__sync_add_and_fetch_1): New function.
5209 (__sync_sub_and_fetch_1): New function.
5210 (__sync_or_and_fetch_1): New function.
5211 (__sync_and_and_fetch_1): New function.
5212 (__sync_xor_and_fetch_1): New function.
5213 (__sync_nand_and_fetch_1): New function.
5214 (__sync_add_and_fetch_2): New function.
5215 (__sync_sub_and_fetch_2): New function.
5216 (__sync_or_and_fetch_2): New function.
5217 (__sync_and_and_fetch_2): New function.
5218 (__sync_xor_and_fetch_2): New function.
5219 (__sync_nand_and_fetch_2): New function.
5220 (__atomic_subword_lock): Use __subword.
5221 (__sync_subword_lock): New macro.
5222 (__sync_lock_test_and_set_1): New function.
5223 (__sync_lock_test_and_set_2): New function.
5224
4d6d3bc5
WL
52252014-01-25 Walter Lee <walt@tilera.com>
5226
5227 * config/tilepro/atomic.c (BIT_OFFSET): Define.
5228 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
5229 (__atomic_subword): Ditto.
5230
cbd9890e
WL
52312014-01-25 Walter Lee <walt@tilera.com>
5232
5233 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
5234 a prefix op argument.
5235 (__atomic_nand_fetch_4): Add prefix op.
5236 (__atomic_nand_fetch_8): Ditto.
5237
7d296953 52382014-01-21 Baruch Siach <barch@tkos.co.il>
800d8bd5
BS
5239
5240 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
5241
46dd1242
L
52422014-01-09 Rong Xu <xur@google.com>
5243
5244 * libgcov-driver.c (this_prg): make it local to save
5245 bss space.
5246 (gcov_exit_compute_summary): Ditto.
5247 (gcov_exit_merge_gcda): Ditto.
5248 (gcov_exit_merge_summary): Ditto.
5249 (gcov_exit_dump_gcov): Ditto.
5250
cc86234f 52512014-01-08 Rong Xu <xur@google.com>
40d6b753
RX
5252
5253 * libgcov-driver.c: Use libgcov.h.
5254 (buffer_fn_data): Use xmalloc instead of malloc.
5255 (gcov_exit_merge_gcda): Ditto.
5256 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
5257 * libgcov.h: New common header files for libgcov-*.h.
5258 * libgcov-interface.c: Use libgcov.h
5259 * libgcov-merge.c: Ditto.
5260 * libgcov-profiler.c: Ditto.
5261 * Makefile.in: Add dependence to libgcov.h
5262
a02e7bdd
JM
52632014-01-02 Joseph Myers <joseph@codesourcery.com>
5264
5265 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
5266 case of small numerator and finite nonzero result.
5267
ac1dca3c
RS
52682014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
5269
5270 Update copyright years
5271
f9030485
RS
52722014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
5273
5274 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
5275 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
5276 config/arc/dp-hack.h, config/arc/fp-hack.h,
5277 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
5278 config/arc/ieee-754/arc600-dsp/divdf3.S,
5279 config/arc/ieee-754/arc600-dsp/divsf3.S,
5280 config/arc/ieee-754/arc600-dsp/muldf3.S,
5281 config/arc/ieee-754/arc600-dsp/mulsf3.S,
5282 config/arc/ieee-754/arc600-mul64/divdf3.S,
5283 config/arc/ieee-754/arc600-mul64/divsf3.S,
5284 config/arc/ieee-754/arc600-mul64/muldf3.S,
5285 config/arc/ieee-754/arc600-mul64/mulsf3.S,
5286 config/arc/ieee-754/arc600/divsf3.S,
5287 config/arc/ieee-754/arc600/mulsf3.S,
5288 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
5289 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
5290 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
5291 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
5292 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
5293 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
5294 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
5295 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
5296 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
5297 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
5298 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
5299 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
5300 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
5301 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
5302 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
5303 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
5304 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
5305 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
5306 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
5307 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
5308 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
5309 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
5310 vtv_start_preinit.c: Use the standard form for the copyright notice.
5311
e430824f
CLT
53122013-12-31 Sandra Loosemore <sandra@codesourcery.com>
5313 Chung-Lin Tang <cltang@codesourcery.com>
5314 Based on patches from Altera Corporation
5315
5316 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
5317 * config/nios2/lib2-nios2.h: New file.
5318 * config/nios2/lib2-divmod-hi.c: New file.
5319 * config/nios2/linux-unwind.h: New file.
5320 * config/nios2/lib2-divmod.c: New file.
5321 * config/nios2/linux-atomic.c: New file.
5322 * config/nios2/t-nios2: New file.
5323 * config/nios2/crti.asm: New file.
5324 * config/nios2/t-linux: New file.
5325 * config/nios2/lib2-divtable.c: New file.
5326 * config/nios2/lib2-mul.c: New file.
5327 * config/nios2/tramp.c: New file.
5328 * config/nios2/crtn.asm: New file.
5329
1879e97f
UB
53302013-12-26 Uros Bizjak <ubizjak@gmail.com>
5331
5332 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
5333 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
5334 from cpuid.h to check vendor signatures.
5335
f4a4bdbb
GG
53362013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
5337
c2e7e597 5338 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
f4a4bdbb
GG
5339 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
5340 (get_amd_cpu): Likewise.
5341
8d2ae544
L
53422013-12-25 H.J. Lu <hongjiu.lu@intel.com>
5343
5344 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
5345 Haswell.
5346
74924838
ASJ
53472013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
5348 H.J. Lu <hongjiu.lu@intel.com>
5349
0bb52f25
L
5350 PR target/59422
5351 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
74924838
ASJ
5352 and AMD_JAGUAR.
5353 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
5354 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
5355 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
5356 FEATURE_XOP and FEATURE_FMA.
5357 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
5358 AMDFAM15H_BDVER3.
5359 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
0bb52f25 5360 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
74924838
ASJ
5361 FEATURE_FMA4 and FEATURE_XOP.
5362
d3c11974
L
53632013-12-23 H.J. Lu <hongjiu.lu@intel.com>
5364
5365 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
5366 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
5367 (get_intel_cpu): Updated.
5368
064c4ff2
ZC
53692013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
5370
5371 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
5372
8b02e720
UB
53732013-12-09 Uros Bizjak <ubizjak@gmail.com>
5374
5375 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
1f71a3c3 5376 instructions when __SSE_MATH__ is defined.
8b02e720 5377
3fa2ccb4
RC
53782013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
5379
5380 * config.host (microblaze-*-rtems*): New.
5381
ecd78fc9
KV
53822013-12-04 Kugan Vivekanandarajah <kuganv@linaro.org>
5383
5384 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
5385 architectures that do not have hardware divide instruction.
5386 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
5387
b21fbbd2
RS
53882013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
5389
5390 * longlong.h: Delete (moved to include/).
5391
b03fb8c9
AZ
53922013-12-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5393
5394 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
5395 of normal number and qNaN to not raise an inexact exception.
5396
3c716922
UB
53972013-11-28 Uros Bizjak <ubizjak@gmail.com>
5398
5399 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
5400
54012013-11-28 Matthew Leach <matthew.leach@arm.com>
cceeb9a9
ML
5402
5403 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
5404 for correct opcodes on BE.
5405
a3458d22
UB
54062013-11-27 Uros Bizjak <ubizjak@gmail.com>
5407
5408 * soft-fp/op-4.h: Update from glibc.
5409
30b8f78b
KV
54102013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
5411
5412 * libgcc2.c (__udivmoddi4): Define new implementation when
5413 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
5414 divide instructions.
5415
82552a29
OE
54162013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
5417
5418 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
5419
80e87457
RO
54202013-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5421
5422 * config/t-softfp (soft-fp-objects-base): New variable.
5423 (soft-fp-objects): Use it.
5424
44178879
DE
54252013-11-23 David Edelson <dje.gcc@gmail.com>
5426 Andrew Dixie <andrewd@gentrack.com>
5427
5428 PR target/33704
5429 * config/rs6000/aixinitfini.c: New file.
5430 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
5431 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
5432 symbols.
5433
e5287671
YR
54342013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
5435
a3458d22 5436 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
e5287671 5437
867c8b03
JH
54382013-11-18 Jan Hubicka <jh@suse.cz>
5439
7f369373
JH
5440 * libgcov-driver.c (run_accounted): Make global level static.
5441 (gcov_exit_merge_summary): Silence warning; do not clear
5442 run_accounted here.
5443 (gcov_exit): Clear it here.
5444
1d0b3334
JH
5445 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
5446 run_accounted.
5447
867c8b03
JH
5448 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
5449 (all_prg, crc32): Remove static vars.
5450 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
5451 all_prg.
5452 (gcov_exit_merge_gcda): Add crc32 parameter.
5453 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
5454 do not account run if it was already accounted.
5455 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
5456 (gcov_exit): Initialize all_prg; update.
5457
66204992
AS
54582013-11-15 Andreas Schwab <schwab@linux-m68k.org>
5459
5460 * configure: Regenerate.
5461
b54214fe
UW
54622013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5463 Alan Modra <amodra@gmail.com>
5464
5465 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
5466 (frob_update_context): Use it.
5467
54682013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5469 Alan Modra <amodra@gmail.com>
5470
5471 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
5472 (trampoline_initial): Provide ELFv2 variant.
5473 (__trampoline_setup): Likewise.
5474
5475 * config/rs6000/linux-unwind.h (frob_update_context): Do not
5476 check for AIX indirect function call sequence if _CALL_ELF == 2.
5477
54782013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5479 Alan Modra <amodra@gmail.com>
5480
5481 * config/rs6000/linux-unwind.h (get_regs): Do not support
5482 old kernel versions if _CALL_ELF == 2.
5483 (frob_update_context): Do not support PLT stub variants only
5484 generated by old linkers if _CALL_ELF == 2.
5485
13e0981a
UW
54862013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5487 Alan Modra <amodra@gmail.com>
5488
5489 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
5490 location of CR save area for 64-bit little-endian systems.
5491
1a80085d
EB
54922013-11-11 Eric Botcazou <ebotcazou@adacore.com>
5493
5494 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
5495 in tmake_file.
5496 * config/arm/t-vxworks: Delete.
5497
cabeea52
KT
54982013-11-10 Kai Tietz <ktietz@redhat.com>
5499
5500 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
5501 Increment load-count on use of LIBGCC_SONAME DLL.
5502 (hmod_libgcc): New static variable to hold handle of
5503 LIBGCC_SONAME DLL.
5504 (__gcc_deregister_frame): Decrement load-count of
5505 LIBGCC_SONAME DLL.
5506
ac088ba1
BRF
55072013-11-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
5508
5509 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
5510 availability.
5511 * configure: Regenerate
5512
d59a8fcc
UB
55132013-11-07 Uros Bizjak <ubizjak@gmail.com>
5514
5515 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
5516 FP_EX_DENORM. Store result to volatile location after SSE division
5517 to close interrupt window. Remove unneeded fwait after x87
5518 division since interrupt window will be closed by emitted fstp.
9de84e84 5519 Rewrite FP_EX_INEXACT handling.
d59a8fcc 5520
9954c743
JM
55212013-11-06 Joseph Myers <joseph@codesourcery.com>
5522
5523 * soft-fp/README: Update.
5524 * soft-fp/adddf3.c: Update from glibc.
5525 * soft-fp/addsf3.c: Likewise.
5526 * soft-fp/addtf3.c: Likewise.
5527 * soft-fp/divdf3.c: Likewise.
5528 * soft-fp/divsf3.c: Likewise.
5529 * soft-fp/divtf3.c: Likewise.
5530 * soft-fp/double.h: Likewise.
5531 * soft-fp/eqdf2.c: Likewise.
5532 * soft-fp/eqsf2.c: Likewise.
5533 * soft-fp/eqtf2.c: Likewise.
5534 * soft-fp/extenddftf2.c: Likewise.
5535 * soft-fp/extended.h: Likewise.
5536 * soft-fp/extendsfdf2.c: Likewise.
5537 * soft-fp/extendsftf2.c: Likewise.
5538 * soft-fp/extendxftf2.c: Likewise.
5539 * soft-fp/fixdfdi.c: Likewise.
5540 * soft-fp/fixdfsi.c: Likewise.
5541 * soft-fp/fixdfti.c: Likewise.
5542 * soft-fp/fixsfdi.c: Likewise.
5543 * soft-fp/fixsfsi.c: Likewise.
5544 * soft-fp/fixsfti.c: Likewise.
5545 * soft-fp/fixtfdi.c: Likewise.
5546 * soft-fp/fixtfsi.c: Likewise.
5547 * soft-fp/fixtfti.c: Likewise.
5548 * soft-fp/fixunsdfdi.c: Likewise.
5549 * soft-fp/fixunsdfsi.c: Likewise.
5550 * soft-fp/fixunsdfti.c: Likewise.
5551 * soft-fp/fixunssfdi.c: Likewise.
5552 * soft-fp/fixunssfsi.c: Likewise.
5553 * soft-fp/fixunssfti.c: Likewise.
5554 * soft-fp/fixunstfdi.c: Likewise.
5555 * soft-fp/fixunstfsi.c: Likewise.
5556 * soft-fp/fixunstfti.c: Likewise.
5557 * soft-fp/floatdidf.c: Likewise.
5558 * soft-fp/floatdisf.c: Likewise.
5559 * soft-fp/floatditf.c: Likewise.
5560 * soft-fp/floatsidf.c: Likewise.
5561 * soft-fp/floatsisf.c: Likewise.
5562 * soft-fp/floatsitf.c: Likewise.
5563 * soft-fp/floattidf.c: Likewise.
5564 * soft-fp/floattisf.c: Likewise.
5565 * soft-fp/floattitf.c: Likewise.
5566 * soft-fp/floatundidf.c: Likewise.
5567 * soft-fp/floatundisf.c: Likewise.
5568 * soft-fp/floatunditf.c: Likewise.
5569 * soft-fp/floatunsidf.c: Likewise.
5570 * soft-fp/floatunsisf.c: Likewise.
5571 * soft-fp/floatunsitf.c: Likewise.
5572 * soft-fp/floatuntidf.c: Likewise.
5573 * soft-fp/floatuntisf.c: Likewise.
5574 * soft-fp/floatuntitf.c: Likewise.
5575 * soft-fp/gedf2.c: Likewise.
5576 * soft-fp/gesf2.c: Likewise.
5577 * soft-fp/getf2.c: Likewise.
5578 * soft-fp/ledf2.c: Likewise.
5579 * soft-fp/lesf2.c: Likewise.
5580 * soft-fp/letf2.c: Likewise.
5581 * soft-fp/muldf3.c: Likewise.
5582 * soft-fp/mulsf3.c: Likewise.
5583 * soft-fp/multf3.c: Likewise.
5584 * soft-fp/negdf2.c: Likewise.
5585 * soft-fp/negsf2.c: Likewise.
5586 * soft-fp/negtf2.c: Likewise.
5587 * soft-fp/op-1.h: Likewise.
5588 * soft-fp/op-2.h: Likewise.
5589 * soft-fp/op-4.h: Likewise.
5590 * soft-fp/op-8.h: Likewise.
5591 * soft-fp/op-common.h: Likewise.
5592 * soft-fp/quad.h: Likewise.
5593 * soft-fp/single.h: Likewise.
5594 * soft-fp/soft-fp.h: Likewise.
5595 * soft-fp/subdf3.c: Likewise.
5596 * soft-fp/subsf3.c: Likewise.
5597 * soft-fp/subtf3.c: Likewise.
5598 * soft-fp/truncdfsf2.c: Likewise.
5599 * soft-fp/trunctfdf2.c: Likewise.
5600 * soft-fp/trunctfsf2.c: Likewise.
5601 * soft-fp/trunctfxf2.c: Likewise.
5602 * soft-fp/unorddf2.c: Likewise.
5603 * soft-fp/unordsf2.c: Likewise.
5604 * soft-fp/unordtf2.c: Likewise.
5605
02ac9503
UB
56062013-11-05 Uros Bizjak <ubizjak@gmail.com>
5607
5608 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
5609 (_FP_MUL_MEAT_D): Ditto.
5610 (_FP_DIV_MEAT_S): Ditto.
5611 (_FP_DIV_MEAT_D): Ditto.
5612 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
5613 t-softfp-sfdf and t-softfp to tmake_file.
5614
61221141
UB
56152013-11-03 Uros Bizjak <ubizjak@gmail.com>
5616
5617 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
5618 * config/i386/crtprec.c: Ditto.
5619
9304f876
CJW
56202013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
5621 Shiva Chen <shiva0217@gmail.com>
5622
5623 * config.host (nds32*-elf*): Add nds32 target.
5624 * config/nds32 : New directory and files.
5625
0e499e75
HPN
56262013-10-16 Hans-Peter Nilsson <hp@axis.com>
5627
5628 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
5629 * config.host (cpu_type) <Setting default>: Add entry for
5630 crisv32-*-*.
5631 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
5632 <crisv32-*-linux*>: Adjust.
5633 * longlong.h: Wrap the whole CRIS section in a single
5634 defined(__CRIS__) conditional. Add comment about add_ssaaaa
5635 and sub_ddmmss.
5636 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
5637 defined.
5638 [__CRIS__] (__umulsidi3): Define.
5639 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
5640 * config/cris/sfp-machine.h: New file.
5641 * config/cris/umulsidi3.S: New file.
5642 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
5643 * config/cris/arit.c (SIGNMULT): New macro.
5644 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
5645 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
5646 saving 3 out of originally 33 cycles from the fastest
5647 path, 3 out of 54 from the medium path and one from the longest
5648 path. Improve comments.
5649
16022041
RS
56502013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
5651
5652 * sync.c: Remove static aliases and define each function directly
5653 under its real name.
5654
69778659
JDA
56552013-10-02 John David Anglin <danglin@gcc.gnu.org>
5656
5657 * config.host (hppa*64*-*-linux*): Define extra_parts.
5658 (hppa*-*-linux*): Likewise.
5659
2deaf8b0
JR
56602013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
5661
5662 * config/arc/crtgend.S: Add 2013 to Copyright years.
5663 * config/arc/gmon/atomic.h: Likewise.
5664 * config/arc/gmon/auxreg.h: Likewise.
5665 * config/arc/gmon/sys/gmon_out.h: Likewise.
5666 * config/arc/gmon/sys/gmon.h: Likewise.
5667 * config/arc/gmon/prof-freq.c: Likewise.
5668 * config/arc/gmon/mcount.c: Likewise.
5669 * config/arc/gmon/prof-freq-stub.S: Likewise.
5670 * config/arc/gmon/gmon.c: Likewise.
5671 * config/arc/gmon/machine-gmon.h: Likewise.
5672 * config/arc/gmon/profil.S: Likewise.
5673 * config/arc/gmon/dcache_linesz.S: Likewise.
5674 * config/arc/crtg.S: Likewise.
5675 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
5676 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
5677 * config/arc/ieee-754/adddf3.S: Likewise.
5678 * config/arc/ieee-754/truncdfsf2.S: Likewise.
5679 * config/arc/ieee-754/fixsfsi.S: Likewise.
5680 * config/arc/ieee-754/gtsf2.S: Likewise.
5681 * config/arc/ieee-754/floatsisf.S: Likewise.
5682 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
5683 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
5684 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
5685 * config/arc/ieee-754/fixdfsi.S: Likewise.
5686 * config/arc/ieee-754/addsf3.S: Likewise.
5687 * config/arc/ieee-754/gesf2.S: Likewise.
5688 * config/arc/ieee-754/floatsidf.S: Likewise.
5689 * config/arc/ieee-754/extendsfdf2.S: Likewise.
5690 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
5691 * config/arc/ieee-754/gtdf2.S: Likewise.
5692 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
5693 * config/arc/ieee-754/uneqdf2.S: Likewise.
5694 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
5695 * config/arc/ieee-754/uneqsf2.S: Likewise.
5696 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
5697 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
5698 * config/arc/ieee-754/eqdf2.S: Likewise.
5699 * config/arc/ieee-754/ordsf2.S: Likewise.
5700 * config/arc/ieee-754/divsf3.S: Likewise.
5701 * config/arc/ieee-754/divdf3.S: Likewise.
5702 * config/arc/ieee-754/floatunsidf.S: Likewise.
5703 * config/arc/ieee-754/orddf2.S: Likewise.
5704 * config/arc/ieee-754/eqsf2.S: Likewise.
5705 * config/arc/ieee-754/gedf2.S: Likewise.
5706 * config/arc/crtn.S: Likewise.
5707 * config/arc/crti.S: Likewise.
5708 * config/arc/t-arc700-uClibc: Likewise.
5709 * config/arc/asm.h: Likewise.
5710 * config/arc/libgcc-excl.ver: Likewise.
5711 * config/arc/t-arc-newlib: Likewise.
5712 * config/arc/divtab-arc700.c: Likewise.
5713 * config/arc/initfini.c: Likewise.
5714 * config/arc/fp-hack.h: Likewise.
5715
c8e318b0
JR
57162013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
5717 Diego Novillo <dnovillo@google.com>
5718
5719 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
a07c5b47
JR
5720 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
5721 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
5722 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
c8e318b0 5723
d38a64b4
JR
57242013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
5725 Brendan Kehoe <brendan@zen.org>
5726 Simon Cook <simon.cook@embecosm.com>
5727
5728 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
5729 * config/arc: New directory.
5730 * longlong.h [__arc__] (umul_ppmm): Remove.
5731 [__arc__] (__umulsidi3): Define.
5732 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
5733 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
5734
dff717d2
JC
57352013-09-17 Jacek Caban <jacek@codeweavers.com>
5736
5737 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
5738 CreateSemaphoreA.
5739 * config/i386/gthr-win32.h: Likewise.
5740
5c0029de
DD
57412013-09-16 DJ Delorie <dj@redhat.com>
5742
844ad6c6 5743 * config/rl78/vregs.h: Add G10 register definitions.
5c0029de
DD
5744 * config/rl78/lib2mul.c: Enable for RL78/G10.
5745 * config/rl78/lib2div.c: Likewise.
5746 * config/rl78/lshrsi3.S: Use vregs.h.
5747 * config/rl78/cmpsi2.S: Likewise.
5748 * config/rl78/trampoline.S: Likewise.
5749 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
5750
ceb2fc49
DD
57512013-09-14 DJ Delorie <dj@redhat.com>
5752 Nick Clifton <nickc@redhat.com>
5753
5754 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
5755 * config/rl78/vregs.h: New.
5756 * config/rl78/signbit.S: New file. Implements signbit function.
5757 * config/rl78/divmodsi.S: New.
5758 * config/rl78/divmodhi.S: New.
5759 * config/rl78/divmodqi.S: New.
5760 * config/rl78/t-rl78: Build them here...
5761 * config/rl78/lib2div.c: ...but not here.
5762
f6a83b4a
DD
57632013-09-12 DJ Delorie <dj@redhat.com>
5764
5765 * config.host (msp*-*-elf): New.
5766 * config/msp430/: New port.
5767
9107b096
IS
57682013-08-18 Iain Sandoe <iain@codesourcery.com>
5769
5770 PR gcov-profile/58127
5771 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
5772 __thread var for emulated TLS.
5773 (__gcov_indirect_call_counters): Likewise.
5774
0f9bde1f 57752013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
61221141 5776 Catherine Moore <clm@codesourcery.com>
7d296953 5777 Richard Sandiford <rdsandiford@googlemail.com>
0f9bde1f
MR
5778
5779 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
5780 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
5781 (CALL_STUB_NO_RET): Likewise.
5782 (CALL_STUB_RET): Likewise.
5783 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
5784 __mips16_ret call/return stub symbols.
5785 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
5786 to tmake_file.
5787
2dc14aac
MR
57882013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
5789
5790 * config.host <mips*-*-linux*>: Remove a stray comment.
5791
748d71f3
JH
57922013-08-10 Jan Hubicka <jh@suse.cz>
5793
5794 Work around binutils PR14342
5795 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
5796 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
5797 (L_gcov_indirect_call_profiler_v2): New.
5798
2fa3d31b
JH
57992013-08-06 Jan Hubicka <jh@suse.cz>
5800
5801 * libgcov.c (__gcov_indirect_call_callee,
5802 __gcov_indirect_call_counters): New global vars.
5803 (__gcov_indirect_call_profiler): replace by ...
5804 (__gcov_indirect_call_profiler_v2) ... this one.
5805
2077db1b
CT
58062013-08-06 Caroline Tice <cmtice@google.com>
5807
d0595b65 5808 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
2077db1b 5809 vtv_start_preinit.o and vtv_end_preinit.o.
d0595b65
CT
5810 * configure.ac: Add code to check/set enable_vtable_verify.
5811 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
2077db1b 5812 true.
d0595b65
CT
5813 * vtv_start_preinit.c: New file.
5814 * vtv_end_preinit.c: New file.
5815 * vtv_start.c: New file.
5816 * vtv_end.c: New file.
5817 * configure: Regenerated.
2077db1b 5818
46549c20
MK
58192013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
5820
5821 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
5822 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
5823 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
5824 GPL-3.0-with-GCC-exception.
5825
72be589b
MR
58262013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
5827
5828 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
5829 ISA and up.
5830
902a3faf
AK
58312013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5832
5833 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
5834 mapping for FPRs when creating the fallback framestate.
5835
02371798
GJL
58362013-07-19 Georg-Johann Lay <avr@gjlay.de>
5837
5838 PR target/57516
5839 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
5840 (__round_s2_const, __round_u2_const)
5841 (__round_s4_const, __round_u4_const, __round_x8):
5842 Saturate result if addition result cannot be represented.
5843
ab0e8379
MK
58442013-07-15 Matthias Klose <doko@ubuntu.com>
5845
5846 * libgcc2.c: Don't include <limits.h>.
5847
7da38058
JJ
58482013-07-09 Janis Johnson <janisjo@codesourcery.com>
5849
5850 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
5851
1f6eac90
JJ
58522013-07-06 Jakub Jelinek <jakub@redhat.com>
5853
5854 PR target/29776
5855 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
5856
4ea3d774
JJ
58572013-06-28 Jakub Jelinek <jakub@redhat.com>
5858
5859 PR middle-end/36041
5860 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
5861 Define.
5862 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
5863 instead of table lookups.
5864 (__popcountDI2): Likewise.
5865
9d2cdf25
CJW
58662013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
5867
5868 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
5869 correctly.
5870
fa1e55b0
JM
58712013-06-21 Joseph Myers <joseph@codesourcery.com>
5872
5873 PR other/53317
5874 * soft-fp/adddf3.c: Update from glibc.
5875 * soft-fp/addsf3.c: Likewise.
5876 * soft-fp/addtf3.c: Likewise.
5877 * soft-fp/divdf3.c: Likewise.
5878 * soft-fp/divsf3.c: Likewise.
5879 * soft-fp/divtf3.c: Likewise.
5880 * soft-fp/double.h: Likewise.
5881 * soft-fp/eqdf2.c: Likewise.
5882 * soft-fp/eqsf2.c: Likewise.
5883 * soft-fp/eqtf2.c: Likewise.
5884 * soft-fp/extenddftf2.c: Likewise.
5885 * soft-fp/extended.h: Likewise.
5886 * soft-fp/extendsfdf2.c: Likewise.
5887 * soft-fp/extendsftf2.c: Likewise.
5888 * soft-fp/fixdfdi.c: Likewise.
5889 * soft-fp/fixdfsi.c: Likewise.
5890 * soft-fp/fixsfdi.c: Likewise.
5891 * soft-fp/fixsfsi.c: Likewise.
5892 * soft-fp/fixtfdi.c: Likewise.
5893 * soft-fp/fixtfsi.c: Likewise.
5894 * soft-fp/fixunsdfdi.c: Likewise.
5895 * soft-fp/fixunsdfsi.c: Likewise.
5896 * soft-fp/fixunssfdi.c: Likewise.
5897 * soft-fp/fixunssfsi.c: Likewise.
5898 * soft-fp/fixunstfdi.c: Likewise.
5899 * soft-fp/fixunstfsi.c: Likewise.
5900 * soft-fp/floatdidf.c: Likewise.
5901 * soft-fp/floatdisf.c: Likewise.
5902 * soft-fp/floatditf.c: Likewise.
5903 * soft-fp/floatsidf.c: Likewise.
5904 * soft-fp/floatsisf.c: Likewise.
5905 * soft-fp/floatsitf.c: Likewise.
5906 * soft-fp/floatundidf.c: Likewise.
5907 * soft-fp/floatundisf.c: Likewise.
5908 * soft-fp/floatunditf.c: Likewise.
5909 * soft-fp/floatunsidf.c: Likewise.
5910 * soft-fp/floatunsisf.c: Likewise.
5911 * soft-fp/floatunsitf.c: Likewise.
5912 * soft-fp/gedf2.c: Likewise.
5913 * soft-fp/gesf2.c: Likewise.
5914 * soft-fp/getf2.c: Likewise.
5915 * soft-fp/ledf2.c: Likewise.
5916 * soft-fp/lesf2.c: Likewise.
5917 * soft-fp/letf2.c: Likewise.
5918 * soft-fp/muldf3.c: Likewise.
5919 * soft-fp/mulsf3.c: Likewise.
5920 * soft-fp/multf3.c: Likewise.
5921 * soft-fp/negdf2.c: Likewise.
5922 * soft-fp/negsf2.c: Likewise.
5923 * soft-fp/negtf2.c: Likewise.
5924 * soft-fp/op-1.h: Likewise.
5925 * soft-fp/op-2.h: Likewise.
5926 * soft-fp/op-4.h: Likewise.
5927 * soft-fp/op-8.h: Likewise.
5928 * soft-fp/op-common.h: Likewise.
5929 * soft-fp/quad.h: Likewise.
5930 * soft-fp/single.h: Likewise.
5931 * soft-fp/soft-fp.h: Likewise.
5932 * soft-fp/subdf3.c: Likewise.
5933 * soft-fp/subsf3.c: Likewise.
5934 * soft-fp/subtf3.c: Likewise.
5935 * soft-fp/truncdfsf2.c: Likewise.
5936 * soft-fp/trunctfdf2.c: Likewise.
5937 * soft-fp/trunctfsf2.c: Likewise.
5938 * soft-fp/unorddf2.c: Likewise.
5939 * soft-fp/unordsf2.c: Likewise.
5940 * soft-fp/unordtf2.c: Likewise.
5941 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
5942 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5943 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5944 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5945 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5946 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5947 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5948 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5949 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5950 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
5951 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
5952 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5953
0de86a92
JU
59542013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
5955
5956 * config/mips/lib2funcs.c: New file.
5957 * config/mips/t-mips (LIB2ADD_ST): Add it.
5958
0d008882
OE
59592013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
5960
5961 PR target/6526
5962 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
5963 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
5964
776434d1
WL
59652013-06-08 Walter Lee <walt@tilera.com>
5966
5967 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
5968 Replace int64_t with long long. Add __extension__ where
5969 appropriate.
5970 * config/tilepro/atomic.c: Include config.h.
5971
6ab3ebb4
DR
59722013-06-06 Douglas B Rupp <rupp@adacore.com>
5973
5974 * config.host (arm-wrs-vxworks): Configure with other soft float.
5975
107eea2c
JU
59762013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
5977
5978 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
5979 (mips64r5900el-*-elf*): New configurations.
5980
5cc19c62
AM
59812013-06-04 Alan Modra <amodra@gmail.com>
5982
5983 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
5984
0f1d3965
YR
59852013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
5986
5987 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
5988
0ba045df
EB
59892013-05-28 Eric Botcazou <ebotcazou@adacore.com>
5990
5991 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
5992 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
5993 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
5994
49dcafd4
EB
59952013-05-22 Eric Botcazou <ebotcazou@adacore.com>
5996
5997 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
5998 (powerpc-wrs-vxworks): Likewise.
5999
4fcb5d87
EB
60002013-05-22 Eric Botcazou <ebotcazou@adacore.com>
6001
6002 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
6003 signal frames as well.
6004 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
6005 STACK_BIAS to the CFA offset.
6006
0ec33224
RH
60072013-05-17 Richard Henderson <rth@redhat.com>
6008
6009 PR target/49146
6010 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
6011 (execute_cfa_program): Use it when storing to fs->regs.
6012
492a8029
KT
60132013-05-08 Kai Tietz <ktietz@redhat.com>
6014
6015 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
6016 (__deregister_frame_info): Likewise.
6017
701e2f0a
TS
60182013-05-06 Thomas Schwinge <thomas@codesourcery.com>
6019
e5123d08
TS
6020 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
6021 NaN's payload.
6022
701e2f0a
TS
6023 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
6024
b9a7eb5d
AM
60252013-04-25 Alan Modra <amodra@gmail.com>
6026
6027 * config.host: Match little-endian powerpc-linux.
6028
dfe192f5
YZ
60292013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
6030
6031 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
6032 as 'unsigned long long' instead of 'unsigned long'.
6033 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
6034 'signed long'.
6035
b6b9af2f
JB
60362013-04-10 Julian Brown <julian@codesourcery.com>
6037
6038 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
6039 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
6040 unsigned char/unsigned short.
6041 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
6042
ecabdd00
JDA
60432013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
6044
6045 PR other/55274
6046 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
6047
34652576
MI
60482013-04-04 Meador Inge <meadori@codesourcery.com>
6049
6050 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
6051 computing the location of the link register.
6052 (aeabi_uldivmod): Ditto.
6053
e9fd8c19
KT
60542013-03-27 Kai Tietz <ktietz@redhat.com>
6055
6056 * config.host: Add support for cygwin x64 target.
6057 * configure: Regenerated.
6058
a6406324
WL
60592013-03-26 Walter Lee <walt@tilera.com>
6060
6061 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
6062 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
6063
55446c7e
KT
60642013-03-25 Kai Tietz <ktietz@redhat.com>
6065
6066 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
6067
d2ae19d9
RM
60682013-03-20 Robert Mason <rbmj@verizon.net>
6069
6070 * config/vxlib-tls.c (__gthread_get_tsd_data,)
6071 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
6072 (__gthread_leave_tsd_dtor_context): Add prototypes.
6073 (tls_delete_hook): Update.
6074
22c4c869
CM
60752013-03-20 Catherine Moore <clm@codesourcery.com>
6076 Joseph Myers <joseph@codesourcery.com>
6077 Chao-ying Fu <fu@mips.com>
6078
6079 * config/mips/mips16.S: Don't build for microMIPS.
6080 * config/mips/linux-unwind.h: Handle microMIPS frame.
6081 * config/mips/crtn.S (fini, init): New labels.
6082
fbd28bc3
JJ
60832013-03-14 Jakub Jelinek <jakub@redhat.com>
6084
6085 PR tree-optimization/53265
6086 * unwind-dw2.c (execute_cfa_program): Avoid
6087 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
6088 on targets with DWARF_FRAME_REGISTERS < 32.
6089
decc676e
OE
60902013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
6091
6092 PR target/49880
6093 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
6094 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
6095
84ea618a
ST
60962013-03-07 Sriraman Tallam <tmsriram@google.com>
6097
6098 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
6099 sandybridge processors.
6100
8f6d1c86
OE
61012013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
6102
6103 PR target/56529
6104 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
6105 inclusion list.
6106
ecdbd01a 61072013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
409b1de4
EI
6108
6109 * config/microblaze/crti.S: Setup stack protection at entry
6110
0b4ce21b
GJL
61112013-03-04 Georg-Johann Lay <avr@gjlay.de>
6112
6113 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
6114 (__rotldi3): Shift bytewise if applicable.
6115
b7c3f1ca
JG
61162013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
6117
6118 * config/aarch64/sync-cache.c
6119 (__aarch64_sync_cache_range): Silence warnings.
6120
6d65e8f1
CM
61212013-02-25 Catherine Moore <clm@codesourcery.com>
6122
6123 Revert:
6124 2013-02-24 Catherine Moore <clm@codesourcery.com>
6125 Joseph Myers <joseph@codesourcery.com>
6126 Chao-ying Fu <fu@mips.com>
6127
6128 * config/mips/mips16.S: Don't build for microMIPS.
6129 * config/mips/linux-unwind.h: Handle microMIPS frame.
6130 * config/mips/crtn.S (fini, init): New labels.
6131
6941b508
CM
61322013-02-24 Catherine Moore <clm@codesourcery.com>
6133 Joseph Myers <joseph@codesourcery.com>
6134 Chao-ying Fu <fu@mips.com>
6135
6136 * config/mips/mips16.S: Don't build for microMIPS.
6137 * config/mips/linux-unwind.h: Handle microMIPS frame.
6138 * config/mips/crtn.S (fini, init): New labels.
6139
7c422dbb 61402012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
cc86234f 6141 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
7c422dbb
EI
6142 as dividend.
6143
110207ad
AM
61442013-02-16 Alan Modra <amodra@gmail.com>
6145
6146 PR target/55431
6147 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
6148 (ppc_fallback_frame_state): Always set up save locations for fp
6149 and altivec. Don't bother with non-callee-saved regs, r0-r13
6150 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
6151
e68a4ef6
GJL
61522013-02-12 Georg-Johann Lay <avr@gjlay.de>
6153
6154 PR target/54222
6155 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
6156 _ssmulHA, _ssmulSA.
6157 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
6158 _ssmulha3, _usmulusa3, _ssmulsa3.
6159 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
6160 (__muldi3): XCALL __muldi3_6 instead of rcall.
6161 (__umulsidi3, __mulsidi3): New functions.
6162 (do_prologue_saves, do_epilogue_restores): New .macros.
6163 (__divdi3_moddi3): Use them.
6164 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
6165 (__usmulusa3, __ssmulsa3): New functions.
6166
6c59ffd1
IS
61672013-02-11 Iain Sandoe <iain@codesourcery.com>
6168 Jack Howarth <howarth@bromo.med.uc.edu>
6169 Patrick Marlier <patrick.marlier@gmail.com>
6170
6171 PR libitm/55693
6172 * config/darwin-crt-tm.c: Remove dummy functions hack.
6173
85d768f3
GJL
61742013-02-08 Georg-Johann Lay <avr@gjlay.de>
6175
6176 PR target/54222
6177 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
6178 * config/avr/lib2-object.mk: New iterator to build objects from it.
6179 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
6180 lib2funcs.c.
6181 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
6182 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
6183 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
6184 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
6185 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
6186 * config/avr/lib1funcs-fixed.S: Implement them.
6187
5d5bf775
RS
61882013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
6189
6190 Update copyright years.
6191
99113dff
DE
61922013-02-01 David Edelsohn <dje.gcc@gmail.com>
6193
6194 PR target/54601
6195 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
6196 Add crtcxa to extra_parts.
6197 * config/rs6000/exit.h: New file.
6198 * config/rs6000/cxa_atexit.c: New file.
6199 * config/rs6000/cxa_finalize.c: New file.
6200 * config/rs6000/crtcxa.c: New file.
6201 * config/rs6000/t-aix-cxa: New file.
6202 * config/rs6000/libgcc-aix-cxa.ver: New file.
6203
dbdbd982
NC
62042013-01-31 Nick Clifton <nickc@redhat.com>
6205
6206 * config/v850/lib1funcs.S: Add support for e3v5 architecture
6207 variant.
6208
5893f158
GJL
62092013-01-29 Georg-Johann Lay <avr@gjlay.de>
6210
6211 PR target/54222
6212 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
6213 _mulQQ, _mulHQ, _mulHA, _mulSA,
6214 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
6215 _divQQ, _divHQ, _divHA, _divSA,
6216 _divUQQ, _divUHQ, _divUHA, _divUSA.
6217
ecdbd01a 62182013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
fbf0cf90 6219
dbdbd982 6220 * config.host(microblaze*-linux*): tmake_file: Remove
fbf0cf90
DH
6221 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
6222 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
6223 to exclude functions from being built with libgcc.c and use
6224 the microblaze assembly.
6225
ecdbd01a 62262013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
6f14eef2
EI
6227
6228 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
6229 extra_parts.
6230
922c57d1
YZ
62312013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
6232
6233 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
6234 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
6235 __UINTPTR_TYPE__; also cast 'base' to the same type before the
6236 alignment operation.
6237
e0f8b6a0
SN
62382013-01-15 Sofiane Naci <sofiane.naci@arm.com>
6239
6240 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
6241 loop start address for cache clearing.
6242
00892272
GJL
62432013-01-14 Georg-Johann Lay <avr@gjlay.de>
6244
6245 * config/avr/lib1funcs.S: Remove trailing blanks.
6246 * config/avr/lib1funcs-fixed.S: Ditto.
6247
e59ec5fd
GJL
62482013-01-14 Georg-Johann Lay <avr@gjlay.de>
6249
6250 * config/avr/avr-lib.h: Add GPL copyright notice.
6251
3ffc1958
GJL
62522013-01-14 Georg-Johann Lay <avr@gjlay.de>
6253
6254 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
6255 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
6256 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
6257 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
6258
25c210f9
MK
62592013-01-07 Mark Kettenis <kettenis@openbsd.org>
6260
6261 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
6262 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
2bc15360 6263
db59befb
NC
62642013-01-04 Nick Clifton <nickc@redhat.com>
6265
6266 * config/v850/lib1funcs.S: Only provide CALLT support functions if
6267 the CALLT instruction is supported.
6268
5aa12dbf
JW
62692012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
6270
6271 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
6272 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
6273
65f14117
JT
62742012-12-13 John Tytgat <John@bass-software.com>
6275
6276 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
6277 is 25.
6278
ee3ae4f7
JJ
62792012-12-12 Jakub Jelinek <jakub@redhat.com>
6280
6281 PR libgcc/55451
6282 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
6283 undefined signed overflows.
6284
2fcfba3d
UB
62852012-12-09 Uros Bizjak <ubizjak@gmail.com>
6286
6287 PR target/55344
6288 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
6289
4f2b3dc2
UB
62902012-12-06 Uros Bizjak <ubizjak@gmail.com>
6291
6292 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
6293 (FP_TRAPPING_EXCEPTIONS): Define.
6294 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
6295 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
6296
066161a2
RH
62972012-12-04 Richard Henderson <rth@redhat.com>
6298
6299 PR bootstrap/55571
6300 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
6301
7d296953 63022012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
25626181 6303
4f2b3dc2 6304 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
25626181
MS
6305 (FP_EX_SHIFT): Define.
6306 (FP_TRAPPING_EXCEPTIONS): Define.
6307
7d296953 63082012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
868395e8
MS
6309
6310 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
6311 (FP_ROUNDMODE): Use FP_RND_MASK.
6312 * config/aarch64/sfp-exceptions.c: New.
6313 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
6314 Use __sfp_handle_exceptions.
6315
5005fe22
RE
63162012-12-04 Richard Earnshaw <rearnsha@arm.com>
6317
6318 * config.host: (arm*-*-freebsd*): Remove.
6319 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
6320 (arm*-*-elf*): Remove.
6321 (arm*-*-wince-pe*): Remove.
6322 * arm/unwind-arm.c (struct fpa_reg): Delete.
6323 (struct fpa_regs): Delete.
6324 (phase1_vrs): Remove fpa element.
6325 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
6326 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
6327 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
6328 * ieee754-sf.S (floatundisf): Remove FPA support.
6329 (floatdisf): Likewise.
6330 * ieee75f-df.S (floatundidf): Likewise.
6331 (floatdidf): Likewise.
6332
e5a81c8e
KT
63332012-11-29 Kai Tietz <ktietz@redhat.com>
6334
6335 PR target/55445
6336 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
6337 * unwind-generic.h: Likewise.
6338 * unwind-seh.c: Likewise.
6339
f4919e4a
RH
63402012-11-28 Richard Henderson <rth@redhat.com>
6341
6342 PR libgcc/48076
6343 * emutls.c (__emutls_get_address): Avoid race condition between
6344 obj->loc.offset read and emutls_key initialization.
4f2b3dc2 6345
e13d9d5a
GJL
63462012-11-22 Georg-Johann Lay <avr@gjlay.de>
6347
6348 Adjust decimal point of signed accum mode to GCC default.
6349
6350 PR target/54222
6351 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
6352 _divqq_helper.
6353 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
6354 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
6355 (__mulha3, __mulsa3)
6356 (__divqq3, __divha3, __divsa3): Adjust to new position of
4f2b3dc2
UB
6357 decimal point of signed accum types.
6358
e13d9d5a
GJL
6359 (__mulusa3_round): New function.
6360 (__mulusa3): Use it.
6361 (__divqq_helper): New function.
6362 (__udivuqq3): Use it.
6363
1b845c6e
JJ
63642012-11-20 Jakub Jelinek <jakub@redhat.com>
6365
6366 PR bootstrap/55370
6367 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
6368
822a258a
TJ
63692012-11-18 Teresa Johnson <tejohnson@google.com>
6370
6371 PR bootstrap/55051
6372 * libgcov.c (gcov_exit): Remove merged program summary
6373 comparison unless !GCOV_LOCKED.
6374
7d296953 63752012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
54f4eaf0
MS
6376
6377 * soft-fp: Updated from glibc upstream.
6378
e808687a
ILT
63792012-11-06 Ian Lance Taylor <iant@google.com>
6380
6381 * generic-morestack.c (__generic_morestack): Align the returned
6382 stack pointer to a 32 byte boundary.
6383 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
6384 increment the return address until we have decided that we don't
6385 have a varargs function.
6386 (__morestack) [32-bit]: Align stack correctly when calling C
6387 functions.
6388 (__morestack) [64-bit]: Likewise.
6389
460277e0
TS
63902012-11-04 Thomas Schwinge <thomas@codesourcery.com>
6391
6392 * configure: Regenerate.
6393
73edb277
UB
63942012-11-02 Uros Bizjak <ubizjak@gmail.com>
6395
6396 PR target/55175
6397 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
6398 * config/i386/sfp-machine.h: Guard exception handling
6399 code with _SOFT_FLOAT.
6400 * config/i386/32/sfp-machine.h: Guard rounding handling
6401 code with _SOFT_FLOAT.
6402 * config/i386/64/sfp-machine.h: Ditto.
6403
c1d4fa04
JS
64042012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
6405
6406 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
6407 as extra_parts.
6408
eff6ca85
UB
64092012-10-26 Uros Bizjak <ubizjak@gmail.com>
6410
6411 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
6412 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
6413 when appropriate. Correct structure element types.
6414 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
6415 -minline-all-stringops from compile flags.
6416
7d296953 64172012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
43a8f1a1
RC
6418
6419 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
6420
7d296953 64212012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
76c78361 6422
eff6ca85 6423 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
76c78361 6424
6f288860
SH
64252012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
6426
6427 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
6428 tmake_file.
6429
1e3d5096
IB
64302012-10-23 Ian Bolton <ian.bolton@arm.com>
6431 Jim MacArthur <jim.macarthur@arm.com>
6432 Marcus Shawcroft <marcus.shawcroft@arm.com>
6433 Nigel Stephens <nigel.stephens@arm.com>
6434 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
6435 Richard Earnshaw <rearnsha@arm.com>
6436 Sofiane Naci <sofiane.naci@arm.com>
6437 Stephen Thomas <stephen.thomas@arm.com>
6438 Tejas Belagod <tejas.belagod@arm.com>
6439 Yufeng Zhang <yufeng.zhang@arm.com>
6440
6441 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
6442 * config/aarch64/crti.S: New file.
6443 * config/aarch64/crtn.S: New file.
6444 * config/aarch64/linux-unwind.h: New file.
6445 * config/aarch64/sfp-machine.h: New file.
6446 * config/aarch64/sync-cache.c: New file.
6447 * config/aarch64/t-aarch64: New file.
6448 * config/aarch64/t-softfp: New file.
6449
8a740f07
HPN
64502012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
6451
6452 * config/mmix/crti.S: Mark program and data addresses using PRELD.
6453 Remove typo'd and unnecessary alignment-LOC for .data. Remove
6454 no-longer-needed LDBU insns.
6455
7d296953 64562012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
153c8397
SH
6457
6458 * config.host
6459 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
6460 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
6461
595fefee
MGD
64622012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
6463
6464 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
6465
9945a876
MK
64662012-10-15 Matthias Klose <doko@ubuntu.com>
6467
6468 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
6469
1183dc2c
PC
64702012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
6471
6472 * configure: Regenerate.
6473 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
6474
945a9c1f
UB
64752012-10-10 Uros Bizjak <ubizjak@gmail.com>
6476
6477 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
6478 instructions for 64bit targets only.
6479
fb8bf47a
UB
64802012-10-10 Uros Bizjak <ubizjak@gmail.com>
6481
6482 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
6483 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
6484 * config/i386/32/sfp-machine.h: ... here.
6485 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
6486 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
6487 New defines.
6488
acb72498
MK
64892012-10-07 Matthias Klose <doko@ubuntu.com>
6490
6491 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
6492 as unused.
6493 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
6494
8eaee0f0
MK
64952012-10-06 Mark Kettenis <kettenis@openbsd.org>
6496
6497 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
6498 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
6499 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
6500 (ElfW): Likewise.
6501
5e3e4fe8
JW
65022012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
6503
6504 PR other/53889
6505 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
6506 Fix parameter names.
6507
86086376
OE
65082012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
6509
6510 PR target/33135
6511 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
6512 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
6513 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
6514
9597375a
OE
65152012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
6516
6517 PR target/50457
6518 * config/sh/linux-atomic.S: Delete.
6519 * config/sh/linux-atomic.c: New.
6520 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
6521 linux-atomic.c. Add cflags to disable warnings.
6522
1504e3e1
JW
65232012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
6524
6525 PR other/53889
6526 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
6527 function.
6528 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
6529 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
6530 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
6531 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
5e3e4fe8
JW
6532 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
6533 Likewise.
1504e3e1
JW
6534 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
6535 Likewise.
6536 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
6537 Likewise.
6538 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
6539 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
6540
17f293b0
MK
65412012-09-19 Mark Kettenis <kettenis@openbsd.org>
6542
9597375a
OE
6543 * config.host (hppa-*-openbsd*): New target.
6544 * config/pa/t-openbsd: New file.
17f293b0 6545
51526856
GJL
65462012-09-15 Georg-Johann Lay <avr@gjlay.de>
6547
6548 PR target/54222
6549 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
6550 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
6551 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
6552 (__divsa3): Use __negsi2 to negate r_quoL.
6553 * config/avr/lib1funcs.S (FALIAS): New macro.
6554 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
6555 (__negsi2): ...this new function.
6556 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
6557 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
6558 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
6559 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
6560 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
6561 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
6562
aadb5b43
OE
65632012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
6564
6565 PR target/54089
6566 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
6567 (lshrsi3): Reimplement as lshrsi3_r0.
6568
d5d66749
AS
65692012-09-10 Andreas Schwab <schwab@linux-m68k.org>
6570
6571 PR target/46191
6572 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
6573 of libgcc.a.
6574
c6c36e73
TJ
65752012-09-07 Teresa Johnson <tejohnson@google.com>
6576
9597375a 6577 PR gcov-profile/54487
c6c36e73 6578 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
9597375a 6579 differences.
c6c36e73 6580
b588ae30
GJL
65812012-09-05 Georg-Johann Lay <avr@gjlay.de>
6582
6583 PR target/54461
6584 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
6585 not configured --with-avrlibc=no.
6586 * config/avr/t-avrlibc: New file.
6587 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
6588 (DPBIT_FUNCS): Ditto.
6589 (TPBIT_FUNCS): Ditto.
6590
abd16fb1
TJ
65912012-09-04 Teresa Johnson <tejohnson@google.com>
6592
6593 * libgcov.c (struct gcov_summary_buffer): New structure.
6594 (gcov_histogram_insert): New function.
6595 (gcov_compute_histogram): Ditto.
6596 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
6597 histograms during summary merging.
6598
613061fd
MK
65992012-09-01 Mark Kettenis <kettenis@openbsd.org>
6600
6601 * config.host (x86_64-*-openbsd*): New target.
73edb277 6602
867a8345
CLT
66032012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
6604
6605 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
6606 attribute.
6607
4aeaaca3
GJL
66082012-08-24 Georg-Johann Lay <avr@gjlay.de>
6609
6610 PR target/54222
6611 * config/avr/t-avr (conv_X): Rename to func_X.
6612
e55e4056
GJL
66132012-08-24 Georg-Johann Lay <avr@gjlay.de>
6614
6615 PR target/54222
6616 * config/avr/lib1funcs-fixed.S: New file.
6617 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
6618 after they are used.
6619 (neg2, neg4): New macros.
6620 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
6621 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
6622 (__umulhisi3): Speed up MUL variant if there is enough flash.
6623 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
6624 avr-modes.def.
6625 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
6626 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
6627 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
6628 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
6629 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
6630 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
6631 (LIB2FUNCS_EXCLUDE): Add supported functions.
6632
a147b6d2
GJL
66332012-08-22 Georg-Johann Lay <avr@gjlay.de>
6634
6635 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
6636 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
6637 libgcc-s-objects.
6638 * fixed-obj.mk: Only expand dependency if $o is not in
6639 LIB2FUNCS_EXCLUDE.
6640
c637141a
L
66412012-08-22 H.J. Lu <hongjiu.lu@intel.com>
6642
6643 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
6644
130e00bd
JM
66452012-08-22 Joseph Myers <joseph@codesourcery.com>
6646
6647 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
6648 depend on --enable-shared.
6649 ($(lib1asmfuncs-o)): Use %.vis files independent of
6650 --enable-shared.
6651 * static-object.mk ($(base)$(objext), $(base).vis)
6652 ($(base)_s$(objext)): Use same rules for visibility handling as in
6653 shared-object.mk.
6654
4b1b3788
ILT
66552012-08-21 Ian Lance Taylor <iant@google.com>
6656
6657 * config/i386/morestack.S (__morestack_non_split): Increase amount
6658 of space allocated for non-split code stack.
6659
d2468141
JM
66602012-08-19 Joseph Myers <joseph@codesourcery.com>
6661
6662 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
6663 even if inhibit_libc.
6664
a508e1a8
JB
66652012-08-17 Julian Brown <julian@codesourcery.com>
6666
6667 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
6668 -fexceptions -fnon-call-exceptions if not defined.
6669 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
6670 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
6671
5615a07d
AS
66722012-08-17 Andreas Schwab <schwab@linux-m68k.org>
6673
6674 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
6675 type.
6676
138f5acd
DE
66772012-08-16 David Edelsohn <dje.gcc@gmail.com>
6678
6679 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
6680 rs6000/t-slibgcc-aix.
6681
18efc0dd
SB
66822012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
6683
6684 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
6685
6b39bc38
SB
66862012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
6687
6688 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
6689
cd25dea0
L
66902012-08-03 H.J. Lu <hongjiu.lu@intel.com>
6691
6692 PR driver/54171
6693 * Makefile.in (version): Replace top_srcdir with srcdir.
6694
a3dda30b
JY
66952012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
6696
6697 * Makefile.in (version): set to BASE-VER file from gcc directory.
6698
d04aacfc
NC
66992012-08-01 Nick Clifton <nickc@redhat.com>
6700
6701 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
6702 Implements __clrsb for an HImode argument.
6703
0d13c974
NC
67042012-07-31 Nick Clifton <nickc@redhat.com>
6705
6706 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
6707 Implements __clrsb for an HImode argument.
6708 * config/stormy16/clrsbhi2.c: New file:
6709 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
6710
efbb59b2
SB
67112012-07-22 Steven Bosscher <steven@gcc.gnu.org>
6712
6713 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
6714
bf1431e3
TG
67152012-07-19 Tristan Gingold <gingold@adacore.com>
6716 Richard Henderson <rth@redhat.com>
6717
6718 * unwind-seh.c: New file.
6719 * unwind-generic.h: Include windows.h for SEH.
6720 (_Unwind_Exception): Use 6 private fields for SEH.
6721 (_GCC_specific_handler): Declare.
6722 * unwind-c.c (__gcc_personality_seh0): New function.
6723 Adjust for SEH.
6724 * config/i386/libgcc-cygming.ver: New file.
6725 * config/i386/t-seh-eh: New file.
6726 * config.host (x86_64-*-mingw*): Default to seh.
6727
659140c8
SB
67282012-07-14 Steven Bosscher <steven@gcc.gnu.org>
6729
6730 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
6731
a20d08fd
UB
67322012-06-17 Uros Bizjak <ubizjak@gmail.com>
6733
6734 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
6735 __builtin_expect when checking for exceptions.
6736 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
6737
79261115
UB
67382012-06-13 Uros Bizjak <ubizjak@gmail.com>
6739
4a172156
UB
6740 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
6741 function declaration.
6742 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
6743 (FP_RND_MASK): New.
6744 * config/ia64/sfp-exceptions.c: New.
6745 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
79261115 6746
bb5c97d4
UB
67472012-06-13 Uros Bizjak <ubizjak@gmail.com>
6748
6749 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
6750 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
6751 * config/i386/64/sfp-machine: ... (delete here) ...
6752 * config/i386/sfp-machine.h: ... to here.
6753 (FP_EX_MASK): Remove.
6754 (FP_RND_MASK): New.
6755 (FP_INIT_ROUNDMODE): Declare asm as volatile.
6756
91fe5efb
ST
67572012-06-11 Sriraman Tallam <tmsriram@google.com>
6758
6759 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
6760 * config/i386/libgcc-sol2.ver: Ditto.
6761 * config/i386/libgcc-glibc.ver: Ditto.
6762
67a218c5
RM
67632012-06-11 Roland McGrath <mcgrathr@google.com>
6764
6765 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
6766 If __GLIBC__ is defined, refer to __pthread_key_create instead of
6767 pthread_cancel.
6768
492fbea1
UB
67692012-06-09 Uros Bizjak <ubizjak@gmail.com>
6770
6771 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
6772 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
6773 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
6774 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
6775 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
6776 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
6777 * config/i386/64/sfp-machine: ... (delete here) ...
6778 * config/i386/sfp-machine.h: ... to here.
6779 (FP_EX_MASK): New.
6780 (__sfp_handle_exceptions): New function declaration.
6781 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
6782 * config/i386/sfp-exceptions.c: New.
6783 * config/i386/t-softfp: New.
6784 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
6785 i386/t-softfp to tmake_file.
6786
7b4cf266
DM
67872012-06-03 David S. Miller <davem@davemloft.net>
6788
6789 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
6790 change.
6791
0de0d5c6
DM
67922012-05-31 David S. Miller <davem@davemloft.net>
6793
6794 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
6795 multiply and divide instructions on 32-bit when V9.
6796 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
6797
d8c9d391
JM
67982012-05-29 Joseph Myers <joseph@codesourcery.com>
6799
6800 * config/arm/ieee754-df.S: Fix typos.
6801 * config/arm/ieee754-sf.S: Fix typos.
6802 * config/c6x/libunwind.S: Fix typos.
6803 * config/epiphany/udivsi3-float.c: Fix typos.
6804 * config/microblaze/muldi3_hard.S: Fix typos.
6805 * config/picochip/adddi3.S: Fix typos.
6806 * config/picochip/ashlsi3.S: Fix typos.
6807 * config/picochip/ashrsi3.S: Fix typos.
6808 * config/picochip/clzsi2.S: Fix typos.
6809 * config/picochip/cmpsi2.S: Fix typos.
6810 * config/picochip/divmod15.S: Fix typos.
6811 * config/picochip/divmodhi4.S: Fix typos.
6812 * config/picochip/divmodsi4.S: Fix typos.
6813 * config/picochip/longjmp.S: Fix typos.
6814 * config/picochip/lshrsi3.S: Fix typos.
6815 * config/picochip/parityhi2.S: Fix typos.
6816 * config/picochip/popcounthi2.S: Fix typos.
6817 * config/picochip/setjmp.S: Fix typos.
6818 * config/picochip/subdi3.S: Fix typos.
6819 * config/picochip/ucmpsi2.S: Fix typos.
6820 * config/picochip/udivmodhi4.S: Fix typos.
6821 * config/picochip/udivmodsi4.S: Fix typos.
6822 * config/spu/divv2df3.c: Fix typos.
6823 * config/spu/mfc_multi_tag_release.c: Fix typos.
6824 * config/spu/mfc_tag_release.c: Fix typos.
6825 * configure.ac: Fix typos.
6826 * configure: Regenerate.
6827
31a18a7e
ILT
68282012-05-25 Ian Lance Taylor <iant@google.com>
6829
6830 * config/i386/morestack.S (__morestack_non_split): Check whether
6831 caller is varargs and needs %bp to hold the stack frame on return.
6832
c5768510
OH
68332012-05-25 Olivier Hainque <hainque@adacore.com>
6834
6835 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
6836 sequence in the non pic case on VxWorks.
6837
7c7c339b
OH
68382012-05-24 Olivier Hainque <hainque@adacore.com>
6839
73fb7630 6840 * Makefile.in: Move dependency on install-unwind_h from
7c7c339b
OH
6841 "install-leaf" to "install".
6842
fdc1b7d3
OH
68432012-05-24 Olivier Hainque <hainque@adacore.com>
6844
6845 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
6846 Use a separate command for stamp removals.
6847
07ba94b9
AP
68482012-05-21 Andrew Pinski <apinski@cavium.com>
6849
6850 PR bootstrap/53183
6851 * configure.ac: Define the default includes to being none.
6852 * configure: Regenerate.
6853
4677d2eb
OH
68542012-05-16 Olivier Hainque <hainque@adacore.com>
6855
6856 * Makefile.in (install-unwind_h): Rename into ...
6857 (install-unwind_h-forbuild): New target.
6858 (all): Use it instead of the former install-unwind_h.
6859 (install-unwind_h): Reinstate, copy to user install destination
6860 for include files, not to the internal gcc object directory one.
6861 (install-leaf): Depend on it.
6862
7d67c380
OH
68632012-05-15 Olivier Hainque <hainque@adacore.com>
6864
6865 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
6866 register numbers. LR_REGNO replaces R_LR.
6867 (ucontext_for): New, helper for ...
6868 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
6869 and 5.3 of ...
6870 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
6871
aca06c90
RO
68722012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6873
6874 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
6875 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
6876 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
6877 i386/t-cpuinfo ...
6878 (i[34567]86-*-*, x86_64-*-*): ... here.
6879
6880 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
6881 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
6882
6883 * config/i386/i386-cpuinfo.c: Rename to ...
6884 * config/i386/cpuinfo.c: ... this.
6885 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
6886
6887 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
6888 (libgcc_cv_init_priority): New test.
6889 * configure: Regenerate.
6890 * config.in: New file.
6891 * Makefile.in (clean): Rename config.h to auto-target.h.
6892 (config.h): Likewise.
6893 (stamp-h): Likewise.
6894
6895 * config/i386/cpuinfo.c (auto-target.h): Include.
6896 (CONSTRUCTOR_PRIORITY): Define.
6897 (__cpu_indicator_init): Use it.
6898
0d03ac1b
L
68992012-05-09 H.J. Lu <hongjiu.lu@intel.com>
6900
6901 * longlong.h: Use a URL instead of an FSF postal address.
6902 Replace spaces with tab.
6903
4a172156 69042012-05-08 Teresa Johnson <tejohnson@google.com>
4e8ee9cb
TJ
6905
6906 * libgcov.c (gcov_clear, __gcov_reset): New functions.
6907 (__gcov_dump): Ditto.
6908 (gcov_dump_complete): New global variable.
6909 (gcov_exit): Export hidden to enable use in L_gcov_dump.
6910 (__gcov_flush): Outline functionality now in gcov_clear.
6911 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
6912
e4bb767e
AJ
69132012-04-28 Aurelien Jarno <aurelien@aurel32.net>
6914
31a18a7e
ILT
6915 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
6916 (mips*-*-linux*): Include mips/t-tpbit when long double is
6917 16 bytes long.
e4bb767e 6918
5ddecff9
ST
69192012-04-25 Sriraman Tallam <tmsriram@google.com>
6920
6921 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
6922 (get_available_features): New argument. Check for AVX2.
6923 (__cpu_indicator_init): Modify call to get_available_features.
6924
b427dd7a
AM
69252012-04-25 Alan Modra <amodra@gmail.com>
6926
6927 * config/rs6000/crtsavevr.S: New file.
6928 * config/rs6000/crtrestvr.S: New file.
6929 * config/rs6000/t-savresfgpr: Build the above.
6930 * config/rs6000/t-netbsd: Likewise.
6931
ad491329
ST
69322012-04-24 Sriraman Tallam <tmsriram@google.com>
6933
6934 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
6935
792317cc
ST
69362012-04-24 Sriraman Tallam <tmsriram@google.com>
6937
6938 * libgcc/config/i386/i386-cpuinfo.c: New file.
6939 * libgcc/config/i386/t-cpuinfo: New file.
6940 * libgcc/config.host: Include t-cpuinfo.
6941 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
6942
e1be98a4
CF
69432012-04-24 Chao-ying Fu <fu@mips.com>
6944
6945 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
6946
1bde7dab
TS
69472012-04-20 Thomas Schwinge <thomas@codesourcery.com>
6948
6949 struct siginfo vs. siginfo_t
6950
6951 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
6952 siginfo_t instead of struct siginfo.
6953 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
6954 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
6955 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
6956 (ia64_handle_unwabi): Likewise.
6957 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
6958 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
6959 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
6960 (sh_fallback_frame_state): Likewise.
6961 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
6962 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
6963
24590f66
L
69642012-04-02 H.J. Lu <hongjiu.lu@intel.com>
6965
6966 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
6967 system call number.
6968
9a9dcce8
EB
69692012-03-31 Eric Botcazou <ebotcazou@adacore.com>
6970
6971 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
6972 if it hasn't been previously saved.
6973
6401aaf5
L
69742012-03-29 H.J. Lu <hongjiu.lu@intel.com>
6975
6976 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
6977 only for glibc.
6978
7fd6378e
GJL
69792012-03-28 Georg-Johann Lay <avr@gjlay.de>
6980
6981 PR target/52737
6982 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
6983 instead of __AVR_HAVE_8BIT_SP__.
6984
9e916de7
TG
69852012-03-26 Tristan Gingold <gingold@adacore.com>
6986
6987 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
6988 (unw_table_entry): Use unw_word instead of unsigned long.
6989 (_Unwind_FindTableEntry): Likewise.
6990 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
6991 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
6992 (_Unwind_FindTableEntry): Likewise.
6993 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
6994 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
6995 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
6996 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
6997 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
6998 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
6999 (uw_init_context_1, uw_install_context): Likewise.
7000 (unw_word): Move to unwind-ia64.h
7001
4b12e93d
TG
70022012-03-26 Tristan Gingold <gingold@adacore.com>
7003
7004 * config/vms/vms-ucrt0.c: Update copyright years.
7005 Add a sanity check.
7006 (___gcc_main_flags): Declare.
7007 (__main): Check flags to remap argv and exit code.
7008 * config.host (*-*-*vms*): Adjust extra_parts.
7009 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
7010 (crt0.o): Add.
7011
06ea7371
RE
70122012-03-22 Richard Earnshaw <rearnsha@arm.com>
7013
7014 * arm/lib1funcs.asm (ctzsi2): New function.
7015 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
7016 * arm/t-linux (LIB1ASMFUNCS): Likewise.
7017 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
7018 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
7019 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
7020 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
7021
d82ad50d
AT
70222012-03-21 Andreas Tobler <andreast@fgznet.ch>
7023
7024 * config.host: Add bits to support powerpc64-*-freebsd*.
7025 * config/rs6000/freebsd-unwind.h: New file.
7026 * config/rs6000/t-freebsd64: New file.
7027
b260a8c0
RG
70282012-03-20 Richard Guenther <rguenther@suse.de>
7029
7030 PR gcov-profile/52627
7031 * libgcov.c (init_mx): Fix mutex name.
7032
86286a8a
TG
70332012-03-16 Tristan Gingold <gingold@adacore.com>
7034
7035 * config/ia64/vms-unwind.h: Remove ulong (and replace
7036 it by unw_reg where used). Define unw_reg with __int64.
7037
7888f266
RO
70382012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7039
7040 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
7041 Solaris 8 handling.
7042 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
7043 Solaris 8 handling.
7044 (sparc_is_sighandler): Likewise.
7045
f155bc64
L
70462012-03-13 H.J. Lu <hongjiu.lu@intel.com>
7047
7048 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
7049 <= saved reg size.
7050
d47657bd
RO
70512012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7052
7053 * config/arm/crtn.S: Fix typo.
7054
5bef73a1
RG
70552012-03-13 Richard Guenther <rguenther@suse.de>
7056
7057 * libgcov.c: Remove stdio.h include and NULL un-define.
7058
9c4271f3
RG
70592012-03-13 Richard Guenther <rguenther@suse.de>
7060
7061 PR target/52569
7062 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
7063
c6d10e7c
RG
70642012-03-13 Richard Guenther <rguenther@suse.de>
7065
7066 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
7067
074a385f
RG
70682012-03-13 Richard Guenther <rguenther@suse.de>
7069
7070 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
7071 and __gthread_mutex_init_function definitions.
7072
c4bc5c25
RO
70732012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7074
7075 * config.host (mips*-*-openbsd*): Remove.
7076
5c30094f
RO
70772012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7078
7079 * config.host: Remove alpha*-dec-osf5.1* handling.
7080 * config/alpha/gthr-posix.c: Remove.
7081 * config/alpha/libgcc-osf5.ver: Remove.
7082 * config/alpha/osf5-unwind.h: Remove.
7083 * config/alpha/t-osf-pthread: Remove.
7084 * config/alpha/t-slibgcc-osf: Remove.
7085 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
7086 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
7087 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
7088 * mkmap-flat.awk: Remove osf_export handling.
7089
33e3e24d
RG
70902012-03-12 Richard Guenther <rguenther@suse.de>
7091
7092 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
7093 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
7094 (__gthread_mutex_init_function): New function.
7095 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
7096
7097 PR gcov/49484
7098 * libgcov.c: Include gthr.h.
7099 (__gcov_flush_mx): New global variable.
7100 (init_mx, init_mx_once): New functions.
7101 (__gcov_flush): Protect self with a mutex.
7102 (__gcov_fork): Re-initialize mutex after forking.
7103 * unwind-dw2-fde.c: Change condition under which to use
7104 __GTHREAD_MUTEX_INIT_FUNCTION.
7105
d8aba32a
TG
71062012-03-12 Tristan Gingold <gingold@adacore.com>
7107
7108 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
7109 * config/ia64/t-vms: Likewise.
7110
75ffafdc
MH
71112012-03-11 Michael Hope <michael.hope@linaro.org>
7112
4a172156
UB
7113 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
7114 for Thumb-2.
75ffafdc 7115
ef6c2c53
WL
71162012-03-07 Walter Lee <walt@tilera.com>
7117
7118 * config/tilepro/atomic.c: Rename "atomic_" prefix to
7119 "arch_atomic_".
7120 (atomic_xor): Rename and move definition to
7121 config/tilepro/atomic.h.
7122 (atomic_nand): Ditto.
7123 * config/tilepro/atomic.h: Rename "atomic_" prefix to
7124 "arch_atomic_".
7125 (arch_atomic_xor): Move from config/tilepro/atomic.c.
7126 (arch_atomic_nand): Ditto.
7127
4e30d980
GJL
71282012-03-07 Georg-Johann Lay <avr@gjlay.de>
7129
7130 PR target/52507
7131 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
7132
61108225
GJL
71332012-03-07 Georg-Johann Lay <avr@gjlay.de>
7134
7135 PR target/52505
7136 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
7137 from RAM.
7138
b30e10ab
GJL
71392012-03-07 Georg-Johann Lay <avr@gjlay.de>
7140
7141 PR target/52461
7142 PR target/52508
7143 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
7144 if RAMPZ affects reading from RAM.
7145 (__tablejump_elpm__): Ditto.
7146 (.xload): Ditto.
7147 (__movmemx_hi): Ditto.
7148 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
7149 (__do_global_dtors): Ditto.
7150 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
7151 (__movmemx_hi): Ditto.
7152
8993fde4
RH
71532012-03-05 Richard Henderson <rth@redhat.com>
7154
7155 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
7156 [ARM] (count_trailing_zeros): Use the builtin.
7157
b7633ee3
KT
71582012-03-01 Kai Tietz <ktietz@redhat.com>
7159
7160 * soft-fp: Imported from glibc upstream.
7161
fbd3340c
KT
71622012-02-28 Kai Tietz <ktietz@redhat.com>
7163
7164 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
7165 for mingw-targets as attribute gcc_struct.
7166
e9e053eb
ILT
71672012-02-28 Ian Lance Taylor <iant@google.com>
7168
7169 * generic-morestack.c (__splitstack_releasecontext): Correct call
7170 to __morestack_release_segments.
7171
d80c632e
ST
71722012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
7173
7174 PR target/52390
7175 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
7176 for __linux__ when removing signals from __morestack_fullmask.
7177
0253a8b1
GJL
71782012-02-23 Georg-Johann Lay <avr@gjlay.de>
7179
7180 PR target/52261
7181 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
7182
e10e461e
UW
71832012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7184
7185 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
7186 instead of HAVE_INITFINI_ARRAY.
7187 * config/ia64/crtend.S: Likewise.
7188
0c0c6398
KT
71892012-02-20 Kai Tietz <ktietz@redhat.com>
7190
d7470374
KT
7191 PR libstdc++/52300
7192 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
7193
0c0c6398
KT
7194 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
7195 to w32-unwind.h header.
7196
78c27266
RS
71972012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
7198
7199 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
7200 (mips*-*-linux*): Remove t-slibgcc-libgcc.
7201 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
7202 * config/mips/mips16.S (__mips16_rdhwr): Delete.
7203
5adeb246
RS
72042012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
7205
7206 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
7207
672ed313
IS
72082012-02-15 Iain Sandoe <iains@gcc.gnu.org>
7209
7210 PR libitm/52220
7211 * config/darwin-crt-tm.c: Correct typo.
e9e053eb 7212
e948a1fb
IS
72132012-02-15 Iain Sandoe <iains@gcc.gnu.org>
7214 Patrick Marlier <patrick.marlier@gmail.com>
7215
7216 PR libitm/52220
7217 * config/darwin-crt-tm.c: Generate dummy functions.
7218
6017aed3
IS
72192012-02-15 Iain Sandoe <iains@gcc.gnu.org>
7220 Patrick Marlier <patrick.marlier@gmail.com>
7221
7222 PR libitm/52042
7223 * config/darwin-crt-tm.c (getTMCloneTable): New function.
7224 (__doTMRegistrations): Call it.
e9e053eb 7225 (__doTMdeRegistrations): Likewise.
6017aed3 7226
2da8c1ad 72272012-01-15 Georg-Johann Lay <avr@gjlay.de>
7d296953
JJ
7228 Anatoly Sokolov <aesok@post.ru>
7229 Eric Weddington <eric.weddington@atmel.com>
2da8c1ad
GJL
7230
7231 PR target/52261
7232 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
7233 (__epilogue_restores__): Ditto.
7234
0f952eb4
EB
72352012-02-15 Eric Botcazou <ebotcazou@adacore.com>
7236
7237 PR target/51921
7238 PR target/52205
7239 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
7240 Solaris 11 and slightly reformat.
7241 (sparc_is_sighandler): Likewise.
7242
dd552284
WL
72432012-02-14 Walter Lee <walt@tilera.com>
7244
7245 * config.host: Handle tilegx and tilepro.
7246 * config/tilegx/sfp-machine.h: New file.
7247 * config/tilegx/sfp-machine32.h: New file.
7248 * config/tilegx/sfp-machine64.h: New file.
7249 * config/tilegx/t-crtstuff: New file.
7250 * config/tilegx/t-softfp: New file.
7251 * config/tilegx/t-tilegx: New file.
7252 * config/tilepro/atomic.c: New file.
7253 * config/tilepro/atomic.h: New file.
7254 * config/tilepro/linux-unwind.h: New file.
7255 * config/tilepro/sfp-machine.h: New file.
7256 * config/tilepro/softdivide.c: New file.
7257 * config/tilepro/softmpy.S: New file.
7258 * config/tilepro/t-crtstuff: New file.
7259 * config/tilepro/t-tilepro: New file.
7260
b59cbd50
JW
72612012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
7262
7263 PR libstdc++/51296
7264 PR libstdc++/51906
7265 * gthr-posix.h: Allow static initializer macros to be disabled.
7266 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
7267
6caf807f
CLT
72682012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
7269
7270 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
7271 Add t-slibgcc-libgcc to tmake_file.
7272 * config/mips/libgcc-mips16.ver: Revert previous patch.
7273 * config/mips/mips16.S (__mips16_rdhwr): Hide.
7274
7d296953
JJ
72752012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
7276 Jayant R Sonar <jayant.sonar@kpitcummins.com>
b25364a0
S
7277
7278 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
7279 * config/cr16/crti.S: New file.
7280 * config/cr16/crtlibid.S: New file.
7281 * config/cr16/crtn.S: New file.
7282 * config/cr16/lib1funcs.S: New file.
7283 * config/cr16/t-cr16: New file.
7284 * config/cr16/t-crtlibid: New file.
7285 * config/cr16/unwind-dw2.h: New file.
7286 * config/cr16/unwind-cr16.c: New file.
7287 * config/cr16/divmodhi3.c: New file.
7288
8ef03aa7
AM
72892012-01-25 Alan Modra <amodra@gmail.com>
7290
7291 * config/rs6000/t-linux64: Delete. Move..
7292 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
7293 * config/rs6000/t-linux: ..and libgcc flags to here.
7294
daecebc8
DR
72952012-01-22 Douglas B Rupp <rupp@gnat.com>
7296
7297 * config.host (i[34567]86-*-interix3*):
8ef03aa7 7298 Change triplet to i[34567]86-*-interix[3-9]*.
daecebc8
DR
7299 * configure: Regenerate.
7300
ddaf8125
RS
73012012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
7302 Richard Sandiford <rdsandiford@googlemail.com>
7303
7304 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
7305 * config/mips/mips16.S (__mips16_rdhwr): New function.
7306 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
7307
2cd8b32c
NS
73082012-01-11 Nathan Sidwell <nathan@acm.org>
7309
7310 * libgcov.c (__gcov_init): Ignore objects with no functions.
7311
cba300dd
GJL
73122012-01-10 Georg-Johann Lay <avr@gjlay.de>
7313
7314 PR target/49868
7315 Extend __pgmx semantics to linearize memory.
7316 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
7317 * config/avr/lib1funcs.S (__xload_1): New function.
7318 (__movmemx_qi, __movmemx_hi): New functions.
7319 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
7320 semantics.
9ffaf4bc 7321
3d137660
EB
73222012-01-09 Eric Botcazou <ebotcazou@adacore.com>
7323
7324 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
7325 purported sigacthandler address isn't null before dereferencing it.
7326 (sparc_is_sighandler): Likewise.
7327
bf4db96c
EB
73282012-01-09 Eric Botcazou <ebotcazou@adacore.com>
7329
7330 PR ada/41929
7331 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
7332 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
7333 (sparc_is_sighandler): Likewise.
7334 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
7335
1ab3568b
TG
73362012-01-06 Tristan Gingold <gingold@adacore.com>
7337
7338 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
7339 compatibility thunks...
7340 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
7341 (crtbeginS.o, crtendS.o): ... and these to ...
7342 * config/ia64/t-ia64-elf: ... this new file.
7343 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
7344 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
7345
925b0ed8
AK
73462012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7347
7348 * configure: Regenerate.
7349 * config/s390/t-crtstuff: Remove -fPIC.
7350
a99ad737
JW
73512012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
7352
7353 PR bootstrap/51006
7354 * enable-execute-stack-mprotect.c (getpagesize): Do not define
7355 for NetBSD.
7356
884f56d1
GJL
73572012-01-02 Georg-Johann Lay <avr@gjlay.de>
7358
7359 PR target/51345
7360 * config/avr/lib1funcs.S: Remove FIXME comments.
7361 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
7362
8c57e547
GJL
73632012-01-02 Georg-Johann Lay <avr@gjlay.de>
7364
7365 Implement light-weight DImode support.
7366 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
7367 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
7368 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
7369 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
7370
04dbc287
NS
73712011-12-30 Nathan Sidwell <nathan@acm.org>
7372
7373 * libgcov.c (gcov_crc32): Remove global var.
7374 (free_fn_data): New function.
7375 (buffer_fn_data): Pass in filename, more robust error recovery.
7376 (crc32_unsigned): New function.
7377 (gcov_exit): More robust detection of new program. More robust
7378 error recovery.
7379 (__gcov_init): Do not update program's crc here.
7380
8e1d97d4
TG
73812011-12-21 Tristan Gingold <gingold@adacore.com>
7382
7383 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
7384
9ffaf4bc
ILT
73852011-12-21 Ian Lance Taylor <iant@google.com>
7386
7387 * config/i386/morestack.S: Simplify CFI opcodes throughout.
7388
a0c8d0c1
ILT
73892011-12-20 Ian Lance Taylor <iant@google.com>
7390
7391 * config/i386/morestack.S (__morestack_non_split): If there is
7392 enough stack space already, don't split. Ask for more stack space
7393 than we required.
7394
69048898
SDJ
73952011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
7396
7397 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
7398 `sys/sdt.h'.
7399 (_Unwind_DebugHook): New function.
7400 (uw_restore_core_regs): New define.
7401 (unwind_phase2): Use uw_restore_core_regs instead of
7402 restore_core_regs.
7403 (unwind_phase2_forced): Likewise.
7404 (__gnu_Unwind_Resume): Likewise.
7405
1bb4b6a3
UB
74062011-12-20 Uros Bizjak <ubizjak@gmail.com>
7407
7408 * config/alpha/linux-unwind.h: Update copyright years.
7409 (MD_FROB_UPDATE_CONTEXT): New define.
7410 (alpha_frob_update_context): New function.
7411
eb028768
RS
74122011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
7413
7414 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
7415 tmake_file rather replacing it.
7416
6a2045bf
IS
74172011-12-15 Iain Sandoe <iains@gcc.gnu.org>
7418
7419 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
1bb4b6a3 7420 function is not used for PPC64.
6a2045bf
IS
7421 (save_world): Amend comments. Update the VRsave mask to reflect the
7422 saved regs.
7423 (rest_world): Update comments, do not clobber r10, do not use r8.
7424 (eh_rest_world_r10): Amend comments, do not use r8.
7425 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
7426 no longer used, move restore of CR and target address to the end of
7427 the routine.
7428
a13780a6
L
74292011-12-14 H.J. Lu <hongjiu.lu@intel.com>
7430
7431 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
7432 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
7433
d7288dfb
GJL
74342011-12-14 Georg-Johann Lay <avr@gjlay.de>
7435
7436 PR target/49313
7437 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
7438 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
7439
8d2c862d
EB
74402011-12-11 Eric Botcazou <ebotcazou@adacore.com>
7441
7442 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
7443
3447cae6
GJL
74442011-12-09 Georg-Johann Lay <avr@gjlay.de>
7445
7446 PR target/49313
7447 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
7448 * config/avr/lib1funcs.S (__muldi3): New function.
7449
806fc6aa
AP
74502011-12-06 Andrew Pinski <apinski@cavium.com>
7451
7452 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
7453 size of func_ptr.
7454 (__frame_dummy_init_array_entry): Likewise.
7455
28c5e6b5
GJL
74562011-12-06 Georg-Johann Lay <avr@gjlay.de>
7457
7458 Forward-port from gcc-4_6-branch r181936 2011-12-02.
7459
7460 PR target/51345
7461 PR target/51002
7462 * config/avr/lib1funcs.S (__prologue_saves__,
7463 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
7464 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
7465
8f90394a
IS
74662011-12-04 Iain Sandoe <iains@gcc.gnu.org>
7467
7468 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
7469
06dd33ac
JDA
74702011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
7471
7472 PR other/51272
7473 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
7474 (_ITM_deregisterTMCloneTable): Likewise.
7475 (__register_frame_info): Fix unused warning.
7476 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
7477 pthread_default_stacksize_np): Likewise.
7478 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
1bb4b6a3 7479
85b8555e
DD
74802011-11-29 DJ Delorie <dj@redhat.com>
7481
7482 * config.host (rl78-*-elf): New case.
7483 * config/rl78: New directory for the Renesas RL78.
7484
4d5ae4ea
BS
74852011-11-29 Bernd Schmidt <bernds@codesourcery.com>
7486
7487 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
7488 formatting.
7489
f9c55897
RO
74902011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7491
7492 PR other/51022
7493 * config/rs6000/t-savresfgpr: New file.
7494 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
7495 $(srcdir)/config/rs6000/eabi.S.
7496 * config/rs6000/t-ppccomm-ldbl: Remove.
7497 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
7498 tmake_file.
7499 (powerpc-*-eabispe*): Likewise.
7500 (powerpc-*-eabi*): Likewise.
7501 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
7502 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
7503 to tmake_file, remove rs6000/t-ppccomm-ldbl.
7504 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
7505 tmake_file.
7506 (powerpc-*-eabisim*): Likewise.
7507 (powerpc-*-elf*): Likewise.
7508 (powerpc-*-eabialtivec*): Likewise.
7509 (powerpc-xilinx-eabi*): Likewise.
7510 (powerpc-*-rtems*): Likewise.
7511 (powerpcle-*-elf*): Likewise.
7512 (powerpcle-*-eabisim*): Likewise.
7513 (powerpcle-*-eabi*): Likewise.
7514
a01207c4
ILT
75152011-11-27 Ian Lance Taylor <iant@google.com>
7516
7517 * generic-morestack.c (__splitstack_find): Check for NULL old
7518 stack value.
7519 (__splitstack_resetcontext): New function.
7520 (__splitstack_releasecontext): New function.
7521 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
7522
2b0b8ab2
IS
75232011-11-27 Iain Sandoe <iains@gcc.gnu.org>
7524
7525 * config/darwin-crt-tm.c: Correct comments, use correct licence.
7526
c1d8101c
IS
75272011-11-27 Iain Sandoe <iains@gcc.gnu.org>
7528
7529 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
7530
8b281334
RH
75312011-11-26 Richard Henderson <rth@redhat.com>
7532
7533 * config/m68k/linux-atomic.c: New file.
7534 * config/m68k/t-linux: New file.
7535 * config.host (m68k-uclinux, m68k-linux): Use it.
7536
7546aa9d
RH
75372011-11-26 Richard Henderson <rth@redhat.com>
7538
7539 * crtstuff.c (__TMC_LIST__): Mark used not unused.
7540 (__TMC_END__): Only declare if hidden is available; in the definition,
7541 if hidden is unavailable add a null record.
7542 (deregister_tm_clones, register_tm_clones): New.
7543 (__do_global_dtors_aux, frame_dummy): Use them.
7544 (__do_global_dtors, __do_global_ctors_1): Likewise.
7545
e2362f5d
IS
75462011-11-22 Iain Sandoe <iains@gcc.gnu.org>
7547
7548 * config/darwin-crt-tm.c: New file.
7549 * config.host (darwin): Build crttms.o crttme.o to provide
7550 startup and shutdown for tm clones.
7551 * config/t-darwin (crttms.o): New build rule.
7552 (crttme.o): Likewise.
7553
6685dd96
HPN
75542011-11-21 Hans-Peter Nilsson <hp@axis.com>
7555
7556 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
7557 et al.
7558
b0dc7e4c
RH
75592011-11-21 Richard Henderson <rth@redhat.com>
7560
7561 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
7562 (__TMC_LIST__, __TMC_END__): New.
7563 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
7564 (__do_global_dtors): Likewise.
7565 (frame_dummy): Call _ITM_registerTMCloneTable.
7566 (__do_global_ctors_1): Likewise.
7567
d4b4b542
RO
75682011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7569
7570 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
7571 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
7572 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
7573 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
7574 * config/i386/t-darwin64: Remove.
7575 * config/sh/t-netbsd (LIB2ADD): Remove.
7576
989bdb74
GJL
75772011-11-21 Georg-Johann Lay <avr@gjlay.de>
7578
7579 PR target/49313
7580 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
7581 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
7582 * config/avr/lib1funcs.S (wmov): New assembler macro.
7583 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
7584 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
7585 (__udivmod64): New function.
7586 (__negdi2): New function.
7587
515a0cfc
GP
75882011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
7589
7590 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
7591 *-*-freebsd*aout*): Remove.
7592
0115d17f
HPN
75932011-11-20 Hans-Peter Nilsson <hp@axis.com>
7594
7595 * static-object.mk (c_flags-$o): Save c_flags.
7596 ($(base)$(objext)): Use it.
7597
93aeb62b
SE
75982011-11-18 Steve Ellcey <sje@cup.hp.com>
7599
7600 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
7601
7bc6df2c
GJL
76022011-11-18 Georg-Johann Lay <avr@gjlay.de>
7603
7604 PR target/49868
7605 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
7606 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
7607 New functions.
7608
425d737b
MGD
76092011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
7610
7611 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
7612 functions.
1bb4b6a3 7613 (aeabi_uidivmod): Likewise.
425d737b
MGD
7614 (umodsi3): Likewise.
7615 (divsi3): Likewise.
7616 (aeabi_idivmod): Likewise.
7617 (modsi3): Likewise.
7618
f2a176dc
TG
76192011-11-16 Tristan Gingold <gingold@adacore.com>
7620
7621 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
7622
7c209481
GJL
76232011-11-15 Georg-Johann Lay <avr@gjlay.de>
7624
7625 PR target/49868
7626 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
7627 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
7628
9dfd5832
JDA
76292011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
7630
7631 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
7632 tmake_file list.
7633 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
7634 * config/pa/t-stublib64: Delete.
7635
f77dca5d
RH
76362011-11-12 Richard Henderson <rth@redhat.com>
7637
7638 * config/rs6000/linux-unwind.h (frob_update_context): Properly
7639 cast the pointer argument to _Unwind_SetGRPtr.
7640
902828f0
RO
76412011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7642
7643 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
7644
e14304ef
ILT
76452011-11-09 Ian Lance Taylor <iant@google.com>
7646
7647 * generic-morestack.c: Include <string.h>.
7648 (uintptr_type): Define.
7649 (struct initial_sp): Add dont_block_signals field. Reduce size of
7650 extra array by 1.
7651 (allocate_segment): Set prev field to NULL. Don't set
7652 __morestack_current_segment or __morestack_segments.
7653 (__generic_morestack): Update current->prev and *pp after calling
7654 allocate_segment.
7655 (__morestack_block_signals): Don't do anything if
7656 dont_block_signals is set.
7657 (__morestack_unblock_signals): Likewise.
7658 (__generic_findstack): Check for initial_sp == NULL. Add casts to
7659 uintptr_type.
7660 (__splitstack_block_signals): New function.
7661 (enum __splitstack_content_offsets): Define.
7662 (__splitstack_getcontext, __splitstack_setcontext): New functions.
7663 (__splitstack_makecontext): New function.
7664 (__splitstack_block_signals_context): New function.
7665 (__splitstack_find_context): New function.
7666 * config/i386/morestack.S (__morestack_get_guard): New function.
7667 (__morestack_set_guard, __morestack_make_guard): New functions.
7668 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
7669
e3d871e4
RO
76702011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7671
7672 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
7673 (i[34567]86-*-mingw*): ... here.
7674 (x86_64-*-mingw*): ... here.
7675
e55cef40
RO
76762011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7677
7678 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
7679
5366b186
NS
76802011-11-07 Nathan Sidwell <nathan@acm.org>
7681
7682 * libgcov.c (struct gcov_fn_buffer): New struct.
7683 (buffer_fn_data): New helper.
7684 (gcov_exit): Rework for new gcov data structures.
7685
74155a6f
GJL
76862011-11-07 Georg-Johann Lay <avr@gjlay.de>
7687
7688 PR target/49313
7689 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
7690
200feb07
RO
76912011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7692
7693 * config.host (tmake_file): Correct comment.
7694 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
7695 t-libgcc-pic.
7696 (bfin*-uclinux*): Likewise.
7697 (bfin*-linux-uclibc*): Likewise.
7698 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
7699
7700 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
7701 assigning.
7702 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7703 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
7704 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7705 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
7706 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7707 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
7708 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
7709 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7710 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
7711 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
7712 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
7713 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
7714 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
7715
7716 * config/bfin/t-elf: Remove.
7717 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
7718
c9cd1a07
RO
77192011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7720
7721 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
7722 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
7723 (lm32-*-elf*, lm32-*-rtems*): Split into ...
7724 (lm32-*-elf*): ... this.
7725 (lm32-*-rtems*): ... and this.
7726 Add to tmake_file.
7727 (m32r-*-rtems*): Add to tmake_file.
7728 (moxie-*-rtems*): Likewise.
7729 (sparc-*-rtems*): Likewise.
7730 Remove t-rtems from tmake_file.
7731 (sparc64-*-rtems*): Likewise.
7732 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
7733 instead.
7734
9fbcc75d
RO
77352011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7736
7737 PR bootstrap/50982
7738 * config/gthr-posix.h: Move ...
7739 * gthr-posix.h: ... here.
7740 * config/gthr-lynx.h: Reflect this.
7741 * config/gthr-vxworks.h: Likewise.
7742 * config/rs6000/gthr-aix.h: Likewise.
7743 * configure.ac (target_thread_file): Likewise.
7744 * configure: Regenerate.
7745
76644b68
SH
77462011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
7747
7748 * config.host (arm*-*-rtemseabi*): New target.
7749
5e490f2a
JDA
77502011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
7751
7752 PR other/50991
7753 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
7754 extra-parts.
7755
feeeff5c
JR
77562011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
7757
7758 * config.host (epiphany-*-elf*): New configuration.
7759 * config/epiphany: New Directory.
7760
d618bb2c
RC
77612011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
7762
7763 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
7764 * config/avr/t-rtems: New.
7765 Filter out _exit from LIB1ASMFUNCS.
7766
1bb6f778
DM
77672011-11-04 David S. Miller <davem@davemloft.net>
7768
7769 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
7770 * configure: Rebuild.
7771
9a7f7422
AK
77722011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7773
7774 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
7775 variable.
7776
e4fe948a
GJL
77772011-11-04 Georg-Johann Lay <avr@gjlay.de>
7778
7779 PR target/50931
7780 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
7781 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
7782
7084e037
JS
77832011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
7784
7785 PR target/50989
7786 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
7787
1a032034
RO
77882011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7789
7790 * config/c6x/t-elf (LIB2ADDEH): Set.
7791 * config/c6x/t-c6x-elf: Remove.
7792
d385f772
RO
77932011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7794
7795 * config/i386/sol2-ci.S: Rename to ...
7796 * config/i386/crti.S: ... this.
7797 * config/i386/sol2-cn.S: Rename to ...
7798 * config/i386/crtn.S: ... this.
7799 * config/sparc/sol2-ci.S: Rename to ...
7800 * config/sparc/crti.S: ... this.
7801 * config/sparc/sol2-cn.S: Rename to ...
7802 * config/sparc/crtn.S: ... this.
7803 * config/t-sol2 (CUSTOM_CRTIN): Remove.
7804 (crti.o, crtn.o): Remove.
7805
1ba878a9
TG
78062011-11-04 Tristan Gingold <gingold@adacore.com>
7807
7808 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
7809
02750c15
KK
78102011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
7811
7812 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
7813
bf86b067
HPN
78142011-11-03 Hans-Peter Nilsson <hp@axis.com>
7815
7816 * config.host (crisv32-*-none, cris-*-none): Remove.
7817 (crisv32-*-elf): Append to tmake_file, don't just set it.
7818 (cris-*-elf): Add missing t-fdpbit to tmake_file.
7819
d0bc53bd
RO
78202011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7821
7822 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
7823 (ecrtn$(objext)): Likewise.
7824 (ncrti$(objext)): Likewise.
7825 (ncrtn$(objext)): Likewise.
7826
036da830
AS
78272011-11-03 Andreas Schwab <schwab@redhat.com>
7828
7829 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
7830
d2a7d041
DM
78312011-11-02 David S. Miller <davem@davemloft.net>
7832
7833 * configure.ac: Set host_address on sparc too.
7834 * configure: Regenerate.
7835 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
7836 based upon host_address.
7837 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
7838
af8ed618
JM
78392011-11-02 Jason Merrill <jason@redhat.com>
7840
7841 * config/rs6000/t-ppccomm: Add missing \.
7842
5d1c8e77
RO
78432011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7844
7845 * gthr-single.h, gthr.h: New files.
7846 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
7847 config/gthr-vxworks.h, config/i386/gthr-win32.h,
7848 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
7849 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
7850 * config/i386/gthr-win32.c: Include "gthr-win32.h".
7851 * configure.ac (thread_header): New variable.
7852 Set it depending on target_thread_file.
7853 (gthr-default.h): Link from $thread_header.
7854 * configure: Regenerate.
7855 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
7856
852b75ed
RO
78572011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7858
7859 * configure.ac (tm_file_): New variable.
7860 Determine from tm_file.
7861 (tm_file, tm_defines): Substitute.
7862 * configure: Regenerate.
7863 * mkheader.sh: New file.
7864 * Makefile.in (clean): Remove libgcc_tm.h.
7865 ($(objects)): Depend on libgcc_tm.h.
7866 (libgcc_tm_defines, libgcc_tm_file): New variables.
7867 (libgcc_tm.h, libgcc_tm.stamp): New targets.
7868 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
7869 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
7870 ($(extra-parts)): Depend on libgcc_tm.h.
7871 * config.host (tm_defines, tm_file): New variable.
7872 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
7873 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
7874 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
7875 (avr-*-rtems*): Likewise.
7876 (avr-*-*): Likewise.
7877 (frv-*-elf): Likewise.
7878 (frv-*-*linux*): Likewise.
7879 (h8300-*-rtems*): Likewise.
7880 (h8300-*-elf*): Likewise.
7881 (i[34567]86-*-darwin*): Likewise.
7882 (x86_64-*-darwin*): Likewise.
7883 (rx-*-elf): Likewise.
7884 (tic6x-*-uclinux): Likewise.
7885 (tic6x-*-elf): Likewise.
7886 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
7887 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
7888 * config/i386/cygming-crtbegin.c: Likewise.
7889 * config/i386/cygming-crtend.c: Likewise.
7890 * config/ia64/fde-vms.c: Likewise.
7891 * config/ia64/unwind-ia64.c: Likewise.
7892 * config/libbid/bid_gcc_intrinsics.h: Likewise.
7893 * config/rs6000/darwin-fallback.c: Likewise.
7894 * config/stormy16/lib2funcs.c: Likewise.
7895 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
7896 * crtstuff.c: Likewise.
7897 * dfp-bit.h: Likewise.
7898 * emutls.c: Likewise.
7899 * fixed-bit.c: Likewise.
7900 * fp-bit.c: Likewise.
7901 * generic-morestack-thread.c: Likewise.
7902 * generic-morestack.c: Likewise.
7903 * libgcc2.c: Likewise.
7904 * libgcov.c: Likewise.
7905 * unwind-dw2-fde-dip.c: Likewise.
7906 * unwind-dw2-fde.c: Likewise.
7907 * unwind-dw2.c: Likewise.
7908 * unwind-sjlj.c: Likewise.
7909
f9989b51
RO
79102011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7911
7912 * configure.ac: Include ../config/picflag.m4.
7913 (GCC_PICFLAG): Call it.
7914 Substitute.
7915 * configure: Regenerate.
7916 * Makefile.in (gcc_srcdir): Remove.
7917 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
7918 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
7919 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
7920 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
7921 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
7922 Use $<.
7923 Remove comment.
7924 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
7925 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
7926 to refer to libgcc2.c.
7927 Use $<.
7928 * config/darwin-64.c: New file.
7929 * config/darwin-crt3.c: Remove comment.
7930 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
7931 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
7932 config/udivmodsi4.c: New files.
7933 * config/memcmp.c, config/memcpy.c, config/memmove.c,
7934 config/memset.c: New files.
7935 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
7936 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
7937 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
7938 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
7939 * config/t-openbsd-thread: New file.
7940 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
7941 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
7942 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
7943 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
7944 qrnnd.S.
7945 Adapt filename.
7946 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
7947 to refer to gthr-posix.c.
7948 * config/alpha/t-vms (LIB2ADD): Set.
7949 * config/alpha/vms-gcc_shell_handler.c: New file.
7950 * config/arm/bpabi.c, config/arm/fp16.c,
7951 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
7952 config/arm/unaligned-funcs.c: New files.
7953 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
7954 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
7955 * config/arm/t-linux: Likewise.
7956 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
7957 * config/arm/t-netbsd: New file.
7958 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
7959 * config/arm/t-symbian (LIB2ADD_ST): Set.
7960 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
7961 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7962 * config/bfin/t-elf: New file.
7963 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
7964 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
7965 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
7966 config/c6x/ltf.c: New files.
7967 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
7968 (HOST_LIBGCC2_CFLAGS): Set.
7969 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
7970 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7971 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
7972 New files.
7973 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
7974 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
7975 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
7976 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
7977 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
7978 files.
7979 * config/frv/t-frv (LIB2ADD): Set.
7980 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7981 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
7982 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
7983 config/h8300/popcounthi2.c: New files.
7984 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
7985 * config/i386/gthr-win32.c: New file.
7986 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
7987 * config/i386/t-cygwin: Likewise.
7988 * config/i386/t-darwin, config/i386/t-darwin64,
7989 config/i386/t-gthr-win32, config/i386/t-interix: New files.
7990 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
7991 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7992 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7993 * config/ia64/quadlib.c: New file.
7994 * config/ia64/t-hpux (LIB2ADD): Set.
7995 * config/ia64/t-ia64: Add comment.
7996 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
7997 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7998 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
7999 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
8000 * config/m32c/t-m32c (LIB2ADD): Set.
8001 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
8002 * config/m32r/t-m32r: Likewise.
8003 * config/m68k/fpgnulib.c: New file.
8004 * config/m68k/t-floatlib (LIB2ADD): Set.
8005 (xfgnulib.c): New target.
8006 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
8007 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
8008 * config/mep/t-mep (LIB2ADD): Set.
8009 * config/microblaze/divsi3.asm: Rename to divsi3.S.
8010 * config/microblaze/moddi3.asm: Rename to moddi3.S.
8011 * config/microblaze/modsi3.asm: Rename to modsi3.S.
8012 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
8013 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
8014 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
8015 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
8016 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
8017 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
8018 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
8019 New files.
8020 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
8021 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
8022 * config/pa/fptr.c, config/pa/lib2funcs.S,
8023 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
8024 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
8025 (LIB2ADD, LIB2ADD_ST): Set.
8026 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
8027 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
8028 Set.
8029 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
8030 * config/pdp11/t-pdp11: New file.
8031 * config/picochip/libgccExtras/adddi3.S,
8032 config/picochip/libgccExtras/ashlsi3.S,
8033 config/picochip/libgccExtras/ashrsi3.S,
8034 config/picochip/libgccExtras/clzsi2.S,
8035 config/picochip/libgccExtras/cmpsi2.S,
8036 config/picochip/libgccExtras/divmod15.S,
8037 config/picochip/libgccExtras/divmodhi4.S,
8038 config/picochip/libgccExtras/divmodsi4.S,
8039 config/picochip/libgccExtras/lshrsi3.S,
8040 config/picochip/libgccExtras/parityhi2.S,
8041 config/picochip/libgccExtras/popcounthi2.S,
8042 config/picochip/libgccExtras/subdi3.S,
8043 config/picochip/libgccExtras/ucmpsi2.S,
8044 config/picochip/libgccExtras/udivmodhi4.S,
8045 config/picochip/libgccExtras/udivmodsi4.S: New files.
8046 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
8047 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
8048 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
8049 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
8050 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
8051 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
8052 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
8053 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
8054 files.
8055 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
8056 (HOST_LIBGCC2_CFLAGS): Set.
8057 * config/rs6000/t-darwin64: New file.
8058 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
8059 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
8060 * config/rs6000/t-ppccomm (LIB2ADD): Add
8061 $(srcdir)/config/rs6000/tramp.S.
8062 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
8063 Add $(srcdir)/config/rs6000/eabi.S.
8064 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
8065 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
8066 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
8067 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
8068 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
8069 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
8070 * config/rs6000/tramp.S: New file.
8071 * config/s390/t-tpf: Remove.
8072 * config/sh/linux-atomic.S: New file.
8073 * config/sh/t-linux (LIB2ADD): Set.
8074 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
8075 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
8076 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
8077 to unwind-dw2.c.
8078 (HOST_LIBGCC2_CFLAGS): Set.
8079 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8080 * config/spu/divmodti4.c, config/spu/divv2df3.c,
8081 config/spu/float_disf.c, config/spu/float_unsdidf.c,
8082 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
8083 config/spu/mfc_multi_tag_release.c,
8084 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
8085 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
8086 config/spu/multi3.c: New files.
8087 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
8088 (HOST_LIBGCC2_CFLAGS): Set.
8089 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
8090 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
8091 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
8092 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
8093 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
8094 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
8095 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
8096 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
8097 config/stormy16/umodsi3.c: New files.
8098 * config/xtensa/lib2funcs.S: New file.
8099 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
8100 * config/xtensa/t-xtensa (LIB2ADD): Set.
8101 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
8102 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
8103 Add t-freebsd-thread to tmake_file for posix threads.
8104 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
8105 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
8106 (*-*-lynxos*): Likewise.
8107 (*-*-netbsd*): Likewise.
8108 (*-*-openbsd*): Likewise.
8109 Add t-openbsd-thread to tmake_file for posix threads.
8110 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
8111 (*-*-vxworks*): Set tmake_file.
8112 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
8113 (alpha*-*-freebsd*): Likewise.
8114 (alpha*-*-netbsd*): Likewise.
8115 (alpha*-*-openbsd*): Likewise.
8116 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
8117 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
8118 (alpha*-dec-*vms*): Likewise.
8119 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
8120 (bfin*-elf*): Add bfin/t-elf to tmake_file.
8121 (bfin*-uclinux*): Likewise.
8122 (bfin*-linux-uclibc*): Likewise.
8123 (crisv32-*-elf): Add cris/t-cris to tmake_file.
8124 (crisv32-*-none): Likewise.
8125 (cris-*-elf): Likewise.
8126 (cris-*-none): Likewise.
8127 (cris-*-linux*, crisv32-*-linux*): Likewise.
8128 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
8129 tmake_file.
8130 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
8131 tmake_file.
8132 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
8133 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
8134 (x86_64-*-elf*): Likewise.
8135 (i[34567]86-*-nto-qnx*): Likewise.
8136 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
8137 win32 threads.
8138 (x86_64-*-mingw*): Likewise.
8139 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
8140 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
8141 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
8142 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
8143 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
8144 tmake_file.
8145 (mipsisa64sr71k-*-elf*): Likewise.
8146 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
8147 (mips-*-elf*, mipsel-*-elf*): Likewise.
8148 (mips64-*-elf*, mips64el-*-elf*): Likewise.
8149 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
8150 (mips*-*-rtems*): Likewise.
8151 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
8152 to tmake_file.
8153 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
8154 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
8155 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
8156 (spu-*-elf*): Likewise.
8157 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
8158
45b86625
RO
81592011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8160
8161 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
8162 $(srcdir) to refer to $(LIB1ASMSRC).
8163 Use $<.
8164 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
8165 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
8166 config/arm/lib1funcs.S: New files.
8167 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
8168 * config/arm/t-arm: New file.
8169 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
8170 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
8171 config/arm/t-strongarm-elf: New files.
8172 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
8173 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
8174 * config/avr/lib1funcs.S: New file.
8175 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8176 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
8177 * config/c6x/lib1funcs.S: New file.
8178 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8179 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
8180 * config/frv/lib1funcs.S: New file.
8181 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8182 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
8183 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
8184 * config/ia64/__divxf3.asm: Rename to ...
8185 * config/ia64/__divxf3.S: ... this.
8186 Adapt lib1funcs.asm filename.
8187 * config/ia64/_fixtfdi.asm: Rename to ...
8188 * config/ia64/_fixtfdi.S: ... this.
8189 Adapt lib1funcs.asm filename.
8190 * config/ia64/_fixunstfdi.asm: Rename to ...
8191 * config/ia64/_fixunstfdi.S: ... this.
8192 Adapt lib1funcs.asm filename.
8193 * config/ia64/_floatditf.asm: Rename to ...
8194 * config/ia64/_floatditf.S: ... this.
8195 Adapt lib1funcs.asm filename.
8196 * config/ia64/lib1funcs.S: New file.
8197 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
8198 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8199 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
8200 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
8201 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
8202 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
8203 * config/mep/lib1funcs.S: New file.
8204 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8205 * config/mips/mips16.S: New file.
8206 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8207 * config/pa/milli64.S: New file.
8208 * config/pa/t-linux, config/pa/t-linux64: New files.
8209 * config/picochip/lib1funcs.S: New file.
8210 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8211 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
8212 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
8213 * config/sh/t-netbsd: New file.
8214 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
8215 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
8216 * config/sh/t-sh64: New file.
8217 * config/sparc/lb1spc.S: New file.
8218 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
8219 filename.
8220 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
8221 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
8222 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
8223 config/xtensa/lib1funcs.S: New files.
8224 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8225 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
8226 tmake_file.
8227 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
8228 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
8229 (arm*-*-linux*): Likewise.
8230 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
8231 arm*-*-linux-*eabi, add arm/t-linux otherwise.
8232 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
8233 (arm*-*-ecos-elf): Likewise.
8234 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
8235 (arm*-*-rtems*): Likewise.
8236 (arm*-*-elf): Likewise.
8237 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
8238 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
8239 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
8240 (bfin*-uclinux*): Likewise.
8241 (bfin*-linux-uclibc*): Likewise.
8242 (bfin*-rtems*): Likewise.
8243 (bfin*-*): Likewise.
8244 (fido-*-elf): Merge into m68k-*-elf*.
8245 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
8246 (frv-*-*linux*): Add frv/t-frv to tmake_file.
8247 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
8248 (h8300-*-elf*): Likewise.
8249 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
8250 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
8251 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
8252 (i[34567]86-*-mingw*): Likewise.
8253 (x86_64-*-mingw*): Likewise.
8254 (i[34567]86-*-interix3*): Likewise.
8255 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
8256 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
8257 (m68k-*-elf*): Also handle fido-*-elf.
8258 Add m68k/t-floatlib to tmake_file.
8259 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
8260 (m68k-*-linux*): Likewise.
8261 (m68k-*-rtems*): Likewise.
8262 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
8263 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
8264 sh64*-*-*.
8265 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
8266 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
8267 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
8268 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
8269 sh/t-netbsd to tmake_file.
8270 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
8271 (sh-*-rtems*): Add sh/t-sh to tmake_file.
8272 (sh-wrs-vxworks): Likewise.
8273 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
8274 *-leon[3-9]*.
8275 (v850*-*-*): Add v850/t-v850 to tmake_file.
8276 (vax-*-linux*): Add vax/t-linux to tmake_file.
8277 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
8278
5f73c6cc
RO
82792011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8280
8281 * crtstuff.c: New file.
8282 * Makefile.in (CRTSTUFF_CFLAGS): Define.
8283 (CRTSTUFF_T_CFLAGS): Define.
8284 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
8285 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
8286 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
8287 crtstuff.c.
8288 Use $<.
8289 (crtbeginT.o): Use $(objext).
8290 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
8291 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
8292 (gcc-extra-parts): Remove.
8293 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
8294 Set extra_parts.
8295 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
8296 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
8297 Add t-crtstuff-pic to tmake_file.
8298 (*-*-lynxos*): New case.
8299 Set tmake_file, extra_parts.
8300 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
8301 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
8302 *-*-netbsdelf[2-9]*.
8303 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
8304 (*-*-rtems*): Set extra_parts.
8305 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
8306 (*-*-uclinux*): New case.
8307 Set extra_parts.
8308 (*-*-vms*): New case.
8309 Set tmake_file, extra_parts.
8310 (*-*-elf): Set extra_parts.
8311 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
8312 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
8313 vms/t-vms64.
8314 Set extra_parts.
8315 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
8316 Set extra_parts.
8317 (arm*-*-freebsd*): Add t-crtin to tmake_file.
8318 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
8319 (arm-wrs-vxworks): Append to tmake_file.
8320 Set extra_parts.
8321 (arm*-*-uclinux*): Set extra_parts.
8322 (arm*-*-ecos-elf): Likewise.
8323 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
8324 arm*-*-eabi*.
8325 (arm*-*-rtems*): Set extra_parts.
8326 (arm*-*-elf): Likewise.
8327 (avr-*-rtems*): Clear extra_parts.
8328 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
8329 Set extra_parts.
8330 (bfin*-uclinux*): Likewise.
8331 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
8332 (bfin*-rtems*): Append to tmake_file.
8333 Set extra_parts.
8334 (bfin*-*): Likewise.
8335 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
8336 (crisv32-*-elf): ... this.
8337 (crisv32-*-none): ... this.
8338 (cris-*-elf, cris-*-none): New cases.
8339 Add cris/t-elfmulti to tmake_file.
8340 (fr30-*-elf): Append to tmake_file.
8341 Set extra_parts.
8342 (frv-*-elf): Append to tmake_file, add frv/t-frv.
8343 Set extra_parts.
8344 (h8300-*-rtems*): Append to tmake_file.
8345 Set extra_parts.
8346 (h8300-*-elf*): Likewise.
8347 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
8348 Set extra_parts.
8349 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
8350 Set extra_parts.
8351 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
8352 (x86_64-*-elf*): Likewise.
8353 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
8354 (x86_64-*-freebsd*): Likewise.
8355 (x86_64-*-netbsd*): Likewise.
8356 (i[34567]86-*-linux*): Likewise.
8357 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
8358 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
8359 (x86_64-*-linux*): Likewise.
8360 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
8361 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
8362 tmake_file.
8363 Set extra_parts.
8364 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
8365 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
8366 Append to extra_parts, remove crtbegin.o, crtend.o.
8367 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
8368 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
8369 crtend.o, crtbeginS.o, crtendS.o.
8370 (ia64*-*-linux*): Comment extra_parts.
8371 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
8372 Set extra_parts.
8373 (iq2000*-*-elf*): Clear extra_parts.
8374 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
8375 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
8376 (m32r-*-elf*, m32r-*-rtems*): Split off ...
8377 (m32r-*-rtems*): ... this.
8378 Add m32r/t-m32r to tmake_file.
8379 (m68k-*-elf*): Add t-crtin to tmake_file.
8380 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
8381 (mcore-*-elf): Likewise.
8382 (microblaze*-*-*): Set extra_parts.
8383 (mips*-sde-elf*): New case.
8384 Set tmake_file, extra_parts.
8385 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
8386 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
8387 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
8388 tmake_file.
8389 Set extra_parts.
8390 (mipsisa64sr71k-*-elf*): Likewise.
8391 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
8392 (mips-*-elf*, mipsel-*-elf*): Likewise.
8393 (mips64-*-elf*, mips64el-*-elf*): Likewise.
8394 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
8395 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
8396 (mips*-*-rtems*): Likewise.
8397 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
8398 (moxie-*-*): Split into ...
8399 (moxie-*-elf, moxie-*-uclinux*): ... this.
8400 Add to extra_parts, remove crtbegin.o, crtend.o.
8401 (moxie-*-rtems*): New case.
8402 Set tmake_file.
8403 Clear extra_parts.
8404 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
8405 Set extra_parts.
8406 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
8407 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
8408 tmake_file.
8409 Set extra_parts.
8410 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
8411 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
8412 Set extra_parts.
8413 (powerpc-*-eabisim*): Likewise.
8414 (powerpc-*-elf*): Likewise.
8415 (powerpc-*-eabialtivec*): Likewise.
8416 (powerpc-xilinx-eabi*): Likewise.
8417 (powerpc-*-eabi*): Likewise.
8418 (powerpc-*-rtems*): Likewise.
8419 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
8420 tmake_file.
8421 Set extra_parts.
8422 (powerpc-*-lynxos*): Add to tmake_file.
8423 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
8424 rs6000/t-crtstuff, t-crtstuff-pic.
8425 Set extra_parts.
8426 (powerpcle-*-eabisim*): Likewise.
8427 (powerpcle-*-eabi*): Likewise.
8428 (rx-*-elf): Remove extra_parts.
8429 (s390x-ibm-tpf*): Set extra_parts.
8430 (score-*-elf): Set extra_parts.
8431 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
8432 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
8433 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
8434 (sh64l*-*-netbsd*): Split into ...
8435 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
8436 Add t-crtstuff-pic to tmake_file.
8437 Set extra_parts.
8438 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
8439 Set extra_parts.
8440 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
8441 (sparc-*-elf*): Remove t-crtin from tmake_file.
8442 Add to extra_parts, remove crtbegin.o, crtend.o.
8443 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
8444 (sparc64-*-linux*): Likewise.
8445 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
8446 Add to extra_parts, remove crtbegin.o, crtend.o.
8447 (sparc64-*-elf*): Remove t-crtin from tmake_file.
8448 Add to extra_parts, remove crtbegin.o, crtend.o.
8449 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
8450 Add to extra_parts, remove crtbegin.o, crtend.o.
8451 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
8452 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
8453 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
8454 Set extra_parts.
8455 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
8456 Set extra_parts.
8457 (tic6x-*-*): Change to ...
8458 (tic6x-*-elf): ... this.
8459 Set extra_parts.
8460 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
8461 Set extra_parts.
8462 (am33_2.0-*-linux*): Add comment.
8463 (mep*-*-*): Add mep/t-mep to tmake_file.
8464 Set extra_parts.
8465 * config/alpha/t-vms: New file.
8466 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
8467 * config/arm/crti.S, config/arm/crtn.S: New files.
8468 * config/bfin/crti.S, config/bfin/crtn.S: New files.
8469 * config/bfin/crtlibid.S: New file.
8470 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
8471 * config/c6x/crti.S, config/c6x/crtn.S: New files.
8472 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
8473 (crti.o, crtin.o): New rules.
8474 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
8475 * config/c6x/t-uclinux: New file.
8476 * config/cris/t-elfmulti: New file.
8477 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
8478 * config/fr30/crti.S, config/fr30/crtn.S: New files.
8479 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
8480 * config/frv/t-frv: New file.
8481 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
8482 * config/h8300/crti.S, config/h8300/crtn.S: New files.
8483 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
8484 New files.
8485 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
8486 refer to cygming-crtbegin.c, cygming-crtend.c.
8487 Use $<.
8488 * config/i386/t-nto: New file.
8489 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
8490 * config/ia64/crti.S, config/ia64/crtn.S: New files.
8491 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
8492 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
8493 Use .S extension.
8494 Use $<.
8495 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
8496 (crtinitS.o): New rule.
8497 * config/ia64/vms-crtinit.S: New file.
8498 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
8499 * config/m32r/initfini.c: New file.
8500 * config/m32r/t-linux, config/m32r/t-m32r: New files.
8501 * config/m68k/crti.S, config/m68k/crtn.S: New files.
8502 * config/mcore/crti.S, config/mcore/crtn.S: New files.
8503 * config/mep/t-mep: New file.
8504 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
8505 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
8506 * config/mips/crti.S, config/mips/crtn.S: New files.
8507 * config/mips/t-crtstuff: New file.
8508 * config/mmix/crti.S, config/mmix/crtn.S: New files.
8509 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
8510 (CUSTOM_CRTIN): Set.
8511 ($(T)crti.o, $(T)crtn.o): Remove $(T),
8512 dependencies.
8513 Use $(srcdir) to refer to crti.S, crtn.S.
8514 Use .S extension, $<.
8515 * config/moxie/crti.asm: Rename to ...
8516 * config/moxie/crti.S: ... this.
8517 * config/moxie/crtn.asm: Rename to ...
8518 * config/moxie/crtn.S: ... this.
8519 * config/moxie/t-moxie: Remove.
8520 * config/pa/stublib.c: New file.
8521 * config/pa/t-stublib, config/pa/t-stublib64: New files.
8522 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
8523 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
8524 * config/rs6000/t-crtstuff: New file.
8525 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
8526 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
8527 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
8528 Make output file explicit.
8529 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
8530 Make output file explicit.
8531 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
8532 Make output file explicit.
8533 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
8534 Make output file explicit.
8535 * config/score/crti.S, config/score/crtn.S: New files.
8536 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
8537 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
8538 files.
8539 * config/sh/t-sh, config/sh/t-superh: New files.
8540 * config/sparc/t-linux64: New file.
8541 * config/spu/cache.S, config/spu/cachemgr.c: New files.
8542 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
8543 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
8544 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
8545 * config/t-crtin: Remove.
8546 * config/t-crtstuff-pic: New file.
8547 * config/t-sol2 (CUSTOM_CRTIN): Set.
8548 (crti.o, crtn.o): New rules.
8549 * config/vms/t-vms: New file.
8550 * config/vms/vms-ucrt0.c: New file.
8551 * config/xtensa/t-elf: New file.
8552
b040f2be
RO
85532011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8554
8555 * Makefile.in (SHLIB_NM_FLAGS): Set.
8556 * mkmap-flat.awk, mkmap-symver.awk: New files.
8557 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
8558 exceptions.
8559 * configure: Regenerate.
8560 * config/libgcc-glibc.ver: New file.
8561 * config/libgcc-libsystem.ver: New file.
8562 * config/t-libunwind (SHLIB_LC): Set.
8563 * config/t-linux: New file.
8564 * config/t-slibgcc (INSTALL_SHLIB): New.
8565 (SHLIB_INSTALL): Use it.
8566 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
8567 to mkmap-symver.awk.
8568 (SHLIB_MAPFILES): Don't append, adapt pathname.
8569 (SHLIB_VERPFX): Set.
8570 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
8571 to mkmap-symver.awk.
8572 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
8573 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
8574 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
8575 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
8576 to mkmap-flat.awk.
8577 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
8578 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
8579 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
8580 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
8581 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
8582 * config/i386/libgcc-darwin.10.4.ver,
8583 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
8584 New files.
8585 * config/i386/t-darwin: Remove.
8586 * config/i386/t-darwin64: Likewise.
8587 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
8588 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
8589 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
8590 * config/i386/t-linux: New file.
8591 * config/i386/t-mingw32: New file.
8592 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
8593 * config/ia64/t-glibc: Rename to ...
8594 * config/ia64/t-linux: ... this.
8595 (SHLIB_MAPFILES): Set.
8596 * config/ia64/t-glibc-libunwind: Rename to ...
8597 * config/ia64/t-linux-libunwind: ... this.
8598 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
8599 * config/ia64/t-slibgcc-hpux: New file.
8600 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
8601 * config/m68k/t-slibgcc-elf-ver: New file.
8602 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
8603 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
8604 to mkmap-flat.awk.
8605 * config/pa/t-slibgcc-hpux: New file.
8606 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
8607 files.
8608 * config/rs6000/libgcc-darwin.10.4.ver,
8609 config/rs6000/libgcc-darwin.10.5.ver: New files.
8610 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
8611 config/rs6000/libgcc-glibc.ver.
8612 * config/rs6000/libgcc-ppc64.ver: Rename to
8613 config/rs6000/libgcc-ibm-ldouble.ver.
8614 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
8615 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
8616 * config/rs6000/t-ldbl128: Rename to ...
8617 * config/rs6000/t-linux: ... this.
8618 (SHLIB_MAPFILES): Adapt filename.
8619 * config/rs6000/t-slibgcc-aix: New file.
8620 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
8621 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
8622 libgcc-excl.ver, libgcc-glibc.ver.
8623 (SHLIB_LINK, SHLIB_INSTALL): Remove.
8624 * config/sparc/libgcc-glibc.ver: New file.
8625 * config/sparc/t-linux: New file.
8626 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
8627 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
8628 t-slibgcc-elf-ver to tmake_file.
8629 Add t-slibgcc-nolc-override to tmake_file for posix threads on
8630 *-*-freebsd[34].
8631 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
8632 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
8633 t-slibgcc-elf-ver, t-linux to tmake_file.
8634 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
8635 tmake_file.
8636 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
8637 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
8638 (alpha*-dec-*vms*): Likewise.
8639 (arm*-*-freebsd*): Append to tmake_file.
8640 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
8641 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
8642 arm*-*-linux-*eabi.
8643 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
8644 tmake_file for arm*-*-symbianelf*.
8645 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
8646 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
8647 cris/t-linux.
8648 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
8649 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
8650 pa/t-slibgcc-dwarf-ver to tmake_file.
8651 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
8652 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
8653 (hppa*64*-*-hpux11*): Likewise.
8654 (hppa[12]*-*-hpux11*): Likewise.
8655 (x86_64-*-darwin*): Don't override tmake_file, but only keep
8656 i386/t-crtpc, i386/t-crtfm.
8657 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
8658 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
8659 to tmake_file.
8660 Add i386/t-cygwin to tmake_file.
8661 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
8662 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
8663 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
8664 to tmake_file.
8665 Add i386/t-mingw32 to tmake_file.
8666 (x86_64-*-mingw*): Likewise.
8667 (ia64*-*-freebsd*): Append to tmake_file.
8668 (ia64*-*-linux*): Append to tmake_file.
8669 Replace ia64/t-glibc by ia64/t-linux.
8670 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
8671 system libunwind.
8672 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
8673 t-slibgcc-hpux to tmake_file.
8674 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
8675 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
8676 (m32rle-*-linux*): Likewise.
8677 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
8678 sjlj exceptions.
8679 (microblaze*-linux*): New case.
8680 Append to tmake_file, add t-slibgcc-nolc-override.
8681 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
8682 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
8683 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
8684 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
8685 rs6000/t-slibgcc-aix to tmake_file.
8686 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8687 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8688 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
8689 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
8690 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
8691 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
8692 sh*-*-linux*.
8693 (sparc-*-linux*): Append to tmake_file for *-leon*.
8694 Add sparc/t-linux to tmake_file for non-Leon targets.
8695 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
8696 (tic6x-*-uclinux): New case.
8697 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
8698 (tic6x-*-*): Add c6x/t-elf to tmake_file.
8699 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
8700 (am33_2.0-*-linux*): Append to tmake_file.
8701 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
8702 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
8703 x86_64-*-kfreebsd*-gnu.
8704 Add i386/t-linux to tmake_file.
8705
18b4bd7b
ILT
87062011-10-28 Ian Lance Taylor <iant@google.com>
8707
8708 * config/i386/morestack.S: Correct CFI information to do proper
8709 returns throughout function. In 32-bit mode, save %ebx so that it
8710 is restored on unwind.
8711
5b2d9d90
BS
87122011-10-25 Bernd Schmidt <bernds@codesourcery.com>
8713
8714 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
8715 case where B3 isn't the return register.
8716
0d53e346
BS
8717 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
8718 logic for doubleword pops.
8719
cbffbd59
AT
87202011-10-25 Andreas Tobler <andreast@fgznet.ch>
8721
8722 * config/rs6000/t-freebsd: Add wildcard.
8723
56dc349e
PB
87242011-10-21 Paul Brook <paul@codesourcery.com>
8725
8726 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
8727
1e06b07d
UB
87282011-10-16 Uros Bizjak <ubizjak@gmail.com>
8729 Eric Botcazou <ebotcazou@adacore.com>
8730
8731 PR target/50737
8732 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
8733 fs->signal_frame to 1.
8734
b5204884
ILT
87352011-10-07 Ian Lance Taylor <iant@google.com>
8736
8737 * generic-morestack-thread.c: #include <errno.h>.
8738
91a639a1
ILT
87392011-10-07 Ian Lance Taylor <iant@google.com>
8740
8741 PR target/46093
8742 * generic-morestack.c (__generic_morestack): Make sure the segment
8743 is large enough for both the stack frame and the copied
8744 parameters.
8745
cc49116d
RO
87462011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8747
8748 PR bootstrap/49804
8749 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
8750 extra_parts.
8751
2996d8c3
NC
87522011-09-28 Nick Clifton <nickc@redhat.com>
8753
8754 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
8755 64-bit doubles are not enabled.
8756 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
8757 and floatunsisf functions.
8758
1e874273 87592011-09-13 Paul Brook <paul@codesourcery.com>
2996d8c3 8760
1e874273
PB
8761 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
8762 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
8763 * unwind-arm-common.inc: New file.
8764 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
8765 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
8766 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
8767 * config/c6x/libunwind.S: New file.
8768 * config/c6x/pr-support.c: New file.
8769 * config/c6x/unwind-c6x.c: New file.
8770 * config/c6x/unwind-c6x.h: New file.
8771 * config/c6x/t-c6x-elf: New file.
8772
f70c879a
UB
87732011-08-23 Uros Bizjak <ubizjak@gmail.com>
8774
8775 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
8776 (ASM_DIVZERO): Ditto.
8777 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
8778
c55b374b
RS
87792011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
8780
8781 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
8782
1e138510
RS
87832011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
8784
8785 PR target/50090
8786 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
8787 instead of an assembly one.
8788
1563503d
PB
87892011-08-12 Paolo Bonzini <bonzini@gnu.org>
8790
8791 PR bootstrap/50047
8792 * Makefile.in (install-unwind_h): Create
8793 $(gcc_objdir)/include/unwind.h atomically.
8794
3627ac1a
RO
87952011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8796
8797 * Makefile.in (install-unwind_h): Remove destination file first.
8798
c6412d86
RO
87992011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8800
8801 * sync.c: New file.
8802 * config/mips/t-mips16: New file.
8803 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
8804 (mips*-*-linux*): Likewise.
8805 (mips*-sde-elf*): Likewise.
8806 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
8807 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
8808 Add mips/t-mips16 to tmake_file.
8809 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
8810 (mips-*-elf*): Likewise.
8811 (mips64-*-elf*): Likewise.
8812 (mips64orion-*-elf*): Likewise.
8813 (mips*-*-rtems*): Likewise.
8814 (mipstx39-*-elf*): Likewise.
8815 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
8816 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
8817 LIBGCC_SYNC_CFLAGS.
8818 Use $(srcdir) to refer to sync.c.
8819 Use $<.
8820 ($(libgcc-sync-funcs-o)): Likewise.
8821 ($(libgcc-sync-size-funcs-s-o)): Likewise.
8822 ($(libgcc-sync-funcs-s-o)): Likewise.
8823
3cb6e5bd
AS
88242011-08-09 Andreas Schwab <schwab@linux-m68k.org>
8825
8826 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
8827 t-libunwind.
8828
cca2207a
L
88292011-08-08 H.J. Lu <hongjiu.lu@intel.com>
8830
8831 PR other/48007
8832 * config/i386/value-unwind.h: New.
8833
ed39fbad
RS
88342011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
8835
8836 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
8837 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
8838 Add to tmake_file rather than overriding it.
8839
aca0b0b3
RO
88402011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8841
8842 * config/t-softfp: Remove.
8843 * soft-fp: Moved from ../gcc/config.
8844 * soft-fp/README: Remove t-softfp reference.
8845 * soft-fp/t-softfp: Move to config/t-softfp.
8846 (softfp_machine_header): Remove.
8847 (softfp_file_list): Remove config subdir.
8848 (soft-fp-objects): New variable.
8849 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
8850 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
8851 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
8852 * config/t-softfp-excl: New file.
8853 * config/t-softfp-sfdf: New file.
8854 * config/t-softfp-tf: New file.
8855 * config/no-sfp-machine.h: New file.
8856 * config/arm/sfp-machine.h: New file.
8857 * config/arm/t-softfp: New file.
8858 * config/c6x/sfp-machine.h: New file.
8859 * config/i386/32/t-fprules-softfp: Rename to ...
8860 * config/i386/32/t-softfp: ... this.
8861 (tifunctions, LIB2ADD): Remove.
8862 (softfp_int_modes): Override.
8863 * config/i386/64/t-softfp-compat (tf-functions): Remove config
8864 subdir.
8865 * config/i386/64/eqtf2.c: Likewise.
8866 * config/i386/64/getf2.c: Likewise.
8867 * config/i386/64/letf2.c: Likewise.
8868 * config/ia64/sft-machine.h: New file.
8869 * config/ia64/t-fprules-softfp: Rename to ...
8870 * config/ia64/t-softfp: ... this.
8871 * config/lm32/sfp-machine.h: New file.
8872 * config/moxie/t-moxie-softfp: Remove.
8873 * config/rs6000/ibm-ldouble-format: New file.
8874 * config/rs6000/ibm-ldouble.c: New file.
8875 * config/rs6000/libgcc-ppc-glibc.ver: New file
8876 * config/rs6000/libgcc-ppc64.ver: New file
8877 * config/rs6000/sfp-machine.h: New file.
8878 * config/rs6000/t-freebsd: New file.
8879 * config/rs6000/t-ibm-ldouble: New file.
8880 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
8881 libgcc-ppc-glibc.ver.
8882 * config/rs6000/t-linux64: New file.
8883 * config/rs6000/t-ppccomm (LIB2ADD): Add
8884 $(srcdir)/config/rs6000/ibm-ldouble.c.
8885 * config/rs6000/t-ppccomm-ldbl: New file.
8886 * config/score/sfp-machine.h: New file.
8887 * config.host (sfp_machine_header): Explain.
8888 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
8889 t-softfp to tmake_file.
8890 (arm*-*-uclinux*): Likewise.
8891 (arm*-*-ecos-elf): Likewise.
8892 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
8893 (arm*-*-rtems*): Likewise.
8894 (arm*-*-elf): Likewise.
8895 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
8896 in tmake_file.
8897 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
8898 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
8899 (lm32-*-uclinux*): Likewise.
8900 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
8901 t-softfp-excl, t-softfp.
8902 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
8903 (powerpc64-*-darwin*): Likewise.
8904 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
8905 to tmake_file.
8906 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
8907 tmake_file.
8908 (powerpc-*-eabisim*): Likewise.
8909 (powerpc-*-elf*): Likewise.
8910 (powerpc-*-eabialtivec*): Likewise.
8911 (powerpc-xilinx-eabi*): Likewise.
8912 (powerpc-*-rtems*): Likewise.
8913 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
8914 t-softfp-excl, t-softfp to tmake_file.
8915 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
8916 rs6000/t-ppccomm-ldbl to tmake_file.
8917 (powerpcle-*-elf*): Likewise.
8918 (powerpcle-*-eabisim*): Likewise.
8919 (powerpcle-*-eabi*): Likewise.
8920 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
8921 rs6000/t-ibm-ldouble to tmake_file.
8922 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8923 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8924 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
8925 (tic6x-*-*): Likewise.
8926 (i[34567]86-*-darwin*, x86_64-*-darwin*,
8927 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
8928 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
8929 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
8930 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
8931 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
8932 t-softfp to tmake_file.
8933 * configure.ac (sfp_machine_header): Provide default if unset.
8934 Substitute.
8935 Link sfp-machine.h to config/$sfp_machine_header.
8936 * configure: Regenerate.
8937
569dc494
RO
89382011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8939
8940 * Makefile.in (double_type_size, long_double_type_size): Set.
8941 Remove $(fpbit-in-libgcc) support.
8942 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
8943 (fpbit-src): New variable.
8944 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
8945 Compile with -DFLOAT $(FPBIT_CFLAGS).
8946 Use $<.
8947 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
8948 Compile with $(FPBIT_CFLAGS).
8949 Use $<.
8950 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
8951 Compile with -DFLOAT $(TPBIT_CFLAGS).
8952 Use $<.
8953 * configure.ac (double_type_size, long_double_type_size):
8954 Determine and substitute.
8955 * configure: Regenerate.
8956 * fp-bit.c, fp-bit.h: New files.
8957 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
8958 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
8959 * config/mips/t-mips: New file.
8960 * config/mips/t-sdemtk: New file.
8961 * config/rs6000/ppc64-fp.c: New file.
8962 * config/rs6000/t-darwin (LIB2ADD): Add
8963 $(srcdir)/config/rs6000/ppc64-fp.c.
8964 * config/rs6000/t-ppc64-fp: New file.
8965 * config/rx/rx-lib.h: New file.
8966 * config/rx/t-rx (FPBIT): Set to true.
8967 ($(gcc_objdir)/fp-bit.c): Remove.
8968 (DPBIT): Set to true only with -m64bit-doubles.
8969 ($(gcc_objdir)/dp-bit.c): Remove.
8970 * config/sparc/t-softfp: Remove.
8971 * config/spu/t-elf: New file.
8972 * config/t-fdpbit, config/t-fpbit: New files.
8973 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
8974 (mips*-*-*): Likewise.
8975 (arm-wrs-vxworks): Likewise.
8976 (arm*-*-freebsd*): Likewise.
8977 (avr-*-rtems*): Add t-fpbit to tmake_file.
8978 (avr-*-*): Likewise.
8979 (bfin*-elf*): Add t-fdpbit to tmake_file.
8980 (bfin*-uclinux*): Likewise.
8981 (bfin*-linux-uclibc*): Likewise.
8982 (bfin*-rtems*): New case.
8983 Add t-fdpbit to tmake_file.
8984 (bfin*-*): Add t-fdpbit to tmake_file.
8985 (crisv32-*-elf): Likewise.
8986 (cris-*-linux*): Likewise.
8987 (fr30-*-elf): Likewise.
8988 (frv-*-elf, frv-*-*linux*): Likewise.
8989 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
8990 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
8991 (m32r-*-elf*): Likewise.
8992 (m32rle-*-elf*): Likewise.
8993 (m32r-*-linux*): Likewise.
8994 (m32rle-*-linux*): Likewise.
8995 (mcore-*-elf): Add t-fdpbit to tmake_file.
8996 (microblaze*-*-*): Likewise.
8997 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
8998 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
8999 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
9000 Fix typo.
9001 Add mips/t-tpbit to tmake-file.
9002 (mips*-*-linux*): Fix typo.
9003 (mips*-sde-elf*): New case
9004 Add mips/t-sdemtk unless using newlib.
9005 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
9006 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
9007 (mn10300-*-*): Likewise.
9008 (pdp11-*-*): Likewise.
9009 (picochip-*-*): Add t-fpbit to tmake_file.
9010 (powerpc-*-eabisimaltivec*): Likewise.
9011 (powerpc-*-eabisim*): Likewise.
9012 (powerpc-*-elf*): Likewise.
9013 (powerpc-*-eabialtivec*): Likewise.
9014 (powerpc-xilinx-eabi*): New case.
9015 Add t-fdpbit to tmake_file.
9016 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
9017 (powerpc-*-rtems*): Likewise.
9018 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
9019 tmake_file.
9020 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
9021 tmake_file.
9022 (powerpc-*-lynxos*): Likewise.
9023 (powerpcle-*-elf*): Likewise.
9024 (powerpcle-*-eabisim*): Likewise.
9025 (powerpcle-*-eabi*): Likewise.
9026 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
9027 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
9028 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
9029 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
9030 (rx-*-elf): Add t-fdpbit to tmake_file.
9031 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
9032 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
9033 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
9034 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
9035 sh*-*-netbsd*.
9036 (sh-*-rtems*): Add t-fdpbit to tmake_file.
9037 (sh-wrs-vxworks): Likewise.
9038 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
9039 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
9040 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
9041 (sparc64-*-rtems*): ... new case.
9042 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
9043 (spu-*-elf*): Likewise.
9044 Add spu/t-elf to tmake_file.
9045 (v850*-*-*): Add t-fdpbit to tmake_file.
9046 (xstormy16-*-elf): Likewise.
9047 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
9048 (mep*-*-*): Likewise.
9049
201cdb74
RO
90502011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9051
9052 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
9053 variables.
9054 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
9055 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
9056 (install-unwind_h): New target.
9057 (all): Depend on it.
9058 * config.host (unwind_header): New variable.
9059 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
9060 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
9061 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
9062 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
9063 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
9064 Set unwind_header.
9065 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
9066 Set unwind_header.
9067 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
9068 arm*-*-eabi*.
9069 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
9070 Set unwind_header.
9071 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
9072 (ia64*-*-freebsd*): Likewise.
9073 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
9074 tmake_file.
9075 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
9076 $with_system_libunwind.
9077 (ia64*-*-hpux*): Set tmake_file.
9078 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
9079 (picochip-*-*): Set tmake_file.
9080 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
9081 md_unwind_header.
9082 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
9083 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
9084 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
9085 (xtensa*-*-elf*): Set tmake_file.
9086 (xtensa*-*-linux*): Likewise.
9087 * configure.ac: Include ../config/unwind_ipinfo.m4.
9088 Call GCC_CHECK_UNWIND_GETIPINFO.
9089 Link unwind.h to $unwind_header.
9090 * configure: Regenerate.
9091 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
9092 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
9093 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
9094 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
9095 * config/unwind-dw2-fde-darwin.c: New file.
9096 * config/arm/libunwind.S, config/arm/pr-support.c,
9097 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
9098 config/arm/unwind-arm.h,: New files.
9099 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
9100 config/ia64/t-eh-ia64, config/ia64/t-glibc,
9101 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
9102 config/ia64/t-vms, config/ia64/unwind-ia64.c,
9103 config/ia64/unwind-ia64.h: New files.
9104 * config/picochip/t-picochip: New file.
9105 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
9106 files.
9107 * config/rs6000/t-darwin (LIB2ADDEH): Set.
9108 * config/s390/t-tpf (LIB2ADDEH): Remove.
9109 * config/t-darwin (LIB2ADDEH): Set.
9110 * config/t-eh-dw2-dip: New file.
9111 * config/t-libunwind, config/t-libunwind-elf: New files.
9112 * config/t-sol2 (LIB2ADDEH): Remove.
9113 * config/xtensa/t-xtensa: New file.
9114
40f2f11f
L
91152011-08-02 H.J. Lu <hongjiu.lu@intel.com>
9116
9117 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
9118 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
9119 long long to check rt_sigreturn syscall.
9120
bd15e32c
AM
91212011-08-02 Alan Modra <amodra@gmail.com>
9122
9123 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
9124 Restore for indirect call bcrtl from correct stack slot, and only
9125 if cfa+40 isn't valid.
9126
655b30bf
JB
91272011-08-01 Julian Brown <julian@codesourcery.com>
9128
9129 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
9130 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
9131 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
9132
247eb06f
JB
91332011-08-01 Julian Brown <julian@codesourcery.com>
9134
9135 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
9136 (libgcc-std.ver.in): Use above.
9137 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
9138 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
9139 throughout file.
9140 * config/t-fixedpoint-gnu-prefix: New file.
9141 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
9142 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
9143 instead of __PFX__.
9144
02a8fe00
L
91452011-07-28 H.J. Lu <hongjiu.lu@intel.com>
9146
9147 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
9148 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
9149 for x86-64. Properly check __x86_64__ and __LP64__.
9150
5fce9126
L
91512010-07-28 H.J. Lu <hongjiu.lu@intel.com>
9152
9153 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
9154 version.
9155 (_FP_WS_TYPE): Likewise.
9156 (_FP_I_TYPE): Likewise.
9157
2374a88a
AM
91582011-07-28 Alan Modra <amodra@gmail.com>
9159
9160 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
9161 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
9162 in a plt call stub. Do restore r2 if stopped on bctrl.
9163
e44dbbe1
RO
91642011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9165
9166 * config.host (i[3456x]86-*-netware*): Remove.
9167 * config/i386/netware-crt0.c, config/i386/t-nwld,
9168 config/i386/t-slibgcc-nwld: Remove.
9169
bcead286
BS
91702011-07-15 Bernd Schmidt <bernds@codesourcery.com>
9171
9172 * config.host: Handle tic6x-*-*.
9173 * config/c6x/c6x-abi.h: New file.
9174
b3fe1584
RO
91752011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9176
9177 * config/i386/crtprec.c: New file.
9178 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
9179 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
9180 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
9181 (x86_64-*-darwin*): Likewise.
9182 (i[34567]86-*-solaris2*: Likewise.
9183
35d8090d
RO
91842011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9185
9186 * config/alpha/crtfastmath.c: New file.
9187 * config/i386/crtfastmath.c: New file.
9188 * config/ia64/crtfastmath.c: New file.
9189 * config/mips/crtfastmath.c: New file.
9190 * config/sparc/crtfastmath.c: New file.
9191
9192 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
9193 crtfastmath.c.
9194 Add -frandom-seed=gcc-crtfastmath.
9195 * config/alpha/t-crtfm: Remove.
9196 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
9197 * config/ia64/t-ia64 (crtfastmath.o): Remove.
9198
9199 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
9200 (alpha*-dec-osf5.1*): Likewise.
9201 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
9202 Add crtfastmath.o to extra_parts.
9203 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
9204 Add crtfastmath.o to extra_parts.
9205 (x86_64-*-darwin*): Likewise.
9206 (x86_64-*-mingw*): Likewise.
9207 (ia64*-*-elf*): Add t-crtfm to tmake_file.
9208 (ia64*-*-freebsd*): Likewise.
9209 (ia64*-*-linux*): Likewise.
9210 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
9211 Add crtfastmath.o to extra_parts.
9212
e141542e
RO
92132011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9214
9215 * config/darwin-crt3.o: New file.
9216 * config/rs6000/darwin-crt2.c: New file.
9217 * config/t-darwin: New file.
9218 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
9219 (crt2.o): New rule.
9220 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
9221 (powerpc-*-darwin*): Add crt2.o to extra_parts.
9222 (powerpc64-*-darwin*): Likewise.
9223
2d1efe2d
RO
92242011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9225
9226 * config/i386/netware-crt0.c: New file.
9227 * config/i386/t-nwld: Rename to ...
9228 * config/i386/t-slibgcc-nwld: ... this.
9229 * config/i386/t-nwld: New file.
9230 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
9231 tmake_file.
9232 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
9233 extra_parts.
9234
4a8bb046
RO
92352011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9236
9237 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
9238 i386/t-crtstuff.
9239 * configure: Regenerate.
9240
2d8d5935
RO
92412011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9242
9243 * dfp-bit.c, dfp-bit.h: New files.
9244 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
9245 variables.
9246 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
9247 ($(d64pbit-o)): Likewise.
9248 ($(d128pbit-o)): Likewise.
9249 * config/t-dfprules: New file.
9250 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
9251 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
9252 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
9253 (x86_64-*-linux*): Likewise.
9254 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
9255 (i[34567]86-*-cygwin*): Likewise.
9256 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
9257 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
9258
2c50b2c3
RO
92592011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9260
9261 * Makfile.in (LIBGCOV): New variable.
9262 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
9263 * libgcov.c: New file.
9264
a039d7c2
RO
92652011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9266
9267 * fixed-bit.c, fixed-bit.h: New files.
9268 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
9269 refer to fixed-bit.c.
9270
1e4b2746
JM
92712011-07-07 Joseph Myers <joseph@codesourcery.com>
9272
9273 * config.host (*local*): Remove.
9274
fbdd5d87
RO
92752011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9276
9277 PR target/39150
9278 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
9279 like i?86-*-solaris2.1[0-9]*.
9280 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
9281 * configure.ac (i?86-*-solaris2*): Likewise.
9282 * configure: Regenerate.
9283
9e7714f4
TS
92842011-07-06 Thomas Schwinge <thomas@schwinge.name>
9285
9286 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
9287 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
9288 md_unwind_header by splitting out of...
9289 (i[34567]86-*-linux*): ... this.
9290 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
9291 Remove md_unwind_header by splitting out of...
9292 (x86_64-*-linux*): ... this.
9293
6dab9931
GJL
92942011-07-04 Georg-Johann Lay <avr@gjlay.de>
9295
9296 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
9297
4be46d19
NC
92982011-06-28 Nick Clifton <nickc@redhat.com>
9299
9300 * config.host: Recognize all V850 variants.
9301
1da9434b
UB
93022011-06-22 Uros Bizjak <ubizjak@gmail.com>
9303
9304 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
9305
e4d48a4d
RO
93062011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9307
9308 * shared-object.mk (c_flags-$o): Save c_flags.
9309 ($(base)$(objext)): Use it.
9310 ($(base)_s$(objext)): Likewise.
9311
3801c801
BS
93122011-06-21 Bernd Schmidt <bernds@codesourcery.com>
9313
9314 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
9315 * libgcc-std.ver.in (GCC_4.7.0): New section.
9316
0ad8bb3b 93172011-06-16 Georg-Johann Lay <avr@gjlay.de>
1da9434b 9318
0ad8bb3b
GJL
9319 PR target/49313
9320 PR target/29524
9321 * config/avr/t-avr: Fix line endings.
9322 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
9323 _parityXX2.
9324
ea963999
OH
93252011-06-14 Olivier Hainque <hainque@adacore.com>
9326 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9327
9328 * config/mips/irix6-unwind.h: New file.
9329 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
9330
b11b0904
EB
93312011-06-10 Eric Botcazou <ebotcazou@adacore.com>
9332
9333 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
9334 (sparc64_fallback_frame_state): Use it.
9335 (sparc64_frob_update_context): Further adjust context.
9336 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
9337 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
9338 * config/sparc/sol2-cn.S: Likewise.
9339
10e48e39
RO
93402011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9341
9342 * enable-execute-stack-empty.c: New file.
9343 * enable-execute-stack-mprotect.c: New file.
9344 * config/i386/enable-execute-stack-mingw32.c: New file.
9345 * config.host (enable_execute_stack): New variable.
9346 Select appropriate variants.
9347 * configure.ac: Link enable-execute-stack.c to
9348 $enable_execute_stack.
9349 * configure: Regenerate.
9350 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
9351 (lib2funcs): Remove _enable_execute_stack.
9352
10c4cabc
DM
93532011-06-09 David S. Miller <davem@davemloft.net>
9354 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9355
9356 * config.host (sparc-*-linux*): Correct md_unwind_header
9357 filename.
9358 (s390x-ibm-tpf*): Fix typo.
9359
aa4203e7
RO
93602011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9361
9362 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
9363 Add crtfastmath.o to extra_parts.
9364 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
9365 mips/t-crtfm.
9366 * config/mips/t-crtfm: Remove.
9367
0defd786
JDA
93682011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
9369
9370 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
9371
82f247af
KK
93722011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
9373
9374 * config.host (sh*-*-linux*): Fix typo.
9375
58cd1d70
RO
93762011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9377
9378 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
9379 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
9380 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
9381 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
9382 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
9383 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
9384 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
9385 Wrap in !__MINGW64__.
9386 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
9387 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
9388 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
9389 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
9390 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
9391 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
9392 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
9393 Wrap in !__LP64__.
9394 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
9395 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
9396 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
9397 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
9398 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
9399 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
9400 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
9401 * config/no-unwind.h: New file.
9402 * config.host (md_unwind_header): Document.
9403 Define.
9404 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
9405 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
9406 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
9407 hppa[12]*-*-hpux11*): Set md_unwind_header.
9408 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
9409 Set md_unwind_header.
9410 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
9411 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
9412 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
9413 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
9414 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
9415 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
9416 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
9417 md_unwind_header.
9418 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
9419 * configure: Regenerate.
9420
737346fa
RO
94212011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9422
9423 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
9424 Set tmake_file, extra_parts.
9425 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
9426 Remove O32 support.
9427 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
9428 Remove O32 support.
9429 * config/mips/t-irix6: New file.
9430 * config/mips/t-slibgcc-irix: New file.
9431
c192cee6
RO
94322011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9433
9434 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
9435 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
9436
ee33b5f0
RO
94372011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9438
9439 * configure.ac (target_thread_file): Determine thread model.
9440 * configure: Regenerate.
9441 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
9442 * config/alpha/t-alpha: New file.
9443 * config/alpha/t-crtfm: Use $<.
9444 * config/alpha/t-ieee: New file.
9445 * config/alpha/t-osf-pthread: New file.
9446 * config/alpha/t-slibgcc-osf: New file.
9447 * config/alpha/libgcc-osf5.ver: New file.
9448
0699e415
RO
94492011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9450
9451 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
9452 tmake_file.
9453 Add crtfastmath.o to extra_parts.
9454
a3fab9c2
RO
94552011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9456
9457 * config/gmon-sol2.c: Reindent.
9458 Cleanup comments.
9459 Remove, correct casts.
9460 Use STDERR_FILENO, NULL.
9461 (BASEADDRESS): Remove.
9462 (minbrk): Remove.
9463 (errno, sbrk): Remove declarations.
9464 (monstartup) [hp300]: Remove.
9465 (mcount): Remove.
9466
ca24c5ad
RO
94672011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9468
9469 * Makefile.in (cpu_type): Define.
9470 * config.host (i[34567]86-*-rtems*): Handle it.
9471 (i[34567]86-*-solaris2*): Move body ...
9472 (*-*-solaris2*): ... here.
9473 New case, generalize.
9474 (sparc-*-elf*): Handle it.
9475 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
9476 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
9477 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
9478 Fold into ...
9479 (sparc*-*-solaris2*): ... this.
9480 New case.
9481 (sparc64-*-elf*): Handle it.
9482 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
9483 Merge ../gcc/config/i386/gmon-sol2.c.
9484 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
9485 Use C comments.
9486 Merge ../gcc/config/i386/sol2-gc1.asm.
9487 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
9488 Use C comments.
9489 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
9490 Use C comments.
9491 * config/i386/t-crtfm (crtfastmath.o): Use $<.
9492 * config/i386/t-crtstuff: New file.
9493 * config/i386/t-softfp: New file.
9494 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
9495 $(T)crti.o, $(T)crtn.o): Remove.
9496 (gcrt1.o): New rule.
9497 (TARGET_LIBGCC2_CFLAGS): Remove.
9498 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
9499 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
9500 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
9501 * config/sparc/t-sol2: New file.
9502 * config/sparc/t-crtfm: Move to ...
9503 * config/t-crtfm: ... this.
9504 Use $(cpu_type), $<.
9505 * config/t-crtin: New file.
9506 * config/sparc/t-softfp: New file.
9507 * config/sparc/t-softmul: New file.
9508 * config/t-rtems: New file.
9509 * config/t-slibgcc: New file.
9510 * config/t-slibgcc-elf-ver: New file.
9511 * config/t-slibgcc-gld: New file.
9512 * config/t-slibgcc-sld: New file.
9513 * config/t-sol2: New file.
9514 * configure.ac: Include ../config/lib-ld.m4.
9515 Call AC_LIB_PROG_LD_GNU.
9516 Substitute cpu_type.
9517 * configure: Regenerate.
9518
ad5f3d7b
BS
95192011-05-27 Bernd Schmidt <bernds@codesourcery.com>
9520
9521 PR bootstrap/49173
9522 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
9523 libgcc-std.ver in the build directory.
9524 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
9525 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
9526
cdbf4541
BS
95272011-05-25 Bernd Schmidt <bernds@codesourcery.com>
9528
9529 * libgcc-std.ver.in: New file.
9530 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
9531 variables.
9532 (libgcc-std.ver): New rule.
9533 * config/t-gnu-prefix: New file.
9534
c8028650
RO
95352011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9536
9537 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
9538
4a68b4ca
JM
95392011-05-10 Joseph Myers <joseph@codesourcery.com>
9540
9541 * config/i386/darwin-lib.h: New file.
9542
80cf2e08
JM
95432011-05-10 Joseph Myers <joseph@codesourcery.com>
9544
9545 * config/arm/symbian-lib.h: New.
9546
a3330c9d
CD
95472011-05-04 Chris Demetriou <cgd@google.com>
9548
9549 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
9550 (__x86.get_pc_thunk.bx): ...this.
9551 (__morestack): Adjust for rename, remove undef of __i686.
9552
6ace0756
CD
95532011-05-03 Chris Demetriou <cgd@google.com>
9554
9555 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
9556
ebb9f8b0
JM
95572011-03-22 Joseph Myers <joseph@codesourcery.com>
9558
9559 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
9560 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
9561 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
9562 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
9563 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
9564 Remove cases.
9565
9cfa1499
AT
95662011-03-14 Andreas Tobler <andreast@fgznet.ch>
9567
9568 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
9569 Adjust copyright year.
9570
457186f6
ILT
95712011-03-07 Ian Lance Taylor <iant@google.com>
9572
9573 * generic-morestack.c (__splitstack_find): Adjust returned stack
9574 pointer to include all registers pushed by __morestack.
9575
58c741a6
DK
95762011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
9577
9578 PR target/40125
9579 * configure.ac: Call ACX_NONCANONICAL_TARGET.
9580 (toolexecdir): Calculate and AC_SUBST.
9581 (toolexeclibdir): Likewise.
9582 * Makefile.in (target_noncanonical): Import.
9583 (toolexecdir): Likewise.
9584 (toolexeclibdir): Likewise.
9585 * configure: Regenerate.
9586
26716c44
NF
95872010-12-13 Nathan Froyd <froydnj@codesourcery.com>
9588
9589 PR target/46040
9590 * config/arm/bpabi.h: Rename to...
9591 * config/arm/bpabi-lib.h: ...this.
9592
b595b1a1
RO
95932010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9594
9595 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
9596 appropriate.
9597 * configure: Regenerate.
9598
a3abe41c
NF
95992010-11-24 Nathan Froyd <froydnj@codesourcery.com>
9600
9601 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
9602 __FLOAT_WORD_ORDER__.
9603 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
9604 Delete.
9605
455c8f48
RW
96062010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9607
9608 PR other/46202
9609 * Makefile.in (install-strip): New phony target.
9610
f3824a8b
ILT
96112010-11-07 Ian Lance Taylor <iant@google.com>
9612
9613 PR target/46089
9614 * config/i386/morestack.S (__morestack_large_model): New
9615 function.
9616
18ed6ee4
NF
96172010-10-23 Nathan Froyd <froydnj@codesourcery.com>
9618
9619 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
9620 Delete.
9621 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
9622
8ac7fdcb
NF
96232010-10-14 Nathan Froyd <froydnj@codesourcery.com>
9624
9625 * config/arm/bpabi.h: New file.
9626 * config/frv/frv-abi.h: New file.
9627
cdb388c2
ILT
96282010-10-01 Ian Lance Taylor <iant@google.com>
9629
9630 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
9631 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
9632
ef7c141c
L
96332010-10-01 H.J. Lu <hongjiu.lu@intel.com>
9634
9635 PR target/45858
9636 * config.host: Add the missing `$'.
9637
80920132
ME
96382010-09-30 Michael Eager <eager@eagercon.com>
9639
9640 * config.host: Add microblaze*-*-*.
9641 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
9642 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
9643 udivsi3.asm,umodsi3.asm}: New.
9644
6dace308
ILT
96452010-09-28 Ian Lance Taylor <iant@google.com>
9646
9647 * configure.ac: Adjust CFI test to test assembler directly rather
9648 than checking gcc preprocessor macro.
9649 * configure: Rebuild.
9650
b6110d6d
ILT
96512010-09-27 Ian Lance Taylor <iant@google.com>
9652
9653 * configure.ac: Test whether assembler supports CFI directives.
9654 * config.host: Only add t-stack and i386/t-stack-i386 to
9655 tmake_file if libgcc_cv_cfi is "yes".
9656 * configure: Rebuild.
9657
7458026b
ILT
96582010-09-27 Ian Lance Taylor <iant@google.com>
9659
9660 * generic-morestack.h: New file.
9661 * generic-morestack.c: New file.
9662 * generic-morestack-thread.c: New file.
9663 * config/i386/morestack.S: New file.
9664 * config/t-stack: New file.
9665 * config/i386/t-stack-i386: New file.
9666 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
9667 i386/t-stack-i386 to tmake_file.
9668
5b50fc0c
IS
96692010-09-21 Iain Sandoe <iains@gcc.gnu.org>
9670
9671 * Makefile.in (libgcc-extra-parts): Check for static archives and
9672 invoke ranlib after installing them.
9673 (gcc-extra-parts): Likewise.
9674 (install-leaf): Likewise.
9675
b93cf342
L
96762010-09-14 H.J. Lu <hongjiu.lu@intel.com>
9677
9678 * configure: Regenerated.
9679
996b42ef
KT
96802010-09-10 Kai Tietz <kai.tietz@onevision.com>
9681
b93cf342 9682 * configure: Regenerated.
996b42ef 9683
be1c764e
GP
96842010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
9685 Andrew Pinski <pinskia@gmail.com>
9686
1da9434b 9687 PR target/40959
be1c764e
GP
9688 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
9689
cc0ae0ca
L
96902010-09-06 H.J. Lu <hongjiu.lu@intel.com>
9691
9692 PR target/45524
9693 * configure: Regenerated.
9694
84f47d20
AS
96952010-09-06 Andreas Schwab <schwab@redhat.com>
9696
9697 * configure: Regenerate.
9698
4159fb8d
UB
96992010-09-03 Uros Bizjak <ubizjak@gmail.com>
9700
9701 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
9702 64bit targets.
9703 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
9704 for 64bit targets.
9705
0df8fcc8
UB
97062010-09-03 Uros Bizjak <ubizjak@gmail.com>
9707 Iain Sandoe <iains@gcc.gnu.org>
9708
9709 PR target/45476
9710 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
9711 LIB2FUNCS_EXCLUDE functions.
9712
3c39bca6
AK
97132010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9714
9715 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
9716 Include dfp.m4.
9717 * configure: Regenerate.
9718
d78552bd
UB
97192010-09-01 Uros Bizjak <ubizjak@gmail.com>
9720
9721 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
9722 i386/t-freebsd to tmake_file.
9723 * config/i386/t-freebsd: New file.
9724 * config/i386/libgcc-bsd.ver: New file.
9725
c5b79d4e
NF
97262010-07-23 Nathan Froyd <froydnj@codesourcery.com>
9727
9728 * config.host (powerpc*-eabispe*): Set tmake_file.
9729 (powerpc*-eabi*): Likewise.
9730 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
9731 crtbeginS, crtendS, crtbeginT.
9732
48b09a92
KH
97332010-06-12 Kazu Hirata <kazu@codesourcery.com>
9734
9735 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
9736 to tmake_file. Add crtfastmath.o to extra_parts.
9737 * config/mips/t-crtfm: New.
9738
7d296953 97392010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
a4389204
JS
9740
9741 * config.host (sparc64-*-rtems*): New target.
9742
ed104137
RO
97432010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9744
9745 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
9746 assembler syntax.
9747
3f56ef8b
TS
97482010-04-15 Thomas Schwinge <tschwinge@gnu.org>
9749
9750 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
9751
8c200350
RO
97522010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9753
9754 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
9755 alpha-dec-osf5.0* support.
9756
7d296953 97572010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
c1b14424
RC
9758
9759 * config.host: Add lm32-*-rtems*.
9760
f128db92 97612010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7d296953 9762 Uros Bizjak <ubizjak@gmail.com>
f128db92
RO
9763
9764 PR target/39048
9765 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
9766 like other remaining 32-bit x86 OSes.
9767 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
9768 assembler syntax.
9769 * config/i386/libgcc-sol2.ver: New file.
9770 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
9771
7d296953 97722010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
368fabd5
JH
9773
9774 PR c/43553
9775 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
9776 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
9777 is used and substitute set_use_emutls.
9778 * configure: Regenerated.
9779
15baf7f8
TG
97802010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
9781
9782 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
9783
7f5441df
RO
97842010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9785
9786 PR target/38085
9787 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
9788 MULTILIB_CFLAGS.
9789 ($(T)gcrt1.o): Likewise.
9790 ($(T)crt1.o): Likewise.
9791 ($(T)crti.o): Likewise.
9792 ($(T)crtn.o): Likewise.
9793
ef74edbd
RW
97942010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9795
9796 PR other/42980
9797 * Makefile.in (install): Use $(MAKE) string in rule, for
9798 parallel make.
9799
e7c914db
HPN
98002010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
9801
9802 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
9803 * config/mmix/t-mmix: New file.
9804 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
9805
1bcb71c4
JH
98062010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
9807
9808 PR java/41991
9809 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
9810 SHLIB_MAPFILES.
9811
e6e50811
AG
98122010-01-04 Anthony Green <green@moxielogic.com>
9813
9814 * config/moxie/crti.asm, config/moxie/crtn.asm,
9815 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
9816 config/moxie/t-moxie: New files.
9817 * config.host: Add t-moxie-softfp reference.
9818
7d296953 98192009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
ca8520ad
IS
9820
9821 PR other/39888
9822 * config/t-slibgcc-darwin: Fix embedded rpaths for
9823 --enable-version-specific-runtime-libs, build extension stub
9824 libs exposing features available from current libgcc_s.
9825
7d296953 98262009-11-11 Jon Beniston <jon@beniston.com>
aa4945c1 9827
d78552bd
UB
9828 * config.host: Add lm32 targets.
9829 * config/lm32: New directory.
9830 * config/lm32/libgcc_lm32.h: New file.
9831 * config/lm32/_mulsi3.c: New file.
9832 * config/lm32/_udivmodsi4.c: New file.
9833 * config/lm32/_divsi3.c: New file.
9834 * config/lm32/_modsi3.c: New file.
9835 * config/lm32/_udivsi3.c: New file.
9836 * config/lm32/_umodsi3.c: New file.
9837 * config/lm32/_lshrsi3.S: New file.
9838 * config/lm32/_ashrsi3.S: New file.
9839 * config/lm32/_ashlsi3.S: New file.
9840 * config/lm32/crti.S: New file.
9841 * config/lm32/crtn.S: New file.
9842 * config/lm32/t-lm32: New file.
9843 * config/lm32/t-elf: New file.
9844 * config/lm32/t-uclinux: New file.
aa4945c1 9845
65a324b4
NC
98462009-10-26 Nick Clifton <nickc@redhat.com>
9847
9848 * config.host: Add support for RX target.
9849 * config/rx: New directory.
9850 * config/rx/rx-abi-functions.c: New file. Supplementary
9851 functions for libgcc to support the RX ABI.
9852 * config/rx/rx-abi.h: New file. Supplementary header file for
9853 libgcc RX ABI functions.
9854 * config/rx/t-rx: New file: Makefile fragment for building
9855 libgcc for the RX.
9856
dfb3b0e3
UB
98572009-10-09 Uros Bizjak <ubizjak@gmail.com>
9858
9859 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
9860 constraint of y0 to "g".
9861
81dd9fd7
AK
98622009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9863
9864 * config.host: Include the s390 makefile fragments.
9865 * config/s390/32/_fixdfdi.c: New file.
9866 * config/s390/32/_fixsfdi.c: New file.
9867 * config/s390/32/_fixtfdi.c: New file.
9868 * config/s390/32/_fixunsdfdi.c: New file.
9869 * config/s390/32/_fixunssfdi.c: New file.
9870 * config/s390/32/_fixunstfdi.c: New file.
9871 * config/s390/32/t-floattodi: New file.
9872 * config/s390/libgcc-glibc.ver: New file.
9873 * config/s390/t-crtstuff: New file.
9874 * config/s390/t-linux: New file.
9875 * config/s390/t-tpf: New file.
9876
df58e648
RW
98772009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9878
9879 * configure.ac (AC_PREREQ): Bump to 2.64.
9880
79052be3
KK
98812009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
9882
9883 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
9884
5213506e
RW
98852009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9886
9887 * configure: Regenerate.
9888
a9a25daa
DR
98892009-08-09 Douglas B Rupp <rupp@gnat.com>
9890
9891 * config.host (ia64-hp-*vms*): New target.
9892 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
9893 with ia64-hp-*vms*.
9894
6efbd53f
RW
98952009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9896
9897 * configure.ac: Add snippet for maintainer-mode.
9898 * configure: Regenerate.
9899 * Makefile.in (AUTOCONF, configure_deps): New variables.
9900 ($(srcdir)/configure)): New rule, active only with maintainer
9901 mode turned on.
9902
7acf4da6
DD
99032009-06-23 DJ Delorie <dj@redhat.com>
9904
9905 Add MeP port.
9906 * config.host: Add mep support.
9907
54f549af
KT
99082009-06-22 Kai Tietz <kai.tietz@onevision.com>
9909
34481f28 9910 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 9911 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
34481f28
UB
9912
9913 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
9914 for mingw targets.
54f549af
KT
9915 * config/i386/64/_multc3.c: Likewise.
9916 * config/i386/64/_powitf2.c: Likewise.
9917 * config/i386/64/eqtf2.c: Likewise.
9918 * config/i386/64/getf2.c: Likewise.
9919 * config/i386/64/letf2.c: Likewise.
9920 * config/i386/64/letf2.c: Likewise.
34481f28
UB
9921 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
9922 unsigned long long for x64 mingw targets.
9923 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
9924 (_FP_I_TYPE): Define as long long for x64 mingw target.
54f549af 9925
fea96e25
MR
99262009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
9927
9928 * config.host (vax-*-linux*): New.
9929
cceb575c
AG
99302009-05-31 Anthony Green <green@moxielogic.com>
9931
9932 * config.host: Add moxie support.
9933 * config/moxie/t-moxie: New file.
9934
7d296953 99352009-05-29 David Billinghurst <billingd@gcc.gnu.org>
e997fb9c
DB
9936
9937 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 9938 t-softfp to tmake_file for i[34567]86-*-cygwin*.
e997fb9c 9939
532bfb0a
AJ
99402009-04-17 Aurelien Jarno <aurelien@aurel32.net>
9941
9942 * config.host: Add i386/${host_address}/t-fprules-softfp to
9943 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
9944
748086b7
JJ
99452009-04-09 Nick Clifton <nickc@redhat.com>
9946
9947 * config/ia64/tf-signs.c: Change copyright header to refer to
9948 version 3 of the GNU General Public License with version 3.1
9949 of the GCC Runtime Library Exception and to point readers at
9950 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
9951 web page.
9952 * config/i386/32/tf-signs.c: Likewise.
9953 * config/libbid/_addsub_dd.c: Likewise.
9954 * config/libbid/_addsub_sd.c: Likewise.
9955 * config/libbid/_addsub_td.c: Likewise.
9956 * config/libbid/_dd_to_df.c: Likewise.
9957 * config/libbid/_dd_to_di.c: Likewise.
9958 * config/libbid/_dd_to_sd.c: Likewise.
9959 * config/libbid/_dd_to_sf.c: Likewise.
9960 * config/libbid/_dd_to_si.c: Likewise.
9961 * config/libbid/_dd_to_td.c: Likewise.
9962 * config/libbid/_dd_to_tf.c: Likewise.
9963 * config/libbid/_dd_to_udi.c: Likewise.
9964 * config/libbid/_dd_to_usi.c: Likewise.
9965 * config/libbid/_dd_to_xf.c: Likewise.
9966 * config/libbid/_df_to_dd.c: Likewise.
9967 * config/libbid/_df_to_sd.c: Likewise.
9968 * config/libbid/_df_to_td.c: Likewise.
9969 * config/libbid/_di_to_dd.c: Likewise.
9970 * config/libbid/_di_to_sd.c: Likewise.
9971 * config/libbid/_di_to_td.c: Likewise.
9972 * config/libbid/_div_dd.c: Likewise.
9973 * config/libbid/_div_sd.c: Likewise.
9974 * config/libbid/_div_td.c: Likewise.
9975 * config/libbid/_eq_dd.c: Likewise.
9976 * config/libbid/_eq_sd.c: Likewise.
9977 * config/libbid/_eq_td.c: Likewise.
9978 * config/libbid/_ge_dd.c: Likewise.
9979 * config/libbid/_ge_sd.c: Likewise.
9980 * config/libbid/_ge_td.c: Likewise.
9981 * config/libbid/_gt_dd.c: Likewise.
9982 * config/libbid/_gt_sd.c: Likewise.
9983 * config/libbid/_gt_td.c: Likewise.
9984 * config/libbid/_isinfd128.c: Likewise.
9985 * config/libbid/_isinfd32.c: Likewise.
9986 * config/libbid/_isinfd64.c: Likewise.
9987 * config/libbid/_le_dd.c: Likewise.
9988 * config/libbid/_le_sd.c: Likewise.
9989 * config/libbid/_le_td.c: Likewise.
9990 * config/libbid/_lt_dd.c: Likewise.
9991 * config/libbid/_lt_sd.c: Likewise.
9992 * config/libbid/_lt_td.c: Likewise.
9993 * config/libbid/_mul_dd.c: Likewise.
9994 * config/libbid/_mul_sd.c: Likewise.
9995 * config/libbid/_mul_td.c: Likewise.
9996 * config/libbid/_ne_dd.c: Likewise.
9997 * config/libbid/_ne_sd.c: Likewise.
9998 * config/libbid/_ne_td.c: Likewise.
9999 * config/libbid/_sd_to_dd.c: Likewise.
10000 * config/libbid/_sd_to_df.c: Likewise.
10001 * config/libbid/_sd_to_di.c: Likewise.
10002 * config/libbid/_sd_to_sf.c: Likewise.
10003 * config/libbid/_sd_to_si.c: Likewise.
10004 * config/libbid/_sd_to_td.c: Likewise.
10005 * config/libbid/_sd_to_tf.c: Likewise.
10006 * config/libbid/_sd_to_udi.c: Likewise.
10007 * config/libbid/_sd_to_usi.c: Likewise.
10008 * config/libbid/_sd_to_xf.c: Likewise.
10009 * config/libbid/_sf_to_dd.c: Likewise.
10010 * config/libbid/_sf_to_sd.c: Likewise.
10011 * config/libbid/_sf_to_td.c: Likewise.
10012 * config/libbid/_si_to_dd.c: Likewise.
10013 * config/libbid/_si_to_sd.c: Likewise.
10014 * config/libbid/_si_to_td.c: Likewise.
10015 * config/libbid/_td_to_dd.c: Likewise.
10016 * config/libbid/_td_to_df.c: Likewise.
10017 * config/libbid/_td_to_di.c: Likewise.
10018 * config/libbid/_td_to_sd.c: Likewise.
10019 * config/libbid/_td_to_sf.c: Likewise.
10020 * config/libbid/_td_to_si.c: Likewise.
10021 * config/libbid/_td_to_tf.c: Likewise.
10022 * config/libbid/_td_to_udi.c: Likewise.
10023 * config/libbid/_td_to_usi.c: Likewise.
10024 * config/libbid/_td_to_xf.c: Likewise.
10025 * config/libbid/_tf_to_dd.c: Likewise.
10026 * config/libbid/_tf_to_sd.c: Likewise.
10027 * config/libbid/_tf_to_td.c: Likewise.
10028 * config/libbid/_udi_to_dd.c: Likewise.
10029 * config/libbid/_udi_to_sd.c: Likewise.
10030 * config/libbid/_udi_to_td.c: Likewise.
10031 * config/libbid/_unord_dd.c: Likewise.
10032 * config/libbid/_unord_sd.c: Likewise.
10033 * config/libbid/_unord_td.c: Likewise.
10034 * config/libbid/_usi_to_dd.c: Likewise.
10035 * config/libbid/_usi_to_sd.c: Likewise.
10036 * config/libbid/_usi_to_td.c: Likewise.
10037 * config/libbid/_xf_to_dd.c: Likewise.
10038 * config/libbid/_xf_to_sd.c: Likewise.
10039 * config/libbid/_xf_to_td.c: Likewise.
10040 * config/libbid/bid128.c: Likewise.
10041 * config/libbid/bid128_2_str.h: Likewise.
10042 * config/libbid/bid128_2_str_macros.h: Likewise.
10043 * config/libbid/bid128_2_str_tables.c: Likewise.
10044 * config/libbid/bid128_add.c: Likewise.
10045 * config/libbid/bid128_compare.c: Likewise.
10046 * config/libbid/bid128_div.c: Likewise.
10047 * config/libbid/bid128_fma.c: Likewise.
10048 * config/libbid/bid128_logb.c: Likewise.
10049 * config/libbid/bid128_minmax.c: Likewise.
10050 * config/libbid/bid128_mul.c: Likewise.
10051 * config/libbid/bid128_next.c: Likewise.
10052 * config/libbid/bid128_noncomp.c: Likewise.
10053 * config/libbid/bid128_quantize.c: Likewise.
10054 * config/libbid/bid128_rem.c: Likewise.
10055 * config/libbid/bid128_round_integral.c: Likewise.
10056 * config/libbid/bid128_scalb.c: Likewise.
10057 * config/libbid/bid128_sqrt.c: Likewise.
10058 * config/libbid/bid128_string.c: Likewise.
10059 * config/libbid/bid128_to_int16.c: Likewise.
10060 * config/libbid/bid128_to_int32.c: Likewise.
10061 * config/libbid/bid128_to_int64.c: Likewise.
10062 * config/libbid/bid128_to_int8.c: Likewise.
10063 * config/libbid/bid128_to_uint16.c: Likewise.
10064 * config/libbid/bid128_to_uint32.c: Likewise.
10065 * config/libbid/bid128_to_uint64.c: Likewise.
10066 * config/libbid/bid128_to_uint8.c: Likewise.
10067 * config/libbid/bid32_to_bid128.c: Likewise.
10068 * config/libbid/bid32_to_bid64.c: Likewise.
10069 * config/libbid/bid64_add.c: Likewise.
10070 * config/libbid/bid64_compare.c: Likewise.
10071 * config/libbid/bid64_div.c: Likewise.
10072 * config/libbid/bid64_fma.c: Likewise.
10073 * config/libbid/bid64_logb.c: Likewise.
10074 * config/libbid/bid64_minmax.c: Likewise.
10075 * config/libbid/bid64_mul.c: Likewise.
10076 * config/libbid/bid64_next.c: Likewise.
10077 * config/libbid/bid64_noncomp.c: Likewise.
10078 * config/libbid/bid64_quantize.c: Likewise.
10079 * config/libbid/bid64_rem.c: Likewise.
10080 * config/libbid/bid64_round_integral.c: Likewise.
10081 * config/libbid/bid64_scalb.c: Likewise.
10082 * config/libbid/bid64_sqrt.c: Likewise.
10083 * config/libbid/bid64_string.c: Likewise.
10084 * config/libbid/bid64_to_bid128.c: Likewise.
10085 * config/libbid/bid64_to_int16.c: Likewise.
10086 * config/libbid/bid64_to_int32.c: Likewise.
10087 * config/libbid/bid64_to_int64.c: Likewise.
10088 * config/libbid/bid64_to_int8.c: Likewise.
10089 * config/libbid/bid64_to_uint16.c: Likewise.
10090 * config/libbid/bid64_to_uint32.c: Likewise.
10091 * config/libbid/bid64_to_uint64.c: Likewise.
10092 * config/libbid/bid64_to_uint8.c: Likewise.
10093 * config/libbid/bid_b2d.h: Likewise.
10094 * config/libbid/bid_binarydecimal.c: Likewise.
10095 * config/libbid/bid_conf.h: Likewise.
10096 * config/libbid/bid_convert_data.c: Likewise.
10097 * config/libbid/bid_decimal_data.c: Likewise.
10098 * config/libbid/bid_decimal_globals.c: Likewise.
10099 * config/libbid/bid_div_macros.h: Likewise.
10100 * config/libbid/bid_dpd.c: Likewise.
10101 * config/libbid/bid_flag_operations.c: Likewise.
10102 * config/libbid/bid_from_int.c: Likewise.
10103 * config/libbid/bid_functions.h: Likewise.
10104 * config/libbid/bid_gcc_intrinsics.h: Likewise.
10105 * config/libbid/bid_inline_add.h: Likewise.
10106 * config/libbid/bid_internal.h: Likewise.
10107 * config/libbid/bid_round.c: Likewise.
10108 * config/libbid/bid_sqrt_macros.h: Likewise.
10109
101102009-04-09 Jakub Jelinek <jakub@redhat.com>
10111
10112 * Makefile.in: Change copyright header to refer to version
10113 3 of the GNU General Public License and to point readers at the
10114 COPYING3 file and the FSF's license web page.
10115 * config.host: Likewise.
10116
633dd061
AM
101172009-04-07 Alan Modra <amodra@bigpond.net.au>
10118
10119 * config.host: Reorder and merge to match config.gcc change.
10120
457d1d00
AM
101212009-04-03 Alan Modra <amodra@bigpond.net.au>
10122
10123 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
10124
52c0e446
JM
101252009-03-28 Joseph Myers <joseph@codesourcery.com>
10126
10127 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
10128 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
10129 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
10130 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
10131
ba181049
UB
101322009-02-12 Uros Bizjak <ubizjak@gmail.com>
10133
10134 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
10135 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
10136
c252db20
L
101372009-02-12 H.J. Lu <hongjiu.lu@intel.com>
10138
ba181049
UB
10139 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
10140 ia64/t-softfp-compat to tmake_file.
c252db20
L
10141
10142 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
10143
10144 * config/ia64/__divxf3.asm: New.
10145 * config/ia64/_fixtfdi.asm: Likewise.
10146 * config/ia64/_fixunstfdi.asm: Likewise.
10147 * config/ia64/_floatditf.asm: Likewise.
10148 * config/ia64/t-fprules-softfp: Likewise.
10149 * config/ia64/t-softfp-compat: Likewise.
10150 * config/ia64/tf-signs.c: Likewise.
10151
c60535f9
BE
101522009-01-18 Ben Elliston <bje@au.ibm.com>
10153
10154 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
10155
ce16861e
BE
101562009-01-16 Ben Elliston <bje@au.ibm.com>
10157
10158 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
10159 to tmake_file.
10160
bcf4713b
BE
101612009-01-13 Ben Elliston <bje@au.ibm.com>
10162
10163 * config/t-softfp: New file.
10164 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
10165 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
10166
7d296953 101672009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
2042cb04
JS
10168
10169 * config.host: Add m32r*-*-rtems*.
10170
7d296953 101712008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
541ed00e
JS
10172
10173 * config.host: Add m32c*-*-rtems*.
10174
19523300
RO
101752008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10176
10177 PR bootstrap/33100
10178 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
10179 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
10180 * configure: Regenerate.
10181 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
10182 tmake_file here from gcc/config.gcc.
10183 Move extra_parts here from gcc/config.gcc.
10184 * config/i386/t-sol2: Move here from gcc/config/i386.
10185 Use gcc_srcdir instead of srcdir.
10186
0a4a51c7
AN
101872008-11-18 Adam Nemet <anemet@caviumnetworks.com>
10188
10189 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
10190 case.
10191
2a761e46
TS
101922008-11-09 Thomas Schwinge <tschwinge@gnu.org>
10193
10194 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
10195
c0451df7
TS
101962008-10-08 Thomas Schwinge <tschwinge@gnu.org>
10197
10198 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
10199
358da97e
HS
102002008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
10201
10202 Add picoChip port.
10203 * config.host: Add picochip-*-*.
10204
c660f132
BW
102052008-08-06 Bob Wilson <bob.wilson@acm.org>
10206
10207 * config.host: Match more processor names for Xtensa.
10208
d1349557
L
102092008-07-08 H.J. Lu <hongjiu.lu@intel.com>
10210
10211 * config/i386/64/t-softfp-compat: Update comments.
10212
dd7b73c0
L
102132008-07-07 H.J. Lu <hongjiu.lu@intel.com>
10214
10215 * config/i386/64/_divtc3-compat.c: Moved to ...
10216 * config/i386/64/_divtc3.c: Here.
10217
10218 * config/i386/64/_multc3-compat.c: Moved to ...
10219 * config/i386/64/_multc3.c: Here.
10220
10221 * config/i386/64/_powitf2-compat.c: Moved to ...
10222 * config/i386/64/_powitf2.c: Here.
10223
10224 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
10225 .c suffix instead of -compat.c.
10226
6e1fab3d
UB
102272008-07-05 Uros Bizjak <ubizjak@gmail.com>
10228
10229 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
10230 (_FP_MUL_MEAT_D): Ditto.
10231 (_FP_DIV_MEAT_S): Ditto.
10232 (_FP_DIV_MEAT_D): Ditto.
10233
f92518d7
RS
102342008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
10235
10236 * Makefile.in: Add support for __sync_* libgcc functions.
10237
d0aede14
L
102382008-07-03 H.J. Lu <hongjiu.lu@intel.com>
10239
10240 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
10241
c174f11c
L
102422008-07-02 H.J. Lu <hongjiu.lu@intel.com>
10243
10244 PR boostrap/36702
10245 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
10246 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
10247
10248 * config/i386/64/t-fprules-softfp: Moved to ...
10249 * config/i386/64/t-softfp-compat: This. New.
10250
5f464fa2
UB
102512008-07-02 Uros Bizjak <ubizjak@gmail.com>
10252
10253 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
10254 Initialize f with 0.0.
10255
ff473280
L
102562008-07-02 H.J. Lu <hongjiu.lu@intel.com>
10257
10258 PR target/36669
10259 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
10260
10261 * config/i386/64/_divtc3-compat.c: New.
10262 * config/i386/64/_multc3-compat.c: Likewise.
10263 * config/i386/64/_powitf2-compat.c: Likewise.
10264 * config/i386/64/eqtf2.c: Likewise.
10265 * config/i386/64/getf2.c: Likewise.
10266 * config/i386/64/letf2.c: Likewise.
10267 * config/i386/64/t-fprules-softfp: Likewise.
10268
102692008-07-02 H.J. Lu <hongjiu.lu@intel.com>
10270
10271 * config.host: Add i386/${host_address}/t-fprules-softfp to
10272 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
dfb3b0e3 10273 i[34567]86-*-linux*, x86_64-*-linux*.
ff473280
L
10274
10275 * configure.ac: Set host_address to 64 or 32 for x86.
10276 * configure: Regenerated.
10277
10278 * Makefile.in (config.status): Also depend on
10279 $(srcdir)/config.host.
10280
10281 * config/i386/32/t-fprules-softfp: New.
10282 * config/i386/32/tf-signs.c: Likewise.
10283
10284 * config/i386/64/sfp-machine.h: New. Moved from gcc.
10285
102862008-07-02 H.J. Lu <hongjiu.lu@intel.com>
10287 Uros Bizjak <ubizjak@gmail.com>
10288
10289 * config/i386/32/sfp-machine.h: New.
10290
30551d99
NF
102912008-06-26 Nathan Froyd <froydnj@codesourcery.com>
10292
10293 * config/rs6000/t-ppccomm: Remove rules that conflict with
10294 auto-generated rules.
10295
18c04407
RW
102962008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
10297
10298 * configure.ac: sinclude override.m4.
10299 * configure: Regenerate.
10300
10fbe77a
BRF
103012008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
10302
10303 * configure: Regenerate.
10304
bc6d4c3f
JM
103052008-06-10 Joseph Myers <joseph@codesourcery.com>
10306
10307 * Makefile.in (DECNUMINC): Remove
10308 -I$(MULTIBUILDTOP)../../libdecnumber.
10309 * gstdint.h: New.
10310
cd985f66
JM
103112008-06-07 Joseph Myers <joseph@codesourcery.com>
10312
10313 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
10314 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
10315 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
10316 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
10317 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
10318 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
10319 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
10320 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
10321 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
10322 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
10323 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
10324 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
10325 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
10326 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
10327
93fea8d3
AL
103282008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
10329
10330 * config.host (sh2[lbe]*-*-linux*): Allow target.
10331
18724e30
NF
103322008-04-30 Nathan Froyd <froydnj@codesourcery.com>
10333
10334 * config/rs6000/t-ppccomm: Add build rules for new files.
10335 (LIB2ADD_ST): New variable.
10336
47583040
AH
103372008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
10338
10339 PR target/34210
10340 PR target/35508
10341 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
10342 * config/t-avr: New file. Build 16bit libgcc functions.
10343
cf8e67fe
JJ
103442008-03-02 Jakub Jelinek <jakub@redhat.com>
10345
10346 PR target/35401
10347 * config/t-slibgcc-darwin: Make install-leaf dependent on
10348 install-darwin-libgcc-stubs instead of install.
10349
8d8da227
JM
103502008-01-25 Joseph Myers <joseph@codesourcery.com>
10351
10352 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
10353 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
10354 sh-*-rtemscoff*): Remove cases.
10355
edbf8b16
RS
103562007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
10357
10358 * Makefile.in (all): Use install-leaf rather than install.
10359 (install): Split most of the rule into...
10360 (install-leaf): ...this new one.
10361
89deeaff
EK
103622007-12-19 Etsushi Kato <ek.kato@gmail.com>
10363 Paolo Bonzini <bonzini@gnu.org>
10364
10365 PR target/30572
5f464fa2
UB
10366 * Makefile.in: Use @shlib_slibdir@ substitution to get
10367 correct install name on darwin.
89deeaff 10368 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
dfb3b0e3 10369
4081d704
HPN
103702007-12-15 Hans-Peter Nilsson <hp@axis.com>
10371
10372 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
10373 cris-*-elf and cris-*-none.
10374 (crisv32-*-linux*): Similar, as cris-*-linux*.
10375
f43e89a3
RIL
103762007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
10377
10378 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
10379
b4e9c2c6
L
103802007-10-27 H.J. Lu <hongjiu.lu@intel.com>
10381
10382 PR regression/33926
10383 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
10384 * configure: Regenerated.
10385
b2a00c89
L
103862007-09-27 H.J. Lu <hongjiu.lu@intel.com>
10387
10388 * Makefile.in (dfp-filenames): Replace decimal_globals,
10389 decimal_data, binarydecimal and convert_data with
10390 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
10391 and bid_convert_data, respectively.
10392
8d2a9e0e
CF
103932007-09-17 Chao-ying Fu <fu@mips.com>
10394 Nigel Stephens <nigel@mips.com>
10395
10396 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
10397 * Makefile.in (fixed_point): Define.
10398 Check if fixed_point is yes to build support functions.
10399 * configure.ac: Check for fixed_point support.
10400 * configure: Regenerated.
10401 * gen-fixed.sh: New file to generate lists of fixed-point labels,
10402 funcs, modes, from, to.
10403
2b53935d
JJ
104042007-09-11 Janis Johnson <janis187@us.ibm.com
10405
10406 * Makefile.in (dfp-filenames): Add bid128_noncomp.
10407
2533577f
JJ
104082007-09-10 Janis Johnson <janis187@us.ibm.com>
10409
10410 * Makefile.in (dfp-filenames): Remove decUtility, add
10411 decDouble, decPacked, decQuad, decSingle.
10412
3ae3dbd6
HK
104132007-08-27 Hans Kester <hans.kester@ellips.nl>
10414
10415 * config.host : Add x86_64-elf target.
10416
22867d02
L
104172007-07-06 H.J. Lu <hongjiu.lu@intel.com>
10418
10419 * configure.ac (set_have_cc_tls): Add a missing =.
10420 * configure: Regenerated.
10421
6f461e76
L
104222007-07-06 H.J. Lu <hongjiu.lu@intel.com>
10423
10424 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
10425 and x86_64-*-linux*.
10426
10427 * config/t-tls: New file.
10428
dfb3b0e3 10429 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
6f461e76
L
10430
10431 * configure.ac: Include ../config/enable.m4 and
10432 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
10433 supports TLS and substitute set_have_cc_tls.
10434 * configure: Regenerated.
10435
200359e8
L
104362007-07-04 H.J. Lu <hongjiu.lu@intel.com>
10437
10438 * Makefile.in: Use libbid for DFP when BID is enabled.
10439
76f5e200
DS
104402007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
10441
10442 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
dfb3b0e3 10443 extra_parts. Add config/i386/t-cygming to tmake_file.
76f5e200
DS
10444 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
10445
9bd196f0 104462007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
200359e8 10447 Danny Smith <dannysmith@users.sourceforge.net>
9bd196f0
ZM
10448
10449 PR target/29498
10450 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
10451 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
10452 * config/i386/t-crtfm: Compile crtfastmath.o with
10453 -minline-all-stringops.
10454
1910440e
RS
104552007-05-10 Richard Sandiford <richard@codesourcery.com>
10456
10457 * config.host (sparc-wrs-vxworks): New target.
10458
7d33c31d
KH
104592007-04-14 Kazu Hirata <kazu@codesourcery.com>
10460
10461 * config.host: Recognize fido.
10462
96fccd0d
JJ
104632007-04-04 Janis Johnson <janis187@us.ibm.com>
10464
10465 * configure: Check host, not target, for decimal float support.
10466
577565f9
UB
104672007-04-03 Uros Bizjak <ubizjak@gmail.com>
10468
10469 * config/i386/t-crtpc: New file.
10470 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
5f464fa2 10471 (x86_64-*-linux*): Ditto.
577565f9 10472
ccf8e764
RH
104732007-02-30 Kai Tietz <kai.tietz@onevision.com>
10474
10475 * config.host (x86_64-*-mingw*): New target.
10476
79b87c74
MM
104772007-03-23 Michael Meissner <michael.meissner@amd.com>
10478 H.J. Lu <hongjiu.lu@intel.com>
10479
10480 * Makefile.in (enable_decimal_float): New.
10481 (DECNUMINC): Add
10482 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
10483 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
10484 (decbits-filenames): This.
10485 (decbits-objects): New.
10486 (libgcc-objects): Add $(decbits-objects).
10487
10488 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
10489 Substitute enable_decimal_float.
10490 * configure: Regenerated.
10491
8fce4e31
HPN
104922007-03-19 Hans-Peter Nilsson <hp@axis.com>
10493
10494 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
10495
e8bb4597
BM
104962007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
10497
10498 * Makefile.in (install-info): New dummy target.
10499
344189f9
BS
105002007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
10501
10502 * config.host (bfin*-linux-uclibc*): Set extra_parts.
10503
ac84c172
BM
105042007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
10505
10506 * Makefile.in: Add install-html and install-pdf dummy
10507 targets.
10508
cd5c2357
RS
105092007-02-05 Roger Sayle <roger@eyesopen.com>
10510 Daniel Jacobowitz <dan@codesourcery.com>
10511
10512 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
10513 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
10514 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
10515
d9a66f98
JJ
105162007-01-29 Janis Johnson <janis187@us.ibm.com>
10517
10518 * Makefile.in (dec-filenames): Add decExcept.
10519
9891ec5f
DJ
105202007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
10521
10522 PR bootstrap/30469
10523 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
10524 -fprofile-use.
10525
d6efbf5a
DJ
105262007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
10527
10528 * configure.ac: Add --enable-version-specific-runtime-libs.
10529 Correct $slibdir default.
10530 * configure: Regenerated.
10531
17caeff2
JM
105322007-01-23 Joseph Myers <joseph@codesourcery.com>
10533
10534 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
10535
5ea41e3a
AP
105362007-01-21 Andrew Pinski <pinskia@gmail.com>
10537
10538 PR target/30519
10539 * config.host (alpha*-*-linux*): Set extra_parts.
10540
26900826
KK
105412007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
10542
10543 * config/sh/t-linux: New.
10544 * config.host (sh*-*-linux*): Set tmake_file.
10545
97af925b
DJ
105462007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
10547
10548 * Makefile.in (install): Handle multilibs.
10549
b0088af7
BM
105502007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
10551
10552 * Makefile.in: Added .PHONY entry for documentation targets.
10553
e0a9456a
BM
105542007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
10555
10556 * Makefile.in: Add empty info, html, dvi, pdf targets.
10557
7fd453b4
MS
105582007-01-04 Mike Stump <mrs@apple.com>
10559
10560 * Makefile.in (MAKEINFO): Remove.
10561 (PERL): Likewise.
10562
14e8fc8b
PB
105632007-01-04 Paolo Bonzini <bonzini@gnu.org>
10564
10565 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
10566 * configure: Regenerate.
10567 * Makefile.in (host_subdir): Substitute it.
dfb3b0e3 10568 (gcc_objdir): Use it.
14e8fc8b 10569
1555beba
DJ
105702007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
10571
10572 * config.host (ia64*-*-linux*): Set tmake_file.
10573
79e6eaeb
DJ
105742007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
10575
10576 * Makefile.in (version): Define.
10577
fa958513
DJ
105782007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
10579 Paolo Bonzini <bonzini@gnu.org>
10580
10581 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
10582 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
10583 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
10584 config/sparc/t-crtfm, config/t-slibgcc-darwin,
10585 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
10586 shared-object.mk, siditi-object.mk, static-object.mk: New files.
10587 * configure: Generated.
818ab71a 10588\f
8d9254fc 10589Copyright (C) 2007-2020 Free Software Foundation, Inc.
818ab71a
JJ
10590
10591Copying and distribution of this file, with or without modification,
10592are permitted in any medium without royalty provided the copyright
10593notice and this notice are preserved.