Improve VxWorks GTHREAD_ONCE_INIT
[gcc.git] / libgcc / ChangeLog
1 2019-12-30 Olivier Hainque <hainque@adacore.com>
2
3 * config/gthr-vxworks.h (GTHREAD_ONCE_INIT): Use
4 standard zero-initializer syntax.
5
6 2019-12-30 Olivier Hainque <hainque@adacore.com>
7
8 * config/gthr-vxworks-tls.c (__gthread_getspecific): Fix
9 reference to the internal VX_GET_TLS_DATA interface.
10
11 2019-12-30 Olivier Hainque <hainque@adacore.com>
12
13 * config/vxcrtstuff.c: Fix incorrect spelling of
14 USE_INITFINI_ARRAY in guard.
15
16 2019-12-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
17
18 * config.host: s/msp430*-*-elf/msp430-*-elf*.
19 Override default "extra_parts" variable.
20 * configure: Regenerate.
21 * configure.ac: Disable TM clone registry by default for
22 msp430-elfbare.
23
24 2019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
25
26 * config.host (msp430*-*-elf): Add crt{begin,end}_no_eh.o to
27 "extra_parts".
28 * config/msp430/t-msp430: Add rules to build crt{begin,end}_no_eh.o.
29
30 2019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
31
32 * crtstuff.c: Declare __dso_handle only if DEFAULT_USE_CXA_ATEXIT is
33 true.
34
35 2019-12-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
36
37 * crtstuff.c (__do_global_dtors_aux): Check if USE_EH_FRAME_REGISTRY is
38 defined instead of its value.
39
40 2019-12-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
41
42 * crtstuff.c (__do_global_dtors_aux): Wrap in #if so it's only defined
43 if it will have contents.
44
45 2019-12-05 Georg-Johann Lay <avr@gjlay.de>
46
47 PR target/92055
48 * config/avr/t-avrlibc (MULTISUBDIR): Search for double, not double64.
49
50 2019-11-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
51
52 PR libgcc/91737
53 * config.host: Add t-gthr-noweak on *-*-musl*.
54 * config/t-gthr-noweak: New file.
55
56 2019-11-17 John David Anglin <danglin@gcc.gnu.org>
57
58 * config/pa/linux-atomic.c (__kernel_cmpxchg): Change argument 1 to
59 volatile void *. Remove trap check.
60 (__kernel_cmpxchg2): Likewise.
61 (FETCH_AND_OP_2): Adjust operand types.
62 (OP_AND_FETCH_2): Likewise.
63 (FETCH_AND_OP_WORD): Likewise.
64 (OP_AND_FETCH_WORD): Likewise.
65 (COMPARE_AND_SWAP_2): Likewise.
66 (__sync_val_compare_and_swap_4): Likewise.
67 (__sync_bool_compare_and_swap_4): Likewise.
68 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
69 (__sync_lock_test_and_set_4): Likewise.
70 (SYNC_LOCK_RELEASE_1): Likewise. Use __kernel_cmpxchg2 for release.
71 (__sync_lock_release_4): Adjust operand types. Use __kernel_cmpxchg
72 for release.
73 (__sync_lock_release_8): Remove.
74
75 2019-11-15 Szabolcs Nagy <szabolcs.nagy@arm.com>
76
77 * config/m68k/linux-unwind.h (struct uw_ucontext): Use sigset_t instead
78 of __sigset_t.
79
80 2019-11-14 Jerome Lambourg <lambourg@adacore.com>
81 Doug Rupp <rupp@adacore.com>
82 Olivier Hainque <hainque@adacore.com>
83
84 * config.host: Collapse the arm-vxworks entries into
85 a single arm-wrs-vxworks7* one.
86 * config/arm/unwind-arm-vxworks.c: Update comments. Provide
87 __gnu_Unwind_Find_exidx and a weak dummy __cxa_type_match for
88 kernel modules, to be overriden by libstdc++ when we link with
89 it. Rely on externally provided __exidx_start/end.
90
91 2019-11-14 Doug Rupp <rupp@adacore.com>
92 Olivier Hainque <hainque@adacore.com>
93
94 * config.host: Handle aarch64*-wrs-vxworks7*.
95
96 2019-11-12 Olivier Hainque <hainque@adacore.com>
97
98 * config/t-gthr-vxworksae: New file, add all the gthr-vxworks
99 sources except the cxx0x support to LIB2ADDEH. We don't support
100 cxx0x on AE/653.
101 * config/t-vxworksae: New file.
102 * config.host: Handle *-*-vxworksae: Add the two aforementioned
103 Makefile fragment files at their expected position in the tmake_file
104 list, in accordance with what is done for other VxWorks variants.
105
106 2019-11-12 Corentin Gay <gay@adacore.com>
107 Jerome Lambourg <lambourg@adacore.com>
108 Olivier Hainque <hainque@adacore.com>
109
110 * config/t-gthr-vxworks: New file, add all the gthr-vxworks
111 sources to LIB2ADDEH.
112 * config/t-vxworks: Remove adjustments to LIB2ADDEH.
113 * config/t-vxworks7: Likewise.
114
115 * config.host: Append a block at the end of the file to add the
116 t-gthr files to the tmake_file list for VxWorks after everything
117 else.
118
119 * config/vxlib.c: Rename as gthr-vxworks.c.
120 * config/vxlib-tls.c: Rename as gthr-vxworks-tls.c.
121
122 * config/gthr-vxworks.h: Simplify a few comments. Expose a TAS
123 API and a basic error checking API, both internal. Simplify the
124 __gthread_once_t type definition and initializers. Add sections
125 for condition variables support and for the C++0x thread support,
126 conditioned against Vx653 for the latter.
127
128 * config/gthr-vxworks.c (__gthread_once): Simplify comments and
129 implementation, leveraging the TAS internal API.
130 * config/gthr-vxworks-tls.c: Introduce an internal TLS data access
131 API, leveraging the general availability of TLS services in VxWorks7
132 post SR6xxx.
133 (__gthread_setspecific, __gthread_setspecific): Use it.
134 (tls_delete_hook): Likewise, and simplify the enter/leave dtor logic.
135 * config/gthr-vxworks-cond.c: New file. GTHREAD_COND variable
136 support based on VxWorks primitives.
137 * config/gthr-vxworks-thread.c: New file. GTHREAD_CXX0X support
138 based on VxWorks primitives.
139
140 2019-11-06 Jerome Lambourg <lambourg@adacore.com>
141 Olivier Hainque <hainque@adacore.com>
142
143 * config/vxcrtstuff.c: New file.
144 * config/t-vxcrtstuff: New Makefile fragment.
145 * config.host: Append t-vxcrtstuff to the tmake_file list
146 on all VxWorks ports using dwarf for table based EH.
147
148 2019-11-07 Georg-Johann Lay <avr@gjlay.de>
149
150 Support 64-bit double and 64-bit long double configurations.
151
152 PR target/92055
153 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Only add -DF=SF if
154 long double is a 32-bit type.
155 * config/avr/t-avrlibc: Copy double64 and long-double64
156 multilib(s) from the vanilla one.
157 * config/avr/t-copy-libgcc: New Makefile snip.
158
159 2019-11-04 Jozef Lawrynowicz <jozef.l@mittosystems.com>
160
161 * crtstuff.c: Define USE_TM_CLONE_REGISTRY to 0 if it's undefined and
162 the target output object format is not ELF.
163 s/defined(USE_TM_CLONE_REGISTRY)/USE_TM_CLONE_REGISTRY.
164
165 2019-11-03 Oleg Endo <olegendo@gcc.gnu.org>
166
167 PR libgcc/78804
168 * fp-bit.h: Remove FLOAT_BIT_ORDER_MISMATCH.
169 * fp-bit.c (pack_d, unpack_d): Remove special cases for
170 FLOAT_BIT_ORDER_MISMATCH.
171 * config/arc/t-arc: Remove FLOAT_BIT_ORDER_MISMATCH.
172
173 2019-11-01 Jim Wilson <jimw@sifive.com>
174
175 * config/riscv/t-softfp32 (softfp_extra): Add FP divide routines
176
177 2019-10-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
178
179 * config/msp430/lib2hw_mul.S: Fix wrong syntax in branch instruction.
180 s/RESULT_LO/RESLO, s/RESULT_HI/RESHI, s/MPY_OP1/MPY,
181 s/MPY_OP1_S/MPYS, s/MAC_OP1/MAC, s/MPY_OP2/OP2, s/MAC_OP2/OP2.
182 Define symbols for 32-bit and f5series hardware multiply
183 register addresses.
184 Replace hard-coded register addresses with symbols.
185 Fix "_mspabi*" typo.
186 Fix whitespace.
187 * config/msp430/lib2mul.c: Add comment.
188
189 2019-10-15 John David Anglin <danglin@gcc.gnu.org>
190
191 * config/pa/fptr.c (_dl_read_access_allowed): Change argument to
192 unsigned int. Adjust callers.
193 (__canonicalize_funcptr_for_compare): Change plabel type to volatile
194 unsigned int *. Load relocation offset before function pointer.
195 Add barrier to ensure ordering.
196
197 2019-10-12 John David Anglin <danglin@gcc.gnu.org>
198
199 * config/pa/lib2funcs.S (__gcc_plt_call): Load branch target to %r21.
200 Load PIC register after branch target. Fix white space.
201 * config/pa/milli64.S ($$dyncall): Separate LINUX and non LINUX
202 implementations. Load PIC register after branch target. Don't
203 clobber function pointer when it points to function descriptor.
204 Use nullification instead of branch in LINUX implementation.
205
206 2019-10-03 John David Anglin <danglin@gcc.gnu.org>
207
208 * config/pa/fptr.c: Disable -Warray-bounds warning.
209
210 2019-09-25 Richard Henderson <richard.henderson@linaro.org>
211
212 * config.in, configure: Re-rebuild with stock autoconf 2.69,
213 not the ubuntu modified 2.69.
214
215 PR target/91833
216 * config/aarch64/lse-init.c: Include auto-target.h. Disable
217 initialization if !HAVE_SYS_AUXV_H.
218 * configure.ac (AC_CHECK_HEADERS): Add sys/auxv.h.
219 * config.in, configure: Rebuild.
220
221 PR target/91834
222 * config/aarch64/lse.S (LDNM): Ensure STXR output does not
223 overlap the inputs.
224
225 2019-09-25 Shaokun Zhang <zhangshaokun@hisilicon.com>
226
227 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Add support for
228 CTR_EL0.IDC and CTR_EL0.DIC.
229
230 2019-09-20 Christophe Lyon <christophe.lyon@st.com>
231
232 Revert:
233 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
234 Mickaël Guêné <mickael.guene@st.com>
235
236 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
237 architecture.
238
239 2019-09-19 Richard Henderson <richard.henderson@linaro.org>
240
241 * config/aarch64/lse-init.c: New file.
242 * config/aarch64/lse.S: New file.
243 * config/aarch64/t-lse: New file.
244 * config.host: Add t-lse to all aarch64 tuples.
245
246 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
247 Mickaël Guêné <mickael.guene@st.com>
248
249 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
250 architecture.
251
252 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
253 Mickaël Guêné <mickael.guene@st.com>
254
255 * unwind-arm-common.inc (ARM_SET_R7_RT_SIGRETURN)
256 (THUMB2_SET_R7_RT_SIGRETURN, FDPIC_LDR_R12_WITH_FUNCDESC)
257 (FDPIC_LDR_R9_WITH_GOT, FDPIC_LDR_PC_WITH_RESTORER)
258 (FDPIC_FUNCDESC_OFFSET, ARM_NEW_RT_SIGFRAME_UCONTEXT)
259 (ARM_UCONTEXT_SIGCONTEXT, ARM_SIGCONTEXT_R0, FDPIC_T2_LDR_R12_WITH_FUNCDESC)
260 (FDPIC_T2_LDR_R9_WITH_GOT, FDPIC_T2_LDR_PC_WITH_RESTORER): New.
261 (__gnu_personality_sigframe_fdpic): New.
262 (get_eit_entry): Add FDPIC signal frame support.
263
264 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
265 Mickaël Guêné <mickael.guene@st.com>
266
267 * config/arm/linux-atomic.c (__kernel_cmpxchg): Add FDPIC support.
268 (__kernel_dmb): Likewise.
269 (__fdpic_cmpxchg): New function.
270 (__fdpic_dmb): New function.
271 * config/arm/unwind-arm.h (FDPIC_REGNUM): New define.
272 (gnu_Unwind_Find_got): New function.
273 (_Unwind_decode_typeinfo_ptr): Add FDPIC support.
274 * unwind-arm-common.inc (UCB_PR_GOT): New.
275 (funcdesc_t): New struct.
276 (get_eit_entry): Add FDPIC support.
277 (unwind_phase2): Likewise.
278 (unwind_phase2_forced): Likewise.
279 (__gnu_Unwind_RaiseException): Likewise.
280 (__gnu_Unwind_Resume): Likewise.
281 (__gnu_Unwind_Backtrace): Likewise.
282 * unwind-pe.h (read_encoded_value_with_base): Likewise.
283
284 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
285 Mickaël Guêné <mickael.guene@st.com>
286
287 * libgcc/crtstuff.c: Add support for FDPIC.
288
289 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
290
291 * config.host: Handle *-*-uclinuxfdpiceabi.
292
293 2019-09-09 Jose E. Marchesi <jose.marchesi@oracle.com>
294
295 * config.host: Set cpu_type for bpf-*-* targets.
296 * config/bpf/t-bpf: Likewise.
297 * config/bpf/crtn.S: Likewise.
298 * config/bpf/crti.S: New file.
299
300 2019-09-06 Jim Wilson <jimw@sifive.com>
301
302 * config.host (riscv*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
303 (riscv*-*-freebsd*): Likewise.
304
305 2019-09-03 Ulrich Weigand <uweigand@de.ibm.com>
306
307 * config.host: Remove references to spu.
308 * config/spu/: Remove directory.
309
310 2019-08-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
311
312 PR target/91306
313 * crtstuff.c (__CTOR_LIST__): Align to the "__alignof__" the array
314 element type, instead of "sizeof" the element type.
315 (__DTOR_LIST__): Likewise.
316 (__TMC_LIST__): Likewise.
317 (__do_global_dtors_aux_fini_array_entry): Likewise.
318 (__frame_dummy_init_array_entry): Likewise.
319 (__CTOR_END__): Likewise.
320 (__DTOR_END__): Likweise.
321 (__FRAME_END__): Likewise.
322 (__TMC_END__): Likewise.
323
324 2019-08-20 Lili Cui <lilicui@intel.com>
325
326 * config/i386/cpuinfo.h: Add INTEL_COREI7_TIGERLAKE and
327 INTEL_COREI7_COOPERLAKE.
328
329 2019-07-31 Matt Thomas <matt@3am-software.com>
330 Nick Hudson <nick@nthcliff.demon.co.uk>
331 Matthew Green <mrg@eterna.com.au>
332 Maya Rashish <coypu@sdf.org>
333
334 * config.host (hppa*-*-netbsd*): New case.
335 * config/pa/t-netbsd: New file.
336
337 2019-07-31 Joel Hutton <Joel.Hutton@arm.com>
338
339 * config/arm/cmse.c (cmse_check_address_range): Add
340 warn_unused_result attribute.
341
342 2019-07-22 Martin Liska <mliska@suse.cz>
343
344 * config/pa/stublib.c: Remove stub symbol __gnu_lto_v1.
345 * config/pa/t-stublib: Likewise.
346
347 2019-07-22 Stafford Horne <shorne@gmail.com>
348
349 PR target/90362
350 * config/or1k/lib1funcs.S (__udivsi3): Change l.sfeqi
351 to l.sfeq and l.sfltsi to l.sflts equivalents as the immediate
352 instructions are not available on every processor. Change a
353 l.bnf to l.bf to fix logic issue.
354
355 2019-07-04 Iain Sandoe <iain@sandoe.co.uk>
356
357 * config.host: Remove reference to t-darwin8.
358
359 2019-07-03 Iain Sandoe <iain@sandoe.co.uk>
360
361 * config.host (powerpc-*-darwin*,powerpc64-*-darwin*): Revise crt
362 list.
363 * config/rs6000/t-darwin: Build crt3_2 for older systems. Revise
364 mmacosx-version-min for crts to run across all system versions.
365 * config/rs6000/t-darwin64 (LIB2ADD): Remove.
366 * config/t-darwin: Revise mmacosx-version-min for crts to run across
367 system versions >= 10.4.
368
369 2019-07-03 Martin Liska <mliska@suse.cz>
370
371 * Makefile.in: Use topn_values instead of one_value names.
372 * libgcov-merge.c (__gcov_merge_single): Move to ...
373 (__gcov_merge_topn): ... this.
374 (merge_single_value_set): Move to ...
375 (merge_topn_values_set): ... this.
376 * libgcov-profiler.c (__gcov_one_value_profiler_body): Move to
377 ...
378 (__gcov_topn_values_profiler_body): ... this.
379 (__gcov_one_value_profiler_v2): Move to ...
380 (__gcov_topn_values_profiler): ... this.
381 (__gcov_one_value_profiler_v2_atomic): Move to ...
382 (__gcov_topn_values_profiler_atomic): ... this.
383 (__gcov_indirect_call_profiler_v4): Remove.
384 * libgcov-util.c (__gcov_single_counter_op): Move to ...
385 (__gcov_topn_counter_op): ... this.
386 * libgcov.h (L_gcov_merge_single): Remove.
387 (L_gcov_merge_topn): New.
388 (__gcov_merge_single): Remove.
389 (__gcov_merge_topn): New.
390 (__gcov_one_value_profiler_v2): Move to ..
391 (__gcov_topn_values_profiler): ... this.
392 (__gcov_one_value_profiler_v2_atomic): Move to ...
393 (__gcov_topn_values_profiler_atomic): ... this.
394
395 2019-07-03 Martin Liska <mliska@suse.cz>
396
397 * libgcov-merge.c (merge_single_value_set): Support N values.
398 * libgcov-profiler.c (__gcov_one_value_profiler_body): Likewise.
399
400 2019-06-27 Ilia Diachkov <ilia.diachkov@optimitech.com>
401
402 * Makefile.in (USE_TM_CLONE_REGISTRY): New.
403 (CRTSTUFF_CFLAGS): Use USE_TM_CLONE_REGISTRY.
404 * configure.ac: Add --disable-tm-clone-registry option.
405 * configure: Regenerate.
406
407 2019-06-27 Martin Liska <mliska@suse.cz>
408
409 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Remove obviously
410 dead assignments.
411 * libgcov-util.c: Likewise.
412
413 2019-06-27 Martin Liska <mliska@suse.cz>
414
415 * libgcov-util.c (gcov_profile_merge): Release allocated
416 memory.
417 (calculate_overlap): Likewise.
418
419 2019-06-25 Iain Sandoe <iain@sandoe.co.uk>
420
421 * config.host: Add libef_ppc.a to the extra files for powerpc-darwin.
422 * config/rs6000/t-darwin: (PPC_ENDFILE_SRC, PPC_ENDFILE_OBJS): New.
423 Build objects for the out of line save/restore register functions
424 so that they can be used for any supported Darwin version.
425 * config/t-darwin: Default the build Darwin version to Darwin8
426 (MacOS 10.4).
427
428 2019-06-25 Martin Liska <mliska@suse.cz>
429
430 * libgcov-driver-system.c (replace_filename_variables): Do not
431 call strlen with NULL argument.
432
433 2019-06-25 Andrew Stubbs <ams@codesourcery.com>
434
435 * config/gcn/t-amdgcn (LIB2ADD): Add unwind-gcn.c.
436 * config/gcn/unwind-gcn.c: New file.
437
438 2019-06-25 Kwok Cheung Yeung <kcy@codesourcery.com>
439 Andrew Stubbs <ams@codesourcery.com>
440
441 * configure: Regenerate.
442 * config/gcn/gthr-gcn.h: New.
443
444 2019-06-18 Tom de Vries <tdevries@suse.de>
445
446 * config/nvptx/crt0.c (__main): Declare.
447
448 2019-06-17 Matthew Green <mrg@eterna.com.au>
449 Maya Rashish <coypu@sdf.org>
450
451 * config.host (aarch64*-*-netbsd*): New case.
452
453 2019-06-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
454
455 * config/msp430/slli.S (__mspabi_sllll): New library function for
456 performing a logical left shift of a 64-bit value.
457 * config/msp430/srai.S (__mspabi_srall): New library function for
458 performing a arithmetic right shift of a 64-bit value.
459 * config/msp430/srll.S (__mspabi_srlll): New library function for
460 performing a logical right shift of a 64-bit value.
461
462 2019-06-14 Matt Thomas <matt@3am-software.com>
463 Matthew Green <mrg@eterna.com.au>
464 Nick Hudson <skrll@netbsd.org>
465 Maya Rashish <coypu@sdf.org>
466
467 * config.host (arm*-*-netbsdelf*): Add support for EABI configurations.
468 * config/arm/t-netbsd (LIB1ASMFUNCS): Add some additional assembler
469 functions to build.
470 * config/arm/t-netbsd-eabi: New file.
471
472 2019-06-12 Dimitar Dimitrov <dimitar@dinux.eu>
473
474 * config.host: Add PRU target.
475 * config/pru/asri.c: New file.
476 * config/pru/eqd.c: New file.
477 * config/pru/eqf.c: New file.
478 * config/pru/ged.c: New file.
479 * config/pru/gef.c: New file.
480 * config/pru/gtd.c: New file.
481 * config/pru/gtf.c: New file.
482 * config/pru/led.c: New file.
483 * config/pru/lef.c: New file.
484 * config/pru/lib2bitcountHI.c: New file.
485 * config/pru/lib2divHI.c: New file.
486 * config/pru/lib2divQI.c: New file.
487 * config/pru/lib2divSI.c: New file.
488 * config/pru/libgcc-eabi.ver: New file.
489 * config/pru/ltd.c: New file.
490 * config/pru/ltf.c: New file.
491 * config/pru/mpyll.S: New file.
492 * config/pru/pru-abi.h: New file.
493 * config/pru/pru-asm.h: New file.
494 * config/pru/pru-divmod.h: New file.
495 * config/pru/sfp-machine.h: New file.
496 * config/pru/t-pru: New file.
497
498 2019-06-11 Jakub Jelinek <jakub@redhat.com>
499
500 * libgcov-merge.c (__gcov_merge_single): Revert previous change.
501
502 2019-06-10 Martin Liska <mliska@suse.cz>
503
504 PR bootstrap/90808
505 * libgcov.h: Add ATTRIBUTE_UNUSED.
506
507 2019-06-10 Martin Liska <mliska@suse.cz>
508
509 * Makefile.in: Add __gcov_one_value_profiler_v2,
510 __gcov_one_value_profiler_v2_atomic and
511 __gcov_indirect_call_profiler_v4.
512 * libgcov-merge.c (__gcov_merge_single): Change
513 function signature.
514 (merge_single_value_set): New.
515 * libgcov-profiler.c (__gcov_one_value_profiler_body):
516 Update functionality.
517 (__gcov_one_value_profiler): Remove.
518 (__gcov_one_value_profiler_v2): ... this.
519 (__gcov_one_value_profiler_atomic): Rename to ...
520 (__gcov_one_value_profiler_v2_atomic): this.
521 (__gcov_indirect_call_profiler_v3): Rename to ...
522 (__gcov_indirect_call_profiler_v4): ... this.
523 * libgcov.h (__gcov_one_value_profiler): Remove.
524 (__gcov_one_value_profiler_atomic): Remove.
525 (__gcov_one_value_profiler_v2_atomic): New.
526 (__gcov_indirect_call_profiler_v3): Remove.
527 (__gcov_one_value_profiler_v2): New.
528 (__gcov_indirect_call_profiler_v4): New.
529 (gcov_get_counter_ignore_scaling): New function.
530
531 2019-06-07 Martin Liska <mliska@suse.cz>
532
533 * Makefile.in: Remove usage of
534 _gcov_merge_icall_topn.
535 * libgcov-driver.c (gcov_sort_n_vals): Remove.
536 (gcov_sort_icall_topn_counter): Likewise.
537 (gcov_sort_topn_counter_arrays): Likewise.
538 (dump_one_gcov): Remove call to gcov_sort_topn_counter_arrays.
539 * libgcov-merge.c (__gcov_merge_icall_topn): Remove.
540 * libgcov-profiler.c (__gcov_topn_value_profiler_body):
541 Likewise.
542 (GCOV_ICALL_COUNTER_CLEAR_THRESHOLD): Remove.
543 (struct indirect_call_tuple): Remove.
544 (__gcov_indirect_call_topn_profiler): Remove.
545 * libgcov-util.c (__gcov_icall_topn_counter_op): Remove.
546 * libgcov.h (gcov_sort_n_vals): Remove.
547 (L_gcov_merge_icall_topn): Likewise.
548 (__gcov_merge_icall_topn): Likewise.
549 (__gcov_indirect_call_topn_profiler): Likewise.
550
551 2019-06-06 Iain Sandoe <iain@sandoe.co.uk>
552
553 * config/rs6000/t-darwin: Ensure that the unwinder is built with
554 altivec enabled.
555
556 2019-06-06 Jozef Lawrynowicz <jozef.l@mittosystems.com>
557
558 * config/msp430/slli.S (__mspabi_slli_n): Put function in its own
559 section.
560 (__mspabi_slli): Likewise.
561 (__mspabi_slll_n): Likewise.
562 (__mspabi_slll): Likewise.
563 * config/msp430/srai.S (__mspabi_srai_n): Likewise.
564 (__mspabi_srai): Likewise.
565 (__mspabi_sral_n): Likewise.
566 (__mspabi_sral): Likewise.
567 * config/msp430/srli.S (__mspabi_srli_n): Likewise.
568 (__mspabi_srli): Likewise.
569 (__mspabi_srll_n): Likewise.
570 (__mspabi_srll): Likewise.
571
572 2019-06-05 Yoshinori Sato <ysato@users.sourceforge.jp>
573
574 * config.host (rx-*-linux*): Add t-fdpbit to tmake_file
575 Add appropriate tm_file clause as well.
576 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Remove.
577
578 2019-06-05 James Clarke <jrtc27@jrtc27.com>
579
580 * config/ia64/crtbegin.S (__dso_handle): Put in .sdata/.sbss
581 rather than .data/.bss so it can be accessed via gp-relative
582 addressing.
583
584 2019-06-05 David Edelsohn <dje.gcc@gmail.com>
585
586 * config/rs6000/aix-unwind.h (LR_REGNO): Rename to R_LR.
587 (CR2_REGNO): Rename to R_CR2.
588 (XER_REGNO): Rename to R_XER.
589 (FIRST_ALTIVEC_REGNO): Rename to R_FIRST_ALTIVEC.
590 (VRSAVE_REGNO): Rename to R_VRSAVE.
591 (VSCR_REGNO): R_VSCR.
592
593 2019-05-29 Yoshinori Sato <ysato@users.sourceforge.jp>
594
595 * config.host (rx-*-linux*): Add new case.
596 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Force DFmode to SFmode.
597
598 2019-05-29 Sam Tebbs <sam.tebbs@arm.com>
599
600 * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key): New
601 function.
602 * config/aarch64/aarch64-unwind.h (aarch64_post_extract_frame_addr,
603 aarch64_post_frob_eh_handler_addr): Add check for b-key.
604 * config/aarch64/aarch64-unwind-h (aarch64_post_extract_frame_addr,
605 aarch64_post_frob_eh_handler_addr, aarch64_post_frob_update_context):
606 Rename RA_A_SIGNED_BIT to RA_SIGNED_BIT.
607 * unwind-dw2-fde.c (get_cie_encoding): Add check for 'B' in augmentation
608 string.
609 * unwind-dw2.c (extract_cie_info): Add check for 'B' in augmentation
610 string.
611 (RA_A_SIGNED_BIT): Rename to RA_SIGNED_BIT.
612
613 2019-05-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
614
615 * config/sparc/sol2-unwind.h [__arch64__] (sparc64_is_sighandler):
616 Remove Solaris 9 and 10 support.
617 (sparc_is_sighandler): Likewise.
618
619 2019-05-26 John David Anglin <danglin@gcc.gnu.org>
620
621 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Add cast.
622
623 2019-05-17 H.J. Lu <hongjiu.lu@intel.com>
624
625 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
626 4_FP_W_TYPEs are used for IEEE quad precision.
627 * soft-fp/extendhftf2.c: Likewise.
628 * soft-fp/extendsftf2.c: Likewise.
629 * soft-fp/extendxftf2.c: Likewise.
630 * soft-fp/trunctfdf2.c: Likewise.
631 * soft-fp/trunctfhf2.c: Likewise.
632 * soft-fp/trunctfsf2.c: Likewise.
633 * soft-fp/trunctfxf2.c: Likewise.
634 * config/rs6000/ibm-ldouble.c: Likewise.
635
636 2019-05-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
637
638 * config.host: Simplify various *-*-solaris2.1[0-9]* to
639 *-*-solaris2*.
640 * configure.ac: Likewise.
641 * configure: Regenerate.
642
643 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
644 Solaris 10 and Solaris 11 < snv_125 handling.
645
646 2019-05-12 Iain Sandoe <iain@sandoe.co.uk>
647
648 * config/rs6000/darwin-vecsave.S: Set .machine appropriately.
649
650 2019-05-07 Hongtao Liu <hongtao.liu@intel.com>
651
652 * config/i386/cpuinfo.c (get_available_features): Detect BF16.
653 * config/i386/cpuinfo.h (enum processor_features): Add
654 FEATURE_AVX512BF16.
655
656 2019-04-23 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
657 Bernd Edlinger <bernd.edlinger@hotmail.de>
658 Jakub Jelinek <jakub@redhat.com>
659
660 PR target/89093
661 * config/arm/pr-support.c: Add #pragma GCC target("general-regs-only").
662 * config/arm/unwind-arm.c: Likewise.
663 * unwind-c.c (PERSONALITY_FUNCTION): Add general-regs-only target
664 attribute for ARM.
665
666 2019-04-15 Monk Chiang <sh.chiang04@gmail.com>
667
668 * config/nds32/linux-unwind.h (SIGRETURN): Remove.
669 (RT_SIGRETURN): Update.
670 (nds32_fallback_frame_state): Update.
671
672 2019-02-21 Martin Sebor <msebor@redhat.com>
673
674 * libgcc2.h (__clear_cache): Correct signature.
675 * libgcc2.c (__clear_cache): Same.
676
677 2019-02-20 Uroš Bizjak <ubizjak@gmail.com>
678
679 * config/alpha/linux-unwind.h (alpha_fallback_frame_state):
680 Cast 'mcontext_t *' &rt_->uc.uc_mcontext to 'struct sigcontext *'.
681
682 2019-02-19 Uroš Bizjak <ubizjak@gmail.com>
683
684 * unwind-dw2.c (_Unwind_GetGR) [DWARF_ZERO_REG]: Compare
685 regno instead of index to DWARF_ZERO_REG.
686
687 2019-02-15 Eric Botcazou <ebotcazou@adacore.com>
688
689 * config/visium/lib2funcs.c (__set_trampoline_parity): Replace
690 TRAMPOLINE_SIZE with __LIBGCC_TRAMPOLINE_SIZE__.
691
692 2019-01-31 Uroš Bizjak <ubizjak@gmail.com>
693
694 * config/alpha/t-linux: Add -mfp-rounding-mode=d
695 to HOST_LIBGCC2_CFLAGS.
696
697 2019-01-23 Joseph Myers <joseph@codesourcery.com>
698
699 PR libgcc/88931
700 * libgcc2.c (FSTYPE FUNC (DWtype u)): Correct no leading bits case.
701
702 2019-01-18 Martin Liska <mliska@suse.cz>
703
704 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Rename
705 to ...
706 (__gcov_indirect_call_profiler_v3): ... this.
707 * libgcov.h (__gcov_indirect_call_profiler_v2): Likewise.
708 (__gcov_indirect_call_profiler_v3): Likewise.
709 * Makefile.in: Bump function name.
710
711 2019-01-18 Martin Liska <mliska@suse.cz>
712
713 * libgcov-driver.c (GCOV_PROF_PREFIX): Define.
714 (gcov_version): Use in gcov_error.
715 (merge_one_data): Likewise.
716 (dump_one_gcov): Likewise.
717
718 2019-01-18 Martin Liska <mliska@suse.cz>
719
720 * libgcov-driver.c (gcov_version_string): New function.
721 (gcov_version): Convert version integer into string.
722
723 2019-01-17 Andrew Stubbs <ams@codesourcery.com>
724 Kwok Cheung Yeung <kcy@codesourcery.com>
725 Julian Brown <julian@codesourcery.com>
726 Tom de Vries <tom@codesourcery.com>
727
728 * config.host: Recognize amdgcn*-*-amdhsa.
729 * config/gcn/crt0.c: New file.
730 * config/gcn/lib2-divmod-hi.c: New file.
731 * config/gcn/lib2-divmod.c: New file.
732 * config/gcn/lib2-gcn.h: New file.
733 * config/gcn/sfp-machine.h: New file.
734 * config/gcn/t-amdgcn: New file.
735
736 2019-01-09 Sandra Loosemore <sandra@codesourcery.com>
737
738 PR other/16615
739
740 * config/c6x/libunwind.S: Mechanically replace "can not" with
741 "cannot".
742 * config/tilepro/atomic.h: Likewise.
743 * config/vxlib-tls.c: Likewise.
744 * generic-morestack-thread.c: Likewise.
745 * generic-morestack.c: Likewise.
746 * mkmap-symver.awk: Likewise.
747
748 2019-01-01 Jakub Jelinek <jakub@redhat.com>
749
750 Update copyright years.
751
752 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
753
754 * unwind-pe.h (read_encoded_value_with_base): Add GCC pragma
755 to ignore -Waddress-of-packed-member.
756
757 2018-12-19 Thomas Preud'homme <thomas.preudhomme@linaro.org>
758
759 * /config/arm/lib1funcs.S (FUNC_START): Remove unused sp_section
760 parameter and corresponding code.
761 (ARM_FUNC_START): Likewise in both definitions.
762 Also update footer comment about condition that need to match with
763 gcc/config/arm/elf.h to also include libgcc/config/arm/t-arm.
764 * config/arm/ieee754-df.S (muldf3): Also build it if L_arm_muldf3 is
765 defined. Weakly define it in this case.
766 * config/arm/ieee754-sf.S (mulsf3): Likewise with L_arm_mulsf3.
767 * config/arm/t-elf (LIB1ASMFUNCS): Build _arm_muldf3.o and
768 _arm_mulsf3.o before muldiv versions if targeting Thumb-1 only. Add
769 comment to keep condition in sync with the one in
770 libgcc/config/arm/lib1funcs.S and gcc/config/arm/elf.h.
771
772 2018-12-18 Wei Xiao <wei3.xiao@intel.com>
773
774 * config/i386/cpuinfo.c (get_intel_cpu): Handle cascadelake.
775 * config/i386/cpuinfo.h: Add INTEL_COREI7_CASCADELAKE.
776
777 2018-12-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
778
779 * config/rs6000/tramp.S (__trampoline_setup): Also emit .size
780 and .cfi_endproc directives for VxWorks targets.
781
782 2018-12-05 Paul Koning <ni1d@arrl.net>
783
784 * udivmodhi4.c (__udivmodhi4): Fix loop end check.
785
786 2018-11-27 Alan Modra <amodra@gmail.com>
787
788 * config/rs6000/morestack.S (__stack_split_initialize),
789 (__morestack_get_guard, __morestack_set_guard),
790 (__morestack_make_guard): Provide CFI covering these functions.
791 * config/rs6000/tramp.S (__trampoline_setup): Likewise.
792
793 2018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
794
795 * config/csky/linux-unwind.h (sc_pt_regs): Update for kernel.
796 (sc_pt_regs_lr): Update for kernel.
797 (sc_pt_regs_tls): Update for kernel.
798
799 2018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
800
801 * config/csky/linux-unwind.h: Fix coding style.
802
803 2018-11-13 Xianmiao Qu <xianmiao_qu@c-sky.com>
804
805 * config/csky/linux-unwind.h (_sig_ucontext_t): Remove.
806 (csky_fallback_frame_state): Modify the check of the
807 instructions to adapt to changes in the kernel
808
809 2018-11-09 Stafford Horne <shorne@gmail.com>
810 Richard Henderson <rth@twiddle.net>
811
812 * config.host: Add OpenRISC support.
813 * config/or1k/*: New.
814
815 2018-11-08 Kito Cheng <kito@andestech.com>
816
817 * soft-fp/adddf3.c: Update from glibc.
818 * soft-fp/addsf3.c: Likewise.
819 * soft-fp/addtf3.c: Likewise.
820 * soft-fp/divdf3.c: Likewise.
821 * soft-fp/divsf3.c: Likewise.
822 * soft-fp/divtf3.c: Likewise.
823 * soft-fp/double.h: Likewise.
824 * soft-fp/eqdf2.c: Likewise.
825 * soft-fp/eqsf2.c: Likewise.
826 * soft-fp/eqtf2.c: Likewise.
827 * soft-fp/extenddftf2.c: Likewise.
828 * soft-fp/extended.h: Likewise.
829 * soft-fp/extendhftf2.c: Likewise.
830 * soft-fp/extendsfdf2.c: Likewise.
831 * soft-fp/extendsftf2.c: Likewise.
832 * soft-fp/extendxftf2.c: Likewise.
833 * soft-fp/fixdfdi.c: Likewise.
834 * soft-fp/fixdfsi.c: Likewise.
835 * soft-fp/fixdfti.c: Likewise.
836 * soft-fp/fixhfti.c: Likewise.
837 * soft-fp/fixsfdi.c: Likewise.
838 * soft-fp/fixsfsi.c: Likewise.
839 * soft-fp/fixsfti.c: Likewise.
840 * soft-fp/fixtfdi.c: Likewise.
841 * soft-fp/fixtfsi.c: Likewise.
842 * soft-fp/fixtfti.c: Likewise.
843 * soft-fp/fixunsdfdi.c: Likewise.
844 * soft-fp/fixunsdfsi.c: Likewise.
845 * soft-fp/fixunsdfti.c: Likewise.
846 * soft-fp/fixunshfti.c: Likewise.
847 * soft-fp/fixunssfdi.c: Likewise.
848 * soft-fp/fixunssfsi.c: Likewise.
849 * soft-fp/fixunssfti.c: Likewise.
850 * soft-fp/fixunstfdi.c: Likewise.
851 * soft-fp/fixunstfsi.c: Likewise.
852 * soft-fp/fixunstfti.c: Likewise.
853 * soft-fp/floatdidf.c: Likewise.
854 * soft-fp/floatdisf.c: Likewise.
855 * soft-fp/floatditf.c: Likewise.
856 * soft-fp/floatsidf.c: Likewise.
857 * soft-fp/floatsisf.c: Likewise.
858 * soft-fp/floatsitf.c: Likewise.
859 * soft-fp/floattidf.c: Likewise.
860 * soft-fp/floattihf.c: Likewise.
861 * soft-fp/floattisf.c: Likewise.
862 * soft-fp/floattitf.c: Likewise.
863 * soft-fp/floatundidf.c: Likewise.
864 * soft-fp/floatundisf.c: Likewise.
865 * soft-fp/floatunditf.c: Likewise.
866 * soft-fp/floatunsidf.c: Likewise.
867 * soft-fp/floatunsisf.c: Likewise.
868 * soft-fp/floatunsitf.c: Likewise.
869 * soft-fp/floatuntidf.c: Likewise.
870 * soft-fp/floatuntihf.c: Likewise.
871 * soft-fp/floatuntisf.c: Likewise.
872 * soft-fp/floatuntitf.c: Likewise.
873 * soft-fp/gedf2.c: Likewise.
874 * soft-fp/gesf2.c: Likewise.
875 * soft-fp/getf2.c: Likewise.
876 * soft-fp/half.h: Likewise.
877 * soft-fp/ledf2.c: Likewise.
878 * soft-fp/lesf2.c: Likewise.
879 * soft-fp/letf2.c: Likewise.
880 * soft-fp/muldf3.c: Likewise.
881 * soft-fp/mulsf3.c: Likewise.
882 * soft-fp/multf3.c: Likewise.
883 * soft-fp/negdf2.c: Likewise.
884 * soft-fp/negsf2.c: Likewise.
885 * soft-fp/negtf2.c: Likewise.
886 * soft-fp/op-1.h: Likewise.
887 * soft-fp/op-2.h: Likewise.
888 * soft-fp/op-4.h: Likewise.
889 * soft-fp/op-8.h: Likewise.
890 * soft-fp/op-common.h: Likewise.
891 * soft-fp/quad.h: Likewise.
892 * soft-fp/single.h: Likewise.
893 * soft-fp/soft-fp.h: Likewise.
894 * soft-fp/subdf3.c: Likewise.
895 * soft-fp/subsf3.c: Likewise.
896 * soft-fp/subtf3.c: Likewise.
897 * soft-fp/truncdfsf2.c: Likewise.
898 * soft-fp/trunctfdf2.c: Likewise.
899 * soft-fp/trunctfhf2.c: Likewise.
900 * soft-fp/trunctfsf2.c: Likewise.
901 * soft-fp/trunctfxf2.c: Likewise.
902 * soft-fp/unorddf2.c: Likewise.
903 * soft-fp/unordsf2.c: Likewise.
904 * soft-fp/unordtf2.c: Likewise.
905
906 2018-11-04 Venkataramanan Kumar <Venkataramanan.kumar@amd.com>
907
908 * config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
909 * config/i386/cpuinfo.h (processor_types): Add znver2.
910
911 2018-11-01 Paul Koning <ni1d@arrl.net>
912
913 * config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c.
914 (HOST_LIBGCC2_CFLAGS): Change to optimize for size.
915
916 2018-10-31 Joseph Myers <joseph@codesourcery.com>
917
918 PR bootstrap/82856
919 * configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
920 * configure: Regenerate.
921
922 2018-10-31 Claudiu Zissulescu <claziss@synopsys.com>
923
924 * config/arc/lib1funcs.S (_muldi3): New function.
925 * config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
926
927 2018-10-30 Rasmus Villemoes <rv@rasmusvillemoes.dk>
928
929 * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
930
931 2018-10-25 Martin Liska <mliska@suse.cz>
932
933 PR other/87735
934 * libgcov-profiler.c: Revert.
935
936 2018-10-24 Martin Liska <mliska@suse.cz>
937
938 * libgcov-profiler.c: Start from 1 in order to distinguish
939 functions which were seen and these that were not.
940
941 2018-10-18 Paul Koning <ni1d@arrl.net>
942
943 * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
944 standard.
945 * divmod.c: Update references to __udivmodsi4.
946 * udivmod.c: Ditto.
947 * udivhi3.c: New file.
948 * udivmodhi4.c: New file.
949 * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
950
951 2018-10-17 Rasmus Villemoes <rv@rasmusvillemoes.dk>
952
953 * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
954
955 2018-10-12 Olivier Hainque <hainque@adacore.com>
956
957 * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
958 defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
959
960 2018-10-08 Paul Koning <ni1d@arrl.net>
961
962 * config/pdp11/t-pdp11: Remove -mfloat32 switch.
963
964 2018-10-04 Martin Liska <mliska@suse.cz>
965
966 PR gcov-profile/84107
967 * libgcov-profiler.c (__gcov_indirect_call):
968 Change type to indirect_call_tuple.
969 (struct indirect_call_tuple): New struct.
970 (__gcov_indirect_call_topn_profiler): Change type.
971 (__gcov_indirect_call_profiler_v2): Use the new
972 variables.
973 * libgcov.h (struct indirect_call_tuple): New struct
974 definition.
975
976 2018-10-03 Uros Bizjak <ubizjak@gmail.com>
977
978 * libgcc2.c (isnan): Use __builtin_isnan.
979 (isfinite): Use __builtin_isfinite.
980 (isinf): Use __builtin_isinf.
981
982 2018-09-26 Uros Bizjak <ubizjak@gmail.com>
983
984 * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
985
986 2018-09-21 Alexandre Oliva <oliva@adacore.com>
987
988 * config/vxcache.c: New file. Provide __clear_cache, based on
989 the cacheTextUpdate VxWorks service.
990 * config/t-vxworks (LIB2ADD): Add vxcache.c.
991 (LIB2FUNCS_EXCLUDE): Add _clear_cache.
992 * config/t-vxwoks7: Likewise.
993
994 2018-09-21 Martin Liska <mliska@suse.cz>
995
996 * libgcov-driver.c (crc32_unsigned): Remove.
997 (gcov_histogram_insert): Likewise.
998 (gcov_compute_histogram): Likewise.
999 (compute_summary): Simplify rapidly.
1000 (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
1001 (merge_summary): Rapidly simplify.
1002 (dump_one_gcov): Ignore gcov_summary.
1003 (gcov_do_dump): Do not handle program summary, it's not
1004 used.
1005 * libgcov-util.c (tag_summary): Remove.
1006 (read_gcda_finalize): Fix coding style.
1007 (read_gcda_file): Initialize curr_object_summary.
1008 (compute_summary): Remove.
1009 (calculate_overlap): Remove settings of run_max.
1010
1011 2018-09-21 Monk Chiang <sh.chiang04@gmail.com>
1012
1013 * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
1014 ucontext_t type instead.
1015 (nds32_fallback_frame_state): Remove struct _sigframe statement.
1016
1017 2018-09-21 Kito Cheng <kito.cheng@gmail.com>
1018
1019 * config/nds32/t-nds32-glibc: New file.
1020
1021 2018-09-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1022
1023 * configure.ac (solaris_ld_v2_maps): New test.
1024 * configure: Regenerate.
1025 * Makefile.in (solaris_ld_v2_maps): New variable.
1026 * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
1027 if supported.
1028
1029 2018-08-23 Richard Earnshaw <rearnsha@arm.com>
1030
1031 PR target/86951
1032 * config/arm/lib1funcs.asm (speculation_barrier): New function.
1033 * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
1034 to build.
1035
1036 2018-08-22 Iain Sandoe <iain@sandoe.co.uk>
1037
1038 * config/unwind-dw2-fde-darwin.c
1039 (_darwin10_Unwind_FindEnclosingFunction): move from here ...
1040 * config/darwin10-unwind-find-enc-func.c: … to here.
1041 * config/t-darwin: Build Darwin10 unwinder shim crt.
1042 * libgcc/config.host: Add the Darwin10 unwinder shim.
1043
1044 2018-08-21 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1045
1046 * config.host: Add crtbegin.o and crtend.o for
1047 powerpc-wrs-vxworks target.
1048
1049 2018-08-17 Jojo <jijie_rong@c-sky.com>
1050 Huibin Wang <huibin_wang@c-sky.com>
1051 Sandra Loosemore <sandra@codesourcery.com>
1052 Chung-Lin Tang <cltang@codesourcery.com>
1053
1054 C-SKY port: libgcc
1055
1056 * config.host: Add C-SKY support.
1057 * config/csky/*: New.
1058
1059 2018-08-12 Chung-Ju Wu <jasonwucj@gmail.com>
1060
1061 * config/nds32/t-nds32-isr: Rearrange object dependency.
1062 * config/nds32/initfini.c: Add dwarf2 unwinding support.
1063 * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
1064 and registers usage.
1065 * config/nds32/isr-library/excp_isr.S: Ditto.
1066 * config/nds32/isr-library/intr_isr.S: Ditto.
1067 * config/nds32/isr-library/reset.S: Ditto.
1068 * config/nds32/isr-library/restore_all.inc: Ditto.
1069 * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
1070 * config/nds32/isr-library/restore_partial.inc: Ditto.
1071 * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
1072 * config/nds32/isr-library/save_all.inc: Ditto.
1073 * config/nds32/isr-library/save_mac_regs.inc: Ditto.
1074 * config/nds32/isr-library/save_partial.inc: Ditto.
1075 * config/nds32/isr-library/save_usr_regs.inc: Ditto.
1076 * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
1077
1078 2018-08-11 John David Anglin <danglin@gcc.gnu.org>
1079
1080 * config/pa/linux-atomic.c: Update comment.
1081 (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
1082 COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
1083 SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
1084 __ATOMIC_RELAXED for atomic loads.
1085 (SYNC_LOCK_RELEASE_1): New define. Use __sync_synchronize() and
1086 unordered store to release lock.
1087 (__sync_lock_release_8): Likewise.
1088 (SYNC_LOCK_RELEASE_2): Remove define.
1089
1090 2018-08-02 Nicolas Pitre <nico@fluxnic.net>
1091
1092 PR libgcc/86512
1093 * config/arm/ieee754-df.S: Don't shortcut denormal handling when
1094 exponent goes negative. Update my email address.
1095 * config/arm/ieee754-sf.S: Likewise.
1096
1097 2018-08-01 Martin Liska <mliska@suse.cz>
1098
1099 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
1100 check that __gcov_indirect_call_callee is non-null.
1101
1102 2018-07-30 Christophe Lyon <christophe.lyon@linaro.org>
1103
1104 * config/arm/ieee754-df.S: Fix comment for code working on
1105 architectures >= 4.
1106 * config/arm/ieee754-sf.S: Likewise.
1107
1108 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
1109
1110 PR libgcc/85334
1111 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
1112 Removed.
1113
1114 2018-07-05 James Clarke <jrtc27@jrtc27.com>
1115
1116 * configure: Regenerated.
1117
1118 2018-06-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1119
1120 * Makefile.in (install_leaf): Use enable_gcov instead of
1121 enable_libgcov.
1122
1123 2018-06-27 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1124
1125 * configure.ac: Add --disable-gcov option.
1126 * configure: Regenerate.
1127 * Makefile.in: Honour @enable_gcov@.
1128
1129 2018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
1130
1131 * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
1132 __ARM_ARCH and __ARM_FEATURE_CLZ instead.
1133 (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
1134 * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
1135 __ARM_ARCH__.
1136 * config/arm/ieee754-sf.S: Likewise.
1137 * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
1138
1139 2018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
1140
1141 * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
1142 longer supported.
1143 * config/arm/ieee754-sf.S: Likewise.
1144
1145 2018-06-20 Than McIntosh <thanm@google.com>
1146
1147 PR libgcc/86213
1148 * generic-morestack.c (allocate_segment): Move calls to getenv and
1149 getpagesize to __morestack_load_mmap.
1150 (__morestack_load_mmap) Initialize static_pagesize and
1151 use_guard_page here so as to avoid clobbering SSE regs during a
1152 __morestack call.
1153
1154 2018-06-18 Michael Meissner <meissner@linux.ibm.com>
1155
1156 * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
1157 support modules with -mno-gnu-attribute.
1158 * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
1159
1160 2018-06-07 Olivier Hainque <hainque@adacore.com>
1161
1162 * config/t-vxworks (LIBGCC_INCLUDES): Add
1163 -I$(MULTIBUILDTOP)../../gcc/include.
1164 * config/t-vxworks7: Likewise. Reformat a bit to match
1165 the t-vxworks layout.
1166
1167 2018-06-07 Olga Makhotina <olga.makhotina@intel.com>
1168
1169 * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
1170
1171 2018-06-07 Martin Liska <mliska@suse.cz>
1172
1173 * libgcov-driver.c: Rename cs_all to all and assign it from
1174 all_prg.
1175
1176 2018-06-07 Martin Liska <mliska@suse.cz>
1177
1178 PR bootstrap/86057
1179 * libgcov-driver-system.c (replace_filename_variables): Use
1180 memcpy instead of mempcpy.
1181 (allocate_filename_struct): Do not allocate filename, allocate
1182 prefix and set it.
1183 (gcov_exit_open_gcda_file): Allocate memory for gf->filename
1184 here and properly copy content into it.
1185 * libgcov-driver.c (struct gcov_filename): Remove max_length
1186 field, change prefix from size_t into char *.
1187 (compute_summary): Do not calculate longest filename.
1188 (gcov_do_dump): Release memory of gf.filename after each file.
1189 * libgcov-util.c (compute_summary): Use new signature of
1190 compute_summary.
1191 (calculate_overlap): Likewise.
1192
1193 2018-06-05 Martin Liska <mliska@suse.cz>
1194
1195 PR gcov-profile/47618
1196 * libgcov-driver-system.c (replace_filename_variables): New
1197 function.
1198 (gcov_exit_open_gcda_file): Use it.
1199
1200 2018-06-05 Martin Liska <mliska@suse.cz>
1201
1202 * libgcov-driver.c (gcov_compute_histogram): Remove usage
1203 of gcov_ctr_summary.
1204 (compute_summary): Do it just for a single summary.
1205 (merge_one_data): Likewise.
1206 (merge_summary): Simplify as we read just single summary.
1207 (dump_one_gcov): Pass proper argument.
1208 * libgcov-util.c (compute_one_gcov): Simplify as we have just
1209 single summary.
1210 (gcov_info_count_all_cold): Likewise.
1211 (calculate_overlap): Likewise.
1212
1213 2018-06-02 Chung-Ju Wu <jasonwucj@gmail.com>
1214 Monk Chiang <sh.chiang04@gmail.com>
1215
1216 * config.host (nds32*-linux*): New.
1217 * config/nds32/linux-atomic.c: New file.
1218 * config/nds32/linux-unwind.h: New file.
1219
1220 2018-05-31 Uros Bizjak <ubizjak@gmail.com>
1221
1222 PR target/85591
1223 * config/i386/cpuinfo.c (get_amd_cpu): Return
1224 AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
1225
1226 2018-05-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
1227
1228 * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
1229
1230 2018-05-29 Martin Liska <mliska@suse.cz>
1231
1232 PR gcov-profile/85759
1233 * libgcov-driver-system.c (gcov_error): Introduce usage of
1234 GCOV_EXIT_AT_ERROR env. variable.
1235 * libgcov-driver.c (merge_one_data): Print error that we
1236 overwrite a gcov file with a different timestamp.
1237
1238 2018-05-23 Kalamatee <kalamatee@gmail.com>
1239
1240 * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
1241 path to Lf$finfty.
1242
1243 2018-05-18 Kito Cheng <kito.cheng@gmail.com>
1244 Monk Chiang <sh.chiang04@gmail.com>
1245 Jim Wilson <jimw@sifive.com>
1246
1247 * config/riscv/save-restore.S: Add support for rv32e.
1248
1249 2018-05-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1250
1251 * config/arm/libunwind.S: Update comment relating to armv5.
1252
1253 2018-05-17 Jerome Lambourg <lambourg@adacore.com>
1254
1255 * config/arm/cmse.c (cmse_check_address_range): Replace
1256 UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
1257
1258 2018-05-17 Olga Makhotina <olga.makhotina@intel.com>
1259
1260 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
1261 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
1262
1263 2018-05-08 Olga Makhotina <olga.makhotina@intel.com>
1264
1265 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
1266 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
1267
1268 2018-05-07 Amaan Cheval <amaan.cheval@gmail.com>
1269
1270 * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
1271
1272 2018-04-27 Andreas Tobler <andreast@gcc.gnu.org>
1273 Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
1274
1275 PR libgcc/84292
1276 * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
1277 op_and_fetch to return the right result.
1278
1279 2018-04-27 Alan Modra <amodra@gmail.com>
1280
1281 PR libgcc/85532
1282 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
1283 -fno-asynchronous-unwind-tables.
1284
1285 2018-04-25 Chung-Ju Wu <jasonwucj@gmail.com>
1286
1287 * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
1288 * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
1289
1290 2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
1291
1292 * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
1293 when including "config/i386/shadow-stack-unwind.h".
1294
1295 2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
1296
1297 * configure: Regenerated.
1298
1299 2018-04-20 Michael Meissner <meissner@linux.ibm.com>
1300
1301 PR target/85456
1302 * config/rs6000/_powikf2.c: New file. Add support for the
1303 __builtin_powil function when long double is IEEE 128-bit floating
1304 point.
1305 * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
1306 __powikf2 support.
1307 (__powikf2): Likewise.
1308 * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
1309 (__powikf2_hw): Likewise.
1310 (__powikf2): Likewise.
1311 * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
1312 * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
1313 (_powikf2-hw.c): Likewise.
1314
1315 2018-04-19 H.J. Lu <hongjiu.lu@intel.com>
1316
1317 PR libgcc/85334
1318 * unwind-generic.h (_Unwind_Frames_Increment): New.
1319 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
1320 Likewise.
1321 * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
1322 count with _Unwind_Frames_Increment.
1323 (_Unwind_ForcedUnwind_Phase2): Likewise.
1324
1325 2018-04-19 H.J. Lu <hongjiu.lu@intel.com>
1326
1327 PR libgcc/85379
1328 * config/i386/morestack.S (__stack_split_initialize): Add
1329 _CET_ENDBR.
1330
1331 2018-04-19 Jakub Jelinek <jakub@redhat.com>
1332
1333 * configure: Regenerated.
1334
1335 2018-04-18 David Malcolm <dmalcolm@redhat.com>
1336
1337 PR jit/85384
1338 * configure: Regenerate.
1339
1340 2018-04-16 Jakub Jelinek <jakub@redhat.com>
1341
1342 PR target/84945
1343 * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
1344 -Wdangling-else warnings. Mask shift counts to avoid
1345 -Wshift-count-negative and -Wshift-count-overflow false positives.
1346
1347 2018-04-06 Ruslan Bukin <br@bsdpad.com>
1348
1349 * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
1350
1351 2018-03-29 H.J. Lu <hongjiu.lu@intel.com>
1352
1353 PR target/85100
1354 * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
1355 (XSTATE_FP): Likewise.
1356 (XSTATE_SSE): Likewise.
1357 (XSTATE_YMM): Likewise.
1358 (XSTATE_OPMASK): Likewise.
1359 (XSTATE_ZMM): Likewise.
1360 (XSTATE_HI_ZMM): Likewise.
1361 (XCR_AVX_ENABLED_MASK): Likewise.
1362 (XCR_AVX512F_ENABLED_MASK): Likewise.
1363 (get_available_features): Enable AVX and AVX512 features only
1364 if their states are supported by OSXSAVE.
1365
1366 2018-03-22 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1367
1368 PR target/85025
1369 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
1370 Fix a typo, tmp => 255.
1371
1372 2018-03-20 Jakub Jelinek <jakub@redhat.com>
1373
1374 PR target/84945
1375 * config/i386/cpuinfo.h (__cpu_features2): Declare.
1376 * config/i386/cpuinfo.c (__cpu_features2): New variable for
1377 ifndef SHARED only.
1378 (set_feature): Define.
1379 (get_available_features): Use set_feature macro. Set __cpu_features2
1380 to the second word of features ifndef SHARED.
1381
1382 2018-03-15 Julia Koval <julia.koval@intel.com>
1383
1384 * config/i386/cpuinfo.c (get_available_features): Add
1385 FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
1386 FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
1387 * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
1388 FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
1389 FEATURE_AVX512BITALG.
1390
1391 2018-03-14 Julia Koval <julia.koval@intel.com>
1392
1393 * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
1394 icelake client and icelake server.
1395
1396 2018-03-06 John David Anglin <danglin@gcc.gnu.org>
1397
1398 * config/pa/fptr.c (_dl_read_access_allowed): New.
1399 (__canonicalize_funcptr_for_compare): Use it.
1400
1401 2018-02-28 Jakub Jelinek <jakub@redhat.com>
1402
1403 PR debug/83917
1404 * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
1405 $asm_hidden_op if visibility ("hidden") attribute works.
1406 (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
1407 * config/i386/i386-asm.h: Don't include auto-host.h.
1408 (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
1409 PACKAGE_URL): Don't undefine.
1410 (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
1411 guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
1412 (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
1413 #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
1414 definition instead of hardcoded .hidden.
1415 * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
1416 directive. Use #ifdef HAVE_AS_CFI_SECTIONS rather than
1417 #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
1418 (USE_GAS_CFI_DIRECTIVES): Don't define.
1419 * configure: Regenerated.
1420 * config.in: Likewise.
1421
1422 2018-02-26 Jakub Jelinek <jakub@redhat.com>
1423
1424 PR debug/83917
1425 * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
1426 PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
1427 inclusion of auto-target.h and auto-host.h.
1428 (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
1429 __GCC_HAVE_DWARF2_CFI_ASM.
1430 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
1431 cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
1432 cfi_pop): Define.
1433 * config/i386/cygwin.S: Don't include auto-host.h here, just
1434 define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
1435 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
1436 cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
1437 * config/i386/resms64fx.h: Add cfi_* directives.
1438 * config/i386/resms64x.h: Likewise.
1439
1440 2018-02-20 Max Filippov <jcmvbkbc@gmail.com>
1441
1442 * config/xtensa/ieee754-df.S (__adddf3_aux): Add
1443 .literal_position directive.
1444 * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
1445
1446 2018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1447
1448 PR target/84148
1449 * configure: Regenerate.
1450
1451 2018-02-16 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1452
1453 PR target/84239
1454 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
1455 Include cetintrin.h not x86intrin.h.
1456
1457 2018-02-08 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1458
1459 PR target/84239
1460 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
1461 Use new _get_ssp and _inc_ssp intrinsics.
1462
1463 2018-02-02 Julia Koval <julia.koval@intel.com>
1464
1465 * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
1466
1467 2018-01-26 Claudiu Zissulescu <claziss@synopsys.com>
1468
1469 * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
1470 option.
1471 (__divsi3): Use RF16 safe registers.
1472 (__modsi3): Likewise.
1473
1474 2018-01-23 Max Filippov <jcmvbkbc@gmail.com>
1475
1476 * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
1477 (__divsf3): Make NaN return value quiet.
1478 * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
1479 (__divdf3): Make NaN return value quiet.
1480
1481 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
1482
1483 * config/rl78/anddi3.S: New assembly file.
1484 * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
1485
1486 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
1487
1488 * config/rl78/umindi3.S: New assembly file.
1489 * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
1490
1491 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
1492
1493 * config/rl78/smindi3.S: New assembly file.
1494 * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
1495
1496 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
1497
1498 * config/rl78/smaxdi3.S: New assembly file.
1499 * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
1500
1501 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
1502
1503 * config/rl78/umaxdi3.S: New assembly file.
1504 * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
1505
1506 2018-01-21 John David Anglin <danglin@gcc.gnu.org>
1507
1508 PR lto/83452
1509 * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
1510 * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
1511
1512 2018-01-13 Richard Sandiford <richard.sandiford@linaro.org>
1513
1514 * config/aarch64/value-unwind.h (aarch64_vg): New function.
1515 (DWARF_LAZY_REGISTER_VALUE): Define.
1516 * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
1517 to provide a fallback register value.
1518
1519 2018-01-08 Michael Meissner <meissner@linux.vnet.ibm.com>
1520
1521 * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
1522 __ibm128, instead of trying to use long double.
1523 (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
1524 accomidate -mabi=ieeelongdouble multilibs.
1525 (CVT_IBM128_TO_FLOAT128): Likewise.
1526 * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
1527 the appropriate IBM extended double type.
1528 (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
1529 (__gcc_qsub): Likewise.
1530 (__gcc_qmul): Likewise.
1531 (__gcc_qdiv): Likewise.
1532 (pack_ldouble): Likewise.
1533 (__gcc_qneg): Likewise.
1534 (__gcc_qeq): Likewise.
1535 (__gcc_qne): Likewise.
1536 (__gcc_qge): Likewise.
1537 (__gcc_qle): Likewise.
1538 (__gcc_stoq): Likewise.
1539 (__gcc_dtoq): Likewise.
1540 (__gcc_itoq): Likewise.
1541 (__gcc_utoq): Likewise.
1542 (__gcc_qunord): Likewise.
1543 * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
1544 quad-float128.h for the definitions.
1545 (COPYSIGN): Use the f128 version instead of the q version.
1546 (INFINITY): Likewise.
1547 (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
1548 * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
1549 quad-float128.h for the definitions.
1550 (COPYSIGN): Use the f128 version instead of the q version.
1551 (INFINITY): Likewise.
1552 (FABS): Likewise.
1553 (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
1554 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
1555 * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
1556
1557 2018-01-05 Sebastian Huber <sebastian.huber@embedded-brains.de>
1558
1559 * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
1560 configuration.
1561
1562 2018-01-03 Jakub Jelinek <jakub@redhat.com>
1563
1564 Update copyright years.
1565
1566 2017-12-12 Kito Cheng <kito.cheng@gmail.com>
1567
1568 * config/riscv/t-elf: Use multi3.c instead of multi3.S.
1569 * config/riscv/multi3.c: New file.
1570 * config/riscv/multi3.S: Remove.
1571
1572 2017-12-08 Jim Wilson <jimw@sifive.com>
1573
1574 * config/riscv/div.S: Use FUNC_* macros.
1575 * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
1576 * config/riscv/save-restore.S: Likewise.
1577 * config/riscv/riscv-asm.h: New.
1578
1579 2017-11-30 Michael Meissner <meissner@linux.vnet.ibm.com>
1580
1581 * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
1582 * config/rs6000/_divkc3.c (__divkc3): Likewise.
1583
1584 PR libgcc/83112
1585 * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
1586 correct type for all ifunc resolvers to silence -Wattribute-alias
1587 warnings. Eliminate the forward declaration of the resolver
1588 functions which is no longer needed.
1589 (__subkf3_resolve): Likewise.
1590 (__mulkf3_resolve): Likewise.
1591 (__divkf3_resolve): Likewise.
1592 (__negkf2_resolve): Likewise.
1593 (__eqkf2_resolve): Likewise.
1594 (__nekf2_resolve): Likewise.
1595 (__gekf2_resolve): Likewise.
1596 (__gtkf2_resolve): Likewise.
1597 (__lekf2_resolve): Likewise.
1598 (__ltkf2_resolve): Likewise.
1599 (__unordkf2_resolve): Likewise.
1600 (__extendsfkf2_resolve): Likewise.
1601 (__extenddfkf2_resolve): Likewise.
1602 (__trunckfsf2_resolve): Likewise.
1603 (__trunckfdf2_resolve): Likewise.
1604 (__fixkfsi_resolve): Likewise.
1605 (__fixkfdi_resolve): Likewise.
1606 (__fixunskfsi_resolve): Likewise.
1607 (__fixunskfdi_resolve): Likewise.
1608 (__floatsikf_resolve): Likewise.
1609 (__floatdikf_resolve): Likewise.
1610 (__floatunsikf_resolve): Likewise.
1611 (__floatundikf_resolve): Likewise.
1612 (__extendkftf2_resolve): Likewise.
1613 (__trunctfkf2_resolve): Likewise.
1614
1615 PR libgcc/83103
1616 * config/rs6000/quad-float128.h (TF): Don't define if long double
1617 is IEEE 128-bit floating point.
1618 (TCtype): Define as either TCmode or KCmode, depending on whether
1619 long double is IEEE 128-bit floating point.
1620 (__mulkc3_sw): Add declarations for software/hardware versions of
1621 complex multiply/divide.
1622 (__divkc3_sw): Likewise.
1623 (__mulkc3_hw): Likewise.
1624 (__divkc3_hw): Likewise.
1625 * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
1626 handlers to switch between using software emulation and hardware
1627 float128 instructions, build the complex multiply/divide functions
1628 for both software and hardware support.
1629 * config/rs6000/_divkc3.c (_divkc3): Likewise.
1630 * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
1631 (__divkc3_resolve): Likewise.
1632 (__mulkc3): Likewise.
1633 (__divkc3): Likewise.
1634 * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
1635 (fp128_hw_src): Likewise.
1636 (fp128_hw_static_obj): Likewise.
1637 (fp128_hw_shared_obj): Likewise.
1638 (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
1639 _mulkc3.c and _divkc3.c, changing the function name.
1640 (_divkc3-hw.c): Likewise.
1641 * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
1642 and _divkc3-hw.c.
1643
1644 2017-11-26 Julia Koval <julia.koval@intel.com>
1645
1646 * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
1647 * config/i386/cpuinfo.h (processor_subtypes): Add
1648 INTEL_COREI7_CANNONLAKE.
1649
1650 2017-11-20 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1651
1652 PR bootstrap/83015
1653 * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
1654 parameter.
1655 * config/xtensa/unwind-dw2-xtensa.c: Likewise
1656 * config/ia64/unwind-ia64.c: Add frames parameter.
1657 * unwind-sjlj.c: Likewise.
1658
1659 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1660
1661 * config/i386/linux-unwind.h: Include
1662 config/i386/shadow-stack-unwind.h.
1663 * config/i386/shadow-stack-unwind.h: New file.
1664 * unwind-dw2.c: (uw_install_context): Add a frame parameter and
1665 pass it to _Unwind_Frames_Extra.
1666 * unwind-generic.h (_Unwind_Frames_Extra): New.
1667 * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
1668 parameter. Add local variable frames to count number of frames.
1669 (_Unwind_ForcedUnwind_Phase2): Likewise.
1670 (_Unwind_RaiseException): Add local variable frames to count
1671 number of frames, pass it to _Unwind_RaiseException_Phase2 and
1672 uw_install_context.
1673 (_Unwind_ForcedUnwind): Likewise.
1674 (_Unwind_Resume): Likewise.
1675 (_Unwind_Resume_or_Rethrow): Likewise.
1676
1677 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1678
1679 * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
1680 (CET_FLAGS): New.
1681 * config/i386/morestack.S: Include <cet.h>.
1682 (__morestack_large_model): Add _CET_ENDBR at function entrance.
1683 * config/i386/resms64.h: Include <cet.h>.
1684 * config/i386/resms64f.h: Likewise.
1685 * config/i386/resms64fx.h: Likewise.
1686 * config/i386/resms64x.h: Likewise.
1687 * config/i386/savms64.h: Likewise.
1688 * config/i386/savms64f.h: Likewise.
1689 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
1690 (CRTSTUFF_T_CFLAGS): Likewise.
1691 * configure.ac: Include ../config/cet.m4.
1692 Set and substitute CET_FLAGS.
1693 * configure: Regenerated.
1694
1695 2017-11-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1696
1697 * config.host (*-*-solaris2*): Adapt comment for Solaris 12
1698 renaming.
1699 * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
1700 * configure.ac (libgcc_cv_solaris_crts): Likewise.
1701 * configure: Regenerate.
1702
1703 2017-11-07 Tom de Vries <tom@codesourcery.com>
1704
1705 * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
1706 after "do {} while (0)".
1707
1708 2017-11-07 Tom de Vries <tom@codesourcery.com>
1709
1710 PR other/82784
1711 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
1712 semicolon after "do {} while (0)".
1713 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1714 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1715 * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1716 * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1717
1718 2017-11-04 Andreas Tobler <andreast@gcc.gnu.org>
1719
1720 PR libgcc/82635
1721 * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
1722 sysctl to determine whether we're in a trampoline.
1723 Keep the pattern matching method for systems without
1724 KERN_PROC_SIGTRAMP sysctl.
1725
1726 2017-11-03 Cupertino Miranda <cmiranda@synopsys.com>
1727 Vineet Gupta <vgupta@synopsys.com>
1728
1729 * config.host (arc*-*-linux*): Set md_unwind_header variable.
1730 * config/arc/linux-unwind-reg.def: New file.
1731 * config/arc/linux-unwind-reg.h: Likewise.
1732
1733 2017-10-23 Sebastian Perta <sebastian.perta@renesas.com>
1734
1735 * config/rl78/subdi3.S: New assembly file.
1736 * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
1737
1738 2017-10-13 Sebastian Perta <sebastian.perta@renesas.com>
1739
1740 * config/rl78/adddi3.S: New assembly file.
1741 * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
1742
1743 2017-10-13 Jakub Jelinek <jakub@redhat.com>
1744
1745 PR target/82274
1746 * libgcc2.c (__mulvDI3): If both operands have
1747 the same highpart of -1 and the topmost bit of lowpart is 0,
1748 multiplication overflows even if both lowparts are 0.
1749
1750 2017-09-28 James Bowman <james.bowman@ftdichip.com>
1751
1752 * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
1753
1754 2017-09-26 Joseph Myers <joseph@codesourcery.com>
1755
1756 * config/microblaze/crti.S, config/microblaze/crtn.S,
1757 config/microblaze/divsi3.S, config/microblaze/moddi3.S,
1758 config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
1759 config/microblaze/mulsi3.S,
1760 config/microblaze/stack_overflow_exit.S,
1761 config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
1762 config/pa/milli64.S: Add .note.GNU-stack section.
1763
1764 2017-09-23 Daniel Santos <daniel.santos@pobox.com>
1765
1766 * configure.ac: Add Check for HAVE_AS_AVX.
1767 * config.in: Regenerate.
1768 * configure: Likewise.
1769 * config/i386/i386-asm.h: Include auto-target.h from libgcc.
1770 (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
1771 Correct out-of-date comments.
1772
1773 2017-09-20 Sebastian Peryt <sebastian.peryt@intel.com>
1774
1775 * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
1776 * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
1777
1778 2017-09-17 Daniel Santos <daniel.santos@pobox.com>
1779
1780 * config/i386/i386-asm.h (PASTE2): New macro.
1781 (ASMNAME): Modify to use PASTE2.
1782 (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
1783 (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
1784 * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
1785 instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
1786 * config/i386/resms64f.S: Likewise.
1787 * config/i386/resms64fx.S: Likewise.
1788 * config/i386/resms64x.S: Likewise.
1789 * config/i386/savms64.S: Likewise.
1790 * config/i386/savms64f.S: Likewise.
1791 * config/i386/avx_resms64.S: New file that only defines a macro and
1792 includes it's corresponding header file.
1793 * config/i386/avx_resms64f.S: Likewise.
1794 * config/i386/avx_resms64fx.S: Likewise.
1795 * config/i386/avx_resms64x.S: Likewise.
1796 * config/i386/avx_savms64.S: Likewise.
1797 * config/i386/avx_savms64f.S: Likewise.
1798 * config/i386/sse_resms64.S: Likewise.
1799 * config/i386/sse_resms64f.S: Likewise.
1800 * config/i386/sse_resms64fx.S: Likewise.
1801 * config/i386/sse_resms64x.S: Likewise.
1802 * config/i386/sse_savms64.S: Likewise.
1803 * config/i386/sse_savms64f.S: Likewise.
1804 * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
1805
1806 2017-09-01 Olivier Hainque <hainque@adacore.com>
1807 * config.host (*-*-vxworks7): Widen scope to vxworks7*.
1808
1809 2017-08-31 Olivier Hainque <hainque@adacore.com>
1810
1811 * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
1812 match as powerpc-wrs-vxworks*.
1813
1814 2017-08-07 Jonathan Yong <10walls@gmail.com>
1815
1816 * config.host (*-cygwin): Include file from mingw
1817 config/i386/enable-execute-stack-mingw32.c
1818
1819 2017-08-01 Jerome Lambourg <lambourg@adacore.com>
1820 Doug Rupp <rupp@adacore.com>
1821 Olivier Hainque <hainque@adacore.com>
1822
1823 * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
1824 as well as arm-wrs-vxworks.
1825 * config/arm/t-vxworks7: New file. Add unwind-arm-vxworks.c to
1826 LIB2ADDEH.
1827 * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
1828 __exidx_start and __exidx_end for downloadable modules.
1829
1830 2017-08-01 Olivier Hainque <hainque@adacore.com>
1831
1832 * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
1833 * config/t-vxworks7: Likewise.
1834
1835 2017-08-01 Olivier Hainque <hainque@adacore.com>
1836
1837 * config/t-vxworks: Instead of redefining LIB2ADD,
1838 augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
1839
1840 2017-07-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1841
1842 * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
1843
1844 2017-07-24 Daniel Santos <daniel.santos@pobox.com>
1845
1846 PR testsuite/80759
1847 * config.host: include i386/t-msabi for darwin and solaris.
1848 * config/i386/i386-asm.h
1849 (ELFFN): Rename to FN_TYPE.
1850 (FN_SIZE): New macro.
1851 (FN_HIDDEN): Likewise.
1852 (ASMNAME): Likewise.
1853 (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
1854 .globl.
1855 (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
1856 (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
1857 * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
1858 .macro.
1859 * config/i386/resms64f.S: Likewise.
1860 * config/i386/resms64fx.S: Likewise.
1861 * config/i386/resms64x.S: Likewise.
1862 * config/i386/savms64.S: Likewise.
1863 * config/i386/savms64f.S: Likewise.
1864
1865 2017-07-19 John Marino <gnugcc@marino.st>
1866
1867 * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
1868
1869 2017-07-12 Michael Meissner <meissner@linux.vnet.ibm.com>
1870
1871 PR target/81193
1872 * configure.ac (PowerPC float128 hardware support): Test whether
1873 we can use __builtin_cpu_supports before enabling the ifunc
1874 handler.
1875 * configure: Regenerate.
1876
1877 2017-07-10 Vineet Gupta <vgupta@synopsys.com>
1878
1879 * config.host: Remove uclibc from arc target spec.
1880
1881 2017-07-09 Krister Walfridsson <krister.walfridsson@gmail.com>
1882
1883 * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
1884
1885 2017-07-07 Peter Bergner <bergner@vnet.ibm.com>
1886
1887 * config/rs6000/float128-ifunc.c: Don't include auxv.h.
1888 (have_ieee_hw_p): Delete function.
1889 (SW_OR_HW) Use __builtin_cpu_supports().
1890
1891 2017-07-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
1892
1893 * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
1894
1895 2017-07-03 Olivier Hainque <hainque@adacore.com>
1896
1897 * config/t-vxworks7: New file, really.
1898
1899 2017-06-28 Joseph Myers <joseph@codesourcery.com>
1900
1901 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
1902 config/alpha/linux-unwind.h (alpha_fallback_frame_state),
1903 config/bfin/linux-unwind.h (bfin_fallback_frame_state),
1904 config/i386/linux-unwind.h (x86_64_fallback_frame_state,
1905 x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
1906 uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
1907 config/pa/linux-unwind.h (pa32_fallback_frame_state),
1908 config/riscv/linux-unwind.h (riscv_fallback_frame_state),
1909 config/sh/linux-unwind.h (sh_fallback_frame_state),
1910 config/tilepro/linux-unwind.h (tile_fallback_frame_state),
1911 config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
1912 ucontext_t instead of struct ucontext.
1913
1914 2017-06-27 Jerome Lambourg <lambourg@adacore.com>
1915
1916 * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
1917 (x86_64-wrs-vxworks7): Likewise.
1918
1919 2017-06-27 Olivier Hainque <hainque@adacore.com>
1920
1921 * config/t-vxworks7: New file.
1922 * config.host (*-*-vxworks7): Use it.
1923
1924 2017-06-22 Matt Turner <mattst88@gmail.com>
1925
1926 * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
1927 skylake case.
1928
1929 2017-06-21 Richard Biener <rguenther@suse.de>
1930
1931 PR gcov-profile/81080
1932 * configure.ac: Add AC_SYS_LARGEFILE.
1933 * libgcov.h: Include auto-target.h before tsystem.h to pick
1934 up _FILE_OFFSET_BITS which might differ for multilibs.
1935 * config.in: Regenerate.
1936 * configure: Likewise.
1937
1938 2017-06-16 Richard Earnshaw <rearnsha@arm.com>
1939
1940 * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
1941
1942 2017-06-09 Martin Liska <mliska@suse.cz>
1943
1944 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
1945 Reset __gcov_indirect_call_callee to NULL.
1946
1947 2017-06-08 Olivier Hainque <hainque@adacore.com>
1948
1949 * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
1950 the set of -I options, support for direct inclusions of net/uio.h
1951 by VxWorks header files via ioLib.h.
1952
1953 2017-06-07 Tony Reix <tony.reix@atos.net>
1954 Matthieu Sarter <matthieu.sarter.external@atos.net>
1955 David Edelsohn <dje.gcc@gmail.com>
1956
1957 * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
1958 unconditionally.
1959 (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support. Add 32-bit
1960 AIX 7.2 support.
1961
1962 2017-06-02 Olivier Hainque <hainque@adacore.com>
1963
1964 * config/vxlib.c (__gthread_once): Add missing value to
1965 return statement.
1966
1967 2017-05-30 Olivier Hainque <hainque@adacore.com>
1968
1969 * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
1970 dollar sign before $(MULTIDIR).
1971
1972 2017-05-26 Richard Henderson <rth@redhat.com>
1973
1974 PR libgcc/80037
1975 * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
1976
1977 2017-05-17 Andreas Tobler <andreast@gcc.gnu.org>
1978
1979 * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
1980 _Unwind_SetIP available as functions for arm*-*-freebsd*.
1981 * config/arm/unwind-arm.c: Implement the above.
1982
1983 2017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1984
1985 * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
1986 section for a non-executable stack.
1987
1988 2017-05-14 Krister Walfridsson <krister.walfridsson@gmail.com>
1989
1990 PR target/80600
1991 * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
1992
1993 2017-05-14 Daniel Santos <daniel.santos@pobox.com>
1994
1995 * config.host: Add i386/t-msabi to i386/t-linux file list.
1996 * config/i386/i386-asm.h: New file.
1997 * config/i386/resms64.S: New file.
1998 * config/i386/resms64f.S: New file.
1999 * config/i386/resms64fx.S: New file.
2000 * config/i386/resms64x.S: New file.
2001 * config/i386/savms64.S: New file.
2002 * config/i386/savms64f.S: New file.
2003 * config/i386/t-msabi: New file.
2004
2005 2017-05-09 Andreas Tobler <andreast@gcc.gnu.org>
2006
2007 * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
2008 arm*-*-freebsd* instead of the t-slibgcc-libgcc.
2009
2010 2017-05-05 Joshua Conner <joshconner@google.com>
2011
2012 * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
2013 pc-relative indirect handling for fuchsia.
2014 * config/t-slibgcc-fuchsia: New file.
2015 * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
2016 x86_64-*-fuchsia*): Add definitions.
2017
2018 2017-04-19 Martin Liska <mliska@suse.cz>
2019
2020 PR gcov-profile/80435
2021 * Makefile.in: Install gcov.h.
2022 * gcov.h: New file.
2023 * libgcov.h: Use the header and make __gcov_flush publicly
2024 visible.
2025
2026 2017-04-18 Martin Liska <mliska@suse.cz>
2027
2028 PR gcov-profile/78783
2029 * libgcov-driver.c (gcov_get_filename): New function.
2030
2031 2017-04-07 Jeff Law <law@redhat.com>
2032
2033 * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
2034 target makefile fragment.
2035 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
2036
2037 2017-04-07 Alan Modra <amodra@gmail.com>
2038
2039 PR target/45053
2040 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
2041
2042 2017-04-03 Jonathan Wakely <jwakely@redhat.com>
2043
2044 * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
2045
2046 2017-03-27 Claudiu Zissulescu <claziss@synopsys.com>
2047
2048 * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
2049
2050 2017-03-10 John Marino <gnugcc@marino.st>
2051
2052 * config/aarch64/freebsd-unwind.h: New file.
2053 * config.host: Add aarch64-*-freebsd unwinder.
2054
2055 2017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
2056
2057 * config/rs6000/crtrestvr.s: Use .machine altivec.
2058 * config/rs6000/crtsavevr.s: Ditto.
2059
2060 2017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
2061
2062 * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
2063 modify CFLAGS. Add -mabi=altivec -mvsx -mfloat128.
2064 (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
2065 -mfloat128-hardware to the CFLAGS. Fix syntax error in the C snippet.
2066 * configure: Regenerate.
2067 * config.in: Regenerate.
2068
2069 2017-03-02 Jonathan Yong <10walls@gmail.com>
2070
2071 * config/i386/gthr-win32.h: Define NOGDI before
2072 windows.h include to prevent w32api CC_NONE macro
2073 clash with libgfortran.
2074
2075 2017-03-02 Jonathan Yong <10walls@gmail.com>
2076
2077 * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
2078
2079 2017-02-16 Andrew Pinski <apinski@cavium.com>
2080
2081 * config/aarch64/value-unwind.h: New file.
2082 * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
2083 to tm_file.
2084
2085 2017-02-06 Palmer Dabbelt <palmer@dabbelt.com>
2086
2087 * config.host: Add RISC-V tuples.
2088 * config/riscv/atomic.c: New file.
2089 * config/riscv/crti.S: Likewise.
2090 * config/riscv/crtn.S: Likewise.
2091 * config/riscv/div.S: Likewise.
2092 * config/riscv/linux-unwind.h: Likewise.
2093 * config/riscv/muldi3.S: Likewise.
2094 * config/riscv/multi3.S: Likewise.
2095 * config/riscv/save-restore.S: Likewise.
2096 * config/riscv/sfp-machine.h: Likewise.
2097 * config/riscv/t-elf: Likewise.
2098 * config/riscv/t-elf32: Likewise.
2099 * config/riscv/t-elf64: Likewise.
2100 * config/riscv/t-softfp32: Likewise.
2101 * config/riscv/t-softfp64: Likewise.
2102
2103 2017-01-24 Jakub Jelinek <jakub@redhat.com>
2104
2105 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
2106 /* FALLTHRU */ comments.
2107
2108 2017-01-21 Gerald Pfeifer <gerald@pfeifer.com>
2109
2110 * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
2111
2112 2017-01-20 Jiong Wang <jiong.wang@arm.com>
2113
2114 * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
2115 * unwind-dw2.c (execute_cfa_program): Only multiplexing
2116 DW_CFA_GNU_window_save for AArch64 and LP64.
2117
2118 2017-01-20 Jiong Wang <jiong.wang@arm.com>
2119
2120 * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
2121
2122 2017-01-19 Jiong Wang <jiong.wang@arm.com>
2123
2124 * config/aarch64/aarch64-unwind.h: New file.
2125 (DWARF_REGNUM_AARCH64_RA_STATE): Define.
2126 (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
2127 (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
2128 (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
2129 (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
2130 (aarch64_post_extract_frame_addr): New function.
2131 (aarch64_post_frob_eh_handler_addr): New function.
2132 (aarch64_frob_update_context): New function.
2133 * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
2134 * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
2135 aarch64*-*-freebsd*):
2136 Initialize md_unwind_header to include aarch64-unwind.h.
2137 * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
2138 (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
2139 __aarch64__.
2140 (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
2141 (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
2142 (uw_frob_return_addr): New function.
2143 (uw_install_context): Use uw_frob_return_addr.
2144
2145 2017-01-17 Jakub Jelinek <jakub@redhat.com>
2146
2147 PR other/79046
2148 * configure.ac: Add GCC_BASE_VER.
2149 * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
2150 version from BASE-VER file.
2151 * configure: Regenerated.
2152
2153 2017-01-13 Joe Seymour <joe.s@somniumtech.com>
2154
2155 * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
2156 libmul_f5.a): Filter archived prerequisites.
2157
2158 2017-01-10 Andrew Senkevich <andrew.senkevich@intel.com>
2159
2160 * config/i386/cpuinfo.h (processor_features): Add
2161 FEATURE_AVX512VPOPCNTDQ.
2162 * config/i386/cpuinfo.c (get_available_features): Habdle new
2163 feature.
2164
2165 2017-01-04 Joseph Myers <joseph@codesourcery.com>
2166
2167 * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
2168 payload if [__mips_nan2008].
2169
2170 2017-01-04 Alan Modra <amodra@gmail.com>
2171
2172 * Makefile.in (configure_deps): Update.
2173 * configure: Regenerate.
2174
2175 2017-01-01 Jakub Jelinek <jakub@redhat.com>
2176
2177 Update copyright years.
2178
2179 2016-12-19 Krister Walfridsson <krister.walfridsson@gmail.com>
2180
2181 * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
2182 * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
2183 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
2184
2185 2016-12-17 Matthias Klose <doko@ubuntu.com>
2186
2187 * config/arc/gmon: Remove empty directory.
2188
2189 2016-12-16 Claudiu Zissulescu <claziss@synopsys.com>
2190
2191 * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
2192 crtgend.
2193 (arc*-*-elf*): Likewise.
2194 * config/arc/t-arc: Remove old gmon lib targets.
2195 * config/arc/crtg.S: Remove.
2196 * config/arc/crtgend.S: Likewise.
2197 * config/arc/gmon/atomic.h: Likewise.
2198 * config/arc/gmon/auxreg.h: Likewise.
2199 * config/arc/gmon/dcache_linesz.S: Likewise.
2200 * config/arc/gmon/gmon.c: Likewise.
2201 * config/arc/gmon/machine-gmon.h: Likewise.
2202 * config/arc/gmon/mcount.c: Likewise.
2203 * config/arc/gmon/prof-freq-stub.S: Likewise.
2204 * config/arc/gmon/prof-freq.c: Likewise.
2205 * config/arc/gmon/profil.S: Likewise.
2206 * config/arc/gmon/sys/gmon.h: Likewise.
2207 * config/arc/gmon/sys/gmon_out.h: Likewise.
2208 * config/arc/t-arc-newlib: Likewise.
2209 * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
2210
2211 2016-12-12 George Spelvin <linux@sciencehorizons.net>
2212
2213 * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
2214
2215 2016-12-12 George Spelvin <linux@sciencehorizons.net>
2216
2217 * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
2218 R16 instead of push + pop.
2219 (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
2220
2221 2016-12-10 Krister Walfridsson <krister.walfridsson@gmail.com>
2222
2223 * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
2224 tmake_file.
2225
2226 2016-12-05 Cupertino Miranda <cmiranda@synopsys.com>
2227
2228 * config.host (arc*-*-linux-uclibc*): Use default extra
2229 objects. Include linux-android header.
2230 * config/arc/crti.S (_init): Declare symbol as function.
2231 (_fini): Likewise.
2232
2233 2016-12-03 Thomas Koenig <tkoenig@gcc.gnu.org>
2234
2235 PR fortran/78379
2236 * config/i386/cpuinfo.c: Move denums for processor vendors,
2237 processor type, processor subtypes and declaration of
2238 struct __processor_model into
2239 * config/i386/cpuinfo.h: New header file.
2240
2241 2016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
2242 Thomas Preud'homme <thomas.preudhomme@arm.com>
2243
2244 * config/arm/cmse_nonsecure_call.S: New.
2245 * config/arm/t-arm: Compile cmse_nonsecure_call.S
2246
2247 2016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
2248 Thomas Preud'homme <thomas.preudhomme@arm.com>
2249
2250 * config/arm/t-arm (HAVE_CMSE): New.
2251 * config/arm/cmse.c: New.
2252
2253 2016-11-28 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2254
2255 PR gcc/74748
2256 * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
2257 use generic linker version information on Blackfin.
2258
2259 PR gcc/74748
2260 * libgcc/mkmap-symver.awk: add support for skip_underscore
2261
2262 2016-11-27 Iain Sandoe <iain@codesourcery.com>
2263 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2264
2265 PR target/67710
2266 * config/t-darwin: Default builds to 10.5 codegen.
2267
2268 2016-11-24 James Greenhalgh <james.greenhalgh@arm.com>
2269
2270 * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
2271 (_FP_NANSIGN_H): Likewise.
2272 * config/aarch64/t-softfp (softfp_extensions): Add hftf.
2273 (softfp_truncations): Add tfhf.
2274 (softfp_extras): Add required conversion functions.
2275
2276 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
2277 Matthew Wahab <matthew.wahab@arm.com>
2278
2279 * config/arm/fp16.c (binary64): New.
2280 (__gnu_d2h_internal): New.
2281 (__gnu_d2h_ieee): New.
2282 (__gnu_d2h_alternative): New.
2283
2284 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
2285 Matthew Wahab <matthew.wahab@arm.com>
2286
2287 * config/arm/fp16.c (struct format): New.
2288 (binary32): New.
2289 (__gnu_float2h_internal): New. Body moved from
2290 __gnu_f2h_internal and generalize.
2291 (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
2292 Call it with binary32.
2293
2294 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
2295
2296 * soft-fp/extendhftf2.c: Update from glibc.
2297 * soft-fp/fixhfti.c: Likewise.
2298 * soft-fp/fixunshfti.c: Likewise.
2299 * soft-fp/floattihf.c: Likewise.
2300 * soft-fp/floatuntihf.c: Likewise.
2301 * soft-fp/half.h: Likewise.
2302 * soft-fp/trunctfhf2.c: Likewise.
2303
2304 2016-11-20 Marc Glisse <marc.glisse@inria.fr>
2305
2306 PR libgcc/77813
2307 * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
2308 __TMC_END__ behind a passthrough asm.
2309
2310 2016-11-18 Walter Lee <walt@tilera.com>
2311
2312 * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
2313
2314 2016-11-17 Andrew Senkevich <andrew.senkevich@intel.com>
2315
2316 * config/i386/cpuinfo.c (processor_features): Add
2317 FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
2318
2319 2016-11-17 Claudiu Zissulescu <claziss@synopsys.com>
2320
2321 * config/arc/dp-hack.h (ARC_OPTFPE): Define.
2322 (__ARC_NORM__): Use instead ARC_OPTFPE.
2323 * config/arc/fp-hack.h: Likewise.
2324 * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
2325 (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
2326
2327 2016-11-16 Alexander Monakov <amonakov@ispras.ru>
2328
2329 * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
2330 * config/nvptx/mgomp.c: New file.
2331 * config/nvptx/t-nvptx: Add mgomp.c
2332
2333 2016-11-16 Waldemar Brodkorb <wbx@openadk.org>
2334
2335 PR libgcc/68468
2336 * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
2337
2338 2016-11-15 Claudiu Zissulescu <claziss@synopsys.com>
2339
2340 * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
2341 of checking for cpus.
2342 (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
2343 (__modsi3, __clzsi2): Likewise.
2344
2345 2016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
2346
2347 * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
2348 i386/t-cpuinfo-static instead of i386/t-cpuinfo.
2349 * config/i386/t-cpuinfo-static: New.
2350
2351 2016-11-03 Martin Liska <mliska@suse.cz>
2352
2353 * libgcov-profiler.c (__gcov_time_profiler): Remove.
2354 (__gcov_time_profiler_atomic): Likewise.
2355
2356 2016-11-03 Bernd Edlinger <bernd.edlinger@hotmail.de>
2357
2358 PR libgcc/78067
2359 * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
2360 count_leading_zeros.
2361
2362 2016-11-02 Uros Bizjak <ubizjak@gmail.com>
2363
2364 * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
2365 * libgcc2.c (__divmoddi4): New function.
2366 * libgcc2.h (__divmoddi4): Declare.
2367 * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
2368 and __PFX_divmodti4.
2369
2370 2016-10-24 Florian Weimer <fweimer@redhat.com>
2371
2372 PR libgcc/78064
2373 * unwind-c.c: Include auto-target.h.
2374
2375 2016-10-19 John David Anglin <danglin@gcc.gnu.org>
2376
2377 * config/pa/pa64-hpux-lib.h: New file.
2378 (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
2379 (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
2380 * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
2381 hppa*64*-*-hpux11*.
2382
2383 2016-10-18 Max Filippov <jcmvbkbc@gmail.com>
2384
2385 * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
2386 definition.
2387 * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
2388 definition.
2389 * config/xtensa/t-windowed (LIB2ADDEH): Use
2390 LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
2391 or xtensa/t-linux.
2392
2393 2016-10-18 Ding-Kai Chen <dkchen@cadence.com>
2394
2395 * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
2396 __ieee754_sqrt): New functions.
2397 (__divdf3): Add implementation with new FPU instructions under
2398 #if XCHAL_HAVE_DFP_DIV.
2399 * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
2400 __ieee754_sqrtf): New functions.
2401 (__divsf3): Add implementation with new FPU instructions under
2402 #if XCHAL_HAVE_FP_DIV.
2403 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
2404 _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
2405
2406 2016-10-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
2407
2408 * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
2409 equivalent.
2410 * config/tilepro/atomic.c: Likewise and stop casting model to
2411 enum memmodel.
2412
2413 2016-10-10 Joseph Myers <joseph@codesourcery.com>
2414
2415 PR target/77586
2416 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
2417 soft-fp.
2418
2419 2016-10-10 Andreas Tobler <andreast@gcc.gnu.org>
2420
2421 * config.host: Add support for aarch64-*-freebsd*.
2422
2423 2016-10-05 Andreas Schwab <schwab@suse.de>
2424
2425 * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
2426 (.section .init_array): Don't call __do_jv_register_classes.
2427 (.section .init): Likewise.
2428
2429 2016-10-04 Jakub Jelinek <jakub@redhat.com>
2430
2431 * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
2432 (__JCR_LIST__): Remove.
2433 (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
2434 * config/i386/cygming-crtend.c (__JCR_END__): Remove.
2435 * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
2436 * config/ia64/crtend.S (__JCR_END__): Remove.
2437 * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
2438 conditionals.
2439 (__JCR_LIST__, __JCR_END__): Remove.
2440 (frame_dummy): Don't attempt to _Jv_RegisterClasses.
2441 (__do_global_ctors_1): Likewise.
2442
2443 2015-09-28 Uros Bizjak <ubizjak@gmail.com>
2444
2445 * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
2446 (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
2447
2448 2016-09-27 Martin Liska <mliska@suse.cz>
2449
2450 PR gcov-profile/7970
2451 PR gcov-profile/16855
2452 PR gcov-profile/44779
2453 * libgcov-driver.c (__gcov_init): Do not register a atexit
2454 handler.
2455 (__gcov_exit): Rename from gcov_exit.
2456 * libgcov.h (__gcov_exit): Declare.
2457
2458 2016-09-27 Martin Liska <mliska@suse.cz>
2459
2460 PR bootstrap/77749
2461 * Makefile.in: Remove _gcov_merge_delta.
2462 * libgcov-merge.c (void __gcov_merge_delta): Remove.
2463 * libgcov-util.c (__gcov_delta_counter_op): Remove.
2464 * libgcov.h: Remove declaration of __gcov_merge_delta.
2465
2466 2016-09-21 Eric Botcazou <ebotcazou@adacore.com>
2467
2468 * configure.ac: Do not create links, only substitute the filenames.
2469 * configure: Regenerate.
2470 * Makefile.in: Assign the substitution results to variables.
2471 (LIBGCC_LINKS): Define.
2472 (enable-execute-stack.c): New rule.
2473 (unwind.h): Likewise.
2474 (md-unwind-support.h): Likewise.
2475 (sfp-machine.h): Likewise.
2476 (gthr-default.h): Likewise.
2477 Add $(LIBGCC_LINKS) to the prerequisites of all object files and
2478 unwind.h as prerequisite of install-unwind_h-forbuild.
2479
2480 2016-09-16 Jakub Jelinek <jakub@redhat.com>
2481
2482 PR libgcc/71744
2483 * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
2484 is not the primary registry and atomics are available.
2485 (any_objects_registered): New variable.
2486 (__register_frame_info_bases, __register_frame_info_table_bases):
2487 Atomically store 1 to any_objects_registered after registering first
2488 unwind info.
2489 (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
2490
2491 2016-09-09 James Greenhalgh <james.greenhalgh@arm.com>
2492
2493 PR target/63250
2494 * Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
2495 * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
2496 (HFtype): Likewise.
2497 (HCtype): Likewise.
2498 (__divhc3): Likewise.
2499 (__mulhc3): Likewise.
2500 * libgcc2.c: Support _mulhc3 and _divhc3.
2501
2502 2016-09-07 Joseph Myers <joseph@codesourcery.com>
2503
2504 PR libgcc/77519
2505 * libgcc2.c (NOTRUNC): Invert settings.
2506
2507 2016-09-06 Martin Liska <mliska@suse.cz>
2508
2509 PR gcov-profile/77378
2510 PR gcov-profile/77466
2511 * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
2512 conditionaly enable/disable *_atomic functions.
2513
2514 2016-08-26 Joseph Myers <joseph@codesourcery.com>
2515
2516 * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
2517 where not already enabled.
2518
2519 2016-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
2520
2521 * config/mips/linux-unwind.h: Use sys/syscall.h.
2522
2523 2016-08-16 Joseph Myers <joseph@codesourcery.com>
2524
2525 PR libgcc/77265
2526 * soft-fp/adddf3.c: Update from glibc.
2527 * soft-fp/addsf3.c: Likewise.
2528 * soft-fp/addtf3.c: Likewise.
2529 * soft-fp/divdf3.c: Likewise.
2530 * soft-fp/divsf3.c: Likewise.
2531 * soft-fp/divtf3.c: Likewise.
2532 * soft-fp/double.h: Likewise.
2533 * soft-fp/eqdf2.c: Likewise.
2534 * soft-fp/eqsf2.c: Likewise.
2535 * soft-fp/eqtf2.c: Likewise.
2536 * soft-fp/extenddftf2.c: Likewise.
2537 * soft-fp/extended.h: Likewise.
2538 * soft-fp/extendsfdf2.c: Likewise.
2539 * soft-fp/extendsftf2.c: Likewise.
2540 * soft-fp/extendxftf2.c: Likewise.
2541 * soft-fp/fixdfdi.c: Likewise.
2542 * soft-fp/fixdfsi.c: Likewise.
2543 * soft-fp/fixdfti.c: Likewise.
2544 * soft-fp/fixsfdi.c: Likewise.
2545 * soft-fp/fixsfsi.c: Likewise.
2546 * soft-fp/fixsfti.c: Likewise.
2547 * soft-fp/fixtfdi.c: Likewise.
2548 * soft-fp/fixtfsi.c: Likewise.
2549 * soft-fp/fixtfti.c: Likewise.
2550 * soft-fp/fixunsdfdi.c: Likewise.
2551 * soft-fp/fixunsdfsi.c: Likewise.
2552 * soft-fp/fixunsdfti.c: Likewise.
2553 * soft-fp/fixunssfdi.c: Likewise.
2554 * soft-fp/fixunssfsi.c: Likewise.
2555 * soft-fp/fixunssfti.c: Likewise.
2556 * soft-fp/fixunstfdi.c: Likewise.
2557 * soft-fp/fixunstfsi.c: Likewise.
2558 * soft-fp/fixunstfti.c: Likewise.
2559 * soft-fp/floatdidf.c: Likewise.
2560 * soft-fp/floatdisf.c: Likewise.
2561 * soft-fp/floatditf.c: Likewise.
2562 * soft-fp/floatsidf.c: Likewise.
2563 * soft-fp/floatsisf.c: Likewise.
2564 * soft-fp/floatsitf.c: Likewise.
2565 * soft-fp/floattidf.c: Likewise.
2566 * soft-fp/floattisf.c: Likewise.
2567 * soft-fp/floattitf.c: Likewise.
2568 * soft-fp/floatundidf.c: Likewise.
2569 * soft-fp/floatundisf.c: Likewise.
2570 * soft-fp/floatunditf.c: Likewise.
2571 * soft-fp/floatunsidf.c: Likewise.
2572 * soft-fp/floatunsisf.c: Likewise.
2573 * soft-fp/floatunsitf.c: Likewise.
2574 * soft-fp/floatuntidf.c: Likewise.
2575 * soft-fp/floatuntisf.c: Likewise.
2576 * soft-fp/floatuntitf.c: Likewise.
2577 * soft-fp/gedf2.c: Likewise.
2578 * soft-fp/gesf2.c: Likewise.
2579 * soft-fp/getf2.c: Likewise.
2580 * soft-fp/ledf2.c: Likewise.
2581 * soft-fp/lesf2.c: Likewise.
2582 * soft-fp/letf2.c: Likewise.
2583 * soft-fp/muldf3.c: Likewise.
2584 * soft-fp/mulsf3.c: Likewise.
2585 * soft-fp/multf3.c: Likewise.
2586 * soft-fp/negdf2.c: Likewise.
2587 * soft-fp/negsf2.c: Likewise.
2588 * soft-fp/negtf2.c: Likewise.
2589 * soft-fp/op-1.h: Likewise.
2590 * soft-fp/op-2.h: Likewise.
2591 * soft-fp/op-4.h: Likewise.
2592 * soft-fp/op-8.h: Likewise.
2593 * soft-fp/op-common.h: Likewise.
2594 * soft-fp/quad.h: Likewise.
2595 * soft-fp/single.h: Likewise.
2596 * soft-fp/soft-fp.h: Likewise.
2597 * soft-fp/subdf3.c: Likewise.
2598 * soft-fp/subsf3.c: Likewise.
2599 * soft-fp/subtf3.c: Likewise.
2600 * soft-fp/truncdfsf2.c: Likewise.
2601 * soft-fp/trunctfdf2.c: Likewise.
2602 * soft-fp/trunctfsf2.c: Likewise.
2603 * soft-fp/trunctfxf2.c: Likewise.
2604 * soft-fp/unorddf2.c: Likewise.
2605 * soft-fp/unordsf2.c: Likewise.
2606 * soft-fp/unordtf2.c: Likewise.
2607
2608 2016-08-15 Gilles Gouaillardet <gilles.gouaillardet@gmail.com>
2609
2610 PR gcov-profile/67097
2611 * libgcov-util.c (gcov_profile_merge): Skip missing files.
2612
2613 2016-08-10 Martin Liska <mliska@suse.cz>
2614
2615 PR gcov-profile/58306
2616 * Makefile.in: New functions (modules) are added.
2617 * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
2618 function.
2619 (__gcov_pow2_profiler_atomic): New function.
2620 (__gcov_one_value_profiler_body): New argument is instroduced.
2621 (__gcov_one_value_profiler): Call with the new argument.
2622 (__gcov_one_value_profiler_atomic): Likewise.
2623 (__gcov_indirect_call_profiler_v2): Likewise.
2624 (__gcov_time_profiler_atomic): New function.
2625 (__gcov_average_profiler_atomic): Likewise.
2626 (__gcov_ior_profiler_atomic): Likewise.
2627 * libgcov.h: Declare the aforementioned functions.
2628
2629 2016-08-09 Martin Liska <mliska@suse.cz>
2630
2631 * libgcov-util.c: Fix typo and GNU coding style.
2632
2633 2016-08-09 Martin Liska <mliska@suse.cz>
2634
2635 * Makefile.in: Remove __gcov_indirect_call_profiler.
2636 * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
2637 function.
2638 * libgcov.h: And the declaration of the function.
2639
2640 2016-08-09 Martin Liska <mliska@suse.cz>
2641
2642 * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
2643 power of two.
2644
2645 2016-07-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
2646
2647 * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
2648 * config/rs6000/_mulkc3.c: Likewise.
2649
2650 2016-07-29 Georg-Johann Lay <avr@gjlay.de>
2651
2652 * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
2653 zero_reg as previous call to __umulhisi3 already cleared it.
2654
2655 2016-07-21 Aurelien Jarno <aurelien@aurel32.net>
2656
2657 PR target/59833
2658 * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
2659
2660 2016-07-19 Nick Clifton <nickc@redhat.com>
2661
2662 * config.host (m32r): Add m32r/t-m32r to tmake_file.
2663 Add crtinit.o and crtfini.o to extra_parts.
2664
2665 2016-07-12 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
2666
2667 * config/rs6000/_divkc3.c: New.
2668 * config/rs6000/_mulkc3.c: New.
2669 * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
2670 and _divkc3.
2671 * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
2672 fp128_ppc_funcs.
2673
2674 2016-07-11 Hale Wang <hale.wang@arm.com>
2675 Andre Vieira <andre.simoesdiasvieira@arm.com>
2676
2677 * config/arm/lib1funcs.S: Add new wrapper.
2678
2679 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
2680
2681 * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
2682
2683 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
2684
2685 * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
2686 and ARMv5t* rather than for a fixed list of architectures.
2687
2688 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
2689
2690 * config/arm/bpabi-v6m.S: Clarify what architectures is the
2691 implementation suitable for.
2692 * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
2693 for all Thumb-1 only targets.
2694 (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
2695 (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
2696 __ARM_ARCH_6M__.
2697 (EQUIV): Likewise.
2698 (ARM_FUNC_ALIAS): Likewise.
2699 (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
2700 version.
2701 (modsi3): Likewise.
2702 (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
2703 (clzdi2): Likewise.
2704 (ctzsi2): Likewise.
2705 (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
2706 __ARM_ARCH_6M__ in guard for checking whether it is defined.
2707 (final includes): Test for NOT_ISA_TARGET_32BIT rather than
2708 __ARM_ARCH_6M__ and add comment to indicate the connection between
2709 this condition and the one in gcc/config/arm/elf.h.
2710 * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
2711 __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
2712 * config/arm/t-softfp: Likewise.
2713
2714 2016-07-06 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2715
2716 * libgcc2.c (SYMBOL__MAIN): Remove checks for
2717 CTOR_LISTS_DEFINED_EXTERNALLY.
2718
2719 2016-06-28 Walter Lee <walt@tilera.com>
2720
2721 * config/tilepro/atomic.h: Do not include arch/spr_def.h and
2722 asm/unistd.h.
2723 (SPR_CMPEXCH_VALUE): Define for tilegx.
2724 (__NR_FAST_cmpxchg): Define for tilepro.
2725 (__NR_FAST_atomic_update): Define for tilepro.
2726 (__NR_FAST_cmpxchg64): Define for tilepro.
2727
2728 2016-06-23 Jakub Sejdak <jakub.sejdak@phoesys.com>
2729
2730 * config.host: Add suport for arm*-*-phoenix* targets.
2731
2732 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2733
2734 * config.host: Remove support for mep-*.
2735 * config/mep/lib1funcs.S: Remove.
2736 * config/mep/lib2funcs.c: Remove.
2737 * config/mep/t-mep: Remove.
2738 * config/mep/tramp.c: Remove.
2739
2740 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2741
2742 * config.host: Remove support for avr-rtems.
2743 * config/avr/t-rtems: Remove.
2744
2745 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2746
2747 * config.host: Remove m32r-rtems support.
2748
2749 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2750
2751 * config.host: Remove h8300-rtems support.
2752
2753 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2754
2755 * config.host: Remove support for knetbsd.
2756
2757 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2758
2759 * config.host: Remove support for openbsd 2 and 3.
2760
2761 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2762
2763 * config.host: Remove interix support.
2764 * config/i386/t-interix: Remove.
2765
2766 2016-06-18 John David Anglin <danglin@gcc.gnu.org>
2767
2768 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
2769 least-significant bit in function pointer for fixup.
2770
2771 2016-06-05 Aaron Conole <aconole@redhat.com>
2772 Nathan Sidwell <nathan@acm.org>
2773
2774 PR libgcc/71400
2775 * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
2776 (get_gcov_error_file): Check __gcov_error_file before trying to
2777 initialize it.
2778 (gcov_error): Always use get_gcov_error_file.
2779
2780 2016-06-02 Aaron Conole <aconole@redhat.com>
2781
2782 * libgcov-driver-system.c (__gcov_error_file): New.
2783 (get_gcov_error_file): New.
2784 (gcov_error): Use and set __gcov_error_file.
2785 (gcov_error_exit): New.
2786 * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
2787
2788 2016-05-26 Nathan Sidwell <nathan@acm.org>
2789
2790 * config/nvptx/free.asm: Delete.
2791 * config/nvptx/malloc.asm: Delete.
2792 * config/nvptx/realloc.c: Delete.
2793 * t-nvptx: Update.
2794
2795 2016-05-25 Nathan Sidwell <nathan@acm.org>
2796
2797 * config/nvptx/crt0.s: Delete.
2798 * config/nvptx/crt0.c: New.
2799 * t-nvptx: Update.
2800
2801 2016-05-19 Sandra Loosemore <sandra@codesourcery.com>
2802
2803 * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
2804 dw2/seh configuration.
2805 [x86_64-*-mingw*]: Likewise.
2806
2807 2016-05-10 Joel Sherrill <joel@rtems.org>
2808
2809 PR libgcc/70720
2810 * config.host (moxie-*-rtems*): Merge this stanza with other moxie
2811 targets so the same extra_parts are built. Also have tmake_file add
2812 on to its value rather than override.
2813
2814 2016-04-30 Oleg Endo <olegendo@gcc.gnu.org>
2815
2816 * config.host: Remove SH5 support.
2817 * configure: Likewise.
2818
2819 2016-04-29 Oleg Endo <olegendo@gcc.gnu.org>
2820
2821 * config/sh/crt1.S: Remove SH5 support.
2822 * config/sh/crti.S: Likewise.
2823 * config/sh/crtn.S: Likewise.
2824 * config/sh/lib1funcs-4-300.S: Likewise.
2825 * config/sh/lib1funcs-Os-4-200.S: Likewise.
2826 * config/sh/lib1funcs.S: Likewise.
2827 * config/sh/linux-unwind.h: Likewise.
2828 * config/sh/t-sh64: Delete.
2829
2830 2016-04-29 Claudiu Zissulescu <claziss@synopsys.com>
2831
2832 * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
2833
2834 2016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
2835 Joern Rennecke <joern.rennecke@embecosm.com>
2836
2837 * config/arc/crttls.S: New file.
2838 * config/arc/t-arc: New rule.
2839 * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
2840
2841 2016-04-25 Nick Clifton <nickc@redhat.com>
2842
2843 * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
2844 (__mspabi_cmpd): Likewise.
2845 * config/msp430/floathidf.c (__floathidf): Likewise.
2846 * config/msp430/floathisf.c (__floathisf): Likewise
2847 * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
2848 * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
2849 * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
2850 second parameter.
2851 (__ashrsi3): Likewise.
2852
2853 2016-04-21 Waldemar Brodkorb <wbx@openadk.org>
2854
2855 * config/m68k/linux-atomic.c: Do not include unistd.h
2856
2857 2016-04-20 Martin Galvan <martin.galvan@tallertechnologies.com>
2858
2859 * config/arm/ieee754-df.S: Fix typos in comments.
2860
2861 2016-04-11 Michael Meissner <meissner@linux.vnet.ibm.com>
2862
2863 PR target/70381
2864 * configure.ac (powerpc*-*-linux*): Rework tests to build
2865 __float128 emulation routines to not depend on using #pragma GCC
2866 target to enable -mfloat128.
2867 * configure: Regnerate.
2868
2869 2016-04-04 Eric Botcazou <ebotcazou@adacore.com>
2870
2871 PR target/67172
2872 * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
2873 __MINGW32__ is defined.
2874
2875 2016-03-28 James Bowman <james.bowman@ftdichip.com>
2876
2877 * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
2878
2879 2016-03-22 Michael Meissner <meissner@linux.vnet.ibm.com>
2880
2881 PR libgcc/70363
2882 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
2883 built with an assembler that does not support ISA 3.0
2884 instructions, rename __extendkftf2_sw to __extendkftf2.
2885
2886 2016-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2887
2888 PR target/38239
2889 * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
2890 call-clobbered registers.
2891 (internal_mcount): Remove __i386__ handling.
2892
2893 2016-02-26 Joel Sherrill <joel@rtems.org>
2894
2895 * config.host: Add x86_64-*-rtems*.
2896
2897 2016-02-26 Joel Sherrill <joel@rtems.org>
2898
2899 * libgcc/config.host: Add aarch64-*-rtems*.
2900
2901 2016-02-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2902 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
2903
2904 * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
2905 union of u64 and double.
2906 (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
2907 (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
2908 value.
2909 (FP_ROUNDMODE): Update the usage of _fpscr.
2910
2911 2016-02-25 Ilya Verbin <ilya.verbin@intel.com>
2912
2913 PR driver/68463
2914 * Makefile.in (crtoffloadtable$(objext)): New rule.
2915 * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
2916 enable_offload_targets is not empty.
2917 * configure: Regenerate.
2918 * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
2919 crtoffloadtable.
2920
2921 2016-02-17 Max Filippov <jcmvbkbc@gmail.com>
2922
2923 * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
2924 .literal_position before the function.
2925 * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
2926 Likewise.
2927
2928 2016-02-15 Marcin Kościelnicki <koriakin@0x04.net>
2929
2930 * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
2931 * config/s390/morestack.S: New file.
2932 * config/s390/t-stack-s390: New file.
2933 * generic-morestack.c (__splitstack_find): Add s390-specific code.
2934
2935 2016-02-12 Walter Lee <walt@tilera.com>
2936
2937 * config.host (tilegx*-*-linux*): remove ti from
2938 softfp_int_modes for 32-bit configs.
2939
2940 2016-02-10 Ian Lance Taylor <iant@google.com>
2941
2942 PR go/68562
2943 * config/i386/morestack.S (__stack_split_initialize): Align
2944 stack.
2945
2946 2016-02-03 Andreas Tobler <andreast@gcc.gnu.org>
2947
2948 PR bootstrap/69611
2949 * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
2950 __FLOAT128__ to compile only for __float128 capable targets.
2951
2952 2016-01-25 Jakub Jelinek <jakub@redhat.com>
2953
2954 PR target/69444
2955 * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
2956 instead of ___NO_FPRS__.
2957
2958 2016-01-21 Michael Meissner <meissner@linux.vnet.ibm.com>
2959 Steven Munroe <munroesj@linux.vnet.ibm.com>
2960 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
2961
2962 * config/rs6000/float128-sed: New files to convert TF names to KF
2963 names for PowerPC IEEE 128-bit floating point support.
2964 * config/rs6000/float128-sed-hw: Likewise.
2965
2966 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
2967 floating point hardware support.
2968
2969 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
2970 128-bit floating point software emulation or use ISA 3.0 hardware
2971 support if it is available.
2972
2973 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
2974 floating point.
2975
2976 * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
2977 floating point to IBM extended double.
2978
2979 * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
2980 double to IEEE 128-bit floating point.
2981
2982 * config/rs6000/t-float128: New Makefile fragments to enable
2983 building __float128 emulation support.
2984 * config/rs6000/t-float128-hw: Likewise.
2985
2986 * config/rs6000/sfp-exceptions.c: New file to provide exception
2987 support for IEEE 128-bit floating point.
2988
2989 * config/rs6000/floattikf.c: New files for converting between IEEE
2990 128-bit floating point and signed/unsigned 128-bit integers.
2991 * config/rs6000/fixunskfti.c: Likewise.
2992 * config/rs6000/fixkfti.c: Likewise.
2993 * config/rs6000/floatuntikf.c: Likewise.
2994
2995 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
2996 when building on 64-bit systems, or when VSX is enabled.
2997 (_FP_W_TYPE): Likewise.
2998 (_FP_WS_TYPE): Likewise.
2999 (_FP_I_TYPE): Likewise.
3000 (TItype): Define on 64-bit systems.
3001 (UTItype): Likewise.
3002 (TI_BITS): Likewise.
3003 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
3004 (_FP_MUL_MEAT_Q): Likewise.
3005 (_FP_DIV_MEAT_D): Likewise.
3006 (_FP_DIV_MEAT_Q): Likewise.
3007 (_FP_NANFRAC_D): Likewise.
3008 (_FP_NANFRAC_Q): Likewise.
3009 (ISA_BIT): Add exception support if we are being compiled on a
3010 machine with hardware floating point support to build the IEEE
3011 128-bit emulation functions.
3012 (FP_EX_INVALID): Likewise.
3013 (FP_EX_OVERFLOW): Likewise.
3014 (FP_EX_UNDERFLOW): Likewise.
3015 (FP_EX_DIVZERO): Likewise.
3016 (FP_EX_INEXACT): Likewise.
3017 (FP_EX_ALL): Likewise.
3018 (__sfp_handle_exceptions): Likewise.
3019 (FP_HANDLE_EXCEPTIONS): Likewise.
3020 (FP_RND_NEAREST): Likewise.
3021 (FP_RND_ZERO): Likewise.
3022 (FP_RND_PINF): Likewise.
3023 (FP_RND_MINF): Likewise.
3024 (FP_RND_MASK): Likewise.
3025 (_FP_DECL_EX): Likewise.
3026 (FP_INIT_ROUNDMODE): Likewise.
3027 (FP_ROUNDMODE): Likewise.
3028
3029 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
3030 VSX code, enable IEEE 128-bit floating point. If the compiler can
3031 compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
3032 floating point hardware instructions and it supports declaring
3033 functions with the ifunc attribute, enable ifunc functions to
3034 switch between software and hardware support.
3035 * configure.ac (powerpc*-*-linux*): Likewise.
3036 * configure: Regenerate.
3037
3038 2016-01-15 Nick Clifton <nickc@redhat.com>
3039
3040 * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
3041 dependency as the source file to be compiled.
3042 (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
3043 (lib2hw_mul_f5.o): Likewise.
3044
3045 2016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
3046
3047 * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
3048 * libgcc/config/rs6000/fixkfti.c: Likewise.
3049 * libgcc/config/rs6000/fixunskfti.c: Likewise.
3050 * libgcc/config/rs6000/float128-hw.c: Likewise.
3051 * libgcc/config/rs6000/float128-ifunc.c: Likewise.
3052 * libgcc/config/rs6000/float128-sed: Likewise.
3053 * libgcc/config/rs6000/floattikf.c: Likewise.
3054 * libgcc/config/rs6000/floatuntikf.c: Likewise.
3055 * libgcc/config/rs6000/quad-float128.h: Likewise.
3056 * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
3057 * libgcc/config/rs6000/sfp-machine.h: Likewise.
3058 * libgcc/config/rs6000/t-float128: Likewise.
3059 * libgcc/config/rs6000/t-float128-hw: Likewise.
3060 * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
3061 * libgcc/config.host: Likewise.
3062 * libgcc/configure: Likewise.
3063 * libgcc/configure.ac: Likewise.
3064
3065 2016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
3066 Steven Munroe <munroesj@linux.vnet.ibm.com>
3067 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
3068
3069 * config/rs6000/sfp-exceptions.c: New file to provide exception
3070 support for IEEE 128-bit floating point.
3071
3072 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
3073 floating point hardware support.
3074
3075 * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
3076 point conversions.
3077 * config/rs6000/fixunskfti.c: Likewise.
3078 * config/rs6000/fixkfti.c: Likewise.
3079 * config/rs6000/floatuntikf.c: Likewise.
3080 * config/rs6000/extendkftf2-sw.c: Likewise.
3081 * config/rs6000/trunctfkf2-sw.c: Likewise.
3082
3083 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
3084 128-bit floating point software emulation or use ISA 3.0 hardware
3085 support if it is available.
3086
3087 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
3088 floating point.
3089
3090 * config/rs6000/t-float128: New Makefile fragments to enable
3091 building __float128 emulation support.
3092 * config/rs6000/t-float128-hw: Likewise.
3093
3094 * config/rs6000/float128-sed: New file to convert TF names to KF
3095 names for PowerPC IEEE 128-bit floating point support.
3096
3097 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
3098 when building on 64-bit systems, or when VSX is enabled.
3099 (_FP_W_TYPE): Likewise.
3100 (_FP_WS_TYPE): Likewise.
3101 (_FP_I_TYPE): Likewise.
3102 (TItype): Define on 64-bit systems.
3103 (UTItype): Likewise.
3104 (TI_BITS): Likewise.
3105 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
3106 (_FP_MUL_MEAT_Q): Likewise.
3107 (_FP_DIV_MEAT_D): Likewise.
3108 (_FP_DIV_MEAT_Q): Likewise.
3109 (_FP_NANFRAC_D): Likewise.
3110 (_FP_NANFRAC_Q): Likewise.
3111 (ISA_BIT): Add exception support if we are being compiled on a
3112 machine with hardware floating point support to build the IEEE
3113 128-bit emulation functions.
3114 (FP_EX_INVALID): Likewise.
3115 (FP_EX_OVERFLOW): Likewise.
3116 (FP_EX_UNDERFLOW): Likewise.
3117 (FP_EX_DIVZERO): Likewise.
3118 (FP_EX_INEXACT): Likewise.
3119 (FP_EX_ALL): Likewise.
3120 (__sfp_handle_exceptions): Likewise.
3121 (FP_HANDLE_EXCEPTIONS): Likewise.
3122 (FP_RND_NEAREST): Likewise.
3123 (FP_RND_ZERO): Likewise.
3124 (FP_RND_PINF): Likewise.
3125 (FP_RND_MINF): Likewise.
3126 (FP_RND_MASK): Likewise.
3127 (_FP_DECL_EX): Likewise.
3128 (FP_INIT_ROUNDMODE): Likewise.
3129 (FP_ROUNDMODE): Likewise.
3130
3131 * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
3132 compiler can do __float128.
3133 * configure: Regenerate.
3134
3135 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
3136 VSX code, enable IEEE 128-bit floating point.
3137
3138 2016-01-05 Olivier Hainque <hainque@adacore.com>
3139
3140 * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
3141 specificities.
3142
3143 2016-01-04 Jakub Jelinek <jakub@redhat.com>
3144
3145 Update copyright years.
3146
3147 2015-12-18 Andris Pavenis <andris.pavenis@iki.fi>
3148
3149 * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
3150 soft-fp targets.
3151
3152 2015-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
3153
3154 * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
3155 instead of abort to avoid dependency on stdlib.h.
3156
3157 2015-12-09 John David Anglin <danglin@gcc.gnu.org>
3158
3159 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
3160 to initialize call to __dl_fixup once.
3161
3162 2015-12-04 Nick Clifton <nickc@redhat.com>
3163
3164 * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
3165 Allow for the second argument being negative.
3166 * config.host (extra_parts): Define for MSP430. Create separate
3167 libraries for each of the hardware multiply formats.
3168 * config/msp430/lib2hw_mul.S: Build only the multiply routines
3169 that are needed.
3170 * config/msp430/lib2mul.c: Likewise.
3171 * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
3172 Add rules to build hardware multiply libraries.
3173 * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
3174 __mspabi_divul function.
3175 (__mspabi_divllu): New stub function.
3176
3177 2015-12-01 John David Anglin <danglin@gcc.gnu.org>
3178
3179 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
3180 fixup values if saved GOT address doesn't match runtime address.
3181 (fixup_branch_offset): Reorder list.
3182
3183 2015-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3184
3185 * Makefile.in (VTV_CFLAGS): New variable.
3186 (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
3187 (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
3188 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
3189 Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
3190 to extra_parts if $enable_vtable_verify = yes.
3191
3192 2015-11-23 Szabolcs Nagy <szabolcs.nagy@arm.com>
3193
3194 PR target/68059
3195 * config/arm/linux-atomic-64bit.c (__write): Rename to...
3196 (write): ...this and fix the return type.
3197
3198 2015-11-19 DJ Delorie <dj@redhat.com>
3199
3200 * config/msp430/lib2hw_mul.S: Fix alignment.
3201
3202 2015-11-18 Nathan Sidwell <nathan@codesourcery.com>
3203
3204 * config/nvptx/reduction.c: New.
3205 * config/nvptx/t-nvptx (LIB2ADD): Add it.
3206
3207 2015-11-15 David Edelsohn <dje.gcc@gmail.com>
3208
3209 * config/rs6000/on_exit.c: New file.
3210 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
3211 * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
3212
3213 2015-11-11 Claudiu Zissulescu <claziss@synopsys.com>
3214
3215 * config/arc/dp-hack.h: Add support for ARCHS.
3216 * config/arc/ieee-754/divdf3.S: Likewise.
3217 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
3218 * config/arc/ieee-754/muldf3.S: Likewise.
3219 * config/arc/ieee-754/mulsf3.S: Likewise
3220 * config/arc/lib1funcs.S: Likewise
3221 * config/arc/gmon/dcache_linesz.S: Don't read the build register
3222 for ARCv2 cores.
3223 * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
3224 for ARCv2 cores.
3225 * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
3226 * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
3227 cores.
3228
3229 2015-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3230
3231 * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
3232 value.
3233 * config/ia64/crtend.S: Likewise.
3234
3235 2015-11-07 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3236
3237 * config/visium/lib2funcs.c (__set_trampoline_parity): Use
3238 __CHAR_BIT__ instead of BITS_PER_UNIT.
3239 * fixed-bit.h: Likewise.
3240 * fp-bit.h: Likewise.
3241 * libgcc2.c (__popcountSI2): Likewise.
3242 (__popcountDI2): Likewise.
3243 * libgcc2.h: Likewise.
3244 * libgcov.h: Likewise.
3245
3246 2015-11-07 David Edelsohn <dje.gcc@gmail.com>
3247
3248 * config/rs6000/atexit.c: New file.
3249 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
3250 * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
3251 * config/rs6000/cxa_finalize.c
3252 (catomic_compare_and_exchange_bool_acq): Negate return value.
3253
3254 2015-10-30 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
3255
3256 * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
3257 (processor_subtypes): Add znver1.
3258 (get_amd_cpu): Detect znver1.
3259
3260 2015-10-29 Christophe Lyon <christophe.lyon@linaro.org>
3261
3262 * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
3263 Include crtfastmath.o.
3264
3265 2015-10-23 Joern Rennecke <joern.rennecke@embecosm.com>
3266
3267 PR libgcc/66883
3268 * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
3269
3270 2015-10-16 Kaushik Phatak <kaushik.phatak@kpit.com>
3271
3272 * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
3273 * config/rl78/divmodsi.S: Update return register to r8.
3274 * config/rl78/divmodhi.S: Update return register to r8,r9.
3275 Branch to main_loop_done_himode to pop registers before return.
3276
3277 2015-10-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
3278
3279 * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
3280 (__cpu_indicator_init): Fix model selection for AMD CPUs.
3281
3282 2015-10-05 Kirill Yukhin <kirill.yukhin@intel.com>
3283
3284 * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
3285
3286 2015-10-03 Max Filippov <jcmvbkbc@gmail.com>
3287
3288 * config.host (xtensa*-*-uclinux*): New configuration.
3289
3290 2015-10-02 Kirill Yukhin <kirill.yukhin@intel.com>
3291
3292 * config/i386/cpuinfo.c (processor_features): Add
3293 FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
3294
3295 2015-09-28 Joseph Myers <joseph@codesourcery.com>
3296
3297 * soft-fp/adddf3.c: Update from glibc.
3298 * soft-fp/addsf3.c: Likewise.
3299 * soft-fp/addtf3.c: Likewise.
3300 * soft-fp/divdf3.c: Likewise.
3301 * soft-fp/divsf3.c: Likewise.
3302 * soft-fp/divtf3.c: Likewise.
3303 * soft-fp/double.h: Likewise.
3304 * soft-fp/eqdf2.c: Likewise.
3305 * soft-fp/eqsf2.c: Likewise.
3306 * soft-fp/eqtf2.c: Likewise.
3307 * soft-fp/extenddftf2.c: Likewise.
3308 * soft-fp/extended.h: Likewise.
3309 * soft-fp/extendsfdf2.c: Likewise.
3310 * soft-fp/extendsftf2.c: Likewise.
3311 * soft-fp/extendxftf2.c: Likewise.
3312 * soft-fp/fixdfdi.c: Likewise.
3313 * soft-fp/fixdfsi.c: Likewise.
3314 * soft-fp/fixdfti.c: Likewise.
3315 * soft-fp/fixsfdi.c: Likewise.
3316 * soft-fp/fixsfsi.c: Likewise.
3317 * soft-fp/fixsfti.c: Likewise.
3318 * soft-fp/fixtfdi.c: Likewise.
3319 * soft-fp/fixtfsi.c: Likewise.
3320 * soft-fp/fixtfti.c: Likewise.
3321 * soft-fp/fixunsdfdi.c: Likewise.
3322 * soft-fp/fixunsdfsi.c: Likewise.
3323 * soft-fp/fixunsdfti.c: Likewise.
3324 * soft-fp/fixunssfdi.c: Likewise.
3325 * soft-fp/fixunssfsi.c: Likewise.
3326 * soft-fp/fixunssfti.c: Likewise.
3327 * soft-fp/fixunstfdi.c: Likewise.
3328 * soft-fp/fixunstfsi.c: Likewise.
3329 * soft-fp/fixunstfti.c: Likewise.
3330 * soft-fp/floatdidf.c: Likewise.
3331 * soft-fp/floatdisf.c: Likewise.
3332 * soft-fp/floatditf.c: Likewise.
3333 * soft-fp/floatsidf.c: Likewise.
3334 * soft-fp/floatsisf.c: Likewise.
3335 * soft-fp/floatsitf.c: Likewise.
3336 * soft-fp/floattidf.c: Likewise.
3337 * soft-fp/floattisf.c: Likewise.
3338 * soft-fp/floattitf.c: Likewise.
3339 * soft-fp/floatundidf.c: Likewise.
3340 * soft-fp/floatundisf.c: Likewise.
3341 * soft-fp/floatunditf.c: Likewise.
3342 * soft-fp/floatunsidf.c: Likewise.
3343 * soft-fp/floatunsisf.c: Likewise.
3344 * soft-fp/floatunsitf.c: Likewise.
3345 * soft-fp/floatuntidf.c: Likewise.
3346 * soft-fp/floatuntisf.c: Likewise.
3347 * soft-fp/floatuntitf.c: Likewise.
3348 * soft-fp/gedf2.c: Likewise.
3349 * soft-fp/gesf2.c: Likewise.
3350 * soft-fp/getf2.c: Likewise.
3351 * soft-fp/ledf2.c: Likewise.
3352 * soft-fp/lesf2.c: Likewise.
3353 * soft-fp/letf2.c: Likewise.
3354 * soft-fp/muldf3.c: Likewise.
3355 * soft-fp/mulsf3.c: Likewise.
3356 * soft-fp/multf3.c: Likewise.
3357 * soft-fp/negdf2.c: Likewise.
3358 * soft-fp/negsf2.c: Likewise.
3359 * soft-fp/negtf2.c: Likewise.
3360 * soft-fp/op-1.h: Likewise.
3361 * soft-fp/op-2.h: Likewise.
3362 * soft-fp/op-4.h: Likewise.
3363 * soft-fp/op-8.h: Likewise.
3364 * soft-fp/op-common.h: Likewise.
3365 * soft-fp/quad.h: Likewise.
3366 * soft-fp/single.h: Likewise.
3367 * soft-fp/soft-fp.h: Likewise.
3368 * soft-fp/subdf3.c: Likewise.
3369 * soft-fp/subsf3.c: Likewise.
3370 * soft-fp/subtf3.c: Likewise.
3371 * soft-fp/truncdfsf2.c: Likewise.
3372 * soft-fp/trunctfdf2.c: Likewise.
3373 * soft-fp/trunctfsf2.c: Likewise.
3374 * soft-fp/trunctfxf2.c: Likewise.
3375 * soft-fp/unorddf2.c: Likewise.
3376 * soft-fp/unordsf2.c: Likewise.
3377 * soft-fp/unordtf2.c: Likewise.
3378
3379 2015-09-24 Richard Earnshaw <rearnsha@arm.com>
3380
3381 PR libgcc/67624
3382 * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
3383
3384 2015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3385
3386 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
3387 Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
3388 * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
3389 messages.
3390 (internal_mcount): Likewise.
3391 * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
3392 crt_compile, add CRTSTUFF_T_CFLAGS_S.
3393
3394 2015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3395
3396 * configure.ac (libgcc_cv_solaris_crts): New test.
3397 * configure: Regenerate.
3398 * config.in: Regenerate.
3399 * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
3400 * config/gmon-sol2.c: Rename to ...
3401 * config/sol2/gmon.c: ... this.
3402 Include auto-target.h.
3403 (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
3404 * config/t-sol2: Rename to ...
3405 * config/sol2/t-sol2: ... this.
3406 (gmon.o): Reflect renaming.
3407 (crtp.o, crtpg.o): New rules.
3408 * config.host (*-*-solaris2*): Reflect renaming.
3409 Use system CRTs if present.
3410 Remove default CRT case.
3411
3412 2015-09-23 John David Anglin <danglin@gcc.gnu.org>
3413
3414 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
3415 (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
3416 __kernel_cmpxchg2.
3417 (__sync_##OP##_and_fetch_##WIDTH): Likewise.
3418 (__sync_val_compare_and_swap_##WIDTH): Likewise.
3419 (__sync_bool_compare_and_swap_##WIDTH): Likewise.
3420 (__sync_lock_test_and_set_##WIDTH): Likewise.
3421 (__sync_lock_release_##WIDTH): Likewise.
3422 (__sync_fetch_and_##OP##_4): Change result to match type of
3423 __kernel_cmpxchg.
3424 (__sync_##OP##_and_fetch_4): Likewise.
3425 (__sync_val_compare_and_swap_4): Likewise.
3426 (__sync_bool_compare_and_swap_4): likewise.
3427 (__sync_lock_test_and_set_4): Likewise.
3428 (__sync_lock_release_4): Likewise.
3429 (FETCH_AND_OP_2): Add long long variants.
3430 (OP_AND_FETCH_2): Likewise.
3431 (COMPARE_AND_SWAP_2 ): Likewise.
3432 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
3433 (SYNC_LOCK_RELEASE_2): Likewise.
3434 (__sync_bool_compare_and_swap_##WIDTH): Correct return.
3435
3436 2015-09-22 Kirill Yukhin <kirill.yukhin@intel.com>
3437
3438 * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
3439 FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
3440 FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
3441 (get_available_features): Habdle new features.
3442
3443 2015-09-21 James Bowman <james.bowman@ftdichip.com>
3444
3445 * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
3446 memory layout. Deal correctly with BSS region larger than 32K.
3447 Handle a watchdog reset like a power-on reset. Clean up unused
3448 code.
3449
3450 2015-09-18 Andrew Dixie <andrewd@gentrack.com>
3451 David Edelsohn <dje.gcc@gmail.com>
3452
3453 * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
3454 * config/rs6000/crtdbase.S: New file.
3455 * config/rs6000/t-aix-cxa: Build crtdbase.o.
3456
3457 2015-09-15 Max Filippov <jcmvbkbc@gmail.com>
3458
3459 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
3460 Add support for call0 ABI.
3461
3462 2015-09-13 John David Anglin <danglin@gcc.gnu.org>
3463
3464 * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
3465
3466 2015-09-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
3467
3468 * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
3469 (__GTHREAD_HAS_COND): Likewise.
3470 (__gthread_t): Likewise.
3471 (__gthread_cond_t): Likewise.
3472 (__gthread_time_t): Likewise.
3473 (__GTHREAD_MUTEX_INIT): Likewise.
3474 (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
3475 (__GTHREAD_COND_INIT): Likewise.
3476 (__GTHREAD_COND_INIT_FUNCTION): Likewise.
3477 (__GTHREAD_TIME_INIT): Likewise.
3478 (__gthread_create): Likewise.
3479 (__gthread_join): Likewise.
3480 (__gthread_detach): Likewise.
3481 (__gthread_equal): Likewise.
3482 (__gthread_self): Likewise.
3483 (__gthread_yield): Likewise.
3484 (__gthread_cond_broadcast): Likewise.
3485 (__gthread_cond_signal): Likewise.
3486 (__gthread_cond_wait): Likewise.
3487 (__gthread_cond_timedwait): Likewise.
3488 (__gthread_cond_wait_recursive): Likewise.
3489 (__gthread_cond_destroy): Likewise.
3490 (rtems_gxx_once): Delete.
3491 (rtems_gxx_key_create): Likewise.
3492 (rtems_gxx_key_delete): Likewise.
3493 (rtems_gxx_getspecific): Likewise.
3494 (rtems_gxx_setspecific): Likewise.
3495 (rtems_gxx_mutex_init): Likewise.
3496 (rtems_gxx_mutex_destroy): Likewise.
3497 (rtems_gxx_mutex_lock): Likewise.
3498 (rtems_gxx_mutex_trylock): Likewise.
3499 (rtems_gxx_mutex_unlock): Likewise.
3500 (rtems_gxx_recursive_mutex_init): Likewise.
3501 (rtems_gxx_recursive_mutex_lock): Likewise.
3502 (rtems_gxx_recursive_mutex_trylock): Likewise.
3503 (rtems_gxx_recursive_mutex_unlock): Likewise.
3504 (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
3505 (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
3506 (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
3507 (__gthread_once): Likewise.
3508 (__gthread_key_create): Likewise.
3509 (__gthread_key_delete): Likewise.
3510 (__gthread_getspecific): Likewise.
3511 (__gthread_setspecific): Likewise.
3512 (__gthread_key_t): Use <pthread.h> type.
3513 (__gthread_once_t): Likewise
3514 (__gthread_mutex_t): Use <sys/lock.h> type.
3515 (__gthread_recursive_mutex_t): Likewise
3516 (__gthread_mutex_lock): Use <sys/lock.h> function.
3517 (__gthread_mutex_trylock): Likewise.
3518 (__gthread_mutex_timedlock): Likewise.
3519 (__gthread_mutex_unlock): Likewise.
3520 (__gthread_mutex_destroy): Likewise.
3521 (__gthread_recursive_mutex_lock): Likewise.
3522 (__gthread_recursive_mutex_trylock): Likewise.
3523 (__gthread_recursive_mutex_timedlock): Likewise.
3524 (__gthread_recursive_mutex_unlock): Likewise.
3525 (__gthread_recursive_mutex_destroy): Likewise.
3526
3527 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
3528
3529 * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
3530 context->sp instead of context->cfa.
3531
3532 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
3533
3534 * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
3535 with unwind-dw2-fde-dip.
3536
3537 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
3538
3539 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
3540 CALL12 followed by series of ENTRY to spill windowed registers.
3541 (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
3542 instead of making linux spill syscall.
3543
3544 2015-08-14 Yuri Rumyantsev <ysrumyan@gmail.com>
3545
3546 * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
3547 (get_intel_cpu): Likewise.
3548
3549 2015-08-12 H.J. Lu <hongjiu.lu@intel.com>
3550
3551 * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
3552 (get_intel_cpu): Add Knights Landing support.
3553
3554 2015-08-11 Uros Bizjak <ubizjak@gmail.com>
3555
3556 PR target/66954
3557 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
3558 (get_available_features): Handle FEATURE_PCLMUL.
3559
3560 2015-08-10 H.J. Lu <hongjiu.lu@intel.com>
3561
3562 * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
3563 Broadwell.
3564
3565 2015-07-22 Uros Bizjak <ubizjak@gmail.com>
3566
3567 PR target/66954
3568 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
3569 (get_available_features): Handle FEATURE_AES.
3570
3571 2015-07-22 Chung-Lin Tang <cltang@codesourcery.com>
3572
3573 * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
3574 (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
3575
3576 2015-07-17 Nathan Sidwell <nathan@codesourcery.com>
3577
3578 * offloadstuff.c: Constify host data.
3579
3580 2015-07-17 Jan Beulich <jbeulich@suse.com>
3581
3582 * config/t-softfp: Split up "else ifneq".
3583
3584 2015-07-14 Sandra Loosemore <sandra@codesourcery.com>
3585 Cesar Philippidis <cesar@codesourcery.com>
3586 Chung-Lin Tang <cltang@codesourcery.com>
3587
3588 * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
3589 for __nios2_arch__ level.
3590
3591 2015-07-13 John Marino <gnugcc@marino.st>
3592
3593 * config/i386/t-dragonfly: New.
3594
3595 2015-07-01 John David Anglin <danglin@gcc.gnu.org>
3596
3597 * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
3598 better match light-weight syscall argument order.
3599 (__kernel_cmpxchg2): Likewise.
3600 Adjust callers.
3601
3602 2015-06-30 H.J. Lu <hongjiu.lu@intel.com>
3603
3604 * config.host: Support i[34567]86-*-elfiamcu target.
3605 * config/t-softfp-sfdftf: New file.
3606 * config/i386/32/t-iamcu: Likewise.
3607 * configure: Regenerated.
3608
3609 2015-06-23 James Lemke <jwlemke@codesourcery.com>
3610
3611 libgcc/config/arm/
3612 * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
3613
3614 2015-05-27 H.J. Lu <hongjiu.lu@intel.com>
3615
3616 * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
3617
3618 2015-05-27 John Marino <gnugcc@marino.st>
3619
3620 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
3621 md_unwind_header
3622 * config/i386/freebsd-unwind.h: New.
3623
3624 2015-05-22 Uros Bizjak <ubizjak@gmail.com>
3625
3626 * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
3627 i386/t-crtfm to tmake_file.
3628 * config/i386/crtfastmath.c (set_fast_math_sse): New function.
3629 (set_fast_math): Use set_fast_math_sse for SSE targets.
3630 * config/i386/t-crtfm: Remove.
3631
3632 2015-05-21 Alan Modra <amodra@gmail.com>
3633
3634 PR libgcc/66225
3635 * config/rs6000/morestack.S: Remove ".abiversion 1".
3636
3637 2015-05-20 Alan Modra <amodra@gmail.com>
3638
3639 * config/rs6000/morestack.S: New.
3640 * config/rs6000/t-stack-rs6000: New.
3641 * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
3642 to tmake_file.
3643 * generic-morestack.c: Don't build for powerpc 32-bit.
3644
3645 2015-05-19 Eric Botcazou <ebotcazou@adacore.com>
3646
3647 * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
3648 Remove useless endif/ifneq ($(enable_shared),yes) pair.
3649
3650 2015-05-16 James Bowman <james.bowman@ftdichip.com>
3651
3652 * config.host: FT32 target added.
3653 * config/ft32/*: New files for FT32 target.
3654
3655 2015-05-15 Martin Galvan <martin.galvan@tallertechnologies.com>
3656
3657 * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
3658 New macros.
3659 * config/arm/ieee754-df.S: Add CFI directives.
3660 * config/arm/ieee754-sf.S: Add CFI directives.
3661
3662 2015-05-13 Eric Botcazou <ebotcazou@adacore.com>
3663
3664 * configure.ac: Include config/sjlj.m4.
3665 Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
3666 * config.in: Regenerate.
3667 * configure: Likewise.
3668 * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
3669
3670 2015-05-12 Uros Bizjak <ubizjak@gmail.com>
3671
3672 * libgcov-util.c: Add space between string literal and macro name.
3673
3674 2015-05-06 Sandra Loosemore <sandra@codesourcery.com>
3675 Chris Jones <chrisj@nvidia.com>
3676 Joshua Conner <jconner@nvidia.com>
3677
3678 * config.host (arm*-*-linux*): Add support for crtfastmath.o.
3679 (arm*-*-uclinux*): Likewise.
3680 (arm*-*-eabi* | arm*-*-rtems*): Likewise.
3681 * config/arm/crtfastmath.c: New file.
3682
3683 2014-04-29 Bernd Schmidt <bernds@codesourcery.com>
3684
3685 * Makefile.in (real_host_noncanonical): New variable.
3686 (libsubdir): Use it.
3687 * configure.ac (real_host_noncanonical): Compute. Remove special
3688 case for intelmicemul.
3689 * configure: Regenerate.
3690
3691 2015-04-28 Uros Bizjak <ubizjak@gmail.com>
3692
3693 * config/frv/elf-lib.h: New file.
3694 (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
3695 * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
3696 to tm_file.
3697
3698 2015-04-28 Uros Bizjak <ubizjak@gmail.com>
3699
3700 * config/frv/frvbengin.c: Do not include defaults.h
3701 * config/frv/frvend.c: Ditto.
3702
3703 2015-04-27 Yoshinori Sato <ysato@users.sourceforge.jp>
3704
3705 * config.host: Add h8300-*-linux
3706 * config/h8300/t-linux: New file.
3707 * config/h8300/lib1funs.s: Change symbol prefix.
3708 * config/h8300/sfp-machine.h: 64bit double support.
3709
3710 2015-04-22 Gregor Richards <gregor.richards@uwaterloo.ca>
3711 Szabolcs Nagy <szabolcs.nagy@arm.com>
3712
3713 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
3714 Linux if target provides dl_iterate_phdr.
3715
3716 2015-04-17 H.J. Lu <hongjiu.lu@intel.com>
3717
3718 PR target/65612
3719 * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
3720 * config/i386/cpuinfo.c (__cpu_model): Initialize.
3721 (__cpu_indicator_init@GCC_4.8.0): New.
3722 (__cpu_model@GCC_4.8.0): Likewise.
3723 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
3724 -DUSE_ELF_SYMVER.
3725
3726 2015-04-16 Nick Clifton <nickc@redhat.com>
3727
3728 * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
3729 and __modhi3 functions.
3730 * config/rl78/divmodso.S: Add G14 and G13 versions of the
3731 __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
3732
3733 2015-04-15 Chen Gang <gang.chen.5i5j@gmail.com>
3734
3735 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
3736 do-while loop as macro body to avoid warnings.
3737
3738 2015-04-10 Jakub Jelinek <jakub@redhat.com>
3739 Iain Sandoe <iain@codesourcery.com>
3740
3741 PR target/65351
3742 * configure: Regenerate.
3743
3744 2015-04-07 Jakub Jelinek <jakub@redhat.com>
3745 Iain Sandoe <iain@codesourcery.com>
3746
3747 PR target/65351
3748 * configure: Regenerate.
3749
3750 2015-03-25 Chung-Lin Tang <cltang@codesourcery.com>
3751
3752 * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
3753
3754 2015-03-03 Max Filippov <jcmvbkbc@gmail.com>
3755
3756 Implement call0 ABI for xtensa
3757 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
3758 __xtensa_nonlocal_goto): Don't compile for call0 ABI.
3759 (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
3760 use ret in call0 ABI.
3761 * config/xtensa/t-windowed: New file.
3762 * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
3763 * libgcc/configure: Regenerated.
3764 * libgcc/configure.ac: Check if xtensa target is configured for
3765 windowed ABI and thus needs to use custom unwind code.
3766
3767 2015-02-12 Jonathan Wakely <jwakely@redhat.com>
3768
3769 PR libgcc/64885
3770 * gthr-single.h: Use __unused__ attribute instead of unused.
3771 * config/gthr-vxworks.h: Likewise.
3772 * config/i386/gthr-win32.h: Likewise.
3773
3774 2015-02-27 Kai Tietz <ktietz@redhat.com>
3775
3776 PR target/65038
3777 * config.in: Regenerated.
3778 * configure: Likewise.
3779 * configure.ac (AC_HEADER_STDC): Added explicit.
3780 (AC_CHECK_HEADERS): Check for default headers plus
3781 for ftw.h header.
3782 * libgcov-util.c (gcov_read_profile_dir): Disable use
3783 of ftw-function, if header is not found.
3784 (ftw_read_file): Likewise.
3785
3786 2015-02-23 Thomas Schwinge <thomas@codesourcery.com>
3787
3788 PR target/65181
3789 * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
3790 -Dinhibit_libc.
3791
3792 2015-02-17 Sandra Loosemore <sandra@codesourcery.com>
3793
3794 * config/arm/bpabi.S (test_div_by_zero): Make label names
3795 consistent between thumb2 and arm mode cases. Separate the
3796 signed comparison on the high word of the numerator from the
3797 unsigned comparison on the low word.
3798 * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
3799 signed comparison.
3800
3801 2015-02-17 Joseph Myers <joseph@codesourcery.com>
3802
3803 * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
3804 and <string.h>.
3805 (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
3806
3807 2015-02-10 Rainer Emrich <rainer@emrich-ebersheim.de>
3808
3809 PR gcov-profile/61889
3810 * libgcov-driver-system.c: undefine clashing macro for mkdir.
3811
3812 2015-02-02 Nick Clifton <nickc@redhat.com>
3813
3814 * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
3815 rounding up the fraction.
3816
3817 2015-01-31 John David Anglin <danglin@gcc.gnu.org>
3818
3819 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
3820 oldval and newval to const void *. Fix typo.
3821 (FETCH_AND_OP_2): Use __atomic_load_n to load value.
3822 (FETCH_AND_OP_WORD): Likewise.
3823 (OP_AND_FETCH_WORD): Likewise.
3824 (COMPARE_AND_SWAP_2): Likewise.
3825 (__sync_val_compare_and_swap_4): Likewise.
3826 (__sync_lock_test_and_set_4): Likewise.
3827 (SYNC_LOCK_RELEASE_2): Likewise.
3828 Remove support for long long atomic operations.
3829
3830 2015-01-27 Caroline Tice <cmtice@google.com>
3831
3832 Committing VTV Cywin/Ming patch for Patrick Wollgast
3833 * Makefile.in: Move rules to build vtv_*.o out of the check
3834 for CUSTOM_CRTSTUFF.
3835 * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
3836 i[34567]86-*-mingw*)
3837 (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
3838 enable_vtable_verify.
3839
3840 2015-01-27 Nick Clifton <nickc@redhat.com>
3841
3842 * config/rl78/cmpsi2.S: Use function start and end macros.
3843 (__gcc_bcmp): New function.
3844 * config/rl78/lshrsi3.S: Use function start and end macros.
3845 * config/rl78/mulsi3.S: Add support for G10.
3846 (__mulqi3): New function for G10.
3847 * config/rl78/signbit.S: Use function start and end macros.
3848 * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
3849 fpmath-sf.S.
3850 (LIB2FUNCS_EXCLUDE): Define.
3851 (LIB2FUNCS_ST): Define.
3852 * config/rl78/trampoline.S: Use function start and end macros.
3853 * config/rl78/vregs.h (START_FUNC): New macro.
3854 (START_ANOTHER_FUNC): New macro.
3855 (END_FUNC): New macro.
3856 (END_ANOTHER_FUNC): New macro.
3857 * config/rl78/bit-count.S: New file. Contains assembler
3858 implementations of the bit counting functions: ___clzhi2,
3859 __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
3860 __paritysi2, __popcounthi2 and __popcountsi2.
3861 * config/rl78/fpbit-sf.S: New file. Contains assembler
3862 implementationas of the math functions: __negsf2, __cmpsf2,
3863 __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
3864 __fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
3865 * config/rl78/fpmath-sf.S: New file. Contains assembler
3866 implementations of the math functions: __subsf3, __addsf3,
3867 __mulsf3 and __divsf3
3868
3869 2015-01-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3870
3871 * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
3872 Add i386/elf-lib.h to tm_file.
3873 * config/i386/elf-lib.h: Fix comment.
3874 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
3875 && __sun__ && __svr4__]: Remove workaround.
3876
3877 2015-01-25 Allan Sandfeld Jensen <sandfeld@kde.org>
3878
3879 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
3880 FEATURE_BMI2.
3881 (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
3882
3883 2015-01-24 H.J. Lu <hongjiu.lu@intel.com>
3884
3885 * config/i386/cpuinfo.c (processor_subtypes): Add
3886 INTEL_COREI7_BROADWELL.
3887 (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
3888 model numbers.
3889
3890 2015-01-23 Uros Bizjak <ubizjak@gmail.com>
3891
3892 * config/i386/elf-lib.h: New file.
3893 (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
3894 Wrap definition in #ifdef __i386__.
3895 * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
3896 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
3897 (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
3898 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
3899 to tm_file.
3900
3901 2015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
3902
3903 * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
3904 "(char *)" to avoid qualifier warning by 'xgcc' compiling.
3905
3906 2015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
3907
3908 * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
3909 Update rt_sigframe format and address for current Nios II
3910 Linux conventions.
3911
3912 2015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
3913
3914 * config.host (arm*-*-freebsd*): Add new configuration for
3915 arm*-*-freebsd*.
3916 * config/arm/freebsd-atomic.c: New file.
3917 * config/arm/t-freebsd: Likewise.
3918 * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
3919 'PC-relative indirect' OS's.
3920
3921 2015-01-06 Eric Botcazou <ebotcazou@adacore.com>
3922
3923 * config.host: Add Visium support.
3924 * config/visium: New directory.
3925
3926 2015-01-05 Jakub Jelinek <jakub@redhat.com>
3927
3928 Update copyright years.
3929
3930 2014-12-19 Matthew Fortune <matthew.fortune@imgtec.com>
3931
3932 * config.host: Support mipsisa32r6 and mipsisa64r6.
3933 * config/mips/mips16.S: Do not build for R6.
3934
3935 2014-12-17 Oleg Endo <olegendo@gcc.gnu.org>
3936
3937 * config/sh/crt.h: New.
3938 * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
3939 symbols.
3940 * config/sh/crt1.S: Likewise.
3941
3942 2014-12-15 Uros Bizjak <ubizjak@gmail.com>
3943
3944 PR libgcc/63832
3945 * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
3946 func_ptr *dtor_list temporary variable to avoid "array subscript
3947 is above array bounds" warnings.
3948
3949 2014-12-09 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
3950
3951 * Makefile.in (with_aix_soname): Define.
3952 * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
3953 * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
3954 * configure: Recreate.
3955
3956 2014-12-05 Olivier Hainque <hainque@adacore.com>
3957
3958 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
3959 now provided by defaults.h.
3960
3961 2014-11-30 Oleg Endo <olegendo@gcc.gnu.org>
3962
3963 PR target/55351
3964 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
3965 whether it's defined.
3966
3967 2014-11-27 Ilya Tocar <ilya.tocar@intel.com>
3968
3969 * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
3970 * config/i386/cpuinfo.c (get_available_features): Detect it.
3971
3972 2014-11-27 Tony Wang <tony.wang@arm.com>
3973
3974 * config/arm/lib1funcs.S (FUNC_START): Add conditional section
3975 redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
3976 (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
3977
3978 2014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
3979
3980 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
3981
3982 2014-11-24 John David Anglin <danglin@gcc.gnu.org>
3983
3984 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
3985 instead.
3986
3987 2014-11-21 Guy Martin <gmsoft@tuxicoman.be>
3988 John David Anglin <danglin@gcc.gnu.org>
3989
3990 * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
3991 (FETCH_AND_OP_2): New. Use for subword and double word operations.
3992 (OP_AND_FETCH_2): Likewise.
3993 (COMPARE_AND_SWAP_2): Likewise.
3994 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
3995 (SYNC_LOCK_RELEASE_2): Likewise.
3996 (SUBWORD_SYNC_OP): Remove.
3997 (SUBWORD_VAL_CAS): Likewise.
3998 (SUBWORD_BOOL_CAS): Likewise.
3999 (FETCH_AND_OP_WORD): Update.
4000 Consistently use signed types.
4001
4002 2014-11-13 Bernd Schmidt <bernds@codesourcery.com>
4003 Thomas Schwinge <thomas@codesourcery.com>
4004 Ilya Verbin <ilya.verbin@intel.com>
4005 Andrey Turetskiy <andrey.turetskiy@intel.com>
4006
4007 * Makefile.in (crtoffloadbegin$(objext)): New rule.
4008 (crtoffloadend$(objext)): Likewise.
4009 * configure: Regenerate.
4010 * configure.ac (accel_dir_suffix): Compute new variable.
4011 (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
4012 if enable_offload_targets is not empty.
4013 * offloadstuff.c: New file.
4014
4015 2014-11-13 Nick Clifton <nickc@redhat.com>
4016
4017 * config/rl78/divmodhi.S: Add support for the G10 architecture.
4018 Use START_FUNC and END_FUNC macros to enable linker garbage
4019 collection.
4020 * config/rl78/divmodqi.S: Likewise.
4021 * config/rl78/divmodsi.S: Likewise.
4022 * config/rl78/mulsi3.S: Likewise.
4023 * config/rl78/lib2div.c: Remove G10 functions.
4024 * config/rl78/lib2muls.c: Likewise.
4025 * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
4026 * config/rl78/vregs.h (START_FUNC): New macro.
4027 (END_FUNC): New macro.
4028
4029 2014-11-12 Matthew Fortune <matthew.fortune@imgtec.com>
4030
4031 * config/mips/mips16.S: Set .module when supported. Update O32
4032 FP64 calling convention and use for FPXX when possible. Add FPXX
4033 calling convention fallback case.
4034
4035 2014-11-06 Bernd Schmidt <bernds@codesourcery.com>
4036
4037 * config.host: Handle nvptx-*-*.
4038 * shared-object.mk (as-flags-$o): Define.
4039 ($(base)$(objext), $(base)_s$(objext)): Use it instead of
4040 -xassembler-with-cpp.
4041 * static-object.mk: Identical changes.
4042 * config/nvptx/t-nvptx: New file.
4043 * config/nvptx/crt0.s: New file.
4044 * config/nvptx/free.asm: New file.
4045 * config/nvptx/malloc.asm: New file.
4046 * config/nvptx/realloc.c: New file.
4047
4048 2014-10-30 Joseph Myers <joseph@codesourcery.com>
4049
4050 * Makefile.in (libgcc.map.in): New target.
4051 (libgcc.map): Use libgcc.map.in.
4052 * config/t-softfp (softfp_compat): New variable to be set by
4053 users.
4054 [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
4055 variables.
4056 [$(softfp_compat) = y] (softfp_file_list): Use files in the build
4057 directory.
4058 [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
4059 that use compat symbols and disable all code unless [SHARED].
4060 * config/t-softfp-compat: New file.
4061 * find-symver.awk: New file.
4062 * configure.ac (--with-glibc-version): New configure option.
4063 (ppc_fp_compat): New variable set for powerpc*-*-linux*.
4064 * configure: Regenerate.
4065 * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
4066 soft-float and e500.
4067
4068 2014-10-29 Joseph Myers <joseph@codesourcery.com>
4069
4070 * config/t-hardfp (hardfp_exclusions): Document new variable for
4071 user to define.
4072 (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
4073 * config/t-softfp (softfp_extras): Document new variable for user
4074 to define.
4075 (softfp_func_list): Add functions from $(softfp_extras).
4076 * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
4077 * config.host (powerpc*-*-linux*): For e500v1, use
4078 rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
4079 t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
4080 and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
4081
4082 2014-10-26 John David Anglin <danglin@gcc.gnu.org>
4083
4084 * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
4085 (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
4086 memory read accesses are ok.
4087
4088 2014-10-25 Joseph Myers <joseph@codesourcery.com>
4089
4090 * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
4091 * configure: Regenerate.
4092 * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
4093 additions to tmake_file. Use t-hardfp-sfdf and t-hardfp instead
4094 of soft-fp for 32-bit classic hard float. Do not use
4095 t-softfp-excl for soft float.
4096
4097 2014-10-22 Joseph Myers <joseph@codesourcery.com>
4098
4099 * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
4100 configurations.
4101 * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
4102 Remove variables.
4103
4104 2014-10-22 Georg-Johann Lay <avr@gjlay.de>
4105
4106 * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
4107 introduced with 2014-10-21 trunk r216525.
4108
4109 2014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
4110 Vidya Praveen <vidya.praveen@atmel.com>
4111 Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
4112 Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
4113 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
4114
4115 * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
4116 order.
4117
4118 Updated library functions for AVRTINY arch.
4119 * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
4120 Replaced occurrences of r0/r1 with tmp/zero reg macros.
4121 Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
4122 or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
4123 wsubi/wadi macors.
4124 (__mulsi3_helper): Update stack, preserve callee saved regs and
4125 argument from stack. Restore callee save registers.
4126 (__mulpsi3): Likewise.
4127 (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
4128 __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
4129 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
4130 AVRTINY.
4131 (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
4132 (__do_copy_data): Added new definition for AVRTINY.
4133 (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
4134 (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
4135 __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
4136 * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
4137 tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
4138 macors.
4139 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
4140 AVRTINY.
4141
4142 Fix broken long multiplication on tiny arch.
4143
4144 2014-10-09 Joseph Myers <joseph@codesourcery.com>
4145
4146 * soft-fp/double.h: Update from glibc.
4147 * soft-fp/eqdf2.c: Likewise.
4148 * soft-fp/eqsf2.c: Likewise.
4149 * soft-fp/eqtf2.c: Likewise.
4150 * soft-fp/extenddftf2.c: Likewise.
4151 * soft-fp/extended.h: Likewise.
4152 * soft-fp/extendsfdf2.c: Likewise.
4153 * soft-fp/extendsftf2.c: Likewise.
4154 * soft-fp/extendxftf2.c: Likewise.
4155 * soft-fp/gedf2.c: Likewise.
4156 * soft-fp/gesf2.c: Likewise.
4157 * soft-fp/getf2.c: Likewise.
4158 * soft-fp/ledf2.c: Likewise.
4159 * soft-fp/lesf2.c: Likewise.
4160 * soft-fp/letf2.c: Likewise.
4161 * soft-fp/op-1.h: Likewise.
4162 * soft-fp/op-2.h: Likewise.
4163 * soft-fp/op-4.h: Likewise.
4164 * soft-fp/op-8.h: Likewise.
4165 * soft-fp/op-common.h: Likewise.
4166 * soft-fp/quad.h: Likewise.
4167 * soft-fp/single.h: Likewise.
4168 * soft-fp/soft-fp.h: Likewise.
4169 * soft-fp/unorddf2.c: Likewise.
4170 * soft-fp/unordsf2.c: Likewise.
4171 * soft-fp/unordtf2.c: Likewise.
4172 * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
4173 * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
4174 * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
4175 * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
4176 * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
4177 * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
4178 * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
4179 * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
4180 * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
4181 * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
4182
4183 2014-10-08 Rong Xu <xur@google.com>
4184
4185 * libgcov-util.c (read_gcda_file): Fix format.
4186 (find_match_gcov_info): Ditto.
4187 (calculate_2_entries): New.
4188 (compute_one_gcov): Ditto.
4189 (gcov_info_count_all_cold): Ditto.
4190 (gcov_info_count_all_zero): Ditto.
4191 (extract_file_basename): Ditto.
4192 (get_file_basename): Ditto.
4193 (set_flag): Ditto.
4194 (matched_gcov_info): Ditto.
4195 (calculate_overlap): Ditto.
4196 (gcov_profile_overlap): Ditto.
4197 * libgcov-driver.c (compute_summary): Make
4198 it avavilable for external calls.
4199
4200 2014-10-06 Rong Xu <xur@google.com>
4201
4202 * Makefile.in: Ditto.
4203 * libgcov-driver.c (gcov_sort_n_vals): New utility function.
4204 (gcov_sort_icall_topn_counter): Ditto.
4205 (gcov_sort_topn_counter_arrays): Ditto.
4206 (dump_one_gcov): Sort indirect_call topn counters.
4207 * libgcov-merge.c (__gcov_merge_icall_topn): New merge
4208 function.
4209 * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
4210 utility function.
4211 (__gcov_indirect_call_topn_profiler): New profiler function.
4212 * libgcov-util.c (__gcov_icall_topn_counter_op): New.
4213 * libgcov.h: New decls.
4214
4215 2014-10-04 Trevor Saunders <tsaunders@mozilla.com>
4216
4217 * config.host: Remove support for score-*.
4218
4219 2014-09-22 Joseph Myers <joseph@codesourcery.com>
4220
4221 * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
4222 (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
4223 (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
4224 __LIBGCC_XF_MANT_DIG__.
4225 (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
4226 (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
4227 __LIBGCC_TF_MANT_DIG__.
4228 * libgcc2.c (NOTRUNC): Define in terms of
4229 __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
4230 * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
4231
4232 2014-09-22 Joseph Myers <joseph@codesourcery.com>
4233
4234 PR target/63312
4235 * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
4236 New macros.
4237
4238 2014-09-22 Hans-Peter Nilsson <hp@axis.com>
4239
4240 * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
4241 override USE_PT_GNU_EH_FRAME.
4242 [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
4243 check USE_EH_FRAME_REGISTRY_ALWAYS against
4244 __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
4245 * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
4246 variable for substituted force_explicit_eh_registry.
4247 (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
4248 * configure.ac (explicit-exception-frame-registration):
4249 New AC_ARG_ENABLE.
4250 * configure: Regenerate.
4251
4252 2014-09-19 Olivier Hainque <hainque@adacore.com>
4253
4254 * config.host (powerpc-wrs-vxworksmils): New configuration,
4255 same as vxworksae.
4256
4257 2014-09-18 Joseph Myers <joseph@codesourcery.com>
4258
4259 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
4260
4261 2014-09-18 Joseph Myers <joseph@codesourcery.com>
4262
4263 * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
4264 bits not set bits as indicating trapping exceptions.
4265
4266 2014-09-17 Nathan sidwell <nathan@acm.org>
4267
4268 * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
4269 (LIBGCOV_DRIVER): ... here.
4270 * libgcov-driver.c (gcov_master): New.
4271 (gcov_exit): Remove from master chain.
4272 (__gcov_init): Add to master chain if version compatible. Don't
4273 clear the version.
4274 * libgcov_interface (__gcov_flust): Call gcov_dump_int.
4275 (gcov_reset_int): Clear master chain, if compatible.
4276 (gcov_dump_int): New internal interface. Dump master chain, if
4277 compatible.
4278 (gcov_dump): Alias for gcov_dump_int.
4279 * libgcov.h (struct gcov_root): Add next and prev fields.
4280 (struct gcov_master): New struct.
4281 (__gcov_master): New.
4282 (gcov_dump_int): Declare.
4283
4284 2014-09-17 Olivier Hainque <hainque@adacore.com>
4285
4286 * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
4287 and crtbegin.o + crtend.o to extra_parts.
4288
4289 2014-09-12 Joseph Myers <joseph@codesourcery.com>
4290
4291 * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
4292 __LIBGCC_HAS_SF_MODE__.
4293 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
4294 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
4295 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
4296 * config/libbid/bid_gcc_intrinsics.h
4297 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
4298 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
4299 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
4300 * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
4301 (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
4302 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
4303
4304 2014-09-11 Georg-Johann Lay <avr@gjlay.de>
4305
4306 PR target/63223
4307 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
4308 and R24 as needed. Make work for all devices and .text locations.
4309 (__do_global_ctors, __do_global_dtors): Use word addresses.
4310 (__tablejump__, __tablejump_elpm__): Remove functions.
4311 * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
4312 Add _tablejump2.
4313 (XICALL, XIJMP): New macros.
4314
4315 2014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
4316 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
4317
4318 * config.host (aarch64*): Include crtfastmath.o and
4319 t-crtfm.
4320 * config/aarch64/crtfastmath.c: New file.
4321
4322 2014-09-08 Trevor Saunders <tsaunders@mozilla.com>
4323
4324 * config.host: Remove picochip support.
4325 * config/picochip/adddi3.S: Remove.
4326 * config/picochip/ashlsi3.S: Remove.
4327 * config/picochip/ashlsi3.c: Remove.
4328 * config/picochip/ashrsi3.S: Remove.
4329 * config/picochip/ashrsi3.c: Remove.
4330 * config/picochip/clzsi2.S: Remove.
4331 * config/picochip/cmpsi2.S: Remove.
4332 * config/picochip/divmod15.S: Remove.
4333 * config/picochip/divmodhi4.S: Remove.
4334 * config/picochip/divmodsi4.S: Remove.
4335 * config/picochip/lib1funcs.S: Remove.
4336 * config/picochip/longjmp.S: Remove.
4337 * config/picochip/lshrsi3.S: Remove.
4338 * config/picochip/lshrsi3.c: Remove.
4339 * config/picochip/parityhi2.S: Remove.
4340 * config/picochip/popcounthi2.S: Remove.
4341 * config/picochip/setjmp.S: Remove.
4342 * config/picochip/subdi3.S: Remove.
4343 * config/picochip/t-picochip: Remove.
4344 * config/picochip/ucmpsi2.S: Remove.
4345 * config/picochip/udivmodhi4.S: Remove.
4346 * config/picochip/udivmodsi4.S: Remove.
4347
4348 2014-09-08 Joseph Myers <joseph@codesourcery.com>
4349
4350 * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
4351 (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
4352 (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
4353 (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
4354 * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
4355 error if not defined and LIBGCC2_HAS_SF_MODE is defined.
4356 (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
4357 defined and LIBGCC2_HAS_DF_MODE is defined.
4358 (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
4359 defined and LIBGCC2_HAS_XF_MODE is defined.
4360 (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
4361 defined and LIBGCC2_HAS_TF_MODE is defined.
4362
4363 2014-09-08 Joseph Myers <joseph@codesourcery.com>
4364
4365 * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
4366 and ROUND_TOWARDS_ZERO conditionals.
4367
4368 2014-09-07 Nathan sidwell <nathan@acm.org>
4369
4370 * libgcov-interface.c (STRONG_ALIAS): Rename to ...
4371 (ALIAS_weak): ... here. Use forwarding function. Adjust uses.
4372
4373 2014-09-05 Joseph Myers <joseph@codesourcery.com>
4374
4375 * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
4376 * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
4377 uses to __LIBGCC_STACK_POINTER_REGNUM__.
4378 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
4379 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4380 * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
4381 Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4382 * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
4383 uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
4384 (DWARF_FRAME_REGISTERS): Change all uses to
4385 __LIBGCC_DWARF_FRAME_REGISTERS__.
4386 (EH_RETURN_STACKADJ_RTX): Change all uses to
4387 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
4388 * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
4389 __LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
4390 * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
4391 use to __LIBGCC_EH_FRAME_SECTION_NAME__.
4392 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
4393 * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
4394 to __LIBGCC_EH_FRAME_SECTION_NAME__.
4395 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
4396 * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
4397 __LIBGCC_STACK_POINTER_REGNUM__.
4398 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
4399 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4400 * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
4401 to __LIBGCC_STACK_POINTER_REGNUM__.
4402 * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
4403 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4404 * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
4405 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4406 * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
4407 Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4408 (STACK_POINTER_REGNUM): Change all uses to
4409 __LIBGCC_STACK_POINTER_REGNUM__.
4410 * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
4411 use to __LIBGCC_STACK_POINTER_REGNUM__.
4412 * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
4413 uses to __LIBGCC_STACK_POINTER_REGNUM__.
4414 * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
4415 to __LIBGCC_DWARF_FRAME_REGISTERS__.
4416 * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
4417 to __LIBGCC_DWARF_FRAME_REGISTERS__.
4418 * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
4419 to __LIBGCC_STACK_POINTER_REGNUM__.
4420 * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
4421 Remove conditional definition.
4422 * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
4423 __LIBGCC_TEXT_SECTION_ASM_OP__.
4424 (EH_FRAME_SECTION_NAME): Change all uses to
4425 __LIBGCC_EH_FRAME_SECTION_NAME__.
4426 (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
4427 __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
4428 (CTORS_SECTION_ASM_OP): Change all uses to
4429 __LIBGCC_CTORS_SECTION_ASM_OP__.
4430 (DTORS_SECTION_ASM_OP): Change all uses to
4431 __LIBGCC_DTORS_SECTION_ASM_OP__.
4432 (JCR_SECTION_NAME): Change all uses to
4433 __LIBGCC_JCR_SECTION_NAME__.
4434 (INIT_SECTION_ASM_OP): Change all uses to
4435 __LIBGCC_INIT_SECTION_ASM_OP__.
4436 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
4437 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
4438 * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
4439 __LIBGCC_STACK_GROWS_DOWNWARD__.
4440 * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
4441 __LIBGCC_INIT_SECTION_ASM_OP__.
4442 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
4443 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
4444 (EH_FRAME_SECTION_NAME): Change all uses to
4445 __LIBGCC_EH_FRAME_SECTION_NAME__.
4446 * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
4447 definitions. Change all uses to
4448 __LIBGCC_VTABLE_USES_DESCRIPTORS__.
4449 * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
4450 __LIBGCC_STACK_GROWS_DOWNWARD__.
4451 (DWARF_FRAME_REGISTERS): Change all uses to
4452 __LIBGCC_DWARF_FRAME_REGISTERS__.
4453 (EH_RETURN_STACKADJ_RTX): Change all uses to
4454 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
4455 * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
4456 definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
4457 * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
4458 __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
4459 (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
4460
4461 2014-09-02 Nathan sidwell <nathan@acm.org>
4462
4463 * libgcov-interface.c (STRONG_ALIAS): New.
4464 (__gcov_flush): Call __gcov_reset_int.
4465 (__gcov_reset): Strong alias for ...
4466 (__gcov_reset_ing): ... this renamed hidden version.
4467 * libgcov.h (__gcov_reset_int): New declaration.
4468
4469 2014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
4470
4471 * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
4472 call from here...
4473 * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
4474 (__dso_handle): Define on Cygwin.
4475 * config/i386/t-cygming (crtbeginS.o): New rule.
4476 * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
4477
4478 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
4479 declaration syntax.
4480
4481 2014-08-13 Steve Ellcey <sellcey@mips.com>
4482
4483 * crtstuff.c: Undef caddr_t.
4484
4485 2014-08-12 Steve Ellcey <sellcey@mips.com>
4486
4487 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
4488
4489 2014-08-07 Nathan Sidwell <nathan@acm.org>
4490
4491 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
4492 (LIBGCOV_DRIVER): ... to here.
4493 * libgcov.h (gcov_do_dump): New #define.
4494 (struct gcov_root): New.
4495 (__gcov_root): New declaration.
4496 (__gcov_dump_one): Declare.
4497 * libgcov-driver.c (gcov_list, gcov_dump_complete,
4498 run_accounted): Delete.
4499 (gcov_compute_histogram): Add LIST argument, adjust.
4500 (compute_summary): Adjust gcov_compute_histogram call.
4501 (gcov_do_dump): Not hidden, static in libgcov.
4502 (gcov_clear): Move to interface.c.
4503 (__gcov_dump_one): New, broken out of ...
4504 (gcov_exit): ... here. Make static.
4505 (__gcov_root): New.
4506 (__gcov_init): Adjust.
4507 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
4508 declarations.
4509 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
4510 (gcov_clear): Moved from driver.c. Add LIST argument.
4511 (__gcov_reset): Adjust for changed interfaces.
4512 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
4513
4514 2014-08-04 Rohit <rohitarulraj@freescale.com>
4515
4516 PR target/60102
4517 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
4518 based on change in SPE high register numbers and 3 HTM registers.
4519
4520 2014-08-01 Nathan Sidwell <nathan@acm.org>
4521
4522 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
4523 LIBGCOV_INTERFACE): Reformat.
4524 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
4525 IN_GCOV_TOOL.
4526 * libgcov-interface.c: Reformat some comments.
4527 (__gcov_flush_mx): Add declaration. Tidy up definition.
4528
4529 2014-07-31 Alan Modra <amodra@gmail.com>
4530 Peter Bergner <bergner@vnet.ibm.com>
4531
4532 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
4533 (pack_ldouble): New function.
4534 (__gcc_qadd): Use it.
4535 (__gcc_qmul): Likewise.
4536 (__gcc_qdiv): Likewise.
4537 (__gcc_qneg): Likewise.
4538 (__gcc_stoq): Likewise.
4539 (__gcc_dtoq): Likewise.
4540
4541 2014-07-30 J. D. Johnston <jjohnst@us.ibm.com>
4542
4543 * config/s390/tpf-unwind.h: Include <stdbool.h>.
4544 (__tpf_eh_return): Add original return address as second parameter.
4545 Handle cases where unwinder routines were called directly, instead
4546 of from within the C++ library.
4547
4548 2014-07-29 Nathan Sidwell <nathan@acm.org>
4549
4550 * libgcov.h: Move renaming of entry points to lib gcov specific
4551 portion.
4552 (gcov_do_dump): New rename.
4553 (gcov_rewrite): Remove inline, make HIDDEN.
4554 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
4555 (gcov_exit_compute_summary): Rename to ...
4556 (compute_summary): ... here. Add LIST argument.
4557 (gcov_exit_merge_gcda): Rename to ...
4558 (merge_one_data): ... here.
4559 (gcov_exit_write_gcda): Rename to ...
4560 (write_one_data): ... here.
4561 (gcov_exit_merge_summary): Rename to ...
4562 (merge_summary): Add RUN_COUNTED argument.
4563 (gcov_exit_dump_gcov): Rename to ...
4564 (dump_one_gcov): Add RUN_COUNTED argument.
4565 (gcov_do_dump): New function, broken out of ...
4566 (gcov_exit): ... here. Call it.
4567
4568 2014-07-27 Anthony Green <green@moxielogic.com>
4569
4570 * config.host: Add moxiebox configuration suppport.
4571
4572 2014-07-27 Nathan Sidwell <nathan@acm.org>
4573
4574 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
4575 (struct gcov_filename): ... here. Include buffer and max length
4576 fields.
4577 (gcov_max_filename): Remove.
4578 (gi_filename): Remove.
4579 (gcov_exit_compute_summary): Compute max filename here.
4580 (gcov_exit_merge_gcda): Add filename parm, adjust.
4581 (gcov_exit_merge_summary): Likewise.
4582 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
4583 (gcov_exit): Likewise.
4584 (__gcov_init): Don't calculate max length here.
4585 * libgcov_util.c (max_filename_len): Remove.
4586 (read_gcda_file): Don't calculate max length here.
4587 (gcov_read_profile_dir): Don't propagate here.
4588 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
4589 struct gcov_filename changes.
4590 (gcov_exit_open_gcda_file): Likewise.
4591
4592 2014-07-25 Nathan Sidwell <nathan@acm.org>
4593
4594 * libgcov-driver.c (set_gcov_dump_complete,
4595 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
4596 functions polluting user's namespace.
4597 (gcov_exit): Set variable directly.
4598 (gcov_clear): Reset variable directly.
4599 * libgcov-interface.c (get_gcov_dymp_complete,
4600 reset_gov_dump_complete): Remove declarations.
4601 (__gcov_reset, __gcov_dump): Don't call them.
4602
4603 2014-07-24 DJ Delorie <dj@redhat.com>
4604
4605 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
4606 (__gcc_deregister_frame): Move logic to detect deregister function
4607 to ...
4608 (__gcc_register_frame): here, so it's consistent with the register
4609 logic.
4610
4611 2014-07-23 Nathan Sidwell <nathan@acm.org>
4612
4613 * libgcov-driver.c (set_gcov_list): Remove.
4614 (gcov_list): Make non-static in GCOV_TOOL.
4615 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
4616
4617 2014-07-17 John David Anglin <danglin@gcc.gnu.org>
4618
4619 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
4620 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
4621 Don't use SYNC_LOCK_RELEASE for int type.
4622
4623 2014-07-14 Richard Biener <rguenther@suse.de>
4624
4625 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
4626
4627 2014-07-11 Rong Xu <xur@google.com>
4628
4629 * libgcov-util.c (gcov_max_filename): Fix declartion.
4630
4631 2014-07-10 Rong Xu <xur@google.com>
4632
4633 Add gcov-tool: an offline gcda profile processing tool
4634 Support.
4635 * libgcov-driver.c (gcov_max_filename): Make available
4636 to gcov-tool.
4637 * libgcov-merge.c (__gcov_merge_add): Replace
4638 gcov_read_counter() with a Macro.
4639 (__gcov_merge_ior): Ditto.
4640 (__gcov_merge_time_profile): Ditto.
4641 (__gcov_merge_single): Ditto.
4642 (__gcov_merge_delta): Ditto.
4643 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
4644 in the utility functions.
4645 (set_fn_ctrs): Utility function for reading gcda files to in-memory
4646 gcov_list object link lists.
4647 (tag_function): Ditto.
4648 (tag_blocks): Ditto.
4649 (tag_arcs): Ditto.
4650 (tag_lines): Ditto.
4651 (tag_counters): Ditto.
4652 (tag_summary): Ditto.
4653 (read_gcda_finalize): Ditto.
4654 (read_gcda_file): Ditto.
4655 (ftw_read_file): Ditto.
4656 (read_profile_dir_init): Ditto.
4657 (gcov_read_profile_dir): Ditto.
4658 (gcov_read_counter_mem): Ditto.
4659 (gcov_get_merge_weight): Ditto.
4660 (merge_wrapper): A wrapper function that calls merging handler.
4661 (gcov_merge): Merge two gcov_info objects with weights.
4662 (find_match_gcov_info): Find the matched gcov_info in the list.
4663 (gcov_profile_merge): Merge two gcov_info object lists.
4664 (__gcov_add_counter_op): Process edge profile counter values.
4665 (__gcov_ior_counter_op): Process IOR profile counter values.
4666 (__gcov_delta_counter_op): Process delta profile counter values.
4667 (__gcov_single_counter_op): Process single profile counter values.
4668 (fp_scale): Callback function for float-point scaling.
4669 (int_scale): Callback function for integer fraction scaling.
4670 (gcov_profile_scale): Scaling profile counters.
4671 (gcov_profile_normalize): Normalize profile counters.
4672 * libgcov.h: Add headers and functions for gcov-tool use.
4673 (gcov_get_counter): New.
4674 (gcov_get_counter_target): Ditto.
4675 (struct gcov_info): Make the functions field mutable in gcov-tool
4676 compilation.
4677
4678 2014-06-23 Kai Tietz <ktietz@redhat.com>
4679
4680 PR libgcc/61585
4681 * unwind-seh.c (_Unwind_GetGR): Check for proper
4682 index range.
4683 (_Unwind_SetGR): Likewise.
4684
4685 2014-05-22 Nick Clifton <nickc@redhat.com>
4686
4687 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
4688 -mhwmult=none.
4689
4690 2014-05-22 Teresa Johnson <tejohnson@google.com>
4691
4692 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
4693 include.
4694
4695 2014-05-20 John Marino <gnugcc@marino.st>
4696
4697 * config.host (*-*-dragonfly*): New target.
4698 * crtstuff.c: Make dl_iterate_support generic on *bsd.
4699 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
4700 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
4701 * config/i386/dragonfly-unwind.h: New.
4702
4703 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
4704
4705 PR libgcc/60166
4706 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
4707 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
4708
4709 2014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
4710
4711 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
4712 implementation.
4713
4714 2014-05-12 Georg-Johann Lay <avr@gjlay.de>
4715
4716 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
4717
4718 2014-05-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4719
4720 PR libgcc/61097
4721 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
4722 if --enable-shared.
4723
4724 2014-04-30 Bernd Edlinger <bernd.edlinger@hotmail.de>
4725
4726 Work around for current cygwin32 build problems.
4727 * config/i386/cygming-crtbegin.c (__register_frame_info,
4728 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
4729 functions only for 64-bit systems.
4730
4731 2014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4732
4733 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
4734 (sigill_caught, sigill_hdlr): Remove.
4735
4736 2014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4737
4738 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
4739 check.
4740 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
4741 Solaris 9 single-threaded support.
4742 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
4743 Solaris 9 single-threaded support. Add call_user_handler code
4744 sequences.
4745 (sparc_is_sighandler): Likewise.
4746
4747 2014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4748
4749 * config.host: Append t-floattodi to tmake_file depending on
4750 host_address.
4751
4752 2014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
4753
4754 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
4755
4756 2014-03-10 Uros Bizjak <ubizjak@gmail.com>
4757
4758 PR libgcc/60472
4759 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
4760 variable to avoid "array subscript is above array bounds" warnings.
4761 Use __builtin_expect when checking *jcr_list for NULL.
4762
4763 2014-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4764
4765 PR libgcc/59339
4766 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
4767 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
4768 vtv_*.o to extra_parts if enable_vtable_verify.
4769
4770 2014-03-06 Nick Clifton <nickc@redhat.com>
4771
4772 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
4773 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
4774
4775 2014-02-28 Joey Ye <joey.ye@arm.com>
4776
4777 PR libgcc/60166
4778 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
4779 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
4780 Set to zero.
4781
4782 2014-02-24 Walter Lee <walt@tilera.com>
4783
4784 * config.host: Support "tilegx*" and "tilepro*" triplets.
4785 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
4786 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
4787
4788 2014-02-20 Sandra Loosemore <sandra@codesourcery.com>
4789 Chung-Lin Tang <cltang@codesourcery.com>
4790
4791 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
4792 * config/nios2/crti.S: Remove .file directive.
4793 * config/nios2/crtn.S: Likewise.
4794
4795 2014-02-18 Kai Tietz <ktietz@redhat.com>
4796 Jonathan Schleifer <js@webkeks.org>
4797
4798 PR objc/56870
4799 * unwind-seh.c (_GCC_specific_handler): Pass proper
4800 value to unwind-handler.
4801
4802 2014-02-12 Joseph Myers <joseph@codesourcery.com>
4803
4804 * soft-fp/adddf3.c: Update from glibc.
4805 * soft-fp/addsf3.c: Likewise.
4806 * soft-fp/addtf3.c: Likewise.
4807 * soft-fp/divdf3.c: Likewise.
4808 * soft-fp/divsf3.c: Likewise.
4809 * soft-fp/divtf3.c: Likewise.
4810 * soft-fp/double.h: Likewise.
4811 * soft-fp/eqdf2.c: Likewise.
4812 * soft-fp/eqsf2.c: Likewise.
4813 * soft-fp/eqtf2.c: Likewise.
4814 * soft-fp/extenddftf2.c: Likewise.
4815 * soft-fp/extended.h: Likewise.
4816 * soft-fp/extendsfdf2.c: Likewise.
4817 * soft-fp/extendsftf2.c: Likewise.
4818 * soft-fp/extendxftf2.c: Likewise.
4819 * soft-fp/fixdfdi.c: Likewise.
4820 * soft-fp/fixdfsi.c: Likewise.
4821 * soft-fp/fixdfti.c: Likewise.
4822 * soft-fp/fixsfdi.c: Likewise.
4823 * soft-fp/fixsfsi.c: Likewise.
4824 * soft-fp/fixsfti.c: Likewise.
4825 * soft-fp/fixtfdi.c: Likewise.
4826 * soft-fp/fixtfsi.c: Likewise.
4827 * soft-fp/fixtfti.c: Likewise.
4828 * soft-fp/fixunsdfdi.c: Likewise.
4829 * soft-fp/fixunsdfsi.c: Likewise.
4830 * soft-fp/fixunsdfti.c: Likewise.
4831 * soft-fp/fixunssfdi.c: Likewise.
4832 * soft-fp/fixunssfsi.c: Likewise.
4833 * soft-fp/fixunssfti.c: Likewise.
4834 * soft-fp/fixunstfdi.c: Likewise.
4835 * soft-fp/fixunstfsi.c: Likewise.
4836 * soft-fp/fixunstfti.c: Likewise.
4837 * soft-fp/floatdidf.c: Likewise.
4838 * soft-fp/floatdisf.c: Likewise.
4839 * soft-fp/floatditf.c: Likewise.
4840 * soft-fp/floatsidf.c: Likewise.
4841 * soft-fp/floatsisf.c: Likewise.
4842 * soft-fp/floatsitf.c: Likewise.
4843 * soft-fp/floattidf.c: Likewise.
4844 * soft-fp/floattisf.c: Likewise.
4845 * soft-fp/floattitf.c: Likewise.
4846 * soft-fp/floatundidf.c: Likewise.
4847 * soft-fp/floatundisf.c: Likewise.
4848 * soft-fp/floatunditf.c: Likewise.
4849 * soft-fp/floatunsidf.c: Likewise.
4850 * soft-fp/floatunsisf.c: Likewise.
4851 * soft-fp/floatunsitf.c: Likewise.
4852 * soft-fp/floatuntidf.c: Likewise.
4853 * soft-fp/floatuntisf.c: Likewise.
4854 * soft-fp/floatuntitf.c: Likewise.
4855 * soft-fp/gedf2.c: Likewise.
4856 * soft-fp/gesf2.c: Likewise.
4857 * soft-fp/getf2.c: Likewise.
4858 * soft-fp/ledf2.c: Likewise.
4859 * soft-fp/lesf2.c: Likewise.
4860 * soft-fp/letf2.c: Likewise.
4861 * soft-fp/muldf3.c: Likewise.
4862 * soft-fp/mulsf3.c: Likewise.
4863 * soft-fp/multf3.c: Likewise.
4864 * soft-fp/negdf2.c: Likewise.
4865 * soft-fp/negsf2.c: Likewise.
4866 * soft-fp/negtf2.c: Likewise.
4867 * soft-fp/op-1.h: Likewise.
4868 * soft-fp/op-2.h: Likewise.
4869 * soft-fp/op-4.h: Likewise.
4870 * soft-fp/op-8.h: Likewise.
4871 * soft-fp/op-common.h: Likewise.
4872 * soft-fp/quad.h: Likewise.
4873 * soft-fp/single.h: Likewise.
4874 * soft-fp/soft-fp.h: Likewise.
4875 * soft-fp/subdf3.c: Likewise.
4876 * soft-fp/subsf3.c: Likewise.
4877 * soft-fp/subtf3.c: Likewise.
4878 * soft-fp/truncdfsf2.c: Likewise.
4879 * soft-fp/trunctfdf2.c: Likewise.
4880 * soft-fp/trunctfsf2.c: Likewise.
4881 * soft-fp/trunctfxf2.c: Likewise.
4882 * soft-fp/unorddf2.c: Likewise.
4883 * soft-fp/unordsf2.c: Likewise.
4884 * soft-fp/unordtf2.c: Likewise.
4885 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
4886 macro.
4887 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4888 Likewise.
4889 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4890 Likewise.
4891 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4892 Likewise.
4893 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4894 Likewise.
4895 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4896 Likewise.
4897 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4898 Likewise.
4899 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4900 Likewise.
4901 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4902 Likewise.
4903 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4904 Likewise.
4905 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4906 Likewise.
4907 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4908 Likewise.
4909 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4910 Likewise.
4911 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
4912 Likewise.
4913 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
4914 Likewise.
4915 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4916 Likewise.
4917
4918 2014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4919
4920 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
4921 cannot be represented.
4922 * config/s390/32/_fixsfdi.c: Likewise.
4923 * config/s390/32/_fixtfdi.c: Likewise.
4924 * config/s390/32/_fixunsdfdi.c: Likewise.
4925 * config/s390/32/_fixunssfdi.c: Likewise.
4926 * config/s390/32/_fixunstfdi.c: Likewise.
4927
4928 2014-02-07 Richard Sandiford <rdsandiford@googlemail.com>
4929
4930 * configure.ac (libgcc_cv_mips_hard_float): New.
4931 * configure: Regenerate.
4932 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
4933 t-softfp-sfdf for hard-float targets.
4934 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
4935 (softfp_float_modes, softfp_int_modes, softfp_extensions)
4936 (softfp_truncations, softfp_exclude_libgcc2): New.
4937 * config/t-hardfp: New file.
4938 * config/t-hardfp-sfdf: Likewise.
4939 * config/hardfp.c: Likewise.
4940
4941 2014-02-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4942
4943 * config.host: Include t-floattodi also for s390x.
4944 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
4945 * config/s390/32/_fixsfdi.c: Likewise.
4946 * config/s390/32/_fixtfdi.c: Likewise.
4947 * config/s390/32/_fixunsdfdi.c: Likewise.
4948 * config/s390/32/_fixunssfdi.c: Likewise.
4949 * config/s390/32/_fixunstfdi.c: Likewise.
4950
4951 2014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4952
4953 PR target/59788
4954 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
4955 (install-libgcc-unwind-map-forbuild): New target.
4956 (all): Depend on install-libgcc-unwind-map-forbuild.
4957 (install-libgcc-unwind-map): New target.
4958 (install): Depend on install-libgcc-unwind-map.
4959
4960 2014-02-02 Sandra Loosemore <sandra@codesourcery.com>
4961
4962 * config/nios2/crti.S (_init): Initialize GOT pointer from
4963 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
4964
4965 2014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
4966
4967 * configure.ac: Check __mips64 when setting host_address.
4968 * configure: Regenerate.
4969 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
4970 mips/t-mips64 and t-softfp.
4971 (mips*-*-linux*): Don't add mips/t-tpbit.
4972 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
4973 (DPBIT, DPBIT_CFLAGS): Delete.
4974 * config/mips/sfp-machine.h: New file.
4975 * config/mips/t-mips64: Likewise.
4976 * config/mips/t-softfp-tf: Likewise.
4977 * config/mips/t-tpbit: Delete.
4978
4979 2014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
4980
4981 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
4982 as long long.
4983
4984 2014-01-25 Walter Lee <walt@tilera.com>
4985
4986 * config/tilepro/atomic.c: Include tconfig.h. Don't include
4987 config.h or system.h.
4988 (bool) Define.
4989
4990 2014-01-25 Walter Lee <walt@tilera.com>
4991
4992 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
4993 (post_atomic_barrier): Ditto.
4994 (__fetch_and_do): New macro.
4995 (__atomic_fetch_and_do): Use __fetch_and_do.
4996 (__sync_fetch_and_do): New macro.
4997 (__sync_fetch_and_add_4): New function.
4998 (__sync_fetch_and_sub_4): New function.
4999 (__sync_fetch_and_or_4): New function.
5000 (__sync_fetch_and_and_4): New function.
5001 (__sync_fetch_and_xor_4): New function.
5002 (__sync_fetch_and_nand_4): New function.
5003 (__sync_fetch_and_add_8): New function.
5004 (__sync_fetch_and_sub_8): New function.
5005 (__sync_fetch_and_or_8): New function.
5006 (__sync_fetch_and_and_8): New function.
5007 (__sync_fetch_and_xor_8): New function.
5008 (__sync_fetch_and_nand_8): New function.
5009 (__do_and_fetch): New macro.
5010 (__atomic_do_and_fetch): Use __do_and_fetch.
5011 (__sync_do_and_fetch): New macro.
5012 (__sync_add_and_fetch_4): New function.
5013 (__sync_sub_and_fetch_4): New function.
5014 (__sync_or_and_fetch_4): New function.
5015 (__sync_and_and_fetch_4): New function.
5016 (__sync_xor_and_fetch_4): New function.
5017 (__sync_nand_and_fetch_4): New function.
5018 (__sync_add_and_fetch_8): New function.
5019 (__sync_sub_and_fetch_8): New function.
5020 (__sync_or_and_fetch_8): New function.
5021 (__sync_and_and_fetch_8): New function.
5022 (__sync_xor_and_fetch_8): New function.
5023 (__sync_nand_and_fetch_8): New function.
5024 (__sync_exchange_methods): New macro.
5025 (__sync_val_compare_and_swap_4): New function.
5026 (__sync_bool_compare_and_swap_4): New function.
5027 (__sync_lock_test_and_test_4): New function.
5028 (__sync_val_compare_and_swap_8): New function.
5029 (__sync_bool_compare_and_swap_8): New function.
5030 (__sync_lock_test_and_test_8): New function.
5031 (__subword_cmpxchg_body): New macro.
5032 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
5033 (__atomic_compare_exchange_2): Ditto.
5034 (__sync_subword_cmpxchg): New macro.
5035 (__sync_val_compare_and_swap_1): New function.
5036 (__sync_bool_compare_and_swap_1): New function.
5037 (__sync_val_compare_and_swap_2): New function.
5038 (__sync_bool_compare_and_swap_2): New function.
5039 (__atomic_subword): Rename to ...
5040 (__subword): ... New name.
5041 (__atomic_subword_fetch): Use __subword.
5042 (__sync_subword_fetch): New macro.
5043 (__sync_fetch_and_add_1): New function.
5044 (__sync_fetch_and_sub_1): New function.
5045 (__sync_fetch_and_or_1): New function.
5046 (__sync_fetch_and_and_1): New function.
5047 (__sync_fetch_and_xor_1): New function.
5048 (__sync_fetch_and_nand_1): New function.
5049 (__sync_fetch_and_add_2): New function.
5050 (__sync_fetch_and_sub_2): New function.
5051 (__sync_fetch_and_or_2): New function.
5052 (__sync_fetch_and_and_2): New function.
5053 (__sync_fetch_and_xor_2): New function.
5054 (__sync_fetch_and_nand_2): New function.
5055 (__sync_add_and_fetch_1): New function.
5056 (__sync_sub_and_fetch_1): New function.
5057 (__sync_or_and_fetch_1): New function.
5058 (__sync_and_and_fetch_1): New function.
5059 (__sync_xor_and_fetch_1): New function.
5060 (__sync_nand_and_fetch_1): New function.
5061 (__sync_add_and_fetch_2): New function.
5062 (__sync_sub_and_fetch_2): New function.
5063 (__sync_or_and_fetch_2): New function.
5064 (__sync_and_and_fetch_2): New function.
5065 (__sync_xor_and_fetch_2): New function.
5066 (__sync_nand_and_fetch_2): New function.
5067 (__atomic_subword_lock): Use __subword.
5068 (__sync_subword_lock): New macro.
5069 (__sync_lock_test_and_set_1): New function.
5070 (__sync_lock_test_and_set_2): New function.
5071
5072 2014-01-25 Walter Lee <walt@tilera.com>
5073
5074 * config/tilepro/atomic.c (BIT_OFFSET): Define.
5075 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
5076 (__atomic_subword): Ditto.
5077
5078 2014-01-25 Walter Lee <walt@tilera.com>
5079
5080 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
5081 a prefix op argument.
5082 (__atomic_nand_fetch_4): Add prefix op.
5083 (__atomic_nand_fetch_8): Ditto.
5084
5085 2014-01-21 Baruch Siach <barch@tkos.co.il>
5086
5087 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
5088
5089 2014-01-09 Rong Xu <xur@google.com>
5090
5091 * libgcov-driver.c (this_prg): make it local to save
5092 bss space.
5093 (gcov_exit_compute_summary): Ditto.
5094 (gcov_exit_merge_gcda): Ditto.
5095 (gcov_exit_merge_summary): Ditto.
5096 (gcov_exit_dump_gcov): Ditto.
5097
5098 2014-01-08 Rong Xu <xur@google.com>
5099
5100 * libgcov-driver.c: Use libgcov.h.
5101 (buffer_fn_data): Use xmalloc instead of malloc.
5102 (gcov_exit_merge_gcda): Ditto.
5103 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
5104 * libgcov.h: New common header files for libgcov-*.h.
5105 * libgcov-interface.c: Use libgcov.h
5106 * libgcov-merge.c: Ditto.
5107 * libgcov-profiler.c: Ditto.
5108 * Makefile.in: Add dependence to libgcov.h
5109
5110 2014-01-02 Joseph Myers <joseph@codesourcery.com>
5111
5112 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
5113 case of small numerator and finite nonzero result.
5114
5115 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
5116
5117 Update copyright years
5118
5119 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
5120
5121 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
5122 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
5123 config/arc/dp-hack.h, config/arc/fp-hack.h,
5124 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
5125 config/arc/ieee-754/arc600-dsp/divdf3.S,
5126 config/arc/ieee-754/arc600-dsp/divsf3.S,
5127 config/arc/ieee-754/arc600-dsp/muldf3.S,
5128 config/arc/ieee-754/arc600-dsp/mulsf3.S,
5129 config/arc/ieee-754/arc600-mul64/divdf3.S,
5130 config/arc/ieee-754/arc600-mul64/divsf3.S,
5131 config/arc/ieee-754/arc600-mul64/muldf3.S,
5132 config/arc/ieee-754/arc600-mul64/mulsf3.S,
5133 config/arc/ieee-754/arc600/divsf3.S,
5134 config/arc/ieee-754/arc600/mulsf3.S,
5135 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
5136 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
5137 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
5138 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
5139 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
5140 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
5141 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
5142 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
5143 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
5144 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
5145 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
5146 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
5147 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
5148 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
5149 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
5150 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
5151 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
5152 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
5153 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
5154 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
5155 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
5156 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
5157 vtv_start_preinit.c: Use the standard form for the copyright notice.
5158
5159 2013-12-31 Sandra Loosemore <sandra@codesourcery.com>
5160 Chung-Lin Tang <cltang@codesourcery.com>
5161 Based on patches from Altera Corporation
5162
5163 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
5164 * config/nios2/lib2-nios2.h: New file.
5165 * config/nios2/lib2-divmod-hi.c: New file.
5166 * config/nios2/linux-unwind.h: New file.
5167 * config/nios2/lib2-divmod.c: New file.
5168 * config/nios2/linux-atomic.c: New file.
5169 * config/nios2/t-nios2: New file.
5170 * config/nios2/crti.asm: New file.
5171 * config/nios2/t-linux: New file.
5172 * config/nios2/lib2-divtable.c: New file.
5173 * config/nios2/lib2-mul.c: New file.
5174 * config/nios2/tramp.c: New file.
5175 * config/nios2/crtn.asm: New file.
5176
5177 2013-12-26 Uros Bizjak <ubizjak@gmail.com>
5178
5179 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
5180 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
5181 from cpuid.h to check vendor signatures.
5182
5183 2013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
5184
5185 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
5186 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
5187 (get_amd_cpu): Likewise.
5188
5189 2013-12-25 H.J. Lu <hongjiu.lu@intel.com>
5190
5191 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
5192 Haswell.
5193
5194 2013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
5195 H.J. Lu <hongjiu.lu@intel.com>
5196
5197 PR target/59422
5198 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
5199 and AMD_JAGUAR.
5200 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
5201 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
5202 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
5203 FEATURE_XOP and FEATURE_FMA.
5204 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
5205 AMDFAM15H_BDVER3.
5206 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
5207 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
5208 FEATURE_FMA4 and FEATURE_XOP.
5209
5210 2013-12-23 H.J. Lu <hongjiu.lu@intel.com>
5211
5212 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
5213 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
5214 (get_intel_cpu): Updated.
5215
5216 2013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
5217
5218 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
5219
5220 2013-12-09 Uros Bizjak <ubizjak@gmail.com>
5221
5222 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
5223 instructions when __SSE_MATH__ is defined.
5224
5225 2013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
5226
5227 * config.host (microblaze-*-rtems*): New.
5228
5229 2013-12-04 Kugan Vivekanandarajah <kuganv@linaro.org>
5230
5231 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
5232 architectures that do not have hardware divide instruction.
5233 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
5234
5235 2013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
5236
5237 * longlong.h: Delete (moved to include/).
5238
5239 2013-12-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5240
5241 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
5242 of normal number and qNaN to not raise an inexact exception.
5243
5244 2013-11-28 Uros Bizjak <ubizjak@gmail.com>
5245
5246 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
5247
5248 2013-11-28 Matthew Leach <matthew.leach@arm.com>
5249
5250 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
5251 for correct opcodes on BE.
5252
5253 2013-11-27 Uros Bizjak <ubizjak@gmail.com>
5254
5255 * soft-fp/op-4.h: Update from glibc.
5256
5257 2013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
5258
5259 * libgcc2.c (__udivmoddi4): Define new implementation when
5260 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
5261 divide instructions.
5262
5263 2013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
5264
5265 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
5266
5267 2013-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5268
5269 * config/t-softfp (soft-fp-objects-base): New variable.
5270 (soft-fp-objects): Use it.
5271
5272 2013-11-23 David Edelson <dje.gcc@gmail.com>
5273 Andrew Dixie <andrewd@gentrack.com>
5274
5275 PR target/33704
5276 * config/rs6000/aixinitfini.c: New file.
5277 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
5278 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
5279 symbols.
5280
5281 2013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
5282
5283 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
5284
5285 2013-11-18 Jan Hubicka <jh@suse.cz>
5286
5287 * libgcov-driver.c (run_accounted): Make global level static.
5288 (gcov_exit_merge_summary): Silence warning; do not clear
5289 run_accounted here.
5290 (gcov_exit): Clear it here.
5291
5292 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
5293 run_accounted.
5294
5295 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
5296 (all_prg, crc32): Remove static vars.
5297 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
5298 all_prg.
5299 (gcov_exit_merge_gcda): Add crc32 parameter.
5300 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
5301 do not account run if it was already accounted.
5302 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
5303 (gcov_exit): Initialize all_prg; update.
5304
5305 2013-11-15 Andreas Schwab <schwab@linux-m68k.org>
5306
5307 * configure: Regenerate.
5308
5309 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5310 Alan Modra <amodra@gmail.com>
5311
5312 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
5313 (frob_update_context): Use it.
5314
5315 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5316 Alan Modra <amodra@gmail.com>
5317
5318 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
5319 (trampoline_initial): Provide ELFv2 variant.
5320 (__trampoline_setup): Likewise.
5321
5322 * config/rs6000/linux-unwind.h (frob_update_context): Do not
5323 check for AIX indirect function call sequence if _CALL_ELF == 2.
5324
5325 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5326 Alan Modra <amodra@gmail.com>
5327
5328 * config/rs6000/linux-unwind.h (get_regs): Do not support
5329 old kernel versions if _CALL_ELF == 2.
5330 (frob_update_context): Do not support PLT stub variants only
5331 generated by old linkers if _CALL_ELF == 2.
5332
5333 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5334 Alan Modra <amodra@gmail.com>
5335
5336 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
5337 location of CR save area for 64-bit little-endian systems.
5338
5339 2013-11-11 Eric Botcazou <ebotcazou@adacore.com>
5340
5341 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
5342 in tmake_file.
5343 * config/arm/t-vxworks: Delete.
5344
5345 2013-11-10 Kai Tietz <ktietz@redhat.com>
5346
5347 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
5348 Increment load-count on use of LIBGCC_SONAME DLL.
5349 (hmod_libgcc): New static variable to hold handle of
5350 LIBGCC_SONAME DLL.
5351 (__gcc_deregister_frame): Decrement load-count of
5352 LIBGCC_SONAME DLL.
5353
5354 2013-11-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
5355
5356 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
5357 availability.
5358 * configure: Regenerate
5359
5360 2013-11-07 Uros Bizjak <ubizjak@gmail.com>
5361
5362 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
5363 FP_EX_DENORM. Store result to volatile location after SSE division
5364 to close interrupt window. Remove unneeded fwait after x87
5365 division since interrupt window will be closed by emitted fstp.
5366 Rewrite FP_EX_INEXACT handling.
5367
5368 2013-11-06 Joseph Myers <joseph@codesourcery.com>
5369
5370 * soft-fp/README: Update.
5371 * soft-fp/adddf3.c: Update from glibc.
5372 * soft-fp/addsf3.c: Likewise.
5373 * soft-fp/addtf3.c: Likewise.
5374 * soft-fp/divdf3.c: Likewise.
5375 * soft-fp/divsf3.c: Likewise.
5376 * soft-fp/divtf3.c: Likewise.
5377 * soft-fp/double.h: Likewise.
5378 * soft-fp/eqdf2.c: Likewise.
5379 * soft-fp/eqsf2.c: Likewise.
5380 * soft-fp/eqtf2.c: Likewise.
5381 * soft-fp/extenddftf2.c: Likewise.
5382 * soft-fp/extended.h: Likewise.
5383 * soft-fp/extendsfdf2.c: Likewise.
5384 * soft-fp/extendsftf2.c: Likewise.
5385 * soft-fp/extendxftf2.c: Likewise.
5386 * soft-fp/fixdfdi.c: Likewise.
5387 * soft-fp/fixdfsi.c: Likewise.
5388 * soft-fp/fixdfti.c: Likewise.
5389 * soft-fp/fixsfdi.c: Likewise.
5390 * soft-fp/fixsfsi.c: Likewise.
5391 * soft-fp/fixsfti.c: Likewise.
5392 * soft-fp/fixtfdi.c: Likewise.
5393 * soft-fp/fixtfsi.c: Likewise.
5394 * soft-fp/fixtfti.c: Likewise.
5395 * soft-fp/fixunsdfdi.c: Likewise.
5396 * soft-fp/fixunsdfsi.c: Likewise.
5397 * soft-fp/fixunsdfti.c: Likewise.
5398 * soft-fp/fixunssfdi.c: Likewise.
5399 * soft-fp/fixunssfsi.c: Likewise.
5400 * soft-fp/fixunssfti.c: Likewise.
5401 * soft-fp/fixunstfdi.c: Likewise.
5402 * soft-fp/fixunstfsi.c: Likewise.
5403 * soft-fp/fixunstfti.c: Likewise.
5404 * soft-fp/floatdidf.c: Likewise.
5405 * soft-fp/floatdisf.c: Likewise.
5406 * soft-fp/floatditf.c: Likewise.
5407 * soft-fp/floatsidf.c: Likewise.
5408 * soft-fp/floatsisf.c: Likewise.
5409 * soft-fp/floatsitf.c: Likewise.
5410 * soft-fp/floattidf.c: Likewise.
5411 * soft-fp/floattisf.c: Likewise.
5412 * soft-fp/floattitf.c: Likewise.
5413 * soft-fp/floatundidf.c: Likewise.
5414 * soft-fp/floatundisf.c: Likewise.
5415 * soft-fp/floatunditf.c: Likewise.
5416 * soft-fp/floatunsidf.c: Likewise.
5417 * soft-fp/floatunsisf.c: Likewise.
5418 * soft-fp/floatunsitf.c: Likewise.
5419 * soft-fp/floatuntidf.c: Likewise.
5420 * soft-fp/floatuntisf.c: Likewise.
5421 * soft-fp/floatuntitf.c: Likewise.
5422 * soft-fp/gedf2.c: Likewise.
5423 * soft-fp/gesf2.c: Likewise.
5424 * soft-fp/getf2.c: Likewise.
5425 * soft-fp/ledf2.c: Likewise.
5426 * soft-fp/lesf2.c: Likewise.
5427 * soft-fp/letf2.c: Likewise.
5428 * soft-fp/muldf3.c: Likewise.
5429 * soft-fp/mulsf3.c: Likewise.
5430 * soft-fp/multf3.c: Likewise.
5431 * soft-fp/negdf2.c: Likewise.
5432 * soft-fp/negsf2.c: Likewise.
5433 * soft-fp/negtf2.c: Likewise.
5434 * soft-fp/op-1.h: Likewise.
5435 * soft-fp/op-2.h: Likewise.
5436 * soft-fp/op-4.h: Likewise.
5437 * soft-fp/op-8.h: Likewise.
5438 * soft-fp/op-common.h: Likewise.
5439 * soft-fp/quad.h: Likewise.
5440 * soft-fp/single.h: Likewise.
5441 * soft-fp/soft-fp.h: Likewise.
5442 * soft-fp/subdf3.c: Likewise.
5443 * soft-fp/subsf3.c: Likewise.
5444 * soft-fp/subtf3.c: Likewise.
5445 * soft-fp/truncdfsf2.c: Likewise.
5446 * soft-fp/trunctfdf2.c: Likewise.
5447 * soft-fp/trunctfsf2.c: Likewise.
5448 * soft-fp/trunctfxf2.c: Likewise.
5449 * soft-fp/unorddf2.c: Likewise.
5450 * soft-fp/unordsf2.c: Likewise.
5451 * soft-fp/unordtf2.c: Likewise.
5452
5453 2013-11-05 Uros Bizjak <ubizjak@gmail.com>
5454
5455 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
5456 (_FP_MUL_MEAT_D): Ditto.
5457 (_FP_DIV_MEAT_S): Ditto.
5458 (_FP_DIV_MEAT_D): Ditto.
5459 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
5460 t-softfp-sfdf and t-softfp to tmake_file.
5461
5462 2013-11-03 Uros Bizjak <ubizjak@gmail.com>
5463
5464 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
5465 * config/i386/crtprec.c: Ditto.
5466
5467 2013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
5468 Shiva Chen <shiva0217@gmail.com>
5469
5470 * config.host (nds32*-elf*): Add nds32 target.
5471 * config/nds32 : New directory and files.
5472
5473 2013-10-16 Hans-Peter Nilsson <hp@axis.com>
5474
5475 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
5476 * config.host (cpu_type) <Setting default>: Add entry for
5477 crisv32-*-*.
5478 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
5479 <crisv32-*-linux*>: Adjust.
5480 * longlong.h: Wrap the whole CRIS section in a single
5481 defined(__CRIS__) conditional. Add comment about add_ssaaaa
5482 and sub_ddmmss.
5483 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
5484 defined.
5485 [__CRIS__] (__umulsidi3): Define.
5486 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
5487 * config/cris/sfp-machine.h: New file.
5488 * config/cris/umulsidi3.S: New file.
5489 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
5490 * config/cris/arit.c (SIGNMULT): New macro.
5491 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
5492 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
5493 saving 3 out of originally 33 cycles from the fastest
5494 path, 3 out of 54 from the medium path and one from the longest
5495 path. Improve comments.
5496
5497 2013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
5498
5499 * sync.c: Remove static aliases and define each function directly
5500 under its real name.
5501
5502 2013-10-02 John David Anglin <danglin@gcc.gnu.org>
5503
5504 * config.host (hppa*64*-*-linux*): Define extra_parts.
5505 (hppa*-*-linux*): Likewise.
5506
5507 2013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
5508
5509 * config/arc/crtgend.S: Add 2013 to Copyright years.
5510 * config/arc/gmon/atomic.h: Likewise.
5511 * config/arc/gmon/auxreg.h: Likewise.
5512 * config/arc/gmon/sys/gmon_out.h: Likewise.
5513 * config/arc/gmon/sys/gmon.h: Likewise.
5514 * config/arc/gmon/prof-freq.c: Likewise.
5515 * config/arc/gmon/mcount.c: Likewise.
5516 * config/arc/gmon/prof-freq-stub.S: Likewise.
5517 * config/arc/gmon/gmon.c: Likewise.
5518 * config/arc/gmon/machine-gmon.h: Likewise.
5519 * config/arc/gmon/profil.S: Likewise.
5520 * config/arc/gmon/dcache_linesz.S: Likewise.
5521 * config/arc/crtg.S: Likewise.
5522 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
5523 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
5524 * config/arc/ieee-754/adddf3.S: Likewise.
5525 * config/arc/ieee-754/truncdfsf2.S: Likewise.
5526 * config/arc/ieee-754/fixsfsi.S: Likewise.
5527 * config/arc/ieee-754/gtsf2.S: Likewise.
5528 * config/arc/ieee-754/floatsisf.S: Likewise.
5529 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
5530 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
5531 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
5532 * config/arc/ieee-754/fixdfsi.S: Likewise.
5533 * config/arc/ieee-754/addsf3.S: Likewise.
5534 * config/arc/ieee-754/gesf2.S: Likewise.
5535 * config/arc/ieee-754/floatsidf.S: Likewise.
5536 * config/arc/ieee-754/extendsfdf2.S: Likewise.
5537 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
5538 * config/arc/ieee-754/gtdf2.S: Likewise.
5539 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
5540 * config/arc/ieee-754/uneqdf2.S: Likewise.
5541 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
5542 * config/arc/ieee-754/uneqsf2.S: Likewise.
5543 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
5544 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
5545 * config/arc/ieee-754/eqdf2.S: Likewise.
5546 * config/arc/ieee-754/ordsf2.S: Likewise.
5547 * config/arc/ieee-754/divsf3.S: Likewise.
5548 * config/arc/ieee-754/divdf3.S: Likewise.
5549 * config/arc/ieee-754/floatunsidf.S: Likewise.
5550 * config/arc/ieee-754/orddf2.S: Likewise.
5551 * config/arc/ieee-754/eqsf2.S: Likewise.
5552 * config/arc/ieee-754/gedf2.S: Likewise.
5553 * config/arc/crtn.S: Likewise.
5554 * config/arc/crti.S: Likewise.
5555 * config/arc/t-arc700-uClibc: Likewise.
5556 * config/arc/asm.h: Likewise.
5557 * config/arc/libgcc-excl.ver: Likewise.
5558 * config/arc/t-arc-newlib: Likewise.
5559 * config/arc/divtab-arc700.c: Likewise.
5560 * config/arc/initfini.c: Likewise.
5561 * config/arc/fp-hack.h: Likewise.
5562
5563 2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
5564 Diego Novillo <dnovillo@google.com>
5565
5566 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
5567 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
5568 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
5569 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
5570
5571 2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
5572 Brendan Kehoe <brendan@zen.org>
5573 Simon Cook <simon.cook@embecosm.com>
5574
5575 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
5576 * config/arc: New directory.
5577 * longlong.h [__arc__] (umul_ppmm): Remove.
5578 [__arc__] (__umulsidi3): Define.
5579 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
5580 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
5581
5582 2013-09-17 Jacek Caban <jacek@codeweavers.com>
5583
5584 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
5585 CreateSemaphoreA.
5586 * config/i386/gthr-win32.h: Likewise.
5587
5588 2013-09-16 DJ Delorie <dj@redhat.com>
5589
5590 * config/rl78/vregs.h: Add G10 register definitions.
5591 * config/rl78/lib2mul.c: Enable for RL78/G10.
5592 * config/rl78/lib2div.c: Likewise.
5593 * config/rl78/lshrsi3.S: Use vregs.h.
5594 * config/rl78/cmpsi2.S: Likewise.
5595 * config/rl78/trampoline.S: Likewise.
5596 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
5597
5598 2013-09-14 DJ Delorie <dj@redhat.com>
5599 Nick Clifton <nickc@redhat.com>
5600
5601 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
5602 * config/rl78/vregs.h: New.
5603 * config/rl78/signbit.S: New file. Implements signbit function.
5604 * config/rl78/divmodsi.S: New.
5605 * config/rl78/divmodhi.S: New.
5606 * config/rl78/divmodqi.S: New.
5607 * config/rl78/t-rl78: Build them here...
5608 * config/rl78/lib2div.c: ...but not here.
5609
5610 2013-09-12 DJ Delorie <dj@redhat.com>
5611
5612 * config.host (msp*-*-elf): New.
5613 * config/msp430/: New port.
5614
5615 2013-08-18 Iain Sandoe <iain@codesourcery.com>
5616
5617 PR gcov-profile/58127
5618 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
5619 __thread var for emulated TLS.
5620 (__gcov_indirect_call_counters): Likewise.
5621
5622 2013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
5623 Catherine Moore <clm@codesourcery.com>
5624 Richard Sandiford <rdsandiford@googlemail.com>
5625
5626 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
5627 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
5628 (CALL_STUB_NO_RET): Likewise.
5629 (CALL_STUB_RET): Likewise.
5630 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
5631 __mips16_ret call/return stub symbols.
5632 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
5633 to tmake_file.
5634
5635 2013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
5636
5637 * config.host <mips*-*-linux*>: Remove a stray comment.
5638
5639 2013-08-10 Jan Hubicka <jh@suse.cz>
5640
5641 Work around binutils PR14342
5642 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
5643 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
5644 (L_gcov_indirect_call_profiler_v2): New.
5645
5646 2013-08-06 Jan Hubicka <jh@suse.cz>
5647
5648 * libgcov.c (__gcov_indirect_call_callee,
5649 __gcov_indirect_call_counters): New global vars.
5650 (__gcov_indirect_call_profiler): replace by ...
5651 (__gcov_indirect_call_profiler_v2) ... this one.
5652
5653 2013-08-06 Caroline Tice <cmtice@google.com>
5654
5655 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
5656 vtv_start_preinit.o and vtv_end_preinit.o.
5657 * configure.ac: Add code to check/set enable_vtable_verify.
5658 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
5659 true.
5660 * vtv_start_preinit.c: New file.
5661 * vtv_end_preinit.c: New file.
5662 * vtv_start.c: New file.
5663 * vtv_end.c: New file.
5664 * configure: Regenerated.
5665
5666 2013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
5667
5668 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
5669 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
5670 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
5671 GPL-3.0-with-GCC-exception.
5672
5673 2013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
5674
5675 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
5676 ISA and up.
5677
5678 2013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5679
5680 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
5681 mapping for FPRs when creating the fallback framestate.
5682
5683 2013-07-19 Georg-Johann Lay <avr@gjlay.de>
5684
5685 PR target/57516
5686 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
5687 (__round_s2_const, __round_u2_const)
5688 (__round_s4_const, __round_u4_const, __round_x8):
5689 Saturate result if addition result cannot be represented.
5690
5691 2013-07-15 Matthias Klose <doko@ubuntu.com>
5692
5693 * libgcc2.c: Don't include <limits.h>.
5694
5695 2013-07-09 Janis Johnson <janisjo@codesourcery.com>
5696
5697 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
5698
5699 2013-07-06 Jakub Jelinek <jakub@redhat.com>
5700
5701 PR target/29776
5702 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
5703
5704 2013-06-28 Jakub Jelinek <jakub@redhat.com>
5705
5706 PR middle-end/36041
5707 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
5708 Define.
5709 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
5710 instead of table lookups.
5711 (__popcountDI2): Likewise.
5712
5713 2013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
5714
5715 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
5716 correctly.
5717
5718 2013-06-21 Joseph Myers <joseph@codesourcery.com>
5719
5720 PR other/53317
5721 * soft-fp/adddf3.c: Update from glibc.
5722 * soft-fp/addsf3.c: Likewise.
5723 * soft-fp/addtf3.c: Likewise.
5724 * soft-fp/divdf3.c: Likewise.
5725 * soft-fp/divsf3.c: Likewise.
5726 * soft-fp/divtf3.c: Likewise.
5727 * soft-fp/double.h: Likewise.
5728 * soft-fp/eqdf2.c: Likewise.
5729 * soft-fp/eqsf2.c: Likewise.
5730 * soft-fp/eqtf2.c: Likewise.
5731 * soft-fp/extenddftf2.c: Likewise.
5732 * soft-fp/extended.h: Likewise.
5733 * soft-fp/extendsfdf2.c: Likewise.
5734 * soft-fp/extendsftf2.c: Likewise.
5735 * soft-fp/fixdfdi.c: Likewise.
5736 * soft-fp/fixdfsi.c: Likewise.
5737 * soft-fp/fixsfdi.c: Likewise.
5738 * soft-fp/fixsfsi.c: Likewise.
5739 * soft-fp/fixtfdi.c: Likewise.
5740 * soft-fp/fixtfsi.c: Likewise.
5741 * soft-fp/fixunsdfdi.c: Likewise.
5742 * soft-fp/fixunsdfsi.c: Likewise.
5743 * soft-fp/fixunssfdi.c: Likewise.
5744 * soft-fp/fixunssfsi.c: Likewise.
5745 * soft-fp/fixunstfdi.c: Likewise.
5746 * soft-fp/fixunstfsi.c: Likewise.
5747 * soft-fp/floatdidf.c: Likewise.
5748 * soft-fp/floatdisf.c: Likewise.
5749 * soft-fp/floatditf.c: Likewise.
5750 * soft-fp/floatsidf.c: Likewise.
5751 * soft-fp/floatsisf.c: Likewise.
5752 * soft-fp/floatsitf.c: Likewise.
5753 * soft-fp/floatundidf.c: Likewise.
5754 * soft-fp/floatundisf.c: Likewise.
5755 * soft-fp/floatunditf.c: Likewise.
5756 * soft-fp/floatunsidf.c: Likewise.
5757 * soft-fp/floatunsisf.c: Likewise.
5758 * soft-fp/floatunsitf.c: Likewise.
5759 * soft-fp/gedf2.c: Likewise.
5760 * soft-fp/gesf2.c: Likewise.
5761 * soft-fp/getf2.c: Likewise.
5762 * soft-fp/ledf2.c: Likewise.
5763 * soft-fp/lesf2.c: Likewise.
5764 * soft-fp/letf2.c: Likewise.
5765 * soft-fp/muldf3.c: Likewise.
5766 * soft-fp/mulsf3.c: Likewise.
5767 * soft-fp/multf3.c: Likewise.
5768 * soft-fp/negdf2.c: Likewise.
5769 * soft-fp/negsf2.c: Likewise.
5770 * soft-fp/negtf2.c: Likewise.
5771 * soft-fp/op-1.h: Likewise.
5772 * soft-fp/op-2.h: Likewise.
5773 * soft-fp/op-4.h: Likewise.
5774 * soft-fp/op-8.h: Likewise.
5775 * soft-fp/op-common.h: Likewise.
5776 * soft-fp/quad.h: Likewise.
5777 * soft-fp/single.h: Likewise.
5778 * soft-fp/soft-fp.h: Likewise.
5779 * soft-fp/subdf3.c: Likewise.
5780 * soft-fp/subsf3.c: Likewise.
5781 * soft-fp/subtf3.c: Likewise.
5782 * soft-fp/truncdfsf2.c: Likewise.
5783 * soft-fp/trunctfdf2.c: Likewise.
5784 * soft-fp/trunctfsf2.c: Likewise.
5785 * soft-fp/unorddf2.c: Likewise.
5786 * soft-fp/unordsf2.c: Likewise.
5787 * soft-fp/unordtf2.c: Likewise.
5788 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
5789 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5790 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5791 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5792 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5793 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5794 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5795 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5796 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5797 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
5798 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
5799 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5800
5801 2013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
5802
5803 * config/mips/lib2funcs.c: New file.
5804 * config/mips/t-mips (LIB2ADD_ST): Add it.
5805
5806 2013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
5807
5808 PR target/6526
5809 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
5810 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
5811
5812 2013-06-08 Walter Lee <walt@tilera.com>
5813
5814 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
5815 Replace int64_t with long long. Add __extension__ where
5816 appropriate.
5817 * config/tilepro/atomic.c: Include config.h.
5818
5819 2013-06-06 Douglas B Rupp <rupp@adacore.com>
5820
5821 * config.host (arm-wrs-vxworks): Configure with other soft float.
5822
5823 2013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
5824
5825 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
5826 (mips64r5900el-*-elf*): New configurations.
5827
5828 2013-06-04 Alan Modra <amodra@gmail.com>
5829
5830 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
5831
5832 2013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
5833
5834 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
5835
5836 2013-05-28 Eric Botcazou <ebotcazou@adacore.com>
5837
5838 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
5839 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
5840 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
5841
5842 2013-05-22 Eric Botcazou <ebotcazou@adacore.com>
5843
5844 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
5845 (powerpc-wrs-vxworks): Likewise.
5846
5847 2013-05-22 Eric Botcazou <ebotcazou@adacore.com>
5848
5849 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
5850 signal frames as well.
5851 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
5852 STACK_BIAS to the CFA offset.
5853
5854 2013-05-17 Richard Henderson <rth@redhat.com>
5855
5856 PR target/49146
5857 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
5858 (execute_cfa_program): Use it when storing to fs->regs.
5859
5860 2013-05-08 Kai Tietz <ktietz@redhat.com>
5861
5862 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
5863 (__deregister_frame_info): Likewise.
5864
5865 2013-05-06 Thomas Schwinge <thomas@codesourcery.com>
5866
5867 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
5868 NaN's payload.
5869
5870 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
5871
5872 2013-04-25 Alan Modra <amodra@gmail.com>
5873
5874 * config.host: Match little-endian powerpc-linux.
5875
5876 2013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
5877
5878 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
5879 as 'unsigned long long' instead of 'unsigned long'.
5880 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
5881 'signed long'.
5882
5883 2013-04-10 Julian Brown <julian@codesourcery.com>
5884
5885 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
5886 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
5887 unsigned char/unsigned short.
5888 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
5889
5890 2013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
5891
5892 PR other/55274
5893 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
5894
5895 2013-04-04 Meador Inge <meadori@codesourcery.com>
5896
5897 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
5898 computing the location of the link register.
5899 (aeabi_uldivmod): Ditto.
5900
5901 2013-03-27 Kai Tietz <ktietz@redhat.com>
5902
5903 * config.host: Add support for cygwin x64 target.
5904 * configure: Regenerated.
5905
5906 2013-03-26 Walter Lee <walt@tilera.com>
5907
5908 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
5909 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
5910
5911 2013-03-25 Kai Tietz <ktietz@redhat.com>
5912
5913 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
5914
5915 2013-03-20 Robert Mason <rbmj@verizon.net>
5916
5917 * config/vxlib-tls.c (__gthread_get_tsd_data,)
5918 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
5919 (__gthread_leave_tsd_dtor_context): Add prototypes.
5920 (tls_delete_hook): Update.
5921
5922 2013-03-20 Catherine Moore <clm@codesourcery.com>
5923 Joseph Myers <joseph@codesourcery.com>
5924 Chao-ying Fu <fu@mips.com>
5925
5926 * config/mips/mips16.S: Don't build for microMIPS.
5927 * config/mips/linux-unwind.h: Handle microMIPS frame.
5928 * config/mips/crtn.S (fini, init): New labels.
5929
5930 2013-03-14 Jakub Jelinek <jakub@redhat.com>
5931
5932 PR tree-optimization/53265
5933 * unwind-dw2.c (execute_cfa_program): Avoid
5934 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
5935 on targets with DWARF_FRAME_REGISTERS < 32.
5936
5937 2013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
5938
5939 PR target/49880
5940 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
5941 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
5942
5943 2013-03-07 Sriraman Tallam <tmsriram@google.com>
5944
5945 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
5946 sandybridge processors.
5947
5948 2013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
5949
5950 PR target/56529
5951 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
5952 inclusion list.
5953
5954 2013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
5955
5956 * config/microblaze/crti.S: Setup stack protection at entry
5957
5958 2013-03-04 Georg-Johann Lay <avr@gjlay.de>
5959
5960 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
5961 (__rotldi3): Shift bytewise if applicable.
5962
5963 2013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
5964
5965 * config/aarch64/sync-cache.c
5966 (__aarch64_sync_cache_range): Silence warnings.
5967
5968 2013-02-25 Catherine Moore <clm@codesourcery.com>
5969
5970 Revert:
5971 2013-02-24 Catherine Moore <clm@codesourcery.com>
5972 Joseph Myers <joseph@codesourcery.com>
5973 Chao-ying Fu <fu@mips.com>
5974
5975 * config/mips/mips16.S: Don't build for microMIPS.
5976 * config/mips/linux-unwind.h: Handle microMIPS frame.
5977 * config/mips/crtn.S (fini, init): New labels.
5978
5979 2013-02-24 Catherine Moore <clm@codesourcery.com>
5980 Joseph Myers <joseph@codesourcery.com>
5981 Chao-ying Fu <fu@mips.com>
5982
5983 * config/mips/mips16.S: Don't build for microMIPS.
5984 * config/mips/linux-unwind.h: Handle microMIPS frame.
5985 * config/mips/crtn.S (fini, init): New labels.
5986
5987 2012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
5988 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
5989 as dividend.
5990
5991 2013-02-16 Alan Modra <amodra@gmail.com>
5992
5993 PR target/55431
5994 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
5995 (ppc_fallback_frame_state): Always set up save locations for fp
5996 and altivec. Don't bother with non-callee-saved regs, r0-r13
5997 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
5998
5999 2013-02-12 Georg-Johann Lay <avr@gjlay.de>
6000
6001 PR target/54222
6002 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
6003 _ssmulHA, _ssmulSA.
6004 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
6005 _ssmulha3, _usmulusa3, _ssmulsa3.
6006 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
6007 (__muldi3): XCALL __muldi3_6 instead of rcall.
6008 (__umulsidi3, __mulsidi3): New functions.
6009 (do_prologue_saves, do_epilogue_restores): New .macros.
6010 (__divdi3_moddi3): Use them.
6011 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
6012 (__usmulusa3, __ssmulsa3): New functions.
6013
6014 2013-02-11 Iain Sandoe <iain@codesourcery.com>
6015 Jack Howarth <howarth@bromo.med.uc.edu>
6016 Patrick Marlier <patrick.marlier@gmail.com>
6017
6018 PR libitm/55693
6019 * config/darwin-crt-tm.c: Remove dummy functions hack.
6020
6021 2013-02-08 Georg-Johann Lay <avr@gjlay.de>
6022
6023 PR target/54222
6024 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
6025 * config/avr/lib2-object.mk: New iterator to build objects from it.
6026 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
6027 lib2funcs.c.
6028 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
6029 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
6030 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
6031 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
6032 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
6033 * config/avr/lib1funcs-fixed.S: Implement them.
6034
6035 2013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
6036
6037 Update copyright years.
6038
6039 2013-02-01 David Edelsohn <dje.gcc@gmail.com>
6040
6041 PR target/54601
6042 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
6043 Add crtcxa to extra_parts.
6044 * config/rs6000/exit.h: New file.
6045 * config/rs6000/cxa_atexit.c: New file.
6046 * config/rs6000/cxa_finalize.c: New file.
6047 * config/rs6000/crtcxa.c: New file.
6048 * config/rs6000/t-aix-cxa: New file.
6049 * config/rs6000/libgcc-aix-cxa.ver: New file.
6050
6051 2013-01-31 Nick Clifton <nickc@redhat.com>
6052
6053 * config/v850/lib1funcs.S: Add support for e3v5 architecture
6054 variant.
6055
6056 2013-01-29 Georg-Johann Lay <avr@gjlay.de>
6057
6058 PR target/54222
6059 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
6060 _mulQQ, _mulHQ, _mulHA, _mulSA,
6061 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
6062 _divQQ, _divHQ, _divHA, _divSA,
6063 _divUQQ, _divUHQ, _divUHA, _divUSA.
6064
6065 2013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
6066
6067 * config.host(microblaze*-linux*): tmake_file: Remove
6068 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
6069 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
6070 to exclude functions from being built with libgcc.c and use
6071 the microblaze assembly.
6072
6073 2013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
6074
6075 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
6076 extra_parts.
6077
6078 2013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
6079
6080 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
6081 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
6082 __UINTPTR_TYPE__; also cast 'base' to the same type before the
6083 alignment operation.
6084
6085 2013-01-15 Sofiane Naci <sofiane.naci@arm.com>
6086
6087 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
6088 loop start address for cache clearing.
6089
6090 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
6091
6092 * config/avr/lib1funcs.S: Remove trailing blanks.
6093 * config/avr/lib1funcs-fixed.S: Ditto.
6094
6095 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
6096
6097 * config/avr/avr-lib.h: Add GPL copyright notice.
6098
6099 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
6100
6101 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
6102 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
6103 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
6104 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
6105
6106 2013-01-07 Mark Kettenis <kettenis@openbsd.org>
6107
6108 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
6109 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
6110
6111 2013-01-04 Nick Clifton <nickc@redhat.com>
6112
6113 * config/v850/lib1funcs.S: Only provide CALLT support functions if
6114 the CALLT instruction is supported.
6115
6116 2012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
6117
6118 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
6119 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
6120
6121 2012-12-13 John Tytgat <John@bass-software.com>
6122
6123 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
6124 is 25.
6125
6126 2012-12-12 Jakub Jelinek <jakub@redhat.com>
6127
6128 PR libgcc/55451
6129 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
6130 undefined signed overflows.
6131
6132 2012-12-09 Uros Bizjak <ubizjak@gmail.com>
6133
6134 PR target/55344
6135 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
6136
6137 2012-12-06 Uros Bizjak <ubizjak@gmail.com>
6138
6139 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
6140 (FP_TRAPPING_EXCEPTIONS): Define.
6141 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
6142 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
6143
6144 2012-12-04 Richard Henderson <rth@redhat.com>
6145
6146 PR bootstrap/55571
6147 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
6148
6149 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
6150
6151 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
6152 (FP_EX_SHIFT): Define.
6153 (FP_TRAPPING_EXCEPTIONS): Define.
6154
6155 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
6156
6157 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
6158 (FP_ROUNDMODE): Use FP_RND_MASK.
6159 * config/aarch64/sfp-exceptions.c: New.
6160 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
6161 Use __sfp_handle_exceptions.
6162
6163 2012-12-04 Richard Earnshaw <rearnsha@arm.com>
6164
6165 * config.host: (arm*-*-freebsd*): Remove.
6166 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
6167 (arm*-*-elf*): Remove.
6168 (arm*-*-wince-pe*): Remove.
6169 * arm/unwind-arm.c (struct fpa_reg): Delete.
6170 (struct fpa_regs): Delete.
6171 (phase1_vrs): Remove fpa element.
6172 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
6173 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
6174 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
6175 * ieee754-sf.S (floatundisf): Remove FPA support.
6176 (floatdisf): Likewise.
6177 * ieee75f-df.S (floatundidf): Likewise.
6178 (floatdidf): Likewise.
6179
6180 2012-11-29 Kai Tietz <ktietz@redhat.com>
6181
6182 PR target/55445
6183 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
6184 * unwind-generic.h: Likewise.
6185 * unwind-seh.c: Likewise.
6186
6187 2012-11-28 Richard Henderson <rth@redhat.com>
6188
6189 PR libgcc/48076
6190 * emutls.c (__emutls_get_address): Avoid race condition between
6191 obj->loc.offset read and emutls_key initialization.
6192
6193 2012-11-22 Georg-Johann Lay <avr@gjlay.de>
6194
6195 Adjust decimal point of signed accum mode to GCC default.
6196
6197 PR target/54222
6198 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
6199 _divqq_helper.
6200 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
6201 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
6202 (__mulha3, __mulsa3)
6203 (__divqq3, __divha3, __divsa3): Adjust to new position of
6204 decimal point of signed accum types.
6205
6206 (__mulusa3_round): New function.
6207 (__mulusa3): Use it.
6208 (__divqq_helper): New function.
6209 (__udivuqq3): Use it.
6210
6211 2012-11-20 Jakub Jelinek <jakub@redhat.com>
6212
6213 PR bootstrap/55370
6214 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
6215
6216 2012-11-18 Teresa Johnson <tejohnson@google.com>
6217
6218 PR bootstrap/55051
6219 * libgcov.c (gcov_exit): Remove merged program summary
6220 comparison unless !GCOV_LOCKED.
6221
6222 2012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
6223
6224 * soft-fp: Updated from glibc upstream.
6225
6226 2012-11-06 Ian Lance Taylor <iant@google.com>
6227
6228 * generic-morestack.c (__generic_morestack): Align the returned
6229 stack pointer to a 32 byte boundary.
6230 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
6231 increment the return address until we have decided that we don't
6232 have a varargs function.
6233 (__morestack) [32-bit]: Align stack correctly when calling C
6234 functions.
6235 (__morestack) [64-bit]: Likewise.
6236
6237 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
6238
6239 * configure: Regenerate.
6240
6241 2012-11-02 Uros Bizjak <ubizjak@gmail.com>
6242
6243 PR target/55175
6244 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
6245 * config/i386/sfp-machine.h: Guard exception handling
6246 code with _SOFT_FLOAT.
6247 * config/i386/32/sfp-machine.h: Guard rounding handling
6248 code with _SOFT_FLOAT.
6249 * config/i386/64/sfp-machine.h: Ditto.
6250
6251 2012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
6252
6253 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
6254 as extra_parts.
6255
6256 2012-10-26 Uros Bizjak <ubizjak@gmail.com>
6257
6258 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
6259 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
6260 when appropriate. Correct structure element types.
6261 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
6262 -minline-all-stringops from compile flags.
6263
6264 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
6265
6266 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
6267
6268 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
6269
6270 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
6271
6272 2012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
6273
6274 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
6275 tmake_file.
6276
6277 2012-10-23 Ian Bolton <ian.bolton@arm.com>
6278 Jim MacArthur <jim.macarthur@arm.com>
6279 Marcus Shawcroft <marcus.shawcroft@arm.com>
6280 Nigel Stephens <nigel.stephens@arm.com>
6281 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
6282 Richard Earnshaw <rearnsha@arm.com>
6283 Sofiane Naci <sofiane.naci@arm.com>
6284 Stephen Thomas <stephen.thomas@arm.com>
6285 Tejas Belagod <tejas.belagod@arm.com>
6286 Yufeng Zhang <yufeng.zhang@arm.com>
6287
6288 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
6289 * config/aarch64/crti.S: New file.
6290 * config/aarch64/crtn.S: New file.
6291 * config/aarch64/linux-unwind.h: New file.
6292 * config/aarch64/sfp-machine.h: New file.
6293 * config/aarch64/sync-cache.c: New file.
6294 * config/aarch64/t-aarch64: New file.
6295 * config/aarch64/t-softfp: New file.
6296
6297 2012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
6298
6299 * config/mmix/crti.S: Mark program and data addresses using PRELD.
6300 Remove typo'd and unnecessary alignment-LOC for .data. Remove
6301 no-longer-needed LDBU insns.
6302
6303 2012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
6304
6305 * config.host
6306 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
6307 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
6308
6309 2012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
6310
6311 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
6312
6313 2012-10-15 Matthias Klose <doko@ubuntu.com>
6314
6315 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
6316
6317 2012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
6318
6319 * configure: Regenerate.
6320 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
6321
6322 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
6323
6324 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
6325 instructions for 64bit targets only.
6326
6327 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
6328
6329 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
6330 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
6331 * config/i386/32/sfp-machine.h: ... here.
6332 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
6333 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
6334 New defines.
6335
6336 2012-10-07 Matthias Klose <doko@ubuntu.com>
6337
6338 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
6339 as unused.
6340 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
6341
6342 2012-10-06 Mark Kettenis <kettenis@openbsd.org>
6343
6344 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
6345 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
6346 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
6347 (ElfW): Likewise.
6348
6349 2012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
6350
6351 PR other/53889
6352 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
6353 Fix parameter names.
6354
6355 2012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
6356
6357 PR target/33135
6358 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
6359 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
6360 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
6361
6362 2012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
6363
6364 PR target/50457
6365 * config/sh/linux-atomic.S: Delete.
6366 * config/sh/linux-atomic.c: New.
6367 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
6368 linux-atomic.c. Add cflags to disable warnings.
6369
6370 2012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
6371
6372 PR other/53889
6373 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
6374 function.
6375 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
6376 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
6377 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
6378 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
6379 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
6380 Likewise.
6381 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
6382 Likewise.
6383 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
6384 Likewise.
6385 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
6386 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
6387
6388 2012-09-19 Mark Kettenis <kettenis@openbsd.org>
6389
6390 * config.host (hppa-*-openbsd*): New target.
6391 * config/pa/t-openbsd: New file.
6392
6393 2012-09-15 Georg-Johann Lay <avr@gjlay.de>
6394
6395 PR target/54222
6396 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
6397 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
6398 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
6399 (__divsa3): Use __negsi2 to negate r_quoL.
6400 * config/avr/lib1funcs.S (FALIAS): New macro.
6401 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
6402 (__negsi2): ...this new function.
6403 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
6404 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
6405 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
6406 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
6407 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
6408 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
6409
6410 2012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
6411
6412 PR target/54089
6413 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
6414 (lshrsi3): Reimplement as lshrsi3_r0.
6415
6416 2012-09-10 Andreas Schwab <schwab@linux-m68k.org>
6417
6418 PR target/46191
6419 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
6420 of libgcc.a.
6421
6422 2012-09-07 Teresa Johnson <tejohnson@google.com>
6423
6424 PR gcov-profile/54487
6425 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
6426 differences.
6427
6428 2012-09-05 Georg-Johann Lay <avr@gjlay.de>
6429
6430 PR target/54461
6431 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
6432 not configured --with-avrlibc=no.
6433 * config/avr/t-avrlibc: New file.
6434 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
6435 (DPBIT_FUNCS): Ditto.
6436 (TPBIT_FUNCS): Ditto.
6437
6438 2012-09-04 Teresa Johnson <tejohnson@google.com>
6439
6440 * libgcov.c (struct gcov_summary_buffer): New structure.
6441 (gcov_histogram_insert): New function.
6442 (gcov_compute_histogram): Ditto.
6443 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
6444 histograms during summary merging.
6445
6446 2012-09-01 Mark Kettenis <kettenis@openbsd.org>
6447
6448 * config.host (x86_64-*-openbsd*): New target.
6449
6450 2012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
6451
6452 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
6453 attribute.
6454
6455 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
6456
6457 PR target/54222
6458 * config/avr/t-avr (conv_X): Rename to func_X.
6459
6460 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
6461
6462 PR target/54222
6463 * config/avr/lib1funcs-fixed.S: New file.
6464 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
6465 after they are used.
6466 (neg2, neg4): New macros.
6467 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
6468 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
6469 (__umulhisi3): Speed up MUL variant if there is enough flash.
6470 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
6471 avr-modes.def.
6472 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
6473 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
6474 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
6475 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
6476 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
6477 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
6478 (LIB2FUNCS_EXCLUDE): Add supported functions.
6479
6480 2012-08-22 Georg-Johann Lay <avr@gjlay.de>
6481
6482 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
6483 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
6484 libgcc-s-objects.
6485 * fixed-obj.mk: Only expand dependency if $o is not in
6486 LIB2FUNCS_EXCLUDE.
6487
6488 2012-08-22 H.J. Lu <hongjiu.lu@intel.com>
6489
6490 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
6491
6492 2012-08-22 Joseph Myers <joseph@codesourcery.com>
6493
6494 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
6495 depend on --enable-shared.
6496 ($(lib1asmfuncs-o)): Use %.vis files independent of
6497 --enable-shared.
6498 * static-object.mk ($(base)$(objext), $(base).vis)
6499 ($(base)_s$(objext)): Use same rules for visibility handling as in
6500 shared-object.mk.
6501
6502 2012-08-21 Ian Lance Taylor <iant@google.com>
6503
6504 * config/i386/morestack.S (__morestack_non_split): Increase amount
6505 of space allocated for non-split code stack.
6506
6507 2012-08-19 Joseph Myers <joseph@codesourcery.com>
6508
6509 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
6510 even if inhibit_libc.
6511
6512 2012-08-17 Julian Brown <julian@codesourcery.com>
6513
6514 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
6515 -fexceptions -fnon-call-exceptions if not defined.
6516 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
6517 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
6518
6519 2012-08-17 Andreas Schwab <schwab@linux-m68k.org>
6520
6521 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
6522 type.
6523
6524 2012-08-16 David Edelsohn <dje.gcc@gmail.com>
6525
6526 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
6527 rs6000/t-slibgcc-aix.
6528
6529 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
6530
6531 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
6532
6533 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
6534
6535 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
6536
6537 2012-08-03 H.J. Lu <hongjiu.lu@intel.com>
6538
6539 PR driver/54171
6540 * Makefile.in (version): Replace top_srcdir with srcdir.
6541
6542 2012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
6543
6544 * Makefile.in (version): set to BASE-VER file from gcc directory.
6545
6546 2012-08-01 Nick Clifton <nickc@redhat.com>
6547
6548 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
6549 Implements __clrsb for an HImode argument.
6550
6551 2012-07-31 Nick Clifton <nickc@redhat.com>
6552
6553 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
6554 Implements __clrsb for an HImode argument.
6555 * config/stormy16/clrsbhi2.c: New file:
6556 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
6557
6558 2012-07-22 Steven Bosscher <steven@gcc.gnu.org>
6559
6560 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
6561
6562 2012-07-19 Tristan Gingold <gingold@adacore.com>
6563 Richard Henderson <rth@redhat.com>
6564
6565 * unwind-seh.c: New file.
6566 * unwind-generic.h: Include windows.h for SEH.
6567 (_Unwind_Exception): Use 6 private fields for SEH.
6568 (_GCC_specific_handler): Declare.
6569 * unwind-c.c (__gcc_personality_seh0): New function.
6570 Adjust for SEH.
6571 * config/i386/libgcc-cygming.ver: New file.
6572 * config/i386/t-seh-eh: New file.
6573 * config.host (x86_64-*-mingw*): Default to seh.
6574
6575 2012-07-14 Steven Bosscher <steven@gcc.gnu.org>
6576
6577 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
6578
6579 2012-06-17 Uros Bizjak <ubizjak@gmail.com>
6580
6581 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
6582 __builtin_expect when checking for exceptions.
6583 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
6584
6585 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
6586
6587 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
6588 function declaration.
6589 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
6590 (FP_RND_MASK): New.
6591 * config/ia64/sfp-exceptions.c: New.
6592 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
6593
6594 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
6595
6596 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
6597 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
6598 * config/i386/64/sfp-machine: ... (delete here) ...
6599 * config/i386/sfp-machine.h: ... to here.
6600 (FP_EX_MASK): Remove.
6601 (FP_RND_MASK): New.
6602 (FP_INIT_ROUNDMODE): Declare asm as volatile.
6603
6604 2012-06-11 Sriraman Tallam <tmsriram@google.com>
6605
6606 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
6607 * config/i386/libgcc-sol2.ver: Ditto.
6608 * config/i386/libgcc-glibc.ver: Ditto.
6609
6610 2012-06-11 Roland McGrath <mcgrathr@google.com>
6611
6612 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
6613 If __GLIBC__ is defined, refer to __pthread_key_create instead of
6614 pthread_cancel.
6615
6616 2012-06-09 Uros Bizjak <ubizjak@gmail.com>
6617
6618 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
6619 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
6620 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
6621 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
6622 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
6623 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
6624 * config/i386/64/sfp-machine: ... (delete here) ...
6625 * config/i386/sfp-machine.h: ... to here.
6626 (FP_EX_MASK): New.
6627 (__sfp_handle_exceptions): New function declaration.
6628 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
6629 * config/i386/sfp-exceptions.c: New.
6630 * config/i386/t-softfp: New.
6631 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
6632 i386/t-softfp to tmake_file.
6633
6634 2012-06-03 David S. Miller <davem@davemloft.net>
6635
6636 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
6637 change.
6638
6639 2012-05-31 David S. Miller <davem@davemloft.net>
6640
6641 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
6642 multiply and divide instructions on 32-bit when V9.
6643 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
6644
6645 2012-05-29 Joseph Myers <joseph@codesourcery.com>
6646
6647 * config/arm/ieee754-df.S: Fix typos.
6648 * config/arm/ieee754-sf.S: Fix typos.
6649 * config/c6x/libunwind.S: Fix typos.
6650 * config/epiphany/udivsi3-float.c: Fix typos.
6651 * config/microblaze/muldi3_hard.S: Fix typos.
6652 * config/picochip/adddi3.S: Fix typos.
6653 * config/picochip/ashlsi3.S: Fix typos.
6654 * config/picochip/ashrsi3.S: Fix typos.
6655 * config/picochip/clzsi2.S: Fix typos.
6656 * config/picochip/cmpsi2.S: Fix typos.
6657 * config/picochip/divmod15.S: Fix typos.
6658 * config/picochip/divmodhi4.S: Fix typos.
6659 * config/picochip/divmodsi4.S: Fix typos.
6660 * config/picochip/longjmp.S: Fix typos.
6661 * config/picochip/lshrsi3.S: Fix typos.
6662 * config/picochip/parityhi2.S: Fix typos.
6663 * config/picochip/popcounthi2.S: Fix typos.
6664 * config/picochip/setjmp.S: Fix typos.
6665 * config/picochip/subdi3.S: Fix typos.
6666 * config/picochip/ucmpsi2.S: Fix typos.
6667 * config/picochip/udivmodhi4.S: Fix typos.
6668 * config/picochip/udivmodsi4.S: Fix typos.
6669 * config/spu/divv2df3.c: Fix typos.
6670 * config/spu/mfc_multi_tag_release.c: Fix typos.
6671 * config/spu/mfc_tag_release.c: Fix typos.
6672 * configure.ac: Fix typos.
6673 * configure: Regenerate.
6674
6675 2012-05-25 Ian Lance Taylor <iant@google.com>
6676
6677 * config/i386/morestack.S (__morestack_non_split): Check whether
6678 caller is varargs and needs %bp to hold the stack frame on return.
6679
6680 2012-05-25 Olivier Hainque <hainque@adacore.com>
6681
6682 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
6683 sequence in the non pic case on VxWorks.
6684
6685 2012-05-24 Olivier Hainque <hainque@adacore.com>
6686
6687 * Makefile.in: Move dependency on install-unwind_h from
6688 "install-leaf" to "install".
6689
6690 2012-05-24 Olivier Hainque <hainque@adacore.com>
6691
6692 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
6693 Use a separate command for stamp removals.
6694
6695 2012-05-21 Andrew Pinski <apinski@cavium.com>
6696
6697 PR bootstrap/53183
6698 * configure.ac: Define the default includes to being none.
6699 * configure: Regenerate.
6700
6701 2012-05-16 Olivier Hainque <hainque@adacore.com>
6702
6703 * Makefile.in (install-unwind_h): Rename into ...
6704 (install-unwind_h-forbuild): New target.
6705 (all): Use it instead of the former install-unwind_h.
6706 (install-unwind_h): Reinstate, copy to user install destination
6707 for include files, not to the internal gcc object directory one.
6708 (install-leaf): Depend on it.
6709
6710 2012-05-15 Olivier Hainque <hainque@adacore.com>
6711
6712 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
6713 register numbers. LR_REGNO replaces R_LR.
6714 (ucontext_for): New, helper for ...
6715 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
6716 and 5.3 of ...
6717 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
6718
6719 2012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6720
6721 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
6722 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
6723 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
6724 i386/t-cpuinfo ...
6725 (i[34567]86-*-*, x86_64-*-*): ... here.
6726
6727 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
6728 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
6729
6730 * config/i386/i386-cpuinfo.c: Rename to ...
6731 * config/i386/cpuinfo.c: ... this.
6732 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
6733
6734 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
6735 (libgcc_cv_init_priority): New test.
6736 * configure: Regenerate.
6737 * config.in: New file.
6738 * Makefile.in (clean): Rename config.h to auto-target.h.
6739 (config.h): Likewise.
6740 (stamp-h): Likewise.
6741
6742 * config/i386/cpuinfo.c (auto-target.h): Include.
6743 (CONSTRUCTOR_PRIORITY): Define.
6744 (__cpu_indicator_init): Use it.
6745
6746 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
6747
6748 * longlong.h: Use a URL instead of an FSF postal address.
6749 Replace spaces with tab.
6750
6751 2012-05-08 Teresa Johnson <tejohnson@google.com>
6752
6753 * libgcov.c (gcov_clear, __gcov_reset): New functions.
6754 (__gcov_dump): Ditto.
6755 (gcov_dump_complete): New global variable.
6756 (gcov_exit): Export hidden to enable use in L_gcov_dump.
6757 (__gcov_flush): Outline functionality now in gcov_clear.
6758 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
6759
6760 2012-04-28 Aurelien Jarno <aurelien@aurel32.net>
6761
6762 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
6763 (mips*-*-linux*): Include mips/t-tpbit when long double is
6764 16 bytes long.
6765
6766 2012-04-25 Sriraman Tallam <tmsriram@google.com>
6767
6768 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
6769 (get_available_features): New argument. Check for AVX2.
6770 (__cpu_indicator_init): Modify call to get_available_features.
6771
6772 2012-04-25 Alan Modra <amodra@gmail.com>
6773
6774 * config/rs6000/crtsavevr.S: New file.
6775 * config/rs6000/crtrestvr.S: New file.
6776 * config/rs6000/t-savresfgpr: Build the above.
6777 * config/rs6000/t-netbsd: Likewise.
6778
6779 2012-04-24 Sriraman Tallam <tmsriram@google.com>
6780
6781 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
6782
6783 2012-04-24 Sriraman Tallam <tmsriram@google.com>
6784
6785 * libgcc/config/i386/i386-cpuinfo.c: New file.
6786 * libgcc/config/i386/t-cpuinfo: New file.
6787 * libgcc/config.host: Include t-cpuinfo.
6788 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
6789
6790 2012-04-24 Chao-ying Fu <fu@mips.com>
6791
6792 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
6793
6794 2012-04-20 Thomas Schwinge <thomas@codesourcery.com>
6795
6796 struct siginfo vs. siginfo_t
6797
6798 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
6799 siginfo_t instead of struct siginfo.
6800 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
6801 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
6802 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
6803 (ia64_handle_unwabi): Likewise.
6804 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
6805 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
6806 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
6807 (sh_fallback_frame_state): Likewise.
6808 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
6809 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
6810
6811 2012-04-02 H.J. Lu <hongjiu.lu@intel.com>
6812
6813 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
6814 system call number.
6815
6816 2012-03-31 Eric Botcazou <ebotcazou@adacore.com>
6817
6818 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
6819 if it hasn't been previously saved.
6820
6821 2012-03-29 H.J. Lu <hongjiu.lu@intel.com>
6822
6823 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
6824 only for glibc.
6825
6826 2012-03-28 Georg-Johann Lay <avr@gjlay.de>
6827
6828 PR target/52737
6829 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
6830 instead of __AVR_HAVE_8BIT_SP__.
6831
6832 2012-03-26 Tristan Gingold <gingold@adacore.com>
6833
6834 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
6835 (unw_table_entry): Use unw_word instead of unsigned long.
6836 (_Unwind_FindTableEntry): Likewise.
6837 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
6838 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
6839 (_Unwind_FindTableEntry): Likewise.
6840 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
6841 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
6842 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
6843 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
6844 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
6845 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
6846 (uw_init_context_1, uw_install_context): Likewise.
6847 (unw_word): Move to unwind-ia64.h
6848
6849 2012-03-26 Tristan Gingold <gingold@adacore.com>
6850
6851 * config/vms/vms-ucrt0.c: Update copyright years.
6852 Add a sanity check.
6853 (___gcc_main_flags): Declare.
6854 (__main): Check flags to remap argv and exit code.
6855 * config.host (*-*-*vms*): Adjust extra_parts.
6856 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
6857 (crt0.o): Add.
6858
6859 2012-03-22 Richard Earnshaw <rearnsha@arm.com>
6860
6861 * arm/lib1funcs.asm (ctzsi2): New function.
6862 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
6863 * arm/t-linux (LIB1ASMFUNCS): Likewise.
6864 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
6865 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
6866 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
6867 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
6868
6869 2012-03-21 Andreas Tobler <andreast@fgznet.ch>
6870
6871 * config.host: Add bits to support powerpc64-*-freebsd*.
6872 * config/rs6000/freebsd-unwind.h: New file.
6873 * config/rs6000/t-freebsd64: New file.
6874
6875 2012-03-20 Richard Guenther <rguenther@suse.de>
6876
6877 PR gcov-profile/52627
6878 * libgcov.c (init_mx): Fix mutex name.
6879
6880 2012-03-16 Tristan Gingold <gingold@adacore.com>
6881
6882 * config/ia64/vms-unwind.h: Remove ulong (and replace
6883 it by unw_reg where used). Define unw_reg with __int64.
6884
6885 2012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6886
6887 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
6888 Solaris 8 handling.
6889 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
6890 Solaris 8 handling.
6891 (sparc_is_sighandler): Likewise.
6892
6893 2012-03-13 H.J. Lu <hongjiu.lu@intel.com>
6894
6895 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
6896 <= saved reg size.
6897
6898 2012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6899
6900 * config/arm/crtn.S: Fix typo.
6901
6902 2012-03-13 Richard Guenther <rguenther@suse.de>
6903
6904 * libgcov.c: Remove stdio.h include and NULL un-define.
6905
6906 2012-03-13 Richard Guenther <rguenther@suse.de>
6907
6908 PR target/52569
6909 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
6910
6911 2012-03-13 Richard Guenther <rguenther@suse.de>
6912
6913 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
6914
6915 2012-03-13 Richard Guenther <rguenther@suse.de>
6916
6917 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
6918 and __gthread_mutex_init_function definitions.
6919
6920 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6921
6922 * config.host (mips*-*-openbsd*): Remove.
6923
6924 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6925
6926 * config.host: Remove alpha*-dec-osf5.1* handling.
6927 * config/alpha/gthr-posix.c: Remove.
6928 * config/alpha/libgcc-osf5.ver: Remove.
6929 * config/alpha/osf5-unwind.h: Remove.
6930 * config/alpha/t-osf-pthread: Remove.
6931 * config/alpha/t-slibgcc-osf: Remove.
6932 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
6933 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
6934 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
6935 * mkmap-flat.awk: Remove osf_export handling.
6936
6937 2012-03-12 Richard Guenther <rguenther@suse.de>
6938
6939 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
6940 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
6941 (__gthread_mutex_init_function): New function.
6942 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
6943
6944 PR gcov/49484
6945 * libgcov.c: Include gthr.h.
6946 (__gcov_flush_mx): New global variable.
6947 (init_mx, init_mx_once): New functions.
6948 (__gcov_flush): Protect self with a mutex.
6949 (__gcov_fork): Re-initialize mutex after forking.
6950 * unwind-dw2-fde.c: Change condition under which to use
6951 __GTHREAD_MUTEX_INIT_FUNCTION.
6952
6953 2012-03-12 Tristan Gingold <gingold@adacore.com>
6954
6955 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
6956 * config/ia64/t-vms: Likewise.
6957
6958 2012-03-11 Michael Hope <michael.hope@linaro.org>
6959
6960 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
6961 for Thumb-2.
6962
6963 2012-03-07 Walter Lee <walt@tilera.com>
6964
6965 * config/tilepro/atomic.c: Rename "atomic_" prefix to
6966 "arch_atomic_".
6967 (atomic_xor): Rename and move definition to
6968 config/tilepro/atomic.h.
6969 (atomic_nand): Ditto.
6970 * config/tilepro/atomic.h: Rename "atomic_" prefix to
6971 "arch_atomic_".
6972 (arch_atomic_xor): Move from config/tilepro/atomic.c.
6973 (arch_atomic_nand): Ditto.
6974
6975 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
6976
6977 PR target/52507
6978 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
6979
6980 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
6981
6982 PR target/52505
6983 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
6984 from RAM.
6985
6986 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
6987
6988 PR target/52461
6989 PR target/52508
6990 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
6991 if RAMPZ affects reading from RAM.
6992 (__tablejump_elpm__): Ditto.
6993 (.xload): Ditto.
6994 (__movmemx_hi): Ditto.
6995 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
6996 (__do_global_dtors): Ditto.
6997 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
6998 (__movmemx_hi): Ditto.
6999
7000 2012-03-05 Richard Henderson <rth@redhat.com>
7001
7002 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
7003 [ARM] (count_trailing_zeros): Use the builtin.
7004
7005 2012-03-01 Kai Tietz <ktietz@redhat.com>
7006
7007 * soft-fp: Imported from glibc upstream.
7008
7009 2012-02-28 Kai Tietz <ktietz@redhat.com>
7010
7011 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
7012 for mingw-targets as attribute gcc_struct.
7013
7014 2012-02-28 Ian Lance Taylor <iant@google.com>
7015
7016 * generic-morestack.c (__splitstack_releasecontext): Correct call
7017 to __morestack_release_segments.
7018
7019 2012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
7020
7021 PR target/52390
7022 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
7023 for __linux__ when removing signals from __morestack_fullmask.
7024
7025 2012-02-23 Georg-Johann Lay <avr@gjlay.de>
7026
7027 PR target/52261
7028 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
7029
7030 2012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7031
7032 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
7033 instead of HAVE_INITFINI_ARRAY.
7034 * config/ia64/crtend.S: Likewise.
7035
7036 2012-02-20 Kai Tietz <ktietz@redhat.com>
7037
7038 PR libstdc++/52300
7039 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
7040
7041 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
7042 to w32-unwind.h header.
7043
7044 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
7045
7046 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
7047 (mips*-*-linux*): Remove t-slibgcc-libgcc.
7048 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
7049 * config/mips/mips16.S (__mips16_rdhwr): Delete.
7050
7051 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
7052
7053 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
7054
7055 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
7056
7057 PR libitm/52220
7058 * config/darwin-crt-tm.c: Correct typo.
7059
7060 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
7061 Patrick Marlier <patrick.marlier@gmail.com>
7062
7063 PR libitm/52220
7064 * config/darwin-crt-tm.c: Generate dummy functions.
7065
7066 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
7067 Patrick Marlier <patrick.marlier@gmail.com>
7068
7069 PR libitm/52042
7070 * config/darwin-crt-tm.c (getTMCloneTable): New function.
7071 (__doTMRegistrations): Call it.
7072 (__doTMdeRegistrations): Likewise.
7073
7074 2012-01-15 Georg-Johann Lay <avr@gjlay.de>
7075 Anatoly Sokolov <aesok@post.ru>
7076 Eric Weddington <eric.weddington@atmel.com>
7077
7078 PR target/52261
7079 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
7080 (__epilogue_restores__): Ditto.
7081
7082 2012-02-15 Eric Botcazou <ebotcazou@adacore.com>
7083
7084 PR target/51921
7085 PR target/52205
7086 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
7087 Solaris 11 and slightly reformat.
7088 (sparc_is_sighandler): Likewise.
7089
7090 2012-02-14 Walter Lee <walt@tilera.com>
7091
7092 * config.host: Handle tilegx and tilepro.
7093 * config/tilegx/sfp-machine.h: New file.
7094 * config/tilegx/sfp-machine32.h: New file.
7095 * config/tilegx/sfp-machine64.h: New file.
7096 * config/tilegx/t-crtstuff: New file.
7097 * config/tilegx/t-softfp: New file.
7098 * config/tilegx/t-tilegx: New file.
7099 * config/tilepro/atomic.c: New file.
7100 * config/tilepro/atomic.h: New file.
7101 * config/tilepro/linux-unwind.h: New file.
7102 * config/tilepro/sfp-machine.h: New file.
7103 * config/tilepro/softdivide.c: New file.
7104 * config/tilepro/softmpy.S: New file.
7105 * config/tilepro/t-crtstuff: New file.
7106 * config/tilepro/t-tilepro: New file.
7107
7108 2012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
7109
7110 PR libstdc++/51296
7111 PR libstdc++/51906
7112 * gthr-posix.h: Allow static initializer macros to be disabled.
7113 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
7114
7115 2012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
7116
7117 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
7118 Add t-slibgcc-libgcc to tmake_file.
7119 * config/mips/libgcc-mips16.ver: Revert previous patch.
7120 * config/mips/mips16.S (__mips16_rdhwr): Hide.
7121
7122 2012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
7123 Jayant R Sonar <jayant.sonar@kpitcummins.com>
7124
7125 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
7126 * config/cr16/crti.S: New file.
7127 * config/cr16/crtlibid.S: New file.
7128 * config/cr16/crtn.S: New file.
7129 * config/cr16/lib1funcs.S: New file.
7130 * config/cr16/t-cr16: New file.
7131 * config/cr16/t-crtlibid: New file.
7132 * config/cr16/unwind-dw2.h: New file.
7133 * config/cr16/unwind-cr16.c: New file.
7134 * config/cr16/divmodhi3.c: New file.
7135
7136 2012-01-25 Alan Modra <amodra@gmail.com>
7137
7138 * config/rs6000/t-linux64: Delete. Move..
7139 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
7140 * config/rs6000/t-linux: ..and libgcc flags to here.
7141
7142 2012-01-22 Douglas B Rupp <rupp@gnat.com>
7143
7144 * config.host (i[34567]86-*-interix3*):
7145 Change triplet to i[34567]86-*-interix[3-9]*.
7146 * configure: Regenerate.
7147
7148 2012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
7149 Richard Sandiford <rdsandiford@googlemail.com>
7150
7151 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
7152 * config/mips/mips16.S (__mips16_rdhwr): New function.
7153 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
7154
7155 2012-01-11 Nathan Sidwell <nathan@acm.org>
7156
7157 * libgcov.c (__gcov_init): Ignore objects with no functions.
7158
7159 2012-01-10 Georg-Johann Lay <avr@gjlay.de>
7160
7161 PR target/49868
7162 Extend __pgmx semantics to linearize memory.
7163 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
7164 * config/avr/lib1funcs.S (__xload_1): New function.
7165 (__movmemx_qi, __movmemx_hi): New functions.
7166 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
7167 semantics.
7168
7169 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
7170
7171 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
7172 purported sigacthandler address isn't null before dereferencing it.
7173 (sparc_is_sighandler): Likewise.
7174
7175 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
7176
7177 PR ada/41929
7178 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
7179 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
7180 (sparc_is_sighandler): Likewise.
7181 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
7182
7183 2012-01-06 Tristan Gingold <gingold@adacore.com>
7184
7185 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
7186 compatibility thunks...
7187 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
7188 (crtbeginS.o, crtendS.o): ... and these to ...
7189 * config/ia64/t-ia64-elf: ... this new file.
7190 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
7191 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
7192
7193 2012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7194
7195 * configure: Regenerate.
7196 * config/s390/t-crtstuff: Remove -fPIC.
7197
7198 2012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
7199
7200 PR bootstrap/51006
7201 * enable-execute-stack-mprotect.c (getpagesize): Do not define
7202 for NetBSD.
7203
7204 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
7205
7206 PR target/51345
7207 * config/avr/lib1funcs.S: Remove FIXME comments.
7208 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
7209
7210 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
7211
7212 Implement light-weight DImode support.
7213 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
7214 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
7215 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
7216 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
7217
7218 2011-12-30 Nathan Sidwell <nathan@acm.org>
7219
7220 * libgcov.c (gcov_crc32): Remove global var.
7221 (free_fn_data): New function.
7222 (buffer_fn_data): Pass in filename, more robust error recovery.
7223 (crc32_unsigned): New function.
7224 (gcov_exit): More robust detection of new program. More robust
7225 error recovery.
7226 (__gcov_init): Do not update program's crc here.
7227
7228 2011-12-21 Tristan Gingold <gingold@adacore.com>
7229
7230 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
7231
7232 2011-12-21 Ian Lance Taylor <iant@google.com>
7233
7234 * config/i386/morestack.S: Simplify CFI opcodes throughout.
7235
7236 2011-12-20 Ian Lance Taylor <iant@google.com>
7237
7238 * config/i386/morestack.S (__morestack_non_split): If there is
7239 enough stack space already, don't split. Ask for more stack space
7240 than we required.
7241
7242 2011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
7243
7244 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
7245 `sys/sdt.h'.
7246 (_Unwind_DebugHook): New function.
7247 (uw_restore_core_regs): New define.
7248 (unwind_phase2): Use uw_restore_core_regs instead of
7249 restore_core_regs.
7250 (unwind_phase2_forced): Likewise.
7251 (__gnu_Unwind_Resume): Likewise.
7252
7253 2011-12-20 Uros Bizjak <ubizjak@gmail.com>
7254
7255 * config/alpha/linux-unwind.h: Update copyright years.
7256 (MD_FROB_UPDATE_CONTEXT): New define.
7257 (alpha_frob_update_context): New function.
7258
7259 2011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
7260
7261 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
7262 tmake_file rather replacing it.
7263
7264 2011-12-15 Iain Sandoe <iains@gcc.gnu.org>
7265
7266 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
7267 function is not used for PPC64.
7268 (save_world): Amend comments. Update the VRsave mask to reflect the
7269 saved regs.
7270 (rest_world): Update comments, do not clobber r10, do not use r8.
7271 (eh_rest_world_r10): Amend comments, do not use r8.
7272 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
7273 no longer used, move restore of CR and target address to the end of
7274 the routine.
7275
7276 2011-12-14 H.J. Lu <hongjiu.lu@intel.com>
7277
7278 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
7279 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
7280
7281 2011-12-14 Georg-Johann Lay <avr@gjlay.de>
7282
7283 PR target/49313
7284 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
7285 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
7286
7287 2011-12-11 Eric Botcazou <ebotcazou@adacore.com>
7288
7289 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
7290
7291 2011-12-09 Georg-Johann Lay <avr@gjlay.de>
7292
7293 PR target/49313
7294 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
7295 * config/avr/lib1funcs.S (__muldi3): New function.
7296
7297 2011-12-06 Andrew Pinski <apinski@cavium.com>
7298
7299 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
7300 size of func_ptr.
7301 (__frame_dummy_init_array_entry): Likewise.
7302
7303 2011-12-06 Georg-Johann Lay <avr@gjlay.de>
7304
7305 Forward-port from gcc-4_6-branch r181936 2011-12-02.
7306
7307 PR target/51345
7308 PR target/51002
7309 * config/avr/lib1funcs.S (__prologue_saves__,
7310 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
7311 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
7312
7313 2011-12-04 Iain Sandoe <iains@gcc.gnu.org>
7314
7315 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
7316
7317 2011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
7318
7319 PR other/51272
7320 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
7321 (_ITM_deregisterTMCloneTable): Likewise.
7322 (__register_frame_info): Fix unused warning.
7323 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
7324 pthread_default_stacksize_np): Likewise.
7325 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
7326
7327 2011-11-29 DJ Delorie <dj@redhat.com>
7328
7329 * config.host (rl78-*-elf): New case.
7330 * config/rl78: New directory for the Renesas RL78.
7331
7332 2011-11-29 Bernd Schmidt <bernds@codesourcery.com>
7333
7334 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
7335 formatting.
7336
7337 2011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7338
7339 PR other/51022
7340 * config/rs6000/t-savresfgpr: New file.
7341 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
7342 $(srcdir)/config/rs6000/eabi.S.
7343 * config/rs6000/t-ppccomm-ldbl: Remove.
7344 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
7345 tmake_file.
7346 (powerpc-*-eabispe*): Likewise.
7347 (powerpc-*-eabi*): Likewise.
7348 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
7349 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
7350 to tmake_file, remove rs6000/t-ppccomm-ldbl.
7351 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
7352 tmake_file.
7353 (powerpc-*-eabisim*): Likewise.
7354 (powerpc-*-elf*): Likewise.
7355 (powerpc-*-eabialtivec*): Likewise.
7356 (powerpc-xilinx-eabi*): Likewise.
7357 (powerpc-*-rtems*): Likewise.
7358 (powerpcle-*-elf*): Likewise.
7359 (powerpcle-*-eabisim*): Likewise.
7360 (powerpcle-*-eabi*): Likewise.
7361
7362 2011-11-27 Ian Lance Taylor <iant@google.com>
7363
7364 * generic-morestack.c (__splitstack_find): Check for NULL old
7365 stack value.
7366 (__splitstack_resetcontext): New function.
7367 (__splitstack_releasecontext): New function.
7368 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
7369
7370 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
7371
7372 * config/darwin-crt-tm.c: Correct comments, use correct licence.
7373
7374 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
7375
7376 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
7377
7378 2011-11-26 Richard Henderson <rth@redhat.com>
7379
7380 * config/m68k/linux-atomic.c: New file.
7381 * config/m68k/t-linux: New file.
7382 * config.host (m68k-uclinux, m68k-linux): Use it.
7383
7384 2011-11-26 Richard Henderson <rth@redhat.com>
7385
7386 * crtstuff.c (__TMC_LIST__): Mark used not unused.
7387 (__TMC_END__): Only declare if hidden is available; in the definition,
7388 if hidden is unavailable add a null record.
7389 (deregister_tm_clones, register_tm_clones): New.
7390 (__do_global_dtors_aux, frame_dummy): Use them.
7391 (__do_global_dtors, __do_global_ctors_1): Likewise.
7392
7393 2011-11-22 Iain Sandoe <iains@gcc.gnu.org>
7394
7395 * config/darwin-crt-tm.c: New file.
7396 * config.host (darwin): Build crttms.o crttme.o to provide
7397 startup and shutdown for tm clones.
7398 * config/t-darwin (crttms.o): New build rule.
7399 (crttme.o): Likewise.
7400
7401 2011-11-21 Hans-Peter Nilsson <hp@axis.com>
7402
7403 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
7404 et al.
7405
7406 2011-11-21 Richard Henderson <rth@redhat.com>
7407
7408 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
7409 (__TMC_LIST__, __TMC_END__): New.
7410 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
7411 (__do_global_dtors): Likewise.
7412 (frame_dummy): Call _ITM_registerTMCloneTable.
7413 (__do_global_ctors_1): Likewise.
7414
7415 2011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7416
7417 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
7418 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
7419 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
7420 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
7421 * config/i386/t-darwin64: Remove.
7422 * config/sh/t-netbsd (LIB2ADD): Remove.
7423
7424 2011-11-21 Georg-Johann Lay <avr@gjlay.de>
7425
7426 PR target/49313
7427 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
7428 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
7429 * config/avr/lib1funcs.S (wmov): New assembler macro.
7430 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
7431 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
7432 (__udivmod64): New function.
7433 (__negdi2): New function.
7434
7435 2011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
7436
7437 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
7438 *-*-freebsd*aout*): Remove.
7439
7440 2011-11-20 Hans-Peter Nilsson <hp@axis.com>
7441
7442 * static-object.mk (c_flags-$o): Save c_flags.
7443 ($(base)$(objext)): Use it.
7444
7445 2011-11-18 Steve Ellcey <sje@cup.hp.com>
7446
7447 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
7448
7449 2011-11-18 Georg-Johann Lay <avr@gjlay.de>
7450
7451 PR target/49868
7452 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
7453 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
7454 New functions.
7455
7456 2011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
7457
7458 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
7459 functions.
7460 (aeabi_uidivmod): Likewise.
7461 (umodsi3): Likewise.
7462 (divsi3): Likewise.
7463 (aeabi_idivmod): Likewise.
7464 (modsi3): Likewise.
7465
7466 2011-11-16 Tristan Gingold <gingold@adacore.com>
7467
7468 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
7469
7470 2011-11-15 Georg-Johann Lay <avr@gjlay.de>
7471
7472 PR target/49868
7473 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
7474 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
7475
7476 2011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
7477
7478 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
7479 tmake_file list.
7480 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
7481 * config/pa/t-stublib64: Delete.
7482
7483 2011-11-12 Richard Henderson <rth@redhat.com>
7484
7485 * config/rs6000/linux-unwind.h (frob_update_context): Properly
7486 cast the pointer argument to _Unwind_SetGRPtr.
7487
7488 2011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7489
7490 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
7491
7492 2011-11-09 Ian Lance Taylor <iant@google.com>
7493
7494 * generic-morestack.c: Include <string.h>.
7495 (uintptr_type): Define.
7496 (struct initial_sp): Add dont_block_signals field. Reduce size of
7497 extra array by 1.
7498 (allocate_segment): Set prev field to NULL. Don't set
7499 __morestack_current_segment or __morestack_segments.
7500 (__generic_morestack): Update current->prev and *pp after calling
7501 allocate_segment.
7502 (__morestack_block_signals): Don't do anything if
7503 dont_block_signals is set.
7504 (__morestack_unblock_signals): Likewise.
7505 (__generic_findstack): Check for initial_sp == NULL. Add casts to
7506 uintptr_type.
7507 (__splitstack_block_signals): New function.
7508 (enum __splitstack_content_offsets): Define.
7509 (__splitstack_getcontext, __splitstack_setcontext): New functions.
7510 (__splitstack_makecontext): New function.
7511 (__splitstack_block_signals_context): New function.
7512 (__splitstack_find_context): New function.
7513 * config/i386/morestack.S (__morestack_get_guard): New function.
7514 (__morestack_set_guard, __morestack_make_guard): New functions.
7515 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
7516
7517 2011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7518
7519 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
7520 (i[34567]86-*-mingw*): ... here.
7521 (x86_64-*-mingw*): ... here.
7522
7523 2011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7524
7525 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
7526
7527 2011-11-07 Nathan Sidwell <nathan@acm.org>
7528
7529 * libgcov.c (struct gcov_fn_buffer): New struct.
7530 (buffer_fn_data): New helper.
7531 (gcov_exit): Rework for new gcov data structures.
7532
7533 2011-11-07 Georg-Johann Lay <avr@gjlay.de>
7534
7535 PR target/49313
7536 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
7537
7538 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7539
7540 * config.host (tmake_file): Correct comment.
7541 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
7542 t-libgcc-pic.
7543 (bfin*-uclinux*): Likewise.
7544 (bfin*-linux-uclibc*): Likewise.
7545 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
7546
7547 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
7548 assigning.
7549 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7550 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
7551 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7552 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
7553 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7554 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
7555 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
7556 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7557 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
7558 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
7559 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
7560 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
7561 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
7562
7563 * config/bfin/t-elf: Remove.
7564 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
7565
7566 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7567
7568 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
7569 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
7570 (lm32-*-elf*, lm32-*-rtems*): Split into ...
7571 (lm32-*-elf*): ... this.
7572 (lm32-*-rtems*): ... and this.
7573 Add to tmake_file.
7574 (m32r-*-rtems*): Add to tmake_file.
7575 (moxie-*-rtems*): Likewise.
7576 (sparc-*-rtems*): Likewise.
7577 Remove t-rtems from tmake_file.
7578 (sparc64-*-rtems*): Likewise.
7579 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
7580 instead.
7581
7582 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7583
7584 PR bootstrap/50982
7585 * config/gthr-posix.h: Move ...
7586 * gthr-posix.h: ... here.
7587 * config/gthr-lynx.h: Reflect this.
7588 * config/gthr-vxworks.h: Likewise.
7589 * config/rs6000/gthr-aix.h: Likewise.
7590 * configure.ac (target_thread_file): Likewise.
7591 * configure: Regenerate.
7592
7593 2011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
7594
7595 * config.host (arm*-*-rtemseabi*): New target.
7596
7597 2011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
7598
7599 PR other/50991
7600 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
7601 extra-parts.
7602
7603 2011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
7604
7605 * config.host (epiphany-*-elf*): New configuration.
7606 * config/epiphany: New Directory.
7607
7608 2011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
7609
7610 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
7611 * config/avr/t-rtems: New.
7612 Filter out _exit from LIB1ASMFUNCS.
7613
7614 2011-11-04 David S. Miller <davem@davemloft.net>
7615
7616 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
7617 * configure: Rebuild.
7618
7619 2011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7620
7621 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
7622 variable.
7623
7624 2011-11-04 Georg-Johann Lay <avr@gjlay.de>
7625
7626 PR target/50931
7627 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
7628 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
7629
7630 2011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
7631
7632 PR target/50989
7633 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
7634
7635 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7636
7637 * config/c6x/t-elf (LIB2ADDEH): Set.
7638 * config/c6x/t-c6x-elf: Remove.
7639
7640 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7641
7642 * config/i386/sol2-ci.S: Rename to ...
7643 * config/i386/crti.S: ... this.
7644 * config/i386/sol2-cn.S: Rename to ...
7645 * config/i386/crtn.S: ... this.
7646 * config/sparc/sol2-ci.S: Rename to ...
7647 * config/sparc/crti.S: ... this.
7648 * config/sparc/sol2-cn.S: Rename to ...
7649 * config/sparc/crtn.S: ... this.
7650 * config/t-sol2 (CUSTOM_CRTIN): Remove.
7651 (crti.o, crtn.o): Remove.
7652
7653 2011-11-04 Tristan Gingold <gingold@adacore.com>
7654
7655 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
7656
7657 2011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
7658
7659 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
7660
7661 2011-11-03 Hans-Peter Nilsson <hp@axis.com>
7662
7663 * config.host (crisv32-*-none, cris-*-none): Remove.
7664 (crisv32-*-elf): Append to tmake_file, don't just set it.
7665 (cris-*-elf): Add missing t-fdpbit to tmake_file.
7666
7667 2011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7668
7669 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
7670 (ecrtn$(objext)): Likewise.
7671 (ncrti$(objext)): Likewise.
7672 (ncrtn$(objext)): Likewise.
7673
7674 2011-11-03 Andreas Schwab <schwab@redhat.com>
7675
7676 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
7677
7678 2011-11-02 David S. Miller <davem@davemloft.net>
7679
7680 * configure.ac: Set host_address on sparc too.
7681 * configure: Regenerate.
7682 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
7683 based upon host_address.
7684 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
7685
7686 2011-11-02 Jason Merrill <jason@redhat.com>
7687
7688 * config/rs6000/t-ppccomm: Add missing \.
7689
7690 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7691
7692 * gthr-single.h, gthr.h: New files.
7693 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
7694 config/gthr-vxworks.h, config/i386/gthr-win32.h,
7695 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
7696 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
7697 * config/i386/gthr-win32.c: Include "gthr-win32.h".
7698 * configure.ac (thread_header): New variable.
7699 Set it depending on target_thread_file.
7700 (gthr-default.h): Link from $thread_header.
7701 * configure: Regenerate.
7702 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
7703
7704 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7705
7706 * configure.ac (tm_file_): New variable.
7707 Determine from tm_file.
7708 (tm_file, tm_defines): Substitute.
7709 * configure: Regenerate.
7710 * mkheader.sh: New file.
7711 * Makefile.in (clean): Remove libgcc_tm.h.
7712 ($(objects)): Depend on libgcc_tm.h.
7713 (libgcc_tm_defines, libgcc_tm_file): New variables.
7714 (libgcc_tm.h, libgcc_tm.stamp): New targets.
7715 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
7716 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
7717 ($(extra-parts)): Depend on libgcc_tm.h.
7718 * config.host (tm_defines, tm_file): New variable.
7719 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
7720 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
7721 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
7722 (avr-*-rtems*): Likewise.
7723 (avr-*-*): Likewise.
7724 (frv-*-elf): Likewise.
7725 (frv-*-*linux*): Likewise.
7726 (h8300-*-rtems*): Likewise.
7727 (h8300-*-elf*): Likewise.
7728 (i[34567]86-*-darwin*): Likewise.
7729 (x86_64-*-darwin*): Likewise.
7730 (rx-*-elf): Likewise.
7731 (tic6x-*-uclinux): Likewise.
7732 (tic6x-*-elf): Likewise.
7733 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
7734 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
7735 * config/i386/cygming-crtbegin.c: Likewise.
7736 * config/i386/cygming-crtend.c: Likewise.
7737 * config/ia64/fde-vms.c: Likewise.
7738 * config/ia64/unwind-ia64.c: Likewise.
7739 * config/libbid/bid_gcc_intrinsics.h: Likewise.
7740 * config/rs6000/darwin-fallback.c: Likewise.
7741 * config/stormy16/lib2funcs.c: Likewise.
7742 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
7743 * crtstuff.c: Likewise.
7744 * dfp-bit.h: Likewise.
7745 * emutls.c: Likewise.
7746 * fixed-bit.c: Likewise.
7747 * fp-bit.c: Likewise.
7748 * generic-morestack-thread.c: Likewise.
7749 * generic-morestack.c: Likewise.
7750 * libgcc2.c: Likewise.
7751 * libgcov.c: Likewise.
7752 * unwind-dw2-fde-dip.c: Likewise.
7753 * unwind-dw2-fde.c: Likewise.
7754 * unwind-dw2.c: Likewise.
7755 * unwind-sjlj.c: Likewise.
7756
7757 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7758
7759 * configure.ac: Include ../config/picflag.m4.
7760 (GCC_PICFLAG): Call it.
7761 Substitute.
7762 * configure: Regenerate.
7763 * Makefile.in (gcc_srcdir): Remove.
7764 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
7765 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
7766 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
7767 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
7768 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
7769 Use $<.
7770 Remove comment.
7771 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
7772 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
7773 to refer to libgcc2.c.
7774 Use $<.
7775 * config/darwin-64.c: New file.
7776 * config/darwin-crt3.c: Remove comment.
7777 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
7778 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
7779 config/udivmodsi4.c: New files.
7780 * config/memcmp.c, config/memcpy.c, config/memmove.c,
7781 config/memset.c: New files.
7782 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
7783 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
7784 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
7785 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
7786 * config/t-openbsd-thread: New file.
7787 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
7788 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
7789 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
7790 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
7791 qrnnd.S.
7792 Adapt filename.
7793 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
7794 to refer to gthr-posix.c.
7795 * config/alpha/t-vms (LIB2ADD): Set.
7796 * config/alpha/vms-gcc_shell_handler.c: New file.
7797 * config/arm/bpabi.c, config/arm/fp16.c,
7798 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
7799 config/arm/unaligned-funcs.c: New files.
7800 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
7801 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
7802 * config/arm/t-linux: Likewise.
7803 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
7804 * config/arm/t-netbsd: New file.
7805 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
7806 * config/arm/t-symbian (LIB2ADD_ST): Set.
7807 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
7808 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7809 * config/bfin/t-elf: New file.
7810 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
7811 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
7812 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
7813 config/c6x/ltf.c: New files.
7814 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
7815 (HOST_LIBGCC2_CFLAGS): Set.
7816 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
7817 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7818 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
7819 New files.
7820 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
7821 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
7822 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
7823 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
7824 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
7825 files.
7826 * config/frv/t-frv (LIB2ADD): Set.
7827 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7828 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
7829 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
7830 config/h8300/popcounthi2.c: New files.
7831 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
7832 * config/i386/gthr-win32.c: New file.
7833 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
7834 * config/i386/t-cygwin: Likewise.
7835 * config/i386/t-darwin, config/i386/t-darwin64,
7836 config/i386/t-gthr-win32, config/i386/t-interix: New files.
7837 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
7838 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7839 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7840 * config/ia64/quadlib.c: New file.
7841 * config/ia64/t-hpux (LIB2ADD): Set.
7842 * config/ia64/t-ia64: Add comment.
7843 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
7844 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7845 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
7846 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
7847 * config/m32c/t-m32c (LIB2ADD): Set.
7848 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
7849 * config/m32r/t-m32r: Likewise.
7850 * config/m68k/fpgnulib.c: New file.
7851 * config/m68k/t-floatlib (LIB2ADD): Set.
7852 (xfgnulib.c): New target.
7853 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
7854 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
7855 * config/mep/t-mep (LIB2ADD): Set.
7856 * config/microblaze/divsi3.asm: Rename to divsi3.S.
7857 * config/microblaze/moddi3.asm: Rename to moddi3.S.
7858 * config/microblaze/modsi3.asm: Rename to modsi3.S.
7859 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
7860 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
7861 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
7862 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
7863 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
7864 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
7865 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
7866 New files.
7867 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
7868 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
7869 * config/pa/fptr.c, config/pa/lib2funcs.S,
7870 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
7871 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
7872 (LIB2ADD, LIB2ADD_ST): Set.
7873 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
7874 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
7875 Set.
7876 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
7877 * config/pdp11/t-pdp11: New file.
7878 * config/picochip/libgccExtras/adddi3.S,
7879 config/picochip/libgccExtras/ashlsi3.S,
7880 config/picochip/libgccExtras/ashrsi3.S,
7881 config/picochip/libgccExtras/clzsi2.S,
7882 config/picochip/libgccExtras/cmpsi2.S,
7883 config/picochip/libgccExtras/divmod15.S,
7884 config/picochip/libgccExtras/divmodhi4.S,
7885 config/picochip/libgccExtras/divmodsi4.S,
7886 config/picochip/libgccExtras/lshrsi3.S,
7887 config/picochip/libgccExtras/parityhi2.S,
7888 config/picochip/libgccExtras/popcounthi2.S,
7889 config/picochip/libgccExtras/subdi3.S,
7890 config/picochip/libgccExtras/ucmpsi2.S,
7891 config/picochip/libgccExtras/udivmodhi4.S,
7892 config/picochip/libgccExtras/udivmodsi4.S: New files.
7893 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
7894 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
7895 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
7896 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
7897 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
7898 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
7899 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
7900 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
7901 files.
7902 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
7903 (HOST_LIBGCC2_CFLAGS): Set.
7904 * config/rs6000/t-darwin64: New file.
7905 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
7906 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
7907 * config/rs6000/t-ppccomm (LIB2ADD): Add
7908 $(srcdir)/config/rs6000/tramp.S.
7909 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
7910 Add $(srcdir)/config/rs6000/eabi.S.
7911 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
7912 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
7913 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
7914 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
7915 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
7916 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
7917 * config/rs6000/tramp.S: New file.
7918 * config/s390/t-tpf: Remove.
7919 * config/sh/linux-atomic.S: New file.
7920 * config/sh/t-linux (LIB2ADD): Set.
7921 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
7922 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
7923 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
7924 to unwind-dw2.c.
7925 (HOST_LIBGCC2_CFLAGS): Set.
7926 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7927 * config/spu/divmodti4.c, config/spu/divv2df3.c,
7928 config/spu/float_disf.c, config/spu/float_unsdidf.c,
7929 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
7930 config/spu/mfc_multi_tag_release.c,
7931 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
7932 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
7933 config/spu/multi3.c: New files.
7934 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
7935 (HOST_LIBGCC2_CFLAGS): Set.
7936 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
7937 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
7938 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
7939 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
7940 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
7941 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
7942 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
7943 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
7944 config/stormy16/umodsi3.c: New files.
7945 * config/xtensa/lib2funcs.S: New file.
7946 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
7947 * config/xtensa/t-xtensa (LIB2ADD): Set.
7948 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
7949 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
7950 Add t-freebsd-thread to tmake_file for posix threads.
7951 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
7952 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
7953 (*-*-lynxos*): Likewise.
7954 (*-*-netbsd*): Likewise.
7955 (*-*-openbsd*): Likewise.
7956 Add t-openbsd-thread to tmake_file for posix threads.
7957 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
7958 (*-*-vxworks*): Set tmake_file.
7959 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
7960 (alpha*-*-freebsd*): Likewise.
7961 (alpha*-*-netbsd*): Likewise.
7962 (alpha*-*-openbsd*): Likewise.
7963 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
7964 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
7965 (alpha*-dec-*vms*): Likewise.
7966 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
7967 (bfin*-elf*): Add bfin/t-elf to tmake_file.
7968 (bfin*-uclinux*): Likewise.
7969 (bfin*-linux-uclibc*): Likewise.
7970 (crisv32-*-elf): Add cris/t-cris to tmake_file.
7971 (crisv32-*-none): Likewise.
7972 (cris-*-elf): Likewise.
7973 (cris-*-none): Likewise.
7974 (cris-*-linux*, crisv32-*-linux*): Likewise.
7975 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
7976 tmake_file.
7977 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
7978 tmake_file.
7979 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
7980 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
7981 (x86_64-*-elf*): Likewise.
7982 (i[34567]86-*-nto-qnx*): Likewise.
7983 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
7984 win32 threads.
7985 (x86_64-*-mingw*): Likewise.
7986 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
7987 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
7988 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
7989 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
7990 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
7991 tmake_file.
7992 (mipsisa64sr71k-*-elf*): Likewise.
7993 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
7994 (mips-*-elf*, mipsel-*-elf*): Likewise.
7995 (mips64-*-elf*, mips64el-*-elf*): Likewise.
7996 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
7997 (mips*-*-rtems*): Likewise.
7998 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
7999 to tmake_file.
8000 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
8001 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
8002 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
8003 (spu-*-elf*): Likewise.
8004 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
8005
8006 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8007
8008 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
8009 $(srcdir) to refer to $(LIB1ASMSRC).
8010 Use $<.
8011 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
8012 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
8013 config/arm/lib1funcs.S: New files.
8014 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
8015 * config/arm/t-arm: New file.
8016 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
8017 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
8018 config/arm/t-strongarm-elf: New files.
8019 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
8020 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
8021 * config/avr/lib1funcs.S: New file.
8022 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8023 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
8024 * config/c6x/lib1funcs.S: New file.
8025 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8026 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
8027 * config/frv/lib1funcs.S: New file.
8028 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8029 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
8030 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
8031 * config/ia64/__divxf3.asm: Rename to ...
8032 * config/ia64/__divxf3.S: ... this.
8033 Adapt lib1funcs.asm filename.
8034 * config/ia64/_fixtfdi.asm: Rename to ...
8035 * config/ia64/_fixtfdi.S: ... this.
8036 Adapt lib1funcs.asm filename.
8037 * config/ia64/_fixunstfdi.asm: Rename to ...
8038 * config/ia64/_fixunstfdi.S: ... this.
8039 Adapt lib1funcs.asm filename.
8040 * config/ia64/_floatditf.asm: Rename to ...
8041 * config/ia64/_floatditf.S: ... this.
8042 Adapt lib1funcs.asm filename.
8043 * config/ia64/lib1funcs.S: New file.
8044 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
8045 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8046 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
8047 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
8048 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
8049 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
8050 * config/mep/lib1funcs.S: New file.
8051 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8052 * config/mips/mips16.S: New file.
8053 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8054 * config/pa/milli64.S: New file.
8055 * config/pa/t-linux, config/pa/t-linux64: New files.
8056 * config/picochip/lib1funcs.S: New file.
8057 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8058 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
8059 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
8060 * config/sh/t-netbsd: New file.
8061 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
8062 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
8063 * config/sh/t-sh64: New file.
8064 * config/sparc/lb1spc.S: New file.
8065 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
8066 filename.
8067 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
8068 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
8069 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
8070 config/xtensa/lib1funcs.S: New files.
8071 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8072 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
8073 tmake_file.
8074 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
8075 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
8076 (arm*-*-linux*): Likewise.
8077 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
8078 arm*-*-linux-*eabi, add arm/t-linux otherwise.
8079 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
8080 (arm*-*-ecos-elf): Likewise.
8081 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
8082 (arm*-*-rtems*): Likewise.
8083 (arm*-*-elf): Likewise.
8084 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
8085 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
8086 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
8087 (bfin*-uclinux*): Likewise.
8088 (bfin*-linux-uclibc*): Likewise.
8089 (bfin*-rtems*): Likewise.
8090 (bfin*-*): Likewise.
8091 (fido-*-elf): Merge into m68k-*-elf*.
8092 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
8093 (frv-*-*linux*): Add frv/t-frv to tmake_file.
8094 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
8095 (h8300-*-elf*): Likewise.
8096 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
8097 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
8098 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
8099 (i[34567]86-*-mingw*): Likewise.
8100 (x86_64-*-mingw*): Likewise.
8101 (i[34567]86-*-interix3*): Likewise.
8102 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
8103 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
8104 (m68k-*-elf*): Also handle fido-*-elf.
8105 Add m68k/t-floatlib to tmake_file.
8106 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
8107 (m68k-*-linux*): Likewise.
8108 (m68k-*-rtems*): Likewise.
8109 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
8110 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
8111 sh64*-*-*.
8112 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
8113 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
8114 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
8115 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
8116 sh/t-netbsd to tmake_file.
8117 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
8118 (sh-*-rtems*): Add sh/t-sh to tmake_file.
8119 (sh-wrs-vxworks): Likewise.
8120 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
8121 *-leon[3-9]*.
8122 (v850*-*-*): Add v850/t-v850 to tmake_file.
8123 (vax-*-linux*): Add vax/t-linux to tmake_file.
8124 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
8125
8126 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8127
8128 * crtstuff.c: New file.
8129 * Makefile.in (CRTSTUFF_CFLAGS): Define.
8130 (CRTSTUFF_T_CFLAGS): Define.
8131 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
8132 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
8133 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
8134 crtstuff.c.
8135 Use $<.
8136 (crtbeginT.o): Use $(objext).
8137 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
8138 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
8139 (gcc-extra-parts): Remove.
8140 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
8141 Set extra_parts.
8142 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
8143 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
8144 Add t-crtstuff-pic to tmake_file.
8145 (*-*-lynxos*): New case.
8146 Set tmake_file, extra_parts.
8147 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
8148 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
8149 *-*-netbsdelf[2-9]*.
8150 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
8151 (*-*-rtems*): Set extra_parts.
8152 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
8153 (*-*-uclinux*): New case.
8154 Set extra_parts.
8155 (*-*-vms*): New case.
8156 Set tmake_file, extra_parts.
8157 (*-*-elf): Set extra_parts.
8158 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
8159 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
8160 vms/t-vms64.
8161 Set extra_parts.
8162 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
8163 Set extra_parts.
8164 (arm*-*-freebsd*): Add t-crtin to tmake_file.
8165 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
8166 (arm-wrs-vxworks): Append to tmake_file.
8167 Set extra_parts.
8168 (arm*-*-uclinux*): Set extra_parts.
8169 (arm*-*-ecos-elf): Likewise.
8170 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
8171 arm*-*-eabi*.
8172 (arm*-*-rtems*): Set extra_parts.
8173 (arm*-*-elf): Likewise.
8174 (avr-*-rtems*): Clear extra_parts.
8175 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
8176 Set extra_parts.
8177 (bfin*-uclinux*): Likewise.
8178 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
8179 (bfin*-rtems*): Append to tmake_file.
8180 Set extra_parts.
8181 (bfin*-*): Likewise.
8182 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
8183 (crisv32-*-elf): ... this.
8184 (crisv32-*-none): ... this.
8185 (cris-*-elf, cris-*-none): New cases.
8186 Add cris/t-elfmulti to tmake_file.
8187 (fr30-*-elf): Append to tmake_file.
8188 Set extra_parts.
8189 (frv-*-elf): Append to tmake_file, add frv/t-frv.
8190 Set extra_parts.
8191 (h8300-*-rtems*): Append to tmake_file.
8192 Set extra_parts.
8193 (h8300-*-elf*): Likewise.
8194 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
8195 Set extra_parts.
8196 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
8197 Set extra_parts.
8198 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
8199 (x86_64-*-elf*): Likewise.
8200 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
8201 (x86_64-*-freebsd*): Likewise.
8202 (x86_64-*-netbsd*): Likewise.
8203 (i[34567]86-*-linux*): Likewise.
8204 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
8205 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
8206 (x86_64-*-linux*): Likewise.
8207 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
8208 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
8209 tmake_file.
8210 Set extra_parts.
8211 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
8212 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
8213 Append to extra_parts, remove crtbegin.o, crtend.o.
8214 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
8215 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
8216 crtend.o, crtbeginS.o, crtendS.o.
8217 (ia64*-*-linux*): Comment extra_parts.
8218 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
8219 Set extra_parts.
8220 (iq2000*-*-elf*): Clear extra_parts.
8221 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
8222 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
8223 (m32r-*-elf*, m32r-*-rtems*): Split off ...
8224 (m32r-*-rtems*): ... this.
8225 Add m32r/t-m32r to tmake_file.
8226 (m68k-*-elf*): Add t-crtin to tmake_file.
8227 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
8228 (mcore-*-elf): Likewise.
8229 (microblaze*-*-*): Set extra_parts.
8230 (mips*-sde-elf*): New case.
8231 Set tmake_file, extra_parts.
8232 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
8233 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
8234 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
8235 tmake_file.
8236 Set extra_parts.
8237 (mipsisa64sr71k-*-elf*): Likewise.
8238 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
8239 (mips-*-elf*, mipsel-*-elf*): Likewise.
8240 (mips64-*-elf*, mips64el-*-elf*): Likewise.
8241 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
8242 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
8243 (mips*-*-rtems*): Likewise.
8244 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
8245 (moxie-*-*): Split into ...
8246 (moxie-*-elf, moxie-*-uclinux*): ... this.
8247 Add to extra_parts, remove crtbegin.o, crtend.o.
8248 (moxie-*-rtems*): New case.
8249 Set tmake_file.
8250 Clear extra_parts.
8251 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
8252 Set extra_parts.
8253 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
8254 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
8255 tmake_file.
8256 Set extra_parts.
8257 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
8258 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
8259 Set extra_parts.
8260 (powerpc-*-eabisim*): Likewise.
8261 (powerpc-*-elf*): Likewise.
8262 (powerpc-*-eabialtivec*): Likewise.
8263 (powerpc-xilinx-eabi*): Likewise.
8264 (powerpc-*-eabi*): Likewise.
8265 (powerpc-*-rtems*): Likewise.
8266 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
8267 tmake_file.
8268 Set extra_parts.
8269 (powerpc-*-lynxos*): Add to tmake_file.
8270 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
8271 rs6000/t-crtstuff, t-crtstuff-pic.
8272 Set extra_parts.
8273 (powerpcle-*-eabisim*): Likewise.
8274 (powerpcle-*-eabi*): Likewise.
8275 (rx-*-elf): Remove extra_parts.
8276 (s390x-ibm-tpf*): Set extra_parts.
8277 (score-*-elf): Set extra_parts.
8278 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
8279 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
8280 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
8281 (sh64l*-*-netbsd*): Split into ...
8282 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
8283 Add t-crtstuff-pic to tmake_file.
8284 Set extra_parts.
8285 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
8286 Set extra_parts.
8287 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
8288 (sparc-*-elf*): Remove t-crtin from tmake_file.
8289 Add to extra_parts, remove crtbegin.o, crtend.o.
8290 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
8291 (sparc64-*-linux*): Likewise.
8292 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
8293 Add to extra_parts, remove crtbegin.o, crtend.o.
8294 (sparc64-*-elf*): Remove t-crtin from tmake_file.
8295 Add to extra_parts, remove crtbegin.o, crtend.o.
8296 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
8297 Add to extra_parts, remove crtbegin.o, crtend.o.
8298 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
8299 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
8300 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
8301 Set extra_parts.
8302 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
8303 Set extra_parts.
8304 (tic6x-*-*): Change to ...
8305 (tic6x-*-elf): ... this.
8306 Set extra_parts.
8307 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
8308 Set extra_parts.
8309 (am33_2.0-*-linux*): Add comment.
8310 (mep*-*-*): Add mep/t-mep to tmake_file.
8311 Set extra_parts.
8312 * config/alpha/t-vms: New file.
8313 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
8314 * config/arm/crti.S, config/arm/crtn.S: New files.
8315 * config/bfin/crti.S, config/bfin/crtn.S: New files.
8316 * config/bfin/crtlibid.S: New file.
8317 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
8318 * config/c6x/crti.S, config/c6x/crtn.S: New files.
8319 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
8320 (crti.o, crtin.o): New rules.
8321 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
8322 * config/c6x/t-uclinux: New file.
8323 * config/cris/t-elfmulti: New file.
8324 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
8325 * config/fr30/crti.S, config/fr30/crtn.S: New files.
8326 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
8327 * config/frv/t-frv: New file.
8328 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
8329 * config/h8300/crti.S, config/h8300/crtn.S: New files.
8330 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
8331 New files.
8332 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
8333 refer to cygming-crtbegin.c, cygming-crtend.c.
8334 Use $<.
8335 * config/i386/t-nto: New file.
8336 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
8337 * config/ia64/crti.S, config/ia64/crtn.S: New files.
8338 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
8339 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
8340 Use .S extension.
8341 Use $<.
8342 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
8343 (crtinitS.o): New rule.
8344 * config/ia64/vms-crtinit.S: New file.
8345 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
8346 * config/m32r/initfini.c: New file.
8347 * config/m32r/t-linux, config/m32r/t-m32r: New files.
8348 * config/m68k/crti.S, config/m68k/crtn.S: New files.
8349 * config/mcore/crti.S, config/mcore/crtn.S: New files.
8350 * config/mep/t-mep: New file.
8351 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
8352 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
8353 * config/mips/crti.S, config/mips/crtn.S: New files.
8354 * config/mips/t-crtstuff: New file.
8355 * config/mmix/crti.S, config/mmix/crtn.S: New files.
8356 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
8357 (CUSTOM_CRTIN): Set.
8358 ($(T)crti.o, $(T)crtn.o): Remove $(T),
8359 dependencies.
8360 Use $(srcdir) to refer to crti.S, crtn.S.
8361 Use .S extension, $<.
8362 * config/moxie/crti.asm: Rename to ...
8363 * config/moxie/crti.S: ... this.
8364 * config/moxie/crtn.asm: Rename to ...
8365 * config/moxie/crtn.S: ... this.
8366 * config/moxie/t-moxie: Remove.
8367 * config/pa/stublib.c: New file.
8368 * config/pa/t-stublib, config/pa/t-stublib64: New files.
8369 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
8370 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
8371 * config/rs6000/t-crtstuff: New file.
8372 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
8373 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
8374 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
8375 Make output file explicit.
8376 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
8377 Make output file explicit.
8378 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
8379 Make output file explicit.
8380 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
8381 Make output file explicit.
8382 * config/score/crti.S, config/score/crtn.S: New files.
8383 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
8384 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
8385 files.
8386 * config/sh/t-sh, config/sh/t-superh: New files.
8387 * config/sparc/t-linux64: New file.
8388 * config/spu/cache.S, config/spu/cachemgr.c: New files.
8389 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
8390 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
8391 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
8392 * config/t-crtin: Remove.
8393 * config/t-crtstuff-pic: New file.
8394 * config/t-sol2 (CUSTOM_CRTIN): Set.
8395 (crti.o, crtn.o): New rules.
8396 * config/vms/t-vms: New file.
8397 * config/vms/vms-ucrt0.c: New file.
8398 * config/xtensa/t-elf: New file.
8399
8400 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8401
8402 * Makefile.in (SHLIB_NM_FLAGS): Set.
8403 * mkmap-flat.awk, mkmap-symver.awk: New files.
8404 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
8405 exceptions.
8406 * configure: Regenerate.
8407 * config/libgcc-glibc.ver: New file.
8408 * config/libgcc-libsystem.ver: New file.
8409 * config/t-libunwind (SHLIB_LC): Set.
8410 * config/t-linux: New file.
8411 * config/t-slibgcc (INSTALL_SHLIB): New.
8412 (SHLIB_INSTALL): Use it.
8413 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
8414 to mkmap-symver.awk.
8415 (SHLIB_MAPFILES): Don't append, adapt pathname.
8416 (SHLIB_VERPFX): Set.
8417 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
8418 to mkmap-symver.awk.
8419 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
8420 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
8421 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
8422 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
8423 to mkmap-flat.awk.
8424 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
8425 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
8426 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
8427 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
8428 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
8429 * config/i386/libgcc-darwin.10.4.ver,
8430 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
8431 New files.
8432 * config/i386/t-darwin: Remove.
8433 * config/i386/t-darwin64: Likewise.
8434 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
8435 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
8436 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
8437 * config/i386/t-linux: New file.
8438 * config/i386/t-mingw32: New file.
8439 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
8440 * config/ia64/t-glibc: Rename to ...
8441 * config/ia64/t-linux: ... this.
8442 (SHLIB_MAPFILES): Set.
8443 * config/ia64/t-glibc-libunwind: Rename to ...
8444 * config/ia64/t-linux-libunwind: ... this.
8445 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
8446 * config/ia64/t-slibgcc-hpux: New file.
8447 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
8448 * config/m68k/t-slibgcc-elf-ver: New file.
8449 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
8450 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
8451 to mkmap-flat.awk.
8452 * config/pa/t-slibgcc-hpux: New file.
8453 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
8454 files.
8455 * config/rs6000/libgcc-darwin.10.4.ver,
8456 config/rs6000/libgcc-darwin.10.5.ver: New files.
8457 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
8458 config/rs6000/libgcc-glibc.ver.
8459 * config/rs6000/libgcc-ppc64.ver: Rename to
8460 config/rs6000/libgcc-ibm-ldouble.ver.
8461 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
8462 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
8463 * config/rs6000/t-ldbl128: Rename to ...
8464 * config/rs6000/t-linux: ... this.
8465 (SHLIB_MAPFILES): Adapt filename.
8466 * config/rs6000/t-slibgcc-aix: New file.
8467 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
8468 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
8469 libgcc-excl.ver, libgcc-glibc.ver.
8470 (SHLIB_LINK, SHLIB_INSTALL): Remove.
8471 * config/sparc/libgcc-glibc.ver: New file.
8472 * config/sparc/t-linux: New file.
8473 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
8474 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
8475 t-slibgcc-elf-ver to tmake_file.
8476 Add t-slibgcc-nolc-override to tmake_file for posix threads on
8477 *-*-freebsd[34].
8478 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
8479 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
8480 t-slibgcc-elf-ver, t-linux to tmake_file.
8481 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
8482 tmake_file.
8483 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
8484 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
8485 (alpha*-dec-*vms*): Likewise.
8486 (arm*-*-freebsd*): Append to tmake_file.
8487 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
8488 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
8489 arm*-*-linux-*eabi.
8490 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
8491 tmake_file for arm*-*-symbianelf*.
8492 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
8493 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
8494 cris/t-linux.
8495 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
8496 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
8497 pa/t-slibgcc-dwarf-ver to tmake_file.
8498 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
8499 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
8500 (hppa*64*-*-hpux11*): Likewise.
8501 (hppa[12]*-*-hpux11*): Likewise.
8502 (x86_64-*-darwin*): Don't override tmake_file, but only keep
8503 i386/t-crtpc, i386/t-crtfm.
8504 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
8505 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
8506 to tmake_file.
8507 Add i386/t-cygwin to tmake_file.
8508 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
8509 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
8510 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
8511 to tmake_file.
8512 Add i386/t-mingw32 to tmake_file.
8513 (x86_64-*-mingw*): Likewise.
8514 (ia64*-*-freebsd*): Append to tmake_file.
8515 (ia64*-*-linux*): Append to tmake_file.
8516 Replace ia64/t-glibc by ia64/t-linux.
8517 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
8518 system libunwind.
8519 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
8520 t-slibgcc-hpux to tmake_file.
8521 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
8522 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
8523 (m32rle-*-linux*): Likewise.
8524 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
8525 sjlj exceptions.
8526 (microblaze*-linux*): New case.
8527 Append to tmake_file, add t-slibgcc-nolc-override.
8528 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
8529 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
8530 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
8531 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
8532 rs6000/t-slibgcc-aix to tmake_file.
8533 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8534 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8535 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
8536 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
8537 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
8538 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
8539 sh*-*-linux*.
8540 (sparc-*-linux*): Append to tmake_file for *-leon*.
8541 Add sparc/t-linux to tmake_file for non-Leon targets.
8542 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
8543 (tic6x-*-uclinux): New case.
8544 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
8545 (tic6x-*-*): Add c6x/t-elf to tmake_file.
8546 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
8547 (am33_2.0-*-linux*): Append to tmake_file.
8548 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
8549 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
8550 x86_64-*-kfreebsd*-gnu.
8551 Add i386/t-linux to tmake_file.
8552
8553 2011-10-28 Ian Lance Taylor <iant@google.com>
8554
8555 * config/i386/morestack.S: Correct CFI information to do proper
8556 returns throughout function. In 32-bit mode, save %ebx so that it
8557 is restored on unwind.
8558
8559 2011-10-25 Bernd Schmidt <bernds@codesourcery.com>
8560
8561 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
8562 case where B3 isn't the return register.
8563
8564 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
8565 logic for doubleword pops.
8566
8567 2011-10-25 Andreas Tobler <andreast@fgznet.ch>
8568
8569 * config/rs6000/t-freebsd: Add wildcard.
8570
8571 2011-10-21 Paul Brook <paul@codesourcery.com>
8572
8573 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
8574
8575 2011-10-16 Uros Bizjak <ubizjak@gmail.com>
8576 Eric Botcazou <ebotcazou@adacore.com>
8577
8578 PR target/50737
8579 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
8580 fs->signal_frame to 1.
8581
8582 2011-10-07 Ian Lance Taylor <iant@google.com>
8583
8584 * generic-morestack-thread.c: #include <errno.h>.
8585
8586 2011-10-07 Ian Lance Taylor <iant@google.com>
8587
8588 PR target/46093
8589 * generic-morestack.c (__generic_morestack): Make sure the segment
8590 is large enough for both the stack frame and the copied
8591 parameters.
8592
8593 2011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8594
8595 PR bootstrap/49804
8596 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
8597 extra_parts.
8598
8599 2011-09-28 Nick Clifton <nickc@redhat.com>
8600
8601 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
8602 64-bit doubles are not enabled.
8603 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
8604 and floatunsisf functions.
8605
8606 2011-09-13 Paul Brook <paul@codesourcery.com>
8607
8608 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
8609 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
8610 * unwind-arm-common.inc: New file.
8611 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
8612 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
8613 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
8614 * config/c6x/libunwind.S: New file.
8615 * config/c6x/pr-support.c: New file.
8616 * config/c6x/unwind-c6x.c: New file.
8617 * config/c6x/unwind-c6x.h: New file.
8618 * config/c6x/t-c6x-elf: New file.
8619
8620 2011-08-23 Uros Bizjak <ubizjak@gmail.com>
8621
8622 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
8623 (ASM_DIVZERO): Ditto.
8624 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
8625
8626 2011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
8627
8628 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
8629
8630 2011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
8631
8632 PR target/50090
8633 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
8634 instead of an assembly one.
8635
8636 2011-08-12 Paolo Bonzini <bonzini@gnu.org>
8637
8638 PR bootstrap/50047
8639 * Makefile.in (install-unwind_h): Create
8640 $(gcc_objdir)/include/unwind.h atomically.
8641
8642 2011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8643
8644 * Makefile.in (install-unwind_h): Remove destination file first.
8645
8646 2011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8647
8648 * sync.c: New file.
8649 * config/mips/t-mips16: New file.
8650 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
8651 (mips*-*-linux*): Likewise.
8652 (mips*-sde-elf*): Likewise.
8653 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
8654 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
8655 Add mips/t-mips16 to tmake_file.
8656 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
8657 (mips-*-elf*): Likewise.
8658 (mips64-*-elf*): Likewise.
8659 (mips64orion-*-elf*): Likewise.
8660 (mips*-*-rtems*): Likewise.
8661 (mipstx39-*-elf*): Likewise.
8662 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
8663 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
8664 LIBGCC_SYNC_CFLAGS.
8665 Use $(srcdir) to refer to sync.c.
8666 Use $<.
8667 ($(libgcc-sync-funcs-o)): Likewise.
8668 ($(libgcc-sync-size-funcs-s-o)): Likewise.
8669 ($(libgcc-sync-funcs-s-o)): Likewise.
8670
8671 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
8672
8673 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
8674 t-libunwind.
8675
8676 2011-08-08 H.J. Lu <hongjiu.lu@intel.com>
8677
8678 PR other/48007
8679 * config/i386/value-unwind.h: New.
8680
8681 2011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
8682
8683 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
8684 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
8685 Add to tmake_file rather than overriding it.
8686
8687 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8688
8689 * config/t-softfp: Remove.
8690 * soft-fp: Moved from ../gcc/config.
8691 * soft-fp/README: Remove t-softfp reference.
8692 * soft-fp/t-softfp: Move to config/t-softfp.
8693 (softfp_machine_header): Remove.
8694 (softfp_file_list): Remove config subdir.
8695 (soft-fp-objects): New variable.
8696 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
8697 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
8698 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
8699 * config/t-softfp-excl: New file.
8700 * config/t-softfp-sfdf: New file.
8701 * config/t-softfp-tf: New file.
8702 * config/no-sfp-machine.h: New file.
8703 * config/arm/sfp-machine.h: New file.
8704 * config/arm/t-softfp: New file.
8705 * config/c6x/sfp-machine.h: New file.
8706 * config/i386/32/t-fprules-softfp: Rename to ...
8707 * config/i386/32/t-softfp: ... this.
8708 (tifunctions, LIB2ADD): Remove.
8709 (softfp_int_modes): Override.
8710 * config/i386/64/t-softfp-compat (tf-functions): Remove config
8711 subdir.
8712 * config/i386/64/eqtf2.c: Likewise.
8713 * config/i386/64/getf2.c: Likewise.
8714 * config/i386/64/letf2.c: Likewise.
8715 * config/ia64/sft-machine.h: New file.
8716 * config/ia64/t-fprules-softfp: Rename to ...
8717 * config/ia64/t-softfp: ... this.
8718 * config/lm32/sfp-machine.h: New file.
8719 * config/moxie/t-moxie-softfp: Remove.
8720 * config/rs6000/ibm-ldouble-format: New file.
8721 * config/rs6000/ibm-ldouble.c: New file.
8722 * config/rs6000/libgcc-ppc-glibc.ver: New file
8723 * config/rs6000/libgcc-ppc64.ver: New file
8724 * config/rs6000/sfp-machine.h: New file.
8725 * config/rs6000/t-freebsd: New file.
8726 * config/rs6000/t-ibm-ldouble: New file.
8727 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
8728 libgcc-ppc-glibc.ver.
8729 * config/rs6000/t-linux64: New file.
8730 * config/rs6000/t-ppccomm (LIB2ADD): Add
8731 $(srcdir)/config/rs6000/ibm-ldouble.c.
8732 * config/rs6000/t-ppccomm-ldbl: New file.
8733 * config/score/sfp-machine.h: New file.
8734 * config.host (sfp_machine_header): Explain.
8735 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
8736 t-softfp to tmake_file.
8737 (arm*-*-uclinux*): Likewise.
8738 (arm*-*-ecos-elf): Likewise.
8739 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
8740 (arm*-*-rtems*): Likewise.
8741 (arm*-*-elf): Likewise.
8742 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
8743 in tmake_file.
8744 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
8745 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
8746 (lm32-*-uclinux*): Likewise.
8747 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
8748 t-softfp-excl, t-softfp.
8749 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
8750 (powerpc64-*-darwin*): Likewise.
8751 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
8752 to tmake_file.
8753 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
8754 tmake_file.
8755 (powerpc-*-eabisim*): Likewise.
8756 (powerpc-*-elf*): Likewise.
8757 (powerpc-*-eabialtivec*): Likewise.
8758 (powerpc-xilinx-eabi*): Likewise.
8759 (powerpc-*-rtems*): Likewise.
8760 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
8761 t-softfp-excl, t-softfp to tmake_file.
8762 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
8763 rs6000/t-ppccomm-ldbl to tmake_file.
8764 (powerpcle-*-elf*): Likewise.
8765 (powerpcle-*-eabisim*): Likewise.
8766 (powerpcle-*-eabi*): Likewise.
8767 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
8768 rs6000/t-ibm-ldouble to tmake_file.
8769 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8770 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8771 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
8772 (tic6x-*-*): Likewise.
8773 (i[34567]86-*-darwin*, x86_64-*-darwin*,
8774 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
8775 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
8776 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
8777 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
8778 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
8779 t-softfp to tmake_file.
8780 * configure.ac (sfp_machine_header): Provide default if unset.
8781 Substitute.
8782 Link sfp-machine.h to config/$sfp_machine_header.
8783 * configure: Regenerate.
8784
8785 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8786
8787 * Makefile.in (double_type_size, long_double_type_size): Set.
8788 Remove $(fpbit-in-libgcc) support.
8789 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
8790 (fpbit-src): New variable.
8791 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
8792 Compile with -DFLOAT $(FPBIT_CFLAGS).
8793 Use $<.
8794 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
8795 Compile with $(FPBIT_CFLAGS).
8796 Use $<.
8797 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
8798 Compile with -DFLOAT $(TPBIT_CFLAGS).
8799 Use $<.
8800 * configure.ac (double_type_size, long_double_type_size):
8801 Determine and substitute.
8802 * configure: Regenerate.
8803 * fp-bit.c, fp-bit.h: New files.
8804 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
8805 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
8806 * config/mips/t-mips: New file.
8807 * config/mips/t-sdemtk: New file.
8808 * config/rs6000/ppc64-fp.c: New file.
8809 * config/rs6000/t-darwin (LIB2ADD): Add
8810 $(srcdir)/config/rs6000/ppc64-fp.c.
8811 * config/rs6000/t-ppc64-fp: New file.
8812 * config/rx/rx-lib.h: New file.
8813 * config/rx/t-rx (FPBIT): Set to true.
8814 ($(gcc_objdir)/fp-bit.c): Remove.
8815 (DPBIT): Set to true only with -m64bit-doubles.
8816 ($(gcc_objdir)/dp-bit.c): Remove.
8817 * config/sparc/t-softfp: Remove.
8818 * config/spu/t-elf: New file.
8819 * config/t-fdpbit, config/t-fpbit: New files.
8820 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
8821 (mips*-*-*): Likewise.
8822 (arm-wrs-vxworks): Likewise.
8823 (arm*-*-freebsd*): Likewise.
8824 (avr-*-rtems*): Add t-fpbit to tmake_file.
8825 (avr-*-*): Likewise.
8826 (bfin*-elf*): Add t-fdpbit to tmake_file.
8827 (bfin*-uclinux*): Likewise.
8828 (bfin*-linux-uclibc*): Likewise.
8829 (bfin*-rtems*): New case.
8830 Add t-fdpbit to tmake_file.
8831 (bfin*-*): Add t-fdpbit to tmake_file.
8832 (crisv32-*-elf): Likewise.
8833 (cris-*-linux*): Likewise.
8834 (fr30-*-elf): Likewise.
8835 (frv-*-elf, frv-*-*linux*): Likewise.
8836 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
8837 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
8838 (m32r-*-elf*): Likewise.
8839 (m32rle-*-elf*): Likewise.
8840 (m32r-*-linux*): Likewise.
8841 (m32rle-*-linux*): Likewise.
8842 (mcore-*-elf): Add t-fdpbit to tmake_file.
8843 (microblaze*-*-*): Likewise.
8844 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
8845 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
8846 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
8847 Fix typo.
8848 Add mips/t-tpbit to tmake-file.
8849 (mips*-*-linux*): Fix typo.
8850 (mips*-sde-elf*): New case
8851 Add mips/t-sdemtk unless using newlib.
8852 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
8853 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
8854 (mn10300-*-*): Likewise.
8855 (pdp11-*-*): Likewise.
8856 (picochip-*-*): Add t-fpbit to tmake_file.
8857 (powerpc-*-eabisimaltivec*): Likewise.
8858 (powerpc-*-eabisim*): Likewise.
8859 (powerpc-*-elf*): Likewise.
8860 (powerpc-*-eabialtivec*): Likewise.
8861 (powerpc-xilinx-eabi*): New case.
8862 Add t-fdpbit to tmake_file.
8863 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
8864 (powerpc-*-rtems*): Likewise.
8865 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
8866 tmake_file.
8867 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
8868 tmake_file.
8869 (powerpc-*-lynxos*): Likewise.
8870 (powerpcle-*-elf*): Likewise.
8871 (powerpcle-*-eabisim*): Likewise.
8872 (powerpcle-*-eabi*): Likewise.
8873 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
8874 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
8875 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8876 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8877 (rx-*-elf): Add t-fdpbit to tmake_file.
8878 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
8879 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
8880 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
8881 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
8882 sh*-*-netbsd*.
8883 (sh-*-rtems*): Add t-fdpbit to tmake_file.
8884 (sh-wrs-vxworks): Likewise.
8885 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
8886 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
8887 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
8888 (sparc64-*-rtems*): ... new case.
8889 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
8890 (spu-*-elf*): Likewise.
8891 Add spu/t-elf to tmake_file.
8892 (v850*-*-*): Add t-fdpbit to tmake_file.
8893 (xstormy16-*-elf): Likewise.
8894 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
8895 (mep*-*-*): Likewise.
8896
8897 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8898
8899 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
8900 variables.
8901 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
8902 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
8903 (install-unwind_h): New target.
8904 (all): Depend on it.
8905 * config.host (unwind_header): New variable.
8906 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
8907 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
8908 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
8909 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
8910 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
8911 Set unwind_header.
8912 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
8913 Set unwind_header.
8914 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
8915 arm*-*-eabi*.
8916 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
8917 Set unwind_header.
8918 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
8919 (ia64*-*-freebsd*): Likewise.
8920 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
8921 tmake_file.
8922 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
8923 $with_system_libunwind.
8924 (ia64*-*-hpux*): Set tmake_file.
8925 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
8926 (picochip-*-*): Set tmake_file.
8927 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
8928 md_unwind_header.
8929 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8930 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8931 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
8932 (xtensa*-*-elf*): Set tmake_file.
8933 (xtensa*-*-linux*): Likewise.
8934 * configure.ac: Include ../config/unwind_ipinfo.m4.
8935 Call GCC_CHECK_UNWIND_GETIPINFO.
8936 Link unwind.h to $unwind_header.
8937 * configure: Regenerate.
8938 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
8939 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
8940 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
8941 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
8942 * config/unwind-dw2-fde-darwin.c: New file.
8943 * config/arm/libunwind.S, config/arm/pr-support.c,
8944 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
8945 config/arm/unwind-arm.h,: New files.
8946 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
8947 config/ia64/t-eh-ia64, config/ia64/t-glibc,
8948 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
8949 config/ia64/t-vms, config/ia64/unwind-ia64.c,
8950 config/ia64/unwind-ia64.h: New files.
8951 * config/picochip/t-picochip: New file.
8952 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
8953 files.
8954 * config/rs6000/t-darwin (LIB2ADDEH): Set.
8955 * config/s390/t-tpf (LIB2ADDEH): Remove.
8956 * config/t-darwin (LIB2ADDEH): Set.
8957 * config/t-eh-dw2-dip: New file.
8958 * config/t-libunwind, config/t-libunwind-elf: New files.
8959 * config/t-sol2 (LIB2ADDEH): Remove.
8960 * config/xtensa/t-xtensa: New file.
8961
8962 2011-08-02 H.J. Lu <hongjiu.lu@intel.com>
8963
8964 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
8965 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
8966 long long to check rt_sigreturn syscall.
8967
8968 2011-08-02 Alan Modra <amodra@gmail.com>
8969
8970 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
8971 Restore for indirect call bcrtl from correct stack slot, and only
8972 if cfa+40 isn't valid.
8973
8974 2011-08-01 Julian Brown <julian@codesourcery.com>
8975
8976 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
8977 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
8978 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
8979
8980 2011-08-01 Julian Brown <julian@codesourcery.com>
8981
8982 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
8983 (libgcc-std.ver.in): Use above.
8984 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
8985 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
8986 throughout file.
8987 * config/t-fixedpoint-gnu-prefix: New file.
8988 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
8989 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
8990 instead of __PFX__.
8991
8992 2011-07-28 H.J. Lu <hongjiu.lu@intel.com>
8993
8994 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
8995 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
8996 for x86-64. Properly check __x86_64__ and __LP64__.
8997
8998 2010-07-28 H.J. Lu <hongjiu.lu@intel.com>
8999
9000 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
9001 version.
9002 (_FP_WS_TYPE): Likewise.
9003 (_FP_I_TYPE): Likewise.
9004
9005 2011-07-28 Alan Modra <amodra@gmail.com>
9006
9007 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
9008 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
9009 in a plt call stub. Do restore r2 if stopped on bctrl.
9010
9011 2011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9012
9013 * config.host (i[3456x]86-*-netware*): Remove.
9014 * config/i386/netware-crt0.c, config/i386/t-nwld,
9015 config/i386/t-slibgcc-nwld: Remove.
9016
9017 2011-07-15 Bernd Schmidt <bernds@codesourcery.com>
9018
9019 * config.host: Handle tic6x-*-*.
9020 * config/c6x/c6x-abi.h: New file.
9021
9022 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9023
9024 * config/i386/crtprec.c: New file.
9025 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
9026 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
9027 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
9028 (x86_64-*-darwin*): Likewise.
9029 (i[34567]86-*-solaris2*: Likewise.
9030
9031 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9032
9033 * config/alpha/crtfastmath.c: New file.
9034 * config/i386/crtfastmath.c: New file.
9035 * config/ia64/crtfastmath.c: New file.
9036 * config/mips/crtfastmath.c: New file.
9037 * config/sparc/crtfastmath.c: New file.
9038
9039 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
9040 crtfastmath.c.
9041 Add -frandom-seed=gcc-crtfastmath.
9042 * config/alpha/t-crtfm: Remove.
9043 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
9044 * config/ia64/t-ia64 (crtfastmath.o): Remove.
9045
9046 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
9047 (alpha*-dec-osf5.1*): Likewise.
9048 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
9049 Add crtfastmath.o to extra_parts.
9050 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
9051 Add crtfastmath.o to extra_parts.
9052 (x86_64-*-darwin*): Likewise.
9053 (x86_64-*-mingw*): Likewise.
9054 (ia64*-*-elf*): Add t-crtfm to tmake_file.
9055 (ia64*-*-freebsd*): Likewise.
9056 (ia64*-*-linux*): Likewise.
9057 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
9058 Add crtfastmath.o to extra_parts.
9059
9060 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9061
9062 * config/darwin-crt3.o: New file.
9063 * config/rs6000/darwin-crt2.c: New file.
9064 * config/t-darwin: New file.
9065 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
9066 (crt2.o): New rule.
9067 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
9068 (powerpc-*-darwin*): Add crt2.o to extra_parts.
9069 (powerpc64-*-darwin*): Likewise.
9070
9071 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9072
9073 * config/i386/netware-crt0.c: New file.
9074 * config/i386/t-nwld: Rename to ...
9075 * config/i386/t-slibgcc-nwld: ... this.
9076 * config/i386/t-nwld: New file.
9077 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
9078 tmake_file.
9079 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
9080 extra_parts.
9081
9082 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9083
9084 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
9085 i386/t-crtstuff.
9086 * configure: Regenerate.
9087
9088 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9089
9090 * dfp-bit.c, dfp-bit.h: New files.
9091 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
9092 variables.
9093 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
9094 ($(d64pbit-o)): Likewise.
9095 ($(d128pbit-o)): Likewise.
9096 * config/t-dfprules: New file.
9097 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
9098 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
9099 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
9100 (x86_64-*-linux*): Likewise.
9101 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
9102 (i[34567]86-*-cygwin*): Likewise.
9103 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
9104 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
9105
9106 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9107
9108 * Makfile.in (LIBGCOV): New variable.
9109 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
9110 * libgcov.c: New file.
9111
9112 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9113
9114 * fixed-bit.c, fixed-bit.h: New files.
9115 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
9116 refer to fixed-bit.c.
9117
9118 2011-07-07 Joseph Myers <joseph@codesourcery.com>
9119
9120 * config.host (*local*): Remove.
9121
9122 2011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9123
9124 PR target/39150
9125 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
9126 like i?86-*-solaris2.1[0-9]*.
9127 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
9128 * configure.ac (i?86-*-solaris2*): Likewise.
9129 * configure: Regenerate.
9130
9131 2011-07-06 Thomas Schwinge <thomas@schwinge.name>
9132
9133 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
9134 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
9135 md_unwind_header by splitting out of...
9136 (i[34567]86-*-linux*): ... this.
9137 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
9138 Remove md_unwind_header by splitting out of...
9139 (x86_64-*-linux*): ... this.
9140
9141 2011-07-04 Georg-Johann Lay <avr@gjlay.de>
9142
9143 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
9144
9145 2011-06-28 Nick Clifton <nickc@redhat.com>
9146
9147 * config.host: Recognize all V850 variants.
9148
9149 2011-06-22 Uros Bizjak <ubizjak@gmail.com>
9150
9151 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
9152
9153 2011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9154
9155 * shared-object.mk (c_flags-$o): Save c_flags.
9156 ($(base)$(objext)): Use it.
9157 ($(base)_s$(objext)): Likewise.
9158
9159 2011-06-21 Bernd Schmidt <bernds@codesourcery.com>
9160
9161 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
9162 * libgcc-std.ver.in (GCC_4.7.0): New section.
9163
9164 2011-06-16 Georg-Johann Lay <avr@gjlay.de>
9165
9166 PR target/49313
9167 PR target/29524
9168 * config/avr/t-avr: Fix line endings.
9169 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
9170 _parityXX2.
9171
9172 2011-06-14 Olivier Hainque <hainque@adacore.com>
9173 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9174
9175 * config/mips/irix6-unwind.h: New file.
9176 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
9177
9178 2011-06-10 Eric Botcazou <ebotcazou@adacore.com>
9179
9180 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
9181 (sparc64_fallback_frame_state): Use it.
9182 (sparc64_frob_update_context): Further adjust context.
9183 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
9184 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
9185 * config/sparc/sol2-cn.S: Likewise.
9186
9187 2011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9188
9189 * enable-execute-stack-empty.c: New file.
9190 * enable-execute-stack-mprotect.c: New file.
9191 * config/i386/enable-execute-stack-mingw32.c: New file.
9192 * config.host (enable_execute_stack): New variable.
9193 Select appropriate variants.
9194 * configure.ac: Link enable-execute-stack.c to
9195 $enable_execute_stack.
9196 * configure: Regenerate.
9197 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
9198 (lib2funcs): Remove _enable_execute_stack.
9199
9200 2011-06-09 David S. Miller <davem@davemloft.net>
9201 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9202
9203 * config.host (sparc-*-linux*): Correct md_unwind_header
9204 filename.
9205 (s390x-ibm-tpf*): Fix typo.
9206
9207 2011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9208
9209 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
9210 Add crtfastmath.o to extra_parts.
9211 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
9212 mips/t-crtfm.
9213 * config/mips/t-crtfm: Remove.
9214
9215 2011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
9216
9217 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
9218
9219 2011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
9220
9221 * config.host (sh*-*-linux*): Fix typo.
9222
9223 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9224
9225 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
9226 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
9227 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
9228 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
9229 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
9230 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
9231 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
9232 Wrap in !__MINGW64__.
9233 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
9234 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
9235 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
9236 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
9237 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
9238 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
9239 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
9240 Wrap in !__LP64__.
9241 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
9242 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
9243 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
9244 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
9245 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
9246 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
9247 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
9248 * config/no-unwind.h: New file.
9249 * config.host (md_unwind_header): Document.
9250 Define.
9251 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
9252 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
9253 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
9254 hppa[12]*-*-hpux11*): Set md_unwind_header.
9255 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
9256 Set md_unwind_header.
9257 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
9258 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
9259 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
9260 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
9261 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
9262 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
9263 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
9264 md_unwind_header.
9265 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
9266 * configure: Regenerate.
9267
9268 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9269
9270 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
9271 Set tmake_file, extra_parts.
9272 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
9273 Remove O32 support.
9274 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
9275 Remove O32 support.
9276 * config/mips/t-irix6: New file.
9277 * config/mips/t-slibgcc-irix: New file.
9278
9279 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9280
9281 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
9282 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
9283
9284 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9285
9286 * configure.ac (target_thread_file): Determine thread model.
9287 * configure: Regenerate.
9288 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
9289 * config/alpha/t-alpha: New file.
9290 * config/alpha/t-crtfm: Use $<.
9291 * config/alpha/t-ieee: New file.
9292 * config/alpha/t-osf-pthread: New file.
9293 * config/alpha/t-slibgcc-osf: New file.
9294 * config/alpha/libgcc-osf5.ver: New file.
9295
9296 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9297
9298 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
9299 tmake_file.
9300 Add crtfastmath.o to extra_parts.
9301
9302 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9303
9304 * config/gmon-sol2.c: Reindent.
9305 Cleanup comments.
9306 Remove, correct casts.
9307 Use STDERR_FILENO, NULL.
9308 (BASEADDRESS): Remove.
9309 (minbrk): Remove.
9310 (errno, sbrk): Remove declarations.
9311 (monstartup) [hp300]: Remove.
9312 (mcount): Remove.
9313
9314 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9315
9316 * Makefile.in (cpu_type): Define.
9317 * config.host (i[34567]86-*-rtems*): Handle it.
9318 (i[34567]86-*-solaris2*): Move body ...
9319 (*-*-solaris2*): ... here.
9320 New case, generalize.
9321 (sparc-*-elf*): Handle it.
9322 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
9323 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
9324 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
9325 Fold into ...
9326 (sparc*-*-solaris2*): ... this.
9327 New case.
9328 (sparc64-*-elf*): Handle it.
9329 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
9330 Merge ../gcc/config/i386/gmon-sol2.c.
9331 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
9332 Use C comments.
9333 Merge ../gcc/config/i386/sol2-gc1.asm.
9334 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
9335 Use C comments.
9336 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
9337 Use C comments.
9338 * config/i386/t-crtfm (crtfastmath.o): Use $<.
9339 * config/i386/t-crtstuff: New file.
9340 * config/i386/t-softfp: New file.
9341 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
9342 $(T)crti.o, $(T)crtn.o): Remove.
9343 (gcrt1.o): New rule.
9344 (TARGET_LIBGCC2_CFLAGS): Remove.
9345 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
9346 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
9347 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
9348 * config/sparc/t-sol2: New file.
9349 * config/sparc/t-crtfm: Move to ...
9350 * config/t-crtfm: ... this.
9351 Use $(cpu_type), $<.
9352 * config/t-crtin: New file.
9353 * config/sparc/t-softfp: New file.
9354 * config/sparc/t-softmul: New file.
9355 * config/t-rtems: New file.
9356 * config/t-slibgcc: New file.
9357 * config/t-slibgcc-elf-ver: New file.
9358 * config/t-slibgcc-gld: New file.
9359 * config/t-slibgcc-sld: New file.
9360 * config/t-sol2: New file.
9361 * configure.ac: Include ../config/lib-ld.m4.
9362 Call AC_LIB_PROG_LD_GNU.
9363 Substitute cpu_type.
9364 * configure: Regenerate.
9365
9366 2011-05-27 Bernd Schmidt <bernds@codesourcery.com>
9367
9368 PR bootstrap/49173
9369 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
9370 libgcc-std.ver in the build directory.
9371 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
9372 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
9373
9374 2011-05-25 Bernd Schmidt <bernds@codesourcery.com>
9375
9376 * libgcc-std.ver.in: New file.
9377 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
9378 variables.
9379 (libgcc-std.ver): New rule.
9380 * config/t-gnu-prefix: New file.
9381
9382 2011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9383
9384 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
9385
9386 2011-05-10 Joseph Myers <joseph@codesourcery.com>
9387
9388 * config/i386/darwin-lib.h: New file.
9389
9390 2011-05-10 Joseph Myers <joseph@codesourcery.com>
9391
9392 * config/arm/symbian-lib.h: New.
9393
9394 2011-05-04 Chris Demetriou <cgd@google.com>
9395
9396 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
9397 (__x86.get_pc_thunk.bx): ...this.
9398 (__morestack): Adjust for rename, remove undef of __i686.
9399
9400 2011-05-03 Chris Demetriou <cgd@google.com>
9401
9402 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
9403
9404 2011-03-22 Joseph Myers <joseph@codesourcery.com>
9405
9406 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
9407 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
9408 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
9409 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
9410 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
9411 Remove cases.
9412
9413 2011-03-14 Andreas Tobler <andreast@fgznet.ch>
9414
9415 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
9416 Adjust copyright year.
9417
9418 2011-03-07 Ian Lance Taylor <iant@google.com>
9419
9420 * generic-morestack.c (__splitstack_find): Adjust returned stack
9421 pointer to include all registers pushed by __morestack.
9422
9423 2011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
9424
9425 PR target/40125
9426 * configure.ac: Call ACX_NONCANONICAL_TARGET.
9427 (toolexecdir): Calculate and AC_SUBST.
9428 (toolexeclibdir): Likewise.
9429 * Makefile.in (target_noncanonical): Import.
9430 (toolexecdir): Likewise.
9431 (toolexeclibdir): Likewise.
9432 * configure: Regenerate.
9433
9434 2010-12-13 Nathan Froyd <froydnj@codesourcery.com>
9435
9436 PR target/46040
9437 * config/arm/bpabi.h: Rename to...
9438 * config/arm/bpabi-lib.h: ...this.
9439
9440 2010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9441
9442 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
9443 appropriate.
9444 * configure: Regenerate.
9445
9446 2010-11-24 Nathan Froyd <froydnj@codesourcery.com>
9447
9448 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
9449 __FLOAT_WORD_ORDER__.
9450 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
9451 Delete.
9452
9453 2010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9454
9455 PR other/46202
9456 * Makefile.in (install-strip): New phony target.
9457
9458 2010-11-07 Ian Lance Taylor <iant@google.com>
9459
9460 PR target/46089
9461 * config/i386/morestack.S (__morestack_large_model): New
9462 function.
9463
9464 2010-10-23 Nathan Froyd <froydnj@codesourcery.com>
9465
9466 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
9467 Delete.
9468 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
9469
9470 2010-10-14 Nathan Froyd <froydnj@codesourcery.com>
9471
9472 * config/arm/bpabi.h: New file.
9473 * config/frv/frv-abi.h: New file.
9474
9475 2010-10-01 Ian Lance Taylor <iant@google.com>
9476
9477 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
9478 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
9479
9480 2010-10-01 H.J. Lu <hongjiu.lu@intel.com>
9481
9482 PR target/45858
9483 * config.host: Add the missing `$'.
9484
9485 2010-09-30 Michael Eager <eager@eagercon.com>
9486
9487 * config.host: Add microblaze*-*-*.
9488 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
9489 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
9490 udivsi3.asm,umodsi3.asm}: New.
9491
9492 2010-09-28 Ian Lance Taylor <iant@google.com>
9493
9494 * configure.ac: Adjust CFI test to test assembler directly rather
9495 than checking gcc preprocessor macro.
9496 * configure: Rebuild.
9497
9498 2010-09-27 Ian Lance Taylor <iant@google.com>
9499
9500 * configure.ac: Test whether assembler supports CFI directives.
9501 * config.host: Only add t-stack and i386/t-stack-i386 to
9502 tmake_file if libgcc_cv_cfi is "yes".
9503 * configure: Rebuild.
9504
9505 2010-09-27 Ian Lance Taylor <iant@google.com>
9506
9507 * generic-morestack.h: New file.
9508 * generic-morestack.c: New file.
9509 * generic-morestack-thread.c: New file.
9510 * config/i386/morestack.S: New file.
9511 * config/t-stack: New file.
9512 * config/i386/t-stack-i386: New file.
9513 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
9514 i386/t-stack-i386 to tmake_file.
9515
9516 2010-09-21 Iain Sandoe <iains@gcc.gnu.org>
9517
9518 * Makefile.in (libgcc-extra-parts): Check for static archives and
9519 invoke ranlib after installing them.
9520 (gcc-extra-parts): Likewise.
9521 (install-leaf): Likewise.
9522
9523 2010-09-14 H.J. Lu <hongjiu.lu@intel.com>
9524
9525 * configure: Regenerated.
9526
9527 2010-09-10 Kai Tietz <kai.tietz@onevision.com>
9528
9529 * configure: Regenerated.
9530
9531 2010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
9532 Andrew Pinski <pinskia@gmail.com>
9533
9534 PR target/40959
9535 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
9536
9537 2010-09-06 H.J. Lu <hongjiu.lu@intel.com>
9538
9539 PR target/45524
9540 * configure: Regenerated.
9541
9542 2010-09-06 Andreas Schwab <schwab@redhat.com>
9543
9544 * configure: Regenerate.
9545
9546 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
9547
9548 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
9549 64bit targets.
9550 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
9551 for 64bit targets.
9552
9553 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
9554 Iain Sandoe <iains@gcc.gnu.org>
9555
9556 PR target/45476
9557 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
9558 LIB2FUNCS_EXCLUDE functions.
9559
9560 2010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9561
9562 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
9563 Include dfp.m4.
9564 * configure: Regenerate.
9565
9566 2010-09-01 Uros Bizjak <ubizjak@gmail.com>
9567
9568 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
9569 i386/t-freebsd to tmake_file.
9570 * config/i386/t-freebsd: New file.
9571 * config/i386/libgcc-bsd.ver: New file.
9572
9573 2010-07-23 Nathan Froyd <froydnj@codesourcery.com>
9574
9575 * config.host (powerpc*-eabispe*): Set tmake_file.
9576 (powerpc*-eabi*): Likewise.
9577 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
9578 crtbeginS, crtendS, crtbeginT.
9579
9580 2010-06-12 Kazu Hirata <kazu@codesourcery.com>
9581
9582 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
9583 to tmake_file. Add crtfastmath.o to extra_parts.
9584 * config/mips/t-crtfm: New.
9585
9586 2010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
9587
9588 * config.host (sparc64-*-rtems*): New target.
9589
9590 2010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9591
9592 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
9593 assembler syntax.
9594
9595 2010-04-15 Thomas Schwinge <tschwinge@gnu.org>
9596
9597 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
9598
9599 2010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9600
9601 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
9602 alpha-dec-osf5.0* support.
9603
9604 2010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
9605
9606 * config.host: Add lm32-*-rtems*.
9607
9608 2010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9609 Uros Bizjak <ubizjak@gmail.com>
9610
9611 PR target/39048
9612 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
9613 like other remaining 32-bit x86 OSes.
9614 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
9615 assembler syntax.
9616 * config/i386/libgcc-sol2.ver: New file.
9617 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
9618
9619 2010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
9620
9621 PR c/43553
9622 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
9623 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
9624 is used and substitute set_use_emutls.
9625 * configure: Regenerated.
9626
9627 2010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
9628
9629 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
9630
9631 2010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9632
9633 PR target/38085
9634 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
9635 MULTILIB_CFLAGS.
9636 ($(T)gcrt1.o): Likewise.
9637 ($(T)crt1.o): Likewise.
9638 ($(T)crti.o): Likewise.
9639 ($(T)crtn.o): Likewise.
9640
9641 2010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9642
9643 PR other/42980
9644 * Makefile.in (install): Use $(MAKE) string in rule, for
9645 parallel make.
9646
9647 2010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
9648
9649 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
9650 * config/mmix/t-mmix: New file.
9651 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
9652
9653 2010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
9654
9655 PR java/41991
9656 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
9657 SHLIB_MAPFILES.
9658
9659 2010-01-04 Anthony Green <green@moxielogic.com>
9660
9661 * config/moxie/crti.asm, config/moxie/crtn.asm,
9662 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
9663 config/moxie/t-moxie: New files.
9664 * config.host: Add t-moxie-softfp reference.
9665
9666 2009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
9667
9668 PR other/39888
9669 * config/t-slibgcc-darwin: Fix embedded rpaths for
9670 --enable-version-specific-runtime-libs, build extension stub
9671 libs exposing features available from current libgcc_s.
9672
9673 2009-11-11 Jon Beniston <jon@beniston.com>
9674
9675 * config.host: Add lm32 targets.
9676 * config/lm32: New directory.
9677 * config/lm32/libgcc_lm32.h: New file.
9678 * config/lm32/_mulsi3.c: New file.
9679 * config/lm32/_udivmodsi4.c: New file.
9680 * config/lm32/_divsi3.c: New file.
9681 * config/lm32/_modsi3.c: New file.
9682 * config/lm32/_udivsi3.c: New file.
9683 * config/lm32/_umodsi3.c: New file.
9684 * config/lm32/_lshrsi3.S: New file.
9685 * config/lm32/_ashrsi3.S: New file.
9686 * config/lm32/_ashlsi3.S: New file.
9687 * config/lm32/crti.S: New file.
9688 * config/lm32/crtn.S: New file.
9689 * config/lm32/t-lm32: New file.
9690 * config/lm32/t-elf: New file.
9691 * config/lm32/t-uclinux: New file.
9692
9693 2009-10-26 Nick Clifton <nickc@redhat.com>
9694
9695 * config.host: Add support for RX target.
9696 * config/rx: New directory.
9697 * config/rx/rx-abi-functions.c: New file. Supplementary
9698 functions for libgcc to support the RX ABI.
9699 * config/rx/rx-abi.h: New file. Supplementary header file for
9700 libgcc RX ABI functions.
9701 * config/rx/t-rx: New file: Makefile fragment for building
9702 libgcc for the RX.
9703
9704 2009-10-09 Uros Bizjak <ubizjak@gmail.com>
9705
9706 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
9707 constraint of y0 to "g".
9708
9709 2009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9710
9711 * config.host: Include the s390 makefile fragments.
9712 * config/s390/32/_fixdfdi.c: New file.
9713 * config/s390/32/_fixsfdi.c: New file.
9714 * config/s390/32/_fixtfdi.c: New file.
9715 * config/s390/32/_fixunsdfdi.c: New file.
9716 * config/s390/32/_fixunssfdi.c: New file.
9717 * config/s390/32/_fixunstfdi.c: New file.
9718 * config/s390/32/t-floattodi: New file.
9719 * config/s390/libgcc-glibc.ver: New file.
9720 * config/s390/t-crtstuff: New file.
9721 * config/s390/t-linux: New file.
9722 * config/s390/t-tpf: New file.
9723
9724 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9725
9726 * configure.ac (AC_PREREQ): Bump to 2.64.
9727
9728 2009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
9729
9730 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
9731
9732 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9733
9734 * configure: Regenerate.
9735
9736 2009-08-09 Douglas B Rupp <rupp@gnat.com>
9737
9738 * config.host (ia64-hp-*vms*): New target.
9739 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
9740 with ia64-hp-*vms*.
9741
9742 2009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9743
9744 * configure.ac: Add snippet for maintainer-mode.
9745 * configure: Regenerate.
9746 * Makefile.in (AUTOCONF, configure_deps): New variables.
9747 ($(srcdir)/configure)): New rule, active only with maintainer
9748 mode turned on.
9749
9750 2009-06-23 DJ Delorie <dj@redhat.com>
9751
9752 Add MeP port.
9753 * config.host: Add mep support.
9754
9755 2009-06-22 Kai Tietz <kai.tietz@onevision.com>
9756
9757 * config.host: Add i386/${host_address}/t-fprules-softfp and
9758 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
9759
9760 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
9761 for mingw targets.
9762 * config/i386/64/_multc3.c: Likewise.
9763 * config/i386/64/_powitf2.c: Likewise.
9764 * config/i386/64/eqtf2.c: Likewise.
9765 * config/i386/64/getf2.c: Likewise.
9766 * config/i386/64/letf2.c: Likewise.
9767 * config/i386/64/letf2.c: Likewise.
9768 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
9769 unsigned long long for x64 mingw targets.
9770 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
9771 (_FP_I_TYPE): Define as long long for x64 mingw target.
9772
9773 2009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
9774
9775 * config.host (vax-*-linux*): New.
9776
9777 2009-05-31 Anthony Green <green@moxielogic.com>
9778
9779 * config.host: Add moxie support.
9780 * config/moxie/t-moxie: New file.
9781
9782 2009-05-29 David Billinghurst <billingd@gcc.gnu.org>
9783
9784 * config.host: Add i386/${host_address}/t-fprules-softfp and
9785 t-softfp to tmake_file for i[34567]86-*-cygwin*.
9786
9787 2009-04-17 Aurelien Jarno <aurelien@aurel32.net>
9788
9789 * config.host: Add i386/${host_address}/t-fprules-softfp to
9790 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
9791
9792 2009-04-09 Nick Clifton <nickc@redhat.com>
9793
9794 * config/ia64/tf-signs.c: Change copyright header to refer to
9795 version 3 of the GNU General Public License with version 3.1
9796 of the GCC Runtime Library Exception and to point readers at
9797 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
9798 web page.
9799 * config/i386/32/tf-signs.c: Likewise.
9800 * config/libbid/_addsub_dd.c: Likewise.
9801 * config/libbid/_addsub_sd.c: Likewise.
9802 * config/libbid/_addsub_td.c: Likewise.
9803 * config/libbid/_dd_to_df.c: Likewise.
9804 * config/libbid/_dd_to_di.c: Likewise.
9805 * config/libbid/_dd_to_sd.c: Likewise.
9806 * config/libbid/_dd_to_sf.c: Likewise.
9807 * config/libbid/_dd_to_si.c: Likewise.
9808 * config/libbid/_dd_to_td.c: Likewise.
9809 * config/libbid/_dd_to_tf.c: Likewise.
9810 * config/libbid/_dd_to_udi.c: Likewise.
9811 * config/libbid/_dd_to_usi.c: Likewise.
9812 * config/libbid/_dd_to_xf.c: Likewise.
9813 * config/libbid/_df_to_dd.c: Likewise.
9814 * config/libbid/_df_to_sd.c: Likewise.
9815 * config/libbid/_df_to_td.c: Likewise.
9816 * config/libbid/_di_to_dd.c: Likewise.
9817 * config/libbid/_di_to_sd.c: Likewise.
9818 * config/libbid/_di_to_td.c: Likewise.
9819 * config/libbid/_div_dd.c: Likewise.
9820 * config/libbid/_div_sd.c: Likewise.
9821 * config/libbid/_div_td.c: Likewise.
9822 * config/libbid/_eq_dd.c: Likewise.
9823 * config/libbid/_eq_sd.c: Likewise.
9824 * config/libbid/_eq_td.c: Likewise.
9825 * config/libbid/_ge_dd.c: Likewise.
9826 * config/libbid/_ge_sd.c: Likewise.
9827 * config/libbid/_ge_td.c: Likewise.
9828 * config/libbid/_gt_dd.c: Likewise.
9829 * config/libbid/_gt_sd.c: Likewise.
9830 * config/libbid/_gt_td.c: Likewise.
9831 * config/libbid/_isinfd128.c: Likewise.
9832 * config/libbid/_isinfd32.c: Likewise.
9833 * config/libbid/_isinfd64.c: Likewise.
9834 * config/libbid/_le_dd.c: Likewise.
9835 * config/libbid/_le_sd.c: Likewise.
9836 * config/libbid/_le_td.c: Likewise.
9837 * config/libbid/_lt_dd.c: Likewise.
9838 * config/libbid/_lt_sd.c: Likewise.
9839 * config/libbid/_lt_td.c: Likewise.
9840 * config/libbid/_mul_dd.c: Likewise.
9841 * config/libbid/_mul_sd.c: Likewise.
9842 * config/libbid/_mul_td.c: Likewise.
9843 * config/libbid/_ne_dd.c: Likewise.
9844 * config/libbid/_ne_sd.c: Likewise.
9845 * config/libbid/_ne_td.c: Likewise.
9846 * config/libbid/_sd_to_dd.c: Likewise.
9847 * config/libbid/_sd_to_df.c: Likewise.
9848 * config/libbid/_sd_to_di.c: Likewise.
9849 * config/libbid/_sd_to_sf.c: Likewise.
9850 * config/libbid/_sd_to_si.c: Likewise.
9851 * config/libbid/_sd_to_td.c: Likewise.
9852 * config/libbid/_sd_to_tf.c: Likewise.
9853 * config/libbid/_sd_to_udi.c: Likewise.
9854 * config/libbid/_sd_to_usi.c: Likewise.
9855 * config/libbid/_sd_to_xf.c: Likewise.
9856 * config/libbid/_sf_to_dd.c: Likewise.
9857 * config/libbid/_sf_to_sd.c: Likewise.
9858 * config/libbid/_sf_to_td.c: Likewise.
9859 * config/libbid/_si_to_dd.c: Likewise.
9860 * config/libbid/_si_to_sd.c: Likewise.
9861 * config/libbid/_si_to_td.c: Likewise.
9862 * config/libbid/_td_to_dd.c: Likewise.
9863 * config/libbid/_td_to_df.c: Likewise.
9864 * config/libbid/_td_to_di.c: Likewise.
9865 * config/libbid/_td_to_sd.c: Likewise.
9866 * config/libbid/_td_to_sf.c: Likewise.
9867 * config/libbid/_td_to_si.c: Likewise.
9868 * config/libbid/_td_to_tf.c: Likewise.
9869 * config/libbid/_td_to_udi.c: Likewise.
9870 * config/libbid/_td_to_usi.c: Likewise.
9871 * config/libbid/_td_to_xf.c: Likewise.
9872 * config/libbid/_tf_to_dd.c: Likewise.
9873 * config/libbid/_tf_to_sd.c: Likewise.
9874 * config/libbid/_tf_to_td.c: Likewise.
9875 * config/libbid/_udi_to_dd.c: Likewise.
9876 * config/libbid/_udi_to_sd.c: Likewise.
9877 * config/libbid/_udi_to_td.c: Likewise.
9878 * config/libbid/_unord_dd.c: Likewise.
9879 * config/libbid/_unord_sd.c: Likewise.
9880 * config/libbid/_unord_td.c: Likewise.
9881 * config/libbid/_usi_to_dd.c: Likewise.
9882 * config/libbid/_usi_to_sd.c: Likewise.
9883 * config/libbid/_usi_to_td.c: Likewise.
9884 * config/libbid/_xf_to_dd.c: Likewise.
9885 * config/libbid/_xf_to_sd.c: Likewise.
9886 * config/libbid/_xf_to_td.c: Likewise.
9887 * config/libbid/bid128.c: Likewise.
9888 * config/libbid/bid128_2_str.h: Likewise.
9889 * config/libbid/bid128_2_str_macros.h: Likewise.
9890 * config/libbid/bid128_2_str_tables.c: Likewise.
9891 * config/libbid/bid128_add.c: Likewise.
9892 * config/libbid/bid128_compare.c: Likewise.
9893 * config/libbid/bid128_div.c: Likewise.
9894 * config/libbid/bid128_fma.c: Likewise.
9895 * config/libbid/bid128_logb.c: Likewise.
9896 * config/libbid/bid128_minmax.c: Likewise.
9897 * config/libbid/bid128_mul.c: Likewise.
9898 * config/libbid/bid128_next.c: Likewise.
9899 * config/libbid/bid128_noncomp.c: Likewise.
9900 * config/libbid/bid128_quantize.c: Likewise.
9901 * config/libbid/bid128_rem.c: Likewise.
9902 * config/libbid/bid128_round_integral.c: Likewise.
9903 * config/libbid/bid128_scalb.c: Likewise.
9904 * config/libbid/bid128_sqrt.c: Likewise.
9905 * config/libbid/bid128_string.c: Likewise.
9906 * config/libbid/bid128_to_int16.c: Likewise.
9907 * config/libbid/bid128_to_int32.c: Likewise.
9908 * config/libbid/bid128_to_int64.c: Likewise.
9909 * config/libbid/bid128_to_int8.c: Likewise.
9910 * config/libbid/bid128_to_uint16.c: Likewise.
9911 * config/libbid/bid128_to_uint32.c: Likewise.
9912 * config/libbid/bid128_to_uint64.c: Likewise.
9913 * config/libbid/bid128_to_uint8.c: Likewise.
9914 * config/libbid/bid32_to_bid128.c: Likewise.
9915 * config/libbid/bid32_to_bid64.c: Likewise.
9916 * config/libbid/bid64_add.c: Likewise.
9917 * config/libbid/bid64_compare.c: Likewise.
9918 * config/libbid/bid64_div.c: Likewise.
9919 * config/libbid/bid64_fma.c: Likewise.
9920 * config/libbid/bid64_logb.c: Likewise.
9921 * config/libbid/bid64_minmax.c: Likewise.
9922 * config/libbid/bid64_mul.c: Likewise.
9923 * config/libbid/bid64_next.c: Likewise.
9924 * config/libbid/bid64_noncomp.c: Likewise.
9925 * config/libbid/bid64_quantize.c: Likewise.
9926 * config/libbid/bid64_rem.c: Likewise.
9927 * config/libbid/bid64_round_integral.c: Likewise.
9928 * config/libbid/bid64_scalb.c: Likewise.
9929 * config/libbid/bid64_sqrt.c: Likewise.
9930 * config/libbid/bid64_string.c: Likewise.
9931 * config/libbid/bid64_to_bid128.c: Likewise.
9932 * config/libbid/bid64_to_int16.c: Likewise.
9933 * config/libbid/bid64_to_int32.c: Likewise.
9934 * config/libbid/bid64_to_int64.c: Likewise.
9935 * config/libbid/bid64_to_int8.c: Likewise.
9936 * config/libbid/bid64_to_uint16.c: Likewise.
9937 * config/libbid/bid64_to_uint32.c: Likewise.
9938 * config/libbid/bid64_to_uint64.c: Likewise.
9939 * config/libbid/bid64_to_uint8.c: Likewise.
9940 * config/libbid/bid_b2d.h: Likewise.
9941 * config/libbid/bid_binarydecimal.c: Likewise.
9942 * config/libbid/bid_conf.h: Likewise.
9943 * config/libbid/bid_convert_data.c: Likewise.
9944 * config/libbid/bid_decimal_data.c: Likewise.
9945 * config/libbid/bid_decimal_globals.c: Likewise.
9946 * config/libbid/bid_div_macros.h: Likewise.
9947 * config/libbid/bid_dpd.c: Likewise.
9948 * config/libbid/bid_flag_operations.c: Likewise.
9949 * config/libbid/bid_from_int.c: Likewise.
9950 * config/libbid/bid_functions.h: Likewise.
9951 * config/libbid/bid_gcc_intrinsics.h: Likewise.
9952 * config/libbid/bid_inline_add.h: Likewise.
9953 * config/libbid/bid_internal.h: Likewise.
9954 * config/libbid/bid_round.c: Likewise.
9955 * config/libbid/bid_sqrt_macros.h: Likewise.
9956
9957 2009-04-09 Jakub Jelinek <jakub@redhat.com>
9958
9959 * Makefile.in: Change copyright header to refer to version
9960 3 of the GNU General Public License and to point readers at the
9961 COPYING3 file and the FSF's license web page.
9962 * config.host: Likewise.
9963
9964 2009-04-07 Alan Modra <amodra@bigpond.net.au>
9965
9966 * config.host: Reorder and merge to match config.gcc change.
9967
9968 2009-04-03 Alan Modra <amodra@bigpond.net.au>
9969
9970 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
9971
9972 2009-03-28 Joseph Myers <joseph@codesourcery.com>
9973
9974 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
9975 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
9976 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
9977 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
9978
9979 2009-02-12 Uros Bizjak <ubizjak@gmail.com>
9980
9981 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
9982 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
9983
9984 2009-02-12 H.J. Lu <hongjiu.lu@intel.com>
9985
9986 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
9987 ia64/t-softfp-compat to tmake_file.
9988
9989 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
9990
9991 * config/ia64/__divxf3.asm: New.
9992 * config/ia64/_fixtfdi.asm: Likewise.
9993 * config/ia64/_fixunstfdi.asm: Likewise.
9994 * config/ia64/_floatditf.asm: Likewise.
9995 * config/ia64/t-fprules-softfp: Likewise.
9996 * config/ia64/t-softfp-compat: Likewise.
9997 * config/ia64/tf-signs.c: Likewise.
9998
9999 2009-01-18 Ben Elliston <bje@au.ibm.com>
10000
10001 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
10002
10003 2009-01-16 Ben Elliston <bje@au.ibm.com>
10004
10005 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
10006 to tmake_file.
10007
10008 2009-01-13 Ben Elliston <bje@au.ibm.com>
10009
10010 * config/t-softfp: New file.
10011 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
10012 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
10013
10014 2009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
10015
10016 * config.host: Add m32r*-*-rtems*.
10017
10018 2008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
10019
10020 * config.host: Add m32c*-*-rtems*.
10021
10022 2008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10023
10024 PR bootstrap/33100
10025 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
10026 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
10027 * configure: Regenerate.
10028 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
10029 tmake_file here from gcc/config.gcc.
10030 Move extra_parts here from gcc/config.gcc.
10031 * config/i386/t-sol2: Move here from gcc/config/i386.
10032 Use gcc_srcdir instead of srcdir.
10033
10034 2008-11-18 Adam Nemet <anemet@caviumnetworks.com>
10035
10036 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
10037 case.
10038
10039 2008-11-09 Thomas Schwinge <tschwinge@gnu.org>
10040
10041 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
10042
10043 2008-10-08 Thomas Schwinge <tschwinge@gnu.org>
10044
10045 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
10046
10047 2008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
10048
10049 Add picoChip port.
10050 * config.host: Add picochip-*-*.
10051
10052 2008-08-06 Bob Wilson <bob.wilson@acm.org>
10053
10054 * config.host: Match more processor names for Xtensa.
10055
10056 2008-07-08 H.J. Lu <hongjiu.lu@intel.com>
10057
10058 * config/i386/64/t-softfp-compat: Update comments.
10059
10060 2008-07-07 H.J. Lu <hongjiu.lu@intel.com>
10061
10062 * config/i386/64/_divtc3-compat.c: Moved to ...
10063 * config/i386/64/_divtc3.c: Here.
10064
10065 * config/i386/64/_multc3-compat.c: Moved to ...
10066 * config/i386/64/_multc3.c: Here.
10067
10068 * config/i386/64/_powitf2-compat.c: Moved to ...
10069 * config/i386/64/_powitf2.c: Here.
10070
10071 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
10072 .c suffix instead of -compat.c.
10073
10074 2008-07-05 Uros Bizjak <ubizjak@gmail.com>
10075
10076 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
10077 (_FP_MUL_MEAT_D): Ditto.
10078 (_FP_DIV_MEAT_S): Ditto.
10079 (_FP_DIV_MEAT_D): Ditto.
10080
10081 2008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
10082
10083 * Makefile.in: Add support for __sync_* libgcc functions.
10084
10085 2008-07-03 H.J. Lu <hongjiu.lu@intel.com>
10086
10087 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
10088
10089 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
10090
10091 PR boostrap/36702
10092 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
10093 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
10094
10095 * config/i386/64/t-fprules-softfp: Moved to ...
10096 * config/i386/64/t-softfp-compat: This. New.
10097
10098 2008-07-02 Uros Bizjak <ubizjak@gmail.com>
10099
10100 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
10101 Initialize f with 0.0.
10102
10103 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
10104
10105 PR target/36669
10106 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
10107
10108 * config/i386/64/_divtc3-compat.c: New.
10109 * config/i386/64/_multc3-compat.c: Likewise.
10110 * config/i386/64/_powitf2-compat.c: Likewise.
10111 * config/i386/64/eqtf2.c: Likewise.
10112 * config/i386/64/getf2.c: Likewise.
10113 * config/i386/64/letf2.c: Likewise.
10114 * config/i386/64/t-fprules-softfp: Likewise.
10115
10116 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
10117
10118 * config.host: Add i386/${host_address}/t-fprules-softfp to
10119 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
10120 i[34567]86-*-linux*, x86_64-*-linux*.
10121
10122 * configure.ac: Set host_address to 64 or 32 for x86.
10123 * configure: Regenerated.
10124
10125 * Makefile.in (config.status): Also depend on
10126 $(srcdir)/config.host.
10127
10128 * config/i386/32/t-fprules-softfp: New.
10129 * config/i386/32/tf-signs.c: Likewise.
10130
10131 * config/i386/64/sfp-machine.h: New. Moved from gcc.
10132
10133 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
10134 Uros Bizjak <ubizjak@gmail.com>
10135
10136 * config/i386/32/sfp-machine.h: New.
10137
10138 2008-06-26 Nathan Froyd <froydnj@codesourcery.com>
10139
10140 * config/rs6000/t-ppccomm: Remove rules that conflict with
10141 auto-generated rules.
10142
10143 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
10144
10145 * configure.ac: sinclude override.m4.
10146 * configure: Regenerate.
10147
10148 2008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
10149
10150 * configure: Regenerate.
10151
10152 2008-06-10 Joseph Myers <joseph@codesourcery.com>
10153
10154 * Makefile.in (DECNUMINC): Remove
10155 -I$(MULTIBUILDTOP)../../libdecnumber.
10156 * gstdint.h: New.
10157
10158 2008-06-07 Joseph Myers <joseph@codesourcery.com>
10159
10160 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
10161 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
10162 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
10163 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
10164 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
10165 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
10166 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
10167 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
10168 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
10169 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
10170 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
10171 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
10172 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
10173 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
10174
10175 2008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
10176
10177 * config.host (sh2[lbe]*-*-linux*): Allow target.
10178
10179 2008-04-30 Nathan Froyd <froydnj@codesourcery.com>
10180
10181 * config/rs6000/t-ppccomm: Add build rules for new files.
10182 (LIB2ADD_ST): New variable.
10183
10184 2008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
10185
10186 PR target/34210
10187 PR target/35508
10188 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
10189 * config/t-avr: New file. Build 16bit libgcc functions.
10190
10191 2008-03-02 Jakub Jelinek <jakub@redhat.com>
10192
10193 PR target/35401
10194 * config/t-slibgcc-darwin: Make install-leaf dependent on
10195 install-darwin-libgcc-stubs instead of install.
10196
10197 2008-01-25 Joseph Myers <joseph@codesourcery.com>
10198
10199 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
10200 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
10201 sh-*-rtemscoff*): Remove cases.
10202
10203 2007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
10204
10205 * Makefile.in (all): Use install-leaf rather than install.
10206 (install): Split most of the rule into...
10207 (install-leaf): ...this new one.
10208
10209 2007-12-19 Etsushi Kato <ek.kato@gmail.com>
10210 Paolo Bonzini <bonzini@gnu.org>
10211
10212 PR target/30572
10213 * Makefile.in: Use @shlib_slibdir@ substitution to get
10214 correct install name on darwin.
10215 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
10216
10217 2007-12-15 Hans-Peter Nilsson <hp@axis.com>
10218
10219 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
10220 cris-*-elf and cris-*-none.
10221 (crisv32-*-linux*): Similar, as cris-*-linux*.
10222
10223 2007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
10224
10225 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
10226
10227 2007-10-27 H.J. Lu <hongjiu.lu@intel.com>
10228
10229 PR regression/33926
10230 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
10231 * configure: Regenerated.
10232
10233 2007-09-27 H.J. Lu <hongjiu.lu@intel.com>
10234
10235 * Makefile.in (dfp-filenames): Replace decimal_globals,
10236 decimal_data, binarydecimal and convert_data with
10237 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
10238 and bid_convert_data, respectively.
10239
10240 2007-09-17 Chao-ying Fu <fu@mips.com>
10241 Nigel Stephens <nigel@mips.com>
10242
10243 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
10244 * Makefile.in (fixed_point): Define.
10245 Check if fixed_point is yes to build support functions.
10246 * configure.ac: Check for fixed_point support.
10247 * configure: Regenerated.
10248 * gen-fixed.sh: New file to generate lists of fixed-point labels,
10249 funcs, modes, from, to.
10250
10251 2007-09-11 Janis Johnson <janis187@us.ibm.com
10252
10253 * Makefile.in (dfp-filenames): Add bid128_noncomp.
10254
10255 2007-09-10 Janis Johnson <janis187@us.ibm.com>
10256
10257 * Makefile.in (dfp-filenames): Remove decUtility, add
10258 decDouble, decPacked, decQuad, decSingle.
10259
10260 2007-08-27 Hans Kester <hans.kester@ellips.nl>
10261
10262 * config.host : Add x86_64-elf target.
10263
10264 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
10265
10266 * configure.ac (set_have_cc_tls): Add a missing =.
10267 * configure: Regenerated.
10268
10269 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
10270
10271 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
10272 and x86_64-*-linux*.
10273
10274 * config/t-tls: New file.
10275
10276 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
10277
10278 * configure.ac: Include ../config/enable.m4 and
10279 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
10280 supports TLS and substitute set_have_cc_tls.
10281 * configure: Regenerated.
10282
10283 2007-07-04 H.J. Lu <hongjiu.lu@intel.com>
10284
10285 * Makefile.in: Use libbid for DFP when BID is enabled.
10286
10287 2007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
10288
10289 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
10290 extra_parts. Add config/i386/t-cygming to tmake_file.
10291 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
10292
10293 2007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
10294 Danny Smith <dannysmith@users.sourceforge.net>
10295
10296 PR target/29498
10297 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
10298 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
10299 * config/i386/t-crtfm: Compile crtfastmath.o with
10300 -minline-all-stringops.
10301
10302 2007-05-10 Richard Sandiford <richard@codesourcery.com>
10303
10304 * config.host (sparc-wrs-vxworks): New target.
10305
10306 2007-04-14 Kazu Hirata <kazu@codesourcery.com>
10307
10308 * config.host: Recognize fido.
10309
10310 2007-04-04 Janis Johnson <janis187@us.ibm.com>
10311
10312 * configure: Check host, not target, for decimal float support.
10313
10314 2007-04-03 Uros Bizjak <ubizjak@gmail.com>
10315
10316 * config/i386/t-crtpc: New file.
10317 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
10318 (x86_64-*-linux*): Ditto.
10319
10320 2007-02-30 Kai Tietz <kai.tietz@onevision.com>
10321
10322 * config.host (x86_64-*-mingw*): New target.
10323
10324 2007-03-23 Michael Meissner <michael.meissner@amd.com>
10325 H.J. Lu <hongjiu.lu@intel.com>
10326
10327 * Makefile.in (enable_decimal_float): New.
10328 (DECNUMINC): Add
10329 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
10330 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
10331 (decbits-filenames): This.
10332 (decbits-objects): New.
10333 (libgcc-objects): Add $(decbits-objects).
10334
10335 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
10336 Substitute enable_decimal_float.
10337 * configure: Regenerated.
10338
10339 2007-03-19 Hans-Peter Nilsson <hp@axis.com>
10340
10341 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
10342
10343 2007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
10344
10345 * Makefile.in (install-info): New dummy target.
10346
10347 2007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
10348
10349 * config.host (bfin*-linux-uclibc*): Set extra_parts.
10350
10351 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
10352
10353 * Makefile.in: Add install-html and install-pdf dummy
10354 targets.
10355
10356 2007-02-05 Roger Sayle <roger@eyesopen.com>
10357 Daniel Jacobowitz <dan@codesourcery.com>
10358
10359 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
10360 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
10361 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
10362
10363 2007-01-29 Janis Johnson <janis187@us.ibm.com>
10364
10365 * Makefile.in (dec-filenames): Add decExcept.
10366
10367 2007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
10368
10369 PR bootstrap/30469
10370 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
10371 -fprofile-use.
10372
10373 2007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
10374
10375 * configure.ac: Add --enable-version-specific-runtime-libs.
10376 Correct $slibdir default.
10377 * configure: Regenerated.
10378
10379 2007-01-23 Joseph Myers <joseph@codesourcery.com>
10380
10381 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
10382
10383 2007-01-21 Andrew Pinski <pinskia@gmail.com>
10384
10385 PR target/30519
10386 * config.host (alpha*-*-linux*): Set extra_parts.
10387
10388 2007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
10389
10390 * config/sh/t-linux: New.
10391 * config.host (sh*-*-linux*): Set tmake_file.
10392
10393 2007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
10394
10395 * Makefile.in (install): Handle multilibs.
10396
10397 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
10398
10399 * Makefile.in: Added .PHONY entry for documentation targets.
10400
10401 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
10402
10403 * Makefile.in: Add empty info, html, dvi, pdf targets.
10404
10405 2007-01-04 Mike Stump <mrs@apple.com>
10406
10407 * Makefile.in (MAKEINFO): Remove.
10408 (PERL): Likewise.
10409
10410 2007-01-04 Paolo Bonzini <bonzini@gnu.org>
10411
10412 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
10413 * configure: Regenerate.
10414 * Makefile.in (host_subdir): Substitute it.
10415 (gcc_objdir): Use it.
10416
10417 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
10418
10419 * config.host (ia64*-*-linux*): Set tmake_file.
10420
10421 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
10422
10423 * Makefile.in (version): Define.
10424
10425 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
10426 Paolo Bonzini <bonzini@gnu.org>
10427
10428 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
10429 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
10430 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
10431 config/sparc/t-crtfm, config/t-slibgcc-darwin,
10432 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
10433 shared-object.mk, siditi-object.mk, static-object.mk: New files.
10434 * configure: Generated.
10435 \f
10436 Copyright (C) 2007-2019 Free Software Foundation, Inc.
10437
10438 Copying and distribution of this file, with or without modification,
10439 are permitted in any medium without royalty provided the copyright
10440 notice and this notice are preserved.