]> gcc.gnu.org Git - gcc.git/blob - libgcc/ChangeLog
Emit .note.GNU-stack for hard-float linux targets.
[gcc.git] / libgcc / ChangeLog
1 2020-01-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
2
3 * config/mips/gnustack.h: Check for TARGET_LIBC_GNUSTACK also.
4
5 2020-01-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
6
7 * config/mips/gnustack.h: New file.
8 * config/mips/crti.S: Include gnustack.h.
9 * config/mips/crtn.S: Likewise.
10 * config/mips/mips16.S: Likewise.
11 * config/mips/vr4120-div.S: Likewise.
12
13 2020-01-23 Martin Liska <mliska@suse.cz>
14
15 * libgcov-driver.c (prune_topn_counter): Remove
16 check for -1 as we only prune run-time counters
17 that do not generate an invalid state.
18
19 2020-01-22 Martin Liska <mliska@suse.cz>
20
21 PR tree-optimization/92924
22 * libgcov-profiler.c (__gcov_topn_values_profiler_body): First
23 try to find an existing value, then find an empty slot
24 if not found.
25
26 2020-01-22 Martin Liska <mliska@suse.cz>
27
28 PR tree-optimization/92924
29 * libgcov-driver.c (prune_topn_counter): New.
30 (prune_counters): Likewise.
31 (dump_one_gcov): Prune a run-time counter.
32 * libgcov-profiler.c (__gcov_topn_values_profiler_body):
33 For a known value, add GCOV_TOPN_VALUES to value.
34 Otherwise, decrement all counters by one.
35
36 2020-01-18 Hans-Peter Nilsson <hp@axis.com>
37
38 * config/cris/arit.c (DS): Apply attribute __fallthrough__.
39
40 2020-01-18 John David Anglin <danglin@gcc.gnu.org>
41
42 PR libgcc/92988
43 * crtstuff.c (__do_global_dtors_aux): Only call __cxa_finalize if
44 DEFAULT_USE_CXA_ATEXIT is true.
45
46 2020-01-16 Mihail-Calin Ionescu <mihail.ionescu@arm.com>
47 Thomas Preud'homme <thomas.preudhomme@arm.com>
48
49 * config/arm/t-arm: Check return value of gcc rather than lack of
50 output.
51
52 2020-01-14 Georg-Johann Lay <avr@gjlay.de>
53
54 * config/avr/lib1funcs.S (skip): Simplify.
55
56 2020-01-10 Kwok Cheung Yeung <kcy@codesourcery.com>
57
58 * config/gcn/atomic.c: Remove include of stdint.h.
59 (__sync_val_compare_and_swap_##SIZE): Replace uintptr_t with
60 __UINTPTR_TYPE__.
61
62 2020-01-09 Kwok Cheung Yeung <kcy@codesourcery.com>
63
64 * config/gcn/atomic.c: New.
65 * config/gcn/t-amdgcn (LIB2ADD): Add atomic.c.
66
67 2020-01-08 Georg-Johann Lay <avr@gjlay.de>
68
69 Implement 64-bit double functions.
70
71 PR target/92055
72 * config.host (tmake_file) [target=avr]: Add t-libf7,
73 t-libf7-math, t-libf7-math-symbols as specified by --with-libf7=.
74 * config/avr/t-avrlibc: Don't copy libgcc.a if there are modules
75 depending on sizeof (double) or sizeof (long double).
76 * config/avr/libf7: New folder.
77
78 2020-01-05 Olivier Hainque <hainque@adacore.com>
79
80 * config/gthr-vxworks.h: Guard #include vxAtomicLib.h
81 by IN_LIBGCC2.
82
83 2020-01-01 Jakub Jelinek <jakub@redhat.com>
84
85 Update copyright years.
86
87 2019-12-30 Olivier Hainque <hainque@adacore.com>
88
89 * config/gthr-vxworks.h: Use _vxworks-versions.h.
90 * config/gthr-vxworks-tls.c: Likewise.
91
92 2019-12-30 Olivier Hainque <hainque@adacore.com>
93
94 * config/gthr-vxworks.h (GTHREAD_ONCE_INIT): Use
95 standard zero-initializer syntax.
96
97 2019-12-30 Olivier Hainque <hainque@adacore.com>
98
99 * config/gthr-vxworks-tls.c (__gthread_getspecific): Fix
100 reference to the internal VX_GET_TLS_DATA interface.
101
102 2019-12-30 Olivier Hainque <hainque@adacore.com>
103
104 * config/vxcrtstuff.c: Fix incorrect spelling of
105 USE_INITFINI_ARRAY in guard.
106
107 2019-12-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
108
109 * config.host: s/msp430*-*-elf/msp430-*-elf*.
110 Override default "extra_parts" variable.
111 * configure: Regenerate.
112 * configure.ac: Disable TM clone registry by default for
113 msp430-elfbare.
114
115 2019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
116
117 * config.host (msp430*-*-elf): Add crt{begin,end}_no_eh.o to
118 "extra_parts".
119 * config/msp430/t-msp430: Add rules to build crt{begin,end}_no_eh.o.
120
121 2019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
122
123 * crtstuff.c: Declare __dso_handle only if DEFAULT_USE_CXA_ATEXIT is
124 true.
125
126 2019-12-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
127
128 * crtstuff.c (__do_global_dtors_aux): Check if USE_EH_FRAME_REGISTRY is
129 defined instead of its value.
130
131 2019-12-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
132
133 * crtstuff.c (__do_global_dtors_aux): Wrap in #if so it's only defined
134 if it will have contents.
135
136 2019-12-05 Georg-Johann Lay <avr@gjlay.de>
137
138 PR target/92055
139 * config/avr/t-avrlibc (MULTISUBDIR): Search for double, not double64.
140
141 2019-11-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
142
143 PR libgcc/91737
144 * config.host: Add t-gthr-noweak on *-*-musl*.
145 * config/t-gthr-noweak: New file.
146
147 2019-11-17 John David Anglin <danglin@gcc.gnu.org>
148
149 * config/pa/linux-atomic.c (__kernel_cmpxchg): Change argument 1 to
150 volatile void *. Remove trap check.
151 (__kernel_cmpxchg2): Likewise.
152 (FETCH_AND_OP_2): Adjust operand types.
153 (OP_AND_FETCH_2): Likewise.
154 (FETCH_AND_OP_WORD): Likewise.
155 (OP_AND_FETCH_WORD): Likewise.
156 (COMPARE_AND_SWAP_2): Likewise.
157 (__sync_val_compare_and_swap_4): Likewise.
158 (__sync_bool_compare_and_swap_4): Likewise.
159 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
160 (__sync_lock_test_and_set_4): Likewise.
161 (SYNC_LOCK_RELEASE_1): Likewise. Use __kernel_cmpxchg2 for release.
162 (__sync_lock_release_4): Adjust operand types. Use __kernel_cmpxchg
163 for release.
164 (__sync_lock_release_8): Remove.
165
166 2019-11-15 Szabolcs Nagy <szabolcs.nagy@arm.com>
167
168 * config/m68k/linux-unwind.h (struct uw_ucontext): Use sigset_t instead
169 of __sigset_t.
170
171 2019-11-14 Jerome Lambourg <lambourg@adacore.com>
172 Doug Rupp <rupp@adacore.com>
173 Olivier Hainque <hainque@adacore.com>
174
175 * config.host: Collapse the arm-vxworks entries into
176 a single arm-wrs-vxworks7* one.
177 * config/arm/unwind-arm-vxworks.c: Update comments. Provide
178 __gnu_Unwind_Find_exidx and a weak dummy __cxa_type_match for
179 kernel modules, to be overriden by libstdc++ when we link with
180 it. Rely on externally provided __exidx_start/end.
181
182 2019-11-14 Doug Rupp <rupp@adacore.com>
183 Olivier Hainque <hainque@adacore.com>
184
185 * config.host: Handle aarch64*-wrs-vxworks7*.
186
187 2019-11-12 Olivier Hainque <hainque@adacore.com>
188
189 * config/t-gthr-vxworksae: New file, add all the gthr-vxworks
190 sources except the cxx0x support to LIB2ADDEH. We don't support
191 cxx0x on AE/653.
192 * config/t-vxworksae: New file.
193 * config.host: Handle *-*-vxworksae: Add the two aforementioned
194 Makefile fragment files at their expected position in the tmake_file
195 list, in accordance with what is done for other VxWorks variants.
196
197 2019-11-12 Corentin Gay <gay@adacore.com>
198 Jerome Lambourg <lambourg@adacore.com>
199 Olivier Hainque <hainque@adacore.com>
200
201 * config/t-gthr-vxworks: New file, add all the gthr-vxworks
202 sources to LIB2ADDEH.
203 * config/t-vxworks: Remove adjustments to LIB2ADDEH.
204 * config/t-vxworks7: Likewise.
205
206 * config.host: Append a block at the end of the file to add the
207 t-gthr files to the tmake_file list for VxWorks after everything
208 else.
209
210 * config/vxlib.c: Rename as gthr-vxworks.c.
211 * config/vxlib-tls.c: Rename as gthr-vxworks-tls.c.
212
213 * config/gthr-vxworks.h: Simplify a few comments. Expose a TAS
214 API and a basic error checking API, both internal. Simplify the
215 __gthread_once_t type definition and initializers. Add sections
216 for condition variables support and for the C++0x thread support,
217 conditioned against Vx653 for the latter.
218
219 * config/gthr-vxworks.c (__gthread_once): Simplify comments and
220 implementation, leveraging the TAS internal API.
221 * config/gthr-vxworks-tls.c: Introduce an internal TLS data access
222 API, leveraging the general availability of TLS services in VxWorks7
223 post SR6xxx.
224 (__gthread_setspecific, __gthread_setspecific): Use it.
225 (tls_delete_hook): Likewise, and simplify the enter/leave dtor logic.
226 * config/gthr-vxworks-cond.c: New file. GTHREAD_COND variable
227 support based on VxWorks primitives.
228 * config/gthr-vxworks-thread.c: New file. GTHREAD_CXX0X support
229 based on VxWorks primitives.
230
231 2019-11-06 Jerome Lambourg <lambourg@adacore.com>
232 Olivier Hainque <hainque@adacore.com>
233
234 * config/vxcrtstuff.c: New file.
235 * config/t-vxcrtstuff: New Makefile fragment.
236 * config.host: Append t-vxcrtstuff to the tmake_file list
237 on all VxWorks ports using dwarf for table based EH.
238
239 2019-11-07 Georg-Johann Lay <avr@gjlay.de>
240
241 Support 64-bit double and 64-bit long double configurations.
242
243 PR target/92055
244 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Only add -DF=SF if
245 long double is a 32-bit type.
246 * config/avr/t-avrlibc: Copy double64 and long-double64
247 multilib(s) from the vanilla one.
248 * config/avr/t-copy-libgcc: New Makefile snip.
249
250 2019-11-04 Jozef Lawrynowicz <jozef.l@mittosystems.com>
251
252 * crtstuff.c: Define USE_TM_CLONE_REGISTRY to 0 if it's undefined and
253 the target output object format is not ELF.
254 s/defined(USE_TM_CLONE_REGISTRY)/USE_TM_CLONE_REGISTRY.
255
256 2019-11-03 Oleg Endo <olegendo@gcc.gnu.org>
257
258 PR libgcc/78804
259 * fp-bit.h: Remove FLOAT_BIT_ORDER_MISMATCH.
260 * fp-bit.c (pack_d, unpack_d): Remove special cases for
261 FLOAT_BIT_ORDER_MISMATCH.
262 * config/arc/t-arc: Remove FLOAT_BIT_ORDER_MISMATCH.
263
264 2019-11-01 Jim Wilson <jimw@sifive.com>
265
266 * config/riscv/t-softfp32 (softfp_extra): Add FP divide routines
267
268 2019-10-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
269
270 * config/msp430/lib2hw_mul.S: Fix wrong syntax in branch instruction.
271 s/RESULT_LO/RESLO, s/RESULT_HI/RESHI, s/MPY_OP1/MPY,
272 s/MPY_OP1_S/MPYS, s/MAC_OP1/MAC, s/MPY_OP2/OP2, s/MAC_OP2/OP2.
273 Define symbols for 32-bit and f5series hardware multiply
274 register addresses.
275 Replace hard-coded register addresses with symbols.
276 Fix "_mspabi*" typo.
277 Fix whitespace.
278 * config/msp430/lib2mul.c: Add comment.
279
280 2019-10-15 John David Anglin <danglin@gcc.gnu.org>
281
282 * config/pa/fptr.c (_dl_read_access_allowed): Change argument to
283 unsigned int. Adjust callers.
284 (__canonicalize_funcptr_for_compare): Change plabel type to volatile
285 unsigned int *. Load relocation offset before function pointer.
286 Add barrier to ensure ordering.
287
288 2019-10-12 John David Anglin <danglin@gcc.gnu.org>
289
290 * config/pa/lib2funcs.S (__gcc_plt_call): Load branch target to %r21.
291 Load PIC register after branch target. Fix white space.
292 * config/pa/milli64.S ($$dyncall): Separate LINUX and non LINUX
293 implementations. Load PIC register after branch target. Don't
294 clobber function pointer when it points to function descriptor.
295 Use nullification instead of branch in LINUX implementation.
296
297 2019-10-03 John David Anglin <danglin@gcc.gnu.org>
298
299 * config/pa/fptr.c: Disable -Warray-bounds warning.
300
301 2019-09-25 Richard Henderson <richard.henderson@linaro.org>
302
303 * config.in, configure: Re-rebuild with stock autoconf 2.69,
304 not the ubuntu modified 2.69.
305
306 PR target/91833
307 * config/aarch64/lse-init.c: Include auto-target.h. Disable
308 initialization if !HAVE_SYS_AUXV_H.
309 * configure.ac (AC_CHECK_HEADERS): Add sys/auxv.h.
310 * config.in, configure: Rebuild.
311
312 PR target/91834
313 * config/aarch64/lse.S (LDNM): Ensure STXR output does not
314 overlap the inputs.
315
316 2019-09-25 Shaokun Zhang <zhangshaokun@hisilicon.com>
317
318 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Add support for
319 CTR_EL0.IDC and CTR_EL0.DIC.
320
321 2019-09-20 Christophe Lyon <christophe.lyon@st.com>
322
323 Revert:
324 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
325 Mickaël Guêné <mickael.guene@st.com>
326
327 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
328 architecture.
329
330 2019-09-19 Richard Henderson <richard.henderson@linaro.org>
331
332 * config/aarch64/lse-init.c: New file.
333 * config/aarch64/lse.S: New file.
334 * config/aarch64/t-lse: New file.
335 * config.host: Add t-lse to all aarch64 tuples.
336
337 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
338 Mickaël Guêné <mickael.guene@st.com>
339
340 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
341 architecture.
342
343 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
344 Mickaël Guêné <mickael.guene@st.com>
345
346 * unwind-arm-common.inc (ARM_SET_R7_RT_SIGRETURN)
347 (THUMB2_SET_R7_RT_SIGRETURN, FDPIC_LDR_R12_WITH_FUNCDESC)
348 (FDPIC_LDR_R9_WITH_GOT, FDPIC_LDR_PC_WITH_RESTORER)
349 (FDPIC_FUNCDESC_OFFSET, ARM_NEW_RT_SIGFRAME_UCONTEXT)
350 (ARM_UCONTEXT_SIGCONTEXT, ARM_SIGCONTEXT_R0, FDPIC_T2_LDR_R12_WITH_FUNCDESC)
351 (FDPIC_T2_LDR_R9_WITH_GOT, FDPIC_T2_LDR_PC_WITH_RESTORER): New.
352 (__gnu_personality_sigframe_fdpic): New.
353 (get_eit_entry): Add FDPIC signal frame support.
354
355 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
356 Mickaël Guêné <mickael.guene@st.com>
357
358 * config/arm/linux-atomic.c (__kernel_cmpxchg): Add FDPIC support.
359 (__kernel_dmb): Likewise.
360 (__fdpic_cmpxchg): New function.
361 (__fdpic_dmb): New function.
362 * config/arm/unwind-arm.h (FDPIC_REGNUM): New define.
363 (gnu_Unwind_Find_got): New function.
364 (_Unwind_decode_typeinfo_ptr): Add FDPIC support.
365 * unwind-arm-common.inc (UCB_PR_GOT): New.
366 (funcdesc_t): New struct.
367 (get_eit_entry): Add FDPIC support.
368 (unwind_phase2): Likewise.
369 (unwind_phase2_forced): Likewise.
370 (__gnu_Unwind_RaiseException): Likewise.
371 (__gnu_Unwind_Resume): Likewise.
372 (__gnu_Unwind_Backtrace): Likewise.
373 * unwind-pe.h (read_encoded_value_with_base): Likewise.
374
375 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
376 Mickaël Guêné <mickael.guene@st.com>
377
378 * libgcc/crtstuff.c: Add support for FDPIC.
379
380 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
381
382 * config.host: Handle *-*-uclinuxfdpiceabi.
383
384 2019-09-09 Jose E. Marchesi <jose.marchesi@oracle.com>
385
386 * config.host: Set cpu_type for bpf-*-* targets.
387 * config/bpf/t-bpf: Likewise.
388 * config/bpf/crtn.S: Likewise.
389 * config/bpf/crti.S: New file.
390
391 2019-09-06 Jim Wilson <jimw@sifive.com>
392
393 * config.host (riscv*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
394 (riscv*-*-freebsd*): Likewise.
395
396 2019-09-03 Ulrich Weigand <uweigand@de.ibm.com>
397
398 * config.host: Remove references to spu.
399 * config/spu/: Remove directory.
400
401 2019-08-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
402
403 PR target/91306
404 * crtstuff.c (__CTOR_LIST__): Align to the "__alignof__" the array
405 element type, instead of "sizeof" the element type.
406 (__DTOR_LIST__): Likewise.
407 (__TMC_LIST__): Likewise.
408 (__do_global_dtors_aux_fini_array_entry): Likewise.
409 (__frame_dummy_init_array_entry): Likewise.
410 (__CTOR_END__): Likewise.
411 (__DTOR_END__): Likweise.
412 (__FRAME_END__): Likewise.
413 (__TMC_END__): Likewise.
414
415 2019-08-20 Lili Cui <lilicui@intel.com>
416
417 * config/i386/cpuinfo.h: Add INTEL_COREI7_TIGERLAKE and
418 INTEL_COREI7_COOPERLAKE.
419
420 2019-07-31 Matt Thomas <matt@3am-software.com>
421 Nick Hudson <nick@nthcliff.demon.co.uk>
422 Matthew Green <mrg@eterna.com.au>
423 Maya Rashish <coypu@sdf.org>
424
425 * config.host (hppa*-*-netbsd*): New case.
426 * config/pa/t-netbsd: New file.
427
428 2019-07-31 Joel Hutton <Joel.Hutton@arm.com>
429
430 * config/arm/cmse.c (cmse_check_address_range): Add
431 warn_unused_result attribute.
432
433 2019-07-22 Martin Liska <mliska@suse.cz>
434
435 * config/pa/stublib.c: Remove stub symbol __gnu_lto_v1.
436 * config/pa/t-stublib: Likewise.
437
438 2019-07-22 Stafford Horne <shorne@gmail.com>
439
440 PR target/90362
441 * config/or1k/lib1funcs.S (__udivsi3): Change l.sfeqi
442 to l.sfeq and l.sfltsi to l.sflts equivalents as the immediate
443 instructions are not available on every processor. Change a
444 l.bnf to l.bf to fix logic issue.
445
446 2019-07-04 Iain Sandoe <iain@sandoe.co.uk>
447
448 * config.host: Remove reference to t-darwin8.
449
450 2019-07-03 Iain Sandoe <iain@sandoe.co.uk>
451
452 * config.host (powerpc-*-darwin*,powerpc64-*-darwin*): Revise crt
453 list.
454 * config/rs6000/t-darwin: Build crt3_2 for older systems. Revise
455 mmacosx-version-min for crts to run across all system versions.
456 * config/rs6000/t-darwin64 (LIB2ADD): Remove.
457 * config/t-darwin: Revise mmacosx-version-min for crts to run across
458 system versions >= 10.4.
459
460 2019-07-03 Martin Liska <mliska@suse.cz>
461
462 * Makefile.in: Use topn_values instead of one_value names.
463 * libgcov-merge.c (__gcov_merge_single): Move to ...
464 (__gcov_merge_topn): ... this.
465 (merge_single_value_set): Move to ...
466 (merge_topn_values_set): ... this.
467 * libgcov-profiler.c (__gcov_one_value_profiler_body): Move to
468 ...
469 (__gcov_topn_values_profiler_body): ... this.
470 (__gcov_one_value_profiler_v2): Move to ...
471 (__gcov_topn_values_profiler): ... this.
472 (__gcov_one_value_profiler_v2_atomic): Move to ...
473 (__gcov_topn_values_profiler_atomic): ... this.
474 (__gcov_indirect_call_profiler_v4): Remove.
475 * libgcov-util.c (__gcov_single_counter_op): Move to ...
476 (__gcov_topn_counter_op): ... this.
477 * libgcov.h (L_gcov_merge_single): Remove.
478 (L_gcov_merge_topn): New.
479 (__gcov_merge_single): Remove.
480 (__gcov_merge_topn): New.
481 (__gcov_one_value_profiler_v2): Move to ..
482 (__gcov_topn_values_profiler): ... this.
483 (__gcov_one_value_profiler_v2_atomic): Move to ...
484 (__gcov_topn_values_profiler_atomic): ... this.
485
486 2019-07-03 Martin Liska <mliska@suse.cz>
487
488 * libgcov-merge.c (merge_single_value_set): Support N values.
489 * libgcov-profiler.c (__gcov_one_value_profiler_body): Likewise.
490
491 2019-06-27 Ilia Diachkov <ilia.diachkov@optimitech.com>
492
493 * Makefile.in (USE_TM_CLONE_REGISTRY): New.
494 (CRTSTUFF_CFLAGS): Use USE_TM_CLONE_REGISTRY.
495 * configure.ac: Add --disable-tm-clone-registry option.
496 * configure: Regenerate.
497
498 2019-06-27 Martin Liska <mliska@suse.cz>
499
500 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Remove obviously
501 dead assignments.
502 * libgcov-util.c: Likewise.
503
504 2019-06-27 Martin Liska <mliska@suse.cz>
505
506 * libgcov-util.c (gcov_profile_merge): Release allocated
507 memory.
508 (calculate_overlap): Likewise.
509
510 2019-06-25 Iain Sandoe <iain@sandoe.co.uk>
511
512 * config.host: Add libef_ppc.a to the extra files for powerpc-darwin.
513 * config/rs6000/t-darwin: (PPC_ENDFILE_SRC, PPC_ENDFILE_OBJS): New.
514 Build objects for the out of line save/restore register functions
515 so that they can be used for any supported Darwin version.
516 * config/t-darwin: Default the build Darwin version to Darwin8
517 (MacOS 10.4).
518
519 2019-06-25 Martin Liska <mliska@suse.cz>
520
521 * libgcov-driver-system.c (replace_filename_variables): Do not
522 call strlen with NULL argument.
523
524 2019-06-25 Andrew Stubbs <ams@codesourcery.com>
525
526 * config/gcn/t-amdgcn (LIB2ADD): Add unwind-gcn.c.
527 * config/gcn/unwind-gcn.c: New file.
528
529 2019-06-25 Kwok Cheung Yeung <kcy@codesourcery.com>
530 Andrew Stubbs <ams@codesourcery.com>
531
532 * configure: Regenerate.
533 * config/gcn/gthr-gcn.h: New.
534
535 2019-06-18 Tom de Vries <tdevries@suse.de>
536
537 * config/nvptx/crt0.c (__main): Declare.
538
539 2019-06-17 Matthew Green <mrg@eterna.com.au>
540 Maya Rashish <coypu@sdf.org>
541
542 * config.host (aarch64*-*-netbsd*): New case.
543
544 2019-06-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
545
546 * config/msp430/slli.S (__mspabi_sllll): New library function for
547 performing a logical left shift of a 64-bit value.
548 * config/msp430/srai.S (__mspabi_srall): New library function for
549 performing a arithmetic right shift of a 64-bit value.
550 * config/msp430/srll.S (__mspabi_srlll): New library function for
551 performing a logical right shift of a 64-bit value.
552
553 2019-06-14 Matt Thomas <matt@3am-software.com>
554 Matthew Green <mrg@eterna.com.au>
555 Nick Hudson <skrll@netbsd.org>
556 Maya Rashish <coypu@sdf.org>
557
558 * config.host (arm*-*-netbsdelf*): Add support for EABI configurations.
559 * config/arm/t-netbsd (LIB1ASMFUNCS): Add some additional assembler
560 functions to build.
561 * config/arm/t-netbsd-eabi: New file.
562
563 2019-06-12 Dimitar Dimitrov <dimitar@dinux.eu>
564
565 * config.host: Add PRU target.
566 * config/pru/asri.c: New file.
567 * config/pru/eqd.c: New file.
568 * config/pru/eqf.c: New file.
569 * config/pru/ged.c: New file.
570 * config/pru/gef.c: New file.
571 * config/pru/gtd.c: New file.
572 * config/pru/gtf.c: New file.
573 * config/pru/led.c: New file.
574 * config/pru/lef.c: New file.
575 * config/pru/lib2bitcountHI.c: New file.
576 * config/pru/lib2divHI.c: New file.
577 * config/pru/lib2divQI.c: New file.
578 * config/pru/lib2divSI.c: New file.
579 * config/pru/libgcc-eabi.ver: New file.
580 * config/pru/ltd.c: New file.
581 * config/pru/ltf.c: New file.
582 * config/pru/mpyll.S: New file.
583 * config/pru/pru-abi.h: New file.
584 * config/pru/pru-asm.h: New file.
585 * config/pru/pru-divmod.h: New file.
586 * config/pru/sfp-machine.h: New file.
587 * config/pru/t-pru: New file.
588
589 2019-06-11 Jakub Jelinek <jakub@redhat.com>
590
591 * libgcov-merge.c (__gcov_merge_single): Revert previous change.
592
593 2019-06-10 Martin Liska <mliska@suse.cz>
594
595 PR bootstrap/90808
596 * libgcov.h: Add ATTRIBUTE_UNUSED.
597
598 2019-06-10 Martin Liska <mliska@suse.cz>
599
600 * Makefile.in: Add __gcov_one_value_profiler_v2,
601 __gcov_one_value_profiler_v2_atomic and
602 __gcov_indirect_call_profiler_v4.
603 * libgcov-merge.c (__gcov_merge_single): Change
604 function signature.
605 (merge_single_value_set): New.
606 * libgcov-profiler.c (__gcov_one_value_profiler_body):
607 Update functionality.
608 (__gcov_one_value_profiler): Remove.
609 (__gcov_one_value_profiler_v2): ... this.
610 (__gcov_one_value_profiler_atomic): Rename to ...
611 (__gcov_one_value_profiler_v2_atomic): this.
612 (__gcov_indirect_call_profiler_v3): Rename to ...
613 (__gcov_indirect_call_profiler_v4): ... this.
614 * libgcov.h (__gcov_one_value_profiler): Remove.
615 (__gcov_one_value_profiler_atomic): Remove.
616 (__gcov_one_value_profiler_v2_atomic): New.
617 (__gcov_indirect_call_profiler_v3): Remove.
618 (__gcov_one_value_profiler_v2): New.
619 (__gcov_indirect_call_profiler_v4): New.
620 (gcov_get_counter_ignore_scaling): New function.
621
622 2019-06-07 Martin Liska <mliska@suse.cz>
623
624 * Makefile.in: Remove usage of
625 _gcov_merge_icall_topn.
626 * libgcov-driver.c (gcov_sort_n_vals): Remove.
627 (gcov_sort_icall_topn_counter): Likewise.
628 (gcov_sort_topn_counter_arrays): Likewise.
629 (dump_one_gcov): Remove call to gcov_sort_topn_counter_arrays.
630 * libgcov-merge.c (__gcov_merge_icall_topn): Remove.
631 * libgcov-profiler.c (__gcov_topn_value_profiler_body):
632 Likewise.
633 (GCOV_ICALL_COUNTER_CLEAR_THRESHOLD): Remove.
634 (struct indirect_call_tuple): Remove.
635 (__gcov_indirect_call_topn_profiler): Remove.
636 * libgcov-util.c (__gcov_icall_topn_counter_op): Remove.
637 * libgcov.h (gcov_sort_n_vals): Remove.
638 (L_gcov_merge_icall_topn): Likewise.
639 (__gcov_merge_icall_topn): Likewise.
640 (__gcov_indirect_call_topn_profiler): Likewise.
641
642 2019-06-06 Iain Sandoe <iain@sandoe.co.uk>
643
644 * config/rs6000/t-darwin: Ensure that the unwinder is built with
645 altivec enabled.
646
647 2019-06-06 Jozef Lawrynowicz <jozef.l@mittosystems.com>
648
649 * config/msp430/slli.S (__mspabi_slli_n): Put function in its own
650 section.
651 (__mspabi_slli): Likewise.
652 (__mspabi_slll_n): Likewise.
653 (__mspabi_slll): Likewise.
654 * config/msp430/srai.S (__mspabi_srai_n): Likewise.
655 (__mspabi_srai): Likewise.
656 (__mspabi_sral_n): Likewise.
657 (__mspabi_sral): Likewise.
658 * config/msp430/srli.S (__mspabi_srli_n): Likewise.
659 (__mspabi_srli): Likewise.
660 (__mspabi_srll_n): Likewise.
661 (__mspabi_srll): Likewise.
662
663 2019-06-05 Yoshinori Sato <ysato@users.sourceforge.jp>
664
665 * config.host (rx-*-linux*): Add t-fdpbit to tmake_file
666 Add appropriate tm_file clause as well.
667 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Remove.
668
669 2019-06-05 James Clarke <jrtc27@jrtc27.com>
670
671 * config/ia64/crtbegin.S (__dso_handle): Put in .sdata/.sbss
672 rather than .data/.bss so it can be accessed via gp-relative
673 addressing.
674
675 2019-06-05 David Edelsohn <dje.gcc@gmail.com>
676
677 * config/rs6000/aix-unwind.h (LR_REGNO): Rename to R_LR.
678 (CR2_REGNO): Rename to R_CR2.
679 (XER_REGNO): Rename to R_XER.
680 (FIRST_ALTIVEC_REGNO): Rename to R_FIRST_ALTIVEC.
681 (VRSAVE_REGNO): Rename to R_VRSAVE.
682 (VSCR_REGNO): R_VSCR.
683
684 2019-05-29 Yoshinori Sato <ysato@users.sourceforge.jp>
685
686 * config.host (rx-*-linux*): Add new case.
687 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Force DFmode to SFmode.
688
689 2019-05-29 Sam Tebbs <sam.tebbs@arm.com>
690
691 * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key): New
692 function.
693 * config/aarch64/aarch64-unwind.h (aarch64_post_extract_frame_addr,
694 aarch64_post_frob_eh_handler_addr): Add check for b-key.
695 * config/aarch64/aarch64-unwind-h (aarch64_post_extract_frame_addr,
696 aarch64_post_frob_eh_handler_addr, aarch64_post_frob_update_context):
697 Rename RA_A_SIGNED_BIT to RA_SIGNED_BIT.
698 * unwind-dw2-fde.c (get_cie_encoding): Add check for 'B' in augmentation
699 string.
700 * unwind-dw2.c (extract_cie_info): Add check for 'B' in augmentation
701 string.
702 (RA_A_SIGNED_BIT): Rename to RA_SIGNED_BIT.
703
704 2019-05-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
705
706 * config/sparc/sol2-unwind.h [__arch64__] (sparc64_is_sighandler):
707 Remove Solaris 9 and 10 support.
708 (sparc_is_sighandler): Likewise.
709
710 2019-05-26 John David Anglin <danglin@gcc.gnu.org>
711
712 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Add cast.
713
714 2019-05-17 H.J. Lu <hongjiu.lu@intel.com>
715
716 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
717 4_FP_W_TYPEs are used for IEEE quad precision.
718 * soft-fp/extendhftf2.c: Likewise.
719 * soft-fp/extendsftf2.c: Likewise.
720 * soft-fp/extendxftf2.c: Likewise.
721 * soft-fp/trunctfdf2.c: Likewise.
722 * soft-fp/trunctfhf2.c: Likewise.
723 * soft-fp/trunctfsf2.c: Likewise.
724 * soft-fp/trunctfxf2.c: Likewise.
725 * config/rs6000/ibm-ldouble.c: Likewise.
726
727 2019-05-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
728
729 * config.host: Simplify various *-*-solaris2.1[0-9]* to
730 *-*-solaris2*.
731 * configure.ac: Likewise.
732 * configure: Regenerate.
733
734 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
735 Solaris 10 and Solaris 11 < snv_125 handling.
736
737 2019-05-12 Iain Sandoe <iain@sandoe.co.uk>
738
739 * config/rs6000/darwin-vecsave.S: Set .machine appropriately.
740
741 2019-05-07 Hongtao Liu <hongtao.liu@intel.com>
742
743 * config/i386/cpuinfo.c (get_available_features): Detect BF16.
744 * config/i386/cpuinfo.h (enum processor_features): Add
745 FEATURE_AVX512BF16.
746
747 2019-04-23 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
748 Bernd Edlinger <bernd.edlinger@hotmail.de>
749 Jakub Jelinek <jakub@redhat.com>
750
751 PR target/89093
752 * config/arm/pr-support.c: Add #pragma GCC target("general-regs-only").
753 * config/arm/unwind-arm.c: Likewise.
754 * unwind-c.c (PERSONALITY_FUNCTION): Add general-regs-only target
755 attribute for ARM.
756
757 2019-04-15 Monk Chiang <sh.chiang04@gmail.com>
758
759 * config/nds32/linux-unwind.h (SIGRETURN): Remove.
760 (RT_SIGRETURN): Update.
761 (nds32_fallback_frame_state): Update.
762
763 2019-02-21 Martin Sebor <msebor@redhat.com>
764
765 * libgcc2.h (__clear_cache): Correct signature.
766 * libgcc2.c (__clear_cache): Same.
767
768 2019-02-20 Uroš Bizjak <ubizjak@gmail.com>
769
770 * config/alpha/linux-unwind.h (alpha_fallback_frame_state):
771 Cast 'mcontext_t *' &rt_->uc.uc_mcontext to 'struct sigcontext *'.
772
773 2019-02-19 Uroš Bizjak <ubizjak@gmail.com>
774
775 * unwind-dw2.c (_Unwind_GetGR) [DWARF_ZERO_REG]: Compare
776 regno instead of index to DWARF_ZERO_REG.
777
778 2019-02-15 Eric Botcazou <ebotcazou@adacore.com>
779
780 * config/visium/lib2funcs.c (__set_trampoline_parity): Replace
781 TRAMPOLINE_SIZE with __LIBGCC_TRAMPOLINE_SIZE__.
782
783 2019-01-31 Uroš Bizjak <ubizjak@gmail.com>
784
785 * config/alpha/t-linux: Add -mfp-rounding-mode=d
786 to HOST_LIBGCC2_CFLAGS.
787
788 2019-01-23 Joseph Myers <joseph@codesourcery.com>
789
790 PR libgcc/88931
791 * libgcc2.c (FSTYPE FUNC (DWtype u)): Correct no leading bits case.
792
793 2019-01-18 Martin Liska <mliska@suse.cz>
794
795 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Rename
796 to ...
797 (__gcov_indirect_call_profiler_v3): ... this.
798 * libgcov.h (__gcov_indirect_call_profiler_v2): Likewise.
799 (__gcov_indirect_call_profiler_v3): Likewise.
800 * Makefile.in: Bump function name.
801
802 2019-01-18 Martin Liska <mliska@suse.cz>
803
804 * libgcov-driver.c (GCOV_PROF_PREFIX): Define.
805 (gcov_version): Use in gcov_error.
806 (merge_one_data): Likewise.
807 (dump_one_gcov): Likewise.
808
809 2019-01-18 Martin Liska <mliska@suse.cz>
810
811 * libgcov-driver.c (gcov_version_string): New function.
812 (gcov_version): Convert version integer into string.
813
814 2019-01-17 Andrew Stubbs <ams@codesourcery.com>
815 Kwok Cheung Yeung <kcy@codesourcery.com>
816 Julian Brown <julian@codesourcery.com>
817 Tom de Vries <tom@codesourcery.com>
818
819 * config.host: Recognize amdgcn*-*-amdhsa.
820 * config/gcn/crt0.c: New file.
821 * config/gcn/lib2-divmod-hi.c: New file.
822 * config/gcn/lib2-divmod.c: New file.
823 * config/gcn/lib2-gcn.h: New file.
824 * config/gcn/sfp-machine.h: New file.
825 * config/gcn/t-amdgcn: New file.
826
827 2019-01-09 Sandra Loosemore <sandra@codesourcery.com>
828
829 PR other/16615
830
831 * config/c6x/libunwind.S: Mechanically replace "can not" with
832 "cannot".
833 * config/tilepro/atomic.h: Likewise.
834 * config/vxlib-tls.c: Likewise.
835 * generic-morestack-thread.c: Likewise.
836 * generic-morestack.c: Likewise.
837 * mkmap-symver.awk: Likewise.
838
839 2019-01-01 Jakub Jelinek <jakub@redhat.com>
840
841 Update copyright years.
842
843 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
844
845 * unwind-pe.h (read_encoded_value_with_base): Add GCC pragma
846 to ignore -Waddress-of-packed-member.
847
848 2018-12-19 Thomas Preud'homme <thomas.preudhomme@linaro.org>
849
850 * /config/arm/lib1funcs.S (FUNC_START): Remove unused sp_section
851 parameter and corresponding code.
852 (ARM_FUNC_START): Likewise in both definitions.
853 Also update footer comment about condition that need to match with
854 gcc/config/arm/elf.h to also include libgcc/config/arm/t-arm.
855 * config/arm/ieee754-df.S (muldf3): Also build it if L_arm_muldf3 is
856 defined. Weakly define it in this case.
857 * config/arm/ieee754-sf.S (mulsf3): Likewise with L_arm_mulsf3.
858 * config/arm/t-elf (LIB1ASMFUNCS): Build _arm_muldf3.o and
859 _arm_mulsf3.o before muldiv versions if targeting Thumb-1 only. Add
860 comment to keep condition in sync with the one in
861 libgcc/config/arm/lib1funcs.S and gcc/config/arm/elf.h.
862
863 2018-12-18 Wei Xiao <wei3.xiao@intel.com>
864
865 * config/i386/cpuinfo.c (get_intel_cpu): Handle cascadelake.
866 * config/i386/cpuinfo.h: Add INTEL_COREI7_CASCADELAKE.
867
868 2018-12-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
869
870 * config/rs6000/tramp.S (__trampoline_setup): Also emit .size
871 and .cfi_endproc directives for VxWorks targets.
872
873 2018-12-05 Paul Koning <ni1d@arrl.net>
874
875 * udivmodhi4.c (__udivmodhi4): Fix loop end check.
876
877 2018-11-27 Alan Modra <amodra@gmail.com>
878
879 * config/rs6000/morestack.S (__stack_split_initialize),
880 (__morestack_get_guard, __morestack_set_guard),
881 (__morestack_make_guard): Provide CFI covering these functions.
882 * config/rs6000/tramp.S (__trampoline_setup): Likewise.
883
884 2018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
885
886 * config/csky/linux-unwind.h (sc_pt_regs): Update for kernel.
887 (sc_pt_regs_lr): Update for kernel.
888 (sc_pt_regs_tls): Update for kernel.
889
890 2018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
891
892 * config/csky/linux-unwind.h: Fix coding style.
893
894 2018-11-13 Xianmiao Qu <xianmiao_qu@c-sky.com>
895
896 * config/csky/linux-unwind.h (_sig_ucontext_t): Remove.
897 (csky_fallback_frame_state): Modify the check of the
898 instructions to adapt to changes in the kernel
899
900 2018-11-09 Stafford Horne <shorne@gmail.com>
901 Richard Henderson <rth@twiddle.net>
902
903 * config.host: Add OpenRISC support.
904 * config/or1k/*: New.
905
906 2018-11-08 Kito Cheng <kito@andestech.com>
907
908 * soft-fp/adddf3.c: Update from glibc.
909 * soft-fp/addsf3.c: Likewise.
910 * soft-fp/addtf3.c: Likewise.
911 * soft-fp/divdf3.c: Likewise.
912 * soft-fp/divsf3.c: Likewise.
913 * soft-fp/divtf3.c: Likewise.
914 * soft-fp/double.h: Likewise.
915 * soft-fp/eqdf2.c: Likewise.
916 * soft-fp/eqsf2.c: Likewise.
917 * soft-fp/eqtf2.c: Likewise.
918 * soft-fp/extenddftf2.c: Likewise.
919 * soft-fp/extended.h: Likewise.
920 * soft-fp/extendhftf2.c: Likewise.
921 * soft-fp/extendsfdf2.c: Likewise.
922 * soft-fp/extendsftf2.c: Likewise.
923 * soft-fp/extendxftf2.c: Likewise.
924 * soft-fp/fixdfdi.c: Likewise.
925 * soft-fp/fixdfsi.c: Likewise.
926 * soft-fp/fixdfti.c: Likewise.
927 * soft-fp/fixhfti.c: Likewise.
928 * soft-fp/fixsfdi.c: Likewise.
929 * soft-fp/fixsfsi.c: Likewise.
930 * soft-fp/fixsfti.c: Likewise.
931 * soft-fp/fixtfdi.c: Likewise.
932 * soft-fp/fixtfsi.c: Likewise.
933 * soft-fp/fixtfti.c: Likewise.
934 * soft-fp/fixunsdfdi.c: Likewise.
935 * soft-fp/fixunsdfsi.c: Likewise.
936 * soft-fp/fixunsdfti.c: Likewise.
937 * soft-fp/fixunshfti.c: Likewise.
938 * soft-fp/fixunssfdi.c: Likewise.
939 * soft-fp/fixunssfsi.c: Likewise.
940 * soft-fp/fixunssfti.c: Likewise.
941 * soft-fp/fixunstfdi.c: Likewise.
942 * soft-fp/fixunstfsi.c: Likewise.
943 * soft-fp/fixunstfti.c: Likewise.
944 * soft-fp/floatdidf.c: Likewise.
945 * soft-fp/floatdisf.c: Likewise.
946 * soft-fp/floatditf.c: Likewise.
947 * soft-fp/floatsidf.c: Likewise.
948 * soft-fp/floatsisf.c: Likewise.
949 * soft-fp/floatsitf.c: Likewise.
950 * soft-fp/floattidf.c: Likewise.
951 * soft-fp/floattihf.c: Likewise.
952 * soft-fp/floattisf.c: Likewise.
953 * soft-fp/floattitf.c: Likewise.
954 * soft-fp/floatundidf.c: Likewise.
955 * soft-fp/floatundisf.c: Likewise.
956 * soft-fp/floatunditf.c: Likewise.
957 * soft-fp/floatunsidf.c: Likewise.
958 * soft-fp/floatunsisf.c: Likewise.
959 * soft-fp/floatunsitf.c: Likewise.
960 * soft-fp/floatuntidf.c: Likewise.
961 * soft-fp/floatuntihf.c: Likewise.
962 * soft-fp/floatuntisf.c: Likewise.
963 * soft-fp/floatuntitf.c: Likewise.
964 * soft-fp/gedf2.c: Likewise.
965 * soft-fp/gesf2.c: Likewise.
966 * soft-fp/getf2.c: Likewise.
967 * soft-fp/half.h: Likewise.
968 * soft-fp/ledf2.c: Likewise.
969 * soft-fp/lesf2.c: Likewise.
970 * soft-fp/letf2.c: Likewise.
971 * soft-fp/muldf3.c: Likewise.
972 * soft-fp/mulsf3.c: Likewise.
973 * soft-fp/multf3.c: Likewise.
974 * soft-fp/negdf2.c: Likewise.
975 * soft-fp/negsf2.c: Likewise.
976 * soft-fp/negtf2.c: Likewise.
977 * soft-fp/op-1.h: Likewise.
978 * soft-fp/op-2.h: Likewise.
979 * soft-fp/op-4.h: Likewise.
980 * soft-fp/op-8.h: Likewise.
981 * soft-fp/op-common.h: Likewise.
982 * soft-fp/quad.h: Likewise.
983 * soft-fp/single.h: Likewise.
984 * soft-fp/soft-fp.h: Likewise.
985 * soft-fp/subdf3.c: Likewise.
986 * soft-fp/subsf3.c: Likewise.
987 * soft-fp/subtf3.c: Likewise.
988 * soft-fp/truncdfsf2.c: Likewise.
989 * soft-fp/trunctfdf2.c: Likewise.
990 * soft-fp/trunctfhf2.c: Likewise.
991 * soft-fp/trunctfsf2.c: Likewise.
992 * soft-fp/trunctfxf2.c: Likewise.
993 * soft-fp/unorddf2.c: Likewise.
994 * soft-fp/unordsf2.c: Likewise.
995 * soft-fp/unordtf2.c: Likewise.
996
997 2018-11-04 Venkataramanan Kumar <Venkataramanan.kumar@amd.com>
998
999 * config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
1000 * config/i386/cpuinfo.h (processor_types): Add znver2.
1001
1002 2018-11-01 Paul Koning <ni1d@arrl.net>
1003
1004 * config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c.
1005 (HOST_LIBGCC2_CFLAGS): Change to optimize for size.
1006
1007 2018-10-31 Joseph Myers <joseph@codesourcery.com>
1008
1009 PR bootstrap/82856
1010 * configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
1011 * configure: Regenerate.
1012
1013 2018-10-31 Claudiu Zissulescu <claziss@synopsys.com>
1014
1015 * config/arc/lib1funcs.S (_muldi3): New function.
1016 * config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
1017
1018 2018-10-30 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1019
1020 * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
1021
1022 2018-10-25 Martin Liska <mliska@suse.cz>
1023
1024 PR other/87735
1025 * libgcov-profiler.c: Revert.
1026
1027 2018-10-24 Martin Liska <mliska@suse.cz>
1028
1029 * libgcov-profiler.c: Start from 1 in order to distinguish
1030 functions which were seen and these that were not.
1031
1032 2018-10-18 Paul Koning <ni1d@arrl.net>
1033
1034 * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
1035 standard.
1036 * divmod.c: Update references to __udivmodsi4.
1037 * udivmod.c: Ditto.
1038 * udivhi3.c: New file.
1039 * udivmodhi4.c: New file.
1040 * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
1041
1042 2018-10-17 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1043
1044 * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
1045
1046 2018-10-12 Olivier Hainque <hainque@adacore.com>
1047
1048 * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
1049 defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
1050
1051 2018-10-08 Paul Koning <ni1d@arrl.net>
1052
1053 * config/pdp11/t-pdp11: Remove -mfloat32 switch.
1054
1055 2018-10-04 Martin Liska <mliska@suse.cz>
1056
1057 PR gcov-profile/84107
1058 * libgcov-profiler.c (__gcov_indirect_call):
1059 Change type to indirect_call_tuple.
1060 (struct indirect_call_tuple): New struct.
1061 (__gcov_indirect_call_topn_profiler): Change type.
1062 (__gcov_indirect_call_profiler_v2): Use the new
1063 variables.
1064 * libgcov.h (struct indirect_call_tuple): New struct
1065 definition.
1066
1067 2018-10-03 Uros Bizjak <ubizjak@gmail.com>
1068
1069 * libgcc2.c (isnan): Use __builtin_isnan.
1070 (isfinite): Use __builtin_isfinite.
1071 (isinf): Use __builtin_isinf.
1072
1073 2018-09-26 Uros Bizjak <ubizjak@gmail.com>
1074
1075 * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
1076
1077 2018-09-21 Alexandre Oliva <oliva@adacore.com>
1078
1079 * config/vxcache.c: New file. Provide __clear_cache, based on
1080 the cacheTextUpdate VxWorks service.
1081 * config/t-vxworks (LIB2ADD): Add vxcache.c.
1082 (LIB2FUNCS_EXCLUDE): Add _clear_cache.
1083 * config/t-vxwoks7: Likewise.
1084
1085 2018-09-21 Martin Liska <mliska@suse.cz>
1086
1087 * libgcov-driver.c (crc32_unsigned): Remove.
1088 (gcov_histogram_insert): Likewise.
1089 (gcov_compute_histogram): Likewise.
1090 (compute_summary): Simplify rapidly.
1091 (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
1092 (merge_summary): Rapidly simplify.
1093 (dump_one_gcov): Ignore gcov_summary.
1094 (gcov_do_dump): Do not handle program summary, it's not
1095 used.
1096 * libgcov-util.c (tag_summary): Remove.
1097 (read_gcda_finalize): Fix coding style.
1098 (read_gcda_file): Initialize curr_object_summary.
1099 (compute_summary): Remove.
1100 (calculate_overlap): Remove settings of run_max.
1101
1102 2018-09-21 Monk Chiang <sh.chiang04@gmail.com>
1103
1104 * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
1105 ucontext_t type instead.
1106 (nds32_fallback_frame_state): Remove struct _sigframe statement.
1107
1108 2018-09-21 Kito Cheng <kito.cheng@gmail.com>
1109
1110 * config/nds32/t-nds32-glibc: New file.
1111
1112 2018-09-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1113
1114 * configure.ac (solaris_ld_v2_maps): New test.
1115 * configure: Regenerate.
1116 * Makefile.in (solaris_ld_v2_maps): New variable.
1117 * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
1118 if supported.
1119
1120 2018-08-23 Richard Earnshaw <rearnsha@arm.com>
1121
1122 PR target/86951
1123 * config/arm/lib1funcs.asm (speculation_barrier): New function.
1124 * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
1125 to build.
1126
1127 2018-08-22 Iain Sandoe <iain@sandoe.co.uk>
1128
1129 * config/unwind-dw2-fde-darwin.c
1130 (_darwin10_Unwind_FindEnclosingFunction): move from here ...
1131 * config/darwin10-unwind-find-enc-func.c: … to here.
1132 * config/t-darwin: Build Darwin10 unwinder shim crt.
1133 * libgcc/config.host: Add the Darwin10 unwinder shim.
1134
1135 2018-08-21 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1136
1137 * config.host: Add crtbegin.o and crtend.o for
1138 powerpc-wrs-vxworks target.
1139
1140 2018-08-17 Jojo <jijie_rong@c-sky.com>
1141 Huibin Wang <huibin_wang@c-sky.com>
1142 Sandra Loosemore <sandra@codesourcery.com>
1143 Chung-Lin Tang <cltang@codesourcery.com>
1144
1145 C-SKY port: libgcc
1146
1147 * config.host: Add C-SKY support.
1148 * config/csky/*: New.
1149
1150 2018-08-12 Chung-Ju Wu <jasonwucj@gmail.com>
1151
1152 * config/nds32/t-nds32-isr: Rearrange object dependency.
1153 * config/nds32/initfini.c: Add dwarf2 unwinding support.
1154 * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
1155 and registers usage.
1156 * config/nds32/isr-library/excp_isr.S: Ditto.
1157 * config/nds32/isr-library/intr_isr.S: Ditto.
1158 * config/nds32/isr-library/reset.S: Ditto.
1159 * config/nds32/isr-library/restore_all.inc: Ditto.
1160 * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
1161 * config/nds32/isr-library/restore_partial.inc: Ditto.
1162 * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
1163 * config/nds32/isr-library/save_all.inc: Ditto.
1164 * config/nds32/isr-library/save_mac_regs.inc: Ditto.
1165 * config/nds32/isr-library/save_partial.inc: Ditto.
1166 * config/nds32/isr-library/save_usr_regs.inc: Ditto.
1167 * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
1168
1169 2018-08-11 John David Anglin <danglin@gcc.gnu.org>
1170
1171 * config/pa/linux-atomic.c: Update comment.
1172 (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
1173 COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
1174 SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
1175 __ATOMIC_RELAXED for atomic loads.
1176 (SYNC_LOCK_RELEASE_1): New define. Use __sync_synchronize() and
1177 unordered store to release lock.
1178 (__sync_lock_release_8): Likewise.
1179 (SYNC_LOCK_RELEASE_2): Remove define.
1180
1181 2018-08-02 Nicolas Pitre <nico@fluxnic.net>
1182
1183 PR libgcc/86512
1184 * config/arm/ieee754-df.S: Don't shortcut denormal handling when
1185 exponent goes negative. Update my email address.
1186 * config/arm/ieee754-sf.S: Likewise.
1187
1188 2018-08-01 Martin Liska <mliska@suse.cz>
1189
1190 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
1191 check that __gcov_indirect_call_callee is non-null.
1192
1193 2018-07-30 Christophe Lyon <christophe.lyon@linaro.org>
1194
1195 * config/arm/ieee754-df.S: Fix comment for code working on
1196 architectures >= 4.
1197 * config/arm/ieee754-sf.S: Likewise.
1198
1199 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
1200
1201 PR libgcc/85334
1202 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
1203 Removed.
1204
1205 2018-07-05 James Clarke <jrtc27@jrtc27.com>
1206
1207 * configure: Regenerated.
1208
1209 2018-06-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1210
1211 * Makefile.in (install_leaf): Use enable_gcov instead of
1212 enable_libgcov.
1213
1214 2018-06-27 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1215
1216 * configure.ac: Add --disable-gcov option.
1217 * configure: Regenerate.
1218 * Makefile.in: Honour @enable_gcov@.
1219
1220 2018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
1221
1222 * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
1223 __ARM_ARCH and __ARM_FEATURE_CLZ instead.
1224 (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
1225 * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
1226 __ARM_ARCH__.
1227 * config/arm/ieee754-sf.S: Likewise.
1228 * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
1229
1230 2018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
1231
1232 * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
1233 longer supported.
1234 * config/arm/ieee754-sf.S: Likewise.
1235
1236 2018-06-20 Than McIntosh <thanm@google.com>
1237
1238 PR libgcc/86213
1239 * generic-morestack.c (allocate_segment): Move calls to getenv and
1240 getpagesize to __morestack_load_mmap.
1241 (__morestack_load_mmap) Initialize static_pagesize and
1242 use_guard_page here so as to avoid clobbering SSE regs during a
1243 __morestack call.
1244
1245 2018-06-18 Michael Meissner <meissner@linux.ibm.com>
1246
1247 * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
1248 support modules with -mno-gnu-attribute.
1249 * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
1250
1251 2018-06-07 Olivier Hainque <hainque@adacore.com>
1252
1253 * config/t-vxworks (LIBGCC_INCLUDES): Add
1254 -I$(MULTIBUILDTOP)../../gcc/include.
1255 * config/t-vxworks7: Likewise. Reformat a bit to match
1256 the t-vxworks layout.
1257
1258 2018-06-07 Olga Makhotina <olga.makhotina@intel.com>
1259
1260 * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
1261
1262 2018-06-07 Martin Liska <mliska@suse.cz>
1263
1264 * libgcov-driver.c: Rename cs_all to all and assign it from
1265 all_prg.
1266
1267 2018-06-07 Martin Liska <mliska@suse.cz>
1268
1269 PR bootstrap/86057
1270 * libgcov-driver-system.c (replace_filename_variables): Use
1271 memcpy instead of mempcpy.
1272 (allocate_filename_struct): Do not allocate filename, allocate
1273 prefix and set it.
1274 (gcov_exit_open_gcda_file): Allocate memory for gf->filename
1275 here and properly copy content into it.
1276 * libgcov-driver.c (struct gcov_filename): Remove max_length
1277 field, change prefix from size_t into char *.
1278 (compute_summary): Do not calculate longest filename.
1279 (gcov_do_dump): Release memory of gf.filename after each file.
1280 * libgcov-util.c (compute_summary): Use new signature of
1281 compute_summary.
1282 (calculate_overlap): Likewise.
1283
1284 2018-06-05 Martin Liska <mliska@suse.cz>
1285
1286 PR gcov-profile/47618
1287 * libgcov-driver-system.c (replace_filename_variables): New
1288 function.
1289 (gcov_exit_open_gcda_file): Use it.
1290
1291 2018-06-05 Martin Liska <mliska@suse.cz>
1292
1293 * libgcov-driver.c (gcov_compute_histogram): Remove usage
1294 of gcov_ctr_summary.
1295 (compute_summary): Do it just for a single summary.
1296 (merge_one_data): Likewise.
1297 (merge_summary): Simplify as we read just single summary.
1298 (dump_one_gcov): Pass proper argument.
1299 * libgcov-util.c (compute_one_gcov): Simplify as we have just
1300 single summary.
1301 (gcov_info_count_all_cold): Likewise.
1302 (calculate_overlap): Likewise.
1303
1304 2018-06-02 Chung-Ju Wu <jasonwucj@gmail.com>
1305 Monk Chiang <sh.chiang04@gmail.com>
1306
1307 * config.host (nds32*-linux*): New.
1308 * config/nds32/linux-atomic.c: New file.
1309 * config/nds32/linux-unwind.h: New file.
1310
1311 2018-05-31 Uros Bizjak <ubizjak@gmail.com>
1312
1313 PR target/85591
1314 * config/i386/cpuinfo.c (get_amd_cpu): Return
1315 AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
1316
1317 2018-05-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
1318
1319 * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
1320
1321 2018-05-29 Martin Liska <mliska@suse.cz>
1322
1323 PR gcov-profile/85759
1324 * libgcov-driver-system.c (gcov_error): Introduce usage of
1325 GCOV_EXIT_AT_ERROR env. variable.
1326 * libgcov-driver.c (merge_one_data): Print error that we
1327 overwrite a gcov file with a different timestamp.
1328
1329 2018-05-23 Kalamatee <kalamatee@gmail.com>
1330
1331 * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
1332 path to Lf$finfty.
1333
1334 2018-05-18 Kito Cheng <kito.cheng@gmail.com>
1335 Monk Chiang <sh.chiang04@gmail.com>
1336 Jim Wilson <jimw@sifive.com>
1337
1338 * config/riscv/save-restore.S: Add support for rv32e.
1339
1340 2018-05-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1341
1342 * config/arm/libunwind.S: Update comment relating to armv5.
1343
1344 2018-05-17 Jerome Lambourg <lambourg@adacore.com>
1345
1346 * config/arm/cmse.c (cmse_check_address_range): Replace
1347 UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
1348
1349 2018-05-17 Olga Makhotina <olga.makhotina@intel.com>
1350
1351 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
1352 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
1353
1354 2018-05-08 Olga Makhotina <olga.makhotina@intel.com>
1355
1356 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
1357 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
1358
1359 2018-05-07 Amaan Cheval <amaan.cheval@gmail.com>
1360
1361 * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
1362
1363 2018-04-27 Andreas Tobler <andreast@gcc.gnu.org>
1364 Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
1365
1366 PR libgcc/84292
1367 * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
1368 op_and_fetch to return the right result.
1369
1370 2018-04-27 Alan Modra <amodra@gmail.com>
1371
1372 PR libgcc/85532
1373 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
1374 -fno-asynchronous-unwind-tables.
1375
1376 2018-04-25 Chung-Ju Wu <jasonwucj@gmail.com>
1377
1378 * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
1379 * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
1380
1381 2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
1382
1383 * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
1384 when including "config/i386/shadow-stack-unwind.h".
1385
1386 2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
1387
1388 * configure: Regenerated.
1389
1390 2018-04-20 Michael Meissner <meissner@linux.ibm.com>
1391
1392 PR target/85456
1393 * config/rs6000/_powikf2.c: New file. Add support for the
1394 __builtin_powil function when long double is IEEE 128-bit floating
1395 point.
1396 * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
1397 __powikf2 support.
1398 (__powikf2): Likewise.
1399 * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
1400 (__powikf2_hw): Likewise.
1401 (__powikf2): Likewise.
1402 * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
1403 * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
1404 (_powikf2-hw.c): Likewise.
1405
1406 2018-04-19 H.J. Lu <hongjiu.lu@intel.com>
1407
1408 PR libgcc/85334
1409 * unwind-generic.h (_Unwind_Frames_Increment): New.
1410 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
1411 Likewise.
1412 * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
1413 count with _Unwind_Frames_Increment.
1414 (_Unwind_ForcedUnwind_Phase2): Likewise.
1415
1416 2018-04-19 H.J. Lu <hongjiu.lu@intel.com>
1417
1418 PR libgcc/85379
1419 * config/i386/morestack.S (__stack_split_initialize): Add
1420 _CET_ENDBR.
1421
1422 2018-04-19 Jakub Jelinek <jakub@redhat.com>
1423
1424 * configure: Regenerated.
1425
1426 2018-04-18 David Malcolm <dmalcolm@redhat.com>
1427
1428 PR jit/85384
1429 * configure: Regenerate.
1430
1431 2018-04-16 Jakub Jelinek <jakub@redhat.com>
1432
1433 PR target/84945
1434 * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
1435 -Wdangling-else warnings. Mask shift counts to avoid
1436 -Wshift-count-negative and -Wshift-count-overflow false positives.
1437
1438 2018-04-06 Ruslan Bukin <br@bsdpad.com>
1439
1440 * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
1441
1442 2018-03-29 H.J. Lu <hongjiu.lu@intel.com>
1443
1444 PR target/85100
1445 * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
1446 (XSTATE_FP): Likewise.
1447 (XSTATE_SSE): Likewise.
1448 (XSTATE_YMM): Likewise.
1449 (XSTATE_OPMASK): Likewise.
1450 (XSTATE_ZMM): Likewise.
1451 (XSTATE_HI_ZMM): Likewise.
1452 (XCR_AVX_ENABLED_MASK): Likewise.
1453 (XCR_AVX512F_ENABLED_MASK): Likewise.
1454 (get_available_features): Enable AVX and AVX512 features only
1455 if their states are supported by OSXSAVE.
1456
1457 2018-03-22 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1458
1459 PR target/85025
1460 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
1461 Fix a typo, tmp => 255.
1462
1463 2018-03-20 Jakub Jelinek <jakub@redhat.com>
1464
1465 PR target/84945
1466 * config/i386/cpuinfo.h (__cpu_features2): Declare.
1467 * config/i386/cpuinfo.c (__cpu_features2): New variable for
1468 ifndef SHARED only.
1469 (set_feature): Define.
1470 (get_available_features): Use set_feature macro. Set __cpu_features2
1471 to the second word of features ifndef SHARED.
1472
1473 2018-03-15 Julia Koval <julia.koval@intel.com>
1474
1475 * config/i386/cpuinfo.c (get_available_features): Add
1476 FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
1477 FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
1478 * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
1479 FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
1480 FEATURE_AVX512BITALG.
1481
1482 2018-03-14 Julia Koval <julia.koval@intel.com>
1483
1484 * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
1485 icelake client and icelake server.
1486
1487 2018-03-06 John David Anglin <danglin@gcc.gnu.org>
1488
1489 * config/pa/fptr.c (_dl_read_access_allowed): New.
1490 (__canonicalize_funcptr_for_compare): Use it.
1491
1492 2018-02-28 Jakub Jelinek <jakub@redhat.com>
1493
1494 PR debug/83917
1495 * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
1496 $asm_hidden_op if visibility ("hidden") attribute works.
1497 (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
1498 * config/i386/i386-asm.h: Don't include auto-host.h.
1499 (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
1500 PACKAGE_URL): Don't undefine.
1501 (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
1502 guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
1503 (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
1504 #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
1505 definition instead of hardcoded .hidden.
1506 * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
1507 directive. Use #ifdef HAVE_AS_CFI_SECTIONS rather than
1508 #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
1509 (USE_GAS_CFI_DIRECTIVES): Don't define.
1510 * configure: Regenerated.
1511 * config.in: Likewise.
1512
1513 2018-02-26 Jakub Jelinek <jakub@redhat.com>
1514
1515 PR debug/83917
1516 * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
1517 PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
1518 inclusion of auto-target.h and auto-host.h.
1519 (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
1520 __GCC_HAVE_DWARF2_CFI_ASM.
1521 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
1522 cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
1523 cfi_pop): Define.
1524 * config/i386/cygwin.S: Don't include auto-host.h here, just
1525 define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
1526 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
1527 cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
1528 * config/i386/resms64fx.h: Add cfi_* directives.
1529 * config/i386/resms64x.h: Likewise.
1530
1531 2018-02-20 Max Filippov <jcmvbkbc@gmail.com>
1532
1533 * config/xtensa/ieee754-df.S (__adddf3_aux): Add
1534 .literal_position directive.
1535 * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
1536
1537 2018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1538
1539 PR target/84148
1540 * configure: Regenerate.
1541
1542 2018-02-16 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1543
1544 PR target/84239
1545 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
1546 Include cetintrin.h not x86intrin.h.
1547
1548 2018-02-08 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1549
1550 PR target/84239
1551 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
1552 Use new _get_ssp and _inc_ssp intrinsics.
1553
1554 2018-02-02 Julia Koval <julia.koval@intel.com>
1555
1556 * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
1557
1558 2018-01-26 Claudiu Zissulescu <claziss@synopsys.com>
1559
1560 * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
1561 option.
1562 (__divsi3): Use RF16 safe registers.
1563 (__modsi3): Likewise.
1564
1565 2018-01-23 Max Filippov <jcmvbkbc@gmail.com>
1566
1567 * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
1568 (__divsf3): Make NaN return value quiet.
1569 * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
1570 (__divdf3): Make NaN return value quiet.
1571
1572 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
1573
1574 * config/rl78/anddi3.S: New assembly file.
1575 * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
1576
1577 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
1578
1579 * config/rl78/umindi3.S: New assembly file.
1580 * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
1581
1582 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
1583
1584 * config/rl78/smindi3.S: New assembly file.
1585 * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
1586
1587 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
1588
1589 * config/rl78/smaxdi3.S: New assembly file.
1590 * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
1591
1592 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
1593
1594 * config/rl78/umaxdi3.S: New assembly file.
1595 * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
1596
1597 2018-01-21 John David Anglin <danglin@gcc.gnu.org>
1598
1599 PR lto/83452
1600 * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
1601 * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
1602
1603 2018-01-13 Richard Sandiford <richard.sandiford@linaro.org>
1604
1605 * config/aarch64/value-unwind.h (aarch64_vg): New function.
1606 (DWARF_LAZY_REGISTER_VALUE): Define.
1607 * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
1608 to provide a fallback register value.
1609
1610 2018-01-08 Michael Meissner <meissner@linux.vnet.ibm.com>
1611
1612 * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
1613 __ibm128, instead of trying to use long double.
1614 (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
1615 accomidate -mabi=ieeelongdouble multilibs.
1616 (CVT_IBM128_TO_FLOAT128): Likewise.
1617 * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
1618 the appropriate IBM extended double type.
1619 (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
1620 (__gcc_qsub): Likewise.
1621 (__gcc_qmul): Likewise.
1622 (__gcc_qdiv): Likewise.
1623 (pack_ldouble): Likewise.
1624 (__gcc_qneg): Likewise.
1625 (__gcc_qeq): Likewise.
1626 (__gcc_qne): Likewise.
1627 (__gcc_qge): Likewise.
1628 (__gcc_qle): Likewise.
1629 (__gcc_stoq): Likewise.
1630 (__gcc_dtoq): Likewise.
1631 (__gcc_itoq): Likewise.
1632 (__gcc_utoq): Likewise.
1633 (__gcc_qunord): Likewise.
1634 * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
1635 quad-float128.h for the definitions.
1636 (COPYSIGN): Use the f128 version instead of the q version.
1637 (INFINITY): Likewise.
1638 (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
1639 * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
1640 quad-float128.h for the definitions.
1641 (COPYSIGN): Use the f128 version instead of the q version.
1642 (INFINITY): Likewise.
1643 (FABS): Likewise.
1644 (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
1645 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
1646 * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
1647
1648 2018-01-05 Sebastian Huber <sebastian.huber@embedded-brains.de>
1649
1650 * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
1651 configuration.
1652
1653 2018-01-03 Jakub Jelinek <jakub@redhat.com>
1654
1655 Update copyright years.
1656
1657 2017-12-12 Kito Cheng <kito.cheng@gmail.com>
1658
1659 * config/riscv/t-elf: Use multi3.c instead of multi3.S.
1660 * config/riscv/multi3.c: New file.
1661 * config/riscv/multi3.S: Remove.
1662
1663 2017-12-08 Jim Wilson <jimw@sifive.com>
1664
1665 * config/riscv/div.S: Use FUNC_* macros.
1666 * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
1667 * config/riscv/save-restore.S: Likewise.
1668 * config/riscv/riscv-asm.h: New.
1669
1670 2017-11-30 Michael Meissner <meissner@linux.vnet.ibm.com>
1671
1672 * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
1673 * config/rs6000/_divkc3.c (__divkc3): Likewise.
1674
1675 PR libgcc/83112
1676 * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
1677 correct type for all ifunc resolvers to silence -Wattribute-alias
1678 warnings. Eliminate the forward declaration of the resolver
1679 functions which is no longer needed.
1680 (__subkf3_resolve): Likewise.
1681 (__mulkf3_resolve): Likewise.
1682 (__divkf3_resolve): Likewise.
1683 (__negkf2_resolve): Likewise.
1684 (__eqkf2_resolve): Likewise.
1685 (__nekf2_resolve): Likewise.
1686 (__gekf2_resolve): Likewise.
1687 (__gtkf2_resolve): Likewise.
1688 (__lekf2_resolve): Likewise.
1689 (__ltkf2_resolve): Likewise.
1690 (__unordkf2_resolve): Likewise.
1691 (__extendsfkf2_resolve): Likewise.
1692 (__extenddfkf2_resolve): Likewise.
1693 (__trunckfsf2_resolve): Likewise.
1694 (__trunckfdf2_resolve): Likewise.
1695 (__fixkfsi_resolve): Likewise.
1696 (__fixkfdi_resolve): Likewise.
1697 (__fixunskfsi_resolve): Likewise.
1698 (__fixunskfdi_resolve): Likewise.
1699 (__floatsikf_resolve): Likewise.
1700 (__floatdikf_resolve): Likewise.
1701 (__floatunsikf_resolve): Likewise.
1702 (__floatundikf_resolve): Likewise.
1703 (__extendkftf2_resolve): Likewise.
1704 (__trunctfkf2_resolve): Likewise.
1705
1706 PR libgcc/83103
1707 * config/rs6000/quad-float128.h (TF): Don't define if long double
1708 is IEEE 128-bit floating point.
1709 (TCtype): Define as either TCmode or KCmode, depending on whether
1710 long double is IEEE 128-bit floating point.
1711 (__mulkc3_sw): Add declarations for software/hardware versions of
1712 complex multiply/divide.
1713 (__divkc3_sw): Likewise.
1714 (__mulkc3_hw): Likewise.
1715 (__divkc3_hw): Likewise.
1716 * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
1717 handlers to switch between using software emulation and hardware
1718 float128 instructions, build the complex multiply/divide functions
1719 for both software and hardware support.
1720 * config/rs6000/_divkc3.c (_divkc3): Likewise.
1721 * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
1722 (__divkc3_resolve): Likewise.
1723 (__mulkc3): Likewise.
1724 (__divkc3): Likewise.
1725 * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
1726 (fp128_hw_src): Likewise.
1727 (fp128_hw_static_obj): Likewise.
1728 (fp128_hw_shared_obj): Likewise.
1729 (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
1730 _mulkc3.c and _divkc3.c, changing the function name.
1731 (_divkc3-hw.c): Likewise.
1732 * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
1733 and _divkc3-hw.c.
1734
1735 2017-11-26 Julia Koval <julia.koval@intel.com>
1736
1737 * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
1738 * config/i386/cpuinfo.h (processor_subtypes): Add
1739 INTEL_COREI7_CANNONLAKE.
1740
1741 2017-11-20 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1742
1743 PR bootstrap/83015
1744 * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
1745 parameter.
1746 * config/xtensa/unwind-dw2-xtensa.c: Likewise
1747 * config/ia64/unwind-ia64.c: Add frames parameter.
1748 * unwind-sjlj.c: Likewise.
1749
1750 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1751
1752 * config/i386/linux-unwind.h: Include
1753 config/i386/shadow-stack-unwind.h.
1754 * config/i386/shadow-stack-unwind.h: New file.
1755 * unwind-dw2.c: (uw_install_context): Add a frame parameter and
1756 pass it to _Unwind_Frames_Extra.
1757 * unwind-generic.h (_Unwind_Frames_Extra): New.
1758 * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
1759 parameter. Add local variable frames to count number of frames.
1760 (_Unwind_ForcedUnwind_Phase2): Likewise.
1761 (_Unwind_RaiseException): Add local variable frames to count
1762 number of frames, pass it to _Unwind_RaiseException_Phase2 and
1763 uw_install_context.
1764 (_Unwind_ForcedUnwind): Likewise.
1765 (_Unwind_Resume): Likewise.
1766 (_Unwind_Resume_or_Rethrow): Likewise.
1767
1768 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1769
1770 * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
1771 (CET_FLAGS): New.
1772 * config/i386/morestack.S: Include <cet.h>.
1773 (__morestack_large_model): Add _CET_ENDBR at function entrance.
1774 * config/i386/resms64.h: Include <cet.h>.
1775 * config/i386/resms64f.h: Likewise.
1776 * config/i386/resms64fx.h: Likewise.
1777 * config/i386/resms64x.h: Likewise.
1778 * config/i386/savms64.h: Likewise.
1779 * config/i386/savms64f.h: Likewise.
1780 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
1781 (CRTSTUFF_T_CFLAGS): Likewise.
1782 * configure.ac: Include ../config/cet.m4.
1783 Set and substitute CET_FLAGS.
1784 * configure: Regenerated.
1785
1786 2017-11-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1787
1788 * config.host (*-*-solaris2*): Adapt comment for Solaris 12
1789 renaming.
1790 * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
1791 * configure.ac (libgcc_cv_solaris_crts): Likewise.
1792 * configure: Regenerate.
1793
1794 2017-11-07 Tom de Vries <tom@codesourcery.com>
1795
1796 * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
1797 after "do {} while (0)".
1798
1799 2017-11-07 Tom de Vries <tom@codesourcery.com>
1800
1801 PR other/82784
1802 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
1803 semicolon after "do {} while (0)".
1804 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1805 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1806 * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1807 * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1808
1809 2017-11-04 Andreas Tobler <andreast@gcc.gnu.org>
1810
1811 PR libgcc/82635
1812 * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
1813 sysctl to determine whether we're in a trampoline.
1814 Keep the pattern matching method for systems without
1815 KERN_PROC_SIGTRAMP sysctl.
1816
1817 2017-11-03 Cupertino Miranda <cmiranda@synopsys.com>
1818 Vineet Gupta <vgupta@synopsys.com>
1819
1820 * config.host (arc*-*-linux*): Set md_unwind_header variable.
1821 * config/arc/linux-unwind-reg.def: New file.
1822 * config/arc/linux-unwind-reg.h: Likewise.
1823
1824 2017-10-23 Sebastian Perta <sebastian.perta@renesas.com>
1825
1826 * config/rl78/subdi3.S: New assembly file.
1827 * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
1828
1829 2017-10-13 Sebastian Perta <sebastian.perta@renesas.com>
1830
1831 * config/rl78/adddi3.S: New assembly file.
1832 * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
1833
1834 2017-10-13 Jakub Jelinek <jakub@redhat.com>
1835
1836 PR target/82274
1837 * libgcc2.c (__mulvDI3): If both operands have
1838 the same highpart of -1 and the topmost bit of lowpart is 0,
1839 multiplication overflows even if both lowparts are 0.
1840
1841 2017-09-28 James Bowman <james.bowman@ftdichip.com>
1842
1843 * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
1844
1845 2017-09-26 Joseph Myers <joseph@codesourcery.com>
1846
1847 * config/microblaze/crti.S, config/microblaze/crtn.S,
1848 config/microblaze/divsi3.S, config/microblaze/moddi3.S,
1849 config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
1850 config/microblaze/mulsi3.S,
1851 config/microblaze/stack_overflow_exit.S,
1852 config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
1853 config/pa/milli64.S: Add .note.GNU-stack section.
1854
1855 2017-09-23 Daniel Santos <daniel.santos@pobox.com>
1856
1857 * configure.ac: Add Check for HAVE_AS_AVX.
1858 * config.in: Regenerate.
1859 * configure: Likewise.
1860 * config/i386/i386-asm.h: Include auto-target.h from libgcc.
1861 (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
1862 Correct out-of-date comments.
1863
1864 2017-09-20 Sebastian Peryt <sebastian.peryt@intel.com>
1865
1866 * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
1867 * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
1868
1869 2017-09-17 Daniel Santos <daniel.santos@pobox.com>
1870
1871 * config/i386/i386-asm.h (PASTE2): New macro.
1872 (ASMNAME): Modify to use PASTE2.
1873 (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
1874 (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
1875 * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
1876 instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
1877 * config/i386/resms64f.S: Likewise.
1878 * config/i386/resms64fx.S: Likewise.
1879 * config/i386/resms64x.S: Likewise.
1880 * config/i386/savms64.S: Likewise.
1881 * config/i386/savms64f.S: Likewise.
1882 * config/i386/avx_resms64.S: New file that only defines a macro and
1883 includes it's corresponding header file.
1884 * config/i386/avx_resms64f.S: Likewise.
1885 * config/i386/avx_resms64fx.S: Likewise.
1886 * config/i386/avx_resms64x.S: Likewise.
1887 * config/i386/avx_savms64.S: Likewise.
1888 * config/i386/avx_savms64f.S: Likewise.
1889 * config/i386/sse_resms64.S: Likewise.
1890 * config/i386/sse_resms64f.S: Likewise.
1891 * config/i386/sse_resms64fx.S: Likewise.
1892 * config/i386/sse_resms64x.S: Likewise.
1893 * config/i386/sse_savms64.S: Likewise.
1894 * config/i386/sse_savms64f.S: Likewise.
1895 * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
1896
1897 2017-09-01 Olivier Hainque <hainque@adacore.com>
1898 * config.host (*-*-vxworks7): Widen scope to vxworks7*.
1899
1900 2017-08-31 Olivier Hainque <hainque@adacore.com>
1901
1902 * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
1903 match as powerpc-wrs-vxworks*.
1904
1905 2017-08-07 Jonathan Yong <10walls@gmail.com>
1906
1907 * config.host (*-cygwin): Include file from mingw
1908 config/i386/enable-execute-stack-mingw32.c
1909
1910 2017-08-01 Jerome Lambourg <lambourg@adacore.com>
1911 Doug Rupp <rupp@adacore.com>
1912 Olivier Hainque <hainque@adacore.com>
1913
1914 * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
1915 as well as arm-wrs-vxworks.
1916 * config/arm/t-vxworks7: New file. Add unwind-arm-vxworks.c to
1917 LIB2ADDEH.
1918 * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
1919 __exidx_start and __exidx_end for downloadable modules.
1920
1921 2017-08-01 Olivier Hainque <hainque@adacore.com>
1922
1923 * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
1924 * config/t-vxworks7: Likewise.
1925
1926 2017-08-01 Olivier Hainque <hainque@adacore.com>
1927
1928 * config/t-vxworks: Instead of redefining LIB2ADD,
1929 augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
1930
1931 2017-07-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1932
1933 * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
1934
1935 2017-07-24 Daniel Santos <daniel.santos@pobox.com>
1936
1937 PR testsuite/80759
1938 * config.host: include i386/t-msabi for darwin and solaris.
1939 * config/i386/i386-asm.h
1940 (ELFFN): Rename to FN_TYPE.
1941 (FN_SIZE): New macro.
1942 (FN_HIDDEN): Likewise.
1943 (ASMNAME): Likewise.
1944 (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
1945 .globl.
1946 (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
1947 (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
1948 * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
1949 .macro.
1950 * config/i386/resms64f.S: Likewise.
1951 * config/i386/resms64fx.S: Likewise.
1952 * config/i386/resms64x.S: Likewise.
1953 * config/i386/savms64.S: Likewise.
1954 * config/i386/savms64f.S: Likewise.
1955
1956 2017-07-19 John Marino <gnugcc@marino.st>
1957
1958 * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
1959
1960 2017-07-12 Michael Meissner <meissner@linux.vnet.ibm.com>
1961
1962 PR target/81193
1963 * configure.ac (PowerPC float128 hardware support): Test whether
1964 we can use __builtin_cpu_supports before enabling the ifunc
1965 handler.
1966 * configure: Regenerate.
1967
1968 2017-07-10 Vineet Gupta <vgupta@synopsys.com>
1969
1970 * config.host: Remove uclibc from arc target spec.
1971
1972 2017-07-09 Krister Walfridsson <krister.walfridsson@gmail.com>
1973
1974 * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
1975
1976 2017-07-07 Peter Bergner <bergner@vnet.ibm.com>
1977
1978 * config/rs6000/float128-ifunc.c: Don't include auxv.h.
1979 (have_ieee_hw_p): Delete function.
1980 (SW_OR_HW) Use __builtin_cpu_supports().
1981
1982 2017-07-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
1983
1984 * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
1985
1986 2017-07-03 Olivier Hainque <hainque@adacore.com>
1987
1988 * config/t-vxworks7: New file, really.
1989
1990 2017-06-28 Joseph Myers <joseph@codesourcery.com>
1991
1992 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
1993 config/alpha/linux-unwind.h (alpha_fallback_frame_state),
1994 config/bfin/linux-unwind.h (bfin_fallback_frame_state),
1995 config/i386/linux-unwind.h (x86_64_fallback_frame_state,
1996 x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
1997 uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
1998 config/pa/linux-unwind.h (pa32_fallback_frame_state),
1999 config/riscv/linux-unwind.h (riscv_fallback_frame_state),
2000 config/sh/linux-unwind.h (sh_fallback_frame_state),
2001 config/tilepro/linux-unwind.h (tile_fallback_frame_state),
2002 config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
2003 ucontext_t instead of struct ucontext.
2004
2005 2017-06-27 Jerome Lambourg <lambourg@adacore.com>
2006
2007 * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
2008 (x86_64-wrs-vxworks7): Likewise.
2009
2010 2017-06-27 Olivier Hainque <hainque@adacore.com>
2011
2012 * config/t-vxworks7: New file.
2013 * config.host (*-*-vxworks7): Use it.
2014
2015 2017-06-22 Matt Turner <mattst88@gmail.com>
2016
2017 * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
2018 skylake case.
2019
2020 2017-06-21 Richard Biener <rguenther@suse.de>
2021
2022 PR gcov-profile/81080
2023 * configure.ac: Add AC_SYS_LARGEFILE.
2024 * libgcov.h: Include auto-target.h before tsystem.h to pick
2025 up _FILE_OFFSET_BITS which might differ for multilibs.
2026 * config.in: Regenerate.
2027 * configure: Likewise.
2028
2029 2017-06-16 Richard Earnshaw <rearnsha@arm.com>
2030
2031 * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
2032
2033 2017-06-09 Martin Liska <mliska@suse.cz>
2034
2035 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
2036 Reset __gcov_indirect_call_callee to NULL.
2037
2038 2017-06-08 Olivier Hainque <hainque@adacore.com>
2039
2040 * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
2041 the set of -I options, support for direct inclusions of net/uio.h
2042 by VxWorks header files via ioLib.h.
2043
2044 2017-06-07 Tony Reix <tony.reix@atos.net>
2045 Matthieu Sarter <matthieu.sarter.external@atos.net>
2046 David Edelsohn <dje.gcc@gmail.com>
2047
2048 * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
2049 unconditionally.
2050 (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support. Add 32-bit
2051 AIX 7.2 support.
2052
2053 2017-06-02 Olivier Hainque <hainque@adacore.com>
2054
2055 * config/vxlib.c (__gthread_once): Add missing value to
2056 return statement.
2057
2058 2017-05-30 Olivier Hainque <hainque@adacore.com>
2059
2060 * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
2061 dollar sign before $(MULTIDIR).
2062
2063 2017-05-26 Richard Henderson <rth@redhat.com>
2064
2065 PR libgcc/80037
2066 * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
2067
2068 2017-05-17 Andreas Tobler <andreast@gcc.gnu.org>
2069
2070 * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
2071 _Unwind_SetIP available as functions for arm*-*-freebsd*.
2072 * config/arm/unwind-arm.c: Implement the above.
2073
2074 2017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2075
2076 * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
2077 section for a non-executable stack.
2078
2079 2017-05-14 Krister Walfridsson <krister.walfridsson@gmail.com>
2080
2081 PR target/80600
2082 * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
2083
2084 2017-05-14 Daniel Santos <daniel.santos@pobox.com>
2085
2086 * config.host: Add i386/t-msabi to i386/t-linux file list.
2087 * config/i386/i386-asm.h: New file.
2088 * config/i386/resms64.S: New file.
2089 * config/i386/resms64f.S: New file.
2090 * config/i386/resms64fx.S: New file.
2091 * config/i386/resms64x.S: New file.
2092 * config/i386/savms64.S: New file.
2093 * config/i386/savms64f.S: New file.
2094 * config/i386/t-msabi: New file.
2095
2096 2017-05-09 Andreas Tobler <andreast@gcc.gnu.org>
2097
2098 * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
2099 arm*-*-freebsd* instead of the t-slibgcc-libgcc.
2100
2101 2017-05-05 Joshua Conner <joshconner@google.com>
2102
2103 * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
2104 pc-relative indirect handling for fuchsia.
2105 * config/t-slibgcc-fuchsia: New file.
2106 * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
2107 x86_64-*-fuchsia*): Add definitions.
2108
2109 2017-04-19 Martin Liska <mliska@suse.cz>
2110
2111 PR gcov-profile/80435
2112 * Makefile.in: Install gcov.h.
2113 * gcov.h: New file.
2114 * libgcov.h: Use the header and make __gcov_flush publicly
2115 visible.
2116
2117 2017-04-18 Martin Liska <mliska@suse.cz>
2118
2119 PR gcov-profile/78783
2120 * libgcov-driver.c (gcov_get_filename): New function.
2121
2122 2017-04-07 Jeff Law <law@redhat.com>
2123
2124 * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
2125 target makefile fragment.
2126 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
2127
2128 2017-04-07 Alan Modra <amodra@gmail.com>
2129
2130 PR target/45053
2131 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
2132
2133 2017-04-03 Jonathan Wakely <jwakely@redhat.com>
2134
2135 * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
2136
2137 2017-03-27 Claudiu Zissulescu <claziss@synopsys.com>
2138
2139 * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
2140
2141 2017-03-10 John Marino <gnugcc@marino.st>
2142
2143 * config/aarch64/freebsd-unwind.h: New file.
2144 * config.host: Add aarch64-*-freebsd unwinder.
2145
2146 2017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
2147
2148 * config/rs6000/crtrestvr.s: Use .machine altivec.
2149 * config/rs6000/crtsavevr.s: Ditto.
2150
2151 2017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
2152
2153 * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
2154 modify CFLAGS. Add -mabi=altivec -mvsx -mfloat128.
2155 (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
2156 -mfloat128-hardware to the CFLAGS. Fix syntax error in the C snippet.
2157 * configure: Regenerate.
2158 * config.in: Regenerate.
2159
2160 2017-03-02 Jonathan Yong <10walls@gmail.com>
2161
2162 * config/i386/gthr-win32.h: Define NOGDI before
2163 windows.h include to prevent w32api CC_NONE macro
2164 clash with libgfortran.
2165
2166 2017-03-02 Jonathan Yong <10walls@gmail.com>
2167
2168 * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
2169
2170 2017-02-16 Andrew Pinski <apinski@cavium.com>
2171
2172 * config/aarch64/value-unwind.h: New file.
2173 * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
2174 to tm_file.
2175
2176 2017-02-06 Palmer Dabbelt <palmer@dabbelt.com>
2177
2178 * config.host: Add RISC-V tuples.
2179 * config/riscv/atomic.c: New file.
2180 * config/riscv/crti.S: Likewise.
2181 * config/riscv/crtn.S: Likewise.
2182 * config/riscv/div.S: Likewise.
2183 * config/riscv/linux-unwind.h: Likewise.
2184 * config/riscv/muldi3.S: Likewise.
2185 * config/riscv/multi3.S: Likewise.
2186 * config/riscv/save-restore.S: Likewise.
2187 * config/riscv/sfp-machine.h: Likewise.
2188 * config/riscv/t-elf: Likewise.
2189 * config/riscv/t-elf32: Likewise.
2190 * config/riscv/t-elf64: Likewise.
2191 * config/riscv/t-softfp32: Likewise.
2192 * config/riscv/t-softfp64: Likewise.
2193
2194 2017-01-24 Jakub Jelinek <jakub@redhat.com>
2195
2196 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
2197 /* FALLTHRU */ comments.
2198
2199 2017-01-21 Gerald Pfeifer <gerald@pfeifer.com>
2200
2201 * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
2202
2203 2017-01-20 Jiong Wang <jiong.wang@arm.com>
2204
2205 * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
2206 * unwind-dw2.c (execute_cfa_program): Only multiplexing
2207 DW_CFA_GNU_window_save for AArch64 and LP64.
2208
2209 2017-01-20 Jiong Wang <jiong.wang@arm.com>
2210
2211 * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
2212
2213 2017-01-19 Jiong Wang <jiong.wang@arm.com>
2214
2215 * config/aarch64/aarch64-unwind.h: New file.
2216 (DWARF_REGNUM_AARCH64_RA_STATE): Define.
2217 (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
2218 (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
2219 (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
2220 (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
2221 (aarch64_post_extract_frame_addr): New function.
2222 (aarch64_post_frob_eh_handler_addr): New function.
2223 (aarch64_frob_update_context): New function.
2224 * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
2225 * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
2226 aarch64*-*-freebsd*):
2227 Initialize md_unwind_header to include aarch64-unwind.h.
2228 * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
2229 (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
2230 __aarch64__.
2231 (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
2232 (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
2233 (uw_frob_return_addr): New function.
2234 (uw_install_context): Use uw_frob_return_addr.
2235
2236 2017-01-17 Jakub Jelinek <jakub@redhat.com>
2237
2238 PR other/79046
2239 * configure.ac: Add GCC_BASE_VER.
2240 * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
2241 version from BASE-VER file.
2242 * configure: Regenerated.
2243
2244 2017-01-13 Joe Seymour <joe.s@somniumtech.com>
2245
2246 * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
2247 libmul_f5.a): Filter archived prerequisites.
2248
2249 2017-01-10 Andrew Senkevich <andrew.senkevich@intel.com>
2250
2251 * config/i386/cpuinfo.h (processor_features): Add
2252 FEATURE_AVX512VPOPCNTDQ.
2253 * config/i386/cpuinfo.c (get_available_features): Habdle new
2254 feature.
2255
2256 2017-01-04 Joseph Myers <joseph@codesourcery.com>
2257
2258 * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
2259 payload if [__mips_nan2008].
2260
2261 2017-01-04 Alan Modra <amodra@gmail.com>
2262
2263 * Makefile.in (configure_deps): Update.
2264 * configure: Regenerate.
2265
2266 2017-01-01 Jakub Jelinek <jakub@redhat.com>
2267
2268 Update copyright years.
2269
2270 2016-12-19 Krister Walfridsson <krister.walfridsson@gmail.com>
2271
2272 * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
2273 * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
2274 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
2275
2276 2016-12-17 Matthias Klose <doko@ubuntu.com>
2277
2278 * config/arc/gmon: Remove empty directory.
2279
2280 2016-12-16 Claudiu Zissulescu <claziss@synopsys.com>
2281
2282 * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
2283 crtgend.
2284 (arc*-*-elf*): Likewise.
2285 * config/arc/t-arc: Remove old gmon lib targets.
2286 * config/arc/crtg.S: Remove.
2287 * config/arc/crtgend.S: Likewise.
2288 * config/arc/gmon/atomic.h: Likewise.
2289 * config/arc/gmon/auxreg.h: Likewise.
2290 * config/arc/gmon/dcache_linesz.S: Likewise.
2291 * config/arc/gmon/gmon.c: Likewise.
2292 * config/arc/gmon/machine-gmon.h: Likewise.
2293 * config/arc/gmon/mcount.c: Likewise.
2294 * config/arc/gmon/prof-freq-stub.S: Likewise.
2295 * config/arc/gmon/prof-freq.c: Likewise.
2296 * config/arc/gmon/profil.S: Likewise.
2297 * config/arc/gmon/sys/gmon.h: Likewise.
2298 * config/arc/gmon/sys/gmon_out.h: Likewise.
2299 * config/arc/t-arc-newlib: Likewise.
2300 * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
2301
2302 2016-12-12 George Spelvin <linux@sciencehorizons.net>
2303
2304 * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
2305
2306 2016-12-12 George Spelvin <linux@sciencehorizons.net>
2307
2308 * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
2309 R16 instead of push + pop.
2310 (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
2311
2312 2016-12-10 Krister Walfridsson <krister.walfridsson@gmail.com>
2313
2314 * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
2315 tmake_file.
2316
2317 2016-12-05 Cupertino Miranda <cmiranda@synopsys.com>
2318
2319 * config.host (arc*-*-linux-uclibc*): Use default extra
2320 objects. Include linux-android header.
2321 * config/arc/crti.S (_init): Declare symbol as function.
2322 (_fini): Likewise.
2323
2324 2016-12-03 Thomas Koenig <tkoenig@gcc.gnu.org>
2325
2326 PR fortran/78379
2327 * config/i386/cpuinfo.c: Move denums for processor vendors,
2328 processor type, processor subtypes and declaration of
2329 struct __processor_model into
2330 * config/i386/cpuinfo.h: New header file.
2331
2332 2016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
2333 Thomas Preud'homme <thomas.preudhomme@arm.com>
2334
2335 * config/arm/cmse_nonsecure_call.S: New.
2336 * config/arm/t-arm: Compile cmse_nonsecure_call.S
2337
2338 2016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
2339 Thomas Preud'homme <thomas.preudhomme@arm.com>
2340
2341 * config/arm/t-arm (HAVE_CMSE): New.
2342 * config/arm/cmse.c: New.
2343
2344 2016-11-28 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2345
2346 PR gcc/74748
2347 * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
2348 use generic linker version information on Blackfin.
2349
2350 PR gcc/74748
2351 * libgcc/mkmap-symver.awk: add support for skip_underscore
2352
2353 2016-11-27 Iain Sandoe <iain@codesourcery.com>
2354 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2355
2356 PR target/67710
2357 * config/t-darwin: Default builds to 10.5 codegen.
2358
2359 2016-11-24 James Greenhalgh <james.greenhalgh@arm.com>
2360
2361 * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
2362 (_FP_NANSIGN_H): Likewise.
2363 * config/aarch64/t-softfp (softfp_extensions): Add hftf.
2364 (softfp_truncations): Add tfhf.
2365 (softfp_extras): Add required conversion functions.
2366
2367 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
2368 Matthew Wahab <matthew.wahab@arm.com>
2369
2370 * config/arm/fp16.c (binary64): New.
2371 (__gnu_d2h_internal): New.
2372 (__gnu_d2h_ieee): New.
2373 (__gnu_d2h_alternative): New.
2374
2375 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
2376 Matthew Wahab <matthew.wahab@arm.com>
2377
2378 * config/arm/fp16.c (struct format): New.
2379 (binary32): New.
2380 (__gnu_float2h_internal): New. Body moved from
2381 __gnu_f2h_internal and generalize.
2382 (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
2383 Call it with binary32.
2384
2385 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
2386
2387 * soft-fp/extendhftf2.c: Update from glibc.
2388 * soft-fp/fixhfti.c: Likewise.
2389 * soft-fp/fixunshfti.c: Likewise.
2390 * soft-fp/floattihf.c: Likewise.
2391 * soft-fp/floatuntihf.c: Likewise.
2392 * soft-fp/half.h: Likewise.
2393 * soft-fp/trunctfhf2.c: Likewise.
2394
2395 2016-11-20 Marc Glisse <marc.glisse@inria.fr>
2396
2397 PR libgcc/77813
2398 * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
2399 __TMC_END__ behind a passthrough asm.
2400
2401 2016-11-18 Walter Lee <walt@tilera.com>
2402
2403 * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
2404
2405 2016-11-17 Andrew Senkevich <andrew.senkevich@intel.com>
2406
2407 * config/i386/cpuinfo.c (processor_features): Add
2408 FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
2409
2410 2016-11-17 Claudiu Zissulescu <claziss@synopsys.com>
2411
2412 * config/arc/dp-hack.h (ARC_OPTFPE): Define.
2413 (__ARC_NORM__): Use instead ARC_OPTFPE.
2414 * config/arc/fp-hack.h: Likewise.
2415 * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
2416 (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
2417
2418 2016-11-16 Alexander Monakov <amonakov@ispras.ru>
2419
2420 * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
2421 * config/nvptx/mgomp.c: New file.
2422 * config/nvptx/t-nvptx: Add mgomp.c
2423
2424 2016-11-16 Waldemar Brodkorb <wbx@openadk.org>
2425
2426 PR libgcc/68468
2427 * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
2428
2429 2016-11-15 Claudiu Zissulescu <claziss@synopsys.com>
2430
2431 * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
2432 of checking for cpus.
2433 (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
2434 (__modsi3, __clzsi2): Likewise.
2435
2436 2016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
2437
2438 * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
2439 i386/t-cpuinfo-static instead of i386/t-cpuinfo.
2440 * config/i386/t-cpuinfo-static: New.
2441
2442 2016-11-03 Martin Liska <mliska@suse.cz>
2443
2444 * libgcov-profiler.c (__gcov_time_profiler): Remove.
2445 (__gcov_time_profiler_atomic): Likewise.
2446
2447 2016-11-03 Bernd Edlinger <bernd.edlinger@hotmail.de>
2448
2449 PR libgcc/78067
2450 * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
2451 count_leading_zeros.
2452
2453 2016-11-02 Uros Bizjak <ubizjak@gmail.com>
2454
2455 * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
2456 * libgcc2.c (__divmoddi4): New function.
2457 * libgcc2.h (__divmoddi4): Declare.
2458 * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
2459 and __PFX_divmodti4.
2460
2461 2016-10-24 Florian Weimer <fweimer@redhat.com>
2462
2463 PR libgcc/78064
2464 * unwind-c.c: Include auto-target.h.
2465
2466 2016-10-19 John David Anglin <danglin@gcc.gnu.org>
2467
2468 * config/pa/pa64-hpux-lib.h: New file.
2469 (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
2470 (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
2471 * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
2472 hppa*64*-*-hpux11*.
2473
2474 2016-10-18 Max Filippov <jcmvbkbc@gmail.com>
2475
2476 * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
2477 definition.
2478 * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
2479 definition.
2480 * config/xtensa/t-windowed (LIB2ADDEH): Use
2481 LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
2482 or xtensa/t-linux.
2483
2484 2016-10-18 Ding-Kai Chen <dkchen@cadence.com>
2485
2486 * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
2487 __ieee754_sqrt): New functions.
2488 (__divdf3): Add implementation with new FPU instructions under
2489 #if XCHAL_HAVE_DFP_DIV.
2490 * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
2491 __ieee754_sqrtf): New functions.
2492 (__divsf3): Add implementation with new FPU instructions under
2493 #if XCHAL_HAVE_FP_DIV.
2494 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
2495 _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
2496
2497 2016-10-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
2498
2499 * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
2500 equivalent.
2501 * config/tilepro/atomic.c: Likewise and stop casting model to
2502 enum memmodel.
2503
2504 2016-10-10 Joseph Myers <joseph@codesourcery.com>
2505
2506 PR target/77586
2507 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
2508 soft-fp.
2509
2510 2016-10-10 Andreas Tobler <andreast@gcc.gnu.org>
2511
2512 * config.host: Add support for aarch64-*-freebsd*.
2513
2514 2016-10-05 Andreas Schwab <schwab@suse.de>
2515
2516 * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
2517 (.section .init_array): Don't call __do_jv_register_classes.
2518 (.section .init): Likewise.
2519
2520 2016-10-04 Jakub Jelinek <jakub@redhat.com>
2521
2522 * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
2523 (__JCR_LIST__): Remove.
2524 (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
2525 * config/i386/cygming-crtend.c (__JCR_END__): Remove.
2526 * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
2527 * config/ia64/crtend.S (__JCR_END__): Remove.
2528 * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
2529 conditionals.
2530 (__JCR_LIST__, __JCR_END__): Remove.
2531 (frame_dummy): Don't attempt to _Jv_RegisterClasses.
2532 (__do_global_ctors_1): Likewise.
2533
2534 2015-09-28 Uros Bizjak <ubizjak@gmail.com>
2535
2536 * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
2537 (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
2538
2539 2016-09-27 Martin Liska <mliska@suse.cz>
2540
2541 PR gcov-profile/7970
2542 PR gcov-profile/16855
2543 PR gcov-profile/44779
2544 * libgcov-driver.c (__gcov_init): Do not register a atexit
2545 handler.
2546 (__gcov_exit): Rename from gcov_exit.
2547 * libgcov.h (__gcov_exit): Declare.
2548
2549 2016-09-27 Martin Liska <mliska@suse.cz>
2550
2551 PR bootstrap/77749
2552 * Makefile.in: Remove _gcov_merge_delta.
2553 * libgcov-merge.c (void __gcov_merge_delta): Remove.
2554 * libgcov-util.c (__gcov_delta_counter_op): Remove.
2555 * libgcov.h: Remove declaration of __gcov_merge_delta.
2556
2557 2016-09-21 Eric Botcazou <ebotcazou@adacore.com>
2558
2559 * configure.ac: Do not create links, only substitute the filenames.
2560 * configure: Regenerate.
2561 * Makefile.in: Assign the substitution results to variables.
2562 (LIBGCC_LINKS): Define.
2563 (enable-execute-stack.c): New rule.
2564 (unwind.h): Likewise.
2565 (md-unwind-support.h): Likewise.
2566 (sfp-machine.h): Likewise.
2567 (gthr-default.h): Likewise.
2568 Add $(LIBGCC_LINKS) to the prerequisites of all object files and
2569 unwind.h as prerequisite of install-unwind_h-forbuild.
2570
2571 2016-09-16 Jakub Jelinek <jakub@redhat.com>
2572
2573 PR libgcc/71744
2574 * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
2575 is not the primary registry and atomics are available.
2576 (any_objects_registered): New variable.
2577 (__register_frame_info_bases, __register_frame_info_table_bases):
2578 Atomically store 1 to any_objects_registered after registering first
2579 unwind info.
2580 (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
2581
2582 2016-09-09 James Greenhalgh <james.greenhalgh@arm.com>
2583
2584 PR target/63250
2585 * Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
2586 * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
2587 (HFtype): Likewise.
2588 (HCtype): Likewise.
2589 (__divhc3): Likewise.
2590 (__mulhc3): Likewise.
2591 * libgcc2.c: Support _mulhc3 and _divhc3.
2592
2593 2016-09-07 Joseph Myers <joseph@codesourcery.com>
2594
2595 PR libgcc/77519
2596 * libgcc2.c (NOTRUNC): Invert settings.
2597
2598 2016-09-06 Martin Liska <mliska@suse.cz>
2599
2600 PR gcov-profile/77378
2601 PR gcov-profile/77466
2602 * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
2603 conditionaly enable/disable *_atomic functions.
2604
2605 2016-08-26 Joseph Myers <joseph@codesourcery.com>
2606
2607 * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
2608 where not already enabled.
2609
2610 2016-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
2611
2612 * config/mips/linux-unwind.h: Use sys/syscall.h.
2613
2614 2016-08-16 Joseph Myers <joseph@codesourcery.com>
2615
2616 PR libgcc/77265
2617 * soft-fp/adddf3.c: Update from glibc.
2618 * soft-fp/addsf3.c: Likewise.
2619 * soft-fp/addtf3.c: Likewise.
2620 * soft-fp/divdf3.c: Likewise.
2621 * soft-fp/divsf3.c: Likewise.
2622 * soft-fp/divtf3.c: Likewise.
2623 * soft-fp/double.h: Likewise.
2624 * soft-fp/eqdf2.c: Likewise.
2625 * soft-fp/eqsf2.c: Likewise.
2626 * soft-fp/eqtf2.c: Likewise.
2627 * soft-fp/extenddftf2.c: Likewise.
2628 * soft-fp/extended.h: Likewise.
2629 * soft-fp/extendsfdf2.c: Likewise.
2630 * soft-fp/extendsftf2.c: Likewise.
2631 * soft-fp/extendxftf2.c: Likewise.
2632 * soft-fp/fixdfdi.c: Likewise.
2633 * soft-fp/fixdfsi.c: Likewise.
2634 * soft-fp/fixdfti.c: Likewise.
2635 * soft-fp/fixsfdi.c: Likewise.
2636 * soft-fp/fixsfsi.c: Likewise.
2637 * soft-fp/fixsfti.c: Likewise.
2638 * soft-fp/fixtfdi.c: Likewise.
2639 * soft-fp/fixtfsi.c: Likewise.
2640 * soft-fp/fixtfti.c: Likewise.
2641 * soft-fp/fixunsdfdi.c: Likewise.
2642 * soft-fp/fixunsdfsi.c: Likewise.
2643 * soft-fp/fixunsdfti.c: Likewise.
2644 * soft-fp/fixunssfdi.c: Likewise.
2645 * soft-fp/fixunssfsi.c: Likewise.
2646 * soft-fp/fixunssfti.c: Likewise.
2647 * soft-fp/fixunstfdi.c: Likewise.
2648 * soft-fp/fixunstfsi.c: Likewise.
2649 * soft-fp/fixunstfti.c: Likewise.
2650 * soft-fp/floatdidf.c: Likewise.
2651 * soft-fp/floatdisf.c: Likewise.
2652 * soft-fp/floatditf.c: Likewise.
2653 * soft-fp/floatsidf.c: Likewise.
2654 * soft-fp/floatsisf.c: Likewise.
2655 * soft-fp/floatsitf.c: Likewise.
2656 * soft-fp/floattidf.c: Likewise.
2657 * soft-fp/floattisf.c: Likewise.
2658 * soft-fp/floattitf.c: Likewise.
2659 * soft-fp/floatundidf.c: Likewise.
2660 * soft-fp/floatundisf.c: Likewise.
2661 * soft-fp/floatunditf.c: Likewise.
2662 * soft-fp/floatunsidf.c: Likewise.
2663 * soft-fp/floatunsisf.c: Likewise.
2664 * soft-fp/floatunsitf.c: Likewise.
2665 * soft-fp/floatuntidf.c: Likewise.
2666 * soft-fp/floatuntisf.c: Likewise.
2667 * soft-fp/floatuntitf.c: Likewise.
2668 * soft-fp/gedf2.c: Likewise.
2669 * soft-fp/gesf2.c: Likewise.
2670 * soft-fp/getf2.c: Likewise.
2671 * soft-fp/ledf2.c: Likewise.
2672 * soft-fp/lesf2.c: Likewise.
2673 * soft-fp/letf2.c: Likewise.
2674 * soft-fp/muldf3.c: Likewise.
2675 * soft-fp/mulsf3.c: Likewise.
2676 * soft-fp/multf3.c: Likewise.
2677 * soft-fp/negdf2.c: Likewise.
2678 * soft-fp/negsf2.c: Likewise.
2679 * soft-fp/negtf2.c: Likewise.
2680 * soft-fp/op-1.h: Likewise.
2681 * soft-fp/op-2.h: Likewise.
2682 * soft-fp/op-4.h: Likewise.
2683 * soft-fp/op-8.h: Likewise.
2684 * soft-fp/op-common.h: Likewise.
2685 * soft-fp/quad.h: Likewise.
2686 * soft-fp/single.h: Likewise.
2687 * soft-fp/soft-fp.h: Likewise.
2688 * soft-fp/subdf3.c: Likewise.
2689 * soft-fp/subsf3.c: Likewise.
2690 * soft-fp/subtf3.c: Likewise.
2691 * soft-fp/truncdfsf2.c: Likewise.
2692 * soft-fp/trunctfdf2.c: Likewise.
2693 * soft-fp/trunctfsf2.c: Likewise.
2694 * soft-fp/trunctfxf2.c: Likewise.
2695 * soft-fp/unorddf2.c: Likewise.
2696 * soft-fp/unordsf2.c: Likewise.
2697 * soft-fp/unordtf2.c: Likewise.
2698
2699 2016-08-15 Gilles Gouaillardet <gilles.gouaillardet@gmail.com>
2700
2701 PR gcov-profile/67097
2702 * libgcov-util.c (gcov_profile_merge): Skip missing files.
2703
2704 2016-08-10 Martin Liska <mliska@suse.cz>
2705
2706 PR gcov-profile/58306
2707 * Makefile.in: New functions (modules) are added.
2708 * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
2709 function.
2710 (__gcov_pow2_profiler_atomic): New function.
2711 (__gcov_one_value_profiler_body): New argument is instroduced.
2712 (__gcov_one_value_profiler): Call with the new argument.
2713 (__gcov_one_value_profiler_atomic): Likewise.
2714 (__gcov_indirect_call_profiler_v2): Likewise.
2715 (__gcov_time_profiler_atomic): New function.
2716 (__gcov_average_profiler_atomic): Likewise.
2717 (__gcov_ior_profiler_atomic): Likewise.
2718 * libgcov.h: Declare the aforementioned functions.
2719
2720 2016-08-09 Martin Liska <mliska@suse.cz>
2721
2722 * libgcov-util.c: Fix typo and GNU coding style.
2723
2724 2016-08-09 Martin Liska <mliska@suse.cz>
2725
2726 * Makefile.in: Remove __gcov_indirect_call_profiler.
2727 * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
2728 function.
2729 * libgcov.h: And the declaration of the function.
2730
2731 2016-08-09 Martin Liska <mliska@suse.cz>
2732
2733 * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
2734 power of two.
2735
2736 2016-07-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
2737
2738 * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
2739 * config/rs6000/_mulkc3.c: Likewise.
2740
2741 2016-07-29 Georg-Johann Lay <avr@gjlay.de>
2742
2743 * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
2744 zero_reg as previous call to __umulhisi3 already cleared it.
2745
2746 2016-07-21 Aurelien Jarno <aurelien@aurel32.net>
2747
2748 PR target/59833
2749 * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
2750
2751 2016-07-19 Nick Clifton <nickc@redhat.com>
2752
2753 * config.host (m32r): Add m32r/t-m32r to tmake_file.
2754 Add crtinit.o and crtfini.o to extra_parts.
2755
2756 2016-07-12 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
2757
2758 * config/rs6000/_divkc3.c: New.
2759 * config/rs6000/_mulkc3.c: New.
2760 * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
2761 and _divkc3.
2762 * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
2763 fp128_ppc_funcs.
2764
2765 2016-07-11 Hale Wang <hale.wang@arm.com>
2766 Andre Vieira <andre.simoesdiasvieira@arm.com>
2767
2768 * config/arm/lib1funcs.S: Add new wrapper.
2769
2770 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
2771
2772 * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
2773
2774 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
2775
2776 * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
2777 and ARMv5t* rather than for a fixed list of architectures.
2778
2779 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
2780
2781 * config/arm/bpabi-v6m.S: Clarify what architectures is the
2782 implementation suitable for.
2783 * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
2784 for all Thumb-1 only targets.
2785 (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
2786 (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
2787 __ARM_ARCH_6M__.
2788 (EQUIV): Likewise.
2789 (ARM_FUNC_ALIAS): Likewise.
2790 (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
2791 version.
2792 (modsi3): Likewise.
2793 (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
2794 (clzdi2): Likewise.
2795 (ctzsi2): Likewise.
2796 (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
2797 __ARM_ARCH_6M__ in guard for checking whether it is defined.
2798 (final includes): Test for NOT_ISA_TARGET_32BIT rather than
2799 __ARM_ARCH_6M__ and add comment to indicate the connection between
2800 this condition and the one in gcc/config/arm/elf.h.
2801 * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
2802 __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
2803 * config/arm/t-softfp: Likewise.
2804
2805 2016-07-06 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2806
2807 * libgcc2.c (SYMBOL__MAIN): Remove checks for
2808 CTOR_LISTS_DEFINED_EXTERNALLY.
2809
2810 2016-06-28 Walter Lee <walt@tilera.com>
2811
2812 * config/tilepro/atomic.h: Do not include arch/spr_def.h and
2813 asm/unistd.h.
2814 (SPR_CMPEXCH_VALUE): Define for tilegx.
2815 (__NR_FAST_cmpxchg): Define for tilepro.
2816 (__NR_FAST_atomic_update): Define for tilepro.
2817 (__NR_FAST_cmpxchg64): Define for tilepro.
2818
2819 2016-06-23 Jakub Sejdak <jakub.sejdak@phoesys.com>
2820
2821 * config.host: Add suport for arm*-*-phoenix* targets.
2822
2823 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2824
2825 * config.host: Remove support for mep-*.
2826 * config/mep/lib1funcs.S: Remove.
2827 * config/mep/lib2funcs.c: Remove.
2828 * config/mep/t-mep: Remove.
2829 * config/mep/tramp.c: Remove.
2830
2831 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2832
2833 * config.host: Remove support for avr-rtems.
2834 * config/avr/t-rtems: Remove.
2835
2836 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2837
2838 * config.host: Remove m32r-rtems support.
2839
2840 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2841
2842 * config.host: Remove h8300-rtems support.
2843
2844 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2845
2846 * config.host: Remove support for knetbsd.
2847
2848 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2849
2850 * config.host: Remove support for openbsd 2 and 3.
2851
2852 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2853
2854 * config.host: Remove interix support.
2855 * config/i386/t-interix: Remove.
2856
2857 2016-06-18 John David Anglin <danglin@gcc.gnu.org>
2858
2859 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
2860 least-significant bit in function pointer for fixup.
2861
2862 2016-06-05 Aaron Conole <aconole@redhat.com>
2863 Nathan Sidwell <nathan@acm.org>
2864
2865 PR libgcc/71400
2866 * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
2867 (get_gcov_error_file): Check __gcov_error_file before trying to
2868 initialize it.
2869 (gcov_error): Always use get_gcov_error_file.
2870
2871 2016-06-02 Aaron Conole <aconole@redhat.com>
2872
2873 * libgcov-driver-system.c (__gcov_error_file): New.
2874 (get_gcov_error_file): New.
2875 (gcov_error): Use and set __gcov_error_file.
2876 (gcov_error_exit): New.
2877 * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
2878
2879 2016-05-26 Nathan Sidwell <nathan@acm.org>
2880
2881 * config/nvptx/free.asm: Delete.
2882 * config/nvptx/malloc.asm: Delete.
2883 * config/nvptx/realloc.c: Delete.
2884 * t-nvptx: Update.
2885
2886 2016-05-25 Nathan Sidwell <nathan@acm.org>
2887
2888 * config/nvptx/crt0.s: Delete.
2889 * config/nvptx/crt0.c: New.
2890 * t-nvptx: Update.
2891
2892 2016-05-19 Sandra Loosemore <sandra@codesourcery.com>
2893
2894 * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
2895 dw2/seh configuration.
2896 [x86_64-*-mingw*]: Likewise.
2897
2898 2016-05-10 Joel Sherrill <joel@rtems.org>
2899
2900 PR libgcc/70720
2901 * config.host (moxie-*-rtems*): Merge this stanza with other moxie
2902 targets so the same extra_parts are built. Also have tmake_file add
2903 on to its value rather than override.
2904
2905 2016-04-30 Oleg Endo <olegendo@gcc.gnu.org>
2906
2907 * config.host: Remove SH5 support.
2908 * configure: Likewise.
2909
2910 2016-04-29 Oleg Endo <olegendo@gcc.gnu.org>
2911
2912 * config/sh/crt1.S: Remove SH5 support.
2913 * config/sh/crti.S: Likewise.
2914 * config/sh/crtn.S: Likewise.
2915 * config/sh/lib1funcs-4-300.S: Likewise.
2916 * config/sh/lib1funcs-Os-4-200.S: Likewise.
2917 * config/sh/lib1funcs.S: Likewise.
2918 * config/sh/linux-unwind.h: Likewise.
2919 * config/sh/t-sh64: Delete.
2920
2921 2016-04-29 Claudiu Zissulescu <claziss@synopsys.com>
2922
2923 * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
2924
2925 2016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
2926 Joern Rennecke <joern.rennecke@embecosm.com>
2927
2928 * config/arc/crttls.S: New file.
2929 * config/arc/t-arc: New rule.
2930 * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
2931
2932 2016-04-25 Nick Clifton <nickc@redhat.com>
2933
2934 * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
2935 (__mspabi_cmpd): Likewise.
2936 * config/msp430/floathidf.c (__floathidf): Likewise.
2937 * config/msp430/floathisf.c (__floathisf): Likewise
2938 * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
2939 * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
2940 * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
2941 second parameter.
2942 (__ashrsi3): Likewise.
2943
2944 2016-04-21 Waldemar Brodkorb <wbx@openadk.org>
2945
2946 * config/m68k/linux-atomic.c: Do not include unistd.h
2947
2948 2016-04-20 Martin Galvan <martin.galvan@tallertechnologies.com>
2949
2950 * config/arm/ieee754-df.S: Fix typos in comments.
2951
2952 2016-04-11 Michael Meissner <meissner@linux.vnet.ibm.com>
2953
2954 PR target/70381
2955 * configure.ac (powerpc*-*-linux*): Rework tests to build
2956 __float128 emulation routines to not depend on using #pragma GCC
2957 target to enable -mfloat128.
2958 * configure: Regnerate.
2959
2960 2016-04-04 Eric Botcazou <ebotcazou@adacore.com>
2961
2962 PR target/67172
2963 * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
2964 __MINGW32__ is defined.
2965
2966 2016-03-28 James Bowman <james.bowman@ftdichip.com>
2967
2968 * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
2969
2970 2016-03-22 Michael Meissner <meissner@linux.vnet.ibm.com>
2971
2972 PR libgcc/70363
2973 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
2974 built with an assembler that does not support ISA 3.0
2975 instructions, rename __extendkftf2_sw to __extendkftf2.
2976
2977 2016-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2978
2979 PR target/38239
2980 * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
2981 call-clobbered registers.
2982 (internal_mcount): Remove __i386__ handling.
2983
2984 2016-02-26 Joel Sherrill <joel@rtems.org>
2985
2986 * config.host: Add x86_64-*-rtems*.
2987
2988 2016-02-26 Joel Sherrill <joel@rtems.org>
2989
2990 * libgcc/config.host: Add aarch64-*-rtems*.
2991
2992 2016-02-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2993 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
2994
2995 * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
2996 union of u64 and double.
2997 (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
2998 (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
2999 value.
3000 (FP_ROUNDMODE): Update the usage of _fpscr.
3001
3002 2016-02-25 Ilya Verbin <ilya.verbin@intel.com>
3003
3004 PR driver/68463
3005 * Makefile.in (crtoffloadtable$(objext)): New rule.
3006 * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
3007 enable_offload_targets is not empty.
3008 * configure: Regenerate.
3009 * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
3010 crtoffloadtable.
3011
3012 2016-02-17 Max Filippov <jcmvbkbc@gmail.com>
3013
3014 * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
3015 .literal_position before the function.
3016 * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
3017 Likewise.
3018
3019 2016-02-15 Marcin Kościelnicki <koriakin@0x04.net>
3020
3021 * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
3022 * config/s390/morestack.S: New file.
3023 * config/s390/t-stack-s390: New file.
3024 * generic-morestack.c (__splitstack_find): Add s390-specific code.
3025
3026 2016-02-12 Walter Lee <walt@tilera.com>
3027
3028 * config.host (tilegx*-*-linux*): remove ti from
3029 softfp_int_modes for 32-bit configs.
3030
3031 2016-02-10 Ian Lance Taylor <iant@google.com>
3032
3033 PR go/68562
3034 * config/i386/morestack.S (__stack_split_initialize): Align
3035 stack.
3036
3037 2016-02-03 Andreas Tobler <andreast@gcc.gnu.org>
3038
3039 PR bootstrap/69611
3040 * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
3041 __FLOAT128__ to compile only for __float128 capable targets.
3042
3043 2016-01-25 Jakub Jelinek <jakub@redhat.com>
3044
3045 PR target/69444
3046 * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
3047 instead of ___NO_FPRS__.
3048
3049 2016-01-21 Michael Meissner <meissner@linux.vnet.ibm.com>
3050 Steven Munroe <munroesj@linux.vnet.ibm.com>
3051 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
3052
3053 * config/rs6000/float128-sed: New files to convert TF names to KF
3054 names for PowerPC IEEE 128-bit floating point support.
3055 * config/rs6000/float128-sed-hw: Likewise.
3056
3057 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
3058 floating point hardware support.
3059
3060 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
3061 128-bit floating point software emulation or use ISA 3.0 hardware
3062 support if it is available.
3063
3064 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
3065 floating point.
3066
3067 * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
3068 floating point to IBM extended double.
3069
3070 * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
3071 double to IEEE 128-bit floating point.
3072
3073 * config/rs6000/t-float128: New Makefile fragments to enable
3074 building __float128 emulation support.
3075 * config/rs6000/t-float128-hw: Likewise.
3076
3077 * config/rs6000/sfp-exceptions.c: New file to provide exception
3078 support for IEEE 128-bit floating point.
3079
3080 * config/rs6000/floattikf.c: New files for converting between IEEE
3081 128-bit floating point and signed/unsigned 128-bit integers.
3082 * config/rs6000/fixunskfti.c: Likewise.
3083 * config/rs6000/fixkfti.c: Likewise.
3084 * config/rs6000/floatuntikf.c: Likewise.
3085
3086 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
3087 when building on 64-bit systems, or when VSX is enabled.
3088 (_FP_W_TYPE): Likewise.
3089 (_FP_WS_TYPE): Likewise.
3090 (_FP_I_TYPE): Likewise.
3091 (TItype): Define on 64-bit systems.
3092 (UTItype): Likewise.
3093 (TI_BITS): Likewise.
3094 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
3095 (_FP_MUL_MEAT_Q): Likewise.
3096 (_FP_DIV_MEAT_D): Likewise.
3097 (_FP_DIV_MEAT_Q): Likewise.
3098 (_FP_NANFRAC_D): Likewise.
3099 (_FP_NANFRAC_Q): Likewise.
3100 (ISA_BIT): Add exception support if we are being compiled on a
3101 machine with hardware floating point support to build the IEEE
3102 128-bit emulation functions.
3103 (FP_EX_INVALID): Likewise.
3104 (FP_EX_OVERFLOW): Likewise.
3105 (FP_EX_UNDERFLOW): Likewise.
3106 (FP_EX_DIVZERO): Likewise.
3107 (FP_EX_INEXACT): Likewise.
3108 (FP_EX_ALL): Likewise.
3109 (__sfp_handle_exceptions): Likewise.
3110 (FP_HANDLE_EXCEPTIONS): Likewise.
3111 (FP_RND_NEAREST): Likewise.
3112 (FP_RND_ZERO): Likewise.
3113 (FP_RND_PINF): Likewise.
3114 (FP_RND_MINF): Likewise.
3115 (FP_RND_MASK): Likewise.
3116 (_FP_DECL_EX): Likewise.
3117 (FP_INIT_ROUNDMODE): Likewise.
3118 (FP_ROUNDMODE): Likewise.
3119
3120 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
3121 VSX code, enable IEEE 128-bit floating point. If the compiler can
3122 compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
3123 floating point hardware instructions and it supports declaring
3124 functions with the ifunc attribute, enable ifunc functions to
3125 switch between software and hardware support.
3126 * configure.ac (powerpc*-*-linux*): Likewise.
3127 * configure: Regenerate.
3128
3129 2016-01-15 Nick Clifton <nickc@redhat.com>
3130
3131 * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
3132 dependency as the source file to be compiled.
3133 (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
3134 (lib2hw_mul_f5.o): Likewise.
3135
3136 2016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
3137
3138 * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
3139 * libgcc/config/rs6000/fixkfti.c: Likewise.
3140 * libgcc/config/rs6000/fixunskfti.c: Likewise.
3141 * libgcc/config/rs6000/float128-hw.c: Likewise.
3142 * libgcc/config/rs6000/float128-ifunc.c: Likewise.
3143 * libgcc/config/rs6000/float128-sed: Likewise.
3144 * libgcc/config/rs6000/floattikf.c: Likewise.
3145 * libgcc/config/rs6000/floatuntikf.c: Likewise.
3146 * libgcc/config/rs6000/quad-float128.h: Likewise.
3147 * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
3148 * libgcc/config/rs6000/sfp-machine.h: Likewise.
3149 * libgcc/config/rs6000/t-float128: Likewise.
3150 * libgcc/config/rs6000/t-float128-hw: Likewise.
3151 * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
3152 * libgcc/config.host: Likewise.
3153 * libgcc/configure: Likewise.
3154 * libgcc/configure.ac: Likewise.
3155
3156 2016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
3157 Steven Munroe <munroesj@linux.vnet.ibm.com>
3158 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
3159
3160 * config/rs6000/sfp-exceptions.c: New file to provide exception
3161 support for IEEE 128-bit floating point.
3162
3163 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
3164 floating point hardware support.
3165
3166 * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
3167 point conversions.
3168 * config/rs6000/fixunskfti.c: Likewise.
3169 * config/rs6000/fixkfti.c: Likewise.
3170 * config/rs6000/floatuntikf.c: Likewise.
3171 * config/rs6000/extendkftf2-sw.c: Likewise.
3172 * config/rs6000/trunctfkf2-sw.c: Likewise.
3173
3174 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
3175 128-bit floating point software emulation or use ISA 3.0 hardware
3176 support if it is available.
3177
3178 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
3179 floating point.
3180
3181 * config/rs6000/t-float128: New Makefile fragments to enable
3182 building __float128 emulation support.
3183 * config/rs6000/t-float128-hw: Likewise.
3184
3185 * config/rs6000/float128-sed: New file to convert TF names to KF
3186 names for PowerPC IEEE 128-bit floating point support.
3187
3188 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
3189 when building on 64-bit systems, or when VSX is enabled.
3190 (_FP_W_TYPE): Likewise.
3191 (_FP_WS_TYPE): Likewise.
3192 (_FP_I_TYPE): Likewise.
3193 (TItype): Define on 64-bit systems.
3194 (UTItype): Likewise.
3195 (TI_BITS): Likewise.
3196 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
3197 (_FP_MUL_MEAT_Q): Likewise.
3198 (_FP_DIV_MEAT_D): Likewise.
3199 (_FP_DIV_MEAT_Q): Likewise.
3200 (_FP_NANFRAC_D): Likewise.
3201 (_FP_NANFRAC_Q): Likewise.
3202 (ISA_BIT): Add exception support if we are being compiled on a
3203 machine with hardware floating point support to build the IEEE
3204 128-bit emulation functions.
3205 (FP_EX_INVALID): Likewise.
3206 (FP_EX_OVERFLOW): Likewise.
3207 (FP_EX_UNDERFLOW): Likewise.
3208 (FP_EX_DIVZERO): Likewise.
3209 (FP_EX_INEXACT): Likewise.
3210 (FP_EX_ALL): Likewise.
3211 (__sfp_handle_exceptions): Likewise.
3212 (FP_HANDLE_EXCEPTIONS): Likewise.
3213 (FP_RND_NEAREST): Likewise.
3214 (FP_RND_ZERO): Likewise.
3215 (FP_RND_PINF): Likewise.
3216 (FP_RND_MINF): Likewise.
3217 (FP_RND_MASK): Likewise.
3218 (_FP_DECL_EX): Likewise.
3219 (FP_INIT_ROUNDMODE): Likewise.
3220 (FP_ROUNDMODE): Likewise.
3221
3222 * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
3223 compiler can do __float128.
3224 * configure: Regenerate.
3225
3226 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
3227 VSX code, enable IEEE 128-bit floating point.
3228
3229 2016-01-05 Olivier Hainque <hainque@adacore.com>
3230
3231 * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
3232 specificities.
3233
3234 2016-01-04 Jakub Jelinek <jakub@redhat.com>
3235
3236 Update copyright years.
3237
3238 2015-12-18 Andris Pavenis <andris.pavenis@iki.fi>
3239
3240 * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
3241 soft-fp targets.
3242
3243 2015-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
3244
3245 * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
3246 instead of abort to avoid dependency on stdlib.h.
3247
3248 2015-12-09 John David Anglin <danglin@gcc.gnu.org>
3249
3250 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
3251 to initialize call to __dl_fixup once.
3252
3253 2015-12-04 Nick Clifton <nickc@redhat.com>
3254
3255 * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
3256 Allow for the second argument being negative.
3257 * config.host (extra_parts): Define for MSP430. Create separate
3258 libraries for each of the hardware multiply formats.
3259 * config/msp430/lib2hw_mul.S: Build only the multiply routines
3260 that are needed.
3261 * config/msp430/lib2mul.c: Likewise.
3262 * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
3263 Add rules to build hardware multiply libraries.
3264 * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
3265 __mspabi_divul function.
3266 (__mspabi_divllu): New stub function.
3267
3268 2015-12-01 John David Anglin <danglin@gcc.gnu.org>
3269
3270 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
3271 fixup values if saved GOT address doesn't match runtime address.
3272 (fixup_branch_offset): Reorder list.
3273
3274 2015-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3275
3276 * Makefile.in (VTV_CFLAGS): New variable.
3277 (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
3278 (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
3279 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
3280 Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
3281 to extra_parts if $enable_vtable_verify = yes.
3282
3283 2015-11-23 Szabolcs Nagy <szabolcs.nagy@arm.com>
3284
3285 PR target/68059
3286 * config/arm/linux-atomic-64bit.c (__write): Rename to...
3287 (write): ...this and fix the return type.
3288
3289 2015-11-19 DJ Delorie <dj@redhat.com>
3290
3291 * config/msp430/lib2hw_mul.S: Fix alignment.
3292
3293 2015-11-18 Nathan Sidwell <nathan@codesourcery.com>
3294
3295 * config/nvptx/reduction.c: New.
3296 * config/nvptx/t-nvptx (LIB2ADD): Add it.
3297
3298 2015-11-15 David Edelsohn <dje.gcc@gmail.com>
3299
3300 * config/rs6000/on_exit.c: New file.
3301 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
3302 * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
3303
3304 2015-11-11 Claudiu Zissulescu <claziss@synopsys.com>
3305
3306 * config/arc/dp-hack.h: Add support for ARCHS.
3307 * config/arc/ieee-754/divdf3.S: Likewise.
3308 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
3309 * config/arc/ieee-754/muldf3.S: Likewise.
3310 * config/arc/ieee-754/mulsf3.S: Likewise
3311 * config/arc/lib1funcs.S: Likewise
3312 * config/arc/gmon/dcache_linesz.S: Don't read the build register
3313 for ARCv2 cores.
3314 * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
3315 for ARCv2 cores.
3316 * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
3317 * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
3318 cores.
3319
3320 2015-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3321
3322 * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
3323 value.
3324 * config/ia64/crtend.S: Likewise.
3325
3326 2015-11-07 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3327
3328 * config/visium/lib2funcs.c (__set_trampoline_parity): Use
3329 __CHAR_BIT__ instead of BITS_PER_UNIT.
3330 * fixed-bit.h: Likewise.
3331 * fp-bit.h: Likewise.
3332 * libgcc2.c (__popcountSI2): Likewise.
3333 (__popcountDI2): Likewise.
3334 * libgcc2.h: Likewise.
3335 * libgcov.h: Likewise.
3336
3337 2015-11-07 David Edelsohn <dje.gcc@gmail.com>
3338
3339 * config/rs6000/atexit.c: New file.
3340 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
3341 * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
3342 * config/rs6000/cxa_finalize.c
3343 (catomic_compare_and_exchange_bool_acq): Negate return value.
3344
3345 2015-10-30 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
3346
3347 * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
3348 (processor_subtypes): Add znver1.
3349 (get_amd_cpu): Detect znver1.
3350
3351 2015-10-29 Christophe Lyon <christophe.lyon@linaro.org>
3352
3353 * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
3354 Include crtfastmath.o.
3355
3356 2015-10-23 Joern Rennecke <joern.rennecke@embecosm.com>
3357
3358 PR libgcc/66883
3359 * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
3360
3361 2015-10-16 Kaushik Phatak <kaushik.phatak@kpit.com>
3362
3363 * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
3364 * config/rl78/divmodsi.S: Update return register to r8.
3365 * config/rl78/divmodhi.S: Update return register to r8,r9.
3366 Branch to main_loop_done_himode to pop registers before return.
3367
3368 2015-10-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
3369
3370 * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
3371 (__cpu_indicator_init): Fix model selection for AMD CPUs.
3372
3373 2015-10-05 Kirill Yukhin <kirill.yukhin@intel.com>
3374
3375 * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
3376
3377 2015-10-03 Max Filippov <jcmvbkbc@gmail.com>
3378
3379 * config.host (xtensa*-*-uclinux*): New configuration.
3380
3381 2015-10-02 Kirill Yukhin <kirill.yukhin@intel.com>
3382
3383 * config/i386/cpuinfo.c (processor_features): Add
3384 FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
3385
3386 2015-09-28 Joseph Myers <joseph@codesourcery.com>
3387
3388 * soft-fp/adddf3.c: Update from glibc.
3389 * soft-fp/addsf3.c: Likewise.
3390 * soft-fp/addtf3.c: Likewise.
3391 * soft-fp/divdf3.c: Likewise.
3392 * soft-fp/divsf3.c: Likewise.
3393 * soft-fp/divtf3.c: Likewise.
3394 * soft-fp/double.h: Likewise.
3395 * soft-fp/eqdf2.c: Likewise.
3396 * soft-fp/eqsf2.c: Likewise.
3397 * soft-fp/eqtf2.c: Likewise.
3398 * soft-fp/extenddftf2.c: Likewise.
3399 * soft-fp/extended.h: Likewise.
3400 * soft-fp/extendsfdf2.c: Likewise.
3401 * soft-fp/extendsftf2.c: Likewise.
3402 * soft-fp/extendxftf2.c: Likewise.
3403 * soft-fp/fixdfdi.c: Likewise.
3404 * soft-fp/fixdfsi.c: Likewise.
3405 * soft-fp/fixdfti.c: Likewise.
3406 * soft-fp/fixsfdi.c: Likewise.
3407 * soft-fp/fixsfsi.c: Likewise.
3408 * soft-fp/fixsfti.c: Likewise.
3409 * soft-fp/fixtfdi.c: Likewise.
3410 * soft-fp/fixtfsi.c: Likewise.
3411 * soft-fp/fixtfti.c: Likewise.
3412 * soft-fp/fixunsdfdi.c: Likewise.
3413 * soft-fp/fixunsdfsi.c: Likewise.
3414 * soft-fp/fixunsdfti.c: Likewise.
3415 * soft-fp/fixunssfdi.c: Likewise.
3416 * soft-fp/fixunssfsi.c: Likewise.
3417 * soft-fp/fixunssfti.c: Likewise.
3418 * soft-fp/fixunstfdi.c: Likewise.
3419 * soft-fp/fixunstfsi.c: Likewise.
3420 * soft-fp/fixunstfti.c: Likewise.
3421 * soft-fp/floatdidf.c: Likewise.
3422 * soft-fp/floatdisf.c: Likewise.
3423 * soft-fp/floatditf.c: Likewise.
3424 * soft-fp/floatsidf.c: Likewise.
3425 * soft-fp/floatsisf.c: Likewise.
3426 * soft-fp/floatsitf.c: Likewise.
3427 * soft-fp/floattidf.c: Likewise.
3428 * soft-fp/floattisf.c: Likewise.
3429 * soft-fp/floattitf.c: Likewise.
3430 * soft-fp/floatundidf.c: Likewise.
3431 * soft-fp/floatundisf.c: Likewise.
3432 * soft-fp/floatunditf.c: Likewise.
3433 * soft-fp/floatunsidf.c: Likewise.
3434 * soft-fp/floatunsisf.c: Likewise.
3435 * soft-fp/floatunsitf.c: Likewise.
3436 * soft-fp/floatuntidf.c: Likewise.
3437 * soft-fp/floatuntisf.c: Likewise.
3438 * soft-fp/floatuntitf.c: Likewise.
3439 * soft-fp/gedf2.c: Likewise.
3440 * soft-fp/gesf2.c: Likewise.
3441 * soft-fp/getf2.c: Likewise.
3442 * soft-fp/ledf2.c: Likewise.
3443 * soft-fp/lesf2.c: Likewise.
3444 * soft-fp/letf2.c: Likewise.
3445 * soft-fp/muldf3.c: Likewise.
3446 * soft-fp/mulsf3.c: Likewise.
3447 * soft-fp/multf3.c: Likewise.
3448 * soft-fp/negdf2.c: Likewise.
3449 * soft-fp/negsf2.c: Likewise.
3450 * soft-fp/negtf2.c: Likewise.
3451 * soft-fp/op-1.h: Likewise.
3452 * soft-fp/op-2.h: Likewise.
3453 * soft-fp/op-4.h: Likewise.
3454 * soft-fp/op-8.h: Likewise.
3455 * soft-fp/op-common.h: Likewise.
3456 * soft-fp/quad.h: Likewise.
3457 * soft-fp/single.h: Likewise.
3458 * soft-fp/soft-fp.h: Likewise.
3459 * soft-fp/subdf3.c: Likewise.
3460 * soft-fp/subsf3.c: Likewise.
3461 * soft-fp/subtf3.c: Likewise.
3462 * soft-fp/truncdfsf2.c: Likewise.
3463 * soft-fp/trunctfdf2.c: Likewise.
3464 * soft-fp/trunctfsf2.c: Likewise.
3465 * soft-fp/trunctfxf2.c: Likewise.
3466 * soft-fp/unorddf2.c: Likewise.
3467 * soft-fp/unordsf2.c: Likewise.
3468 * soft-fp/unordtf2.c: Likewise.
3469
3470 2015-09-24 Richard Earnshaw <rearnsha@arm.com>
3471
3472 PR libgcc/67624
3473 * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
3474
3475 2015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3476
3477 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
3478 Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
3479 * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
3480 messages.
3481 (internal_mcount): Likewise.
3482 * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
3483 crt_compile, add CRTSTUFF_T_CFLAGS_S.
3484
3485 2015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3486
3487 * configure.ac (libgcc_cv_solaris_crts): New test.
3488 * configure: Regenerate.
3489 * config.in: Regenerate.
3490 * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
3491 * config/gmon-sol2.c: Rename to ...
3492 * config/sol2/gmon.c: ... this.
3493 Include auto-target.h.
3494 (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
3495 * config/t-sol2: Rename to ...
3496 * config/sol2/t-sol2: ... this.
3497 (gmon.o): Reflect renaming.
3498 (crtp.o, crtpg.o): New rules.
3499 * config.host (*-*-solaris2*): Reflect renaming.
3500 Use system CRTs if present.
3501 Remove default CRT case.
3502
3503 2015-09-23 John David Anglin <danglin@gcc.gnu.org>
3504
3505 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
3506 (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
3507 __kernel_cmpxchg2.
3508 (__sync_##OP##_and_fetch_##WIDTH): Likewise.
3509 (__sync_val_compare_and_swap_##WIDTH): Likewise.
3510 (__sync_bool_compare_and_swap_##WIDTH): Likewise.
3511 (__sync_lock_test_and_set_##WIDTH): Likewise.
3512 (__sync_lock_release_##WIDTH): Likewise.
3513 (__sync_fetch_and_##OP##_4): Change result to match type of
3514 __kernel_cmpxchg.
3515 (__sync_##OP##_and_fetch_4): Likewise.
3516 (__sync_val_compare_and_swap_4): Likewise.
3517 (__sync_bool_compare_and_swap_4): likewise.
3518 (__sync_lock_test_and_set_4): Likewise.
3519 (__sync_lock_release_4): Likewise.
3520 (FETCH_AND_OP_2): Add long long variants.
3521 (OP_AND_FETCH_2): Likewise.
3522 (COMPARE_AND_SWAP_2 ): Likewise.
3523 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
3524 (SYNC_LOCK_RELEASE_2): Likewise.
3525 (__sync_bool_compare_and_swap_##WIDTH): Correct return.
3526
3527 2015-09-22 Kirill Yukhin <kirill.yukhin@intel.com>
3528
3529 * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
3530 FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
3531 FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
3532 (get_available_features): Habdle new features.
3533
3534 2015-09-21 James Bowman <james.bowman@ftdichip.com>
3535
3536 * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
3537 memory layout. Deal correctly with BSS region larger than 32K.
3538 Handle a watchdog reset like a power-on reset. Clean up unused
3539 code.
3540
3541 2015-09-18 Andrew Dixie <andrewd@gentrack.com>
3542 David Edelsohn <dje.gcc@gmail.com>
3543
3544 * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
3545 * config/rs6000/crtdbase.S: New file.
3546 * config/rs6000/t-aix-cxa: Build crtdbase.o.
3547
3548 2015-09-15 Max Filippov <jcmvbkbc@gmail.com>
3549
3550 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
3551 Add support for call0 ABI.
3552
3553 2015-09-13 John David Anglin <danglin@gcc.gnu.org>
3554
3555 * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
3556
3557 2015-09-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
3558
3559 * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
3560 (__GTHREAD_HAS_COND): Likewise.
3561 (__gthread_t): Likewise.
3562 (__gthread_cond_t): Likewise.
3563 (__gthread_time_t): Likewise.
3564 (__GTHREAD_MUTEX_INIT): Likewise.
3565 (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
3566 (__GTHREAD_COND_INIT): Likewise.
3567 (__GTHREAD_COND_INIT_FUNCTION): Likewise.
3568 (__GTHREAD_TIME_INIT): Likewise.
3569 (__gthread_create): Likewise.
3570 (__gthread_join): Likewise.
3571 (__gthread_detach): Likewise.
3572 (__gthread_equal): Likewise.
3573 (__gthread_self): Likewise.
3574 (__gthread_yield): Likewise.
3575 (__gthread_cond_broadcast): Likewise.
3576 (__gthread_cond_signal): Likewise.
3577 (__gthread_cond_wait): Likewise.
3578 (__gthread_cond_timedwait): Likewise.
3579 (__gthread_cond_wait_recursive): Likewise.
3580 (__gthread_cond_destroy): Likewise.
3581 (rtems_gxx_once): Delete.
3582 (rtems_gxx_key_create): Likewise.
3583 (rtems_gxx_key_delete): Likewise.
3584 (rtems_gxx_getspecific): Likewise.
3585 (rtems_gxx_setspecific): Likewise.
3586 (rtems_gxx_mutex_init): Likewise.
3587 (rtems_gxx_mutex_destroy): Likewise.
3588 (rtems_gxx_mutex_lock): Likewise.
3589 (rtems_gxx_mutex_trylock): Likewise.
3590 (rtems_gxx_mutex_unlock): Likewise.
3591 (rtems_gxx_recursive_mutex_init): Likewise.
3592 (rtems_gxx_recursive_mutex_lock): Likewise.
3593 (rtems_gxx_recursive_mutex_trylock): Likewise.
3594 (rtems_gxx_recursive_mutex_unlock): Likewise.
3595 (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
3596 (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
3597 (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
3598 (__gthread_once): Likewise.
3599 (__gthread_key_create): Likewise.
3600 (__gthread_key_delete): Likewise.
3601 (__gthread_getspecific): Likewise.
3602 (__gthread_setspecific): Likewise.
3603 (__gthread_key_t): Use <pthread.h> type.
3604 (__gthread_once_t): Likewise
3605 (__gthread_mutex_t): Use <sys/lock.h> type.
3606 (__gthread_recursive_mutex_t): Likewise
3607 (__gthread_mutex_lock): Use <sys/lock.h> function.
3608 (__gthread_mutex_trylock): Likewise.
3609 (__gthread_mutex_timedlock): Likewise.
3610 (__gthread_mutex_unlock): Likewise.
3611 (__gthread_mutex_destroy): Likewise.
3612 (__gthread_recursive_mutex_lock): Likewise.
3613 (__gthread_recursive_mutex_trylock): Likewise.
3614 (__gthread_recursive_mutex_timedlock): Likewise.
3615 (__gthread_recursive_mutex_unlock): Likewise.
3616 (__gthread_recursive_mutex_destroy): Likewise.
3617
3618 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
3619
3620 * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
3621 context->sp instead of context->cfa.
3622
3623 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
3624
3625 * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
3626 with unwind-dw2-fde-dip.
3627
3628 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
3629
3630 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
3631 CALL12 followed by series of ENTRY to spill windowed registers.
3632 (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
3633 instead of making linux spill syscall.
3634
3635 2015-08-14 Yuri Rumyantsev <ysrumyan@gmail.com>
3636
3637 * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
3638 (get_intel_cpu): Likewise.
3639
3640 2015-08-12 H.J. Lu <hongjiu.lu@intel.com>
3641
3642 * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
3643 (get_intel_cpu): Add Knights Landing support.
3644
3645 2015-08-11 Uros Bizjak <ubizjak@gmail.com>
3646
3647 PR target/66954
3648 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
3649 (get_available_features): Handle FEATURE_PCLMUL.
3650
3651 2015-08-10 H.J. Lu <hongjiu.lu@intel.com>
3652
3653 * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
3654 Broadwell.
3655
3656 2015-07-22 Uros Bizjak <ubizjak@gmail.com>
3657
3658 PR target/66954
3659 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
3660 (get_available_features): Handle FEATURE_AES.
3661
3662 2015-07-22 Chung-Lin Tang <cltang@codesourcery.com>
3663
3664 * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
3665 (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
3666
3667 2015-07-17 Nathan Sidwell <nathan@codesourcery.com>
3668
3669 * offloadstuff.c: Constify host data.
3670
3671 2015-07-17 Jan Beulich <jbeulich@suse.com>
3672
3673 * config/t-softfp: Split up "else ifneq".
3674
3675 2015-07-14 Sandra Loosemore <sandra@codesourcery.com>
3676 Cesar Philippidis <cesar@codesourcery.com>
3677 Chung-Lin Tang <cltang@codesourcery.com>
3678
3679 * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
3680 for __nios2_arch__ level.
3681
3682 2015-07-13 John Marino <gnugcc@marino.st>
3683
3684 * config/i386/t-dragonfly: New.
3685
3686 2015-07-01 John David Anglin <danglin@gcc.gnu.org>
3687
3688 * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
3689 better match light-weight syscall argument order.
3690 (__kernel_cmpxchg2): Likewise.
3691 Adjust callers.
3692
3693 2015-06-30 H.J. Lu <hongjiu.lu@intel.com>
3694
3695 * config.host: Support i[34567]86-*-elfiamcu target.
3696 * config/t-softfp-sfdftf: New file.
3697 * config/i386/32/t-iamcu: Likewise.
3698 * configure: Regenerated.
3699
3700 2015-06-23 James Lemke <jwlemke@codesourcery.com>
3701
3702 libgcc/config/arm/
3703 * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
3704
3705 2015-05-27 H.J. Lu <hongjiu.lu@intel.com>
3706
3707 * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
3708
3709 2015-05-27 John Marino <gnugcc@marino.st>
3710
3711 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
3712 md_unwind_header
3713 * config/i386/freebsd-unwind.h: New.
3714
3715 2015-05-22 Uros Bizjak <ubizjak@gmail.com>
3716
3717 * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
3718 i386/t-crtfm to tmake_file.
3719 * config/i386/crtfastmath.c (set_fast_math_sse): New function.
3720 (set_fast_math): Use set_fast_math_sse for SSE targets.
3721 * config/i386/t-crtfm: Remove.
3722
3723 2015-05-21 Alan Modra <amodra@gmail.com>
3724
3725 PR libgcc/66225
3726 * config/rs6000/morestack.S: Remove ".abiversion 1".
3727
3728 2015-05-20 Alan Modra <amodra@gmail.com>
3729
3730 * config/rs6000/morestack.S: New.
3731 * config/rs6000/t-stack-rs6000: New.
3732 * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
3733 to tmake_file.
3734 * generic-morestack.c: Don't build for powerpc 32-bit.
3735
3736 2015-05-19 Eric Botcazou <ebotcazou@adacore.com>
3737
3738 * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
3739 Remove useless endif/ifneq ($(enable_shared),yes) pair.
3740
3741 2015-05-16 James Bowman <james.bowman@ftdichip.com>
3742
3743 * config.host: FT32 target added.
3744 * config/ft32/*: New files for FT32 target.
3745
3746 2015-05-15 Martin Galvan <martin.galvan@tallertechnologies.com>
3747
3748 * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
3749 New macros.
3750 * config/arm/ieee754-df.S: Add CFI directives.
3751 * config/arm/ieee754-sf.S: Add CFI directives.
3752
3753 2015-05-13 Eric Botcazou <ebotcazou@adacore.com>
3754
3755 * configure.ac: Include config/sjlj.m4.
3756 Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
3757 * config.in: Regenerate.
3758 * configure: Likewise.
3759 * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
3760
3761 2015-05-12 Uros Bizjak <ubizjak@gmail.com>
3762
3763 * libgcov-util.c: Add space between string literal and macro name.
3764
3765 2015-05-06 Sandra Loosemore <sandra@codesourcery.com>
3766 Chris Jones <chrisj@nvidia.com>
3767 Joshua Conner <jconner@nvidia.com>
3768
3769 * config.host (arm*-*-linux*): Add support for crtfastmath.o.
3770 (arm*-*-uclinux*): Likewise.
3771 (arm*-*-eabi* | arm*-*-rtems*): Likewise.
3772 * config/arm/crtfastmath.c: New file.
3773
3774 2014-04-29 Bernd Schmidt <bernds@codesourcery.com>
3775
3776 * Makefile.in (real_host_noncanonical): New variable.
3777 (libsubdir): Use it.
3778 * configure.ac (real_host_noncanonical): Compute. Remove special
3779 case for intelmicemul.
3780 * configure: Regenerate.
3781
3782 2015-04-28 Uros Bizjak <ubizjak@gmail.com>
3783
3784 * config/frv/elf-lib.h: New file.
3785 (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
3786 * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
3787 to tm_file.
3788
3789 2015-04-28 Uros Bizjak <ubizjak@gmail.com>
3790
3791 * config/frv/frvbengin.c: Do not include defaults.h
3792 * config/frv/frvend.c: Ditto.
3793
3794 2015-04-27 Yoshinori Sato <ysato@users.sourceforge.jp>
3795
3796 * config.host: Add h8300-*-linux
3797 * config/h8300/t-linux: New file.
3798 * config/h8300/lib1funs.s: Change symbol prefix.
3799 * config/h8300/sfp-machine.h: 64bit double support.
3800
3801 2015-04-22 Gregor Richards <gregor.richards@uwaterloo.ca>
3802 Szabolcs Nagy <szabolcs.nagy@arm.com>
3803
3804 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
3805 Linux if target provides dl_iterate_phdr.
3806
3807 2015-04-17 H.J. Lu <hongjiu.lu@intel.com>
3808
3809 PR target/65612
3810 * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
3811 * config/i386/cpuinfo.c (__cpu_model): Initialize.
3812 (__cpu_indicator_init@GCC_4.8.0): New.
3813 (__cpu_model@GCC_4.8.0): Likewise.
3814 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
3815 -DUSE_ELF_SYMVER.
3816
3817 2015-04-16 Nick Clifton <nickc@redhat.com>
3818
3819 * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
3820 and __modhi3 functions.
3821 * config/rl78/divmodso.S: Add G14 and G13 versions of the
3822 __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
3823
3824 2015-04-15 Chen Gang <gang.chen.5i5j@gmail.com>
3825
3826 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
3827 do-while loop as macro body to avoid warnings.
3828
3829 2015-04-10 Jakub Jelinek <jakub@redhat.com>
3830 Iain Sandoe <iain@codesourcery.com>
3831
3832 PR target/65351
3833 * configure: Regenerate.
3834
3835 2015-04-07 Jakub Jelinek <jakub@redhat.com>
3836 Iain Sandoe <iain@codesourcery.com>
3837
3838 PR target/65351
3839 * configure: Regenerate.
3840
3841 2015-03-25 Chung-Lin Tang <cltang@codesourcery.com>
3842
3843 * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
3844
3845 2015-03-03 Max Filippov <jcmvbkbc@gmail.com>
3846
3847 Implement call0 ABI for xtensa
3848 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
3849 __xtensa_nonlocal_goto): Don't compile for call0 ABI.
3850 (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
3851 use ret in call0 ABI.
3852 * config/xtensa/t-windowed: New file.
3853 * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
3854 * libgcc/configure: Regenerated.
3855 * libgcc/configure.ac: Check if xtensa target is configured for
3856 windowed ABI and thus needs to use custom unwind code.
3857
3858 2015-02-12 Jonathan Wakely <jwakely@redhat.com>
3859
3860 PR libgcc/64885
3861 * gthr-single.h: Use __unused__ attribute instead of unused.
3862 * config/gthr-vxworks.h: Likewise.
3863 * config/i386/gthr-win32.h: Likewise.
3864
3865 2015-02-27 Kai Tietz <ktietz@redhat.com>
3866
3867 PR target/65038
3868 * config.in: Regenerated.
3869 * configure: Likewise.
3870 * configure.ac (AC_HEADER_STDC): Added explicit.
3871 (AC_CHECK_HEADERS): Check for default headers plus
3872 for ftw.h header.
3873 * libgcov-util.c (gcov_read_profile_dir): Disable use
3874 of ftw-function, if header is not found.
3875 (ftw_read_file): Likewise.
3876
3877 2015-02-23 Thomas Schwinge <thomas@codesourcery.com>
3878
3879 PR target/65181
3880 * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
3881 -Dinhibit_libc.
3882
3883 2015-02-17 Sandra Loosemore <sandra@codesourcery.com>
3884
3885 * config/arm/bpabi.S (test_div_by_zero): Make label names
3886 consistent between thumb2 and arm mode cases. Separate the
3887 signed comparison on the high word of the numerator from the
3888 unsigned comparison on the low word.
3889 * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
3890 signed comparison.
3891
3892 2015-02-17 Joseph Myers <joseph@codesourcery.com>
3893
3894 * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
3895 and <string.h>.
3896 (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
3897
3898 2015-02-10 Rainer Emrich <rainer@emrich-ebersheim.de>
3899
3900 PR gcov-profile/61889
3901 * libgcov-driver-system.c: undefine clashing macro for mkdir.
3902
3903 2015-02-02 Nick Clifton <nickc@redhat.com>
3904
3905 * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
3906 rounding up the fraction.
3907
3908 2015-01-31 John David Anglin <danglin@gcc.gnu.org>
3909
3910 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
3911 oldval and newval to const void *. Fix typo.
3912 (FETCH_AND_OP_2): Use __atomic_load_n to load value.
3913 (FETCH_AND_OP_WORD): Likewise.
3914 (OP_AND_FETCH_WORD): Likewise.
3915 (COMPARE_AND_SWAP_2): Likewise.
3916 (__sync_val_compare_and_swap_4): Likewise.
3917 (__sync_lock_test_and_set_4): Likewise.
3918 (SYNC_LOCK_RELEASE_2): Likewise.
3919 Remove support for long long atomic operations.
3920
3921 2015-01-27 Caroline Tice <cmtice@google.com>
3922
3923 Committing VTV Cywin/Ming patch for Patrick Wollgast
3924 * Makefile.in: Move rules to build vtv_*.o out of the check
3925 for CUSTOM_CRTSTUFF.
3926 * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
3927 i[34567]86-*-mingw*)
3928 (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
3929 enable_vtable_verify.
3930
3931 2015-01-27 Nick Clifton <nickc@redhat.com>
3932
3933 * config/rl78/cmpsi2.S: Use function start and end macros.
3934 (__gcc_bcmp): New function.
3935 * config/rl78/lshrsi3.S: Use function start and end macros.
3936 * config/rl78/mulsi3.S: Add support for G10.
3937 (__mulqi3): New function for G10.
3938 * config/rl78/signbit.S: Use function start and end macros.
3939 * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
3940 fpmath-sf.S.
3941 (LIB2FUNCS_EXCLUDE): Define.
3942 (LIB2FUNCS_ST): Define.
3943 * config/rl78/trampoline.S: Use function start and end macros.
3944 * config/rl78/vregs.h (START_FUNC): New macro.
3945 (START_ANOTHER_FUNC): New macro.
3946 (END_FUNC): New macro.
3947 (END_ANOTHER_FUNC): New macro.
3948 * config/rl78/bit-count.S: New file. Contains assembler
3949 implementations of the bit counting functions: ___clzhi2,
3950 __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
3951 __paritysi2, __popcounthi2 and __popcountsi2.
3952 * config/rl78/fpbit-sf.S: New file. Contains assembler
3953 implementationas of the math functions: __negsf2, __cmpsf2,
3954 __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
3955 __fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
3956 * config/rl78/fpmath-sf.S: New file. Contains assembler
3957 implementations of the math functions: __subsf3, __addsf3,
3958 __mulsf3 and __divsf3
3959
3960 2015-01-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3961
3962 * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
3963 Add i386/elf-lib.h to tm_file.
3964 * config/i386/elf-lib.h: Fix comment.
3965 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
3966 && __sun__ && __svr4__]: Remove workaround.
3967
3968 2015-01-25 Allan Sandfeld Jensen <sandfeld@kde.org>
3969
3970 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
3971 FEATURE_BMI2.
3972 (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
3973
3974 2015-01-24 H.J. Lu <hongjiu.lu@intel.com>
3975
3976 * config/i386/cpuinfo.c (processor_subtypes): Add
3977 INTEL_COREI7_BROADWELL.
3978 (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
3979 model numbers.
3980
3981 2015-01-23 Uros Bizjak <ubizjak@gmail.com>
3982
3983 * config/i386/elf-lib.h: New file.
3984 (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
3985 Wrap definition in #ifdef __i386__.
3986 * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
3987 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
3988 (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
3989 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
3990 to tm_file.
3991
3992 2015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
3993
3994 * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
3995 "(char *)" to avoid qualifier warning by 'xgcc' compiling.
3996
3997 2015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
3998
3999 * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
4000 Update rt_sigframe format and address for current Nios II
4001 Linux conventions.
4002
4003 2015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
4004
4005 * config.host (arm*-*-freebsd*): Add new configuration for
4006 arm*-*-freebsd*.
4007 * config/arm/freebsd-atomic.c: New file.
4008 * config/arm/t-freebsd: Likewise.
4009 * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
4010 'PC-relative indirect' OS's.
4011
4012 2015-01-06 Eric Botcazou <ebotcazou@adacore.com>
4013
4014 * config.host: Add Visium support.
4015 * config/visium: New directory.
4016
4017 2015-01-05 Jakub Jelinek <jakub@redhat.com>
4018
4019 Update copyright years.
4020
4021 2014-12-19 Matthew Fortune <matthew.fortune@imgtec.com>
4022
4023 * config.host: Support mipsisa32r6 and mipsisa64r6.
4024 * config/mips/mips16.S: Do not build for R6.
4025
4026 2014-12-17 Oleg Endo <olegendo@gcc.gnu.org>
4027
4028 * config/sh/crt.h: New.
4029 * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
4030 symbols.
4031 * config/sh/crt1.S: Likewise.
4032
4033 2014-12-15 Uros Bizjak <ubizjak@gmail.com>
4034
4035 PR libgcc/63832
4036 * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
4037 func_ptr *dtor_list temporary variable to avoid "array subscript
4038 is above array bounds" warnings.
4039
4040 2014-12-09 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
4041
4042 * Makefile.in (with_aix_soname): Define.
4043 * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
4044 * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
4045 * configure: Recreate.
4046
4047 2014-12-05 Olivier Hainque <hainque@adacore.com>
4048
4049 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
4050 now provided by defaults.h.
4051
4052 2014-11-30 Oleg Endo <olegendo@gcc.gnu.org>
4053
4054 PR target/55351
4055 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
4056 whether it's defined.
4057
4058 2014-11-27 Ilya Tocar <ilya.tocar@intel.com>
4059
4060 * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
4061 * config/i386/cpuinfo.c (get_available_features): Detect it.
4062
4063 2014-11-27 Tony Wang <tony.wang@arm.com>
4064
4065 * config/arm/lib1funcs.S (FUNC_START): Add conditional section
4066 redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
4067 (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
4068
4069 2014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
4070
4071 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
4072
4073 2014-11-24 John David Anglin <danglin@gcc.gnu.org>
4074
4075 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
4076 instead.
4077
4078 2014-11-21 Guy Martin <gmsoft@tuxicoman.be>
4079 John David Anglin <danglin@gcc.gnu.org>
4080
4081 * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
4082 (FETCH_AND_OP_2): New. Use for subword and double word operations.
4083 (OP_AND_FETCH_2): Likewise.
4084 (COMPARE_AND_SWAP_2): Likewise.
4085 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
4086 (SYNC_LOCK_RELEASE_2): Likewise.
4087 (SUBWORD_SYNC_OP): Remove.
4088 (SUBWORD_VAL_CAS): Likewise.
4089 (SUBWORD_BOOL_CAS): Likewise.
4090 (FETCH_AND_OP_WORD): Update.
4091 Consistently use signed types.
4092
4093 2014-11-13 Bernd Schmidt <bernds@codesourcery.com>
4094 Thomas Schwinge <thomas@codesourcery.com>
4095 Ilya Verbin <ilya.verbin@intel.com>
4096 Andrey Turetskiy <andrey.turetskiy@intel.com>
4097
4098 * Makefile.in (crtoffloadbegin$(objext)): New rule.
4099 (crtoffloadend$(objext)): Likewise.
4100 * configure: Regenerate.
4101 * configure.ac (accel_dir_suffix): Compute new variable.
4102 (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
4103 if enable_offload_targets is not empty.
4104 * offloadstuff.c: New file.
4105
4106 2014-11-13 Nick Clifton <nickc@redhat.com>
4107
4108 * config/rl78/divmodhi.S: Add support for the G10 architecture.
4109 Use START_FUNC and END_FUNC macros to enable linker garbage
4110 collection.
4111 * config/rl78/divmodqi.S: Likewise.
4112 * config/rl78/divmodsi.S: Likewise.
4113 * config/rl78/mulsi3.S: Likewise.
4114 * config/rl78/lib2div.c: Remove G10 functions.
4115 * config/rl78/lib2muls.c: Likewise.
4116 * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
4117 * config/rl78/vregs.h (START_FUNC): New macro.
4118 (END_FUNC): New macro.
4119
4120 2014-11-12 Matthew Fortune <matthew.fortune@imgtec.com>
4121
4122 * config/mips/mips16.S: Set .module when supported. Update O32
4123 FP64 calling convention and use for FPXX when possible. Add FPXX
4124 calling convention fallback case.
4125
4126 2014-11-06 Bernd Schmidt <bernds@codesourcery.com>
4127
4128 * config.host: Handle nvptx-*-*.
4129 * shared-object.mk (as-flags-$o): Define.
4130 ($(base)$(objext), $(base)_s$(objext)): Use it instead of
4131 -xassembler-with-cpp.
4132 * static-object.mk: Identical changes.
4133 * config/nvptx/t-nvptx: New file.
4134 * config/nvptx/crt0.s: New file.
4135 * config/nvptx/free.asm: New file.
4136 * config/nvptx/malloc.asm: New file.
4137 * config/nvptx/realloc.c: New file.
4138
4139 2014-10-30 Joseph Myers <joseph@codesourcery.com>
4140
4141 * Makefile.in (libgcc.map.in): New target.
4142 (libgcc.map): Use libgcc.map.in.
4143 * config/t-softfp (softfp_compat): New variable to be set by
4144 users.
4145 [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
4146 variables.
4147 [$(softfp_compat) = y] (softfp_file_list): Use files in the build
4148 directory.
4149 [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
4150 that use compat symbols and disable all code unless [SHARED].
4151 * config/t-softfp-compat: New file.
4152 * find-symver.awk: New file.
4153 * configure.ac (--with-glibc-version): New configure option.
4154 (ppc_fp_compat): New variable set for powerpc*-*-linux*.
4155 * configure: Regenerate.
4156 * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
4157 soft-float and e500.
4158
4159 2014-10-29 Joseph Myers <joseph@codesourcery.com>
4160
4161 * config/t-hardfp (hardfp_exclusions): Document new variable for
4162 user to define.
4163 (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
4164 * config/t-softfp (softfp_extras): Document new variable for user
4165 to define.
4166 (softfp_func_list): Add functions from $(softfp_extras).
4167 * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
4168 * config.host (powerpc*-*-linux*): For e500v1, use
4169 rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
4170 t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
4171 and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
4172
4173 2014-10-26 John David Anglin <danglin@gcc.gnu.org>
4174
4175 * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
4176 (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
4177 memory read accesses are ok.
4178
4179 2014-10-25 Joseph Myers <joseph@codesourcery.com>
4180
4181 * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
4182 * configure: Regenerate.
4183 * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
4184 additions to tmake_file. Use t-hardfp-sfdf and t-hardfp instead
4185 of soft-fp for 32-bit classic hard float. Do not use
4186 t-softfp-excl for soft float.
4187
4188 2014-10-22 Joseph Myers <joseph@codesourcery.com>
4189
4190 * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
4191 configurations.
4192 * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
4193 Remove variables.
4194
4195 2014-10-22 Georg-Johann Lay <avr@gjlay.de>
4196
4197 * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
4198 introduced with 2014-10-21 trunk r216525.
4199
4200 2014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
4201 Vidya Praveen <vidya.praveen@atmel.com>
4202 Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
4203 Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
4204 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
4205
4206 * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
4207 order.
4208
4209 Updated library functions for AVRTINY arch.
4210 * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
4211 Replaced occurrences of r0/r1 with tmp/zero reg macros.
4212 Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
4213 or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
4214 wsubi/wadi macors.
4215 (__mulsi3_helper): Update stack, preserve callee saved regs and
4216 argument from stack. Restore callee save registers.
4217 (__mulpsi3): Likewise.
4218 (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
4219 __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
4220 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
4221 AVRTINY.
4222 (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
4223 (__do_copy_data): Added new definition for AVRTINY.
4224 (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
4225 (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
4226 __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
4227 * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
4228 tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
4229 macors.
4230 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
4231 AVRTINY.
4232
4233 Fix broken long multiplication on tiny arch.
4234
4235 2014-10-09 Joseph Myers <joseph@codesourcery.com>
4236
4237 * soft-fp/double.h: Update from glibc.
4238 * soft-fp/eqdf2.c: Likewise.
4239 * soft-fp/eqsf2.c: Likewise.
4240 * soft-fp/eqtf2.c: Likewise.
4241 * soft-fp/extenddftf2.c: Likewise.
4242 * soft-fp/extended.h: Likewise.
4243 * soft-fp/extendsfdf2.c: Likewise.
4244 * soft-fp/extendsftf2.c: Likewise.
4245 * soft-fp/extendxftf2.c: Likewise.
4246 * soft-fp/gedf2.c: Likewise.
4247 * soft-fp/gesf2.c: Likewise.
4248 * soft-fp/getf2.c: Likewise.
4249 * soft-fp/ledf2.c: Likewise.
4250 * soft-fp/lesf2.c: Likewise.
4251 * soft-fp/letf2.c: Likewise.
4252 * soft-fp/op-1.h: Likewise.
4253 * soft-fp/op-2.h: Likewise.
4254 * soft-fp/op-4.h: Likewise.
4255 * soft-fp/op-8.h: Likewise.
4256 * soft-fp/op-common.h: Likewise.
4257 * soft-fp/quad.h: Likewise.
4258 * soft-fp/single.h: Likewise.
4259 * soft-fp/soft-fp.h: Likewise.
4260 * soft-fp/unorddf2.c: Likewise.
4261 * soft-fp/unordsf2.c: Likewise.
4262 * soft-fp/unordtf2.c: Likewise.
4263 * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
4264 * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
4265 * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
4266 * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
4267 * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
4268 * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
4269 * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
4270 * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
4271 * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
4272 * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
4273
4274 2014-10-08 Rong Xu <xur@google.com>
4275
4276 * libgcov-util.c (read_gcda_file): Fix format.
4277 (find_match_gcov_info): Ditto.
4278 (calculate_2_entries): New.
4279 (compute_one_gcov): Ditto.
4280 (gcov_info_count_all_cold): Ditto.
4281 (gcov_info_count_all_zero): Ditto.
4282 (extract_file_basename): Ditto.
4283 (get_file_basename): Ditto.
4284 (set_flag): Ditto.
4285 (matched_gcov_info): Ditto.
4286 (calculate_overlap): Ditto.
4287 (gcov_profile_overlap): Ditto.
4288 * libgcov-driver.c (compute_summary): Make
4289 it avavilable for external calls.
4290
4291 2014-10-06 Rong Xu <xur@google.com>
4292
4293 * Makefile.in: Ditto.
4294 * libgcov-driver.c (gcov_sort_n_vals): New utility function.
4295 (gcov_sort_icall_topn_counter): Ditto.
4296 (gcov_sort_topn_counter_arrays): Ditto.
4297 (dump_one_gcov): Sort indirect_call topn counters.
4298 * libgcov-merge.c (__gcov_merge_icall_topn): New merge
4299 function.
4300 * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
4301 utility function.
4302 (__gcov_indirect_call_topn_profiler): New profiler function.
4303 * libgcov-util.c (__gcov_icall_topn_counter_op): New.
4304 * libgcov.h: New decls.
4305
4306 2014-10-04 Trevor Saunders <tsaunders@mozilla.com>
4307
4308 * config.host: Remove support for score-*.
4309
4310 2014-09-22 Joseph Myers <joseph@codesourcery.com>
4311
4312 * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
4313 (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
4314 (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
4315 __LIBGCC_XF_MANT_DIG__.
4316 (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
4317 (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
4318 __LIBGCC_TF_MANT_DIG__.
4319 * libgcc2.c (NOTRUNC): Define in terms of
4320 __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
4321 * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
4322
4323 2014-09-22 Joseph Myers <joseph@codesourcery.com>
4324
4325 PR target/63312
4326 * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
4327 New macros.
4328
4329 2014-09-22 Hans-Peter Nilsson <hp@axis.com>
4330
4331 * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
4332 override USE_PT_GNU_EH_FRAME.
4333 [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
4334 check USE_EH_FRAME_REGISTRY_ALWAYS against
4335 __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
4336 * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
4337 variable for substituted force_explicit_eh_registry.
4338 (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
4339 * configure.ac (explicit-exception-frame-registration):
4340 New AC_ARG_ENABLE.
4341 * configure: Regenerate.
4342
4343 2014-09-19 Olivier Hainque <hainque@adacore.com>
4344
4345 * config.host (powerpc-wrs-vxworksmils): New configuration,
4346 same as vxworksae.
4347
4348 2014-09-18 Joseph Myers <joseph@codesourcery.com>
4349
4350 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
4351
4352 2014-09-18 Joseph Myers <joseph@codesourcery.com>
4353
4354 * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
4355 bits not set bits as indicating trapping exceptions.
4356
4357 2014-09-17 Nathan sidwell <nathan@acm.org>
4358
4359 * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
4360 (LIBGCOV_DRIVER): ... here.
4361 * libgcov-driver.c (gcov_master): New.
4362 (gcov_exit): Remove from master chain.
4363 (__gcov_init): Add to master chain if version compatible. Don't
4364 clear the version.
4365 * libgcov_interface (__gcov_flust): Call gcov_dump_int.
4366 (gcov_reset_int): Clear master chain, if compatible.
4367 (gcov_dump_int): New internal interface. Dump master chain, if
4368 compatible.
4369 (gcov_dump): Alias for gcov_dump_int.
4370 * libgcov.h (struct gcov_root): Add next and prev fields.
4371 (struct gcov_master): New struct.
4372 (__gcov_master): New.
4373 (gcov_dump_int): Declare.
4374
4375 2014-09-17 Olivier Hainque <hainque@adacore.com>
4376
4377 * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
4378 and crtbegin.o + crtend.o to extra_parts.
4379
4380 2014-09-12 Joseph Myers <joseph@codesourcery.com>
4381
4382 * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
4383 __LIBGCC_HAS_SF_MODE__.
4384 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
4385 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
4386 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
4387 * config/libbid/bid_gcc_intrinsics.h
4388 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
4389 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
4390 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
4391 * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
4392 (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
4393 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
4394
4395 2014-09-11 Georg-Johann Lay <avr@gjlay.de>
4396
4397 PR target/63223
4398 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
4399 and R24 as needed. Make work for all devices and .text locations.
4400 (__do_global_ctors, __do_global_dtors): Use word addresses.
4401 (__tablejump__, __tablejump_elpm__): Remove functions.
4402 * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
4403 Add _tablejump2.
4404 (XICALL, XIJMP): New macros.
4405
4406 2014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
4407 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
4408
4409 * config.host (aarch64*): Include crtfastmath.o and
4410 t-crtfm.
4411 * config/aarch64/crtfastmath.c: New file.
4412
4413 2014-09-08 Trevor Saunders <tsaunders@mozilla.com>
4414
4415 * config.host: Remove picochip support.
4416 * config/picochip/adddi3.S: Remove.
4417 * config/picochip/ashlsi3.S: Remove.
4418 * config/picochip/ashlsi3.c: Remove.
4419 * config/picochip/ashrsi3.S: Remove.
4420 * config/picochip/ashrsi3.c: Remove.
4421 * config/picochip/clzsi2.S: Remove.
4422 * config/picochip/cmpsi2.S: Remove.
4423 * config/picochip/divmod15.S: Remove.
4424 * config/picochip/divmodhi4.S: Remove.
4425 * config/picochip/divmodsi4.S: Remove.
4426 * config/picochip/lib1funcs.S: Remove.
4427 * config/picochip/longjmp.S: Remove.
4428 * config/picochip/lshrsi3.S: Remove.
4429 * config/picochip/lshrsi3.c: Remove.
4430 * config/picochip/parityhi2.S: Remove.
4431 * config/picochip/popcounthi2.S: Remove.
4432 * config/picochip/setjmp.S: Remove.
4433 * config/picochip/subdi3.S: Remove.
4434 * config/picochip/t-picochip: Remove.
4435 * config/picochip/ucmpsi2.S: Remove.
4436 * config/picochip/udivmodhi4.S: Remove.
4437 * config/picochip/udivmodsi4.S: Remove.
4438
4439 2014-09-08 Joseph Myers <joseph@codesourcery.com>
4440
4441 * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
4442 (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
4443 (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
4444 (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
4445 * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
4446 error if not defined and LIBGCC2_HAS_SF_MODE is defined.
4447 (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
4448 defined and LIBGCC2_HAS_DF_MODE is defined.
4449 (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
4450 defined and LIBGCC2_HAS_XF_MODE is defined.
4451 (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
4452 defined and LIBGCC2_HAS_TF_MODE is defined.
4453
4454 2014-09-08 Joseph Myers <joseph@codesourcery.com>
4455
4456 * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
4457 and ROUND_TOWARDS_ZERO conditionals.
4458
4459 2014-09-07 Nathan sidwell <nathan@acm.org>
4460
4461 * libgcov-interface.c (STRONG_ALIAS): Rename to ...
4462 (ALIAS_weak): ... here. Use forwarding function. Adjust uses.
4463
4464 2014-09-05 Joseph Myers <joseph@codesourcery.com>
4465
4466 * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
4467 * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
4468 uses to __LIBGCC_STACK_POINTER_REGNUM__.
4469 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
4470 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4471 * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
4472 Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4473 * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
4474 uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
4475 (DWARF_FRAME_REGISTERS): Change all uses to
4476 __LIBGCC_DWARF_FRAME_REGISTERS__.
4477 (EH_RETURN_STACKADJ_RTX): Change all uses to
4478 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
4479 * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
4480 __LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
4481 * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
4482 use to __LIBGCC_EH_FRAME_SECTION_NAME__.
4483 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
4484 * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
4485 to __LIBGCC_EH_FRAME_SECTION_NAME__.
4486 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
4487 * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
4488 __LIBGCC_STACK_POINTER_REGNUM__.
4489 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
4490 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4491 * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
4492 to __LIBGCC_STACK_POINTER_REGNUM__.
4493 * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
4494 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4495 * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
4496 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4497 * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
4498 Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4499 (STACK_POINTER_REGNUM): Change all uses to
4500 __LIBGCC_STACK_POINTER_REGNUM__.
4501 * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
4502 use to __LIBGCC_STACK_POINTER_REGNUM__.
4503 * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
4504 uses to __LIBGCC_STACK_POINTER_REGNUM__.
4505 * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
4506 to __LIBGCC_DWARF_FRAME_REGISTERS__.
4507 * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
4508 to __LIBGCC_DWARF_FRAME_REGISTERS__.
4509 * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
4510 to __LIBGCC_STACK_POINTER_REGNUM__.
4511 * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
4512 Remove conditional definition.
4513 * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
4514 __LIBGCC_TEXT_SECTION_ASM_OP__.
4515 (EH_FRAME_SECTION_NAME): Change all uses to
4516 __LIBGCC_EH_FRAME_SECTION_NAME__.
4517 (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
4518 __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
4519 (CTORS_SECTION_ASM_OP): Change all uses to
4520 __LIBGCC_CTORS_SECTION_ASM_OP__.
4521 (DTORS_SECTION_ASM_OP): Change all uses to
4522 __LIBGCC_DTORS_SECTION_ASM_OP__.
4523 (JCR_SECTION_NAME): Change all uses to
4524 __LIBGCC_JCR_SECTION_NAME__.
4525 (INIT_SECTION_ASM_OP): Change all uses to
4526 __LIBGCC_INIT_SECTION_ASM_OP__.
4527 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
4528 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
4529 * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
4530 __LIBGCC_STACK_GROWS_DOWNWARD__.
4531 * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
4532 __LIBGCC_INIT_SECTION_ASM_OP__.
4533 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
4534 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
4535 (EH_FRAME_SECTION_NAME): Change all uses to
4536 __LIBGCC_EH_FRAME_SECTION_NAME__.
4537 * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
4538 definitions. Change all uses to
4539 __LIBGCC_VTABLE_USES_DESCRIPTORS__.
4540 * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
4541 __LIBGCC_STACK_GROWS_DOWNWARD__.
4542 (DWARF_FRAME_REGISTERS): Change all uses to
4543 __LIBGCC_DWARF_FRAME_REGISTERS__.
4544 (EH_RETURN_STACKADJ_RTX): Change all uses to
4545 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
4546 * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
4547 definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
4548 * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
4549 __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
4550 (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
4551
4552 2014-09-02 Nathan sidwell <nathan@acm.org>
4553
4554 * libgcov-interface.c (STRONG_ALIAS): New.
4555 (__gcov_flush): Call __gcov_reset_int.
4556 (__gcov_reset): Strong alias for ...
4557 (__gcov_reset_ing): ... this renamed hidden version.
4558 * libgcov.h (__gcov_reset_int): New declaration.
4559
4560 2014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
4561
4562 * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
4563 call from here...
4564 * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
4565 (__dso_handle): Define on Cygwin.
4566 * config/i386/t-cygming (crtbeginS.o): New rule.
4567 * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
4568
4569 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
4570 declaration syntax.
4571
4572 2014-08-13 Steve Ellcey <sellcey@mips.com>
4573
4574 * crtstuff.c: Undef caddr_t.
4575
4576 2014-08-12 Steve Ellcey <sellcey@mips.com>
4577
4578 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
4579
4580 2014-08-07 Nathan Sidwell <nathan@acm.org>
4581
4582 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
4583 (LIBGCOV_DRIVER): ... to here.
4584 * libgcov.h (gcov_do_dump): New #define.
4585 (struct gcov_root): New.
4586 (__gcov_root): New declaration.
4587 (__gcov_dump_one): Declare.
4588 * libgcov-driver.c (gcov_list, gcov_dump_complete,
4589 run_accounted): Delete.
4590 (gcov_compute_histogram): Add LIST argument, adjust.
4591 (compute_summary): Adjust gcov_compute_histogram call.
4592 (gcov_do_dump): Not hidden, static in libgcov.
4593 (gcov_clear): Move to interface.c.
4594 (__gcov_dump_one): New, broken out of ...
4595 (gcov_exit): ... here. Make static.
4596 (__gcov_root): New.
4597 (__gcov_init): Adjust.
4598 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
4599 declarations.
4600 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
4601 (gcov_clear): Moved from driver.c. Add LIST argument.
4602 (__gcov_reset): Adjust for changed interfaces.
4603 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
4604
4605 2014-08-04 Rohit <rohitarulraj@freescale.com>
4606
4607 PR target/60102
4608 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
4609 based on change in SPE high register numbers and 3 HTM registers.
4610
4611 2014-08-01 Nathan Sidwell <nathan@acm.org>
4612
4613 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
4614 LIBGCOV_INTERFACE): Reformat.
4615 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
4616 IN_GCOV_TOOL.
4617 * libgcov-interface.c: Reformat some comments.
4618 (__gcov_flush_mx): Add declaration. Tidy up definition.
4619
4620 2014-07-31 Alan Modra <amodra@gmail.com>
4621 Peter Bergner <bergner@vnet.ibm.com>
4622
4623 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
4624 (pack_ldouble): New function.
4625 (__gcc_qadd): Use it.
4626 (__gcc_qmul): Likewise.
4627 (__gcc_qdiv): Likewise.
4628 (__gcc_qneg): Likewise.
4629 (__gcc_stoq): Likewise.
4630 (__gcc_dtoq): Likewise.
4631
4632 2014-07-30 J. D. Johnston <jjohnst@us.ibm.com>
4633
4634 * config/s390/tpf-unwind.h: Include <stdbool.h>.
4635 (__tpf_eh_return): Add original return address as second parameter.
4636 Handle cases where unwinder routines were called directly, instead
4637 of from within the C++ library.
4638
4639 2014-07-29 Nathan Sidwell <nathan@acm.org>
4640
4641 * libgcov.h: Move renaming of entry points to lib gcov specific
4642 portion.
4643 (gcov_do_dump): New rename.
4644 (gcov_rewrite): Remove inline, make HIDDEN.
4645 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
4646 (gcov_exit_compute_summary): Rename to ...
4647 (compute_summary): ... here. Add LIST argument.
4648 (gcov_exit_merge_gcda): Rename to ...
4649 (merge_one_data): ... here.
4650 (gcov_exit_write_gcda): Rename to ...
4651 (write_one_data): ... here.
4652 (gcov_exit_merge_summary): Rename to ...
4653 (merge_summary): Add RUN_COUNTED argument.
4654 (gcov_exit_dump_gcov): Rename to ...
4655 (dump_one_gcov): Add RUN_COUNTED argument.
4656 (gcov_do_dump): New function, broken out of ...
4657 (gcov_exit): ... here. Call it.
4658
4659 2014-07-27 Anthony Green <green@moxielogic.com>
4660
4661 * config.host: Add moxiebox configuration suppport.
4662
4663 2014-07-27 Nathan Sidwell <nathan@acm.org>
4664
4665 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
4666 (struct gcov_filename): ... here. Include buffer and max length
4667 fields.
4668 (gcov_max_filename): Remove.
4669 (gi_filename): Remove.
4670 (gcov_exit_compute_summary): Compute max filename here.
4671 (gcov_exit_merge_gcda): Add filename parm, adjust.
4672 (gcov_exit_merge_summary): Likewise.
4673 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
4674 (gcov_exit): Likewise.
4675 (__gcov_init): Don't calculate max length here.
4676 * libgcov_util.c (max_filename_len): Remove.
4677 (read_gcda_file): Don't calculate max length here.
4678 (gcov_read_profile_dir): Don't propagate here.
4679 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
4680 struct gcov_filename changes.
4681 (gcov_exit_open_gcda_file): Likewise.
4682
4683 2014-07-25 Nathan Sidwell <nathan@acm.org>
4684
4685 * libgcov-driver.c (set_gcov_dump_complete,
4686 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
4687 functions polluting user's namespace.
4688 (gcov_exit): Set variable directly.
4689 (gcov_clear): Reset variable directly.
4690 * libgcov-interface.c (get_gcov_dymp_complete,
4691 reset_gov_dump_complete): Remove declarations.
4692 (__gcov_reset, __gcov_dump): Don't call them.
4693
4694 2014-07-24 DJ Delorie <dj@redhat.com>
4695
4696 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
4697 (__gcc_deregister_frame): Move logic to detect deregister function
4698 to ...
4699 (__gcc_register_frame): here, so it's consistent with the register
4700 logic.
4701
4702 2014-07-23 Nathan Sidwell <nathan@acm.org>
4703
4704 * libgcov-driver.c (set_gcov_list): Remove.
4705 (gcov_list): Make non-static in GCOV_TOOL.
4706 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
4707
4708 2014-07-17 John David Anglin <danglin@gcc.gnu.org>
4709
4710 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
4711 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
4712 Don't use SYNC_LOCK_RELEASE for int type.
4713
4714 2014-07-14 Richard Biener <rguenther@suse.de>
4715
4716 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
4717
4718 2014-07-11 Rong Xu <xur@google.com>
4719
4720 * libgcov-util.c (gcov_max_filename): Fix declartion.
4721
4722 2014-07-10 Rong Xu <xur@google.com>
4723
4724 Add gcov-tool: an offline gcda profile processing tool
4725 Support.
4726 * libgcov-driver.c (gcov_max_filename): Make available
4727 to gcov-tool.
4728 * libgcov-merge.c (__gcov_merge_add): Replace
4729 gcov_read_counter() with a Macro.
4730 (__gcov_merge_ior): Ditto.
4731 (__gcov_merge_time_profile): Ditto.
4732 (__gcov_merge_single): Ditto.
4733 (__gcov_merge_delta): Ditto.
4734 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
4735 in the utility functions.
4736 (set_fn_ctrs): Utility function for reading gcda files to in-memory
4737 gcov_list object link lists.
4738 (tag_function): Ditto.
4739 (tag_blocks): Ditto.
4740 (tag_arcs): Ditto.
4741 (tag_lines): Ditto.
4742 (tag_counters): Ditto.
4743 (tag_summary): Ditto.
4744 (read_gcda_finalize): Ditto.
4745 (read_gcda_file): Ditto.
4746 (ftw_read_file): Ditto.
4747 (read_profile_dir_init): Ditto.
4748 (gcov_read_profile_dir): Ditto.
4749 (gcov_read_counter_mem): Ditto.
4750 (gcov_get_merge_weight): Ditto.
4751 (merge_wrapper): A wrapper function that calls merging handler.
4752 (gcov_merge): Merge two gcov_info objects with weights.
4753 (find_match_gcov_info): Find the matched gcov_info in the list.
4754 (gcov_profile_merge): Merge two gcov_info object lists.
4755 (__gcov_add_counter_op): Process edge profile counter values.
4756 (__gcov_ior_counter_op): Process IOR profile counter values.
4757 (__gcov_delta_counter_op): Process delta profile counter values.
4758 (__gcov_single_counter_op): Process single profile counter values.
4759 (fp_scale): Callback function for float-point scaling.
4760 (int_scale): Callback function for integer fraction scaling.
4761 (gcov_profile_scale): Scaling profile counters.
4762 (gcov_profile_normalize): Normalize profile counters.
4763 * libgcov.h: Add headers and functions for gcov-tool use.
4764 (gcov_get_counter): New.
4765 (gcov_get_counter_target): Ditto.
4766 (struct gcov_info): Make the functions field mutable in gcov-tool
4767 compilation.
4768
4769 2014-06-23 Kai Tietz <ktietz@redhat.com>
4770
4771 PR libgcc/61585
4772 * unwind-seh.c (_Unwind_GetGR): Check for proper
4773 index range.
4774 (_Unwind_SetGR): Likewise.
4775
4776 2014-05-22 Nick Clifton <nickc@redhat.com>
4777
4778 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
4779 -mhwmult=none.
4780
4781 2014-05-22 Teresa Johnson <tejohnson@google.com>
4782
4783 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
4784 include.
4785
4786 2014-05-20 John Marino <gnugcc@marino.st>
4787
4788 * config.host (*-*-dragonfly*): New target.
4789 * crtstuff.c: Make dl_iterate_support generic on *bsd.
4790 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
4791 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
4792 * config/i386/dragonfly-unwind.h: New.
4793
4794 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
4795
4796 PR libgcc/60166
4797 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
4798 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
4799
4800 2014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
4801
4802 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
4803 implementation.
4804
4805 2014-05-12 Georg-Johann Lay <avr@gjlay.de>
4806
4807 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
4808
4809 2014-05-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4810
4811 PR libgcc/61097
4812 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
4813 if --enable-shared.
4814
4815 2014-04-30 Bernd Edlinger <bernd.edlinger@hotmail.de>
4816
4817 Work around for current cygwin32 build problems.
4818 * config/i386/cygming-crtbegin.c (__register_frame_info,
4819 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
4820 functions only for 64-bit systems.
4821
4822 2014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4823
4824 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
4825 (sigill_caught, sigill_hdlr): Remove.
4826
4827 2014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4828
4829 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
4830 check.
4831 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
4832 Solaris 9 single-threaded support.
4833 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
4834 Solaris 9 single-threaded support. Add call_user_handler code
4835 sequences.
4836 (sparc_is_sighandler): Likewise.
4837
4838 2014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4839
4840 * config.host: Append t-floattodi to tmake_file depending on
4841 host_address.
4842
4843 2014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
4844
4845 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
4846
4847 2014-03-10 Uros Bizjak <ubizjak@gmail.com>
4848
4849 PR libgcc/60472
4850 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
4851 variable to avoid "array subscript is above array bounds" warnings.
4852 Use __builtin_expect when checking *jcr_list for NULL.
4853
4854 2014-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4855
4856 PR libgcc/59339
4857 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
4858 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
4859 vtv_*.o to extra_parts if enable_vtable_verify.
4860
4861 2014-03-06 Nick Clifton <nickc@redhat.com>
4862
4863 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
4864 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
4865
4866 2014-02-28 Joey Ye <joey.ye@arm.com>
4867
4868 PR libgcc/60166
4869 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
4870 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
4871 Set to zero.
4872
4873 2014-02-24 Walter Lee <walt@tilera.com>
4874
4875 * config.host: Support "tilegx*" and "tilepro*" triplets.
4876 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
4877 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
4878
4879 2014-02-20 Sandra Loosemore <sandra@codesourcery.com>
4880 Chung-Lin Tang <cltang@codesourcery.com>
4881
4882 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
4883 * config/nios2/crti.S: Remove .file directive.
4884 * config/nios2/crtn.S: Likewise.
4885
4886 2014-02-18 Kai Tietz <ktietz@redhat.com>
4887 Jonathan Schleifer <js@webkeks.org>
4888
4889 PR objc/56870
4890 * unwind-seh.c (_GCC_specific_handler): Pass proper
4891 value to unwind-handler.
4892
4893 2014-02-12 Joseph Myers <joseph@codesourcery.com>
4894
4895 * soft-fp/adddf3.c: Update from glibc.
4896 * soft-fp/addsf3.c: Likewise.
4897 * soft-fp/addtf3.c: Likewise.
4898 * soft-fp/divdf3.c: Likewise.
4899 * soft-fp/divsf3.c: Likewise.
4900 * soft-fp/divtf3.c: Likewise.
4901 * soft-fp/double.h: Likewise.
4902 * soft-fp/eqdf2.c: Likewise.
4903 * soft-fp/eqsf2.c: Likewise.
4904 * soft-fp/eqtf2.c: Likewise.
4905 * soft-fp/extenddftf2.c: Likewise.
4906 * soft-fp/extended.h: Likewise.
4907 * soft-fp/extendsfdf2.c: Likewise.
4908 * soft-fp/extendsftf2.c: Likewise.
4909 * soft-fp/extendxftf2.c: Likewise.
4910 * soft-fp/fixdfdi.c: Likewise.
4911 * soft-fp/fixdfsi.c: Likewise.
4912 * soft-fp/fixdfti.c: Likewise.
4913 * soft-fp/fixsfdi.c: Likewise.
4914 * soft-fp/fixsfsi.c: Likewise.
4915 * soft-fp/fixsfti.c: Likewise.
4916 * soft-fp/fixtfdi.c: Likewise.
4917 * soft-fp/fixtfsi.c: Likewise.
4918 * soft-fp/fixtfti.c: Likewise.
4919 * soft-fp/fixunsdfdi.c: Likewise.
4920 * soft-fp/fixunsdfsi.c: Likewise.
4921 * soft-fp/fixunsdfti.c: Likewise.
4922 * soft-fp/fixunssfdi.c: Likewise.
4923 * soft-fp/fixunssfsi.c: Likewise.
4924 * soft-fp/fixunssfti.c: Likewise.
4925 * soft-fp/fixunstfdi.c: Likewise.
4926 * soft-fp/fixunstfsi.c: Likewise.
4927 * soft-fp/fixunstfti.c: Likewise.
4928 * soft-fp/floatdidf.c: Likewise.
4929 * soft-fp/floatdisf.c: Likewise.
4930 * soft-fp/floatditf.c: Likewise.
4931 * soft-fp/floatsidf.c: Likewise.
4932 * soft-fp/floatsisf.c: Likewise.
4933 * soft-fp/floatsitf.c: Likewise.
4934 * soft-fp/floattidf.c: Likewise.
4935 * soft-fp/floattisf.c: Likewise.
4936 * soft-fp/floattitf.c: Likewise.
4937 * soft-fp/floatundidf.c: Likewise.
4938 * soft-fp/floatundisf.c: Likewise.
4939 * soft-fp/floatunditf.c: Likewise.
4940 * soft-fp/floatunsidf.c: Likewise.
4941 * soft-fp/floatunsisf.c: Likewise.
4942 * soft-fp/floatunsitf.c: Likewise.
4943 * soft-fp/floatuntidf.c: Likewise.
4944 * soft-fp/floatuntisf.c: Likewise.
4945 * soft-fp/floatuntitf.c: Likewise.
4946 * soft-fp/gedf2.c: Likewise.
4947 * soft-fp/gesf2.c: Likewise.
4948 * soft-fp/getf2.c: Likewise.
4949 * soft-fp/ledf2.c: Likewise.
4950 * soft-fp/lesf2.c: Likewise.
4951 * soft-fp/letf2.c: Likewise.
4952 * soft-fp/muldf3.c: Likewise.
4953 * soft-fp/mulsf3.c: Likewise.
4954 * soft-fp/multf3.c: Likewise.
4955 * soft-fp/negdf2.c: Likewise.
4956 * soft-fp/negsf2.c: Likewise.
4957 * soft-fp/negtf2.c: Likewise.
4958 * soft-fp/op-1.h: Likewise.
4959 * soft-fp/op-2.h: Likewise.
4960 * soft-fp/op-4.h: Likewise.
4961 * soft-fp/op-8.h: Likewise.
4962 * soft-fp/op-common.h: Likewise.
4963 * soft-fp/quad.h: Likewise.
4964 * soft-fp/single.h: Likewise.
4965 * soft-fp/soft-fp.h: Likewise.
4966 * soft-fp/subdf3.c: Likewise.
4967 * soft-fp/subsf3.c: Likewise.
4968 * soft-fp/subtf3.c: Likewise.
4969 * soft-fp/truncdfsf2.c: Likewise.
4970 * soft-fp/trunctfdf2.c: Likewise.
4971 * soft-fp/trunctfsf2.c: Likewise.
4972 * soft-fp/trunctfxf2.c: Likewise.
4973 * soft-fp/unorddf2.c: Likewise.
4974 * soft-fp/unordsf2.c: Likewise.
4975 * soft-fp/unordtf2.c: Likewise.
4976 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
4977 macro.
4978 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4979 Likewise.
4980 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4981 Likewise.
4982 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4983 Likewise.
4984 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4985 Likewise.
4986 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4987 Likewise.
4988 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4989 Likewise.
4990 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4991 Likewise.
4992 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4993 Likewise.
4994 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4995 Likewise.
4996 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4997 Likewise.
4998 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4999 Likewise.
5000 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5001 Likewise.
5002 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
5003 Likewise.
5004 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
5005 Likewise.
5006 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5007 Likewise.
5008
5009 2014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5010
5011 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
5012 cannot be represented.
5013 * config/s390/32/_fixsfdi.c: Likewise.
5014 * config/s390/32/_fixtfdi.c: Likewise.
5015 * config/s390/32/_fixunsdfdi.c: Likewise.
5016 * config/s390/32/_fixunssfdi.c: Likewise.
5017 * config/s390/32/_fixunstfdi.c: Likewise.
5018
5019 2014-02-07 Richard Sandiford <rdsandiford@googlemail.com>
5020
5021 * configure.ac (libgcc_cv_mips_hard_float): New.
5022 * configure: Regenerate.
5023 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
5024 t-softfp-sfdf for hard-float targets.
5025 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
5026 (softfp_float_modes, softfp_int_modes, softfp_extensions)
5027 (softfp_truncations, softfp_exclude_libgcc2): New.
5028 * config/t-hardfp: New file.
5029 * config/t-hardfp-sfdf: Likewise.
5030 * config/hardfp.c: Likewise.
5031
5032 2014-02-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5033
5034 * config.host: Include t-floattodi also for s390x.
5035 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
5036 * config/s390/32/_fixsfdi.c: Likewise.
5037 * config/s390/32/_fixtfdi.c: Likewise.
5038 * config/s390/32/_fixunsdfdi.c: Likewise.
5039 * config/s390/32/_fixunssfdi.c: Likewise.
5040 * config/s390/32/_fixunstfdi.c: Likewise.
5041
5042 2014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5043
5044 PR target/59788
5045 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
5046 (install-libgcc-unwind-map-forbuild): New target.
5047 (all): Depend on install-libgcc-unwind-map-forbuild.
5048 (install-libgcc-unwind-map): New target.
5049 (install): Depend on install-libgcc-unwind-map.
5050
5051 2014-02-02 Sandra Loosemore <sandra@codesourcery.com>
5052
5053 * config/nios2/crti.S (_init): Initialize GOT pointer from
5054 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
5055
5056 2014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
5057
5058 * configure.ac: Check __mips64 when setting host_address.
5059 * configure: Regenerate.
5060 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
5061 mips/t-mips64 and t-softfp.
5062 (mips*-*-linux*): Don't add mips/t-tpbit.
5063 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
5064 (DPBIT, DPBIT_CFLAGS): Delete.
5065 * config/mips/sfp-machine.h: New file.
5066 * config/mips/t-mips64: Likewise.
5067 * config/mips/t-softfp-tf: Likewise.
5068 * config/mips/t-tpbit: Delete.
5069
5070 2014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
5071
5072 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
5073 as long long.
5074
5075 2014-01-25 Walter Lee <walt@tilera.com>
5076
5077 * config/tilepro/atomic.c: Include tconfig.h. Don't include
5078 config.h or system.h.
5079 (bool) Define.
5080
5081 2014-01-25 Walter Lee <walt@tilera.com>
5082
5083 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
5084 (post_atomic_barrier): Ditto.
5085 (__fetch_and_do): New macro.
5086 (__atomic_fetch_and_do): Use __fetch_and_do.
5087 (__sync_fetch_and_do): New macro.
5088 (__sync_fetch_and_add_4): New function.
5089 (__sync_fetch_and_sub_4): New function.
5090 (__sync_fetch_and_or_4): New function.
5091 (__sync_fetch_and_and_4): New function.
5092 (__sync_fetch_and_xor_4): New function.
5093 (__sync_fetch_and_nand_4): New function.
5094 (__sync_fetch_and_add_8): New function.
5095 (__sync_fetch_and_sub_8): New function.
5096 (__sync_fetch_and_or_8): New function.
5097 (__sync_fetch_and_and_8): New function.
5098 (__sync_fetch_and_xor_8): New function.
5099 (__sync_fetch_and_nand_8): New function.
5100 (__do_and_fetch): New macro.
5101 (__atomic_do_and_fetch): Use __do_and_fetch.
5102 (__sync_do_and_fetch): New macro.
5103 (__sync_add_and_fetch_4): New function.
5104 (__sync_sub_and_fetch_4): New function.
5105 (__sync_or_and_fetch_4): New function.
5106 (__sync_and_and_fetch_4): New function.
5107 (__sync_xor_and_fetch_4): New function.
5108 (__sync_nand_and_fetch_4): New function.
5109 (__sync_add_and_fetch_8): New function.
5110 (__sync_sub_and_fetch_8): New function.
5111 (__sync_or_and_fetch_8): New function.
5112 (__sync_and_and_fetch_8): New function.
5113 (__sync_xor_and_fetch_8): New function.
5114 (__sync_nand_and_fetch_8): New function.
5115 (__sync_exchange_methods): New macro.
5116 (__sync_val_compare_and_swap_4): New function.
5117 (__sync_bool_compare_and_swap_4): New function.
5118 (__sync_lock_test_and_test_4): New function.
5119 (__sync_val_compare_and_swap_8): New function.
5120 (__sync_bool_compare_and_swap_8): New function.
5121 (__sync_lock_test_and_test_8): New function.
5122 (__subword_cmpxchg_body): New macro.
5123 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
5124 (__atomic_compare_exchange_2): Ditto.
5125 (__sync_subword_cmpxchg): New macro.
5126 (__sync_val_compare_and_swap_1): New function.
5127 (__sync_bool_compare_and_swap_1): New function.
5128 (__sync_val_compare_and_swap_2): New function.
5129 (__sync_bool_compare_and_swap_2): New function.
5130 (__atomic_subword): Rename to ...
5131 (__subword): ... New name.
5132 (__atomic_subword_fetch): Use __subword.
5133 (__sync_subword_fetch): New macro.
5134 (__sync_fetch_and_add_1): New function.
5135 (__sync_fetch_and_sub_1): New function.
5136 (__sync_fetch_and_or_1): New function.
5137 (__sync_fetch_and_and_1): New function.
5138 (__sync_fetch_and_xor_1): New function.
5139 (__sync_fetch_and_nand_1): New function.
5140 (__sync_fetch_and_add_2): New function.
5141 (__sync_fetch_and_sub_2): New function.
5142 (__sync_fetch_and_or_2): New function.
5143 (__sync_fetch_and_and_2): New function.
5144 (__sync_fetch_and_xor_2): New function.
5145 (__sync_fetch_and_nand_2): New function.
5146 (__sync_add_and_fetch_1): New function.
5147 (__sync_sub_and_fetch_1): New function.
5148 (__sync_or_and_fetch_1): New function.
5149 (__sync_and_and_fetch_1): New function.
5150 (__sync_xor_and_fetch_1): New function.
5151 (__sync_nand_and_fetch_1): New function.
5152 (__sync_add_and_fetch_2): New function.
5153 (__sync_sub_and_fetch_2): New function.
5154 (__sync_or_and_fetch_2): New function.
5155 (__sync_and_and_fetch_2): New function.
5156 (__sync_xor_and_fetch_2): New function.
5157 (__sync_nand_and_fetch_2): New function.
5158 (__atomic_subword_lock): Use __subword.
5159 (__sync_subword_lock): New macro.
5160 (__sync_lock_test_and_set_1): New function.
5161 (__sync_lock_test_and_set_2): New function.
5162
5163 2014-01-25 Walter Lee <walt@tilera.com>
5164
5165 * config/tilepro/atomic.c (BIT_OFFSET): Define.
5166 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
5167 (__atomic_subword): Ditto.
5168
5169 2014-01-25 Walter Lee <walt@tilera.com>
5170
5171 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
5172 a prefix op argument.
5173 (__atomic_nand_fetch_4): Add prefix op.
5174 (__atomic_nand_fetch_8): Ditto.
5175
5176 2014-01-21 Baruch Siach <barch@tkos.co.il>
5177
5178 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
5179
5180 2014-01-09 Rong Xu <xur@google.com>
5181
5182 * libgcov-driver.c (this_prg): make it local to save
5183 bss space.
5184 (gcov_exit_compute_summary): Ditto.
5185 (gcov_exit_merge_gcda): Ditto.
5186 (gcov_exit_merge_summary): Ditto.
5187 (gcov_exit_dump_gcov): Ditto.
5188
5189 2014-01-08 Rong Xu <xur@google.com>
5190
5191 * libgcov-driver.c: Use libgcov.h.
5192 (buffer_fn_data): Use xmalloc instead of malloc.
5193 (gcov_exit_merge_gcda): Ditto.
5194 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
5195 * libgcov.h: New common header files for libgcov-*.h.
5196 * libgcov-interface.c: Use libgcov.h
5197 * libgcov-merge.c: Ditto.
5198 * libgcov-profiler.c: Ditto.
5199 * Makefile.in: Add dependence to libgcov.h
5200
5201 2014-01-02 Joseph Myers <joseph@codesourcery.com>
5202
5203 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
5204 case of small numerator and finite nonzero result.
5205
5206 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
5207
5208 Update copyright years
5209
5210 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
5211
5212 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
5213 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
5214 config/arc/dp-hack.h, config/arc/fp-hack.h,
5215 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
5216 config/arc/ieee-754/arc600-dsp/divdf3.S,
5217 config/arc/ieee-754/arc600-dsp/divsf3.S,
5218 config/arc/ieee-754/arc600-dsp/muldf3.S,
5219 config/arc/ieee-754/arc600-dsp/mulsf3.S,
5220 config/arc/ieee-754/arc600-mul64/divdf3.S,
5221 config/arc/ieee-754/arc600-mul64/divsf3.S,
5222 config/arc/ieee-754/arc600-mul64/muldf3.S,
5223 config/arc/ieee-754/arc600-mul64/mulsf3.S,
5224 config/arc/ieee-754/arc600/divsf3.S,
5225 config/arc/ieee-754/arc600/mulsf3.S,
5226 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
5227 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
5228 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
5229 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
5230 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
5231 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
5232 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
5233 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
5234 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
5235 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
5236 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
5237 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
5238 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
5239 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
5240 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
5241 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
5242 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
5243 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
5244 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
5245 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
5246 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
5247 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
5248 vtv_start_preinit.c: Use the standard form for the copyright notice.
5249
5250 2013-12-31 Sandra Loosemore <sandra@codesourcery.com>
5251 Chung-Lin Tang <cltang@codesourcery.com>
5252 Based on patches from Altera Corporation
5253
5254 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
5255 * config/nios2/lib2-nios2.h: New file.
5256 * config/nios2/lib2-divmod-hi.c: New file.
5257 * config/nios2/linux-unwind.h: New file.
5258 * config/nios2/lib2-divmod.c: New file.
5259 * config/nios2/linux-atomic.c: New file.
5260 * config/nios2/t-nios2: New file.
5261 * config/nios2/crti.asm: New file.
5262 * config/nios2/t-linux: New file.
5263 * config/nios2/lib2-divtable.c: New file.
5264 * config/nios2/lib2-mul.c: New file.
5265 * config/nios2/tramp.c: New file.
5266 * config/nios2/crtn.asm: New file.
5267
5268 2013-12-26 Uros Bizjak <ubizjak@gmail.com>
5269
5270 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
5271 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
5272 from cpuid.h to check vendor signatures.
5273
5274 2013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
5275
5276 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
5277 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
5278 (get_amd_cpu): Likewise.
5279
5280 2013-12-25 H.J. Lu <hongjiu.lu@intel.com>
5281
5282 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
5283 Haswell.
5284
5285 2013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
5286 H.J. Lu <hongjiu.lu@intel.com>
5287
5288 PR target/59422
5289 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
5290 and AMD_JAGUAR.
5291 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
5292 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
5293 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
5294 FEATURE_XOP and FEATURE_FMA.
5295 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
5296 AMDFAM15H_BDVER3.
5297 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
5298 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
5299 FEATURE_FMA4 and FEATURE_XOP.
5300
5301 2013-12-23 H.J. Lu <hongjiu.lu@intel.com>
5302
5303 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
5304 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
5305 (get_intel_cpu): Updated.
5306
5307 2013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
5308
5309 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
5310
5311 2013-12-09 Uros Bizjak <ubizjak@gmail.com>
5312
5313 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
5314 instructions when __SSE_MATH__ is defined.
5315
5316 2013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
5317
5318 * config.host (microblaze-*-rtems*): New.
5319
5320 2013-12-04 Kugan Vivekanandarajah <kuganv@linaro.org>
5321
5322 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
5323 architectures that do not have hardware divide instruction.
5324 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
5325
5326 2013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
5327
5328 * longlong.h: Delete (moved to include/).
5329
5330 2013-12-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5331
5332 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
5333 of normal number and qNaN to not raise an inexact exception.
5334
5335 2013-11-28 Uros Bizjak <ubizjak@gmail.com>
5336
5337 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
5338
5339 2013-11-28 Matthew Leach <matthew.leach@arm.com>
5340
5341 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
5342 for correct opcodes on BE.
5343
5344 2013-11-27 Uros Bizjak <ubizjak@gmail.com>
5345
5346 * soft-fp/op-4.h: Update from glibc.
5347
5348 2013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
5349
5350 * libgcc2.c (__udivmoddi4): Define new implementation when
5351 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
5352 divide instructions.
5353
5354 2013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
5355
5356 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
5357
5358 2013-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5359
5360 * config/t-softfp (soft-fp-objects-base): New variable.
5361 (soft-fp-objects): Use it.
5362
5363 2013-11-23 David Edelson <dje.gcc@gmail.com>
5364 Andrew Dixie <andrewd@gentrack.com>
5365
5366 PR target/33704
5367 * config/rs6000/aixinitfini.c: New file.
5368 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
5369 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
5370 symbols.
5371
5372 2013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
5373
5374 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
5375
5376 2013-11-18 Jan Hubicka <jh@suse.cz>
5377
5378 * libgcov-driver.c (run_accounted): Make global level static.
5379 (gcov_exit_merge_summary): Silence warning; do not clear
5380 run_accounted here.
5381 (gcov_exit): Clear it here.
5382
5383 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
5384 run_accounted.
5385
5386 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
5387 (all_prg, crc32): Remove static vars.
5388 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
5389 all_prg.
5390 (gcov_exit_merge_gcda): Add crc32 parameter.
5391 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
5392 do not account run if it was already accounted.
5393 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
5394 (gcov_exit): Initialize all_prg; update.
5395
5396 2013-11-15 Andreas Schwab <schwab@linux-m68k.org>
5397
5398 * configure: Regenerate.
5399
5400 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5401 Alan Modra <amodra@gmail.com>
5402
5403 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
5404 (frob_update_context): Use it.
5405
5406 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5407 Alan Modra <amodra@gmail.com>
5408
5409 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
5410 (trampoline_initial): Provide ELFv2 variant.
5411 (__trampoline_setup): Likewise.
5412
5413 * config/rs6000/linux-unwind.h (frob_update_context): Do not
5414 check for AIX indirect function call sequence if _CALL_ELF == 2.
5415
5416 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5417 Alan Modra <amodra@gmail.com>
5418
5419 * config/rs6000/linux-unwind.h (get_regs): Do not support
5420 old kernel versions if _CALL_ELF == 2.
5421 (frob_update_context): Do not support PLT stub variants only
5422 generated by old linkers if _CALL_ELF == 2.
5423
5424 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5425 Alan Modra <amodra@gmail.com>
5426
5427 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
5428 location of CR save area for 64-bit little-endian systems.
5429
5430 2013-11-11 Eric Botcazou <ebotcazou@adacore.com>
5431
5432 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
5433 in tmake_file.
5434 * config/arm/t-vxworks: Delete.
5435
5436 2013-11-10 Kai Tietz <ktietz@redhat.com>
5437
5438 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
5439 Increment load-count on use of LIBGCC_SONAME DLL.
5440 (hmod_libgcc): New static variable to hold handle of
5441 LIBGCC_SONAME DLL.
5442 (__gcc_deregister_frame): Decrement load-count of
5443 LIBGCC_SONAME DLL.
5444
5445 2013-11-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
5446
5447 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
5448 availability.
5449 * configure: Regenerate
5450
5451 2013-11-07 Uros Bizjak <ubizjak@gmail.com>
5452
5453 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
5454 FP_EX_DENORM. Store result to volatile location after SSE division
5455 to close interrupt window. Remove unneeded fwait after x87
5456 division since interrupt window will be closed by emitted fstp.
5457 Rewrite FP_EX_INEXACT handling.
5458
5459 2013-11-06 Joseph Myers <joseph@codesourcery.com>
5460
5461 * soft-fp/README: Update.
5462 * soft-fp/adddf3.c: Update from glibc.
5463 * soft-fp/addsf3.c: Likewise.
5464 * soft-fp/addtf3.c: Likewise.
5465 * soft-fp/divdf3.c: Likewise.
5466 * soft-fp/divsf3.c: Likewise.
5467 * soft-fp/divtf3.c: Likewise.
5468 * soft-fp/double.h: Likewise.
5469 * soft-fp/eqdf2.c: Likewise.
5470 * soft-fp/eqsf2.c: Likewise.
5471 * soft-fp/eqtf2.c: Likewise.
5472 * soft-fp/extenddftf2.c: Likewise.
5473 * soft-fp/extended.h: Likewise.
5474 * soft-fp/extendsfdf2.c: Likewise.
5475 * soft-fp/extendsftf2.c: Likewise.
5476 * soft-fp/extendxftf2.c: Likewise.
5477 * soft-fp/fixdfdi.c: Likewise.
5478 * soft-fp/fixdfsi.c: Likewise.
5479 * soft-fp/fixdfti.c: Likewise.
5480 * soft-fp/fixsfdi.c: Likewise.
5481 * soft-fp/fixsfsi.c: Likewise.
5482 * soft-fp/fixsfti.c: Likewise.
5483 * soft-fp/fixtfdi.c: Likewise.
5484 * soft-fp/fixtfsi.c: Likewise.
5485 * soft-fp/fixtfti.c: Likewise.
5486 * soft-fp/fixunsdfdi.c: Likewise.
5487 * soft-fp/fixunsdfsi.c: Likewise.
5488 * soft-fp/fixunsdfti.c: Likewise.
5489 * soft-fp/fixunssfdi.c: Likewise.
5490 * soft-fp/fixunssfsi.c: Likewise.
5491 * soft-fp/fixunssfti.c: Likewise.
5492 * soft-fp/fixunstfdi.c: Likewise.
5493 * soft-fp/fixunstfsi.c: Likewise.
5494 * soft-fp/fixunstfti.c: Likewise.
5495 * soft-fp/floatdidf.c: Likewise.
5496 * soft-fp/floatdisf.c: Likewise.
5497 * soft-fp/floatditf.c: Likewise.
5498 * soft-fp/floatsidf.c: Likewise.
5499 * soft-fp/floatsisf.c: Likewise.
5500 * soft-fp/floatsitf.c: Likewise.
5501 * soft-fp/floattidf.c: Likewise.
5502 * soft-fp/floattisf.c: Likewise.
5503 * soft-fp/floattitf.c: Likewise.
5504 * soft-fp/floatundidf.c: Likewise.
5505 * soft-fp/floatundisf.c: Likewise.
5506 * soft-fp/floatunditf.c: Likewise.
5507 * soft-fp/floatunsidf.c: Likewise.
5508 * soft-fp/floatunsisf.c: Likewise.
5509 * soft-fp/floatunsitf.c: Likewise.
5510 * soft-fp/floatuntidf.c: Likewise.
5511 * soft-fp/floatuntisf.c: Likewise.
5512 * soft-fp/floatuntitf.c: Likewise.
5513 * soft-fp/gedf2.c: Likewise.
5514 * soft-fp/gesf2.c: Likewise.
5515 * soft-fp/getf2.c: Likewise.
5516 * soft-fp/ledf2.c: Likewise.
5517 * soft-fp/lesf2.c: Likewise.
5518 * soft-fp/letf2.c: Likewise.
5519 * soft-fp/muldf3.c: Likewise.
5520 * soft-fp/mulsf3.c: Likewise.
5521 * soft-fp/multf3.c: Likewise.
5522 * soft-fp/negdf2.c: Likewise.
5523 * soft-fp/negsf2.c: Likewise.
5524 * soft-fp/negtf2.c: Likewise.
5525 * soft-fp/op-1.h: Likewise.
5526 * soft-fp/op-2.h: Likewise.
5527 * soft-fp/op-4.h: Likewise.
5528 * soft-fp/op-8.h: Likewise.
5529 * soft-fp/op-common.h: Likewise.
5530 * soft-fp/quad.h: Likewise.
5531 * soft-fp/single.h: Likewise.
5532 * soft-fp/soft-fp.h: Likewise.
5533 * soft-fp/subdf3.c: Likewise.
5534 * soft-fp/subsf3.c: Likewise.
5535 * soft-fp/subtf3.c: Likewise.
5536 * soft-fp/truncdfsf2.c: Likewise.
5537 * soft-fp/trunctfdf2.c: Likewise.
5538 * soft-fp/trunctfsf2.c: Likewise.
5539 * soft-fp/trunctfxf2.c: Likewise.
5540 * soft-fp/unorddf2.c: Likewise.
5541 * soft-fp/unordsf2.c: Likewise.
5542 * soft-fp/unordtf2.c: Likewise.
5543
5544 2013-11-05 Uros Bizjak <ubizjak@gmail.com>
5545
5546 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
5547 (_FP_MUL_MEAT_D): Ditto.
5548 (_FP_DIV_MEAT_S): Ditto.
5549 (_FP_DIV_MEAT_D): Ditto.
5550 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
5551 t-softfp-sfdf and t-softfp to tmake_file.
5552
5553 2013-11-03 Uros Bizjak <ubizjak@gmail.com>
5554
5555 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
5556 * config/i386/crtprec.c: Ditto.
5557
5558 2013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
5559 Shiva Chen <shiva0217@gmail.com>
5560
5561 * config.host (nds32*-elf*): Add nds32 target.
5562 * config/nds32 : New directory and files.
5563
5564 2013-10-16 Hans-Peter Nilsson <hp@axis.com>
5565
5566 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
5567 * config.host (cpu_type) <Setting default>: Add entry for
5568 crisv32-*-*.
5569 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
5570 <crisv32-*-linux*>: Adjust.
5571 * longlong.h: Wrap the whole CRIS section in a single
5572 defined(__CRIS__) conditional. Add comment about add_ssaaaa
5573 and sub_ddmmss.
5574 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
5575 defined.
5576 [__CRIS__] (__umulsidi3): Define.
5577 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
5578 * config/cris/sfp-machine.h: New file.
5579 * config/cris/umulsidi3.S: New file.
5580 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
5581 * config/cris/arit.c (SIGNMULT): New macro.
5582 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
5583 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
5584 saving 3 out of originally 33 cycles from the fastest
5585 path, 3 out of 54 from the medium path and one from the longest
5586 path. Improve comments.
5587
5588 2013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
5589
5590 * sync.c: Remove static aliases and define each function directly
5591 under its real name.
5592
5593 2013-10-02 John David Anglin <danglin@gcc.gnu.org>
5594
5595 * config.host (hppa*64*-*-linux*): Define extra_parts.
5596 (hppa*-*-linux*): Likewise.
5597
5598 2013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
5599
5600 * config/arc/crtgend.S: Add 2013 to Copyright years.
5601 * config/arc/gmon/atomic.h: Likewise.
5602 * config/arc/gmon/auxreg.h: Likewise.
5603 * config/arc/gmon/sys/gmon_out.h: Likewise.
5604 * config/arc/gmon/sys/gmon.h: Likewise.
5605 * config/arc/gmon/prof-freq.c: Likewise.
5606 * config/arc/gmon/mcount.c: Likewise.
5607 * config/arc/gmon/prof-freq-stub.S: Likewise.
5608 * config/arc/gmon/gmon.c: Likewise.
5609 * config/arc/gmon/machine-gmon.h: Likewise.
5610 * config/arc/gmon/profil.S: Likewise.
5611 * config/arc/gmon/dcache_linesz.S: Likewise.
5612 * config/arc/crtg.S: Likewise.
5613 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
5614 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
5615 * config/arc/ieee-754/adddf3.S: Likewise.
5616 * config/arc/ieee-754/truncdfsf2.S: Likewise.
5617 * config/arc/ieee-754/fixsfsi.S: Likewise.
5618 * config/arc/ieee-754/gtsf2.S: Likewise.
5619 * config/arc/ieee-754/floatsisf.S: Likewise.
5620 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
5621 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
5622 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
5623 * config/arc/ieee-754/fixdfsi.S: Likewise.
5624 * config/arc/ieee-754/addsf3.S: Likewise.
5625 * config/arc/ieee-754/gesf2.S: Likewise.
5626 * config/arc/ieee-754/floatsidf.S: Likewise.
5627 * config/arc/ieee-754/extendsfdf2.S: Likewise.
5628 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
5629 * config/arc/ieee-754/gtdf2.S: Likewise.
5630 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
5631 * config/arc/ieee-754/uneqdf2.S: Likewise.
5632 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
5633 * config/arc/ieee-754/uneqsf2.S: Likewise.
5634 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
5635 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
5636 * config/arc/ieee-754/eqdf2.S: Likewise.
5637 * config/arc/ieee-754/ordsf2.S: Likewise.
5638 * config/arc/ieee-754/divsf3.S: Likewise.
5639 * config/arc/ieee-754/divdf3.S: Likewise.
5640 * config/arc/ieee-754/floatunsidf.S: Likewise.
5641 * config/arc/ieee-754/orddf2.S: Likewise.
5642 * config/arc/ieee-754/eqsf2.S: Likewise.
5643 * config/arc/ieee-754/gedf2.S: Likewise.
5644 * config/arc/crtn.S: Likewise.
5645 * config/arc/crti.S: Likewise.
5646 * config/arc/t-arc700-uClibc: Likewise.
5647 * config/arc/asm.h: Likewise.
5648 * config/arc/libgcc-excl.ver: Likewise.
5649 * config/arc/t-arc-newlib: Likewise.
5650 * config/arc/divtab-arc700.c: Likewise.
5651 * config/arc/initfini.c: Likewise.
5652 * config/arc/fp-hack.h: Likewise.
5653
5654 2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
5655 Diego Novillo <dnovillo@google.com>
5656
5657 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
5658 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
5659 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
5660 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
5661
5662 2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
5663 Brendan Kehoe <brendan@zen.org>
5664 Simon Cook <simon.cook@embecosm.com>
5665
5666 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
5667 * config/arc: New directory.
5668 * longlong.h [__arc__] (umul_ppmm): Remove.
5669 [__arc__] (__umulsidi3): Define.
5670 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
5671 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
5672
5673 2013-09-17 Jacek Caban <jacek@codeweavers.com>
5674
5675 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
5676 CreateSemaphoreA.
5677 * config/i386/gthr-win32.h: Likewise.
5678
5679 2013-09-16 DJ Delorie <dj@redhat.com>
5680
5681 * config/rl78/vregs.h: Add G10 register definitions.
5682 * config/rl78/lib2mul.c: Enable for RL78/G10.
5683 * config/rl78/lib2div.c: Likewise.
5684 * config/rl78/lshrsi3.S: Use vregs.h.
5685 * config/rl78/cmpsi2.S: Likewise.
5686 * config/rl78/trampoline.S: Likewise.
5687 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
5688
5689 2013-09-14 DJ Delorie <dj@redhat.com>
5690 Nick Clifton <nickc@redhat.com>
5691
5692 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
5693 * config/rl78/vregs.h: New.
5694 * config/rl78/signbit.S: New file. Implements signbit function.
5695 * config/rl78/divmodsi.S: New.
5696 * config/rl78/divmodhi.S: New.
5697 * config/rl78/divmodqi.S: New.
5698 * config/rl78/t-rl78: Build them here...
5699 * config/rl78/lib2div.c: ...but not here.
5700
5701 2013-09-12 DJ Delorie <dj@redhat.com>
5702
5703 * config.host (msp*-*-elf): New.
5704 * config/msp430/: New port.
5705
5706 2013-08-18 Iain Sandoe <iain@codesourcery.com>
5707
5708 PR gcov-profile/58127
5709 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
5710 __thread var for emulated TLS.
5711 (__gcov_indirect_call_counters): Likewise.
5712
5713 2013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
5714 Catherine Moore <clm@codesourcery.com>
5715 Richard Sandiford <rdsandiford@googlemail.com>
5716
5717 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
5718 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
5719 (CALL_STUB_NO_RET): Likewise.
5720 (CALL_STUB_RET): Likewise.
5721 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
5722 __mips16_ret call/return stub symbols.
5723 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
5724 to tmake_file.
5725
5726 2013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
5727
5728 * config.host <mips*-*-linux*>: Remove a stray comment.
5729
5730 2013-08-10 Jan Hubicka <jh@suse.cz>
5731
5732 Work around binutils PR14342
5733 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
5734 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
5735 (L_gcov_indirect_call_profiler_v2): New.
5736
5737 2013-08-06 Jan Hubicka <jh@suse.cz>
5738
5739 * libgcov.c (__gcov_indirect_call_callee,
5740 __gcov_indirect_call_counters): New global vars.
5741 (__gcov_indirect_call_profiler): replace by ...
5742 (__gcov_indirect_call_profiler_v2) ... this one.
5743
5744 2013-08-06 Caroline Tice <cmtice@google.com>
5745
5746 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
5747 vtv_start_preinit.o and vtv_end_preinit.o.
5748 * configure.ac: Add code to check/set enable_vtable_verify.
5749 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
5750 true.
5751 * vtv_start_preinit.c: New file.
5752 * vtv_end_preinit.c: New file.
5753 * vtv_start.c: New file.
5754 * vtv_end.c: New file.
5755 * configure: Regenerated.
5756
5757 2013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
5758
5759 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
5760 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
5761 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
5762 GPL-3.0-with-GCC-exception.
5763
5764 2013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
5765
5766 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
5767 ISA and up.
5768
5769 2013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5770
5771 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
5772 mapping for FPRs when creating the fallback framestate.
5773
5774 2013-07-19 Georg-Johann Lay <avr@gjlay.de>
5775
5776 PR target/57516
5777 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
5778 (__round_s2_const, __round_u2_const)
5779 (__round_s4_const, __round_u4_const, __round_x8):
5780 Saturate result if addition result cannot be represented.
5781
5782 2013-07-15 Matthias Klose <doko@ubuntu.com>
5783
5784 * libgcc2.c: Don't include <limits.h>.
5785
5786 2013-07-09 Janis Johnson <janisjo@codesourcery.com>
5787
5788 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
5789
5790 2013-07-06 Jakub Jelinek <jakub@redhat.com>
5791
5792 PR target/29776
5793 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
5794
5795 2013-06-28 Jakub Jelinek <jakub@redhat.com>
5796
5797 PR middle-end/36041
5798 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
5799 Define.
5800 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
5801 instead of table lookups.
5802 (__popcountDI2): Likewise.
5803
5804 2013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
5805
5806 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
5807 correctly.
5808
5809 2013-06-21 Joseph Myers <joseph@codesourcery.com>
5810
5811 PR other/53317
5812 * soft-fp/adddf3.c: Update from glibc.
5813 * soft-fp/addsf3.c: Likewise.
5814 * soft-fp/addtf3.c: Likewise.
5815 * soft-fp/divdf3.c: Likewise.
5816 * soft-fp/divsf3.c: Likewise.
5817 * soft-fp/divtf3.c: Likewise.
5818 * soft-fp/double.h: Likewise.
5819 * soft-fp/eqdf2.c: Likewise.
5820 * soft-fp/eqsf2.c: Likewise.
5821 * soft-fp/eqtf2.c: Likewise.
5822 * soft-fp/extenddftf2.c: Likewise.
5823 * soft-fp/extended.h: Likewise.
5824 * soft-fp/extendsfdf2.c: Likewise.
5825 * soft-fp/extendsftf2.c: Likewise.
5826 * soft-fp/fixdfdi.c: Likewise.
5827 * soft-fp/fixdfsi.c: Likewise.
5828 * soft-fp/fixsfdi.c: Likewise.
5829 * soft-fp/fixsfsi.c: Likewise.
5830 * soft-fp/fixtfdi.c: Likewise.
5831 * soft-fp/fixtfsi.c: Likewise.
5832 * soft-fp/fixunsdfdi.c: Likewise.
5833 * soft-fp/fixunsdfsi.c: Likewise.
5834 * soft-fp/fixunssfdi.c: Likewise.
5835 * soft-fp/fixunssfsi.c: Likewise.
5836 * soft-fp/fixunstfdi.c: Likewise.
5837 * soft-fp/fixunstfsi.c: Likewise.
5838 * soft-fp/floatdidf.c: Likewise.
5839 * soft-fp/floatdisf.c: Likewise.
5840 * soft-fp/floatditf.c: Likewise.
5841 * soft-fp/floatsidf.c: Likewise.
5842 * soft-fp/floatsisf.c: Likewise.
5843 * soft-fp/floatsitf.c: Likewise.
5844 * soft-fp/floatundidf.c: Likewise.
5845 * soft-fp/floatundisf.c: Likewise.
5846 * soft-fp/floatunditf.c: Likewise.
5847 * soft-fp/floatunsidf.c: Likewise.
5848 * soft-fp/floatunsisf.c: Likewise.
5849 * soft-fp/floatunsitf.c: Likewise.
5850 * soft-fp/gedf2.c: Likewise.
5851 * soft-fp/gesf2.c: Likewise.
5852 * soft-fp/getf2.c: Likewise.
5853 * soft-fp/ledf2.c: Likewise.
5854 * soft-fp/lesf2.c: Likewise.
5855 * soft-fp/letf2.c: Likewise.
5856 * soft-fp/muldf3.c: Likewise.
5857 * soft-fp/mulsf3.c: Likewise.
5858 * soft-fp/multf3.c: Likewise.
5859 * soft-fp/negdf2.c: Likewise.
5860 * soft-fp/negsf2.c: Likewise.
5861 * soft-fp/negtf2.c: Likewise.
5862 * soft-fp/op-1.h: Likewise.
5863 * soft-fp/op-2.h: Likewise.
5864 * soft-fp/op-4.h: Likewise.
5865 * soft-fp/op-8.h: Likewise.
5866 * soft-fp/op-common.h: Likewise.
5867 * soft-fp/quad.h: Likewise.
5868 * soft-fp/single.h: Likewise.
5869 * soft-fp/soft-fp.h: Likewise.
5870 * soft-fp/subdf3.c: Likewise.
5871 * soft-fp/subsf3.c: Likewise.
5872 * soft-fp/subtf3.c: Likewise.
5873 * soft-fp/truncdfsf2.c: Likewise.
5874 * soft-fp/trunctfdf2.c: Likewise.
5875 * soft-fp/trunctfsf2.c: Likewise.
5876 * soft-fp/unorddf2.c: Likewise.
5877 * soft-fp/unordsf2.c: Likewise.
5878 * soft-fp/unordtf2.c: Likewise.
5879 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
5880 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5881 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5882 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5883 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5884 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5885 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5886 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5887 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5888 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
5889 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
5890 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5891
5892 2013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
5893
5894 * config/mips/lib2funcs.c: New file.
5895 * config/mips/t-mips (LIB2ADD_ST): Add it.
5896
5897 2013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
5898
5899 PR target/6526
5900 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
5901 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
5902
5903 2013-06-08 Walter Lee <walt@tilera.com>
5904
5905 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
5906 Replace int64_t with long long. Add __extension__ where
5907 appropriate.
5908 * config/tilepro/atomic.c: Include config.h.
5909
5910 2013-06-06 Douglas B Rupp <rupp@adacore.com>
5911
5912 * config.host (arm-wrs-vxworks): Configure with other soft float.
5913
5914 2013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
5915
5916 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
5917 (mips64r5900el-*-elf*): New configurations.
5918
5919 2013-06-04 Alan Modra <amodra@gmail.com>
5920
5921 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
5922
5923 2013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
5924
5925 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
5926
5927 2013-05-28 Eric Botcazou <ebotcazou@adacore.com>
5928
5929 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
5930 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
5931 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
5932
5933 2013-05-22 Eric Botcazou <ebotcazou@adacore.com>
5934
5935 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
5936 (powerpc-wrs-vxworks): Likewise.
5937
5938 2013-05-22 Eric Botcazou <ebotcazou@adacore.com>
5939
5940 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
5941 signal frames as well.
5942 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
5943 STACK_BIAS to the CFA offset.
5944
5945 2013-05-17 Richard Henderson <rth@redhat.com>
5946
5947 PR target/49146
5948 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
5949 (execute_cfa_program): Use it when storing to fs->regs.
5950
5951 2013-05-08 Kai Tietz <ktietz@redhat.com>
5952
5953 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
5954 (__deregister_frame_info): Likewise.
5955
5956 2013-05-06 Thomas Schwinge <thomas@codesourcery.com>
5957
5958 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
5959 NaN's payload.
5960
5961 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
5962
5963 2013-04-25 Alan Modra <amodra@gmail.com>
5964
5965 * config.host: Match little-endian powerpc-linux.
5966
5967 2013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
5968
5969 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
5970 as 'unsigned long long' instead of 'unsigned long'.
5971 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
5972 'signed long'.
5973
5974 2013-04-10 Julian Brown <julian@codesourcery.com>
5975
5976 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
5977 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
5978 unsigned char/unsigned short.
5979 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
5980
5981 2013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
5982
5983 PR other/55274
5984 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
5985
5986 2013-04-04 Meador Inge <meadori@codesourcery.com>
5987
5988 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
5989 computing the location of the link register.
5990 (aeabi_uldivmod): Ditto.
5991
5992 2013-03-27 Kai Tietz <ktietz@redhat.com>
5993
5994 * config.host: Add support for cygwin x64 target.
5995 * configure: Regenerated.
5996
5997 2013-03-26 Walter Lee <walt@tilera.com>
5998
5999 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
6000 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
6001
6002 2013-03-25 Kai Tietz <ktietz@redhat.com>
6003
6004 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
6005
6006 2013-03-20 Robert Mason <rbmj@verizon.net>
6007
6008 * config/vxlib-tls.c (__gthread_get_tsd_data,)
6009 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
6010 (__gthread_leave_tsd_dtor_context): Add prototypes.
6011 (tls_delete_hook): Update.
6012
6013 2013-03-20 Catherine Moore <clm@codesourcery.com>
6014 Joseph Myers <joseph@codesourcery.com>
6015 Chao-ying Fu <fu@mips.com>
6016
6017 * config/mips/mips16.S: Don't build for microMIPS.
6018 * config/mips/linux-unwind.h: Handle microMIPS frame.
6019 * config/mips/crtn.S (fini, init): New labels.
6020
6021 2013-03-14 Jakub Jelinek <jakub@redhat.com>
6022
6023 PR tree-optimization/53265
6024 * unwind-dw2.c (execute_cfa_program): Avoid
6025 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
6026 on targets with DWARF_FRAME_REGISTERS < 32.
6027
6028 2013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
6029
6030 PR target/49880
6031 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
6032 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
6033
6034 2013-03-07 Sriraman Tallam <tmsriram@google.com>
6035
6036 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
6037 sandybridge processors.
6038
6039 2013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
6040
6041 PR target/56529
6042 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
6043 inclusion list.
6044
6045 2013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
6046
6047 * config/microblaze/crti.S: Setup stack protection at entry
6048
6049 2013-03-04 Georg-Johann Lay <avr@gjlay.de>
6050
6051 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
6052 (__rotldi3): Shift bytewise if applicable.
6053
6054 2013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
6055
6056 * config/aarch64/sync-cache.c
6057 (__aarch64_sync_cache_range): Silence warnings.
6058
6059 2013-02-25 Catherine Moore <clm@codesourcery.com>
6060
6061 Revert:
6062 2013-02-24 Catherine Moore <clm@codesourcery.com>
6063 Joseph Myers <joseph@codesourcery.com>
6064 Chao-ying Fu <fu@mips.com>
6065
6066 * config/mips/mips16.S: Don't build for microMIPS.
6067 * config/mips/linux-unwind.h: Handle microMIPS frame.
6068 * config/mips/crtn.S (fini, init): New labels.
6069
6070 2013-02-24 Catherine Moore <clm@codesourcery.com>
6071 Joseph Myers <joseph@codesourcery.com>
6072 Chao-ying Fu <fu@mips.com>
6073
6074 * config/mips/mips16.S: Don't build for microMIPS.
6075 * config/mips/linux-unwind.h: Handle microMIPS frame.
6076 * config/mips/crtn.S (fini, init): New labels.
6077
6078 2012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
6079 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
6080 as dividend.
6081
6082 2013-02-16 Alan Modra <amodra@gmail.com>
6083
6084 PR target/55431
6085 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
6086 (ppc_fallback_frame_state): Always set up save locations for fp
6087 and altivec. Don't bother with non-callee-saved regs, r0-r13
6088 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
6089
6090 2013-02-12 Georg-Johann Lay <avr@gjlay.de>
6091
6092 PR target/54222
6093 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
6094 _ssmulHA, _ssmulSA.
6095 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
6096 _ssmulha3, _usmulusa3, _ssmulsa3.
6097 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
6098 (__muldi3): XCALL __muldi3_6 instead of rcall.
6099 (__umulsidi3, __mulsidi3): New functions.
6100 (do_prologue_saves, do_epilogue_restores): New .macros.
6101 (__divdi3_moddi3): Use them.
6102 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
6103 (__usmulusa3, __ssmulsa3): New functions.
6104
6105 2013-02-11 Iain Sandoe <iain@codesourcery.com>
6106 Jack Howarth <howarth@bromo.med.uc.edu>
6107 Patrick Marlier <patrick.marlier@gmail.com>
6108
6109 PR libitm/55693
6110 * config/darwin-crt-tm.c: Remove dummy functions hack.
6111
6112 2013-02-08 Georg-Johann Lay <avr@gjlay.de>
6113
6114 PR target/54222
6115 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
6116 * config/avr/lib2-object.mk: New iterator to build objects from it.
6117 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
6118 lib2funcs.c.
6119 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
6120 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
6121 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
6122 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
6123 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
6124 * config/avr/lib1funcs-fixed.S: Implement them.
6125
6126 2013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
6127
6128 Update copyright years.
6129
6130 2013-02-01 David Edelsohn <dje.gcc@gmail.com>
6131
6132 PR target/54601
6133 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
6134 Add crtcxa to extra_parts.
6135 * config/rs6000/exit.h: New file.
6136 * config/rs6000/cxa_atexit.c: New file.
6137 * config/rs6000/cxa_finalize.c: New file.
6138 * config/rs6000/crtcxa.c: New file.
6139 * config/rs6000/t-aix-cxa: New file.
6140 * config/rs6000/libgcc-aix-cxa.ver: New file.
6141
6142 2013-01-31 Nick Clifton <nickc@redhat.com>
6143
6144 * config/v850/lib1funcs.S: Add support for e3v5 architecture
6145 variant.
6146
6147 2013-01-29 Georg-Johann Lay <avr@gjlay.de>
6148
6149 PR target/54222
6150 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
6151 _mulQQ, _mulHQ, _mulHA, _mulSA,
6152 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
6153 _divQQ, _divHQ, _divHA, _divSA,
6154 _divUQQ, _divUHQ, _divUHA, _divUSA.
6155
6156 2013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
6157
6158 * config.host(microblaze*-linux*): tmake_file: Remove
6159 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
6160 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
6161 to exclude functions from being built with libgcc.c and use
6162 the microblaze assembly.
6163
6164 2013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
6165
6166 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
6167 extra_parts.
6168
6169 2013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
6170
6171 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
6172 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
6173 __UINTPTR_TYPE__; also cast 'base' to the same type before the
6174 alignment operation.
6175
6176 2013-01-15 Sofiane Naci <sofiane.naci@arm.com>
6177
6178 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
6179 loop start address for cache clearing.
6180
6181 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
6182
6183 * config/avr/lib1funcs.S: Remove trailing blanks.
6184 * config/avr/lib1funcs-fixed.S: Ditto.
6185
6186 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
6187
6188 * config/avr/avr-lib.h: Add GPL copyright notice.
6189
6190 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
6191
6192 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
6193 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
6194 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
6195 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
6196
6197 2013-01-07 Mark Kettenis <kettenis@openbsd.org>
6198
6199 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
6200 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
6201
6202 2013-01-04 Nick Clifton <nickc@redhat.com>
6203
6204 * config/v850/lib1funcs.S: Only provide CALLT support functions if
6205 the CALLT instruction is supported.
6206
6207 2012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
6208
6209 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
6210 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
6211
6212 2012-12-13 John Tytgat <John@bass-software.com>
6213
6214 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
6215 is 25.
6216
6217 2012-12-12 Jakub Jelinek <jakub@redhat.com>
6218
6219 PR libgcc/55451
6220 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
6221 undefined signed overflows.
6222
6223 2012-12-09 Uros Bizjak <ubizjak@gmail.com>
6224
6225 PR target/55344
6226 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
6227
6228 2012-12-06 Uros Bizjak <ubizjak@gmail.com>
6229
6230 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
6231 (FP_TRAPPING_EXCEPTIONS): Define.
6232 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
6233 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
6234
6235 2012-12-04 Richard Henderson <rth@redhat.com>
6236
6237 PR bootstrap/55571
6238 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
6239
6240 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
6241
6242 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
6243 (FP_EX_SHIFT): Define.
6244 (FP_TRAPPING_EXCEPTIONS): Define.
6245
6246 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
6247
6248 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
6249 (FP_ROUNDMODE): Use FP_RND_MASK.
6250 * config/aarch64/sfp-exceptions.c: New.
6251 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
6252 Use __sfp_handle_exceptions.
6253
6254 2012-12-04 Richard Earnshaw <rearnsha@arm.com>
6255
6256 * config.host: (arm*-*-freebsd*): Remove.
6257 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
6258 (arm*-*-elf*): Remove.
6259 (arm*-*-wince-pe*): Remove.
6260 * arm/unwind-arm.c (struct fpa_reg): Delete.
6261 (struct fpa_regs): Delete.
6262 (phase1_vrs): Remove fpa element.
6263 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
6264 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
6265 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
6266 * ieee754-sf.S (floatundisf): Remove FPA support.
6267 (floatdisf): Likewise.
6268 * ieee75f-df.S (floatundidf): Likewise.
6269 (floatdidf): Likewise.
6270
6271 2012-11-29 Kai Tietz <ktietz@redhat.com>
6272
6273 PR target/55445
6274 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
6275 * unwind-generic.h: Likewise.
6276 * unwind-seh.c: Likewise.
6277
6278 2012-11-28 Richard Henderson <rth@redhat.com>
6279
6280 PR libgcc/48076
6281 * emutls.c (__emutls_get_address): Avoid race condition between
6282 obj->loc.offset read and emutls_key initialization.
6283
6284 2012-11-22 Georg-Johann Lay <avr@gjlay.de>
6285
6286 Adjust decimal point of signed accum mode to GCC default.
6287
6288 PR target/54222
6289 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
6290 _divqq_helper.
6291 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
6292 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
6293 (__mulha3, __mulsa3)
6294 (__divqq3, __divha3, __divsa3): Adjust to new position of
6295 decimal point of signed accum types.
6296
6297 (__mulusa3_round): New function.
6298 (__mulusa3): Use it.
6299 (__divqq_helper): New function.
6300 (__udivuqq3): Use it.
6301
6302 2012-11-20 Jakub Jelinek <jakub@redhat.com>
6303
6304 PR bootstrap/55370
6305 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
6306
6307 2012-11-18 Teresa Johnson <tejohnson@google.com>
6308
6309 PR bootstrap/55051
6310 * libgcov.c (gcov_exit): Remove merged program summary
6311 comparison unless !GCOV_LOCKED.
6312
6313 2012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
6314
6315 * soft-fp: Updated from glibc upstream.
6316
6317 2012-11-06 Ian Lance Taylor <iant@google.com>
6318
6319 * generic-morestack.c (__generic_morestack): Align the returned
6320 stack pointer to a 32 byte boundary.
6321 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
6322 increment the return address until we have decided that we don't
6323 have a varargs function.
6324 (__morestack) [32-bit]: Align stack correctly when calling C
6325 functions.
6326 (__morestack) [64-bit]: Likewise.
6327
6328 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
6329
6330 * configure: Regenerate.
6331
6332 2012-11-02 Uros Bizjak <ubizjak@gmail.com>
6333
6334 PR target/55175
6335 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
6336 * config/i386/sfp-machine.h: Guard exception handling
6337 code with _SOFT_FLOAT.
6338 * config/i386/32/sfp-machine.h: Guard rounding handling
6339 code with _SOFT_FLOAT.
6340 * config/i386/64/sfp-machine.h: Ditto.
6341
6342 2012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
6343
6344 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
6345 as extra_parts.
6346
6347 2012-10-26 Uros Bizjak <ubizjak@gmail.com>
6348
6349 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
6350 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
6351 when appropriate. Correct structure element types.
6352 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
6353 -minline-all-stringops from compile flags.
6354
6355 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
6356
6357 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
6358
6359 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
6360
6361 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
6362
6363 2012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
6364
6365 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
6366 tmake_file.
6367
6368 2012-10-23 Ian Bolton <ian.bolton@arm.com>
6369 Jim MacArthur <jim.macarthur@arm.com>
6370 Marcus Shawcroft <marcus.shawcroft@arm.com>
6371 Nigel Stephens <nigel.stephens@arm.com>
6372 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
6373 Richard Earnshaw <rearnsha@arm.com>
6374 Sofiane Naci <sofiane.naci@arm.com>
6375 Stephen Thomas <stephen.thomas@arm.com>
6376 Tejas Belagod <tejas.belagod@arm.com>
6377 Yufeng Zhang <yufeng.zhang@arm.com>
6378
6379 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
6380 * config/aarch64/crti.S: New file.
6381 * config/aarch64/crtn.S: New file.
6382 * config/aarch64/linux-unwind.h: New file.
6383 * config/aarch64/sfp-machine.h: New file.
6384 * config/aarch64/sync-cache.c: New file.
6385 * config/aarch64/t-aarch64: New file.
6386 * config/aarch64/t-softfp: New file.
6387
6388 2012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
6389
6390 * config/mmix/crti.S: Mark program and data addresses using PRELD.
6391 Remove typo'd and unnecessary alignment-LOC for .data. Remove
6392 no-longer-needed LDBU insns.
6393
6394 2012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
6395
6396 * config.host
6397 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
6398 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
6399
6400 2012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
6401
6402 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
6403
6404 2012-10-15 Matthias Klose <doko@ubuntu.com>
6405
6406 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
6407
6408 2012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
6409
6410 * configure: Regenerate.
6411 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
6412
6413 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
6414
6415 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
6416 instructions for 64bit targets only.
6417
6418 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
6419
6420 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
6421 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
6422 * config/i386/32/sfp-machine.h: ... here.
6423 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
6424 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
6425 New defines.
6426
6427 2012-10-07 Matthias Klose <doko@ubuntu.com>
6428
6429 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
6430 as unused.
6431 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
6432
6433 2012-10-06 Mark Kettenis <kettenis@openbsd.org>
6434
6435 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
6436 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
6437 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
6438 (ElfW): Likewise.
6439
6440 2012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
6441
6442 PR other/53889
6443 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
6444 Fix parameter names.
6445
6446 2012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
6447
6448 PR target/33135
6449 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
6450 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
6451 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
6452
6453 2012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
6454
6455 PR target/50457
6456 * config/sh/linux-atomic.S: Delete.
6457 * config/sh/linux-atomic.c: New.
6458 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
6459 linux-atomic.c. Add cflags to disable warnings.
6460
6461 2012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
6462
6463 PR other/53889
6464 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
6465 function.
6466 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
6467 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
6468 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
6469 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
6470 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
6471 Likewise.
6472 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
6473 Likewise.
6474 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
6475 Likewise.
6476 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
6477 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
6478
6479 2012-09-19 Mark Kettenis <kettenis@openbsd.org>
6480
6481 * config.host (hppa-*-openbsd*): New target.
6482 * config/pa/t-openbsd: New file.
6483
6484 2012-09-15 Georg-Johann Lay <avr@gjlay.de>
6485
6486 PR target/54222
6487 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
6488 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
6489 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
6490 (__divsa3): Use __negsi2 to negate r_quoL.
6491 * config/avr/lib1funcs.S (FALIAS): New macro.
6492 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
6493 (__negsi2): ...this new function.
6494 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
6495 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
6496 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
6497 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
6498 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
6499 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
6500
6501 2012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
6502
6503 PR target/54089
6504 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
6505 (lshrsi3): Reimplement as lshrsi3_r0.
6506
6507 2012-09-10 Andreas Schwab <schwab@linux-m68k.org>
6508
6509 PR target/46191
6510 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
6511 of libgcc.a.
6512
6513 2012-09-07 Teresa Johnson <tejohnson@google.com>
6514
6515 PR gcov-profile/54487
6516 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
6517 differences.
6518
6519 2012-09-05 Georg-Johann Lay <avr@gjlay.de>
6520
6521 PR target/54461
6522 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
6523 not configured --with-avrlibc=no.
6524 * config/avr/t-avrlibc: New file.
6525 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
6526 (DPBIT_FUNCS): Ditto.
6527 (TPBIT_FUNCS): Ditto.
6528
6529 2012-09-04 Teresa Johnson <tejohnson@google.com>
6530
6531 * libgcov.c (struct gcov_summary_buffer): New structure.
6532 (gcov_histogram_insert): New function.
6533 (gcov_compute_histogram): Ditto.
6534 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
6535 histograms during summary merging.
6536
6537 2012-09-01 Mark Kettenis <kettenis@openbsd.org>
6538
6539 * config.host (x86_64-*-openbsd*): New target.
6540
6541 2012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
6542
6543 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
6544 attribute.
6545
6546 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
6547
6548 PR target/54222
6549 * config/avr/t-avr (conv_X): Rename to func_X.
6550
6551 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
6552
6553 PR target/54222
6554 * config/avr/lib1funcs-fixed.S: New file.
6555 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
6556 after they are used.
6557 (neg2, neg4): New macros.
6558 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
6559 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
6560 (__umulhisi3): Speed up MUL variant if there is enough flash.
6561 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
6562 avr-modes.def.
6563 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
6564 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
6565 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
6566 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
6567 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
6568 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
6569 (LIB2FUNCS_EXCLUDE): Add supported functions.
6570
6571 2012-08-22 Georg-Johann Lay <avr@gjlay.de>
6572
6573 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
6574 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
6575 libgcc-s-objects.
6576 * fixed-obj.mk: Only expand dependency if $o is not in
6577 LIB2FUNCS_EXCLUDE.
6578
6579 2012-08-22 H.J. Lu <hongjiu.lu@intel.com>
6580
6581 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
6582
6583 2012-08-22 Joseph Myers <joseph@codesourcery.com>
6584
6585 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
6586 depend on --enable-shared.
6587 ($(lib1asmfuncs-o)): Use %.vis files independent of
6588 --enable-shared.
6589 * static-object.mk ($(base)$(objext), $(base).vis)
6590 ($(base)_s$(objext)): Use same rules for visibility handling as in
6591 shared-object.mk.
6592
6593 2012-08-21 Ian Lance Taylor <iant@google.com>
6594
6595 * config/i386/morestack.S (__morestack_non_split): Increase amount
6596 of space allocated for non-split code stack.
6597
6598 2012-08-19 Joseph Myers <joseph@codesourcery.com>
6599
6600 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
6601 even if inhibit_libc.
6602
6603 2012-08-17 Julian Brown <julian@codesourcery.com>
6604
6605 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
6606 -fexceptions -fnon-call-exceptions if not defined.
6607 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
6608 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
6609
6610 2012-08-17 Andreas Schwab <schwab@linux-m68k.org>
6611
6612 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
6613 type.
6614
6615 2012-08-16 David Edelsohn <dje.gcc@gmail.com>
6616
6617 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
6618 rs6000/t-slibgcc-aix.
6619
6620 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
6621
6622 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
6623
6624 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
6625
6626 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
6627
6628 2012-08-03 H.J. Lu <hongjiu.lu@intel.com>
6629
6630 PR driver/54171
6631 * Makefile.in (version): Replace top_srcdir with srcdir.
6632
6633 2012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
6634
6635 * Makefile.in (version): set to BASE-VER file from gcc directory.
6636
6637 2012-08-01 Nick Clifton <nickc@redhat.com>
6638
6639 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
6640 Implements __clrsb for an HImode argument.
6641
6642 2012-07-31 Nick Clifton <nickc@redhat.com>
6643
6644 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
6645 Implements __clrsb for an HImode argument.
6646 * config/stormy16/clrsbhi2.c: New file:
6647 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
6648
6649 2012-07-22 Steven Bosscher <steven@gcc.gnu.org>
6650
6651 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
6652
6653 2012-07-19 Tristan Gingold <gingold@adacore.com>
6654 Richard Henderson <rth@redhat.com>
6655
6656 * unwind-seh.c: New file.
6657 * unwind-generic.h: Include windows.h for SEH.
6658 (_Unwind_Exception): Use 6 private fields for SEH.
6659 (_GCC_specific_handler): Declare.
6660 * unwind-c.c (__gcc_personality_seh0): New function.
6661 Adjust for SEH.
6662 * config/i386/libgcc-cygming.ver: New file.
6663 * config/i386/t-seh-eh: New file.
6664 * config.host (x86_64-*-mingw*): Default to seh.
6665
6666 2012-07-14 Steven Bosscher <steven@gcc.gnu.org>
6667
6668 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
6669
6670 2012-06-17 Uros Bizjak <ubizjak@gmail.com>
6671
6672 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
6673 __builtin_expect when checking for exceptions.
6674 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
6675
6676 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
6677
6678 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
6679 function declaration.
6680 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
6681 (FP_RND_MASK): New.
6682 * config/ia64/sfp-exceptions.c: New.
6683 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
6684
6685 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
6686
6687 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
6688 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
6689 * config/i386/64/sfp-machine: ... (delete here) ...
6690 * config/i386/sfp-machine.h: ... to here.
6691 (FP_EX_MASK): Remove.
6692 (FP_RND_MASK): New.
6693 (FP_INIT_ROUNDMODE): Declare asm as volatile.
6694
6695 2012-06-11 Sriraman Tallam <tmsriram@google.com>
6696
6697 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
6698 * config/i386/libgcc-sol2.ver: Ditto.
6699 * config/i386/libgcc-glibc.ver: Ditto.
6700
6701 2012-06-11 Roland McGrath <mcgrathr@google.com>
6702
6703 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
6704 If __GLIBC__ is defined, refer to __pthread_key_create instead of
6705 pthread_cancel.
6706
6707 2012-06-09 Uros Bizjak <ubizjak@gmail.com>
6708
6709 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
6710 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
6711 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
6712 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
6713 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
6714 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
6715 * config/i386/64/sfp-machine: ... (delete here) ...
6716 * config/i386/sfp-machine.h: ... to here.
6717 (FP_EX_MASK): New.
6718 (__sfp_handle_exceptions): New function declaration.
6719 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
6720 * config/i386/sfp-exceptions.c: New.
6721 * config/i386/t-softfp: New.
6722 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
6723 i386/t-softfp to tmake_file.
6724
6725 2012-06-03 David S. Miller <davem@davemloft.net>
6726
6727 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
6728 change.
6729
6730 2012-05-31 David S. Miller <davem@davemloft.net>
6731
6732 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
6733 multiply and divide instructions on 32-bit when V9.
6734 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
6735
6736 2012-05-29 Joseph Myers <joseph@codesourcery.com>
6737
6738 * config/arm/ieee754-df.S: Fix typos.
6739 * config/arm/ieee754-sf.S: Fix typos.
6740 * config/c6x/libunwind.S: Fix typos.
6741 * config/epiphany/udivsi3-float.c: Fix typos.
6742 * config/microblaze/muldi3_hard.S: Fix typos.
6743 * config/picochip/adddi3.S: Fix typos.
6744 * config/picochip/ashlsi3.S: Fix typos.
6745 * config/picochip/ashrsi3.S: Fix typos.
6746 * config/picochip/clzsi2.S: Fix typos.
6747 * config/picochip/cmpsi2.S: Fix typos.
6748 * config/picochip/divmod15.S: Fix typos.
6749 * config/picochip/divmodhi4.S: Fix typos.
6750 * config/picochip/divmodsi4.S: Fix typos.
6751 * config/picochip/longjmp.S: Fix typos.
6752 * config/picochip/lshrsi3.S: Fix typos.
6753 * config/picochip/parityhi2.S: Fix typos.
6754 * config/picochip/popcounthi2.S: Fix typos.
6755 * config/picochip/setjmp.S: Fix typos.
6756 * config/picochip/subdi3.S: Fix typos.
6757 * config/picochip/ucmpsi2.S: Fix typos.
6758 * config/picochip/udivmodhi4.S: Fix typos.
6759 * config/picochip/udivmodsi4.S: Fix typos.
6760 * config/spu/divv2df3.c: Fix typos.
6761 * config/spu/mfc_multi_tag_release.c: Fix typos.
6762 * config/spu/mfc_tag_release.c: Fix typos.
6763 * configure.ac: Fix typos.
6764 * configure: Regenerate.
6765
6766 2012-05-25 Ian Lance Taylor <iant@google.com>
6767
6768 * config/i386/morestack.S (__morestack_non_split): Check whether
6769 caller is varargs and needs %bp to hold the stack frame on return.
6770
6771 2012-05-25 Olivier Hainque <hainque@adacore.com>
6772
6773 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
6774 sequence in the non pic case on VxWorks.
6775
6776 2012-05-24 Olivier Hainque <hainque@adacore.com>
6777
6778 * Makefile.in: Move dependency on install-unwind_h from
6779 "install-leaf" to "install".
6780
6781 2012-05-24 Olivier Hainque <hainque@adacore.com>
6782
6783 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
6784 Use a separate command for stamp removals.
6785
6786 2012-05-21 Andrew Pinski <apinski@cavium.com>
6787
6788 PR bootstrap/53183
6789 * configure.ac: Define the default includes to being none.
6790 * configure: Regenerate.
6791
6792 2012-05-16 Olivier Hainque <hainque@adacore.com>
6793
6794 * Makefile.in (install-unwind_h): Rename into ...
6795 (install-unwind_h-forbuild): New target.
6796 (all): Use it instead of the former install-unwind_h.
6797 (install-unwind_h): Reinstate, copy to user install destination
6798 for include files, not to the internal gcc object directory one.
6799 (install-leaf): Depend on it.
6800
6801 2012-05-15 Olivier Hainque <hainque@adacore.com>
6802
6803 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
6804 register numbers. LR_REGNO replaces R_LR.
6805 (ucontext_for): New, helper for ...
6806 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
6807 and 5.3 of ...
6808 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
6809
6810 2012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6811
6812 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
6813 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
6814 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
6815 i386/t-cpuinfo ...
6816 (i[34567]86-*-*, x86_64-*-*): ... here.
6817
6818 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
6819 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
6820
6821 * config/i386/i386-cpuinfo.c: Rename to ...
6822 * config/i386/cpuinfo.c: ... this.
6823 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
6824
6825 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
6826 (libgcc_cv_init_priority): New test.
6827 * configure: Regenerate.
6828 * config.in: New file.
6829 * Makefile.in (clean): Rename config.h to auto-target.h.
6830 (config.h): Likewise.
6831 (stamp-h): Likewise.
6832
6833 * config/i386/cpuinfo.c (auto-target.h): Include.
6834 (CONSTRUCTOR_PRIORITY): Define.
6835 (__cpu_indicator_init): Use it.
6836
6837 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
6838
6839 * longlong.h: Use a URL instead of an FSF postal address.
6840 Replace spaces with tab.
6841
6842 2012-05-08 Teresa Johnson <tejohnson@google.com>
6843
6844 * libgcov.c (gcov_clear, __gcov_reset): New functions.
6845 (__gcov_dump): Ditto.
6846 (gcov_dump_complete): New global variable.
6847 (gcov_exit): Export hidden to enable use in L_gcov_dump.
6848 (__gcov_flush): Outline functionality now in gcov_clear.
6849 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
6850
6851 2012-04-28 Aurelien Jarno <aurelien@aurel32.net>
6852
6853 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
6854 (mips*-*-linux*): Include mips/t-tpbit when long double is
6855 16 bytes long.
6856
6857 2012-04-25 Sriraman Tallam <tmsriram@google.com>
6858
6859 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
6860 (get_available_features): New argument. Check for AVX2.
6861 (__cpu_indicator_init): Modify call to get_available_features.
6862
6863 2012-04-25 Alan Modra <amodra@gmail.com>
6864
6865 * config/rs6000/crtsavevr.S: New file.
6866 * config/rs6000/crtrestvr.S: New file.
6867 * config/rs6000/t-savresfgpr: Build the above.
6868 * config/rs6000/t-netbsd: Likewise.
6869
6870 2012-04-24 Sriraman Tallam <tmsriram@google.com>
6871
6872 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
6873
6874 2012-04-24 Sriraman Tallam <tmsriram@google.com>
6875
6876 * libgcc/config/i386/i386-cpuinfo.c: New file.
6877 * libgcc/config/i386/t-cpuinfo: New file.
6878 * libgcc/config.host: Include t-cpuinfo.
6879 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
6880
6881 2012-04-24 Chao-ying Fu <fu@mips.com>
6882
6883 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
6884
6885 2012-04-20 Thomas Schwinge <thomas@codesourcery.com>
6886
6887 struct siginfo vs. siginfo_t
6888
6889 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
6890 siginfo_t instead of struct siginfo.
6891 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
6892 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
6893 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
6894 (ia64_handle_unwabi): Likewise.
6895 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
6896 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
6897 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
6898 (sh_fallback_frame_state): Likewise.
6899 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
6900 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
6901
6902 2012-04-02 H.J. Lu <hongjiu.lu@intel.com>
6903
6904 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
6905 system call number.
6906
6907 2012-03-31 Eric Botcazou <ebotcazou@adacore.com>
6908
6909 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
6910 if it hasn't been previously saved.
6911
6912 2012-03-29 H.J. Lu <hongjiu.lu@intel.com>
6913
6914 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
6915 only for glibc.
6916
6917 2012-03-28 Georg-Johann Lay <avr@gjlay.de>
6918
6919 PR target/52737
6920 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
6921 instead of __AVR_HAVE_8BIT_SP__.
6922
6923 2012-03-26 Tristan Gingold <gingold@adacore.com>
6924
6925 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
6926 (unw_table_entry): Use unw_word instead of unsigned long.
6927 (_Unwind_FindTableEntry): Likewise.
6928 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
6929 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
6930 (_Unwind_FindTableEntry): Likewise.
6931 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
6932 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
6933 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
6934 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
6935 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
6936 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
6937 (uw_init_context_1, uw_install_context): Likewise.
6938 (unw_word): Move to unwind-ia64.h
6939
6940 2012-03-26 Tristan Gingold <gingold@adacore.com>
6941
6942 * config/vms/vms-ucrt0.c: Update copyright years.
6943 Add a sanity check.
6944 (___gcc_main_flags): Declare.
6945 (__main): Check flags to remap argv and exit code.
6946 * config.host (*-*-*vms*): Adjust extra_parts.
6947 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
6948 (crt0.o): Add.
6949
6950 2012-03-22 Richard Earnshaw <rearnsha@arm.com>
6951
6952 * arm/lib1funcs.asm (ctzsi2): New function.
6953 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
6954 * arm/t-linux (LIB1ASMFUNCS): Likewise.
6955 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
6956 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
6957 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
6958 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
6959
6960 2012-03-21 Andreas Tobler <andreast@fgznet.ch>
6961
6962 * config.host: Add bits to support powerpc64-*-freebsd*.
6963 * config/rs6000/freebsd-unwind.h: New file.
6964 * config/rs6000/t-freebsd64: New file.
6965
6966 2012-03-20 Richard Guenther <rguenther@suse.de>
6967
6968 PR gcov-profile/52627
6969 * libgcov.c (init_mx): Fix mutex name.
6970
6971 2012-03-16 Tristan Gingold <gingold@adacore.com>
6972
6973 * config/ia64/vms-unwind.h: Remove ulong (and replace
6974 it by unw_reg where used). Define unw_reg with __int64.
6975
6976 2012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6977
6978 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
6979 Solaris 8 handling.
6980 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
6981 Solaris 8 handling.
6982 (sparc_is_sighandler): Likewise.
6983
6984 2012-03-13 H.J. Lu <hongjiu.lu@intel.com>
6985
6986 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
6987 <= saved reg size.
6988
6989 2012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6990
6991 * config/arm/crtn.S: Fix typo.
6992
6993 2012-03-13 Richard Guenther <rguenther@suse.de>
6994
6995 * libgcov.c: Remove stdio.h include and NULL un-define.
6996
6997 2012-03-13 Richard Guenther <rguenther@suse.de>
6998
6999 PR target/52569
7000 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
7001
7002 2012-03-13 Richard Guenther <rguenther@suse.de>
7003
7004 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
7005
7006 2012-03-13 Richard Guenther <rguenther@suse.de>
7007
7008 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
7009 and __gthread_mutex_init_function definitions.
7010
7011 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7012
7013 * config.host (mips*-*-openbsd*): Remove.
7014
7015 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7016
7017 * config.host: Remove alpha*-dec-osf5.1* handling.
7018 * config/alpha/gthr-posix.c: Remove.
7019 * config/alpha/libgcc-osf5.ver: Remove.
7020 * config/alpha/osf5-unwind.h: Remove.
7021 * config/alpha/t-osf-pthread: Remove.
7022 * config/alpha/t-slibgcc-osf: Remove.
7023 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
7024 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
7025 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
7026 * mkmap-flat.awk: Remove osf_export handling.
7027
7028 2012-03-12 Richard Guenther <rguenther@suse.de>
7029
7030 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
7031 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
7032 (__gthread_mutex_init_function): New function.
7033 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
7034
7035 PR gcov/49484
7036 * libgcov.c: Include gthr.h.
7037 (__gcov_flush_mx): New global variable.
7038 (init_mx, init_mx_once): New functions.
7039 (__gcov_flush): Protect self with a mutex.
7040 (__gcov_fork): Re-initialize mutex after forking.
7041 * unwind-dw2-fde.c: Change condition under which to use
7042 __GTHREAD_MUTEX_INIT_FUNCTION.
7043
7044 2012-03-12 Tristan Gingold <gingold@adacore.com>
7045
7046 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
7047 * config/ia64/t-vms: Likewise.
7048
7049 2012-03-11 Michael Hope <michael.hope@linaro.org>
7050
7051 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
7052 for Thumb-2.
7053
7054 2012-03-07 Walter Lee <walt@tilera.com>
7055
7056 * config/tilepro/atomic.c: Rename "atomic_" prefix to
7057 "arch_atomic_".
7058 (atomic_xor): Rename and move definition to
7059 config/tilepro/atomic.h.
7060 (atomic_nand): Ditto.
7061 * config/tilepro/atomic.h: Rename "atomic_" prefix to
7062 "arch_atomic_".
7063 (arch_atomic_xor): Move from config/tilepro/atomic.c.
7064 (arch_atomic_nand): Ditto.
7065
7066 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
7067
7068 PR target/52507
7069 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
7070
7071 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
7072
7073 PR target/52505
7074 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
7075 from RAM.
7076
7077 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
7078
7079 PR target/52461
7080 PR target/52508
7081 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
7082 if RAMPZ affects reading from RAM.
7083 (__tablejump_elpm__): Ditto.
7084 (.xload): Ditto.
7085 (__movmemx_hi): Ditto.
7086 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
7087 (__do_global_dtors): Ditto.
7088 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
7089 (__movmemx_hi): Ditto.
7090
7091 2012-03-05 Richard Henderson <rth@redhat.com>
7092
7093 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
7094 [ARM] (count_trailing_zeros): Use the builtin.
7095
7096 2012-03-01 Kai Tietz <ktietz@redhat.com>
7097
7098 * soft-fp: Imported from glibc upstream.
7099
7100 2012-02-28 Kai Tietz <ktietz@redhat.com>
7101
7102 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
7103 for mingw-targets as attribute gcc_struct.
7104
7105 2012-02-28 Ian Lance Taylor <iant@google.com>
7106
7107 * generic-morestack.c (__splitstack_releasecontext): Correct call
7108 to __morestack_release_segments.
7109
7110 2012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
7111
7112 PR target/52390
7113 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
7114 for __linux__ when removing signals from __morestack_fullmask.
7115
7116 2012-02-23 Georg-Johann Lay <avr@gjlay.de>
7117
7118 PR target/52261
7119 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
7120
7121 2012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7122
7123 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
7124 instead of HAVE_INITFINI_ARRAY.
7125 * config/ia64/crtend.S: Likewise.
7126
7127 2012-02-20 Kai Tietz <ktietz@redhat.com>
7128
7129 PR libstdc++/52300
7130 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
7131
7132 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
7133 to w32-unwind.h header.
7134
7135 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
7136
7137 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
7138 (mips*-*-linux*): Remove t-slibgcc-libgcc.
7139 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
7140 * config/mips/mips16.S (__mips16_rdhwr): Delete.
7141
7142 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
7143
7144 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
7145
7146 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
7147
7148 PR libitm/52220
7149 * config/darwin-crt-tm.c: Correct typo.
7150
7151 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
7152 Patrick Marlier <patrick.marlier@gmail.com>
7153
7154 PR libitm/52220
7155 * config/darwin-crt-tm.c: Generate dummy functions.
7156
7157 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
7158 Patrick Marlier <patrick.marlier@gmail.com>
7159
7160 PR libitm/52042
7161 * config/darwin-crt-tm.c (getTMCloneTable): New function.
7162 (__doTMRegistrations): Call it.
7163 (__doTMdeRegistrations): Likewise.
7164
7165 2012-01-15 Georg-Johann Lay <avr@gjlay.de>
7166 Anatoly Sokolov <aesok@post.ru>
7167 Eric Weddington <eric.weddington@atmel.com>
7168
7169 PR target/52261
7170 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
7171 (__epilogue_restores__): Ditto.
7172
7173 2012-02-15 Eric Botcazou <ebotcazou@adacore.com>
7174
7175 PR target/51921
7176 PR target/52205
7177 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
7178 Solaris 11 and slightly reformat.
7179 (sparc_is_sighandler): Likewise.
7180
7181 2012-02-14 Walter Lee <walt@tilera.com>
7182
7183 * config.host: Handle tilegx and tilepro.
7184 * config/tilegx/sfp-machine.h: New file.
7185 * config/tilegx/sfp-machine32.h: New file.
7186 * config/tilegx/sfp-machine64.h: New file.
7187 * config/tilegx/t-crtstuff: New file.
7188 * config/tilegx/t-softfp: New file.
7189 * config/tilegx/t-tilegx: New file.
7190 * config/tilepro/atomic.c: New file.
7191 * config/tilepro/atomic.h: New file.
7192 * config/tilepro/linux-unwind.h: New file.
7193 * config/tilepro/sfp-machine.h: New file.
7194 * config/tilepro/softdivide.c: New file.
7195 * config/tilepro/softmpy.S: New file.
7196 * config/tilepro/t-crtstuff: New file.
7197 * config/tilepro/t-tilepro: New file.
7198
7199 2012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
7200
7201 PR libstdc++/51296
7202 PR libstdc++/51906
7203 * gthr-posix.h: Allow static initializer macros to be disabled.
7204 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
7205
7206 2012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
7207
7208 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
7209 Add t-slibgcc-libgcc to tmake_file.
7210 * config/mips/libgcc-mips16.ver: Revert previous patch.
7211 * config/mips/mips16.S (__mips16_rdhwr): Hide.
7212
7213 2012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
7214 Jayant R Sonar <jayant.sonar@kpitcummins.com>
7215
7216 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
7217 * config/cr16/crti.S: New file.
7218 * config/cr16/crtlibid.S: New file.
7219 * config/cr16/crtn.S: New file.
7220 * config/cr16/lib1funcs.S: New file.
7221 * config/cr16/t-cr16: New file.
7222 * config/cr16/t-crtlibid: New file.
7223 * config/cr16/unwind-dw2.h: New file.
7224 * config/cr16/unwind-cr16.c: New file.
7225 * config/cr16/divmodhi3.c: New file.
7226
7227 2012-01-25 Alan Modra <amodra@gmail.com>
7228
7229 * config/rs6000/t-linux64: Delete. Move..
7230 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
7231 * config/rs6000/t-linux: ..and libgcc flags to here.
7232
7233 2012-01-22 Douglas B Rupp <rupp@gnat.com>
7234
7235 * config.host (i[34567]86-*-interix3*):
7236 Change triplet to i[34567]86-*-interix[3-9]*.
7237 * configure: Regenerate.
7238
7239 2012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
7240 Richard Sandiford <rdsandiford@googlemail.com>
7241
7242 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
7243 * config/mips/mips16.S (__mips16_rdhwr): New function.
7244 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
7245
7246 2012-01-11 Nathan Sidwell <nathan@acm.org>
7247
7248 * libgcov.c (__gcov_init): Ignore objects with no functions.
7249
7250 2012-01-10 Georg-Johann Lay <avr@gjlay.de>
7251
7252 PR target/49868
7253 Extend __pgmx semantics to linearize memory.
7254 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
7255 * config/avr/lib1funcs.S (__xload_1): New function.
7256 (__movmemx_qi, __movmemx_hi): New functions.
7257 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
7258 semantics.
7259
7260 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
7261
7262 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
7263 purported sigacthandler address isn't null before dereferencing it.
7264 (sparc_is_sighandler): Likewise.
7265
7266 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
7267
7268 PR ada/41929
7269 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
7270 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
7271 (sparc_is_sighandler): Likewise.
7272 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
7273
7274 2012-01-06 Tristan Gingold <gingold@adacore.com>
7275
7276 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
7277 compatibility thunks...
7278 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
7279 (crtbeginS.o, crtendS.o): ... and these to ...
7280 * config/ia64/t-ia64-elf: ... this new file.
7281 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
7282 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
7283
7284 2012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7285
7286 * configure: Regenerate.
7287 * config/s390/t-crtstuff: Remove -fPIC.
7288
7289 2012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
7290
7291 PR bootstrap/51006
7292 * enable-execute-stack-mprotect.c (getpagesize): Do not define
7293 for NetBSD.
7294
7295 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
7296
7297 PR target/51345
7298 * config/avr/lib1funcs.S: Remove FIXME comments.
7299 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
7300
7301 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
7302
7303 Implement light-weight DImode support.
7304 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
7305 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
7306 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
7307 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
7308
7309 2011-12-30 Nathan Sidwell <nathan@acm.org>
7310
7311 * libgcov.c (gcov_crc32): Remove global var.
7312 (free_fn_data): New function.
7313 (buffer_fn_data): Pass in filename, more robust error recovery.
7314 (crc32_unsigned): New function.
7315 (gcov_exit): More robust detection of new program. More robust
7316 error recovery.
7317 (__gcov_init): Do not update program's crc here.
7318
7319 2011-12-21 Tristan Gingold <gingold@adacore.com>
7320
7321 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
7322
7323 2011-12-21 Ian Lance Taylor <iant@google.com>
7324
7325 * config/i386/morestack.S: Simplify CFI opcodes throughout.
7326
7327 2011-12-20 Ian Lance Taylor <iant@google.com>
7328
7329 * config/i386/morestack.S (__morestack_non_split): If there is
7330 enough stack space already, don't split. Ask for more stack space
7331 than we required.
7332
7333 2011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
7334
7335 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
7336 `sys/sdt.h'.
7337 (_Unwind_DebugHook): New function.
7338 (uw_restore_core_regs): New define.
7339 (unwind_phase2): Use uw_restore_core_regs instead of
7340 restore_core_regs.
7341 (unwind_phase2_forced): Likewise.
7342 (__gnu_Unwind_Resume): Likewise.
7343
7344 2011-12-20 Uros Bizjak <ubizjak@gmail.com>
7345
7346 * config/alpha/linux-unwind.h: Update copyright years.
7347 (MD_FROB_UPDATE_CONTEXT): New define.
7348 (alpha_frob_update_context): New function.
7349
7350 2011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
7351
7352 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
7353 tmake_file rather replacing it.
7354
7355 2011-12-15 Iain Sandoe <iains@gcc.gnu.org>
7356
7357 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
7358 function is not used for PPC64.
7359 (save_world): Amend comments. Update the VRsave mask to reflect the
7360 saved regs.
7361 (rest_world): Update comments, do not clobber r10, do not use r8.
7362 (eh_rest_world_r10): Amend comments, do not use r8.
7363 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
7364 no longer used, move restore of CR and target address to the end of
7365 the routine.
7366
7367 2011-12-14 H.J. Lu <hongjiu.lu@intel.com>
7368
7369 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
7370 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
7371
7372 2011-12-14 Georg-Johann Lay <avr@gjlay.de>
7373
7374 PR target/49313
7375 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
7376 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
7377
7378 2011-12-11 Eric Botcazou <ebotcazou@adacore.com>
7379
7380 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
7381
7382 2011-12-09 Georg-Johann Lay <avr@gjlay.de>
7383
7384 PR target/49313
7385 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
7386 * config/avr/lib1funcs.S (__muldi3): New function.
7387
7388 2011-12-06 Andrew Pinski <apinski@cavium.com>
7389
7390 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
7391 size of func_ptr.
7392 (__frame_dummy_init_array_entry): Likewise.
7393
7394 2011-12-06 Georg-Johann Lay <avr@gjlay.de>
7395
7396 Forward-port from gcc-4_6-branch r181936 2011-12-02.
7397
7398 PR target/51345
7399 PR target/51002
7400 * config/avr/lib1funcs.S (__prologue_saves__,
7401 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
7402 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
7403
7404 2011-12-04 Iain Sandoe <iains@gcc.gnu.org>
7405
7406 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
7407
7408 2011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
7409
7410 PR other/51272
7411 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
7412 (_ITM_deregisterTMCloneTable): Likewise.
7413 (__register_frame_info): Fix unused warning.
7414 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
7415 pthread_default_stacksize_np): Likewise.
7416 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
7417
7418 2011-11-29 DJ Delorie <dj@redhat.com>
7419
7420 * config.host (rl78-*-elf): New case.
7421 * config/rl78: New directory for the Renesas RL78.
7422
7423 2011-11-29 Bernd Schmidt <bernds@codesourcery.com>
7424
7425 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
7426 formatting.
7427
7428 2011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7429
7430 PR other/51022
7431 * config/rs6000/t-savresfgpr: New file.
7432 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
7433 $(srcdir)/config/rs6000/eabi.S.
7434 * config/rs6000/t-ppccomm-ldbl: Remove.
7435 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
7436 tmake_file.
7437 (powerpc-*-eabispe*): Likewise.
7438 (powerpc-*-eabi*): Likewise.
7439 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
7440 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
7441 to tmake_file, remove rs6000/t-ppccomm-ldbl.
7442 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
7443 tmake_file.
7444 (powerpc-*-eabisim*): Likewise.
7445 (powerpc-*-elf*): Likewise.
7446 (powerpc-*-eabialtivec*): Likewise.
7447 (powerpc-xilinx-eabi*): Likewise.
7448 (powerpc-*-rtems*): Likewise.
7449 (powerpcle-*-elf*): Likewise.
7450 (powerpcle-*-eabisim*): Likewise.
7451 (powerpcle-*-eabi*): Likewise.
7452
7453 2011-11-27 Ian Lance Taylor <iant@google.com>
7454
7455 * generic-morestack.c (__splitstack_find): Check for NULL old
7456 stack value.
7457 (__splitstack_resetcontext): New function.
7458 (__splitstack_releasecontext): New function.
7459 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
7460
7461 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
7462
7463 * config/darwin-crt-tm.c: Correct comments, use correct licence.
7464
7465 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
7466
7467 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
7468
7469 2011-11-26 Richard Henderson <rth@redhat.com>
7470
7471 * config/m68k/linux-atomic.c: New file.
7472 * config/m68k/t-linux: New file.
7473 * config.host (m68k-uclinux, m68k-linux): Use it.
7474
7475 2011-11-26 Richard Henderson <rth@redhat.com>
7476
7477 * crtstuff.c (__TMC_LIST__): Mark used not unused.
7478 (__TMC_END__): Only declare if hidden is available; in the definition,
7479 if hidden is unavailable add a null record.
7480 (deregister_tm_clones, register_tm_clones): New.
7481 (__do_global_dtors_aux, frame_dummy): Use them.
7482 (__do_global_dtors, __do_global_ctors_1): Likewise.
7483
7484 2011-11-22 Iain Sandoe <iains@gcc.gnu.org>
7485
7486 * config/darwin-crt-tm.c: New file.
7487 * config.host (darwin): Build crttms.o crttme.o to provide
7488 startup and shutdown for tm clones.
7489 * config/t-darwin (crttms.o): New build rule.
7490 (crttme.o): Likewise.
7491
7492 2011-11-21 Hans-Peter Nilsson <hp@axis.com>
7493
7494 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
7495 et al.
7496
7497 2011-11-21 Richard Henderson <rth@redhat.com>
7498
7499 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
7500 (__TMC_LIST__, __TMC_END__): New.
7501 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
7502 (__do_global_dtors): Likewise.
7503 (frame_dummy): Call _ITM_registerTMCloneTable.
7504 (__do_global_ctors_1): Likewise.
7505
7506 2011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7507
7508 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
7509 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
7510 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
7511 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
7512 * config/i386/t-darwin64: Remove.
7513 * config/sh/t-netbsd (LIB2ADD): Remove.
7514
7515 2011-11-21 Georg-Johann Lay <avr@gjlay.de>
7516
7517 PR target/49313
7518 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
7519 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
7520 * config/avr/lib1funcs.S (wmov): New assembler macro.
7521 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
7522 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
7523 (__udivmod64): New function.
7524 (__negdi2): New function.
7525
7526 2011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
7527
7528 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
7529 *-*-freebsd*aout*): Remove.
7530
7531 2011-11-20 Hans-Peter Nilsson <hp@axis.com>
7532
7533 * static-object.mk (c_flags-$o): Save c_flags.
7534 ($(base)$(objext)): Use it.
7535
7536 2011-11-18 Steve Ellcey <sje@cup.hp.com>
7537
7538 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
7539
7540 2011-11-18 Georg-Johann Lay <avr@gjlay.de>
7541
7542 PR target/49868
7543 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
7544 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
7545 New functions.
7546
7547 2011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
7548
7549 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
7550 functions.
7551 (aeabi_uidivmod): Likewise.
7552 (umodsi3): Likewise.
7553 (divsi3): Likewise.
7554 (aeabi_idivmod): Likewise.
7555 (modsi3): Likewise.
7556
7557 2011-11-16 Tristan Gingold <gingold@adacore.com>
7558
7559 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
7560
7561 2011-11-15 Georg-Johann Lay <avr@gjlay.de>
7562
7563 PR target/49868
7564 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
7565 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
7566
7567 2011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
7568
7569 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
7570 tmake_file list.
7571 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
7572 * config/pa/t-stublib64: Delete.
7573
7574 2011-11-12 Richard Henderson <rth@redhat.com>
7575
7576 * config/rs6000/linux-unwind.h (frob_update_context): Properly
7577 cast the pointer argument to _Unwind_SetGRPtr.
7578
7579 2011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7580
7581 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
7582
7583 2011-11-09 Ian Lance Taylor <iant@google.com>
7584
7585 * generic-morestack.c: Include <string.h>.
7586 (uintptr_type): Define.
7587 (struct initial_sp): Add dont_block_signals field. Reduce size of
7588 extra array by 1.
7589 (allocate_segment): Set prev field to NULL. Don't set
7590 __morestack_current_segment or __morestack_segments.
7591 (__generic_morestack): Update current->prev and *pp after calling
7592 allocate_segment.
7593 (__morestack_block_signals): Don't do anything if
7594 dont_block_signals is set.
7595 (__morestack_unblock_signals): Likewise.
7596 (__generic_findstack): Check for initial_sp == NULL. Add casts to
7597 uintptr_type.
7598 (__splitstack_block_signals): New function.
7599 (enum __splitstack_content_offsets): Define.
7600 (__splitstack_getcontext, __splitstack_setcontext): New functions.
7601 (__splitstack_makecontext): New function.
7602 (__splitstack_block_signals_context): New function.
7603 (__splitstack_find_context): New function.
7604 * config/i386/morestack.S (__morestack_get_guard): New function.
7605 (__morestack_set_guard, __morestack_make_guard): New functions.
7606 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
7607
7608 2011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7609
7610 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
7611 (i[34567]86-*-mingw*): ... here.
7612 (x86_64-*-mingw*): ... here.
7613
7614 2011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7615
7616 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
7617
7618 2011-11-07 Nathan Sidwell <nathan@acm.org>
7619
7620 * libgcov.c (struct gcov_fn_buffer): New struct.
7621 (buffer_fn_data): New helper.
7622 (gcov_exit): Rework for new gcov data structures.
7623
7624 2011-11-07 Georg-Johann Lay <avr@gjlay.de>
7625
7626 PR target/49313
7627 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
7628
7629 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7630
7631 * config.host (tmake_file): Correct comment.
7632 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
7633 t-libgcc-pic.
7634 (bfin*-uclinux*): Likewise.
7635 (bfin*-linux-uclibc*): Likewise.
7636 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
7637
7638 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
7639 assigning.
7640 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7641 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
7642 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7643 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
7644 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7645 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
7646 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
7647 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7648 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
7649 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
7650 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
7651 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
7652 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
7653
7654 * config/bfin/t-elf: Remove.
7655 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
7656
7657 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7658
7659 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
7660 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
7661 (lm32-*-elf*, lm32-*-rtems*): Split into ...
7662 (lm32-*-elf*): ... this.
7663 (lm32-*-rtems*): ... and this.
7664 Add to tmake_file.
7665 (m32r-*-rtems*): Add to tmake_file.
7666 (moxie-*-rtems*): Likewise.
7667 (sparc-*-rtems*): Likewise.
7668 Remove t-rtems from tmake_file.
7669 (sparc64-*-rtems*): Likewise.
7670 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
7671 instead.
7672
7673 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7674
7675 PR bootstrap/50982
7676 * config/gthr-posix.h: Move ...
7677 * gthr-posix.h: ... here.
7678 * config/gthr-lynx.h: Reflect this.
7679 * config/gthr-vxworks.h: Likewise.
7680 * config/rs6000/gthr-aix.h: Likewise.
7681 * configure.ac (target_thread_file): Likewise.
7682 * configure: Regenerate.
7683
7684 2011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
7685
7686 * config.host (arm*-*-rtemseabi*): New target.
7687
7688 2011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
7689
7690 PR other/50991
7691 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
7692 extra-parts.
7693
7694 2011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
7695
7696 * config.host (epiphany-*-elf*): New configuration.
7697 * config/epiphany: New Directory.
7698
7699 2011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
7700
7701 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
7702 * config/avr/t-rtems: New.
7703 Filter out _exit from LIB1ASMFUNCS.
7704
7705 2011-11-04 David S. Miller <davem@davemloft.net>
7706
7707 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
7708 * configure: Rebuild.
7709
7710 2011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7711
7712 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
7713 variable.
7714
7715 2011-11-04 Georg-Johann Lay <avr@gjlay.de>
7716
7717 PR target/50931
7718 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
7719 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
7720
7721 2011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
7722
7723 PR target/50989
7724 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
7725
7726 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7727
7728 * config/c6x/t-elf (LIB2ADDEH): Set.
7729 * config/c6x/t-c6x-elf: Remove.
7730
7731 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7732
7733 * config/i386/sol2-ci.S: Rename to ...
7734 * config/i386/crti.S: ... this.
7735 * config/i386/sol2-cn.S: Rename to ...
7736 * config/i386/crtn.S: ... this.
7737 * config/sparc/sol2-ci.S: Rename to ...
7738 * config/sparc/crti.S: ... this.
7739 * config/sparc/sol2-cn.S: Rename to ...
7740 * config/sparc/crtn.S: ... this.
7741 * config/t-sol2 (CUSTOM_CRTIN): Remove.
7742 (crti.o, crtn.o): Remove.
7743
7744 2011-11-04 Tristan Gingold <gingold@adacore.com>
7745
7746 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
7747
7748 2011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
7749
7750 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
7751
7752 2011-11-03 Hans-Peter Nilsson <hp@axis.com>
7753
7754 * config.host (crisv32-*-none, cris-*-none): Remove.
7755 (crisv32-*-elf): Append to tmake_file, don't just set it.
7756 (cris-*-elf): Add missing t-fdpbit to tmake_file.
7757
7758 2011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7759
7760 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
7761 (ecrtn$(objext)): Likewise.
7762 (ncrti$(objext)): Likewise.
7763 (ncrtn$(objext)): Likewise.
7764
7765 2011-11-03 Andreas Schwab <schwab@redhat.com>
7766
7767 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
7768
7769 2011-11-02 David S. Miller <davem@davemloft.net>
7770
7771 * configure.ac: Set host_address on sparc too.
7772 * configure: Regenerate.
7773 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
7774 based upon host_address.
7775 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
7776
7777 2011-11-02 Jason Merrill <jason@redhat.com>
7778
7779 * config/rs6000/t-ppccomm: Add missing \.
7780
7781 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7782
7783 * gthr-single.h, gthr.h: New files.
7784 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
7785 config/gthr-vxworks.h, config/i386/gthr-win32.h,
7786 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
7787 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
7788 * config/i386/gthr-win32.c: Include "gthr-win32.h".
7789 * configure.ac (thread_header): New variable.
7790 Set it depending on target_thread_file.
7791 (gthr-default.h): Link from $thread_header.
7792 * configure: Regenerate.
7793 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
7794
7795 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7796
7797 * configure.ac (tm_file_): New variable.
7798 Determine from tm_file.
7799 (tm_file, tm_defines): Substitute.
7800 * configure: Regenerate.
7801 * mkheader.sh: New file.
7802 * Makefile.in (clean): Remove libgcc_tm.h.
7803 ($(objects)): Depend on libgcc_tm.h.
7804 (libgcc_tm_defines, libgcc_tm_file): New variables.
7805 (libgcc_tm.h, libgcc_tm.stamp): New targets.
7806 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
7807 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
7808 ($(extra-parts)): Depend on libgcc_tm.h.
7809 * config.host (tm_defines, tm_file): New variable.
7810 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
7811 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
7812 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
7813 (avr-*-rtems*): Likewise.
7814 (avr-*-*): Likewise.
7815 (frv-*-elf): Likewise.
7816 (frv-*-*linux*): Likewise.
7817 (h8300-*-rtems*): Likewise.
7818 (h8300-*-elf*): Likewise.
7819 (i[34567]86-*-darwin*): Likewise.
7820 (x86_64-*-darwin*): Likewise.
7821 (rx-*-elf): Likewise.
7822 (tic6x-*-uclinux): Likewise.
7823 (tic6x-*-elf): Likewise.
7824 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
7825 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
7826 * config/i386/cygming-crtbegin.c: Likewise.
7827 * config/i386/cygming-crtend.c: Likewise.
7828 * config/ia64/fde-vms.c: Likewise.
7829 * config/ia64/unwind-ia64.c: Likewise.
7830 * config/libbid/bid_gcc_intrinsics.h: Likewise.
7831 * config/rs6000/darwin-fallback.c: Likewise.
7832 * config/stormy16/lib2funcs.c: Likewise.
7833 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
7834 * crtstuff.c: Likewise.
7835 * dfp-bit.h: Likewise.
7836 * emutls.c: Likewise.
7837 * fixed-bit.c: Likewise.
7838 * fp-bit.c: Likewise.
7839 * generic-morestack-thread.c: Likewise.
7840 * generic-morestack.c: Likewise.
7841 * libgcc2.c: Likewise.
7842 * libgcov.c: Likewise.
7843 * unwind-dw2-fde-dip.c: Likewise.
7844 * unwind-dw2-fde.c: Likewise.
7845 * unwind-dw2.c: Likewise.
7846 * unwind-sjlj.c: Likewise.
7847
7848 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7849
7850 * configure.ac: Include ../config/picflag.m4.
7851 (GCC_PICFLAG): Call it.
7852 Substitute.
7853 * configure: Regenerate.
7854 * Makefile.in (gcc_srcdir): Remove.
7855 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
7856 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
7857 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
7858 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
7859 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
7860 Use $<.
7861 Remove comment.
7862 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
7863 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
7864 to refer to libgcc2.c.
7865 Use $<.
7866 * config/darwin-64.c: New file.
7867 * config/darwin-crt3.c: Remove comment.
7868 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
7869 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
7870 config/udivmodsi4.c: New files.
7871 * config/memcmp.c, config/memcpy.c, config/memmove.c,
7872 config/memset.c: New files.
7873 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
7874 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
7875 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
7876 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
7877 * config/t-openbsd-thread: New file.
7878 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
7879 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
7880 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
7881 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
7882 qrnnd.S.
7883 Adapt filename.
7884 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
7885 to refer to gthr-posix.c.
7886 * config/alpha/t-vms (LIB2ADD): Set.
7887 * config/alpha/vms-gcc_shell_handler.c: New file.
7888 * config/arm/bpabi.c, config/arm/fp16.c,
7889 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
7890 config/arm/unaligned-funcs.c: New files.
7891 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
7892 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
7893 * config/arm/t-linux: Likewise.
7894 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
7895 * config/arm/t-netbsd: New file.
7896 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
7897 * config/arm/t-symbian (LIB2ADD_ST): Set.
7898 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
7899 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7900 * config/bfin/t-elf: New file.
7901 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
7902 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
7903 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
7904 config/c6x/ltf.c: New files.
7905 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
7906 (HOST_LIBGCC2_CFLAGS): Set.
7907 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
7908 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7909 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
7910 New files.
7911 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
7912 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
7913 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
7914 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
7915 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
7916 files.
7917 * config/frv/t-frv (LIB2ADD): Set.
7918 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7919 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
7920 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
7921 config/h8300/popcounthi2.c: New files.
7922 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
7923 * config/i386/gthr-win32.c: New file.
7924 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
7925 * config/i386/t-cygwin: Likewise.
7926 * config/i386/t-darwin, config/i386/t-darwin64,
7927 config/i386/t-gthr-win32, config/i386/t-interix: New files.
7928 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
7929 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7930 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7931 * config/ia64/quadlib.c: New file.
7932 * config/ia64/t-hpux (LIB2ADD): Set.
7933 * config/ia64/t-ia64: Add comment.
7934 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
7935 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7936 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
7937 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
7938 * config/m32c/t-m32c (LIB2ADD): Set.
7939 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
7940 * config/m32r/t-m32r: Likewise.
7941 * config/m68k/fpgnulib.c: New file.
7942 * config/m68k/t-floatlib (LIB2ADD): Set.
7943 (xfgnulib.c): New target.
7944 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
7945 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
7946 * config/mep/t-mep (LIB2ADD): Set.
7947 * config/microblaze/divsi3.asm: Rename to divsi3.S.
7948 * config/microblaze/moddi3.asm: Rename to moddi3.S.
7949 * config/microblaze/modsi3.asm: Rename to modsi3.S.
7950 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
7951 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
7952 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
7953 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
7954 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
7955 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
7956 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
7957 New files.
7958 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
7959 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
7960 * config/pa/fptr.c, config/pa/lib2funcs.S,
7961 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
7962 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
7963 (LIB2ADD, LIB2ADD_ST): Set.
7964 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
7965 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
7966 Set.
7967 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
7968 * config/pdp11/t-pdp11: New file.
7969 * config/picochip/libgccExtras/adddi3.S,
7970 config/picochip/libgccExtras/ashlsi3.S,
7971 config/picochip/libgccExtras/ashrsi3.S,
7972 config/picochip/libgccExtras/clzsi2.S,
7973 config/picochip/libgccExtras/cmpsi2.S,
7974 config/picochip/libgccExtras/divmod15.S,
7975 config/picochip/libgccExtras/divmodhi4.S,
7976 config/picochip/libgccExtras/divmodsi4.S,
7977 config/picochip/libgccExtras/lshrsi3.S,
7978 config/picochip/libgccExtras/parityhi2.S,
7979 config/picochip/libgccExtras/popcounthi2.S,
7980 config/picochip/libgccExtras/subdi3.S,
7981 config/picochip/libgccExtras/ucmpsi2.S,
7982 config/picochip/libgccExtras/udivmodhi4.S,
7983 config/picochip/libgccExtras/udivmodsi4.S: New files.
7984 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
7985 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
7986 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
7987 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
7988 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
7989 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
7990 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
7991 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
7992 files.
7993 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
7994 (HOST_LIBGCC2_CFLAGS): Set.
7995 * config/rs6000/t-darwin64: New file.
7996 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
7997 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
7998 * config/rs6000/t-ppccomm (LIB2ADD): Add
7999 $(srcdir)/config/rs6000/tramp.S.
8000 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
8001 Add $(srcdir)/config/rs6000/eabi.S.
8002 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
8003 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
8004 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
8005 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
8006 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
8007 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
8008 * config/rs6000/tramp.S: New file.
8009 * config/s390/t-tpf: Remove.
8010 * config/sh/linux-atomic.S: New file.
8011 * config/sh/t-linux (LIB2ADD): Set.
8012 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
8013 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
8014 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
8015 to unwind-dw2.c.
8016 (HOST_LIBGCC2_CFLAGS): Set.
8017 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8018 * config/spu/divmodti4.c, config/spu/divv2df3.c,
8019 config/spu/float_disf.c, config/spu/float_unsdidf.c,
8020 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
8021 config/spu/mfc_multi_tag_release.c,
8022 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
8023 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
8024 config/spu/multi3.c: New files.
8025 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
8026 (HOST_LIBGCC2_CFLAGS): Set.
8027 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
8028 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
8029 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
8030 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
8031 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
8032 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
8033 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
8034 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
8035 config/stormy16/umodsi3.c: New files.
8036 * config/xtensa/lib2funcs.S: New file.
8037 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
8038 * config/xtensa/t-xtensa (LIB2ADD): Set.
8039 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
8040 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
8041 Add t-freebsd-thread to tmake_file for posix threads.
8042 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
8043 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
8044 (*-*-lynxos*): Likewise.
8045 (*-*-netbsd*): Likewise.
8046 (*-*-openbsd*): Likewise.
8047 Add t-openbsd-thread to tmake_file for posix threads.
8048 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
8049 (*-*-vxworks*): Set tmake_file.
8050 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
8051 (alpha*-*-freebsd*): Likewise.
8052 (alpha*-*-netbsd*): Likewise.
8053 (alpha*-*-openbsd*): Likewise.
8054 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
8055 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
8056 (alpha*-dec-*vms*): Likewise.
8057 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
8058 (bfin*-elf*): Add bfin/t-elf to tmake_file.
8059 (bfin*-uclinux*): Likewise.
8060 (bfin*-linux-uclibc*): Likewise.
8061 (crisv32-*-elf): Add cris/t-cris to tmake_file.
8062 (crisv32-*-none): Likewise.
8063 (cris-*-elf): Likewise.
8064 (cris-*-none): Likewise.
8065 (cris-*-linux*, crisv32-*-linux*): Likewise.
8066 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
8067 tmake_file.
8068 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
8069 tmake_file.
8070 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
8071 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
8072 (x86_64-*-elf*): Likewise.
8073 (i[34567]86-*-nto-qnx*): Likewise.
8074 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
8075 win32 threads.
8076 (x86_64-*-mingw*): Likewise.
8077 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
8078 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
8079 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
8080 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
8081 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
8082 tmake_file.
8083 (mipsisa64sr71k-*-elf*): Likewise.
8084 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
8085 (mips-*-elf*, mipsel-*-elf*): Likewise.
8086 (mips64-*-elf*, mips64el-*-elf*): Likewise.
8087 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
8088 (mips*-*-rtems*): Likewise.
8089 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
8090 to tmake_file.
8091 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
8092 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
8093 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
8094 (spu-*-elf*): Likewise.
8095 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
8096
8097 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8098
8099 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
8100 $(srcdir) to refer to $(LIB1ASMSRC).
8101 Use $<.
8102 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
8103 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
8104 config/arm/lib1funcs.S: New files.
8105 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
8106 * config/arm/t-arm: New file.
8107 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
8108 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
8109 config/arm/t-strongarm-elf: New files.
8110 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
8111 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
8112 * config/avr/lib1funcs.S: New file.
8113 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8114 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
8115 * config/c6x/lib1funcs.S: New file.
8116 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8117 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
8118 * config/frv/lib1funcs.S: New file.
8119 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8120 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
8121 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
8122 * config/ia64/__divxf3.asm: Rename to ...
8123 * config/ia64/__divxf3.S: ... this.
8124 Adapt lib1funcs.asm filename.
8125 * config/ia64/_fixtfdi.asm: Rename to ...
8126 * config/ia64/_fixtfdi.S: ... this.
8127 Adapt lib1funcs.asm filename.
8128 * config/ia64/_fixunstfdi.asm: Rename to ...
8129 * config/ia64/_fixunstfdi.S: ... this.
8130 Adapt lib1funcs.asm filename.
8131 * config/ia64/_floatditf.asm: Rename to ...
8132 * config/ia64/_floatditf.S: ... this.
8133 Adapt lib1funcs.asm filename.
8134 * config/ia64/lib1funcs.S: New file.
8135 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
8136 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8137 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
8138 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
8139 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
8140 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
8141 * config/mep/lib1funcs.S: New file.
8142 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8143 * config/mips/mips16.S: New file.
8144 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8145 * config/pa/milli64.S: New file.
8146 * config/pa/t-linux, config/pa/t-linux64: New files.
8147 * config/picochip/lib1funcs.S: New file.
8148 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8149 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
8150 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
8151 * config/sh/t-netbsd: New file.
8152 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
8153 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
8154 * config/sh/t-sh64: New file.
8155 * config/sparc/lb1spc.S: New file.
8156 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
8157 filename.
8158 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
8159 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
8160 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
8161 config/xtensa/lib1funcs.S: New files.
8162 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8163 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
8164 tmake_file.
8165 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
8166 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
8167 (arm*-*-linux*): Likewise.
8168 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
8169 arm*-*-linux-*eabi, add arm/t-linux otherwise.
8170 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
8171 (arm*-*-ecos-elf): Likewise.
8172 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
8173 (arm*-*-rtems*): Likewise.
8174 (arm*-*-elf): Likewise.
8175 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
8176 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
8177 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
8178 (bfin*-uclinux*): Likewise.
8179 (bfin*-linux-uclibc*): Likewise.
8180 (bfin*-rtems*): Likewise.
8181 (bfin*-*): Likewise.
8182 (fido-*-elf): Merge into m68k-*-elf*.
8183 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
8184 (frv-*-*linux*): Add frv/t-frv to tmake_file.
8185 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
8186 (h8300-*-elf*): Likewise.
8187 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
8188 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
8189 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
8190 (i[34567]86-*-mingw*): Likewise.
8191 (x86_64-*-mingw*): Likewise.
8192 (i[34567]86-*-interix3*): Likewise.
8193 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
8194 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
8195 (m68k-*-elf*): Also handle fido-*-elf.
8196 Add m68k/t-floatlib to tmake_file.
8197 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
8198 (m68k-*-linux*): Likewise.
8199 (m68k-*-rtems*): Likewise.
8200 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
8201 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
8202 sh64*-*-*.
8203 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
8204 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
8205 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
8206 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
8207 sh/t-netbsd to tmake_file.
8208 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
8209 (sh-*-rtems*): Add sh/t-sh to tmake_file.
8210 (sh-wrs-vxworks): Likewise.
8211 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
8212 *-leon[3-9]*.
8213 (v850*-*-*): Add v850/t-v850 to tmake_file.
8214 (vax-*-linux*): Add vax/t-linux to tmake_file.
8215 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
8216
8217 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8218
8219 * crtstuff.c: New file.
8220 * Makefile.in (CRTSTUFF_CFLAGS): Define.
8221 (CRTSTUFF_T_CFLAGS): Define.
8222 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
8223 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
8224 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
8225 crtstuff.c.
8226 Use $<.
8227 (crtbeginT.o): Use $(objext).
8228 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
8229 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
8230 (gcc-extra-parts): Remove.
8231 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
8232 Set extra_parts.
8233 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
8234 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
8235 Add t-crtstuff-pic to tmake_file.
8236 (*-*-lynxos*): New case.
8237 Set tmake_file, extra_parts.
8238 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
8239 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
8240 *-*-netbsdelf[2-9]*.
8241 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
8242 (*-*-rtems*): Set extra_parts.
8243 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
8244 (*-*-uclinux*): New case.
8245 Set extra_parts.
8246 (*-*-vms*): New case.
8247 Set tmake_file, extra_parts.
8248 (*-*-elf): Set extra_parts.
8249 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
8250 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
8251 vms/t-vms64.
8252 Set extra_parts.
8253 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
8254 Set extra_parts.
8255 (arm*-*-freebsd*): Add t-crtin to tmake_file.
8256 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
8257 (arm-wrs-vxworks): Append to tmake_file.
8258 Set extra_parts.
8259 (arm*-*-uclinux*): Set extra_parts.
8260 (arm*-*-ecos-elf): Likewise.
8261 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
8262 arm*-*-eabi*.
8263 (arm*-*-rtems*): Set extra_parts.
8264 (arm*-*-elf): Likewise.
8265 (avr-*-rtems*): Clear extra_parts.
8266 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
8267 Set extra_parts.
8268 (bfin*-uclinux*): Likewise.
8269 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
8270 (bfin*-rtems*): Append to tmake_file.
8271 Set extra_parts.
8272 (bfin*-*): Likewise.
8273 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
8274 (crisv32-*-elf): ... this.
8275 (crisv32-*-none): ... this.
8276 (cris-*-elf, cris-*-none): New cases.
8277 Add cris/t-elfmulti to tmake_file.
8278 (fr30-*-elf): Append to tmake_file.
8279 Set extra_parts.
8280 (frv-*-elf): Append to tmake_file, add frv/t-frv.
8281 Set extra_parts.
8282 (h8300-*-rtems*): Append to tmake_file.
8283 Set extra_parts.
8284 (h8300-*-elf*): Likewise.
8285 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
8286 Set extra_parts.
8287 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
8288 Set extra_parts.
8289 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
8290 (x86_64-*-elf*): Likewise.
8291 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
8292 (x86_64-*-freebsd*): Likewise.
8293 (x86_64-*-netbsd*): Likewise.
8294 (i[34567]86-*-linux*): Likewise.
8295 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
8296 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
8297 (x86_64-*-linux*): Likewise.
8298 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
8299 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
8300 tmake_file.
8301 Set extra_parts.
8302 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
8303 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
8304 Append to extra_parts, remove crtbegin.o, crtend.o.
8305 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
8306 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
8307 crtend.o, crtbeginS.o, crtendS.o.
8308 (ia64*-*-linux*): Comment extra_parts.
8309 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
8310 Set extra_parts.
8311 (iq2000*-*-elf*): Clear extra_parts.
8312 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
8313 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
8314 (m32r-*-elf*, m32r-*-rtems*): Split off ...
8315 (m32r-*-rtems*): ... this.
8316 Add m32r/t-m32r to tmake_file.
8317 (m68k-*-elf*): Add t-crtin to tmake_file.
8318 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
8319 (mcore-*-elf): Likewise.
8320 (microblaze*-*-*): Set extra_parts.
8321 (mips*-sde-elf*): New case.
8322 Set tmake_file, extra_parts.
8323 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
8324 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
8325 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
8326 tmake_file.
8327 Set extra_parts.
8328 (mipsisa64sr71k-*-elf*): Likewise.
8329 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
8330 (mips-*-elf*, mipsel-*-elf*): Likewise.
8331 (mips64-*-elf*, mips64el-*-elf*): Likewise.
8332 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
8333 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
8334 (mips*-*-rtems*): Likewise.
8335 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
8336 (moxie-*-*): Split into ...
8337 (moxie-*-elf, moxie-*-uclinux*): ... this.
8338 Add to extra_parts, remove crtbegin.o, crtend.o.
8339 (moxie-*-rtems*): New case.
8340 Set tmake_file.
8341 Clear extra_parts.
8342 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
8343 Set extra_parts.
8344 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
8345 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
8346 tmake_file.
8347 Set extra_parts.
8348 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
8349 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
8350 Set extra_parts.
8351 (powerpc-*-eabisim*): Likewise.
8352 (powerpc-*-elf*): Likewise.
8353 (powerpc-*-eabialtivec*): Likewise.
8354 (powerpc-xilinx-eabi*): Likewise.
8355 (powerpc-*-eabi*): Likewise.
8356 (powerpc-*-rtems*): Likewise.
8357 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
8358 tmake_file.
8359 Set extra_parts.
8360 (powerpc-*-lynxos*): Add to tmake_file.
8361 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
8362 rs6000/t-crtstuff, t-crtstuff-pic.
8363 Set extra_parts.
8364 (powerpcle-*-eabisim*): Likewise.
8365 (powerpcle-*-eabi*): Likewise.
8366 (rx-*-elf): Remove extra_parts.
8367 (s390x-ibm-tpf*): Set extra_parts.
8368 (score-*-elf): Set extra_parts.
8369 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
8370 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
8371 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
8372 (sh64l*-*-netbsd*): Split into ...
8373 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
8374 Add t-crtstuff-pic to tmake_file.
8375 Set extra_parts.
8376 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
8377 Set extra_parts.
8378 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
8379 (sparc-*-elf*): Remove t-crtin from tmake_file.
8380 Add to extra_parts, remove crtbegin.o, crtend.o.
8381 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
8382 (sparc64-*-linux*): Likewise.
8383 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
8384 Add to extra_parts, remove crtbegin.o, crtend.o.
8385 (sparc64-*-elf*): Remove t-crtin from tmake_file.
8386 Add to extra_parts, remove crtbegin.o, crtend.o.
8387 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
8388 Add to extra_parts, remove crtbegin.o, crtend.o.
8389 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
8390 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
8391 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
8392 Set extra_parts.
8393 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
8394 Set extra_parts.
8395 (tic6x-*-*): Change to ...
8396 (tic6x-*-elf): ... this.
8397 Set extra_parts.
8398 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
8399 Set extra_parts.
8400 (am33_2.0-*-linux*): Add comment.
8401 (mep*-*-*): Add mep/t-mep to tmake_file.
8402 Set extra_parts.
8403 * config/alpha/t-vms: New file.
8404 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
8405 * config/arm/crti.S, config/arm/crtn.S: New files.
8406 * config/bfin/crti.S, config/bfin/crtn.S: New files.
8407 * config/bfin/crtlibid.S: New file.
8408 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
8409 * config/c6x/crti.S, config/c6x/crtn.S: New files.
8410 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
8411 (crti.o, crtin.o): New rules.
8412 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
8413 * config/c6x/t-uclinux: New file.
8414 * config/cris/t-elfmulti: New file.
8415 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
8416 * config/fr30/crti.S, config/fr30/crtn.S: New files.
8417 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
8418 * config/frv/t-frv: New file.
8419 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
8420 * config/h8300/crti.S, config/h8300/crtn.S: New files.
8421 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
8422 New files.
8423 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
8424 refer to cygming-crtbegin.c, cygming-crtend.c.
8425 Use $<.
8426 * config/i386/t-nto: New file.
8427 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
8428 * config/ia64/crti.S, config/ia64/crtn.S: New files.
8429 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
8430 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
8431 Use .S extension.
8432 Use $<.
8433 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
8434 (crtinitS.o): New rule.
8435 * config/ia64/vms-crtinit.S: New file.
8436 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
8437 * config/m32r/initfini.c: New file.
8438 * config/m32r/t-linux, config/m32r/t-m32r: New files.
8439 * config/m68k/crti.S, config/m68k/crtn.S: New files.
8440 * config/mcore/crti.S, config/mcore/crtn.S: New files.
8441 * config/mep/t-mep: New file.
8442 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
8443 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
8444 * config/mips/crti.S, config/mips/crtn.S: New files.
8445 * config/mips/t-crtstuff: New file.
8446 * config/mmix/crti.S, config/mmix/crtn.S: New files.
8447 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
8448 (CUSTOM_CRTIN): Set.
8449 ($(T)crti.o, $(T)crtn.o): Remove $(T),
8450 dependencies.
8451 Use $(srcdir) to refer to crti.S, crtn.S.
8452 Use .S extension, $<.
8453 * config/moxie/crti.asm: Rename to ...
8454 * config/moxie/crti.S: ... this.
8455 * config/moxie/crtn.asm: Rename to ...
8456 * config/moxie/crtn.S: ... this.
8457 * config/moxie/t-moxie: Remove.
8458 * config/pa/stublib.c: New file.
8459 * config/pa/t-stublib, config/pa/t-stublib64: New files.
8460 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
8461 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
8462 * config/rs6000/t-crtstuff: New file.
8463 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
8464 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
8465 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
8466 Make output file explicit.
8467 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
8468 Make output file explicit.
8469 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
8470 Make output file explicit.
8471 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
8472 Make output file explicit.
8473 * config/score/crti.S, config/score/crtn.S: New files.
8474 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
8475 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
8476 files.
8477 * config/sh/t-sh, config/sh/t-superh: New files.
8478 * config/sparc/t-linux64: New file.
8479 * config/spu/cache.S, config/spu/cachemgr.c: New files.
8480 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
8481 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
8482 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
8483 * config/t-crtin: Remove.
8484 * config/t-crtstuff-pic: New file.
8485 * config/t-sol2 (CUSTOM_CRTIN): Set.
8486 (crti.o, crtn.o): New rules.
8487 * config/vms/t-vms: New file.
8488 * config/vms/vms-ucrt0.c: New file.
8489 * config/xtensa/t-elf: New file.
8490
8491 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8492
8493 * Makefile.in (SHLIB_NM_FLAGS): Set.
8494 * mkmap-flat.awk, mkmap-symver.awk: New files.
8495 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
8496 exceptions.
8497 * configure: Regenerate.
8498 * config/libgcc-glibc.ver: New file.
8499 * config/libgcc-libsystem.ver: New file.
8500 * config/t-libunwind (SHLIB_LC): Set.
8501 * config/t-linux: New file.
8502 * config/t-slibgcc (INSTALL_SHLIB): New.
8503 (SHLIB_INSTALL): Use it.
8504 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
8505 to mkmap-symver.awk.
8506 (SHLIB_MAPFILES): Don't append, adapt pathname.
8507 (SHLIB_VERPFX): Set.
8508 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
8509 to mkmap-symver.awk.
8510 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
8511 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
8512 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
8513 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
8514 to mkmap-flat.awk.
8515 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
8516 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
8517 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
8518 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
8519 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
8520 * config/i386/libgcc-darwin.10.4.ver,
8521 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
8522 New files.
8523 * config/i386/t-darwin: Remove.
8524 * config/i386/t-darwin64: Likewise.
8525 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
8526 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
8527 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
8528 * config/i386/t-linux: New file.
8529 * config/i386/t-mingw32: New file.
8530 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
8531 * config/ia64/t-glibc: Rename to ...
8532 * config/ia64/t-linux: ... this.
8533 (SHLIB_MAPFILES): Set.
8534 * config/ia64/t-glibc-libunwind: Rename to ...
8535 * config/ia64/t-linux-libunwind: ... this.
8536 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
8537 * config/ia64/t-slibgcc-hpux: New file.
8538 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
8539 * config/m68k/t-slibgcc-elf-ver: New file.
8540 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
8541 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
8542 to mkmap-flat.awk.
8543 * config/pa/t-slibgcc-hpux: New file.
8544 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
8545 files.
8546 * config/rs6000/libgcc-darwin.10.4.ver,
8547 config/rs6000/libgcc-darwin.10.5.ver: New files.
8548 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
8549 config/rs6000/libgcc-glibc.ver.
8550 * config/rs6000/libgcc-ppc64.ver: Rename to
8551 config/rs6000/libgcc-ibm-ldouble.ver.
8552 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
8553 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
8554 * config/rs6000/t-ldbl128: Rename to ...
8555 * config/rs6000/t-linux: ... this.
8556 (SHLIB_MAPFILES): Adapt filename.
8557 * config/rs6000/t-slibgcc-aix: New file.
8558 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
8559 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
8560 libgcc-excl.ver, libgcc-glibc.ver.
8561 (SHLIB_LINK, SHLIB_INSTALL): Remove.
8562 * config/sparc/libgcc-glibc.ver: New file.
8563 * config/sparc/t-linux: New file.
8564 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
8565 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
8566 t-slibgcc-elf-ver to tmake_file.
8567 Add t-slibgcc-nolc-override to tmake_file for posix threads on
8568 *-*-freebsd[34].
8569 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
8570 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
8571 t-slibgcc-elf-ver, t-linux to tmake_file.
8572 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
8573 tmake_file.
8574 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
8575 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
8576 (alpha*-dec-*vms*): Likewise.
8577 (arm*-*-freebsd*): Append to tmake_file.
8578 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
8579 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
8580 arm*-*-linux-*eabi.
8581 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
8582 tmake_file for arm*-*-symbianelf*.
8583 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
8584 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
8585 cris/t-linux.
8586 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
8587 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
8588 pa/t-slibgcc-dwarf-ver to tmake_file.
8589 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
8590 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
8591 (hppa*64*-*-hpux11*): Likewise.
8592 (hppa[12]*-*-hpux11*): Likewise.
8593 (x86_64-*-darwin*): Don't override tmake_file, but only keep
8594 i386/t-crtpc, i386/t-crtfm.
8595 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
8596 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
8597 to tmake_file.
8598 Add i386/t-cygwin to tmake_file.
8599 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
8600 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
8601 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
8602 to tmake_file.
8603 Add i386/t-mingw32 to tmake_file.
8604 (x86_64-*-mingw*): Likewise.
8605 (ia64*-*-freebsd*): Append to tmake_file.
8606 (ia64*-*-linux*): Append to tmake_file.
8607 Replace ia64/t-glibc by ia64/t-linux.
8608 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
8609 system libunwind.
8610 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
8611 t-slibgcc-hpux to tmake_file.
8612 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
8613 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
8614 (m32rle-*-linux*): Likewise.
8615 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
8616 sjlj exceptions.
8617 (microblaze*-linux*): New case.
8618 Append to tmake_file, add t-slibgcc-nolc-override.
8619 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
8620 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
8621 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
8622 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
8623 rs6000/t-slibgcc-aix to tmake_file.
8624 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8625 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8626 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
8627 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
8628 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
8629 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
8630 sh*-*-linux*.
8631 (sparc-*-linux*): Append to tmake_file for *-leon*.
8632 Add sparc/t-linux to tmake_file for non-Leon targets.
8633 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
8634 (tic6x-*-uclinux): New case.
8635 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
8636 (tic6x-*-*): Add c6x/t-elf to tmake_file.
8637 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
8638 (am33_2.0-*-linux*): Append to tmake_file.
8639 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
8640 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
8641 x86_64-*-kfreebsd*-gnu.
8642 Add i386/t-linux to tmake_file.
8643
8644 2011-10-28 Ian Lance Taylor <iant@google.com>
8645
8646 * config/i386/morestack.S: Correct CFI information to do proper
8647 returns throughout function. In 32-bit mode, save %ebx so that it
8648 is restored on unwind.
8649
8650 2011-10-25 Bernd Schmidt <bernds@codesourcery.com>
8651
8652 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
8653 case where B3 isn't the return register.
8654
8655 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
8656 logic for doubleword pops.
8657
8658 2011-10-25 Andreas Tobler <andreast@fgznet.ch>
8659
8660 * config/rs6000/t-freebsd: Add wildcard.
8661
8662 2011-10-21 Paul Brook <paul@codesourcery.com>
8663
8664 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
8665
8666 2011-10-16 Uros Bizjak <ubizjak@gmail.com>
8667 Eric Botcazou <ebotcazou@adacore.com>
8668
8669 PR target/50737
8670 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
8671 fs->signal_frame to 1.
8672
8673 2011-10-07 Ian Lance Taylor <iant@google.com>
8674
8675 * generic-morestack-thread.c: #include <errno.h>.
8676
8677 2011-10-07 Ian Lance Taylor <iant@google.com>
8678
8679 PR target/46093
8680 * generic-morestack.c (__generic_morestack): Make sure the segment
8681 is large enough for both the stack frame and the copied
8682 parameters.
8683
8684 2011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8685
8686 PR bootstrap/49804
8687 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
8688 extra_parts.
8689
8690 2011-09-28 Nick Clifton <nickc@redhat.com>
8691
8692 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
8693 64-bit doubles are not enabled.
8694 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
8695 and floatunsisf functions.
8696
8697 2011-09-13 Paul Brook <paul@codesourcery.com>
8698
8699 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
8700 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
8701 * unwind-arm-common.inc: New file.
8702 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
8703 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
8704 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
8705 * config/c6x/libunwind.S: New file.
8706 * config/c6x/pr-support.c: New file.
8707 * config/c6x/unwind-c6x.c: New file.
8708 * config/c6x/unwind-c6x.h: New file.
8709 * config/c6x/t-c6x-elf: New file.
8710
8711 2011-08-23 Uros Bizjak <ubizjak@gmail.com>
8712
8713 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
8714 (ASM_DIVZERO): Ditto.
8715 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
8716
8717 2011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
8718
8719 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
8720
8721 2011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
8722
8723 PR target/50090
8724 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
8725 instead of an assembly one.
8726
8727 2011-08-12 Paolo Bonzini <bonzini@gnu.org>
8728
8729 PR bootstrap/50047
8730 * Makefile.in (install-unwind_h): Create
8731 $(gcc_objdir)/include/unwind.h atomically.
8732
8733 2011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8734
8735 * Makefile.in (install-unwind_h): Remove destination file first.
8736
8737 2011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8738
8739 * sync.c: New file.
8740 * config/mips/t-mips16: New file.
8741 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
8742 (mips*-*-linux*): Likewise.
8743 (mips*-sde-elf*): Likewise.
8744 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
8745 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
8746 Add mips/t-mips16 to tmake_file.
8747 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
8748 (mips-*-elf*): Likewise.
8749 (mips64-*-elf*): Likewise.
8750 (mips64orion-*-elf*): Likewise.
8751 (mips*-*-rtems*): Likewise.
8752 (mipstx39-*-elf*): Likewise.
8753 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
8754 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
8755 LIBGCC_SYNC_CFLAGS.
8756 Use $(srcdir) to refer to sync.c.
8757 Use $<.
8758 ($(libgcc-sync-funcs-o)): Likewise.
8759 ($(libgcc-sync-size-funcs-s-o)): Likewise.
8760 ($(libgcc-sync-funcs-s-o)): Likewise.
8761
8762 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
8763
8764 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
8765 t-libunwind.
8766
8767 2011-08-08 H.J. Lu <hongjiu.lu@intel.com>
8768
8769 PR other/48007
8770 * config/i386/value-unwind.h: New.
8771
8772 2011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
8773
8774 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
8775 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
8776 Add to tmake_file rather than overriding it.
8777
8778 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8779
8780 * config/t-softfp: Remove.
8781 * soft-fp: Moved from ../gcc/config.
8782 * soft-fp/README: Remove t-softfp reference.
8783 * soft-fp/t-softfp: Move to config/t-softfp.
8784 (softfp_machine_header): Remove.
8785 (softfp_file_list): Remove config subdir.
8786 (soft-fp-objects): New variable.
8787 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
8788 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
8789 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
8790 * config/t-softfp-excl: New file.
8791 * config/t-softfp-sfdf: New file.
8792 * config/t-softfp-tf: New file.
8793 * config/no-sfp-machine.h: New file.
8794 * config/arm/sfp-machine.h: New file.
8795 * config/arm/t-softfp: New file.
8796 * config/c6x/sfp-machine.h: New file.
8797 * config/i386/32/t-fprules-softfp: Rename to ...
8798 * config/i386/32/t-softfp: ... this.
8799 (tifunctions, LIB2ADD): Remove.
8800 (softfp_int_modes): Override.
8801 * config/i386/64/t-softfp-compat (tf-functions): Remove config
8802 subdir.
8803 * config/i386/64/eqtf2.c: Likewise.
8804 * config/i386/64/getf2.c: Likewise.
8805 * config/i386/64/letf2.c: Likewise.
8806 * config/ia64/sft-machine.h: New file.
8807 * config/ia64/t-fprules-softfp: Rename to ...
8808 * config/ia64/t-softfp: ... this.
8809 * config/lm32/sfp-machine.h: New file.
8810 * config/moxie/t-moxie-softfp: Remove.
8811 * config/rs6000/ibm-ldouble-format: New file.
8812 * config/rs6000/ibm-ldouble.c: New file.
8813 * config/rs6000/libgcc-ppc-glibc.ver: New file
8814 * config/rs6000/libgcc-ppc64.ver: New file
8815 * config/rs6000/sfp-machine.h: New file.
8816 * config/rs6000/t-freebsd: New file.
8817 * config/rs6000/t-ibm-ldouble: New file.
8818 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
8819 libgcc-ppc-glibc.ver.
8820 * config/rs6000/t-linux64: New file.
8821 * config/rs6000/t-ppccomm (LIB2ADD): Add
8822 $(srcdir)/config/rs6000/ibm-ldouble.c.
8823 * config/rs6000/t-ppccomm-ldbl: New file.
8824 * config/score/sfp-machine.h: New file.
8825 * config.host (sfp_machine_header): Explain.
8826 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
8827 t-softfp to tmake_file.
8828 (arm*-*-uclinux*): Likewise.
8829 (arm*-*-ecos-elf): Likewise.
8830 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
8831 (arm*-*-rtems*): Likewise.
8832 (arm*-*-elf): Likewise.
8833 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
8834 in tmake_file.
8835 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
8836 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
8837 (lm32-*-uclinux*): Likewise.
8838 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
8839 t-softfp-excl, t-softfp.
8840 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
8841 (powerpc64-*-darwin*): Likewise.
8842 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
8843 to tmake_file.
8844 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
8845 tmake_file.
8846 (powerpc-*-eabisim*): Likewise.
8847 (powerpc-*-elf*): Likewise.
8848 (powerpc-*-eabialtivec*): Likewise.
8849 (powerpc-xilinx-eabi*): Likewise.
8850 (powerpc-*-rtems*): Likewise.
8851 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
8852 t-softfp-excl, t-softfp to tmake_file.
8853 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
8854 rs6000/t-ppccomm-ldbl to tmake_file.
8855 (powerpcle-*-elf*): Likewise.
8856 (powerpcle-*-eabisim*): Likewise.
8857 (powerpcle-*-eabi*): Likewise.
8858 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
8859 rs6000/t-ibm-ldouble to tmake_file.
8860 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8861 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8862 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
8863 (tic6x-*-*): Likewise.
8864 (i[34567]86-*-darwin*, x86_64-*-darwin*,
8865 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
8866 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
8867 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
8868 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
8869 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
8870 t-softfp to tmake_file.
8871 * configure.ac (sfp_machine_header): Provide default if unset.
8872 Substitute.
8873 Link sfp-machine.h to config/$sfp_machine_header.
8874 * configure: Regenerate.
8875
8876 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8877
8878 * Makefile.in (double_type_size, long_double_type_size): Set.
8879 Remove $(fpbit-in-libgcc) support.
8880 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
8881 (fpbit-src): New variable.
8882 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
8883 Compile with -DFLOAT $(FPBIT_CFLAGS).
8884 Use $<.
8885 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
8886 Compile with $(FPBIT_CFLAGS).
8887 Use $<.
8888 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
8889 Compile with -DFLOAT $(TPBIT_CFLAGS).
8890 Use $<.
8891 * configure.ac (double_type_size, long_double_type_size):
8892 Determine and substitute.
8893 * configure: Regenerate.
8894 * fp-bit.c, fp-bit.h: New files.
8895 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
8896 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
8897 * config/mips/t-mips: New file.
8898 * config/mips/t-sdemtk: New file.
8899 * config/rs6000/ppc64-fp.c: New file.
8900 * config/rs6000/t-darwin (LIB2ADD): Add
8901 $(srcdir)/config/rs6000/ppc64-fp.c.
8902 * config/rs6000/t-ppc64-fp: New file.
8903 * config/rx/rx-lib.h: New file.
8904 * config/rx/t-rx (FPBIT): Set to true.
8905 ($(gcc_objdir)/fp-bit.c): Remove.
8906 (DPBIT): Set to true only with -m64bit-doubles.
8907 ($(gcc_objdir)/dp-bit.c): Remove.
8908 * config/sparc/t-softfp: Remove.
8909 * config/spu/t-elf: New file.
8910 * config/t-fdpbit, config/t-fpbit: New files.
8911 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
8912 (mips*-*-*): Likewise.
8913 (arm-wrs-vxworks): Likewise.
8914 (arm*-*-freebsd*): Likewise.
8915 (avr-*-rtems*): Add t-fpbit to tmake_file.
8916 (avr-*-*): Likewise.
8917 (bfin*-elf*): Add t-fdpbit to tmake_file.
8918 (bfin*-uclinux*): Likewise.
8919 (bfin*-linux-uclibc*): Likewise.
8920 (bfin*-rtems*): New case.
8921 Add t-fdpbit to tmake_file.
8922 (bfin*-*): Add t-fdpbit to tmake_file.
8923 (crisv32-*-elf): Likewise.
8924 (cris-*-linux*): Likewise.
8925 (fr30-*-elf): Likewise.
8926 (frv-*-elf, frv-*-*linux*): Likewise.
8927 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
8928 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
8929 (m32r-*-elf*): Likewise.
8930 (m32rle-*-elf*): Likewise.
8931 (m32r-*-linux*): Likewise.
8932 (m32rle-*-linux*): Likewise.
8933 (mcore-*-elf): Add t-fdpbit to tmake_file.
8934 (microblaze*-*-*): Likewise.
8935 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
8936 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
8937 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
8938 Fix typo.
8939 Add mips/t-tpbit to tmake-file.
8940 (mips*-*-linux*): Fix typo.
8941 (mips*-sde-elf*): New case
8942 Add mips/t-sdemtk unless using newlib.
8943 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
8944 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
8945 (mn10300-*-*): Likewise.
8946 (pdp11-*-*): Likewise.
8947 (picochip-*-*): Add t-fpbit to tmake_file.
8948 (powerpc-*-eabisimaltivec*): Likewise.
8949 (powerpc-*-eabisim*): Likewise.
8950 (powerpc-*-elf*): Likewise.
8951 (powerpc-*-eabialtivec*): Likewise.
8952 (powerpc-xilinx-eabi*): New case.
8953 Add t-fdpbit to tmake_file.
8954 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
8955 (powerpc-*-rtems*): Likewise.
8956 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
8957 tmake_file.
8958 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
8959 tmake_file.
8960 (powerpc-*-lynxos*): Likewise.
8961 (powerpcle-*-elf*): Likewise.
8962 (powerpcle-*-eabisim*): Likewise.
8963 (powerpcle-*-eabi*): Likewise.
8964 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
8965 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
8966 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8967 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8968 (rx-*-elf): Add t-fdpbit to tmake_file.
8969 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
8970 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
8971 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
8972 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
8973 sh*-*-netbsd*.
8974 (sh-*-rtems*): Add t-fdpbit to tmake_file.
8975 (sh-wrs-vxworks): Likewise.
8976 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
8977 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
8978 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
8979 (sparc64-*-rtems*): ... new case.
8980 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
8981 (spu-*-elf*): Likewise.
8982 Add spu/t-elf to tmake_file.
8983 (v850*-*-*): Add t-fdpbit to tmake_file.
8984 (xstormy16-*-elf): Likewise.
8985 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
8986 (mep*-*-*): Likewise.
8987
8988 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8989
8990 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
8991 variables.
8992 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
8993 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
8994 (install-unwind_h): New target.
8995 (all): Depend on it.
8996 * config.host (unwind_header): New variable.
8997 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
8998 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
8999 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
9000 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
9001 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
9002 Set unwind_header.
9003 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
9004 Set unwind_header.
9005 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
9006 arm*-*-eabi*.
9007 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
9008 Set unwind_header.
9009 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
9010 (ia64*-*-freebsd*): Likewise.
9011 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
9012 tmake_file.
9013 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
9014 $with_system_libunwind.
9015 (ia64*-*-hpux*): Set tmake_file.
9016 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
9017 (picochip-*-*): Set tmake_file.
9018 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
9019 md_unwind_header.
9020 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
9021 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
9022 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
9023 (xtensa*-*-elf*): Set tmake_file.
9024 (xtensa*-*-linux*): Likewise.
9025 * configure.ac: Include ../config/unwind_ipinfo.m4.
9026 Call GCC_CHECK_UNWIND_GETIPINFO.
9027 Link unwind.h to $unwind_header.
9028 * configure: Regenerate.
9029 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
9030 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
9031 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
9032 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
9033 * config/unwind-dw2-fde-darwin.c: New file.
9034 * config/arm/libunwind.S, config/arm/pr-support.c,
9035 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
9036 config/arm/unwind-arm.h,: New files.
9037 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
9038 config/ia64/t-eh-ia64, config/ia64/t-glibc,
9039 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
9040 config/ia64/t-vms, config/ia64/unwind-ia64.c,
9041 config/ia64/unwind-ia64.h: New files.
9042 * config/picochip/t-picochip: New file.
9043 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
9044 files.
9045 * config/rs6000/t-darwin (LIB2ADDEH): Set.
9046 * config/s390/t-tpf (LIB2ADDEH): Remove.
9047 * config/t-darwin (LIB2ADDEH): Set.
9048 * config/t-eh-dw2-dip: New file.
9049 * config/t-libunwind, config/t-libunwind-elf: New files.
9050 * config/t-sol2 (LIB2ADDEH): Remove.
9051 * config/xtensa/t-xtensa: New file.
9052
9053 2011-08-02 H.J. Lu <hongjiu.lu@intel.com>
9054
9055 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
9056 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
9057 long long to check rt_sigreturn syscall.
9058
9059 2011-08-02 Alan Modra <amodra@gmail.com>
9060
9061 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
9062 Restore for indirect call bcrtl from correct stack slot, and only
9063 if cfa+40 isn't valid.
9064
9065 2011-08-01 Julian Brown <julian@codesourcery.com>
9066
9067 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
9068 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
9069 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
9070
9071 2011-08-01 Julian Brown <julian@codesourcery.com>
9072
9073 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
9074 (libgcc-std.ver.in): Use above.
9075 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
9076 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
9077 throughout file.
9078 * config/t-fixedpoint-gnu-prefix: New file.
9079 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
9080 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
9081 instead of __PFX__.
9082
9083 2011-07-28 H.J. Lu <hongjiu.lu@intel.com>
9084
9085 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
9086 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
9087 for x86-64. Properly check __x86_64__ and __LP64__.
9088
9089 2010-07-28 H.J. Lu <hongjiu.lu@intel.com>
9090
9091 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
9092 version.
9093 (_FP_WS_TYPE): Likewise.
9094 (_FP_I_TYPE): Likewise.
9095
9096 2011-07-28 Alan Modra <amodra@gmail.com>
9097
9098 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
9099 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
9100 in a plt call stub. Do restore r2 if stopped on bctrl.
9101
9102 2011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9103
9104 * config.host (i[3456x]86-*-netware*): Remove.
9105 * config/i386/netware-crt0.c, config/i386/t-nwld,
9106 config/i386/t-slibgcc-nwld: Remove.
9107
9108 2011-07-15 Bernd Schmidt <bernds@codesourcery.com>
9109
9110 * config.host: Handle tic6x-*-*.
9111 * config/c6x/c6x-abi.h: New file.
9112
9113 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9114
9115 * config/i386/crtprec.c: New file.
9116 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
9117 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
9118 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
9119 (x86_64-*-darwin*): Likewise.
9120 (i[34567]86-*-solaris2*: Likewise.
9121
9122 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9123
9124 * config/alpha/crtfastmath.c: New file.
9125 * config/i386/crtfastmath.c: New file.
9126 * config/ia64/crtfastmath.c: New file.
9127 * config/mips/crtfastmath.c: New file.
9128 * config/sparc/crtfastmath.c: New file.
9129
9130 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
9131 crtfastmath.c.
9132 Add -frandom-seed=gcc-crtfastmath.
9133 * config/alpha/t-crtfm: Remove.
9134 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
9135 * config/ia64/t-ia64 (crtfastmath.o): Remove.
9136
9137 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
9138 (alpha*-dec-osf5.1*): Likewise.
9139 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
9140 Add crtfastmath.o to extra_parts.
9141 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
9142 Add crtfastmath.o to extra_parts.
9143 (x86_64-*-darwin*): Likewise.
9144 (x86_64-*-mingw*): Likewise.
9145 (ia64*-*-elf*): Add t-crtfm to tmake_file.
9146 (ia64*-*-freebsd*): Likewise.
9147 (ia64*-*-linux*): Likewise.
9148 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
9149 Add crtfastmath.o to extra_parts.
9150
9151 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9152
9153 * config/darwin-crt3.o: New file.
9154 * config/rs6000/darwin-crt2.c: New file.
9155 * config/t-darwin: New file.
9156 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
9157 (crt2.o): New rule.
9158 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
9159 (powerpc-*-darwin*): Add crt2.o to extra_parts.
9160 (powerpc64-*-darwin*): Likewise.
9161
9162 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9163
9164 * config/i386/netware-crt0.c: New file.
9165 * config/i386/t-nwld: Rename to ...
9166 * config/i386/t-slibgcc-nwld: ... this.
9167 * config/i386/t-nwld: New file.
9168 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
9169 tmake_file.
9170 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
9171 extra_parts.
9172
9173 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9174
9175 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
9176 i386/t-crtstuff.
9177 * configure: Regenerate.
9178
9179 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9180
9181 * dfp-bit.c, dfp-bit.h: New files.
9182 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
9183 variables.
9184 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
9185 ($(d64pbit-o)): Likewise.
9186 ($(d128pbit-o)): Likewise.
9187 * config/t-dfprules: New file.
9188 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
9189 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
9190 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
9191 (x86_64-*-linux*): Likewise.
9192 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
9193 (i[34567]86-*-cygwin*): Likewise.
9194 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
9195 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
9196
9197 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9198
9199 * Makfile.in (LIBGCOV): New variable.
9200 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
9201 * libgcov.c: New file.
9202
9203 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9204
9205 * fixed-bit.c, fixed-bit.h: New files.
9206 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
9207 refer to fixed-bit.c.
9208
9209 2011-07-07 Joseph Myers <joseph@codesourcery.com>
9210
9211 * config.host (*local*): Remove.
9212
9213 2011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9214
9215 PR target/39150
9216 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
9217 like i?86-*-solaris2.1[0-9]*.
9218 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
9219 * configure.ac (i?86-*-solaris2*): Likewise.
9220 * configure: Regenerate.
9221
9222 2011-07-06 Thomas Schwinge <thomas@schwinge.name>
9223
9224 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
9225 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
9226 md_unwind_header by splitting out of...
9227 (i[34567]86-*-linux*): ... this.
9228 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
9229 Remove md_unwind_header by splitting out of...
9230 (x86_64-*-linux*): ... this.
9231
9232 2011-07-04 Georg-Johann Lay <avr@gjlay.de>
9233
9234 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
9235
9236 2011-06-28 Nick Clifton <nickc@redhat.com>
9237
9238 * config.host: Recognize all V850 variants.
9239
9240 2011-06-22 Uros Bizjak <ubizjak@gmail.com>
9241
9242 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
9243
9244 2011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9245
9246 * shared-object.mk (c_flags-$o): Save c_flags.
9247 ($(base)$(objext)): Use it.
9248 ($(base)_s$(objext)): Likewise.
9249
9250 2011-06-21 Bernd Schmidt <bernds@codesourcery.com>
9251
9252 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
9253 * libgcc-std.ver.in (GCC_4.7.0): New section.
9254
9255 2011-06-16 Georg-Johann Lay <avr@gjlay.de>
9256
9257 PR target/49313
9258 PR target/29524
9259 * config/avr/t-avr: Fix line endings.
9260 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
9261 _parityXX2.
9262
9263 2011-06-14 Olivier Hainque <hainque@adacore.com>
9264 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9265
9266 * config/mips/irix6-unwind.h: New file.
9267 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
9268
9269 2011-06-10 Eric Botcazou <ebotcazou@adacore.com>
9270
9271 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
9272 (sparc64_fallback_frame_state): Use it.
9273 (sparc64_frob_update_context): Further adjust context.
9274 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
9275 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
9276 * config/sparc/sol2-cn.S: Likewise.
9277
9278 2011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9279
9280 * enable-execute-stack-empty.c: New file.
9281 * enable-execute-stack-mprotect.c: New file.
9282 * config/i386/enable-execute-stack-mingw32.c: New file.
9283 * config.host (enable_execute_stack): New variable.
9284 Select appropriate variants.
9285 * configure.ac: Link enable-execute-stack.c to
9286 $enable_execute_stack.
9287 * configure: Regenerate.
9288 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
9289 (lib2funcs): Remove _enable_execute_stack.
9290
9291 2011-06-09 David S. Miller <davem@davemloft.net>
9292 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9293
9294 * config.host (sparc-*-linux*): Correct md_unwind_header
9295 filename.
9296 (s390x-ibm-tpf*): Fix typo.
9297
9298 2011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9299
9300 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
9301 Add crtfastmath.o to extra_parts.
9302 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
9303 mips/t-crtfm.
9304 * config/mips/t-crtfm: Remove.
9305
9306 2011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
9307
9308 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
9309
9310 2011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
9311
9312 * config.host (sh*-*-linux*): Fix typo.
9313
9314 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9315
9316 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
9317 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
9318 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
9319 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
9320 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
9321 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
9322 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
9323 Wrap in !__MINGW64__.
9324 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
9325 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
9326 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
9327 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
9328 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
9329 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
9330 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
9331 Wrap in !__LP64__.
9332 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
9333 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
9334 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
9335 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
9336 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
9337 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
9338 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
9339 * config/no-unwind.h: New file.
9340 * config.host (md_unwind_header): Document.
9341 Define.
9342 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
9343 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
9344 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
9345 hppa[12]*-*-hpux11*): Set md_unwind_header.
9346 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
9347 Set md_unwind_header.
9348 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
9349 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
9350 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
9351 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
9352 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
9353 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
9354 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
9355 md_unwind_header.
9356 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
9357 * configure: Regenerate.
9358
9359 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9360
9361 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
9362 Set tmake_file, extra_parts.
9363 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
9364 Remove O32 support.
9365 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
9366 Remove O32 support.
9367 * config/mips/t-irix6: New file.
9368 * config/mips/t-slibgcc-irix: New file.
9369
9370 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9371
9372 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
9373 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
9374
9375 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9376
9377 * configure.ac (target_thread_file): Determine thread model.
9378 * configure: Regenerate.
9379 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
9380 * config/alpha/t-alpha: New file.
9381 * config/alpha/t-crtfm: Use $<.
9382 * config/alpha/t-ieee: New file.
9383 * config/alpha/t-osf-pthread: New file.
9384 * config/alpha/t-slibgcc-osf: New file.
9385 * config/alpha/libgcc-osf5.ver: New file.
9386
9387 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9388
9389 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
9390 tmake_file.
9391 Add crtfastmath.o to extra_parts.
9392
9393 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9394
9395 * config/gmon-sol2.c: Reindent.
9396 Cleanup comments.
9397 Remove, correct casts.
9398 Use STDERR_FILENO, NULL.
9399 (BASEADDRESS): Remove.
9400 (minbrk): Remove.
9401 (errno, sbrk): Remove declarations.
9402 (monstartup) [hp300]: Remove.
9403 (mcount): Remove.
9404
9405 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9406
9407 * Makefile.in (cpu_type): Define.
9408 * config.host (i[34567]86-*-rtems*): Handle it.
9409 (i[34567]86-*-solaris2*): Move body ...
9410 (*-*-solaris2*): ... here.
9411 New case, generalize.
9412 (sparc-*-elf*): Handle it.
9413 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
9414 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
9415 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
9416 Fold into ...
9417 (sparc*-*-solaris2*): ... this.
9418 New case.
9419 (sparc64-*-elf*): Handle it.
9420 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
9421 Merge ../gcc/config/i386/gmon-sol2.c.
9422 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
9423 Use C comments.
9424 Merge ../gcc/config/i386/sol2-gc1.asm.
9425 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
9426 Use C comments.
9427 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
9428 Use C comments.
9429 * config/i386/t-crtfm (crtfastmath.o): Use $<.
9430 * config/i386/t-crtstuff: New file.
9431 * config/i386/t-softfp: New file.
9432 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
9433 $(T)crti.o, $(T)crtn.o): Remove.
9434 (gcrt1.o): New rule.
9435 (TARGET_LIBGCC2_CFLAGS): Remove.
9436 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
9437 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
9438 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
9439 * config/sparc/t-sol2: New file.
9440 * config/sparc/t-crtfm: Move to ...
9441 * config/t-crtfm: ... this.
9442 Use $(cpu_type), $<.
9443 * config/t-crtin: New file.
9444 * config/sparc/t-softfp: New file.
9445 * config/sparc/t-softmul: New file.
9446 * config/t-rtems: New file.
9447 * config/t-slibgcc: New file.
9448 * config/t-slibgcc-elf-ver: New file.
9449 * config/t-slibgcc-gld: New file.
9450 * config/t-slibgcc-sld: New file.
9451 * config/t-sol2: New file.
9452 * configure.ac: Include ../config/lib-ld.m4.
9453 Call AC_LIB_PROG_LD_GNU.
9454 Substitute cpu_type.
9455 * configure: Regenerate.
9456
9457 2011-05-27 Bernd Schmidt <bernds@codesourcery.com>
9458
9459 PR bootstrap/49173
9460 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
9461 libgcc-std.ver in the build directory.
9462 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
9463 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
9464
9465 2011-05-25 Bernd Schmidt <bernds@codesourcery.com>
9466
9467 * libgcc-std.ver.in: New file.
9468 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
9469 variables.
9470 (libgcc-std.ver): New rule.
9471 * config/t-gnu-prefix: New file.
9472
9473 2011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9474
9475 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
9476
9477 2011-05-10 Joseph Myers <joseph@codesourcery.com>
9478
9479 * config/i386/darwin-lib.h: New file.
9480
9481 2011-05-10 Joseph Myers <joseph@codesourcery.com>
9482
9483 * config/arm/symbian-lib.h: New.
9484
9485 2011-05-04 Chris Demetriou <cgd@google.com>
9486
9487 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
9488 (__x86.get_pc_thunk.bx): ...this.
9489 (__morestack): Adjust for rename, remove undef of __i686.
9490
9491 2011-05-03 Chris Demetriou <cgd@google.com>
9492
9493 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
9494
9495 2011-03-22 Joseph Myers <joseph@codesourcery.com>
9496
9497 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
9498 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
9499 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
9500 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
9501 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
9502 Remove cases.
9503
9504 2011-03-14 Andreas Tobler <andreast@fgznet.ch>
9505
9506 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
9507 Adjust copyright year.
9508
9509 2011-03-07 Ian Lance Taylor <iant@google.com>
9510
9511 * generic-morestack.c (__splitstack_find): Adjust returned stack
9512 pointer to include all registers pushed by __morestack.
9513
9514 2011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
9515
9516 PR target/40125
9517 * configure.ac: Call ACX_NONCANONICAL_TARGET.
9518 (toolexecdir): Calculate and AC_SUBST.
9519 (toolexeclibdir): Likewise.
9520 * Makefile.in (target_noncanonical): Import.
9521 (toolexecdir): Likewise.
9522 (toolexeclibdir): Likewise.
9523 * configure: Regenerate.
9524
9525 2010-12-13 Nathan Froyd <froydnj@codesourcery.com>
9526
9527 PR target/46040
9528 * config/arm/bpabi.h: Rename to...
9529 * config/arm/bpabi-lib.h: ...this.
9530
9531 2010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9532
9533 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
9534 appropriate.
9535 * configure: Regenerate.
9536
9537 2010-11-24 Nathan Froyd <froydnj@codesourcery.com>
9538
9539 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
9540 __FLOAT_WORD_ORDER__.
9541 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
9542 Delete.
9543
9544 2010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9545
9546 PR other/46202
9547 * Makefile.in (install-strip): New phony target.
9548
9549 2010-11-07 Ian Lance Taylor <iant@google.com>
9550
9551 PR target/46089
9552 * config/i386/morestack.S (__morestack_large_model): New
9553 function.
9554
9555 2010-10-23 Nathan Froyd <froydnj@codesourcery.com>
9556
9557 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
9558 Delete.
9559 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
9560
9561 2010-10-14 Nathan Froyd <froydnj@codesourcery.com>
9562
9563 * config/arm/bpabi.h: New file.
9564 * config/frv/frv-abi.h: New file.
9565
9566 2010-10-01 Ian Lance Taylor <iant@google.com>
9567
9568 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
9569 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
9570
9571 2010-10-01 H.J. Lu <hongjiu.lu@intel.com>
9572
9573 PR target/45858
9574 * config.host: Add the missing `$'.
9575
9576 2010-09-30 Michael Eager <eager@eagercon.com>
9577
9578 * config.host: Add microblaze*-*-*.
9579 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
9580 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
9581 udivsi3.asm,umodsi3.asm}: New.
9582
9583 2010-09-28 Ian Lance Taylor <iant@google.com>
9584
9585 * configure.ac: Adjust CFI test to test assembler directly rather
9586 than checking gcc preprocessor macro.
9587 * configure: Rebuild.
9588
9589 2010-09-27 Ian Lance Taylor <iant@google.com>
9590
9591 * configure.ac: Test whether assembler supports CFI directives.
9592 * config.host: Only add t-stack and i386/t-stack-i386 to
9593 tmake_file if libgcc_cv_cfi is "yes".
9594 * configure: Rebuild.
9595
9596 2010-09-27 Ian Lance Taylor <iant@google.com>
9597
9598 * generic-morestack.h: New file.
9599 * generic-morestack.c: New file.
9600 * generic-morestack-thread.c: New file.
9601 * config/i386/morestack.S: New file.
9602 * config/t-stack: New file.
9603 * config/i386/t-stack-i386: New file.
9604 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
9605 i386/t-stack-i386 to tmake_file.
9606
9607 2010-09-21 Iain Sandoe <iains@gcc.gnu.org>
9608
9609 * Makefile.in (libgcc-extra-parts): Check for static archives and
9610 invoke ranlib after installing them.
9611 (gcc-extra-parts): Likewise.
9612 (install-leaf): Likewise.
9613
9614 2010-09-14 H.J. Lu <hongjiu.lu@intel.com>
9615
9616 * configure: Regenerated.
9617
9618 2010-09-10 Kai Tietz <kai.tietz@onevision.com>
9619
9620 * configure: Regenerated.
9621
9622 2010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
9623 Andrew Pinski <pinskia@gmail.com>
9624
9625 PR target/40959
9626 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
9627
9628 2010-09-06 H.J. Lu <hongjiu.lu@intel.com>
9629
9630 PR target/45524
9631 * configure: Regenerated.
9632
9633 2010-09-06 Andreas Schwab <schwab@redhat.com>
9634
9635 * configure: Regenerate.
9636
9637 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
9638
9639 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
9640 64bit targets.
9641 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
9642 for 64bit targets.
9643
9644 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
9645 Iain Sandoe <iains@gcc.gnu.org>
9646
9647 PR target/45476
9648 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
9649 LIB2FUNCS_EXCLUDE functions.
9650
9651 2010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9652
9653 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
9654 Include dfp.m4.
9655 * configure: Regenerate.
9656
9657 2010-09-01 Uros Bizjak <ubizjak@gmail.com>
9658
9659 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
9660 i386/t-freebsd to tmake_file.
9661 * config/i386/t-freebsd: New file.
9662 * config/i386/libgcc-bsd.ver: New file.
9663
9664 2010-07-23 Nathan Froyd <froydnj@codesourcery.com>
9665
9666 * config.host (powerpc*-eabispe*): Set tmake_file.
9667 (powerpc*-eabi*): Likewise.
9668 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
9669 crtbeginS, crtendS, crtbeginT.
9670
9671 2010-06-12 Kazu Hirata <kazu@codesourcery.com>
9672
9673 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
9674 to tmake_file. Add crtfastmath.o to extra_parts.
9675 * config/mips/t-crtfm: New.
9676
9677 2010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
9678
9679 * config.host (sparc64-*-rtems*): New target.
9680
9681 2010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9682
9683 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
9684 assembler syntax.
9685
9686 2010-04-15 Thomas Schwinge <tschwinge@gnu.org>
9687
9688 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
9689
9690 2010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9691
9692 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
9693 alpha-dec-osf5.0* support.
9694
9695 2010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
9696
9697 * config.host: Add lm32-*-rtems*.
9698
9699 2010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9700 Uros Bizjak <ubizjak@gmail.com>
9701
9702 PR target/39048
9703 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
9704 like other remaining 32-bit x86 OSes.
9705 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
9706 assembler syntax.
9707 * config/i386/libgcc-sol2.ver: New file.
9708 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
9709
9710 2010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
9711
9712 PR c/43553
9713 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
9714 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
9715 is used and substitute set_use_emutls.
9716 * configure: Regenerated.
9717
9718 2010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
9719
9720 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
9721
9722 2010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9723
9724 PR target/38085
9725 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
9726 MULTILIB_CFLAGS.
9727 ($(T)gcrt1.o): Likewise.
9728 ($(T)crt1.o): Likewise.
9729 ($(T)crti.o): Likewise.
9730 ($(T)crtn.o): Likewise.
9731
9732 2010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9733
9734 PR other/42980
9735 * Makefile.in (install): Use $(MAKE) string in rule, for
9736 parallel make.
9737
9738 2010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
9739
9740 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
9741 * config/mmix/t-mmix: New file.
9742 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
9743
9744 2010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
9745
9746 PR java/41991
9747 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
9748 SHLIB_MAPFILES.
9749
9750 2010-01-04 Anthony Green <green@moxielogic.com>
9751
9752 * config/moxie/crti.asm, config/moxie/crtn.asm,
9753 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
9754 config/moxie/t-moxie: New files.
9755 * config.host: Add t-moxie-softfp reference.
9756
9757 2009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
9758
9759 PR other/39888
9760 * config/t-slibgcc-darwin: Fix embedded rpaths for
9761 --enable-version-specific-runtime-libs, build extension stub
9762 libs exposing features available from current libgcc_s.
9763
9764 2009-11-11 Jon Beniston <jon@beniston.com>
9765
9766 * config.host: Add lm32 targets.
9767 * config/lm32: New directory.
9768 * config/lm32/libgcc_lm32.h: New file.
9769 * config/lm32/_mulsi3.c: New file.
9770 * config/lm32/_udivmodsi4.c: New file.
9771 * config/lm32/_divsi3.c: New file.
9772 * config/lm32/_modsi3.c: New file.
9773 * config/lm32/_udivsi3.c: New file.
9774 * config/lm32/_umodsi3.c: New file.
9775 * config/lm32/_lshrsi3.S: New file.
9776 * config/lm32/_ashrsi3.S: New file.
9777 * config/lm32/_ashlsi3.S: New file.
9778 * config/lm32/crti.S: New file.
9779 * config/lm32/crtn.S: New file.
9780 * config/lm32/t-lm32: New file.
9781 * config/lm32/t-elf: New file.
9782 * config/lm32/t-uclinux: New file.
9783
9784 2009-10-26 Nick Clifton <nickc@redhat.com>
9785
9786 * config.host: Add support for RX target.
9787 * config/rx: New directory.
9788 * config/rx/rx-abi-functions.c: New file. Supplementary
9789 functions for libgcc to support the RX ABI.
9790 * config/rx/rx-abi.h: New file. Supplementary header file for
9791 libgcc RX ABI functions.
9792 * config/rx/t-rx: New file: Makefile fragment for building
9793 libgcc for the RX.
9794
9795 2009-10-09 Uros Bizjak <ubizjak@gmail.com>
9796
9797 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
9798 constraint of y0 to "g".
9799
9800 2009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9801
9802 * config.host: Include the s390 makefile fragments.
9803 * config/s390/32/_fixdfdi.c: New file.
9804 * config/s390/32/_fixsfdi.c: New file.
9805 * config/s390/32/_fixtfdi.c: New file.
9806 * config/s390/32/_fixunsdfdi.c: New file.
9807 * config/s390/32/_fixunssfdi.c: New file.
9808 * config/s390/32/_fixunstfdi.c: New file.
9809 * config/s390/32/t-floattodi: New file.
9810 * config/s390/libgcc-glibc.ver: New file.
9811 * config/s390/t-crtstuff: New file.
9812 * config/s390/t-linux: New file.
9813 * config/s390/t-tpf: New file.
9814
9815 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9816
9817 * configure.ac (AC_PREREQ): Bump to 2.64.
9818
9819 2009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
9820
9821 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
9822
9823 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9824
9825 * configure: Regenerate.
9826
9827 2009-08-09 Douglas B Rupp <rupp@gnat.com>
9828
9829 * config.host (ia64-hp-*vms*): New target.
9830 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
9831 with ia64-hp-*vms*.
9832
9833 2009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9834
9835 * configure.ac: Add snippet for maintainer-mode.
9836 * configure: Regenerate.
9837 * Makefile.in (AUTOCONF, configure_deps): New variables.
9838 ($(srcdir)/configure)): New rule, active only with maintainer
9839 mode turned on.
9840
9841 2009-06-23 DJ Delorie <dj@redhat.com>
9842
9843 Add MeP port.
9844 * config.host: Add mep support.
9845
9846 2009-06-22 Kai Tietz <kai.tietz@onevision.com>
9847
9848 * config.host: Add i386/${host_address}/t-fprules-softfp and
9849 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
9850
9851 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
9852 for mingw targets.
9853 * config/i386/64/_multc3.c: Likewise.
9854 * config/i386/64/_powitf2.c: Likewise.
9855 * config/i386/64/eqtf2.c: Likewise.
9856 * config/i386/64/getf2.c: Likewise.
9857 * config/i386/64/letf2.c: Likewise.
9858 * config/i386/64/letf2.c: Likewise.
9859 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
9860 unsigned long long for x64 mingw targets.
9861 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
9862 (_FP_I_TYPE): Define as long long for x64 mingw target.
9863
9864 2009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
9865
9866 * config.host (vax-*-linux*): New.
9867
9868 2009-05-31 Anthony Green <green@moxielogic.com>
9869
9870 * config.host: Add moxie support.
9871 * config/moxie/t-moxie: New file.
9872
9873 2009-05-29 David Billinghurst <billingd@gcc.gnu.org>
9874
9875 * config.host: Add i386/${host_address}/t-fprules-softfp and
9876 t-softfp to tmake_file for i[34567]86-*-cygwin*.
9877
9878 2009-04-17 Aurelien Jarno <aurelien@aurel32.net>
9879
9880 * config.host: Add i386/${host_address}/t-fprules-softfp to
9881 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
9882
9883 2009-04-09 Nick Clifton <nickc@redhat.com>
9884
9885 * config/ia64/tf-signs.c: Change copyright header to refer to
9886 version 3 of the GNU General Public License with version 3.1
9887 of the GCC Runtime Library Exception and to point readers at
9888 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
9889 web page.
9890 * config/i386/32/tf-signs.c: Likewise.
9891 * config/libbid/_addsub_dd.c: Likewise.
9892 * config/libbid/_addsub_sd.c: Likewise.
9893 * config/libbid/_addsub_td.c: Likewise.
9894 * config/libbid/_dd_to_df.c: Likewise.
9895 * config/libbid/_dd_to_di.c: Likewise.
9896 * config/libbid/_dd_to_sd.c: Likewise.
9897 * config/libbid/_dd_to_sf.c: Likewise.
9898 * config/libbid/_dd_to_si.c: Likewise.
9899 * config/libbid/_dd_to_td.c: Likewise.
9900 * config/libbid/_dd_to_tf.c: Likewise.
9901 * config/libbid/_dd_to_udi.c: Likewise.
9902 * config/libbid/_dd_to_usi.c: Likewise.
9903 * config/libbid/_dd_to_xf.c: Likewise.
9904 * config/libbid/_df_to_dd.c: Likewise.
9905 * config/libbid/_df_to_sd.c: Likewise.
9906 * config/libbid/_df_to_td.c: Likewise.
9907 * config/libbid/_di_to_dd.c: Likewise.
9908 * config/libbid/_di_to_sd.c: Likewise.
9909 * config/libbid/_di_to_td.c: Likewise.
9910 * config/libbid/_div_dd.c: Likewise.
9911 * config/libbid/_div_sd.c: Likewise.
9912 * config/libbid/_div_td.c: Likewise.
9913 * config/libbid/_eq_dd.c: Likewise.
9914 * config/libbid/_eq_sd.c: Likewise.
9915 * config/libbid/_eq_td.c: Likewise.
9916 * config/libbid/_ge_dd.c: Likewise.
9917 * config/libbid/_ge_sd.c: Likewise.
9918 * config/libbid/_ge_td.c: Likewise.
9919 * config/libbid/_gt_dd.c: Likewise.
9920 * config/libbid/_gt_sd.c: Likewise.
9921 * config/libbid/_gt_td.c: Likewise.
9922 * config/libbid/_isinfd128.c: Likewise.
9923 * config/libbid/_isinfd32.c: Likewise.
9924 * config/libbid/_isinfd64.c: Likewise.
9925 * config/libbid/_le_dd.c: Likewise.
9926 * config/libbid/_le_sd.c: Likewise.
9927 * config/libbid/_le_td.c: Likewise.
9928 * config/libbid/_lt_dd.c: Likewise.
9929 * config/libbid/_lt_sd.c: Likewise.
9930 * config/libbid/_lt_td.c: Likewise.
9931 * config/libbid/_mul_dd.c: Likewise.
9932 * config/libbid/_mul_sd.c: Likewise.
9933 * config/libbid/_mul_td.c: Likewise.
9934 * config/libbid/_ne_dd.c: Likewise.
9935 * config/libbid/_ne_sd.c: Likewise.
9936 * config/libbid/_ne_td.c: Likewise.
9937 * config/libbid/_sd_to_dd.c: Likewise.
9938 * config/libbid/_sd_to_df.c: Likewise.
9939 * config/libbid/_sd_to_di.c: Likewise.
9940 * config/libbid/_sd_to_sf.c: Likewise.
9941 * config/libbid/_sd_to_si.c: Likewise.
9942 * config/libbid/_sd_to_td.c: Likewise.
9943 * config/libbid/_sd_to_tf.c: Likewise.
9944 * config/libbid/_sd_to_udi.c: Likewise.
9945 * config/libbid/_sd_to_usi.c: Likewise.
9946 * config/libbid/_sd_to_xf.c: Likewise.
9947 * config/libbid/_sf_to_dd.c: Likewise.
9948 * config/libbid/_sf_to_sd.c: Likewise.
9949 * config/libbid/_sf_to_td.c: Likewise.
9950 * config/libbid/_si_to_dd.c: Likewise.
9951 * config/libbid/_si_to_sd.c: Likewise.
9952 * config/libbid/_si_to_td.c: Likewise.
9953 * config/libbid/_td_to_dd.c: Likewise.
9954 * config/libbid/_td_to_df.c: Likewise.
9955 * config/libbid/_td_to_di.c: Likewise.
9956 * config/libbid/_td_to_sd.c: Likewise.
9957 * config/libbid/_td_to_sf.c: Likewise.
9958 * config/libbid/_td_to_si.c: Likewise.
9959 * config/libbid/_td_to_tf.c: Likewise.
9960 * config/libbid/_td_to_udi.c: Likewise.
9961 * config/libbid/_td_to_usi.c: Likewise.
9962 * config/libbid/_td_to_xf.c: Likewise.
9963 * config/libbid/_tf_to_dd.c: Likewise.
9964 * config/libbid/_tf_to_sd.c: Likewise.
9965 * config/libbid/_tf_to_td.c: Likewise.
9966 * config/libbid/_udi_to_dd.c: Likewise.
9967 * config/libbid/_udi_to_sd.c: Likewise.
9968 * config/libbid/_udi_to_td.c: Likewise.
9969 * config/libbid/_unord_dd.c: Likewise.
9970 * config/libbid/_unord_sd.c: Likewise.
9971 * config/libbid/_unord_td.c: Likewise.
9972 * config/libbid/_usi_to_dd.c: Likewise.
9973 * config/libbid/_usi_to_sd.c: Likewise.
9974 * config/libbid/_usi_to_td.c: Likewise.
9975 * config/libbid/_xf_to_dd.c: Likewise.
9976 * config/libbid/_xf_to_sd.c: Likewise.
9977 * config/libbid/_xf_to_td.c: Likewise.
9978 * config/libbid/bid128.c: Likewise.
9979 * config/libbid/bid128_2_str.h: Likewise.
9980 * config/libbid/bid128_2_str_macros.h: Likewise.
9981 * config/libbid/bid128_2_str_tables.c: Likewise.
9982 * config/libbid/bid128_add.c: Likewise.
9983 * config/libbid/bid128_compare.c: Likewise.
9984 * config/libbid/bid128_div.c: Likewise.
9985 * config/libbid/bid128_fma.c: Likewise.
9986 * config/libbid/bid128_logb.c: Likewise.
9987 * config/libbid/bid128_minmax.c: Likewise.
9988 * config/libbid/bid128_mul.c: Likewise.
9989 * config/libbid/bid128_next.c: Likewise.
9990 * config/libbid/bid128_noncomp.c: Likewise.
9991 * config/libbid/bid128_quantize.c: Likewise.
9992 * config/libbid/bid128_rem.c: Likewise.
9993 * config/libbid/bid128_round_integral.c: Likewise.
9994 * config/libbid/bid128_scalb.c: Likewise.
9995 * config/libbid/bid128_sqrt.c: Likewise.
9996 * config/libbid/bid128_string.c: Likewise.
9997 * config/libbid/bid128_to_int16.c: Likewise.
9998 * config/libbid/bid128_to_int32.c: Likewise.
9999 * config/libbid/bid128_to_int64.c: Likewise.
10000 * config/libbid/bid128_to_int8.c: Likewise.
10001 * config/libbid/bid128_to_uint16.c: Likewise.
10002 * config/libbid/bid128_to_uint32.c: Likewise.
10003 * config/libbid/bid128_to_uint64.c: Likewise.
10004 * config/libbid/bid128_to_uint8.c: Likewise.
10005 * config/libbid/bid32_to_bid128.c: Likewise.
10006 * config/libbid/bid32_to_bid64.c: Likewise.
10007 * config/libbid/bid64_add.c: Likewise.
10008 * config/libbid/bid64_compare.c: Likewise.
10009 * config/libbid/bid64_div.c: Likewise.
10010 * config/libbid/bid64_fma.c: Likewise.
10011 * config/libbid/bid64_logb.c: Likewise.
10012 * config/libbid/bid64_minmax.c: Likewise.
10013 * config/libbid/bid64_mul.c: Likewise.
10014 * config/libbid/bid64_next.c: Likewise.
10015 * config/libbid/bid64_noncomp.c: Likewise.
10016 * config/libbid/bid64_quantize.c: Likewise.
10017 * config/libbid/bid64_rem.c: Likewise.
10018 * config/libbid/bid64_round_integral.c: Likewise.
10019 * config/libbid/bid64_scalb.c: Likewise.
10020 * config/libbid/bid64_sqrt.c: Likewise.
10021 * config/libbid/bid64_string.c: Likewise.
10022 * config/libbid/bid64_to_bid128.c: Likewise.
10023 * config/libbid/bid64_to_int16.c: Likewise.
10024 * config/libbid/bid64_to_int32.c: Likewise.
10025 * config/libbid/bid64_to_int64.c: Likewise.
10026 * config/libbid/bid64_to_int8.c: Likewise.
10027 * config/libbid/bid64_to_uint16.c: Likewise.
10028 * config/libbid/bid64_to_uint32.c: Likewise.
10029 * config/libbid/bid64_to_uint64.c: Likewise.
10030 * config/libbid/bid64_to_uint8.c: Likewise.
10031 * config/libbid/bid_b2d.h: Likewise.
10032 * config/libbid/bid_binarydecimal.c: Likewise.
10033 * config/libbid/bid_conf.h: Likewise.
10034 * config/libbid/bid_convert_data.c: Likewise.
10035 * config/libbid/bid_decimal_data.c: Likewise.
10036 * config/libbid/bid_decimal_globals.c: Likewise.
10037 * config/libbid/bid_div_macros.h: Likewise.
10038 * config/libbid/bid_dpd.c: Likewise.
10039 * config/libbid/bid_flag_operations.c: Likewise.
10040 * config/libbid/bid_from_int.c: Likewise.
10041 * config/libbid/bid_functions.h: Likewise.
10042 * config/libbid/bid_gcc_intrinsics.h: Likewise.
10043 * config/libbid/bid_inline_add.h: Likewise.
10044 * config/libbid/bid_internal.h: Likewise.
10045 * config/libbid/bid_round.c: Likewise.
10046 * config/libbid/bid_sqrt_macros.h: Likewise.
10047
10048 2009-04-09 Jakub Jelinek <jakub@redhat.com>
10049
10050 * Makefile.in: Change copyright header to refer to version
10051 3 of the GNU General Public License and to point readers at the
10052 COPYING3 file and the FSF's license web page.
10053 * config.host: Likewise.
10054
10055 2009-04-07 Alan Modra <amodra@bigpond.net.au>
10056
10057 * config.host: Reorder and merge to match config.gcc change.
10058
10059 2009-04-03 Alan Modra <amodra@bigpond.net.au>
10060
10061 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
10062
10063 2009-03-28 Joseph Myers <joseph@codesourcery.com>
10064
10065 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
10066 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
10067 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
10068 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
10069
10070 2009-02-12 Uros Bizjak <ubizjak@gmail.com>
10071
10072 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
10073 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
10074
10075 2009-02-12 H.J. Lu <hongjiu.lu@intel.com>
10076
10077 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
10078 ia64/t-softfp-compat to tmake_file.
10079
10080 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
10081
10082 * config/ia64/__divxf3.asm: New.
10083 * config/ia64/_fixtfdi.asm: Likewise.
10084 * config/ia64/_fixunstfdi.asm: Likewise.
10085 * config/ia64/_floatditf.asm: Likewise.
10086 * config/ia64/t-fprules-softfp: Likewise.
10087 * config/ia64/t-softfp-compat: Likewise.
10088 * config/ia64/tf-signs.c: Likewise.
10089
10090 2009-01-18 Ben Elliston <bje@au.ibm.com>
10091
10092 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
10093
10094 2009-01-16 Ben Elliston <bje@au.ibm.com>
10095
10096 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
10097 to tmake_file.
10098
10099 2009-01-13 Ben Elliston <bje@au.ibm.com>
10100
10101 * config/t-softfp: New file.
10102 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
10103 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
10104
10105 2009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
10106
10107 * config.host: Add m32r*-*-rtems*.
10108
10109 2008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
10110
10111 * config.host: Add m32c*-*-rtems*.
10112
10113 2008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10114
10115 PR bootstrap/33100
10116 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
10117 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
10118 * configure: Regenerate.
10119 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
10120 tmake_file here from gcc/config.gcc.
10121 Move extra_parts here from gcc/config.gcc.
10122 * config/i386/t-sol2: Move here from gcc/config/i386.
10123 Use gcc_srcdir instead of srcdir.
10124
10125 2008-11-18 Adam Nemet <anemet@caviumnetworks.com>
10126
10127 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
10128 case.
10129
10130 2008-11-09 Thomas Schwinge <tschwinge@gnu.org>
10131
10132 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
10133
10134 2008-10-08 Thomas Schwinge <tschwinge@gnu.org>
10135
10136 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
10137
10138 2008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
10139
10140 Add picoChip port.
10141 * config.host: Add picochip-*-*.
10142
10143 2008-08-06 Bob Wilson <bob.wilson@acm.org>
10144
10145 * config.host: Match more processor names for Xtensa.
10146
10147 2008-07-08 H.J. Lu <hongjiu.lu@intel.com>
10148
10149 * config/i386/64/t-softfp-compat: Update comments.
10150
10151 2008-07-07 H.J. Lu <hongjiu.lu@intel.com>
10152
10153 * config/i386/64/_divtc3-compat.c: Moved to ...
10154 * config/i386/64/_divtc3.c: Here.
10155
10156 * config/i386/64/_multc3-compat.c: Moved to ...
10157 * config/i386/64/_multc3.c: Here.
10158
10159 * config/i386/64/_powitf2-compat.c: Moved to ...
10160 * config/i386/64/_powitf2.c: Here.
10161
10162 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
10163 .c suffix instead of -compat.c.
10164
10165 2008-07-05 Uros Bizjak <ubizjak@gmail.com>
10166
10167 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
10168 (_FP_MUL_MEAT_D): Ditto.
10169 (_FP_DIV_MEAT_S): Ditto.
10170 (_FP_DIV_MEAT_D): Ditto.
10171
10172 2008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
10173
10174 * Makefile.in: Add support for __sync_* libgcc functions.
10175
10176 2008-07-03 H.J. Lu <hongjiu.lu@intel.com>
10177
10178 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
10179
10180 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
10181
10182 PR boostrap/36702
10183 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
10184 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
10185
10186 * config/i386/64/t-fprules-softfp: Moved to ...
10187 * config/i386/64/t-softfp-compat: This. New.
10188
10189 2008-07-02 Uros Bizjak <ubizjak@gmail.com>
10190
10191 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
10192 Initialize f with 0.0.
10193
10194 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
10195
10196 PR target/36669
10197 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
10198
10199 * config/i386/64/_divtc3-compat.c: New.
10200 * config/i386/64/_multc3-compat.c: Likewise.
10201 * config/i386/64/_powitf2-compat.c: Likewise.
10202 * config/i386/64/eqtf2.c: Likewise.
10203 * config/i386/64/getf2.c: Likewise.
10204 * config/i386/64/letf2.c: Likewise.
10205 * config/i386/64/t-fprules-softfp: Likewise.
10206
10207 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
10208
10209 * config.host: Add i386/${host_address}/t-fprules-softfp to
10210 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
10211 i[34567]86-*-linux*, x86_64-*-linux*.
10212
10213 * configure.ac: Set host_address to 64 or 32 for x86.
10214 * configure: Regenerated.
10215
10216 * Makefile.in (config.status): Also depend on
10217 $(srcdir)/config.host.
10218
10219 * config/i386/32/t-fprules-softfp: New.
10220 * config/i386/32/tf-signs.c: Likewise.
10221
10222 * config/i386/64/sfp-machine.h: New. Moved from gcc.
10223
10224 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
10225 Uros Bizjak <ubizjak@gmail.com>
10226
10227 * config/i386/32/sfp-machine.h: New.
10228
10229 2008-06-26 Nathan Froyd <froydnj@codesourcery.com>
10230
10231 * config/rs6000/t-ppccomm: Remove rules that conflict with
10232 auto-generated rules.
10233
10234 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
10235
10236 * configure.ac: sinclude override.m4.
10237 * configure: Regenerate.
10238
10239 2008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
10240
10241 * configure: Regenerate.
10242
10243 2008-06-10 Joseph Myers <joseph@codesourcery.com>
10244
10245 * Makefile.in (DECNUMINC): Remove
10246 -I$(MULTIBUILDTOP)../../libdecnumber.
10247 * gstdint.h: New.
10248
10249 2008-06-07 Joseph Myers <joseph@codesourcery.com>
10250
10251 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
10252 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
10253 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
10254 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
10255 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
10256 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
10257 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
10258 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
10259 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
10260 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
10261 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
10262 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
10263 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
10264 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
10265
10266 2008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
10267
10268 * config.host (sh2[lbe]*-*-linux*): Allow target.
10269
10270 2008-04-30 Nathan Froyd <froydnj@codesourcery.com>
10271
10272 * config/rs6000/t-ppccomm: Add build rules for new files.
10273 (LIB2ADD_ST): New variable.
10274
10275 2008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
10276
10277 PR target/34210
10278 PR target/35508
10279 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
10280 * config/t-avr: New file. Build 16bit libgcc functions.
10281
10282 2008-03-02 Jakub Jelinek <jakub@redhat.com>
10283
10284 PR target/35401
10285 * config/t-slibgcc-darwin: Make install-leaf dependent on
10286 install-darwin-libgcc-stubs instead of install.
10287
10288 2008-01-25 Joseph Myers <joseph@codesourcery.com>
10289
10290 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
10291 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
10292 sh-*-rtemscoff*): Remove cases.
10293
10294 2007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
10295
10296 * Makefile.in (all): Use install-leaf rather than install.
10297 (install): Split most of the rule into...
10298 (install-leaf): ...this new one.
10299
10300 2007-12-19 Etsushi Kato <ek.kato@gmail.com>
10301 Paolo Bonzini <bonzini@gnu.org>
10302
10303 PR target/30572
10304 * Makefile.in: Use @shlib_slibdir@ substitution to get
10305 correct install name on darwin.
10306 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
10307
10308 2007-12-15 Hans-Peter Nilsson <hp@axis.com>
10309
10310 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
10311 cris-*-elf and cris-*-none.
10312 (crisv32-*-linux*): Similar, as cris-*-linux*.
10313
10314 2007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
10315
10316 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
10317
10318 2007-10-27 H.J. Lu <hongjiu.lu@intel.com>
10319
10320 PR regression/33926
10321 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
10322 * configure: Regenerated.
10323
10324 2007-09-27 H.J. Lu <hongjiu.lu@intel.com>
10325
10326 * Makefile.in (dfp-filenames): Replace decimal_globals,
10327 decimal_data, binarydecimal and convert_data with
10328 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
10329 and bid_convert_data, respectively.
10330
10331 2007-09-17 Chao-ying Fu <fu@mips.com>
10332 Nigel Stephens <nigel@mips.com>
10333
10334 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
10335 * Makefile.in (fixed_point): Define.
10336 Check if fixed_point is yes to build support functions.
10337 * configure.ac: Check for fixed_point support.
10338 * configure: Regenerated.
10339 * gen-fixed.sh: New file to generate lists of fixed-point labels,
10340 funcs, modes, from, to.
10341
10342 2007-09-11 Janis Johnson <janis187@us.ibm.com
10343
10344 * Makefile.in (dfp-filenames): Add bid128_noncomp.
10345
10346 2007-09-10 Janis Johnson <janis187@us.ibm.com>
10347
10348 * Makefile.in (dfp-filenames): Remove decUtility, add
10349 decDouble, decPacked, decQuad, decSingle.
10350
10351 2007-08-27 Hans Kester <hans.kester@ellips.nl>
10352
10353 * config.host : Add x86_64-elf target.
10354
10355 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
10356
10357 * configure.ac (set_have_cc_tls): Add a missing =.
10358 * configure: Regenerated.
10359
10360 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
10361
10362 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
10363 and x86_64-*-linux*.
10364
10365 * config/t-tls: New file.
10366
10367 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
10368
10369 * configure.ac: Include ../config/enable.m4 and
10370 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
10371 supports TLS and substitute set_have_cc_tls.
10372 * configure: Regenerated.
10373
10374 2007-07-04 H.J. Lu <hongjiu.lu@intel.com>
10375
10376 * Makefile.in: Use libbid for DFP when BID is enabled.
10377
10378 2007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
10379
10380 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
10381 extra_parts. Add config/i386/t-cygming to tmake_file.
10382 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
10383
10384 2007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
10385 Danny Smith <dannysmith@users.sourceforge.net>
10386
10387 PR target/29498
10388 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
10389 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
10390 * config/i386/t-crtfm: Compile crtfastmath.o with
10391 -minline-all-stringops.
10392
10393 2007-05-10 Richard Sandiford <richard@codesourcery.com>
10394
10395 * config.host (sparc-wrs-vxworks): New target.
10396
10397 2007-04-14 Kazu Hirata <kazu@codesourcery.com>
10398
10399 * config.host: Recognize fido.
10400
10401 2007-04-04 Janis Johnson <janis187@us.ibm.com>
10402
10403 * configure: Check host, not target, for decimal float support.
10404
10405 2007-04-03 Uros Bizjak <ubizjak@gmail.com>
10406
10407 * config/i386/t-crtpc: New file.
10408 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
10409 (x86_64-*-linux*): Ditto.
10410
10411 2007-02-30 Kai Tietz <kai.tietz@onevision.com>
10412
10413 * config.host (x86_64-*-mingw*): New target.
10414
10415 2007-03-23 Michael Meissner <michael.meissner@amd.com>
10416 H.J. Lu <hongjiu.lu@intel.com>
10417
10418 * Makefile.in (enable_decimal_float): New.
10419 (DECNUMINC): Add
10420 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
10421 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
10422 (decbits-filenames): This.
10423 (decbits-objects): New.
10424 (libgcc-objects): Add $(decbits-objects).
10425
10426 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
10427 Substitute enable_decimal_float.
10428 * configure: Regenerated.
10429
10430 2007-03-19 Hans-Peter Nilsson <hp@axis.com>
10431
10432 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
10433
10434 2007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
10435
10436 * Makefile.in (install-info): New dummy target.
10437
10438 2007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
10439
10440 * config.host (bfin*-linux-uclibc*): Set extra_parts.
10441
10442 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
10443
10444 * Makefile.in: Add install-html and install-pdf dummy
10445 targets.
10446
10447 2007-02-05 Roger Sayle <roger@eyesopen.com>
10448 Daniel Jacobowitz <dan@codesourcery.com>
10449
10450 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
10451 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
10452 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
10453
10454 2007-01-29 Janis Johnson <janis187@us.ibm.com>
10455
10456 * Makefile.in (dec-filenames): Add decExcept.
10457
10458 2007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
10459
10460 PR bootstrap/30469
10461 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
10462 -fprofile-use.
10463
10464 2007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
10465
10466 * configure.ac: Add --enable-version-specific-runtime-libs.
10467 Correct $slibdir default.
10468 * configure: Regenerated.
10469
10470 2007-01-23 Joseph Myers <joseph@codesourcery.com>
10471
10472 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
10473
10474 2007-01-21 Andrew Pinski <pinskia@gmail.com>
10475
10476 PR target/30519
10477 * config.host (alpha*-*-linux*): Set extra_parts.
10478
10479 2007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
10480
10481 * config/sh/t-linux: New.
10482 * config.host (sh*-*-linux*): Set tmake_file.
10483
10484 2007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
10485
10486 * Makefile.in (install): Handle multilibs.
10487
10488 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
10489
10490 * Makefile.in: Added .PHONY entry for documentation targets.
10491
10492 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
10493
10494 * Makefile.in: Add empty info, html, dvi, pdf targets.
10495
10496 2007-01-04 Mike Stump <mrs@apple.com>
10497
10498 * Makefile.in (MAKEINFO): Remove.
10499 (PERL): Likewise.
10500
10501 2007-01-04 Paolo Bonzini <bonzini@gnu.org>
10502
10503 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
10504 * configure: Regenerate.
10505 * Makefile.in (host_subdir): Substitute it.
10506 (gcc_objdir): Use it.
10507
10508 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
10509
10510 * config.host (ia64*-*-linux*): Set tmake_file.
10511
10512 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
10513
10514 * Makefile.in (version): Define.
10515
10516 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
10517 Paolo Bonzini <bonzini@gnu.org>
10518
10519 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
10520 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
10521 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
10522 config/sparc/t-crtfm, config/t-slibgcc-darwin,
10523 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
10524 shared-object.mk, siditi-object.mk, static-object.mk: New files.
10525 * configure: Generated.
10526 \f
10527 Copyright (C) 2007-2020 Free Software Foundation, Inc.
10528
10529 Copying and distribution of this file, with or without modification,
10530 are permitted in any medium without royalty provided the copyright
10531 notice and this notice are preserved.
This page took 0.510419 seconds and 5 git commands to generate.