]> git.ipfire.org Git - thirdparty/gcc.git/blame - libgcc/ChangeLog
PR c++/55442 - memory-hog with highly recursive constexpr.
[thirdparty/gcc.git] / libgcc / ChangeLog
CommitLineData
45309d28
ML
12019-06-27 Martin Liska <mliska@suse.cz>
2
3 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Remove obviously
4 dead assignments.
5 * libgcov-util.c: Likewise.
6
c2f7a665
ML
72019-06-27 Martin Liska <mliska@suse.cz>
8
9 * libgcov-util.c (gcov_profile_merge): Release allocated
10 memory.
11 (calculate_overlap): Likewise.
12
a8e55c61
IS
132019-06-25 Iain Sandoe <iain@sandoe.co.uk>
14
15 * config.host: Add libef_ppc.a to the extra files for powerpc-darwin.
16 * config/rs6000/t-darwin: (PPC_ENDFILE_SRC, PPC_ENDFILE_OBJS): New.
17 Build objects for the out of line save/restore register functions
18 so that they can be used for any supported Darwin version.
19 * config/t-darwin: Default the build Darwin version to Darwin8
20 (MacOS 10.4).
21
e5ce4cbc
ML
222019-06-25 Martin Liska <mliska@suse.cz>
23
24 * libgcov-driver-system.c (replace_filename_variables): Do not
25 call strlen with NULL argument.
26
52a47d28
AS
272019-06-25 Andrew Stubbs <ams@codesourcery.com>
28
29 * config/gcn/t-amdgcn (LIB2ADD): Add unwind-gcn.c.
30 * config/gcn/unwind-gcn.c: New file.
31
76d46331
KCY
322019-06-25 Kwok Cheung Yeung <kcy@codesourcery.com>
33 Andrew Stubbs <ams@codesourcery.com>
34
35 * configure: Regenerate.
36 * config/gcn/gthr-gcn.h: New.
37
787783a0
TV
382019-06-18 Tom de Vries <tdevries@suse.de>
39
40 * config/nvptx/crt0.c (__main): Declare.
41
f32f7585
MG
422019-06-17 Matthew Green <mrg@eterna.com.au>
43 Maya Rashish <coypu@sdf.org>
44
45 * config.host (aarch64*-*-netbsd*): New case.
46
0fcc78f7
JL
472019-06-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
48
49 * config/msp430/slli.S (__mspabi_sllll): New library function for
50 performing a logical left shift of a 64-bit value.
51 * config/msp430/srai.S (__mspabi_srall): New library function for
52 performing a arithmetic right shift of a 64-bit value.
53 * config/msp430/srll.S (__mspabi_srlll): New library function for
54 performing a logical right shift of a 64-bit value.
55
b27c1082
MT
562019-06-14 Matt Thomas <matt@3am-software.com>
57 Matthew Green <mrg@eterna.com.au>
58 Nick Hudson <skrll@netbsd.org>
59 Maya Rashish <coypu@sdf.org>
60
61 * config.host (arm*-*-netbsdelf*): Add support for EABI configurations.
62 * config/arm/t-netbsd (LIB1ASMFUNCS): Add some additional assembler
63 functions to build.
64 * config/arm/t-netbsd-eabi: New file.
65
ae7deb4b
DD
662019-06-12 Dimitar Dimitrov <dimitar@dinux.eu>
67
68 * config.host: Add PRU target.
69 * config/pru/asri.c: New file.
70 * config/pru/eqd.c: New file.
71 * config/pru/eqf.c: New file.
72 * config/pru/ged.c: New file.
73 * config/pru/gef.c: New file.
74 * config/pru/gtd.c: New file.
75 * config/pru/gtf.c: New file.
76 * config/pru/led.c: New file.
77 * config/pru/lef.c: New file.
78 * config/pru/lib2bitcountHI.c: New file.
79 * config/pru/lib2divHI.c: New file.
80 * config/pru/lib2divQI.c: New file.
81 * config/pru/lib2divSI.c: New file.
82 * config/pru/libgcc-eabi.ver: New file.
83 * config/pru/ltd.c: New file.
84 * config/pru/ltf.c: New file.
85 * config/pru/mpyll.S: New file.
86 * config/pru/pru-abi.h: New file.
87 * config/pru/pru-asm.h: New file.
88 * config/pru/pru-divmod.h: New file.
89 * config/pru/sfp-machine.h: New file.
90 * config/pru/t-pru: New file.
91
0d7b3e47
JJ
922019-06-11 Jakub Jelinek <jakub@redhat.com>
93
94 * libgcov-merge.c (__gcov_merge_single): Revert previous change.
95
54e2d83c
ML
962019-06-10 Martin Liska <mliska@suse.cz>
97
98 PR bootstrap/90808
99 * libgcov.h: Add ATTRIBUTE_UNUSED.
100
92d41717
ML
1012019-06-10 Martin Liska <mliska@suse.cz>
102
103 * Makefile.in: Add __gcov_one_value_profiler_v2,
104 __gcov_one_value_profiler_v2_atomic and
105 __gcov_indirect_call_profiler_v4.
106 * libgcov-merge.c (__gcov_merge_single): Change
107 function signature.
108 (merge_single_value_set): New.
109 * libgcov-profiler.c (__gcov_one_value_profiler_body):
110 Update functionality.
111 (__gcov_one_value_profiler): Remove.
112 (__gcov_one_value_profiler_v2): ... this.
113 (__gcov_one_value_profiler_atomic): Rename to ...
114 (__gcov_one_value_profiler_v2_atomic): this.
115 (__gcov_indirect_call_profiler_v3): Rename to ...
116 (__gcov_indirect_call_profiler_v4): ... this.
117 * libgcov.h (__gcov_one_value_profiler): Remove.
118 (__gcov_one_value_profiler_atomic): Remove.
119 (__gcov_one_value_profiler_v2_atomic): New.
120 (__gcov_indirect_call_profiler_v3): Remove.
121 (__gcov_one_value_profiler_v2): New.
122 (__gcov_indirect_call_profiler_v4): New.
123 (gcov_get_counter_ignore_scaling): New function.
124
e37333ba
ML
1252019-06-07 Martin Liska <mliska@suse.cz>
126
127 * Makefile.in: Remove usage of
128 _gcov_merge_icall_topn.
129 * libgcov-driver.c (gcov_sort_n_vals): Remove.
130 (gcov_sort_icall_topn_counter): Likewise.
131 (gcov_sort_topn_counter_arrays): Likewise.
132 (dump_one_gcov): Remove call to gcov_sort_topn_counter_arrays.
133 * libgcov-merge.c (__gcov_merge_icall_topn): Remove.
134 * libgcov-profiler.c (__gcov_topn_value_profiler_body):
135 Likewise.
136 (GCOV_ICALL_COUNTER_CLEAR_THRESHOLD): Remove.
137 (struct indirect_call_tuple): Remove.
138 (__gcov_indirect_call_topn_profiler): Remove.
139 * libgcov-util.c (__gcov_icall_topn_counter_op): Remove.
140 * libgcov.h (gcov_sort_n_vals): Remove.
141 (L_gcov_merge_icall_topn): Likewise.
142 (__gcov_merge_icall_topn): Likewise.
143 (__gcov_indirect_call_topn_profiler): Likewise.
144
34a4a9c2
IS
1452019-06-06 Iain Sandoe <iain@sandoe.co.uk>
146
147 * config/rs6000/t-darwin: Ensure that the unwinder is built with
148 altivec enabled.
149
d1b2f85f
JL
1502019-06-06 Jozef Lawrynowicz <jozef.l@mittosystems.com>
151
152 * config/msp430/slli.S (__mspabi_slli_n): Put function in its own
153 section.
154 (__mspabi_slli): Likewise.
155 (__mspabi_slll_n): Likewise.
156 (__mspabi_slll): Likewise.
157 * config/msp430/srai.S (__mspabi_srai_n): Likewise.
158 (__mspabi_srai): Likewise.
159 (__mspabi_sral_n): Likewise.
160 (__mspabi_sral): Likewise.
161 * config/msp430/srli.S (__mspabi_srli_n): Likewise.
162 (__mspabi_srli): Likewise.
163 (__mspabi_srll_n): Likewise.
164 (__mspabi_srll): Likewise.
165
e69a13d1
YS
1662019-06-05 Yoshinori Sato <ysato@users.sourceforge.jp>
167
168 * config.host (rx-*-linux*): Add t-fdpbit to tmake_file
169 Add appropriate tm_file clause as well.
170 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Remove.
171
b009eac1
JC
1722019-06-05 James Clarke <jrtc27@jrtc27.com>
173
174 * config/ia64/crtbegin.S (__dso_handle): Put in .sdata/.sbss
175 rather than .data/.bss so it can be accessed via gp-relative
176 addressing.
177
781d39f2
DE
1782019-06-05 David Edelsohn <dje.gcc@gmail.com>
179
180 * config/rs6000/aix-unwind.h (LR_REGNO): Rename to R_LR.
181 (CR2_REGNO): Rename to R_CR2.
182 (XER_REGNO): Rename to R_XER.
183 (FIRST_ALTIVEC_REGNO): Rename to R_FIRST_ALTIVEC.
184 (VRSAVE_REGNO): Rename to R_VRSAVE.
185 (VSCR_REGNO): R_VSCR.
186
76aaa9cd
YS
1872019-05-29 Yoshinori Sato <ysato@users.sourceforge.jp>
188
189 * config.host (rx-*-linux*): Add new case.
190 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Force DFmode to SFmode.
191
8fc16d72
ST
1922019-05-29 Sam Tebbs <sam.tebbs@arm.com>
193
194 * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key): New
195 function.
196 * config/aarch64/aarch64-unwind.h (aarch64_post_extract_frame_addr,
197 aarch64_post_frob_eh_handler_addr): Add check for b-key.
198 * config/aarch64/aarch64-unwind-h (aarch64_post_extract_frame_addr,
199 aarch64_post_frob_eh_handler_addr, aarch64_post_frob_update_context):
200 Rename RA_A_SIGNED_BIT to RA_SIGNED_BIT.
201 * unwind-dw2-fde.c (get_cie_encoding): Add check for 'B' in augmentation
202 string.
203 * unwind-dw2.c (extract_cie_info): Add check for 'B' in augmentation
204 string.
205 (RA_A_SIGNED_BIT): Rename to RA_SIGNED_BIT.
206
e54b1a92
RO
2072019-05-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
208
209 * config/sparc/sol2-unwind.h [__arch64__] (sparc64_is_sighandler):
210 Remove Solaris 9 and 10 support.
211 (sparc_is_sighandler): Likewise.
212
abbb8307
JDA
2132019-05-26 John David Anglin <danglin@gcc.gnu.org>
214
215 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Add cast.
216
2581344d
L
2172019-05-17 H.J. Lu <hongjiu.lu@intel.com>
218
219 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
220 4_FP_W_TYPEs are used for IEEE quad precision.
221 * soft-fp/extendhftf2.c: Likewise.
222 * soft-fp/extendsftf2.c: Likewise.
223 * soft-fp/extendxftf2.c: Likewise.
224 * soft-fp/trunctfdf2.c: Likewise.
225 * soft-fp/trunctfhf2.c: Likewise.
226 * soft-fp/trunctfsf2.c: Likewise.
227 * soft-fp/trunctfxf2.c: Likewise.
228 * config/rs6000/ibm-ldouble.c: Likewise.
229
ccd1242e
RO
2302019-05-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
231
232 * config.host: Simplify various *-*-solaris2.1[0-9]* to
233 *-*-solaris2*.
234 * configure.ac: Likewise.
235 * configure: Regenerate.
236
237 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
238 Solaris 10 and Solaris 11 < snv_125 handling.
239
ef5eb79d
IS
2402019-05-12 Iain Sandoe <iain@sandoe.co.uk>
241
242 * config/rs6000/darwin-vecsave.S: Set .machine appropriately.
243
4f0e90fa
HL
2442019-05-07 Hongtao Liu <hongtao.liu@intel.com>
245
246 * config/i386/cpuinfo.c (get_available_features): Detect BF16.
247 * config/i386/cpuinfo.h (enum processor_features): Add
248 FEATURE_AVX512BF16.
249
48528842
RR
2502019-04-23 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
251 Bernd Edlinger <bernd.edlinger@hotmail.de>
252 Jakub Jelinek <jakub@redhat.com>
253
254 PR target/89093
255 * config/arm/pr-support.c: Add #pragma GCC target("general-regs-only").
256 * config/arm/unwind-arm.c: Likewise.
257 * unwind-c.c (PERSONALITY_FUNCTION): Add general-regs-only target
258 attribute for ARM.
259
887e182f
MC
2602019-04-15 Monk Chiang <sh.chiang04@gmail.com>
261
262 * config/nds32/linux-unwind.h (SIGRETURN): Remove.
263 (RT_SIGRETURN): Update.
264 (nds32_fallback_frame_state): Update.
265
a90b0cdd
MS
2662019-02-21 Martin Sebor <msebor@redhat.com>
267
268 * libgcc2.h (__clear_cache): Correct signature.
269 * libgcc2.c (__clear_cache): Same.
270
1ed28eda
UB
2712019-02-20 Uroš Bizjak <ubizjak@gmail.com>
272
273 * config/alpha/linux-unwind.h (alpha_fallback_frame_state):
274 Cast 'mcontext_t *' &rt_->uc.uc_mcontext to 'struct sigcontext *'.
275
fe95aee9
UB
2762019-02-19 Uroš Bizjak <ubizjak@gmail.com>
277
278 * unwind-dw2.c (_Unwind_GetGR) [DWARF_ZERO_REG]: Compare
279 regno instead of index to DWARF_ZERO_REG.
280
bf7988f1
EB
2812019-02-15 Eric Botcazou <ebotcazou@adacore.com>
282
283 * config/visium/lib2funcs.c (__set_trampoline_parity): Replace
284 TRAMPOLINE_SIZE with __LIBGCC_TRAMPOLINE_SIZE__.
285
ba2c1ca8
UB
2862019-01-31 Uroš Bizjak <ubizjak@gmail.com>
287
288 * config/alpha/t-linux: Add -mfp-rounding-mode=d
289 to HOST_LIBGCC2_CFLAGS.
290
6395ba73
L
2912019-01-23 Joseph Myers <joseph@codesourcery.com>
292
293 PR libgcc/88931
ba2c1ca8 294 * libgcc2.c (FSTYPE FUNC (DWtype u)): Correct no leading bits case.
6395ba73 295
756721ba
ML
2962019-01-18 Martin Liska <mliska@suse.cz>
297
298 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Rename
299 to ...
300 (__gcov_indirect_call_profiler_v3): ... this.
301 * libgcov.h (__gcov_indirect_call_profiler_v2): Likewise.
302 (__gcov_indirect_call_profiler_v3): Likewise.
303 * Makefile.in: Bump function name.
304
d273c40a
ML
3052019-01-18 Martin Liska <mliska@suse.cz>
306
307 * libgcov-driver.c (GCOV_PROF_PREFIX): Define.
308 (gcov_version): Use in gcov_error.
309 (merge_one_data): Likewise.
310 (dump_one_gcov): Likewise.
311
be9d9fdb
ML
3122019-01-18 Martin Liska <mliska@suse.cz>
313
314 * libgcov-driver.c (gcov_version_string): New function.
315 (gcov_version): Convert version integer into string.
316
91d7b7fe
AS
3172019-01-17 Andrew Stubbs <ams@codesourcery.com>
318 Kwok Cheung Yeung <kcy@codesourcery.com>
319 Julian Brown <julian@codesourcery.com>
320 Tom de Vries <tom@codesourcery.com>
321
322 * config.host: Recognize amdgcn*-*-amdhsa.
323 * config/gcn/crt0.c: New file.
324 * config/gcn/lib2-divmod-hi.c: New file.
325 * config/gcn/lib2-divmod.c: New file.
326 * config/gcn/lib2-gcn.h: New file.
327 * config/gcn/sfp-machine.h: New file.
328 * config/gcn/t-amdgcn: New file.
329
67914693
SL
3302019-01-09 Sandra Loosemore <sandra@codesourcery.com>
331
332 PR other/16615
333
334 * config/c6x/libunwind.S: Mechanically replace "can not" with
335 "cannot".
336 * config/tilepro/atomic.h: Likewise.
337 * config/vxlib-tls.c: Likewise.
338 * generic-morestack-thread.c: Likewise.
339 * generic-morestack.c: Likewise.
340 * mkmap-symver.awk: Likewise.
341
a5544970
JJ
3422019-01-01 Jakub Jelinek <jakub@redhat.com>
343
344 Update copyright years.
345
da77eace
L
3462018-12-20 H.J. Lu <hongjiu.lu@intel.com>
347
348 * unwind-pe.h (read_encoded_value_with_base): Add GCC pragma
349 to ignore -Waddress-of-packed-member.
350
72e3a529
TP
3512018-12-19 Thomas Preud'homme <thomas.preudhomme@linaro.org>
352
353 * /config/arm/lib1funcs.S (FUNC_START): Remove unused sp_section
354 parameter and corresponding code.
355 (ARM_FUNC_START): Likewise in both definitions.
356 Also update footer comment about condition that need to match with
357 gcc/config/arm/elf.h to also include libgcc/config/arm/t-arm.
358 * config/arm/ieee754-df.S (muldf3): Also build it if L_arm_muldf3 is
359 defined. Weakly define it in this case.
360 * config/arm/ieee754-sf.S (mulsf3): Likewise with L_arm_mulsf3.
361 * config/arm/t-elf (LIB1ASMFUNCS): Build _arm_muldf3.o and
362 _arm_mulsf3.o before muldiv versions if targeting Thumb-1 only. Add
363 comment to keep condition in sync with the one in
364 libgcc/config/arm/lib1funcs.S and gcc/config/arm/elf.h.
365
5d54c798
WX
3662018-12-18 Wei Xiao <wei3.xiao@intel.com>
367
368 * config/i386/cpuinfo.c (get_intel_cpu): Handle cascadelake.
369 * config/i386/cpuinfo.h: Add INTEL_COREI7_CASCADELAKE.
370
5a2580b6
RV
3712018-12-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
372
373 * config/rs6000/tramp.S (__trampoline_setup): Also emit .size
374 and .cfi_endproc directives for VxWorks targets.
375
c0c5112b
PK
3762018-12-05 Paul Koning <ni1d@arrl.net>
377
378 * udivmodhi4.c (__udivmodhi4): Fix loop end check.
379
1ea7ea18
AM
3802018-11-27 Alan Modra <amodra@gmail.com>
381
382 * config/rs6000/morestack.S (__stack_split_initialize),
383 (__morestack_get_guard, __morestack_set_guard),
384 (__morestack_make_guard): Provide CFI covering these functions.
385 * config/rs6000/tramp.S (__trampoline_setup): Likewise.
386
ff641ae1
XQ
3872018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
388
1ea7ea18 389 * config/csky/linux-unwind.h (sc_pt_regs): Update for kernel.
ff641ae1
XQ
390 (sc_pt_regs_lr): Update for kernel.
391 (sc_pt_regs_tls): Update for kernel.
392
28209372
XQ
3932018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
394
395 * config/csky/linux-unwind.h: Fix coding style.
396
b2a71af6
XQ
3972018-11-13 Xianmiao Qu <xianmiao_qu@c-sky.com>
398
399 * config/csky/linux-unwind.h (_sig_ucontext_t): Remove.
1ea7ea18 400 (csky_fallback_frame_state): Modify the check of the
b2a71af6
XQ
401 instructions to adapt to changes in the kernel
402
d929e137
SH
4032018-11-09 Stafford Horne <shorne@gmail.com>
404 Richard Henderson <rth@twiddle.net>
405
406 * config.host: Add OpenRISC support.
407 * config/or1k/*: New.
408
222cfefa
KC
4092018-11-08 Kito Cheng <kito@andestech.com>
410
411 * soft-fp/adddf3.c: Update from glibc.
412 * soft-fp/addsf3.c: Likewise.
413 * soft-fp/addtf3.c: Likewise.
414 * soft-fp/divdf3.c: Likewise.
415 * soft-fp/divsf3.c: Likewise.
416 * soft-fp/divtf3.c: Likewise.
417 * soft-fp/double.h: Likewise.
418 * soft-fp/eqdf2.c: Likewise.
419 * soft-fp/eqsf2.c: Likewise.
420 * soft-fp/eqtf2.c: Likewise.
421 * soft-fp/extenddftf2.c: Likewise.
422 * soft-fp/extended.h: Likewise.
423 * soft-fp/extendhftf2.c: Likewise.
424 * soft-fp/extendsfdf2.c: Likewise.
425 * soft-fp/extendsftf2.c: Likewise.
426 * soft-fp/extendxftf2.c: Likewise.
427 * soft-fp/fixdfdi.c: Likewise.
428 * soft-fp/fixdfsi.c: Likewise.
429 * soft-fp/fixdfti.c: Likewise.
430 * soft-fp/fixhfti.c: Likewise.
431 * soft-fp/fixsfdi.c: Likewise.
432 * soft-fp/fixsfsi.c: Likewise.
433 * soft-fp/fixsfti.c: Likewise.
434 * soft-fp/fixtfdi.c: Likewise.
435 * soft-fp/fixtfsi.c: Likewise.
436 * soft-fp/fixtfti.c: Likewise.
437 * soft-fp/fixunsdfdi.c: Likewise.
438 * soft-fp/fixunsdfsi.c: Likewise.
439 * soft-fp/fixunsdfti.c: Likewise.
440 * soft-fp/fixunshfti.c: Likewise.
441 * soft-fp/fixunssfdi.c: Likewise.
442 * soft-fp/fixunssfsi.c: Likewise.
443 * soft-fp/fixunssfti.c: Likewise.
444 * soft-fp/fixunstfdi.c: Likewise.
445 * soft-fp/fixunstfsi.c: Likewise.
446 * soft-fp/fixunstfti.c: Likewise.
447 * soft-fp/floatdidf.c: Likewise.
448 * soft-fp/floatdisf.c: Likewise.
449 * soft-fp/floatditf.c: Likewise.
450 * soft-fp/floatsidf.c: Likewise.
451 * soft-fp/floatsisf.c: Likewise.
452 * soft-fp/floatsitf.c: Likewise.
453 * soft-fp/floattidf.c: Likewise.
454 * soft-fp/floattihf.c: Likewise.
455 * soft-fp/floattisf.c: Likewise.
456 * soft-fp/floattitf.c: Likewise.
457 * soft-fp/floatundidf.c: Likewise.
458 * soft-fp/floatundisf.c: Likewise.
459 * soft-fp/floatunditf.c: Likewise.
460 * soft-fp/floatunsidf.c: Likewise.
461 * soft-fp/floatunsisf.c: Likewise.
462 * soft-fp/floatunsitf.c: Likewise.
463 * soft-fp/floatuntidf.c: Likewise.
464 * soft-fp/floatuntihf.c: Likewise.
465 * soft-fp/floatuntisf.c: Likewise.
466 * soft-fp/floatuntitf.c: Likewise.
467 * soft-fp/gedf2.c: Likewise.
468 * soft-fp/gesf2.c: Likewise.
469 * soft-fp/getf2.c: Likewise.
470 * soft-fp/half.h: Likewise.
471 * soft-fp/ledf2.c: Likewise.
472 * soft-fp/lesf2.c: Likewise.
473 * soft-fp/letf2.c: Likewise.
474 * soft-fp/muldf3.c: Likewise.
475 * soft-fp/mulsf3.c: Likewise.
476 * soft-fp/multf3.c: Likewise.
477 * soft-fp/negdf2.c: Likewise.
478 * soft-fp/negsf2.c: Likewise.
479 * soft-fp/negtf2.c: Likewise.
480 * soft-fp/op-1.h: Likewise.
481 * soft-fp/op-2.h: Likewise.
482 * soft-fp/op-4.h: Likewise.
483 * soft-fp/op-8.h: Likewise.
484 * soft-fp/op-common.h: Likewise.
485 * soft-fp/quad.h: Likewise.
486 * soft-fp/single.h: Likewise.
487 * soft-fp/soft-fp.h: Likewise.
488 * soft-fp/subdf3.c: Likewise.
489 * soft-fp/subsf3.c: Likewise.
490 * soft-fp/subtf3.c: Likewise.
491 * soft-fp/truncdfsf2.c: Likewise.
492 * soft-fp/trunctfdf2.c: Likewise.
493 * soft-fp/trunctfhf2.c: Likewise.
494 * soft-fp/trunctfsf2.c: Likewise.
495 * soft-fp/trunctfxf2.c: Likewise.
496 * soft-fp/unorddf2.c: Likewise.
497 * soft-fp/unordsf2.c: Likewise.
498 * soft-fp/unordtf2.c: Likewise.
499
2901f42f
VK
5002018-11-04 Venkataramanan Kumar <Venkataramanan.kumar@amd.com>
501
502 * config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
503 * config/i386/cpuinfo.h (processor_types): Add znver2.
504
4310ca66
PK
5052018-11-01 Paul Koning <ni1d@arrl.net>
506
507 * config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c.
508 (HOST_LIBGCC2_CFLAGS): Change to optimize for size.
509
22e05272
JM
5102018-10-31 Joseph Myers <joseph@codesourcery.com>
511
512 PR bootstrap/82856
513 * configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
514 * configure: Regenerate.
515
8180cde0
CZ
5162018-10-31 Claudiu Zissulescu <claziss@synopsys.com>
517
518 * config/arc/lib1funcs.S (_muldi3): New function.
519 * config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
520
be7b071e
RV
5212018-10-30 Rasmus Villemoes <rv@rasmusvillemoes.dk>
522
523 * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
524
3239d726
ML
5252018-10-25 Martin Liska <mliska@suse.cz>
526
527 PR other/87735
528 * libgcov-profiler.c: Revert.
529
19b55958
ML
5302018-10-24 Martin Liska <mliska@suse.cz>
531
532 * libgcov-profiler.c: Start from 1 in order to distinguish
533 functions which were seen and these that were not.
534
a9a2fddb
PK
5352018-10-18 Paul Koning <ni1d@arrl.net>
536
537 * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
538 standard.
539 * divmod.c: Update references to __udivmodsi4.
540 * udivmod.c: Ditto.
541 * udivhi3.c: New file.
542 * udivmodhi4.c: New file.
543 * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
544
fc8abc46
RV
5452018-10-17 Rasmus Villemoes <rv@rasmusvillemoes.dk>
546
547 * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
548
87f918e3
OH
5492018-10-12 Olivier Hainque <hainque@adacore.com>
550
551 * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
552 defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
553
be86efa7
PK
5542018-10-08 Paul Koning <ni1d@arrl.net>
555
556 * config/pdp11/t-pdp11: Remove -mfloat32 switch.
557
3edbcdbe
ML
5582018-10-04 Martin Liska <mliska@suse.cz>
559
560 PR gcov-profile/84107
561 * libgcov-profiler.c (__gcov_indirect_call):
562 Change type to indirect_call_tuple.
563 (struct indirect_call_tuple): New struct.
564 (__gcov_indirect_call_topn_profiler): Change type.
565 (__gcov_indirect_call_profiler_v2): Use the new
566 variables.
567 * libgcov.h (struct indirect_call_tuple): New struct
568 definition.
569
af8096fc
UB
5702018-10-03 Uros Bizjak <ubizjak@gmail.com>
571
572 * libgcc2.c (isnan): Use __builtin_isnan.
573 (isfinite): Use __builtin_isfinite.
574 (isinf): Use __builtin_isinf.
575
0a76bba4
UB
5762018-09-26 Uros Bizjak <ubizjak@gmail.com>
577
578 * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
579
5244089f
OH
5802018-09-21 Alexandre Oliva <oliva@adacore.com>
581
582 * config/vxcache.c: New file. Provide __clear_cache, based on
583 the cacheTextUpdate VxWorks service.
584 * config/t-vxworks (LIB2ADD): Add vxcache.c.
585 (LIB2FUNCS_EXCLUDE): Add _clear_cache.
586 * config/t-vxwoks7: Likewise.
587
512cc015
ML
5882018-09-21 Martin Liska <mliska@suse.cz>
589
590 * libgcov-driver.c (crc32_unsigned): Remove.
591 (gcov_histogram_insert): Likewise.
592 (gcov_compute_histogram): Likewise.
593 (compute_summary): Simplify rapidly.
594 (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
595 (merge_summary): Rapidly simplify.
596 (dump_one_gcov): Ignore gcov_summary.
597 (gcov_do_dump): Do not handle program summary, it's not
598 used.
599 * libgcov-util.c (tag_summary): Remove.
600 (read_gcda_finalize): Fix coding style.
601 (read_gcda_file): Initialize curr_object_summary.
602 (compute_summary): Remove.
603 (calculate_overlap): Remove settings of run_max.
604
36ff254b
MC
6052018-09-21 Monk Chiang <sh.chiang04@gmail.com>
606
607 * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
608 ucontext_t type instead.
609 (nds32_fallback_frame_state): Remove struct _sigframe statement.
610
229a033d
KC
6112018-09-21 Kito Cheng <kito.cheng@gmail.com>
612
613 * config/nds32/t-nds32-glibc: New file.
614
53c6feb2
RO
6152018-09-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
616
617 * configure.ac (solaris_ld_v2_maps): New test.
618 * configure: Regenerate.
619 * Makefile.in (solaris_ld_v2_maps): New variable.
620 * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
621 if supported.
622
ebdb6f23
RE
6232018-08-23 Richard Earnshaw <rearnsha@arm.com>
624
625 PR target/86951
626 * config/arm/lib1funcs.asm (speculation_barrier): New function.
627 * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
628 to build.
629
a49c064e
IS
6302018-08-22 Iain Sandoe <iain@sandoe.co.uk>
631
1ea7ea18 632 * config/unwind-dw2-fde-darwin.c
a49c064e
IS
633 (_darwin10_Unwind_FindEnclosingFunction): move from here ...
634 * config/darwin10-unwind-find-enc-func.c: … to here.
635 * config/t-darwin: Build Darwin10 unwinder shim crt.
636 * libgcc/config.host: Add the Darwin10 unwinder shim.
637
9a5b8df7
RV
6382018-08-21 Rasmus Villemoes <rv@rasmusvillemoes.dk>
639
640 * config.host: Add crtbegin.o and crtend.o for
641 powerpc-wrs-vxworks target.
642
4cd0bc3b
J
6432018-08-17 Jojo <jijie_rong@c-sky.com>
644 Huibin Wang <huibin_wang@c-sky.com>
645 Sandra Loosemore <sandra@codesourcery.com>
646 Chung-Lin Tang <cltang@codesourcery.com>
647
648 C-SKY port: libgcc
649
650 * config.host: Add C-SKY support.
651 * config/csky/*: New.
652
a4931745
CJW
6532018-08-12 Chung-Ju Wu <jasonwucj@gmail.com>
654
655 * config/nds32/t-nds32-isr: Rearrange object dependency.
656 * config/nds32/initfini.c: Add dwarf2 unwinding support.
657 * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
658 and registers usage.
659 * config/nds32/isr-library/excp_isr.S: Ditto.
660 * config/nds32/isr-library/intr_isr.S: Ditto.
661 * config/nds32/isr-library/reset.S: Ditto.
662 * config/nds32/isr-library/restore_all.inc: Ditto.
663 * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
664 * config/nds32/isr-library/restore_partial.inc: Ditto.
665 * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
666 * config/nds32/isr-library/save_all.inc: Ditto.
667 * config/nds32/isr-library/save_mac_regs.inc: Ditto.
668 * config/nds32/isr-library/save_partial.inc: Ditto.
669 * config/nds32/isr-library/save_usr_regs.inc: Ditto.
670 * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
671
2b1969f6
JDA
6722018-08-11 John David Anglin <danglin@gcc.gnu.org>
673
674 * config/pa/linux-atomic.c: Update comment.
675 (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
676 COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
677 SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
678 __ATOMIC_RELAXED for atomic loads.
679 (SYNC_LOCK_RELEASE_1): New define. Use __sync_synchronize() and
680 unordered store to release lock.
681 (__sync_lock_release_8): Likewise.
682 (SYNC_LOCK_RELEASE_2): Remove define.
af8096fc 683
89fff9cc
NP
6842018-08-02 Nicolas Pitre <nico@fluxnic.net>
685
686 PR libgcc/86512
687 * config/arm/ieee754-df.S: Don't shortcut denormal handling when
688 exponent goes negative. Update my email address.
689 * config/arm/ieee754-sf.S: Likewise.
690
fd2e1dcd
ML
6912018-08-01 Martin Liska <mliska@suse.cz>
692
693 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
92a285c1 694 check that __gcov_indirect_call_callee is non-null.
fd2e1dcd 695
b7415975
CL
6962018-07-30 Christophe Lyon <christophe.lyon@linaro.org>
697
698 * config/arm/ieee754-df.S: Fix comment for code working on
699 architectures >= 4.
700 * config/arm/ieee754-sf.S: Likewise.
701
b72e71a3
L
7022018-07-27 H.J. Lu <hongjiu.lu@intel.com>
703
704 PR libgcc/85334
705 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
706 Removed.
707
1c686aa4
JC
7082018-07-05 James Clarke <jrtc27@jrtc27.com>
709
710 * configure: Regenerated.
711
b61c9b99
RO
7122018-06-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
713
714 * Makefile.in (install_leaf): Use enable_gcov instead of
715 enable_libgcov.
716
1765b023
RV
7172018-06-27 Rasmus Villemoes <rv@rasmusvillemoes.dk>
718
719 * configure.ac: Add --disable-gcov option.
720 * configure: Regenerate.
721 * Makefile.in: Honour @enable_gcov@.
722
9b2e34ef
CL
7232018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
724
725 * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
726 __ARM_ARCH and __ARM_FEATURE_CLZ instead.
727 (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
728 * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
729 __ARM_ARCH__.
730 * config/arm/ieee754-sf.S: Likewise.
731 * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
732
d1b0dd54
CL
7332018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
734
735 * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
736 longer supported.
737 * config/arm/ieee754-sf.S: Likewise.
738
1f3fa525
TM
7392018-06-20 Than McIntosh <thanm@google.com>
740
741 PR libgcc/86213
742 * generic-morestack.c (allocate_segment): Move calls to getenv and
743 getpagesize to __morestack_load_mmap.
744 (__morestack_load_mmap) Initialize static_pagesize and
745 use_guard_page here so as to avoid clobbering SSE regs during a
746 __morestack call.
747
6a8886e4
MM
7482018-06-18 Michael Meissner <meissner@linux.ibm.com>
749
750 * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
751 support modules with -mno-gnu-attribute.
752 * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
753
fb997097
OH
7542018-06-07 Olivier Hainque <hainque@adacore.com>
755
756 * config/t-vxworks (LIBGCC_INCLUDES): Add
757 -I$(MULTIBUILDTOP)../../gcc/include.
758 * config/t-vxworks7: Likewise. Reformat a bit to match
759 the t-vxworks layout.
760
a548a5a1
OM
7612018-06-07 Olga Makhotina <olga.makhotina@intel.com>
762
763 * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
764
244aebfd
ML
7652018-06-07 Martin Liska <mliska@suse.cz>
766
767 * libgcov-driver.c: Rename cs_all to all and assign it from
92a285c1 768 all_prg.
244aebfd 769
6c086e8c
ML
7702018-06-07 Martin Liska <mliska@suse.cz>
771
92a285c1 772 PR bootstrap/86057
6c086e8c 773 * libgcov-driver-system.c (replace_filename_variables): Use
92a285c1 774 memcpy instead of mempcpy.
6c086e8c 775 (allocate_filename_struct): Do not allocate filename, allocate
92a285c1 776 prefix and set it.
6c086e8c 777 (gcov_exit_open_gcda_file): Allocate memory for gf->filename
92a285c1 778 here and properly copy content into it.
6c086e8c 779 * libgcov-driver.c (struct gcov_filename): Remove max_length
92a285c1 780 field, change prefix from size_t into char *.
6c086e8c
ML
781 (compute_summary): Do not calculate longest filename.
782 (gcov_do_dump): Release memory of gf.filename after each file.
783 * libgcov-util.c (compute_summary): Use new signature of
92a285c1 784 compute_summary.
6c086e8c
ML
785 (calculate_overlap): Likewise.
786
97a53d1d
ML
7872018-06-05 Martin Liska <mliska@suse.cz>
788
789 PR gcov-profile/47618
790 * libgcov-driver-system.c (replace_filename_variables): New
92a285c1 791 function.
97a53d1d
ML
792 (gcov_exit_open_gcda_file): Use it.
793
7f3577f5
ML
7942018-06-05 Martin Liska <mliska@suse.cz>
795
796 * libgcov-driver.c (gcov_compute_histogram): Remove usage
797 of gcov_ctr_summary.
798 (compute_summary): Do it just for a single summary.
799 (merge_one_data): Likewise.
800 (merge_summary): Simplify as we read just single summary.
801 (dump_one_gcov): Pass proper argument.
802 * libgcov-util.c (compute_one_gcov): Simplify as we have just
803 single summary.
804 (gcov_info_count_all_cold): Likewise.
805 (calculate_overlap): Likewise.
806
cf3cd43d
CJW
8072018-06-02 Chung-Ju Wu <jasonwucj@gmail.com>
808 Monk Chiang <sh.chiang04@gmail.com>
809
810 * config.host (nds32*-linux*): New.
811 * config/nds32/linux-atomic.c: New file.
812 * config/nds32/linux-unwind.h: New file.
813
8b8003ed
UB
8142018-05-31 Uros Bizjak <ubizjak@gmail.com>
815
816 PR target/85591
817 * config/i386/cpuinfo.c (get_amd_cpu): Return
818 AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
819
bbdf026f
RV
8202018-05-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
821
92a285c1 822 * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
bbdf026f 823
0e8f29da
ML
8242018-05-29 Martin Liska <mliska@suse.cz>
825
92a285c1 826 PR gcov-profile/85759
0e8f29da 827 * libgcov-driver-system.c (gcov_error): Introduce usage of
92a285c1 828 GCOV_EXIT_AT_ERROR env. variable.
0e8f29da 829 * libgcov-driver.c (merge_one_data): Print error that we
92a285c1 830 overwrite a gcov file with a different timestamp.
0e8f29da 831
54fd1590
K
8322018-05-23 Kalamatee <kalamatee@gmail.com>
833
834 * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
835 path to Lf$finfty.
836
09baee1a
KC
8372018-05-18 Kito Cheng <kito.cheng@gmail.com>
838 Monk Chiang <sh.chiang04@gmail.com>
839 Jim Wilson <jimw@sifive.com>
840
841 * config/riscv/save-restore.S: Add support for rv32e.
842
c3f808d3
KT
8432018-05-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
844
845 * config/arm/libunwind.S: Update comment relating to armv5.
846
fcf4f831
JL
8472018-05-17 Jerome Lambourg <lambourg@adacore.com>
848
849 * config/arm/cmse.c (cmse_check_address_range): Replace
850 UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
851
74b2bb19
OM
8522018-05-17 Olga Makhotina <olga.makhotina@intel.com>
853
854 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
855 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
856
50e461df
OM
8572018-05-08 Olga Makhotina <olga.makhotina@intel.com>
858
859 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
860 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
861
e5f1cdb1
AC
8622018-05-07 Amaan Cheval <amaan.cheval@gmail.com>
863
864 * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
865
8f479d7a
AT
8662018-04-27 Andreas Tobler <andreast@gcc.gnu.org>
867 Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
868
869 PR libgcc/84292
870 * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
871 op_and_fetch to return the right result.
872
ae043291
AM
8732018-04-27 Alan Modra <amodra@gmail.com>
874
875 PR libgcc/85532
876 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
877 -fno-asynchronous-unwind-tables.
878
ba169b74
CJW
8792018-04-25 Chung-Ju Wu <jasonwucj@gmail.com>
880
881 * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
882 * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
883
ffc2fc06
L
8842018-04-24 H.J. Lu <hongjiu.lu@intel.com>
885
886 * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
887 when including "config/i386/shadow-stack-unwind.h".
888
7b47ecf2
L
8892018-04-24 H.J. Lu <hongjiu.lu@intel.com>
890
891 * configure: Regenerated.
892
661eb8f9
MM
8932018-04-20 Michael Meissner <meissner@linux.ibm.com>
894
895 PR target/85456
896 * config/rs6000/_powikf2.c: New file. Add support for the
897 __builtin_powil function when long double is IEEE 128-bit floating
898 point.
899 * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
900 __powikf2 support.
901 (__powikf2): Likewise.
902 * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
903 (__powikf2_hw): Likewise.
904 (__powikf2): Likewise.
905 * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
906 * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
907 (_powikf2-hw.c): Likewise.
908
5707be3c
L
9092018-04-19 H.J. Lu <hongjiu.lu@intel.com>
910
911 PR libgcc/85334
912 * unwind-generic.h (_Unwind_Frames_Increment): New.
913 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
914 Likewise.
915 * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
916 count with _Unwind_Frames_Increment.
917 (_Unwind_ForcedUnwind_Phase2): Likewise.
918
5f9ca0b8
L
9192018-04-19 H.J. Lu <hongjiu.lu@intel.com>
920
921 PR libgcc/85379
922 * config/i386/morestack.S (__stack_split_initialize): Add
923 _CET_ENDBR.
924
a0e1df88
JJ
9252018-04-19 Jakub Jelinek <jakub@redhat.com>
926
927 * configure: Regenerated.
928
001ddaa8
DM
9292018-04-18 David Malcolm <dmalcolm@redhat.com>
930
931 PR jit/85384
932 * configure: Regenerate.
933
a57f99ba
JJ
9342018-04-16 Jakub Jelinek <jakub@redhat.com>
935
936 PR target/84945
937 * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
938 -Wdangling-else warnings. Mask shift counts to avoid
939 -Wshift-count-negative and -Wshift-count-overflow false positives.
940
4d47fe5a
RB
9412018-04-06 Ruslan Bukin <br@bsdpad.com>
942
943 * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
944
059cc8ac
L
9452018-03-29 H.J. Lu <hongjiu.lu@intel.com>
946
947 PR target/85100
948 * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
949 (XSTATE_FP): Likewise.
950 (XSTATE_SSE): Likewise.
951 (XSTATE_YMM): Likewise.
952 (XSTATE_OPMASK): Likewise.
953 (XSTATE_ZMM): Likewise.
954 (XSTATE_HI_ZMM): Likewise.
955 (XCR_AVX_ENABLED_MASK): Likewise.
956 (XCR_AVX512F_ENABLED_MASK): Likewise.
957 (get_available_features): Enable AVX and AVX512 features only
958 if their states are supported by OSXSAVE.
959
f2620385
IT
9602018-03-22 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
961
962 PR target/85025
963 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
964 Fix a typo, tmp => 255.
965
ae6dca8c
JJ
9662018-03-20 Jakub Jelinek <jakub@redhat.com>
967
968 PR target/84945
969 * config/i386/cpuinfo.h (__cpu_features2): Declare.
970 * config/i386/cpuinfo.c (__cpu_features2): New variable for
971 ifndef SHARED only.
972 (set_feature): Define.
973 (get_available_features): Use set_feature macro. Set __cpu_features2
974 to the second word of features ifndef SHARED.
975
c36b04c1
JK
9762018-03-15 Julia Koval <julia.koval@intel.com>
977
978 * config/i386/cpuinfo.c (get_available_features): Add
979 FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
980 FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
981 * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
982 FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
983 FEATURE_AVX512BITALG.
984
79ab5364
JK
9852018-03-14 Julia Koval <julia.koval@intel.com>
986
987 * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
988 icelake client and icelake server.
989
66a00b11
JDA
9902018-03-06 John David Anglin <danglin@gcc.gnu.org>
991
992 * config/pa/fptr.c (_dl_read_access_allowed): New.
993 (__canonicalize_funcptr_for_compare): Use it.
af8096fc 994
ce579a4f
JJ
9952018-02-28 Jakub Jelinek <jakub@redhat.com>
996
997 PR debug/83917
998 * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
999 $asm_hidden_op if visibility ("hidden") attribute works.
1000 (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
1001 * config/i386/i386-asm.h: Don't include auto-host.h.
1002 (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
1003 PACKAGE_URL): Don't undefine.
1004 (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
1005 guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
1006 (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
1007 #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
1008 definition instead of hardcoded .hidden.
1009 * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
1010 directive. Use #ifdef HAVE_AS_CFI_SECTIONS rather than
1011 #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
1012 (USE_GAS_CFI_DIRECTIVES): Don't define.
1013 * configure: Regenerated.
1014 * config.in: Likewise.
1015
e5868319
JJ
10162018-02-26 Jakub Jelinek <jakub@redhat.com>
1017
1018 PR debug/83917
1019 * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
1020 PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
1021 inclusion of auto-target.h and auto-host.h.
1022 (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
1023 __GCC_HAVE_DWARF2_CFI_ASM.
1024 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
1025 cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
1026 cfi_pop): Define.
1027 * config/i386/cygwin.S: Don't include auto-host.h here, just
1028 define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
1029 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
1030 cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
1031 * config/i386/resms64fx.h: Add cfi_* directives.
1032 * config/i386/resms64x.h: Likewise.
1033
faef260e
MF
10342018-02-20 Max Filippov <jcmvbkbc@gmail.com>
1035
1036 * config/xtensa/ieee754-df.S (__adddf3_aux): Add
1037 .literal_position directive.
1038 * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
1039
14e335ed
IT
10402018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1041
1042 PR target/84148
1043 * configure: Regenerate.
1044
95df0433
IT
10452018-02-16 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1046
1047 PR target/84239
1048 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
1049 Include cetintrin.h not x86intrin.h.
1050
f8de876d
IT
10512018-02-08 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1052
1053 PR target/84239
95df0433 1054 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
f8de876d
IT
1055 Use new _get_ssp and _inc_ssp intrinsics.
1056
02da1e9c
JK
10572018-02-02 Julia Koval <julia.koval@intel.com>
1058
1059 * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
1060
048c6a9a
CZ
10612018-01-26 Claudiu Zissulescu <claziss@synopsys.com>
1062
1063 * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
1064 option.
1065 (__divsi3): Use RF16 safe registers.
1066 (__modsi3): Likewise.
1067
0889f168
MF
10682018-01-23 Max Filippov <jcmvbkbc@gmail.com>
1069
1070 * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
1071 (__divsf3): Make NaN return value quiet.
1072 * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
1073 (__divdf3): Make NaN return value quiet.
1074
bc8b0d04
SP
10752018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
1076
1077 * config/rl78/anddi3.S: New assembly file.
1078 * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
1079
99cc06ea
SP
10802018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
1081
1082 * config/rl78/umindi3.S: New assembly file.
1083 * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
1084
6e9007a0
SP
10852018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
1086
1087 * config/rl78/smindi3.S: New assembly file.
1088 * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
1089
d975e494 10902018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
af8096fc 1091
d975e494
SP
1092 * config/rl78/smaxdi3.S: New assembly file.
1093 * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
1094
6a18c146 10952018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
af8096fc 1096
5dd16013
SP
1097 * config/rl78/umaxdi3.S: New assembly file.
1098 * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
af8096fc 1099
07baf4a5
JDA
11002018-01-21 John David Anglin <danglin@gcc.gnu.org>
1101
1102 PR lto/83452
1103 * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
1104 * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
af8096fc 1105
dbc3af4f
RS
11062018-01-13 Richard Sandiford <richard.sandiford@linaro.org>
1107
1108 * config/aarch64/value-unwind.h (aarch64_vg): New function.
1109 (DWARF_LAZY_REGISTER_VALUE): Define.
1110 * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
1111 to provide a fallback register value.
1112
68df9882
MM
11132018-01-08 Michael Meissner <meissner@linux.vnet.ibm.com>
1114
1115 * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
1116 __ibm128, instead of trying to use long double.
1117 (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
1118 accomidate -mabi=ieeelongdouble multilibs.
1119 (CVT_IBM128_TO_FLOAT128): Likewise.
1120 * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
1121 the appropriate IBM extended double type.
1122 (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
1123 (__gcc_qsub): Likewise.
1124 (__gcc_qmul): Likewise.
1125 (__gcc_qdiv): Likewise.
1126 (pack_ldouble): Likewise.
1127 (__gcc_qneg): Likewise.
1128 (__gcc_qeq): Likewise.
1129 (__gcc_qne): Likewise.
1130 (__gcc_qge): Likewise.
1131 (__gcc_qle): Likewise.
1132 (__gcc_stoq): Likewise.
1133 (__gcc_dtoq): Likewise.
1134 (__gcc_itoq): Likewise.
1135 (__gcc_utoq): Likewise.
1136 (__gcc_qunord): Likewise.
1137 * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
1138 quad-float128.h for the definitions.
1139 (COPYSIGN): Use the f128 version instead of the q version.
1140 (INFINITY): Likewise.
1141 (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
1142 * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
1143 quad-float128.h for the definitions.
1144 (COPYSIGN): Use the f128 version instead of the q version.
1145 (INFINITY): Likewise.
1146 (FABS): Likewise.
1147 (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
1148 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
1149 * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
1150
64b371b1
SH
11512018-01-05 Sebastian Huber <sebastian.huber@embedded-brains.de>
1152
1153 * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
1154 configuration.
1155
85ec4feb
JJ
11562018-01-03 Jakub Jelinek <jakub@redhat.com>
1157
1158 Update copyright years.
1159
11602017-12-12 Kito Cheng <kito.cheng@gmail.com>
b8d7e076
KC
1161
1162 * config/riscv/t-elf: Use multi3.c instead of multi3.S.
1163 * config/riscv/multi3.c: New file.
1164 * config/riscv/multi3.S: Remove.
1165
3a4c600f
JW
11662017-12-08 Jim Wilson <jimw@sifive.com>
1167
1168 * config/riscv/div.S: Use FUNC_* macros.
1169 * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
1170 * config/riscv/save-restore.S: Likewise.
1171 * config/riscv/riscv-asm.h: New.
1172
75ad35b5
MM
11732017-11-30 Michael Meissner <meissner@linux.vnet.ibm.com>
1174
6ae3512c
MM
1175 * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
1176 * config/rs6000/_divkc3.c (__divkc3): Likewise.
1177
75ad35b5
MM
1178 PR libgcc/83112
1179 * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
1180 correct type for all ifunc resolvers to silence -Wattribute-alias
1181 warnings. Eliminate the forward declaration of the resolver
1182 functions which is no longer needed.
1183 (__subkf3_resolve): Likewise.
1184 (__mulkf3_resolve): Likewise.
1185 (__divkf3_resolve): Likewise.
1186 (__negkf2_resolve): Likewise.
1187 (__eqkf2_resolve): Likewise.
1188 (__nekf2_resolve): Likewise.
1189 (__gekf2_resolve): Likewise.
1190 (__gtkf2_resolve): Likewise.
1191 (__lekf2_resolve): Likewise.
1192 (__ltkf2_resolve): Likewise.
1193 (__unordkf2_resolve): Likewise.
1194 (__extendsfkf2_resolve): Likewise.
1195 (__extenddfkf2_resolve): Likewise.
1196 (__trunckfsf2_resolve): Likewise.
1197 (__trunckfdf2_resolve): Likewise.
1198 (__fixkfsi_resolve): Likewise.
1199 (__fixkfdi_resolve): Likewise.
1200 (__fixunskfsi_resolve): Likewise.
1201 (__fixunskfdi_resolve): Likewise.
1202 (__floatsikf_resolve): Likewise.
1203 (__floatdikf_resolve): Likewise.
1204 (__floatunsikf_resolve): Likewise.
1205 (__floatundikf_resolve): Likewise.
1206 (__extendkftf2_resolve): Likewise.
1207 (__trunctfkf2_resolve): Likewise.
1208
1209 PR libgcc/83103
1210 * config/rs6000/quad-float128.h (TF): Don't define if long double
1211 is IEEE 128-bit floating point.
1212 (TCtype): Define as either TCmode or KCmode, depending on whether
1213 long double is IEEE 128-bit floating point.
1214 (__mulkc3_sw): Add declarations for software/hardware versions of
1215 complex multiply/divide.
1216 (__divkc3_sw): Likewise.
1217 (__mulkc3_hw): Likewise.
1218 (__divkc3_hw): Likewise.
1219 * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
1220 handlers to switch between using software emulation and hardware
1221 float128 instructions, build the complex multiply/divide functions
1222 for both software and hardware support.
1223 * config/rs6000/_divkc3.c (_divkc3): Likewise.
1224 * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
1225 (__divkc3_resolve): Likewise.
1226 (__mulkc3): Likewise.
1227 (__divkc3): Likewise.
1228 * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
1229 (fp128_hw_src): Likewise.
1230 (fp128_hw_static_obj): Likewise.
1231 (fp128_hw_shared_obj): Likewise.
1232 (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
1233 _mulkc3.c and _divkc3.c, changing the function name.
1234 (_divkc3-hw.c): Likewise.
1235 * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
1236 and _divkc3-hw.c.
1237
c234d831
UB
12382017-11-26 Julia Koval <julia.koval@intel.com>
1239
1240 * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
1241 * config/i386/cpuinfo.h (processor_subtypes): Add
1242 INTEL_COREI7_CANNONLAKE.
1243
1ebafce0
IT
12442017-11-20 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1245
1246 PR bootstrap/83015
1247 * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
1248 parameter.
1249 * config/xtensa/unwind-dw2-xtensa.c: Likewise
1250 * config/ia64/unwind-ia64.c: Add frames parameter.
1251 * unwind-sjlj.c: Likewise.
1252
6a10fff4
IT
12532017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1254
1255 * config/i386/linux-unwind.h: Include
1256 config/i386/shadow-stack-unwind.h.
1257 * config/i386/shadow-stack-unwind.h: New file.
1258 * unwind-dw2.c: (uw_install_context): Add a frame parameter and
1259 pass it to _Unwind_Frames_Extra.
1260 * unwind-generic.h (_Unwind_Frames_Extra): New.
1261 * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
1262 parameter. Add local variable frames to count number of frames.
1263 (_Unwind_ForcedUnwind_Phase2): Likewise.
1264 (_Unwind_RaiseException): Add local variable frames to count
1265 number of frames, pass it to _Unwind_RaiseException_Phase2 and
1266 uw_install_context.
1267 (_Unwind_ForcedUnwind): Likewise.
1268 (_Unwind_Resume): Likewise.
1269 (_Unwind_Resume_or_Rethrow): Likewise.
1270
1ecae1fc
IT
12712017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1272
1273 * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
1274 (CET_FLAGS): New.
1275 * config/i386/morestack.S: Include <cet.h>.
1276 (__morestack_large_model): Add _CET_ENDBR at function entrance.
1277 * config/i386/resms64.h: Include <cet.h>.
1278 * config/i386/resms64f.h: Likewise.
1279 * config/i386/resms64fx.h: Likewise.
1280 * config/i386/resms64x.h: Likewise.
1281 * config/i386/savms64.h: Likewise.
1282 * config/i386/savms64f.h: Likewise.
1283 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
1284 (CRTSTUFF_T_CFLAGS): Likewise.
1285 * configure.ac: Include ../config/cet.m4.
1286 Set and substitute CET_FLAGS.
1287 * configure: Regenerated.
1288
f021f1d3
RO
12892017-11-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1290
1291 * config.host (*-*-solaris2*): Adapt comment for Solaris 12
1292 renaming.
1293 * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
1294 * configure.ac (libgcc_cv_solaris_crts): Likewise.
1295 * configure: Regenerate.
1296
65f480c7
TV
12972017-11-07 Tom de Vries <tom@codesourcery.com>
1298
1299 * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
1300 after "do {} while (0)".
1301
2a321acb
TV
13022017-11-07 Tom de Vries <tom@codesourcery.com>
1303
1304 PR other/82784
1305 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
1306 semicolon after "do {} while (0)".
1307 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1308 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1309 * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1310 * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1311
59fcf6c3
AT
13122017-11-04 Andreas Tobler <andreast@gcc.gnu.org>
1313
1314 PR libgcc/82635
1315 * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
1316 sysctl to determine whether we're in a trampoline.
1317 Keep the pattern matching method for systems without
1318 KERN_PROC_SIGTRAMP sysctl.
1319
b0c7ddf8
CM
13202017-11-03 Cupertino Miranda <cmiranda@synopsys.com>
1321 Vineet Gupta <vgupta@synopsys.com>
1322
1323 * config.host (arc*-*-linux*): Set md_unwind_header variable.
1324 * config/arc/linux-unwind-reg.def: New file.
1325 * config/arc/linux-unwind-reg.h: Likewise.
1326
5feee954
SP
13272017-10-23 Sebastian Perta <sebastian.perta@renesas.com>
1328
1329 * config/rl78/subdi3.S: New assembly file.
1330 * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
1331
a0bf6cf7
SP
13322017-10-13 Sebastian Perta <sebastian.perta@renesas.com>
1333
1334 * config/rl78/adddi3.S: New assembly file.
1335 * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
1336
e7176f75
JJ
13372017-10-13 Jakub Jelinek <jakub@redhat.com>
1338
1339 PR target/82274
1340 * libgcc2.c (__mulvDI3): If both operands have
1341 the same highpart of -1 and the topmost bit of lowpart is 0,
1342 multiplication overflows even if both lowparts are 0.
1343
db6601d2
JB
13442017-09-28 James Bowman <james.bowman@ftdichip.com>
1345
1346 * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
1347
938b6f1e
JM
13482017-09-26 Joseph Myers <joseph@codesourcery.com>
1349
1350 * config/microblaze/crti.S, config/microblaze/crtn.S,
1351 config/microblaze/divsi3.S, config/microblaze/moddi3.S,
1352 config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
1353 config/microblaze/mulsi3.S,
1354 config/microblaze/stack_overflow_exit.S,
1355 config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
1356 config/pa/milli64.S: Add .note.GNU-stack section.
1357
89762a83
DS
13582017-09-23 Daniel Santos <daniel.santos@pobox.com>
1359
1360 * configure.ac: Add Check for HAVE_AS_AVX.
1361 * config.in: Regenerate.
1362 * configure: Likewise.
1363 * config/i386/i386-asm.h: Include auto-target.h from libgcc.
1364 (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
1365 Correct out-of-date comments.
1366
cace2309
SP
13672017-09-20 Sebastian Peryt <sebastian.peryt@intel.com>
1368
1369 * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
1370 * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
1371
3cb626e4
DS
13722017-09-17 Daniel Santos <daniel.santos@pobox.com>
1373
cace2309 1374 * config/i386/i386-asm.h (PASTE2): New macro.
3cb626e4
DS
1375 (ASMNAME): Modify to use PASTE2.
1376 (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
1377 (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
cace2309 1378 * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
3cb626e4 1379 instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
cace2309
SP
1380 * config/i386/resms64f.S: Likewise.
1381 * config/i386/resms64fx.S: Likewise.
1382 * config/i386/resms64x.S: Likewise.
1383 * config/i386/savms64.S: Likewise.
1384 * config/i386/savms64f.S: Likewise.
1385 * config/i386/avx_resms64.S: New file that only defines a macro and
3cb626e4 1386 includes it's corresponding header file.
cace2309
SP
1387 * config/i386/avx_resms64f.S: Likewise.
1388 * config/i386/avx_resms64fx.S: Likewise.
1389 * config/i386/avx_resms64x.S: Likewise.
1390 * config/i386/avx_savms64.S: Likewise.
1391 * config/i386/avx_savms64f.S: Likewise.
1392 * config/i386/sse_resms64.S: Likewise.
1393 * config/i386/sse_resms64f.S: Likewise.
1394 * config/i386/sse_resms64fx.S: Likewise.
1395 * config/i386/sse_resms64x.S: Likewise.
1396 * config/i386/sse_savms64.S: Likewise.
1397 * config/i386/sse_savms64f.S: Likewise.
1398 * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
3cb626e4 1399
2f19c491 14002017-09-01 Olivier Hainque <hainque@adacore.com>
2f19c491
OH
1401 * config.host (*-*-vxworks7): Widen scope to vxworks7*.
1402
611e7036
OH
14032017-08-31 Olivier Hainque <hainque@adacore.com>
1404
1405 * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
1406 match as powerpc-wrs-vxworks*.
1407
c8f34527
JY
14082017-08-07 Jonathan Yong <10walls@gmail.com>
1409
1410 * config.host (*-cygwin): Include file from mingw
1411 config/i386/enable-execute-stack-mingw32.c
1412
0b458d2b 14132017-08-01 Jerome Lambourg <lambourg@adacore.com>
92a285c1
ML
1414 Doug Rupp <rupp@adacore.com>
1415 Olivier Hainque <hainque@adacore.com>
0b458d2b
JL
1416
1417 * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
1418 as well as arm-wrs-vxworks.
1419 * config/arm/t-vxworks7: New file. Add unwind-arm-vxworks.c to
1420 LIB2ADDEH.
1421 * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
1422 __exidx_start and __exidx_end for downloadable modules.
1423
4df612fa
OH
14242017-08-01 Olivier Hainque <hainque@adacore.com>
1425
1426 * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
1427 * config/t-vxworks7: Likewise.
1428
5560e8c0
OH
14292017-08-01 Olivier Hainque <hainque@adacore.com>
1430
1431 * config/t-vxworks: Instead of redefining LIB2ADD,
1432 augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
1433
16bab95a
SH
14342017-07-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1435
1436 * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
1437
9cbc07cc
DS
14382017-07-24 Daniel Santos <daniel.santos@pobox.com>
1439
1440 PR testsuite/80759
1441 * config.host: include i386/t-msabi for darwin and solaris.
1442 * config/i386/i386-asm.h
1443 (ELFFN): Rename to FN_TYPE.
1444 (FN_SIZE): New macro.
1445 (FN_HIDDEN): Likewise.
1446 (ASMNAME): Likewise.
1447 (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
1448 .globl.
1449 (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
1450 (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
1451 * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
1452 .macro.
1453 * config/i386/resms64f.S: Likewise.
1454 * config/i386/resms64fx.S: Likewise.
1455 * config/i386/resms64x.S: Likewise.
1456 * config/i386/savms64.S: Likewise.
1457 * config/i386/savms64f.S: Likewise.
1458
de742204
JM
14592017-07-19 John Marino <gnugcc@marino.st>
1460
1461 * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
1462
3787ee47
MM
14632017-07-12 Michael Meissner <meissner@linux.vnet.ibm.com>
1464
1465 PR target/81193
1466 * configure.ac (PowerPC float128 hardware support): Test whether
1467 we can use __builtin_cpu_supports before enabling the ifunc
1468 handler.
1469 * configure: Regenerate.
1470
b1938888
VG
14712017-07-10 Vineet Gupta <vgupta@synopsys.com>
1472
1473 * config.host: Remove uclibc from arc target spec.
1474
bec75e53
KW
14752017-07-09 Krister Walfridsson <krister.walfridsson@gmail.com>
1476
1477 * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
1478
d4391a62
PB
14792017-07-07 Peter Bergner <bergner@vnet.ibm.com>
1480
1481 * config/rs6000/float128-ifunc.c: Don't include auxv.h.
1482 (have_ieee_hw_p): Delete function.
1483 (SW_OR_HW) Use __builtin_cpu_supports().
1484
9296dd9b
TP
14852017-07-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
1486
1487 * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
1488
b85a969e
OH
14892017-07-03 Olivier Hainque <hainque@adacore.com>
1490
d4391a62 1491 * config/t-vxworks7: New file, really.
b85a969e 1492
883312dc
JM
14932017-06-28 Joseph Myers <joseph@codesourcery.com>
1494
1495 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
1496 config/alpha/linux-unwind.h (alpha_fallback_frame_state),
1497 config/bfin/linux-unwind.h (bfin_fallback_frame_state),
1498 config/i386/linux-unwind.h (x86_64_fallback_frame_state,
1499 x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
1500 uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
1501 config/pa/linux-unwind.h (pa32_fallback_frame_state),
1502 config/riscv/linux-unwind.h (riscv_fallback_frame_state),
1503 config/sh/linux-unwind.h (sh_fallback_frame_state),
1504 config/tilepro/linux-unwind.h (tile_fallback_frame_state),
1505 config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
1506 ucontext_t instead of struct ucontext.
1507
50567938
JL
15082017-06-27 Jerome Lambourg <lambourg@adacore.com>
1509
1510 * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
1511 (x86_64-wrs-vxworks7): Likewise.
1512
e4b0df93
OH
15132017-06-27 Olivier Hainque <hainque@adacore.com>
1514
1515 * config/t-vxworks7: New file.
1516 * config.host (*-*-vxworks7): Use it.
1517
60edf8bb
MT
15182017-06-22 Matt Turner <mattst88@gmail.com>
1519
1520 * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
1521 skylake case.
1522
a51a76e5
RB
15232017-06-21 Richard Biener <rguenther@suse.de>
1524
1525 PR gcov-profile/81080
1526 * configure.ac: Add AC_SYS_LARGEFILE.
1527 * libgcov.h: Include auto-target.h before tsystem.h to pick
1528 up _FILE_OFFSET_BITS which might differ for multilibs.
1529 * config.in: Regenerate.
1530 * configure: Likewise.
1531
f0cd49c5
RE
15322017-06-16 Richard Earnshaw <rearnsha@arm.com>
1533
1534 * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
1535
4f751c54
ML
15362017-06-09 Martin Liska <mliska@suse.cz>
1537
1538 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
1539 Reset __gcov_indirect_call_callee to NULL.
1540
1ac644c8
OH
15412017-06-08 Olivier Hainque <hainque@adacore.com>
1542
1543 * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
1544 the set of -I options, support for direct inclusions of net/uio.h
1545 by VxWorks header files via ioLib.h.
1546
d8b9cd27
TR
15472017-06-07 Tony Reix <tony.reix@atos.net>
1548 Matthieu Sarter <matthieu.sarter.external@atos.net>
1549 David Edelsohn <dje.gcc@gmail.com>
1550
92a285c1
ML
1551 * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
1552 unconditionally.
1553 (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support. Add 32-bit
1554 AIX 7.2 support.
d8b9cd27 1555
38a75ccc
OH
15562017-06-02 Olivier Hainque <hainque@adacore.com>
1557
1558 * config/vxlib.c (__gthread_once): Add missing value to
1559 return statement.
1560
5b2edf53
OH
15612017-05-30 Olivier Hainque <hainque@adacore.com>
1562
1563 * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
1564 dollar sign before $(MULTIDIR).
1565
7d66e265
RH
15662017-05-26 Richard Henderson <rth@redhat.com>
1567
1568 PR libgcc/80037
1569 * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
1570
78eca309
AT
15712017-05-17 Andreas Tobler <andreast@gcc.gnu.org>
1572
1573 * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
1574 _Unwind_SetIP available as functions for arm*-*-freebsd*.
1575 * config/arm/unwind-arm.c: Implement the above.
1576
c39d309a
AZ
15772017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1578
1579 * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
1580 section for a non-executable stack.
1581
eac8c9f2
KW
15822017-05-14 Krister Walfridsson <krister.walfridsson@gmail.com>
1583
1584 PR target/80600
1585 * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
1586
d6d4d770
DS
15872017-05-14 Daniel Santos <daniel.santos@pobox.com>
1588
1589 * config.host: Add i386/t-msabi to i386/t-linux file list.
1590 * config/i386/i386-asm.h: New file.
1591 * config/i386/resms64.S: New file.
1592 * config/i386/resms64f.S: New file.
1593 * config/i386/resms64fx.S: New file.
1594 * config/i386/resms64x.S: New file.
1595 * config/i386/savms64.S: New file.
1596 * config/i386/savms64f.S: New file.
1597 * config/i386/t-msabi: New file.
1598
8ef2b9a7
AT
15992017-05-09 Andreas Tobler <andreast@gcc.gnu.org>
1600
1601 * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
1602 arm*-*-freebsd* instead of the t-slibgcc-libgcc.
1603
7ab8766a
JC
16042017-05-05 Joshua Conner <joshconner@google.com>
1605
1606 * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
1607 pc-relative indirect handling for fuchsia.
1608 * config/t-slibgcc-fuchsia: New file.
1609 * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
d6d4d770 1610 x86_64-*-fuchsia*): Add definitions.
7ab8766a 1611
46928a8f
ML
16122017-04-19 Martin Liska <mliska@suse.cz>
1613
1614 PR gcov-profile/80435
1615 * Makefile.in: Install gcov.h.
1616 * gcov.h: New file.
1617 * libgcov.h: Use the header and make __gcov_flush publicly
1618 visible.
1619
63971184
ML
16202017-04-18 Martin Liska <mliska@suse.cz>
1621
1622 PR gcov-profile/78783
1623 * libgcov-driver.c (gcov_get_filename): New function.
1624
29d8aae6
JL
16252017-04-07 Jeff Law <law@redhat.com>
1626
1627 * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
1628 target makefile fragment.
1629 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
1630
2bdf7fc6
AM
16312017-04-07 Alan Modra <amodra@gmail.com>
1632
1633 PR target/45053
1634 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
1635
5764ee3c
JW
16362017-04-03 Jonathan Wakely <jwakely@redhat.com>
1637
1638 * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
1639
c4192ad7
CZ
16402017-03-27 Claudiu Zissulescu <claziss@synopsys.com>
1641
1642 * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
1643
4ccfdb28
JM
16442017-03-10 John Marino <gnugcc@marino.st>
1645
1646 * config/aarch64/freebsd-unwind.h: New file.
1647 * config.host: Add aarch64-*-freebsd unwinder.
1648
4144e4e3
SB
16492017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
1650
1651 * config/rs6000/crtrestvr.s: Use .machine altivec.
1652 * config/rs6000/crtsavevr.s: Ditto.
1653
7502c597
SB
16542017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
1655
1656 * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
1657 modify CFLAGS. Add -mabi=altivec -mvsx -mfloat128.
1658 (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
1659 -mfloat128-hardware to the CFLAGS. Fix syntax error in the C snippet.
1660 * configure: Regenerate.
1661 * config.in: Regenerate.
1662
db9f7f65
JY
16632017-03-02 Jonathan Yong <10walls@gmail.com>
1664
1665 * config/i386/gthr-win32.h: Define NOGDI before
1666 windows.h include to prevent w32api CC_NONE macro
1667 clash with libgfortran.
1668
126437c5
JY
16692017-03-02 Jonathan Yong <10walls@gmail.com>
1670
1671 * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
1672
31927af6
AP
16732017-02-16 Andrew Pinski <apinski@cavium.com>
1674
1675 * config/aarch64/value-unwind.h: New file.
1676 * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
1677 to tm_file.
1678
0bd99911
PD
16792017-02-06 Palmer Dabbelt <palmer@dabbelt.com>
1680
1681 * config.host: Add RISC-V tuples.
1682 * config/riscv/atomic.c: New file.
1683 * config/riscv/crti.S: Likewise.
1684 * config/riscv/crtn.S: Likewise.
1685 * config/riscv/div.S: Likewise.
1686 * config/riscv/linux-unwind.h: Likewise.
1687 * config/riscv/muldi3.S: Likewise.
1688 * config/riscv/multi3.S: Likewise.
1689 * config/riscv/save-restore.S: Likewise.
1690 * config/riscv/sfp-machine.h: Likewise.
1691 * config/riscv/t-elf: Likewise.
1692 * config/riscv/t-elf32: Likewise.
1693 * config/riscv/t-elf64: Likewise.
1694 * config/riscv/t-softfp32: Likewise.
1695 * config/riscv/t-softfp64: Likewise.
1696
a8c9ef2a
JJ
16972017-01-24 Jakub Jelinek <jakub@redhat.com>
1698
1699 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
1700 /* FALLTHRU */ comments.
1701
c6c82710
GP
17022017-01-21 Gerald Pfeifer <gerald@pfeifer.com>
1703
1704 * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
1705
a876231c
JW
17062017-01-20 Jiong Wang <jiong.wang@arm.com>
1707
1708 * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
1709 * unwind-dw2.c (execute_cfa_program): Only multiplexing
1710 DW_CFA_GNU_window_save for AArch64 and LP64.
1711
aa348be2
JW
17122017-01-20 Jiong Wang <jiong.wang@arm.com>
1713
1714 * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
1715
5636faf2
JW
17162017-01-19 Jiong Wang <jiong.wang@arm.com>
1717
1718 * config/aarch64/aarch64-unwind.h: New file.
1719 (DWARF_REGNUM_AARCH64_RA_STATE): Define.
1720 (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
1721 (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
1722 (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
1723 (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
1724 (aarch64_post_extract_frame_addr): New function.
1725 (aarch64_post_frob_eh_handler_addr): New function.
1726 (aarch64_frob_update_context): New function.
1727 * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
1728 * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
1729 aarch64*-*-freebsd*):
1730 Initialize md_unwind_header to include aarch64-unwind.h.
1731 * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
1732 (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
1733 __aarch64__.
1734 (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
1735 (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
1736 (uw_frob_return_addr): New function.
1737 (uw_install_context): Use uw_frob_return_addr.
1738
3c36aa6b
JJ
17392017-01-17 Jakub Jelinek <jakub@redhat.com>
1740
1741 PR other/79046
1742 * configure.ac: Add GCC_BASE_VER.
1743 * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
1744 version from BASE-VER file.
1745 * configure: Regenerated.
1746
829afb8f
JS
17472017-01-13 Joe Seymour <joe.s@somniumtech.com>
1748
1749 * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
1750 libmul_f5.a): Filter archived prerequisites.
1751
79fc8ffe
AS
17522017-01-10 Andrew Senkevich <andrew.senkevich@intel.com>
1753
1754 * config/i386/cpuinfo.h (processor_features): Add
1755 FEATURE_AVX512VPOPCNTDQ.
1756 * config/i386/cpuinfo.c (get_available_features): Habdle new
1757 feature.
1758
fec5f4e0
JM
17592017-01-04 Joseph Myers <joseph@codesourcery.com>
1760
1761 * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
1762 payload if [__mips_nan2008].
1763
8f56cb51
AM
17642017-01-04 Alan Modra <amodra@gmail.com>
1765
1766 * Makefile.in (configure_deps): Update.
1767 * configure: Regenerate.
1768
cbe34bb5
JJ
17692017-01-01 Jakub Jelinek <jakub@redhat.com>
1770
1771 Update copyright years.
1772
ab955692
KW
17732016-12-19 Krister Walfridsson <krister.walfridsson@gmail.com>
1774
1775 * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
1776 * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
1777 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
1778
de34320f
MK
17792016-12-17 Matthias Klose <doko@ubuntu.com>
1780
1781 * config/arc/gmon: Remove empty directory.
1782
e04ea1da
CZ
17832016-12-16 Claudiu Zissulescu <claziss@synopsys.com>
1784
1785 * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
1786 crtgend.
1787 (arc*-*-elf*): Likewise.
1788 * config/arc/t-arc: Remove old gmon lib targets.
1789 * config/arc/crtg.S: Remove.
1790 * config/arc/crtgend.S: Likewise.
1791 * config/arc/gmon/atomic.h: Likewise.
1792 * config/arc/gmon/auxreg.h: Likewise.
1793 * config/arc/gmon/dcache_linesz.S: Likewise.
1794 * config/arc/gmon/gmon.c: Likewise.
1795 * config/arc/gmon/machine-gmon.h: Likewise.
1796 * config/arc/gmon/mcount.c: Likewise.
1797 * config/arc/gmon/prof-freq-stub.S: Likewise.
1798 * config/arc/gmon/prof-freq.c: Likewise.
1799 * config/arc/gmon/profil.S: Likewise.
1800 * config/arc/gmon/sys/gmon.h: Likewise.
1801 * config/arc/gmon/sys/gmon_out.h: Likewise.
1802 * config/arc/t-arc-newlib: Likewise.
1803 * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
1804
8ae1c2c1
GS
18052016-12-12 George Spelvin <linux@sciencehorizons.net>
1806
1807 * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
1808
a5b947fa
GS
18092016-12-12 George Spelvin <linux@sciencehorizons.net>
1810
1811 * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
1812 R16 instead of push + pop.
1813 (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
1814
d6574dd1
KW
18152016-12-10 Krister Walfridsson <krister.walfridsson@gmail.com>
1816
1817 * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
1818 tmake_file.
1819
62440b4f
CM
18202016-12-05 Cupertino Miranda <cmiranda@synopsys.com>
1821
1822 * config.host (arc*-*-linux-uclibc*): Use default extra
1823 objects. Include linux-android header.
1824 * config/arc/crti.S (_init): Declare symbol as function.
1825 (_fini): Likewise.
1826
31cfd832
TK
18272016-12-03 Thomas Koenig <tkoenig@gcc.gnu.org>
1828
1829 PR fortran/78379
1830 * config/i386/cpuinfo.c: Move denums for processor vendors,
1831 processor type, processor subtypes and declaration of
1832 struct __processor_model into
1833 * config/i386/cpuinfo.h: New header file.
1834
c92e08e3
AV
18352016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
1836 Thomas Preud'homme <thomas.preudhomme@arm.com>
1837
1838 * config/arm/cmse_nonsecure_call.S: New.
1839 * config/arm/t-arm: Compile cmse_nonsecure_call.S
1840
de7b5723
AV
18412016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
1842 Thomas Preud'homme <thomas.preudhomme@arm.com>
1843
1844 * config/arm/t-arm (HAVE_CMSE): New.
1845 * config/arm/cmse.c: New.
1846
7a0d2bce
TP
18472016-11-28 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
1848
b3a5bff4
TP
1849 PR gcc/74748
1850 * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
1851 use generic linker version information on Blackfin.
1852
7a0d2bce
TP
1853 PR gcc/74748
1854 * libgcc/mkmap-symver.awk: add support for skip_underscore
1855
b410cf1d
IS
18562016-11-27 Iain Sandoe <iain@codesourcery.com>
1857 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1858
1859 PR target/67710
1860 * config/t-darwin: Default builds to 10.5 codegen.
1861
2e5f8203
JG
18622016-11-24 James Greenhalgh <james.greenhalgh@arm.com>
1863
1864 * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
1865 (_FP_NANSIGN_H): Likewise.
1866 * config/aarch64/t-softfp (softfp_extensions): Add hftf.
1867 (softfp_truncations): Add tfhf.
1868 (softfp_extras): Add required conversion functions.
1869
bea64ca3
JG
18702016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
1871 Matthew Wahab <matthew.wahab@arm.com>
1872
1873 * config/arm/fp16.c (binary64): New.
1874 (__gnu_d2h_internal): New.
1875 (__gnu_d2h_ieee): New.
1876 (__gnu_d2h_alternative): New.
1877
8630cadb
JG
18782016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
1879 Matthew Wahab <matthew.wahab@arm.com>
1880
1881 * config/arm/fp16.c (struct format): New.
1882 (binary32): New.
1883 (__gnu_float2h_internal): New. Body moved from
1884 __gnu_f2h_internal and generalize.
1885 (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
1886 Call it with binary32.
1887
5823ef23
JG
18882016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
1889
1890 * soft-fp/extendhftf2.c: Update from glibc.
1891 * soft-fp/fixhfti.c: Likewise.
1892 * soft-fp/fixunshfti.c: Likewise.
1893 * soft-fp/floattihf.c: Likewise.
1894 * soft-fp/floatuntihf.c: Likewise.
1895 * soft-fp/half.h: Likewise.
1896 * soft-fp/trunctfhf2.c: Likewise.
1897
62a7df9f
MG
18982016-11-20 Marc Glisse <marc.glisse@inria.fr>
1899
1900 PR libgcc/77813
1901 * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
1902 __TMC_END__ behind a passthrough asm.
1903
7a384912
WL
19042016-11-18 Walter Lee <walt@tilera.com>
1905
62a7df9f 1906 * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
7a384912 1907
9775c1a5
L
19082016-11-17 Andrew Senkevich <andrew.senkevich@intel.com>
1909
1910 * config/i386/cpuinfo.c (processor_features): Add
1911 FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
1912
48c842ab
CZ
19132016-11-17 Claudiu Zissulescu <claziss@synopsys.com>
1914
1915 * config/arc/dp-hack.h (ARC_OPTFPE): Define.
1916 (__ARC_NORM__): Use instead ARC_OPTFPE.
1917 * config/arc/fp-hack.h: Likewise.
1918 * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
1919 (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
1920
5012919d
AM
19212016-11-16 Alexander Monakov <amonakov@ispras.ru>
1922
1923 * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
1924 * config/nvptx/mgomp.c: New file.
1925 * config/nvptx/t-nvptx: Add mgomp.c
1926
00178b98
WB
19272016-11-16 Waldemar Brodkorb <wbx@openadk.org>
1928
1929 PR libgcc/68468
1930 * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
1931
d64af69f
CZ
19322016-11-15 Claudiu Zissulescu <claziss@synopsys.com>
1933
1934 * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
1935 of checking for cpus.
1936 (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
1937 (__modsi3, __clzsi2): Likewise.
1938
9d8f95de
SN
19392016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
1940
1941 * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
1942 i386/t-cpuinfo-static instead of i386/t-cpuinfo.
1943 * config/i386/t-cpuinfo-static: New.
1944
7d29f8e3
ML
19452016-11-03 Martin Liska <mliska@suse.cz>
1946
1947 * libgcov-profiler.c (__gcov_time_profiler): Remove.
1948 (__gcov_time_profiler_atomic): Likewise.
1949
5de3e2d8
BE
19502016-11-03 Bernd Edlinger <bernd.edlinger@hotmail.de>
1951
1952 PR libgcc/78067
1953 * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
1954 count_leading_zeros.
1955
18362447
UB
19562016-11-02 Uros Bizjak <ubizjak@gmail.com>
1957
1958 * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
1959 * libgcc2.c (__divmoddi4): New function.
1960 * libgcc2.h (__divmoddi4): Declare.
1961 * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
1962 and __PFX_divmodti4.
1963
33107571
FW
19642016-10-24 Florian Weimer <fweimer@redhat.com>
1965
1966 PR libgcc/78064
1967 * unwind-c.c: Include auto-target.h.
1968
4c6d7494
JDA
19692016-10-19 John David Anglin <danglin@gcc.gnu.org>
1970
18362447 1971 * config/pa/pa64-hpux-lib.h: New file.
4c6d7494
JDA
1972 (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
1973 (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
1974 * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
1975 hppa*64*-*-hpux11*.
1976
2a26adf1
MF
19772016-10-18 Max Filippov <jcmvbkbc@gmail.com>
1978
1979 * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
1980 definition.
1981 * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
1982 definition.
1983 * config/xtensa/t-windowed (LIB2ADDEH): Use
1984 LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
1985 or xtensa/t-linux.
1986
66192aa1
DKC
19872016-10-18 Ding-Kai Chen <dkchen@cadence.com>
1988
1989 * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
1990 __ieee754_sqrt): New functions.
1991 (__divdf3): Add implementation with new FPU instructions under
1992 #if XCHAL_HAVE_DFP_DIV.
1993 * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
1994 __ieee754_sqrtf): New functions.
1995 (__divsf3): Add implementation with new FPU instructions under
1996 #if XCHAL_HAVE_FP_DIV.
1997 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
1998 _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
1999
4d0cdd0c
TP
20002016-10-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
2001
2002 * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
2003 equivalent.
2004 * config/tilepro/atomic.c: Likewise and stop casting model to
2005 enum memmodel.
2006
73f01cca
JM
20072016-10-10 Joseph Myers <joseph@codesourcery.com>
2008
2009 PR target/77586
2010 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
2011 soft-fp.
2012
b20e7532
AT
20132016-10-10 Andreas Tobler <andreast@gcc.gnu.org>
2014
2015 * config.host: Add support for aarch64-*-freebsd*.
2016
a786cec4
AS
20172016-10-05 Andreas Schwab <schwab@suse.de>
2018
2019 * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
2020 (.section .init_array): Don't call __do_jv_register_classes.
2021 (.section .init): Likewise.
2022
5a79befb
JJ
20232016-10-04 Jakub Jelinek <jakub@redhat.com>
2024
2025 * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
2026 (__JCR_LIST__): Remove.
2027 (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
2028 * config/i386/cygming-crtend.c (__JCR_END__): Remove.
2029 * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
2030 * config/ia64/crtend.S (__JCR_END__): Remove.
2031 * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
2032 conditionals.
2033 (__JCR_LIST__, __JCR_END__): Remove.
2034 (frame_dummy): Don't attempt to _Jv_RegisterClasses.
2035 (__do_global_ctors_1): Likewise.
2036
e0ab3753
UB
20372015-09-28 Uros Bizjak <ubizjak@gmail.com>
2038
2039 * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
2040 (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
2041
8c9434c2
ML
20422016-09-27 Martin Liska <mliska@suse.cz>
2043
2044 PR gcov-profile/7970
2045 PR gcov-profile/16855
2046 PR gcov-profile/44779
2047 * libgcov-driver.c (__gcov_init): Do not register a atexit
2048 handler.
2049 (__gcov_exit): Rename from gcov_exit.
2050 * libgcov.h (__gcov_exit): Declare.
2051
56b653f1
ML
20522016-09-27 Martin Liska <mliska@suse.cz>
2053
2054 PR bootstrap/77749
2055 * Makefile.in: Remove _gcov_merge_delta.
2056 * libgcov-merge.c (void __gcov_merge_delta): Remove.
2057 * libgcov-util.c (__gcov_delta_counter_op): Remove.
2058 * libgcov.h: Remove declaration of __gcov_merge_delta.
2059
7e02fd1b
EB
20602016-09-21 Eric Botcazou <ebotcazou@adacore.com>
2061
2062 * configure.ac: Do not create links, only substitute the filenames.
2063 * configure: Regenerate.
2064 * Makefile.in: Assign the substitution results to variables.
2065 (LIBGCC_LINKS): Define.
2066 (enable-execute-stack.c): New rule.
2067 (unwind.h): Likewise.
2068 (md-unwind-support.h): Likewise.
2069 (sfp-machine.h): Likewise.
2070 (gthr-default.h): Likewise.
2071 Add $(LIBGCC_LINKS) to the prerequisites of all object files and
2072 unwind.h as prerequisite of install-unwind_h-forbuild.
2073
29991048
JJ
20742016-09-16 Jakub Jelinek <jakub@redhat.com>
2075
2076 PR libgcc/71744
2077 * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
2078 is not the primary registry and atomics are available.
2079 (any_objects_registered): New variable.
2080 (__register_frame_info_bases, __register_frame_info_table_bases):
2081 Atomically store 1 to any_objects_registered after registering first
2082 unwind info.
2083 (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
2084
0abcd6cc
JG
20852016-09-09 James Greenhalgh <james.greenhalgh@arm.com>
2086
2087 PR target/63250
2088 * Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
2089 * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
2090 (HFtype): Likewise.
2091 (HCtype): Likewise.
2092 (__divhc3): Likewise.
2093 (__mulhc3): Likewise.
2094 * libgcc2.c: Support _mulhc3 and _divhc3.
2095
d758aeb5
JM
20962016-09-07 Joseph Myers <joseph@codesourcery.com>
2097
2098 PR libgcc/77519
2099 * libgcc2.c (NOTRUNC): Invert settings.
2100
7fe76f6a
ML
21012016-09-06 Martin Liska <mliska@suse.cz>
2102
2103 PR gcov-profile/77378
2104 PR gcov-profile/77466
2105 * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
2106 conditionaly enable/disable *_atomic functions.
2107
21184026
JM
21082016-08-26 Joseph Myers <joseph@codesourcery.com>
2109
2110 * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
2111 where not already enabled.
2112
726f49c3
SN
21132016-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
2114
2115 * config/mips/linux-unwind.h: Use sys/syscall.h.
2116
feeb6268
JM
21172016-08-16 Joseph Myers <joseph@codesourcery.com>
2118
2119 PR libgcc/77265
2120 * soft-fp/adddf3.c: Update from glibc.
2121 * soft-fp/addsf3.c: Likewise.
2122 * soft-fp/addtf3.c: Likewise.
2123 * soft-fp/divdf3.c: Likewise.
2124 * soft-fp/divsf3.c: Likewise.
2125 * soft-fp/divtf3.c: Likewise.
2126 * soft-fp/double.h: Likewise.
2127 * soft-fp/eqdf2.c: Likewise.
2128 * soft-fp/eqsf2.c: Likewise.
2129 * soft-fp/eqtf2.c: Likewise.
2130 * soft-fp/extenddftf2.c: Likewise.
2131 * soft-fp/extended.h: Likewise.
2132 * soft-fp/extendsfdf2.c: Likewise.
2133 * soft-fp/extendsftf2.c: Likewise.
2134 * soft-fp/extendxftf2.c: Likewise.
2135 * soft-fp/fixdfdi.c: Likewise.
2136 * soft-fp/fixdfsi.c: Likewise.
2137 * soft-fp/fixdfti.c: Likewise.
2138 * soft-fp/fixsfdi.c: Likewise.
2139 * soft-fp/fixsfsi.c: Likewise.
2140 * soft-fp/fixsfti.c: Likewise.
2141 * soft-fp/fixtfdi.c: Likewise.
2142 * soft-fp/fixtfsi.c: Likewise.
2143 * soft-fp/fixtfti.c: Likewise.
2144 * soft-fp/fixunsdfdi.c: Likewise.
2145 * soft-fp/fixunsdfsi.c: Likewise.
2146 * soft-fp/fixunsdfti.c: Likewise.
2147 * soft-fp/fixunssfdi.c: Likewise.
2148 * soft-fp/fixunssfsi.c: Likewise.
2149 * soft-fp/fixunssfti.c: Likewise.
2150 * soft-fp/fixunstfdi.c: Likewise.
2151 * soft-fp/fixunstfsi.c: Likewise.
2152 * soft-fp/fixunstfti.c: Likewise.
2153 * soft-fp/floatdidf.c: Likewise.
2154 * soft-fp/floatdisf.c: Likewise.
2155 * soft-fp/floatditf.c: Likewise.
2156 * soft-fp/floatsidf.c: Likewise.
2157 * soft-fp/floatsisf.c: Likewise.
2158 * soft-fp/floatsitf.c: Likewise.
2159 * soft-fp/floattidf.c: Likewise.
2160 * soft-fp/floattisf.c: Likewise.
2161 * soft-fp/floattitf.c: Likewise.
2162 * soft-fp/floatundidf.c: Likewise.
2163 * soft-fp/floatundisf.c: Likewise.
2164 * soft-fp/floatunditf.c: Likewise.
2165 * soft-fp/floatunsidf.c: Likewise.
2166 * soft-fp/floatunsisf.c: Likewise.
2167 * soft-fp/floatunsitf.c: Likewise.
2168 * soft-fp/floatuntidf.c: Likewise.
2169 * soft-fp/floatuntisf.c: Likewise.
2170 * soft-fp/floatuntitf.c: Likewise.
2171 * soft-fp/gedf2.c: Likewise.
2172 * soft-fp/gesf2.c: Likewise.
2173 * soft-fp/getf2.c: Likewise.
2174 * soft-fp/ledf2.c: Likewise.
2175 * soft-fp/lesf2.c: Likewise.
2176 * soft-fp/letf2.c: Likewise.
2177 * soft-fp/muldf3.c: Likewise.
2178 * soft-fp/mulsf3.c: Likewise.
2179 * soft-fp/multf3.c: Likewise.
2180 * soft-fp/negdf2.c: Likewise.
2181 * soft-fp/negsf2.c: Likewise.
2182 * soft-fp/negtf2.c: Likewise.
2183 * soft-fp/op-1.h: Likewise.
2184 * soft-fp/op-2.h: Likewise.
2185 * soft-fp/op-4.h: Likewise.
2186 * soft-fp/op-8.h: Likewise.
2187 * soft-fp/op-common.h: Likewise.
2188 * soft-fp/quad.h: Likewise.
2189 * soft-fp/single.h: Likewise.
2190 * soft-fp/soft-fp.h: Likewise.
2191 * soft-fp/subdf3.c: Likewise.
2192 * soft-fp/subsf3.c: Likewise.
2193 * soft-fp/subtf3.c: Likewise.
2194 * soft-fp/truncdfsf2.c: Likewise.
2195 * soft-fp/trunctfdf2.c: Likewise.
2196 * soft-fp/trunctfsf2.c: Likewise.
2197 * soft-fp/trunctfxf2.c: Likewise.
2198 * soft-fp/unorddf2.c: Likewise.
2199 * soft-fp/unordsf2.c: Likewise.
2200 * soft-fp/unordtf2.c: Likewise.
2201
2e6fc1ac
GG
22022016-08-15 Gilles Gouaillardet <gilles.gouaillardet@gmail.com>
2203
2204 PR gcov-profile/67097
2205 * libgcov-util.c (gcov_profile_merge): Skip missing files.
2206
a266236e
ML
22072016-08-10 Martin Liska <mliska@suse.cz>
2208
2209 PR gcov-profile/58306
2210 * Makefile.in: New functions (modules) are added.
2211 * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
2212 function.
2213 (__gcov_pow2_profiler_atomic): New function.
2214 (__gcov_one_value_profiler_body): New argument is instroduced.
2215 (__gcov_one_value_profiler): Call with the new argument.
2216 (__gcov_one_value_profiler_atomic): Likewise.
2217 (__gcov_indirect_call_profiler_v2): Likewise.
2218 (__gcov_time_profiler_atomic): New function.
2219 (__gcov_average_profiler_atomic): Likewise.
2220 (__gcov_ior_profiler_atomic): Likewise.
2221 * libgcov.h: Declare the aforementioned functions.
2222
e0c8eebf
ML
22232016-08-09 Martin Liska <mliska@suse.cz>
2224
2225 * libgcov-util.c: Fix typo and GNU coding style.
2226
6dce6418
ML
22272016-08-09 Martin Liska <mliska@suse.cz>
2228
2229 * Makefile.in: Remove __gcov_indirect_call_profiler.
2230 * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
2231 function.
2232 * libgcov.h: And the declaration of the function.
2233
dcb1e137
ML
22342016-08-09 Martin Liska <mliska@suse.cz>
2235
2236 * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
2237 power of two.
2238
d6e69705
BS
22392016-07-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
2240
2241 * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
2242 * config/rs6000/_mulkc3.c: Likewise.
2243
96aa1f95
GJL
22442016-07-29 Georg-Johann Lay <avr@gjlay.de>
2245
2246 * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
2247 zero_reg as previous call to __umulhisi3 already cleared it.
2248
a1b01d34
AJ
22492016-07-21 Aurelien Jarno <aurelien@aurel32.net>
2250
2251 PR target/59833
2252 * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
2253
985a47b2
NC
22542016-07-19 Nick Clifton <nickc@redhat.com>
2255
2256 * config.host (m32r): Add m32r/t-m32r to tmake_file.
2257 Add crtinit.o and crtfini.o to extra_parts.
2258
f906f5ed
BS
22592016-07-12 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
2260
2261 * config/rs6000/_divkc3.c: New.
2262 * config/rs6000/_mulkc3.c: New.
2263 * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
2264 and _divkc3.
2265 * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
2266 fp128_ppc_funcs.
2267
82742404
HW
22682016-07-11 Hale Wang <hale.wang@arm.com>
2269 Andre Vieira <andre.simoesdiasvieira@arm.com>
2270
2271 * config/arm/lib1funcs.S: Add new wrapper.
2272
05a437c1
TP
22732016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
2274
2275 * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
2276
3d16d9ec
TP
22772016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
2278
2279 * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
2280 and ARMv5t* rather than for a fixed list of architectures.
2281
6f493951
TP
22822016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
2283
2284 * config/arm/bpabi-v6m.S: Clarify what architectures is the
2285 implementation suitable for.
2286 * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
2287 for all Thumb-1 only targets.
2288 (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
2289 (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
2290 __ARM_ARCH_6M__.
2291 (EQUIV): Likewise.
2292 (ARM_FUNC_ALIAS): Likewise.
2293 (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
2294 version.
2295 (modsi3): Likewise.
2296 (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
2297 (clzdi2): Likewise.
2298 (ctzsi2): Likewise.
2299 (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
2300 __ARM_ARCH_6M__ in guard for checking whether it is defined.
2301 (final includes): Test for NOT_ISA_TARGET_32BIT rather than
2302 __ARM_ARCH_6M__ and add comment to indicate the connection between
2303 this condition and the one in gcc/config/arm/elf.h.
2304 * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
2305 __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
2306 * config/arm/t-softfp: Likewise.
2307
1770511a
TS
23082016-07-06 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2309
2310 * libgcc2.c (SYMBOL__MAIN): Remove checks for
2311 CTOR_LISTS_DEFINED_EXTERNALLY.
2312
ba6be749
WL
23132016-06-28 Walter Lee <walt@tilera.com>
2314
2315 * config/tilepro/atomic.h: Do not include arch/spr_def.h and
2316 asm/unistd.h.
2317 (SPR_CMPEXCH_VALUE): Define for tilegx.
2318 (__NR_FAST_cmpxchg): Define for tilepro.
2319 (__NR_FAST_atomic_update): Define for tilepro.
2320 (__NR_FAST_cmpxchg64): Define for tilepro.
2321
a34c0db5
JS
23222016-06-23 Jakub Sejdak <jakub.sejdak@phoesys.com>
2323
18362447 2324 * config.host: Add suport for arm*-*-phoenix* targets.
a34c0db5 2325
0609abda
TS
23262016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2327
2328 * config.host: Remove support for mep-*.
2329 * config/mep/lib1funcs.S: Remove.
2330 * config/mep/lib2funcs.c: Remove.
2331 * config/mep/t-mep: Remove.
2332 * config/mep/tramp.c: Remove.
2333
3e326935
TS
23342016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2335
2336 * config.host: Remove support for avr-rtems.
2337 * config/avr/t-rtems: Remove.
2338
914b155c
TS
23392016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2340
2341 * config.host: Remove m32r-rtems support.
2342
5ebf89bd
TS
23432016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2344
2345 * config.host: Remove h8300-rtems support.
2346
8466af06
TS
23472016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2348
2349 * config.host: Remove support for knetbsd.
2350
d980e738
TS
23512016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2352
2353 * config.host: Remove support for openbsd 2 and 3.
2354
ee2499b4
TS
23552016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2356
2357 * config.host: Remove interix support.
2358 * config/i386/t-interix: Remove.
2359
9f92937b
JDA
23602016-06-18 John David Anglin <danglin@gcc.gnu.org>
2361
2362 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
2363 least-significant bit in function pointer for fixup.
2364
0a0ec53d
AC
23652016-06-05 Aaron Conole <aconole@redhat.com>
2366 Nathan Sidwell <nathan@acm.org>
2367
2368 PR libgcc/71400
2369 * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
2370 (get_gcov_error_file): Check __gcov_error_file before trying to
2371 initialize it.
2372 (gcov_error): Always use get_gcov_error_file.
2373
8aa5bdd6
AC
23742016-06-02 Aaron Conole <aconole@redhat.com>
2375
2376 * libgcov-driver-system.c (__gcov_error_file): New.
2377 (get_gcov_error_file): New.
2378 (gcov_error): Use and set __gcov_error_file.
2379 (gcov_error_exit): New.
2380 * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
2381
40774faf
NS
23822016-05-26 Nathan Sidwell <nathan@acm.org>
2383
2384 * config/nvptx/free.asm: Delete.
2385 * config/nvptx/malloc.asm: Delete.
2386 * config/nvptx/realloc.c: Delete.
2387 * t-nvptx: Update.
2388
69a6d5ad
NS
23892016-05-25 Nathan Sidwell <nathan@acm.org>
2390
2391 * config/nvptx/crt0.s: Delete.
2392 * config/nvptx/crt0.c: New.
2393 * t-nvptx: Update.
2394
6befaff6
SL
23952016-05-19 Sandra Loosemore <sandra@codesourcery.com>
2396
385c7747 2397 * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
6befaff6
SL
2398 dw2/seh configuration.
2399 [x86_64-*-mingw*]: Likewise.
2400
ad251dfd
JS
24012016-05-10 Joel Sherrill <joel@rtems.org>
2402
2403 PR libgcc/70720
2404 * config.host (moxie-*-rtems*): Merge this stanza with other moxie
2405 targets so the same extra_parts are built. Also have tmake_file add
2406 on to its value rather than override.
2407
bc6d9014
OE
24082016-04-30 Oleg Endo <olegendo@gcc.gnu.org>
2409
2410 * config.host: Remove SH5 support.
2411 * configure: Likewise.
2412
9129c8cf
OE
24132016-04-29 Oleg Endo <olegendo@gcc.gnu.org>
2414
2415 * config/sh/crt1.S: Remove SH5 support.
2416 * config/sh/crti.S: Likewise.
2417 * config/sh/crtn.S: Likewise.
2418 * config/sh/lib1funcs-4-300.S: Likewise.
2419 * config/sh/lib1funcs-Os-4-200.S: Likewise.
2420 * config/sh/lib1funcs.S: Likewise.
2421 * config/sh/linux-unwind.h: Likewise.
2422 * config/sh/t-sh64: Delete.
2423
39d50464
CZ
24242016-04-29 Claudiu Zissulescu <claziss@synopsys.com>
2425
2426 * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
2427
8b48923b
CZ
24282016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
2429 Joern Rennecke <joern.rennecke@embecosm.com>
2430
2431 * config/arc/crttls.S: New file.
2432 * config/arc/t-arc: New rule.
2433 * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
2434
2de1cf8c
NC
24352016-04-25 Nick Clifton <nickc@redhat.com>
2436
2437 * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
2438 (__mspabi_cmpd): Likewise.
2439 * config/msp430/floathidf.c (__floathidf): Likewise.
2440 * config/msp430/floathisf.c (__floathisf): Likewise
2441 * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
2442 * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
2443 * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
2444 second parameter.
2445 (__ashrsi3): Likewise.
2446
b8ce3fe2
WB
24472016-04-21 Waldemar Brodkorb <wbx@openadk.org>
2448
2449 * config/m68k/linux-atomic.c: Do not include unistd.h
2450
4986f823
MG
24512016-04-20 Martin Galvan <martin.galvan@tallertechnologies.com>
2452
2453 * config/arm/ieee754-df.S: Fix typos in comments.
2454
35fbda43
MM
24552016-04-11 Michael Meissner <meissner@linux.vnet.ibm.com>
2456
2457 PR target/70381
2458 * configure.ac (powerpc*-*-linux*): Rework tests to build
2459 __float128 emulation routines to not depend on using #pragma GCC
2460 target to enable -mfloat128.
2461 * configure: Regnerate.
2462
72d1a48d
EB
24632016-04-04 Eric Botcazou <ebotcazou@adacore.com>
2464
2465 PR target/67172
2466 * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
2467 __MINGW32__ is defined.
2468
dc2e8995
JB
24692016-03-28 James Bowman <james.bowman@ftdichip.com>
2470
385c7747 2471 * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
dc2e8995 2472
104cdaf1
MM
24732016-03-22 Michael Meissner <meissner@linux.vnet.ibm.com>
2474
2475 PR libgcc/70363
2476 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
2477 built with an assembler that does not support ISA 3.0
2478 instructions, rename __extendkftf2_sw to __extendkftf2.
2479
a5046f48
RO
24802016-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2481
2482 PR target/38239
2483 * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
2484 call-clobbered registers.
2485 (internal_mcount): Remove __i386__ handling.
2486
df674f74
JS
24872016-02-26 Joel Sherrill <joel@rtems.org>
2488
2489 * config.host: Add x86_64-*-rtems*.
2490
7cb065d6
JS
24912016-02-26 Joel Sherrill <joel@rtems.org>
2492
2493 * libgcc/config.host: Add aarch64-*-rtems*.
2494
47dfdc53
PM
24952016-02-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2496 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
2497
2498 * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
2499 union of u64 and double.
2500 (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
2501 (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
2502 value.
2503 (FP_ROUNDMODE): Update the usage of _fpscr.
2504
e6861a99
IV
25052016-02-25 Ilya Verbin <ilya.verbin@intel.com>
2506
2507 PR driver/68463
2508 * Makefile.in (crtoffloadtable$(objext)): New rule.
2509 * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
2510 enable_offload_targets is not empty.
2511 * configure: Regenerate.
2512 * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
2513 crtoffloadtable.
2514
9bfcbdee
MF
25152016-02-17 Max Filippov <jcmvbkbc@gmail.com>
2516
2517 * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
2518 .literal_position before the function.
2519 * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
2520 Likewise.
2521
4cb4721f
MK
25222016-02-15 Marcin Kościelnicki <koriakin@0x04.net>
2523
2524 * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
2525 * config/s390/morestack.S: New file.
2526 * config/s390/t-stack-s390: New file.
2527 * generic-morestack.c (__splitstack_find): Add s390-specific code.
2528
b29d9a29
WL
25292016-02-12 Walter Lee <walt@tilera.com>
2530
2531 * config.host (tilegx*-*-linux*): remove ti from
2532 softfp_int_modes for 32-bit configs.
2533
03a0ae7d
ILT
25342016-02-10 Ian Lance Taylor <iant@google.com>
2535
2536 PR go/68562
2537 * config/i386/morestack.S (__stack_split_initialize): Align
2538 stack.
2539
68750bce
AT
25402016-02-03 Andreas Tobler <andreast@gcc.gnu.org>
2541
2542 PR bootstrap/69611
2543 * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
2544 __FLOAT128__ to compile only for __float128 capable targets.
2545
7d296953
JJ
25462016-01-25 Jakub Jelinek <jakub@redhat.com>
2547
2548 PR target/69444
2549 * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
2550 instead of ___NO_FPRS__.
2551
a71c0334 25522016-01-21 Michael Meissner <meissner@linux.vnet.ibm.com>
7d296953
JJ
2553 Steven Munroe <munroesj@linux.vnet.ibm.com>
2554 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
a71c0334
MM
2555
2556 * config/rs6000/float128-sed: New files to convert TF names to KF
2557 names for PowerPC IEEE 128-bit floating point support.
2558 * config/rs6000/float128-sed-hw: Likewise.
2559
2560 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
2561 floating point hardware support.
2562
2563 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
2564 128-bit floating point software emulation or use ISA 3.0 hardware
2565 support if it is available.
2566
2567 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
2568 floating point.
2569
2570 * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
2571 floating point to IBM extended double.
2572
2573 * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
2574 double to IEEE 128-bit floating point.
2575
2576 * config/rs6000/t-float128: New Makefile fragments to enable
2577 building __float128 emulation support.
2578 * config/rs6000/t-float128-hw: Likewise.
2579
2580 * config/rs6000/sfp-exceptions.c: New file to provide exception
2581 support for IEEE 128-bit floating point.
2582
2583 * config/rs6000/floattikf.c: New files for converting between IEEE
2584 128-bit floating point and signed/unsigned 128-bit integers.
2585 * config/rs6000/fixunskfti.c: Likewise.
2586 * config/rs6000/fixkfti.c: Likewise.
2587 * config/rs6000/floatuntikf.c: Likewise.
2588
2589 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
2590 when building on 64-bit systems, or when VSX is enabled.
2591 (_FP_W_TYPE): Likewise.
2592 (_FP_WS_TYPE): Likewise.
2593 (_FP_I_TYPE): Likewise.
2594 (TItype): Define on 64-bit systems.
2595 (UTItype): Likewise.
2596 (TI_BITS): Likewise.
2597 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
2598 (_FP_MUL_MEAT_Q): Likewise.
2599 (_FP_DIV_MEAT_D): Likewise.
2600 (_FP_DIV_MEAT_Q): Likewise.
2601 (_FP_NANFRAC_D): Likewise.
2602 (_FP_NANFRAC_Q): Likewise.
2603 (ISA_BIT): Add exception support if we are being compiled on a
2604 machine with hardware floating point support to build the IEEE
2605 128-bit emulation functions.
2606 (FP_EX_INVALID): Likewise.
2607 (FP_EX_OVERFLOW): Likewise.
2608 (FP_EX_UNDERFLOW): Likewise.
2609 (FP_EX_DIVZERO): Likewise.
2610 (FP_EX_INEXACT): Likewise.
2611 (FP_EX_ALL): Likewise.
2612 (__sfp_handle_exceptions): Likewise.
2613 (FP_HANDLE_EXCEPTIONS): Likewise.
2614 (FP_RND_NEAREST): Likewise.
2615 (FP_RND_ZERO): Likewise.
2616 (FP_RND_PINF): Likewise.
2617 (FP_RND_MINF): Likewise.
2618 (FP_RND_MASK): Likewise.
2619 (_FP_DECL_EX): Likewise.
2620 (FP_INIT_ROUNDMODE): Likewise.
2621 (FP_ROUNDMODE): Likewise.
2622
2623 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
2624 VSX code, enable IEEE 128-bit floating point. If the compiler can
2625 compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
2626 floating point hardware instructions and it supports declaring
2627 functions with the ifunc attribute, enable ifunc functions to
2628 switch between software and hardware support.
2629 * configure.ac (powerpc*-*-linux*): Likewise.
2630 * configure: Regenerate.
2631
bdc27e50
NC
26322016-01-15 Nick Clifton <nickc@redhat.com>
2633
2634 * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
2635 dependency as the source file to be compiled.
2636 (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
2637 (lib2hw_mul_f5.o): Likewise.
2638
006df05d
MM
26392016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
2640
2641 * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
2642 * libgcc/config/rs6000/fixkfti.c: Likewise.
2643 * libgcc/config/rs6000/fixunskfti.c: Likewise.
2644 * libgcc/config/rs6000/float128-hw.c: Likewise.
2645 * libgcc/config/rs6000/float128-ifunc.c: Likewise.
2646 * libgcc/config/rs6000/float128-sed: Likewise.
2647 * libgcc/config/rs6000/floattikf.c: Likewise.
2648 * libgcc/config/rs6000/floatuntikf.c: Likewise.
2649 * libgcc/config/rs6000/quad-float128.h: Likewise.
2650 * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
2651 * libgcc/config/rs6000/sfp-machine.h: Likewise.
2652 * libgcc/config/rs6000/t-float128: Likewise.
2653 * libgcc/config/rs6000/t-float128-hw: Likewise.
2654 * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
2655 * libgcc/config.host: Likewise.
2656 * libgcc/configure: Likewise.
2657 * libgcc/configure.ac: Likewise.
2658
29176d57 26592016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
7d296953
JJ
2660 Steven Munroe <munroesj@linux.vnet.ibm.com>
2661 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
29176d57
MM
2662
2663 * config/rs6000/sfp-exceptions.c: New file to provide exception
2664 support for IEEE 128-bit floating point.
2665
2666 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
2667 floating point hardware support.
2668
2669 * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
2670 point conversions.
2671 * config/rs6000/fixunskfti.c: Likewise.
2672 * config/rs6000/fixkfti.c: Likewise.
2673 * config/rs6000/floatuntikf.c: Likewise.
2674 * config/rs6000/extendkftf2-sw.c: Likewise.
2675 * config/rs6000/trunctfkf2-sw.c: Likewise.
2676
2677 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
2678 128-bit floating point software emulation or use ISA 3.0 hardware
2679 support if it is available.
2680
2681 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
2682 floating point.
2683
2684 * config/rs6000/t-float128: New Makefile fragments to enable
2685 building __float128 emulation support.
2686 * config/rs6000/t-float128-hw: Likewise.
2687
2688 * config/rs6000/float128-sed: New file to convert TF names to KF
2689 names for PowerPC IEEE 128-bit floating point support.
2690
2691 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
2692 when building on 64-bit systems, or when VSX is enabled.
2693 (_FP_W_TYPE): Likewise.
2694 (_FP_WS_TYPE): Likewise.
2695 (_FP_I_TYPE): Likewise.
2696 (TItype): Define on 64-bit systems.
2697 (UTItype): Likewise.
2698 (TI_BITS): Likewise.
2699 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
2700 (_FP_MUL_MEAT_Q): Likewise.
2701 (_FP_DIV_MEAT_D): Likewise.
2702 (_FP_DIV_MEAT_Q): Likewise.
2703 (_FP_NANFRAC_D): Likewise.
2704 (_FP_NANFRAC_Q): Likewise.
2705 (ISA_BIT): Add exception support if we are being compiled on a
2706 machine with hardware floating point support to build the IEEE
2707 128-bit emulation functions.
2708 (FP_EX_INVALID): Likewise.
2709 (FP_EX_OVERFLOW): Likewise.
2710 (FP_EX_UNDERFLOW): Likewise.
2711 (FP_EX_DIVZERO): Likewise.
2712 (FP_EX_INEXACT): Likewise.
2713 (FP_EX_ALL): Likewise.
2714 (__sfp_handle_exceptions): Likewise.
2715 (FP_HANDLE_EXCEPTIONS): Likewise.
2716 (FP_RND_NEAREST): Likewise.
2717 (FP_RND_ZERO): Likewise.
2718 (FP_RND_PINF): Likewise.
2719 (FP_RND_MINF): Likewise.
2720 (FP_RND_MASK): Likewise.
2721 (_FP_DECL_EX): Likewise.
2722 (FP_INIT_ROUNDMODE): Likewise.
2723 (FP_ROUNDMODE): Likewise.
2724
2725 * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
2726 compiler can do __float128.
2727 * configure: Regenerate.
2728
2729 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
2730 VSX code, enable IEEE 128-bit floating point.
2731
a2218983
OH
27322016-01-05 Olivier Hainque <hainque@adacore.com>
2733
2734 * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
29176d57 2735 specificities.
a2218983 2736
818ab71a
JJ
27372016-01-04 Jakub Jelinek <jakub@redhat.com>
2738
2739 Update copyright years.
2740
5a6c8ffa
AP
27412015-12-18 Andris Pavenis <andris.pavenis@iki.fi>
2742
2743 * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
29176d57 2744 soft-fp targets.
5a6c8ffa 2745
077067a5
BE
27462015-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
2747
2748 * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
2749 instead of abort to avoid dependency on stdlib.h.
2750
787c1027
JDA
27512015-12-09 John David Anglin <danglin@gcc.gnu.org>
2752
2753 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
2754 to initialize call to __dl_fixup once.
2755
04a9ae28
NC
27562015-12-04 Nick Clifton <nickc@redhat.com>
2757
2758 * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
2759 Allow for the second argument being negative.
2760 * config.host (extra_parts): Define for MSP430. Create separate
2761 libraries for each of the hardware multiply formats.
2762 * config/msp430/lib2hw_mul.S: Build only the multiply routines
2763 that are needed.
2764 * config/msp430/lib2mul.c: Likewise.
2765 * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
2766 Add rules to build hardware multiply libraries.
2767 * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
2768 __mspabi_divul function.
2769 (__mspabi_divllu): New stub function.
2770
9a32d437
JDA
27712015-12-01 John David Anglin <danglin@gcc.gnu.org>
2772
2773 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
2774 fixup values if saved GOT address doesn't match runtime address.
2775 (fixup_branch_offset): Reorder list.
2776
e5ef217c
RO
27772015-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2778
2779 * Makefile.in (VTV_CFLAGS): New variable.
2780 (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
2781 (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
2782 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
2783 Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
2784 to extra_parts if $enable_vtable_verify = yes.
2785
78cc43a2
SN
27862015-11-23 Szabolcs Nagy <szabolcs.nagy@arm.com>
2787
2788 PR target/68059
2789 * config/arm/linux-atomic-64bit.c (__write): Rename to...
2790 (write): ...this and fix the return type.
2791
9afebea2
DD
27922015-11-19 DJ Delorie <dj@redhat.com>
2793
2794 * config/msp430/lib2hw_mul.S: Fix alignment.
2795
33f47f42
NS
27962015-11-18 Nathan Sidwell <nathan@codesourcery.com>
2797
2798 * config/nvptx/reduction.c: New.
2799 * config/nvptx/t-nvptx (LIB2ADD): Add it.
2800
d9adb476
DE
28012015-11-15 David Edelsohn <dje.gcc@gmail.com>
2802
2803 * config/rs6000/on_exit.c: New file.
2804 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
2805 * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
2806
c0ab1970
CZ
28072015-11-11 Claudiu Zissulescu <claziss@synopsys.com>
2808
2809 * config/arc/dp-hack.h: Add support for ARCHS.
2810 * config/arc/ieee-754/divdf3.S: Likewise.
2811 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
2812 * config/arc/ieee-754/muldf3.S: Likewise.
2813 * config/arc/ieee-754/mulsf3.S: Likewise
2814 * config/arc/lib1funcs.S: Likewise
2815 * config/arc/gmon/dcache_linesz.S: Don't read the build register
2816 for ARCv2 cores.
2817 * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
2818 for ARCv2 cores.
2819 * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
2820 * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
2821 cores.
2822
e6b6bf09
RO
28232015-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2824
2825 * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
2826 value.
2827 * config/ia64/crtend.S: Likewise.
2828
a153644f
TS
28292015-11-07 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2830
2831 * config/visium/lib2funcs.c (__set_trampoline_parity): Use
2832 __CHAR_BIT__ instead of BITS_PER_UNIT.
2833 * fixed-bit.h: Likewise.
2834 * fp-bit.h: Likewise.
2835 * libgcc2.c (__popcountSI2): Likewise.
2836 (__popcountDI2): Likewise.
2837 * libgcc2.h: Likewise.
2838 * libgcov.h: Likewise.
2839
3dee689d
DE
28402015-11-07 David Edelsohn <dje.gcc@gmail.com>
2841
2842 * config/rs6000/atexit.c: New file.
2843 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
2844 * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
2845 * config/rs6000/cxa_finalize.c
2846 (catomic_compare_and_exchange_bool_acq): Negate return value.
2847
2ef543e4
VK
28482015-10-30 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
2849
2850 * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
2851 (processor_subtypes): Add znver1.
2852 (get_amd_cpu): Detect znver1.
2853
1300f017
CL
28542015-10-29 Christophe Lyon <christophe.lyon@linaro.org>
2855
2856 * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
2857 Include crtfastmath.o.
2858
3e5bb7ee
JR
28592015-10-23 Joern Rennecke <joern.rennecke@embecosm.com>
2860
2861 PR libgcc/66883
2862 * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
1300f017 2863
793aa938
KP
28642015-10-16 Kaushik Phatak <kaushik.phatak@kpit.com>
2865
2866 * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
2867 * config/rl78/divmodsi.S: Update return register to r8.
2868 * config/rl78/divmodhi.S: Update return register to r8,r9.
2869 Branch to main_loop_done_himode to pop registers before return.
2870
7d296953 28712015-10-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
fac812f0
VK
2872
2873 * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
2874 (__cpu_indicator_init): Fix model selection for AMD CPUs.
2875
6a192b5a
KY
28762015-10-05 Kirill Yukhin <kirill.yukhin@intel.com>
2877
2878 * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
2879
4a0a9457
MF
28802015-10-03 Max Filippov <jcmvbkbc@gmail.com>
2881
2882 * config.host (xtensa*-*-uclinux*): New configuration.
2883
ab91c076
KY
28842015-10-02 Kirill Yukhin <kirill.yukhin@intel.com>
2885
385c7747 2886 * config/i386/cpuinfo.c (processor_features): Add
ab91c076
KY
2887 FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
2888
30954527
JM
28892015-09-28 Joseph Myers <joseph@codesourcery.com>
2890
2891 * soft-fp/adddf3.c: Update from glibc.
2892 * soft-fp/addsf3.c: Likewise.
2893 * soft-fp/addtf3.c: Likewise.
2894 * soft-fp/divdf3.c: Likewise.
2895 * soft-fp/divsf3.c: Likewise.
2896 * soft-fp/divtf3.c: Likewise.
2897 * soft-fp/double.h: Likewise.
2898 * soft-fp/eqdf2.c: Likewise.
2899 * soft-fp/eqsf2.c: Likewise.
2900 * soft-fp/eqtf2.c: Likewise.
2901 * soft-fp/extenddftf2.c: Likewise.
2902 * soft-fp/extended.h: Likewise.
2903 * soft-fp/extendsfdf2.c: Likewise.
2904 * soft-fp/extendsftf2.c: Likewise.
2905 * soft-fp/extendxftf2.c: Likewise.
2906 * soft-fp/fixdfdi.c: Likewise.
2907 * soft-fp/fixdfsi.c: Likewise.
2908 * soft-fp/fixdfti.c: Likewise.
2909 * soft-fp/fixsfdi.c: Likewise.
2910 * soft-fp/fixsfsi.c: Likewise.
2911 * soft-fp/fixsfti.c: Likewise.
2912 * soft-fp/fixtfdi.c: Likewise.
2913 * soft-fp/fixtfsi.c: Likewise.
2914 * soft-fp/fixtfti.c: Likewise.
2915 * soft-fp/fixunsdfdi.c: Likewise.
2916 * soft-fp/fixunsdfsi.c: Likewise.
2917 * soft-fp/fixunsdfti.c: Likewise.
2918 * soft-fp/fixunssfdi.c: Likewise.
2919 * soft-fp/fixunssfsi.c: Likewise.
2920 * soft-fp/fixunssfti.c: Likewise.
2921 * soft-fp/fixunstfdi.c: Likewise.
2922 * soft-fp/fixunstfsi.c: Likewise.
2923 * soft-fp/fixunstfti.c: Likewise.
2924 * soft-fp/floatdidf.c: Likewise.
2925 * soft-fp/floatdisf.c: Likewise.
2926 * soft-fp/floatditf.c: Likewise.
2927 * soft-fp/floatsidf.c: Likewise.
2928 * soft-fp/floatsisf.c: Likewise.
2929 * soft-fp/floatsitf.c: Likewise.
2930 * soft-fp/floattidf.c: Likewise.
2931 * soft-fp/floattisf.c: Likewise.
2932 * soft-fp/floattitf.c: Likewise.
2933 * soft-fp/floatundidf.c: Likewise.
2934 * soft-fp/floatundisf.c: Likewise.
2935 * soft-fp/floatunditf.c: Likewise.
2936 * soft-fp/floatunsidf.c: Likewise.
2937 * soft-fp/floatunsisf.c: Likewise.
2938 * soft-fp/floatunsitf.c: Likewise.
2939 * soft-fp/floatuntidf.c: Likewise.
2940 * soft-fp/floatuntisf.c: Likewise.
2941 * soft-fp/floatuntitf.c: Likewise.
2942 * soft-fp/gedf2.c: Likewise.
2943 * soft-fp/gesf2.c: Likewise.
2944 * soft-fp/getf2.c: Likewise.
2945 * soft-fp/ledf2.c: Likewise.
2946 * soft-fp/lesf2.c: Likewise.
2947 * soft-fp/letf2.c: Likewise.
2948 * soft-fp/muldf3.c: Likewise.
2949 * soft-fp/mulsf3.c: Likewise.
2950 * soft-fp/multf3.c: Likewise.
2951 * soft-fp/negdf2.c: Likewise.
2952 * soft-fp/negsf2.c: Likewise.
2953 * soft-fp/negtf2.c: Likewise.
2954 * soft-fp/op-1.h: Likewise.
2955 * soft-fp/op-2.h: Likewise.
2956 * soft-fp/op-4.h: Likewise.
2957 * soft-fp/op-8.h: Likewise.
2958 * soft-fp/op-common.h: Likewise.
2959 * soft-fp/quad.h: Likewise.
2960 * soft-fp/single.h: Likewise.
2961 * soft-fp/soft-fp.h: Likewise.
2962 * soft-fp/subdf3.c: Likewise.
2963 * soft-fp/subsf3.c: Likewise.
2964 * soft-fp/subtf3.c: Likewise.
2965 * soft-fp/truncdfsf2.c: Likewise.
2966 * soft-fp/trunctfdf2.c: Likewise.
2967 * soft-fp/trunctfsf2.c: Likewise.
2968 * soft-fp/trunctfxf2.c: Likewise.
2969 * soft-fp/unorddf2.c: Likewise.
2970 * soft-fp/unordsf2.c: Likewise.
2971 * soft-fp/unordtf2.c: Likewise.
2972
4dfe21ac
RE
29732015-09-24 Richard Earnshaw <rearnsha@arm.com>
2974
2975 PR libgcc/67624
2976 * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
2977
df2a1cc4
RO
29782015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2979
2980 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
2981 Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
2982 * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
2983 messages.
2984 (internal_mcount): Likewise.
2985 * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
2986 crt_compile, add CRTSTUFF_T_CFLAGS_S.
2987
2d110442
RO
29882015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2989
2990 * configure.ac (libgcc_cv_solaris_crts): New test.
2991 * configure: Regenerate.
2992 * config.in: Regenerate.
2993 * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
2994 * config/gmon-sol2.c: Rename to ...
2995 * config/sol2/gmon.c: ... this.
2996 Include auto-target.h.
2997 (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
2998 * config/t-sol2: Rename to ...
2999 * config/sol2/t-sol2: ... this.
3000 (gmon.o): Reflect renaming.
3001 (crtp.o, crtpg.o): New rules.
3002 * config.host (*-*-solaris2*): Reflect renaming.
3003 Use system CRTs if present.
3004 Remove default CRT case.
3005
d572e439
JDA
30062015-09-23 John David Anglin <danglin@gcc.gnu.org>
3007
3008 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
3009 (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
3010 __kernel_cmpxchg2.
3011 (__sync_##OP##_and_fetch_##WIDTH): Likewise.
3012 (__sync_val_compare_and_swap_##WIDTH): Likewise.
3013 (__sync_bool_compare_and_swap_##WIDTH): Likewise.
3014 (__sync_lock_test_and_set_##WIDTH): Likewise.
3015 (__sync_lock_release_##WIDTH): Likewise.
3016 (__sync_fetch_and_##OP##_4): Change result to match type of
3017 __kernel_cmpxchg.
3018 (__sync_##OP##_and_fetch_4): Likewise.
3019 (__sync_val_compare_and_swap_4): Likewise.
3020 (__sync_bool_compare_and_swap_4): likewise.
3021 (__sync_lock_test_and_set_4): Likewise.
3022 (__sync_lock_release_4): Likewise.
3023 (FETCH_AND_OP_2): Add long long variants.
3024 (OP_AND_FETCH_2): Likewise.
3025 (COMPARE_AND_SWAP_2 ): Likewise.
3026 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
3027 (SYNC_LOCK_RELEASE_2): Likewise.
3028 (__sync_bool_compare_and_swap_##WIDTH): Correct return.
3029
7d296953 30302015-09-22 Kirill Yukhin <kirill.yukhin@intel.com>
06caf59d
KY
3031
3032 * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
3033 FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
3034 FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
3035 (get_available_features): Habdle new features.
3036
131314e1
JB
30372015-09-21 James Bowman <james.bowman@ftdichip.com>
3038
3039 * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
3040 memory layout. Deal correctly with BSS region larger than 32K.
3041 Handle a watchdog reset like a power-on reset. Clean up unused
3042 code.
3043
04218b35
AD
30442015-09-18 Andrew Dixie <andrewd@gentrack.com>
3045 David Edelsohn <dje.gcc@gmail.com>
3046
3047 * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
3048 * config/rs6000/crtdbase.S: New file.
3049 * config/rs6000/t-aix-cxa: Build crtdbase.o.
3050
c8338173
MF
30512015-09-15 Max Filippov <jcmvbkbc@gmail.com>
3052
3053 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
3054 Add support for call0 ABI.
3055
7a84bf71
JDA
30562015-09-13 John David Anglin <danglin@gcc.gnu.org>
3057
3058 * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
3059
4efab402
SH
30602015-09-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
3061
3062 * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
3063 (__GTHREAD_HAS_COND): Likewise.
3064 (__gthread_t): Likewise.
3065 (__gthread_cond_t): Likewise.
3066 (__gthread_time_t): Likewise.
3067 (__GTHREAD_MUTEX_INIT): Likewise.
3068 (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
3069 (__GTHREAD_COND_INIT): Likewise.
3070 (__GTHREAD_COND_INIT_FUNCTION): Likewise.
3071 (__GTHREAD_TIME_INIT): Likewise.
3072 (__gthread_create): Likewise.
3073 (__gthread_join): Likewise.
3074 (__gthread_detach): Likewise.
3075 (__gthread_equal): Likewise.
3076 (__gthread_self): Likewise.
3077 (__gthread_yield): Likewise.
3078 (__gthread_cond_broadcast): Likewise.
3079 (__gthread_cond_signal): Likewise.
3080 (__gthread_cond_wait): Likewise.
3081 (__gthread_cond_timedwait): Likewise.
3082 (__gthread_cond_wait_recursive): Likewise.
3083 (__gthread_cond_destroy): Likewise.
3084 (rtems_gxx_once): Delete.
3085 (rtems_gxx_key_create): Likewise.
3086 (rtems_gxx_key_delete): Likewise.
3087 (rtems_gxx_getspecific): Likewise.
3088 (rtems_gxx_setspecific): Likewise.
3089 (rtems_gxx_mutex_init): Likewise.
3090 (rtems_gxx_mutex_destroy): Likewise.
3091 (rtems_gxx_mutex_lock): Likewise.
3092 (rtems_gxx_mutex_trylock): Likewise.
3093 (rtems_gxx_mutex_unlock): Likewise.
3094 (rtems_gxx_recursive_mutex_init): Likewise.
3095 (rtems_gxx_recursive_mutex_lock): Likewise.
3096 (rtems_gxx_recursive_mutex_trylock): Likewise.
3097 (rtems_gxx_recursive_mutex_unlock): Likewise.
3098 (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
3099 (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
3100 (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
3101 (__gthread_once): Likewise.
3102 (__gthread_key_create): Likewise.
3103 (__gthread_key_delete): Likewise.
3104 (__gthread_getspecific): Likewise.
3105 (__gthread_setspecific): Likewise.
3106 (__gthread_key_t): Use <pthread.h> type.
3107 (__gthread_once_t): Likewise
3108 (__gthread_mutex_t): Use <sys/lock.h> type.
3109 (__gthread_recursive_mutex_t): Likewise
3110 (__gthread_mutex_lock): Use <sys/lock.h> function.
3111 (__gthread_mutex_trylock): Likewise.
3112 (__gthread_mutex_timedlock): Likewise.
3113 (__gthread_mutex_unlock): Likewise.
3114 (__gthread_mutex_destroy): Likewise.
3115 (__gthread_recursive_mutex_lock): Likewise.
3116 (__gthread_recursive_mutex_trylock): Likewise.
3117 (__gthread_recursive_mutex_timedlock): Likewise.
3118 (__gthread_recursive_mutex_unlock): Likewise.
3119 (__gthread_recursive_mutex_destroy): Likewise.
3120
991995c4
MF
31212015-08-18 Max Filippov <jcmvbkbc@gmail.com>
3122
3123 * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
3124 context->sp instead of context->cfa.
3125
0e19db59
MF
31262015-08-18 Max Filippov <jcmvbkbc@gmail.com>
3127
3128 * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
3129 with unwind-dw2-fde-dip.
3130
b6ac5f62
MF
31312015-08-18 Max Filippov <jcmvbkbc@gmail.com>
3132
3133 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
3134 CALL12 followed by series of ENTRY to spill windowed registers.
3135 (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
3136 instead of making linux spill syscall.
3137
3e0f3349
YR
31382015-08-14 Yuri Rumyantsev <ysrumyan@gmail.com>
3139
3140 * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
3141 (get_intel_cpu): Likewise.
3142
51c728b1
L
31432015-08-12 H.J. Lu <hongjiu.lu@intel.com>
3144
3145 * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
3146 (get_intel_cpu): Add Knights Landing support.
3147
aff4eeac
UB
31482015-08-11 Uros Bizjak <ubizjak@gmail.com>
3149
3150 PR target/66954
3151 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
3152 (get_available_features): Handle FEATURE_PCLMUL.
3153
736e56da
L
31542015-08-10 H.J. Lu <hongjiu.lu@intel.com>
3155
3156 * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
3157 Broadwell.
3158
54d22142
UB
31592015-07-22 Uros Bizjak <ubizjak@gmail.com>
3160
3161 PR target/66954
3162 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
3163 (get_available_features): Handle FEATURE_AES.
3164
20ca17e4
CLT
31652015-07-22 Chung-Lin Tang <cltang@codesourcery.com>
3166
3167 * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
3168 (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
3169
ebe4a560
NS
31702015-07-17 Nathan Sidwell <nathan@codesourcery.com>
3171
3172 * offloadstuff.c: Constify host data.
3173
180744c0
JB
31742015-07-17 Jan Beulich <jbeulich@suse.com>
3175
3176 * config/t-softfp: Split up "else ifneq".
3177
a03c6ae3
SL
31782015-07-14 Sandra Loosemore <sandra@codesourcery.com>
3179 Cesar Philippidis <cesar@codesourcery.com>
3180 Chung-Lin Tang <cltang@codesourcery.com>
3181
3182 * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
3183 for __nios2_arch__ level.
3184
73358db5
JM
31852015-07-13 John Marino <gnugcc@marino.st>
3186
3187 * config/i386/t-dragonfly: New.
3188
f9a12f7b
JDA
31892015-07-01 John David Anglin <danglin@gcc.gnu.org>
3190
3191 * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
3192 better match light-weight syscall argument order.
3193 (__kernel_cmpxchg2): Likewise.
3194 Adjust callers.
3195
cb78b51c
L
31962015-06-30 H.J. Lu <hongjiu.lu@intel.com>
3197
3198 * config.host: Support i[34567]86-*-elfiamcu target.
3199 * config/t-softfp-sfdftf: New file.
3200 * config/i386/32/t-iamcu: Likewise.
3201 * configure: Regenerated.
3202
4fa0f9ea
JL
32032015-06-23 James Lemke <jwlemke@codesourcery.com>
3204
3205 libgcc/config/arm/
3206 * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
3207
428b3812
L
32082015-05-27 H.J. Lu <hongjiu.lu@intel.com>
3209
3210 * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
3211
7d296953 32122015-05-27 John Marino <gnugcc@marino.st>
89c54dd3
JM
3213
3214 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
3215 md_unwind_header
3216 * config/i386/freebsd-unwind.h: New.
3217
9b789cc1
UB
32182015-05-22 Uros Bizjak <ubizjak@gmail.com>
3219
3220 * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
3221 i386/t-crtfm to tmake_file.
3222 * config/i386/crtfastmath.c (set_fast_math_sse): New function.
3223 (set_fast_math): Use set_fast_math_sse for SSE targets.
3224 * config/i386/t-crtfm: Remove.
3225
3dafb220
AM
32262015-05-21 Alan Modra <amodra@gmail.com>
3227
3228 PR libgcc/66225
3229 * config/rs6000/morestack.S: Remove ".abiversion 1".
3230
0f0fd745
AM
32312015-05-20 Alan Modra <amodra@gmail.com>
3232
3233 * config/rs6000/morestack.S: New.
3234 * config/rs6000/t-stack-rs6000: New.
3235 * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
3236 to tmake_file.
3237 * generic-morestack.c: Don't build for powerpc 32-bit.
3238
515ae71b
EB
32392015-05-19 Eric Botcazou <ebotcazou@adacore.com>
3240
3241 * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
3242 Remove useless endif/ifneq ($(enable_shared),yes) pair.
3243
36805406
JL
32442015-05-16 James Bowman <james.bowman@ftdichip.com>
3245
3246 * config.host: FT32 target added.
3247 * config/ft32/*: New files for FT32 target.
3248
ff935d0c
MG
32492015-05-15 Martin Galvan <martin.galvan@tallertechnologies.com>
3250
385c7747
UB
3251 * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
3252 New macros.
3253 * config/arm/ieee754-df.S: Add CFI directives.
3254 * config/arm/ieee754-sf.S: Add CFI directives.
ff935d0c 3255
9b92a9f3
EB
32562015-05-13 Eric Botcazou <ebotcazou@adacore.com>
3257
3258 * configure.ac: Include config/sjlj.m4.
3259 Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
3260 * config.in: Regenerate.
3261 * configure: Likewise.
3262 * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
3263
98b5dc61
UB
32642015-05-12 Uros Bizjak <ubizjak@gmail.com>
3265
3266 * libgcov-util.c: Add space between string literal and macro name.
3267
5a0ff57c
SL
32682015-05-06 Sandra Loosemore <sandra@codesourcery.com>
3269 Chris Jones <chrisj@nvidia.com>
3270 Joshua Conner <jconner@nvidia.com>
3271
3272 * config.host (arm*-*-linux*): Add support for crtfastmath.o.
3273 (arm*-*-uclinux*): Likewise.
3274 (arm*-*-eabi* | arm*-*-rtems*): Likewise.
3275 * config/arm/crtfastmath.c: New file.
3276
d28ad5d4
BS
32772014-04-29 Bernd Schmidt <bernds@codesourcery.com>
3278
3279 * Makefile.in (real_host_noncanonical): New variable.
3280 (libsubdir): Use it.
3281 * configure.ac (real_host_noncanonical): Compute. Remove special
3282 case for intelmicemul.
3283 * configure: Regenerate.
3284
cc86234f
UB
32852015-04-28 Uros Bizjak <ubizjak@gmail.com>
3286
3287 * config/frv/elf-lib.h: New file.
3288 (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
3289 * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
3290 to tm_file.
3291
32922015-04-28 Uros Bizjak <ubizjak@gmail.com>
3293
3294 * config/frv/frvbengin.c: Do not include defaults.h
3295 * config/frv/frvend.c: Ditto.
3296
2f6bd6eb
YS
32972015-04-27 Yoshinori Sato <ysato@users.sourceforge.jp>
3298
3299 * config.host: Add h8300-*-linux
3300 * config/h8300/t-linux: New file.
3301 * config/h8300/lib1funs.s: Change symbol prefix.
3302 * config/h8300/sfp-machine.h: 64bit double support.
3303
15aa7b44
GR
33042015-04-22 Gregor Richards <gregor.richards@uwaterloo.ca>
3305 Szabolcs Nagy <szabolcs.nagy@arm.com>
3306
3307 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
3308 Linux if target provides dl_iterate_phdr.
3309
abd0cdc9
L
33102015-04-17 H.J. Lu <hongjiu.lu@intel.com>
3311
3312 PR target/65612
3313 * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
3314 * config/i386/cpuinfo.c (__cpu_model): Initialize.
3315 (__cpu_indicator_init@GCC_4.8.0): New.
3316 (__cpu_model@GCC_4.8.0): Likewise.
3317 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
3318 -DUSE_ELF_SYMVER.
3319
72ed1126
NC
33202015-04-16 Nick Clifton <nickc@redhat.com>
3321
3322 * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
3323 and __modhi3 functions.
3324 * config/rl78/divmodso.S: Add G14 and G13 versions of the
3325 __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
3326
d26b2237
CG
33272015-04-15 Chen Gang <gang.chen.5i5j@gmail.com>
3328
3329 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
3330 do-while loop as macro body to avoid warnings.
3331
cacf1f59
JJ
33322015-04-10 Jakub Jelinek <jakub@redhat.com>
3333 Iain Sandoe <iain@codesourcery.com>
3334
3335 PR target/65351
3336 * configure: Regenerate.
3337
e8a4ed3b
JJ
33382015-04-07 Jakub Jelinek <jakub@redhat.com>
3339 Iain Sandoe <iain@codesourcery.com>
3340
3341 PR target/65351
3342 * configure: Regenerate.
3343
0341335e
CLT
33442015-03-25 Chung-Lin Tang <cltang@codesourcery.com>
3345
3346 * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
3347
590e2636 33482015-03-03 Max Filippov <jcmvbkbc@gmail.com>
0341335e 3349
590e2636
MF
3350 Implement call0 ABI for xtensa
3351 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
3352 __xtensa_nonlocal_goto): Don't compile for call0 ABI.
3353 (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
3354 use ret in call0 ABI.
3355 * config/xtensa/t-windowed: New file.
3356 * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
3357 * libgcc/configure: Regenerated.
3358 * libgcc/configure.ac: Check if xtensa target is configured for
3359 windowed ABI and thus needs to use custom unwind code.
3360
7727f8f2
JW
33612015-02-12 Jonathan Wakely <jwakely@redhat.com>
3362
3363 PR libgcc/64885
3364 * gthr-single.h: Use __unused__ attribute instead of unused.
3365 * config/gthr-vxworks.h: Likewise.
3366 * config/i386/gthr-win32.h: Likewise.
3367
0e4a0def
KT
33682015-02-27 Kai Tietz <ktietz@redhat.com>
3369
3370 PR target/65038
3371 * config.in: Regenerated.
3372 * configure: Likewise.
3373 * configure.ac (AC_HEADER_STDC): Added explicit.
3374 (AC_CHECK_HEADERS): Check for default headers plus
3375 for ftw.h header.
3376 * libgcov-util.c (gcov_read_profile_dir): Disable use
3377 of ftw-function, if header is not found.
3378 (ftw_read_file): Likewise.
3379
b6530d0a
TS
33802015-02-23 Thomas Schwinge <thomas@codesourcery.com>
3381
3382 PR target/65181
3383 * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
3384 -Dinhibit_libc.
3385
53cfb467
SL
33862015-02-17 Sandra Loosemore <sandra@codesourcery.com>
3387
3388 * config/arm/bpabi.S (test_div_by_zero): Make label names
3389 consistent between thumb2 and arm mode cases. Separate the
3390 signed comparison on the high word of the numerator from the
3391 unsigned comparison on the low word.
3392 * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
3393 signed comparison.
3394
77d10a1b
JM
33952015-02-17 Joseph Myers <joseph@codesourcery.com>
3396
3397 * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
3398 and <string.h>.
3399 (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
3400
98174188
RE
34012015-02-10 Rainer Emrich <rainer@emrich-ebersheim.de>
3402
3403 PR gcov-profile/61889
471274de 3404 * libgcov-driver-system.c: undefine clashing macro for mkdir.
98174188 3405
771bef14
NC
34062015-02-02 Nick Clifton <nickc@redhat.com>
3407
3408 * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
3409 rounding up the fraction.
3410
40702893
JDA
34112015-01-31 John David Anglin <danglin@gcc.gnu.org>
3412
3413 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
3414 oldval and newval to const void *. Fix typo.
3415 (FETCH_AND_OP_2): Use __atomic_load_n to load value.
3416 (FETCH_AND_OP_WORD): Likewise.
3417 (OP_AND_FETCH_WORD): Likewise.
3418 (COMPARE_AND_SWAP_2): Likewise.
3419 (__sync_val_compare_and_swap_4): Likewise.
3420 (__sync_lock_test_and_set_4): Likewise.
3421 (SYNC_LOCK_RELEASE_2): Likewise.
3422 Remove support for long long atomic operations.
3423
f7f049fa
CT
34242015-01-27 Caroline Tice <cmtice@google.com>
3425
3426 Committing VTV Cywin/Ming patch for Patrick Wollgast
3427 * Makefile.in: Move rules to build vtv_*.o out of the check
3428 for CUSTOM_CRTSTUFF.
3429 * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
3430 i[34567]86-*-mingw*)
3431 (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
3432 enable_vtable_verify.
3433
8410904a
NC
34342015-01-27 Nick Clifton <nickc@redhat.com>
3435
3436 * config/rl78/cmpsi2.S: Use function start and end macros.
3437 (__gcc_bcmp): New function.
3438 * config/rl78/lshrsi3.S: Use function start and end macros.
3439 * config/rl78/mulsi3.S: Add support for G10.
3440 (__mulqi3): New function for G10.
3441 * config/rl78/signbit.S: Use function start and end macros.
3442 * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
3443 fpmath-sf.S.
3444 (LIB2FUNCS_EXCLUDE): Define.
3445 (LIB2FUNCS_ST): Define.
3446 * config/rl78/trampoline.S: Use function start and end macros.
3447 * config/rl78/vregs.h (START_FUNC): New macro.
3448 (START_ANOTHER_FUNC): New macro.
3449 (END_FUNC): New macro.
3450 (END_ANOTHER_FUNC): New macro.
3451 * config/rl78/bit-count.S: New file. Contains assembler
3452 implementations of the bit counting functions: ___clzhi2,
3453 __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
3454 __paritysi2, __popcounthi2 and __popcountsi2.
3455 * config/rl78/fpbit-sf.S: New file. Contains assembler
3456 implementationas of the math functions: __negsf2, __cmpsf2,
3457 __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
3458 __fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
3459 * config/rl78/fpmath-sf.S: New file. Contains assembler
3460 implementations of the math functions: __subsf3, __addsf3,
3461 __mulsf3 and __divsf3
3462
f962fbf1
RO
34632015-01-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3464
3465 * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
3466 Add i386/elf-lib.h to tm_file.
3467 * config/i386/elf-lib.h: Fix comment.
3468 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
3469 && __sun__ && __svr4__]: Remove workaround.
3470
939911c5
ASJ
34712015-01-25 Allan Sandfeld Jensen <sandfeld@kde.org>
3472
3473 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
3474 FEATURE_BMI2.
3475 (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
3476
c8f2dff2
L
34772015-01-24 H.J. Lu <hongjiu.lu@intel.com>
3478
3479 * config/i386/cpuinfo.c (processor_subtypes): Add
3480 INTEL_COREI7_BROADWELL.
3481 (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
3482 model numbers.
3483
7bbf9734
UB
34842015-01-23 Uros Bizjak <ubizjak@gmail.com>
3485
3486 * config/i386/elf-lib.h: New file.
3487 (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
3488 Wrap definition in #ifdef __i386__.
3489 * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
3490 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
3491 (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
3492 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
3493 to tm_file.
3494
324820f1
CG
34952015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
3496
3497 * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
3498 "(char *)" to avoid qualifier warning by 'xgcc' compiling.
3499
a9ce4e4a
CLT
35002015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
3501
3502 * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
3503 Update rt_sigframe format and address for current Nios II
3504 Linux conventions.
3505
82a19768
AT
35062015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
3507
3508 * config.host (arm*-*-freebsd*): Add new configuration for
3509 arm*-*-freebsd*.
3510 * config/arm/freebsd-atomic.c: New file.
3511 * config/arm/t-freebsd: Likewise.
3512 * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
3513 'PC-relative indirect' OS's.
3514
0969ec7d
EB
35152015-01-06 Eric Botcazou <ebotcazou@adacore.com>
3516
3517 * config.host: Add Visium support.
3518 * config/visium: New directory.
3519
5624e564
JJ
35202015-01-05 Jakub Jelinek <jakub@redhat.com>
3521
3522 Update copyright years.
3523
82f84ecb
MF
35242014-12-19 Matthew Fortune <matthew.fortune@imgtec.com>
3525
3526 * config.host: Support mipsisa32r6 and mipsisa64r6.
3527 * config/mips/mips16.S: Do not build for R6.
3528
69044fa9
OE
35292014-12-17 Oleg Endo <olegendo@gcc.gnu.org>
3530
3531 * config/sh/crt.h: New.
3532 * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
3533 symbols.
3534 * config/sh/crt1.S: Likewise.
3535
2405e0ea
UB
35362014-12-15 Uros Bizjak <ubizjak@gmail.com>
3537
3538 PR libgcc/63832
3539 * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
3540 func_ptr *dtor_list temporary variable to avoid "array subscript
3541 is above array bounds" warnings.
3542
7d296953 35432014-12-09 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
dd913323
MH
3544
3545 * Makefile.in (with_aix_soname): Define.
3546 * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
3547 * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
3548 * configure: Recreate.
3549
a66272f6
OH
35502014-12-05 Olivier Hainque <hainque@adacore.com>
3551
3552 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
3553 now provided by defaults.h.
3554
6342b2c5
OE
35552014-11-30 Oleg Endo <olegendo@gcc.gnu.org>
3556
7d0ee249 3557 PR target/55351
6342b2c5
OE
3558 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
3559 whether it's defined.
3560
c17eac85
IT
35612014-11-27 Ilya Tocar <ilya.tocar@intel.com>
3562
3563 * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
3564 * config/i386/cpuinfo.c (get_available_features): Detect it.
3565
1025cb6c
TW
35662014-11-27 Tony Wang <tony.wang@arm.com>
3567
3568 * config/arm/lib1funcs.S (FUNC_START): Add conditional section
3569 redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
3570 (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
3571
d19f2e38
SB
35722014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
3573
3574 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
3575
17f6e9a3
JDA
35762014-11-24 John David Anglin <danglin@gcc.gnu.org>
3577
3578 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
3579 instead.
3580
0cd7c672
GM
35812014-11-21 Guy Martin <gmsoft@tuxicoman.be>
3582 John David Anglin <danglin@gcc.gnu.org>
3583
3584 * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
3585 (FETCH_AND_OP_2): New. Use for subword and double word operations.
3586 (OP_AND_FETCH_2): Likewise.
3587 (COMPARE_AND_SWAP_2): Likewise.
3588 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
3589 (SYNC_LOCK_RELEASE_2): Likewise.
3590 (SUBWORD_SYNC_OP): Remove.
3591 (SUBWORD_VAL_CAS): Likewise.
3592 (SUBWORD_BOOL_CAS): Likewise.
3593 (FETCH_AND_OP_WORD): Update.
3594 Consistently use signed types.
cc86234f 3595
85c64bbe
BS
35962014-11-13 Bernd Schmidt <bernds@codesourcery.com>
3597 Thomas Schwinge <thomas@codesourcery.com>
3598 Ilya Verbin <ilya.verbin@intel.com>
3599 Andrey Turetskiy <andrey.turetskiy@intel.com>
3600
3601 * Makefile.in (crtoffloadbegin$(objext)): New rule.
3602 (crtoffloadend$(objext)): Likewise.
3603 * configure: Regenerate.
3604 * configure.ac (accel_dir_suffix): Compute new variable.
3605 (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
3606 if enable_offload_targets is not empty.
3607 * offloadstuff.c: New file.
3608
52a1ff8b
NC
36092014-11-13 Nick Clifton <nickc@redhat.com>
3610
3611 * config/rl78/divmodhi.S: Add support for the G10 architecture.
3612 Use START_FUNC and END_FUNC macros to enable linker garbage
3613 collection.
3614 * config/rl78/divmodqi.S: Likewise.
3615 * config/rl78/divmodsi.S: Likewise.
3616 * config/rl78/mulsi3.S: Likewise.
3617 * config/rl78/lib2div.c: Remove G10 functions.
3618 * config/rl78/lib2muls.c: Likewise.
3619 * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
3620 * config/rl78/vregs.h (START_FUNC): New macro.
3621 (END_FUNC): New macro.
3622
050af144
MF
36232014-11-12 Matthew Fortune <matthew.fortune@imgtec.com>
3624
3625 * config/mips/mips16.S: Set .module when supported. Update O32
3626 FP64 calling convention and use for FPXX when possible. Add FPXX
3627 calling convention fallback case.
3628
738f2522
BS
36292014-11-06 Bernd Schmidt <bernds@codesourcery.com>
3630
3631 * config.host: Handle nvptx-*-*.
3632 * shared-object.mk (as-flags-$o): Define.
3633 ($(base)$(objext), $(base)_s$(objext)): Use it instead of
3634 -xassembler-with-cpp.
3635 * static-object.mk: Identical changes.
3636 * config/nvptx/t-nvptx: New file.
3637 * config/nvptx/crt0.s: New file.
3638 * config/nvptx/free.asm: New file.
3639 * config/nvptx/malloc.asm: New file.
3640 * config/nvptx/realloc.c: New file.
3641
e610393c
JM
36422014-10-30 Joseph Myers <joseph@codesourcery.com>
3643
3644 * Makefile.in (libgcc.map.in): New target.
3645 (libgcc.map): Use libgcc.map.in.
3646 * config/t-softfp (softfp_compat): New variable to be set by
3647 users.
3648 [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
3649 variables.
3650 [$(softfp_compat) = y] (softfp_file_list): Use files in the build
3651 directory.
3652 [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
3653 that use compat symbols and disable all code unless [SHARED].
3654 * config/t-softfp-compat: New file.
3655 * find-symver.awk: New file.
3656 * configure.ac (--with-glibc-version): New configure option.
3657 (ppc_fp_compat): New variable set for powerpc*-*-linux*.
3658 * configure: Regenerate.
3659 * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
3660 soft-float and e500.
3661
bc1b3a88
JM
36622014-10-29 Joseph Myers <joseph@codesourcery.com>
3663
3664 * config/t-hardfp (hardfp_exclusions): Document new variable for
3665 user to define.
3666 (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
3667 * config/t-softfp (softfp_extras): Document new variable for user
3668 to define.
3669 (softfp_func_list): Add functions from $(softfp_extras).
3670 * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
3671 * config.host (powerpc*-*-linux*): For e500v1, use
3672 rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
3673 t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
3674 and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
3675
ef2810c1
JDA
36762014-10-26 John David Anglin <danglin@gcc.gnu.org>
3677
3678 * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
3679 (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
3680 memory read accesses are ok.
3681
d80c2bea
JM
36822014-10-25 Joseph Myers <joseph@codesourcery.com>
3683
3684 * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
3685 * configure: Regenerate.
3686 * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
3687 additions to tmake_file. Use t-hardfp-sfdf and t-hardfp instead
3688 of soft-fp for 32-bit classic hard float. Do not use
3689 t-softfp-excl for soft float.
3690
693b297b
JM
36912014-10-22 Joseph Myers <joseph@codesourcery.com>
3692
3693 * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
3694 configurations.
3695 * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
3696 Remove variables.
3697
18a3415e
GJL
36982014-10-22 Georg-Johann Lay <avr@gjlay.de>
3699
3700 * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
3701 introduced with 2014-10-21 trunk r216525.
3702
c1dd9790 37032014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
7d296953
JJ
3704 Vidya Praveen <vidya.praveen@atmel.com>
3705 Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
3706 Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
3707 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
c1dd9790
JR
3708
3709 * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
3710 order.
3711
3712 Updated library functions for AVRTINY arch.
3713 * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
3714 Replaced occurrences of r0/r1 with tmp/zero reg macros.
3715 Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
3716 or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
3717 wsubi/wadi macors.
3718 (__mulsi3_helper): Update stack, preserve callee saved regs and
3719 argument from stack. Restore callee save registers.
3720 (__mulpsi3): Likewise.
3721 (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
3722 __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
18a3415e 3723 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
c1dd9790
JR
3724 AVRTINY.
3725 (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
3726 (__do_copy_data): Added new definition for AVRTINY.
3727 (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
3728 (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
3729 __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
3730 * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
3731 tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
3732 macors.
18a3415e 3733 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
c1dd9790
JR
3734 AVRTINY.
3735
18a3415e 3736 Fix broken long multiplication on tiny arch.
c1dd9790 3737
5f606431
JM
37382014-10-09 Joseph Myers <joseph@codesourcery.com>
3739
3740 * soft-fp/double.h: Update from glibc.
3741 * soft-fp/eqdf2.c: Likewise.
3742 * soft-fp/eqsf2.c: Likewise.
3743 * soft-fp/eqtf2.c: Likewise.
3744 * soft-fp/extenddftf2.c: Likewise.
3745 * soft-fp/extended.h: Likewise.
3746 * soft-fp/extendsfdf2.c: Likewise.
3747 * soft-fp/extendsftf2.c: Likewise.
3748 * soft-fp/extendxftf2.c: Likewise.
3749 * soft-fp/gedf2.c: Likewise.
3750 * soft-fp/gesf2.c: Likewise.
3751 * soft-fp/getf2.c: Likewise.
3752 * soft-fp/ledf2.c: Likewise.
3753 * soft-fp/lesf2.c: Likewise.
3754 * soft-fp/letf2.c: Likewise.
3755 * soft-fp/op-1.h: Likewise.
3756 * soft-fp/op-2.h: Likewise.
3757 * soft-fp/op-4.h: Likewise.
3758 * soft-fp/op-8.h: Likewise.
3759 * soft-fp/op-common.h: Likewise.
3760 * soft-fp/quad.h: Likewise.
3761 * soft-fp/single.h: Likewise.
3762 * soft-fp/soft-fp.h: Likewise.
3763 * soft-fp/unorddf2.c: Likewise.
3764 * soft-fp/unordsf2.c: Likewise.
3765 * soft-fp/unordtf2.c: Likewise.
3766 * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
3767 * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
3768 * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
3769 * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
3770 * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
3771 * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
3772 * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
3773 * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
3774 * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
3775 * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
3776
9b84e7a8
RX
37772014-10-08 Rong Xu <xur@google.com>
3778
3779 * libgcov-util.c (read_gcda_file): Fix format.
3780 (find_match_gcov_info): Ditto.
3781 (calculate_2_entries): New.
3782 (compute_one_gcov): Ditto.
3783 (gcov_info_count_all_cold): Ditto.
3784 (gcov_info_count_all_zero): Ditto.
3785 (extract_file_basename): Ditto.
3786 (get_file_basename): Ditto.
3787 (set_flag): Ditto.
3788 (matched_gcov_info): Ditto.
3789 (calculate_overlap): Ditto.
3790 (gcov_profile_overlap): Ditto.
3791 * libgcov-driver.c (compute_summary): Make
3792 it avavilable for external calls.
3793
fe1090c1
RX
37942014-10-06 Rong Xu <xur@google.com>
3795
3796 * Makefile.in: Ditto.
3797 * libgcov-driver.c (gcov_sort_n_vals): New utility function.
3798 (gcov_sort_icall_topn_counter): Ditto.
3799 (gcov_sort_topn_counter_arrays): Ditto.
3800 (dump_one_gcov): Sort indirect_call topn counters.
3801 * libgcov-merge.c (__gcov_merge_icall_topn): New merge
3802 function.
3803 * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
3804 utility function.
3805 (__gcov_indirect_call_topn_profiler): New profiler function.
3806 * libgcov-util.c (__gcov_icall_topn_counter_op): New.
3807 * libgcov.h: New decls.
3808
3daa7bbf
TS
38092014-10-04 Trevor Saunders <tsaunders@mozilla.com>
3810
3811 * config.host: Remove support for score-*.
3812
9a79452d
JM
38132014-09-22 Joseph Myers <joseph@codesourcery.com>
3814
3815 * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
3816 (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
3817 (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
3818 __LIBGCC_XF_MANT_DIG__.
3819 (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
3820 (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
3821 __LIBGCC_TF_MANT_DIG__.
3822 * libgcc2.c (NOTRUNC): Define in terms of
3823 __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
3824 * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
3825
1a849e50
JM
38262014-09-22 Joseph Myers <joseph@codesourcery.com>
3827
3828 PR target/63312
3829 * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
3830 New macros.
3831
598a1586
HPN
38322014-09-22 Hans-Peter Nilsson <hp@axis.com>
3833
3834 * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
3835 override USE_PT_GNU_EH_FRAME.
3836 [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
3837 check USE_EH_FRAME_REGISTRY_ALWAYS against
3838 __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
3839 * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
3840 variable for substituted force_explicit_eh_registry.
3841 (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
3842 * configure.ac (explicit-exception-frame-registration):
3843 New AC_ARG_ENABLE.
3844 * configure: Regenerate.
3845
3a8fe7c6
OH
38462014-09-19 Olivier Hainque <hainque@adacore.com>
3847
3848 * config.host (powerpc-wrs-vxworksmils): New configuration,
3849 same as vxworksae.
3850
dd69f047
JM
38512014-09-18 Joseph Myers <joseph@codesourcery.com>
3852
3853 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
3854
e770bfd9
JM
38552014-09-18 Joseph Myers <joseph@codesourcery.com>
3856
3857 * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
3858 bits not set bits as indicating trapping exceptions.
3859
cadb2b96
NS
38602014-09-17 Nathan sidwell <nathan@acm.org>
3861
3862 * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
3863 (LIBGCOV_DRIVER): ... here.
3864 * libgcov-driver.c (gcov_master): New.
3865 (gcov_exit): Remove from master chain.
3866 (__gcov_init): Add to master chain if version compatible. Don't
3867 clear the version.
3868 * libgcov_interface (__gcov_flust): Call gcov_dump_int.
3869 (gcov_reset_int): Clear master chain, if compatible.
3870 (gcov_dump_int): New internal interface. Dump master chain, if
3871 compatible.
3872 (gcov_dump): Alias for gcov_dump_int.
3873 * libgcov.h (struct gcov_root): Add next and prev fields.
3874 (struct gcov_master): New struct.
3875 (__gcov_master): New.
3876 (gcov_dump_int): Declare.
3877
580d22a3
OH
38782014-09-17 Olivier Hainque <hainque@adacore.com>
3879
3880 * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
3881 and crtbegin.o + crtend.o to extra_parts.
3882
8cc4b7a2
JM
38832014-09-12 Joseph Myers <joseph@codesourcery.com>
3884
3885 * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
3886 __LIBGCC_HAS_SF_MODE__.
3887 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
3888 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
3889 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
3890 * config/libbid/bid_gcc_intrinsics.h
3891 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
3892 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
3893 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
3894 * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
3895 (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
3896 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
3897
ea3f2b24
GJL
38982014-09-11 Georg-Johann Lay <avr@gjlay.de>
3899
3900 PR target/63223
3901 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
3902 and R24 as needed. Make work for all devices and .text locations.
3903 (__do_global_ctors, __do_global_dtors): Use word addresses.
3904 (__tablejump__, __tablejump_elpm__): Remove functions.
3905 * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
3906 Add _tablejump2.
3907 (XICALL, XIJMP): New macros.
3908
b677236a
MS
39092014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
3910 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
3911
3912 * config.host (aarch64*): Include crtfastmath.o and
3913 t-crtfm.
3914 * config/aarch64/crtfastmath.c: New file.
3915
157e859f
TS
39162014-09-08 Trevor Saunders <tsaunders@mozilla.com>
3917
3918 * config.host: Remove picochip support.
3919 * config/picochip/adddi3.S: Remove.
3920 * config/picochip/ashlsi3.S: Remove.
3921 * config/picochip/ashlsi3.c: Remove.
3922 * config/picochip/ashrsi3.S: Remove.
3923 * config/picochip/ashrsi3.c: Remove.
3924 * config/picochip/clzsi2.S: Remove.
3925 * config/picochip/cmpsi2.S: Remove.
3926 * config/picochip/divmod15.S: Remove.
3927 * config/picochip/divmodhi4.S: Remove.
3928 * config/picochip/divmodsi4.S: Remove.
3929 * config/picochip/lib1funcs.S: Remove.
3930 * config/picochip/longjmp.S: Remove.
3931 * config/picochip/lshrsi3.S: Remove.
3932 * config/picochip/lshrsi3.c: Remove.
3933 * config/picochip/parityhi2.S: Remove.
3934 * config/picochip/popcounthi2.S: Remove.
3935 * config/picochip/setjmp.S: Remove.
3936 * config/picochip/subdi3.S: Remove.
3937 * config/picochip/t-picochip: Remove.
3938 * config/picochip/ucmpsi2.S: Remove.
3939 * config/picochip/udivmodhi4.S: Remove.
3940 * config/picochip/udivmodsi4.S: Remove.
3941
66bb34c0
JM
39422014-09-08 Joseph Myers <joseph@codesourcery.com>
3943
3944 * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
3945 (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
3946 (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
3947 (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
3948 * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
3949 error if not defined and LIBGCC2_HAS_SF_MODE is defined.
3950 (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
3951 defined and LIBGCC2_HAS_DF_MODE is defined.
3952 (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
3953 defined and LIBGCC2_HAS_XF_MODE is defined.
3954 (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
3955 defined and LIBGCC2_HAS_TF_MODE is defined.
3956
9686a2e6
JM
39572014-09-08 Joseph Myers <joseph@codesourcery.com>
3958
3959 * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
3960 and ROUND_TOWARDS_ZERO conditionals.
3961
71c3e2ef
NS
39622014-09-07 Nathan sidwell <nathan@acm.org>
3963
3964 * libgcov-interface.c (STRONG_ALIAS): Rename to ...
3965 (ALIAS_weak): ... here. Use forwarding function. Adjust uses.
3966
53d68b9f
JM
39672014-09-05 Joseph Myers <joseph@codesourcery.com>
3968
3969 * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
3970 * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
3971 uses to __LIBGCC_STACK_POINTER_REGNUM__.
3972 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
3973 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3974 * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
3975 Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3976 * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
3977 uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
3978 (DWARF_FRAME_REGISTERS): Change all uses to
3979 __LIBGCC_DWARF_FRAME_REGISTERS__.
3980 (EH_RETURN_STACKADJ_RTX): Change all uses to
3981 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
3982 * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
3983 __LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
3984 * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
3985 use to __LIBGCC_EH_FRAME_SECTION_NAME__.
3986 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
3987 * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
3988 to __LIBGCC_EH_FRAME_SECTION_NAME__.
3989 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
3990 * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
3991 __LIBGCC_STACK_POINTER_REGNUM__.
3992 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
3993 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3994 * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
3995 to __LIBGCC_STACK_POINTER_REGNUM__.
3996 * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
3997 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3998 * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
3999 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4000 * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
4001 Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4002 (STACK_POINTER_REGNUM): Change all uses to
4003 __LIBGCC_STACK_POINTER_REGNUM__.
4004 * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
4005 use to __LIBGCC_STACK_POINTER_REGNUM__.
4006 * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
4007 uses to __LIBGCC_STACK_POINTER_REGNUM__.
4008 * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
4009 to __LIBGCC_DWARF_FRAME_REGISTERS__.
4010 * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
4011 to __LIBGCC_DWARF_FRAME_REGISTERS__.
4012 * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
4013 to __LIBGCC_STACK_POINTER_REGNUM__.
4014 * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
4015 Remove conditional definition.
4016 * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
4017 __LIBGCC_TEXT_SECTION_ASM_OP__.
4018 (EH_FRAME_SECTION_NAME): Change all uses to
4019 __LIBGCC_EH_FRAME_SECTION_NAME__.
4020 (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
4021 __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
4022 (CTORS_SECTION_ASM_OP): Change all uses to
4023 __LIBGCC_CTORS_SECTION_ASM_OP__.
4024 (DTORS_SECTION_ASM_OP): Change all uses to
4025 __LIBGCC_DTORS_SECTION_ASM_OP__.
4026 (JCR_SECTION_NAME): Change all uses to
4027 __LIBGCC_JCR_SECTION_NAME__.
4028 (INIT_SECTION_ASM_OP): Change all uses to
4029 __LIBGCC_INIT_SECTION_ASM_OP__.
4030 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
4031 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
4032 * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
4033 __LIBGCC_STACK_GROWS_DOWNWARD__.
4034 * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
4035 __LIBGCC_INIT_SECTION_ASM_OP__.
4036 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
4037 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
4038 (EH_FRAME_SECTION_NAME): Change all uses to
4039 __LIBGCC_EH_FRAME_SECTION_NAME__.
4040 * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
4041 definitions. Change all uses to
4042 __LIBGCC_VTABLE_USES_DESCRIPTORS__.
4043 * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
4044 __LIBGCC_STACK_GROWS_DOWNWARD__.
4045 (DWARF_FRAME_REGISTERS): Change all uses to
4046 __LIBGCC_DWARF_FRAME_REGISTERS__.
4047 (EH_RETURN_STACKADJ_RTX): Change all uses to
4048 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
4049 * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
4050 definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
4051 * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
4052 __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
4053 (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
4054
b20ee094
NS
40552014-09-02 Nathan sidwell <nathan@acm.org>
4056
4057 * libgcov-interface.c (STRONG_ALIAS): New.
4058 (__gcov_flush): Call __gcov_reset_int.
4059 (__gcov_reset): Strong alias for ...
4060 (__gcov_reset_ing): ... this renamed hidden version.
4061 * libgcov.h (__gcov_reset_int): New declaration.
4062
1ac83976
YS
40632014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
4064
25efdb9f
YS
4065 * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
4066 call from here...
4067 * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
4068 (__dso_handle): Define on Cygwin.
4069 * config/i386/t-cygming (crtbeginS.o): New rule.
4070 * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
4071
1ac83976
YS
4072 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
4073 declaration syntax.
4074
c6f9ea3b
SE
40752014-08-13 Steve Ellcey <sellcey@mips.com>
4076
4077 * crtstuff.c: Undef caddr_t.
4078
5b1ea7c5
SE
40792014-08-12 Steve Ellcey <sellcey@mips.com>
4080
4081 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
4082
4303c581
NS
40832014-08-07 Nathan Sidwell <nathan@acm.org>
4084
4085 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
4086 (LIBGCOV_DRIVER): ... to here.
4087 * libgcov.h (gcov_do_dump): New #define.
4088 (struct gcov_root): New.
4089 (__gcov_root): New declaration.
4090 (__gcov_dump_one): Declare.
4091 * libgcov-driver.c (gcov_list, gcov_dump_complete,
4092 run_accounted): Delete.
4093 (gcov_compute_histogram): Add LIST argument, adjust.
4094 (compute_summary): Adjust gcov_compute_histogram call.
4095 (gcov_do_dump): Not hidden, static in libgcov.
4096 (gcov_clear): Move to interface.c.
4097 (__gcov_dump_one): New, broken out of ...
4098 (gcov_exit): ... here. Make static.
4099 (__gcov_root): New.
4100 (__gcov_init): Adjust.
4101 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
4102 declarations.
4103 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
4104 (gcov_clear): Moved from driver.c. Add LIST argument.
4105 (__gcov_reset): Adjust for changed interfaces.
4106 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
4107
23742a9e
RAR
41082014-08-04 Rohit <rohitarulraj@freescale.com>
4109
4110 PR target/60102
4111 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
d406ae47 4112 based on change in SPE high register numbers and 3 HTM registers.
23742a9e 4113
b98a872b
NS
41142014-08-01 Nathan Sidwell <nathan@acm.org>
4115
4116 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
4117 LIBGCOV_INTERFACE): Reformat.
4118 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
4119 IN_GCOV_TOOL.
4120 * libgcov-interface.c: Reformat some comments.
4121 (__gcov_flush_mx): Add declaration. Tidy up definition.
4122
6adaaa1d
AM
41232014-07-31 Alan Modra <amodra@gmail.com>
4124 Peter Bergner <bergner@vnet.ibm.com>
4125
4126 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
4127 (pack_ldouble): New function.
4128 (__gcc_qadd): Use it.
4129 (__gcc_qmul): Likewise.
4130 (__gcc_qdiv): Likewise.
4131 (__gcc_qneg): Likewise.
4132 (__gcc_stoq): Likewise.
4133 (__gcc_dtoq): Likewise.
4134
87cb0c0c
UW
41352014-07-30 J. D. Johnston <jjohnst@us.ibm.com>
4136
4137 * config/s390/tpf-unwind.h: Include <stdbool.h>.
4138 (__tpf_eh_return): Add original return address as second parameter.
4139 Handle cases where unwinder routines were called directly, instead
4140 of from within the C++ library.
4141
19926161
NS
41422014-07-29 Nathan Sidwell <nathan@acm.org>
4143
4144 * libgcov.h: Move renaming of entry points to lib gcov specific
4145 portion.
4146 (gcov_do_dump): New rename.
4147 (gcov_rewrite): Remove inline, make HIDDEN.
4148 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
4149 (gcov_exit_compute_summary): Rename to ...
4150 (compute_summary): ... here. Add LIST argument.
4151 (gcov_exit_merge_gcda): Rename to ...
4152 (merge_one_data): ... here.
4153 (gcov_exit_write_gcda): Rename to ...
4154 (write_one_data): ... here.
4155 (gcov_exit_merge_summary): Rename to ...
4156 (merge_summary): Add RUN_COUNTED argument.
4157 (gcov_exit_dump_gcov): Rename to ...
4158 (dump_one_gcov): Add RUN_COUNTED argument.
4159 (gcov_do_dump): New function, broken out of ...
4160 (gcov_exit): ... here. Call it.
4161
17522262
AG
41622014-07-27 Anthony Green <green@moxielogic.com>
4163
4164 * config.host: Add moxiebox configuration suppport.
4165
6dc33097
NS
41662014-07-27 Nathan Sidwell <nathan@acm.org>
4167
4168 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
4169 (struct gcov_filename): ... here. Include buffer and max length
4170 fields.
4171 (gcov_max_filename): Remove.
4172 (gi_filename): Remove.
4173 (gcov_exit_compute_summary): Compute max filename here.
4174 (gcov_exit_merge_gcda): Add filename parm, adjust.
4175 (gcov_exit_merge_summary): Likewise.
4176 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
4177 (gcov_exit): Likewise.
4178 (__gcov_init): Don't calculate max length here.
4179 * libgcov_util.c (max_filename_len): Remove.
4180 (read_gcda_file): Don't calculate max length here.
4181 (gcov_read_profile_dir): Don't propagate here.
4182 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
4183 struct gcov_filename changes.
4184 (gcov_exit_open_gcda_file): Likewise.
4185
770f687d
NS
41862014-07-25 Nathan Sidwell <nathan@acm.org>
4187
4188 * libgcov-driver.c (set_gcov_dump_complete,
4189 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
4190 functions polluting user's namespace.
4191 (gcov_exit): Set variable directly.
4192 (gcov_clear): Reset variable directly.
4193 * libgcov-interface.c (get_gcov_dymp_complete,
4194 reset_gov_dump_complete): Remove declarations.
4195 (__gcov_reset, __gcov_dump): Don't call them.
4196
fabf71ba
DD
41972014-07-24 DJ Delorie <dj@redhat.com>
4198
4199 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
770f687d
NS
4200 (__gcc_deregister_frame): Move logic to detect deregister function
4201 to ...
4202 (__gcc_register_frame): here, so it's consistent with the register
4203 logic.
fabf71ba 4204
d10ee722
NS
42052014-07-23 Nathan Sidwell <nathan@acm.org>
4206
4207 * libgcov-driver.c (set_gcov_list): Remove.
4208 (gcov_list): Make non-static in GCOV_TOOL.
4209 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
4210
a4137090
JDA
42112014-07-17 John David Anglin <danglin@gcc.gnu.org>
4212
4213 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
4214 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
4215 Don't use SYNC_LOCK_RELEASE for int type.
4216
72602c6c
RB
42172014-07-14 Richard Biener <rguenther@suse.de>
4218
4219 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
4220
d5313205
RX
42212014-07-11 Rong Xu <xur@google.com>
4222
4223 * libgcov-util.c (gcov_max_filename): Fix declartion.
4224
c77556a5
RX
42252014-07-10 Rong Xu <xur@google.com>
4226
4227 Add gcov-tool: an offline gcda profile processing tool
4228 Support.
4229 * libgcov-driver.c (gcov_max_filename): Make available
4230 to gcov-tool.
4231 * libgcov-merge.c (__gcov_merge_add): Replace
4232 gcov_read_counter() with a Macro.
4233 (__gcov_merge_ior): Ditto.
4234 (__gcov_merge_time_profile): Ditto.
4235 (__gcov_merge_single): Ditto.
4236 (__gcov_merge_delta): Ditto.
4237 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
4238 in the utility functions.
4239 (set_fn_ctrs): Utility function for reading gcda files to in-memory
4240 gcov_list object link lists.
4241 (tag_function): Ditto.
4242 (tag_blocks): Ditto.
4243 (tag_arcs): Ditto.
4244 (tag_lines): Ditto.
4245 (tag_counters): Ditto.
4246 (tag_summary): Ditto.
4247 (read_gcda_finalize): Ditto.
4248 (read_gcda_file): Ditto.
4249 (ftw_read_file): Ditto.
4250 (read_profile_dir_init): Ditto.
4251 (gcov_read_profile_dir): Ditto.
4252 (gcov_read_counter_mem): Ditto.
4253 (gcov_get_merge_weight): Ditto.
4254 (merge_wrapper): A wrapper function that calls merging handler.
4255 (gcov_merge): Merge two gcov_info objects with weights.
4256 (find_match_gcov_info): Find the matched gcov_info in the list.
4257 (gcov_profile_merge): Merge two gcov_info object lists.
4258 (__gcov_add_counter_op): Process edge profile counter values.
4259 (__gcov_ior_counter_op): Process IOR profile counter values.
4260 (__gcov_delta_counter_op): Process delta profile counter values.
4261 (__gcov_single_counter_op): Process single profile counter values.
4262 (fp_scale): Callback function for float-point scaling.
cc86234f 4263 (int_scale): Callback function for integer fraction scaling.
c77556a5
RX
4264 (gcov_profile_scale): Scaling profile counters.
4265 (gcov_profile_normalize): Normalize profile counters.
4266 * libgcov.h: Add headers and functions for gcov-tool use.
4267 (gcov_get_counter): New.
4268 (gcov_get_counter_target): Ditto.
4269 (struct gcov_info): Make the functions field mutable in gcov-tool
4270 compilation.
4271
5c7dac8a
KT
42722014-06-23 Kai Tietz <ktietz@redhat.com>
4273
4274 PR libgcc/61585
4275 * unwind-seh.c (_Unwind_GetGR): Check for proper
4276 index range.
4277 (_Unwind_SetGR): Likewise.
4278
161c9312
NC
42792014-05-22 Nick Clifton <nickc@redhat.com>
4280
4281 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
4282 -mhwmult=none.
4283
e3f0315f
TJ
42842014-05-22 Teresa Johnson <tejohnson@google.com>
4285
4286 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
4287 include.
4288
dbed5a9b
JM
42892014-05-20 John Marino <gnugcc@marino.st>
4290
4291 * config.host (*-*-dragonfly*): New target.
4292 * crtstuff.c: Make dl_iterate_support generic on *bsd.
4293 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
4294 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
4295 * config/i386/dragonfly-unwind.h: New.
4296
1ec380e5
MR
42972014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
4298
4299 PR libgcc/60166
4300 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
4301 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
4302
54fde020
BE
43032014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
4304
4305 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
4306 implementation.
4307
999db125
GJL
43082014-05-12 Georg-Johann Lay <avr@gjlay.de>
4309
4310 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
4311
cceaf54a
RO
43122014-05-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4313
4314 PR libgcc/61097
4315 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
4316 if --enable-shared.
4317
e3fe9b5b
BE
43182014-04-30 Bernd Edlinger <bernd.edlinger@hotmail.de>
4319
4320 Work around for current cygwin32 build problems.
4321 * config/i386/cygming-crtbegin.c (__register_frame_info,
4322 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
4323 functions only for 64-bit systems.
4324
54cf37e9
RO
43252014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4326
4327 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
4328 (sigill_caught, sigill_hdlr): Remove.
4329
d9f069ab
RO
43302014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4331
4332 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
4333 check.
4334 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
4335 Solaris 9 single-threaded support.
4336 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
4337 Solaris 9 single-threaded support. Add call_user_handler code
4338 sequences.
4339 (sparc_is_sighandler): Likewise.
4340
59976ef8
AK
43412014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4342
4343 * config.host: Append t-floattodi to tmake_file depending on
4344 host_address.
4345
d02bbcf3
JS
43462014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
4347
31466bc0 4348 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
d02bbcf3 4349
c2e7e597
UB
43502014-03-10 Uros Bizjak <ubizjak@gmail.com>
4351
4352 PR libgcc/60472
4353 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
2405e0ea 4354 variable to avoid "array subscript is above array bounds" warnings.
c2e7e597
UB
4355 Use __builtin_expect when checking *jcr_list for NULL.
4356
227a7dc8
RO
43572014-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4358
4359 PR libgcc/59339
4360 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
4361 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
4362 vtv_*.o to extra_parts if enable_vtable_verify.
4363
df2b279c
NC
43642014-03-06 Nick Clifton <nickc@redhat.com>
4365
4366 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
4367 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
4368
dc11d79b
JY
43692014-02-28 Joey Ye <joey.ye@arm.com>
4370
4371 PR libgcc/60166
4372 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
4373 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
4374 Set to zero.
4375
341c653c
WL
43762014-02-24 Walter Lee <walt@tilera.com>
4377
4378 * config.host: Support "tilegx*" and "tilepro*" triplets.
4379 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
4380 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
4381
95ce7613
CLT
43822014-02-20 Sandra Loosemore <sandra@codesourcery.com>
4383 Chung-Lin Tang <cltang@codesourcery.com>
4384
4385 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
4386 * config/nios2/crti.S: Remove .file directive.
4387 * config/nios2/crtn.S: Likewise.
4388
0bb4fc05
KT
43892014-02-18 Kai Tietz <ktietz@redhat.com>
4390 Jonathan Schleifer <js@webkeks.org>
4391
4392 PR objc/56870
4393 * unwind-seh.c (_GCC_specific_handler): Pass proper
4394 value to unwind-handler.
4395
9acf28f1
JM
43962014-02-12 Joseph Myers <joseph@codesourcery.com>
4397
4398 * soft-fp/adddf3.c: Update from glibc.
4399 * soft-fp/addsf3.c: Likewise.
4400 * soft-fp/addtf3.c: Likewise.
4401 * soft-fp/divdf3.c: Likewise.
4402 * soft-fp/divsf3.c: Likewise.
4403 * soft-fp/divtf3.c: Likewise.
4404 * soft-fp/double.h: Likewise.
4405 * soft-fp/eqdf2.c: Likewise.
4406 * soft-fp/eqsf2.c: Likewise.
4407 * soft-fp/eqtf2.c: Likewise.
4408 * soft-fp/extenddftf2.c: Likewise.
4409 * soft-fp/extended.h: Likewise.
4410 * soft-fp/extendsfdf2.c: Likewise.
4411 * soft-fp/extendsftf2.c: Likewise.
4412 * soft-fp/extendxftf2.c: Likewise.
4413 * soft-fp/fixdfdi.c: Likewise.
4414 * soft-fp/fixdfsi.c: Likewise.
4415 * soft-fp/fixdfti.c: Likewise.
4416 * soft-fp/fixsfdi.c: Likewise.
4417 * soft-fp/fixsfsi.c: Likewise.
4418 * soft-fp/fixsfti.c: Likewise.
4419 * soft-fp/fixtfdi.c: Likewise.
4420 * soft-fp/fixtfsi.c: Likewise.
4421 * soft-fp/fixtfti.c: Likewise.
4422 * soft-fp/fixunsdfdi.c: Likewise.
4423 * soft-fp/fixunsdfsi.c: Likewise.
4424 * soft-fp/fixunsdfti.c: Likewise.
4425 * soft-fp/fixunssfdi.c: Likewise.
4426 * soft-fp/fixunssfsi.c: Likewise.
4427 * soft-fp/fixunssfti.c: Likewise.
4428 * soft-fp/fixunstfdi.c: Likewise.
4429 * soft-fp/fixunstfsi.c: Likewise.
4430 * soft-fp/fixunstfti.c: Likewise.
4431 * soft-fp/floatdidf.c: Likewise.
4432 * soft-fp/floatdisf.c: Likewise.
4433 * soft-fp/floatditf.c: Likewise.
4434 * soft-fp/floatsidf.c: Likewise.
4435 * soft-fp/floatsisf.c: Likewise.
4436 * soft-fp/floatsitf.c: Likewise.
4437 * soft-fp/floattidf.c: Likewise.
4438 * soft-fp/floattisf.c: Likewise.
4439 * soft-fp/floattitf.c: Likewise.
4440 * soft-fp/floatundidf.c: Likewise.
4441 * soft-fp/floatundisf.c: Likewise.
4442 * soft-fp/floatunditf.c: Likewise.
4443 * soft-fp/floatunsidf.c: Likewise.
4444 * soft-fp/floatunsisf.c: Likewise.
4445 * soft-fp/floatunsitf.c: Likewise.
4446 * soft-fp/floatuntidf.c: Likewise.
4447 * soft-fp/floatuntisf.c: Likewise.
4448 * soft-fp/floatuntitf.c: Likewise.
4449 * soft-fp/gedf2.c: Likewise.
4450 * soft-fp/gesf2.c: Likewise.
4451 * soft-fp/getf2.c: Likewise.
4452 * soft-fp/ledf2.c: Likewise.
4453 * soft-fp/lesf2.c: Likewise.
4454 * soft-fp/letf2.c: Likewise.
4455 * soft-fp/muldf3.c: Likewise.
4456 * soft-fp/mulsf3.c: Likewise.
4457 * soft-fp/multf3.c: Likewise.
4458 * soft-fp/negdf2.c: Likewise.
4459 * soft-fp/negsf2.c: Likewise.
4460 * soft-fp/negtf2.c: Likewise.
4461 * soft-fp/op-1.h: Likewise.
4462 * soft-fp/op-2.h: Likewise.
4463 * soft-fp/op-4.h: Likewise.
4464 * soft-fp/op-8.h: Likewise.
4465 * soft-fp/op-common.h: Likewise.
4466 * soft-fp/quad.h: Likewise.
4467 * soft-fp/single.h: Likewise.
4468 * soft-fp/soft-fp.h: Likewise.
4469 * soft-fp/subdf3.c: Likewise.
4470 * soft-fp/subsf3.c: Likewise.
4471 * soft-fp/subtf3.c: Likewise.
4472 * soft-fp/truncdfsf2.c: Likewise.
4473 * soft-fp/trunctfdf2.c: Likewise.
4474 * soft-fp/trunctfsf2.c: Likewise.
4475 * soft-fp/trunctfxf2.c: Likewise.
4476 * soft-fp/unorddf2.c: Likewise.
4477 * soft-fp/unordsf2.c: Likewise.
4478 * soft-fp/unordtf2.c: Likewise.
4479 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
4480 macro.
4481 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4482 Likewise.
4483 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4484 Likewise.
4485 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4486 Likewise.
4487 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4488 Likewise.
4489 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4490 Likewise.
4491 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4492 Likewise.
4493 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4494 Likewise.
4495 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4496 Likewise.
4497 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4498 Likewise.
4499 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4500 Likewise.
4501 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4502 Likewise.
4503 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4504 Likewise.
4505 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
4506 Likewise.
4507 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
4508 Likewise.
4509 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4510 Likewise.
4511
ce245ec6
AK
45122014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4513
4514 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
4515 cannot be represented.
4516 * config/s390/32/_fixsfdi.c: Likewise.
4517 * config/s390/32/_fixtfdi.c: Likewise.
4518 * config/s390/32/_fixunsdfdi.c: Likewise.
4519 * config/s390/32/_fixunssfdi.c: Likewise.
4520 * config/s390/32/_fixunstfdi.c: Likewise.
4521
1c51d688
RS
45222014-02-07 Richard Sandiford <rdsandiford@googlemail.com>
4523
4524 * configure.ac (libgcc_cv_mips_hard_float): New.
4525 * configure: Regenerate.
4526 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
4527 t-softfp-sfdf for hard-float targets.
4528 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
4529 (softfp_float_modes, softfp_int_modes, softfp_extensions)
4530 (softfp_truncations, softfp_exclude_libgcc2): New.
4531 * config/t-hardfp: New file.
4532 * config/t-hardfp-sfdf: Likewise.
4533 * config/hardfp.c: Likewise.
4534
bbf391db
AK
45352014-02-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4536
4537 * config.host: Include t-floattodi also for s390x.
4538 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
4539 * config/s390/32/_fixsfdi.c: Likewise.
4540 * config/s390/32/_fixtfdi.c: Likewise.
4541 * config/s390/32/_fixunsdfdi.c: Likewise.
4542 * config/s390/32/_fixunssfdi.c: Likewise.
4543 * config/s390/32/_fixunstfdi.c: Likewise.
4544
91da0481
RO
45452014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4546
4547 PR target/59788
4548 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
4549 (install-libgcc-unwind-map-forbuild): New target.
4550 (all): Depend on install-libgcc-unwind-map-forbuild.
4551 (install-libgcc-unwind-map): New target.
4552 (install): Depend on install-libgcc-unwind-map.
4553
02b67731
SL
45542014-02-02 Sandra Loosemore <sandra@codesourcery.com>
4555
4556 * config/nios2/crti.S (_init): Initialize GOT pointer from
4557 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
4558
1ea0a651
RS
45592014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
4560
4561 * configure.ac: Check __mips64 when setting host_address.
4562 * configure: Regenerate.
4563 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
4564 mips/t-mips64 and t-softfp.
4565 (mips*-*-linux*): Don't add mips/t-tpbit.
4566 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
4567 (DPBIT, DPBIT_CFLAGS): Delete.
4568 * config/mips/sfp-machine.h: New file.
4569 * config/mips/t-mips64: Likewise.
4570 * config/mips/t-softfp-tf: Likewise.
4571 * config/mips/t-tpbit: Delete.
4572
f32b0061
MS
45732014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
4574
4575 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
4576 as long long.
4577
a5420aa4
WL
45782014-01-25 Walter Lee <walt@tilera.com>
4579
4580 * config/tilepro/atomic.c: Include tconfig.h. Don't include
4581 config.h or system.h.
4582 (bool) Define.
4583
24534912
WL
45842014-01-25 Walter Lee <walt@tilera.com>
4585
4586 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
4587 (post_atomic_barrier): Ditto.
4588 (__fetch_and_do): New macro.
4589 (__atomic_fetch_and_do): Use __fetch_and_do.
4590 (__sync_fetch_and_do): New macro.
4591 (__sync_fetch_and_add_4): New function.
4592 (__sync_fetch_and_sub_4): New function.
4593 (__sync_fetch_and_or_4): New function.
4594 (__sync_fetch_and_and_4): New function.
4595 (__sync_fetch_and_xor_4): New function.
4596 (__sync_fetch_and_nand_4): New function.
4597 (__sync_fetch_and_add_8): New function.
4598 (__sync_fetch_and_sub_8): New function.
4599 (__sync_fetch_and_or_8): New function.
4600 (__sync_fetch_and_and_8): New function.
4601 (__sync_fetch_and_xor_8): New function.
4602 (__sync_fetch_and_nand_8): New function.
4603 (__do_and_fetch): New macro.
4604 (__atomic_do_and_fetch): Use __do_and_fetch.
4605 (__sync_do_and_fetch): New macro.
4606 (__sync_add_and_fetch_4): New function.
4607 (__sync_sub_and_fetch_4): New function.
4608 (__sync_or_and_fetch_4): New function.
4609 (__sync_and_and_fetch_4): New function.
4610 (__sync_xor_and_fetch_4): New function.
4611 (__sync_nand_and_fetch_4): New function.
4612 (__sync_add_and_fetch_8): New function.
4613 (__sync_sub_and_fetch_8): New function.
4614 (__sync_or_and_fetch_8): New function.
4615 (__sync_and_and_fetch_8): New function.
4616 (__sync_xor_and_fetch_8): New function.
4617 (__sync_nand_and_fetch_8): New function.
4618 (__sync_exchange_methods): New macro.
4619 (__sync_val_compare_and_swap_4): New function.
4620 (__sync_bool_compare_and_swap_4): New function.
4621 (__sync_lock_test_and_test_4): New function.
4622 (__sync_val_compare_and_swap_8): New function.
4623 (__sync_bool_compare_and_swap_8): New function.
4624 (__sync_lock_test_and_test_8): New function.
4625 (__subword_cmpxchg_body): New macro.
4626 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
4627 (__atomic_compare_exchange_2): Ditto.
4628 (__sync_subword_cmpxchg): New macro.
4629 (__sync_val_compare_and_swap_1): New function.
4630 (__sync_bool_compare_and_swap_1): New function.
4631 (__sync_val_compare_and_swap_2): New function.
4632 (__sync_bool_compare_and_swap_2): New function.
4633 (__atomic_subword): Rename to ...
4634 (__subword): ... New name.
4635 (__atomic_subword_fetch): Use __subword.
4636 (__sync_subword_fetch): New macro.
4637 (__sync_fetch_and_add_1): New function.
4638 (__sync_fetch_and_sub_1): New function.
4639 (__sync_fetch_and_or_1): New function.
4640 (__sync_fetch_and_and_1): New function.
4641 (__sync_fetch_and_xor_1): New function.
4642 (__sync_fetch_and_nand_1): New function.
4643 (__sync_fetch_and_add_2): New function.
4644 (__sync_fetch_and_sub_2): New function.
4645 (__sync_fetch_and_or_2): New function.
4646 (__sync_fetch_and_and_2): New function.
4647 (__sync_fetch_and_xor_2): New function.
4648 (__sync_fetch_and_nand_2): New function.
4649 (__sync_add_and_fetch_1): New function.
4650 (__sync_sub_and_fetch_1): New function.
4651 (__sync_or_and_fetch_1): New function.
4652 (__sync_and_and_fetch_1): New function.
4653 (__sync_xor_and_fetch_1): New function.
4654 (__sync_nand_and_fetch_1): New function.
4655 (__sync_add_and_fetch_2): New function.
4656 (__sync_sub_and_fetch_2): New function.
4657 (__sync_or_and_fetch_2): New function.
4658 (__sync_and_and_fetch_2): New function.
4659 (__sync_xor_and_fetch_2): New function.
4660 (__sync_nand_and_fetch_2): New function.
4661 (__atomic_subword_lock): Use __subword.
4662 (__sync_subword_lock): New macro.
4663 (__sync_lock_test_and_set_1): New function.
4664 (__sync_lock_test_and_set_2): New function.
4665
4d6d3bc5
WL
46662014-01-25 Walter Lee <walt@tilera.com>
4667
4668 * config/tilepro/atomic.c (BIT_OFFSET): Define.
4669 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
4670 (__atomic_subword): Ditto.
4671
cbd9890e
WL
46722014-01-25 Walter Lee <walt@tilera.com>
4673
4674 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
4675 a prefix op argument.
4676 (__atomic_nand_fetch_4): Add prefix op.
4677 (__atomic_nand_fetch_8): Ditto.
4678
7d296953 46792014-01-21 Baruch Siach <barch@tkos.co.il>
800d8bd5
BS
4680
4681 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
4682
46dd1242
L
46832014-01-09 Rong Xu <xur@google.com>
4684
4685 * libgcov-driver.c (this_prg): make it local to save
4686 bss space.
4687 (gcov_exit_compute_summary): Ditto.
4688 (gcov_exit_merge_gcda): Ditto.
4689 (gcov_exit_merge_summary): Ditto.
4690 (gcov_exit_dump_gcov): Ditto.
4691
cc86234f 46922014-01-08 Rong Xu <xur@google.com>
40d6b753
RX
4693
4694 * libgcov-driver.c: Use libgcov.h.
4695 (buffer_fn_data): Use xmalloc instead of malloc.
4696 (gcov_exit_merge_gcda): Ditto.
4697 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
4698 * libgcov.h: New common header files for libgcov-*.h.
4699 * libgcov-interface.c: Use libgcov.h
4700 * libgcov-merge.c: Ditto.
4701 * libgcov-profiler.c: Ditto.
4702 * Makefile.in: Add dependence to libgcov.h
4703
a02e7bdd
JM
47042014-01-02 Joseph Myers <joseph@codesourcery.com>
4705
4706 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
4707 case of small numerator and finite nonzero result.
4708
ac1dca3c
RS
47092014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
4710
4711 Update copyright years
4712
f9030485
RS
47132014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
4714
4715 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
4716 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
4717 config/arc/dp-hack.h, config/arc/fp-hack.h,
4718 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
4719 config/arc/ieee-754/arc600-dsp/divdf3.S,
4720 config/arc/ieee-754/arc600-dsp/divsf3.S,
4721 config/arc/ieee-754/arc600-dsp/muldf3.S,
4722 config/arc/ieee-754/arc600-dsp/mulsf3.S,
4723 config/arc/ieee-754/arc600-mul64/divdf3.S,
4724 config/arc/ieee-754/arc600-mul64/divsf3.S,
4725 config/arc/ieee-754/arc600-mul64/muldf3.S,
4726 config/arc/ieee-754/arc600-mul64/mulsf3.S,
4727 config/arc/ieee-754/arc600/divsf3.S,
4728 config/arc/ieee-754/arc600/mulsf3.S,
4729 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
4730 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
4731 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
4732 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
4733 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
4734 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
4735 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
4736 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
4737 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
4738 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
4739 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
4740 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
4741 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
4742 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
4743 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
4744 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
4745 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
4746 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
4747 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
4748 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
4749 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
4750 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
4751 vtv_start_preinit.c: Use the standard form for the copyright notice.
4752
e430824f
CLT
47532013-12-31 Sandra Loosemore <sandra@codesourcery.com>
4754 Chung-Lin Tang <cltang@codesourcery.com>
4755 Based on patches from Altera Corporation
4756
4757 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
4758 * config/nios2/lib2-nios2.h: New file.
4759 * config/nios2/lib2-divmod-hi.c: New file.
4760 * config/nios2/linux-unwind.h: New file.
4761 * config/nios2/lib2-divmod.c: New file.
4762 * config/nios2/linux-atomic.c: New file.
4763 * config/nios2/t-nios2: New file.
4764 * config/nios2/crti.asm: New file.
4765 * config/nios2/t-linux: New file.
4766 * config/nios2/lib2-divtable.c: New file.
4767 * config/nios2/lib2-mul.c: New file.
4768 * config/nios2/tramp.c: New file.
4769 * config/nios2/crtn.asm: New file.
4770
1879e97f
UB
47712013-12-26 Uros Bizjak <ubizjak@gmail.com>
4772
4773 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
4774 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
4775 from cpuid.h to check vendor signatures.
4776
f4a4bdbb
GG
47772013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
4778
c2e7e597 4779 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
f4a4bdbb
GG
4780 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
4781 (get_amd_cpu): Likewise.
4782
8d2ae544
L
47832013-12-25 H.J. Lu <hongjiu.lu@intel.com>
4784
4785 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
4786 Haswell.
4787
74924838
ASJ
47882013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
4789 H.J. Lu <hongjiu.lu@intel.com>
4790
0bb52f25
L
4791 PR target/59422
4792 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
74924838
ASJ
4793 and AMD_JAGUAR.
4794 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
4795 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
4796 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
4797 FEATURE_XOP and FEATURE_FMA.
4798 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
4799 AMDFAM15H_BDVER3.
4800 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
0bb52f25 4801 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
74924838
ASJ
4802 FEATURE_FMA4 and FEATURE_XOP.
4803
d3c11974
L
48042013-12-23 H.J. Lu <hongjiu.lu@intel.com>
4805
4806 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
4807 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
4808 (get_intel_cpu): Updated.
4809
064c4ff2
ZC
48102013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
4811
4812 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
4813
8b02e720
UB
48142013-12-09 Uros Bizjak <ubizjak@gmail.com>
4815
4816 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
1f71a3c3 4817 instructions when __SSE_MATH__ is defined.
8b02e720 4818
3fa2ccb4
RC
48192013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
4820
4821 * config.host (microblaze-*-rtems*): New.
4822
ecd78fc9
KV
48232013-12-04 Kugan Vivekanandarajah <kuganv@linaro.org>
4824
4825 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
4826 architectures that do not have hardware divide instruction.
4827 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
4828
b21fbbd2
RS
48292013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
4830
4831 * longlong.h: Delete (moved to include/).
4832
b03fb8c9
AZ
48332013-12-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4834
4835 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
4836 of normal number and qNaN to not raise an inexact exception.
4837
3c716922
UB
48382013-11-28 Uros Bizjak <ubizjak@gmail.com>
4839
4840 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
4841
48422013-11-28 Matthew Leach <matthew.leach@arm.com>
cceeb9a9
ML
4843
4844 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
4845 for correct opcodes on BE.
4846
a3458d22
UB
48472013-11-27 Uros Bizjak <ubizjak@gmail.com>
4848
4849 * soft-fp/op-4.h: Update from glibc.
4850
30b8f78b
KV
48512013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
4852
4853 * libgcc2.c (__udivmoddi4): Define new implementation when
4854 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
4855 divide instructions.
4856
82552a29
OE
48572013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
4858
4859 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
4860
80e87457
RO
48612013-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4862
4863 * config/t-softfp (soft-fp-objects-base): New variable.
4864 (soft-fp-objects): Use it.
4865
44178879
DE
48662013-11-23 David Edelson <dje.gcc@gmail.com>
4867 Andrew Dixie <andrewd@gentrack.com>
4868
4869 PR target/33704
4870 * config/rs6000/aixinitfini.c: New file.
4871 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
4872 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
4873 symbols.
4874
e5287671
YR
48752013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
4876
a3458d22 4877 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
e5287671 4878
867c8b03
JH
48792013-11-18 Jan Hubicka <jh@suse.cz>
4880
7f369373
JH
4881 * libgcov-driver.c (run_accounted): Make global level static.
4882 (gcov_exit_merge_summary): Silence warning; do not clear
4883 run_accounted here.
4884 (gcov_exit): Clear it here.
4885
1d0b3334
JH
4886 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
4887 run_accounted.
4888
867c8b03
JH
4889 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
4890 (all_prg, crc32): Remove static vars.
4891 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
4892 all_prg.
4893 (gcov_exit_merge_gcda): Add crc32 parameter.
4894 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
4895 do not account run if it was already accounted.
4896 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
4897 (gcov_exit): Initialize all_prg; update.
4898
66204992
AS
48992013-11-15 Andreas Schwab <schwab@linux-m68k.org>
4900
4901 * configure: Regenerate.
4902
b54214fe
UW
49032013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4904 Alan Modra <amodra@gmail.com>
4905
4906 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
4907 (frob_update_context): Use it.
4908
49092013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4910 Alan Modra <amodra@gmail.com>
4911
4912 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
4913 (trampoline_initial): Provide ELFv2 variant.
4914 (__trampoline_setup): Likewise.
4915
4916 * config/rs6000/linux-unwind.h (frob_update_context): Do not
4917 check for AIX indirect function call sequence if _CALL_ELF == 2.
4918
49192013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4920 Alan Modra <amodra@gmail.com>
4921
4922 * config/rs6000/linux-unwind.h (get_regs): Do not support
4923 old kernel versions if _CALL_ELF == 2.
4924 (frob_update_context): Do not support PLT stub variants only
4925 generated by old linkers if _CALL_ELF == 2.
4926
13e0981a
UW
49272013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4928 Alan Modra <amodra@gmail.com>
4929
4930 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
4931 location of CR save area for 64-bit little-endian systems.
4932
1a80085d
EB
49332013-11-11 Eric Botcazou <ebotcazou@adacore.com>
4934
4935 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
4936 in tmake_file.
4937 * config/arm/t-vxworks: Delete.
4938
cabeea52
KT
49392013-11-10 Kai Tietz <ktietz@redhat.com>
4940
4941 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
4942 Increment load-count on use of LIBGCC_SONAME DLL.
4943 (hmod_libgcc): New static variable to hold handle of
4944 LIBGCC_SONAME DLL.
4945 (__gcc_deregister_frame): Decrement load-count of
4946 LIBGCC_SONAME DLL.
4947
ac088ba1
BRF
49482013-11-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
4949
4950 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
4951 availability.
4952 * configure: Regenerate
4953
d59a8fcc
UB
49542013-11-07 Uros Bizjak <ubizjak@gmail.com>
4955
4956 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
4957 FP_EX_DENORM. Store result to volatile location after SSE division
4958 to close interrupt window. Remove unneeded fwait after x87
4959 division since interrupt window will be closed by emitted fstp.
9de84e84 4960 Rewrite FP_EX_INEXACT handling.
d59a8fcc 4961
9954c743
JM
49622013-11-06 Joseph Myers <joseph@codesourcery.com>
4963
4964 * soft-fp/README: Update.
4965 * soft-fp/adddf3.c: Update from glibc.
4966 * soft-fp/addsf3.c: Likewise.
4967 * soft-fp/addtf3.c: Likewise.
4968 * soft-fp/divdf3.c: Likewise.
4969 * soft-fp/divsf3.c: Likewise.
4970 * soft-fp/divtf3.c: Likewise.
4971 * soft-fp/double.h: Likewise.
4972 * soft-fp/eqdf2.c: Likewise.
4973 * soft-fp/eqsf2.c: Likewise.
4974 * soft-fp/eqtf2.c: Likewise.
4975 * soft-fp/extenddftf2.c: Likewise.
4976 * soft-fp/extended.h: Likewise.
4977 * soft-fp/extendsfdf2.c: Likewise.
4978 * soft-fp/extendsftf2.c: Likewise.
4979 * soft-fp/extendxftf2.c: Likewise.
4980 * soft-fp/fixdfdi.c: Likewise.
4981 * soft-fp/fixdfsi.c: Likewise.
4982 * soft-fp/fixdfti.c: Likewise.
4983 * soft-fp/fixsfdi.c: Likewise.
4984 * soft-fp/fixsfsi.c: Likewise.
4985 * soft-fp/fixsfti.c: Likewise.
4986 * soft-fp/fixtfdi.c: Likewise.
4987 * soft-fp/fixtfsi.c: Likewise.
4988 * soft-fp/fixtfti.c: Likewise.
4989 * soft-fp/fixunsdfdi.c: Likewise.
4990 * soft-fp/fixunsdfsi.c: Likewise.
4991 * soft-fp/fixunsdfti.c: Likewise.
4992 * soft-fp/fixunssfdi.c: Likewise.
4993 * soft-fp/fixunssfsi.c: Likewise.
4994 * soft-fp/fixunssfti.c: Likewise.
4995 * soft-fp/fixunstfdi.c: Likewise.
4996 * soft-fp/fixunstfsi.c: Likewise.
4997 * soft-fp/fixunstfti.c: Likewise.
4998 * soft-fp/floatdidf.c: Likewise.
4999 * soft-fp/floatdisf.c: Likewise.
5000 * soft-fp/floatditf.c: Likewise.
5001 * soft-fp/floatsidf.c: Likewise.
5002 * soft-fp/floatsisf.c: Likewise.
5003 * soft-fp/floatsitf.c: Likewise.
5004 * soft-fp/floattidf.c: Likewise.
5005 * soft-fp/floattisf.c: Likewise.
5006 * soft-fp/floattitf.c: Likewise.
5007 * soft-fp/floatundidf.c: Likewise.
5008 * soft-fp/floatundisf.c: Likewise.
5009 * soft-fp/floatunditf.c: Likewise.
5010 * soft-fp/floatunsidf.c: Likewise.
5011 * soft-fp/floatunsisf.c: Likewise.
5012 * soft-fp/floatunsitf.c: Likewise.
5013 * soft-fp/floatuntidf.c: Likewise.
5014 * soft-fp/floatuntisf.c: Likewise.
5015 * soft-fp/floatuntitf.c: Likewise.
5016 * soft-fp/gedf2.c: Likewise.
5017 * soft-fp/gesf2.c: Likewise.
5018 * soft-fp/getf2.c: Likewise.
5019 * soft-fp/ledf2.c: Likewise.
5020 * soft-fp/lesf2.c: Likewise.
5021 * soft-fp/letf2.c: Likewise.
5022 * soft-fp/muldf3.c: Likewise.
5023 * soft-fp/mulsf3.c: Likewise.
5024 * soft-fp/multf3.c: Likewise.
5025 * soft-fp/negdf2.c: Likewise.
5026 * soft-fp/negsf2.c: Likewise.
5027 * soft-fp/negtf2.c: Likewise.
5028 * soft-fp/op-1.h: Likewise.
5029 * soft-fp/op-2.h: Likewise.
5030 * soft-fp/op-4.h: Likewise.
5031 * soft-fp/op-8.h: Likewise.
5032 * soft-fp/op-common.h: Likewise.
5033 * soft-fp/quad.h: Likewise.
5034 * soft-fp/single.h: Likewise.
5035 * soft-fp/soft-fp.h: Likewise.
5036 * soft-fp/subdf3.c: Likewise.
5037 * soft-fp/subsf3.c: Likewise.
5038 * soft-fp/subtf3.c: Likewise.
5039 * soft-fp/truncdfsf2.c: Likewise.
5040 * soft-fp/trunctfdf2.c: Likewise.
5041 * soft-fp/trunctfsf2.c: Likewise.
5042 * soft-fp/trunctfxf2.c: Likewise.
5043 * soft-fp/unorddf2.c: Likewise.
5044 * soft-fp/unordsf2.c: Likewise.
5045 * soft-fp/unordtf2.c: Likewise.
5046
02ac9503
UB
50472013-11-05 Uros Bizjak <ubizjak@gmail.com>
5048
5049 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
5050 (_FP_MUL_MEAT_D): Ditto.
5051 (_FP_DIV_MEAT_S): Ditto.
5052 (_FP_DIV_MEAT_D): Ditto.
5053 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
5054 t-softfp-sfdf and t-softfp to tmake_file.
5055
61221141
UB
50562013-11-03 Uros Bizjak <ubizjak@gmail.com>
5057
5058 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
5059 * config/i386/crtprec.c: Ditto.
5060
9304f876
CJW
50612013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
5062 Shiva Chen <shiva0217@gmail.com>
5063
5064 * config.host (nds32*-elf*): Add nds32 target.
5065 * config/nds32 : New directory and files.
5066
0e499e75
HPN
50672013-10-16 Hans-Peter Nilsson <hp@axis.com>
5068
5069 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
5070 * config.host (cpu_type) <Setting default>: Add entry for
5071 crisv32-*-*.
5072 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
5073 <crisv32-*-linux*>: Adjust.
5074 * longlong.h: Wrap the whole CRIS section in a single
5075 defined(__CRIS__) conditional. Add comment about add_ssaaaa
5076 and sub_ddmmss.
5077 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
5078 defined.
5079 [__CRIS__] (__umulsidi3): Define.
5080 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
5081 * config/cris/sfp-machine.h: New file.
5082 * config/cris/umulsidi3.S: New file.
5083 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
5084 * config/cris/arit.c (SIGNMULT): New macro.
5085 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
5086 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
5087 saving 3 out of originally 33 cycles from the fastest
5088 path, 3 out of 54 from the medium path and one from the longest
5089 path. Improve comments.
5090
16022041
RS
50912013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
5092
5093 * sync.c: Remove static aliases and define each function directly
5094 under its real name.
5095
69778659
JDA
50962013-10-02 John David Anglin <danglin@gcc.gnu.org>
5097
5098 * config.host (hppa*64*-*-linux*): Define extra_parts.
5099 (hppa*-*-linux*): Likewise.
5100
2deaf8b0
JR
51012013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
5102
5103 * config/arc/crtgend.S: Add 2013 to Copyright years.
5104 * config/arc/gmon/atomic.h: Likewise.
5105 * config/arc/gmon/auxreg.h: Likewise.
5106 * config/arc/gmon/sys/gmon_out.h: Likewise.
5107 * config/arc/gmon/sys/gmon.h: Likewise.
5108 * config/arc/gmon/prof-freq.c: Likewise.
5109 * config/arc/gmon/mcount.c: Likewise.
5110 * config/arc/gmon/prof-freq-stub.S: Likewise.
5111 * config/arc/gmon/gmon.c: Likewise.
5112 * config/arc/gmon/machine-gmon.h: Likewise.
5113 * config/arc/gmon/profil.S: Likewise.
5114 * config/arc/gmon/dcache_linesz.S: Likewise.
5115 * config/arc/crtg.S: Likewise.
5116 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
5117 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
5118 * config/arc/ieee-754/adddf3.S: Likewise.
5119 * config/arc/ieee-754/truncdfsf2.S: Likewise.
5120 * config/arc/ieee-754/fixsfsi.S: Likewise.
5121 * config/arc/ieee-754/gtsf2.S: Likewise.
5122 * config/arc/ieee-754/floatsisf.S: Likewise.
5123 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
5124 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
5125 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
5126 * config/arc/ieee-754/fixdfsi.S: Likewise.
5127 * config/arc/ieee-754/addsf3.S: Likewise.
5128 * config/arc/ieee-754/gesf2.S: Likewise.
5129 * config/arc/ieee-754/floatsidf.S: Likewise.
5130 * config/arc/ieee-754/extendsfdf2.S: Likewise.
5131 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
5132 * config/arc/ieee-754/gtdf2.S: Likewise.
5133 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
5134 * config/arc/ieee-754/uneqdf2.S: Likewise.
5135 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
5136 * config/arc/ieee-754/uneqsf2.S: Likewise.
5137 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
5138 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
5139 * config/arc/ieee-754/eqdf2.S: Likewise.
5140 * config/arc/ieee-754/ordsf2.S: Likewise.
5141 * config/arc/ieee-754/divsf3.S: Likewise.
5142 * config/arc/ieee-754/divdf3.S: Likewise.
5143 * config/arc/ieee-754/floatunsidf.S: Likewise.
5144 * config/arc/ieee-754/orddf2.S: Likewise.
5145 * config/arc/ieee-754/eqsf2.S: Likewise.
5146 * config/arc/ieee-754/gedf2.S: Likewise.
5147 * config/arc/crtn.S: Likewise.
5148 * config/arc/crti.S: Likewise.
5149 * config/arc/t-arc700-uClibc: Likewise.
5150 * config/arc/asm.h: Likewise.
5151 * config/arc/libgcc-excl.ver: Likewise.
5152 * config/arc/t-arc-newlib: Likewise.
5153 * config/arc/divtab-arc700.c: Likewise.
5154 * config/arc/initfini.c: Likewise.
5155 * config/arc/fp-hack.h: Likewise.
5156
c8e318b0
JR
51572013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
5158 Diego Novillo <dnovillo@google.com>
5159
5160 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
a07c5b47
JR
5161 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
5162 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
5163 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
c8e318b0 5164
d38a64b4
JR
51652013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
5166 Brendan Kehoe <brendan@zen.org>
5167 Simon Cook <simon.cook@embecosm.com>
5168
5169 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
5170 * config/arc: New directory.
5171 * longlong.h [__arc__] (umul_ppmm): Remove.
5172 [__arc__] (__umulsidi3): Define.
5173 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
5174 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
5175
dff717d2
JC
51762013-09-17 Jacek Caban <jacek@codeweavers.com>
5177
5178 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
5179 CreateSemaphoreA.
5180 * config/i386/gthr-win32.h: Likewise.
5181
5c0029de
DD
51822013-09-16 DJ Delorie <dj@redhat.com>
5183
844ad6c6 5184 * config/rl78/vregs.h: Add G10 register definitions.
5c0029de
DD
5185 * config/rl78/lib2mul.c: Enable for RL78/G10.
5186 * config/rl78/lib2div.c: Likewise.
5187 * config/rl78/lshrsi3.S: Use vregs.h.
5188 * config/rl78/cmpsi2.S: Likewise.
5189 * config/rl78/trampoline.S: Likewise.
5190 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
5191
ceb2fc49
DD
51922013-09-14 DJ Delorie <dj@redhat.com>
5193 Nick Clifton <nickc@redhat.com>
5194
5195 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
5196 * config/rl78/vregs.h: New.
5197 * config/rl78/signbit.S: New file. Implements signbit function.
5198 * config/rl78/divmodsi.S: New.
5199 * config/rl78/divmodhi.S: New.
5200 * config/rl78/divmodqi.S: New.
5201 * config/rl78/t-rl78: Build them here...
5202 * config/rl78/lib2div.c: ...but not here.
5203
f6a83b4a
DD
52042013-09-12 DJ Delorie <dj@redhat.com>
5205
5206 * config.host (msp*-*-elf): New.
5207 * config/msp430/: New port.
5208
9107b096
IS
52092013-08-18 Iain Sandoe <iain@codesourcery.com>
5210
5211 PR gcov-profile/58127
5212 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
5213 __thread var for emulated TLS.
5214 (__gcov_indirect_call_counters): Likewise.
5215
0f9bde1f 52162013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
61221141 5217 Catherine Moore <clm@codesourcery.com>
7d296953 5218 Richard Sandiford <rdsandiford@googlemail.com>
0f9bde1f
MR
5219
5220 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
5221 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
5222 (CALL_STUB_NO_RET): Likewise.
5223 (CALL_STUB_RET): Likewise.
5224 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
5225 __mips16_ret call/return stub symbols.
5226 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
5227 to tmake_file.
5228
2dc14aac
MR
52292013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
5230
5231 * config.host <mips*-*-linux*>: Remove a stray comment.
5232
748d71f3
JH
52332013-08-10 Jan Hubicka <jh@suse.cz>
5234
5235 Work around binutils PR14342
5236 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
5237 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
5238 (L_gcov_indirect_call_profiler_v2): New.
5239
2fa3d31b
JH
52402013-08-06 Jan Hubicka <jh@suse.cz>
5241
5242 * libgcov.c (__gcov_indirect_call_callee,
5243 __gcov_indirect_call_counters): New global vars.
5244 (__gcov_indirect_call_profiler): replace by ...
5245 (__gcov_indirect_call_profiler_v2) ... this one.
5246
2077db1b
CT
52472013-08-06 Caroline Tice <cmtice@google.com>
5248
d0595b65 5249 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
2077db1b 5250 vtv_start_preinit.o and vtv_end_preinit.o.
d0595b65
CT
5251 * configure.ac: Add code to check/set enable_vtable_verify.
5252 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
2077db1b 5253 true.
d0595b65
CT
5254 * vtv_start_preinit.c: New file.
5255 * vtv_end_preinit.c: New file.
5256 * vtv_start.c: New file.
5257 * vtv_end.c: New file.
5258 * configure: Regenerated.
2077db1b 5259
46549c20
MK
52602013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
5261
5262 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
5263 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
5264 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
5265 GPL-3.0-with-GCC-exception.
5266
72be589b
MR
52672013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
5268
5269 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
5270 ISA and up.
5271
902a3faf
AK
52722013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5273
5274 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
5275 mapping for FPRs when creating the fallback framestate.
5276
02371798
GJL
52772013-07-19 Georg-Johann Lay <avr@gjlay.de>
5278
5279 PR target/57516
5280 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
5281 (__round_s2_const, __round_u2_const)
5282 (__round_s4_const, __round_u4_const, __round_x8):
5283 Saturate result if addition result cannot be represented.
5284
ab0e8379
MK
52852013-07-15 Matthias Klose <doko@ubuntu.com>
5286
5287 * libgcc2.c: Don't include <limits.h>.
5288
7da38058
JJ
52892013-07-09 Janis Johnson <janisjo@codesourcery.com>
5290
5291 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
5292
1f6eac90
JJ
52932013-07-06 Jakub Jelinek <jakub@redhat.com>
5294
5295 PR target/29776
5296 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
5297
4ea3d774
JJ
52982013-06-28 Jakub Jelinek <jakub@redhat.com>
5299
5300 PR middle-end/36041
5301 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
5302 Define.
5303 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
5304 instead of table lookups.
5305 (__popcountDI2): Likewise.
5306
9d2cdf25
CJW
53072013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
5308
5309 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
5310 correctly.
5311
fa1e55b0
JM
53122013-06-21 Joseph Myers <joseph@codesourcery.com>
5313
5314 PR other/53317
5315 * soft-fp/adddf3.c: Update from glibc.
5316 * soft-fp/addsf3.c: Likewise.
5317 * soft-fp/addtf3.c: Likewise.
5318 * soft-fp/divdf3.c: Likewise.
5319 * soft-fp/divsf3.c: Likewise.
5320 * soft-fp/divtf3.c: Likewise.
5321 * soft-fp/double.h: Likewise.
5322 * soft-fp/eqdf2.c: Likewise.
5323 * soft-fp/eqsf2.c: Likewise.
5324 * soft-fp/eqtf2.c: Likewise.
5325 * soft-fp/extenddftf2.c: Likewise.
5326 * soft-fp/extended.h: Likewise.
5327 * soft-fp/extendsfdf2.c: Likewise.
5328 * soft-fp/extendsftf2.c: Likewise.
5329 * soft-fp/fixdfdi.c: Likewise.
5330 * soft-fp/fixdfsi.c: Likewise.
5331 * soft-fp/fixsfdi.c: Likewise.
5332 * soft-fp/fixsfsi.c: Likewise.
5333 * soft-fp/fixtfdi.c: Likewise.
5334 * soft-fp/fixtfsi.c: Likewise.
5335 * soft-fp/fixunsdfdi.c: Likewise.
5336 * soft-fp/fixunsdfsi.c: Likewise.
5337 * soft-fp/fixunssfdi.c: Likewise.
5338 * soft-fp/fixunssfsi.c: Likewise.
5339 * soft-fp/fixunstfdi.c: Likewise.
5340 * soft-fp/fixunstfsi.c: Likewise.
5341 * soft-fp/floatdidf.c: Likewise.
5342 * soft-fp/floatdisf.c: Likewise.
5343 * soft-fp/floatditf.c: Likewise.
5344 * soft-fp/floatsidf.c: Likewise.
5345 * soft-fp/floatsisf.c: Likewise.
5346 * soft-fp/floatsitf.c: Likewise.
5347 * soft-fp/floatundidf.c: Likewise.
5348 * soft-fp/floatundisf.c: Likewise.
5349 * soft-fp/floatunditf.c: Likewise.
5350 * soft-fp/floatunsidf.c: Likewise.
5351 * soft-fp/floatunsisf.c: Likewise.
5352 * soft-fp/floatunsitf.c: Likewise.
5353 * soft-fp/gedf2.c: Likewise.
5354 * soft-fp/gesf2.c: Likewise.
5355 * soft-fp/getf2.c: Likewise.
5356 * soft-fp/ledf2.c: Likewise.
5357 * soft-fp/lesf2.c: Likewise.
5358 * soft-fp/letf2.c: Likewise.
5359 * soft-fp/muldf3.c: Likewise.
5360 * soft-fp/mulsf3.c: Likewise.
5361 * soft-fp/multf3.c: Likewise.
5362 * soft-fp/negdf2.c: Likewise.
5363 * soft-fp/negsf2.c: Likewise.
5364 * soft-fp/negtf2.c: Likewise.
5365 * soft-fp/op-1.h: Likewise.
5366 * soft-fp/op-2.h: Likewise.
5367 * soft-fp/op-4.h: Likewise.
5368 * soft-fp/op-8.h: Likewise.
5369 * soft-fp/op-common.h: Likewise.
5370 * soft-fp/quad.h: Likewise.
5371 * soft-fp/single.h: Likewise.
5372 * soft-fp/soft-fp.h: Likewise.
5373 * soft-fp/subdf3.c: Likewise.
5374 * soft-fp/subsf3.c: Likewise.
5375 * soft-fp/subtf3.c: Likewise.
5376 * soft-fp/truncdfsf2.c: Likewise.
5377 * soft-fp/trunctfdf2.c: Likewise.
5378 * soft-fp/trunctfsf2.c: Likewise.
5379 * soft-fp/unorddf2.c: Likewise.
5380 * soft-fp/unordsf2.c: Likewise.
5381 * soft-fp/unordtf2.c: Likewise.
5382 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
5383 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5384 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5385 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5386 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5387 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5388 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5389 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5390 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5391 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
5392 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
5393 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5394
0de86a92
JU
53952013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
5396
5397 * config/mips/lib2funcs.c: New file.
5398 * config/mips/t-mips (LIB2ADD_ST): Add it.
5399
0d008882
OE
54002013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
5401
5402 PR target/6526
5403 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
5404 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
5405
776434d1
WL
54062013-06-08 Walter Lee <walt@tilera.com>
5407
5408 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
5409 Replace int64_t with long long. Add __extension__ where
5410 appropriate.
5411 * config/tilepro/atomic.c: Include config.h.
5412
6ab3ebb4
DR
54132013-06-06 Douglas B Rupp <rupp@adacore.com>
5414
5415 * config.host (arm-wrs-vxworks): Configure with other soft float.
5416
107eea2c
JU
54172013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
5418
5419 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
5420 (mips64r5900el-*-elf*): New configurations.
5421
5cc19c62
AM
54222013-06-04 Alan Modra <amodra@gmail.com>
5423
5424 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
5425
0f1d3965
YR
54262013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
5427
5428 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
5429
0ba045df
EB
54302013-05-28 Eric Botcazou <ebotcazou@adacore.com>
5431
5432 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
5433 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
5434 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
5435
49dcafd4
EB
54362013-05-22 Eric Botcazou <ebotcazou@adacore.com>
5437
5438 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
5439 (powerpc-wrs-vxworks): Likewise.
5440
4fcb5d87
EB
54412013-05-22 Eric Botcazou <ebotcazou@adacore.com>
5442
5443 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
5444 signal frames as well.
5445 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
5446 STACK_BIAS to the CFA offset.
5447
0ec33224
RH
54482013-05-17 Richard Henderson <rth@redhat.com>
5449
5450 PR target/49146
5451 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
5452 (execute_cfa_program): Use it when storing to fs->regs.
5453
492a8029
KT
54542013-05-08 Kai Tietz <ktietz@redhat.com>
5455
5456 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
5457 (__deregister_frame_info): Likewise.
5458
701e2f0a
TS
54592013-05-06 Thomas Schwinge <thomas@codesourcery.com>
5460
e5123d08
TS
5461 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
5462 NaN's payload.
5463
701e2f0a
TS
5464 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
5465
b9a7eb5d
AM
54662013-04-25 Alan Modra <amodra@gmail.com>
5467
5468 * config.host: Match little-endian powerpc-linux.
5469
dfe192f5
YZ
54702013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
5471
5472 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
5473 as 'unsigned long long' instead of 'unsigned long'.
5474 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
5475 'signed long'.
5476
b6b9af2f
JB
54772013-04-10 Julian Brown <julian@codesourcery.com>
5478
5479 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
5480 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
5481 unsigned char/unsigned short.
5482 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
5483
ecabdd00
JDA
54842013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
5485
5486 PR other/55274
5487 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
5488
34652576
MI
54892013-04-04 Meador Inge <meadori@codesourcery.com>
5490
5491 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
5492 computing the location of the link register.
5493 (aeabi_uldivmod): Ditto.
5494
e9fd8c19
KT
54952013-03-27 Kai Tietz <ktietz@redhat.com>
5496
5497 * config.host: Add support for cygwin x64 target.
5498 * configure: Regenerated.
5499
a6406324
WL
55002013-03-26 Walter Lee <walt@tilera.com>
5501
5502 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
5503 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
5504
55446c7e
KT
55052013-03-25 Kai Tietz <ktietz@redhat.com>
5506
5507 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
5508
d2ae19d9
RM
55092013-03-20 Robert Mason <rbmj@verizon.net>
5510
5511 * config/vxlib-tls.c (__gthread_get_tsd_data,)
5512 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
5513 (__gthread_leave_tsd_dtor_context): Add prototypes.
5514 (tls_delete_hook): Update.
5515
22c4c869
CM
55162013-03-20 Catherine Moore <clm@codesourcery.com>
5517 Joseph Myers <joseph@codesourcery.com>
5518 Chao-ying Fu <fu@mips.com>
5519
5520 * config/mips/mips16.S: Don't build for microMIPS.
5521 * config/mips/linux-unwind.h: Handle microMIPS frame.
5522 * config/mips/crtn.S (fini, init): New labels.
5523
fbd28bc3
JJ
55242013-03-14 Jakub Jelinek <jakub@redhat.com>
5525
5526 PR tree-optimization/53265
5527 * unwind-dw2.c (execute_cfa_program): Avoid
5528 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
5529 on targets with DWARF_FRAME_REGISTERS < 32.
5530
decc676e
OE
55312013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
5532
5533 PR target/49880
5534 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
5535 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
5536
84ea618a
ST
55372013-03-07 Sriraman Tallam <tmsriram@google.com>
5538
5539 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
5540 sandybridge processors.
5541
8f6d1c86
OE
55422013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
5543
5544 PR target/56529
5545 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
5546 inclusion list.
5547
ecdbd01a 55482013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
409b1de4
EI
5549
5550 * config/microblaze/crti.S: Setup stack protection at entry
5551
0b4ce21b
GJL
55522013-03-04 Georg-Johann Lay <avr@gjlay.de>
5553
5554 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
5555 (__rotldi3): Shift bytewise if applicable.
5556
b7c3f1ca
JG
55572013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
5558
5559 * config/aarch64/sync-cache.c
5560 (__aarch64_sync_cache_range): Silence warnings.
5561
6d65e8f1
CM
55622013-02-25 Catherine Moore <clm@codesourcery.com>
5563
5564 Revert:
5565 2013-02-24 Catherine Moore <clm@codesourcery.com>
5566 Joseph Myers <joseph@codesourcery.com>
5567 Chao-ying Fu <fu@mips.com>
5568
5569 * config/mips/mips16.S: Don't build for microMIPS.
5570 * config/mips/linux-unwind.h: Handle microMIPS frame.
5571 * config/mips/crtn.S (fini, init): New labels.
5572
6941b508
CM
55732013-02-24 Catherine Moore <clm@codesourcery.com>
5574 Joseph Myers <joseph@codesourcery.com>
5575 Chao-ying Fu <fu@mips.com>
5576
5577 * config/mips/mips16.S: Don't build for microMIPS.
5578 * config/mips/linux-unwind.h: Handle microMIPS frame.
5579 * config/mips/crtn.S (fini, init): New labels.
5580
7c422dbb 55812012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
cc86234f 5582 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
7c422dbb
EI
5583 as dividend.
5584
110207ad
AM
55852013-02-16 Alan Modra <amodra@gmail.com>
5586
5587 PR target/55431
5588 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
5589 (ppc_fallback_frame_state): Always set up save locations for fp
5590 and altivec. Don't bother with non-callee-saved regs, r0-r13
5591 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
5592
e68a4ef6
GJL
55932013-02-12 Georg-Johann Lay <avr@gjlay.de>
5594
5595 PR target/54222
5596 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
5597 _ssmulHA, _ssmulSA.
5598 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
5599 _ssmulha3, _usmulusa3, _ssmulsa3.
5600 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
5601 (__muldi3): XCALL __muldi3_6 instead of rcall.
5602 (__umulsidi3, __mulsidi3): New functions.
5603 (do_prologue_saves, do_epilogue_restores): New .macros.
5604 (__divdi3_moddi3): Use them.
5605 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
5606 (__usmulusa3, __ssmulsa3): New functions.
5607
6c59ffd1
IS
56082013-02-11 Iain Sandoe <iain@codesourcery.com>
5609 Jack Howarth <howarth@bromo.med.uc.edu>
5610 Patrick Marlier <patrick.marlier@gmail.com>
5611
5612 PR libitm/55693
5613 * config/darwin-crt-tm.c: Remove dummy functions hack.
5614
85d768f3
GJL
56152013-02-08 Georg-Johann Lay <avr@gjlay.de>
5616
5617 PR target/54222
5618 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
5619 * config/avr/lib2-object.mk: New iterator to build objects from it.
5620 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
5621 lib2funcs.c.
5622 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
5623 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
5624 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
5625 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
5626 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
5627 * config/avr/lib1funcs-fixed.S: Implement them.
5628
5d5bf775
RS
56292013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
5630
5631 Update copyright years.
5632
99113dff
DE
56332013-02-01 David Edelsohn <dje.gcc@gmail.com>
5634
5635 PR target/54601
5636 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
5637 Add crtcxa to extra_parts.
5638 * config/rs6000/exit.h: New file.
5639 * config/rs6000/cxa_atexit.c: New file.
5640 * config/rs6000/cxa_finalize.c: New file.
5641 * config/rs6000/crtcxa.c: New file.
5642 * config/rs6000/t-aix-cxa: New file.
5643 * config/rs6000/libgcc-aix-cxa.ver: New file.
5644
dbdbd982
NC
56452013-01-31 Nick Clifton <nickc@redhat.com>
5646
5647 * config/v850/lib1funcs.S: Add support for e3v5 architecture
5648 variant.
5649
5893f158
GJL
56502013-01-29 Georg-Johann Lay <avr@gjlay.de>
5651
5652 PR target/54222
5653 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
5654 _mulQQ, _mulHQ, _mulHA, _mulSA,
5655 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
5656 _divQQ, _divHQ, _divHA, _divSA,
5657 _divUQQ, _divUHQ, _divUHA, _divUSA.
5658
ecdbd01a 56592013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
fbf0cf90 5660
dbdbd982 5661 * config.host(microblaze*-linux*): tmake_file: Remove
fbf0cf90
DH
5662 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
5663 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
5664 to exclude functions from being built with libgcc.c and use
5665 the microblaze assembly.
5666
ecdbd01a 56672013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
6f14eef2
EI
5668
5669 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
5670 extra_parts.
5671
922c57d1
YZ
56722013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
5673
5674 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
5675 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
5676 __UINTPTR_TYPE__; also cast 'base' to the same type before the
5677 alignment operation.
5678
e0f8b6a0
SN
56792013-01-15 Sofiane Naci <sofiane.naci@arm.com>
5680
5681 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
5682 loop start address for cache clearing.
5683
00892272
GJL
56842013-01-14 Georg-Johann Lay <avr@gjlay.de>
5685
5686 * config/avr/lib1funcs.S: Remove trailing blanks.
5687 * config/avr/lib1funcs-fixed.S: Ditto.
5688
e59ec5fd
GJL
56892013-01-14 Georg-Johann Lay <avr@gjlay.de>
5690
5691 * config/avr/avr-lib.h: Add GPL copyright notice.
5692
3ffc1958
GJL
56932013-01-14 Georg-Johann Lay <avr@gjlay.de>
5694
5695 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
5696 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
5697 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
5698 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
5699
25c210f9
MK
57002013-01-07 Mark Kettenis <kettenis@openbsd.org>
5701
5702 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
5703 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
2bc15360 5704
db59befb
NC
57052013-01-04 Nick Clifton <nickc@redhat.com>
5706
5707 * config/v850/lib1funcs.S: Only provide CALLT support functions if
5708 the CALLT instruction is supported.
5709
5aa12dbf
JW
57102012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
5711
5712 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
5713 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
5714
65f14117
JT
57152012-12-13 John Tytgat <John@bass-software.com>
5716
5717 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
5718 is 25.
5719
ee3ae4f7
JJ
57202012-12-12 Jakub Jelinek <jakub@redhat.com>
5721
5722 PR libgcc/55451
5723 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
5724 undefined signed overflows.
5725
2fcfba3d
UB
57262012-12-09 Uros Bizjak <ubizjak@gmail.com>
5727
5728 PR target/55344
5729 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
5730
4f2b3dc2
UB
57312012-12-06 Uros Bizjak <ubizjak@gmail.com>
5732
5733 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
5734 (FP_TRAPPING_EXCEPTIONS): Define.
5735 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
5736 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
5737
066161a2
RH
57382012-12-04 Richard Henderson <rth@redhat.com>
5739
5740 PR bootstrap/55571
5741 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
5742
7d296953 57432012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
25626181 5744
4f2b3dc2 5745 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
25626181
MS
5746 (FP_EX_SHIFT): Define.
5747 (FP_TRAPPING_EXCEPTIONS): Define.
5748
7d296953 57492012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
868395e8
MS
5750
5751 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
5752 (FP_ROUNDMODE): Use FP_RND_MASK.
5753 * config/aarch64/sfp-exceptions.c: New.
5754 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
5755 Use __sfp_handle_exceptions.
5756
5005fe22
RE
57572012-12-04 Richard Earnshaw <rearnsha@arm.com>
5758
5759 * config.host: (arm*-*-freebsd*): Remove.
5760 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
5761 (arm*-*-elf*): Remove.
5762 (arm*-*-wince-pe*): Remove.
5763 * arm/unwind-arm.c (struct fpa_reg): Delete.
5764 (struct fpa_regs): Delete.
5765 (phase1_vrs): Remove fpa element.
5766 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
5767 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
5768 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
5769 * ieee754-sf.S (floatundisf): Remove FPA support.
5770 (floatdisf): Likewise.
5771 * ieee75f-df.S (floatundidf): Likewise.
5772 (floatdidf): Likewise.
5773
e5a81c8e
KT
57742012-11-29 Kai Tietz <ktietz@redhat.com>
5775
5776 PR target/55445
5777 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
5778 * unwind-generic.h: Likewise.
5779 * unwind-seh.c: Likewise.
5780
f4919e4a
RH
57812012-11-28 Richard Henderson <rth@redhat.com>
5782
5783 PR libgcc/48076
5784 * emutls.c (__emutls_get_address): Avoid race condition between
5785 obj->loc.offset read and emutls_key initialization.
4f2b3dc2 5786
e13d9d5a
GJL
57872012-11-22 Georg-Johann Lay <avr@gjlay.de>
5788
5789 Adjust decimal point of signed accum mode to GCC default.
5790
5791 PR target/54222
5792 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
5793 _divqq_helper.
5794 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
5795 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
5796 (__mulha3, __mulsa3)
5797 (__divqq3, __divha3, __divsa3): Adjust to new position of
4f2b3dc2
UB
5798 decimal point of signed accum types.
5799
e13d9d5a
GJL
5800 (__mulusa3_round): New function.
5801 (__mulusa3): Use it.
5802 (__divqq_helper): New function.
5803 (__udivuqq3): Use it.
5804
1b845c6e
JJ
58052012-11-20 Jakub Jelinek <jakub@redhat.com>
5806
5807 PR bootstrap/55370
5808 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
5809
822a258a
TJ
58102012-11-18 Teresa Johnson <tejohnson@google.com>
5811
5812 PR bootstrap/55051
5813 * libgcov.c (gcov_exit): Remove merged program summary
5814 comparison unless !GCOV_LOCKED.
5815
7d296953 58162012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
54f4eaf0
MS
5817
5818 * soft-fp: Updated from glibc upstream.
5819
e808687a
ILT
58202012-11-06 Ian Lance Taylor <iant@google.com>
5821
5822 * generic-morestack.c (__generic_morestack): Align the returned
5823 stack pointer to a 32 byte boundary.
5824 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
5825 increment the return address until we have decided that we don't
5826 have a varargs function.
5827 (__morestack) [32-bit]: Align stack correctly when calling C
5828 functions.
5829 (__morestack) [64-bit]: Likewise.
5830
460277e0
TS
58312012-11-04 Thomas Schwinge <thomas@codesourcery.com>
5832
5833 * configure: Regenerate.
5834
73edb277
UB
58352012-11-02 Uros Bizjak <ubizjak@gmail.com>
5836
5837 PR target/55175
5838 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
5839 * config/i386/sfp-machine.h: Guard exception handling
5840 code with _SOFT_FLOAT.
5841 * config/i386/32/sfp-machine.h: Guard rounding handling
5842 code with _SOFT_FLOAT.
5843 * config/i386/64/sfp-machine.h: Ditto.
5844
c1d4fa04
JS
58452012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
5846
5847 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
5848 as extra_parts.
5849
eff6ca85
UB
58502012-10-26 Uros Bizjak <ubizjak@gmail.com>
5851
5852 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
5853 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
5854 when appropriate. Correct structure element types.
5855 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
5856 -minline-all-stringops from compile flags.
5857
7d296953 58582012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
43a8f1a1
RC
5859
5860 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
5861
7d296953 58622012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
76c78361 5863
eff6ca85 5864 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
76c78361 5865
6f288860
SH
58662012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
5867
5868 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
5869 tmake_file.
5870
1e3d5096
IB
58712012-10-23 Ian Bolton <ian.bolton@arm.com>
5872 Jim MacArthur <jim.macarthur@arm.com>
5873 Marcus Shawcroft <marcus.shawcroft@arm.com>
5874 Nigel Stephens <nigel.stephens@arm.com>
5875 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
5876 Richard Earnshaw <rearnsha@arm.com>
5877 Sofiane Naci <sofiane.naci@arm.com>
5878 Stephen Thomas <stephen.thomas@arm.com>
5879 Tejas Belagod <tejas.belagod@arm.com>
5880 Yufeng Zhang <yufeng.zhang@arm.com>
5881
5882 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
5883 * config/aarch64/crti.S: New file.
5884 * config/aarch64/crtn.S: New file.
5885 * config/aarch64/linux-unwind.h: New file.
5886 * config/aarch64/sfp-machine.h: New file.
5887 * config/aarch64/sync-cache.c: New file.
5888 * config/aarch64/t-aarch64: New file.
5889 * config/aarch64/t-softfp: New file.
5890
8a740f07
HPN
58912012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
5892
5893 * config/mmix/crti.S: Mark program and data addresses using PRELD.
5894 Remove typo'd and unnecessary alignment-LOC for .data. Remove
5895 no-longer-needed LDBU insns.
5896
7d296953 58972012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
153c8397
SH
5898
5899 * config.host
5900 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
5901 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
5902
595fefee
MGD
59032012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
5904
5905 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
5906
9945a876
MK
59072012-10-15 Matthias Klose <doko@ubuntu.com>
5908
5909 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
5910
1183dc2c
PC
59112012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
5912
5913 * configure: Regenerate.
5914 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
5915
945a9c1f
UB
59162012-10-10 Uros Bizjak <ubizjak@gmail.com>
5917
5918 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
5919 instructions for 64bit targets only.
5920
fb8bf47a
UB
59212012-10-10 Uros Bizjak <ubizjak@gmail.com>
5922
5923 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
5924 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
5925 * config/i386/32/sfp-machine.h: ... here.
5926 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
5927 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
5928 New defines.
5929
acb72498
MK
59302012-10-07 Matthias Klose <doko@ubuntu.com>
5931
5932 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
5933 as unused.
5934 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
5935
8eaee0f0
MK
59362012-10-06 Mark Kettenis <kettenis@openbsd.org>
5937
5938 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
5939 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
5940 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
5941 (ElfW): Likewise.
5942
5e3e4fe8
JW
59432012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
5944
5945 PR other/53889
5946 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
5947 Fix parameter names.
5948
86086376
OE
59492012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
5950
5951 PR target/33135
5952 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
5953 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
5954 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
5955
9597375a
OE
59562012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
5957
5958 PR target/50457
5959 * config/sh/linux-atomic.S: Delete.
5960 * config/sh/linux-atomic.c: New.
5961 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
5962 linux-atomic.c. Add cflags to disable warnings.
5963
1504e3e1
JW
59642012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
5965
5966 PR other/53889
5967 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
5968 function.
5969 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
5970 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
5971 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
5972 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
5e3e4fe8
JW
5973 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
5974 Likewise.
1504e3e1
JW
5975 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
5976 Likewise.
5977 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
5978 Likewise.
5979 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
5980 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
5981
17f293b0
MK
59822012-09-19 Mark Kettenis <kettenis@openbsd.org>
5983
9597375a
OE
5984 * config.host (hppa-*-openbsd*): New target.
5985 * config/pa/t-openbsd: New file.
17f293b0 5986
51526856
GJL
59872012-09-15 Georg-Johann Lay <avr@gjlay.de>
5988
5989 PR target/54222
5990 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
5991 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
5992 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
5993 (__divsa3): Use __negsi2 to negate r_quoL.
5994 * config/avr/lib1funcs.S (FALIAS): New macro.
5995 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
5996 (__negsi2): ...this new function.
5997 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
5998 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
5999 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
6000 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
6001 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
6002 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
6003
aadb5b43
OE
60042012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
6005
6006 PR target/54089
6007 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
6008 (lshrsi3): Reimplement as lshrsi3_r0.
6009
d5d66749
AS
60102012-09-10 Andreas Schwab <schwab@linux-m68k.org>
6011
6012 PR target/46191
6013 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
6014 of libgcc.a.
6015
c6c36e73
TJ
60162012-09-07 Teresa Johnson <tejohnson@google.com>
6017
9597375a 6018 PR gcov-profile/54487
c6c36e73 6019 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
9597375a 6020 differences.
c6c36e73 6021
b588ae30
GJL
60222012-09-05 Georg-Johann Lay <avr@gjlay.de>
6023
6024 PR target/54461
6025 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
6026 not configured --with-avrlibc=no.
6027 * config/avr/t-avrlibc: New file.
6028 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
6029 (DPBIT_FUNCS): Ditto.
6030 (TPBIT_FUNCS): Ditto.
6031
abd16fb1
TJ
60322012-09-04 Teresa Johnson <tejohnson@google.com>
6033
6034 * libgcov.c (struct gcov_summary_buffer): New structure.
6035 (gcov_histogram_insert): New function.
6036 (gcov_compute_histogram): Ditto.
6037 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
6038 histograms during summary merging.
6039
613061fd
MK
60402012-09-01 Mark Kettenis <kettenis@openbsd.org>
6041
6042 * config.host (x86_64-*-openbsd*): New target.
73edb277 6043
867a8345
CLT
60442012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
6045
6046 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
6047 attribute.
6048
4aeaaca3
GJL
60492012-08-24 Georg-Johann Lay <avr@gjlay.de>
6050
6051 PR target/54222
6052 * config/avr/t-avr (conv_X): Rename to func_X.
6053
e55e4056
GJL
60542012-08-24 Georg-Johann Lay <avr@gjlay.de>
6055
6056 PR target/54222
6057 * config/avr/lib1funcs-fixed.S: New file.
6058 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
6059 after they are used.
6060 (neg2, neg4): New macros.
6061 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
6062 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
6063 (__umulhisi3): Speed up MUL variant if there is enough flash.
6064 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
6065 avr-modes.def.
6066 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
6067 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
6068 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
6069 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
6070 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
6071 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
6072 (LIB2FUNCS_EXCLUDE): Add supported functions.
6073
a147b6d2
GJL
60742012-08-22 Georg-Johann Lay <avr@gjlay.de>
6075
6076 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
6077 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
6078 libgcc-s-objects.
6079 * fixed-obj.mk: Only expand dependency if $o is not in
6080 LIB2FUNCS_EXCLUDE.
6081
c637141a
L
60822012-08-22 H.J. Lu <hongjiu.lu@intel.com>
6083
6084 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
6085
130e00bd
JM
60862012-08-22 Joseph Myers <joseph@codesourcery.com>
6087
6088 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
6089 depend on --enable-shared.
6090 ($(lib1asmfuncs-o)): Use %.vis files independent of
6091 --enable-shared.
6092 * static-object.mk ($(base)$(objext), $(base).vis)
6093 ($(base)_s$(objext)): Use same rules for visibility handling as in
6094 shared-object.mk.
6095
4b1b3788
ILT
60962012-08-21 Ian Lance Taylor <iant@google.com>
6097
6098 * config/i386/morestack.S (__morestack_non_split): Increase amount
6099 of space allocated for non-split code stack.
6100
d2468141
JM
61012012-08-19 Joseph Myers <joseph@codesourcery.com>
6102
6103 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
6104 even if inhibit_libc.
6105
a508e1a8
JB
61062012-08-17 Julian Brown <julian@codesourcery.com>
6107
6108 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
6109 -fexceptions -fnon-call-exceptions if not defined.
6110 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
6111 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
6112
5615a07d
AS
61132012-08-17 Andreas Schwab <schwab@linux-m68k.org>
6114
6115 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
6116 type.
6117
138f5acd
DE
61182012-08-16 David Edelsohn <dje.gcc@gmail.com>
6119
6120 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
6121 rs6000/t-slibgcc-aix.
6122
18efc0dd
SB
61232012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
6124
6125 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
6126
6b39bc38
SB
61272012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
6128
6129 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
6130
cd25dea0
L
61312012-08-03 H.J. Lu <hongjiu.lu@intel.com>
6132
6133 PR driver/54171
6134 * Makefile.in (version): Replace top_srcdir with srcdir.
6135
a3dda30b
JY
61362012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
6137
6138 * Makefile.in (version): set to BASE-VER file from gcc directory.
6139
d04aacfc
NC
61402012-08-01 Nick Clifton <nickc@redhat.com>
6141
6142 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
6143 Implements __clrsb for an HImode argument.
6144
0d13c974
NC
61452012-07-31 Nick Clifton <nickc@redhat.com>
6146
6147 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
6148 Implements __clrsb for an HImode argument.
6149 * config/stormy16/clrsbhi2.c: New file:
6150 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
6151
efbb59b2
SB
61522012-07-22 Steven Bosscher <steven@gcc.gnu.org>
6153
6154 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
6155
bf1431e3
TG
61562012-07-19 Tristan Gingold <gingold@adacore.com>
6157 Richard Henderson <rth@redhat.com>
6158
6159 * unwind-seh.c: New file.
6160 * unwind-generic.h: Include windows.h for SEH.
6161 (_Unwind_Exception): Use 6 private fields for SEH.
6162 (_GCC_specific_handler): Declare.
6163 * unwind-c.c (__gcc_personality_seh0): New function.
6164 Adjust for SEH.
6165 * config/i386/libgcc-cygming.ver: New file.
6166 * config/i386/t-seh-eh: New file.
6167 * config.host (x86_64-*-mingw*): Default to seh.
6168
659140c8
SB
61692012-07-14 Steven Bosscher <steven@gcc.gnu.org>
6170
6171 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
6172
a20d08fd
UB
61732012-06-17 Uros Bizjak <ubizjak@gmail.com>
6174
6175 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
6176 __builtin_expect when checking for exceptions.
6177 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
6178
79261115
UB
61792012-06-13 Uros Bizjak <ubizjak@gmail.com>
6180
4a172156
UB
6181 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
6182 function declaration.
6183 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
6184 (FP_RND_MASK): New.
6185 * config/ia64/sfp-exceptions.c: New.
6186 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
79261115 6187
bb5c97d4
UB
61882012-06-13 Uros Bizjak <ubizjak@gmail.com>
6189
6190 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
6191 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
6192 * config/i386/64/sfp-machine: ... (delete here) ...
6193 * config/i386/sfp-machine.h: ... to here.
6194 (FP_EX_MASK): Remove.
6195 (FP_RND_MASK): New.
6196 (FP_INIT_ROUNDMODE): Declare asm as volatile.
6197
91fe5efb
ST
61982012-06-11 Sriraman Tallam <tmsriram@google.com>
6199
6200 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
6201 * config/i386/libgcc-sol2.ver: Ditto.
6202 * config/i386/libgcc-glibc.ver: Ditto.
6203
67a218c5
RM
62042012-06-11 Roland McGrath <mcgrathr@google.com>
6205
6206 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
6207 If __GLIBC__ is defined, refer to __pthread_key_create instead of
6208 pthread_cancel.
6209
492fbea1
UB
62102012-06-09 Uros Bizjak <ubizjak@gmail.com>
6211
6212 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
6213 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
6214 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
6215 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
6216 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
6217 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
6218 * config/i386/64/sfp-machine: ... (delete here) ...
6219 * config/i386/sfp-machine.h: ... to here.
6220 (FP_EX_MASK): New.
6221 (__sfp_handle_exceptions): New function declaration.
6222 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
6223 * config/i386/sfp-exceptions.c: New.
6224 * config/i386/t-softfp: New.
6225 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
6226 i386/t-softfp to tmake_file.
6227
7b4cf266
DM
62282012-06-03 David S. Miller <davem@davemloft.net>
6229
6230 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
6231 change.
6232
0de0d5c6
DM
62332012-05-31 David S. Miller <davem@davemloft.net>
6234
6235 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
6236 multiply and divide instructions on 32-bit when V9.
6237 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
6238
d8c9d391
JM
62392012-05-29 Joseph Myers <joseph@codesourcery.com>
6240
6241 * config/arm/ieee754-df.S: Fix typos.
6242 * config/arm/ieee754-sf.S: Fix typos.
6243 * config/c6x/libunwind.S: Fix typos.
6244 * config/epiphany/udivsi3-float.c: Fix typos.
6245 * config/microblaze/muldi3_hard.S: Fix typos.
6246 * config/picochip/adddi3.S: Fix typos.
6247 * config/picochip/ashlsi3.S: Fix typos.
6248 * config/picochip/ashrsi3.S: Fix typos.
6249 * config/picochip/clzsi2.S: Fix typos.
6250 * config/picochip/cmpsi2.S: Fix typos.
6251 * config/picochip/divmod15.S: Fix typos.
6252 * config/picochip/divmodhi4.S: Fix typos.
6253 * config/picochip/divmodsi4.S: Fix typos.
6254 * config/picochip/longjmp.S: Fix typos.
6255 * config/picochip/lshrsi3.S: Fix typos.
6256 * config/picochip/parityhi2.S: Fix typos.
6257 * config/picochip/popcounthi2.S: Fix typos.
6258 * config/picochip/setjmp.S: Fix typos.
6259 * config/picochip/subdi3.S: Fix typos.
6260 * config/picochip/ucmpsi2.S: Fix typos.
6261 * config/picochip/udivmodhi4.S: Fix typos.
6262 * config/picochip/udivmodsi4.S: Fix typos.
6263 * config/spu/divv2df3.c: Fix typos.
6264 * config/spu/mfc_multi_tag_release.c: Fix typos.
6265 * config/spu/mfc_tag_release.c: Fix typos.
6266 * configure.ac: Fix typos.
6267 * configure: Regenerate.
6268
31a18a7e
ILT
62692012-05-25 Ian Lance Taylor <iant@google.com>
6270
6271 * config/i386/morestack.S (__morestack_non_split): Check whether
6272 caller is varargs and needs %bp to hold the stack frame on return.
6273
c5768510
OH
62742012-05-25 Olivier Hainque <hainque@adacore.com>
6275
6276 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
6277 sequence in the non pic case on VxWorks.
6278
7c7c339b
OH
62792012-05-24 Olivier Hainque <hainque@adacore.com>
6280
73fb7630 6281 * Makefile.in: Move dependency on install-unwind_h from
7c7c339b
OH
6282 "install-leaf" to "install".
6283
fdc1b7d3
OH
62842012-05-24 Olivier Hainque <hainque@adacore.com>
6285
6286 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
6287 Use a separate command for stamp removals.
6288
07ba94b9
AP
62892012-05-21 Andrew Pinski <apinski@cavium.com>
6290
6291 PR bootstrap/53183
6292 * configure.ac: Define the default includes to being none.
6293 * configure: Regenerate.
6294
4677d2eb
OH
62952012-05-16 Olivier Hainque <hainque@adacore.com>
6296
6297 * Makefile.in (install-unwind_h): Rename into ...
6298 (install-unwind_h-forbuild): New target.
6299 (all): Use it instead of the former install-unwind_h.
6300 (install-unwind_h): Reinstate, copy to user install destination
6301 for include files, not to the internal gcc object directory one.
6302 (install-leaf): Depend on it.
6303
7d67c380
OH
63042012-05-15 Olivier Hainque <hainque@adacore.com>
6305
6306 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
6307 register numbers. LR_REGNO replaces R_LR.
6308 (ucontext_for): New, helper for ...
6309 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
6310 and 5.3 of ...
6311 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
6312
aca06c90
RO
63132012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6314
6315 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
6316 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
6317 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
6318 i386/t-cpuinfo ...
6319 (i[34567]86-*-*, x86_64-*-*): ... here.
6320
6321 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
6322 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
6323
6324 * config/i386/i386-cpuinfo.c: Rename to ...
6325 * config/i386/cpuinfo.c: ... this.
6326 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
6327
6328 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
6329 (libgcc_cv_init_priority): New test.
6330 * configure: Regenerate.
6331 * config.in: New file.
6332 * Makefile.in (clean): Rename config.h to auto-target.h.
6333 (config.h): Likewise.
6334 (stamp-h): Likewise.
6335
6336 * config/i386/cpuinfo.c (auto-target.h): Include.
6337 (CONSTRUCTOR_PRIORITY): Define.
6338 (__cpu_indicator_init): Use it.
6339
0d03ac1b
L
63402012-05-09 H.J. Lu <hongjiu.lu@intel.com>
6341
6342 * longlong.h: Use a URL instead of an FSF postal address.
6343 Replace spaces with tab.
6344
4a172156 63452012-05-08 Teresa Johnson <tejohnson@google.com>
4e8ee9cb
TJ
6346
6347 * libgcov.c (gcov_clear, __gcov_reset): New functions.
6348 (__gcov_dump): Ditto.
6349 (gcov_dump_complete): New global variable.
6350 (gcov_exit): Export hidden to enable use in L_gcov_dump.
6351 (__gcov_flush): Outline functionality now in gcov_clear.
6352 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
6353
e4bb767e
AJ
63542012-04-28 Aurelien Jarno <aurelien@aurel32.net>
6355
31a18a7e
ILT
6356 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
6357 (mips*-*-linux*): Include mips/t-tpbit when long double is
6358 16 bytes long.
e4bb767e 6359
5ddecff9
ST
63602012-04-25 Sriraman Tallam <tmsriram@google.com>
6361
6362 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
6363 (get_available_features): New argument. Check for AVX2.
6364 (__cpu_indicator_init): Modify call to get_available_features.
6365
b427dd7a
AM
63662012-04-25 Alan Modra <amodra@gmail.com>
6367
6368 * config/rs6000/crtsavevr.S: New file.
6369 * config/rs6000/crtrestvr.S: New file.
6370 * config/rs6000/t-savresfgpr: Build the above.
6371 * config/rs6000/t-netbsd: Likewise.
6372
ad491329
ST
63732012-04-24 Sriraman Tallam <tmsriram@google.com>
6374
6375 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
6376
792317cc
ST
63772012-04-24 Sriraman Tallam <tmsriram@google.com>
6378
6379 * libgcc/config/i386/i386-cpuinfo.c: New file.
6380 * libgcc/config/i386/t-cpuinfo: New file.
6381 * libgcc/config.host: Include t-cpuinfo.
6382 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
6383
e1be98a4
CF
63842012-04-24 Chao-ying Fu <fu@mips.com>
6385
6386 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
6387
1bde7dab
TS
63882012-04-20 Thomas Schwinge <thomas@codesourcery.com>
6389
6390 struct siginfo vs. siginfo_t
6391
6392 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
6393 siginfo_t instead of struct siginfo.
6394 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
6395 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
6396 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
6397 (ia64_handle_unwabi): Likewise.
6398 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
6399 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
6400 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
6401 (sh_fallback_frame_state): Likewise.
6402 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
6403 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
6404
24590f66
L
64052012-04-02 H.J. Lu <hongjiu.lu@intel.com>
6406
6407 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
6408 system call number.
6409
9a9dcce8
EB
64102012-03-31 Eric Botcazou <ebotcazou@adacore.com>
6411
6412 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
6413 if it hasn't been previously saved.
6414
6401aaf5
L
64152012-03-29 H.J. Lu <hongjiu.lu@intel.com>
6416
6417 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
6418 only for glibc.
6419
7fd6378e
GJL
64202012-03-28 Georg-Johann Lay <avr@gjlay.de>
6421
6422 PR target/52737
6423 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
6424 instead of __AVR_HAVE_8BIT_SP__.
6425
9e916de7
TG
64262012-03-26 Tristan Gingold <gingold@adacore.com>
6427
6428 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
6429 (unw_table_entry): Use unw_word instead of unsigned long.
6430 (_Unwind_FindTableEntry): Likewise.
6431 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
6432 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
6433 (_Unwind_FindTableEntry): Likewise.
6434 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
6435 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
6436 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
6437 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
6438 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
6439 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
6440 (uw_init_context_1, uw_install_context): Likewise.
6441 (unw_word): Move to unwind-ia64.h
6442
4b12e93d
TG
64432012-03-26 Tristan Gingold <gingold@adacore.com>
6444
6445 * config/vms/vms-ucrt0.c: Update copyright years.
6446 Add a sanity check.
6447 (___gcc_main_flags): Declare.
6448 (__main): Check flags to remap argv and exit code.
6449 * config.host (*-*-*vms*): Adjust extra_parts.
6450 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
6451 (crt0.o): Add.
6452
06ea7371
RE
64532012-03-22 Richard Earnshaw <rearnsha@arm.com>
6454
6455 * arm/lib1funcs.asm (ctzsi2): New function.
6456 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
6457 * arm/t-linux (LIB1ASMFUNCS): Likewise.
6458 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
6459 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
6460 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
6461 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
6462
d82ad50d
AT
64632012-03-21 Andreas Tobler <andreast@fgznet.ch>
6464
6465 * config.host: Add bits to support powerpc64-*-freebsd*.
6466 * config/rs6000/freebsd-unwind.h: New file.
6467 * config/rs6000/t-freebsd64: New file.
6468
b260a8c0
RG
64692012-03-20 Richard Guenther <rguenther@suse.de>
6470
6471 PR gcov-profile/52627
6472 * libgcov.c (init_mx): Fix mutex name.
6473
86286a8a
TG
64742012-03-16 Tristan Gingold <gingold@adacore.com>
6475
6476 * config/ia64/vms-unwind.h: Remove ulong (and replace
6477 it by unw_reg where used). Define unw_reg with __int64.
6478
7888f266
RO
64792012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6480
6481 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
6482 Solaris 8 handling.
6483 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
6484 Solaris 8 handling.
6485 (sparc_is_sighandler): Likewise.
6486
f155bc64
L
64872012-03-13 H.J. Lu <hongjiu.lu@intel.com>
6488
6489 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
6490 <= saved reg size.
6491
d47657bd
RO
64922012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6493
6494 * config/arm/crtn.S: Fix typo.
6495
5bef73a1
RG
64962012-03-13 Richard Guenther <rguenther@suse.de>
6497
6498 * libgcov.c: Remove stdio.h include and NULL un-define.
6499
9c4271f3
RG
65002012-03-13 Richard Guenther <rguenther@suse.de>
6501
6502 PR target/52569
6503 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
6504
c6d10e7c
RG
65052012-03-13 Richard Guenther <rguenther@suse.de>
6506
6507 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
6508
074a385f
RG
65092012-03-13 Richard Guenther <rguenther@suse.de>
6510
6511 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
6512 and __gthread_mutex_init_function definitions.
6513
c4bc5c25
RO
65142012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6515
6516 * config.host (mips*-*-openbsd*): Remove.
6517
5c30094f
RO
65182012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6519
6520 * config.host: Remove alpha*-dec-osf5.1* handling.
6521 * config/alpha/gthr-posix.c: Remove.
6522 * config/alpha/libgcc-osf5.ver: Remove.
6523 * config/alpha/osf5-unwind.h: Remove.
6524 * config/alpha/t-osf-pthread: Remove.
6525 * config/alpha/t-slibgcc-osf: Remove.
6526 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
6527 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
6528 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
6529 * mkmap-flat.awk: Remove osf_export handling.
6530
33e3e24d
RG
65312012-03-12 Richard Guenther <rguenther@suse.de>
6532
6533 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
6534 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
6535 (__gthread_mutex_init_function): New function.
6536 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
6537
6538 PR gcov/49484
6539 * libgcov.c: Include gthr.h.
6540 (__gcov_flush_mx): New global variable.
6541 (init_mx, init_mx_once): New functions.
6542 (__gcov_flush): Protect self with a mutex.
6543 (__gcov_fork): Re-initialize mutex after forking.
6544 * unwind-dw2-fde.c: Change condition under which to use
6545 __GTHREAD_MUTEX_INIT_FUNCTION.
6546
d8aba32a
TG
65472012-03-12 Tristan Gingold <gingold@adacore.com>
6548
6549 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
6550 * config/ia64/t-vms: Likewise.
6551
75ffafdc
MH
65522012-03-11 Michael Hope <michael.hope@linaro.org>
6553
4a172156
UB
6554 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
6555 for Thumb-2.
75ffafdc 6556
ef6c2c53
WL
65572012-03-07 Walter Lee <walt@tilera.com>
6558
6559 * config/tilepro/atomic.c: Rename "atomic_" prefix to
6560 "arch_atomic_".
6561 (atomic_xor): Rename and move definition to
6562 config/tilepro/atomic.h.
6563 (atomic_nand): Ditto.
6564 * config/tilepro/atomic.h: Rename "atomic_" prefix to
6565 "arch_atomic_".
6566 (arch_atomic_xor): Move from config/tilepro/atomic.c.
6567 (arch_atomic_nand): Ditto.
6568
4e30d980
GJL
65692012-03-07 Georg-Johann Lay <avr@gjlay.de>
6570
6571 PR target/52507
6572 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
6573
61108225
GJL
65742012-03-07 Georg-Johann Lay <avr@gjlay.de>
6575
6576 PR target/52505
6577 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
6578 from RAM.
6579
b30e10ab
GJL
65802012-03-07 Georg-Johann Lay <avr@gjlay.de>
6581
6582 PR target/52461
6583 PR target/52508
6584 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
6585 if RAMPZ affects reading from RAM.
6586 (__tablejump_elpm__): Ditto.
6587 (.xload): Ditto.
6588 (__movmemx_hi): Ditto.
6589 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
6590 (__do_global_dtors): Ditto.
6591 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
6592 (__movmemx_hi): Ditto.
6593
8993fde4
RH
65942012-03-05 Richard Henderson <rth@redhat.com>
6595
6596 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
6597 [ARM] (count_trailing_zeros): Use the builtin.
6598
b7633ee3
KT
65992012-03-01 Kai Tietz <ktietz@redhat.com>
6600
6601 * soft-fp: Imported from glibc upstream.
6602
fbd3340c
KT
66032012-02-28 Kai Tietz <ktietz@redhat.com>
6604
6605 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
6606 for mingw-targets as attribute gcc_struct.
6607
e9e053eb
ILT
66082012-02-28 Ian Lance Taylor <iant@google.com>
6609
6610 * generic-morestack.c (__splitstack_releasecontext): Correct call
6611 to __morestack_release_segments.
6612
d80c632e
ST
66132012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
6614
6615 PR target/52390
6616 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
6617 for __linux__ when removing signals from __morestack_fullmask.
6618
0253a8b1
GJL
66192012-02-23 Georg-Johann Lay <avr@gjlay.de>
6620
6621 PR target/52261
6622 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
6623
e10e461e
UW
66242012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6625
6626 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
6627 instead of HAVE_INITFINI_ARRAY.
6628 * config/ia64/crtend.S: Likewise.
6629
0c0c6398
KT
66302012-02-20 Kai Tietz <ktietz@redhat.com>
6631
d7470374
KT
6632 PR libstdc++/52300
6633 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
6634
0c0c6398
KT
6635 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
6636 to w32-unwind.h header.
6637
78c27266
RS
66382012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
6639
6640 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
6641 (mips*-*-linux*): Remove t-slibgcc-libgcc.
6642 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
6643 * config/mips/mips16.S (__mips16_rdhwr): Delete.
6644
5adeb246
RS
66452012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
6646
6647 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
6648
672ed313
IS
66492012-02-15 Iain Sandoe <iains@gcc.gnu.org>
6650
6651 PR libitm/52220
6652 * config/darwin-crt-tm.c: Correct typo.
e9e053eb 6653
e948a1fb
IS
66542012-02-15 Iain Sandoe <iains@gcc.gnu.org>
6655 Patrick Marlier <patrick.marlier@gmail.com>
6656
6657 PR libitm/52220
6658 * config/darwin-crt-tm.c: Generate dummy functions.
6659
6017aed3
IS
66602012-02-15 Iain Sandoe <iains@gcc.gnu.org>
6661 Patrick Marlier <patrick.marlier@gmail.com>
6662
6663 PR libitm/52042
6664 * config/darwin-crt-tm.c (getTMCloneTable): New function.
6665 (__doTMRegistrations): Call it.
e9e053eb 6666 (__doTMdeRegistrations): Likewise.
6017aed3 6667
2da8c1ad 66682012-01-15 Georg-Johann Lay <avr@gjlay.de>
7d296953
JJ
6669 Anatoly Sokolov <aesok@post.ru>
6670 Eric Weddington <eric.weddington@atmel.com>
2da8c1ad
GJL
6671
6672 PR target/52261
6673 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
6674 (__epilogue_restores__): Ditto.
6675
0f952eb4
EB
66762012-02-15 Eric Botcazou <ebotcazou@adacore.com>
6677
6678 PR target/51921
6679 PR target/52205
6680 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
6681 Solaris 11 and slightly reformat.
6682 (sparc_is_sighandler): Likewise.
6683
dd552284
WL
66842012-02-14 Walter Lee <walt@tilera.com>
6685
6686 * config.host: Handle tilegx and tilepro.
6687 * config/tilegx/sfp-machine.h: New file.
6688 * config/tilegx/sfp-machine32.h: New file.
6689 * config/tilegx/sfp-machine64.h: New file.
6690 * config/tilegx/t-crtstuff: New file.
6691 * config/tilegx/t-softfp: New file.
6692 * config/tilegx/t-tilegx: New file.
6693 * config/tilepro/atomic.c: New file.
6694 * config/tilepro/atomic.h: New file.
6695 * config/tilepro/linux-unwind.h: New file.
6696 * config/tilepro/sfp-machine.h: New file.
6697 * config/tilepro/softdivide.c: New file.
6698 * config/tilepro/softmpy.S: New file.
6699 * config/tilepro/t-crtstuff: New file.
6700 * config/tilepro/t-tilepro: New file.
6701
b59cbd50
JW
67022012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
6703
6704 PR libstdc++/51296
6705 PR libstdc++/51906
6706 * gthr-posix.h: Allow static initializer macros to be disabled.
6707 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
6708
6caf807f
CLT
67092012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
6710
6711 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
6712 Add t-slibgcc-libgcc to tmake_file.
6713 * config/mips/libgcc-mips16.ver: Revert previous patch.
6714 * config/mips/mips16.S (__mips16_rdhwr): Hide.
6715
7d296953
JJ
67162012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
6717 Jayant R Sonar <jayant.sonar@kpitcummins.com>
b25364a0
S
6718
6719 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
6720 * config/cr16/crti.S: New file.
6721 * config/cr16/crtlibid.S: New file.
6722 * config/cr16/crtn.S: New file.
6723 * config/cr16/lib1funcs.S: New file.
6724 * config/cr16/t-cr16: New file.
6725 * config/cr16/t-crtlibid: New file.
6726 * config/cr16/unwind-dw2.h: New file.
6727 * config/cr16/unwind-cr16.c: New file.
6728 * config/cr16/divmodhi3.c: New file.
6729
8ef03aa7
AM
67302012-01-25 Alan Modra <amodra@gmail.com>
6731
6732 * config/rs6000/t-linux64: Delete. Move..
6733 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
6734 * config/rs6000/t-linux: ..and libgcc flags to here.
6735
daecebc8
DR
67362012-01-22 Douglas B Rupp <rupp@gnat.com>
6737
6738 * config.host (i[34567]86-*-interix3*):
8ef03aa7 6739 Change triplet to i[34567]86-*-interix[3-9]*.
daecebc8
DR
6740 * configure: Regenerate.
6741
ddaf8125
RS
67422012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
6743 Richard Sandiford <rdsandiford@googlemail.com>
6744
6745 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
6746 * config/mips/mips16.S (__mips16_rdhwr): New function.
6747 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
6748
2cd8b32c
NS
67492012-01-11 Nathan Sidwell <nathan@acm.org>
6750
6751 * libgcov.c (__gcov_init): Ignore objects with no functions.
6752
cba300dd
GJL
67532012-01-10 Georg-Johann Lay <avr@gjlay.de>
6754
6755 PR target/49868
6756 Extend __pgmx semantics to linearize memory.
6757 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
6758 * config/avr/lib1funcs.S (__xload_1): New function.
6759 (__movmemx_qi, __movmemx_hi): New functions.
6760 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
6761 semantics.
9ffaf4bc 6762
3d137660
EB
67632012-01-09 Eric Botcazou <ebotcazou@adacore.com>
6764
6765 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
6766 purported sigacthandler address isn't null before dereferencing it.
6767 (sparc_is_sighandler): Likewise.
6768
bf4db96c
EB
67692012-01-09 Eric Botcazou <ebotcazou@adacore.com>
6770
6771 PR ada/41929
6772 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
6773 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
6774 (sparc_is_sighandler): Likewise.
6775 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
6776
1ab3568b
TG
67772012-01-06 Tristan Gingold <gingold@adacore.com>
6778
6779 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
6780 compatibility thunks...
6781 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
6782 (crtbeginS.o, crtendS.o): ... and these to ...
6783 * config/ia64/t-ia64-elf: ... this new file.
6784 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
6785 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
6786
925b0ed8
AK
67872012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6788
6789 * configure: Regenerate.
6790 * config/s390/t-crtstuff: Remove -fPIC.
6791
a99ad737
JW
67922012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
6793
6794 PR bootstrap/51006
6795 * enable-execute-stack-mprotect.c (getpagesize): Do not define
6796 for NetBSD.
6797
884f56d1
GJL
67982012-01-02 Georg-Johann Lay <avr@gjlay.de>
6799
6800 PR target/51345
6801 * config/avr/lib1funcs.S: Remove FIXME comments.
6802 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
6803
8c57e547
GJL
68042012-01-02 Georg-Johann Lay <avr@gjlay.de>
6805
6806 Implement light-weight DImode support.
6807 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
6808 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
6809 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
6810 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
6811
04dbc287
NS
68122011-12-30 Nathan Sidwell <nathan@acm.org>
6813
6814 * libgcov.c (gcov_crc32): Remove global var.
6815 (free_fn_data): New function.
6816 (buffer_fn_data): Pass in filename, more robust error recovery.
6817 (crc32_unsigned): New function.
6818 (gcov_exit): More robust detection of new program. More robust
6819 error recovery.
6820 (__gcov_init): Do not update program's crc here.
6821
8e1d97d4
TG
68222011-12-21 Tristan Gingold <gingold@adacore.com>
6823
6824 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
6825
9ffaf4bc
ILT
68262011-12-21 Ian Lance Taylor <iant@google.com>
6827
6828 * config/i386/morestack.S: Simplify CFI opcodes throughout.
6829
a0c8d0c1
ILT
68302011-12-20 Ian Lance Taylor <iant@google.com>
6831
6832 * config/i386/morestack.S (__morestack_non_split): If there is
6833 enough stack space already, don't split. Ask for more stack space
6834 than we required.
6835
69048898
SDJ
68362011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
6837
6838 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
6839 `sys/sdt.h'.
6840 (_Unwind_DebugHook): New function.
6841 (uw_restore_core_regs): New define.
6842 (unwind_phase2): Use uw_restore_core_regs instead of
6843 restore_core_regs.
6844 (unwind_phase2_forced): Likewise.
6845 (__gnu_Unwind_Resume): Likewise.
6846
1bb4b6a3
UB
68472011-12-20 Uros Bizjak <ubizjak@gmail.com>
6848
6849 * config/alpha/linux-unwind.h: Update copyright years.
6850 (MD_FROB_UPDATE_CONTEXT): New define.
6851 (alpha_frob_update_context): New function.
6852
eb028768
RS
68532011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
6854
6855 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
6856 tmake_file rather replacing it.
6857
6a2045bf
IS
68582011-12-15 Iain Sandoe <iains@gcc.gnu.org>
6859
6860 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
1bb4b6a3 6861 function is not used for PPC64.
6a2045bf
IS
6862 (save_world): Amend comments. Update the VRsave mask to reflect the
6863 saved regs.
6864 (rest_world): Update comments, do not clobber r10, do not use r8.
6865 (eh_rest_world_r10): Amend comments, do not use r8.
6866 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
6867 no longer used, move restore of CR and target address to the end of
6868 the routine.
6869
a13780a6
L
68702011-12-14 H.J. Lu <hongjiu.lu@intel.com>
6871
6872 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
6873 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
6874
d7288dfb
GJL
68752011-12-14 Georg-Johann Lay <avr@gjlay.de>
6876
6877 PR target/49313
6878 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
6879 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
6880
8d2c862d
EB
68812011-12-11 Eric Botcazou <ebotcazou@adacore.com>
6882
6883 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
6884
3447cae6
GJL
68852011-12-09 Georg-Johann Lay <avr@gjlay.de>
6886
6887 PR target/49313
6888 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
6889 * config/avr/lib1funcs.S (__muldi3): New function.
6890
806fc6aa
AP
68912011-12-06 Andrew Pinski <apinski@cavium.com>
6892
6893 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
6894 size of func_ptr.
6895 (__frame_dummy_init_array_entry): Likewise.
6896
28c5e6b5
GJL
68972011-12-06 Georg-Johann Lay <avr@gjlay.de>
6898
6899 Forward-port from gcc-4_6-branch r181936 2011-12-02.
6900
6901 PR target/51345
6902 PR target/51002
6903 * config/avr/lib1funcs.S (__prologue_saves__,
6904 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
6905 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
6906
8f90394a
IS
69072011-12-04 Iain Sandoe <iains@gcc.gnu.org>
6908
6909 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
6910
06dd33ac
JDA
69112011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
6912
6913 PR other/51272
6914 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
6915 (_ITM_deregisterTMCloneTable): Likewise.
6916 (__register_frame_info): Fix unused warning.
6917 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
6918 pthread_default_stacksize_np): Likewise.
6919 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
1bb4b6a3 6920
85b8555e
DD
69212011-11-29 DJ Delorie <dj@redhat.com>
6922
6923 * config.host (rl78-*-elf): New case.
6924 * config/rl78: New directory for the Renesas RL78.
6925
4d5ae4ea
BS
69262011-11-29 Bernd Schmidt <bernds@codesourcery.com>
6927
6928 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
6929 formatting.
6930
f9c55897
RO
69312011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6932
6933 PR other/51022
6934 * config/rs6000/t-savresfgpr: New file.
6935 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
6936 $(srcdir)/config/rs6000/eabi.S.
6937 * config/rs6000/t-ppccomm-ldbl: Remove.
6938 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
6939 tmake_file.
6940 (powerpc-*-eabispe*): Likewise.
6941 (powerpc-*-eabi*): Likewise.
6942 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
6943 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
6944 to tmake_file, remove rs6000/t-ppccomm-ldbl.
6945 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
6946 tmake_file.
6947 (powerpc-*-eabisim*): Likewise.
6948 (powerpc-*-elf*): Likewise.
6949 (powerpc-*-eabialtivec*): Likewise.
6950 (powerpc-xilinx-eabi*): Likewise.
6951 (powerpc-*-rtems*): Likewise.
6952 (powerpcle-*-elf*): Likewise.
6953 (powerpcle-*-eabisim*): Likewise.
6954 (powerpcle-*-eabi*): Likewise.
6955
a01207c4
ILT
69562011-11-27 Ian Lance Taylor <iant@google.com>
6957
6958 * generic-morestack.c (__splitstack_find): Check for NULL old
6959 stack value.
6960 (__splitstack_resetcontext): New function.
6961 (__splitstack_releasecontext): New function.
6962 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
6963
2b0b8ab2
IS
69642011-11-27 Iain Sandoe <iains@gcc.gnu.org>
6965
6966 * config/darwin-crt-tm.c: Correct comments, use correct licence.
6967
c1d8101c
IS
69682011-11-27 Iain Sandoe <iains@gcc.gnu.org>
6969
6970 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
6971
8b281334
RH
69722011-11-26 Richard Henderson <rth@redhat.com>
6973
6974 * config/m68k/linux-atomic.c: New file.
6975 * config/m68k/t-linux: New file.
6976 * config.host (m68k-uclinux, m68k-linux): Use it.
6977
7546aa9d
RH
69782011-11-26 Richard Henderson <rth@redhat.com>
6979
6980 * crtstuff.c (__TMC_LIST__): Mark used not unused.
6981 (__TMC_END__): Only declare if hidden is available; in the definition,
6982 if hidden is unavailable add a null record.
6983 (deregister_tm_clones, register_tm_clones): New.
6984 (__do_global_dtors_aux, frame_dummy): Use them.
6985 (__do_global_dtors, __do_global_ctors_1): Likewise.
6986
e2362f5d
IS
69872011-11-22 Iain Sandoe <iains@gcc.gnu.org>
6988
6989 * config/darwin-crt-tm.c: New file.
6990 * config.host (darwin): Build crttms.o crttme.o to provide
6991 startup and shutdown for tm clones.
6992 * config/t-darwin (crttms.o): New build rule.
6993 (crttme.o): Likewise.
6994
6685dd96
HPN
69952011-11-21 Hans-Peter Nilsson <hp@axis.com>
6996
6997 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
6998 et al.
6999
b0dc7e4c
RH
70002011-11-21 Richard Henderson <rth@redhat.com>
7001
7002 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
7003 (__TMC_LIST__, __TMC_END__): New.
7004 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
7005 (__do_global_dtors): Likewise.
7006 (frame_dummy): Call _ITM_registerTMCloneTable.
7007 (__do_global_ctors_1): Likewise.
7008
d4b4b542
RO
70092011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7010
7011 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
7012 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
7013 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
7014 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
7015 * config/i386/t-darwin64: Remove.
7016 * config/sh/t-netbsd (LIB2ADD): Remove.
7017
989bdb74
GJL
70182011-11-21 Georg-Johann Lay <avr@gjlay.de>
7019
7020 PR target/49313
7021 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
7022 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
7023 * config/avr/lib1funcs.S (wmov): New assembler macro.
7024 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
7025 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
7026 (__udivmod64): New function.
7027 (__negdi2): New function.
7028
515a0cfc
GP
70292011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
7030
7031 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
7032 *-*-freebsd*aout*): Remove.
7033
0115d17f
HPN
70342011-11-20 Hans-Peter Nilsson <hp@axis.com>
7035
7036 * static-object.mk (c_flags-$o): Save c_flags.
7037 ($(base)$(objext)): Use it.
7038
93aeb62b
SE
70392011-11-18 Steve Ellcey <sje@cup.hp.com>
7040
7041 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
7042
7bc6df2c
GJL
70432011-11-18 Georg-Johann Lay <avr@gjlay.de>
7044
7045 PR target/49868
7046 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
7047 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
7048 New functions.
7049
425d737b
MGD
70502011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
7051
7052 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
7053 functions.
1bb4b6a3 7054 (aeabi_uidivmod): Likewise.
425d737b
MGD
7055 (umodsi3): Likewise.
7056 (divsi3): Likewise.
7057 (aeabi_idivmod): Likewise.
7058 (modsi3): Likewise.
7059
f2a176dc
TG
70602011-11-16 Tristan Gingold <gingold@adacore.com>
7061
7062 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
7063
7c209481
GJL
70642011-11-15 Georg-Johann Lay <avr@gjlay.de>
7065
7066 PR target/49868
7067 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
7068 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
7069
9dfd5832
JDA
70702011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
7071
7072 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
7073 tmake_file list.
7074 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
7075 * config/pa/t-stublib64: Delete.
7076
f77dca5d
RH
70772011-11-12 Richard Henderson <rth@redhat.com>
7078
7079 * config/rs6000/linux-unwind.h (frob_update_context): Properly
7080 cast the pointer argument to _Unwind_SetGRPtr.
7081
902828f0
RO
70822011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7083
7084 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
7085
e14304ef
ILT
70862011-11-09 Ian Lance Taylor <iant@google.com>
7087
7088 * generic-morestack.c: Include <string.h>.
7089 (uintptr_type): Define.
7090 (struct initial_sp): Add dont_block_signals field. Reduce size of
7091 extra array by 1.
7092 (allocate_segment): Set prev field to NULL. Don't set
7093 __morestack_current_segment or __morestack_segments.
7094 (__generic_morestack): Update current->prev and *pp after calling
7095 allocate_segment.
7096 (__morestack_block_signals): Don't do anything if
7097 dont_block_signals is set.
7098 (__morestack_unblock_signals): Likewise.
7099 (__generic_findstack): Check for initial_sp == NULL. Add casts to
7100 uintptr_type.
7101 (__splitstack_block_signals): New function.
7102 (enum __splitstack_content_offsets): Define.
7103 (__splitstack_getcontext, __splitstack_setcontext): New functions.
7104 (__splitstack_makecontext): New function.
7105 (__splitstack_block_signals_context): New function.
7106 (__splitstack_find_context): New function.
7107 * config/i386/morestack.S (__morestack_get_guard): New function.
7108 (__morestack_set_guard, __morestack_make_guard): New functions.
7109 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
7110
e3d871e4
RO
71112011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7112
7113 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
7114 (i[34567]86-*-mingw*): ... here.
7115 (x86_64-*-mingw*): ... here.
7116
e55cef40
RO
71172011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7118
7119 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
7120
5366b186
NS
71212011-11-07 Nathan Sidwell <nathan@acm.org>
7122
7123 * libgcov.c (struct gcov_fn_buffer): New struct.
7124 (buffer_fn_data): New helper.
7125 (gcov_exit): Rework for new gcov data structures.
7126
74155a6f
GJL
71272011-11-07 Georg-Johann Lay <avr@gjlay.de>
7128
7129 PR target/49313
7130 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
7131
200feb07
RO
71322011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7133
7134 * config.host (tmake_file): Correct comment.
7135 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
7136 t-libgcc-pic.
7137 (bfin*-uclinux*): Likewise.
7138 (bfin*-linux-uclibc*): Likewise.
7139 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
7140
7141 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
7142 assigning.
7143 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7144 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
7145 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7146 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
7147 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7148 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
7149 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
7150 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7151 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
7152 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
7153 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
7154 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
7155 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
7156
7157 * config/bfin/t-elf: Remove.
7158 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
7159
c9cd1a07
RO
71602011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7161
7162 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
7163 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
7164 (lm32-*-elf*, lm32-*-rtems*): Split into ...
7165 (lm32-*-elf*): ... this.
7166 (lm32-*-rtems*): ... and this.
7167 Add to tmake_file.
7168 (m32r-*-rtems*): Add to tmake_file.
7169 (moxie-*-rtems*): Likewise.
7170 (sparc-*-rtems*): Likewise.
7171 Remove t-rtems from tmake_file.
7172 (sparc64-*-rtems*): Likewise.
7173 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
7174 instead.
7175
9fbcc75d
RO
71762011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7177
7178 PR bootstrap/50982
7179 * config/gthr-posix.h: Move ...
7180 * gthr-posix.h: ... here.
7181 * config/gthr-lynx.h: Reflect this.
7182 * config/gthr-vxworks.h: Likewise.
7183 * config/rs6000/gthr-aix.h: Likewise.
7184 * configure.ac (target_thread_file): Likewise.
7185 * configure: Regenerate.
7186
76644b68
SH
71872011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
7188
7189 * config.host (arm*-*-rtemseabi*): New target.
7190
5e490f2a
JDA
71912011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
7192
7193 PR other/50991
7194 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
7195 extra-parts.
7196
feeeff5c
JR
71972011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
7198
7199 * config.host (epiphany-*-elf*): New configuration.
7200 * config/epiphany: New Directory.
7201
d618bb2c
RC
72022011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
7203
7204 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
7205 * config/avr/t-rtems: New.
7206 Filter out _exit from LIB1ASMFUNCS.
7207
1bb6f778
DM
72082011-11-04 David S. Miller <davem@davemloft.net>
7209
7210 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
7211 * configure: Rebuild.
7212
9a7f7422
AK
72132011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7214
7215 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
7216 variable.
7217
e4fe948a
GJL
72182011-11-04 Georg-Johann Lay <avr@gjlay.de>
7219
7220 PR target/50931
7221 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
7222 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
7223
7084e037
JS
72242011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
7225
7226 PR target/50989
7227 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
7228
1a032034
RO
72292011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7230
7231 * config/c6x/t-elf (LIB2ADDEH): Set.
7232 * config/c6x/t-c6x-elf: Remove.
7233
d385f772
RO
72342011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7235
7236 * config/i386/sol2-ci.S: Rename to ...
7237 * config/i386/crti.S: ... this.
7238 * config/i386/sol2-cn.S: Rename to ...
7239 * config/i386/crtn.S: ... this.
7240 * config/sparc/sol2-ci.S: Rename to ...
7241 * config/sparc/crti.S: ... this.
7242 * config/sparc/sol2-cn.S: Rename to ...
7243 * config/sparc/crtn.S: ... this.
7244 * config/t-sol2 (CUSTOM_CRTIN): Remove.
7245 (crti.o, crtn.o): Remove.
7246
1ba878a9
TG
72472011-11-04 Tristan Gingold <gingold@adacore.com>
7248
7249 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
7250
02750c15
KK
72512011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
7252
7253 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
7254
bf86b067
HPN
72552011-11-03 Hans-Peter Nilsson <hp@axis.com>
7256
7257 * config.host (crisv32-*-none, cris-*-none): Remove.
7258 (crisv32-*-elf): Append to tmake_file, don't just set it.
7259 (cris-*-elf): Add missing t-fdpbit to tmake_file.
7260
d0bc53bd
RO
72612011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7262
7263 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
7264 (ecrtn$(objext)): Likewise.
7265 (ncrti$(objext)): Likewise.
7266 (ncrtn$(objext)): Likewise.
7267
036da830
AS
72682011-11-03 Andreas Schwab <schwab@redhat.com>
7269
7270 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
7271
d2a7d041
DM
72722011-11-02 David S. Miller <davem@davemloft.net>
7273
7274 * configure.ac: Set host_address on sparc too.
7275 * configure: Regenerate.
7276 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
7277 based upon host_address.
7278 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
7279
af8ed618
JM
72802011-11-02 Jason Merrill <jason@redhat.com>
7281
7282 * config/rs6000/t-ppccomm: Add missing \.
7283
5d1c8e77
RO
72842011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7285
7286 * gthr-single.h, gthr.h: New files.
7287 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
7288 config/gthr-vxworks.h, config/i386/gthr-win32.h,
7289 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
7290 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
7291 * config/i386/gthr-win32.c: Include "gthr-win32.h".
7292 * configure.ac (thread_header): New variable.
7293 Set it depending on target_thread_file.
7294 (gthr-default.h): Link from $thread_header.
7295 * configure: Regenerate.
7296 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
7297
852b75ed
RO
72982011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7299
7300 * configure.ac (tm_file_): New variable.
7301 Determine from tm_file.
7302 (tm_file, tm_defines): Substitute.
7303 * configure: Regenerate.
7304 * mkheader.sh: New file.
7305 * Makefile.in (clean): Remove libgcc_tm.h.
7306 ($(objects)): Depend on libgcc_tm.h.
7307 (libgcc_tm_defines, libgcc_tm_file): New variables.
7308 (libgcc_tm.h, libgcc_tm.stamp): New targets.
7309 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
7310 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
7311 ($(extra-parts)): Depend on libgcc_tm.h.
7312 * config.host (tm_defines, tm_file): New variable.
7313 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
7314 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
7315 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
7316 (avr-*-rtems*): Likewise.
7317 (avr-*-*): Likewise.
7318 (frv-*-elf): Likewise.
7319 (frv-*-*linux*): Likewise.
7320 (h8300-*-rtems*): Likewise.
7321 (h8300-*-elf*): Likewise.
7322 (i[34567]86-*-darwin*): Likewise.
7323 (x86_64-*-darwin*): Likewise.
7324 (rx-*-elf): Likewise.
7325 (tic6x-*-uclinux): Likewise.
7326 (tic6x-*-elf): Likewise.
7327 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
7328 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
7329 * config/i386/cygming-crtbegin.c: Likewise.
7330 * config/i386/cygming-crtend.c: Likewise.
7331 * config/ia64/fde-vms.c: Likewise.
7332 * config/ia64/unwind-ia64.c: Likewise.
7333 * config/libbid/bid_gcc_intrinsics.h: Likewise.
7334 * config/rs6000/darwin-fallback.c: Likewise.
7335 * config/stormy16/lib2funcs.c: Likewise.
7336 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
7337 * crtstuff.c: Likewise.
7338 * dfp-bit.h: Likewise.
7339 * emutls.c: Likewise.
7340 * fixed-bit.c: Likewise.
7341 * fp-bit.c: Likewise.
7342 * generic-morestack-thread.c: Likewise.
7343 * generic-morestack.c: Likewise.
7344 * libgcc2.c: Likewise.
7345 * libgcov.c: Likewise.
7346 * unwind-dw2-fde-dip.c: Likewise.
7347 * unwind-dw2-fde.c: Likewise.
7348 * unwind-dw2.c: Likewise.
7349 * unwind-sjlj.c: Likewise.
7350
f9989b51
RO
73512011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7352
7353 * configure.ac: Include ../config/picflag.m4.
7354 (GCC_PICFLAG): Call it.
7355 Substitute.
7356 * configure: Regenerate.
7357 * Makefile.in (gcc_srcdir): Remove.
7358 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
7359 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
7360 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
7361 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
7362 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
7363 Use $<.
7364 Remove comment.
7365 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
7366 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
7367 to refer to libgcc2.c.
7368 Use $<.
7369 * config/darwin-64.c: New file.
7370 * config/darwin-crt3.c: Remove comment.
7371 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
7372 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
7373 config/udivmodsi4.c: New files.
7374 * config/memcmp.c, config/memcpy.c, config/memmove.c,
7375 config/memset.c: New files.
7376 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
7377 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
7378 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
7379 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
7380 * config/t-openbsd-thread: New file.
7381 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
7382 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
7383 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
7384 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
7385 qrnnd.S.
7386 Adapt filename.
7387 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
7388 to refer to gthr-posix.c.
7389 * config/alpha/t-vms (LIB2ADD): Set.
7390 * config/alpha/vms-gcc_shell_handler.c: New file.
7391 * config/arm/bpabi.c, config/arm/fp16.c,
7392 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
7393 config/arm/unaligned-funcs.c: New files.
7394 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
7395 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
7396 * config/arm/t-linux: Likewise.
7397 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
7398 * config/arm/t-netbsd: New file.
7399 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
7400 * config/arm/t-symbian (LIB2ADD_ST): Set.
7401 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
7402 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7403 * config/bfin/t-elf: New file.
7404 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
7405 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
7406 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
7407 config/c6x/ltf.c: New files.
7408 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
7409 (HOST_LIBGCC2_CFLAGS): Set.
7410 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
7411 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7412 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
7413 New files.
7414 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
7415 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
7416 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
7417 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
7418 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
7419 files.
7420 * config/frv/t-frv (LIB2ADD): Set.
7421 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7422 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
7423 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
7424 config/h8300/popcounthi2.c: New files.
7425 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
7426 * config/i386/gthr-win32.c: New file.
7427 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
7428 * config/i386/t-cygwin: Likewise.
7429 * config/i386/t-darwin, config/i386/t-darwin64,
7430 config/i386/t-gthr-win32, config/i386/t-interix: New files.
7431 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
7432 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7433 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7434 * config/ia64/quadlib.c: New file.
7435 * config/ia64/t-hpux (LIB2ADD): Set.
7436 * config/ia64/t-ia64: Add comment.
7437 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
7438 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7439 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
7440 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
7441 * config/m32c/t-m32c (LIB2ADD): Set.
7442 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
7443 * config/m32r/t-m32r: Likewise.
7444 * config/m68k/fpgnulib.c: New file.
7445 * config/m68k/t-floatlib (LIB2ADD): Set.
7446 (xfgnulib.c): New target.
7447 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
7448 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
7449 * config/mep/t-mep (LIB2ADD): Set.
7450 * config/microblaze/divsi3.asm: Rename to divsi3.S.
7451 * config/microblaze/moddi3.asm: Rename to moddi3.S.
7452 * config/microblaze/modsi3.asm: Rename to modsi3.S.
7453 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
7454 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
7455 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
7456 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
7457 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
7458 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
7459 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
7460 New files.
7461 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
7462 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
7463 * config/pa/fptr.c, config/pa/lib2funcs.S,
7464 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
7465 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
7466 (LIB2ADD, LIB2ADD_ST): Set.
7467 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
7468 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
7469 Set.
7470 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
7471 * config/pdp11/t-pdp11: New file.
7472 * config/picochip/libgccExtras/adddi3.S,
7473 config/picochip/libgccExtras/ashlsi3.S,
7474 config/picochip/libgccExtras/ashrsi3.S,
7475 config/picochip/libgccExtras/clzsi2.S,
7476 config/picochip/libgccExtras/cmpsi2.S,
7477 config/picochip/libgccExtras/divmod15.S,
7478 config/picochip/libgccExtras/divmodhi4.S,
7479 config/picochip/libgccExtras/divmodsi4.S,
7480 config/picochip/libgccExtras/lshrsi3.S,
7481 config/picochip/libgccExtras/parityhi2.S,
7482 config/picochip/libgccExtras/popcounthi2.S,
7483 config/picochip/libgccExtras/subdi3.S,
7484 config/picochip/libgccExtras/ucmpsi2.S,
7485 config/picochip/libgccExtras/udivmodhi4.S,
7486 config/picochip/libgccExtras/udivmodsi4.S: New files.
7487 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
7488 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
7489 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
7490 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
7491 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
7492 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
7493 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
7494 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
7495 files.
7496 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
7497 (HOST_LIBGCC2_CFLAGS): Set.
7498 * config/rs6000/t-darwin64: New file.
7499 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
7500 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
7501 * config/rs6000/t-ppccomm (LIB2ADD): Add
7502 $(srcdir)/config/rs6000/tramp.S.
7503 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
7504 Add $(srcdir)/config/rs6000/eabi.S.
7505 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
7506 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
7507 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
7508 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
7509 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
7510 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
7511 * config/rs6000/tramp.S: New file.
7512 * config/s390/t-tpf: Remove.
7513 * config/sh/linux-atomic.S: New file.
7514 * config/sh/t-linux (LIB2ADD): Set.
7515 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
7516 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
7517 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
7518 to unwind-dw2.c.
7519 (HOST_LIBGCC2_CFLAGS): Set.
7520 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7521 * config/spu/divmodti4.c, config/spu/divv2df3.c,
7522 config/spu/float_disf.c, config/spu/float_unsdidf.c,
7523 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
7524 config/spu/mfc_multi_tag_release.c,
7525 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
7526 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
7527 config/spu/multi3.c: New files.
7528 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
7529 (HOST_LIBGCC2_CFLAGS): Set.
7530 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
7531 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
7532 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
7533 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
7534 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
7535 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
7536 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
7537 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
7538 config/stormy16/umodsi3.c: New files.
7539 * config/xtensa/lib2funcs.S: New file.
7540 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
7541 * config/xtensa/t-xtensa (LIB2ADD): Set.
7542 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
7543 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
7544 Add t-freebsd-thread to tmake_file for posix threads.
7545 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
7546 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
7547 (*-*-lynxos*): Likewise.
7548 (*-*-netbsd*): Likewise.
7549 (*-*-openbsd*): Likewise.
7550 Add t-openbsd-thread to tmake_file for posix threads.
7551 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
7552 (*-*-vxworks*): Set tmake_file.
7553 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
7554 (alpha*-*-freebsd*): Likewise.
7555 (alpha*-*-netbsd*): Likewise.
7556 (alpha*-*-openbsd*): Likewise.
7557 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
7558 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
7559 (alpha*-dec-*vms*): Likewise.
7560 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
7561 (bfin*-elf*): Add bfin/t-elf to tmake_file.
7562 (bfin*-uclinux*): Likewise.
7563 (bfin*-linux-uclibc*): Likewise.
7564 (crisv32-*-elf): Add cris/t-cris to tmake_file.
7565 (crisv32-*-none): Likewise.
7566 (cris-*-elf): Likewise.
7567 (cris-*-none): Likewise.
7568 (cris-*-linux*, crisv32-*-linux*): Likewise.
7569 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
7570 tmake_file.
7571 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
7572 tmake_file.
7573 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
7574 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
7575 (x86_64-*-elf*): Likewise.
7576 (i[34567]86-*-nto-qnx*): Likewise.
7577 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
7578 win32 threads.
7579 (x86_64-*-mingw*): Likewise.
7580 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
7581 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
7582 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
7583 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
7584 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
7585 tmake_file.
7586 (mipsisa64sr71k-*-elf*): Likewise.
7587 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
7588 (mips-*-elf*, mipsel-*-elf*): Likewise.
7589 (mips64-*-elf*, mips64el-*-elf*): Likewise.
7590 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
7591 (mips*-*-rtems*): Likewise.
7592 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
7593 to tmake_file.
7594 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
7595 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
7596 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
7597 (spu-*-elf*): Likewise.
7598 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
7599
45b86625
RO
76002011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7601
7602 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
7603 $(srcdir) to refer to $(LIB1ASMSRC).
7604 Use $<.
7605 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
7606 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
7607 config/arm/lib1funcs.S: New files.
7608 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
7609 * config/arm/t-arm: New file.
7610 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
7611 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
7612 config/arm/t-strongarm-elf: New files.
7613 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
7614 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
7615 * config/avr/lib1funcs.S: New file.
7616 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7617 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
7618 * config/c6x/lib1funcs.S: New file.
7619 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7620 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
7621 * config/frv/lib1funcs.S: New file.
7622 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7623 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
7624 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
7625 * config/ia64/__divxf3.asm: Rename to ...
7626 * config/ia64/__divxf3.S: ... this.
7627 Adapt lib1funcs.asm filename.
7628 * config/ia64/_fixtfdi.asm: Rename to ...
7629 * config/ia64/_fixtfdi.S: ... this.
7630 Adapt lib1funcs.asm filename.
7631 * config/ia64/_fixunstfdi.asm: Rename to ...
7632 * config/ia64/_fixunstfdi.S: ... this.
7633 Adapt lib1funcs.asm filename.
7634 * config/ia64/_floatditf.asm: Rename to ...
7635 * config/ia64/_floatditf.S: ... this.
7636 Adapt lib1funcs.asm filename.
7637 * config/ia64/lib1funcs.S: New file.
7638 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
7639 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7640 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
7641 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
7642 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
7643 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
7644 * config/mep/lib1funcs.S: New file.
7645 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7646 * config/mips/mips16.S: New file.
7647 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7648 * config/pa/milli64.S: New file.
7649 * config/pa/t-linux, config/pa/t-linux64: New files.
7650 * config/picochip/lib1funcs.S: New file.
7651 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7652 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
7653 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
7654 * config/sh/t-netbsd: New file.
7655 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
7656 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
7657 * config/sh/t-sh64: New file.
7658 * config/sparc/lb1spc.S: New file.
7659 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
7660 filename.
7661 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
7662 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
7663 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
7664 config/xtensa/lib1funcs.S: New files.
7665 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7666 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
7667 tmake_file.
7668 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
7669 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
7670 (arm*-*-linux*): Likewise.
7671 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
7672 arm*-*-linux-*eabi, add arm/t-linux otherwise.
7673 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
7674 (arm*-*-ecos-elf): Likewise.
7675 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
7676 (arm*-*-rtems*): Likewise.
7677 (arm*-*-elf): Likewise.
7678 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
7679 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
7680 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
7681 (bfin*-uclinux*): Likewise.
7682 (bfin*-linux-uclibc*): Likewise.
7683 (bfin*-rtems*): Likewise.
7684 (bfin*-*): Likewise.
7685 (fido-*-elf): Merge into m68k-*-elf*.
7686 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
7687 (frv-*-*linux*): Add frv/t-frv to tmake_file.
7688 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
7689 (h8300-*-elf*): Likewise.
7690 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
7691 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
7692 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
7693 (i[34567]86-*-mingw*): Likewise.
7694 (x86_64-*-mingw*): Likewise.
7695 (i[34567]86-*-interix3*): Likewise.
7696 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
7697 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
7698 (m68k-*-elf*): Also handle fido-*-elf.
7699 Add m68k/t-floatlib to tmake_file.
7700 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
7701 (m68k-*-linux*): Likewise.
7702 (m68k-*-rtems*): Likewise.
7703 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
7704 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
7705 sh64*-*-*.
7706 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
7707 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
7708 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
7709 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
7710 sh/t-netbsd to tmake_file.
7711 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
7712 (sh-*-rtems*): Add sh/t-sh to tmake_file.
7713 (sh-wrs-vxworks): Likewise.
7714 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
7715 *-leon[3-9]*.
7716 (v850*-*-*): Add v850/t-v850 to tmake_file.
7717 (vax-*-linux*): Add vax/t-linux to tmake_file.
7718 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
7719
5f73c6cc
RO
77202011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7721
7722 * crtstuff.c: New file.
7723 * Makefile.in (CRTSTUFF_CFLAGS): Define.
7724 (CRTSTUFF_T_CFLAGS): Define.
7725 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
7726 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
7727 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
7728 crtstuff.c.
7729 Use $<.
7730 (crtbeginT.o): Use $(objext).
7731 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
7732 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
7733 (gcc-extra-parts): Remove.
7734 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
7735 Set extra_parts.
7736 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
7737 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
7738 Add t-crtstuff-pic to tmake_file.
7739 (*-*-lynxos*): New case.
7740 Set tmake_file, extra_parts.
7741 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
7742 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
7743 *-*-netbsdelf[2-9]*.
7744 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
7745 (*-*-rtems*): Set extra_parts.
7746 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
7747 (*-*-uclinux*): New case.
7748 Set extra_parts.
7749 (*-*-vms*): New case.
7750 Set tmake_file, extra_parts.
7751 (*-*-elf): Set extra_parts.
7752 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
7753 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
7754 vms/t-vms64.
7755 Set extra_parts.
7756 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
7757 Set extra_parts.
7758 (arm*-*-freebsd*): Add t-crtin to tmake_file.
7759 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
7760 (arm-wrs-vxworks): Append to tmake_file.
7761 Set extra_parts.
7762 (arm*-*-uclinux*): Set extra_parts.
7763 (arm*-*-ecos-elf): Likewise.
7764 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
7765 arm*-*-eabi*.
7766 (arm*-*-rtems*): Set extra_parts.
7767 (arm*-*-elf): Likewise.
7768 (avr-*-rtems*): Clear extra_parts.
7769 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
7770 Set extra_parts.
7771 (bfin*-uclinux*): Likewise.
7772 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
7773 (bfin*-rtems*): Append to tmake_file.
7774 Set extra_parts.
7775 (bfin*-*): Likewise.
7776 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
7777 (crisv32-*-elf): ... this.
7778 (crisv32-*-none): ... this.
7779 (cris-*-elf, cris-*-none): New cases.
7780 Add cris/t-elfmulti to tmake_file.
7781 (fr30-*-elf): Append to tmake_file.
7782 Set extra_parts.
7783 (frv-*-elf): Append to tmake_file, add frv/t-frv.
7784 Set extra_parts.
7785 (h8300-*-rtems*): Append to tmake_file.
7786 Set extra_parts.
7787 (h8300-*-elf*): Likewise.
7788 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
7789 Set extra_parts.
7790 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
7791 Set extra_parts.
7792 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
7793 (x86_64-*-elf*): Likewise.
7794 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
7795 (x86_64-*-freebsd*): Likewise.
7796 (x86_64-*-netbsd*): Likewise.
7797 (i[34567]86-*-linux*): Likewise.
7798 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
7799 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
7800 (x86_64-*-linux*): Likewise.
7801 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
7802 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
7803 tmake_file.
7804 Set extra_parts.
7805 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
7806 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
7807 Append to extra_parts, remove crtbegin.o, crtend.o.
7808 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
7809 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
7810 crtend.o, crtbeginS.o, crtendS.o.
7811 (ia64*-*-linux*): Comment extra_parts.
7812 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
7813 Set extra_parts.
7814 (iq2000*-*-elf*): Clear extra_parts.
7815 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
7816 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
7817 (m32r-*-elf*, m32r-*-rtems*): Split off ...
7818 (m32r-*-rtems*): ... this.
7819 Add m32r/t-m32r to tmake_file.
7820 (m68k-*-elf*): Add t-crtin to tmake_file.
7821 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
7822 (mcore-*-elf): Likewise.
7823 (microblaze*-*-*): Set extra_parts.
7824 (mips*-sde-elf*): New case.
7825 Set tmake_file, extra_parts.
7826 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
7827 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
7828 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
7829 tmake_file.
7830 Set extra_parts.
7831 (mipsisa64sr71k-*-elf*): Likewise.
7832 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
7833 (mips-*-elf*, mipsel-*-elf*): Likewise.
7834 (mips64-*-elf*, mips64el-*-elf*): Likewise.
7835 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
7836 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
7837 (mips*-*-rtems*): Likewise.
7838 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
7839 (moxie-*-*): Split into ...
7840 (moxie-*-elf, moxie-*-uclinux*): ... this.
7841 Add to extra_parts, remove crtbegin.o, crtend.o.
7842 (moxie-*-rtems*): New case.
7843 Set tmake_file.
7844 Clear extra_parts.
7845 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
7846 Set extra_parts.
7847 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
7848 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
7849 tmake_file.
7850 Set extra_parts.
7851 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
7852 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
7853 Set extra_parts.
7854 (powerpc-*-eabisim*): Likewise.
7855 (powerpc-*-elf*): Likewise.
7856 (powerpc-*-eabialtivec*): Likewise.
7857 (powerpc-xilinx-eabi*): Likewise.
7858 (powerpc-*-eabi*): Likewise.
7859 (powerpc-*-rtems*): Likewise.
7860 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
7861 tmake_file.
7862 Set extra_parts.
7863 (powerpc-*-lynxos*): Add to tmake_file.
7864 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
7865 rs6000/t-crtstuff, t-crtstuff-pic.
7866 Set extra_parts.
7867 (powerpcle-*-eabisim*): Likewise.
7868 (powerpcle-*-eabi*): Likewise.
7869 (rx-*-elf): Remove extra_parts.
7870 (s390x-ibm-tpf*): Set extra_parts.
7871 (score-*-elf): Set extra_parts.
7872 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
7873 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
7874 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
7875 (sh64l*-*-netbsd*): Split into ...
7876 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
7877 Add t-crtstuff-pic to tmake_file.
7878 Set extra_parts.
7879 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
7880 Set extra_parts.
7881 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
7882 (sparc-*-elf*): Remove t-crtin from tmake_file.
7883 Add to extra_parts, remove crtbegin.o, crtend.o.
7884 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
7885 (sparc64-*-linux*): Likewise.
7886 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
7887 Add to extra_parts, remove crtbegin.o, crtend.o.
7888 (sparc64-*-elf*): Remove t-crtin from tmake_file.
7889 Add to extra_parts, remove crtbegin.o, crtend.o.
7890 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
7891 Add to extra_parts, remove crtbegin.o, crtend.o.
7892 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
7893 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
7894 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
7895 Set extra_parts.
7896 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
7897 Set extra_parts.
7898 (tic6x-*-*): Change to ...
7899 (tic6x-*-elf): ... this.
7900 Set extra_parts.
7901 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
7902 Set extra_parts.
7903 (am33_2.0-*-linux*): Add comment.
7904 (mep*-*-*): Add mep/t-mep to tmake_file.
7905 Set extra_parts.
7906 * config/alpha/t-vms: New file.
7907 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
7908 * config/arm/crti.S, config/arm/crtn.S: New files.
7909 * config/bfin/crti.S, config/bfin/crtn.S: New files.
7910 * config/bfin/crtlibid.S: New file.
7911 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
7912 * config/c6x/crti.S, config/c6x/crtn.S: New files.
7913 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
7914 (crti.o, crtin.o): New rules.
7915 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
7916 * config/c6x/t-uclinux: New file.
7917 * config/cris/t-elfmulti: New file.
7918 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
7919 * config/fr30/crti.S, config/fr30/crtn.S: New files.
7920 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
7921 * config/frv/t-frv: New file.
7922 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
7923 * config/h8300/crti.S, config/h8300/crtn.S: New files.
7924 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
7925 New files.
7926 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
7927 refer to cygming-crtbegin.c, cygming-crtend.c.
7928 Use $<.
7929 * config/i386/t-nto: New file.
7930 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
7931 * config/ia64/crti.S, config/ia64/crtn.S: New files.
7932 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
7933 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
7934 Use .S extension.
7935 Use $<.
7936 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
7937 (crtinitS.o): New rule.
7938 * config/ia64/vms-crtinit.S: New file.
7939 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
7940 * config/m32r/initfini.c: New file.
7941 * config/m32r/t-linux, config/m32r/t-m32r: New files.
7942 * config/m68k/crti.S, config/m68k/crtn.S: New files.
7943 * config/mcore/crti.S, config/mcore/crtn.S: New files.
7944 * config/mep/t-mep: New file.
7945 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
7946 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
7947 * config/mips/crti.S, config/mips/crtn.S: New files.
7948 * config/mips/t-crtstuff: New file.
7949 * config/mmix/crti.S, config/mmix/crtn.S: New files.
7950 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
7951 (CUSTOM_CRTIN): Set.
7952 ($(T)crti.o, $(T)crtn.o): Remove $(T),
7953 dependencies.
7954 Use $(srcdir) to refer to crti.S, crtn.S.
7955 Use .S extension, $<.
7956 * config/moxie/crti.asm: Rename to ...
7957 * config/moxie/crti.S: ... this.
7958 * config/moxie/crtn.asm: Rename to ...
7959 * config/moxie/crtn.S: ... this.
7960 * config/moxie/t-moxie: Remove.
7961 * config/pa/stublib.c: New file.
7962 * config/pa/t-stublib, config/pa/t-stublib64: New files.
7963 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
7964 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
7965 * config/rs6000/t-crtstuff: New file.
7966 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
7967 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
7968 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
7969 Make output file explicit.
7970 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
7971 Make output file explicit.
7972 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
7973 Make output file explicit.
7974 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
7975 Make output file explicit.
7976 * config/score/crti.S, config/score/crtn.S: New files.
7977 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
7978 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
7979 files.
7980 * config/sh/t-sh, config/sh/t-superh: New files.
7981 * config/sparc/t-linux64: New file.
7982 * config/spu/cache.S, config/spu/cachemgr.c: New files.
7983 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
7984 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
7985 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
7986 * config/t-crtin: Remove.
7987 * config/t-crtstuff-pic: New file.
7988 * config/t-sol2 (CUSTOM_CRTIN): Set.
7989 (crti.o, crtn.o): New rules.
7990 * config/vms/t-vms: New file.
7991 * config/vms/vms-ucrt0.c: New file.
7992 * config/xtensa/t-elf: New file.
7993
b040f2be
RO
79942011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7995
7996 * Makefile.in (SHLIB_NM_FLAGS): Set.
7997 * mkmap-flat.awk, mkmap-symver.awk: New files.
7998 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
7999 exceptions.
8000 * configure: Regenerate.
8001 * config/libgcc-glibc.ver: New file.
8002 * config/libgcc-libsystem.ver: New file.
8003 * config/t-libunwind (SHLIB_LC): Set.
8004 * config/t-linux: New file.
8005 * config/t-slibgcc (INSTALL_SHLIB): New.
8006 (SHLIB_INSTALL): Use it.
8007 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
8008 to mkmap-symver.awk.
8009 (SHLIB_MAPFILES): Don't append, adapt pathname.
8010 (SHLIB_VERPFX): Set.
8011 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
8012 to mkmap-symver.awk.
8013 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
8014 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
8015 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
8016 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
8017 to mkmap-flat.awk.
8018 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
8019 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
8020 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
8021 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
8022 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
8023 * config/i386/libgcc-darwin.10.4.ver,
8024 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
8025 New files.
8026 * config/i386/t-darwin: Remove.
8027 * config/i386/t-darwin64: Likewise.
8028 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
8029 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
8030 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
8031 * config/i386/t-linux: New file.
8032 * config/i386/t-mingw32: New file.
8033 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
8034 * config/ia64/t-glibc: Rename to ...
8035 * config/ia64/t-linux: ... this.
8036 (SHLIB_MAPFILES): Set.
8037 * config/ia64/t-glibc-libunwind: Rename to ...
8038 * config/ia64/t-linux-libunwind: ... this.
8039 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
8040 * config/ia64/t-slibgcc-hpux: New file.
8041 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
8042 * config/m68k/t-slibgcc-elf-ver: New file.
8043 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
8044 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
8045 to mkmap-flat.awk.
8046 * config/pa/t-slibgcc-hpux: New file.
8047 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
8048 files.
8049 * config/rs6000/libgcc-darwin.10.4.ver,
8050 config/rs6000/libgcc-darwin.10.5.ver: New files.
8051 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
8052 config/rs6000/libgcc-glibc.ver.
8053 * config/rs6000/libgcc-ppc64.ver: Rename to
8054 config/rs6000/libgcc-ibm-ldouble.ver.
8055 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
8056 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
8057 * config/rs6000/t-ldbl128: Rename to ...
8058 * config/rs6000/t-linux: ... this.
8059 (SHLIB_MAPFILES): Adapt filename.
8060 * config/rs6000/t-slibgcc-aix: New file.
8061 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
8062 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
8063 libgcc-excl.ver, libgcc-glibc.ver.
8064 (SHLIB_LINK, SHLIB_INSTALL): Remove.
8065 * config/sparc/libgcc-glibc.ver: New file.
8066 * config/sparc/t-linux: New file.
8067 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
8068 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
8069 t-slibgcc-elf-ver to tmake_file.
8070 Add t-slibgcc-nolc-override to tmake_file for posix threads on
8071 *-*-freebsd[34].
8072 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
8073 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
8074 t-slibgcc-elf-ver, t-linux to tmake_file.
8075 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
8076 tmake_file.
8077 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
8078 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
8079 (alpha*-dec-*vms*): Likewise.
8080 (arm*-*-freebsd*): Append to tmake_file.
8081 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
8082 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
8083 arm*-*-linux-*eabi.
8084 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
8085 tmake_file for arm*-*-symbianelf*.
8086 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
8087 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
8088 cris/t-linux.
8089 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
8090 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
8091 pa/t-slibgcc-dwarf-ver to tmake_file.
8092 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
8093 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
8094 (hppa*64*-*-hpux11*): Likewise.
8095 (hppa[12]*-*-hpux11*): Likewise.
8096 (x86_64-*-darwin*): Don't override tmake_file, but only keep
8097 i386/t-crtpc, i386/t-crtfm.
8098 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
8099 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
8100 to tmake_file.
8101 Add i386/t-cygwin to tmake_file.
8102 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
8103 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
8104 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
8105 to tmake_file.
8106 Add i386/t-mingw32 to tmake_file.
8107 (x86_64-*-mingw*): Likewise.
8108 (ia64*-*-freebsd*): Append to tmake_file.
8109 (ia64*-*-linux*): Append to tmake_file.
8110 Replace ia64/t-glibc by ia64/t-linux.
8111 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
8112 system libunwind.
8113 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
8114 t-slibgcc-hpux to tmake_file.
8115 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
8116 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
8117 (m32rle-*-linux*): Likewise.
8118 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
8119 sjlj exceptions.
8120 (microblaze*-linux*): New case.
8121 Append to tmake_file, add t-slibgcc-nolc-override.
8122 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
8123 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
8124 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
8125 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
8126 rs6000/t-slibgcc-aix to tmake_file.
8127 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8128 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8129 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
8130 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
8131 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
8132 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
8133 sh*-*-linux*.
8134 (sparc-*-linux*): Append to tmake_file for *-leon*.
8135 Add sparc/t-linux to tmake_file for non-Leon targets.
8136 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
8137 (tic6x-*-uclinux): New case.
8138 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
8139 (tic6x-*-*): Add c6x/t-elf to tmake_file.
8140 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
8141 (am33_2.0-*-linux*): Append to tmake_file.
8142 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
8143 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
8144 x86_64-*-kfreebsd*-gnu.
8145 Add i386/t-linux to tmake_file.
8146
18b4bd7b
ILT
81472011-10-28 Ian Lance Taylor <iant@google.com>
8148
8149 * config/i386/morestack.S: Correct CFI information to do proper
8150 returns throughout function. In 32-bit mode, save %ebx so that it
8151 is restored on unwind.
8152
5b2d9d90
BS
81532011-10-25 Bernd Schmidt <bernds@codesourcery.com>
8154
8155 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
8156 case where B3 isn't the return register.
8157
0d53e346
BS
8158 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
8159 logic for doubleword pops.
8160
cbffbd59
AT
81612011-10-25 Andreas Tobler <andreast@fgznet.ch>
8162
8163 * config/rs6000/t-freebsd: Add wildcard.
8164
56dc349e
PB
81652011-10-21 Paul Brook <paul@codesourcery.com>
8166
8167 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
8168
1e06b07d
UB
81692011-10-16 Uros Bizjak <ubizjak@gmail.com>
8170 Eric Botcazou <ebotcazou@adacore.com>
8171
8172 PR target/50737
8173 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
8174 fs->signal_frame to 1.
8175
b5204884
ILT
81762011-10-07 Ian Lance Taylor <iant@google.com>
8177
8178 * generic-morestack-thread.c: #include <errno.h>.
8179
91a639a1
ILT
81802011-10-07 Ian Lance Taylor <iant@google.com>
8181
8182 PR target/46093
8183 * generic-morestack.c (__generic_morestack): Make sure the segment
8184 is large enough for both the stack frame and the copied
8185 parameters.
8186
cc49116d
RO
81872011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8188
8189 PR bootstrap/49804
8190 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
8191 extra_parts.
8192
2996d8c3
NC
81932011-09-28 Nick Clifton <nickc@redhat.com>
8194
8195 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
8196 64-bit doubles are not enabled.
8197 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
8198 and floatunsisf functions.
8199
1e874273 82002011-09-13 Paul Brook <paul@codesourcery.com>
2996d8c3 8201
1e874273
PB
8202 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
8203 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
8204 * unwind-arm-common.inc: New file.
8205 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
8206 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
8207 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
8208 * config/c6x/libunwind.S: New file.
8209 * config/c6x/pr-support.c: New file.
8210 * config/c6x/unwind-c6x.c: New file.
8211 * config/c6x/unwind-c6x.h: New file.
8212 * config/c6x/t-c6x-elf: New file.
8213
f70c879a
UB
82142011-08-23 Uros Bizjak <ubizjak@gmail.com>
8215
8216 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
8217 (ASM_DIVZERO): Ditto.
8218 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
8219
c55b374b
RS
82202011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
8221
8222 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
8223
1e138510
RS
82242011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
8225
8226 PR target/50090
8227 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
8228 instead of an assembly one.
8229
1563503d
PB
82302011-08-12 Paolo Bonzini <bonzini@gnu.org>
8231
8232 PR bootstrap/50047
8233 * Makefile.in (install-unwind_h): Create
8234 $(gcc_objdir)/include/unwind.h atomically.
8235
3627ac1a
RO
82362011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8237
8238 * Makefile.in (install-unwind_h): Remove destination file first.
8239
c6412d86
RO
82402011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8241
8242 * sync.c: New file.
8243 * config/mips/t-mips16: New file.
8244 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
8245 (mips*-*-linux*): Likewise.
8246 (mips*-sde-elf*): Likewise.
8247 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
8248 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
8249 Add mips/t-mips16 to tmake_file.
8250 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
8251 (mips-*-elf*): Likewise.
8252 (mips64-*-elf*): Likewise.
8253 (mips64orion-*-elf*): Likewise.
8254 (mips*-*-rtems*): Likewise.
8255 (mipstx39-*-elf*): Likewise.
8256 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
8257 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
8258 LIBGCC_SYNC_CFLAGS.
8259 Use $(srcdir) to refer to sync.c.
8260 Use $<.
8261 ($(libgcc-sync-funcs-o)): Likewise.
8262 ($(libgcc-sync-size-funcs-s-o)): Likewise.
8263 ($(libgcc-sync-funcs-s-o)): Likewise.
8264
3cb6e5bd
AS
82652011-08-09 Andreas Schwab <schwab@linux-m68k.org>
8266
8267 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
8268 t-libunwind.
8269
cca2207a
L
82702011-08-08 H.J. Lu <hongjiu.lu@intel.com>
8271
8272 PR other/48007
8273 * config/i386/value-unwind.h: New.
8274
ed39fbad
RS
82752011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
8276
8277 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
8278 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
8279 Add to tmake_file rather than overriding it.
8280
aca0b0b3
RO
82812011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8282
8283 * config/t-softfp: Remove.
8284 * soft-fp: Moved from ../gcc/config.
8285 * soft-fp/README: Remove t-softfp reference.
8286 * soft-fp/t-softfp: Move to config/t-softfp.
8287 (softfp_machine_header): Remove.
8288 (softfp_file_list): Remove config subdir.
8289 (soft-fp-objects): New variable.
8290 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
8291 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
8292 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
8293 * config/t-softfp-excl: New file.
8294 * config/t-softfp-sfdf: New file.
8295 * config/t-softfp-tf: New file.
8296 * config/no-sfp-machine.h: New file.
8297 * config/arm/sfp-machine.h: New file.
8298 * config/arm/t-softfp: New file.
8299 * config/c6x/sfp-machine.h: New file.
8300 * config/i386/32/t-fprules-softfp: Rename to ...
8301 * config/i386/32/t-softfp: ... this.
8302 (tifunctions, LIB2ADD): Remove.
8303 (softfp_int_modes): Override.
8304 * config/i386/64/t-softfp-compat (tf-functions): Remove config
8305 subdir.
8306 * config/i386/64/eqtf2.c: Likewise.
8307 * config/i386/64/getf2.c: Likewise.
8308 * config/i386/64/letf2.c: Likewise.
8309 * config/ia64/sft-machine.h: New file.
8310 * config/ia64/t-fprules-softfp: Rename to ...
8311 * config/ia64/t-softfp: ... this.
8312 * config/lm32/sfp-machine.h: New file.
8313 * config/moxie/t-moxie-softfp: Remove.
8314 * config/rs6000/ibm-ldouble-format: New file.
8315 * config/rs6000/ibm-ldouble.c: New file.
8316 * config/rs6000/libgcc-ppc-glibc.ver: New file
8317 * config/rs6000/libgcc-ppc64.ver: New file
8318 * config/rs6000/sfp-machine.h: New file.
8319 * config/rs6000/t-freebsd: New file.
8320 * config/rs6000/t-ibm-ldouble: New file.
8321 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
8322 libgcc-ppc-glibc.ver.
8323 * config/rs6000/t-linux64: New file.
8324 * config/rs6000/t-ppccomm (LIB2ADD): Add
8325 $(srcdir)/config/rs6000/ibm-ldouble.c.
8326 * config/rs6000/t-ppccomm-ldbl: New file.
8327 * config/score/sfp-machine.h: New file.
8328 * config.host (sfp_machine_header): Explain.
8329 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
8330 t-softfp to tmake_file.
8331 (arm*-*-uclinux*): Likewise.
8332 (arm*-*-ecos-elf): Likewise.
8333 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
8334 (arm*-*-rtems*): Likewise.
8335 (arm*-*-elf): Likewise.
8336 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
8337 in tmake_file.
8338 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
8339 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
8340 (lm32-*-uclinux*): Likewise.
8341 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
8342 t-softfp-excl, t-softfp.
8343 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
8344 (powerpc64-*-darwin*): Likewise.
8345 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
8346 to tmake_file.
8347 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
8348 tmake_file.
8349 (powerpc-*-eabisim*): Likewise.
8350 (powerpc-*-elf*): Likewise.
8351 (powerpc-*-eabialtivec*): Likewise.
8352 (powerpc-xilinx-eabi*): Likewise.
8353 (powerpc-*-rtems*): Likewise.
8354 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
8355 t-softfp-excl, t-softfp to tmake_file.
8356 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
8357 rs6000/t-ppccomm-ldbl to tmake_file.
8358 (powerpcle-*-elf*): Likewise.
8359 (powerpcle-*-eabisim*): Likewise.
8360 (powerpcle-*-eabi*): Likewise.
8361 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
8362 rs6000/t-ibm-ldouble to tmake_file.
8363 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8364 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8365 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
8366 (tic6x-*-*): Likewise.
8367 (i[34567]86-*-darwin*, x86_64-*-darwin*,
8368 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
8369 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
8370 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
8371 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
8372 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
8373 t-softfp to tmake_file.
8374 * configure.ac (sfp_machine_header): Provide default if unset.
8375 Substitute.
8376 Link sfp-machine.h to config/$sfp_machine_header.
8377 * configure: Regenerate.
8378
569dc494
RO
83792011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8380
8381 * Makefile.in (double_type_size, long_double_type_size): Set.
8382 Remove $(fpbit-in-libgcc) support.
8383 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
8384 (fpbit-src): New variable.
8385 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
8386 Compile with -DFLOAT $(FPBIT_CFLAGS).
8387 Use $<.
8388 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
8389 Compile with $(FPBIT_CFLAGS).
8390 Use $<.
8391 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
8392 Compile with -DFLOAT $(TPBIT_CFLAGS).
8393 Use $<.
8394 * configure.ac (double_type_size, long_double_type_size):
8395 Determine and substitute.
8396 * configure: Regenerate.
8397 * fp-bit.c, fp-bit.h: New files.
8398 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
8399 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
8400 * config/mips/t-mips: New file.
8401 * config/mips/t-sdemtk: New file.
8402 * config/rs6000/ppc64-fp.c: New file.
8403 * config/rs6000/t-darwin (LIB2ADD): Add
8404 $(srcdir)/config/rs6000/ppc64-fp.c.
8405 * config/rs6000/t-ppc64-fp: New file.
8406 * config/rx/rx-lib.h: New file.
8407 * config/rx/t-rx (FPBIT): Set to true.
8408 ($(gcc_objdir)/fp-bit.c): Remove.
8409 (DPBIT): Set to true only with -m64bit-doubles.
8410 ($(gcc_objdir)/dp-bit.c): Remove.
8411 * config/sparc/t-softfp: Remove.
8412 * config/spu/t-elf: New file.
8413 * config/t-fdpbit, config/t-fpbit: New files.
8414 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
8415 (mips*-*-*): Likewise.
8416 (arm-wrs-vxworks): Likewise.
8417 (arm*-*-freebsd*): Likewise.
8418 (avr-*-rtems*): Add t-fpbit to tmake_file.
8419 (avr-*-*): Likewise.
8420 (bfin*-elf*): Add t-fdpbit to tmake_file.
8421 (bfin*-uclinux*): Likewise.
8422 (bfin*-linux-uclibc*): Likewise.
8423 (bfin*-rtems*): New case.
8424 Add t-fdpbit to tmake_file.
8425 (bfin*-*): Add t-fdpbit to tmake_file.
8426 (crisv32-*-elf): Likewise.
8427 (cris-*-linux*): Likewise.
8428 (fr30-*-elf): Likewise.
8429 (frv-*-elf, frv-*-*linux*): Likewise.
8430 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
8431 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
8432 (m32r-*-elf*): Likewise.
8433 (m32rle-*-elf*): Likewise.
8434 (m32r-*-linux*): Likewise.
8435 (m32rle-*-linux*): Likewise.
8436 (mcore-*-elf): Add t-fdpbit to tmake_file.
8437 (microblaze*-*-*): Likewise.
8438 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
8439 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
8440 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
8441 Fix typo.
8442 Add mips/t-tpbit to tmake-file.
8443 (mips*-*-linux*): Fix typo.
8444 (mips*-sde-elf*): New case
8445 Add mips/t-sdemtk unless using newlib.
8446 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
8447 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
8448 (mn10300-*-*): Likewise.
8449 (pdp11-*-*): Likewise.
8450 (picochip-*-*): Add t-fpbit to tmake_file.
8451 (powerpc-*-eabisimaltivec*): Likewise.
8452 (powerpc-*-eabisim*): Likewise.
8453 (powerpc-*-elf*): Likewise.
8454 (powerpc-*-eabialtivec*): Likewise.
8455 (powerpc-xilinx-eabi*): New case.
8456 Add t-fdpbit to tmake_file.
8457 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
8458 (powerpc-*-rtems*): Likewise.
8459 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
8460 tmake_file.
8461 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
8462 tmake_file.
8463 (powerpc-*-lynxos*): Likewise.
8464 (powerpcle-*-elf*): Likewise.
8465 (powerpcle-*-eabisim*): Likewise.
8466 (powerpcle-*-eabi*): Likewise.
8467 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
8468 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
8469 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8470 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8471 (rx-*-elf): Add t-fdpbit to tmake_file.
8472 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
8473 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
8474 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
8475 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
8476 sh*-*-netbsd*.
8477 (sh-*-rtems*): Add t-fdpbit to tmake_file.
8478 (sh-wrs-vxworks): Likewise.
8479 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
8480 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
8481 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
8482 (sparc64-*-rtems*): ... new case.
8483 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
8484 (spu-*-elf*): Likewise.
8485 Add spu/t-elf to tmake_file.
8486 (v850*-*-*): Add t-fdpbit to tmake_file.
8487 (xstormy16-*-elf): Likewise.
8488 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
8489 (mep*-*-*): Likewise.
8490
201cdb74
RO
84912011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8492
8493 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
8494 variables.
8495 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
8496 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
8497 (install-unwind_h): New target.
8498 (all): Depend on it.
8499 * config.host (unwind_header): New variable.
8500 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
8501 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
8502 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
8503 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
8504 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
8505 Set unwind_header.
8506 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
8507 Set unwind_header.
8508 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
8509 arm*-*-eabi*.
8510 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
8511 Set unwind_header.
8512 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
8513 (ia64*-*-freebsd*): Likewise.
8514 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
8515 tmake_file.
8516 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
8517 $with_system_libunwind.
8518 (ia64*-*-hpux*): Set tmake_file.
8519 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
8520 (picochip-*-*): Set tmake_file.
8521 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
8522 md_unwind_header.
8523 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8524 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8525 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
8526 (xtensa*-*-elf*): Set tmake_file.
8527 (xtensa*-*-linux*): Likewise.
8528 * configure.ac: Include ../config/unwind_ipinfo.m4.
8529 Call GCC_CHECK_UNWIND_GETIPINFO.
8530 Link unwind.h to $unwind_header.
8531 * configure: Regenerate.
8532 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
8533 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
8534 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
8535 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
8536 * config/unwind-dw2-fde-darwin.c: New file.
8537 * config/arm/libunwind.S, config/arm/pr-support.c,
8538 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
8539 config/arm/unwind-arm.h,: New files.
8540 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
8541 config/ia64/t-eh-ia64, config/ia64/t-glibc,
8542 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
8543 config/ia64/t-vms, config/ia64/unwind-ia64.c,
8544 config/ia64/unwind-ia64.h: New files.
8545 * config/picochip/t-picochip: New file.
8546 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
8547 files.
8548 * config/rs6000/t-darwin (LIB2ADDEH): Set.
8549 * config/s390/t-tpf (LIB2ADDEH): Remove.
8550 * config/t-darwin (LIB2ADDEH): Set.
8551 * config/t-eh-dw2-dip: New file.
8552 * config/t-libunwind, config/t-libunwind-elf: New files.
8553 * config/t-sol2 (LIB2ADDEH): Remove.
8554 * config/xtensa/t-xtensa: New file.
8555
40f2f11f
L
85562011-08-02 H.J. Lu <hongjiu.lu@intel.com>
8557
8558 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
8559 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
8560 long long to check rt_sigreturn syscall.
8561
bd15e32c
AM
85622011-08-02 Alan Modra <amodra@gmail.com>
8563
8564 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
8565 Restore for indirect call bcrtl from correct stack slot, and only
8566 if cfa+40 isn't valid.
8567
655b30bf
JB
85682011-08-01 Julian Brown <julian@codesourcery.com>
8569
8570 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
8571 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
8572 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
8573
247eb06f
JB
85742011-08-01 Julian Brown <julian@codesourcery.com>
8575
8576 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
8577 (libgcc-std.ver.in): Use above.
8578 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
8579 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
8580 throughout file.
8581 * config/t-fixedpoint-gnu-prefix: New file.
8582 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
8583 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
8584 instead of __PFX__.
8585
02a8fe00
L
85862011-07-28 H.J. Lu <hongjiu.lu@intel.com>
8587
8588 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
8589 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
8590 for x86-64. Properly check __x86_64__ and __LP64__.
8591
5fce9126
L
85922010-07-28 H.J. Lu <hongjiu.lu@intel.com>
8593
8594 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
8595 version.
8596 (_FP_WS_TYPE): Likewise.
8597 (_FP_I_TYPE): Likewise.
8598
2374a88a
AM
85992011-07-28 Alan Modra <amodra@gmail.com>
8600
8601 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
8602 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
8603 in a plt call stub. Do restore r2 if stopped on bctrl.
8604
e44dbbe1
RO
86052011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8606
8607 * config.host (i[3456x]86-*-netware*): Remove.
8608 * config/i386/netware-crt0.c, config/i386/t-nwld,
8609 config/i386/t-slibgcc-nwld: Remove.
8610
bcead286
BS
86112011-07-15 Bernd Schmidt <bernds@codesourcery.com>
8612
8613 * config.host: Handle tic6x-*-*.
8614 * config/c6x/c6x-abi.h: New file.
8615
b3fe1584
RO
86162011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8617
8618 * config/i386/crtprec.c: New file.
8619 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
8620 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
8621 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
8622 (x86_64-*-darwin*): Likewise.
8623 (i[34567]86-*-solaris2*: Likewise.
8624
35d8090d
RO
86252011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8626
8627 * config/alpha/crtfastmath.c: New file.
8628 * config/i386/crtfastmath.c: New file.
8629 * config/ia64/crtfastmath.c: New file.
8630 * config/mips/crtfastmath.c: New file.
8631 * config/sparc/crtfastmath.c: New file.
8632
8633 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
8634 crtfastmath.c.
8635 Add -frandom-seed=gcc-crtfastmath.
8636 * config/alpha/t-crtfm: Remove.
8637 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
8638 * config/ia64/t-ia64 (crtfastmath.o): Remove.
8639
8640 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
8641 (alpha*-dec-osf5.1*): Likewise.
8642 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
8643 Add crtfastmath.o to extra_parts.
8644 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
8645 Add crtfastmath.o to extra_parts.
8646 (x86_64-*-darwin*): Likewise.
8647 (x86_64-*-mingw*): Likewise.
8648 (ia64*-*-elf*): Add t-crtfm to tmake_file.
8649 (ia64*-*-freebsd*): Likewise.
8650 (ia64*-*-linux*): Likewise.
8651 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
8652 Add crtfastmath.o to extra_parts.
8653
e141542e
RO
86542011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8655
8656 * config/darwin-crt3.o: New file.
8657 * config/rs6000/darwin-crt2.c: New file.
8658 * config/t-darwin: New file.
8659 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
8660 (crt2.o): New rule.
8661 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
8662 (powerpc-*-darwin*): Add crt2.o to extra_parts.
8663 (powerpc64-*-darwin*): Likewise.
8664
2d1efe2d
RO
86652011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8666
8667 * config/i386/netware-crt0.c: New file.
8668 * config/i386/t-nwld: Rename to ...
8669 * config/i386/t-slibgcc-nwld: ... this.
8670 * config/i386/t-nwld: New file.
8671 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
8672 tmake_file.
8673 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
8674 extra_parts.
8675
4a8bb046
RO
86762011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8677
8678 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
8679 i386/t-crtstuff.
8680 * configure: Regenerate.
8681
2d8d5935
RO
86822011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8683
8684 * dfp-bit.c, dfp-bit.h: New files.
8685 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
8686 variables.
8687 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
8688 ($(d64pbit-o)): Likewise.
8689 ($(d128pbit-o)): Likewise.
8690 * config/t-dfprules: New file.
8691 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
8692 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
8693 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
8694 (x86_64-*-linux*): Likewise.
8695 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
8696 (i[34567]86-*-cygwin*): Likewise.
8697 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
8698 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
8699
2c50b2c3
RO
87002011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8701
8702 * Makfile.in (LIBGCOV): New variable.
8703 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
8704 * libgcov.c: New file.
8705
a039d7c2
RO
87062011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8707
8708 * fixed-bit.c, fixed-bit.h: New files.
8709 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
8710 refer to fixed-bit.c.
8711
1e4b2746
JM
87122011-07-07 Joseph Myers <joseph@codesourcery.com>
8713
8714 * config.host (*local*): Remove.
8715
fbdd5d87
RO
87162011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8717
8718 PR target/39150
8719 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
8720 like i?86-*-solaris2.1[0-9]*.
8721 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
8722 * configure.ac (i?86-*-solaris2*): Likewise.
8723 * configure: Regenerate.
8724
9e7714f4
TS
87252011-07-06 Thomas Schwinge <thomas@schwinge.name>
8726
8727 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
8728 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
8729 md_unwind_header by splitting out of...
8730 (i[34567]86-*-linux*): ... this.
8731 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
8732 Remove md_unwind_header by splitting out of...
8733 (x86_64-*-linux*): ... this.
8734
6dab9931
GJL
87352011-07-04 Georg-Johann Lay <avr@gjlay.de>
8736
8737 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
8738
4be46d19
NC
87392011-06-28 Nick Clifton <nickc@redhat.com>
8740
8741 * config.host: Recognize all V850 variants.
8742
1da9434b
UB
87432011-06-22 Uros Bizjak <ubizjak@gmail.com>
8744
8745 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
8746
e4d48a4d
RO
87472011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8748
8749 * shared-object.mk (c_flags-$o): Save c_flags.
8750 ($(base)$(objext)): Use it.
8751 ($(base)_s$(objext)): Likewise.
8752
3801c801
BS
87532011-06-21 Bernd Schmidt <bernds@codesourcery.com>
8754
8755 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
8756 * libgcc-std.ver.in (GCC_4.7.0): New section.
8757
0ad8bb3b 87582011-06-16 Georg-Johann Lay <avr@gjlay.de>
1da9434b 8759
0ad8bb3b
GJL
8760 PR target/49313
8761 PR target/29524
8762 * config/avr/t-avr: Fix line endings.
8763 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
8764 _parityXX2.
8765
ea963999
OH
87662011-06-14 Olivier Hainque <hainque@adacore.com>
8767 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8768
8769 * config/mips/irix6-unwind.h: New file.
8770 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
8771
b11b0904
EB
87722011-06-10 Eric Botcazou <ebotcazou@adacore.com>
8773
8774 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
8775 (sparc64_fallback_frame_state): Use it.
8776 (sparc64_frob_update_context): Further adjust context.
8777 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
8778 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
8779 * config/sparc/sol2-cn.S: Likewise.
8780
10e48e39
RO
87812011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8782
8783 * enable-execute-stack-empty.c: New file.
8784 * enable-execute-stack-mprotect.c: New file.
8785 * config/i386/enable-execute-stack-mingw32.c: New file.
8786 * config.host (enable_execute_stack): New variable.
8787 Select appropriate variants.
8788 * configure.ac: Link enable-execute-stack.c to
8789 $enable_execute_stack.
8790 * configure: Regenerate.
8791 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
8792 (lib2funcs): Remove _enable_execute_stack.
8793
10c4cabc
DM
87942011-06-09 David S. Miller <davem@davemloft.net>
8795 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8796
8797 * config.host (sparc-*-linux*): Correct md_unwind_header
8798 filename.
8799 (s390x-ibm-tpf*): Fix typo.
8800
aa4203e7
RO
88012011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8802
8803 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
8804 Add crtfastmath.o to extra_parts.
8805 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
8806 mips/t-crtfm.
8807 * config/mips/t-crtfm: Remove.
8808
0defd786
JDA
88092011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
8810
8811 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
8812
82f247af
KK
88132011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
8814
8815 * config.host (sh*-*-linux*): Fix typo.
8816
58cd1d70
RO
88172011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8818
8819 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
8820 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
8821 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
8822 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
8823 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
8824 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
8825 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
8826 Wrap in !__MINGW64__.
8827 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
8828 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
8829 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
8830 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
8831 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
8832 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
8833 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
8834 Wrap in !__LP64__.
8835 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
8836 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
8837 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
8838 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
8839 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
8840 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
8841 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
8842 * config/no-unwind.h: New file.
8843 * config.host (md_unwind_header): Document.
8844 Define.
8845 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
8846 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
8847 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
8848 hppa[12]*-*-hpux11*): Set md_unwind_header.
8849 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
8850 Set md_unwind_header.
8851 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
8852 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
8853 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
8854 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
8855 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
8856 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
8857 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
8858 md_unwind_header.
8859 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
8860 * configure: Regenerate.
8861
737346fa
RO
88622011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8863
8864 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
8865 Set tmake_file, extra_parts.
8866 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
8867 Remove O32 support.
8868 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
8869 Remove O32 support.
8870 * config/mips/t-irix6: New file.
8871 * config/mips/t-slibgcc-irix: New file.
8872
c192cee6
RO
88732011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8874
8875 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
8876 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
8877
ee33b5f0
RO
88782011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8879
8880 * configure.ac (target_thread_file): Determine thread model.
8881 * configure: Regenerate.
8882 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
8883 * config/alpha/t-alpha: New file.
8884 * config/alpha/t-crtfm: Use $<.
8885 * config/alpha/t-ieee: New file.
8886 * config/alpha/t-osf-pthread: New file.
8887 * config/alpha/t-slibgcc-osf: New file.
8888 * config/alpha/libgcc-osf5.ver: New file.
8889
0699e415
RO
88902011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8891
8892 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
8893 tmake_file.
8894 Add crtfastmath.o to extra_parts.
8895
a3fab9c2
RO
88962011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8897
8898 * config/gmon-sol2.c: Reindent.
8899 Cleanup comments.
8900 Remove, correct casts.
8901 Use STDERR_FILENO, NULL.
8902 (BASEADDRESS): Remove.
8903 (minbrk): Remove.
8904 (errno, sbrk): Remove declarations.
8905 (monstartup) [hp300]: Remove.
8906 (mcount): Remove.
8907
ca24c5ad
RO
89082011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8909
8910 * Makefile.in (cpu_type): Define.
8911 * config.host (i[34567]86-*-rtems*): Handle it.
8912 (i[34567]86-*-solaris2*): Move body ...
8913 (*-*-solaris2*): ... here.
8914 New case, generalize.
8915 (sparc-*-elf*): Handle it.
8916 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
8917 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
8918 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
8919 Fold into ...
8920 (sparc*-*-solaris2*): ... this.
8921 New case.
8922 (sparc64-*-elf*): Handle it.
8923 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
8924 Merge ../gcc/config/i386/gmon-sol2.c.
8925 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
8926 Use C comments.
8927 Merge ../gcc/config/i386/sol2-gc1.asm.
8928 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
8929 Use C comments.
8930 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
8931 Use C comments.
8932 * config/i386/t-crtfm (crtfastmath.o): Use $<.
8933 * config/i386/t-crtstuff: New file.
8934 * config/i386/t-softfp: New file.
8935 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
8936 $(T)crti.o, $(T)crtn.o): Remove.
8937 (gcrt1.o): New rule.
8938 (TARGET_LIBGCC2_CFLAGS): Remove.
8939 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
8940 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
8941 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
8942 * config/sparc/t-sol2: New file.
8943 * config/sparc/t-crtfm: Move to ...
8944 * config/t-crtfm: ... this.
8945 Use $(cpu_type), $<.
8946 * config/t-crtin: New file.
8947 * config/sparc/t-softfp: New file.
8948 * config/sparc/t-softmul: New file.
8949 * config/t-rtems: New file.
8950 * config/t-slibgcc: New file.
8951 * config/t-slibgcc-elf-ver: New file.
8952 * config/t-slibgcc-gld: New file.
8953 * config/t-slibgcc-sld: New file.
8954 * config/t-sol2: New file.
8955 * configure.ac: Include ../config/lib-ld.m4.
8956 Call AC_LIB_PROG_LD_GNU.
8957 Substitute cpu_type.
8958 * configure: Regenerate.
8959
ad5f3d7b
BS
89602011-05-27 Bernd Schmidt <bernds@codesourcery.com>
8961
8962 PR bootstrap/49173
8963 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
8964 libgcc-std.ver in the build directory.
8965 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
8966 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
8967
cdbf4541
BS
89682011-05-25 Bernd Schmidt <bernds@codesourcery.com>
8969
8970 * libgcc-std.ver.in: New file.
8971 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
8972 variables.
8973 (libgcc-std.ver): New rule.
8974 * config/t-gnu-prefix: New file.
8975
c8028650
RO
89762011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8977
8978 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
8979
4a68b4ca
JM
89802011-05-10 Joseph Myers <joseph@codesourcery.com>
8981
8982 * config/i386/darwin-lib.h: New file.
8983
80cf2e08
JM
89842011-05-10 Joseph Myers <joseph@codesourcery.com>
8985
8986 * config/arm/symbian-lib.h: New.
8987
a3330c9d
CD
89882011-05-04 Chris Demetriou <cgd@google.com>
8989
8990 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
8991 (__x86.get_pc_thunk.bx): ...this.
8992 (__morestack): Adjust for rename, remove undef of __i686.
8993
6ace0756
CD
89942011-05-03 Chris Demetriou <cgd@google.com>
8995
8996 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
8997
ebb9f8b0
JM
89982011-03-22 Joseph Myers <joseph@codesourcery.com>
8999
9000 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
9001 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
9002 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
9003 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
9004 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
9005 Remove cases.
9006
9cfa1499
AT
90072011-03-14 Andreas Tobler <andreast@fgznet.ch>
9008
9009 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
9010 Adjust copyright year.
9011
457186f6
ILT
90122011-03-07 Ian Lance Taylor <iant@google.com>
9013
9014 * generic-morestack.c (__splitstack_find): Adjust returned stack
9015 pointer to include all registers pushed by __morestack.
9016
58c741a6
DK
90172011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
9018
9019 PR target/40125
9020 * configure.ac: Call ACX_NONCANONICAL_TARGET.
9021 (toolexecdir): Calculate and AC_SUBST.
9022 (toolexeclibdir): Likewise.
9023 * Makefile.in (target_noncanonical): Import.
9024 (toolexecdir): Likewise.
9025 (toolexeclibdir): Likewise.
9026 * configure: Regenerate.
9027
26716c44
NF
90282010-12-13 Nathan Froyd <froydnj@codesourcery.com>
9029
9030 PR target/46040
9031 * config/arm/bpabi.h: Rename to...
9032 * config/arm/bpabi-lib.h: ...this.
9033
b595b1a1
RO
90342010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9035
9036 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
9037 appropriate.
9038 * configure: Regenerate.
9039
a3abe41c
NF
90402010-11-24 Nathan Froyd <froydnj@codesourcery.com>
9041
9042 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
9043 __FLOAT_WORD_ORDER__.
9044 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
9045 Delete.
9046
455c8f48
RW
90472010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9048
9049 PR other/46202
9050 * Makefile.in (install-strip): New phony target.
9051
f3824a8b
ILT
90522010-11-07 Ian Lance Taylor <iant@google.com>
9053
9054 PR target/46089
9055 * config/i386/morestack.S (__morestack_large_model): New
9056 function.
9057
18ed6ee4
NF
90582010-10-23 Nathan Froyd <froydnj@codesourcery.com>
9059
9060 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
9061 Delete.
9062 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
9063
8ac7fdcb
NF
90642010-10-14 Nathan Froyd <froydnj@codesourcery.com>
9065
9066 * config/arm/bpabi.h: New file.
9067 * config/frv/frv-abi.h: New file.
9068
cdb388c2
ILT
90692010-10-01 Ian Lance Taylor <iant@google.com>
9070
9071 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
9072 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
9073
ef7c141c
L
90742010-10-01 H.J. Lu <hongjiu.lu@intel.com>
9075
9076 PR target/45858
9077 * config.host: Add the missing `$'.
9078
80920132
ME
90792010-09-30 Michael Eager <eager@eagercon.com>
9080
9081 * config.host: Add microblaze*-*-*.
9082 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
9083 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
9084 udivsi3.asm,umodsi3.asm}: New.
9085
6dace308
ILT
90862010-09-28 Ian Lance Taylor <iant@google.com>
9087
9088 * configure.ac: Adjust CFI test to test assembler directly rather
9089 than checking gcc preprocessor macro.
9090 * configure: Rebuild.
9091
b6110d6d
ILT
90922010-09-27 Ian Lance Taylor <iant@google.com>
9093
9094 * configure.ac: Test whether assembler supports CFI directives.
9095 * config.host: Only add t-stack and i386/t-stack-i386 to
9096 tmake_file if libgcc_cv_cfi is "yes".
9097 * configure: Rebuild.
9098
7458026b
ILT
90992010-09-27 Ian Lance Taylor <iant@google.com>
9100
9101 * generic-morestack.h: New file.
9102 * generic-morestack.c: New file.
9103 * generic-morestack-thread.c: New file.
9104 * config/i386/morestack.S: New file.
9105 * config/t-stack: New file.
9106 * config/i386/t-stack-i386: New file.
9107 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
9108 i386/t-stack-i386 to tmake_file.
9109
5b50fc0c
IS
91102010-09-21 Iain Sandoe <iains@gcc.gnu.org>
9111
9112 * Makefile.in (libgcc-extra-parts): Check for static archives and
9113 invoke ranlib after installing them.
9114 (gcc-extra-parts): Likewise.
9115 (install-leaf): Likewise.
9116
b93cf342
L
91172010-09-14 H.J. Lu <hongjiu.lu@intel.com>
9118
9119 * configure: Regenerated.
9120
996b42ef
KT
91212010-09-10 Kai Tietz <kai.tietz@onevision.com>
9122
b93cf342 9123 * configure: Regenerated.
996b42ef 9124
be1c764e
GP
91252010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
9126 Andrew Pinski <pinskia@gmail.com>
9127
1da9434b 9128 PR target/40959
be1c764e
GP
9129 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
9130
cc0ae0ca
L
91312010-09-06 H.J. Lu <hongjiu.lu@intel.com>
9132
9133 PR target/45524
9134 * configure: Regenerated.
9135
84f47d20
AS
91362010-09-06 Andreas Schwab <schwab@redhat.com>
9137
9138 * configure: Regenerate.
9139
4159fb8d
UB
91402010-09-03 Uros Bizjak <ubizjak@gmail.com>
9141
9142 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
9143 64bit targets.
9144 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
9145 for 64bit targets.
9146
0df8fcc8
UB
91472010-09-03 Uros Bizjak <ubizjak@gmail.com>
9148 Iain Sandoe <iains@gcc.gnu.org>
9149
9150 PR target/45476
9151 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
9152 LIB2FUNCS_EXCLUDE functions.
9153
3c39bca6
AK
91542010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9155
9156 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
9157 Include dfp.m4.
9158 * configure: Regenerate.
9159
d78552bd
UB
91602010-09-01 Uros Bizjak <ubizjak@gmail.com>
9161
9162 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
9163 i386/t-freebsd to tmake_file.
9164 * config/i386/t-freebsd: New file.
9165 * config/i386/libgcc-bsd.ver: New file.
9166
c5b79d4e
NF
91672010-07-23 Nathan Froyd <froydnj@codesourcery.com>
9168
9169 * config.host (powerpc*-eabispe*): Set tmake_file.
9170 (powerpc*-eabi*): Likewise.
9171 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
9172 crtbeginS, crtendS, crtbeginT.
9173
48b09a92
KH
91742010-06-12 Kazu Hirata <kazu@codesourcery.com>
9175
9176 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
9177 to tmake_file. Add crtfastmath.o to extra_parts.
9178 * config/mips/t-crtfm: New.
9179
7d296953 91802010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
a4389204
JS
9181
9182 * config.host (sparc64-*-rtems*): New target.
9183
ed104137
RO
91842010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9185
9186 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
9187 assembler syntax.
9188
3f56ef8b
TS
91892010-04-15 Thomas Schwinge <tschwinge@gnu.org>
9190
9191 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
9192
8c200350
RO
91932010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9194
9195 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
9196 alpha-dec-osf5.0* support.
9197
7d296953 91982010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
c1b14424
RC
9199
9200 * config.host: Add lm32-*-rtems*.
9201
f128db92 92022010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7d296953 9203 Uros Bizjak <ubizjak@gmail.com>
f128db92
RO
9204
9205 PR target/39048
9206 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
9207 like other remaining 32-bit x86 OSes.
9208 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
9209 assembler syntax.
9210 * config/i386/libgcc-sol2.ver: New file.
9211 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
9212
7d296953 92132010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
368fabd5
JH
9214
9215 PR c/43553
9216 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
9217 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
9218 is used and substitute set_use_emutls.
9219 * configure: Regenerated.
9220
15baf7f8
TG
92212010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
9222
9223 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
9224
7f5441df
RO
92252010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9226
9227 PR target/38085
9228 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
9229 MULTILIB_CFLAGS.
9230 ($(T)gcrt1.o): Likewise.
9231 ($(T)crt1.o): Likewise.
9232 ($(T)crti.o): Likewise.
9233 ($(T)crtn.o): Likewise.
9234
ef74edbd
RW
92352010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9236
9237 PR other/42980
9238 * Makefile.in (install): Use $(MAKE) string in rule, for
9239 parallel make.
9240
e7c914db
HPN
92412010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
9242
9243 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
9244 * config/mmix/t-mmix: New file.
9245 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
9246
1bcb71c4
JH
92472010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
9248
9249 PR java/41991
9250 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
9251 SHLIB_MAPFILES.
9252
e6e50811
AG
92532010-01-04 Anthony Green <green@moxielogic.com>
9254
9255 * config/moxie/crti.asm, config/moxie/crtn.asm,
9256 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
9257 config/moxie/t-moxie: New files.
9258 * config.host: Add t-moxie-softfp reference.
9259
7d296953 92602009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
ca8520ad
IS
9261
9262 PR other/39888
9263 * config/t-slibgcc-darwin: Fix embedded rpaths for
9264 --enable-version-specific-runtime-libs, build extension stub
9265 libs exposing features available from current libgcc_s.
9266
7d296953 92672009-11-11 Jon Beniston <jon@beniston.com>
aa4945c1 9268
d78552bd
UB
9269 * config.host: Add lm32 targets.
9270 * config/lm32: New directory.
9271 * config/lm32/libgcc_lm32.h: New file.
9272 * config/lm32/_mulsi3.c: New file.
9273 * config/lm32/_udivmodsi4.c: New file.
9274 * config/lm32/_divsi3.c: New file.
9275 * config/lm32/_modsi3.c: New file.
9276 * config/lm32/_udivsi3.c: New file.
9277 * config/lm32/_umodsi3.c: New file.
9278 * config/lm32/_lshrsi3.S: New file.
9279 * config/lm32/_ashrsi3.S: New file.
9280 * config/lm32/_ashlsi3.S: New file.
9281 * config/lm32/crti.S: New file.
9282 * config/lm32/crtn.S: New file.
9283 * config/lm32/t-lm32: New file.
9284 * config/lm32/t-elf: New file.
9285 * config/lm32/t-uclinux: New file.
aa4945c1 9286
65a324b4
NC
92872009-10-26 Nick Clifton <nickc@redhat.com>
9288
9289 * config.host: Add support for RX target.
9290 * config/rx: New directory.
9291 * config/rx/rx-abi-functions.c: New file. Supplementary
9292 functions for libgcc to support the RX ABI.
9293 * config/rx/rx-abi.h: New file. Supplementary header file for
9294 libgcc RX ABI functions.
9295 * config/rx/t-rx: New file: Makefile fragment for building
9296 libgcc for the RX.
9297
dfb3b0e3
UB
92982009-10-09 Uros Bizjak <ubizjak@gmail.com>
9299
9300 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
9301 constraint of y0 to "g".
9302
81dd9fd7
AK
93032009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9304
9305 * config.host: Include the s390 makefile fragments.
9306 * config/s390/32/_fixdfdi.c: New file.
9307 * config/s390/32/_fixsfdi.c: New file.
9308 * config/s390/32/_fixtfdi.c: New file.
9309 * config/s390/32/_fixunsdfdi.c: New file.
9310 * config/s390/32/_fixunssfdi.c: New file.
9311 * config/s390/32/_fixunstfdi.c: New file.
9312 * config/s390/32/t-floattodi: New file.
9313 * config/s390/libgcc-glibc.ver: New file.
9314 * config/s390/t-crtstuff: New file.
9315 * config/s390/t-linux: New file.
9316 * config/s390/t-tpf: New file.
9317
df58e648
RW
93182009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9319
9320 * configure.ac (AC_PREREQ): Bump to 2.64.
9321
79052be3
KK
93222009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
9323
9324 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
9325
5213506e
RW
93262009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9327
9328 * configure: Regenerate.
9329
a9a25daa
DR
93302009-08-09 Douglas B Rupp <rupp@gnat.com>
9331
9332 * config.host (ia64-hp-*vms*): New target.
9333 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
9334 with ia64-hp-*vms*.
9335
6efbd53f
RW
93362009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9337
9338 * configure.ac: Add snippet for maintainer-mode.
9339 * configure: Regenerate.
9340 * Makefile.in (AUTOCONF, configure_deps): New variables.
9341 ($(srcdir)/configure)): New rule, active only with maintainer
9342 mode turned on.
9343
7acf4da6
DD
93442009-06-23 DJ Delorie <dj@redhat.com>
9345
9346 Add MeP port.
9347 * config.host: Add mep support.
9348
54f549af
KT
93492009-06-22 Kai Tietz <kai.tietz@onevision.com>
9350
34481f28 9351 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 9352 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
34481f28
UB
9353
9354 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
9355 for mingw targets.
54f549af
KT
9356 * config/i386/64/_multc3.c: Likewise.
9357 * config/i386/64/_powitf2.c: Likewise.
9358 * config/i386/64/eqtf2.c: Likewise.
9359 * config/i386/64/getf2.c: Likewise.
9360 * config/i386/64/letf2.c: Likewise.
9361 * config/i386/64/letf2.c: Likewise.
34481f28
UB
9362 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
9363 unsigned long long for x64 mingw targets.
9364 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
9365 (_FP_I_TYPE): Define as long long for x64 mingw target.
54f549af 9366
fea96e25
MR
93672009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
9368
9369 * config.host (vax-*-linux*): New.
9370
cceb575c
AG
93712009-05-31 Anthony Green <green@moxielogic.com>
9372
9373 * config.host: Add moxie support.
9374 * config/moxie/t-moxie: New file.
9375
7d296953 93762009-05-29 David Billinghurst <billingd@gcc.gnu.org>
e997fb9c
DB
9377
9378 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 9379 t-softfp to tmake_file for i[34567]86-*-cygwin*.
e997fb9c 9380
532bfb0a
AJ
93812009-04-17 Aurelien Jarno <aurelien@aurel32.net>
9382
9383 * config.host: Add i386/${host_address}/t-fprules-softfp to
9384 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
9385
748086b7
JJ
93862009-04-09 Nick Clifton <nickc@redhat.com>
9387
9388 * config/ia64/tf-signs.c: Change copyright header to refer to
9389 version 3 of the GNU General Public License with version 3.1
9390 of the GCC Runtime Library Exception and to point readers at
9391 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
9392 web page.
9393 * config/i386/32/tf-signs.c: Likewise.
9394 * config/libbid/_addsub_dd.c: Likewise.
9395 * config/libbid/_addsub_sd.c: Likewise.
9396 * config/libbid/_addsub_td.c: Likewise.
9397 * config/libbid/_dd_to_df.c: Likewise.
9398 * config/libbid/_dd_to_di.c: Likewise.
9399 * config/libbid/_dd_to_sd.c: Likewise.
9400 * config/libbid/_dd_to_sf.c: Likewise.
9401 * config/libbid/_dd_to_si.c: Likewise.
9402 * config/libbid/_dd_to_td.c: Likewise.
9403 * config/libbid/_dd_to_tf.c: Likewise.
9404 * config/libbid/_dd_to_udi.c: Likewise.
9405 * config/libbid/_dd_to_usi.c: Likewise.
9406 * config/libbid/_dd_to_xf.c: Likewise.
9407 * config/libbid/_df_to_dd.c: Likewise.
9408 * config/libbid/_df_to_sd.c: Likewise.
9409 * config/libbid/_df_to_td.c: Likewise.
9410 * config/libbid/_di_to_dd.c: Likewise.
9411 * config/libbid/_di_to_sd.c: Likewise.
9412 * config/libbid/_di_to_td.c: Likewise.
9413 * config/libbid/_div_dd.c: Likewise.
9414 * config/libbid/_div_sd.c: Likewise.
9415 * config/libbid/_div_td.c: Likewise.
9416 * config/libbid/_eq_dd.c: Likewise.
9417 * config/libbid/_eq_sd.c: Likewise.
9418 * config/libbid/_eq_td.c: Likewise.
9419 * config/libbid/_ge_dd.c: Likewise.
9420 * config/libbid/_ge_sd.c: Likewise.
9421 * config/libbid/_ge_td.c: Likewise.
9422 * config/libbid/_gt_dd.c: Likewise.
9423 * config/libbid/_gt_sd.c: Likewise.
9424 * config/libbid/_gt_td.c: Likewise.
9425 * config/libbid/_isinfd128.c: Likewise.
9426 * config/libbid/_isinfd32.c: Likewise.
9427 * config/libbid/_isinfd64.c: Likewise.
9428 * config/libbid/_le_dd.c: Likewise.
9429 * config/libbid/_le_sd.c: Likewise.
9430 * config/libbid/_le_td.c: Likewise.
9431 * config/libbid/_lt_dd.c: Likewise.
9432 * config/libbid/_lt_sd.c: Likewise.
9433 * config/libbid/_lt_td.c: Likewise.
9434 * config/libbid/_mul_dd.c: Likewise.
9435 * config/libbid/_mul_sd.c: Likewise.
9436 * config/libbid/_mul_td.c: Likewise.
9437 * config/libbid/_ne_dd.c: Likewise.
9438 * config/libbid/_ne_sd.c: Likewise.
9439 * config/libbid/_ne_td.c: Likewise.
9440 * config/libbid/_sd_to_dd.c: Likewise.
9441 * config/libbid/_sd_to_df.c: Likewise.
9442 * config/libbid/_sd_to_di.c: Likewise.
9443 * config/libbid/_sd_to_sf.c: Likewise.
9444 * config/libbid/_sd_to_si.c: Likewise.
9445 * config/libbid/_sd_to_td.c: Likewise.
9446 * config/libbid/_sd_to_tf.c: Likewise.
9447 * config/libbid/_sd_to_udi.c: Likewise.
9448 * config/libbid/_sd_to_usi.c: Likewise.
9449 * config/libbid/_sd_to_xf.c: Likewise.
9450 * config/libbid/_sf_to_dd.c: Likewise.
9451 * config/libbid/_sf_to_sd.c: Likewise.
9452 * config/libbid/_sf_to_td.c: Likewise.
9453 * config/libbid/_si_to_dd.c: Likewise.
9454 * config/libbid/_si_to_sd.c: Likewise.
9455 * config/libbid/_si_to_td.c: Likewise.
9456 * config/libbid/_td_to_dd.c: Likewise.
9457 * config/libbid/_td_to_df.c: Likewise.
9458 * config/libbid/_td_to_di.c: Likewise.
9459 * config/libbid/_td_to_sd.c: Likewise.
9460 * config/libbid/_td_to_sf.c: Likewise.
9461 * config/libbid/_td_to_si.c: Likewise.
9462 * config/libbid/_td_to_tf.c: Likewise.
9463 * config/libbid/_td_to_udi.c: Likewise.
9464 * config/libbid/_td_to_usi.c: Likewise.
9465 * config/libbid/_td_to_xf.c: Likewise.
9466 * config/libbid/_tf_to_dd.c: Likewise.
9467 * config/libbid/_tf_to_sd.c: Likewise.
9468 * config/libbid/_tf_to_td.c: Likewise.
9469 * config/libbid/_udi_to_dd.c: Likewise.
9470 * config/libbid/_udi_to_sd.c: Likewise.
9471 * config/libbid/_udi_to_td.c: Likewise.
9472 * config/libbid/_unord_dd.c: Likewise.
9473 * config/libbid/_unord_sd.c: Likewise.
9474 * config/libbid/_unord_td.c: Likewise.
9475 * config/libbid/_usi_to_dd.c: Likewise.
9476 * config/libbid/_usi_to_sd.c: Likewise.
9477 * config/libbid/_usi_to_td.c: Likewise.
9478 * config/libbid/_xf_to_dd.c: Likewise.
9479 * config/libbid/_xf_to_sd.c: Likewise.
9480 * config/libbid/_xf_to_td.c: Likewise.
9481 * config/libbid/bid128.c: Likewise.
9482 * config/libbid/bid128_2_str.h: Likewise.
9483 * config/libbid/bid128_2_str_macros.h: Likewise.
9484 * config/libbid/bid128_2_str_tables.c: Likewise.
9485 * config/libbid/bid128_add.c: Likewise.
9486 * config/libbid/bid128_compare.c: Likewise.
9487 * config/libbid/bid128_div.c: Likewise.
9488 * config/libbid/bid128_fma.c: Likewise.
9489 * config/libbid/bid128_logb.c: Likewise.
9490 * config/libbid/bid128_minmax.c: Likewise.
9491 * config/libbid/bid128_mul.c: Likewise.
9492 * config/libbid/bid128_next.c: Likewise.
9493 * config/libbid/bid128_noncomp.c: Likewise.
9494 * config/libbid/bid128_quantize.c: Likewise.
9495 * config/libbid/bid128_rem.c: Likewise.
9496 * config/libbid/bid128_round_integral.c: Likewise.
9497 * config/libbid/bid128_scalb.c: Likewise.
9498 * config/libbid/bid128_sqrt.c: Likewise.
9499 * config/libbid/bid128_string.c: Likewise.
9500 * config/libbid/bid128_to_int16.c: Likewise.
9501 * config/libbid/bid128_to_int32.c: Likewise.
9502 * config/libbid/bid128_to_int64.c: Likewise.
9503 * config/libbid/bid128_to_int8.c: Likewise.
9504 * config/libbid/bid128_to_uint16.c: Likewise.
9505 * config/libbid/bid128_to_uint32.c: Likewise.
9506 * config/libbid/bid128_to_uint64.c: Likewise.
9507 * config/libbid/bid128_to_uint8.c: Likewise.
9508 * config/libbid/bid32_to_bid128.c: Likewise.
9509 * config/libbid/bid32_to_bid64.c: Likewise.
9510 * config/libbid/bid64_add.c: Likewise.
9511 * config/libbid/bid64_compare.c: Likewise.
9512 * config/libbid/bid64_div.c: Likewise.
9513 * config/libbid/bid64_fma.c: Likewise.
9514 * config/libbid/bid64_logb.c: Likewise.
9515 * config/libbid/bid64_minmax.c: Likewise.
9516 * config/libbid/bid64_mul.c: Likewise.
9517 * config/libbid/bid64_next.c: Likewise.
9518 * config/libbid/bid64_noncomp.c: Likewise.
9519 * config/libbid/bid64_quantize.c: Likewise.
9520 * config/libbid/bid64_rem.c: Likewise.
9521 * config/libbid/bid64_round_integral.c: Likewise.
9522 * config/libbid/bid64_scalb.c: Likewise.
9523 * config/libbid/bid64_sqrt.c: Likewise.
9524 * config/libbid/bid64_string.c: Likewise.
9525 * config/libbid/bid64_to_bid128.c: Likewise.
9526 * config/libbid/bid64_to_int16.c: Likewise.
9527 * config/libbid/bid64_to_int32.c: Likewise.
9528 * config/libbid/bid64_to_int64.c: Likewise.
9529 * config/libbid/bid64_to_int8.c: Likewise.
9530 * config/libbid/bid64_to_uint16.c: Likewise.
9531 * config/libbid/bid64_to_uint32.c: Likewise.
9532 * config/libbid/bid64_to_uint64.c: Likewise.
9533 * config/libbid/bid64_to_uint8.c: Likewise.
9534 * config/libbid/bid_b2d.h: Likewise.
9535 * config/libbid/bid_binarydecimal.c: Likewise.
9536 * config/libbid/bid_conf.h: Likewise.
9537 * config/libbid/bid_convert_data.c: Likewise.
9538 * config/libbid/bid_decimal_data.c: Likewise.
9539 * config/libbid/bid_decimal_globals.c: Likewise.
9540 * config/libbid/bid_div_macros.h: Likewise.
9541 * config/libbid/bid_dpd.c: Likewise.
9542 * config/libbid/bid_flag_operations.c: Likewise.
9543 * config/libbid/bid_from_int.c: Likewise.
9544 * config/libbid/bid_functions.h: Likewise.
9545 * config/libbid/bid_gcc_intrinsics.h: Likewise.
9546 * config/libbid/bid_inline_add.h: Likewise.
9547 * config/libbid/bid_internal.h: Likewise.
9548 * config/libbid/bid_round.c: Likewise.
9549 * config/libbid/bid_sqrt_macros.h: Likewise.
9550
95512009-04-09 Jakub Jelinek <jakub@redhat.com>
9552
9553 * Makefile.in: Change copyright header to refer to version
9554 3 of the GNU General Public License and to point readers at the
9555 COPYING3 file and the FSF's license web page.
9556 * config.host: Likewise.
9557
633dd061
AM
95582009-04-07 Alan Modra <amodra@bigpond.net.au>
9559
9560 * config.host: Reorder and merge to match config.gcc change.
9561
457d1d00
AM
95622009-04-03 Alan Modra <amodra@bigpond.net.au>
9563
9564 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
9565
52c0e446
JM
95662009-03-28 Joseph Myers <joseph@codesourcery.com>
9567
9568 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
9569 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
9570 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
9571 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
9572
ba181049
UB
95732009-02-12 Uros Bizjak <ubizjak@gmail.com>
9574
9575 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
9576 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
9577
c252db20
L
95782009-02-12 H.J. Lu <hongjiu.lu@intel.com>
9579
ba181049
UB
9580 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
9581 ia64/t-softfp-compat to tmake_file.
c252db20
L
9582
9583 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
9584
9585 * config/ia64/__divxf3.asm: New.
9586 * config/ia64/_fixtfdi.asm: Likewise.
9587 * config/ia64/_fixunstfdi.asm: Likewise.
9588 * config/ia64/_floatditf.asm: Likewise.
9589 * config/ia64/t-fprules-softfp: Likewise.
9590 * config/ia64/t-softfp-compat: Likewise.
9591 * config/ia64/tf-signs.c: Likewise.
9592
c60535f9
BE
95932009-01-18 Ben Elliston <bje@au.ibm.com>
9594
9595 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
9596
ce16861e
BE
95972009-01-16 Ben Elliston <bje@au.ibm.com>
9598
9599 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
9600 to tmake_file.
9601
bcf4713b
BE
96022009-01-13 Ben Elliston <bje@au.ibm.com>
9603
9604 * config/t-softfp: New file.
9605 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
9606 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
9607
7d296953 96082009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
2042cb04
JS
9609
9610 * config.host: Add m32r*-*-rtems*.
9611
7d296953 96122008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
541ed00e
JS
9613
9614 * config.host: Add m32c*-*-rtems*.
9615
19523300
RO
96162008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9617
9618 PR bootstrap/33100
9619 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
9620 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
9621 * configure: Regenerate.
9622 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
9623 tmake_file here from gcc/config.gcc.
9624 Move extra_parts here from gcc/config.gcc.
9625 * config/i386/t-sol2: Move here from gcc/config/i386.
9626 Use gcc_srcdir instead of srcdir.
9627
0a4a51c7
AN
96282008-11-18 Adam Nemet <anemet@caviumnetworks.com>
9629
9630 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
9631 case.
9632
2a761e46
TS
96332008-11-09 Thomas Schwinge <tschwinge@gnu.org>
9634
9635 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
9636
c0451df7
TS
96372008-10-08 Thomas Schwinge <tschwinge@gnu.org>
9638
9639 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
9640
358da97e
HS
96412008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
9642
9643 Add picoChip port.
9644 * config.host: Add picochip-*-*.
9645
c660f132
BW
96462008-08-06 Bob Wilson <bob.wilson@acm.org>
9647
9648 * config.host: Match more processor names for Xtensa.
9649
d1349557
L
96502008-07-08 H.J. Lu <hongjiu.lu@intel.com>
9651
9652 * config/i386/64/t-softfp-compat: Update comments.
9653
dd7b73c0
L
96542008-07-07 H.J. Lu <hongjiu.lu@intel.com>
9655
9656 * config/i386/64/_divtc3-compat.c: Moved to ...
9657 * config/i386/64/_divtc3.c: Here.
9658
9659 * config/i386/64/_multc3-compat.c: Moved to ...
9660 * config/i386/64/_multc3.c: Here.
9661
9662 * config/i386/64/_powitf2-compat.c: Moved to ...
9663 * config/i386/64/_powitf2.c: Here.
9664
9665 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
9666 .c suffix instead of -compat.c.
9667
6e1fab3d
UB
96682008-07-05 Uros Bizjak <ubizjak@gmail.com>
9669
9670 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
9671 (_FP_MUL_MEAT_D): Ditto.
9672 (_FP_DIV_MEAT_S): Ditto.
9673 (_FP_DIV_MEAT_D): Ditto.
9674
f92518d7
RS
96752008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
9676
9677 * Makefile.in: Add support for __sync_* libgcc functions.
9678
d0aede14
L
96792008-07-03 H.J. Lu <hongjiu.lu@intel.com>
9680
9681 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
9682
c174f11c
L
96832008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9684
9685 PR boostrap/36702
9686 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
9687 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
9688
9689 * config/i386/64/t-fprules-softfp: Moved to ...
9690 * config/i386/64/t-softfp-compat: This. New.
9691
5f464fa2
UB
96922008-07-02 Uros Bizjak <ubizjak@gmail.com>
9693
9694 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
9695 Initialize f with 0.0.
9696
ff473280
L
96972008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9698
9699 PR target/36669
9700 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
9701
9702 * config/i386/64/_divtc3-compat.c: New.
9703 * config/i386/64/_multc3-compat.c: Likewise.
9704 * config/i386/64/_powitf2-compat.c: Likewise.
9705 * config/i386/64/eqtf2.c: Likewise.
9706 * config/i386/64/getf2.c: Likewise.
9707 * config/i386/64/letf2.c: Likewise.
9708 * config/i386/64/t-fprules-softfp: Likewise.
9709
97102008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9711
9712 * config.host: Add i386/${host_address}/t-fprules-softfp to
9713 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
dfb3b0e3 9714 i[34567]86-*-linux*, x86_64-*-linux*.
ff473280
L
9715
9716 * configure.ac: Set host_address to 64 or 32 for x86.
9717 * configure: Regenerated.
9718
9719 * Makefile.in (config.status): Also depend on
9720 $(srcdir)/config.host.
9721
9722 * config/i386/32/t-fprules-softfp: New.
9723 * config/i386/32/tf-signs.c: Likewise.
9724
9725 * config/i386/64/sfp-machine.h: New. Moved from gcc.
9726
97272008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9728 Uros Bizjak <ubizjak@gmail.com>
9729
9730 * config/i386/32/sfp-machine.h: New.
9731
30551d99
NF
97322008-06-26 Nathan Froyd <froydnj@codesourcery.com>
9733
9734 * config/rs6000/t-ppccomm: Remove rules that conflict with
9735 auto-generated rules.
9736
18c04407
RW
97372008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9738
9739 * configure.ac: sinclude override.m4.
9740 * configure: Regenerate.
9741
10fbe77a
BRF
97422008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
9743
9744 * configure: Regenerate.
9745
bc6d4c3f
JM
97462008-06-10 Joseph Myers <joseph@codesourcery.com>
9747
9748 * Makefile.in (DECNUMINC): Remove
9749 -I$(MULTIBUILDTOP)../../libdecnumber.
9750 * gstdint.h: New.
9751
cd985f66
JM
97522008-06-07 Joseph Myers <joseph@codesourcery.com>
9753
9754 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
9755 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
9756 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
9757 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
9758 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
9759 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
9760 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
9761 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
9762 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
9763 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
9764 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
9765 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
9766 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
9767 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
9768
93fea8d3
AL
97692008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
9770
9771 * config.host (sh2[lbe]*-*-linux*): Allow target.
9772
18724e30
NF
97732008-04-30 Nathan Froyd <froydnj@codesourcery.com>
9774
9775 * config/rs6000/t-ppccomm: Add build rules for new files.
9776 (LIB2ADD_ST): New variable.
9777
47583040
AH
97782008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
9779
9780 PR target/34210
9781 PR target/35508
9782 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
9783 * config/t-avr: New file. Build 16bit libgcc functions.
9784
cf8e67fe
JJ
97852008-03-02 Jakub Jelinek <jakub@redhat.com>
9786
9787 PR target/35401
9788 * config/t-slibgcc-darwin: Make install-leaf dependent on
9789 install-darwin-libgcc-stubs instead of install.
9790
8d8da227
JM
97912008-01-25 Joseph Myers <joseph@codesourcery.com>
9792
9793 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
9794 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
9795 sh-*-rtemscoff*): Remove cases.
9796
edbf8b16
RS
97972007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
9798
9799 * Makefile.in (all): Use install-leaf rather than install.
9800 (install): Split most of the rule into...
9801 (install-leaf): ...this new one.
9802
89deeaff
EK
98032007-12-19 Etsushi Kato <ek.kato@gmail.com>
9804 Paolo Bonzini <bonzini@gnu.org>
9805
9806 PR target/30572
5f464fa2
UB
9807 * Makefile.in: Use @shlib_slibdir@ substitution to get
9808 correct install name on darwin.
89deeaff 9809 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
dfb3b0e3 9810
4081d704
HPN
98112007-12-15 Hans-Peter Nilsson <hp@axis.com>
9812
9813 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
9814 cris-*-elf and cris-*-none.
9815 (crisv32-*-linux*): Similar, as cris-*-linux*.
9816
f43e89a3
RIL
98172007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
9818
9819 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
9820
b4e9c2c6
L
98212007-10-27 H.J. Lu <hongjiu.lu@intel.com>
9822
9823 PR regression/33926
9824 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
9825 * configure: Regenerated.
9826
b2a00c89
L
98272007-09-27 H.J. Lu <hongjiu.lu@intel.com>
9828
9829 * Makefile.in (dfp-filenames): Replace decimal_globals,
9830 decimal_data, binarydecimal and convert_data with
9831 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
9832 and bid_convert_data, respectively.
9833
8d2a9e0e
CF
98342007-09-17 Chao-ying Fu <fu@mips.com>
9835 Nigel Stephens <nigel@mips.com>
9836
9837 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
9838 * Makefile.in (fixed_point): Define.
9839 Check if fixed_point is yes to build support functions.
9840 * configure.ac: Check for fixed_point support.
9841 * configure: Regenerated.
9842 * gen-fixed.sh: New file to generate lists of fixed-point labels,
9843 funcs, modes, from, to.
9844
2b53935d
JJ
98452007-09-11 Janis Johnson <janis187@us.ibm.com
9846
9847 * Makefile.in (dfp-filenames): Add bid128_noncomp.
9848
2533577f
JJ
98492007-09-10 Janis Johnson <janis187@us.ibm.com>
9850
9851 * Makefile.in (dfp-filenames): Remove decUtility, add
9852 decDouble, decPacked, decQuad, decSingle.
9853
3ae3dbd6
HK
98542007-08-27 Hans Kester <hans.kester@ellips.nl>
9855
9856 * config.host : Add x86_64-elf target.
9857
22867d02
L
98582007-07-06 H.J. Lu <hongjiu.lu@intel.com>
9859
9860 * configure.ac (set_have_cc_tls): Add a missing =.
9861 * configure: Regenerated.
9862
6f461e76
L
98632007-07-06 H.J. Lu <hongjiu.lu@intel.com>
9864
9865 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
9866 and x86_64-*-linux*.
9867
9868 * config/t-tls: New file.
9869
dfb3b0e3 9870 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
6f461e76
L
9871
9872 * configure.ac: Include ../config/enable.m4 and
9873 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
9874 supports TLS and substitute set_have_cc_tls.
9875 * configure: Regenerated.
9876
200359e8
L
98772007-07-04 H.J. Lu <hongjiu.lu@intel.com>
9878
9879 * Makefile.in: Use libbid for DFP when BID is enabled.
9880
76f5e200
DS
98812007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
9882
9883 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
dfb3b0e3 9884 extra_parts. Add config/i386/t-cygming to tmake_file.
76f5e200
DS
9885 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
9886
9bd196f0 98872007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
200359e8 9888 Danny Smith <dannysmith@users.sourceforge.net>
9bd196f0
ZM
9889
9890 PR target/29498
9891 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
9892 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
9893 * config/i386/t-crtfm: Compile crtfastmath.o with
9894 -minline-all-stringops.
9895
1910440e
RS
98962007-05-10 Richard Sandiford <richard@codesourcery.com>
9897
9898 * config.host (sparc-wrs-vxworks): New target.
9899
7d33c31d
KH
99002007-04-14 Kazu Hirata <kazu@codesourcery.com>
9901
9902 * config.host: Recognize fido.
9903
96fccd0d
JJ
99042007-04-04 Janis Johnson <janis187@us.ibm.com>
9905
9906 * configure: Check host, not target, for decimal float support.
9907
577565f9
UB
99082007-04-03 Uros Bizjak <ubizjak@gmail.com>
9909
9910 * config/i386/t-crtpc: New file.
9911 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
5f464fa2 9912 (x86_64-*-linux*): Ditto.
577565f9 9913
ccf8e764
RH
99142007-02-30 Kai Tietz <kai.tietz@onevision.com>
9915
9916 * config.host (x86_64-*-mingw*): New target.
9917
79b87c74
MM
99182007-03-23 Michael Meissner <michael.meissner@amd.com>
9919 H.J. Lu <hongjiu.lu@intel.com>
9920
9921 * Makefile.in (enable_decimal_float): New.
9922 (DECNUMINC): Add
9923 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
9924 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
9925 (decbits-filenames): This.
9926 (decbits-objects): New.
9927 (libgcc-objects): Add $(decbits-objects).
9928
9929 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
9930 Substitute enable_decimal_float.
9931 * configure: Regenerated.
9932
8fce4e31
HPN
99332007-03-19 Hans-Peter Nilsson <hp@axis.com>
9934
9935 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
9936
e8bb4597
BM
99372007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
9938
9939 * Makefile.in (install-info): New dummy target.
9940
344189f9
BS
99412007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
9942
9943 * config.host (bfin*-linux-uclibc*): Set extra_parts.
9944
ac84c172
BM
99452007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
9946
9947 * Makefile.in: Add install-html and install-pdf dummy
9948 targets.
9949
cd5c2357
RS
99502007-02-05 Roger Sayle <roger@eyesopen.com>
9951 Daniel Jacobowitz <dan@codesourcery.com>
9952
9953 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
9954 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
9955 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
9956
d9a66f98
JJ
99572007-01-29 Janis Johnson <janis187@us.ibm.com>
9958
9959 * Makefile.in (dec-filenames): Add decExcept.
9960
9891ec5f
DJ
99612007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
9962
9963 PR bootstrap/30469
9964 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
9965 -fprofile-use.
9966
d6efbf5a
DJ
99672007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
9968
9969 * configure.ac: Add --enable-version-specific-runtime-libs.
9970 Correct $slibdir default.
9971 * configure: Regenerated.
9972
17caeff2
JM
99732007-01-23 Joseph Myers <joseph@codesourcery.com>
9974
9975 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
9976
5ea41e3a
AP
99772007-01-21 Andrew Pinski <pinskia@gmail.com>
9978
9979 PR target/30519
9980 * config.host (alpha*-*-linux*): Set extra_parts.
9981
26900826
KK
99822007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
9983
9984 * config/sh/t-linux: New.
9985 * config.host (sh*-*-linux*): Set tmake_file.
9986
97af925b
DJ
99872007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
9988
9989 * Makefile.in (install): Handle multilibs.
9990
b0088af7
BM
99912007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
9992
9993 * Makefile.in: Added .PHONY entry for documentation targets.
9994
e0a9456a
BM
99952007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
9996
9997 * Makefile.in: Add empty info, html, dvi, pdf targets.
9998
7fd453b4
MS
99992007-01-04 Mike Stump <mrs@apple.com>
10000
10001 * Makefile.in (MAKEINFO): Remove.
10002 (PERL): Likewise.
10003
14e8fc8b
PB
100042007-01-04 Paolo Bonzini <bonzini@gnu.org>
10005
10006 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
10007 * configure: Regenerate.
10008 * Makefile.in (host_subdir): Substitute it.
dfb3b0e3 10009 (gcc_objdir): Use it.
14e8fc8b 10010
1555beba
DJ
100112007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
10012
10013 * config.host (ia64*-*-linux*): Set tmake_file.
10014
79e6eaeb
DJ
100152007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
10016
10017 * Makefile.in (version): Define.
10018
fa958513
DJ
100192007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
10020 Paolo Bonzini <bonzini@gnu.org>
10021
10022 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
10023 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
10024 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
10025 config/sparc/t-crtfm, config/t-slibgcc-darwin,
10026 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
10027 shared-object.mk, siditi-object.mk, static-object.mk: New files.
10028 * configure: Generated.
818ab71a 10029\f
a5544970 10030Copyright (C) 2007-2019 Free Software Foundation, Inc.
818ab71a
JJ
10031
10032Copying and distribution of this file, with or without modification,
10033are permitted in any medium without royalty provided the copyright
10034notice and this notice are preserved.