]> git.ipfire.org Git - thirdparty/gcc.git/blame - libgcc/ChangeLog
Colorize %L and %C text to match diagnostic_show_locus (PR fortran/91426)
[thirdparty/gcc.git] / libgcc / ChangeLog
CommitLineData
761e6bb9
SZ
12019-09-25 Shaokun Zhang <zhangshaokun@hisilicon.com>
2
3 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Add support for
4 CTR_EL0.IDC and CTR_EL0.DIC.
5
76c93295
CL
62019-09-20 Christophe Lyon <christophe.lyon@st.com>
7
8 Revert:
9 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
10 Mickaël Guêné <mickael.guene@st.com>
11
12 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
13 architecture.
14
33befddc
RH
152019-09-19 Richard Henderson <richard.henderson@linaro.org>
16
17 * config/aarch64/lse-init.c: New file.
18 * config/aarch64/lse.S: New file.
19 * config/aarch64/t-lse: New file.
20 * config.host: Add t-lse to all aarch64 tuples.
21
ae1152e5
CL
222019-09-10 Christophe Lyon <christophe.lyon@st.com>
23 Mickaël Guêné <mickael.guene@st.com>
24
84818dbb
CL
25 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
26 architecture.
27
282019-09-10 Christophe Lyon <christophe.lyon@st.com>
29 Mickaël Guêné <mickael.guene@st.com>
30
ae1152e5
CL
31 * unwind-arm-common.inc (ARM_SET_R7_RT_SIGRETURN)
32 (THUMB2_SET_R7_RT_SIGRETURN, FDPIC_LDR_R12_WITH_FUNCDESC)
33 (FDPIC_LDR_R9_WITH_GOT, FDPIC_LDR_PC_WITH_RESTORER)
34 (FDPIC_FUNCDESC_OFFSET, ARM_NEW_RT_SIGFRAME_UCONTEXT)
35 (ARM_UCONTEXT_SIGCONTEXT, ARM_SIGCONTEXT_R0, FDPIC_T2_LDR_R12_WITH_FUNCDESC)
36 (FDPIC_T2_LDR_R9_WITH_GOT, FDPIC_T2_LDR_PC_WITH_RESTORER): New.
37 (__gnu_personality_sigframe_fdpic): New.
38 (get_eit_entry): Add FDPIC signal frame support.
39
5d727a4b
CL
402019-09-10 Christophe Lyon <christophe.lyon@st.com>
41 Mickaël Guêné <mickael.guene@st.com>
42
43 * config/arm/linux-atomic.c (__kernel_cmpxchg): Add FDPIC support.
44 (__kernel_dmb): Likewise.
45 (__fdpic_cmpxchg): New function.
46 (__fdpic_dmb): New function.
47 * config/arm/unwind-arm.h (FDPIC_REGNUM): New define.
48 (gnu_Unwind_Find_got): New function.
49 (_Unwind_decode_typeinfo_ptr): Add FDPIC support.
50 * unwind-arm-common.inc (UCB_PR_GOT): New.
51 (funcdesc_t): New struct.
52 (get_eit_entry): Add FDPIC support.
53 (unwind_phase2): Likewise.
54 (unwind_phase2_forced): Likewise.
55 (__gnu_Unwind_RaiseException): Likewise.
56 (__gnu_Unwind_Resume): Likewise.
57 (__gnu_Unwind_Backtrace): Likewise.
58 * unwind-pe.h (read_encoded_value_with_base): Likewise.
59
b1e21e5a 602019-09-10 Christophe Lyon <christophe.lyon@st.com>
11189793 61 Mickaël Guêné <mickael.guene@st.com>
b1e21e5a 62
11189793
CL
63 * libgcc/crtstuff.c: Add support for FDPIC.
64
652019-09-10 Christophe Lyon <christophe.lyon@st.com>
66
67 * config.host: Handle *-*-uclinuxfdpiceabi.
b1e21e5a 68
91dfef96
JM
692019-09-09 Jose E. Marchesi <jose.marchesi@oracle.com>
70
71 * config.host: Set cpu_type for bpf-*-* targets.
72 * config/bpf/t-bpf: Likewise.
73 * config/bpf/crtn.S: Likewise.
74 * config/bpf/crti.S: New file.
75
2f4d8951
JW
762019-09-06 Jim Wilson <jimw@sifive.com>
77
78 * config.host (riscv*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
79 (riscv*-*-freebsd*): Likewise.
80
2f2aeda9
UW
812019-09-03 Ulrich Weigand <uweigand@de.ibm.com>
82
83 * config.host: Remove references to spu.
84 * config/spu/: Remove directory.
85
d16017da
JL
862019-08-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
87
88 PR target/91306
89 * crtstuff.c (__CTOR_LIST__): Align to the "__alignof__" the array
90 element type, instead of "sizeof" the element type.
91 (__DTOR_LIST__): Likewise.
92 (__TMC_LIST__): Likewise.
93 (__do_global_dtors_aux_fini_array_entry): Likewise.
94 (__frame_dummy_init_array_entry): Likewise.
95 (__CTOR_END__): Likewise.
96 (__DTOR_END__): Likweise.
97 (__FRAME_END__): Likewise.
98 (__TMC_END__): Likewise.
99
a9fcfec3
HL
1002019-08-20 Lili Cui <lilicui@intel.com>
101
102 * config/i386/cpuinfo.h: Add INTEL_COREI7_TIGERLAKE and
103 INTEL_COREI7_COOPERLAKE.
104
428642b1
MT
1052019-07-31 Matt Thomas <matt@3am-software.com>
106 Nick Hudson <nick@nthcliff.demon.co.uk>
107 Matthew Green <mrg@eterna.com.au>
108 Maya Rashish <coypu@sdf.org>
109
110 * config.host (hppa*-*-netbsd*): New case.
111 * config/pa/t-netbsd: New file.
112
f0efd925
JH
1132019-07-31 Joel Hutton <Joel.Hutton@arm.com>
114
115 * config/arm/cmse.c (cmse_check_address_range): Add
116 warn_unused_result attribute.
117
a861990d
ML
1182019-07-22 Martin Liska <mliska@suse.cz>
119
120 * config/pa/stublib.c: Remove stub symbol __gnu_lto_v1.
121 * config/pa/t-stublib: Likewise.
122
9c0dba7c
SH
1232019-07-22 Stafford Horne <shorne@gmail.com>
124
125 PR target/90362
126 * config/or1k/lib1funcs.S (__udivsi3): Change l.sfeqi
127 to l.sfeq and l.sfltsi to l.sflts equivalents as the immediate
128 instructions are not available on every processor. Change a
129 l.bnf to l.bf to fix logic issue.
130
61afc8f8
IS
1312019-07-04 Iain Sandoe <iain@sandoe.co.uk>
132
133 * config.host: Remove reference to t-darwin8.
134
179c7ef5
IS
1352019-07-03 Iain Sandoe <iain@sandoe.co.uk>
136
137 * config.host (powerpc-*-darwin*,powerpc64-*-darwin*): Revise crt
138 list.
139 * config/rs6000/t-darwin: Build crt3_2 for older systems. Revise
140 mmacosx-version-min for crts to run across all system versions.
141 * config/rs6000/t-darwin64 (LIB2ADD): Remove.
142 * config/t-darwin: Revise mmacosx-version-min for crts to run across
143 system versions >= 10.4.
144
596341c7
ML
1452019-07-03 Martin Liska <mliska@suse.cz>
146
147 * Makefile.in: Use topn_values instead of one_value names.
148 * libgcov-merge.c (__gcov_merge_single): Move to ...
149 (__gcov_merge_topn): ... this.
150 (merge_single_value_set): Move to ...
151 (merge_topn_values_set): ... this.
152 * libgcov-profiler.c (__gcov_one_value_profiler_body): Move to
153 ...
154 (__gcov_topn_values_profiler_body): ... this.
155 (__gcov_one_value_profiler_v2): Move to ...
156 (__gcov_topn_values_profiler): ... this.
157 (__gcov_one_value_profiler_v2_atomic): Move to ...
158 (__gcov_topn_values_profiler_atomic): ... this.
159 (__gcov_indirect_call_profiler_v4): Remove.
160 * libgcov-util.c (__gcov_single_counter_op): Move to ...
161 (__gcov_topn_counter_op): ... this.
162 * libgcov.h (L_gcov_merge_single): Remove.
163 (L_gcov_merge_topn): New.
164 (__gcov_merge_single): Remove.
165 (__gcov_merge_topn): New.
166 (__gcov_one_value_profiler_v2): Move to ..
167 (__gcov_topn_values_profiler): ... this.
168 (__gcov_one_value_profiler_v2_atomic): Move to ...
169 (__gcov_topn_values_profiler_atomic): ... this.
170
1b309ca5
ML
1712019-07-03 Martin Liska <mliska@suse.cz>
172
173 * libgcov-merge.c (merge_single_value_set): Support N values.
174 * libgcov-profiler.c (__gcov_one_value_profiler_body): Likewise.
175
5a460280
ID
1762019-06-27 Ilia Diachkov <ilia.diachkov@optimitech.com>
177
178 * Makefile.in (USE_TM_CLONE_REGISTRY): New.
179 (CRTSTUFF_CFLAGS): Use USE_TM_CLONE_REGISTRY.
180 * configure.ac: Add --disable-tm-clone-registry option.
181 * configure: Regenerate.
182
45309d28
ML
1832019-06-27 Martin Liska <mliska@suse.cz>
184
185 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Remove obviously
186 dead assignments.
187 * libgcov-util.c: Likewise.
188
c2f7a665
ML
1892019-06-27 Martin Liska <mliska@suse.cz>
190
191 * libgcov-util.c (gcov_profile_merge): Release allocated
192 memory.
193 (calculate_overlap): Likewise.
194
a8e55c61
IS
1952019-06-25 Iain Sandoe <iain@sandoe.co.uk>
196
197 * config.host: Add libef_ppc.a to the extra files for powerpc-darwin.
198 * config/rs6000/t-darwin: (PPC_ENDFILE_SRC, PPC_ENDFILE_OBJS): New.
199 Build objects for the out of line save/restore register functions
200 so that they can be used for any supported Darwin version.
201 * config/t-darwin: Default the build Darwin version to Darwin8
202 (MacOS 10.4).
203
e5ce4cbc
ML
2042019-06-25 Martin Liska <mliska@suse.cz>
205
206 * libgcov-driver-system.c (replace_filename_variables): Do not
207 call strlen with NULL argument.
208
52a47d28
AS
2092019-06-25 Andrew Stubbs <ams@codesourcery.com>
210
211 * config/gcn/t-amdgcn (LIB2ADD): Add unwind-gcn.c.
212 * config/gcn/unwind-gcn.c: New file.
213
76d46331
KCY
2142019-06-25 Kwok Cheung Yeung <kcy@codesourcery.com>
215 Andrew Stubbs <ams@codesourcery.com>
216
217 * configure: Regenerate.
218 * config/gcn/gthr-gcn.h: New.
219
787783a0
TV
2202019-06-18 Tom de Vries <tdevries@suse.de>
221
222 * config/nvptx/crt0.c (__main): Declare.
223
f32f7585
MG
2242019-06-17 Matthew Green <mrg@eterna.com.au>
225 Maya Rashish <coypu@sdf.org>
226
227 * config.host (aarch64*-*-netbsd*): New case.
228
0fcc78f7
JL
2292019-06-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
230
231 * config/msp430/slli.S (__mspabi_sllll): New library function for
232 performing a logical left shift of a 64-bit value.
233 * config/msp430/srai.S (__mspabi_srall): New library function for
234 performing a arithmetic right shift of a 64-bit value.
235 * config/msp430/srll.S (__mspabi_srlll): New library function for
236 performing a logical right shift of a 64-bit value.
237
b27c1082
MT
2382019-06-14 Matt Thomas <matt@3am-software.com>
239 Matthew Green <mrg@eterna.com.au>
240 Nick Hudson <skrll@netbsd.org>
241 Maya Rashish <coypu@sdf.org>
242
243 * config.host (arm*-*-netbsdelf*): Add support for EABI configurations.
244 * config/arm/t-netbsd (LIB1ASMFUNCS): Add some additional assembler
245 functions to build.
246 * config/arm/t-netbsd-eabi: New file.
247
ae7deb4b
DD
2482019-06-12 Dimitar Dimitrov <dimitar@dinux.eu>
249
250 * config.host: Add PRU target.
251 * config/pru/asri.c: New file.
252 * config/pru/eqd.c: New file.
253 * config/pru/eqf.c: New file.
254 * config/pru/ged.c: New file.
255 * config/pru/gef.c: New file.
256 * config/pru/gtd.c: New file.
257 * config/pru/gtf.c: New file.
258 * config/pru/led.c: New file.
259 * config/pru/lef.c: New file.
260 * config/pru/lib2bitcountHI.c: New file.
261 * config/pru/lib2divHI.c: New file.
262 * config/pru/lib2divQI.c: New file.
263 * config/pru/lib2divSI.c: New file.
264 * config/pru/libgcc-eabi.ver: New file.
265 * config/pru/ltd.c: New file.
266 * config/pru/ltf.c: New file.
267 * config/pru/mpyll.S: New file.
268 * config/pru/pru-abi.h: New file.
269 * config/pru/pru-asm.h: New file.
270 * config/pru/pru-divmod.h: New file.
271 * config/pru/sfp-machine.h: New file.
272 * config/pru/t-pru: New file.
273
0d7b3e47
JJ
2742019-06-11 Jakub Jelinek <jakub@redhat.com>
275
276 * libgcov-merge.c (__gcov_merge_single): Revert previous change.
277
54e2d83c
ML
2782019-06-10 Martin Liska <mliska@suse.cz>
279
280 PR bootstrap/90808
281 * libgcov.h: Add ATTRIBUTE_UNUSED.
282
92d41717
ML
2832019-06-10 Martin Liska <mliska@suse.cz>
284
285 * Makefile.in: Add __gcov_one_value_profiler_v2,
286 __gcov_one_value_profiler_v2_atomic and
287 __gcov_indirect_call_profiler_v4.
288 * libgcov-merge.c (__gcov_merge_single): Change
289 function signature.
290 (merge_single_value_set): New.
291 * libgcov-profiler.c (__gcov_one_value_profiler_body):
292 Update functionality.
293 (__gcov_one_value_profiler): Remove.
294 (__gcov_one_value_profiler_v2): ... this.
295 (__gcov_one_value_profiler_atomic): Rename to ...
296 (__gcov_one_value_profiler_v2_atomic): this.
297 (__gcov_indirect_call_profiler_v3): Rename to ...
298 (__gcov_indirect_call_profiler_v4): ... this.
299 * libgcov.h (__gcov_one_value_profiler): Remove.
300 (__gcov_one_value_profiler_atomic): Remove.
301 (__gcov_one_value_profiler_v2_atomic): New.
302 (__gcov_indirect_call_profiler_v3): Remove.
303 (__gcov_one_value_profiler_v2): New.
304 (__gcov_indirect_call_profiler_v4): New.
305 (gcov_get_counter_ignore_scaling): New function.
306
e37333ba
ML
3072019-06-07 Martin Liska <mliska@suse.cz>
308
309 * Makefile.in: Remove usage of
310 _gcov_merge_icall_topn.
311 * libgcov-driver.c (gcov_sort_n_vals): Remove.
312 (gcov_sort_icall_topn_counter): Likewise.
313 (gcov_sort_topn_counter_arrays): Likewise.
314 (dump_one_gcov): Remove call to gcov_sort_topn_counter_arrays.
315 * libgcov-merge.c (__gcov_merge_icall_topn): Remove.
316 * libgcov-profiler.c (__gcov_topn_value_profiler_body):
317 Likewise.
318 (GCOV_ICALL_COUNTER_CLEAR_THRESHOLD): Remove.
319 (struct indirect_call_tuple): Remove.
320 (__gcov_indirect_call_topn_profiler): Remove.
321 * libgcov-util.c (__gcov_icall_topn_counter_op): Remove.
322 * libgcov.h (gcov_sort_n_vals): Remove.
323 (L_gcov_merge_icall_topn): Likewise.
324 (__gcov_merge_icall_topn): Likewise.
325 (__gcov_indirect_call_topn_profiler): Likewise.
326
34a4a9c2
IS
3272019-06-06 Iain Sandoe <iain@sandoe.co.uk>
328
329 * config/rs6000/t-darwin: Ensure that the unwinder is built with
330 altivec enabled.
331
d1b2f85f
JL
3322019-06-06 Jozef Lawrynowicz <jozef.l@mittosystems.com>
333
334 * config/msp430/slli.S (__mspabi_slli_n): Put function in its own
335 section.
336 (__mspabi_slli): Likewise.
337 (__mspabi_slll_n): Likewise.
338 (__mspabi_slll): Likewise.
339 * config/msp430/srai.S (__mspabi_srai_n): Likewise.
340 (__mspabi_srai): Likewise.
341 (__mspabi_sral_n): Likewise.
342 (__mspabi_sral): Likewise.
343 * config/msp430/srli.S (__mspabi_srli_n): Likewise.
344 (__mspabi_srli): Likewise.
345 (__mspabi_srll_n): Likewise.
346 (__mspabi_srll): Likewise.
347
e69a13d1
YS
3482019-06-05 Yoshinori Sato <ysato@users.sourceforge.jp>
349
350 * config.host (rx-*-linux*): Add t-fdpbit to tmake_file
351 Add appropriate tm_file clause as well.
352 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Remove.
353
b009eac1
JC
3542019-06-05 James Clarke <jrtc27@jrtc27.com>
355
356 * config/ia64/crtbegin.S (__dso_handle): Put in .sdata/.sbss
357 rather than .data/.bss so it can be accessed via gp-relative
358 addressing.
359
781d39f2
DE
3602019-06-05 David Edelsohn <dje.gcc@gmail.com>
361
362 * config/rs6000/aix-unwind.h (LR_REGNO): Rename to R_LR.
363 (CR2_REGNO): Rename to R_CR2.
364 (XER_REGNO): Rename to R_XER.
365 (FIRST_ALTIVEC_REGNO): Rename to R_FIRST_ALTIVEC.
366 (VRSAVE_REGNO): Rename to R_VRSAVE.
367 (VSCR_REGNO): R_VSCR.
368
76aaa9cd
YS
3692019-05-29 Yoshinori Sato <ysato@users.sourceforge.jp>
370
371 * config.host (rx-*-linux*): Add new case.
372 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Force DFmode to SFmode.
373
8fc16d72
ST
3742019-05-29 Sam Tebbs <sam.tebbs@arm.com>
375
376 * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key): New
377 function.
378 * config/aarch64/aarch64-unwind.h (aarch64_post_extract_frame_addr,
379 aarch64_post_frob_eh_handler_addr): Add check for b-key.
380 * config/aarch64/aarch64-unwind-h (aarch64_post_extract_frame_addr,
381 aarch64_post_frob_eh_handler_addr, aarch64_post_frob_update_context):
382 Rename RA_A_SIGNED_BIT to RA_SIGNED_BIT.
383 * unwind-dw2-fde.c (get_cie_encoding): Add check for 'B' in augmentation
384 string.
385 * unwind-dw2.c (extract_cie_info): Add check for 'B' in augmentation
386 string.
387 (RA_A_SIGNED_BIT): Rename to RA_SIGNED_BIT.
388
e54b1a92
RO
3892019-05-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
390
391 * config/sparc/sol2-unwind.h [__arch64__] (sparc64_is_sighandler):
392 Remove Solaris 9 and 10 support.
393 (sparc_is_sighandler): Likewise.
394
abbb8307
JDA
3952019-05-26 John David Anglin <danglin@gcc.gnu.org>
396
397 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Add cast.
398
2581344d
L
3992019-05-17 H.J. Lu <hongjiu.lu@intel.com>
400
401 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
402 4_FP_W_TYPEs are used for IEEE quad precision.
403 * soft-fp/extendhftf2.c: Likewise.
404 * soft-fp/extendsftf2.c: Likewise.
405 * soft-fp/extendxftf2.c: Likewise.
406 * soft-fp/trunctfdf2.c: Likewise.
407 * soft-fp/trunctfhf2.c: Likewise.
408 * soft-fp/trunctfsf2.c: Likewise.
409 * soft-fp/trunctfxf2.c: Likewise.
410 * config/rs6000/ibm-ldouble.c: Likewise.
411
ccd1242e
RO
4122019-05-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
413
414 * config.host: Simplify various *-*-solaris2.1[0-9]* to
415 *-*-solaris2*.
416 * configure.ac: Likewise.
417 * configure: Regenerate.
418
419 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
420 Solaris 10 and Solaris 11 < snv_125 handling.
421
ef5eb79d
IS
4222019-05-12 Iain Sandoe <iain@sandoe.co.uk>
423
424 * config/rs6000/darwin-vecsave.S: Set .machine appropriately.
425
4f0e90fa
HL
4262019-05-07 Hongtao Liu <hongtao.liu@intel.com>
427
428 * config/i386/cpuinfo.c (get_available_features): Detect BF16.
429 * config/i386/cpuinfo.h (enum processor_features): Add
430 FEATURE_AVX512BF16.
431
48528842
RR
4322019-04-23 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
433 Bernd Edlinger <bernd.edlinger@hotmail.de>
434 Jakub Jelinek <jakub@redhat.com>
435
436 PR target/89093
437 * config/arm/pr-support.c: Add #pragma GCC target("general-regs-only").
438 * config/arm/unwind-arm.c: Likewise.
439 * unwind-c.c (PERSONALITY_FUNCTION): Add general-regs-only target
440 attribute for ARM.
441
887e182f
MC
4422019-04-15 Monk Chiang <sh.chiang04@gmail.com>
443
444 * config/nds32/linux-unwind.h (SIGRETURN): Remove.
445 (RT_SIGRETURN): Update.
446 (nds32_fallback_frame_state): Update.
447
a90b0cdd
MS
4482019-02-21 Martin Sebor <msebor@redhat.com>
449
450 * libgcc2.h (__clear_cache): Correct signature.
451 * libgcc2.c (__clear_cache): Same.
452
1ed28eda
UB
4532019-02-20 Uroš Bizjak <ubizjak@gmail.com>
454
455 * config/alpha/linux-unwind.h (alpha_fallback_frame_state):
456 Cast 'mcontext_t *' &rt_->uc.uc_mcontext to 'struct sigcontext *'.
457
fe95aee9
UB
4582019-02-19 Uroš Bizjak <ubizjak@gmail.com>
459
460 * unwind-dw2.c (_Unwind_GetGR) [DWARF_ZERO_REG]: Compare
461 regno instead of index to DWARF_ZERO_REG.
462
bf7988f1
EB
4632019-02-15 Eric Botcazou <ebotcazou@adacore.com>
464
465 * config/visium/lib2funcs.c (__set_trampoline_parity): Replace
466 TRAMPOLINE_SIZE with __LIBGCC_TRAMPOLINE_SIZE__.
467
ba2c1ca8
UB
4682019-01-31 Uroš Bizjak <ubizjak@gmail.com>
469
470 * config/alpha/t-linux: Add -mfp-rounding-mode=d
471 to HOST_LIBGCC2_CFLAGS.
472
6395ba73
L
4732019-01-23 Joseph Myers <joseph@codesourcery.com>
474
475 PR libgcc/88931
ba2c1ca8 476 * libgcc2.c (FSTYPE FUNC (DWtype u)): Correct no leading bits case.
6395ba73 477
756721ba
ML
4782019-01-18 Martin Liska <mliska@suse.cz>
479
480 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Rename
481 to ...
482 (__gcov_indirect_call_profiler_v3): ... this.
483 * libgcov.h (__gcov_indirect_call_profiler_v2): Likewise.
484 (__gcov_indirect_call_profiler_v3): Likewise.
485 * Makefile.in: Bump function name.
486
d273c40a
ML
4872019-01-18 Martin Liska <mliska@suse.cz>
488
489 * libgcov-driver.c (GCOV_PROF_PREFIX): Define.
490 (gcov_version): Use in gcov_error.
491 (merge_one_data): Likewise.
492 (dump_one_gcov): Likewise.
493
be9d9fdb
ML
4942019-01-18 Martin Liska <mliska@suse.cz>
495
496 * libgcov-driver.c (gcov_version_string): New function.
497 (gcov_version): Convert version integer into string.
498
91d7b7fe
AS
4992019-01-17 Andrew Stubbs <ams@codesourcery.com>
500 Kwok Cheung Yeung <kcy@codesourcery.com>
501 Julian Brown <julian@codesourcery.com>
502 Tom de Vries <tom@codesourcery.com>
503
504 * config.host: Recognize amdgcn*-*-amdhsa.
505 * config/gcn/crt0.c: New file.
506 * config/gcn/lib2-divmod-hi.c: New file.
507 * config/gcn/lib2-divmod.c: New file.
508 * config/gcn/lib2-gcn.h: New file.
509 * config/gcn/sfp-machine.h: New file.
510 * config/gcn/t-amdgcn: New file.
511
67914693
SL
5122019-01-09 Sandra Loosemore <sandra@codesourcery.com>
513
514 PR other/16615
515
516 * config/c6x/libunwind.S: Mechanically replace "can not" with
517 "cannot".
518 * config/tilepro/atomic.h: Likewise.
519 * config/vxlib-tls.c: Likewise.
520 * generic-morestack-thread.c: Likewise.
521 * generic-morestack.c: Likewise.
522 * mkmap-symver.awk: Likewise.
523
a5544970
JJ
5242019-01-01 Jakub Jelinek <jakub@redhat.com>
525
526 Update copyright years.
527
da77eace
L
5282018-12-20 H.J. Lu <hongjiu.lu@intel.com>
529
530 * unwind-pe.h (read_encoded_value_with_base): Add GCC pragma
531 to ignore -Waddress-of-packed-member.
532
72e3a529
TP
5332018-12-19 Thomas Preud'homme <thomas.preudhomme@linaro.org>
534
535 * /config/arm/lib1funcs.S (FUNC_START): Remove unused sp_section
536 parameter and corresponding code.
537 (ARM_FUNC_START): Likewise in both definitions.
538 Also update footer comment about condition that need to match with
539 gcc/config/arm/elf.h to also include libgcc/config/arm/t-arm.
540 * config/arm/ieee754-df.S (muldf3): Also build it if L_arm_muldf3 is
541 defined. Weakly define it in this case.
542 * config/arm/ieee754-sf.S (mulsf3): Likewise with L_arm_mulsf3.
543 * config/arm/t-elf (LIB1ASMFUNCS): Build _arm_muldf3.o and
544 _arm_mulsf3.o before muldiv versions if targeting Thumb-1 only. Add
545 comment to keep condition in sync with the one in
546 libgcc/config/arm/lib1funcs.S and gcc/config/arm/elf.h.
547
5d54c798
WX
5482018-12-18 Wei Xiao <wei3.xiao@intel.com>
549
550 * config/i386/cpuinfo.c (get_intel_cpu): Handle cascadelake.
551 * config/i386/cpuinfo.h: Add INTEL_COREI7_CASCADELAKE.
552
5a2580b6
RV
5532018-12-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
554
555 * config/rs6000/tramp.S (__trampoline_setup): Also emit .size
556 and .cfi_endproc directives for VxWorks targets.
557
c0c5112b
PK
5582018-12-05 Paul Koning <ni1d@arrl.net>
559
560 * udivmodhi4.c (__udivmodhi4): Fix loop end check.
561
1ea7ea18
AM
5622018-11-27 Alan Modra <amodra@gmail.com>
563
564 * config/rs6000/morestack.S (__stack_split_initialize),
565 (__morestack_get_guard, __morestack_set_guard),
566 (__morestack_make_guard): Provide CFI covering these functions.
567 * config/rs6000/tramp.S (__trampoline_setup): Likewise.
568
ff641ae1
XQ
5692018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
570
1ea7ea18 571 * config/csky/linux-unwind.h (sc_pt_regs): Update for kernel.
ff641ae1
XQ
572 (sc_pt_regs_lr): Update for kernel.
573 (sc_pt_regs_tls): Update for kernel.
574
28209372
XQ
5752018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
576
577 * config/csky/linux-unwind.h: Fix coding style.
578
b2a71af6
XQ
5792018-11-13 Xianmiao Qu <xianmiao_qu@c-sky.com>
580
581 * config/csky/linux-unwind.h (_sig_ucontext_t): Remove.
1ea7ea18 582 (csky_fallback_frame_state): Modify the check of the
b2a71af6
XQ
583 instructions to adapt to changes in the kernel
584
d929e137
SH
5852018-11-09 Stafford Horne <shorne@gmail.com>
586 Richard Henderson <rth@twiddle.net>
587
588 * config.host: Add OpenRISC support.
589 * config/or1k/*: New.
590
222cfefa
KC
5912018-11-08 Kito Cheng <kito@andestech.com>
592
593 * soft-fp/adddf3.c: Update from glibc.
594 * soft-fp/addsf3.c: Likewise.
595 * soft-fp/addtf3.c: Likewise.
596 * soft-fp/divdf3.c: Likewise.
597 * soft-fp/divsf3.c: Likewise.
598 * soft-fp/divtf3.c: Likewise.
599 * soft-fp/double.h: Likewise.
600 * soft-fp/eqdf2.c: Likewise.
601 * soft-fp/eqsf2.c: Likewise.
602 * soft-fp/eqtf2.c: Likewise.
603 * soft-fp/extenddftf2.c: Likewise.
604 * soft-fp/extended.h: Likewise.
605 * soft-fp/extendhftf2.c: Likewise.
606 * soft-fp/extendsfdf2.c: Likewise.
607 * soft-fp/extendsftf2.c: Likewise.
608 * soft-fp/extendxftf2.c: Likewise.
609 * soft-fp/fixdfdi.c: Likewise.
610 * soft-fp/fixdfsi.c: Likewise.
611 * soft-fp/fixdfti.c: Likewise.
612 * soft-fp/fixhfti.c: Likewise.
613 * soft-fp/fixsfdi.c: Likewise.
614 * soft-fp/fixsfsi.c: Likewise.
615 * soft-fp/fixsfti.c: Likewise.
616 * soft-fp/fixtfdi.c: Likewise.
617 * soft-fp/fixtfsi.c: Likewise.
618 * soft-fp/fixtfti.c: Likewise.
619 * soft-fp/fixunsdfdi.c: Likewise.
620 * soft-fp/fixunsdfsi.c: Likewise.
621 * soft-fp/fixunsdfti.c: Likewise.
622 * soft-fp/fixunshfti.c: Likewise.
623 * soft-fp/fixunssfdi.c: Likewise.
624 * soft-fp/fixunssfsi.c: Likewise.
625 * soft-fp/fixunssfti.c: Likewise.
626 * soft-fp/fixunstfdi.c: Likewise.
627 * soft-fp/fixunstfsi.c: Likewise.
628 * soft-fp/fixunstfti.c: Likewise.
629 * soft-fp/floatdidf.c: Likewise.
630 * soft-fp/floatdisf.c: Likewise.
631 * soft-fp/floatditf.c: Likewise.
632 * soft-fp/floatsidf.c: Likewise.
633 * soft-fp/floatsisf.c: Likewise.
634 * soft-fp/floatsitf.c: Likewise.
635 * soft-fp/floattidf.c: Likewise.
636 * soft-fp/floattihf.c: Likewise.
637 * soft-fp/floattisf.c: Likewise.
638 * soft-fp/floattitf.c: Likewise.
639 * soft-fp/floatundidf.c: Likewise.
640 * soft-fp/floatundisf.c: Likewise.
641 * soft-fp/floatunditf.c: Likewise.
642 * soft-fp/floatunsidf.c: Likewise.
643 * soft-fp/floatunsisf.c: Likewise.
644 * soft-fp/floatunsitf.c: Likewise.
645 * soft-fp/floatuntidf.c: Likewise.
646 * soft-fp/floatuntihf.c: Likewise.
647 * soft-fp/floatuntisf.c: Likewise.
648 * soft-fp/floatuntitf.c: Likewise.
649 * soft-fp/gedf2.c: Likewise.
650 * soft-fp/gesf2.c: Likewise.
651 * soft-fp/getf2.c: Likewise.
652 * soft-fp/half.h: Likewise.
653 * soft-fp/ledf2.c: Likewise.
654 * soft-fp/lesf2.c: Likewise.
655 * soft-fp/letf2.c: Likewise.
656 * soft-fp/muldf3.c: Likewise.
657 * soft-fp/mulsf3.c: Likewise.
658 * soft-fp/multf3.c: Likewise.
659 * soft-fp/negdf2.c: Likewise.
660 * soft-fp/negsf2.c: Likewise.
661 * soft-fp/negtf2.c: Likewise.
662 * soft-fp/op-1.h: Likewise.
663 * soft-fp/op-2.h: Likewise.
664 * soft-fp/op-4.h: Likewise.
665 * soft-fp/op-8.h: Likewise.
666 * soft-fp/op-common.h: Likewise.
667 * soft-fp/quad.h: Likewise.
668 * soft-fp/single.h: Likewise.
669 * soft-fp/soft-fp.h: Likewise.
670 * soft-fp/subdf3.c: Likewise.
671 * soft-fp/subsf3.c: Likewise.
672 * soft-fp/subtf3.c: Likewise.
673 * soft-fp/truncdfsf2.c: Likewise.
674 * soft-fp/trunctfdf2.c: Likewise.
675 * soft-fp/trunctfhf2.c: Likewise.
676 * soft-fp/trunctfsf2.c: Likewise.
677 * soft-fp/trunctfxf2.c: Likewise.
678 * soft-fp/unorddf2.c: Likewise.
679 * soft-fp/unordsf2.c: Likewise.
680 * soft-fp/unordtf2.c: Likewise.
681
2901f42f
VK
6822018-11-04 Venkataramanan Kumar <Venkataramanan.kumar@amd.com>
683
684 * config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
685 * config/i386/cpuinfo.h (processor_types): Add znver2.
686
4310ca66
PK
6872018-11-01 Paul Koning <ni1d@arrl.net>
688
689 * config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c.
690 (HOST_LIBGCC2_CFLAGS): Change to optimize for size.
691
22e05272
JM
6922018-10-31 Joseph Myers <joseph@codesourcery.com>
693
694 PR bootstrap/82856
695 * configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
696 * configure: Regenerate.
697
8180cde0
CZ
6982018-10-31 Claudiu Zissulescu <claziss@synopsys.com>
699
700 * config/arc/lib1funcs.S (_muldi3): New function.
701 * config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
702
be7b071e
RV
7032018-10-30 Rasmus Villemoes <rv@rasmusvillemoes.dk>
704
705 * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
706
3239d726
ML
7072018-10-25 Martin Liska <mliska@suse.cz>
708
709 PR other/87735
710 * libgcov-profiler.c: Revert.
711
19b55958
ML
7122018-10-24 Martin Liska <mliska@suse.cz>
713
714 * libgcov-profiler.c: Start from 1 in order to distinguish
715 functions which were seen and these that were not.
716
a9a2fddb
PK
7172018-10-18 Paul Koning <ni1d@arrl.net>
718
719 * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
720 standard.
721 * divmod.c: Update references to __udivmodsi4.
722 * udivmod.c: Ditto.
723 * udivhi3.c: New file.
724 * udivmodhi4.c: New file.
725 * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
726
fc8abc46
RV
7272018-10-17 Rasmus Villemoes <rv@rasmusvillemoes.dk>
728
729 * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
730
87f918e3
OH
7312018-10-12 Olivier Hainque <hainque@adacore.com>
732
733 * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
734 defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
735
be86efa7
PK
7362018-10-08 Paul Koning <ni1d@arrl.net>
737
738 * config/pdp11/t-pdp11: Remove -mfloat32 switch.
739
3edbcdbe
ML
7402018-10-04 Martin Liska <mliska@suse.cz>
741
742 PR gcov-profile/84107
743 * libgcov-profiler.c (__gcov_indirect_call):
744 Change type to indirect_call_tuple.
745 (struct indirect_call_tuple): New struct.
746 (__gcov_indirect_call_topn_profiler): Change type.
747 (__gcov_indirect_call_profiler_v2): Use the new
748 variables.
749 * libgcov.h (struct indirect_call_tuple): New struct
750 definition.
751
af8096fc
UB
7522018-10-03 Uros Bizjak <ubizjak@gmail.com>
753
754 * libgcc2.c (isnan): Use __builtin_isnan.
755 (isfinite): Use __builtin_isfinite.
756 (isinf): Use __builtin_isinf.
757
0a76bba4
UB
7582018-09-26 Uros Bizjak <ubizjak@gmail.com>
759
760 * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
761
5244089f
OH
7622018-09-21 Alexandre Oliva <oliva@adacore.com>
763
764 * config/vxcache.c: New file. Provide __clear_cache, based on
765 the cacheTextUpdate VxWorks service.
766 * config/t-vxworks (LIB2ADD): Add vxcache.c.
767 (LIB2FUNCS_EXCLUDE): Add _clear_cache.
768 * config/t-vxwoks7: Likewise.
769
512cc015
ML
7702018-09-21 Martin Liska <mliska@suse.cz>
771
772 * libgcov-driver.c (crc32_unsigned): Remove.
773 (gcov_histogram_insert): Likewise.
774 (gcov_compute_histogram): Likewise.
775 (compute_summary): Simplify rapidly.
776 (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
777 (merge_summary): Rapidly simplify.
778 (dump_one_gcov): Ignore gcov_summary.
779 (gcov_do_dump): Do not handle program summary, it's not
780 used.
781 * libgcov-util.c (tag_summary): Remove.
782 (read_gcda_finalize): Fix coding style.
783 (read_gcda_file): Initialize curr_object_summary.
784 (compute_summary): Remove.
785 (calculate_overlap): Remove settings of run_max.
786
36ff254b
MC
7872018-09-21 Monk Chiang <sh.chiang04@gmail.com>
788
789 * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
790 ucontext_t type instead.
791 (nds32_fallback_frame_state): Remove struct _sigframe statement.
792
229a033d
KC
7932018-09-21 Kito Cheng <kito.cheng@gmail.com>
794
795 * config/nds32/t-nds32-glibc: New file.
796
53c6feb2
RO
7972018-09-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
798
799 * configure.ac (solaris_ld_v2_maps): New test.
800 * configure: Regenerate.
801 * Makefile.in (solaris_ld_v2_maps): New variable.
802 * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
803 if supported.
804
ebdb6f23
RE
8052018-08-23 Richard Earnshaw <rearnsha@arm.com>
806
807 PR target/86951
808 * config/arm/lib1funcs.asm (speculation_barrier): New function.
809 * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
810 to build.
811
a49c064e
IS
8122018-08-22 Iain Sandoe <iain@sandoe.co.uk>
813
1ea7ea18 814 * config/unwind-dw2-fde-darwin.c
a49c064e
IS
815 (_darwin10_Unwind_FindEnclosingFunction): move from here ...
816 * config/darwin10-unwind-find-enc-func.c: … to here.
817 * config/t-darwin: Build Darwin10 unwinder shim crt.
818 * libgcc/config.host: Add the Darwin10 unwinder shim.
819
9a5b8df7
RV
8202018-08-21 Rasmus Villemoes <rv@rasmusvillemoes.dk>
821
822 * config.host: Add crtbegin.o and crtend.o for
823 powerpc-wrs-vxworks target.
824
4cd0bc3b
J
8252018-08-17 Jojo <jijie_rong@c-sky.com>
826 Huibin Wang <huibin_wang@c-sky.com>
827 Sandra Loosemore <sandra@codesourcery.com>
828 Chung-Lin Tang <cltang@codesourcery.com>
829
830 C-SKY port: libgcc
831
832 * config.host: Add C-SKY support.
833 * config/csky/*: New.
834
a4931745
CJW
8352018-08-12 Chung-Ju Wu <jasonwucj@gmail.com>
836
837 * config/nds32/t-nds32-isr: Rearrange object dependency.
838 * config/nds32/initfini.c: Add dwarf2 unwinding support.
839 * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
840 and registers usage.
841 * config/nds32/isr-library/excp_isr.S: Ditto.
842 * config/nds32/isr-library/intr_isr.S: Ditto.
843 * config/nds32/isr-library/reset.S: Ditto.
844 * config/nds32/isr-library/restore_all.inc: Ditto.
845 * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
846 * config/nds32/isr-library/restore_partial.inc: Ditto.
847 * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
848 * config/nds32/isr-library/save_all.inc: Ditto.
849 * config/nds32/isr-library/save_mac_regs.inc: Ditto.
850 * config/nds32/isr-library/save_partial.inc: Ditto.
851 * config/nds32/isr-library/save_usr_regs.inc: Ditto.
852 * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
853
2b1969f6
JDA
8542018-08-11 John David Anglin <danglin@gcc.gnu.org>
855
856 * config/pa/linux-atomic.c: Update comment.
857 (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
858 COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
859 SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
860 __ATOMIC_RELAXED for atomic loads.
861 (SYNC_LOCK_RELEASE_1): New define. Use __sync_synchronize() and
862 unordered store to release lock.
863 (__sync_lock_release_8): Likewise.
864 (SYNC_LOCK_RELEASE_2): Remove define.
af8096fc 865
89fff9cc
NP
8662018-08-02 Nicolas Pitre <nico@fluxnic.net>
867
868 PR libgcc/86512
869 * config/arm/ieee754-df.S: Don't shortcut denormal handling when
870 exponent goes negative. Update my email address.
871 * config/arm/ieee754-sf.S: Likewise.
872
fd2e1dcd
ML
8732018-08-01 Martin Liska <mliska@suse.cz>
874
875 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
92a285c1 876 check that __gcov_indirect_call_callee is non-null.
fd2e1dcd 877
b7415975
CL
8782018-07-30 Christophe Lyon <christophe.lyon@linaro.org>
879
880 * config/arm/ieee754-df.S: Fix comment for code working on
881 architectures >= 4.
882 * config/arm/ieee754-sf.S: Likewise.
883
b72e71a3
L
8842018-07-27 H.J. Lu <hongjiu.lu@intel.com>
885
886 PR libgcc/85334
887 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
888 Removed.
889
1c686aa4
JC
8902018-07-05 James Clarke <jrtc27@jrtc27.com>
891
892 * configure: Regenerated.
893
b61c9b99
RO
8942018-06-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
895
896 * Makefile.in (install_leaf): Use enable_gcov instead of
897 enable_libgcov.
898
1765b023
RV
8992018-06-27 Rasmus Villemoes <rv@rasmusvillemoes.dk>
900
901 * configure.ac: Add --disable-gcov option.
902 * configure: Regenerate.
903 * Makefile.in: Honour @enable_gcov@.
904
9b2e34ef
CL
9052018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
906
907 * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
908 __ARM_ARCH and __ARM_FEATURE_CLZ instead.
909 (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
910 * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
911 __ARM_ARCH__.
912 * config/arm/ieee754-sf.S: Likewise.
913 * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
914
d1b0dd54
CL
9152018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
916
917 * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
918 longer supported.
919 * config/arm/ieee754-sf.S: Likewise.
920
1f3fa525
TM
9212018-06-20 Than McIntosh <thanm@google.com>
922
923 PR libgcc/86213
924 * generic-morestack.c (allocate_segment): Move calls to getenv and
925 getpagesize to __morestack_load_mmap.
926 (__morestack_load_mmap) Initialize static_pagesize and
927 use_guard_page here so as to avoid clobbering SSE regs during a
928 __morestack call.
929
6a8886e4
MM
9302018-06-18 Michael Meissner <meissner@linux.ibm.com>
931
932 * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
933 support modules with -mno-gnu-attribute.
934 * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
935
fb997097
OH
9362018-06-07 Olivier Hainque <hainque@adacore.com>
937
938 * config/t-vxworks (LIBGCC_INCLUDES): Add
939 -I$(MULTIBUILDTOP)../../gcc/include.
940 * config/t-vxworks7: Likewise. Reformat a bit to match
941 the t-vxworks layout.
942
a548a5a1
OM
9432018-06-07 Olga Makhotina <olga.makhotina@intel.com>
944
945 * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
946
244aebfd
ML
9472018-06-07 Martin Liska <mliska@suse.cz>
948
949 * libgcov-driver.c: Rename cs_all to all and assign it from
92a285c1 950 all_prg.
244aebfd 951
6c086e8c
ML
9522018-06-07 Martin Liska <mliska@suse.cz>
953
92a285c1 954 PR bootstrap/86057
6c086e8c 955 * libgcov-driver-system.c (replace_filename_variables): Use
92a285c1 956 memcpy instead of mempcpy.
6c086e8c 957 (allocate_filename_struct): Do not allocate filename, allocate
92a285c1 958 prefix and set it.
6c086e8c 959 (gcov_exit_open_gcda_file): Allocate memory for gf->filename
92a285c1 960 here and properly copy content into it.
6c086e8c 961 * libgcov-driver.c (struct gcov_filename): Remove max_length
92a285c1 962 field, change prefix from size_t into char *.
6c086e8c
ML
963 (compute_summary): Do not calculate longest filename.
964 (gcov_do_dump): Release memory of gf.filename after each file.
965 * libgcov-util.c (compute_summary): Use new signature of
92a285c1 966 compute_summary.
6c086e8c
ML
967 (calculate_overlap): Likewise.
968
97a53d1d
ML
9692018-06-05 Martin Liska <mliska@suse.cz>
970
971 PR gcov-profile/47618
972 * libgcov-driver-system.c (replace_filename_variables): New
92a285c1 973 function.
97a53d1d
ML
974 (gcov_exit_open_gcda_file): Use it.
975
7f3577f5
ML
9762018-06-05 Martin Liska <mliska@suse.cz>
977
978 * libgcov-driver.c (gcov_compute_histogram): Remove usage
979 of gcov_ctr_summary.
980 (compute_summary): Do it just for a single summary.
981 (merge_one_data): Likewise.
982 (merge_summary): Simplify as we read just single summary.
983 (dump_one_gcov): Pass proper argument.
984 * libgcov-util.c (compute_one_gcov): Simplify as we have just
985 single summary.
986 (gcov_info_count_all_cold): Likewise.
987 (calculate_overlap): Likewise.
988
cf3cd43d
CJW
9892018-06-02 Chung-Ju Wu <jasonwucj@gmail.com>
990 Monk Chiang <sh.chiang04@gmail.com>
991
992 * config.host (nds32*-linux*): New.
993 * config/nds32/linux-atomic.c: New file.
994 * config/nds32/linux-unwind.h: New file.
995
8b8003ed
UB
9962018-05-31 Uros Bizjak <ubizjak@gmail.com>
997
998 PR target/85591
999 * config/i386/cpuinfo.c (get_amd_cpu): Return
1000 AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
1001
bbdf026f
RV
10022018-05-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
1003
92a285c1 1004 * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
bbdf026f 1005
0e8f29da
ML
10062018-05-29 Martin Liska <mliska@suse.cz>
1007
92a285c1 1008 PR gcov-profile/85759
0e8f29da 1009 * libgcov-driver-system.c (gcov_error): Introduce usage of
92a285c1 1010 GCOV_EXIT_AT_ERROR env. variable.
0e8f29da 1011 * libgcov-driver.c (merge_one_data): Print error that we
92a285c1 1012 overwrite a gcov file with a different timestamp.
0e8f29da 1013
54fd1590
K
10142018-05-23 Kalamatee <kalamatee@gmail.com>
1015
1016 * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
1017 path to Lf$finfty.
1018
09baee1a
KC
10192018-05-18 Kito Cheng <kito.cheng@gmail.com>
1020 Monk Chiang <sh.chiang04@gmail.com>
1021 Jim Wilson <jimw@sifive.com>
1022
1023 * config/riscv/save-restore.S: Add support for rv32e.
1024
c3f808d3
KT
10252018-05-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1026
1027 * config/arm/libunwind.S: Update comment relating to armv5.
1028
fcf4f831
JL
10292018-05-17 Jerome Lambourg <lambourg@adacore.com>
1030
1031 * config/arm/cmse.c (cmse_check_address_range): Replace
1032 UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
1033
74b2bb19
OM
10342018-05-17 Olga Makhotina <olga.makhotina@intel.com>
1035
1036 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
1037 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
1038
50e461df
OM
10392018-05-08 Olga Makhotina <olga.makhotina@intel.com>
1040
1041 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
1042 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
1043
e5f1cdb1
AC
10442018-05-07 Amaan Cheval <amaan.cheval@gmail.com>
1045
1046 * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
1047
8f479d7a
AT
10482018-04-27 Andreas Tobler <andreast@gcc.gnu.org>
1049 Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
1050
1051 PR libgcc/84292
1052 * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
1053 op_and_fetch to return the right result.
1054
ae043291
AM
10552018-04-27 Alan Modra <amodra@gmail.com>
1056
1057 PR libgcc/85532
1058 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
1059 -fno-asynchronous-unwind-tables.
1060
ba169b74
CJW
10612018-04-25 Chung-Ju Wu <jasonwucj@gmail.com>
1062
1063 * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
1064 * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
1065
ffc2fc06
L
10662018-04-24 H.J. Lu <hongjiu.lu@intel.com>
1067
1068 * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
1069 when including "config/i386/shadow-stack-unwind.h".
1070
7b47ecf2
L
10712018-04-24 H.J. Lu <hongjiu.lu@intel.com>
1072
1073 * configure: Regenerated.
1074
661eb8f9
MM
10752018-04-20 Michael Meissner <meissner@linux.ibm.com>
1076
1077 PR target/85456
1078 * config/rs6000/_powikf2.c: New file. Add support for the
1079 __builtin_powil function when long double is IEEE 128-bit floating
1080 point.
1081 * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
1082 __powikf2 support.
1083 (__powikf2): Likewise.
1084 * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
1085 (__powikf2_hw): Likewise.
1086 (__powikf2): Likewise.
1087 * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
1088 * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
1089 (_powikf2-hw.c): Likewise.
1090
5707be3c
L
10912018-04-19 H.J. Lu <hongjiu.lu@intel.com>
1092
1093 PR libgcc/85334
1094 * unwind-generic.h (_Unwind_Frames_Increment): New.
1095 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
1096 Likewise.
1097 * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
1098 count with _Unwind_Frames_Increment.
1099 (_Unwind_ForcedUnwind_Phase2): Likewise.
1100
5f9ca0b8
L
11012018-04-19 H.J. Lu <hongjiu.lu@intel.com>
1102
1103 PR libgcc/85379
1104 * config/i386/morestack.S (__stack_split_initialize): Add
1105 _CET_ENDBR.
1106
a0e1df88
JJ
11072018-04-19 Jakub Jelinek <jakub@redhat.com>
1108
1109 * configure: Regenerated.
1110
001ddaa8
DM
11112018-04-18 David Malcolm <dmalcolm@redhat.com>
1112
1113 PR jit/85384
1114 * configure: Regenerate.
1115
a57f99ba
JJ
11162018-04-16 Jakub Jelinek <jakub@redhat.com>
1117
1118 PR target/84945
1119 * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
1120 -Wdangling-else warnings. Mask shift counts to avoid
1121 -Wshift-count-negative and -Wshift-count-overflow false positives.
1122
4d47fe5a
RB
11232018-04-06 Ruslan Bukin <br@bsdpad.com>
1124
1125 * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
1126
059cc8ac
L
11272018-03-29 H.J. Lu <hongjiu.lu@intel.com>
1128
1129 PR target/85100
1130 * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
1131 (XSTATE_FP): Likewise.
1132 (XSTATE_SSE): Likewise.
1133 (XSTATE_YMM): Likewise.
1134 (XSTATE_OPMASK): Likewise.
1135 (XSTATE_ZMM): Likewise.
1136 (XSTATE_HI_ZMM): Likewise.
1137 (XCR_AVX_ENABLED_MASK): Likewise.
1138 (XCR_AVX512F_ENABLED_MASK): Likewise.
1139 (get_available_features): Enable AVX and AVX512 features only
1140 if their states are supported by OSXSAVE.
1141
f2620385
IT
11422018-03-22 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1143
1144 PR target/85025
1145 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
1146 Fix a typo, tmp => 255.
1147
ae6dca8c
JJ
11482018-03-20 Jakub Jelinek <jakub@redhat.com>
1149
1150 PR target/84945
1151 * config/i386/cpuinfo.h (__cpu_features2): Declare.
1152 * config/i386/cpuinfo.c (__cpu_features2): New variable for
1153 ifndef SHARED only.
1154 (set_feature): Define.
1155 (get_available_features): Use set_feature macro. Set __cpu_features2
1156 to the second word of features ifndef SHARED.
1157
c36b04c1
JK
11582018-03-15 Julia Koval <julia.koval@intel.com>
1159
1160 * config/i386/cpuinfo.c (get_available_features): Add
1161 FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
1162 FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
1163 * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
1164 FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
1165 FEATURE_AVX512BITALG.
1166
79ab5364
JK
11672018-03-14 Julia Koval <julia.koval@intel.com>
1168
1169 * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
1170 icelake client and icelake server.
1171
66a00b11
JDA
11722018-03-06 John David Anglin <danglin@gcc.gnu.org>
1173
1174 * config/pa/fptr.c (_dl_read_access_allowed): New.
1175 (__canonicalize_funcptr_for_compare): Use it.
af8096fc 1176
ce579a4f
JJ
11772018-02-28 Jakub Jelinek <jakub@redhat.com>
1178
1179 PR debug/83917
1180 * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
1181 $asm_hidden_op if visibility ("hidden") attribute works.
1182 (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
1183 * config/i386/i386-asm.h: Don't include auto-host.h.
1184 (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
1185 PACKAGE_URL): Don't undefine.
1186 (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
1187 guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
1188 (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
1189 #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
1190 definition instead of hardcoded .hidden.
1191 * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
1192 directive. Use #ifdef HAVE_AS_CFI_SECTIONS rather than
1193 #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
1194 (USE_GAS_CFI_DIRECTIVES): Don't define.
1195 * configure: Regenerated.
1196 * config.in: Likewise.
1197
e5868319
JJ
11982018-02-26 Jakub Jelinek <jakub@redhat.com>
1199
1200 PR debug/83917
1201 * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
1202 PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
1203 inclusion of auto-target.h and auto-host.h.
1204 (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
1205 __GCC_HAVE_DWARF2_CFI_ASM.
1206 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
1207 cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
1208 cfi_pop): Define.
1209 * config/i386/cygwin.S: Don't include auto-host.h here, just
1210 define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
1211 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
1212 cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
1213 * config/i386/resms64fx.h: Add cfi_* directives.
1214 * config/i386/resms64x.h: Likewise.
1215
faef260e
MF
12162018-02-20 Max Filippov <jcmvbkbc@gmail.com>
1217
1218 * config/xtensa/ieee754-df.S (__adddf3_aux): Add
1219 .literal_position directive.
1220 * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
1221
14e335ed
IT
12222018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1223
1224 PR target/84148
1225 * configure: Regenerate.
1226
95df0433
IT
12272018-02-16 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1228
1229 PR target/84239
1230 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
1231 Include cetintrin.h not x86intrin.h.
1232
f8de876d
IT
12332018-02-08 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1234
1235 PR target/84239
95df0433 1236 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
f8de876d
IT
1237 Use new _get_ssp and _inc_ssp intrinsics.
1238
02da1e9c
JK
12392018-02-02 Julia Koval <julia.koval@intel.com>
1240
1241 * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
1242
048c6a9a
CZ
12432018-01-26 Claudiu Zissulescu <claziss@synopsys.com>
1244
1245 * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
1246 option.
1247 (__divsi3): Use RF16 safe registers.
1248 (__modsi3): Likewise.
1249
0889f168
MF
12502018-01-23 Max Filippov <jcmvbkbc@gmail.com>
1251
1252 * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
1253 (__divsf3): Make NaN return value quiet.
1254 * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
1255 (__divdf3): Make NaN return value quiet.
1256
bc8b0d04
SP
12572018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
1258
1259 * config/rl78/anddi3.S: New assembly file.
1260 * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
1261
99cc06ea
SP
12622018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
1263
1264 * config/rl78/umindi3.S: New assembly file.
1265 * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
1266
6e9007a0
SP
12672018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
1268
1269 * config/rl78/smindi3.S: New assembly file.
1270 * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
1271
d975e494 12722018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
af8096fc 1273
d975e494
SP
1274 * config/rl78/smaxdi3.S: New assembly file.
1275 * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
1276
6a18c146 12772018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
af8096fc 1278
5dd16013
SP
1279 * config/rl78/umaxdi3.S: New assembly file.
1280 * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
af8096fc 1281
07baf4a5
JDA
12822018-01-21 John David Anglin <danglin@gcc.gnu.org>
1283
1284 PR lto/83452
1285 * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
1286 * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
af8096fc 1287
dbc3af4f
RS
12882018-01-13 Richard Sandiford <richard.sandiford@linaro.org>
1289
1290 * config/aarch64/value-unwind.h (aarch64_vg): New function.
1291 (DWARF_LAZY_REGISTER_VALUE): Define.
1292 * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
1293 to provide a fallback register value.
1294
68df9882
MM
12952018-01-08 Michael Meissner <meissner@linux.vnet.ibm.com>
1296
1297 * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
1298 __ibm128, instead of trying to use long double.
1299 (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
1300 accomidate -mabi=ieeelongdouble multilibs.
1301 (CVT_IBM128_TO_FLOAT128): Likewise.
1302 * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
1303 the appropriate IBM extended double type.
1304 (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
1305 (__gcc_qsub): Likewise.
1306 (__gcc_qmul): Likewise.
1307 (__gcc_qdiv): Likewise.
1308 (pack_ldouble): Likewise.
1309 (__gcc_qneg): Likewise.
1310 (__gcc_qeq): Likewise.
1311 (__gcc_qne): Likewise.
1312 (__gcc_qge): Likewise.
1313 (__gcc_qle): Likewise.
1314 (__gcc_stoq): Likewise.
1315 (__gcc_dtoq): Likewise.
1316 (__gcc_itoq): Likewise.
1317 (__gcc_utoq): Likewise.
1318 (__gcc_qunord): Likewise.
1319 * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
1320 quad-float128.h for the definitions.
1321 (COPYSIGN): Use the f128 version instead of the q version.
1322 (INFINITY): Likewise.
1323 (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
1324 * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
1325 quad-float128.h for the definitions.
1326 (COPYSIGN): Use the f128 version instead of the q version.
1327 (INFINITY): Likewise.
1328 (FABS): Likewise.
1329 (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
1330 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
1331 * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
1332
64b371b1
SH
13332018-01-05 Sebastian Huber <sebastian.huber@embedded-brains.de>
1334
1335 * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
1336 configuration.
1337
85ec4feb
JJ
13382018-01-03 Jakub Jelinek <jakub@redhat.com>
1339
1340 Update copyright years.
1341
13422017-12-12 Kito Cheng <kito.cheng@gmail.com>
b8d7e076
KC
1343
1344 * config/riscv/t-elf: Use multi3.c instead of multi3.S.
1345 * config/riscv/multi3.c: New file.
1346 * config/riscv/multi3.S: Remove.
1347
3a4c600f
JW
13482017-12-08 Jim Wilson <jimw@sifive.com>
1349
1350 * config/riscv/div.S: Use FUNC_* macros.
1351 * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
1352 * config/riscv/save-restore.S: Likewise.
1353 * config/riscv/riscv-asm.h: New.
1354
75ad35b5
MM
13552017-11-30 Michael Meissner <meissner@linux.vnet.ibm.com>
1356
6ae3512c
MM
1357 * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
1358 * config/rs6000/_divkc3.c (__divkc3): Likewise.
1359
75ad35b5
MM
1360 PR libgcc/83112
1361 * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
1362 correct type for all ifunc resolvers to silence -Wattribute-alias
1363 warnings. Eliminate the forward declaration of the resolver
1364 functions which is no longer needed.
1365 (__subkf3_resolve): Likewise.
1366 (__mulkf3_resolve): Likewise.
1367 (__divkf3_resolve): Likewise.
1368 (__negkf2_resolve): Likewise.
1369 (__eqkf2_resolve): Likewise.
1370 (__nekf2_resolve): Likewise.
1371 (__gekf2_resolve): Likewise.
1372 (__gtkf2_resolve): Likewise.
1373 (__lekf2_resolve): Likewise.
1374 (__ltkf2_resolve): Likewise.
1375 (__unordkf2_resolve): Likewise.
1376 (__extendsfkf2_resolve): Likewise.
1377 (__extenddfkf2_resolve): Likewise.
1378 (__trunckfsf2_resolve): Likewise.
1379 (__trunckfdf2_resolve): Likewise.
1380 (__fixkfsi_resolve): Likewise.
1381 (__fixkfdi_resolve): Likewise.
1382 (__fixunskfsi_resolve): Likewise.
1383 (__fixunskfdi_resolve): Likewise.
1384 (__floatsikf_resolve): Likewise.
1385 (__floatdikf_resolve): Likewise.
1386 (__floatunsikf_resolve): Likewise.
1387 (__floatundikf_resolve): Likewise.
1388 (__extendkftf2_resolve): Likewise.
1389 (__trunctfkf2_resolve): Likewise.
1390
1391 PR libgcc/83103
1392 * config/rs6000/quad-float128.h (TF): Don't define if long double
1393 is IEEE 128-bit floating point.
1394 (TCtype): Define as either TCmode or KCmode, depending on whether
1395 long double is IEEE 128-bit floating point.
1396 (__mulkc3_sw): Add declarations for software/hardware versions of
1397 complex multiply/divide.
1398 (__divkc3_sw): Likewise.
1399 (__mulkc3_hw): Likewise.
1400 (__divkc3_hw): Likewise.
1401 * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
1402 handlers to switch between using software emulation and hardware
1403 float128 instructions, build the complex multiply/divide functions
1404 for both software and hardware support.
1405 * config/rs6000/_divkc3.c (_divkc3): Likewise.
1406 * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
1407 (__divkc3_resolve): Likewise.
1408 (__mulkc3): Likewise.
1409 (__divkc3): Likewise.
1410 * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
1411 (fp128_hw_src): Likewise.
1412 (fp128_hw_static_obj): Likewise.
1413 (fp128_hw_shared_obj): Likewise.
1414 (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
1415 _mulkc3.c and _divkc3.c, changing the function name.
1416 (_divkc3-hw.c): Likewise.
1417 * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
1418 and _divkc3-hw.c.
1419
c234d831
UB
14202017-11-26 Julia Koval <julia.koval@intel.com>
1421
1422 * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
1423 * config/i386/cpuinfo.h (processor_subtypes): Add
1424 INTEL_COREI7_CANNONLAKE.
1425
1ebafce0
IT
14262017-11-20 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1427
1428 PR bootstrap/83015
1429 * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
1430 parameter.
1431 * config/xtensa/unwind-dw2-xtensa.c: Likewise
1432 * config/ia64/unwind-ia64.c: Add frames parameter.
1433 * unwind-sjlj.c: Likewise.
1434
6a10fff4
IT
14352017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1436
1437 * config/i386/linux-unwind.h: Include
1438 config/i386/shadow-stack-unwind.h.
1439 * config/i386/shadow-stack-unwind.h: New file.
1440 * unwind-dw2.c: (uw_install_context): Add a frame parameter and
1441 pass it to _Unwind_Frames_Extra.
1442 * unwind-generic.h (_Unwind_Frames_Extra): New.
1443 * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
1444 parameter. Add local variable frames to count number of frames.
1445 (_Unwind_ForcedUnwind_Phase2): Likewise.
1446 (_Unwind_RaiseException): Add local variable frames to count
1447 number of frames, pass it to _Unwind_RaiseException_Phase2 and
1448 uw_install_context.
1449 (_Unwind_ForcedUnwind): Likewise.
1450 (_Unwind_Resume): Likewise.
1451 (_Unwind_Resume_or_Rethrow): Likewise.
1452
1ecae1fc
IT
14532017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1454
1455 * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
1456 (CET_FLAGS): New.
1457 * config/i386/morestack.S: Include <cet.h>.
1458 (__morestack_large_model): Add _CET_ENDBR at function entrance.
1459 * config/i386/resms64.h: Include <cet.h>.
1460 * config/i386/resms64f.h: Likewise.
1461 * config/i386/resms64fx.h: Likewise.
1462 * config/i386/resms64x.h: Likewise.
1463 * config/i386/savms64.h: Likewise.
1464 * config/i386/savms64f.h: Likewise.
1465 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
1466 (CRTSTUFF_T_CFLAGS): Likewise.
1467 * configure.ac: Include ../config/cet.m4.
1468 Set and substitute CET_FLAGS.
1469 * configure: Regenerated.
1470
f021f1d3
RO
14712017-11-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1472
1473 * config.host (*-*-solaris2*): Adapt comment for Solaris 12
1474 renaming.
1475 * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
1476 * configure.ac (libgcc_cv_solaris_crts): Likewise.
1477 * configure: Regenerate.
1478
65f480c7
TV
14792017-11-07 Tom de Vries <tom@codesourcery.com>
1480
1481 * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
1482 after "do {} while (0)".
1483
2a321acb
TV
14842017-11-07 Tom de Vries <tom@codesourcery.com>
1485
1486 PR other/82784
1487 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
1488 semicolon after "do {} while (0)".
1489 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1490 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1491 * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1492 * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1493
59fcf6c3
AT
14942017-11-04 Andreas Tobler <andreast@gcc.gnu.org>
1495
1496 PR libgcc/82635
1497 * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
1498 sysctl to determine whether we're in a trampoline.
1499 Keep the pattern matching method for systems without
1500 KERN_PROC_SIGTRAMP sysctl.
1501
b0c7ddf8
CM
15022017-11-03 Cupertino Miranda <cmiranda@synopsys.com>
1503 Vineet Gupta <vgupta@synopsys.com>
1504
1505 * config.host (arc*-*-linux*): Set md_unwind_header variable.
1506 * config/arc/linux-unwind-reg.def: New file.
1507 * config/arc/linux-unwind-reg.h: Likewise.
1508
5feee954
SP
15092017-10-23 Sebastian Perta <sebastian.perta@renesas.com>
1510
1511 * config/rl78/subdi3.S: New assembly file.
1512 * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
1513
a0bf6cf7
SP
15142017-10-13 Sebastian Perta <sebastian.perta@renesas.com>
1515
1516 * config/rl78/adddi3.S: New assembly file.
1517 * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
1518
e7176f75
JJ
15192017-10-13 Jakub Jelinek <jakub@redhat.com>
1520
1521 PR target/82274
1522 * libgcc2.c (__mulvDI3): If both operands have
1523 the same highpart of -1 and the topmost bit of lowpart is 0,
1524 multiplication overflows even if both lowparts are 0.
1525
db6601d2
JB
15262017-09-28 James Bowman <james.bowman@ftdichip.com>
1527
1528 * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
1529
938b6f1e
JM
15302017-09-26 Joseph Myers <joseph@codesourcery.com>
1531
1532 * config/microblaze/crti.S, config/microblaze/crtn.S,
1533 config/microblaze/divsi3.S, config/microblaze/moddi3.S,
1534 config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
1535 config/microblaze/mulsi3.S,
1536 config/microblaze/stack_overflow_exit.S,
1537 config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
1538 config/pa/milli64.S: Add .note.GNU-stack section.
1539
89762a83
DS
15402017-09-23 Daniel Santos <daniel.santos@pobox.com>
1541
1542 * configure.ac: Add Check for HAVE_AS_AVX.
1543 * config.in: Regenerate.
1544 * configure: Likewise.
1545 * config/i386/i386-asm.h: Include auto-target.h from libgcc.
1546 (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
1547 Correct out-of-date comments.
1548
cace2309
SP
15492017-09-20 Sebastian Peryt <sebastian.peryt@intel.com>
1550
1551 * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
1552 * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
1553
3cb626e4
DS
15542017-09-17 Daniel Santos <daniel.santos@pobox.com>
1555
cace2309 1556 * config/i386/i386-asm.h (PASTE2): New macro.
3cb626e4
DS
1557 (ASMNAME): Modify to use PASTE2.
1558 (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
1559 (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
cace2309 1560 * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
3cb626e4 1561 instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
cace2309
SP
1562 * config/i386/resms64f.S: Likewise.
1563 * config/i386/resms64fx.S: Likewise.
1564 * config/i386/resms64x.S: Likewise.
1565 * config/i386/savms64.S: Likewise.
1566 * config/i386/savms64f.S: Likewise.
1567 * config/i386/avx_resms64.S: New file that only defines a macro and
3cb626e4 1568 includes it's corresponding header file.
cace2309
SP
1569 * config/i386/avx_resms64f.S: Likewise.
1570 * config/i386/avx_resms64fx.S: Likewise.
1571 * config/i386/avx_resms64x.S: Likewise.
1572 * config/i386/avx_savms64.S: Likewise.
1573 * config/i386/avx_savms64f.S: Likewise.
1574 * config/i386/sse_resms64.S: Likewise.
1575 * config/i386/sse_resms64f.S: Likewise.
1576 * config/i386/sse_resms64fx.S: Likewise.
1577 * config/i386/sse_resms64x.S: Likewise.
1578 * config/i386/sse_savms64.S: Likewise.
1579 * config/i386/sse_savms64f.S: Likewise.
1580 * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
3cb626e4 1581
2f19c491 15822017-09-01 Olivier Hainque <hainque@adacore.com>
2f19c491
OH
1583 * config.host (*-*-vxworks7): Widen scope to vxworks7*.
1584
611e7036
OH
15852017-08-31 Olivier Hainque <hainque@adacore.com>
1586
1587 * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
1588 match as powerpc-wrs-vxworks*.
1589
c8f34527
JY
15902017-08-07 Jonathan Yong <10walls@gmail.com>
1591
1592 * config.host (*-cygwin): Include file from mingw
1593 config/i386/enable-execute-stack-mingw32.c
1594
0b458d2b 15952017-08-01 Jerome Lambourg <lambourg@adacore.com>
92a285c1
ML
1596 Doug Rupp <rupp@adacore.com>
1597 Olivier Hainque <hainque@adacore.com>
0b458d2b
JL
1598
1599 * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
1600 as well as arm-wrs-vxworks.
1601 * config/arm/t-vxworks7: New file. Add unwind-arm-vxworks.c to
1602 LIB2ADDEH.
1603 * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
1604 __exidx_start and __exidx_end for downloadable modules.
1605
4df612fa
OH
16062017-08-01 Olivier Hainque <hainque@adacore.com>
1607
1608 * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
1609 * config/t-vxworks7: Likewise.
1610
5560e8c0
OH
16112017-08-01 Olivier Hainque <hainque@adacore.com>
1612
1613 * config/t-vxworks: Instead of redefining LIB2ADD,
1614 augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
1615
16bab95a
SH
16162017-07-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1617
1618 * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
1619
9cbc07cc
DS
16202017-07-24 Daniel Santos <daniel.santos@pobox.com>
1621
1622 PR testsuite/80759
1623 * config.host: include i386/t-msabi for darwin and solaris.
1624 * config/i386/i386-asm.h
1625 (ELFFN): Rename to FN_TYPE.
1626 (FN_SIZE): New macro.
1627 (FN_HIDDEN): Likewise.
1628 (ASMNAME): Likewise.
1629 (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
1630 .globl.
1631 (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
1632 (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
1633 * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
1634 .macro.
1635 * config/i386/resms64f.S: Likewise.
1636 * config/i386/resms64fx.S: Likewise.
1637 * config/i386/resms64x.S: Likewise.
1638 * config/i386/savms64.S: Likewise.
1639 * config/i386/savms64f.S: Likewise.
1640
de742204
JM
16412017-07-19 John Marino <gnugcc@marino.st>
1642
1643 * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
1644
3787ee47
MM
16452017-07-12 Michael Meissner <meissner@linux.vnet.ibm.com>
1646
1647 PR target/81193
1648 * configure.ac (PowerPC float128 hardware support): Test whether
1649 we can use __builtin_cpu_supports before enabling the ifunc
1650 handler.
1651 * configure: Regenerate.
1652
b1938888
VG
16532017-07-10 Vineet Gupta <vgupta@synopsys.com>
1654
1655 * config.host: Remove uclibc from arc target spec.
1656
bec75e53
KW
16572017-07-09 Krister Walfridsson <krister.walfridsson@gmail.com>
1658
1659 * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
1660
d4391a62
PB
16612017-07-07 Peter Bergner <bergner@vnet.ibm.com>
1662
1663 * config/rs6000/float128-ifunc.c: Don't include auxv.h.
1664 (have_ieee_hw_p): Delete function.
1665 (SW_OR_HW) Use __builtin_cpu_supports().
1666
9296dd9b
TP
16672017-07-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
1668
1669 * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
1670
b85a969e
OH
16712017-07-03 Olivier Hainque <hainque@adacore.com>
1672
d4391a62 1673 * config/t-vxworks7: New file, really.
b85a969e 1674
883312dc
JM
16752017-06-28 Joseph Myers <joseph@codesourcery.com>
1676
1677 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
1678 config/alpha/linux-unwind.h (alpha_fallback_frame_state),
1679 config/bfin/linux-unwind.h (bfin_fallback_frame_state),
1680 config/i386/linux-unwind.h (x86_64_fallback_frame_state,
1681 x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
1682 uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
1683 config/pa/linux-unwind.h (pa32_fallback_frame_state),
1684 config/riscv/linux-unwind.h (riscv_fallback_frame_state),
1685 config/sh/linux-unwind.h (sh_fallback_frame_state),
1686 config/tilepro/linux-unwind.h (tile_fallback_frame_state),
1687 config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
1688 ucontext_t instead of struct ucontext.
1689
50567938
JL
16902017-06-27 Jerome Lambourg <lambourg@adacore.com>
1691
1692 * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
1693 (x86_64-wrs-vxworks7): Likewise.
1694
e4b0df93
OH
16952017-06-27 Olivier Hainque <hainque@adacore.com>
1696
1697 * config/t-vxworks7: New file.
1698 * config.host (*-*-vxworks7): Use it.
1699
60edf8bb
MT
17002017-06-22 Matt Turner <mattst88@gmail.com>
1701
1702 * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
1703 skylake case.
1704
a51a76e5
RB
17052017-06-21 Richard Biener <rguenther@suse.de>
1706
1707 PR gcov-profile/81080
1708 * configure.ac: Add AC_SYS_LARGEFILE.
1709 * libgcov.h: Include auto-target.h before tsystem.h to pick
1710 up _FILE_OFFSET_BITS which might differ for multilibs.
1711 * config.in: Regenerate.
1712 * configure: Likewise.
1713
f0cd49c5
RE
17142017-06-16 Richard Earnshaw <rearnsha@arm.com>
1715
1716 * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
1717
4f751c54
ML
17182017-06-09 Martin Liska <mliska@suse.cz>
1719
1720 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
1721 Reset __gcov_indirect_call_callee to NULL.
1722
1ac644c8
OH
17232017-06-08 Olivier Hainque <hainque@adacore.com>
1724
1725 * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
1726 the set of -I options, support for direct inclusions of net/uio.h
1727 by VxWorks header files via ioLib.h.
1728
d8b9cd27
TR
17292017-06-07 Tony Reix <tony.reix@atos.net>
1730 Matthieu Sarter <matthieu.sarter.external@atos.net>
1731 David Edelsohn <dje.gcc@gmail.com>
1732
92a285c1
ML
1733 * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
1734 unconditionally.
1735 (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support. Add 32-bit
1736 AIX 7.2 support.
d8b9cd27 1737
38a75ccc
OH
17382017-06-02 Olivier Hainque <hainque@adacore.com>
1739
1740 * config/vxlib.c (__gthread_once): Add missing value to
1741 return statement.
1742
5b2edf53
OH
17432017-05-30 Olivier Hainque <hainque@adacore.com>
1744
1745 * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
1746 dollar sign before $(MULTIDIR).
1747
7d66e265
RH
17482017-05-26 Richard Henderson <rth@redhat.com>
1749
1750 PR libgcc/80037
1751 * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
1752
78eca309
AT
17532017-05-17 Andreas Tobler <andreast@gcc.gnu.org>
1754
1755 * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
1756 _Unwind_SetIP available as functions for arm*-*-freebsd*.
1757 * config/arm/unwind-arm.c: Implement the above.
1758
c39d309a
AZ
17592017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1760
1761 * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
1762 section for a non-executable stack.
1763
eac8c9f2
KW
17642017-05-14 Krister Walfridsson <krister.walfridsson@gmail.com>
1765
1766 PR target/80600
1767 * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
1768
d6d4d770
DS
17692017-05-14 Daniel Santos <daniel.santos@pobox.com>
1770
1771 * config.host: Add i386/t-msabi to i386/t-linux file list.
1772 * config/i386/i386-asm.h: New file.
1773 * config/i386/resms64.S: New file.
1774 * config/i386/resms64f.S: New file.
1775 * config/i386/resms64fx.S: New file.
1776 * config/i386/resms64x.S: New file.
1777 * config/i386/savms64.S: New file.
1778 * config/i386/savms64f.S: New file.
1779 * config/i386/t-msabi: New file.
1780
8ef2b9a7
AT
17812017-05-09 Andreas Tobler <andreast@gcc.gnu.org>
1782
1783 * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
1784 arm*-*-freebsd* instead of the t-slibgcc-libgcc.
1785
7ab8766a
JC
17862017-05-05 Joshua Conner <joshconner@google.com>
1787
1788 * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
1789 pc-relative indirect handling for fuchsia.
1790 * config/t-slibgcc-fuchsia: New file.
1791 * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
d6d4d770 1792 x86_64-*-fuchsia*): Add definitions.
7ab8766a 1793
46928a8f
ML
17942017-04-19 Martin Liska <mliska@suse.cz>
1795
1796 PR gcov-profile/80435
1797 * Makefile.in: Install gcov.h.
1798 * gcov.h: New file.
1799 * libgcov.h: Use the header and make __gcov_flush publicly
1800 visible.
1801
63971184
ML
18022017-04-18 Martin Liska <mliska@suse.cz>
1803
1804 PR gcov-profile/78783
1805 * libgcov-driver.c (gcov_get_filename): New function.
1806
29d8aae6
JL
18072017-04-07 Jeff Law <law@redhat.com>
1808
1809 * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
1810 target makefile fragment.
1811 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
1812
2bdf7fc6
AM
18132017-04-07 Alan Modra <amodra@gmail.com>
1814
1815 PR target/45053
1816 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
1817
5764ee3c
JW
18182017-04-03 Jonathan Wakely <jwakely@redhat.com>
1819
1820 * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
1821
c4192ad7
CZ
18222017-03-27 Claudiu Zissulescu <claziss@synopsys.com>
1823
1824 * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
1825
4ccfdb28
JM
18262017-03-10 John Marino <gnugcc@marino.st>
1827
1828 * config/aarch64/freebsd-unwind.h: New file.
1829 * config.host: Add aarch64-*-freebsd unwinder.
1830
4144e4e3
SB
18312017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
1832
1833 * config/rs6000/crtrestvr.s: Use .machine altivec.
1834 * config/rs6000/crtsavevr.s: Ditto.
1835
7502c597
SB
18362017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
1837
1838 * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
1839 modify CFLAGS. Add -mabi=altivec -mvsx -mfloat128.
1840 (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
1841 -mfloat128-hardware to the CFLAGS. Fix syntax error in the C snippet.
1842 * configure: Regenerate.
1843 * config.in: Regenerate.
1844
db9f7f65
JY
18452017-03-02 Jonathan Yong <10walls@gmail.com>
1846
1847 * config/i386/gthr-win32.h: Define NOGDI before
1848 windows.h include to prevent w32api CC_NONE macro
1849 clash with libgfortran.
1850
126437c5
JY
18512017-03-02 Jonathan Yong <10walls@gmail.com>
1852
1853 * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
1854
31927af6
AP
18552017-02-16 Andrew Pinski <apinski@cavium.com>
1856
1857 * config/aarch64/value-unwind.h: New file.
1858 * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
1859 to tm_file.
1860
0bd99911
PD
18612017-02-06 Palmer Dabbelt <palmer@dabbelt.com>
1862
1863 * config.host: Add RISC-V tuples.
1864 * config/riscv/atomic.c: New file.
1865 * config/riscv/crti.S: Likewise.
1866 * config/riscv/crtn.S: Likewise.
1867 * config/riscv/div.S: Likewise.
1868 * config/riscv/linux-unwind.h: Likewise.
1869 * config/riscv/muldi3.S: Likewise.
1870 * config/riscv/multi3.S: Likewise.
1871 * config/riscv/save-restore.S: Likewise.
1872 * config/riscv/sfp-machine.h: Likewise.
1873 * config/riscv/t-elf: Likewise.
1874 * config/riscv/t-elf32: Likewise.
1875 * config/riscv/t-elf64: Likewise.
1876 * config/riscv/t-softfp32: Likewise.
1877 * config/riscv/t-softfp64: Likewise.
1878
a8c9ef2a
JJ
18792017-01-24 Jakub Jelinek <jakub@redhat.com>
1880
1881 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
1882 /* FALLTHRU */ comments.
1883
c6c82710
GP
18842017-01-21 Gerald Pfeifer <gerald@pfeifer.com>
1885
1886 * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
1887
a876231c
JW
18882017-01-20 Jiong Wang <jiong.wang@arm.com>
1889
1890 * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
1891 * unwind-dw2.c (execute_cfa_program): Only multiplexing
1892 DW_CFA_GNU_window_save for AArch64 and LP64.
1893
aa348be2
JW
18942017-01-20 Jiong Wang <jiong.wang@arm.com>
1895
1896 * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
1897
5636faf2
JW
18982017-01-19 Jiong Wang <jiong.wang@arm.com>
1899
1900 * config/aarch64/aarch64-unwind.h: New file.
1901 (DWARF_REGNUM_AARCH64_RA_STATE): Define.
1902 (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
1903 (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
1904 (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
1905 (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
1906 (aarch64_post_extract_frame_addr): New function.
1907 (aarch64_post_frob_eh_handler_addr): New function.
1908 (aarch64_frob_update_context): New function.
1909 * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
1910 * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
1911 aarch64*-*-freebsd*):
1912 Initialize md_unwind_header to include aarch64-unwind.h.
1913 * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
1914 (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
1915 __aarch64__.
1916 (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
1917 (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
1918 (uw_frob_return_addr): New function.
1919 (uw_install_context): Use uw_frob_return_addr.
1920
3c36aa6b
JJ
19212017-01-17 Jakub Jelinek <jakub@redhat.com>
1922
1923 PR other/79046
1924 * configure.ac: Add GCC_BASE_VER.
1925 * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
1926 version from BASE-VER file.
1927 * configure: Regenerated.
1928
829afb8f
JS
19292017-01-13 Joe Seymour <joe.s@somniumtech.com>
1930
1931 * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
1932 libmul_f5.a): Filter archived prerequisites.
1933
79fc8ffe
AS
19342017-01-10 Andrew Senkevich <andrew.senkevich@intel.com>
1935
1936 * config/i386/cpuinfo.h (processor_features): Add
1937 FEATURE_AVX512VPOPCNTDQ.
1938 * config/i386/cpuinfo.c (get_available_features): Habdle new
1939 feature.
1940
fec5f4e0
JM
19412017-01-04 Joseph Myers <joseph@codesourcery.com>
1942
1943 * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
1944 payload if [__mips_nan2008].
1945
8f56cb51
AM
19462017-01-04 Alan Modra <amodra@gmail.com>
1947
1948 * Makefile.in (configure_deps): Update.
1949 * configure: Regenerate.
1950
cbe34bb5
JJ
19512017-01-01 Jakub Jelinek <jakub@redhat.com>
1952
1953 Update copyright years.
1954
ab955692
KW
19552016-12-19 Krister Walfridsson <krister.walfridsson@gmail.com>
1956
1957 * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
1958 * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
1959 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
1960
de34320f
MK
19612016-12-17 Matthias Klose <doko@ubuntu.com>
1962
1963 * config/arc/gmon: Remove empty directory.
1964
e04ea1da
CZ
19652016-12-16 Claudiu Zissulescu <claziss@synopsys.com>
1966
1967 * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
1968 crtgend.
1969 (arc*-*-elf*): Likewise.
1970 * config/arc/t-arc: Remove old gmon lib targets.
1971 * config/arc/crtg.S: Remove.
1972 * config/arc/crtgend.S: Likewise.
1973 * config/arc/gmon/atomic.h: Likewise.
1974 * config/arc/gmon/auxreg.h: Likewise.
1975 * config/arc/gmon/dcache_linesz.S: Likewise.
1976 * config/arc/gmon/gmon.c: Likewise.
1977 * config/arc/gmon/machine-gmon.h: Likewise.
1978 * config/arc/gmon/mcount.c: Likewise.
1979 * config/arc/gmon/prof-freq-stub.S: Likewise.
1980 * config/arc/gmon/prof-freq.c: Likewise.
1981 * config/arc/gmon/profil.S: Likewise.
1982 * config/arc/gmon/sys/gmon.h: Likewise.
1983 * config/arc/gmon/sys/gmon_out.h: Likewise.
1984 * config/arc/t-arc-newlib: Likewise.
1985 * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
1986
8ae1c2c1
GS
19872016-12-12 George Spelvin <linux@sciencehorizons.net>
1988
1989 * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
1990
a5b947fa
GS
19912016-12-12 George Spelvin <linux@sciencehorizons.net>
1992
1993 * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
1994 R16 instead of push + pop.
1995 (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
1996
d6574dd1
KW
19972016-12-10 Krister Walfridsson <krister.walfridsson@gmail.com>
1998
1999 * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
2000 tmake_file.
2001
62440b4f
CM
20022016-12-05 Cupertino Miranda <cmiranda@synopsys.com>
2003
2004 * config.host (arc*-*-linux-uclibc*): Use default extra
2005 objects. Include linux-android header.
2006 * config/arc/crti.S (_init): Declare symbol as function.
2007 (_fini): Likewise.
2008
31cfd832
TK
20092016-12-03 Thomas Koenig <tkoenig@gcc.gnu.org>
2010
2011 PR fortran/78379
2012 * config/i386/cpuinfo.c: Move denums for processor vendors,
2013 processor type, processor subtypes and declaration of
2014 struct __processor_model into
2015 * config/i386/cpuinfo.h: New header file.
2016
c92e08e3
AV
20172016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
2018 Thomas Preud'homme <thomas.preudhomme@arm.com>
2019
2020 * config/arm/cmse_nonsecure_call.S: New.
2021 * config/arm/t-arm: Compile cmse_nonsecure_call.S
2022
de7b5723
AV
20232016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
2024 Thomas Preud'homme <thomas.preudhomme@arm.com>
2025
2026 * config/arm/t-arm (HAVE_CMSE): New.
2027 * config/arm/cmse.c: New.
2028
7a0d2bce
TP
20292016-11-28 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2030
b3a5bff4
TP
2031 PR gcc/74748
2032 * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
2033 use generic linker version information on Blackfin.
2034
7a0d2bce
TP
2035 PR gcc/74748
2036 * libgcc/mkmap-symver.awk: add support for skip_underscore
2037
b410cf1d
IS
20382016-11-27 Iain Sandoe <iain@codesourcery.com>
2039 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2040
2041 PR target/67710
2042 * config/t-darwin: Default builds to 10.5 codegen.
2043
2e5f8203
JG
20442016-11-24 James Greenhalgh <james.greenhalgh@arm.com>
2045
2046 * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
2047 (_FP_NANSIGN_H): Likewise.
2048 * config/aarch64/t-softfp (softfp_extensions): Add hftf.
2049 (softfp_truncations): Add tfhf.
2050 (softfp_extras): Add required conversion functions.
2051
bea64ca3
JG
20522016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
2053 Matthew Wahab <matthew.wahab@arm.com>
2054
2055 * config/arm/fp16.c (binary64): New.
2056 (__gnu_d2h_internal): New.
2057 (__gnu_d2h_ieee): New.
2058 (__gnu_d2h_alternative): New.
2059
8630cadb
JG
20602016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
2061 Matthew Wahab <matthew.wahab@arm.com>
2062
2063 * config/arm/fp16.c (struct format): New.
2064 (binary32): New.
2065 (__gnu_float2h_internal): New. Body moved from
2066 __gnu_f2h_internal and generalize.
2067 (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
2068 Call it with binary32.
2069
5823ef23
JG
20702016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
2071
2072 * soft-fp/extendhftf2.c: Update from glibc.
2073 * soft-fp/fixhfti.c: Likewise.
2074 * soft-fp/fixunshfti.c: Likewise.
2075 * soft-fp/floattihf.c: Likewise.
2076 * soft-fp/floatuntihf.c: Likewise.
2077 * soft-fp/half.h: Likewise.
2078 * soft-fp/trunctfhf2.c: Likewise.
2079
62a7df9f
MG
20802016-11-20 Marc Glisse <marc.glisse@inria.fr>
2081
2082 PR libgcc/77813
2083 * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
2084 __TMC_END__ behind a passthrough asm.
2085
7a384912
WL
20862016-11-18 Walter Lee <walt@tilera.com>
2087
62a7df9f 2088 * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
7a384912 2089
9775c1a5
L
20902016-11-17 Andrew Senkevich <andrew.senkevich@intel.com>
2091
2092 * config/i386/cpuinfo.c (processor_features): Add
2093 FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
2094
48c842ab
CZ
20952016-11-17 Claudiu Zissulescu <claziss@synopsys.com>
2096
2097 * config/arc/dp-hack.h (ARC_OPTFPE): Define.
2098 (__ARC_NORM__): Use instead ARC_OPTFPE.
2099 * config/arc/fp-hack.h: Likewise.
2100 * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
2101 (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
2102
5012919d
AM
21032016-11-16 Alexander Monakov <amonakov@ispras.ru>
2104
2105 * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
2106 * config/nvptx/mgomp.c: New file.
2107 * config/nvptx/t-nvptx: Add mgomp.c
2108
00178b98
WB
21092016-11-16 Waldemar Brodkorb <wbx@openadk.org>
2110
2111 PR libgcc/68468
2112 * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
2113
d64af69f
CZ
21142016-11-15 Claudiu Zissulescu <claziss@synopsys.com>
2115
2116 * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
2117 of checking for cpus.
2118 (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
2119 (__modsi3, __clzsi2): Likewise.
2120
9d8f95de
SN
21212016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
2122
2123 * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
2124 i386/t-cpuinfo-static instead of i386/t-cpuinfo.
2125 * config/i386/t-cpuinfo-static: New.
2126
7d29f8e3
ML
21272016-11-03 Martin Liska <mliska@suse.cz>
2128
2129 * libgcov-profiler.c (__gcov_time_profiler): Remove.
2130 (__gcov_time_profiler_atomic): Likewise.
2131
5de3e2d8
BE
21322016-11-03 Bernd Edlinger <bernd.edlinger@hotmail.de>
2133
2134 PR libgcc/78067
2135 * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
2136 count_leading_zeros.
2137
18362447
UB
21382016-11-02 Uros Bizjak <ubizjak@gmail.com>
2139
2140 * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
2141 * libgcc2.c (__divmoddi4): New function.
2142 * libgcc2.h (__divmoddi4): Declare.
2143 * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
2144 and __PFX_divmodti4.
2145
33107571
FW
21462016-10-24 Florian Weimer <fweimer@redhat.com>
2147
2148 PR libgcc/78064
2149 * unwind-c.c: Include auto-target.h.
2150
4c6d7494
JDA
21512016-10-19 John David Anglin <danglin@gcc.gnu.org>
2152
18362447 2153 * config/pa/pa64-hpux-lib.h: New file.
4c6d7494
JDA
2154 (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
2155 (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
2156 * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
2157 hppa*64*-*-hpux11*.
2158
2a26adf1
MF
21592016-10-18 Max Filippov <jcmvbkbc@gmail.com>
2160
2161 * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
2162 definition.
2163 * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
2164 definition.
2165 * config/xtensa/t-windowed (LIB2ADDEH): Use
2166 LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
2167 or xtensa/t-linux.
2168
66192aa1
DKC
21692016-10-18 Ding-Kai Chen <dkchen@cadence.com>
2170
2171 * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
2172 __ieee754_sqrt): New functions.
2173 (__divdf3): Add implementation with new FPU instructions under
2174 #if XCHAL_HAVE_DFP_DIV.
2175 * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
2176 __ieee754_sqrtf): New functions.
2177 (__divsf3): Add implementation with new FPU instructions under
2178 #if XCHAL_HAVE_FP_DIV.
2179 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
2180 _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
2181
4d0cdd0c
TP
21822016-10-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
2183
2184 * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
2185 equivalent.
2186 * config/tilepro/atomic.c: Likewise and stop casting model to
2187 enum memmodel.
2188
73f01cca
JM
21892016-10-10 Joseph Myers <joseph@codesourcery.com>
2190
2191 PR target/77586
2192 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
2193 soft-fp.
2194
b20e7532
AT
21952016-10-10 Andreas Tobler <andreast@gcc.gnu.org>
2196
2197 * config.host: Add support for aarch64-*-freebsd*.
2198
a786cec4
AS
21992016-10-05 Andreas Schwab <schwab@suse.de>
2200
2201 * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
2202 (.section .init_array): Don't call __do_jv_register_classes.
2203 (.section .init): Likewise.
2204
5a79befb
JJ
22052016-10-04 Jakub Jelinek <jakub@redhat.com>
2206
2207 * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
2208 (__JCR_LIST__): Remove.
2209 (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
2210 * config/i386/cygming-crtend.c (__JCR_END__): Remove.
2211 * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
2212 * config/ia64/crtend.S (__JCR_END__): Remove.
2213 * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
2214 conditionals.
2215 (__JCR_LIST__, __JCR_END__): Remove.
2216 (frame_dummy): Don't attempt to _Jv_RegisterClasses.
2217 (__do_global_ctors_1): Likewise.
2218
e0ab3753
UB
22192015-09-28 Uros Bizjak <ubizjak@gmail.com>
2220
2221 * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
2222 (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
2223
8c9434c2
ML
22242016-09-27 Martin Liska <mliska@suse.cz>
2225
2226 PR gcov-profile/7970
2227 PR gcov-profile/16855
2228 PR gcov-profile/44779
2229 * libgcov-driver.c (__gcov_init): Do not register a atexit
2230 handler.
2231 (__gcov_exit): Rename from gcov_exit.
2232 * libgcov.h (__gcov_exit): Declare.
2233
56b653f1
ML
22342016-09-27 Martin Liska <mliska@suse.cz>
2235
2236 PR bootstrap/77749
2237 * Makefile.in: Remove _gcov_merge_delta.
2238 * libgcov-merge.c (void __gcov_merge_delta): Remove.
2239 * libgcov-util.c (__gcov_delta_counter_op): Remove.
2240 * libgcov.h: Remove declaration of __gcov_merge_delta.
2241
7e02fd1b
EB
22422016-09-21 Eric Botcazou <ebotcazou@adacore.com>
2243
2244 * configure.ac: Do not create links, only substitute the filenames.
2245 * configure: Regenerate.
2246 * Makefile.in: Assign the substitution results to variables.
2247 (LIBGCC_LINKS): Define.
2248 (enable-execute-stack.c): New rule.
2249 (unwind.h): Likewise.
2250 (md-unwind-support.h): Likewise.
2251 (sfp-machine.h): Likewise.
2252 (gthr-default.h): Likewise.
2253 Add $(LIBGCC_LINKS) to the prerequisites of all object files and
2254 unwind.h as prerequisite of install-unwind_h-forbuild.
2255
29991048
JJ
22562016-09-16 Jakub Jelinek <jakub@redhat.com>
2257
2258 PR libgcc/71744
2259 * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
2260 is not the primary registry and atomics are available.
2261 (any_objects_registered): New variable.
2262 (__register_frame_info_bases, __register_frame_info_table_bases):
2263 Atomically store 1 to any_objects_registered after registering first
2264 unwind info.
2265 (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
2266
0abcd6cc
JG
22672016-09-09 James Greenhalgh <james.greenhalgh@arm.com>
2268
2269 PR target/63250
2270 * Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
2271 * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
2272 (HFtype): Likewise.
2273 (HCtype): Likewise.
2274 (__divhc3): Likewise.
2275 (__mulhc3): Likewise.
2276 * libgcc2.c: Support _mulhc3 and _divhc3.
2277
d758aeb5
JM
22782016-09-07 Joseph Myers <joseph@codesourcery.com>
2279
2280 PR libgcc/77519
2281 * libgcc2.c (NOTRUNC): Invert settings.
2282
7fe76f6a
ML
22832016-09-06 Martin Liska <mliska@suse.cz>
2284
2285 PR gcov-profile/77378
2286 PR gcov-profile/77466
2287 * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
2288 conditionaly enable/disable *_atomic functions.
2289
21184026
JM
22902016-08-26 Joseph Myers <joseph@codesourcery.com>
2291
2292 * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
2293 where not already enabled.
2294
726f49c3
SN
22952016-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
2296
2297 * config/mips/linux-unwind.h: Use sys/syscall.h.
2298
feeb6268
JM
22992016-08-16 Joseph Myers <joseph@codesourcery.com>
2300
2301 PR libgcc/77265
2302 * soft-fp/adddf3.c: Update from glibc.
2303 * soft-fp/addsf3.c: Likewise.
2304 * soft-fp/addtf3.c: Likewise.
2305 * soft-fp/divdf3.c: Likewise.
2306 * soft-fp/divsf3.c: Likewise.
2307 * soft-fp/divtf3.c: Likewise.
2308 * soft-fp/double.h: Likewise.
2309 * soft-fp/eqdf2.c: Likewise.
2310 * soft-fp/eqsf2.c: Likewise.
2311 * soft-fp/eqtf2.c: Likewise.
2312 * soft-fp/extenddftf2.c: Likewise.
2313 * soft-fp/extended.h: Likewise.
2314 * soft-fp/extendsfdf2.c: Likewise.
2315 * soft-fp/extendsftf2.c: Likewise.
2316 * soft-fp/extendxftf2.c: Likewise.
2317 * soft-fp/fixdfdi.c: Likewise.
2318 * soft-fp/fixdfsi.c: Likewise.
2319 * soft-fp/fixdfti.c: Likewise.
2320 * soft-fp/fixsfdi.c: Likewise.
2321 * soft-fp/fixsfsi.c: Likewise.
2322 * soft-fp/fixsfti.c: Likewise.
2323 * soft-fp/fixtfdi.c: Likewise.
2324 * soft-fp/fixtfsi.c: Likewise.
2325 * soft-fp/fixtfti.c: Likewise.
2326 * soft-fp/fixunsdfdi.c: Likewise.
2327 * soft-fp/fixunsdfsi.c: Likewise.
2328 * soft-fp/fixunsdfti.c: Likewise.
2329 * soft-fp/fixunssfdi.c: Likewise.
2330 * soft-fp/fixunssfsi.c: Likewise.
2331 * soft-fp/fixunssfti.c: Likewise.
2332 * soft-fp/fixunstfdi.c: Likewise.
2333 * soft-fp/fixunstfsi.c: Likewise.
2334 * soft-fp/fixunstfti.c: Likewise.
2335 * soft-fp/floatdidf.c: Likewise.
2336 * soft-fp/floatdisf.c: Likewise.
2337 * soft-fp/floatditf.c: Likewise.
2338 * soft-fp/floatsidf.c: Likewise.
2339 * soft-fp/floatsisf.c: Likewise.
2340 * soft-fp/floatsitf.c: Likewise.
2341 * soft-fp/floattidf.c: Likewise.
2342 * soft-fp/floattisf.c: Likewise.
2343 * soft-fp/floattitf.c: Likewise.
2344 * soft-fp/floatundidf.c: Likewise.
2345 * soft-fp/floatundisf.c: Likewise.
2346 * soft-fp/floatunditf.c: Likewise.
2347 * soft-fp/floatunsidf.c: Likewise.
2348 * soft-fp/floatunsisf.c: Likewise.
2349 * soft-fp/floatunsitf.c: Likewise.
2350 * soft-fp/floatuntidf.c: Likewise.
2351 * soft-fp/floatuntisf.c: Likewise.
2352 * soft-fp/floatuntitf.c: Likewise.
2353 * soft-fp/gedf2.c: Likewise.
2354 * soft-fp/gesf2.c: Likewise.
2355 * soft-fp/getf2.c: Likewise.
2356 * soft-fp/ledf2.c: Likewise.
2357 * soft-fp/lesf2.c: Likewise.
2358 * soft-fp/letf2.c: Likewise.
2359 * soft-fp/muldf3.c: Likewise.
2360 * soft-fp/mulsf3.c: Likewise.
2361 * soft-fp/multf3.c: Likewise.
2362 * soft-fp/negdf2.c: Likewise.
2363 * soft-fp/negsf2.c: Likewise.
2364 * soft-fp/negtf2.c: Likewise.
2365 * soft-fp/op-1.h: Likewise.
2366 * soft-fp/op-2.h: Likewise.
2367 * soft-fp/op-4.h: Likewise.
2368 * soft-fp/op-8.h: Likewise.
2369 * soft-fp/op-common.h: Likewise.
2370 * soft-fp/quad.h: Likewise.
2371 * soft-fp/single.h: Likewise.
2372 * soft-fp/soft-fp.h: Likewise.
2373 * soft-fp/subdf3.c: Likewise.
2374 * soft-fp/subsf3.c: Likewise.
2375 * soft-fp/subtf3.c: Likewise.
2376 * soft-fp/truncdfsf2.c: Likewise.
2377 * soft-fp/trunctfdf2.c: Likewise.
2378 * soft-fp/trunctfsf2.c: Likewise.
2379 * soft-fp/trunctfxf2.c: Likewise.
2380 * soft-fp/unorddf2.c: Likewise.
2381 * soft-fp/unordsf2.c: Likewise.
2382 * soft-fp/unordtf2.c: Likewise.
2383
2e6fc1ac
GG
23842016-08-15 Gilles Gouaillardet <gilles.gouaillardet@gmail.com>
2385
2386 PR gcov-profile/67097
2387 * libgcov-util.c (gcov_profile_merge): Skip missing files.
2388
a266236e
ML
23892016-08-10 Martin Liska <mliska@suse.cz>
2390
2391 PR gcov-profile/58306
2392 * Makefile.in: New functions (modules) are added.
2393 * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
2394 function.
2395 (__gcov_pow2_profiler_atomic): New function.
2396 (__gcov_one_value_profiler_body): New argument is instroduced.
2397 (__gcov_one_value_profiler): Call with the new argument.
2398 (__gcov_one_value_profiler_atomic): Likewise.
2399 (__gcov_indirect_call_profiler_v2): Likewise.
2400 (__gcov_time_profiler_atomic): New function.
2401 (__gcov_average_profiler_atomic): Likewise.
2402 (__gcov_ior_profiler_atomic): Likewise.
2403 * libgcov.h: Declare the aforementioned functions.
2404
e0c8eebf
ML
24052016-08-09 Martin Liska <mliska@suse.cz>
2406
2407 * libgcov-util.c: Fix typo and GNU coding style.
2408
6dce6418
ML
24092016-08-09 Martin Liska <mliska@suse.cz>
2410
2411 * Makefile.in: Remove __gcov_indirect_call_profiler.
2412 * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
2413 function.
2414 * libgcov.h: And the declaration of the function.
2415
dcb1e137
ML
24162016-08-09 Martin Liska <mliska@suse.cz>
2417
2418 * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
2419 power of two.
2420
d6e69705
BS
24212016-07-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
2422
2423 * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
2424 * config/rs6000/_mulkc3.c: Likewise.
2425
96aa1f95
GJL
24262016-07-29 Georg-Johann Lay <avr@gjlay.de>
2427
2428 * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
2429 zero_reg as previous call to __umulhisi3 already cleared it.
2430
a1b01d34
AJ
24312016-07-21 Aurelien Jarno <aurelien@aurel32.net>
2432
2433 PR target/59833
2434 * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
2435
985a47b2
NC
24362016-07-19 Nick Clifton <nickc@redhat.com>
2437
2438 * config.host (m32r): Add m32r/t-m32r to tmake_file.
2439 Add crtinit.o and crtfini.o to extra_parts.
2440
f906f5ed
BS
24412016-07-12 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
2442
2443 * config/rs6000/_divkc3.c: New.
2444 * config/rs6000/_mulkc3.c: New.
2445 * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
2446 and _divkc3.
2447 * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
2448 fp128_ppc_funcs.
2449
82742404
HW
24502016-07-11 Hale Wang <hale.wang@arm.com>
2451 Andre Vieira <andre.simoesdiasvieira@arm.com>
2452
2453 * config/arm/lib1funcs.S: Add new wrapper.
2454
05a437c1
TP
24552016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
2456
2457 * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
2458
3d16d9ec
TP
24592016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
2460
2461 * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
2462 and ARMv5t* rather than for a fixed list of architectures.
2463
6f493951
TP
24642016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
2465
2466 * config/arm/bpabi-v6m.S: Clarify what architectures is the
2467 implementation suitable for.
2468 * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
2469 for all Thumb-1 only targets.
2470 (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
2471 (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
2472 __ARM_ARCH_6M__.
2473 (EQUIV): Likewise.
2474 (ARM_FUNC_ALIAS): Likewise.
2475 (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
2476 version.
2477 (modsi3): Likewise.
2478 (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
2479 (clzdi2): Likewise.
2480 (ctzsi2): Likewise.
2481 (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
2482 __ARM_ARCH_6M__ in guard for checking whether it is defined.
2483 (final includes): Test for NOT_ISA_TARGET_32BIT rather than
2484 __ARM_ARCH_6M__ and add comment to indicate the connection between
2485 this condition and the one in gcc/config/arm/elf.h.
2486 * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
2487 __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
2488 * config/arm/t-softfp: Likewise.
2489
1770511a
TS
24902016-07-06 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2491
2492 * libgcc2.c (SYMBOL__MAIN): Remove checks for
2493 CTOR_LISTS_DEFINED_EXTERNALLY.
2494
ba6be749
WL
24952016-06-28 Walter Lee <walt@tilera.com>
2496
2497 * config/tilepro/atomic.h: Do not include arch/spr_def.h and
2498 asm/unistd.h.
2499 (SPR_CMPEXCH_VALUE): Define for tilegx.
2500 (__NR_FAST_cmpxchg): Define for tilepro.
2501 (__NR_FAST_atomic_update): Define for tilepro.
2502 (__NR_FAST_cmpxchg64): Define for tilepro.
2503
a34c0db5
JS
25042016-06-23 Jakub Sejdak <jakub.sejdak@phoesys.com>
2505
18362447 2506 * config.host: Add suport for arm*-*-phoenix* targets.
a34c0db5 2507
0609abda
TS
25082016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2509
2510 * config.host: Remove support for mep-*.
2511 * config/mep/lib1funcs.S: Remove.
2512 * config/mep/lib2funcs.c: Remove.
2513 * config/mep/t-mep: Remove.
2514 * config/mep/tramp.c: Remove.
2515
3e326935
TS
25162016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2517
2518 * config.host: Remove support for avr-rtems.
2519 * config/avr/t-rtems: Remove.
2520
914b155c
TS
25212016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2522
2523 * config.host: Remove m32r-rtems support.
2524
5ebf89bd
TS
25252016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2526
2527 * config.host: Remove h8300-rtems support.
2528
8466af06
TS
25292016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2530
2531 * config.host: Remove support for knetbsd.
2532
d980e738
TS
25332016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2534
2535 * config.host: Remove support for openbsd 2 and 3.
2536
ee2499b4
TS
25372016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2538
2539 * config.host: Remove interix support.
2540 * config/i386/t-interix: Remove.
2541
9f92937b
JDA
25422016-06-18 John David Anglin <danglin@gcc.gnu.org>
2543
2544 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
2545 least-significant bit in function pointer for fixup.
2546
0a0ec53d
AC
25472016-06-05 Aaron Conole <aconole@redhat.com>
2548 Nathan Sidwell <nathan@acm.org>
2549
2550 PR libgcc/71400
2551 * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
2552 (get_gcov_error_file): Check __gcov_error_file before trying to
2553 initialize it.
2554 (gcov_error): Always use get_gcov_error_file.
2555
8aa5bdd6
AC
25562016-06-02 Aaron Conole <aconole@redhat.com>
2557
2558 * libgcov-driver-system.c (__gcov_error_file): New.
2559 (get_gcov_error_file): New.
2560 (gcov_error): Use and set __gcov_error_file.
2561 (gcov_error_exit): New.
2562 * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
2563
40774faf
NS
25642016-05-26 Nathan Sidwell <nathan@acm.org>
2565
2566 * config/nvptx/free.asm: Delete.
2567 * config/nvptx/malloc.asm: Delete.
2568 * config/nvptx/realloc.c: Delete.
2569 * t-nvptx: Update.
2570
69a6d5ad
NS
25712016-05-25 Nathan Sidwell <nathan@acm.org>
2572
2573 * config/nvptx/crt0.s: Delete.
2574 * config/nvptx/crt0.c: New.
2575 * t-nvptx: Update.
2576
6befaff6
SL
25772016-05-19 Sandra Loosemore <sandra@codesourcery.com>
2578
385c7747 2579 * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
6befaff6
SL
2580 dw2/seh configuration.
2581 [x86_64-*-mingw*]: Likewise.
2582
ad251dfd
JS
25832016-05-10 Joel Sherrill <joel@rtems.org>
2584
2585 PR libgcc/70720
2586 * config.host (moxie-*-rtems*): Merge this stanza with other moxie
2587 targets so the same extra_parts are built. Also have tmake_file add
2588 on to its value rather than override.
2589
bc6d9014
OE
25902016-04-30 Oleg Endo <olegendo@gcc.gnu.org>
2591
2592 * config.host: Remove SH5 support.
2593 * configure: Likewise.
2594
9129c8cf
OE
25952016-04-29 Oleg Endo <olegendo@gcc.gnu.org>
2596
2597 * config/sh/crt1.S: Remove SH5 support.
2598 * config/sh/crti.S: Likewise.
2599 * config/sh/crtn.S: Likewise.
2600 * config/sh/lib1funcs-4-300.S: Likewise.
2601 * config/sh/lib1funcs-Os-4-200.S: Likewise.
2602 * config/sh/lib1funcs.S: Likewise.
2603 * config/sh/linux-unwind.h: Likewise.
2604 * config/sh/t-sh64: Delete.
2605
39d50464
CZ
26062016-04-29 Claudiu Zissulescu <claziss@synopsys.com>
2607
2608 * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
2609
8b48923b
CZ
26102016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
2611 Joern Rennecke <joern.rennecke@embecosm.com>
2612
2613 * config/arc/crttls.S: New file.
2614 * config/arc/t-arc: New rule.
2615 * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
2616
2de1cf8c
NC
26172016-04-25 Nick Clifton <nickc@redhat.com>
2618
2619 * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
2620 (__mspabi_cmpd): Likewise.
2621 * config/msp430/floathidf.c (__floathidf): Likewise.
2622 * config/msp430/floathisf.c (__floathisf): Likewise
2623 * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
2624 * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
2625 * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
2626 second parameter.
2627 (__ashrsi3): Likewise.
2628
b8ce3fe2
WB
26292016-04-21 Waldemar Brodkorb <wbx@openadk.org>
2630
2631 * config/m68k/linux-atomic.c: Do not include unistd.h
2632
4986f823
MG
26332016-04-20 Martin Galvan <martin.galvan@tallertechnologies.com>
2634
2635 * config/arm/ieee754-df.S: Fix typos in comments.
2636
35fbda43
MM
26372016-04-11 Michael Meissner <meissner@linux.vnet.ibm.com>
2638
2639 PR target/70381
2640 * configure.ac (powerpc*-*-linux*): Rework tests to build
2641 __float128 emulation routines to not depend on using #pragma GCC
2642 target to enable -mfloat128.
2643 * configure: Regnerate.
2644
72d1a48d
EB
26452016-04-04 Eric Botcazou <ebotcazou@adacore.com>
2646
2647 PR target/67172
2648 * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
2649 __MINGW32__ is defined.
2650
dc2e8995
JB
26512016-03-28 James Bowman <james.bowman@ftdichip.com>
2652
385c7747 2653 * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
dc2e8995 2654
104cdaf1
MM
26552016-03-22 Michael Meissner <meissner@linux.vnet.ibm.com>
2656
2657 PR libgcc/70363
2658 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
2659 built with an assembler that does not support ISA 3.0
2660 instructions, rename __extendkftf2_sw to __extendkftf2.
2661
a5046f48
RO
26622016-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2663
2664 PR target/38239
2665 * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
2666 call-clobbered registers.
2667 (internal_mcount): Remove __i386__ handling.
2668
df674f74
JS
26692016-02-26 Joel Sherrill <joel@rtems.org>
2670
2671 * config.host: Add x86_64-*-rtems*.
2672
7cb065d6
JS
26732016-02-26 Joel Sherrill <joel@rtems.org>
2674
2675 * libgcc/config.host: Add aarch64-*-rtems*.
2676
47dfdc53
PM
26772016-02-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2678 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
2679
2680 * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
2681 union of u64 and double.
2682 (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
2683 (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
2684 value.
2685 (FP_ROUNDMODE): Update the usage of _fpscr.
2686
e6861a99
IV
26872016-02-25 Ilya Verbin <ilya.verbin@intel.com>
2688
2689 PR driver/68463
2690 * Makefile.in (crtoffloadtable$(objext)): New rule.
2691 * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
2692 enable_offload_targets is not empty.
2693 * configure: Regenerate.
2694 * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
2695 crtoffloadtable.
2696
9bfcbdee
MF
26972016-02-17 Max Filippov <jcmvbkbc@gmail.com>
2698
2699 * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
2700 .literal_position before the function.
2701 * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
2702 Likewise.
2703
4cb4721f
MK
27042016-02-15 Marcin Kościelnicki <koriakin@0x04.net>
2705
2706 * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
2707 * config/s390/morestack.S: New file.
2708 * config/s390/t-stack-s390: New file.
2709 * generic-morestack.c (__splitstack_find): Add s390-specific code.
2710
b29d9a29
WL
27112016-02-12 Walter Lee <walt@tilera.com>
2712
2713 * config.host (tilegx*-*-linux*): remove ti from
2714 softfp_int_modes for 32-bit configs.
2715
03a0ae7d
ILT
27162016-02-10 Ian Lance Taylor <iant@google.com>
2717
2718 PR go/68562
2719 * config/i386/morestack.S (__stack_split_initialize): Align
2720 stack.
2721
68750bce
AT
27222016-02-03 Andreas Tobler <andreast@gcc.gnu.org>
2723
2724 PR bootstrap/69611
2725 * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
2726 __FLOAT128__ to compile only for __float128 capable targets.
2727
7d296953
JJ
27282016-01-25 Jakub Jelinek <jakub@redhat.com>
2729
2730 PR target/69444
2731 * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
2732 instead of ___NO_FPRS__.
2733
a71c0334 27342016-01-21 Michael Meissner <meissner@linux.vnet.ibm.com>
7d296953
JJ
2735 Steven Munroe <munroesj@linux.vnet.ibm.com>
2736 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
a71c0334
MM
2737
2738 * config/rs6000/float128-sed: New files to convert TF names to KF
2739 names for PowerPC IEEE 128-bit floating point support.
2740 * config/rs6000/float128-sed-hw: Likewise.
2741
2742 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
2743 floating point hardware support.
2744
2745 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
2746 128-bit floating point software emulation or use ISA 3.0 hardware
2747 support if it is available.
2748
2749 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
2750 floating point.
2751
2752 * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
2753 floating point to IBM extended double.
2754
2755 * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
2756 double to IEEE 128-bit floating point.
2757
2758 * config/rs6000/t-float128: New Makefile fragments to enable
2759 building __float128 emulation support.
2760 * config/rs6000/t-float128-hw: Likewise.
2761
2762 * config/rs6000/sfp-exceptions.c: New file to provide exception
2763 support for IEEE 128-bit floating point.
2764
2765 * config/rs6000/floattikf.c: New files for converting between IEEE
2766 128-bit floating point and signed/unsigned 128-bit integers.
2767 * config/rs6000/fixunskfti.c: Likewise.
2768 * config/rs6000/fixkfti.c: Likewise.
2769 * config/rs6000/floatuntikf.c: Likewise.
2770
2771 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
2772 when building on 64-bit systems, or when VSX is enabled.
2773 (_FP_W_TYPE): Likewise.
2774 (_FP_WS_TYPE): Likewise.
2775 (_FP_I_TYPE): Likewise.
2776 (TItype): Define on 64-bit systems.
2777 (UTItype): Likewise.
2778 (TI_BITS): Likewise.
2779 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
2780 (_FP_MUL_MEAT_Q): Likewise.
2781 (_FP_DIV_MEAT_D): Likewise.
2782 (_FP_DIV_MEAT_Q): Likewise.
2783 (_FP_NANFRAC_D): Likewise.
2784 (_FP_NANFRAC_Q): Likewise.
2785 (ISA_BIT): Add exception support if we are being compiled on a
2786 machine with hardware floating point support to build the IEEE
2787 128-bit emulation functions.
2788 (FP_EX_INVALID): Likewise.
2789 (FP_EX_OVERFLOW): Likewise.
2790 (FP_EX_UNDERFLOW): Likewise.
2791 (FP_EX_DIVZERO): Likewise.
2792 (FP_EX_INEXACT): Likewise.
2793 (FP_EX_ALL): Likewise.
2794 (__sfp_handle_exceptions): Likewise.
2795 (FP_HANDLE_EXCEPTIONS): Likewise.
2796 (FP_RND_NEAREST): Likewise.
2797 (FP_RND_ZERO): Likewise.
2798 (FP_RND_PINF): Likewise.
2799 (FP_RND_MINF): Likewise.
2800 (FP_RND_MASK): Likewise.
2801 (_FP_DECL_EX): Likewise.
2802 (FP_INIT_ROUNDMODE): Likewise.
2803 (FP_ROUNDMODE): Likewise.
2804
2805 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
2806 VSX code, enable IEEE 128-bit floating point. If the compiler can
2807 compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
2808 floating point hardware instructions and it supports declaring
2809 functions with the ifunc attribute, enable ifunc functions to
2810 switch between software and hardware support.
2811 * configure.ac (powerpc*-*-linux*): Likewise.
2812 * configure: Regenerate.
2813
bdc27e50
NC
28142016-01-15 Nick Clifton <nickc@redhat.com>
2815
2816 * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
2817 dependency as the source file to be compiled.
2818 (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
2819 (lib2hw_mul_f5.o): Likewise.
2820
006df05d
MM
28212016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
2822
2823 * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
2824 * libgcc/config/rs6000/fixkfti.c: Likewise.
2825 * libgcc/config/rs6000/fixunskfti.c: Likewise.
2826 * libgcc/config/rs6000/float128-hw.c: Likewise.
2827 * libgcc/config/rs6000/float128-ifunc.c: Likewise.
2828 * libgcc/config/rs6000/float128-sed: Likewise.
2829 * libgcc/config/rs6000/floattikf.c: Likewise.
2830 * libgcc/config/rs6000/floatuntikf.c: Likewise.
2831 * libgcc/config/rs6000/quad-float128.h: Likewise.
2832 * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
2833 * libgcc/config/rs6000/sfp-machine.h: Likewise.
2834 * libgcc/config/rs6000/t-float128: Likewise.
2835 * libgcc/config/rs6000/t-float128-hw: Likewise.
2836 * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
2837 * libgcc/config.host: Likewise.
2838 * libgcc/configure: Likewise.
2839 * libgcc/configure.ac: Likewise.
2840
29176d57 28412016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
7d296953
JJ
2842 Steven Munroe <munroesj@linux.vnet.ibm.com>
2843 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
29176d57
MM
2844
2845 * config/rs6000/sfp-exceptions.c: New file to provide exception
2846 support for IEEE 128-bit floating point.
2847
2848 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
2849 floating point hardware support.
2850
2851 * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
2852 point conversions.
2853 * config/rs6000/fixunskfti.c: Likewise.
2854 * config/rs6000/fixkfti.c: Likewise.
2855 * config/rs6000/floatuntikf.c: Likewise.
2856 * config/rs6000/extendkftf2-sw.c: Likewise.
2857 * config/rs6000/trunctfkf2-sw.c: Likewise.
2858
2859 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
2860 128-bit floating point software emulation or use ISA 3.0 hardware
2861 support if it is available.
2862
2863 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
2864 floating point.
2865
2866 * config/rs6000/t-float128: New Makefile fragments to enable
2867 building __float128 emulation support.
2868 * config/rs6000/t-float128-hw: Likewise.
2869
2870 * config/rs6000/float128-sed: New file to convert TF names to KF
2871 names for PowerPC IEEE 128-bit floating point support.
2872
2873 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
2874 when building on 64-bit systems, or when VSX is enabled.
2875 (_FP_W_TYPE): Likewise.
2876 (_FP_WS_TYPE): Likewise.
2877 (_FP_I_TYPE): Likewise.
2878 (TItype): Define on 64-bit systems.
2879 (UTItype): Likewise.
2880 (TI_BITS): Likewise.
2881 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
2882 (_FP_MUL_MEAT_Q): Likewise.
2883 (_FP_DIV_MEAT_D): Likewise.
2884 (_FP_DIV_MEAT_Q): Likewise.
2885 (_FP_NANFRAC_D): Likewise.
2886 (_FP_NANFRAC_Q): Likewise.
2887 (ISA_BIT): Add exception support if we are being compiled on a
2888 machine with hardware floating point support to build the IEEE
2889 128-bit emulation functions.
2890 (FP_EX_INVALID): Likewise.
2891 (FP_EX_OVERFLOW): Likewise.
2892 (FP_EX_UNDERFLOW): Likewise.
2893 (FP_EX_DIVZERO): Likewise.
2894 (FP_EX_INEXACT): Likewise.
2895 (FP_EX_ALL): Likewise.
2896 (__sfp_handle_exceptions): Likewise.
2897 (FP_HANDLE_EXCEPTIONS): Likewise.
2898 (FP_RND_NEAREST): Likewise.
2899 (FP_RND_ZERO): Likewise.
2900 (FP_RND_PINF): Likewise.
2901 (FP_RND_MINF): Likewise.
2902 (FP_RND_MASK): Likewise.
2903 (_FP_DECL_EX): Likewise.
2904 (FP_INIT_ROUNDMODE): Likewise.
2905 (FP_ROUNDMODE): Likewise.
2906
2907 * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
2908 compiler can do __float128.
2909 * configure: Regenerate.
2910
2911 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
2912 VSX code, enable IEEE 128-bit floating point.
2913
a2218983
OH
29142016-01-05 Olivier Hainque <hainque@adacore.com>
2915
2916 * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
29176d57 2917 specificities.
a2218983 2918
818ab71a
JJ
29192016-01-04 Jakub Jelinek <jakub@redhat.com>
2920
2921 Update copyright years.
2922
5a6c8ffa
AP
29232015-12-18 Andris Pavenis <andris.pavenis@iki.fi>
2924
2925 * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
29176d57 2926 soft-fp targets.
5a6c8ffa 2927
077067a5
BE
29282015-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
2929
2930 * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
2931 instead of abort to avoid dependency on stdlib.h.
2932
787c1027
JDA
29332015-12-09 John David Anglin <danglin@gcc.gnu.org>
2934
2935 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
2936 to initialize call to __dl_fixup once.
2937
04a9ae28
NC
29382015-12-04 Nick Clifton <nickc@redhat.com>
2939
2940 * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
2941 Allow for the second argument being negative.
2942 * config.host (extra_parts): Define for MSP430. Create separate
2943 libraries for each of the hardware multiply formats.
2944 * config/msp430/lib2hw_mul.S: Build only the multiply routines
2945 that are needed.
2946 * config/msp430/lib2mul.c: Likewise.
2947 * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
2948 Add rules to build hardware multiply libraries.
2949 * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
2950 __mspabi_divul function.
2951 (__mspabi_divllu): New stub function.
2952
9a32d437
JDA
29532015-12-01 John David Anglin <danglin@gcc.gnu.org>
2954
2955 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
2956 fixup values if saved GOT address doesn't match runtime address.
2957 (fixup_branch_offset): Reorder list.
2958
e5ef217c
RO
29592015-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2960
2961 * Makefile.in (VTV_CFLAGS): New variable.
2962 (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
2963 (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
2964 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
2965 Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
2966 to extra_parts if $enable_vtable_verify = yes.
2967
78cc43a2
SN
29682015-11-23 Szabolcs Nagy <szabolcs.nagy@arm.com>
2969
2970 PR target/68059
2971 * config/arm/linux-atomic-64bit.c (__write): Rename to...
2972 (write): ...this and fix the return type.
2973
9afebea2
DD
29742015-11-19 DJ Delorie <dj@redhat.com>
2975
2976 * config/msp430/lib2hw_mul.S: Fix alignment.
2977
33f47f42
NS
29782015-11-18 Nathan Sidwell <nathan@codesourcery.com>
2979
2980 * config/nvptx/reduction.c: New.
2981 * config/nvptx/t-nvptx (LIB2ADD): Add it.
2982
d9adb476
DE
29832015-11-15 David Edelsohn <dje.gcc@gmail.com>
2984
2985 * config/rs6000/on_exit.c: New file.
2986 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
2987 * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
2988
c0ab1970
CZ
29892015-11-11 Claudiu Zissulescu <claziss@synopsys.com>
2990
2991 * config/arc/dp-hack.h: Add support for ARCHS.
2992 * config/arc/ieee-754/divdf3.S: Likewise.
2993 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
2994 * config/arc/ieee-754/muldf3.S: Likewise.
2995 * config/arc/ieee-754/mulsf3.S: Likewise
2996 * config/arc/lib1funcs.S: Likewise
2997 * config/arc/gmon/dcache_linesz.S: Don't read the build register
2998 for ARCv2 cores.
2999 * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
3000 for ARCv2 cores.
3001 * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
3002 * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
3003 cores.
3004
e6b6bf09
RO
30052015-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3006
3007 * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
3008 value.
3009 * config/ia64/crtend.S: Likewise.
3010
a153644f
TS
30112015-11-07 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3012
3013 * config/visium/lib2funcs.c (__set_trampoline_parity): Use
3014 __CHAR_BIT__ instead of BITS_PER_UNIT.
3015 * fixed-bit.h: Likewise.
3016 * fp-bit.h: Likewise.
3017 * libgcc2.c (__popcountSI2): Likewise.
3018 (__popcountDI2): Likewise.
3019 * libgcc2.h: Likewise.
3020 * libgcov.h: Likewise.
3021
3dee689d
DE
30222015-11-07 David Edelsohn <dje.gcc@gmail.com>
3023
3024 * config/rs6000/atexit.c: New file.
3025 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
3026 * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
3027 * config/rs6000/cxa_finalize.c
3028 (catomic_compare_and_exchange_bool_acq): Negate return value.
3029
2ef543e4
VK
30302015-10-30 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
3031
3032 * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
3033 (processor_subtypes): Add znver1.
3034 (get_amd_cpu): Detect znver1.
3035
1300f017
CL
30362015-10-29 Christophe Lyon <christophe.lyon@linaro.org>
3037
3038 * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
3039 Include crtfastmath.o.
3040
3e5bb7ee
JR
30412015-10-23 Joern Rennecke <joern.rennecke@embecosm.com>
3042
3043 PR libgcc/66883
3044 * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
1300f017 3045
793aa938
KP
30462015-10-16 Kaushik Phatak <kaushik.phatak@kpit.com>
3047
3048 * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
3049 * config/rl78/divmodsi.S: Update return register to r8.
3050 * config/rl78/divmodhi.S: Update return register to r8,r9.
3051 Branch to main_loop_done_himode to pop registers before return.
3052
7d296953 30532015-10-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
fac812f0
VK
3054
3055 * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
3056 (__cpu_indicator_init): Fix model selection for AMD CPUs.
3057
6a192b5a
KY
30582015-10-05 Kirill Yukhin <kirill.yukhin@intel.com>
3059
3060 * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
3061
4a0a9457
MF
30622015-10-03 Max Filippov <jcmvbkbc@gmail.com>
3063
3064 * config.host (xtensa*-*-uclinux*): New configuration.
3065
ab91c076
KY
30662015-10-02 Kirill Yukhin <kirill.yukhin@intel.com>
3067
385c7747 3068 * config/i386/cpuinfo.c (processor_features): Add
ab91c076
KY
3069 FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
3070
30954527
JM
30712015-09-28 Joseph Myers <joseph@codesourcery.com>
3072
3073 * soft-fp/adddf3.c: Update from glibc.
3074 * soft-fp/addsf3.c: Likewise.
3075 * soft-fp/addtf3.c: Likewise.
3076 * soft-fp/divdf3.c: Likewise.
3077 * soft-fp/divsf3.c: Likewise.
3078 * soft-fp/divtf3.c: Likewise.
3079 * soft-fp/double.h: Likewise.
3080 * soft-fp/eqdf2.c: Likewise.
3081 * soft-fp/eqsf2.c: Likewise.
3082 * soft-fp/eqtf2.c: Likewise.
3083 * soft-fp/extenddftf2.c: Likewise.
3084 * soft-fp/extended.h: Likewise.
3085 * soft-fp/extendsfdf2.c: Likewise.
3086 * soft-fp/extendsftf2.c: Likewise.
3087 * soft-fp/extendxftf2.c: Likewise.
3088 * soft-fp/fixdfdi.c: Likewise.
3089 * soft-fp/fixdfsi.c: Likewise.
3090 * soft-fp/fixdfti.c: Likewise.
3091 * soft-fp/fixsfdi.c: Likewise.
3092 * soft-fp/fixsfsi.c: Likewise.
3093 * soft-fp/fixsfti.c: Likewise.
3094 * soft-fp/fixtfdi.c: Likewise.
3095 * soft-fp/fixtfsi.c: Likewise.
3096 * soft-fp/fixtfti.c: Likewise.
3097 * soft-fp/fixunsdfdi.c: Likewise.
3098 * soft-fp/fixunsdfsi.c: Likewise.
3099 * soft-fp/fixunsdfti.c: Likewise.
3100 * soft-fp/fixunssfdi.c: Likewise.
3101 * soft-fp/fixunssfsi.c: Likewise.
3102 * soft-fp/fixunssfti.c: Likewise.
3103 * soft-fp/fixunstfdi.c: Likewise.
3104 * soft-fp/fixunstfsi.c: Likewise.
3105 * soft-fp/fixunstfti.c: Likewise.
3106 * soft-fp/floatdidf.c: Likewise.
3107 * soft-fp/floatdisf.c: Likewise.
3108 * soft-fp/floatditf.c: Likewise.
3109 * soft-fp/floatsidf.c: Likewise.
3110 * soft-fp/floatsisf.c: Likewise.
3111 * soft-fp/floatsitf.c: Likewise.
3112 * soft-fp/floattidf.c: Likewise.
3113 * soft-fp/floattisf.c: Likewise.
3114 * soft-fp/floattitf.c: Likewise.
3115 * soft-fp/floatundidf.c: Likewise.
3116 * soft-fp/floatundisf.c: Likewise.
3117 * soft-fp/floatunditf.c: Likewise.
3118 * soft-fp/floatunsidf.c: Likewise.
3119 * soft-fp/floatunsisf.c: Likewise.
3120 * soft-fp/floatunsitf.c: Likewise.
3121 * soft-fp/floatuntidf.c: Likewise.
3122 * soft-fp/floatuntisf.c: Likewise.
3123 * soft-fp/floatuntitf.c: Likewise.
3124 * soft-fp/gedf2.c: Likewise.
3125 * soft-fp/gesf2.c: Likewise.
3126 * soft-fp/getf2.c: Likewise.
3127 * soft-fp/ledf2.c: Likewise.
3128 * soft-fp/lesf2.c: Likewise.
3129 * soft-fp/letf2.c: Likewise.
3130 * soft-fp/muldf3.c: Likewise.
3131 * soft-fp/mulsf3.c: Likewise.
3132 * soft-fp/multf3.c: Likewise.
3133 * soft-fp/negdf2.c: Likewise.
3134 * soft-fp/negsf2.c: Likewise.
3135 * soft-fp/negtf2.c: Likewise.
3136 * soft-fp/op-1.h: Likewise.
3137 * soft-fp/op-2.h: Likewise.
3138 * soft-fp/op-4.h: Likewise.
3139 * soft-fp/op-8.h: Likewise.
3140 * soft-fp/op-common.h: Likewise.
3141 * soft-fp/quad.h: Likewise.
3142 * soft-fp/single.h: Likewise.
3143 * soft-fp/soft-fp.h: Likewise.
3144 * soft-fp/subdf3.c: Likewise.
3145 * soft-fp/subsf3.c: Likewise.
3146 * soft-fp/subtf3.c: Likewise.
3147 * soft-fp/truncdfsf2.c: Likewise.
3148 * soft-fp/trunctfdf2.c: Likewise.
3149 * soft-fp/trunctfsf2.c: Likewise.
3150 * soft-fp/trunctfxf2.c: Likewise.
3151 * soft-fp/unorddf2.c: Likewise.
3152 * soft-fp/unordsf2.c: Likewise.
3153 * soft-fp/unordtf2.c: Likewise.
3154
4dfe21ac
RE
31552015-09-24 Richard Earnshaw <rearnsha@arm.com>
3156
3157 PR libgcc/67624
3158 * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
3159
df2a1cc4
RO
31602015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3161
3162 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
3163 Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
3164 * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
3165 messages.
3166 (internal_mcount): Likewise.
3167 * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
3168 crt_compile, add CRTSTUFF_T_CFLAGS_S.
3169
2d110442
RO
31702015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3171
3172 * configure.ac (libgcc_cv_solaris_crts): New test.
3173 * configure: Regenerate.
3174 * config.in: Regenerate.
3175 * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
3176 * config/gmon-sol2.c: Rename to ...
3177 * config/sol2/gmon.c: ... this.
3178 Include auto-target.h.
3179 (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
3180 * config/t-sol2: Rename to ...
3181 * config/sol2/t-sol2: ... this.
3182 (gmon.o): Reflect renaming.
3183 (crtp.o, crtpg.o): New rules.
3184 * config.host (*-*-solaris2*): Reflect renaming.
3185 Use system CRTs if present.
3186 Remove default CRT case.
3187
d572e439
JDA
31882015-09-23 John David Anglin <danglin@gcc.gnu.org>
3189
3190 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
3191 (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
3192 __kernel_cmpxchg2.
3193 (__sync_##OP##_and_fetch_##WIDTH): Likewise.
3194 (__sync_val_compare_and_swap_##WIDTH): Likewise.
3195 (__sync_bool_compare_and_swap_##WIDTH): Likewise.
3196 (__sync_lock_test_and_set_##WIDTH): Likewise.
3197 (__sync_lock_release_##WIDTH): Likewise.
3198 (__sync_fetch_and_##OP##_4): Change result to match type of
3199 __kernel_cmpxchg.
3200 (__sync_##OP##_and_fetch_4): Likewise.
3201 (__sync_val_compare_and_swap_4): Likewise.
3202 (__sync_bool_compare_and_swap_4): likewise.
3203 (__sync_lock_test_and_set_4): Likewise.
3204 (__sync_lock_release_4): Likewise.
3205 (FETCH_AND_OP_2): Add long long variants.
3206 (OP_AND_FETCH_2): Likewise.
3207 (COMPARE_AND_SWAP_2 ): Likewise.
3208 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
3209 (SYNC_LOCK_RELEASE_2): Likewise.
3210 (__sync_bool_compare_and_swap_##WIDTH): Correct return.
3211
7d296953 32122015-09-22 Kirill Yukhin <kirill.yukhin@intel.com>
06caf59d
KY
3213
3214 * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
3215 FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
3216 FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
3217 (get_available_features): Habdle new features.
3218
131314e1
JB
32192015-09-21 James Bowman <james.bowman@ftdichip.com>
3220
3221 * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
3222 memory layout. Deal correctly with BSS region larger than 32K.
3223 Handle a watchdog reset like a power-on reset. Clean up unused
3224 code.
3225
04218b35
AD
32262015-09-18 Andrew Dixie <andrewd@gentrack.com>
3227 David Edelsohn <dje.gcc@gmail.com>
3228
3229 * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
3230 * config/rs6000/crtdbase.S: New file.
3231 * config/rs6000/t-aix-cxa: Build crtdbase.o.
3232
c8338173
MF
32332015-09-15 Max Filippov <jcmvbkbc@gmail.com>
3234
3235 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
3236 Add support for call0 ABI.
3237
7a84bf71
JDA
32382015-09-13 John David Anglin <danglin@gcc.gnu.org>
3239
3240 * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
3241
4efab402
SH
32422015-09-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
3243
3244 * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
3245 (__GTHREAD_HAS_COND): Likewise.
3246 (__gthread_t): Likewise.
3247 (__gthread_cond_t): Likewise.
3248 (__gthread_time_t): Likewise.
3249 (__GTHREAD_MUTEX_INIT): Likewise.
3250 (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
3251 (__GTHREAD_COND_INIT): Likewise.
3252 (__GTHREAD_COND_INIT_FUNCTION): Likewise.
3253 (__GTHREAD_TIME_INIT): Likewise.
3254 (__gthread_create): Likewise.
3255 (__gthread_join): Likewise.
3256 (__gthread_detach): Likewise.
3257 (__gthread_equal): Likewise.
3258 (__gthread_self): Likewise.
3259 (__gthread_yield): Likewise.
3260 (__gthread_cond_broadcast): Likewise.
3261 (__gthread_cond_signal): Likewise.
3262 (__gthread_cond_wait): Likewise.
3263 (__gthread_cond_timedwait): Likewise.
3264 (__gthread_cond_wait_recursive): Likewise.
3265 (__gthread_cond_destroy): Likewise.
3266 (rtems_gxx_once): Delete.
3267 (rtems_gxx_key_create): Likewise.
3268 (rtems_gxx_key_delete): Likewise.
3269 (rtems_gxx_getspecific): Likewise.
3270 (rtems_gxx_setspecific): Likewise.
3271 (rtems_gxx_mutex_init): Likewise.
3272 (rtems_gxx_mutex_destroy): Likewise.
3273 (rtems_gxx_mutex_lock): Likewise.
3274 (rtems_gxx_mutex_trylock): Likewise.
3275 (rtems_gxx_mutex_unlock): Likewise.
3276 (rtems_gxx_recursive_mutex_init): Likewise.
3277 (rtems_gxx_recursive_mutex_lock): Likewise.
3278 (rtems_gxx_recursive_mutex_trylock): Likewise.
3279 (rtems_gxx_recursive_mutex_unlock): Likewise.
3280 (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
3281 (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
3282 (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
3283 (__gthread_once): Likewise.
3284 (__gthread_key_create): Likewise.
3285 (__gthread_key_delete): Likewise.
3286 (__gthread_getspecific): Likewise.
3287 (__gthread_setspecific): Likewise.
3288 (__gthread_key_t): Use <pthread.h> type.
3289 (__gthread_once_t): Likewise
3290 (__gthread_mutex_t): Use <sys/lock.h> type.
3291 (__gthread_recursive_mutex_t): Likewise
3292 (__gthread_mutex_lock): Use <sys/lock.h> function.
3293 (__gthread_mutex_trylock): Likewise.
3294 (__gthread_mutex_timedlock): Likewise.
3295 (__gthread_mutex_unlock): Likewise.
3296 (__gthread_mutex_destroy): Likewise.
3297 (__gthread_recursive_mutex_lock): Likewise.
3298 (__gthread_recursive_mutex_trylock): Likewise.
3299 (__gthread_recursive_mutex_timedlock): Likewise.
3300 (__gthread_recursive_mutex_unlock): Likewise.
3301 (__gthread_recursive_mutex_destroy): Likewise.
3302
991995c4
MF
33032015-08-18 Max Filippov <jcmvbkbc@gmail.com>
3304
3305 * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
3306 context->sp instead of context->cfa.
3307
0e19db59
MF
33082015-08-18 Max Filippov <jcmvbkbc@gmail.com>
3309
3310 * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
3311 with unwind-dw2-fde-dip.
3312
b6ac5f62
MF
33132015-08-18 Max Filippov <jcmvbkbc@gmail.com>
3314
3315 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
3316 CALL12 followed by series of ENTRY to spill windowed registers.
3317 (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
3318 instead of making linux spill syscall.
3319
3e0f3349
YR
33202015-08-14 Yuri Rumyantsev <ysrumyan@gmail.com>
3321
3322 * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
3323 (get_intel_cpu): Likewise.
3324
51c728b1
L
33252015-08-12 H.J. Lu <hongjiu.lu@intel.com>
3326
3327 * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
3328 (get_intel_cpu): Add Knights Landing support.
3329
aff4eeac
UB
33302015-08-11 Uros Bizjak <ubizjak@gmail.com>
3331
3332 PR target/66954
3333 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
3334 (get_available_features): Handle FEATURE_PCLMUL.
3335
736e56da
L
33362015-08-10 H.J. Lu <hongjiu.lu@intel.com>
3337
3338 * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
3339 Broadwell.
3340
54d22142
UB
33412015-07-22 Uros Bizjak <ubizjak@gmail.com>
3342
3343 PR target/66954
3344 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
3345 (get_available_features): Handle FEATURE_AES.
3346
20ca17e4
CLT
33472015-07-22 Chung-Lin Tang <cltang@codesourcery.com>
3348
3349 * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
3350 (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
3351
ebe4a560
NS
33522015-07-17 Nathan Sidwell <nathan@codesourcery.com>
3353
3354 * offloadstuff.c: Constify host data.
3355
180744c0
JB
33562015-07-17 Jan Beulich <jbeulich@suse.com>
3357
3358 * config/t-softfp: Split up "else ifneq".
3359
a03c6ae3
SL
33602015-07-14 Sandra Loosemore <sandra@codesourcery.com>
3361 Cesar Philippidis <cesar@codesourcery.com>
3362 Chung-Lin Tang <cltang@codesourcery.com>
3363
3364 * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
3365 for __nios2_arch__ level.
3366
73358db5
JM
33672015-07-13 John Marino <gnugcc@marino.st>
3368
3369 * config/i386/t-dragonfly: New.
3370
f9a12f7b
JDA
33712015-07-01 John David Anglin <danglin@gcc.gnu.org>
3372
3373 * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
3374 better match light-weight syscall argument order.
3375 (__kernel_cmpxchg2): Likewise.
3376 Adjust callers.
3377
cb78b51c
L
33782015-06-30 H.J. Lu <hongjiu.lu@intel.com>
3379
3380 * config.host: Support i[34567]86-*-elfiamcu target.
3381 * config/t-softfp-sfdftf: New file.
3382 * config/i386/32/t-iamcu: Likewise.
3383 * configure: Regenerated.
3384
4fa0f9ea
JL
33852015-06-23 James Lemke <jwlemke@codesourcery.com>
3386
3387 libgcc/config/arm/
3388 * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
3389
428b3812
L
33902015-05-27 H.J. Lu <hongjiu.lu@intel.com>
3391
3392 * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
3393
7d296953 33942015-05-27 John Marino <gnugcc@marino.st>
89c54dd3
JM
3395
3396 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
3397 md_unwind_header
3398 * config/i386/freebsd-unwind.h: New.
3399
9b789cc1
UB
34002015-05-22 Uros Bizjak <ubizjak@gmail.com>
3401
3402 * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
3403 i386/t-crtfm to tmake_file.
3404 * config/i386/crtfastmath.c (set_fast_math_sse): New function.
3405 (set_fast_math): Use set_fast_math_sse for SSE targets.
3406 * config/i386/t-crtfm: Remove.
3407
3dafb220
AM
34082015-05-21 Alan Modra <amodra@gmail.com>
3409
3410 PR libgcc/66225
3411 * config/rs6000/morestack.S: Remove ".abiversion 1".
3412
0f0fd745
AM
34132015-05-20 Alan Modra <amodra@gmail.com>
3414
3415 * config/rs6000/morestack.S: New.
3416 * config/rs6000/t-stack-rs6000: New.
3417 * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
3418 to tmake_file.
3419 * generic-morestack.c: Don't build for powerpc 32-bit.
3420
515ae71b
EB
34212015-05-19 Eric Botcazou <ebotcazou@adacore.com>
3422
3423 * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
3424 Remove useless endif/ifneq ($(enable_shared),yes) pair.
3425
36805406
JL
34262015-05-16 James Bowman <james.bowman@ftdichip.com>
3427
3428 * config.host: FT32 target added.
3429 * config/ft32/*: New files for FT32 target.
3430
ff935d0c
MG
34312015-05-15 Martin Galvan <martin.galvan@tallertechnologies.com>
3432
385c7747
UB
3433 * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
3434 New macros.
3435 * config/arm/ieee754-df.S: Add CFI directives.
3436 * config/arm/ieee754-sf.S: Add CFI directives.
ff935d0c 3437
9b92a9f3
EB
34382015-05-13 Eric Botcazou <ebotcazou@adacore.com>
3439
3440 * configure.ac: Include config/sjlj.m4.
3441 Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
3442 * config.in: Regenerate.
3443 * configure: Likewise.
3444 * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
3445
98b5dc61
UB
34462015-05-12 Uros Bizjak <ubizjak@gmail.com>
3447
3448 * libgcov-util.c: Add space between string literal and macro name.
3449
5a0ff57c
SL
34502015-05-06 Sandra Loosemore <sandra@codesourcery.com>
3451 Chris Jones <chrisj@nvidia.com>
3452 Joshua Conner <jconner@nvidia.com>
3453
3454 * config.host (arm*-*-linux*): Add support for crtfastmath.o.
3455 (arm*-*-uclinux*): Likewise.
3456 (arm*-*-eabi* | arm*-*-rtems*): Likewise.
3457 * config/arm/crtfastmath.c: New file.
3458
d28ad5d4
BS
34592014-04-29 Bernd Schmidt <bernds@codesourcery.com>
3460
3461 * Makefile.in (real_host_noncanonical): New variable.
3462 (libsubdir): Use it.
3463 * configure.ac (real_host_noncanonical): Compute. Remove special
3464 case for intelmicemul.
3465 * configure: Regenerate.
3466
cc86234f
UB
34672015-04-28 Uros Bizjak <ubizjak@gmail.com>
3468
3469 * config/frv/elf-lib.h: New file.
3470 (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
3471 * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
3472 to tm_file.
3473
34742015-04-28 Uros Bizjak <ubizjak@gmail.com>
3475
3476 * config/frv/frvbengin.c: Do not include defaults.h
3477 * config/frv/frvend.c: Ditto.
3478
2f6bd6eb
YS
34792015-04-27 Yoshinori Sato <ysato@users.sourceforge.jp>
3480
3481 * config.host: Add h8300-*-linux
3482 * config/h8300/t-linux: New file.
3483 * config/h8300/lib1funs.s: Change symbol prefix.
3484 * config/h8300/sfp-machine.h: 64bit double support.
3485
15aa7b44
GR
34862015-04-22 Gregor Richards <gregor.richards@uwaterloo.ca>
3487 Szabolcs Nagy <szabolcs.nagy@arm.com>
3488
3489 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
3490 Linux if target provides dl_iterate_phdr.
3491
abd0cdc9
L
34922015-04-17 H.J. Lu <hongjiu.lu@intel.com>
3493
3494 PR target/65612
3495 * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
3496 * config/i386/cpuinfo.c (__cpu_model): Initialize.
3497 (__cpu_indicator_init@GCC_4.8.0): New.
3498 (__cpu_model@GCC_4.8.0): Likewise.
3499 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
3500 -DUSE_ELF_SYMVER.
3501
72ed1126
NC
35022015-04-16 Nick Clifton <nickc@redhat.com>
3503
3504 * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
3505 and __modhi3 functions.
3506 * config/rl78/divmodso.S: Add G14 and G13 versions of the
3507 __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
3508
d26b2237
CG
35092015-04-15 Chen Gang <gang.chen.5i5j@gmail.com>
3510
3511 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
3512 do-while loop as macro body to avoid warnings.
3513
cacf1f59
JJ
35142015-04-10 Jakub Jelinek <jakub@redhat.com>
3515 Iain Sandoe <iain@codesourcery.com>
3516
3517 PR target/65351
3518 * configure: Regenerate.
3519
e8a4ed3b
JJ
35202015-04-07 Jakub Jelinek <jakub@redhat.com>
3521 Iain Sandoe <iain@codesourcery.com>
3522
3523 PR target/65351
3524 * configure: Regenerate.
3525
0341335e
CLT
35262015-03-25 Chung-Lin Tang <cltang@codesourcery.com>
3527
3528 * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
3529
590e2636 35302015-03-03 Max Filippov <jcmvbkbc@gmail.com>
0341335e 3531
590e2636
MF
3532 Implement call0 ABI for xtensa
3533 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
3534 __xtensa_nonlocal_goto): Don't compile for call0 ABI.
3535 (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
3536 use ret in call0 ABI.
3537 * config/xtensa/t-windowed: New file.
3538 * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
3539 * libgcc/configure: Regenerated.
3540 * libgcc/configure.ac: Check if xtensa target is configured for
3541 windowed ABI and thus needs to use custom unwind code.
3542
7727f8f2
JW
35432015-02-12 Jonathan Wakely <jwakely@redhat.com>
3544
3545 PR libgcc/64885
3546 * gthr-single.h: Use __unused__ attribute instead of unused.
3547 * config/gthr-vxworks.h: Likewise.
3548 * config/i386/gthr-win32.h: Likewise.
3549
0e4a0def
KT
35502015-02-27 Kai Tietz <ktietz@redhat.com>
3551
3552 PR target/65038
3553 * config.in: Regenerated.
3554 * configure: Likewise.
3555 * configure.ac (AC_HEADER_STDC): Added explicit.
3556 (AC_CHECK_HEADERS): Check for default headers plus
3557 for ftw.h header.
3558 * libgcov-util.c (gcov_read_profile_dir): Disable use
3559 of ftw-function, if header is not found.
3560 (ftw_read_file): Likewise.
3561
b6530d0a
TS
35622015-02-23 Thomas Schwinge <thomas@codesourcery.com>
3563
3564 PR target/65181
3565 * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
3566 -Dinhibit_libc.
3567
53cfb467
SL
35682015-02-17 Sandra Loosemore <sandra@codesourcery.com>
3569
3570 * config/arm/bpabi.S (test_div_by_zero): Make label names
3571 consistent between thumb2 and arm mode cases. Separate the
3572 signed comparison on the high word of the numerator from the
3573 unsigned comparison on the low word.
3574 * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
3575 signed comparison.
3576
77d10a1b
JM
35772015-02-17 Joseph Myers <joseph@codesourcery.com>
3578
3579 * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
3580 and <string.h>.
3581 (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
3582
98174188
RE
35832015-02-10 Rainer Emrich <rainer@emrich-ebersheim.de>
3584
3585 PR gcov-profile/61889
471274de 3586 * libgcov-driver-system.c: undefine clashing macro for mkdir.
98174188 3587
771bef14
NC
35882015-02-02 Nick Clifton <nickc@redhat.com>
3589
3590 * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
3591 rounding up the fraction.
3592
40702893
JDA
35932015-01-31 John David Anglin <danglin@gcc.gnu.org>
3594
3595 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
3596 oldval and newval to const void *. Fix typo.
3597 (FETCH_AND_OP_2): Use __atomic_load_n to load value.
3598 (FETCH_AND_OP_WORD): Likewise.
3599 (OP_AND_FETCH_WORD): Likewise.
3600 (COMPARE_AND_SWAP_2): Likewise.
3601 (__sync_val_compare_and_swap_4): Likewise.
3602 (__sync_lock_test_and_set_4): Likewise.
3603 (SYNC_LOCK_RELEASE_2): Likewise.
3604 Remove support for long long atomic operations.
3605
f7f049fa
CT
36062015-01-27 Caroline Tice <cmtice@google.com>
3607
3608 Committing VTV Cywin/Ming patch for Patrick Wollgast
3609 * Makefile.in: Move rules to build vtv_*.o out of the check
3610 for CUSTOM_CRTSTUFF.
3611 * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
3612 i[34567]86-*-mingw*)
3613 (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
3614 enable_vtable_verify.
3615
8410904a
NC
36162015-01-27 Nick Clifton <nickc@redhat.com>
3617
3618 * config/rl78/cmpsi2.S: Use function start and end macros.
3619 (__gcc_bcmp): New function.
3620 * config/rl78/lshrsi3.S: Use function start and end macros.
3621 * config/rl78/mulsi3.S: Add support for G10.
3622 (__mulqi3): New function for G10.
3623 * config/rl78/signbit.S: Use function start and end macros.
3624 * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
3625 fpmath-sf.S.
3626 (LIB2FUNCS_EXCLUDE): Define.
3627 (LIB2FUNCS_ST): Define.
3628 * config/rl78/trampoline.S: Use function start and end macros.
3629 * config/rl78/vregs.h (START_FUNC): New macro.
3630 (START_ANOTHER_FUNC): New macro.
3631 (END_FUNC): New macro.
3632 (END_ANOTHER_FUNC): New macro.
3633 * config/rl78/bit-count.S: New file. Contains assembler
3634 implementations of the bit counting functions: ___clzhi2,
3635 __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
3636 __paritysi2, __popcounthi2 and __popcountsi2.
3637 * config/rl78/fpbit-sf.S: New file. Contains assembler
3638 implementationas of the math functions: __negsf2, __cmpsf2,
3639 __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
3640 __fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
3641 * config/rl78/fpmath-sf.S: New file. Contains assembler
3642 implementations of the math functions: __subsf3, __addsf3,
3643 __mulsf3 and __divsf3
3644
f962fbf1
RO
36452015-01-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3646
3647 * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
3648 Add i386/elf-lib.h to tm_file.
3649 * config/i386/elf-lib.h: Fix comment.
3650 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
3651 && __sun__ && __svr4__]: Remove workaround.
3652
939911c5
ASJ
36532015-01-25 Allan Sandfeld Jensen <sandfeld@kde.org>
3654
3655 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
3656 FEATURE_BMI2.
3657 (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
3658
c8f2dff2
L
36592015-01-24 H.J. Lu <hongjiu.lu@intel.com>
3660
3661 * config/i386/cpuinfo.c (processor_subtypes): Add
3662 INTEL_COREI7_BROADWELL.
3663 (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
3664 model numbers.
3665
7bbf9734
UB
36662015-01-23 Uros Bizjak <ubizjak@gmail.com>
3667
3668 * config/i386/elf-lib.h: New file.
3669 (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
3670 Wrap definition in #ifdef __i386__.
3671 * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
3672 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
3673 (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
3674 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
3675 to tm_file.
3676
324820f1
CG
36772015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
3678
3679 * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
3680 "(char *)" to avoid qualifier warning by 'xgcc' compiling.
3681
a9ce4e4a
CLT
36822015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
3683
3684 * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
3685 Update rt_sigframe format and address for current Nios II
3686 Linux conventions.
3687
82a19768
AT
36882015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
3689
3690 * config.host (arm*-*-freebsd*): Add new configuration for
3691 arm*-*-freebsd*.
3692 * config/arm/freebsd-atomic.c: New file.
3693 * config/arm/t-freebsd: Likewise.
3694 * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
3695 'PC-relative indirect' OS's.
3696
0969ec7d
EB
36972015-01-06 Eric Botcazou <ebotcazou@adacore.com>
3698
3699 * config.host: Add Visium support.
3700 * config/visium: New directory.
3701
5624e564
JJ
37022015-01-05 Jakub Jelinek <jakub@redhat.com>
3703
3704 Update copyright years.
3705
82f84ecb
MF
37062014-12-19 Matthew Fortune <matthew.fortune@imgtec.com>
3707
3708 * config.host: Support mipsisa32r6 and mipsisa64r6.
3709 * config/mips/mips16.S: Do not build for R6.
3710
69044fa9
OE
37112014-12-17 Oleg Endo <olegendo@gcc.gnu.org>
3712
3713 * config/sh/crt.h: New.
3714 * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
3715 symbols.
3716 * config/sh/crt1.S: Likewise.
3717
2405e0ea
UB
37182014-12-15 Uros Bizjak <ubizjak@gmail.com>
3719
3720 PR libgcc/63832
3721 * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
3722 func_ptr *dtor_list temporary variable to avoid "array subscript
3723 is above array bounds" warnings.
3724
7d296953 37252014-12-09 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
dd913323
MH
3726
3727 * Makefile.in (with_aix_soname): Define.
3728 * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
3729 * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
3730 * configure: Recreate.
3731
a66272f6
OH
37322014-12-05 Olivier Hainque <hainque@adacore.com>
3733
3734 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
3735 now provided by defaults.h.
3736
6342b2c5
OE
37372014-11-30 Oleg Endo <olegendo@gcc.gnu.org>
3738
7d0ee249 3739 PR target/55351
6342b2c5
OE
3740 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
3741 whether it's defined.
3742
c17eac85
IT
37432014-11-27 Ilya Tocar <ilya.tocar@intel.com>
3744
3745 * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
3746 * config/i386/cpuinfo.c (get_available_features): Detect it.
3747
1025cb6c
TW
37482014-11-27 Tony Wang <tony.wang@arm.com>
3749
3750 * config/arm/lib1funcs.S (FUNC_START): Add conditional section
3751 redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
3752 (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
3753
d19f2e38
SB
37542014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
3755
3756 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
3757
17f6e9a3
JDA
37582014-11-24 John David Anglin <danglin@gcc.gnu.org>
3759
3760 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
3761 instead.
3762
0cd7c672
GM
37632014-11-21 Guy Martin <gmsoft@tuxicoman.be>
3764 John David Anglin <danglin@gcc.gnu.org>
3765
3766 * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
3767 (FETCH_AND_OP_2): New. Use for subword and double word operations.
3768 (OP_AND_FETCH_2): Likewise.
3769 (COMPARE_AND_SWAP_2): Likewise.
3770 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
3771 (SYNC_LOCK_RELEASE_2): Likewise.
3772 (SUBWORD_SYNC_OP): Remove.
3773 (SUBWORD_VAL_CAS): Likewise.
3774 (SUBWORD_BOOL_CAS): Likewise.
3775 (FETCH_AND_OP_WORD): Update.
3776 Consistently use signed types.
cc86234f 3777
85c64bbe
BS
37782014-11-13 Bernd Schmidt <bernds@codesourcery.com>
3779 Thomas Schwinge <thomas@codesourcery.com>
3780 Ilya Verbin <ilya.verbin@intel.com>
3781 Andrey Turetskiy <andrey.turetskiy@intel.com>
3782
3783 * Makefile.in (crtoffloadbegin$(objext)): New rule.
3784 (crtoffloadend$(objext)): Likewise.
3785 * configure: Regenerate.
3786 * configure.ac (accel_dir_suffix): Compute new variable.
3787 (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
3788 if enable_offload_targets is not empty.
3789 * offloadstuff.c: New file.
3790
52a1ff8b
NC
37912014-11-13 Nick Clifton <nickc@redhat.com>
3792
3793 * config/rl78/divmodhi.S: Add support for the G10 architecture.
3794 Use START_FUNC and END_FUNC macros to enable linker garbage
3795 collection.
3796 * config/rl78/divmodqi.S: Likewise.
3797 * config/rl78/divmodsi.S: Likewise.
3798 * config/rl78/mulsi3.S: Likewise.
3799 * config/rl78/lib2div.c: Remove G10 functions.
3800 * config/rl78/lib2muls.c: Likewise.
3801 * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
3802 * config/rl78/vregs.h (START_FUNC): New macro.
3803 (END_FUNC): New macro.
3804
050af144
MF
38052014-11-12 Matthew Fortune <matthew.fortune@imgtec.com>
3806
3807 * config/mips/mips16.S: Set .module when supported. Update O32
3808 FP64 calling convention and use for FPXX when possible. Add FPXX
3809 calling convention fallback case.
3810
738f2522
BS
38112014-11-06 Bernd Schmidt <bernds@codesourcery.com>
3812
3813 * config.host: Handle nvptx-*-*.
3814 * shared-object.mk (as-flags-$o): Define.
3815 ($(base)$(objext), $(base)_s$(objext)): Use it instead of
3816 -xassembler-with-cpp.
3817 * static-object.mk: Identical changes.
3818 * config/nvptx/t-nvptx: New file.
3819 * config/nvptx/crt0.s: New file.
3820 * config/nvptx/free.asm: New file.
3821 * config/nvptx/malloc.asm: New file.
3822 * config/nvptx/realloc.c: New file.
3823
e610393c
JM
38242014-10-30 Joseph Myers <joseph@codesourcery.com>
3825
3826 * Makefile.in (libgcc.map.in): New target.
3827 (libgcc.map): Use libgcc.map.in.
3828 * config/t-softfp (softfp_compat): New variable to be set by
3829 users.
3830 [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
3831 variables.
3832 [$(softfp_compat) = y] (softfp_file_list): Use files in the build
3833 directory.
3834 [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
3835 that use compat symbols and disable all code unless [SHARED].
3836 * config/t-softfp-compat: New file.
3837 * find-symver.awk: New file.
3838 * configure.ac (--with-glibc-version): New configure option.
3839 (ppc_fp_compat): New variable set for powerpc*-*-linux*.
3840 * configure: Regenerate.
3841 * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
3842 soft-float and e500.
3843
bc1b3a88
JM
38442014-10-29 Joseph Myers <joseph@codesourcery.com>
3845
3846 * config/t-hardfp (hardfp_exclusions): Document new variable for
3847 user to define.
3848 (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
3849 * config/t-softfp (softfp_extras): Document new variable for user
3850 to define.
3851 (softfp_func_list): Add functions from $(softfp_extras).
3852 * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
3853 * config.host (powerpc*-*-linux*): For e500v1, use
3854 rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
3855 t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
3856 and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
3857
ef2810c1
JDA
38582014-10-26 John David Anglin <danglin@gcc.gnu.org>
3859
3860 * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
3861 (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
3862 memory read accesses are ok.
3863
d80c2bea
JM
38642014-10-25 Joseph Myers <joseph@codesourcery.com>
3865
3866 * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
3867 * configure: Regenerate.
3868 * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
3869 additions to tmake_file. Use t-hardfp-sfdf and t-hardfp instead
3870 of soft-fp for 32-bit classic hard float. Do not use
3871 t-softfp-excl for soft float.
3872
693b297b
JM
38732014-10-22 Joseph Myers <joseph@codesourcery.com>
3874
3875 * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
3876 configurations.
3877 * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
3878 Remove variables.
3879
18a3415e
GJL
38802014-10-22 Georg-Johann Lay <avr@gjlay.de>
3881
3882 * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
3883 introduced with 2014-10-21 trunk r216525.
3884
c1dd9790 38852014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
7d296953
JJ
3886 Vidya Praveen <vidya.praveen@atmel.com>
3887 Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
3888 Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
3889 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
c1dd9790
JR
3890
3891 * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
3892 order.
3893
3894 Updated library functions for AVRTINY arch.
3895 * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
3896 Replaced occurrences of r0/r1 with tmp/zero reg macros.
3897 Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
3898 or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
3899 wsubi/wadi macors.
3900 (__mulsi3_helper): Update stack, preserve callee saved regs and
3901 argument from stack. Restore callee save registers.
3902 (__mulpsi3): Likewise.
3903 (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
3904 __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
18a3415e 3905 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
c1dd9790
JR
3906 AVRTINY.
3907 (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
3908 (__do_copy_data): Added new definition for AVRTINY.
3909 (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
3910 (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
3911 __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
3912 * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
3913 tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
3914 macors.
18a3415e 3915 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
c1dd9790
JR
3916 AVRTINY.
3917
18a3415e 3918 Fix broken long multiplication on tiny arch.
c1dd9790 3919
5f606431
JM
39202014-10-09 Joseph Myers <joseph@codesourcery.com>
3921
3922 * soft-fp/double.h: Update from glibc.
3923 * soft-fp/eqdf2.c: Likewise.
3924 * soft-fp/eqsf2.c: Likewise.
3925 * soft-fp/eqtf2.c: Likewise.
3926 * soft-fp/extenddftf2.c: Likewise.
3927 * soft-fp/extended.h: Likewise.
3928 * soft-fp/extendsfdf2.c: Likewise.
3929 * soft-fp/extendsftf2.c: Likewise.
3930 * soft-fp/extendxftf2.c: Likewise.
3931 * soft-fp/gedf2.c: Likewise.
3932 * soft-fp/gesf2.c: Likewise.
3933 * soft-fp/getf2.c: Likewise.
3934 * soft-fp/ledf2.c: Likewise.
3935 * soft-fp/lesf2.c: Likewise.
3936 * soft-fp/letf2.c: Likewise.
3937 * soft-fp/op-1.h: Likewise.
3938 * soft-fp/op-2.h: Likewise.
3939 * soft-fp/op-4.h: Likewise.
3940 * soft-fp/op-8.h: Likewise.
3941 * soft-fp/op-common.h: Likewise.
3942 * soft-fp/quad.h: Likewise.
3943 * soft-fp/single.h: Likewise.
3944 * soft-fp/soft-fp.h: Likewise.
3945 * soft-fp/unorddf2.c: Likewise.
3946 * soft-fp/unordsf2.c: Likewise.
3947 * soft-fp/unordtf2.c: Likewise.
3948 * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
3949 * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
3950 * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
3951 * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
3952 * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
3953 * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
3954 * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
3955 * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
3956 * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
3957 * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
3958
9b84e7a8
RX
39592014-10-08 Rong Xu <xur@google.com>
3960
3961 * libgcov-util.c (read_gcda_file): Fix format.
3962 (find_match_gcov_info): Ditto.
3963 (calculate_2_entries): New.
3964 (compute_one_gcov): Ditto.
3965 (gcov_info_count_all_cold): Ditto.
3966 (gcov_info_count_all_zero): Ditto.
3967 (extract_file_basename): Ditto.
3968 (get_file_basename): Ditto.
3969 (set_flag): Ditto.
3970 (matched_gcov_info): Ditto.
3971 (calculate_overlap): Ditto.
3972 (gcov_profile_overlap): Ditto.
3973 * libgcov-driver.c (compute_summary): Make
3974 it avavilable for external calls.
3975
fe1090c1
RX
39762014-10-06 Rong Xu <xur@google.com>
3977
3978 * Makefile.in: Ditto.
3979 * libgcov-driver.c (gcov_sort_n_vals): New utility function.
3980 (gcov_sort_icall_topn_counter): Ditto.
3981 (gcov_sort_topn_counter_arrays): Ditto.
3982 (dump_one_gcov): Sort indirect_call topn counters.
3983 * libgcov-merge.c (__gcov_merge_icall_topn): New merge
3984 function.
3985 * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
3986 utility function.
3987 (__gcov_indirect_call_topn_profiler): New profiler function.
3988 * libgcov-util.c (__gcov_icall_topn_counter_op): New.
3989 * libgcov.h: New decls.
3990
3daa7bbf
TS
39912014-10-04 Trevor Saunders <tsaunders@mozilla.com>
3992
3993 * config.host: Remove support for score-*.
3994
9a79452d
JM
39952014-09-22 Joseph Myers <joseph@codesourcery.com>
3996
3997 * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
3998 (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
3999 (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
4000 __LIBGCC_XF_MANT_DIG__.
4001 (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
4002 (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
4003 __LIBGCC_TF_MANT_DIG__.
4004 * libgcc2.c (NOTRUNC): Define in terms of
4005 __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
4006 * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
4007
1a849e50
JM
40082014-09-22 Joseph Myers <joseph@codesourcery.com>
4009
4010 PR target/63312
4011 * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
4012 New macros.
4013
598a1586
HPN
40142014-09-22 Hans-Peter Nilsson <hp@axis.com>
4015
4016 * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
4017 override USE_PT_GNU_EH_FRAME.
4018 [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
4019 check USE_EH_FRAME_REGISTRY_ALWAYS against
4020 __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
4021 * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
4022 variable for substituted force_explicit_eh_registry.
4023 (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
4024 * configure.ac (explicit-exception-frame-registration):
4025 New AC_ARG_ENABLE.
4026 * configure: Regenerate.
4027
3a8fe7c6
OH
40282014-09-19 Olivier Hainque <hainque@adacore.com>
4029
4030 * config.host (powerpc-wrs-vxworksmils): New configuration,
4031 same as vxworksae.
4032
dd69f047
JM
40332014-09-18 Joseph Myers <joseph@codesourcery.com>
4034
4035 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
4036
e770bfd9
JM
40372014-09-18 Joseph Myers <joseph@codesourcery.com>
4038
4039 * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
4040 bits not set bits as indicating trapping exceptions.
4041
cadb2b96
NS
40422014-09-17 Nathan sidwell <nathan@acm.org>
4043
4044 * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
4045 (LIBGCOV_DRIVER): ... here.
4046 * libgcov-driver.c (gcov_master): New.
4047 (gcov_exit): Remove from master chain.
4048 (__gcov_init): Add to master chain if version compatible. Don't
4049 clear the version.
4050 * libgcov_interface (__gcov_flust): Call gcov_dump_int.
4051 (gcov_reset_int): Clear master chain, if compatible.
4052 (gcov_dump_int): New internal interface. Dump master chain, if
4053 compatible.
4054 (gcov_dump): Alias for gcov_dump_int.
4055 * libgcov.h (struct gcov_root): Add next and prev fields.
4056 (struct gcov_master): New struct.
4057 (__gcov_master): New.
4058 (gcov_dump_int): Declare.
4059
580d22a3
OH
40602014-09-17 Olivier Hainque <hainque@adacore.com>
4061
4062 * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
4063 and crtbegin.o + crtend.o to extra_parts.
4064
8cc4b7a2
JM
40652014-09-12 Joseph Myers <joseph@codesourcery.com>
4066
4067 * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
4068 __LIBGCC_HAS_SF_MODE__.
4069 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
4070 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
4071 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
4072 * config/libbid/bid_gcc_intrinsics.h
4073 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
4074 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
4075 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
4076 * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
4077 (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
4078 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
4079
ea3f2b24
GJL
40802014-09-11 Georg-Johann Lay <avr@gjlay.de>
4081
4082 PR target/63223
4083 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
4084 and R24 as needed. Make work for all devices and .text locations.
4085 (__do_global_ctors, __do_global_dtors): Use word addresses.
4086 (__tablejump__, __tablejump_elpm__): Remove functions.
4087 * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
4088 Add _tablejump2.
4089 (XICALL, XIJMP): New macros.
4090
b677236a
MS
40912014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
4092 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
4093
4094 * config.host (aarch64*): Include crtfastmath.o and
4095 t-crtfm.
4096 * config/aarch64/crtfastmath.c: New file.
4097
157e859f
TS
40982014-09-08 Trevor Saunders <tsaunders@mozilla.com>
4099
4100 * config.host: Remove picochip support.
4101 * config/picochip/adddi3.S: Remove.
4102 * config/picochip/ashlsi3.S: Remove.
4103 * config/picochip/ashlsi3.c: Remove.
4104 * config/picochip/ashrsi3.S: Remove.
4105 * config/picochip/ashrsi3.c: Remove.
4106 * config/picochip/clzsi2.S: Remove.
4107 * config/picochip/cmpsi2.S: Remove.
4108 * config/picochip/divmod15.S: Remove.
4109 * config/picochip/divmodhi4.S: Remove.
4110 * config/picochip/divmodsi4.S: Remove.
4111 * config/picochip/lib1funcs.S: Remove.
4112 * config/picochip/longjmp.S: Remove.
4113 * config/picochip/lshrsi3.S: Remove.
4114 * config/picochip/lshrsi3.c: Remove.
4115 * config/picochip/parityhi2.S: Remove.
4116 * config/picochip/popcounthi2.S: Remove.
4117 * config/picochip/setjmp.S: Remove.
4118 * config/picochip/subdi3.S: Remove.
4119 * config/picochip/t-picochip: Remove.
4120 * config/picochip/ucmpsi2.S: Remove.
4121 * config/picochip/udivmodhi4.S: Remove.
4122 * config/picochip/udivmodsi4.S: Remove.
4123
66bb34c0
JM
41242014-09-08 Joseph Myers <joseph@codesourcery.com>
4125
4126 * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
4127 (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
4128 (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
4129 (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
4130 * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
4131 error if not defined and LIBGCC2_HAS_SF_MODE is defined.
4132 (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
4133 defined and LIBGCC2_HAS_DF_MODE is defined.
4134 (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
4135 defined and LIBGCC2_HAS_XF_MODE is defined.
4136 (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
4137 defined and LIBGCC2_HAS_TF_MODE is defined.
4138
9686a2e6
JM
41392014-09-08 Joseph Myers <joseph@codesourcery.com>
4140
4141 * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
4142 and ROUND_TOWARDS_ZERO conditionals.
4143
71c3e2ef
NS
41442014-09-07 Nathan sidwell <nathan@acm.org>
4145
4146 * libgcov-interface.c (STRONG_ALIAS): Rename to ...
4147 (ALIAS_weak): ... here. Use forwarding function. Adjust uses.
4148
53d68b9f
JM
41492014-09-05 Joseph Myers <joseph@codesourcery.com>
4150
4151 * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
4152 * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
4153 uses to __LIBGCC_STACK_POINTER_REGNUM__.
4154 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
4155 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4156 * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
4157 Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4158 * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
4159 uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
4160 (DWARF_FRAME_REGISTERS): Change all uses to
4161 __LIBGCC_DWARF_FRAME_REGISTERS__.
4162 (EH_RETURN_STACKADJ_RTX): Change all uses to
4163 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
4164 * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
4165 __LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
4166 * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
4167 use to __LIBGCC_EH_FRAME_SECTION_NAME__.
4168 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
4169 * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
4170 to __LIBGCC_EH_FRAME_SECTION_NAME__.
4171 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
4172 * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
4173 __LIBGCC_STACK_POINTER_REGNUM__.
4174 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
4175 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4176 * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
4177 to __LIBGCC_STACK_POINTER_REGNUM__.
4178 * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
4179 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4180 * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
4181 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4182 * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
4183 Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4184 (STACK_POINTER_REGNUM): Change all uses to
4185 __LIBGCC_STACK_POINTER_REGNUM__.
4186 * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
4187 use to __LIBGCC_STACK_POINTER_REGNUM__.
4188 * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
4189 uses to __LIBGCC_STACK_POINTER_REGNUM__.
4190 * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
4191 to __LIBGCC_DWARF_FRAME_REGISTERS__.
4192 * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
4193 to __LIBGCC_DWARF_FRAME_REGISTERS__.
4194 * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
4195 to __LIBGCC_STACK_POINTER_REGNUM__.
4196 * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
4197 Remove conditional definition.
4198 * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
4199 __LIBGCC_TEXT_SECTION_ASM_OP__.
4200 (EH_FRAME_SECTION_NAME): Change all uses to
4201 __LIBGCC_EH_FRAME_SECTION_NAME__.
4202 (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
4203 __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
4204 (CTORS_SECTION_ASM_OP): Change all uses to
4205 __LIBGCC_CTORS_SECTION_ASM_OP__.
4206 (DTORS_SECTION_ASM_OP): Change all uses to
4207 __LIBGCC_DTORS_SECTION_ASM_OP__.
4208 (JCR_SECTION_NAME): Change all uses to
4209 __LIBGCC_JCR_SECTION_NAME__.
4210 (INIT_SECTION_ASM_OP): Change all uses to
4211 __LIBGCC_INIT_SECTION_ASM_OP__.
4212 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
4213 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
4214 * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
4215 __LIBGCC_STACK_GROWS_DOWNWARD__.
4216 * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
4217 __LIBGCC_INIT_SECTION_ASM_OP__.
4218 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
4219 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
4220 (EH_FRAME_SECTION_NAME): Change all uses to
4221 __LIBGCC_EH_FRAME_SECTION_NAME__.
4222 * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
4223 definitions. Change all uses to
4224 __LIBGCC_VTABLE_USES_DESCRIPTORS__.
4225 * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
4226 __LIBGCC_STACK_GROWS_DOWNWARD__.
4227 (DWARF_FRAME_REGISTERS): Change all uses to
4228 __LIBGCC_DWARF_FRAME_REGISTERS__.
4229 (EH_RETURN_STACKADJ_RTX): Change all uses to
4230 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
4231 * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
4232 definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
4233 * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
4234 __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
4235 (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
4236
b20ee094
NS
42372014-09-02 Nathan sidwell <nathan@acm.org>
4238
4239 * libgcov-interface.c (STRONG_ALIAS): New.
4240 (__gcov_flush): Call __gcov_reset_int.
4241 (__gcov_reset): Strong alias for ...
4242 (__gcov_reset_ing): ... this renamed hidden version.
4243 * libgcov.h (__gcov_reset_int): New declaration.
4244
1ac83976
YS
42452014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
4246
25efdb9f
YS
4247 * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
4248 call from here...
4249 * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
4250 (__dso_handle): Define on Cygwin.
4251 * config/i386/t-cygming (crtbeginS.o): New rule.
4252 * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
4253
1ac83976
YS
4254 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
4255 declaration syntax.
4256
c6f9ea3b
SE
42572014-08-13 Steve Ellcey <sellcey@mips.com>
4258
4259 * crtstuff.c: Undef caddr_t.
4260
5b1ea7c5
SE
42612014-08-12 Steve Ellcey <sellcey@mips.com>
4262
4263 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
4264
4303c581
NS
42652014-08-07 Nathan Sidwell <nathan@acm.org>
4266
4267 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
4268 (LIBGCOV_DRIVER): ... to here.
4269 * libgcov.h (gcov_do_dump): New #define.
4270 (struct gcov_root): New.
4271 (__gcov_root): New declaration.
4272 (__gcov_dump_one): Declare.
4273 * libgcov-driver.c (gcov_list, gcov_dump_complete,
4274 run_accounted): Delete.
4275 (gcov_compute_histogram): Add LIST argument, adjust.
4276 (compute_summary): Adjust gcov_compute_histogram call.
4277 (gcov_do_dump): Not hidden, static in libgcov.
4278 (gcov_clear): Move to interface.c.
4279 (__gcov_dump_one): New, broken out of ...
4280 (gcov_exit): ... here. Make static.
4281 (__gcov_root): New.
4282 (__gcov_init): Adjust.
4283 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
4284 declarations.
4285 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
4286 (gcov_clear): Moved from driver.c. Add LIST argument.
4287 (__gcov_reset): Adjust for changed interfaces.
4288 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
4289
23742a9e
RAR
42902014-08-04 Rohit <rohitarulraj@freescale.com>
4291
4292 PR target/60102
4293 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
d406ae47 4294 based on change in SPE high register numbers and 3 HTM registers.
23742a9e 4295
b98a872b
NS
42962014-08-01 Nathan Sidwell <nathan@acm.org>
4297
4298 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
4299 LIBGCOV_INTERFACE): Reformat.
4300 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
4301 IN_GCOV_TOOL.
4302 * libgcov-interface.c: Reformat some comments.
4303 (__gcov_flush_mx): Add declaration. Tidy up definition.
4304
6adaaa1d
AM
43052014-07-31 Alan Modra <amodra@gmail.com>
4306 Peter Bergner <bergner@vnet.ibm.com>
4307
4308 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
4309 (pack_ldouble): New function.
4310 (__gcc_qadd): Use it.
4311 (__gcc_qmul): Likewise.
4312 (__gcc_qdiv): Likewise.
4313 (__gcc_qneg): Likewise.
4314 (__gcc_stoq): Likewise.
4315 (__gcc_dtoq): Likewise.
4316
87cb0c0c
UW
43172014-07-30 J. D. Johnston <jjohnst@us.ibm.com>
4318
4319 * config/s390/tpf-unwind.h: Include <stdbool.h>.
4320 (__tpf_eh_return): Add original return address as second parameter.
4321 Handle cases where unwinder routines were called directly, instead
4322 of from within the C++ library.
4323
19926161
NS
43242014-07-29 Nathan Sidwell <nathan@acm.org>
4325
4326 * libgcov.h: Move renaming of entry points to lib gcov specific
4327 portion.
4328 (gcov_do_dump): New rename.
4329 (gcov_rewrite): Remove inline, make HIDDEN.
4330 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
4331 (gcov_exit_compute_summary): Rename to ...
4332 (compute_summary): ... here. Add LIST argument.
4333 (gcov_exit_merge_gcda): Rename to ...
4334 (merge_one_data): ... here.
4335 (gcov_exit_write_gcda): Rename to ...
4336 (write_one_data): ... here.
4337 (gcov_exit_merge_summary): Rename to ...
4338 (merge_summary): Add RUN_COUNTED argument.
4339 (gcov_exit_dump_gcov): Rename to ...
4340 (dump_one_gcov): Add RUN_COUNTED argument.
4341 (gcov_do_dump): New function, broken out of ...
4342 (gcov_exit): ... here. Call it.
4343
17522262
AG
43442014-07-27 Anthony Green <green@moxielogic.com>
4345
4346 * config.host: Add moxiebox configuration suppport.
4347
6dc33097
NS
43482014-07-27 Nathan Sidwell <nathan@acm.org>
4349
4350 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
4351 (struct gcov_filename): ... here. Include buffer and max length
4352 fields.
4353 (gcov_max_filename): Remove.
4354 (gi_filename): Remove.
4355 (gcov_exit_compute_summary): Compute max filename here.
4356 (gcov_exit_merge_gcda): Add filename parm, adjust.
4357 (gcov_exit_merge_summary): Likewise.
4358 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
4359 (gcov_exit): Likewise.
4360 (__gcov_init): Don't calculate max length here.
4361 * libgcov_util.c (max_filename_len): Remove.
4362 (read_gcda_file): Don't calculate max length here.
4363 (gcov_read_profile_dir): Don't propagate here.
4364 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
4365 struct gcov_filename changes.
4366 (gcov_exit_open_gcda_file): Likewise.
4367
770f687d
NS
43682014-07-25 Nathan Sidwell <nathan@acm.org>
4369
4370 * libgcov-driver.c (set_gcov_dump_complete,
4371 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
4372 functions polluting user's namespace.
4373 (gcov_exit): Set variable directly.
4374 (gcov_clear): Reset variable directly.
4375 * libgcov-interface.c (get_gcov_dymp_complete,
4376 reset_gov_dump_complete): Remove declarations.
4377 (__gcov_reset, __gcov_dump): Don't call them.
4378
fabf71ba
DD
43792014-07-24 DJ Delorie <dj@redhat.com>
4380
4381 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
770f687d
NS
4382 (__gcc_deregister_frame): Move logic to detect deregister function
4383 to ...
4384 (__gcc_register_frame): here, so it's consistent with the register
4385 logic.
fabf71ba 4386
d10ee722
NS
43872014-07-23 Nathan Sidwell <nathan@acm.org>
4388
4389 * libgcov-driver.c (set_gcov_list): Remove.
4390 (gcov_list): Make non-static in GCOV_TOOL.
4391 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
4392
a4137090
JDA
43932014-07-17 John David Anglin <danglin@gcc.gnu.org>
4394
4395 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
4396 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
4397 Don't use SYNC_LOCK_RELEASE for int type.
4398
72602c6c
RB
43992014-07-14 Richard Biener <rguenther@suse.de>
4400
4401 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
4402
d5313205
RX
44032014-07-11 Rong Xu <xur@google.com>
4404
4405 * libgcov-util.c (gcov_max_filename): Fix declartion.
4406
c77556a5
RX
44072014-07-10 Rong Xu <xur@google.com>
4408
4409 Add gcov-tool: an offline gcda profile processing tool
4410 Support.
4411 * libgcov-driver.c (gcov_max_filename): Make available
4412 to gcov-tool.
4413 * libgcov-merge.c (__gcov_merge_add): Replace
4414 gcov_read_counter() with a Macro.
4415 (__gcov_merge_ior): Ditto.
4416 (__gcov_merge_time_profile): Ditto.
4417 (__gcov_merge_single): Ditto.
4418 (__gcov_merge_delta): Ditto.
4419 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
4420 in the utility functions.
4421 (set_fn_ctrs): Utility function for reading gcda files to in-memory
4422 gcov_list object link lists.
4423 (tag_function): Ditto.
4424 (tag_blocks): Ditto.
4425 (tag_arcs): Ditto.
4426 (tag_lines): Ditto.
4427 (tag_counters): Ditto.
4428 (tag_summary): Ditto.
4429 (read_gcda_finalize): Ditto.
4430 (read_gcda_file): Ditto.
4431 (ftw_read_file): Ditto.
4432 (read_profile_dir_init): Ditto.
4433 (gcov_read_profile_dir): Ditto.
4434 (gcov_read_counter_mem): Ditto.
4435 (gcov_get_merge_weight): Ditto.
4436 (merge_wrapper): A wrapper function that calls merging handler.
4437 (gcov_merge): Merge two gcov_info objects with weights.
4438 (find_match_gcov_info): Find the matched gcov_info in the list.
4439 (gcov_profile_merge): Merge two gcov_info object lists.
4440 (__gcov_add_counter_op): Process edge profile counter values.
4441 (__gcov_ior_counter_op): Process IOR profile counter values.
4442 (__gcov_delta_counter_op): Process delta profile counter values.
4443 (__gcov_single_counter_op): Process single profile counter values.
4444 (fp_scale): Callback function for float-point scaling.
cc86234f 4445 (int_scale): Callback function for integer fraction scaling.
c77556a5
RX
4446 (gcov_profile_scale): Scaling profile counters.
4447 (gcov_profile_normalize): Normalize profile counters.
4448 * libgcov.h: Add headers and functions for gcov-tool use.
4449 (gcov_get_counter): New.
4450 (gcov_get_counter_target): Ditto.
4451 (struct gcov_info): Make the functions field mutable in gcov-tool
4452 compilation.
4453
5c7dac8a
KT
44542014-06-23 Kai Tietz <ktietz@redhat.com>
4455
4456 PR libgcc/61585
4457 * unwind-seh.c (_Unwind_GetGR): Check for proper
4458 index range.
4459 (_Unwind_SetGR): Likewise.
4460
161c9312
NC
44612014-05-22 Nick Clifton <nickc@redhat.com>
4462
4463 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
4464 -mhwmult=none.
4465
e3f0315f
TJ
44662014-05-22 Teresa Johnson <tejohnson@google.com>
4467
4468 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
4469 include.
4470
dbed5a9b
JM
44712014-05-20 John Marino <gnugcc@marino.st>
4472
4473 * config.host (*-*-dragonfly*): New target.
4474 * crtstuff.c: Make dl_iterate_support generic on *bsd.
4475 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
4476 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
4477 * config/i386/dragonfly-unwind.h: New.
4478
1ec380e5
MR
44792014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
4480
4481 PR libgcc/60166
4482 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
4483 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
4484
54fde020
BE
44852014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
4486
4487 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
4488 implementation.
4489
999db125
GJL
44902014-05-12 Georg-Johann Lay <avr@gjlay.de>
4491
4492 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
4493
cceaf54a
RO
44942014-05-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4495
4496 PR libgcc/61097
4497 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
4498 if --enable-shared.
4499
e3fe9b5b
BE
45002014-04-30 Bernd Edlinger <bernd.edlinger@hotmail.de>
4501
4502 Work around for current cygwin32 build problems.
4503 * config/i386/cygming-crtbegin.c (__register_frame_info,
4504 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
4505 functions only for 64-bit systems.
4506
54cf37e9
RO
45072014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4508
4509 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
4510 (sigill_caught, sigill_hdlr): Remove.
4511
d9f069ab
RO
45122014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4513
4514 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
4515 check.
4516 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
4517 Solaris 9 single-threaded support.
4518 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
4519 Solaris 9 single-threaded support. Add call_user_handler code
4520 sequences.
4521 (sparc_is_sighandler): Likewise.
4522
59976ef8
AK
45232014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4524
4525 * config.host: Append t-floattodi to tmake_file depending on
4526 host_address.
4527
d02bbcf3
JS
45282014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
4529
31466bc0 4530 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
d02bbcf3 4531
c2e7e597
UB
45322014-03-10 Uros Bizjak <ubizjak@gmail.com>
4533
4534 PR libgcc/60472
4535 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
2405e0ea 4536 variable to avoid "array subscript is above array bounds" warnings.
c2e7e597
UB
4537 Use __builtin_expect when checking *jcr_list for NULL.
4538
227a7dc8
RO
45392014-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4540
4541 PR libgcc/59339
4542 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
4543 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
4544 vtv_*.o to extra_parts if enable_vtable_verify.
4545
df2b279c
NC
45462014-03-06 Nick Clifton <nickc@redhat.com>
4547
4548 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
4549 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
4550
dc11d79b
JY
45512014-02-28 Joey Ye <joey.ye@arm.com>
4552
4553 PR libgcc/60166
4554 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
4555 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
4556 Set to zero.
4557
341c653c
WL
45582014-02-24 Walter Lee <walt@tilera.com>
4559
4560 * config.host: Support "tilegx*" and "tilepro*" triplets.
4561 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
4562 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
4563
95ce7613
CLT
45642014-02-20 Sandra Loosemore <sandra@codesourcery.com>
4565 Chung-Lin Tang <cltang@codesourcery.com>
4566
4567 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
4568 * config/nios2/crti.S: Remove .file directive.
4569 * config/nios2/crtn.S: Likewise.
4570
0bb4fc05
KT
45712014-02-18 Kai Tietz <ktietz@redhat.com>
4572 Jonathan Schleifer <js@webkeks.org>
4573
4574 PR objc/56870
4575 * unwind-seh.c (_GCC_specific_handler): Pass proper
4576 value to unwind-handler.
4577
9acf28f1
JM
45782014-02-12 Joseph Myers <joseph@codesourcery.com>
4579
4580 * soft-fp/adddf3.c: Update from glibc.
4581 * soft-fp/addsf3.c: Likewise.
4582 * soft-fp/addtf3.c: Likewise.
4583 * soft-fp/divdf3.c: Likewise.
4584 * soft-fp/divsf3.c: Likewise.
4585 * soft-fp/divtf3.c: Likewise.
4586 * soft-fp/double.h: Likewise.
4587 * soft-fp/eqdf2.c: Likewise.
4588 * soft-fp/eqsf2.c: Likewise.
4589 * soft-fp/eqtf2.c: Likewise.
4590 * soft-fp/extenddftf2.c: Likewise.
4591 * soft-fp/extended.h: Likewise.
4592 * soft-fp/extendsfdf2.c: Likewise.
4593 * soft-fp/extendsftf2.c: Likewise.
4594 * soft-fp/extendxftf2.c: Likewise.
4595 * soft-fp/fixdfdi.c: Likewise.
4596 * soft-fp/fixdfsi.c: Likewise.
4597 * soft-fp/fixdfti.c: Likewise.
4598 * soft-fp/fixsfdi.c: Likewise.
4599 * soft-fp/fixsfsi.c: Likewise.
4600 * soft-fp/fixsfti.c: Likewise.
4601 * soft-fp/fixtfdi.c: Likewise.
4602 * soft-fp/fixtfsi.c: Likewise.
4603 * soft-fp/fixtfti.c: Likewise.
4604 * soft-fp/fixunsdfdi.c: Likewise.
4605 * soft-fp/fixunsdfsi.c: Likewise.
4606 * soft-fp/fixunsdfti.c: Likewise.
4607 * soft-fp/fixunssfdi.c: Likewise.
4608 * soft-fp/fixunssfsi.c: Likewise.
4609 * soft-fp/fixunssfti.c: Likewise.
4610 * soft-fp/fixunstfdi.c: Likewise.
4611 * soft-fp/fixunstfsi.c: Likewise.
4612 * soft-fp/fixunstfti.c: Likewise.
4613 * soft-fp/floatdidf.c: Likewise.
4614 * soft-fp/floatdisf.c: Likewise.
4615 * soft-fp/floatditf.c: Likewise.
4616 * soft-fp/floatsidf.c: Likewise.
4617 * soft-fp/floatsisf.c: Likewise.
4618 * soft-fp/floatsitf.c: Likewise.
4619 * soft-fp/floattidf.c: Likewise.
4620 * soft-fp/floattisf.c: Likewise.
4621 * soft-fp/floattitf.c: Likewise.
4622 * soft-fp/floatundidf.c: Likewise.
4623 * soft-fp/floatundisf.c: Likewise.
4624 * soft-fp/floatunditf.c: Likewise.
4625 * soft-fp/floatunsidf.c: Likewise.
4626 * soft-fp/floatunsisf.c: Likewise.
4627 * soft-fp/floatunsitf.c: Likewise.
4628 * soft-fp/floatuntidf.c: Likewise.
4629 * soft-fp/floatuntisf.c: Likewise.
4630 * soft-fp/floatuntitf.c: Likewise.
4631 * soft-fp/gedf2.c: Likewise.
4632 * soft-fp/gesf2.c: Likewise.
4633 * soft-fp/getf2.c: Likewise.
4634 * soft-fp/ledf2.c: Likewise.
4635 * soft-fp/lesf2.c: Likewise.
4636 * soft-fp/letf2.c: Likewise.
4637 * soft-fp/muldf3.c: Likewise.
4638 * soft-fp/mulsf3.c: Likewise.
4639 * soft-fp/multf3.c: Likewise.
4640 * soft-fp/negdf2.c: Likewise.
4641 * soft-fp/negsf2.c: Likewise.
4642 * soft-fp/negtf2.c: Likewise.
4643 * soft-fp/op-1.h: Likewise.
4644 * soft-fp/op-2.h: Likewise.
4645 * soft-fp/op-4.h: Likewise.
4646 * soft-fp/op-8.h: Likewise.
4647 * soft-fp/op-common.h: Likewise.
4648 * soft-fp/quad.h: Likewise.
4649 * soft-fp/single.h: Likewise.
4650 * soft-fp/soft-fp.h: Likewise.
4651 * soft-fp/subdf3.c: Likewise.
4652 * soft-fp/subsf3.c: Likewise.
4653 * soft-fp/subtf3.c: Likewise.
4654 * soft-fp/truncdfsf2.c: Likewise.
4655 * soft-fp/trunctfdf2.c: Likewise.
4656 * soft-fp/trunctfsf2.c: Likewise.
4657 * soft-fp/trunctfxf2.c: Likewise.
4658 * soft-fp/unorddf2.c: Likewise.
4659 * soft-fp/unordsf2.c: Likewise.
4660 * soft-fp/unordtf2.c: Likewise.
4661 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
4662 macro.
4663 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4664 Likewise.
4665 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4666 Likewise.
4667 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4668 Likewise.
4669 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4670 Likewise.
4671 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4672 Likewise.
4673 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4674 Likewise.
4675 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4676 Likewise.
4677 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4678 Likewise.
4679 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4680 Likewise.
4681 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4682 Likewise.
4683 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4684 Likewise.
4685 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4686 Likewise.
4687 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
4688 Likewise.
4689 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
4690 Likewise.
4691 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4692 Likewise.
4693
ce245ec6
AK
46942014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4695
4696 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
4697 cannot be represented.
4698 * config/s390/32/_fixsfdi.c: Likewise.
4699 * config/s390/32/_fixtfdi.c: Likewise.
4700 * config/s390/32/_fixunsdfdi.c: Likewise.
4701 * config/s390/32/_fixunssfdi.c: Likewise.
4702 * config/s390/32/_fixunstfdi.c: Likewise.
4703
1c51d688
RS
47042014-02-07 Richard Sandiford <rdsandiford@googlemail.com>
4705
4706 * configure.ac (libgcc_cv_mips_hard_float): New.
4707 * configure: Regenerate.
4708 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
4709 t-softfp-sfdf for hard-float targets.
4710 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
4711 (softfp_float_modes, softfp_int_modes, softfp_extensions)
4712 (softfp_truncations, softfp_exclude_libgcc2): New.
4713 * config/t-hardfp: New file.
4714 * config/t-hardfp-sfdf: Likewise.
4715 * config/hardfp.c: Likewise.
4716
bbf391db
AK
47172014-02-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4718
4719 * config.host: Include t-floattodi also for s390x.
4720 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
4721 * config/s390/32/_fixsfdi.c: Likewise.
4722 * config/s390/32/_fixtfdi.c: Likewise.
4723 * config/s390/32/_fixunsdfdi.c: Likewise.
4724 * config/s390/32/_fixunssfdi.c: Likewise.
4725 * config/s390/32/_fixunstfdi.c: Likewise.
4726
91da0481
RO
47272014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4728
4729 PR target/59788
4730 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
4731 (install-libgcc-unwind-map-forbuild): New target.
4732 (all): Depend on install-libgcc-unwind-map-forbuild.
4733 (install-libgcc-unwind-map): New target.
4734 (install): Depend on install-libgcc-unwind-map.
4735
02b67731
SL
47362014-02-02 Sandra Loosemore <sandra@codesourcery.com>
4737
4738 * config/nios2/crti.S (_init): Initialize GOT pointer from
4739 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
4740
1ea0a651
RS
47412014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
4742
4743 * configure.ac: Check __mips64 when setting host_address.
4744 * configure: Regenerate.
4745 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
4746 mips/t-mips64 and t-softfp.
4747 (mips*-*-linux*): Don't add mips/t-tpbit.
4748 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
4749 (DPBIT, DPBIT_CFLAGS): Delete.
4750 * config/mips/sfp-machine.h: New file.
4751 * config/mips/t-mips64: Likewise.
4752 * config/mips/t-softfp-tf: Likewise.
4753 * config/mips/t-tpbit: Delete.
4754
f32b0061
MS
47552014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
4756
4757 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
4758 as long long.
4759
a5420aa4
WL
47602014-01-25 Walter Lee <walt@tilera.com>
4761
4762 * config/tilepro/atomic.c: Include tconfig.h. Don't include
4763 config.h or system.h.
4764 (bool) Define.
4765
24534912
WL
47662014-01-25 Walter Lee <walt@tilera.com>
4767
4768 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
4769 (post_atomic_barrier): Ditto.
4770 (__fetch_and_do): New macro.
4771 (__atomic_fetch_and_do): Use __fetch_and_do.
4772 (__sync_fetch_and_do): New macro.
4773 (__sync_fetch_and_add_4): New function.
4774 (__sync_fetch_and_sub_4): New function.
4775 (__sync_fetch_and_or_4): New function.
4776 (__sync_fetch_and_and_4): New function.
4777 (__sync_fetch_and_xor_4): New function.
4778 (__sync_fetch_and_nand_4): New function.
4779 (__sync_fetch_and_add_8): New function.
4780 (__sync_fetch_and_sub_8): New function.
4781 (__sync_fetch_and_or_8): New function.
4782 (__sync_fetch_and_and_8): New function.
4783 (__sync_fetch_and_xor_8): New function.
4784 (__sync_fetch_and_nand_8): New function.
4785 (__do_and_fetch): New macro.
4786 (__atomic_do_and_fetch): Use __do_and_fetch.
4787 (__sync_do_and_fetch): New macro.
4788 (__sync_add_and_fetch_4): New function.
4789 (__sync_sub_and_fetch_4): New function.
4790 (__sync_or_and_fetch_4): New function.
4791 (__sync_and_and_fetch_4): New function.
4792 (__sync_xor_and_fetch_4): New function.
4793 (__sync_nand_and_fetch_4): New function.
4794 (__sync_add_and_fetch_8): New function.
4795 (__sync_sub_and_fetch_8): New function.
4796 (__sync_or_and_fetch_8): New function.
4797 (__sync_and_and_fetch_8): New function.
4798 (__sync_xor_and_fetch_8): New function.
4799 (__sync_nand_and_fetch_8): New function.
4800 (__sync_exchange_methods): New macro.
4801 (__sync_val_compare_and_swap_4): New function.
4802 (__sync_bool_compare_and_swap_4): New function.
4803 (__sync_lock_test_and_test_4): New function.
4804 (__sync_val_compare_and_swap_8): New function.
4805 (__sync_bool_compare_and_swap_8): New function.
4806 (__sync_lock_test_and_test_8): New function.
4807 (__subword_cmpxchg_body): New macro.
4808 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
4809 (__atomic_compare_exchange_2): Ditto.
4810 (__sync_subword_cmpxchg): New macro.
4811 (__sync_val_compare_and_swap_1): New function.
4812 (__sync_bool_compare_and_swap_1): New function.
4813 (__sync_val_compare_and_swap_2): New function.
4814 (__sync_bool_compare_and_swap_2): New function.
4815 (__atomic_subword): Rename to ...
4816 (__subword): ... New name.
4817 (__atomic_subword_fetch): Use __subword.
4818 (__sync_subword_fetch): New macro.
4819 (__sync_fetch_and_add_1): New function.
4820 (__sync_fetch_and_sub_1): New function.
4821 (__sync_fetch_and_or_1): New function.
4822 (__sync_fetch_and_and_1): New function.
4823 (__sync_fetch_and_xor_1): New function.
4824 (__sync_fetch_and_nand_1): New function.
4825 (__sync_fetch_and_add_2): New function.
4826 (__sync_fetch_and_sub_2): New function.
4827 (__sync_fetch_and_or_2): New function.
4828 (__sync_fetch_and_and_2): New function.
4829 (__sync_fetch_and_xor_2): New function.
4830 (__sync_fetch_and_nand_2): New function.
4831 (__sync_add_and_fetch_1): New function.
4832 (__sync_sub_and_fetch_1): New function.
4833 (__sync_or_and_fetch_1): New function.
4834 (__sync_and_and_fetch_1): New function.
4835 (__sync_xor_and_fetch_1): New function.
4836 (__sync_nand_and_fetch_1): New function.
4837 (__sync_add_and_fetch_2): New function.
4838 (__sync_sub_and_fetch_2): New function.
4839 (__sync_or_and_fetch_2): New function.
4840 (__sync_and_and_fetch_2): New function.
4841 (__sync_xor_and_fetch_2): New function.
4842 (__sync_nand_and_fetch_2): New function.
4843 (__atomic_subword_lock): Use __subword.
4844 (__sync_subword_lock): New macro.
4845 (__sync_lock_test_and_set_1): New function.
4846 (__sync_lock_test_and_set_2): New function.
4847
4d6d3bc5
WL
48482014-01-25 Walter Lee <walt@tilera.com>
4849
4850 * config/tilepro/atomic.c (BIT_OFFSET): Define.
4851 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
4852 (__atomic_subword): Ditto.
4853
cbd9890e
WL
48542014-01-25 Walter Lee <walt@tilera.com>
4855
4856 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
4857 a prefix op argument.
4858 (__atomic_nand_fetch_4): Add prefix op.
4859 (__atomic_nand_fetch_8): Ditto.
4860
7d296953 48612014-01-21 Baruch Siach <barch@tkos.co.il>
800d8bd5
BS
4862
4863 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
4864
46dd1242
L
48652014-01-09 Rong Xu <xur@google.com>
4866
4867 * libgcov-driver.c (this_prg): make it local to save
4868 bss space.
4869 (gcov_exit_compute_summary): Ditto.
4870 (gcov_exit_merge_gcda): Ditto.
4871 (gcov_exit_merge_summary): Ditto.
4872 (gcov_exit_dump_gcov): Ditto.
4873
cc86234f 48742014-01-08 Rong Xu <xur@google.com>
40d6b753
RX
4875
4876 * libgcov-driver.c: Use libgcov.h.
4877 (buffer_fn_data): Use xmalloc instead of malloc.
4878 (gcov_exit_merge_gcda): Ditto.
4879 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
4880 * libgcov.h: New common header files for libgcov-*.h.
4881 * libgcov-interface.c: Use libgcov.h
4882 * libgcov-merge.c: Ditto.
4883 * libgcov-profiler.c: Ditto.
4884 * Makefile.in: Add dependence to libgcov.h
4885
a02e7bdd
JM
48862014-01-02 Joseph Myers <joseph@codesourcery.com>
4887
4888 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
4889 case of small numerator and finite nonzero result.
4890
ac1dca3c
RS
48912014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
4892
4893 Update copyright years
4894
f9030485
RS
48952014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
4896
4897 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
4898 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
4899 config/arc/dp-hack.h, config/arc/fp-hack.h,
4900 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
4901 config/arc/ieee-754/arc600-dsp/divdf3.S,
4902 config/arc/ieee-754/arc600-dsp/divsf3.S,
4903 config/arc/ieee-754/arc600-dsp/muldf3.S,
4904 config/arc/ieee-754/arc600-dsp/mulsf3.S,
4905 config/arc/ieee-754/arc600-mul64/divdf3.S,
4906 config/arc/ieee-754/arc600-mul64/divsf3.S,
4907 config/arc/ieee-754/arc600-mul64/muldf3.S,
4908 config/arc/ieee-754/arc600-mul64/mulsf3.S,
4909 config/arc/ieee-754/arc600/divsf3.S,
4910 config/arc/ieee-754/arc600/mulsf3.S,
4911 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
4912 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
4913 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
4914 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
4915 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
4916 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
4917 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
4918 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
4919 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
4920 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
4921 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
4922 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
4923 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
4924 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
4925 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
4926 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
4927 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
4928 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
4929 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
4930 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
4931 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
4932 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
4933 vtv_start_preinit.c: Use the standard form for the copyright notice.
4934
e430824f
CLT
49352013-12-31 Sandra Loosemore <sandra@codesourcery.com>
4936 Chung-Lin Tang <cltang@codesourcery.com>
4937 Based on patches from Altera Corporation
4938
4939 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
4940 * config/nios2/lib2-nios2.h: New file.
4941 * config/nios2/lib2-divmod-hi.c: New file.
4942 * config/nios2/linux-unwind.h: New file.
4943 * config/nios2/lib2-divmod.c: New file.
4944 * config/nios2/linux-atomic.c: New file.
4945 * config/nios2/t-nios2: New file.
4946 * config/nios2/crti.asm: New file.
4947 * config/nios2/t-linux: New file.
4948 * config/nios2/lib2-divtable.c: New file.
4949 * config/nios2/lib2-mul.c: New file.
4950 * config/nios2/tramp.c: New file.
4951 * config/nios2/crtn.asm: New file.
4952
1879e97f
UB
49532013-12-26 Uros Bizjak <ubizjak@gmail.com>
4954
4955 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
4956 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
4957 from cpuid.h to check vendor signatures.
4958
f4a4bdbb
GG
49592013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
4960
c2e7e597 4961 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
f4a4bdbb
GG
4962 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
4963 (get_amd_cpu): Likewise.
4964
8d2ae544
L
49652013-12-25 H.J. Lu <hongjiu.lu@intel.com>
4966
4967 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
4968 Haswell.
4969
74924838
ASJ
49702013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
4971 H.J. Lu <hongjiu.lu@intel.com>
4972
0bb52f25
L
4973 PR target/59422
4974 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
74924838
ASJ
4975 and AMD_JAGUAR.
4976 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
4977 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
4978 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
4979 FEATURE_XOP and FEATURE_FMA.
4980 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
4981 AMDFAM15H_BDVER3.
4982 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
0bb52f25 4983 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
74924838
ASJ
4984 FEATURE_FMA4 and FEATURE_XOP.
4985
d3c11974
L
49862013-12-23 H.J. Lu <hongjiu.lu@intel.com>
4987
4988 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
4989 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
4990 (get_intel_cpu): Updated.
4991
064c4ff2
ZC
49922013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
4993
4994 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
4995
8b02e720
UB
49962013-12-09 Uros Bizjak <ubizjak@gmail.com>
4997
4998 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
1f71a3c3 4999 instructions when __SSE_MATH__ is defined.
8b02e720 5000
3fa2ccb4
RC
50012013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
5002
5003 * config.host (microblaze-*-rtems*): New.
5004
ecd78fc9
KV
50052013-12-04 Kugan Vivekanandarajah <kuganv@linaro.org>
5006
5007 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
5008 architectures that do not have hardware divide instruction.
5009 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
5010
b21fbbd2
RS
50112013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
5012
5013 * longlong.h: Delete (moved to include/).
5014
b03fb8c9
AZ
50152013-12-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5016
5017 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
5018 of normal number and qNaN to not raise an inexact exception.
5019
3c716922
UB
50202013-11-28 Uros Bizjak <ubizjak@gmail.com>
5021
5022 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
5023
50242013-11-28 Matthew Leach <matthew.leach@arm.com>
cceeb9a9
ML
5025
5026 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
5027 for correct opcodes on BE.
5028
a3458d22
UB
50292013-11-27 Uros Bizjak <ubizjak@gmail.com>
5030
5031 * soft-fp/op-4.h: Update from glibc.
5032
30b8f78b
KV
50332013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
5034
5035 * libgcc2.c (__udivmoddi4): Define new implementation when
5036 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
5037 divide instructions.
5038
82552a29
OE
50392013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
5040
5041 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
5042
80e87457
RO
50432013-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5044
5045 * config/t-softfp (soft-fp-objects-base): New variable.
5046 (soft-fp-objects): Use it.
5047
44178879
DE
50482013-11-23 David Edelson <dje.gcc@gmail.com>
5049 Andrew Dixie <andrewd@gentrack.com>
5050
5051 PR target/33704
5052 * config/rs6000/aixinitfini.c: New file.
5053 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
5054 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
5055 symbols.
5056
e5287671
YR
50572013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
5058
a3458d22 5059 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
e5287671 5060
867c8b03
JH
50612013-11-18 Jan Hubicka <jh@suse.cz>
5062
7f369373
JH
5063 * libgcov-driver.c (run_accounted): Make global level static.
5064 (gcov_exit_merge_summary): Silence warning; do not clear
5065 run_accounted here.
5066 (gcov_exit): Clear it here.
5067
1d0b3334
JH
5068 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
5069 run_accounted.
5070
867c8b03
JH
5071 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
5072 (all_prg, crc32): Remove static vars.
5073 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
5074 all_prg.
5075 (gcov_exit_merge_gcda): Add crc32 parameter.
5076 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
5077 do not account run if it was already accounted.
5078 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
5079 (gcov_exit): Initialize all_prg; update.
5080
66204992
AS
50812013-11-15 Andreas Schwab <schwab@linux-m68k.org>
5082
5083 * configure: Regenerate.
5084
b54214fe
UW
50852013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5086 Alan Modra <amodra@gmail.com>
5087
5088 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
5089 (frob_update_context): Use it.
5090
50912013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5092 Alan Modra <amodra@gmail.com>
5093
5094 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
5095 (trampoline_initial): Provide ELFv2 variant.
5096 (__trampoline_setup): Likewise.
5097
5098 * config/rs6000/linux-unwind.h (frob_update_context): Do not
5099 check for AIX indirect function call sequence if _CALL_ELF == 2.
5100
51012013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5102 Alan Modra <amodra@gmail.com>
5103
5104 * config/rs6000/linux-unwind.h (get_regs): Do not support
5105 old kernel versions if _CALL_ELF == 2.
5106 (frob_update_context): Do not support PLT stub variants only
5107 generated by old linkers if _CALL_ELF == 2.
5108
13e0981a
UW
51092013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5110 Alan Modra <amodra@gmail.com>
5111
5112 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
5113 location of CR save area for 64-bit little-endian systems.
5114
1a80085d
EB
51152013-11-11 Eric Botcazou <ebotcazou@adacore.com>
5116
5117 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
5118 in tmake_file.
5119 * config/arm/t-vxworks: Delete.
5120
cabeea52
KT
51212013-11-10 Kai Tietz <ktietz@redhat.com>
5122
5123 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
5124 Increment load-count on use of LIBGCC_SONAME DLL.
5125 (hmod_libgcc): New static variable to hold handle of
5126 LIBGCC_SONAME DLL.
5127 (__gcc_deregister_frame): Decrement load-count of
5128 LIBGCC_SONAME DLL.
5129
ac088ba1
BRF
51302013-11-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
5131
5132 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
5133 availability.
5134 * configure: Regenerate
5135
d59a8fcc
UB
51362013-11-07 Uros Bizjak <ubizjak@gmail.com>
5137
5138 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
5139 FP_EX_DENORM. Store result to volatile location after SSE division
5140 to close interrupt window. Remove unneeded fwait after x87
5141 division since interrupt window will be closed by emitted fstp.
9de84e84 5142 Rewrite FP_EX_INEXACT handling.
d59a8fcc 5143
9954c743
JM
51442013-11-06 Joseph Myers <joseph@codesourcery.com>
5145
5146 * soft-fp/README: Update.
5147 * soft-fp/adddf3.c: Update from glibc.
5148 * soft-fp/addsf3.c: Likewise.
5149 * soft-fp/addtf3.c: Likewise.
5150 * soft-fp/divdf3.c: Likewise.
5151 * soft-fp/divsf3.c: Likewise.
5152 * soft-fp/divtf3.c: Likewise.
5153 * soft-fp/double.h: Likewise.
5154 * soft-fp/eqdf2.c: Likewise.
5155 * soft-fp/eqsf2.c: Likewise.
5156 * soft-fp/eqtf2.c: Likewise.
5157 * soft-fp/extenddftf2.c: Likewise.
5158 * soft-fp/extended.h: Likewise.
5159 * soft-fp/extendsfdf2.c: Likewise.
5160 * soft-fp/extendsftf2.c: Likewise.
5161 * soft-fp/extendxftf2.c: Likewise.
5162 * soft-fp/fixdfdi.c: Likewise.
5163 * soft-fp/fixdfsi.c: Likewise.
5164 * soft-fp/fixdfti.c: Likewise.
5165 * soft-fp/fixsfdi.c: Likewise.
5166 * soft-fp/fixsfsi.c: Likewise.
5167 * soft-fp/fixsfti.c: Likewise.
5168 * soft-fp/fixtfdi.c: Likewise.
5169 * soft-fp/fixtfsi.c: Likewise.
5170 * soft-fp/fixtfti.c: Likewise.
5171 * soft-fp/fixunsdfdi.c: Likewise.
5172 * soft-fp/fixunsdfsi.c: Likewise.
5173 * soft-fp/fixunsdfti.c: Likewise.
5174 * soft-fp/fixunssfdi.c: Likewise.
5175 * soft-fp/fixunssfsi.c: Likewise.
5176 * soft-fp/fixunssfti.c: Likewise.
5177 * soft-fp/fixunstfdi.c: Likewise.
5178 * soft-fp/fixunstfsi.c: Likewise.
5179 * soft-fp/fixunstfti.c: Likewise.
5180 * soft-fp/floatdidf.c: Likewise.
5181 * soft-fp/floatdisf.c: Likewise.
5182 * soft-fp/floatditf.c: Likewise.
5183 * soft-fp/floatsidf.c: Likewise.
5184 * soft-fp/floatsisf.c: Likewise.
5185 * soft-fp/floatsitf.c: Likewise.
5186 * soft-fp/floattidf.c: Likewise.
5187 * soft-fp/floattisf.c: Likewise.
5188 * soft-fp/floattitf.c: Likewise.
5189 * soft-fp/floatundidf.c: Likewise.
5190 * soft-fp/floatundisf.c: Likewise.
5191 * soft-fp/floatunditf.c: Likewise.
5192 * soft-fp/floatunsidf.c: Likewise.
5193 * soft-fp/floatunsisf.c: Likewise.
5194 * soft-fp/floatunsitf.c: Likewise.
5195 * soft-fp/floatuntidf.c: Likewise.
5196 * soft-fp/floatuntisf.c: Likewise.
5197 * soft-fp/floatuntitf.c: Likewise.
5198 * soft-fp/gedf2.c: Likewise.
5199 * soft-fp/gesf2.c: Likewise.
5200 * soft-fp/getf2.c: Likewise.
5201 * soft-fp/ledf2.c: Likewise.
5202 * soft-fp/lesf2.c: Likewise.
5203 * soft-fp/letf2.c: Likewise.
5204 * soft-fp/muldf3.c: Likewise.
5205 * soft-fp/mulsf3.c: Likewise.
5206 * soft-fp/multf3.c: Likewise.
5207 * soft-fp/negdf2.c: Likewise.
5208 * soft-fp/negsf2.c: Likewise.
5209 * soft-fp/negtf2.c: Likewise.
5210 * soft-fp/op-1.h: Likewise.
5211 * soft-fp/op-2.h: Likewise.
5212 * soft-fp/op-4.h: Likewise.
5213 * soft-fp/op-8.h: Likewise.
5214 * soft-fp/op-common.h: Likewise.
5215 * soft-fp/quad.h: Likewise.
5216 * soft-fp/single.h: Likewise.
5217 * soft-fp/soft-fp.h: Likewise.
5218 * soft-fp/subdf3.c: Likewise.
5219 * soft-fp/subsf3.c: Likewise.
5220 * soft-fp/subtf3.c: Likewise.
5221 * soft-fp/truncdfsf2.c: Likewise.
5222 * soft-fp/trunctfdf2.c: Likewise.
5223 * soft-fp/trunctfsf2.c: Likewise.
5224 * soft-fp/trunctfxf2.c: Likewise.
5225 * soft-fp/unorddf2.c: Likewise.
5226 * soft-fp/unordsf2.c: Likewise.
5227 * soft-fp/unordtf2.c: Likewise.
5228
02ac9503
UB
52292013-11-05 Uros Bizjak <ubizjak@gmail.com>
5230
5231 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
5232 (_FP_MUL_MEAT_D): Ditto.
5233 (_FP_DIV_MEAT_S): Ditto.
5234 (_FP_DIV_MEAT_D): Ditto.
5235 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
5236 t-softfp-sfdf and t-softfp to tmake_file.
5237
61221141
UB
52382013-11-03 Uros Bizjak <ubizjak@gmail.com>
5239
5240 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
5241 * config/i386/crtprec.c: Ditto.
5242
9304f876
CJW
52432013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
5244 Shiva Chen <shiva0217@gmail.com>
5245
5246 * config.host (nds32*-elf*): Add nds32 target.
5247 * config/nds32 : New directory and files.
5248
0e499e75
HPN
52492013-10-16 Hans-Peter Nilsson <hp@axis.com>
5250
5251 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
5252 * config.host (cpu_type) <Setting default>: Add entry for
5253 crisv32-*-*.
5254 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
5255 <crisv32-*-linux*>: Adjust.
5256 * longlong.h: Wrap the whole CRIS section in a single
5257 defined(__CRIS__) conditional. Add comment about add_ssaaaa
5258 and sub_ddmmss.
5259 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
5260 defined.
5261 [__CRIS__] (__umulsidi3): Define.
5262 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
5263 * config/cris/sfp-machine.h: New file.
5264 * config/cris/umulsidi3.S: New file.
5265 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
5266 * config/cris/arit.c (SIGNMULT): New macro.
5267 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
5268 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
5269 saving 3 out of originally 33 cycles from the fastest
5270 path, 3 out of 54 from the medium path and one from the longest
5271 path. Improve comments.
5272
16022041
RS
52732013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
5274
5275 * sync.c: Remove static aliases and define each function directly
5276 under its real name.
5277
69778659
JDA
52782013-10-02 John David Anglin <danglin@gcc.gnu.org>
5279
5280 * config.host (hppa*64*-*-linux*): Define extra_parts.
5281 (hppa*-*-linux*): Likewise.
5282
2deaf8b0
JR
52832013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
5284
5285 * config/arc/crtgend.S: Add 2013 to Copyright years.
5286 * config/arc/gmon/atomic.h: Likewise.
5287 * config/arc/gmon/auxreg.h: Likewise.
5288 * config/arc/gmon/sys/gmon_out.h: Likewise.
5289 * config/arc/gmon/sys/gmon.h: Likewise.
5290 * config/arc/gmon/prof-freq.c: Likewise.
5291 * config/arc/gmon/mcount.c: Likewise.
5292 * config/arc/gmon/prof-freq-stub.S: Likewise.
5293 * config/arc/gmon/gmon.c: Likewise.
5294 * config/arc/gmon/machine-gmon.h: Likewise.
5295 * config/arc/gmon/profil.S: Likewise.
5296 * config/arc/gmon/dcache_linesz.S: Likewise.
5297 * config/arc/crtg.S: Likewise.
5298 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
5299 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
5300 * config/arc/ieee-754/adddf3.S: Likewise.
5301 * config/arc/ieee-754/truncdfsf2.S: Likewise.
5302 * config/arc/ieee-754/fixsfsi.S: Likewise.
5303 * config/arc/ieee-754/gtsf2.S: Likewise.
5304 * config/arc/ieee-754/floatsisf.S: Likewise.
5305 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
5306 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
5307 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
5308 * config/arc/ieee-754/fixdfsi.S: Likewise.
5309 * config/arc/ieee-754/addsf3.S: Likewise.
5310 * config/arc/ieee-754/gesf2.S: Likewise.
5311 * config/arc/ieee-754/floatsidf.S: Likewise.
5312 * config/arc/ieee-754/extendsfdf2.S: Likewise.
5313 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
5314 * config/arc/ieee-754/gtdf2.S: Likewise.
5315 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
5316 * config/arc/ieee-754/uneqdf2.S: Likewise.
5317 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
5318 * config/arc/ieee-754/uneqsf2.S: Likewise.
5319 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
5320 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
5321 * config/arc/ieee-754/eqdf2.S: Likewise.
5322 * config/arc/ieee-754/ordsf2.S: Likewise.
5323 * config/arc/ieee-754/divsf3.S: Likewise.
5324 * config/arc/ieee-754/divdf3.S: Likewise.
5325 * config/arc/ieee-754/floatunsidf.S: Likewise.
5326 * config/arc/ieee-754/orddf2.S: Likewise.
5327 * config/arc/ieee-754/eqsf2.S: Likewise.
5328 * config/arc/ieee-754/gedf2.S: Likewise.
5329 * config/arc/crtn.S: Likewise.
5330 * config/arc/crti.S: Likewise.
5331 * config/arc/t-arc700-uClibc: Likewise.
5332 * config/arc/asm.h: Likewise.
5333 * config/arc/libgcc-excl.ver: Likewise.
5334 * config/arc/t-arc-newlib: Likewise.
5335 * config/arc/divtab-arc700.c: Likewise.
5336 * config/arc/initfini.c: Likewise.
5337 * config/arc/fp-hack.h: Likewise.
5338
c8e318b0
JR
53392013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
5340 Diego Novillo <dnovillo@google.com>
5341
5342 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
a07c5b47
JR
5343 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
5344 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
5345 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
c8e318b0 5346
d38a64b4
JR
53472013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
5348 Brendan Kehoe <brendan@zen.org>
5349 Simon Cook <simon.cook@embecosm.com>
5350
5351 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
5352 * config/arc: New directory.
5353 * longlong.h [__arc__] (umul_ppmm): Remove.
5354 [__arc__] (__umulsidi3): Define.
5355 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
5356 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
5357
dff717d2
JC
53582013-09-17 Jacek Caban <jacek@codeweavers.com>
5359
5360 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
5361 CreateSemaphoreA.
5362 * config/i386/gthr-win32.h: Likewise.
5363
5c0029de
DD
53642013-09-16 DJ Delorie <dj@redhat.com>
5365
844ad6c6 5366 * config/rl78/vregs.h: Add G10 register definitions.
5c0029de
DD
5367 * config/rl78/lib2mul.c: Enable for RL78/G10.
5368 * config/rl78/lib2div.c: Likewise.
5369 * config/rl78/lshrsi3.S: Use vregs.h.
5370 * config/rl78/cmpsi2.S: Likewise.
5371 * config/rl78/trampoline.S: Likewise.
5372 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
5373
ceb2fc49
DD
53742013-09-14 DJ Delorie <dj@redhat.com>
5375 Nick Clifton <nickc@redhat.com>
5376
5377 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
5378 * config/rl78/vregs.h: New.
5379 * config/rl78/signbit.S: New file. Implements signbit function.
5380 * config/rl78/divmodsi.S: New.
5381 * config/rl78/divmodhi.S: New.
5382 * config/rl78/divmodqi.S: New.
5383 * config/rl78/t-rl78: Build them here...
5384 * config/rl78/lib2div.c: ...but not here.
5385
f6a83b4a
DD
53862013-09-12 DJ Delorie <dj@redhat.com>
5387
5388 * config.host (msp*-*-elf): New.
5389 * config/msp430/: New port.
5390
9107b096
IS
53912013-08-18 Iain Sandoe <iain@codesourcery.com>
5392
5393 PR gcov-profile/58127
5394 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
5395 __thread var for emulated TLS.
5396 (__gcov_indirect_call_counters): Likewise.
5397
0f9bde1f 53982013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
61221141 5399 Catherine Moore <clm@codesourcery.com>
7d296953 5400 Richard Sandiford <rdsandiford@googlemail.com>
0f9bde1f
MR
5401
5402 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
5403 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
5404 (CALL_STUB_NO_RET): Likewise.
5405 (CALL_STUB_RET): Likewise.
5406 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
5407 __mips16_ret call/return stub symbols.
5408 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
5409 to tmake_file.
5410
2dc14aac
MR
54112013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
5412
5413 * config.host <mips*-*-linux*>: Remove a stray comment.
5414
748d71f3
JH
54152013-08-10 Jan Hubicka <jh@suse.cz>
5416
5417 Work around binutils PR14342
5418 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
5419 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
5420 (L_gcov_indirect_call_profiler_v2): New.
5421
2fa3d31b
JH
54222013-08-06 Jan Hubicka <jh@suse.cz>
5423
5424 * libgcov.c (__gcov_indirect_call_callee,
5425 __gcov_indirect_call_counters): New global vars.
5426 (__gcov_indirect_call_profiler): replace by ...
5427 (__gcov_indirect_call_profiler_v2) ... this one.
5428
2077db1b
CT
54292013-08-06 Caroline Tice <cmtice@google.com>
5430
d0595b65 5431 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
2077db1b 5432 vtv_start_preinit.o and vtv_end_preinit.o.
d0595b65
CT
5433 * configure.ac: Add code to check/set enable_vtable_verify.
5434 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
2077db1b 5435 true.
d0595b65
CT
5436 * vtv_start_preinit.c: New file.
5437 * vtv_end_preinit.c: New file.
5438 * vtv_start.c: New file.
5439 * vtv_end.c: New file.
5440 * configure: Regenerated.
2077db1b 5441
46549c20
MK
54422013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
5443
5444 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
5445 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
5446 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
5447 GPL-3.0-with-GCC-exception.
5448
72be589b
MR
54492013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
5450
5451 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
5452 ISA and up.
5453
902a3faf
AK
54542013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5455
5456 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
5457 mapping for FPRs when creating the fallback framestate.
5458
02371798
GJL
54592013-07-19 Georg-Johann Lay <avr@gjlay.de>
5460
5461 PR target/57516
5462 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
5463 (__round_s2_const, __round_u2_const)
5464 (__round_s4_const, __round_u4_const, __round_x8):
5465 Saturate result if addition result cannot be represented.
5466
ab0e8379
MK
54672013-07-15 Matthias Klose <doko@ubuntu.com>
5468
5469 * libgcc2.c: Don't include <limits.h>.
5470
7da38058
JJ
54712013-07-09 Janis Johnson <janisjo@codesourcery.com>
5472
5473 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
5474
1f6eac90
JJ
54752013-07-06 Jakub Jelinek <jakub@redhat.com>
5476
5477 PR target/29776
5478 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
5479
4ea3d774
JJ
54802013-06-28 Jakub Jelinek <jakub@redhat.com>
5481
5482 PR middle-end/36041
5483 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
5484 Define.
5485 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
5486 instead of table lookups.
5487 (__popcountDI2): Likewise.
5488
9d2cdf25
CJW
54892013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
5490
5491 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
5492 correctly.
5493
fa1e55b0
JM
54942013-06-21 Joseph Myers <joseph@codesourcery.com>
5495
5496 PR other/53317
5497 * soft-fp/adddf3.c: Update from glibc.
5498 * soft-fp/addsf3.c: Likewise.
5499 * soft-fp/addtf3.c: Likewise.
5500 * soft-fp/divdf3.c: Likewise.
5501 * soft-fp/divsf3.c: Likewise.
5502 * soft-fp/divtf3.c: Likewise.
5503 * soft-fp/double.h: Likewise.
5504 * soft-fp/eqdf2.c: Likewise.
5505 * soft-fp/eqsf2.c: Likewise.
5506 * soft-fp/eqtf2.c: Likewise.
5507 * soft-fp/extenddftf2.c: Likewise.
5508 * soft-fp/extended.h: Likewise.
5509 * soft-fp/extendsfdf2.c: Likewise.
5510 * soft-fp/extendsftf2.c: Likewise.
5511 * soft-fp/fixdfdi.c: Likewise.
5512 * soft-fp/fixdfsi.c: Likewise.
5513 * soft-fp/fixsfdi.c: Likewise.
5514 * soft-fp/fixsfsi.c: Likewise.
5515 * soft-fp/fixtfdi.c: Likewise.
5516 * soft-fp/fixtfsi.c: Likewise.
5517 * soft-fp/fixunsdfdi.c: Likewise.
5518 * soft-fp/fixunsdfsi.c: Likewise.
5519 * soft-fp/fixunssfdi.c: Likewise.
5520 * soft-fp/fixunssfsi.c: Likewise.
5521 * soft-fp/fixunstfdi.c: Likewise.
5522 * soft-fp/fixunstfsi.c: Likewise.
5523 * soft-fp/floatdidf.c: Likewise.
5524 * soft-fp/floatdisf.c: Likewise.
5525 * soft-fp/floatditf.c: Likewise.
5526 * soft-fp/floatsidf.c: Likewise.
5527 * soft-fp/floatsisf.c: Likewise.
5528 * soft-fp/floatsitf.c: Likewise.
5529 * soft-fp/floatundidf.c: Likewise.
5530 * soft-fp/floatundisf.c: Likewise.
5531 * soft-fp/floatunditf.c: Likewise.
5532 * soft-fp/floatunsidf.c: Likewise.
5533 * soft-fp/floatunsisf.c: Likewise.
5534 * soft-fp/floatunsitf.c: Likewise.
5535 * soft-fp/gedf2.c: Likewise.
5536 * soft-fp/gesf2.c: Likewise.
5537 * soft-fp/getf2.c: Likewise.
5538 * soft-fp/ledf2.c: Likewise.
5539 * soft-fp/lesf2.c: Likewise.
5540 * soft-fp/letf2.c: Likewise.
5541 * soft-fp/muldf3.c: Likewise.
5542 * soft-fp/mulsf3.c: Likewise.
5543 * soft-fp/multf3.c: Likewise.
5544 * soft-fp/negdf2.c: Likewise.
5545 * soft-fp/negsf2.c: Likewise.
5546 * soft-fp/negtf2.c: Likewise.
5547 * soft-fp/op-1.h: Likewise.
5548 * soft-fp/op-2.h: Likewise.
5549 * soft-fp/op-4.h: Likewise.
5550 * soft-fp/op-8.h: Likewise.
5551 * soft-fp/op-common.h: Likewise.
5552 * soft-fp/quad.h: Likewise.
5553 * soft-fp/single.h: Likewise.
5554 * soft-fp/soft-fp.h: Likewise.
5555 * soft-fp/subdf3.c: Likewise.
5556 * soft-fp/subsf3.c: Likewise.
5557 * soft-fp/subtf3.c: Likewise.
5558 * soft-fp/truncdfsf2.c: Likewise.
5559 * soft-fp/trunctfdf2.c: Likewise.
5560 * soft-fp/trunctfsf2.c: Likewise.
5561 * soft-fp/unorddf2.c: Likewise.
5562 * soft-fp/unordsf2.c: Likewise.
5563 * soft-fp/unordtf2.c: Likewise.
5564 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
5565 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5566 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5567 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5568 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5569 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5570 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5571 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5572 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5573 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
5574 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
5575 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5576
0de86a92
JU
55772013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
5578
5579 * config/mips/lib2funcs.c: New file.
5580 * config/mips/t-mips (LIB2ADD_ST): Add it.
5581
0d008882
OE
55822013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
5583
5584 PR target/6526
5585 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
5586 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
5587
776434d1
WL
55882013-06-08 Walter Lee <walt@tilera.com>
5589
5590 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
5591 Replace int64_t with long long. Add __extension__ where
5592 appropriate.
5593 * config/tilepro/atomic.c: Include config.h.
5594
6ab3ebb4
DR
55952013-06-06 Douglas B Rupp <rupp@adacore.com>
5596
5597 * config.host (arm-wrs-vxworks): Configure with other soft float.
5598
107eea2c
JU
55992013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
5600
5601 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
5602 (mips64r5900el-*-elf*): New configurations.
5603
5cc19c62
AM
56042013-06-04 Alan Modra <amodra@gmail.com>
5605
5606 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
5607
0f1d3965
YR
56082013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
5609
5610 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
5611
0ba045df
EB
56122013-05-28 Eric Botcazou <ebotcazou@adacore.com>
5613
5614 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
5615 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
5616 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
5617
49dcafd4
EB
56182013-05-22 Eric Botcazou <ebotcazou@adacore.com>
5619
5620 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
5621 (powerpc-wrs-vxworks): Likewise.
5622
4fcb5d87
EB
56232013-05-22 Eric Botcazou <ebotcazou@adacore.com>
5624
5625 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
5626 signal frames as well.
5627 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
5628 STACK_BIAS to the CFA offset.
5629
0ec33224
RH
56302013-05-17 Richard Henderson <rth@redhat.com>
5631
5632 PR target/49146
5633 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
5634 (execute_cfa_program): Use it when storing to fs->regs.
5635
492a8029
KT
56362013-05-08 Kai Tietz <ktietz@redhat.com>
5637
5638 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
5639 (__deregister_frame_info): Likewise.
5640
701e2f0a
TS
56412013-05-06 Thomas Schwinge <thomas@codesourcery.com>
5642
e5123d08
TS
5643 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
5644 NaN's payload.
5645
701e2f0a
TS
5646 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
5647
b9a7eb5d
AM
56482013-04-25 Alan Modra <amodra@gmail.com>
5649
5650 * config.host: Match little-endian powerpc-linux.
5651
dfe192f5
YZ
56522013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
5653
5654 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
5655 as 'unsigned long long' instead of 'unsigned long'.
5656 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
5657 'signed long'.
5658
b6b9af2f
JB
56592013-04-10 Julian Brown <julian@codesourcery.com>
5660
5661 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
5662 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
5663 unsigned char/unsigned short.
5664 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
5665
ecabdd00
JDA
56662013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
5667
5668 PR other/55274
5669 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
5670
34652576
MI
56712013-04-04 Meador Inge <meadori@codesourcery.com>
5672
5673 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
5674 computing the location of the link register.
5675 (aeabi_uldivmod): Ditto.
5676
e9fd8c19
KT
56772013-03-27 Kai Tietz <ktietz@redhat.com>
5678
5679 * config.host: Add support for cygwin x64 target.
5680 * configure: Regenerated.
5681
a6406324
WL
56822013-03-26 Walter Lee <walt@tilera.com>
5683
5684 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
5685 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
5686
55446c7e
KT
56872013-03-25 Kai Tietz <ktietz@redhat.com>
5688
5689 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
5690
d2ae19d9
RM
56912013-03-20 Robert Mason <rbmj@verizon.net>
5692
5693 * config/vxlib-tls.c (__gthread_get_tsd_data,)
5694 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
5695 (__gthread_leave_tsd_dtor_context): Add prototypes.
5696 (tls_delete_hook): Update.
5697
22c4c869
CM
56982013-03-20 Catherine Moore <clm@codesourcery.com>
5699 Joseph Myers <joseph@codesourcery.com>
5700 Chao-ying Fu <fu@mips.com>
5701
5702 * config/mips/mips16.S: Don't build for microMIPS.
5703 * config/mips/linux-unwind.h: Handle microMIPS frame.
5704 * config/mips/crtn.S (fini, init): New labels.
5705
fbd28bc3
JJ
57062013-03-14 Jakub Jelinek <jakub@redhat.com>
5707
5708 PR tree-optimization/53265
5709 * unwind-dw2.c (execute_cfa_program): Avoid
5710 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
5711 on targets with DWARF_FRAME_REGISTERS < 32.
5712
decc676e
OE
57132013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
5714
5715 PR target/49880
5716 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
5717 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
5718
84ea618a
ST
57192013-03-07 Sriraman Tallam <tmsriram@google.com>
5720
5721 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
5722 sandybridge processors.
5723
8f6d1c86
OE
57242013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
5725
5726 PR target/56529
5727 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
5728 inclusion list.
5729
ecdbd01a 57302013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
409b1de4
EI
5731
5732 * config/microblaze/crti.S: Setup stack protection at entry
5733
0b4ce21b
GJL
57342013-03-04 Georg-Johann Lay <avr@gjlay.de>
5735
5736 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
5737 (__rotldi3): Shift bytewise if applicable.
5738
b7c3f1ca
JG
57392013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
5740
5741 * config/aarch64/sync-cache.c
5742 (__aarch64_sync_cache_range): Silence warnings.
5743
6d65e8f1
CM
57442013-02-25 Catherine Moore <clm@codesourcery.com>
5745
5746 Revert:
5747 2013-02-24 Catherine Moore <clm@codesourcery.com>
5748 Joseph Myers <joseph@codesourcery.com>
5749 Chao-ying Fu <fu@mips.com>
5750
5751 * config/mips/mips16.S: Don't build for microMIPS.
5752 * config/mips/linux-unwind.h: Handle microMIPS frame.
5753 * config/mips/crtn.S (fini, init): New labels.
5754
6941b508
CM
57552013-02-24 Catherine Moore <clm@codesourcery.com>
5756 Joseph Myers <joseph@codesourcery.com>
5757 Chao-ying Fu <fu@mips.com>
5758
5759 * config/mips/mips16.S: Don't build for microMIPS.
5760 * config/mips/linux-unwind.h: Handle microMIPS frame.
5761 * config/mips/crtn.S (fini, init): New labels.
5762
7c422dbb 57632012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
cc86234f 5764 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
7c422dbb
EI
5765 as dividend.
5766
110207ad
AM
57672013-02-16 Alan Modra <amodra@gmail.com>
5768
5769 PR target/55431
5770 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
5771 (ppc_fallback_frame_state): Always set up save locations for fp
5772 and altivec. Don't bother with non-callee-saved regs, r0-r13
5773 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
5774
e68a4ef6
GJL
57752013-02-12 Georg-Johann Lay <avr@gjlay.de>
5776
5777 PR target/54222
5778 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
5779 _ssmulHA, _ssmulSA.
5780 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
5781 _ssmulha3, _usmulusa3, _ssmulsa3.
5782 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
5783 (__muldi3): XCALL __muldi3_6 instead of rcall.
5784 (__umulsidi3, __mulsidi3): New functions.
5785 (do_prologue_saves, do_epilogue_restores): New .macros.
5786 (__divdi3_moddi3): Use them.
5787 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
5788 (__usmulusa3, __ssmulsa3): New functions.
5789
6c59ffd1
IS
57902013-02-11 Iain Sandoe <iain@codesourcery.com>
5791 Jack Howarth <howarth@bromo.med.uc.edu>
5792 Patrick Marlier <patrick.marlier@gmail.com>
5793
5794 PR libitm/55693
5795 * config/darwin-crt-tm.c: Remove dummy functions hack.
5796
85d768f3
GJL
57972013-02-08 Georg-Johann Lay <avr@gjlay.de>
5798
5799 PR target/54222
5800 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
5801 * config/avr/lib2-object.mk: New iterator to build objects from it.
5802 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
5803 lib2funcs.c.
5804 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
5805 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
5806 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
5807 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
5808 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
5809 * config/avr/lib1funcs-fixed.S: Implement them.
5810
5d5bf775
RS
58112013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
5812
5813 Update copyright years.
5814
99113dff
DE
58152013-02-01 David Edelsohn <dje.gcc@gmail.com>
5816
5817 PR target/54601
5818 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
5819 Add crtcxa to extra_parts.
5820 * config/rs6000/exit.h: New file.
5821 * config/rs6000/cxa_atexit.c: New file.
5822 * config/rs6000/cxa_finalize.c: New file.
5823 * config/rs6000/crtcxa.c: New file.
5824 * config/rs6000/t-aix-cxa: New file.
5825 * config/rs6000/libgcc-aix-cxa.ver: New file.
5826
dbdbd982
NC
58272013-01-31 Nick Clifton <nickc@redhat.com>
5828
5829 * config/v850/lib1funcs.S: Add support for e3v5 architecture
5830 variant.
5831
5893f158
GJL
58322013-01-29 Georg-Johann Lay <avr@gjlay.de>
5833
5834 PR target/54222
5835 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
5836 _mulQQ, _mulHQ, _mulHA, _mulSA,
5837 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
5838 _divQQ, _divHQ, _divHA, _divSA,
5839 _divUQQ, _divUHQ, _divUHA, _divUSA.
5840
ecdbd01a 58412013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
fbf0cf90 5842
dbdbd982 5843 * config.host(microblaze*-linux*): tmake_file: Remove
fbf0cf90
DH
5844 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
5845 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
5846 to exclude functions from being built with libgcc.c and use
5847 the microblaze assembly.
5848
ecdbd01a 58492013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
6f14eef2
EI
5850
5851 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
5852 extra_parts.
5853
922c57d1
YZ
58542013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
5855
5856 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
5857 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
5858 __UINTPTR_TYPE__; also cast 'base' to the same type before the
5859 alignment operation.
5860
e0f8b6a0
SN
58612013-01-15 Sofiane Naci <sofiane.naci@arm.com>
5862
5863 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
5864 loop start address for cache clearing.
5865
00892272
GJL
58662013-01-14 Georg-Johann Lay <avr@gjlay.de>
5867
5868 * config/avr/lib1funcs.S: Remove trailing blanks.
5869 * config/avr/lib1funcs-fixed.S: Ditto.
5870
e59ec5fd
GJL
58712013-01-14 Georg-Johann Lay <avr@gjlay.de>
5872
5873 * config/avr/avr-lib.h: Add GPL copyright notice.
5874
3ffc1958
GJL
58752013-01-14 Georg-Johann Lay <avr@gjlay.de>
5876
5877 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
5878 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
5879 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
5880 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
5881
25c210f9
MK
58822013-01-07 Mark Kettenis <kettenis@openbsd.org>
5883
5884 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
5885 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
2bc15360 5886
db59befb
NC
58872013-01-04 Nick Clifton <nickc@redhat.com>
5888
5889 * config/v850/lib1funcs.S: Only provide CALLT support functions if
5890 the CALLT instruction is supported.
5891
5aa12dbf
JW
58922012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
5893
5894 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
5895 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
5896
65f14117
JT
58972012-12-13 John Tytgat <John@bass-software.com>
5898
5899 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
5900 is 25.
5901
ee3ae4f7
JJ
59022012-12-12 Jakub Jelinek <jakub@redhat.com>
5903
5904 PR libgcc/55451
5905 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
5906 undefined signed overflows.
5907
2fcfba3d
UB
59082012-12-09 Uros Bizjak <ubizjak@gmail.com>
5909
5910 PR target/55344
5911 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
5912
4f2b3dc2
UB
59132012-12-06 Uros Bizjak <ubizjak@gmail.com>
5914
5915 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
5916 (FP_TRAPPING_EXCEPTIONS): Define.
5917 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
5918 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
5919
066161a2
RH
59202012-12-04 Richard Henderson <rth@redhat.com>
5921
5922 PR bootstrap/55571
5923 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
5924
7d296953 59252012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
25626181 5926
4f2b3dc2 5927 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
25626181
MS
5928 (FP_EX_SHIFT): Define.
5929 (FP_TRAPPING_EXCEPTIONS): Define.
5930
7d296953 59312012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
868395e8
MS
5932
5933 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
5934 (FP_ROUNDMODE): Use FP_RND_MASK.
5935 * config/aarch64/sfp-exceptions.c: New.
5936 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
5937 Use __sfp_handle_exceptions.
5938
5005fe22
RE
59392012-12-04 Richard Earnshaw <rearnsha@arm.com>
5940
5941 * config.host: (arm*-*-freebsd*): Remove.
5942 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
5943 (arm*-*-elf*): Remove.
5944 (arm*-*-wince-pe*): Remove.
5945 * arm/unwind-arm.c (struct fpa_reg): Delete.
5946 (struct fpa_regs): Delete.
5947 (phase1_vrs): Remove fpa element.
5948 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
5949 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
5950 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
5951 * ieee754-sf.S (floatundisf): Remove FPA support.
5952 (floatdisf): Likewise.
5953 * ieee75f-df.S (floatundidf): Likewise.
5954 (floatdidf): Likewise.
5955
e5a81c8e
KT
59562012-11-29 Kai Tietz <ktietz@redhat.com>
5957
5958 PR target/55445
5959 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
5960 * unwind-generic.h: Likewise.
5961 * unwind-seh.c: Likewise.
5962
f4919e4a
RH
59632012-11-28 Richard Henderson <rth@redhat.com>
5964
5965 PR libgcc/48076
5966 * emutls.c (__emutls_get_address): Avoid race condition between
5967 obj->loc.offset read and emutls_key initialization.
4f2b3dc2 5968
e13d9d5a
GJL
59692012-11-22 Georg-Johann Lay <avr@gjlay.de>
5970
5971 Adjust decimal point of signed accum mode to GCC default.
5972
5973 PR target/54222
5974 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
5975 _divqq_helper.
5976 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
5977 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
5978 (__mulha3, __mulsa3)
5979 (__divqq3, __divha3, __divsa3): Adjust to new position of
4f2b3dc2
UB
5980 decimal point of signed accum types.
5981
e13d9d5a
GJL
5982 (__mulusa3_round): New function.
5983 (__mulusa3): Use it.
5984 (__divqq_helper): New function.
5985 (__udivuqq3): Use it.
5986
1b845c6e
JJ
59872012-11-20 Jakub Jelinek <jakub@redhat.com>
5988
5989 PR bootstrap/55370
5990 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
5991
822a258a
TJ
59922012-11-18 Teresa Johnson <tejohnson@google.com>
5993
5994 PR bootstrap/55051
5995 * libgcov.c (gcov_exit): Remove merged program summary
5996 comparison unless !GCOV_LOCKED.
5997
7d296953 59982012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
54f4eaf0
MS
5999
6000 * soft-fp: Updated from glibc upstream.
6001
e808687a
ILT
60022012-11-06 Ian Lance Taylor <iant@google.com>
6003
6004 * generic-morestack.c (__generic_morestack): Align the returned
6005 stack pointer to a 32 byte boundary.
6006 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
6007 increment the return address until we have decided that we don't
6008 have a varargs function.
6009 (__morestack) [32-bit]: Align stack correctly when calling C
6010 functions.
6011 (__morestack) [64-bit]: Likewise.
6012
460277e0
TS
60132012-11-04 Thomas Schwinge <thomas@codesourcery.com>
6014
6015 * configure: Regenerate.
6016
73edb277
UB
60172012-11-02 Uros Bizjak <ubizjak@gmail.com>
6018
6019 PR target/55175
6020 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
6021 * config/i386/sfp-machine.h: Guard exception handling
6022 code with _SOFT_FLOAT.
6023 * config/i386/32/sfp-machine.h: Guard rounding handling
6024 code with _SOFT_FLOAT.
6025 * config/i386/64/sfp-machine.h: Ditto.
6026
c1d4fa04
JS
60272012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
6028
6029 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
6030 as extra_parts.
6031
eff6ca85
UB
60322012-10-26 Uros Bizjak <ubizjak@gmail.com>
6033
6034 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
6035 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
6036 when appropriate. Correct structure element types.
6037 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
6038 -minline-all-stringops from compile flags.
6039
7d296953 60402012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
43a8f1a1
RC
6041
6042 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
6043
7d296953 60442012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
76c78361 6045
eff6ca85 6046 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
76c78361 6047
6f288860
SH
60482012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
6049
6050 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
6051 tmake_file.
6052
1e3d5096
IB
60532012-10-23 Ian Bolton <ian.bolton@arm.com>
6054 Jim MacArthur <jim.macarthur@arm.com>
6055 Marcus Shawcroft <marcus.shawcroft@arm.com>
6056 Nigel Stephens <nigel.stephens@arm.com>
6057 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
6058 Richard Earnshaw <rearnsha@arm.com>
6059 Sofiane Naci <sofiane.naci@arm.com>
6060 Stephen Thomas <stephen.thomas@arm.com>
6061 Tejas Belagod <tejas.belagod@arm.com>
6062 Yufeng Zhang <yufeng.zhang@arm.com>
6063
6064 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
6065 * config/aarch64/crti.S: New file.
6066 * config/aarch64/crtn.S: New file.
6067 * config/aarch64/linux-unwind.h: New file.
6068 * config/aarch64/sfp-machine.h: New file.
6069 * config/aarch64/sync-cache.c: New file.
6070 * config/aarch64/t-aarch64: New file.
6071 * config/aarch64/t-softfp: New file.
6072
8a740f07
HPN
60732012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
6074
6075 * config/mmix/crti.S: Mark program and data addresses using PRELD.
6076 Remove typo'd and unnecessary alignment-LOC for .data. Remove
6077 no-longer-needed LDBU insns.
6078
7d296953 60792012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
153c8397
SH
6080
6081 * config.host
6082 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
6083 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
6084
595fefee
MGD
60852012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
6086
6087 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
6088
9945a876
MK
60892012-10-15 Matthias Klose <doko@ubuntu.com>
6090
6091 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
6092
1183dc2c
PC
60932012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
6094
6095 * configure: Regenerate.
6096 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
6097
945a9c1f
UB
60982012-10-10 Uros Bizjak <ubizjak@gmail.com>
6099
6100 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
6101 instructions for 64bit targets only.
6102
fb8bf47a
UB
61032012-10-10 Uros Bizjak <ubizjak@gmail.com>
6104
6105 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
6106 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
6107 * config/i386/32/sfp-machine.h: ... here.
6108 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
6109 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
6110 New defines.
6111
acb72498
MK
61122012-10-07 Matthias Klose <doko@ubuntu.com>
6113
6114 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
6115 as unused.
6116 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
6117
8eaee0f0
MK
61182012-10-06 Mark Kettenis <kettenis@openbsd.org>
6119
6120 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
6121 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
6122 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
6123 (ElfW): Likewise.
6124
5e3e4fe8
JW
61252012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
6126
6127 PR other/53889
6128 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
6129 Fix parameter names.
6130
86086376
OE
61312012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
6132
6133 PR target/33135
6134 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
6135 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
6136 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
6137
9597375a
OE
61382012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
6139
6140 PR target/50457
6141 * config/sh/linux-atomic.S: Delete.
6142 * config/sh/linux-atomic.c: New.
6143 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
6144 linux-atomic.c. Add cflags to disable warnings.
6145
1504e3e1
JW
61462012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
6147
6148 PR other/53889
6149 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
6150 function.
6151 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
6152 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
6153 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
6154 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
5e3e4fe8
JW
6155 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
6156 Likewise.
1504e3e1
JW
6157 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
6158 Likewise.
6159 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
6160 Likewise.
6161 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
6162 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
6163
17f293b0
MK
61642012-09-19 Mark Kettenis <kettenis@openbsd.org>
6165
9597375a
OE
6166 * config.host (hppa-*-openbsd*): New target.
6167 * config/pa/t-openbsd: New file.
17f293b0 6168
51526856
GJL
61692012-09-15 Georg-Johann Lay <avr@gjlay.de>
6170
6171 PR target/54222
6172 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
6173 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
6174 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
6175 (__divsa3): Use __negsi2 to negate r_quoL.
6176 * config/avr/lib1funcs.S (FALIAS): New macro.
6177 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
6178 (__negsi2): ...this new function.
6179 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
6180 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
6181 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
6182 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
6183 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
6184 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
6185
aadb5b43
OE
61862012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
6187
6188 PR target/54089
6189 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
6190 (lshrsi3): Reimplement as lshrsi3_r0.
6191
d5d66749
AS
61922012-09-10 Andreas Schwab <schwab@linux-m68k.org>
6193
6194 PR target/46191
6195 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
6196 of libgcc.a.
6197
c6c36e73
TJ
61982012-09-07 Teresa Johnson <tejohnson@google.com>
6199
9597375a 6200 PR gcov-profile/54487
c6c36e73 6201 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
9597375a 6202 differences.
c6c36e73 6203
b588ae30
GJL
62042012-09-05 Georg-Johann Lay <avr@gjlay.de>
6205
6206 PR target/54461
6207 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
6208 not configured --with-avrlibc=no.
6209 * config/avr/t-avrlibc: New file.
6210 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
6211 (DPBIT_FUNCS): Ditto.
6212 (TPBIT_FUNCS): Ditto.
6213
abd16fb1
TJ
62142012-09-04 Teresa Johnson <tejohnson@google.com>
6215
6216 * libgcov.c (struct gcov_summary_buffer): New structure.
6217 (gcov_histogram_insert): New function.
6218 (gcov_compute_histogram): Ditto.
6219 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
6220 histograms during summary merging.
6221
613061fd
MK
62222012-09-01 Mark Kettenis <kettenis@openbsd.org>
6223
6224 * config.host (x86_64-*-openbsd*): New target.
73edb277 6225
867a8345
CLT
62262012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
6227
6228 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
6229 attribute.
6230
4aeaaca3
GJL
62312012-08-24 Georg-Johann Lay <avr@gjlay.de>
6232
6233 PR target/54222
6234 * config/avr/t-avr (conv_X): Rename to func_X.
6235
e55e4056
GJL
62362012-08-24 Georg-Johann Lay <avr@gjlay.de>
6237
6238 PR target/54222
6239 * config/avr/lib1funcs-fixed.S: New file.
6240 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
6241 after they are used.
6242 (neg2, neg4): New macros.
6243 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
6244 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
6245 (__umulhisi3): Speed up MUL variant if there is enough flash.
6246 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
6247 avr-modes.def.
6248 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
6249 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
6250 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
6251 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
6252 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
6253 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
6254 (LIB2FUNCS_EXCLUDE): Add supported functions.
6255
a147b6d2
GJL
62562012-08-22 Georg-Johann Lay <avr@gjlay.de>
6257
6258 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
6259 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
6260 libgcc-s-objects.
6261 * fixed-obj.mk: Only expand dependency if $o is not in
6262 LIB2FUNCS_EXCLUDE.
6263
c637141a
L
62642012-08-22 H.J. Lu <hongjiu.lu@intel.com>
6265
6266 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
6267
130e00bd
JM
62682012-08-22 Joseph Myers <joseph@codesourcery.com>
6269
6270 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
6271 depend on --enable-shared.
6272 ($(lib1asmfuncs-o)): Use %.vis files independent of
6273 --enable-shared.
6274 * static-object.mk ($(base)$(objext), $(base).vis)
6275 ($(base)_s$(objext)): Use same rules for visibility handling as in
6276 shared-object.mk.
6277
4b1b3788
ILT
62782012-08-21 Ian Lance Taylor <iant@google.com>
6279
6280 * config/i386/morestack.S (__morestack_non_split): Increase amount
6281 of space allocated for non-split code stack.
6282
d2468141
JM
62832012-08-19 Joseph Myers <joseph@codesourcery.com>
6284
6285 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
6286 even if inhibit_libc.
6287
a508e1a8
JB
62882012-08-17 Julian Brown <julian@codesourcery.com>
6289
6290 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
6291 -fexceptions -fnon-call-exceptions if not defined.
6292 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
6293 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
6294
5615a07d
AS
62952012-08-17 Andreas Schwab <schwab@linux-m68k.org>
6296
6297 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
6298 type.
6299
138f5acd
DE
63002012-08-16 David Edelsohn <dje.gcc@gmail.com>
6301
6302 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
6303 rs6000/t-slibgcc-aix.
6304
18efc0dd
SB
63052012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
6306
6307 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
6308
6b39bc38
SB
63092012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
6310
6311 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
6312
cd25dea0
L
63132012-08-03 H.J. Lu <hongjiu.lu@intel.com>
6314
6315 PR driver/54171
6316 * Makefile.in (version): Replace top_srcdir with srcdir.
6317
a3dda30b
JY
63182012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
6319
6320 * Makefile.in (version): set to BASE-VER file from gcc directory.
6321
d04aacfc
NC
63222012-08-01 Nick Clifton <nickc@redhat.com>
6323
6324 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
6325 Implements __clrsb for an HImode argument.
6326
0d13c974
NC
63272012-07-31 Nick Clifton <nickc@redhat.com>
6328
6329 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
6330 Implements __clrsb for an HImode argument.
6331 * config/stormy16/clrsbhi2.c: New file:
6332 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
6333
efbb59b2
SB
63342012-07-22 Steven Bosscher <steven@gcc.gnu.org>
6335
6336 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
6337
bf1431e3
TG
63382012-07-19 Tristan Gingold <gingold@adacore.com>
6339 Richard Henderson <rth@redhat.com>
6340
6341 * unwind-seh.c: New file.
6342 * unwind-generic.h: Include windows.h for SEH.
6343 (_Unwind_Exception): Use 6 private fields for SEH.
6344 (_GCC_specific_handler): Declare.
6345 * unwind-c.c (__gcc_personality_seh0): New function.
6346 Adjust for SEH.
6347 * config/i386/libgcc-cygming.ver: New file.
6348 * config/i386/t-seh-eh: New file.
6349 * config.host (x86_64-*-mingw*): Default to seh.
6350
659140c8
SB
63512012-07-14 Steven Bosscher <steven@gcc.gnu.org>
6352
6353 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
6354
a20d08fd
UB
63552012-06-17 Uros Bizjak <ubizjak@gmail.com>
6356
6357 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
6358 __builtin_expect when checking for exceptions.
6359 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
6360
79261115
UB
63612012-06-13 Uros Bizjak <ubizjak@gmail.com>
6362
4a172156
UB
6363 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
6364 function declaration.
6365 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
6366 (FP_RND_MASK): New.
6367 * config/ia64/sfp-exceptions.c: New.
6368 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
79261115 6369
bb5c97d4
UB
63702012-06-13 Uros Bizjak <ubizjak@gmail.com>
6371
6372 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
6373 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
6374 * config/i386/64/sfp-machine: ... (delete here) ...
6375 * config/i386/sfp-machine.h: ... to here.
6376 (FP_EX_MASK): Remove.
6377 (FP_RND_MASK): New.
6378 (FP_INIT_ROUNDMODE): Declare asm as volatile.
6379
91fe5efb
ST
63802012-06-11 Sriraman Tallam <tmsriram@google.com>
6381
6382 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
6383 * config/i386/libgcc-sol2.ver: Ditto.
6384 * config/i386/libgcc-glibc.ver: Ditto.
6385
67a218c5
RM
63862012-06-11 Roland McGrath <mcgrathr@google.com>
6387
6388 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
6389 If __GLIBC__ is defined, refer to __pthread_key_create instead of
6390 pthread_cancel.
6391
492fbea1
UB
63922012-06-09 Uros Bizjak <ubizjak@gmail.com>
6393
6394 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
6395 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
6396 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
6397 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
6398 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
6399 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
6400 * config/i386/64/sfp-machine: ... (delete here) ...
6401 * config/i386/sfp-machine.h: ... to here.
6402 (FP_EX_MASK): New.
6403 (__sfp_handle_exceptions): New function declaration.
6404 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
6405 * config/i386/sfp-exceptions.c: New.
6406 * config/i386/t-softfp: New.
6407 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
6408 i386/t-softfp to tmake_file.
6409
7b4cf266
DM
64102012-06-03 David S. Miller <davem@davemloft.net>
6411
6412 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
6413 change.
6414
0de0d5c6
DM
64152012-05-31 David S. Miller <davem@davemloft.net>
6416
6417 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
6418 multiply and divide instructions on 32-bit when V9.
6419 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
6420
d8c9d391
JM
64212012-05-29 Joseph Myers <joseph@codesourcery.com>
6422
6423 * config/arm/ieee754-df.S: Fix typos.
6424 * config/arm/ieee754-sf.S: Fix typos.
6425 * config/c6x/libunwind.S: Fix typos.
6426 * config/epiphany/udivsi3-float.c: Fix typos.
6427 * config/microblaze/muldi3_hard.S: Fix typos.
6428 * config/picochip/adddi3.S: Fix typos.
6429 * config/picochip/ashlsi3.S: Fix typos.
6430 * config/picochip/ashrsi3.S: Fix typos.
6431 * config/picochip/clzsi2.S: Fix typos.
6432 * config/picochip/cmpsi2.S: Fix typos.
6433 * config/picochip/divmod15.S: Fix typos.
6434 * config/picochip/divmodhi4.S: Fix typos.
6435 * config/picochip/divmodsi4.S: Fix typos.
6436 * config/picochip/longjmp.S: Fix typos.
6437 * config/picochip/lshrsi3.S: Fix typos.
6438 * config/picochip/parityhi2.S: Fix typos.
6439 * config/picochip/popcounthi2.S: Fix typos.
6440 * config/picochip/setjmp.S: Fix typos.
6441 * config/picochip/subdi3.S: Fix typos.
6442 * config/picochip/ucmpsi2.S: Fix typos.
6443 * config/picochip/udivmodhi4.S: Fix typos.
6444 * config/picochip/udivmodsi4.S: Fix typos.
6445 * config/spu/divv2df3.c: Fix typos.
6446 * config/spu/mfc_multi_tag_release.c: Fix typos.
6447 * config/spu/mfc_tag_release.c: Fix typos.
6448 * configure.ac: Fix typos.
6449 * configure: Regenerate.
6450
31a18a7e
ILT
64512012-05-25 Ian Lance Taylor <iant@google.com>
6452
6453 * config/i386/morestack.S (__morestack_non_split): Check whether
6454 caller is varargs and needs %bp to hold the stack frame on return.
6455
c5768510
OH
64562012-05-25 Olivier Hainque <hainque@adacore.com>
6457
6458 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
6459 sequence in the non pic case on VxWorks.
6460
7c7c339b
OH
64612012-05-24 Olivier Hainque <hainque@adacore.com>
6462
73fb7630 6463 * Makefile.in: Move dependency on install-unwind_h from
7c7c339b
OH
6464 "install-leaf" to "install".
6465
fdc1b7d3
OH
64662012-05-24 Olivier Hainque <hainque@adacore.com>
6467
6468 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
6469 Use a separate command for stamp removals.
6470
07ba94b9
AP
64712012-05-21 Andrew Pinski <apinski@cavium.com>
6472
6473 PR bootstrap/53183
6474 * configure.ac: Define the default includes to being none.
6475 * configure: Regenerate.
6476
4677d2eb
OH
64772012-05-16 Olivier Hainque <hainque@adacore.com>
6478
6479 * Makefile.in (install-unwind_h): Rename into ...
6480 (install-unwind_h-forbuild): New target.
6481 (all): Use it instead of the former install-unwind_h.
6482 (install-unwind_h): Reinstate, copy to user install destination
6483 for include files, not to the internal gcc object directory one.
6484 (install-leaf): Depend on it.
6485
7d67c380
OH
64862012-05-15 Olivier Hainque <hainque@adacore.com>
6487
6488 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
6489 register numbers. LR_REGNO replaces R_LR.
6490 (ucontext_for): New, helper for ...
6491 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
6492 and 5.3 of ...
6493 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
6494
aca06c90
RO
64952012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6496
6497 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
6498 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
6499 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
6500 i386/t-cpuinfo ...
6501 (i[34567]86-*-*, x86_64-*-*): ... here.
6502
6503 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
6504 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
6505
6506 * config/i386/i386-cpuinfo.c: Rename to ...
6507 * config/i386/cpuinfo.c: ... this.
6508 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
6509
6510 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
6511 (libgcc_cv_init_priority): New test.
6512 * configure: Regenerate.
6513 * config.in: New file.
6514 * Makefile.in (clean): Rename config.h to auto-target.h.
6515 (config.h): Likewise.
6516 (stamp-h): Likewise.
6517
6518 * config/i386/cpuinfo.c (auto-target.h): Include.
6519 (CONSTRUCTOR_PRIORITY): Define.
6520 (__cpu_indicator_init): Use it.
6521
0d03ac1b
L
65222012-05-09 H.J. Lu <hongjiu.lu@intel.com>
6523
6524 * longlong.h: Use a URL instead of an FSF postal address.
6525 Replace spaces with tab.
6526
4a172156 65272012-05-08 Teresa Johnson <tejohnson@google.com>
4e8ee9cb
TJ
6528
6529 * libgcov.c (gcov_clear, __gcov_reset): New functions.
6530 (__gcov_dump): Ditto.
6531 (gcov_dump_complete): New global variable.
6532 (gcov_exit): Export hidden to enable use in L_gcov_dump.
6533 (__gcov_flush): Outline functionality now in gcov_clear.
6534 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
6535
e4bb767e
AJ
65362012-04-28 Aurelien Jarno <aurelien@aurel32.net>
6537
31a18a7e
ILT
6538 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
6539 (mips*-*-linux*): Include mips/t-tpbit when long double is
6540 16 bytes long.
e4bb767e 6541
5ddecff9
ST
65422012-04-25 Sriraman Tallam <tmsriram@google.com>
6543
6544 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
6545 (get_available_features): New argument. Check for AVX2.
6546 (__cpu_indicator_init): Modify call to get_available_features.
6547
b427dd7a
AM
65482012-04-25 Alan Modra <amodra@gmail.com>
6549
6550 * config/rs6000/crtsavevr.S: New file.
6551 * config/rs6000/crtrestvr.S: New file.
6552 * config/rs6000/t-savresfgpr: Build the above.
6553 * config/rs6000/t-netbsd: Likewise.
6554
ad491329
ST
65552012-04-24 Sriraman Tallam <tmsriram@google.com>
6556
6557 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
6558
792317cc
ST
65592012-04-24 Sriraman Tallam <tmsriram@google.com>
6560
6561 * libgcc/config/i386/i386-cpuinfo.c: New file.
6562 * libgcc/config/i386/t-cpuinfo: New file.
6563 * libgcc/config.host: Include t-cpuinfo.
6564 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
6565
e1be98a4
CF
65662012-04-24 Chao-ying Fu <fu@mips.com>
6567
6568 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
6569
1bde7dab
TS
65702012-04-20 Thomas Schwinge <thomas@codesourcery.com>
6571
6572 struct siginfo vs. siginfo_t
6573
6574 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
6575 siginfo_t instead of struct siginfo.
6576 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
6577 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
6578 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
6579 (ia64_handle_unwabi): Likewise.
6580 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
6581 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
6582 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
6583 (sh_fallback_frame_state): Likewise.
6584 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
6585 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
6586
24590f66
L
65872012-04-02 H.J. Lu <hongjiu.lu@intel.com>
6588
6589 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
6590 system call number.
6591
9a9dcce8
EB
65922012-03-31 Eric Botcazou <ebotcazou@adacore.com>
6593
6594 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
6595 if it hasn't been previously saved.
6596
6401aaf5
L
65972012-03-29 H.J. Lu <hongjiu.lu@intel.com>
6598
6599 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
6600 only for glibc.
6601
7fd6378e
GJL
66022012-03-28 Georg-Johann Lay <avr@gjlay.de>
6603
6604 PR target/52737
6605 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
6606 instead of __AVR_HAVE_8BIT_SP__.
6607
9e916de7
TG
66082012-03-26 Tristan Gingold <gingold@adacore.com>
6609
6610 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
6611 (unw_table_entry): Use unw_word instead of unsigned long.
6612 (_Unwind_FindTableEntry): Likewise.
6613 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
6614 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
6615 (_Unwind_FindTableEntry): Likewise.
6616 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
6617 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
6618 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
6619 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
6620 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
6621 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
6622 (uw_init_context_1, uw_install_context): Likewise.
6623 (unw_word): Move to unwind-ia64.h
6624
4b12e93d
TG
66252012-03-26 Tristan Gingold <gingold@adacore.com>
6626
6627 * config/vms/vms-ucrt0.c: Update copyright years.
6628 Add a sanity check.
6629 (___gcc_main_flags): Declare.
6630 (__main): Check flags to remap argv and exit code.
6631 * config.host (*-*-*vms*): Adjust extra_parts.
6632 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
6633 (crt0.o): Add.
6634
06ea7371
RE
66352012-03-22 Richard Earnshaw <rearnsha@arm.com>
6636
6637 * arm/lib1funcs.asm (ctzsi2): New function.
6638 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
6639 * arm/t-linux (LIB1ASMFUNCS): Likewise.
6640 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
6641 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
6642 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
6643 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
6644
d82ad50d
AT
66452012-03-21 Andreas Tobler <andreast@fgznet.ch>
6646
6647 * config.host: Add bits to support powerpc64-*-freebsd*.
6648 * config/rs6000/freebsd-unwind.h: New file.
6649 * config/rs6000/t-freebsd64: New file.
6650
b260a8c0
RG
66512012-03-20 Richard Guenther <rguenther@suse.de>
6652
6653 PR gcov-profile/52627
6654 * libgcov.c (init_mx): Fix mutex name.
6655
86286a8a
TG
66562012-03-16 Tristan Gingold <gingold@adacore.com>
6657
6658 * config/ia64/vms-unwind.h: Remove ulong (and replace
6659 it by unw_reg where used). Define unw_reg with __int64.
6660
7888f266
RO
66612012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6662
6663 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
6664 Solaris 8 handling.
6665 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
6666 Solaris 8 handling.
6667 (sparc_is_sighandler): Likewise.
6668
f155bc64
L
66692012-03-13 H.J. Lu <hongjiu.lu@intel.com>
6670
6671 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
6672 <= saved reg size.
6673
d47657bd
RO
66742012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6675
6676 * config/arm/crtn.S: Fix typo.
6677
5bef73a1
RG
66782012-03-13 Richard Guenther <rguenther@suse.de>
6679
6680 * libgcov.c: Remove stdio.h include and NULL un-define.
6681
9c4271f3
RG
66822012-03-13 Richard Guenther <rguenther@suse.de>
6683
6684 PR target/52569
6685 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
6686
c6d10e7c
RG
66872012-03-13 Richard Guenther <rguenther@suse.de>
6688
6689 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
6690
074a385f
RG
66912012-03-13 Richard Guenther <rguenther@suse.de>
6692
6693 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
6694 and __gthread_mutex_init_function definitions.
6695
c4bc5c25
RO
66962012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6697
6698 * config.host (mips*-*-openbsd*): Remove.
6699
5c30094f
RO
67002012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6701
6702 * config.host: Remove alpha*-dec-osf5.1* handling.
6703 * config/alpha/gthr-posix.c: Remove.
6704 * config/alpha/libgcc-osf5.ver: Remove.
6705 * config/alpha/osf5-unwind.h: Remove.
6706 * config/alpha/t-osf-pthread: Remove.
6707 * config/alpha/t-slibgcc-osf: Remove.
6708 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
6709 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
6710 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
6711 * mkmap-flat.awk: Remove osf_export handling.
6712
33e3e24d
RG
67132012-03-12 Richard Guenther <rguenther@suse.de>
6714
6715 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
6716 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
6717 (__gthread_mutex_init_function): New function.
6718 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
6719
6720 PR gcov/49484
6721 * libgcov.c: Include gthr.h.
6722 (__gcov_flush_mx): New global variable.
6723 (init_mx, init_mx_once): New functions.
6724 (__gcov_flush): Protect self with a mutex.
6725 (__gcov_fork): Re-initialize mutex after forking.
6726 * unwind-dw2-fde.c: Change condition under which to use
6727 __GTHREAD_MUTEX_INIT_FUNCTION.
6728
d8aba32a
TG
67292012-03-12 Tristan Gingold <gingold@adacore.com>
6730
6731 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
6732 * config/ia64/t-vms: Likewise.
6733
75ffafdc
MH
67342012-03-11 Michael Hope <michael.hope@linaro.org>
6735
4a172156
UB
6736 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
6737 for Thumb-2.
75ffafdc 6738
ef6c2c53
WL
67392012-03-07 Walter Lee <walt@tilera.com>
6740
6741 * config/tilepro/atomic.c: Rename "atomic_" prefix to
6742 "arch_atomic_".
6743 (atomic_xor): Rename and move definition to
6744 config/tilepro/atomic.h.
6745 (atomic_nand): Ditto.
6746 * config/tilepro/atomic.h: Rename "atomic_" prefix to
6747 "arch_atomic_".
6748 (arch_atomic_xor): Move from config/tilepro/atomic.c.
6749 (arch_atomic_nand): Ditto.
6750
4e30d980
GJL
67512012-03-07 Georg-Johann Lay <avr@gjlay.de>
6752
6753 PR target/52507
6754 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
6755
61108225
GJL
67562012-03-07 Georg-Johann Lay <avr@gjlay.de>
6757
6758 PR target/52505
6759 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
6760 from RAM.
6761
b30e10ab
GJL
67622012-03-07 Georg-Johann Lay <avr@gjlay.de>
6763
6764 PR target/52461
6765 PR target/52508
6766 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
6767 if RAMPZ affects reading from RAM.
6768 (__tablejump_elpm__): Ditto.
6769 (.xload): Ditto.
6770 (__movmemx_hi): Ditto.
6771 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
6772 (__do_global_dtors): Ditto.
6773 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
6774 (__movmemx_hi): Ditto.
6775
8993fde4
RH
67762012-03-05 Richard Henderson <rth@redhat.com>
6777
6778 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
6779 [ARM] (count_trailing_zeros): Use the builtin.
6780
b7633ee3
KT
67812012-03-01 Kai Tietz <ktietz@redhat.com>
6782
6783 * soft-fp: Imported from glibc upstream.
6784
fbd3340c
KT
67852012-02-28 Kai Tietz <ktietz@redhat.com>
6786
6787 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
6788 for mingw-targets as attribute gcc_struct.
6789
e9e053eb
ILT
67902012-02-28 Ian Lance Taylor <iant@google.com>
6791
6792 * generic-morestack.c (__splitstack_releasecontext): Correct call
6793 to __morestack_release_segments.
6794
d80c632e
ST
67952012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
6796
6797 PR target/52390
6798 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
6799 for __linux__ when removing signals from __morestack_fullmask.
6800
0253a8b1
GJL
68012012-02-23 Georg-Johann Lay <avr@gjlay.de>
6802
6803 PR target/52261
6804 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
6805
e10e461e
UW
68062012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6807
6808 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
6809 instead of HAVE_INITFINI_ARRAY.
6810 * config/ia64/crtend.S: Likewise.
6811
0c0c6398
KT
68122012-02-20 Kai Tietz <ktietz@redhat.com>
6813
d7470374
KT
6814 PR libstdc++/52300
6815 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
6816
0c0c6398
KT
6817 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
6818 to w32-unwind.h header.
6819
78c27266
RS
68202012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
6821
6822 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
6823 (mips*-*-linux*): Remove t-slibgcc-libgcc.
6824 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
6825 * config/mips/mips16.S (__mips16_rdhwr): Delete.
6826
5adeb246
RS
68272012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
6828
6829 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
6830
672ed313
IS
68312012-02-15 Iain Sandoe <iains@gcc.gnu.org>
6832
6833 PR libitm/52220
6834 * config/darwin-crt-tm.c: Correct typo.
e9e053eb 6835
e948a1fb
IS
68362012-02-15 Iain Sandoe <iains@gcc.gnu.org>
6837 Patrick Marlier <patrick.marlier@gmail.com>
6838
6839 PR libitm/52220
6840 * config/darwin-crt-tm.c: Generate dummy functions.
6841
6017aed3
IS
68422012-02-15 Iain Sandoe <iains@gcc.gnu.org>
6843 Patrick Marlier <patrick.marlier@gmail.com>
6844
6845 PR libitm/52042
6846 * config/darwin-crt-tm.c (getTMCloneTable): New function.
6847 (__doTMRegistrations): Call it.
e9e053eb 6848 (__doTMdeRegistrations): Likewise.
6017aed3 6849
2da8c1ad 68502012-01-15 Georg-Johann Lay <avr@gjlay.de>
7d296953
JJ
6851 Anatoly Sokolov <aesok@post.ru>
6852 Eric Weddington <eric.weddington@atmel.com>
2da8c1ad
GJL
6853
6854 PR target/52261
6855 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
6856 (__epilogue_restores__): Ditto.
6857
0f952eb4
EB
68582012-02-15 Eric Botcazou <ebotcazou@adacore.com>
6859
6860 PR target/51921
6861 PR target/52205
6862 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
6863 Solaris 11 and slightly reformat.
6864 (sparc_is_sighandler): Likewise.
6865
dd552284
WL
68662012-02-14 Walter Lee <walt@tilera.com>
6867
6868 * config.host: Handle tilegx and tilepro.
6869 * config/tilegx/sfp-machine.h: New file.
6870 * config/tilegx/sfp-machine32.h: New file.
6871 * config/tilegx/sfp-machine64.h: New file.
6872 * config/tilegx/t-crtstuff: New file.
6873 * config/tilegx/t-softfp: New file.
6874 * config/tilegx/t-tilegx: New file.
6875 * config/tilepro/atomic.c: New file.
6876 * config/tilepro/atomic.h: New file.
6877 * config/tilepro/linux-unwind.h: New file.
6878 * config/tilepro/sfp-machine.h: New file.
6879 * config/tilepro/softdivide.c: New file.
6880 * config/tilepro/softmpy.S: New file.
6881 * config/tilepro/t-crtstuff: New file.
6882 * config/tilepro/t-tilepro: New file.
6883
b59cbd50
JW
68842012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
6885
6886 PR libstdc++/51296
6887 PR libstdc++/51906
6888 * gthr-posix.h: Allow static initializer macros to be disabled.
6889 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
6890
6caf807f
CLT
68912012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
6892
6893 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
6894 Add t-slibgcc-libgcc to tmake_file.
6895 * config/mips/libgcc-mips16.ver: Revert previous patch.
6896 * config/mips/mips16.S (__mips16_rdhwr): Hide.
6897
7d296953
JJ
68982012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
6899 Jayant R Sonar <jayant.sonar@kpitcummins.com>
b25364a0
S
6900
6901 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
6902 * config/cr16/crti.S: New file.
6903 * config/cr16/crtlibid.S: New file.
6904 * config/cr16/crtn.S: New file.
6905 * config/cr16/lib1funcs.S: New file.
6906 * config/cr16/t-cr16: New file.
6907 * config/cr16/t-crtlibid: New file.
6908 * config/cr16/unwind-dw2.h: New file.
6909 * config/cr16/unwind-cr16.c: New file.
6910 * config/cr16/divmodhi3.c: New file.
6911
8ef03aa7
AM
69122012-01-25 Alan Modra <amodra@gmail.com>
6913
6914 * config/rs6000/t-linux64: Delete. Move..
6915 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
6916 * config/rs6000/t-linux: ..and libgcc flags to here.
6917
daecebc8
DR
69182012-01-22 Douglas B Rupp <rupp@gnat.com>
6919
6920 * config.host (i[34567]86-*-interix3*):
8ef03aa7 6921 Change triplet to i[34567]86-*-interix[3-9]*.
daecebc8
DR
6922 * configure: Regenerate.
6923
ddaf8125
RS
69242012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
6925 Richard Sandiford <rdsandiford@googlemail.com>
6926
6927 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
6928 * config/mips/mips16.S (__mips16_rdhwr): New function.
6929 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
6930
2cd8b32c
NS
69312012-01-11 Nathan Sidwell <nathan@acm.org>
6932
6933 * libgcov.c (__gcov_init): Ignore objects with no functions.
6934
cba300dd
GJL
69352012-01-10 Georg-Johann Lay <avr@gjlay.de>
6936
6937 PR target/49868
6938 Extend __pgmx semantics to linearize memory.
6939 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
6940 * config/avr/lib1funcs.S (__xload_1): New function.
6941 (__movmemx_qi, __movmemx_hi): New functions.
6942 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
6943 semantics.
9ffaf4bc 6944
3d137660
EB
69452012-01-09 Eric Botcazou <ebotcazou@adacore.com>
6946
6947 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
6948 purported sigacthandler address isn't null before dereferencing it.
6949 (sparc_is_sighandler): Likewise.
6950
bf4db96c
EB
69512012-01-09 Eric Botcazou <ebotcazou@adacore.com>
6952
6953 PR ada/41929
6954 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
6955 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
6956 (sparc_is_sighandler): Likewise.
6957 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
6958
1ab3568b
TG
69592012-01-06 Tristan Gingold <gingold@adacore.com>
6960
6961 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
6962 compatibility thunks...
6963 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
6964 (crtbeginS.o, crtendS.o): ... and these to ...
6965 * config/ia64/t-ia64-elf: ... this new file.
6966 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
6967 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
6968
925b0ed8
AK
69692012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6970
6971 * configure: Regenerate.
6972 * config/s390/t-crtstuff: Remove -fPIC.
6973
a99ad737
JW
69742012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
6975
6976 PR bootstrap/51006
6977 * enable-execute-stack-mprotect.c (getpagesize): Do not define
6978 for NetBSD.
6979
884f56d1
GJL
69802012-01-02 Georg-Johann Lay <avr@gjlay.de>
6981
6982 PR target/51345
6983 * config/avr/lib1funcs.S: Remove FIXME comments.
6984 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
6985
8c57e547
GJL
69862012-01-02 Georg-Johann Lay <avr@gjlay.de>
6987
6988 Implement light-weight DImode support.
6989 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
6990 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
6991 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
6992 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
6993
04dbc287
NS
69942011-12-30 Nathan Sidwell <nathan@acm.org>
6995
6996 * libgcov.c (gcov_crc32): Remove global var.
6997 (free_fn_data): New function.
6998 (buffer_fn_data): Pass in filename, more robust error recovery.
6999 (crc32_unsigned): New function.
7000 (gcov_exit): More robust detection of new program. More robust
7001 error recovery.
7002 (__gcov_init): Do not update program's crc here.
7003
8e1d97d4
TG
70042011-12-21 Tristan Gingold <gingold@adacore.com>
7005
7006 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
7007
9ffaf4bc
ILT
70082011-12-21 Ian Lance Taylor <iant@google.com>
7009
7010 * config/i386/morestack.S: Simplify CFI opcodes throughout.
7011
a0c8d0c1
ILT
70122011-12-20 Ian Lance Taylor <iant@google.com>
7013
7014 * config/i386/morestack.S (__morestack_non_split): If there is
7015 enough stack space already, don't split. Ask for more stack space
7016 than we required.
7017
69048898
SDJ
70182011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
7019
7020 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
7021 `sys/sdt.h'.
7022 (_Unwind_DebugHook): New function.
7023 (uw_restore_core_regs): New define.
7024 (unwind_phase2): Use uw_restore_core_regs instead of
7025 restore_core_regs.
7026 (unwind_phase2_forced): Likewise.
7027 (__gnu_Unwind_Resume): Likewise.
7028
1bb4b6a3
UB
70292011-12-20 Uros Bizjak <ubizjak@gmail.com>
7030
7031 * config/alpha/linux-unwind.h: Update copyright years.
7032 (MD_FROB_UPDATE_CONTEXT): New define.
7033 (alpha_frob_update_context): New function.
7034
eb028768
RS
70352011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
7036
7037 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
7038 tmake_file rather replacing it.
7039
6a2045bf
IS
70402011-12-15 Iain Sandoe <iains@gcc.gnu.org>
7041
7042 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
1bb4b6a3 7043 function is not used for PPC64.
6a2045bf
IS
7044 (save_world): Amend comments. Update the VRsave mask to reflect the
7045 saved regs.
7046 (rest_world): Update comments, do not clobber r10, do not use r8.
7047 (eh_rest_world_r10): Amend comments, do not use r8.
7048 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
7049 no longer used, move restore of CR and target address to the end of
7050 the routine.
7051
a13780a6
L
70522011-12-14 H.J. Lu <hongjiu.lu@intel.com>
7053
7054 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
7055 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
7056
d7288dfb
GJL
70572011-12-14 Georg-Johann Lay <avr@gjlay.de>
7058
7059 PR target/49313
7060 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
7061 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
7062
8d2c862d
EB
70632011-12-11 Eric Botcazou <ebotcazou@adacore.com>
7064
7065 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
7066
3447cae6
GJL
70672011-12-09 Georg-Johann Lay <avr@gjlay.de>
7068
7069 PR target/49313
7070 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
7071 * config/avr/lib1funcs.S (__muldi3): New function.
7072
806fc6aa
AP
70732011-12-06 Andrew Pinski <apinski@cavium.com>
7074
7075 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
7076 size of func_ptr.
7077 (__frame_dummy_init_array_entry): Likewise.
7078
28c5e6b5
GJL
70792011-12-06 Georg-Johann Lay <avr@gjlay.de>
7080
7081 Forward-port from gcc-4_6-branch r181936 2011-12-02.
7082
7083 PR target/51345
7084 PR target/51002
7085 * config/avr/lib1funcs.S (__prologue_saves__,
7086 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
7087 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
7088
8f90394a
IS
70892011-12-04 Iain Sandoe <iains@gcc.gnu.org>
7090
7091 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
7092
06dd33ac
JDA
70932011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
7094
7095 PR other/51272
7096 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
7097 (_ITM_deregisterTMCloneTable): Likewise.
7098 (__register_frame_info): Fix unused warning.
7099 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
7100 pthread_default_stacksize_np): Likewise.
7101 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
1bb4b6a3 7102
85b8555e
DD
71032011-11-29 DJ Delorie <dj@redhat.com>
7104
7105 * config.host (rl78-*-elf): New case.
7106 * config/rl78: New directory for the Renesas RL78.
7107
4d5ae4ea
BS
71082011-11-29 Bernd Schmidt <bernds@codesourcery.com>
7109
7110 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
7111 formatting.
7112
f9c55897
RO
71132011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7114
7115 PR other/51022
7116 * config/rs6000/t-savresfgpr: New file.
7117 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
7118 $(srcdir)/config/rs6000/eabi.S.
7119 * config/rs6000/t-ppccomm-ldbl: Remove.
7120 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
7121 tmake_file.
7122 (powerpc-*-eabispe*): Likewise.
7123 (powerpc-*-eabi*): Likewise.
7124 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
7125 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
7126 to tmake_file, remove rs6000/t-ppccomm-ldbl.
7127 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
7128 tmake_file.
7129 (powerpc-*-eabisim*): Likewise.
7130 (powerpc-*-elf*): Likewise.
7131 (powerpc-*-eabialtivec*): Likewise.
7132 (powerpc-xilinx-eabi*): Likewise.
7133 (powerpc-*-rtems*): Likewise.
7134 (powerpcle-*-elf*): Likewise.
7135 (powerpcle-*-eabisim*): Likewise.
7136 (powerpcle-*-eabi*): Likewise.
7137
a01207c4
ILT
71382011-11-27 Ian Lance Taylor <iant@google.com>
7139
7140 * generic-morestack.c (__splitstack_find): Check for NULL old
7141 stack value.
7142 (__splitstack_resetcontext): New function.
7143 (__splitstack_releasecontext): New function.
7144 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
7145
2b0b8ab2
IS
71462011-11-27 Iain Sandoe <iains@gcc.gnu.org>
7147
7148 * config/darwin-crt-tm.c: Correct comments, use correct licence.
7149
c1d8101c
IS
71502011-11-27 Iain Sandoe <iains@gcc.gnu.org>
7151
7152 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
7153
8b281334
RH
71542011-11-26 Richard Henderson <rth@redhat.com>
7155
7156 * config/m68k/linux-atomic.c: New file.
7157 * config/m68k/t-linux: New file.
7158 * config.host (m68k-uclinux, m68k-linux): Use it.
7159
7546aa9d
RH
71602011-11-26 Richard Henderson <rth@redhat.com>
7161
7162 * crtstuff.c (__TMC_LIST__): Mark used not unused.
7163 (__TMC_END__): Only declare if hidden is available; in the definition,
7164 if hidden is unavailable add a null record.
7165 (deregister_tm_clones, register_tm_clones): New.
7166 (__do_global_dtors_aux, frame_dummy): Use them.
7167 (__do_global_dtors, __do_global_ctors_1): Likewise.
7168
e2362f5d
IS
71692011-11-22 Iain Sandoe <iains@gcc.gnu.org>
7170
7171 * config/darwin-crt-tm.c: New file.
7172 * config.host (darwin): Build crttms.o crttme.o to provide
7173 startup and shutdown for tm clones.
7174 * config/t-darwin (crttms.o): New build rule.
7175 (crttme.o): Likewise.
7176
6685dd96
HPN
71772011-11-21 Hans-Peter Nilsson <hp@axis.com>
7178
7179 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
7180 et al.
7181
b0dc7e4c
RH
71822011-11-21 Richard Henderson <rth@redhat.com>
7183
7184 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
7185 (__TMC_LIST__, __TMC_END__): New.
7186 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
7187 (__do_global_dtors): Likewise.
7188 (frame_dummy): Call _ITM_registerTMCloneTable.
7189 (__do_global_ctors_1): Likewise.
7190
d4b4b542
RO
71912011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7192
7193 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
7194 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
7195 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
7196 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
7197 * config/i386/t-darwin64: Remove.
7198 * config/sh/t-netbsd (LIB2ADD): Remove.
7199
989bdb74
GJL
72002011-11-21 Georg-Johann Lay <avr@gjlay.de>
7201
7202 PR target/49313
7203 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
7204 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
7205 * config/avr/lib1funcs.S (wmov): New assembler macro.
7206 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
7207 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
7208 (__udivmod64): New function.
7209 (__negdi2): New function.
7210
515a0cfc
GP
72112011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
7212
7213 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
7214 *-*-freebsd*aout*): Remove.
7215
0115d17f
HPN
72162011-11-20 Hans-Peter Nilsson <hp@axis.com>
7217
7218 * static-object.mk (c_flags-$o): Save c_flags.
7219 ($(base)$(objext)): Use it.
7220
93aeb62b
SE
72212011-11-18 Steve Ellcey <sje@cup.hp.com>
7222
7223 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
7224
7bc6df2c
GJL
72252011-11-18 Georg-Johann Lay <avr@gjlay.de>
7226
7227 PR target/49868
7228 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
7229 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
7230 New functions.
7231
425d737b
MGD
72322011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
7233
7234 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
7235 functions.
1bb4b6a3 7236 (aeabi_uidivmod): Likewise.
425d737b
MGD
7237 (umodsi3): Likewise.
7238 (divsi3): Likewise.
7239 (aeabi_idivmod): Likewise.
7240 (modsi3): Likewise.
7241
f2a176dc
TG
72422011-11-16 Tristan Gingold <gingold@adacore.com>
7243
7244 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
7245
7c209481
GJL
72462011-11-15 Georg-Johann Lay <avr@gjlay.de>
7247
7248 PR target/49868
7249 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
7250 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
7251
9dfd5832
JDA
72522011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
7253
7254 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
7255 tmake_file list.
7256 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
7257 * config/pa/t-stublib64: Delete.
7258
f77dca5d
RH
72592011-11-12 Richard Henderson <rth@redhat.com>
7260
7261 * config/rs6000/linux-unwind.h (frob_update_context): Properly
7262 cast the pointer argument to _Unwind_SetGRPtr.
7263
902828f0
RO
72642011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7265
7266 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
7267
e14304ef
ILT
72682011-11-09 Ian Lance Taylor <iant@google.com>
7269
7270 * generic-morestack.c: Include <string.h>.
7271 (uintptr_type): Define.
7272 (struct initial_sp): Add dont_block_signals field. Reduce size of
7273 extra array by 1.
7274 (allocate_segment): Set prev field to NULL. Don't set
7275 __morestack_current_segment or __morestack_segments.
7276 (__generic_morestack): Update current->prev and *pp after calling
7277 allocate_segment.
7278 (__morestack_block_signals): Don't do anything if
7279 dont_block_signals is set.
7280 (__morestack_unblock_signals): Likewise.
7281 (__generic_findstack): Check for initial_sp == NULL. Add casts to
7282 uintptr_type.
7283 (__splitstack_block_signals): New function.
7284 (enum __splitstack_content_offsets): Define.
7285 (__splitstack_getcontext, __splitstack_setcontext): New functions.
7286 (__splitstack_makecontext): New function.
7287 (__splitstack_block_signals_context): New function.
7288 (__splitstack_find_context): New function.
7289 * config/i386/morestack.S (__morestack_get_guard): New function.
7290 (__morestack_set_guard, __morestack_make_guard): New functions.
7291 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
7292
e3d871e4
RO
72932011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7294
7295 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
7296 (i[34567]86-*-mingw*): ... here.
7297 (x86_64-*-mingw*): ... here.
7298
e55cef40
RO
72992011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7300
7301 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
7302
5366b186
NS
73032011-11-07 Nathan Sidwell <nathan@acm.org>
7304
7305 * libgcov.c (struct gcov_fn_buffer): New struct.
7306 (buffer_fn_data): New helper.
7307 (gcov_exit): Rework for new gcov data structures.
7308
74155a6f
GJL
73092011-11-07 Georg-Johann Lay <avr@gjlay.de>
7310
7311 PR target/49313
7312 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
7313
200feb07
RO
73142011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7315
7316 * config.host (tmake_file): Correct comment.
7317 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
7318 t-libgcc-pic.
7319 (bfin*-uclinux*): Likewise.
7320 (bfin*-linux-uclibc*): Likewise.
7321 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
7322
7323 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
7324 assigning.
7325 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7326 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
7327 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7328 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
7329 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7330 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
7331 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
7332 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7333 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
7334 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
7335 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
7336 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
7337 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
7338
7339 * config/bfin/t-elf: Remove.
7340 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
7341
c9cd1a07
RO
73422011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7343
7344 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
7345 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
7346 (lm32-*-elf*, lm32-*-rtems*): Split into ...
7347 (lm32-*-elf*): ... this.
7348 (lm32-*-rtems*): ... and this.
7349 Add to tmake_file.
7350 (m32r-*-rtems*): Add to tmake_file.
7351 (moxie-*-rtems*): Likewise.
7352 (sparc-*-rtems*): Likewise.
7353 Remove t-rtems from tmake_file.
7354 (sparc64-*-rtems*): Likewise.
7355 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
7356 instead.
7357
9fbcc75d
RO
73582011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7359
7360 PR bootstrap/50982
7361 * config/gthr-posix.h: Move ...
7362 * gthr-posix.h: ... here.
7363 * config/gthr-lynx.h: Reflect this.
7364 * config/gthr-vxworks.h: Likewise.
7365 * config/rs6000/gthr-aix.h: Likewise.
7366 * configure.ac (target_thread_file): Likewise.
7367 * configure: Regenerate.
7368
76644b68
SH
73692011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
7370
7371 * config.host (arm*-*-rtemseabi*): New target.
7372
5e490f2a
JDA
73732011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
7374
7375 PR other/50991
7376 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
7377 extra-parts.
7378
feeeff5c
JR
73792011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
7380
7381 * config.host (epiphany-*-elf*): New configuration.
7382 * config/epiphany: New Directory.
7383
d618bb2c
RC
73842011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
7385
7386 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
7387 * config/avr/t-rtems: New.
7388 Filter out _exit from LIB1ASMFUNCS.
7389
1bb6f778
DM
73902011-11-04 David S. Miller <davem@davemloft.net>
7391
7392 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
7393 * configure: Rebuild.
7394
9a7f7422
AK
73952011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7396
7397 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
7398 variable.
7399
e4fe948a
GJL
74002011-11-04 Georg-Johann Lay <avr@gjlay.de>
7401
7402 PR target/50931
7403 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
7404 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
7405
7084e037
JS
74062011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
7407
7408 PR target/50989
7409 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
7410
1a032034
RO
74112011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7412
7413 * config/c6x/t-elf (LIB2ADDEH): Set.
7414 * config/c6x/t-c6x-elf: Remove.
7415
d385f772
RO
74162011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7417
7418 * config/i386/sol2-ci.S: Rename to ...
7419 * config/i386/crti.S: ... this.
7420 * config/i386/sol2-cn.S: Rename to ...
7421 * config/i386/crtn.S: ... this.
7422 * config/sparc/sol2-ci.S: Rename to ...
7423 * config/sparc/crti.S: ... this.
7424 * config/sparc/sol2-cn.S: Rename to ...
7425 * config/sparc/crtn.S: ... this.
7426 * config/t-sol2 (CUSTOM_CRTIN): Remove.
7427 (crti.o, crtn.o): Remove.
7428
1ba878a9
TG
74292011-11-04 Tristan Gingold <gingold@adacore.com>
7430
7431 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
7432
02750c15
KK
74332011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
7434
7435 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
7436
bf86b067
HPN
74372011-11-03 Hans-Peter Nilsson <hp@axis.com>
7438
7439 * config.host (crisv32-*-none, cris-*-none): Remove.
7440 (crisv32-*-elf): Append to tmake_file, don't just set it.
7441 (cris-*-elf): Add missing t-fdpbit to tmake_file.
7442
d0bc53bd
RO
74432011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7444
7445 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
7446 (ecrtn$(objext)): Likewise.
7447 (ncrti$(objext)): Likewise.
7448 (ncrtn$(objext)): Likewise.
7449
036da830
AS
74502011-11-03 Andreas Schwab <schwab@redhat.com>
7451
7452 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
7453
d2a7d041
DM
74542011-11-02 David S. Miller <davem@davemloft.net>
7455
7456 * configure.ac: Set host_address on sparc too.
7457 * configure: Regenerate.
7458 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
7459 based upon host_address.
7460 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
7461
af8ed618
JM
74622011-11-02 Jason Merrill <jason@redhat.com>
7463
7464 * config/rs6000/t-ppccomm: Add missing \.
7465
5d1c8e77
RO
74662011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7467
7468 * gthr-single.h, gthr.h: New files.
7469 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
7470 config/gthr-vxworks.h, config/i386/gthr-win32.h,
7471 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
7472 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
7473 * config/i386/gthr-win32.c: Include "gthr-win32.h".
7474 * configure.ac (thread_header): New variable.
7475 Set it depending on target_thread_file.
7476 (gthr-default.h): Link from $thread_header.
7477 * configure: Regenerate.
7478 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
7479
852b75ed
RO
74802011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7481
7482 * configure.ac (tm_file_): New variable.
7483 Determine from tm_file.
7484 (tm_file, tm_defines): Substitute.
7485 * configure: Regenerate.
7486 * mkheader.sh: New file.
7487 * Makefile.in (clean): Remove libgcc_tm.h.
7488 ($(objects)): Depend on libgcc_tm.h.
7489 (libgcc_tm_defines, libgcc_tm_file): New variables.
7490 (libgcc_tm.h, libgcc_tm.stamp): New targets.
7491 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
7492 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
7493 ($(extra-parts)): Depend on libgcc_tm.h.
7494 * config.host (tm_defines, tm_file): New variable.
7495 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
7496 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
7497 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
7498 (avr-*-rtems*): Likewise.
7499 (avr-*-*): Likewise.
7500 (frv-*-elf): Likewise.
7501 (frv-*-*linux*): Likewise.
7502 (h8300-*-rtems*): Likewise.
7503 (h8300-*-elf*): Likewise.
7504 (i[34567]86-*-darwin*): Likewise.
7505 (x86_64-*-darwin*): Likewise.
7506 (rx-*-elf): Likewise.
7507 (tic6x-*-uclinux): Likewise.
7508 (tic6x-*-elf): Likewise.
7509 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
7510 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
7511 * config/i386/cygming-crtbegin.c: Likewise.
7512 * config/i386/cygming-crtend.c: Likewise.
7513 * config/ia64/fde-vms.c: Likewise.
7514 * config/ia64/unwind-ia64.c: Likewise.
7515 * config/libbid/bid_gcc_intrinsics.h: Likewise.
7516 * config/rs6000/darwin-fallback.c: Likewise.
7517 * config/stormy16/lib2funcs.c: Likewise.
7518 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
7519 * crtstuff.c: Likewise.
7520 * dfp-bit.h: Likewise.
7521 * emutls.c: Likewise.
7522 * fixed-bit.c: Likewise.
7523 * fp-bit.c: Likewise.
7524 * generic-morestack-thread.c: Likewise.
7525 * generic-morestack.c: Likewise.
7526 * libgcc2.c: Likewise.
7527 * libgcov.c: Likewise.
7528 * unwind-dw2-fde-dip.c: Likewise.
7529 * unwind-dw2-fde.c: Likewise.
7530 * unwind-dw2.c: Likewise.
7531 * unwind-sjlj.c: Likewise.
7532
f9989b51
RO
75332011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7534
7535 * configure.ac: Include ../config/picflag.m4.
7536 (GCC_PICFLAG): Call it.
7537 Substitute.
7538 * configure: Regenerate.
7539 * Makefile.in (gcc_srcdir): Remove.
7540 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
7541 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
7542 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
7543 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
7544 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
7545 Use $<.
7546 Remove comment.
7547 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
7548 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
7549 to refer to libgcc2.c.
7550 Use $<.
7551 * config/darwin-64.c: New file.
7552 * config/darwin-crt3.c: Remove comment.
7553 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
7554 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
7555 config/udivmodsi4.c: New files.
7556 * config/memcmp.c, config/memcpy.c, config/memmove.c,
7557 config/memset.c: New files.
7558 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
7559 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
7560 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
7561 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
7562 * config/t-openbsd-thread: New file.
7563 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
7564 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
7565 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
7566 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
7567 qrnnd.S.
7568 Adapt filename.
7569 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
7570 to refer to gthr-posix.c.
7571 * config/alpha/t-vms (LIB2ADD): Set.
7572 * config/alpha/vms-gcc_shell_handler.c: New file.
7573 * config/arm/bpabi.c, config/arm/fp16.c,
7574 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
7575 config/arm/unaligned-funcs.c: New files.
7576 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
7577 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
7578 * config/arm/t-linux: Likewise.
7579 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
7580 * config/arm/t-netbsd: New file.
7581 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
7582 * config/arm/t-symbian (LIB2ADD_ST): Set.
7583 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
7584 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7585 * config/bfin/t-elf: New file.
7586 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
7587 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
7588 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
7589 config/c6x/ltf.c: New files.
7590 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
7591 (HOST_LIBGCC2_CFLAGS): Set.
7592 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
7593 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7594 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
7595 New files.
7596 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
7597 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
7598 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
7599 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
7600 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
7601 files.
7602 * config/frv/t-frv (LIB2ADD): Set.
7603 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7604 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
7605 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
7606 config/h8300/popcounthi2.c: New files.
7607 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
7608 * config/i386/gthr-win32.c: New file.
7609 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
7610 * config/i386/t-cygwin: Likewise.
7611 * config/i386/t-darwin, config/i386/t-darwin64,
7612 config/i386/t-gthr-win32, config/i386/t-interix: New files.
7613 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
7614 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7615 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7616 * config/ia64/quadlib.c: New file.
7617 * config/ia64/t-hpux (LIB2ADD): Set.
7618 * config/ia64/t-ia64: Add comment.
7619 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
7620 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7621 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
7622 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
7623 * config/m32c/t-m32c (LIB2ADD): Set.
7624 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
7625 * config/m32r/t-m32r: Likewise.
7626 * config/m68k/fpgnulib.c: New file.
7627 * config/m68k/t-floatlib (LIB2ADD): Set.
7628 (xfgnulib.c): New target.
7629 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
7630 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
7631 * config/mep/t-mep (LIB2ADD): Set.
7632 * config/microblaze/divsi3.asm: Rename to divsi3.S.
7633 * config/microblaze/moddi3.asm: Rename to moddi3.S.
7634 * config/microblaze/modsi3.asm: Rename to modsi3.S.
7635 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
7636 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
7637 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
7638 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
7639 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
7640 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
7641 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
7642 New files.
7643 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
7644 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
7645 * config/pa/fptr.c, config/pa/lib2funcs.S,
7646 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
7647 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
7648 (LIB2ADD, LIB2ADD_ST): Set.
7649 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
7650 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
7651 Set.
7652 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
7653 * config/pdp11/t-pdp11: New file.
7654 * config/picochip/libgccExtras/adddi3.S,
7655 config/picochip/libgccExtras/ashlsi3.S,
7656 config/picochip/libgccExtras/ashrsi3.S,
7657 config/picochip/libgccExtras/clzsi2.S,
7658 config/picochip/libgccExtras/cmpsi2.S,
7659 config/picochip/libgccExtras/divmod15.S,
7660 config/picochip/libgccExtras/divmodhi4.S,
7661 config/picochip/libgccExtras/divmodsi4.S,
7662 config/picochip/libgccExtras/lshrsi3.S,
7663 config/picochip/libgccExtras/parityhi2.S,
7664 config/picochip/libgccExtras/popcounthi2.S,
7665 config/picochip/libgccExtras/subdi3.S,
7666 config/picochip/libgccExtras/ucmpsi2.S,
7667 config/picochip/libgccExtras/udivmodhi4.S,
7668 config/picochip/libgccExtras/udivmodsi4.S: New files.
7669 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
7670 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
7671 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
7672 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
7673 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
7674 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
7675 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
7676 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
7677 files.
7678 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
7679 (HOST_LIBGCC2_CFLAGS): Set.
7680 * config/rs6000/t-darwin64: New file.
7681 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
7682 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
7683 * config/rs6000/t-ppccomm (LIB2ADD): Add
7684 $(srcdir)/config/rs6000/tramp.S.
7685 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
7686 Add $(srcdir)/config/rs6000/eabi.S.
7687 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
7688 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
7689 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
7690 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
7691 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
7692 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
7693 * config/rs6000/tramp.S: New file.
7694 * config/s390/t-tpf: Remove.
7695 * config/sh/linux-atomic.S: New file.
7696 * config/sh/t-linux (LIB2ADD): Set.
7697 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
7698 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
7699 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
7700 to unwind-dw2.c.
7701 (HOST_LIBGCC2_CFLAGS): Set.
7702 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7703 * config/spu/divmodti4.c, config/spu/divv2df3.c,
7704 config/spu/float_disf.c, config/spu/float_unsdidf.c,
7705 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
7706 config/spu/mfc_multi_tag_release.c,
7707 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
7708 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
7709 config/spu/multi3.c: New files.
7710 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
7711 (HOST_LIBGCC2_CFLAGS): Set.
7712 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
7713 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
7714 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
7715 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
7716 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
7717 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
7718 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
7719 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
7720 config/stormy16/umodsi3.c: New files.
7721 * config/xtensa/lib2funcs.S: New file.
7722 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
7723 * config/xtensa/t-xtensa (LIB2ADD): Set.
7724 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
7725 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
7726 Add t-freebsd-thread to tmake_file for posix threads.
7727 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
7728 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
7729 (*-*-lynxos*): Likewise.
7730 (*-*-netbsd*): Likewise.
7731 (*-*-openbsd*): Likewise.
7732 Add t-openbsd-thread to tmake_file for posix threads.
7733 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
7734 (*-*-vxworks*): Set tmake_file.
7735 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
7736 (alpha*-*-freebsd*): Likewise.
7737 (alpha*-*-netbsd*): Likewise.
7738 (alpha*-*-openbsd*): Likewise.
7739 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
7740 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
7741 (alpha*-dec-*vms*): Likewise.
7742 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
7743 (bfin*-elf*): Add bfin/t-elf to tmake_file.
7744 (bfin*-uclinux*): Likewise.
7745 (bfin*-linux-uclibc*): Likewise.
7746 (crisv32-*-elf): Add cris/t-cris to tmake_file.
7747 (crisv32-*-none): Likewise.
7748 (cris-*-elf): Likewise.
7749 (cris-*-none): Likewise.
7750 (cris-*-linux*, crisv32-*-linux*): Likewise.
7751 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
7752 tmake_file.
7753 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
7754 tmake_file.
7755 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
7756 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
7757 (x86_64-*-elf*): Likewise.
7758 (i[34567]86-*-nto-qnx*): Likewise.
7759 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
7760 win32 threads.
7761 (x86_64-*-mingw*): Likewise.
7762 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
7763 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
7764 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
7765 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
7766 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
7767 tmake_file.
7768 (mipsisa64sr71k-*-elf*): Likewise.
7769 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
7770 (mips-*-elf*, mipsel-*-elf*): Likewise.
7771 (mips64-*-elf*, mips64el-*-elf*): Likewise.
7772 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
7773 (mips*-*-rtems*): Likewise.
7774 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
7775 to tmake_file.
7776 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
7777 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
7778 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
7779 (spu-*-elf*): Likewise.
7780 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
7781
45b86625
RO
77822011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7783
7784 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
7785 $(srcdir) to refer to $(LIB1ASMSRC).
7786 Use $<.
7787 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
7788 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
7789 config/arm/lib1funcs.S: New files.
7790 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
7791 * config/arm/t-arm: New file.
7792 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
7793 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
7794 config/arm/t-strongarm-elf: New files.
7795 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
7796 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
7797 * config/avr/lib1funcs.S: New file.
7798 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7799 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
7800 * config/c6x/lib1funcs.S: New file.
7801 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7802 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
7803 * config/frv/lib1funcs.S: New file.
7804 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7805 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
7806 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
7807 * config/ia64/__divxf3.asm: Rename to ...
7808 * config/ia64/__divxf3.S: ... this.
7809 Adapt lib1funcs.asm filename.
7810 * config/ia64/_fixtfdi.asm: Rename to ...
7811 * config/ia64/_fixtfdi.S: ... this.
7812 Adapt lib1funcs.asm filename.
7813 * config/ia64/_fixunstfdi.asm: Rename to ...
7814 * config/ia64/_fixunstfdi.S: ... this.
7815 Adapt lib1funcs.asm filename.
7816 * config/ia64/_floatditf.asm: Rename to ...
7817 * config/ia64/_floatditf.S: ... this.
7818 Adapt lib1funcs.asm filename.
7819 * config/ia64/lib1funcs.S: New file.
7820 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
7821 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7822 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
7823 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
7824 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
7825 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
7826 * config/mep/lib1funcs.S: New file.
7827 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7828 * config/mips/mips16.S: New file.
7829 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7830 * config/pa/milli64.S: New file.
7831 * config/pa/t-linux, config/pa/t-linux64: New files.
7832 * config/picochip/lib1funcs.S: New file.
7833 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7834 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
7835 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
7836 * config/sh/t-netbsd: New file.
7837 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
7838 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
7839 * config/sh/t-sh64: New file.
7840 * config/sparc/lb1spc.S: New file.
7841 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
7842 filename.
7843 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
7844 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
7845 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
7846 config/xtensa/lib1funcs.S: New files.
7847 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7848 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
7849 tmake_file.
7850 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
7851 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
7852 (arm*-*-linux*): Likewise.
7853 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
7854 arm*-*-linux-*eabi, add arm/t-linux otherwise.
7855 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
7856 (arm*-*-ecos-elf): Likewise.
7857 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
7858 (arm*-*-rtems*): Likewise.
7859 (arm*-*-elf): Likewise.
7860 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
7861 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
7862 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
7863 (bfin*-uclinux*): Likewise.
7864 (bfin*-linux-uclibc*): Likewise.
7865 (bfin*-rtems*): Likewise.
7866 (bfin*-*): Likewise.
7867 (fido-*-elf): Merge into m68k-*-elf*.
7868 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
7869 (frv-*-*linux*): Add frv/t-frv to tmake_file.
7870 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
7871 (h8300-*-elf*): Likewise.
7872 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
7873 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
7874 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
7875 (i[34567]86-*-mingw*): Likewise.
7876 (x86_64-*-mingw*): Likewise.
7877 (i[34567]86-*-interix3*): Likewise.
7878 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
7879 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
7880 (m68k-*-elf*): Also handle fido-*-elf.
7881 Add m68k/t-floatlib to tmake_file.
7882 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
7883 (m68k-*-linux*): Likewise.
7884 (m68k-*-rtems*): Likewise.
7885 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
7886 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
7887 sh64*-*-*.
7888 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
7889 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
7890 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
7891 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
7892 sh/t-netbsd to tmake_file.
7893 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
7894 (sh-*-rtems*): Add sh/t-sh to tmake_file.
7895 (sh-wrs-vxworks): Likewise.
7896 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
7897 *-leon[3-9]*.
7898 (v850*-*-*): Add v850/t-v850 to tmake_file.
7899 (vax-*-linux*): Add vax/t-linux to tmake_file.
7900 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
7901
5f73c6cc
RO
79022011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7903
7904 * crtstuff.c: New file.
7905 * Makefile.in (CRTSTUFF_CFLAGS): Define.
7906 (CRTSTUFF_T_CFLAGS): Define.
7907 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
7908 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
7909 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
7910 crtstuff.c.
7911 Use $<.
7912 (crtbeginT.o): Use $(objext).
7913 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
7914 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
7915 (gcc-extra-parts): Remove.
7916 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
7917 Set extra_parts.
7918 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
7919 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
7920 Add t-crtstuff-pic to tmake_file.
7921 (*-*-lynxos*): New case.
7922 Set tmake_file, extra_parts.
7923 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
7924 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
7925 *-*-netbsdelf[2-9]*.
7926 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
7927 (*-*-rtems*): Set extra_parts.
7928 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
7929 (*-*-uclinux*): New case.
7930 Set extra_parts.
7931 (*-*-vms*): New case.
7932 Set tmake_file, extra_parts.
7933 (*-*-elf): Set extra_parts.
7934 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
7935 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
7936 vms/t-vms64.
7937 Set extra_parts.
7938 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
7939 Set extra_parts.
7940 (arm*-*-freebsd*): Add t-crtin to tmake_file.
7941 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
7942 (arm-wrs-vxworks): Append to tmake_file.
7943 Set extra_parts.
7944 (arm*-*-uclinux*): Set extra_parts.
7945 (arm*-*-ecos-elf): Likewise.
7946 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
7947 arm*-*-eabi*.
7948 (arm*-*-rtems*): Set extra_parts.
7949 (arm*-*-elf): Likewise.
7950 (avr-*-rtems*): Clear extra_parts.
7951 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
7952 Set extra_parts.
7953 (bfin*-uclinux*): Likewise.
7954 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
7955 (bfin*-rtems*): Append to tmake_file.
7956 Set extra_parts.
7957 (bfin*-*): Likewise.
7958 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
7959 (crisv32-*-elf): ... this.
7960 (crisv32-*-none): ... this.
7961 (cris-*-elf, cris-*-none): New cases.
7962 Add cris/t-elfmulti to tmake_file.
7963 (fr30-*-elf): Append to tmake_file.
7964 Set extra_parts.
7965 (frv-*-elf): Append to tmake_file, add frv/t-frv.
7966 Set extra_parts.
7967 (h8300-*-rtems*): Append to tmake_file.
7968 Set extra_parts.
7969 (h8300-*-elf*): Likewise.
7970 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
7971 Set extra_parts.
7972 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
7973 Set extra_parts.
7974 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
7975 (x86_64-*-elf*): Likewise.
7976 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
7977 (x86_64-*-freebsd*): Likewise.
7978 (x86_64-*-netbsd*): Likewise.
7979 (i[34567]86-*-linux*): Likewise.
7980 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
7981 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
7982 (x86_64-*-linux*): Likewise.
7983 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
7984 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
7985 tmake_file.
7986 Set extra_parts.
7987 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
7988 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
7989 Append to extra_parts, remove crtbegin.o, crtend.o.
7990 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
7991 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
7992 crtend.o, crtbeginS.o, crtendS.o.
7993 (ia64*-*-linux*): Comment extra_parts.
7994 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
7995 Set extra_parts.
7996 (iq2000*-*-elf*): Clear extra_parts.
7997 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
7998 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
7999 (m32r-*-elf*, m32r-*-rtems*): Split off ...
8000 (m32r-*-rtems*): ... this.
8001 Add m32r/t-m32r to tmake_file.
8002 (m68k-*-elf*): Add t-crtin to tmake_file.
8003 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
8004 (mcore-*-elf): Likewise.
8005 (microblaze*-*-*): Set extra_parts.
8006 (mips*-sde-elf*): New case.
8007 Set tmake_file, extra_parts.
8008 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
8009 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
8010 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
8011 tmake_file.
8012 Set extra_parts.
8013 (mipsisa64sr71k-*-elf*): Likewise.
8014 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
8015 (mips-*-elf*, mipsel-*-elf*): Likewise.
8016 (mips64-*-elf*, mips64el-*-elf*): Likewise.
8017 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
8018 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
8019 (mips*-*-rtems*): Likewise.
8020 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
8021 (moxie-*-*): Split into ...
8022 (moxie-*-elf, moxie-*-uclinux*): ... this.
8023 Add to extra_parts, remove crtbegin.o, crtend.o.
8024 (moxie-*-rtems*): New case.
8025 Set tmake_file.
8026 Clear extra_parts.
8027 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
8028 Set extra_parts.
8029 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
8030 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
8031 tmake_file.
8032 Set extra_parts.
8033 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
8034 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
8035 Set extra_parts.
8036 (powerpc-*-eabisim*): Likewise.
8037 (powerpc-*-elf*): Likewise.
8038 (powerpc-*-eabialtivec*): Likewise.
8039 (powerpc-xilinx-eabi*): Likewise.
8040 (powerpc-*-eabi*): Likewise.
8041 (powerpc-*-rtems*): Likewise.
8042 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
8043 tmake_file.
8044 Set extra_parts.
8045 (powerpc-*-lynxos*): Add to tmake_file.
8046 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
8047 rs6000/t-crtstuff, t-crtstuff-pic.
8048 Set extra_parts.
8049 (powerpcle-*-eabisim*): Likewise.
8050 (powerpcle-*-eabi*): Likewise.
8051 (rx-*-elf): Remove extra_parts.
8052 (s390x-ibm-tpf*): Set extra_parts.
8053 (score-*-elf): Set extra_parts.
8054 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
8055 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
8056 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
8057 (sh64l*-*-netbsd*): Split into ...
8058 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
8059 Add t-crtstuff-pic to tmake_file.
8060 Set extra_parts.
8061 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
8062 Set extra_parts.
8063 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
8064 (sparc-*-elf*): Remove t-crtin from tmake_file.
8065 Add to extra_parts, remove crtbegin.o, crtend.o.
8066 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
8067 (sparc64-*-linux*): Likewise.
8068 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
8069 Add to extra_parts, remove crtbegin.o, crtend.o.
8070 (sparc64-*-elf*): Remove t-crtin from tmake_file.
8071 Add to extra_parts, remove crtbegin.o, crtend.o.
8072 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
8073 Add to extra_parts, remove crtbegin.o, crtend.o.
8074 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
8075 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
8076 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
8077 Set extra_parts.
8078 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
8079 Set extra_parts.
8080 (tic6x-*-*): Change to ...
8081 (tic6x-*-elf): ... this.
8082 Set extra_parts.
8083 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
8084 Set extra_parts.
8085 (am33_2.0-*-linux*): Add comment.
8086 (mep*-*-*): Add mep/t-mep to tmake_file.
8087 Set extra_parts.
8088 * config/alpha/t-vms: New file.
8089 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
8090 * config/arm/crti.S, config/arm/crtn.S: New files.
8091 * config/bfin/crti.S, config/bfin/crtn.S: New files.
8092 * config/bfin/crtlibid.S: New file.
8093 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
8094 * config/c6x/crti.S, config/c6x/crtn.S: New files.
8095 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
8096 (crti.o, crtin.o): New rules.
8097 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
8098 * config/c6x/t-uclinux: New file.
8099 * config/cris/t-elfmulti: New file.
8100 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
8101 * config/fr30/crti.S, config/fr30/crtn.S: New files.
8102 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
8103 * config/frv/t-frv: New file.
8104 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
8105 * config/h8300/crti.S, config/h8300/crtn.S: New files.
8106 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
8107 New files.
8108 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
8109 refer to cygming-crtbegin.c, cygming-crtend.c.
8110 Use $<.
8111 * config/i386/t-nto: New file.
8112 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
8113 * config/ia64/crti.S, config/ia64/crtn.S: New files.
8114 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
8115 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
8116 Use .S extension.
8117 Use $<.
8118 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
8119 (crtinitS.o): New rule.
8120 * config/ia64/vms-crtinit.S: New file.
8121 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
8122 * config/m32r/initfini.c: New file.
8123 * config/m32r/t-linux, config/m32r/t-m32r: New files.
8124 * config/m68k/crti.S, config/m68k/crtn.S: New files.
8125 * config/mcore/crti.S, config/mcore/crtn.S: New files.
8126 * config/mep/t-mep: New file.
8127 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
8128 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
8129 * config/mips/crti.S, config/mips/crtn.S: New files.
8130 * config/mips/t-crtstuff: New file.
8131 * config/mmix/crti.S, config/mmix/crtn.S: New files.
8132 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
8133 (CUSTOM_CRTIN): Set.
8134 ($(T)crti.o, $(T)crtn.o): Remove $(T),
8135 dependencies.
8136 Use $(srcdir) to refer to crti.S, crtn.S.
8137 Use .S extension, $<.
8138 * config/moxie/crti.asm: Rename to ...
8139 * config/moxie/crti.S: ... this.
8140 * config/moxie/crtn.asm: Rename to ...
8141 * config/moxie/crtn.S: ... this.
8142 * config/moxie/t-moxie: Remove.
8143 * config/pa/stublib.c: New file.
8144 * config/pa/t-stublib, config/pa/t-stublib64: New files.
8145 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
8146 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
8147 * config/rs6000/t-crtstuff: New file.
8148 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
8149 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
8150 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
8151 Make output file explicit.
8152 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
8153 Make output file explicit.
8154 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
8155 Make output file explicit.
8156 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
8157 Make output file explicit.
8158 * config/score/crti.S, config/score/crtn.S: New files.
8159 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
8160 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
8161 files.
8162 * config/sh/t-sh, config/sh/t-superh: New files.
8163 * config/sparc/t-linux64: New file.
8164 * config/spu/cache.S, config/spu/cachemgr.c: New files.
8165 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
8166 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
8167 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
8168 * config/t-crtin: Remove.
8169 * config/t-crtstuff-pic: New file.
8170 * config/t-sol2 (CUSTOM_CRTIN): Set.
8171 (crti.o, crtn.o): New rules.
8172 * config/vms/t-vms: New file.
8173 * config/vms/vms-ucrt0.c: New file.
8174 * config/xtensa/t-elf: New file.
8175
b040f2be
RO
81762011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8177
8178 * Makefile.in (SHLIB_NM_FLAGS): Set.
8179 * mkmap-flat.awk, mkmap-symver.awk: New files.
8180 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
8181 exceptions.
8182 * configure: Regenerate.
8183 * config/libgcc-glibc.ver: New file.
8184 * config/libgcc-libsystem.ver: New file.
8185 * config/t-libunwind (SHLIB_LC): Set.
8186 * config/t-linux: New file.
8187 * config/t-slibgcc (INSTALL_SHLIB): New.
8188 (SHLIB_INSTALL): Use it.
8189 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
8190 to mkmap-symver.awk.
8191 (SHLIB_MAPFILES): Don't append, adapt pathname.
8192 (SHLIB_VERPFX): Set.
8193 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
8194 to mkmap-symver.awk.
8195 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
8196 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
8197 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
8198 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
8199 to mkmap-flat.awk.
8200 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
8201 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
8202 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
8203 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
8204 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
8205 * config/i386/libgcc-darwin.10.4.ver,
8206 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
8207 New files.
8208 * config/i386/t-darwin: Remove.
8209 * config/i386/t-darwin64: Likewise.
8210 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
8211 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
8212 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
8213 * config/i386/t-linux: New file.
8214 * config/i386/t-mingw32: New file.
8215 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
8216 * config/ia64/t-glibc: Rename to ...
8217 * config/ia64/t-linux: ... this.
8218 (SHLIB_MAPFILES): Set.
8219 * config/ia64/t-glibc-libunwind: Rename to ...
8220 * config/ia64/t-linux-libunwind: ... this.
8221 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
8222 * config/ia64/t-slibgcc-hpux: New file.
8223 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
8224 * config/m68k/t-slibgcc-elf-ver: New file.
8225 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
8226 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
8227 to mkmap-flat.awk.
8228 * config/pa/t-slibgcc-hpux: New file.
8229 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
8230 files.
8231 * config/rs6000/libgcc-darwin.10.4.ver,
8232 config/rs6000/libgcc-darwin.10.5.ver: New files.
8233 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
8234 config/rs6000/libgcc-glibc.ver.
8235 * config/rs6000/libgcc-ppc64.ver: Rename to
8236 config/rs6000/libgcc-ibm-ldouble.ver.
8237 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
8238 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
8239 * config/rs6000/t-ldbl128: Rename to ...
8240 * config/rs6000/t-linux: ... this.
8241 (SHLIB_MAPFILES): Adapt filename.
8242 * config/rs6000/t-slibgcc-aix: New file.
8243 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
8244 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
8245 libgcc-excl.ver, libgcc-glibc.ver.
8246 (SHLIB_LINK, SHLIB_INSTALL): Remove.
8247 * config/sparc/libgcc-glibc.ver: New file.
8248 * config/sparc/t-linux: New file.
8249 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
8250 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
8251 t-slibgcc-elf-ver to tmake_file.
8252 Add t-slibgcc-nolc-override to tmake_file for posix threads on
8253 *-*-freebsd[34].
8254 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
8255 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
8256 t-slibgcc-elf-ver, t-linux to tmake_file.
8257 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
8258 tmake_file.
8259 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
8260 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
8261 (alpha*-dec-*vms*): Likewise.
8262 (arm*-*-freebsd*): Append to tmake_file.
8263 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
8264 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
8265 arm*-*-linux-*eabi.
8266 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
8267 tmake_file for arm*-*-symbianelf*.
8268 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
8269 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
8270 cris/t-linux.
8271 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
8272 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
8273 pa/t-slibgcc-dwarf-ver to tmake_file.
8274 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
8275 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
8276 (hppa*64*-*-hpux11*): Likewise.
8277 (hppa[12]*-*-hpux11*): Likewise.
8278 (x86_64-*-darwin*): Don't override tmake_file, but only keep
8279 i386/t-crtpc, i386/t-crtfm.
8280 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
8281 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
8282 to tmake_file.
8283 Add i386/t-cygwin to tmake_file.
8284 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
8285 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
8286 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
8287 to tmake_file.
8288 Add i386/t-mingw32 to tmake_file.
8289 (x86_64-*-mingw*): Likewise.
8290 (ia64*-*-freebsd*): Append to tmake_file.
8291 (ia64*-*-linux*): Append to tmake_file.
8292 Replace ia64/t-glibc by ia64/t-linux.
8293 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
8294 system libunwind.
8295 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
8296 t-slibgcc-hpux to tmake_file.
8297 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
8298 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
8299 (m32rle-*-linux*): Likewise.
8300 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
8301 sjlj exceptions.
8302 (microblaze*-linux*): New case.
8303 Append to tmake_file, add t-slibgcc-nolc-override.
8304 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
8305 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
8306 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
8307 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
8308 rs6000/t-slibgcc-aix to tmake_file.
8309 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8310 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8311 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
8312 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
8313 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
8314 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
8315 sh*-*-linux*.
8316 (sparc-*-linux*): Append to tmake_file for *-leon*.
8317 Add sparc/t-linux to tmake_file for non-Leon targets.
8318 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
8319 (tic6x-*-uclinux): New case.
8320 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
8321 (tic6x-*-*): Add c6x/t-elf to tmake_file.
8322 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
8323 (am33_2.0-*-linux*): Append to tmake_file.
8324 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
8325 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
8326 x86_64-*-kfreebsd*-gnu.
8327 Add i386/t-linux to tmake_file.
8328
18b4bd7b
ILT
83292011-10-28 Ian Lance Taylor <iant@google.com>
8330
8331 * config/i386/morestack.S: Correct CFI information to do proper
8332 returns throughout function. In 32-bit mode, save %ebx so that it
8333 is restored on unwind.
8334
5b2d9d90
BS
83352011-10-25 Bernd Schmidt <bernds@codesourcery.com>
8336
8337 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
8338 case where B3 isn't the return register.
8339
0d53e346
BS
8340 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
8341 logic for doubleword pops.
8342
cbffbd59
AT
83432011-10-25 Andreas Tobler <andreast@fgznet.ch>
8344
8345 * config/rs6000/t-freebsd: Add wildcard.
8346
56dc349e
PB
83472011-10-21 Paul Brook <paul@codesourcery.com>
8348
8349 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
8350
1e06b07d
UB
83512011-10-16 Uros Bizjak <ubizjak@gmail.com>
8352 Eric Botcazou <ebotcazou@adacore.com>
8353
8354 PR target/50737
8355 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
8356 fs->signal_frame to 1.
8357
b5204884
ILT
83582011-10-07 Ian Lance Taylor <iant@google.com>
8359
8360 * generic-morestack-thread.c: #include <errno.h>.
8361
91a639a1
ILT
83622011-10-07 Ian Lance Taylor <iant@google.com>
8363
8364 PR target/46093
8365 * generic-morestack.c (__generic_morestack): Make sure the segment
8366 is large enough for both the stack frame and the copied
8367 parameters.
8368
cc49116d
RO
83692011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8370
8371 PR bootstrap/49804
8372 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
8373 extra_parts.
8374
2996d8c3
NC
83752011-09-28 Nick Clifton <nickc@redhat.com>
8376
8377 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
8378 64-bit doubles are not enabled.
8379 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
8380 and floatunsisf functions.
8381
1e874273 83822011-09-13 Paul Brook <paul@codesourcery.com>
2996d8c3 8383
1e874273
PB
8384 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
8385 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
8386 * unwind-arm-common.inc: New file.
8387 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
8388 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
8389 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
8390 * config/c6x/libunwind.S: New file.
8391 * config/c6x/pr-support.c: New file.
8392 * config/c6x/unwind-c6x.c: New file.
8393 * config/c6x/unwind-c6x.h: New file.
8394 * config/c6x/t-c6x-elf: New file.
8395
f70c879a
UB
83962011-08-23 Uros Bizjak <ubizjak@gmail.com>
8397
8398 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
8399 (ASM_DIVZERO): Ditto.
8400 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
8401
c55b374b
RS
84022011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
8403
8404 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
8405
1e138510
RS
84062011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
8407
8408 PR target/50090
8409 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
8410 instead of an assembly one.
8411
1563503d
PB
84122011-08-12 Paolo Bonzini <bonzini@gnu.org>
8413
8414 PR bootstrap/50047
8415 * Makefile.in (install-unwind_h): Create
8416 $(gcc_objdir)/include/unwind.h atomically.
8417
3627ac1a
RO
84182011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8419
8420 * Makefile.in (install-unwind_h): Remove destination file first.
8421
c6412d86
RO
84222011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8423
8424 * sync.c: New file.
8425 * config/mips/t-mips16: New file.
8426 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
8427 (mips*-*-linux*): Likewise.
8428 (mips*-sde-elf*): Likewise.
8429 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
8430 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
8431 Add mips/t-mips16 to tmake_file.
8432 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
8433 (mips-*-elf*): Likewise.
8434 (mips64-*-elf*): Likewise.
8435 (mips64orion-*-elf*): Likewise.
8436 (mips*-*-rtems*): Likewise.
8437 (mipstx39-*-elf*): Likewise.
8438 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
8439 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
8440 LIBGCC_SYNC_CFLAGS.
8441 Use $(srcdir) to refer to sync.c.
8442 Use $<.
8443 ($(libgcc-sync-funcs-o)): Likewise.
8444 ($(libgcc-sync-size-funcs-s-o)): Likewise.
8445 ($(libgcc-sync-funcs-s-o)): Likewise.
8446
3cb6e5bd
AS
84472011-08-09 Andreas Schwab <schwab@linux-m68k.org>
8448
8449 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
8450 t-libunwind.
8451
cca2207a
L
84522011-08-08 H.J. Lu <hongjiu.lu@intel.com>
8453
8454 PR other/48007
8455 * config/i386/value-unwind.h: New.
8456
ed39fbad
RS
84572011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
8458
8459 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
8460 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
8461 Add to tmake_file rather than overriding it.
8462
aca0b0b3
RO
84632011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8464
8465 * config/t-softfp: Remove.
8466 * soft-fp: Moved from ../gcc/config.
8467 * soft-fp/README: Remove t-softfp reference.
8468 * soft-fp/t-softfp: Move to config/t-softfp.
8469 (softfp_machine_header): Remove.
8470 (softfp_file_list): Remove config subdir.
8471 (soft-fp-objects): New variable.
8472 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
8473 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
8474 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
8475 * config/t-softfp-excl: New file.
8476 * config/t-softfp-sfdf: New file.
8477 * config/t-softfp-tf: New file.
8478 * config/no-sfp-machine.h: New file.
8479 * config/arm/sfp-machine.h: New file.
8480 * config/arm/t-softfp: New file.
8481 * config/c6x/sfp-machine.h: New file.
8482 * config/i386/32/t-fprules-softfp: Rename to ...
8483 * config/i386/32/t-softfp: ... this.
8484 (tifunctions, LIB2ADD): Remove.
8485 (softfp_int_modes): Override.
8486 * config/i386/64/t-softfp-compat (tf-functions): Remove config
8487 subdir.
8488 * config/i386/64/eqtf2.c: Likewise.
8489 * config/i386/64/getf2.c: Likewise.
8490 * config/i386/64/letf2.c: Likewise.
8491 * config/ia64/sft-machine.h: New file.
8492 * config/ia64/t-fprules-softfp: Rename to ...
8493 * config/ia64/t-softfp: ... this.
8494 * config/lm32/sfp-machine.h: New file.
8495 * config/moxie/t-moxie-softfp: Remove.
8496 * config/rs6000/ibm-ldouble-format: New file.
8497 * config/rs6000/ibm-ldouble.c: New file.
8498 * config/rs6000/libgcc-ppc-glibc.ver: New file
8499 * config/rs6000/libgcc-ppc64.ver: New file
8500 * config/rs6000/sfp-machine.h: New file.
8501 * config/rs6000/t-freebsd: New file.
8502 * config/rs6000/t-ibm-ldouble: New file.
8503 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
8504 libgcc-ppc-glibc.ver.
8505 * config/rs6000/t-linux64: New file.
8506 * config/rs6000/t-ppccomm (LIB2ADD): Add
8507 $(srcdir)/config/rs6000/ibm-ldouble.c.
8508 * config/rs6000/t-ppccomm-ldbl: New file.
8509 * config/score/sfp-machine.h: New file.
8510 * config.host (sfp_machine_header): Explain.
8511 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
8512 t-softfp to tmake_file.
8513 (arm*-*-uclinux*): Likewise.
8514 (arm*-*-ecos-elf): Likewise.
8515 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
8516 (arm*-*-rtems*): Likewise.
8517 (arm*-*-elf): Likewise.
8518 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
8519 in tmake_file.
8520 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
8521 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
8522 (lm32-*-uclinux*): Likewise.
8523 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
8524 t-softfp-excl, t-softfp.
8525 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
8526 (powerpc64-*-darwin*): Likewise.
8527 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
8528 to tmake_file.
8529 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
8530 tmake_file.
8531 (powerpc-*-eabisim*): Likewise.
8532 (powerpc-*-elf*): Likewise.
8533 (powerpc-*-eabialtivec*): Likewise.
8534 (powerpc-xilinx-eabi*): Likewise.
8535 (powerpc-*-rtems*): Likewise.
8536 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
8537 t-softfp-excl, t-softfp to tmake_file.
8538 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
8539 rs6000/t-ppccomm-ldbl to tmake_file.
8540 (powerpcle-*-elf*): Likewise.
8541 (powerpcle-*-eabisim*): Likewise.
8542 (powerpcle-*-eabi*): Likewise.
8543 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
8544 rs6000/t-ibm-ldouble to tmake_file.
8545 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8546 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8547 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
8548 (tic6x-*-*): Likewise.
8549 (i[34567]86-*-darwin*, x86_64-*-darwin*,
8550 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
8551 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
8552 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
8553 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
8554 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
8555 t-softfp to tmake_file.
8556 * configure.ac (sfp_machine_header): Provide default if unset.
8557 Substitute.
8558 Link sfp-machine.h to config/$sfp_machine_header.
8559 * configure: Regenerate.
8560
569dc494
RO
85612011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8562
8563 * Makefile.in (double_type_size, long_double_type_size): Set.
8564 Remove $(fpbit-in-libgcc) support.
8565 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
8566 (fpbit-src): New variable.
8567 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
8568 Compile with -DFLOAT $(FPBIT_CFLAGS).
8569 Use $<.
8570 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
8571 Compile with $(FPBIT_CFLAGS).
8572 Use $<.
8573 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
8574 Compile with -DFLOAT $(TPBIT_CFLAGS).
8575 Use $<.
8576 * configure.ac (double_type_size, long_double_type_size):
8577 Determine and substitute.
8578 * configure: Regenerate.
8579 * fp-bit.c, fp-bit.h: New files.
8580 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
8581 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
8582 * config/mips/t-mips: New file.
8583 * config/mips/t-sdemtk: New file.
8584 * config/rs6000/ppc64-fp.c: New file.
8585 * config/rs6000/t-darwin (LIB2ADD): Add
8586 $(srcdir)/config/rs6000/ppc64-fp.c.
8587 * config/rs6000/t-ppc64-fp: New file.
8588 * config/rx/rx-lib.h: New file.
8589 * config/rx/t-rx (FPBIT): Set to true.
8590 ($(gcc_objdir)/fp-bit.c): Remove.
8591 (DPBIT): Set to true only with -m64bit-doubles.
8592 ($(gcc_objdir)/dp-bit.c): Remove.
8593 * config/sparc/t-softfp: Remove.
8594 * config/spu/t-elf: New file.
8595 * config/t-fdpbit, config/t-fpbit: New files.
8596 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
8597 (mips*-*-*): Likewise.
8598 (arm-wrs-vxworks): Likewise.
8599 (arm*-*-freebsd*): Likewise.
8600 (avr-*-rtems*): Add t-fpbit to tmake_file.
8601 (avr-*-*): Likewise.
8602 (bfin*-elf*): Add t-fdpbit to tmake_file.
8603 (bfin*-uclinux*): Likewise.
8604 (bfin*-linux-uclibc*): Likewise.
8605 (bfin*-rtems*): New case.
8606 Add t-fdpbit to tmake_file.
8607 (bfin*-*): Add t-fdpbit to tmake_file.
8608 (crisv32-*-elf): Likewise.
8609 (cris-*-linux*): Likewise.
8610 (fr30-*-elf): Likewise.
8611 (frv-*-elf, frv-*-*linux*): Likewise.
8612 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
8613 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
8614 (m32r-*-elf*): Likewise.
8615 (m32rle-*-elf*): Likewise.
8616 (m32r-*-linux*): Likewise.
8617 (m32rle-*-linux*): Likewise.
8618 (mcore-*-elf): Add t-fdpbit to tmake_file.
8619 (microblaze*-*-*): Likewise.
8620 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
8621 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
8622 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
8623 Fix typo.
8624 Add mips/t-tpbit to tmake-file.
8625 (mips*-*-linux*): Fix typo.
8626 (mips*-sde-elf*): New case
8627 Add mips/t-sdemtk unless using newlib.
8628 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
8629 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
8630 (mn10300-*-*): Likewise.
8631 (pdp11-*-*): Likewise.
8632 (picochip-*-*): Add t-fpbit to tmake_file.
8633 (powerpc-*-eabisimaltivec*): Likewise.
8634 (powerpc-*-eabisim*): Likewise.
8635 (powerpc-*-elf*): Likewise.
8636 (powerpc-*-eabialtivec*): Likewise.
8637 (powerpc-xilinx-eabi*): New case.
8638 Add t-fdpbit to tmake_file.
8639 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
8640 (powerpc-*-rtems*): Likewise.
8641 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
8642 tmake_file.
8643 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
8644 tmake_file.
8645 (powerpc-*-lynxos*): Likewise.
8646 (powerpcle-*-elf*): Likewise.
8647 (powerpcle-*-eabisim*): Likewise.
8648 (powerpcle-*-eabi*): Likewise.
8649 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
8650 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
8651 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8652 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8653 (rx-*-elf): Add t-fdpbit to tmake_file.
8654 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
8655 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
8656 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
8657 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
8658 sh*-*-netbsd*.
8659 (sh-*-rtems*): Add t-fdpbit to tmake_file.
8660 (sh-wrs-vxworks): Likewise.
8661 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
8662 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
8663 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
8664 (sparc64-*-rtems*): ... new case.
8665 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
8666 (spu-*-elf*): Likewise.
8667 Add spu/t-elf to tmake_file.
8668 (v850*-*-*): Add t-fdpbit to tmake_file.
8669 (xstormy16-*-elf): Likewise.
8670 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
8671 (mep*-*-*): Likewise.
8672
201cdb74
RO
86732011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8674
8675 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
8676 variables.
8677 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
8678 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
8679 (install-unwind_h): New target.
8680 (all): Depend on it.
8681 * config.host (unwind_header): New variable.
8682 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
8683 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
8684 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
8685 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
8686 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
8687 Set unwind_header.
8688 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
8689 Set unwind_header.
8690 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
8691 arm*-*-eabi*.
8692 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
8693 Set unwind_header.
8694 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
8695 (ia64*-*-freebsd*): Likewise.
8696 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
8697 tmake_file.
8698 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
8699 $with_system_libunwind.
8700 (ia64*-*-hpux*): Set tmake_file.
8701 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
8702 (picochip-*-*): Set tmake_file.
8703 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
8704 md_unwind_header.
8705 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8706 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8707 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
8708 (xtensa*-*-elf*): Set tmake_file.
8709 (xtensa*-*-linux*): Likewise.
8710 * configure.ac: Include ../config/unwind_ipinfo.m4.
8711 Call GCC_CHECK_UNWIND_GETIPINFO.
8712 Link unwind.h to $unwind_header.
8713 * configure: Regenerate.
8714 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
8715 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
8716 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
8717 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
8718 * config/unwind-dw2-fde-darwin.c: New file.
8719 * config/arm/libunwind.S, config/arm/pr-support.c,
8720 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
8721 config/arm/unwind-arm.h,: New files.
8722 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
8723 config/ia64/t-eh-ia64, config/ia64/t-glibc,
8724 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
8725 config/ia64/t-vms, config/ia64/unwind-ia64.c,
8726 config/ia64/unwind-ia64.h: New files.
8727 * config/picochip/t-picochip: New file.
8728 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
8729 files.
8730 * config/rs6000/t-darwin (LIB2ADDEH): Set.
8731 * config/s390/t-tpf (LIB2ADDEH): Remove.
8732 * config/t-darwin (LIB2ADDEH): Set.
8733 * config/t-eh-dw2-dip: New file.
8734 * config/t-libunwind, config/t-libunwind-elf: New files.
8735 * config/t-sol2 (LIB2ADDEH): Remove.
8736 * config/xtensa/t-xtensa: New file.
8737
40f2f11f
L
87382011-08-02 H.J. Lu <hongjiu.lu@intel.com>
8739
8740 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
8741 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
8742 long long to check rt_sigreturn syscall.
8743
bd15e32c
AM
87442011-08-02 Alan Modra <amodra@gmail.com>
8745
8746 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
8747 Restore for indirect call bcrtl from correct stack slot, and only
8748 if cfa+40 isn't valid.
8749
655b30bf
JB
87502011-08-01 Julian Brown <julian@codesourcery.com>
8751
8752 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
8753 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
8754 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
8755
247eb06f
JB
87562011-08-01 Julian Brown <julian@codesourcery.com>
8757
8758 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
8759 (libgcc-std.ver.in): Use above.
8760 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
8761 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
8762 throughout file.
8763 * config/t-fixedpoint-gnu-prefix: New file.
8764 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
8765 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
8766 instead of __PFX__.
8767
02a8fe00
L
87682011-07-28 H.J. Lu <hongjiu.lu@intel.com>
8769
8770 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
8771 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
8772 for x86-64. Properly check __x86_64__ and __LP64__.
8773
5fce9126
L
87742010-07-28 H.J. Lu <hongjiu.lu@intel.com>
8775
8776 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
8777 version.
8778 (_FP_WS_TYPE): Likewise.
8779 (_FP_I_TYPE): Likewise.
8780
2374a88a
AM
87812011-07-28 Alan Modra <amodra@gmail.com>
8782
8783 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
8784 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
8785 in a plt call stub. Do restore r2 if stopped on bctrl.
8786
e44dbbe1
RO
87872011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8788
8789 * config.host (i[3456x]86-*-netware*): Remove.
8790 * config/i386/netware-crt0.c, config/i386/t-nwld,
8791 config/i386/t-slibgcc-nwld: Remove.
8792
bcead286
BS
87932011-07-15 Bernd Schmidt <bernds@codesourcery.com>
8794
8795 * config.host: Handle tic6x-*-*.
8796 * config/c6x/c6x-abi.h: New file.
8797
b3fe1584
RO
87982011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8799
8800 * config/i386/crtprec.c: New file.
8801 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
8802 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
8803 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
8804 (x86_64-*-darwin*): Likewise.
8805 (i[34567]86-*-solaris2*: Likewise.
8806
35d8090d
RO
88072011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8808
8809 * config/alpha/crtfastmath.c: New file.
8810 * config/i386/crtfastmath.c: New file.
8811 * config/ia64/crtfastmath.c: New file.
8812 * config/mips/crtfastmath.c: New file.
8813 * config/sparc/crtfastmath.c: New file.
8814
8815 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
8816 crtfastmath.c.
8817 Add -frandom-seed=gcc-crtfastmath.
8818 * config/alpha/t-crtfm: Remove.
8819 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
8820 * config/ia64/t-ia64 (crtfastmath.o): Remove.
8821
8822 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
8823 (alpha*-dec-osf5.1*): Likewise.
8824 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
8825 Add crtfastmath.o to extra_parts.
8826 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
8827 Add crtfastmath.o to extra_parts.
8828 (x86_64-*-darwin*): Likewise.
8829 (x86_64-*-mingw*): Likewise.
8830 (ia64*-*-elf*): Add t-crtfm to tmake_file.
8831 (ia64*-*-freebsd*): Likewise.
8832 (ia64*-*-linux*): Likewise.
8833 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
8834 Add crtfastmath.o to extra_parts.
8835
e141542e
RO
88362011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8837
8838 * config/darwin-crt3.o: New file.
8839 * config/rs6000/darwin-crt2.c: New file.
8840 * config/t-darwin: New file.
8841 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
8842 (crt2.o): New rule.
8843 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
8844 (powerpc-*-darwin*): Add crt2.o to extra_parts.
8845 (powerpc64-*-darwin*): Likewise.
8846
2d1efe2d
RO
88472011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8848
8849 * config/i386/netware-crt0.c: New file.
8850 * config/i386/t-nwld: Rename to ...
8851 * config/i386/t-slibgcc-nwld: ... this.
8852 * config/i386/t-nwld: New file.
8853 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
8854 tmake_file.
8855 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
8856 extra_parts.
8857
4a8bb046
RO
88582011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8859
8860 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
8861 i386/t-crtstuff.
8862 * configure: Regenerate.
8863
2d8d5935
RO
88642011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8865
8866 * dfp-bit.c, dfp-bit.h: New files.
8867 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
8868 variables.
8869 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
8870 ($(d64pbit-o)): Likewise.
8871 ($(d128pbit-o)): Likewise.
8872 * config/t-dfprules: New file.
8873 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
8874 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
8875 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
8876 (x86_64-*-linux*): Likewise.
8877 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
8878 (i[34567]86-*-cygwin*): Likewise.
8879 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
8880 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
8881
2c50b2c3
RO
88822011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8883
8884 * Makfile.in (LIBGCOV): New variable.
8885 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
8886 * libgcov.c: New file.
8887
a039d7c2
RO
88882011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8889
8890 * fixed-bit.c, fixed-bit.h: New files.
8891 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
8892 refer to fixed-bit.c.
8893
1e4b2746
JM
88942011-07-07 Joseph Myers <joseph@codesourcery.com>
8895
8896 * config.host (*local*): Remove.
8897
fbdd5d87
RO
88982011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8899
8900 PR target/39150
8901 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
8902 like i?86-*-solaris2.1[0-9]*.
8903 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
8904 * configure.ac (i?86-*-solaris2*): Likewise.
8905 * configure: Regenerate.
8906
9e7714f4
TS
89072011-07-06 Thomas Schwinge <thomas@schwinge.name>
8908
8909 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
8910 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
8911 md_unwind_header by splitting out of...
8912 (i[34567]86-*-linux*): ... this.
8913 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
8914 Remove md_unwind_header by splitting out of...
8915 (x86_64-*-linux*): ... this.
8916
6dab9931
GJL
89172011-07-04 Georg-Johann Lay <avr@gjlay.de>
8918
8919 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
8920
4be46d19
NC
89212011-06-28 Nick Clifton <nickc@redhat.com>
8922
8923 * config.host: Recognize all V850 variants.
8924
1da9434b
UB
89252011-06-22 Uros Bizjak <ubizjak@gmail.com>
8926
8927 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
8928
e4d48a4d
RO
89292011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8930
8931 * shared-object.mk (c_flags-$o): Save c_flags.
8932 ($(base)$(objext)): Use it.
8933 ($(base)_s$(objext)): Likewise.
8934
3801c801
BS
89352011-06-21 Bernd Schmidt <bernds@codesourcery.com>
8936
8937 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
8938 * libgcc-std.ver.in (GCC_4.7.0): New section.
8939
0ad8bb3b 89402011-06-16 Georg-Johann Lay <avr@gjlay.de>
1da9434b 8941
0ad8bb3b
GJL
8942 PR target/49313
8943 PR target/29524
8944 * config/avr/t-avr: Fix line endings.
8945 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
8946 _parityXX2.
8947
ea963999
OH
89482011-06-14 Olivier Hainque <hainque@adacore.com>
8949 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8950
8951 * config/mips/irix6-unwind.h: New file.
8952 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
8953
b11b0904
EB
89542011-06-10 Eric Botcazou <ebotcazou@adacore.com>
8955
8956 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
8957 (sparc64_fallback_frame_state): Use it.
8958 (sparc64_frob_update_context): Further adjust context.
8959 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
8960 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
8961 * config/sparc/sol2-cn.S: Likewise.
8962
10e48e39
RO
89632011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8964
8965 * enable-execute-stack-empty.c: New file.
8966 * enable-execute-stack-mprotect.c: New file.
8967 * config/i386/enable-execute-stack-mingw32.c: New file.
8968 * config.host (enable_execute_stack): New variable.
8969 Select appropriate variants.
8970 * configure.ac: Link enable-execute-stack.c to
8971 $enable_execute_stack.
8972 * configure: Regenerate.
8973 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
8974 (lib2funcs): Remove _enable_execute_stack.
8975
10c4cabc
DM
89762011-06-09 David S. Miller <davem@davemloft.net>
8977 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8978
8979 * config.host (sparc-*-linux*): Correct md_unwind_header
8980 filename.
8981 (s390x-ibm-tpf*): Fix typo.
8982
aa4203e7
RO
89832011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8984
8985 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
8986 Add crtfastmath.o to extra_parts.
8987 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
8988 mips/t-crtfm.
8989 * config/mips/t-crtfm: Remove.
8990
0defd786
JDA
89912011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
8992
8993 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
8994
82f247af
KK
89952011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
8996
8997 * config.host (sh*-*-linux*): Fix typo.
8998
58cd1d70
RO
89992011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9000
9001 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
9002 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
9003 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
9004 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
9005 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
9006 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
9007 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
9008 Wrap in !__MINGW64__.
9009 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
9010 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
9011 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
9012 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
9013 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
9014 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
9015 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
9016 Wrap in !__LP64__.
9017 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
9018 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
9019 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
9020 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
9021 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
9022 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
9023 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
9024 * config/no-unwind.h: New file.
9025 * config.host (md_unwind_header): Document.
9026 Define.
9027 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
9028 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
9029 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
9030 hppa[12]*-*-hpux11*): Set md_unwind_header.
9031 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
9032 Set md_unwind_header.
9033 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
9034 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
9035 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
9036 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
9037 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
9038 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
9039 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
9040 md_unwind_header.
9041 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
9042 * configure: Regenerate.
9043
737346fa
RO
90442011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9045
9046 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
9047 Set tmake_file, extra_parts.
9048 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
9049 Remove O32 support.
9050 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
9051 Remove O32 support.
9052 * config/mips/t-irix6: New file.
9053 * config/mips/t-slibgcc-irix: New file.
9054
c192cee6
RO
90552011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9056
9057 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
9058 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
9059
ee33b5f0
RO
90602011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9061
9062 * configure.ac (target_thread_file): Determine thread model.
9063 * configure: Regenerate.
9064 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
9065 * config/alpha/t-alpha: New file.
9066 * config/alpha/t-crtfm: Use $<.
9067 * config/alpha/t-ieee: New file.
9068 * config/alpha/t-osf-pthread: New file.
9069 * config/alpha/t-slibgcc-osf: New file.
9070 * config/alpha/libgcc-osf5.ver: New file.
9071
0699e415
RO
90722011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9073
9074 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
9075 tmake_file.
9076 Add crtfastmath.o to extra_parts.
9077
a3fab9c2
RO
90782011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9079
9080 * config/gmon-sol2.c: Reindent.
9081 Cleanup comments.
9082 Remove, correct casts.
9083 Use STDERR_FILENO, NULL.
9084 (BASEADDRESS): Remove.
9085 (minbrk): Remove.
9086 (errno, sbrk): Remove declarations.
9087 (monstartup) [hp300]: Remove.
9088 (mcount): Remove.
9089
ca24c5ad
RO
90902011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9091
9092 * Makefile.in (cpu_type): Define.
9093 * config.host (i[34567]86-*-rtems*): Handle it.
9094 (i[34567]86-*-solaris2*): Move body ...
9095 (*-*-solaris2*): ... here.
9096 New case, generalize.
9097 (sparc-*-elf*): Handle it.
9098 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
9099 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
9100 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
9101 Fold into ...
9102 (sparc*-*-solaris2*): ... this.
9103 New case.
9104 (sparc64-*-elf*): Handle it.
9105 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
9106 Merge ../gcc/config/i386/gmon-sol2.c.
9107 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
9108 Use C comments.
9109 Merge ../gcc/config/i386/sol2-gc1.asm.
9110 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
9111 Use C comments.
9112 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
9113 Use C comments.
9114 * config/i386/t-crtfm (crtfastmath.o): Use $<.
9115 * config/i386/t-crtstuff: New file.
9116 * config/i386/t-softfp: New file.
9117 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
9118 $(T)crti.o, $(T)crtn.o): Remove.
9119 (gcrt1.o): New rule.
9120 (TARGET_LIBGCC2_CFLAGS): Remove.
9121 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
9122 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
9123 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
9124 * config/sparc/t-sol2: New file.
9125 * config/sparc/t-crtfm: Move to ...
9126 * config/t-crtfm: ... this.
9127 Use $(cpu_type), $<.
9128 * config/t-crtin: New file.
9129 * config/sparc/t-softfp: New file.
9130 * config/sparc/t-softmul: New file.
9131 * config/t-rtems: New file.
9132 * config/t-slibgcc: New file.
9133 * config/t-slibgcc-elf-ver: New file.
9134 * config/t-slibgcc-gld: New file.
9135 * config/t-slibgcc-sld: New file.
9136 * config/t-sol2: New file.
9137 * configure.ac: Include ../config/lib-ld.m4.
9138 Call AC_LIB_PROG_LD_GNU.
9139 Substitute cpu_type.
9140 * configure: Regenerate.
9141
ad5f3d7b
BS
91422011-05-27 Bernd Schmidt <bernds@codesourcery.com>
9143
9144 PR bootstrap/49173
9145 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
9146 libgcc-std.ver in the build directory.
9147 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
9148 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
9149
cdbf4541
BS
91502011-05-25 Bernd Schmidt <bernds@codesourcery.com>
9151
9152 * libgcc-std.ver.in: New file.
9153 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
9154 variables.
9155 (libgcc-std.ver): New rule.
9156 * config/t-gnu-prefix: New file.
9157
c8028650
RO
91582011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9159
9160 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
9161
4a68b4ca
JM
91622011-05-10 Joseph Myers <joseph@codesourcery.com>
9163
9164 * config/i386/darwin-lib.h: New file.
9165
80cf2e08
JM
91662011-05-10 Joseph Myers <joseph@codesourcery.com>
9167
9168 * config/arm/symbian-lib.h: New.
9169
a3330c9d
CD
91702011-05-04 Chris Demetriou <cgd@google.com>
9171
9172 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
9173 (__x86.get_pc_thunk.bx): ...this.
9174 (__morestack): Adjust for rename, remove undef of __i686.
9175
6ace0756
CD
91762011-05-03 Chris Demetriou <cgd@google.com>
9177
9178 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
9179
ebb9f8b0
JM
91802011-03-22 Joseph Myers <joseph@codesourcery.com>
9181
9182 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
9183 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
9184 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
9185 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
9186 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
9187 Remove cases.
9188
9cfa1499
AT
91892011-03-14 Andreas Tobler <andreast@fgznet.ch>
9190
9191 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
9192 Adjust copyright year.
9193
457186f6
ILT
91942011-03-07 Ian Lance Taylor <iant@google.com>
9195
9196 * generic-morestack.c (__splitstack_find): Adjust returned stack
9197 pointer to include all registers pushed by __morestack.
9198
58c741a6
DK
91992011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
9200
9201 PR target/40125
9202 * configure.ac: Call ACX_NONCANONICAL_TARGET.
9203 (toolexecdir): Calculate and AC_SUBST.
9204 (toolexeclibdir): Likewise.
9205 * Makefile.in (target_noncanonical): Import.
9206 (toolexecdir): Likewise.
9207 (toolexeclibdir): Likewise.
9208 * configure: Regenerate.
9209
26716c44
NF
92102010-12-13 Nathan Froyd <froydnj@codesourcery.com>
9211
9212 PR target/46040
9213 * config/arm/bpabi.h: Rename to...
9214 * config/arm/bpabi-lib.h: ...this.
9215
b595b1a1
RO
92162010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9217
9218 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
9219 appropriate.
9220 * configure: Regenerate.
9221
a3abe41c
NF
92222010-11-24 Nathan Froyd <froydnj@codesourcery.com>
9223
9224 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
9225 __FLOAT_WORD_ORDER__.
9226 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
9227 Delete.
9228
455c8f48
RW
92292010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9230
9231 PR other/46202
9232 * Makefile.in (install-strip): New phony target.
9233
f3824a8b
ILT
92342010-11-07 Ian Lance Taylor <iant@google.com>
9235
9236 PR target/46089
9237 * config/i386/morestack.S (__morestack_large_model): New
9238 function.
9239
18ed6ee4
NF
92402010-10-23 Nathan Froyd <froydnj@codesourcery.com>
9241
9242 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
9243 Delete.
9244 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
9245
8ac7fdcb
NF
92462010-10-14 Nathan Froyd <froydnj@codesourcery.com>
9247
9248 * config/arm/bpabi.h: New file.
9249 * config/frv/frv-abi.h: New file.
9250
cdb388c2
ILT
92512010-10-01 Ian Lance Taylor <iant@google.com>
9252
9253 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
9254 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
9255
ef7c141c
L
92562010-10-01 H.J. Lu <hongjiu.lu@intel.com>
9257
9258 PR target/45858
9259 * config.host: Add the missing `$'.
9260
80920132
ME
92612010-09-30 Michael Eager <eager@eagercon.com>
9262
9263 * config.host: Add microblaze*-*-*.
9264 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
9265 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
9266 udivsi3.asm,umodsi3.asm}: New.
9267
6dace308
ILT
92682010-09-28 Ian Lance Taylor <iant@google.com>
9269
9270 * configure.ac: Adjust CFI test to test assembler directly rather
9271 than checking gcc preprocessor macro.
9272 * configure: Rebuild.
9273
b6110d6d
ILT
92742010-09-27 Ian Lance Taylor <iant@google.com>
9275
9276 * configure.ac: Test whether assembler supports CFI directives.
9277 * config.host: Only add t-stack and i386/t-stack-i386 to
9278 tmake_file if libgcc_cv_cfi is "yes".
9279 * configure: Rebuild.
9280
7458026b
ILT
92812010-09-27 Ian Lance Taylor <iant@google.com>
9282
9283 * generic-morestack.h: New file.
9284 * generic-morestack.c: New file.
9285 * generic-morestack-thread.c: New file.
9286 * config/i386/morestack.S: New file.
9287 * config/t-stack: New file.
9288 * config/i386/t-stack-i386: New file.
9289 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
9290 i386/t-stack-i386 to tmake_file.
9291
5b50fc0c
IS
92922010-09-21 Iain Sandoe <iains@gcc.gnu.org>
9293
9294 * Makefile.in (libgcc-extra-parts): Check for static archives and
9295 invoke ranlib after installing them.
9296 (gcc-extra-parts): Likewise.
9297 (install-leaf): Likewise.
9298
b93cf342
L
92992010-09-14 H.J. Lu <hongjiu.lu@intel.com>
9300
9301 * configure: Regenerated.
9302
996b42ef
KT
93032010-09-10 Kai Tietz <kai.tietz@onevision.com>
9304
b93cf342 9305 * configure: Regenerated.
996b42ef 9306
be1c764e
GP
93072010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
9308 Andrew Pinski <pinskia@gmail.com>
9309
1da9434b 9310 PR target/40959
be1c764e
GP
9311 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
9312
cc0ae0ca
L
93132010-09-06 H.J. Lu <hongjiu.lu@intel.com>
9314
9315 PR target/45524
9316 * configure: Regenerated.
9317
84f47d20
AS
93182010-09-06 Andreas Schwab <schwab@redhat.com>
9319
9320 * configure: Regenerate.
9321
4159fb8d
UB
93222010-09-03 Uros Bizjak <ubizjak@gmail.com>
9323
9324 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
9325 64bit targets.
9326 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
9327 for 64bit targets.
9328
0df8fcc8
UB
93292010-09-03 Uros Bizjak <ubizjak@gmail.com>
9330 Iain Sandoe <iains@gcc.gnu.org>
9331
9332 PR target/45476
9333 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
9334 LIB2FUNCS_EXCLUDE functions.
9335
3c39bca6
AK
93362010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9337
9338 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
9339 Include dfp.m4.
9340 * configure: Regenerate.
9341
d78552bd
UB
93422010-09-01 Uros Bizjak <ubizjak@gmail.com>
9343
9344 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
9345 i386/t-freebsd to tmake_file.
9346 * config/i386/t-freebsd: New file.
9347 * config/i386/libgcc-bsd.ver: New file.
9348
c5b79d4e
NF
93492010-07-23 Nathan Froyd <froydnj@codesourcery.com>
9350
9351 * config.host (powerpc*-eabispe*): Set tmake_file.
9352 (powerpc*-eabi*): Likewise.
9353 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
9354 crtbeginS, crtendS, crtbeginT.
9355
48b09a92
KH
93562010-06-12 Kazu Hirata <kazu@codesourcery.com>
9357
9358 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
9359 to tmake_file. Add crtfastmath.o to extra_parts.
9360 * config/mips/t-crtfm: New.
9361
7d296953 93622010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
a4389204
JS
9363
9364 * config.host (sparc64-*-rtems*): New target.
9365
ed104137
RO
93662010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9367
9368 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
9369 assembler syntax.
9370
3f56ef8b
TS
93712010-04-15 Thomas Schwinge <tschwinge@gnu.org>
9372
9373 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
9374
8c200350
RO
93752010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9376
9377 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
9378 alpha-dec-osf5.0* support.
9379
7d296953 93802010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
c1b14424
RC
9381
9382 * config.host: Add lm32-*-rtems*.
9383
f128db92 93842010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7d296953 9385 Uros Bizjak <ubizjak@gmail.com>
f128db92
RO
9386
9387 PR target/39048
9388 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
9389 like other remaining 32-bit x86 OSes.
9390 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
9391 assembler syntax.
9392 * config/i386/libgcc-sol2.ver: New file.
9393 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
9394
7d296953 93952010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
368fabd5
JH
9396
9397 PR c/43553
9398 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
9399 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
9400 is used and substitute set_use_emutls.
9401 * configure: Regenerated.
9402
15baf7f8
TG
94032010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
9404
9405 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
9406
7f5441df
RO
94072010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9408
9409 PR target/38085
9410 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
9411 MULTILIB_CFLAGS.
9412 ($(T)gcrt1.o): Likewise.
9413 ($(T)crt1.o): Likewise.
9414 ($(T)crti.o): Likewise.
9415 ($(T)crtn.o): Likewise.
9416
ef74edbd
RW
94172010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9418
9419 PR other/42980
9420 * Makefile.in (install): Use $(MAKE) string in rule, for
9421 parallel make.
9422
e7c914db
HPN
94232010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
9424
9425 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
9426 * config/mmix/t-mmix: New file.
9427 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
9428
1bcb71c4
JH
94292010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
9430
9431 PR java/41991
9432 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
9433 SHLIB_MAPFILES.
9434
e6e50811
AG
94352010-01-04 Anthony Green <green@moxielogic.com>
9436
9437 * config/moxie/crti.asm, config/moxie/crtn.asm,
9438 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
9439 config/moxie/t-moxie: New files.
9440 * config.host: Add t-moxie-softfp reference.
9441
7d296953 94422009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
ca8520ad
IS
9443
9444 PR other/39888
9445 * config/t-slibgcc-darwin: Fix embedded rpaths for
9446 --enable-version-specific-runtime-libs, build extension stub
9447 libs exposing features available from current libgcc_s.
9448
7d296953 94492009-11-11 Jon Beniston <jon@beniston.com>
aa4945c1 9450
d78552bd
UB
9451 * config.host: Add lm32 targets.
9452 * config/lm32: New directory.
9453 * config/lm32/libgcc_lm32.h: New file.
9454 * config/lm32/_mulsi3.c: New file.
9455 * config/lm32/_udivmodsi4.c: New file.
9456 * config/lm32/_divsi3.c: New file.
9457 * config/lm32/_modsi3.c: New file.
9458 * config/lm32/_udivsi3.c: New file.
9459 * config/lm32/_umodsi3.c: New file.
9460 * config/lm32/_lshrsi3.S: New file.
9461 * config/lm32/_ashrsi3.S: New file.
9462 * config/lm32/_ashlsi3.S: New file.
9463 * config/lm32/crti.S: New file.
9464 * config/lm32/crtn.S: New file.
9465 * config/lm32/t-lm32: New file.
9466 * config/lm32/t-elf: New file.
9467 * config/lm32/t-uclinux: New file.
aa4945c1 9468
65a324b4
NC
94692009-10-26 Nick Clifton <nickc@redhat.com>
9470
9471 * config.host: Add support for RX target.
9472 * config/rx: New directory.
9473 * config/rx/rx-abi-functions.c: New file. Supplementary
9474 functions for libgcc to support the RX ABI.
9475 * config/rx/rx-abi.h: New file. Supplementary header file for
9476 libgcc RX ABI functions.
9477 * config/rx/t-rx: New file: Makefile fragment for building
9478 libgcc for the RX.
9479
dfb3b0e3
UB
94802009-10-09 Uros Bizjak <ubizjak@gmail.com>
9481
9482 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
9483 constraint of y0 to "g".
9484
81dd9fd7
AK
94852009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9486
9487 * config.host: Include the s390 makefile fragments.
9488 * config/s390/32/_fixdfdi.c: New file.
9489 * config/s390/32/_fixsfdi.c: New file.
9490 * config/s390/32/_fixtfdi.c: New file.
9491 * config/s390/32/_fixunsdfdi.c: New file.
9492 * config/s390/32/_fixunssfdi.c: New file.
9493 * config/s390/32/_fixunstfdi.c: New file.
9494 * config/s390/32/t-floattodi: New file.
9495 * config/s390/libgcc-glibc.ver: New file.
9496 * config/s390/t-crtstuff: New file.
9497 * config/s390/t-linux: New file.
9498 * config/s390/t-tpf: New file.
9499
df58e648
RW
95002009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9501
9502 * configure.ac (AC_PREREQ): Bump to 2.64.
9503
79052be3
KK
95042009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
9505
9506 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
9507
5213506e
RW
95082009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9509
9510 * configure: Regenerate.
9511
a9a25daa
DR
95122009-08-09 Douglas B Rupp <rupp@gnat.com>
9513
9514 * config.host (ia64-hp-*vms*): New target.
9515 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
9516 with ia64-hp-*vms*.
9517
6efbd53f
RW
95182009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9519
9520 * configure.ac: Add snippet for maintainer-mode.
9521 * configure: Regenerate.
9522 * Makefile.in (AUTOCONF, configure_deps): New variables.
9523 ($(srcdir)/configure)): New rule, active only with maintainer
9524 mode turned on.
9525
7acf4da6
DD
95262009-06-23 DJ Delorie <dj@redhat.com>
9527
9528 Add MeP port.
9529 * config.host: Add mep support.
9530
54f549af
KT
95312009-06-22 Kai Tietz <kai.tietz@onevision.com>
9532
34481f28 9533 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 9534 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
34481f28
UB
9535
9536 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
9537 for mingw targets.
54f549af
KT
9538 * config/i386/64/_multc3.c: Likewise.
9539 * config/i386/64/_powitf2.c: Likewise.
9540 * config/i386/64/eqtf2.c: Likewise.
9541 * config/i386/64/getf2.c: Likewise.
9542 * config/i386/64/letf2.c: Likewise.
9543 * config/i386/64/letf2.c: Likewise.
34481f28
UB
9544 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
9545 unsigned long long for x64 mingw targets.
9546 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
9547 (_FP_I_TYPE): Define as long long for x64 mingw target.
54f549af 9548
fea96e25
MR
95492009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
9550
9551 * config.host (vax-*-linux*): New.
9552
cceb575c
AG
95532009-05-31 Anthony Green <green@moxielogic.com>
9554
9555 * config.host: Add moxie support.
9556 * config/moxie/t-moxie: New file.
9557
7d296953 95582009-05-29 David Billinghurst <billingd@gcc.gnu.org>
e997fb9c
DB
9559
9560 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 9561 t-softfp to tmake_file for i[34567]86-*-cygwin*.
e997fb9c 9562
532bfb0a
AJ
95632009-04-17 Aurelien Jarno <aurelien@aurel32.net>
9564
9565 * config.host: Add i386/${host_address}/t-fprules-softfp to
9566 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
9567
748086b7
JJ
95682009-04-09 Nick Clifton <nickc@redhat.com>
9569
9570 * config/ia64/tf-signs.c: Change copyright header to refer to
9571 version 3 of the GNU General Public License with version 3.1
9572 of the GCC Runtime Library Exception and to point readers at
9573 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
9574 web page.
9575 * config/i386/32/tf-signs.c: Likewise.
9576 * config/libbid/_addsub_dd.c: Likewise.
9577 * config/libbid/_addsub_sd.c: Likewise.
9578 * config/libbid/_addsub_td.c: Likewise.
9579 * config/libbid/_dd_to_df.c: Likewise.
9580 * config/libbid/_dd_to_di.c: Likewise.
9581 * config/libbid/_dd_to_sd.c: Likewise.
9582 * config/libbid/_dd_to_sf.c: Likewise.
9583 * config/libbid/_dd_to_si.c: Likewise.
9584 * config/libbid/_dd_to_td.c: Likewise.
9585 * config/libbid/_dd_to_tf.c: Likewise.
9586 * config/libbid/_dd_to_udi.c: Likewise.
9587 * config/libbid/_dd_to_usi.c: Likewise.
9588 * config/libbid/_dd_to_xf.c: Likewise.
9589 * config/libbid/_df_to_dd.c: Likewise.
9590 * config/libbid/_df_to_sd.c: Likewise.
9591 * config/libbid/_df_to_td.c: Likewise.
9592 * config/libbid/_di_to_dd.c: Likewise.
9593 * config/libbid/_di_to_sd.c: Likewise.
9594 * config/libbid/_di_to_td.c: Likewise.
9595 * config/libbid/_div_dd.c: Likewise.
9596 * config/libbid/_div_sd.c: Likewise.
9597 * config/libbid/_div_td.c: Likewise.
9598 * config/libbid/_eq_dd.c: Likewise.
9599 * config/libbid/_eq_sd.c: Likewise.
9600 * config/libbid/_eq_td.c: Likewise.
9601 * config/libbid/_ge_dd.c: Likewise.
9602 * config/libbid/_ge_sd.c: Likewise.
9603 * config/libbid/_ge_td.c: Likewise.
9604 * config/libbid/_gt_dd.c: Likewise.
9605 * config/libbid/_gt_sd.c: Likewise.
9606 * config/libbid/_gt_td.c: Likewise.
9607 * config/libbid/_isinfd128.c: Likewise.
9608 * config/libbid/_isinfd32.c: Likewise.
9609 * config/libbid/_isinfd64.c: Likewise.
9610 * config/libbid/_le_dd.c: Likewise.
9611 * config/libbid/_le_sd.c: Likewise.
9612 * config/libbid/_le_td.c: Likewise.
9613 * config/libbid/_lt_dd.c: Likewise.
9614 * config/libbid/_lt_sd.c: Likewise.
9615 * config/libbid/_lt_td.c: Likewise.
9616 * config/libbid/_mul_dd.c: Likewise.
9617 * config/libbid/_mul_sd.c: Likewise.
9618 * config/libbid/_mul_td.c: Likewise.
9619 * config/libbid/_ne_dd.c: Likewise.
9620 * config/libbid/_ne_sd.c: Likewise.
9621 * config/libbid/_ne_td.c: Likewise.
9622 * config/libbid/_sd_to_dd.c: Likewise.
9623 * config/libbid/_sd_to_df.c: Likewise.
9624 * config/libbid/_sd_to_di.c: Likewise.
9625 * config/libbid/_sd_to_sf.c: Likewise.
9626 * config/libbid/_sd_to_si.c: Likewise.
9627 * config/libbid/_sd_to_td.c: Likewise.
9628 * config/libbid/_sd_to_tf.c: Likewise.
9629 * config/libbid/_sd_to_udi.c: Likewise.
9630 * config/libbid/_sd_to_usi.c: Likewise.
9631 * config/libbid/_sd_to_xf.c: Likewise.
9632 * config/libbid/_sf_to_dd.c: Likewise.
9633 * config/libbid/_sf_to_sd.c: Likewise.
9634 * config/libbid/_sf_to_td.c: Likewise.
9635 * config/libbid/_si_to_dd.c: Likewise.
9636 * config/libbid/_si_to_sd.c: Likewise.
9637 * config/libbid/_si_to_td.c: Likewise.
9638 * config/libbid/_td_to_dd.c: Likewise.
9639 * config/libbid/_td_to_df.c: Likewise.
9640 * config/libbid/_td_to_di.c: Likewise.
9641 * config/libbid/_td_to_sd.c: Likewise.
9642 * config/libbid/_td_to_sf.c: Likewise.
9643 * config/libbid/_td_to_si.c: Likewise.
9644 * config/libbid/_td_to_tf.c: Likewise.
9645 * config/libbid/_td_to_udi.c: Likewise.
9646 * config/libbid/_td_to_usi.c: Likewise.
9647 * config/libbid/_td_to_xf.c: Likewise.
9648 * config/libbid/_tf_to_dd.c: Likewise.
9649 * config/libbid/_tf_to_sd.c: Likewise.
9650 * config/libbid/_tf_to_td.c: Likewise.
9651 * config/libbid/_udi_to_dd.c: Likewise.
9652 * config/libbid/_udi_to_sd.c: Likewise.
9653 * config/libbid/_udi_to_td.c: Likewise.
9654 * config/libbid/_unord_dd.c: Likewise.
9655 * config/libbid/_unord_sd.c: Likewise.
9656 * config/libbid/_unord_td.c: Likewise.
9657 * config/libbid/_usi_to_dd.c: Likewise.
9658 * config/libbid/_usi_to_sd.c: Likewise.
9659 * config/libbid/_usi_to_td.c: Likewise.
9660 * config/libbid/_xf_to_dd.c: Likewise.
9661 * config/libbid/_xf_to_sd.c: Likewise.
9662 * config/libbid/_xf_to_td.c: Likewise.
9663 * config/libbid/bid128.c: Likewise.
9664 * config/libbid/bid128_2_str.h: Likewise.
9665 * config/libbid/bid128_2_str_macros.h: Likewise.
9666 * config/libbid/bid128_2_str_tables.c: Likewise.
9667 * config/libbid/bid128_add.c: Likewise.
9668 * config/libbid/bid128_compare.c: Likewise.
9669 * config/libbid/bid128_div.c: Likewise.
9670 * config/libbid/bid128_fma.c: Likewise.
9671 * config/libbid/bid128_logb.c: Likewise.
9672 * config/libbid/bid128_minmax.c: Likewise.
9673 * config/libbid/bid128_mul.c: Likewise.
9674 * config/libbid/bid128_next.c: Likewise.
9675 * config/libbid/bid128_noncomp.c: Likewise.
9676 * config/libbid/bid128_quantize.c: Likewise.
9677 * config/libbid/bid128_rem.c: Likewise.
9678 * config/libbid/bid128_round_integral.c: Likewise.
9679 * config/libbid/bid128_scalb.c: Likewise.
9680 * config/libbid/bid128_sqrt.c: Likewise.
9681 * config/libbid/bid128_string.c: Likewise.
9682 * config/libbid/bid128_to_int16.c: Likewise.
9683 * config/libbid/bid128_to_int32.c: Likewise.
9684 * config/libbid/bid128_to_int64.c: Likewise.
9685 * config/libbid/bid128_to_int8.c: Likewise.
9686 * config/libbid/bid128_to_uint16.c: Likewise.
9687 * config/libbid/bid128_to_uint32.c: Likewise.
9688 * config/libbid/bid128_to_uint64.c: Likewise.
9689 * config/libbid/bid128_to_uint8.c: Likewise.
9690 * config/libbid/bid32_to_bid128.c: Likewise.
9691 * config/libbid/bid32_to_bid64.c: Likewise.
9692 * config/libbid/bid64_add.c: Likewise.
9693 * config/libbid/bid64_compare.c: Likewise.
9694 * config/libbid/bid64_div.c: Likewise.
9695 * config/libbid/bid64_fma.c: Likewise.
9696 * config/libbid/bid64_logb.c: Likewise.
9697 * config/libbid/bid64_minmax.c: Likewise.
9698 * config/libbid/bid64_mul.c: Likewise.
9699 * config/libbid/bid64_next.c: Likewise.
9700 * config/libbid/bid64_noncomp.c: Likewise.
9701 * config/libbid/bid64_quantize.c: Likewise.
9702 * config/libbid/bid64_rem.c: Likewise.
9703 * config/libbid/bid64_round_integral.c: Likewise.
9704 * config/libbid/bid64_scalb.c: Likewise.
9705 * config/libbid/bid64_sqrt.c: Likewise.
9706 * config/libbid/bid64_string.c: Likewise.
9707 * config/libbid/bid64_to_bid128.c: Likewise.
9708 * config/libbid/bid64_to_int16.c: Likewise.
9709 * config/libbid/bid64_to_int32.c: Likewise.
9710 * config/libbid/bid64_to_int64.c: Likewise.
9711 * config/libbid/bid64_to_int8.c: Likewise.
9712 * config/libbid/bid64_to_uint16.c: Likewise.
9713 * config/libbid/bid64_to_uint32.c: Likewise.
9714 * config/libbid/bid64_to_uint64.c: Likewise.
9715 * config/libbid/bid64_to_uint8.c: Likewise.
9716 * config/libbid/bid_b2d.h: Likewise.
9717 * config/libbid/bid_binarydecimal.c: Likewise.
9718 * config/libbid/bid_conf.h: Likewise.
9719 * config/libbid/bid_convert_data.c: Likewise.
9720 * config/libbid/bid_decimal_data.c: Likewise.
9721 * config/libbid/bid_decimal_globals.c: Likewise.
9722 * config/libbid/bid_div_macros.h: Likewise.
9723 * config/libbid/bid_dpd.c: Likewise.
9724 * config/libbid/bid_flag_operations.c: Likewise.
9725 * config/libbid/bid_from_int.c: Likewise.
9726 * config/libbid/bid_functions.h: Likewise.
9727 * config/libbid/bid_gcc_intrinsics.h: Likewise.
9728 * config/libbid/bid_inline_add.h: Likewise.
9729 * config/libbid/bid_internal.h: Likewise.
9730 * config/libbid/bid_round.c: Likewise.
9731 * config/libbid/bid_sqrt_macros.h: Likewise.
9732
97332009-04-09 Jakub Jelinek <jakub@redhat.com>
9734
9735 * Makefile.in: Change copyright header to refer to version
9736 3 of the GNU General Public License and to point readers at the
9737 COPYING3 file and the FSF's license web page.
9738 * config.host: Likewise.
9739
633dd061
AM
97402009-04-07 Alan Modra <amodra@bigpond.net.au>
9741
9742 * config.host: Reorder and merge to match config.gcc change.
9743
457d1d00
AM
97442009-04-03 Alan Modra <amodra@bigpond.net.au>
9745
9746 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
9747
52c0e446
JM
97482009-03-28 Joseph Myers <joseph@codesourcery.com>
9749
9750 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
9751 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
9752 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
9753 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
9754
ba181049
UB
97552009-02-12 Uros Bizjak <ubizjak@gmail.com>
9756
9757 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
9758 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
9759
c252db20
L
97602009-02-12 H.J. Lu <hongjiu.lu@intel.com>
9761
ba181049
UB
9762 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
9763 ia64/t-softfp-compat to tmake_file.
c252db20
L
9764
9765 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
9766
9767 * config/ia64/__divxf3.asm: New.
9768 * config/ia64/_fixtfdi.asm: Likewise.
9769 * config/ia64/_fixunstfdi.asm: Likewise.
9770 * config/ia64/_floatditf.asm: Likewise.
9771 * config/ia64/t-fprules-softfp: Likewise.
9772 * config/ia64/t-softfp-compat: Likewise.
9773 * config/ia64/tf-signs.c: Likewise.
9774
c60535f9
BE
97752009-01-18 Ben Elliston <bje@au.ibm.com>
9776
9777 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
9778
ce16861e
BE
97792009-01-16 Ben Elliston <bje@au.ibm.com>
9780
9781 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
9782 to tmake_file.
9783
bcf4713b
BE
97842009-01-13 Ben Elliston <bje@au.ibm.com>
9785
9786 * config/t-softfp: New file.
9787 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
9788 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
9789
7d296953 97902009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
2042cb04
JS
9791
9792 * config.host: Add m32r*-*-rtems*.
9793
7d296953 97942008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
541ed00e
JS
9795
9796 * config.host: Add m32c*-*-rtems*.
9797
19523300
RO
97982008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9799
9800 PR bootstrap/33100
9801 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
9802 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
9803 * configure: Regenerate.
9804 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
9805 tmake_file here from gcc/config.gcc.
9806 Move extra_parts here from gcc/config.gcc.
9807 * config/i386/t-sol2: Move here from gcc/config/i386.
9808 Use gcc_srcdir instead of srcdir.
9809
0a4a51c7
AN
98102008-11-18 Adam Nemet <anemet@caviumnetworks.com>
9811
9812 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
9813 case.
9814
2a761e46
TS
98152008-11-09 Thomas Schwinge <tschwinge@gnu.org>
9816
9817 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
9818
c0451df7
TS
98192008-10-08 Thomas Schwinge <tschwinge@gnu.org>
9820
9821 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
9822
358da97e
HS
98232008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
9824
9825 Add picoChip port.
9826 * config.host: Add picochip-*-*.
9827
c660f132
BW
98282008-08-06 Bob Wilson <bob.wilson@acm.org>
9829
9830 * config.host: Match more processor names for Xtensa.
9831
d1349557
L
98322008-07-08 H.J. Lu <hongjiu.lu@intel.com>
9833
9834 * config/i386/64/t-softfp-compat: Update comments.
9835
dd7b73c0
L
98362008-07-07 H.J. Lu <hongjiu.lu@intel.com>
9837
9838 * config/i386/64/_divtc3-compat.c: Moved to ...
9839 * config/i386/64/_divtc3.c: Here.
9840
9841 * config/i386/64/_multc3-compat.c: Moved to ...
9842 * config/i386/64/_multc3.c: Here.
9843
9844 * config/i386/64/_powitf2-compat.c: Moved to ...
9845 * config/i386/64/_powitf2.c: Here.
9846
9847 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
9848 .c suffix instead of -compat.c.
9849
6e1fab3d
UB
98502008-07-05 Uros Bizjak <ubizjak@gmail.com>
9851
9852 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
9853 (_FP_MUL_MEAT_D): Ditto.
9854 (_FP_DIV_MEAT_S): Ditto.
9855 (_FP_DIV_MEAT_D): Ditto.
9856
f92518d7
RS
98572008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
9858
9859 * Makefile.in: Add support for __sync_* libgcc functions.
9860
d0aede14
L
98612008-07-03 H.J. Lu <hongjiu.lu@intel.com>
9862
9863 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
9864
c174f11c
L
98652008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9866
9867 PR boostrap/36702
9868 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
9869 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
9870
9871 * config/i386/64/t-fprules-softfp: Moved to ...
9872 * config/i386/64/t-softfp-compat: This. New.
9873
5f464fa2
UB
98742008-07-02 Uros Bizjak <ubizjak@gmail.com>
9875
9876 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
9877 Initialize f with 0.0.
9878
ff473280
L
98792008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9880
9881 PR target/36669
9882 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
9883
9884 * config/i386/64/_divtc3-compat.c: New.
9885 * config/i386/64/_multc3-compat.c: Likewise.
9886 * config/i386/64/_powitf2-compat.c: Likewise.
9887 * config/i386/64/eqtf2.c: Likewise.
9888 * config/i386/64/getf2.c: Likewise.
9889 * config/i386/64/letf2.c: Likewise.
9890 * config/i386/64/t-fprules-softfp: Likewise.
9891
98922008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9893
9894 * config.host: Add i386/${host_address}/t-fprules-softfp to
9895 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
dfb3b0e3 9896 i[34567]86-*-linux*, x86_64-*-linux*.
ff473280
L
9897
9898 * configure.ac: Set host_address to 64 or 32 for x86.
9899 * configure: Regenerated.
9900
9901 * Makefile.in (config.status): Also depend on
9902 $(srcdir)/config.host.
9903
9904 * config/i386/32/t-fprules-softfp: New.
9905 * config/i386/32/tf-signs.c: Likewise.
9906
9907 * config/i386/64/sfp-machine.h: New. Moved from gcc.
9908
99092008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9910 Uros Bizjak <ubizjak@gmail.com>
9911
9912 * config/i386/32/sfp-machine.h: New.
9913
30551d99
NF
99142008-06-26 Nathan Froyd <froydnj@codesourcery.com>
9915
9916 * config/rs6000/t-ppccomm: Remove rules that conflict with
9917 auto-generated rules.
9918
18c04407
RW
99192008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9920
9921 * configure.ac: sinclude override.m4.
9922 * configure: Regenerate.
9923
10fbe77a
BRF
99242008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
9925
9926 * configure: Regenerate.
9927
bc6d4c3f
JM
99282008-06-10 Joseph Myers <joseph@codesourcery.com>
9929
9930 * Makefile.in (DECNUMINC): Remove
9931 -I$(MULTIBUILDTOP)../../libdecnumber.
9932 * gstdint.h: New.
9933
cd985f66
JM
99342008-06-07 Joseph Myers <joseph@codesourcery.com>
9935
9936 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
9937 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
9938 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
9939 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
9940 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
9941 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
9942 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
9943 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
9944 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
9945 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
9946 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
9947 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
9948 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
9949 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
9950
93fea8d3
AL
99512008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
9952
9953 * config.host (sh2[lbe]*-*-linux*): Allow target.
9954
18724e30
NF
99552008-04-30 Nathan Froyd <froydnj@codesourcery.com>
9956
9957 * config/rs6000/t-ppccomm: Add build rules for new files.
9958 (LIB2ADD_ST): New variable.
9959
47583040
AH
99602008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
9961
9962 PR target/34210
9963 PR target/35508
9964 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
9965 * config/t-avr: New file. Build 16bit libgcc functions.
9966
cf8e67fe
JJ
99672008-03-02 Jakub Jelinek <jakub@redhat.com>
9968
9969 PR target/35401
9970 * config/t-slibgcc-darwin: Make install-leaf dependent on
9971 install-darwin-libgcc-stubs instead of install.
9972
8d8da227
JM
99732008-01-25 Joseph Myers <joseph@codesourcery.com>
9974
9975 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
9976 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
9977 sh-*-rtemscoff*): Remove cases.
9978
edbf8b16
RS
99792007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
9980
9981 * Makefile.in (all): Use install-leaf rather than install.
9982 (install): Split most of the rule into...
9983 (install-leaf): ...this new one.
9984
89deeaff
EK
99852007-12-19 Etsushi Kato <ek.kato@gmail.com>
9986 Paolo Bonzini <bonzini@gnu.org>
9987
9988 PR target/30572
5f464fa2
UB
9989 * Makefile.in: Use @shlib_slibdir@ substitution to get
9990 correct install name on darwin.
89deeaff 9991 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
dfb3b0e3 9992
4081d704
HPN
99932007-12-15 Hans-Peter Nilsson <hp@axis.com>
9994
9995 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
9996 cris-*-elf and cris-*-none.
9997 (crisv32-*-linux*): Similar, as cris-*-linux*.
9998
f43e89a3
RIL
99992007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
10000
10001 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
10002
b4e9c2c6
L
100032007-10-27 H.J. Lu <hongjiu.lu@intel.com>
10004
10005 PR regression/33926
10006 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
10007 * configure: Regenerated.
10008
b2a00c89
L
100092007-09-27 H.J. Lu <hongjiu.lu@intel.com>
10010
10011 * Makefile.in (dfp-filenames): Replace decimal_globals,
10012 decimal_data, binarydecimal and convert_data with
10013 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
10014 and bid_convert_data, respectively.
10015
8d2a9e0e
CF
100162007-09-17 Chao-ying Fu <fu@mips.com>
10017 Nigel Stephens <nigel@mips.com>
10018
10019 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
10020 * Makefile.in (fixed_point): Define.
10021 Check if fixed_point is yes to build support functions.
10022 * configure.ac: Check for fixed_point support.
10023 * configure: Regenerated.
10024 * gen-fixed.sh: New file to generate lists of fixed-point labels,
10025 funcs, modes, from, to.
10026
2b53935d
JJ
100272007-09-11 Janis Johnson <janis187@us.ibm.com
10028
10029 * Makefile.in (dfp-filenames): Add bid128_noncomp.
10030
2533577f
JJ
100312007-09-10 Janis Johnson <janis187@us.ibm.com>
10032
10033 * Makefile.in (dfp-filenames): Remove decUtility, add
10034 decDouble, decPacked, decQuad, decSingle.
10035
3ae3dbd6
HK
100362007-08-27 Hans Kester <hans.kester@ellips.nl>
10037
10038 * config.host : Add x86_64-elf target.
10039
22867d02
L
100402007-07-06 H.J. Lu <hongjiu.lu@intel.com>
10041
10042 * configure.ac (set_have_cc_tls): Add a missing =.
10043 * configure: Regenerated.
10044
6f461e76
L
100452007-07-06 H.J. Lu <hongjiu.lu@intel.com>
10046
10047 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
10048 and x86_64-*-linux*.
10049
10050 * config/t-tls: New file.
10051
dfb3b0e3 10052 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
6f461e76
L
10053
10054 * configure.ac: Include ../config/enable.m4 and
10055 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
10056 supports TLS and substitute set_have_cc_tls.
10057 * configure: Regenerated.
10058
200359e8
L
100592007-07-04 H.J. Lu <hongjiu.lu@intel.com>
10060
10061 * Makefile.in: Use libbid for DFP when BID is enabled.
10062
76f5e200
DS
100632007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
10064
10065 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
dfb3b0e3 10066 extra_parts. Add config/i386/t-cygming to tmake_file.
76f5e200
DS
10067 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
10068
9bd196f0 100692007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
200359e8 10070 Danny Smith <dannysmith@users.sourceforge.net>
9bd196f0
ZM
10071
10072 PR target/29498
10073 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
10074 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
10075 * config/i386/t-crtfm: Compile crtfastmath.o with
10076 -minline-all-stringops.
10077
1910440e
RS
100782007-05-10 Richard Sandiford <richard@codesourcery.com>
10079
10080 * config.host (sparc-wrs-vxworks): New target.
10081
7d33c31d
KH
100822007-04-14 Kazu Hirata <kazu@codesourcery.com>
10083
10084 * config.host: Recognize fido.
10085
96fccd0d
JJ
100862007-04-04 Janis Johnson <janis187@us.ibm.com>
10087
10088 * configure: Check host, not target, for decimal float support.
10089
577565f9
UB
100902007-04-03 Uros Bizjak <ubizjak@gmail.com>
10091
10092 * config/i386/t-crtpc: New file.
10093 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
5f464fa2 10094 (x86_64-*-linux*): Ditto.
577565f9 10095
ccf8e764
RH
100962007-02-30 Kai Tietz <kai.tietz@onevision.com>
10097
10098 * config.host (x86_64-*-mingw*): New target.
10099
79b87c74
MM
101002007-03-23 Michael Meissner <michael.meissner@amd.com>
10101 H.J. Lu <hongjiu.lu@intel.com>
10102
10103 * Makefile.in (enable_decimal_float): New.
10104 (DECNUMINC): Add
10105 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
10106 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
10107 (decbits-filenames): This.
10108 (decbits-objects): New.
10109 (libgcc-objects): Add $(decbits-objects).
10110
10111 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
10112 Substitute enable_decimal_float.
10113 * configure: Regenerated.
10114
8fce4e31
HPN
101152007-03-19 Hans-Peter Nilsson <hp@axis.com>
10116
10117 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
10118
e8bb4597
BM
101192007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
10120
10121 * Makefile.in (install-info): New dummy target.
10122
344189f9
BS
101232007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
10124
10125 * config.host (bfin*-linux-uclibc*): Set extra_parts.
10126
ac84c172
BM
101272007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
10128
10129 * Makefile.in: Add install-html and install-pdf dummy
10130 targets.
10131
cd5c2357
RS
101322007-02-05 Roger Sayle <roger@eyesopen.com>
10133 Daniel Jacobowitz <dan@codesourcery.com>
10134
10135 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
10136 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
10137 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
10138
d9a66f98
JJ
101392007-01-29 Janis Johnson <janis187@us.ibm.com>
10140
10141 * Makefile.in (dec-filenames): Add decExcept.
10142
9891ec5f
DJ
101432007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
10144
10145 PR bootstrap/30469
10146 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
10147 -fprofile-use.
10148
d6efbf5a
DJ
101492007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
10150
10151 * configure.ac: Add --enable-version-specific-runtime-libs.
10152 Correct $slibdir default.
10153 * configure: Regenerated.
10154
17caeff2
JM
101552007-01-23 Joseph Myers <joseph@codesourcery.com>
10156
10157 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
10158
5ea41e3a
AP
101592007-01-21 Andrew Pinski <pinskia@gmail.com>
10160
10161 PR target/30519
10162 * config.host (alpha*-*-linux*): Set extra_parts.
10163
26900826
KK
101642007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
10165
10166 * config/sh/t-linux: New.
10167 * config.host (sh*-*-linux*): Set tmake_file.
10168
97af925b
DJ
101692007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
10170
10171 * Makefile.in (install): Handle multilibs.
10172
b0088af7
BM
101732007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
10174
10175 * Makefile.in: Added .PHONY entry for documentation targets.
10176
e0a9456a
BM
101772007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
10178
10179 * Makefile.in: Add empty info, html, dvi, pdf targets.
10180
7fd453b4
MS
101812007-01-04 Mike Stump <mrs@apple.com>
10182
10183 * Makefile.in (MAKEINFO): Remove.
10184 (PERL): Likewise.
10185
14e8fc8b
PB
101862007-01-04 Paolo Bonzini <bonzini@gnu.org>
10187
10188 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
10189 * configure: Regenerate.
10190 * Makefile.in (host_subdir): Substitute it.
dfb3b0e3 10191 (gcc_objdir): Use it.
14e8fc8b 10192
1555beba
DJ
101932007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
10194
10195 * config.host (ia64*-*-linux*): Set tmake_file.
10196
79e6eaeb
DJ
101972007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
10198
10199 * Makefile.in (version): Define.
10200
fa958513
DJ
102012007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
10202 Paolo Bonzini <bonzini@gnu.org>
10203
10204 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
10205 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
10206 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
10207 config/sparc/t-crtfm, config/t-slibgcc-darwin,
10208 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
10209 shared-object.mk, siditi-object.mk, static-object.mk: New files.
10210 * configure: Generated.
818ab71a 10211\f
a5544970 10212Copyright (C) 2007-2019 Free Software Foundation, Inc.
818ab71a
JJ
10213
10214Copying and distribution of this file, with or without modification,
10215are permitted in any medium without royalty provided the copyright
10216notice and this notice are preserved.