]> git.ipfire.org Git - thirdparty/gcc.git/blame - libgcc/ChangeLog
[arm] Early split subdi3
[thirdparty/gcc.git] / libgcc / ChangeLog
CommitLineData
5725fb5e 12019-10-15 John David Anglin <danglin@gcc.gnu.org>
2
3 * config/pa/fptr.c (_dl_read_access_allowed): Change argument to
4 unsigned int. Adjust callers.
5 (__canonicalize_funcptr_for_compare): Change plabel type to volatile
6 unsigned int *. Load relocation offset before function pointer.
7 Add barrier to ensure ordering.
8
17f9eb21 92019-10-12 John David Anglin <danglin@gcc.gnu.org>
10
11 * config/pa/lib2funcs.S (__gcc_plt_call): Load branch target to %r21.
12 Load PIC register after branch target. Fix white space.
13 * config/pa/milli64.S ($$dyncall): Separate LINUX and non LINUX
14 implementations. Load PIC register after branch target. Don't
15 clobber function pointer when it points to function descriptor.
16 Use nullification instead of branch in LINUX implementation.
17
a12fd60a 182019-10-03 John David Anglin <danglin@gcc.gnu.org>
19
20 * config/pa/fptr.c: Disable -Warray-bounds warning.
21
77a61553 222019-09-25 Richard Henderson <richard.henderson@linaro.org>
23
650ec7f9 24 * config.in, configure: Re-rebuild with stock autoconf 2.69,
25 not the ubuntu modified 2.69.
26
be929693 27 PR target/91833
28 * config/aarch64/lse-init.c: Include auto-target.h. Disable
29 initialization if !HAVE_SYS_AUXV_H.
30 * configure.ac (AC_CHECK_HEADERS): Add sys/auxv.h.
31 * config.in, configure: Rebuild.
32
77a61553 33 PR target/91834
34 * config/aarch64/lse.S (LDNM): Ensure STXR output does not
35 overlap the inputs.
36
164c7d29 372019-09-25 Shaokun Zhang <zhangshaokun@hisilicon.com>
38
39 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Add support for
40 CTR_EL0.IDC and CTR_EL0.DIC.
41
2f0b2a14 422019-09-20 Christophe Lyon <christophe.lyon@st.com>
43
44 Revert:
45 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
46 Mickaël Guêné <mickael.guene@st.com>
47
48 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
49 architecture.
50
4b8864d1 512019-09-19 Richard Henderson <richard.henderson@linaro.org>
52
53 * config/aarch64/lse-init.c: New file.
54 * config/aarch64/lse.S: New file.
55 * config/aarch64/t-lse: New file.
56 * config.host: Add t-lse to all aarch64 tuples.
57
08ff7787 582019-09-10 Christophe Lyon <christophe.lyon@st.com>
59 Mickaël Guêné <mickael.guene@st.com>
60
67805ce8 61 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
62 architecture.
63
642019-09-10 Christophe Lyon <christophe.lyon@st.com>
65 Mickaël Guêné <mickael.guene@st.com>
66
08ff7787 67 * unwind-arm-common.inc (ARM_SET_R7_RT_SIGRETURN)
68 (THUMB2_SET_R7_RT_SIGRETURN, FDPIC_LDR_R12_WITH_FUNCDESC)
69 (FDPIC_LDR_R9_WITH_GOT, FDPIC_LDR_PC_WITH_RESTORER)
70 (FDPIC_FUNCDESC_OFFSET, ARM_NEW_RT_SIGFRAME_UCONTEXT)
71 (ARM_UCONTEXT_SIGCONTEXT, ARM_SIGCONTEXT_R0, FDPIC_T2_LDR_R12_WITH_FUNCDESC)
72 (FDPIC_T2_LDR_R9_WITH_GOT, FDPIC_T2_LDR_PC_WITH_RESTORER): New.
73 (__gnu_personality_sigframe_fdpic): New.
74 (get_eit_entry): Add FDPIC signal frame support.
75
b5f6b83e 762019-09-10 Christophe Lyon <christophe.lyon@st.com>
77 Mickaël Guêné <mickael.guene@st.com>
78
79 * config/arm/linux-atomic.c (__kernel_cmpxchg): Add FDPIC support.
80 (__kernel_dmb): Likewise.
81 (__fdpic_cmpxchg): New function.
82 (__fdpic_dmb): New function.
83 * config/arm/unwind-arm.h (FDPIC_REGNUM): New define.
84 (gnu_Unwind_Find_got): New function.
85 (_Unwind_decode_typeinfo_ptr): Add FDPIC support.
86 * unwind-arm-common.inc (UCB_PR_GOT): New.
87 (funcdesc_t): New struct.
88 (get_eit_entry): Add FDPIC support.
89 (unwind_phase2): Likewise.
90 (unwind_phase2_forced): Likewise.
91 (__gnu_Unwind_RaiseException): Likewise.
92 (__gnu_Unwind_Resume): Likewise.
93 (__gnu_Unwind_Backtrace): Likewise.
94 * unwind-pe.h (read_encoded_value_with_base): Likewise.
95
6cb819f4 962019-09-10 Christophe Lyon <christophe.lyon@st.com>
d52e0f05 97 Mickaël Guêné <mickael.guene@st.com>
6cb819f4 98
d52e0f05 99 * libgcc/crtstuff.c: Add support for FDPIC.
100
1012019-09-10 Christophe Lyon <christophe.lyon@st.com>
102
103 * config.host: Handle *-*-uclinuxfdpiceabi.
6cb819f4 104
3ec6f8cb 1052019-09-09 Jose E. Marchesi <jose.marchesi@oracle.com>
106
107 * config.host: Set cpu_type for bpf-*-* targets.
108 * config/bpf/t-bpf: Likewise.
109 * config/bpf/crtn.S: Likewise.
110 * config/bpf/crti.S: New file.
111
07f19ed9 1122019-09-06 Jim Wilson <jimw@sifive.com>
113
114 * config.host (riscv*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
115 (riscv*-*-freebsd*): Likewise.
116
7ee1594e 1172019-09-03 Ulrich Weigand <uweigand@de.ibm.com>
118
119 * config.host: Remove references to spu.
120 * config/spu/: Remove directory.
121
7a61d821 1222019-08-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
123
124 PR target/91306
125 * crtstuff.c (__CTOR_LIST__): Align to the "__alignof__" the array
126 element type, instead of "sizeof" the element type.
127 (__DTOR_LIST__): Likewise.
128 (__TMC_LIST__): Likewise.
129 (__do_global_dtors_aux_fini_array_entry): Likewise.
130 (__frame_dummy_init_array_entry): Likewise.
131 (__CTOR_END__): Likewise.
132 (__DTOR_END__): Likweise.
133 (__FRAME_END__): Likewise.
134 (__TMC_END__): Likewise.
135
dc4bb038 1362019-08-20 Lili Cui <lilicui@intel.com>
137
138 * config/i386/cpuinfo.h: Add INTEL_COREI7_TIGERLAKE and
139 INTEL_COREI7_COOPERLAKE.
140
4eda35ff 1412019-07-31 Matt Thomas <matt@3am-software.com>
142 Nick Hudson <nick@nthcliff.demon.co.uk>
143 Matthew Green <mrg@eterna.com.au>
144 Maya Rashish <coypu@sdf.org>
145
146 * config.host (hppa*-*-netbsd*): New case.
147 * config/pa/t-netbsd: New file.
148
4dee05a9 1492019-07-31 Joel Hutton <Joel.Hutton@arm.com>
150
151 * config/arm/cmse.c (cmse_check_address_range): Add
152 warn_unused_result attribute.
153
667ffde7 1542019-07-22 Martin Liska <mliska@suse.cz>
155
156 * config/pa/stublib.c: Remove stub symbol __gnu_lto_v1.
157 * config/pa/t-stublib: Likewise.
158
24bc7cd3 1592019-07-22 Stafford Horne <shorne@gmail.com>
160
161 PR target/90362
162 * config/or1k/lib1funcs.S (__udivsi3): Change l.sfeqi
163 to l.sfeq and l.sfltsi to l.sflts equivalents as the immediate
164 instructions are not available on every processor. Change a
165 l.bnf to l.bf to fix logic issue.
166
80e713c9 1672019-07-04 Iain Sandoe <iain@sandoe.co.uk>
168
169 * config.host: Remove reference to t-darwin8.
170
19b4baa0 1712019-07-03 Iain Sandoe <iain@sandoe.co.uk>
172
173 * config.host (powerpc-*-darwin*,powerpc64-*-darwin*): Revise crt
174 list.
175 * config/rs6000/t-darwin: Build crt3_2 for older systems. Revise
176 mmacosx-version-min for crts to run across all system versions.
177 * config/rs6000/t-darwin64 (LIB2ADD): Remove.
178 * config/t-darwin: Revise mmacosx-version-min for crts to run across
179 system versions >= 10.4.
180
ac65c341 1812019-07-03 Martin Liska <mliska@suse.cz>
182
183 * Makefile.in: Use topn_values instead of one_value names.
184 * libgcov-merge.c (__gcov_merge_single): Move to ...
185 (__gcov_merge_topn): ... this.
186 (merge_single_value_set): Move to ...
187 (merge_topn_values_set): ... this.
188 * libgcov-profiler.c (__gcov_one_value_profiler_body): Move to
189 ...
190 (__gcov_topn_values_profiler_body): ... this.
191 (__gcov_one_value_profiler_v2): Move to ...
192 (__gcov_topn_values_profiler): ... this.
193 (__gcov_one_value_profiler_v2_atomic): Move to ...
194 (__gcov_topn_values_profiler_atomic): ... this.
195 (__gcov_indirect_call_profiler_v4): Remove.
196 * libgcov-util.c (__gcov_single_counter_op): Move to ...
197 (__gcov_topn_counter_op): ... this.
198 * libgcov.h (L_gcov_merge_single): Remove.
199 (L_gcov_merge_topn): New.
200 (__gcov_merge_single): Remove.
201 (__gcov_merge_topn): New.
202 (__gcov_one_value_profiler_v2): Move to ..
203 (__gcov_topn_values_profiler): ... this.
204 (__gcov_one_value_profiler_v2_atomic): Move to ...
205 (__gcov_topn_values_profiler_atomic): ... this.
206
6b327ef5 2072019-07-03 Martin Liska <mliska@suse.cz>
208
209 * libgcov-merge.c (merge_single_value_set): Support N values.
210 * libgcov-profiler.c (__gcov_one_value_profiler_body): Likewise.
211
05f69af8 2122019-06-27 Ilia Diachkov <ilia.diachkov@optimitech.com>
213
214 * Makefile.in (USE_TM_CLONE_REGISTRY): New.
215 (CRTSTUFF_CFLAGS): Use USE_TM_CLONE_REGISTRY.
216 * configure.ac: Add --disable-tm-clone-registry option.
217 * configure: Regenerate.
218
22eb1ed5 2192019-06-27 Martin Liska <mliska@suse.cz>
220
221 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Remove obviously
222 dead assignments.
223 * libgcov-util.c: Likewise.
224
e6ccd50e 2252019-06-27 Martin Liska <mliska@suse.cz>
226
227 * libgcov-util.c (gcov_profile_merge): Release allocated
228 memory.
229 (calculate_overlap): Likewise.
230
38b69262 2312019-06-25 Iain Sandoe <iain@sandoe.co.uk>
232
233 * config.host: Add libef_ppc.a to the extra files for powerpc-darwin.
234 * config/rs6000/t-darwin: (PPC_ENDFILE_SRC, PPC_ENDFILE_OBJS): New.
235 Build objects for the out of line save/restore register functions
236 so that they can be used for any supported Darwin version.
237 * config/t-darwin: Default the build Darwin version to Darwin8
238 (MacOS 10.4).
239
367a3e90 2402019-06-25 Martin Liska <mliska@suse.cz>
241
242 * libgcov-driver-system.c (replace_filename_variables): Do not
243 call strlen with NULL argument.
244
61b30ced 2452019-06-25 Andrew Stubbs <ams@codesourcery.com>
246
247 * config/gcn/t-amdgcn (LIB2ADD): Add unwind-gcn.c.
248 * config/gcn/unwind-gcn.c: New file.
249
a4340c0d 2502019-06-25 Kwok Cheung Yeung <kcy@codesourcery.com>
251 Andrew Stubbs <ams@codesourcery.com>
252
253 * configure: Regenerate.
254 * config/gcn/gthr-gcn.h: New.
255
da2e726b 2562019-06-18 Tom de Vries <tdevries@suse.de>
257
258 * config/nvptx/crt0.c (__main): Declare.
259
e9684c79 2602019-06-17 Matthew Green <mrg@eterna.com.au>
261 Maya Rashish <coypu@sdf.org>
262
263 * config.host (aarch64*-*-netbsd*): New case.
264
4ccf69d7 2652019-06-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
266
267 * config/msp430/slli.S (__mspabi_sllll): New library function for
268 performing a logical left shift of a 64-bit value.
269 * config/msp430/srai.S (__mspabi_srall): New library function for
270 performing a arithmetic right shift of a 64-bit value.
271 * config/msp430/srll.S (__mspabi_srlll): New library function for
272 performing a logical right shift of a 64-bit value.
273
16753006 2742019-06-14 Matt Thomas <matt@3am-software.com>
275 Matthew Green <mrg@eterna.com.au>
276 Nick Hudson <skrll@netbsd.org>
277 Maya Rashish <coypu@sdf.org>
278
279 * config.host (arm*-*-netbsdelf*): Add support for EABI configurations.
280 * config/arm/t-netbsd (LIB1ASMFUNCS): Add some additional assembler
281 functions to build.
282 * config/arm/t-netbsd-eabi: New file.
283
83abca3e 2842019-06-12 Dimitar Dimitrov <dimitar@dinux.eu>
285
286 * config.host: Add PRU target.
287 * config/pru/asri.c: New file.
288 * config/pru/eqd.c: New file.
289 * config/pru/eqf.c: New file.
290 * config/pru/ged.c: New file.
291 * config/pru/gef.c: New file.
292 * config/pru/gtd.c: New file.
293 * config/pru/gtf.c: New file.
294 * config/pru/led.c: New file.
295 * config/pru/lef.c: New file.
296 * config/pru/lib2bitcountHI.c: New file.
297 * config/pru/lib2divHI.c: New file.
298 * config/pru/lib2divQI.c: New file.
299 * config/pru/lib2divSI.c: New file.
300 * config/pru/libgcc-eabi.ver: New file.
301 * config/pru/ltd.c: New file.
302 * config/pru/ltf.c: New file.
303 * config/pru/mpyll.S: New file.
304 * config/pru/pru-abi.h: New file.
305 * config/pru/pru-asm.h: New file.
306 * config/pru/pru-divmod.h: New file.
307 * config/pru/sfp-machine.h: New file.
308 * config/pru/t-pru: New file.
309
d20cdfb0 3102019-06-11 Jakub Jelinek <jakub@redhat.com>
311
312 * libgcov-merge.c (__gcov_merge_single): Revert previous change.
313
65411a1d 3142019-06-10 Martin Liska <mliska@suse.cz>
315
316 PR bootstrap/90808
317 * libgcov.h: Add ATTRIBUTE_UNUSED.
318
1a15313c 3192019-06-10 Martin Liska <mliska@suse.cz>
320
321 * Makefile.in: Add __gcov_one_value_profiler_v2,
322 __gcov_one_value_profiler_v2_atomic and
323 __gcov_indirect_call_profiler_v4.
324 * libgcov-merge.c (__gcov_merge_single): Change
325 function signature.
326 (merge_single_value_set): New.
327 * libgcov-profiler.c (__gcov_one_value_profiler_body):
328 Update functionality.
329 (__gcov_one_value_profiler): Remove.
330 (__gcov_one_value_profiler_v2): ... this.
331 (__gcov_one_value_profiler_atomic): Rename to ...
332 (__gcov_one_value_profiler_v2_atomic): this.
333 (__gcov_indirect_call_profiler_v3): Rename to ...
334 (__gcov_indirect_call_profiler_v4): ... this.
335 * libgcov.h (__gcov_one_value_profiler): Remove.
336 (__gcov_one_value_profiler_atomic): Remove.
337 (__gcov_one_value_profiler_v2_atomic): New.
338 (__gcov_indirect_call_profiler_v3): Remove.
339 (__gcov_one_value_profiler_v2): New.
340 (__gcov_indirect_call_profiler_v4): New.
341 (gcov_get_counter_ignore_scaling): New function.
342
5cb221f2 3432019-06-07 Martin Liska <mliska@suse.cz>
344
345 * Makefile.in: Remove usage of
346 _gcov_merge_icall_topn.
347 * libgcov-driver.c (gcov_sort_n_vals): Remove.
348 (gcov_sort_icall_topn_counter): Likewise.
349 (gcov_sort_topn_counter_arrays): Likewise.
350 (dump_one_gcov): Remove call to gcov_sort_topn_counter_arrays.
351 * libgcov-merge.c (__gcov_merge_icall_topn): Remove.
352 * libgcov-profiler.c (__gcov_topn_value_profiler_body):
353 Likewise.
354 (GCOV_ICALL_COUNTER_CLEAR_THRESHOLD): Remove.
355 (struct indirect_call_tuple): Remove.
356 (__gcov_indirect_call_topn_profiler): Remove.
357 * libgcov-util.c (__gcov_icall_topn_counter_op): Remove.
358 * libgcov.h (gcov_sort_n_vals): Remove.
359 (L_gcov_merge_icall_topn): Likewise.
360 (__gcov_merge_icall_topn): Likewise.
361 (__gcov_indirect_call_topn_profiler): Likewise.
362
bcfad180 3632019-06-06 Iain Sandoe <iain@sandoe.co.uk>
364
365 * config/rs6000/t-darwin: Ensure that the unwinder is built with
366 altivec enabled.
367
d790a6d6 3682019-06-06 Jozef Lawrynowicz <jozef.l@mittosystems.com>
369
370 * config/msp430/slli.S (__mspabi_slli_n): Put function in its own
371 section.
372 (__mspabi_slli): Likewise.
373 (__mspabi_slll_n): Likewise.
374 (__mspabi_slll): Likewise.
375 * config/msp430/srai.S (__mspabi_srai_n): Likewise.
376 (__mspabi_srai): Likewise.
377 (__mspabi_sral_n): Likewise.
378 (__mspabi_sral): Likewise.
379 * config/msp430/srli.S (__mspabi_srli_n): Likewise.
380 (__mspabi_srli): Likewise.
381 (__mspabi_srll_n): Likewise.
382 (__mspabi_srll): Likewise.
383
aafb4994 3842019-06-05 Yoshinori Sato <ysato@users.sourceforge.jp>
385
386 * config.host (rx-*-linux*): Add t-fdpbit to tmake_file
387 Add appropriate tm_file clause as well.
388 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Remove.
389
445c52a4 3902019-06-05 James Clarke <jrtc27@jrtc27.com>
391
392 * config/ia64/crtbegin.S (__dso_handle): Put in .sdata/.sbss
393 rather than .data/.bss so it can be accessed via gp-relative
394 addressing.
395
15fa0a89 3962019-06-05 David Edelsohn <dje.gcc@gmail.com>
397
398 * config/rs6000/aix-unwind.h (LR_REGNO): Rename to R_LR.
399 (CR2_REGNO): Rename to R_CR2.
400 (XER_REGNO): Rename to R_XER.
401 (FIRST_ALTIVEC_REGNO): Rename to R_FIRST_ALTIVEC.
402 (VRSAVE_REGNO): Rename to R_VRSAVE.
403 (VSCR_REGNO): R_VSCR.
404
00a94423 4052019-05-29 Yoshinori Sato <ysato@users.sourceforge.jp>
406
407 * config.host (rx-*-linux*): Add new case.
408 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Force DFmode to SFmode.
409
0897885c 4102019-05-29 Sam Tebbs <sam.tebbs@arm.com>
411
412 * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key): New
413 function.
414 * config/aarch64/aarch64-unwind.h (aarch64_post_extract_frame_addr,
415 aarch64_post_frob_eh_handler_addr): Add check for b-key.
416 * config/aarch64/aarch64-unwind-h (aarch64_post_extract_frame_addr,
417 aarch64_post_frob_eh_handler_addr, aarch64_post_frob_update_context):
418 Rename RA_A_SIGNED_BIT to RA_SIGNED_BIT.
419 * unwind-dw2-fde.c (get_cie_encoding): Add check for 'B' in augmentation
420 string.
421 * unwind-dw2.c (extract_cie_info): Add check for 'B' in augmentation
422 string.
423 (RA_A_SIGNED_BIT): Rename to RA_SIGNED_BIT.
424
e02a00b5 4252019-05-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
426
427 * config/sparc/sol2-unwind.h [__arch64__] (sparc64_is_sighandler):
428 Remove Solaris 9 and 10 support.
429 (sparc_is_sighandler): Likewise.
430
42e1d959 4312019-05-26 John David Anglin <danglin@gcc.gnu.org>
432
433 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Add cast.
434
1acc6602 4352019-05-17 H.J. Lu <hongjiu.lu@intel.com>
436
437 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
438 4_FP_W_TYPEs are used for IEEE quad precision.
439 * soft-fp/extendhftf2.c: Likewise.
440 * soft-fp/extendsftf2.c: Likewise.
441 * soft-fp/extendxftf2.c: Likewise.
442 * soft-fp/trunctfdf2.c: Likewise.
443 * soft-fp/trunctfhf2.c: Likewise.
444 * soft-fp/trunctfsf2.c: Likewise.
445 * soft-fp/trunctfxf2.c: Likewise.
446 * config/rs6000/ibm-ldouble.c: Likewise.
447
0fd03648 4482019-05-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
449
450 * config.host: Simplify various *-*-solaris2.1[0-9]* to
451 *-*-solaris2*.
452 * configure.ac: Likewise.
453 * configure: Regenerate.
454
455 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
456 Solaris 10 and Solaris 11 < snv_125 handling.
457
16f70a79 4582019-05-12 Iain Sandoe <iain@sandoe.co.uk>
459
460 * config/rs6000/darwin-vecsave.S: Set .machine appropriately.
461
c91253de 4622019-05-07 Hongtao Liu <hongtao.liu@intel.com>
463
464 * config/i386/cpuinfo.c (get_available_features): Detect BF16.
465 * config/i386/cpuinfo.h (enum processor_features): Add
466 FEATURE_AVX512BF16.
467
9ac9ee83 4682019-04-23 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
469 Bernd Edlinger <bernd.edlinger@hotmail.de>
470 Jakub Jelinek <jakub@redhat.com>
471
472 PR target/89093
473 * config/arm/pr-support.c: Add #pragma GCC target("general-regs-only").
474 * config/arm/unwind-arm.c: Likewise.
475 * unwind-c.c (PERSONALITY_FUNCTION): Add general-regs-only target
476 attribute for ARM.
477
48f42cbf 4782019-04-15 Monk Chiang <sh.chiang04@gmail.com>
479
480 * config/nds32/linux-unwind.h (SIGRETURN): Remove.
481 (RT_SIGRETURN): Update.
482 (nds32_fallback_frame_state): Update.
483
5d872360 4842019-02-21 Martin Sebor <msebor@redhat.com>
485
486 * libgcc2.h (__clear_cache): Correct signature.
487 * libgcc2.c (__clear_cache): Same.
488
7afb4665 4892019-02-20 Uroš Bizjak <ubizjak@gmail.com>
490
491 * config/alpha/linux-unwind.h (alpha_fallback_frame_state):
492 Cast 'mcontext_t *' &rt_->uc.uc_mcontext to 'struct sigcontext *'.
493
36c58fb1 4942019-02-19 Uroš Bizjak <ubizjak@gmail.com>
495
496 * unwind-dw2.c (_Unwind_GetGR) [DWARF_ZERO_REG]: Compare
497 regno instead of index to DWARF_ZERO_REG.
498
ca5e7551 4992019-02-15 Eric Botcazou <ebotcazou@adacore.com>
500
501 * config/visium/lib2funcs.c (__set_trampoline_parity): Replace
502 TRAMPOLINE_SIZE with __LIBGCC_TRAMPOLINE_SIZE__.
503
f6691383 5042019-01-31 Uroš Bizjak <ubizjak@gmail.com>
505
506 * config/alpha/t-linux: Add -mfp-rounding-mode=d
507 to HOST_LIBGCC2_CFLAGS.
508
161cd7e6 5092019-01-23 Joseph Myers <joseph@codesourcery.com>
510
511 PR libgcc/88931
f6691383 512 * libgcc2.c (FSTYPE FUNC (DWtype u)): Correct no leading bits case.
161cd7e6 513
c099f1dd 5142019-01-18 Martin Liska <mliska@suse.cz>
515
516 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Rename
517 to ...
518 (__gcov_indirect_call_profiler_v3): ... this.
519 * libgcov.h (__gcov_indirect_call_profiler_v2): Likewise.
520 (__gcov_indirect_call_profiler_v3): Likewise.
521 * Makefile.in: Bump function name.
522
085a4ac7 5232019-01-18 Martin Liska <mliska@suse.cz>
524
525 * libgcov-driver.c (GCOV_PROF_PREFIX): Define.
526 (gcov_version): Use in gcov_error.
527 (merge_one_data): Likewise.
528 (dump_one_gcov): Likewise.
529
02638fde 5302019-01-18 Martin Liska <mliska@suse.cz>
531
532 * libgcov-driver.c (gcov_version_string): New function.
533 (gcov_version): Convert version integer into string.
534
1b9bc90e 5352019-01-17 Andrew Stubbs <ams@codesourcery.com>
536 Kwok Cheung Yeung <kcy@codesourcery.com>
537 Julian Brown <julian@codesourcery.com>
538 Tom de Vries <tom@codesourcery.com>
539
540 * config.host: Recognize amdgcn*-*-amdhsa.
541 * config/gcn/crt0.c: New file.
542 * config/gcn/lib2-divmod-hi.c: New file.
543 * config/gcn/lib2-divmod.c: New file.
544 * config/gcn/lib2-gcn.h: New file.
545 * config/gcn/sfp-machine.h: New file.
546 * config/gcn/t-amdgcn: New file.
547
f4d3c071 5482019-01-09 Sandra Loosemore <sandra@codesourcery.com>
549
550 PR other/16615
551
552 * config/c6x/libunwind.S: Mechanically replace "can not" with
553 "cannot".
554 * config/tilepro/atomic.h: Likewise.
555 * config/vxlib-tls.c: Likewise.
556 * generic-morestack-thread.c: Likewise.
557 * generic-morestack.c: Likewise.
558 * mkmap-symver.awk: Likewise.
559
fbd26352 5602019-01-01 Jakub Jelinek <jakub@redhat.com>
561
562 Update copyright years.
563
5c934723 5642018-12-20 H.J. Lu <hongjiu.lu@intel.com>
565
566 * unwind-pe.h (read_encoded_value_with_base): Add GCC pragma
567 to ignore -Waddress-of-packed-member.
568
73dbcdab 5692018-12-19 Thomas Preud'homme <thomas.preudhomme@linaro.org>
570
571 * /config/arm/lib1funcs.S (FUNC_START): Remove unused sp_section
572 parameter and corresponding code.
573 (ARM_FUNC_START): Likewise in both definitions.
574 Also update footer comment about condition that need to match with
575 gcc/config/arm/elf.h to also include libgcc/config/arm/t-arm.
576 * config/arm/ieee754-df.S (muldf3): Also build it if L_arm_muldf3 is
577 defined. Weakly define it in this case.
578 * config/arm/ieee754-sf.S (mulsf3): Likewise with L_arm_mulsf3.
579 * config/arm/t-elf (LIB1ASMFUNCS): Build _arm_muldf3.o and
580 _arm_mulsf3.o before muldiv versions if targeting Thumb-1 only. Add
581 comment to keep condition in sync with the one in
582 libgcc/config/arm/lib1funcs.S and gcc/config/arm/elf.h.
583
b7e132a4 5842018-12-18 Wei Xiao <wei3.xiao@intel.com>
585
586 * config/i386/cpuinfo.c (get_intel_cpu): Handle cascadelake.
587 * config/i386/cpuinfo.h: Add INTEL_COREI7_CASCADELAKE.
588
3467ed68 5892018-12-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
590
591 * config/rs6000/tramp.S (__trampoline_setup): Also emit .size
592 and .cfi_endproc directives for VxWorks targets.
593
c1410e55 5942018-12-05 Paul Koning <ni1d@arrl.net>
595
596 * udivmodhi4.c (__udivmodhi4): Fix loop end check.
597
6a9a8e15 5982018-11-27 Alan Modra <amodra@gmail.com>
599
600 * config/rs6000/morestack.S (__stack_split_initialize),
601 (__morestack_get_guard, __morestack_set_guard),
602 (__morestack_make_guard): Provide CFI covering these functions.
603 * config/rs6000/tramp.S (__trampoline_setup): Likewise.
604
65892c4d 6052018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
606
6a9a8e15 607 * config/csky/linux-unwind.h (sc_pt_regs): Update for kernel.
65892c4d 608 (sc_pt_regs_lr): Update for kernel.
609 (sc_pt_regs_tls): Update for kernel.
610
0277806c 6112018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
612
613 * config/csky/linux-unwind.h: Fix coding style.
614
1d0ac42c 6152018-11-13 Xianmiao Qu <xianmiao_qu@c-sky.com>
616
617 * config/csky/linux-unwind.h (_sig_ucontext_t): Remove.
6a9a8e15 618 (csky_fallback_frame_state): Modify the check of the
1d0ac42c 619 instructions to adapt to changes in the kernel
620
2acd4f1d 6212018-11-09 Stafford Horne <shorne@gmail.com>
622 Richard Henderson <rth@twiddle.net>
623
624 * config.host: Add OpenRISC support.
625 * config/or1k/*: New.
626
14796673 6272018-11-08 Kito Cheng <kito@andestech.com>
628
629 * soft-fp/adddf3.c: Update from glibc.
630 * soft-fp/addsf3.c: Likewise.
631 * soft-fp/addtf3.c: Likewise.
632 * soft-fp/divdf3.c: Likewise.
633 * soft-fp/divsf3.c: Likewise.
634 * soft-fp/divtf3.c: Likewise.
635 * soft-fp/double.h: Likewise.
636 * soft-fp/eqdf2.c: Likewise.
637 * soft-fp/eqsf2.c: Likewise.
638 * soft-fp/eqtf2.c: Likewise.
639 * soft-fp/extenddftf2.c: Likewise.
640 * soft-fp/extended.h: Likewise.
641 * soft-fp/extendhftf2.c: Likewise.
642 * soft-fp/extendsfdf2.c: Likewise.
643 * soft-fp/extendsftf2.c: Likewise.
644 * soft-fp/extendxftf2.c: Likewise.
645 * soft-fp/fixdfdi.c: Likewise.
646 * soft-fp/fixdfsi.c: Likewise.
647 * soft-fp/fixdfti.c: Likewise.
648 * soft-fp/fixhfti.c: Likewise.
649 * soft-fp/fixsfdi.c: Likewise.
650 * soft-fp/fixsfsi.c: Likewise.
651 * soft-fp/fixsfti.c: Likewise.
652 * soft-fp/fixtfdi.c: Likewise.
653 * soft-fp/fixtfsi.c: Likewise.
654 * soft-fp/fixtfti.c: Likewise.
655 * soft-fp/fixunsdfdi.c: Likewise.
656 * soft-fp/fixunsdfsi.c: Likewise.
657 * soft-fp/fixunsdfti.c: Likewise.
658 * soft-fp/fixunshfti.c: Likewise.
659 * soft-fp/fixunssfdi.c: Likewise.
660 * soft-fp/fixunssfsi.c: Likewise.
661 * soft-fp/fixunssfti.c: Likewise.
662 * soft-fp/fixunstfdi.c: Likewise.
663 * soft-fp/fixunstfsi.c: Likewise.
664 * soft-fp/fixunstfti.c: Likewise.
665 * soft-fp/floatdidf.c: Likewise.
666 * soft-fp/floatdisf.c: Likewise.
667 * soft-fp/floatditf.c: Likewise.
668 * soft-fp/floatsidf.c: Likewise.
669 * soft-fp/floatsisf.c: Likewise.
670 * soft-fp/floatsitf.c: Likewise.
671 * soft-fp/floattidf.c: Likewise.
672 * soft-fp/floattihf.c: Likewise.
673 * soft-fp/floattisf.c: Likewise.
674 * soft-fp/floattitf.c: Likewise.
675 * soft-fp/floatundidf.c: Likewise.
676 * soft-fp/floatundisf.c: Likewise.
677 * soft-fp/floatunditf.c: Likewise.
678 * soft-fp/floatunsidf.c: Likewise.
679 * soft-fp/floatunsisf.c: Likewise.
680 * soft-fp/floatunsitf.c: Likewise.
681 * soft-fp/floatuntidf.c: Likewise.
682 * soft-fp/floatuntihf.c: Likewise.
683 * soft-fp/floatuntisf.c: Likewise.
684 * soft-fp/floatuntitf.c: Likewise.
685 * soft-fp/gedf2.c: Likewise.
686 * soft-fp/gesf2.c: Likewise.
687 * soft-fp/getf2.c: Likewise.
688 * soft-fp/half.h: Likewise.
689 * soft-fp/ledf2.c: Likewise.
690 * soft-fp/lesf2.c: Likewise.
691 * soft-fp/letf2.c: Likewise.
692 * soft-fp/muldf3.c: Likewise.
693 * soft-fp/mulsf3.c: Likewise.
694 * soft-fp/multf3.c: Likewise.
695 * soft-fp/negdf2.c: Likewise.
696 * soft-fp/negsf2.c: Likewise.
697 * soft-fp/negtf2.c: Likewise.
698 * soft-fp/op-1.h: Likewise.
699 * soft-fp/op-2.h: Likewise.
700 * soft-fp/op-4.h: Likewise.
701 * soft-fp/op-8.h: Likewise.
702 * soft-fp/op-common.h: Likewise.
703 * soft-fp/quad.h: Likewise.
704 * soft-fp/single.h: Likewise.
705 * soft-fp/soft-fp.h: Likewise.
706 * soft-fp/subdf3.c: Likewise.
707 * soft-fp/subsf3.c: Likewise.
708 * soft-fp/subtf3.c: Likewise.
709 * soft-fp/truncdfsf2.c: Likewise.
710 * soft-fp/trunctfdf2.c: Likewise.
711 * soft-fp/trunctfhf2.c: Likewise.
712 * soft-fp/trunctfsf2.c: Likewise.
713 * soft-fp/trunctfxf2.c: Likewise.
714 * soft-fp/unorddf2.c: Likewise.
715 * soft-fp/unordsf2.c: Likewise.
716 * soft-fp/unordtf2.c: Likewise.
717
703d2f69 7182018-11-04 Venkataramanan Kumar <Venkataramanan.kumar@amd.com>
719
720 * config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
721 * config/i386/cpuinfo.h (processor_types): Add znver2.
722
b982cad0 7232018-11-01 Paul Koning <ni1d@arrl.net>
724
725 * config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c.
726 (HOST_LIBGCC2_CFLAGS): Change to optimize for size.
727
f00f02a3 7282018-10-31 Joseph Myers <joseph@codesourcery.com>
729
730 PR bootstrap/82856
731 * configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
732 * configure: Regenerate.
733
89301960 7342018-10-31 Claudiu Zissulescu <claziss@synopsys.com>
735
736 * config/arc/lib1funcs.S (_muldi3): New function.
737 * config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
738
5c316bca 7392018-10-30 Rasmus Villemoes <rv@rasmusvillemoes.dk>
740
741 * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
742
352bbfad 7432018-10-25 Martin Liska <mliska@suse.cz>
744
745 PR other/87735
746 * libgcov-profiler.c: Revert.
747
2a4fec09 7482018-10-24 Martin Liska <mliska@suse.cz>
749
750 * libgcov-profiler.c: Start from 1 in order to distinguish
751 functions which were seen and these that were not.
752
56966d7f 7532018-10-18 Paul Koning <ni1d@arrl.net>
754
755 * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
756 standard.
757 * divmod.c: Update references to __udivmodsi4.
758 * udivmod.c: Ditto.
759 * udivhi3.c: New file.
760 * udivmodhi4.c: New file.
761 * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
762
f6e11d75 7632018-10-17 Rasmus Villemoes <rv@rasmusvillemoes.dk>
764
765 * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
766
38bfcdfc 7672018-10-12 Olivier Hainque <hainque@adacore.com>
768
769 * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
770 defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
771
c9d0a7d6 7722018-10-08 Paul Koning <ni1d@arrl.net>
773
774 * config/pdp11/t-pdp11: Remove -mfloat32 switch.
775
604e9a8b 7762018-10-04 Martin Liska <mliska@suse.cz>
777
778 PR gcov-profile/84107
779 * libgcov-profiler.c (__gcov_indirect_call):
780 Change type to indirect_call_tuple.
781 (struct indirect_call_tuple): New struct.
782 (__gcov_indirect_call_topn_profiler): Change type.
783 (__gcov_indirect_call_profiler_v2): Use the new
784 variables.
785 * libgcov.h (struct indirect_call_tuple): New struct
786 definition.
787
c08fb910 7882018-10-03 Uros Bizjak <ubizjak@gmail.com>
789
790 * libgcc2.c (isnan): Use __builtin_isnan.
791 (isfinite): Use __builtin_isfinite.
792 (isinf): Use __builtin_isinf.
793
6032d88e 7942018-09-26 Uros Bizjak <ubizjak@gmail.com>
795
796 * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
797
9bfa937c 7982018-09-21 Alexandre Oliva <oliva@adacore.com>
799
800 * config/vxcache.c: New file. Provide __clear_cache, based on
801 the cacheTextUpdate VxWorks service.
802 * config/t-vxworks (LIB2ADD): Add vxcache.c.
803 (LIB2FUNCS_EXCLUDE): Add _clear_cache.
804 * config/t-vxwoks7: Likewise.
805
56621355 8062018-09-21 Martin Liska <mliska@suse.cz>
807
808 * libgcov-driver.c (crc32_unsigned): Remove.
809 (gcov_histogram_insert): Likewise.
810 (gcov_compute_histogram): Likewise.
811 (compute_summary): Simplify rapidly.
812 (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
813 (merge_summary): Rapidly simplify.
814 (dump_one_gcov): Ignore gcov_summary.
815 (gcov_do_dump): Do not handle program summary, it's not
816 used.
817 * libgcov-util.c (tag_summary): Remove.
818 (read_gcda_finalize): Fix coding style.
819 (read_gcda_file): Initialize curr_object_summary.
820 (compute_summary): Remove.
821 (calculate_overlap): Remove settings of run_max.
822
92a43ed9 8232018-09-21 Monk Chiang <sh.chiang04@gmail.com>
824
825 * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
826 ucontext_t type instead.
827 (nds32_fallback_frame_state): Remove struct _sigframe statement.
828
38f97b46 8292018-09-21 Kito Cheng <kito.cheng@gmail.com>
830
831 * config/nds32/t-nds32-glibc: New file.
832
e1f1a538 8332018-09-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
834
835 * configure.ac (solaris_ld_v2_maps): New test.
836 * configure: Regenerate.
837 * Makefile.in (solaris_ld_v2_maps): New variable.
838 * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
839 if supported.
840
a7852b35 8412018-08-23 Richard Earnshaw <rearnsha@arm.com>
842
843 PR target/86951
844 * config/arm/lib1funcs.asm (speculation_barrier): New function.
845 * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
846 to build.
847
738b5536 8482018-08-22 Iain Sandoe <iain@sandoe.co.uk>
849
6a9a8e15 850 * config/unwind-dw2-fde-darwin.c
738b5536 851 (_darwin10_Unwind_FindEnclosingFunction): move from here ...
852 * config/darwin10-unwind-find-enc-func.c: … to here.
853 * config/t-darwin: Build Darwin10 unwinder shim crt.
854 * libgcc/config.host: Add the Darwin10 unwinder shim.
855
f8a195db 8562018-08-21 Rasmus Villemoes <rv@rasmusvillemoes.dk>
857
858 * config.host: Add crtbegin.o and crtend.o for
859 powerpc-wrs-vxworks target.
860
d406228c 8612018-08-17 Jojo <jijie_rong@c-sky.com>
862 Huibin Wang <huibin_wang@c-sky.com>
863 Sandra Loosemore <sandra@codesourcery.com>
864 Chung-Lin Tang <cltang@codesourcery.com>
865
866 C-SKY port: libgcc
867
868 * config.host: Add C-SKY support.
869 * config/csky/*: New.
870
d08b1d22 8712018-08-12 Chung-Ju Wu <jasonwucj@gmail.com>
872
873 * config/nds32/t-nds32-isr: Rearrange object dependency.
874 * config/nds32/initfini.c: Add dwarf2 unwinding support.
875 * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
876 and registers usage.
877 * config/nds32/isr-library/excp_isr.S: Ditto.
878 * config/nds32/isr-library/intr_isr.S: Ditto.
879 * config/nds32/isr-library/reset.S: Ditto.
880 * config/nds32/isr-library/restore_all.inc: Ditto.
881 * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
882 * config/nds32/isr-library/restore_partial.inc: Ditto.
883 * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
884 * config/nds32/isr-library/save_all.inc: Ditto.
885 * config/nds32/isr-library/save_mac_regs.inc: Ditto.
886 * config/nds32/isr-library/save_partial.inc: Ditto.
887 * config/nds32/isr-library/save_usr_regs.inc: Ditto.
888 * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
889
323d9aff 8902018-08-11 John David Anglin <danglin@gcc.gnu.org>
891
892 * config/pa/linux-atomic.c: Update comment.
893 (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
894 COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
895 SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
896 __ATOMIC_RELAXED for atomic loads.
897 (SYNC_LOCK_RELEASE_1): New define. Use __sync_synchronize() and
898 unordered store to release lock.
899 (__sync_lock_release_8): Likewise.
900 (SYNC_LOCK_RELEASE_2): Remove define.
c08fb910 901
5ad4bc86 9022018-08-02 Nicolas Pitre <nico@fluxnic.net>
903
904 PR libgcc/86512
905 * config/arm/ieee754-df.S: Don't shortcut denormal handling when
906 exponent goes negative. Update my email address.
907 * config/arm/ieee754-sf.S: Likewise.
908
874612dc 9092018-08-01 Martin Liska <mliska@suse.cz>
910
911 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
c9e63184 912 check that __gcov_indirect_call_callee is non-null.
874612dc 913
5a8d2bfe 9142018-07-30 Christophe Lyon <christophe.lyon@linaro.org>
915
916 * config/arm/ieee754-df.S: Fix comment for code working on
917 architectures >= 4.
918 * config/arm/ieee754-sf.S: Likewise.
919
d9a49803 9202018-07-27 H.J. Lu <hongjiu.lu@intel.com>
921
922 PR libgcc/85334
923 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
924 Removed.
925
90503e19 9262018-07-05 James Clarke <jrtc27@jrtc27.com>
927
928 * configure: Regenerated.
929
06f3e75c 9302018-06-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
931
932 * Makefile.in (install_leaf): Use enable_gcov instead of
933 enable_libgcov.
934
bab25aa4 9352018-06-27 Rasmus Villemoes <rv@rasmusvillemoes.dk>
936
937 * configure.ac: Add --disable-gcov option.
938 * configure: Regenerate.
939 * Makefile.in: Honour @enable_gcov@.
940
bd071ec6 9412018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
942
943 * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
944 __ARM_ARCH and __ARM_FEATURE_CLZ instead.
945 (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
946 * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
947 __ARM_ARCH__.
948 * config/arm/ieee754-sf.S: Likewise.
949 * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
950
93dd1a25 9512018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
952
953 * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
954 longer supported.
955 * config/arm/ieee754-sf.S: Likewise.
956
a9ee5a85 9572018-06-20 Than McIntosh <thanm@google.com>
958
959 PR libgcc/86213
960 * generic-morestack.c (allocate_segment): Move calls to getenv and
961 getpagesize to __morestack_load_mmap.
962 (__morestack_load_mmap) Initialize static_pagesize and
963 use_guard_page here so as to avoid clobbering SSE regs during a
964 __morestack call.
965
23b5c810 9662018-06-18 Michael Meissner <meissner@linux.ibm.com>
967
968 * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
969 support modules with -mno-gnu-attribute.
970 * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
971
3206b643 9722018-06-07 Olivier Hainque <hainque@adacore.com>
973
974 * config/t-vxworks (LIBGCC_INCLUDES): Add
975 -I$(MULTIBUILDTOP)../../gcc/include.
976 * config/t-vxworks7: Likewise. Reformat a bit to match
977 the t-vxworks layout.
978
f1522980 9792018-06-07 Olga Makhotina <olga.makhotina@intel.com>
980
981 * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
982
6b9cd917 9832018-06-07 Martin Liska <mliska@suse.cz>
984
985 * libgcov-driver.c: Rename cs_all to all and assign it from
c9e63184 986 all_prg.
6b9cd917 987
5b24ad4b 9882018-06-07 Martin Liska <mliska@suse.cz>
989
c9e63184 990 PR bootstrap/86057
5b24ad4b 991 * libgcov-driver-system.c (replace_filename_variables): Use
c9e63184 992 memcpy instead of mempcpy.
5b24ad4b 993 (allocate_filename_struct): Do not allocate filename, allocate
c9e63184 994 prefix and set it.
5b24ad4b 995 (gcov_exit_open_gcda_file): Allocate memory for gf->filename
c9e63184 996 here and properly copy content into it.
5b24ad4b 997 * libgcov-driver.c (struct gcov_filename): Remove max_length
c9e63184 998 field, change prefix from size_t into char *.
5b24ad4b 999 (compute_summary): Do not calculate longest filename.
1000 (gcov_do_dump): Release memory of gf.filename after each file.
1001 * libgcov-util.c (compute_summary): Use new signature of
c9e63184 1002 compute_summary.
5b24ad4b 1003 (calculate_overlap): Likewise.
1004
945d4d55 10052018-06-05 Martin Liska <mliska@suse.cz>
1006
1007 PR gcov-profile/47618
1008 * libgcov-driver-system.c (replace_filename_variables): New
c9e63184 1009 function.
945d4d55 1010 (gcov_exit_open_gcda_file): Use it.
1011
5860b185 10122018-06-05 Martin Liska <mliska@suse.cz>
1013
1014 * libgcov-driver.c (gcov_compute_histogram): Remove usage
1015 of gcov_ctr_summary.
1016 (compute_summary): Do it just for a single summary.
1017 (merge_one_data): Likewise.
1018 (merge_summary): Simplify as we read just single summary.
1019 (dump_one_gcov): Pass proper argument.
1020 * libgcov-util.c (compute_one_gcov): Simplify as we have just
1021 single summary.
1022 (gcov_info_count_all_cold): Likewise.
1023 (calculate_overlap): Likewise.
1024
a5a22b4f 10252018-06-02 Chung-Ju Wu <jasonwucj@gmail.com>
1026 Monk Chiang <sh.chiang04@gmail.com>
1027
1028 * config.host (nds32*-linux*): New.
1029 * config/nds32/linux-atomic.c: New file.
1030 * config/nds32/linux-unwind.h: New file.
1031
3e80679d 10322018-05-31 Uros Bizjak <ubizjak@gmail.com>
1033
1034 PR target/85591
1035 * config/i386/cpuinfo.c (get_amd_cpu): Return
1036 AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
1037
edb0bd05 10382018-05-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
1039
c9e63184 1040 * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
edb0bd05 1041
5522d934 10422018-05-29 Martin Liska <mliska@suse.cz>
1043
c9e63184 1044 PR gcov-profile/85759
5522d934 1045 * libgcov-driver-system.c (gcov_error): Introduce usage of
c9e63184 1046 GCOV_EXIT_AT_ERROR env. variable.
5522d934 1047 * libgcov-driver.c (merge_one_data): Print error that we
c9e63184 1048 overwrite a gcov file with a different timestamp.
5522d934 1049
8e33a4d3 10502018-05-23 Kalamatee <kalamatee@gmail.com>
1051
1052 * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
1053 path to Lf$finfty.
1054
51b16492 10552018-05-18 Kito Cheng <kito.cheng@gmail.com>
1056 Monk Chiang <sh.chiang04@gmail.com>
1057 Jim Wilson <jimw@sifive.com>
1058
1059 * config/riscv/save-restore.S: Add support for rv32e.
1060
b232e6b5 10612018-05-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1062
1063 * config/arm/libunwind.S: Update comment relating to armv5.
1064
5e15443c 10652018-05-17 Jerome Lambourg <lambourg@adacore.com>
1066
1067 * config/arm/cmse.c (cmse_check_address_range): Replace
1068 UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
1069
6ebd326d 10702018-05-17 Olga Makhotina <olga.makhotina@intel.com>
1071
1072 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
1073 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
1074
4db2b348 10752018-05-08 Olga Makhotina <olga.makhotina@intel.com>
1076
1077 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
1078 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
1079
ab55f7db 10802018-05-07 Amaan Cheval <amaan.cheval@gmail.com>
1081
1082 * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
1083
c5243565 10842018-04-27 Andreas Tobler <andreast@gcc.gnu.org>
1085 Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
1086
1087 PR libgcc/84292
1088 * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
1089 op_and_fetch to return the right result.
1090
f0aaf758 10912018-04-27 Alan Modra <amodra@gmail.com>
1092
1093 PR libgcc/85532
1094 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
1095 -fno-asynchronous-unwind-tables.
1096
4cccab88 10972018-04-25 Chung-Ju Wu <jasonwucj@gmail.com>
1098
1099 * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
1100 * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
1101
6174c788 11022018-04-24 H.J. Lu <hongjiu.lu@intel.com>
1103
1104 * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
1105 when including "config/i386/shadow-stack-unwind.h".
1106
6726651f 11072018-04-24 H.J. Lu <hongjiu.lu@intel.com>
1108
1109 * configure: Regenerated.
1110
9d42920b 11112018-04-20 Michael Meissner <meissner@linux.ibm.com>
1112
1113 PR target/85456
1114 * config/rs6000/_powikf2.c: New file. Add support for the
1115 __builtin_powil function when long double is IEEE 128-bit floating
1116 point.
1117 * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
1118 __powikf2 support.
1119 (__powikf2): Likewise.
1120 * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
1121 (__powikf2_hw): Likewise.
1122 (__powikf2): Likewise.
1123 * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
1124 * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
1125 (_powikf2-hw.c): Likewise.
1126
20d1a075 11272018-04-19 H.J. Lu <hongjiu.lu@intel.com>
1128
1129 PR libgcc/85334
1130 * unwind-generic.h (_Unwind_Frames_Increment): New.
1131 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
1132 Likewise.
1133 * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
1134 count with _Unwind_Frames_Increment.
1135 (_Unwind_ForcedUnwind_Phase2): Likewise.
1136
07f8c7a4 11372018-04-19 H.J. Lu <hongjiu.lu@intel.com>
1138
1139 PR libgcc/85379
1140 * config/i386/morestack.S (__stack_split_initialize): Add
1141 _CET_ENDBR.
1142
ee8fea81 11432018-04-19 Jakub Jelinek <jakub@redhat.com>
1144
1145 * configure: Regenerated.
1146
124c259e 11472018-04-18 David Malcolm <dmalcolm@redhat.com>
1148
1149 PR jit/85384
1150 * configure: Regenerate.
1151
402140be 11522018-04-16 Jakub Jelinek <jakub@redhat.com>
1153
1154 PR target/84945
1155 * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
1156 -Wdangling-else warnings. Mask shift counts to avoid
1157 -Wshift-count-negative and -Wshift-count-overflow false positives.
1158
7ea6a647 11592018-04-06 Ruslan Bukin <br@bsdpad.com>
1160
1161 * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
1162
0251a2a7 11632018-03-29 H.J. Lu <hongjiu.lu@intel.com>
1164
1165 PR target/85100
1166 * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
1167 (XSTATE_FP): Likewise.
1168 (XSTATE_SSE): Likewise.
1169 (XSTATE_YMM): Likewise.
1170 (XSTATE_OPMASK): Likewise.
1171 (XSTATE_ZMM): Likewise.
1172 (XSTATE_HI_ZMM): Likewise.
1173 (XCR_AVX_ENABLED_MASK): Likewise.
1174 (XCR_AVX512F_ENABLED_MASK): Likewise.
1175 (get_available_features): Enable AVX and AVX512 features only
1176 if their states are supported by OSXSAVE.
1177
5cc47d53 11782018-03-22 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1179
1180 PR target/85025
1181 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
1182 Fix a typo, tmp => 255.
1183
2e630204 11842018-03-20 Jakub Jelinek <jakub@redhat.com>
1185
1186 PR target/84945
1187 * config/i386/cpuinfo.h (__cpu_features2): Declare.
1188 * config/i386/cpuinfo.c (__cpu_features2): New variable for
1189 ifndef SHARED only.
1190 (set_feature): Define.
1191 (get_available_features): Use set_feature macro. Set __cpu_features2
1192 to the second word of features ifndef SHARED.
1193
bae42e37 11942018-03-15 Julia Koval <julia.koval@intel.com>
1195
1196 * config/i386/cpuinfo.c (get_available_features): Add
1197 FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
1198 FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
1199 * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
1200 FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
1201 FEATURE_AVX512BITALG.
1202
8e9da9da 12032018-03-14 Julia Koval <julia.koval@intel.com>
1204
1205 * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
1206 icelake client and icelake server.
1207
94fc4b64 12082018-03-06 John David Anglin <danglin@gcc.gnu.org>
1209
1210 * config/pa/fptr.c (_dl_read_access_allowed): New.
1211 (__canonicalize_funcptr_for_compare): Use it.
c08fb910 1212
0b118d5b 12132018-02-28 Jakub Jelinek <jakub@redhat.com>
1214
1215 PR debug/83917
1216 * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
1217 $asm_hidden_op if visibility ("hidden") attribute works.
1218 (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
1219 * config/i386/i386-asm.h: Don't include auto-host.h.
1220 (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
1221 PACKAGE_URL): Don't undefine.
1222 (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
1223 guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
1224 (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
1225 #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
1226 definition instead of hardcoded .hidden.
1227 * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
1228 directive. Use #ifdef HAVE_AS_CFI_SECTIONS rather than
1229 #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
1230 (USE_GAS_CFI_DIRECTIVES): Don't define.
1231 * configure: Regenerated.
1232 * config.in: Likewise.
1233
9e8a86cf 12342018-02-26 Jakub Jelinek <jakub@redhat.com>
1235
1236 PR debug/83917
1237 * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
1238 PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
1239 inclusion of auto-target.h and auto-host.h.
1240 (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
1241 __GCC_HAVE_DWARF2_CFI_ASM.
1242 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
1243 cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
1244 cfi_pop): Define.
1245 * config/i386/cygwin.S: Don't include auto-host.h here, just
1246 define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
1247 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
1248 cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
1249 * config/i386/resms64fx.h: Add cfi_* directives.
1250 * config/i386/resms64x.h: Likewise.
1251
372da7cd 12522018-02-20 Max Filippov <jcmvbkbc@gmail.com>
1253
1254 * config/xtensa/ieee754-df.S (__adddf3_aux): Add
1255 .literal_position directive.
1256 * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
1257
5611e648 12582018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1259
1260 PR target/84148
1261 * configure: Regenerate.
1262
d4f2cbd8 12632018-02-16 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1264
1265 PR target/84239
1266 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
1267 Include cetintrin.h not x86intrin.h.
1268
1c9aa9c6 12692018-02-08 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1270
1271 PR target/84239
d4f2cbd8 1272 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
1c9aa9c6 1273 Use new _get_ssp and _inc_ssp intrinsics.
1274
102dd700 12752018-02-02 Julia Koval <julia.koval@intel.com>
1276
1277 * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
1278
eddd4dd0 12792018-01-26 Claudiu Zissulescu <claziss@synopsys.com>
1280
1281 * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
1282 option.
1283 (__divsi3): Use RF16 safe registers.
1284 (__modsi3): Likewise.
1285
3815462d 12862018-01-23 Max Filippov <jcmvbkbc@gmail.com>
1287
1288 * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
1289 (__divsf3): Make NaN return value quiet.
1290 * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
1291 (__divdf3): Make NaN return value quiet.
1292
e1192dcf 12932018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
1294
1295 * config/rl78/anddi3.S: New assembly file.
1296 * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
1297
a2618819 12982018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
1299
1300 * config/rl78/umindi3.S: New assembly file.
1301 * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
1302
14920f56 13032018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
1304
1305 * config/rl78/smindi3.S: New assembly file.
1306 * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
1307
de5538ce 13082018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
c08fb910 1309
de5538ce 1310 * config/rl78/smaxdi3.S: New assembly file.
1311 * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
1312
de0f3de6 13132018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
c08fb910 1314
f77335d9 1315 * config/rl78/umaxdi3.S: New assembly file.
1316 * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
c08fb910 1317
fb437997 13182018-01-21 John David Anglin <danglin@gcc.gnu.org>
1319
1320 PR lto/83452
1321 * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
1322 * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
c08fb910 1323
599c8d3e 13242018-01-13 Richard Sandiford <richard.sandiford@linaro.org>
1325
1326 * config/aarch64/value-unwind.h (aarch64_vg): New function.
1327 (DWARF_LAZY_REGISTER_VALUE): Define.
1328 * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
1329 to provide a fallback register value.
1330
2d295049 13312018-01-08 Michael Meissner <meissner@linux.vnet.ibm.com>
1332
1333 * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
1334 __ibm128, instead of trying to use long double.
1335 (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
1336 accomidate -mabi=ieeelongdouble multilibs.
1337 (CVT_IBM128_TO_FLOAT128): Likewise.
1338 * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
1339 the appropriate IBM extended double type.
1340 (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
1341 (__gcc_qsub): Likewise.
1342 (__gcc_qmul): Likewise.
1343 (__gcc_qdiv): Likewise.
1344 (pack_ldouble): Likewise.
1345 (__gcc_qneg): Likewise.
1346 (__gcc_qeq): Likewise.
1347 (__gcc_qne): Likewise.
1348 (__gcc_qge): Likewise.
1349 (__gcc_qle): Likewise.
1350 (__gcc_stoq): Likewise.
1351 (__gcc_dtoq): Likewise.
1352 (__gcc_itoq): Likewise.
1353 (__gcc_utoq): Likewise.
1354 (__gcc_qunord): Likewise.
1355 * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
1356 quad-float128.h for the definitions.
1357 (COPYSIGN): Use the f128 version instead of the q version.
1358 (INFINITY): Likewise.
1359 (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
1360 * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
1361 quad-float128.h for the definitions.
1362 (COPYSIGN): Use the f128 version instead of the q version.
1363 (INFINITY): Likewise.
1364 (FABS): Likewise.
1365 (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
1366 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
1367 * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
1368
1c579c0e 13692018-01-05 Sebastian Huber <sebastian.huber@embedded-brains.de>
1370
1371 * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
1372 configuration.
1373
8e8f6434 13742018-01-03 Jakub Jelinek <jakub@redhat.com>
1375
1376 Update copyright years.
1377
13782017-12-12 Kito Cheng <kito.cheng@gmail.com>
26efd270 1379
1380 * config/riscv/t-elf: Use multi3.c instead of multi3.S.
1381 * config/riscv/multi3.c: New file.
1382 * config/riscv/multi3.S: Remove.
1383
1817431e 13842017-12-08 Jim Wilson <jimw@sifive.com>
1385
1386 * config/riscv/div.S: Use FUNC_* macros.
1387 * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
1388 * config/riscv/save-restore.S: Likewise.
1389 * config/riscv/riscv-asm.h: New.
1390
0aba9567 13912017-11-30 Michael Meissner <meissner@linux.vnet.ibm.com>
1392
c78aa1b3 1393 * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
1394 * config/rs6000/_divkc3.c (__divkc3): Likewise.
1395
0aba9567 1396 PR libgcc/83112
1397 * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
1398 correct type for all ifunc resolvers to silence -Wattribute-alias
1399 warnings. Eliminate the forward declaration of the resolver
1400 functions which is no longer needed.
1401 (__subkf3_resolve): Likewise.
1402 (__mulkf3_resolve): Likewise.
1403 (__divkf3_resolve): Likewise.
1404 (__negkf2_resolve): Likewise.
1405 (__eqkf2_resolve): Likewise.
1406 (__nekf2_resolve): Likewise.
1407 (__gekf2_resolve): Likewise.
1408 (__gtkf2_resolve): Likewise.
1409 (__lekf2_resolve): Likewise.
1410 (__ltkf2_resolve): Likewise.
1411 (__unordkf2_resolve): Likewise.
1412 (__extendsfkf2_resolve): Likewise.
1413 (__extenddfkf2_resolve): Likewise.
1414 (__trunckfsf2_resolve): Likewise.
1415 (__trunckfdf2_resolve): Likewise.
1416 (__fixkfsi_resolve): Likewise.
1417 (__fixkfdi_resolve): Likewise.
1418 (__fixunskfsi_resolve): Likewise.
1419 (__fixunskfdi_resolve): Likewise.
1420 (__floatsikf_resolve): Likewise.
1421 (__floatdikf_resolve): Likewise.
1422 (__floatunsikf_resolve): Likewise.
1423 (__floatundikf_resolve): Likewise.
1424 (__extendkftf2_resolve): Likewise.
1425 (__trunctfkf2_resolve): Likewise.
1426
1427 PR libgcc/83103
1428 * config/rs6000/quad-float128.h (TF): Don't define if long double
1429 is IEEE 128-bit floating point.
1430 (TCtype): Define as either TCmode or KCmode, depending on whether
1431 long double is IEEE 128-bit floating point.
1432 (__mulkc3_sw): Add declarations for software/hardware versions of
1433 complex multiply/divide.
1434 (__divkc3_sw): Likewise.
1435 (__mulkc3_hw): Likewise.
1436 (__divkc3_hw): Likewise.
1437 * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
1438 handlers to switch between using software emulation and hardware
1439 float128 instructions, build the complex multiply/divide functions
1440 for both software and hardware support.
1441 * config/rs6000/_divkc3.c (_divkc3): Likewise.
1442 * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
1443 (__divkc3_resolve): Likewise.
1444 (__mulkc3): Likewise.
1445 (__divkc3): Likewise.
1446 * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
1447 (fp128_hw_src): Likewise.
1448 (fp128_hw_static_obj): Likewise.
1449 (fp128_hw_shared_obj): Likewise.
1450 (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
1451 _mulkc3.c and _divkc3.c, changing the function name.
1452 (_divkc3-hw.c): Likewise.
1453 * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
1454 and _divkc3-hw.c.
1455
87d7483a 14562017-11-26 Julia Koval <julia.koval@intel.com>
1457
1458 * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
1459 * config/i386/cpuinfo.h (processor_subtypes): Add
1460 INTEL_COREI7_CANNONLAKE.
1461
7c242f24 14622017-11-20 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1463
1464 PR bootstrap/83015
1465 * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
1466 parameter.
1467 * config/xtensa/unwind-dw2-xtensa.c: Likewise
1468 * config/ia64/unwind-ia64.c: Add frames parameter.
1469 * unwind-sjlj.c: Likewise.
1470
c05f99c6 14712017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1472
1473 * config/i386/linux-unwind.h: Include
1474 config/i386/shadow-stack-unwind.h.
1475 * config/i386/shadow-stack-unwind.h: New file.
1476 * unwind-dw2.c: (uw_install_context): Add a frame parameter and
1477 pass it to _Unwind_Frames_Extra.
1478 * unwind-generic.h (_Unwind_Frames_Extra): New.
1479 * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
1480 parameter. Add local variable frames to count number of frames.
1481 (_Unwind_ForcedUnwind_Phase2): Likewise.
1482 (_Unwind_RaiseException): Add local variable frames to count
1483 number of frames, pass it to _Unwind_RaiseException_Phase2 and
1484 uw_install_context.
1485 (_Unwind_ForcedUnwind): Likewise.
1486 (_Unwind_Resume): Likewise.
1487 (_Unwind_Resume_or_Rethrow): Likewise.
1488
5f42446c 14892017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1490
1491 * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
1492 (CET_FLAGS): New.
1493 * config/i386/morestack.S: Include <cet.h>.
1494 (__morestack_large_model): Add _CET_ENDBR at function entrance.
1495 * config/i386/resms64.h: Include <cet.h>.
1496 * config/i386/resms64f.h: Likewise.
1497 * config/i386/resms64fx.h: Likewise.
1498 * config/i386/resms64x.h: Likewise.
1499 * config/i386/savms64.h: Likewise.
1500 * config/i386/savms64f.h: Likewise.
1501 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
1502 (CRTSTUFF_T_CFLAGS): Likewise.
1503 * configure.ac: Include ../config/cet.m4.
1504 Set and substitute CET_FLAGS.
1505 * configure: Regenerated.
1506
9273bda7 15072017-11-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1508
1509 * config.host (*-*-solaris2*): Adapt comment for Solaris 12
1510 renaming.
1511 * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
1512 * configure.ac (libgcc_cv_solaris_crts): Likewise.
1513 * configure: Regenerate.
1514
bdcb436d 15152017-11-07 Tom de Vries <tom@codesourcery.com>
1516
1517 * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
1518 after "do {} while (0)".
1519
1ad21aef 15202017-11-07 Tom de Vries <tom@codesourcery.com>
1521
1522 PR other/82784
1523 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
1524 semicolon after "do {} while (0)".
1525 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1526 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1527 * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1528 * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1529
c76a96ef 15302017-11-04 Andreas Tobler <andreast@gcc.gnu.org>
1531
1532 PR libgcc/82635
1533 * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
1534 sysctl to determine whether we're in a trampoline.
1535 Keep the pattern matching method for systems without
1536 KERN_PROC_SIGTRAMP sysctl.
1537
e892f4fa 15382017-11-03 Cupertino Miranda <cmiranda@synopsys.com>
1539 Vineet Gupta <vgupta@synopsys.com>
1540
1541 * config.host (arc*-*-linux*): Set md_unwind_header variable.
1542 * config/arc/linux-unwind-reg.def: New file.
1543 * config/arc/linux-unwind-reg.h: Likewise.
1544
020b1a05 15452017-10-23 Sebastian Perta <sebastian.perta@renesas.com>
1546
1547 * config/rl78/subdi3.S: New assembly file.
1548 * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
1549
99efc84b 15502017-10-13 Sebastian Perta <sebastian.perta@renesas.com>
1551
1552 * config/rl78/adddi3.S: New assembly file.
1553 * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
1554
4bed1b09 15552017-10-13 Jakub Jelinek <jakub@redhat.com>
1556
1557 PR target/82274
1558 * libgcc2.c (__mulvDI3): If both operands have
1559 the same highpart of -1 and the topmost bit of lowpart is 0,
1560 multiplication overflows even if both lowparts are 0.
1561
d56894aa 15622017-09-28 James Bowman <james.bowman@ftdichip.com>
1563
1564 * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
1565
cb442ed3 15662017-09-26 Joseph Myers <joseph@codesourcery.com>
1567
1568 * config/microblaze/crti.S, config/microblaze/crtn.S,
1569 config/microblaze/divsi3.S, config/microblaze/moddi3.S,
1570 config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
1571 config/microblaze/mulsi3.S,
1572 config/microblaze/stack_overflow_exit.S,
1573 config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
1574 config/pa/milli64.S: Add .note.GNU-stack section.
1575
4d6bb87e 15762017-09-23 Daniel Santos <daniel.santos@pobox.com>
1577
1578 * configure.ac: Add Check for HAVE_AS_AVX.
1579 * config.in: Regenerate.
1580 * configure: Likewise.
1581 * config/i386/i386-asm.h: Include auto-target.h from libgcc.
1582 (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
1583 Correct out-of-date comments.
1584
df4660d3 15852017-09-20 Sebastian Peryt <sebastian.peryt@intel.com>
1586
1587 * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
1588 * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
1589
39143cf7 15902017-09-17 Daniel Santos <daniel.santos@pobox.com>
1591
df4660d3 1592 * config/i386/i386-asm.h (PASTE2): New macro.
39143cf7 1593 (ASMNAME): Modify to use PASTE2.
1594 (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
1595 (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
df4660d3 1596 * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
39143cf7 1597 instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
df4660d3 1598 * config/i386/resms64f.S: Likewise.
1599 * config/i386/resms64fx.S: Likewise.
1600 * config/i386/resms64x.S: Likewise.
1601 * config/i386/savms64.S: Likewise.
1602 * config/i386/savms64f.S: Likewise.
1603 * config/i386/avx_resms64.S: New file that only defines a macro and
39143cf7 1604 includes it's corresponding header file.
df4660d3 1605 * config/i386/avx_resms64f.S: Likewise.
1606 * config/i386/avx_resms64fx.S: Likewise.
1607 * config/i386/avx_resms64x.S: Likewise.
1608 * config/i386/avx_savms64.S: Likewise.
1609 * config/i386/avx_savms64f.S: Likewise.
1610 * config/i386/sse_resms64.S: Likewise.
1611 * config/i386/sse_resms64f.S: Likewise.
1612 * config/i386/sse_resms64fx.S: Likewise.
1613 * config/i386/sse_resms64x.S: Likewise.
1614 * config/i386/sse_savms64.S: Likewise.
1615 * config/i386/sse_savms64f.S: Likewise.
1616 * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
39143cf7 1617
0c11960e 16182017-09-01 Olivier Hainque <hainque@adacore.com>
0c11960e 1619 * config.host (*-*-vxworks7): Widen scope to vxworks7*.
1620
061339f2 16212017-08-31 Olivier Hainque <hainque@adacore.com>
1622
1623 * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
1624 match as powerpc-wrs-vxworks*.
1625
6a000628 16262017-08-07 Jonathan Yong <10walls@gmail.com>
1627
1628 * config.host (*-cygwin): Include file from mingw
1629 config/i386/enable-execute-stack-mingw32.c
1630
17a98fea 16312017-08-01 Jerome Lambourg <lambourg@adacore.com>
c9e63184 1632 Doug Rupp <rupp@adacore.com>
1633 Olivier Hainque <hainque@adacore.com>
17a98fea 1634
1635 * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
1636 as well as arm-wrs-vxworks.
1637 * config/arm/t-vxworks7: New file. Add unwind-arm-vxworks.c to
1638 LIB2ADDEH.
1639 * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
1640 __exidx_start and __exidx_end for downloadable modules.
1641
fffdea9e 16422017-08-01 Olivier Hainque <hainque@adacore.com>
1643
1644 * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
1645 * config/t-vxworks7: Likewise.
1646
b9454236 16472017-08-01 Olivier Hainque <hainque@adacore.com>
1648
1649 * config/t-vxworks: Instead of redefining LIB2ADD,
1650 augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
1651
f16062f7 16522017-07-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1653
1654 * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
1655
65e1ae67 16562017-07-24 Daniel Santos <daniel.santos@pobox.com>
1657
1658 PR testsuite/80759
1659 * config.host: include i386/t-msabi for darwin and solaris.
1660 * config/i386/i386-asm.h
1661 (ELFFN): Rename to FN_TYPE.
1662 (FN_SIZE): New macro.
1663 (FN_HIDDEN): Likewise.
1664 (ASMNAME): Likewise.
1665 (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
1666 .globl.
1667 (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
1668 (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
1669 * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
1670 .macro.
1671 * config/i386/resms64f.S: Likewise.
1672 * config/i386/resms64fx.S: Likewise.
1673 * config/i386/resms64x.S: Likewise.
1674 * config/i386/savms64.S: Likewise.
1675 * config/i386/savms64f.S: Likewise.
1676
25e4634a 16772017-07-19 John Marino <gnugcc@marino.st>
1678
1679 * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
1680
9f6dc184 16812017-07-12 Michael Meissner <meissner@linux.vnet.ibm.com>
1682
1683 PR target/81193
1684 * configure.ac (PowerPC float128 hardware support): Test whether
1685 we can use __builtin_cpu_supports before enabling the ifunc
1686 handler.
1687 * configure: Regenerate.
1688
927c0132 16892017-07-10 Vineet Gupta <vgupta@synopsys.com>
1690
1691 * config.host: Remove uclibc from arc target spec.
1692
63d551af 16932017-07-09 Krister Walfridsson <krister.walfridsson@gmail.com>
1694
1695 * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
1696
378ca53a 16972017-07-07 Peter Bergner <bergner@vnet.ibm.com>
1698
1699 * config/rs6000/float128-ifunc.c: Don't include auxv.h.
1700 (have_ieee_hw_p): Delete function.
1701 (SW_OR_HW) Use __builtin_cpu_supports().
1702
9b32089e 17032017-07-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
1704
1705 * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
1706
e6c95d8f 17072017-07-03 Olivier Hainque <hainque@adacore.com>
1708
378ca53a 1709 * config/t-vxworks7: New file, really.
e6c95d8f 1710
5266910f 17112017-06-28 Joseph Myers <joseph@codesourcery.com>
1712
1713 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
1714 config/alpha/linux-unwind.h (alpha_fallback_frame_state),
1715 config/bfin/linux-unwind.h (bfin_fallback_frame_state),
1716 config/i386/linux-unwind.h (x86_64_fallback_frame_state,
1717 x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
1718 uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
1719 config/pa/linux-unwind.h (pa32_fallback_frame_state),
1720 config/riscv/linux-unwind.h (riscv_fallback_frame_state),
1721 config/sh/linux-unwind.h (sh_fallback_frame_state),
1722 config/tilepro/linux-unwind.h (tile_fallback_frame_state),
1723 config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
1724 ucontext_t instead of struct ucontext.
1725
0e50554f 17262017-06-27 Jerome Lambourg <lambourg@adacore.com>
1727
1728 * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
1729 (x86_64-wrs-vxworks7): Likewise.
1730
899cdd88 17312017-06-27 Olivier Hainque <hainque@adacore.com>
1732
1733 * config/t-vxworks7: New file.
1734 * config.host (*-*-vxworks7): Use it.
1735
a4721bd0 17362017-06-22 Matt Turner <mattst88@gmail.com>
1737
1738 * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
1739 skylake case.
1740
27182bcd 17412017-06-21 Richard Biener <rguenther@suse.de>
1742
1743 PR gcov-profile/81080
1744 * configure.ac: Add AC_SYS_LARGEFILE.
1745 * libgcov.h: Include auto-target.h before tsystem.h to pick
1746 up _FILE_OFFSET_BITS which might differ for multilibs.
1747 * config.in: Regenerate.
1748 * configure: Likewise.
1749
73c72cdf 17502017-06-16 Richard Earnshaw <rearnsha@arm.com>
1751
1752 * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
1753
696ee0c7 17542017-06-09 Martin Liska <mliska@suse.cz>
1755
1756 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
1757 Reset __gcov_indirect_call_callee to NULL.
1758
e7fcec67 17592017-06-08 Olivier Hainque <hainque@adacore.com>
1760
1761 * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
1762 the set of -I options, support for direct inclusions of net/uio.h
1763 by VxWorks header files via ioLib.h.
1764
69bf76d9 17652017-06-07 Tony Reix <tony.reix@atos.net>
1766 Matthieu Sarter <matthieu.sarter.external@atos.net>
1767 David Edelsohn <dje.gcc@gmail.com>
1768
c9e63184 1769 * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
1770 unconditionally.
1771 (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support. Add 32-bit
1772 AIX 7.2 support.
69bf76d9 1773
b0e6722b 17742017-06-02 Olivier Hainque <hainque@adacore.com>
1775
1776 * config/vxlib.c (__gthread_once): Add missing value to
1777 return statement.
1778
78d07aaf 17792017-05-30 Olivier Hainque <hainque@adacore.com>
1780
1781 * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
1782 dollar sign before $(MULTIDIR).
1783
1e9944f4 17842017-05-26 Richard Henderson <rth@redhat.com>
1785
1786 PR libgcc/80037
1787 * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
1788
874dff1a 17892017-05-17 Andreas Tobler <andreast@gcc.gnu.org>
1790
1791 * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
1792 _Unwind_SetIP available as functions for arm*-*-freebsd*.
1793 * config/arm/unwind-arm.c: Implement the above.
1794
c57508a3 17952017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1796
1797 * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
1798 section for a non-executable stack.
1799
7303090d 18002017-05-14 Krister Walfridsson <krister.walfridsson@gmail.com>
1801
1802 PR target/80600
1803 * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
1804
e67d3d38 18052017-05-14 Daniel Santos <daniel.santos@pobox.com>
1806
1807 * config.host: Add i386/t-msabi to i386/t-linux file list.
1808 * config/i386/i386-asm.h: New file.
1809 * config/i386/resms64.S: New file.
1810 * config/i386/resms64f.S: New file.
1811 * config/i386/resms64fx.S: New file.
1812 * config/i386/resms64x.S: New file.
1813 * config/i386/savms64.S: New file.
1814 * config/i386/savms64f.S: New file.
1815 * config/i386/t-msabi: New file.
1816
8b9c62ca 18172017-05-09 Andreas Tobler <andreast@gcc.gnu.org>
1818
1819 * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
1820 arm*-*-freebsd* instead of the t-slibgcc-libgcc.
1821
9b859c0a 18222017-05-05 Joshua Conner <joshconner@google.com>
1823
1824 * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
1825 pc-relative indirect handling for fuchsia.
1826 * config/t-slibgcc-fuchsia: New file.
1827 * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
e67d3d38 1828 x86_64-*-fuchsia*): Add definitions.
9b859c0a 1829
44d47185 18302017-04-19 Martin Liska <mliska@suse.cz>
1831
1832 PR gcov-profile/80435
1833 * Makefile.in: Install gcov.h.
1834 * gcov.h: New file.
1835 * libgcov.h: Use the header and make __gcov_flush publicly
1836 visible.
1837
6db59335 18382017-04-18 Martin Liska <mliska@suse.cz>
1839
1840 PR gcov-profile/78783
1841 * libgcov-driver.c (gcov_get_filename): New function.
1842
726cec5c 18432017-04-07 Jeff Law <law@redhat.com>
1844
1845 * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
1846 target makefile fragment.
1847 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
1848
47ad90e7 18492017-04-07 Alan Modra <amodra@gmail.com>
1850
1851 PR target/45053
1852 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
1853
2fbe7a32 18542017-04-03 Jonathan Wakely <jwakely@redhat.com>
1855
1856 * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
1857
e69e67d4 18582017-03-27 Claudiu Zissulescu <claziss@synopsys.com>
1859
1860 * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
1861
319901d0 18622017-03-10 John Marino <gnugcc@marino.st>
1863
1864 * config/aarch64/freebsd-unwind.h: New file.
1865 * config.host: Add aarch64-*-freebsd unwinder.
1866
b97c2c61 18672017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
1868
1869 * config/rs6000/crtrestvr.s: Use .machine altivec.
1870 * config/rs6000/crtsavevr.s: Ditto.
1871
8828c0f0 18722017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
1873
1874 * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
1875 modify CFLAGS. Add -mabi=altivec -mvsx -mfloat128.
1876 (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
1877 -mfloat128-hardware to the CFLAGS. Fix syntax error in the C snippet.
1878 * configure: Regenerate.
1879 * config.in: Regenerate.
1880
b7714375 18812017-03-02 Jonathan Yong <10walls@gmail.com>
1882
1883 * config/i386/gthr-win32.h: Define NOGDI before
1884 windows.h include to prevent w32api CC_NONE macro
1885 clash with libgfortran.
1886
3a39f4cf 18872017-03-02 Jonathan Yong <10walls@gmail.com>
1888
1889 * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
1890
9c0ca8b6 18912017-02-16 Andrew Pinski <apinski@cavium.com>
1892
1893 * config/aarch64/value-unwind.h: New file.
1894 * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
1895 to tm_file.
1896
36387fad 18972017-02-06 Palmer Dabbelt <palmer@dabbelt.com>
1898
1899 * config.host: Add RISC-V tuples.
1900 * config/riscv/atomic.c: New file.
1901 * config/riscv/crti.S: Likewise.
1902 * config/riscv/crtn.S: Likewise.
1903 * config/riscv/div.S: Likewise.
1904 * config/riscv/linux-unwind.h: Likewise.
1905 * config/riscv/muldi3.S: Likewise.
1906 * config/riscv/multi3.S: Likewise.
1907 * config/riscv/save-restore.S: Likewise.
1908 * config/riscv/sfp-machine.h: Likewise.
1909 * config/riscv/t-elf: Likewise.
1910 * config/riscv/t-elf32: Likewise.
1911 * config/riscv/t-elf64: Likewise.
1912 * config/riscv/t-softfp32: Likewise.
1913 * config/riscv/t-softfp64: Likewise.
1914
e8c55c95 19152017-01-24 Jakub Jelinek <jakub@redhat.com>
1916
1917 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
1918 /* FALLTHRU */ comments.
1919
a0e066ed 19202017-01-21 Gerald Pfeifer <gerald@pfeifer.com>
1921
1922 * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
1923
58c979ed 19242017-01-20 Jiong Wang <jiong.wang@arm.com>
1925
1926 * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
1927 * unwind-dw2.c (execute_cfa_program): Only multiplexing
1928 DW_CFA_GNU_window_save for AArch64 and LP64.
1929
8657c382 19302017-01-20 Jiong Wang <jiong.wang@arm.com>
1931
1932 * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
1933
d10c58fd 19342017-01-19 Jiong Wang <jiong.wang@arm.com>
1935
1936 * config/aarch64/aarch64-unwind.h: New file.
1937 (DWARF_REGNUM_AARCH64_RA_STATE): Define.
1938 (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
1939 (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
1940 (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
1941 (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
1942 (aarch64_post_extract_frame_addr): New function.
1943 (aarch64_post_frob_eh_handler_addr): New function.
1944 (aarch64_frob_update_context): New function.
1945 * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
1946 * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
1947 aarch64*-*-freebsd*):
1948 Initialize md_unwind_header to include aarch64-unwind.h.
1949 * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
1950 (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
1951 __aarch64__.
1952 (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
1953 (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
1954 (uw_frob_return_addr): New function.
1955 (uw_install_context): Use uw_frob_return_addr.
1956
0812bb06 19572017-01-17 Jakub Jelinek <jakub@redhat.com>
1958
1959 PR other/79046
1960 * configure.ac: Add GCC_BASE_VER.
1961 * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
1962 version from BASE-VER file.
1963 * configure: Regenerated.
1964
fd961cec 19652017-01-13 Joe Seymour <joe.s@somniumtech.com>
1966
1967 * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
1968 libmul_f5.a): Filter archived prerequisites.
1969
e0aa57d6 19702017-01-10 Andrew Senkevich <andrew.senkevich@intel.com>
1971
1972 * config/i386/cpuinfo.h (processor_features): Add
1973 FEATURE_AVX512VPOPCNTDQ.
1974 * config/i386/cpuinfo.c (get_available_features): Habdle new
1975 feature.
1976
4ed499e5 19772017-01-04 Joseph Myers <joseph@codesourcery.com>
1978
1979 * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
1980 payload if [__mips_nan2008].
1981
cb7a0f1d 19822017-01-04 Alan Modra <amodra@gmail.com>
1983
1984 * Makefile.in (configure_deps): Update.
1985 * configure: Regenerate.
1986
aad93da1 19872017-01-01 Jakub Jelinek <jakub@redhat.com>
1988
1989 Update copyright years.
1990
9834d450 19912016-12-19 Krister Walfridsson <krister.walfridsson@gmail.com>
1992
1993 * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
1994 * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
1995 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
1996
1eff8c97 19972016-12-17 Matthias Klose <doko@ubuntu.com>
1998
1999 * config/arc/gmon: Remove empty directory.
2000
8df543e1 20012016-12-16 Claudiu Zissulescu <claziss@synopsys.com>
2002
2003 * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
2004 crtgend.
2005 (arc*-*-elf*): Likewise.
2006 * config/arc/t-arc: Remove old gmon lib targets.
2007 * config/arc/crtg.S: Remove.
2008 * config/arc/crtgend.S: Likewise.
2009 * config/arc/gmon/atomic.h: Likewise.
2010 * config/arc/gmon/auxreg.h: Likewise.
2011 * config/arc/gmon/dcache_linesz.S: Likewise.
2012 * config/arc/gmon/gmon.c: Likewise.
2013 * config/arc/gmon/machine-gmon.h: Likewise.
2014 * config/arc/gmon/mcount.c: Likewise.
2015 * config/arc/gmon/prof-freq-stub.S: Likewise.
2016 * config/arc/gmon/prof-freq.c: Likewise.
2017 * config/arc/gmon/profil.S: Likewise.
2018 * config/arc/gmon/sys/gmon.h: Likewise.
2019 * config/arc/gmon/sys/gmon_out.h: Likewise.
2020 * config/arc/t-arc-newlib: Likewise.
2021 * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
2022
489174fc 20232016-12-12 George Spelvin <linux@sciencehorizons.net>
2024
2025 * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
2026
4d1d4dad 20272016-12-12 George Spelvin <linux@sciencehorizons.net>
2028
2029 * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
2030 R16 instead of push + pop.
2031 (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
2032
a1928e5c 20332016-12-10 Krister Walfridsson <krister.walfridsson@gmail.com>
2034
2035 * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
2036 tmake_file.
2037
74d8fa14 20382016-12-05 Cupertino Miranda <cmiranda@synopsys.com>
2039
2040 * config.host (arc*-*-linux-uclibc*): Use default extra
2041 objects. Include linux-android header.
2042 * config/arc/crti.S (_init): Declare symbol as function.
2043 (_fini): Likewise.
2044
25df644f 20452016-12-03 Thomas Koenig <tkoenig@gcc.gnu.org>
2046
2047 PR fortran/78379
2048 * config/i386/cpuinfo.c: Move denums for processor vendors,
2049 processor type, processor subtypes and declaration of
2050 struct __processor_model into
2051 * config/i386/cpuinfo.h: New header file.
2052
2d3a01a7 20532016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
2054 Thomas Preud'homme <thomas.preudhomme@arm.com>
2055
2056 * config/arm/cmse_nonsecure_call.S: New.
2057 * config/arm/t-arm: Compile cmse_nonsecure_call.S
2058
0120ae30 20592016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
2060 Thomas Preud'homme <thomas.preudhomme@arm.com>
2061
2062 * config/arm/t-arm (HAVE_CMSE): New.
2063 * config/arm/cmse.c: New.
2064
6c8f362e 20652016-11-28 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2066
966d046c 2067 PR gcc/74748
2068 * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
2069 use generic linker version information on Blackfin.
2070
6c8f362e 2071 PR gcc/74748
2072 * libgcc/mkmap-symver.awk: add support for skip_underscore
2073
aaa50706 20742016-11-27 Iain Sandoe <iain@codesourcery.com>
2075 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2076
2077 PR target/67710
2078 * config/t-darwin: Default builds to 10.5 codegen.
2079
a5987adb 20802016-11-24 James Greenhalgh <james.greenhalgh@arm.com>
2081
2082 * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
2083 (_FP_NANSIGN_H): Likewise.
2084 * config/aarch64/t-softfp (softfp_extensions): Add hftf.
2085 (softfp_truncations): Add tfhf.
2086 (softfp_extras): Add required conversion functions.
2087
9f58227e 20882016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
2089 Matthew Wahab <matthew.wahab@arm.com>
2090
2091 * config/arm/fp16.c (binary64): New.
2092 (__gnu_d2h_internal): New.
2093 (__gnu_d2h_ieee): New.
2094 (__gnu_d2h_alternative): New.
2095
684b17ed 20962016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
2097 Matthew Wahab <matthew.wahab@arm.com>
2098
2099 * config/arm/fp16.c (struct format): New.
2100 (binary32): New.
2101 (__gnu_float2h_internal): New. Body moved from
2102 __gnu_f2h_internal and generalize.
2103 (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
2104 Call it with binary32.
2105
d1b857ae 21062016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
2107
2108 * soft-fp/extendhftf2.c: Update from glibc.
2109 * soft-fp/fixhfti.c: Likewise.
2110 * soft-fp/fixunshfti.c: Likewise.
2111 * soft-fp/floattihf.c: Likewise.
2112 * soft-fp/floatuntihf.c: Likewise.
2113 * soft-fp/half.h: Likewise.
2114 * soft-fp/trunctfhf2.c: Likewise.
2115
7dbfd9e6 21162016-11-20 Marc Glisse <marc.glisse@inria.fr>
2117
2118 PR libgcc/77813
2119 * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
2120 __TMC_END__ behind a passthrough asm.
2121
6bf644d1 21222016-11-18 Walter Lee <walt@tilera.com>
2123
7dbfd9e6 2124 * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
6bf644d1 2125
a28d23f0 21262016-11-17 Andrew Senkevich <andrew.senkevich@intel.com>
2127
2128 * config/i386/cpuinfo.c (processor_features): Add
2129 FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
2130
732a947a 21312016-11-17 Claudiu Zissulescu <claziss@synopsys.com>
2132
2133 * config/arc/dp-hack.h (ARC_OPTFPE): Define.
2134 (__ARC_NORM__): Use instead ARC_OPTFPE.
2135 * config/arc/fp-hack.h: Likewise.
2136 * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
2137 (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
2138
7fce8768 21392016-11-16 Alexander Monakov <amonakov@ispras.ru>
2140
2141 * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
2142 * config/nvptx/mgomp.c: New file.
2143 * config/nvptx/t-nvptx: Add mgomp.c
2144
397d0e43 21452016-11-16 Waldemar Brodkorb <wbx@openadk.org>
2146
2147 PR libgcc/68468
2148 * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
2149
44618e46 21502016-11-15 Claudiu Zissulescu <claziss@synopsys.com>
2151
2152 * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
2153 of checking for cpus.
2154 (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
2155 (__modsi3, __clzsi2): Likewise.
2156
6e6c7fc1 21572016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
2158
2159 * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
2160 i386/t-cpuinfo-static instead of i386/t-cpuinfo.
2161 * config/i386/t-cpuinfo-static: New.
2162
36ffeeaf 21632016-11-03 Martin Liska <mliska@suse.cz>
2164
2165 * libgcov-profiler.c (__gcov_time_profiler): Remove.
2166 (__gcov_time_profiler_atomic): Likewise.
2167
9769a02b 21682016-11-03 Bernd Edlinger <bernd.edlinger@hotmail.de>
2169
2170 PR libgcc/78067
2171 * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
2172 count_leading_zeros.
2173
2743281b 21742016-11-02 Uros Bizjak <ubizjak@gmail.com>
2175
2176 * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
2177 * libgcc2.c (__divmoddi4): New function.
2178 * libgcc2.h (__divmoddi4): Declare.
2179 * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
2180 and __PFX_divmodti4.
2181
7829b1ae 21822016-10-24 Florian Weimer <fweimer@redhat.com>
2183
2184 PR libgcc/78064
2185 * unwind-c.c: Include auto-target.h.
2186
677e8b73 21872016-10-19 John David Anglin <danglin@gcc.gnu.org>
2188
2743281b 2189 * config/pa/pa64-hpux-lib.h: New file.
677e8b73 2190 (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
2191 (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
2192 * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
2193 hppa*64*-*-hpux11*.
2194
5dc8060e 21952016-10-18 Max Filippov <jcmvbkbc@gmail.com>
2196
2197 * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
2198 definition.
2199 * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
2200 definition.
2201 * config/xtensa/t-windowed (LIB2ADDEH): Use
2202 LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
2203 or xtensa/t-linux.
2204
2b7e7fc4 22052016-10-18 Ding-Kai Chen <dkchen@cadence.com>
2206
2207 * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
2208 __ieee754_sqrt): New functions.
2209 (__divdf3): Add implementation with new FPU instructions under
2210 #if XCHAL_HAVE_DFP_DIV.
2211 * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
2212 __ieee754_sqrtf): New functions.
2213 (__divsf3): Add implementation with new FPU instructions under
2214 #if XCHAL_HAVE_FP_DIV.
2215 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
2216 _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
2217
ad7b10a2 22182016-10-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
2219
2220 * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
2221 equivalent.
2222 * config/tilepro/atomic.c: Likewise and stop casting model to
2223 enum memmodel.
2224
dff001ee 22252016-10-10 Joseph Myers <joseph@codesourcery.com>
2226
2227 PR target/77586
2228 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
2229 soft-fp.
2230
88afddbc 22312016-10-10 Andreas Tobler <andreast@gcc.gnu.org>
2232
2233 * config.host: Add support for aarch64-*-freebsd*.
2234
7667e10d 22352016-10-05 Andreas Schwab <schwab@suse.de>
2236
2237 * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
2238 (.section .init_array): Don't call __do_jv_register_classes.
2239 (.section .init): Likewise.
2240
bc6b11a7 22412016-10-04 Jakub Jelinek <jakub@redhat.com>
2242
2243 * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
2244 (__JCR_LIST__): Remove.
2245 (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
2246 * config/i386/cygming-crtend.c (__JCR_END__): Remove.
2247 * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
2248 * config/ia64/crtend.S (__JCR_END__): Remove.
2249 * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
2250 conditionals.
2251 (__JCR_LIST__, __JCR_END__): Remove.
2252 (frame_dummy): Don't attempt to _Jv_RegisterClasses.
2253 (__do_global_ctors_1): Likewise.
2254
4785ab74 22552015-09-28 Uros Bizjak <ubizjak@gmail.com>
2256
2257 * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
2258 (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
2259
db46bcd3 22602016-09-27 Martin Liska <mliska@suse.cz>
2261
2262 PR gcov-profile/7970
2263 PR gcov-profile/16855
2264 PR gcov-profile/44779
2265 * libgcov-driver.c (__gcov_init): Do not register a atexit
2266 handler.
2267 (__gcov_exit): Rename from gcov_exit.
2268 * libgcov.h (__gcov_exit): Declare.
2269
1e849229 22702016-09-27 Martin Liska <mliska@suse.cz>
2271
2272 PR bootstrap/77749
2273 * Makefile.in: Remove _gcov_merge_delta.
2274 * libgcov-merge.c (void __gcov_merge_delta): Remove.
2275 * libgcov-util.c (__gcov_delta_counter_op): Remove.
2276 * libgcov.h: Remove declaration of __gcov_merge_delta.
2277
c678023a 22782016-09-21 Eric Botcazou <ebotcazou@adacore.com>
2279
2280 * configure.ac: Do not create links, only substitute the filenames.
2281 * configure: Regenerate.
2282 * Makefile.in: Assign the substitution results to variables.
2283 (LIBGCC_LINKS): Define.
2284 (enable-execute-stack.c): New rule.
2285 (unwind.h): Likewise.
2286 (md-unwind-support.h): Likewise.
2287 (sfp-machine.h): Likewise.
2288 (gthr-default.h): Likewise.
2289 Add $(LIBGCC_LINKS) to the prerequisites of all object files and
2290 unwind.h as prerequisite of install-unwind_h-forbuild.
2291
69ea9908 22922016-09-16 Jakub Jelinek <jakub@redhat.com>
2293
2294 PR libgcc/71744
2295 * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
2296 is not the primary registry and atomics are available.
2297 (any_objects_registered): New variable.
2298 (__register_frame_info_bases, __register_frame_info_table_bases):
2299 Atomically store 1 to any_objects_registered after registering first
2300 unwind info.
2301 (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
2302
d1c9b60c 23032016-09-09 James Greenhalgh <james.greenhalgh@arm.com>
2304
2305 PR target/63250
2306 * Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
2307 * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
2308 (HFtype): Likewise.
2309 (HCtype): Likewise.
2310 (__divhc3): Likewise.
2311 (__mulhc3): Likewise.
2312 * libgcc2.c: Support _mulhc3 and _divhc3.
2313
86d9b5ed 23142016-09-07 Joseph Myers <joseph@codesourcery.com>
2315
2316 PR libgcc/77519
2317 * libgcc2.c (NOTRUNC): Invert settings.
2318
4c790ba8 23192016-09-06 Martin Liska <mliska@suse.cz>
2320
2321 PR gcov-profile/77378
2322 PR gcov-profile/77466
2323 * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
2324 conditionaly enable/disable *_atomic functions.
2325
ac34f4bd 23262016-08-26 Joseph Myers <joseph@codesourcery.com>
2327
2328 * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
2329 where not already enabled.
2330
9cd45037 23312016-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
2332
2333 * config/mips/linux-unwind.h: Use sys/syscall.h.
2334
de41fc22 23352016-08-16 Joseph Myers <joseph@codesourcery.com>
2336
2337 PR libgcc/77265
2338 * soft-fp/adddf3.c: Update from glibc.
2339 * soft-fp/addsf3.c: Likewise.
2340 * soft-fp/addtf3.c: Likewise.
2341 * soft-fp/divdf3.c: Likewise.
2342 * soft-fp/divsf3.c: Likewise.
2343 * soft-fp/divtf3.c: Likewise.
2344 * soft-fp/double.h: Likewise.
2345 * soft-fp/eqdf2.c: Likewise.
2346 * soft-fp/eqsf2.c: Likewise.
2347 * soft-fp/eqtf2.c: Likewise.
2348 * soft-fp/extenddftf2.c: Likewise.
2349 * soft-fp/extended.h: Likewise.
2350 * soft-fp/extendsfdf2.c: Likewise.
2351 * soft-fp/extendsftf2.c: Likewise.
2352 * soft-fp/extendxftf2.c: Likewise.
2353 * soft-fp/fixdfdi.c: Likewise.
2354 * soft-fp/fixdfsi.c: Likewise.
2355 * soft-fp/fixdfti.c: Likewise.
2356 * soft-fp/fixsfdi.c: Likewise.
2357 * soft-fp/fixsfsi.c: Likewise.
2358 * soft-fp/fixsfti.c: Likewise.
2359 * soft-fp/fixtfdi.c: Likewise.
2360 * soft-fp/fixtfsi.c: Likewise.
2361 * soft-fp/fixtfti.c: Likewise.
2362 * soft-fp/fixunsdfdi.c: Likewise.
2363 * soft-fp/fixunsdfsi.c: Likewise.
2364 * soft-fp/fixunsdfti.c: Likewise.
2365 * soft-fp/fixunssfdi.c: Likewise.
2366 * soft-fp/fixunssfsi.c: Likewise.
2367 * soft-fp/fixunssfti.c: Likewise.
2368 * soft-fp/fixunstfdi.c: Likewise.
2369 * soft-fp/fixunstfsi.c: Likewise.
2370 * soft-fp/fixunstfti.c: Likewise.
2371 * soft-fp/floatdidf.c: Likewise.
2372 * soft-fp/floatdisf.c: Likewise.
2373 * soft-fp/floatditf.c: Likewise.
2374 * soft-fp/floatsidf.c: Likewise.
2375 * soft-fp/floatsisf.c: Likewise.
2376 * soft-fp/floatsitf.c: Likewise.
2377 * soft-fp/floattidf.c: Likewise.
2378 * soft-fp/floattisf.c: Likewise.
2379 * soft-fp/floattitf.c: Likewise.
2380 * soft-fp/floatundidf.c: Likewise.
2381 * soft-fp/floatundisf.c: Likewise.
2382 * soft-fp/floatunditf.c: Likewise.
2383 * soft-fp/floatunsidf.c: Likewise.
2384 * soft-fp/floatunsisf.c: Likewise.
2385 * soft-fp/floatunsitf.c: Likewise.
2386 * soft-fp/floatuntidf.c: Likewise.
2387 * soft-fp/floatuntisf.c: Likewise.
2388 * soft-fp/floatuntitf.c: Likewise.
2389 * soft-fp/gedf2.c: Likewise.
2390 * soft-fp/gesf2.c: Likewise.
2391 * soft-fp/getf2.c: Likewise.
2392 * soft-fp/ledf2.c: Likewise.
2393 * soft-fp/lesf2.c: Likewise.
2394 * soft-fp/letf2.c: Likewise.
2395 * soft-fp/muldf3.c: Likewise.
2396 * soft-fp/mulsf3.c: Likewise.
2397 * soft-fp/multf3.c: Likewise.
2398 * soft-fp/negdf2.c: Likewise.
2399 * soft-fp/negsf2.c: Likewise.
2400 * soft-fp/negtf2.c: Likewise.
2401 * soft-fp/op-1.h: Likewise.
2402 * soft-fp/op-2.h: Likewise.
2403 * soft-fp/op-4.h: Likewise.
2404 * soft-fp/op-8.h: Likewise.
2405 * soft-fp/op-common.h: Likewise.
2406 * soft-fp/quad.h: Likewise.
2407 * soft-fp/single.h: Likewise.
2408 * soft-fp/soft-fp.h: Likewise.
2409 * soft-fp/subdf3.c: Likewise.
2410 * soft-fp/subsf3.c: Likewise.
2411 * soft-fp/subtf3.c: Likewise.
2412 * soft-fp/truncdfsf2.c: Likewise.
2413 * soft-fp/trunctfdf2.c: Likewise.
2414 * soft-fp/trunctfsf2.c: Likewise.
2415 * soft-fp/trunctfxf2.c: Likewise.
2416 * soft-fp/unorddf2.c: Likewise.
2417 * soft-fp/unordsf2.c: Likewise.
2418 * soft-fp/unordtf2.c: Likewise.
2419
196b8968 24202016-08-15 Gilles Gouaillardet <gilles.gouaillardet@gmail.com>
2421
2422 PR gcov-profile/67097
2423 * libgcov-util.c (gcov_profile_merge): Skip missing files.
2424
2d2b4107 24252016-08-10 Martin Liska <mliska@suse.cz>
2426
2427 PR gcov-profile/58306
2428 * Makefile.in: New functions (modules) are added.
2429 * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
2430 function.
2431 (__gcov_pow2_profiler_atomic): New function.
2432 (__gcov_one_value_profiler_body): New argument is instroduced.
2433 (__gcov_one_value_profiler): Call with the new argument.
2434 (__gcov_one_value_profiler_atomic): Likewise.
2435 (__gcov_indirect_call_profiler_v2): Likewise.
2436 (__gcov_time_profiler_atomic): New function.
2437 (__gcov_average_profiler_atomic): Likewise.
2438 (__gcov_ior_profiler_atomic): Likewise.
2439 * libgcov.h: Declare the aforementioned functions.
2440
ba662a81 24412016-08-09 Martin Liska <mliska@suse.cz>
2442
2443 * libgcov-util.c: Fix typo and GNU coding style.
2444
2d917abb 24452016-08-09 Martin Liska <mliska@suse.cz>
2446
2447 * Makefile.in: Remove __gcov_indirect_call_profiler.
2448 * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
2449 function.
2450 * libgcov.h: And the declaration of the function.
2451
defa7026 24522016-08-09 Martin Liska <mliska@suse.cz>
2453
2454 * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
2455 power of two.
2456
cc308618 24572016-07-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
2458
2459 * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
2460 * config/rs6000/_mulkc3.c: Likewise.
2461
33d428f0 24622016-07-29 Georg-Johann Lay <avr@gjlay.de>
2463
2464 * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
2465 zero_reg as previous call to __umulhisi3 already cleared it.
2466
04aca775 24672016-07-21 Aurelien Jarno <aurelien@aurel32.net>
2468
2469 PR target/59833
2470 * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
2471
78c81e30 24722016-07-19 Nick Clifton <nickc@redhat.com>
2473
2474 * config.host (m32r): Add m32r/t-m32r to tmake_file.
2475 Add crtinit.o and crtfini.o to extra_parts.
2476
244f142f 24772016-07-12 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
2478
2479 * config/rs6000/_divkc3.c: New.
2480 * config/rs6000/_mulkc3.c: New.
2481 * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
2482 and _divkc3.
2483 * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
2484 fp128_ppc_funcs.
2485
4623d929 24862016-07-11 Hale Wang <hale.wang@arm.com>
2487 Andre Vieira <andre.simoesdiasvieira@arm.com>
2488
2489 * config/arm/lib1funcs.S: Add new wrapper.
2490
2d079cbf 24912016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
2492
2493 * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
2494
baea7c0c 24952016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
2496
2497 * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
2498 and ARMv5t* rather than for a fixed list of architectures.
2499
9e6f4af4 25002016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
2501
2502 * config/arm/bpabi-v6m.S: Clarify what architectures is the
2503 implementation suitable for.
2504 * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
2505 for all Thumb-1 only targets.
2506 (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
2507 (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
2508 __ARM_ARCH_6M__.
2509 (EQUIV): Likewise.
2510 (ARM_FUNC_ALIAS): Likewise.
2511 (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
2512 version.
2513 (modsi3): Likewise.
2514 (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
2515 (clzdi2): Likewise.
2516 (ctzsi2): Likewise.
2517 (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
2518 __ARM_ARCH_6M__ in guard for checking whether it is defined.
2519 (final includes): Test for NOT_ISA_TARGET_32BIT rather than
2520 __ARM_ARCH_6M__ and add comment to indicate the connection between
2521 this condition and the one in gcc/config/arm/elf.h.
2522 * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
2523 __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
2524 * config/arm/t-softfp: Likewise.
2525
286a203d 25262016-07-06 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2527
2528 * libgcc2.c (SYMBOL__MAIN): Remove checks for
2529 CTOR_LISTS_DEFINED_EXTERNALLY.
2530
dabe3026 25312016-06-28 Walter Lee <walt@tilera.com>
2532
2533 * config/tilepro/atomic.h: Do not include arch/spr_def.h and
2534 asm/unistd.h.
2535 (SPR_CMPEXCH_VALUE): Define for tilegx.
2536 (__NR_FAST_cmpxchg): Define for tilepro.
2537 (__NR_FAST_atomic_update): Define for tilepro.
2538 (__NR_FAST_cmpxchg64): Define for tilepro.
2539
21ecea39 25402016-06-23 Jakub Sejdak <jakub.sejdak@phoesys.com>
2541
2743281b 2542 * config.host: Add suport for arm*-*-phoenix* targets.
21ecea39 2543
03fee1f8 25442016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2545
2546 * config.host: Remove support for mep-*.
2547 * config/mep/lib1funcs.S: Remove.
2548 * config/mep/lib2funcs.c: Remove.
2549 * config/mep/t-mep: Remove.
2550 * config/mep/tramp.c: Remove.
2551
0f7d9ee5 25522016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2553
2554 * config.host: Remove support for avr-rtems.
2555 * config/avr/t-rtems: Remove.
2556
13c64cbf 25572016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2558
2559 * config.host: Remove m32r-rtems support.
2560
dac5da06 25612016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2562
2563 * config.host: Remove h8300-rtems support.
2564
79573034 25652016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2566
2567 * config.host: Remove support for knetbsd.
2568
b79c0f5e 25692016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2570
2571 * config.host: Remove support for openbsd 2 and 3.
2572
6905db52 25732016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2574
2575 * config.host: Remove interix support.
2576 * config/i386/t-interix: Remove.
2577
433e4812 25782016-06-18 John David Anglin <danglin@gcc.gnu.org>
2579
2580 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
2581 least-significant bit in function pointer for fixup.
2582
5d4123dc 25832016-06-05 Aaron Conole <aconole@redhat.com>
2584 Nathan Sidwell <nathan@acm.org>
2585
2586 PR libgcc/71400
2587 * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
2588 (get_gcov_error_file): Check __gcov_error_file before trying to
2589 initialize it.
2590 (gcov_error): Always use get_gcov_error_file.
2591
3237fc56 25922016-06-02 Aaron Conole <aconole@redhat.com>
2593
2594 * libgcov-driver-system.c (__gcov_error_file): New.
2595 (get_gcov_error_file): New.
2596 (gcov_error): Use and set __gcov_error_file.
2597 (gcov_error_exit): New.
2598 * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
2599
16dbe651 26002016-05-26 Nathan Sidwell <nathan@acm.org>
2601
2602 * config/nvptx/free.asm: Delete.
2603 * config/nvptx/malloc.asm: Delete.
2604 * config/nvptx/realloc.c: Delete.
2605 * t-nvptx: Update.
2606
f6871bbd 26072016-05-25 Nathan Sidwell <nathan@acm.org>
2608
2609 * config/nvptx/crt0.s: Delete.
2610 * config/nvptx/crt0.c: New.
2611 * t-nvptx: Update.
2612
51d42eb1 26132016-05-19 Sandra Loosemore <sandra@codesourcery.com>
2614
61958e92 2615 * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
51d42eb1 2616 dw2/seh configuration.
2617 [x86_64-*-mingw*]: Likewise.
2618
ffdf58db 26192016-05-10 Joel Sherrill <joel@rtems.org>
2620
2621 PR libgcc/70720
2622 * config.host (moxie-*-rtems*): Merge this stanza with other moxie
2623 targets so the same extra_parts are built. Also have tmake_file add
2624 on to its value rather than override.
2625
9a9b5abf 26262016-04-30 Oleg Endo <olegendo@gcc.gnu.org>
2627
2628 * config.host: Remove SH5 support.
2629 * configure: Likewise.
2630
f6fac0a1 26312016-04-29 Oleg Endo <olegendo@gcc.gnu.org>
2632
2633 * config/sh/crt1.S: Remove SH5 support.
2634 * config/sh/crti.S: Likewise.
2635 * config/sh/crtn.S: Likewise.
2636 * config/sh/lib1funcs-4-300.S: Likewise.
2637 * config/sh/lib1funcs-Os-4-200.S: Likewise.
2638 * config/sh/lib1funcs.S: Likewise.
2639 * config/sh/linux-unwind.h: Likewise.
2640 * config/sh/t-sh64: Delete.
2641
7238c72c 26422016-04-29 Claudiu Zissulescu <claziss@synopsys.com>
2643
2644 * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
2645
5caa55b9 26462016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
2647 Joern Rennecke <joern.rennecke@embecosm.com>
2648
2649 * config/arc/crttls.S: New file.
2650 * config/arc/t-arc: New rule.
2651 * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
2652
10dd6506 26532016-04-25 Nick Clifton <nickc@redhat.com>
2654
2655 * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
2656 (__mspabi_cmpd): Likewise.
2657 * config/msp430/floathidf.c (__floathidf): Likewise.
2658 * config/msp430/floathisf.c (__floathisf): Likewise
2659 * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
2660 * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
2661 * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
2662 second parameter.
2663 (__ashrsi3): Likewise.
2664
1701058d 26652016-04-21 Waldemar Brodkorb <wbx@openadk.org>
2666
2667 * config/m68k/linux-atomic.c: Do not include unistd.h
2668
9703b760 26692016-04-20 Martin Galvan <martin.galvan@tallertechnologies.com>
2670
2671 * config/arm/ieee754-df.S: Fix typos in comments.
2672
62735984 26732016-04-11 Michael Meissner <meissner@linux.vnet.ibm.com>
2674
2675 PR target/70381
2676 * configure.ac (powerpc*-*-linux*): Rework tests to build
2677 __float128 emulation routines to not depend on using #pragma GCC
2678 target to enable -mfloat128.
2679 * configure: Regnerate.
2680
1c934c58 26812016-04-04 Eric Botcazou <ebotcazou@adacore.com>
2682
2683 PR target/67172
2684 * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
2685 __MINGW32__ is defined.
2686
28a5f334 26872016-03-28 James Bowman <james.bowman@ftdichip.com>
2688
61958e92 2689 * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
28a5f334 2690
88a2143c 26912016-03-22 Michael Meissner <meissner@linux.vnet.ibm.com>
2692
2693 PR libgcc/70363
2694 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
2695 built with an assembler that does not support ISA 3.0
2696 instructions, rename __extendkftf2_sw to __extendkftf2.
2697
ed3d624c 26982016-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2699
2700 PR target/38239
2701 * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
2702 call-clobbered registers.
2703 (internal_mcount): Remove __i386__ handling.
2704
1e085786 27052016-02-26 Joel Sherrill <joel@rtems.org>
2706
2707 * config.host: Add x86_64-*-rtems*.
2708
05ea12a2 27092016-02-26 Joel Sherrill <joel@rtems.org>
2710
2711 * libgcc/config.host: Add aarch64-*-rtems*.
2712
9b71efb9 27132016-02-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2714 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
2715
2716 * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
2717 union of u64 and double.
2718 (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
2719 (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
2720 value.
2721 (FP_ROUNDMODE): Update the usage of _fpscr.
2722
e59c8b12 27232016-02-25 Ilya Verbin <ilya.verbin@intel.com>
2724
2725 PR driver/68463
2726 * Makefile.in (crtoffloadtable$(objext)): New rule.
2727 * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
2728 enable_offload_targets is not empty.
2729 * configure: Regenerate.
2730 * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
2731 crtoffloadtable.
2732
1fa780ac 27332016-02-17 Max Filippov <jcmvbkbc@gmail.com>
2734
2735 * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
2736 .literal_position before the function.
2737 * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
2738 Likewise.
2739
c6d481f7 27402016-02-15 Marcin Kościelnicki <koriakin@0x04.net>
2741
2742 * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
2743 * config/s390/morestack.S: New file.
2744 * config/s390/t-stack-s390: New file.
2745 * generic-morestack.c (__splitstack_find): Add s390-specific code.
2746
d58f7073 27472016-02-12 Walter Lee <walt@tilera.com>
2748
2749 * config.host (tilegx*-*-linux*): remove ti from
2750 softfp_int_modes for 32-bit configs.
2751
43cfc88a 27522016-02-10 Ian Lance Taylor <iant@google.com>
2753
2754 PR go/68562
2755 * config/i386/morestack.S (__stack_split_initialize): Align
2756 stack.
2757
ad2fe514 27582016-02-03 Andreas Tobler <andreast@gcc.gnu.org>
2759
2760 PR bootstrap/69611
2761 * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
2762 __FLOAT128__ to compile only for __float128 capable targets.
2763
92e91d03 27642016-01-25 Jakub Jelinek <jakub@redhat.com>
2765
2766 PR target/69444
2767 * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
2768 instead of ___NO_FPRS__.
2769
d99eec2c 27702016-01-21 Michael Meissner <meissner@linux.vnet.ibm.com>
92e91d03 2771 Steven Munroe <munroesj@linux.vnet.ibm.com>
2772 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
d99eec2c 2773
2774 * config/rs6000/float128-sed: New files to convert TF names to KF
2775 names for PowerPC IEEE 128-bit floating point support.
2776 * config/rs6000/float128-sed-hw: Likewise.
2777
2778 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
2779 floating point hardware support.
2780
2781 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
2782 128-bit floating point software emulation or use ISA 3.0 hardware
2783 support if it is available.
2784
2785 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
2786 floating point.
2787
2788 * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
2789 floating point to IBM extended double.
2790
2791 * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
2792 double to IEEE 128-bit floating point.
2793
2794 * config/rs6000/t-float128: New Makefile fragments to enable
2795 building __float128 emulation support.
2796 * config/rs6000/t-float128-hw: Likewise.
2797
2798 * config/rs6000/sfp-exceptions.c: New file to provide exception
2799 support for IEEE 128-bit floating point.
2800
2801 * config/rs6000/floattikf.c: New files for converting between IEEE
2802 128-bit floating point and signed/unsigned 128-bit integers.
2803 * config/rs6000/fixunskfti.c: Likewise.
2804 * config/rs6000/fixkfti.c: Likewise.
2805 * config/rs6000/floatuntikf.c: Likewise.
2806
2807 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
2808 when building on 64-bit systems, or when VSX is enabled.
2809 (_FP_W_TYPE): Likewise.
2810 (_FP_WS_TYPE): Likewise.
2811 (_FP_I_TYPE): Likewise.
2812 (TItype): Define on 64-bit systems.
2813 (UTItype): Likewise.
2814 (TI_BITS): Likewise.
2815 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
2816 (_FP_MUL_MEAT_Q): Likewise.
2817 (_FP_DIV_MEAT_D): Likewise.
2818 (_FP_DIV_MEAT_Q): Likewise.
2819 (_FP_NANFRAC_D): Likewise.
2820 (_FP_NANFRAC_Q): Likewise.
2821 (ISA_BIT): Add exception support if we are being compiled on a
2822 machine with hardware floating point support to build the IEEE
2823 128-bit emulation functions.
2824 (FP_EX_INVALID): Likewise.
2825 (FP_EX_OVERFLOW): Likewise.
2826 (FP_EX_UNDERFLOW): Likewise.
2827 (FP_EX_DIVZERO): Likewise.
2828 (FP_EX_INEXACT): Likewise.
2829 (FP_EX_ALL): Likewise.
2830 (__sfp_handle_exceptions): Likewise.
2831 (FP_HANDLE_EXCEPTIONS): Likewise.
2832 (FP_RND_NEAREST): Likewise.
2833 (FP_RND_ZERO): Likewise.
2834 (FP_RND_PINF): Likewise.
2835 (FP_RND_MINF): Likewise.
2836 (FP_RND_MASK): Likewise.
2837 (_FP_DECL_EX): Likewise.
2838 (FP_INIT_ROUNDMODE): Likewise.
2839 (FP_ROUNDMODE): Likewise.
2840
2841 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
2842 VSX code, enable IEEE 128-bit floating point. If the compiler can
2843 compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
2844 floating point hardware instructions and it supports declaring
2845 functions with the ifunc attribute, enable ifunc functions to
2846 switch between software and hardware support.
2847 * configure.ac (powerpc*-*-linux*): Likewise.
2848 * configure: Regenerate.
2849
f557f14d 28502016-01-15 Nick Clifton <nickc@redhat.com>
2851
2852 * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
2853 dependency as the source file to be compiled.
2854 (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
2855 (lib2hw_mul_f5.o): Likewise.
2856
0e0d3ecb 28572016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
2858
2859 * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
2860 * libgcc/config/rs6000/fixkfti.c: Likewise.
2861 * libgcc/config/rs6000/fixunskfti.c: Likewise.
2862 * libgcc/config/rs6000/float128-hw.c: Likewise.
2863 * libgcc/config/rs6000/float128-ifunc.c: Likewise.
2864 * libgcc/config/rs6000/float128-sed: Likewise.
2865 * libgcc/config/rs6000/floattikf.c: Likewise.
2866 * libgcc/config/rs6000/floatuntikf.c: Likewise.
2867 * libgcc/config/rs6000/quad-float128.h: Likewise.
2868 * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
2869 * libgcc/config/rs6000/sfp-machine.h: Likewise.
2870 * libgcc/config/rs6000/t-float128: Likewise.
2871 * libgcc/config/rs6000/t-float128-hw: Likewise.
2872 * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
2873 * libgcc/config.host: Likewise.
2874 * libgcc/configure: Likewise.
2875 * libgcc/configure.ac: Likewise.
2876
398368d8 28772016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
92e91d03 2878 Steven Munroe <munroesj@linux.vnet.ibm.com>
2879 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
398368d8 2880
2881 * config/rs6000/sfp-exceptions.c: New file to provide exception
2882 support for IEEE 128-bit floating point.
2883
2884 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
2885 floating point hardware support.
2886
2887 * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
2888 point conversions.
2889 * config/rs6000/fixunskfti.c: Likewise.
2890 * config/rs6000/fixkfti.c: Likewise.
2891 * config/rs6000/floatuntikf.c: Likewise.
2892 * config/rs6000/extendkftf2-sw.c: Likewise.
2893 * config/rs6000/trunctfkf2-sw.c: Likewise.
2894
2895 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
2896 128-bit floating point software emulation or use ISA 3.0 hardware
2897 support if it is available.
2898
2899 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
2900 floating point.
2901
2902 * config/rs6000/t-float128: New Makefile fragments to enable
2903 building __float128 emulation support.
2904 * config/rs6000/t-float128-hw: Likewise.
2905
2906 * config/rs6000/float128-sed: New file to convert TF names to KF
2907 names for PowerPC IEEE 128-bit floating point support.
2908
2909 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
2910 when building on 64-bit systems, or when VSX is enabled.
2911 (_FP_W_TYPE): Likewise.
2912 (_FP_WS_TYPE): Likewise.
2913 (_FP_I_TYPE): Likewise.
2914 (TItype): Define on 64-bit systems.
2915 (UTItype): Likewise.
2916 (TI_BITS): Likewise.
2917 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
2918 (_FP_MUL_MEAT_Q): Likewise.
2919 (_FP_DIV_MEAT_D): Likewise.
2920 (_FP_DIV_MEAT_Q): Likewise.
2921 (_FP_NANFRAC_D): Likewise.
2922 (_FP_NANFRAC_Q): Likewise.
2923 (ISA_BIT): Add exception support if we are being compiled on a
2924 machine with hardware floating point support to build the IEEE
2925 128-bit emulation functions.
2926 (FP_EX_INVALID): Likewise.
2927 (FP_EX_OVERFLOW): Likewise.
2928 (FP_EX_UNDERFLOW): Likewise.
2929 (FP_EX_DIVZERO): Likewise.
2930 (FP_EX_INEXACT): Likewise.
2931 (FP_EX_ALL): Likewise.
2932 (__sfp_handle_exceptions): Likewise.
2933 (FP_HANDLE_EXCEPTIONS): Likewise.
2934 (FP_RND_NEAREST): Likewise.
2935 (FP_RND_ZERO): Likewise.
2936 (FP_RND_PINF): Likewise.
2937 (FP_RND_MINF): Likewise.
2938 (FP_RND_MASK): Likewise.
2939 (_FP_DECL_EX): Likewise.
2940 (FP_INIT_ROUNDMODE): Likewise.
2941 (FP_ROUNDMODE): Likewise.
2942
2943 * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
2944 compiler can do __float128.
2945 * configure: Regenerate.
2946
2947 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
2948 VSX code, enable IEEE 128-bit floating point.
2949
25cbccba 29502016-01-05 Olivier Hainque <hainque@adacore.com>
2951
2952 * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
398368d8 2953 specificities.
25cbccba 2954
f1717362 29552016-01-04 Jakub Jelinek <jakub@redhat.com>
2956
2957 Update copyright years.
2958
444b6906 29592015-12-18 Andris Pavenis <andris.pavenis@iki.fi>
2960
2961 * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
398368d8 2962 soft-fp targets.
444b6906 2963
9ff93578 29642015-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
2965
2966 * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
2967 instead of abort to avoid dependency on stdlib.h.
2968
a59e6fa6 29692015-12-09 John David Anglin <danglin@gcc.gnu.org>
2970
2971 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
2972 to initialize call to __dl_fixup once.
2973
7ed86ba5 29742015-12-04 Nick Clifton <nickc@redhat.com>
2975
2976 * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
2977 Allow for the second argument being negative.
2978 * config.host (extra_parts): Define for MSP430. Create separate
2979 libraries for each of the hardware multiply formats.
2980 * config/msp430/lib2hw_mul.S: Build only the multiply routines
2981 that are needed.
2982 * config/msp430/lib2mul.c: Likewise.
2983 * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
2984 Add rules to build hardware multiply libraries.
2985 * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
2986 __mspabi_divul function.
2987 (__mspabi_divllu): New stub function.
2988
2ec62878 29892015-12-01 John David Anglin <danglin@gcc.gnu.org>
2990
2991 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
2992 fixup values if saved GOT address doesn't match runtime address.
2993 (fixup_branch_offset): Reorder list.
2994
08de21a4 29952015-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2996
2997 * Makefile.in (VTV_CFLAGS): New variable.
2998 (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
2999 (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
3000 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
3001 Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
3002 to extra_parts if $enable_vtable_verify = yes.
3003
7824e89a 30042015-11-23 Szabolcs Nagy <szabolcs.nagy@arm.com>
3005
3006 PR target/68059
3007 * config/arm/linux-atomic-64bit.c (__write): Rename to...
3008 (write): ...this and fix the return type.
3009
c0b6819e 30102015-11-19 DJ Delorie <dj@redhat.com>
3011
3012 * config/msp430/lib2hw_mul.S: Fix alignment.
3013
1927fff5 30142015-11-18 Nathan Sidwell <nathan@codesourcery.com>
3015
3016 * config/nvptx/reduction.c: New.
3017 * config/nvptx/t-nvptx (LIB2ADD): Add it.
3018
5bbad880 30192015-11-15 David Edelsohn <dje.gcc@gmail.com>
3020
3021 * config/rs6000/on_exit.c: New file.
3022 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
3023 * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
3024
0c4d7986 30252015-11-11 Claudiu Zissulescu <claziss@synopsys.com>
3026
3027 * config/arc/dp-hack.h: Add support for ARCHS.
3028 * config/arc/ieee-754/divdf3.S: Likewise.
3029 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
3030 * config/arc/ieee-754/muldf3.S: Likewise.
3031 * config/arc/ieee-754/mulsf3.S: Likewise
3032 * config/arc/lib1funcs.S: Likewise
3033 * config/arc/gmon/dcache_linesz.S: Don't read the build register
3034 for ARCv2 cores.
3035 * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
3036 for ARCv2 cores.
3037 * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
3038 * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
3039 cores.
3040
4fa8daf5 30412015-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3042
3043 * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
3044 value.
3045 * config/ia64/crtend.S: Likewise.
3046
d2dc729f 30472015-11-07 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3048
3049 * config/visium/lib2funcs.c (__set_trampoline_parity): Use
3050 __CHAR_BIT__ instead of BITS_PER_UNIT.
3051 * fixed-bit.h: Likewise.
3052 * fp-bit.h: Likewise.
3053 * libgcc2.c (__popcountSI2): Likewise.
3054 (__popcountDI2): Likewise.
3055 * libgcc2.h: Likewise.
3056 * libgcov.h: Likewise.
3057
69de5ea9 30582015-11-07 David Edelsohn <dje.gcc@gmail.com>
3059
3060 * config/rs6000/atexit.c: New file.
3061 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
3062 * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
3063 * config/rs6000/cxa_finalize.c
3064 (catomic_compare_and_exchange_bool_acq): Negate return value.
3065
47ce082f 30662015-10-30 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
3067
3068 * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
3069 (processor_subtypes): Add znver1.
3070 (get_amd_cpu): Detect znver1.
3071
18e98669 30722015-10-29 Christophe Lyon <christophe.lyon@linaro.org>
3073
3074 * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
3075 Include crtfastmath.o.
3076
9003096f 30772015-10-23 Joern Rennecke <joern.rennecke@embecosm.com>
3078
3079 PR libgcc/66883
3080 * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
18e98669 3081
2ee6cfdb 30822015-10-16 Kaushik Phatak <kaushik.phatak@kpit.com>
3083
3084 * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
3085 * config/rl78/divmodsi.S: Update return register to r8.
3086 * config/rl78/divmodhi.S: Update return register to r8,r9.
3087 Branch to main_loop_done_himode to pop registers before return.
3088
92e91d03 30892015-10-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
5814084e 3090
3091 * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
3092 (__cpu_indicator_init): Fix model selection for AMD CPUs.
3093
6c1b774a 30942015-10-05 Kirill Yukhin <kirill.yukhin@intel.com>
3095
3096 * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
3097
e3c15dbe 30982015-10-03 Max Filippov <jcmvbkbc@gmail.com>
3099
3100 * config.host (xtensa*-*-uclinux*): New configuration.
3101
767110dd 31022015-10-02 Kirill Yukhin <kirill.yukhin@intel.com>
3103
61958e92 3104 * config/i386/cpuinfo.c (processor_features): Add
767110dd 3105 FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
3106
b576f5d8 31072015-09-28 Joseph Myers <joseph@codesourcery.com>
3108
3109 * soft-fp/adddf3.c: Update from glibc.
3110 * soft-fp/addsf3.c: Likewise.
3111 * soft-fp/addtf3.c: Likewise.
3112 * soft-fp/divdf3.c: Likewise.
3113 * soft-fp/divsf3.c: Likewise.
3114 * soft-fp/divtf3.c: Likewise.
3115 * soft-fp/double.h: Likewise.
3116 * soft-fp/eqdf2.c: Likewise.
3117 * soft-fp/eqsf2.c: Likewise.
3118 * soft-fp/eqtf2.c: Likewise.
3119 * soft-fp/extenddftf2.c: Likewise.
3120 * soft-fp/extended.h: Likewise.
3121 * soft-fp/extendsfdf2.c: Likewise.
3122 * soft-fp/extendsftf2.c: Likewise.
3123 * soft-fp/extendxftf2.c: Likewise.
3124 * soft-fp/fixdfdi.c: Likewise.
3125 * soft-fp/fixdfsi.c: Likewise.
3126 * soft-fp/fixdfti.c: Likewise.
3127 * soft-fp/fixsfdi.c: Likewise.
3128 * soft-fp/fixsfsi.c: Likewise.
3129 * soft-fp/fixsfti.c: Likewise.
3130 * soft-fp/fixtfdi.c: Likewise.
3131 * soft-fp/fixtfsi.c: Likewise.
3132 * soft-fp/fixtfti.c: Likewise.
3133 * soft-fp/fixunsdfdi.c: Likewise.
3134 * soft-fp/fixunsdfsi.c: Likewise.
3135 * soft-fp/fixunsdfti.c: Likewise.
3136 * soft-fp/fixunssfdi.c: Likewise.
3137 * soft-fp/fixunssfsi.c: Likewise.
3138 * soft-fp/fixunssfti.c: Likewise.
3139 * soft-fp/fixunstfdi.c: Likewise.
3140 * soft-fp/fixunstfsi.c: Likewise.
3141 * soft-fp/fixunstfti.c: Likewise.
3142 * soft-fp/floatdidf.c: Likewise.
3143 * soft-fp/floatdisf.c: Likewise.
3144 * soft-fp/floatditf.c: Likewise.
3145 * soft-fp/floatsidf.c: Likewise.
3146 * soft-fp/floatsisf.c: Likewise.
3147 * soft-fp/floatsitf.c: Likewise.
3148 * soft-fp/floattidf.c: Likewise.
3149 * soft-fp/floattisf.c: Likewise.
3150 * soft-fp/floattitf.c: Likewise.
3151 * soft-fp/floatundidf.c: Likewise.
3152 * soft-fp/floatundisf.c: Likewise.
3153 * soft-fp/floatunditf.c: Likewise.
3154 * soft-fp/floatunsidf.c: Likewise.
3155 * soft-fp/floatunsisf.c: Likewise.
3156 * soft-fp/floatunsitf.c: Likewise.
3157 * soft-fp/floatuntidf.c: Likewise.
3158 * soft-fp/floatuntisf.c: Likewise.
3159 * soft-fp/floatuntitf.c: Likewise.
3160 * soft-fp/gedf2.c: Likewise.
3161 * soft-fp/gesf2.c: Likewise.
3162 * soft-fp/getf2.c: Likewise.
3163 * soft-fp/ledf2.c: Likewise.
3164 * soft-fp/lesf2.c: Likewise.
3165 * soft-fp/letf2.c: Likewise.
3166 * soft-fp/muldf3.c: Likewise.
3167 * soft-fp/mulsf3.c: Likewise.
3168 * soft-fp/multf3.c: Likewise.
3169 * soft-fp/negdf2.c: Likewise.
3170 * soft-fp/negsf2.c: Likewise.
3171 * soft-fp/negtf2.c: Likewise.
3172 * soft-fp/op-1.h: Likewise.
3173 * soft-fp/op-2.h: Likewise.
3174 * soft-fp/op-4.h: Likewise.
3175 * soft-fp/op-8.h: Likewise.
3176 * soft-fp/op-common.h: Likewise.
3177 * soft-fp/quad.h: Likewise.
3178 * soft-fp/single.h: Likewise.
3179 * soft-fp/soft-fp.h: Likewise.
3180 * soft-fp/subdf3.c: Likewise.
3181 * soft-fp/subsf3.c: Likewise.
3182 * soft-fp/subtf3.c: Likewise.
3183 * soft-fp/truncdfsf2.c: Likewise.
3184 * soft-fp/trunctfdf2.c: Likewise.
3185 * soft-fp/trunctfsf2.c: Likewise.
3186 * soft-fp/trunctfxf2.c: Likewise.
3187 * soft-fp/unorddf2.c: Likewise.
3188 * soft-fp/unordsf2.c: Likewise.
3189 * soft-fp/unordtf2.c: Likewise.
3190
0ed0ef69 31912015-09-24 Richard Earnshaw <rearnsha@arm.com>
3192
3193 PR libgcc/67624
3194 * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
3195
80fc7cb7 31962015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3197
3198 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
3199 Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
3200 * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
3201 messages.
3202 (internal_mcount): Likewise.
3203 * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
3204 crt_compile, add CRTSTUFF_T_CFLAGS_S.
3205
ba24ad38 32062015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3207
3208 * configure.ac (libgcc_cv_solaris_crts): New test.
3209 * configure: Regenerate.
3210 * config.in: Regenerate.
3211 * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
3212 * config/gmon-sol2.c: Rename to ...
3213 * config/sol2/gmon.c: ... this.
3214 Include auto-target.h.
3215 (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
3216 * config/t-sol2: Rename to ...
3217 * config/sol2/t-sol2: ... this.
3218 (gmon.o): Reflect renaming.
3219 (crtp.o, crtpg.o): New rules.
3220 * config.host (*-*-solaris2*): Reflect renaming.
3221 Use system CRTs if present.
3222 Remove default CRT case.
3223
c2ab7513 32242015-09-23 John David Anglin <danglin@gcc.gnu.org>
3225
3226 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
3227 (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
3228 __kernel_cmpxchg2.
3229 (__sync_##OP##_and_fetch_##WIDTH): Likewise.
3230 (__sync_val_compare_and_swap_##WIDTH): Likewise.
3231 (__sync_bool_compare_and_swap_##WIDTH): Likewise.
3232 (__sync_lock_test_and_set_##WIDTH): Likewise.
3233 (__sync_lock_release_##WIDTH): Likewise.
3234 (__sync_fetch_and_##OP##_4): Change result to match type of
3235 __kernel_cmpxchg.
3236 (__sync_##OP##_and_fetch_4): Likewise.
3237 (__sync_val_compare_and_swap_4): Likewise.
3238 (__sync_bool_compare_and_swap_4): likewise.
3239 (__sync_lock_test_and_set_4): Likewise.
3240 (__sync_lock_release_4): Likewise.
3241 (FETCH_AND_OP_2): Add long long variants.
3242 (OP_AND_FETCH_2): Likewise.
3243 (COMPARE_AND_SWAP_2 ): Likewise.
3244 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
3245 (SYNC_LOCK_RELEASE_2): Likewise.
3246 (__sync_bool_compare_and_swap_##WIDTH): Correct return.
3247
92e91d03 32482015-09-22 Kirill Yukhin <kirill.yukhin@intel.com>
f96d88a8 3249
3250 * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
3251 FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
3252 FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
3253 (get_available_features): Habdle new features.
3254
672cc719 32552015-09-21 James Bowman <james.bowman@ftdichip.com>
3256
3257 * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
3258 memory layout. Deal correctly with BSS region larger than 32K.
3259 Handle a watchdog reset like a power-on reset. Clean up unused
3260 code.
3261
552a60d3 32622015-09-18 Andrew Dixie <andrewd@gentrack.com>
3263 David Edelsohn <dje.gcc@gmail.com>
3264
3265 * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
3266 * config/rs6000/crtdbase.S: New file.
3267 * config/rs6000/t-aix-cxa: Build crtdbase.o.
3268
f12cf9f4 32692015-09-15 Max Filippov <jcmvbkbc@gmail.com>
3270
3271 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
3272 Add support for call0 ABI.
3273
9d8ce924 32742015-09-13 John David Anglin <danglin@gcc.gnu.org>
3275
3276 * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
3277
196c8383 32782015-09-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
3279
3280 * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
3281 (__GTHREAD_HAS_COND): Likewise.
3282 (__gthread_t): Likewise.
3283 (__gthread_cond_t): Likewise.
3284 (__gthread_time_t): Likewise.
3285 (__GTHREAD_MUTEX_INIT): Likewise.
3286 (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
3287 (__GTHREAD_COND_INIT): Likewise.
3288 (__GTHREAD_COND_INIT_FUNCTION): Likewise.
3289 (__GTHREAD_TIME_INIT): Likewise.
3290 (__gthread_create): Likewise.
3291 (__gthread_join): Likewise.
3292 (__gthread_detach): Likewise.
3293 (__gthread_equal): Likewise.
3294 (__gthread_self): Likewise.
3295 (__gthread_yield): Likewise.
3296 (__gthread_cond_broadcast): Likewise.
3297 (__gthread_cond_signal): Likewise.
3298 (__gthread_cond_wait): Likewise.
3299 (__gthread_cond_timedwait): Likewise.
3300 (__gthread_cond_wait_recursive): Likewise.
3301 (__gthread_cond_destroy): Likewise.
3302 (rtems_gxx_once): Delete.
3303 (rtems_gxx_key_create): Likewise.
3304 (rtems_gxx_key_delete): Likewise.
3305 (rtems_gxx_getspecific): Likewise.
3306 (rtems_gxx_setspecific): Likewise.
3307 (rtems_gxx_mutex_init): Likewise.
3308 (rtems_gxx_mutex_destroy): Likewise.
3309 (rtems_gxx_mutex_lock): Likewise.
3310 (rtems_gxx_mutex_trylock): Likewise.
3311 (rtems_gxx_mutex_unlock): Likewise.
3312 (rtems_gxx_recursive_mutex_init): Likewise.
3313 (rtems_gxx_recursive_mutex_lock): Likewise.
3314 (rtems_gxx_recursive_mutex_trylock): Likewise.
3315 (rtems_gxx_recursive_mutex_unlock): Likewise.
3316 (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
3317 (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
3318 (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
3319 (__gthread_once): Likewise.
3320 (__gthread_key_create): Likewise.
3321 (__gthread_key_delete): Likewise.
3322 (__gthread_getspecific): Likewise.
3323 (__gthread_setspecific): Likewise.
3324 (__gthread_key_t): Use <pthread.h> type.
3325 (__gthread_once_t): Likewise
3326 (__gthread_mutex_t): Use <sys/lock.h> type.
3327 (__gthread_recursive_mutex_t): Likewise
3328 (__gthread_mutex_lock): Use <sys/lock.h> function.
3329 (__gthread_mutex_trylock): Likewise.
3330 (__gthread_mutex_timedlock): Likewise.
3331 (__gthread_mutex_unlock): Likewise.
3332 (__gthread_mutex_destroy): Likewise.
3333 (__gthread_recursive_mutex_lock): Likewise.
3334 (__gthread_recursive_mutex_trylock): Likewise.
3335 (__gthread_recursive_mutex_timedlock): Likewise.
3336 (__gthread_recursive_mutex_unlock): Likewise.
3337 (__gthread_recursive_mutex_destroy): Likewise.
3338
15b21d23 33392015-08-18 Max Filippov <jcmvbkbc@gmail.com>
3340
3341 * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
3342 context->sp instead of context->cfa.
3343
8a596a77 33442015-08-18 Max Filippov <jcmvbkbc@gmail.com>
3345
3346 * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
3347 with unwind-dw2-fde-dip.
3348
863356ea 33492015-08-18 Max Filippov <jcmvbkbc@gmail.com>
3350
3351 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
3352 CALL12 followed by series of ENTRY to spill windowed registers.
3353 (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
3354 instead of making linux spill syscall.
3355
58bb1dbe 33562015-08-14 Yuri Rumyantsev <ysrumyan@gmail.com>
3357
3358 * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
3359 (get_intel_cpu): Likewise.
3360
cba3f034 33612015-08-12 H.J. Lu <hongjiu.lu@intel.com>
3362
3363 * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
3364 (get_intel_cpu): Add Knights Landing support.
3365
aca0ff16 33662015-08-11 Uros Bizjak <ubizjak@gmail.com>
3367
3368 PR target/66954
3369 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
3370 (get_available_features): Handle FEATURE_PCLMUL.
3371
71b19c56 33722015-08-10 H.J. Lu <hongjiu.lu@intel.com>
3373
3374 * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
3375 Broadwell.
3376
ff285c74 33772015-07-22 Uros Bizjak <ubizjak@gmail.com>
3378
3379 PR target/66954
3380 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
3381 (get_available_features): Handle FEATURE_AES.
3382
a46441d0 33832015-07-22 Chung-Lin Tang <cltang@codesourcery.com>
3384
3385 * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
3386 (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
3387
4e985e0f 33882015-07-17 Nathan Sidwell <nathan@codesourcery.com>
3389
3390 * offloadstuff.c: Constify host data.
3391
c780eb05 33922015-07-17 Jan Beulich <jbeulich@suse.com>
3393
3394 * config/t-softfp: Split up "else ifneq".
3395
70425b26 33962015-07-14 Sandra Loosemore <sandra@codesourcery.com>
3397 Cesar Philippidis <cesar@codesourcery.com>
3398 Chung-Lin Tang <cltang@codesourcery.com>
3399
3400 * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
3401 for __nios2_arch__ level.
3402
6c8a3242 34032015-07-13 John Marino <gnugcc@marino.st>
3404
3405 * config/i386/t-dragonfly: New.
3406
d277282f 34072015-07-01 John David Anglin <danglin@gcc.gnu.org>
3408
3409 * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
3410 better match light-weight syscall argument order.
3411 (__kernel_cmpxchg2): Likewise.
3412 Adjust callers.
3413
146896ec 34142015-06-30 H.J. Lu <hongjiu.lu@intel.com>
3415
3416 * config.host: Support i[34567]86-*-elfiamcu target.
3417 * config/t-softfp-sfdftf: New file.
3418 * config/i386/32/t-iamcu: Likewise.
3419 * configure: Regenerated.
3420
58ddcdad 34212015-06-23 James Lemke <jwlemke@codesourcery.com>
3422
3423 libgcc/config/arm/
3424 * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
3425
e9abca4f 34262015-05-27 H.J. Lu <hongjiu.lu@intel.com>
3427
3428 * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
3429
92e91d03 34302015-05-27 John Marino <gnugcc@marino.st>
328976ed 3431
3432 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
3433 md_unwind_header
3434 * config/i386/freebsd-unwind.h: New.
3435
2a8549e0 34362015-05-22 Uros Bizjak <ubizjak@gmail.com>
3437
3438 * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
3439 i386/t-crtfm to tmake_file.
3440 * config/i386/crtfastmath.c (set_fast_math_sse): New function.
3441 (set_fast_math): Use set_fast_math_sse for SSE targets.
3442 * config/i386/t-crtfm: Remove.
3443
b5d18737 34442015-05-21 Alan Modra <amodra@gmail.com>
3445
3446 PR libgcc/66225
3447 * config/rs6000/morestack.S: Remove ".abiversion 1".
3448
ec3f28c9 34492015-05-20 Alan Modra <amodra@gmail.com>
3450
3451 * config/rs6000/morestack.S: New.
3452 * config/rs6000/t-stack-rs6000: New.
3453 * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
3454 to tmake_file.
3455 * generic-morestack.c: Don't build for powerpc 32-bit.
3456
11087c28 34572015-05-19 Eric Botcazou <ebotcazou@adacore.com>
3458
3459 * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
3460 Remove useless endif/ifneq ($(enable_shared),yes) pair.
3461
f29929b5 34622015-05-16 James Bowman <james.bowman@ftdichip.com>
3463
3464 * config.host: FT32 target added.
3465 * config/ft32/*: New files for FT32 target.
3466
ce86a36a 34672015-05-15 Martin Galvan <martin.galvan@tallertechnologies.com>
3468
61958e92 3469 * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
3470 New macros.
3471 * config/arm/ieee754-df.S: Add CFI directives.
3472 * config/arm/ieee754-sf.S: Add CFI directives.
ce86a36a 3473
177cc56c 34742015-05-13 Eric Botcazou <ebotcazou@adacore.com>
3475
3476 * configure.ac: Include config/sjlj.m4.
3477 Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
3478 * config.in: Regenerate.
3479 * configure: Likewise.
3480 * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
3481
a8a5046c 34822015-05-12 Uros Bizjak <ubizjak@gmail.com>
3483
3484 * libgcov-util.c: Add space between string literal and macro name.
3485
1ddaa252 34862015-05-06 Sandra Loosemore <sandra@codesourcery.com>
3487 Chris Jones <chrisj@nvidia.com>
3488 Joshua Conner <jconner@nvidia.com>
3489
3490 * config.host (arm*-*-linux*): Add support for crtfastmath.o.
3491 (arm*-*-uclinux*): Likewise.
3492 (arm*-*-eabi* | arm*-*-rtems*): Likewise.
3493 * config/arm/crtfastmath.c: New file.
3494
162f9d1e 34952014-04-29 Bernd Schmidt <bernds@codesourcery.com>
3496
3497 * Makefile.in (real_host_noncanonical): New variable.
3498 (libsubdir): Use it.
3499 * configure.ac (real_host_noncanonical): Compute. Remove special
3500 case for intelmicemul.
3501 * configure: Regenerate.
3502
005a5ef5 35032015-04-28 Uros Bizjak <ubizjak@gmail.com>
3504
3505 * config/frv/elf-lib.h: New file.
3506 (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
3507 * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
3508 to tm_file.
3509
35102015-04-28 Uros Bizjak <ubizjak@gmail.com>
3511
3512 * config/frv/frvbengin.c: Do not include defaults.h
3513 * config/frv/frvend.c: Ditto.
3514
acff2768 35152015-04-27 Yoshinori Sato <ysato@users.sourceforge.jp>
3516
3517 * config.host: Add h8300-*-linux
3518 * config/h8300/t-linux: New file.
3519 * config/h8300/lib1funs.s: Change symbol prefix.
3520 * config/h8300/sfp-machine.h: 64bit double support.
3521
a2e31d06 35222015-04-22 Gregor Richards <gregor.richards@uwaterloo.ca>
3523 Szabolcs Nagy <szabolcs.nagy@arm.com>
3524
3525 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
3526 Linux if target provides dl_iterate_phdr.
3527
4b5fb32a 35282015-04-17 H.J. Lu <hongjiu.lu@intel.com>
3529
3530 PR target/65612
3531 * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
3532 * config/i386/cpuinfo.c (__cpu_model): Initialize.
3533 (__cpu_indicator_init@GCC_4.8.0): New.
3534 (__cpu_model@GCC_4.8.0): Likewise.
3535 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
3536 -DUSE_ELF_SYMVER.
3537
e98e1692 35382015-04-16 Nick Clifton <nickc@redhat.com>
3539
3540 * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
3541 and __modhi3 functions.
3542 * config/rl78/divmodso.S: Add G14 and G13 versions of the
3543 __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
3544
a0093a4f 35452015-04-15 Chen Gang <gang.chen.5i5j@gmail.com>
3546
3547 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
3548 do-while loop as macro body to avoid warnings.
3549
fb5ccd6d 35502015-04-10 Jakub Jelinek <jakub@redhat.com>
3551 Iain Sandoe <iain@codesourcery.com>
3552
3553 PR target/65351
3554 * configure: Regenerate.
3555
b1b085e0 35562015-04-07 Jakub Jelinek <jakub@redhat.com>
3557 Iain Sandoe <iain@codesourcery.com>
3558
3559 PR target/65351
3560 * configure: Regenerate.
3561
7ca58a65 35622015-03-25 Chung-Lin Tang <cltang@codesourcery.com>
3563
3564 * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
3565
b89c671b 35662015-03-03 Max Filippov <jcmvbkbc@gmail.com>
7ca58a65 3567
b89c671b 3568 Implement call0 ABI for xtensa
3569 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
3570 __xtensa_nonlocal_goto): Don't compile for call0 ABI.
3571 (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
3572 use ret in call0 ABI.
3573 * config/xtensa/t-windowed: New file.
3574 * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
3575 * libgcc/configure: Regenerated.
3576 * libgcc/configure.ac: Check if xtensa target is configured for
3577 windowed ABI and thus needs to use custom unwind code.
3578
69831bb2 35792015-02-12 Jonathan Wakely <jwakely@redhat.com>
3580
3581 PR libgcc/64885
3582 * gthr-single.h: Use __unused__ attribute instead of unused.
3583 * config/gthr-vxworks.h: Likewise.
3584 * config/i386/gthr-win32.h: Likewise.
3585
c905381f 35862015-02-27 Kai Tietz <ktietz@redhat.com>
3587
3588 PR target/65038
3589 * config.in: Regenerated.
3590 * configure: Likewise.
3591 * configure.ac (AC_HEADER_STDC): Added explicit.
3592 (AC_CHECK_HEADERS): Check for default headers plus
3593 for ftw.h header.
3594 * libgcov-util.c (gcov_read_profile_dir): Disable use
3595 of ftw-function, if header is not found.
3596 (ftw_read_file): Likewise.
3597
0853f8db 35982015-02-23 Thomas Schwinge <thomas@codesourcery.com>
3599
3600 PR target/65181
3601 * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
3602 -Dinhibit_libc.
3603
1c55a862 36042015-02-17 Sandra Loosemore <sandra@codesourcery.com>
3605
3606 * config/arm/bpabi.S (test_div_by_zero): Make label names
3607 consistent between thumb2 and arm mode cases. Separate the
3608 signed comparison on the high word of the numerator from the
3609 unsigned comparison on the low word.
3610 * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
3611 signed comparison.
3612
6014aff2 36132015-02-17 Joseph Myers <joseph@codesourcery.com>
3614
3615 * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
3616 and <string.h>.
3617 (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
3618
a698bcaa 36192015-02-10 Rainer Emrich <rainer@emrich-ebersheim.de>
3620
3621 PR gcov-profile/61889
3083dd2f 3622 * libgcov-driver-system.c: undefine clashing macro for mkdir.
a698bcaa 3623
889a65e7 36242015-02-02 Nick Clifton <nickc@redhat.com>
3625
3626 * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
3627 rounding up the fraction.
3628
f3b68f27 36292015-01-31 John David Anglin <danglin@gcc.gnu.org>
3630
3631 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
3632 oldval and newval to const void *. Fix typo.
3633 (FETCH_AND_OP_2): Use __atomic_load_n to load value.
3634 (FETCH_AND_OP_WORD): Likewise.
3635 (OP_AND_FETCH_WORD): Likewise.
3636 (COMPARE_AND_SWAP_2): Likewise.
3637 (__sync_val_compare_and_swap_4): Likewise.
3638 (__sync_lock_test_and_set_4): Likewise.
3639 (SYNC_LOCK_RELEASE_2): Likewise.
3640 Remove support for long long atomic operations.
3641
5be42fa9 36422015-01-27 Caroline Tice <cmtice@google.com>
3643
3644 Committing VTV Cywin/Ming patch for Patrick Wollgast
3645 * Makefile.in: Move rules to build vtv_*.o out of the check
3646 for CUSTOM_CRTSTUFF.
3647 * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
3648 i[34567]86-*-mingw*)
3649 (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
3650 enable_vtable_verify.
3651
45e05b5a 36522015-01-27 Nick Clifton <nickc@redhat.com>
3653
3654 * config/rl78/cmpsi2.S: Use function start and end macros.
3655 (__gcc_bcmp): New function.
3656 * config/rl78/lshrsi3.S: Use function start and end macros.
3657 * config/rl78/mulsi3.S: Add support for G10.
3658 (__mulqi3): New function for G10.
3659 * config/rl78/signbit.S: Use function start and end macros.
3660 * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
3661 fpmath-sf.S.
3662 (LIB2FUNCS_EXCLUDE): Define.
3663 (LIB2FUNCS_ST): Define.
3664 * config/rl78/trampoline.S: Use function start and end macros.
3665 * config/rl78/vregs.h (START_FUNC): New macro.
3666 (START_ANOTHER_FUNC): New macro.
3667 (END_FUNC): New macro.
3668 (END_ANOTHER_FUNC): New macro.
3669 * config/rl78/bit-count.S: New file. Contains assembler
3670 implementations of the bit counting functions: ___clzhi2,
3671 __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
3672 __paritysi2, __popcounthi2 and __popcountsi2.
3673 * config/rl78/fpbit-sf.S: New file. Contains assembler
3674 implementationas of the math functions: __negsf2, __cmpsf2,
3675 __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
3676 __fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
3677 * config/rl78/fpmath-sf.S: New file. Contains assembler
3678 implementations of the math functions: __subsf3, __addsf3,
3679 __mulsf3 and __divsf3
3680
43cbcd84 36812015-01-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3682
3683 * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
3684 Add i386/elf-lib.h to tm_file.
3685 * config/i386/elf-lib.h: Fix comment.
3686 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
3687 && __sun__ && __svr4__]: Remove workaround.
3688
f8956357 36892015-01-25 Allan Sandfeld Jensen <sandfeld@kde.org>
3690
3691 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
3692 FEATURE_BMI2.
3693 (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
3694
1b738d4d 36952015-01-24 H.J. Lu <hongjiu.lu@intel.com>
3696
3697 * config/i386/cpuinfo.c (processor_subtypes): Add
3698 INTEL_COREI7_BROADWELL.
3699 (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
3700 model numbers.
3701
58ca7445 37022015-01-23 Uros Bizjak <ubizjak@gmail.com>
3703
3704 * config/i386/elf-lib.h: New file.
3705 (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
3706 Wrap definition in #ifdef __i386__.
3707 * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
3708 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
3709 (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
3710 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
3711 to tm_file.
3712
d4c9c88d 37132015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
3714
3715 * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
3716 "(char *)" to avoid qualifier warning by 'xgcc' compiling.
3717
c46389f0 37182015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
3719
3720 * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
3721 Update rt_sigframe format and address for current Nios II
3722 Linux conventions.
3723
275d0a7c 37242015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
3725
3726 * config.host (arm*-*-freebsd*): Add new configuration for
3727 arm*-*-freebsd*.
3728 * config/arm/freebsd-atomic.c: New file.
3729 * config/arm/t-freebsd: Likewise.
3730 * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
3731 'PC-relative indirect' OS's.
3732
8992df51 37332015-01-06 Eric Botcazou <ebotcazou@adacore.com>
3734
3735 * config.host: Add Visium support.
3736 * config/visium: New directory.
3737
d353bf18 37382015-01-05 Jakub Jelinek <jakub@redhat.com>
3739
3740 Update copyright years.
3741
78645e70 37422014-12-19 Matthew Fortune <matthew.fortune@imgtec.com>
3743
3744 * config.host: Support mipsisa32r6 and mipsisa64r6.
3745 * config/mips/mips16.S: Do not build for R6.
3746
14cc370b 37472014-12-17 Oleg Endo <olegendo@gcc.gnu.org>
3748
3749 * config/sh/crt.h: New.
3750 * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
3751 symbols.
3752 * config/sh/crt1.S: Likewise.
3753
06f29f53 37542014-12-15 Uros Bizjak <ubizjak@gmail.com>
3755
3756 PR libgcc/63832
3757 * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
3758 func_ptr *dtor_list temporary variable to avoid "array subscript
3759 is above array bounds" warnings.
3760
92e91d03 37612014-12-09 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
4c87b50c 3762
3763 * Makefile.in (with_aix_soname): Define.
3764 * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
3765 * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
3766 * configure: Recreate.
3767
c0235a33 37682014-12-05 Olivier Hainque <hainque@adacore.com>
3769
3770 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
3771 now provided by defaults.h.
3772
273fffd6 37732014-11-30 Oleg Endo <olegendo@gcc.gnu.org>
3774
84cf4824 3775 PR target/55351
273fffd6 3776 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
3777 whether it's defined.
3778
ffbfc7c5 37792014-11-27 Ilya Tocar <ilya.tocar@intel.com>
3780
3781 * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
3782 * config/i386/cpuinfo.c (get_available_features): Detect it.
3783
ae22ef60 37842014-11-27 Tony Wang <tony.wang@arm.com>
3785
3786 * config/arm/lib1funcs.S (FUNC_START): Add conditional section
3787 redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
3788 (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
3789
a532bc30 37902014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
3791
3792 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
3793
e88ebd91 37942014-11-24 John David Anglin <danglin@gcc.gnu.org>
3795
3796 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
3797 instead.
3798
422aeca3 37992014-11-21 Guy Martin <gmsoft@tuxicoman.be>
3800 John David Anglin <danglin@gcc.gnu.org>
3801
3802 * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
3803 (FETCH_AND_OP_2): New. Use for subword and double word operations.
3804 (OP_AND_FETCH_2): Likewise.
3805 (COMPARE_AND_SWAP_2): Likewise.
3806 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
3807 (SYNC_LOCK_RELEASE_2): Likewise.
3808 (SUBWORD_SYNC_OP): Remove.
3809 (SUBWORD_VAL_CAS): Likewise.
3810 (SUBWORD_BOOL_CAS): Likewise.
3811 (FETCH_AND_OP_WORD): Update.
3812 Consistently use signed types.
005a5ef5 3813
a3d93be3 38142014-11-13 Bernd Schmidt <bernds@codesourcery.com>
3815 Thomas Schwinge <thomas@codesourcery.com>
3816 Ilya Verbin <ilya.verbin@intel.com>
3817 Andrey Turetskiy <andrey.turetskiy@intel.com>
3818
3819 * Makefile.in (crtoffloadbegin$(objext)): New rule.
3820 (crtoffloadend$(objext)): Likewise.
3821 * configure: Regenerate.
3822 * configure.ac (accel_dir_suffix): Compute new variable.
3823 (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
3824 if enable_offload_targets is not empty.
3825 * offloadstuff.c: New file.
3826
97a36a5b 38272014-11-13 Nick Clifton <nickc@redhat.com>
3828
3829 * config/rl78/divmodhi.S: Add support for the G10 architecture.
3830 Use START_FUNC and END_FUNC macros to enable linker garbage
3831 collection.
3832 * config/rl78/divmodqi.S: Likewise.
3833 * config/rl78/divmodsi.S: Likewise.
3834 * config/rl78/mulsi3.S: Likewise.
3835 * config/rl78/lib2div.c: Remove G10 functions.
3836 * config/rl78/lib2muls.c: Likewise.
3837 * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
3838 * config/rl78/vregs.h (START_FUNC): New macro.
3839 (END_FUNC): New macro.
3840
f2b55aea 38412014-11-12 Matthew Fortune <matthew.fortune@imgtec.com>
3842
3843 * config/mips/mips16.S: Set .module when supported. Update O32
3844 FP64 calling convention and use for FPXX when possible. Add FPXX
3845 calling convention fallback case.
3846
8ce80784 38472014-11-06 Bernd Schmidt <bernds@codesourcery.com>
3848
3849 * config.host: Handle nvptx-*-*.
3850 * shared-object.mk (as-flags-$o): Define.
3851 ($(base)$(objext), $(base)_s$(objext)): Use it instead of
3852 -xassembler-with-cpp.
3853 * static-object.mk: Identical changes.
3854 * config/nvptx/t-nvptx: New file.
3855 * config/nvptx/crt0.s: New file.
3856 * config/nvptx/free.asm: New file.
3857 * config/nvptx/malloc.asm: New file.
3858 * config/nvptx/realloc.c: New file.
3859
0e36a0d7 38602014-10-30 Joseph Myers <joseph@codesourcery.com>
3861
3862 * Makefile.in (libgcc.map.in): New target.
3863 (libgcc.map): Use libgcc.map.in.
3864 * config/t-softfp (softfp_compat): New variable to be set by
3865 users.
3866 [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
3867 variables.
3868 [$(softfp_compat) = y] (softfp_file_list): Use files in the build
3869 directory.
3870 [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
3871 that use compat symbols and disable all code unless [SHARED].
3872 * config/t-softfp-compat: New file.
3873 * find-symver.awk: New file.
3874 * configure.ac (--with-glibc-version): New configure option.
3875 (ppc_fp_compat): New variable set for powerpc*-*-linux*.
3876 * configure: Regenerate.
3877 * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
3878 soft-float and e500.
3879
d9b5cf5c 38802014-10-29 Joseph Myers <joseph@codesourcery.com>
3881
3882 * config/t-hardfp (hardfp_exclusions): Document new variable for
3883 user to define.
3884 (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
3885 * config/t-softfp (softfp_extras): Document new variable for user
3886 to define.
3887 (softfp_func_list): Add functions from $(softfp_extras).
3888 * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
3889 * config.host (powerpc*-*-linux*): For e500v1, use
3890 rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
3891 t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
3892 and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
3893
2de51200 38942014-10-26 John David Anglin <danglin@gcc.gnu.org>
3895
3896 * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
3897 (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
3898 memory read accesses are ok.
3899
fd1eaa27 39002014-10-25 Joseph Myers <joseph@codesourcery.com>
3901
3902 * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
3903 * configure: Regenerate.
3904 * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
3905 additions to tmake_file. Use t-hardfp-sfdf and t-hardfp instead
3906 of soft-fp for 32-bit classic hard float. Do not use
3907 t-softfp-excl for soft float.
3908
e707b8cc 39092014-10-22 Joseph Myers <joseph@codesourcery.com>
3910
3911 * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
3912 configurations.
3913 * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
3914 Remove variables.
3915
6ce12a35 39162014-10-22 Georg-Johann Lay <avr@gjlay.de>
3917
3918 * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
3919 introduced with 2014-10-21 trunk r216525.
3920
b4e6d2e2 39212014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
92e91d03 3922 Vidya Praveen <vidya.praveen@atmel.com>
3923 Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
3924 Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
3925 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
b4e6d2e2 3926
3927 * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
3928 order.
3929
3930 Updated library functions for AVRTINY arch.
3931 * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
3932 Replaced occurrences of r0/r1 with tmp/zero reg macros.
3933 Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
3934 or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
3935 wsubi/wadi macors.
3936 (__mulsi3_helper): Update stack, preserve callee saved regs and
3937 argument from stack. Restore callee save registers.
3938 (__mulpsi3): Likewise.
3939 (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
3940 __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
6ce12a35 3941 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
b4e6d2e2 3942 AVRTINY.
3943 (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
3944 (__do_copy_data): Added new definition for AVRTINY.
3945 (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
3946 (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
3947 __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
3948 * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
3949 tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
3950 macors.
6ce12a35 3951 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
b4e6d2e2 3952 AVRTINY.
3953
6ce12a35 3954 Fix broken long multiplication on tiny arch.
b4e6d2e2 3955
d9bbc5ef 39562014-10-09 Joseph Myers <joseph@codesourcery.com>
3957
3958 * soft-fp/double.h: Update from glibc.
3959 * soft-fp/eqdf2.c: Likewise.
3960 * soft-fp/eqsf2.c: Likewise.
3961 * soft-fp/eqtf2.c: Likewise.
3962 * soft-fp/extenddftf2.c: Likewise.
3963 * soft-fp/extended.h: Likewise.
3964 * soft-fp/extendsfdf2.c: Likewise.
3965 * soft-fp/extendsftf2.c: Likewise.
3966 * soft-fp/extendxftf2.c: Likewise.
3967 * soft-fp/gedf2.c: Likewise.
3968 * soft-fp/gesf2.c: Likewise.
3969 * soft-fp/getf2.c: Likewise.
3970 * soft-fp/ledf2.c: Likewise.
3971 * soft-fp/lesf2.c: Likewise.
3972 * soft-fp/letf2.c: Likewise.
3973 * soft-fp/op-1.h: Likewise.
3974 * soft-fp/op-2.h: Likewise.
3975 * soft-fp/op-4.h: Likewise.
3976 * soft-fp/op-8.h: Likewise.
3977 * soft-fp/op-common.h: Likewise.
3978 * soft-fp/quad.h: Likewise.
3979 * soft-fp/single.h: Likewise.
3980 * soft-fp/soft-fp.h: Likewise.
3981 * soft-fp/unorddf2.c: Likewise.
3982 * soft-fp/unordsf2.c: Likewise.
3983 * soft-fp/unordtf2.c: Likewise.
3984 * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
3985 * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
3986 * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
3987 * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
3988 * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
3989 * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
3990 * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
3991 * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
3992 * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
3993 * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
3994
26054e0b 39952014-10-08 Rong Xu <xur@google.com>
3996
3997 * libgcov-util.c (read_gcda_file): Fix format.
3998 (find_match_gcov_info): Ditto.
3999 (calculate_2_entries): New.
4000 (compute_one_gcov): Ditto.
4001 (gcov_info_count_all_cold): Ditto.
4002 (gcov_info_count_all_zero): Ditto.
4003 (extract_file_basename): Ditto.
4004 (get_file_basename): Ditto.
4005 (set_flag): Ditto.
4006 (matched_gcov_info): Ditto.
4007 (calculate_overlap): Ditto.
4008 (gcov_profile_overlap): Ditto.
4009 * libgcov-driver.c (compute_summary): Make
4010 it avavilable for external calls.
4011
8a8f3988 40122014-10-06 Rong Xu <xur@google.com>
4013
4014 * Makefile.in: Ditto.
4015 * libgcov-driver.c (gcov_sort_n_vals): New utility function.
4016 (gcov_sort_icall_topn_counter): Ditto.
4017 (gcov_sort_topn_counter_arrays): Ditto.
4018 (dump_one_gcov): Sort indirect_call topn counters.
4019 * libgcov-merge.c (__gcov_merge_icall_topn): New merge
4020 function.
4021 * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
4022 utility function.
4023 (__gcov_indirect_call_topn_profiler): New profiler function.
4024 * libgcov-util.c (__gcov_icall_topn_counter_op): New.
4025 * libgcov.h: New decls.
4026
f230ef81 40272014-10-04 Trevor Saunders <tsaunders@mozilla.com>
4028
4029 * config.host: Remove support for score-*.
4030
0cb69d12 40312014-09-22 Joseph Myers <joseph@codesourcery.com>
4032
4033 * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
4034 (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
4035 (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
4036 __LIBGCC_XF_MANT_DIG__.
4037 (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
4038 (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
4039 __LIBGCC_TF_MANT_DIG__.
4040 * libgcc2.c (NOTRUNC): Define in terms of
4041 __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
4042 * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
4043
acbb28e9 40442014-09-22 Joseph Myers <joseph@codesourcery.com>
4045
4046 PR target/63312
4047 * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
4048 New macros.
4049
d0eb4a95 40502014-09-22 Hans-Peter Nilsson <hp@axis.com>
4051
4052 * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
4053 override USE_PT_GNU_EH_FRAME.
4054 [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
4055 check USE_EH_FRAME_REGISTRY_ALWAYS against
4056 __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
4057 * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
4058 variable for substituted force_explicit_eh_registry.
4059 (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
4060 * configure.ac (explicit-exception-frame-registration):
4061 New AC_ARG_ENABLE.
4062 * configure: Regenerate.
4063
6c352a95 40642014-09-19 Olivier Hainque <hainque@adacore.com>
4065
4066 * config.host (powerpc-wrs-vxworksmils): New configuration,
4067 same as vxworksae.
4068
168dfbf0 40692014-09-18 Joseph Myers <joseph@codesourcery.com>
4070
4071 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
4072
ca6c7c2e 40732014-09-18 Joseph Myers <joseph@codesourcery.com>
4074
4075 * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
4076 bits not set bits as indicating trapping exceptions.
4077
bc587267 40782014-09-17 Nathan sidwell <nathan@acm.org>
4079
4080 * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
4081 (LIBGCOV_DRIVER): ... here.
4082 * libgcov-driver.c (gcov_master): New.
4083 (gcov_exit): Remove from master chain.
4084 (__gcov_init): Add to master chain if version compatible. Don't
4085 clear the version.
4086 * libgcov_interface (__gcov_flust): Call gcov_dump_int.
4087 (gcov_reset_int): Clear master chain, if compatible.
4088 (gcov_dump_int): New internal interface. Dump master chain, if
4089 compatible.
4090 (gcov_dump): Alias for gcov_dump_int.
4091 * libgcov.h (struct gcov_root): Add next and prev fields.
4092 (struct gcov_master): New struct.
4093 (__gcov_master): New.
4094 (gcov_dump_int): Declare.
4095
0624d0c7 40962014-09-17 Olivier Hainque <hainque@adacore.com>
4097
4098 * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
4099 and crtbegin.o + crtend.o to extra_parts.
4100
d5957f0d 41012014-09-12 Joseph Myers <joseph@codesourcery.com>
4102
4103 * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
4104 __LIBGCC_HAS_SF_MODE__.
4105 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
4106 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
4107 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
4108 * config/libbid/bid_gcc_intrinsics.h
4109 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
4110 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
4111 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
4112 * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
4113 (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
4114 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
4115
986b9a67 41162014-09-11 Georg-Johann Lay <avr@gjlay.de>
4117
4118 PR target/63223
4119 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
4120 and R24 as needed. Make work for all devices and .text locations.
4121 (__do_global_ctors, __do_global_dtors): Use word addresses.
4122 (__tablejump__, __tablejump_elpm__): Remove functions.
4123 * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
4124 Add _tablejump2.
4125 (XICALL, XIJMP): New macros.
4126
8f908dc5 41272014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
4128 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
4129
4130 * config.host (aarch64*): Include crtfastmath.o and
4131 t-crtfm.
4132 * config/aarch64/crtfastmath.c: New file.
4133
f67c2dde 41342014-09-08 Trevor Saunders <tsaunders@mozilla.com>
4135
4136 * config.host: Remove picochip support.
4137 * config/picochip/adddi3.S: Remove.
4138 * config/picochip/ashlsi3.S: Remove.
4139 * config/picochip/ashlsi3.c: Remove.
4140 * config/picochip/ashrsi3.S: Remove.
4141 * config/picochip/ashrsi3.c: Remove.
4142 * config/picochip/clzsi2.S: Remove.
4143 * config/picochip/cmpsi2.S: Remove.
4144 * config/picochip/divmod15.S: Remove.
4145 * config/picochip/divmodhi4.S: Remove.
4146 * config/picochip/divmodsi4.S: Remove.
4147 * config/picochip/lib1funcs.S: Remove.
4148 * config/picochip/longjmp.S: Remove.
4149 * config/picochip/lshrsi3.S: Remove.
4150 * config/picochip/lshrsi3.c: Remove.
4151 * config/picochip/parityhi2.S: Remove.
4152 * config/picochip/popcounthi2.S: Remove.
4153 * config/picochip/setjmp.S: Remove.
4154 * config/picochip/subdi3.S: Remove.
4155 * config/picochip/t-picochip: Remove.
4156 * config/picochip/ucmpsi2.S: Remove.
4157 * config/picochip/udivmodhi4.S: Remove.
4158 * config/picochip/udivmodsi4.S: Remove.
4159
b660d3c6 41602014-09-08 Joseph Myers <joseph@codesourcery.com>
4161
4162 * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
4163 (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
4164 (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
4165 (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
4166 * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
4167 error if not defined and LIBGCC2_HAS_SF_MODE is defined.
4168 (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
4169 defined and LIBGCC2_HAS_DF_MODE is defined.
4170 (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
4171 defined and LIBGCC2_HAS_XF_MODE is defined.
4172 (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
4173 defined and LIBGCC2_HAS_TF_MODE is defined.
4174
2aeea855 41752014-09-08 Joseph Myers <joseph@codesourcery.com>
4176
4177 * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
4178 and ROUND_TOWARDS_ZERO conditionals.
4179
a91625a6 41802014-09-07 Nathan sidwell <nathan@acm.org>
4181
4182 * libgcov-interface.c (STRONG_ALIAS): Rename to ...
4183 (ALIAS_weak): ... here. Use forwarding function. Adjust uses.
4184
325b8c3c 41852014-09-05 Joseph Myers <joseph@codesourcery.com>
4186
4187 * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
4188 * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
4189 uses to __LIBGCC_STACK_POINTER_REGNUM__.
4190 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
4191 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4192 * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
4193 Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4194 * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
4195 uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
4196 (DWARF_FRAME_REGISTERS): Change all uses to
4197 __LIBGCC_DWARF_FRAME_REGISTERS__.
4198 (EH_RETURN_STACKADJ_RTX): Change all uses to
4199 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
4200 * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
4201 __LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
4202 * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
4203 use to __LIBGCC_EH_FRAME_SECTION_NAME__.
4204 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
4205 * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
4206 to __LIBGCC_EH_FRAME_SECTION_NAME__.
4207 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
4208 * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
4209 __LIBGCC_STACK_POINTER_REGNUM__.
4210 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
4211 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4212 * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
4213 to __LIBGCC_STACK_POINTER_REGNUM__.
4214 * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
4215 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4216 * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
4217 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4218 * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
4219 Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4220 (STACK_POINTER_REGNUM): Change all uses to
4221 __LIBGCC_STACK_POINTER_REGNUM__.
4222 * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
4223 use to __LIBGCC_STACK_POINTER_REGNUM__.
4224 * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
4225 uses to __LIBGCC_STACK_POINTER_REGNUM__.
4226 * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
4227 to __LIBGCC_DWARF_FRAME_REGISTERS__.
4228 * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
4229 to __LIBGCC_DWARF_FRAME_REGISTERS__.
4230 * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
4231 to __LIBGCC_STACK_POINTER_REGNUM__.
4232 * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
4233 Remove conditional definition.
4234 * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
4235 __LIBGCC_TEXT_SECTION_ASM_OP__.
4236 (EH_FRAME_SECTION_NAME): Change all uses to
4237 __LIBGCC_EH_FRAME_SECTION_NAME__.
4238 (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
4239 __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
4240 (CTORS_SECTION_ASM_OP): Change all uses to
4241 __LIBGCC_CTORS_SECTION_ASM_OP__.
4242 (DTORS_SECTION_ASM_OP): Change all uses to
4243 __LIBGCC_DTORS_SECTION_ASM_OP__.
4244 (JCR_SECTION_NAME): Change all uses to
4245 __LIBGCC_JCR_SECTION_NAME__.
4246 (INIT_SECTION_ASM_OP): Change all uses to
4247 __LIBGCC_INIT_SECTION_ASM_OP__.
4248 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
4249 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
4250 * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
4251 __LIBGCC_STACK_GROWS_DOWNWARD__.
4252 * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
4253 __LIBGCC_INIT_SECTION_ASM_OP__.
4254 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
4255 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
4256 (EH_FRAME_SECTION_NAME): Change all uses to
4257 __LIBGCC_EH_FRAME_SECTION_NAME__.
4258 * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
4259 definitions. Change all uses to
4260 __LIBGCC_VTABLE_USES_DESCRIPTORS__.
4261 * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
4262 __LIBGCC_STACK_GROWS_DOWNWARD__.
4263 (DWARF_FRAME_REGISTERS): Change all uses to
4264 __LIBGCC_DWARF_FRAME_REGISTERS__.
4265 (EH_RETURN_STACKADJ_RTX): Change all uses to
4266 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
4267 * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
4268 definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
4269 * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
4270 __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
4271 (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
4272
b12d2330 42732014-09-02 Nathan sidwell <nathan@acm.org>
4274
4275 * libgcov-interface.c (STRONG_ALIAS): New.
4276 (__gcov_flush): Call __gcov_reset_int.
4277 (__gcov_reset): Strong alias for ...
4278 (__gcov_reset_ing): ... this renamed hidden version.
4279 * libgcov.h (__gcov_reset_int): New declaration.
4280
827d5daf 42812014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
4282
1db4f54b 4283 * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
4284 call from here...
4285 * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
4286 (__dso_handle): Define on Cygwin.
4287 * config/i386/t-cygming (crtbeginS.o): New rule.
4288 * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
4289
827d5daf 4290 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
4291 declaration syntax.
4292
e3108d46 42932014-08-13 Steve Ellcey <sellcey@mips.com>
4294
4295 * crtstuff.c: Undef caddr_t.
4296
0898fffa 42972014-08-12 Steve Ellcey <sellcey@mips.com>
4298
4299 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
4300
859fa1a9 43012014-08-07 Nathan Sidwell <nathan@acm.org>
4302
4303 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
4304 (LIBGCOV_DRIVER): ... to here.
4305 * libgcov.h (gcov_do_dump): New #define.
4306 (struct gcov_root): New.
4307 (__gcov_root): New declaration.
4308 (__gcov_dump_one): Declare.
4309 * libgcov-driver.c (gcov_list, gcov_dump_complete,
4310 run_accounted): Delete.
4311 (gcov_compute_histogram): Add LIST argument, adjust.
4312 (compute_summary): Adjust gcov_compute_histogram call.
4313 (gcov_do_dump): Not hidden, static in libgcov.
4314 (gcov_clear): Move to interface.c.
4315 (__gcov_dump_one): New, broken out of ...
4316 (gcov_exit): ... here. Make static.
4317 (__gcov_root): New.
4318 (__gcov_init): Adjust.
4319 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
4320 declarations.
4321 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
4322 (gcov_clear): Moved from driver.c. Add LIST argument.
4323 (__gcov_reset): Adjust for changed interfaces.
4324 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
4325
3fa2798a 43262014-08-04 Rohit <rohitarulraj@freescale.com>
4327
4328 PR target/60102
4329 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
6d88799a 4330 based on change in SPE high register numbers and 3 HTM registers.
3fa2798a 4331
cb3ea3de 43322014-08-01 Nathan Sidwell <nathan@acm.org>
4333
4334 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
4335 LIBGCOV_INTERFACE): Reformat.
4336 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
4337 IN_GCOV_TOOL.
4338 * libgcov-interface.c: Reformat some comments.
4339 (__gcov_flush_mx): Add declaration. Tidy up definition.
4340
bfd88f52 43412014-07-31 Alan Modra <amodra@gmail.com>
4342 Peter Bergner <bergner@vnet.ibm.com>
4343
4344 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
4345 (pack_ldouble): New function.
4346 (__gcc_qadd): Use it.
4347 (__gcc_qmul): Likewise.
4348 (__gcc_qdiv): Likewise.
4349 (__gcc_qneg): Likewise.
4350 (__gcc_stoq): Likewise.
4351 (__gcc_dtoq): Likewise.
4352
bcd3133e 43532014-07-30 J. D. Johnston <jjohnst@us.ibm.com>
4354
4355 * config/s390/tpf-unwind.h: Include <stdbool.h>.
4356 (__tpf_eh_return): Add original return address as second parameter.
4357 Handle cases where unwinder routines were called directly, instead
4358 of from within the C++ library.
4359
1186f97a 43602014-07-29 Nathan Sidwell <nathan@acm.org>
4361
4362 * libgcov.h: Move renaming of entry points to lib gcov specific
4363 portion.
4364 (gcov_do_dump): New rename.
4365 (gcov_rewrite): Remove inline, make HIDDEN.
4366 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
4367 (gcov_exit_compute_summary): Rename to ...
4368 (compute_summary): ... here. Add LIST argument.
4369 (gcov_exit_merge_gcda): Rename to ...
4370 (merge_one_data): ... here.
4371 (gcov_exit_write_gcda): Rename to ...
4372 (write_one_data): ... here.
4373 (gcov_exit_merge_summary): Rename to ...
4374 (merge_summary): Add RUN_COUNTED argument.
4375 (gcov_exit_dump_gcov): Rename to ...
4376 (dump_one_gcov): Add RUN_COUNTED argument.
4377 (gcov_do_dump): New function, broken out of ...
4378 (gcov_exit): ... here. Call it.
4379
ab0c4d2e 43802014-07-27 Anthony Green <green@moxielogic.com>
4381
4382 * config.host: Add moxiebox configuration suppport.
4383
6401b74d 43842014-07-27 Nathan Sidwell <nathan@acm.org>
4385
4386 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
4387 (struct gcov_filename): ... here. Include buffer and max length
4388 fields.
4389 (gcov_max_filename): Remove.
4390 (gi_filename): Remove.
4391 (gcov_exit_compute_summary): Compute max filename here.
4392 (gcov_exit_merge_gcda): Add filename parm, adjust.
4393 (gcov_exit_merge_summary): Likewise.
4394 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
4395 (gcov_exit): Likewise.
4396 (__gcov_init): Don't calculate max length here.
4397 * libgcov_util.c (max_filename_len): Remove.
4398 (read_gcda_file): Don't calculate max length here.
4399 (gcov_read_profile_dir): Don't propagate here.
4400 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
4401 struct gcov_filename changes.
4402 (gcov_exit_open_gcda_file): Likewise.
4403
0f768e5f 44042014-07-25 Nathan Sidwell <nathan@acm.org>
4405
4406 * libgcov-driver.c (set_gcov_dump_complete,
4407 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
4408 functions polluting user's namespace.
4409 (gcov_exit): Set variable directly.
4410 (gcov_clear): Reset variable directly.
4411 * libgcov-interface.c (get_gcov_dymp_complete,
4412 reset_gov_dump_complete): Remove declarations.
4413 (__gcov_reset, __gcov_dump): Don't call them.
4414
2b333d82 44152014-07-24 DJ Delorie <dj@redhat.com>
4416
4417 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
0f768e5f 4418 (__gcc_deregister_frame): Move logic to detect deregister function
4419 to ...
4420 (__gcc_register_frame): here, so it's consistent with the register
4421 logic.
2b333d82 4422
145d88ea 44232014-07-23 Nathan Sidwell <nathan@acm.org>
4424
4425 * libgcov-driver.c (set_gcov_list): Remove.
4426 (gcov_list): Make non-static in GCOV_TOOL.
4427 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
4428
307c2567 44292014-07-17 John David Anglin <danglin@gcc.gnu.org>
4430
4431 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
4432 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
4433 Don't use SYNC_LOCK_RELEASE for int type.
4434
3dc22a01 44352014-07-14 Richard Biener <rguenther@suse.de>
4436
4437 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
4438
a60d8a99 44392014-07-11 Rong Xu <xur@google.com>
4440
4441 * libgcov-util.c (gcov_max_filename): Fix declartion.
4442
e76f6040 44432014-07-10 Rong Xu <xur@google.com>
4444
4445 Add gcov-tool: an offline gcda profile processing tool
4446 Support.
4447 * libgcov-driver.c (gcov_max_filename): Make available
4448 to gcov-tool.
4449 * libgcov-merge.c (__gcov_merge_add): Replace
4450 gcov_read_counter() with a Macro.
4451 (__gcov_merge_ior): Ditto.
4452 (__gcov_merge_time_profile): Ditto.
4453 (__gcov_merge_single): Ditto.
4454 (__gcov_merge_delta): Ditto.
4455 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
4456 in the utility functions.
4457 (set_fn_ctrs): Utility function for reading gcda files to in-memory
4458 gcov_list object link lists.
4459 (tag_function): Ditto.
4460 (tag_blocks): Ditto.
4461 (tag_arcs): Ditto.
4462 (tag_lines): Ditto.
4463 (tag_counters): Ditto.
4464 (tag_summary): Ditto.
4465 (read_gcda_finalize): Ditto.
4466 (read_gcda_file): Ditto.
4467 (ftw_read_file): Ditto.
4468 (read_profile_dir_init): Ditto.
4469 (gcov_read_profile_dir): Ditto.
4470 (gcov_read_counter_mem): Ditto.
4471 (gcov_get_merge_weight): Ditto.
4472 (merge_wrapper): A wrapper function that calls merging handler.
4473 (gcov_merge): Merge two gcov_info objects with weights.
4474 (find_match_gcov_info): Find the matched gcov_info in the list.
4475 (gcov_profile_merge): Merge two gcov_info object lists.
4476 (__gcov_add_counter_op): Process edge profile counter values.
4477 (__gcov_ior_counter_op): Process IOR profile counter values.
4478 (__gcov_delta_counter_op): Process delta profile counter values.
4479 (__gcov_single_counter_op): Process single profile counter values.
4480 (fp_scale): Callback function for float-point scaling.
005a5ef5 4481 (int_scale): Callback function for integer fraction scaling.
e76f6040 4482 (gcov_profile_scale): Scaling profile counters.
4483 (gcov_profile_normalize): Normalize profile counters.
4484 * libgcov.h: Add headers and functions for gcov-tool use.
4485 (gcov_get_counter): New.
4486 (gcov_get_counter_target): Ditto.
4487 (struct gcov_info): Make the functions field mutable in gcov-tool
4488 compilation.
4489
761d3cae 44902014-06-23 Kai Tietz <ktietz@redhat.com>
4491
4492 PR libgcc/61585
4493 * unwind-seh.c (_Unwind_GetGR): Check for proper
4494 index range.
4495 (_Unwind_SetGR): Likewise.
4496
b4187486 44972014-05-22 Nick Clifton <nickc@redhat.com>
4498
4499 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
4500 -mhwmult=none.
4501
f1919901 45022014-05-22 Teresa Johnson <tejohnson@google.com>
4503
4504 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
4505 include.
4506
463553db 45072014-05-20 John Marino <gnugcc@marino.st>
4508
4509 * config.host (*-*-dragonfly*): New target.
4510 * crtstuff.c: Make dl_iterate_support generic on *bsd.
4511 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
4512 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
4513 * config/i386/dragonfly-unwind.h: New.
4514
17611fd9 45152014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
4516
4517 PR libgcc/60166
4518 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
4519 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
4520
b061dab2 45212014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
4522
4523 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
4524 implementation.
4525
b81ef88d 45262014-05-12 Georg-Johann Lay <avr@gjlay.de>
4527
4528 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
4529
d71975a6 45302014-05-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4531
4532 PR libgcc/61097
4533 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
4534 if --enable-shared.
4535
d3c4b980 45362014-04-30 Bernd Edlinger <bernd.edlinger@hotmail.de>
4537
4538 Work around for current cygwin32 build problems.
4539 * config/i386/cygming-crtbegin.c (__register_frame_info,
4540 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
4541 functions only for 64-bit systems.
4542
1f912f03 45432014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4544
4545 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
4546 (sigill_caught, sigill_hdlr): Remove.
4547
3efb5d22 45482014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4549
4550 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
4551 check.
4552 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
4553 Solaris 9 single-threaded support.
4554 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
4555 Solaris 9 single-threaded support. Add call_user_handler code
4556 sequences.
4557 (sparc_is_sighandler): Likewise.
4558
368b5b2c 45592014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4560
4561 * config.host: Append t-floattodi to tmake_file depending on
4562 host_address.
4563
0cdefccf 45642014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
4565
c7285b71 4566 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
0cdefccf 4567
e5d692d7 45682014-03-10 Uros Bizjak <ubizjak@gmail.com>
4569
4570 PR libgcc/60472
4571 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
06f29f53 4572 variable to avoid "array subscript is above array bounds" warnings.
e5d692d7 4573 Use __builtin_expect when checking *jcr_list for NULL.
4574
ec5f5503 45752014-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4576
4577 PR libgcc/59339
4578 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
4579 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
4580 vtv_*.o to extra_parts if enable_vtable_verify.
4581
6dd4126d 45822014-03-06 Nick Clifton <nickc@redhat.com>
4583
4584 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
4585 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
4586
c63fabc4 45872014-02-28 Joey Ye <joey.ye@arm.com>
4588
4589 PR libgcc/60166
4590 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
4591 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
4592 Set to zero.
4593
2da35515 45942014-02-24 Walter Lee <walt@tilera.com>
4595
4596 * config.host: Support "tilegx*" and "tilepro*" triplets.
4597 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
4598 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
4599
73e15dfc 46002014-02-20 Sandra Loosemore <sandra@codesourcery.com>
4601 Chung-Lin Tang <cltang@codesourcery.com>
4602
4603 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
4604 * config/nios2/crti.S: Remove .file directive.
4605 * config/nios2/crtn.S: Likewise.
4606
db5ce3d9 46072014-02-18 Kai Tietz <ktietz@redhat.com>
4608 Jonathan Schleifer <js@webkeks.org>
4609
4610 PR objc/56870
4611 * unwind-seh.c (_GCC_specific_handler): Pass proper
4612 value to unwind-handler.
4613
8f687340 46142014-02-12 Joseph Myers <joseph@codesourcery.com>
4615
4616 * soft-fp/adddf3.c: Update from glibc.
4617 * soft-fp/addsf3.c: Likewise.
4618 * soft-fp/addtf3.c: Likewise.
4619 * soft-fp/divdf3.c: Likewise.
4620 * soft-fp/divsf3.c: Likewise.
4621 * soft-fp/divtf3.c: Likewise.
4622 * soft-fp/double.h: Likewise.
4623 * soft-fp/eqdf2.c: Likewise.
4624 * soft-fp/eqsf2.c: Likewise.
4625 * soft-fp/eqtf2.c: Likewise.
4626 * soft-fp/extenddftf2.c: Likewise.
4627 * soft-fp/extended.h: Likewise.
4628 * soft-fp/extendsfdf2.c: Likewise.
4629 * soft-fp/extendsftf2.c: Likewise.
4630 * soft-fp/extendxftf2.c: Likewise.
4631 * soft-fp/fixdfdi.c: Likewise.
4632 * soft-fp/fixdfsi.c: Likewise.
4633 * soft-fp/fixdfti.c: Likewise.
4634 * soft-fp/fixsfdi.c: Likewise.
4635 * soft-fp/fixsfsi.c: Likewise.
4636 * soft-fp/fixsfti.c: Likewise.
4637 * soft-fp/fixtfdi.c: Likewise.
4638 * soft-fp/fixtfsi.c: Likewise.
4639 * soft-fp/fixtfti.c: Likewise.
4640 * soft-fp/fixunsdfdi.c: Likewise.
4641 * soft-fp/fixunsdfsi.c: Likewise.
4642 * soft-fp/fixunsdfti.c: Likewise.
4643 * soft-fp/fixunssfdi.c: Likewise.
4644 * soft-fp/fixunssfsi.c: Likewise.
4645 * soft-fp/fixunssfti.c: Likewise.
4646 * soft-fp/fixunstfdi.c: Likewise.
4647 * soft-fp/fixunstfsi.c: Likewise.
4648 * soft-fp/fixunstfti.c: Likewise.
4649 * soft-fp/floatdidf.c: Likewise.
4650 * soft-fp/floatdisf.c: Likewise.
4651 * soft-fp/floatditf.c: Likewise.
4652 * soft-fp/floatsidf.c: Likewise.
4653 * soft-fp/floatsisf.c: Likewise.
4654 * soft-fp/floatsitf.c: Likewise.
4655 * soft-fp/floattidf.c: Likewise.
4656 * soft-fp/floattisf.c: Likewise.
4657 * soft-fp/floattitf.c: Likewise.
4658 * soft-fp/floatundidf.c: Likewise.
4659 * soft-fp/floatundisf.c: Likewise.
4660 * soft-fp/floatunditf.c: Likewise.
4661 * soft-fp/floatunsidf.c: Likewise.
4662 * soft-fp/floatunsisf.c: Likewise.
4663 * soft-fp/floatunsitf.c: Likewise.
4664 * soft-fp/floatuntidf.c: Likewise.
4665 * soft-fp/floatuntisf.c: Likewise.
4666 * soft-fp/floatuntitf.c: Likewise.
4667 * soft-fp/gedf2.c: Likewise.
4668 * soft-fp/gesf2.c: Likewise.
4669 * soft-fp/getf2.c: Likewise.
4670 * soft-fp/ledf2.c: Likewise.
4671 * soft-fp/lesf2.c: Likewise.
4672 * soft-fp/letf2.c: Likewise.
4673 * soft-fp/muldf3.c: Likewise.
4674 * soft-fp/mulsf3.c: Likewise.
4675 * soft-fp/multf3.c: Likewise.
4676 * soft-fp/negdf2.c: Likewise.
4677 * soft-fp/negsf2.c: Likewise.
4678 * soft-fp/negtf2.c: Likewise.
4679 * soft-fp/op-1.h: Likewise.
4680 * soft-fp/op-2.h: Likewise.
4681 * soft-fp/op-4.h: Likewise.
4682 * soft-fp/op-8.h: Likewise.
4683 * soft-fp/op-common.h: Likewise.
4684 * soft-fp/quad.h: Likewise.
4685 * soft-fp/single.h: Likewise.
4686 * soft-fp/soft-fp.h: Likewise.
4687 * soft-fp/subdf3.c: Likewise.
4688 * soft-fp/subsf3.c: Likewise.
4689 * soft-fp/subtf3.c: Likewise.
4690 * soft-fp/truncdfsf2.c: Likewise.
4691 * soft-fp/trunctfdf2.c: Likewise.
4692 * soft-fp/trunctfsf2.c: Likewise.
4693 * soft-fp/trunctfxf2.c: Likewise.
4694 * soft-fp/unorddf2.c: Likewise.
4695 * soft-fp/unordsf2.c: Likewise.
4696 * soft-fp/unordtf2.c: Likewise.
4697 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
4698 macro.
4699 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4700 Likewise.
4701 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4702 Likewise.
4703 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4704 Likewise.
4705 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4706 Likewise.
4707 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4708 Likewise.
4709 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4710 Likewise.
4711 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4712 Likewise.
4713 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4714 Likewise.
4715 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4716 Likewise.
4717 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4718 Likewise.
4719 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4720 Likewise.
4721 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4722 Likewise.
4723 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
4724 Likewise.
4725 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
4726 Likewise.
4727 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4728 Likewise.
4729
fc1cd012 47302014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4731
4732 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
4733 cannot be represented.
4734 * config/s390/32/_fixsfdi.c: Likewise.
4735 * config/s390/32/_fixtfdi.c: Likewise.
4736 * config/s390/32/_fixunsdfdi.c: Likewise.
4737 * config/s390/32/_fixunssfdi.c: Likewise.
4738 * config/s390/32/_fixunstfdi.c: Likewise.
4739
4b366ca9 47402014-02-07 Richard Sandiford <rdsandiford@googlemail.com>
4741
4742 * configure.ac (libgcc_cv_mips_hard_float): New.
4743 * configure: Regenerate.
4744 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
4745 t-softfp-sfdf for hard-float targets.
4746 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
4747 (softfp_float_modes, softfp_int_modes, softfp_extensions)
4748 (softfp_truncations, softfp_exclude_libgcc2): New.
4749 * config/t-hardfp: New file.
4750 * config/t-hardfp-sfdf: Likewise.
4751 * config/hardfp.c: Likewise.
4752
896dc54c 47532014-02-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4754
4755 * config.host: Include t-floattodi also for s390x.
4756 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
4757 * config/s390/32/_fixsfdi.c: Likewise.
4758 * config/s390/32/_fixtfdi.c: Likewise.
4759 * config/s390/32/_fixunsdfdi.c: Likewise.
4760 * config/s390/32/_fixunssfdi.c: Likewise.
4761 * config/s390/32/_fixunstfdi.c: Likewise.
4762
48118d02 47632014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4764
4765 PR target/59788
4766 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
4767 (install-libgcc-unwind-map-forbuild): New target.
4768 (all): Depend on install-libgcc-unwind-map-forbuild.
4769 (install-libgcc-unwind-map): New target.
4770 (install): Depend on install-libgcc-unwind-map.
4771
1fa97c89 47722014-02-02 Sandra Loosemore <sandra@codesourcery.com>
4773
4774 * config/nios2/crti.S (_init): Initialize GOT pointer from
4775 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
4776
9bcbf352 47772014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
4778
4779 * configure.ac: Check __mips64 when setting host_address.
4780 * configure: Regenerate.
4781 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
4782 mips/t-mips64 and t-softfp.
4783 (mips*-*-linux*): Don't add mips/t-tpbit.
4784 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
4785 (DPBIT, DPBIT_CFLAGS): Delete.
4786 * config/mips/sfp-machine.h: New file.
4787 * config/mips/t-mips64: Likewise.
4788 * config/mips/t-softfp-tf: Likewise.
4789 * config/mips/t-tpbit: Delete.
4790
81b83e46 47912014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
4792
4793 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
4794 as long long.
4795
41766a5f 47962014-01-25 Walter Lee <walt@tilera.com>
4797
4798 * config/tilepro/atomic.c: Include tconfig.h. Don't include
4799 config.h or system.h.
4800 (bool) Define.
4801
c8d04645 48022014-01-25 Walter Lee <walt@tilera.com>
4803
4804 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
4805 (post_atomic_barrier): Ditto.
4806 (__fetch_and_do): New macro.
4807 (__atomic_fetch_and_do): Use __fetch_and_do.
4808 (__sync_fetch_and_do): New macro.
4809 (__sync_fetch_and_add_4): New function.
4810 (__sync_fetch_and_sub_4): New function.
4811 (__sync_fetch_and_or_4): New function.
4812 (__sync_fetch_and_and_4): New function.
4813 (__sync_fetch_and_xor_4): New function.
4814 (__sync_fetch_and_nand_4): New function.
4815 (__sync_fetch_and_add_8): New function.
4816 (__sync_fetch_and_sub_8): New function.
4817 (__sync_fetch_and_or_8): New function.
4818 (__sync_fetch_and_and_8): New function.
4819 (__sync_fetch_and_xor_8): New function.
4820 (__sync_fetch_and_nand_8): New function.
4821 (__do_and_fetch): New macro.
4822 (__atomic_do_and_fetch): Use __do_and_fetch.
4823 (__sync_do_and_fetch): New macro.
4824 (__sync_add_and_fetch_4): New function.
4825 (__sync_sub_and_fetch_4): New function.
4826 (__sync_or_and_fetch_4): New function.
4827 (__sync_and_and_fetch_4): New function.
4828 (__sync_xor_and_fetch_4): New function.
4829 (__sync_nand_and_fetch_4): New function.
4830 (__sync_add_and_fetch_8): New function.
4831 (__sync_sub_and_fetch_8): New function.
4832 (__sync_or_and_fetch_8): New function.
4833 (__sync_and_and_fetch_8): New function.
4834 (__sync_xor_and_fetch_8): New function.
4835 (__sync_nand_and_fetch_8): New function.
4836 (__sync_exchange_methods): New macro.
4837 (__sync_val_compare_and_swap_4): New function.
4838 (__sync_bool_compare_and_swap_4): New function.
4839 (__sync_lock_test_and_test_4): New function.
4840 (__sync_val_compare_and_swap_8): New function.
4841 (__sync_bool_compare_and_swap_8): New function.
4842 (__sync_lock_test_and_test_8): New function.
4843 (__subword_cmpxchg_body): New macro.
4844 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
4845 (__atomic_compare_exchange_2): Ditto.
4846 (__sync_subword_cmpxchg): New macro.
4847 (__sync_val_compare_and_swap_1): New function.
4848 (__sync_bool_compare_and_swap_1): New function.
4849 (__sync_val_compare_and_swap_2): New function.
4850 (__sync_bool_compare_and_swap_2): New function.
4851 (__atomic_subword): Rename to ...
4852 (__subword): ... New name.
4853 (__atomic_subword_fetch): Use __subword.
4854 (__sync_subword_fetch): New macro.
4855 (__sync_fetch_and_add_1): New function.
4856 (__sync_fetch_and_sub_1): New function.
4857 (__sync_fetch_and_or_1): New function.
4858 (__sync_fetch_and_and_1): New function.
4859 (__sync_fetch_and_xor_1): New function.
4860 (__sync_fetch_and_nand_1): New function.
4861 (__sync_fetch_and_add_2): New function.
4862 (__sync_fetch_and_sub_2): New function.
4863 (__sync_fetch_and_or_2): New function.
4864 (__sync_fetch_and_and_2): New function.
4865 (__sync_fetch_and_xor_2): New function.
4866 (__sync_fetch_and_nand_2): New function.
4867 (__sync_add_and_fetch_1): New function.
4868 (__sync_sub_and_fetch_1): New function.
4869 (__sync_or_and_fetch_1): New function.
4870 (__sync_and_and_fetch_1): New function.
4871 (__sync_xor_and_fetch_1): New function.
4872 (__sync_nand_and_fetch_1): New function.
4873 (__sync_add_and_fetch_2): New function.
4874 (__sync_sub_and_fetch_2): New function.
4875 (__sync_or_and_fetch_2): New function.
4876 (__sync_and_and_fetch_2): New function.
4877 (__sync_xor_and_fetch_2): New function.
4878 (__sync_nand_and_fetch_2): New function.
4879 (__atomic_subword_lock): Use __subword.
4880 (__sync_subword_lock): New macro.
4881 (__sync_lock_test_and_set_1): New function.
4882 (__sync_lock_test_and_set_2): New function.
4883
47bfa8ec 48842014-01-25 Walter Lee <walt@tilera.com>
4885
4886 * config/tilepro/atomic.c (BIT_OFFSET): Define.
4887 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
4888 (__atomic_subword): Ditto.
4889
fcb4fe71 48902014-01-25 Walter Lee <walt@tilera.com>
4891
4892 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
4893 a prefix op argument.
4894 (__atomic_nand_fetch_4): Add prefix op.
4895 (__atomic_nand_fetch_8): Ditto.
4896
92e91d03 48972014-01-21 Baruch Siach <barch@tkos.co.il>
382e1a72 4898
4899 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
4900
9c50d275 49012014-01-09 Rong Xu <xur@google.com>
4902
4903 * libgcov-driver.c (this_prg): make it local to save
4904 bss space.
4905 (gcov_exit_compute_summary): Ditto.
4906 (gcov_exit_merge_gcda): Ditto.
4907 (gcov_exit_merge_summary): Ditto.
4908 (gcov_exit_dump_gcov): Ditto.
4909
005a5ef5 49102014-01-08 Rong Xu <xur@google.com>
67745126 4911
4912 * libgcov-driver.c: Use libgcov.h.
4913 (buffer_fn_data): Use xmalloc instead of malloc.
4914 (gcov_exit_merge_gcda): Ditto.
4915 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
4916 * libgcov.h: New common header files for libgcov-*.h.
4917 * libgcov-interface.c: Use libgcov.h
4918 * libgcov-merge.c: Ditto.
4919 * libgcov-profiler.c: Ditto.
4920 * Makefile.in: Add dependence to libgcov.h
4921
acf40e7e 49222014-01-02 Joseph Myers <joseph@codesourcery.com>
4923
4924 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
4925 case of small numerator and finite nonzero result.
4926
f9fb6ba0 49272014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
4928
4929 Update copyright years
4930
e4f22041 49312014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
4932
4933 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
4934 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
4935 config/arc/dp-hack.h, config/arc/fp-hack.h,
4936 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
4937 config/arc/ieee-754/arc600-dsp/divdf3.S,
4938 config/arc/ieee-754/arc600-dsp/divsf3.S,
4939 config/arc/ieee-754/arc600-dsp/muldf3.S,
4940 config/arc/ieee-754/arc600-dsp/mulsf3.S,
4941 config/arc/ieee-754/arc600-mul64/divdf3.S,
4942 config/arc/ieee-754/arc600-mul64/divsf3.S,
4943 config/arc/ieee-754/arc600-mul64/muldf3.S,
4944 config/arc/ieee-754/arc600-mul64/mulsf3.S,
4945 config/arc/ieee-754/arc600/divsf3.S,
4946 config/arc/ieee-754/arc600/mulsf3.S,
4947 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
4948 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
4949 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
4950 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
4951 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
4952 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
4953 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
4954 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
4955 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
4956 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
4957 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
4958 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
4959 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
4960 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
4961 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
4962 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
4963 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
4964 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
4965 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
4966 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
4967 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
4968 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
4969 vtv_start_preinit.c: Use the standard form for the copyright notice.
4970
de65406d 49712013-12-31 Sandra Loosemore <sandra@codesourcery.com>
4972 Chung-Lin Tang <cltang@codesourcery.com>
4973 Based on patches from Altera Corporation
4974
4975 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
4976 * config/nios2/lib2-nios2.h: New file.
4977 * config/nios2/lib2-divmod-hi.c: New file.
4978 * config/nios2/linux-unwind.h: New file.
4979 * config/nios2/lib2-divmod.c: New file.
4980 * config/nios2/linux-atomic.c: New file.
4981 * config/nios2/t-nios2: New file.
4982 * config/nios2/crti.asm: New file.
4983 * config/nios2/t-linux: New file.
4984 * config/nios2/lib2-divtable.c: New file.
4985 * config/nios2/lib2-mul.c: New file.
4986 * config/nios2/tramp.c: New file.
4987 * config/nios2/crtn.asm: New file.
4988
a0f1278f 49892013-12-26 Uros Bizjak <ubizjak@gmail.com>
4990
4991 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
4992 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
4993 from cpuid.h to check vendor signatures.
4994
0337c8ef 49952013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
4996
e5d692d7 4997 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
0337c8ef 4998 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
4999 (get_amd_cpu): Likewise.
5000
03797e66 50012013-12-25 H.J. Lu <hongjiu.lu@intel.com>
5002
5003 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
5004 Haswell.
5005
8a5280dc 50062013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
5007 H.J. Lu <hongjiu.lu@intel.com>
5008
ed1bc9a4 5009 PR target/59422
5010 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
8a5280dc 5011 and AMD_JAGUAR.
5012 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
5013 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
5014 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
5015 FEATURE_XOP and FEATURE_FMA.
5016 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
5017 AMDFAM15H_BDVER3.
5018 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
ed1bc9a4 5019 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
8a5280dc 5020 FEATURE_FMA4 and FEATURE_XOP.
5021
ccc305ff 50222013-12-23 H.J. Lu <hongjiu.lu@intel.com>
5023
5024 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
5025 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
5026 (get_intel_cpu): Updated.
5027
4ef5912a 50282013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
5029
5030 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
5031
62f068c6 50322013-12-09 Uros Bizjak <ubizjak@gmail.com>
5033
5034 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
2cc02024 5035 instructions when __SSE_MATH__ is defined.
62f068c6 5036
d742e92d 50372013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
5038
5039 * config.host (microblaze-*-rtems*): New.
5040
706d62f5 50412013-12-04 Kugan Vivekanandarajah <kuganv@linaro.org>
5042
5043 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
5044 architectures that do not have hardware divide instruction.
5045 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
5046
81927967 50472013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
5048
5049 * longlong.h: Delete (moved to include/).
5050
085d03cc 50512013-12-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5052
5053 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
5054 of normal number and qNaN to not raise an inexact exception.
5055
1f88bc79 50562013-11-28 Uros Bizjak <ubizjak@gmail.com>
5057
5058 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
5059
50602013-11-28 Matthew Leach <matthew.leach@arm.com>
de12de96 5061
5062 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
5063 for correct opcodes on BE.
5064
ea9697c4 50652013-11-27 Uros Bizjak <ubizjak@gmail.com>
5066
5067 * soft-fp/op-4.h: Update from glibc.
5068
b214253d 50692013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
5070
5071 * libgcc2.c (__udivmoddi4): Define new implementation when
5072 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
5073 divide instructions.
5074
334819e8 50752013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
5076
5077 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
5078
2b8d95bc 50792013-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5080
5081 * config/t-softfp (soft-fp-objects-base): New variable.
5082 (soft-fp-objects): Use it.
5083
39da7440 50842013-11-23 David Edelson <dje.gcc@gmail.com>
5085 Andrew Dixie <andrewd@gentrack.com>
5086
5087 PR target/33704
5088 * config/rs6000/aixinitfini.c: New file.
5089 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
5090 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
5091 symbols.
5092
b848ffcd 50932013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
5094
ea9697c4 5095 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
b848ffcd 5096
f75db2a8 50972013-11-18 Jan Hubicka <jh@suse.cz>
5098
5dbddbd9 5099 * libgcov-driver.c (run_accounted): Make global level static.
5100 (gcov_exit_merge_summary): Silence warning; do not clear
5101 run_accounted here.
5102 (gcov_exit): Clear it here.
5103
7a45fd9b 5104 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
5105 run_accounted.
5106
f75db2a8 5107 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
5108 (all_prg, crc32): Remove static vars.
5109 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
5110 all_prg.
5111 (gcov_exit_merge_gcda): Add crc32 parameter.
5112 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
5113 do not account run if it was already accounted.
5114 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
5115 (gcov_exit): Initialize all_prg; update.
5116
822f2c1b 51172013-11-15 Andreas Schwab <schwab@linux-m68k.org>
5118
5119 * configure: Regenerate.
5120
238f342d 51212013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5122 Alan Modra <amodra@gmail.com>
5123
5124 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
5125 (frob_update_context): Use it.
5126
51272013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5128 Alan Modra <amodra@gmail.com>
5129
5130 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
5131 (trampoline_initial): Provide ELFv2 variant.
5132 (__trampoline_setup): Likewise.
5133
5134 * config/rs6000/linux-unwind.h (frob_update_context): Do not
5135 check for AIX indirect function call sequence if _CALL_ELF == 2.
5136
51372013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5138 Alan Modra <amodra@gmail.com>
5139
5140 * config/rs6000/linux-unwind.h (get_regs): Do not support
5141 old kernel versions if _CALL_ELF == 2.
5142 (frob_update_context): Do not support PLT stub variants only
5143 generated by old linkers if _CALL_ELF == 2.
5144
771a5362 51452013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5146 Alan Modra <amodra@gmail.com>
5147
5148 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
5149 location of CR save area for 64-bit little-endian systems.
5150
f4f176bd 51512013-11-11 Eric Botcazou <ebotcazou@adacore.com>
5152
5153 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
5154 in tmake_file.
5155 * config/arm/t-vxworks: Delete.
5156
024d645a 51572013-11-10 Kai Tietz <ktietz@redhat.com>
5158
5159 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
5160 Increment load-count on use of LIBGCC_SONAME DLL.
5161 (hmod_libgcc): New static variable to hold handle of
5162 LIBGCC_SONAME DLL.
5163 (__gcc_deregister_frame): Decrement load-count of
5164 LIBGCC_SONAME DLL.
5165
96ddb284 51662013-11-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
5167
5168 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
5169 availability.
5170 * configure: Regenerate
5171
b4ad80db 51722013-11-07 Uros Bizjak <ubizjak@gmail.com>
5173
5174 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
5175 FP_EX_DENORM. Store result to volatile location after SSE division
5176 to close interrupt window. Remove unneeded fwait after x87
5177 division since interrupt window will be closed by emitted fstp.
dc1dacdf 5178 Rewrite FP_EX_INEXACT handling.
b4ad80db 5179
589468a6 51802013-11-06 Joseph Myers <joseph@codesourcery.com>
5181
5182 * soft-fp/README: Update.
5183 * soft-fp/adddf3.c: Update from glibc.
5184 * soft-fp/addsf3.c: Likewise.
5185 * soft-fp/addtf3.c: Likewise.
5186 * soft-fp/divdf3.c: Likewise.
5187 * soft-fp/divsf3.c: Likewise.
5188 * soft-fp/divtf3.c: Likewise.
5189 * soft-fp/double.h: Likewise.
5190 * soft-fp/eqdf2.c: Likewise.
5191 * soft-fp/eqsf2.c: Likewise.
5192 * soft-fp/eqtf2.c: Likewise.
5193 * soft-fp/extenddftf2.c: Likewise.
5194 * soft-fp/extended.h: Likewise.
5195 * soft-fp/extendsfdf2.c: Likewise.
5196 * soft-fp/extendsftf2.c: Likewise.
5197 * soft-fp/extendxftf2.c: Likewise.
5198 * soft-fp/fixdfdi.c: Likewise.
5199 * soft-fp/fixdfsi.c: Likewise.
5200 * soft-fp/fixdfti.c: Likewise.
5201 * soft-fp/fixsfdi.c: Likewise.
5202 * soft-fp/fixsfsi.c: Likewise.
5203 * soft-fp/fixsfti.c: Likewise.
5204 * soft-fp/fixtfdi.c: Likewise.
5205 * soft-fp/fixtfsi.c: Likewise.
5206 * soft-fp/fixtfti.c: Likewise.
5207 * soft-fp/fixunsdfdi.c: Likewise.
5208 * soft-fp/fixunsdfsi.c: Likewise.
5209 * soft-fp/fixunsdfti.c: Likewise.
5210 * soft-fp/fixunssfdi.c: Likewise.
5211 * soft-fp/fixunssfsi.c: Likewise.
5212 * soft-fp/fixunssfti.c: Likewise.
5213 * soft-fp/fixunstfdi.c: Likewise.
5214 * soft-fp/fixunstfsi.c: Likewise.
5215 * soft-fp/fixunstfti.c: Likewise.
5216 * soft-fp/floatdidf.c: Likewise.
5217 * soft-fp/floatdisf.c: Likewise.
5218 * soft-fp/floatditf.c: Likewise.
5219 * soft-fp/floatsidf.c: Likewise.
5220 * soft-fp/floatsisf.c: Likewise.
5221 * soft-fp/floatsitf.c: Likewise.
5222 * soft-fp/floattidf.c: Likewise.
5223 * soft-fp/floattisf.c: Likewise.
5224 * soft-fp/floattitf.c: Likewise.
5225 * soft-fp/floatundidf.c: Likewise.
5226 * soft-fp/floatundisf.c: Likewise.
5227 * soft-fp/floatunditf.c: Likewise.
5228 * soft-fp/floatunsidf.c: Likewise.
5229 * soft-fp/floatunsisf.c: Likewise.
5230 * soft-fp/floatunsitf.c: Likewise.
5231 * soft-fp/floatuntidf.c: Likewise.
5232 * soft-fp/floatuntisf.c: Likewise.
5233 * soft-fp/floatuntitf.c: Likewise.
5234 * soft-fp/gedf2.c: Likewise.
5235 * soft-fp/gesf2.c: Likewise.
5236 * soft-fp/getf2.c: Likewise.
5237 * soft-fp/ledf2.c: Likewise.
5238 * soft-fp/lesf2.c: Likewise.
5239 * soft-fp/letf2.c: Likewise.
5240 * soft-fp/muldf3.c: Likewise.
5241 * soft-fp/mulsf3.c: Likewise.
5242 * soft-fp/multf3.c: Likewise.
5243 * soft-fp/negdf2.c: Likewise.
5244 * soft-fp/negsf2.c: Likewise.
5245 * soft-fp/negtf2.c: Likewise.
5246 * soft-fp/op-1.h: Likewise.
5247 * soft-fp/op-2.h: Likewise.
5248 * soft-fp/op-4.h: Likewise.
5249 * soft-fp/op-8.h: Likewise.
5250 * soft-fp/op-common.h: Likewise.
5251 * soft-fp/quad.h: Likewise.
5252 * soft-fp/single.h: Likewise.
5253 * soft-fp/soft-fp.h: Likewise.
5254 * soft-fp/subdf3.c: Likewise.
5255 * soft-fp/subsf3.c: Likewise.
5256 * soft-fp/subtf3.c: Likewise.
5257 * soft-fp/truncdfsf2.c: Likewise.
5258 * soft-fp/trunctfdf2.c: Likewise.
5259 * soft-fp/trunctfsf2.c: Likewise.
5260 * soft-fp/trunctfxf2.c: Likewise.
5261 * soft-fp/unorddf2.c: Likewise.
5262 * soft-fp/unordsf2.c: Likewise.
5263 * soft-fp/unordtf2.c: Likewise.
5264
8a3edb33 52652013-11-05 Uros Bizjak <ubizjak@gmail.com>
5266
5267 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
5268 (_FP_MUL_MEAT_D): Ditto.
5269 (_FP_DIV_MEAT_S): Ditto.
5270 (_FP_DIV_MEAT_D): Ditto.
5271 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
5272 t-softfp-sfdf and t-softfp to tmake_file.
5273
ea151fae 52742013-11-03 Uros Bizjak <ubizjak@gmail.com>
5275
5276 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
5277 * config/i386/crtprec.c: Ditto.
5278
eae21ed1 52792013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
5280 Shiva Chen <shiva0217@gmail.com>
5281
5282 * config.host (nds32*-elf*): Add nds32 target.
5283 * config/nds32 : New directory and files.
5284
b4294f67 52852013-10-16 Hans-Peter Nilsson <hp@axis.com>
5286
5287 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
5288 * config.host (cpu_type) <Setting default>: Add entry for
5289 crisv32-*-*.
5290 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
5291 <crisv32-*-linux*>: Adjust.
5292 * longlong.h: Wrap the whole CRIS section in a single
5293 defined(__CRIS__) conditional. Add comment about add_ssaaaa
5294 and sub_ddmmss.
5295 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
5296 defined.
5297 [__CRIS__] (__umulsidi3): Define.
5298 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
5299 * config/cris/sfp-machine.h: New file.
5300 * config/cris/umulsidi3.S: New file.
5301 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
5302 * config/cris/arit.c (SIGNMULT): New macro.
5303 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
5304 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
5305 saving 3 out of originally 33 cycles from the fastest
5306 path, 3 out of 54 from the medium path and one from the longest
5307 path. Improve comments.
5308
89432048 53092013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
5310
5311 * sync.c: Remove static aliases and define each function directly
5312 under its real name.
5313
a99f9d91 53142013-10-02 John David Anglin <danglin@gcc.gnu.org>
5315
5316 * config.host (hppa*64*-*-linux*): Define extra_parts.
5317 (hppa*-*-linux*): Likewise.
5318
c6e92c43 53192013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
5320
5321 * config/arc/crtgend.S: Add 2013 to Copyright years.
5322 * config/arc/gmon/atomic.h: Likewise.
5323 * config/arc/gmon/auxreg.h: Likewise.
5324 * config/arc/gmon/sys/gmon_out.h: Likewise.
5325 * config/arc/gmon/sys/gmon.h: Likewise.
5326 * config/arc/gmon/prof-freq.c: Likewise.
5327 * config/arc/gmon/mcount.c: Likewise.
5328 * config/arc/gmon/prof-freq-stub.S: Likewise.
5329 * config/arc/gmon/gmon.c: Likewise.
5330 * config/arc/gmon/machine-gmon.h: Likewise.
5331 * config/arc/gmon/profil.S: Likewise.
5332 * config/arc/gmon/dcache_linesz.S: Likewise.
5333 * config/arc/crtg.S: Likewise.
5334 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
5335 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
5336 * config/arc/ieee-754/adddf3.S: Likewise.
5337 * config/arc/ieee-754/truncdfsf2.S: Likewise.
5338 * config/arc/ieee-754/fixsfsi.S: Likewise.
5339 * config/arc/ieee-754/gtsf2.S: Likewise.
5340 * config/arc/ieee-754/floatsisf.S: Likewise.
5341 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
5342 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
5343 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
5344 * config/arc/ieee-754/fixdfsi.S: Likewise.
5345 * config/arc/ieee-754/addsf3.S: Likewise.
5346 * config/arc/ieee-754/gesf2.S: Likewise.
5347 * config/arc/ieee-754/floatsidf.S: Likewise.
5348 * config/arc/ieee-754/extendsfdf2.S: Likewise.
5349 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
5350 * config/arc/ieee-754/gtdf2.S: Likewise.
5351 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
5352 * config/arc/ieee-754/uneqdf2.S: Likewise.
5353 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
5354 * config/arc/ieee-754/uneqsf2.S: Likewise.
5355 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
5356 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
5357 * config/arc/ieee-754/eqdf2.S: Likewise.
5358 * config/arc/ieee-754/ordsf2.S: Likewise.
5359 * config/arc/ieee-754/divsf3.S: Likewise.
5360 * config/arc/ieee-754/divdf3.S: Likewise.
5361 * config/arc/ieee-754/floatunsidf.S: Likewise.
5362 * config/arc/ieee-754/orddf2.S: Likewise.
5363 * config/arc/ieee-754/eqsf2.S: Likewise.
5364 * config/arc/ieee-754/gedf2.S: Likewise.
5365 * config/arc/crtn.S: Likewise.
5366 * config/arc/crti.S: Likewise.
5367 * config/arc/t-arc700-uClibc: Likewise.
5368 * config/arc/asm.h: Likewise.
5369 * config/arc/libgcc-excl.ver: Likewise.
5370 * config/arc/t-arc-newlib: Likewise.
5371 * config/arc/divtab-arc700.c: Likewise.
5372 * config/arc/initfini.c: Likewise.
5373 * config/arc/fp-hack.h: Likewise.
5374
8abf21c0 53752013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
5376 Diego Novillo <dnovillo@google.com>
5377
5378 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
29941397 5379 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
5380 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
5381 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
8abf21c0 5382
8eaaaea3 53832013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
5384 Brendan Kehoe <brendan@zen.org>
5385 Simon Cook <simon.cook@embecosm.com>
5386
5387 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
5388 * config/arc: New directory.
5389 * longlong.h [__arc__] (umul_ppmm): Remove.
5390 [__arc__] (__umulsidi3): Define.
5391 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
5392 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
5393
5d7073ff 53942013-09-17 Jacek Caban <jacek@codeweavers.com>
5395
5396 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
5397 CreateSemaphoreA.
5398 * config/i386/gthr-win32.h: Likewise.
5399
c5a0ae5e 54002013-09-16 DJ Delorie <dj@redhat.com>
5401
3feee9ae 5402 * config/rl78/vregs.h: Add G10 register definitions.
c5a0ae5e 5403 * config/rl78/lib2mul.c: Enable for RL78/G10.
5404 * config/rl78/lib2div.c: Likewise.
5405 * config/rl78/lshrsi3.S: Use vregs.h.
5406 * config/rl78/cmpsi2.S: Likewise.
5407 * config/rl78/trampoline.S: Likewise.
5408 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
5409
03223f89 54102013-09-14 DJ Delorie <dj@redhat.com>
5411 Nick Clifton <nickc@redhat.com>
5412
5413 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
5414 * config/rl78/vregs.h: New.
5415 * config/rl78/signbit.S: New file. Implements signbit function.
5416 * config/rl78/divmodsi.S: New.
5417 * config/rl78/divmodhi.S: New.
5418 * config/rl78/divmodqi.S: New.
5419 * config/rl78/t-rl78: Build them here...
5420 * config/rl78/lib2div.c: ...but not here.
5421
e4a25868 54222013-09-12 DJ Delorie <dj@redhat.com>
5423
5424 * config.host (msp*-*-elf): New.
5425 * config/msp430/: New port.
5426
f5f1a747 54272013-08-18 Iain Sandoe <iain@codesourcery.com>
5428
5429 PR gcov-profile/58127
5430 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
5431 __thread var for emulated TLS.
5432 (__gcov_indirect_call_counters): Likewise.
5433
272552a3 54342013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
ea151fae 5435 Catherine Moore <clm@codesourcery.com>
92e91d03 5436 Richard Sandiford <rdsandiford@googlemail.com>
272552a3 5437
5438 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
5439 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
5440 (CALL_STUB_NO_RET): Likewise.
5441 (CALL_STUB_RET): Likewise.
5442 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
5443 __mips16_ret call/return stub symbols.
5444 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
5445 to tmake_file.
5446
26865d30 54472013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
5448
5449 * config.host <mips*-*-linux*>: Remove a stray comment.
5450
4771c0ac 54512013-08-10 Jan Hubicka <jh@suse.cz>
5452
5453 Work around binutils PR14342
5454 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
5455 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
5456 (L_gcov_indirect_call_profiler_v2): New.
5457
fe37be54 54582013-08-06 Jan Hubicka <jh@suse.cz>
5459
5460 * libgcov.c (__gcov_indirect_call_callee,
5461 __gcov_indirect_call_counters): New global vars.
5462 (__gcov_indirect_call_profiler): replace by ...
5463 (__gcov_indirect_call_profiler_v2) ... this one.
5464
b710ec85 54652013-08-06 Caroline Tice <cmtice@google.com>
5466
62257207 5467 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
b710ec85 5468 vtv_start_preinit.o and vtv_end_preinit.o.
62257207 5469 * configure.ac: Add code to check/set enable_vtable_verify.
5470 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
b710ec85 5471 true.
62257207 5472 * vtv_start_preinit.c: New file.
5473 * vtv_end_preinit.c: New file.
5474 * vtv_start.c: New file.
5475 * vtv_end.c: New file.
5476 * configure: Regenerated.
b710ec85 5477
98997678 54782013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
5479
5480 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
5481 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
5482 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
5483 GPL-3.0-with-GCC-exception.
5484
b26b6f0d 54852013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
5486
5487 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
5488 ISA and up.
5489
e6270f6f 54902013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5491
5492 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
5493 mapping for FPRs when creating the fallback framestate.
5494
fdbf5b19 54952013-07-19 Georg-Johann Lay <avr@gjlay.de>
5496
5497 PR target/57516
5498 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
5499 (__round_s2_const, __round_u2_const)
5500 (__round_s4_const, __round_u4_const, __round_x8):
5501 Saturate result if addition result cannot be represented.
5502
6dcb849c 55032013-07-15 Matthias Klose <doko@ubuntu.com>
5504
5505 * libgcc2.c: Don't include <limits.h>.
5506
16348e18 55072013-07-09 Janis Johnson <janisjo@codesourcery.com>
5508
5509 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
5510
64b5be08 55112013-07-06 Jakub Jelinek <jakub@redhat.com>
5512
5513 PR target/29776
5514 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
5515
68a09193 55162013-06-28 Jakub Jelinek <jakub@redhat.com>
5517
5518 PR middle-end/36041
5519 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
5520 Define.
5521 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
5522 instead of table lookups.
5523 (__popcountDI2): Likewise.
5524
5fe358df 55252013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
5526
5527 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
5528 correctly.
5529
2511e9f1 55302013-06-21 Joseph Myers <joseph@codesourcery.com>
5531
5532 PR other/53317
5533 * soft-fp/adddf3.c: Update from glibc.
5534 * soft-fp/addsf3.c: Likewise.
5535 * soft-fp/addtf3.c: Likewise.
5536 * soft-fp/divdf3.c: Likewise.
5537 * soft-fp/divsf3.c: Likewise.
5538 * soft-fp/divtf3.c: Likewise.
5539 * soft-fp/double.h: Likewise.
5540 * soft-fp/eqdf2.c: Likewise.
5541 * soft-fp/eqsf2.c: Likewise.
5542 * soft-fp/eqtf2.c: Likewise.
5543 * soft-fp/extenddftf2.c: Likewise.
5544 * soft-fp/extended.h: Likewise.
5545 * soft-fp/extendsfdf2.c: Likewise.
5546 * soft-fp/extendsftf2.c: Likewise.
5547 * soft-fp/fixdfdi.c: Likewise.
5548 * soft-fp/fixdfsi.c: Likewise.
5549 * soft-fp/fixsfdi.c: Likewise.
5550 * soft-fp/fixsfsi.c: Likewise.
5551 * soft-fp/fixtfdi.c: Likewise.
5552 * soft-fp/fixtfsi.c: Likewise.
5553 * soft-fp/fixunsdfdi.c: Likewise.
5554 * soft-fp/fixunsdfsi.c: Likewise.
5555 * soft-fp/fixunssfdi.c: Likewise.
5556 * soft-fp/fixunssfsi.c: Likewise.
5557 * soft-fp/fixunstfdi.c: Likewise.
5558 * soft-fp/fixunstfsi.c: Likewise.
5559 * soft-fp/floatdidf.c: Likewise.
5560 * soft-fp/floatdisf.c: Likewise.
5561 * soft-fp/floatditf.c: Likewise.
5562 * soft-fp/floatsidf.c: Likewise.
5563 * soft-fp/floatsisf.c: Likewise.
5564 * soft-fp/floatsitf.c: Likewise.
5565 * soft-fp/floatundidf.c: Likewise.
5566 * soft-fp/floatundisf.c: Likewise.
5567 * soft-fp/floatunditf.c: Likewise.
5568 * soft-fp/floatunsidf.c: Likewise.
5569 * soft-fp/floatunsisf.c: Likewise.
5570 * soft-fp/floatunsitf.c: Likewise.
5571 * soft-fp/gedf2.c: Likewise.
5572 * soft-fp/gesf2.c: Likewise.
5573 * soft-fp/getf2.c: Likewise.
5574 * soft-fp/ledf2.c: Likewise.
5575 * soft-fp/lesf2.c: Likewise.
5576 * soft-fp/letf2.c: Likewise.
5577 * soft-fp/muldf3.c: Likewise.
5578 * soft-fp/mulsf3.c: Likewise.
5579 * soft-fp/multf3.c: Likewise.
5580 * soft-fp/negdf2.c: Likewise.
5581 * soft-fp/negsf2.c: Likewise.
5582 * soft-fp/negtf2.c: Likewise.
5583 * soft-fp/op-1.h: Likewise.
5584 * soft-fp/op-2.h: Likewise.
5585 * soft-fp/op-4.h: Likewise.
5586 * soft-fp/op-8.h: Likewise.
5587 * soft-fp/op-common.h: Likewise.
5588 * soft-fp/quad.h: Likewise.
5589 * soft-fp/single.h: Likewise.
5590 * soft-fp/soft-fp.h: Likewise.
5591 * soft-fp/subdf3.c: Likewise.
5592 * soft-fp/subsf3.c: Likewise.
5593 * soft-fp/subtf3.c: Likewise.
5594 * soft-fp/truncdfsf2.c: Likewise.
5595 * soft-fp/trunctfdf2.c: Likewise.
5596 * soft-fp/trunctfsf2.c: Likewise.
5597 * soft-fp/unorddf2.c: Likewise.
5598 * soft-fp/unordsf2.c: Likewise.
5599 * soft-fp/unordtf2.c: Likewise.
5600 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
5601 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5602 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5603 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5604 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5605 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5606 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5607 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5608 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5609 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
5610 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
5611 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5612
0b4e9fcd 56132013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
5614
5615 * config/mips/lib2funcs.c: New file.
5616 * config/mips/t-mips (LIB2ADD_ST): Add it.
5617
fe9c9e23 56182013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
5619
5620 PR target/6526
5621 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
5622 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
5623
1c229e23 56242013-06-08 Walter Lee <walt@tilera.com>
5625
5626 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
5627 Replace int64_t with long long. Add __extension__ where
5628 appropriate.
5629 * config/tilepro/atomic.c: Include config.h.
5630
1a7dfb13 56312013-06-06 Douglas B Rupp <rupp@adacore.com>
5632
5633 * config.host (arm-wrs-vxworks): Configure with other soft float.
5634
60b34f30 56352013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
5636
5637 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
5638 (mips64r5900el-*-elf*): New configurations.
5639
ebe9cbdb 56402013-06-04 Alan Modra <amodra@gmail.com>
5641
5642 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
5643
fbcee6d1 56442013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
5645
5646 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
5647
aad33226 56482013-05-28 Eric Botcazou <ebotcazou@adacore.com>
5649
5650 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
5651 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
5652 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
5653
47ab8c10 56542013-05-22 Eric Botcazou <ebotcazou@adacore.com>
5655
5656 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
5657 (powerpc-wrs-vxworks): Likewise.
5658
34a60aa2 56592013-05-22 Eric Botcazou <ebotcazou@adacore.com>
5660
5661 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
5662 signal frames as well.
5663 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
5664 STACK_BIAS to the CFA offset.
5665
be82f7a8 56662013-05-17 Richard Henderson <rth@redhat.com>
5667
5668 PR target/49146
5669 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
5670 (execute_cfa_program): Use it when storing to fs->regs.
5671
bd89d2b6 56722013-05-08 Kai Tietz <ktietz@redhat.com>
5673
5674 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
5675 (__deregister_frame_info): Likewise.
5676
9e849aff 56772013-05-06 Thomas Schwinge <thomas@codesourcery.com>
5678
dfa9a36a 5679 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
5680 NaN's payload.
5681
9e849aff 5682 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
5683
d80dc920 56842013-04-25 Alan Modra <amodra@gmail.com>
5685
5686 * config.host: Match little-endian powerpc-linux.
5687
d359df0c 56882013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
5689
5690 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
5691 as 'unsigned long long' instead of 'unsigned long'.
5692 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
5693 'signed long'.
5694
912507e5 56952013-04-10 Julian Brown <julian@codesourcery.com>
5696
5697 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
5698 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
5699 unsigned char/unsigned short.
5700 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
5701
9dafcef4 57022013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
5703
5704 PR other/55274
5705 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
5706
11bec6e6 57072013-04-04 Meador Inge <meadori@codesourcery.com>
5708
5709 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
5710 computing the location of the link register.
5711 (aeabi_uldivmod): Ditto.
5712
45d13ef4 57132013-03-27 Kai Tietz <ktietz@redhat.com>
5714
5715 * config.host: Add support for cygwin x64 target.
5716 * configure: Regenerated.
5717
cad8262b 57182013-03-26 Walter Lee <walt@tilera.com>
5719
5720 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
5721 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
5722
d2adc174 57232013-03-25 Kai Tietz <ktietz@redhat.com>
5724
5725 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
5726
a5487e41 57272013-03-20 Robert Mason <rbmj@verizon.net>
5728
5729 * config/vxlib-tls.c (__gthread_get_tsd_data,)
5730 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
5731 (__gthread_leave_tsd_dtor_context): Add prototypes.
5732 (tls_delete_hook): Update.
5733
ff9c1bc1 57342013-03-20 Catherine Moore <clm@codesourcery.com>
5735 Joseph Myers <joseph@codesourcery.com>
5736 Chao-ying Fu <fu@mips.com>
5737
5738 * config/mips/mips16.S: Don't build for microMIPS.
5739 * config/mips/linux-unwind.h: Handle microMIPS frame.
5740 * config/mips/crtn.S (fini, init): New labels.
5741
228bf2b8 57422013-03-14 Jakub Jelinek <jakub@redhat.com>
5743
5744 PR tree-optimization/53265
5745 * unwind-dw2.c (execute_cfa_program): Avoid
5746 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
5747 on targets with DWARF_FRAME_REGISTERS < 32.
5748
bb057878 57492013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
5750
5751 PR target/49880
5752 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
5753 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
5754
a1b2a524 57552013-03-07 Sriraman Tallam <tmsriram@google.com>
5756
5757 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
5758 sandybridge processors.
5759
9fe603c3 57602013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
5761
5762 PR target/56529
5763 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
5764 inclusion list.
5765
21ebaa24 57662013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
02f4bd0d 5767
5768 * config/microblaze/crti.S: Setup stack protection at entry
5769
958069e9 57702013-03-04 Georg-Johann Lay <avr@gjlay.de>
5771
5772 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
5773 (__rotldi3): Shift bytewise if applicable.
5774
49be16da 57752013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
5776
5777 * config/aarch64/sync-cache.c
5778 (__aarch64_sync_cache_range): Silence warnings.
5779
ca7a473f 57802013-02-25 Catherine Moore <clm@codesourcery.com>
5781
5782 Revert:
5783 2013-02-24 Catherine Moore <clm@codesourcery.com>
5784 Joseph Myers <joseph@codesourcery.com>
5785 Chao-ying Fu <fu@mips.com>
5786
5787 * config/mips/mips16.S: Don't build for microMIPS.
5788 * config/mips/linux-unwind.h: Handle microMIPS frame.
5789 * config/mips/crtn.S (fini, init): New labels.
5790
7fd93f9c 57912013-02-24 Catherine Moore <clm@codesourcery.com>
5792 Joseph Myers <joseph@codesourcery.com>
5793 Chao-ying Fu <fu@mips.com>
5794
5795 * config/mips/mips16.S: Don't build for microMIPS.
5796 * config/mips/linux-unwind.h: Handle microMIPS frame.
5797 * config/mips/crtn.S (fini, init): New labels.
5798
1859244f 57992012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
005a5ef5 5800 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
1859244f 5801 as dividend.
5802
2a0bfd56 58032013-02-16 Alan Modra <amodra@gmail.com>
5804
5805 PR target/55431
5806 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
5807 (ppc_fallback_frame_state): Always set up save locations for fp
5808 and altivec. Don't bother with non-callee-saved regs, r0-r13
5809 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
5810
cfbcb7d5 58112013-02-12 Georg-Johann Lay <avr@gjlay.de>
5812
5813 PR target/54222
5814 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
5815 _ssmulHA, _ssmulSA.
5816 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
5817 _ssmulha3, _usmulusa3, _ssmulsa3.
5818 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
5819 (__muldi3): XCALL __muldi3_6 instead of rcall.
5820 (__umulsidi3, __mulsidi3): New functions.
5821 (do_prologue_saves, do_epilogue_restores): New .macros.
5822 (__divdi3_moddi3): Use them.
5823 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
5824 (__usmulusa3, __ssmulsa3): New functions.
5825
48b8e70a 58262013-02-11 Iain Sandoe <iain@codesourcery.com>
5827 Jack Howarth <howarth@bromo.med.uc.edu>
5828 Patrick Marlier <patrick.marlier@gmail.com>
5829
5830 PR libitm/55693
5831 * config/darwin-crt-tm.c: Remove dummy functions hack.
5832
eafea251 58332013-02-08 Georg-Johann Lay <avr@gjlay.de>
5834
5835 PR target/54222
5836 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
5837 * config/avr/lib2-object.mk: New iterator to build objects from it.
5838 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
5839 lib2funcs.c.
5840 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
5841 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
5842 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
5843 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
5844 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
5845 * config/avr/lib1funcs-fixed.S: Implement them.
5846
64b7b462 58472013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
5848
5849 Update copyright years.
5850
a8af2dd5 58512013-02-01 David Edelsohn <dje.gcc@gmail.com>
5852
5853 PR target/54601
5854 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
5855 Add crtcxa to extra_parts.
5856 * config/rs6000/exit.h: New file.
5857 * config/rs6000/cxa_atexit.c: New file.
5858 * config/rs6000/cxa_finalize.c: New file.
5859 * config/rs6000/crtcxa.c: New file.
5860 * config/rs6000/t-aix-cxa: New file.
5861 * config/rs6000/libgcc-aix-cxa.ver: New file.
5862
9a5788ea 58632013-01-31 Nick Clifton <nickc@redhat.com>
5864
5865 * config/v850/lib1funcs.S: Add support for e3v5 architecture
5866 variant.
5867
63c85bd5 58682013-01-29 Georg-Johann Lay <avr@gjlay.de>
5869
5870 PR target/54222
5871 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
5872 _mulQQ, _mulHQ, _mulHA, _mulSA,
5873 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
5874 _divQQ, _divHQ, _divHA, _divSA,
5875 _divUQQ, _divUHQ, _divUHA, _divUSA.
5876
21ebaa24 58772013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
c48df545 5878
9a5788ea 5879 * config.host(microblaze*-linux*): tmake_file: Remove
c48df545 5880 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
5881 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
5882 to exclude functions from being built with libgcc.c and use
5883 the microblaze assembly.
5884
21ebaa24 58852013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
98f2ac05 5886
5887 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
5888 extra_parts.
5889
ee4d7d9e 58902013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
5891
5892 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
5893 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
5894 __UINTPTR_TYPE__; also cast 'base' to the same type before the
5895 alignment operation.
5896
7deea711 58972013-01-15 Sofiane Naci <sofiane.naci@arm.com>
5898
5899 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
5900 loop start address for cache clearing.
5901
0dff9558 59022013-01-14 Georg-Johann Lay <avr@gjlay.de>
5903
5904 * config/avr/lib1funcs.S: Remove trailing blanks.
5905 * config/avr/lib1funcs-fixed.S: Ditto.
5906
d8ff1e9a 59072013-01-14 Georg-Johann Lay <avr@gjlay.de>
5908
5909 * config/avr/avr-lib.h: Add GPL copyright notice.
5910
dd509879 59112013-01-14 Georg-Johann Lay <avr@gjlay.de>
5912
5913 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
5914 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
5915 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
5916 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
5917
6e029611 59182013-01-07 Mark Kettenis <kettenis@openbsd.org>
5919
5920 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
5921 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
51918e06 5922
409ad634 59232013-01-04 Nick Clifton <nickc@redhat.com>
5924
5925 * config/v850/lib1funcs.S: Only provide CALLT support functions if
5926 the CALLT instruction is supported.
5927
1d384e02 59282012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
5929
5930 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
5931 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
5932
cc4b03ac 59332012-12-13 John Tytgat <John@bass-software.com>
5934
5935 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
5936 is 25.
5937
990457e2 59382012-12-12 Jakub Jelinek <jakub@redhat.com>
5939
5940 PR libgcc/55451
5941 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
5942 undefined signed overflows.
5943
db6a9a70 59442012-12-09 Uros Bizjak <ubizjak@gmail.com>
5945
5946 PR target/55344
5947 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
5948
038a6cd9 59492012-12-06 Uros Bizjak <ubizjak@gmail.com>
5950
5951 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
5952 (FP_TRAPPING_EXCEPTIONS): Define.
5953 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
5954 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
5955
ef5f15fb 59562012-12-04 Richard Henderson <rth@redhat.com>
5957
5958 PR bootstrap/55571
5959 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
5960
92e91d03 59612012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
09ef8b8d 5962
038a6cd9 5963 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
09ef8b8d 5964 (FP_EX_SHIFT): Define.
5965 (FP_TRAPPING_EXCEPTIONS): Define.
5966
92e91d03 59672012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
1caca546 5968
5969 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
5970 (FP_ROUNDMODE): Use FP_RND_MASK.
5971 * config/aarch64/sfp-exceptions.c: New.
5972 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
5973 Use __sfp_handle_exceptions.
5974
6a11e52b 59752012-12-04 Richard Earnshaw <rearnsha@arm.com>
5976
5977 * config.host: (arm*-*-freebsd*): Remove.
5978 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
5979 (arm*-*-elf*): Remove.
5980 (arm*-*-wince-pe*): Remove.
5981 * arm/unwind-arm.c (struct fpa_reg): Delete.
5982 (struct fpa_regs): Delete.
5983 (phase1_vrs): Remove fpa element.
5984 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
5985 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
5986 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
5987 * ieee754-sf.S (floatundisf): Remove FPA support.
5988 (floatdisf): Likewise.
5989 * ieee75f-df.S (floatundidf): Likewise.
5990 (floatdidf): Likewise.
5991
a92cf445 59922012-11-29 Kai Tietz <ktietz@redhat.com>
5993
5994 PR target/55445
5995 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
5996 * unwind-generic.h: Likewise.
5997 * unwind-seh.c: Likewise.
5998
f0b6dfa6 59992012-11-28 Richard Henderson <rth@redhat.com>
6000
6001 PR libgcc/48076
6002 * emutls.c (__emutls_get_address): Avoid race condition between
6003 obj->loc.offset read and emutls_key initialization.
038a6cd9 6004
c8ec4eb6 60052012-11-22 Georg-Johann Lay <avr@gjlay.de>
6006
6007 Adjust decimal point of signed accum mode to GCC default.
6008
6009 PR target/54222
6010 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
6011 _divqq_helper.
6012 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
6013 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
6014 (__mulha3, __mulsa3)
6015 (__divqq3, __divha3, __divsa3): Adjust to new position of
038a6cd9 6016 decimal point of signed accum types.
6017
c8ec4eb6 6018 (__mulusa3_round): New function.
6019 (__mulusa3): Use it.
6020 (__divqq_helper): New function.
6021 (__udivuqq3): Use it.
6022
ca8c4cb9 60232012-11-20 Jakub Jelinek <jakub@redhat.com>
6024
6025 PR bootstrap/55370
6026 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
6027
5d2fca09 60282012-11-18 Teresa Johnson <tejohnson@google.com>
6029
6030 PR bootstrap/55051
6031 * libgcov.c (gcov_exit): Remove merged program summary
6032 comparison unless !GCOV_LOCKED.
6033
92e91d03 60342012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
bfc20a3e 6035
6036 * soft-fp: Updated from glibc upstream.
6037
20f6e7a3 60382012-11-06 Ian Lance Taylor <iant@google.com>
6039
6040 * generic-morestack.c (__generic_morestack): Align the returned
6041 stack pointer to a 32 byte boundary.
6042 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
6043 increment the return address until we have decided that we don't
6044 have a varargs function.
6045 (__morestack) [32-bit]: Align stack correctly when calling C
6046 functions.
6047 (__morestack) [64-bit]: Likewise.
6048
97bd2465 60492012-11-04 Thomas Schwinge <thomas@codesourcery.com>
6050
6051 * configure: Regenerate.
6052
d152ae90 60532012-11-02 Uros Bizjak <ubizjak@gmail.com>
6054
6055 PR target/55175
6056 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
6057 * config/i386/sfp-machine.h: Guard exception handling
6058 code with _SOFT_FLOAT.
6059 * config/i386/32/sfp-machine.h: Guard rounding handling
6060 code with _SOFT_FLOAT.
6061 * config/i386/64/sfp-machine.h: Ditto.
6062
0cd8c088 60632012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
6064
6065 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
6066 as extra_parts.
6067
113702f6 60682012-10-26 Uros Bizjak <ubizjak@gmail.com>
6069
6070 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
6071 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
6072 when appropriate. Correct structure element types.
6073 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
6074 -minline-all-stringops from compile flags.
6075
92e91d03 60762012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
00b706f9 6077
6078 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
6079
92e91d03 60802012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
57380e33 6081
113702f6 6082 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
57380e33 6083
a2397d15 60842012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
6085
6086 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
6087 tmake_file.
6088
1b3d2097 60892012-10-23 Ian Bolton <ian.bolton@arm.com>
6090 Jim MacArthur <jim.macarthur@arm.com>
6091 Marcus Shawcroft <marcus.shawcroft@arm.com>
6092 Nigel Stephens <nigel.stephens@arm.com>
6093 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
6094 Richard Earnshaw <rearnsha@arm.com>
6095 Sofiane Naci <sofiane.naci@arm.com>
6096 Stephen Thomas <stephen.thomas@arm.com>
6097 Tejas Belagod <tejas.belagod@arm.com>
6098 Yufeng Zhang <yufeng.zhang@arm.com>
6099
6100 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
6101 * config/aarch64/crti.S: New file.
6102 * config/aarch64/crtn.S: New file.
6103 * config/aarch64/linux-unwind.h: New file.
6104 * config/aarch64/sfp-machine.h: New file.
6105 * config/aarch64/sync-cache.c: New file.
6106 * config/aarch64/t-aarch64: New file.
6107 * config/aarch64/t-softfp: New file.
6108
cfdcf688 61092012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
6110
6111 * config/mmix/crti.S: Mark program and data addresses using PRELD.
6112 Remove typo'd and unnecessary alignment-LOC for .data. Remove
6113 no-longer-needed LDBU insns.
6114
92e91d03 61152012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
598ebe3d 6116
6117 * config.host
6118 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
6119 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
6120
530c2b2e 61212012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
6122
6123 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
6124
f49eb158 61252012-10-15 Matthias Klose <doko@ubuntu.com>
6126
6127 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
6128
017f22df 61292012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
6130
6131 * configure: Regenerate.
6132 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
6133
da8b7497 61342012-10-10 Uros Bizjak <ubizjak@gmail.com>
6135
6136 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
6137 instructions for 64bit targets only.
6138
19a23012 61392012-10-10 Uros Bizjak <ubizjak@gmail.com>
6140
6141 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
6142 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
6143 * config/i386/32/sfp-machine.h: ... here.
6144 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
6145 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
6146 New defines.
6147
a32dc74a 61482012-10-07 Matthias Klose <doko@ubuntu.com>
6149
6150 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
6151 as unused.
6152 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
6153
81ae3d37 61542012-10-06 Mark Kettenis <kettenis@openbsd.org>
6155
6156 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
6157 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
6158 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
6159 (ElfW): Likewise.
6160
4e6a7cfc 61612012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
6162
6163 PR other/53889
6164 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
6165 Fix parameter names.
6166
7cc401e3 61672012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
6168
6169 PR target/33135
6170 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
6171 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
6172 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
6173
cfaba078 61742012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
6175
6176 PR target/50457
6177 * config/sh/linux-atomic.S: Delete.
6178 * config/sh/linux-atomic.c: New.
6179 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
6180 linux-atomic.c. Add cflags to disable warnings.
6181
4854adab 61822012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
6183
6184 PR other/53889
6185 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
6186 function.
6187 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
6188 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
6189 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
6190 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
4e6a7cfc 6191 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
6192 Likewise.
4854adab 6193 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
6194 Likewise.
6195 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
6196 Likewise.
6197 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
6198 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
6199
07cf7615 62002012-09-19 Mark Kettenis <kettenis@openbsd.org>
6201
cfaba078 6202 * config.host (hppa-*-openbsd*): New target.
6203 * config/pa/t-openbsd: New file.
07cf7615 6204
b4ebb666 62052012-09-15 Georg-Johann Lay <avr@gjlay.de>
6206
6207 PR target/54222
6208 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
6209 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
6210 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
6211 (__divsa3): Use __negsi2 to negate r_quoL.
6212 * config/avr/lib1funcs.S (FALIAS): New macro.
6213 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
6214 (__negsi2): ...this new function.
6215 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
6216 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
6217 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
6218 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
6219 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
6220 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
6221
6e7c6395 62222012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
6223
6224 PR target/54089
6225 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
6226 (lshrsi3): Reimplement as lshrsi3_r0.
6227
5e847ded 62282012-09-10 Andreas Schwab <schwab@linux-m68k.org>
6229
6230 PR target/46191
6231 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
6232 of libgcc.a.
6233
7995ce5f 62342012-09-07 Teresa Johnson <tejohnson@google.com>
6235
cfaba078 6236 PR gcov-profile/54487
7995ce5f 6237 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
cfaba078 6238 differences.
7995ce5f 6239
fd28e216 62402012-09-05 Georg-Johann Lay <avr@gjlay.de>
6241
6242 PR target/54461
6243 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
6244 not configured --with-avrlibc=no.
6245 * config/avr/t-avrlibc: New file.
6246 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
6247 (DPBIT_FUNCS): Ditto.
6248 (TPBIT_FUNCS): Ditto.
6249
2688cb90 62502012-09-04 Teresa Johnson <tejohnson@google.com>
6251
6252 * libgcov.c (struct gcov_summary_buffer): New structure.
6253 (gcov_histogram_insert): New function.
6254 (gcov_compute_histogram): Ditto.
6255 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
6256 histograms during summary merging.
6257
51796b3a 62582012-09-01 Mark Kettenis <kettenis@openbsd.org>
6259
6260 * config.host (x86_64-*-openbsd*): New target.
d152ae90 6261
d36db932 62622012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
6263
6264 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
6265 attribute.
6266
d87654c8 62672012-08-24 Georg-Johann Lay <avr@gjlay.de>
6268
6269 PR target/54222
6270 * config/avr/t-avr (conv_X): Rename to func_X.
6271
017c5b98 62722012-08-24 Georg-Johann Lay <avr@gjlay.de>
6273
6274 PR target/54222
6275 * config/avr/lib1funcs-fixed.S: New file.
6276 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
6277 after they are used.
6278 (neg2, neg4): New macros.
6279 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
6280 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
6281 (__umulhisi3): Speed up MUL variant if there is enough flash.
6282 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
6283 avr-modes.def.
6284 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
6285 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
6286 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
6287 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
6288 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
6289 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
6290 (LIB2FUNCS_EXCLUDE): Add supported functions.
6291
65bcd545 62922012-08-22 Georg-Johann Lay <avr@gjlay.de>
6293
6294 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
6295 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
6296 libgcc-s-objects.
6297 * fixed-obj.mk: Only expand dependency if $o is not in
6298 LIB2FUNCS_EXCLUDE.
6299
39166195 63002012-08-22 H.J. Lu <hongjiu.lu@intel.com>
6301
6302 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
6303
b78f422e 63042012-08-22 Joseph Myers <joseph@codesourcery.com>
6305
6306 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
6307 depend on --enable-shared.
6308 ($(lib1asmfuncs-o)): Use %.vis files independent of
6309 --enable-shared.
6310 * static-object.mk ($(base)$(objext), $(base).vis)
6311 ($(base)_s$(objext)): Use same rules for visibility handling as in
6312 shared-object.mk.
6313
66ef0f44 63142012-08-21 Ian Lance Taylor <iant@google.com>
6315
6316 * config/i386/morestack.S (__morestack_non_split): Increase amount
6317 of space allocated for non-split code stack.
6318
93547515 63192012-08-19 Joseph Myers <joseph@codesourcery.com>
6320
6321 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
6322 even if inhibit_libc.
6323
98d22b3c 63242012-08-17 Julian Brown <julian@codesourcery.com>
6325
6326 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
6327 -fexceptions -fnon-call-exceptions if not defined.
6328 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
6329 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
6330
2076ec4b 63312012-08-17 Andreas Schwab <schwab@linux-m68k.org>
6332
6333 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
6334 type.
6335
c1420b84 63362012-08-16 David Edelsohn <dje.gcc@gmail.com>
6337
6338 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
6339 rs6000/t-slibgcc-aix.
6340
ae5b70d0 63412012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
6342
6343 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
6344
4ff70f1c 63452012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
6346
6347 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
6348
464810a0 63492012-08-03 H.J. Lu <hongjiu.lu@intel.com>
6350
6351 PR driver/54171
6352 * Makefile.in (version): Replace top_srcdir with srcdir.
6353
d2c6da38 63542012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
6355
6356 * Makefile.in (version): set to BASE-VER file from gcc directory.
6357
a575acb2 63582012-08-01 Nick Clifton <nickc@redhat.com>
6359
6360 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
6361 Implements __clrsb for an HImode argument.
6362
3a44f5e6 63632012-07-31 Nick Clifton <nickc@redhat.com>
6364
6365 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
6366 Implements __clrsb for an HImode argument.
6367 * config/stormy16/clrsbhi2.c: New file:
6368 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
6369
56b17dd7 63702012-07-22 Steven Bosscher <steven@gcc.gnu.org>
6371
6372 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
6373
8ad0b530 63742012-07-19 Tristan Gingold <gingold@adacore.com>
6375 Richard Henderson <rth@redhat.com>
6376
6377 * unwind-seh.c: New file.
6378 * unwind-generic.h: Include windows.h for SEH.
6379 (_Unwind_Exception): Use 6 private fields for SEH.
6380 (_GCC_specific_handler): Declare.
6381 * unwind-c.c (__gcc_personality_seh0): New function.
6382 Adjust for SEH.
6383 * config/i386/libgcc-cygming.ver: New file.
6384 * config/i386/t-seh-eh: New file.
6385 * config.host (x86_64-*-mingw*): Default to seh.
6386
017bf976 63872012-07-14 Steven Bosscher <steven@gcc.gnu.org>
6388
6389 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
6390
6f24586e 63912012-06-17 Uros Bizjak <ubizjak@gmail.com>
6392
6393 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
6394 __builtin_expect when checking for exceptions.
6395 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
6396
1927db1f 63972012-06-13 Uros Bizjak <ubizjak@gmail.com>
6398
7b9088d5 6399 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
6400 function declaration.
6401 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
6402 (FP_RND_MASK): New.
6403 * config/ia64/sfp-exceptions.c: New.
6404 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
1927db1f 6405
c3576308 64062012-06-13 Uros Bizjak <ubizjak@gmail.com>
6407
6408 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
6409 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
6410 * config/i386/64/sfp-machine: ... (delete here) ...
6411 * config/i386/sfp-machine.h: ... to here.
6412 (FP_EX_MASK): Remove.
6413 (FP_RND_MASK): New.
6414 (FP_INIT_ROUNDMODE): Declare asm as volatile.
6415
725b956c 64162012-06-11 Sriraman Tallam <tmsriram@google.com>
6417
6418 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
6419 * config/i386/libgcc-sol2.ver: Ditto.
6420 * config/i386/libgcc-glibc.ver: Ditto.
6421
026e608e 64222012-06-11 Roland McGrath <mcgrathr@google.com>
6423
6424 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
6425 If __GLIBC__ is defined, refer to __pthread_key_create instead of
6426 pthread_cancel.
6427
2c223cf2 64282012-06-09 Uros Bizjak <ubizjak@gmail.com>
6429
6430 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
6431 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
6432 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
6433 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
6434 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
6435 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
6436 * config/i386/64/sfp-machine: ... (delete here) ...
6437 * config/i386/sfp-machine.h: ... to here.
6438 (FP_EX_MASK): New.
6439 (__sfp_handle_exceptions): New function declaration.
6440 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
6441 * config/i386/sfp-exceptions.c: New.
6442 * config/i386/t-softfp: New.
6443 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
6444 i386/t-softfp to tmake_file.
6445
620803f2 64462012-06-03 David S. Miller <davem@davemloft.net>
6447
6448 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
6449 change.
6450
38ef0978 64512012-05-31 David S. Miller <davem@davemloft.net>
6452
6453 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
6454 multiply and divide instructions on 32-bit when V9.
6455 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
6456
e1c346e5 64572012-05-29 Joseph Myers <joseph@codesourcery.com>
6458
6459 * config/arm/ieee754-df.S: Fix typos.
6460 * config/arm/ieee754-sf.S: Fix typos.
6461 * config/c6x/libunwind.S: Fix typos.
6462 * config/epiphany/udivsi3-float.c: Fix typos.
6463 * config/microblaze/muldi3_hard.S: Fix typos.
6464 * config/picochip/adddi3.S: Fix typos.
6465 * config/picochip/ashlsi3.S: Fix typos.
6466 * config/picochip/ashrsi3.S: Fix typos.
6467 * config/picochip/clzsi2.S: Fix typos.
6468 * config/picochip/cmpsi2.S: Fix typos.
6469 * config/picochip/divmod15.S: Fix typos.
6470 * config/picochip/divmodhi4.S: Fix typos.
6471 * config/picochip/divmodsi4.S: Fix typos.
6472 * config/picochip/longjmp.S: Fix typos.
6473 * config/picochip/lshrsi3.S: Fix typos.
6474 * config/picochip/parityhi2.S: Fix typos.
6475 * config/picochip/popcounthi2.S: Fix typos.
6476 * config/picochip/setjmp.S: Fix typos.
6477 * config/picochip/subdi3.S: Fix typos.
6478 * config/picochip/ucmpsi2.S: Fix typos.
6479 * config/picochip/udivmodhi4.S: Fix typos.
6480 * config/picochip/udivmodsi4.S: Fix typos.
6481 * config/spu/divv2df3.c: Fix typos.
6482 * config/spu/mfc_multi_tag_release.c: Fix typos.
6483 * config/spu/mfc_tag_release.c: Fix typos.
6484 * configure.ac: Fix typos.
6485 * configure: Regenerate.
6486
4bb0c596 64872012-05-25 Ian Lance Taylor <iant@google.com>
6488
6489 * config/i386/morestack.S (__morestack_non_split): Check whether
6490 caller is varargs and needs %bp to hold the stack frame on return.
6491
05b6028a 64922012-05-25 Olivier Hainque <hainque@adacore.com>
6493
6494 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
6495 sequence in the non pic case on VxWorks.
6496
de055a8b 64972012-05-24 Olivier Hainque <hainque@adacore.com>
6498
05c265fe 6499 * Makefile.in: Move dependency on install-unwind_h from
de055a8b 6500 "install-leaf" to "install".
6501
511797dd 65022012-05-24 Olivier Hainque <hainque@adacore.com>
6503
6504 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
6505 Use a separate command for stamp removals.
6506
c05436a7 65072012-05-21 Andrew Pinski <apinski@cavium.com>
6508
6509 PR bootstrap/53183
6510 * configure.ac: Define the default includes to being none.
6511 * configure: Regenerate.
6512
0e0bcebd 65132012-05-16 Olivier Hainque <hainque@adacore.com>
6514
6515 * Makefile.in (install-unwind_h): Rename into ...
6516 (install-unwind_h-forbuild): New target.
6517 (all): Use it instead of the former install-unwind_h.
6518 (install-unwind_h): Reinstate, copy to user install destination
6519 for include files, not to the internal gcc object directory one.
6520 (install-leaf): Depend on it.
6521
4ea72f7b 65222012-05-15 Olivier Hainque <hainque@adacore.com>
6523
6524 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
6525 register numbers. LR_REGNO replaces R_LR.
6526 (ucontext_for): New, helper for ...
6527 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
6528 and 5.3 of ...
6529 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
6530
98c9b52b 65312012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6532
6533 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
6534 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
6535 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
6536 i386/t-cpuinfo ...
6537 (i[34567]86-*-*, x86_64-*-*): ... here.
6538
6539 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
6540 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
6541
6542 * config/i386/i386-cpuinfo.c: Rename to ...
6543 * config/i386/cpuinfo.c: ... this.
6544 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
6545
6546 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
6547 (libgcc_cv_init_priority): New test.
6548 * configure: Regenerate.
6549 * config.in: New file.
6550 * Makefile.in (clean): Rename config.h to auto-target.h.
6551 (config.h): Likewise.
6552 (stamp-h): Likewise.
6553
6554 * config/i386/cpuinfo.c (auto-target.h): Include.
6555 (CONSTRUCTOR_PRIORITY): Define.
6556 (__cpu_indicator_init): Use it.
6557
a7534247 65582012-05-09 H.J. Lu <hongjiu.lu@intel.com>
6559
6560 * longlong.h: Use a URL instead of an FSF postal address.
6561 Replace spaces with tab.
6562
7b9088d5 65632012-05-08 Teresa Johnson <tejohnson@google.com>
4ef7becb 6564
6565 * libgcov.c (gcov_clear, __gcov_reset): New functions.
6566 (__gcov_dump): Ditto.
6567 (gcov_dump_complete): New global variable.
6568 (gcov_exit): Export hidden to enable use in L_gcov_dump.
6569 (__gcov_flush): Outline functionality now in gcov_clear.
6570 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
6571
416e60e6 65722012-04-28 Aurelien Jarno <aurelien@aurel32.net>
6573
4bb0c596 6574 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
6575 (mips*-*-linux*): Include mips/t-tpbit when long double is
6576 16 bytes long.
416e60e6 6577
d79cfc15 65782012-04-25 Sriraman Tallam <tmsriram@google.com>
6579
6580 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
6581 (get_available_features): New argument. Check for AVX2.
6582 (__cpu_indicator_init): Modify call to get_available_features.
6583
cef20746 65842012-04-25 Alan Modra <amodra@gmail.com>
6585
6586 * config/rs6000/crtsavevr.S: New file.
6587 * config/rs6000/crtrestvr.S: New file.
6588 * config/rs6000/t-savresfgpr: Build the above.
6589 * config/rs6000/t-netbsd: Likewise.
6590
0a166714 65912012-04-24 Sriraman Tallam <tmsriram@google.com>
6592
6593 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
6594
f0fd108f 65952012-04-24 Sriraman Tallam <tmsriram@google.com>
6596
6597 * libgcc/config/i386/i386-cpuinfo.c: New file.
6598 * libgcc/config/i386/t-cpuinfo: New file.
6599 * libgcc/config.host: Include t-cpuinfo.
6600 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
6601
394bef3f 66022012-04-24 Chao-ying Fu <fu@mips.com>
6603
6604 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
6605
5617a3db 66062012-04-20 Thomas Schwinge <thomas@codesourcery.com>
6607
6608 struct siginfo vs. siginfo_t
6609
6610 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
6611 siginfo_t instead of struct siginfo.
6612 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
6613 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
6614 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
6615 (ia64_handle_unwabi): Likewise.
6616 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
6617 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
6618 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
6619 (sh_fallback_frame_state): Likewise.
6620 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
6621 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
6622
49a280b5 66232012-04-02 H.J. Lu <hongjiu.lu@intel.com>
6624
6625 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
6626 system call number.
6627
6c760a69 66282012-03-31 Eric Botcazou <ebotcazou@adacore.com>
6629
6630 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
6631 if it hasn't been previously saved.
6632
59e4072c 66332012-03-29 H.J. Lu <hongjiu.lu@intel.com>
6634
6635 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
6636 only for glibc.
6637
d32d7e3a 66382012-03-28 Georg-Johann Lay <avr@gjlay.de>
6639
6640 PR target/52737
6641 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
6642 instead of __AVR_HAVE_8BIT_SP__.
6643
6aadb6e2 66442012-03-26 Tristan Gingold <gingold@adacore.com>
6645
6646 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
6647 (unw_table_entry): Use unw_word instead of unsigned long.
6648 (_Unwind_FindTableEntry): Likewise.
6649 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
6650 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
6651 (_Unwind_FindTableEntry): Likewise.
6652 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
6653 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
6654 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
6655 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
6656 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
6657 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
6658 (uw_init_context_1, uw_install_context): Likewise.
6659 (unw_word): Move to unwind-ia64.h
6660
784576c7 66612012-03-26 Tristan Gingold <gingold@adacore.com>
6662
6663 * config/vms/vms-ucrt0.c: Update copyright years.
6664 Add a sanity check.
6665 (___gcc_main_flags): Declare.
6666 (__main): Check flags to remap argv and exit code.
6667 * config.host (*-*-*vms*): Adjust extra_parts.
6668 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
6669 (crt0.o): Add.
6670
483ac460 66712012-03-22 Richard Earnshaw <rearnsha@arm.com>
6672
6673 * arm/lib1funcs.asm (ctzsi2): New function.
6674 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
6675 * arm/t-linux (LIB1ASMFUNCS): Likewise.
6676 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
6677 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
6678 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
6679 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
6680
bdd1ee48 66812012-03-21 Andreas Tobler <andreast@fgznet.ch>
6682
6683 * config.host: Add bits to support powerpc64-*-freebsd*.
6684 * config/rs6000/freebsd-unwind.h: New file.
6685 * config/rs6000/t-freebsd64: New file.
6686
df85f61c 66872012-03-20 Richard Guenther <rguenther@suse.de>
6688
6689 PR gcov-profile/52627
6690 * libgcov.c (init_mx): Fix mutex name.
6691
46da3ce5 66922012-03-16 Tristan Gingold <gingold@adacore.com>
6693
6694 * config/ia64/vms-unwind.h: Remove ulong (and replace
6695 it by unw_reg where used). Define unw_reg with __int64.
6696
264a5d11 66972012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6698
6699 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
6700 Solaris 8 handling.
6701 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
6702 Solaris 8 handling.
6703 (sparc_is_sighandler): Likewise.
6704
42b3e3d6 67052012-03-13 H.J. Lu <hongjiu.lu@intel.com>
6706
6707 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
6708 <= saved reg size.
6709
c2c4377d 67102012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6711
6712 * config/arm/crtn.S: Fix typo.
6713
3f2da048 67142012-03-13 Richard Guenther <rguenther@suse.de>
6715
6716 * libgcov.c: Remove stdio.h include and NULL un-define.
6717
b4e1521f 67182012-03-13 Richard Guenther <rguenther@suse.de>
6719
6720 PR target/52569
6721 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
6722
1d110375 67232012-03-13 Richard Guenther <rguenther@suse.de>
6724
6725 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
6726
0e6ad699 67272012-03-13 Richard Guenther <rguenther@suse.de>
6728
6729 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
6730 and __gthread_mutex_init_function definitions.
6731
1f7e141e 67322012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6733
6734 * config.host (mips*-*-openbsd*): Remove.
6735
126b6848 67362012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6737
6738 * config.host: Remove alpha*-dec-osf5.1* handling.
6739 * config/alpha/gthr-posix.c: Remove.
6740 * config/alpha/libgcc-osf5.ver: Remove.
6741 * config/alpha/osf5-unwind.h: Remove.
6742 * config/alpha/t-osf-pthread: Remove.
6743 * config/alpha/t-slibgcc-osf: Remove.
6744 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
6745 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
6746 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
6747 * mkmap-flat.awk: Remove osf_export handling.
6748
2e7d9be1 67492012-03-12 Richard Guenther <rguenther@suse.de>
6750
6751 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
6752 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
6753 (__gthread_mutex_init_function): New function.
6754 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
6755
6756 PR gcov/49484
6757 * libgcov.c: Include gthr.h.
6758 (__gcov_flush_mx): New global variable.
6759 (init_mx, init_mx_once): New functions.
6760 (__gcov_flush): Protect self with a mutex.
6761 (__gcov_fork): Re-initialize mutex after forking.
6762 * unwind-dw2-fde.c: Change condition under which to use
6763 __GTHREAD_MUTEX_INIT_FUNCTION.
6764
8f852c44 67652012-03-12 Tristan Gingold <gingold@adacore.com>
6766
6767 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
6768 * config/ia64/t-vms: Likewise.
6769
04d5d0ad 67702012-03-11 Michael Hope <michael.hope@linaro.org>
6771
7b9088d5 6772 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
6773 for Thumb-2.
04d5d0ad 6774
3d14844b 67752012-03-07 Walter Lee <walt@tilera.com>
6776
6777 * config/tilepro/atomic.c: Rename "atomic_" prefix to
6778 "arch_atomic_".
6779 (atomic_xor): Rename and move definition to
6780 config/tilepro/atomic.h.
6781 (atomic_nand): Ditto.
6782 * config/tilepro/atomic.h: Rename "atomic_" prefix to
6783 "arch_atomic_".
6784 (arch_atomic_xor): Move from config/tilepro/atomic.c.
6785 (arch_atomic_nand): Ditto.
6786
3abce231 67872012-03-07 Georg-Johann Lay <avr@gjlay.de>
6788
6789 PR target/52507
6790 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
6791
ee3ce577 67922012-03-07 Georg-Johann Lay <avr@gjlay.de>
6793
6794 PR target/52505
6795 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
6796 from RAM.
6797
be20cbdd 67982012-03-07 Georg-Johann Lay <avr@gjlay.de>
6799
6800 PR target/52461
6801 PR target/52508
6802 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
6803 if RAMPZ affects reading from RAM.
6804 (__tablejump_elpm__): Ditto.
6805 (.xload): Ditto.
6806 (__movmemx_hi): Ditto.
6807 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
6808 (__do_global_dtors): Ditto.
6809 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
6810 (__movmemx_hi): Ditto.
6811
e9b46b49 68122012-03-05 Richard Henderson <rth@redhat.com>
6813
6814 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
6815 [ARM] (count_trailing_zeros): Use the builtin.
6816
2da7d23a 68172012-03-01 Kai Tietz <ktietz@redhat.com>
6818
6819 * soft-fp: Imported from glibc upstream.
6820
ed67de04 68212012-02-28 Kai Tietz <ktietz@redhat.com>
6822
6823 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
6824 for mingw-targets as attribute gcc_struct.
6825
154b49cd 68262012-02-28 Ian Lance Taylor <iant@google.com>
6827
6828 * generic-morestack.c (__splitstack_releasecontext): Correct call
6829 to __morestack_release_segments.
6830
8d2259c8 68312012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
6832
6833 PR target/52390
6834 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
6835 for __linux__ when removing signals from __morestack_fullmask.
6836
97e18ae2 68372012-02-23 Georg-Johann Lay <avr@gjlay.de>
6838
6839 PR target/52261
6840 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
6841
c3dd2023 68422012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6843
6844 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
6845 instead of HAVE_INITFINI_ARRAY.
6846 * config/ia64/crtend.S: Likewise.
6847
7ed6dbef 68482012-02-20 Kai Tietz <ktietz@redhat.com>
6849
52cec843 6850 PR libstdc++/52300
6851 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
6852
7ed6dbef 6853 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
6854 to w32-unwind.h header.
6855
6a8f7b8b 68562012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
6857
6858 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
6859 (mips*-*-linux*): Remove t-slibgcc-libgcc.
6860 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
6861 * config/mips/mips16.S (__mips16_rdhwr): Delete.
6862
7db87803 68632012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
6864
6865 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
6866
d114e642 68672012-02-15 Iain Sandoe <iains@gcc.gnu.org>
6868
6869 PR libitm/52220
6870 * config/darwin-crt-tm.c: Correct typo.
154b49cd 6871
b8f45854 68722012-02-15 Iain Sandoe <iains@gcc.gnu.org>
6873 Patrick Marlier <patrick.marlier@gmail.com>
6874
6875 PR libitm/52220
6876 * config/darwin-crt-tm.c: Generate dummy functions.
6877
621d0dd2 68782012-02-15 Iain Sandoe <iains@gcc.gnu.org>
6879 Patrick Marlier <patrick.marlier@gmail.com>
6880
6881 PR libitm/52042
6882 * config/darwin-crt-tm.c (getTMCloneTable): New function.
6883 (__doTMRegistrations): Call it.
154b49cd 6884 (__doTMdeRegistrations): Likewise.
621d0dd2 6885
0b6cf66f 68862012-01-15 Georg-Johann Lay <avr@gjlay.de>
92e91d03 6887 Anatoly Sokolov <aesok@post.ru>
6888 Eric Weddington <eric.weddington@atmel.com>
0b6cf66f 6889
6890 PR target/52261
6891 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
6892 (__epilogue_restores__): Ditto.
6893
99e0a0ad 68942012-02-15 Eric Botcazou <ebotcazou@adacore.com>
6895
6896 PR target/51921
6897 PR target/52205
6898 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
6899 Solaris 11 and slightly reformat.
6900 (sparc_is_sighandler): Likewise.
6901
7ce78e23 69022012-02-14 Walter Lee <walt@tilera.com>
6903
6904 * config.host: Handle tilegx and tilepro.
6905 * config/tilegx/sfp-machine.h: New file.
6906 * config/tilegx/sfp-machine32.h: New file.
6907 * config/tilegx/sfp-machine64.h: New file.
6908 * config/tilegx/t-crtstuff: New file.
6909 * config/tilegx/t-softfp: New file.
6910 * config/tilegx/t-tilegx: New file.
6911 * config/tilepro/atomic.c: New file.
6912 * config/tilepro/atomic.h: New file.
6913 * config/tilepro/linux-unwind.h: New file.
6914 * config/tilepro/sfp-machine.h: New file.
6915 * config/tilepro/softdivide.c: New file.
6916 * config/tilepro/softmpy.S: New file.
6917 * config/tilepro/t-crtstuff: New file.
6918 * config/tilepro/t-tilepro: New file.
6919
f47763a6 69202012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
6921
6922 PR libstdc++/51296
6923 PR libstdc++/51906
6924 * gthr-posix.h: Allow static initializer macros to be disabled.
6925 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
6926
674cb359 69272012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
6928
6929 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
6930 Add t-slibgcc-libgcc to tmake_file.
6931 * config/mips/libgcc-mips16.ver: Revert previous patch.
6932 * config/mips/mips16.S (__mips16_rdhwr): Hide.
6933
92e91d03 69342012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
6935 Jayant R Sonar <jayant.sonar@kpitcummins.com>
b9fdd12b 6936
6937 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
6938 * config/cr16/crti.S: New file.
6939 * config/cr16/crtlibid.S: New file.
6940 * config/cr16/crtn.S: New file.
6941 * config/cr16/lib1funcs.S: New file.
6942 * config/cr16/t-cr16: New file.
6943 * config/cr16/t-crtlibid: New file.
6944 * config/cr16/unwind-dw2.h: New file.
6945 * config/cr16/unwind-cr16.c: New file.
6946 * config/cr16/divmodhi3.c: New file.
6947
01cdc5b2 69482012-01-25 Alan Modra <amodra@gmail.com>
6949
6950 * config/rs6000/t-linux64: Delete. Move..
6951 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
6952 * config/rs6000/t-linux: ..and libgcc flags to here.
6953
af8e12d0 69542012-01-22 Douglas B Rupp <rupp@gnat.com>
6955
6956 * config.host (i[34567]86-*-interix3*):
01cdc5b2 6957 Change triplet to i[34567]86-*-interix[3-9]*.
af8e12d0 6958 * configure: Regenerate.
6959
a657080a 69602012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
6961 Richard Sandiford <rdsandiford@googlemail.com>
6962
6963 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
6964 * config/mips/mips16.S (__mips16_rdhwr): New function.
6965 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
6966
72e76fa0 69672012-01-11 Nathan Sidwell <nathan@acm.org>
6968
6969 * libgcov.c (__gcov_init): Ignore objects with no functions.
6970
ed2541ea 69712012-01-10 Georg-Johann Lay <avr@gjlay.de>
6972
6973 PR target/49868
6974 Extend __pgmx semantics to linearize memory.
6975 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
6976 * config/avr/lib1funcs.S (__xload_1): New function.
6977 (__movmemx_qi, __movmemx_hi): New functions.
6978 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
6979 semantics.
ddf97006 6980
6e647e51 69812012-01-09 Eric Botcazou <ebotcazou@adacore.com>
6982
6983 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
6984 purported sigacthandler address isn't null before dereferencing it.
6985 (sparc_is_sighandler): Likewise.
6986
af185b18 69872012-01-09 Eric Botcazou <ebotcazou@adacore.com>
6988
6989 PR ada/41929
6990 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
6991 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
6992 (sparc_is_sighandler): Likewise.
6993 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
6994
2ff958e6 69952012-01-06 Tristan Gingold <gingold@adacore.com>
6996
6997 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
6998 compatibility thunks...
6999 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
7000 (crtbeginS.o, crtendS.o): ... and these to ...
7001 * config/ia64/t-ia64-elf: ... this new file.
7002 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
7003 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
7004
ce94380e 70052012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7006
7007 * configure: Regenerate.
7008 * config/s390/t-crtstuff: Remove -fPIC.
7009
ca4c7704 70102012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
7011
7012 PR bootstrap/51006
7013 * enable-execute-stack-mprotect.c (getpagesize): Do not define
7014 for NetBSD.
7015
b32bc361 70162012-01-02 Georg-Johann Lay <avr@gjlay.de>
7017
7018 PR target/51345
7019 * config/avr/lib1funcs.S: Remove FIXME comments.
7020 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
7021
83921eda 70222012-01-02 Georg-Johann Lay <avr@gjlay.de>
7023
7024 Implement light-weight DImode support.
7025 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
7026 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
7027 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
7028 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
7029
6071b85b 70302011-12-30 Nathan Sidwell <nathan@acm.org>
7031
7032 * libgcov.c (gcov_crc32): Remove global var.
7033 (free_fn_data): New function.
7034 (buffer_fn_data): Pass in filename, more robust error recovery.
7035 (crc32_unsigned): New function.
7036 (gcov_exit): More robust detection of new program. More robust
7037 error recovery.
7038 (__gcov_init): Do not update program's crc here.
7039
611b540a 70402011-12-21 Tristan Gingold <gingold@adacore.com>
7041
7042 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
7043
ddf97006 70442011-12-21 Ian Lance Taylor <iant@google.com>
7045
7046 * config/i386/morestack.S: Simplify CFI opcodes throughout.
7047
0d84f164 70482011-12-20 Ian Lance Taylor <iant@google.com>
7049
7050 * config/i386/morestack.S (__morestack_non_split): If there is
7051 enough stack space already, don't split. Ask for more stack space
7052 than we required.
7053
d77ac56d 70542011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
7055
7056 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
7057 `sys/sdt.h'.
7058 (_Unwind_DebugHook): New function.
7059 (uw_restore_core_regs): New define.
7060 (unwind_phase2): Use uw_restore_core_regs instead of
7061 restore_core_regs.
7062 (unwind_phase2_forced): Likewise.
7063 (__gnu_Unwind_Resume): Likewise.
7064
80898d14 70652011-12-20 Uros Bizjak <ubizjak@gmail.com>
7066
7067 * config/alpha/linux-unwind.h: Update copyright years.
7068 (MD_FROB_UPDATE_CONTEXT): New define.
7069 (alpha_frob_update_context): New function.
7070
20dbbfaf 70712011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
7072
7073 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
7074 tmake_file rather replacing it.
7075
d42ef213 70762011-12-15 Iain Sandoe <iains@gcc.gnu.org>
7077
7078 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
80898d14 7079 function is not used for PPC64.
d42ef213 7080 (save_world): Amend comments. Update the VRsave mask to reflect the
7081 saved regs.
7082 (rest_world): Update comments, do not clobber r10, do not use r8.
7083 (eh_rest_world_r10): Amend comments, do not use r8.
7084 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
7085 no longer used, move restore of CR and target address to the end of
7086 the routine.
7087
3efc00f6 70882011-12-14 H.J. Lu <hongjiu.lu@intel.com>
7089
7090 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
7091 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
7092
fa0431fa 70932011-12-14 Georg-Johann Lay <avr@gjlay.de>
7094
7095 PR target/49313
7096 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
7097 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
7098
18e6a060 70992011-12-11 Eric Botcazou <ebotcazou@adacore.com>
7100
7101 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
7102
0dcd7d21 71032011-12-09 Georg-Johann Lay <avr@gjlay.de>
7104
7105 PR target/49313
7106 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
7107 * config/avr/lib1funcs.S (__muldi3): New function.
7108
a41e0f2d 71092011-12-06 Andrew Pinski <apinski@cavium.com>
7110
7111 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
7112 size of func_ptr.
7113 (__frame_dummy_init_array_entry): Likewise.
7114
8c8193e1 71152011-12-06 Georg-Johann Lay <avr@gjlay.de>
7116
7117 Forward-port from gcc-4_6-branch r181936 2011-12-02.
7118
7119 PR target/51345
7120 PR target/51002
7121 * config/avr/lib1funcs.S (__prologue_saves__,
7122 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
7123 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
7124
e2306166 71252011-12-04 Iain Sandoe <iains@gcc.gnu.org>
7126
7127 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
7128
61437698 71292011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
7130
7131 PR other/51272
7132 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
7133 (_ITM_deregisterTMCloneTable): Likewise.
7134 (__register_frame_info): Fix unused warning.
7135 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
7136 pthread_default_stacksize_np): Likewise.
7137 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
80898d14 7138
78e515f7 71392011-11-29 DJ Delorie <dj@redhat.com>
7140
7141 * config.host (rl78-*-elf): New case.
7142 * config/rl78: New directory for the Renesas RL78.
7143
adce431d 71442011-11-29 Bernd Schmidt <bernds@codesourcery.com>
7145
7146 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
7147 formatting.
7148
738c50b8 71492011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7150
7151 PR other/51022
7152 * config/rs6000/t-savresfgpr: New file.
7153 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
7154 $(srcdir)/config/rs6000/eabi.S.
7155 * config/rs6000/t-ppccomm-ldbl: Remove.
7156 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
7157 tmake_file.
7158 (powerpc-*-eabispe*): Likewise.
7159 (powerpc-*-eabi*): Likewise.
7160 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
7161 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
7162 to tmake_file, remove rs6000/t-ppccomm-ldbl.
7163 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
7164 tmake_file.
7165 (powerpc-*-eabisim*): Likewise.
7166 (powerpc-*-elf*): Likewise.
7167 (powerpc-*-eabialtivec*): Likewise.
7168 (powerpc-xilinx-eabi*): Likewise.
7169 (powerpc-*-rtems*): Likewise.
7170 (powerpcle-*-elf*): Likewise.
7171 (powerpcle-*-eabisim*): Likewise.
7172 (powerpcle-*-eabi*): Likewise.
7173
bda4944f 71742011-11-27 Ian Lance Taylor <iant@google.com>
7175
7176 * generic-morestack.c (__splitstack_find): Check for NULL old
7177 stack value.
7178 (__splitstack_resetcontext): New function.
7179 (__splitstack_releasecontext): New function.
7180 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
7181
00b708da 71822011-11-27 Iain Sandoe <iains@gcc.gnu.org>
7183
7184 * config/darwin-crt-tm.c: Correct comments, use correct licence.
7185
7c66781a 71862011-11-27 Iain Sandoe <iains@gcc.gnu.org>
7187
7188 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
7189
5bb27b7c 71902011-11-26 Richard Henderson <rth@redhat.com>
7191
7192 * config/m68k/linux-atomic.c: New file.
7193 * config/m68k/t-linux: New file.
7194 * config.host (m68k-uclinux, m68k-linux): Use it.
7195
d9ca835b 71962011-11-26 Richard Henderson <rth@redhat.com>
7197
7198 * crtstuff.c (__TMC_LIST__): Mark used not unused.
7199 (__TMC_END__): Only declare if hidden is available; in the definition,
7200 if hidden is unavailable add a null record.
7201 (deregister_tm_clones, register_tm_clones): New.
7202 (__do_global_dtors_aux, frame_dummy): Use them.
7203 (__do_global_dtors, __do_global_ctors_1): Likewise.
7204
8f8ba4fc 72052011-11-22 Iain Sandoe <iains@gcc.gnu.org>
7206
7207 * config/darwin-crt-tm.c: New file.
7208 * config.host (darwin): Build crttms.o crttme.o to provide
7209 startup and shutdown for tm clones.
7210 * config/t-darwin (crttms.o): New build rule.
7211 (crttme.o): Likewise.
7212
e426aa2b 72132011-11-21 Hans-Peter Nilsson <hp@axis.com>
7214
7215 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
7216 et al.
7217
2d171408 72182011-11-21 Richard Henderson <rth@redhat.com>
7219
7220 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
7221 (__TMC_LIST__, __TMC_END__): New.
7222 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
7223 (__do_global_dtors): Likewise.
7224 (frame_dummy): Call _ITM_registerTMCloneTable.
7225 (__do_global_ctors_1): Likewise.
7226
08417926 72272011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7228
7229 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
7230 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
7231 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
7232 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
7233 * config/i386/t-darwin64: Remove.
7234 * config/sh/t-netbsd (LIB2ADD): Remove.
7235
cde39152 72362011-11-21 Georg-Johann Lay <avr@gjlay.de>
7237
7238 PR target/49313
7239 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
7240 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
7241 * config/avr/lib1funcs.S (wmov): New assembler macro.
7242 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
7243 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
7244 (__udivmod64): New function.
7245 (__negdi2): New function.
7246
30957bde 72472011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
7248
7249 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
7250 *-*-freebsd*aout*): Remove.
7251
a504f092 72522011-11-20 Hans-Peter Nilsson <hp@axis.com>
7253
7254 * static-object.mk (c_flags-$o): Save c_flags.
7255 ($(base)$(objext)): Use it.
7256
31da0b3d 72572011-11-18 Steve Ellcey <sje@cup.hp.com>
7258
7259 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
7260
5bd39e93 72612011-11-18 Georg-Johann Lay <avr@gjlay.de>
7262
7263 PR target/49868
7264 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
7265 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
7266 New functions.
7267
a3bfd5b2 72682011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
7269
7270 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
7271 functions.
80898d14 7272 (aeabi_uidivmod): Likewise.
a3bfd5b2 7273 (umodsi3): Likewise.
7274 (divsi3): Likewise.
7275 (aeabi_idivmod): Likewise.
7276 (modsi3): Likewise.
7277
3512ee5b 72782011-11-16 Tristan Gingold <gingold@adacore.com>
7279
7280 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
7281
4202ef11 72822011-11-15 Georg-Johann Lay <avr@gjlay.de>
7283
7284 PR target/49868
7285 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
7286 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
7287
ab4fdb3d 72882011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
7289
7290 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
7291 tmake_file list.
7292 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
7293 * config/pa/t-stublib64: Delete.
7294
eee57ca7 72952011-11-12 Richard Henderson <rth@redhat.com>
7296
7297 * config/rs6000/linux-unwind.h (frob_update_context): Properly
7298 cast the pointer argument to _Unwind_SetGRPtr.
7299
0c74e0e8 73002011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7301
7302 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
7303
23371076 73042011-11-09 Ian Lance Taylor <iant@google.com>
7305
7306 * generic-morestack.c: Include <string.h>.
7307 (uintptr_type): Define.
7308 (struct initial_sp): Add dont_block_signals field. Reduce size of
7309 extra array by 1.
7310 (allocate_segment): Set prev field to NULL. Don't set
7311 __morestack_current_segment or __morestack_segments.
7312 (__generic_morestack): Update current->prev and *pp after calling
7313 allocate_segment.
7314 (__morestack_block_signals): Don't do anything if
7315 dont_block_signals is set.
7316 (__morestack_unblock_signals): Likewise.
7317 (__generic_findstack): Check for initial_sp == NULL. Add casts to
7318 uintptr_type.
7319 (__splitstack_block_signals): New function.
7320 (enum __splitstack_content_offsets): Define.
7321 (__splitstack_getcontext, __splitstack_setcontext): New functions.
7322 (__splitstack_makecontext): New function.
7323 (__splitstack_block_signals_context): New function.
7324 (__splitstack_find_context): New function.
7325 * config/i386/morestack.S (__morestack_get_guard): New function.
7326 (__morestack_set_guard, __morestack_make_guard): New functions.
7327 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
7328
2d00fffd 73292011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7330
7331 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
7332 (i[34567]86-*-mingw*): ... here.
7333 (x86_64-*-mingw*): ... here.
7334
6886ca41 73352011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7336
7337 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
7338
5014df5d 73392011-11-07 Nathan Sidwell <nathan@acm.org>
7340
7341 * libgcov.c (struct gcov_fn_buffer): New struct.
7342 (buffer_fn_data): New helper.
7343 (gcov_exit): Rework for new gcov data structures.
7344
702a5eec 73452011-11-07 Georg-Johann Lay <avr@gjlay.de>
7346
7347 PR target/49313
7348 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
7349
2219274c 73502011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7351
7352 * config.host (tmake_file): Correct comment.
7353 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
7354 t-libgcc-pic.
7355 (bfin*-uclinux*): Likewise.
7356 (bfin*-linux-uclibc*): Likewise.
7357 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
7358
7359 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
7360 assigning.
7361 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7362 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
7363 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7364 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
7365 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7366 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
7367 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
7368 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7369 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
7370 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
7371 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
7372 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
7373 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
7374
7375 * config/bfin/t-elf: Remove.
7376 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
7377
fbb6f195 73782011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7379
7380 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
7381 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
7382 (lm32-*-elf*, lm32-*-rtems*): Split into ...
7383 (lm32-*-elf*): ... this.
7384 (lm32-*-rtems*): ... and this.
7385 Add to tmake_file.
7386 (m32r-*-rtems*): Add to tmake_file.
7387 (moxie-*-rtems*): Likewise.
7388 (sparc-*-rtems*): Likewise.
7389 Remove t-rtems from tmake_file.
7390 (sparc64-*-rtems*): Likewise.
7391 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
7392 instead.
7393
7336fab9 73942011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7395
7396 PR bootstrap/50982
7397 * config/gthr-posix.h: Move ...
7398 * gthr-posix.h: ... here.
7399 * config/gthr-lynx.h: Reflect this.
7400 * config/gthr-vxworks.h: Likewise.
7401 * config/rs6000/gthr-aix.h: Likewise.
7402 * configure.ac (target_thread_file): Likewise.
7403 * configure: Regenerate.
7404
6c10eb68 74052011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
7406
7407 * config.host (arm*-*-rtemseabi*): New target.
7408
3fe1f35b 74092011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
7410
7411 PR other/50991
7412 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
7413 extra-parts.
7414
d19f5793 74152011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
7416
7417 * config.host (epiphany-*-elf*): New configuration.
7418 * config/epiphany: New Directory.
7419
02c5dcd9 74202011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
7421
7422 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
7423 * config/avr/t-rtems: New.
7424 Filter out _exit from LIB1ASMFUNCS.
7425
f3223c0b 74262011-11-04 David S. Miller <davem@davemloft.net>
7427
7428 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
7429 * configure: Rebuild.
7430
994652ec 74312011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7432
7433 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
7434 variable.
7435
02d9a2c3 74362011-11-04 Georg-Johann Lay <avr@gjlay.de>
7437
7438 PR target/50931
7439 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
7440 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
7441
81b973fe 74422011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
7443
7444 PR target/50989
7445 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
7446
ae1b140e 74472011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7448
7449 * config/c6x/t-elf (LIB2ADDEH): Set.
7450 * config/c6x/t-c6x-elf: Remove.
7451
0a76a5ff 74522011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7453
7454 * config/i386/sol2-ci.S: Rename to ...
7455 * config/i386/crti.S: ... this.
7456 * config/i386/sol2-cn.S: Rename to ...
7457 * config/i386/crtn.S: ... this.
7458 * config/sparc/sol2-ci.S: Rename to ...
7459 * config/sparc/crti.S: ... this.
7460 * config/sparc/sol2-cn.S: Rename to ...
7461 * config/sparc/crtn.S: ... this.
7462 * config/t-sol2 (CUSTOM_CRTIN): Remove.
7463 (crti.o, crtn.o): Remove.
7464
26f2feff 74652011-11-04 Tristan Gingold <gingold@adacore.com>
7466
7467 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
7468
131667b5 74692011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
7470
7471 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
7472
af64ed6f 74732011-11-03 Hans-Peter Nilsson <hp@axis.com>
7474
7475 * config.host (crisv32-*-none, cris-*-none): Remove.
7476 (crisv32-*-elf): Append to tmake_file, don't just set it.
7477 (cris-*-elf): Add missing t-fdpbit to tmake_file.
7478
4dad46bd 74792011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7480
7481 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
7482 (ecrtn$(objext)): Likewise.
7483 (ncrti$(objext)): Likewise.
7484 (ncrtn$(objext)): Likewise.
7485
37626bf8 74862011-11-03 Andreas Schwab <schwab@redhat.com>
7487
7488 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
7489
95de80bc 74902011-11-02 David S. Miller <davem@davemloft.net>
7491
7492 * configure.ac: Set host_address on sparc too.
7493 * configure: Regenerate.
7494 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
7495 based upon host_address.
7496 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
7497
b5347955 74982011-11-02 Jason Merrill <jason@redhat.com>
7499
7500 * config/rs6000/t-ppccomm: Add missing \.
7501
630d52ca 75022011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7503
7504 * gthr-single.h, gthr.h: New files.
7505 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
7506 config/gthr-vxworks.h, config/i386/gthr-win32.h,
7507 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
7508 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
7509 * config/i386/gthr-win32.c: Include "gthr-win32.h".
7510 * configure.ac (thread_header): New variable.
7511 Set it depending on target_thread_file.
7512 (gthr-default.h): Link from $thread_header.
7513 * configure: Regenerate.
7514 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
7515
022a2799 75162011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7517
7518 * configure.ac (tm_file_): New variable.
7519 Determine from tm_file.
7520 (tm_file, tm_defines): Substitute.
7521 * configure: Regenerate.
7522 * mkheader.sh: New file.
7523 * Makefile.in (clean): Remove libgcc_tm.h.
7524 ($(objects)): Depend on libgcc_tm.h.
7525 (libgcc_tm_defines, libgcc_tm_file): New variables.
7526 (libgcc_tm.h, libgcc_tm.stamp): New targets.
7527 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
7528 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
7529 ($(extra-parts)): Depend on libgcc_tm.h.
7530 * config.host (tm_defines, tm_file): New variable.
7531 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
7532 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
7533 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
7534 (avr-*-rtems*): Likewise.
7535 (avr-*-*): Likewise.
7536 (frv-*-elf): Likewise.
7537 (frv-*-*linux*): Likewise.
7538 (h8300-*-rtems*): Likewise.
7539 (h8300-*-elf*): Likewise.
7540 (i[34567]86-*-darwin*): Likewise.
7541 (x86_64-*-darwin*): Likewise.
7542 (rx-*-elf): Likewise.
7543 (tic6x-*-uclinux): Likewise.
7544 (tic6x-*-elf): Likewise.
7545 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
7546 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
7547 * config/i386/cygming-crtbegin.c: Likewise.
7548 * config/i386/cygming-crtend.c: Likewise.
7549 * config/ia64/fde-vms.c: Likewise.
7550 * config/ia64/unwind-ia64.c: Likewise.
7551 * config/libbid/bid_gcc_intrinsics.h: Likewise.
7552 * config/rs6000/darwin-fallback.c: Likewise.
7553 * config/stormy16/lib2funcs.c: Likewise.
7554 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
7555 * crtstuff.c: Likewise.
7556 * dfp-bit.h: Likewise.
7557 * emutls.c: Likewise.
7558 * fixed-bit.c: Likewise.
7559 * fp-bit.c: Likewise.
7560 * generic-morestack-thread.c: Likewise.
7561 * generic-morestack.c: Likewise.
7562 * libgcc2.c: Likewise.
7563 * libgcov.c: Likewise.
7564 * unwind-dw2-fde-dip.c: Likewise.
7565 * unwind-dw2-fde.c: Likewise.
7566 * unwind-dw2.c: Likewise.
7567 * unwind-sjlj.c: Likewise.
7568
4dc4ff49 75692011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7570
7571 * configure.ac: Include ../config/picflag.m4.
7572 (GCC_PICFLAG): Call it.
7573 Substitute.
7574 * configure: Regenerate.
7575 * Makefile.in (gcc_srcdir): Remove.
7576 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
7577 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
7578 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
7579 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
7580 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
7581 Use $<.
7582 Remove comment.
7583 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
7584 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
7585 to refer to libgcc2.c.
7586 Use $<.
7587 * config/darwin-64.c: New file.
7588 * config/darwin-crt3.c: Remove comment.
7589 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
7590 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
7591 config/udivmodsi4.c: New files.
7592 * config/memcmp.c, config/memcpy.c, config/memmove.c,
7593 config/memset.c: New files.
7594 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
7595 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
7596 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
7597 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
7598 * config/t-openbsd-thread: New file.
7599 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
7600 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
7601 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
7602 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
7603 qrnnd.S.
7604 Adapt filename.
7605 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
7606 to refer to gthr-posix.c.
7607 * config/alpha/t-vms (LIB2ADD): Set.
7608 * config/alpha/vms-gcc_shell_handler.c: New file.
7609 * config/arm/bpabi.c, config/arm/fp16.c,
7610 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
7611 config/arm/unaligned-funcs.c: New files.
7612 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
7613 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
7614 * config/arm/t-linux: Likewise.
7615 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
7616 * config/arm/t-netbsd: New file.
7617 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
7618 * config/arm/t-symbian (LIB2ADD_ST): Set.
7619 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
7620 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7621 * config/bfin/t-elf: New file.
7622 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
7623 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
7624 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
7625 config/c6x/ltf.c: New files.
7626 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
7627 (HOST_LIBGCC2_CFLAGS): Set.
7628 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
7629 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7630 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
7631 New files.
7632 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
7633 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
7634 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
7635 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
7636 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
7637 files.
7638 * config/frv/t-frv (LIB2ADD): Set.
7639 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7640 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
7641 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
7642 config/h8300/popcounthi2.c: New files.
7643 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
7644 * config/i386/gthr-win32.c: New file.
7645 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
7646 * config/i386/t-cygwin: Likewise.
7647 * config/i386/t-darwin, config/i386/t-darwin64,
7648 config/i386/t-gthr-win32, config/i386/t-interix: New files.
7649 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
7650 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7651 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7652 * config/ia64/quadlib.c: New file.
7653 * config/ia64/t-hpux (LIB2ADD): Set.
7654 * config/ia64/t-ia64: Add comment.
7655 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
7656 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7657 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
7658 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
7659 * config/m32c/t-m32c (LIB2ADD): Set.
7660 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
7661 * config/m32r/t-m32r: Likewise.
7662 * config/m68k/fpgnulib.c: New file.
7663 * config/m68k/t-floatlib (LIB2ADD): Set.
7664 (xfgnulib.c): New target.
7665 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
7666 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
7667 * config/mep/t-mep (LIB2ADD): Set.
7668 * config/microblaze/divsi3.asm: Rename to divsi3.S.
7669 * config/microblaze/moddi3.asm: Rename to moddi3.S.
7670 * config/microblaze/modsi3.asm: Rename to modsi3.S.
7671 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
7672 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
7673 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
7674 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
7675 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
7676 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
7677 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
7678 New files.
7679 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
7680 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
7681 * config/pa/fptr.c, config/pa/lib2funcs.S,
7682 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
7683 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
7684 (LIB2ADD, LIB2ADD_ST): Set.
7685 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
7686 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
7687 Set.
7688 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
7689 * config/pdp11/t-pdp11: New file.
7690 * config/picochip/libgccExtras/adddi3.S,
7691 config/picochip/libgccExtras/ashlsi3.S,
7692 config/picochip/libgccExtras/ashrsi3.S,
7693 config/picochip/libgccExtras/clzsi2.S,
7694 config/picochip/libgccExtras/cmpsi2.S,
7695 config/picochip/libgccExtras/divmod15.S,
7696 config/picochip/libgccExtras/divmodhi4.S,
7697 config/picochip/libgccExtras/divmodsi4.S,
7698 config/picochip/libgccExtras/lshrsi3.S,
7699 config/picochip/libgccExtras/parityhi2.S,
7700 config/picochip/libgccExtras/popcounthi2.S,
7701 config/picochip/libgccExtras/subdi3.S,
7702 config/picochip/libgccExtras/ucmpsi2.S,
7703 config/picochip/libgccExtras/udivmodhi4.S,
7704 config/picochip/libgccExtras/udivmodsi4.S: New files.
7705 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
7706 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
7707 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
7708 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
7709 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
7710 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
7711 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
7712 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
7713 files.
7714 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
7715 (HOST_LIBGCC2_CFLAGS): Set.
7716 * config/rs6000/t-darwin64: New file.
7717 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
7718 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
7719 * config/rs6000/t-ppccomm (LIB2ADD): Add
7720 $(srcdir)/config/rs6000/tramp.S.
7721 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
7722 Add $(srcdir)/config/rs6000/eabi.S.
7723 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
7724 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
7725 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
7726 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
7727 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
7728 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
7729 * config/rs6000/tramp.S: New file.
7730 * config/s390/t-tpf: Remove.
7731 * config/sh/linux-atomic.S: New file.
7732 * config/sh/t-linux (LIB2ADD): Set.
7733 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
7734 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
7735 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
7736 to unwind-dw2.c.
7737 (HOST_LIBGCC2_CFLAGS): Set.
7738 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7739 * config/spu/divmodti4.c, config/spu/divv2df3.c,
7740 config/spu/float_disf.c, config/spu/float_unsdidf.c,
7741 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
7742 config/spu/mfc_multi_tag_release.c,
7743 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
7744 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
7745 config/spu/multi3.c: New files.
7746 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
7747 (HOST_LIBGCC2_CFLAGS): Set.
7748 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
7749 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
7750 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
7751 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
7752 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
7753 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
7754 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
7755 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
7756 config/stormy16/umodsi3.c: New files.
7757 * config/xtensa/lib2funcs.S: New file.
7758 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
7759 * config/xtensa/t-xtensa (LIB2ADD): Set.
7760 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
7761 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
7762 Add t-freebsd-thread to tmake_file for posix threads.
7763 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
7764 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
7765 (*-*-lynxos*): Likewise.
7766 (*-*-netbsd*): Likewise.
7767 (*-*-openbsd*): Likewise.
7768 Add t-openbsd-thread to tmake_file for posix threads.
7769 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
7770 (*-*-vxworks*): Set tmake_file.
7771 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
7772 (alpha*-*-freebsd*): Likewise.
7773 (alpha*-*-netbsd*): Likewise.
7774 (alpha*-*-openbsd*): Likewise.
7775 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
7776 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
7777 (alpha*-dec-*vms*): Likewise.
7778 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
7779 (bfin*-elf*): Add bfin/t-elf to tmake_file.
7780 (bfin*-uclinux*): Likewise.
7781 (bfin*-linux-uclibc*): Likewise.
7782 (crisv32-*-elf): Add cris/t-cris to tmake_file.
7783 (crisv32-*-none): Likewise.
7784 (cris-*-elf): Likewise.
7785 (cris-*-none): Likewise.
7786 (cris-*-linux*, crisv32-*-linux*): Likewise.
7787 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
7788 tmake_file.
7789 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
7790 tmake_file.
7791 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
7792 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
7793 (x86_64-*-elf*): Likewise.
7794 (i[34567]86-*-nto-qnx*): Likewise.
7795 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
7796 win32 threads.
7797 (x86_64-*-mingw*): Likewise.
7798 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
7799 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
7800 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
7801 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
7802 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
7803 tmake_file.
7804 (mipsisa64sr71k-*-elf*): Likewise.
7805 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
7806 (mips-*-elf*, mipsel-*-elf*): Likewise.
7807 (mips64-*-elf*, mips64el-*-elf*): Likewise.
7808 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
7809 (mips*-*-rtems*): Likewise.
7810 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
7811 to tmake_file.
7812 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
7813 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
7814 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
7815 (spu-*-elf*): Likewise.
7816 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
7817
9213d2eb 78182011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7819
7820 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
7821 $(srcdir) to refer to $(LIB1ASMSRC).
7822 Use $<.
7823 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
7824 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
7825 config/arm/lib1funcs.S: New files.
7826 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
7827 * config/arm/t-arm: New file.
7828 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
7829 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
7830 config/arm/t-strongarm-elf: New files.
7831 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
7832 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
7833 * config/avr/lib1funcs.S: New file.
7834 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7835 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
7836 * config/c6x/lib1funcs.S: New file.
7837 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7838 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
7839 * config/frv/lib1funcs.S: New file.
7840 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7841 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
7842 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
7843 * config/ia64/__divxf3.asm: Rename to ...
7844 * config/ia64/__divxf3.S: ... this.
7845 Adapt lib1funcs.asm filename.
7846 * config/ia64/_fixtfdi.asm: Rename to ...
7847 * config/ia64/_fixtfdi.S: ... this.
7848 Adapt lib1funcs.asm filename.
7849 * config/ia64/_fixunstfdi.asm: Rename to ...
7850 * config/ia64/_fixunstfdi.S: ... this.
7851 Adapt lib1funcs.asm filename.
7852 * config/ia64/_floatditf.asm: Rename to ...
7853 * config/ia64/_floatditf.S: ... this.
7854 Adapt lib1funcs.asm filename.
7855 * config/ia64/lib1funcs.S: New file.
7856 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
7857 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7858 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
7859 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
7860 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
7861 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
7862 * config/mep/lib1funcs.S: New file.
7863 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7864 * config/mips/mips16.S: New file.
7865 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7866 * config/pa/milli64.S: New file.
7867 * config/pa/t-linux, config/pa/t-linux64: New files.
7868 * config/picochip/lib1funcs.S: New file.
7869 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7870 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
7871 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
7872 * config/sh/t-netbsd: New file.
7873 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
7874 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
7875 * config/sh/t-sh64: New file.
7876 * config/sparc/lb1spc.S: New file.
7877 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
7878 filename.
7879 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
7880 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
7881 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
7882 config/xtensa/lib1funcs.S: New files.
7883 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7884 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
7885 tmake_file.
7886 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
7887 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
7888 (arm*-*-linux*): Likewise.
7889 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
7890 arm*-*-linux-*eabi, add arm/t-linux otherwise.
7891 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
7892 (arm*-*-ecos-elf): Likewise.
7893 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
7894 (arm*-*-rtems*): Likewise.
7895 (arm*-*-elf): Likewise.
7896 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
7897 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
7898 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
7899 (bfin*-uclinux*): Likewise.
7900 (bfin*-linux-uclibc*): Likewise.
7901 (bfin*-rtems*): Likewise.
7902 (bfin*-*): Likewise.
7903 (fido-*-elf): Merge into m68k-*-elf*.
7904 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
7905 (frv-*-*linux*): Add frv/t-frv to tmake_file.
7906 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
7907 (h8300-*-elf*): Likewise.
7908 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
7909 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
7910 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
7911 (i[34567]86-*-mingw*): Likewise.
7912 (x86_64-*-mingw*): Likewise.
7913 (i[34567]86-*-interix3*): Likewise.
7914 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
7915 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
7916 (m68k-*-elf*): Also handle fido-*-elf.
7917 Add m68k/t-floatlib to tmake_file.
7918 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
7919 (m68k-*-linux*): Likewise.
7920 (m68k-*-rtems*): Likewise.
7921 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
7922 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
7923 sh64*-*-*.
7924 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
7925 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
7926 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
7927 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
7928 sh/t-netbsd to tmake_file.
7929 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
7930 (sh-*-rtems*): Add sh/t-sh to tmake_file.
7931 (sh-wrs-vxworks): Likewise.
7932 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
7933 *-leon[3-9]*.
7934 (v850*-*-*): Add v850/t-v850 to tmake_file.
7935 (vax-*-linux*): Add vax/t-linux to tmake_file.
7936 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
7937
237490bf 79382011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7939
7940 * crtstuff.c: New file.
7941 * Makefile.in (CRTSTUFF_CFLAGS): Define.
7942 (CRTSTUFF_T_CFLAGS): Define.
7943 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
7944 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
7945 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
7946 crtstuff.c.
7947 Use $<.
7948 (crtbeginT.o): Use $(objext).
7949 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
7950 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
7951 (gcc-extra-parts): Remove.
7952 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
7953 Set extra_parts.
7954 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
7955 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
7956 Add t-crtstuff-pic to tmake_file.
7957 (*-*-lynxos*): New case.
7958 Set tmake_file, extra_parts.
7959 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
7960 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
7961 *-*-netbsdelf[2-9]*.
7962 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
7963 (*-*-rtems*): Set extra_parts.
7964 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
7965 (*-*-uclinux*): New case.
7966 Set extra_parts.
7967 (*-*-vms*): New case.
7968 Set tmake_file, extra_parts.
7969 (*-*-elf): Set extra_parts.
7970 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
7971 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
7972 vms/t-vms64.
7973 Set extra_parts.
7974 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
7975 Set extra_parts.
7976 (arm*-*-freebsd*): Add t-crtin to tmake_file.
7977 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
7978 (arm-wrs-vxworks): Append to tmake_file.
7979 Set extra_parts.
7980 (arm*-*-uclinux*): Set extra_parts.
7981 (arm*-*-ecos-elf): Likewise.
7982 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
7983 arm*-*-eabi*.
7984 (arm*-*-rtems*): Set extra_parts.
7985 (arm*-*-elf): Likewise.
7986 (avr-*-rtems*): Clear extra_parts.
7987 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
7988 Set extra_parts.
7989 (bfin*-uclinux*): Likewise.
7990 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
7991 (bfin*-rtems*): Append to tmake_file.
7992 Set extra_parts.
7993 (bfin*-*): Likewise.
7994 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
7995 (crisv32-*-elf): ... this.
7996 (crisv32-*-none): ... this.
7997 (cris-*-elf, cris-*-none): New cases.
7998 Add cris/t-elfmulti to tmake_file.
7999 (fr30-*-elf): Append to tmake_file.
8000 Set extra_parts.
8001 (frv-*-elf): Append to tmake_file, add frv/t-frv.
8002 Set extra_parts.
8003 (h8300-*-rtems*): Append to tmake_file.
8004 Set extra_parts.
8005 (h8300-*-elf*): Likewise.
8006 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
8007 Set extra_parts.
8008 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
8009 Set extra_parts.
8010 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
8011 (x86_64-*-elf*): Likewise.
8012 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
8013 (x86_64-*-freebsd*): Likewise.
8014 (x86_64-*-netbsd*): Likewise.
8015 (i[34567]86-*-linux*): Likewise.
8016 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
8017 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
8018 (x86_64-*-linux*): Likewise.
8019 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
8020 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
8021 tmake_file.
8022 Set extra_parts.
8023 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
8024 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
8025 Append to extra_parts, remove crtbegin.o, crtend.o.
8026 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
8027 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
8028 crtend.o, crtbeginS.o, crtendS.o.
8029 (ia64*-*-linux*): Comment extra_parts.
8030 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
8031 Set extra_parts.
8032 (iq2000*-*-elf*): Clear extra_parts.
8033 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
8034 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
8035 (m32r-*-elf*, m32r-*-rtems*): Split off ...
8036 (m32r-*-rtems*): ... this.
8037 Add m32r/t-m32r to tmake_file.
8038 (m68k-*-elf*): Add t-crtin to tmake_file.
8039 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
8040 (mcore-*-elf): Likewise.
8041 (microblaze*-*-*): Set extra_parts.
8042 (mips*-sde-elf*): New case.
8043 Set tmake_file, extra_parts.
8044 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
8045 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
8046 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
8047 tmake_file.
8048 Set extra_parts.
8049 (mipsisa64sr71k-*-elf*): Likewise.
8050 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
8051 (mips-*-elf*, mipsel-*-elf*): Likewise.
8052 (mips64-*-elf*, mips64el-*-elf*): Likewise.
8053 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
8054 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
8055 (mips*-*-rtems*): Likewise.
8056 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
8057 (moxie-*-*): Split into ...
8058 (moxie-*-elf, moxie-*-uclinux*): ... this.
8059 Add to extra_parts, remove crtbegin.o, crtend.o.
8060 (moxie-*-rtems*): New case.
8061 Set tmake_file.
8062 Clear extra_parts.
8063 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
8064 Set extra_parts.
8065 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
8066 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
8067 tmake_file.
8068 Set extra_parts.
8069 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
8070 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
8071 Set extra_parts.
8072 (powerpc-*-eabisim*): Likewise.
8073 (powerpc-*-elf*): Likewise.
8074 (powerpc-*-eabialtivec*): Likewise.
8075 (powerpc-xilinx-eabi*): Likewise.
8076 (powerpc-*-eabi*): Likewise.
8077 (powerpc-*-rtems*): Likewise.
8078 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
8079 tmake_file.
8080 Set extra_parts.
8081 (powerpc-*-lynxos*): Add to tmake_file.
8082 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
8083 rs6000/t-crtstuff, t-crtstuff-pic.
8084 Set extra_parts.
8085 (powerpcle-*-eabisim*): Likewise.
8086 (powerpcle-*-eabi*): Likewise.
8087 (rx-*-elf): Remove extra_parts.
8088 (s390x-ibm-tpf*): Set extra_parts.
8089 (score-*-elf): Set extra_parts.
8090 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
8091 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
8092 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
8093 (sh64l*-*-netbsd*): Split into ...
8094 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
8095 Add t-crtstuff-pic to tmake_file.
8096 Set extra_parts.
8097 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
8098 Set extra_parts.
8099 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
8100 (sparc-*-elf*): Remove t-crtin from tmake_file.
8101 Add to extra_parts, remove crtbegin.o, crtend.o.
8102 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
8103 (sparc64-*-linux*): Likewise.
8104 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
8105 Add to extra_parts, remove crtbegin.o, crtend.o.
8106 (sparc64-*-elf*): Remove t-crtin from tmake_file.
8107 Add to extra_parts, remove crtbegin.o, crtend.o.
8108 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
8109 Add to extra_parts, remove crtbegin.o, crtend.o.
8110 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
8111 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
8112 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
8113 Set extra_parts.
8114 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
8115 Set extra_parts.
8116 (tic6x-*-*): Change to ...
8117 (tic6x-*-elf): ... this.
8118 Set extra_parts.
8119 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
8120 Set extra_parts.
8121 (am33_2.0-*-linux*): Add comment.
8122 (mep*-*-*): Add mep/t-mep to tmake_file.
8123 Set extra_parts.
8124 * config/alpha/t-vms: New file.
8125 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
8126 * config/arm/crti.S, config/arm/crtn.S: New files.
8127 * config/bfin/crti.S, config/bfin/crtn.S: New files.
8128 * config/bfin/crtlibid.S: New file.
8129 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
8130 * config/c6x/crti.S, config/c6x/crtn.S: New files.
8131 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
8132 (crti.o, crtin.o): New rules.
8133 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
8134 * config/c6x/t-uclinux: New file.
8135 * config/cris/t-elfmulti: New file.
8136 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
8137 * config/fr30/crti.S, config/fr30/crtn.S: New files.
8138 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
8139 * config/frv/t-frv: New file.
8140 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
8141 * config/h8300/crti.S, config/h8300/crtn.S: New files.
8142 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
8143 New files.
8144 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
8145 refer to cygming-crtbegin.c, cygming-crtend.c.
8146 Use $<.
8147 * config/i386/t-nto: New file.
8148 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
8149 * config/ia64/crti.S, config/ia64/crtn.S: New files.
8150 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
8151 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
8152 Use .S extension.
8153 Use $<.
8154 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
8155 (crtinitS.o): New rule.
8156 * config/ia64/vms-crtinit.S: New file.
8157 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
8158 * config/m32r/initfini.c: New file.
8159 * config/m32r/t-linux, config/m32r/t-m32r: New files.
8160 * config/m68k/crti.S, config/m68k/crtn.S: New files.
8161 * config/mcore/crti.S, config/mcore/crtn.S: New files.
8162 * config/mep/t-mep: New file.
8163 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
8164 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
8165 * config/mips/crti.S, config/mips/crtn.S: New files.
8166 * config/mips/t-crtstuff: New file.
8167 * config/mmix/crti.S, config/mmix/crtn.S: New files.
8168 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
8169 (CUSTOM_CRTIN): Set.
8170 ($(T)crti.o, $(T)crtn.o): Remove $(T),
8171 dependencies.
8172 Use $(srcdir) to refer to crti.S, crtn.S.
8173 Use .S extension, $<.
8174 * config/moxie/crti.asm: Rename to ...
8175 * config/moxie/crti.S: ... this.
8176 * config/moxie/crtn.asm: Rename to ...
8177 * config/moxie/crtn.S: ... this.
8178 * config/moxie/t-moxie: Remove.
8179 * config/pa/stublib.c: New file.
8180 * config/pa/t-stublib, config/pa/t-stublib64: New files.
8181 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
8182 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
8183 * config/rs6000/t-crtstuff: New file.
8184 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
8185 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
8186 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
8187 Make output file explicit.
8188 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
8189 Make output file explicit.
8190 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
8191 Make output file explicit.
8192 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
8193 Make output file explicit.
8194 * config/score/crti.S, config/score/crtn.S: New files.
8195 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
8196 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
8197 files.
8198 * config/sh/t-sh, config/sh/t-superh: New files.
8199 * config/sparc/t-linux64: New file.
8200 * config/spu/cache.S, config/spu/cachemgr.c: New files.
8201 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
8202 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
8203 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
8204 * config/t-crtin: Remove.
8205 * config/t-crtstuff-pic: New file.
8206 * config/t-sol2 (CUSTOM_CRTIN): Set.
8207 (crti.o, crtn.o): New rules.
8208 * config/vms/t-vms: New file.
8209 * config/vms/vms-ucrt0.c: New file.
8210 * config/xtensa/t-elf: New file.
8211
a997b0d8 82122011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8213
8214 * Makefile.in (SHLIB_NM_FLAGS): Set.
8215 * mkmap-flat.awk, mkmap-symver.awk: New files.
8216 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
8217 exceptions.
8218 * configure: Regenerate.
8219 * config/libgcc-glibc.ver: New file.
8220 * config/libgcc-libsystem.ver: New file.
8221 * config/t-libunwind (SHLIB_LC): Set.
8222 * config/t-linux: New file.
8223 * config/t-slibgcc (INSTALL_SHLIB): New.
8224 (SHLIB_INSTALL): Use it.
8225 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
8226 to mkmap-symver.awk.
8227 (SHLIB_MAPFILES): Don't append, adapt pathname.
8228 (SHLIB_VERPFX): Set.
8229 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
8230 to mkmap-symver.awk.
8231 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
8232 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
8233 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
8234 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
8235 to mkmap-flat.awk.
8236 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
8237 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
8238 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
8239 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
8240 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
8241 * config/i386/libgcc-darwin.10.4.ver,
8242 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
8243 New files.
8244 * config/i386/t-darwin: Remove.
8245 * config/i386/t-darwin64: Likewise.
8246 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
8247 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
8248 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
8249 * config/i386/t-linux: New file.
8250 * config/i386/t-mingw32: New file.
8251 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
8252 * config/ia64/t-glibc: Rename to ...
8253 * config/ia64/t-linux: ... this.
8254 (SHLIB_MAPFILES): Set.
8255 * config/ia64/t-glibc-libunwind: Rename to ...
8256 * config/ia64/t-linux-libunwind: ... this.
8257 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
8258 * config/ia64/t-slibgcc-hpux: New file.
8259 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
8260 * config/m68k/t-slibgcc-elf-ver: New file.
8261 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
8262 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
8263 to mkmap-flat.awk.
8264 * config/pa/t-slibgcc-hpux: New file.
8265 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
8266 files.
8267 * config/rs6000/libgcc-darwin.10.4.ver,
8268 config/rs6000/libgcc-darwin.10.5.ver: New files.
8269 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
8270 config/rs6000/libgcc-glibc.ver.
8271 * config/rs6000/libgcc-ppc64.ver: Rename to
8272 config/rs6000/libgcc-ibm-ldouble.ver.
8273 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
8274 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
8275 * config/rs6000/t-ldbl128: Rename to ...
8276 * config/rs6000/t-linux: ... this.
8277 (SHLIB_MAPFILES): Adapt filename.
8278 * config/rs6000/t-slibgcc-aix: New file.
8279 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
8280 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
8281 libgcc-excl.ver, libgcc-glibc.ver.
8282 (SHLIB_LINK, SHLIB_INSTALL): Remove.
8283 * config/sparc/libgcc-glibc.ver: New file.
8284 * config/sparc/t-linux: New file.
8285 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
8286 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
8287 t-slibgcc-elf-ver to tmake_file.
8288 Add t-slibgcc-nolc-override to tmake_file for posix threads on
8289 *-*-freebsd[34].
8290 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
8291 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
8292 t-slibgcc-elf-ver, t-linux to tmake_file.
8293 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
8294 tmake_file.
8295 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
8296 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
8297 (alpha*-dec-*vms*): Likewise.
8298 (arm*-*-freebsd*): Append to tmake_file.
8299 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
8300 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
8301 arm*-*-linux-*eabi.
8302 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
8303 tmake_file for arm*-*-symbianelf*.
8304 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
8305 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
8306 cris/t-linux.
8307 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
8308 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
8309 pa/t-slibgcc-dwarf-ver to tmake_file.
8310 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
8311 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
8312 (hppa*64*-*-hpux11*): Likewise.
8313 (hppa[12]*-*-hpux11*): Likewise.
8314 (x86_64-*-darwin*): Don't override tmake_file, but only keep
8315 i386/t-crtpc, i386/t-crtfm.
8316 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
8317 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
8318 to tmake_file.
8319 Add i386/t-cygwin to tmake_file.
8320 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
8321 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
8322 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
8323 to tmake_file.
8324 Add i386/t-mingw32 to tmake_file.
8325 (x86_64-*-mingw*): Likewise.
8326 (ia64*-*-freebsd*): Append to tmake_file.
8327 (ia64*-*-linux*): Append to tmake_file.
8328 Replace ia64/t-glibc by ia64/t-linux.
8329 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
8330 system libunwind.
8331 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
8332 t-slibgcc-hpux to tmake_file.
8333 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
8334 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
8335 (m32rle-*-linux*): Likewise.
8336 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
8337 sjlj exceptions.
8338 (microblaze*-linux*): New case.
8339 Append to tmake_file, add t-slibgcc-nolc-override.
8340 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
8341 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
8342 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
8343 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
8344 rs6000/t-slibgcc-aix to tmake_file.
8345 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8346 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8347 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
8348 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
8349 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
8350 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
8351 sh*-*-linux*.
8352 (sparc-*-linux*): Append to tmake_file for *-leon*.
8353 Add sparc/t-linux to tmake_file for non-Leon targets.
8354 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
8355 (tic6x-*-uclinux): New case.
8356 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
8357 (tic6x-*-*): Add c6x/t-elf to tmake_file.
8358 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
8359 (am33_2.0-*-linux*): Append to tmake_file.
8360 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
8361 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
8362 x86_64-*-kfreebsd*-gnu.
8363 Add i386/t-linux to tmake_file.
8364
638a95a0 83652011-10-28 Ian Lance Taylor <iant@google.com>
8366
8367 * config/i386/morestack.S: Correct CFI information to do proper
8368 returns throughout function. In 32-bit mode, save %ebx so that it
8369 is restored on unwind.
8370
ef785e44 83712011-10-25 Bernd Schmidt <bernds@codesourcery.com>
8372
8373 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
8374 case where B3 isn't the return register.
8375
19b85223 8376 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
8377 logic for doubleword pops.
8378
70f50eb0 83792011-10-25 Andreas Tobler <andreast@fgznet.ch>
8380
8381 * config/rs6000/t-freebsd: Add wildcard.
8382
ec2b386c 83832011-10-21 Paul Brook <paul@codesourcery.com>
8384
8385 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
8386
b09a3f46 83872011-10-16 Uros Bizjak <ubizjak@gmail.com>
8388 Eric Botcazou <ebotcazou@adacore.com>
8389
8390 PR target/50737
8391 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
8392 fs->signal_frame to 1.
8393
8acdf7c6 83942011-10-07 Ian Lance Taylor <iant@google.com>
8395
8396 * generic-morestack-thread.c: #include <errno.h>.
8397
1780e36e 83982011-10-07 Ian Lance Taylor <iant@google.com>
8399
8400 PR target/46093
8401 * generic-morestack.c (__generic_morestack): Make sure the segment
8402 is large enough for both the stack frame and the copied
8403 parameters.
8404
f57fac72 84052011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8406
8407 PR bootstrap/49804
8408 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
8409 extra_parts.
8410
6ef008f9 84112011-09-28 Nick Clifton <nickc@redhat.com>
8412
8413 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
8414 64-bit doubles are not enabled.
8415 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
8416 and floatunsisf functions.
8417
7e5fc0c4 84182011-09-13 Paul Brook <paul@codesourcery.com>
6ef008f9 8419
7e5fc0c4 8420 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
8421 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
8422 * unwind-arm-common.inc: New file.
8423 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
8424 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
8425 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
8426 * config/c6x/libunwind.S: New file.
8427 * config/c6x/pr-support.c: New file.
8428 * config/c6x/unwind-c6x.c: New file.
8429 * config/c6x/unwind-c6x.h: New file.
8430 * config/c6x/t-c6x-elf: New file.
8431
047a5c56 84322011-08-23 Uros Bizjak <ubizjak@gmail.com>
8433
8434 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
8435 (ASM_DIVZERO): Ditto.
8436 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
8437
985e908e 84382011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
8439
8440 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
8441
c1c81358 84422011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
8443
8444 PR target/50090
8445 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
8446 instead of an assembly one.
8447
7642fc98 84482011-08-12 Paolo Bonzini <bonzini@gnu.org>
8449
8450 PR bootstrap/50047
8451 * Makefile.in (install-unwind_h): Create
8452 $(gcc_objdir)/include/unwind.h atomically.
8453
392bda6f 84542011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8455
8456 * Makefile.in (install-unwind_h): Remove destination file first.
8457
21889c08 84582011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8459
8460 * sync.c: New file.
8461 * config/mips/t-mips16: New file.
8462 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
8463 (mips*-*-linux*): Likewise.
8464 (mips*-sde-elf*): Likewise.
8465 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
8466 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
8467 Add mips/t-mips16 to tmake_file.
8468 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
8469 (mips-*-elf*): Likewise.
8470 (mips64-*-elf*): Likewise.
8471 (mips64orion-*-elf*): Likewise.
8472 (mips*-*-rtems*): Likewise.
8473 (mipstx39-*-elf*): Likewise.
8474 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
8475 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
8476 LIBGCC_SYNC_CFLAGS.
8477 Use $(srcdir) to refer to sync.c.
8478 Use $<.
8479 ($(libgcc-sync-funcs-o)): Likewise.
8480 ($(libgcc-sync-size-funcs-s-o)): Likewise.
8481 ($(libgcc-sync-funcs-s-o)): Likewise.
8482
3569d462 84832011-08-09 Andreas Schwab <schwab@linux-m68k.org>
8484
8485 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
8486 t-libunwind.
8487
e451a093 84882011-08-08 H.J. Lu <hongjiu.lu@intel.com>
8489
8490 PR other/48007
8491 * config/i386/value-unwind.h: New.
8492
ab3bed33 84932011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
8494
8495 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
8496 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
8497 Add to tmake_file rather than overriding it.
8498
84600db5 84992011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8500
8501 * config/t-softfp: Remove.
8502 * soft-fp: Moved from ../gcc/config.
8503 * soft-fp/README: Remove t-softfp reference.
8504 * soft-fp/t-softfp: Move to config/t-softfp.
8505 (softfp_machine_header): Remove.
8506 (softfp_file_list): Remove config subdir.
8507 (soft-fp-objects): New variable.
8508 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
8509 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
8510 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
8511 * config/t-softfp-excl: New file.
8512 * config/t-softfp-sfdf: New file.
8513 * config/t-softfp-tf: New file.
8514 * config/no-sfp-machine.h: New file.
8515 * config/arm/sfp-machine.h: New file.
8516 * config/arm/t-softfp: New file.
8517 * config/c6x/sfp-machine.h: New file.
8518 * config/i386/32/t-fprules-softfp: Rename to ...
8519 * config/i386/32/t-softfp: ... this.
8520 (tifunctions, LIB2ADD): Remove.
8521 (softfp_int_modes): Override.
8522 * config/i386/64/t-softfp-compat (tf-functions): Remove config
8523 subdir.
8524 * config/i386/64/eqtf2.c: Likewise.
8525 * config/i386/64/getf2.c: Likewise.
8526 * config/i386/64/letf2.c: Likewise.
8527 * config/ia64/sft-machine.h: New file.
8528 * config/ia64/t-fprules-softfp: Rename to ...
8529 * config/ia64/t-softfp: ... this.
8530 * config/lm32/sfp-machine.h: New file.
8531 * config/moxie/t-moxie-softfp: Remove.
8532 * config/rs6000/ibm-ldouble-format: New file.
8533 * config/rs6000/ibm-ldouble.c: New file.
8534 * config/rs6000/libgcc-ppc-glibc.ver: New file
8535 * config/rs6000/libgcc-ppc64.ver: New file
8536 * config/rs6000/sfp-machine.h: New file.
8537 * config/rs6000/t-freebsd: New file.
8538 * config/rs6000/t-ibm-ldouble: New file.
8539 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
8540 libgcc-ppc-glibc.ver.
8541 * config/rs6000/t-linux64: New file.
8542 * config/rs6000/t-ppccomm (LIB2ADD): Add
8543 $(srcdir)/config/rs6000/ibm-ldouble.c.
8544 * config/rs6000/t-ppccomm-ldbl: New file.
8545 * config/score/sfp-machine.h: New file.
8546 * config.host (sfp_machine_header): Explain.
8547 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
8548 t-softfp to tmake_file.
8549 (arm*-*-uclinux*): Likewise.
8550 (arm*-*-ecos-elf): Likewise.
8551 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
8552 (arm*-*-rtems*): Likewise.
8553 (arm*-*-elf): Likewise.
8554 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
8555 in tmake_file.
8556 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
8557 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
8558 (lm32-*-uclinux*): Likewise.
8559 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
8560 t-softfp-excl, t-softfp.
8561 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
8562 (powerpc64-*-darwin*): Likewise.
8563 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
8564 to tmake_file.
8565 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
8566 tmake_file.
8567 (powerpc-*-eabisim*): Likewise.
8568 (powerpc-*-elf*): Likewise.
8569 (powerpc-*-eabialtivec*): Likewise.
8570 (powerpc-xilinx-eabi*): Likewise.
8571 (powerpc-*-rtems*): Likewise.
8572 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
8573 t-softfp-excl, t-softfp to tmake_file.
8574 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
8575 rs6000/t-ppccomm-ldbl to tmake_file.
8576 (powerpcle-*-elf*): Likewise.
8577 (powerpcle-*-eabisim*): Likewise.
8578 (powerpcle-*-eabi*): Likewise.
8579 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
8580 rs6000/t-ibm-ldouble to tmake_file.
8581 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8582 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8583 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
8584 (tic6x-*-*): Likewise.
8585 (i[34567]86-*-darwin*, x86_64-*-darwin*,
8586 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
8587 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
8588 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
8589 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
8590 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
8591 t-softfp to tmake_file.
8592 * configure.ac (sfp_machine_header): Provide default if unset.
8593 Substitute.
8594 Link sfp-machine.h to config/$sfp_machine_header.
8595 * configure: Regenerate.
8596
a23b9c51 85972011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8598
8599 * Makefile.in (double_type_size, long_double_type_size): Set.
8600 Remove $(fpbit-in-libgcc) support.
8601 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
8602 (fpbit-src): New variable.
8603 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
8604 Compile with -DFLOAT $(FPBIT_CFLAGS).
8605 Use $<.
8606 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
8607 Compile with $(FPBIT_CFLAGS).
8608 Use $<.
8609 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
8610 Compile with -DFLOAT $(TPBIT_CFLAGS).
8611 Use $<.
8612 * configure.ac (double_type_size, long_double_type_size):
8613 Determine and substitute.
8614 * configure: Regenerate.
8615 * fp-bit.c, fp-bit.h: New files.
8616 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
8617 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
8618 * config/mips/t-mips: New file.
8619 * config/mips/t-sdemtk: New file.
8620 * config/rs6000/ppc64-fp.c: New file.
8621 * config/rs6000/t-darwin (LIB2ADD): Add
8622 $(srcdir)/config/rs6000/ppc64-fp.c.
8623 * config/rs6000/t-ppc64-fp: New file.
8624 * config/rx/rx-lib.h: New file.
8625 * config/rx/t-rx (FPBIT): Set to true.
8626 ($(gcc_objdir)/fp-bit.c): Remove.
8627 (DPBIT): Set to true only with -m64bit-doubles.
8628 ($(gcc_objdir)/dp-bit.c): Remove.
8629 * config/sparc/t-softfp: Remove.
8630 * config/spu/t-elf: New file.
8631 * config/t-fdpbit, config/t-fpbit: New files.
8632 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
8633 (mips*-*-*): Likewise.
8634 (arm-wrs-vxworks): Likewise.
8635 (arm*-*-freebsd*): Likewise.
8636 (avr-*-rtems*): Add t-fpbit to tmake_file.
8637 (avr-*-*): Likewise.
8638 (bfin*-elf*): Add t-fdpbit to tmake_file.
8639 (bfin*-uclinux*): Likewise.
8640 (bfin*-linux-uclibc*): Likewise.
8641 (bfin*-rtems*): New case.
8642 Add t-fdpbit to tmake_file.
8643 (bfin*-*): Add t-fdpbit to tmake_file.
8644 (crisv32-*-elf): Likewise.
8645 (cris-*-linux*): Likewise.
8646 (fr30-*-elf): Likewise.
8647 (frv-*-elf, frv-*-*linux*): Likewise.
8648 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
8649 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
8650 (m32r-*-elf*): Likewise.
8651 (m32rle-*-elf*): Likewise.
8652 (m32r-*-linux*): Likewise.
8653 (m32rle-*-linux*): Likewise.
8654 (mcore-*-elf): Add t-fdpbit to tmake_file.
8655 (microblaze*-*-*): Likewise.
8656 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
8657 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
8658 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
8659 Fix typo.
8660 Add mips/t-tpbit to tmake-file.
8661 (mips*-*-linux*): Fix typo.
8662 (mips*-sde-elf*): New case
8663 Add mips/t-sdemtk unless using newlib.
8664 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
8665 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
8666 (mn10300-*-*): Likewise.
8667 (pdp11-*-*): Likewise.
8668 (picochip-*-*): Add t-fpbit to tmake_file.
8669 (powerpc-*-eabisimaltivec*): Likewise.
8670 (powerpc-*-eabisim*): Likewise.
8671 (powerpc-*-elf*): Likewise.
8672 (powerpc-*-eabialtivec*): Likewise.
8673 (powerpc-xilinx-eabi*): New case.
8674 Add t-fdpbit to tmake_file.
8675 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
8676 (powerpc-*-rtems*): Likewise.
8677 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
8678 tmake_file.
8679 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
8680 tmake_file.
8681 (powerpc-*-lynxos*): Likewise.
8682 (powerpcle-*-elf*): Likewise.
8683 (powerpcle-*-eabisim*): Likewise.
8684 (powerpcle-*-eabi*): Likewise.
8685 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
8686 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
8687 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8688 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8689 (rx-*-elf): Add t-fdpbit to tmake_file.
8690 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
8691 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
8692 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
8693 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
8694 sh*-*-netbsd*.
8695 (sh-*-rtems*): Add t-fdpbit to tmake_file.
8696 (sh-wrs-vxworks): Likewise.
8697 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
8698 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
8699 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
8700 (sparc64-*-rtems*): ... new case.
8701 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
8702 (spu-*-elf*): Likewise.
8703 Add spu/t-elf to tmake_file.
8704 (v850*-*-*): Add t-fdpbit to tmake_file.
8705 (xstormy16-*-elf): Likewise.
8706 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
8707 (mep*-*-*): Likewise.
8708
e59be7e3 87092011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8710
8711 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
8712 variables.
8713 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
8714 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
8715 (install-unwind_h): New target.
8716 (all): Depend on it.
8717 * config.host (unwind_header): New variable.
8718 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
8719 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
8720 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
8721 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
8722 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
8723 Set unwind_header.
8724 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
8725 Set unwind_header.
8726 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
8727 arm*-*-eabi*.
8728 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
8729 Set unwind_header.
8730 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
8731 (ia64*-*-freebsd*): Likewise.
8732 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
8733 tmake_file.
8734 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
8735 $with_system_libunwind.
8736 (ia64*-*-hpux*): Set tmake_file.
8737 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
8738 (picochip-*-*): Set tmake_file.
8739 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
8740 md_unwind_header.
8741 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8742 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8743 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
8744 (xtensa*-*-elf*): Set tmake_file.
8745 (xtensa*-*-linux*): Likewise.
8746 * configure.ac: Include ../config/unwind_ipinfo.m4.
8747 Call GCC_CHECK_UNWIND_GETIPINFO.
8748 Link unwind.h to $unwind_header.
8749 * configure: Regenerate.
8750 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
8751 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
8752 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
8753 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
8754 * config/unwind-dw2-fde-darwin.c: New file.
8755 * config/arm/libunwind.S, config/arm/pr-support.c,
8756 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
8757 config/arm/unwind-arm.h,: New files.
8758 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
8759 config/ia64/t-eh-ia64, config/ia64/t-glibc,
8760 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
8761 config/ia64/t-vms, config/ia64/unwind-ia64.c,
8762 config/ia64/unwind-ia64.h: New files.
8763 * config/picochip/t-picochip: New file.
8764 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
8765 files.
8766 * config/rs6000/t-darwin (LIB2ADDEH): Set.
8767 * config/s390/t-tpf (LIB2ADDEH): Remove.
8768 * config/t-darwin (LIB2ADDEH): Set.
8769 * config/t-eh-dw2-dip: New file.
8770 * config/t-libunwind, config/t-libunwind-elf: New files.
8771 * config/t-sol2 (LIB2ADDEH): Remove.
8772 * config/xtensa/t-xtensa: New file.
8773
b57de711 87742011-08-02 H.J. Lu <hongjiu.lu@intel.com>
8775
8776 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
8777 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
8778 long long to check rt_sigreturn syscall.
8779
9a4af446 87802011-08-02 Alan Modra <amodra@gmail.com>
8781
8782 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
8783 Restore for indirect call bcrtl from correct stack slot, and only
8784 if cfa+40 isn't valid.
8785
bbbe4599 87862011-08-01 Julian Brown <julian@codesourcery.com>
8787
8788 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
8789 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
8790 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
8791
ac34b7db 87922011-08-01 Julian Brown <julian@codesourcery.com>
8793
8794 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
8795 (libgcc-std.ver.in): Use above.
8796 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
8797 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
8798 throughout file.
8799 * config/t-fixedpoint-gnu-prefix: New file.
8800 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
8801 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
8802 instead of __PFX__.
8803
2a7dfa04 88042011-07-28 H.J. Lu <hongjiu.lu@intel.com>
8805
8806 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
8807 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
8808 for x86-64. Properly check __x86_64__ and __LP64__.
8809
a232cb08 88102010-07-28 H.J. Lu <hongjiu.lu@intel.com>
8811
8812 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
8813 version.
8814 (_FP_WS_TYPE): Likewise.
8815 (_FP_I_TYPE): Likewise.
8816
c54e2746 88172011-07-28 Alan Modra <amodra@gmail.com>
8818
8819 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
8820 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
8821 in a plt call stub. Do restore r2 if stopped on bctrl.
8822
4d72c922 88232011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8824
8825 * config.host (i[3456x]86-*-netware*): Remove.
8826 * config/i386/netware-crt0.c, config/i386/t-nwld,
8827 config/i386/t-slibgcc-nwld: Remove.
8828
5aa04b01 88292011-07-15 Bernd Schmidt <bernds@codesourcery.com>
8830
8831 * config.host: Handle tic6x-*-*.
8832 * config/c6x/c6x-abi.h: New file.
8833
ba079bc9 88342011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8835
8836 * config/i386/crtprec.c: New file.
8837 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
8838 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
8839 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
8840 (x86_64-*-darwin*): Likewise.
8841 (i[34567]86-*-solaris2*: Likewise.
8842
1125ba83 88432011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8844
8845 * config/alpha/crtfastmath.c: New file.
8846 * config/i386/crtfastmath.c: New file.
8847 * config/ia64/crtfastmath.c: New file.
8848 * config/mips/crtfastmath.c: New file.
8849 * config/sparc/crtfastmath.c: New file.
8850
8851 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
8852 crtfastmath.c.
8853 Add -frandom-seed=gcc-crtfastmath.
8854 * config/alpha/t-crtfm: Remove.
8855 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
8856 * config/ia64/t-ia64 (crtfastmath.o): Remove.
8857
8858 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
8859 (alpha*-dec-osf5.1*): Likewise.
8860 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
8861 Add crtfastmath.o to extra_parts.
8862 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
8863 Add crtfastmath.o to extra_parts.
8864 (x86_64-*-darwin*): Likewise.
8865 (x86_64-*-mingw*): Likewise.
8866 (ia64*-*-elf*): Add t-crtfm to tmake_file.
8867 (ia64*-*-freebsd*): Likewise.
8868 (ia64*-*-linux*): Likewise.
8869 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
8870 Add crtfastmath.o to extra_parts.
8871
1a4a11f3 88722011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8873
8874 * config/darwin-crt3.o: New file.
8875 * config/rs6000/darwin-crt2.c: New file.
8876 * config/t-darwin: New file.
8877 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
8878 (crt2.o): New rule.
8879 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
8880 (powerpc-*-darwin*): Add crt2.o to extra_parts.
8881 (powerpc64-*-darwin*): Likewise.
8882
ef3ab47f 88832011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8884
8885 * config/i386/netware-crt0.c: New file.
8886 * config/i386/t-nwld: Rename to ...
8887 * config/i386/t-slibgcc-nwld: ... this.
8888 * config/i386/t-nwld: New file.
8889 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
8890 tmake_file.
8891 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
8892 extra_parts.
8893
367b55f3 88942011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8895
8896 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
8897 i386/t-crtstuff.
8898 * configure: Regenerate.
8899
17aa03f5 89002011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8901
8902 * dfp-bit.c, dfp-bit.h: New files.
8903 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
8904 variables.
8905 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
8906 ($(d64pbit-o)): Likewise.
8907 ($(d128pbit-o)): Likewise.
8908 * config/t-dfprules: New file.
8909 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
8910 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
8911 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
8912 (x86_64-*-linux*): Likewise.
8913 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
8914 (i[34567]86-*-cygwin*): Likewise.
8915 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
8916 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
8917
2bc72a9f 89182011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8919
8920 * Makfile.in (LIBGCOV): New variable.
8921 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
8922 * libgcov.c: New file.
8923
36a5227d 89242011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8925
8926 * fixed-bit.c, fixed-bit.h: New files.
8927 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
8928 refer to fixed-bit.c.
8929
689a8077 89302011-07-07 Joseph Myers <joseph@codesourcery.com>
8931
8932 * config.host (*local*): Remove.
8933
14f27bc6 89342011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8935
8936 PR target/39150
8937 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
8938 like i?86-*-solaris2.1[0-9]*.
8939 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
8940 * configure.ac (i?86-*-solaris2*): Likewise.
8941 * configure: Regenerate.
8942
fe27820f 89432011-07-06 Thomas Schwinge <thomas@schwinge.name>
8944
8945 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
8946 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
8947 md_unwind_header by splitting out of...
8948 (i[34567]86-*-linux*): ... this.
8949 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
8950 Remove md_unwind_header by splitting out of...
8951 (x86_64-*-linux*): ... this.
8952
934ca5fd 89532011-07-04 Georg-Johann Lay <avr@gjlay.de>
8954
8955 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
8956
707238af 89572011-06-28 Nick Clifton <nickc@redhat.com>
8958
8959 * config.host: Recognize all V850 variants.
8960
5125dcef 89612011-06-22 Uros Bizjak <ubizjak@gmail.com>
8962
8963 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
8964
f92b36a5 89652011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8966
8967 * shared-object.mk (c_flags-$o): Save c_flags.
8968 ($(base)$(objext)): Use it.
8969 ($(base)_s$(objext)): Likewise.
8970
d8492bd3 89712011-06-21 Bernd Schmidt <bernds@codesourcery.com>
8972
8973 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
8974 * libgcc-std.ver.in (GCC_4.7.0): New section.
8975
fa72efb7 89762011-06-16 Georg-Johann Lay <avr@gjlay.de>
5125dcef 8977
fa72efb7 8978 PR target/49313
8979 PR target/29524
8980 * config/avr/t-avr: Fix line endings.
8981 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
8982 _parityXX2.
8983
adf7c0a1 89842011-06-14 Olivier Hainque <hainque@adacore.com>
8985 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8986
8987 * config/mips/irix6-unwind.h: New file.
8988 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
8989
47529489 89902011-06-10 Eric Botcazou <ebotcazou@adacore.com>
8991
8992 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
8993 (sparc64_fallback_frame_state): Use it.
8994 (sparc64_frob_update_context): Further adjust context.
8995 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
8996 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
8997 * config/sparc/sol2-cn.S: Likewise.
8998
a6f06169 89992011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9000
9001 * enable-execute-stack-empty.c: New file.
9002 * enable-execute-stack-mprotect.c: New file.
9003 * config/i386/enable-execute-stack-mingw32.c: New file.
9004 * config.host (enable_execute_stack): New variable.
9005 Select appropriate variants.
9006 * configure.ac: Link enable-execute-stack.c to
9007 $enable_execute_stack.
9008 * configure: Regenerate.
9009 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
9010 (lib2funcs): Remove _enable_execute_stack.
9011
f9cccfac 90122011-06-09 David S. Miller <davem@davemloft.net>
9013 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9014
9015 * config.host (sparc-*-linux*): Correct md_unwind_header
9016 filename.
9017 (s390x-ibm-tpf*): Fix typo.
9018
ee884cfb 90192011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9020
9021 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
9022 Add crtfastmath.o to extra_parts.
9023 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
9024 mips/t-crtfm.
9025 * config/mips/t-crtfm: Remove.
9026
01cb8ad1 90272011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
9028
9029 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
9030
73956a0d 90312011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
9032
9033 * config.host (sh*-*-linux*): Fix typo.
9034
1e53920f 90352011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9036
9037 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
9038 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
9039 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
9040 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
9041 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
9042 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
9043 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
9044 Wrap in !__MINGW64__.
9045 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
9046 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
9047 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
9048 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
9049 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
9050 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
9051 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
9052 Wrap in !__LP64__.
9053 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
9054 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
9055 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
9056 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
9057 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
9058 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
9059 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
9060 * config/no-unwind.h: New file.
9061 * config.host (md_unwind_header): Document.
9062 Define.
9063 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
9064 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
9065 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
9066 hppa[12]*-*-hpux11*): Set md_unwind_header.
9067 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
9068 Set md_unwind_header.
9069 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
9070 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
9071 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
9072 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
9073 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
9074 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
9075 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
9076 md_unwind_header.
9077 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
9078 * configure: Regenerate.
9079
8087ae75 90802011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9081
9082 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
9083 Set tmake_file, extra_parts.
9084 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
9085 Remove O32 support.
9086 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
9087 Remove O32 support.
9088 * config/mips/t-irix6: New file.
9089 * config/mips/t-slibgcc-irix: New file.
9090
506cfbc8 90912011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9092
9093 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
9094 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
9095
541346b9 90962011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9097
9098 * configure.ac (target_thread_file): Determine thread model.
9099 * configure: Regenerate.
9100 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
9101 * config/alpha/t-alpha: New file.
9102 * config/alpha/t-crtfm: Use $<.
9103 * config/alpha/t-ieee: New file.
9104 * config/alpha/t-osf-pthread: New file.
9105 * config/alpha/t-slibgcc-osf: New file.
9106 * config/alpha/libgcc-osf5.ver: New file.
9107
43ae7603 91082011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9109
9110 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
9111 tmake_file.
9112 Add crtfastmath.o to extra_parts.
9113
f0d9a626 91142011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9115
9116 * config/gmon-sol2.c: Reindent.
9117 Cleanup comments.
9118 Remove, correct casts.
9119 Use STDERR_FILENO, NULL.
9120 (BASEADDRESS): Remove.
9121 (minbrk): Remove.
9122 (errno, sbrk): Remove declarations.
9123 (monstartup) [hp300]: Remove.
9124 (mcount): Remove.
9125
63abf89e 91262011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9127
9128 * Makefile.in (cpu_type): Define.
9129 * config.host (i[34567]86-*-rtems*): Handle it.
9130 (i[34567]86-*-solaris2*): Move body ...
9131 (*-*-solaris2*): ... here.
9132 New case, generalize.
9133 (sparc-*-elf*): Handle it.
9134 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
9135 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
9136 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
9137 Fold into ...
9138 (sparc*-*-solaris2*): ... this.
9139 New case.
9140 (sparc64-*-elf*): Handle it.
9141 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
9142 Merge ../gcc/config/i386/gmon-sol2.c.
9143 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
9144 Use C comments.
9145 Merge ../gcc/config/i386/sol2-gc1.asm.
9146 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
9147 Use C comments.
9148 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
9149 Use C comments.
9150 * config/i386/t-crtfm (crtfastmath.o): Use $<.
9151 * config/i386/t-crtstuff: New file.
9152 * config/i386/t-softfp: New file.
9153 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
9154 $(T)crti.o, $(T)crtn.o): Remove.
9155 (gcrt1.o): New rule.
9156 (TARGET_LIBGCC2_CFLAGS): Remove.
9157 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
9158 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
9159 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
9160 * config/sparc/t-sol2: New file.
9161 * config/sparc/t-crtfm: Move to ...
9162 * config/t-crtfm: ... this.
9163 Use $(cpu_type), $<.
9164 * config/t-crtin: New file.
9165 * config/sparc/t-softfp: New file.
9166 * config/sparc/t-softmul: New file.
9167 * config/t-rtems: New file.
9168 * config/t-slibgcc: New file.
9169 * config/t-slibgcc-elf-ver: New file.
9170 * config/t-slibgcc-gld: New file.
9171 * config/t-slibgcc-sld: New file.
9172 * config/t-sol2: New file.
9173 * configure.ac: Include ../config/lib-ld.m4.
9174 Call AC_LIB_PROG_LD_GNU.
9175 Substitute cpu_type.
9176 * configure: Regenerate.
9177
b1da9d72 91782011-05-27 Bernd Schmidt <bernds@codesourcery.com>
9179
9180 PR bootstrap/49173
9181 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
9182 libgcc-std.ver in the build directory.
9183 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
9184 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
9185
f308a9b2 91862011-05-25 Bernd Schmidt <bernds@codesourcery.com>
9187
9188 * libgcc-std.ver.in: New file.
9189 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
9190 variables.
9191 (libgcc-std.ver): New rule.
9192 * config/t-gnu-prefix: New file.
9193
c177b341 91942011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9195
9196 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
9197
8633828c 91982011-05-10 Joseph Myers <joseph@codesourcery.com>
9199
9200 * config/i386/darwin-lib.h: New file.
9201
3be74046 92022011-05-10 Joseph Myers <joseph@codesourcery.com>
9203
9204 * config/arm/symbian-lib.h: New.
9205
5e1a494e 92062011-05-04 Chris Demetriou <cgd@google.com>
9207
9208 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
9209 (__x86.get_pc_thunk.bx): ...this.
9210 (__morestack): Adjust for rename, remove undef of __i686.
9211
0bb50d04 92122011-05-03 Chris Demetriou <cgd@google.com>
9213
9214 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
9215
17b3d2a8 92162011-03-22 Joseph Myers <joseph@codesourcery.com>
9217
9218 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
9219 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
9220 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
9221 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
9222 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
9223 Remove cases.
9224
95525c17 92252011-03-14 Andreas Tobler <andreast@fgznet.ch>
9226
9227 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
9228 Adjust copyright year.
9229
82c96609 92302011-03-07 Ian Lance Taylor <iant@google.com>
9231
9232 * generic-morestack.c (__splitstack_find): Adjust returned stack
9233 pointer to include all registers pushed by __morestack.
9234
abfe0c5b 92352011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
9236
9237 PR target/40125
9238 * configure.ac: Call ACX_NONCANONICAL_TARGET.
9239 (toolexecdir): Calculate and AC_SUBST.
9240 (toolexeclibdir): Likewise.
9241 * Makefile.in (target_noncanonical): Import.
9242 (toolexecdir): Likewise.
9243 (toolexeclibdir): Likewise.
9244 * configure: Regenerate.
9245
48f93ee5 92462010-12-13 Nathan Froyd <froydnj@codesourcery.com>
9247
9248 PR target/46040
9249 * config/arm/bpabi.h: Rename to...
9250 * config/arm/bpabi-lib.h: ...this.
9251
76aa642f 92522010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9253
9254 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
9255 appropriate.
9256 * configure: Regenerate.
9257
e8b06528 92582010-11-24 Nathan Froyd <froydnj@codesourcery.com>
9259
9260 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
9261 __FLOAT_WORD_ORDER__.
9262 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
9263 Delete.
9264
2b7a4d59 92652010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9266
9267 PR other/46202
9268 * Makefile.in (install-strip): New phony target.
9269
457123d6 92702010-11-07 Ian Lance Taylor <iant@google.com>
9271
9272 PR target/46089
9273 * config/i386/morestack.S (__morestack_large_model): New
9274 function.
9275
f6e5e456 92762010-10-23 Nathan Froyd <froydnj@codesourcery.com>
9277
9278 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
9279 Delete.
9280 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
9281
faf175ae 92822010-10-14 Nathan Froyd <froydnj@codesourcery.com>
9283
9284 * config/arm/bpabi.h: New file.
9285 * config/frv/frv-abi.h: New file.
9286
9266176d 92872010-10-01 Ian Lance Taylor <iant@google.com>
9288
9289 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
9290 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
9291
13ba4217 92922010-10-01 H.J. Lu <hongjiu.lu@intel.com>
9293
9294 PR target/45858
9295 * config.host: Add the missing `$'.
9296
d34b0d1e 92972010-09-30 Michael Eager <eager@eagercon.com>
9298
9299 * config.host: Add microblaze*-*-*.
9300 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
9301 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
9302 udivsi3.asm,umodsi3.asm}: New.
9303
78ca2689 93042010-09-28 Ian Lance Taylor <iant@google.com>
9305
9306 * configure.ac: Adjust CFI test to test assembler directly rather
9307 than checking gcc preprocessor macro.
9308 * configure: Rebuild.
9309
c9b3ebc5 93102010-09-27 Ian Lance Taylor <iant@google.com>
9311
9312 * configure.ac: Test whether assembler supports CFI directives.
9313 * config.host: Only add t-stack and i386/t-stack-i386 to
9314 tmake_file if libgcc_cv_cfi is "yes".
9315 * configure: Rebuild.
9316
48b14f50 93172010-09-27 Ian Lance Taylor <iant@google.com>
9318
9319 * generic-morestack.h: New file.
9320 * generic-morestack.c: New file.
9321 * generic-morestack-thread.c: New file.
9322 * config/i386/morestack.S: New file.
9323 * config/t-stack: New file.
9324 * config/i386/t-stack-i386: New file.
9325 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
9326 i386/t-stack-i386 to tmake_file.
9327
fd80c7a1 93282010-09-21 Iain Sandoe <iains@gcc.gnu.org>
9329
9330 * Makefile.in (libgcc-extra-parts): Check for static archives and
9331 invoke ranlib after installing them.
9332 (gcc-extra-parts): Likewise.
9333 (install-leaf): Likewise.
9334
70fbcd6d 93352010-09-14 H.J. Lu <hongjiu.lu@intel.com>
9336
9337 * configure: Regenerated.
9338
19aace05 93392010-09-10 Kai Tietz <kai.tietz@onevision.com>
9340
70fbcd6d 9341 * configure: Regenerated.
19aace05 9342
279dadf5 93432010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
9344 Andrew Pinski <pinskia@gmail.com>
9345
5125dcef 9346 PR target/40959
279dadf5 9347 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
9348
a87eb011 93492010-09-06 H.J. Lu <hongjiu.lu@intel.com>
9350
9351 PR target/45524
9352 * configure: Regenerated.
9353
e6425baf 93542010-09-06 Andreas Schwab <schwab@redhat.com>
9355
9356 * configure: Regenerate.
9357
e88f4c66 93582010-09-03 Uros Bizjak <ubizjak@gmail.com>
9359
9360 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
9361 64bit targets.
9362 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
9363 for 64bit targets.
9364
1d8139cc 93652010-09-03 Uros Bizjak <ubizjak@gmail.com>
9366 Iain Sandoe <iains@gcc.gnu.org>
9367
9368 PR target/45476
9369 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
9370 LIB2FUNCS_EXCLUDE functions.
9371
23340821 93722010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9373
9374 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
9375 Include dfp.m4.
9376 * configure: Regenerate.
9377
278afeb5 93782010-09-01 Uros Bizjak <ubizjak@gmail.com>
9379
9380 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
9381 i386/t-freebsd to tmake_file.
9382 * config/i386/t-freebsd: New file.
9383 * config/i386/libgcc-bsd.ver: New file.
9384
952bf8bb 93852010-07-23 Nathan Froyd <froydnj@codesourcery.com>
9386
9387 * config.host (powerpc*-eabispe*): Set tmake_file.
9388 (powerpc*-eabi*): Likewise.
9389 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
9390 crtbeginS, crtendS, crtbeginT.
9391
283681bb 93922010-06-12 Kazu Hirata <kazu@codesourcery.com>
9393
9394 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
9395 to tmake_file. Add crtfastmath.o to extra_parts.
9396 * config/mips/t-crtfm: New.
9397
92e91d03 93982010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
a6180b96 9399
9400 * config.host (sparc64-*-rtems*): New target.
9401
05157f42 94022010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9403
9404 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
9405 assembler syntax.
9406
8a84c748 94072010-04-15 Thomas Schwinge <tschwinge@gnu.org>
9408
9409 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
9410
ed3e1bbc 94112010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9412
9413 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
9414 alpha-dec-osf5.0* support.
9415
92e91d03 94162010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
432dd419 9417
9418 * config.host: Add lm32-*-rtems*.
9419
20be3c56 94202010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
92e91d03 9421 Uros Bizjak <ubizjak@gmail.com>
20be3c56 9422
9423 PR target/39048
9424 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
9425 like other remaining 32-bit x86 OSes.
9426 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
9427 assembler syntax.
9428 * config/i386/libgcc-sol2.ver: New file.
9429 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
9430
92e91d03 94312010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
8f0f72c0 9432
9433 PR c/43553
9434 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
9435 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
9436 is used and substitute set_use_emutls.
9437 * configure: Regenerated.
9438
cf842d6a 94392010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
9440
9441 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
9442
4dcd7ab3 94432010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9444
9445 PR target/38085
9446 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
9447 MULTILIB_CFLAGS.
9448 ($(T)gcrt1.o): Likewise.
9449 ($(T)crt1.o): Likewise.
9450 ($(T)crti.o): Likewise.
9451 ($(T)crtn.o): Likewise.
9452
a426f025 94532010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9454
9455 PR other/42980
9456 * Makefile.in (install): Use $(MAKE) string in rule, for
9457 parallel make.
9458
8525326e 94592010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
9460
9461 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
9462 * config/mmix/t-mmix: New file.
9463 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
9464
14a10763 94652010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
9466
9467 PR java/41991
9468 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
9469 SHLIB_MAPFILES.
9470
00301a1a 94712010-01-04 Anthony Green <green@moxielogic.com>
9472
9473 * config/moxie/crti.asm, config/moxie/crtn.asm,
9474 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
9475 config/moxie/t-moxie: New files.
9476 * config.host: Add t-moxie-softfp reference.
9477
92e91d03 94782009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
d2b1aa3d 9479
9480 PR other/39888
9481 * config/t-slibgcc-darwin: Fix embedded rpaths for
9482 --enable-version-specific-runtime-libs, build extension stub
9483 libs exposing features available from current libgcc_s.
9484
92e91d03 94852009-11-11 Jon Beniston <jon@beniston.com>
f6fe91e8 9486
278afeb5 9487 * config.host: Add lm32 targets.
9488 * config/lm32: New directory.
9489 * config/lm32/libgcc_lm32.h: New file.
9490 * config/lm32/_mulsi3.c: New file.
9491 * config/lm32/_udivmodsi4.c: New file.
9492 * config/lm32/_divsi3.c: New file.
9493 * config/lm32/_modsi3.c: New file.
9494 * config/lm32/_udivsi3.c: New file.
9495 * config/lm32/_umodsi3.c: New file.
9496 * config/lm32/_lshrsi3.S: New file.
9497 * config/lm32/_ashrsi3.S: New file.
9498 * config/lm32/_ashlsi3.S: New file.
9499 * config/lm32/crti.S: New file.
9500 * config/lm32/crtn.S: New file.
9501 * config/lm32/t-lm32: New file.
9502 * config/lm32/t-elf: New file.
9503 * config/lm32/t-uclinux: New file.
f6fe91e8 9504
24833e1a 95052009-10-26 Nick Clifton <nickc@redhat.com>
9506
9507 * config.host: Add support for RX target.
9508 * config/rx: New directory.
9509 * config/rx/rx-abi-functions.c: New file. Supplementary
9510 functions for libgcc to support the RX ABI.
9511 * config/rx/rx-abi.h: New file. Supplementary header file for
9512 libgcc RX ABI functions.
9513 * config/rx/t-rx: New file: Makefile fragment for building
9514 libgcc for the RX.
9515
1d7e299f 95162009-10-09 Uros Bizjak <ubizjak@gmail.com>
9517
9518 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
9519 constraint of y0 to "g".
9520
e38fe738 95212009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9522
9523 * config.host: Include the s390 makefile fragments.
9524 * config/s390/32/_fixdfdi.c: New file.
9525 * config/s390/32/_fixsfdi.c: New file.
9526 * config/s390/32/_fixtfdi.c: New file.
9527 * config/s390/32/_fixunsdfdi.c: New file.
9528 * config/s390/32/_fixunssfdi.c: New file.
9529 * config/s390/32/_fixunstfdi.c: New file.
9530 * config/s390/32/t-floattodi: New file.
9531 * config/s390/libgcc-glibc.ver: New file.
9532 * config/s390/t-crtstuff: New file.
9533 * config/s390/t-linux: New file.
9534 * config/s390/t-tpf: New file.
9535
81a71e2b 95362009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9537
9538 * configure.ac (AC_PREREQ): Bump to 2.64.
9539
a1ef431d 95402009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
9541
9542 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
9543
cd9a469c 95442009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9545
9546 * configure: Regenerate.
9547
9b9a2528 95482009-08-09 Douglas B Rupp <rupp@gnat.com>
9549
9550 * config.host (ia64-hp-*vms*): New target.
9551 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
9552 with ia64-hp-*vms*.
9553
a2655af1 95542009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9555
9556 * configure.ac: Add snippet for maintainer-mode.
9557 * configure: Regenerate.
9558 * Makefile.in (AUTOCONF, configure_deps): New variables.
9559 ($(srcdir)/configure)): New rule, active only with maintainer
9560 mode turned on.
9561
46222c18 95622009-06-23 DJ Delorie <dj@redhat.com>
9563
9564 Add MeP port.
9565 * config.host: Add mep support.
9566
13dc7657 95672009-06-22 Kai Tietz <kai.tietz@onevision.com>
9568
82a3cc73 9569 * config.host: Add i386/${host_address}/t-fprules-softfp and
1d7e299f 9570 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
82a3cc73 9571
9572 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
9573 for mingw targets.
13dc7657 9574 * config/i386/64/_multc3.c: Likewise.
9575 * config/i386/64/_powitf2.c: Likewise.
9576 * config/i386/64/eqtf2.c: Likewise.
9577 * config/i386/64/getf2.c: Likewise.
9578 * config/i386/64/letf2.c: Likewise.
9579 * config/i386/64/letf2.c: Likewise.
82a3cc73 9580 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
9581 unsigned long long for x64 mingw targets.
9582 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
9583 (_FP_I_TYPE): Define as long long for x64 mingw target.
13dc7657 9584
63bfd172 95852009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
9586
9587 * config.host (vax-*-linux*): New.
9588
be52b6d8 95892009-05-31 Anthony Green <green@moxielogic.com>
9590
9591 * config.host: Add moxie support.
9592 * config/moxie/t-moxie: New file.
9593
92e91d03 95942009-05-29 David Billinghurst <billingd@gcc.gnu.org>
6471e33b 9595
9596 * config.host: Add i386/${host_address}/t-fprules-softfp and
1d7e299f 9597 t-softfp to tmake_file for i[34567]86-*-cygwin*.
6471e33b 9598
09ec66c8 95992009-04-17 Aurelien Jarno <aurelien@aurel32.net>
9600
9601 * config.host: Add i386/${host_address}/t-fprules-softfp to
9602 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
9603
6bc9506f 96042009-04-09 Nick Clifton <nickc@redhat.com>
9605
9606 * config/ia64/tf-signs.c: Change copyright header to refer to
9607 version 3 of the GNU General Public License with version 3.1
9608 of the GCC Runtime Library Exception and to point readers at
9609 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
9610 web page.
9611 * config/i386/32/tf-signs.c: Likewise.
9612 * config/libbid/_addsub_dd.c: Likewise.
9613 * config/libbid/_addsub_sd.c: Likewise.
9614 * config/libbid/_addsub_td.c: Likewise.
9615 * config/libbid/_dd_to_df.c: Likewise.
9616 * config/libbid/_dd_to_di.c: Likewise.
9617 * config/libbid/_dd_to_sd.c: Likewise.
9618 * config/libbid/_dd_to_sf.c: Likewise.
9619 * config/libbid/_dd_to_si.c: Likewise.
9620 * config/libbid/_dd_to_td.c: Likewise.
9621 * config/libbid/_dd_to_tf.c: Likewise.
9622 * config/libbid/_dd_to_udi.c: Likewise.
9623 * config/libbid/_dd_to_usi.c: Likewise.
9624 * config/libbid/_dd_to_xf.c: Likewise.
9625 * config/libbid/_df_to_dd.c: Likewise.
9626 * config/libbid/_df_to_sd.c: Likewise.
9627 * config/libbid/_df_to_td.c: Likewise.
9628 * config/libbid/_di_to_dd.c: Likewise.
9629 * config/libbid/_di_to_sd.c: Likewise.
9630 * config/libbid/_di_to_td.c: Likewise.
9631 * config/libbid/_div_dd.c: Likewise.
9632 * config/libbid/_div_sd.c: Likewise.
9633 * config/libbid/_div_td.c: Likewise.
9634 * config/libbid/_eq_dd.c: Likewise.
9635 * config/libbid/_eq_sd.c: Likewise.
9636 * config/libbid/_eq_td.c: Likewise.
9637 * config/libbid/_ge_dd.c: Likewise.
9638 * config/libbid/_ge_sd.c: Likewise.
9639 * config/libbid/_ge_td.c: Likewise.
9640 * config/libbid/_gt_dd.c: Likewise.
9641 * config/libbid/_gt_sd.c: Likewise.
9642 * config/libbid/_gt_td.c: Likewise.
9643 * config/libbid/_isinfd128.c: Likewise.
9644 * config/libbid/_isinfd32.c: Likewise.
9645 * config/libbid/_isinfd64.c: Likewise.
9646 * config/libbid/_le_dd.c: Likewise.
9647 * config/libbid/_le_sd.c: Likewise.
9648 * config/libbid/_le_td.c: Likewise.
9649 * config/libbid/_lt_dd.c: Likewise.
9650 * config/libbid/_lt_sd.c: Likewise.
9651 * config/libbid/_lt_td.c: Likewise.
9652 * config/libbid/_mul_dd.c: Likewise.
9653 * config/libbid/_mul_sd.c: Likewise.
9654 * config/libbid/_mul_td.c: Likewise.
9655 * config/libbid/_ne_dd.c: Likewise.
9656 * config/libbid/_ne_sd.c: Likewise.
9657 * config/libbid/_ne_td.c: Likewise.
9658 * config/libbid/_sd_to_dd.c: Likewise.
9659 * config/libbid/_sd_to_df.c: Likewise.
9660 * config/libbid/_sd_to_di.c: Likewise.
9661 * config/libbid/_sd_to_sf.c: Likewise.
9662 * config/libbid/_sd_to_si.c: Likewise.
9663 * config/libbid/_sd_to_td.c: Likewise.
9664 * config/libbid/_sd_to_tf.c: Likewise.
9665 * config/libbid/_sd_to_udi.c: Likewise.
9666 * config/libbid/_sd_to_usi.c: Likewise.
9667 * config/libbid/_sd_to_xf.c: Likewise.
9668 * config/libbid/_sf_to_dd.c: Likewise.
9669 * config/libbid/_sf_to_sd.c: Likewise.
9670 * config/libbid/_sf_to_td.c: Likewise.
9671 * config/libbid/_si_to_dd.c: Likewise.
9672 * config/libbid/_si_to_sd.c: Likewise.
9673 * config/libbid/_si_to_td.c: Likewise.
9674 * config/libbid/_td_to_dd.c: Likewise.
9675 * config/libbid/_td_to_df.c: Likewise.
9676 * config/libbid/_td_to_di.c: Likewise.
9677 * config/libbid/_td_to_sd.c: Likewise.
9678 * config/libbid/_td_to_sf.c: Likewise.
9679 * config/libbid/_td_to_si.c: Likewise.
9680 * config/libbid/_td_to_tf.c: Likewise.
9681 * config/libbid/_td_to_udi.c: Likewise.
9682 * config/libbid/_td_to_usi.c: Likewise.
9683 * config/libbid/_td_to_xf.c: Likewise.
9684 * config/libbid/_tf_to_dd.c: Likewise.
9685 * config/libbid/_tf_to_sd.c: Likewise.
9686 * config/libbid/_tf_to_td.c: Likewise.
9687 * config/libbid/_udi_to_dd.c: Likewise.
9688 * config/libbid/_udi_to_sd.c: Likewise.
9689 * config/libbid/_udi_to_td.c: Likewise.
9690 * config/libbid/_unord_dd.c: Likewise.
9691 * config/libbid/_unord_sd.c: Likewise.
9692 * config/libbid/_unord_td.c: Likewise.
9693 * config/libbid/_usi_to_dd.c: Likewise.
9694 * config/libbid/_usi_to_sd.c: Likewise.
9695 * config/libbid/_usi_to_td.c: Likewise.
9696 * config/libbid/_xf_to_dd.c: Likewise.
9697 * config/libbid/_xf_to_sd.c: Likewise.
9698 * config/libbid/_xf_to_td.c: Likewise.
9699 * config/libbid/bid128.c: Likewise.
9700 * config/libbid/bid128_2_str.h: Likewise.
9701 * config/libbid/bid128_2_str_macros.h: Likewise.
9702 * config/libbid/bid128_2_str_tables.c: Likewise.
9703 * config/libbid/bid128_add.c: Likewise.
9704 * config/libbid/bid128_compare.c: Likewise.
9705 * config/libbid/bid128_div.c: Likewise.
9706 * config/libbid/bid128_fma.c: Likewise.
9707 * config/libbid/bid128_logb.c: Likewise.
9708 * config/libbid/bid128_minmax.c: Likewise.
9709 * config/libbid/bid128_mul.c: Likewise.
9710 * config/libbid/bid128_next.c: Likewise.
9711 * config/libbid/bid128_noncomp.c: Likewise.
9712 * config/libbid/bid128_quantize.c: Likewise.
9713 * config/libbid/bid128_rem.c: Likewise.
9714 * config/libbid/bid128_round_integral.c: Likewise.
9715 * config/libbid/bid128_scalb.c: Likewise.
9716 * config/libbid/bid128_sqrt.c: Likewise.
9717 * config/libbid/bid128_string.c: Likewise.
9718 * config/libbid/bid128_to_int16.c: Likewise.
9719 * config/libbid/bid128_to_int32.c: Likewise.
9720 * config/libbid/bid128_to_int64.c: Likewise.
9721 * config/libbid/bid128_to_int8.c: Likewise.
9722 * config/libbid/bid128_to_uint16.c: Likewise.
9723 * config/libbid/bid128_to_uint32.c: Likewise.
9724 * config/libbid/bid128_to_uint64.c: Likewise.
9725 * config/libbid/bid128_to_uint8.c: Likewise.
9726 * config/libbid/bid32_to_bid128.c: Likewise.
9727 * config/libbid/bid32_to_bid64.c: Likewise.
9728 * config/libbid/bid64_add.c: Likewise.
9729 * config/libbid/bid64_compare.c: Likewise.
9730 * config/libbid/bid64_div.c: Likewise.
9731 * config/libbid/bid64_fma.c: Likewise.
9732 * config/libbid/bid64_logb.c: Likewise.
9733 * config/libbid/bid64_minmax.c: Likewise.
9734 * config/libbid/bid64_mul.c: Likewise.
9735 * config/libbid/bid64_next.c: Likewise.
9736 * config/libbid/bid64_noncomp.c: Likewise.
9737 * config/libbid/bid64_quantize.c: Likewise.
9738 * config/libbid/bid64_rem.c: Likewise.
9739 * config/libbid/bid64_round_integral.c: Likewise.
9740 * config/libbid/bid64_scalb.c: Likewise.
9741 * config/libbid/bid64_sqrt.c: Likewise.
9742 * config/libbid/bid64_string.c: Likewise.
9743 * config/libbid/bid64_to_bid128.c: Likewise.
9744 * config/libbid/bid64_to_int16.c: Likewise.
9745 * config/libbid/bid64_to_int32.c: Likewise.
9746 * config/libbid/bid64_to_int64.c: Likewise.
9747 * config/libbid/bid64_to_int8.c: Likewise.
9748 * config/libbid/bid64_to_uint16.c: Likewise.
9749 * config/libbid/bid64_to_uint32.c: Likewise.
9750 * config/libbid/bid64_to_uint64.c: Likewise.
9751 * config/libbid/bid64_to_uint8.c: Likewise.
9752 * config/libbid/bid_b2d.h: Likewise.
9753 * config/libbid/bid_binarydecimal.c: Likewise.
9754 * config/libbid/bid_conf.h: Likewise.
9755 * config/libbid/bid_convert_data.c: Likewise.
9756 * config/libbid/bid_decimal_data.c: Likewise.
9757 * config/libbid/bid_decimal_globals.c: Likewise.
9758 * config/libbid/bid_div_macros.h: Likewise.
9759 * config/libbid/bid_dpd.c: Likewise.
9760 * config/libbid/bid_flag_operations.c: Likewise.
9761 * config/libbid/bid_from_int.c: Likewise.
9762 * config/libbid/bid_functions.h: Likewise.
9763 * config/libbid/bid_gcc_intrinsics.h: Likewise.
9764 * config/libbid/bid_inline_add.h: Likewise.
9765 * config/libbid/bid_internal.h: Likewise.
9766 * config/libbid/bid_round.c: Likewise.
9767 * config/libbid/bid_sqrt_macros.h: Likewise.
9768
97692009-04-09 Jakub Jelinek <jakub@redhat.com>
9770
9771 * Makefile.in: Change copyright header to refer to version
9772 3 of the GNU General Public License and to point readers at the
9773 COPYING3 file and the FSF's license web page.
9774 * config.host: Likewise.
9775
4e5e2802 97762009-04-07 Alan Modra <amodra@bigpond.net.au>
9777
9778 * config.host: Reorder and merge to match config.gcc change.
9779
8d40ea45 97802009-04-03 Alan Modra <amodra@bigpond.net.au>
9781
9782 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
9783
f2397fc4 97842009-03-28 Joseph Myers <joseph@codesourcery.com>
9785
9786 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
9787 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
9788 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
9789 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
9790
24200b28 97912009-02-12 Uros Bizjak <ubizjak@gmail.com>
9792
9793 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
9794 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
9795
8b21beb2 97962009-02-12 H.J. Lu <hongjiu.lu@intel.com>
9797
24200b28 9798 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
9799 ia64/t-softfp-compat to tmake_file.
8b21beb2 9800
9801 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
9802
9803 * config/ia64/__divxf3.asm: New.
9804 * config/ia64/_fixtfdi.asm: Likewise.
9805 * config/ia64/_fixunstfdi.asm: Likewise.
9806 * config/ia64/_floatditf.asm: Likewise.
9807 * config/ia64/t-fprules-softfp: Likewise.
9808 * config/ia64/t-softfp-compat: Likewise.
9809 * config/ia64/tf-signs.c: Likewise.
9810
9df8be69 98112009-01-18 Ben Elliston <bje@au.ibm.com>
9812
9813 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
9814
f2b540ae 98152009-01-16 Ben Elliston <bje@au.ibm.com>
9816
9817 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
9818 to tmake_file.
9819
5790f80a 98202009-01-13 Ben Elliston <bje@au.ibm.com>
9821
9822 * config/t-softfp: New file.
9823 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
9824 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
9825
92e91d03 98262009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
b8138586 9827
9828 * config.host: Add m32r*-*-rtems*.
9829
92e91d03 98302008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
7eac0a4e 9831
9832 * config.host: Add m32c*-*-rtems*.
9833
03150a33 98342008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9835
9836 PR bootstrap/33100
9837 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
9838 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
9839 * configure: Regenerate.
9840 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
9841 tmake_file here from gcc/config.gcc.
9842 Move extra_parts here from gcc/config.gcc.
9843 * config/i386/t-sol2: Move here from gcc/config/i386.
9844 Use gcc_srcdir instead of srcdir.
9845
77a32a8e 98462008-11-18 Adam Nemet <anemet@caviumnetworks.com>
9847
9848 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
9849 case.
9850
1eab96a6 98512008-11-09 Thomas Schwinge <tschwinge@gnu.org>
9852
9853 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
9854
74cd9df8 98552008-10-08 Thomas Schwinge <tschwinge@gnu.org>
9856
9857 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
9858
8372e9ea 98592008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
9860
9861 Add picoChip port.
9862 * config.host: Add picochip-*-*.
9863
75c7ffbc 98642008-08-06 Bob Wilson <bob.wilson@acm.org>
9865
9866 * config.host: Match more processor names for Xtensa.
9867
fb4830c6 98682008-07-08 H.J. Lu <hongjiu.lu@intel.com>
9869
9870 * config/i386/64/t-softfp-compat: Update comments.
9871
7c92db45 98722008-07-07 H.J. Lu <hongjiu.lu@intel.com>
9873
9874 * config/i386/64/_divtc3-compat.c: Moved to ...
9875 * config/i386/64/_divtc3.c: Here.
9876
9877 * config/i386/64/_multc3-compat.c: Moved to ...
9878 * config/i386/64/_multc3.c: Here.
9879
9880 * config/i386/64/_powitf2-compat.c: Moved to ...
9881 * config/i386/64/_powitf2.c: Here.
9882
9883 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
9884 .c suffix instead of -compat.c.
9885
ec2e6a4e 98862008-07-05 Uros Bizjak <ubizjak@gmail.com>
9887
9888 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
9889 (_FP_MUL_MEAT_D): Ditto.
9890 (_FP_DIV_MEAT_S): Ditto.
9891 (_FP_DIV_MEAT_D): Ditto.
9892
fdbb505a 98932008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
9894
9895 * Makefile.in: Add support for __sync_* libgcc functions.
9896
310c48f2 98972008-07-03 H.J. Lu <hongjiu.lu@intel.com>
9898
9899 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
9900
144633f4 99012008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9902
9903 PR boostrap/36702
9904 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
9905 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
9906
9907 * config/i386/64/t-fprules-softfp: Moved to ...
9908 * config/i386/64/t-softfp-compat: This. New.
9909
e25ffafe 99102008-07-02 Uros Bizjak <ubizjak@gmail.com>
9911
9912 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
9913 Initialize f with 0.0.
9914
b3fd46a0 99152008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9916
9917 PR target/36669
9918 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
9919
9920 * config/i386/64/_divtc3-compat.c: New.
9921 * config/i386/64/_multc3-compat.c: Likewise.
9922 * config/i386/64/_powitf2-compat.c: Likewise.
9923 * config/i386/64/eqtf2.c: Likewise.
9924 * config/i386/64/getf2.c: Likewise.
9925 * config/i386/64/letf2.c: Likewise.
9926 * config/i386/64/t-fprules-softfp: Likewise.
9927
99282008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9929
9930 * config.host: Add i386/${host_address}/t-fprules-softfp to
9931 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
1d7e299f 9932 i[34567]86-*-linux*, x86_64-*-linux*.
b3fd46a0 9933
9934 * configure.ac: Set host_address to 64 or 32 for x86.
9935 * configure: Regenerated.
9936
9937 * Makefile.in (config.status): Also depend on
9938 $(srcdir)/config.host.
9939
9940 * config/i386/32/t-fprules-softfp: New.
9941 * config/i386/32/tf-signs.c: Likewise.
9942
9943 * config/i386/64/sfp-machine.h: New. Moved from gcc.
9944
99452008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9946 Uros Bizjak <ubizjak@gmail.com>
9947
9948 * config/i386/32/sfp-machine.h: New.
9949
eaef9489 99502008-06-26 Nathan Froyd <froydnj@codesourcery.com>
9951
9952 * config/rs6000/t-ppccomm: Remove rules that conflict with
9953 auto-generated rules.
9954
5b2c7553 99552008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9956
9957 * configure.ac: sinclude override.m4.
9958 * configure: Regenerate.
9959
dde02e56 99602008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
9961
9962 * configure: Regenerate.
9963
4d6f3aad 99642008-06-10 Joseph Myers <joseph@codesourcery.com>
9965
9966 * Makefile.in (DECNUMINC): Remove
9967 -I$(MULTIBUILDTOP)../../libdecnumber.
9968 * gstdint.h: New.
9969
6af9f7ea 99702008-06-07 Joseph Myers <joseph@codesourcery.com>
9971
9972 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
9973 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
9974 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
9975 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
9976 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
9977 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
9978 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
9979 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
9980 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
9981 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
9982 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
9983 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
9984 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
9985 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
9986
ccf1c0f1 99872008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
9988
9989 * config.host (sh2[lbe]*-*-linux*): Allow target.
9990
19872d0b 99912008-04-30 Nathan Froyd <froydnj@codesourcery.com>
9992
9993 * config/rs6000/t-ppccomm: Add build rules for new files.
9994 (LIB2ADD_ST): New variable.
9995
38dd5584 99962008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
9997
9998 PR target/34210
9999 PR target/35508
10000 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
10001 * config/t-avr: New file. Build 16bit libgcc functions.
10002
8e5da69c 100032008-03-02 Jakub Jelinek <jakub@redhat.com>
10004
10005 PR target/35401
10006 * config/t-slibgcc-darwin: Make install-leaf dependent on
10007 install-darwin-libgcc-stubs instead of install.
10008
99c77e32 100092008-01-25 Joseph Myers <joseph@codesourcery.com>
10010
10011 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
10012 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
10013 sh-*-rtemscoff*): Remove cases.
10014
8237872e 100152007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
10016
10017 * Makefile.in (all): Use install-leaf rather than install.
10018 (install): Split most of the rule into...
10019 (install-leaf): ...this new one.
10020
00a05b87 100212007-12-19 Etsushi Kato <ek.kato@gmail.com>
10022 Paolo Bonzini <bonzini@gnu.org>
10023
10024 PR target/30572
e25ffafe 10025 * Makefile.in: Use @shlib_slibdir@ substitution to get
10026 correct install name on darwin.
00a05b87 10027 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
1d7e299f 10028
877d7f12 100292007-12-15 Hans-Peter Nilsson <hp@axis.com>
10030
10031 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
10032 cris-*-elf and cris-*-none.
10033 (crisv32-*-linux*): Similar, as cris-*-linux*.
10034
75612461 100352007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
10036
10037 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
10038
f11b4169 100392007-10-27 H.J. Lu <hongjiu.lu@intel.com>
10040
10041 PR regression/33926
10042 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
10043 * configure: Regenerated.
10044
84d1fc49 100452007-09-27 H.J. Lu <hongjiu.lu@intel.com>
10046
10047 * Makefile.in (dfp-filenames): Replace decimal_globals,
10048 decimal_data, binarydecimal and convert_data with
10049 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
10050 and bid_convert_data, respectively.
10051
3ac0842f 100522007-09-17 Chao-ying Fu <fu@mips.com>
10053 Nigel Stephens <nigel@mips.com>
10054
10055 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
10056 * Makefile.in (fixed_point): Define.
10057 Check if fixed_point is yes to build support functions.
10058 * configure.ac: Check for fixed_point support.
10059 * configure: Regenerated.
10060 * gen-fixed.sh: New file to generate lists of fixed-point labels,
10061 funcs, modes, from, to.
10062
8c72b2f9 100632007-09-11 Janis Johnson <janis187@us.ibm.com
10064
10065 * Makefile.in (dfp-filenames): Add bid128_noncomp.
10066
c8ac5d9a 100672007-09-10 Janis Johnson <janis187@us.ibm.com>
10068
10069 * Makefile.in (dfp-filenames): Remove decUtility, add
10070 decDouble, decPacked, decQuad, decSingle.
10071
cc8ebe39 100722007-08-27 Hans Kester <hans.kester@ellips.nl>
10073
10074 * config.host : Add x86_64-elf target.
10075
db1c99de 100762007-07-06 H.J. Lu <hongjiu.lu@intel.com>
10077
10078 * configure.ac (set_have_cc_tls): Add a missing =.
10079 * configure: Regenerated.
10080
e4cbe54f 100812007-07-06 H.J. Lu <hongjiu.lu@intel.com>
10082
10083 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
10084 and x86_64-*-linux*.
10085
10086 * config/t-tls: New file.
10087
1d7e299f 10088 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
e4cbe54f 10089
10090 * configure.ac: Include ../config/enable.m4 and
10091 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
10092 supports TLS and substitute set_have_cc_tls.
10093 * configure: Regenerated.
10094
9b6b0236 100952007-07-04 H.J. Lu <hongjiu.lu@intel.com>
10096
10097 * Makefile.in: Use libbid for DFP when BID is enabled.
10098
9e51385b 100992007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
10100
10101 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
1d7e299f 10102 extra_parts. Add config/i386/t-cygming to tmake_file.
9e51385b 10103 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
10104
8f433c51 101052007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
9b6b0236 10106 Danny Smith <dannysmith@users.sourceforge.net>
8f433c51 10107
10108 PR target/29498
10109 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
10110 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
10111 * config/i386/t-crtfm: Compile crtfastmath.o with
10112 -minline-all-stringops.
10113
723e1902 101142007-05-10 Richard Sandiford <richard@codesourcery.com>
10115
10116 * config.host (sparc-wrs-vxworks): New target.
10117
278e2fd1 101182007-04-14 Kazu Hirata <kazu@codesourcery.com>
10119
10120 * config.host: Recognize fido.
10121
2968d68c 101222007-04-04 Janis Johnson <janis187@us.ibm.com>
10123
10124 * configure: Check host, not target, for decimal float support.
10125
6d057ce8 101262007-04-03 Uros Bizjak <ubizjak@gmail.com>
10127
10128 * config/i386/t-crtpc: New file.
10129 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
e25ffafe 10130 (x86_64-*-linux*): Ditto.
6d057ce8 10131
0bbe9142 101322007-02-30 Kai Tietz <kai.tietz@onevision.com>
10133
10134 * config.host (x86_64-*-mingw*): New target.
10135
10de71e1 101362007-03-23 Michael Meissner <michael.meissner@amd.com>
10137 H.J. Lu <hongjiu.lu@intel.com>
10138
10139 * Makefile.in (enable_decimal_float): New.
10140 (DECNUMINC): Add
10141 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
10142 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
10143 (decbits-filenames): This.
10144 (decbits-objects): New.
10145 (libgcc-objects): Add $(decbits-objects).
10146
10147 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
10148 Substitute enable_decimal_float.
10149 * configure: Regenerated.
10150
7a9b9c95 101512007-03-19 Hans-Peter Nilsson <hp@axis.com>
10152
10153 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
10154
37decb40 101552007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
10156
10157 * Makefile.in (install-info): New dummy target.
10158
bce94ab5 101592007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
10160
10161 * config.host (bfin*-linux-uclibc*): Set extra_parts.
10162
1403bdd1 101632007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
10164
10165 * Makefile.in: Add install-html and install-pdf dummy
10166 targets.
10167
fce64ed4 101682007-02-05 Roger Sayle <roger@eyesopen.com>
10169 Daniel Jacobowitz <dan@codesourcery.com>
10170
10171 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
10172 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
10173 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
10174
4d863ca5 101752007-01-29 Janis Johnson <janis187@us.ibm.com>
10176
10177 * Makefile.in (dec-filenames): Add decExcept.
10178
f0356913 101792007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
10180
10181 PR bootstrap/30469
10182 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
10183 -fprofile-use.
10184
bbdcab13 101852007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
10186
10187 * configure.ac: Add --enable-version-specific-runtime-libs.
10188 Correct $slibdir default.
10189 * configure: Regenerated.
10190
3da0fdbc 101912007-01-23 Joseph Myers <joseph@codesourcery.com>
10192
10193 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
10194
cdca0ab7 101952007-01-21 Andrew Pinski <pinskia@gmail.com>
10196
10197 PR target/30519
10198 * config.host (alpha*-*-linux*): Set extra_parts.
10199
97f1a704 102002007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
10201
10202 * config/sh/t-linux: New.
10203 * config.host (sh*-*-linux*): Set tmake_file.
10204
52617116 102052007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
10206
10207 * Makefile.in (install): Handle multilibs.
10208
c0e5c948 102092007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
10210
10211 * Makefile.in: Added .PHONY entry for documentation targets.
10212
d62e2f2f 102132007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
10214
10215 * Makefile.in: Add empty info, html, dvi, pdf targets.
10216
68cf2994 102172007-01-04 Mike Stump <mrs@apple.com>
10218
10219 * Makefile.in (MAKEINFO): Remove.
10220 (PERL): Likewise.
10221
f534b3b3 102222007-01-04 Paolo Bonzini <bonzini@gnu.org>
10223
10224 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
10225 * configure: Regenerate.
10226 * Makefile.in (host_subdir): Substitute it.
1d7e299f 10227 (gcc_objdir): Use it.
f534b3b3 10228
c11c6ae3 102292007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
10230
10231 * config.host (ia64*-*-linux*): Set tmake_file.
10232
d272bed8 102332007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
10234
10235 * Makefile.in (version): Define.
10236
894a47b4 102372007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
10238 Paolo Bonzini <bonzini@gnu.org>
10239
10240 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
10241 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
10242 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
10243 config/sparc/t-crtfm, config/t-slibgcc-darwin,
10244 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
10245 shared-object.mk, siditi-object.mk, static-object.mk: New files.
10246 * configure: Generated.
f1717362 10247\f
fbd26352 10248Copyright (C) 2007-2019 Free Software Foundation, Inc.
f1717362 10249
10250Copying and distribution of this file, with or without modification,
10251are permitted in any medium without royalty provided the copyright
10252notice and this notice are preserved.