]> git.ipfire.org Git - thirdparty/gcc.git/blame - libgcc/ChangeLog
tree-ssa-alias.c (nonoverlapping_component_refs_since_match_p): Fix check for match...
[thirdparty/gcc.git] / libgcc / ChangeLog
CommitLineData
179c7ef5
IS
12019-07-03 Iain Sandoe <iain@sandoe.co.uk>
2
3 * config.host (powerpc-*-darwin*,powerpc64-*-darwin*): Revise crt
4 list.
5 * config/rs6000/t-darwin: Build crt3_2 for older systems. Revise
6 mmacosx-version-min for crts to run across all system versions.
7 * config/rs6000/t-darwin64 (LIB2ADD): Remove.
8 * config/t-darwin: Revise mmacosx-version-min for crts to run across
9 system versions >= 10.4.
10
596341c7
ML
112019-07-03 Martin Liska <mliska@suse.cz>
12
13 * Makefile.in: Use topn_values instead of one_value names.
14 * libgcov-merge.c (__gcov_merge_single): Move to ...
15 (__gcov_merge_topn): ... this.
16 (merge_single_value_set): Move to ...
17 (merge_topn_values_set): ... this.
18 * libgcov-profiler.c (__gcov_one_value_profiler_body): Move to
19 ...
20 (__gcov_topn_values_profiler_body): ... this.
21 (__gcov_one_value_profiler_v2): Move to ...
22 (__gcov_topn_values_profiler): ... this.
23 (__gcov_one_value_profiler_v2_atomic): Move to ...
24 (__gcov_topn_values_profiler_atomic): ... this.
25 (__gcov_indirect_call_profiler_v4): Remove.
26 * libgcov-util.c (__gcov_single_counter_op): Move to ...
27 (__gcov_topn_counter_op): ... this.
28 * libgcov.h (L_gcov_merge_single): Remove.
29 (L_gcov_merge_topn): New.
30 (__gcov_merge_single): Remove.
31 (__gcov_merge_topn): New.
32 (__gcov_one_value_profiler_v2): Move to ..
33 (__gcov_topn_values_profiler): ... this.
34 (__gcov_one_value_profiler_v2_atomic): Move to ...
35 (__gcov_topn_values_profiler_atomic): ... this.
36
1b309ca5
ML
372019-07-03 Martin Liska <mliska@suse.cz>
38
39 * libgcov-merge.c (merge_single_value_set): Support N values.
40 * libgcov-profiler.c (__gcov_one_value_profiler_body): Likewise.
41
5a460280
ID
422019-06-27 Ilia Diachkov <ilia.diachkov@optimitech.com>
43
44 * Makefile.in (USE_TM_CLONE_REGISTRY): New.
45 (CRTSTUFF_CFLAGS): Use USE_TM_CLONE_REGISTRY.
46 * configure.ac: Add --disable-tm-clone-registry option.
47 * configure: Regenerate.
48
45309d28
ML
492019-06-27 Martin Liska <mliska@suse.cz>
50
51 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Remove obviously
52 dead assignments.
53 * libgcov-util.c: Likewise.
54
c2f7a665
ML
552019-06-27 Martin Liska <mliska@suse.cz>
56
57 * libgcov-util.c (gcov_profile_merge): Release allocated
58 memory.
59 (calculate_overlap): Likewise.
60
a8e55c61
IS
612019-06-25 Iain Sandoe <iain@sandoe.co.uk>
62
63 * config.host: Add libef_ppc.a to the extra files for powerpc-darwin.
64 * config/rs6000/t-darwin: (PPC_ENDFILE_SRC, PPC_ENDFILE_OBJS): New.
65 Build objects for the out of line save/restore register functions
66 so that they can be used for any supported Darwin version.
67 * config/t-darwin: Default the build Darwin version to Darwin8
68 (MacOS 10.4).
69
e5ce4cbc
ML
702019-06-25 Martin Liska <mliska@suse.cz>
71
72 * libgcov-driver-system.c (replace_filename_variables): Do not
73 call strlen with NULL argument.
74
52a47d28
AS
752019-06-25 Andrew Stubbs <ams@codesourcery.com>
76
77 * config/gcn/t-amdgcn (LIB2ADD): Add unwind-gcn.c.
78 * config/gcn/unwind-gcn.c: New file.
79
76d46331
KCY
802019-06-25 Kwok Cheung Yeung <kcy@codesourcery.com>
81 Andrew Stubbs <ams@codesourcery.com>
82
83 * configure: Regenerate.
84 * config/gcn/gthr-gcn.h: New.
85
787783a0
TV
862019-06-18 Tom de Vries <tdevries@suse.de>
87
88 * config/nvptx/crt0.c (__main): Declare.
89
f32f7585
MG
902019-06-17 Matthew Green <mrg@eterna.com.au>
91 Maya Rashish <coypu@sdf.org>
92
93 * config.host (aarch64*-*-netbsd*): New case.
94
0fcc78f7
JL
952019-06-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
96
97 * config/msp430/slli.S (__mspabi_sllll): New library function for
98 performing a logical left shift of a 64-bit value.
99 * config/msp430/srai.S (__mspabi_srall): New library function for
100 performing a arithmetic right shift of a 64-bit value.
101 * config/msp430/srll.S (__mspabi_srlll): New library function for
102 performing a logical right shift of a 64-bit value.
103
b27c1082
MT
1042019-06-14 Matt Thomas <matt@3am-software.com>
105 Matthew Green <mrg@eterna.com.au>
106 Nick Hudson <skrll@netbsd.org>
107 Maya Rashish <coypu@sdf.org>
108
109 * config.host (arm*-*-netbsdelf*): Add support for EABI configurations.
110 * config/arm/t-netbsd (LIB1ASMFUNCS): Add some additional assembler
111 functions to build.
112 * config/arm/t-netbsd-eabi: New file.
113
ae7deb4b
DD
1142019-06-12 Dimitar Dimitrov <dimitar@dinux.eu>
115
116 * config.host: Add PRU target.
117 * config/pru/asri.c: New file.
118 * config/pru/eqd.c: New file.
119 * config/pru/eqf.c: New file.
120 * config/pru/ged.c: New file.
121 * config/pru/gef.c: New file.
122 * config/pru/gtd.c: New file.
123 * config/pru/gtf.c: New file.
124 * config/pru/led.c: New file.
125 * config/pru/lef.c: New file.
126 * config/pru/lib2bitcountHI.c: New file.
127 * config/pru/lib2divHI.c: New file.
128 * config/pru/lib2divQI.c: New file.
129 * config/pru/lib2divSI.c: New file.
130 * config/pru/libgcc-eabi.ver: New file.
131 * config/pru/ltd.c: New file.
132 * config/pru/ltf.c: New file.
133 * config/pru/mpyll.S: New file.
134 * config/pru/pru-abi.h: New file.
135 * config/pru/pru-asm.h: New file.
136 * config/pru/pru-divmod.h: New file.
137 * config/pru/sfp-machine.h: New file.
138 * config/pru/t-pru: New file.
139
0d7b3e47
JJ
1402019-06-11 Jakub Jelinek <jakub@redhat.com>
141
142 * libgcov-merge.c (__gcov_merge_single): Revert previous change.
143
54e2d83c
ML
1442019-06-10 Martin Liska <mliska@suse.cz>
145
146 PR bootstrap/90808
147 * libgcov.h: Add ATTRIBUTE_UNUSED.
148
92d41717
ML
1492019-06-10 Martin Liska <mliska@suse.cz>
150
151 * Makefile.in: Add __gcov_one_value_profiler_v2,
152 __gcov_one_value_profiler_v2_atomic and
153 __gcov_indirect_call_profiler_v4.
154 * libgcov-merge.c (__gcov_merge_single): Change
155 function signature.
156 (merge_single_value_set): New.
157 * libgcov-profiler.c (__gcov_one_value_profiler_body):
158 Update functionality.
159 (__gcov_one_value_profiler): Remove.
160 (__gcov_one_value_profiler_v2): ... this.
161 (__gcov_one_value_profiler_atomic): Rename to ...
162 (__gcov_one_value_profiler_v2_atomic): this.
163 (__gcov_indirect_call_profiler_v3): Rename to ...
164 (__gcov_indirect_call_profiler_v4): ... this.
165 * libgcov.h (__gcov_one_value_profiler): Remove.
166 (__gcov_one_value_profiler_atomic): Remove.
167 (__gcov_one_value_profiler_v2_atomic): New.
168 (__gcov_indirect_call_profiler_v3): Remove.
169 (__gcov_one_value_profiler_v2): New.
170 (__gcov_indirect_call_profiler_v4): New.
171 (gcov_get_counter_ignore_scaling): New function.
172
e37333ba
ML
1732019-06-07 Martin Liska <mliska@suse.cz>
174
175 * Makefile.in: Remove usage of
176 _gcov_merge_icall_topn.
177 * libgcov-driver.c (gcov_sort_n_vals): Remove.
178 (gcov_sort_icall_topn_counter): Likewise.
179 (gcov_sort_topn_counter_arrays): Likewise.
180 (dump_one_gcov): Remove call to gcov_sort_topn_counter_arrays.
181 * libgcov-merge.c (__gcov_merge_icall_topn): Remove.
182 * libgcov-profiler.c (__gcov_topn_value_profiler_body):
183 Likewise.
184 (GCOV_ICALL_COUNTER_CLEAR_THRESHOLD): Remove.
185 (struct indirect_call_tuple): Remove.
186 (__gcov_indirect_call_topn_profiler): Remove.
187 * libgcov-util.c (__gcov_icall_topn_counter_op): Remove.
188 * libgcov.h (gcov_sort_n_vals): Remove.
189 (L_gcov_merge_icall_topn): Likewise.
190 (__gcov_merge_icall_topn): Likewise.
191 (__gcov_indirect_call_topn_profiler): Likewise.
192
34a4a9c2
IS
1932019-06-06 Iain Sandoe <iain@sandoe.co.uk>
194
195 * config/rs6000/t-darwin: Ensure that the unwinder is built with
196 altivec enabled.
197
d1b2f85f
JL
1982019-06-06 Jozef Lawrynowicz <jozef.l@mittosystems.com>
199
200 * config/msp430/slli.S (__mspabi_slli_n): Put function in its own
201 section.
202 (__mspabi_slli): Likewise.
203 (__mspabi_slll_n): Likewise.
204 (__mspabi_slll): Likewise.
205 * config/msp430/srai.S (__mspabi_srai_n): Likewise.
206 (__mspabi_srai): Likewise.
207 (__mspabi_sral_n): Likewise.
208 (__mspabi_sral): Likewise.
209 * config/msp430/srli.S (__mspabi_srli_n): Likewise.
210 (__mspabi_srli): Likewise.
211 (__mspabi_srll_n): Likewise.
212 (__mspabi_srll): Likewise.
213
e69a13d1
YS
2142019-06-05 Yoshinori Sato <ysato@users.sourceforge.jp>
215
216 * config.host (rx-*-linux*): Add t-fdpbit to tmake_file
217 Add appropriate tm_file clause as well.
218 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Remove.
219
b009eac1
JC
2202019-06-05 James Clarke <jrtc27@jrtc27.com>
221
222 * config/ia64/crtbegin.S (__dso_handle): Put in .sdata/.sbss
223 rather than .data/.bss so it can be accessed via gp-relative
224 addressing.
225
781d39f2
DE
2262019-06-05 David Edelsohn <dje.gcc@gmail.com>
227
228 * config/rs6000/aix-unwind.h (LR_REGNO): Rename to R_LR.
229 (CR2_REGNO): Rename to R_CR2.
230 (XER_REGNO): Rename to R_XER.
231 (FIRST_ALTIVEC_REGNO): Rename to R_FIRST_ALTIVEC.
232 (VRSAVE_REGNO): Rename to R_VRSAVE.
233 (VSCR_REGNO): R_VSCR.
234
76aaa9cd
YS
2352019-05-29 Yoshinori Sato <ysato@users.sourceforge.jp>
236
237 * config.host (rx-*-linux*): Add new case.
238 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Force DFmode to SFmode.
239
8fc16d72
ST
2402019-05-29 Sam Tebbs <sam.tebbs@arm.com>
241
242 * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key): New
243 function.
244 * config/aarch64/aarch64-unwind.h (aarch64_post_extract_frame_addr,
245 aarch64_post_frob_eh_handler_addr): Add check for b-key.
246 * config/aarch64/aarch64-unwind-h (aarch64_post_extract_frame_addr,
247 aarch64_post_frob_eh_handler_addr, aarch64_post_frob_update_context):
248 Rename RA_A_SIGNED_BIT to RA_SIGNED_BIT.
249 * unwind-dw2-fde.c (get_cie_encoding): Add check for 'B' in augmentation
250 string.
251 * unwind-dw2.c (extract_cie_info): Add check for 'B' in augmentation
252 string.
253 (RA_A_SIGNED_BIT): Rename to RA_SIGNED_BIT.
254
e54b1a92
RO
2552019-05-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
256
257 * config/sparc/sol2-unwind.h [__arch64__] (sparc64_is_sighandler):
258 Remove Solaris 9 and 10 support.
259 (sparc_is_sighandler): Likewise.
260
abbb8307
JDA
2612019-05-26 John David Anglin <danglin@gcc.gnu.org>
262
263 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Add cast.
264
2581344d
L
2652019-05-17 H.J. Lu <hongjiu.lu@intel.com>
266
267 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
268 4_FP_W_TYPEs are used for IEEE quad precision.
269 * soft-fp/extendhftf2.c: Likewise.
270 * soft-fp/extendsftf2.c: Likewise.
271 * soft-fp/extendxftf2.c: Likewise.
272 * soft-fp/trunctfdf2.c: Likewise.
273 * soft-fp/trunctfhf2.c: Likewise.
274 * soft-fp/trunctfsf2.c: Likewise.
275 * soft-fp/trunctfxf2.c: Likewise.
276 * config/rs6000/ibm-ldouble.c: Likewise.
277
ccd1242e
RO
2782019-05-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
279
280 * config.host: Simplify various *-*-solaris2.1[0-9]* to
281 *-*-solaris2*.
282 * configure.ac: Likewise.
283 * configure: Regenerate.
284
285 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
286 Solaris 10 and Solaris 11 < snv_125 handling.
287
ef5eb79d
IS
2882019-05-12 Iain Sandoe <iain@sandoe.co.uk>
289
290 * config/rs6000/darwin-vecsave.S: Set .machine appropriately.
291
4f0e90fa
HL
2922019-05-07 Hongtao Liu <hongtao.liu@intel.com>
293
294 * config/i386/cpuinfo.c (get_available_features): Detect BF16.
295 * config/i386/cpuinfo.h (enum processor_features): Add
296 FEATURE_AVX512BF16.
297
48528842
RR
2982019-04-23 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
299 Bernd Edlinger <bernd.edlinger@hotmail.de>
300 Jakub Jelinek <jakub@redhat.com>
301
302 PR target/89093
303 * config/arm/pr-support.c: Add #pragma GCC target("general-regs-only").
304 * config/arm/unwind-arm.c: Likewise.
305 * unwind-c.c (PERSONALITY_FUNCTION): Add general-regs-only target
306 attribute for ARM.
307
887e182f
MC
3082019-04-15 Monk Chiang <sh.chiang04@gmail.com>
309
310 * config/nds32/linux-unwind.h (SIGRETURN): Remove.
311 (RT_SIGRETURN): Update.
312 (nds32_fallback_frame_state): Update.
313
a90b0cdd
MS
3142019-02-21 Martin Sebor <msebor@redhat.com>
315
316 * libgcc2.h (__clear_cache): Correct signature.
317 * libgcc2.c (__clear_cache): Same.
318
1ed28eda
UB
3192019-02-20 Uroš Bizjak <ubizjak@gmail.com>
320
321 * config/alpha/linux-unwind.h (alpha_fallback_frame_state):
322 Cast 'mcontext_t *' &rt_->uc.uc_mcontext to 'struct sigcontext *'.
323
fe95aee9
UB
3242019-02-19 Uroš Bizjak <ubizjak@gmail.com>
325
326 * unwind-dw2.c (_Unwind_GetGR) [DWARF_ZERO_REG]: Compare
327 regno instead of index to DWARF_ZERO_REG.
328
bf7988f1
EB
3292019-02-15 Eric Botcazou <ebotcazou@adacore.com>
330
331 * config/visium/lib2funcs.c (__set_trampoline_parity): Replace
332 TRAMPOLINE_SIZE with __LIBGCC_TRAMPOLINE_SIZE__.
333
ba2c1ca8
UB
3342019-01-31 Uroš Bizjak <ubizjak@gmail.com>
335
336 * config/alpha/t-linux: Add -mfp-rounding-mode=d
337 to HOST_LIBGCC2_CFLAGS.
338
6395ba73
L
3392019-01-23 Joseph Myers <joseph@codesourcery.com>
340
341 PR libgcc/88931
ba2c1ca8 342 * libgcc2.c (FSTYPE FUNC (DWtype u)): Correct no leading bits case.
6395ba73 343
756721ba
ML
3442019-01-18 Martin Liska <mliska@suse.cz>
345
346 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Rename
347 to ...
348 (__gcov_indirect_call_profiler_v3): ... this.
349 * libgcov.h (__gcov_indirect_call_profiler_v2): Likewise.
350 (__gcov_indirect_call_profiler_v3): Likewise.
351 * Makefile.in: Bump function name.
352
d273c40a
ML
3532019-01-18 Martin Liska <mliska@suse.cz>
354
355 * libgcov-driver.c (GCOV_PROF_PREFIX): Define.
356 (gcov_version): Use in gcov_error.
357 (merge_one_data): Likewise.
358 (dump_one_gcov): Likewise.
359
be9d9fdb
ML
3602019-01-18 Martin Liska <mliska@suse.cz>
361
362 * libgcov-driver.c (gcov_version_string): New function.
363 (gcov_version): Convert version integer into string.
364
91d7b7fe
AS
3652019-01-17 Andrew Stubbs <ams@codesourcery.com>
366 Kwok Cheung Yeung <kcy@codesourcery.com>
367 Julian Brown <julian@codesourcery.com>
368 Tom de Vries <tom@codesourcery.com>
369
370 * config.host: Recognize amdgcn*-*-amdhsa.
371 * config/gcn/crt0.c: New file.
372 * config/gcn/lib2-divmod-hi.c: New file.
373 * config/gcn/lib2-divmod.c: New file.
374 * config/gcn/lib2-gcn.h: New file.
375 * config/gcn/sfp-machine.h: New file.
376 * config/gcn/t-amdgcn: New file.
377
67914693
SL
3782019-01-09 Sandra Loosemore <sandra@codesourcery.com>
379
380 PR other/16615
381
382 * config/c6x/libunwind.S: Mechanically replace "can not" with
383 "cannot".
384 * config/tilepro/atomic.h: Likewise.
385 * config/vxlib-tls.c: Likewise.
386 * generic-morestack-thread.c: Likewise.
387 * generic-morestack.c: Likewise.
388 * mkmap-symver.awk: Likewise.
389
a5544970
JJ
3902019-01-01 Jakub Jelinek <jakub@redhat.com>
391
392 Update copyright years.
393
da77eace
L
3942018-12-20 H.J. Lu <hongjiu.lu@intel.com>
395
396 * unwind-pe.h (read_encoded_value_with_base): Add GCC pragma
397 to ignore -Waddress-of-packed-member.
398
72e3a529
TP
3992018-12-19 Thomas Preud'homme <thomas.preudhomme@linaro.org>
400
401 * /config/arm/lib1funcs.S (FUNC_START): Remove unused sp_section
402 parameter and corresponding code.
403 (ARM_FUNC_START): Likewise in both definitions.
404 Also update footer comment about condition that need to match with
405 gcc/config/arm/elf.h to also include libgcc/config/arm/t-arm.
406 * config/arm/ieee754-df.S (muldf3): Also build it if L_arm_muldf3 is
407 defined. Weakly define it in this case.
408 * config/arm/ieee754-sf.S (mulsf3): Likewise with L_arm_mulsf3.
409 * config/arm/t-elf (LIB1ASMFUNCS): Build _arm_muldf3.o and
410 _arm_mulsf3.o before muldiv versions if targeting Thumb-1 only. Add
411 comment to keep condition in sync with the one in
412 libgcc/config/arm/lib1funcs.S and gcc/config/arm/elf.h.
413
5d54c798
WX
4142018-12-18 Wei Xiao <wei3.xiao@intel.com>
415
416 * config/i386/cpuinfo.c (get_intel_cpu): Handle cascadelake.
417 * config/i386/cpuinfo.h: Add INTEL_COREI7_CASCADELAKE.
418
5a2580b6
RV
4192018-12-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
420
421 * config/rs6000/tramp.S (__trampoline_setup): Also emit .size
422 and .cfi_endproc directives for VxWorks targets.
423
c0c5112b
PK
4242018-12-05 Paul Koning <ni1d@arrl.net>
425
426 * udivmodhi4.c (__udivmodhi4): Fix loop end check.
427
1ea7ea18
AM
4282018-11-27 Alan Modra <amodra@gmail.com>
429
430 * config/rs6000/morestack.S (__stack_split_initialize),
431 (__morestack_get_guard, __morestack_set_guard),
432 (__morestack_make_guard): Provide CFI covering these functions.
433 * config/rs6000/tramp.S (__trampoline_setup): Likewise.
434
ff641ae1
XQ
4352018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
436
1ea7ea18 437 * config/csky/linux-unwind.h (sc_pt_regs): Update for kernel.
ff641ae1
XQ
438 (sc_pt_regs_lr): Update for kernel.
439 (sc_pt_regs_tls): Update for kernel.
440
28209372
XQ
4412018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
442
443 * config/csky/linux-unwind.h: Fix coding style.
444
b2a71af6
XQ
4452018-11-13 Xianmiao Qu <xianmiao_qu@c-sky.com>
446
447 * config/csky/linux-unwind.h (_sig_ucontext_t): Remove.
1ea7ea18 448 (csky_fallback_frame_state): Modify the check of the
b2a71af6
XQ
449 instructions to adapt to changes in the kernel
450
d929e137
SH
4512018-11-09 Stafford Horne <shorne@gmail.com>
452 Richard Henderson <rth@twiddle.net>
453
454 * config.host: Add OpenRISC support.
455 * config/or1k/*: New.
456
222cfefa
KC
4572018-11-08 Kito Cheng <kito@andestech.com>
458
459 * soft-fp/adddf3.c: Update from glibc.
460 * soft-fp/addsf3.c: Likewise.
461 * soft-fp/addtf3.c: Likewise.
462 * soft-fp/divdf3.c: Likewise.
463 * soft-fp/divsf3.c: Likewise.
464 * soft-fp/divtf3.c: Likewise.
465 * soft-fp/double.h: Likewise.
466 * soft-fp/eqdf2.c: Likewise.
467 * soft-fp/eqsf2.c: Likewise.
468 * soft-fp/eqtf2.c: Likewise.
469 * soft-fp/extenddftf2.c: Likewise.
470 * soft-fp/extended.h: Likewise.
471 * soft-fp/extendhftf2.c: Likewise.
472 * soft-fp/extendsfdf2.c: Likewise.
473 * soft-fp/extendsftf2.c: Likewise.
474 * soft-fp/extendxftf2.c: Likewise.
475 * soft-fp/fixdfdi.c: Likewise.
476 * soft-fp/fixdfsi.c: Likewise.
477 * soft-fp/fixdfti.c: Likewise.
478 * soft-fp/fixhfti.c: Likewise.
479 * soft-fp/fixsfdi.c: Likewise.
480 * soft-fp/fixsfsi.c: Likewise.
481 * soft-fp/fixsfti.c: Likewise.
482 * soft-fp/fixtfdi.c: Likewise.
483 * soft-fp/fixtfsi.c: Likewise.
484 * soft-fp/fixtfti.c: Likewise.
485 * soft-fp/fixunsdfdi.c: Likewise.
486 * soft-fp/fixunsdfsi.c: Likewise.
487 * soft-fp/fixunsdfti.c: Likewise.
488 * soft-fp/fixunshfti.c: Likewise.
489 * soft-fp/fixunssfdi.c: Likewise.
490 * soft-fp/fixunssfsi.c: Likewise.
491 * soft-fp/fixunssfti.c: Likewise.
492 * soft-fp/fixunstfdi.c: Likewise.
493 * soft-fp/fixunstfsi.c: Likewise.
494 * soft-fp/fixunstfti.c: Likewise.
495 * soft-fp/floatdidf.c: Likewise.
496 * soft-fp/floatdisf.c: Likewise.
497 * soft-fp/floatditf.c: Likewise.
498 * soft-fp/floatsidf.c: Likewise.
499 * soft-fp/floatsisf.c: Likewise.
500 * soft-fp/floatsitf.c: Likewise.
501 * soft-fp/floattidf.c: Likewise.
502 * soft-fp/floattihf.c: Likewise.
503 * soft-fp/floattisf.c: Likewise.
504 * soft-fp/floattitf.c: Likewise.
505 * soft-fp/floatundidf.c: Likewise.
506 * soft-fp/floatundisf.c: Likewise.
507 * soft-fp/floatunditf.c: Likewise.
508 * soft-fp/floatunsidf.c: Likewise.
509 * soft-fp/floatunsisf.c: Likewise.
510 * soft-fp/floatunsitf.c: Likewise.
511 * soft-fp/floatuntidf.c: Likewise.
512 * soft-fp/floatuntihf.c: Likewise.
513 * soft-fp/floatuntisf.c: Likewise.
514 * soft-fp/floatuntitf.c: Likewise.
515 * soft-fp/gedf2.c: Likewise.
516 * soft-fp/gesf2.c: Likewise.
517 * soft-fp/getf2.c: Likewise.
518 * soft-fp/half.h: Likewise.
519 * soft-fp/ledf2.c: Likewise.
520 * soft-fp/lesf2.c: Likewise.
521 * soft-fp/letf2.c: Likewise.
522 * soft-fp/muldf3.c: Likewise.
523 * soft-fp/mulsf3.c: Likewise.
524 * soft-fp/multf3.c: Likewise.
525 * soft-fp/negdf2.c: Likewise.
526 * soft-fp/negsf2.c: Likewise.
527 * soft-fp/negtf2.c: Likewise.
528 * soft-fp/op-1.h: Likewise.
529 * soft-fp/op-2.h: Likewise.
530 * soft-fp/op-4.h: Likewise.
531 * soft-fp/op-8.h: Likewise.
532 * soft-fp/op-common.h: Likewise.
533 * soft-fp/quad.h: Likewise.
534 * soft-fp/single.h: Likewise.
535 * soft-fp/soft-fp.h: Likewise.
536 * soft-fp/subdf3.c: Likewise.
537 * soft-fp/subsf3.c: Likewise.
538 * soft-fp/subtf3.c: Likewise.
539 * soft-fp/truncdfsf2.c: Likewise.
540 * soft-fp/trunctfdf2.c: Likewise.
541 * soft-fp/trunctfhf2.c: Likewise.
542 * soft-fp/trunctfsf2.c: Likewise.
543 * soft-fp/trunctfxf2.c: Likewise.
544 * soft-fp/unorddf2.c: Likewise.
545 * soft-fp/unordsf2.c: Likewise.
546 * soft-fp/unordtf2.c: Likewise.
547
2901f42f
VK
5482018-11-04 Venkataramanan Kumar <Venkataramanan.kumar@amd.com>
549
550 * config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
551 * config/i386/cpuinfo.h (processor_types): Add znver2.
552
4310ca66
PK
5532018-11-01 Paul Koning <ni1d@arrl.net>
554
555 * config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c.
556 (HOST_LIBGCC2_CFLAGS): Change to optimize for size.
557
22e05272
JM
5582018-10-31 Joseph Myers <joseph@codesourcery.com>
559
560 PR bootstrap/82856
561 * configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
562 * configure: Regenerate.
563
8180cde0
CZ
5642018-10-31 Claudiu Zissulescu <claziss@synopsys.com>
565
566 * config/arc/lib1funcs.S (_muldi3): New function.
567 * config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
568
be7b071e
RV
5692018-10-30 Rasmus Villemoes <rv@rasmusvillemoes.dk>
570
571 * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
572
3239d726
ML
5732018-10-25 Martin Liska <mliska@suse.cz>
574
575 PR other/87735
576 * libgcov-profiler.c: Revert.
577
19b55958
ML
5782018-10-24 Martin Liska <mliska@suse.cz>
579
580 * libgcov-profiler.c: Start from 1 in order to distinguish
581 functions which were seen and these that were not.
582
a9a2fddb
PK
5832018-10-18 Paul Koning <ni1d@arrl.net>
584
585 * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
586 standard.
587 * divmod.c: Update references to __udivmodsi4.
588 * udivmod.c: Ditto.
589 * udivhi3.c: New file.
590 * udivmodhi4.c: New file.
591 * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
592
fc8abc46
RV
5932018-10-17 Rasmus Villemoes <rv@rasmusvillemoes.dk>
594
595 * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
596
87f918e3
OH
5972018-10-12 Olivier Hainque <hainque@adacore.com>
598
599 * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
600 defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
601
be86efa7
PK
6022018-10-08 Paul Koning <ni1d@arrl.net>
603
604 * config/pdp11/t-pdp11: Remove -mfloat32 switch.
605
3edbcdbe
ML
6062018-10-04 Martin Liska <mliska@suse.cz>
607
608 PR gcov-profile/84107
609 * libgcov-profiler.c (__gcov_indirect_call):
610 Change type to indirect_call_tuple.
611 (struct indirect_call_tuple): New struct.
612 (__gcov_indirect_call_topn_profiler): Change type.
613 (__gcov_indirect_call_profiler_v2): Use the new
614 variables.
615 * libgcov.h (struct indirect_call_tuple): New struct
616 definition.
617
af8096fc
UB
6182018-10-03 Uros Bizjak <ubizjak@gmail.com>
619
620 * libgcc2.c (isnan): Use __builtin_isnan.
621 (isfinite): Use __builtin_isfinite.
622 (isinf): Use __builtin_isinf.
623
0a76bba4
UB
6242018-09-26 Uros Bizjak <ubizjak@gmail.com>
625
626 * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
627
5244089f
OH
6282018-09-21 Alexandre Oliva <oliva@adacore.com>
629
630 * config/vxcache.c: New file. Provide __clear_cache, based on
631 the cacheTextUpdate VxWorks service.
632 * config/t-vxworks (LIB2ADD): Add vxcache.c.
633 (LIB2FUNCS_EXCLUDE): Add _clear_cache.
634 * config/t-vxwoks7: Likewise.
635
512cc015
ML
6362018-09-21 Martin Liska <mliska@suse.cz>
637
638 * libgcov-driver.c (crc32_unsigned): Remove.
639 (gcov_histogram_insert): Likewise.
640 (gcov_compute_histogram): Likewise.
641 (compute_summary): Simplify rapidly.
642 (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
643 (merge_summary): Rapidly simplify.
644 (dump_one_gcov): Ignore gcov_summary.
645 (gcov_do_dump): Do not handle program summary, it's not
646 used.
647 * libgcov-util.c (tag_summary): Remove.
648 (read_gcda_finalize): Fix coding style.
649 (read_gcda_file): Initialize curr_object_summary.
650 (compute_summary): Remove.
651 (calculate_overlap): Remove settings of run_max.
652
36ff254b
MC
6532018-09-21 Monk Chiang <sh.chiang04@gmail.com>
654
655 * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
656 ucontext_t type instead.
657 (nds32_fallback_frame_state): Remove struct _sigframe statement.
658
229a033d
KC
6592018-09-21 Kito Cheng <kito.cheng@gmail.com>
660
661 * config/nds32/t-nds32-glibc: New file.
662
53c6feb2
RO
6632018-09-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
664
665 * configure.ac (solaris_ld_v2_maps): New test.
666 * configure: Regenerate.
667 * Makefile.in (solaris_ld_v2_maps): New variable.
668 * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
669 if supported.
670
ebdb6f23
RE
6712018-08-23 Richard Earnshaw <rearnsha@arm.com>
672
673 PR target/86951
674 * config/arm/lib1funcs.asm (speculation_barrier): New function.
675 * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
676 to build.
677
a49c064e
IS
6782018-08-22 Iain Sandoe <iain@sandoe.co.uk>
679
1ea7ea18 680 * config/unwind-dw2-fde-darwin.c
a49c064e
IS
681 (_darwin10_Unwind_FindEnclosingFunction): move from here ...
682 * config/darwin10-unwind-find-enc-func.c: … to here.
683 * config/t-darwin: Build Darwin10 unwinder shim crt.
684 * libgcc/config.host: Add the Darwin10 unwinder shim.
685
9a5b8df7
RV
6862018-08-21 Rasmus Villemoes <rv@rasmusvillemoes.dk>
687
688 * config.host: Add crtbegin.o and crtend.o for
689 powerpc-wrs-vxworks target.
690
4cd0bc3b
J
6912018-08-17 Jojo <jijie_rong@c-sky.com>
692 Huibin Wang <huibin_wang@c-sky.com>
693 Sandra Loosemore <sandra@codesourcery.com>
694 Chung-Lin Tang <cltang@codesourcery.com>
695
696 C-SKY port: libgcc
697
698 * config.host: Add C-SKY support.
699 * config/csky/*: New.
700
a4931745
CJW
7012018-08-12 Chung-Ju Wu <jasonwucj@gmail.com>
702
703 * config/nds32/t-nds32-isr: Rearrange object dependency.
704 * config/nds32/initfini.c: Add dwarf2 unwinding support.
705 * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
706 and registers usage.
707 * config/nds32/isr-library/excp_isr.S: Ditto.
708 * config/nds32/isr-library/intr_isr.S: Ditto.
709 * config/nds32/isr-library/reset.S: Ditto.
710 * config/nds32/isr-library/restore_all.inc: Ditto.
711 * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
712 * config/nds32/isr-library/restore_partial.inc: Ditto.
713 * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
714 * config/nds32/isr-library/save_all.inc: Ditto.
715 * config/nds32/isr-library/save_mac_regs.inc: Ditto.
716 * config/nds32/isr-library/save_partial.inc: Ditto.
717 * config/nds32/isr-library/save_usr_regs.inc: Ditto.
718 * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
719
2b1969f6
JDA
7202018-08-11 John David Anglin <danglin@gcc.gnu.org>
721
722 * config/pa/linux-atomic.c: Update comment.
723 (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
724 COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
725 SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
726 __ATOMIC_RELAXED for atomic loads.
727 (SYNC_LOCK_RELEASE_1): New define. Use __sync_synchronize() and
728 unordered store to release lock.
729 (__sync_lock_release_8): Likewise.
730 (SYNC_LOCK_RELEASE_2): Remove define.
af8096fc 731
89fff9cc
NP
7322018-08-02 Nicolas Pitre <nico@fluxnic.net>
733
734 PR libgcc/86512
735 * config/arm/ieee754-df.S: Don't shortcut denormal handling when
736 exponent goes negative. Update my email address.
737 * config/arm/ieee754-sf.S: Likewise.
738
fd2e1dcd
ML
7392018-08-01 Martin Liska <mliska@suse.cz>
740
741 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
92a285c1 742 check that __gcov_indirect_call_callee is non-null.
fd2e1dcd 743
b7415975
CL
7442018-07-30 Christophe Lyon <christophe.lyon@linaro.org>
745
746 * config/arm/ieee754-df.S: Fix comment for code working on
747 architectures >= 4.
748 * config/arm/ieee754-sf.S: Likewise.
749
b72e71a3
L
7502018-07-27 H.J. Lu <hongjiu.lu@intel.com>
751
752 PR libgcc/85334
753 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
754 Removed.
755
1c686aa4
JC
7562018-07-05 James Clarke <jrtc27@jrtc27.com>
757
758 * configure: Regenerated.
759
b61c9b99
RO
7602018-06-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
761
762 * Makefile.in (install_leaf): Use enable_gcov instead of
763 enable_libgcov.
764
1765b023
RV
7652018-06-27 Rasmus Villemoes <rv@rasmusvillemoes.dk>
766
767 * configure.ac: Add --disable-gcov option.
768 * configure: Regenerate.
769 * Makefile.in: Honour @enable_gcov@.
770
9b2e34ef
CL
7712018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
772
773 * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
774 __ARM_ARCH and __ARM_FEATURE_CLZ instead.
775 (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
776 * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
777 __ARM_ARCH__.
778 * config/arm/ieee754-sf.S: Likewise.
779 * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
780
d1b0dd54
CL
7812018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
782
783 * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
784 longer supported.
785 * config/arm/ieee754-sf.S: Likewise.
786
1f3fa525
TM
7872018-06-20 Than McIntosh <thanm@google.com>
788
789 PR libgcc/86213
790 * generic-morestack.c (allocate_segment): Move calls to getenv and
791 getpagesize to __morestack_load_mmap.
792 (__morestack_load_mmap) Initialize static_pagesize and
793 use_guard_page here so as to avoid clobbering SSE regs during a
794 __morestack call.
795
6a8886e4
MM
7962018-06-18 Michael Meissner <meissner@linux.ibm.com>
797
798 * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
799 support modules with -mno-gnu-attribute.
800 * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
801
fb997097
OH
8022018-06-07 Olivier Hainque <hainque@adacore.com>
803
804 * config/t-vxworks (LIBGCC_INCLUDES): Add
805 -I$(MULTIBUILDTOP)../../gcc/include.
806 * config/t-vxworks7: Likewise. Reformat a bit to match
807 the t-vxworks layout.
808
a548a5a1
OM
8092018-06-07 Olga Makhotina <olga.makhotina@intel.com>
810
811 * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
812
244aebfd
ML
8132018-06-07 Martin Liska <mliska@suse.cz>
814
815 * libgcov-driver.c: Rename cs_all to all and assign it from
92a285c1 816 all_prg.
244aebfd 817
6c086e8c
ML
8182018-06-07 Martin Liska <mliska@suse.cz>
819
92a285c1 820 PR bootstrap/86057
6c086e8c 821 * libgcov-driver-system.c (replace_filename_variables): Use
92a285c1 822 memcpy instead of mempcpy.
6c086e8c 823 (allocate_filename_struct): Do not allocate filename, allocate
92a285c1 824 prefix and set it.
6c086e8c 825 (gcov_exit_open_gcda_file): Allocate memory for gf->filename
92a285c1 826 here and properly copy content into it.
6c086e8c 827 * libgcov-driver.c (struct gcov_filename): Remove max_length
92a285c1 828 field, change prefix from size_t into char *.
6c086e8c
ML
829 (compute_summary): Do not calculate longest filename.
830 (gcov_do_dump): Release memory of gf.filename after each file.
831 * libgcov-util.c (compute_summary): Use new signature of
92a285c1 832 compute_summary.
6c086e8c
ML
833 (calculate_overlap): Likewise.
834
97a53d1d
ML
8352018-06-05 Martin Liska <mliska@suse.cz>
836
837 PR gcov-profile/47618
838 * libgcov-driver-system.c (replace_filename_variables): New
92a285c1 839 function.
97a53d1d
ML
840 (gcov_exit_open_gcda_file): Use it.
841
7f3577f5
ML
8422018-06-05 Martin Liska <mliska@suse.cz>
843
844 * libgcov-driver.c (gcov_compute_histogram): Remove usage
845 of gcov_ctr_summary.
846 (compute_summary): Do it just for a single summary.
847 (merge_one_data): Likewise.
848 (merge_summary): Simplify as we read just single summary.
849 (dump_one_gcov): Pass proper argument.
850 * libgcov-util.c (compute_one_gcov): Simplify as we have just
851 single summary.
852 (gcov_info_count_all_cold): Likewise.
853 (calculate_overlap): Likewise.
854
cf3cd43d
CJW
8552018-06-02 Chung-Ju Wu <jasonwucj@gmail.com>
856 Monk Chiang <sh.chiang04@gmail.com>
857
858 * config.host (nds32*-linux*): New.
859 * config/nds32/linux-atomic.c: New file.
860 * config/nds32/linux-unwind.h: New file.
861
8b8003ed
UB
8622018-05-31 Uros Bizjak <ubizjak@gmail.com>
863
864 PR target/85591
865 * config/i386/cpuinfo.c (get_amd_cpu): Return
866 AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
867
bbdf026f
RV
8682018-05-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
869
92a285c1 870 * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
bbdf026f 871
0e8f29da
ML
8722018-05-29 Martin Liska <mliska@suse.cz>
873
92a285c1 874 PR gcov-profile/85759
0e8f29da 875 * libgcov-driver-system.c (gcov_error): Introduce usage of
92a285c1 876 GCOV_EXIT_AT_ERROR env. variable.
0e8f29da 877 * libgcov-driver.c (merge_one_data): Print error that we
92a285c1 878 overwrite a gcov file with a different timestamp.
0e8f29da 879
54fd1590
K
8802018-05-23 Kalamatee <kalamatee@gmail.com>
881
882 * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
883 path to Lf$finfty.
884
09baee1a
KC
8852018-05-18 Kito Cheng <kito.cheng@gmail.com>
886 Monk Chiang <sh.chiang04@gmail.com>
887 Jim Wilson <jimw@sifive.com>
888
889 * config/riscv/save-restore.S: Add support for rv32e.
890
c3f808d3
KT
8912018-05-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
892
893 * config/arm/libunwind.S: Update comment relating to armv5.
894
fcf4f831
JL
8952018-05-17 Jerome Lambourg <lambourg@adacore.com>
896
897 * config/arm/cmse.c (cmse_check_address_range): Replace
898 UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
899
74b2bb19
OM
9002018-05-17 Olga Makhotina <olga.makhotina@intel.com>
901
902 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
903 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
904
50e461df
OM
9052018-05-08 Olga Makhotina <olga.makhotina@intel.com>
906
907 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
908 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
909
e5f1cdb1
AC
9102018-05-07 Amaan Cheval <amaan.cheval@gmail.com>
911
912 * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
913
8f479d7a
AT
9142018-04-27 Andreas Tobler <andreast@gcc.gnu.org>
915 Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
916
917 PR libgcc/84292
918 * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
919 op_and_fetch to return the right result.
920
ae043291
AM
9212018-04-27 Alan Modra <amodra@gmail.com>
922
923 PR libgcc/85532
924 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
925 -fno-asynchronous-unwind-tables.
926
ba169b74
CJW
9272018-04-25 Chung-Ju Wu <jasonwucj@gmail.com>
928
929 * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
930 * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
931
ffc2fc06
L
9322018-04-24 H.J. Lu <hongjiu.lu@intel.com>
933
934 * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
935 when including "config/i386/shadow-stack-unwind.h".
936
7b47ecf2
L
9372018-04-24 H.J. Lu <hongjiu.lu@intel.com>
938
939 * configure: Regenerated.
940
661eb8f9
MM
9412018-04-20 Michael Meissner <meissner@linux.ibm.com>
942
943 PR target/85456
944 * config/rs6000/_powikf2.c: New file. Add support for the
945 __builtin_powil function when long double is IEEE 128-bit floating
946 point.
947 * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
948 __powikf2 support.
949 (__powikf2): Likewise.
950 * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
951 (__powikf2_hw): Likewise.
952 (__powikf2): Likewise.
953 * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
954 * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
955 (_powikf2-hw.c): Likewise.
956
5707be3c
L
9572018-04-19 H.J. Lu <hongjiu.lu@intel.com>
958
959 PR libgcc/85334
960 * unwind-generic.h (_Unwind_Frames_Increment): New.
961 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
962 Likewise.
963 * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
964 count with _Unwind_Frames_Increment.
965 (_Unwind_ForcedUnwind_Phase2): Likewise.
966
5f9ca0b8
L
9672018-04-19 H.J. Lu <hongjiu.lu@intel.com>
968
969 PR libgcc/85379
970 * config/i386/morestack.S (__stack_split_initialize): Add
971 _CET_ENDBR.
972
a0e1df88
JJ
9732018-04-19 Jakub Jelinek <jakub@redhat.com>
974
975 * configure: Regenerated.
976
001ddaa8
DM
9772018-04-18 David Malcolm <dmalcolm@redhat.com>
978
979 PR jit/85384
980 * configure: Regenerate.
981
a57f99ba
JJ
9822018-04-16 Jakub Jelinek <jakub@redhat.com>
983
984 PR target/84945
985 * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
986 -Wdangling-else warnings. Mask shift counts to avoid
987 -Wshift-count-negative and -Wshift-count-overflow false positives.
988
4d47fe5a
RB
9892018-04-06 Ruslan Bukin <br@bsdpad.com>
990
991 * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
992
059cc8ac
L
9932018-03-29 H.J. Lu <hongjiu.lu@intel.com>
994
995 PR target/85100
996 * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
997 (XSTATE_FP): Likewise.
998 (XSTATE_SSE): Likewise.
999 (XSTATE_YMM): Likewise.
1000 (XSTATE_OPMASK): Likewise.
1001 (XSTATE_ZMM): Likewise.
1002 (XSTATE_HI_ZMM): Likewise.
1003 (XCR_AVX_ENABLED_MASK): Likewise.
1004 (XCR_AVX512F_ENABLED_MASK): Likewise.
1005 (get_available_features): Enable AVX and AVX512 features only
1006 if their states are supported by OSXSAVE.
1007
f2620385
IT
10082018-03-22 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1009
1010 PR target/85025
1011 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
1012 Fix a typo, tmp => 255.
1013
ae6dca8c
JJ
10142018-03-20 Jakub Jelinek <jakub@redhat.com>
1015
1016 PR target/84945
1017 * config/i386/cpuinfo.h (__cpu_features2): Declare.
1018 * config/i386/cpuinfo.c (__cpu_features2): New variable for
1019 ifndef SHARED only.
1020 (set_feature): Define.
1021 (get_available_features): Use set_feature macro. Set __cpu_features2
1022 to the second word of features ifndef SHARED.
1023
c36b04c1
JK
10242018-03-15 Julia Koval <julia.koval@intel.com>
1025
1026 * config/i386/cpuinfo.c (get_available_features): Add
1027 FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
1028 FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
1029 * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
1030 FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
1031 FEATURE_AVX512BITALG.
1032
79ab5364
JK
10332018-03-14 Julia Koval <julia.koval@intel.com>
1034
1035 * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
1036 icelake client and icelake server.
1037
66a00b11
JDA
10382018-03-06 John David Anglin <danglin@gcc.gnu.org>
1039
1040 * config/pa/fptr.c (_dl_read_access_allowed): New.
1041 (__canonicalize_funcptr_for_compare): Use it.
af8096fc 1042
ce579a4f
JJ
10432018-02-28 Jakub Jelinek <jakub@redhat.com>
1044
1045 PR debug/83917
1046 * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
1047 $asm_hidden_op if visibility ("hidden") attribute works.
1048 (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
1049 * config/i386/i386-asm.h: Don't include auto-host.h.
1050 (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
1051 PACKAGE_URL): Don't undefine.
1052 (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
1053 guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
1054 (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
1055 #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
1056 definition instead of hardcoded .hidden.
1057 * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
1058 directive. Use #ifdef HAVE_AS_CFI_SECTIONS rather than
1059 #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
1060 (USE_GAS_CFI_DIRECTIVES): Don't define.
1061 * configure: Regenerated.
1062 * config.in: Likewise.
1063
e5868319
JJ
10642018-02-26 Jakub Jelinek <jakub@redhat.com>
1065
1066 PR debug/83917
1067 * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
1068 PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
1069 inclusion of auto-target.h and auto-host.h.
1070 (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
1071 __GCC_HAVE_DWARF2_CFI_ASM.
1072 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
1073 cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
1074 cfi_pop): Define.
1075 * config/i386/cygwin.S: Don't include auto-host.h here, just
1076 define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
1077 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
1078 cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
1079 * config/i386/resms64fx.h: Add cfi_* directives.
1080 * config/i386/resms64x.h: Likewise.
1081
faef260e
MF
10822018-02-20 Max Filippov <jcmvbkbc@gmail.com>
1083
1084 * config/xtensa/ieee754-df.S (__adddf3_aux): Add
1085 .literal_position directive.
1086 * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
1087
14e335ed
IT
10882018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1089
1090 PR target/84148
1091 * configure: Regenerate.
1092
95df0433
IT
10932018-02-16 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1094
1095 PR target/84239
1096 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
1097 Include cetintrin.h not x86intrin.h.
1098
f8de876d
IT
10992018-02-08 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1100
1101 PR target/84239
95df0433 1102 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
f8de876d
IT
1103 Use new _get_ssp and _inc_ssp intrinsics.
1104
02da1e9c
JK
11052018-02-02 Julia Koval <julia.koval@intel.com>
1106
1107 * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
1108
048c6a9a
CZ
11092018-01-26 Claudiu Zissulescu <claziss@synopsys.com>
1110
1111 * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
1112 option.
1113 (__divsi3): Use RF16 safe registers.
1114 (__modsi3): Likewise.
1115
0889f168
MF
11162018-01-23 Max Filippov <jcmvbkbc@gmail.com>
1117
1118 * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
1119 (__divsf3): Make NaN return value quiet.
1120 * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
1121 (__divdf3): Make NaN return value quiet.
1122
bc8b0d04
SP
11232018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
1124
1125 * config/rl78/anddi3.S: New assembly file.
1126 * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
1127
99cc06ea
SP
11282018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
1129
1130 * config/rl78/umindi3.S: New assembly file.
1131 * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
1132
6e9007a0
SP
11332018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
1134
1135 * config/rl78/smindi3.S: New assembly file.
1136 * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
1137
d975e494 11382018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
af8096fc 1139
d975e494
SP
1140 * config/rl78/smaxdi3.S: New assembly file.
1141 * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
1142
6a18c146 11432018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
af8096fc 1144
5dd16013
SP
1145 * config/rl78/umaxdi3.S: New assembly file.
1146 * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
af8096fc 1147
07baf4a5
JDA
11482018-01-21 John David Anglin <danglin@gcc.gnu.org>
1149
1150 PR lto/83452
1151 * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
1152 * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
af8096fc 1153
dbc3af4f
RS
11542018-01-13 Richard Sandiford <richard.sandiford@linaro.org>
1155
1156 * config/aarch64/value-unwind.h (aarch64_vg): New function.
1157 (DWARF_LAZY_REGISTER_VALUE): Define.
1158 * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
1159 to provide a fallback register value.
1160
68df9882
MM
11612018-01-08 Michael Meissner <meissner@linux.vnet.ibm.com>
1162
1163 * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
1164 __ibm128, instead of trying to use long double.
1165 (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
1166 accomidate -mabi=ieeelongdouble multilibs.
1167 (CVT_IBM128_TO_FLOAT128): Likewise.
1168 * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
1169 the appropriate IBM extended double type.
1170 (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
1171 (__gcc_qsub): Likewise.
1172 (__gcc_qmul): Likewise.
1173 (__gcc_qdiv): Likewise.
1174 (pack_ldouble): Likewise.
1175 (__gcc_qneg): Likewise.
1176 (__gcc_qeq): Likewise.
1177 (__gcc_qne): Likewise.
1178 (__gcc_qge): Likewise.
1179 (__gcc_qle): Likewise.
1180 (__gcc_stoq): Likewise.
1181 (__gcc_dtoq): Likewise.
1182 (__gcc_itoq): Likewise.
1183 (__gcc_utoq): Likewise.
1184 (__gcc_qunord): Likewise.
1185 * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
1186 quad-float128.h for the definitions.
1187 (COPYSIGN): Use the f128 version instead of the q version.
1188 (INFINITY): Likewise.
1189 (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
1190 * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
1191 quad-float128.h for the definitions.
1192 (COPYSIGN): Use the f128 version instead of the q version.
1193 (INFINITY): Likewise.
1194 (FABS): Likewise.
1195 (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
1196 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
1197 * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
1198
64b371b1
SH
11992018-01-05 Sebastian Huber <sebastian.huber@embedded-brains.de>
1200
1201 * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
1202 configuration.
1203
85ec4feb
JJ
12042018-01-03 Jakub Jelinek <jakub@redhat.com>
1205
1206 Update copyright years.
1207
12082017-12-12 Kito Cheng <kito.cheng@gmail.com>
b8d7e076
KC
1209
1210 * config/riscv/t-elf: Use multi3.c instead of multi3.S.
1211 * config/riscv/multi3.c: New file.
1212 * config/riscv/multi3.S: Remove.
1213
3a4c600f
JW
12142017-12-08 Jim Wilson <jimw@sifive.com>
1215
1216 * config/riscv/div.S: Use FUNC_* macros.
1217 * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
1218 * config/riscv/save-restore.S: Likewise.
1219 * config/riscv/riscv-asm.h: New.
1220
75ad35b5
MM
12212017-11-30 Michael Meissner <meissner@linux.vnet.ibm.com>
1222
6ae3512c
MM
1223 * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
1224 * config/rs6000/_divkc3.c (__divkc3): Likewise.
1225
75ad35b5
MM
1226 PR libgcc/83112
1227 * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
1228 correct type for all ifunc resolvers to silence -Wattribute-alias
1229 warnings. Eliminate the forward declaration of the resolver
1230 functions which is no longer needed.
1231 (__subkf3_resolve): Likewise.
1232 (__mulkf3_resolve): Likewise.
1233 (__divkf3_resolve): Likewise.
1234 (__negkf2_resolve): Likewise.
1235 (__eqkf2_resolve): Likewise.
1236 (__nekf2_resolve): Likewise.
1237 (__gekf2_resolve): Likewise.
1238 (__gtkf2_resolve): Likewise.
1239 (__lekf2_resolve): Likewise.
1240 (__ltkf2_resolve): Likewise.
1241 (__unordkf2_resolve): Likewise.
1242 (__extendsfkf2_resolve): Likewise.
1243 (__extenddfkf2_resolve): Likewise.
1244 (__trunckfsf2_resolve): Likewise.
1245 (__trunckfdf2_resolve): Likewise.
1246 (__fixkfsi_resolve): Likewise.
1247 (__fixkfdi_resolve): Likewise.
1248 (__fixunskfsi_resolve): Likewise.
1249 (__fixunskfdi_resolve): Likewise.
1250 (__floatsikf_resolve): Likewise.
1251 (__floatdikf_resolve): Likewise.
1252 (__floatunsikf_resolve): Likewise.
1253 (__floatundikf_resolve): Likewise.
1254 (__extendkftf2_resolve): Likewise.
1255 (__trunctfkf2_resolve): Likewise.
1256
1257 PR libgcc/83103
1258 * config/rs6000/quad-float128.h (TF): Don't define if long double
1259 is IEEE 128-bit floating point.
1260 (TCtype): Define as either TCmode or KCmode, depending on whether
1261 long double is IEEE 128-bit floating point.
1262 (__mulkc3_sw): Add declarations for software/hardware versions of
1263 complex multiply/divide.
1264 (__divkc3_sw): Likewise.
1265 (__mulkc3_hw): Likewise.
1266 (__divkc3_hw): Likewise.
1267 * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
1268 handlers to switch between using software emulation and hardware
1269 float128 instructions, build the complex multiply/divide functions
1270 for both software and hardware support.
1271 * config/rs6000/_divkc3.c (_divkc3): Likewise.
1272 * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
1273 (__divkc3_resolve): Likewise.
1274 (__mulkc3): Likewise.
1275 (__divkc3): Likewise.
1276 * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
1277 (fp128_hw_src): Likewise.
1278 (fp128_hw_static_obj): Likewise.
1279 (fp128_hw_shared_obj): Likewise.
1280 (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
1281 _mulkc3.c and _divkc3.c, changing the function name.
1282 (_divkc3-hw.c): Likewise.
1283 * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
1284 and _divkc3-hw.c.
1285
c234d831
UB
12862017-11-26 Julia Koval <julia.koval@intel.com>
1287
1288 * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
1289 * config/i386/cpuinfo.h (processor_subtypes): Add
1290 INTEL_COREI7_CANNONLAKE.
1291
1ebafce0
IT
12922017-11-20 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1293
1294 PR bootstrap/83015
1295 * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
1296 parameter.
1297 * config/xtensa/unwind-dw2-xtensa.c: Likewise
1298 * config/ia64/unwind-ia64.c: Add frames parameter.
1299 * unwind-sjlj.c: Likewise.
1300
6a10fff4
IT
13012017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1302
1303 * config/i386/linux-unwind.h: Include
1304 config/i386/shadow-stack-unwind.h.
1305 * config/i386/shadow-stack-unwind.h: New file.
1306 * unwind-dw2.c: (uw_install_context): Add a frame parameter and
1307 pass it to _Unwind_Frames_Extra.
1308 * unwind-generic.h (_Unwind_Frames_Extra): New.
1309 * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
1310 parameter. Add local variable frames to count number of frames.
1311 (_Unwind_ForcedUnwind_Phase2): Likewise.
1312 (_Unwind_RaiseException): Add local variable frames to count
1313 number of frames, pass it to _Unwind_RaiseException_Phase2 and
1314 uw_install_context.
1315 (_Unwind_ForcedUnwind): Likewise.
1316 (_Unwind_Resume): Likewise.
1317 (_Unwind_Resume_or_Rethrow): Likewise.
1318
1ecae1fc
IT
13192017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1320
1321 * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
1322 (CET_FLAGS): New.
1323 * config/i386/morestack.S: Include <cet.h>.
1324 (__morestack_large_model): Add _CET_ENDBR at function entrance.
1325 * config/i386/resms64.h: Include <cet.h>.
1326 * config/i386/resms64f.h: Likewise.
1327 * config/i386/resms64fx.h: Likewise.
1328 * config/i386/resms64x.h: Likewise.
1329 * config/i386/savms64.h: Likewise.
1330 * config/i386/savms64f.h: Likewise.
1331 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
1332 (CRTSTUFF_T_CFLAGS): Likewise.
1333 * configure.ac: Include ../config/cet.m4.
1334 Set and substitute CET_FLAGS.
1335 * configure: Regenerated.
1336
f021f1d3
RO
13372017-11-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1338
1339 * config.host (*-*-solaris2*): Adapt comment for Solaris 12
1340 renaming.
1341 * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
1342 * configure.ac (libgcc_cv_solaris_crts): Likewise.
1343 * configure: Regenerate.
1344
65f480c7
TV
13452017-11-07 Tom de Vries <tom@codesourcery.com>
1346
1347 * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
1348 after "do {} while (0)".
1349
2a321acb
TV
13502017-11-07 Tom de Vries <tom@codesourcery.com>
1351
1352 PR other/82784
1353 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
1354 semicolon after "do {} while (0)".
1355 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1356 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1357 * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1358 * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1359
59fcf6c3
AT
13602017-11-04 Andreas Tobler <andreast@gcc.gnu.org>
1361
1362 PR libgcc/82635
1363 * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
1364 sysctl to determine whether we're in a trampoline.
1365 Keep the pattern matching method for systems without
1366 KERN_PROC_SIGTRAMP sysctl.
1367
b0c7ddf8
CM
13682017-11-03 Cupertino Miranda <cmiranda@synopsys.com>
1369 Vineet Gupta <vgupta@synopsys.com>
1370
1371 * config.host (arc*-*-linux*): Set md_unwind_header variable.
1372 * config/arc/linux-unwind-reg.def: New file.
1373 * config/arc/linux-unwind-reg.h: Likewise.
1374
5feee954
SP
13752017-10-23 Sebastian Perta <sebastian.perta@renesas.com>
1376
1377 * config/rl78/subdi3.S: New assembly file.
1378 * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
1379
a0bf6cf7
SP
13802017-10-13 Sebastian Perta <sebastian.perta@renesas.com>
1381
1382 * config/rl78/adddi3.S: New assembly file.
1383 * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
1384
e7176f75
JJ
13852017-10-13 Jakub Jelinek <jakub@redhat.com>
1386
1387 PR target/82274
1388 * libgcc2.c (__mulvDI3): If both operands have
1389 the same highpart of -1 and the topmost bit of lowpart is 0,
1390 multiplication overflows even if both lowparts are 0.
1391
db6601d2
JB
13922017-09-28 James Bowman <james.bowman@ftdichip.com>
1393
1394 * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
1395
938b6f1e
JM
13962017-09-26 Joseph Myers <joseph@codesourcery.com>
1397
1398 * config/microblaze/crti.S, config/microblaze/crtn.S,
1399 config/microblaze/divsi3.S, config/microblaze/moddi3.S,
1400 config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
1401 config/microblaze/mulsi3.S,
1402 config/microblaze/stack_overflow_exit.S,
1403 config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
1404 config/pa/milli64.S: Add .note.GNU-stack section.
1405
89762a83
DS
14062017-09-23 Daniel Santos <daniel.santos@pobox.com>
1407
1408 * configure.ac: Add Check for HAVE_AS_AVX.
1409 * config.in: Regenerate.
1410 * configure: Likewise.
1411 * config/i386/i386-asm.h: Include auto-target.h from libgcc.
1412 (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
1413 Correct out-of-date comments.
1414
cace2309
SP
14152017-09-20 Sebastian Peryt <sebastian.peryt@intel.com>
1416
1417 * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
1418 * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
1419
3cb626e4
DS
14202017-09-17 Daniel Santos <daniel.santos@pobox.com>
1421
cace2309 1422 * config/i386/i386-asm.h (PASTE2): New macro.
3cb626e4
DS
1423 (ASMNAME): Modify to use PASTE2.
1424 (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
1425 (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
cace2309 1426 * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
3cb626e4 1427 instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
cace2309
SP
1428 * config/i386/resms64f.S: Likewise.
1429 * config/i386/resms64fx.S: Likewise.
1430 * config/i386/resms64x.S: Likewise.
1431 * config/i386/savms64.S: Likewise.
1432 * config/i386/savms64f.S: Likewise.
1433 * config/i386/avx_resms64.S: New file that only defines a macro and
3cb626e4 1434 includes it's corresponding header file.
cace2309
SP
1435 * config/i386/avx_resms64f.S: Likewise.
1436 * config/i386/avx_resms64fx.S: Likewise.
1437 * config/i386/avx_resms64x.S: Likewise.
1438 * config/i386/avx_savms64.S: Likewise.
1439 * config/i386/avx_savms64f.S: Likewise.
1440 * config/i386/sse_resms64.S: Likewise.
1441 * config/i386/sse_resms64f.S: Likewise.
1442 * config/i386/sse_resms64fx.S: Likewise.
1443 * config/i386/sse_resms64x.S: Likewise.
1444 * config/i386/sse_savms64.S: Likewise.
1445 * config/i386/sse_savms64f.S: Likewise.
1446 * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
3cb626e4 1447
2f19c491 14482017-09-01 Olivier Hainque <hainque@adacore.com>
2f19c491
OH
1449 * config.host (*-*-vxworks7): Widen scope to vxworks7*.
1450
611e7036
OH
14512017-08-31 Olivier Hainque <hainque@adacore.com>
1452
1453 * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
1454 match as powerpc-wrs-vxworks*.
1455
c8f34527
JY
14562017-08-07 Jonathan Yong <10walls@gmail.com>
1457
1458 * config.host (*-cygwin): Include file from mingw
1459 config/i386/enable-execute-stack-mingw32.c
1460
0b458d2b 14612017-08-01 Jerome Lambourg <lambourg@adacore.com>
92a285c1
ML
1462 Doug Rupp <rupp@adacore.com>
1463 Olivier Hainque <hainque@adacore.com>
0b458d2b
JL
1464
1465 * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
1466 as well as arm-wrs-vxworks.
1467 * config/arm/t-vxworks7: New file. Add unwind-arm-vxworks.c to
1468 LIB2ADDEH.
1469 * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
1470 __exidx_start and __exidx_end for downloadable modules.
1471
4df612fa
OH
14722017-08-01 Olivier Hainque <hainque@adacore.com>
1473
1474 * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
1475 * config/t-vxworks7: Likewise.
1476
5560e8c0
OH
14772017-08-01 Olivier Hainque <hainque@adacore.com>
1478
1479 * config/t-vxworks: Instead of redefining LIB2ADD,
1480 augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
1481
16bab95a
SH
14822017-07-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1483
1484 * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
1485
9cbc07cc
DS
14862017-07-24 Daniel Santos <daniel.santos@pobox.com>
1487
1488 PR testsuite/80759
1489 * config.host: include i386/t-msabi for darwin and solaris.
1490 * config/i386/i386-asm.h
1491 (ELFFN): Rename to FN_TYPE.
1492 (FN_SIZE): New macro.
1493 (FN_HIDDEN): Likewise.
1494 (ASMNAME): Likewise.
1495 (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
1496 .globl.
1497 (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
1498 (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
1499 * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
1500 .macro.
1501 * config/i386/resms64f.S: Likewise.
1502 * config/i386/resms64fx.S: Likewise.
1503 * config/i386/resms64x.S: Likewise.
1504 * config/i386/savms64.S: Likewise.
1505 * config/i386/savms64f.S: Likewise.
1506
de742204
JM
15072017-07-19 John Marino <gnugcc@marino.st>
1508
1509 * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
1510
3787ee47
MM
15112017-07-12 Michael Meissner <meissner@linux.vnet.ibm.com>
1512
1513 PR target/81193
1514 * configure.ac (PowerPC float128 hardware support): Test whether
1515 we can use __builtin_cpu_supports before enabling the ifunc
1516 handler.
1517 * configure: Regenerate.
1518
b1938888
VG
15192017-07-10 Vineet Gupta <vgupta@synopsys.com>
1520
1521 * config.host: Remove uclibc from arc target spec.
1522
bec75e53
KW
15232017-07-09 Krister Walfridsson <krister.walfridsson@gmail.com>
1524
1525 * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
1526
d4391a62
PB
15272017-07-07 Peter Bergner <bergner@vnet.ibm.com>
1528
1529 * config/rs6000/float128-ifunc.c: Don't include auxv.h.
1530 (have_ieee_hw_p): Delete function.
1531 (SW_OR_HW) Use __builtin_cpu_supports().
1532
9296dd9b
TP
15332017-07-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
1534
1535 * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
1536
b85a969e
OH
15372017-07-03 Olivier Hainque <hainque@adacore.com>
1538
d4391a62 1539 * config/t-vxworks7: New file, really.
b85a969e 1540
883312dc
JM
15412017-06-28 Joseph Myers <joseph@codesourcery.com>
1542
1543 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
1544 config/alpha/linux-unwind.h (alpha_fallback_frame_state),
1545 config/bfin/linux-unwind.h (bfin_fallback_frame_state),
1546 config/i386/linux-unwind.h (x86_64_fallback_frame_state,
1547 x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
1548 uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
1549 config/pa/linux-unwind.h (pa32_fallback_frame_state),
1550 config/riscv/linux-unwind.h (riscv_fallback_frame_state),
1551 config/sh/linux-unwind.h (sh_fallback_frame_state),
1552 config/tilepro/linux-unwind.h (tile_fallback_frame_state),
1553 config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
1554 ucontext_t instead of struct ucontext.
1555
50567938
JL
15562017-06-27 Jerome Lambourg <lambourg@adacore.com>
1557
1558 * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
1559 (x86_64-wrs-vxworks7): Likewise.
1560
e4b0df93
OH
15612017-06-27 Olivier Hainque <hainque@adacore.com>
1562
1563 * config/t-vxworks7: New file.
1564 * config.host (*-*-vxworks7): Use it.
1565
60edf8bb
MT
15662017-06-22 Matt Turner <mattst88@gmail.com>
1567
1568 * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
1569 skylake case.
1570
a51a76e5
RB
15712017-06-21 Richard Biener <rguenther@suse.de>
1572
1573 PR gcov-profile/81080
1574 * configure.ac: Add AC_SYS_LARGEFILE.
1575 * libgcov.h: Include auto-target.h before tsystem.h to pick
1576 up _FILE_OFFSET_BITS which might differ for multilibs.
1577 * config.in: Regenerate.
1578 * configure: Likewise.
1579
f0cd49c5
RE
15802017-06-16 Richard Earnshaw <rearnsha@arm.com>
1581
1582 * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
1583
4f751c54
ML
15842017-06-09 Martin Liska <mliska@suse.cz>
1585
1586 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
1587 Reset __gcov_indirect_call_callee to NULL.
1588
1ac644c8
OH
15892017-06-08 Olivier Hainque <hainque@adacore.com>
1590
1591 * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
1592 the set of -I options, support for direct inclusions of net/uio.h
1593 by VxWorks header files via ioLib.h.
1594
d8b9cd27
TR
15952017-06-07 Tony Reix <tony.reix@atos.net>
1596 Matthieu Sarter <matthieu.sarter.external@atos.net>
1597 David Edelsohn <dje.gcc@gmail.com>
1598
92a285c1
ML
1599 * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
1600 unconditionally.
1601 (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support. Add 32-bit
1602 AIX 7.2 support.
d8b9cd27 1603
38a75ccc
OH
16042017-06-02 Olivier Hainque <hainque@adacore.com>
1605
1606 * config/vxlib.c (__gthread_once): Add missing value to
1607 return statement.
1608
5b2edf53
OH
16092017-05-30 Olivier Hainque <hainque@adacore.com>
1610
1611 * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
1612 dollar sign before $(MULTIDIR).
1613
7d66e265
RH
16142017-05-26 Richard Henderson <rth@redhat.com>
1615
1616 PR libgcc/80037
1617 * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
1618
78eca309
AT
16192017-05-17 Andreas Tobler <andreast@gcc.gnu.org>
1620
1621 * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
1622 _Unwind_SetIP available as functions for arm*-*-freebsd*.
1623 * config/arm/unwind-arm.c: Implement the above.
1624
c39d309a
AZ
16252017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1626
1627 * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
1628 section for a non-executable stack.
1629
eac8c9f2
KW
16302017-05-14 Krister Walfridsson <krister.walfridsson@gmail.com>
1631
1632 PR target/80600
1633 * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
1634
d6d4d770
DS
16352017-05-14 Daniel Santos <daniel.santos@pobox.com>
1636
1637 * config.host: Add i386/t-msabi to i386/t-linux file list.
1638 * config/i386/i386-asm.h: New file.
1639 * config/i386/resms64.S: New file.
1640 * config/i386/resms64f.S: New file.
1641 * config/i386/resms64fx.S: New file.
1642 * config/i386/resms64x.S: New file.
1643 * config/i386/savms64.S: New file.
1644 * config/i386/savms64f.S: New file.
1645 * config/i386/t-msabi: New file.
1646
8ef2b9a7
AT
16472017-05-09 Andreas Tobler <andreast@gcc.gnu.org>
1648
1649 * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
1650 arm*-*-freebsd* instead of the t-slibgcc-libgcc.
1651
7ab8766a
JC
16522017-05-05 Joshua Conner <joshconner@google.com>
1653
1654 * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
1655 pc-relative indirect handling for fuchsia.
1656 * config/t-slibgcc-fuchsia: New file.
1657 * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
d6d4d770 1658 x86_64-*-fuchsia*): Add definitions.
7ab8766a 1659
46928a8f
ML
16602017-04-19 Martin Liska <mliska@suse.cz>
1661
1662 PR gcov-profile/80435
1663 * Makefile.in: Install gcov.h.
1664 * gcov.h: New file.
1665 * libgcov.h: Use the header and make __gcov_flush publicly
1666 visible.
1667
63971184
ML
16682017-04-18 Martin Liska <mliska@suse.cz>
1669
1670 PR gcov-profile/78783
1671 * libgcov-driver.c (gcov_get_filename): New function.
1672
29d8aae6
JL
16732017-04-07 Jeff Law <law@redhat.com>
1674
1675 * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
1676 target makefile fragment.
1677 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
1678
2bdf7fc6
AM
16792017-04-07 Alan Modra <amodra@gmail.com>
1680
1681 PR target/45053
1682 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
1683
5764ee3c
JW
16842017-04-03 Jonathan Wakely <jwakely@redhat.com>
1685
1686 * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
1687
c4192ad7
CZ
16882017-03-27 Claudiu Zissulescu <claziss@synopsys.com>
1689
1690 * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
1691
4ccfdb28
JM
16922017-03-10 John Marino <gnugcc@marino.st>
1693
1694 * config/aarch64/freebsd-unwind.h: New file.
1695 * config.host: Add aarch64-*-freebsd unwinder.
1696
4144e4e3
SB
16972017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
1698
1699 * config/rs6000/crtrestvr.s: Use .machine altivec.
1700 * config/rs6000/crtsavevr.s: Ditto.
1701
7502c597
SB
17022017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
1703
1704 * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
1705 modify CFLAGS. Add -mabi=altivec -mvsx -mfloat128.
1706 (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
1707 -mfloat128-hardware to the CFLAGS. Fix syntax error in the C snippet.
1708 * configure: Regenerate.
1709 * config.in: Regenerate.
1710
db9f7f65
JY
17112017-03-02 Jonathan Yong <10walls@gmail.com>
1712
1713 * config/i386/gthr-win32.h: Define NOGDI before
1714 windows.h include to prevent w32api CC_NONE macro
1715 clash with libgfortran.
1716
126437c5
JY
17172017-03-02 Jonathan Yong <10walls@gmail.com>
1718
1719 * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
1720
31927af6
AP
17212017-02-16 Andrew Pinski <apinski@cavium.com>
1722
1723 * config/aarch64/value-unwind.h: New file.
1724 * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
1725 to tm_file.
1726
0bd99911
PD
17272017-02-06 Palmer Dabbelt <palmer@dabbelt.com>
1728
1729 * config.host: Add RISC-V tuples.
1730 * config/riscv/atomic.c: New file.
1731 * config/riscv/crti.S: Likewise.
1732 * config/riscv/crtn.S: Likewise.
1733 * config/riscv/div.S: Likewise.
1734 * config/riscv/linux-unwind.h: Likewise.
1735 * config/riscv/muldi3.S: Likewise.
1736 * config/riscv/multi3.S: Likewise.
1737 * config/riscv/save-restore.S: Likewise.
1738 * config/riscv/sfp-machine.h: Likewise.
1739 * config/riscv/t-elf: Likewise.
1740 * config/riscv/t-elf32: Likewise.
1741 * config/riscv/t-elf64: Likewise.
1742 * config/riscv/t-softfp32: Likewise.
1743 * config/riscv/t-softfp64: Likewise.
1744
a8c9ef2a
JJ
17452017-01-24 Jakub Jelinek <jakub@redhat.com>
1746
1747 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
1748 /* FALLTHRU */ comments.
1749
c6c82710
GP
17502017-01-21 Gerald Pfeifer <gerald@pfeifer.com>
1751
1752 * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
1753
a876231c
JW
17542017-01-20 Jiong Wang <jiong.wang@arm.com>
1755
1756 * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
1757 * unwind-dw2.c (execute_cfa_program): Only multiplexing
1758 DW_CFA_GNU_window_save for AArch64 and LP64.
1759
aa348be2
JW
17602017-01-20 Jiong Wang <jiong.wang@arm.com>
1761
1762 * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
1763
5636faf2
JW
17642017-01-19 Jiong Wang <jiong.wang@arm.com>
1765
1766 * config/aarch64/aarch64-unwind.h: New file.
1767 (DWARF_REGNUM_AARCH64_RA_STATE): Define.
1768 (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
1769 (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
1770 (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
1771 (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
1772 (aarch64_post_extract_frame_addr): New function.
1773 (aarch64_post_frob_eh_handler_addr): New function.
1774 (aarch64_frob_update_context): New function.
1775 * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
1776 * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
1777 aarch64*-*-freebsd*):
1778 Initialize md_unwind_header to include aarch64-unwind.h.
1779 * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
1780 (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
1781 __aarch64__.
1782 (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
1783 (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
1784 (uw_frob_return_addr): New function.
1785 (uw_install_context): Use uw_frob_return_addr.
1786
3c36aa6b
JJ
17872017-01-17 Jakub Jelinek <jakub@redhat.com>
1788
1789 PR other/79046
1790 * configure.ac: Add GCC_BASE_VER.
1791 * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
1792 version from BASE-VER file.
1793 * configure: Regenerated.
1794
829afb8f
JS
17952017-01-13 Joe Seymour <joe.s@somniumtech.com>
1796
1797 * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
1798 libmul_f5.a): Filter archived prerequisites.
1799
79fc8ffe
AS
18002017-01-10 Andrew Senkevich <andrew.senkevich@intel.com>
1801
1802 * config/i386/cpuinfo.h (processor_features): Add
1803 FEATURE_AVX512VPOPCNTDQ.
1804 * config/i386/cpuinfo.c (get_available_features): Habdle new
1805 feature.
1806
fec5f4e0
JM
18072017-01-04 Joseph Myers <joseph@codesourcery.com>
1808
1809 * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
1810 payload if [__mips_nan2008].
1811
8f56cb51
AM
18122017-01-04 Alan Modra <amodra@gmail.com>
1813
1814 * Makefile.in (configure_deps): Update.
1815 * configure: Regenerate.
1816
cbe34bb5
JJ
18172017-01-01 Jakub Jelinek <jakub@redhat.com>
1818
1819 Update copyright years.
1820
ab955692
KW
18212016-12-19 Krister Walfridsson <krister.walfridsson@gmail.com>
1822
1823 * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
1824 * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
1825 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
1826
de34320f
MK
18272016-12-17 Matthias Klose <doko@ubuntu.com>
1828
1829 * config/arc/gmon: Remove empty directory.
1830
e04ea1da
CZ
18312016-12-16 Claudiu Zissulescu <claziss@synopsys.com>
1832
1833 * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
1834 crtgend.
1835 (arc*-*-elf*): Likewise.
1836 * config/arc/t-arc: Remove old gmon lib targets.
1837 * config/arc/crtg.S: Remove.
1838 * config/arc/crtgend.S: Likewise.
1839 * config/arc/gmon/atomic.h: Likewise.
1840 * config/arc/gmon/auxreg.h: Likewise.
1841 * config/arc/gmon/dcache_linesz.S: Likewise.
1842 * config/arc/gmon/gmon.c: Likewise.
1843 * config/arc/gmon/machine-gmon.h: Likewise.
1844 * config/arc/gmon/mcount.c: Likewise.
1845 * config/arc/gmon/prof-freq-stub.S: Likewise.
1846 * config/arc/gmon/prof-freq.c: Likewise.
1847 * config/arc/gmon/profil.S: Likewise.
1848 * config/arc/gmon/sys/gmon.h: Likewise.
1849 * config/arc/gmon/sys/gmon_out.h: Likewise.
1850 * config/arc/t-arc-newlib: Likewise.
1851 * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
1852
8ae1c2c1
GS
18532016-12-12 George Spelvin <linux@sciencehorizons.net>
1854
1855 * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
1856
a5b947fa
GS
18572016-12-12 George Spelvin <linux@sciencehorizons.net>
1858
1859 * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
1860 R16 instead of push + pop.
1861 (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
1862
d6574dd1
KW
18632016-12-10 Krister Walfridsson <krister.walfridsson@gmail.com>
1864
1865 * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
1866 tmake_file.
1867
62440b4f
CM
18682016-12-05 Cupertino Miranda <cmiranda@synopsys.com>
1869
1870 * config.host (arc*-*-linux-uclibc*): Use default extra
1871 objects. Include linux-android header.
1872 * config/arc/crti.S (_init): Declare symbol as function.
1873 (_fini): Likewise.
1874
31cfd832
TK
18752016-12-03 Thomas Koenig <tkoenig@gcc.gnu.org>
1876
1877 PR fortran/78379
1878 * config/i386/cpuinfo.c: Move denums for processor vendors,
1879 processor type, processor subtypes and declaration of
1880 struct __processor_model into
1881 * config/i386/cpuinfo.h: New header file.
1882
c92e08e3
AV
18832016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
1884 Thomas Preud'homme <thomas.preudhomme@arm.com>
1885
1886 * config/arm/cmse_nonsecure_call.S: New.
1887 * config/arm/t-arm: Compile cmse_nonsecure_call.S
1888
de7b5723
AV
18892016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
1890 Thomas Preud'homme <thomas.preudhomme@arm.com>
1891
1892 * config/arm/t-arm (HAVE_CMSE): New.
1893 * config/arm/cmse.c: New.
1894
7a0d2bce
TP
18952016-11-28 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
1896
b3a5bff4
TP
1897 PR gcc/74748
1898 * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
1899 use generic linker version information on Blackfin.
1900
7a0d2bce
TP
1901 PR gcc/74748
1902 * libgcc/mkmap-symver.awk: add support for skip_underscore
1903
b410cf1d
IS
19042016-11-27 Iain Sandoe <iain@codesourcery.com>
1905 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1906
1907 PR target/67710
1908 * config/t-darwin: Default builds to 10.5 codegen.
1909
2e5f8203
JG
19102016-11-24 James Greenhalgh <james.greenhalgh@arm.com>
1911
1912 * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
1913 (_FP_NANSIGN_H): Likewise.
1914 * config/aarch64/t-softfp (softfp_extensions): Add hftf.
1915 (softfp_truncations): Add tfhf.
1916 (softfp_extras): Add required conversion functions.
1917
bea64ca3
JG
19182016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
1919 Matthew Wahab <matthew.wahab@arm.com>
1920
1921 * config/arm/fp16.c (binary64): New.
1922 (__gnu_d2h_internal): New.
1923 (__gnu_d2h_ieee): New.
1924 (__gnu_d2h_alternative): New.
1925
8630cadb
JG
19262016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
1927 Matthew Wahab <matthew.wahab@arm.com>
1928
1929 * config/arm/fp16.c (struct format): New.
1930 (binary32): New.
1931 (__gnu_float2h_internal): New. Body moved from
1932 __gnu_f2h_internal and generalize.
1933 (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
1934 Call it with binary32.
1935
5823ef23
JG
19362016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
1937
1938 * soft-fp/extendhftf2.c: Update from glibc.
1939 * soft-fp/fixhfti.c: Likewise.
1940 * soft-fp/fixunshfti.c: Likewise.
1941 * soft-fp/floattihf.c: Likewise.
1942 * soft-fp/floatuntihf.c: Likewise.
1943 * soft-fp/half.h: Likewise.
1944 * soft-fp/trunctfhf2.c: Likewise.
1945
62a7df9f
MG
19462016-11-20 Marc Glisse <marc.glisse@inria.fr>
1947
1948 PR libgcc/77813
1949 * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
1950 __TMC_END__ behind a passthrough asm.
1951
7a384912
WL
19522016-11-18 Walter Lee <walt@tilera.com>
1953
62a7df9f 1954 * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
7a384912 1955
9775c1a5
L
19562016-11-17 Andrew Senkevich <andrew.senkevich@intel.com>
1957
1958 * config/i386/cpuinfo.c (processor_features): Add
1959 FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
1960
48c842ab
CZ
19612016-11-17 Claudiu Zissulescu <claziss@synopsys.com>
1962
1963 * config/arc/dp-hack.h (ARC_OPTFPE): Define.
1964 (__ARC_NORM__): Use instead ARC_OPTFPE.
1965 * config/arc/fp-hack.h: Likewise.
1966 * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
1967 (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
1968
5012919d
AM
19692016-11-16 Alexander Monakov <amonakov@ispras.ru>
1970
1971 * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
1972 * config/nvptx/mgomp.c: New file.
1973 * config/nvptx/t-nvptx: Add mgomp.c
1974
00178b98
WB
19752016-11-16 Waldemar Brodkorb <wbx@openadk.org>
1976
1977 PR libgcc/68468
1978 * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
1979
d64af69f
CZ
19802016-11-15 Claudiu Zissulescu <claziss@synopsys.com>
1981
1982 * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
1983 of checking for cpus.
1984 (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
1985 (__modsi3, __clzsi2): Likewise.
1986
9d8f95de
SN
19872016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
1988
1989 * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
1990 i386/t-cpuinfo-static instead of i386/t-cpuinfo.
1991 * config/i386/t-cpuinfo-static: New.
1992
7d29f8e3
ML
19932016-11-03 Martin Liska <mliska@suse.cz>
1994
1995 * libgcov-profiler.c (__gcov_time_profiler): Remove.
1996 (__gcov_time_profiler_atomic): Likewise.
1997
5de3e2d8
BE
19982016-11-03 Bernd Edlinger <bernd.edlinger@hotmail.de>
1999
2000 PR libgcc/78067
2001 * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
2002 count_leading_zeros.
2003
18362447
UB
20042016-11-02 Uros Bizjak <ubizjak@gmail.com>
2005
2006 * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
2007 * libgcc2.c (__divmoddi4): New function.
2008 * libgcc2.h (__divmoddi4): Declare.
2009 * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
2010 and __PFX_divmodti4.
2011
33107571
FW
20122016-10-24 Florian Weimer <fweimer@redhat.com>
2013
2014 PR libgcc/78064
2015 * unwind-c.c: Include auto-target.h.
2016
4c6d7494
JDA
20172016-10-19 John David Anglin <danglin@gcc.gnu.org>
2018
18362447 2019 * config/pa/pa64-hpux-lib.h: New file.
4c6d7494
JDA
2020 (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
2021 (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
2022 * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
2023 hppa*64*-*-hpux11*.
2024
2a26adf1
MF
20252016-10-18 Max Filippov <jcmvbkbc@gmail.com>
2026
2027 * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
2028 definition.
2029 * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
2030 definition.
2031 * config/xtensa/t-windowed (LIB2ADDEH): Use
2032 LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
2033 or xtensa/t-linux.
2034
66192aa1
DKC
20352016-10-18 Ding-Kai Chen <dkchen@cadence.com>
2036
2037 * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
2038 __ieee754_sqrt): New functions.
2039 (__divdf3): Add implementation with new FPU instructions under
2040 #if XCHAL_HAVE_DFP_DIV.
2041 * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
2042 __ieee754_sqrtf): New functions.
2043 (__divsf3): Add implementation with new FPU instructions under
2044 #if XCHAL_HAVE_FP_DIV.
2045 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
2046 _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
2047
4d0cdd0c
TP
20482016-10-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
2049
2050 * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
2051 equivalent.
2052 * config/tilepro/atomic.c: Likewise and stop casting model to
2053 enum memmodel.
2054
73f01cca
JM
20552016-10-10 Joseph Myers <joseph@codesourcery.com>
2056
2057 PR target/77586
2058 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
2059 soft-fp.
2060
b20e7532
AT
20612016-10-10 Andreas Tobler <andreast@gcc.gnu.org>
2062
2063 * config.host: Add support for aarch64-*-freebsd*.
2064
a786cec4
AS
20652016-10-05 Andreas Schwab <schwab@suse.de>
2066
2067 * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
2068 (.section .init_array): Don't call __do_jv_register_classes.
2069 (.section .init): Likewise.
2070
5a79befb
JJ
20712016-10-04 Jakub Jelinek <jakub@redhat.com>
2072
2073 * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
2074 (__JCR_LIST__): Remove.
2075 (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
2076 * config/i386/cygming-crtend.c (__JCR_END__): Remove.
2077 * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
2078 * config/ia64/crtend.S (__JCR_END__): Remove.
2079 * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
2080 conditionals.
2081 (__JCR_LIST__, __JCR_END__): Remove.
2082 (frame_dummy): Don't attempt to _Jv_RegisterClasses.
2083 (__do_global_ctors_1): Likewise.
2084
e0ab3753
UB
20852015-09-28 Uros Bizjak <ubizjak@gmail.com>
2086
2087 * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
2088 (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
2089
8c9434c2
ML
20902016-09-27 Martin Liska <mliska@suse.cz>
2091
2092 PR gcov-profile/7970
2093 PR gcov-profile/16855
2094 PR gcov-profile/44779
2095 * libgcov-driver.c (__gcov_init): Do not register a atexit
2096 handler.
2097 (__gcov_exit): Rename from gcov_exit.
2098 * libgcov.h (__gcov_exit): Declare.
2099
56b653f1
ML
21002016-09-27 Martin Liska <mliska@suse.cz>
2101
2102 PR bootstrap/77749
2103 * Makefile.in: Remove _gcov_merge_delta.
2104 * libgcov-merge.c (void __gcov_merge_delta): Remove.
2105 * libgcov-util.c (__gcov_delta_counter_op): Remove.
2106 * libgcov.h: Remove declaration of __gcov_merge_delta.
2107
7e02fd1b
EB
21082016-09-21 Eric Botcazou <ebotcazou@adacore.com>
2109
2110 * configure.ac: Do not create links, only substitute the filenames.
2111 * configure: Regenerate.
2112 * Makefile.in: Assign the substitution results to variables.
2113 (LIBGCC_LINKS): Define.
2114 (enable-execute-stack.c): New rule.
2115 (unwind.h): Likewise.
2116 (md-unwind-support.h): Likewise.
2117 (sfp-machine.h): Likewise.
2118 (gthr-default.h): Likewise.
2119 Add $(LIBGCC_LINKS) to the prerequisites of all object files and
2120 unwind.h as prerequisite of install-unwind_h-forbuild.
2121
29991048
JJ
21222016-09-16 Jakub Jelinek <jakub@redhat.com>
2123
2124 PR libgcc/71744
2125 * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
2126 is not the primary registry and atomics are available.
2127 (any_objects_registered): New variable.
2128 (__register_frame_info_bases, __register_frame_info_table_bases):
2129 Atomically store 1 to any_objects_registered after registering first
2130 unwind info.
2131 (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
2132
0abcd6cc
JG
21332016-09-09 James Greenhalgh <james.greenhalgh@arm.com>
2134
2135 PR target/63250
2136 * Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
2137 * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
2138 (HFtype): Likewise.
2139 (HCtype): Likewise.
2140 (__divhc3): Likewise.
2141 (__mulhc3): Likewise.
2142 * libgcc2.c: Support _mulhc3 and _divhc3.
2143
d758aeb5
JM
21442016-09-07 Joseph Myers <joseph@codesourcery.com>
2145
2146 PR libgcc/77519
2147 * libgcc2.c (NOTRUNC): Invert settings.
2148
7fe76f6a
ML
21492016-09-06 Martin Liska <mliska@suse.cz>
2150
2151 PR gcov-profile/77378
2152 PR gcov-profile/77466
2153 * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
2154 conditionaly enable/disable *_atomic functions.
2155
21184026
JM
21562016-08-26 Joseph Myers <joseph@codesourcery.com>
2157
2158 * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
2159 where not already enabled.
2160
726f49c3
SN
21612016-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
2162
2163 * config/mips/linux-unwind.h: Use sys/syscall.h.
2164
feeb6268
JM
21652016-08-16 Joseph Myers <joseph@codesourcery.com>
2166
2167 PR libgcc/77265
2168 * soft-fp/adddf3.c: Update from glibc.
2169 * soft-fp/addsf3.c: Likewise.
2170 * soft-fp/addtf3.c: Likewise.
2171 * soft-fp/divdf3.c: Likewise.
2172 * soft-fp/divsf3.c: Likewise.
2173 * soft-fp/divtf3.c: Likewise.
2174 * soft-fp/double.h: Likewise.
2175 * soft-fp/eqdf2.c: Likewise.
2176 * soft-fp/eqsf2.c: Likewise.
2177 * soft-fp/eqtf2.c: Likewise.
2178 * soft-fp/extenddftf2.c: Likewise.
2179 * soft-fp/extended.h: Likewise.
2180 * soft-fp/extendsfdf2.c: Likewise.
2181 * soft-fp/extendsftf2.c: Likewise.
2182 * soft-fp/extendxftf2.c: Likewise.
2183 * soft-fp/fixdfdi.c: Likewise.
2184 * soft-fp/fixdfsi.c: Likewise.
2185 * soft-fp/fixdfti.c: Likewise.
2186 * soft-fp/fixsfdi.c: Likewise.
2187 * soft-fp/fixsfsi.c: Likewise.
2188 * soft-fp/fixsfti.c: Likewise.
2189 * soft-fp/fixtfdi.c: Likewise.
2190 * soft-fp/fixtfsi.c: Likewise.
2191 * soft-fp/fixtfti.c: Likewise.
2192 * soft-fp/fixunsdfdi.c: Likewise.
2193 * soft-fp/fixunsdfsi.c: Likewise.
2194 * soft-fp/fixunsdfti.c: Likewise.
2195 * soft-fp/fixunssfdi.c: Likewise.
2196 * soft-fp/fixunssfsi.c: Likewise.
2197 * soft-fp/fixunssfti.c: Likewise.
2198 * soft-fp/fixunstfdi.c: Likewise.
2199 * soft-fp/fixunstfsi.c: Likewise.
2200 * soft-fp/fixunstfti.c: Likewise.
2201 * soft-fp/floatdidf.c: Likewise.
2202 * soft-fp/floatdisf.c: Likewise.
2203 * soft-fp/floatditf.c: Likewise.
2204 * soft-fp/floatsidf.c: Likewise.
2205 * soft-fp/floatsisf.c: Likewise.
2206 * soft-fp/floatsitf.c: Likewise.
2207 * soft-fp/floattidf.c: Likewise.
2208 * soft-fp/floattisf.c: Likewise.
2209 * soft-fp/floattitf.c: Likewise.
2210 * soft-fp/floatundidf.c: Likewise.
2211 * soft-fp/floatundisf.c: Likewise.
2212 * soft-fp/floatunditf.c: Likewise.
2213 * soft-fp/floatunsidf.c: Likewise.
2214 * soft-fp/floatunsisf.c: Likewise.
2215 * soft-fp/floatunsitf.c: Likewise.
2216 * soft-fp/floatuntidf.c: Likewise.
2217 * soft-fp/floatuntisf.c: Likewise.
2218 * soft-fp/floatuntitf.c: Likewise.
2219 * soft-fp/gedf2.c: Likewise.
2220 * soft-fp/gesf2.c: Likewise.
2221 * soft-fp/getf2.c: Likewise.
2222 * soft-fp/ledf2.c: Likewise.
2223 * soft-fp/lesf2.c: Likewise.
2224 * soft-fp/letf2.c: Likewise.
2225 * soft-fp/muldf3.c: Likewise.
2226 * soft-fp/mulsf3.c: Likewise.
2227 * soft-fp/multf3.c: Likewise.
2228 * soft-fp/negdf2.c: Likewise.
2229 * soft-fp/negsf2.c: Likewise.
2230 * soft-fp/negtf2.c: Likewise.
2231 * soft-fp/op-1.h: Likewise.
2232 * soft-fp/op-2.h: Likewise.
2233 * soft-fp/op-4.h: Likewise.
2234 * soft-fp/op-8.h: Likewise.
2235 * soft-fp/op-common.h: Likewise.
2236 * soft-fp/quad.h: Likewise.
2237 * soft-fp/single.h: Likewise.
2238 * soft-fp/soft-fp.h: Likewise.
2239 * soft-fp/subdf3.c: Likewise.
2240 * soft-fp/subsf3.c: Likewise.
2241 * soft-fp/subtf3.c: Likewise.
2242 * soft-fp/truncdfsf2.c: Likewise.
2243 * soft-fp/trunctfdf2.c: Likewise.
2244 * soft-fp/trunctfsf2.c: Likewise.
2245 * soft-fp/trunctfxf2.c: Likewise.
2246 * soft-fp/unorddf2.c: Likewise.
2247 * soft-fp/unordsf2.c: Likewise.
2248 * soft-fp/unordtf2.c: Likewise.
2249
2e6fc1ac
GG
22502016-08-15 Gilles Gouaillardet <gilles.gouaillardet@gmail.com>
2251
2252 PR gcov-profile/67097
2253 * libgcov-util.c (gcov_profile_merge): Skip missing files.
2254
a266236e
ML
22552016-08-10 Martin Liska <mliska@suse.cz>
2256
2257 PR gcov-profile/58306
2258 * Makefile.in: New functions (modules) are added.
2259 * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
2260 function.
2261 (__gcov_pow2_profiler_atomic): New function.
2262 (__gcov_one_value_profiler_body): New argument is instroduced.
2263 (__gcov_one_value_profiler): Call with the new argument.
2264 (__gcov_one_value_profiler_atomic): Likewise.
2265 (__gcov_indirect_call_profiler_v2): Likewise.
2266 (__gcov_time_profiler_atomic): New function.
2267 (__gcov_average_profiler_atomic): Likewise.
2268 (__gcov_ior_profiler_atomic): Likewise.
2269 * libgcov.h: Declare the aforementioned functions.
2270
e0c8eebf
ML
22712016-08-09 Martin Liska <mliska@suse.cz>
2272
2273 * libgcov-util.c: Fix typo and GNU coding style.
2274
6dce6418
ML
22752016-08-09 Martin Liska <mliska@suse.cz>
2276
2277 * Makefile.in: Remove __gcov_indirect_call_profiler.
2278 * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
2279 function.
2280 * libgcov.h: And the declaration of the function.
2281
dcb1e137
ML
22822016-08-09 Martin Liska <mliska@suse.cz>
2283
2284 * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
2285 power of two.
2286
d6e69705
BS
22872016-07-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
2288
2289 * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
2290 * config/rs6000/_mulkc3.c: Likewise.
2291
96aa1f95
GJL
22922016-07-29 Georg-Johann Lay <avr@gjlay.de>
2293
2294 * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
2295 zero_reg as previous call to __umulhisi3 already cleared it.
2296
a1b01d34
AJ
22972016-07-21 Aurelien Jarno <aurelien@aurel32.net>
2298
2299 PR target/59833
2300 * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
2301
985a47b2
NC
23022016-07-19 Nick Clifton <nickc@redhat.com>
2303
2304 * config.host (m32r): Add m32r/t-m32r to tmake_file.
2305 Add crtinit.o and crtfini.o to extra_parts.
2306
f906f5ed
BS
23072016-07-12 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
2308
2309 * config/rs6000/_divkc3.c: New.
2310 * config/rs6000/_mulkc3.c: New.
2311 * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
2312 and _divkc3.
2313 * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
2314 fp128_ppc_funcs.
2315
82742404
HW
23162016-07-11 Hale Wang <hale.wang@arm.com>
2317 Andre Vieira <andre.simoesdiasvieira@arm.com>
2318
2319 * config/arm/lib1funcs.S: Add new wrapper.
2320
05a437c1
TP
23212016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
2322
2323 * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
2324
3d16d9ec
TP
23252016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
2326
2327 * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
2328 and ARMv5t* rather than for a fixed list of architectures.
2329
6f493951
TP
23302016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
2331
2332 * config/arm/bpabi-v6m.S: Clarify what architectures is the
2333 implementation suitable for.
2334 * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
2335 for all Thumb-1 only targets.
2336 (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
2337 (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
2338 __ARM_ARCH_6M__.
2339 (EQUIV): Likewise.
2340 (ARM_FUNC_ALIAS): Likewise.
2341 (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
2342 version.
2343 (modsi3): Likewise.
2344 (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
2345 (clzdi2): Likewise.
2346 (ctzsi2): Likewise.
2347 (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
2348 __ARM_ARCH_6M__ in guard for checking whether it is defined.
2349 (final includes): Test for NOT_ISA_TARGET_32BIT rather than
2350 __ARM_ARCH_6M__ and add comment to indicate the connection between
2351 this condition and the one in gcc/config/arm/elf.h.
2352 * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
2353 __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
2354 * config/arm/t-softfp: Likewise.
2355
1770511a
TS
23562016-07-06 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2357
2358 * libgcc2.c (SYMBOL__MAIN): Remove checks for
2359 CTOR_LISTS_DEFINED_EXTERNALLY.
2360
ba6be749
WL
23612016-06-28 Walter Lee <walt@tilera.com>
2362
2363 * config/tilepro/atomic.h: Do not include arch/spr_def.h and
2364 asm/unistd.h.
2365 (SPR_CMPEXCH_VALUE): Define for tilegx.
2366 (__NR_FAST_cmpxchg): Define for tilepro.
2367 (__NR_FAST_atomic_update): Define for tilepro.
2368 (__NR_FAST_cmpxchg64): Define for tilepro.
2369
a34c0db5
JS
23702016-06-23 Jakub Sejdak <jakub.sejdak@phoesys.com>
2371
18362447 2372 * config.host: Add suport for arm*-*-phoenix* targets.
a34c0db5 2373
0609abda
TS
23742016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2375
2376 * config.host: Remove support for mep-*.
2377 * config/mep/lib1funcs.S: Remove.
2378 * config/mep/lib2funcs.c: Remove.
2379 * config/mep/t-mep: Remove.
2380 * config/mep/tramp.c: Remove.
2381
3e326935
TS
23822016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2383
2384 * config.host: Remove support for avr-rtems.
2385 * config/avr/t-rtems: Remove.
2386
914b155c
TS
23872016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2388
2389 * config.host: Remove m32r-rtems support.
2390
5ebf89bd
TS
23912016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2392
2393 * config.host: Remove h8300-rtems support.
2394
8466af06
TS
23952016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2396
2397 * config.host: Remove support for knetbsd.
2398
d980e738
TS
23992016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2400
2401 * config.host: Remove support for openbsd 2 and 3.
2402
ee2499b4
TS
24032016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2404
2405 * config.host: Remove interix support.
2406 * config/i386/t-interix: Remove.
2407
9f92937b
JDA
24082016-06-18 John David Anglin <danglin@gcc.gnu.org>
2409
2410 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
2411 least-significant bit in function pointer for fixup.
2412
0a0ec53d
AC
24132016-06-05 Aaron Conole <aconole@redhat.com>
2414 Nathan Sidwell <nathan@acm.org>
2415
2416 PR libgcc/71400
2417 * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
2418 (get_gcov_error_file): Check __gcov_error_file before trying to
2419 initialize it.
2420 (gcov_error): Always use get_gcov_error_file.
2421
8aa5bdd6
AC
24222016-06-02 Aaron Conole <aconole@redhat.com>
2423
2424 * libgcov-driver-system.c (__gcov_error_file): New.
2425 (get_gcov_error_file): New.
2426 (gcov_error): Use and set __gcov_error_file.
2427 (gcov_error_exit): New.
2428 * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
2429
40774faf
NS
24302016-05-26 Nathan Sidwell <nathan@acm.org>
2431
2432 * config/nvptx/free.asm: Delete.
2433 * config/nvptx/malloc.asm: Delete.
2434 * config/nvptx/realloc.c: Delete.
2435 * t-nvptx: Update.
2436
69a6d5ad
NS
24372016-05-25 Nathan Sidwell <nathan@acm.org>
2438
2439 * config/nvptx/crt0.s: Delete.
2440 * config/nvptx/crt0.c: New.
2441 * t-nvptx: Update.
2442
6befaff6
SL
24432016-05-19 Sandra Loosemore <sandra@codesourcery.com>
2444
385c7747 2445 * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
6befaff6
SL
2446 dw2/seh configuration.
2447 [x86_64-*-mingw*]: Likewise.
2448
ad251dfd
JS
24492016-05-10 Joel Sherrill <joel@rtems.org>
2450
2451 PR libgcc/70720
2452 * config.host (moxie-*-rtems*): Merge this stanza with other moxie
2453 targets so the same extra_parts are built. Also have tmake_file add
2454 on to its value rather than override.
2455
bc6d9014
OE
24562016-04-30 Oleg Endo <olegendo@gcc.gnu.org>
2457
2458 * config.host: Remove SH5 support.
2459 * configure: Likewise.
2460
9129c8cf
OE
24612016-04-29 Oleg Endo <olegendo@gcc.gnu.org>
2462
2463 * config/sh/crt1.S: Remove SH5 support.
2464 * config/sh/crti.S: Likewise.
2465 * config/sh/crtn.S: Likewise.
2466 * config/sh/lib1funcs-4-300.S: Likewise.
2467 * config/sh/lib1funcs-Os-4-200.S: Likewise.
2468 * config/sh/lib1funcs.S: Likewise.
2469 * config/sh/linux-unwind.h: Likewise.
2470 * config/sh/t-sh64: Delete.
2471
39d50464
CZ
24722016-04-29 Claudiu Zissulescu <claziss@synopsys.com>
2473
2474 * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
2475
8b48923b
CZ
24762016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
2477 Joern Rennecke <joern.rennecke@embecosm.com>
2478
2479 * config/arc/crttls.S: New file.
2480 * config/arc/t-arc: New rule.
2481 * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
2482
2de1cf8c
NC
24832016-04-25 Nick Clifton <nickc@redhat.com>
2484
2485 * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
2486 (__mspabi_cmpd): Likewise.
2487 * config/msp430/floathidf.c (__floathidf): Likewise.
2488 * config/msp430/floathisf.c (__floathisf): Likewise
2489 * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
2490 * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
2491 * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
2492 second parameter.
2493 (__ashrsi3): Likewise.
2494
b8ce3fe2
WB
24952016-04-21 Waldemar Brodkorb <wbx@openadk.org>
2496
2497 * config/m68k/linux-atomic.c: Do not include unistd.h
2498
4986f823
MG
24992016-04-20 Martin Galvan <martin.galvan@tallertechnologies.com>
2500
2501 * config/arm/ieee754-df.S: Fix typos in comments.
2502
35fbda43
MM
25032016-04-11 Michael Meissner <meissner@linux.vnet.ibm.com>
2504
2505 PR target/70381
2506 * configure.ac (powerpc*-*-linux*): Rework tests to build
2507 __float128 emulation routines to not depend on using #pragma GCC
2508 target to enable -mfloat128.
2509 * configure: Regnerate.
2510
72d1a48d
EB
25112016-04-04 Eric Botcazou <ebotcazou@adacore.com>
2512
2513 PR target/67172
2514 * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
2515 __MINGW32__ is defined.
2516
dc2e8995
JB
25172016-03-28 James Bowman <james.bowman@ftdichip.com>
2518
385c7747 2519 * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
dc2e8995 2520
104cdaf1
MM
25212016-03-22 Michael Meissner <meissner@linux.vnet.ibm.com>
2522
2523 PR libgcc/70363
2524 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
2525 built with an assembler that does not support ISA 3.0
2526 instructions, rename __extendkftf2_sw to __extendkftf2.
2527
a5046f48
RO
25282016-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2529
2530 PR target/38239
2531 * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
2532 call-clobbered registers.
2533 (internal_mcount): Remove __i386__ handling.
2534
df674f74
JS
25352016-02-26 Joel Sherrill <joel@rtems.org>
2536
2537 * config.host: Add x86_64-*-rtems*.
2538
7cb065d6
JS
25392016-02-26 Joel Sherrill <joel@rtems.org>
2540
2541 * libgcc/config.host: Add aarch64-*-rtems*.
2542
47dfdc53
PM
25432016-02-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2544 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
2545
2546 * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
2547 union of u64 and double.
2548 (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
2549 (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
2550 value.
2551 (FP_ROUNDMODE): Update the usage of _fpscr.
2552
e6861a99
IV
25532016-02-25 Ilya Verbin <ilya.verbin@intel.com>
2554
2555 PR driver/68463
2556 * Makefile.in (crtoffloadtable$(objext)): New rule.
2557 * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
2558 enable_offload_targets is not empty.
2559 * configure: Regenerate.
2560 * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
2561 crtoffloadtable.
2562
9bfcbdee
MF
25632016-02-17 Max Filippov <jcmvbkbc@gmail.com>
2564
2565 * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
2566 .literal_position before the function.
2567 * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
2568 Likewise.
2569
4cb4721f
MK
25702016-02-15 Marcin Kościelnicki <koriakin@0x04.net>
2571
2572 * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
2573 * config/s390/morestack.S: New file.
2574 * config/s390/t-stack-s390: New file.
2575 * generic-morestack.c (__splitstack_find): Add s390-specific code.
2576
b29d9a29
WL
25772016-02-12 Walter Lee <walt@tilera.com>
2578
2579 * config.host (tilegx*-*-linux*): remove ti from
2580 softfp_int_modes for 32-bit configs.
2581
03a0ae7d
ILT
25822016-02-10 Ian Lance Taylor <iant@google.com>
2583
2584 PR go/68562
2585 * config/i386/morestack.S (__stack_split_initialize): Align
2586 stack.
2587
68750bce
AT
25882016-02-03 Andreas Tobler <andreast@gcc.gnu.org>
2589
2590 PR bootstrap/69611
2591 * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
2592 __FLOAT128__ to compile only for __float128 capable targets.
2593
7d296953
JJ
25942016-01-25 Jakub Jelinek <jakub@redhat.com>
2595
2596 PR target/69444
2597 * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
2598 instead of ___NO_FPRS__.
2599
a71c0334 26002016-01-21 Michael Meissner <meissner@linux.vnet.ibm.com>
7d296953
JJ
2601 Steven Munroe <munroesj@linux.vnet.ibm.com>
2602 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
a71c0334
MM
2603
2604 * config/rs6000/float128-sed: New files to convert TF names to KF
2605 names for PowerPC IEEE 128-bit floating point support.
2606 * config/rs6000/float128-sed-hw: Likewise.
2607
2608 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
2609 floating point hardware support.
2610
2611 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
2612 128-bit floating point software emulation or use ISA 3.0 hardware
2613 support if it is available.
2614
2615 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
2616 floating point.
2617
2618 * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
2619 floating point to IBM extended double.
2620
2621 * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
2622 double to IEEE 128-bit floating point.
2623
2624 * config/rs6000/t-float128: New Makefile fragments to enable
2625 building __float128 emulation support.
2626 * config/rs6000/t-float128-hw: Likewise.
2627
2628 * config/rs6000/sfp-exceptions.c: New file to provide exception
2629 support for IEEE 128-bit floating point.
2630
2631 * config/rs6000/floattikf.c: New files for converting between IEEE
2632 128-bit floating point and signed/unsigned 128-bit integers.
2633 * config/rs6000/fixunskfti.c: Likewise.
2634 * config/rs6000/fixkfti.c: Likewise.
2635 * config/rs6000/floatuntikf.c: Likewise.
2636
2637 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
2638 when building on 64-bit systems, or when VSX is enabled.
2639 (_FP_W_TYPE): Likewise.
2640 (_FP_WS_TYPE): Likewise.
2641 (_FP_I_TYPE): Likewise.
2642 (TItype): Define on 64-bit systems.
2643 (UTItype): Likewise.
2644 (TI_BITS): Likewise.
2645 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
2646 (_FP_MUL_MEAT_Q): Likewise.
2647 (_FP_DIV_MEAT_D): Likewise.
2648 (_FP_DIV_MEAT_Q): Likewise.
2649 (_FP_NANFRAC_D): Likewise.
2650 (_FP_NANFRAC_Q): Likewise.
2651 (ISA_BIT): Add exception support if we are being compiled on a
2652 machine with hardware floating point support to build the IEEE
2653 128-bit emulation functions.
2654 (FP_EX_INVALID): Likewise.
2655 (FP_EX_OVERFLOW): Likewise.
2656 (FP_EX_UNDERFLOW): Likewise.
2657 (FP_EX_DIVZERO): Likewise.
2658 (FP_EX_INEXACT): Likewise.
2659 (FP_EX_ALL): Likewise.
2660 (__sfp_handle_exceptions): Likewise.
2661 (FP_HANDLE_EXCEPTIONS): Likewise.
2662 (FP_RND_NEAREST): Likewise.
2663 (FP_RND_ZERO): Likewise.
2664 (FP_RND_PINF): Likewise.
2665 (FP_RND_MINF): Likewise.
2666 (FP_RND_MASK): Likewise.
2667 (_FP_DECL_EX): Likewise.
2668 (FP_INIT_ROUNDMODE): Likewise.
2669 (FP_ROUNDMODE): Likewise.
2670
2671 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
2672 VSX code, enable IEEE 128-bit floating point. If the compiler can
2673 compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
2674 floating point hardware instructions and it supports declaring
2675 functions with the ifunc attribute, enable ifunc functions to
2676 switch between software and hardware support.
2677 * configure.ac (powerpc*-*-linux*): Likewise.
2678 * configure: Regenerate.
2679
bdc27e50
NC
26802016-01-15 Nick Clifton <nickc@redhat.com>
2681
2682 * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
2683 dependency as the source file to be compiled.
2684 (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
2685 (lib2hw_mul_f5.o): Likewise.
2686
006df05d
MM
26872016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
2688
2689 * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
2690 * libgcc/config/rs6000/fixkfti.c: Likewise.
2691 * libgcc/config/rs6000/fixunskfti.c: Likewise.
2692 * libgcc/config/rs6000/float128-hw.c: Likewise.
2693 * libgcc/config/rs6000/float128-ifunc.c: Likewise.
2694 * libgcc/config/rs6000/float128-sed: Likewise.
2695 * libgcc/config/rs6000/floattikf.c: Likewise.
2696 * libgcc/config/rs6000/floatuntikf.c: Likewise.
2697 * libgcc/config/rs6000/quad-float128.h: Likewise.
2698 * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
2699 * libgcc/config/rs6000/sfp-machine.h: Likewise.
2700 * libgcc/config/rs6000/t-float128: Likewise.
2701 * libgcc/config/rs6000/t-float128-hw: Likewise.
2702 * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
2703 * libgcc/config.host: Likewise.
2704 * libgcc/configure: Likewise.
2705 * libgcc/configure.ac: Likewise.
2706
29176d57 27072016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
7d296953
JJ
2708 Steven Munroe <munroesj@linux.vnet.ibm.com>
2709 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
29176d57
MM
2710
2711 * config/rs6000/sfp-exceptions.c: New file to provide exception
2712 support for IEEE 128-bit floating point.
2713
2714 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
2715 floating point hardware support.
2716
2717 * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
2718 point conversions.
2719 * config/rs6000/fixunskfti.c: Likewise.
2720 * config/rs6000/fixkfti.c: Likewise.
2721 * config/rs6000/floatuntikf.c: Likewise.
2722 * config/rs6000/extendkftf2-sw.c: Likewise.
2723 * config/rs6000/trunctfkf2-sw.c: Likewise.
2724
2725 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
2726 128-bit floating point software emulation or use ISA 3.0 hardware
2727 support if it is available.
2728
2729 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
2730 floating point.
2731
2732 * config/rs6000/t-float128: New Makefile fragments to enable
2733 building __float128 emulation support.
2734 * config/rs6000/t-float128-hw: Likewise.
2735
2736 * config/rs6000/float128-sed: New file to convert TF names to KF
2737 names for PowerPC IEEE 128-bit floating point support.
2738
2739 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
2740 when building on 64-bit systems, or when VSX is enabled.
2741 (_FP_W_TYPE): Likewise.
2742 (_FP_WS_TYPE): Likewise.
2743 (_FP_I_TYPE): Likewise.
2744 (TItype): Define on 64-bit systems.
2745 (UTItype): Likewise.
2746 (TI_BITS): Likewise.
2747 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
2748 (_FP_MUL_MEAT_Q): Likewise.
2749 (_FP_DIV_MEAT_D): Likewise.
2750 (_FP_DIV_MEAT_Q): Likewise.
2751 (_FP_NANFRAC_D): Likewise.
2752 (_FP_NANFRAC_Q): Likewise.
2753 (ISA_BIT): Add exception support if we are being compiled on a
2754 machine with hardware floating point support to build the IEEE
2755 128-bit emulation functions.
2756 (FP_EX_INVALID): Likewise.
2757 (FP_EX_OVERFLOW): Likewise.
2758 (FP_EX_UNDERFLOW): Likewise.
2759 (FP_EX_DIVZERO): Likewise.
2760 (FP_EX_INEXACT): Likewise.
2761 (FP_EX_ALL): Likewise.
2762 (__sfp_handle_exceptions): Likewise.
2763 (FP_HANDLE_EXCEPTIONS): Likewise.
2764 (FP_RND_NEAREST): Likewise.
2765 (FP_RND_ZERO): Likewise.
2766 (FP_RND_PINF): Likewise.
2767 (FP_RND_MINF): Likewise.
2768 (FP_RND_MASK): Likewise.
2769 (_FP_DECL_EX): Likewise.
2770 (FP_INIT_ROUNDMODE): Likewise.
2771 (FP_ROUNDMODE): Likewise.
2772
2773 * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
2774 compiler can do __float128.
2775 * configure: Regenerate.
2776
2777 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
2778 VSX code, enable IEEE 128-bit floating point.
2779
a2218983
OH
27802016-01-05 Olivier Hainque <hainque@adacore.com>
2781
2782 * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
29176d57 2783 specificities.
a2218983 2784
818ab71a
JJ
27852016-01-04 Jakub Jelinek <jakub@redhat.com>
2786
2787 Update copyright years.
2788
5a6c8ffa
AP
27892015-12-18 Andris Pavenis <andris.pavenis@iki.fi>
2790
2791 * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
29176d57 2792 soft-fp targets.
5a6c8ffa 2793
077067a5
BE
27942015-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
2795
2796 * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
2797 instead of abort to avoid dependency on stdlib.h.
2798
787c1027
JDA
27992015-12-09 John David Anglin <danglin@gcc.gnu.org>
2800
2801 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
2802 to initialize call to __dl_fixup once.
2803
04a9ae28
NC
28042015-12-04 Nick Clifton <nickc@redhat.com>
2805
2806 * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
2807 Allow for the second argument being negative.
2808 * config.host (extra_parts): Define for MSP430. Create separate
2809 libraries for each of the hardware multiply formats.
2810 * config/msp430/lib2hw_mul.S: Build only the multiply routines
2811 that are needed.
2812 * config/msp430/lib2mul.c: Likewise.
2813 * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
2814 Add rules to build hardware multiply libraries.
2815 * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
2816 __mspabi_divul function.
2817 (__mspabi_divllu): New stub function.
2818
9a32d437
JDA
28192015-12-01 John David Anglin <danglin@gcc.gnu.org>
2820
2821 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
2822 fixup values if saved GOT address doesn't match runtime address.
2823 (fixup_branch_offset): Reorder list.
2824
e5ef217c
RO
28252015-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2826
2827 * Makefile.in (VTV_CFLAGS): New variable.
2828 (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
2829 (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
2830 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
2831 Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
2832 to extra_parts if $enable_vtable_verify = yes.
2833
78cc43a2
SN
28342015-11-23 Szabolcs Nagy <szabolcs.nagy@arm.com>
2835
2836 PR target/68059
2837 * config/arm/linux-atomic-64bit.c (__write): Rename to...
2838 (write): ...this and fix the return type.
2839
9afebea2
DD
28402015-11-19 DJ Delorie <dj@redhat.com>
2841
2842 * config/msp430/lib2hw_mul.S: Fix alignment.
2843
33f47f42
NS
28442015-11-18 Nathan Sidwell <nathan@codesourcery.com>
2845
2846 * config/nvptx/reduction.c: New.
2847 * config/nvptx/t-nvptx (LIB2ADD): Add it.
2848
d9adb476
DE
28492015-11-15 David Edelsohn <dje.gcc@gmail.com>
2850
2851 * config/rs6000/on_exit.c: New file.
2852 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
2853 * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
2854
c0ab1970
CZ
28552015-11-11 Claudiu Zissulescu <claziss@synopsys.com>
2856
2857 * config/arc/dp-hack.h: Add support for ARCHS.
2858 * config/arc/ieee-754/divdf3.S: Likewise.
2859 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
2860 * config/arc/ieee-754/muldf3.S: Likewise.
2861 * config/arc/ieee-754/mulsf3.S: Likewise
2862 * config/arc/lib1funcs.S: Likewise
2863 * config/arc/gmon/dcache_linesz.S: Don't read the build register
2864 for ARCv2 cores.
2865 * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
2866 for ARCv2 cores.
2867 * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
2868 * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
2869 cores.
2870
e6b6bf09
RO
28712015-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2872
2873 * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
2874 value.
2875 * config/ia64/crtend.S: Likewise.
2876
a153644f
TS
28772015-11-07 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2878
2879 * config/visium/lib2funcs.c (__set_trampoline_parity): Use
2880 __CHAR_BIT__ instead of BITS_PER_UNIT.
2881 * fixed-bit.h: Likewise.
2882 * fp-bit.h: Likewise.
2883 * libgcc2.c (__popcountSI2): Likewise.
2884 (__popcountDI2): Likewise.
2885 * libgcc2.h: Likewise.
2886 * libgcov.h: Likewise.
2887
3dee689d
DE
28882015-11-07 David Edelsohn <dje.gcc@gmail.com>
2889
2890 * config/rs6000/atexit.c: New file.
2891 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
2892 * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
2893 * config/rs6000/cxa_finalize.c
2894 (catomic_compare_and_exchange_bool_acq): Negate return value.
2895
2ef543e4
VK
28962015-10-30 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
2897
2898 * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
2899 (processor_subtypes): Add znver1.
2900 (get_amd_cpu): Detect znver1.
2901
1300f017
CL
29022015-10-29 Christophe Lyon <christophe.lyon@linaro.org>
2903
2904 * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
2905 Include crtfastmath.o.
2906
3e5bb7ee
JR
29072015-10-23 Joern Rennecke <joern.rennecke@embecosm.com>
2908
2909 PR libgcc/66883
2910 * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
1300f017 2911
793aa938
KP
29122015-10-16 Kaushik Phatak <kaushik.phatak@kpit.com>
2913
2914 * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
2915 * config/rl78/divmodsi.S: Update return register to r8.
2916 * config/rl78/divmodhi.S: Update return register to r8,r9.
2917 Branch to main_loop_done_himode to pop registers before return.
2918
7d296953 29192015-10-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
fac812f0
VK
2920
2921 * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
2922 (__cpu_indicator_init): Fix model selection for AMD CPUs.
2923
6a192b5a
KY
29242015-10-05 Kirill Yukhin <kirill.yukhin@intel.com>
2925
2926 * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
2927
4a0a9457
MF
29282015-10-03 Max Filippov <jcmvbkbc@gmail.com>
2929
2930 * config.host (xtensa*-*-uclinux*): New configuration.
2931
ab91c076
KY
29322015-10-02 Kirill Yukhin <kirill.yukhin@intel.com>
2933
385c7747 2934 * config/i386/cpuinfo.c (processor_features): Add
ab91c076
KY
2935 FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
2936
30954527
JM
29372015-09-28 Joseph Myers <joseph@codesourcery.com>
2938
2939 * soft-fp/adddf3.c: Update from glibc.
2940 * soft-fp/addsf3.c: Likewise.
2941 * soft-fp/addtf3.c: Likewise.
2942 * soft-fp/divdf3.c: Likewise.
2943 * soft-fp/divsf3.c: Likewise.
2944 * soft-fp/divtf3.c: Likewise.
2945 * soft-fp/double.h: Likewise.
2946 * soft-fp/eqdf2.c: Likewise.
2947 * soft-fp/eqsf2.c: Likewise.
2948 * soft-fp/eqtf2.c: Likewise.
2949 * soft-fp/extenddftf2.c: Likewise.
2950 * soft-fp/extended.h: Likewise.
2951 * soft-fp/extendsfdf2.c: Likewise.
2952 * soft-fp/extendsftf2.c: Likewise.
2953 * soft-fp/extendxftf2.c: Likewise.
2954 * soft-fp/fixdfdi.c: Likewise.
2955 * soft-fp/fixdfsi.c: Likewise.
2956 * soft-fp/fixdfti.c: Likewise.
2957 * soft-fp/fixsfdi.c: Likewise.
2958 * soft-fp/fixsfsi.c: Likewise.
2959 * soft-fp/fixsfti.c: Likewise.
2960 * soft-fp/fixtfdi.c: Likewise.
2961 * soft-fp/fixtfsi.c: Likewise.
2962 * soft-fp/fixtfti.c: Likewise.
2963 * soft-fp/fixunsdfdi.c: Likewise.
2964 * soft-fp/fixunsdfsi.c: Likewise.
2965 * soft-fp/fixunsdfti.c: Likewise.
2966 * soft-fp/fixunssfdi.c: Likewise.
2967 * soft-fp/fixunssfsi.c: Likewise.
2968 * soft-fp/fixunssfti.c: Likewise.
2969 * soft-fp/fixunstfdi.c: Likewise.
2970 * soft-fp/fixunstfsi.c: Likewise.
2971 * soft-fp/fixunstfti.c: Likewise.
2972 * soft-fp/floatdidf.c: Likewise.
2973 * soft-fp/floatdisf.c: Likewise.
2974 * soft-fp/floatditf.c: Likewise.
2975 * soft-fp/floatsidf.c: Likewise.
2976 * soft-fp/floatsisf.c: Likewise.
2977 * soft-fp/floatsitf.c: Likewise.
2978 * soft-fp/floattidf.c: Likewise.
2979 * soft-fp/floattisf.c: Likewise.
2980 * soft-fp/floattitf.c: Likewise.
2981 * soft-fp/floatundidf.c: Likewise.
2982 * soft-fp/floatundisf.c: Likewise.
2983 * soft-fp/floatunditf.c: Likewise.
2984 * soft-fp/floatunsidf.c: Likewise.
2985 * soft-fp/floatunsisf.c: Likewise.
2986 * soft-fp/floatunsitf.c: Likewise.
2987 * soft-fp/floatuntidf.c: Likewise.
2988 * soft-fp/floatuntisf.c: Likewise.
2989 * soft-fp/floatuntitf.c: Likewise.
2990 * soft-fp/gedf2.c: Likewise.
2991 * soft-fp/gesf2.c: Likewise.
2992 * soft-fp/getf2.c: Likewise.
2993 * soft-fp/ledf2.c: Likewise.
2994 * soft-fp/lesf2.c: Likewise.
2995 * soft-fp/letf2.c: Likewise.
2996 * soft-fp/muldf3.c: Likewise.
2997 * soft-fp/mulsf3.c: Likewise.
2998 * soft-fp/multf3.c: Likewise.
2999 * soft-fp/negdf2.c: Likewise.
3000 * soft-fp/negsf2.c: Likewise.
3001 * soft-fp/negtf2.c: Likewise.
3002 * soft-fp/op-1.h: Likewise.
3003 * soft-fp/op-2.h: Likewise.
3004 * soft-fp/op-4.h: Likewise.
3005 * soft-fp/op-8.h: Likewise.
3006 * soft-fp/op-common.h: Likewise.
3007 * soft-fp/quad.h: Likewise.
3008 * soft-fp/single.h: Likewise.
3009 * soft-fp/soft-fp.h: Likewise.
3010 * soft-fp/subdf3.c: Likewise.
3011 * soft-fp/subsf3.c: Likewise.
3012 * soft-fp/subtf3.c: Likewise.
3013 * soft-fp/truncdfsf2.c: Likewise.
3014 * soft-fp/trunctfdf2.c: Likewise.
3015 * soft-fp/trunctfsf2.c: Likewise.
3016 * soft-fp/trunctfxf2.c: Likewise.
3017 * soft-fp/unorddf2.c: Likewise.
3018 * soft-fp/unordsf2.c: Likewise.
3019 * soft-fp/unordtf2.c: Likewise.
3020
4dfe21ac
RE
30212015-09-24 Richard Earnshaw <rearnsha@arm.com>
3022
3023 PR libgcc/67624
3024 * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
3025
df2a1cc4
RO
30262015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3027
3028 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
3029 Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
3030 * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
3031 messages.
3032 (internal_mcount): Likewise.
3033 * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
3034 crt_compile, add CRTSTUFF_T_CFLAGS_S.
3035
2d110442
RO
30362015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3037
3038 * configure.ac (libgcc_cv_solaris_crts): New test.
3039 * configure: Regenerate.
3040 * config.in: Regenerate.
3041 * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
3042 * config/gmon-sol2.c: Rename to ...
3043 * config/sol2/gmon.c: ... this.
3044 Include auto-target.h.
3045 (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
3046 * config/t-sol2: Rename to ...
3047 * config/sol2/t-sol2: ... this.
3048 (gmon.o): Reflect renaming.
3049 (crtp.o, crtpg.o): New rules.
3050 * config.host (*-*-solaris2*): Reflect renaming.
3051 Use system CRTs if present.
3052 Remove default CRT case.
3053
d572e439
JDA
30542015-09-23 John David Anglin <danglin@gcc.gnu.org>
3055
3056 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
3057 (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
3058 __kernel_cmpxchg2.
3059 (__sync_##OP##_and_fetch_##WIDTH): Likewise.
3060 (__sync_val_compare_and_swap_##WIDTH): Likewise.
3061 (__sync_bool_compare_and_swap_##WIDTH): Likewise.
3062 (__sync_lock_test_and_set_##WIDTH): Likewise.
3063 (__sync_lock_release_##WIDTH): Likewise.
3064 (__sync_fetch_and_##OP##_4): Change result to match type of
3065 __kernel_cmpxchg.
3066 (__sync_##OP##_and_fetch_4): Likewise.
3067 (__sync_val_compare_and_swap_4): Likewise.
3068 (__sync_bool_compare_and_swap_4): likewise.
3069 (__sync_lock_test_and_set_4): Likewise.
3070 (__sync_lock_release_4): Likewise.
3071 (FETCH_AND_OP_2): Add long long variants.
3072 (OP_AND_FETCH_2): Likewise.
3073 (COMPARE_AND_SWAP_2 ): Likewise.
3074 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
3075 (SYNC_LOCK_RELEASE_2): Likewise.
3076 (__sync_bool_compare_and_swap_##WIDTH): Correct return.
3077
7d296953 30782015-09-22 Kirill Yukhin <kirill.yukhin@intel.com>
06caf59d
KY
3079
3080 * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
3081 FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
3082 FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
3083 (get_available_features): Habdle new features.
3084
131314e1
JB
30852015-09-21 James Bowman <james.bowman@ftdichip.com>
3086
3087 * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
3088 memory layout. Deal correctly with BSS region larger than 32K.
3089 Handle a watchdog reset like a power-on reset. Clean up unused
3090 code.
3091
04218b35
AD
30922015-09-18 Andrew Dixie <andrewd@gentrack.com>
3093 David Edelsohn <dje.gcc@gmail.com>
3094
3095 * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
3096 * config/rs6000/crtdbase.S: New file.
3097 * config/rs6000/t-aix-cxa: Build crtdbase.o.
3098
c8338173
MF
30992015-09-15 Max Filippov <jcmvbkbc@gmail.com>
3100
3101 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
3102 Add support for call0 ABI.
3103
7a84bf71
JDA
31042015-09-13 John David Anglin <danglin@gcc.gnu.org>
3105
3106 * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
3107
4efab402
SH
31082015-09-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
3109
3110 * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
3111 (__GTHREAD_HAS_COND): Likewise.
3112 (__gthread_t): Likewise.
3113 (__gthread_cond_t): Likewise.
3114 (__gthread_time_t): Likewise.
3115 (__GTHREAD_MUTEX_INIT): Likewise.
3116 (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
3117 (__GTHREAD_COND_INIT): Likewise.
3118 (__GTHREAD_COND_INIT_FUNCTION): Likewise.
3119 (__GTHREAD_TIME_INIT): Likewise.
3120 (__gthread_create): Likewise.
3121 (__gthread_join): Likewise.
3122 (__gthread_detach): Likewise.
3123 (__gthread_equal): Likewise.
3124 (__gthread_self): Likewise.
3125 (__gthread_yield): Likewise.
3126 (__gthread_cond_broadcast): Likewise.
3127 (__gthread_cond_signal): Likewise.
3128 (__gthread_cond_wait): Likewise.
3129 (__gthread_cond_timedwait): Likewise.
3130 (__gthread_cond_wait_recursive): Likewise.
3131 (__gthread_cond_destroy): Likewise.
3132 (rtems_gxx_once): Delete.
3133 (rtems_gxx_key_create): Likewise.
3134 (rtems_gxx_key_delete): Likewise.
3135 (rtems_gxx_getspecific): Likewise.
3136 (rtems_gxx_setspecific): Likewise.
3137 (rtems_gxx_mutex_init): Likewise.
3138 (rtems_gxx_mutex_destroy): Likewise.
3139 (rtems_gxx_mutex_lock): Likewise.
3140 (rtems_gxx_mutex_trylock): Likewise.
3141 (rtems_gxx_mutex_unlock): Likewise.
3142 (rtems_gxx_recursive_mutex_init): Likewise.
3143 (rtems_gxx_recursive_mutex_lock): Likewise.
3144 (rtems_gxx_recursive_mutex_trylock): Likewise.
3145 (rtems_gxx_recursive_mutex_unlock): Likewise.
3146 (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
3147 (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
3148 (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
3149 (__gthread_once): Likewise.
3150 (__gthread_key_create): Likewise.
3151 (__gthread_key_delete): Likewise.
3152 (__gthread_getspecific): Likewise.
3153 (__gthread_setspecific): Likewise.
3154 (__gthread_key_t): Use <pthread.h> type.
3155 (__gthread_once_t): Likewise
3156 (__gthread_mutex_t): Use <sys/lock.h> type.
3157 (__gthread_recursive_mutex_t): Likewise
3158 (__gthread_mutex_lock): Use <sys/lock.h> function.
3159 (__gthread_mutex_trylock): Likewise.
3160 (__gthread_mutex_timedlock): Likewise.
3161 (__gthread_mutex_unlock): Likewise.
3162 (__gthread_mutex_destroy): Likewise.
3163 (__gthread_recursive_mutex_lock): Likewise.
3164 (__gthread_recursive_mutex_trylock): Likewise.
3165 (__gthread_recursive_mutex_timedlock): Likewise.
3166 (__gthread_recursive_mutex_unlock): Likewise.
3167 (__gthread_recursive_mutex_destroy): Likewise.
3168
991995c4
MF
31692015-08-18 Max Filippov <jcmvbkbc@gmail.com>
3170
3171 * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
3172 context->sp instead of context->cfa.
3173
0e19db59
MF
31742015-08-18 Max Filippov <jcmvbkbc@gmail.com>
3175
3176 * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
3177 with unwind-dw2-fde-dip.
3178
b6ac5f62
MF
31792015-08-18 Max Filippov <jcmvbkbc@gmail.com>
3180
3181 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
3182 CALL12 followed by series of ENTRY to spill windowed registers.
3183 (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
3184 instead of making linux spill syscall.
3185
3e0f3349
YR
31862015-08-14 Yuri Rumyantsev <ysrumyan@gmail.com>
3187
3188 * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
3189 (get_intel_cpu): Likewise.
3190
51c728b1
L
31912015-08-12 H.J. Lu <hongjiu.lu@intel.com>
3192
3193 * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
3194 (get_intel_cpu): Add Knights Landing support.
3195
aff4eeac
UB
31962015-08-11 Uros Bizjak <ubizjak@gmail.com>
3197
3198 PR target/66954
3199 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
3200 (get_available_features): Handle FEATURE_PCLMUL.
3201
736e56da
L
32022015-08-10 H.J. Lu <hongjiu.lu@intel.com>
3203
3204 * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
3205 Broadwell.
3206
54d22142
UB
32072015-07-22 Uros Bizjak <ubizjak@gmail.com>
3208
3209 PR target/66954
3210 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
3211 (get_available_features): Handle FEATURE_AES.
3212
20ca17e4
CLT
32132015-07-22 Chung-Lin Tang <cltang@codesourcery.com>
3214
3215 * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
3216 (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
3217
ebe4a560
NS
32182015-07-17 Nathan Sidwell <nathan@codesourcery.com>
3219
3220 * offloadstuff.c: Constify host data.
3221
180744c0
JB
32222015-07-17 Jan Beulich <jbeulich@suse.com>
3223
3224 * config/t-softfp: Split up "else ifneq".
3225
a03c6ae3
SL
32262015-07-14 Sandra Loosemore <sandra@codesourcery.com>
3227 Cesar Philippidis <cesar@codesourcery.com>
3228 Chung-Lin Tang <cltang@codesourcery.com>
3229
3230 * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
3231 for __nios2_arch__ level.
3232
73358db5
JM
32332015-07-13 John Marino <gnugcc@marino.st>
3234
3235 * config/i386/t-dragonfly: New.
3236
f9a12f7b
JDA
32372015-07-01 John David Anglin <danglin@gcc.gnu.org>
3238
3239 * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
3240 better match light-weight syscall argument order.
3241 (__kernel_cmpxchg2): Likewise.
3242 Adjust callers.
3243
cb78b51c
L
32442015-06-30 H.J. Lu <hongjiu.lu@intel.com>
3245
3246 * config.host: Support i[34567]86-*-elfiamcu target.
3247 * config/t-softfp-sfdftf: New file.
3248 * config/i386/32/t-iamcu: Likewise.
3249 * configure: Regenerated.
3250
4fa0f9ea
JL
32512015-06-23 James Lemke <jwlemke@codesourcery.com>
3252
3253 libgcc/config/arm/
3254 * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
3255
428b3812
L
32562015-05-27 H.J. Lu <hongjiu.lu@intel.com>
3257
3258 * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
3259
7d296953 32602015-05-27 John Marino <gnugcc@marino.st>
89c54dd3
JM
3261
3262 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
3263 md_unwind_header
3264 * config/i386/freebsd-unwind.h: New.
3265
9b789cc1
UB
32662015-05-22 Uros Bizjak <ubizjak@gmail.com>
3267
3268 * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
3269 i386/t-crtfm to tmake_file.
3270 * config/i386/crtfastmath.c (set_fast_math_sse): New function.
3271 (set_fast_math): Use set_fast_math_sse for SSE targets.
3272 * config/i386/t-crtfm: Remove.
3273
3dafb220
AM
32742015-05-21 Alan Modra <amodra@gmail.com>
3275
3276 PR libgcc/66225
3277 * config/rs6000/morestack.S: Remove ".abiversion 1".
3278
0f0fd745
AM
32792015-05-20 Alan Modra <amodra@gmail.com>
3280
3281 * config/rs6000/morestack.S: New.
3282 * config/rs6000/t-stack-rs6000: New.
3283 * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
3284 to tmake_file.
3285 * generic-morestack.c: Don't build for powerpc 32-bit.
3286
515ae71b
EB
32872015-05-19 Eric Botcazou <ebotcazou@adacore.com>
3288
3289 * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
3290 Remove useless endif/ifneq ($(enable_shared),yes) pair.
3291
36805406
JL
32922015-05-16 James Bowman <james.bowman@ftdichip.com>
3293
3294 * config.host: FT32 target added.
3295 * config/ft32/*: New files for FT32 target.
3296
ff935d0c
MG
32972015-05-15 Martin Galvan <martin.galvan@tallertechnologies.com>
3298
385c7747
UB
3299 * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
3300 New macros.
3301 * config/arm/ieee754-df.S: Add CFI directives.
3302 * config/arm/ieee754-sf.S: Add CFI directives.
ff935d0c 3303
9b92a9f3
EB
33042015-05-13 Eric Botcazou <ebotcazou@adacore.com>
3305
3306 * configure.ac: Include config/sjlj.m4.
3307 Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
3308 * config.in: Regenerate.
3309 * configure: Likewise.
3310 * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
3311
98b5dc61
UB
33122015-05-12 Uros Bizjak <ubizjak@gmail.com>
3313
3314 * libgcov-util.c: Add space between string literal and macro name.
3315
5a0ff57c
SL
33162015-05-06 Sandra Loosemore <sandra@codesourcery.com>
3317 Chris Jones <chrisj@nvidia.com>
3318 Joshua Conner <jconner@nvidia.com>
3319
3320 * config.host (arm*-*-linux*): Add support for crtfastmath.o.
3321 (arm*-*-uclinux*): Likewise.
3322 (arm*-*-eabi* | arm*-*-rtems*): Likewise.
3323 * config/arm/crtfastmath.c: New file.
3324
d28ad5d4
BS
33252014-04-29 Bernd Schmidt <bernds@codesourcery.com>
3326
3327 * Makefile.in (real_host_noncanonical): New variable.
3328 (libsubdir): Use it.
3329 * configure.ac (real_host_noncanonical): Compute. Remove special
3330 case for intelmicemul.
3331 * configure: Regenerate.
3332
cc86234f
UB
33332015-04-28 Uros Bizjak <ubizjak@gmail.com>
3334
3335 * config/frv/elf-lib.h: New file.
3336 (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
3337 * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
3338 to tm_file.
3339
33402015-04-28 Uros Bizjak <ubizjak@gmail.com>
3341
3342 * config/frv/frvbengin.c: Do not include defaults.h
3343 * config/frv/frvend.c: Ditto.
3344
2f6bd6eb
YS
33452015-04-27 Yoshinori Sato <ysato@users.sourceforge.jp>
3346
3347 * config.host: Add h8300-*-linux
3348 * config/h8300/t-linux: New file.
3349 * config/h8300/lib1funs.s: Change symbol prefix.
3350 * config/h8300/sfp-machine.h: 64bit double support.
3351
15aa7b44
GR
33522015-04-22 Gregor Richards <gregor.richards@uwaterloo.ca>
3353 Szabolcs Nagy <szabolcs.nagy@arm.com>
3354
3355 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
3356 Linux if target provides dl_iterate_phdr.
3357
abd0cdc9
L
33582015-04-17 H.J. Lu <hongjiu.lu@intel.com>
3359
3360 PR target/65612
3361 * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
3362 * config/i386/cpuinfo.c (__cpu_model): Initialize.
3363 (__cpu_indicator_init@GCC_4.8.0): New.
3364 (__cpu_model@GCC_4.8.0): Likewise.
3365 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
3366 -DUSE_ELF_SYMVER.
3367
72ed1126
NC
33682015-04-16 Nick Clifton <nickc@redhat.com>
3369
3370 * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
3371 and __modhi3 functions.
3372 * config/rl78/divmodso.S: Add G14 and G13 versions of the
3373 __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
3374
d26b2237
CG
33752015-04-15 Chen Gang <gang.chen.5i5j@gmail.com>
3376
3377 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
3378 do-while loop as macro body to avoid warnings.
3379
cacf1f59
JJ
33802015-04-10 Jakub Jelinek <jakub@redhat.com>
3381 Iain Sandoe <iain@codesourcery.com>
3382
3383 PR target/65351
3384 * configure: Regenerate.
3385
e8a4ed3b
JJ
33862015-04-07 Jakub Jelinek <jakub@redhat.com>
3387 Iain Sandoe <iain@codesourcery.com>
3388
3389 PR target/65351
3390 * configure: Regenerate.
3391
0341335e
CLT
33922015-03-25 Chung-Lin Tang <cltang@codesourcery.com>
3393
3394 * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
3395
590e2636 33962015-03-03 Max Filippov <jcmvbkbc@gmail.com>
0341335e 3397
590e2636
MF
3398 Implement call0 ABI for xtensa
3399 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
3400 __xtensa_nonlocal_goto): Don't compile for call0 ABI.
3401 (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
3402 use ret in call0 ABI.
3403 * config/xtensa/t-windowed: New file.
3404 * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
3405 * libgcc/configure: Regenerated.
3406 * libgcc/configure.ac: Check if xtensa target is configured for
3407 windowed ABI and thus needs to use custom unwind code.
3408
7727f8f2
JW
34092015-02-12 Jonathan Wakely <jwakely@redhat.com>
3410
3411 PR libgcc/64885
3412 * gthr-single.h: Use __unused__ attribute instead of unused.
3413 * config/gthr-vxworks.h: Likewise.
3414 * config/i386/gthr-win32.h: Likewise.
3415
0e4a0def
KT
34162015-02-27 Kai Tietz <ktietz@redhat.com>
3417
3418 PR target/65038
3419 * config.in: Regenerated.
3420 * configure: Likewise.
3421 * configure.ac (AC_HEADER_STDC): Added explicit.
3422 (AC_CHECK_HEADERS): Check for default headers plus
3423 for ftw.h header.
3424 * libgcov-util.c (gcov_read_profile_dir): Disable use
3425 of ftw-function, if header is not found.
3426 (ftw_read_file): Likewise.
3427
b6530d0a
TS
34282015-02-23 Thomas Schwinge <thomas@codesourcery.com>
3429
3430 PR target/65181
3431 * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
3432 -Dinhibit_libc.
3433
53cfb467
SL
34342015-02-17 Sandra Loosemore <sandra@codesourcery.com>
3435
3436 * config/arm/bpabi.S (test_div_by_zero): Make label names
3437 consistent between thumb2 and arm mode cases. Separate the
3438 signed comparison on the high word of the numerator from the
3439 unsigned comparison on the low word.
3440 * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
3441 signed comparison.
3442
77d10a1b
JM
34432015-02-17 Joseph Myers <joseph@codesourcery.com>
3444
3445 * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
3446 and <string.h>.
3447 (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
3448
98174188
RE
34492015-02-10 Rainer Emrich <rainer@emrich-ebersheim.de>
3450
3451 PR gcov-profile/61889
471274de 3452 * libgcov-driver-system.c: undefine clashing macro for mkdir.
98174188 3453
771bef14
NC
34542015-02-02 Nick Clifton <nickc@redhat.com>
3455
3456 * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
3457 rounding up the fraction.
3458
40702893
JDA
34592015-01-31 John David Anglin <danglin@gcc.gnu.org>
3460
3461 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
3462 oldval and newval to const void *. Fix typo.
3463 (FETCH_AND_OP_2): Use __atomic_load_n to load value.
3464 (FETCH_AND_OP_WORD): Likewise.
3465 (OP_AND_FETCH_WORD): Likewise.
3466 (COMPARE_AND_SWAP_2): Likewise.
3467 (__sync_val_compare_and_swap_4): Likewise.
3468 (__sync_lock_test_and_set_4): Likewise.
3469 (SYNC_LOCK_RELEASE_2): Likewise.
3470 Remove support for long long atomic operations.
3471
f7f049fa
CT
34722015-01-27 Caroline Tice <cmtice@google.com>
3473
3474 Committing VTV Cywin/Ming patch for Patrick Wollgast
3475 * Makefile.in: Move rules to build vtv_*.o out of the check
3476 for CUSTOM_CRTSTUFF.
3477 * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
3478 i[34567]86-*-mingw*)
3479 (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
3480 enable_vtable_verify.
3481
8410904a
NC
34822015-01-27 Nick Clifton <nickc@redhat.com>
3483
3484 * config/rl78/cmpsi2.S: Use function start and end macros.
3485 (__gcc_bcmp): New function.
3486 * config/rl78/lshrsi3.S: Use function start and end macros.
3487 * config/rl78/mulsi3.S: Add support for G10.
3488 (__mulqi3): New function for G10.
3489 * config/rl78/signbit.S: Use function start and end macros.
3490 * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
3491 fpmath-sf.S.
3492 (LIB2FUNCS_EXCLUDE): Define.
3493 (LIB2FUNCS_ST): Define.
3494 * config/rl78/trampoline.S: Use function start and end macros.
3495 * config/rl78/vregs.h (START_FUNC): New macro.
3496 (START_ANOTHER_FUNC): New macro.
3497 (END_FUNC): New macro.
3498 (END_ANOTHER_FUNC): New macro.
3499 * config/rl78/bit-count.S: New file. Contains assembler
3500 implementations of the bit counting functions: ___clzhi2,
3501 __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
3502 __paritysi2, __popcounthi2 and __popcountsi2.
3503 * config/rl78/fpbit-sf.S: New file. Contains assembler
3504 implementationas of the math functions: __negsf2, __cmpsf2,
3505 __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
3506 __fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
3507 * config/rl78/fpmath-sf.S: New file. Contains assembler
3508 implementations of the math functions: __subsf3, __addsf3,
3509 __mulsf3 and __divsf3
3510
f962fbf1
RO
35112015-01-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3512
3513 * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
3514 Add i386/elf-lib.h to tm_file.
3515 * config/i386/elf-lib.h: Fix comment.
3516 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
3517 && __sun__ && __svr4__]: Remove workaround.
3518
939911c5
ASJ
35192015-01-25 Allan Sandfeld Jensen <sandfeld@kde.org>
3520
3521 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
3522 FEATURE_BMI2.
3523 (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
3524
c8f2dff2
L
35252015-01-24 H.J. Lu <hongjiu.lu@intel.com>
3526
3527 * config/i386/cpuinfo.c (processor_subtypes): Add
3528 INTEL_COREI7_BROADWELL.
3529 (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
3530 model numbers.
3531
7bbf9734
UB
35322015-01-23 Uros Bizjak <ubizjak@gmail.com>
3533
3534 * config/i386/elf-lib.h: New file.
3535 (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
3536 Wrap definition in #ifdef __i386__.
3537 * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
3538 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
3539 (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
3540 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
3541 to tm_file.
3542
324820f1
CG
35432015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
3544
3545 * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
3546 "(char *)" to avoid qualifier warning by 'xgcc' compiling.
3547
a9ce4e4a
CLT
35482015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
3549
3550 * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
3551 Update rt_sigframe format and address for current Nios II
3552 Linux conventions.
3553
82a19768
AT
35542015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
3555
3556 * config.host (arm*-*-freebsd*): Add new configuration for
3557 arm*-*-freebsd*.
3558 * config/arm/freebsd-atomic.c: New file.
3559 * config/arm/t-freebsd: Likewise.
3560 * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
3561 'PC-relative indirect' OS's.
3562
0969ec7d
EB
35632015-01-06 Eric Botcazou <ebotcazou@adacore.com>
3564
3565 * config.host: Add Visium support.
3566 * config/visium: New directory.
3567
5624e564
JJ
35682015-01-05 Jakub Jelinek <jakub@redhat.com>
3569
3570 Update copyright years.
3571
82f84ecb
MF
35722014-12-19 Matthew Fortune <matthew.fortune@imgtec.com>
3573
3574 * config.host: Support mipsisa32r6 and mipsisa64r6.
3575 * config/mips/mips16.S: Do not build for R6.
3576
69044fa9
OE
35772014-12-17 Oleg Endo <olegendo@gcc.gnu.org>
3578
3579 * config/sh/crt.h: New.
3580 * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
3581 symbols.
3582 * config/sh/crt1.S: Likewise.
3583
2405e0ea
UB
35842014-12-15 Uros Bizjak <ubizjak@gmail.com>
3585
3586 PR libgcc/63832
3587 * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
3588 func_ptr *dtor_list temporary variable to avoid "array subscript
3589 is above array bounds" warnings.
3590
7d296953 35912014-12-09 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
dd913323
MH
3592
3593 * Makefile.in (with_aix_soname): Define.
3594 * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
3595 * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
3596 * configure: Recreate.
3597
a66272f6
OH
35982014-12-05 Olivier Hainque <hainque@adacore.com>
3599
3600 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
3601 now provided by defaults.h.
3602
6342b2c5
OE
36032014-11-30 Oleg Endo <olegendo@gcc.gnu.org>
3604
7d0ee249 3605 PR target/55351
6342b2c5
OE
3606 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
3607 whether it's defined.
3608
c17eac85
IT
36092014-11-27 Ilya Tocar <ilya.tocar@intel.com>
3610
3611 * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
3612 * config/i386/cpuinfo.c (get_available_features): Detect it.
3613
1025cb6c
TW
36142014-11-27 Tony Wang <tony.wang@arm.com>
3615
3616 * config/arm/lib1funcs.S (FUNC_START): Add conditional section
3617 redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
3618 (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
3619
d19f2e38
SB
36202014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
3621
3622 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
3623
17f6e9a3
JDA
36242014-11-24 John David Anglin <danglin@gcc.gnu.org>
3625
3626 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
3627 instead.
3628
0cd7c672
GM
36292014-11-21 Guy Martin <gmsoft@tuxicoman.be>
3630 John David Anglin <danglin@gcc.gnu.org>
3631
3632 * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
3633 (FETCH_AND_OP_2): New. Use for subword and double word operations.
3634 (OP_AND_FETCH_2): Likewise.
3635 (COMPARE_AND_SWAP_2): Likewise.
3636 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
3637 (SYNC_LOCK_RELEASE_2): Likewise.
3638 (SUBWORD_SYNC_OP): Remove.
3639 (SUBWORD_VAL_CAS): Likewise.
3640 (SUBWORD_BOOL_CAS): Likewise.
3641 (FETCH_AND_OP_WORD): Update.
3642 Consistently use signed types.
cc86234f 3643
85c64bbe
BS
36442014-11-13 Bernd Schmidt <bernds@codesourcery.com>
3645 Thomas Schwinge <thomas@codesourcery.com>
3646 Ilya Verbin <ilya.verbin@intel.com>
3647 Andrey Turetskiy <andrey.turetskiy@intel.com>
3648
3649 * Makefile.in (crtoffloadbegin$(objext)): New rule.
3650 (crtoffloadend$(objext)): Likewise.
3651 * configure: Regenerate.
3652 * configure.ac (accel_dir_suffix): Compute new variable.
3653 (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
3654 if enable_offload_targets is not empty.
3655 * offloadstuff.c: New file.
3656
52a1ff8b
NC
36572014-11-13 Nick Clifton <nickc@redhat.com>
3658
3659 * config/rl78/divmodhi.S: Add support for the G10 architecture.
3660 Use START_FUNC and END_FUNC macros to enable linker garbage
3661 collection.
3662 * config/rl78/divmodqi.S: Likewise.
3663 * config/rl78/divmodsi.S: Likewise.
3664 * config/rl78/mulsi3.S: Likewise.
3665 * config/rl78/lib2div.c: Remove G10 functions.
3666 * config/rl78/lib2muls.c: Likewise.
3667 * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
3668 * config/rl78/vregs.h (START_FUNC): New macro.
3669 (END_FUNC): New macro.
3670
050af144
MF
36712014-11-12 Matthew Fortune <matthew.fortune@imgtec.com>
3672
3673 * config/mips/mips16.S: Set .module when supported. Update O32
3674 FP64 calling convention and use for FPXX when possible. Add FPXX
3675 calling convention fallback case.
3676
738f2522
BS
36772014-11-06 Bernd Schmidt <bernds@codesourcery.com>
3678
3679 * config.host: Handle nvptx-*-*.
3680 * shared-object.mk (as-flags-$o): Define.
3681 ($(base)$(objext), $(base)_s$(objext)): Use it instead of
3682 -xassembler-with-cpp.
3683 * static-object.mk: Identical changes.
3684 * config/nvptx/t-nvptx: New file.
3685 * config/nvptx/crt0.s: New file.
3686 * config/nvptx/free.asm: New file.
3687 * config/nvptx/malloc.asm: New file.
3688 * config/nvptx/realloc.c: New file.
3689
e610393c
JM
36902014-10-30 Joseph Myers <joseph@codesourcery.com>
3691
3692 * Makefile.in (libgcc.map.in): New target.
3693 (libgcc.map): Use libgcc.map.in.
3694 * config/t-softfp (softfp_compat): New variable to be set by
3695 users.
3696 [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
3697 variables.
3698 [$(softfp_compat) = y] (softfp_file_list): Use files in the build
3699 directory.
3700 [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
3701 that use compat symbols and disable all code unless [SHARED].
3702 * config/t-softfp-compat: New file.
3703 * find-symver.awk: New file.
3704 * configure.ac (--with-glibc-version): New configure option.
3705 (ppc_fp_compat): New variable set for powerpc*-*-linux*.
3706 * configure: Regenerate.
3707 * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
3708 soft-float and e500.
3709
bc1b3a88
JM
37102014-10-29 Joseph Myers <joseph@codesourcery.com>
3711
3712 * config/t-hardfp (hardfp_exclusions): Document new variable for
3713 user to define.
3714 (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
3715 * config/t-softfp (softfp_extras): Document new variable for user
3716 to define.
3717 (softfp_func_list): Add functions from $(softfp_extras).
3718 * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
3719 * config.host (powerpc*-*-linux*): For e500v1, use
3720 rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
3721 t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
3722 and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
3723
ef2810c1
JDA
37242014-10-26 John David Anglin <danglin@gcc.gnu.org>
3725
3726 * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
3727 (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
3728 memory read accesses are ok.
3729
d80c2bea
JM
37302014-10-25 Joseph Myers <joseph@codesourcery.com>
3731
3732 * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
3733 * configure: Regenerate.
3734 * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
3735 additions to tmake_file. Use t-hardfp-sfdf and t-hardfp instead
3736 of soft-fp for 32-bit classic hard float. Do not use
3737 t-softfp-excl for soft float.
3738
693b297b
JM
37392014-10-22 Joseph Myers <joseph@codesourcery.com>
3740
3741 * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
3742 configurations.
3743 * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
3744 Remove variables.
3745
18a3415e
GJL
37462014-10-22 Georg-Johann Lay <avr@gjlay.de>
3747
3748 * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
3749 introduced with 2014-10-21 trunk r216525.
3750
c1dd9790 37512014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
7d296953
JJ
3752 Vidya Praveen <vidya.praveen@atmel.com>
3753 Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
3754 Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
3755 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
c1dd9790
JR
3756
3757 * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
3758 order.
3759
3760 Updated library functions for AVRTINY arch.
3761 * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
3762 Replaced occurrences of r0/r1 with tmp/zero reg macros.
3763 Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
3764 or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
3765 wsubi/wadi macors.
3766 (__mulsi3_helper): Update stack, preserve callee saved regs and
3767 argument from stack. Restore callee save registers.
3768 (__mulpsi3): Likewise.
3769 (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
3770 __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
18a3415e 3771 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
c1dd9790
JR
3772 AVRTINY.
3773 (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
3774 (__do_copy_data): Added new definition for AVRTINY.
3775 (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
3776 (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
3777 __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
3778 * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
3779 tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
3780 macors.
18a3415e 3781 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
c1dd9790
JR
3782 AVRTINY.
3783
18a3415e 3784 Fix broken long multiplication on tiny arch.
c1dd9790 3785
5f606431
JM
37862014-10-09 Joseph Myers <joseph@codesourcery.com>
3787
3788 * soft-fp/double.h: Update from glibc.
3789 * soft-fp/eqdf2.c: Likewise.
3790 * soft-fp/eqsf2.c: Likewise.
3791 * soft-fp/eqtf2.c: Likewise.
3792 * soft-fp/extenddftf2.c: Likewise.
3793 * soft-fp/extended.h: Likewise.
3794 * soft-fp/extendsfdf2.c: Likewise.
3795 * soft-fp/extendsftf2.c: Likewise.
3796 * soft-fp/extendxftf2.c: Likewise.
3797 * soft-fp/gedf2.c: Likewise.
3798 * soft-fp/gesf2.c: Likewise.
3799 * soft-fp/getf2.c: Likewise.
3800 * soft-fp/ledf2.c: Likewise.
3801 * soft-fp/lesf2.c: Likewise.
3802 * soft-fp/letf2.c: Likewise.
3803 * soft-fp/op-1.h: Likewise.
3804 * soft-fp/op-2.h: Likewise.
3805 * soft-fp/op-4.h: Likewise.
3806 * soft-fp/op-8.h: Likewise.
3807 * soft-fp/op-common.h: Likewise.
3808 * soft-fp/quad.h: Likewise.
3809 * soft-fp/single.h: Likewise.
3810 * soft-fp/soft-fp.h: Likewise.
3811 * soft-fp/unorddf2.c: Likewise.
3812 * soft-fp/unordsf2.c: Likewise.
3813 * soft-fp/unordtf2.c: Likewise.
3814 * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
3815 * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
3816 * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
3817 * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
3818 * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
3819 * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
3820 * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
3821 * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
3822 * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
3823 * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
3824
9b84e7a8
RX
38252014-10-08 Rong Xu <xur@google.com>
3826
3827 * libgcov-util.c (read_gcda_file): Fix format.
3828 (find_match_gcov_info): Ditto.
3829 (calculate_2_entries): New.
3830 (compute_one_gcov): Ditto.
3831 (gcov_info_count_all_cold): Ditto.
3832 (gcov_info_count_all_zero): Ditto.
3833 (extract_file_basename): Ditto.
3834 (get_file_basename): Ditto.
3835 (set_flag): Ditto.
3836 (matched_gcov_info): Ditto.
3837 (calculate_overlap): Ditto.
3838 (gcov_profile_overlap): Ditto.
3839 * libgcov-driver.c (compute_summary): Make
3840 it avavilable for external calls.
3841
fe1090c1
RX
38422014-10-06 Rong Xu <xur@google.com>
3843
3844 * Makefile.in: Ditto.
3845 * libgcov-driver.c (gcov_sort_n_vals): New utility function.
3846 (gcov_sort_icall_topn_counter): Ditto.
3847 (gcov_sort_topn_counter_arrays): Ditto.
3848 (dump_one_gcov): Sort indirect_call topn counters.
3849 * libgcov-merge.c (__gcov_merge_icall_topn): New merge
3850 function.
3851 * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
3852 utility function.
3853 (__gcov_indirect_call_topn_profiler): New profiler function.
3854 * libgcov-util.c (__gcov_icall_topn_counter_op): New.
3855 * libgcov.h: New decls.
3856
3daa7bbf
TS
38572014-10-04 Trevor Saunders <tsaunders@mozilla.com>
3858
3859 * config.host: Remove support for score-*.
3860
9a79452d
JM
38612014-09-22 Joseph Myers <joseph@codesourcery.com>
3862
3863 * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
3864 (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
3865 (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
3866 __LIBGCC_XF_MANT_DIG__.
3867 (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
3868 (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
3869 __LIBGCC_TF_MANT_DIG__.
3870 * libgcc2.c (NOTRUNC): Define in terms of
3871 __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
3872 * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
3873
1a849e50
JM
38742014-09-22 Joseph Myers <joseph@codesourcery.com>
3875
3876 PR target/63312
3877 * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
3878 New macros.
3879
598a1586
HPN
38802014-09-22 Hans-Peter Nilsson <hp@axis.com>
3881
3882 * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
3883 override USE_PT_GNU_EH_FRAME.
3884 [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
3885 check USE_EH_FRAME_REGISTRY_ALWAYS against
3886 __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
3887 * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
3888 variable for substituted force_explicit_eh_registry.
3889 (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
3890 * configure.ac (explicit-exception-frame-registration):
3891 New AC_ARG_ENABLE.
3892 * configure: Regenerate.
3893
3a8fe7c6
OH
38942014-09-19 Olivier Hainque <hainque@adacore.com>
3895
3896 * config.host (powerpc-wrs-vxworksmils): New configuration,
3897 same as vxworksae.
3898
dd69f047
JM
38992014-09-18 Joseph Myers <joseph@codesourcery.com>
3900
3901 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
3902
e770bfd9
JM
39032014-09-18 Joseph Myers <joseph@codesourcery.com>
3904
3905 * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
3906 bits not set bits as indicating trapping exceptions.
3907
cadb2b96
NS
39082014-09-17 Nathan sidwell <nathan@acm.org>
3909
3910 * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
3911 (LIBGCOV_DRIVER): ... here.
3912 * libgcov-driver.c (gcov_master): New.
3913 (gcov_exit): Remove from master chain.
3914 (__gcov_init): Add to master chain if version compatible. Don't
3915 clear the version.
3916 * libgcov_interface (__gcov_flust): Call gcov_dump_int.
3917 (gcov_reset_int): Clear master chain, if compatible.
3918 (gcov_dump_int): New internal interface. Dump master chain, if
3919 compatible.
3920 (gcov_dump): Alias for gcov_dump_int.
3921 * libgcov.h (struct gcov_root): Add next and prev fields.
3922 (struct gcov_master): New struct.
3923 (__gcov_master): New.
3924 (gcov_dump_int): Declare.
3925
580d22a3
OH
39262014-09-17 Olivier Hainque <hainque@adacore.com>
3927
3928 * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
3929 and crtbegin.o + crtend.o to extra_parts.
3930
8cc4b7a2
JM
39312014-09-12 Joseph Myers <joseph@codesourcery.com>
3932
3933 * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
3934 __LIBGCC_HAS_SF_MODE__.
3935 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
3936 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
3937 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
3938 * config/libbid/bid_gcc_intrinsics.h
3939 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
3940 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
3941 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
3942 * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
3943 (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
3944 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
3945
ea3f2b24
GJL
39462014-09-11 Georg-Johann Lay <avr@gjlay.de>
3947
3948 PR target/63223
3949 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
3950 and R24 as needed. Make work for all devices and .text locations.
3951 (__do_global_ctors, __do_global_dtors): Use word addresses.
3952 (__tablejump__, __tablejump_elpm__): Remove functions.
3953 * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
3954 Add _tablejump2.
3955 (XICALL, XIJMP): New macros.
3956
b677236a
MS
39572014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
3958 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
3959
3960 * config.host (aarch64*): Include crtfastmath.o and
3961 t-crtfm.
3962 * config/aarch64/crtfastmath.c: New file.
3963
157e859f
TS
39642014-09-08 Trevor Saunders <tsaunders@mozilla.com>
3965
3966 * config.host: Remove picochip support.
3967 * config/picochip/adddi3.S: Remove.
3968 * config/picochip/ashlsi3.S: Remove.
3969 * config/picochip/ashlsi3.c: Remove.
3970 * config/picochip/ashrsi3.S: Remove.
3971 * config/picochip/ashrsi3.c: Remove.
3972 * config/picochip/clzsi2.S: Remove.
3973 * config/picochip/cmpsi2.S: Remove.
3974 * config/picochip/divmod15.S: Remove.
3975 * config/picochip/divmodhi4.S: Remove.
3976 * config/picochip/divmodsi4.S: Remove.
3977 * config/picochip/lib1funcs.S: Remove.
3978 * config/picochip/longjmp.S: Remove.
3979 * config/picochip/lshrsi3.S: Remove.
3980 * config/picochip/lshrsi3.c: Remove.
3981 * config/picochip/parityhi2.S: Remove.
3982 * config/picochip/popcounthi2.S: Remove.
3983 * config/picochip/setjmp.S: Remove.
3984 * config/picochip/subdi3.S: Remove.
3985 * config/picochip/t-picochip: Remove.
3986 * config/picochip/ucmpsi2.S: Remove.
3987 * config/picochip/udivmodhi4.S: Remove.
3988 * config/picochip/udivmodsi4.S: Remove.
3989
66bb34c0
JM
39902014-09-08 Joseph Myers <joseph@codesourcery.com>
3991
3992 * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
3993 (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
3994 (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
3995 (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
3996 * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
3997 error if not defined and LIBGCC2_HAS_SF_MODE is defined.
3998 (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
3999 defined and LIBGCC2_HAS_DF_MODE is defined.
4000 (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
4001 defined and LIBGCC2_HAS_XF_MODE is defined.
4002 (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
4003 defined and LIBGCC2_HAS_TF_MODE is defined.
4004
9686a2e6
JM
40052014-09-08 Joseph Myers <joseph@codesourcery.com>
4006
4007 * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
4008 and ROUND_TOWARDS_ZERO conditionals.
4009
71c3e2ef
NS
40102014-09-07 Nathan sidwell <nathan@acm.org>
4011
4012 * libgcov-interface.c (STRONG_ALIAS): Rename to ...
4013 (ALIAS_weak): ... here. Use forwarding function. Adjust uses.
4014
53d68b9f
JM
40152014-09-05 Joseph Myers <joseph@codesourcery.com>
4016
4017 * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
4018 * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
4019 uses to __LIBGCC_STACK_POINTER_REGNUM__.
4020 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
4021 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4022 * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
4023 Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4024 * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
4025 uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
4026 (DWARF_FRAME_REGISTERS): Change all uses to
4027 __LIBGCC_DWARF_FRAME_REGISTERS__.
4028 (EH_RETURN_STACKADJ_RTX): Change all uses to
4029 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
4030 * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
4031 __LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
4032 * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
4033 use to __LIBGCC_EH_FRAME_SECTION_NAME__.
4034 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
4035 * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
4036 to __LIBGCC_EH_FRAME_SECTION_NAME__.
4037 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
4038 * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
4039 __LIBGCC_STACK_POINTER_REGNUM__.
4040 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
4041 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4042 * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
4043 to __LIBGCC_STACK_POINTER_REGNUM__.
4044 * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
4045 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4046 * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
4047 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4048 * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
4049 Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4050 (STACK_POINTER_REGNUM): Change all uses to
4051 __LIBGCC_STACK_POINTER_REGNUM__.
4052 * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
4053 use to __LIBGCC_STACK_POINTER_REGNUM__.
4054 * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
4055 uses to __LIBGCC_STACK_POINTER_REGNUM__.
4056 * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
4057 to __LIBGCC_DWARF_FRAME_REGISTERS__.
4058 * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
4059 to __LIBGCC_DWARF_FRAME_REGISTERS__.
4060 * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
4061 to __LIBGCC_STACK_POINTER_REGNUM__.
4062 * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
4063 Remove conditional definition.
4064 * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
4065 __LIBGCC_TEXT_SECTION_ASM_OP__.
4066 (EH_FRAME_SECTION_NAME): Change all uses to
4067 __LIBGCC_EH_FRAME_SECTION_NAME__.
4068 (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
4069 __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
4070 (CTORS_SECTION_ASM_OP): Change all uses to
4071 __LIBGCC_CTORS_SECTION_ASM_OP__.
4072 (DTORS_SECTION_ASM_OP): Change all uses to
4073 __LIBGCC_DTORS_SECTION_ASM_OP__.
4074 (JCR_SECTION_NAME): Change all uses to
4075 __LIBGCC_JCR_SECTION_NAME__.
4076 (INIT_SECTION_ASM_OP): Change all uses to
4077 __LIBGCC_INIT_SECTION_ASM_OP__.
4078 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
4079 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
4080 * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
4081 __LIBGCC_STACK_GROWS_DOWNWARD__.
4082 * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
4083 __LIBGCC_INIT_SECTION_ASM_OP__.
4084 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
4085 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
4086 (EH_FRAME_SECTION_NAME): Change all uses to
4087 __LIBGCC_EH_FRAME_SECTION_NAME__.
4088 * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
4089 definitions. Change all uses to
4090 __LIBGCC_VTABLE_USES_DESCRIPTORS__.
4091 * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
4092 __LIBGCC_STACK_GROWS_DOWNWARD__.
4093 (DWARF_FRAME_REGISTERS): Change all uses to
4094 __LIBGCC_DWARF_FRAME_REGISTERS__.
4095 (EH_RETURN_STACKADJ_RTX): Change all uses to
4096 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
4097 * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
4098 definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
4099 * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
4100 __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
4101 (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
4102
b20ee094
NS
41032014-09-02 Nathan sidwell <nathan@acm.org>
4104
4105 * libgcov-interface.c (STRONG_ALIAS): New.
4106 (__gcov_flush): Call __gcov_reset_int.
4107 (__gcov_reset): Strong alias for ...
4108 (__gcov_reset_ing): ... this renamed hidden version.
4109 * libgcov.h (__gcov_reset_int): New declaration.
4110
1ac83976
YS
41112014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
4112
25efdb9f
YS
4113 * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
4114 call from here...
4115 * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
4116 (__dso_handle): Define on Cygwin.
4117 * config/i386/t-cygming (crtbeginS.o): New rule.
4118 * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
4119
1ac83976
YS
4120 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
4121 declaration syntax.
4122
c6f9ea3b
SE
41232014-08-13 Steve Ellcey <sellcey@mips.com>
4124
4125 * crtstuff.c: Undef caddr_t.
4126
5b1ea7c5
SE
41272014-08-12 Steve Ellcey <sellcey@mips.com>
4128
4129 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
4130
4303c581
NS
41312014-08-07 Nathan Sidwell <nathan@acm.org>
4132
4133 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
4134 (LIBGCOV_DRIVER): ... to here.
4135 * libgcov.h (gcov_do_dump): New #define.
4136 (struct gcov_root): New.
4137 (__gcov_root): New declaration.
4138 (__gcov_dump_one): Declare.
4139 * libgcov-driver.c (gcov_list, gcov_dump_complete,
4140 run_accounted): Delete.
4141 (gcov_compute_histogram): Add LIST argument, adjust.
4142 (compute_summary): Adjust gcov_compute_histogram call.
4143 (gcov_do_dump): Not hidden, static in libgcov.
4144 (gcov_clear): Move to interface.c.
4145 (__gcov_dump_one): New, broken out of ...
4146 (gcov_exit): ... here. Make static.
4147 (__gcov_root): New.
4148 (__gcov_init): Adjust.
4149 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
4150 declarations.
4151 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
4152 (gcov_clear): Moved from driver.c. Add LIST argument.
4153 (__gcov_reset): Adjust for changed interfaces.
4154 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
4155
23742a9e
RAR
41562014-08-04 Rohit <rohitarulraj@freescale.com>
4157
4158 PR target/60102
4159 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
d406ae47 4160 based on change in SPE high register numbers and 3 HTM registers.
23742a9e 4161
b98a872b
NS
41622014-08-01 Nathan Sidwell <nathan@acm.org>
4163
4164 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
4165 LIBGCOV_INTERFACE): Reformat.
4166 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
4167 IN_GCOV_TOOL.
4168 * libgcov-interface.c: Reformat some comments.
4169 (__gcov_flush_mx): Add declaration. Tidy up definition.
4170
6adaaa1d
AM
41712014-07-31 Alan Modra <amodra@gmail.com>
4172 Peter Bergner <bergner@vnet.ibm.com>
4173
4174 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
4175 (pack_ldouble): New function.
4176 (__gcc_qadd): Use it.
4177 (__gcc_qmul): Likewise.
4178 (__gcc_qdiv): Likewise.
4179 (__gcc_qneg): Likewise.
4180 (__gcc_stoq): Likewise.
4181 (__gcc_dtoq): Likewise.
4182
87cb0c0c
UW
41832014-07-30 J. D. Johnston <jjohnst@us.ibm.com>
4184
4185 * config/s390/tpf-unwind.h: Include <stdbool.h>.
4186 (__tpf_eh_return): Add original return address as second parameter.
4187 Handle cases where unwinder routines were called directly, instead
4188 of from within the C++ library.
4189
19926161
NS
41902014-07-29 Nathan Sidwell <nathan@acm.org>
4191
4192 * libgcov.h: Move renaming of entry points to lib gcov specific
4193 portion.
4194 (gcov_do_dump): New rename.
4195 (gcov_rewrite): Remove inline, make HIDDEN.
4196 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
4197 (gcov_exit_compute_summary): Rename to ...
4198 (compute_summary): ... here. Add LIST argument.
4199 (gcov_exit_merge_gcda): Rename to ...
4200 (merge_one_data): ... here.
4201 (gcov_exit_write_gcda): Rename to ...
4202 (write_one_data): ... here.
4203 (gcov_exit_merge_summary): Rename to ...
4204 (merge_summary): Add RUN_COUNTED argument.
4205 (gcov_exit_dump_gcov): Rename to ...
4206 (dump_one_gcov): Add RUN_COUNTED argument.
4207 (gcov_do_dump): New function, broken out of ...
4208 (gcov_exit): ... here. Call it.
4209
17522262
AG
42102014-07-27 Anthony Green <green@moxielogic.com>
4211
4212 * config.host: Add moxiebox configuration suppport.
4213
6dc33097
NS
42142014-07-27 Nathan Sidwell <nathan@acm.org>
4215
4216 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
4217 (struct gcov_filename): ... here. Include buffer and max length
4218 fields.
4219 (gcov_max_filename): Remove.
4220 (gi_filename): Remove.
4221 (gcov_exit_compute_summary): Compute max filename here.
4222 (gcov_exit_merge_gcda): Add filename parm, adjust.
4223 (gcov_exit_merge_summary): Likewise.
4224 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
4225 (gcov_exit): Likewise.
4226 (__gcov_init): Don't calculate max length here.
4227 * libgcov_util.c (max_filename_len): Remove.
4228 (read_gcda_file): Don't calculate max length here.
4229 (gcov_read_profile_dir): Don't propagate here.
4230 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
4231 struct gcov_filename changes.
4232 (gcov_exit_open_gcda_file): Likewise.
4233
770f687d
NS
42342014-07-25 Nathan Sidwell <nathan@acm.org>
4235
4236 * libgcov-driver.c (set_gcov_dump_complete,
4237 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
4238 functions polluting user's namespace.
4239 (gcov_exit): Set variable directly.
4240 (gcov_clear): Reset variable directly.
4241 * libgcov-interface.c (get_gcov_dymp_complete,
4242 reset_gov_dump_complete): Remove declarations.
4243 (__gcov_reset, __gcov_dump): Don't call them.
4244
fabf71ba
DD
42452014-07-24 DJ Delorie <dj@redhat.com>
4246
4247 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
770f687d
NS
4248 (__gcc_deregister_frame): Move logic to detect deregister function
4249 to ...
4250 (__gcc_register_frame): here, so it's consistent with the register
4251 logic.
fabf71ba 4252
d10ee722
NS
42532014-07-23 Nathan Sidwell <nathan@acm.org>
4254
4255 * libgcov-driver.c (set_gcov_list): Remove.
4256 (gcov_list): Make non-static in GCOV_TOOL.
4257 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
4258
a4137090
JDA
42592014-07-17 John David Anglin <danglin@gcc.gnu.org>
4260
4261 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
4262 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
4263 Don't use SYNC_LOCK_RELEASE for int type.
4264
72602c6c
RB
42652014-07-14 Richard Biener <rguenther@suse.de>
4266
4267 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
4268
d5313205
RX
42692014-07-11 Rong Xu <xur@google.com>
4270
4271 * libgcov-util.c (gcov_max_filename): Fix declartion.
4272
c77556a5
RX
42732014-07-10 Rong Xu <xur@google.com>
4274
4275 Add gcov-tool: an offline gcda profile processing tool
4276 Support.
4277 * libgcov-driver.c (gcov_max_filename): Make available
4278 to gcov-tool.
4279 * libgcov-merge.c (__gcov_merge_add): Replace
4280 gcov_read_counter() with a Macro.
4281 (__gcov_merge_ior): Ditto.
4282 (__gcov_merge_time_profile): Ditto.
4283 (__gcov_merge_single): Ditto.
4284 (__gcov_merge_delta): Ditto.
4285 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
4286 in the utility functions.
4287 (set_fn_ctrs): Utility function for reading gcda files to in-memory
4288 gcov_list object link lists.
4289 (tag_function): Ditto.
4290 (tag_blocks): Ditto.
4291 (tag_arcs): Ditto.
4292 (tag_lines): Ditto.
4293 (tag_counters): Ditto.
4294 (tag_summary): Ditto.
4295 (read_gcda_finalize): Ditto.
4296 (read_gcda_file): Ditto.
4297 (ftw_read_file): Ditto.
4298 (read_profile_dir_init): Ditto.
4299 (gcov_read_profile_dir): Ditto.
4300 (gcov_read_counter_mem): Ditto.
4301 (gcov_get_merge_weight): Ditto.
4302 (merge_wrapper): A wrapper function that calls merging handler.
4303 (gcov_merge): Merge two gcov_info objects with weights.
4304 (find_match_gcov_info): Find the matched gcov_info in the list.
4305 (gcov_profile_merge): Merge two gcov_info object lists.
4306 (__gcov_add_counter_op): Process edge profile counter values.
4307 (__gcov_ior_counter_op): Process IOR profile counter values.
4308 (__gcov_delta_counter_op): Process delta profile counter values.
4309 (__gcov_single_counter_op): Process single profile counter values.
4310 (fp_scale): Callback function for float-point scaling.
cc86234f 4311 (int_scale): Callback function for integer fraction scaling.
c77556a5
RX
4312 (gcov_profile_scale): Scaling profile counters.
4313 (gcov_profile_normalize): Normalize profile counters.
4314 * libgcov.h: Add headers and functions for gcov-tool use.
4315 (gcov_get_counter): New.
4316 (gcov_get_counter_target): Ditto.
4317 (struct gcov_info): Make the functions field mutable in gcov-tool
4318 compilation.
4319
5c7dac8a
KT
43202014-06-23 Kai Tietz <ktietz@redhat.com>
4321
4322 PR libgcc/61585
4323 * unwind-seh.c (_Unwind_GetGR): Check for proper
4324 index range.
4325 (_Unwind_SetGR): Likewise.
4326
161c9312
NC
43272014-05-22 Nick Clifton <nickc@redhat.com>
4328
4329 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
4330 -mhwmult=none.
4331
e3f0315f
TJ
43322014-05-22 Teresa Johnson <tejohnson@google.com>
4333
4334 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
4335 include.
4336
dbed5a9b
JM
43372014-05-20 John Marino <gnugcc@marino.st>
4338
4339 * config.host (*-*-dragonfly*): New target.
4340 * crtstuff.c: Make dl_iterate_support generic on *bsd.
4341 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
4342 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
4343 * config/i386/dragonfly-unwind.h: New.
4344
1ec380e5
MR
43452014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
4346
4347 PR libgcc/60166
4348 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
4349 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
4350
54fde020
BE
43512014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
4352
4353 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
4354 implementation.
4355
999db125
GJL
43562014-05-12 Georg-Johann Lay <avr@gjlay.de>
4357
4358 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
4359
cceaf54a
RO
43602014-05-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4361
4362 PR libgcc/61097
4363 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
4364 if --enable-shared.
4365
e3fe9b5b
BE
43662014-04-30 Bernd Edlinger <bernd.edlinger@hotmail.de>
4367
4368 Work around for current cygwin32 build problems.
4369 * config/i386/cygming-crtbegin.c (__register_frame_info,
4370 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
4371 functions only for 64-bit systems.
4372
54cf37e9
RO
43732014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4374
4375 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
4376 (sigill_caught, sigill_hdlr): Remove.
4377
d9f069ab
RO
43782014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4379
4380 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
4381 check.
4382 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
4383 Solaris 9 single-threaded support.
4384 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
4385 Solaris 9 single-threaded support. Add call_user_handler code
4386 sequences.
4387 (sparc_is_sighandler): Likewise.
4388
59976ef8
AK
43892014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4390
4391 * config.host: Append t-floattodi to tmake_file depending on
4392 host_address.
4393
d02bbcf3
JS
43942014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
4395
31466bc0 4396 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
d02bbcf3 4397
c2e7e597
UB
43982014-03-10 Uros Bizjak <ubizjak@gmail.com>
4399
4400 PR libgcc/60472
4401 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
2405e0ea 4402 variable to avoid "array subscript is above array bounds" warnings.
c2e7e597
UB
4403 Use __builtin_expect when checking *jcr_list for NULL.
4404
227a7dc8
RO
44052014-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4406
4407 PR libgcc/59339
4408 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
4409 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
4410 vtv_*.o to extra_parts if enable_vtable_verify.
4411
df2b279c
NC
44122014-03-06 Nick Clifton <nickc@redhat.com>
4413
4414 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
4415 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
4416
dc11d79b
JY
44172014-02-28 Joey Ye <joey.ye@arm.com>
4418
4419 PR libgcc/60166
4420 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
4421 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
4422 Set to zero.
4423
341c653c
WL
44242014-02-24 Walter Lee <walt@tilera.com>
4425
4426 * config.host: Support "tilegx*" and "tilepro*" triplets.
4427 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
4428 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
4429
95ce7613
CLT
44302014-02-20 Sandra Loosemore <sandra@codesourcery.com>
4431 Chung-Lin Tang <cltang@codesourcery.com>
4432
4433 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
4434 * config/nios2/crti.S: Remove .file directive.
4435 * config/nios2/crtn.S: Likewise.
4436
0bb4fc05
KT
44372014-02-18 Kai Tietz <ktietz@redhat.com>
4438 Jonathan Schleifer <js@webkeks.org>
4439
4440 PR objc/56870
4441 * unwind-seh.c (_GCC_specific_handler): Pass proper
4442 value to unwind-handler.
4443
9acf28f1
JM
44442014-02-12 Joseph Myers <joseph@codesourcery.com>
4445
4446 * soft-fp/adddf3.c: Update from glibc.
4447 * soft-fp/addsf3.c: Likewise.
4448 * soft-fp/addtf3.c: Likewise.
4449 * soft-fp/divdf3.c: Likewise.
4450 * soft-fp/divsf3.c: Likewise.
4451 * soft-fp/divtf3.c: Likewise.
4452 * soft-fp/double.h: Likewise.
4453 * soft-fp/eqdf2.c: Likewise.
4454 * soft-fp/eqsf2.c: Likewise.
4455 * soft-fp/eqtf2.c: Likewise.
4456 * soft-fp/extenddftf2.c: Likewise.
4457 * soft-fp/extended.h: Likewise.
4458 * soft-fp/extendsfdf2.c: Likewise.
4459 * soft-fp/extendsftf2.c: Likewise.
4460 * soft-fp/extendxftf2.c: Likewise.
4461 * soft-fp/fixdfdi.c: Likewise.
4462 * soft-fp/fixdfsi.c: Likewise.
4463 * soft-fp/fixdfti.c: Likewise.
4464 * soft-fp/fixsfdi.c: Likewise.
4465 * soft-fp/fixsfsi.c: Likewise.
4466 * soft-fp/fixsfti.c: Likewise.
4467 * soft-fp/fixtfdi.c: Likewise.
4468 * soft-fp/fixtfsi.c: Likewise.
4469 * soft-fp/fixtfti.c: Likewise.
4470 * soft-fp/fixunsdfdi.c: Likewise.
4471 * soft-fp/fixunsdfsi.c: Likewise.
4472 * soft-fp/fixunsdfti.c: Likewise.
4473 * soft-fp/fixunssfdi.c: Likewise.
4474 * soft-fp/fixunssfsi.c: Likewise.
4475 * soft-fp/fixunssfti.c: Likewise.
4476 * soft-fp/fixunstfdi.c: Likewise.
4477 * soft-fp/fixunstfsi.c: Likewise.
4478 * soft-fp/fixunstfti.c: Likewise.
4479 * soft-fp/floatdidf.c: Likewise.
4480 * soft-fp/floatdisf.c: Likewise.
4481 * soft-fp/floatditf.c: Likewise.
4482 * soft-fp/floatsidf.c: Likewise.
4483 * soft-fp/floatsisf.c: Likewise.
4484 * soft-fp/floatsitf.c: Likewise.
4485 * soft-fp/floattidf.c: Likewise.
4486 * soft-fp/floattisf.c: Likewise.
4487 * soft-fp/floattitf.c: Likewise.
4488 * soft-fp/floatundidf.c: Likewise.
4489 * soft-fp/floatundisf.c: Likewise.
4490 * soft-fp/floatunditf.c: Likewise.
4491 * soft-fp/floatunsidf.c: Likewise.
4492 * soft-fp/floatunsisf.c: Likewise.
4493 * soft-fp/floatunsitf.c: Likewise.
4494 * soft-fp/floatuntidf.c: Likewise.
4495 * soft-fp/floatuntisf.c: Likewise.
4496 * soft-fp/floatuntitf.c: Likewise.
4497 * soft-fp/gedf2.c: Likewise.
4498 * soft-fp/gesf2.c: Likewise.
4499 * soft-fp/getf2.c: Likewise.
4500 * soft-fp/ledf2.c: Likewise.
4501 * soft-fp/lesf2.c: Likewise.
4502 * soft-fp/letf2.c: Likewise.
4503 * soft-fp/muldf3.c: Likewise.
4504 * soft-fp/mulsf3.c: Likewise.
4505 * soft-fp/multf3.c: Likewise.
4506 * soft-fp/negdf2.c: Likewise.
4507 * soft-fp/negsf2.c: Likewise.
4508 * soft-fp/negtf2.c: Likewise.
4509 * soft-fp/op-1.h: Likewise.
4510 * soft-fp/op-2.h: Likewise.
4511 * soft-fp/op-4.h: Likewise.
4512 * soft-fp/op-8.h: Likewise.
4513 * soft-fp/op-common.h: Likewise.
4514 * soft-fp/quad.h: Likewise.
4515 * soft-fp/single.h: Likewise.
4516 * soft-fp/soft-fp.h: Likewise.
4517 * soft-fp/subdf3.c: Likewise.
4518 * soft-fp/subsf3.c: Likewise.
4519 * soft-fp/subtf3.c: Likewise.
4520 * soft-fp/truncdfsf2.c: Likewise.
4521 * soft-fp/trunctfdf2.c: Likewise.
4522 * soft-fp/trunctfsf2.c: Likewise.
4523 * soft-fp/trunctfxf2.c: Likewise.
4524 * soft-fp/unorddf2.c: Likewise.
4525 * soft-fp/unordsf2.c: Likewise.
4526 * soft-fp/unordtf2.c: Likewise.
4527 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
4528 macro.
4529 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4530 Likewise.
4531 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4532 Likewise.
4533 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4534 Likewise.
4535 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4536 Likewise.
4537 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4538 Likewise.
4539 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4540 Likewise.
4541 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4542 Likewise.
4543 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4544 Likewise.
4545 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4546 Likewise.
4547 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4548 Likewise.
4549 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4550 Likewise.
4551 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4552 Likewise.
4553 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
4554 Likewise.
4555 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
4556 Likewise.
4557 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4558 Likewise.
4559
ce245ec6
AK
45602014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4561
4562 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
4563 cannot be represented.
4564 * config/s390/32/_fixsfdi.c: Likewise.
4565 * config/s390/32/_fixtfdi.c: Likewise.
4566 * config/s390/32/_fixunsdfdi.c: Likewise.
4567 * config/s390/32/_fixunssfdi.c: Likewise.
4568 * config/s390/32/_fixunstfdi.c: Likewise.
4569
1c51d688
RS
45702014-02-07 Richard Sandiford <rdsandiford@googlemail.com>
4571
4572 * configure.ac (libgcc_cv_mips_hard_float): New.
4573 * configure: Regenerate.
4574 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
4575 t-softfp-sfdf for hard-float targets.
4576 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
4577 (softfp_float_modes, softfp_int_modes, softfp_extensions)
4578 (softfp_truncations, softfp_exclude_libgcc2): New.
4579 * config/t-hardfp: New file.
4580 * config/t-hardfp-sfdf: Likewise.
4581 * config/hardfp.c: Likewise.
4582
bbf391db
AK
45832014-02-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4584
4585 * config.host: Include t-floattodi also for s390x.
4586 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
4587 * config/s390/32/_fixsfdi.c: Likewise.
4588 * config/s390/32/_fixtfdi.c: Likewise.
4589 * config/s390/32/_fixunsdfdi.c: Likewise.
4590 * config/s390/32/_fixunssfdi.c: Likewise.
4591 * config/s390/32/_fixunstfdi.c: Likewise.
4592
91da0481
RO
45932014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4594
4595 PR target/59788
4596 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
4597 (install-libgcc-unwind-map-forbuild): New target.
4598 (all): Depend on install-libgcc-unwind-map-forbuild.
4599 (install-libgcc-unwind-map): New target.
4600 (install): Depend on install-libgcc-unwind-map.
4601
02b67731
SL
46022014-02-02 Sandra Loosemore <sandra@codesourcery.com>
4603
4604 * config/nios2/crti.S (_init): Initialize GOT pointer from
4605 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
4606
1ea0a651
RS
46072014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
4608
4609 * configure.ac: Check __mips64 when setting host_address.
4610 * configure: Regenerate.
4611 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
4612 mips/t-mips64 and t-softfp.
4613 (mips*-*-linux*): Don't add mips/t-tpbit.
4614 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
4615 (DPBIT, DPBIT_CFLAGS): Delete.
4616 * config/mips/sfp-machine.h: New file.
4617 * config/mips/t-mips64: Likewise.
4618 * config/mips/t-softfp-tf: Likewise.
4619 * config/mips/t-tpbit: Delete.
4620
f32b0061
MS
46212014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
4622
4623 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
4624 as long long.
4625
a5420aa4
WL
46262014-01-25 Walter Lee <walt@tilera.com>
4627
4628 * config/tilepro/atomic.c: Include tconfig.h. Don't include
4629 config.h or system.h.
4630 (bool) Define.
4631
24534912
WL
46322014-01-25 Walter Lee <walt@tilera.com>
4633
4634 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
4635 (post_atomic_barrier): Ditto.
4636 (__fetch_and_do): New macro.
4637 (__atomic_fetch_and_do): Use __fetch_and_do.
4638 (__sync_fetch_and_do): New macro.
4639 (__sync_fetch_and_add_4): New function.
4640 (__sync_fetch_and_sub_4): New function.
4641 (__sync_fetch_and_or_4): New function.
4642 (__sync_fetch_and_and_4): New function.
4643 (__sync_fetch_and_xor_4): New function.
4644 (__sync_fetch_and_nand_4): New function.
4645 (__sync_fetch_and_add_8): New function.
4646 (__sync_fetch_and_sub_8): New function.
4647 (__sync_fetch_and_or_8): New function.
4648 (__sync_fetch_and_and_8): New function.
4649 (__sync_fetch_and_xor_8): New function.
4650 (__sync_fetch_and_nand_8): New function.
4651 (__do_and_fetch): New macro.
4652 (__atomic_do_and_fetch): Use __do_and_fetch.
4653 (__sync_do_and_fetch): New macro.
4654 (__sync_add_and_fetch_4): New function.
4655 (__sync_sub_and_fetch_4): New function.
4656 (__sync_or_and_fetch_4): New function.
4657 (__sync_and_and_fetch_4): New function.
4658 (__sync_xor_and_fetch_4): New function.
4659 (__sync_nand_and_fetch_4): New function.
4660 (__sync_add_and_fetch_8): New function.
4661 (__sync_sub_and_fetch_8): New function.
4662 (__sync_or_and_fetch_8): New function.
4663 (__sync_and_and_fetch_8): New function.
4664 (__sync_xor_and_fetch_8): New function.
4665 (__sync_nand_and_fetch_8): New function.
4666 (__sync_exchange_methods): New macro.
4667 (__sync_val_compare_and_swap_4): New function.
4668 (__sync_bool_compare_and_swap_4): New function.
4669 (__sync_lock_test_and_test_4): New function.
4670 (__sync_val_compare_and_swap_8): New function.
4671 (__sync_bool_compare_and_swap_8): New function.
4672 (__sync_lock_test_and_test_8): New function.
4673 (__subword_cmpxchg_body): New macro.
4674 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
4675 (__atomic_compare_exchange_2): Ditto.
4676 (__sync_subword_cmpxchg): New macro.
4677 (__sync_val_compare_and_swap_1): New function.
4678 (__sync_bool_compare_and_swap_1): New function.
4679 (__sync_val_compare_and_swap_2): New function.
4680 (__sync_bool_compare_and_swap_2): New function.
4681 (__atomic_subword): Rename to ...
4682 (__subword): ... New name.
4683 (__atomic_subword_fetch): Use __subword.
4684 (__sync_subword_fetch): New macro.
4685 (__sync_fetch_and_add_1): New function.
4686 (__sync_fetch_and_sub_1): New function.
4687 (__sync_fetch_and_or_1): New function.
4688 (__sync_fetch_and_and_1): New function.
4689 (__sync_fetch_and_xor_1): New function.
4690 (__sync_fetch_and_nand_1): New function.
4691 (__sync_fetch_and_add_2): New function.
4692 (__sync_fetch_and_sub_2): New function.
4693 (__sync_fetch_and_or_2): New function.
4694 (__sync_fetch_and_and_2): New function.
4695 (__sync_fetch_and_xor_2): New function.
4696 (__sync_fetch_and_nand_2): New function.
4697 (__sync_add_and_fetch_1): New function.
4698 (__sync_sub_and_fetch_1): New function.
4699 (__sync_or_and_fetch_1): New function.
4700 (__sync_and_and_fetch_1): New function.
4701 (__sync_xor_and_fetch_1): New function.
4702 (__sync_nand_and_fetch_1): New function.
4703 (__sync_add_and_fetch_2): New function.
4704 (__sync_sub_and_fetch_2): New function.
4705 (__sync_or_and_fetch_2): New function.
4706 (__sync_and_and_fetch_2): New function.
4707 (__sync_xor_and_fetch_2): New function.
4708 (__sync_nand_and_fetch_2): New function.
4709 (__atomic_subword_lock): Use __subword.
4710 (__sync_subword_lock): New macro.
4711 (__sync_lock_test_and_set_1): New function.
4712 (__sync_lock_test_and_set_2): New function.
4713
4d6d3bc5
WL
47142014-01-25 Walter Lee <walt@tilera.com>
4715
4716 * config/tilepro/atomic.c (BIT_OFFSET): Define.
4717 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
4718 (__atomic_subword): Ditto.
4719
cbd9890e
WL
47202014-01-25 Walter Lee <walt@tilera.com>
4721
4722 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
4723 a prefix op argument.
4724 (__atomic_nand_fetch_4): Add prefix op.
4725 (__atomic_nand_fetch_8): Ditto.
4726
7d296953 47272014-01-21 Baruch Siach <barch@tkos.co.il>
800d8bd5
BS
4728
4729 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
4730
46dd1242
L
47312014-01-09 Rong Xu <xur@google.com>
4732
4733 * libgcov-driver.c (this_prg): make it local to save
4734 bss space.
4735 (gcov_exit_compute_summary): Ditto.
4736 (gcov_exit_merge_gcda): Ditto.
4737 (gcov_exit_merge_summary): Ditto.
4738 (gcov_exit_dump_gcov): Ditto.
4739
cc86234f 47402014-01-08 Rong Xu <xur@google.com>
40d6b753
RX
4741
4742 * libgcov-driver.c: Use libgcov.h.
4743 (buffer_fn_data): Use xmalloc instead of malloc.
4744 (gcov_exit_merge_gcda): Ditto.
4745 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
4746 * libgcov.h: New common header files for libgcov-*.h.
4747 * libgcov-interface.c: Use libgcov.h
4748 * libgcov-merge.c: Ditto.
4749 * libgcov-profiler.c: Ditto.
4750 * Makefile.in: Add dependence to libgcov.h
4751
a02e7bdd
JM
47522014-01-02 Joseph Myers <joseph@codesourcery.com>
4753
4754 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
4755 case of small numerator and finite nonzero result.
4756
ac1dca3c
RS
47572014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
4758
4759 Update copyright years
4760
f9030485
RS
47612014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
4762
4763 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
4764 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
4765 config/arc/dp-hack.h, config/arc/fp-hack.h,
4766 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
4767 config/arc/ieee-754/arc600-dsp/divdf3.S,
4768 config/arc/ieee-754/arc600-dsp/divsf3.S,
4769 config/arc/ieee-754/arc600-dsp/muldf3.S,
4770 config/arc/ieee-754/arc600-dsp/mulsf3.S,
4771 config/arc/ieee-754/arc600-mul64/divdf3.S,
4772 config/arc/ieee-754/arc600-mul64/divsf3.S,
4773 config/arc/ieee-754/arc600-mul64/muldf3.S,
4774 config/arc/ieee-754/arc600-mul64/mulsf3.S,
4775 config/arc/ieee-754/arc600/divsf3.S,
4776 config/arc/ieee-754/arc600/mulsf3.S,
4777 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
4778 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
4779 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
4780 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
4781 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
4782 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
4783 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
4784 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
4785 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
4786 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
4787 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
4788 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
4789 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
4790 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
4791 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
4792 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
4793 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
4794 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
4795 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
4796 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
4797 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
4798 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
4799 vtv_start_preinit.c: Use the standard form for the copyright notice.
4800
e430824f
CLT
48012013-12-31 Sandra Loosemore <sandra@codesourcery.com>
4802 Chung-Lin Tang <cltang@codesourcery.com>
4803 Based on patches from Altera Corporation
4804
4805 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
4806 * config/nios2/lib2-nios2.h: New file.
4807 * config/nios2/lib2-divmod-hi.c: New file.
4808 * config/nios2/linux-unwind.h: New file.
4809 * config/nios2/lib2-divmod.c: New file.
4810 * config/nios2/linux-atomic.c: New file.
4811 * config/nios2/t-nios2: New file.
4812 * config/nios2/crti.asm: New file.
4813 * config/nios2/t-linux: New file.
4814 * config/nios2/lib2-divtable.c: New file.
4815 * config/nios2/lib2-mul.c: New file.
4816 * config/nios2/tramp.c: New file.
4817 * config/nios2/crtn.asm: New file.
4818
1879e97f
UB
48192013-12-26 Uros Bizjak <ubizjak@gmail.com>
4820
4821 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
4822 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
4823 from cpuid.h to check vendor signatures.
4824
f4a4bdbb
GG
48252013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
4826
c2e7e597 4827 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
f4a4bdbb
GG
4828 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
4829 (get_amd_cpu): Likewise.
4830
8d2ae544
L
48312013-12-25 H.J. Lu <hongjiu.lu@intel.com>
4832
4833 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
4834 Haswell.
4835
74924838
ASJ
48362013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
4837 H.J. Lu <hongjiu.lu@intel.com>
4838
0bb52f25
L
4839 PR target/59422
4840 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
74924838
ASJ
4841 and AMD_JAGUAR.
4842 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
4843 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
4844 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
4845 FEATURE_XOP and FEATURE_FMA.
4846 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
4847 AMDFAM15H_BDVER3.
4848 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
0bb52f25 4849 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
74924838
ASJ
4850 FEATURE_FMA4 and FEATURE_XOP.
4851
d3c11974
L
48522013-12-23 H.J. Lu <hongjiu.lu@intel.com>
4853
4854 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
4855 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
4856 (get_intel_cpu): Updated.
4857
064c4ff2
ZC
48582013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
4859
4860 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
4861
8b02e720
UB
48622013-12-09 Uros Bizjak <ubizjak@gmail.com>
4863
4864 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
1f71a3c3 4865 instructions when __SSE_MATH__ is defined.
8b02e720 4866
3fa2ccb4
RC
48672013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
4868
4869 * config.host (microblaze-*-rtems*): New.
4870
ecd78fc9
KV
48712013-12-04 Kugan Vivekanandarajah <kuganv@linaro.org>
4872
4873 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
4874 architectures that do not have hardware divide instruction.
4875 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
4876
b21fbbd2
RS
48772013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
4878
4879 * longlong.h: Delete (moved to include/).
4880
b03fb8c9
AZ
48812013-12-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4882
4883 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
4884 of normal number and qNaN to not raise an inexact exception.
4885
3c716922
UB
48862013-11-28 Uros Bizjak <ubizjak@gmail.com>
4887
4888 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
4889
48902013-11-28 Matthew Leach <matthew.leach@arm.com>
cceeb9a9
ML
4891
4892 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
4893 for correct opcodes on BE.
4894
a3458d22
UB
48952013-11-27 Uros Bizjak <ubizjak@gmail.com>
4896
4897 * soft-fp/op-4.h: Update from glibc.
4898
30b8f78b
KV
48992013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
4900
4901 * libgcc2.c (__udivmoddi4): Define new implementation when
4902 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
4903 divide instructions.
4904
82552a29
OE
49052013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
4906
4907 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
4908
80e87457
RO
49092013-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4910
4911 * config/t-softfp (soft-fp-objects-base): New variable.
4912 (soft-fp-objects): Use it.
4913
44178879
DE
49142013-11-23 David Edelson <dje.gcc@gmail.com>
4915 Andrew Dixie <andrewd@gentrack.com>
4916
4917 PR target/33704
4918 * config/rs6000/aixinitfini.c: New file.
4919 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
4920 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
4921 symbols.
4922
e5287671
YR
49232013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
4924
a3458d22 4925 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
e5287671 4926
867c8b03
JH
49272013-11-18 Jan Hubicka <jh@suse.cz>
4928
7f369373
JH
4929 * libgcov-driver.c (run_accounted): Make global level static.
4930 (gcov_exit_merge_summary): Silence warning; do not clear
4931 run_accounted here.
4932 (gcov_exit): Clear it here.
4933
1d0b3334
JH
4934 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
4935 run_accounted.
4936
867c8b03
JH
4937 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
4938 (all_prg, crc32): Remove static vars.
4939 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
4940 all_prg.
4941 (gcov_exit_merge_gcda): Add crc32 parameter.
4942 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
4943 do not account run if it was already accounted.
4944 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
4945 (gcov_exit): Initialize all_prg; update.
4946
66204992
AS
49472013-11-15 Andreas Schwab <schwab@linux-m68k.org>
4948
4949 * configure: Regenerate.
4950
b54214fe
UW
49512013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4952 Alan Modra <amodra@gmail.com>
4953
4954 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
4955 (frob_update_context): Use it.
4956
49572013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4958 Alan Modra <amodra@gmail.com>
4959
4960 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
4961 (trampoline_initial): Provide ELFv2 variant.
4962 (__trampoline_setup): Likewise.
4963
4964 * config/rs6000/linux-unwind.h (frob_update_context): Do not
4965 check for AIX indirect function call sequence if _CALL_ELF == 2.
4966
49672013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4968 Alan Modra <amodra@gmail.com>
4969
4970 * config/rs6000/linux-unwind.h (get_regs): Do not support
4971 old kernel versions if _CALL_ELF == 2.
4972 (frob_update_context): Do not support PLT stub variants only
4973 generated by old linkers if _CALL_ELF == 2.
4974
13e0981a
UW
49752013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4976 Alan Modra <amodra@gmail.com>
4977
4978 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
4979 location of CR save area for 64-bit little-endian systems.
4980
1a80085d
EB
49812013-11-11 Eric Botcazou <ebotcazou@adacore.com>
4982
4983 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
4984 in tmake_file.
4985 * config/arm/t-vxworks: Delete.
4986
cabeea52
KT
49872013-11-10 Kai Tietz <ktietz@redhat.com>
4988
4989 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
4990 Increment load-count on use of LIBGCC_SONAME DLL.
4991 (hmod_libgcc): New static variable to hold handle of
4992 LIBGCC_SONAME DLL.
4993 (__gcc_deregister_frame): Decrement load-count of
4994 LIBGCC_SONAME DLL.
4995
ac088ba1
BRF
49962013-11-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
4997
4998 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
4999 availability.
5000 * configure: Regenerate
5001
d59a8fcc
UB
50022013-11-07 Uros Bizjak <ubizjak@gmail.com>
5003
5004 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
5005 FP_EX_DENORM. Store result to volatile location after SSE division
5006 to close interrupt window. Remove unneeded fwait after x87
5007 division since interrupt window will be closed by emitted fstp.
9de84e84 5008 Rewrite FP_EX_INEXACT handling.
d59a8fcc 5009
9954c743
JM
50102013-11-06 Joseph Myers <joseph@codesourcery.com>
5011
5012 * soft-fp/README: Update.
5013 * soft-fp/adddf3.c: Update from glibc.
5014 * soft-fp/addsf3.c: Likewise.
5015 * soft-fp/addtf3.c: Likewise.
5016 * soft-fp/divdf3.c: Likewise.
5017 * soft-fp/divsf3.c: Likewise.
5018 * soft-fp/divtf3.c: Likewise.
5019 * soft-fp/double.h: Likewise.
5020 * soft-fp/eqdf2.c: Likewise.
5021 * soft-fp/eqsf2.c: Likewise.
5022 * soft-fp/eqtf2.c: Likewise.
5023 * soft-fp/extenddftf2.c: Likewise.
5024 * soft-fp/extended.h: Likewise.
5025 * soft-fp/extendsfdf2.c: Likewise.
5026 * soft-fp/extendsftf2.c: Likewise.
5027 * soft-fp/extendxftf2.c: Likewise.
5028 * soft-fp/fixdfdi.c: Likewise.
5029 * soft-fp/fixdfsi.c: Likewise.
5030 * soft-fp/fixdfti.c: Likewise.
5031 * soft-fp/fixsfdi.c: Likewise.
5032 * soft-fp/fixsfsi.c: Likewise.
5033 * soft-fp/fixsfti.c: Likewise.
5034 * soft-fp/fixtfdi.c: Likewise.
5035 * soft-fp/fixtfsi.c: Likewise.
5036 * soft-fp/fixtfti.c: Likewise.
5037 * soft-fp/fixunsdfdi.c: Likewise.
5038 * soft-fp/fixunsdfsi.c: Likewise.
5039 * soft-fp/fixunsdfti.c: Likewise.
5040 * soft-fp/fixunssfdi.c: Likewise.
5041 * soft-fp/fixunssfsi.c: Likewise.
5042 * soft-fp/fixunssfti.c: Likewise.
5043 * soft-fp/fixunstfdi.c: Likewise.
5044 * soft-fp/fixunstfsi.c: Likewise.
5045 * soft-fp/fixunstfti.c: Likewise.
5046 * soft-fp/floatdidf.c: Likewise.
5047 * soft-fp/floatdisf.c: Likewise.
5048 * soft-fp/floatditf.c: Likewise.
5049 * soft-fp/floatsidf.c: Likewise.
5050 * soft-fp/floatsisf.c: Likewise.
5051 * soft-fp/floatsitf.c: Likewise.
5052 * soft-fp/floattidf.c: Likewise.
5053 * soft-fp/floattisf.c: Likewise.
5054 * soft-fp/floattitf.c: Likewise.
5055 * soft-fp/floatundidf.c: Likewise.
5056 * soft-fp/floatundisf.c: Likewise.
5057 * soft-fp/floatunditf.c: Likewise.
5058 * soft-fp/floatunsidf.c: Likewise.
5059 * soft-fp/floatunsisf.c: Likewise.
5060 * soft-fp/floatunsitf.c: Likewise.
5061 * soft-fp/floatuntidf.c: Likewise.
5062 * soft-fp/floatuntisf.c: Likewise.
5063 * soft-fp/floatuntitf.c: Likewise.
5064 * soft-fp/gedf2.c: Likewise.
5065 * soft-fp/gesf2.c: Likewise.
5066 * soft-fp/getf2.c: Likewise.
5067 * soft-fp/ledf2.c: Likewise.
5068 * soft-fp/lesf2.c: Likewise.
5069 * soft-fp/letf2.c: Likewise.
5070 * soft-fp/muldf3.c: Likewise.
5071 * soft-fp/mulsf3.c: Likewise.
5072 * soft-fp/multf3.c: Likewise.
5073 * soft-fp/negdf2.c: Likewise.
5074 * soft-fp/negsf2.c: Likewise.
5075 * soft-fp/negtf2.c: Likewise.
5076 * soft-fp/op-1.h: Likewise.
5077 * soft-fp/op-2.h: Likewise.
5078 * soft-fp/op-4.h: Likewise.
5079 * soft-fp/op-8.h: Likewise.
5080 * soft-fp/op-common.h: Likewise.
5081 * soft-fp/quad.h: Likewise.
5082 * soft-fp/single.h: Likewise.
5083 * soft-fp/soft-fp.h: Likewise.
5084 * soft-fp/subdf3.c: Likewise.
5085 * soft-fp/subsf3.c: Likewise.
5086 * soft-fp/subtf3.c: Likewise.
5087 * soft-fp/truncdfsf2.c: Likewise.
5088 * soft-fp/trunctfdf2.c: Likewise.
5089 * soft-fp/trunctfsf2.c: Likewise.
5090 * soft-fp/trunctfxf2.c: Likewise.
5091 * soft-fp/unorddf2.c: Likewise.
5092 * soft-fp/unordsf2.c: Likewise.
5093 * soft-fp/unordtf2.c: Likewise.
5094
02ac9503
UB
50952013-11-05 Uros Bizjak <ubizjak@gmail.com>
5096
5097 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
5098 (_FP_MUL_MEAT_D): Ditto.
5099 (_FP_DIV_MEAT_S): Ditto.
5100 (_FP_DIV_MEAT_D): Ditto.
5101 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
5102 t-softfp-sfdf and t-softfp to tmake_file.
5103
61221141
UB
51042013-11-03 Uros Bizjak <ubizjak@gmail.com>
5105
5106 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
5107 * config/i386/crtprec.c: Ditto.
5108
9304f876
CJW
51092013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
5110 Shiva Chen <shiva0217@gmail.com>
5111
5112 * config.host (nds32*-elf*): Add nds32 target.
5113 * config/nds32 : New directory and files.
5114
0e499e75
HPN
51152013-10-16 Hans-Peter Nilsson <hp@axis.com>
5116
5117 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
5118 * config.host (cpu_type) <Setting default>: Add entry for
5119 crisv32-*-*.
5120 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
5121 <crisv32-*-linux*>: Adjust.
5122 * longlong.h: Wrap the whole CRIS section in a single
5123 defined(__CRIS__) conditional. Add comment about add_ssaaaa
5124 and sub_ddmmss.
5125 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
5126 defined.
5127 [__CRIS__] (__umulsidi3): Define.
5128 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
5129 * config/cris/sfp-machine.h: New file.
5130 * config/cris/umulsidi3.S: New file.
5131 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
5132 * config/cris/arit.c (SIGNMULT): New macro.
5133 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
5134 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
5135 saving 3 out of originally 33 cycles from the fastest
5136 path, 3 out of 54 from the medium path and one from the longest
5137 path. Improve comments.
5138
16022041
RS
51392013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
5140
5141 * sync.c: Remove static aliases and define each function directly
5142 under its real name.
5143
69778659
JDA
51442013-10-02 John David Anglin <danglin@gcc.gnu.org>
5145
5146 * config.host (hppa*64*-*-linux*): Define extra_parts.
5147 (hppa*-*-linux*): Likewise.
5148
2deaf8b0
JR
51492013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
5150
5151 * config/arc/crtgend.S: Add 2013 to Copyright years.
5152 * config/arc/gmon/atomic.h: Likewise.
5153 * config/arc/gmon/auxreg.h: Likewise.
5154 * config/arc/gmon/sys/gmon_out.h: Likewise.
5155 * config/arc/gmon/sys/gmon.h: Likewise.
5156 * config/arc/gmon/prof-freq.c: Likewise.
5157 * config/arc/gmon/mcount.c: Likewise.
5158 * config/arc/gmon/prof-freq-stub.S: Likewise.
5159 * config/arc/gmon/gmon.c: Likewise.
5160 * config/arc/gmon/machine-gmon.h: Likewise.
5161 * config/arc/gmon/profil.S: Likewise.
5162 * config/arc/gmon/dcache_linesz.S: Likewise.
5163 * config/arc/crtg.S: Likewise.
5164 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
5165 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
5166 * config/arc/ieee-754/adddf3.S: Likewise.
5167 * config/arc/ieee-754/truncdfsf2.S: Likewise.
5168 * config/arc/ieee-754/fixsfsi.S: Likewise.
5169 * config/arc/ieee-754/gtsf2.S: Likewise.
5170 * config/arc/ieee-754/floatsisf.S: Likewise.
5171 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
5172 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
5173 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
5174 * config/arc/ieee-754/fixdfsi.S: Likewise.
5175 * config/arc/ieee-754/addsf3.S: Likewise.
5176 * config/arc/ieee-754/gesf2.S: Likewise.
5177 * config/arc/ieee-754/floatsidf.S: Likewise.
5178 * config/arc/ieee-754/extendsfdf2.S: Likewise.
5179 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
5180 * config/arc/ieee-754/gtdf2.S: Likewise.
5181 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
5182 * config/arc/ieee-754/uneqdf2.S: Likewise.
5183 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
5184 * config/arc/ieee-754/uneqsf2.S: Likewise.
5185 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
5186 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
5187 * config/arc/ieee-754/eqdf2.S: Likewise.
5188 * config/arc/ieee-754/ordsf2.S: Likewise.
5189 * config/arc/ieee-754/divsf3.S: Likewise.
5190 * config/arc/ieee-754/divdf3.S: Likewise.
5191 * config/arc/ieee-754/floatunsidf.S: Likewise.
5192 * config/arc/ieee-754/orddf2.S: Likewise.
5193 * config/arc/ieee-754/eqsf2.S: Likewise.
5194 * config/arc/ieee-754/gedf2.S: Likewise.
5195 * config/arc/crtn.S: Likewise.
5196 * config/arc/crti.S: Likewise.
5197 * config/arc/t-arc700-uClibc: Likewise.
5198 * config/arc/asm.h: Likewise.
5199 * config/arc/libgcc-excl.ver: Likewise.
5200 * config/arc/t-arc-newlib: Likewise.
5201 * config/arc/divtab-arc700.c: Likewise.
5202 * config/arc/initfini.c: Likewise.
5203 * config/arc/fp-hack.h: Likewise.
5204
c8e318b0
JR
52052013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
5206 Diego Novillo <dnovillo@google.com>
5207
5208 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
a07c5b47
JR
5209 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
5210 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
5211 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
c8e318b0 5212
d38a64b4
JR
52132013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
5214 Brendan Kehoe <brendan@zen.org>
5215 Simon Cook <simon.cook@embecosm.com>
5216
5217 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
5218 * config/arc: New directory.
5219 * longlong.h [__arc__] (umul_ppmm): Remove.
5220 [__arc__] (__umulsidi3): Define.
5221 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
5222 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
5223
dff717d2
JC
52242013-09-17 Jacek Caban <jacek@codeweavers.com>
5225
5226 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
5227 CreateSemaphoreA.
5228 * config/i386/gthr-win32.h: Likewise.
5229
5c0029de
DD
52302013-09-16 DJ Delorie <dj@redhat.com>
5231
844ad6c6 5232 * config/rl78/vregs.h: Add G10 register definitions.
5c0029de
DD
5233 * config/rl78/lib2mul.c: Enable for RL78/G10.
5234 * config/rl78/lib2div.c: Likewise.
5235 * config/rl78/lshrsi3.S: Use vregs.h.
5236 * config/rl78/cmpsi2.S: Likewise.
5237 * config/rl78/trampoline.S: Likewise.
5238 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
5239
ceb2fc49
DD
52402013-09-14 DJ Delorie <dj@redhat.com>
5241 Nick Clifton <nickc@redhat.com>
5242
5243 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
5244 * config/rl78/vregs.h: New.
5245 * config/rl78/signbit.S: New file. Implements signbit function.
5246 * config/rl78/divmodsi.S: New.
5247 * config/rl78/divmodhi.S: New.
5248 * config/rl78/divmodqi.S: New.
5249 * config/rl78/t-rl78: Build them here...
5250 * config/rl78/lib2div.c: ...but not here.
5251
f6a83b4a
DD
52522013-09-12 DJ Delorie <dj@redhat.com>
5253
5254 * config.host (msp*-*-elf): New.
5255 * config/msp430/: New port.
5256
9107b096
IS
52572013-08-18 Iain Sandoe <iain@codesourcery.com>
5258
5259 PR gcov-profile/58127
5260 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
5261 __thread var for emulated TLS.
5262 (__gcov_indirect_call_counters): Likewise.
5263
0f9bde1f 52642013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
61221141 5265 Catherine Moore <clm@codesourcery.com>
7d296953 5266 Richard Sandiford <rdsandiford@googlemail.com>
0f9bde1f
MR
5267
5268 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
5269 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
5270 (CALL_STUB_NO_RET): Likewise.
5271 (CALL_STUB_RET): Likewise.
5272 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
5273 __mips16_ret call/return stub symbols.
5274 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
5275 to tmake_file.
5276
2dc14aac
MR
52772013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
5278
5279 * config.host <mips*-*-linux*>: Remove a stray comment.
5280
748d71f3
JH
52812013-08-10 Jan Hubicka <jh@suse.cz>
5282
5283 Work around binutils PR14342
5284 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
5285 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
5286 (L_gcov_indirect_call_profiler_v2): New.
5287
2fa3d31b
JH
52882013-08-06 Jan Hubicka <jh@suse.cz>
5289
5290 * libgcov.c (__gcov_indirect_call_callee,
5291 __gcov_indirect_call_counters): New global vars.
5292 (__gcov_indirect_call_profiler): replace by ...
5293 (__gcov_indirect_call_profiler_v2) ... this one.
5294
2077db1b
CT
52952013-08-06 Caroline Tice <cmtice@google.com>
5296
d0595b65 5297 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
2077db1b 5298 vtv_start_preinit.o and vtv_end_preinit.o.
d0595b65
CT
5299 * configure.ac: Add code to check/set enable_vtable_verify.
5300 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
2077db1b 5301 true.
d0595b65
CT
5302 * vtv_start_preinit.c: New file.
5303 * vtv_end_preinit.c: New file.
5304 * vtv_start.c: New file.
5305 * vtv_end.c: New file.
5306 * configure: Regenerated.
2077db1b 5307
46549c20
MK
53082013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
5309
5310 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
5311 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
5312 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
5313 GPL-3.0-with-GCC-exception.
5314
72be589b
MR
53152013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
5316
5317 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
5318 ISA and up.
5319
902a3faf
AK
53202013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5321
5322 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
5323 mapping for FPRs when creating the fallback framestate.
5324
02371798
GJL
53252013-07-19 Georg-Johann Lay <avr@gjlay.de>
5326
5327 PR target/57516
5328 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
5329 (__round_s2_const, __round_u2_const)
5330 (__round_s4_const, __round_u4_const, __round_x8):
5331 Saturate result if addition result cannot be represented.
5332
ab0e8379
MK
53332013-07-15 Matthias Klose <doko@ubuntu.com>
5334
5335 * libgcc2.c: Don't include <limits.h>.
5336
7da38058
JJ
53372013-07-09 Janis Johnson <janisjo@codesourcery.com>
5338
5339 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
5340
1f6eac90
JJ
53412013-07-06 Jakub Jelinek <jakub@redhat.com>
5342
5343 PR target/29776
5344 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
5345
4ea3d774
JJ
53462013-06-28 Jakub Jelinek <jakub@redhat.com>
5347
5348 PR middle-end/36041
5349 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
5350 Define.
5351 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
5352 instead of table lookups.
5353 (__popcountDI2): Likewise.
5354
9d2cdf25
CJW
53552013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
5356
5357 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
5358 correctly.
5359
fa1e55b0
JM
53602013-06-21 Joseph Myers <joseph@codesourcery.com>
5361
5362 PR other/53317
5363 * soft-fp/adddf3.c: Update from glibc.
5364 * soft-fp/addsf3.c: Likewise.
5365 * soft-fp/addtf3.c: Likewise.
5366 * soft-fp/divdf3.c: Likewise.
5367 * soft-fp/divsf3.c: Likewise.
5368 * soft-fp/divtf3.c: Likewise.
5369 * soft-fp/double.h: Likewise.
5370 * soft-fp/eqdf2.c: Likewise.
5371 * soft-fp/eqsf2.c: Likewise.
5372 * soft-fp/eqtf2.c: Likewise.
5373 * soft-fp/extenddftf2.c: Likewise.
5374 * soft-fp/extended.h: Likewise.
5375 * soft-fp/extendsfdf2.c: Likewise.
5376 * soft-fp/extendsftf2.c: Likewise.
5377 * soft-fp/fixdfdi.c: Likewise.
5378 * soft-fp/fixdfsi.c: Likewise.
5379 * soft-fp/fixsfdi.c: Likewise.
5380 * soft-fp/fixsfsi.c: Likewise.
5381 * soft-fp/fixtfdi.c: Likewise.
5382 * soft-fp/fixtfsi.c: Likewise.
5383 * soft-fp/fixunsdfdi.c: Likewise.
5384 * soft-fp/fixunsdfsi.c: Likewise.
5385 * soft-fp/fixunssfdi.c: Likewise.
5386 * soft-fp/fixunssfsi.c: Likewise.
5387 * soft-fp/fixunstfdi.c: Likewise.
5388 * soft-fp/fixunstfsi.c: Likewise.
5389 * soft-fp/floatdidf.c: Likewise.
5390 * soft-fp/floatdisf.c: Likewise.
5391 * soft-fp/floatditf.c: Likewise.
5392 * soft-fp/floatsidf.c: Likewise.
5393 * soft-fp/floatsisf.c: Likewise.
5394 * soft-fp/floatsitf.c: Likewise.
5395 * soft-fp/floatundidf.c: Likewise.
5396 * soft-fp/floatundisf.c: Likewise.
5397 * soft-fp/floatunditf.c: Likewise.
5398 * soft-fp/floatunsidf.c: Likewise.
5399 * soft-fp/floatunsisf.c: Likewise.
5400 * soft-fp/floatunsitf.c: Likewise.
5401 * soft-fp/gedf2.c: Likewise.
5402 * soft-fp/gesf2.c: Likewise.
5403 * soft-fp/getf2.c: Likewise.
5404 * soft-fp/ledf2.c: Likewise.
5405 * soft-fp/lesf2.c: Likewise.
5406 * soft-fp/letf2.c: Likewise.
5407 * soft-fp/muldf3.c: Likewise.
5408 * soft-fp/mulsf3.c: Likewise.
5409 * soft-fp/multf3.c: Likewise.
5410 * soft-fp/negdf2.c: Likewise.
5411 * soft-fp/negsf2.c: Likewise.
5412 * soft-fp/negtf2.c: Likewise.
5413 * soft-fp/op-1.h: Likewise.
5414 * soft-fp/op-2.h: Likewise.
5415 * soft-fp/op-4.h: Likewise.
5416 * soft-fp/op-8.h: Likewise.
5417 * soft-fp/op-common.h: Likewise.
5418 * soft-fp/quad.h: Likewise.
5419 * soft-fp/single.h: Likewise.
5420 * soft-fp/soft-fp.h: Likewise.
5421 * soft-fp/subdf3.c: Likewise.
5422 * soft-fp/subsf3.c: Likewise.
5423 * soft-fp/subtf3.c: Likewise.
5424 * soft-fp/truncdfsf2.c: Likewise.
5425 * soft-fp/trunctfdf2.c: Likewise.
5426 * soft-fp/trunctfsf2.c: Likewise.
5427 * soft-fp/unorddf2.c: Likewise.
5428 * soft-fp/unordsf2.c: Likewise.
5429 * soft-fp/unordtf2.c: Likewise.
5430 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
5431 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5432 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5433 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5434 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5435 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5436 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5437 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5438 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5439 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
5440 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
5441 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5442
0de86a92
JU
54432013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
5444
5445 * config/mips/lib2funcs.c: New file.
5446 * config/mips/t-mips (LIB2ADD_ST): Add it.
5447
0d008882
OE
54482013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
5449
5450 PR target/6526
5451 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
5452 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
5453
776434d1
WL
54542013-06-08 Walter Lee <walt@tilera.com>
5455
5456 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
5457 Replace int64_t with long long. Add __extension__ where
5458 appropriate.
5459 * config/tilepro/atomic.c: Include config.h.
5460
6ab3ebb4
DR
54612013-06-06 Douglas B Rupp <rupp@adacore.com>
5462
5463 * config.host (arm-wrs-vxworks): Configure with other soft float.
5464
107eea2c
JU
54652013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
5466
5467 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
5468 (mips64r5900el-*-elf*): New configurations.
5469
5cc19c62
AM
54702013-06-04 Alan Modra <amodra@gmail.com>
5471
5472 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
5473
0f1d3965
YR
54742013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
5475
5476 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
5477
0ba045df
EB
54782013-05-28 Eric Botcazou <ebotcazou@adacore.com>
5479
5480 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
5481 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
5482 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
5483
49dcafd4
EB
54842013-05-22 Eric Botcazou <ebotcazou@adacore.com>
5485
5486 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
5487 (powerpc-wrs-vxworks): Likewise.
5488
4fcb5d87
EB
54892013-05-22 Eric Botcazou <ebotcazou@adacore.com>
5490
5491 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
5492 signal frames as well.
5493 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
5494 STACK_BIAS to the CFA offset.
5495
0ec33224
RH
54962013-05-17 Richard Henderson <rth@redhat.com>
5497
5498 PR target/49146
5499 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
5500 (execute_cfa_program): Use it when storing to fs->regs.
5501
492a8029
KT
55022013-05-08 Kai Tietz <ktietz@redhat.com>
5503
5504 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
5505 (__deregister_frame_info): Likewise.
5506
701e2f0a
TS
55072013-05-06 Thomas Schwinge <thomas@codesourcery.com>
5508
e5123d08
TS
5509 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
5510 NaN's payload.
5511
701e2f0a
TS
5512 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
5513
b9a7eb5d
AM
55142013-04-25 Alan Modra <amodra@gmail.com>
5515
5516 * config.host: Match little-endian powerpc-linux.
5517
dfe192f5
YZ
55182013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
5519
5520 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
5521 as 'unsigned long long' instead of 'unsigned long'.
5522 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
5523 'signed long'.
5524
b6b9af2f
JB
55252013-04-10 Julian Brown <julian@codesourcery.com>
5526
5527 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
5528 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
5529 unsigned char/unsigned short.
5530 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
5531
ecabdd00
JDA
55322013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
5533
5534 PR other/55274
5535 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
5536
34652576
MI
55372013-04-04 Meador Inge <meadori@codesourcery.com>
5538
5539 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
5540 computing the location of the link register.
5541 (aeabi_uldivmod): Ditto.
5542
e9fd8c19
KT
55432013-03-27 Kai Tietz <ktietz@redhat.com>
5544
5545 * config.host: Add support for cygwin x64 target.
5546 * configure: Regenerated.
5547
a6406324
WL
55482013-03-26 Walter Lee <walt@tilera.com>
5549
5550 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
5551 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
5552
55446c7e
KT
55532013-03-25 Kai Tietz <ktietz@redhat.com>
5554
5555 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
5556
d2ae19d9
RM
55572013-03-20 Robert Mason <rbmj@verizon.net>
5558
5559 * config/vxlib-tls.c (__gthread_get_tsd_data,)
5560 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
5561 (__gthread_leave_tsd_dtor_context): Add prototypes.
5562 (tls_delete_hook): Update.
5563
22c4c869
CM
55642013-03-20 Catherine Moore <clm@codesourcery.com>
5565 Joseph Myers <joseph@codesourcery.com>
5566 Chao-ying Fu <fu@mips.com>
5567
5568 * config/mips/mips16.S: Don't build for microMIPS.
5569 * config/mips/linux-unwind.h: Handle microMIPS frame.
5570 * config/mips/crtn.S (fini, init): New labels.
5571
fbd28bc3
JJ
55722013-03-14 Jakub Jelinek <jakub@redhat.com>
5573
5574 PR tree-optimization/53265
5575 * unwind-dw2.c (execute_cfa_program): Avoid
5576 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
5577 on targets with DWARF_FRAME_REGISTERS < 32.
5578
decc676e
OE
55792013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
5580
5581 PR target/49880
5582 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
5583 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
5584
84ea618a
ST
55852013-03-07 Sriraman Tallam <tmsriram@google.com>
5586
5587 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
5588 sandybridge processors.
5589
8f6d1c86
OE
55902013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
5591
5592 PR target/56529
5593 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
5594 inclusion list.
5595
ecdbd01a 55962013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
409b1de4
EI
5597
5598 * config/microblaze/crti.S: Setup stack protection at entry
5599
0b4ce21b
GJL
56002013-03-04 Georg-Johann Lay <avr@gjlay.de>
5601
5602 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
5603 (__rotldi3): Shift bytewise if applicable.
5604
b7c3f1ca
JG
56052013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
5606
5607 * config/aarch64/sync-cache.c
5608 (__aarch64_sync_cache_range): Silence warnings.
5609
6d65e8f1
CM
56102013-02-25 Catherine Moore <clm@codesourcery.com>
5611
5612 Revert:
5613 2013-02-24 Catherine Moore <clm@codesourcery.com>
5614 Joseph Myers <joseph@codesourcery.com>
5615 Chao-ying Fu <fu@mips.com>
5616
5617 * config/mips/mips16.S: Don't build for microMIPS.
5618 * config/mips/linux-unwind.h: Handle microMIPS frame.
5619 * config/mips/crtn.S (fini, init): New labels.
5620
6941b508
CM
56212013-02-24 Catherine Moore <clm@codesourcery.com>
5622 Joseph Myers <joseph@codesourcery.com>
5623 Chao-ying Fu <fu@mips.com>
5624
5625 * config/mips/mips16.S: Don't build for microMIPS.
5626 * config/mips/linux-unwind.h: Handle microMIPS frame.
5627 * config/mips/crtn.S (fini, init): New labels.
5628
7c422dbb 56292012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
cc86234f 5630 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
7c422dbb
EI
5631 as dividend.
5632
110207ad
AM
56332013-02-16 Alan Modra <amodra@gmail.com>
5634
5635 PR target/55431
5636 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
5637 (ppc_fallback_frame_state): Always set up save locations for fp
5638 and altivec. Don't bother with non-callee-saved regs, r0-r13
5639 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
5640
e68a4ef6
GJL
56412013-02-12 Georg-Johann Lay <avr@gjlay.de>
5642
5643 PR target/54222
5644 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
5645 _ssmulHA, _ssmulSA.
5646 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
5647 _ssmulha3, _usmulusa3, _ssmulsa3.
5648 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
5649 (__muldi3): XCALL __muldi3_6 instead of rcall.
5650 (__umulsidi3, __mulsidi3): New functions.
5651 (do_prologue_saves, do_epilogue_restores): New .macros.
5652 (__divdi3_moddi3): Use them.
5653 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
5654 (__usmulusa3, __ssmulsa3): New functions.
5655
6c59ffd1
IS
56562013-02-11 Iain Sandoe <iain@codesourcery.com>
5657 Jack Howarth <howarth@bromo.med.uc.edu>
5658 Patrick Marlier <patrick.marlier@gmail.com>
5659
5660 PR libitm/55693
5661 * config/darwin-crt-tm.c: Remove dummy functions hack.
5662
85d768f3
GJL
56632013-02-08 Georg-Johann Lay <avr@gjlay.de>
5664
5665 PR target/54222
5666 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
5667 * config/avr/lib2-object.mk: New iterator to build objects from it.
5668 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
5669 lib2funcs.c.
5670 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
5671 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
5672 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
5673 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
5674 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
5675 * config/avr/lib1funcs-fixed.S: Implement them.
5676
5d5bf775
RS
56772013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
5678
5679 Update copyright years.
5680
99113dff
DE
56812013-02-01 David Edelsohn <dje.gcc@gmail.com>
5682
5683 PR target/54601
5684 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
5685 Add crtcxa to extra_parts.
5686 * config/rs6000/exit.h: New file.
5687 * config/rs6000/cxa_atexit.c: New file.
5688 * config/rs6000/cxa_finalize.c: New file.
5689 * config/rs6000/crtcxa.c: New file.
5690 * config/rs6000/t-aix-cxa: New file.
5691 * config/rs6000/libgcc-aix-cxa.ver: New file.
5692
dbdbd982
NC
56932013-01-31 Nick Clifton <nickc@redhat.com>
5694
5695 * config/v850/lib1funcs.S: Add support for e3v5 architecture
5696 variant.
5697
5893f158
GJL
56982013-01-29 Georg-Johann Lay <avr@gjlay.de>
5699
5700 PR target/54222
5701 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
5702 _mulQQ, _mulHQ, _mulHA, _mulSA,
5703 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
5704 _divQQ, _divHQ, _divHA, _divSA,
5705 _divUQQ, _divUHQ, _divUHA, _divUSA.
5706
ecdbd01a 57072013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
fbf0cf90 5708
dbdbd982 5709 * config.host(microblaze*-linux*): tmake_file: Remove
fbf0cf90
DH
5710 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
5711 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
5712 to exclude functions from being built with libgcc.c and use
5713 the microblaze assembly.
5714
ecdbd01a 57152013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
6f14eef2
EI
5716
5717 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
5718 extra_parts.
5719
922c57d1
YZ
57202013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
5721
5722 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
5723 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
5724 __UINTPTR_TYPE__; also cast 'base' to the same type before the
5725 alignment operation.
5726
e0f8b6a0
SN
57272013-01-15 Sofiane Naci <sofiane.naci@arm.com>
5728
5729 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
5730 loop start address for cache clearing.
5731
00892272
GJL
57322013-01-14 Georg-Johann Lay <avr@gjlay.de>
5733
5734 * config/avr/lib1funcs.S: Remove trailing blanks.
5735 * config/avr/lib1funcs-fixed.S: Ditto.
5736
e59ec5fd
GJL
57372013-01-14 Georg-Johann Lay <avr@gjlay.de>
5738
5739 * config/avr/avr-lib.h: Add GPL copyright notice.
5740
3ffc1958
GJL
57412013-01-14 Georg-Johann Lay <avr@gjlay.de>
5742
5743 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
5744 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
5745 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
5746 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
5747
25c210f9
MK
57482013-01-07 Mark Kettenis <kettenis@openbsd.org>
5749
5750 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
5751 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
2bc15360 5752
db59befb
NC
57532013-01-04 Nick Clifton <nickc@redhat.com>
5754
5755 * config/v850/lib1funcs.S: Only provide CALLT support functions if
5756 the CALLT instruction is supported.
5757
5aa12dbf
JW
57582012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
5759
5760 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
5761 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
5762
65f14117
JT
57632012-12-13 John Tytgat <John@bass-software.com>
5764
5765 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
5766 is 25.
5767
ee3ae4f7
JJ
57682012-12-12 Jakub Jelinek <jakub@redhat.com>
5769
5770 PR libgcc/55451
5771 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
5772 undefined signed overflows.
5773
2fcfba3d
UB
57742012-12-09 Uros Bizjak <ubizjak@gmail.com>
5775
5776 PR target/55344
5777 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
5778
4f2b3dc2
UB
57792012-12-06 Uros Bizjak <ubizjak@gmail.com>
5780
5781 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
5782 (FP_TRAPPING_EXCEPTIONS): Define.
5783 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
5784 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
5785
066161a2
RH
57862012-12-04 Richard Henderson <rth@redhat.com>
5787
5788 PR bootstrap/55571
5789 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
5790
7d296953 57912012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
25626181 5792
4f2b3dc2 5793 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
25626181
MS
5794 (FP_EX_SHIFT): Define.
5795 (FP_TRAPPING_EXCEPTIONS): Define.
5796
7d296953 57972012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
868395e8
MS
5798
5799 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
5800 (FP_ROUNDMODE): Use FP_RND_MASK.
5801 * config/aarch64/sfp-exceptions.c: New.
5802 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
5803 Use __sfp_handle_exceptions.
5804
5005fe22
RE
58052012-12-04 Richard Earnshaw <rearnsha@arm.com>
5806
5807 * config.host: (arm*-*-freebsd*): Remove.
5808 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
5809 (arm*-*-elf*): Remove.
5810 (arm*-*-wince-pe*): Remove.
5811 * arm/unwind-arm.c (struct fpa_reg): Delete.
5812 (struct fpa_regs): Delete.
5813 (phase1_vrs): Remove fpa element.
5814 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
5815 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
5816 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
5817 * ieee754-sf.S (floatundisf): Remove FPA support.
5818 (floatdisf): Likewise.
5819 * ieee75f-df.S (floatundidf): Likewise.
5820 (floatdidf): Likewise.
5821
e5a81c8e
KT
58222012-11-29 Kai Tietz <ktietz@redhat.com>
5823
5824 PR target/55445
5825 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
5826 * unwind-generic.h: Likewise.
5827 * unwind-seh.c: Likewise.
5828
f4919e4a
RH
58292012-11-28 Richard Henderson <rth@redhat.com>
5830
5831 PR libgcc/48076
5832 * emutls.c (__emutls_get_address): Avoid race condition between
5833 obj->loc.offset read and emutls_key initialization.
4f2b3dc2 5834
e13d9d5a
GJL
58352012-11-22 Georg-Johann Lay <avr@gjlay.de>
5836
5837 Adjust decimal point of signed accum mode to GCC default.
5838
5839 PR target/54222
5840 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
5841 _divqq_helper.
5842 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
5843 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
5844 (__mulha3, __mulsa3)
5845 (__divqq3, __divha3, __divsa3): Adjust to new position of
4f2b3dc2
UB
5846 decimal point of signed accum types.
5847
e13d9d5a
GJL
5848 (__mulusa3_round): New function.
5849 (__mulusa3): Use it.
5850 (__divqq_helper): New function.
5851 (__udivuqq3): Use it.
5852
1b845c6e
JJ
58532012-11-20 Jakub Jelinek <jakub@redhat.com>
5854
5855 PR bootstrap/55370
5856 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
5857
822a258a
TJ
58582012-11-18 Teresa Johnson <tejohnson@google.com>
5859
5860 PR bootstrap/55051
5861 * libgcov.c (gcov_exit): Remove merged program summary
5862 comparison unless !GCOV_LOCKED.
5863
7d296953 58642012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
54f4eaf0
MS
5865
5866 * soft-fp: Updated from glibc upstream.
5867
e808687a
ILT
58682012-11-06 Ian Lance Taylor <iant@google.com>
5869
5870 * generic-morestack.c (__generic_morestack): Align the returned
5871 stack pointer to a 32 byte boundary.
5872 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
5873 increment the return address until we have decided that we don't
5874 have a varargs function.
5875 (__morestack) [32-bit]: Align stack correctly when calling C
5876 functions.
5877 (__morestack) [64-bit]: Likewise.
5878
460277e0
TS
58792012-11-04 Thomas Schwinge <thomas@codesourcery.com>
5880
5881 * configure: Regenerate.
5882
73edb277
UB
58832012-11-02 Uros Bizjak <ubizjak@gmail.com>
5884
5885 PR target/55175
5886 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
5887 * config/i386/sfp-machine.h: Guard exception handling
5888 code with _SOFT_FLOAT.
5889 * config/i386/32/sfp-machine.h: Guard rounding handling
5890 code with _SOFT_FLOAT.
5891 * config/i386/64/sfp-machine.h: Ditto.
5892
c1d4fa04
JS
58932012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
5894
5895 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
5896 as extra_parts.
5897
eff6ca85
UB
58982012-10-26 Uros Bizjak <ubizjak@gmail.com>
5899
5900 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
5901 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
5902 when appropriate. Correct structure element types.
5903 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
5904 -minline-all-stringops from compile flags.
5905
7d296953 59062012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
43a8f1a1
RC
5907
5908 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
5909
7d296953 59102012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
76c78361 5911
eff6ca85 5912 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
76c78361 5913
6f288860
SH
59142012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
5915
5916 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
5917 tmake_file.
5918
1e3d5096
IB
59192012-10-23 Ian Bolton <ian.bolton@arm.com>
5920 Jim MacArthur <jim.macarthur@arm.com>
5921 Marcus Shawcroft <marcus.shawcroft@arm.com>
5922 Nigel Stephens <nigel.stephens@arm.com>
5923 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
5924 Richard Earnshaw <rearnsha@arm.com>
5925 Sofiane Naci <sofiane.naci@arm.com>
5926 Stephen Thomas <stephen.thomas@arm.com>
5927 Tejas Belagod <tejas.belagod@arm.com>
5928 Yufeng Zhang <yufeng.zhang@arm.com>
5929
5930 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
5931 * config/aarch64/crti.S: New file.
5932 * config/aarch64/crtn.S: New file.
5933 * config/aarch64/linux-unwind.h: New file.
5934 * config/aarch64/sfp-machine.h: New file.
5935 * config/aarch64/sync-cache.c: New file.
5936 * config/aarch64/t-aarch64: New file.
5937 * config/aarch64/t-softfp: New file.
5938
8a740f07
HPN
59392012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
5940
5941 * config/mmix/crti.S: Mark program and data addresses using PRELD.
5942 Remove typo'd and unnecessary alignment-LOC for .data. Remove
5943 no-longer-needed LDBU insns.
5944
7d296953 59452012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
153c8397
SH
5946
5947 * config.host
5948 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
5949 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
5950
595fefee
MGD
59512012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
5952
5953 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
5954
9945a876
MK
59552012-10-15 Matthias Klose <doko@ubuntu.com>
5956
5957 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
5958
1183dc2c
PC
59592012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
5960
5961 * configure: Regenerate.
5962 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
5963
945a9c1f
UB
59642012-10-10 Uros Bizjak <ubizjak@gmail.com>
5965
5966 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
5967 instructions for 64bit targets only.
5968
fb8bf47a
UB
59692012-10-10 Uros Bizjak <ubizjak@gmail.com>
5970
5971 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
5972 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
5973 * config/i386/32/sfp-machine.h: ... here.
5974 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
5975 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
5976 New defines.
5977
acb72498
MK
59782012-10-07 Matthias Klose <doko@ubuntu.com>
5979
5980 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
5981 as unused.
5982 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
5983
8eaee0f0
MK
59842012-10-06 Mark Kettenis <kettenis@openbsd.org>
5985
5986 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
5987 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
5988 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
5989 (ElfW): Likewise.
5990
5e3e4fe8
JW
59912012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
5992
5993 PR other/53889
5994 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
5995 Fix parameter names.
5996
86086376
OE
59972012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
5998
5999 PR target/33135
6000 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
6001 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
6002 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
6003
9597375a
OE
60042012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
6005
6006 PR target/50457
6007 * config/sh/linux-atomic.S: Delete.
6008 * config/sh/linux-atomic.c: New.
6009 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
6010 linux-atomic.c. Add cflags to disable warnings.
6011
1504e3e1
JW
60122012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
6013
6014 PR other/53889
6015 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
6016 function.
6017 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
6018 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
6019 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
6020 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
5e3e4fe8
JW
6021 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
6022 Likewise.
1504e3e1
JW
6023 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
6024 Likewise.
6025 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
6026 Likewise.
6027 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
6028 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
6029
17f293b0
MK
60302012-09-19 Mark Kettenis <kettenis@openbsd.org>
6031
9597375a
OE
6032 * config.host (hppa-*-openbsd*): New target.
6033 * config/pa/t-openbsd: New file.
17f293b0 6034
51526856
GJL
60352012-09-15 Georg-Johann Lay <avr@gjlay.de>
6036
6037 PR target/54222
6038 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
6039 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
6040 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
6041 (__divsa3): Use __negsi2 to negate r_quoL.
6042 * config/avr/lib1funcs.S (FALIAS): New macro.
6043 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
6044 (__negsi2): ...this new function.
6045 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
6046 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
6047 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
6048 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
6049 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
6050 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
6051
aadb5b43
OE
60522012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
6053
6054 PR target/54089
6055 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
6056 (lshrsi3): Reimplement as lshrsi3_r0.
6057
d5d66749
AS
60582012-09-10 Andreas Schwab <schwab@linux-m68k.org>
6059
6060 PR target/46191
6061 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
6062 of libgcc.a.
6063
c6c36e73
TJ
60642012-09-07 Teresa Johnson <tejohnson@google.com>
6065
9597375a 6066 PR gcov-profile/54487
c6c36e73 6067 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
9597375a 6068 differences.
c6c36e73 6069
b588ae30
GJL
60702012-09-05 Georg-Johann Lay <avr@gjlay.de>
6071
6072 PR target/54461
6073 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
6074 not configured --with-avrlibc=no.
6075 * config/avr/t-avrlibc: New file.
6076 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
6077 (DPBIT_FUNCS): Ditto.
6078 (TPBIT_FUNCS): Ditto.
6079
abd16fb1
TJ
60802012-09-04 Teresa Johnson <tejohnson@google.com>
6081
6082 * libgcov.c (struct gcov_summary_buffer): New structure.
6083 (gcov_histogram_insert): New function.
6084 (gcov_compute_histogram): Ditto.
6085 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
6086 histograms during summary merging.
6087
613061fd
MK
60882012-09-01 Mark Kettenis <kettenis@openbsd.org>
6089
6090 * config.host (x86_64-*-openbsd*): New target.
73edb277 6091
867a8345
CLT
60922012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
6093
6094 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
6095 attribute.
6096
4aeaaca3
GJL
60972012-08-24 Georg-Johann Lay <avr@gjlay.de>
6098
6099 PR target/54222
6100 * config/avr/t-avr (conv_X): Rename to func_X.
6101
e55e4056
GJL
61022012-08-24 Georg-Johann Lay <avr@gjlay.de>
6103
6104 PR target/54222
6105 * config/avr/lib1funcs-fixed.S: New file.
6106 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
6107 after they are used.
6108 (neg2, neg4): New macros.
6109 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
6110 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
6111 (__umulhisi3): Speed up MUL variant if there is enough flash.
6112 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
6113 avr-modes.def.
6114 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
6115 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
6116 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
6117 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
6118 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
6119 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
6120 (LIB2FUNCS_EXCLUDE): Add supported functions.
6121
a147b6d2
GJL
61222012-08-22 Georg-Johann Lay <avr@gjlay.de>
6123
6124 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
6125 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
6126 libgcc-s-objects.
6127 * fixed-obj.mk: Only expand dependency if $o is not in
6128 LIB2FUNCS_EXCLUDE.
6129
c637141a
L
61302012-08-22 H.J. Lu <hongjiu.lu@intel.com>
6131
6132 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
6133
130e00bd
JM
61342012-08-22 Joseph Myers <joseph@codesourcery.com>
6135
6136 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
6137 depend on --enable-shared.
6138 ($(lib1asmfuncs-o)): Use %.vis files independent of
6139 --enable-shared.
6140 * static-object.mk ($(base)$(objext), $(base).vis)
6141 ($(base)_s$(objext)): Use same rules for visibility handling as in
6142 shared-object.mk.
6143
4b1b3788
ILT
61442012-08-21 Ian Lance Taylor <iant@google.com>
6145
6146 * config/i386/morestack.S (__morestack_non_split): Increase amount
6147 of space allocated for non-split code stack.
6148
d2468141
JM
61492012-08-19 Joseph Myers <joseph@codesourcery.com>
6150
6151 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
6152 even if inhibit_libc.
6153
a508e1a8
JB
61542012-08-17 Julian Brown <julian@codesourcery.com>
6155
6156 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
6157 -fexceptions -fnon-call-exceptions if not defined.
6158 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
6159 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
6160
5615a07d
AS
61612012-08-17 Andreas Schwab <schwab@linux-m68k.org>
6162
6163 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
6164 type.
6165
138f5acd
DE
61662012-08-16 David Edelsohn <dje.gcc@gmail.com>
6167
6168 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
6169 rs6000/t-slibgcc-aix.
6170
18efc0dd
SB
61712012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
6172
6173 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
6174
6b39bc38
SB
61752012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
6176
6177 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
6178
cd25dea0
L
61792012-08-03 H.J. Lu <hongjiu.lu@intel.com>
6180
6181 PR driver/54171
6182 * Makefile.in (version): Replace top_srcdir with srcdir.
6183
a3dda30b
JY
61842012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
6185
6186 * Makefile.in (version): set to BASE-VER file from gcc directory.
6187
d04aacfc
NC
61882012-08-01 Nick Clifton <nickc@redhat.com>
6189
6190 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
6191 Implements __clrsb for an HImode argument.
6192
0d13c974
NC
61932012-07-31 Nick Clifton <nickc@redhat.com>
6194
6195 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
6196 Implements __clrsb for an HImode argument.
6197 * config/stormy16/clrsbhi2.c: New file:
6198 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
6199
efbb59b2
SB
62002012-07-22 Steven Bosscher <steven@gcc.gnu.org>
6201
6202 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
6203
bf1431e3
TG
62042012-07-19 Tristan Gingold <gingold@adacore.com>
6205 Richard Henderson <rth@redhat.com>
6206
6207 * unwind-seh.c: New file.
6208 * unwind-generic.h: Include windows.h for SEH.
6209 (_Unwind_Exception): Use 6 private fields for SEH.
6210 (_GCC_specific_handler): Declare.
6211 * unwind-c.c (__gcc_personality_seh0): New function.
6212 Adjust for SEH.
6213 * config/i386/libgcc-cygming.ver: New file.
6214 * config/i386/t-seh-eh: New file.
6215 * config.host (x86_64-*-mingw*): Default to seh.
6216
659140c8
SB
62172012-07-14 Steven Bosscher <steven@gcc.gnu.org>
6218
6219 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
6220
a20d08fd
UB
62212012-06-17 Uros Bizjak <ubizjak@gmail.com>
6222
6223 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
6224 __builtin_expect when checking for exceptions.
6225 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
6226
79261115
UB
62272012-06-13 Uros Bizjak <ubizjak@gmail.com>
6228
4a172156
UB
6229 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
6230 function declaration.
6231 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
6232 (FP_RND_MASK): New.
6233 * config/ia64/sfp-exceptions.c: New.
6234 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
79261115 6235
bb5c97d4
UB
62362012-06-13 Uros Bizjak <ubizjak@gmail.com>
6237
6238 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
6239 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
6240 * config/i386/64/sfp-machine: ... (delete here) ...
6241 * config/i386/sfp-machine.h: ... to here.
6242 (FP_EX_MASK): Remove.
6243 (FP_RND_MASK): New.
6244 (FP_INIT_ROUNDMODE): Declare asm as volatile.
6245
91fe5efb
ST
62462012-06-11 Sriraman Tallam <tmsriram@google.com>
6247
6248 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
6249 * config/i386/libgcc-sol2.ver: Ditto.
6250 * config/i386/libgcc-glibc.ver: Ditto.
6251
67a218c5
RM
62522012-06-11 Roland McGrath <mcgrathr@google.com>
6253
6254 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
6255 If __GLIBC__ is defined, refer to __pthread_key_create instead of
6256 pthread_cancel.
6257
492fbea1
UB
62582012-06-09 Uros Bizjak <ubizjak@gmail.com>
6259
6260 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
6261 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
6262 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
6263 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
6264 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
6265 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
6266 * config/i386/64/sfp-machine: ... (delete here) ...
6267 * config/i386/sfp-machine.h: ... to here.
6268 (FP_EX_MASK): New.
6269 (__sfp_handle_exceptions): New function declaration.
6270 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
6271 * config/i386/sfp-exceptions.c: New.
6272 * config/i386/t-softfp: New.
6273 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
6274 i386/t-softfp to tmake_file.
6275
7b4cf266
DM
62762012-06-03 David S. Miller <davem@davemloft.net>
6277
6278 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
6279 change.
6280
0de0d5c6
DM
62812012-05-31 David S. Miller <davem@davemloft.net>
6282
6283 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
6284 multiply and divide instructions on 32-bit when V9.
6285 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
6286
d8c9d391
JM
62872012-05-29 Joseph Myers <joseph@codesourcery.com>
6288
6289 * config/arm/ieee754-df.S: Fix typos.
6290 * config/arm/ieee754-sf.S: Fix typos.
6291 * config/c6x/libunwind.S: Fix typos.
6292 * config/epiphany/udivsi3-float.c: Fix typos.
6293 * config/microblaze/muldi3_hard.S: Fix typos.
6294 * config/picochip/adddi3.S: Fix typos.
6295 * config/picochip/ashlsi3.S: Fix typos.
6296 * config/picochip/ashrsi3.S: Fix typos.
6297 * config/picochip/clzsi2.S: Fix typos.
6298 * config/picochip/cmpsi2.S: Fix typos.
6299 * config/picochip/divmod15.S: Fix typos.
6300 * config/picochip/divmodhi4.S: Fix typos.
6301 * config/picochip/divmodsi4.S: Fix typos.
6302 * config/picochip/longjmp.S: Fix typos.
6303 * config/picochip/lshrsi3.S: Fix typos.
6304 * config/picochip/parityhi2.S: Fix typos.
6305 * config/picochip/popcounthi2.S: Fix typos.
6306 * config/picochip/setjmp.S: Fix typos.
6307 * config/picochip/subdi3.S: Fix typos.
6308 * config/picochip/ucmpsi2.S: Fix typos.
6309 * config/picochip/udivmodhi4.S: Fix typos.
6310 * config/picochip/udivmodsi4.S: Fix typos.
6311 * config/spu/divv2df3.c: Fix typos.
6312 * config/spu/mfc_multi_tag_release.c: Fix typos.
6313 * config/spu/mfc_tag_release.c: Fix typos.
6314 * configure.ac: Fix typos.
6315 * configure: Regenerate.
6316
31a18a7e
ILT
63172012-05-25 Ian Lance Taylor <iant@google.com>
6318
6319 * config/i386/morestack.S (__morestack_non_split): Check whether
6320 caller is varargs and needs %bp to hold the stack frame on return.
6321
c5768510
OH
63222012-05-25 Olivier Hainque <hainque@adacore.com>
6323
6324 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
6325 sequence in the non pic case on VxWorks.
6326
7c7c339b
OH
63272012-05-24 Olivier Hainque <hainque@adacore.com>
6328
73fb7630 6329 * Makefile.in: Move dependency on install-unwind_h from
7c7c339b
OH
6330 "install-leaf" to "install".
6331
fdc1b7d3
OH
63322012-05-24 Olivier Hainque <hainque@adacore.com>
6333
6334 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
6335 Use a separate command for stamp removals.
6336
07ba94b9
AP
63372012-05-21 Andrew Pinski <apinski@cavium.com>
6338
6339 PR bootstrap/53183
6340 * configure.ac: Define the default includes to being none.
6341 * configure: Regenerate.
6342
4677d2eb
OH
63432012-05-16 Olivier Hainque <hainque@adacore.com>
6344
6345 * Makefile.in (install-unwind_h): Rename into ...
6346 (install-unwind_h-forbuild): New target.
6347 (all): Use it instead of the former install-unwind_h.
6348 (install-unwind_h): Reinstate, copy to user install destination
6349 for include files, not to the internal gcc object directory one.
6350 (install-leaf): Depend on it.
6351
7d67c380
OH
63522012-05-15 Olivier Hainque <hainque@adacore.com>
6353
6354 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
6355 register numbers. LR_REGNO replaces R_LR.
6356 (ucontext_for): New, helper for ...
6357 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
6358 and 5.3 of ...
6359 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
6360
aca06c90
RO
63612012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6362
6363 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
6364 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
6365 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
6366 i386/t-cpuinfo ...
6367 (i[34567]86-*-*, x86_64-*-*): ... here.
6368
6369 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
6370 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
6371
6372 * config/i386/i386-cpuinfo.c: Rename to ...
6373 * config/i386/cpuinfo.c: ... this.
6374 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
6375
6376 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
6377 (libgcc_cv_init_priority): New test.
6378 * configure: Regenerate.
6379 * config.in: New file.
6380 * Makefile.in (clean): Rename config.h to auto-target.h.
6381 (config.h): Likewise.
6382 (stamp-h): Likewise.
6383
6384 * config/i386/cpuinfo.c (auto-target.h): Include.
6385 (CONSTRUCTOR_PRIORITY): Define.
6386 (__cpu_indicator_init): Use it.
6387
0d03ac1b
L
63882012-05-09 H.J. Lu <hongjiu.lu@intel.com>
6389
6390 * longlong.h: Use a URL instead of an FSF postal address.
6391 Replace spaces with tab.
6392
4a172156 63932012-05-08 Teresa Johnson <tejohnson@google.com>
4e8ee9cb
TJ
6394
6395 * libgcov.c (gcov_clear, __gcov_reset): New functions.
6396 (__gcov_dump): Ditto.
6397 (gcov_dump_complete): New global variable.
6398 (gcov_exit): Export hidden to enable use in L_gcov_dump.
6399 (__gcov_flush): Outline functionality now in gcov_clear.
6400 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
6401
e4bb767e
AJ
64022012-04-28 Aurelien Jarno <aurelien@aurel32.net>
6403
31a18a7e
ILT
6404 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
6405 (mips*-*-linux*): Include mips/t-tpbit when long double is
6406 16 bytes long.
e4bb767e 6407
5ddecff9
ST
64082012-04-25 Sriraman Tallam <tmsriram@google.com>
6409
6410 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
6411 (get_available_features): New argument. Check for AVX2.
6412 (__cpu_indicator_init): Modify call to get_available_features.
6413
b427dd7a
AM
64142012-04-25 Alan Modra <amodra@gmail.com>
6415
6416 * config/rs6000/crtsavevr.S: New file.
6417 * config/rs6000/crtrestvr.S: New file.
6418 * config/rs6000/t-savresfgpr: Build the above.
6419 * config/rs6000/t-netbsd: Likewise.
6420
ad491329
ST
64212012-04-24 Sriraman Tallam <tmsriram@google.com>
6422
6423 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
6424
792317cc
ST
64252012-04-24 Sriraman Tallam <tmsriram@google.com>
6426
6427 * libgcc/config/i386/i386-cpuinfo.c: New file.
6428 * libgcc/config/i386/t-cpuinfo: New file.
6429 * libgcc/config.host: Include t-cpuinfo.
6430 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
6431
e1be98a4
CF
64322012-04-24 Chao-ying Fu <fu@mips.com>
6433
6434 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
6435
1bde7dab
TS
64362012-04-20 Thomas Schwinge <thomas@codesourcery.com>
6437
6438 struct siginfo vs. siginfo_t
6439
6440 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
6441 siginfo_t instead of struct siginfo.
6442 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
6443 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
6444 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
6445 (ia64_handle_unwabi): Likewise.
6446 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
6447 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
6448 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
6449 (sh_fallback_frame_state): Likewise.
6450 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
6451 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
6452
24590f66
L
64532012-04-02 H.J. Lu <hongjiu.lu@intel.com>
6454
6455 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
6456 system call number.
6457
9a9dcce8
EB
64582012-03-31 Eric Botcazou <ebotcazou@adacore.com>
6459
6460 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
6461 if it hasn't been previously saved.
6462
6401aaf5
L
64632012-03-29 H.J. Lu <hongjiu.lu@intel.com>
6464
6465 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
6466 only for glibc.
6467
7fd6378e
GJL
64682012-03-28 Georg-Johann Lay <avr@gjlay.de>
6469
6470 PR target/52737
6471 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
6472 instead of __AVR_HAVE_8BIT_SP__.
6473
9e916de7
TG
64742012-03-26 Tristan Gingold <gingold@adacore.com>
6475
6476 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
6477 (unw_table_entry): Use unw_word instead of unsigned long.
6478 (_Unwind_FindTableEntry): Likewise.
6479 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
6480 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
6481 (_Unwind_FindTableEntry): Likewise.
6482 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
6483 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
6484 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
6485 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
6486 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
6487 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
6488 (uw_init_context_1, uw_install_context): Likewise.
6489 (unw_word): Move to unwind-ia64.h
6490
4b12e93d
TG
64912012-03-26 Tristan Gingold <gingold@adacore.com>
6492
6493 * config/vms/vms-ucrt0.c: Update copyright years.
6494 Add a sanity check.
6495 (___gcc_main_flags): Declare.
6496 (__main): Check flags to remap argv and exit code.
6497 * config.host (*-*-*vms*): Adjust extra_parts.
6498 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
6499 (crt0.o): Add.
6500
06ea7371
RE
65012012-03-22 Richard Earnshaw <rearnsha@arm.com>
6502
6503 * arm/lib1funcs.asm (ctzsi2): New function.
6504 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
6505 * arm/t-linux (LIB1ASMFUNCS): Likewise.
6506 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
6507 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
6508 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
6509 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
6510
d82ad50d
AT
65112012-03-21 Andreas Tobler <andreast@fgznet.ch>
6512
6513 * config.host: Add bits to support powerpc64-*-freebsd*.
6514 * config/rs6000/freebsd-unwind.h: New file.
6515 * config/rs6000/t-freebsd64: New file.
6516
b260a8c0
RG
65172012-03-20 Richard Guenther <rguenther@suse.de>
6518
6519 PR gcov-profile/52627
6520 * libgcov.c (init_mx): Fix mutex name.
6521
86286a8a
TG
65222012-03-16 Tristan Gingold <gingold@adacore.com>
6523
6524 * config/ia64/vms-unwind.h: Remove ulong (and replace
6525 it by unw_reg where used). Define unw_reg with __int64.
6526
7888f266
RO
65272012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6528
6529 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
6530 Solaris 8 handling.
6531 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
6532 Solaris 8 handling.
6533 (sparc_is_sighandler): Likewise.
6534
f155bc64
L
65352012-03-13 H.J. Lu <hongjiu.lu@intel.com>
6536
6537 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
6538 <= saved reg size.
6539
d47657bd
RO
65402012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6541
6542 * config/arm/crtn.S: Fix typo.
6543
5bef73a1
RG
65442012-03-13 Richard Guenther <rguenther@suse.de>
6545
6546 * libgcov.c: Remove stdio.h include and NULL un-define.
6547
9c4271f3
RG
65482012-03-13 Richard Guenther <rguenther@suse.de>
6549
6550 PR target/52569
6551 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
6552
c6d10e7c
RG
65532012-03-13 Richard Guenther <rguenther@suse.de>
6554
6555 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
6556
074a385f
RG
65572012-03-13 Richard Guenther <rguenther@suse.de>
6558
6559 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
6560 and __gthread_mutex_init_function definitions.
6561
c4bc5c25
RO
65622012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6563
6564 * config.host (mips*-*-openbsd*): Remove.
6565
5c30094f
RO
65662012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6567
6568 * config.host: Remove alpha*-dec-osf5.1* handling.
6569 * config/alpha/gthr-posix.c: Remove.
6570 * config/alpha/libgcc-osf5.ver: Remove.
6571 * config/alpha/osf5-unwind.h: Remove.
6572 * config/alpha/t-osf-pthread: Remove.
6573 * config/alpha/t-slibgcc-osf: Remove.
6574 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
6575 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
6576 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
6577 * mkmap-flat.awk: Remove osf_export handling.
6578
33e3e24d
RG
65792012-03-12 Richard Guenther <rguenther@suse.de>
6580
6581 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
6582 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
6583 (__gthread_mutex_init_function): New function.
6584 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
6585
6586 PR gcov/49484
6587 * libgcov.c: Include gthr.h.
6588 (__gcov_flush_mx): New global variable.
6589 (init_mx, init_mx_once): New functions.
6590 (__gcov_flush): Protect self with a mutex.
6591 (__gcov_fork): Re-initialize mutex after forking.
6592 * unwind-dw2-fde.c: Change condition under which to use
6593 __GTHREAD_MUTEX_INIT_FUNCTION.
6594
d8aba32a
TG
65952012-03-12 Tristan Gingold <gingold@adacore.com>
6596
6597 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
6598 * config/ia64/t-vms: Likewise.
6599
75ffafdc
MH
66002012-03-11 Michael Hope <michael.hope@linaro.org>
6601
4a172156
UB
6602 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
6603 for Thumb-2.
75ffafdc 6604
ef6c2c53
WL
66052012-03-07 Walter Lee <walt@tilera.com>
6606
6607 * config/tilepro/atomic.c: Rename "atomic_" prefix to
6608 "arch_atomic_".
6609 (atomic_xor): Rename and move definition to
6610 config/tilepro/atomic.h.
6611 (atomic_nand): Ditto.
6612 * config/tilepro/atomic.h: Rename "atomic_" prefix to
6613 "arch_atomic_".
6614 (arch_atomic_xor): Move from config/tilepro/atomic.c.
6615 (arch_atomic_nand): Ditto.
6616
4e30d980
GJL
66172012-03-07 Georg-Johann Lay <avr@gjlay.de>
6618
6619 PR target/52507
6620 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
6621
61108225
GJL
66222012-03-07 Georg-Johann Lay <avr@gjlay.de>
6623
6624 PR target/52505
6625 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
6626 from RAM.
6627
b30e10ab
GJL
66282012-03-07 Georg-Johann Lay <avr@gjlay.de>
6629
6630 PR target/52461
6631 PR target/52508
6632 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
6633 if RAMPZ affects reading from RAM.
6634 (__tablejump_elpm__): Ditto.
6635 (.xload): Ditto.
6636 (__movmemx_hi): Ditto.
6637 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
6638 (__do_global_dtors): Ditto.
6639 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
6640 (__movmemx_hi): Ditto.
6641
8993fde4
RH
66422012-03-05 Richard Henderson <rth@redhat.com>
6643
6644 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
6645 [ARM] (count_trailing_zeros): Use the builtin.
6646
b7633ee3
KT
66472012-03-01 Kai Tietz <ktietz@redhat.com>
6648
6649 * soft-fp: Imported from glibc upstream.
6650
fbd3340c
KT
66512012-02-28 Kai Tietz <ktietz@redhat.com>
6652
6653 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
6654 for mingw-targets as attribute gcc_struct.
6655
e9e053eb
ILT
66562012-02-28 Ian Lance Taylor <iant@google.com>
6657
6658 * generic-morestack.c (__splitstack_releasecontext): Correct call
6659 to __morestack_release_segments.
6660
d80c632e
ST
66612012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
6662
6663 PR target/52390
6664 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
6665 for __linux__ when removing signals from __morestack_fullmask.
6666
0253a8b1
GJL
66672012-02-23 Georg-Johann Lay <avr@gjlay.de>
6668
6669 PR target/52261
6670 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
6671
e10e461e
UW
66722012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6673
6674 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
6675 instead of HAVE_INITFINI_ARRAY.
6676 * config/ia64/crtend.S: Likewise.
6677
0c0c6398
KT
66782012-02-20 Kai Tietz <ktietz@redhat.com>
6679
d7470374
KT
6680 PR libstdc++/52300
6681 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
6682
0c0c6398
KT
6683 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
6684 to w32-unwind.h header.
6685
78c27266
RS
66862012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
6687
6688 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
6689 (mips*-*-linux*): Remove t-slibgcc-libgcc.
6690 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
6691 * config/mips/mips16.S (__mips16_rdhwr): Delete.
6692
5adeb246
RS
66932012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
6694
6695 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
6696
672ed313
IS
66972012-02-15 Iain Sandoe <iains@gcc.gnu.org>
6698
6699 PR libitm/52220
6700 * config/darwin-crt-tm.c: Correct typo.
e9e053eb 6701
e948a1fb
IS
67022012-02-15 Iain Sandoe <iains@gcc.gnu.org>
6703 Patrick Marlier <patrick.marlier@gmail.com>
6704
6705 PR libitm/52220
6706 * config/darwin-crt-tm.c: Generate dummy functions.
6707
6017aed3
IS
67082012-02-15 Iain Sandoe <iains@gcc.gnu.org>
6709 Patrick Marlier <patrick.marlier@gmail.com>
6710
6711 PR libitm/52042
6712 * config/darwin-crt-tm.c (getTMCloneTable): New function.
6713 (__doTMRegistrations): Call it.
e9e053eb 6714 (__doTMdeRegistrations): Likewise.
6017aed3 6715
2da8c1ad 67162012-01-15 Georg-Johann Lay <avr@gjlay.de>
7d296953
JJ
6717 Anatoly Sokolov <aesok@post.ru>
6718 Eric Weddington <eric.weddington@atmel.com>
2da8c1ad
GJL
6719
6720 PR target/52261
6721 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
6722 (__epilogue_restores__): Ditto.
6723
0f952eb4
EB
67242012-02-15 Eric Botcazou <ebotcazou@adacore.com>
6725
6726 PR target/51921
6727 PR target/52205
6728 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
6729 Solaris 11 and slightly reformat.
6730 (sparc_is_sighandler): Likewise.
6731
dd552284
WL
67322012-02-14 Walter Lee <walt@tilera.com>
6733
6734 * config.host: Handle tilegx and tilepro.
6735 * config/tilegx/sfp-machine.h: New file.
6736 * config/tilegx/sfp-machine32.h: New file.
6737 * config/tilegx/sfp-machine64.h: New file.
6738 * config/tilegx/t-crtstuff: New file.
6739 * config/tilegx/t-softfp: New file.
6740 * config/tilegx/t-tilegx: New file.
6741 * config/tilepro/atomic.c: New file.
6742 * config/tilepro/atomic.h: New file.
6743 * config/tilepro/linux-unwind.h: New file.
6744 * config/tilepro/sfp-machine.h: New file.
6745 * config/tilepro/softdivide.c: New file.
6746 * config/tilepro/softmpy.S: New file.
6747 * config/tilepro/t-crtstuff: New file.
6748 * config/tilepro/t-tilepro: New file.
6749
b59cbd50
JW
67502012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
6751
6752 PR libstdc++/51296
6753 PR libstdc++/51906
6754 * gthr-posix.h: Allow static initializer macros to be disabled.
6755 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
6756
6caf807f
CLT
67572012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
6758
6759 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
6760 Add t-slibgcc-libgcc to tmake_file.
6761 * config/mips/libgcc-mips16.ver: Revert previous patch.
6762 * config/mips/mips16.S (__mips16_rdhwr): Hide.
6763
7d296953
JJ
67642012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
6765 Jayant R Sonar <jayant.sonar@kpitcummins.com>
b25364a0
S
6766
6767 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
6768 * config/cr16/crti.S: New file.
6769 * config/cr16/crtlibid.S: New file.
6770 * config/cr16/crtn.S: New file.
6771 * config/cr16/lib1funcs.S: New file.
6772 * config/cr16/t-cr16: New file.
6773 * config/cr16/t-crtlibid: New file.
6774 * config/cr16/unwind-dw2.h: New file.
6775 * config/cr16/unwind-cr16.c: New file.
6776 * config/cr16/divmodhi3.c: New file.
6777
8ef03aa7
AM
67782012-01-25 Alan Modra <amodra@gmail.com>
6779
6780 * config/rs6000/t-linux64: Delete. Move..
6781 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
6782 * config/rs6000/t-linux: ..and libgcc flags to here.
6783
daecebc8
DR
67842012-01-22 Douglas B Rupp <rupp@gnat.com>
6785
6786 * config.host (i[34567]86-*-interix3*):
8ef03aa7 6787 Change triplet to i[34567]86-*-interix[3-9]*.
daecebc8
DR
6788 * configure: Regenerate.
6789
ddaf8125
RS
67902012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
6791 Richard Sandiford <rdsandiford@googlemail.com>
6792
6793 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
6794 * config/mips/mips16.S (__mips16_rdhwr): New function.
6795 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
6796
2cd8b32c
NS
67972012-01-11 Nathan Sidwell <nathan@acm.org>
6798
6799 * libgcov.c (__gcov_init): Ignore objects with no functions.
6800
cba300dd
GJL
68012012-01-10 Georg-Johann Lay <avr@gjlay.de>
6802
6803 PR target/49868
6804 Extend __pgmx semantics to linearize memory.
6805 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
6806 * config/avr/lib1funcs.S (__xload_1): New function.
6807 (__movmemx_qi, __movmemx_hi): New functions.
6808 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
6809 semantics.
9ffaf4bc 6810
3d137660
EB
68112012-01-09 Eric Botcazou <ebotcazou@adacore.com>
6812
6813 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
6814 purported sigacthandler address isn't null before dereferencing it.
6815 (sparc_is_sighandler): Likewise.
6816
bf4db96c
EB
68172012-01-09 Eric Botcazou <ebotcazou@adacore.com>
6818
6819 PR ada/41929
6820 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
6821 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
6822 (sparc_is_sighandler): Likewise.
6823 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
6824
1ab3568b
TG
68252012-01-06 Tristan Gingold <gingold@adacore.com>
6826
6827 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
6828 compatibility thunks...
6829 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
6830 (crtbeginS.o, crtendS.o): ... and these to ...
6831 * config/ia64/t-ia64-elf: ... this new file.
6832 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
6833 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
6834
925b0ed8
AK
68352012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6836
6837 * configure: Regenerate.
6838 * config/s390/t-crtstuff: Remove -fPIC.
6839
a99ad737
JW
68402012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
6841
6842 PR bootstrap/51006
6843 * enable-execute-stack-mprotect.c (getpagesize): Do not define
6844 for NetBSD.
6845
884f56d1
GJL
68462012-01-02 Georg-Johann Lay <avr@gjlay.de>
6847
6848 PR target/51345
6849 * config/avr/lib1funcs.S: Remove FIXME comments.
6850 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
6851
8c57e547
GJL
68522012-01-02 Georg-Johann Lay <avr@gjlay.de>
6853
6854 Implement light-weight DImode support.
6855 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
6856 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
6857 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
6858 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
6859
04dbc287
NS
68602011-12-30 Nathan Sidwell <nathan@acm.org>
6861
6862 * libgcov.c (gcov_crc32): Remove global var.
6863 (free_fn_data): New function.
6864 (buffer_fn_data): Pass in filename, more robust error recovery.
6865 (crc32_unsigned): New function.
6866 (gcov_exit): More robust detection of new program. More robust
6867 error recovery.
6868 (__gcov_init): Do not update program's crc here.
6869
8e1d97d4
TG
68702011-12-21 Tristan Gingold <gingold@adacore.com>
6871
6872 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
6873
9ffaf4bc
ILT
68742011-12-21 Ian Lance Taylor <iant@google.com>
6875
6876 * config/i386/morestack.S: Simplify CFI opcodes throughout.
6877
a0c8d0c1
ILT
68782011-12-20 Ian Lance Taylor <iant@google.com>
6879
6880 * config/i386/morestack.S (__morestack_non_split): If there is
6881 enough stack space already, don't split. Ask for more stack space
6882 than we required.
6883
69048898
SDJ
68842011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
6885
6886 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
6887 `sys/sdt.h'.
6888 (_Unwind_DebugHook): New function.
6889 (uw_restore_core_regs): New define.
6890 (unwind_phase2): Use uw_restore_core_regs instead of
6891 restore_core_regs.
6892 (unwind_phase2_forced): Likewise.
6893 (__gnu_Unwind_Resume): Likewise.
6894
1bb4b6a3
UB
68952011-12-20 Uros Bizjak <ubizjak@gmail.com>
6896
6897 * config/alpha/linux-unwind.h: Update copyright years.
6898 (MD_FROB_UPDATE_CONTEXT): New define.
6899 (alpha_frob_update_context): New function.
6900
eb028768
RS
69012011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
6902
6903 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
6904 tmake_file rather replacing it.
6905
6a2045bf
IS
69062011-12-15 Iain Sandoe <iains@gcc.gnu.org>
6907
6908 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
1bb4b6a3 6909 function is not used for PPC64.
6a2045bf
IS
6910 (save_world): Amend comments. Update the VRsave mask to reflect the
6911 saved regs.
6912 (rest_world): Update comments, do not clobber r10, do not use r8.
6913 (eh_rest_world_r10): Amend comments, do not use r8.
6914 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
6915 no longer used, move restore of CR and target address to the end of
6916 the routine.
6917
a13780a6
L
69182011-12-14 H.J. Lu <hongjiu.lu@intel.com>
6919
6920 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
6921 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
6922
d7288dfb
GJL
69232011-12-14 Georg-Johann Lay <avr@gjlay.de>
6924
6925 PR target/49313
6926 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
6927 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
6928
8d2c862d
EB
69292011-12-11 Eric Botcazou <ebotcazou@adacore.com>
6930
6931 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
6932
3447cae6
GJL
69332011-12-09 Georg-Johann Lay <avr@gjlay.de>
6934
6935 PR target/49313
6936 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
6937 * config/avr/lib1funcs.S (__muldi3): New function.
6938
806fc6aa
AP
69392011-12-06 Andrew Pinski <apinski@cavium.com>
6940
6941 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
6942 size of func_ptr.
6943 (__frame_dummy_init_array_entry): Likewise.
6944
28c5e6b5
GJL
69452011-12-06 Georg-Johann Lay <avr@gjlay.de>
6946
6947 Forward-port from gcc-4_6-branch r181936 2011-12-02.
6948
6949 PR target/51345
6950 PR target/51002
6951 * config/avr/lib1funcs.S (__prologue_saves__,
6952 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
6953 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
6954
8f90394a
IS
69552011-12-04 Iain Sandoe <iains@gcc.gnu.org>
6956
6957 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
6958
06dd33ac
JDA
69592011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
6960
6961 PR other/51272
6962 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
6963 (_ITM_deregisterTMCloneTable): Likewise.
6964 (__register_frame_info): Fix unused warning.
6965 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
6966 pthread_default_stacksize_np): Likewise.
6967 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
1bb4b6a3 6968
85b8555e
DD
69692011-11-29 DJ Delorie <dj@redhat.com>
6970
6971 * config.host (rl78-*-elf): New case.
6972 * config/rl78: New directory for the Renesas RL78.
6973
4d5ae4ea
BS
69742011-11-29 Bernd Schmidt <bernds@codesourcery.com>
6975
6976 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
6977 formatting.
6978
f9c55897
RO
69792011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6980
6981 PR other/51022
6982 * config/rs6000/t-savresfgpr: New file.
6983 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
6984 $(srcdir)/config/rs6000/eabi.S.
6985 * config/rs6000/t-ppccomm-ldbl: Remove.
6986 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
6987 tmake_file.
6988 (powerpc-*-eabispe*): Likewise.
6989 (powerpc-*-eabi*): Likewise.
6990 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
6991 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
6992 to tmake_file, remove rs6000/t-ppccomm-ldbl.
6993 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
6994 tmake_file.
6995 (powerpc-*-eabisim*): Likewise.
6996 (powerpc-*-elf*): Likewise.
6997 (powerpc-*-eabialtivec*): Likewise.
6998 (powerpc-xilinx-eabi*): Likewise.
6999 (powerpc-*-rtems*): Likewise.
7000 (powerpcle-*-elf*): Likewise.
7001 (powerpcle-*-eabisim*): Likewise.
7002 (powerpcle-*-eabi*): Likewise.
7003
a01207c4
ILT
70042011-11-27 Ian Lance Taylor <iant@google.com>
7005
7006 * generic-morestack.c (__splitstack_find): Check for NULL old
7007 stack value.
7008 (__splitstack_resetcontext): New function.
7009 (__splitstack_releasecontext): New function.
7010 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
7011
2b0b8ab2
IS
70122011-11-27 Iain Sandoe <iains@gcc.gnu.org>
7013
7014 * config/darwin-crt-tm.c: Correct comments, use correct licence.
7015
c1d8101c
IS
70162011-11-27 Iain Sandoe <iains@gcc.gnu.org>
7017
7018 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
7019
8b281334
RH
70202011-11-26 Richard Henderson <rth@redhat.com>
7021
7022 * config/m68k/linux-atomic.c: New file.
7023 * config/m68k/t-linux: New file.
7024 * config.host (m68k-uclinux, m68k-linux): Use it.
7025
7546aa9d
RH
70262011-11-26 Richard Henderson <rth@redhat.com>
7027
7028 * crtstuff.c (__TMC_LIST__): Mark used not unused.
7029 (__TMC_END__): Only declare if hidden is available; in the definition,
7030 if hidden is unavailable add a null record.
7031 (deregister_tm_clones, register_tm_clones): New.
7032 (__do_global_dtors_aux, frame_dummy): Use them.
7033 (__do_global_dtors, __do_global_ctors_1): Likewise.
7034
e2362f5d
IS
70352011-11-22 Iain Sandoe <iains@gcc.gnu.org>
7036
7037 * config/darwin-crt-tm.c: New file.
7038 * config.host (darwin): Build crttms.o crttme.o to provide
7039 startup and shutdown for tm clones.
7040 * config/t-darwin (crttms.o): New build rule.
7041 (crttme.o): Likewise.
7042
6685dd96
HPN
70432011-11-21 Hans-Peter Nilsson <hp@axis.com>
7044
7045 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
7046 et al.
7047
b0dc7e4c
RH
70482011-11-21 Richard Henderson <rth@redhat.com>
7049
7050 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
7051 (__TMC_LIST__, __TMC_END__): New.
7052 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
7053 (__do_global_dtors): Likewise.
7054 (frame_dummy): Call _ITM_registerTMCloneTable.
7055 (__do_global_ctors_1): Likewise.
7056
d4b4b542
RO
70572011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7058
7059 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
7060 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
7061 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
7062 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
7063 * config/i386/t-darwin64: Remove.
7064 * config/sh/t-netbsd (LIB2ADD): Remove.
7065
989bdb74
GJL
70662011-11-21 Georg-Johann Lay <avr@gjlay.de>
7067
7068 PR target/49313
7069 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
7070 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
7071 * config/avr/lib1funcs.S (wmov): New assembler macro.
7072 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
7073 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
7074 (__udivmod64): New function.
7075 (__negdi2): New function.
7076
515a0cfc
GP
70772011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
7078
7079 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
7080 *-*-freebsd*aout*): Remove.
7081
0115d17f
HPN
70822011-11-20 Hans-Peter Nilsson <hp@axis.com>
7083
7084 * static-object.mk (c_flags-$o): Save c_flags.
7085 ($(base)$(objext)): Use it.
7086
93aeb62b
SE
70872011-11-18 Steve Ellcey <sje@cup.hp.com>
7088
7089 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
7090
7bc6df2c
GJL
70912011-11-18 Georg-Johann Lay <avr@gjlay.de>
7092
7093 PR target/49868
7094 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
7095 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
7096 New functions.
7097
425d737b
MGD
70982011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
7099
7100 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
7101 functions.
1bb4b6a3 7102 (aeabi_uidivmod): Likewise.
425d737b
MGD
7103 (umodsi3): Likewise.
7104 (divsi3): Likewise.
7105 (aeabi_idivmod): Likewise.
7106 (modsi3): Likewise.
7107
f2a176dc
TG
71082011-11-16 Tristan Gingold <gingold@adacore.com>
7109
7110 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
7111
7c209481
GJL
71122011-11-15 Georg-Johann Lay <avr@gjlay.de>
7113
7114 PR target/49868
7115 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
7116 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
7117
9dfd5832
JDA
71182011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
7119
7120 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
7121 tmake_file list.
7122 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
7123 * config/pa/t-stublib64: Delete.
7124
f77dca5d
RH
71252011-11-12 Richard Henderson <rth@redhat.com>
7126
7127 * config/rs6000/linux-unwind.h (frob_update_context): Properly
7128 cast the pointer argument to _Unwind_SetGRPtr.
7129
902828f0
RO
71302011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7131
7132 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
7133
e14304ef
ILT
71342011-11-09 Ian Lance Taylor <iant@google.com>
7135
7136 * generic-morestack.c: Include <string.h>.
7137 (uintptr_type): Define.
7138 (struct initial_sp): Add dont_block_signals field. Reduce size of
7139 extra array by 1.
7140 (allocate_segment): Set prev field to NULL. Don't set
7141 __morestack_current_segment or __morestack_segments.
7142 (__generic_morestack): Update current->prev and *pp after calling
7143 allocate_segment.
7144 (__morestack_block_signals): Don't do anything if
7145 dont_block_signals is set.
7146 (__morestack_unblock_signals): Likewise.
7147 (__generic_findstack): Check for initial_sp == NULL. Add casts to
7148 uintptr_type.
7149 (__splitstack_block_signals): New function.
7150 (enum __splitstack_content_offsets): Define.
7151 (__splitstack_getcontext, __splitstack_setcontext): New functions.
7152 (__splitstack_makecontext): New function.
7153 (__splitstack_block_signals_context): New function.
7154 (__splitstack_find_context): New function.
7155 * config/i386/morestack.S (__morestack_get_guard): New function.
7156 (__morestack_set_guard, __morestack_make_guard): New functions.
7157 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
7158
e3d871e4
RO
71592011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7160
7161 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
7162 (i[34567]86-*-mingw*): ... here.
7163 (x86_64-*-mingw*): ... here.
7164
e55cef40
RO
71652011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7166
7167 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
7168
5366b186
NS
71692011-11-07 Nathan Sidwell <nathan@acm.org>
7170
7171 * libgcov.c (struct gcov_fn_buffer): New struct.
7172 (buffer_fn_data): New helper.
7173 (gcov_exit): Rework for new gcov data structures.
7174
74155a6f
GJL
71752011-11-07 Georg-Johann Lay <avr@gjlay.de>
7176
7177 PR target/49313
7178 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
7179
200feb07
RO
71802011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7181
7182 * config.host (tmake_file): Correct comment.
7183 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
7184 t-libgcc-pic.
7185 (bfin*-uclinux*): Likewise.
7186 (bfin*-linux-uclibc*): Likewise.
7187 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
7188
7189 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
7190 assigning.
7191 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7192 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
7193 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7194 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
7195 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7196 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
7197 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
7198 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7199 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
7200 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
7201 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
7202 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
7203 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
7204
7205 * config/bfin/t-elf: Remove.
7206 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
7207
c9cd1a07
RO
72082011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7209
7210 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
7211 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
7212 (lm32-*-elf*, lm32-*-rtems*): Split into ...
7213 (lm32-*-elf*): ... this.
7214 (lm32-*-rtems*): ... and this.
7215 Add to tmake_file.
7216 (m32r-*-rtems*): Add to tmake_file.
7217 (moxie-*-rtems*): Likewise.
7218 (sparc-*-rtems*): Likewise.
7219 Remove t-rtems from tmake_file.
7220 (sparc64-*-rtems*): Likewise.
7221 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
7222 instead.
7223
9fbcc75d
RO
72242011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7225
7226 PR bootstrap/50982
7227 * config/gthr-posix.h: Move ...
7228 * gthr-posix.h: ... here.
7229 * config/gthr-lynx.h: Reflect this.
7230 * config/gthr-vxworks.h: Likewise.
7231 * config/rs6000/gthr-aix.h: Likewise.
7232 * configure.ac (target_thread_file): Likewise.
7233 * configure: Regenerate.
7234
76644b68
SH
72352011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
7236
7237 * config.host (arm*-*-rtemseabi*): New target.
7238
5e490f2a
JDA
72392011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
7240
7241 PR other/50991
7242 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
7243 extra-parts.
7244
feeeff5c
JR
72452011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
7246
7247 * config.host (epiphany-*-elf*): New configuration.
7248 * config/epiphany: New Directory.
7249
d618bb2c
RC
72502011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
7251
7252 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
7253 * config/avr/t-rtems: New.
7254 Filter out _exit from LIB1ASMFUNCS.
7255
1bb6f778
DM
72562011-11-04 David S. Miller <davem@davemloft.net>
7257
7258 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
7259 * configure: Rebuild.
7260
9a7f7422
AK
72612011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7262
7263 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
7264 variable.
7265
e4fe948a
GJL
72662011-11-04 Georg-Johann Lay <avr@gjlay.de>
7267
7268 PR target/50931
7269 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
7270 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
7271
7084e037
JS
72722011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
7273
7274 PR target/50989
7275 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
7276
1a032034
RO
72772011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7278
7279 * config/c6x/t-elf (LIB2ADDEH): Set.
7280 * config/c6x/t-c6x-elf: Remove.
7281
d385f772
RO
72822011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7283
7284 * config/i386/sol2-ci.S: Rename to ...
7285 * config/i386/crti.S: ... this.
7286 * config/i386/sol2-cn.S: Rename to ...
7287 * config/i386/crtn.S: ... this.
7288 * config/sparc/sol2-ci.S: Rename to ...
7289 * config/sparc/crti.S: ... this.
7290 * config/sparc/sol2-cn.S: Rename to ...
7291 * config/sparc/crtn.S: ... this.
7292 * config/t-sol2 (CUSTOM_CRTIN): Remove.
7293 (crti.o, crtn.o): Remove.
7294
1ba878a9
TG
72952011-11-04 Tristan Gingold <gingold@adacore.com>
7296
7297 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
7298
02750c15
KK
72992011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
7300
7301 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
7302
bf86b067
HPN
73032011-11-03 Hans-Peter Nilsson <hp@axis.com>
7304
7305 * config.host (crisv32-*-none, cris-*-none): Remove.
7306 (crisv32-*-elf): Append to tmake_file, don't just set it.
7307 (cris-*-elf): Add missing t-fdpbit to tmake_file.
7308
d0bc53bd
RO
73092011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7310
7311 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
7312 (ecrtn$(objext)): Likewise.
7313 (ncrti$(objext)): Likewise.
7314 (ncrtn$(objext)): Likewise.
7315
036da830
AS
73162011-11-03 Andreas Schwab <schwab@redhat.com>
7317
7318 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
7319
d2a7d041
DM
73202011-11-02 David S. Miller <davem@davemloft.net>
7321
7322 * configure.ac: Set host_address on sparc too.
7323 * configure: Regenerate.
7324 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
7325 based upon host_address.
7326 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
7327
af8ed618
JM
73282011-11-02 Jason Merrill <jason@redhat.com>
7329
7330 * config/rs6000/t-ppccomm: Add missing \.
7331
5d1c8e77
RO
73322011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7333
7334 * gthr-single.h, gthr.h: New files.
7335 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
7336 config/gthr-vxworks.h, config/i386/gthr-win32.h,
7337 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
7338 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
7339 * config/i386/gthr-win32.c: Include "gthr-win32.h".
7340 * configure.ac (thread_header): New variable.
7341 Set it depending on target_thread_file.
7342 (gthr-default.h): Link from $thread_header.
7343 * configure: Regenerate.
7344 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
7345
852b75ed
RO
73462011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7347
7348 * configure.ac (tm_file_): New variable.
7349 Determine from tm_file.
7350 (tm_file, tm_defines): Substitute.
7351 * configure: Regenerate.
7352 * mkheader.sh: New file.
7353 * Makefile.in (clean): Remove libgcc_tm.h.
7354 ($(objects)): Depend on libgcc_tm.h.
7355 (libgcc_tm_defines, libgcc_tm_file): New variables.
7356 (libgcc_tm.h, libgcc_tm.stamp): New targets.
7357 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
7358 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
7359 ($(extra-parts)): Depend on libgcc_tm.h.
7360 * config.host (tm_defines, tm_file): New variable.
7361 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
7362 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
7363 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
7364 (avr-*-rtems*): Likewise.
7365 (avr-*-*): Likewise.
7366 (frv-*-elf): Likewise.
7367 (frv-*-*linux*): Likewise.
7368 (h8300-*-rtems*): Likewise.
7369 (h8300-*-elf*): Likewise.
7370 (i[34567]86-*-darwin*): Likewise.
7371 (x86_64-*-darwin*): Likewise.
7372 (rx-*-elf): Likewise.
7373 (tic6x-*-uclinux): Likewise.
7374 (tic6x-*-elf): Likewise.
7375 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
7376 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
7377 * config/i386/cygming-crtbegin.c: Likewise.
7378 * config/i386/cygming-crtend.c: Likewise.
7379 * config/ia64/fde-vms.c: Likewise.
7380 * config/ia64/unwind-ia64.c: Likewise.
7381 * config/libbid/bid_gcc_intrinsics.h: Likewise.
7382 * config/rs6000/darwin-fallback.c: Likewise.
7383 * config/stormy16/lib2funcs.c: Likewise.
7384 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
7385 * crtstuff.c: Likewise.
7386 * dfp-bit.h: Likewise.
7387 * emutls.c: Likewise.
7388 * fixed-bit.c: Likewise.
7389 * fp-bit.c: Likewise.
7390 * generic-morestack-thread.c: Likewise.
7391 * generic-morestack.c: Likewise.
7392 * libgcc2.c: Likewise.
7393 * libgcov.c: Likewise.
7394 * unwind-dw2-fde-dip.c: Likewise.
7395 * unwind-dw2-fde.c: Likewise.
7396 * unwind-dw2.c: Likewise.
7397 * unwind-sjlj.c: Likewise.
7398
f9989b51
RO
73992011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7400
7401 * configure.ac: Include ../config/picflag.m4.
7402 (GCC_PICFLAG): Call it.
7403 Substitute.
7404 * configure: Regenerate.
7405 * Makefile.in (gcc_srcdir): Remove.
7406 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
7407 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
7408 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
7409 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
7410 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
7411 Use $<.
7412 Remove comment.
7413 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
7414 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
7415 to refer to libgcc2.c.
7416 Use $<.
7417 * config/darwin-64.c: New file.
7418 * config/darwin-crt3.c: Remove comment.
7419 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
7420 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
7421 config/udivmodsi4.c: New files.
7422 * config/memcmp.c, config/memcpy.c, config/memmove.c,
7423 config/memset.c: New files.
7424 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
7425 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
7426 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
7427 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
7428 * config/t-openbsd-thread: New file.
7429 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
7430 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
7431 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
7432 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
7433 qrnnd.S.
7434 Adapt filename.
7435 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
7436 to refer to gthr-posix.c.
7437 * config/alpha/t-vms (LIB2ADD): Set.
7438 * config/alpha/vms-gcc_shell_handler.c: New file.
7439 * config/arm/bpabi.c, config/arm/fp16.c,
7440 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
7441 config/arm/unaligned-funcs.c: New files.
7442 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
7443 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
7444 * config/arm/t-linux: Likewise.
7445 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
7446 * config/arm/t-netbsd: New file.
7447 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
7448 * config/arm/t-symbian (LIB2ADD_ST): Set.
7449 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
7450 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7451 * config/bfin/t-elf: New file.
7452 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
7453 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
7454 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
7455 config/c6x/ltf.c: New files.
7456 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
7457 (HOST_LIBGCC2_CFLAGS): Set.
7458 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
7459 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7460 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
7461 New files.
7462 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
7463 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
7464 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
7465 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
7466 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
7467 files.
7468 * config/frv/t-frv (LIB2ADD): Set.
7469 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7470 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
7471 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
7472 config/h8300/popcounthi2.c: New files.
7473 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
7474 * config/i386/gthr-win32.c: New file.
7475 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
7476 * config/i386/t-cygwin: Likewise.
7477 * config/i386/t-darwin, config/i386/t-darwin64,
7478 config/i386/t-gthr-win32, config/i386/t-interix: New files.
7479 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
7480 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7481 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7482 * config/ia64/quadlib.c: New file.
7483 * config/ia64/t-hpux (LIB2ADD): Set.
7484 * config/ia64/t-ia64: Add comment.
7485 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
7486 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7487 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
7488 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
7489 * config/m32c/t-m32c (LIB2ADD): Set.
7490 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
7491 * config/m32r/t-m32r: Likewise.
7492 * config/m68k/fpgnulib.c: New file.
7493 * config/m68k/t-floatlib (LIB2ADD): Set.
7494 (xfgnulib.c): New target.
7495 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
7496 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
7497 * config/mep/t-mep (LIB2ADD): Set.
7498 * config/microblaze/divsi3.asm: Rename to divsi3.S.
7499 * config/microblaze/moddi3.asm: Rename to moddi3.S.
7500 * config/microblaze/modsi3.asm: Rename to modsi3.S.
7501 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
7502 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
7503 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
7504 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
7505 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
7506 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
7507 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
7508 New files.
7509 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
7510 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
7511 * config/pa/fptr.c, config/pa/lib2funcs.S,
7512 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
7513 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
7514 (LIB2ADD, LIB2ADD_ST): Set.
7515 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
7516 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
7517 Set.
7518 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
7519 * config/pdp11/t-pdp11: New file.
7520 * config/picochip/libgccExtras/adddi3.S,
7521 config/picochip/libgccExtras/ashlsi3.S,
7522 config/picochip/libgccExtras/ashrsi3.S,
7523 config/picochip/libgccExtras/clzsi2.S,
7524 config/picochip/libgccExtras/cmpsi2.S,
7525 config/picochip/libgccExtras/divmod15.S,
7526 config/picochip/libgccExtras/divmodhi4.S,
7527 config/picochip/libgccExtras/divmodsi4.S,
7528 config/picochip/libgccExtras/lshrsi3.S,
7529 config/picochip/libgccExtras/parityhi2.S,
7530 config/picochip/libgccExtras/popcounthi2.S,
7531 config/picochip/libgccExtras/subdi3.S,
7532 config/picochip/libgccExtras/ucmpsi2.S,
7533 config/picochip/libgccExtras/udivmodhi4.S,
7534 config/picochip/libgccExtras/udivmodsi4.S: New files.
7535 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
7536 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
7537 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
7538 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
7539 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
7540 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
7541 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
7542 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
7543 files.
7544 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
7545 (HOST_LIBGCC2_CFLAGS): Set.
7546 * config/rs6000/t-darwin64: New file.
7547 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
7548 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
7549 * config/rs6000/t-ppccomm (LIB2ADD): Add
7550 $(srcdir)/config/rs6000/tramp.S.
7551 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
7552 Add $(srcdir)/config/rs6000/eabi.S.
7553 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
7554 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
7555 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
7556 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
7557 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
7558 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
7559 * config/rs6000/tramp.S: New file.
7560 * config/s390/t-tpf: Remove.
7561 * config/sh/linux-atomic.S: New file.
7562 * config/sh/t-linux (LIB2ADD): Set.
7563 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
7564 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
7565 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
7566 to unwind-dw2.c.
7567 (HOST_LIBGCC2_CFLAGS): Set.
7568 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7569 * config/spu/divmodti4.c, config/spu/divv2df3.c,
7570 config/spu/float_disf.c, config/spu/float_unsdidf.c,
7571 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
7572 config/spu/mfc_multi_tag_release.c,
7573 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
7574 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
7575 config/spu/multi3.c: New files.
7576 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
7577 (HOST_LIBGCC2_CFLAGS): Set.
7578 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
7579 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
7580 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
7581 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
7582 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
7583 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
7584 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
7585 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
7586 config/stormy16/umodsi3.c: New files.
7587 * config/xtensa/lib2funcs.S: New file.
7588 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
7589 * config/xtensa/t-xtensa (LIB2ADD): Set.
7590 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
7591 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
7592 Add t-freebsd-thread to tmake_file for posix threads.
7593 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
7594 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
7595 (*-*-lynxos*): Likewise.
7596 (*-*-netbsd*): Likewise.
7597 (*-*-openbsd*): Likewise.
7598 Add t-openbsd-thread to tmake_file for posix threads.
7599 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
7600 (*-*-vxworks*): Set tmake_file.
7601 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
7602 (alpha*-*-freebsd*): Likewise.
7603 (alpha*-*-netbsd*): Likewise.
7604 (alpha*-*-openbsd*): Likewise.
7605 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
7606 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
7607 (alpha*-dec-*vms*): Likewise.
7608 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
7609 (bfin*-elf*): Add bfin/t-elf to tmake_file.
7610 (bfin*-uclinux*): Likewise.
7611 (bfin*-linux-uclibc*): Likewise.
7612 (crisv32-*-elf): Add cris/t-cris to tmake_file.
7613 (crisv32-*-none): Likewise.
7614 (cris-*-elf): Likewise.
7615 (cris-*-none): Likewise.
7616 (cris-*-linux*, crisv32-*-linux*): Likewise.
7617 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
7618 tmake_file.
7619 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
7620 tmake_file.
7621 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
7622 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
7623 (x86_64-*-elf*): Likewise.
7624 (i[34567]86-*-nto-qnx*): Likewise.
7625 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
7626 win32 threads.
7627 (x86_64-*-mingw*): Likewise.
7628 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
7629 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
7630 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
7631 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
7632 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
7633 tmake_file.
7634 (mipsisa64sr71k-*-elf*): Likewise.
7635 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
7636 (mips-*-elf*, mipsel-*-elf*): Likewise.
7637 (mips64-*-elf*, mips64el-*-elf*): Likewise.
7638 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
7639 (mips*-*-rtems*): Likewise.
7640 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
7641 to tmake_file.
7642 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
7643 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
7644 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
7645 (spu-*-elf*): Likewise.
7646 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
7647
45b86625
RO
76482011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7649
7650 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
7651 $(srcdir) to refer to $(LIB1ASMSRC).
7652 Use $<.
7653 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
7654 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
7655 config/arm/lib1funcs.S: New files.
7656 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
7657 * config/arm/t-arm: New file.
7658 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
7659 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
7660 config/arm/t-strongarm-elf: New files.
7661 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
7662 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
7663 * config/avr/lib1funcs.S: New file.
7664 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7665 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
7666 * config/c6x/lib1funcs.S: New file.
7667 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7668 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
7669 * config/frv/lib1funcs.S: New file.
7670 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7671 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
7672 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
7673 * config/ia64/__divxf3.asm: Rename to ...
7674 * config/ia64/__divxf3.S: ... this.
7675 Adapt lib1funcs.asm filename.
7676 * config/ia64/_fixtfdi.asm: Rename to ...
7677 * config/ia64/_fixtfdi.S: ... this.
7678 Adapt lib1funcs.asm filename.
7679 * config/ia64/_fixunstfdi.asm: Rename to ...
7680 * config/ia64/_fixunstfdi.S: ... this.
7681 Adapt lib1funcs.asm filename.
7682 * config/ia64/_floatditf.asm: Rename to ...
7683 * config/ia64/_floatditf.S: ... this.
7684 Adapt lib1funcs.asm filename.
7685 * config/ia64/lib1funcs.S: New file.
7686 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
7687 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7688 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
7689 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
7690 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
7691 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
7692 * config/mep/lib1funcs.S: New file.
7693 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7694 * config/mips/mips16.S: New file.
7695 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7696 * config/pa/milli64.S: New file.
7697 * config/pa/t-linux, config/pa/t-linux64: New files.
7698 * config/picochip/lib1funcs.S: New file.
7699 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7700 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
7701 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
7702 * config/sh/t-netbsd: New file.
7703 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
7704 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
7705 * config/sh/t-sh64: New file.
7706 * config/sparc/lb1spc.S: New file.
7707 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
7708 filename.
7709 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
7710 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
7711 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
7712 config/xtensa/lib1funcs.S: New files.
7713 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7714 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
7715 tmake_file.
7716 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
7717 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
7718 (arm*-*-linux*): Likewise.
7719 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
7720 arm*-*-linux-*eabi, add arm/t-linux otherwise.
7721 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
7722 (arm*-*-ecos-elf): Likewise.
7723 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
7724 (arm*-*-rtems*): Likewise.
7725 (arm*-*-elf): Likewise.
7726 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
7727 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
7728 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
7729 (bfin*-uclinux*): Likewise.
7730 (bfin*-linux-uclibc*): Likewise.
7731 (bfin*-rtems*): Likewise.
7732 (bfin*-*): Likewise.
7733 (fido-*-elf): Merge into m68k-*-elf*.
7734 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
7735 (frv-*-*linux*): Add frv/t-frv to tmake_file.
7736 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
7737 (h8300-*-elf*): Likewise.
7738 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
7739 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
7740 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
7741 (i[34567]86-*-mingw*): Likewise.
7742 (x86_64-*-mingw*): Likewise.
7743 (i[34567]86-*-interix3*): Likewise.
7744 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
7745 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
7746 (m68k-*-elf*): Also handle fido-*-elf.
7747 Add m68k/t-floatlib to tmake_file.
7748 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
7749 (m68k-*-linux*): Likewise.
7750 (m68k-*-rtems*): Likewise.
7751 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
7752 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
7753 sh64*-*-*.
7754 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
7755 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
7756 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
7757 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
7758 sh/t-netbsd to tmake_file.
7759 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
7760 (sh-*-rtems*): Add sh/t-sh to tmake_file.
7761 (sh-wrs-vxworks): Likewise.
7762 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
7763 *-leon[3-9]*.
7764 (v850*-*-*): Add v850/t-v850 to tmake_file.
7765 (vax-*-linux*): Add vax/t-linux to tmake_file.
7766 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
7767
5f73c6cc
RO
77682011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7769
7770 * crtstuff.c: New file.
7771 * Makefile.in (CRTSTUFF_CFLAGS): Define.
7772 (CRTSTUFF_T_CFLAGS): Define.
7773 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
7774 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
7775 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
7776 crtstuff.c.
7777 Use $<.
7778 (crtbeginT.o): Use $(objext).
7779 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
7780 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
7781 (gcc-extra-parts): Remove.
7782 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
7783 Set extra_parts.
7784 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
7785 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
7786 Add t-crtstuff-pic to tmake_file.
7787 (*-*-lynxos*): New case.
7788 Set tmake_file, extra_parts.
7789 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
7790 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
7791 *-*-netbsdelf[2-9]*.
7792 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
7793 (*-*-rtems*): Set extra_parts.
7794 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
7795 (*-*-uclinux*): New case.
7796 Set extra_parts.
7797 (*-*-vms*): New case.
7798 Set tmake_file, extra_parts.
7799 (*-*-elf): Set extra_parts.
7800 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
7801 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
7802 vms/t-vms64.
7803 Set extra_parts.
7804 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
7805 Set extra_parts.
7806 (arm*-*-freebsd*): Add t-crtin to tmake_file.
7807 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
7808 (arm-wrs-vxworks): Append to tmake_file.
7809 Set extra_parts.
7810 (arm*-*-uclinux*): Set extra_parts.
7811 (arm*-*-ecos-elf): Likewise.
7812 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
7813 arm*-*-eabi*.
7814 (arm*-*-rtems*): Set extra_parts.
7815 (arm*-*-elf): Likewise.
7816 (avr-*-rtems*): Clear extra_parts.
7817 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
7818 Set extra_parts.
7819 (bfin*-uclinux*): Likewise.
7820 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
7821 (bfin*-rtems*): Append to tmake_file.
7822 Set extra_parts.
7823 (bfin*-*): Likewise.
7824 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
7825 (crisv32-*-elf): ... this.
7826 (crisv32-*-none): ... this.
7827 (cris-*-elf, cris-*-none): New cases.
7828 Add cris/t-elfmulti to tmake_file.
7829 (fr30-*-elf): Append to tmake_file.
7830 Set extra_parts.
7831 (frv-*-elf): Append to tmake_file, add frv/t-frv.
7832 Set extra_parts.
7833 (h8300-*-rtems*): Append to tmake_file.
7834 Set extra_parts.
7835 (h8300-*-elf*): Likewise.
7836 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
7837 Set extra_parts.
7838 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
7839 Set extra_parts.
7840 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
7841 (x86_64-*-elf*): Likewise.
7842 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
7843 (x86_64-*-freebsd*): Likewise.
7844 (x86_64-*-netbsd*): Likewise.
7845 (i[34567]86-*-linux*): Likewise.
7846 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
7847 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
7848 (x86_64-*-linux*): Likewise.
7849 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
7850 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
7851 tmake_file.
7852 Set extra_parts.
7853 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
7854 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
7855 Append to extra_parts, remove crtbegin.o, crtend.o.
7856 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
7857 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
7858 crtend.o, crtbeginS.o, crtendS.o.
7859 (ia64*-*-linux*): Comment extra_parts.
7860 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
7861 Set extra_parts.
7862 (iq2000*-*-elf*): Clear extra_parts.
7863 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
7864 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
7865 (m32r-*-elf*, m32r-*-rtems*): Split off ...
7866 (m32r-*-rtems*): ... this.
7867 Add m32r/t-m32r to tmake_file.
7868 (m68k-*-elf*): Add t-crtin to tmake_file.
7869 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
7870 (mcore-*-elf): Likewise.
7871 (microblaze*-*-*): Set extra_parts.
7872 (mips*-sde-elf*): New case.
7873 Set tmake_file, extra_parts.
7874 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
7875 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
7876 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
7877 tmake_file.
7878 Set extra_parts.
7879 (mipsisa64sr71k-*-elf*): Likewise.
7880 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
7881 (mips-*-elf*, mipsel-*-elf*): Likewise.
7882 (mips64-*-elf*, mips64el-*-elf*): Likewise.
7883 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
7884 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
7885 (mips*-*-rtems*): Likewise.
7886 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
7887 (moxie-*-*): Split into ...
7888 (moxie-*-elf, moxie-*-uclinux*): ... this.
7889 Add to extra_parts, remove crtbegin.o, crtend.o.
7890 (moxie-*-rtems*): New case.
7891 Set tmake_file.
7892 Clear extra_parts.
7893 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
7894 Set extra_parts.
7895 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
7896 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
7897 tmake_file.
7898 Set extra_parts.
7899 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
7900 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
7901 Set extra_parts.
7902 (powerpc-*-eabisim*): Likewise.
7903 (powerpc-*-elf*): Likewise.
7904 (powerpc-*-eabialtivec*): Likewise.
7905 (powerpc-xilinx-eabi*): Likewise.
7906 (powerpc-*-eabi*): Likewise.
7907 (powerpc-*-rtems*): Likewise.
7908 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
7909 tmake_file.
7910 Set extra_parts.
7911 (powerpc-*-lynxos*): Add to tmake_file.
7912 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
7913 rs6000/t-crtstuff, t-crtstuff-pic.
7914 Set extra_parts.
7915 (powerpcle-*-eabisim*): Likewise.
7916 (powerpcle-*-eabi*): Likewise.
7917 (rx-*-elf): Remove extra_parts.
7918 (s390x-ibm-tpf*): Set extra_parts.
7919 (score-*-elf): Set extra_parts.
7920 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
7921 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
7922 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
7923 (sh64l*-*-netbsd*): Split into ...
7924 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
7925 Add t-crtstuff-pic to tmake_file.
7926 Set extra_parts.
7927 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
7928 Set extra_parts.
7929 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
7930 (sparc-*-elf*): Remove t-crtin from tmake_file.
7931 Add to extra_parts, remove crtbegin.o, crtend.o.
7932 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
7933 (sparc64-*-linux*): Likewise.
7934 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
7935 Add to extra_parts, remove crtbegin.o, crtend.o.
7936 (sparc64-*-elf*): Remove t-crtin from tmake_file.
7937 Add to extra_parts, remove crtbegin.o, crtend.o.
7938 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
7939 Add to extra_parts, remove crtbegin.o, crtend.o.
7940 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
7941 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
7942 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
7943 Set extra_parts.
7944 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
7945 Set extra_parts.
7946 (tic6x-*-*): Change to ...
7947 (tic6x-*-elf): ... this.
7948 Set extra_parts.
7949 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
7950 Set extra_parts.
7951 (am33_2.0-*-linux*): Add comment.
7952 (mep*-*-*): Add mep/t-mep to tmake_file.
7953 Set extra_parts.
7954 * config/alpha/t-vms: New file.
7955 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
7956 * config/arm/crti.S, config/arm/crtn.S: New files.
7957 * config/bfin/crti.S, config/bfin/crtn.S: New files.
7958 * config/bfin/crtlibid.S: New file.
7959 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
7960 * config/c6x/crti.S, config/c6x/crtn.S: New files.
7961 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
7962 (crti.o, crtin.o): New rules.
7963 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
7964 * config/c6x/t-uclinux: New file.
7965 * config/cris/t-elfmulti: New file.
7966 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
7967 * config/fr30/crti.S, config/fr30/crtn.S: New files.
7968 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
7969 * config/frv/t-frv: New file.
7970 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
7971 * config/h8300/crti.S, config/h8300/crtn.S: New files.
7972 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
7973 New files.
7974 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
7975 refer to cygming-crtbegin.c, cygming-crtend.c.
7976 Use $<.
7977 * config/i386/t-nto: New file.
7978 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
7979 * config/ia64/crti.S, config/ia64/crtn.S: New files.
7980 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
7981 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
7982 Use .S extension.
7983 Use $<.
7984 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
7985 (crtinitS.o): New rule.
7986 * config/ia64/vms-crtinit.S: New file.
7987 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
7988 * config/m32r/initfini.c: New file.
7989 * config/m32r/t-linux, config/m32r/t-m32r: New files.
7990 * config/m68k/crti.S, config/m68k/crtn.S: New files.
7991 * config/mcore/crti.S, config/mcore/crtn.S: New files.
7992 * config/mep/t-mep: New file.
7993 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
7994 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
7995 * config/mips/crti.S, config/mips/crtn.S: New files.
7996 * config/mips/t-crtstuff: New file.
7997 * config/mmix/crti.S, config/mmix/crtn.S: New files.
7998 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
7999 (CUSTOM_CRTIN): Set.
8000 ($(T)crti.o, $(T)crtn.o): Remove $(T),
8001 dependencies.
8002 Use $(srcdir) to refer to crti.S, crtn.S.
8003 Use .S extension, $<.
8004 * config/moxie/crti.asm: Rename to ...
8005 * config/moxie/crti.S: ... this.
8006 * config/moxie/crtn.asm: Rename to ...
8007 * config/moxie/crtn.S: ... this.
8008 * config/moxie/t-moxie: Remove.
8009 * config/pa/stublib.c: New file.
8010 * config/pa/t-stublib, config/pa/t-stublib64: New files.
8011 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
8012 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
8013 * config/rs6000/t-crtstuff: New file.
8014 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
8015 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
8016 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
8017 Make output file explicit.
8018 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
8019 Make output file explicit.
8020 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
8021 Make output file explicit.
8022 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
8023 Make output file explicit.
8024 * config/score/crti.S, config/score/crtn.S: New files.
8025 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
8026 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
8027 files.
8028 * config/sh/t-sh, config/sh/t-superh: New files.
8029 * config/sparc/t-linux64: New file.
8030 * config/spu/cache.S, config/spu/cachemgr.c: New files.
8031 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
8032 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
8033 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
8034 * config/t-crtin: Remove.
8035 * config/t-crtstuff-pic: New file.
8036 * config/t-sol2 (CUSTOM_CRTIN): Set.
8037 (crti.o, crtn.o): New rules.
8038 * config/vms/t-vms: New file.
8039 * config/vms/vms-ucrt0.c: New file.
8040 * config/xtensa/t-elf: New file.
8041
b040f2be
RO
80422011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8043
8044 * Makefile.in (SHLIB_NM_FLAGS): Set.
8045 * mkmap-flat.awk, mkmap-symver.awk: New files.
8046 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
8047 exceptions.
8048 * configure: Regenerate.
8049 * config/libgcc-glibc.ver: New file.
8050 * config/libgcc-libsystem.ver: New file.
8051 * config/t-libunwind (SHLIB_LC): Set.
8052 * config/t-linux: New file.
8053 * config/t-slibgcc (INSTALL_SHLIB): New.
8054 (SHLIB_INSTALL): Use it.
8055 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
8056 to mkmap-symver.awk.
8057 (SHLIB_MAPFILES): Don't append, adapt pathname.
8058 (SHLIB_VERPFX): Set.
8059 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
8060 to mkmap-symver.awk.
8061 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
8062 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
8063 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
8064 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
8065 to mkmap-flat.awk.
8066 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
8067 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
8068 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
8069 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
8070 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
8071 * config/i386/libgcc-darwin.10.4.ver,
8072 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
8073 New files.
8074 * config/i386/t-darwin: Remove.
8075 * config/i386/t-darwin64: Likewise.
8076 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
8077 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
8078 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
8079 * config/i386/t-linux: New file.
8080 * config/i386/t-mingw32: New file.
8081 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
8082 * config/ia64/t-glibc: Rename to ...
8083 * config/ia64/t-linux: ... this.
8084 (SHLIB_MAPFILES): Set.
8085 * config/ia64/t-glibc-libunwind: Rename to ...
8086 * config/ia64/t-linux-libunwind: ... this.
8087 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
8088 * config/ia64/t-slibgcc-hpux: New file.
8089 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
8090 * config/m68k/t-slibgcc-elf-ver: New file.
8091 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
8092 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
8093 to mkmap-flat.awk.
8094 * config/pa/t-slibgcc-hpux: New file.
8095 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
8096 files.
8097 * config/rs6000/libgcc-darwin.10.4.ver,
8098 config/rs6000/libgcc-darwin.10.5.ver: New files.
8099 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
8100 config/rs6000/libgcc-glibc.ver.
8101 * config/rs6000/libgcc-ppc64.ver: Rename to
8102 config/rs6000/libgcc-ibm-ldouble.ver.
8103 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
8104 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
8105 * config/rs6000/t-ldbl128: Rename to ...
8106 * config/rs6000/t-linux: ... this.
8107 (SHLIB_MAPFILES): Adapt filename.
8108 * config/rs6000/t-slibgcc-aix: New file.
8109 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
8110 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
8111 libgcc-excl.ver, libgcc-glibc.ver.
8112 (SHLIB_LINK, SHLIB_INSTALL): Remove.
8113 * config/sparc/libgcc-glibc.ver: New file.
8114 * config/sparc/t-linux: New file.
8115 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
8116 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
8117 t-slibgcc-elf-ver to tmake_file.
8118 Add t-slibgcc-nolc-override to tmake_file for posix threads on
8119 *-*-freebsd[34].
8120 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
8121 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
8122 t-slibgcc-elf-ver, t-linux to tmake_file.
8123 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
8124 tmake_file.
8125 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
8126 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
8127 (alpha*-dec-*vms*): Likewise.
8128 (arm*-*-freebsd*): Append to tmake_file.
8129 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
8130 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
8131 arm*-*-linux-*eabi.
8132 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
8133 tmake_file for arm*-*-symbianelf*.
8134 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
8135 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
8136 cris/t-linux.
8137 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
8138 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
8139 pa/t-slibgcc-dwarf-ver to tmake_file.
8140 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
8141 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
8142 (hppa*64*-*-hpux11*): Likewise.
8143 (hppa[12]*-*-hpux11*): Likewise.
8144 (x86_64-*-darwin*): Don't override tmake_file, but only keep
8145 i386/t-crtpc, i386/t-crtfm.
8146 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
8147 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
8148 to tmake_file.
8149 Add i386/t-cygwin to tmake_file.
8150 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
8151 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
8152 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
8153 to tmake_file.
8154 Add i386/t-mingw32 to tmake_file.
8155 (x86_64-*-mingw*): Likewise.
8156 (ia64*-*-freebsd*): Append to tmake_file.
8157 (ia64*-*-linux*): Append to tmake_file.
8158 Replace ia64/t-glibc by ia64/t-linux.
8159 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
8160 system libunwind.
8161 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
8162 t-slibgcc-hpux to tmake_file.
8163 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
8164 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
8165 (m32rle-*-linux*): Likewise.
8166 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
8167 sjlj exceptions.
8168 (microblaze*-linux*): New case.
8169 Append to tmake_file, add t-slibgcc-nolc-override.
8170 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
8171 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
8172 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
8173 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
8174 rs6000/t-slibgcc-aix to tmake_file.
8175 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8176 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8177 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
8178 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
8179 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
8180 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
8181 sh*-*-linux*.
8182 (sparc-*-linux*): Append to tmake_file for *-leon*.
8183 Add sparc/t-linux to tmake_file for non-Leon targets.
8184 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
8185 (tic6x-*-uclinux): New case.
8186 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
8187 (tic6x-*-*): Add c6x/t-elf to tmake_file.
8188 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
8189 (am33_2.0-*-linux*): Append to tmake_file.
8190 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
8191 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
8192 x86_64-*-kfreebsd*-gnu.
8193 Add i386/t-linux to tmake_file.
8194
18b4bd7b
ILT
81952011-10-28 Ian Lance Taylor <iant@google.com>
8196
8197 * config/i386/morestack.S: Correct CFI information to do proper
8198 returns throughout function. In 32-bit mode, save %ebx so that it
8199 is restored on unwind.
8200
5b2d9d90
BS
82012011-10-25 Bernd Schmidt <bernds@codesourcery.com>
8202
8203 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
8204 case where B3 isn't the return register.
8205
0d53e346
BS
8206 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
8207 logic for doubleword pops.
8208
cbffbd59
AT
82092011-10-25 Andreas Tobler <andreast@fgznet.ch>
8210
8211 * config/rs6000/t-freebsd: Add wildcard.
8212
56dc349e
PB
82132011-10-21 Paul Brook <paul@codesourcery.com>
8214
8215 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
8216
1e06b07d
UB
82172011-10-16 Uros Bizjak <ubizjak@gmail.com>
8218 Eric Botcazou <ebotcazou@adacore.com>
8219
8220 PR target/50737
8221 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
8222 fs->signal_frame to 1.
8223
b5204884
ILT
82242011-10-07 Ian Lance Taylor <iant@google.com>
8225
8226 * generic-morestack-thread.c: #include <errno.h>.
8227
91a639a1
ILT
82282011-10-07 Ian Lance Taylor <iant@google.com>
8229
8230 PR target/46093
8231 * generic-morestack.c (__generic_morestack): Make sure the segment
8232 is large enough for both the stack frame and the copied
8233 parameters.
8234
cc49116d
RO
82352011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8236
8237 PR bootstrap/49804
8238 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
8239 extra_parts.
8240
2996d8c3
NC
82412011-09-28 Nick Clifton <nickc@redhat.com>
8242
8243 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
8244 64-bit doubles are not enabled.
8245 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
8246 and floatunsisf functions.
8247
1e874273 82482011-09-13 Paul Brook <paul@codesourcery.com>
2996d8c3 8249
1e874273
PB
8250 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
8251 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
8252 * unwind-arm-common.inc: New file.
8253 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
8254 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
8255 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
8256 * config/c6x/libunwind.S: New file.
8257 * config/c6x/pr-support.c: New file.
8258 * config/c6x/unwind-c6x.c: New file.
8259 * config/c6x/unwind-c6x.h: New file.
8260 * config/c6x/t-c6x-elf: New file.
8261
f70c879a
UB
82622011-08-23 Uros Bizjak <ubizjak@gmail.com>
8263
8264 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
8265 (ASM_DIVZERO): Ditto.
8266 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
8267
c55b374b
RS
82682011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
8269
8270 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
8271
1e138510
RS
82722011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
8273
8274 PR target/50090
8275 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
8276 instead of an assembly one.
8277
1563503d
PB
82782011-08-12 Paolo Bonzini <bonzini@gnu.org>
8279
8280 PR bootstrap/50047
8281 * Makefile.in (install-unwind_h): Create
8282 $(gcc_objdir)/include/unwind.h atomically.
8283
3627ac1a
RO
82842011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8285
8286 * Makefile.in (install-unwind_h): Remove destination file first.
8287
c6412d86
RO
82882011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8289
8290 * sync.c: New file.
8291 * config/mips/t-mips16: New file.
8292 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
8293 (mips*-*-linux*): Likewise.
8294 (mips*-sde-elf*): Likewise.
8295 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
8296 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
8297 Add mips/t-mips16 to tmake_file.
8298 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
8299 (mips-*-elf*): Likewise.
8300 (mips64-*-elf*): Likewise.
8301 (mips64orion-*-elf*): Likewise.
8302 (mips*-*-rtems*): Likewise.
8303 (mipstx39-*-elf*): Likewise.
8304 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
8305 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
8306 LIBGCC_SYNC_CFLAGS.
8307 Use $(srcdir) to refer to sync.c.
8308 Use $<.
8309 ($(libgcc-sync-funcs-o)): Likewise.
8310 ($(libgcc-sync-size-funcs-s-o)): Likewise.
8311 ($(libgcc-sync-funcs-s-o)): Likewise.
8312
3cb6e5bd
AS
83132011-08-09 Andreas Schwab <schwab@linux-m68k.org>
8314
8315 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
8316 t-libunwind.
8317
cca2207a
L
83182011-08-08 H.J. Lu <hongjiu.lu@intel.com>
8319
8320 PR other/48007
8321 * config/i386/value-unwind.h: New.
8322
ed39fbad
RS
83232011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
8324
8325 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
8326 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
8327 Add to tmake_file rather than overriding it.
8328
aca0b0b3
RO
83292011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8330
8331 * config/t-softfp: Remove.
8332 * soft-fp: Moved from ../gcc/config.
8333 * soft-fp/README: Remove t-softfp reference.
8334 * soft-fp/t-softfp: Move to config/t-softfp.
8335 (softfp_machine_header): Remove.
8336 (softfp_file_list): Remove config subdir.
8337 (soft-fp-objects): New variable.
8338 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
8339 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
8340 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
8341 * config/t-softfp-excl: New file.
8342 * config/t-softfp-sfdf: New file.
8343 * config/t-softfp-tf: New file.
8344 * config/no-sfp-machine.h: New file.
8345 * config/arm/sfp-machine.h: New file.
8346 * config/arm/t-softfp: New file.
8347 * config/c6x/sfp-machine.h: New file.
8348 * config/i386/32/t-fprules-softfp: Rename to ...
8349 * config/i386/32/t-softfp: ... this.
8350 (tifunctions, LIB2ADD): Remove.
8351 (softfp_int_modes): Override.
8352 * config/i386/64/t-softfp-compat (tf-functions): Remove config
8353 subdir.
8354 * config/i386/64/eqtf2.c: Likewise.
8355 * config/i386/64/getf2.c: Likewise.
8356 * config/i386/64/letf2.c: Likewise.
8357 * config/ia64/sft-machine.h: New file.
8358 * config/ia64/t-fprules-softfp: Rename to ...
8359 * config/ia64/t-softfp: ... this.
8360 * config/lm32/sfp-machine.h: New file.
8361 * config/moxie/t-moxie-softfp: Remove.
8362 * config/rs6000/ibm-ldouble-format: New file.
8363 * config/rs6000/ibm-ldouble.c: New file.
8364 * config/rs6000/libgcc-ppc-glibc.ver: New file
8365 * config/rs6000/libgcc-ppc64.ver: New file
8366 * config/rs6000/sfp-machine.h: New file.
8367 * config/rs6000/t-freebsd: New file.
8368 * config/rs6000/t-ibm-ldouble: New file.
8369 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
8370 libgcc-ppc-glibc.ver.
8371 * config/rs6000/t-linux64: New file.
8372 * config/rs6000/t-ppccomm (LIB2ADD): Add
8373 $(srcdir)/config/rs6000/ibm-ldouble.c.
8374 * config/rs6000/t-ppccomm-ldbl: New file.
8375 * config/score/sfp-machine.h: New file.
8376 * config.host (sfp_machine_header): Explain.
8377 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
8378 t-softfp to tmake_file.
8379 (arm*-*-uclinux*): Likewise.
8380 (arm*-*-ecos-elf): Likewise.
8381 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
8382 (arm*-*-rtems*): Likewise.
8383 (arm*-*-elf): Likewise.
8384 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
8385 in tmake_file.
8386 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
8387 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
8388 (lm32-*-uclinux*): Likewise.
8389 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
8390 t-softfp-excl, t-softfp.
8391 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
8392 (powerpc64-*-darwin*): Likewise.
8393 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
8394 to tmake_file.
8395 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
8396 tmake_file.
8397 (powerpc-*-eabisim*): Likewise.
8398 (powerpc-*-elf*): Likewise.
8399 (powerpc-*-eabialtivec*): Likewise.
8400 (powerpc-xilinx-eabi*): Likewise.
8401 (powerpc-*-rtems*): Likewise.
8402 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
8403 t-softfp-excl, t-softfp to tmake_file.
8404 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
8405 rs6000/t-ppccomm-ldbl to tmake_file.
8406 (powerpcle-*-elf*): Likewise.
8407 (powerpcle-*-eabisim*): Likewise.
8408 (powerpcle-*-eabi*): Likewise.
8409 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
8410 rs6000/t-ibm-ldouble to tmake_file.
8411 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8412 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8413 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
8414 (tic6x-*-*): Likewise.
8415 (i[34567]86-*-darwin*, x86_64-*-darwin*,
8416 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
8417 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
8418 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
8419 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
8420 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
8421 t-softfp to tmake_file.
8422 * configure.ac (sfp_machine_header): Provide default if unset.
8423 Substitute.
8424 Link sfp-machine.h to config/$sfp_machine_header.
8425 * configure: Regenerate.
8426
569dc494
RO
84272011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8428
8429 * Makefile.in (double_type_size, long_double_type_size): Set.
8430 Remove $(fpbit-in-libgcc) support.
8431 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
8432 (fpbit-src): New variable.
8433 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
8434 Compile with -DFLOAT $(FPBIT_CFLAGS).
8435 Use $<.
8436 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
8437 Compile with $(FPBIT_CFLAGS).
8438 Use $<.
8439 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
8440 Compile with -DFLOAT $(TPBIT_CFLAGS).
8441 Use $<.
8442 * configure.ac (double_type_size, long_double_type_size):
8443 Determine and substitute.
8444 * configure: Regenerate.
8445 * fp-bit.c, fp-bit.h: New files.
8446 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
8447 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
8448 * config/mips/t-mips: New file.
8449 * config/mips/t-sdemtk: New file.
8450 * config/rs6000/ppc64-fp.c: New file.
8451 * config/rs6000/t-darwin (LIB2ADD): Add
8452 $(srcdir)/config/rs6000/ppc64-fp.c.
8453 * config/rs6000/t-ppc64-fp: New file.
8454 * config/rx/rx-lib.h: New file.
8455 * config/rx/t-rx (FPBIT): Set to true.
8456 ($(gcc_objdir)/fp-bit.c): Remove.
8457 (DPBIT): Set to true only with -m64bit-doubles.
8458 ($(gcc_objdir)/dp-bit.c): Remove.
8459 * config/sparc/t-softfp: Remove.
8460 * config/spu/t-elf: New file.
8461 * config/t-fdpbit, config/t-fpbit: New files.
8462 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
8463 (mips*-*-*): Likewise.
8464 (arm-wrs-vxworks): Likewise.
8465 (arm*-*-freebsd*): Likewise.
8466 (avr-*-rtems*): Add t-fpbit to tmake_file.
8467 (avr-*-*): Likewise.
8468 (bfin*-elf*): Add t-fdpbit to tmake_file.
8469 (bfin*-uclinux*): Likewise.
8470 (bfin*-linux-uclibc*): Likewise.
8471 (bfin*-rtems*): New case.
8472 Add t-fdpbit to tmake_file.
8473 (bfin*-*): Add t-fdpbit to tmake_file.
8474 (crisv32-*-elf): Likewise.
8475 (cris-*-linux*): Likewise.
8476 (fr30-*-elf): Likewise.
8477 (frv-*-elf, frv-*-*linux*): Likewise.
8478 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
8479 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
8480 (m32r-*-elf*): Likewise.
8481 (m32rle-*-elf*): Likewise.
8482 (m32r-*-linux*): Likewise.
8483 (m32rle-*-linux*): Likewise.
8484 (mcore-*-elf): Add t-fdpbit to tmake_file.
8485 (microblaze*-*-*): Likewise.
8486 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
8487 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
8488 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
8489 Fix typo.
8490 Add mips/t-tpbit to tmake-file.
8491 (mips*-*-linux*): Fix typo.
8492 (mips*-sde-elf*): New case
8493 Add mips/t-sdemtk unless using newlib.
8494 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
8495 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
8496 (mn10300-*-*): Likewise.
8497 (pdp11-*-*): Likewise.
8498 (picochip-*-*): Add t-fpbit to tmake_file.
8499 (powerpc-*-eabisimaltivec*): Likewise.
8500 (powerpc-*-eabisim*): Likewise.
8501 (powerpc-*-elf*): Likewise.
8502 (powerpc-*-eabialtivec*): Likewise.
8503 (powerpc-xilinx-eabi*): New case.
8504 Add t-fdpbit to tmake_file.
8505 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
8506 (powerpc-*-rtems*): Likewise.
8507 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
8508 tmake_file.
8509 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
8510 tmake_file.
8511 (powerpc-*-lynxos*): Likewise.
8512 (powerpcle-*-elf*): Likewise.
8513 (powerpcle-*-eabisim*): Likewise.
8514 (powerpcle-*-eabi*): Likewise.
8515 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
8516 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
8517 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8518 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8519 (rx-*-elf): Add t-fdpbit to tmake_file.
8520 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
8521 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
8522 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
8523 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
8524 sh*-*-netbsd*.
8525 (sh-*-rtems*): Add t-fdpbit to tmake_file.
8526 (sh-wrs-vxworks): Likewise.
8527 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
8528 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
8529 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
8530 (sparc64-*-rtems*): ... new case.
8531 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
8532 (spu-*-elf*): Likewise.
8533 Add spu/t-elf to tmake_file.
8534 (v850*-*-*): Add t-fdpbit to tmake_file.
8535 (xstormy16-*-elf): Likewise.
8536 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
8537 (mep*-*-*): Likewise.
8538
201cdb74
RO
85392011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8540
8541 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
8542 variables.
8543 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
8544 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
8545 (install-unwind_h): New target.
8546 (all): Depend on it.
8547 * config.host (unwind_header): New variable.
8548 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
8549 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
8550 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
8551 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
8552 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
8553 Set unwind_header.
8554 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
8555 Set unwind_header.
8556 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
8557 arm*-*-eabi*.
8558 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
8559 Set unwind_header.
8560 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
8561 (ia64*-*-freebsd*): Likewise.
8562 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
8563 tmake_file.
8564 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
8565 $with_system_libunwind.
8566 (ia64*-*-hpux*): Set tmake_file.
8567 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
8568 (picochip-*-*): Set tmake_file.
8569 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
8570 md_unwind_header.
8571 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8572 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8573 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
8574 (xtensa*-*-elf*): Set tmake_file.
8575 (xtensa*-*-linux*): Likewise.
8576 * configure.ac: Include ../config/unwind_ipinfo.m4.
8577 Call GCC_CHECK_UNWIND_GETIPINFO.
8578 Link unwind.h to $unwind_header.
8579 * configure: Regenerate.
8580 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
8581 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
8582 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
8583 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
8584 * config/unwind-dw2-fde-darwin.c: New file.
8585 * config/arm/libunwind.S, config/arm/pr-support.c,
8586 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
8587 config/arm/unwind-arm.h,: New files.
8588 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
8589 config/ia64/t-eh-ia64, config/ia64/t-glibc,
8590 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
8591 config/ia64/t-vms, config/ia64/unwind-ia64.c,
8592 config/ia64/unwind-ia64.h: New files.
8593 * config/picochip/t-picochip: New file.
8594 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
8595 files.
8596 * config/rs6000/t-darwin (LIB2ADDEH): Set.
8597 * config/s390/t-tpf (LIB2ADDEH): Remove.
8598 * config/t-darwin (LIB2ADDEH): Set.
8599 * config/t-eh-dw2-dip: New file.
8600 * config/t-libunwind, config/t-libunwind-elf: New files.
8601 * config/t-sol2 (LIB2ADDEH): Remove.
8602 * config/xtensa/t-xtensa: New file.
8603
40f2f11f
L
86042011-08-02 H.J. Lu <hongjiu.lu@intel.com>
8605
8606 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
8607 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
8608 long long to check rt_sigreturn syscall.
8609
bd15e32c
AM
86102011-08-02 Alan Modra <amodra@gmail.com>
8611
8612 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
8613 Restore for indirect call bcrtl from correct stack slot, and only
8614 if cfa+40 isn't valid.
8615
655b30bf
JB
86162011-08-01 Julian Brown <julian@codesourcery.com>
8617
8618 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
8619 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
8620 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
8621
247eb06f
JB
86222011-08-01 Julian Brown <julian@codesourcery.com>
8623
8624 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
8625 (libgcc-std.ver.in): Use above.
8626 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
8627 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
8628 throughout file.
8629 * config/t-fixedpoint-gnu-prefix: New file.
8630 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
8631 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
8632 instead of __PFX__.
8633
02a8fe00
L
86342011-07-28 H.J. Lu <hongjiu.lu@intel.com>
8635
8636 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
8637 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
8638 for x86-64. Properly check __x86_64__ and __LP64__.
8639
5fce9126
L
86402010-07-28 H.J. Lu <hongjiu.lu@intel.com>
8641
8642 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
8643 version.
8644 (_FP_WS_TYPE): Likewise.
8645 (_FP_I_TYPE): Likewise.
8646
2374a88a
AM
86472011-07-28 Alan Modra <amodra@gmail.com>
8648
8649 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
8650 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
8651 in a plt call stub. Do restore r2 if stopped on bctrl.
8652
e44dbbe1
RO
86532011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8654
8655 * config.host (i[3456x]86-*-netware*): Remove.
8656 * config/i386/netware-crt0.c, config/i386/t-nwld,
8657 config/i386/t-slibgcc-nwld: Remove.
8658
bcead286
BS
86592011-07-15 Bernd Schmidt <bernds@codesourcery.com>
8660
8661 * config.host: Handle tic6x-*-*.
8662 * config/c6x/c6x-abi.h: New file.
8663
b3fe1584
RO
86642011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8665
8666 * config/i386/crtprec.c: New file.
8667 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
8668 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
8669 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
8670 (x86_64-*-darwin*): Likewise.
8671 (i[34567]86-*-solaris2*: Likewise.
8672
35d8090d
RO
86732011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8674
8675 * config/alpha/crtfastmath.c: New file.
8676 * config/i386/crtfastmath.c: New file.
8677 * config/ia64/crtfastmath.c: New file.
8678 * config/mips/crtfastmath.c: New file.
8679 * config/sparc/crtfastmath.c: New file.
8680
8681 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
8682 crtfastmath.c.
8683 Add -frandom-seed=gcc-crtfastmath.
8684 * config/alpha/t-crtfm: Remove.
8685 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
8686 * config/ia64/t-ia64 (crtfastmath.o): Remove.
8687
8688 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
8689 (alpha*-dec-osf5.1*): Likewise.
8690 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
8691 Add crtfastmath.o to extra_parts.
8692 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
8693 Add crtfastmath.o to extra_parts.
8694 (x86_64-*-darwin*): Likewise.
8695 (x86_64-*-mingw*): Likewise.
8696 (ia64*-*-elf*): Add t-crtfm to tmake_file.
8697 (ia64*-*-freebsd*): Likewise.
8698 (ia64*-*-linux*): Likewise.
8699 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
8700 Add crtfastmath.o to extra_parts.
8701
e141542e
RO
87022011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8703
8704 * config/darwin-crt3.o: New file.
8705 * config/rs6000/darwin-crt2.c: New file.
8706 * config/t-darwin: New file.
8707 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
8708 (crt2.o): New rule.
8709 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
8710 (powerpc-*-darwin*): Add crt2.o to extra_parts.
8711 (powerpc64-*-darwin*): Likewise.
8712
2d1efe2d
RO
87132011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8714
8715 * config/i386/netware-crt0.c: New file.
8716 * config/i386/t-nwld: Rename to ...
8717 * config/i386/t-slibgcc-nwld: ... this.
8718 * config/i386/t-nwld: New file.
8719 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
8720 tmake_file.
8721 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
8722 extra_parts.
8723
4a8bb046
RO
87242011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8725
8726 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
8727 i386/t-crtstuff.
8728 * configure: Regenerate.
8729
2d8d5935
RO
87302011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8731
8732 * dfp-bit.c, dfp-bit.h: New files.
8733 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
8734 variables.
8735 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
8736 ($(d64pbit-o)): Likewise.
8737 ($(d128pbit-o)): Likewise.
8738 * config/t-dfprules: New file.
8739 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
8740 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
8741 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
8742 (x86_64-*-linux*): Likewise.
8743 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
8744 (i[34567]86-*-cygwin*): Likewise.
8745 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
8746 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
8747
2c50b2c3
RO
87482011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8749
8750 * Makfile.in (LIBGCOV): New variable.
8751 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
8752 * libgcov.c: New file.
8753
a039d7c2
RO
87542011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8755
8756 * fixed-bit.c, fixed-bit.h: New files.
8757 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
8758 refer to fixed-bit.c.
8759
1e4b2746
JM
87602011-07-07 Joseph Myers <joseph@codesourcery.com>
8761
8762 * config.host (*local*): Remove.
8763
fbdd5d87
RO
87642011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8765
8766 PR target/39150
8767 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
8768 like i?86-*-solaris2.1[0-9]*.
8769 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
8770 * configure.ac (i?86-*-solaris2*): Likewise.
8771 * configure: Regenerate.
8772
9e7714f4
TS
87732011-07-06 Thomas Schwinge <thomas@schwinge.name>
8774
8775 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
8776 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
8777 md_unwind_header by splitting out of...
8778 (i[34567]86-*-linux*): ... this.
8779 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
8780 Remove md_unwind_header by splitting out of...
8781 (x86_64-*-linux*): ... this.
8782
6dab9931
GJL
87832011-07-04 Georg-Johann Lay <avr@gjlay.de>
8784
8785 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
8786
4be46d19
NC
87872011-06-28 Nick Clifton <nickc@redhat.com>
8788
8789 * config.host: Recognize all V850 variants.
8790
1da9434b
UB
87912011-06-22 Uros Bizjak <ubizjak@gmail.com>
8792
8793 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
8794
e4d48a4d
RO
87952011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8796
8797 * shared-object.mk (c_flags-$o): Save c_flags.
8798 ($(base)$(objext)): Use it.
8799 ($(base)_s$(objext)): Likewise.
8800
3801c801
BS
88012011-06-21 Bernd Schmidt <bernds@codesourcery.com>
8802
8803 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
8804 * libgcc-std.ver.in (GCC_4.7.0): New section.
8805
0ad8bb3b 88062011-06-16 Georg-Johann Lay <avr@gjlay.de>
1da9434b 8807
0ad8bb3b
GJL
8808 PR target/49313
8809 PR target/29524
8810 * config/avr/t-avr: Fix line endings.
8811 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
8812 _parityXX2.
8813
ea963999
OH
88142011-06-14 Olivier Hainque <hainque@adacore.com>
8815 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8816
8817 * config/mips/irix6-unwind.h: New file.
8818 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
8819
b11b0904
EB
88202011-06-10 Eric Botcazou <ebotcazou@adacore.com>
8821
8822 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
8823 (sparc64_fallback_frame_state): Use it.
8824 (sparc64_frob_update_context): Further adjust context.
8825 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
8826 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
8827 * config/sparc/sol2-cn.S: Likewise.
8828
10e48e39
RO
88292011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8830
8831 * enable-execute-stack-empty.c: New file.
8832 * enable-execute-stack-mprotect.c: New file.
8833 * config/i386/enable-execute-stack-mingw32.c: New file.
8834 * config.host (enable_execute_stack): New variable.
8835 Select appropriate variants.
8836 * configure.ac: Link enable-execute-stack.c to
8837 $enable_execute_stack.
8838 * configure: Regenerate.
8839 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
8840 (lib2funcs): Remove _enable_execute_stack.
8841
10c4cabc
DM
88422011-06-09 David S. Miller <davem@davemloft.net>
8843 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8844
8845 * config.host (sparc-*-linux*): Correct md_unwind_header
8846 filename.
8847 (s390x-ibm-tpf*): Fix typo.
8848
aa4203e7
RO
88492011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8850
8851 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
8852 Add crtfastmath.o to extra_parts.
8853 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
8854 mips/t-crtfm.
8855 * config/mips/t-crtfm: Remove.
8856
0defd786
JDA
88572011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
8858
8859 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
8860
82f247af
KK
88612011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
8862
8863 * config.host (sh*-*-linux*): Fix typo.
8864
58cd1d70
RO
88652011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8866
8867 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
8868 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
8869 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
8870 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
8871 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
8872 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
8873 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
8874 Wrap in !__MINGW64__.
8875 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
8876 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
8877 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
8878 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
8879 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
8880 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
8881 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
8882 Wrap in !__LP64__.
8883 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
8884 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
8885 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
8886 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
8887 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
8888 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
8889 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
8890 * config/no-unwind.h: New file.
8891 * config.host (md_unwind_header): Document.
8892 Define.
8893 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
8894 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
8895 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
8896 hppa[12]*-*-hpux11*): Set md_unwind_header.
8897 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
8898 Set md_unwind_header.
8899 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
8900 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
8901 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
8902 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
8903 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
8904 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
8905 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
8906 md_unwind_header.
8907 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
8908 * configure: Regenerate.
8909
737346fa
RO
89102011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8911
8912 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
8913 Set tmake_file, extra_parts.
8914 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
8915 Remove O32 support.
8916 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
8917 Remove O32 support.
8918 * config/mips/t-irix6: New file.
8919 * config/mips/t-slibgcc-irix: New file.
8920
c192cee6
RO
89212011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8922
8923 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
8924 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
8925
ee33b5f0
RO
89262011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8927
8928 * configure.ac (target_thread_file): Determine thread model.
8929 * configure: Regenerate.
8930 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
8931 * config/alpha/t-alpha: New file.
8932 * config/alpha/t-crtfm: Use $<.
8933 * config/alpha/t-ieee: New file.
8934 * config/alpha/t-osf-pthread: New file.
8935 * config/alpha/t-slibgcc-osf: New file.
8936 * config/alpha/libgcc-osf5.ver: New file.
8937
0699e415
RO
89382011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8939
8940 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
8941 tmake_file.
8942 Add crtfastmath.o to extra_parts.
8943
a3fab9c2
RO
89442011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8945
8946 * config/gmon-sol2.c: Reindent.
8947 Cleanup comments.
8948 Remove, correct casts.
8949 Use STDERR_FILENO, NULL.
8950 (BASEADDRESS): Remove.
8951 (minbrk): Remove.
8952 (errno, sbrk): Remove declarations.
8953 (monstartup) [hp300]: Remove.
8954 (mcount): Remove.
8955
ca24c5ad
RO
89562011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8957
8958 * Makefile.in (cpu_type): Define.
8959 * config.host (i[34567]86-*-rtems*): Handle it.
8960 (i[34567]86-*-solaris2*): Move body ...
8961 (*-*-solaris2*): ... here.
8962 New case, generalize.
8963 (sparc-*-elf*): Handle it.
8964 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
8965 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
8966 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
8967 Fold into ...
8968 (sparc*-*-solaris2*): ... this.
8969 New case.
8970 (sparc64-*-elf*): Handle it.
8971 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
8972 Merge ../gcc/config/i386/gmon-sol2.c.
8973 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
8974 Use C comments.
8975 Merge ../gcc/config/i386/sol2-gc1.asm.
8976 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
8977 Use C comments.
8978 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
8979 Use C comments.
8980 * config/i386/t-crtfm (crtfastmath.o): Use $<.
8981 * config/i386/t-crtstuff: New file.
8982 * config/i386/t-softfp: New file.
8983 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
8984 $(T)crti.o, $(T)crtn.o): Remove.
8985 (gcrt1.o): New rule.
8986 (TARGET_LIBGCC2_CFLAGS): Remove.
8987 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
8988 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
8989 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
8990 * config/sparc/t-sol2: New file.
8991 * config/sparc/t-crtfm: Move to ...
8992 * config/t-crtfm: ... this.
8993 Use $(cpu_type), $<.
8994 * config/t-crtin: New file.
8995 * config/sparc/t-softfp: New file.
8996 * config/sparc/t-softmul: New file.
8997 * config/t-rtems: New file.
8998 * config/t-slibgcc: New file.
8999 * config/t-slibgcc-elf-ver: New file.
9000 * config/t-slibgcc-gld: New file.
9001 * config/t-slibgcc-sld: New file.
9002 * config/t-sol2: New file.
9003 * configure.ac: Include ../config/lib-ld.m4.
9004 Call AC_LIB_PROG_LD_GNU.
9005 Substitute cpu_type.
9006 * configure: Regenerate.
9007
ad5f3d7b
BS
90082011-05-27 Bernd Schmidt <bernds@codesourcery.com>
9009
9010 PR bootstrap/49173
9011 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
9012 libgcc-std.ver in the build directory.
9013 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
9014 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
9015
cdbf4541
BS
90162011-05-25 Bernd Schmidt <bernds@codesourcery.com>
9017
9018 * libgcc-std.ver.in: New file.
9019 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
9020 variables.
9021 (libgcc-std.ver): New rule.
9022 * config/t-gnu-prefix: New file.
9023
c8028650
RO
90242011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9025
9026 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
9027
4a68b4ca
JM
90282011-05-10 Joseph Myers <joseph@codesourcery.com>
9029
9030 * config/i386/darwin-lib.h: New file.
9031
80cf2e08
JM
90322011-05-10 Joseph Myers <joseph@codesourcery.com>
9033
9034 * config/arm/symbian-lib.h: New.
9035
a3330c9d
CD
90362011-05-04 Chris Demetriou <cgd@google.com>
9037
9038 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
9039 (__x86.get_pc_thunk.bx): ...this.
9040 (__morestack): Adjust for rename, remove undef of __i686.
9041
6ace0756
CD
90422011-05-03 Chris Demetriou <cgd@google.com>
9043
9044 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
9045
ebb9f8b0
JM
90462011-03-22 Joseph Myers <joseph@codesourcery.com>
9047
9048 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
9049 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
9050 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
9051 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
9052 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
9053 Remove cases.
9054
9cfa1499
AT
90552011-03-14 Andreas Tobler <andreast@fgznet.ch>
9056
9057 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
9058 Adjust copyright year.
9059
457186f6
ILT
90602011-03-07 Ian Lance Taylor <iant@google.com>
9061
9062 * generic-morestack.c (__splitstack_find): Adjust returned stack
9063 pointer to include all registers pushed by __morestack.
9064
58c741a6
DK
90652011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
9066
9067 PR target/40125
9068 * configure.ac: Call ACX_NONCANONICAL_TARGET.
9069 (toolexecdir): Calculate and AC_SUBST.
9070 (toolexeclibdir): Likewise.
9071 * Makefile.in (target_noncanonical): Import.
9072 (toolexecdir): Likewise.
9073 (toolexeclibdir): Likewise.
9074 * configure: Regenerate.
9075
26716c44
NF
90762010-12-13 Nathan Froyd <froydnj@codesourcery.com>
9077
9078 PR target/46040
9079 * config/arm/bpabi.h: Rename to...
9080 * config/arm/bpabi-lib.h: ...this.
9081
b595b1a1
RO
90822010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9083
9084 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
9085 appropriate.
9086 * configure: Regenerate.
9087
a3abe41c
NF
90882010-11-24 Nathan Froyd <froydnj@codesourcery.com>
9089
9090 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
9091 __FLOAT_WORD_ORDER__.
9092 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
9093 Delete.
9094
455c8f48
RW
90952010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9096
9097 PR other/46202
9098 * Makefile.in (install-strip): New phony target.
9099
f3824a8b
ILT
91002010-11-07 Ian Lance Taylor <iant@google.com>
9101
9102 PR target/46089
9103 * config/i386/morestack.S (__morestack_large_model): New
9104 function.
9105
18ed6ee4
NF
91062010-10-23 Nathan Froyd <froydnj@codesourcery.com>
9107
9108 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
9109 Delete.
9110 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
9111
8ac7fdcb
NF
91122010-10-14 Nathan Froyd <froydnj@codesourcery.com>
9113
9114 * config/arm/bpabi.h: New file.
9115 * config/frv/frv-abi.h: New file.
9116
cdb388c2
ILT
91172010-10-01 Ian Lance Taylor <iant@google.com>
9118
9119 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
9120 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
9121
ef7c141c
L
91222010-10-01 H.J. Lu <hongjiu.lu@intel.com>
9123
9124 PR target/45858
9125 * config.host: Add the missing `$'.
9126
80920132
ME
91272010-09-30 Michael Eager <eager@eagercon.com>
9128
9129 * config.host: Add microblaze*-*-*.
9130 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
9131 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
9132 udivsi3.asm,umodsi3.asm}: New.
9133
6dace308
ILT
91342010-09-28 Ian Lance Taylor <iant@google.com>
9135
9136 * configure.ac: Adjust CFI test to test assembler directly rather
9137 than checking gcc preprocessor macro.
9138 * configure: Rebuild.
9139
b6110d6d
ILT
91402010-09-27 Ian Lance Taylor <iant@google.com>
9141
9142 * configure.ac: Test whether assembler supports CFI directives.
9143 * config.host: Only add t-stack and i386/t-stack-i386 to
9144 tmake_file if libgcc_cv_cfi is "yes".
9145 * configure: Rebuild.
9146
7458026b
ILT
91472010-09-27 Ian Lance Taylor <iant@google.com>
9148
9149 * generic-morestack.h: New file.
9150 * generic-morestack.c: New file.
9151 * generic-morestack-thread.c: New file.
9152 * config/i386/morestack.S: New file.
9153 * config/t-stack: New file.
9154 * config/i386/t-stack-i386: New file.
9155 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
9156 i386/t-stack-i386 to tmake_file.
9157
5b50fc0c
IS
91582010-09-21 Iain Sandoe <iains@gcc.gnu.org>
9159
9160 * Makefile.in (libgcc-extra-parts): Check for static archives and
9161 invoke ranlib after installing them.
9162 (gcc-extra-parts): Likewise.
9163 (install-leaf): Likewise.
9164
b93cf342
L
91652010-09-14 H.J. Lu <hongjiu.lu@intel.com>
9166
9167 * configure: Regenerated.
9168
996b42ef
KT
91692010-09-10 Kai Tietz <kai.tietz@onevision.com>
9170
b93cf342 9171 * configure: Regenerated.
996b42ef 9172
be1c764e
GP
91732010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
9174 Andrew Pinski <pinskia@gmail.com>
9175
1da9434b 9176 PR target/40959
be1c764e
GP
9177 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
9178
cc0ae0ca
L
91792010-09-06 H.J. Lu <hongjiu.lu@intel.com>
9180
9181 PR target/45524
9182 * configure: Regenerated.
9183
84f47d20
AS
91842010-09-06 Andreas Schwab <schwab@redhat.com>
9185
9186 * configure: Regenerate.
9187
4159fb8d
UB
91882010-09-03 Uros Bizjak <ubizjak@gmail.com>
9189
9190 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
9191 64bit targets.
9192 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
9193 for 64bit targets.
9194
0df8fcc8
UB
91952010-09-03 Uros Bizjak <ubizjak@gmail.com>
9196 Iain Sandoe <iains@gcc.gnu.org>
9197
9198 PR target/45476
9199 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
9200 LIB2FUNCS_EXCLUDE functions.
9201
3c39bca6
AK
92022010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9203
9204 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
9205 Include dfp.m4.
9206 * configure: Regenerate.
9207
d78552bd
UB
92082010-09-01 Uros Bizjak <ubizjak@gmail.com>
9209
9210 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
9211 i386/t-freebsd to tmake_file.
9212 * config/i386/t-freebsd: New file.
9213 * config/i386/libgcc-bsd.ver: New file.
9214
c5b79d4e
NF
92152010-07-23 Nathan Froyd <froydnj@codesourcery.com>
9216
9217 * config.host (powerpc*-eabispe*): Set tmake_file.
9218 (powerpc*-eabi*): Likewise.
9219 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
9220 crtbeginS, crtendS, crtbeginT.
9221
48b09a92
KH
92222010-06-12 Kazu Hirata <kazu@codesourcery.com>
9223
9224 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
9225 to tmake_file. Add crtfastmath.o to extra_parts.
9226 * config/mips/t-crtfm: New.
9227
7d296953 92282010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
a4389204
JS
9229
9230 * config.host (sparc64-*-rtems*): New target.
9231
ed104137
RO
92322010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9233
9234 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
9235 assembler syntax.
9236
3f56ef8b
TS
92372010-04-15 Thomas Schwinge <tschwinge@gnu.org>
9238
9239 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
9240
8c200350
RO
92412010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9242
9243 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
9244 alpha-dec-osf5.0* support.
9245
7d296953 92462010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
c1b14424
RC
9247
9248 * config.host: Add lm32-*-rtems*.
9249
f128db92 92502010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7d296953 9251 Uros Bizjak <ubizjak@gmail.com>
f128db92
RO
9252
9253 PR target/39048
9254 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
9255 like other remaining 32-bit x86 OSes.
9256 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
9257 assembler syntax.
9258 * config/i386/libgcc-sol2.ver: New file.
9259 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
9260
7d296953 92612010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
368fabd5
JH
9262
9263 PR c/43553
9264 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
9265 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
9266 is used and substitute set_use_emutls.
9267 * configure: Regenerated.
9268
15baf7f8
TG
92692010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
9270
9271 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
9272
7f5441df
RO
92732010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9274
9275 PR target/38085
9276 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
9277 MULTILIB_CFLAGS.
9278 ($(T)gcrt1.o): Likewise.
9279 ($(T)crt1.o): Likewise.
9280 ($(T)crti.o): Likewise.
9281 ($(T)crtn.o): Likewise.
9282
ef74edbd
RW
92832010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9284
9285 PR other/42980
9286 * Makefile.in (install): Use $(MAKE) string in rule, for
9287 parallel make.
9288
e7c914db
HPN
92892010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
9290
9291 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
9292 * config/mmix/t-mmix: New file.
9293 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
9294
1bcb71c4
JH
92952010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
9296
9297 PR java/41991
9298 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
9299 SHLIB_MAPFILES.
9300
e6e50811
AG
93012010-01-04 Anthony Green <green@moxielogic.com>
9302
9303 * config/moxie/crti.asm, config/moxie/crtn.asm,
9304 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
9305 config/moxie/t-moxie: New files.
9306 * config.host: Add t-moxie-softfp reference.
9307
7d296953 93082009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
ca8520ad
IS
9309
9310 PR other/39888
9311 * config/t-slibgcc-darwin: Fix embedded rpaths for
9312 --enable-version-specific-runtime-libs, build extension stub
9313 libs exposing features available from current libgcc_s.
9314
7d296953 93152009-11-11 Jon Beniston <jon@beniston.com>
aa4945c1 9316
d78552bd
UB
9317 * config.host: Add lm32 targets.
9318 * config/lm32: New directory.
9319 * config/lm32/libgcc_lm32.h: New file.
9320 * config/lm32/_mulsi3.c: New file.
9321 * config/lm32/_udivmodsi4.c: New file.
9322 * config/lm32/_divsi3.c: New file.
9323 * config/lm32/_modsi3.c: New file.
9324 * config/lm32/_udivsi3.c: New file.
9325 * config/lm32/_umodsi3.c: New file.
9326 * config/lm32/_lshrsi3.S: New file.
9327 * config/lm32/_ashrsi3.S: New file.
9328 * config/lm32/_ashlsi3.S: New file.
9329 * config/lm32/crti.S: New file.
9330 * config/lm32/crtn.S: New file.
9331 * config/lm32/t-lm32: New file.
9332 * config/lm32/t-elf: New file.
9333 * config/lm32/t-uclinux: New file.
aa4945c1 9334
65a324b4
NC
93352009-10-26 Nick Clifton <nickc@redhat.com>
9336
9337 * config.host: Add support for RX target.
9338 * config/rx: New directory.
9339 * config/rx/rx-abi-functions.c: New file. Supplementary
9340 functions for libgcc to support the RX ABI.
9341 * config/rx/rx-abi.h: New file. Supplementary header file for
9342 libgcc RX ABI functions.
9343 * config/rx/t-rx: New file: Makefile fragment for building
9344 libgcc for the RX.
9345
dfb3b0e3
UB
93462009-10-09 Uros Bizjak <ubizjak@gmail.com>
9347
9348 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
9349 constraint of y0 to "g".
9350
81dd9fd7
AK
93512009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9352
9353 * config.host: Include the s390 makefile fragments.
9354 * config/s390/32/_fixdfdi.c: New file.
9355 * config/s390/32/_fixsfdi.c: New file.
9356 * config/s390/32/_fixtfdi.c: New file.
9357 * config/s390/32/_fixunsdfdi.c: New file.
9358 * config/s390/32/_fixunssfdi.c: New file.
9359 * config/s390/32/_fixunstfdi.c: New file.
9360 * config/s390/32/t-floattodi: New file.
9361 * config/s390/libgcc-glibc.ver: New file.
9362 * config/s390/t-crtstuff: New file.
9363 * config/s390/t-linux: New file.
9364 * config/s390/t-tpf: New file.
9365
df58e648
RW
93662009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9367
9368 * configure.ac (AC_PREREQ): Bump to 2.64.
9369
79052be3
KK
93702009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
9371
9372 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
9373
5213506e
RW
93742009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9375
9376 * configure: Regenerate.
9377
a9a25daa
DR
93782009-08-09 Douglas B Rupp <rupp@gnat.com>
9379
9380 * config.host (ia64-hp-*vms*): New target.
9381 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
9382 with ia64-hp-*vms*.
9383
6efbd53f
RW
93842009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9385
9386 * configure.ac: Add snippet for maintainer-mode.
9387 * configure: Regenerate.
9388 * Makefile.in (AUTOCONF, configure_deps): New variables.
9389 ($(srcdir)/configure)): New rule, active only with maintainer
9390 mode turned on.
9391
7acf4da6
DD
93922009-06-23 DJ Delorie <dj@redhat.com>
9393
9394 Add MeP port.
9395 * config.host: Add mep support.
9396
54f549af
KT
93972009-06-22 Kai Tietz <kai.tietz@onevision.com>
9398
34481f28 9399 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 9400 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
34481f28
UB
9401
9402 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
9403 for mingw targets.
54f549af
KT
9404 * config/i386/64/_multc3.c: Likewise.
9405 * config/i386/64/_powitf2.c: Likewise.
9406 * config/i386/64/eqtf2.c: Likewise.
9407 * config/i386/64/getf2.c: Likewise.
9408 * config/i386/64/letf2.c: Likewise.
9409 * config/i386/64/letf2.c: Likewise.
34481f28
UB
9410 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
9411 unsigned long long for x64 mingw targets.
9412 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
9413 (_FP_I_TYPE): Define as long long for x64 mingw target.
54f549af 9414
fea96e25
MR
94152009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
9416
9417 * config.host (vax-*-linux*): New.
9418
cceb575c
AG
94192009-05-31 Anthony Green <green@moxielogic.com>
9420
9421 * config.host: Add moxie support.
9422 * config/moxie/t-moxie: New file.
9423
7d296953 94242009-05-29 David Billinghurst <billingd@gcc.gnu.org>
e997fb9c
DB
9425
9426 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 9427 t-softfp to tmake_file for i[34567]86-*-cygwin*.
e997fb9c 9428
532bfb0a
AJ
94292009-04-17 Aurelien Jarno <aurelien@aurel32.net>
9430
9431 * config.host: Add i386/${host_address}/t-fprules-softfp to
9432 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
9433
748086b7
JJ
94342009-04-09 Nick Clifton <nickc@redhat.com>
9435
9436 * config/ia64/tf-signs.c: Change copyright header to refer to
9437 version 3 of the GNU General Public License with version 3.1
9438 of the GCC Runtime Library Exception and to point readers at
9439 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
9440 web page.
9441 * config/i386/32/tf-signs.c: Likewise.
9442 * config/libbid/_addsub_dd.c: Likewise.
9443 * config/libbid/_addsub_sd.c: Likewise.
9444 * config/libbid/_addsub_td.c: Likewise.
9445 * config/libbid/_dd_to_df.c: Likewise.
9446 * config/libbid/_dd_to_di.c: Likewise.
9447 * config/libbid/_dd_to_sd.c: Likewise.
9448 * config/libbid/_dd_to_sf.c: Likewise.
9449 * config/libbid/_dd_to_si.c: Likewise.
9450 * config/libbid/_dd_to_td.c: Likewise.
9451 * config/libbid/_dd_to_tf.c: Likewise.
9452 * config/libbid/_dd_to_udi.c: Likewise.
9453 * config/libbid/_dd_to_usi.c: Likewise.
9454 * config/libbid/_dd_to_xf.c: Likewise.
9455 * config/libbid/_df_to_dd.c: Likewise.
9456 * config/libbid/_df_to_sd.c: Likewise.
9457 * config/libbid/_df_to_td.c: Likewise.
9458 * config/libbid/_di_to_dd.c: Likewise.
9459 * config/libbid/_di_to_sd.c: Likewise.
9460 * config/libbid/_di_to_td.c: Likewise.
9461 * config/libbid/_div_dd.c: Likewise.
9462 * config/libbid/_div_sd.c: Likewise.
9463 * config/libbid/_div_td.c: Likewise.
9464 * config/libbid/_eq_dd.c: Likewise.
9465 * config/libbid/_eq_sd.c: Likewise.
9466 * config/libbid/_eq_td.c: Likewise.
9467 * config/libbid/_ge_dd.c: Likewise.
9468 * config/libbid/_ge_sd.c: Likewise.
9469 * config/libbid/_ge_td.c: Likewise.
9470 * config/libbid/_gt_dd.c: Likewise.
9471 * config/libbid/_gt_sd.c: Likewise.
9472 * config/libbid/_gt_td.c: Likewise.
9473 * config/libbid/_isinfd128.c: Likewise.
9474 * config/libbid/_isinfd32.c: Likewise.
9475 * config/libbid/_isinfd64.c: Likewise.
9476 * config/libbid/_le_dd.c: Likewise.
9477 * config/libbid/_le_sd.c: Likewise.
9478 * config/libbid/_le_td.c: Likewise.
9479 * config/libbid/_lt_dd.c: Likewise.
9480 * config/libbid/_lt_sd.c: Likewise.
9481 * config/libbid/_lt_td.c: Likewise.
9482 * config/libbid/_mul_dd.c: Likewise.
9483 * config/libbid/_mul_sd.c: Likewise.
9484 * config/libbid/_mul_td.c: Likewise.
9485 * config/libbid/_ne_dd.c: Likewise.
9486 * config/libbid/_ne_sd.c: Likewise.
9487 * config/libbid/_ne_td.c: Likewise.
9488 * config/libbid/_sd_to_dd.c: Likewise.
9489 * config/libbid/_sd_to_df.c: Likewise.
9490 * config/libbid/_sd_to_di.c: Likewise.
9491 * config/libbid/_sd_to_sf.c: Likewise.
9492 * config/libbid/_sd_to_si.c: Likewise.
9493 * config/libbid/_sd_to_td.c: Likewise.
9494 * config/libbid/_sd_to_tf.c: Likewise.
9495 * config/libbid/_sd_to_udi.c: Likewise.
9496 * config/libbid/_sd_to_usi.c: Likewise.
9497 * config/libbid/_sd_to_xf.c: Likewise.
9498 * config/libbid/_sf_to_dd.c: Likewise.
9499 * config/libbid/_sf_to_sd.c: Likewise.
9500 * config/libbid/_sf_to_td.c: Likewise.
9501 * config/libbid/_si_to_dd.c: Likewise.
9502 * config/libbid/_si_to_sd.c: Likewise.
9503 * config/libbid/_si_to_td.c: Likewise.
9504 * config/libbid/_td_to_dd.c: Likewise.
9505 * config/libbid/_td_to_df.c: Likewise.
9506 * config/libbid/_td_to_di.c: Likewise.
9507 * config/libbid/_td_to_sd.c: Likewise.
9508 * config/libbid/_td_to_sf.c: Likewise.
9509 * config/libbid/_td_to_si.c: Likewise.
9510 * config/libbid/_td_to_tf.c: Likewise.
9511 * config/libbid/_td_to_udi.c: Likewise.
9512 * config/libbid/_td_to_usi.c: Likewise.
9513 * config/libbid/_td_to_xf.c: Likewise.
9514 * config/libbid/_tf_to_dd.c: Likewise.
9515 * config/libbid/_tf_to_sd.c: Likewise.
9516 * config/libbid/_tf_to_td.c: Likewise.
9517 * config/libbid/_udi_to_dd.c: Likewise.
9518 * config/libbid/_udi_to_sd.c: Likewise.
9519 * config/libbid/_udi_to_td.c: Likewise.
9520 * config/libbid/_unord_dd.c: Likewise.
9521 * config/libbid/_unord_sd.c: Likewise.
9522 * config/libbid/_unord_td.c: Likewise.
9523 * config/libbid/_usi_to_dd.c: Likewise.
9524 * config/libbid/_usi_to_sd.c: Likewise.
9525 * config/libbid/_usi_to_td.c: Likewise.
9526 * config/libbid/_xf_to_dd.c: Likewise.
9527 * config/libbid/_xf_to_sd.c: Likewise.
9528 * config/libbid/_xf_to_td.c: Likewise.
9529 * config/libbid/bid128.c: Likewise.
9530 * config/libbid/bid128_2_str.h: Likewise.
9531 * config/libbid/bid128_2_str_macros.h: Likewise.
9532 * config/libbid/bid128_2_str_tables.c: Likewise.
9533 * config/libbid/bid128_add.c: Likewise.
9534 * config/libbid/bid128_compare.c: Likewise.
9535 * config/libbid/bid128_div.c: Likewise.
9536 * config/libbid/bid128_fma.c: Likewise.
9537 * config/libbid/bid128_logb.c: Likewise.
9538 * config/libbid/bid128_minmax.c: Likewise.
9539 * config/libbid/bid128_mul.c: Likewise.
9540 * config/libbid/bid128_next.c: Likewise.
9541 * config/libbid/bid128_noncomp.c: Likewise.
9542 * config/libbid/bid128_quantize.c: Likewise.
9543 * config/libbid/bid128_rem.c: Likewise.
9544 * config/libbid/bid128_round_integral.c: Likewise.
9545 * config/libbid/bid128_scalb.c: Likewise.
9546 * config/libbid/bid128_sqrt.c: Likewise.
9547 * config/libbid/bid128_string.c: Likewise.
9548 * config/libbid/bid128_to_int16.c: Likewise.
9549 * config/libbid/bid128_to_int32.c: Likewise.
9550 * config/libbid/bid128_to_int64.c: Likewise.
9551 * config/libbid/bid128_to_int8.c: Likewise.
9552 * config/libbid/bid128_to_uint16.c: Likewise.
9553 * config/libbid/bid128_to_uint32.c: Likewise.
9554 * config/libbid/bid128_to_uint64.c: Likewise.
9555 * config/libbid/bid128_to_uint8.c: Likewise.
9556 * config/libbid/bid32_to_bid128.c: Likewise.
9557 * config/libbid/bid32_to_bid64.c: Likewise.
9558 * config/libbid/bid64_add.c: Likewise.
9559 * config/libbid/bid64_compare.c: Likewise.
9560 * config/libbid/bid64_div.c: Likewise.
9561 * config/libbid/bid64_fma.c: Likewise.
9562 * config/libbid/bid64_logb.c: Likewise.
9563 * config/libbid/bid64_minmax.c: Likewise.
9564 * config/libbid/bid64_mul.c: Likewise.
9565 * config/libbid/bid64_next.c: Likewise.
9566 * config/libbid/bid64_noncomp.c: Likewise.
9567 * config/libbid/bid64_quantize.c: Likewise.
9568 * config/libbid/bid64_rem.c: Likewise.
9569 * config/libbid/bid64_round_integral.c: Likewise.
9570 * config/libbid/bid64_scalb.c: Likewise.
9571 * config/libbid/bid64_sqrt.c: Likewise.
9572 * config/libbid/bid64_string.c: Likewise.
9573 * config/libbid/bid64_to_bid128.c: Likewise.
9574 * config/libbid/bid64_to_int16.c: Likewise.
9575 * config/libbid/bid64_to_int32.c: Likewise.
9576 * config/libbid/bid64_to_int64.c: Likewise.
9577 * config/libbid/bid64_to_int8.c: Likewise.
9578 * config/libbid/bid64_to_uint16.c: Likewise.
9579 * config/libbid/bid64_to_uint32.c: Likewise.
9580 * config/libbid/bid64_to_uint64.c: Likewise.
9581 * config/libbid/bid64_to_uint8.c: Likewise.
9582 * config/libbid/bid_b2d.h: Likewise.
9583 * config/libbid/bid_binarydecimal.c: Likewise.
9584 * config/libbid/bid_conf.h: Likewise.
9585 * config/libbid/bid_convert_data.c: Likewise.
9586 * config/libbid/bid_decimal_data.c: Likewise.
9587 * config/libbid/bid_decimal_globals.c: Likewise.
9588 * config/libbid/bid_div_macros.h: Likewise.
9589 * config/libbid/bid_dpd.c: Likewise.
9590 * config/libbid/bid_flag_operations.c: Likewise.
9591 * config/libbid/bid_from_int.c: Likewise.
9592 * config/libbid/bid_functions.h: Likewise.
9593 * config/libbid/bid_gcc_intrinsics.h: Likewise.
9594 * config/libbid/bid_inline_add.h: Likewise.
9595 * config/libbid/bid_internal.h: Likewise.
9596 * config/libbid/bid_round.c: Likewise.
9597 * config/libbid/bid_sqrt_macros.h: Likewise.
9598
95992009-04-09 Jakub Jelinek <jakub@redhat.com>
9600
9601 * Makefile.in: Change copyright header to refer to version
9602 3 of the GNU General Public License and to point readers at the
9603 COPYING3 file and the FSF's license web page.
9604 * config.host: Likewise.
9605
633dd061
AM
96062009-04-07 Alan Modra <amodra@bigpond.net.au>
9607
9608 * config.host: Reorder and merge to match config.gcc change.
9609
457d1d00
AM
96102009-04-03 Alan Modra <amodra@bigpond.net.au>
9611
9612 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
9613
52c0e446
JM
96142009-03-28 Joseph Myers <joseph@codesourcery.com>
9615
9616 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
9617 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
9618 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
9619 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
9620
ba181049
UB
96212009-02-12 Uros Bizjak <ubizjak@gmail.com>
9622
9623 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
9624 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
9625
c252db20
L
96262009-02-12 H.J. Lu <hongjiu.lu@intel.com>
9627
ba181049
UB
9628 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
9629 ia64/t-softfp-compat to tmake_file.
c252db20
L
9630
9631 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
9632
9633 * config/ia64/__divxf3.asm: New.
9634 * config/ia64/_fixtfdi.asm: Likewise.
9635 * config/ia64/_fixunstfdi.asm: Likewise.
9636 * config/ia64/_floatditf.asm: Likewise.
9637 * config/ia64/t-fprules-softfp: Likewise.
9638 * config/ia64/t-softfp-compat: Likewise.
9639 * config/ia64/tf-signs.c: Likewise.
9640
c60535f9
BE
96412009-01-18 Ben Elliston <bje@au.ibm.com>
9642
9643 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
9644
ce16861e
BE
96452009-01-16 Ben Elliston <bje@au.ibm.com>
9646
9647 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
9648 to tmake_file.
9649
bcf4713b
BE
96502009-01-13 Ben Elliston <bje@au.ibm.com>
9651
9652 * config/t-softfp: New file.
9653 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
9654 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
9655
7d296953 96562009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
2042cb04
JS
9657
9658 * config.host: Add m32r*-*-rtems*.
9659
7d296953 96602008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
541ed00e
JS
9661
9662 * config.host: Add m32c*-*-rtems*.
9663
19523300
RO
96642008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9665
9666 PR bootstrap/33100
9667 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
9668 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
9669 * configure: Regenerate.
9670 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
9671 tmake_file here from gcc/config.gcc.
9672 Move extra_parts here from gcc/config.gcc.
9673 * config/i386/t-sol2: Move here from gcc/config/i386.
9674 Use gcc_srcdir instead of srcdir.
9675
0a4a51c7
AN
96762008-11-18 Adam Nemet <anemet@caviumnetworks.com>
9677
9678 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
9679 case.
9680
2a761e46
TS
96812008-11-09 Thomas Schwinge <tschwinge@gnu.org>
9682
9683 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
9684
c0451df7
TS
96852008-10-08 Thomas Schwinge <tschwinge@gnu.org>
9686
9687 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
9688
358da97e
HS
96892008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
9690
9691 Add picoChip port.
9692 * config.host: Add picochip-*-*.
9693
c660f132
BW
96942008-08-06 Bob Wilson <bob.wilson@acm.org>
9695
9696 * config.host: Match more processor names for Xtensa.
9697
d1349557
L
96982008-07-08 H.J. Lu <hongjiu.lu@intel.com>
9699
9700 * config/i386/64/t-softfp-compat: Update comments.
9701
dd7b73c0
L
97022008-07-07 H.J. Lu <hongjiu.lu@intel.com>
9703
9704 * config/i386/64/_divtc3-compat.c: Moved to ...
9705 * config/i386/64/_divtc3.c: Here.
9706
9707 * config/i386/64/_multc3-compat.c: Moved to ...
9708 * config/i386/64/_multc3.c: Here.
9709
9710 * config/i386/64/_powitf2-compat.c: Moved to ...
9711 * config/i386/64/_powitf2.c: Here.
9712
9713 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
9714 .c suffix instead of -compat.c.
9715
6e1fab3d
UB
97162008-07-05 Uros Bizjak <ubizjak@gmail.com>
9717
9718 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
9719 (_FP_MUL_MEAT_D): Ditto.
9720 (_FP_DIV_MEAT_S): Ditto.
9721 (_FP_DIV_MEAT_D): Ditto.
9722
f92518d7
RS
97232008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
9724
9725 * Makefile.in: Add support for __sync_* libgcc functions.
9726
d0aede14
L
97272008-07-03 H.J. Lu <hongjiu.lu@intel.com>
9728
9729 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
9730
c174f11c
L
97312008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9732
9733 PR boostrap/36702
9734 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
9735 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
9736
9737 * config/i386/64/t-fprules-softfp: Moved to ...
9738 * config/i386/64/t-softfp-compat: This. New.
9739
5f464fa2
UB
97402008-07-02 Uros Bizjak <ubizjak@gmail.com>
9741
9742 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
9743 Initialize f with 0.0.
9744
ff473280
L
97452008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9746
9747 PR target/36669
9748 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
9749
9750 * config/i386/64/_divtc3-compat.c: New.
9751 * config/i386/64/_multc3-compat.c: Likewise.
9752 * config/i386/64/_powitf2-compat.c: Likewise.
9753 * config/i386/64/eqtf2.c: Likewise.
9754 * config/i386/64/getf2.c: Likewise.
9755 * config/i386/64/letf2.c: Likewise.
9756 * config/i386/64/t-fprules-softfp: Likewise.
9757
97582008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9759
9760 * config.host: Add i386/${host_address}/t-fprules-softfp to
9761 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
dfb3b0e3 9762 i[34567]86-*-linux*, x86_64-*-linux*.
ff473280
L
9763
9764 * configure.ac: Set host_address to 64 or 32 for x86.
9765 * configure: Regenerated.
9766
9767 * Makefile.in (config.status): Also depend on
9768 $(srcdir)/config.host.
9769
9770 * config/i386/32/t-fprules-softfp: New.
9771 * config/i386/32/tf-signs.c: Likewise.
9772
9773 * config/i386/64/sfp-machine.h: New. Moved from gcc.
9774
97752008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9776 Uros Bizjak <ubizjak@gmail.com>
9777
9778 * config/i386/32/sfp-machine.h: New.
9779
30551d99
NF
97802008-06-26 Nathan Froyd <froydnj@codesourcery.com>
9781
9782 * config/rs6000/t-ppccomm: Remove rules that conflict with
9783 auto-generated rules.
9784
18c04407
RW
97852008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9786
9787 * configure.ac: sinclude override.m4.
9788 * configure: Regenerate.
9789
10fbe77a
BRF
97902008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
9791
9792 * configure: Regenerate.
9793
bc6d4c3f
JM
97942008-06-10 Joseph Myers <joseph@codesourcery.com>
9795
9796 * Makefile.in (DECNUMINC): Remove
9797 -I$(MULTIBUILDTOP)../../libdecnumber.
9798 * gstdint.h: New.
9799
cd985f66
JM
98002008-06-07 Joseph Myers <joseph@codesourcery.com>
9801
9802 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
9803 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
9804 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
9805 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
9806 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
9807 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
9808 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
9809 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
9810 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
9811 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
9812 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
9813 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
9814 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
9815 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
9816
93fea8d3
AL
98172008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
9818
9819 * config.host (sh2[lbe]*-*-linux*): Allow target.
9820
18724e30
NF
98212008-04-30 Nathan Froyd <froydnj@codesourcery.com>
9822
9823 * config/rs6000/t-ppccomm: Add build rules for new files.
9824 (LIB2ADD_ST): New variable.
9825
47583040
AH
98262008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
9827
9828 PR target/34210
9829 PR target/35508
9830 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
9831 * config/t-avr: New file. Build 16bit libgcc functions.
9832
cf8e67fe
JJ
98332008-03-02 Jakub Jelinek <jakub@redhat.com>
9834
9835 PR target/35401
9836 * config/t-slibgcc-darwin: Make install-leaf dependent on
9837 install-darwin-libgcc-stubs instead of install.
9838
8d8da227
JM
98392008-01-25 Joseph Myers <joseph@codesourcery.com>
9840
9841 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
9842 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
9843 sh-*-rtemscoff*): Remove cases.
9844
edbf8b16
RS
98452007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
9846
9847 * Makefile.in (all): Use install-leaf rather than install.
9848 (install): Split most of the rule into...
9849 (install-leaf): ...this new one.
9850
89deeaff
EK
98512007-12-19 Etsushi Kato <ek.kato@gmail.com>
9852 Paolo Bonzini <bonzini@gnu.org>
9853
9854 PR target/30572
5f464fa2
UB
9855 * Makefile.in: Use @shlib_slibdir@ substitution to get
9856 correct install name on darwin.
89deeaff 9857 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
dfb3b0e3 9858
4081d704
HPN
98592007-12-15 Hans-Peter Nilsson <hp@axis.com>
9860
9861 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
9862 cris-*-elf and cris-*-none.
9863 (crisv32-*-linux*): Similar, as cris-*-linux*.
9864
f43e89a3
RIL
98652007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
9866
9867 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
9868
b4e9c2c6
L
98692007-10-27 H.J. Lu <hongjiu.lu@intel.com>
9870
9871 PR regression/33926
9872 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
9873 * configure: Regenerated.
9874
b2a00c89
L
98752007-09-27 H.J. Lu <hongjiu.lu@intel.com>
9876
9877 * Makefile.in (dfp-filenames): Replace decimal_globals,
9878 decimal_data, binarydecimal and convert_data with
9879 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
9880 and bid_convert_data, respectively.
9881
8d2a9e0e
CF
98822007-09-17 Chao-ying Fu <fu@mips.com>
9883 Nigel Stephens <nigel@mips.com>
9884
9885 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
9886 * Makefile.in (fixed_point): Define.
9887 Check if fixed_point is yes to build support functions.
9888 * configure.ac: Check for fixed_point support.
9889 * configure: Regenerated.
9890 * gen-fixed.sh: New file to generate lists of fixed-point labels,
9891 funcs, modes, from, to.
9892
2b53935d
JJ
98932007-09-11 Janis Johnson <janis187@us.ibm.com
9894
9895 * Makefile.in (dfp-filenames): Add bid128_noncomp.
9896
2533577f
JJ
98972007-09-10 Janis Johnson <janis187@us.ibm.com>
9898
9899 * Makefile.in (dfp-filenames): Remove decUtility, add
9900 decDouble, decPacked, decQuad, decSingle.
9901
3ae3dbd6
HK
99022007-08-27 Hans Kester <hans.kester@ellips.nl>
9903
9904 * config.host : Add x86_64-elf target.
9905
22867d02
L
99062007-07-06 H.J. Lu <hongjiu.lu@intel.com>
9907
9908 * configure.ac (set_have_cc_tls): Add a missing =.
9909 * configure: Regenerated.
9910
6f461e76
L
99112007-07-06 H.J. Lu <hongjiu.lu@intel.com>
9912
9913 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
9914 and x86_64-*-linux*.
9915
9916 * config/t-tls: New file.
9917
dfb3b0e3 9918 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
6f461e76
L
9919
9920 * configure.ac: Include ../config/enable.m4 and
9921 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
9922 supports TLS and substitute set_have_cc_tls.
9923 * configure: Regenerated.
9924
200359e8
L
99252007-07-04 H.J. Lu <hongjiu.lu@intel.com>
9926
9927 * Makefile.in: Use libbid for DFP when BID is enabled.
9928
76f5e200
DS
99292007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
9930
9931 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
dfb3b0e3 9932 extra_parts. Add config/i386/t-cygming to tmake_file.
76f5e200
DS
9933 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
9934
9bd196f0 99352007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
200359e8 9936 Danny Smith <dannysmith@users.sourceforge.net>
9bd196f0
ZM
9937
9938 PR target/29498
9939 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
9940 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
9941 * config/i386/t-crtfm: Compile crtfastmath.o with
9942 -minline-all-stringops.
9943
1910440e
RS
99442007-05-10 Richard Sandiford <richard@codesourcery.com>
9945
9946 * config.host (sparc-wrs-vxworks): New target.
9947
7d33c31d
KH
99482007-04-14 Kazu Hirata <kazu@codesourcery.com>
9949
9950 * config.host: Recognize fido.
9951
96fccd0d
JJ
99522007-04-04 Janis Johnson <janis187@us.ibm.com>
9953
9954 * configure: Check host, not target, for decimal float support.
9955
577565f9
UB
99562007-04-03 Uros Bizjak <ubizjak@gmail.com>
9957
9958 * config/i386/t-crtpc: New file.
9959 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
5f464fa2 9960 (x86_64-*-linux*): Ditto.
577565f9 9961
ccf8e764
RH
99622007-02-30 Kai Tietz <kai.tietz@onevision.com>
9963
9964 * config.host (x86_64-*-mingw*): New target.
9965
79b87c74
MM
99662007-03-23 Michael Meissner <michael.meissner@amd.com>
9967 H.J. Lu <hongjiu.lu@intel.com>
9968
9969 * Makefile.in (enable_decimal_float): New.
9970 (DECNUMINC): Add
9971 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
9972 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
9973 (decbits-filenames): This.
9974 (decbits-objects): New.
9975 (libgcc-objects): Add $(decbits-objects).
9976
9977 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
9978 Substitute enable_decimal_float.
9979 * configure: Regenerated.
9980
8fce4e31
HPN
99812007-03-19 Hans-Peter Nilsson <hp@axis.com>
9982
9983 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
9984
e8bb4597
BM
99852007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
9986
9987 * Makefile.in (install-info): New dummy target.
9988
344189f9
BS
99892007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
9990
9991 * config.host (bfin*-linux-uclibc*): Set extra_parts.
9992
ac84c172
BM
99932007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
9994
9995 * Makefile.in: Add install-html and install-pdf dummy
9996 targets.
9997
cd5c2357
RS
99982007-02-05 Roger Sayle <roger@eyesopen.com>
9999 Daniel Jacobowitz <dan@codesourcery.com>
10000
10001 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
10002 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
10003 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
10004
d9a66f98
JJ
100052007-01-29 Janis Johnson <janis187@us.ibm.com>
10006
10007 * Makefile.in (dec-filenames): Add decExcept.
10008
9891ec5f
DJ
100092007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
10010
10011 PR bootstrap/30469
10012 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
10013 -fprofile-use.
10014
d6efbf5a
DJ
100152007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
10016
10017 * configure.ac: Add --enable-version-specific-runtime-libs.
10018 Correct $slibdir default.
10019 * configure: Regenerated.
10020
17caeff2
JM
100212007-01-23 Joseph Myers <joseph@codesourcery.com>
10022
10023 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
10024
5ea41e3a
AP
100252007-01-21 Andrew Pinski <pinskia@gmail.com>
10026
10027 PR target/30519
10028 * config.host (alpha*-*-linux*): Set extra_parts.
10029
26900826
KK
100302007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
10031
10032 * config/sh/t-linux: New.
10033 * config.host (sh*-*-linux*): Set tmake_file.
10034
97af925b
DJ
100352007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
10036
10037 * Makefile.in (install): Handle multilibs.
10038
b0088af7
BM
100392007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
10040
10041 * Makefile.in: Added .PHONY entry for documentation targets.
10042
e0a9456a
BM
100432007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
10044
10045 * Makefile.in: Add empty info, html, dvi, pdf targets.
10046
7fd453b4
MS
100472007-01-04 Mike Stump <mrs@apple.com>
10048
10049 * Makefile.in (MAKEINFO): Remove.
10050 (PERL): Likewise.
10051
14e8fc8b
PB
100522007-01-04 Paolo Bonzini <bonzini@gnu.org>
10053
10054 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
10055 * configure: Regenerate.
10056 * Makefile.in (host_subdir): Substitute it.
dfb3b0e3 10057 (gcc_objdir): Use it.
14e8fc8b 10058
1555beba
DJ
100592007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
10060
10061 * config.host (ia64*-*-linux*): Set tmake_file.
10062
79e6eaeb
DJ
100632007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
10064
10065 * Makefile.in (version): Define.
10066
fa958513
DJ
100672007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
10068 Paolo Bonzini <bonzini@gnu.org>
10069
10070 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
10071 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
10072 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
10073 config/sparc/t-crtfm, config/t-slibgcc-darwin,
10074 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
10075 shared-object.mk, siditi-object.mk, static-object.mk: New files.
10076 * configure: Generated.
818ab71a 10077\f
a5544970 10078Copyright (C) 2007-2019 Free Software Foundation, Inc.
818ab71a
JJ
10079
10080Copying and distribution of this file, with or without modification,
10081are permitted in any medium without royalty provided the copyright
10082notice and this notice are preserved.