aarch64: Configure for sys/auxv.h in libgcc for lse-init.c
[gcc.git] / libgcc / ChangeLog
1 2019-09-25 Richard Henderson <richard.henderson@linaro.org>
2
3 PR target/91833
4 * config/aarch64/lse-init.c: Include auto-target.h. Disable
5 initialization if !HAVE_SYS_AUXV_H.
6 * configure.ac (AC_CHECK_HEADERS): Add sys/auxv.h.
7 * config.in, configure: Rebuild.
8
9 PR target/91834
10 * config/aarch64/lse.S (LDNM): Ensure STXR output does not
11 overlap the inputs.
12
13 2019-09-25 Shaokun Zhang <zhangshaokun@hisilicon.com>
14
15 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Add support for
16 CTR_EL0.IDC and CTR_EL0.DIC.
17
18 2019-09-20 Christophe Lyon <christophe.lyon@st.com>
19
20 Revert:
21 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
22 Mickaël Guêné <mickael.guene@st.com>
23
24 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
25 architecture.
26
27 2019-09-19 Richard Henderson <richard.henderson@linaro.org>
28
29 * config/aarch64/lse-init.c: New file.
30 * config/aarch64/lse.S: New file.
31 * config/aarch64/t-lse: New file.
32 * config.host: Add t-lse to all aarch64 tuples.
33
34 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
35 Mickaël Guêné <mickael.guene@st.com>
36
37 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
38 architecture.
39
40 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
41 Mickaël Guêné <mickael.guene@st.com>
42
43 * unwind-arm-common.inc (ARM_SET_R7_RT_SIGRETURN)
44 (THUMB2_SET_R7_RT_SIGRETURN, FDPIC_LDR_R12_WITH_FUNCDESC)
45 (FDPIC_LDR_R9_WITH_GOT, FDPIC_LDR_PC_WITH_RESTORER)
46 (FDPIC_FUNCDESC_OFFSET, ARM_NEW_RT_SIGFRAME_UCONTEXT)
47 (ARM_UCONTEXT_SIGCONTEXT, ARM_SIGCONTEXT_R0, FDPIC_T2_LDR_R12_WITH_FUNCDESC)
48 (FDPIC_T2_LDR_R9_WITH_GOT, FDPIC_T2_LDR_PC_WITH_RESTORER): New.
49 (__gnu_personality_sigframe_fdpic): New.
50 (get_eit_entry): Add FDPIC signal frame support.
51
52 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
53 Mickaël Guêné <mickael.guene@st.com>
54
55 * config/arm/linux-atomic.c (__kernel_cmpxchg): Add FDPIC support.
56 (__kernel_dmb): Likewise.
57 (__fdpic_cmpxchg): New function.
58 (__fdpic_dmb): New function.
59 * config/arm/unwind-arm.h (FDPIC_REGNUM): New define.
60 (gnu_Unwind_Find_got): New function.
61 (_Unwind_decode_typeinfo_ptr): Add FDPIC support.
62 * unwind-arm-common.inc (UCB_PR_GOT): New.
63 (funcdesc_t): New struct.
64 (get_eit_entry): Add FDPIC support.
65 (unwind_phase2): Likewise.
66 (unwind_phase2_forced): Likewise.
67 (__gnu_Unwind_RaiseException): Likewise.
68 (__gnu_Unwind_Resume): Likewise.
69 (__gnu_Unwind_Backtrace): Likewise.
70 * unwind-pe.h (read_encoded_value_with_base): Likewise.
71
72 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
73 Mickaël Guêné <mickael.guene@st.com>
74
75 * libgcc/crtstuff.c: Add support for FDPIC.
76
77 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
78
79 * config.host: Handle *-*-uclinuxfdpiceabi.
80
81 2019-09-09 Jose E. Marchesi <jose.marchesi@oracle.com>
82
83 * config.host: Set cpu_type for bpf-*-* targets.
84 * config/bpf/t-bpf: Likewise.
85 * config/bpf/crtn.S: Likewise.
86 * config/bpf/crti.S: New file.
87
88 2019-09-06 Jim Wilson <jimw@sifive.com>
89
90 * config.host (riscv*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
91 (riscv*-*-freebsd*): Likewise.
92
93 2019-09-03 Ulrich Weigand <uweigand@de.ibm.com>
94
95 * config.host: Remove references to spu.
96 * config/spu/: Remove directory.
97
98 2019-08-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
99
100 PR target/91306
101 * crtstuff.c (__CTOR_LIST__): Align to the "__alignof__" the array
102 element type, instead of "sizeof" the element type.
103 (__DTOR_LIST__): Likewise.
104 (__TMC_LIST__): Likewise.
105 (__do_global_dtors_aux_fini_array_entry): Likewise.
106 (__frame_dummy_init_array_entry): Likewise.
107 (__CTOR_END__): Likewise.
108 (__DTOR_END__): Likweise.
109 (__FRAME_END__): Likewise.
110 (__TMC_END__): Likewise.
111
112 2019-08-20 Lili Cui <lilicui@intel.com>
113
114 * config/i386/cpuinfo.h: Add INTEL_COREI7_TIGERLAKE and
115 INTEL_COREI7_COOPERLAKE.
116
117 2019-07-31 Matt Thomas <matt@3am-software.com>
118 Nick Hudson <nick@nthcliff.demon.co.uk>
119 Matthew Green <mrg@eterna.com.au>
120 Maya Rashish <coypu@sdf.org>
121
122 * config.host (hppa*-*-netbsd*): New case.
123 * config/pa/t-netbsd: New file.
124
125 2019-07-31 Joel Hutton <Joel.Hutton@arm.com>
126
127 * config/arm/cmse.c (cmse_check_address_range): Add
128 warn_unused_result attribute.
129
130 2019-07-22 Martin Liska <mliska@suse.cz>
131
132 * config/pa/stublib.c: Remove stub symbol __gnu_lto_v1.
133 * config/pa/t-stublib: Likewise.
134
135 2019-07-22 Stafford Horne <shorne@gmail.com>
136
137 PR target/90362
138 * config/or1k/lib1funcs.S (__udivsi3): Change l.sfeqi
139 to l.sfeq and l.sfltsi to l.sflts equivalents as the immediate
140 instructions are not available on every processor. Change a
141 l.bnf to l.bf to fix logic issue.
142
143 2019-07-04 Iain Sandoe <iain@sandoe.co.uk>
144
145 * config.host: Remove reference to t-darwin8.
146
147 2019-07-03 Iain Sandoe <iain@sandoe.co.uk>
148
149 * config.host (powerpc-*-darwin*,powerpc64-*-darwin*): Revise crt
150 list.
151 * config/rs6000/t-darwin: Build crt3_2 for older systems. Revise
152 mmacosx-version-min for crts to run across all system versions.
153 * config/rs6000/t-darwin64 (LIB2ADD): Remove.
154 * config/t-darwin: Revise mmacosx-version-min for crts to run across
155 system versions >= 10.4.
156
157 2019-07-03 Martin Liska <mliska@suse.cz>
158
159 * Makefile.in: Use topn_values instead of one_value names.
160 * libgcov-merge.c (__gcov_merge_single): Move to ...
161 (__gcov_merge_topn): ... this.
162 (merge_single_value_set): Move to ...
163 (merge_topn_values_set): ... this.
164 * libgcov-profiler.c (__gcov_one_value_profiler_body): Move to
165 ...
166 (__gcov_topn_values_profiler_body): ... this.
167 (__gcov_one_value_profiler_v2): Move to ...
168 (__gcov_topn_values_profiler): ... this.
169 (__gcov_one_value_profiler_v2_atomic): Move to ...
170 (__gcov_topn_values_profiler_atomic): ... this.
171 (__gcov_indirect_call_profiler_v4): Remove.
172 * libgcov-util.c (__gcov_single_counter_op): Move to ...
173 (__gcov_topn_counter_op): ... this.
174 * libgcov.h (L_gcov_merge_single): Remove.
175 (L_gcov_merge_topn): New.
176 (__gcov_merge_single): Remove.
177 (__gcov_merge_topn): New.
178 (__gcov_one_value_profiler_v2): Move to ..
179 (__gcov_topn_values_profiler): ... this.
180 (__gcov_one_value_profiler_v2_atomic): Move to ...
181 (__gcov_topn_values_profiler_atomic): ... this.
182
183 2019-07-03 Martin Liska <mliska@suse.cz>
184
185 * libgcov-merge.c (merge_single_value_set): Support N values.
186 * libgcov-profiler.c (__gcov_one_value_profiler_body): Likewise.
187
188 2019-06-27 Ilia Diachkov <ilia.diachkov@optimitech.com>
189
190 * Makefile.in (USE_TM_CLONE_REGISTRY): New.
191 (CRTSTUFF_CFLAGS): Use USE_TM_CLONE_REGISTRY.
192 * configure.ac: Add --disable-tm-clone-registry option.
193 * configure: Regenerate.
194
195 2019-06-27 Martin Liska <mliska@suse.cz>
196
197 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Remove obviously
198 dead assignments.
199 * libgcov-util.c: Likewise.
200
201 2019-06-27 Martin Liska <mliska@suse.cz>
202
203 * libgcov-util.c (gcov_profile_merge): Release allocated
204 memory.
205 (calculate_overlap): Likewise.
206
207 2019-06-25 Iain Sandoe <iain@sandoe.co.uk>
208
209 * config.host: Add libef_ppc.a to the extra files for powerpc-darwin.
210 * config/rs6000/t-darwin: (PPC_ENDFILE_SRC, PPC_ENDFILE_OBJS): New.
211 Build objects for the out of line save/restore register functions
212 so that they can be used for any supported Darwin version.
213 * config/t-darwin: Default the build Darwin version to Darwin8
214 (MacOS 10.4).
215
216 2019-06-25 Martin Liska <mliska@suse.cz>
217
218 * libgcov-driver-system.c (replace_filename_variables): Do not
219 call strlen with NULL argument.
220
221 2019-06-25 Andrew Stubbs <ams@codesourcery.com>
222
223 * config/gcn/t-amdgcn (LIB2ADD): Add unwind-gcn.c.
224 * config/gcn/unwind-gcn.c: New file.
225
226 2019-06-25 Kwok Cheung Yeung <kcy@codesourcery.com>
227 Andrew Stubbs <ams@codesourcery.com>
228
229 * configure: Regenerate.
230 * config/gcn/gthr-gcn.h: New.
231
232 2019-06-18 Tom de Vries <tdevries@suse.de>
233
234 * config/nvptx/crt0.c (__main): Declare.
235
236 2019-06-17 Matthew Green <mrg@eterna.com.au>
237 Maya Rashish <coypu@sdf.org>
238
239 * config.host (aarch64*-*-netbsd*): New case.
240
241 2019-06-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
242
243 * config/msp430/slli.S (__mspabi_sllll): New library function for
244 performing a logical left shift of a 64-bit value.
245 * config/msp430/srai.S (__mspabi_srall): New library function for
246 performing a arithmetic right shift of a 64-bit value.
247 * config/msp430/srll.S (__mspabi_srlll): New library function for
248 performing a logical right shift of a 64-bit value.
249
250 2019-06-14 Matt Thomas <matt@3am-software.com>
251 Matthew Green <mrg@eterna.com.au>
252 Nick Hudson <skrll@netbsd.org>
253 Maya Rashish <coypu@sdf.org>
254
255 * config.host (arm*-*-netbsdelf*): Add support for EABI configurations.
256 * config/arm/t-netbsd (LIB1ASMFUNCS): Add some additional assembler
257 functions to build.
258 * config/arm/t-netbsd-eabi: New file.
259
260 2019-06-12 Dimitar Dimitrov <dimitar@dinux.eu>
261
262 * config.host: Add PRU target.
263 * config/pru/asri.c: New file.
264 * config/pru/eqd.c: New file.
265 * config/pru/eqf.c: New file.
266 * config/pru/ged.c: New file.
267 * config/pru/gef.c: New file.
268 * config/pru/gtd.c: New file.
269 * config/pru/gtf.c: New file.
270 * config/pru/led.c: New file.
271 * config/pru/lef.c: New file.
272 * config/pru/lib2bitcountHI.c: New file.
273 * config/pru/lib2divHI.c: New file.
274 * config/pru/lib2divQI.c: New file.
275 * config/pru/lib2divSI.c: New file.
276 * config/pru/libgcc-eabi.ver: New file.
277 * config/pru/ltd.c: New file.
278 * config/pru/ltf.c: New file.
279 * config/pru/mpyll.S: New file.
280 * config/pru/pru-abi.h: New file.
281 * config/pru/pru-asm.h: New file.
282 * config/pru/pru-divmod.h: New file.
283 * config/pru/sfp-machine.h: New file.
284 * config/pru/t-pru: New file.
285
286 2019-06-11 Jakub Jelinek <jakub@redhat.com>
287
288 * libgcov-merge.c (__gcov_merge_single): Revert previous change.
289
290 2019-06-10 Martin Liska <mliska@suse.cz>
291
292 PR bootstrap/90808
293 * libgcov.h: Add ATTRIBUTE_UNUSED.
294
295 2019-06-10 Martin Liska <mliska@suse.cz>
296
297 * Makefile.in: Add __gcov_one_value_profiler_v2,
298 __gcov_one_value_profiler_v2_atomic and
299 __gcov_indirect_call_profiler_v4.
300 * libgcov-merge.c (__gcov_merge_single): Change
301 function signature.
302 (merge_single_value_set): New.
303 * libgcov-profiler.c (__gcov_one_value_profiler_body):
304 Update functionality.
305 (__gcov_one_value_profiler): Remove.
306 (__gcov_one_value_profiler_v2): ... this.
307 (__gcov_one_value_profiler_atomic): Rename to ...
308 (__gcov_one_value_profiler_v2_atomic): this.
309 (__gcov_indirect_call_profiler_v3): Rename to ...
310 (__gcov_indirect_call_profiler_v4): ... this.
311 * libgcov.h (__gcov_one_value_profiler): Remove.
312 (__gcov_one_value_profiler_atomic): Remove.
313 (__gcov_one_value_profiler_v2_atomic): New.
314 (__gcov_indirect_call_profiler_v3): Remove.
315 (__gcov_one_value_profiler_v2): New.
316 (__gcov_indirect_call_profiler_v4): New.
317 (gcov_get_counter_ignore_scaling): New function.
318
319 2019-06-07 Martin Liska <mliska@suse.cz>
320
321 * Makefile.in: Remove usage of
322 _gcov_merge_icall_topn.
323 * libgcov-driver.c (gcov_sort_n_vals): Remove.
324 (gcov_sort_icall_topn_counter): Likewise.
325 (gcov_sort_topn_counter_arrays): Likewise.
326 (dump_one_gcov): Remove call to gcov_sort_topn_counter_arrays.
327 * libgcov-merge.c (__gcov_merge_icall_topn): Remove.
328 * libgcov-profiler.c (__gcov_topn_value_profiler_body):
329 Likewise.
330 (GCOV_ICALL_COUNTER_CLEAR_THRESHOLD): Remove.
331 (struct indirect_call_tuple): Remove.
332 (__gcov_indirect_call_topn_profiler): Remove.
333 * libgcov-util.c (__gcov_icall_topn_counter_op): Remove.
334 * libgcov.h (gcov_sort_n_vals): Remove.
335 (L_gcov_merge_icall_topn): Likewise.
336 (__gcov_merge_icall_topn): Likewise.
337 (__gcov_indirect_call_topn_profiler): Likewise.
338
339 2019-06-06 Iain Sandoe <iain@sandoe.co.uk>
340
341 * config/rs6000/t-darwin: Ensure that the unwinder is built with
342 altivec enabled.
343
344 2019-06-06 Jozef Lawrynowicz <jozef.l@mittosystems.com>
345
346 * config/msp430/slli.S (__mspabi_slli_n): Put function in its own
347 section.
348 (__mspabi_slli): Likewise.
349 (__mspabi_slll_n): Likewise.
350 (__mspabi_slll): Likewise.
351 * config/msp430/srai.S (__mspabi_srai_n): Likewise.
352 (__mspabi_srai): Likewise.
353 (__mspabi_sral_n): Likewise.
354 (__mspabi_sral): Likewise.
355 * config/msp430/srli.S (__mspabi_srli_n): Likewise.
356 (__mspabi_srli): Likewise.
357 (__mspabi_srll_n): Likewise.
358 (__mspabi_srll): Likewise.
359
360 2019-06-05 Yoshinori Sato <ysato@users.sourceforge.jp>
361
362 * config.host (rx-*-linux*): Add t-fdpbit to tmake_file
363 Add appropriate tm_file clause as well.
364 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Remove.
365
366 2019-06-05 James Clarke <jrtc27@jrtc27.com>
367
368 * config/ia64/crtbegin.S (__dso_handle): Put in .sdata/.sbss
369 rather than .data/.bss so it can be accessed via gp-relative
370 addressing.
371
372 2019-06-05 David Edelsohn <dje.gcc@gmail.com>
373
374 * config/rs6000/aix-unwind.h (LR_REGNO): Rename to R_LR.
375 (CR2_REGNO): Rename to R_CR2.
376 (XER_REGNO): Rename to R_XER.
377 (FIRST_ALTIVEC_REGNO): Rename to R_FIRST_ALTIVEC.
378 (VRSAVE_REGNO): Rename to R_VRSAVE.
379 (VSCR_REGNO): R_VSCR.
380
381 2019-05-29 Yoshinori Sato <ysato@users.sourceforge.jp>
382
383 * config.host (rx-*-linux*): Add new case.
384 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Force DFmode to SFmode.
385
386 2019-05-29 Sam Tebbs <sam.tebbs@arm.com>
387
388 * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key): New
389 function.
390 * config/aarch64/aarch64-unwind.h (aarch64_post_extract_frame_addr,
391 aarch64_post_frob_eh_handler_addr): Add check for b-key.
392 * config/aarch64/aarch64-unwind-h (aarch64_post_extract_frame_addr,
393 aarch64_post_frob_eh_handler_addr, aarch64_post_frob_update_context):
394 Rename RA_A_SIGNED_BIT to RA_SIGNED_BIT.
395 * unwind-dw2-fde.c (get_cie_encoding): Add check for 'B' in augmentation
396 string.
397 * unwind-dw2.c (extract_cie_info): Add check for 'B' in augmentation
398 string.
399 (RA_A_SIGNED_BIT): Rename to RA_SIGNED_BIT.
400
401 2019-05-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
402
403 * config/sparc/sol2-unwind.h [__arch64__] (sparc64_is_sighandler):
404 Remove Solaris 9 and 10 support.
405 (sparc_is_sighandler): Likewise.
406
407 2019-05-26 John David Anglin <danglin@gcc.gnu.org>
408
409 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Add cast.
410
411 2019-05-17 H.J. Lu <hongjiu.lu@intel.com>
412
413 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
414 4_FP_W_TYPEs are used for IEEE quad precision.
415 * soft-fp/extendhftf2.c: Likewise.
416 * soft-fp/extendsftf2.c: Likewise.
417 * soft-fp/extendxftf2.c: Likewise.
418 * soft-fp/trunctfdf2.c: Likewise.
419 * soft-fp/trunctfhf2.c: Likewise.
420 * soft-fp/trunctfsf2.c: Likewise.
421 * soft-fp/trunctfxf2.c: Likewise.
422 * config/rs6000/ibm-ldouble.c: Likewise.
423
424 2019-05-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
425
426 * config.host: Simplify various *-*-solaris2.1[0-9]* to
427 *-*-solaris2*.
428 * configure.ac: Likewise.
429 * configure: Regenerate.
430
431 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
432 Solaris 10 and Solaris 11 < snv_125 handling.
433
434 2019-05-12 Iain Sandoe <iain@sandoe.co.uk>
435
436 * config/rs6000/darwin-vecsave.S: Set .machine appropriately.
437
438 2019-05-07 Hongtao Liu <hongtao.liu@intel.com>
439
440 * config/i386/cpuinfo.c (get_available_features): Detect BF16.
441 * config/i386/cpuinfo.h (enum processor_features): Add
442 FEATURE_AVX512BF16.
443
444 2019-04-23 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
445 Bernd Edlinger <bernd.edlinger@hotmail.de>
446 Jakub Jelinek <jakub@redhat.com>
447
448 PR target/89093
449 * config/arm/pr-support.c: Add #pragma GCC target("general-regs-only").
450 * config/arm/unwind-arm.c: Likewise.
451 * unwind-c.c (PERSONALITY_FUNCTION): Add general-regs-only target
452 attribute for ARM.
453
454 2019-04-15 Monk Chiang <sh.chiang04@gmail.com>
455
456 * config/nds32/linux-unwind.h (SIGRETURN): Remove.
457 (RT_SIGRETURN): Update.
458 (nds32_fallback_frame_state): Update.
459
460 2019-02-21 Martin Sebor <msebor@redhat.com>
461
462 * libgcc2.h (__clear_cache): Correct signature.
463 * libgcc2.c (__clear_cache): Same.
464
465 2019-02-20 Uroš Bizjak <ubizjak@gmail.com>
466
467 * config/alpha/linux-unwind.h (alpha_fallback_frame_state):
468 Cast 'mcontext_t *' &rt_->uc.uc_mcontext to 'struct sigcontext *'.
469
470 2019-02-19 Uroš Bizjak <ubizjak@gmail.com>
471
472 * unwind-dw2.c (_Unwind_GetGR) [DWARF_ZERO_REG]: Compare
473 regno instead of index to DWARF_ZERO_REG.
474
475 2019-02-15 Eric Botcazou <ebotcazou@adacore.com>
476
477 * config/visium/lib2funcs.c (__set_trampoline_parity): Replace
478 TRAMPOLINE_SIZE with __LIBGCC_TRAMPOLINE_SIZE__.
479
480 2019-01-31 Uroš Bizjak <ubizjak@gmail.com>
481
482 * config/alpha/t-linux: Add -mfp-rounding-mode=d
483 to HOST_LIBGCC2_CFLAGS.
484
485 2019-01-23 Joseph Myers <joseph@codesourcery.com>
486
487 PR libgcc/88931
488 * libgcc2.c (FSTYPE FUNC (DWtype u)): Correct no leading bits case.
489
490 2019-01-18 Martin Liska <mliska@suse.cz>
491
492 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Rename
493 to ...
494 (__gcov_indirect_call_profiler_v3): ... this.
495 * libgcov.h (__gcov_indirect_call_profiler_v2): Likewise.
496 (__gcov_indirect_call_profiler_v3): Likewise.
497 * Makefile.in: Bump function name.
498
499 2019-01-18 Martin Liska <mliska@suse.cz>
500
501 * libgcov-driver.c (GCOV_PROF_PREFIX): Define.
502 (gcov_version): Use in gcov_error.
503 (merge_one_data): Likewise.
504 (dump_one_gcov): Likewise.
505
506 2019-01-18 Martin Liska <mliska@suse.cz>
507
508 * libgcov-driver.c (gcov_version_string): New function.
509 (gcov_version): Convert version integer into string.
510
511 2019-01-17 Andrew Stubbs <ams@codesourcery.com>
512 Kwok Cheung Yeung <kcy@codesourcery.com>
513 Julian Brown <julian@codesourcery.com>
514 Tom de Vries <tom@codesourcery.com>
515
516 * config.host: Recognize amdgcn*-*-amdhsa.
517 * config/gcn/crt0.c: New file.
518 * config/gcn/lib2-divmod-hi.c: New file.
519 * config/gcn/lib2-divmod.c: New file.
520 * config/gcn/lib2-gcn.h: New file.
521 * config/gcn/sfp-machine.h: New file.
522 * config/gcn/t-amdgcn: New file.
523
524 2019-01-09 Sandra Loosemore <sandra@codesourcery.com>
525
526 PR other/16615
527
528 * config/c6x/libunwind.S: Mechanically replace "can not" with
529 "cannot".
530 * config/tilepro/atomic.h: Likewise.
531 * config/vxlib-tls.c: Likewise.
532 * generic-morestack-thread.c: Likewise.
533 * generic-morestack.c: Likewise.
534 * mkmap-symver.awk: Likewise.
535
536 2019-01-01 Jakub Jelinek <jakub@redhat.com>
537
538 Update copyright years.
539
540 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
541
542 * unwind-pe.h (read_encoded_value_with_base): Add GCC pragma
543 to ignore -Waddress-of-packed-member.
544
545 2018-12-19 Thomas Preud'homme <thomas.preudhomme@linaro.org>
546
547 * /config/arm/lib1funcs.S (FUNC_START): Remove unused sp_section
548 parameter and corresponding code.
549 (ARM_FUNC_START): Likewise in both definitions.
550 Also update footer comment about condition that need to match with
551 gcc/config/arm/elf.h to also include libgcc/config/arm/t-arm.
552 * config/arm/ieee754-df.S (muldf3): Also build it if L_arm_muldf3 is
553 defined. Weakly define it in this case.
554 * config/arm/ieee754-sf.S (mulsf3): Likewise with L_arm_mulsf3.
555 * config/arm/t-elf (LIB1ASMFUNCS): Build _arm_muldf3.o and
556 _arm_mulsf3.o before muldiv versions if targeting Thumb-1 only. Add
557 comment to keep condition in sync with the one in
558 libgcc/config/arm/lib1funcs.S and gcc/config/arm/elf.h.
559
560 2018-12-18 Wei Xiao <wei3.xiao@intel.com>
561
562 * config/i386/cpuinfo.c (get_intel_cpu): Handle cascadelake.
563 * config/i386/cpuinfo.h: Add INTEL_COREI7_CASCADELAKE.
564
565 2018-12-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
566
567 * config/rs6000/tramp.S (__trampoline_setup): Also emit .size
568 and .cfi_endproc directives for VxWorks targets.
569
570 2018-12-05 Paul Koning <ni1d@arrl.net>
571
572 * udivmodhi4.c (__udivmodhi4): Fix loop end check.
573
574 2018-11-27 Alan Modra <amodra@gmail.com>
575
576 * config/rs6000/morestack.S (__stack_split_initialize),
577 (__morestack_get_guard, __morestack_set_guard),
578 (__morestack_make_guard): Provide CFI covering these functions.
579 * config/rs6000/tramp.S (__trampoline_setup): Likewise.
580
581 2018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
582
583 * config/csky/linux-unwind.h (sc_pt_regs): Update for kernel.
584 (sc_pt_regs_lr): Update for kernel.
585 (sc_pt_regs_tls): Update for kernel.
586
587 2018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
588
589 * config/csky/linux-unwind.h: Fix coding style.
590
591 2018-11-13 Xianmiao Qu <xianmiao_qu@c-sky.com>
592
593 * config/csky/linux-unwind.h (_sig_ucontext_t): Remove.
594 (csky_fallback_frame_state): Modify the check of the
595 instructions to adapt to changes in the kernel
596
597 2018-11-09 Stafford Horne <shorne@gmail.com>
598 Richard Henderson <rth@twiddle.net>
599
600 * config.host: Add OpenRISC support.
601 * config/or1k/*: New.
602
603 2018-11-08 Kito Cheng <kito@andestech.com>
604
605 * soft-fp/adddf3.c: Update from glibc.
606 * soft-fp/addsf3.c: Likewise.
607 * soft-fp/addtf3.c: Likewise.
608 * soft-fp/divdf3.c: Likewise.
609 * soft-fp/divsf3.c: Likewise.
610 * soft-fp/divtf3.c: Likewise.
611 * soft-fp/double.h: Likewise.
612 * soft-fp/eqdf2.c: Likewise.
613 * soft-fp/eqsf2.c: Likewise.
614 * soft-fp/eqtf2.c: Likewise.
615 * soft-fp/extenddftf2.c: Likewise.
616 * soft-fp/extended.h: Likewise.
617 * soft-fp/extendhftf2.c: Likewise.
618 * soft-fp/extendsfdf2.c: Likewise.
619 * soft-fp/extendsftf2.c: Likewise.
620 * soft-fp/extendxftf2.c: Likewise.
621 * soft-fp/fixdfdi.c: Likewise.
622 * soft-fp/fixdfsi.c: Likewise.
623 * soft-fp/fixdfti.c: Likewise.
624 * soft-fp/fixhfti.c: Likewise.
625 * soft-fp/fixsfdi.c: Likewise.
626 * soft-fp/fixsfsi.c: Likewise.
627 * soft-fp/fixsfti.c: Likewise.
628 * soft-fp/fixtfdi.c: Likewise.
629 * soft-fp/fixtfsi.c: Likewise.
630 * soft-fp/fixtfti.c: Likewise.
631 * soft-fp/fixunsdfdi.c: Likewise.
632 * soft-fp/fixunsdfsi.c: Likewise.
633 * soft-fp/fixunsdfti.c: Likewise.
634 * soft-fp/fixunshfti.c: Likewise.
635 * soft-fp/fixunssfdi.c: Likewise.
636 * soft-fp/fixunssfsi.c: Likewise.
637 * soft-fp/fixunssfti.c: Likewise.
638 * soft-fp/fixunstfdi.c: Likewise.
639 * soft-fp/fixunstfsi.c: Likewise.
640 * soft-fp/fixunstfti.c: Likewise.
641 * soft-fp/floatdidf.c: Likewise.
642 * soft-fp/floatdisf.c: Likewise.
643 * soft-fp/floatditf.c: Likewise.
644 * soft-fp/floatsidf.c: Likewise.
645 * soft-fp/floatsisf.c: Likewise.
646 * soft-fp/floatsitf.c: Likewise.
647 * soft-fp/floattidf.c: Likewise.
648 * soft-fp/floattihf.c: Likewise.
649 * soft-fp/floattisf.c: Likewise.
650 * soft-fp/floattitf.c: Likewise.
651 * soft-fp/floatundidf.c: Likewise.
652 * soft-fp/floatundisf.c: Likewise.
653 * soft-fp/floatunditf.c: Likewise.
654 * soft-fp/floatunsidf.c: Likewise.
655 * soft-fp/floatunsisf.c: Likewise.
656 * soft-fp/floatunsitf.c: Likewise.
657 * soft-fp/floatuntidf.c: Likewise.
658 * soft-fp/floatuntihf.c: Likewise.
659 * soft-fp/floatuntisf.c: Likewise.
660 * soft-fp/floatuntitf.c: Likewise.
661 * soft-fp/gedf2.c: Likewise.
662 * soft-fp/gesf2.c: Likewise.
663 * soft-fp/getf2.c: Likewise.
664 * soft-fp/half.h: Likewise.
665 * soft-fp/ledf2.c: Likewise.
666 * soft-fp/lesf2.c: Likewise.
667 * soft-fp/letf2.c: Likewise.
668 * soft-fp/muldf3.c: Likewise.
669 * soft-fp/mulsf3.c: Likewise.
670 * soft-fp/multf3.c: Likewise.
671 * soft-fp/negdf2.c: Likewise.
672 * soft-fp/negsf2.c: Likewise.
673 * soft-fp/negtf2.c: Likewise.
674 * soft-fp/op-1.h: Likewise.
675 * soft-fp/op-2.h: Likewise.
676 * soft-fp/op-4.h: Likewise.
677 * soft-fp/op-8.h: Likewise.
678 * soft-fp/op-common.h: Likewise.
679 * soft-fp/quad.h: Likewise.
680 * soft-fp/single.h: Likewise.
681 * soft-fp/soft-fp.h: Likewise.
682 * soft-fp/subdf3.c: Likewise.
683 * soft-fp/subsf3.c: Likewise.
684 * soft-fp/subtf3.c: Likewise.
685 * soft-fp/truncdfsf2.c: Likewise.
686 * soft-fp/trunctfdf2.c: Likewise.
687 * soft-fp/trunctfhf2.c: Likewise.
688 * soft-fp/trunctfsf2.c: Likewise.
689 * soft-fp/trunctfxf2.c: Likewise.
690 * soft-fp/unorddf2.c: Likewise.
691 * soft-fp/unordsf2.c: Likewise.
692 * soft-fp/unordtf2.c: Likewise.
693
694 2018-11-04 Venkataramanan Kumar <Venkataramanan.kumar@amd.com>
695
696 * config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
697 * config/i386/cpuinfo.h (processor_types): Add znver2.
698
699 2018-11-01 Paul Koning <ni1d@arrl.net>
700
701 * config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c.
702 (HOST_LIBGCC2_CFLAGS): Change to optimize for size.
703
704 2018-10-31 Joseph Myers <joseph@codesourcery.com>
705
706 PR bootstrap/82856
707 * configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
708 * configure: Regenerate.
709
710 2018-10-31 Claudiu Zissulescu <claziss@synopsys.com>
711
712 * config/arc/lib1funcs.S (_muldi3): New function.
713 * config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
714
715 2018-10-30 Rasmus Villemoes <rv@rasmusvillemoes.dk>
716
717 * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
718
719 2018-10-25 Martin Liska <mliska@suse.cz>
720
721 PR other/87735
722 * libgcov-profiler.c: Revert.
723
724 2018-10-24 Martin Liska <mliska@suse.cz>
725
726 * libgcov-profiler.c: Start from 1 in order to distinguish
727 functions which were seen and these that were not.
728
729 2018-10-18 Paul Koning <ni1d@arrl.net>
730
731 * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
732 standard.
733 * divmod.c: Update references to __udivmodsi4.
734 * udivmod.c: Ditto.
735 * udivhi3.c: New file.
736 * udivmodhi4.c: New file.
737 * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
738
739 2018-10-17 Rasmus Villemoes <rv@rasmusvillemoes.dk>
740
741 * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
742
743 2018-10-12 Olivier Hainque <hainque@adacore.com>
744
745 * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
746 defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
747
748 2018-10-08 Paul Koning <ni1d@arrl.net>
749
750 * config/pdp11/t-pdp11: Remove -mfloat32 switch.
751
752 2018-10-04 Martin Liska <mliska@suse.cz>
753
754 PR gcov-profile/84107
755 * libgcov-profiler.c (__gcov_indirect_call):
756 Change type to indirect_call_tuple.
757 (struct indirect_call_tuple): New struct.
758 (__gcov_indirect_call_topn_profiler): Change type.
759 (__gcov_indirect_call_profiler_v2): Use the new
760 variables.
761 * libgcov.h (struct indirect_call_tuple): New struct
762 definition.
763
764 2018-10-03 Uros Bizjak <ubizjak@gmail.com>
765
766 * libgcc2.c (isnan): Use __builtin_isnan.
767 (isfinite): Use __builtin_isfinite.
768 (isinf): Use __builtin_isinf.
769
770 2018-09-26 Uros Bizjak <ubizjak@gmail.com>
771
772 * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
773
774 2018-09-21 Alexandre Oliva <oliva@adacore.com>
775
776 * config/vxcache.c: New file. Provide __clear_cache, based on
777 the cacheTextUpdate VxWorks service.
778 * config/t-vxworks (LIB2ADD): Add vxcache.c.
779 (LIB2FUNCS_EXCLUDE): Add _clear_cache.
780 * config/t-vxwoks7: Likewise.
781
782 2018-09-21 Martin Liska <mliska@suse.cz>
783
784 * libgcov-driver.c (crc32_unsigned): Remove.
785 (gcov_histogram_insert): Likewise.
786 (gcov_compute_histogram): Likewise.
787 (compute_summary): Simplify rapidly.
788 (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
789 (merge_summary): Rapidly simplify.
790 (dump_one_gcov): Ignore gcov_summary.
791 (gcov_do_dump): Do not handle program summary, it's not
792 used.
793 * libgcov-util.c (tag_summary): Remove.
794 (read_gcda_finalize): Fix coding style.
795 (read_gcda_file): Initialize curr_object_summary.
796 (compute_summary): Remove.
797 (calculate_overlap): Remove settings of run_max.
798
799 2018-09-21 Monk Chiang <sh.chiang04@gmail.com>
800
801 * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
802 ucontext_t type instead.
803 (nds32_fallback_frame_state): Remove struct _sigframe statement.
804
805 2018-09-21 Kito Cheng <kito.cheng@gmail.com>
806
807 * config/nds32/t-nds32-glibc: New file.
808
809 2018-09-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
810
811 * configure.ac (solaris_ld_v2_maps): New test.
812 * configure: Regenerate.
813 * Makefile.in (solaris_ld_v2_maps): New variable.
814 * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
815 if supported.
816
817 2018-08-23 Richard Earnshaw <rearnsha@arm.com>
818
819 PR target/86951
820 * config/arm/lib1funcs.asm (speculation_barrier): New function.
821 * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
822 to build.
823
824 2018-08-22 Iain Sandoe <iain@sandoe.co.uk>
825
826 * config/unwind-dw2-fde-darwin.c
827 (_darwin10_Unwind_FindEnclosingFunction): move from here ...
828 * config/darwin10-unwind-find-enc-func.c: … to here.
829 * config/t-darwin: Build Darwin10 unwinder shim crt.
830 * libgcc/config.host: Add the Darwin10 unwinder shim.
831
832 2018-08-21 Rasmus Villemoes <rv@rasmusvillemoes.dk>
833
834 * config.host: Add crtbegin.o and crtend.o for
835 powerpc-wrs-vxworks target.
836
837 2018-08-17 Jojo <jijie_rong@c-sky.com>
838 Huibin Wang <huibin_wang@c-sky.com>
839 Sandra Loosemore <sandra@codesourcery.com>
840 Chung-Lin Tang <cltang@codesourcery.com>
841
842 C-SKY port: libgcc
843
844 * config.host: Add C-SKY support.
845 * config/csky/*: New.
846
847 2018-08-12 Chung-Ju Wu <jasonwucj@gmail.com>
848
849 * config/nds32/t-nds32-isr: Rearrange object dependency.
850 * config/nds32/initfini.c: Add dwarf2 unwinding support.
851 * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
852 and registers usage.
853 * config/nds32/isr-library/excp_isr.S: Ditto.
854 * config/nds32/isr-library/intr_isr.S: Ditto.
855 * config/nds32/isr-library/reset.S: Ditto.
856 * config/nds32/isr-library/restore_all.inc: Ditto.
857 * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
858 * config/nds32/isr-library/restore_partial.inc: Ditto.
859 * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
860 * config/nds32/isr-library/save_all.inc: Ditto.
861 * config/nds32/isr-library/save_mac_regs.inc: Ditto.
862 * config/nds32/isr-library/save_partial.inc: Ditto.
863 * config/nds32/isr-library/save_usr_regs.inc: Ditto.
864 * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
865
866 2018-08-11 John David Anglin <danglin@gcc.gnu.org>
867
868 * config/pa/linux-atomic.c: Update comment.
869 (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
870 COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
871 SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
872 __ATOMIC_RELAXED for atomic loads.
873 (SYNC_LOCK_RELEASE_1): New define. Use __sync_synchronize() and
874 unordered store to release lock.
875 (__sync_lock_release_8): Likewise.
876 (SYNC_LOCK_RELEASE_2): Remove define.
877
878 2018-08-02 Nicolas Pitre <nico@fluxnic.net>
879
880 PR libgcc/86512
881 * config/arm/ieee754-df.S: Don't shortcut denormal handling when
882 exponent goes negative. Update my email address.
883 * config/arm/ieee754-sf.S: Likewise.
884
885 2018-08-01 Martin Liska <mliska@suse.cz>
886
887 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
888 check that __gcov_indirect_call_callee is non-null.
889
890 2018-07-30 Christophe Lyon <christophe.lyon@linaro.org>
891
892 * config/arm/ieee754-df.S: Fix comment for code working on
893 architectures >= 4.
894 * config/arm/ieee754-sf.S: Likewise.
895
896 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
897
898 PR libgcc/85334
899 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
900 Removed.
901
902 2018-07-05 James Clarke <jrtc27@jrtc27.com>
903
904 * configure: Regenerated.
905
906 2018-06-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
907
908 * Makefile.in (install_leaf): Use enable_gcov instead of
909 enable_libgcov.
910
911 2018-06-27 Rasmus Villemoes <rv@rasmusvillemoes.dk>
912
913 * configure.ac: Add --disable-gcov option.
914 * configure: Regenerate.
915 * Makefile.in: Honour @enable_gcov@.
916
917 2018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
918
919 * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
920 __ARM_ARCH and __ARM_FEATURE_CLZ instead.
921 (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
922 * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
923 __ARM_ARCH__.
924 * config/arm/ieee754-sf.S: Likewise.
925 * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
926
927 2018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
928
929 * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
930 longer supported.
931 * config/arm/ieee754-sf.S: Likewise.
932
933 2018-06-20 Than McIntosh <thanm@google.com>
934
935 PR libgcc/86213
936 * generic-morestack.c (allocate_segment): Move calls to getenv and
937 getpagesize to __morestack_load_mmap.
938 (__morestack_load_mmap) Initialize static_pagesize and
939 use_guard_page here so as to avoid clobbering SSE regs during a
940 __morestack call.
941
942 2018-06-18 Michael Meissner <meissner@linux.ibm.com>
943
944 * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
945 support modules with -mno-gnu-attribute.
946 * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
947
948 2018-06-07 Olivier Hainque <hainque@adacore.com>
949
950 * config/t-vxworks (LIBGCC_INCLUDES): Add
951 -I$(MULTIBUILDTOP)../../gcc/include.
952 * config/t-vxworks7: Likewise. Reformat a bit to match
953 the t-vxworks layout.
954
955 2018-06-07 Olga Makhotina <olga.makhotina@intel.com>
956
957 * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
958
959 2018-06-07 Martin Liska <mliska@suse.cz>
960
961 * libgcov-driver.c: Rename cs_all to all and assign it from
962 all_prg.
963
964 2018-06-07 Martin Liska <mliska@suse.cz>
965
966 PR bootstrap/86057
967 * libgcov-driver-system.c (replace_filename_variables): Use
968 memcpy instead of mempcpy.
969 (allocate_filename_struct): Do not allocate filename, allocate
970 prefix and set it.
971 (gcov_exit_open_gcda_file): Allocate memory for gf->filename
972 here and properly copy content into it.
973 * libgcov-driver.c (struct gcov_filename): Remove max_length
974 field, change prefix from size_t into char *.
975 (compute_summary): Do not calculate longest filename.
976 (gcov_do_dump): Release memory of gf.filename after each file.
977 * libgcov-util.c (compute_summary): Use new signature of
978 compute_summary.
979 (calculate_overlap): Likewise.
980
981 2018-06-05 Martin Liska <mliska@suse.cz>
982
983 PR gcov-profile/47618
984 * libgcov-driver-system.c (replace_filename_variables): New
985 function.
986 (gcov_exit_open_gcda_file): Use it.
987
988 2018-06-05 Martin Liska <mliska@suse.cz>
989
990 * libgcov-driver.c (gcov_compute_histogram): Remove usage
991 of gcov_ctr_summary.
992 (compute_summary): Do it just for a single summary.
993 (merge_one_data): Likewise.
994 (merge_summary): Simplify as we read just single summary.
995 (dump_one_gcov): Pass proper argument.
996 * libgcov-util.c (compute_one_gcov): Simplify as we have just
997 single summary.
998 (gcov_info_count_all_cold): Likewise.
999 (calculate_overlap): Likewise.
1000
1001 2018-06-02 Chung-Ju Wu <jasonwucj@gmail.com>
1002 Monk Chiang <sh.chiang04@gmail.com>
1003
1004 * config.host (nds32*-linux*): New.
1005 * config/nds32/linux-atomic.c: New file.
1006 * config/nds32/linux-unwind.h: New file.
1007
1008 2018-05-31 Uros Bizjak <ubizjak@gmail.com>
1009
1010 PR target/85591
1011 * config/i386/cpuinfo.c (get_amd_cpu): Return
1012 AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
1013
1014 2018-05-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
1015
1016 * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
1017
1018 2018-05-29 Martin Liska <mliska@suse.cz>
1019
1020 PR gcov-profile/85759
1021 * libgcov-driver-system.c (gcov_error): Introduce usage of
1022 GCOV_EXIT_AT_ERROR env. variable.
1023 * libgcov-driver.c (merge_one_data): Print error that we
1024 overwrite a gcov file with a different timestamp.
1025
1026 2018-05-23 Kalamatee <kalamatee@gmail.com>
1027
1028 * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
1029 path to Lf$finfty.
1030
1031 2018-05-18 Kito Cheng <kito.cheng@gmail.com>
1032 Monk Chiang <sh.chiang04@gmail.com>
1033 Jim Wilson <jimw@sifive.com>
1034
1035 * config/riscv/save-restore.S: Add support for rv32e.
1036
1037 2018-05-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1038
1039 * config/arm/libunwind.S: Update comment relating to armv5.
1040
1041 2018-05-17 Jerome Lambourg <lambourg@adacore.com>
1042
1043 * config/arm/cmse.c (cmse_check_address_range): Replace
1044 UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
1045
1046 2018-05-17 Olga Makhotina <olga.makhotina@intel.com>
1047
1048 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
1049 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
1050
1051 2018-05-08 Olga Makhotina <olga.makhotina@intel.com>
1052
1053 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
1054 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
1055
1056 2018-05-07 Amaan Cheval <amaan.cheval@gmail.com>
1057
1058 * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
1059
1060 2018-04-27 Andreas Tobler <andreast@gcc.gnu.org>
1061 Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
1062
1063 PR libgcc/84292
1064 * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
1065 op_and_fetch to return the right result.
1066
1067 2018-04-27 Alan Modra <amodra@gmail.com>
1068
1069 PR libgcc/85532
1070 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
1071 -fno-asynchronous-unwind-tables.
1072
1073 2018-04-25 Chung-Ju Wu <jasonwucj@gmail.com>
1074
1075 * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
1076 * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
1077
1078 2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
1079
1080 * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
1081 when including "config/i386/shadow-stack-unwind.h".
1082
1083 2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
1084
1085 * configure: Regenerated.
1086
1087 2018-04-20 Michael Meissner <meissner@linux.ibm.com>
1088
1089 PR target/85456
1090 * config/rs6000/_powikf2.c: New file. Add support for the
1091 __builtin_powil function when long double is IEEE 128-bit floating
1092 point.
1093 * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
1094 __powikf2 support.
1095 (__powikf2): Likewise.
1096 * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
1097 (__powikf2_hw): Likewise.
1098 (__powikf2): Likewise.
1099 * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
1100 * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
1101 (_powikf2-hw.c): Likewise.
1102
1103 2018-04-19 H.J. Lu <hongjiu.lu@intel.com>
1104
1105 PR libgcc/85334
1106 * unwind-generic.h (_Unwind_Frames_Increment): New.
1107 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
1108 Likewise.
1109 * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
1110 count with _Unwind_Frames_Increment.
1111 (_Unwind_ForcedUnwind_Phase2): Likewise.
1112
1113 2018-04-19 H.J. Lu <hongjiu.lu@intel.com>
1114
1115 PR libgcc/85379
1116 * config/i386/morestack.S (__stack_split_initialize): Add
1117 _CET_ENDBR.
1118
1119 2018-04-19 Jakub Jelinek <jakub@redhat.com>
1120
1121 * configure: Regenerated.
1122
1123 2018-04-18 David Malcolm <dmalcolm@redhat.com>
1124
1125 PR jit/85384
1126 * configure: Regenerate.
1127
1128 2018-04-16 Jakub Jelinek <jakub@redhat.com>
1129
1130 PR target/84945
1131 * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
1132 -Wdangling-else warnings. Mask shift counts to avoid
1133 -Wshift-count-negative and -Wshift-count-overflow false positives.
1134
1135 2018-04-06 Ruslan Bukin <br@bsdpad.com>
1136
1137 * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
1138
1139 2018-03-29 H.J. Lu <hongjiu.lu@intel.com>
1140
1141 PR target/85100
1142 * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
1143 (XSTATE_FP): Likewise.
1144 (XSTATE_SSE): Likewise.
1145 (XSTATE_YMM): Likewise.
1146 (XSTATE_OPMASK): Likewise.
1147 (XSTATE_ZMM): Likewise.
1148 (XSTATE_HI_ZMM): Likewise.
1149 (XCR_AVX_ENABLED_MASK): Likewise.
1150 (XCR_AVX512F_ENABLED_MASK): Likewise.
1151 (get_available_features): Enable AVX and AVX512 features only
1152 if their states are supported by OSXSAVE.
1153
1154 2018-03-22 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1155
1156 PR target/85025
1157 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
1158 Fix a typo, tmp => 255.
1159
1160 2018-03-20 Jakub Jelinek <jakub@redhat.com>
1161
1162 PR target/84945
1163 * config/i386/cpuinfo.h (__cpu_features2): Declare.
1164 * config/i386/cpuinfo.c (__cpu_features2): New variable for
1165 ifndef SHARED only.
1166 (set_feature): Define.
1167 (get_available_features): Use set_feature macro. Set __cpu_features2
1168 to the second word of features ifndef SHARED.
1169
1170 2018-03-15 Julia Koval <julia.koval@intel.com>
1171
1172 * config/i386/cpuinfo.c (get_available_features): Add
1173 FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
1174 FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
1175 * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
1176 FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
1177 FEATURE_AVX512BITALG.
1178
1179 2018-03-14 Julia Koval <julia.koval@intel.com>
1180
1181 * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
1182 icelake client and icelake server.
1183
1184 2018-03-06 John David Anglin <danglin@gcc.gnu.org>
1185
1186 * config/pa/fptr.c (_dl_read_access_allowed): New.
1187 (__canonicalize_funcptr_for_compare): Use it.
1188
1189 2018-02-28 Jakub Jelinek <jakub@redhat.com>
1190
1191 PR debug/83917
1192 * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
1193 $asm_hidden_op if visibility ("hidden") attribute works.
1194 (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
1195 * config/i386/i386-asm.h: Don't include auto-host.h.
1196 (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
1197 PACKAGE_URL): Don't undefine.
1198 (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
1199 guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
1200 (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
1201 #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
1202 definition instead of hardcoded .hidden.
1203 * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
1204 directive. Use #ifdef HAVE_AS_CFI_SECTIONS rather than
1205 #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
1206 (USE_GAS_CFI_DIRECTIVES): Don't define.
1207 * configure: Regenerated.
1208 * config.in: Likewise.
1209
1210 2018-02-26 Jakub Jelinek <jakub@redhat.com>
1211
1212 PR debug/83917
1213 * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
1214 PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
1215 inclusion of auto-target.h and auto-host.h.
1216 (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
1217 __GCC_HAVE_DWARF2_CFI_ASM.
1218 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
1219 cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
1220 cfi_pop): Define.
1221 * config/i386/cygwin.S: Don't include auto-host.h here, just
1222 define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
1223 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
1224 cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
1225 * config/i386/resms64fx.h: Add cfi_* directives.
1226 * config/i386/resms64x.h: Likewise.
1227
1228 2018-02-20 Max Filippov <jcmvbkbc@gmail.com>
1229
1230 * config/xtensa/ieee754-df.S (__adddf3_aux): Add
1231 .literal_position directive.
1232 * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
1233
1234 2018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1235
1236 PR target/84148
1237 * configure: Regenerate.
1238
1239 2018-02-16 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1240
1241 PR target/84239
1242 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
1243 Include cetintrin.h not x86intrin.h.
1244
1245 2018-02-08 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1246
1247 PR target/84239
1248 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
1249 Use new _get_ssp and _inc_ssp intrinsics.
1250
1251 2018-02-02 Julia Koval <julia.koval@intel.com>
1252
1253 * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
1254
1255 2018-01-26 Claudiu Zissulescu <claziss@synopsys.com>
1256
1257 * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
1258 option.
1259 (__divsi3): Use RF16 safe registers.
1260 (__modsi3): Likewise.
1261
1262 2018-01-23 Max Filippov <jcmvbkbc@gmail.com>
1263
1264 * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
1265 (__divsf3): Make NaN return value quiet.
1266 * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
1267 (__divdf3): Make NaN return value quiet.
1268
1269 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
1270
1271 * config/rl78/anddi3.S: New assembly file.
1272 * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
1273
1274 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
1275
1276 * config/rl78/umindi3.S: New assembly file.
1277 * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
1278
1279 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
1280
1281 * config/rl78/smindi3.S: New assembly file.
1282 * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
1283
1284 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
1285
1286 * config/rl78/smaxdi3.S: New assembly file.
1287 * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
1288
1289 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
1290
1291 * config/rl78/umaxdi3.S: New assembly file.
1292 * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
1293
1294 2018-01-21 John David Anglin <danglin@gcc.gnu.org>
1295
1296 PR lto/83452
1297 * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
1298 * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
1299
1300 2018-01-13 Richard Sandiford <richard.sandiford@linaro.org>
1301
1302 * config/aarch64/value-unwind.h (aarch64_vg): New function.
1303 (DWARF_LAZY_REGISTER_VALUE): Define.
1304 * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
1305 to provide a fallback register value.
1306
1307 2018-01-08 Michael Meissner <meissner@linux.vnet.ibm.com>
1308
1309 * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
1310 __ibm128, instead of trying to use long double.
1311 (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
1312 accomidate -mabi=ieeelongdouble multilibs.
1313 (CVT_IBM128_TO_FLOAT128): Likewise.
1314 * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
1315 the appropriate IBM extended double type.
1316 (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
1317 (__gcc_qsub): Likewise.
1318 (__gcc_qmul): Likewise.
1319 (__gcc_qdiv): Likewise.
1320 (pack_ldouble): Likewise.
1321 (__gcc_qneg): Likewise.
1322 (__gcc_qeq): Likewise.
1323 (__gcc_qne): Likewise.
1324 (__gcc_qge): Likewise.
1325 (__gcc_qle): Likewise.
1326 (__gcc_stoq): Likewise.
1327 (__gcc_dtoq): Likewise.
1328 (__gcc_itoq): Likewise.
1329 (__gcc_utoq): Likewise.
1330 (__gcc_qunord): Likewise.
1331 * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
1332 quad-float128.h for the definitions.
1333 (COPYSIGN): Use the f128 version instead of the q version.
1334 (INFINITY): Likewise.
1335 (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
1336 * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
1337 quad-float128.h for the definitions.
1338 (COPYSIGN): Use the f128 version instead of the q version.
1339 (INFINITY): Likewise.
1340 (FABS): Likewise.
1341 (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
1342 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
1343 * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
1344
1345 2018-01-05 Sebastian Huber <sebastian.huber@embedded-brains.de>
1346
1347 * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
1348 configuration.
1349
1350 2018-01-03 Jakub Jelinek <jakub@redhat.com>
1351
1352 Update copyright years.
1353
1354 2017-12-12 Kito Cheng <kito.cheng@gmail.com>
1355
1356 * config/riscv/t-elf: Use multi3.c instead of multi3.S.
1357 * config/riscv/multi3.c: New file.
1358 * config/riscv/multi3.S: Remove.
1359
1360 2017-12-08 Jim Wilson <jimw@sifive.com>
1361
1362 * config/riscv/div.S: Use FUNC_* macros.
1363 * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
1364 * config/riscv/save-restore.S: Likewise.
1365 * config/riscv/riscv-asm.h: New.
1366
1367 2017-11-30 Michael Meissner <meissner@linux.vnet.ibm.com>
1368
1369 * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
1370 * config/rs6000/_divkc3.c (__divkc3): Likewise.
1371
1372 PR libgcc/83112
1373 * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
1374 correct type for all ifunc resolvers to silence -Wattribute-alias
1375 warnings. Eliminate the forward declaration of the resolver
1376 functions which is no longer needed.
1377 (__subkf3_resolve): Likewise.
1378 (__mulkf3_resolve): Likewise.
1379 (__divkf3_resolve): Likewise.
1380 (__negkf2_resolve): Likewise.
1381 (__eqkf2_resolve): Likewise.
1382 (__nekf2_resolve): Likewise.
1383 (__gekf2_resolve): Likewise.
1384 (__gtkf2_resolve): Likewise.
1385 (__lekf2_resolve): Likewise.
1386 (__ltkf2_resolve): Likewise.
1387 (__unordkf2_resolve): Likewise.
1388 (__extendsfkf2_resolve): Likewise.
1389 (__extenddfkf2_resolve): Likewise.
1390 (__trunckfsf2_resolve): Likewise.
1391 (__trunckfdf2_resolve): Likewise.
1392 (__fixkfsi_resolve): Likewise.
1393 (__fixkfdi_resolve): Likewise.
1394 (__fixunskfsi_resolve): Likewise.
1395 (__fixunskfdi_resolve): Likewise.
1396 (__floatsikf_resolve): Likewise.
1397 (__floatdikf_resolve): Likewise.
1398 (__floatunsikf_resolve): Likewise.
1399 (__floatundikf_resolve): Likewise.
1400 (__extendkftf2_resolve): Likewise.
1401 (__trunctfkf2_resolve): Likewise.
1402
1403 PR libgcc/83103
1404 * config/rs6000/quad-float128.h (TF): Don't define if long double
1405 is IEEE 128-bit floating point.
1406 (TCtype): Define as either TCmode or KCmode, depending on whether
1407 long double is IEEE 128-bit floating point.
1408 (__mulkc3_sw): Add declarations for software/hardware versions of
1409 complex multiply/divide.
1410 (__divkc3_sw): Likewise.
1411 (__mulkc3_hw): Likewise.
1412 (__divkc3_hw): Likewise.
1413 * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
1414 handlers to switch between using software emulation and hardware
1415 float128 instructions, build the complex multiply/divide functions
1416 for both software and hardware support.
1417 * config/rs6000/_divkc3.c (_divkc3): Likewise.
1418 * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
1419 (__divkc3_resolve): Likewise.
1420 (__mulkc3): Likewise.
1421 (__divkc3): Likewise.
1422 * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
1423 (fp128_hw_src): Likewise.
1424 (fp128_hw_static_obj): Likewise.
1425 (fp128_hw_shared_obj): Likewise.
1426 (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
1427 _mulkc3.c and _divkc3.c, changing the function name.
1428 (_divkc3-hw.c): Likewise.
1429 * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
1430 and _divkc3-hw.c.
1431
1432 2017-11-26 Julia Koval <julia.koval@intel.com>
1433
1434 * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
1435 * config/i386/cpuinfo.h (processor_subtypes): Add
1436 INTEL_COREI7_CANNONLAKE.
1437
1438 2017-11-20 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1439
1440 PR bootstrap/83015
1441 * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
1442 parameter.
1443 * config/xtensa/unwind-dw2-xtensa.c: Likewise
1444 * config/ia64/unwind-ia64.c: Add frames parameter.
1445 * unwind-sjlj.c: Likewise.
1446
1447 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1448
1449 * config/i386/linux-unwind.h: Include
1450 config/i386/shadow-stack-unwind.h.
1451 * config/i386/shadow-stack-unwind.h: New file.
1452 * unwind-dw2.c: (uw_install_context): Add a frame parameter and
1453 pass it to _Unwind_Frames_Extra.
1454 * unwind-generic.h (_Unwind_Frames_Extra): New.
1455 * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
1456 parameter. Add local variable frames to count number of frames.
1457 (_Unwind_ForcedUnwind_Phase2): Likewise.
1458 (_Unwind_RaiseException): Add local variable frames to count
1459 number of frames, pass it to _Unwind_RaiseException_Phase2 and
1460 uw_install_context.
1461 (_Unwind_ForcedUnwind): Likewise.
1462 (_Unwind_Resume): Likewise.
1463 (_Unwind_Resume_or_Rethrow): Likewise.
1464
1465 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1466
1467 * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
1468 (CET_FLAGS): New.
1469 * config/i386/morestack.S: Include <cet.h>.
1470 (__morestack_large_model): Add _CET_ENDBR at function entrance.
1471 * config/i386/resms64.h: Include <cet.h>.
1472 * config/i386/resms64f.h: Likewise.
1473 * config/i386/resms64fx.h: Likewise.
1474 * config/i386/resms64x.h: Likewise.
1475 * config/i386/savms64.h: Likewise.
1476 * config/i386/savms64f.h: Likewise.
1477 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
1478 (CRTSTUFF_T_CFLAGS): Likewise.
1479 * configure.ac: Include ../config/cet.m4.
1480 Set and substitute CET_FLAGS.
1481 * configure: Regenerated.
1482
1483 2017-11-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1484
1485 * config.host (*-*-solaris2*): Adapt comment for Solaris 12
1486 renaming.
1487 * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
1488 * configure.ac (libgcc_cv_solaris_crts): Likewise.
1489 * configure: Regenerate.
1490
1491 2017-11-07 Tom de Vries <tom@codesourcery.com>
1492
1493 * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
1494 after "do {} while (0)".
1495
1496 2017-11-07 Tom de Vries <tom@codesourcery.com>
1497
1498 PR other/82784
1499 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
1500 semicolon after "do {} while (0)".
1501 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1502 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1503 * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1504 * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1505
1506 2017-11-04 Andreas Tobler <andreast@gcc.gnu.org>
1507
1508 PR libgcc/82635
1509 * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
1510 sysctl to determine whether we're in a trampoline.
1511 Keep the pattern matching method for systems without
1512 KERN_PROC_SIGTRAMP sysctl.
1513
1514 2017-11-03 Cupertino Miranda <cmiranda@synopsys.com>
1515 Vineet Gupta <vgupta@synopsys.com>
1516
1517 * config.host (arc*-*-linux*): Set md_unwind_header variable.
1518 * config/arc/linux-unwind-reg.def: New file.
1519 * config/arc/linux-unwind-reg.h: Likewise.
1520
1521 2017-10-23 Sebastian Perta <sebastian.perta@renesas.com>
1522
1523 * config/rl78/subdi3.S: New assembly file.
1524 * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
1525
1526 2017-10-13 Sebastian Perta <sebastian.perta@renesas.com>
1527
1528 * config/rl78/adddi3.S: New assembly file.
1529 * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
1530
1531 2017-10-13 Jakub Jelinek <jakub@redhat.com>
1532
1533 PR target/82274
1534 * libgcc2.c (__mulvDI3): If both operands have
1535 the same highpart of -1 and the topmost bit of lowpart is 0,
1536 multiplication overflows even if both lowparts are 0.
1537
1538 2017-09-28 James Bowman <james.bowman@ftdichip.com>
1539
1540 * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
1541
1542 2017-09-26 Joseph Myers <joseph@codesourcery.com>
1543
1544 * config/microblaze/crti.S, config/microblaze/crtn.S,
1545 config/microblaze/divsi3.S, config/microblaze/moddi3.S,
1546 config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
1547 config/microblaze/mulsi3.S,
1548 config/microblaze/stack_overflow_exit.S,
1549 config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
1550 config/pa/milli64.S: Add .note.GNU-stack section.
1551
1552 2017-09-23 Daniel Santos <daniel.santos@pobox.com>
1553
1554 * configure.ac: Add Check for HAVE_AS_AVX.
1555 * config.in: Regenerate.
1556 * configure: Likewise.
1557 * config/i386/i386-asm.h: Include auto-target.h from libgcc.
1558 (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
1559 Correct out-of-date comments.
1560
1561 2017-09-20 Sebastian Peryt <sebastian.peryt@intel.com>
1562
1563 * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
1564 * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
1565
1566 2017-09-17 Daniel Santos <daniel.santos@pobox.com>
1567
1568 * config/i386/i386-asm.h (PASTE2): New macro.
1569 (ASMNAME): Modify to use PASTE2.
1570 (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
1571 (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
1572 * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
1573 instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
1574 * config/i386/resms64f.S: Likewise.
1575 * config/i386/resms64fx.S: Likewise.
1576 * config/i386/resms64x.S: Likewise.
1577 * config/i386/savms64.S: Likewise.
1578 * config/i386/savms64f.S: Likewise.
1579 * config/i386/avx_resms64.S: New file that only defines a macro and
1580 includes it's corresponding header file.
1581 * config/i386/avx_resms64f.S: Likewise.
1582 * config/i386/avx_resms64fx.S: Likewise.
1583 * config/i386/avx_resms64x.S: Likewise.
1584 * config/i386/avx_savms64.S: Likewise.
1585 * config/i386/avx_savms64f.S: Likewise.
1586 * config/i386/sse_resms64.S: Likewise.
1587 * config/i386/sse_resms64f.S: Likewise.
1588 * config/i386/sse_resms64fx.S: Likewise.
1589 * config/i386/sse_resms64x.S: Likewise.
1590 * config/i386/sse_savms64.S: Likewise.
1591 * config/i386/sse_savms64f.S: Likewise.
1592 * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
1593
1594 2017-09-01 Olivier Hainque <hainque@adacore.com>
1595 * config.host (*-*-vxworks7): Widen scope to vxworks7*.
1596
1597 2017-08-31 Olivier Hainque <hainque@adacore.com>
1598
1599 * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
1600 match as powerpc-wrs-vxworks*.
1601
1602 2017-08-07 Jonathan Yong <10walls@gmail.com>
1603
1604 * config.host (*-cygwin): Include file from mingw
1605 config/i386/enable-execute-stack-mingw32.c
1606
1607 2017-08-01 Jerome Lambourg <lambourg@adacore.com>
1608 Doug Rupp <rupp@adacore.com>
1609 Olivier Hainque <hainque@adacore.com>
1610
1611 * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
1612 as well as arm-wrs-vxworks.
1613 * config/arm/t-vxworks7: New file. Add unwind-arm-vxworks.c to
1614 LIB2ADDEH.
1615 * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
1616 __exidx_start and __exidx_end for downloadable modules.
1617
1618 2017-08-01 Olivier Hainque <hainque@adacore.com>
1619
1620 * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
1621 * config/t-vxworks7: Likewise.
1622
1623 2017-08-01 Olivier Hainque <hainque@adacore.com>
1624
1625 * config/t-vxworks: Instead of redefining LIB2ADD,
1626 augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
1627
1628 2017-07-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1629
1630 * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
1631
1632 2017-07-24 Daniel Santos <daniel.santos@pobox.com>
1633
1634 PR testsuite/80759
1635 * config.host: include i386/t-msabi for darwin and solaris.
1636 * config/i386/i386-asm.h
1637 (ELFFN): Rename to FN_TYPE.
1638 (FN_SIZE): New macro.
1639 (FN_HIDDEN): Likewise.
1640 (ASMNAME): Likewise.
1641 (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
1642 .globl.
1643 (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
1644 (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
1645 * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
1646 .macro.
1647 * config/i386/resms64f.S: Likewise.
1648 * config/i386/resms64fx.S: Likewise.
1649 * config/i386/resms64x.S: Likewise.
1650 * config/i386/savms64.S: Likewise.
1651 * config/i386/savms64f.S: Likewise.
1652
1653 2017-07-19 John Marino <gnugcc@marino.st>
1654
1655 * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
1656
1657 2017-07-12 Michael Meissner <meissner@linux.vnet.ibm.com>
1658
1659 PR target/81193
1660 * configure.ac (PowerPC float128 hardware support): Test whether
1661 we can use __builtin_cpu_supports before enabling the ifunc
1662 handler.
1663 * configure: Regenerate.
1664
1665 2017-07-10 Vineet Gupta <vgupta@synopsys.com>
1666
1667 * config.host: Remove uclibc from arc target spec.
1668
1669 2017-07-09 Krister Walfridsson <krister.walfridsson@gmail.com>
1670
1671 * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
1672
1673 2017-07-07 Peter Bergner <bergner@vnet.ibm.com>
1674
1675 * config/rs6000/float128-ifunc.c: Don't include auxv.h.
1676 (have_ieee_hw_p): Delete function.
1677 (SW_OR_HW) Use __builtin_cpu_supports().
1678
1679 2017-07-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
1680
1681 * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
1682
1683 2017-07-03 Olivier Hainque <hainque@adacore.com>
1684
1685 * config/t-vxworks7: New file, really.
1686
1687 2017-06-28 Joseph Myers <joseph@codesourcery.com>
1688
1689 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
1690 config/alpha/linux-unwind.h (alpha_fallback_frame_state),
1691 config/bfin/linux-unwind.h (bfin_fallback_frame_state),
1692 config/i386/linux-unwind.h (x86_64_fallback_frame_state,
1693 x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
1694 uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
1695 config/pa/linux-unwind.h (pa32_fallback_frame_state),
1696 config/riscv/linux-unwind.h (riscv_fallback_frame_state),
1697 config/sh/linux-unwind.h (sh_fallback_frame_state),
1698 config/tilepro/linux-unwind.h (tile_fallback_frame_state),
1699 config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
1700 ucontext_t instead of struct ucontext.
1701
1702 2017-06-27 Jerome Lambourg <lambourg@adacore.com>
1703
1704 * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
1705 (x86_64-wrs-vxworks7): Likewise.
1706
1707 2017-06-27 Olivier Hainque <hainque@adacore.com>
1708
1709 * config/t-vxworks7: New file.
1710 * config.host (*-*-vxworks7): Use it.
1711
1712 2017-06-22 Matt Turner <mattst88@gmail.com>
1713
1714 * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
1715 skylake case.
1716
1717 2017-06-21 Richard Biener <rguenther@suse.de>
1718
1719 PR gcov-profile/81080
1720 * configure.ac: Add AC_SYS_LARGEFILE.
1721 * libgcov.h: Include auto-target.h before tsystem.h to pick
1722 up _FILE_OFFSET_BITS which might differ for multilibs.
1723 * config.in: Regenerate.
1724 * configure: Likewise.
1725
1726 2017-06-16 Richard Earnshaw <rearnsha@arm.com>
1727
1728 * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
1729
1730 2017-06-09 Martin Liska <mliska@suse.cz>
1731
1732 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
1733 Reset __gcov_indirect_call_callee to NULL.
1734
1735 2017-06-08 Olivier Hainque <hainque@adacore.com>
1736
1737 * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
1738 the set of -I options, support for direct inclusions of net/uio.h
1739 by VxWorks header files via ioLib.h.
1740
1741 2017-06-07 Tony Reix <tony.reix@atos.net>
1742 Matthieu Sarter <matthieu.sarter.external@atos.net>
1743 David Edelsohn <dje.gcc@gmail.com>
1744
1745 * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
1746 unconditionally.
1747 (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support. Add 32-bit
1748 AIX 7.2 support.
1749
1750 2017-06-02 Olivier Hainque <hainque@adacore.com>
1751
1752 * config/vxlib.c (__gthread_once): Add missing value to
1753 return statement.
1754
1755 2017-05-30 Olivier Hainque <hainque@adacore.com>
1756
1757 * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
1758 dollar sign before $(MULTIDIR).
1759
1760 2017-05-26 Richard Henderson <rth@redhat.com>
1761
1762 PR libgcc/80037
1763 * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
1764
1765 2017-05-17 Andreas Tobler <andreast@gcc.gnu.org>
1766
1767 * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
1768 _Unwind_SetIP available as functions for arm*-*-freebsd*.
1769 * config/arm/unwind-arm.c: Implement the above.
1770
1771 2017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1772
1773 * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
1774 section for a non-executable stack.
1775
1776 2017-05-14 Krister Walfridsson <krister.walfridsson@gmail.com>
1777
1778 PR target/80600
1779 * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
1780
1781 2017-05-14 Daniel Santos <daniel.santos@pobox.com>
1782
1783 * config.host: Add i386/t-msabi to i386/t-linux file list.
1784 * config/i386/i386-asm.h: New file.
1785 * config/i386/resms64.S: New file.
1786 * config/i386/resms64f.S: New file.
1787 * config/i386/resms64fx.S: New file.
1788 * config/i386/resms64x.S: New file.
1789 * config/i386/savms64.S: New file.
1790 * config/i386/savms64f.S: New file.
1791 * config/i386/t-msabi: New file.
1792
1793 2017-05-09 Andreas Tobler <andreast@gcc.gnu.org>
1794
1795 * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
1796 arm*-*-freebsd* instead of the t-slibgcc-libgcc.
1797
1798 2017-05-05 Joshua Conner <joshconner@google.com>
1799
1800 * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
1801 pc-relative indirect handling for fuchsia.
1802 * config/t-slibgcc-fuchsia: New file.
1803 * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
1804 x86_64-*-fuchsia*): Add definitions.
1805
1806 2017-04-19 Martin Liska <mliska@suse.cz>
1807
1808 PR gcov-profile/80435
1809 * Makefile.in: Install gcov.h.
1810 * gcov.h: New file.
1811 * libgcov.h: Use the header and make __gcov_flush publicly
1812 visible.
1813
1814 2017-04-18 Martin Liska <mliska@suse.cz>
1815
1816 PR gcov-profile/78783
1817 * libgcov-driver.c (gcov_get_filename): New function.
1818
1819 2017-04-07 Jeff Law <law@redhat.com>
1820
1821 * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
1822 target makefile fragment.
1823 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
1824
1825 2017-04-07 Alan Modra <amodra@gmail.com>
1826
1827 PR target/45053
1828 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
1829
1830 2017-04-03 Jonathan Wakely <jwakely@redhat.com>
1831
1832 * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
1833
1834 2017-03-27 Claudiu Zissulescu <claziss@synopsys.com>
1835
1836 * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
1837
1838 2017-03-10 John Marino <gnugcc@marino.st>
1839
1840 * config/aarch64/freebsd-unwind.h: New file.
1841 * config.host: Add aarch64-*-freebsd unwinder.
1842
1843 2017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
1844
1845 * config/rs6000/crtrestvr.s: Use .machine altivec.
1846 * config/rs6000/crtsavevr.s: Ditto.
1847
1848 2017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
1849
1850 * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
1851 modify CFLAGS. Add -mabi=altivec -mvsx -mfloat128.
1852 (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
1853 -mfloat128-hardware to the CFLAGS. Fix syntax error in the C snippet.
1854 * configure: Regenerate.
1855 * config.in: Regenerate.
1856
1857 2017-03-02 Jonathan Yong <10walls@gmail.com>
1858
1859 * config/i386/gthr-win32.h: Define NOGDI before
1860 windows.h include to prevent w32api CC_NONE macro
1861 clash with libgfortran.
1862
1863 2017-03-02 Jonathan Yong <10walls@gmail.com>
1864
1865 * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
1866
1867 2017-02-16 Andrew Pinski <apinski@cavium.com>
1868
1869 * config/aarch64/value-unwind.h: New file.
1870 * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
1871 to tm_file.
1872
1873 2017-02-06 Palmer Dabbelt <palmer@dabbelt.com>
1874
1875 * config.host: Add RISC-V tuples.
1876 * config/riscv/atomic.c: New file.
1877 * config/riscv/crti.S: Likewise.
1878 * config/riscv/crtn.S: Likewise.
1879 * config/riscv/div.S: Likewise.
1880 * config/riscv/linux-unwind.h: Likewise.
1881 * config/riscv/muldi3.S: Likewise.
1882 * config/riscv/multi3.S: Likewise.
1883 * config/riscv/save-restore.S: Likewise.
1884 * config/riscv/sfp-machine.h: Likewise.
1885 * config/riscv/t-elf: Likewise.
1886 * config/riscv/t-elf32: Likewise.
1887 * config/riscv/t-elf64: Likewise.
1888 * config/riscv/t-softfp32: Likewise.
1889 * config/riscv/t-softfp64: Likewise.
1890
1891 2017-01-24 Jakub Jelinek <jakub@redhat.com>
1892
1893 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
1894 /* FALLTHRU */ comments.
1895
1896 2017-01-21 Gerald Pfeifer <gerald@pfeifer.com>
1897
1898 * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
1899
1900 2017-01-20 Jiong Wang <jiong.wang@arm.com>
1901
1902 * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
1903 * unwind-dw2.c (execute_cfa_program): Only multiplexing
1904 DW_CFA_GNU_window_save for AArch64 and LP64.
1905
1906 2017-01-20 Jiong Wang <jiong.wang@arm.com>
1907
1908 * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
1909
1910 2017-01-19 Jiong Wang <jiong.wang@arm.com>
1911
1912 * config/aarch64/aarch64-unwind.h: New file.
1913 (DWARF_REGNUM_AARCH64_RA_STATE): Define.
1914 (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
1915 (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
1916 (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
1917 (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
1918 (aarch64_post_extract_frame_addr): New function.
1919 (aarch64_post_frob_eh_handler_addr): New function.
1920 (aarch64_frob_update_context): New function.
1921 * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
1922 * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
1923 aarch64*-*-freebsd*):
1924 Initialize md_unwind_header to include aarch64-unwind.h.
1925 * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
1926 (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
1927 __aarch64__.
1928 (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
1929 (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
1930 (uw_frob_return_addr): New function.
1931 (uw_install_context): Use uw_frob_return_addr.
1932
1933 2017-01-17 Jakub Jelinek <jakub@redhat.com>
1934
1935 PR other/79046
1936 * configure.ac: Add GCC_BASE_VER.
1937 * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
1938 version from BASE-VER file.
1939 * configure: Regenerated.
1940
1941 2017-01-13 Joe Seymour <joe.s@somniumtech.com>
1942
1943 * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
1944 libmul_f5.a): Filter archived prerequisites.
1945
1946 2017-01-10 Andrew Senkevich <andrew.senkevich@intel.com>
1947
1948 * config/i386/cpuinfo.h (processor_features): Add
1949 FEATURE_AVX512VPOPCNTDQ.
1950 * config/i386/cpuinfo.c (get_available_features): Habdle new
1951 feature.
1952
1953 2017-01-04 Joseph Myers <joseph@codesourcery.com>
1954
1955 * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
1956 payload if [__mips_nan2008].
1957
1958 2017-01-04 Alan Modra <amodra@gmail.com>
1959
1960 * Makefile.in (configure_deps): Update.
1961 * configure: Regenerate.
1962
1963 2017-01-01 Jakub Jelinek <jakub@redhat.com>
1964
1965 Update copyright years.
1966
1967 2016-12-19 Krister Walfridsson <krister.walfridsson@gmail.com>
1968
1969 * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
1970 * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
1971 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
1972
1973 2016-12-17 Matthias Klose <doko@ubuntu.com>
1974
1975 * config/arc/gmon: Remove empty directory.
1976
1977 2016-12-16 Claudiu Zissulescu <claziss@synopsys.com>
1978
1979 * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
1980 crtgend.
1981 (arc*-*-elf*): Likewise.
1982 * config/arc/t-arc: Remove old gmon lib targets.
1983 * config/arc/crtg.S: Remove.
1984 * config/arc/crtgend.S: Likewise.
1985 * config/arc/gmon/atomic.h: Likewise.
1986 * config/arc/gmon/auxreg.h: Likewise.
1987 * config/arc/gmon/dcache_linesz.S: Likewise.
1988 * config/arc/gmon/gmon.c: Likewise.
1989 * config/arc/gmon/machine-gmon.h: Likewise.
1990 * config/arc/gmon/mcount.c: Likewise.
1991 * config/arc/gmon/prof-freq-stub.S: Likewise.
1992 * config/arc/gmon/prof-freq.c: Likewise.
1993 * config/arc/gmon/profil.S: Likewise.
1994 * config/arc/gmon/sys/gmon.h: Likewise.
1995 * config/arc/gmon/sys/gmon_out.h: Likewise.
1996 * config/arc/t-arc-newlib: Likewise.
1997 * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
1998
1999 2016-12-12 George Spelvin <linux@sciencehorizons.net>
2000
2001 * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
2002
2003 2016-12-12 George Spelvin <linux@sciencehorizons.net>
2004
2005 * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
2006 R16 instead of push + pop.
2007 (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
2008
2009 2016-12-10 Krister Walfridsson <krister.walfridsson@gmail.com>
2010
2011 * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
2012 tmake_file.
2013
2014 2016-12-05 Cupertino Miranda <cmiranda@synopsys.com>
2015
2016 * config.host (arc*-*-linux-uclibc*): Use default extra
2017 objects. Include linux-android header.
2018 * config/arc/crti.S (_init): Declare symbol as function.
2019 (_fini): Likewise.
2020
2021 2016-12-03 Thomas Koenig <tkoenig@gcc.gnu.org>
2022
2023 PR fortran/78379
2024 * config/i386/cpuinfo.c: Move denums for processor vendors,
2025 processor type, processor subtypes and declaration of
2026 struct __processor_model into
2027 * config/i386/cpuinfo.h: New header file.
2028
2029 2016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
2030 Thomas Preud'homme <thomas.preudhomme@arm.com>
2031
2032 * config/arm/cmse_nonsecure_call.S: New.
2033 * config/arm/t-arm: Compile cmse_nonsecure_call.S
2034
2035 2016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
2036 Thomas Preud'homme <thomas.preudhomme@arm.com>
2037
2038 * config/arm/t-arm (HAVE_CMSE): New.
2039 * config/arm/cmse.c: New.
2040
2041 2016-11-28 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2042
2043 PR gcc/74748
2044 * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
2045 use generic linker version information on Blackfin.
2046
2047 PR gcc/74748
2048 * libgcc/mkmap-symver.awk: add support for skip_underscore
2049
2050 2016-11-27 Iain Sandoe <iain@codesourcery.com>
2051 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2052
2053 PR target/67710
2054 * config/t-darwin: Default builds to 10.5 codegen.
2055
2056 2016-11-24 James Greenhalgh <james.greenhalgh@arm.com>
2057
2058 * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
2059 (_FP_NANSIGN_H): Likewise.
2060 * config/aarch64/t-softfp (softfp_extensions): Add hftf.
2061 (softfp_truncations): Add tfhf.
2062 (softfp_extras): Add required conversion functions.
2063
2064 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
2065 Matthew Wahab <matthew.wahab@arm.com>
2066
2067 * config/arm/fp16.c (binary64): New.
2068 (__gnu_d2h_internal): New.
2069 (__gnu_d2h_ieee): New.
2070 (__gnu_d2h_alternative): New.
2071
2072 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
2073 Matthew Wahab <matthew.wahab@arm.com>
2074
2075 * config/arm/fp16.c (struct format): New.
2076 (binary32): New.
2077 (__gnu_float2h_internal): New. Body moved from
2078 __gnu_f2h_internal and generalize.
2079 (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
2080 Call it with binary32.
2081
2082 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
2083
2084 * soft-fp/extendhftf2.c: Update from glibc.
2085 * soft-fp/fixhfti.c: Likewise.
2086 * soft-fp/fixunshfti.c: Likewise.
2087 * soft-fp/floattihf.c: Likewise.
2088 * soft-fp/floatuntihf.c: Likewise.
2089 * soft-fp/half.h: Likewise.
2090 * soft-fp/trunctfhf2.c: Likewise.
2091
2092 2016-11-20 Marc Glisse <marc.glisse@inria.fr>
2093
2094 PR libgcc/77813
2095 * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
2096 __TMC_END__ behind a passthrough asm.
2097
2098 2016-11-18 Walter Lee <walt@tilera.com>
2099
2100 * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
2101
2102 2016-11-17 Andrew Senkevich <andrew.senkevich@intel.com>
2103
2104 * config/i386/cpuinfo.c (processor_features): Add
2105 FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
2106
2107 2016-11-17 Claudiu Zissulescu <claziss@synopsys.com>
2108
2109 * config/arc/dp-hack.h (ARC_OPTFPE): Define.
2110 (__ARC_NORM__): Use instead ARC_OPTFPE.
2111 * config/arc/fp-hack.h: Likewise.
2112 * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
2113 (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
2114
2115 2016-11-16 Alexander Monakov <amonakov@ispras.ru>
2116
2117 * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
2118 * config/nvptx/mgomp.c: New file.
2119 * config/nvptx/t-nvptx: Add mgomp.c
2120
2121 2016-11-16 Waldemar Brodkorb <wbx@openadk.org>
2122
2123 PR libgcc/68468
2124 * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
2125
2126 2016-11-15 Claudiu Zissulescu <claziss@synopsys.com>
2127
2128 * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
2129 of checking for cpus.
2130 (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
2131 (__modsi3, __clzsi2): Likewise.
2132
2133 2016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
2134
2135 * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
2136 i386/t-cpuinfo-static instead of i386/t-cpuinfo.
2137 * config/i386/t-cpuinfo-static: New.
2138
2139 2016-11-03 Martin Liska <mliska@suse.cz>
2140
2141 * libgcov-profiler.c (__gcov_time_profiler): Remove.
2142 (__gcov_time_profiler_atomic): Likewise.
2143
2144 2016-11-03 Bernd Edlinger <bernd.edlinger@hotmail.de>
2145
2146 PR libgcc/78067
2147 * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
2148 count_leading_zeros.
2149
2150 2016-11-02 Uros Bizjak <ubizjak@gmail.com>
2151
2152 * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
2153 * libgcc2.c (__divmoddi4): New function.
2154 * libgcc2.h (__divmoddi4): Declare.
2155 * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
2156 and __PFX_divmodti4.
2157
2158 2016-10-24 Florian Weimer <fweimer@redhat.com>
2159
2160 PR libgcc/78064
2161 * unwind-c.c: Include auto-target.h.
2162
2163 2016-10-19 John David Anglin <danglin@gcc.gnu.org>
2164
2165 * config/pa/pa64-hpux-lib.h: New file.
2166 (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
2167 (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
2168 * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
2169 hppa*64*-*-hpux11*.
2170
2171 2016-10-18 Max Filippov <jcmvbkbc@gmail.com>
2172
2173 * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
2174 definition.
2175 * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
2176 definition.
2177 * config/xtensa/t-windowed (LIB2ADDEH): Use
2178 LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
2179 or xtensa/t-linux.
2180
2181 2016-10-18 Ding-Kai Chen <dkchen@cadence.com>
2182
2183 * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
2184 __ieee754_sqrt): New functions.
2185 (__divdf3): Add implementation with new FPU instructions under
2186 #if XCHAL_HAVE_DFP_DIV.
2187 * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
2188 __ieee754_sqrtf): New functions.
2189 (__divsf3): Add implementation with new FPU instructions under
2190 #if XCHAL_HAVE_FP_DIV.
2191 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
2192 _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
2193
2194 2016-10-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
2195
2196 * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
2197 equivalent.
2198 * config/tilepro/atomic.c: Likewise and stop casting model to
2199 enum memmodel.
2200
2201 2016-10-10 Joseph Myers <joseph@codesourcery.com>
2202
2203 PR target/77586
2204 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
2205 soft-fp.
2206
2207 2016-10-10 Andreas Tobler <andreast@gcc.gnu.org>
2208
2209 * config.host: Add support for aarch64-*-freebsd*.
2210
2211 2016-10-05 Andreas Schwab <schwab@suse.de>
2212
2213 * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
2214 (.section .init_array): Don't call __do_jv_register_classes.
2215 (.section .init): Likewise.
2216
2217 2016-10-04 Jakub Jelinek <jakub@redhat.com>
2218
2219 * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
2220 (__JCR_LIST__): Remove.
2221 (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
2222 * config/i386/cygming-crtend.c (__JCR_END__): Remove.
2223 * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
2224 * config/ia64/crtend.S (__JCR_END__): Remove.
2225 * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
2226 conditionals.
2227 (__JCR_LIST__, __JCR_END__): Remove.
2228 (frame_dummy): Don't attempt to _Jv_RegisterClasses.
2229 (__do_global_ctors_1): Likewise.
2230
2231 2015-09-28 Uros Bizjak <ubizjak@gmail.com>
2232
2233 * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
2234 (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
2235
2236 2016-09-27 Martin Liska <mliska@suse.cz>
2237
2238 PR gcov-profile/7970
2239 PR gcov-profile/16855
2240 PR gcov-profile/44779
2241 * libgcov-driver.c (__gcov_init): Do not register a atexit
2242 handler.
2243 (__gcov_exit): Rename from gcov_exit.
2244 * libgcov.h (__gcov_exit): Declare.
2245
2246 2016-09-27 Martin Liska <mliska@suse.cz>
2247
2248 PR bootstrap/77749
2249 * Makefile.in: Remove _gcov_merge_delta.
2250 * libgcov-merge.c (void __gcov_merge_delta): Remove.
2251 * libgcov-util.c (__gcov_delta_counter_op): Remove.
2252 * libgcov.h: Remove declaration of __gcov_merge_delta.
2253
2254 2016-09-21 Eric Botcazou <ebotcazou@adacore.com>
2255
2256 * configure.ac: Do not create links, only substitute the filenames.
2257 * configure: Regenerate.
2258 * Makefile.in: Assign the substitution results to variables.
2259 (LIBGCC_LINKS): Define.
2260 (enable-execute-stack.c): New rule.
2261 (unwind.h): Likewise.
2262 (md-unwind-support.h): Likewise.
2263 (sfp-machine.h): Likewise.
2264 (gthr-default.h): Likewise.
2265 Add $(LIBGCC_LINKS) to the prerequisites of all object files and
2266 unwind.h as prerequisite of install-unwind_h-forbuild.
2267
2268 2016-09-16 Jakub Jelinek <jakub@redhat.com>
2269
2270 PR libgcc/71744
2271 * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
2272 is not the primary registry and atomics are available.
2273 (any_objects_registered): New variable.
2274 (__register_frame_info_bases, __register_frame_info_table_bases):
2275 Atomically store 1 to any_objects_registered after registering first
2276 unwind info.
2277 (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
2278
2279 2016-09-09 James Greenhalgh <james.greenhalgh@arm.com>
2280
2281 PR target/63250
2282 * Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
2283 * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
2284 (HFtype): Likewise.
2285 (HCtype): Likewise.
2286 (__divhc3): Likewise.
2287 (__mulhc3): Likewise.
2288 * libgcc2.c: Support _mulhc3 and _divhc3.
2289
2290 2016-09-07 Joseph Myers <joseph@codesourcery.com>
2291
2292 PR libgcc/77519
2293 * libgcc2.c (NOTRUNC): Invert settings.
2294
2295 2016-09-06 Martin Liska <mliska@suse.cz>
2296
2297 PR gcov-profile/77378
2298 PR gcov-profile/77466
2299 * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
2300 conditionaly enable/disable *_atomic functions.
2301
2302 2016-08-26 Joseph Myers <joseph@codesourcery.com>
2303
2304 * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
2305 where not already enabled.
2306
2307 2016-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
2308
2309 * config/mips/linux-unwind.h: Use sys/syscall.h.
2310
2311 2016-08-16 Joseph Myers <joseph@codesourcery.com>
2312
2313 PR libgcc/77265
2314 * soft-fp/adddf3.c: Update from glibc.
2315 * soft-fp/addsf3.c: Likewise.
2316 * soft-fp/addtf3.c: Likewise.
2317 * soft-fp/divdf3.c: Likewise.
2318 * soft-fp/divsf3.c: Likewise.
2319 * soft-fp/divtf3.c: Likewise.
2320 * soft-fp/double.h: Likewise.
2321 * soft-fp/eqdf2.c: Likewise.
2322 * soft-fp/eqsf2.c: Likewise.
2323 * soft-fp/eqtf2.c: Likewise.
2324 * soft-fp/extenddftf2.c: Likewise.
2325 * soft-fp/extended.h: Likewise.
2326 * soft-fp/extendsfdf2.c: Likewise.
2327 * soft-fp/extendsftf2.c: Likewise.
2328 * soft-fp/extendxftf2.c: Likewise.
2329 * soft-fp/fixdfdi.c: Likewise.
2330 * soft-fp/fixdfsi.c: Likewise.
2331 * soft-fp/fixdfti.c: Likewise.
2332 * soft-fp/fixsfdi.c: Likewise.
2333 * soft-fp/fixsfsi.c: Likewise.
2334 * soft-fp/fixsfti.c: Likewise.
2335 * soft-fp/fixtfdi.c: Likewise.
2336 * soft-fp/fixtfsi.c: Likewise.
2337 * soft-fp/fixtfti.c: Likewise.
2338 * soft-fp/fixunsdfdi.c: Likewise.
2339 * soft-fp/fixunsdfsi.c: Likewise.
2340 * soft-fp/fixunsdfti.c: Likewise.
2341 * soft-fp/fixunssfdi.c: Likewise.
2342 * soft-fp/fixunssfsi.c: Likewise.
2343 * soft-fp/fixunssfti.c: Likewise.
2344 * soft-fp/fixunstfdi.c: Likewise.
2345 * soft-fp/fixunstfsi.c: Likewise.
2346 * soft-fp/fixunstfti.c: Likewise.
2347 * soft-fp/floatdidf.c: Likewise.
2348 * soft-fp/floatdisf.c: Likewise.
2349 * soft-fp/floatditf.c: Likewise.
2350 * soft-fp/floatsidf.c: Likewise.
2351 * soft-fp/floatsisf.c: Likewise.
2352 * soft-fp/floatsitf.c: Likewise.
2353 * soft-fp/floattidf.c: Likewise.
2354 * soft-fp/floattisf.c: Likewise.
2355 * soft-fp/floattitf.c: Likewise.
2356 * soft-fp/floatundidf.c: Likewise.
2357 * soft-fp/floatundisf.c: Likewise.
2358 * soft-fp/floatunditf.c: Likewise.
2359 * soft-fp/floatunsidf.c: Likewise.
2360 * soft-fp/floatunsisf.c: Likewise.
2361 * soft-fp/floatunsitf.c: Likewise.
2362 * soft-fp/floatuntidf.c: Likewise.
2363 * soft-fp/floatuntisf.c: Likewise.
2364 * soft-fp/floatuntitf.c: Likewise.
2365 * soft-fp/gedf2.c: Likewise.
2366 * soft-fp/gesf2.c: Likewise.
2367 * soft-fp/getf2.c: Likewise.
2368 * soft-fp/ledf2.c: Likewise.
2369 * soft-fp/lesf2.c: Likewise.
2370 * soft-fp/letf2.c: Likewise.
2371 * soft-fp/muldf3.c: Likewise.
2372 * soft-fp/mulsf3.c: Likewise.
2373 * soft-fp/multf3.c: Likewise.
2374 * soft-fp/negdf2.c: Likewise.
2375 * soft-fp/negsf2.c: Likewise.
2376 * soft-fp/negtf2.c: Likewise.
2377 * soft-fp/op-1.h: Likewise.
2378 * soft-fp/op-2.h: Likewise.
2379 * soft-fp/op-4.h: Likewise.
2380 * soft-fp/op-8.h: Likewise.
2381 * soft-fp/op-common.h: Likewise.
2382 * soft-fp/quad.h: Likewise.
2383 * soft-fp/single.h: Likewise.
2384 * soft-fp/soft-fp.h: Likewise.
2385 * soft-fp/subdf3.c: Likewise.
2386 * soft-fp/subsf3.c: Likewise.
2387 * soft-fp/subtf3.c: Likewise.
2388 * soft-fp/truncdfsf2.c: Likewise.
2389 * soft-fp/trunctfdf2.c: Likewise.
2390 * soft-fp/trunctfsf2.c: Likewise.
2391 * soft-fp/trunctfxf2.c: Likewise.
2392 * soft-fp/unorddf2.c: Likewise.
2393 * soft-fp/unordsf2.c: Likewise.
2394 * soft-fp/unordtf2.c: Likewise.
2395
2396 2016-08-15 Gilles Gouaillardet <gilles.gouaillardet@gmail.com>
2397
2398 PR gcov-profile/67097
2399 * libgcov-util.c (gcov_profile_merge): Skip missing files.
2400
2401 2016-08-10 Martin Liska <mliska@suse.cz>
2402
2403 PR gcov-profile/58306
2404 * Makefile.in: New functions (modules) are added.
2405 * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
2406 function.
2407 (__gcov_pow2_profiler_atomic): New function.
2408 (__gcov_one_value_profiler_body): New argument is instroduced.
2409 (__gcov_one_value_profiler): Call with the new argument.
2410 (__gcov_one_value_profiler_atomic): Likewise.
2411 (__gcov_indirect_call_profiler_v2): Likewise.
2412 (__gcov_time_profiler_atomic): New function.
2413 (__gcov_average_profiler_atomic): Likewise.
2414 (__gcov_ior_profiler_atomic): Likewise.
2415 * libgcov.h: Declare the aforementioned functions.
2416
2417 2016-08-09 Martin Liska <mliska@suse.cz>
2418
2419 * libgcov-util.c: Fix typo and GNU coding style.
2420
2421 2016-08-09 Martin Liska <mliska@suse.cz>
2422
2423 * Makefile.in: Remove __gcov_indirect_call_profiler.
2424 * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
2425 function.
2426 * libgcov.h: And the declaration of the function.
2427
2428 2016-08-09 Martin Liska <mliska@suse.cz>
2429
2430 * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
2431 power of two.
2432
2433 2016-07-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
2434
2435 * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
2436 * config/rs6000/_mulkc3.c: Likewise.
2437
2438 2016-07-29 Georg-Johann Lay <avr@gjlay.de>
2439
2440 * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
2441 zero_reg as previous call to __umulhisi3 already cleared it.
2442
2443 2016-07-21 Aurelien Jarno <aurelien@aurel32.net>
2444
2445 PR target/59833
2446 * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
2447
2448 2016-07-19 Nick Clifton <nickc@redhat.com>
2449
2450 * config.host (m32r): Add m32r/t-m32r to tmake_file.
2451 Add crtinit.o and crtfini.o to extra_parts.
2452
2453 2016-07-12 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
2454
2455 * config/rs6000/_divkc3.c: New.
2456 * config/rs6000/_mulkc3.c: New.
2457 * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
2458 and _divkc3.
2459 * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
2460 fp128_ppc_funcs.
2461
2462 2016-07-11 Hale Wang <hale.wang@arm.com>
2463 Andre Vieira <andre.simoesdiasvieira@arm.com>
2464
2465 * config/arm/lib1funcs.S: Add new wrapper.
2466
2467 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
2468
2469 * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
2470
2471 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
2472
2473 * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
2474 and ARMv5t* rather than for a fixed list of architectures.
2475
2476 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
2477
2478 * config/arm/bpabi-v6m.S: Clarify what architectures is the
2479 implementation suitable for.
2480 * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
2481 for all Thumb-1 only targets.
2482 (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
2483 (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
2484 __ARM_ARCH_6M__.
2485 (EQUIV): Likewise.
2486 (ARM_FUNC_ALIAS): Likewise.
2487 (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
2488 version.
2489 (modsi3): Likewise.
2490 (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
2491 (clzdi2): Likewise.
2492 (ctzsi2): Likewise.
2493 (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
2494 __ARM_ARCH_6M__ in guard for checking whether it is defined.
2495 (final includes): Test for NOT_ISA_TARGET_32BIT rather than
2496 __ARM_ARCH_6M__ and add comment to indicate the connection between
2497 this condition and the one in gcc/config/arm/elf.h.
2498 * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
2499 __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
2500 * config/arm/t-softfp: Likewise.
2501
2502 2016-07-06 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2503
2504 * libgcc2.c (SYMBOL__MAIN): Remove checks for
2505 CTOR_LISTS_DEFINED_EXTERNALLY.
2506
2507 2016-06-28 Walter Lee <walt@tilera.com>
2508
2509 * config/tilepro/atomic.h: Do not include arch/spr_def.h and
2510 asm/unistd.h.
2511 (SPR_CMPEXCH_VALUE): Define for tilegx.
2512 (__NR_FAST_cmpxchg): Define for tilepro.
2513 (__NR_FAST_atomic_update): Define for tilepro.
2514 (__NR_FAST_cmpxchg64): Define for tilepro.
2515
2516 2016-06-23 Jakub Sejdak <jakub.sejdak@phoesys.com>
2517
2518 * config.host: Add suport for arm*-*-phoenix* targets.
2519
2520 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2521
2522 * config.host: Remove support for mep-*.
2523 * config/mep/lib1funcs.S: Remove.
2524 * config/mep/lib2funcs.c: Remove.
2525 * config/mep/t-mep: Remove.
2526 * config/mep/tramp.c: Remove.
2527
2528 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2529
2530 * config.host: Remove support for avr-rtems.
2531 * config/avr/t-rtems: Remove.
2532
2533 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2534
2535 * config.host: Remove m32r-rtems support.
2536
2537 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2538
2539 * config.host: Remove h8300-rtems support.
2540
2541 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2542
2543 * config.host: Remove support for knetbsd.
2544
2545 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2546
2547 * config.host: Remove support for openbsd 2 and 3.
2548
2549 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2550
2551 * config.host: Remove interix support.
2552 * config/i386/t-interix: Remove.
2553
2554 2016-06-18 John David Anglin <danglin@gcc.gnu.org>
2555
2556 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
2557 least-significant bit in function pointer for fixup.
2558
2559 2016-06-05 Aaron Conole <aconole@redhat.com>
2560 Nathan Sidwell <nathan@acm.org>
2561
2562 PR libgcc/71400
2563 * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
2564 (get_gcov_error_file): Check __gcov_error_file before trying to
2565 initialize it.
2566 (gcov_error): Always use get_gcov_error_file.
2567
2568 2016-06-02 Aaron Conole <aconole@redhat.com>
2569
2570 * libgcov-driver-system.c (__gcov_error_file): New.
2571 (get_gcov_error_file): New.
2572 (gcov_error): Use and set __gcov_error_file.
2573 (gcov_error_exit): New.
2574 * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
2575
2576 2016-05-26 Nathan Sidwell <nathan@acm.org>
2577
2578 * config/nvptx/free.asm: Delete.
2579 * config/nvptx/malloc.asm: Delete.
2580 * config/nvptx/realloc.c: Delete.
2581 * t-nvptx: Update.
2582
2583 2016-05-25 Nathan Sidwell <nathan@acm.org>
2584
2585 * config/nvptx/crt0.s: Delete.
2586 * config/nvptx/crt0.c: New.
2587 * t-nvptx: Update.
2588
2589 2016-05-19 Sandra Loosemore <sandra@codesourcery.com>
2590
2591 * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
2592 dw2/seh configuration.
2593 [x86_64-*-mingw*]: Likewise.
2594
2595 2016-05-10 Joel Sherrill <joel@rtems.org>
2596
2597 PR libgcc/70720
2598 * config.host (moxie-*-rtems*): Merge this stanza with other moxie
2599 targets so the same extra_parts are built. Also have tmake_file add
2600 on to its value rather than override.
2601
2602 2016-04-30 Oleg Endo <olegendo@gcc.gnu.org>
2603
2604 * config.host: Remove SH5 support.
2605 * configure: Likewise.
2606
2607 2016-04-29 Oleg Endo <olegendo@gcc.gnu.org>
2608
2609 * config/sh/crt1.S: Remove SH5 support.
2610 * config/sh/crti.S: Likewise.
2611 * config/sh/crtn.S: Likewise.
2612 * config/sh/lib1funcs-4-300.S: Likewise.
2613 * config/sh/lib1funcs-Os-4-200.S: Likewise.
2614 * config/sh/lib1funcs.S: Likewise.
2615 * config/sh/linux-unwind.h: Likewise.
2616 * config/sh/t-sh64: Delete.
2617
2618 2016-04-29 Claudiu Zissulescu <claziss@synopsys.com>
2619
2620 * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
2621
2622 2016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
2623 Joern Rennecke <joern.rennecke@embecosm.com>
2624
2625 * config/arc/crttls.S: New file.
2626 * config/arc/t-arc: New rule.
2627 * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
2628
2629 2016-04-25 Nick Clifton <nickc@redhat.com>
2630
2631 * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
2632 (__mspabi_cmpd): Likewise.
2633 * config/msp430/floathidf.c (__floathidf): Likewise.
2634 * config/msp430/floathisf.c (__floathisf): Likewise
2635 * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
2636 * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
2637 * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
2638 second parameter.
2639 (__ashrsi3): Likewise.
2640
2641 2016-04-21 Waldemar Brodkorb <wbx@openadk.org>
2642
2643 * config/m68k/linux-atomic.c: Do not include unistd.h
2644
2645 2016-04-20 Martin Galvan <martin.galvan@tallertechnologies.com>
2646
2647 * config/arm/ieee754-df.S: Fix typos in comments.
2648
2649 2016-04-11 Michael Meissner <meissner@linux.vnet.ibm.com>
2650
2651 PR target/70381
2652 * configure.ac (powerpc*-*-linux*): Rework tests to build
2653 __float128 emulation routines to not depend on using #pragma GCC
2654 target to enable -mfloat128.
2655 * configure: Regnerate.
2656
2657 2016-04-04 Eric Botcazou <ebotcazou@adacore.com>
2658
2659 PR target/67172
2660 * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
2661 __MINGW32__ is defined.
2662
2663 2016-03-28 James Bowman <james.bowman@ftdichip.com>
2664
2665 * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
2666
2667 2016-03-22 Michael Meissner <meissner@linux.vnet.ibm.com>
2668
2669 PR libgcc/70363
2670 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
2671 built with an assembler that does not support ISA 3.0
2672 instructions, rename __extendkftf2_sw to __extendkftf2.
2673
2674 2016-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2675
2676 PR target/38239
2677 * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
2678 call-clobbered registers.
2679 (internal_mcount): Remove __i386__ handling.
2680
2681 2016-02-26 Joel Sherrill <joel@rtems.org>
2682
2683 * config.host: Add x86_64-*-rtems*.
2684
2685 2016-02-26 Joel Sherrill <joel@rtems.org>
2686
2687 * libgcc/config.host: Add aarch64-*-rtems*.
2688
2689 2016-02-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2690 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
2691
2692 * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
2693 union of u64 and double.
2694 (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
2695 (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
2696 value.
2697 (FP_ROUNDMODE): Update the usage of _fpscr.
2698
2699 2016-02-25 Ilya Verbin <ilya.verbin@intel.com>
2700
2701 PR driver/68463
2702 * Makefile.in (crtoffloadtable$(objext)): New rule.
2703 * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
2704 enable_offload_targets is not empty.
2705 * configure: Regenerate.
2706 * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
2707 crtoffloadtable.
2708
2709 2016-02-17 Max Filippov <jcmvbkbc@gmail.com>
2710
2711 * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
2712 .literal_position before the function.
2713 * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
2714 Likewise.
2715
2716 2016-02-15 Marcin Kościelnicki <koriakin@0x04.net>
2717
2718 * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
2719 * config/s390/morestack.S: New file.
2720 * config/s390/t-stack-s390: New file.
2721 * generic-morestack.c (__splitstack_find): Add s390-specific code.
2722
2723 2016-02-12 Walter Lee <walt@tilera.com>
2724
2725 * config.host (tilegx*-*-linux*): remove ti from
2726 softfp_int_modes for 32-bit configs.
2727
2728 2016-02-10 Ian Lance Taylor <iant@google.com>
2729
2730 PR go/68562
2731 * config/i386/morestack.S (__stack_split_initialize): Align
2732 stack.
2733
2734 2016-02-03 Andreas Tobler <andreast@gcc.gnu.org>
2735
2736 PR bootstrap/69611
2737 * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
2738 __FLOAT128__ to compile only for __float128 capable targets.
2739
2740 2016-01-25 Jakub Jelinek <jakub@redhat.com>
2741
2742 PR target/69444
2743 * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
2744 instead of ___NO_FPRS__.
2745
2746 2016-01-21 Michael Meissner <meissner@linux.vnet.ibm.com>
2747 Steven Munroe <munroesj@linux.vnet.ibm.com>
2748 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
2749
2750 * config/rs6000/float128-sed: New files to convert TF names to KF
2751 names for PowerPC IEEE 128-bit floating point support.
2752 * config/rs6000/float128-sed-hw: Likewise.
2753
2754 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
2755 floating point hardware support.
2756
2757 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
2758 128-bit floating point software emulation or use ISA 3.0 hardware
2759 support if it is available.
2760
2761 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
2762 floating point.
2763
2764 * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
2765 floating point to IBM extended double.
2766
2767 * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
2768 double to IEEE 128-bit floating point.
2769
2770 * config/rs6000/t-float128: New Makefile fragments to enable
2771 building __float128 emulation support.
2772 * config/rs6000/t-float128-hw: Likewise.
2773
2774 * config/rs6000/sfp-exceptions.c: New file to provide exception
2775 support for IEEE 128-bit floating point.
2776
2777 * config/rs6000/floattikf.c: New files for converting between IEEE
2778 128-bit floating point and signed/unsigned 128-bit integers.
2779 * config/rs6000/fixunskfti.c: Likewise.
2780 * config/rs6000/fixkfti.c: Likewise.
2781 * config/rs6000/floatuntikf.c: Likewise.
2782
2783 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
2784 when building on 64-bit systems, or when VSX is enabled.
2785 (_FP_W_TYPE): Likewise.
2786 (_FP_WS_TYPE): Likewise.
2787 (_FP_I_TYPE): Likewise.
2788 (TItype): Define on 64-bit systems.
2789 (UTItype): Likewise.
2790 (TI_BITS): Likewise.
2791 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
2792 (_FP_MUL_MEAT_Q): Likewise.
2793 (_FP_DIV_MEAT_D): Likewise.
2794 (_FP_DIV_MEAT_Q): Likewise.
2795 (_FP_NANFRAC_D): Likewise.
2796 (_FP_NANFRAC_Q): Likewise.
2797 (ISA_BIT): Add exception support if we are being compiled on a
2798 machine with hardware floating point support to build the IEEE
2799 128-bit emulation functions.
2800 (FP_EX_INVALID): Likewise.
2801 (FP_EX_OVERFLOW): Likewise.
2802 (FP_EX_UNDERFLOW): Likewise.
2803 (FP_EX_DIVZERO): Likewise.
2804 (FP_EX_INEXACT): Likewise.
2805 (FP_EX_ALL): Likewise.
2806 (__sfp_handle_exceptions): Likewise.
2807 (FP_HANDLE_EXCEPTIONS): Likewise.
2808 (FP_RND_NEAREST): Likewise.
2809 (FP_RND_ZERO): Likewise.
2810 (FP_RND_PINF): Likewise.
2811 (FP_RND_MINF): Likewise.
2812 (FP_RND_MASK): Likewise.
2813 (_FP_DECL_EX): Likewise.
2814 (FP_INIT_ROUNDMODE): Likewise.
2815 (FP_ROUNDMODE): Likewise.
2816
2817 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
2818 VSX code, enable IEEE 128-bit floating point. If the compiler can
2819 compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
2820 floating point hardware instructions and it supports declaring
2821 functions with the ifunc attribute, enable ifunc functions to
2822 switch between software and hardware support.
2823 * configure.ac (powerpc*-*-linux*): Likewise.
2824 * configure: Regenerate.
2825
2826 2016-01-15 Nick Clifton <nickc@redhat.com>
2827
2828 * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
2829 dependency as the source file to be compiled.
2830 (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
2831 (lib2hw_mul_f5.o): Likewise.
2832
2833 2016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
2834
2835 * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
2836 * libgcc/config/rs6000/fixkfti.c: Likewise.
2837 * libgcc/config/rs6000/fixunskfti.c: Likewise.
2838 * libgcc/config/rs6000/float128-hw.c: Likewise.
2839 * libgcc/config/rs6000/float128-ifunc.c: Likewise.
2840 * libgcc/config/rs6000/float128-sed: Likewise.
2841 * libgcc/config/rs6000/floattikf.c: Likewise.
2842 * libgcc/config/rs6000/floatuntikf.c: Likewise.
2843 * libgcc/config/rs6000/quad-float128.h: Likewise.
2844 * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
2845 * libgcc/config/rs6000/sfp-machine.h: Likewise.
2846 * libgcc/config/rs6000/t-float128: Likewise.
2847 * libgcc/config/rs6000/t-float128-hw: Likewise.
2848 * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
2849 * libgcc/config.host: Likewise.
2850 * libgcc/configure: Likewise.
2851 * libgcc/configure.ac: Likewise.
2852
2853 2016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
2854 Steven Munroe <munroesj@linux.vnet.ibm.com>
2855 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
2856
2857 * config/rs6000/sfp-exceptions.c: New file to provide exception
2858 support for IEEE 128-bit floating point.
2859
2860 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
2861 floating point hardware support.
2862
2863 * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
2864 point conversions.
2865 * config/rs6000/fixunskfti.c: Likewise.
2866 * config/rs6000/fixkfti.c: Likewise.
2867 * config/rs6000/floatuntikf.c: Likewise.
2868 * config/rs6000/extendkftf2-sw.c: Likewise.
2869 * config/rs6000/trunctfkf2-sw.c: Likewise.
2870
2871 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
2872 128-bit floating point software emulation or use ISA 3.0 hardware
2873 support if it is available.
2874
2875 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
2876 floating point.
2877
2878 * config/rs6000/t-float128: New Makefile fragments to enable
2879 building __float128 emulation support.
2880 * config/rs6000/t-float128-hw: Likewise.
2881
2882 * config/rs6000/float128-sed: New file to convert TF names to KF
2883 names for PowerPC IEEE 128-bit floating point support.
2884
2885 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
2886 when building on 64-bit systems, or when VSX is enabled.
2887 (_FP_W_TYPE): Likewise.
2888 (_FP_WS_TYPE): Likewise.
2889 (_FP_I_TYPE): Likewise.
2890 (TItype): Define on 64-bit systems.
2891 (UTItype): Likewise.
2892 (TI_BITS): Likewise.
2893 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
2894 (_FP_MUL_MEAT_Q): Likewise.
2895 (_FP_DIV_MEAT_D): Likewise.
2896 (_FP_DIV_MEAT_Q): Likewise.
2897 (_FP_NANFRAC_D): Likewise.
2898 (_FP_NANFRAC_Q): Likewise.
2899 (ISA_BIT): Add exception support if we are being compiled on a
2900 machine with hardware floating point support to build the IEEE
2901 128-bit emulation functions.
2902 (FP_EX_INVALID): Likewise.
2903 (FP_EX_OVERFLOW): Likewise.
2904 (FP_EX_UNDERFLOW): Likewise.
2905 (FP_EX_DIVZERO): Likewise.
2906 (FP_EX_INEXACT): Likewise.
2907 (FP_EX_ALL): Likewise.
2908 (__sfp_handle_exceptions): Likewise.
2909 (FP_HANDLE_EXCEPTIONS): Likewise.
2910 (FP_RND_NEAREST): Likewise.
2911 (FP_RND_ZERO): Likewise.
2912 (FP_RND_PINF): Likewise.
2913 (FP_RND_MINF): Likewise.
2914 (FP_RND_MASK): Likewise.
2915 (_FP_DECL_EX): Likewise.
2916 (FP_INIT_ROUNDMODE): Likewise.
2917 (FP_ROUNDMODE): Likewise.
2918
2919 * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
2920 compiler can do __float128.
2921 * configure: Regenerate.
2922
2923 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
2924 VSX code, enable IEEE 128-bit floating point.
2925
2926 2016-01-05 Olivier Hainque <hainque@adacore.com>
2927
2928 * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
2929 specificities.
2930
2931 2016-01-04 Jakub Jelinek <jakub@redhat.com>
2932
2933 Update copyright years.
2934
2935 2015-12-18 Andris Pavenis <andris.pavenis@iki.fi>
2936
2937 * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
2938 soft-fp targets.
2939
2940 2015-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
2941
2942 * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
2943 instead of abort to avoid dependency on stdlib.h.
2944
2945 2015-12-09 John David Anglin <danglin@gcc.gnu.org>
2946
2947 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
2948 to initialize call to __dl_fixup once.
2949
2950 2015-12-04 Nick Clifton <nickc@redhat.com>
2951
2952 * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
2953 Allow for the second argument being negative.
2954 * config.host (extra_parts): Define for MSP430. Create separate
2955 libraries for each of the hardware multiply formats.
2956 * config/msp430/lib2hw_mul.S: Build only the multiply routines
2957 that are needed.
2958 * config/msp430/lib2mul.c: Likewise.
2959 * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
2960 Add rules to build hardware multiply libraries.
2961 * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
2962 __mspabi_divul function.
2963 (__mspabi_divllu): New stub function.
2964
2965 2015-12-01 John David Anglin <danglin@gcc.gnu.org>
2966
2967 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
2968 fixup values if saved GOT address doesn't match runtime address.
2969 (fixup_branch_offset): Reorder list.
2970
2971 2015-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2972
2973 * Makefile.in (VTV_CFLAGS): New variable.
2974 (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
2975 (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
2976 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
2977 Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
2978 to extra_parts if $enable_vtable_verify = yes.
2979
2980 2015-11-23 Szabolcs Nagy <szabolcs.nagy@arm.com>
2981
2982 PR target/68059
2983 * config/arm/linux-atomic-64bit.c (__write): Rename to...
2984 (write): ...this and fix the return type.
2985
2986 2015-11-19 DJ Delorie <dj@redhat.com>
2987
2988 * config/msp430/lib2hw_mul.S: Fix alignment.
2989
2990 2015-11-18 Nathan Sidwell <nathan@codesourcery.com>
2991
2992 * config/nvptx/reduction.c: New.
2993 * config/nvptx/t-nvptx (LIB2ADD): Add it.
2994
2995 2015-11-15 David Edelsohn <dje.gcc@gmail.com>
2996
2997 * config/rs6000/on_exit.c: New file.
2998 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
2999 * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
3000
3001 2015-11-11 Claudiu Zissulescu <claziss@synopsys.com>
3002
3003 * config/arc/dp-hack.h: Add support for ARCHS.
3004 * config/arc/ieee-754/divdf3.S: Likewise.
3005 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
3006 * config/arc/ieee-754/muldf3.S: Likewise.
3007 * config/arc/ieee-754/mulsf3.S: Likewise
3008 * config/arc/lib1funcs.S: Likewise
3009 * config/arc/gmon/dcache_linesz.S: Don't read the build register
3010 for ARCv2 cores.
3011 * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
3012 for ARCv2 cores.
3013 * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
3014 * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
3015 cores.
3016
3017 2015-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3018
3019 * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
3020 value.
3021 * config/ia64/crtend.S: Likewise.
3022
3023 2015-11-07 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3024
3025 * config/visium/lib2funcs.c (__set_trampoline_parity): Use
3026 __CHAR_BIT__ instead of BITS_PER_UNIT.
3027 * fixed-bit.h: Likewise.
3028 * fp-bit.h: Likewise.
3029 * libgcc2.c (__popcountSI2): Likewise.
3030 (__popcountDI2): Likewise.
3031 * libgcc2.h: Likewise.
3032 * libgcov.h: Likewise.
3033
3034 2015-11-07 David Edelsohn <dje.gcc@gmail.com>
3035
3036 * config/rs6000/atexit.c: New file.
3037 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
3038 * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
3039 * config/rs6000/cxa_finalize.c
3040 (catomic_compare_and_exchange_bool_acq): Negate return value.
3041
3042 2015-10-30 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
3043
3044 * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
3045 (processor_subtypes): Add znver1.
3046 (get_amd_cpu): Detect znver1.
3047
3048 2015-10-29 Christophe Lyon <christophe.lyon@linaro.org>
3049
3050 * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
3051 Include crtfastmath.o.
3052
3053 2015-10-23 Joern Rennecke <joern.rennecke@embecosm.com>
3054
3055 PR libgcc/66883
3056 * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
3057
3058 2015-10-16 Kaushik Phatak <kaushik.phatak@kpit.com>
3059
3060 * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
3061 * config/rl78/divmodsi.S: Update return register to r8.
3062 * config/rl78/divmodhi.S: Update return register to r8,r9.
3063 Branch to main_loop_done_himode to pop registers before return.
3064
3065 2015-10-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
3066
3067 * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
3068 (__cpu_indicator_init): Fix model selection for AMD CPUs.
3069
3070 2015-10-05 Kirill Yukhin <kirill.yukhin@intel.com>
3071
3072 * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
3073
3074 2015-10-03 Max Filippov <jcmvbkbc@gmail.com>
3075
3076 * config.host (xtensa*-*-uclinux*): New configuration.
3077
3078 2015-10-02 Kirill Yukhin <kirill.yukhin@intel.com>
3079
3080 * config/i386/cpuinfo.c (processor_features): Add
3081 FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
3082
3083 2015-09-28 Joseph Myers <joseph@codesourcery.com>
3084
3085 * soft-fp/adddf3.c: Update from glibc.
3086 * soft-fp/addsf3.c: Likewise.
3087 * soft-fp/addtf3.c: Likewise.
3088 * soft-fp/divdf3.c: Likewise.
3089 * soft-fp/divsf3.c: Likewise.
3090 * soft-fp/divtf3.c: Likewise.
3091 * soft-fp/double.h: Likewise.
3092 * soft-fp/eqdf2.c: Likewise.
3093 * soft-fp/eqsf2.c: Likewise.
3094 * soft-fp/eqtf2.c: Likewise.
3095 * soft-fp/extenddftf2.c: Likewise.
3096 * soft-fp/extended.h: Likewise.
3097 * soft-fp/extendsfdf2.c: Likewise.
3098 * soft-fp/extendsftf2.c: Likewise.
3099 * soft-fp/extendxftf2.c: Likewise.
3100 * soft-fp/fixdfdi.c: Likewise.
3101 * soft-fp/fixdfsi.c: Likewise.
3102 * soft-fp/fixdfti.c: Likewise.
3103 * soft-fp/fixsfdi.c: Likewise.
3104 * soft-fp/fixsfsi.c: Likewise.
3105 * soft-fp/fixsfti.c: Likewise.
3106 * soft-fp/fixtfdi.c: Likewise.
3107 * soft-fp/fixtfsi.c: Likewise.
3108 * soft-fp/fixtfti.c: Likewise.
3109 * soft-fp/fixunsdfdi.c: Likewise.
3110 * soft-fp/fixunsdfsi.c: Likewise.
3111 * soft-fp/fixunsdfti.c: Likewise.
3112 * soft-fp/fixunssfdi.c: Likewise.
3113 * soft-fp/fixunssfsi.c: Likewise.
3114 * soft-fp/fixunssfti.c: Likewise.
3115 * soft-fp/fixunstfdi.c: Likewise.
3116 * soft-fp/fixunstfsi.c: Likewise.
3117 * soft-fp/fixunstfti.c: Likewise.
3118 * soft-fp/floatdidf.c: Likewise.
3119 * soft-fp/floatdisf.c: Likewise.
3120 * soft-fp/floatditf.c: Likewise.
3121 * soft-fp/floatsidf.c: Likewise.
3122 * soft-fp/floatsisf.c: Likewise.
3123 * soft-fp/floatsitf.c: Likewise.
3124 * soft-fp/floattidf.c: Likewise.
3125 * soft-fp/floattisf.c: Likewise.
3126 * soft-fp/floattitf.c: Likewise.
3127 * soft-fp/floatundidf.c: Likewise.
3128 * soft-fp/floatundisf.c: Likewise.
3129 * soft-fp/floatunditf.c: Likewise.
3130 * soft-fp/floatunsidf.c: Likewise.
3131 * soft-fp/floatunsisf.c: Likewise.
3132 * soft-fp/floatunsitf.c: Likewise.
3133 * soft-fp/floatuntidf.c: Likewise.
3134 * soft-fp/floatuntisf.c: Likewise.
3135 * soft-fp/floatuntitf.c: Likewise.
3136 * soft-fp/gedf2.c: Likewise.
3137 * soft-fp/gesf2.c: Likewise.
3138 * soft-fp/getf2.c: Likewise.
3139 * soft-fp/ledf2.c: Likewise.
3140 * soft-fp/lesf2.c: Likewise.
3141 * soft-fp/letf2.c: Likewise.
3142 * soft-fp/muldf3.c: Likewise.
3143 * soft-fp/mulsf3.c: Likewise.
3144 * soft-fp/multf3.c: Likewise.
3145 * soft-fp/negdf2.c: Likewise.
3146 * soft-fp/negsf2.c: Likewise.
3147 * soft-fp/negtf2.c: Likewise.
3148 * soft-fp/op-1.h: Likewise.
3149 * soft-fp/op-2.h: Likewise.
3150 * soft-fp/op-4.h: Likewise.
3151 * soft-fp/op-8.h: Likewise.
3152 * soft-fp/op-common.h: Likewise.
3153 * soft-fp/quad.h: Likewise.
3154 * soft-fp/single.h: Likewise.
3155 * soft-fp/soft-fp.h: Likewise.
3156 * soft-fp/subdf3.c: Likewise.
3157 * soft-fp/subsf3.c: Likewise.
3158 * soft-fp/subtf3.c: Likewise.
3159 * soft-fp/truncdfsf2.c: Likewise.
3160 * soft-fp/trunctfdf2.c: Likewise.
3161 * soft-fp/trunctfsf2.c: Likewise.
3162 * soft-fp/trunctfxf2.c: Likewise.
3163 * soft-fp/unorddf2.c: Likewise.
3164 * soft-fp/unordsf2.c: Likewise.
3165 * soft-fp/unordtf2.c: Likewise.
3166
3167 2015-09-24 Richard Earnshaw <rearnsha@arm.com>
3168
3169 PR libgcc/67624
3170 * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
3171
3172 2015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3173
3174 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
3175 Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
3176 * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
3177 messages.
3178 (internal_mcount): Likewise.
3179 * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
3180 crt_compile, add CRTSTUFF_T_CFLAGS_S.
3181
3182 2015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3183
3184 * configure.ac (libgcc_cv_solaris_crts): New test.
3185 * configure: Regenerate.
3186 * config.in: Regenerate.
3187 * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
3188 * config/gmon-sol2.c: Rename to ...
3189 * config/sol2/gmon.c: ... this.
3190 Include auto-target.h.
3191 (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
3192 * config/t-sol2: Rename to ...
3193 * config/sol2/t-sol2: ... this.
3194 (gmon.o): Reflect renaming.
3195 (crtp.o, crtpg.o): New rules.
3196 * config.host (*-*-solaris2*): Reflect renaming.
3197 Use system CRTs if present.
3198 Remove default CRT case.
3199
3200 2015-09-23 John David Anglin <danglin@gcc.gnu.org>
3201
3202 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
3203 (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
3204 __kernel_cmpxchg2.
3205 (__sync_##OP##_and_fetch_##WIDTH): Likewise.
3206 (__sync_val_compare_and_swap_##WIDTH): Likewise.
3207 (__sync_bool_compare_and_swap_##WIDTH): Likewise.
3208 (__sync_lock_test_and_set_##WIDTH): Likewise.
3209 (__sync_lock_release_##WIDTH): Likewise.
3210 (__sync_fetch_and_##OP##_4): Change result to match type of
3211 __kernel_cmpxchg.
3212 (__sync_##OP##_and_fetch_4): Likewise.
3213 (__sync_val_compare_and_swap_4): Likewise.
3214 (__sync_bool_compare_and_swap_4): likewise.
3215 (__sync_lock_test_and_set_4): Likewise.
3216 (__sync_lock_release_4): Likewise.
3217 (FETCH_AND_OP_2): Add long long variants.
3218 (OP_AND_FETCH_2): Likewise.
3219 (COMPARE_AND_SWAP_2 ): Likewise.
3220 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
3221 (SYNC_LOCK_RELEASE_2): Likewise.
3222 (__sync_bool_compare_and_swap_##WIDTH): Correct return.
3223
3224 2015-09-22 Kirill Yukhin <kirill.yukhin@intel.com>
3225
3226 * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
3227 FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
3228 FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
3229 (get_available_features): Habdle new features.
3230
3231 2015-09-21 James Bowman <james.bowman@ftdichip.com>
3232
3233 * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
3234 memory layout. Deal correctly with BSS region larger than 32K.
3235 Handle a watchdog reset like a power-on reset. Clean up unused
3236 code.
3237
3238 2015-09-18 Andrew Dixie <andrewd@gentrack.com>
3239 David Edelsohn <dje.gcc@gmail.com>
3240
3241 * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
3242 * config/rs6000/crtdbase.S: New file.
3243 * config/rs6000/t-aix-cxa: Build crtdbase.o.
3244
3245 2015-09-15 Max Filippov <jcmvbkbc@gmail.com>
3246
3247 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
3248 Add support for call0 ABI.
3249
3250 2015-09-13 John David Anglin <danglin@gcc.gnu.org>
3251
3252 * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
3253
3254 2015-09-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
3255
3256 * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
3257 (__GTHREAD_HAS_COND): Likewise.
3258 (__gthread_t): Likewise.
3259 (__gthread_cond_t): Likewise.
3260 (__gthread_time_t): Likewise.
3261 (__GTHREAD_MUTEX_INIT): Likewise.
3262 (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
3263 (__GTHREAD_COND_INIT): Likewise.
3264 (__GTHREAD_COND_INIT_FUNCTION): Likewise.
3265 (__GTHREAD_TIME_INIT): Likewise.
3266 (__gthread_create): Likewise.
3267 (__gthread_join): Likewise.
3268 (__gthread_detach): Likewise.
3269 (__gthread_equal): Likewise.
3270 (__gthread_self): Likewise.
3271 (__gthread_yield): Likewise.
3272 (__gthread_cond_broadcast): Likewise.
3273 (__gthread_cond_signal): Likewise.
3274 (__gthread_cond_wait): Likewise.
3275 (__gthread_cond_timedwait): Likewise.
3276 (__gthread_cond_wait_recursive): Likewise.
3277 (__gthread_cond_destroy): Likewise.
3278 (rtems_gxx_once): Delete.
3279 (rtems_gxx_key_create): Likewise.
3280 (rtems_gxx_key_delete): Likewise.
3281 (rtems_gxx_getspecific): Likewise.
3282 (rtems_gxx_setspecific): Likewise.
3283 (rtems_gxx_mutex_init): Likewise.
3284 (rtems_gxx_mutex_destroy): Likewise.
3285 (rtems_gxx_mutex_lock): Likewise.
3286 (rtems_gxx_mutex_trylock): Likewise.
3287 (rtems_gxx_mutex_unlock): Likewise.
3288 (rtems_gxx_recursive_mutex_init): Likewise.
3289 (rtems_gxx_recursive_mutex_lock): Likewise.
3290 (rtems_gxx_recursive_mutex_trylock): Likewise.
3291 (rtems_gxx_recursive_mutex_unlock): Likewise.
3292 (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
3293 (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
3294 (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
3295 (__gthread_once): Likewise.
3296 (__gthread_key_create): Likewise.
3297 (__gthread_key_delete): Likewise.
3298 (__gthread_getspecific): Likewise.
3299 (__gthread_setspecific): Likewise.
3300 (__gthread_key_t): Use <pthread.h> type.
3301 (__gthread_once_t): Likewise
3302 (__gthread_mutex_t): Use <sys/lock.h> type.
3303 (__gthread_recursive_mutex_t): Likewise
3304 (__gthread_mutex_lock): Use <sys/lock.h> function.
3305 (__gthread_mutex_trylock): Likewise.
3306 (__gthread_mutex_timedlock): Likewise.
3307 (__gthread_mutex_unlock): Likewise.
3308 (__gthread_mutex_destroy): Likewise.
3309 (__gthread_recursive_mutex_lock): Likewise.
3310 (__gthread_recursive_mutex_trylock): Likewise.
3311 (__gthread_recursive_mutex_timedlock): Likewise.
3312 (__gthread_recursive_mutex_unlock): Likewise.
3313 (__gthread_recursive_mutex_destroy): Likewise.
3314
3315 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
3316
3317 * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
3318 context->sp instead of context->cfa.
3319
3320 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
3321
3322 * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
3323 with unwind-dw2-fde-dip.
3324
3325 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
3326
3327 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
3328 CALL12 followed by series of ENTRY to spill windowed registers.
3329 (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
3330 instead of making linux spill syscall.
3331
3332 2015-08-14 Yuri Rumyantsev <ysrumyan@gmail.com>
3333
3334 * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
3335 (get_intel_cpu): Likewise.
3336
3337 2015-08-12 H.J. Lu <hongjiu.lu@intel.com>
3338
3339 * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
3340 (get_intel_cpu): Add Knights Landing support.
3341
3342 2015-08-11 Uros Bizjak <ubizjak@gmail.com>
3343
3344 PR target/66954
3345 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
3346 (get_available_features): Handle FEATURE_PCLMUL.
3347
3348 2015-08-10 H.J. Lu <hongjiu.lu@intel.com>
3349
3350 * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
3351 Broadwell.
3352
3353 2015-07-22 Uros Bizjak <ubizjak@gmail.com>
3354
3355 PR target/66954
3356 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
3357 (get_available_features): Handle FEATURE_AES.
3358
3359 2015-07-22 Chung-Lin Tang <cltang@codesourcery.com>
3360
3361 * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
3362 (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
3363
3364 2015-07-17 Nathan Sidwell <nathan@codesourcery.com>
3365
3366 * offloadstuff.c: Constify host data.
3367
3368 2015-07-17 Jan Beulich <jbeulich@suse.com>
3369
3370 * config/t-softfp: Split up "else ifneq".
3371
3372 2015-07-14 Sandra Loosemore <sandra@codesourcery.com>
3373 Cesar Philippidis <cesar@codesourcery.com>
3374 Chung-Lin Tang <cltang@codesourcery.com>
3375
3376 * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
3377 for __nios2_arch__ level.
3378
3379 2015-07-13 John Marino <gnugcc@marino.st>
3380
3381 * config/i386/t-dragonfly: New.
3382
3383 2015-07-01 John David Anglin <danglin@gcc.gnu.org>
3384
3385 * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
3386 better match light-weight syscall argument order.
3387 (__kernel_cmpxchg2): Likewise.
3388 Adjust callers.
3389
3390 2015-06-30 H.J. Lu <hongjiu.lu@intel.com>
3391
3392 * config.host: Support i[34567]86-*-elfiamcu target.
3393 * config/t-softfp-sfdftf: New file.
3394 * config/i386/32/t-iamcu: Likewise.
3395 * configure: Regenerated.
3396
3397 2015-06-23 James Lemke <jwlemke@codesourcery.com>
3398
3399 libgcc/config/arm/
3400 * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
3401
3402 2015-05-27 H.J. Lu <hongjiu.lu@intel.com>
3403
3404 * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
3405
3406 2015-05-27 John Marino <gnugcc@marino.st>
3407
3408 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
3409 md_unwind_header
3410 * config/i386/freebsd-unwind.h: New.
3411
3412 2015-05-22 Uros Bizjak <ubizjak@gmail.com>
3413
3414 * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
3415 i386/t-crtfm to tmake_file.
3416 * config/i386/crtfastmath.c (set_fast_math_sse): New function.
3417 (set_fast_math): Use set_fast_math_sse for SSE targets.
3418 * config/i386/t-crtfm: Remove.
3419
3420 2015-05-21 Alan Modra <amodra@gmail.com>
3421
3422 PR libgcc/66225
3423 * config/rs6000/morestack.S: Remove ".abiversion 1".
3424
3425 2015-05-20 Alan Modra <amodra@gmail.com>
3426
3427 * config/rs6000/morestack.S: New.
3428 * config/rs6000/t-stack-rs6000: New.
3429 * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
3430 to tmake_file.
3431 * generic-morestack.c: Don't build for powerpc 32-bit.
3432
3433 2015-05-19 Eric Botcazou <ebotcazou@adacore.com>
3434
3435 * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
3436 Remove useless endif/ifneq ($(enable_shared),yes) pair.
3437
3438 2015-05-16 James Bowman <james.bowman@ftdichip.com>
3439
3440 * config.host: FT32 target added.
3441 * config/ft32/*: New files for FT32 target.
3442
3443 2015-05-15 Martin Galvan <martin.galvan@tallertechnologies.com>
3444
3445 * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
3446 New macros.
3447 * config/arm/ieee754-df.S: Add CFI directives.
3448 * config/arm/ieee754-sf.S: Add CFI directives.
3449
3450 2015-05-13 Eric Botcazou <ebotcazou@adacore.com>
3451
3452 * configure.ac: Include config/sjlj.m4.
3453 Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
3454 * config.in: Regenerate.
3455 * configure: Likewise.
3456 * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
3457
3458 2015-05-12 Uros Bizjak <ubizjak@gmail.com>
3459
3460 * libgcov-util.c: Add space between string literal and macro name.
3461
3462 2015-05-06 Sandra Loosemore <sandra@codesourcery.com>
3463 Chris Jones <chrisj@nvidia.com>
3464 Joshua Conner <jconner@nvidia.com>
3465
3466 * config.host (arm*-*-linux*): Add support for crtfastmath.o.
3467 (arm*-*-uclinux*): Likewise.
3468 (arm*-*-eabi* | arm*-*-rtems*): Likewise.
3469 * config/arm/crtfastmath.c: New file.
3470
3471 2014-04-29 Bernd Schmidt <bernds@codesourcery.com>
3472
3473 * Makefile.in (real_host_noncanonical): New variable.
3474 (libsubdir): Use it.
3475 * configure.ac (real_host_noncanonical): Compute. Remove special
3476 case for intelmicemul.
3477 * configure: Regenerate.
3478
3479 2015-04-28 Uros Bizjak <ubizjak@gmail.com>
3480
3481 * config/frv/elf-lib.h: New file.
3482 (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
3483 * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
3484 to tm_file.
3485
3486 2015-04-28 Uros Bizjak <ubizjak@gmail.com>
3487
3488 * config/frv/frvbengin.c: Do not include defaults.h
3489 * config/frv/frvend.c: Ditto.
3490
3491 2015-04-27 Yoshinori Sato <ysato@users.sourceforge.jp>
3492
3493 * config.host: Add h8300-*-linux
3494 * config/h8300/t-linux: New file.
3495 * config/h8300/lib1funs.s: Change symbol prefix.
3496 * config/h8300/sfp-machine.h: 64bit double support.
3497
3498 2015-04-22 Gregor Richards <gregor.richards@uwaterloo.ca>
3499 Szabolcs Nagy <szabolcs.nagy@arm.com>
3500
3501 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
3502 Linux if target provides dl_iterate_phdr.
3503
3504 2015-04-17 H.J. Lu <hongjiu.lu@intel.com>
3505
3506 PR target/65612
3507 * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
3508 * config/i386/cpuinfo.c (__cpu_model): Initialize.
3509 (__cpu_indicator_init@GCC_4.8.0): New.
3510 (__cpu_model@GCC_4.8.0): Likewise.
3511 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
3512 -DUSE_ELF_SYMVER.
3513
3514 2015-04-16 Nick Clifton <nickc@redhat.com>
3515
3516 * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
3517 and __modhi3 functions.
3518 * config/rl78/divmodso.S: Add G14 and G13 versions of the
3519 __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
3520
3521 2015-04-15 Chen Gang <gang.chen.5i5j@gmail.com>
3522
3523 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
3524 do-while loop as macro body to avoid warnings.
3525
3526 2015-04-10 Jakub Jelinek <jakub@redhat.com>
3527 Iain Sandoe <iain@codesourcery.com>
3528
3529 PR target/65351
3530 * configure: Regenerate.
3531
3532 2015-04-07 Jakub Jelinek <jakub@redhat.com>
3533 Iain Sandoe <iain@codesourcery.com>
3534
3535 PR target/65351
3536 * configure: Regenerate.
3537
3538 2015-03-25 Chung-Lin Tang <cltang@codesourcery.com>
3539
3540 * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
3541
3542 2015-03-03 Max Filippov <jcmvbkbc@gmail.com>
3543
3544 Implement call0 ABI for xtensa
3545 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
3546 __xtensa_nonlocal_goto): Don't compile for call0 ABI.
3547 (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
3548 use ret in call0 ABI.
3549 * config/xtensa/t-windowed: New file.
3550 * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
3551 * libgcc/configure: Regenerated.
3552 * libgcc/configure.ac: Check if xtensa target is configured for
3553 windowed ABI and thus needs to use custom unwind code.
3554
3555 2015-02-12 Jonathan Wakely <jwakely@redhat.com>
3556
3557 PR libgcc/64885
3558 * gthr-single.h: Use __unused__ attribute instead of unused.
3559 * config/gthr-vxworks.h: Likewise.
3560 * config/i386/gthr-win32.h: Likewise.
3561
3562 2015-02-27 Kai Tietz <ktietz@redhat.com>
3563
3564 PR target/65038
3565 * config.in: Regenerated.
3566 * configure: Likewise.
3567 * configure.ac (AC_HEADER_STDC): Added explicit.
3568 (AC_CHECK_HEADERS): Check for default headers plus
3569 for ftw.h header.
3570 * libgcov-util.c (gcov_read_profile_dir): Disable use
3571 of ftw-function, if header is not found.
3572 (ftw_read_file): Likewise.
3573
3574 2015-02-23 Thomas Schwinge <thomas@codesourcery.com>
3575
3576 PR target/65181
3577 * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
3578 -Dinhibit_libc.
3579
3580 2015-02-17 Sandra Loosemore <sandra@codesourcery.com>
3581
3582 * config/arm/bpabi.S (test_div_by_zero): Make label names
3583 consistent between thumb2 and arm mode cases. Separate the
3584 signed comparison on the high word of the numerator from the
3585 unsigned comparison on the low word.
3586 * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
3587 signed comparison.
3588
3589 2015-02-17 Joseph Myers <joseph@codesourcery.com>
3590
3591 * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
3592 and <string.h>.
3593 (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
3594
3595 2015-02-10 Rainer Emrich <rainer@emrich-ebersheim.de>
3596
3597 PR gcov-profile/61889
3598 * libgcov-driver-system.c: undefine clashing macro for mkdir.
3599
3600 2015-02-02 Nick Clifton <nickc@redhat.com>
3601
3602 * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
3603 rounding up the fraction.
3604
3605 2015-01-31 John David Anglin <danglin@gcc.gnu.org>
3606
3607 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
3608 oldval and newval to const void *. Fix typo.
3609 (FETCH_AND_OP_2): Use __atomic_load_n to load value.
3610 (FETCH_AND_OP_WORD): Likewise.
3611 (OP_AND_FETCH_WORD): Likewise.
3612 (COMPARE_AND_SWAP_2): Likewise.
3613 (__sync_val_compare_and_swap_4): Likewise.
3614 (__sync_lock_test_and_set_4): Likewise.
3615 (SYNC_LOCK_RELEASE_2): Likewise.
3616 Remove support for long long atomic operations.
3617
3618 2015-01-27 Caroline Tice <cmtice@google.com>
3619
3620 Committing VTV Cywin/Ming patch for Patrick Wollgast
3621 * Makefile.in: Move rules to build vtv_*.o out of the check
3622 for CUSTOM_CRTSTUFF.
3623 * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
3624 i[34567]86-*-mingw*)
3625 (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
3626 enable_vtable_verify.
3627
3628 2015-01-27 Nick Clifton <nickc@redhat.com>
3629
3630 * config/rl78/cmpsi2.S: Use function start and end macros.
3631 (__gcc_bcmp): New function.
3632 * config/rl78/lshrsi3.S: Use function start and end macros.
3633 * config/rl78/mulsi3.S: Add support for G10.
3634 (__mulqi3): New function for G10.
3635 * config/rl78/signbit.S: Use function start and end macros.
3636 * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
3637 fpmath-sf.S.
3638 (LIB2FUNCS_EXCLUDE): Define.
3639 (LIB2FUNCS_ST): Define.
3640 * config/rl78/trampoline.S: Use function start and end macros.
3641 * config/rl78/vregs.h (START_FUNC): New macro.
3642 (START_ANOTHER_FUNC): New macro.
3643 (END_FUNC): New macro.
3644 (END_ANOTHER_FUNC): New macro.
3645 * config/rl78/bit-count.S: New file. Contains assembler
3646 implementations of the bit counting functions: ___clzhi2,
3647 __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
3648 __paritysi2, __popcounthi2 and __popcountsi2.
3649 * config/rl78/fpbit-sf.S: New file. Contains assembler
3650 implementationas of the math functions: __negsf2, __cmpsf2,
3651 __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
3652 __fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
3653 * config/rl78/fpmath-sf.S: New file. Contains assembler
3654 implementations of the math functions: __subsf3, __addsf3,
3655 __mulsf3 and __divsf3
3656
3657 2015-01-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3658
3659 * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
3660 Add i386/elf-lib.h to tm_file.
3661 * config/i386/elf-lib.h: Fix comment.
3662 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
3663 && __sun__ && __svr4__]: Remove workaround.
3664
3665 2015-01-25 Allan Sandfeld Jensen <sandfeld@kde.org>
3666
3667 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
3668 FEATURE_BMI2.
3669 (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
3670
3671 2015-01-24 H.J. Lu <hongjiu.lu@intel.com>
3672
3673 * config/i386/cpuinfo.c (processor_subtypes): Add
3674 INTEL_COREI7_BROADWELL.
3675 (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
3676 model numbers.
3677
3678 2015-01-23 Uros Bizjak <ubizjak@gmail.com>
3679
3680 * config/i386/elf-lib.h: New file.
3681 (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
3682 Wrap definition in #ifdef __i386__.
3683 * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
3684 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
3685 (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
3686 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
3687 to tm_file.
3688
3689 2015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
3690
3691 * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
3692 "(char *)" to avoid qualifier warning by 'xgcc' compiling.
3693
3694 2015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
3695
3696 * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
3697 Update rt_sigframe format and address for current Nios II
3698 Linux conventions.
3699
3700 2015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
3701
3702 * config.host (arm*-*-freebsd*): Add new configuration for
3703 arm*-*-freebsd*.
3704 * config/arm/freebsd-atomic.c: New file.
3705 * config/arm/t-freebsd: Likewise.
3706 * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
3707 'PC-relative indirect' OS's.
3708
3709 2015-01-06 Eric Botcazou <ebotcazou@adacore.com>
3710
3711 * config.host: Add Visium support.
3712 * config/visium: New directory.
3713
3714 2015-01-05 Jakub Jelinek <jakub@redhat.com>
3715
3716 Update copyright years.
3717
3718 2014-12-19 Matthew Fortune <matthew.fortune@imgtec.com>
3719
3720 * config.host: Support mipsisa32r6 and mipsisa64r6.
3721 * config/mips/mips16.S: Do not build for R6.
3722
3723 2014-12-17 Oleg Endo <olegendo@gcc.gnu.org>
3724
3725 * config/sh/crt.h: New.
3726 * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
3727 symbols.
3728 * config/sh/crt1.S: Likewise.
3729
3730 2014-12-15 Uros Bizjak <ubizjak@gmail.com>
3731
3732 PR libgcc/63832
3733 * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
3734 func_ptr *dtor_list temporary variable to avoid "array subscript
3735 is above array bounds" warnings.
3736
3737 2014-12-09 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
3738
3739 * Makefile.in (with_aix_soname): Define.
3740 * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
3741 * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
3742 * configure: Recreate.
3743
3744 2014-12-05 Olivier Hainque <hainque@adacore.com>
3745
3746 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
3747 now provided by defaults.h.
3748
3749 2014-11-30 Oleg Endo <olegendo@gcc.gnu.org>
3750
3751 PR target/55351
3752 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
3753 whether it's defined.
3754
3755 2014-11-27 Ilya Tocar <ilya.tocar@intel.com>
3756
3757 * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
3758 * config/i386/cpuinfo.c (get_available_features): Detect it.
3759
3760 2014-11-27 Tony Wang <tony.wang@arm.com>
3761
3762 * config/arm/lib1funcs.S (FUNC_START): Add conditional section
3763 redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
3764 (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
3765
3766 2014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
3767
3768 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
3769
3770 2014-11-24 John David Anglin <danglin@gcc.gnu.org>
3771
3772 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
3773 instead.
3774
3775 2014-11-21 Guy Martin <gmsoft@tuxicoman.be>
3776 John David Anglin <danglin@gcc.gnu.org>
3777
3778 * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
3779 (FETCH_AND_OP_2): New. Use for subword and double word operations.
3780 (OP_AND_FETCH_2): Likewise.
3781 (COMPARE_AND_SWAP_2): Likewise.
3782 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
3783 (SYNC_LOCK_RELEASE_2): Likewise.
3784 (SUBWORD_SYNC_OP): Remove.
3785 (SUBWORD_VAL_CAS): Likewise.
3786 (SUBWORD_BOOL_CAS): Likewise.
3787 (FETCH_AND_OP_WORD): Update.
3788 Consistently use signed types.
3789
3790 2014-11-13 Bernd Schmidt <bernds@codesourcery.com>
3791 Thomas Schwinge <thomas@codesourcery.com>
3792 Ilya Verbin <ilya.verbin@intel.com>
3793 Andrey Turetskiy <andrey.turetskiy@intel.com>
3794
3795 * Makefile.in (crtoffloadbegin$(objext)): New rule.
3796 (crtoffloadend$(objext)): Likewise.
3797 * configure: Regenerate.
3798 * configure.ac (accel_dir_suffix): Compute new variable.
3799 (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
3800 if enable_offload_targets is not empty.
3801 * offloadstuff.c: New file.
3802
3803 2014-11-13 Nick Clifton <nickc@redhat.com>
3804
3805 * config/rl78/divmodhi.S: Add support for the G10 architecture.
3806 Use START_FUNC and END_FUNC macros to enable linker garbage
3807 collection.
3808 * config/rl78/divmodqi.S: Likewise.
3809 * config/rl78/divmodsi.S: Likewise.
3810 * config/rl78/mulsi3.S: Likewise.
3811 * config/rl78/lib2div.c: Remove G10 functions.
3812 * config/rl78/lib2muls.c: Likewise.
3813 * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
3814 * config/rl78/vregs.h (START_FUNC): New macro.
3815 (END_FUNC): New macro.
3816
3817 2014-11-12 Matthew Fortune <matthew.fortune@imgtec.com>
3818
3819 * config/mips/mips16.S: Set .module when supported. Update O32
3820 FP64 calling convention and use for FPXX when possible. Add FPXX
3821 calling convention fallback case.
3822
3823 2014-11-06 Bernd Schmidt <bernds@codesourcery.com>
3824
3825 * config.host: Handle nvptx-*-*.
3826 * shared-object.mk (as-flags-$o): Define.
3827 ($(base)$(objext), $(base)_s$(objext)): Use it instead of
3828 -xassembler-with-cpp.
3829 * static-object.mk: Identical changes.
3830 * config/nvptx/t-nvptx: New file.
3831 * config/nvptx/crt0.s: New file.
3832 * config/nvptx/free.asm: New file.
3833 * config/nvptx/malloc.asm: New file.
3834 * config/nvptx/realloc.c: New file.
3835
3836 2014-10-30 Joseph Myers <joseph@codesourcery.com>
3837
3838 * Makefile.in (libgcc.map.in): New target.
3839 (libgcc.map): Use libgcc.map.in.
3840 * config/t-softfp (softfp_compat): New variable to be set by
3841 users.
3842 [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
3843 variables.
3844 [$(softfp_compat) = y] (softfp_file_list): Use files in the build
3845 directory.
3846 [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
3847 that use compat symbols and disable all code unless [SHARED].
3848 * config/t-softfp-compat: New file.
3849 * find-symver.awk: New file.
3850 * configure.ac (--with-glibc-version): New configure option.
3851 (ppc_fp_compat): New variable set for powerpc*-*-linux*.
3852 * configure: Regenerate.
3853 * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
3854 soft-float and e500.
3855
3856 2014-10-29 Joseph Myers <joseph@codesourcery.com>
3857
3858 * config/t-hardfp (hardfp_exclusions): Document new variable for
3859 user to define.
3860 (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
3861 * config/t-softfp (softfp_extras): Document new variable for user
3862 to define.
3863 (softfp_func_list): Add functions from $(softfp_extras).
3864 * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
3865 * config.host (powerpc*-*-linux*): For e500v1, use
3866 rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
3867 t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
3868 and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
3869
3870 2014-10-26 John David Anglin <danglin@gcc.gnu.org>
3871
3872 * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
3873 (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
3874 memory read accesses are ok.
3875
3876 2014-10-25 Joseph Myers <joseph@codesourcery.com>
3877
3878 * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
3879 * configure: Regenerate.
3880 * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
3881 additions to tmake_file. Use t-hardfp-sfdf and t-hardfp instead
3882 of soft-fp for 32-bit classic hard float. Do not use
3883 t-softfp-excl for soft float.
3884
3885 2014-10-22 Joseph Myers <joseph@codesourcery.com>
3886
3887 * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
3888 configurations.
3889 * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
3890 Remove variables.
3891
3892 2014-10-22 Georg-Johann Lay <avr@gjlay.de>
3893
3894 * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
3895 introduced with 2014-10-21 trunk r216525.
3896
3897 2014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
3898 Vidya Praveen <vidya.praveen@atmel.com>
3899 Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
3900 Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
3901 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
3902
3903 * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
3904 order.
3905
3906 Updated library functions for AVRTINY arch.
3907 * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
3908 Replaced occurrences of r0/r1 with tmp/zero reg macros.
3909 Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
3910 or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
3911 wsubi/wadi macors.
3912 (__mulsi3_helper): Update stack, preserve callee saved regs and
3913 argument from stack. Restore callee save registers.
3914 (__mulpsi3): Likewise.
3915 (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
3916 __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
3917 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
3918 AVRTINY.
3919 (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
3920 (__do_copy_data): Added new definition for AVRTINY.
3921 (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
3922 (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
3923 __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
3924 * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
3925 tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
3926 macors.
3927 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
3928 AVRTINY.
3929
3930 Fix broken long multiplication on tiny arch.
3931
3932 2014-10-09 Joseph Myers <joseph@codesourcery.com>
3933
3934 * soft-fp/double.h: Update from glibc.
3935 * soft-fp/eqdf2.c: Likewise.
3936 * soft-fp/eqsf2.c: Likewise.
3937 * soft-fp/eqtf2.c: Likewise.
3938 * soft-fp/extenddftf2.c: Likewise.
3939 * soft-fp/extended.h: Likewise.
3940 * soft-fp/extendsfdf2.c: Likewise.
3941 * soft-fp/extendsftf2.c: Likewise.
3942 * soft-fp/extendxftf2.c: Likewise.
3943 * soft-fp/gedf2.c: Likewise.
3944 * soft-fp/gesf2.c: Likewise.
3945 * soft-fp/getf2.c: Likewise.
3946 * soft-fp/ledf2.c: Likewise.
3947 * soft-fp/lesf2.c: Likewise.
3948 * soft-fp/letf2.c: Likewise.
3949 * soft-fp/op-1.h: Likewise.
3950 * soft-fp/op-2.h: Likewise.
3951 * soft-fp/op-4.h: Likewise.
3952 * soft-fp/op-8.h: Likewise.
3953 * soft-fp/op-common.h: Likewise.
3954 * soft-fp/quad.h: Likewise.
3955 * soft-fp/single.h: Likewise.
3956 * soft-fp/soft-fp.h: Likewise.
3957 * soft-fp/unorddf2.c: Likewise.
3958 * soft-fp/unordsf2.c: Likewise.
3959 * soft-fp/unordtf2.c: Likewise.
3960 * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
3961 * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
3962 * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
3963 * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
3964 * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
3965 * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
3966 * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
3967 * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
3968 * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
3969 * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
3970
3971 2014-10-08 Rong Xu <xur@google.com>
3972
3973 * libgcov-util.c (read_gcda_file): Fix format.
3974 (find_match_gcov_info): Ditto.
3975 (calculate_2_entries): New.
3976 (compute_one_gcov): Ditto.
3977 (gcov_info_count_all_cold): Ditto.
3978 (gcov_info_count_all_zero): Ditto.
3979 (extract_file_basename): Ditto.
3980 (get_file_basename): Ditto.
3981 (set_flag): Ditto.
3982 (matched_gcov_info): Ditto.
3983 (calculate_overlap): Ditto.
3984 (gcov_profile_overlap): Ditto.
3985 * libgcov-driver.c (compute_summary): Make
3986 it avavilable for external calls.
3987
3988 2014-10-06 Rong Xu <xur@google.com>
3989
3990 * Makefile.in: Ditto.
3991 * libgcov-driver.c (gcov_sort_n_vals): New utility function.
3992 (gcov_sort_icall_topn_counter): Ditto.
3993 (gcov_sort_topn_counter_arrays): Ditto.
3994 (dump_one_gcov): Sort indirect_call topn counters.
3995 * libgcov-merge.c (__gcov_merge_icall_topn): New merge
3996 function.
3997 * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
3998 utility function.
3999 (__gcov_indirect_call_topn_profiler): New profiler function.
4000 * libgcov-util.c (__gcov_icall_topn_counter_op): New.
4001 * libgcov.h: New decls.
4002
4003 2014-10-04 Trevor Saunders <tsaunders@mozilla.com>
4004
4005 * config.host: Remove support for score-*.
4006
4007 2014-09-22 Joseph Myers <joseph@codesourcery.com>
4008
4009 * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
4010 (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
4011 (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
4012 __LIBGCC_XF_MANT_DIG__.
4013 (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
4014 (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
4015 __LIBGCC_TF_MANT_DIG__.
4016 * libgcc2.c (NOTRUNC): Define in terms of
4017 __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
4018 * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
4019
4020 2014-09-22 Joseph Myers <joseph@codesourcery.com>
4021
4022 PR target/63312
4023 * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
4024 New macros.
4025
4026 2014-09-22 Hans-Peter Nilsson <hp@axis.com>
4027
4028 * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
4029 override USE_PT_GNU_EH_FRAME.
4030 [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
4031 check USE_EH_FRAME_REGISTRY_ALWAYS against
4032 __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
4033 * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
4034 variable for substituted force_explicit_eh_registry.
4035 (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
4036 * configure.ac (explicit-exception-frame-registration):
4037 New AC_ARG_ENABLE.
4038 * configure: Regenerate.
4039
4040 2014-09-19 Olivier Hainque <hainque@adacore.com>
4041
4042 * config.host (powerpc-wrs-vxworksmils): New configuration,
4043 same as vxworksae.
4044
4045 2014-09-18 Joseph Myers <joseph@codesourcery.com>
4046
4047 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
4048
4049 2014-09-18 Joseph Myers <joseph@codesourcery.com>
4050
4051 * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
4052 bits not set bits as indicating trapping exceptions.
4053
4054 2014-09-17 Nathan sidwell <nathan@acm.org>
4055
4056 * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
4057 (LIBGCOV_DRIVER): ... here.
4058 * libgcov-driver.c (gcov_master): New.
4059 (gcov_exit): Remove from master chain.
4060 (__gcov_init): Add to master chain if version compatible. Don't
4061 clear the version.
4062 * libgcov_interface (__gcov_flust): Call gcov_dump_int.
4063 (gcov_reset_int): Clear master chain, if compatible.
4064 (gcov_dump_int): New internal interface. Dump master chain, if
4065 compatible.
4066 (gcov_dump): Alias for gcov_dump_int.
4067 * libgcov.h (struct gcov_root): Add next and prev fields.
4068 (struct gcov_master): New struct.
4069 (__gcov_master): New.
4070 (gcov_dump_int): Declare.
4071
4072 2014-09-17 Olivier Hainque <hainque@adacore.com>
4073
4074 * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
4075 and crtbegin.o + crtend.o to extra_parts.
4076
4077 2014-09-12 Joseph Myers <joseph@codesourcery.com>
4078
4079 * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
4080 __LIBGCC_HAS_SF_MODE__.
4081 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
4082 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
4083 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
4084 * config/libbid/bid_gcc_intrinsics.h
4085 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
4086 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
4087 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
4088 * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
4089 (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
4090 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
4091
4092 2014-09-11 Georg-Johann Lay <avr@gjlay.de>
4093
4094 PR target/63223
4095 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
4096 and R24 as needed. Make work for all devices and .text locations.
4097 (__do_global_ctors, __do_global_dtors): Use word addresses.
4098 (__tablejump__, __tablejump_elpm__): Remove functions.
4099 * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
4100 Add _tablejump2.
4101 (XICALL, XIJMP): New macros.
4102
4103 2014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
4104 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
4105
4106 * config.host (aarch64*): Include crtfastmath.o and
4107 t-crtfm.
4108 * config/aarch64/crtfastmath.c: New file.
4109
4110 2014-09-08 Trevor Saunders <tsaunders@mozilla.com>
4111
4112 * config.host: Remove picochip support.
4113 * config/picochip/adddi3.S: Remove.
4114 * config/picochip/ashlsi3.S: Remove.
4115 * config/picochip/ashlsi3.c: Remove.
4116 * config/picochip/ashrsi3.S: Remove.
4117 * config/picochip/ashrsi3.c: Remove.
4118 * config/picochip/clzsi2.S: Remove.
4119 * config/picochip/cmpsi2.S: Remove.
4120 * config/picochip/divmod15.S: Remove.
4121 * config/picochip/divmodhi4.S: Remove.
4122 * config/picochip/divmodsi4.S: Remove.
4123 * config/picochip/lib1funcs.S: Remove.
4124 * config/picochip/longjmp.S: Remove.
4125 * config/picochip/lshrsi3.S: Remove.
4126 * config/picochip/lshrsi3.c: Remove.
4127 * config/picochip/parityhi2.S: Remove.
4128 * config/picochip/popcounthi2.S: Remove.
4129 * config/picochip/setjmp.S: Remove.
4130 * config/picochip/subdi3.S: Remove.
4131 * config/picochip/t-picochip: Remove.
4132 * config/picochip/ucmpsi2.S: Remove.
4133 * config/picochip/udivmodhi4.S: Remove.
4134 * config/picochip/udivmodsi4.S: Remove.
4135
4136 2014-09-08 Joseph Myers <joseph@codesourcery.com>
4137
4138 * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
4139 (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
4140 (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
4141 (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
4142 * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
4143 error if not defined and LIBGCC2_HAS_SF_MODE is defined.
4144 (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
4145 defined and LIBGCC2_HAS_DF_MODE is defined.
4146 (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
4147 defined and LIBGCC2_HAS_XF_MODE is defined.
4148 (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
4149 defined and LIBGCC2_HAS_TF_MODE is defined.
4150
4151 2014-09-08 Joseph Myers <joseph@codesourcery.com>
4152
4153 * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
4154 and ROUND_TOWARDS_ZERO conditionals.
4155
4156 2014-09-07 Nathan sidwell <nathan@acm.org>
4157
4158 * libgcov-interface.c (STRONG_ALIAS): Rename to ...
4159 (ALIAS_weak): ... here. Use forwarding function. Adjust uses.
4160
4161 2014-09-05 Joseph Myers <joseph@codesourcery.com>
4162
4163 * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
4164 * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
4165 uses to __LIBGCC_STACK_POINTER_REGNUM__.
4166 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
4167 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4168 * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
4169 Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4170 * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
4171 uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
4172 (DWARF_FRAME_REGISTERS): Change all uses to
4173 __LIBGCC_DWARF_FRAME_REGISTERS__.
4174 (EH_RETURN_STACKADJ_RTX): Change all uses to
4175 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
4176 * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
4177 __LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
4178 * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
4179 use to __LIBGCC_EH_FRAME_SECTION_NAME__.
4180 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
4181 * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
4182 to __LIBGCC_EH_FRAME_SECTION_NAME__.
4183 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
4184 * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
4185 __LIBGCC_STACK_POINTER_REGNUM__.
4186 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
4187 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4188 * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
4189 to __LIBGCC_STACK_POINTER_REGNUM__.
4190 * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
4191 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4192 * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
4193 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4194 * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
4195 Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4196 (STACK_POINTER_REGNUM): Change all uses to
4197 __LIBGCC_STACK_POINTER_REGNUM__.
4198 * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
4199 use to __LIBGCC_STACK_POINTER_REGNUM__.
4200 * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
4201 uses to __LIBGCC_STACK_POINTER_REGNUM__.
4202 * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
4203 to __LIBGCC_DWARF_FRAME_REGISTERS__.
4204 * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
4205 to __LIBGCC_DWARF_FRAME_REGISTERS__.
4206 * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
4207 to __LIBGCC_STACK_POINTER_REGNUM__.
4208 * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
4209 Remove conditional definition.
4210 * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
4211 __LIBGCC_TEXT_SECTION_ASM_OP__.
4212 (EH_FRAME_SECTION_NAME): Change all uses to
4213 __LIBGCC_EH_FRAME_SECTION_NAME__.
4214 (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
4215 __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
4216 (CTORS_SECTION_ASM_OP): Change all uses to
4217 __LIBGCC_CTORS_SECTION_ASM_OP__.
4218 (DTORS_SECTION_ASM_OP): Change all uses to
4219 __LIBGCC_DTORS_SECTION_ASM_OP__.
4220 (JCR_SECTION_NAME): Change all uses to
4221 __LIBGCC_JCR_SECTION_NAME__.
4222 (INIT_SECTION_ASM_OP): Change all uses to
4223 __LIBGCC_INIT_SECTION_ASM_OP__.
4224 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
4225 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
4226 * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
4227 __LIBGCC_STACK_GROWS_DOWNWARD__.
4228 * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
4229 __LIBGCC_INIT_SECTION_ASM_OP__.
4230 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
4231 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
4232 (EH_FRAME_SECTION_NAME): Change all uses to
4233 __LIBGCC_EH_FRAME_SECTION_NAME__.
4234 * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
4235 definitions. Change all uses to
4236 __LIBGCC_VTABLE_USES_DESCRIPTORS__.
4237 * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
4238 __LIBGCC_STACK_GROWS_DOWNWARD__.
4239 (DWARF_FRAME_REGISTERS): Change all uses to
4240 __LIBGCC_DWARF_FRAME_REGISTERS__.
4241 (EH_RETURN_STACKADJ_RTX): Change all uses to
4242 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
4243 * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
4244 definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
4245 * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
4246 __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
4247 (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
4248
4249 2014-09-02 Nathan sidwell <nathan@acm.org>
4250
4251 * libgcov-interface.c (STRONG_ALIAS): New.
4252 (__gcov_flush): Call __gcov_reset_int.
4253 (__gcov_reset): Strong alias for ...
4254 (__gcov_reset_ing): ... this renamed hidden version.
4255 * libgcov.h (__gcov_reset_int): New declaration.
4256
4257 2014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
4258
4259 * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
4260 call from here...
4261 * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
4262 (__dso_handle): Define on Cygwin.
4263 * config/i386/t-cygming (crtbeginS.o): New rule.
4264 * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
4265
4266 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
4267 declaration syntax.
4268
4269 2014-08-13 Steve Ellcey <sellcey@mips.com>
4270
4271 * crtstuff.c: Undef caddr_t.
4272
4273 2014-08-12 Steve Ellcey <sellcey@mips.com>
4274
4275 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
4276
4277 2014-08-07 Nathan Sidwell <nathan@acm.org>
4278
4279 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
4280 (LIBGCOV_DRIVER): ... to here.
4281 * libgcov.h (gcov_do_dump): New #define.
4282 (struct gcov_root): New.
4283 (__gcov_root): New declaration.
4284 (__gcov_dump_one): Declare.
4285 * libgcov-driver.c (gcov_list, gcov_dump_complete,
4286 run_accounted): Delete.
4287 (gcov_compute_histogram): Add LIST argument, adjust.
4288 (compute_summary): Adjust gcov_compute_histogram call.
4289 (gcov_do_dump): Not hidden, static in libgcov.
4290 (gcov_clear): Move to interface.c.
4291 (__gcov_dump_one): New, broken out of ...
4292 (gcov_exit): ... here. Make static.
4293 (__gcov_root): New.
4294 (__gcov_init): Adjust.
4295 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
4296 declarations.
4297 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
4298 (gcov_clear): Moved from driver.c. Add LIST argument.
4299 (__gcov_reset): Adjust for changed interfaces.
4300 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
4301
4302 2014-08-04 Rohit <rohitarulraj@freescale.com>
4303
4304 PR target/60102
4305 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
4306 based on change in SPE high register numbers and 3 HTM registers.
4307
4308 2014-08-01 Nathan Sidwell <nathan@acm.org>
4309
4310 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
4311 LIBGCOV_INTERFACE): Reformat.
4312 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
4313 IN_GCOV_TOOL.
4314 * libgcov-interface.c: Reformat some comments.
4315 (__gcov_flush_mx): Add declaration. Tidy up definition.
4316
4317 2014-07-31 Alan Modra <amodra@gmail.com>
4318 Peter Bergner <bergner@vnet.ibm.com>
4319
4320 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
4321 (pack_ldouble): New function.
4322 (__gcc_qadd): Use it.
4323 (__gcc_qmul): Likewise.
4324 (__gcc_qdiv): Likewise.
4325 (__gcc_qneg): Likewise.
4326 (__gcc_stoq): Likewise.
4327 (__gcc_dtoq): Likewise.
4328
4329 2014-07-30 J. D. Johnston <jjohnst@us.ibm.com>
4330
4331 * config/s390/tpf-unwind.h: Include <stdbool.h>.
4332 (__tpf_eh_return): Add original return address as second parameter.
4333 Handle cases where unwinder routines were called directly, instead
4334 of from within the C++ library.
4335
4336 2014-07-29 Nathan Sidwell <nathan@acm.org>
4337
4338 * libgcov.h: Move renaming of entry points to lib gcov specific
4339 portion.
4340 (gcov_do_dump): New rename.
4341 (gcov_rewrite): Remove inline, make HIDDEN.
4342 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
4343 (gcov_exit_compute_summary): Rename to ...
4344 (compute_summary): ... here. Add LIST argument.
4345 (gcov_exit_merge_gcda): Rename to ...
4346 (merge_one_data): ... here.
4347 (gcov_exit_write_gcda): Rename to ...
4348 (write_one_data): ... here.
4349 (gcov_exit_merge_summary): Rename to ...
4350 (merge_summary): Add RUN_COUNTED argument.
4351 (gcov_exit_dump_gcov): Rename to ...
4352 (dump_one_gcov): Add RUN_COUNTED argument.
4353 (gcov_do_dump): New function, broken out of ...
4354 (gcov_exit): ... here. Call it.
4355
4356 2014-07-27 Anthony Green <green@moxielogic.com>
4357
4358 * config.host: Add moxiebox configuration suppport.
4359
4360 2014-07-27 Nathan Sidwell <nathan@acm.org>
4361
4362 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
4363 (struct gcov_filename): ... here. Include buffer and max length
4364 fields.
4365 (gcov_max_filename): Remove.
4366 (gi_filename): Remove.
4367 (gcov_exit_compute_summary): Compute max filename here.
4368 (gcov_exit_merge_gcda): Add filename parm, adjust.
4369 (gcov_exit_merge_summary): Likewise.
4370 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
4371 (gcov_exit): Likewise.
4372 (__gcov_init): Don't calculate max length here.
4373 * libgcov_util.c (max_filename_len): Remove.
4374 (read_gcda_file): Don't calculate max length here.
4375 (gcov_read_profile_dir): Don't propagate here.
4376 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
4377 struct gcov_filename changes.
4378 (gcov_exit_open_gcda_file): Likewise.
4379
4380 2014-07-25 Nathan Sidwell <nathan@acm.org>
4381
4382 * libgcov-driver.c (set_gcov_dump_complete,
4383 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
4384 functions polluting user's namespace.
4385 (gcov_exit): Set variable directly.
4386 (gcov_clear): Reset variable directly.
4387 * libgcov-interface.c (get_gcov_dymp_complete,
4388 reset_gov_dump_complete): Remove declarations.
4389 (__gcov_reset, __gcov_dump): Don't call them.
4390
4391 2014-07-24 DJ Delorie <dj@redhat.com>
4392
4393 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
4394 (__gcc_deregister_frame): Move logic to detect deregister function
4395 to ...
4396 (__gcc_register_frame): here, so it's consistent with the register
4397 logic.
4398
4399 2014-07-23 Nathan Sidwell <nathan@acm.org>
4400
4401 * libgcov-driver.c (set_gcov_list): Remove.
4402 (gcov_list): Make non-static in GCOV_TOOL.
4403 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
4404
4405 2014-07-17 John David Anglin <danglin@gcc.gnu.org>
4406
4407 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
4408 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
4409 Don't use SYNC_LOCK_RELEASE for int type.
4410
4411 2014-07-14 Richard Biener <rguenther@suse.de>
4412
4413 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
4414
4415 2014-07-11 Rong Xu <xur@google.com>
4416
4417 * libgcov-util.c (gcov_max_filename): Fix declartion.
4418
4419 2014-07-10 Rong Xu <xur@google.com>
4420
4421 Add gcov-tool: an offline gcda profile processing tool
4422 Support.
4423 * libgcov-driver.c (gcov_max_filename): Make available
4424 to gcov-tool.
4425 * libgcov-merge.c (__gcov_merge_add): Replace
4426 gcov_read_counter() with a Macro.
4427 (__gcov_merge_ior): Ditto.
4428 (__gcov_merge_time_profile): Ditto.
4429 (__gcov_merge_single): Ditto.
4430 (__gcov_merge_delta): Ditto.
4431 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
4432 in the utility functions.
4433 (set_fn_ctrs): Utility function for reading gcda files to in-memory
4434 gcov_list object link lists.
4435 (tag_function): Ditto.
4436 (tag_blocks): Ditto.
4437 (tag_arcs): Ditto.
4438 (tag_lines): Ditto.
4439 (tag_counters): Ditto.
4440 (tag_summary): Ditto.
4441 (read_gcda_finalize): Ditto.
4442 (read_gcda_file): Ditto.
4443 (ftw_read_file): Ditto.
4444 (read_profile_dir_init): Ditto.
4445 (gcov_read_profile_dir): Ditto.
4446 (gcov_read_counter_mem): Ditto.
4447 (gcov_get_merge_weight): Ditto.
4448 (merge_wrapper): A wrapper function that calls merging handler.
4449 (gcov_merge): Merge two gcov_info objects with weights.
4450 (find_match_gcov_info): Find the matched gcov_info in the list.
4451 (gcov_profile_merge): Merge two gcov_info object lists.
4452 (__gcov_add_counter_op): Process edge profile counter values.
4453 (__gcov_ior_counter_op): Process IOR profile counter values.
4454 (__gcov_delta_counter_op): Process delta profile counter values.
4455 (__gcov_single_counter_op): Process single profile counter values.
4456 (fp_scale): Callback function for float-point scaling.
4457 (int_scale): Callback function for integer fraction scaling.
4458 (gcov_profile_scale): Scaling profile counters.
4459 (gcov_profile_normalize): Normalize profile counters.
4460 * libgcov.h: Add headers and functions for gcov-tool use.
4461 (gcov_get_counter): New.
4462 (gcov_get_counter_target): Ditto.
4463 (struct gcov_info): Make the functions field mutable in gcov-tool
4464 compilation.
4465
4466 2014-06-23 Kai Tietz <ktietz@redhat.com>
4467
4468 PR libgcc/61585
4469 * unwind-seh.c (_Unwind_GetGR): Check for proper
4470 index range.
4471 (_Unwind_SetGR): Likewise.
4472
4473 2014-05-22 Nick Clifton <nickc@redhat.com>
4474
4475 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
4476 -mhwmult=none.
4477
4478 2014-05-22 Teresa Johnson <tejohnson@google.com>
4479
4480 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
4481 include.
4482
4483 2014-05-20 John Marino <gnugcc@marino.st>
4484
4485 * config.host (*-*-dragonfly*): New target.
4486 * crtstuff.c: Make dl_iterate_support generic on *bsd.
4487 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
4488 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
4489 * config/i386/dragonfly-unwind.h: New.
4490
4491 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
4492
4493 PR libgcc/60166
4494 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
4495 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
4496
4497 2014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
4498
4499 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
4500 implementation.
4501
4502 2014-05-12 Georg-Johann Lay <avr@gjlay.de>
4503
4504 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
4505
4506 2014-05-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4507
4508 PR libgcc/61097
4509 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
4510 if --enable-shared.
4511
4512 2014-04-30 Bernd Edlinger <bernd.edlinger@hotmail.de>
4513
4514 Work around for current cygwin32 build problems.
4515 * config/i386/cygming-crtbegin.c (__register_frame_info,
4516 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
4517 functions only for 64-bit systems.
4518
4519 2014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4520
4521 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
4522 (sigill_caught, sigill_hdlr): Remove.
4523
4524 2014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4525
4526 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
4527 check.
4528 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
4529 Solaris 9 single-threaded support.
4530 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
4531 Solaris 9 single-threaded support. Add call_user_handler code
4532 sequences.
4533 (sparc_is_sighandler): Likewise.
4534
4535 2014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4536
4537 * config.host: Append t-floattodi to tmake_file depending on
4538 host_address.
4539
4540 2014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
4541
4542 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
4543
4544 2014-03-10 Uros Bizjak <ubizjak@gmail.com>
4545
4546 PR libgcc/60472
4547 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
4548 variable to avoid "array subscript is above array bounds" warnings.
4549 Use __builtin_expect when checking *jcr_list for NULL.
4550
4551 2014-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4552
4553 PR libgcc/59339
4554 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
4555 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
4556 vtv_*.o to extra_parts if enable_vtable_verify.
4557
4558 2014-03-06 Nick Clifton <nickc@redhat.com>
4559
4560 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
4561 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
4562
4563 2014-02-28 Joey Ye <joey.ye@arm.com>
4564
4565 PR libgcc/60166
4566 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
4567 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
4568 Set to zero.
4569
4570 2014-02-24 Walter Lee <walt@tilera.com>
4571
4572 * config.host: Support "tilegx*" and "tilepro*" triplets.
4573 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
4574 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
4575
4576 2014-02-20 Sandra Loosemore <sandra@codesourcery.com>
4577 Chung-Lin Tang <cltang@codesourcery.com>
4578
4579 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
4580 * config/nios2/crti.S: Remove .file directive.
4581 * config/nios2/crtn.S: Likewise.
4582
4583 2014-02-18 Kai Tietz <ktietz@redhat.com>
4584 Jonathan Schleifer <js@webkeks.org>
4585
4586 PR objc/56870
4587 * unwind-seh.c (_GCC_specific_handler): Pass proper
4588 value to unwind-handler.
4589
4590 2014-02-12 Joseph Myers <joseph@codesourcery.com>
4591
4592 * soft-fp/adddf3.c: Update from glibc.
4593 * soft-fp/addsf3.c: Likewise.
4594 * soft-fp/addtf3.c: Likewise.
4595 * soft-fp/divdf3.c: Likewise.
4596 * soft-fp/divsf3.c: Likewise.
4597 * soft-fp/divtf3.c: Likewise.
4598 * soft-fp/double.h: Likewise.
4599 * soft-fp/eqdf2.c: Likewise.
4600 * soft-fp/eqsf2.c: Likewise.
4601 * soft-fp/eqtf2.c: Likewise.
4602 * soft-fp/extenddftf2.c: Likewise.
4603 * soft-fp/extended.h: Likewise.
4604 * soft-fp/extendsfdf2.c: Likewise.
4605 * soft-fp/extendsftf2.c: Likewise.
4606 * soft-fp/extendxftf2.c: Likewise.
4607 * soft-fp/fixdfdi.c: Likewise.
4608 * soft-fp/fixdfsi.c: Likewise.
4609 * soft-fp/fixdfti.c: Likewise.
4610 * soft-fp/fixsfdi.c: Likewise.
4611 * soft-fp/fixsfsi.c: Likewise.
4612 * soft-fp/fixsfti.c: Likewise.
4613 * soft-fp/fixtfdi.c: Likewise.
4614 * soft-fp/fixtfsi.c: Likewise.
4615 * soft-fp/fixtfti.c: Likewise.
4616 * soft-fp/fixunsdfdi.c: Likewise.
4617 * soft-fp/fixunsdfsi.c: Likewise.
4618 * soft-fp/fixunsdfti.c: Likewise.
4619 * soft-fp/fixunssfdi.c: Likewise.
4620 * soft-fp/fixunssfsi.c: Likewise.
4621 * soft-fp/fixunssfti.c: Likewise.
4622 * soft-fp/fixunstfdi.c: Likewise.
4623 * soft-fp/fixunstfsi.c: Likewise.
4624 * soft-fp/fixunstfti.c: Likewise.
4625 * soft-fp/floatdidf.c: Likewise.
4626 * soft-fp/floatdisf.c: Likewise.
4627 * soft-fp/floatditf.c: Likewise.
4628 * soft-fp/floatsidf.c: Likewise.
4629 * soft-fp/floatsisf.c: Likewise.
4630 * soft-fp/floatsitf.c: Likewise.
4631 * soft-fp/floattidf.c: Likewise.
4632 * soft-fp/floattisf.c: Likewise.
4633 * soft-fp/floattitf.c: Likewise.
4634 * soft-fp/floatundidf.c: Likewise.
4635 * soft-fp/floatundisf.c: Likewise.
4636 * soft-fp/floatunditf.c: Likewise.
4637 * soft-fp/floatunsidf.c: Likewise.
4638 * soft-fp/floatunsisf.c: Likewise.
4639 * soft-fp/floatunsitf.c: Likewise.
4640 * soft-fp/floatuntidf.c: Likewise.
4641 * soft-fp/floatuntisf.c: Likewise.
4642 * soft-fp/floatuntitf.c: Likewise.
4643 * soft-fp/gedf2.c: Likewise.
4644 * soft-fp/gesf2.c: Likewise.
4645 * soft-fp/getf2.c: Likewise.
4646 * soft-fp/ledf2.c: Likewise.
4647 * soft-fp/lesf2.c: Likewise.
4648 * soft-fp/letf2.c: Likewise.
4649 * soft-fp/muldf3.c: Likewise.
4650 * soft-fp/mulsf3.c: Likewise.
4651 * soft-fp/multf3.c: Likewise.
4652 * soft-fp/negdf2.c: Likewise.
4653 * soft-fp/negsf2.c: Likewise.
4654 * soft-fp/negtf2.c: Likewise.
4655 * soft-fp/op-1.h: Likewise.
4656 * soft-fp/op-2.h: Likewise.
4657 * soft-fp/op-4.h: Likewise.
4658 * soft-fp/op-8.h: Likewise.
4659 * soft-fp/op-common.h: Likewise.
4660 * soft-fp/quad.h: Likewise.
4661 * soft-fp/single.h: Likewise.
4662 * soft-fp/soft-fp.h: Likewise.
4663 * soft-fp/subdf3.c: Likewise.
4664 * soft-fp/subsf3.c: Likewise.
4665 * soft-fp/subtf3.c: Likewise.
4666 * soft-fp/truncdfsf2.c: Likewise.
4667 * soft-fp/trunctfdf2.c: Likewise.
4668 * soft-fp/trunctfsf2.c: Likewise.
4669 * soft-fp/trunctfxf2.c: Likewise.
4670 * soft-fp/unorddf2.c: Likewise.
4671 * soft-fp/unordsf2.c: Likewise.
4672 * soft-fp/unordtf2.c: Likewise.
4673 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
4674 macro.
4675 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4676 Likewise.
4677 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4678 Likewise.
4679 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4680 Likewise.
4681 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4682 Likewise.
4683 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4684 Likewise.
4685 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4686 Likewise.
4687 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4688 Likewise.
4689 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4690 Likewise.
4691 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4692 Likewise.
4693 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4694 Likewise.
4695 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4696 Likewise.
4697 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4698 Likewise.
4699 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
4700 Likewise.
4701 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
4702 Likewise.
4703 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4704 Likewise.
4705
4706 2014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4707
4708 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
4709 cannot be represented.
4710 * config/s390/32/_fixsfdi.c: Likewise.
4711 * config/s390/32/_fixtfdi.c: Likewise.
4712 * config/s390/32/_fixunsdfdi.c: Likewise.
4713 * config/s390/32/_fixunssfdi.c: Likewise.
4714 * config/s390/32/_fixunstfdi.c: Likewise.
4715
4716 2014-02-07 Richard Sandiford <rdsandiford@googlemail.com>
4717
4718 * configure.ac (libgcc_cv_mips_hard_float): New.
4719 * configure: Regenerate.
4720 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
4721 t-softfp-sfdf for hard-float targets.
4722 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
4723 (softfp_float_modes, softfp_int_modes, softfp_extensions)
4724 (softfp_truncations, softfp_exclude_libgcc2): New.
4725 * config/t-hardfp: New file.
4726 * config/t-hardfp-sfdf: Likewise.
4727 * config/hardfp.c: Likewise.
4728
4729 2014-02-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4730
4731 * config.host: Include t-floattodi also for s390x.
4732 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
4733 * config/s390/32/_fixsfdi.c: Likewise.
4734 * config/s390/32/_fixtfdi.c: Likewise.
4735 * config/s390/32/_fixunsdfdi.c: Likewise.
4736 * config/s390/32/_fixunssfdi.c: Likewise.
4737 * config/s390/32/_fixunstfdi.c: Likewise.
4738
4739 2014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4740
4741 PR target/59788
4742 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
4743 (install-libgcc-unwind-map-forbuild): New target.
4744 (all): Depend on install-libgcc-unwind-map-forbuild.
4745 (install-libgcc-unwind-map): New target.
4746 (install): Depend on install-libgcc-unwind-map.
4747
4748 2014-02-02 Sandra Loosemore <sandra@codesourcery.com>
4749
4750 * config/nios2/crti.S (_init): Initialize GOT pointer from
4751 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
4752
4753 2014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
4754
4755 * configure.ac: Check __mips64 when setting host_address.
4756 * configure: Regenerate.
4757 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
4758 mips/t-mips64 and t-softfp.
4759 (mips*-*-linux*): Don't add mips/t-tpbit.
4760 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
4761 (DPBIT, DPBIT_CFLAGS): Delete.
4762 * config/mips/sfp-machine.h: New file.
4763 * config/mips/t-mips64: Likewise.
4764 * config/mips/t-softfp-tf: Likewise.
4765 * config/mips/t-tpbit: Delete.
4766
4767 2014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
4768
4769 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
4770 as long long.
4771
4772 2014-01-25 Walter Lee <walt@tilera.com>
4773
4774 * config/tilepro/atomic.c: Include tconfig.h. Don't include
4775 config.h or system.h.
4776 (bool) Define.
4777
4778 2014-01-25 Walter Lee <walt@tilera.com>
4779
4780 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
4781 (post_atomic_barrier): Ditto.
4782 (__fetch_and_do): New macro.
4783 (__atomic_fetch_and_do): Use __fetch_and_do.
4784 (__sync_fetch_and_do): New macro.
4785 (__sync_fetch_and_add_4): New function.
4786 (__sync_fetch_and_sub_4): New function.
4787 (__sync_fetch_and_or_4): New function.
4788 (__sync_fetch_and_and_4): New function.
4789 (__sync_fetch_and_xor_4): New function.
4790 (__sync_fetch_and_nand_4): New function.
4791 (__sync_fetch_and_add_8): New function.
4792 (__sync_fetch_and_sub_8): New function.
4793 (__sync_fetch_and_or_8): New function.
4794 (__sync_fetch_and_and_8): New function.
4795 (__sync_fetch_and_xor_8): New function.
4796 (__sync_fetch_and_nand_8): New function.
4797 (__do_and_fetch): New macro.
4798 (__atomic_do_and_fetch): Use __do_and_fetch.
4799 (__sync_do_and_fetch): New macro.
4800 (__sync_add_and_fetch_4): New function.
4801 (__sync_sub_and_fetch_4): New function.
4802 (__sync_or_and_fetch_4): New function.
4803 (__sync_and_and_fetch_4): New function.
4804 (__sync_xor_and_fetch_4): New function.
4805 (__sync_nand_and_fetch_4): New function.
4806 (__sync_add_and_fetch_8): New function.
4807 (__sync_sub_and_fetch_8): New function.
4808 (__sync_or_and_fetch_8): New function.
4809 (__sync_and_and_fetch_8): New function.
4810 (__sync_xor_and_fetch_8): New function.
4811 (__sync_nand_and_fetch_8): New function.
4812 (__sync_exchange_methods): New macro.
4813 (__sync_val_compare_and_swap_4): New function.
4814 (__sync_bool_compare_and_swap_4): New function.
4815 (__sync_lock_test_and_test_4): New function.
4816 (__sync_val_compare_and_swap_8): New function.
4817 (__sync_bool_compare_and_swap_8): New function.
4818 (__sync_lock_test_and_test_8): New function.
4819 (__subword_cmpxchg_body): New macro.
4820 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
4821 (__atomic_compare_exchange_2): Ditto.
4822 (__sync_subword_cmpxchg): New macro.
4823 (__sync_val_compare_and_swap_1): New function.
4824 (__sync_bool_compare_and_swap_1): New function.
4825 (__sync_val_compare_and_swap_2): New function.
4826 (__sync_bool_compare_and_swap_2): New function.
4827 (__atomic_subword): Rename to ...
4828 (__subword): ... New name.
4829 (__atomic_subword_fetch): Use __subword.
4830 (__sync_subword_fetch): New macro.
4831 (__sync_fetch_and_add_1): New function.
4832 (__sync_fetch_and_sub_1): New function.
4833 (__sync_fetch_and_or_1): New function.
4834 (__sync_fetch_and_and_1): New function.
4835 (__sync_fetch_and_xor_1): New function.
4836 (__sync_fetch_and_nand_1): New function.
4837 (__sync_fetch_and_add_2): New function.
4838 (__sync_fetch_and_sub_2): New function.
4839 (__sync_fetch_and_or_2): New function.
4840 (__sync_fetch_and_and_2): New function.
4841 (__sync_fetch_and_xor_2): New function.
4842 (__sync_fetch_and_nand_2): New function.
4843 (__sync_add_and_fetch_1): New function.
4844 (__sync_sub_and_fetch_1): New function.
4845 (__sync_or_and_fetch_1): New function.
4846 (__sync_and_and_fetch_1): New function.
4847 (__sync_xor_and_fetch_1): New function.
4848 (__sync_nand_and_fetch_1): New function.
4849 (__sync_add_and_fetch_2): New function.
4850 (__sync_sub_and_fetch_2): New function.
4851 (__sync_or_and_fetch_2): New function.
4852 (__sync_and_and_fetch_2): New function.
4853 (__sync_xor_and_fetch_2): New function.
4854 (__sync_nand_and_fetch_2): New function.
4855 (__atomic_subword_lock): Use __subword.
4856 (__sync_subword_lock): New macro.
4857 (__sync_lock_test_and_set_1): New function.
4858 (__sync_lock_test_and_set_2): New function.
4859
4860 2014-01-25 Walter Lee <walt@tilera.com>
4861
4862 * config/tilepro/atomic.c (BIT_OFFSET): Define.
4863 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
4864 (__atomic_subword): Ditto.
4865
4866 2014-01-25 Walter Lee <walt@tilera.com>
4867
4868 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
4869 a prefix op argument.
4870 (__atomic_nand_fetch_4): Add prefix op.
4871 (__atomic_nand_fetch_8): Ditto.
4872
4873 2014-01-21 Baruch Siach <barch@tkos.co.il>
4874
4875 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
4876
4877 2014-01-09 Rong Xu <xur@google.com>
4878
4879 * libgcov-driver.c (this_prg): make it local to save
4880 bss space.
4881 (gcov_exit_compute_summary): Ditto.
4882 (gcov_exit_merge_gcda): Ditto.
4883 (gcov_exit_merge_summary): Ditto.
4884 (gcov_exit_dump_gcov): Ditto.
4885
4886 2014-01-08 Rong Xu <xur@google.com>
4887
4888 * libgcov-driver.c: Use libgcov.h.
4889 (buffer_fn_data): Use xmalloc instead of malloc.
4890 (gcov_exit_merge_gcda): Ditto.
4891 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
4892 * libgcov.h: New common header files for libgcov-*.h.
4893 * libgcov-interface.c: Use libgcov.h
4894 * libgcov-merge.c: Ditto.
4895 * libgcov-profiler.c: Ditto.
4896 * Makefile.in: Add dependence to libgcov.h
4897
4898 2014-01-02 Joseph Myers <joseph@codesourcery.com>
4899
4900 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
4901 case of small numerator and finite nonzero result.
4902
4903 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
4904
4905 Update copyright years
4906
4907 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
4908
4909 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
4910 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
4911 config/arc/dp-hack.h, config/arc/fp-hack.h,
4912 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
4913 config/arc/ieee-754/arc600-dsp/divdf3.S,
4914 config/arc/ieee-754/arc600-dsp/divsf3.S,
4915 config/arc/ieee-754/arc600-dsp/muldf3.S,
4916 config/arc/ieee-754/arc600-dsp/mulsf3.S,
4917 config/arc/ieee-754/arc600-mul64/divdf3.S,
4918 config/arc/ieee-754/arc600-mul64/divsf3.S,
4919 config/arc/ieee-754/arc600-mul64/muldf3.S,
4920 config/arc/ieee-754/arc600-mul64/mulsf3.S,
4921 config/arc/ieee-754/arc600/divsf3.S,
4922 config/arc/ieee-754/arc600/mulsf3.S,
4923 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
4924 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
4925 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
4926 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
4927 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
4928 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
4929 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
4930 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
4931 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
4932 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
4933 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
4934 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
4935 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
4936 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
4937 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
4938 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
4939 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
4940 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
4941 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
4942 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
4943 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
4944 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
4945 vtv_start_preinit.c: Use the standard form for the copyright notice.
4946
4947 2013-12-31 Sandra Loosemore <sandra@codesourcery.com>
4948 Chung-Lin Tang <cltang@codesourcery.com>
4949 Based on patches from Altera Corporation
4950
4951 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
4952 * config/nios2/lib2-nios2.h: New file.
4953 * config/nios2/lib2-divmod-hi.c: New file.
4954 * config/nios2/linux-unwind.h: New file.
4955 * config/nios2/lib2-divmod.c: New file.
4956 * config/nios2/linux-atomic.c: New file.
4957 * config/nios2/t-nios2: New file.
4958 * config/nios2/crti.asm: New file.
4959 * config/nios2/t-linux: New file.
4960 * config/nios2/lib2-divtable.c: New file.
4961 * config/nios2/lib2-mul.c: New file.
4962 * config/nios2/tramp.c: New file.
4963 * config/nios2/crtn.asm: New file.
4964
4965 2013-12-26 Uros Bizjak <ubizjak@gmail.com>
4966
4967 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
4968 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
4969 from cpuid.h to check vendor signatures.
4970
4971 2013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
4972
4973 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
4974 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
4975 (get_amd_cpu): Likewise.
4976
4977 2013-12-25 H.J. Lu <hongjiu.lu@intel.com>
4978
4979 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
4980 Haswell.
4981
4982 2013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
4983 H.J. Lu <hongjiu.lu@intel.com>
4984
4985 PR target/59422
4986 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
4987 and AMD_JAGUAR.
4988 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
4989 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
4990 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
4991 FEATURE_XOP and FEATURE_FMA.
4992 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
4993 AMDFAM15H_BDVER3.
4994 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
4995 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
4996 FEATURE_FMA4 and FEATURE_XOP.
4997
4998 2013-12-23 H.J. Lu <hongjiu.lu@intel.com>
4999
5000 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
5001 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
5002 (get_intel_cpu): Updated.
5003
5004 2013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
5005
5006 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
5007
5008 2013-12-09 Uros Bizjak <ubizjak@gmail.com>
5009
5010 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
5011 instructions when __SSE_MATH__ is defined.
5012
5013 2013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
5014
5015 * config.host (microblaze-*-rtems*): New.
5016
5017 2013-12-04 Kugan Vivekanandarajah <kuganv@linaro.org>
5018
5019 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
5020 architectures that do not have hardware divide instruction.
5021 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
5022
5023 2013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
5024
5025 * longlong.h: Delete (moved to include/).
5026
5027 2013-12-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5028
5029 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
5030 of normal number and qNaN to not raise an inexact exception.
5031
5032 2013-11-28 Uros Bizjak <ubizjak@gmail.com>
5033
5034 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
5035
5036 2013-11-28 Matthew Leach <matthew.leach@arm.com>
5037
5038 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
5039 for correct opcodes on BE.
5040
5041 2013-11-27 Uros Bizjak <ubizjak@gmail.com>
5042
5043 * soft-fp/op-4.h: Update from glibc.
5044
5045 2013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
5046
5047 * libgcc2.c (__udivmoddi4): Define new implementation when
5048 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
5049 divide instructions.
5050
5051 2013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
5052
5053 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
5054
5055 2013-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5056
5057 * config/t-softfp (soft-fp-objects-base): New variable.
5058 (soft-fp-objects): Use it.
5059
5060 2013-11-23 David Edelson <dje.gcc@gmail.com>
5061 Andrew Dixie <andrewd@gentrack.com>
5062
5063 PR target/33704
5064 * config/rs6000/aixinitfini.c: New file.
5065 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
5066 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
5067 symbols.
5068
5069 2013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
5070
5071 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
5072
5073 2013-11-18 Jan Hubicka <jh@suse.cz>
5074
5075 * libgcov-driver.c (run_accounted): Make global level static.
5076 (gcov_exit_merge_summary): Silence warning; do not clear
5077 run_accounted here.
5078 (gcov_exit): Clear it here.
5079
5080 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
5081 run_accounted.
5082
5083 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
5084 (all_prg, crc32): Remove static vars.
5085 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
5086 all_prg.
5087 (gcov_exit_merge_gcda): Add crc32 parameter.
5088 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
5089 do not account run if it was already accounted.
5090 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
5091 (gcov_exit): Initialize all_prg; update.
5092
5093 2013-11-15 Andreas Schwab <schwab@linux-m68k.org>
5094
5095 * configure: Regenerate.
5096
5097 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5098 Alan Modra <amodra@gmail.com>
5099
5100 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
5101 (frob_update_context): Use it.
5102
5103 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5104 Alan Modra <amodra@gmail.com>
5105
5106 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
5107 (trampoline_initial): Provide ELFv2 variant.
5108 (__trampoline_setup): Likewise.
5109
5110 * config/rs6000/linux-unwind.h (frob_update_context): Do not
5111 check for AIX indirect function call sequence if _CALL_ELF == 2.
5112
5113 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5114 Alan Modra <amodra@gmail.com>
5115
5116 * config/rs6000/linux-unwind.h (get_regs): Do not support
5117 old kernel versions if _CALL_ELF == 2.
5118 (frob_update_context): Do not support PLT stub variants only
5119 generated by old linkers if _CALL_ELF == 2.
5120
5121 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5122 Alan Modra <amodra@gmail.com>
5123
5124 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
5125 location of CR save area for 64-bit little-endian systems.
5126
5127 2013-11-11 Eric Botcazou <ebotcazou@adacore.com>
5128
5129 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
5130 in tmake_file.
5131 * config/arm/t-vxworks: Delete.
5132
5133 2013-11-10 Kai Tietz <ktietz@redhat.com>
5134
5135 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
5136 Increment load-count on use of LIBGCC_SONAME DLL.
5137 (hmod_libgcc): New static variable to hold handle of
5138 LIBGCC_SONAME DLL.
5139 (__gcc_deregister_frame): Decrement load-count of
5140 LIBGCC_SONAME DLL.
5141
5142 2013-11-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
5143
5144 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
5145 availability.
5146 * configure: Regenerate
5147
5148 2013-11-07 Uros Bizjak <ubizjak@gmail.com>
5149
5150 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
5151 FP_EX_DENORM. Store result to volatile location after SSE division
5152 to close interrupt window. Remove unneeded fwait after x87
5153 division since interrupt window will be closed by emitted fstp.
5154 Rewrite FP_EX_INEXACT handling.
5155
5156 2013-11-06 Joseph Myers <joseph@codesourcery.com>
5157
5158 * soft-fp/README: Update.
5159 * soft-fp/adddf3.c: Update from glibc.
5160 * soft-fp/addsf3.c: Likewise.
5161 * soft-fp/addtf3.c: Likewise.
5162 * soft-fp/divdf3.c: Likewise.
5163 * soft-fp/divsf3.c: Likewise.
5164 * soft-fp/divtf3.c: Likewise.
5165 * soft-fp/double.h: Likewise.
5166 * soft-fp/eqdf2.c: Likewise.
5167 * soft-fp/eqsf2.c: Likewise.
5168 * soft-fp/eqtf2.c: Likewise.
5169 * soft-fp/extenddftf2.c: Likewise.
5170 * soft-fp/extended.h: Likewise.
5171 * soft-fp/extendsfdf2.c: Likewise.
5172 * soft-fp/extendsftf2.c: Likewise.
5173 * soft-fp/extendxftf2.c: Likewise.
5174 * soft-fp/fixdfdi.c: Likewise.
5175 * soft-fp/fixdfsi.c: Likewise.
5176 * soft-fp/fixdfti.c: Likewise.
5177 * soft-fp/fixsfdi.c: Likewise.
5178 * soft-fp/fixsfsi.c: Likewise.
5179 * soft-fp/fixsfti.c: Likewise.
5180 * soft-fp/fixtfdi.c: Likewise.
5181 * soft-fp/fixtfsi.c: Likewise.
5182 * soft-fp/fixtfti.c: Likewise.
5183 * soft-fp/fixunsdfdi.c: Likewise.
5184 * soft-fp/fixunsdfsi.c: Likewise.
5185 * soft-fp/fixunsdfti.c: Likewise.
5186 * soft-fp/fixunssfdi.c: Likewise.
5187 * soft-fp/fixunssfsi.c: Likewise.
5188 * soft-fp/fixunssfti.c: Likewise.
5189 * soft-fp/fixunstfdi.c: Likewise.
5190 * soft-fp/fixunstfsi.c: Likewise.
5191 * soft-fp/fixunstfti.c: Likewise.
5192 * soft-fp/floatdidf.c: Likewise.
5193 * soft-fp/floatdisf.c: Likewise.
5194 * soft-fp/floatditf.c: Likewise.
5195 * soft-fp/floatsidf.c: Likewise.
5196 * soft-fp/floatsisf.c: Likewise.
5197 * soft-fp/floatsitf.c: Likewise.
5198 * soft-fp/floattidf.c: Likewise.
5199 * soft-fp/floattisf.c: Likewise.
5200 * soft-fp/floattitf.c: Likewise.
5201 * soft-fp/floatundidf.c: Likewise.
5202 * soft-fp/floatundisf.c: Likewise.
5203 * soft-fp/floatunditf.c: Likewise.
5204 * soft-fp/floatunsidf.c: Likewise.
5205 * soft-fp/floatunsisf.c: Likewise.
5206 * soft-fp/floatunsitf.c: Likewise.
5207 * soft-fp/floatuntidf.c: Likewise.
5208 * soft-fp/floatuntisf.c: Likewise.
5209 * soft-fp/floatuntitf.c: Likewise.
5210 * soft-fp/gedf2.c: Likewise.
5211 * soft-fp/gesf2.c: Likewise.
5212 * soft-fp/getf2.c: Likewise.
5213 * soft-fp/ledf2.c: Likewise.
5214 * soft-fp/lesf2.c: Likewise.
5215 * soft-fp/letf2.c: Likewise.
5216 * soft-fp/muldf3.c: Likewise.
5217 * soft-fp/mulsf3.c: Likewise.
5218 * soft-fp/multf3.c: Likewise.
5219 * soft-fp/negdf2.c: Likewise.
5220 * soft-fp/negsf2.c: Likewise.
5221 * soft-fp/negtf2.c: Likewise.
5222 * soft-fp/op-1.h: Likewise.
5223 * soft-fp/op-2.h: Likewise.
5224 * soft-fp/op-4.h: Likewise.
5225 * soft-fp/op-8.h: Likewise.
5226 * soft-fp/op-common.h: Likewise.
5227 * soft-fp/quad.h: Likewise.
5228 * soft-fp/single.h: Likewise.
5229 * soft-fp/soft-fp.h: Likewise.
5230 * soft-fp/subdf3.c: Likewise.
5231 * soft-fp/subsf3.c: Likewise.
5232 * soft-fp/subtf3.c: Likewise.
5233 * soft-fp/truncdfsf2.c: Likewise.
5234 * soft-fp/trunctfdf2.c: Likewise.
5235 * soft-fp/trunctfsf2.c: Likewise.
5236 * soft-fp/trunctfxf2.c: Likewise.
5237 * soft-fp/unorddf2.c: Likewise.
5238 * soft-fp/unordsf2.c: Likewise.
5239 * soft-fp/unordtf2.c: Likewise.
5240
5241 2013-11-05 Uros Bizjak <ubizjak@gmail.com>
5242
5243 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
5244 (_FP_MUL_MEAT_D): Ditto.
5245 (_FP_DIV_MEAT_S): Ditto.
5246 (_FP_DIV_MEAT_D): Ditto.
5247 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
5248 t-softfp-sfdf and t-softfp to tmake_file.
5249
5250 2013-11-03 Uros Bizjak <ubizjak@gmail.com>
5251
5252 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
5253 * config/i386/crtprec.c: Ditto.
5254
5255 2013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
5256 Shiva Chen <shiva0217@gmail.com>
5257
5258 * config.host (nds32*-elf*): Add nds32 target.
5259 * config/nds32 : New directory and files.
5260
5261 2013-10-16 Hans-Peter Nilsson <hp@axis.com>
5262
5263 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
5264 * config.host (cpu_type) <Setting default>: Add entry for
5265 crisv32-*-*.
5266 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
5267 <crisv32-*-linux*>: Adjust.
5268 * longlong.h: Wrap the whole CRIS section in a single
5269 defined(__CRIS__) conditional. Add comment about add_ssaaaa
5270 and sub_ddmmss.
5271 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
5272 defined.
5273 [__CRIS__] (__umulsidi3): Define.
5274 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
5275 * config/cris/sfp-machine.h: New file.
5276 * config/cris/umulsidi3.S: New file.
5277 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
5278 * config/cris/arit.c (SIGNMULT): New macro.
5279 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
5280 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
5281 saving 3 out of originally 33 cycles from the fastest
5282 path, 3 out of 54 from the medium path and one from the longest
5283 path. Improve comments.
5284
5285 2013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
5286
5287 * sync.c: Remove static aliases and define each function directly
5288 under its real name.
5289
5290 2013-10-02 John David Anglin <danglin@gcc.gnu.org>
5291
5292 * config.host (hppa*64*-*-linux*): Define extra_parts.
5293 (hppa*-*-linux*): Likewise.
5294
5295 2013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
5296
5297 * config/arc/crtgend.S: Add 2013 to Copyright years.
5298 * config/arc/gmon/atomic.h: Likewise.
5299 * config/arc/gmon/auxreg.h: Likewise.
5300 * config/arc/gmon/sys/gmon_out.h: Likewise.
5301 * config/arc/gmon/sys/gmon.h: Likewise.
5302 * config/arc/gmon/prof-freq.c: Likewise.
5303 * config/arc/gmon/mcount.c: Likewise.
5304 * config/arc/gmon/prof-freq-stub.S: Likewise.
5305 * config/arc/gmon/gmon.c: Likewise.
5306 * config/arc/gmon/machine-gmon.h: Likewise.
5307 * config/arc/gmon/profil.S: Likewise.
5308 * config/arc/gmon/dcache_linesz.S: Likewise.
5309 * config/arc/crtg.S: Likewise.
5310 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
5311 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
5312 * config/arc/ieee-754/adddf3.S: Likewise.
5313 * config/arc/ieee-754/truncdfsf2.S: Likewise.
5314 * config/arc/ieee-754/fixsfsi.S: Likewise.
5315 * config/arc/ieee-754/gtsf2.S: Likewise.
5316 * config/arc/ieee-754/floatsisf.S: Likewise.
5317 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
5318 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
5319 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
5320 * config/arc/ieee-754/fixdfsi.S: Likewise.
5321 * config/arc/ieee-754/addsf3.S: Likewise.
5322 * config/arc/ieee-754/gesf2.S: Likewise.
5323 * config/arc/ieee-754/floatsidf.S: Likewise.
5324 * config/arc/ieee-754/extendsfdf2.S: Likewise.
5325 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
5326 * config/arc/ieee-754/gtdf2.S: Likewise.
5327 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
5328 * config/arc/ieee-754/uneqdf2.S: Likewise.
5329 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
5330 * config/arc/ieee-754/uneqsf2.S: Likewise.
5331 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
5332 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
5333 * config/arc/ieee-754/eqdf2.S: Likewise.
5334 * config/arc/ieee-754/ordsf2.S: Likewise.
5335 * config/arc/ieee-754/divsf3.S: Likewise.
5336 * config/arc/ieee-754/divdf3.S: Likewise.
5337 * config/arc/ieee-754/floatunsidf.S: Likewise.
5338 * config/arc/ieee-754/orddf2.S: Likewise.
5339 * config/arc/ieee-754/eqsf2.S: Likewise.
5340 * config/arc/ieee-754/gedf2.S: Likewise.
5341 * config/arc/crtn.S: Likewise.
5342 * config/arc/crti.S: Likewise.
5343 * config/arc/t-arc700-uClibc: Likewise.
5344 * config/arc/asm.h: Likewise.
5345 * config/arc/libgcc-excl.ver: Likewise.
5346 * config/arc/t-arc-newlib: Likewise.
5347 * config/arc/divtab-arc700.c: Likewise.
5348 * config/arc/initfini.c: Likewise.
5349 * config/arc/fp-hack.h: Likewise.
5350
5351 2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
5352 Diego Novillo <dnovillo@google.com>
5353
5354 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
5355 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
5356 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
5357 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
5358
5359 2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
5360 Brendan Kehoe <brendan@zen.org>
5361 Simon Cook <simon.cook@embecosm.com>
5362
5363 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
5364 * config/arc: New directory.
5365 * longlong.h [__arc__] (umul_ppmm): Remove.
5366 [__arc__] (__umulsidi3): Define.
5367 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
5368 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
5369
5370 2013-09-17 Jacek Caban <jacek@codeweavers.com>
5371
5372 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
5373 CreateSemaphoreA.
5374 * config/i386/gthr-win32.h: Likewise.
5375
5376 2013-09-16 DJ Delorie <dj@redhat.com>
5377
5378 * config/rl78/vregs.h: Add G10 register definitions.
5379 * config/rl78/lib2mul.c: Enable for RL78/G10.
5380 * config/rl78/lib2div.c: Likewise.
5381 * config/rl78/lshrsi3.S: Use vregs.h.
5382 * config/rl78/cmpsi2.S: Likewise.
5383 * config/rl78/trampoline.S: Likewise.
5384 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
5385
5386 2013-09-14 DJ Delorie <dj@redhat.com>
5387 Nick Clifton <nickc@redhat.com>
5388
5389 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
5390 * config/rl78/vregs.h: New.
5391 * config/rl78/signbit.S: New file. Implements signbit function.
5392 * config/rl78/divmodsi.S: New.
5393 * config/rl78/divmodhi.S: New.
5394 * config/rl78/divmodqi.S: New.
5395 * config/rl78/t-rl78: Build them here...
5396 * config/rl78/lib2div.c: ...but not here.
5397
5398 2013-09-12 DJ Delorie <dj@redhat.com>
5399
5400 * config.host (msp*-*-elf): New.
5401 * config/msp430/: New port.
5402
5403 2013-08-18 Iain Sandoe <iain@codesourcery.com>
5404
5405 PR gcov-profile/58127
5406 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
5407 __thread var for emulated TLS.
5408 (__gcov_indirect_call_counters): Likewise.
5409
5410 2013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
5411 Catherine Moore <clm@codesourcery.com>
5412 Richard Sandiford <rdsandiford@googlemail.com>
5413
5414 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
5415 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
5416 (CALL_STUB_NO_RET): Likewise.
5417 (CALL_STUB_RET): Likewise.
5418 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
5419 __mips16_ret call/return stub symbols.
5420 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
5421 to tmake_file.
5422
5423 2013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
5424
5425 * config.host <mips*-*-linux*>: Remove a stray comment.
5426
5427 2013-08-10 Jan Hubicka <jh@suse.cz>
5428
5429 Work around binutils PR14342
5430 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
5431 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
5432 (L_gcov_indirect_call_profiler_v2): New.
5433
5434 2013-08-06 Jan Hubicka <jh@suse.cz>
5435
5436 * libgcov.c (__gcov_indirect_call_callee,
5437 __gcov_indirect_call_counters): New global vars.
5438 (__gcov_indirect_call_profiler): replace by ...
5439 (__gcov_indirect_call_profiler_v2) ... this one.
5440
5441 2013-08-06 Caroline Tice <cmtice@google.com>
5442
5443 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
5444 vtv_start_preinit.o and vtv_end_preinit.o.
5445 * configure.ac: Add code to check/set enable_vtable_verify.
5446 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
5447 true.
5448 * vtv_start_preinit.c: New file.
5449 * vtv_end_preinit.c: New file.
5450 * vtv_start.c: New file.
5451 * vtv_end.c: New file.
5452 * configure: Regenerated.
5453
5454 2013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
5455
5456 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
5457 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
5458 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
5459 GPL-3.0-with-GCC-exception.
5460
5461 2013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
5462
5463 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
5464 ISA and up.
5465
5466 2013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5467
5468 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
5469 mapping for FPRs when creating the fallback framestate.
5470
5471 2013-07-19 Georg-Johann Lay <avr@gjlay.de>
5472
5473 PR target/57516
5474 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
5475 (__round_s2_const, __round_u2_const)
5476 (__round_s4_const, __round_u4_const, __round_x8):
5477 Saturate result if addition result cannot be represented.
5478
5479 2013-07-15 Matthias Klose <doko@ubuntu.com>
5480
5481 * libgcc2.c: Don't include <limits.h>.
5482
5483 2013-07-09 Janis Johnson <janisjo@codesourcery.com>
5484
5485 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
5486
5487 2013-07-06 Jakub Jelinek <jakub@redhat.com>
5488
5489 PR target/29776
5490 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
5491
5492 2013-06-28 Jakub Jelinek <jakub@redhat.com>
5493
5494 PR middle-end/36041
5495 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
5496 Define.
5497 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
5498 instead of table lookups.
5499 (__popcountDI2): Likewise.
5500
5501 2013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
5502
5503 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
5504 correctly.
5505
5506 2013-06-21 Joseph Myers <joseph@codesourcery.com>
5507
5508 PR other/53317
5509 * soft-fp/adddf3.c: Update from glibc.
5510 * soft-fp/addsf3.c: Likewise.
5511 * soft-fp/addtf3.c: Likewise.
5512 * soft-fp/divdf3.c: Likewise.
5513 * soft-fp/divsf3.c: Likewise.
5514 * soft-fp/divtf3.c: Likewise.
5515 * soft-fp/double.h: Likewise.
5516 * soft-fp/eqdf2.c: Likewise.
5517 * soft-fp/eqsf2.c: Likewise.
5518 * soft-fp/eqtf2.c: Likewise.
5519 * soft-fp/extenddftf2.c: Likewise.
5520 * soft-fp/extended.h: Likewise.
5521 * soft-fp/extendsfdf2.c: Likewise.
5522 * soft-fp/extendsftf2.c: Likewise.
5523 * soft-fp/fixdfdi.c: Likewise.
5524 * soft-fp/fixdfsi.c: Likewise.
5525 * soft-fp/fixsfdi.c: Likewise.
5526 * soft-fp/fixsfsi.c: Likewise.
5527 * soft-fp/fixtfdi.c: Likewise.
5528 * soft-fp/fixtfsi.c: Likewise.
5529 * soft-fp/fixunsdfdi.c: Likewise.
5530 * soft-fp/fixunsdfsi.c: Likewise.
5531 * soft-fp/fixunssfdi.c: Likewise.
5532 * soft-fp/fixunssfsi.c: Likewise.
5533 * soft-fp/fixunstfdi.c: Likewise.
5534 * soft-fp/fixunstfsi.c: Likewise.
5535 * soft-fp/floatdidf.c: Likewise.
5536 * soft-fp/floatdisf.c: Likewise.
5537 * soft-fp/floatditf.c: Likewise.
5538 * soft-fp/floatsidf.c: Likewise.
5539 * soft-fp/floatsisf.c: Likewise.
5540 * soft-fp/floatsitf.c: Likewise.
5541 * soft-fp/floatundidf.c: Likewise.
5542 * soft-fp/floatundisf.c: Likewise.
5543 * soft-fp/floatunditf.c: Likewise.
5544 * soft-fp/floatunsidf.c: Likewise.
5545 * soft-fp/floatunsisf.c: Likewise.
5546 * soft-fp/floatunsitf.c: Likewise.
5547 * soft-fp/gedf2.c: Likewise.
5548 * soft-fp/gesf2.c: Likewise.
5549 * soft-fp/getf2.c: Likewise.
5550 * soft-fp/ledf2.c: Likewise.
5551 * soft-fp/lesf2.c: Likewise.
5552 * soft-fp/letf2.c: Likewise.
5553 * soft-fp/muldf3.c: Likewise.
5554 * soft-fp/mulsf3.c: Likewise.
5555 * soft-fp/multf3.c: Likewise.
5556 * soft-fp/negdf2.c: Likewise.
5557 * soft-fp/negsf2.c: Likewise.
5558 * soft-fp/negtf2.c: Likewise.
5559 * soft-fp/op-1.h: Likewise.
5560 * soft-fp/op-2.h: Likewise.
5561 * soft-fp/op-4.h: Likewise.
5562 * soft-fp/op-8.h: Likewise.
5563 * soft-fp/op-common.h: Likewise.
5564 * soft-fp/quad.h: Likewise.
5565 * soft-fp/single.h: Likewise.
5566 * soft-fp/soft-fp.h: Likewise.
5567 * soft-fp/subdf3.c: Likewise.
5568 * soft-fp/subsf3.c: Likewise.
5569 * soft-fp/subtf3.c: Likewise.
5570 * soft-fp/truncdfsf2.c: Likewise.
5571 * soft-fp/trunctfdf2.c: Likewise.
5572 * soft-fp/trunctfsf2.c: Likewise.
5573 * soft-fp/unorddf2.c: Likewise.
5574 * soft-fp/unordsf2.c: Likewise.
5575 * soft-fp/unordtf2.c: Likewise.
5576 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
5577 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5578 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5579 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5580 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5581 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5582 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5583 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5584 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5585 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
5586 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
5587 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5588
5589 2013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
5590
5591 * config/mips/lib2funcs.c: New file.
5592 * config/mips/t-mips (LIB2ADD_ST): Add it.
5593
5594 2013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
5595
5596 PR target/6526
5597 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
5598 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
5599
5600 2013-06-08 Walter Lee <walt@tilera.com>
5601
5602 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
5603 Replace int64_t with long long. Add __extension__ where
5604 appropriate.
5605 * config/tilepro/atomic.c: Include config.h.
5606
5607 2013-06-06 Douglas B Rupp <rupp@adacore.com>
5608
5609 * config.host (arm-wrs-vxworks): Configure with other soft float.
5610
5611 2013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
5612
5613 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
5614 (mips64r5900el-*-elf*): New configurations.
5615
5616 2013-06-04 Alan Modra <amodra@gmail.com>
5617
5618 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
5619
5620 2013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
5621
5622 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
5623
5624 2013-05-28 Eric Botcazou <ebotcazou@adacore.com>
5625
5626 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
5627 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
5628 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
5629
5630 2013-05-22 Eric Botcazou <ebotcazou@adacore.com>
5631
5632 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
5633 (powerpc-wrs-vxworks): Likewise.
5634
5635 2013-05-22 Eric Botcazou <ebotcazou@adacore.com>
5636
5637 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
5638 signal frames as well.
5639 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
5640 STACK_BIAS to the CFA offset.
5641
5642 2013-05-17 Richard Henderson <rth@redhat.com>
5643
5644 PR target/49146
5645 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
5646 (execute_cfa_program): Use it when storing to fs->regs.
5647
5648 2013-05-08 Kai Tietz <ktietz@redhat.com>
5649
5650 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
5651 (__deregister_frame_info): Likewise.
5652
5653 2013-05-06 Thomas Schwinge <thomas@codesourcery.com>
5654
5655 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
5656 NaN's payload.
5657
5658 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
5659
5660 2013-04-25 Alan Modra <amodra@gmail.com>
5661
5662 * config.host: Match little-endian powerpc-linux.
5663
5664 2013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
5665
5666 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
5667 as 'unsigned long long' instead of 'unsigned long'.
5668 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
5669 'signed long'.
5670
5671 2013-04-10 Julian Brown <julian@codesourcery.com>
5672
5673 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
5674 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
5675 unsigned char/unsigned short.
5676 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
5677
5678 2013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
5679
5680 PR other/55274
5681 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
5682
5683 2013-04-04 Meador Inge <meadori@codesourcery.com>
5684
5685 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
5686 computing the location of the link register.
5687 (aeabi_uldivmod): Ditto.
5688
5689 2013-03-27 Kai Tietz <ktietz@redhat.com>
5690
5691 * config.host: Add support for cygwin x64 target.
5692 * configure: Regenerated.
5693
5694 2013-03-26 Walter Lee <walt@tilera.com>
5695
5696 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
5697 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
5698
5699 2013-03-25 Kai Tietz <ktietz@redhat.com>
5700
5701 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
5702
5703 2013-03-20 Robert Mason <rbmj@verizon.net>
5704
5705 * config/vxlib-tls.c (__gthread_get_tsd_data,)
5706 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
5707 (__gthread_leave_tsd_dtor_context): Add prototypes.
5708 (tls_delete_hook): Update.
5709
5710 2013-03-20 Catherine Moore <clm@codesourcery.com>
5711 Joseph Myers <joseph@codesourcery.com>
5712 Chao-ying Fu <fu@mips.com>
5713
5714 * config/mips/mips16.S: Don't build for microMIPS.
5715 * config/mips/linux-unwind.h: Handle microMIPS frame.
5716 * config/mips/crtn.S (fini, init): New labels.
5717
5718 2013-03-14 Jakub Jelinek <jakub@redhat.com>
5719
5720 PR tree-optimization/53265
5721 * unwind-dw2.c (execute_cfa_program): Avoid
5722 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
5723 on targets with DWARF_FRAME_REGISTERS < 32.
5724
5725 2013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
5726
5727 PR target/49880
5728 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
5729 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
5730
5731 2013-03-07 Sriraman Tallam <tmsriram@google.com>
5732
5733 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
5734 sandybridge processors.
5735
5736 2013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
5737
5738 PR target/56529
5739 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
5740 inclusion list.
5741
5742 2013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
5743
5744 * config/microblaze/crti.S: Setup stack protection at entry
5745
5746 2013-03-04 Georg-Johann Lay <avr@gjlay.de>
5747
5748 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
5749 (__rotldi3): Shift bytewise if applicable.
5750
5751 2013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
5752
5753 * config/aarch64/sync-cache.c
5754 (__aarch64_sync_cache_range): Silence warnings.
5755
5756 2013-02-25 Catherine Moore <clm@codesourcery.com>
5757
5758 Revert:
5759 2013-02-24 Catherine Moore <clm@codesourcery.com>
5760 Joseph Myers <joseph@codesourcery.com>
5761 Chao-ying Fu <fu@mips.com>
5762
5763 * config/mips/mips16.S: Don't build for microMIPS.
5764 * config/mips/linux-unwind.h: Handle microMIPS frame.
5765 * config/mips/crtn.S (fini, init): New labels.
5766
5767 2013-02-24 Catherine Moore <clm@codesourcery.com>
5768 Joseph Myers <joseph@codesourcery.com>
5769 Chao-ying Fu <fu@mips.com>
5770
5771 * config/mips/mips16.S: Don't build for microMIPS.
5772 * config/mips/linux-unwind.h: Handle microMIPS frame.
5773 * config/mips/crtn.S (fini, init): New labels.
5774
5775 2012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
5776 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
5777 as dividend.
5778
5779 2013-02-16 Alan Modra <amodra@gmail.com>
5780
5781 PR target/55431
5782 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
5783 (ppc_fallback_frame_state): Always set up save locations for fp
5784 and altivec. Don't bother with non-callee-saved regs, r0-r13
5785 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
5786
5787 2013-02-12 Georg-Johann Lay <avr@gjlay.de>
5788
5789 PR target/54222
5790 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
5791 _ssmulHA, _ssmulSA.
5792 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
5793 _ssmulha3, _usmulusa3, _ssmulsa3.
5794 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
5795 (__muldi3): XCALL __muldi3_6 instead of rcall.
5796 (__umulsidi3, __mulsidi3): New functions.
5797 (do_prologue_saves, do_epilogue_restores): New .macros.
5798 (__divdi3_moddi3): Use them.
5799 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
5800 (__usmulusa3, __ssmulsa3): New functions.
5801
5802 2013-02-11 Iain Sandoe <iain@codesourcery.com>
5803 Jack Howarth <howarth@bromo.med.uc.edu>
5804 Patrick Marlier <patrick.marlier@gmail.com>
5805
5806 PR libitm/55693
5807 * config/darwin-crt-tm.c: Remove dummy functions hack.
5808
5809 2013-02-08 Georg-Johann Lay <avr@gjlay.de>
5810
5811 PR target/54222
5812 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
5813 * config/avr/lib2-object.mk: New iterator to build objects from it.
5814 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
5815 lib2funcs.c.
5816 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
5817 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
5818 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
5819 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
5820 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
5821 * config/avr/lib1funcs-fixed.S: Implement them.
5822
5823 2013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
5824
5825 Update copyright years.
5826
5827 2013-02-01 David Edelsohn <dje.gcc@gmail.com>
5828
5829 PR target/54601
5830 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
5831 Add crtcxa to extra_parts.
5832 * config/rs6000/exit.h: New file.
5833 * config/rs6000/cxa_atexit.c: New file.
5834 * config/rs6000/cxa_finalize.c: New file.
5835 * config/rs6000/crtcxa.c: New file.
5836 * config/rs6000/t-aix-cxa: New file.
5837 * config/rs6000/libgcc-aix-cxa.ver: New file.
5838
5839 2013-01-31 Nick Clifton <nickc@redhat.com>
5840
5841 * config/v850/lib1funcs.S: Add support for e3v5 architecture
5842 variant.
5843
5844 2013-01-29 Georg-Johann Lay <avr@gjlay.de>
5845
5846 PR target/54222
5847 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
5848 _mulQQ, _mulHQ, _mulHA, _mulSA,
5849 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
5850 _divQQ, _divHQ, _divHA, _divSA,
5851 _divUQQ, _divUHQ, _divUHA, _divUSA.
5852
5853 2013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
5854
5855 * config.host(microblaze*-linux*): tmake_file: Remove
5856 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
5857 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
5858 to exclude functions from being built with libgcc.c and use
5859 the microblaze assembly.
5860
5861 2013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
5862
5863 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
5864 extra_parts.
5865
5866 2013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
5867
5868 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
5869 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
5870 __UINTPTR_TYPE__; also cast 'base' to the same type before the
5871 alignment operation.
5872
5873 2013-01-15 Sofiane Naci <sofiane.naci@arm.com>
5874
5875 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
5876 loop start address for cache clearing.
5877
5878 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
5879
5880 * config/avr/lib1funcs.S: Remove trailing blanks.
5881 * config/avr/lib1funcs-fixed.S: Ditto.
5882
5883 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
5884
5885 * config/avr/avr-lib.h: Add GPL copyright notice.
5886
5887 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
5888
5889 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
5890 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
5891 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
5892 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
5893
5894 2013-01-07 Mark Kettenis <kettenis@openbsd.org>
5895
5896 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
5897 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
5898
5899 2013-01-04 Nick Clifton <nickc@redhat.com>
5900
5901 * config/v850/lib1funcs.S: Only provide CALLT support functions if
5902 the CALLT instruction is supported.
5903
5904 2012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
5905
5906 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
5907 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
5908
5909 2012-12-13 John Tytgat <John@bass-software.com>
5910
5911 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
5912 is 25.
5913
5914 2012-12-12 Jakub Jelinek <jakub@redhat.com>
5915
5916 PR libgcc/55451
5917 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
5918 undefined signed overflows.
5919
5920 2012-12-09 Uros Bizjak <ubizjak@gmail.com>
5921
5922 PR target/55344
5923 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
5924
5925 2012-12-06 Uros Bizjak <ubizjak@gmail.com>
5926
5927 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
5928 (FP_TRAPPING_EXCEPTIONS): Define.
5929 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
5930 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
5931
5932 2012-12-04 Richard Henderson <rth@redhat.com>
5933
5934 PR bootstrap/55571
5935 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
5936
5937 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
5938
5939 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
5940 (FP_EX_SHIFT): Define.
5941 (FP_TRAPPING_EXCEPTIONS): Define.
5942
5943 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
5944
5945 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
5946 (FP_ROUNDMODE): Use FP_RND_MASK.
5947 * config/aarch64/sfp-exceptions.c: New.
5948 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
5949 Use __sfp_handle_exceptions.
5950
5951 2012-12-04 Richard Earnshaw <rearnsha@arm.com>
5952
5953 * config.host: (arm*-*-freebsd*): Remove.
5954 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
5955 (arm*-*-elf*): Remove.
5956 (arm*-*-wince-pe*): Remove.
5957 * arm/unwind-arm.c (struct fpa_reg): Delete.
5958 (struct fpa_regs): Delete.
5959 (phase1_vrs): Remove fpa element.
5960 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
5961 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
5962 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
5963 * ieee754-sf.S (floatundisf): Remove FPA support.
5964 (floatdisf): Likewise.
5965 * ieee75f-df.S (floatundidf): Likewise.
5966 (floatdidf): Likewise.
5967
5968 2012-11-29 Kai Tietz <ktietz@redhat.com>
5969
5970 PR target/55445
5971 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
5972 * unwind-generic.h: Likewise.
5973 * unwind-seh.c: Likewise.
5974
5975 2012-11-28 Richard Henderson <rth@redhat.com>
5976
5977 PR libgcc/48076
5978 * emutls.c (__emutls_get_address): Avoid race condition between
5979 obj->loc.offset read and emutls_key initialization.
5980
5981 2012-11-22 Georg-Johann Lay <avr@gjlay.de>
5982
5983 Adjust decimal point of signed accum mode to GCC default.
5984
5985 PR target/54222
5986 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
5987 _divqq_helper.
5988 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
5989 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
5990 (__mulha3, __mulsa3)
5991 (__divqq3, __divha3, __divsa3): Adjust to new position of
5992 decimal point of signed accum types.
5993
5994 (__mulusa3_round): New function.
5995 (__mulusa3): Use it.
5996 (__divqq_helper): New function.
5997 (__udivuqq3): Use it.
5998
5999 2012-11-20 Jakub Jelinek <jakub@redhat.com>
6000
6001 PR bootstrap/55370
6002 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
6003
6004 2012-11-18 Teresa Johnson <tejohnson@google.com>
6005
6006 PR bootstrap/55051
6007 * libgcov.c (gcov_exit): Remove merged program summary
6008 comparison unless !GCOV_LOCKED.
6009
6010 2012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
6011
6012 * soft-fp: Updated from glibc upstream.
6013
6014 2012-11-06 Ian Lance Taylor <iant@google.com>
6015
6016 * generic-morestack.c (__generic_morestack): Align the returned
6017 stack pointer to a 32 byte boundary.
6018 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
6019 increment the return address until we have decided that we don't
6020 have a varargs function.
6021 (__morestack) [32-bit]: Align stack correctly when calling C
6022 functions.
6023 (__morestack) [64-bit]: Likewise.
6024
6025 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
6026
6027 * configure: Regenerate.
6028
6029 2012-11-02 Uros Bizjak <ubizjak@gmail.com>
6030
6031 PR target/55175
6032 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
6033 * config/i386/sfp-machine.h: Guard exception handling
6034 code with _SOFT_FLOAT.
6035 * config/i386/32/sfp-machine.h: Guard rounding handling
6036 code with _SOFT_FLOAT.
6037 * config/i386/64/sfp-machine.h: Ditto.
6038
6039 2012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
6040
6041 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
6042 as extra_parts.
6043
6044 2012-10-26 Uros Bizjak <ubizjak@gmail.com>
6045
6046 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
6047 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
6048 when appropriate. Correct structure element types.
6049 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
6050 -minline-all-stringops from compile flags.
6051
6052 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
6053
6054 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
6055
6056 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
6057
6058 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
6059
6060 2012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
6061
6062 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
6063 tmake_file.
6064
6065 2012-10-23 Ian Bolton <ian.bolton@arm.com>
6066 Jim MacArthur <jim.macarthur@arm.com>
6067 Marcus Shawcroft <marcus.shawcroft@arm.com>
6068 Nigel Stephens <nigel.stephens@arm.com>
6069 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
6070 Richard Earnshaw <rearnsha@arm.com>
6071 Sofiane Naci <sofiane.naci@arm.com>
6072 Stephen Thomas <stephen.thomas@arm.com>
6073 Tejas Belagod <tejas.belagod@arm.com>
6074 Yufeng Zhang <yufeng.zhang@arm.com>
6075
6076 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
6077 * config/aarch64/crti.S: New file.
6078 * config/aarch64/crtn.S: New file.
6079 * config/aarch64/linux-unwind.h: New file.
6080 * config/aarch64/sfp-machine.h: New file.
6081 * config/aarch64/sync-cache.c: New file.
6082 * config/aarch64/t-aarch64: New file.
6083 * config/aarch64/t-softfp: New file.
6084
6085 2012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
6086
6087 * config/mmix/crti.S: Mark program and data addresses using PRELD.
6088 Remove typo'd and unnecessary alignment-LOC for .data. Remove
6089 no-longer-needed LDBU insns.
6090
6091 2012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
6092
6093 * config.host
6094 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
6095 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
6096
6097 2012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
6098
6099 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
6100
6101 2012-10-15 Matthias Klose <doko@ubuntu.com>
6102
6103 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
6104
6105 2012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
6106
6107 * configure: Regenerate.
6108 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
6109
6110 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
6111
6112 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
6113 instructions for 64bit targets only.
6114
6115 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
6116
6117 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
6118 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
6119 * config/i386/32/sfp-machine.h: ... here.
6120 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
6121 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
6122 New defines.
6123
6124 2012-10-07 Matthias Klose <doko@ubuntu.com>
6125
6126 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
6127 as unused.
6128 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
6129
6130 2012-10-06 Mark Kettenis <kettenis@openbsd.org>
6131
6132 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
6133 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
6134 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
6135 (ElfW): Likewise.
6136
6137 2012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
6138
6139 PR other/53889
6140 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
6141 Fix parameter names.
6142
6143 2012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
6144
6145 PR target/33135
6146 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
6147 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
6148 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
6149
6150 2012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
6151
6152 PR target/50457
6153 * config/sh/linux-atomic.S: Delete.
6154 * config/sh/linux-atomic.c: New.
6155 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
6156 linux-atomic.c. Add cflags to disable warnings.
6157
6158 2012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
6159
6160 PR other/53889
6161 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
6162 function.
6163 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
6164 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
6165 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
6166 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
6167 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
6168 Likewise.
6169 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
6170 Likewise.
6171 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
6172 Likewise.
6173 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
6174 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
6175
6176 2012-09-19 Mark Kettenis <kettenis@openbsd.org>
6177
6178 * config.host (hppa-*-openbsd*): New target.
6179 * config/pa/t-openbsd: New file.
6180
6181 2012-09-15 Georg-Johann Lay <avr@gjlay.de>
6182
6183 PR target/54222
6184 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
6185 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
6186 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
6187 (__divsa3): Use __negsi2 to negate r_quoL.
6188 * config/avr/lib1funcs.S (FALIAS): New macro.
6189 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
6190 (__negsi2): ...this new function.
6191 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
6192 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
6193 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
6194 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
6195 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
6196 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
6197
6198 2012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
6199
6200 PR target/54089
6201 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
6202 (lshrsi3): Reimplement as lshrsi3_r0.
6203
6204 2012-09-10 Andreas Schwab <schwab@linux-m68k.org>
6205
6206 PR target/46191
6207 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
6208 of libgcc.a.
6209
6210 2012-09-07 Teresa Johnson <tejohnson@google.com>
6211
6212 PR gcov-profile/54487
6213 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
6214 differences.
6215
6216 2012-09-05 Georg-Johann Lay <avr@gjlay.de>
6217
6218 PR target/54461
6219 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
6220 not configured --with-avrlibc=no.
6221 * config/avr/t-avrlibc: New file.
6222 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
6223 (DPBIT_FUNCS): Ditto.
6224 (TPBIT_FUNCS): Ditto.
6225
6226 2012-09-04 Teresa Johnson <tejohnson@google.com>
6227
6228 * libgcov.c (struct gcov_summary_buffer): New structure.
6229 (gcov_histogram_insert): New function.
6230 (gcov_compute_histogram): Ditto.
6231 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
6232 histograms during summary merging.
6233
6234 2012-09-01 Mark Kettenis <kettenis@openbsd.org>
6235
6236 * config.host (x86_64-*-openbsd*): New target.
6237
6238 2012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
6239
6240 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
6241 attribute.
6242
6243 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
6244
6245 PR target/54222
6246 * config/avr/t-avr (conv_X): Rename to func_X.
6247
6248 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
6249
6250 PR target/54222
6251 * config/avr/lib1funcs-fixed.S: New file.
6252 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
6253 after they are used.
6254 (neg2, neg4): New macros.
6255 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
6256 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
6257 (__umulhisi3): Speed up MUL variant if there is enough flash.
6258 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
6259 avr-modes.def.
6260 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
6261 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
6262 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
6263 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
6264 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
6265 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
6266 (LIB2FUNCS_EXCLUDE): Add supported functions.
6267
6268 2012-08-22 Georg-Johann Lay <avr@gjlay.de>
6269
6270 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
6271 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
6272 libgcc-s-objects.
6273 * fixed-obj.mk: Only expand dependency if $o is not in
6274 LIB2FUNCS_EXCLUDE.
6275
6276 2012-08-22 H.J. Lu <hongjiu.lu@intel.com>
6277
6278 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
6279
6280 2012-08-22 Joseph Myers <joseph@codesourcery.com>
6281
6282 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
6283 depend on --enable-shared.
6284 ($(lib1asmfuncs-o)): Use %.vis files independent of
6285 --enable-shared.
6286 * static-object.mk ($(base)$(objext), $(base).vis)
6287 ($(base)_s$(objext)): Use same rules for visibility handling as in
6288 shared-object.mk.
6289
6290 2012-08-21 Ian Lance Taylor <iant@google.com>
6291
6292 * config/i386/morestack.S (__morestack_non_split): Increase amount
6293 of space allocated for non-split code stack.
6294
6295 2012-08-19 Joseph Myers <joseph@codesourcery.com>
6296
6297 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
6298 even if inhibit_libc.
6299
6300 2012-08-17 Julian Brown <julian@codesourcery.com>
6301
6302 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
6303 -fexceptions -fnon-call-exceptions if not defined.
6304 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
6305 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
6306
6307 2012-08-17 Andreas Schwab <schwab@linux-m68k.org>
6308
6309 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
6310 type.
6311
6312 2012-08-16 David Edelsohn <dje.gcc@gmail.com>
6313
6314 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
6315 rs6000/t-slibgcc-aix.
6316
6317 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
6318
6319 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
6320
6321 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
6322
6323 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
6324
6325 2012-08-03 H.J. Lu <hongjiu.lu@intel.com>
6326
6327 PR driver/54171
6328 * Makefile.in (version): Replace top_srcdir with srcdir.
6329
6330 2012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
6331
6332 * Makefile.in (version): set to BASE-VER file from gcc directory.
6333
6334 2012-08-01 Nick Clifton <nickc@redhat.com>
6335
6336 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
6337 Implements __clrsb for an HImode argument.
6338
6339 2012-07-31 Nick Clifton <nickc@redhat.com>
6340
6341 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
6342 Implements __clrsb for an HImode argument.
6343 * config/stormy16/clrsbhi2.c: New file:
6344 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
6345
6346 2012-07-22 Steven Bosscher <steven@gcc.gnu.org>
6347
6348 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
6349
6350 2012-07-19 Tristan Gingold <gingold@adacore.com>
6351 Richard Henderson <rth@redhat.com>
6352
6353 * unwind-seh.c: New file.
6354 * unwind-generic.h: Include windows.h for SEH.
6355 (_Unwind_Exception): Use 6 private fields for SEH.
6356 (_GCC_specific_handler): Declare.
6357 * unwind-c.c (__gcc_personality_seh0): New function.
6358 Adjust for SEH.
6359 * config/i386/libgcc-cygming.ver: New file.
6360 * config/i386/t-seh-eh: New file.
6361 * config.host (x86_64-*-mingw*): Default to seh.
6362
6363 2012-07-14 Steven Bosscher <steven@gcc.gnu.org>
6364
6365 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
6366
6367 2012-06-17 Uros Bizjak <ubizjak@gmail.com>
6368
6369 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
6370 __builtin_expect when checking for exceptions.
6371 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
6372
6373 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
6374
6375 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
6376 function declaration.
6377 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
6378 (FP_RND_MASK): New.
6379 * config/ia64/sfp-exceptions.c: New.
6380 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
6381
6382 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
6383
6384 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
6385 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
6386 * config/i386/64/sfp-machine: ... (delete here) ...
6387 * config/i386/sfp-machine.h: ... to here.
6388 (FP_EX_MASK): Remove.
6389 (FP_RND_MASK): New.
6390 (FP_INIT_ROUNDMODE): Declare asm as volatile.
6391
6392 2012-06-11 Sriraman Tallam <tmsriram@google.com>
6393
6394 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
6395 * config/i386/libgcc-sol2.ver: Ditto.
6396 * config/i386/libgcc-glibc.ver: Ditto.
6397
6398 2012-06-11 Roland McGrath <mcgrathr@google.com>
6399
6400 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
6401 If __GLIBC__ is defined, refer to __pthread_key_create instead of
6402 pthread_cancel.
6403
6404 2012-06-09 Uros Bizjak <ubizjak@gmail.com>
6405
6406 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
6407 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
6408 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
6409 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
6410 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
6411 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
6412 * config/i386/64/sfp-machine: ... (delete here) ...
6413 * config/i386/sfp-machine.h: ... to here.
6414 (FP_EX_MASK): New.
6415 (__sfp_handle_exceptions): New function declaration.
6416 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
6417 * config/i386/sfp-exceptions.c: New.
6418 * config/i386/t-softfp: New.
6419 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
6420 i386/t-softfp to tmake_file.
6421
6422 2012-06-03 David S. Miller <davem@davemloft.net>
6423
6424 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
6425 change.
6426
6427 2012-05-31 David S. Miller <davem@davemloft.net>
6428
6429 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
6430 multiply and divide instructions on 32-bit when V9.
6431 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
6432
6433 2012-05-29 Joseph Myers <joseph@codesourcery.com>
6434
6435 * config/arm/ieee754-df.S: Fix typos.
6436 * config/arm/ieee754-sf.S: Fix typos.
6437 * config/c6x/libunwind.S: Fix typos.
6438 * config/epiphany/udivsi3-float.c: Fix typos.
6439 * config/microblaze/muldi3_hard.S: Fix typos.
6440 * config/picochip/adddi3.S: Fix typos.
6441 * config/picochip/ashlsi3.S: Fix typos.
6442 * config/picochip/ashrsi3.S: Fix typos.
6443 * config/picochip/clzsi2.S: Fix typos.
6444 * config/picochip/cmpsi2.S: Fix typos.
6445 * config/picochip/divmod15.S: Fix typos.
6446 * config/picochip/divmodhi4.S: Fix typos.
6447 * config/picochip/divmodsi4.S: Fix typos.
6448 * config/picochip/longjmp.S: Fix typos.
6449 * config/picochip/lshrsi3.S: Fix typos.
6450 * config/picochip/parityhi2.S: Fix typos.
6451 * config/picochip/popcounthi2.S: Fix typos.
6452 * config/picochip/setjmp.S: Fix typos.
6453 * config/picochip/subdi3.S: Fix typos.
6454 * config/picochip/ucmpsi2.S: Fix typos.
6455 * config/picochip/udivmodhi4.S: Fix typos.
6456 * config/picochip/udivmodsi4.S: Fix typos.
6457 * config/spu/divv2df3.c: Fix typos.
6458 * config/spu/mfc_multi_tag_release.c: Fix typos.
6459 * config/spu/mfc_tag_release.c: Fix typos.
6460 * configure.ac: Fix typos.
6461 * configure: Regenerate.
6462
6463 2012-05-25 Ian Lance Taylor <iant@google.com>
6464
6465 * config/i386/morestack.S (__morestack_non_split): Check whether
6466 caller is varargs and needs %bp to hold the stack frame on return.
6467
6468 2012-05-25 Olivier Hainque <hainque@adacore.com>
6469
6470 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
6471 sequence in the non pic case on VxWorks.
6472
6473 2012-05-24 Olivier Hainque <hainque@adacore.com>
6474
6475 * Makefile.in: Move dependency on install-unwind_h from
6476 "install-leaf" to "install".
6477
6478 2012-05-24 Olivier Hainque <hainque@adacore.com>
6479
6480 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
6481 Use a separate command for stamp removals.
6482
6483 2012-05-21 Andrew Pinski <apinski@cavium.com>
6484
6485 PR bootstrap/53183
6486 * configure.ac: Define the default includes to being none.
6487 * configure: Regenerate.
6488
6489 2012-05-16 Olivier Hainque <hainque@adacore.com>
6490
6491 * Makefile.in (install-unwind_h): Rename into ...
6492 (install-unwind_h-forbuild): New target.
6493 (all): Use it instead of the former install-unwind_h.
6494 (install-unwind_h): Reinstate, copy to user install destination
6495 for include files, not to the internal gcc object directory one.
6496 (install-leaf): Depend on it.
6497
6498 2012-05-15 Olivier Hainque <hainque@adacore.com>
6499
6500 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
6501 register numbers. LR_REGNO replaces R_LR.
6502 (ucontext_for): New, helper for ...
6503 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
6504 and 5.3 of ...
6505 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
6506
6507 2012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6508
6509 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
6510 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
6511 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
6512 i386/t-cpuinfo ...
6513 (i[34567]86-*-*, x86_64-*-*): ... here.
6514
6515 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
6516 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
6517
6518 * config/i386/i386-cpuinfo.c: Rename to ...
6519 * config/i386/cpuinfo.c: ... this.
6520 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
6521
6522 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
6523 (libgcc_cv_init_priority): New test.
6524 * configure: Regenerate.
6525 * config.in: New file.
6526 * Makefile.in (clean): Rename config.h to auto-target.h.
6527 (config.h): Likewise.
6528 (stamp-h): Likewise.
6529
6530 * config/i386/cpuinfo.c (auto-target.h): Include.
6531 (CONSTRUCTOR_PRIORITY): Define.
6532 (__cpu_indicator_init): Use it.
6533
6534 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
6535
6536 * longlong.h: Use a URL instead of an FSF postal address.
6537 Replace spaces with tab.
6538
6539 2012-05-08 Teresa Johnson <tejohnson@google.com>
6540
6541 * libgcov.c (gcov_clear, __gcov_reset): New functions.
6542 (__gcov_dump): Ditto.
6543 (gcov_dump_complete): New global variable.
6544 (gcov_exit): Export hidden to enable use in L_gcov_dump.
6545 (__gcov_flush): Outline functionality now in gcov_clear.
6546 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
6547
6548 2012-04-28 Aurelien Jarno <aurelien@aurel32.net>
6549
6550 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
6551 (mips*-*-linux*): Include mips/t-tpbit when long double is
6552 16 bytes long.
6553
6554 2012-04-25 Sriraman Tallam <tmsriram@google.com>
6555
6556 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
6557 (get_available_features): New argument. Check for AVX2.
6558 (__cpu_indicator_init): Modify call to get_available_features.
6559
6560 2012-04-25 Alan Modra <amodra@gmail.com>
6561
6562 * config/rs6000/crtsavevr.S: New file.
6563 * config/rs6000/crtrestvr.S: New file.
6564 * config/rs6000/t-savresfgpr: Build the above.
6565 * config/rs6000/t-netbsd: Likewise.
6566
6567 2012-04-24 Sriraman Tallam <tmsriram@google.com>
6568
6569 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
6570
6571 2012-04-24 Sriraman Tallam <tmsriram@google.com>
6572
6573 * libgcc/config/i386/i386-cpuinfo.c: New file.
6574 * libgcc/config/i386/t-cpuinfo: New file.
6575 * libgcc/config.host: Include t-cpuinfo.
6576 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
6577
6578 2012-04-24 Chao-ying Fu <fu@mips.com>
6579
6580 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
6581
6582 2012-04-20 Thomas Schwinge <thomas@codesourcery.com>
6583
6584 struct siginfo vs. siginfo_t
6585
6586 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
6587 siginfo_t instead of struct siginfo.
6588 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
6589 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
6590 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
6591 (ia64_handle_unwabi): Likewise.
6592 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
6593 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
6594 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
6595 (sh_fallback_frame_state): Likewise.
6596 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
6597 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
6598
6599 2012-04-02 H.J. Lu <hongjiu.lu@intel.com>
6600
6601 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
6602 system call number.
6603
6604 2012-03-31 Eric Botcazou <ebotcazou@adacore.com>
6605
6606 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
6607 if it hasn't been previously saved.
6608
6609 2012-03-29 H.J. Lu <hongjiu.lu@intel.com>
6610
6611 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
6612 only for glibc.
6613
6614 2012-03-28 Georg-Johann Lay <avr@gjlay.de>
6615
6616 PR target/52737
6617 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
6618 instead of __AVR_HAVE_8BIT_SP__.
6619
6620 2012-03-26 Tristan Gingold <gingold@adacore.com>
6621
6622 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
6623 (unw_table_entry): Use unw_word instead of unsigned long.
6624 (_Unwind_FindTableEntry): Likewise.
6625 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
6626 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
6627 (_Unwind_FindTableEntry): Likewise.
6628 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
6629 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
6630 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
6631 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
6632 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
6633 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
6634 (uw_init_context_1, uw_install_context): Likewise.
6635 (unw_word): Move to unwind-ia64.h
6636
6637 2012-03-26 Tristan Gingold <gingold@adacore.com>
6638
6639 * config/vms/vms-ucrt0.c: Update copyright years.
6640 Add a sanity check.
6641 (___gcc_main_flags): Declare.
6642 (__main): Check flags to remap argv and exit code.
6643 * config.host (*-*-*vms*): Adjust extra_parts.
6644 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
6645 (crt0.o): Add.
6646
6647 2012-03-22 Richard Earnshaw <rearnsha@arm.com>
6648
6649 * arm/lib1funcs.asm (ctzsi2): New function.
6650 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
6651 * arm/t-linux (LIB1ASMFUNCS): Likewise.
6652 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
6653 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
6654 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
6655 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
6656
6657 2012-03-21 Andreas Tobler <andreast@fgznet.ch>
6658
6659 * config.host: Add bits to support powerpc64-*-freebsd*.
6660 * config/rs6000/freebsd-unwind.h: New file.
6661 * config/rs6000/t-freebsd64: New file.
6662
6663 2012-03-20 Richard Guenther <rguenther@suse.de>
6664
6665 PR gcov-profile/52627
6666 * libgcov.c (init_mx): Fix mutex name.
6667
6668 2012-03-16 Tristan Gingold <gingold@adacore.com>
6669
6670 * config/ia64/vms-unwind.h: Remove ulong (and replace
6671 it by unw_reg where used). Define unw_reg with __int64.
6672
6673 2012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6674
6675 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
6676 Solaris 8 handling.
6677 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
6678 Solaris 8 handling.
6679 (sparc_is_sighandler): Likewise.
6680
6681 2012-03-13 H.J. Lu <hongjiu.lu@intel.com>
6682
6683 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
6684 <= saved reg size.
6685
6686 2012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6687
6688 * config/arm/crtn.S: Fix typo.
6689
6690 2012-03-13 Richard Guenther <rguenther@suse.de>
6691
6692 * libgcov.c: Remove stdio.h include and NULL un-define.
6693
6694 2012-03-13 Richard Guenther <rguenther@suse.de>
6695
6696 PR target/52569
6697 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
6698
6699 2012-03-13 Richard Guenther <rguenther@suse.de>
6700
6701 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
6702
6703 2012-03-13 Richard Guenther <rguenther@suse.de>
6704
6705 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
6706 and __gthread_mutex_init_function definitions.
6707
6708 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6709
6710 * config.host (mips*-*-openbsd*): Remove.
6711
6712 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6713
6714 * config.host: Remove alpha*-dec-osf5.1* handling.
6715 * config/alpha/gthr-posix.c: Remove.
6716 * config/alpha/libgcc-osf5.ver: Remove.
6717 * config/alpha/osf5-unwind.h: Remove.
6718 * config/alpha/t-osf-pthread: Remove.
6719 * config/alpha/t-slibgcc-osf: Remove.
6720 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
6721 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
6722 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
6723 * mkmap-flat.awk: Remove osf_export handling.
6724
6725 2012-03-12 Richard Guenther <rguenther@suse.de>
6726
6727 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
6728 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
6729 (__gthread_mutex_init_function): New function.
6730 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
6731
6732 PR gcov/49484
6733 * libgcov.c: Include gthr.h.
6734 (__gcov_flush_mx): New global variable.
6735 (init_mx, init_mx_once): New functions.
6736 (__gcov_flush): Protect self with a mutex.
6737 (__gcov_fork): Re-initialize mutex after forking.
6738 * unwind-dw2-fde.c: Change condition under which to use
6739 __GTHREAD_MUTEX_INIT_FUNCTION.
6740
6741 2012-03-12 Tristan Gingold <gingold@adacore.com>
6742
6743 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
6744 * config/ia64/t-vms: Likewise.
6745
6746 2012-03-11 Michael Hope <michael.hope@linaro.org>
6747
6748 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
6749 for Thumb-2.
6750
6751 2012-03-07 Walter Lee <walt@tilera.com>
6752
6753 * config/tilepro/atomic.c: Rename "atomic_" prefix to
6754 "arch_atomic_".
6755 (atomic_xor): Rename and move definition to
6756 config/tilepro/atomic.h.
6757 (atomic_nand): Ditto.
6758 * config/tilepro/atomic.h: Rename "atomic_" prefix to
6759 "arch_atomic_".
6760 (arch_atomic_xor): Move from config/tilepro/atomic.c.
6761 (arch_atomic_nand): Ditto.
6762
6763 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
6764
6765 PR target/52507
6766 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
6767
6768 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
6769
6770 PR target/52505
6771 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
6772 from RAM.
6773
6774 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
6775
6776 PR target/52461
6777 PR target/52508
6778 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
6779 if RAMPZ affects reading from RAM.
6780 (__tablejump_elpm__): Ditto.
6781 (.xload): Ditto.
6782 (__movmemx_hi): Ditto.
6783 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
6784 (__do_global_dtors): Ditto.
6785 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
6786 (__movmemx_hi): Ditto.
6787
6788 2012-03-05 Richard Henderson <rth@redhat.com>
6789
6790 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
6791 [ARM] (count_trailing_zeros): Use the builtin.
6792
6793 2012-03-01 Kai Tietz <ktietz@redhat.com>
6794
6795 * soft-fp: Imported from glibc upstream.
6796
6797 2012-02-28 Kai Tietz <ktietz@redhat.com>
6798
6799 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
6800 for mingw-targets as attribute gcc_struct.
6801
6802 2012-02-28 Ian Lance Taylor <iant@google.com>
6803
6804 * generic-morestack.c (__splitstack_releasecontext): Correct call
6805 to __morestack_release_segments.
6806
6807 2012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
6808
6809 PR target/52390
6810 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
6811 for __linux__ when removing signals from __morestack_fullmask.
6812
6813 2012-02-23 Georg-Johann Lay <avr@gjlay.de>
6814
6815 PR target/52261
6816 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
6817
6818 2012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6819
6820 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
6821 instead of HAVE_INITFINI_ARRAY.
6822 * config/ia64/crtend.S: Likewise.
6823
6824 2012-02-20 Kai Tietz <ktietz@redhat.com>
6825
6826 PR libstdc++/52300
6827 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
6828
6829 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
6830 to w32-unwind.h header.
6831
6832 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
6833
6834 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
6835 (mips*-*-linux*): Remove t-slibgcc-libgcc.
6836 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
6837 * config/mips/mips16.S (__mips16_rdhwr): Delete.
6838
6839 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
6840
6841 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
6842
6843 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
6844
6845 PR libitm/52220
6846 * config/darwin-crt-tm.c: Correct typo.
6847
6848 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
6849 Patrick Marlier <patrick.marlier@gmail.com>
6850
6851 PR libitm/52220
6852 * config/darwin-crt-tm.c: Generate dummy functions.
6853
6854 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
6855 Patrick Marlier <patrick.marlier@gmail.com>
6856
6857 PR libitm/52042
6858 * config/darwin-crt-tm.c (getTMCloneTable): New function.
6859 (__doTMRegistrations): Call it.
6860 (__doTMdeRegistrations): Likewise.
6861
6862 2012-01-15 Georg-Johann Lay <avr@gjlay.de>
6863 Anatoly Sokolov <aesok@post.ru>
6864 Eric Weddington <eric.weddington@atmel.com>
6865
6866 PR target/52261
6867 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
6868 (__epilogue_restores__): Ditto.
6869
6870 2012-02-15 Eric Botcazou <ebotcazou@adacore.com>
6871
6872 PR target/51921
6873 PR target/52205
6874 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
6875 Solaris 11 and slightly reformat.
6876 (sparc_is_sighandler): Likewise.
6877
6878 2012-02-14 Walter Lee <walt@tilera.com>
6879
6880 * config.host: Handle tilegx and tilepro.
6881 * config/tilegx/sfp-machine.h: New file.
6882 * config/tilegx/sfp-machine32.h: New file.
6883 * config/tilegx/sfp-machine64.h: New file.
6884 * config/tilegx/t-crtstuff: New file.
6885 * config/tilegx/t-softfp: New file.
6886 * config/tilegx/t-tilegx: New file.
6887 * config/tilepro/atomic.c: New file.
6888 * config/tilepro/atomic.h: New file.
6889 * config/tilepro/linux-unwind.h: New file.
6890 * config/tilepro/sfp-machine.h: New file.
6891 * config/tilepro/softdivide.c: New file.
6892 * config/tilepro/softmpy.S: New file.
6893 * config/tilepro/t-crtstuff: New file.
6894 * config/tilepro/t-tilepro: New file.
6895
6896 2012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
6897
6898 PR libstdc++/51296
6899 PR libstdc++/51906
6900 * gthr-posix.h: Allow static initializer macros to be disabled.
6901 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
6902
6903 2012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
6904
6905 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
6906 Add t-slibgcc-libgcc to tmake_file.
6907 * config/mips/libgcc-mips16.ver: Revert previous patch.
6908 * config/mips/mips16.S (__mips16_rdhwr): Hide.
6909
6910 2012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
6911 Jayant R Sonar <jayant.sonar@kpitcummins.com>
6912
6913 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
6914 * config/cr16/crti.S: New file.
6915 * config/cr16/crtlibid.S: New file.
6916 * config/cr16/crtn.S: New file.
6917 * config/cr16/lib1funcs.S: New file.
6918 * config/cr16/t-cr16: New file.
6919 * config/cr16/t-crtlibid: New file.
6920 * config/cr16/unwind-dw2.h: New file.
6921 * config/cr16/unwind-cr16.c: New file.
6922 * config/cr16/divmodhi3.c: New file.
6923
6924 2012-01-25 Alan Modra <amodra@gmail.com>
6925
6926 * config/rs6000/t-linux64: Delete. Move..
6927 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
6928 * config/rs6000/t-linux: ..and libgcc flags to here.
6929
6930 2012-01-22 Douglas B Rupp <rupp@gnat.com>
6931
6932 * config.host (i[34567]86-*-interix3*):
6933 Change triplet to i[34567]86-*-interix[3-9]*.
6934 * configure: Regenerate.
6935
6936 2012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
6937 Richard Sandiford <rdsandiford@googlemail.com>
6938
6939 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
6940 * config/mips/mips16.S (__mips16_rdhwr): New function.
6941 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
6942
6943 2012-01-11 Nathan Sidwell <nathan@acm.org>
6944
6945 * libgcov.c (__gcov_init): Ignore objects with no functions.
6946
6947 2012-01-10 Georg-Johann Lay <avr@gjlay.de>
6948
6949 PR target/49868
6950 Extend __pgmx semantics to linearize memory.
6951 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
6952 * config/avr/lib1funcs.S (__xload_1): New function.
6953 (__movmemx_qi, __movmemx_hi): New functions.
6954 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
6955 semantics.
6956
6957 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
6958
6959 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
6960 purported sigacthandler address isn't null before dereferencing it.
6961 (sparc_is_sighandler): Likewise.
6962
6963 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
6964
6965 PR ada/41929
6966 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
6967 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
6968 (sparc_is_sighandler): Likewise.
6969 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
6970
6971 2012-01-06 Tristan Gingold <gingold@adacore.com>
6972
6973 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
6974 compatibility thunks...
6975 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
6976 (crtbeginS.o, crtendS.o): ... and these to ...
6977 * config/ia64/t-ia64-elf: ... this new file.
6978 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
6979 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
6980
6981 2012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6982
6983 * configure: Regenerate.
6984 * config/s390/t-crtstuff: Remove -fPIC.
6985
6986 2012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
6987
6988 PR bootstrap/51006
6989 * enable-execute-stack-mprotect.c (getpagesize): Do not define
6990 for NetBSD.
6991
6992 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
6993
6994 PR target/51345
6995 * config/avr/lib1funcs.S: Remove FIXME comments.
6996 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
6997
6998 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
6999
7000 Implement light-weight DImode support.
7001 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
7002 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
7003 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
7004 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
7005
7006 2011-12-30 Nathan Sidwell <nathan@acm.org>
7007
7008 * libgcov.c (gcov_crc32): Remove global var.
7009 (free_fn_data): New function.
7010 (buffer_fn_data): Pass in filename, more robust error recovery.
7011 (crc32_unsigned): New function.
7012 (gcov_exit): More robust detection of new program. More robust
7013 error recovery.
7014 (__gcov_init): Do not update program's crc here.
7015
7016 2011-12-21 Tristan Gingold <gingold@adacore.com>
7017
7018 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
7019
7020 2011-12-21 Ian Lance Taylor <iant@google.com>
7021
7022 * config/i386/morestack.S: Simplify CFI opcodes throughout.
7023
7024 2011-12-20 Ian Lance Taylor <iant@google.com>
7025
7026 * config/i386/morestack.S (__morestack_non_split): If there is
7027 enough stack space already, don't split. Ask for more stack space
7028 than we required.
7029
7030 2011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
7031
7032 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
7033 `sys/sdt.h'.
7034 (_Unwind_DebugHook): New function.
7035 (uw_restore_core_regs): New define.
7036 (unwind_phase2): Use uw_restore_core_regs instead of
7037 restore_core_regs.
7038 (unwind_phase2_forced): Likewise.
7039 (__gnu_Unwind_Resume): Likewise.
7040
7041 2011-12-20 Uros Bizjak <ubizjak@gmail.com>
7042
7043 * config/alpha/linux-unwind.h: Update copyright years.
7044 (MD_FROB_UPDATE_CONTEXT): New define.
7045 (alpha_frob_update_context): New function.
7046
7047 2011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
7048
7049 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
7050 tmake_file rather replacing it.
7051
7052 2011-12-15 Iain Sandoe <iains@gcc.gnu.org>
7053
7054 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
7055 function is not used for PPC64.
7056 (save_world): Amend comments. Update the VRsave mask to reflect the
7057 saved regs.
7058 (rest_world): Update comments, do not clobber r10, do not use r8.
7059 (eh_rest_world_r10): Amend comments, do not use r8.
7060 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
7061 no longer used, move restore of CR and target address to the end of
7062 the routine.
7063
7064 2011-12-14 H.J. Lu <hongjiu.lu@intel.com>
7065
7066 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
7067 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
7068
7069 2011-12-14 Georg-Johann Lay <avr@gjlay.de>
7070
7071 PR target/49313
7072 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
7073 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
7074
7075 2011-12-11 Eric Botcazou <ebotcazou@adacore.com>
7076
7077 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
7078
7079 2011-12-09 Georg-Johann Lay <avr@gjlay.de>
7080
7081 PR target/49313
7082 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
7083 * config/avr/lib1funcs.S (__muldi3): New function.
7084
7085 2011-12-06 Andrew Pinski <apinski@cavium.com>
7086
7087 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
7088 size of func_ptr.
7089 (__frame_dummy_init_array_entry): Likewise.
7090
7091 2011-12-06 Georg-Johann Lay <avr@gjlay.de>
7092
7093 Forward-port from gcc-4_6-branch r181936 2011-12-02.
7094
7095 PR target/51345
7096 PR target/51002
7097 * config/avr/lib1funcs.S (__prologue_saves__,
7098 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
7099 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
7100
7101 2011-12-04 Iain Sandoe <iains@gcc.gnu.org>
7102
7103 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
7104
7105 2011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
7106
7107 PR other/51272
7108 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
7109 (_ITM_deregisterTMCloneTable): Likewise.
7110 (__register_frame_info): Fix unused warning.
7111 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
7112 pthread_default_stacksize_np): Likewise.
7113 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
7114
7115 2011-11-29 DJ Delorie <dj@redhat.com>
7116
7117 * config.host (rl78-*-elf): New case.
7118 * config/rl78: New directory for the Renesas RL78.
7119
7120 2011-11-29 Bernd Schmidt <bernds@codesourcery.com>
7121
7122 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
7123 formatting.
7124
7125 2011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7126
7127 PR other/51022
7128 * config/rs6000/t-savresfgpr: New file.
7129 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
7130 $(srcdir)/config/rs6000/eabi.S.
7131 * config/rs6000/t-ppccomm-ldbl: Remove.
7132 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
7133 tmake_file.
7134 (powerpc-*-eabispe*): Likewise.
7135 (powerpc-*-eabi*): Likewise.
7136 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
7137 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
7138 to tmake_file, remove rs6000/t-ppccomm-ldbl.
7139 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
7140 tmake_file.
7141 (powerpc-*-eabisim*): Likewise.
7142 (powerpc-*-elf*): Likewise.
7143 (powerpc-*-eabialtivec*): Likewise.
7144 (powerpc-xilinx-eabi*): Likewise.
7145 (powerpc-*-rtems*): Likewise.
7146 (powerpcle-*-elf*): Likewise.
7147 (powerpcle-*-eabisim*): Likewise.
7148 (powerpcle-*-eabi*): Likewise.
7149
7150 2011-11-27 Ian Lance Taylor <iant@google.com>
7151
7152 * generic-morestack.c (__splitstack_find): Check for NULL old
7153 stack value.
7154 (__splitstack_resetcontext): New function.
7155 (__splitstack_releasecontext): New function.
7156 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
7157
7158 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
7159
7160 * config/darwin-crt-tm.c: Correct comments, use correct licence.
7161
7162 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
7163
7164 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
7165
7166 2011-11-26 Richard Henderson <rth@redhat.com>
7167
7168 * config/m68k/linux-atomic.c: New file.
7169 * config/m68k/t-linux: New file.
7170 * config.host (m68k-uclinux, m68k-linux): Use it.
7171
7172 2011-11-26 Richard Henderson <rth@redhat.com>
7173
7174 * crtstuff.c (__TMC_LIST__): Mark used not unused.
7175 (__TMC_END__): Only declare if hidden is available; in the definition,
7176 if hidden is unavailable add a null record.
7177 (deregister_tm_clones, register_tm_clones): New.
7178 (__do_global_dtors_aux, frame_dummy): Use them.
7179 (__do_global_dtors, __do_global_ctors_1): Likewise.
7180
7181 2011-11-22 Iain Sandoe <iains@gcc.gnu.org>
7182
7183 * config/darwin-crt-tm.c: New file.
7184 * config.host (darwin): Build crttms.o crttme.o to provide
7185 startup and shutdown for tm clones.
7186 * config/t-darwin (crttms.o): New build rule.
7187 (crttme.o): Likewise.
7188
7189 2011-11-21 Hans-Peter Nilsson <hp@axis.com>
7190
7191 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
7192 et al.
7193
7194 2011-11-21 Richard Henderson <rth@redhat.com>
7195
7196 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
7197 (__TMC_LIST__, __TMC_END__): New.
7198 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
7199 (__do_global_dtors): Likewise.
7200 (frame_dummy): Call _ITM_registerTMCloneTable.
7201 (__do_global_ctors_1): Likewise.
7202
7203 2011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7204
7205 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
7206 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
7207 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
7208 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
7209 * config/i386/t-darwin64: Remove.
7210 * config/sh/t-netbsd (LIB2ADD): Remove.
7211
7212 2011-11-21 Georg-Johann Lay <avr@gjlay.de>
7213
7214 PR target/49313
7215 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
7216 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
7217 * config/avr/lib1funcs.S (wmov): New assembler macro.
7218 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
7219 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
7220 (__udivmod64): New function.
7221 (__negdi2): New function.
7222
7223 2011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
7224
7225 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
7226 *-*-freebsd*aout*): Remove.
7227
7228 2011-11-20 Hans-Peter Nilsson <hp@axis.com>
7229
7230 * static-object.mk (c_flags-$o): Save c_flags.
7231 ($(base)$(objext)): Use it.
7232
7233 2011-11-18 Steve Ellcey <sje@cup.hp.com>
7234
7235 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
7236
7237 2011-11-18 Georg-Johann Lay <avr@gjlay.de>
7238
7239 PR target/49868
7240 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
7241 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
7242 New functions.
7243
7244 2011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
7245
7246 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
7247 functions.
7248 (aeabi_uidivmod): Likewise.
7249 (umodsi3): Likewise.
7250 (divsi3): Likewise.
7251 (aeabi_idivmod): Likewise.
7252 (modsi3): Likewise.
7253
7254 2011-11-16 Tristan Gingold <gingold@adacore.com>
7255
7256 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
7257
7258 2011-11-15 Georg-Johann Lay <avr@gjlay.de>
7259
7260 PR target/49868
7261 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
7262 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
7263
7264 2011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
7265
7266 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
7267 tmake_file list.
7268 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
7269 * config/pa/t-stublib64: Delete.
7270
7271 2011-11-12 Richard Henderson <rth@redhat.com>
7272
7273 * config/rs6000/linux-unwind.h (frob_update_context): Properly
7274 cast the pointer argument to _Unwind_SetGRPtr.
7275
7276 2011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7277
7278 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
7279
7280 2011-11-09 Ian Lance Taylor <iant@google.com>
7281
7282 * generic-morestack.c: Include <string.h>.
7283 (uintptr_type): Define.
7284 (struct initial_sp): Add dont_block_signals field. Reduce size of
7285 extra array by 1.
7286 (allocate_segment): Set prev field to NULL. Don't set
7287 __morestack_current_segment or __morestack_segments.
7288 (__generic_morestack): Update current->prev and *pp after calling
7289 allocate_segment.
7290 (__morestack_block_signals): Don't do anything if
7291 dont_block_signals is set.
7292 (__morestack_unblock_signals): Likewise.
7293 (__generic_findstack): Check for initial_sp == NULL. Add casts to
7294 uintptr_type.
7295 (__splitstack_block_signals): New function.
7296 (enum __splitstack_content_offsets): Define.
7297 (__splitstack_getcontext, __splitstack_setcontext): New functions.
7298 (__splitstack_makecontext): New function.
7299 (__splitstack_block_signals_context): New function.
7300 (__splitstack_find_context): New function.
7301 * config/i386/morestack.S (__morestack_get_guard): New function.
7302 (__morestack_set_guard, __morestack_make_guard): New functions.
7303 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
7304
7305 2011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7306
7307 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
7308 (i[34567]86-*-mingw*): ... here.
7309 (x86_64-*-mingw*): ... here.
7310
7311 2011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7312
7313 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
7314
7315 2011-11-07 Nathan Sidwell <nathan@acm.org>
7316
7317 * libgcov.c (struct gcov_fn_buffer): New struct.
7318 (buffer_fn_data): New helper.
7319 (gcov_exit): Rework for new gcov data structures.
7320
7321 2011-11-07 Georg-Johann Lay <avr@gjlay.de>
7322
7323 PR target/49313
7324 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
7325
7326 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7327
7328 * config.host (tmake_file): Correct comment.
7329 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
7330 t-libgcc-pic.
7331 (bfin*-uclinux*): Likewise.
7332 (bfin*-linux-uclibc*): Likewise.
7333 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
7334
7335 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
7336 assigning.
7337 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7338 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
7339 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7340 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
7341 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7342 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
7343 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
7344 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7345 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
7346 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
7347 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
7348 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
7349 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
7350
7351 * config/bfin/t-elf: Remove.
7352 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
7353
7354 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7355
7356 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
7357 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
7358 (lm32-*-elf*, lm32-*-rtems*): Split into ...
7359 (lm32-*-elf*): ... this.
7360 (lm32-*-rtems*): ... and this.
7361 Add to tmake_file.
7362 (m32r-*-rtems*): Add to tmake_file.
7363 (moxie-*-rtems*): Likewise.
7364 (sparc-*-rtems*): Likewise.
7365 Remove t-rtems from tmake_file.
7366 (sparc64-*-rtems*): Likewise.
7367 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
7368 instead.
7369
7370 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7371
7372 PR bootstrap/50982
7373 * config/gthr-posix.h: Move ...
7374 * gthr-posix.h: ... here.
7375 * config/gthr-lynx.h: Reflect this.
7376 * config/gthr-vxworks.h: Likewise.
7377 * config/rs6000/gthr-aix.h: Likewise.
7378 * configure.ac (target_thread_file): Likewise.
7379 * configure: Regenerate.
7380
7381 2011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
7382
7383 * config.host (arm*-*-rtemseabi*): New target.
7384
7385 2011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
7386
7387 PR other/50991
7388 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
7389 extra-parts.
7390
7391 2011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
7392
7393 * config.host (epiphany-*-elf*): New configuration.
7394 * config/epiphany: New Directory.
7395
7396 2011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
7397
7398 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
7399 * config/avr/t-rtems: New.
7400 Filter out _exit from LIB1ASMFUNCS.
7401
7402 2011-11-04 David S. Miller <davem@davemloft.net>
7403
7404 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
7405 * configure: Rebuild.
7406
7407 2011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7408
7409 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
7410 variable.
7411
7412 2011-11-04 Georg-Johann Lay <avr@gjlay.de>
7413
7414 PR target/50931
7415 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
7416 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
7417
7418 2011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
7419
7420 PR target/50989
7421 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
7422
7423 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7424
7425 * config/c6x/t-elf (LIB2ADDEH): Set.
7426 * config/c6x/t-c6x-elf: Remove.
7427
7428 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7429
7430 * config/i386/sol2-ci.S: Rename to ...
7431 * config/i386/crti.S: ... this.
7432 * config/i386/sol2-cn.S: Rename to ...
7433 * config/i386/crtn.S: ... this.
7434 * config/sparc/sol2-ci.S: Rename to ...
7435 * config/sparc/crti.S: ... this.
7436 * config/sparc/sol2-cn.S: Rename to ...
7437 * config/sparc/crtn.S: ... this.
7438 * config/t-sol2 (CUSTOM_CRTIN): Remove.
7439 (crti.o, crtn.o): Remove.
7440
7441 2011-11-04 Tristan Gingold <gingold@adacore.com>
7442
7443 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
7444
7445 2011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
7446
7447 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
7448
7449 2011-11-03 Hans-Peter Nilsson <hp@axis.com>
7450
7451 * config.host (crisv32-*-none, cris-*-none): Remove.
7452 (crisv32-*-elf): Append to tmake_file, don't just set it.
7453 (cris-*-elf): Add missing t-fdpbit to tmake_file.
7454
7455 2011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7456
7457 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
7458 (ecrtn$(objext)): Likewise.
7459 (ncrti$(objext)): Likewise.
7460 (ncrtn$(objext)): Likewise.
7461
7462 2011-11-03 Andreas Schwab <schwab@redhat.com>
7463
7464 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
7465
7466 2011-11-02 David S. Miller <davem@davemloft.net>
7467
7468 * configure.ac: Set host_address on sparc too.
7469 * configure: Regenerate.
7470 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
7471 based upon host_address.
7472 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
7473
7474 2011-11-02 Jason Merrill <jason@redhat.com>
7475
7476 * config/rs6000/t-ppccomm: Add missing \.
7477
7478 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7479
7480 * gthr-single.h, gthr.h: New files.
7481 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
7482 config/gthr-vxworks.h, config/i386/gthr-win32.h,
7483 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
7484 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
7485 * config/i386/gthr-win32.c: Include "gthr-win32.h".
7486 * configure.ac (thread_header): New variable.
7487 Set it depending on target_thread_file.
7488 (gthr-default.h): Link from $thread_header.
7489 * configure: Regenerate.
7490 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
7491
7492 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7493
7494 * configure.ac (tm_file_): New variable.
7495 Determine from tm_file.
7496 (tm_file, tm_defines): Substitute.
7497 * configure: Regenerate.
7498 * mkheader.sh: New file.
7499 * Makefile.in (clean): Remove libgcc_tm.h.
7500 ($(objects)): Depend on libgcc_tm.h.
7501 (libgcc_tm_defines, libgcc_tm_file): New variables.
7502 (libgcc_tm.h, libgcc_tm.stamp): New targets.
7503 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
7504 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
7505 ($(extra-parts)): Depend on libgcc_tm.h.
7506 * config.host (tm_defines, tm_file): New variable.
7507 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
7508 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
7509 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
7510 (avr-*-rtems*): Likewise.
7511 (avr-*-*): Likewise.
7512 (frv-*-elf): Likewise.
7513 (frv-*-*linux*): Likewise.
7514 (h8300-*-rtems*): Likewise.
7515 (h8300-*-elf*): Likewise.
7516 (i[34567]86-*-darwin*): Likewise.
7517 (x86_64-*-darwin*): Likewise.
7518 (rx-*-elf): Likewise.
7519 (tic6x-*-uclinux): Likewise.
7520 (tic6x-*-elf): Likewise.
7521 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
7522 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
7523 * config/i386/cygming-crtbegin.c: Likewise.
7524 * config/i386/cygming-crtend.c: Likewise.
7525 * config/ia64/fde-vms.c: Likewise.
7526 * config/ia64/unwind-ia64.c: Likewise.
7527 * config/libbid/bid_gcc_intrinsics.h: Likewise.
7528 * config/rs6000/darwin-fallback.c: Likewise.
7529 * config/stormy16/lib2funcs.c: Likewise.
7530 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
7531 * crtstuff.c: Likewise.
7532 * dfp-bit.h: Likewise.
7533 * emutls.c: Likewise.
7534 * fixed-bit.c: Likewise.
7535 * fp-bit.c: Likewise.
7536 * generic-morestack-thread.c: Likewise.
7537 * generic-morestack.c: Likewise.
7538 * libgcc2.c: Likewise.
7539 * libgcov.c: Likewise.
7540 * unwind-dw2-fde-dip.c: Likewise.
7541 * unwind-dw2-fde.c: Likewise.
7542 * unwind-dw2.c: Likewise.
7543 * unwind-sjlj.c: Likewise.
7544
7545 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7546
7547 * configure.ac: Include ../config/picflag.m4.
7548 (GCC_PICFLAG): Call it.
7549 Substitute.
7550 * configure: Regenerate.
7551 * Makefile.in (gcc_srcdir): Remove.
7552 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
7553 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
7554 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
7555 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
7556 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
7557 Use $<.
7558 Remove comment.
7559 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
7560 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
7561 to refer to libgcc2.c.
7562 Use $<.
7563 * config/darwin-64.c: New file.
7564 * config/darwin-crt3.c: Remove comment.
7565 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
7566 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
7567 config/udivmodsi4.c: New files.
7568 * config/memcmp.c, config/memcpy.c, config/memmove.c,
7569 config/memset.c: New files.
7570 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
7571 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
7572 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
7573 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
7574 * config/t-openbsd-thread: New file.
7575 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
7576 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
7577 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
7578 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
7579 qrnnd.S.
7580 Adapt filename.
7581 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
7582 to refer to gthr-posix.c.
7583 * config/alpha/t-vms (LIB2ADD): Set.
7584 * config/alpha/vms-gcc_shell_handler.c: New file.
7585 * config/arm/bpabi.c, config/arm/fp16.c,
7586 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
7587 config/arm/unaligned-funcs.c: New files.
7588 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
7589 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
7590 * config/arm/t-linux: Likewise.
7591 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
7592 * config/arm/t-netbsd: New file.
7593 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
7594 * config/arm/t-symbian (LIB2ADD_ST): Set.
7595 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
7596 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7597 * config/bfin/t-elf: New file.
7598 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
7599 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
7600 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
7601 config/c6x/ltf.c: New files.
7602 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
7603 (HOST_LIBGCC2_CFLAGS): Set.
7604 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
7605 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7606 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
7607 New files.
7608 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
7609 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
7610 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
7611 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
7612 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
7613 files.
7614 * config/frv/t-frv (LIB2ADD): Set.
7615 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7616 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
7617 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
7618 config/h8300/popcounthi2.c: New files.
7619 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
7620 * config/i386/gthr-win32.c: New file.
7621 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
7622 * config/i386/t-cygwin: Likewise.
7623 * config/i386/t-darwin, config/i386/t-darwin64,
7624 config/i386/t-gthr-win32, config/i386/t-interix: New files.
7625 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
7626 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7627 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7628 * config/ia64/quadlib.c: New file.
7629 * config/ia64/t-hpux (LIB2ADD): Set.
7630 * config/ia64/t-ia64: Add comment.
7631 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
7632 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7633 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
7634 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
7635 * config/m32c/t-m32c (LIB2ADD): Set.
7636 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
7637 * config/m32r/t-m32r: Likewise.
7638 * config/m68k/fpgnulib.c: New file.
7639 * config/m68k/t-floatlib (LIB2ADD): Set.
7640 (xfgnulib.c): New target.
7641 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
7642 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
7643 * config/mep/t-mep (LIB2ADD): Set.
7644 * config/microblaze/divsi3.asm: Rename to divsi3.S.
7645 * config/microblaze/moddi3.asm: Rename to moddi3.S.
7646 * config/microblaze/modsi3.asm: Rename to modsi3.S.
7647 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
7648 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
7649 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
7650 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
7651 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
7652 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
7653 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
7654 New files.
7655 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
7656 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
7657 * config/pa/fptr.c, config/pa/lib2funcs.S,
7658 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
7659 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
7660 (LIB2ADD, LIB2ADD_ST): Set.
7661 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
7662 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
7663 Set.
7664 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
7665 * config/pdp11/t-pdp11: New file.
7666 * config/picochip/libgccExtras/adddi3.S,
7667 config/picochip/libgccExtras/ashlsi3.S,
7668 config/picochip/libgccExtras/ashrsi3.S,
7669 config/picochip/libgccExtras/clzsi2.S,
7670 config/picochip/libgccExtras/cmpsi2.S,
7671 config/picochip/libgccExtras/divmod15.S,
7672 config/picochip/libgccExtras/divmodhi4.S,
7673 config/picochip/libgccExtras/divmodsi4.S,
7674 config/picochip/libgccExtras/lshrsi3.S,
7675 config/picochip/libgccExtras/parityhi2.S,
7676 config/picochip/libgccExtras/popcounthi2.S,
7677 config/picochip/libgccExtras/subdi3.S,
7678 config/picochip/libgccExtras/ucmpsi2.S,
7679 config/picochip/libgccExtras/udivmodhi4.S,
7680 config/picochip/libgccExtras/udivmodsi4.S: New files.
7681 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
7682 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
7683 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
7684 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
7685 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
7686 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
7687 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
7688 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
7689 files.
7690 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
7691 (HOST_LIBGCC2_CFLAGS): Set.
7692 * config/rs6000/t-darwin64: New file.
7693 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
7694 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
7695 * config/rs6000/t-ppccomm (LIB2ADD): Add
7696 $(srcdir)/config/rs6000/tramp.S.
7697 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
7698 Add $(srcdir)/config/rs6000/eabi.S.
7699 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
7700 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
7701 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
7702 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
7703 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
7704 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
7705 * config/rs6000/tramp.S: New file.
7706 * config/s390/t-tpf: Remove.
7707 * config/sh/linux-atomic.S: New file.
7708 * config/sh/t-linux (LIB2ADD): Set.
7709 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
7710 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
7711 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
7712 to unwind-dw2.c.
7713 (HOST_LIBGCC2_CFLAGS): Set.
7714 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7715 * config/spu/divmodti4.c, config/spu/divv2df3.c,
7716 config/spu/float_disf.c, config/spu/float_unsdidf.c,
7717 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
7718 config/spu/mfc_multi_tag_release.c,
7719 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
7720 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
7721 config/spu/multi3.c: New files.
7722 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
7723 (HOST_LIBGCC2_CFLAGS): Set.
7724 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
7725 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
7726 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
7727 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
7728 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
7729 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
7730 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
7731 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
7732 config/stormy16/umodsi3.c: New files.
7733 * config/xtensa/lib2funcs.S: New file.
7734 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
7735 * config/xtensa/t-xtensa (LIB2ADD): Set.
7736 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
7737 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
7738 Add t-freebsd-thread to tmake_file for posix threads.
7739 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
7740 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
7741 (*-*-lynxos*): Likewise.
7742 (*-*-netbsd*): Likewise.
7743 (*-*-openbsd*): Likewise.
7744 Add t-openbsd-thread to tmake_file for posix threads.
7745 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
7746 (*-*-vxworks*): Set tmake_file.
7747 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
7748 (alpha*-*-freebsd*): Likewise.
7749 (alpha*-*-netbsd*): Likewise.
7750 (alpha*-*-openbsd*): Likewise.
7751 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
7752 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
7753 (alpha*-dec-*vms*): Likewise.
7754 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
7755 (bfin*-elf*): Add bfin/t-elf to tmake_file.
7756 (bfin*-uclinux*): Likewise.
7757 (bfin*-linux-uclibc*): Likewise.
7758 (crisv32-*-elf): Add cris/t-cris to tmake_file.
7759 (crisv32-*-none): Likewise.
7760 (cris-*-elf): Likewise.
7761 (cris-*-none): Likewise.
7762 (cris-*-linux*, crisv32-*-linux*): Likewise.
7763 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
7764 tmake_file.
7765 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
7766 tmake_file.
7767 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
7768 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
7769 (x86_64-*-elf*): Likewise.
7770 (i[34567]86-*-nto-qnx*): Likewise.
7771 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
7772 win32 threads.
7773 (x86_64-*-mingw*): Likewise.
7774 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
7775 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
7776 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
7777 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
7778 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
7779 tmake_file.
7780 (mipsisa64sr71k-*-elf*): Likewise.
7781 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
7782 (mips-*-elf*, mipsel-*-elf*): Likewise.
7783 (mips64-*-elf*, mips64el-*-elf*): Likewise.
7784 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
7785 (mips*-*-rtems*): Likewise.
7786 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
7787 to tmake_file.
7788 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
7789 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
7790 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
7791 (spu-*-elf*): Likewise.
7792 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
7793
7794 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7795
7796 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
7797 $(srcdir) to refer to $(LIB1ASMSRC).
7798 Use $<.
7799 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
7800 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
7801 config/arm/lib1funcs.S: New files.
7802 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
7803 * config/arm/t-arm: New file.
7804 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
7805 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
7806 config/arm/t-strongarm-elf: New files.
7807 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
7808 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
7809 * config/avr/lib1funcs.S: New file.
7810 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7811 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
7812 * config/c6x/lib1funcs.S: New file.
7813 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7814 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
7815 * config/frv/lib1funcs.S: New file.
7816 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7817 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
7818 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
7819 * config/ia64/__divxf3.asm: Rename to ...
7820 * config/ia64/__divxf3.S: ... this.
7821 Adapt lib1funcs.asm filename.
7822 * config/ia64/_fixtfdi.asm: Rename to ...
7823 * config/ia64/_fixtfdi.S: ... this.
7824 Adapt lib1funcs.asm filename.
7825 * config/ia64/_fixunstfdi.asm: Rename to ...
7826 * config/ia64/_fixunstfdi.S: ... this.
7827 Adapt lib1funcs.asm filename.
7828 * config/ia64/_floatditf.asm: Rename to ...
7829 * config/ia64/_floatditf.S: ... this.
7830 Adapt lib1funcs.asm filename.
7831 * config/ia64/lib1funcs.S: New file.
7832 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
7833 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7834 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
7835 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
7836 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
7837 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
7838 * config/mep/lib1funcs.S: New file.
7839 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7840 * config/mips/mips16.S: New file.
7841 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7842 * config/pa/milli64.S: New file.
7843 * config/pa/t-linux, config/pa/t-linux64: New files.
7844 * config/picochip/lib1funcs.S: New file.
7845 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7846 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
7847 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
7848 * config/sh/t-netbsd: New file.
7849 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
7850 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
7851 * config/sh/t-sh64: New file.
7852 * config/sparc/lb1spc.S: New file.
7853 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
7854 filename.
7855 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
7856 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
7857 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
7858 config/xtensa/lib1funcs.S: New files.
7859 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7860 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
7861 tmake_file.
7862 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
7863 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
7864 (arm*-*-linux*): Likewise.
7865 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
7866 arm*-*-linux-*eabi, add arm/t-linux otherwise.
7867 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
7868 (arm*-*-ecos-elf): Likewise.
7869 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
7870 (arm*-*-rtems*): Likewise.
7871 (arm*-*-elf): Likewise.
7872 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
7873 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
7874 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
7875 (bfin*-uclinux*): Likewise.
7876 (bfin*-linux-uclibc*): Likewise.
7877 (bfin*-rtems*): Likewise.
7878 (bfin*-*): Likewise.
7879 (fido-*-elf): Merge into m68k-*-elf*.
7880 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
7881 (frv-*-*linux*): Add frv/t-frv to tmake_file.
7882 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
7883 (h8300-*-elf*): Likewise.
7884 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
7885 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
7886 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
7887 (i[34567]86-*-mingw*): Likewise.
7888 (x86_64-*-mingw*): Likewise.
7889 (i[34567]86-*-interix3*): Likewise.
7890 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
7891 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
7892 (m68k-*-elf*): Also handle fido-*-elf.
7893 Add m68k/t-floatlib to tmake_file.
7894 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
7895 (m68k-*-linux*): Likewise.
7896 (m68k-*-rtems*): Likewise.
7897 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
7898 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
7899 sh64*-*-*.
7900 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
7901 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
7902 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
7903 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
7904 sh/t-netbsd to tmake_file.
7905 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
7906 (sh-*-rtems*): Add sh/t-sh to tmake_file.
7907 (sh-wrs-vxworks): Likewise.
7908 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
7909 *-leon[3-9]*.
7910 (v850*-*-*): Add v850/t-v850 to tmake_file.
7911 (vax-*-linux*): Add vax/t-linux to tmake_file.
7912 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
7913
7914 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7915
7916 * crtstuff.c: New file.
7917 * Makefile.in (CRTSTUFF_CFLAGS): Define.
7918 (CRTSTUFF_T_CFLAGS): Define.
7919 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
7920 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
7921 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
7922 crtstuff.c.
7923 Use $<.
7924 (crtbeginT.o): Use $(objext).
7925 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
7926 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
7927 (gcc-extra-parts): Remove.
7928 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
7929 Set extra_parts.
7930 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
7931 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
7932 Add t-crtstuff-pic to tmake_file.
7933 (*-*-lynxos*): New case.
7934 Set tmake_file, extra_parts.
7935 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
7936 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
7937 *-*-netbsdelf[2-9]*.
7938 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
7939 (*-*-rtems*): Set extra_parts.
7940 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
7941 (*-*-uclinux*): New case.
7942 Set extra_parts.
7943 (*-*-vms*): New case.
7944 Set tmake_file, extra_parts.
7945 (*-*-elf): Set extra_parts.
7946 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
7947 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
7948 vms/t-vms64.
7949 Set extra_parts.
7950 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
7951 Set extra_parts.
7952 (arm*-*-freebsd*): Add t-crtin to tmake_file.
7953 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
7954 (arm-wrs-vxworks): Append to tmake_file.
7955 Set extra_parts.
7956 (arm*-*-uclinux*): Set extra_parts.
7957 (arm*-*-ecos-elf): Likewise.
7958 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
7959 arm*-*-eabi*.
7960 (arm*-*-rtems*): Set extra_parts.
7961 (arm*-*-elf): Likewise.
7962 (avr-*-rtems*): Clear extra_parts.
7963 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
7964 Set extra_parts.
7965 (bfin*-uclinux*): Likewise.
7966 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
7967 (bfin*-rtems*): Append to tmake_file.
7968 Set extra_parts.
7969 (bfin*-*): Likewise.
7970 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
7971 (crisv32-*-elf): ... this.
7972 (crisv32-*-none): ... this.
7973 (cris-*-elf, cris-*-none): New cases.
7974 Add cris/t-elfmulti to tmake_file.
7975 (fr30-*-elf): Append to tmake_file.
7976 Set extra_parts.
7977 (frv-*-elf): Append to tmake_file, add frv/t-frv.
7978 Set extra_parts.
7979 (h8300-*-rtems*): Append to tmake_file.
7980 Set extra_parts.
7981 (h8300-*-elf*): Likewise.
7982 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
7983 Set extra_parts.
7984 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
7985 Set extra_parts.
7986 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
7987 (x86_64-*-elf*): Likewise.
7988 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
7989 (x86_64-*-freebsd*): Likewise.
7990 (x86_64-*-netbsd*): Likewise.
7991 (i[34567]86-*-linux*): Likewise.
7992 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
7993 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
7994 (x86_64-*-linux*): Likewise.
7995 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
7996 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
7997 tmake_file.
7998 Set extra_parts.
7999 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
8000 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
8001 Append to extra_parts, remove crtbegin.o, crtend.o.
8002 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
8003 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
8004 crtend.o, crtbeginS.o, crtendS.o.
8005 (ia64*-*-linux*): Comment extra_parts.
8006 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
8007 Set extra_parts.
8008 (iq2000*-*-elf*): Clear extra_parts.
8009 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
8010 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
8011 (m32r-*-elf*, m32r-*-rtems*): Split off ...
8012 (m32r-*-rtems*): ... this.
8013 Add m32r/t-m32r to tmake_file.
8014 (m68k-*-elf*): Add t-crtin to tmake_file.
8015 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
8016 (mcore-*-elf): Likewise.
8017 (microblaze*-*-*): Set extra_parts.
8018 (mips*-sde-elf*): New case.
8019 Set tmake_file, extra_parts.
8020 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
8021 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
8022 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
8023 tmake_file.
8024 Set extra_parts.
8025 (mipsisa64sr71k-*-elf*): Likewise.
8026 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
8027 (mips-*-elf*, mipsel-*-elf*): Likewise.
8028 (mips64-*-elf*, mips64el-*-elf*): Likewise.
8029 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
8030 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
8031 (mips*-*-rtems*): Likewise.
8032 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
8033 (moxie-*-*): Split into ...
8034 (moxie-*-elf, moxie-*-uclinux*): ... this.
8035 Add to extra_parts, remove crtbegin.o, crtend.o.
8036 (moxie-*-rtems*): New case.
8037 Set tmake_file.
8038 Clear extra_parts.
8039 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
8040 Set extra_parts.
8041 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
8042 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
8043 tmake_file.
8044 Set extra_parts.
8045 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
8046 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
8047 Set extra_parts.
8048 (powerpc-*-eabisim*): Likewise.
8049 (powerpc-*-elf*): Likewise.
8050 (powerpc-*-eabialtivec*): Likewise.
8051 (powerpc-xilinx-eabi*): Likewise.
8052 (powerpc-*-eabi*): Likewise.
8053 (powerpc-*-rtems*): Likewise.
8054 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
8055 tmake_file.
8056 Set extra_parts.
8057 (powerpc-*-lynxos*): Add to tmake_file.
8058 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
8059 rs6000/t-crtstuff, t-crtstuff-pic.
8060 Set extra_parts.
8061 (powerpcle-*-eabisim*): Likewise.
8062 (powerpcle-*-eabi*): Likewise.
8063 (rx-*-elf): Remove extra_parts.
8064 (s390x-ibm-tpf*): Set extra_parts.
8065 (score-*-elf): Set extra_parts.
8066 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
8067 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
8068 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
8069 (sh64l*-*-netbsd*): Split into ...
8070 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
8071 Add t-crtstuff-pic to tmake_file.
8072 Set extra_parts.
8073 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
8074 Set extra_parts.
8075 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
8076 (sparc-*-elf*): Remove t-crtin from tmake_file.
8077 Add to extra_parts, remove crtbegin.o, crtend.o.
8078 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
8079 (sparc64-*-linux*): Likewise.
8080 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
8081 Add to extra_parts, remove crtbegin.o, crtend.o.
8082 (sparc64-*-elf*): Remove t-crtin from tmake_file.
8083 Add to extra_parts, remove crtbegin.o, crtend.o.
8084 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
8085 Add to extra_parts, remove crtbegin.o, crtend.o.
8086 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
8087 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
8088 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
8089 Set extra_parts.
8090 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
8091 Set extra_parts.
8092 (tic6x-*-*): Change to ...
8093 (tic6x-*-elf): ... this.
8094 Set extra_parts.
8095 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
8096 Set extra_parts.
8097 (am33_2.0-*-linux*): Add comment.
8098 (mep*-*-*): Add mep/t-mep to tmake_file.
8099 Set extra_parts.
8100 * config/alpha/t-vms: New file.
8101 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
8102 * config/arm/crti.S, config/arm/crtn.S: New files.
8103 * config/bfin/crti.S, config/bfin/crtn.S: New files.
8104 * config/bfin/crtlibid.S: New file.
8105 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
8106 * config/c6x/crti.S, config/c6x/crtn.S: New files.
8107 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
8108 (crti.o, crtin.o): New rules.
8109 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
8110 * config/c6x/t-uclinux: New file.
8111 * config/cris/t-elfmulti: New file.
8112 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
8113 * config/fr30/crti.S, config/fr30/crtn.S: New files.
8114 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
8115 * config/frv/t-frv: New file.
8116 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
8117 * config/h8300/crti.S, config/h8300/crtn.S: New files.
8118 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
8119 New files.
8120 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
8121 refer to cygming-crtbegin.c, cygming-crtend.c.
8122 Use $<.
8123 * config/i386/t-nto: New file.
8124 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
8125 * config/ia64/crti.S, config/ia64/crtn.S: New files.
8126 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
8127 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
8128 Use .S extension.
8129 Use $<.
8130 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
8131 (crtinitS.o): New rule.
8132 * config/ia64/vms-crtinit.S: New file.
8133 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
8134 * config/m32r/initfini.c: New file.
8135 * config/m32r/t-linux, config/m32r/t-m32r: New files.
8136 * config/m68k/crti.S, config/m68k/crtn.S: New files.
8137 * config/mcore/crti.S, config/mcore/crtn.S: New files.
8138 * config/mep/t-mep: New file.
8139 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
8140 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
8141 * config/mips/crti.S, config/mips/crtn.S: New files.
8142 * config/mips/t-crtstuff: New file.
8143 * config/mmix/crti.S, config/mmix/crtn.S: New files.
8144 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
8145 (CUSTOM_CRTIN): Set.
8146 ($(T)crti.o, $(T)crtn.o): Remove $(T),
8147 dependencies.
8148 Use $(srcdir) to refer to crti.S, crtn.S.
8149 Use .S extension, $<.
8150 * config/moxie/crti.asm: Rename to ...
8151 * config/moxie/crti.S: ... this.
8152 * config/moxie/crtn.asm: Rename to ...
8153 * config/moxie/crtn.S: ... this.
8154 * config/moxie/t-moxie: Remove.
8155 * config/pa/stublib.c: New file.
8156 * config/pa/t-stublib, config/pa/t-stublib64: New files.
8157 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
8158 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
8159 * config/rs6000/t-crtstuff: New file.
8160 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
8161 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
8162 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
8163 Make output file explicit.
8164 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
8165 Make output file explicit.
8166 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
8167 Make output file explicit.
8168 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
8169 Make output file explicit.
8170 * config/score/crti.S, config/score/crtn.S: New files.
8171 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
8172 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
8173 files.
8174 * config/sh/t-sh, config/sh/t-superh: New files.
8175 * config/sparc/t-linux64: New file.
8176 * config/spu/cache.S, config/spu/cachemgr.c: New files.
8177 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
8178 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
8179 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
8180 * config/t-crtin: Remove.
8181 * config/t-crtstuff-pic: New file.
8182 * config/t-sol2 (CUSTOM_CRTIN): Set.
8183 (crti.o, crtn.o): New rules.
8184 * config/vms/t-vms: New file.
8185 * config/vms/vms-ucrt0.c: New file.
8186 * config/xtensa/t-elf: New file.
8187
8188 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8189
8190 * Makefile.in (SHLIB_NM_FLAGS): Set.
8191 * mkmap-flat.awk, mkmap-symver.awk: New files.
8192 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
8193 exceptions.
8194 * configure: Regenerate.
8195 * config/libgcc-glibc.ver: New file.
8196 * config/libgcc-libsystem.ver: New file.
8197 * config/t-libunwind (SHLIB_LC): Set.
8198 * config/t-linux: New file.
8199 * config/t-slibgcc (INSTALL_SHLIB): New.
8200 (SHLIB_INSTALL): Use it.
8201 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
8202 to mkmap-symver.awk.
8203 (SHLIB_MAPFILES): Don't append, adapt pathname.
8204 (SHLIB_VERPFX): Set.
8205 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
8206 to mkmap-symver.awk.
8207 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
8208 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
8209 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
8210 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
8211 to mkmap-flat.awk.
8212 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
8213 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
8214 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
8215 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
8216 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
8217 * config/i386/libgcc-darwin.10.4.ver,
8218 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
8219 New files.
8220 * config/i386/t-darwin: Remove.
8221 * config/i386/t-darwin64: Likewise.
8222 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
8223 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
8224 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
8225 * config/i386/t-linux: New file.
8226 * config/i386/t-mingw32: New file.
8227 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
8228 * config/ia64/t-glibc: Rename to ...
8229 * config/ia64/t-linux: ... this.
8230 (SHLIB_MAPFILES): Set.
8231 * config/ia64/t-glibc-libunwind: Rename to ...
8232 * config/ia64/t-linux-libunwind: ... this.
8233 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
8234 * config/ia64/t-slibgcc-hpux: New file.
8235 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
8236 * config/m68k/t-slibgcc-elf-ver: New file.
8237 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
8238 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
8239 to mkmap-flat.awk.
8240 * config/pa/t-slibgcc-hpux: New file.
8241 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
8242 files.
8243 * config/rs6000/libgcc-darwin.10.4.ver,
8244 config/rs6000/libgcc-darwin.10.5.ver: New files.
8245 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
8246 config/rs6000/libgcc-glibc.ver.
8247 * config/rs6000/libgcc-ppc64.ver: Rename to
8248 config/rs6000/libgcc-ibm-ldouble.ver.
8249 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
8250 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
8251 * config/rs6000/t-ldbl128: Rename to ...
8252 * config/rs6000/t-linux: ... this.
8253 (SHLIB_MAPFILES): Adapt filename.
8254 * config/rs6000/t-slibgcc-aix: New file.
8255 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
8256 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
8257 libgcc-excl.ver, libgcc-glibc.ver.
8258 (SHLIB_LINK, SHLIB_INSTALL): Remove.
8259 * config/sparc/libgcc-glibc.ver: New file.
8260 * config/sparc/t-linux: New file.
8261 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
8262 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
8263 t-slibgcc-elf-ver to tmake_file.
8264 Add t-slibgcc-nolc-override to tmake_file for posix threads on
8265 *-*-freebsd[34].
8266 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
8267 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
8268 t-slibgcc-elf-ver, t-linux to tmake_file.
8269 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
8270 tmake_file.
8271 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
8272 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
8273 (alpha*-dec-*vms*): Likewise.
8274 (arm*-*-freebsd*): Append to tmake_file.
8275 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
8276 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
8277 arm*-*-linux-*eabi.
8278 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
8279 tmake_file for arm*-*-symbianelf*.
8280 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
8281 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
8282 cris/t-linux.
8283 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
8284 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
8285 pa/t-slibgcc-dwarf-ver to tmake_file.
8286 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
8287 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
8288 (hppa*64*-*-hpux11*): Likewise.
8289 (hppa[12]*-*-hpux11*): Likewise.
8290 (x86_64-*-darwin*): Don't override tmake_file, but only keep
8291 i386/t-crtpc, i386/t-crtfm.
8292 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
8293 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
8294 to tmake_file.
8295 Add i386/t-cygwin to tmake_file.
8296 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
8297 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
8298 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
8299 to tmake_file.
8300 Add i386/t-mingw32 to tmake_file.
8301 (x86_64-*-mingw*): Likewise.
8302 (ia64*-*-freebsd*): Append to tmake_file.
8303 (ia64*-*-linux*): Append to tmake_file.
8304 Replace ia64/t-glibc by ia64/t-linux.
8305 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
8306 system libunwind.
8307 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
8308 t-slibgcc-hpux to tmake_file.
8309 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
8310 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
8311 (m32rle-*-linux*): Likewise.
8312 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
8313 sjlj exceptions.
8314 (microblaze*-linux*): New case.
8315 Append to tmake_file, add t-slibgcc-nolc-override.
8316 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
8317 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
8318 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
8319 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
8320 rs6000/t-slibgcc-aix to tmake_file.
8321 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8322 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8323 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
8324 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
8325 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
8326 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
8327 sh*-*-linux*.
8328 (sparc-*-linux*): Append to tmake_file for *-leon*.
8329 Add sparc/t-linux to tmake_file for non-Leon targets.
8330 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
8331 (tic6x-*-uclinux): New case.
8332 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
8333 (tic6x-*-*): Add c6x/t-elf to tmake_file.
8334 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
8335 (am33_2.0-*-linux*): Append to tmake_file.
8336 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
8337 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
8338 x86_64-*-kfreebsd*-gnu.
8339 Add i386/t-linux to tmake_file.
8340
8341 2011-10-28 Ian Lance Taylor <iant@google.com>
8342
8343 * config/i386/morestack.S: Correct CFI information to do proper
8344 returns throughout function. In 32-bit mode, save %ebx so that it
8345 is restored on unwind.
8346
8347 2011-10-25 Bernd Schmidt <bernds@codesourcery.com>
8348
8349 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
8350 case where B3 isn't the return register.
8351
8352 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
8353 logic for doubleword pops.
8354
8355 2011-10-25 Andreas Tobler <andreast@fgznet.ch>
8356
8357 * config/rs6000/t-freebsd: Add wildcard.
8358
8359 2011-10-21 Paul Brook <paul@codesourcery.com>
8360
8361 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
8362
8363 2011-10-16 Uros Bizjak <ubizjak@gmail.com>
8364 Eric Botcazou <ebotcazou@adacore.com>
8365
8366 PR target/50737
8367 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
8368 fs->signal_frame to 1.
8369
8370 2011-10-07 Ian Lance Taylor <iant@google.com>
8371
8372 * generic-morestack-thread.c: #include <errno.h>.
8373
8374 2011-10-07 Ian Lance Taylor <iant@google.com>
8375
8376 PR target/46093
8377 * generic-morestack.c (__generic_morestack): Make sure the segment
8378 is large enough for both the stack frame and the copied
8379 parameters.
8380
8381 2011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8382
8383 PR bootstrap/49804
8384 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
8385 extra_parts.
8386
8387 2011-09-28 Nick Clifton <nickc@redhat.com>
8388
8389 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
8390 64-bit doubles are not enabled.
8391 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
8392 and floatunsisf functions.
8393
8394 2011-09-13 Paul Brook <paul@codesourcery.com>
8395
8396 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
8397 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
8398 * unwind-arm-common.inc: New file.
8399 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
8400 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
8401 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
8402 * config/c6x/libunwind.S: New file.
8403 * config/c6x/pr-support.c: New file.
8404 * config/c6x/unwind-c6x.c: New file.
8405 * config/c6x/unwind-c6x.h: New file.
8406 * config/c6x/t-c6x-elf: New file.
8407
8408 2011-08-23 Uros Bizjak <ubizjak@gmail.com>
8409
8410 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
8411 (ASM_DIVZERO): Ditto.
8412 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
8413
8414 2011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
8415
8416 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
8417
8418 2011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
8419
8420 PR target/50090
8421 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
8422 instead of an assembly one.
8423
8424 2011-08-12 Paolo Bonzini <bonzini@gnu.org>
8425
8426 PR bootstrap/50047
8427 * Makefile.in (install-unwind_h): Create
8428 $(gcc_objdir)/include/unwind.h atomically.
8429
8430 2011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8431
8432 * Makefile.in (install-unwind_h): Remove destination file first.
8433
8434 2011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8435
8436 * sync.c: New file.
8437 * config/mips/t-mips16: New file.
8438 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
8439 (mips*-*-linux*): Likewise.
8440 (mips*-sde-elf*): Likewise.
8441 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
8442 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
8443 Add mips/t-mips16 to tmake_file.
8444 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
8445 (mips-*-elf*): Likewise.
8446 (mips64-*-elf*): Likewise.
8447 (mips64orion-*-elf*): Likewise.
8448 (mips*-*-rtems*): Likewise.
8449 (mipstx39-*-elf*): Likewise.
8450 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
8451 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
8452 LIBGCC_SYNC_CFLAGS.
8453 Use $(srcdir) to refer to sync.c.
8454 Use $<.
8455 ($(libgcc-sync-funcs-o)): Likewise.
8456 ($(libgcc-sync-size-funcs-s-o)): Likewise.
8457 ($(libgcc-sync-funcs-s-o)): Likewise.
8458
8459 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
8460
8461 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
8462 t-libunwind.
8463
8464 2011-08-08 H.J. Lu <hongjiu.lu@intel.com>
8465
8466 PR other/48007
8467 * config/i386/value-unwind.h: New.
8468
8469 2011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
8470
8471 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
8472 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
8473 Add to tmake_file rather than overriding it.
8474
8475 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8476
8477 * config/t-softfp: Remove.
8478 * soft-fp: Moved from ../gcc/config.
8479 * soft-fp/README: Remove t-softfp reference.
8480 * soft-fp/t-softfp: Move to config/t-softfp.
8481 (softfp_machine_header): Remove.
8482 (softfp_file_list): Remove config subdir.
8483 (soft-fp-objects): New variable.
8484 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
8485 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
8486 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
8487 * config/t-softfp-excl: New file.
8488 * config/t-softfp-sfdf: New file.
8489 * config/t-softfp-tf: New file.
8490 * config/no-sfp-machine.h: New file.
8491 * config/arm/sfp-machine.h: New file.
8492 * config/arm/t-softfp: New file.
8493 * config/c6x/sfp-machine.h: New file.
8494 * config/i386/32/t-fprules-softfp: Rename to ...
8495 * config/i386/32/t-softfp: ... this.
8496 (tifunctions, LIB2ADD): Remove.
8497 (softfp_int_modes): Override.
8498 * config/i386/64/t-softfp-compat (tf-functions): Remove config
8499 subdir.
8500 * config/i386/64/eqtf2.c: Likewise.
8501 * config/i386/64/getf2.c: Likewise.
8502 * config/i386/64/letf2.c: Likewise.
8503 * config/ia64/sft-machine.h: New file.
8504 * config/ia64/t-fprules-softfp: Rename to ...
8505 * config/ia64/t-softfp: ... this.
8506 * config/lm32/sfp-machine.h: New file.
8507 * config/moxie/t-moxie-softfp: Remove.
8508 * config/rs6000/ibm-ldouble-format: New file.
8509 * config/rs6000/ibm-ldouble.c: New file.
8510 * config/rs6000/libgcc-ppc-glibc.ver: New file
8511 * config/rs6000/libgcc-ppc64.ver: New file
8512 * config/rs6000/sfp-machine.h: New file.
8513 * config/rs6000/t-freebsd: New file.
8514 * config/rs6000/t-ibm-ldouble: New file.
8515 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
8516 libgcc-ppc-glibc.ver.
8517 * config/rs6000/t-linux64: New file.
8518 * config/rs6000/t-ppccomm (LIB2ADD): Add
8519 $(srcdir)/config/rs6000/ibm-ldouble.c.
8520 * config/rs6000/t-ppccomm-ldbl: New file.
8521 * config/score/sfp-machine.h: New file.
8522 * config.host (sfp_machine_header): Explain.
8523 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
8524 t-softfp to tmake_file.
8525 (arm*-*-uclinux*): Likewise.
8526 (arm*-*-ecos-elf): Likewise.
8527 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
8528 (arm*-*-rtems*): Likewise.
8529 (arm*-*-elf): Likewise.
8530 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
8531 in tmake_file.
8532 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
8533 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
8534 (lm32-*-uclinux*): Likewise.
8535 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
8536 t-softfp-excl, t-softfp.
8537 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
8538 (powerpc64-*-darwin*): Likewise.
8539 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
8540 to tmake_file.
8541 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
8542 tmake_file.
8543 (powerpc-*-eabisim*): Likewise.
8544 (powerpc-*-elf*): Likewise.
8545 (powerpc-*-eabialtivec*): Likewise.
8546 (powerpc-xilinx-eabi*): Likewise.
8547 (powerpc-*-rtems*): Likewise.
8548 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
8549 t-softfp-excl, t-softfp to tmake_file.
8550 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
8551 rs6000/t-ppccomm-ldbl to tmake_file.
8552 (powerpcle-*-elf*): Likewise.
8553 (powerpcle-*-eabisim*): Likewise.
8554 (powerpcle-*-eabi*): Likewise.
8555 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
8556 rs6000/t-ibm-ldouble to tmake_file.
8557 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8558 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8559 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
8560 (tic6x-*-*): Likewise.
8561 (i[34567]86-*-darwin*, x86_64-*-darwin*,
8562 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
8563 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
8564 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
8565 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
8566 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
8567 t-softfp to tmake_file.
8568 * configure.ac (sfp_machine_header): Provide default if unset.
8569 Substitute.
8570 Link sfp-machine.h to config/$sfp_machine_header.
8571 * configure: Regenerate.
8572
8573 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8574
8575 * Makefile.in (double_type_size, long_double_type_size): Set.
8576 Remove $(fpbit-in-libgcc) support.
8577 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
8578 (fpbit-src): New variable.
8579 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
8580 Compile with -DFLOAT $(FPBIT_CFLAGS).
8581 Use $<.
8582 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
8583 Compile with $(FPBIT_CFLAGS).
8584 Use $<.
8585 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
8586 Compile with -DFLOAT $(TPBIT_CFLAGS).
8587 Use $<.
8588 * configure.ac (double_type_size, long_double_type_size):
8589 Determine and substitute.
8590 * configure: Regenerate.
8591 * fp-bit.c, fp-bit.h: New files.
8592 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
8593 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
8594 * config/mips/t-mips: New file.
8595 * config/mips/t-sdemtk: New file.
8596 * config/rs6000/ppc64-fp.c: New file.
8597 * config/rs6000/t-darwin (LIB2ADD): Add
8598 $(srcdir)/config/rs6000/ppc64-fp.c.
8599 * config/rs6000/t-ppc64-fp: New file.
8600 * config/rx/rx-lib.h: New file.
8601 * config/rx/t-rx (FPBIT): Set to true.
8602 ($(gcc_objdir)/fp-bit.c): Remove.
8603 (DPBIT): Set to true only with -m64bit-doubles.
8604 ($(gcc_objdir)/dp-bit.c): Remove.
8605 * config/sparc/t-softfp: Remove.
8606 * config/spu/t-elf: New file.
8607 * config/t-fdpbit, config/t-fpbit: New files.
8608 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
8609 (mips*-*-*): Likewise.
8610 (arm-wrs-vxworks): Likewise.
8611 (arm*-*-freebsd*): Likewise.
8612 (avr-*-rtems*): Add t-fpbit to tmake_file.
8613 (avr-*-*): Likewise.
8614 (bfin*-elf*): Add t-fdpbit to tmake_file.
8615 (bfin*-uclinux*): Likewise.
8616 (bfin*-linux-uclibc*): Likewise.
8617 (bfin*-rtems*): New case.
8618 Add t-fdpbit to tmake_file.
8619 (bfin*-*): Add t-fdpbit to tmake_file.
8620 (crisv32-*-elf): Likewise.
8621 (cris-*-linux*): Likewise.
8622 (fr30-*-elf): Likewise.
8623 (frv-*-elf, frv-*-*linux*): Likewise.
8624 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
8625 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
8626 (m32r-*-elf*): Likewise.
8627 (m32rle-*-elf*): Likewise.
8628 (m32r-*-linux*): Likewise.
8629 (m32rle-*-linux*): Likewise.
8630 (mcore-*-elf): Add t-fdpbit to tmake_file.
8631 (microblaze*-*-*): Likewise.
8632 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
8633 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
8634 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
8635 Fix typo.
8636 Add mips/t-tpbit to tmake-file.
8637 (mips*-*-linux*): Fix typo.
8638 (mips*-sde-elf*): New case
8639 Add mips/t-sdemtk unless using newlib.
8640 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
8641 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
8642 (mn10300-*-*): Likewise.
8643 (pdp11-*-*): Likewise.
8644 (picochip-*-*): Add t-fpbit to tmake_file.
8645 (powerpc-*-eabisimaltivec*): Likewise.
8646 (powerpc-*-eabisim*): Likewise.
8647 (powerpc-*-elf*): Likewise.
8648 (powerpc-*-eabialtivec*): Likewise.
8649 (powerpc-xilinx-eabi*): New case.
8650 Add t-fdpbit to tmake_file.
8651 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
8652 (powerpc-*-rtems*): Likewise.
8653 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
8654 tmake_file.
8655 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
8656 tmake_file.
8657 (powerpc-*-lynxos*): Likewise.
8658 (powerpcle-*-elf*): Likewise.
8659 (powerpcle-*-eabisim*): Likewise.
8660 (powerpcle-*-eabi*): Likewise.
8661 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
8662 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
8663 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8664 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8665 (rx-*-elf): Add t-fdpbit to tmake_file.
8666 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
8667 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
8668 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
8669 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
8670 sh*-*-netbsd*.
8671 (sh-*-rtems*): Add t-fdpbit to tmake_file.
8672 (sh-wrs-vxworks): Likewise.
8673 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
8674 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
8675 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
8676 (sparc64-*-rtems*): ... new case.
8677 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
8678 (spu-*-elf*): Likewise.
8679 Add spu/t-elf to tmake_file.
8680 (v850*-*-*): Add t-fdpbit to tmake_file.
8681 (xstormy16-*-elf): Likewise.
8682 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
8683 (mep*-*-*): Likewise.
8684
8685 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8686
8687 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
8688 variables.
8689 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
8690 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
8691 (install-unwind_h): New target.
8692 (all): Depend on it.
8693 * config.host (unwind_header): New variable.
8694 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
8695 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
8696 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
8697 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
8698 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
8699 Set unwind_header.
8700 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
8701 Set unwind_header.
8702 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
8703 arm*-*-eabi*.
8704 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
8705 Set unwind_header.
8706 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
8707 (ia64*-*-freebsd*): Likewise.
8708 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
8709 tmake_file.
8710 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
8711 $with_system_libunwind.
8712 (ia64*-*-hpux*): Set tmake_file.
8713 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
8714 (picochip-*-*): Set tmake_file.
8715 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
8716 md_unwind_header.
8717 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8718 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8719 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
8720 (xtensa*-*-elf*): Set tmake_file.
8721 (xtensa*-*-linux*): Likewise.
8722 * configure.ac: Include ../config/unwind_ipinfo.m4.
8723 Call GCC_CHECK_UNWIND_GETIPINFO.
8724 Link unwind.h to $unwind_header.
8725 * configure: Regenerate.
8726 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
8727 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
8728 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
8729 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
8730 * config/unwind-dw2-fde-darwin.c: New file.
8731 * config/arm/libunwind.S, config/arm/pr-support.c,
8732 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
8733 config/arm/unwind-arm.h,: New files.
8734 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
8735 config/ia64/t-eh-ia64, config/ia64/t-glibc,
8736 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
8737 config/ia64/t-vms, config/ia64/unwind-ia64.c,
8738 config/ia64/unwind-ia64.h: New files.
8739 * config/picochip/t-picochip: New file.
8740 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
8741 files.
8742 * config/rs6000/t-darwin (LIB2ADDEH): Set.
8743 * config/s390/t-tpf (LIB2ADDEH): Remove.
8744 * config/t-darwin (LIB2ADDEH): Set.
8745 * config/t-eh-dw2-dip: New file.
8746 * config/t-libunwind, config/t-libunwind-elf: New files.
8747 * config/t-sol2 (LIB2ADDEH): Remove.
8748 * config/xtensa/t-xtensa: New file.
8749
8750 2011-08-02 H.J. Lu <hongjiu.lu@intel.com>
8751
8752 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
8753 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
8754 long long to check rt_sigreturn syscall.
8755
8756 2011-08-02 Alan Modra <amodra@gmail.com>
8757
8758 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
8759 Restore for indirect call bcrtl from correct stack slot, and only
8760 if cfa+40 isn't valid.
8761
8762 2011-08-01 Julian Brown <julian@codesourcery.com>
8763
8764 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
8765 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
8766 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
8767
8768 2011-08-01 Julian Brown <julian@codesourcery.com>
8769
8770 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
8771 (libgcc-std.ver.in): Use above.
8772 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
8773 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
8774 throughout file.
8775 * config/t-fixedpoint-gnu-prefix: New file.
8776 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
8777 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
8778 instead of __PFX__.
8779
8780 2011-07-28 H.J. Lu <hongjiu.lu@intel.com>
8781
8782 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
8783 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
8784 for x86-64. Properly check __x86_64__ and __LP64__.
8785
8786 2010-07-28 H.J. Lu <hongjiu.lu@intel.com>
8787
8788 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
8789 version.
8790 (_FP_WS_TYPE): Likewise.
8791 (_FP_I_TYPE): Likewise.
8792
8793 2011-07-28 Alan Modra <amodra@gmail.com>
8794
8795 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
8796 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
8797 in a plt call stub. Do restore r2 if stopped on bctrl.
8798
8799 2011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8800
8801 * config.host (i[3456x]86-*-netware*): Remove.
8802 * config/i386/netware-crt0.c, config/i386/t-nwld,
8803 config/i386/t-slibgcc-nwld: Remove.
8804
8805 2011-07-15 Bernd Schmidt <bernds@codesourcery.com>
8806
8807 * config.host: Handle tic6x-*-*.
8808 * config/c6x/c6x-abi.h: New file.
8809
8810 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8811
8812 * config/i386/crtprec.c: New file.
8813 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
8814 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
8815 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
8816 (x86_64-*-darwin*): Likewise.
8817 (i[34567]86-*-solaris2*: Likewise.
8818
8819 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8820
8821 * config/alpha/crtfastmath.c: New file.
8822 * config/i386/crtfastmath.c: New file.
8823 * config/ia64/crtfastmath.c: New file.
8824 * config/mips/crtfastmath.c: New file.
8825 * config/sparc/crtfastmath.c: New file.
8826
8827 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
8828 crtfastmath.c.
8829 Add -frandom-seed=gcc-crtfastmath.
8830 * config/alpha/t-crtfm: Remove.
8831 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
8832 * config/ia64/t-ia64 (crtfastmath.o): Remove.
8833
8834 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
8835 (alpha*-dec-osf5.1*): Likewise.
8836 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
8837 Add crtfastmath.o to extra_parts.
8838 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
8839 Add crtfastmath.o to extra_parts.
8840 (x86_64-*-darwin*): Likewise.
8841 (x86_64-*-mingw*): Likewise.
8842 (ia64*-*-elf*): Add t-crtfm to tmake_file.
8843 (ia64*-*-freebsd*): Likewise.
8844 (ia64*-*-linux*): Likewise.
8845 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
8846 Add crtfastmath.o to extra_parts.
8847
8848 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8849
8850 * config/darwin-crt3.o: New file.
8851 * config/rs6000/darwin-crt2.c: New file.
8852 * config/t-darwin: New file.
8853 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
8854 (crt2.o): New rule.
8855 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
8856 (powerpc-*-darwin*): Add crt2.o to extra_parts.
8857 (powerpc64-*-darwin*): Likewise.
8858
8859 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8860
8861 * config/i386/netware-crt0.c: New file.
8862 * config/i386/t-nwld: Rename to ...
8863 * config/i386/t-slibgcc-nwld: ... this.
8864 * config/i386/t-nwld: New file.
8865 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
8866 tmake_file.
8867 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
8868 extra_parts.
8869
8870 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8871
8872 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
8873 i386/t-crtstuff.
8874 * configure: Regenerate.
8875
8876 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8877
8878 * dfp-bit.c, dfp-bit.h: New files.
8879 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
8880 variables.
8881 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
8882 ($(d64pbit-o)): Likewise.
8883 ($(d128pbit-o)): Likewise.
8884 * config/t-dfprules: New file.
8885 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
8886 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
8887 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
8888 (x86_64-*-linux*): Likewise.
8889 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
8890 (i[34567]86-*-cygwin*): Likewise.
8891 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
8892 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
8893
8894 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8895
8896 * Makfile.in (LIBGCOV): New variable.
8897 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
8898 * libgcov.c: New file.
8899
8900 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8901
8902 * fixed-bit.c, fixed-bit.h: New files.
8903 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
8904 refer to fixed-bit.c.
8905
8906 2011-07-07 Joseph Myers <joseph@codesourcery.com>
8907
8908 * config.host (*local*): Remove.
8909
8910 2011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8911
8912 PR target/39150
8913 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
8914 like i?86-*-solaris2.1[0-9]*.
8915 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
8916 * configure.ac (i?86-*-solaris2*): Likewise.
8917 * configure: Regenerate.
8918
8919 2011-07-06 Thomas Schwinge <thomas@schwinge.name>
8920
8921 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
8922 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
8923 md_unwind_header by splitting out of...
8924 (i[34567]86-*-linux*): ... this.
8925 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
8926 Remove md_unwind_header by splitting out of...
8927 (x86_64-*-linux*): ... this.
8928
8929 2011-07-04 Georg-Johann Lay <avr@gjlay.de>
8930
8931 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
8932
8933 2011-06-28 Nick Clifton <nickc@redhat.com>
8934
8935 * config.host: Recognize all V850 variants.
8936
8937 2011-06-22 Uros Bizjak <ubizjak@gmail.com>
8938
8939 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
8940
8941 2011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8942
8943 * shared-object.mk (c_flags-$o): Save c_flags.
8944 ($(base)$(objext)): Use it.
8945 ($(base)_s$(objext)): Likewise.
8946
8947 2011-06-21 Bernd Schmidt <bernds@codesourcery.com>
8948
8949 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
8950 * libgcc-std.ver.in (GCC_4.7.0): New section.
8951
8952 2011-06-16 Georg-Johann Lay <avr@gjlay.de>
8953
8954 PR target/49313
8955 PR target/29524
8956 * config/avr/t-avr: Fix line endings.
8957 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
8958 _parityXX2.
8959
8960 2011-06-14 Olivier Hainque <hainque@adacore.com>
8961 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8962
8963 * config/mips/irix6-unwind.h: New file.
8964 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
8965
8966 2011-06-10 Eric Botcazou <ebotcazou@adacore.com>
8967
8968 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
8969 (sparc64_fallback_frame_state): Use it.
8970 (sparc64_frob_update_context): Further adjust context.
8971 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
8972 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
8973 * config/sparc/sol2-cn.S: Likewise.
8974
8975 2011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8976
8977 * enable-execute-stack-empty.c: New file.
8978 * enable-execute-stack-mprotect.c: New file.
8979 * config/i386/enable-execute-stack-mingw32.c: New file.
8980 * config.host (enable_execute_stack): New variable.
8981 Select appropriate variants.
8982 * configure.ac: Link enable-execute-stack.c to
8983 $enable_execute_stack.
8984 * configure: Regenerate.
8985 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
8986 (lib2funcs): Remove _enable_execute_stack.
8987
8988 2011-06-09 David S. Miller <davem@davemloft.net>
8989 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8990
8991 * config.host (sparc-*-linux*): Correct md_unwind_header
8992 filename.
8993 (s390x-ibm-tpf*): Fix typo.
8994
8995 2011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8996
8997 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
8998 Add crtfastmath.o to extra_parts.
8999 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
9000 mips/t-crtfm.
9001 * config/mips/t-crtfm: Remove.
9002
9003 2011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
9004
9005 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
9006
9007 2011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
9008
9009 * config.host (sh*-*-linux*): Fix typo.
9010
9011 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9012
9013 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
9014 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
9015 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
9016 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
9017 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
9018 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
9019 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
9020 Wrap in !__MINGW64__.
9021 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
9022 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
9023 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
9024 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
9025 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
9026 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
9027 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
9028 Wrap in !__LP64__.
9029 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
9030 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
9031 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
9032 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
9033 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
9034 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
9035 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
9036 * config/no-unwind.h: New file.
9037 * config.host (md_unwind_header): Document.
9038 Define.
9039 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
9040 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
9041 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
9042 hppa[12]*-*-hpux11*): Set md_unwind_header.
9043 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
9044 Set md_unwind_header.
9045 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
9046 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
9047 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
9048 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
9049 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
9050 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
9051 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
9052 md_unwind_header.
9053 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
9054 * configure: Regenerate.
9055
9056 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9057
9058 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
9059 Set tmake_file, extra_parts.
9060 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
9061 Remove O32 support.
9062 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
9063 Remove O32 support.
9064 * config/mips/t-irix6: New file.
9065 * config/mips/t-slibgcc-irix: New file.
9066
9067 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9068
9069 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
9070 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
9071
9072 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9073
9074 * configure.ac (target_thread_file): Determine thread model.
9075 * configure: Regenerate.
9076 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
9077 * config/alpha/t-alpha: New file.
9078 * config/alpha/t-crtfm: Use $<.
9079 * config/alpha/t-ieee: New file.
9080 * config/alpha/t-osf-pthread: New file.
9081 * config/alpha/t-slibgcc-osf: New file.
9082 * config/alpha/libgcc-osf5.ver: New file.
9083
9084 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9085
9086 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
9087 tmake_file.
9088 Add crtfastmath.o to extra_parts.
9089
9090 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9091
9092 * config/gmon-sol2.c: Reindent.
9093 Cleanup comments.
9094 Remove, correct casts.
9095 Use STDERR_FILENO, NULL.
9096 (BASEADDRESS): Remove.
9097 (minbrk): Remove.
9098 (errno, sbrk): Remove declarations.
9099 (monstartup) [hp300]: Remove.
9100 (mcount): Remove.
9101
9102 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9103
9104 * Makefile.in (cpu_type): Define.
9105 * config.host (i[34567]86-*-rtems*): Handle it.
9106 (i[34567]86-*-solaris2*): Move body ...
9107 (*-*-solaris2*): ... here.
9108 New case, generalize.
9109 (sparc-*-elf*): Handle it.
9110 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
9111 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
9112 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
9113 Fold into ...
9114 (sparc*-*-solaris2*): ... this.
9115 New case.
9116 (sparc64-*-elf*): Handle it.
9117 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
9118 Merge ../gcc/config/i386/gmon-sol2.c.
9119 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
9120 Use C comments.
9121 Merge ../gcc/config/i386/sol2-gc1.asm.
9122 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
9123 Use C comments.
9124 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
9125 Use C comments.
9126 * config/i386/t-crtfm (crtfastmath.o): Use $<.
9127 * config/i386/t-crtstuff: New file.
9128 * config/i386/t-softfp: New file.
9129 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
9130 $(T)crti.o, $(T)crtn.o): Remove.
9131 (gcrt1.o): New rule.
9132 (TARGET_LIBGCC2_CFLAGS): Remove.
9133 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
9134 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
9135 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
9136 * config/sparc/t-sol2: New file.
9137 * config/sparc/t-crtfm: Move to ...
9138 * config/t-crtfm: ... this.
9139 Use $(cpu_type), $<.
9140 * config/t-crtin: New file.
9141 * config/sparc/t-softfp: New file.
9142 * config/sparc/t-softmul: New file.
9143 * config/t-rtems: New file.
9144 * config/t-slibgcc: New file.
9145 * config/t-slibgcc-elf-ver: New file.
9146 * config/t-slibgcc-gld: New file.
9147 * config/t-slibgcc-sld: New file.
9148 * config/t-sol2: New file.
9149 * configure.ac: Include ../config/lib-ld.m4.
9150 Call AC_LIB_PROG_LD_GNU.
9151 Substitute cpu_type.
9152 * configure: Regenerate.
9153
9154 2011-05-27 Bernd Schmidt <bernds@codesourcery.com>
9155
9156 PR bootstrap/49173
9157 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
9158 libgcc-std.ver in the build directory.
9159 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
9160 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
9161
9162 2011-05-25 Bernd Schmidt <bernds@codesourcery.com>
9163
9164 * libgcc-std.ver.in: New file.
9165 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
9166 variables.
9167 (libgcc-std.ver): New rule.
9168 * config/t-gnu-prefix: New file.
9169
9170 2011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9171
9172 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
9173
9174 2011-05-10 Joseph Myers <joseph@codesourcery.com>
9175
9176 * config/i386/darwin-lib.h: New file.
9177
9178 2011-05-10 Joseph Myers <joseph@codesourcery.com>
9179
9180 * config/arm/symbian-lib.h: New.
9181
9182 2011-05-04 Chris Demetriou <cgd@google.com>
9183
9184 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
9185 (__x86.get_pc_thunk.bx): ...this.
9186 (__morestack): Adjust for rename, remove undef of __i686.
9187
9188 2011-05-03 Chris Demetriou <cgd@google.com>
9189
9190 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
9191
9192 2011-03-22 Joseph Myers <joseph@codesourcery.com>
9193
9194 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
9195 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
9196 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
9197 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
9198 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
9199 Remove cases.
9200
9201 2011-03-14 Andreas Tobler <andreast@fgznet.ch>
9202
9203 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
9204 Adjust copyright year.
9205
9206 2011-03-07 Ian Lance Taylor <iant@google.com>
9207
9208 * generic-morestack.c (__splitstack_find): Adjust returned stack
9209 pointer to include all registers pushed by __morestack.
9210
9211 2011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
9212
9213 PR target/40125
9214 * configure.ac: Call ACX_NONCANONICAL_TARGET.
9215 (toolexecdir): Calculate and AC_SUBST.
9216 (toolexeclibdir): Likewise.
9217 * Makefile.in (target_noncanonical): Import.
9218 (toolexecdir): Likewise.
9219 (toolexeclibdir): Likewise.
9220 * configure: Regenerate.
9221
9222 2010-12-13 Nathan Froyd <froydnj@codesourcery.com>
9223
9224 PR target/46040
9225 * config/arm/bpabi.h: Rename to...
9226 * config/arm/bpabi-lib.h: ...this.
9227
9228 2010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9229
9230 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
9231 appropriate.
9232 * configure: Regenerate.
9233
9234 2010-11-24 Nathan Froyd <froydnj@codesourcery.com>
9235
9236 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
9237 __FLOAT_WORD_ORDER__.
9238 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
9239 Delete.
9240
9241 2010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9242
9243 PR other/46202
9244 * Makefile.in (install-strip): New phony target.
9245
9246 2010-11-07 Ian Lance Taylor <iant@google.com>
9247
9248 PR target/46089
9249 * config/i386/morestack.S (__morestack_large_model): New
9250 function.
9251
9252 2010-10-23 Nathan Froyd <froydnj@codesourcery.com>
9253
9254 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
9255 Delete.
9256 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
9257
9258 2010-10-14 Nathan Froyd <froydnj@codesourcery.com>
9259
9260 * config/arm/bpabi.h: New file.
9261 * config/frv/frv-abi.h: New file.
9262
9263 2010-10-01 Ian Lance Taylor <iant@google.com>
9264
9265 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
9266 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
9267
9268 2010-10-01 H.J. Lu <hongjiu.lu@intel.com>
9269
9270 PR target/45858
9271 * config.host: Add the missing `$'.
9272
9273 2010-09-30 Michael Eager <eager@eagercon.com>
9274
9275 * config.host: Add microblaze*-*-*.
9276 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
9277 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
9278 udivsi3.asm,umodsi3.asm}: New.
9279
9280 2010-09-28 Ian Lance Taylor <iant@google.com>
9281
9282 * configure.ac: Adjust CFI test to test assembler directly rather
9283 than checking gcc preprocessor macro.
9284 * configure: Rebuild.
9285
9286 2010-09-27 Ian Lance Taylor <iant@google.com>
9287
9288 * configure.ac: Test whether assembler supports CFI directives.
9289 * config.host: Only add t-stack and i386/t-stack-i386 to
9290 tmake_file if libgcc_cv_cfi is "yes".
9291 * configure: Rebuild.
9292
9293 2010-09-27 Ian Lance Taylor <iant@google.com>
9294
9295 * generic-morestack.h: New file.
9296 * generic-morestack.c: New file.
9297 * generic-morestack-thread.c: New file.
9298 * config/i386/morestack.S: New file.
9299 * config/t-stack: New file.
9300 * config/i386/t-stack-i386: New file.
9301 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
9302 i386/t-stack-i386 to tmake_file.
9303
9304 2010-09-21 Iain Sandoe <iains@gcc.gnu.org>
9305
9306 * Makefile.in (libgcc-extra-parts): Check for static archives and
9307 invoke ranlib after installing them.
9308 (gcc-extra-parts): Likewise.
9309 (install-leaf): Likewise.
9310
9311 2010-09-14 H.J. Lu <hongjiu.lu@intel.com>
9312
9313 * configure: Regenerated.
9314
9315 2010-09-10 Kai Tietz <kai.tietz@onevision.com>
9316
9317 * configure: Regenerated.
9318
9319 2010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
9320 Andrew Pinski <pinskia@gmail.com>
9321
9322 PR target/40959
9323 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
9324
9325 2010-09-06 H.J. Lu <hongjiu.lu@intel.com>
9326
9327 PR target/45524
9328 * configure: Regenerated.
9329
9330 2010-09-06 Andreas Schwab <schwab@redhat.com>
9331
9332 * configure: Regenerate.
9333
9334 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
9335
9336 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
9337 64bit targets.
9338 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
9339 for 64bit targets.
9340
9341 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
9342 Iain Sandoe <iains@gcc.gnu.org>
9343
9344 PR target/45476
9345 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
9346 LIB2FUNCS_EXCLUDE functions.
9347
9348 2010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9349
9350 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
9351 Include dfp.m4.
9352 * configure: Regenerate.
9353
9354 2010-09-01 Uros Bizjak <ubizjak@gmail.com>
9355
9356 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
9357 i386/t-freebsd to tmake_file.
9358 * config/i386/t-freebsd: New file.
9359 * config/i386/libgcc-bsd.ver: New file.
9360
9361 2010-07-23 Nathan Froyd <froydnj@codesourcery.com>
9362
9363 * config.host (powerpc*-eabispe*): Set tmake_file.
9364 (powerpc*-eabi*): Likewise.
9365 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
9366 crtbeginS, crtendS, crtbeginT.
9367
9368 2010-06-12 Kazu Hirata <kazu@codesourcery.com>
9369
9370 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
9371 to tmake_file. Add crtfastmath.o to extra_parts.
9372 * config/mips/t-crtfm: New.
9373
9374 2010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
9375
9376 * config.host (sparc64-*-rtems*): New target.
9377
9378 2010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9379
9380 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
9381 assembler syntax.
9382
9383 2010-04-15 Thomas Schwinge <tschwinge@gnu.org>
9384
9385 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
9386
9387 2010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9388
9389 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
9390 alpha-dec-osf5.0* support.
9391
9392 2010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
9393
9394 * config.host: Add lm32-*-rtems*.
9395
9396 2010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9397 Uros Bizjak <ubizjak@gmail.com>
9398
9399 PR target/39048
9400 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
9401 like other remaining 32-bit x86 OSes.
9402 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
9403 assembler syntax.
9404 * config/i386/libgcc-sol2.ver: New file.
9405 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
9406
9407 2010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
9408
9409 PR c/43553
9410 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
9411 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
9412 is used and substitute set_use_emutls.
9413 * configure: Regenerated.
9414
9415 2010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
9416
9417 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
9418
9419 2010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9420
9421 PR target/38085
9422 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
9423 MULTILIB_CFLAGS.
9424 ($(T)gcrt1.o): Likewise.
9425 ($(T)crt1.o): Likewise.
9426 ($(T)crti.o): Likewise.
9427 ($(T)crtn.o): Likewise.
9428
9429 2010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9430
9431 PR other/42980
9432 * Makefile.in (install): Use $(MAKE) string in rule, for
9433 parallel make.
9434
9435 2010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
9436
9437 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
9438 * config/mmix/t-mmix: New file.
9439 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
9440
9441 2010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
9442
9443 PR java/41991
9444 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
9445 SHLIB_MAPFILES.
9446
9447 2010-01-04 Anthony Green <green@moxielogic.com>
9448
9449 * config/moxie/crti.asm, config/moxie/crtn.asm,
9450 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
9451 config/moxie/t-moxie: New files.
9452 * config.host: Add t-moxie-softfp reference.
9453
9454 2009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
9455
9456 PR other/39888
9457 * config/t-slibgcc-darwin: Fix embedded rpaths for
9458 --enable-version-specific-runtime-libs, build extension stub
9459 libs exposing features available from current libgcc_s.
9460
9461 2009-11-11 Jon Beniston <jon@beniston.com>
9462
9463 * config.host: Add lm32 targets.
9464 * config/lm32: New directory.
9465 * config/lm32/libgcc_lm32.h: New file.
9466 * config/lm32/_mulsi3.c: New file.
9467 * config/lm32/_udivmodsi4.c: New file.
9468 * config/lm32/_divsi3.c: New file.
9469 * config/lm32/_modsi3.c: New file.
9470 * config/lm32/_udivsi3.c: New file.
9471 * config/lm32/_umodsi3.c: New file.
9472 * config/lm32/_lshrsi3.S: New file.
9473 * config/lm32/_ashrsi3.S: New file.
9474 * config/lm32/_ashlsi3.S: New file.
9475 * config/lm32/crti.S: New file.
9476 * config/lm32/crtn.S: New file.
9477 * config/lm32/t-lm32: New file.
9478 * config/lm32/t-elf: New file.
9479 * config/lm32/t-uclinux: New file.
9480
9481 2009-10-26 Nick Clifton <nickc@redhat.com>
9482
9483 * config.host: Add support for RX target.
9484 * config/rx: New directory.
9485 * config/rx/rx-abi-functions.c: New file. Supplementary
9486 functions for libgcc to support the RX ABI.
9487 * config/rx/rx-abi.h: New file. Supplementary header file for
9488 libgcc RX ABI functions.
9489 * config/rx/t-rx: New file: Makefile fragment for building
9490 libgcc for the RX.
9491
9492 2009-10-09 Uros Bizjak <ubizjak@gmail.com>
9493
9494 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
9495 constraint of y0 to "g".
9496
9497 2009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9498
9499 * config.host: Include the s390 makefile fragments.
9500 * config/s390/32/_fixdfdi.c: New file.
9501 * config/s390/32/_fixsfdi.c: New file.
9502 * config/s390/32/_fixtfdi.c: New file.
9503 * config/s390/32/_fixunsdfdi.c: New file.
9504 * config/s390/32/_fixunssfdi.c: New file.
9505 * config/s390/32/_fixunstfdi.c: New file.
9506 * config/s390/32/t-floattodi: New file.
9507 * config/s390/libgcc-glibc.ver: New file.
9508 * config/s390/t-crtstuff: New file.
9509 * config/s390/t-linux: New file.
9510 * config/s390/t-tpf: New file.
9511
9512 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9513
9514 * configure.ac (AC_PREREQ): Bump to 2.64.
9515
9516 2009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
9517
9518 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
9519
9520 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9521
9522 * configure: Regenerate.
9523
9524 2009-08-09 Douglas B Rupp <rupp@gnat.com>
9525
9526 * config.host (ia64-hp-*vms*): New target.
9527 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
9528 with ia64-hp-*vms*.
9529
9530 2009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9531
9532 * configure.ac: Add snippet for maintainer-mode.
9533 * configure: Regenerate.
9534 * Makefile.in (AUTOCONF, configure_deps): New variables.
9535 ($(srcdir)/configure)): New rule, active only with maintainer
9536 mode turned on.
9537
9538 2009-06-23 DJ Delorie <dj@redhat.com>
9539
9540 Add MeP port.
9541 * config.host: Add mep support.
9542
9543 2009-06-22 Kai Tietz <kai.tietz@onevision.com>
9544
9545 * config.host: Add i386/${host_address}/t-fprules-softfp and
9546 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
9547
9548 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
9549 for mingw targets.
9550 * config/i386/64/_multc3.c: Likewise.
9551 * config/i386/64/_powitf2.c: Likewise.
9552 * config/i386/64/eqtf2.c: Likewise.
9553 * config/i386/64/getf2.c: Likewise.
9554 * config/i386/64/letf2.c: Likewise.
9555 * config/i386/64/letf2.c: Likewise.
9556 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
9557 unsigned long long for x64 mingw targets.
9558 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
9559 (_FP_I_TYPE): Define as long long for x64 mingw target.
9560
9561 2009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
9562
9563 * config.host (vax-*-linux*): New.
9564
9565 2009-05-31 Anthony Green <green@moxielogic.com>
9566
9567 * config.host: Add moxie support.
9568 * config/moxie/t-moxie: New file.
9569
9570 2009-05-29 David Billinghurst <billingd@gcc.gnu.org>
9571
9572 * config.host: Add i386/${host_address}/t-fprules-softfp and
9573 t-softfp to tmake_file for i[34567]86-*-cygwin*.
9574
9575 2009-04-17 Aurelien Jarno <aurelien@aurel32.net>
9576
9577 * config.host: Add i386/${host_address}/t-fprules-softfp to
9578 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
9579
9580 2009-04-09 Nick Clifton <nickc@redhat.com>
9581
9582 * config/ia64/tf-signs.c: Change copyright header to refer to
9583 version 3 of the GNU General Public License with version 3.1
9584 of the GCC Runtime Library Exception and to point readers at
9585 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
9586 web page.
9587 * config/i386/32/tf-signs.c: Likewise.
9588 * config/libbid/_addsub_dd.c: Likewise.
9589 * config/libbid/_addsub_sd.c: Likewise.
9590 * config/libbid/_addsub_td.c: Likewise.
9591 * config/libbid/_dd_to_df.c: Likewise.
9592 * config/libbid/_dd_to_di.c: Likewise.
9593 * config/libbid/_dd_to_sd.c: Likewise.
9594 * config/libbid/_dd_to_sf.c: Likewise.
9595 * config/libbid/_dd_to_si.c: Likewise.
9596 * config/libbid/_dd_to_td.c: Likewise.
9597 * config/libbid/_dd_to_tf.c: Likewise.
9598 * config/libbid/_dd_to_udi.c: Likewise.
9599 * config/libbid/_dd_to_usi.c: Likewise.
9600 * config/libbid/_dd_to_xf.c: Likewise.
9601 * config/libbid/_df_to_dd.c: Likewise.
9602 * config/libbid/_df_to_sd.c: Likewise.
9603 * config/libbid/_df_to_td.c: Likewise.
9604 * config/libbid/_di_to_dd.c: Likewise.
9605 * config/libbid/_di_to_sd.c: Likewise.
9606 * config/libbid/_di_to_td.c: Likewise.
9607 * config/libbid/_div_dd.c: Likewise.
9608 * config/libbid/_div_sd.c: Likewise.
9609 * config/libbid/_div_td.c: Likewise.
9610 * config/libbid/_eq_dd.c: Likewise.
9611 * config/libbid/_eq_sd.c: Likewise.
9612 * config/libbid/_eq_td.c: Likewise.
9613 * config/libbid/_ge_dd.c: Likewise.
9614 * config/libbid/_ge_sd.c: Likewise.
9615 * config/libbid/_ge_td.c: Likewise.
9616 * config/libbid/_gt_dd.c: Likewise.
9617 * config/libbid/_gt_sd.c: Likewise.
9618 * config/libbid/_gt_td.c: Likewise.
9619 * config/libbid/_isinfd128.c: Likewise.
9620 * config/libbid/_isinfd32.c: Likewise.
9621 * config/libbid/_isinfd64.c: Likewise.
9622 * config/libbid/_le_dd.c: Likewise.
9623 * config/libbid/_le_sd.c: Likewise.
9624 * config/libbid/_le_td.c: Likewise.
9625 * config/libbid/_lt_dd.c: Likewise.
9626 * config/libbid/_lt_sd.c: Likewise.
9627 * config/libbid/_lt_td.c: Likewise.
9628 * config/libbid/_mul_dd.c: Likewise.
9629 * config/libbid/_mul_sd.c: Likewise.
9630 * config/libbid/_mul_td.c: Likewise.
9631 * config/libbid/_ne_dd.c: Likewise.
9632 * config/libbid/_ne_sd.c: Likewise.
9633 * config/libbid/_ne_td.c: Likewise.
9634 * config/libbid/_sd_to_dd.c: Likewise.
9635 * config/libbid/_sd_to_df.c: Likewise.
9636 * config/libbid/_sd_to_di.c: Likewise.
9637 * config/libbid/_sd_to_sf.c: Likewise.
9638 * config/libbid/_sd_to_si.c: Likewise.
9639 * config/libbid/_sd_to_td.c: Likewise.
9640 * config/libbid/_sd_to_tf.c: Likewise.
9641 * config/libbid/_sd_to_udi.c: Likewise.
9642 * config/libbid/_sd_to_usi.c: Likewise.
9643 * config/libbid/_sd_to_xf.c: Likewise.
9644 * config/libbid/_sf_to_dd.c: Likewise.
9645 * config/libbid/_sf_to_sd.c: Likewise.
9646 * config/libbid/_sf_to_td.c: Likewise.
9647 * config/libbid/_si_to_dd.c: Likewise.
9648 * config/libbid/_si_to_sd.c: Likewise.
9649 * config/libbid/_si_to_td.c: Likewise.
9650 * config/libbid/_td_to_dd.c: Likewise.
9651 * config/libbid/_td_to_df.c: Likewise.
9652 * config/libbid/_td_to_di.c: Likewise.
9653 * config/libbid/_td_to_sd.c: Likewise.
9654 * config/libbid/_td_to_sf.c: Likewise.
9655 * config/libbid/_td_to_si.c: Likewise.
9656 * config/libbid/_td_to_tf.c: Likewise.
9657 * config/libbid/_td_to_udi.c: Likewise.
9658 * config/libbid/_td_to_usi.c: Likewise.
9659 * config/libbid/_td_to_xf.c: Likewise.
9660 * config/libbid/_tf_to_dd.c: Likewise.
9661 * config/libbid/_tf_to_sd.c: Likewise.
9662 * config/libbid/_tf_to_td.c: Likewise.
9663 * config/libbid/_udi_to_dd.c: Likewise.
9664 * config/libbid/_udi_to_sd.c: Likewise.
9665 * config/libbid/_udi_to_td.c: Likewise.
9666 * config/libbid/_unord_dd.c: Likewise.
9667 * config/libbid/_unord_sd.c: Likewise.
9668 * config/libbid/_unord_td.c: Likewise.
9669 * config/libbid/_usi_to_dd.c: Likewise.
9670 * config/libbid/_usi_to_sd.c: Likewise.
9671 * config/libbid/_usi_to_td.c: Likewise.
9672 * config/libbid/_xf_to_dd.c: Likewise.
9673 * config/libbid/_xf_to_sd.c: Likewise.
9674 * config/libbid/_xf_to_td.c: Likewise.
9675 * config/libbid/bid128.c: Likewise.
9676 * config/libbid/bid128_2_str.h: Likewise.
9677 * config/libbid/bid128_2_str_macros.h: Likewise.
9678 * config/libbid/bid128_2_str_tables.c: Likewise.
9679 * config/libbid/bid128_add.c: Likewise.
9680 * config/libbid/bid128_compare.c: Likewise.
9681 * config/libbid/bid128_div.c: Likewise.
9682 * config/libbid/bid128_fma.c: Likewise.
9683 * config/libbid/bid128_logb.c: Likewise.
9684 * config/libbid/bid128_minmax.c: Likewise.
9685 * config/libbid/bid128_mul.c: Likewise.
9686 * config/libbid/bid128_next.c: Likewise.
9687 * config/libbid/bid128_noncomp.c: Likewise.
9688 * config/libbid/bid128_quantize.c: Likewise.
9689 * config/libbid/bid128_rem.c: Likewise.
9690 * config/libbid/bid128_round_integral.c: Likewise.
9691 * config/libbid/bid128_scalb.c: Likewise.
9692 * config/libbid/bid128_sqrt.c: Likewise.
9693 * config/libbid/bid128_string.c: Likewise.
9694 * config/libbid/bid128_to_int16.c: Likewise.
9695 * config/libbid/bid128_to_int32.c: Likewise.
9696 * config/libbid/bid128_to_int64.c: Likewise.
9697 * config/libbid/bid128_to_int8.c: Likewise.
9698 * config/libbid/bid128_to_uint16.c: Likewise.
9699 * config/libbid/bid128_to_uint32.c: Likewise.
9700 * config/libbid/bid128_to_uint64.c: Likewise.
9701 * config/libbid/bid128_to_uint8.c: Likewise.
9702 * config/libbid/bid32_to_bid128.c: Likewise.
9703 * config/libbid/bid32_to_bid64.c: Likewise.
9704 * config/libbid/bid64_add.c: Likewise.
9705 * config/libbid/bid64_compare.c: Likewise.
9706 * config/libbid/bid64_div.c: Likewise.
9707 * config/libbid/bid64_fma.c: Likewise.
9708 * config/libbid/bid64_logb.c: Likewise.
9709 * config/libbid/bid64_minmax.c: Likewise.
9710 * config/libbid/bid64_mul.c: Likewise.
9711 * config/libbid/bid64_next.c: Likewise.
9712 * config/libbid/bid64_noncomp.c: Likewise.
9713 * config/libbid/bid64_quantize.c: Likewise.
9714 * config/libbid/bid64_rem.c: Likewise.
9715 * config/libbid/bid64_round_integral.c: Likewise.
9716 * config/libbid/bid64_scalb.c: Likewise.
9717 * config/libbid/bid64_sqrt.c: Likewise.
9718 * config/libbid/bid64_string.c: Likewise.
9719 * config/libbid/bid64_to_bid128.c: Likewise.
9720 * config/libbid/bid64_to_int16.c: Likewise.
9721 * config/libbid/bid64_to_int32.c: Likewise.
9722 * config/libbid/bid64_to_int64.c: Likewise.
9723 * config/libbid/bid64_to_int8.c: Likewise.
9724 * config/libbid/bid64_to_uint16.c: Likewise.
9725 * config/libbid/bid64_to_uint32.c: Likewise.
9726 * config/libbid/bid64_to_uint64.c: Likewise.
9727 * config/libbid/bid64_to_uint8.c: Likewise.
9728 * config/libbid/bid_b2d.h: Likewise.
9729 * config/libbid/bid_binarydecimal.c: Likewise.
9730 * config/libbid/bid_conf.h: Likewise.
9731 * config/libbid/bid_convert_data.c: Likewise.
9732 * config/libbid/bid_decimal_data.c: Likewise.
9733 * config/libbid/bid_decimal_globals.c: Likewise.
9734 * config/libbid/bid_div_macros.h: Likewise.
9735 * config/libbid/bid_dpd.c: Likewise.
9736 * config/libbid/bid_flag_operations.c: Likewise.
9737 * config/libbid/bid_from_int.c: Likewise.
9738 * config/libbid/bid_functions.h: Likewise.
9739 * config/libbid/bid_gcc_intrinsics.h: Likewise.
9740 * config/libbid/bid_inline_add.h: Likewise.
9741 * config/libbid/bid_internal.h: Likewise.
9742 * config/libbid/bid_round.c: Likewise.
9743 * config/libbid/bid_sqrt_macros.h: Likewise.
9744
9745 2009-04-09 Jakub Jelinek <jakub@redhat.com>
9746
9747 * Makefile.in: Change copyright header to refer to version
9748 3 of the GNU General Public License and to point readers at the
9749 COPYING3 file and the FSF's license web page.
9750 * config.host: Likewise.
9751
9752 2009-04-07 Alan Modra <amodra@bigpond.net.au>
9753
9754 * config.host: Reorder and merge to match config.gcc change.
9755
9756 2009-04-03 Alan Modra <amodra@bigpond.net.au>
9757
9758 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
9759
9760 2009-03-28 Joseph Myers <joseph@codesourcery.com>
9761
9762 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
9763 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
9764 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
9765 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
9766
9767 2009-02-12 Uros Bizjak <ubizjak@gmail.com>
9768
9769 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
9770 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
9771
9772 2009-02-12 H.J. Lu <hongjiu.lu@intel.com>
9773
9774 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
9775 ia64/t-softfp-compat to tmake_file.
9776
9777 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
9778
9779 * config/ia64/__divxf3.asm: New.
9780 * config/ia64/_fixtfdi.asm: Likewise.
9781 * config/ia64/_fixunstfdi.asm: Likewise.
9782 * config/ia64/_floatditf.asm: Likewise.
9783 * config/ia64/t-fprules-softfp: Likewise.
9784 * config/ia64/t-softfp-compat: Likewise.
9785 * config/ia64/tf-signs.c: Likewise.
9786
9787 2009-01-18 Ben Elliston <bje@au.ibm.com>
9788
9789 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
9790
9791 2009-01-16 Ben Elliston <bje@au.ibm.com>
9792
9793 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
9794 to tmake_file.
9795
9796 2009-01-13 Ben Elliston <bje@au.ibm.com>
9797
9798 * config/t-softfp: New file.
9799 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
9800 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
9801
9802 2009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
9803
9804 * config.host: Add m32r*-*-rtems*.
9805
9806 2008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
9807
9808 * config.host: Add m32c*-*-rtems*.
9809
9810 2008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9811
9812 PR bootstrap/33100
9813 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
9814 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
9815 * configure: Regenerate.
9816 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
9817 tmake_file here from gcc/config.gcc.
9818 Move extra_parts here from gcc/config.gcc.
9819 * config/i386/t-sol2: Move here from gcc/config/i386.
9820 Use gcc_srcdir instead of srcdir.
9821
9822 2008-11-18 Adam Nemet <anemet@caviumnetworks.com>
9823
9824 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
9825 case.
9826
9827 2008-11-09 Thomas Schwinge <tschwinge@gnu.org>
9828
9829 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
9830
9831 2008-10-08 Thomas Schwinge <tschwinge@gnu.org>
9832
9833 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
9834
9835 2008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
9836
9837 Add picoChip port.
9838 * config.host: Add picochip-*-*.
9839
9840 2008-08-06 Bob Wilson <bob.wilson@acm.org>
9841
9842 * config.host: Match more processor names for Xtensa.
9843
9844 2008-07-08 H.J. Lu <hongjiu.lu@intel.com>
9845
9846 * config/i386/64/t-softfp-compat: Update comments.
9847
9848 2008-07-07 H.J. Lu <hongjiu.lu@intel.com>
9849
9850 * config/i386/64/_divtc3-compat.c: Moved to ...
9851 * config/i386/64/_divtc3.c: Here.
9852
9853 * config/i386/64/_multc3-compat.c: Moved to ...
9854 * config/i386/64/_multc3.c: Here.
9855
9856 * config/i386/64/_powitf2-compat.c: Moved to ...
9857 * config/i386/64/_powitf2.c: Here.
9858
9859 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
9860 .c suffix instead of -compat.c.
9861
9862 2008-07-05 Uros Bizjak <ubizjak@gmail.com>
9863
9864 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
9865 (_FP_MUL_MEAT_D): Ditto.
9866 (_FP_DIV_MEAT_S): Ditto.
9867 (_FP_DIV_MEAT_D): Ditto.
9868
9869 2008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
9870
9871 * Makefile.in: Add support for __sync_* libgcc functions.
9872
9873 2008-07-03 H.J. Lu <hongjiu.lu@intel.com>
9874
9875 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
9876
9877 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9878
9879 PR boostrap/36702
9880 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
9881 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
9882
9883 * config/i386/64/t-fprules-softfp: Moved to ...
9884 * config/i386/64/t-softfp-compat: This. New.
9885
9886 2008-07-02 Uros Bizjak <ubizjak@gmail.com>
9887
9888 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
9889 Initialize f with 0.0.
9890
9891 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9892
9893 PR target/36669
9894 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
9895
9896 * config/i386/64/_divtc3-compat.c: New.
9897 * config/i386/64/_multc3-compat.c: Likewise.
9898 * config/i386/64/_powitf2-compat.c: Likewise.
9899 * config/i386/64/eqtf2.c: Likewise.
9900 * config/i386/64/getf2.c: Likewise.
9901 * config/i386/64/letf2.c: Likewise.
9902 * config/i386/64/t-fprules-softfp: Likewise.
9903
9904 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9905
9906 * config.host: Add i386/${host_address}/t-fprules-softfp to
9907 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
9908 i[34567]86-*-linux*, x86_64-*-linux*.
9909
9910 * configure.ac: Set host_address to 64 or 32 for x86.
9911 * configure: Regenerated.
9912
9913 * Makefile.in (config.status): Also depend on
9914 $(srcdir)/config.host.
9915
9916 * config/i386/32/t-fprules-softfp: New.
9917 * config/i386/32/tf-signs.c: Likewise.
9918
9919 * config/i386/64/sfp-machine.h: New. Moved from gcc.
9920
9921 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9922 Uros Bizjak <ubizjak@gmail.com>
9923
9924 * config/i386/32/sfp-machine.h: New.
9925
9926 2008-06-26 Nathan Froyd <froydnj@codesourcery.com>
9927
9928 * config/rs6000/t-ppccomm: Remove rules that conflict with
9929 auto-generated rules.
9930
9931 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9932
9933 * configure.ac: sinclude override.m4.
9934 * configure: Regenerate.
9935
9936 2008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
9937
9938 * configure: Regenerate.
9939
9940 2008-06-10 Joseph Myers <joseph@codesourcery.com>
9941
9942 * Makefile.in (DECNUMINC): Remove
9943 -I$(MULTIBUILDTOP)../../libdecnumber.
9944 * gstdint.h: New.
9945
9946 2008-06-07 Joseph Myers <joseph@codesourcery.com>
9947
9948 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
9949 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
9950 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
9951 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
9952 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
9953 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
9954 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
9955 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
9956 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
9957 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
9958 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
9959 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
9960 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
9961 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
9962
9963 2008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
9964
9965 * config.host (sh2[lbe]*-*-linux*): Allow target.
9966
9967 2008-04-30 Nathan Froyd <froydnj@codesourcery.com>
9968
9969 * config/rs6000/t-ppccomm: Add build rules for new files.
9970 (LIB2ADD_ST): New variable.
9971
9972 2008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
9973
9974 PR target/34210
9975 PR target/35508
9976 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
9977 * config/t-avr: New file. Build 16bit libgcc functions.
9978
9979 2008-03-02 Jakub Jelinek <jakub@redhat.com>
9980
9981 PR target/35401
9982 * config/t-slibgcc-darwin: Make install-leaf dependent on
9983 install-darwin-libgcc-stubs instead of install.
9984
9985 2008-01-25 Joseph Myers <joseph@codesourcery.com>
9986
9987 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
9988 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
9989 sh-*-rtemscoff*): Remove cases.
9990
9991 2007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
9992
9993 * Makefile.in (all): Use install-leaf rather than install.
9994 (install): Split most of the rule into...
9995 (install-leaf): ...this new one.
9996
9997 2007-12-19 Etsushi Kato <ek.kato@gmail.com>
9998 Paolo Bonzini <bonzini@gnu.org>
9999
10000 PR target/30572
10001 * Makefile.in: Use @shlib_slibdir@ substitution to get
10002 correct install name on darwin.
10003 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
10004
10005 2007-12-15 Hans-Peter Nilsson <hp@axis.com>
10006
10007 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
10008 cris-*-elf and cris-*-none.
10009 (crisv32-*-linux*): Similar, as cris-*-linux*.
10010
10011 2007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
10012
10013 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
10014
10015 2007-10-27 H.J. Lu <hongjiu.lu@intel.com>
10016
10017 PR regression/33926
10018 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
10019 * configure: Regenerated.
10020
10021 2007-09-27 H.J. Lu <hongjiu.lu@intel.com>
10022
10023 * Makefile.in (dfp-filenames): Replace decimal_globals,
10024 decimal_data, binarydecimal and convert_data with
10025 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
10026 and bid_convert_data, respectively.
10027
10028 2007-09-17 Chao-ying Fu <fu@mips.com>
10029 Nigel Stephens <nigel@mips.com>
10030
10031 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
10032 * Makefile.in (fixed_point): Define.
10033 Check if fixed_point is yes to build support functions.
10034 * configure.ac: Check for fixed_point support.
10035 * configure: Regenerated.
10036 * gen-fixed.sh: New file to generate lists of fixed-point labels,
10037 funcs, modes, from, to.
10038
10039 2007-09-11 Janis Johnson <janis187@us.ibm.com
10040
10041 * Makefile.in (dfp-filenames): Add bid128_noncomp.
10042
10043 2007-09-10 Janis Johnson <janis187@us.ibm.com>
10044
10045 * Makefile.in (dfp-filenames): Remove decUtility, add
10046 decDouble, decPacked, decQuad, decSingle.
10047
10048 2007-08-27 Hans Kester <hans.kester@ellips.nl>
10049
10050 * config.host : Add x86_64-elf target.
10051
10052 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
10053
10054 * configure.ac (set_have_cc_tls): Add a missing =.
10055 * configure: Regenerated.
10056
10057 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
10058
10059 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
10060 and x86_64-*-linux*.
10061
10062 * config/t-tls: New file.
10063
10064 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
10065
10066 * configure.ac: Include ../config/enable.m4 and
10067 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
10068 supports TLS and substitute set_have_cc_tls.
10069 * configure: Regenerated.
10070
10071 2007-07-04 H.J. Lu <hongjiu.lu@intel.com>
10072
10073 * Makefile.in: Use libbid for DFP when BID is enabled.
10074
10075 2007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
10076
10077 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
10078 extra_parts. Add config/i386/t-cygming to tmake_file.
10079 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
10080
10081 2007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
10082 Danny Smith <dannysmith@users.sourceforge.net>
10083
10084 PR target/29498
10085 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
10086 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
10087 * config/i386/t-crtfm: Compile crtfastmath.o with
10088 -minline-all-stringops.
10089
10090 2007-05-10 Richard Sandiford <richard@codesourcery.com>
10091
10092 * config.host (sparc-wrs-vxworks): New target.
10093
10094 2007-04-14 Kazu Hirata <kazu@codesourcery.com>
10095
10096 * config.host: Recognize fido.
10097
10098 2007-04-04 Janis Johnson <janis187@us.ibm.com>
10099
10100 * configure: Check host, not target, for decimal float support.
10101
10102 2007-04-03 Uros Bizjak <ubizjak@gmail.com>
10103
10104 * config/i386/t-crtpc: New file.
10105 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
10106 (x86_64-*-linux*): Ditto.
10107
10108 2007-02-30 Kai Tietz <kai.tietz@onevision.com>
10109
10110 * config.host (x86_64-*-mingw*): New target.
10111
10112 2007-03-23 Michael Meissner <michael.meissner@amd.com>
10113 H.J. Lu <hongjiu.lu@intel.com>
10114
10115 * Makefile.in (enable_decimal_float): New.
10116 (DECNUMINC): Add
10117 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
10118 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
10119 (decbits-filenames): This.
10120 (decbits-objects): New.
10121 (libgcc-objects): Add $(decbits-objects).
10122
10123 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
10124 Substitute enable_decimal_float.
10125 * configure: Regenerated.
10126
10127 2007-03-19 Hans-Peter Nilsson <hp@axis.com>
10128
10129 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
10130
10131 2007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
10132
10133 * Makefile.in (install-info): New dummy target.
10134
10135 2007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
10136
10137 * config.host (bfin*-linux-uclibc*): Set extra_parts.
10138
10139 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
10140
10141 * Makefile.in: Add install-html and install-pdf dummy
10142 targets.
10143
10144 2007-02-05 Roger Sayle <roger@eyesopen.com>
10145 Daniel Jacobowitz <dan@codesourcery.com>
10146
10147 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
10148 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
10149 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
10150
10151 2007-01-29 Janis Johnson <janis187@us.ibm.com>
10152
10153 * Makefile.in (dec-filenames): Add decExcept.
10154
10155 2007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
10156
10157 PR bootstrap/30469
10158 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
10159 -fprofile-use.
10160
10161 2007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
10162
10163 * configure.ac: Add --enable-version-specific-runtime-libs.
10164 Correct $slibdir default.
10165 * configure: Regenerated.
10166
10167 2007-01-23 Joseph Myers <joseph@codesourcery.com>
10168
10169 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
10170
10171 2007-01-21 Andrew Pinski <pinskia@gmail.com>
10172
10173 PR target/30519
10174 * config.host (alpha*-*-linux*): Set extra_parts.
10175
10176 2007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
10177
10178 * config/sh/t-linux: New.
10179 * config.host (sh*-*-linux*): Set tmake_file.
10180
10181 2007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
10182
10183 * Makefile.in (install): Handle multilibs.
10184
10185 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
10186
10187 * Makefile.in: Added .PHONY entry for documentation targets.
10188
10189 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
10190
10191 * Makefile.in: Add empty info, html, dvi, pdf targets.
10192
10193 2007-01-04 Mike Stump <mrs@apple.com>
10194
10195 * Makefile.in (MAKEINFO): Remove.
10196 (PERL): Likewise.
10197
10198 2007-01-04 Paolo Bonzini <bonzini@gnu.org>
10199
10200 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
10201 * configure: Regenerate.
10202 * Makefile.in (host_subdir): Substitute it.
10203 (gcc_objdir): Use it.
10204
10205 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
10206
10207 * config.host (ia64*-*-linux*): Set tmake_file.
10208
10209 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
10210
10211 * Makefile.in (version): Define.
10212
10213 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
10214 Paolo Bonzini <bonzini@gnu.org>
10215
10216 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
10217 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
10218 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
10219 config/sparc/t-crtfm, config/t-slibgcc-darwin,
10220 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
10221 shared-object.mk, siditi-object.mk, static-object.mk: New files.
10222 * configure: Generated.
10223 \f
10224 Copyright (C) 2007-2019 Free Software Foundation, Inc.
10225
10226 Copying and distribution of this file, with or without modification,
10227 are permitted in any medium without royalty provided the copyright
10228 notice and this notice are preserved.