]> git.ipfire.org Git - thirdparty/gcc.git/blame - libgcc/ChangeLog
dwarf2out.c (add_scalar_info): Add back refererence to existing DIE if it has the...
[thirdparty/gcc.git] / libgcc / ChangeLog
CommitLineData
5a460280
ID
12019-06-27 Ilia Diachkov <ilia.diachkov@optimitech.com>
2
3 * Makefile.in (USE_TM_CLONE_REGISTRY): New.
4 (CRTSTUFF_CFLAGS): Use USE_TM_CLONE_REGISTRY.
5 * configure.ac: Add --disable-tm-clone-registry option.
6 * configure: Regenerate.
7
45309d28
ML
82019-06-27 Martin Liska <mliska@suse.cz>
9
10 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Remove obviously
11 dead assignments.
12 * libgcov-util.c: Likewise.
13
c2f7a665
ML
142019-06-27 Martin Liska <mliska@suse.cz>
15
16 * libgcov-util.c (gcov_profile_merge): Release allocated
17 memory.
18 (calculate_overlap): Likewise.
19
a8e55c61
IS
202019-06-25 Iain Sandoe <iain@sandoe.co.uk>
21
22 * config.host: Add libef_ppc.a to the extra files for powerpc-darwin.
23 * config/rs6000/t-darwin: (PPC_ENDFILE_SRC, PPC_ENDFILE_OBJS): New.
24 Build objects for the out of line save/restore register functions
25 so that they can be used for any supported Darwin version.
26 * config/t-darwin: Default the build Darwin version to Darwin8
27 (MacOS 10.4).
28
e5ce4cbc
ML
292019-06-25 Martin Liska <mliska@suse.cz>
30
31 * libgcov-driver-system.c (replace_filename_variables): Do not
32 call strlen with NULL argument.
33
52a47d28
AS
342019-06-25 Andrew Stubbs <ams@codesourcery.com>
35
36 * config/gcn/t-amdgcn (LIB2ADD): Add unwind-gcn.c.
37 * config/gcn/unwind-gcn.c: New file.
38
76d46331
KCY
392019-06-25 Kwok Cheung Yeung <kcy@codesourcery.com>
40 Andrew Stubbs <ams@codesourcery.com>
41
42 * configure: Regenerate.
43 * config/gcn/gthr-gcn.h: New.
44
787783a0
TV
452019-06-18 Tom de Vries <tdevries@suse.de>
46
47 * config/nvptx/crt0.c (__main): Declare.
48
f32f7585
MG
492019-06-17 Matthew Green <mrg@eterna.com.au>
50 Maya Rashish <coypu@sdf.org>
51
52 * config.host (aarch64*-*-netbsd*): New case.
53
0fcc78f7
JL
542019-06-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
55
56 * config/msp430/slli.S (__mspabi_sllll): New library function for
57 performing a logical left shift of a 64-bit value.
58 * config/msp430/srai.S (__mspabi_srall): New library function for
59 performing a arithmetic right shift of a 64-bit value.
60 * config/msp430/srll.S (__mspabi_srlll): New library function for
61 performing a logical right shift of a 64-bit value.
62
b27c1082
MT
632019-06-14 Matt Thomas <matt@3am-software.com>
64 Matthew Green <mrg@eterna.com.au>
65 Nick Hudson <skrll@netbsd.org>
66 Maya Rashish <coypu@sdf.org>
67
68 * config.host (arm*-*-netbsdelf*): Add support for EABI configurations.
69 * config/arm/t-netbsd (LIB1ASMFUNCS): Add some additional assembler
70 functions to build.
71 * config/arm/t-netbsd-eabi: New file.
72
ae7deb4b
DD
732019-06-12 Dimitar Dimitrov <dimitar@dinux.eu>
74
75 * config.host: Add PRU target.
76 * config/pru/asri.c: New file.
77 * config/pru/eqd.c: New file.
78 * config/pru/eqf.c: New file.
79 * config/pru/ged.c: New file.
80 * config/pru/gef.c: New file.
81 * config/pru/gtd.c: New file.
82 * config/pru/gtf.c: New file.
83 * config/pru/led.c: New file.
84 * config/pru/lef.c: New file.
85 * config/pru/lib2bitcountHI.c: New file.
86 * config/pru/lib2divHI.c: New file.
87 * config/pru/lib2divQI.c: New file.
88 * config/pru/lib2divSI.c: New file.
89 * config/pru/libgcc-eabi.ver: New file.
90 * config/pru/ltd.c: New file.
91 * config/pru/ltf.c: New file.
92 * config/pru/mpyll.S: New file.
93 * config/pru/pru-abi.h: New file.
94 * config/pru/pru-asm.h: New file.
95 * config/pru/pru-divmod.h: New file.
96 * config/pru/sfp-machine.h: New file.
97 * config/pru/t-pru: New file.
98
0d7b3e47
JJ
992019-06-11 Jakub Jelinek <jakub@redhat.com>
100
101 * libgcov-merge.c (__gcov_merge_single): Revert previous change.
102
54e2d83c
ML
1032019-06-10 Martin Liska <mliska@suse.cz>
104
105 PR bootstrap/90808
106 * libgcov.h: Add ATTRIBUTE_UNUSED.
107
92d41717
ML
1082019-06-10 Martin Liska <mliska@suse.cz>
109
110 * Makefile.in: Add __gcov_one_value_profiler_v2,
111 __gcov_one_value_profiler_v2_atomic and
112 __gcov_indirect_call_profiler_v4.
113 * libgcov-merge.c (__gcov_merge_single): Change
114 function signature.
115 (merge_single_value_set): New.
116 * libgcov-profiler.c (__gcov_one_value_profiler_body):
117 Update functionality.
118 (__gcov_one_value_profiler): Remove.
119 (__gcov_one_value_profiler_v2): ... this.
120 (__gcov_one_value_profiler_atomic): Rename to ...
121 (__gcov_one_value_profiler_v2_atomic): this.
122 (__gcov_indirect_call_profiler_v3): Rename to ...
123 (__gcov_indirect_call_profiler_v4): ... this.
124 * libgcov.h (__gcov_one_value_profiler): Remove.
125 (__gcov_one_value_profiler_atomic): Remove.
126 (__gcov_one_value_profiler_v2_atomic): New.
127 (__gcov_indirect_call_profiler_v3): Remove.
128 (__gcov_one_value_profiler_v2): New.
129 (__gcov_indirect_call_profiler_v4): New.
130 (gcov_get_counter_ignore_scaling): New function.
131
e37333ba
ML
1322019-06-07 Martin Liska <mliska@suse.cz>
133
134 * Makefile.in: Remove usage of
135 _gcov_merge_icall_topn.
136 * libgcov-driver.c (gcov_sort_n_vals): Remove.
137 (gcov_sort_icall_topn_counter): Likewise.
138 (gcov_sort_topn_counter_arrays): Likewise.
139 (dump_one_gcov): Remove call to gcov_sort_topn_counter_arrays.
140 * libgcov-merge.c (__gcov_merge_icall_topn): Remove.
141 * libgcov-profiler.c (__gcov_topn_value_profiler_body):
142 Likewise.
143 (GCOV_ICALL_COUNTER_CLEAR_THRESHOLD): Remove.
144 (struct indirect_call_tuple): Remove.
145 (__gcov_indirect_call_topn_profiler): Remove.
146 * libgcov-util.c (__gcov_icall_topn_counter_op): Remove.
147 * libgcov.h (gcov_sort_n_vals): Remove.
148 (L_gcov_merge_icall_topn): Likewise.
149 (__gcov_merge_icall_topn): Likewise.
150 (__gcov_indirect_call_topn_profiler): Likewise.
151
34a4a9c2
IS
1522019-06-06 Iain Sandoe <iain@sandoe.co.uk>
153
154 * config/rs6000/t-darwin: Ensure that the unwinder is built with
155 altivec enabled.
156
d1b2f85f
JL
1572019-06-06 Jozef Lawrynowicz <jozef.l@mittosystems.com>
158
159 * config/msp430/slli.S (__mspabi_slli_n): Put function in its own
160 section.
161 (__mspabi_slli): Likewise.
162 (__mspabi_slll_n): Likewise.
163 (__mspabi_slll): Likewise.
164 * config/msp430/srai.S (__mspabi_srai_n): Likewise.
165 (__mspabi_srai): Likewise.
166 (__mspabi_sral_n): Likewise.
167 (__mspabi_sral): Likewise.
168 * config/msp430/srli.S (__mspabi_srli_n): Likewise.
169 (__mspabi_srli): Likewise.
170 (__mspabi_srll_n): Likewise.
171 (__mspabi_srll): Likewise.
172
e69a13d1
YS
1732019-06-05 Yoshinori Sato <ysato@users.sourceforge.jp>
174
175 * config.host (rx-*-linux*): Add t-fdpbit to tmake_file
176 Add appropriate tm_file clause as well.
177 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Remove.
178
b009eac1
JC
1792019-06-05 James Clarke <jrtc27@jrtc27.com>
180
181 * config/ia64/crtbegin.S (__dso_handle): Put in .sdata/.sbss
182 rather than .data/.bss so it can be accessed via gp-relative
183 addressing.
184
781d39f2
DE
1852019-06-05 David Edelsohn <dje.gcc@gmail.com>
186
187 * config/rs6000/aix-unwind.h (LR_REGNO): Rename to R_LR.
188 (CR2_REGNO): Rename to R_CR2.
189 (XER_REGNO): Rename to R_XER.
190 (FIRST_ALTIVEC_REGNO): Rename to R_FIRST_ALTIVEC.
191 (VRSAVE_REGNO): Rename to R_VRSAVE.
192 (VSCR_REGNO): R_VSCR.
193
76aaa9cd
YS
1942019-05-29 Yoshinori Sato <ysato@users.sourceforge.jp>
195
196 * config.host (rx-*-linux*): Add new case.
197 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Force DFmode to SFmode.
198
8fc16d72
ST
1992019-05-29 Sam Tebbs <sam.tebbs@arm.com>
200
201 * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key): New
202 function.
203 * config/aarch64/aarch64-unwind.h (aarch64_post_extract_frame_addr,
204 aarch64_post_frob_eh_handler_addr): Add check for b-key.
205 * config/aarch64/aarch64-unwind-h (aarch64_post_extract_frame_addr,
206 aarch64_post_frob_eh_handler_addr, aarch64_post_frob_update_context):
207 Rename RA_A_SIGNED_BIT to RA_SIGNED_BIT.
208 * unwind-dw2-fde.c (get_cie_encoding): Add check for 'B' in augmentation
209 string.
210 * unwind-dw2.c (extract_cie_info): Add check for 'B' in augmentation
211 string.
212 (RA_A_SIGNED_BIT): Rename to RA_SIGNED_BIT.
213
e54b1a92
RO
2142019-05-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
215
216 * config/sparc/sol2-unwind.h [__arch64__] (sparc64_is_sighandler):
217 Remove Solaris 9 and 10 support.
218 (sparc_is_sighandler): Likewise.
219
abbb8307
JDA
2202019-05-26 John David Anglin <danglin@gcc.gnu.org>
221
222 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Add cast.
223
2581344d
L
2242019-05-17 H.J. Lu <hongjiu.lu@intel.com>
225
226 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
227 4_FP_W_TYPEs are used for IEEE quad precision.
228 * soft-fp/extendhftf2.c: Likewise.
229 * soft-fp/extendsftf2.c: Likewise.
230 * soft-fp/extendxftf2.c: Likewise.
231 * soft-fp/trunctfdf2.c: Likewise.
232 * soft-fp/trunctfhf2.c: Likewise.
233 * soft-fp/trunctfsf2.c: Likewise.
234 * soft-fp/trunctfxf2.c: Likewise.
235 * config/rs6000/ibm-ldouble.c: Likewise.
236
ccd1242e
RO
2372019-05-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
238
239 * config.host: Simplify various *-*-solaris2.1[0-9]* to
240 *-*-solaris2*.
241 * configure.ac: Likewise.
242 * configure: Regenerate.
243
244 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
245 Solaris 10 and Solaris 11 < snv_125 handling.
246
ef5eb79d
IS
2472019-05-12 Iain Sandoe <iain@sandoe.co.uk>
248
249 * config/rs6000/darwin-vecsave.S: Set .machine appropriately.
250
4f0e90fa
HL
2512019-05-07 Hongtao Liu <hongtao.liu@intel.com>
252
253 * config/i386/cpuinfo.c (get_available_features): Detect BF16.
254 * config/i386/cpuinfo.h (enum processor_features): Add
255 FEATURE_AVX512BF16.
256
48528842
RR
2572019-04-23 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
258 Bernd Edlinger <bernd.edlinger@hotmail.de>
259 Jakub Jelinek <jakub@redhat.com>
260
261 PR target/89093
262 * config/arm/pr-support.c: Add #pragma GCC target("general-regs-only").
263 * config/arm/unwind-arm.c: Likewise.
264 * unwind-c.c (PERSONALITY_FUNCTION): Add general-regs-only target
265 attribute for ARM.
266
887e182f
MC
2672019-04-15 Monk Chiang <sh.chiang04@gmail.com>
268
269 * config/nds32/linux-unwind.h (SIGRETURN): Remove.
270 (RT_SIGRETURN): Update.
271 (nds32_fallback_frame_state): Update.
272
a90b0cdd
MS
2732019-02-21 Martin Sebor <msebor@redhat.com>
274
275 * libgcc2.h (__clear_cache): Correct signature.
276 * libgcc2.c (__clear_cache): Same.
277
1ed28eda
UB
2782019-02-20 Uroš Bizjak <ubizjak@gmail.com>
279
280 * config/alpha/linux-unwind.h (alpha_fallback_frame_state):
281 Cast 'mcontext_t *' &rt_->uc.uc_mcontext to 'struct sigcontext *'.
282
fe95aee9
UB
2832019-02-19 Uroš Bizjak <ubizjak@gmail.com>
284
285 * unwind-dw2.c (_Unwind_GetGR) [DWARF_ZERO_REG]: Compare
286 regno instead of index to DWARF_ZERO_REG.
287
bf7988f1
EB
2882019-02-15 Eric Botcazou <ebotcazou@adacore.com>
289
290 * config/visium/lib2funcs.c (__set_trampoline_parity): Replace
291 TRAMPOLINE_SIZE with __LIBGCC_TRAMPOLINE_SIZE__.
292
ba2c1ca8
UB
2932019-01-31 Uroš Bizjak <ubizjak@gmail.com>
294
295 * config/alpha/t-linux: Add -mfp-rounding-mode=d
296 to HOST_LIBGCC2_CFLAGS.
297
6395ba73
L
2982019-01-23 Joseph Myers <joseph@codesourcery.com>
299
300 PR libgcc/88931
ba2c1ca8 301 * libgcc2.c (FSTYPE FUNC (DWtype u)): Correct no leading bits case.
6395ba73 302
756721ba
ML
3032019-01-18 Martin Liska <mliska@suse.cz>
304
305 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Rename
306 to ...
307 (__gcov_indirect_call_profiler_v3): ... this.
308 * libgcov.h (__gcov_indirect_call_profiler_v2): Likewise.
309 (__gcov_indirect_call_profiler_v3): Likewise.
310 * Makefile.in: Bump function name.
311
d273c40a
ML
3122019-01-18 Martin Liska <mliska@suse.cz>
313
314 * libgcov-driver.c (GCOV_PROF_PREFIX): Define.
315 (gcov_version): Use in gcov_error.
316 (merge_one_data): Likewise.
317 (dump_one_gcov): Likewise.
318
be9d9fdb
ML
3192019-01-18 Martin Liska <mliska@suse.cz>
320
321 * libgcov-driver.c (gcov_version_string): New function.
322 (gcov_version): Convert version integer into string.
323
91d7b7fe
AS
3242019-01-17 Andrew Stubbs <ams@codesourcery.com>
325 Kwok Cheung Yeung <kcy@codesourcery.com>
326 Julian Brown <julian@codesourcery.com>
327 Tom de Vries <tom@codesourcery.com>
328
329 * config.host: Recognize amdgcn*-*-amdhsa.
330 * config/gcn/crt0.c: New file.
331 * config/gcn/lib2-divmod-hi.c: New file.
332 * config/gcn/lib2-divmod.c: New file.
333 * config/gcn/lib2-gcn.h: New file.
334 * config/gcn/sfp-machine.h: New file.
335 * config/gcn/t-amdgcn: New file.
336
67914693
SL
3372019-01-09 Sandra Loosemore <sandra@codesourcery.com>
338
339 PR other/16615
340
341 * config/c6x/libunwind.S: Mechanically replace "can not" with
342 "cannot".
343 * config/tilepro/atomic.h: Likewise.
344 * config/vxlib-tls.c: Likewise.
345 * generic-morestack-thread.c: Likewise.
346 * generic-morestack.c: Likewise.
347 * mkmap-symver.awk: Likewise.
348
a5544970
JJ
3492019-01-01 Jakub Jelinek <jakub@redhat.com>
350
351 Update copyright years.
352
da77eace
L
3532018-12-20 H.J. Lu <hongjiu.lu@intel.com>
354
355 * unwind-pe.h (read_encoded_value_with_base): Add GCC pragma
356 to ignore -Waddress-of-packed-member.
357
72e3a529
TP
3582018-12-19 Thomas Preud'homme <thomas.preudhomme@linaro.org>
359
360 * /config/arm/lib1funcs.S (FUNC_START): Remove unused sp_section
361 parameter and corresponding code.
362 (ARM_FUNC_START): Likewise in both definitions.
363 Also update footer comment about condition that need to match with
364 gcc/config/arm/elf.h to also include libgcc/config/arm/t-arm.
365 * config/arm/ieee754-df.S (muldf3): Also build it if L_arm_muldf3 is
366 defined. Weakly define it in this case.
367 * config/arm/ieee754-sf.S (mulsf3): Likewise with L_arm_mulsf3.
368 * config/arm/t-elf (LIB1ASMFUNCS): Build _arm_muldf3.o and
369 _arm_mulsf3.o before muldiv versions if targeting Thumb-1 only. Add
370 comment to keep condition in sync with the one in
371 libgcc/config/arm/lib1funcs.S and gcc/config/arm/elf.h.
372
5d54c798
WX
3732018-12-18 Wei Xiao <wei3.xiao@intel.com>
374
375 * config/i386/cpuinfo.c (get_intel_cpu): Handle cascadelake.
376 * config/i386/cpuinfo.h: Add INTEL_COREI7_CASCADELAKE.
377
5a2580b6
RV
3782018-12-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
379
380 * config/rs6000/tramp.S (__trampoline_setup): Also emit .size
381 and .cfi_endproc directives for VxWorks targets.
382
c0c5112b
PK
3832018-12-05 Paul Koning <ni1d@arrl.net>
384
385 * udivmodhi4.c (__udivmodhi4): Fix loop end check.
386
1ea7ea18
AM
3872018-11-27 Alan Modra <amodra@gmail.com>
388
389 * config/rs6000/morestack.S (__stack_split_initialize),
390 (__morestack_get_guard, __morestack_set_guard),
391 (__morestack_make_guard): Provide CFI covering these functions.
392 * config/rs6000/tramp.S (__trampoline_setup): Likewise.
393
ff641ae1
XQ
3942018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
395
1ea7ea18 396 * config/csky/linux-unwind.h (sc_pt_regs): Update for kernel.
ff641ae1
XQ
397 (sc_pt_regs_lr): Update for kernel.
398 (sc_pt_regs_tls): Update for kernel.
399
28209372
XQ
4002018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
401
402 * config/csky/linux-unwind.h: Fix coding style.
403
b2a71af6
XQ
4042018-11-13 Xianmiao Qu <xianmiao_qu@c-sky.com>
405
406 * config/csky/linux-unwind.h (_sig_ucontext_t): Remove.
1ea7ea18 407 (csky_fallback_frame_state): Modify the check of the
b2a71af6
XQ
408 instructions to adapt to changes in the kernel
409
d929e137
SH
4102018-11-09 Stafford Horne <shorne@gmail.com>
411 Richard Henderson <rth@twiddle.net>
412
413 * config.host: Add OpenRISC support.
414 * config/or1k/*: New.
415
222cfefa
KC
4162018-11-08 Kito Cheng <kito@andestech.com>
417
418 * soft-fp/adddf3.c: Update from glibc.
419 * soft-fp/addsf3.c: Likewise.
420 * soft-fp/addtf3.c: Likewise.
421 * soft-fp/divdf3.c: Likewise.
422 * soft-fp/divsf3.c: Likewise.
423 * soft-fp/divtf3.c: Likewise.
424 * soft-fp/double.h: Likewise.
425 * soft-fp/eqdf2.c: Likewise.
426 * soft-fp/eqsf2.c: Likewise.
427 * soft-fp/eqtf2.c: Likewise.
428 * soft-fp/extenddftf2.c: Likewise.
429 * soft-fp/extended.h: Likewise.
430 * soft-fp/extendhftf2.c: Likewise.
431 * soft-fp/extendsfdf2.c: Likewise.
432 * soft-fp/extendsftf2.c: Likewise.
433 * soft-fp/extendxftf2.c: Likewise.
434 * soft-fp/fixdfdi.c: Likewise.
435 * soft-fp/fixdfsi.c: Likewise.
436 * soft-fp/fixdfti.c: Likewise.
437 * soft-fp/fixhfti.c: Likewise.
438 * soft-fp/fixsfdi.c: Likewise.
439 * soft-fp/fixsfsi.c: Likewise.
440 * soft-fp/fixsfti.c: Likewise.
441 * soft-fp/fixtfdi.c: Likewise.
442 * soft-fp/fixtfsi.c: Likewise.
443 * soft-fp/fixtfti.c: Likewise.
444 * soft-fp/fixunsdfdi.c: Likewise.
445 * soft-fp/fixunsdfsi.c: Likewise.
446 * soft-fp/fixunsdfti.c: Likewise.
447 * soft-fp/fixunshfti.c: Likewise.
448 * soft-fp/fixunssfdi.c: Likewise.
449 * soft-fp/fixunssfsi.c: Likewise.
450 * soft-fp/fixunssfti.c: Likewise.
451 * soft-fp/fixunstfdi.c: Likewise.
452 * soft-fp/fixunstfsi.c: Likewise.
453 * soft-fp/fixunstfti.c: Likewise.
454 * soft-fp/floatdidf.c: Likewise.
455 * soft-fp/floatdisf.c: Likewise.
456 * soft-fp/floatditf.c: Likewise.
457 * soft-fp/floatsidf.c: Likewise.
458 * soft-fp/floatsisf.c: Likewise.
459 * soft-fp/floatsitf.c: Likewise.
460 * soft-fp/floattidf.c: Likewise.
461 * soft-fp/floattihf.c: Likewise.
462 * soft-fp/floattisf.c: Likewise.
463 * soft-fp/floattitf.c: Likewise.
464 * soft-fp/floatundidf.c: Likewise.
465 * soft-fp/floatundisf.c: Likewise.
466 * soft-fp/floatunditf.c: Likewise.
467 * soft-fp/floatunsidf.c: Likewise.
468 * soft-fp/floatunsisf.c: Likewise.
469 * soft-fp/floatunsitf.c: Likewise.
470 * soft-fp/floatuntidf.c: Likewise.
471 * soft-fp/floatuntihf.c: Likewise.
472 * soft-fp/floatuntisf.c: Likewise.
473 * soft-fp/floatuntitf.c: Likewise.
474 * soft-fp/gedf2.c: Likewise.
475 * soft-fp/gesf2.c: Likewise.
476 * soft-fp/getf2.c: Likewise.
477 * soft-fp/half.h: Likewise.
478 * soft-fp/ledf2.c: Likewise.
479 * soft-fp/lesf2.c: Likewise.
480 * soft-fp/letf2.c: Likewise.
481 * soft-fp/muldf3.c: Likewise.
482 * soft-fp/mulsf3.c: Likewise.
483 * soft-fp/multf3.c: Likewise.
484 * soft-fp/negdf2.c: Likewise.
485 * soft-fp/negsf2.c: Likewise.
486 * soft-fp/negtf2.c: Likewise.
487 * soft-fp/op-1.h: Likewise.
488 * soft-fp/op-2.h: Likewise.
489 * soft-fp/op-4.h: Likewise.
490 * soft-fp/op-8.h: Likewise.
491 * soft-fp/op-common.h: Likewise.
492 * soft-fp/quad.h: Likewise.
493 * soft-fp/single.h: Likewise.
494 * soft-fp/soft-fp.h: Likewise.
495 * soft-fp/subdf3.c: Likewise.
496 * soft-fp/subsf3.c: Likewise.
497 * soft-fp/subtf3.c: Likewise.
498 * soft-fp/truncdfsf2.c: Likewise.
499 * soft-fp/trunctfdf2.c: Likewise.
500 * soft-fp/trunctfhf2.c: Likewise.
501 * soft-fp/trunctfsf2.c: Likewise.
502 * soft-fp/trunctfxf2.c: Likewise.
503 * soft-fp/unorddf2.c: Likewise.
504 * soft-fp/unordsf2.c: Likewise.
505 * soft-fp/unordtf2.c: Likewise.
506
2901f42f
VK
5072018-11-04 Venkataramanan Kumar <Venkataramanan.kumar@amd.com>
508
509 * config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
510 * config/i386/cpuinfo.h (processor_types): Add znver2.
511
4310ca66
PK
5122018-11-01 Paul Koning <ni1d@arrl.net>
513
514 * config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c.
515 (HOST_LIBGCC2_CFLAGS): Change to optimize for size.
516
22e05272
JM
5172018-10-31 Joseph Myers <joseph@codesourcery.com>
518
519 PR bootstrap/82856
520 * configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
521 * configure: Regenerate.
522
8180cde0
CZ
5232018-10-31 Claudiu Zissulescu <claziss@synopsys.com>
524
525 * config/arc/lib1funcs.S (_muldi3): New function.
526 * config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
527
be7b071e
RV
5282018-10-30 Rasmus Villemoes <rv@rasmusvillemoes.dk>
529
530 * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
531
3239d726
ML
5322018-10-25 Martin Liska <mliska@suse.cz>
533
534 PR other/87735
535 * libgcov-profiler.c: Revert.
536
19b55958
ML
5372018-10-24 Martin Liska <mliska@suse.cz>
538
539 * libgcov-profiler.c: Start from 1 in order to distinguish
540 functions which were seen and these that were not.
541
a9a2fddb
PK
5422018-10-18 Paul Koning <ni1d@arrl.net>
543
544 * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
545 standard.
546 * divmod.c: Update references to __udivmodsi4.
547 * udivmod.c: Ditto.
548 * udivhi3.c: New file.
549 * udivmodhi4.c: New file.
550 * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
551
fc8abc46
RV
5522018-10-17 Rasmus Villemoes <rv@rasmusvillemoes.dk>
553
554 * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
555
87f918e3
OH
5562018-10-12 Olivier Hainque <hainque@adacore.com>
557
558 * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
559 defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
560
be86efa7
PK
5612018-10-08 Paul Koning <ni1d@arrl.net>
562
563 * config/pdp11/t-pdp11: Remove -mfloat32 switch.
564
3edbcdbe
ML
5652018-10-04 Martin Liska <mliska@suse.cz>
566
567 PR gcov-profile/84107
568 * libgcov-profiler.c (__gcov_indirect_call):
569 Change type to indirect_call_tuple.
570 (struct indirect_call_tuple): New struct.
571 (__gcov_indirect_call_topn_profiler): Change type.
572 (__gcov_indirect_call_profiler_v2): Use the new
573 variables.
574 * libgcov.h (struct indirect_call_tuple): New struct
575 definition.
576
af8096fc
UB
5772018-10-03 Uros Bizjak <ubizjak@gmail.com>
578
579 * libgcc2.c (isnan): Use __builtin_isnan.
580 (isfinite): Use __builtin_isfinite.
581 (isinf): Use __builtin_isinf.
582
0a76bba4
UB
5832018-09-26 Uros Bizjak <ubizjak@gmail.com>
584
585 * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
586
5244089f
OH
5872018-09-21 Alexandre Oliva <oliva@adacore.com>
588
589 * config/vxcache.c: New file. Provide __clear_cache, based on
590 the cacheTextUpdate VxWorks service.
591 * config/t-vxworks (LIB2ADD): Add vxcache.c.
592 (LIB2FUNCS_EXCLUDE): Add _clear_cache.
593 * config/t-vxwoks7: Likewise.
594
512cc015
ML
5952018-09-21 Martin Liska <mliska@suse.cz>
596
597 * libgcov-driver.c (crc32_unsigned): Remove.
598 (gcov_histogram_insert): Likewise.
599 (gcov_compute_histogram): Likewise.
600 (compute_summary): Simplify rapidly.
601 (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
602 (merge_summary): Rapidly simplify.
603 (dump_one_gcov): Ignore gcov_summary.
604 (gcov_do_dump): Do not handle program summary, it's not
605 used.
606 * libgcov-util.c (tag_summary): Remove.
607 (read_gcda_finalize): Fix coding style.
608 (read_gcda_file): Initialize curr_object_summary.
609 (compute_summary): Remove.
610 (calculate_overlap): Remove settings of run_max.
611
36ff254b
MC
6122018-09-21 Monk Chiang <sh.chiang04@gmail.com>
613
614 * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
615 ucontext_t type instead.
616 (nds32_fallback_frame_state): Remove struct _sigframe statement.
617
229a033d
KC
6182018-09-21 Kito Cheng <kito.cheng@gmail.com>
619
620 * config/nds32/t-nds32-glibc: New file.
621
53c6feb2
RO
6222018-09-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
623
624 * configure.ac (solaris_ld_v2_maps): New test.
625 * configure: Regenerate.
626 * Makefile.in (solaris_ld_v2_maps): New variable.
627 * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
628 if supported.
629
ebdb6f23
RE
6302018-08-23 Richard Earnshaw <rearnsha@arm.com>
631
632 PR target/86951
633 * config/arm/lib1funcs.asm (speculation_barrier): New function.
634 * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
635 to build.
636
a49c064e
IS
6372018-08-22 Iain Sandoe <iain@sandoe.co.uk>
638
1ea7ea18 639 * config/unwind-dw2-fde-darwin.c
a49c064e
IS
640 (_darwin10_Unwind_FindEnclosingFunction): move from here ...
641 * config/darwin10-unwind-find-enc-func.c: … to here.
642 * config/t-darwin: Build Darwin10 unwinder shim crt.
643 * libgcc/config.host: Add the Darwin10 unwinder shim.
644
9a5b8df7
RV
6452018-08-21 Rasmus Villemoes <rv@rasmusvillemoes.dk>
646
647 * config.host: Add crtbegin.o and crtend.o for
648 powerpc-wrs-vxworks target.
649
4cd0bc3b
J
6502018-08-17 Jojo <jijie_rong@c-sky.com>
651 Huibin Wang <huibin_wang@c-sky.com>
652 Sandra Loosemore <sandra@codesourcery.com>
653 Chung-Lin Tang <cltang@codesourcery.com>
654
655 C-SKY port: libgcc
656
657 * config.host: Add C-SKY support.
658 * config/csky/*: New.
659
a4931745
CJW
6602018-08-12 Chung-Ju Wu <jasonwucj@gmail.com>
661
662 * config/nds32/t-nds32-isr: Rearrange object dependency.
663 * config/nds32/initfini.c: Add dwarf2 unwinding support.
664 * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
665 and registers usage.
666 * config/nds32/isr-library/excp_isr.S: Ditto.
667 * config/nds32/isr-library/intr_isr.S: Ditto.
668 * config/nds32/isr-library/reset.S: Ditto.
669 * config/nds32/isr-library/restore_all.inc: Ditto.
670 * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
671 * config/nds32/isr-library/restore_partial.inc: Ditto.
672 * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
673 * config/nds32/isr-library/save_all.inc: Ditto.
674 * config/nds32/isr-library/save_mac_regs.inc: Ditto.
675 * config/nds32/isr-library/save_partial.inc: Ditto.
676 * config/nds32/isr-library/save_usr_regs.inc: Ditto.
677 * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
678
2b1969f6
JDA
6792018-08-11 John David Anglin <danglin@gcc.gnu.org>
680
681 * config/pa/linux-atomic.c: Update comment.
682 (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
683 COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
684 SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
685 __ATOMIC_RELAXED for atomic loads.
686 (SYNC_LOCK_RELEASE_1): New define. Use __sync_synchronize() and
687 unordered store to release lock.
688 (__sync_lock_release_8): Likewise.
689 (SYNC_LOCK_RELEASE_2): Remove define.
af8096fc 690
89fff9cc
NP
6912018-08-02 Nicolas Pitre <nico@fluxnic.net>
692
693 PR libgcc/86512
694 * config/arm/ieee754-df.S: Don't shortcut denormal handling when
695 exponent goes negative. Update my email address.
696 * config/arm/ieee754-sf.S: Likewise.
697
fd2e1dcd
ML
6982018-08-01 Martin Liska <mliska@suse.cz>
699
700 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
92a285c1 701 check that __gcov_indirect_call_callee is non-null.
fd2e1dcd 702
b7415975
CL
7032018-07-30 Christophe Lyon <christophe.lyon@linaro.org>
704
705 * config/arm/ieee754-df.S: Fix comment for code working on
706 architectures >= 4.
707 * config/arm/ieee754-sf.S: Likewise.
708
b72e71a3
L
7092018-07-27 H.J. Lu <hongjiu.lu@intel.com>
710
711 PR libgcc/85334
712 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
713 Removed.
714
1c686aa4
JC
7152018-07-05 James Clarke <jrtc27@jrtc27.com>
716
717 * configure: Regenerated.
718
b61c9b99
RO
7192018-06-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
720
721 * Makefile.in (install_leaf): Use enable_gcov instead of
722 enable_libgcov.
723
1765b023
RV
7242018-06-27 Rasmus Villemoes <rv@rasmusvillemoes.dk>
725
726 * configure.ac: Add --disable-gcov option.
727 * configure: Regenerate.
728 * Makefile.in: Honour @enable_gcov@.
729
9b2e34ef
CL
7302018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
731
732 * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
733 __ARM_ARCH and __ARM_FEATURE_CLZ instead.
734 (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
735 * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
736 __ARM_ARCH__.
737 * config/arm/ieee754-sf.S: Likewise.
738 * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
739
d1b0dd54
CL
7402018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
741
742 * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
743 longer supported.
744 * config/arm/ieee754-sf.S: Likewise.
745
1f3fa525
TM
7462018-06-20 Than McIntosh <thanm@google.com>
747
748 PR libgcc/86213
749 * generic-morestack.c (allocate_segment): Move calls to getenv and
750 getpagesize to __morestack_load_mmap.
751 (__morestack_load_mmap) Initialize static_pagesize and
752 use_guard_page here so as to avoid clobbering SSE regs during a
753 __morestack call.
754
6a8886e4
MM
7552018-06-18 Michael Meissner <meissner@linux.ibm.com>
756
757 * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
758 support modules with -mno-gnu-attribute.
759 * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
760
fb997097
OH
7612018-06-07 Olivier Hainque <hainque@adacore.com>
762
763 * config/t-vxworks (LIBGCC_INCLUDES): Add
764 -I$(MULTIBUILDTOP)../../gcc/include.
765 * config/t-vxworks7: Likewise. Reformat a bit to match
766 the t-vxworks layout.
767
a548a5a1
OM
7682018-06-07 Olga Makhotina <olga.makhotina@intel.com>
769
770 * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
771
244aebfd
ML
7722018-06-07 Martin Liska <mliska@suse.cz>
773
774 * libgcov-driver.c: Rename cs_all to all and assign it from
92a285c1 775 all_prg.
244aebfd 776
6c086e8c
ML
7772018-06-07 Martin Liska <mliska@suse.cz>
778
92a285c1 779 PR bootstrap/86057
6c086e8c 780 * libgcov-driver-system.c (replace_filename_variables): Use
92a285c1 781 memcpy instead of mempcpy.
6c086e8c 782 (allocate_filename_struct): Do not allocate filename, allocate
92a285c1 783 prefix and set it.
6c086e8c 784 (gcov_exit_open_gcda_file): Allocate memory for gf->filename
92a285c1 785 here and properly copy content into it.
6c086e8c 786 * libgcov-driver.c (struct gcov_filename): Remove max_length
92a285c1 787 field, change prefix from size_t into char *.
6c086e8c
ML
788 (compute_summary): Do not calculate longest filename.
789 (gcov_do_dump): Release memory of gf.filename after each file.
790 * libgcov-util.c (compute_summary): Use new signature of
92a285c1 791 compute_summary.
6c086e8c
ML
792 (calculate_overlap): Likewise.
793
97a53d1d
ML
7942018-06-05 Martin Liska <mliska@suse.cz>
795
796 PR gcov-profile/47618
797 * libgcov-driver-system.c (replace_filename_variables): New
92a285c1 798 function.
97a53d1d
ML
799 (gcov_exit_open_gcda_file): Use it.
800
7f3577f5
ML
8012018-06-05 Martin Liska <mliska@suse.cz>
802
803 * libgcov-driver.c (gcov_compute_histogram): Remove usage
804 of gcov_ctr_summary.
805 (compute_summary): Do it just for a single summary.
806 (merge_one_data): Likewise.
807 (merge_summary): Simplify as we read just single summary.
808 (dump_one_gcov): Pass proper argument.
809 * libgcov-util.c (compute_one_gcov): Simplify as we have just
810 single summary.
811 (gcov_info_count_all_cold): Likewise.
812 (calculate_overlap): Likewise.
813
cf3cd43d
CJW
8142018-06-02 Chung-Ju Wu <jasonwucj@gmail.com>
815 Monk Chiang <sh.chiang04@gmail.com>
816
817 * config.host (nds32*-linux*): New.
818 * config/nds32/linux-atomic.c: New file.
819 * config/nds32/linux-unwind.h: New file.
820
8b8003ed
UB
8212018-05-31 Uros Bizjak <ubizjak@gmail.com>
822
823 PR target/85591
824 * config/i386/cpuinfo.c (get_amd_cpu): Return
825 AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
826
bbdf026f
RV
8272018-05-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
828
92a285c1 829 * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
bbdf026f 830
0e8f29da
ML
8312018-05-29 Martin Liska <mliska@suse.cz>
832
92a285c1 833 PR gcov-profile/85759
0e8f29da 834 * libgcov-driver-system.c (gcov_error): Introduce usage of
92a285c1 835 GCOV_EXIT_AT_ERROR env. variable.
0e8f29da 836 * libgcov-driver.c (merge_one_data): Print error that we
92a285c1 837 overwrite a gcov file with a different timestamp.
0e8f29da 838
54fd1590
K
8392018-05-23 Kalamatee <kalamatee@gmail.com>
840
841 * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
842 path to Lf$finfty.
843
09baee1a
KC
8442018-05-18 Kito Cheng <kito.cheng@gmail.com>
845 Monk Chiang <sh.chiang04@gmail.com>
846 Jim Wilson <jimw@sifive.com>
847
848 * config/riscv/save-restore.S: Add support for rv32e.
849
c3f808d3
KT
8502018-05-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
851
852 * config/arm/libunwind.S: Update comment relating to armv5.
853
fcf4f831
JL
8542018-05-17 Jerome Lambourg <lambourg@adacore.com>
855
856 * config/arm/cmse.c (cmse_check_address_range): Replace
857 UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
858
74b2bb19
OM
8592018-05-17 Olga Makhotina <olga.makhotina@intel.com>
860
861 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
862 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
863
50e461df
OM
8642018-05-08 Olga Makhotina <olga.makhotina@intel.com>
865
866 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
867 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
868
e5f1cdb1
AC
8692018-05-07 Amaan Cheval <amaan.cheval@gmail.com>
870
871 * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
872
8f479d7a
AT
8732018-04-27 Andreas Tobler <andreast@gcc.gnu.org>
874 Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
875
876 PR libgcc/84292
877 * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
878 op_and_fetch to return the right result.
879
ae043291
AM
8802018-04-27 Alan Modra <amodra@gmail.com>
881
882 PR libgcc/85532
883 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
884 -fno-asynchronous-unwind-tables.
885
ba169b74
CJW
8862018-04-25 Chung-Ju Wu <jasonwucj@gmail.com>
887
888 * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
889 * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
890
ffc2fc06
L
8912018-04-24 H.J. Lu <hongjiu.lu@intel.com>
892
893 * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
894 when including "config/i386/shadow-stack-unwind.h".
895
7b47ecf2
L
8962018-04-24 H.J. Lu <hongjiu.lu@intel.com>
897
898 * configure: Regenerated.
899
661eb8f9
MM
9002018-04-20 Michael Meissner <meissner@linux.ibm.com>
901
902 PR target/85456
903 * config/rs6000/_powikf2.c: New file. Add support for the
904 __builtin_powil function when long double is IEEE 128-bit floating
905 point.
906 * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
907 __powikf2 support.
908 (__powikf2): Likewise.
909 * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
910 (__powikf2_hw): Likewise.
911 (__powikf2): Likewise.
912 * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
913 * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
914 (_powikf2-hw.c): Likewise.
915
5707be3c
L
9162018-04-19 H.J. Lu <hongjiu.lu@intel.com>
917
918 PR libgcc/85334
919 * unwind-generic.h (_Unwind_Frames_Increment): New.
920 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
921 Likewise.
922 * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
923 count with _Unwind_Frames_Increment.
924 (_Unwind_ForcedUnwind_Phase2): Likewise.
925
5f9ca0b8
L
9262018-04-19 H.J. Lu <hongjiu.lu@intel.com>
927
928 PR libgcc/85379
929 * config/i386/morestack.S (__stack_split_initialize): Add
930 _CET_ENDBR.
931
a0e1df88
JJ
9322018-04-19 Jakub Jelinek <jakub@redhat.com>
933
934 * configure: Regenerated.
935
001ddaa8
DM
9362018-04-18 David Malcolm <dmalcolm@redhat.com>
937
938 PR jit/85384
939 * configure: Regenerate.
940
a57f99ba
JJ
9412018-04-16 Jakub Jelinek <jakub@redhat.com>
942
943 PR target/84945
944 * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
945 -Wdangling-else warnings. Mask shift counts to avoid
946 -Wshift-count-negative and -Wshift-count-overflow false positives.
947
4d47fe5a
RB
9482018-04-06 Ruslan Bukin <br@bsdpad.com>
949
950 * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
951
059cc8ac
L
9522018-03-29 H.J. Lu <hongjiu.lu@intel.com>
953
954 PR target/85100
955 * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
956 (XSTATE_FP): Likewise.
957 (XSTATE_SSE): Likewise.
958 (XSTATE_YMM): Likewise.
959 (XSTATE_OPMASK): Likewise.
960 (XSTATE_ZMM): Likewise.
961 (XSTATE_HI_ZMM): Likewise.
962 (XCR_AVX_ENABLED_MASK): Likewise.
963 (XCR_AVX512F_ENABLED_MASK): Likewise.
964 (get_available_features): Enable AVX and AVX512 features only
965 if their states are supported by OSXSAVE.
966
f2620385
IT
9672018-03-22 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
968
969 PR target/85025
970 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
971 Fix a typo, tmp => 255.
972
ae6dca8c
JJ
9732018-03-20 Jakub Jelinek <jakub@redhat.com>
974
975 PR target/84945
976 * config/i386/cpuinfo.h (__cpu_features2): Declare.
977 * config/i386/cpuinfo.c (__cpu_features2): New variable for
978 ifndef SHARED only.
979 (set_feature): Define.
980 (get_available_features): Use set_feature macro. Set __cpu_features2
981 to the second word of features ifndef SHARED.
982
c36b04c1
JK
9832018-03-15 Julia Koval <julia.koval@intel.com>
984
985 * config/i386/cpuinfo.c (get_available_features): Add
986 FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
987 FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
988 * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
989 FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
990 FEATURE_AVX512BITALG.
991
79ab5364
JK
9922018-03-14 Julia Koval <julia.koval@intel.com>
993
994 * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
995 icelake client and icelake server.
996
66a00b11
JDA
9972018-03-06 John David Anglin <danglin@gcc.gnu.org>
998
999 * config/pa/fptr.c (_dl_read_access_allowed): New.
1000 (__canonicalize_funcptr_for_compare): Use it.
af8096fc 1001
ce579a4f
JJ
10022018-02-28 Jakub Jelinek <jakub@redhat.com>
1003
1004 PR debug/83917
1005 * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
1006 $asm_hidden_op if visibility ("hidden") attribute works.
1007 (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
1008 * config/i386/i386-asm.h: Don't include auto-host.h.
1009 (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
1010 PACKAGE_URL): Don't undefine.
1011 (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
1012 guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
1013 (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
1014 #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
1015 definition instead of hardcoded .hidden.
1016 * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
1017 directive. Use #ifdef HAVE_AS_CFI_SECTIONS rather than
1018 #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
1019 (USE_GAS_CFI_DIRECTIVES): Don't define.
1020 * configure: Regenerated.
1021 * config.in: Likewise.
1022
e5868319
JJ
10232018-02-26 Jakub Jelinek <jakub@redhat.com>
1024
1025 PR debug/83917
1026 * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
1027 PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
1028 inclusion of auto-target.h and auto-host.h.
1029 (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
1030 __GCC_HAVE_DWARF2_CFI_ASM.
1031 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
1032 cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
1033 cfi_pop): Define.
1034 * config/i386/cygwin.S: Don't include auto-host.h here, just
1035 define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
1036 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
1037 cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
1038 * config/i386/resms64fx.h: Add cfi_* directives.
1039 * config/i386/resms64x.h: Likewise.
1040
faef260e
MF
10412018-02-20 Max Filippov <jcmvbkbc@gmail.com>
1042
1043 * config/xtensa/ieee754-df.S (__adddf3_aux): Add
1044 .literal_position directive.
1045 * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
1046
14e335ed
IT
10472018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1048
1049 PR target/84148
1050 * configure: Regenerate.
1051
95df0433
IT
10522018-02-16 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1053
1054 PR target/84239
1055 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
1056 Include cetintrin.h not x86intrin.h.
1057
f8de876d
IT
10582018-02-08 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1059
1060 PR target/84239
95df0433 1061 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
f8de876d
IT
1062 Use new _get_ssp and _inc_ssp intrinsics.
1063
02da1e9c
JK
10642018-02-02 Julia Koval <julia.koval@intel.com>
1065
1066 * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
1067
048c6a9a
CZ
10682018-01-26 Claudiu Zissulescu <claziss@synopsys.com>
1069
1070 * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
1071 option.
1072 (__divsi3): Use RF16 safe registers.
1073 (__modsi3): Likewise.
1074
0889f168
MF
10752018-01-23 Max Filippov <jcmvbkbc@gmail.com>
1076
1077 * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
1078 (__divsf3): Make NaN return value quiet.
1079 * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
1080 (__divdf3): Make NaN return value quiet.
1081
bc8b0d04
SP
10822018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
1083
1084 * config/rl78/anddi3.S: New assembly file.
1085 * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
1086
99cc06ea
SP
10872018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
1088
1089 * config/rl78/umindi3.S: New assembly file.
1090 * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
1091
6e9007a0
SP
10922018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
1093
1094 * config/rl78/smindi3.S: New assembly file.
1095 * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
1096
d975e494 10972018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
af8096fc 1098
d975e494
SP
1099 * config/rl78/smaxdi3.S: New assembly file.
1100 * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
1101
6a18c146 11022018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
af8096fc 1103
5dd16013
SP
1104 * config/rl78/umaxdi3.S: New assembly file.
1105 * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
af8096fc 1106
07baf4a5
JDA
11072018-01-21 John David Anglin <danglin@gcc.gnu.org>
1108
1109 PR lto/83452
1110 * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
1111 * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
af8096fc 1112
dbc3af4f
RS
11132018-01-13 Richard Sandiford <richard.sandiford@linaro.org>
1114
1115 * config/aarch64/value-unwind.h (aarch64_vg): New function.
1116 (DWARF_LAZY_REGISTER_VALUE): Define.
1117 * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
1118 to provide a fallback register value.
1119
68df9882
MM
11202018-01-08 Michael Meissner <meissner@linux.vnet.ibm.com>
1121
1122 * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
1123 __ibm128, instead of trying to use long double.
1124 (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
1125 accomidate -mabi=ieeelongdouble multilibs.
1126 (CVT_IBM128_TO_FLOAT128): Likewise.
1127 * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
1128 the appropriate IBM extended double type.
1129 (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
1130 (__gcc_qsub): Likewise.
1131 (__gcc_qmul): Likewise.
1132 (__gcc_qdiv): Likewise.
1133 (pack_ldouble): Likewise.
1134 (__gcc_qneg): Likewise.
1135 (__gcc_qeq): Likewise.
1136 (__gcc_qne): Likewise.
1137 (__gcc_qge): Likewise.
1138 (__gcc_qle): Likewise.
1139 (__gcc_stoq): Likewise.
1140 (__gcc_dtoq): Likewise.
1141 (__gcc_itoq): Likewise.
1142 (__gcc_utoq): Likewise.
1143 (__gcc_qunord): Likewise.
1144 * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
1145 quad-float128.h for the definitions.
1146 (COPYSIGN): Use the f128 version instead of the q version.
1147 (INFINITY): Likewise.
1148 (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
1149 * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
1150 quad-float128.h for the definitions.
1151 (COPYSIGN): Use the f128 version instead of the q version.
1152 (INFINITY): Likewise.
1153 (FABS): Likewise.
1154 (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
1155 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
1156 * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
1157
64b371b1
SH
11582018-01-05 Sebastian Huber <sebastian.huber@embedded-brains.de>
1159
1160 * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
1161 configuration.
1162
85ec4feb
JJ
11632018-01-03 Jakub Jelinek <jakub@redhat.com>
1164
1165 Update copyright years.
1166
11672017-12-12 Kito Cheng <kito.cheng@gmail.com>
b8d7e076
KC
1168
1169 * config/riscv/t-elf: Use multi3.c instead of multi3.S.
1170 * config/riscv/multi3.c: New file.
1171 * config/riscv/multi3.S: Remove.
1172
3a4c600f
JW
11732017-12-08 Jim Wilson <jimw@sifive.com>
1174
1175 * config/riscv/div.S: Use FUNC_* macros.
1176 * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
1177 * config/riscv/save-restore.S: Likewise.
1178 * config/riscv/riscv-asm.h: New.
1179
75ad35b5
MM
11802017-11-30 Michael Meissner <meissner@linux.vnet.ibm.com>
1181
6ae3512c
MM
1182 * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
1183 * config/rs6000/_divkc3.c (__divkc3): Likewise.
1184
75ad35b5
MM
1185 PR libgcc/83112
1186 * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
1187 correct type for all ifunc resolvers to silence -Wattribute-alias
1188 warnings. Eliminate the forward declaration of the resolver
1189 functions which is no longer needed.
1190 (__subkf3_resolve): Likewise.
1191 (__mulkf3_resolve): Likewise.
1192 (__divkf3_resolve): Likewise.
1193 (__negkf2_resolve): Likewise.
1194 (__eqkf2_resolve): Likewise.
1195 (__nekf2_resolve): Likewise.
1196 (__gekf2_resolve): Likewise.
1197 (__gtkf2_resolve): Likewise.
1198 (__lekf2_resolve): Likewise.
1199 (__ltkf2_resolve): Likewise.
1200 (__unordkf2_resolve): Likewise.
1201 (__extendsfkf2_resolve): Likewise.
1202 (__extenddfkf2_resolve): Likewise.
1203 (__trunckfsf2_resolve): Likewise.
1204 (__trunckfdf2_resolve): Likewise.
1205 (__fixkfsi_resolve): Likewise.
1206 (__fixkfdi_resolve): Likewise.
1207 (__fixunskfsi_resolve): Likewise.
1208 (__fixunskfdi_resolve): Likewise.
1209 (__floatsikf_resolve): Likewise.
1210 (__floatdikf_resolve): Likewise.
1211 (__floatunsikf_resolve): Likewise.
1212 (__floatundikf_resolve): Likewise.
1213 (__extendkftf2_resolve): Likewise.
1214 (__trunctfkf2_resolve): Likewise.
1215
1216 PR libgcc/83103
1217 * config/rs6000/quad-float128.h (TF): Don't define if long double
1218 is IEEE 128-bit floating point.
1219 (TCtype): Define as either TCmode or KCmode, depending on whether
1220 long double is IEEE 128-bit floating point.
1221 (__mulkc3_sw): Add declarations for software/hardware versions of
1222 complex multiply/divide.
1223 (__divkc3_sw): Likewise.
1224 (__mulkc3_hw): Likewise.
1225 (__divkc3_hw): Likewise.
1226 * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
1227 handlers to switch between using software emulation and hardware
1228 float128 instructions, build the complex multiply/divide functions
1229 for both software and hardware support.
1230 * config/rs6000/_divkc3.c (_divkc3): Likewise.
1231 * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
1232 (__divkc3_resolve): Likewise.
1233 (__mulkc3): Likewise.
1234 (__divkc3): Likewise.
1235 * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
1236 (fp128_hw_src): Likewise.
1237 (fp128_hw_static_obj): Likewise.
1238 (fp128_hw_shared_obj): Likewise.
1239 (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
1240 _mulkc3.c and _divkc3.c, changing the function name.
1241 (_divkc3-hw.c): Likewise.
1242 * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
1243 and _divkc3-hw.c.
1244
c234d831
UB
12452017-11-26 Julia Koval <julia.koval@intel.com>
1246
1247 * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
1248 * config/i386/cpuinfo.h (processor_subtypes): Add
1249 INTEL_COREI7_CANNONLAKE.
1250
1ebafce0
IT
12512017-11-20 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1252
1253 PR bootstrap/83015
1254 * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
1255 parameter.
1256 * config/xtensa/unwind-dw2-xtensa.c: Likewise
1257 * config/ia64/unwind-ia64.c: Add frames parameter.
1258 * unwind-sjlj.c: Likewise.
1259
6a10fff4
IT
12602017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1261
1262 * config/i386/linux-unwind.h: Include
1263 config/i386/shadow-stack-unwind.h.
1264 * config/i386/shadow-stack-unwind.h: New file.
1265 * unwind-dw2.c: (uw_install_context): Add a frame parameter and
1266 pass it to _Unwind_Frames_Extra.
1267 * unwind-generic.h (_Unwind_Frames_Extra): New.
1268 * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
1269 parameter. Add local variable frames to count number of frames.
1270 (_Unwind_ForcedUnwind_Phase2): Likewise.
1271 (_Unwind_RaiseException): Add local variable frames to count
1272 number of frames, pass it to _Unwind_RaiseException_Phase2 and
1273 uw_install_context.
1274 (_Unwind_ForcedUnwind): Likewise.
1275 (_Unwind_Resume): Likewise.
1276 (_Unwind_Resume_or_Rethrow): Likewise.
1277
1ecae1fc
IT
12782017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1279
1280 * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
1281 (CET_FLAGS): New.
1282 * config/i386/morestack.S: Include <cet.h>.
1283 (__morestack_large_model): Add _CET_ENDBR at function entrance.
1284 * config/i386/resms64.h: Include <cet.h>.
1285 * config/i386/resms64f.h: Likewise.
1286 * config/i386/resms64fx.h: Likewise.
1287 * config/i386/resms64x.h: Likewise.
1288 * config/i386/savms64.h: Likewise.
1289 * config/i386/savms64f.h: Likewise.
1290 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
1291 (CRTSTUFF_T_CFLAGS): Likewise.
1292 * configure.ac: Include ../config/cet.m4.
1293 Set and substitute CET_FLAGS.
1294 * configure: Regenerated.
1295
f021f1d3
RO
12962017-11-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1297
1298 * config.host (*-*-solaris2*): Adapt comment for Solaris 12
1299 renaming.
1300 * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
1301 * configure.ac (libgcc_cv_solaris_crts): Likewise.
1302 * configure: Regenerate.
1303
65f480c7
TV
13042017-11-07 Tom de Vries <tom@codesourcery.com>
1305
1306 * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
1307 after "do {} while (0)".
1308
2a321acb
TV
13092017-11-07 Tom de Vries <tom@codesourcery.com>
1310
1311 PR other/82784
1312 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
1313 semicolon after "do {} while (0)".
1314 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1315 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1316 * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1317 * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1318
59fcf6c3
AT
13192017-11-04 Andreas Tobler <andreast@gcc.gnu.org>
1320
1321 PR libgcc/82635
1322 * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
1323 sysctl to determine whether we're in a trampoline.
1324 Keep the pattern matching method for systems without
1325 KERN_PROC_SIGTRAMP sysctl.
1326
b0c7ddf8
CM
13272017-11-03 Cupertino Miranda <cmiranda@synopsys.com>
1328 Vineet Gupta <vgupta@synopsys.com>
1329
1330 * config.host (arc*-*-linux*): Set md_unwind_header variable.
1331 * config/arc/linux-unwind-reg.def: New file.
1332 * config/arc/linux-unwind-reg.h: Likewise.
1333
5feee954
SP
13342017-10-23 Sebastian Perta <sebastian.perta@renesas.com>
1335
1336 * config/rl78/subdi3.S: New assembly file.
1337 * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
1338
a0bf6cf7
SP
13392017-10-13 Sebastian Perta <sebastian.perta@renesas.com>
1340
1341 * config/rl78/adddi3.S: New assembly file.
1342 * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
1343
e7176f75
JJ
13442017-10-13 Jakub Jelinek <jakub@redhat.com>
1345
1346 PR target/82274
1347 * libgcc2.c (__mulvDI3): If both operands have
1348 the same highpart of -1 and the topmost bit of lowpart is 0,
1349 multiplication overflows even if both lowparts are 0.
1350
db6601d2
JB
13512017-09-28 James Bowman <james.bowman@ftdichip.com>
1352
1353 * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
1354
938b6f1e
JM
13552017-09-26 Joseph Myers <joseph@codesourcery.com>
1356
1357 * config/microblaze/crti.S, config/microblaze/crtn.S,
1358 config/microblaze/divsi3.S, config/microblaze/moddi3.S,
1359 config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
1360 config/microblaze/mulsi3.S,
1361 config/microblaze/stack_overflow_exit.S,
1362 config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
1363 config/pa/milli64.S: Add .note.GNU-stack section.
1364
89762a83
DS
13652017-09-23 Daniel Santos <daniel.santos@pobox.com>
1366
1367 * configure.ac: Add Check for HAVE_AS_AVX.
1368 * config.in: Regenerate.
1369 * configure: Likewise.
1370 * config/i386/i386-asm.h: Include auto-target.h from libgcc.
1371 (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
1372 Correct out-of-date comments.
1373
cace2309
SP
13742017-09-20 Sebastian Peryt <sebastian.peryt@intel.com>
1375
1376 * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
1377 * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
1378
3cb626e4
DS
13792017-09-17 Daniel Santos <daniel.santos@pobox.com>
1380
cace2309 1381 * config/i386/i386-asm.h (PASTE2): New macro.
3cb626e4
DS
1382 (ASMNAME): Modify to use PASTE2.
1383 (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
1384 (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
cace2309 1385 * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
3cb626e4 1386 instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
cace2309
SP
1387 * config/i386/resms64f.S: Likewise.
1388 * config/i386/resms64fx.S: Likewise.
1389 * config/i386/resms64x.S: Likewise.
1390 * config/i386/savms64.S: Likewise.
1391 * config/i386/savms64f.S: Likewise.
1392 * config/i386/avx_resms64.S: New file that only defines a macro and
3cb626e4 1393 includes it's corresponding header file.
cace2309
SP
1394 * config/i386/avx_resms64f.S: Likewise.
1395 * config/i386/avx_resms64fx.S: Likewise.
1396 * config/i386/avx_resms64x.S: Likewise.
1397 * config/i386/avx_savms64.S: Likewise.
1398 * config/i386/avx_savms64f.S: Likewise.
1399 * config/i386/sse_resms64.S: Likewise.
1400 * config/i386/sse_resms64f.S: Likewise.
1401 * config/i386/sse_resms64fx.S: Likewise.
1402 * config/i386/sse_resms64x.S: Likewise.
1403 * config/i386/sse_savms64.S: Likewise.
1404 * config/i386/sse_savms64f.S: Likewise.
1405 * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
3cb626e4 1406
2f19c491 14072017-09-01 Olivier Hainque <hainque@adacore.com>
2f19c491
OH
1408 * config.host (*-*-vxworks7): Widen scope to vxworks7*.
1409
611e7036
OH
14102017-08-31 Olivier Hainque <hainque@adacore.com>
1411
1412 * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
1413 match as powerpc-wrs-vxworks*.
1414
c8f34527
JY
14152017-08-07 Jonathan Yong <10walls@gmail.com>
1416
1417 * config.host (*-cygwin): Include file from mingw
1418 config/i386/enable-execute-stack-mingw32.c
1419
0b458d2b 14202017-08-01 Jerome Lambourg <lambourg@adacore.com>
92a285c1
ML
1421 Doug Rupp <rupp@adacore.com>
1422 Olivier Hainque <hainque@adacore.com>
0b458d2b
JL
1423
1424 * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
1425 as well as arm-wrs-vxworks.
1426 * config/arm/t-vxworks7: New file. Add unwind-arm-vxworks.c to
1427 LIB2ADDEH.
1428 * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
1429 __exidx_start and __exidx_end for downloadable modules.
1430
4df612fa
OH
14312017-08-01 Olivier Hainque <hainque@adacore.com>
1432
1433 * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
1434 * config/t-vxworks7: Likewise.
1435
5560e8c0
OH
14362017-08-01 Olivier Hainque <hainque@adacore.com>
1437
1438 * config/t-vxworks: Instead of redefining LIB2ADD,
1439 augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
1440
16bab95a
SH
14412017-07-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1442
1443 * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
1444
9cbc07cc
DS
14452017-07-24 Daniel Santos <daniel.santos@pobox.com>
1446
1447 PR testsuite/80759
1448 * config.host: include i386/t-msabi for darwin and solaris.
1449 * config/i386/i386-asm.h
1450 (ELFFN): Rename to FN_TYPE.
1451 (FN_SIZE): New macro.
1452 (FN_HIDDEN): Likewise.
1453 (ASMNAME): Likewise.
1454 (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
1455 .globl.
1456 (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
1457 (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
1458 * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
1459 .macro.
1460 * config/i386/resms64f.S: Likewise.
1461 * config/i386/resms64fx.S: Likewise.
1462 * config/i386/resms64x.S: Likewise.
1463 * config/i386/savms64.S: Likewise.
1464 * config/i386/savms64f.S: Likewise.
1465
de742204
JM
14662017-07-19 John Marino <gnugcc@marino.st>
1467
1468 * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
1469
3787ee47
MM
14702017-07-12 Michael Meissner <meissner@linux.vnet.ibm.com>
1471
1472 PR target/81193
1473 * configure.ac (PowerPC float128 hardware support): Test whether
1474 we can use __builtin_cpu_supports before enabling the ifunc
1475 handler.
1476 * configure: Regenerate.
1477
b1938888
VG
14782017-07-10 Vineet Gupta <vgupta@synopsys.com>
1479
1480 * config.host: Remove uclibc from arc target spec.
1481
bec75e53
KW
14822017-07-09 Krister Walfridsson <krister.walfridsson@gmail.com>
1483
1484 * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
1485
d4391a62
PB
14862017-07-07 Peter Bergner <bergner@vnet.ibm.com>
1487
1488 * config/rs6000/float128-ifunc.c: Don't include auxv.h.
1489 (have_ieee_hw_p): Delete function.
1490 (SW_OR_HW) Use __builtin_cpu_supports().
1491
9296dd9b
TP
14922017-07-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
1493
1494 * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
1495
b85a969e
OH
14962017-07-03 Olivier Hainque <hainque@adacore.com>
1497
d4391a62 1498 * config/t-vxworks7: New file, really.
b85a969e 1499
883312dc
JM
15002017-06-28 Joseph Myers <joseph@codesourcery.com>
1501
1502 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
1503 config/alpha/linux-unwind.h (alpha_fallback_frame_state),
1504 config/bfin/linux-unwind.h (bfin_fallback_frame_state),
1505 config/i386/linux-unwind.h (x86_64_fallback_frame_state,
1506 x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
1507 uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
1508 config/pa/linux-unwind.h (pa32_fallback_frame_state),
1509 config/riscv/linux-unwind.h (riscv_fallback_frame_state),
1510 config/sh/linux-unwind.h (sh_fallback_frame_state),
1511 config/tilepro/linux-unwind.h (tile_fallback_frame_state),
1512 config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
1513 ucontext_t instead of struct ucontext.
1514
50567938
JL
15152017-06-27 Jerome Lambourg <lambourg@adacore.com>
1516
1517 * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
1518 (x86_64-wrs-vxworks7): Likewise.
1519
e4b0df93
OH
15202017-06-27 Olivier Hainque <hainque@adacore.com>
1521
1522 * config/t-vxworks7: New file.
1523 * config.host (*-*-vxworks7): Use it.
1524
60edf8bb
MT
15252017-06-22 Matt Turner <mattst88@gmail.com>
1526
1527 * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
1528 skylake case.
1529
a51a76e5
RB
15302017-06-21 Richard Biener <rguenther@suse.de>
1531
1532 PR gcov-profile/81080
1533 * configure.ac: Add AC_SYS_LARGEFILE.
1534 * libgcov.h: Include auto-target.h before tsystem.h to pick
1535 up _FILE_OFFSET_BITS which might differ for multilibs.
1536 * config.in: Regenerate.
1537 * configure: Likewise.
1538
f0cd49c5
RE
15392017-06-16 Richard Earnshaw <rearnsha@arm.com>
1540
1541 * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
1542
4f751c54
ML
15432017-06-09 Martin Liska <mliska@suse.cz>
1544
1545 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
1546 Reset __gcov_indirect_call_callee to NULL.
1547
1ac644c8
OH
15482017-06-08 Olivier Hainque <hainque@adacore.com>
1549
1550 * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
1551 the set of -I options, support for direct inclusions of net/uio.h
1552 by VxWorks header files via ioLib.h.
1553
d8b9cd27
TR
15542017-06-07 Tony Reix <tony.reix@atos.net>
1555 Matthieu Sarter <matthieu.sarter.external@atos.net>
1556 David Edelsohn <dje.gcc@gmail.com>
1557
92a285c1
ML
1558 * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
1559 unconditionally.
1560 (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support. Add 32-bit
1561 AIX 7.2 support.
d8b9cd27 1562
38a75ccc
OH
15632017-06-02 Olivier Hainque <hainque@adacore.com>
1564
1565 * config/vxlib.c (__gthread_once): Add missing value to
1566 return statement.
1567
5b2edf53
OH
15682017-05-30 Olivier Hainque <hainque@adacore.com>
1569
1570 * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
1571 dollar sign before $(MULTIDIR).
1572
7d66e265
RH
15732017-05-26 Richard Henderson <rth@redhat.com>
1574
1575 PR libgcc/80037
1576 * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
1577
78eca309
AT
15782017-05-17 Andreas Tobler <andreast@gcc.gnu.org>
1579
1580 * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
1581 _Unwind_SetIP available as functions for arm*-*-freebsd*.
1582 * config/arm/unwind-arm.c: Implement the above.
1583
c39d309a
AZ
15842017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1585
1586 * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
1587 section for a non-executable stack.
1588
eac8c9f2
KW
15892017-05-14 Krister Walfridsson <krister.walfridsson@gmail.com>
1590
1591 PR target/80600
1592 * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
1593
d6d4d770
DS
15942017-05-14 Daniel Santos <daniel.santos@pobox.com>
1595
1596 * config.host: Add i386/t-msabi to i386/t-linux file list.
1597 * config/i386/i386-asm.h: New file.
1598 * config/i386/resms64.S: New file.
1599 * config/i386/resms64f.S: New file.
1600 * config/i386/resms64fx.S: New file.
1601 * config/i386/resms64x.S: New file.
1602 * config/i386/savms64.S: New file.
1603 * config/i386/savms64f.S: New file.
1604 * config/i386/t-msabi: New file.
1605
8ef2b9a7
AT
16062017-05-09 Andreas Tobler <andreast@gcc.gnu.org>
1607
1608 * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
1609 arm*-*-freebsd* instead of the t-slibgcc-libgcc.
1610
7ab8766a
JC
16112017-05-05 Joshua Conner <joshconner@google.com>
1612
1613 * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
1614 pc-relative indirect handling for fuchsia.
1615 * config/t-slibgcc-fuchsia: New file.
1616 * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
d6d4d770 1617 x86_64-*-fuchsia*): Add definitions.
7ab8766a 1618
46928a8f
ML
16192017-04-19 Martin Liska <mliska@suse.cz>
1620
1621 PR gcov-profile/80435
1622 * Makefile.in: Install gcov.h.
1623 * gcov.h: New file.
1624 * libgcov.h: Use the header and make __gcov_flush publicly
1625 visible.
1626
63971184
ML
16272017-04-18 Martin Liska <mliska@suse.cz>
1628
1629 PR gcov-profile/78783
1630 * libgcov-driver.c (gcov_get_filename): New function.
1631
29d8aae6
JL
16322017-04-07 Jeff Law <law@redhat.com>
1633
1634 * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
1635 target makefile fragment.
1636 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
1637
2bdf7fc6
AM
16382017-04-07 Alan Modra <amodra@gmail.com>
1639
1640 PR target/45053
1641 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
1642
5764ee3c
JW
16432017-04-03 Jonathan Wakely <jwakely@redhat.com>
1644
1645 * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
1646
c4192ad7
CZ
16472017-03-27 Claudiu Zissulescu <claziss@synopsys.com>
1648
1649 * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
1650
4ccfdb28
JM
16512017-03-10 John Marino <gnugcc@marino.st>
1652
1653 * config/aarch64/freebsd-unwind.h: New file.
1654 * config.host: Add aarch64-*-freebsd unwinder.
1655
4144e4e3
SB
16562017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
1657
1658 * config/rs6000/crtrestvr.s: Use .machine altivec.
1659 * config/rs6000/crtsavevr.s: Ditto.
1660
7502c597
SB
16612017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
1662
1663 * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
1664 modify CFLAGS. Add -mabi=altivec -mvsx -mfloat128.
1665 (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
1666 -mfloat128-hardware to the CFLAGS. Fix syntax error in the C snippet.
1667 * configure: Regenerate.
1668 * config.in: Regenerate.
1669
db9f7f65
JY
16702017-03-02 Jonathan Yong <10walls@gmail.com>
1671
1672 * config/i386/gthr-win32.h: Define NOGDI before
1673 windows.h include to prevent w32api CC_NONE macro
1674 clash with libgfortran.
1675
126437c5
JY
16762017-03-02 Jonathan Yong <10walls@gmail.com>
1677
1678 * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
1679
31927af6
AP
16802017-02-16 Andrew Pinski <apinski@cavium.com>
1681
1682 * config/aarch64/value-unwind.h: New file.
1683 * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
1684 to tm_file.
1685
0bd99911
PD
16862017-02-06 Palmer Dabbelt <palmer@dabbelt.com>
1687
1688 * config.host: Add RISC-V tuples.
1689 * config/riscv/atomic.c: New file.
1690 * config/riscv/crti.S: Likewise.
1691 * config/riscv/crtn.S: Likewise.
1692 * config/riscv/div.S: Likewise.
1693 * config/riscv/linux-unwind.h: Likewise.
1694 * config/riscv/muldi3.S: Likewise.
1695 * config/riscv/multi3.S: Likewise.
1696 * config/riscv/save-restore.S: Likewise.
1697 * config/riscv/sfp-machine.h: Likewise.
1698 * config/riscv/t-elf: Likewise.
1699 * config/riscv/t-elf32: Likewise.
1700 * config/riscv/t-elf64: Likewise.
1701 * config/riscv/t-softfp32: Likewise.
1702 * config/riscv/t-softfp64: Likewise.
1703
a8c9ef2a
JJ
17042017-01-24 Jakub Jelinek <jakub@redhat.com>
1705
1706 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
1707 /* FALLTHRU */ comments.
1708
c6c82710
GP
17092017-01-21 Gerald Pfeifer <gerald@pfeifer.com>
1710
1711 * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
1712
a876231c
JW
17132017-01-20 Jiong Wang <jiong.wang@arm.com>
1714
1715 * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
1716 * unwind-dw2.c (execute_cfa_program): Only multiplexing
1717 DW_CFA_GNU_window_save for AArch64 and LP64.
1718
aa348be2
JW
17192017-01-20 Jiong Wang <jiong.wang@arm.com>
1720
1721 * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
1722
5636faf2
JW
17232017-01-19 Jiong Wang <jiong.wang@arm.com>
1724
1725 * config/aarch64/aarch64-unwind.h: New file.
1726 (DWARF_REGNUM_AARCH64_RA_STATE): Define.
1727 (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
1728 (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
1729 (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
1730 (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
1731 (aarch64_post_extract_frame_addr): New function.
1732 (aarch64_post_frob_eh_handler_addr): New function.
1733 (aarch64_frob_update_context): New function.
1734 * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
1735 * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
1736 aarch64*-*-freebsd*):
1737 Initialize md_unwind_header to include aarch64-unwind.h.
1738 * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
1739 (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
1740 __aarch64__.
1741 (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
1742 (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
1743 (uw_frob_return_addr): New function.
1744 (uw_install_context): Use uw_frob_return_addr.
1745
3c36aa6b
JJ
17462017-01-17 Jakub Jelinek <jakub@redhat.com>
1747
1748 PR other/79046
1749 * configure.ac: Add GCC_BASE_VER.
1750 * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
1751 version from BASE-VER file.
1752 * configure: Regenerated.
1753
829afb8f
JS
17542017-01-13 Joe Seymour <joe.s@somniumtech.com>
1755
1756 * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
1757 libmul_f5.a): Filter archived prerequisites.
1758
79fc8ffe
AS
17592017-01-10 Andrew Senkevich <andrew.senkevich@intel.com>
1760
1761 * config/i386/cpuinfo.h (processor_features): Add
1762 FEATURE_AVX512VPOPCNTDQ.
1763 * config/i386/cpuinfo.c (get_available_features): Habdle new
1764 feature.
1765
fec5f4e0
JM
17662017-01-04 Joseph Myers <joseph@codesourcery.com>
1767
1768 * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
1769 payload if [__mips_nan2008].
1770
8f56cb51
AM
17712017-01-04 Alan Modra <amodra@gmail.com>
1772
1773 * Makefile.in (configure_deps): Update.
1774 * configure: Regenerate.
1775
cbe34bb5
JJ
17762017-01-01 Jakub Jelinek <jakub@redhat.com>
1777
1778 Update copyright years.
1779
ab955692
KW
17802016-12-19 Krister Walfridsson <krister.walfridsson@gmail.com>
1781
1782 * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
1783 * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
1784 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
1785
de34320f
MK
17862016-12-17 Matthias Klose <doko@ubuntu.com>
1787
1788 * config/arc/gmon: Remove empty directory.
1789
e04ea1da
CZ
17902016-12-16 Claudiu Zissulescu <claziss@synopsys.com>
1791
1792 * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
1793 crtgend.
1794 (arc*-*-elf*): Likewise.
1795 * config/arc/t-arc: Remove old gmon lib targets.
1796 * config/arc/crtg.S: Remove.
1797 * config/arc/crtgend.S: Likewise.
1798 * config/arc/gmon/atomic.h: Likewise.
1799 * config/arc/gmon/auxreg.h: Likewise.
1800 * config/arc/gmon/dcache_linesz.S: Likewise.
1801 * config/arc/gmon/gmon.c: Likewise.
1802 * config/arc/gmon/machine-gmon.h: Likewise.
1803 * config/arc/gmon/mcount.c: Likewise.
1804 * config/arc/gmon/prof-freq-stub.S: Likewise.
1805 * config/arc/gmon/prof-freq.c: Likewise.
1806 * config/arc/gmon/profil.S: Likewise.
1807 * config/arc/gmon/sys/gmon.h: Likewise.
1808 * config/arc/gmon/sys/gmon_out.h: Likewise.
1809 * config/arc/t-arc-newlib: Likewise.
1810 * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
1811
8ae1c2c1
GS
18122016-12-12 George Spelvin <linux@sciencehorizons.net>
1813
1814 * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
1815
a5b947fa
GS
18162016-12-12 George Spelvin <linux@sciencehorizons.net>
1817
1818 * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
1819 R16 instead of push + pop.
1820 (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
1821
d6574dd1
KW
18222016-12-10 Krister Walfridsson <krister.walfridsson@gmail.com>
1823
1824 * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
1825 tmake_file.
1826
62440b4f
CM
18272016-12-05 Cupertino Miranda <cmiranda@synopsys.com>
1828
1829 * config.host (arc*-*-linux-uclibc*): Use default extra
1830 objects. Include linux-android header.
1831 * config/arc/crti.S (_init): Declare symbol as function.
1832 (_fini): Likewise.
1833
31cfd832
TK
18342016-12-03 Thomas Koenig <tkoenig@gcc.gnu.org>
1835
1836 PR fortran/78379
1837 * config/i386/cpuinfo.c: Move denums for processor vendors,
1838 processor type, processor subtypes and declaration of
1839 struct __processor_model into
1840 * config/i386/cpuinfo.h: New header file.
1841
c92e08e3
AV
18422016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
1843 Thomas Preud'homme <thomas.preudhomme@arm.com>
1844
1845 * config/arm/cmse_nonsecure_call.S: New.
1846 * config/arm/t-arm: Compile cmse_nonsecure_call.S
1847
de7b5723
AV
18482016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
1849 Thomas Preud'homme <thomas.preudhomme@arm.com>
1850
1851 * config/arm/t-arm (HAVE_CMSE): New.
1852 * config/arm/cmse.c: New.
1853
7a0d2bce
TP
18542016-11-28 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
1855
b3a5bff4
TP
1856 PR gcc/74748
1857 * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
1858 use generic linker version information on Blackfin.
1859
7a0d2bce
TP
1860 PR gcc/74748
1861 * libgcc/mkmap-symver.awk: add support for skip_underscore
1862
b410cf1d
IS
18632016-11-27 Iain Sandoe <iain@codesourcery.com>
1864 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1865
1866 PR target/67710
1867 * config/t-darwin: Default builds to 10.5 codegen.
1868
2e5f8203
JG
18692016-11-24 James Greenhalgh <james.greenhalgh@arm.com>
1870
1871 * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
1872 (_FP_NANSIGN_H): Likewise.
1873 * config/aarch64/t-softfp (softfp_extensions): Add hftf.
1874 (softfp_truncations): Add tfhf.
1875 (softfp_extras): Add required conversion functions.
1876
bea64ca3
JG
18772016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
1878 Matthew Wahab <matthew.wahab@arm.com>
1879
1880 * config/arm/fp16.c (binary64): New.
1881 (__gnu_d2h_internal): New.
1882 (__gnu_d2h_ieee): New.
1883 (__gnu_d2h_alternative): New.
1884
8630cadb
JG
18852016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
1886 Matthew Wahab <matthew.wahab@arm.com>
1887
1888 * config/arm/fp16.c (struct format): New.
1889 (binary32): New.
1890 (__gnu_float2h_internal): New. Body moved from
1891 __gnu_f2h_internal and generalize.
1892 (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
1893 Call it with binary32.
1894
5823ef23
JG
18952016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
1896
1897 * soft-fp/extendhftf2.c: Update from glibc.
1898 * soft-fp/fixhfti.c: Likewise.
1899 * soft-fp/fixunshfti.c: Likewise.
1900 * soft-fp/floattihf.c: Likewise.
1901 * soft-fp/floatuntihf.c: Likewise.
1902 * soft-fp/half.h: Likewise.
1903 * soft-fp/trunctfhf2.c: Likewise.
1904
62a7df9f
MG
19052016-11-20 Marc Glisse <marc.glisse@inria.fr>
1906
1907 PR libgcc/77813
1908 * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
1909 __TMC_END__ behind a passthrough asm.
1910
7a384912
WL
19112016-11-18 Walter Lee <walt@tilera.com>
1912
62a7df9f 1913 * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
7a384912 1914
9775c1a5
L
19152016-11-17 Andrew Senkevich <andrew.senkevich@intel.com>
1916
1917 * config/i386/cpuinfo.c (processor_features): Add
1918 FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
1919
48c842ab
CZ
19202016-11-17 Claudiu Zissulescu <claziss@synopsys.com>
1921
1922 * config/arc/dp-hack.h (ARC_OPTFPE): Define.
1923 (__ARC_NORM__): Use instead ARC_OPTFPE.
1924 * config/arc/fp-hack.h: Likewise.
1925 * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
1926 (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
1927
5012919d
AM
19282016-11-16 Alexander Monakov <amonakov@ispras.ru>
1929
1930 * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
1931 * config/nvptx/mgomp.c: New file.
1932 * config/nvptx/t-nvptx: Add mgomp.c
1933
00178b98
WB
19342016-11-16 Waldemar Brodkorb <wbx@openadk.org>
1935
1936 PR libgcc/68468
1937 * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
1938
d64af69f
CZ
19392016-11-15 Claudiu Zissulescu <claziss@synopsys.com>
1940
1941 * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
1942 of checking for cpus.
1943 (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
1944 (__modsi3, __clzsi2): Likewise.
1945
9d8f95de
SN
19462016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
1947
1948 * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
1949 i386/t-cpuinfo-static instead of i386/t-cpuinfo.
1950 * config/i386/t-cpuinfo-static: New.
1951
7d29f8e3
ML
19522016-11-03 Martin Liska <mliska@suse.cz>
1953
1954 * libgcov-profiler.c (__gcov_time_profiler): Remove.
1955 (__gcov_time_profiler_atomic): Likewise.
1956
5de3e2d8
BE
19572016-11-03 Bernd Edlinger <bernd.edlinger@hotmail.de>
1958
1959 PR libgcc/78067
1960 * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
1961 count_leading_zeros.
1962
18362447
UB
19632016-11-02 Uros Bizjak <ubizjak@gmail.com>
1964
1965 * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
1966 * libgcc2.c (__divmoddi4): New function.
1967 * libgcc2.h (__divmoddi4): Declare.
1968 * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
1969 and __PFX_divmodti4.
1970
33107571
FW
19712016-10-24 Florian Weimer <fweimer@redhat.com>
1972
1973 PR libgcc/78064
1974 * unwind-c.c: Include auto-target.h.
1975
4c6d7494
JDA
19762016-10-19 John David Anglin <danglin@gcc.gnu.org>
1977
18362447 1978 * config/pa/pa64-hpux-lib.h: New file.
4c6d7494
JDA
1979 (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
1980 (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
1981 * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
1982 hppa*64*-*-hpux11*.
1983
2a26adf1
MF
19842016-10-18 Max Filippov <jcmvbkbc@gmail.com>
1985
1986 * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
1987 definition.
1988 * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
1989 definition.
1990 * config/xtensa/t-windowed (LIB2ADDEH): Use
1991 LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
1992 or xtensa/t-linux.
1993
66192aa1
DKC
19942016-10-18 Ding-Kai Chen <dkchen@cadence.com>
1995
1996 * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
1997 __ieee754_sqrt): New functions.
1998 (__divdf3): Add implementation with new FPU instructions under
1999 #if XCHAL_HAVE_DFP_DIV.
2000 * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
2001 __ieee754_sqrtf): New functions.
2002 (__divsf3): Add implementation with new FPU instructions under
2003 #if XCHAL_HAVE_FP_DIV.
2004 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
2005 _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
2006
4d0cdd0c
TP
20072016-10-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
2008
2009 * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
2010 equivalent.
2011 * config/tilepro/atomic.c: Likewise and stop casting model to
2012 enum memmodel.
2013
73f01cca
JM
20142016-10-10 Joseph Myers <joseph@codesourcery.com>
2015
2016 PR target/77586
2017 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
2018 soft-fp.
2019
b20e7532
AT
20202016-10-10 Andreas Tobler <andreast@gcc.gnu.org>
2021
2022 * config.host: Add support for aarch64-*-freebsd*.
2023
a786cec4
AS
20242016-10-05 Andreas Schwab <schwab@suse.de>
2025
2026 * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
2027 (.section .init_array): Don't call __do_jv_register_classes.
2028 (.section .init): Likewise.
2029
5a79befb
JJ
20302016-10-04 Jakub Jelinek <jakub@redhat.com>
2031
2032 * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
2033 (__JCR_LIST__): Remove.
2034 (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
2035 * config/i386/cygming-crtend.c (__JCR_END__): Remove.
2036 * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
2037 * config/ia64/crtend.S (__JCR_END__): Remove.
2038 * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
2039 conditionals.
2040 (__JCR_LIST__, __JCR_END__): Remove.
2041 (frame_dummy): Don't attempt to _Jv_RegisterClasses.
2042 (__do_global_ctors_1): Likewise.
2043
e0ab3753
UB
20442015-09-28 Uros Bizjak <ubizjak@gmail.com>
2045
2046 * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
2047 (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
2048
8c9434c2
ML
20492016-09-27 Martin Liska <mliska@suse.cz>
2050
2051 PR gcov-profile/7970
2052 PR gcov-profile/16855
2053 PR gcov-profile/44779
2054 * libgcov-driver.c (__gcov_init): Do not register a atexit
2055 handler.
2056 (__gcov_exit): Rename from gcov_exit.
2057 * libgcov.h (__gcov_exit): Declare.
2058
56b653f1
ML
20592016-09-27 Martin Liska <mliska@suse.cz>
2060
2061 PR bootstrap/77749
2062 * Makefile.in: Remove _gcov_merge_delta.
2063 * libgcov-merge.c (void __gcov_merge_delta): Remove.
2064 * libgcov-util.c (__gcov_delta_counter_op): Remove.
2065 * libgcov.h: Remove declaration of __gcov_merge_delta.
2066
7e02fd1b
EB
20672016-09-21 Eric Botcazou <ebotcazou@adacore.com>
2068
2069 * configure.ac: Do not create links, only substitute the filenames.
2070 * configure: Regenerate.
2071 * Makefile.in: Assign the substitution results to variables.
2072 (LIBGCC_LINKS): Define.
2073 (enable-execute-stack.c): New rule.
2074 (unwind.h): Likewise.
2075 (md-unwind-support.h): Likewise.
2076 (sfp-machine.h): Likewise.
2077 (gthr-default.h): Likewise.
2078 Add $(LIBGCC_LINKS) to the prerequisites of all object files and
2079 unwind.h as prerequisite of install-unwind_h-forbuild.
2080
29991048
JJ
20812016-09-16 Jakub Jelinek <jakub@redhat.com>
2082
2083 PR libgcc/71744
2084 * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
2085 is not the primary registry and atomics are available.
2086 (any_objects_registered): New variable.
2087 (__register_frame_info_bases, __register_frame_info_table_bases):
2088 Atomically store 1 to any_objects_registered after registering first
2089 unwind info.
2090 (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
2091
0abcd6cc
JG
20922016-09-09 James Greenhalgh <james.greenhalgh@arm.com>
2093
2094 PR target/63250
2095 * Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
2096 * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
2097 (HFtype): Likewise.
2098 (HCtype): Likewise.
2099 (__divhc3): Likewise.
2100 (__mulhc3): Likewise.
2101 * libgcc2.c: Support _mulhc3 and _divhc3.
2102
d758aeb5
JM
21032016-09-07 Joseph Myers <joseph@codesourcery.com>
2104
2105 PR libgcc/77519
2106 * libgcc2.c (NOTRUNC): Invert settings.
2107
7fe76f6a
ML
21082016-09-06 Martin Liska <mliska@suse.cz>
2109
2110 PR gcov-profile/77378
2111 PR gcov-profile/77466
2112 * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
2113 conditionaly enable/disable *_atomic functions.
2114
21184026
JM
21152016-08-26 Joseph Myers <joseph@codesourcery.com>
2116
2117 * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
2118 where not already enabled.
2119
726f49c3
SN
21202016-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
2121
2122 * config/mips/linux-unwind.h: Use sys/syscall.h.
2123
feeb6268
JM
21242016-08-16 Joseph Myers <joseph@codesourcery.com>
2125
2126 PR libgcc/77265
2127 * soft-fp/adddf3.c: Update from glibc.
2128 * soft-fp/addsf3.c: Likewise.
2129 * soft-fp/addtf3.c: Likewise.
2130 * soft-fp/divdf3.c: Likewise.
2131 * soft-fp/divsf3.c: Likewise.
2132 * soft-fp/divtf3.c: Likewise.
2133 * soft-fp/double.h: Likewise.
2134 * soft-fp/eqdf2.c: Likewise.
2135 * soft-fp/eqsf2.c: Likewise.
2136 * soft-fp/eqtf2.c: Likewise.
2137 * soft-fp/extenddftf2.c: Likewise.
2138 * soft-fp/extended.h: Likewise.
2139 * soft-fp/extendsfdf2.c: Likewise.
2140 * soft-fp/extendsftf2.c: Likewise.
2141 * soft-fp/extendxftf2.c: Likewise.
2142 * soft-fp/fixdfdi.c: Likewise.
2143 * soft-fp/fixdfsi.c: Likewise.
2144 * soft-fp/fixdfti.c: Likewise.
2145 * soft-fp/fixsfdi.c: Likewise.
2146 * soft-fp/fixsfsi.c: Likewise.
2147 * soft-fp/fixsfti.c: Likewise.
2148 * soft-fp/fixtfdi.c: Likewise.
2149 * soft-fp/fixtfsi.c: Likewise.
2150 * soft-fp/fixtfti.c: Likewise.
2151 * soft-fp/fixunsdfdi.c: Likewise.
2152 * soft-fp/fixunsdfsi.c: Likewise.
2153 * soft-fp/fixunsdfti.c: Likewise.
2154 * soft-fp/fixunssfdi.c: Likewise.
2155 * soft-fp/fixunssfsi.c: Likewise.
2156 * soft-fp/fixunssfti.c: Likewise.
2157 * soft-fp/fixunstfdi.c: Likewise.
2158 * soft-fp/fixunstfsi.c: Likewise.
2159 * soft-fp/fixunstfti.c: Likewise.
2160 * soft-fp/floatdidf.c: Likewise.
2161 * soft-fp/floatdisf.c: Likewise.
2162 * soft-fp/floatditf.c: Likewise.
2163 * soft-fp/floatsidf.c: Likewise.
2164 * soft-fp/floatsisf.c: Likewise.
2165 * soft-fp/floatsitf.c: Likewise.
2166 * soft-fp/floattidf.c: Likewise.
2167 * soft-fp/floattisf.c: Likewise.
2168 * soft-fp/floattitf.c: Likewise.
2169 * soft-fp/floatundidf.c: Likewise.
2170 * soft-fp/floatundisf.c: Likewise.
2171 * soft-fp/floatunditf.c: Likewise.
2172 * soft-fp/floatunsidf.c: Likewise.
2173 * soft-fp/floatunsisf.c: Likewise.
2174 * soft-fp/floatunsitf.c: Likewise.
2175 * soft-fp/floatuntidf.c: Likewise.
2176 * soft-fp/floatuntisf.c: Likewise.
2177 * soft-fp/floatuntitf.c: Likewise.
2178 * soft-fp/gedf2.c: Likewise.
2179 * soft-fp/gesf2.c: Likewise.
2180 * soft-fp/getf2.c: Likewise.
2181 * soft-fp/ledf2.c: Likewise.
2182 * soft-fp/lesf2.c: Likewise.
2183 * soft-fp/letf2.c: Likewise.
2184 * soft-fp/muldf3.c: Likewise.
2185 * soft-fp/mulsf3.c: Likewise.
2186 * soft-fp/multf3.c: Likewise.
2187 * soft-fp/negdf2.c: Likewise.
2188 * soft-fp/negsf2.c: Likewise.
2189 * soft-fp/negtf2.c: Likewise.
2190 * soft-fp/op-1.h: Likewise.
2191 * soft-fp/op-2.h: Likewise.
2192 * soft-fp/op-4.h: Likewise.
2193 * soft-fp/op-8.h: Likewise.
2194 * soft-fp/op-common.h: Likewise.
2195 * soft-fp/quad.h: Likewise.
2196 * soft-fp/single.h: Likewise.
2197 * soft-fp/soft-fp.h: Likewise.
2198 * soft-fp/subdf3.c: Likewise.
2199 * soft-fp/subsf3.c: Likewise.
2200 * soft-fp/subtf3.c: Likewise.
2201 * soft-fp/truncdfsf2.c: Likewise.
2202 * soft-fp/trunctfdf2.c: Likewise.
2203 * soft-fp/trunctfsf2.c: Likewise.
2204 * soft-fp/trunctfxf2.c: Likewise.
2205 * soft-fp/unorddf2.c: Likewise.
2206 * soft-fp/unordsf2.c: Likewise.
2207 * soft-fp/unordtf2.c: Likewise.
2208
2e6fc1ac
GG
22092016-08-15 Gilles Gouaillardet <gilles.gouaillardet@gmail.com>
2210
2211 PR gcov-profile/67097
2212 * libgcov-util.c (gcov_profile_merge): Skip missing files.
2213
a266236e
ML
22142016-08-10 Martin Liska <mliska@suse.cz>
2215
2216 PR gcov-profile/58306
2217 * Makefile.in: New functions (modules) are added.
2218 * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
2219 function.
2220 (__gcov_pow2_profiler_atomic): New function.
2221 (__gcov_one_value_profiler_body): New argument is instroduced.
2222 (__gcov_one_value_profiler): Call with the new argument.
2223 (__gcov_one_value_profiler_atomic): Likewise.
2224 (__gcov_indirect_call_profiler_v2): Likewise.
2225 (__gcov_time_profiler_atomic): New function.
2226 (__gcov_average_profiler_atomic): Likewise.
2227 (__gcov_ior_profiler_atomic): Likewise.
2228 * libgcov.h: Declare the aforementioned functions.
2229
e0c8eebf
ML
22302016-08-09 Martin Liska <mliska@suse.cz>
2231
2232 * libgcov-util.c: Fix typo and GNU coding style.
2233
6dce6418
ML
22342016-08-09 Martin Liska <mliska@suse.cz>
2235
2236 * Makefile.in: Remove __gcov_indirect_call_profiler.
2237 * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
2238 function.
2239 * libgcov.h: And the declaration of the function.
2240
dcb1e137
ML
22412016-08-09 Martin Liska <mliska@suse.cz>
2242
2243 * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
2244 power of two.
2245
d6e69705
BS
22462016-07-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
2247
2248 * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
2249 * config/rs6000/_mulkc3.c: Likewise.
2250
96aa1f95
GJL
22512016-07-29 Georg-Johann Lay <avr@gjlay.de>
2252
2253 * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
2254 zero_reg as previous call to __umulhisi3 already cleared it.
2255
a1b01d34
AJ
22562016-07-21 Aurelien Jarno <aurelien@aurel32.net>
2257
2258 PR target/59833
2259 * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
2260
985a47b2
NC
22612016-07-19 Nick Clifton <nickc@redhat.com>
2262
2263 * config.host (m32r): Add m32r/t-m32r to tmake_file.
2264 Add crtinit.o and crtfini.o to extra_parts.
2265
f906f5ed
BS
22662016-07-12 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
2267
2268 * config/rs6000/_divkc3.c: New.
2269 * config/rs6000/_mulkc3.c: New.
2270 * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
2271 and _divkc3.
2272 * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
2273 fp128_ppc_funcs.
2274
82742404
HW
22752016-07-11 Hale Wang <hale.wang@arm.com>
2276 Andre Vieira <andre.simoesdiasvieira@arm.com>
2277
2278 * config/arm/lib1funcs.S: Add new wrapper.
2279
05a437c1
TP
22802016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
2281
2282 * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
2283
3d16d9ec
TP
22842016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
2285
2286 * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
2287 and ARMv5t* rather than for a fixed list of architectures.
2288
6f493951
TP
22892016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
2290
2291 * config/arm/bpabi-v6m.S: Clarify what architectures is the
2292 implementation suitable for.
2293 * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
2294 for all Thumb-1 only targets.
2295 (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
2296 (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
2297 __ARM_ARCH_6M__.
2298 (EQUIV): Likewise.
2299 (ARM_FUNC_ALIAS): Likewise.
2300 (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
2301 version.
2302 (modsi3): Likewise.
2303 (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
2304 (clzdi2): Likewise.
2305 (ctzsi2): Likewise.
2306 (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
2307 __ARM_ARCH_6M__ in guard for checking whether it is defined.
2308 (final includes): Test for NOT_ISA_TARGET_32BIT rather than
2309 __ARM_ARCH_6M__ and add comment to indicate the connection between
2310 this condition and the one in gcc/config/arm/elf.h.
2311 * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
2312 __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
2313 * config/arm/t-softfp: Likewise.
2314
1770511a
TS
23152016-07-06 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2316
2317 * libgcc2.c (SYMBOL__MAIN): Remove checks for
2318 CTOR_LISTS_DEFINED_EXTERNALLY.
2319
ba6be749
WL
23202016-06-28 Walter Lee <walt@tilera.com>
2321
2322 * config/tilepro/atomic.h: Do not include arch/spr_def.h and
2323 asm/unistd.h.
2324 (SPR_CMPEXCH_VALUE): Define for tilegx.
2325 (__NR_FAST_cmpxchg): Define for tilepro.
2326 (__NR_FAST_atomic_update): Define for tilepro.
2327 (__NR_FAST_cmpxchg64): Define for tilepro.
2328
a34c0db5
JS
23292016-06-23 Jakub Sejdak <jakub.sejdak@phoesys.com>
2330
18362447 2331 * config.host: Add suport for arm*-*-phoenix* targets.
a34c0db5 2332
0609abda
TS
23332016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2334
2335 * config.host: Remove support for mep-*.
2336 * config/mep/lib1funcs.S: Remove.
2337 * config/mep/lib2funcs.c: Remove.
2338 * config/mep/t-mep: Remove.
2339 * config/mep/tramp.c: Remove.
2340
3e326935
TS
23412016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2342
2343 * config.host: Remove support for avr-rtems.
2344 * config/avr/t-rtems: Remove.
2345
914b155c
TS
23462016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2347
2348 * config.host: Remove m32r-rtems support.
2349
5ebf89bd
TS
23502016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2351
2352 * config.host: Remove h8300-rtems support.
2353
8466af06
TS
23542016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2355
2356 * config.host: Remove support for knetbsd.
2357
d980e738
TS
23582016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2359
2360 * config.host: Remove support for openbsd 2 and 3.
2361
ee2499b4
TS
23622016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2363
2364 * config.host: Remove interix support.
2365 * config/i386/t-interix: Remove.
2366
9f92937b
JDA
23672016-06-18 John David Anglin <danglin@gcc.gnu.org>
2368
2369 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
2370 least-significant bit in function pointer for fixup.
2371
0a0ec53d
AC
23722016-06-05 Aaron Conole <aconole@redhat.com>
2373 Nathan Sidwell <nathan@acm.org>
2374
2375 PR libgcc/71400
2376 * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
2377 (get_gcov_error_file): Check __gcov_error_file before trying to
2378 initialize it.
2379 (gcov_error): Always use get_gcov_error_file.
2380
8aa5bdd6
AC
23812016-06-02 Aaron Conole <aconole@redhat.com>
2382
2383 * libgcov-driver-system.c (__gcov_error_file): New.
2384 (get_gcov_error_file): New.
2385 (gcov_error): Use and set __gcov_error_file.
2386 (gcov_error_exit): New.
2387 * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
2388
40774faf
NS
23892016-05-26 Nathan Sidwell <nathan@acm.org>
2390
2391 * config/nvptx/free.asm: Delete.
2392 * config/nvptx/malloc.asm: Delete.
2393 * config/nvptx/realloc.c: Delete.
2394 * t-nvptx: Update.
2395
69a6d5ad
NS
23962016-05-25 Nathan Sidwell <nathan@acm.org>
2397
2398 * config/nvptx/crt0.s: Delete.
2399 * config/nvptx/crt0.c: New.
2400 * t-nvptx: Update.
2401
6befaff6
SL
24022016-05-19 Sandra Loosemore <sandra@codesourcery.com>
2403
385c7747 2404 * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
6befaff6
SL
2405 dw2/seh configuration.
2406 [x86_64-*-mingw*]: Likewise.
2407
ad251dfd
JS
24082016-05-10 Joel Sherrill <joel@rtems.org>
2409
2410 PR libgcc/70720
2411 * config.host (moxie-*-rtems*): Merge this stanza with other moxie
2412 targets so the same extra_parts are built. Also have tmake_file add
2413 on to its value rather than override.
2414
bc6d9014
OE
24152016-04-30 Oleg Endo <olegendo@gcc.gnu.org>
2416
2417 * config.host: Remove SH5 support.
2418 * configure: Likewise.
2419
9129c8cf
OE
24202016-04-29 Oleg Endo <olegendo@gcc.gnu.org>
2421
2422 * config/sh/crt1.S: Remove SH5 support.
2423 * config/sh/crti.S: Likewise.
2424 * config/sh/crtn.S: Likewise.
2425 * config/sh/lib1funcs-4-300.S: Likewise.
2426 * config/sh/lib1funcs-Os-4-200.S: Likewise.
2427 * config/sh/lib1funcs.S: Likewise.
2428 * config/sh/linux-unwind.h: Likewise.
2429 * config/sh/t-sh64: Delete.
2430
39d50464
CZ
24312016-04-29 Claudiu Zissulescu <claziss@synopsys.com>
2432
2433 * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
2434
8b48923b
CZ
24352016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
2436 Joern Rennecke <joern.rennecke@embecosm.com>
2437
2438 * config/arc/crttls.S: New file.
2439 * config/arc/t-arc: New rule.
2440 * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
2441
2de1cf8c
NC
24422016-04-25 Nick Clifton <nickc@redhat.com>
2443
2444 * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
2445 (__mspabi_cmpd): Likewise.
2446 * config/msp430/floathidf.c (__floathidf): Likewise.
2447 * config/msp430/floathisf.c (__floathisf): Likewise
2448 * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
2449 * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
2450 * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
2451 second parameter.
2452 (__ashrsi3): Likewise.
2453
b8ce3fe2
WB
24542016-04-21 Waldemar Brodkorb <wbx@openadk.org>
2455
2456 * config/m68k/linux-atomic.c: Do not include unistd.h
2457
4986f823
MG
24582016-04-20 Martin Galvan <martin.galvan@tallertechnologies.com>
2459
2460 * config/arm/ieee754-df.S: Fix typos in comments.
2461
35fbda43
MM
24622016-04-11 Michael Meissner <meissner@linux.vnet.ibm.com>
2463
2464 PR target/70381
2465 * configure.ac (powerpc*-*-linux*): Rework tests to build
2466 __float128 emulation routines to not depend on using #pragma GCC
2467 target to enable -mfloat128.
2468 * configure: Regnerate.
2469
72d1a48d
EB
24702016-04-04 Eric Botcazou <ebotcazou@adacore.com>
2471
2472 PR target/67172
2473 * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
2474 __MINGW32__ is defined.
2475
dc2e8995
JB
24762016-03-28 James Bowman <james.bowman@ftdichip.com>
2477
385c7747 2478 * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
dc2e8995 2479
104cdaf1
MM
24802016-03-22 Michael Meissner <meissner@linux.vnet.ibm.com>
2481
2482 PR libgcc/70363
2483 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
2484 built with an assembler that does not support ISA 3.0
2485 instructions, rename __extendkftf2_sw to __extendkftf2.
2486
a5046f48
RO
24872016-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2488
2489 PR target/38239
2490 * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
2491 call-clobbered registers.
2492 (internal_mcount): Remove __i386__ handling.
2493
df674f74
JS
24942016-02-26 Joel Sherrill <joel@rtems.org>
2495
2496 * config.host: Add x86_64-*-rtems*.
2497
7cb065d6
JS
24982016-02-26 Joel Sherrill <joel@rtems.org>
2499
2500 * libgcc/config.host: Add aarch64-*-rtems*.
2501
47dfdc53
PM
25022016-02-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2503 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
2504
2505 * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
2506 union of u64 and double.
2507 (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
2508 (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
2509 value.
2510 (FP_ROUNDMODE): Update the usage of _fpscr.
2511
e6861a99
IV
25122016-02-25 Ilya Verbin <ilya.verbin@intel.com>
2513
2514 PR driver/68463
2515 * Makefile.in (crtoffloadtable$(objext)): New rule.
2516 * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
2517 enable_offload_targets is not empty.
2518 * configure: Regenerate.
2519 * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
2520 crtoffloadtable.
2521
9bfcbdee
MF
25222016-02-17 Max Filippov <jcmvbkbc@gmail.com>
2523
2524 * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
2525 .literal_position before the function.
2526 * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
2527 Likewise.
2528
4cb4721f
MK
25292016-02-15 Marcin Kościelnicki <koriakin@0x04.net>
2530
2531 * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
2532 * config/s390/morestack.S: New file.
2533 * config/s390/t-stack-s390: New file.
2534 * generic-morestack.c (__splitstack_find): Add s390-specific code.
2535
b29d9a29
WL
25362016-02-12 Walter Lee <walt@tilera.com>
2537
2538 * config.host (tilegx*-*-linux*): remove ti from
2539 softfp_int_modes for 32-bit configs.
2540
03a0ae7d
ILT
25412016-02-10 Ian Lance Taylor <iant@google.com>
2542
2543 PR go/68562
2544 * config/i386/morestack.S (__stack_split_initialize): Align
2545 stack.
2546
68750bce
AT
25472016-02-03 Andreas Tobler <andreast@gcc.gnu.org>
2548
2549 PR bootstrap/69611
2550 * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
2551 __FLOAT128__ to compile only for __float128 capable targets.
2552
7d296953
JJ
25532016-01-25 Jakub Jelinek <jakub@redhat.com>
2554
2555 PR target/69444
2556 * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
2557 instead of ___NO_FPRS__.
2558
a71c0334 25592016-01-21 Michael Meissner <meissner@linux.vnet.ibm.com>
7d296953
JJ
2560 Steven Munroe <munroesj@linux.vnet.ibm.com>
2561 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
a71c0334
MM
2562
2563 * config/rs6000/float128-sed: New files to convert TF names to KF
2564 names for PowerPC IEEE 128-bit floating point support.
2565 * config/rs6000/float128-sed-hw: Likewise.
2566
2567 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
2568 floating point hardware support.
2569
2570 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
2571 128-bit floating point software emulation or use ISA 3.0 hardware
2572 support if it is available.
2573
2574 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
2575 floating point.
2576
2577 * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
2578 floating point to IBM extended double.
2579
2580 * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
2581 double to IEEE 128-bit floating point.
2582
2583 * config/rs6000/t-float128: New Makefile fragments to enable
2584 building __float128 emulation support.
2585 * config/rs6000/t-float128-hw: Likewise.
2586
2587 * config/rs6000/sfp-exceptions.c: New file to provide exception
2588 support for IEEE 128-bit floating point.
2589
2590 * config/rs6000/floattikf.c: New files for converting between IEEE
2591 128-bit floating point and signed/unsigned 128-bit integers.
2592 * config/rs6000/fixunskfti.c: Likewise.
2593 * config/rs6000/fixkfti.c: Likewise.
2594 * config/rs6000/floatuntikf.c: Likewise.
2595
2596 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
2597 when building on 64-bit systems, or when VSX is enabled.
2598 (_FP_W_TYPE): Likewise.
2599 (_FP_WS_TYPE): Likewise.
2600 (_FP_I_TYPE): Likewise.
2601 (TItype): Define on 64-bit systems.
2602 (UTItype): Likewise.
2603 (TI_BITS): Likewise.
2604 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
2605 (_FP_MUL_MEAT_Q): Likewise.
2606 (_FP_DIV_MEAT_D): Likewise.
2607 (_FP_DIV_MEAT_Q): Likewise.
2608 (_FP_NANFRAC_D): Likewise.
2609 (_FP_NANFRAC_Q): Likewise.
2610 (ISA_BIT): Add exception support if we are being compiled on a
2611 machine with hardware floating point support to build the IEEE
2612 128-bit emulation functions.
2613 (FP_EX_INVALID): Likewise.
2614 (FP_EX_OVERFLOW): Likewise.
2615 (FP_EX_UNDERFLOW): Likewise.
2616 (FP_EX_DIVZERO): Likewise.
2617 (FP_EX_INEXACT): Likewise.
2618 (FP_EX_ALL): Likewise.
2619 (__sfp_handle_exceptions): Likewise.
2620 (FP_HANDLE_EXCEPTIONS): Likewise.
2621 (FP_RND_NEAREST): Likewise.
2622 (FP_RND_ZERO): Likewise.
2623 (FP_RND_PINF): Likewise.
2624 (FP_RND_MINF): Likewise.
2625 (FP_RND_MASK): Likewise.
2626 (_FP_DECL_EX): Likewise.
2627 (FP_INIT_ROUNDMODE): Likewise.
2628 (FP_ROUNDMODE): Likewise.
2629
2630 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
2631 VSX code, enable IEEE 128-bit floating point. If the compiler can
2632 compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
2633 floating point hardware instructions and it supports declaring
2634 functions with the ifunc attribute, enable ifunc functions to
2635 switch between software and hardware support.
2636 * configure.ac (powerpc*-*-linux*): Likewise.
2637 * configure: Regenerate.
2638
bdc27e50
NC
26392016-01-15 Nick Clifton <nickc@redhat.com>
2640
2641 * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
2642 dependency as the source file to be compiled.
2643 (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
2644 (lib2hw_mul_f5.o): Likewise.
2645
006df05d
MM
26462016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
2647
2648 * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
2649 * libgcc/config/rs6000/fixkfti.c: Likewise.
2650 * libgcc/config/rs6000/fixunskfti.c: Likewise.
2651 * libgcc/config/rs6000/float128-hw.c: Likewise.
2652 * libgcc/config/rs6000/float128-ifunc.c: Likewise.
2653 * libgcc/config/rs6000/float128-sed: Likewise.
2654 * libgcc/config/rs6000/floattikf.c: Likewise.
2655 * libgcc/config/rs6000/floatuntikf.c: Likewise.
2656 * libgcc/config/rs6000/quad-float128.h: Likewise.
2657 * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
2658 * libgcc/config/rs6000/sfp-machine.h: Likewise.
2659 * libgcc/config/rs6000/t-float128: Likewise.
2660 * libgcc/config/rs6000/t-float128-hw: Likewise.
2661 * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
2662 * libgcc/config.host: Likewise.
2663 * libgcc/configure: Likewise.
2664 * libgcc/configure.ac: Likewise.
2665
29176d57 26662016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
7d296953
JJ
2667 Steven Munroe <munroesj@linux.vnet.ibm.com>
2668 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
29176d57
MM
2669
2670 * config/rs6000/sfp-exceptions.c: New file to provide exception
2671 support for IEEE 128-bit floating point.
2672
2673 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
2674 floating point hardware support.
2675
2676 * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
2677 point conversions.
2678 * config/rs6000/fixunskfti.c: Likewise.
2679 * config/rs6000/fixkfti.c: Likewise.
2680 * config/rs6000/floatuntikf.c: Likewise.
2681 * config/rs6000/extendkftf2-sw.c: Likewise.
2682 * config/rs6000/trunctfkf2-sw.c: Likewise.
2683
2684 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
2685 128-bit floating point software emulation or use ISA 3.0 hardware
2686 support if it is available.
2687
2688 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
2689 floating point.
2690
2691 * config/rs6000/t-float128: New Makefile fragments to enable
2692 building __float128 emulation support.
2693 * config/rs6000/t-float128-hw: Likewise.
2694
2695 * config/rs6000/float128-sed: New file to convert TF names to KF
2696 names for PowerPC IEEE 128-bit floating point support.
2697
2698 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
2699 when building on 64-bit systems, or when VSX is enabled.
2700 (_FP_W_TYPE): Likewise.
2701 (_FP_WS_TYPE): Likewise.
2702 (_FP_I_TYPE): Likewise.
2703 (TItype): Define on 64-bit systems.
2704 (UTItype): Likewise.
2705 (TI_BITS): Likewise.
2706 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
2707 (_FP_MUL_MEAT_Q): Likewise.
2708 (_FP_DIV_MEAT_D): Likewise.
2709 (_FP_DIV_MEAT_Q): Likewise.
2710 (_FP_NANFRAC_D): Likewise.
2711 (_FP_NANFRAC_Q): Likewise.
2712 (ISA_BIT): Add exception support if we are being compiled on a
2713 machine with hardware floating point support to build the IEEE
2714 128-bit emulation functions.
2715 (FP_EX_INVALID): Likewise.
2716 (FP_EX_OVERFLOW): Likewise.
2717 (FP_EX_UNDERFLOW): Likewise.
2718 (FP_EX_DIVZERO): Likewise.
2719 (FP_EX_INEXACT): Likewise.
2720 (FP_EX_ALL): Likewise.
2721 (__sfp_handle_exceptions): Likewise.
2722 (FP_HANDLE_EXCEPTIONS): Likewise.
2723 (FP_RND_NEAREST): Likewise.
2724 (FP_RND_ZERO): Likewise.
2725 (FP_RND_PINF): Likewise.
2726 (FP_RND_MINF): Likewise.
2727 (FP_RND_MASK): Likewise.
2728 (_FP_DECL_EX): Likewise.
2729 (FP_INIT_ROUNDMODE): Likewise.
2730 (FP_ROUNDMODE): Likewise.
2731
2732 * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
2733 compiler can do __float128.
2734 * configure: Regenerate.
2735
2736 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
2737 VSX code, enable IEEE 128-bit floating point.
2738
a2218983
OH
27392016-01-05 Olivier Hainque <hainque@adacore.com>
2740
2741 * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
29176d57 2742 specificities.
a2218983 2743
818ab71a
JJ
27442016-01-04 Jakub Jelinek <jakub@redhat.com>
2745
2746 Update copyright years.
2747
5a6c8ffa
AP
27482015-12-18 Andris Pavenis <andris.pavenis@iki.fi>
2749
2750 * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
29176d57 2751 soft-fp targets.
5a6c8ffa 2752
077067a5
BE
27532015-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
2754
2755 * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
2756 instead of abort to avoid dependency on stdlib.h.
2757
787c1027
JDA
27582015-12-09 John David Anglin <danglin@gcc.gnu.org>
2759
2760 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
2761 to initialize call to __dl_fixup once.
2762
04a9ae28
NC
27632015-12-04 Nick Clifton <nickc@redhat.com>
2764
2765 * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
2766 Allow for the second argument being negative.
2767 * config.host (extra_parts): Define for MSP430. Create separate
2768 libraries for each of the hardware multiply formats.
2769 * config/msp430/lib2hw_mul.S: Build only the multiply routines
2770 that are needed.
2771 * config/msp430/lib2mul.c: Likewise.
2772 * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
2773 Add rules to build hardware multiply libraries.
2774 * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
2775 __mspabi_divul function.
2776 (__mspabi_divllu): New stub function.
2777
9a32d437
JDA
27782015-12-01 John David Anglin <danglin@gcc.gnu.org>
2779
2780 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
2781 fixup values if saved GOT address doesn't match runtime address.
2782 (fixup_branch_offset): Reorder list.
2783
e5ef217c
RO
27842015-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2785
2786 * Makefile.in (VTV_CFLAGS): New variable.
2787 (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
2788 (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
2789 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
2790 Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
2791 to extra_parts if $enable_vtable_verify = yes.
2792
78cc43a2
SN
27932015-11-23 Szabolcs Nagy <szabolcs.nagy@arm.com>
2794
2795 PR target/68059
2796 * config/arm/linux-atomic-64bit.c (__write): Rename to...
2797 (write): ...this and fix the return type.
2798
9afebea2
DD
27992015-11-19 DJ Delorie <dj@redhat.com>
2800
2801 * config/msp430/lib2hw_mul.S: Fix alignment.
2802
33f47f42
NS
28032015-11-18 Nathan Sidwell <nathan@codesourcery.com>
2804
2805 * config/nvptx/reduction.c: New.
2806 * config/nvptx/t-nvptx (LIB2ADD): Add it.
2807
d9adb476
DE
28082015-11-15 David Edelsohn <dje.gcc@gmail.com>
2809
2810 * config/rs6000/on_exit.c: New file.
2811 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
2812 * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
2813
c0ab1970
CZ
28142015-11-11 Claudiu Zissulescu <claziss@synopsys.com>
2815
2816 * config/arc/dp-hack.h: Add support for ARCHS.
2817 * config/arc/ieee-754/divdf3.S: Likewise.
2818 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
2819 * config/arc/ieee-754/muldf3.S: Likewise.
2820 * config/arc/ieee-754/mulsf3.S: Likewise
2821 * config/arc/lib1funcs.S: Likewise
2822 * config/arc/gmon/dcache_linesz.S: Don't read the build register
2823 for ARCv2 cores.
2824 * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
2825 for ARCv2 cores.
2826 * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
2827 * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
2828 cores.
2829
e6b6bf09
RO
28302015-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2831
2832 * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
2833 value.
2834 * config/ia64/crtend.S: Likewise.
2835
a153644f
TS
28362015-11-07 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2837
2838 * config/visium/lib2funcs.c (__set_trampoline_parity): Use
2839 __CHAR_BIT__ instead of BITS_PER_UNIT.
2840 * fixed-bit.h: Likewise.
2841 * fp-bit.h: Likewise.
2842 * libgcc2.c (__popcountSI2): Likewise.
2843 (__popcountDI2): Likewise.
2844 * libgcc2.h: Likewise.
2845 * libgcov.h: Likewise.
2846
3dee689d
DE
28472015-11-07 David Edelsohn <dje.gcc@gmail.com>
2848
2849 * config/rs6000/atexit.c: New file.
2850 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
2851 * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
2852 * config/rs6000/cxa_finalize.c
2853 (catomic_compare_and_exchange_bool_acq): Negate return value.
2854
2ef543e4
VK
28552015-10-30 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
2856
2857 * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
2858 (processor_subtypes): Add znver1.
2859 (get_amd_cpu): Detect znver1.
2860
1300f017
CL
28612015-10-29 Christophe Lyon <christophe.lyon@linaro.org>
2862
2863 * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
2864 Include crtfastmath.o.
2865
3e5bb7ee
JR
28662015-10-23 Joern Rennecke <joern.rennecke@embecosm.com>
2867
2868 PR libgcc/66883
2869 * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
1300f017 2870
793aa938
KP
28712015-10-16 Kaushik Phatak <kaushik.phatak@kpit.com>
2872
2873 * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
2874 * config/rl78/divmodsi.S: Update return register to r8.
2875 * config/rl78/divmodhi.S: Update return register to r8,r9.
2876 Branch to main_loop_done_himode to pop registers before return.
2877
7d296953 28782015-10-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
fac812f0
VK
2879
2880 * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
2881 (__cpu_indicator_init): Fix model selection for AMD CPUs.
2882
6a192b5a
KY
28832015-10-05 Kirill Yukhin <kirill.yukhin@intel.com>
2884
2885 * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
2886
4a0a9457
MF
28872015-10-03 Max Filippov <jcmvbkbc@gmail.com>
2888
2889 * config.host (xtensa*-*-uclinux*): New configuration.
2890
ab91c076
KY
28912015-10-02 Kirill Yukhin <kirill.yukhin@intel.com>
2892
385c7747 2893 * config/i386/cpuinfo.c (processor_features): Add
ab91c076
KY
2894 FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
2895
30954527
JM
28962015-09-28 Joseph Myers <joseph@codesourcery.com>
2897
2898 * soft-fp/adddf3.c: Update from glibc.
2899 * soft-fp/addsf3.c: Likewise.
2900 * soft-fp/addtf3.c: Likewise.
2901 * soft-fp/divdf3.c: Likewise.
2902 * soft-fp/divsf3.c: Likewise.
2903 * soft-fp/divtf3.c: Likewise.
2904 * soft-fp/double.h: Likewise.
2905 * soft-fp/eqdf2.c: Likewise.
2906 * soft-fp/eqsf2.c: Likewise.
2907 * soft-fp/eqtf2.c: Likewise.
2908 * soft-fp/extenddftf2.c: Likewise.
2909 * soft-fp/extended.h: Likewise.
2910 * soft-fp/extendsfdf2.c: Likewise.
2911 * soft-fp/extendsftf2.c: Likewise.
2912 * soft-fp/extendxftf2.c: Likewise.
2913 * soft-fp/fixdfdi.c: Likewise.
2914 * soft-fp/fixdfsi.c: Likewise.
2915 * soft-fp/fixdfti.c: Likewise.
2916 * soft-fp/fixsfdi.c: Likewise.
2917 * soft-fp/fixsfsi.c: Likewise.
2918 * soft-fp/fixsfti.c: Likewise.
2919 * soft-fp/fixtfdi.c: Likewise.
2920 * soft-fp/fixtfsi.c: Likewise.
2921 * soft-fp/fixtfti.c: Likewise.
2922 * soft-fp/fixunsdfdi.c: Likewise.
2923 * soft-fp/fixunsdfsi.c: Likewise.
2924 * soft-fp/fixunsdfti.c: Likewise.
2925 * soft-fp/fixunssfdi.c: Likewise.
2926 * soft-fp/fixunssfsi.c: Likewise.
2927 * soft-fp/fixunssfti.c: Likewise.
2928 * soft-fp/fixunstfdi.c: Likewise.
2929 * soft-fp/fixunstfsi.c: Likewise.
2930 * soft-fp/fixunstfti.c: Likewise.
2931 * soft-fp/floatdidf.c: Likewise.
2932 * soft-fp/floatdisf.c: Likewise.
2933 * soft-fp/floatditf.c: Likewise.
2934 * soft-fp/floatsidf.c: Likewise.
2935 * soft-fp/floatsisf.c: Likewise.
2936 * soft-fp/floatsitf.c: Likewise.
2937 * soft-fp/floattidf.c: Likewise.
2938 * soft-fp/floattisf.c: Likewise.
2939 * soft-fp/floattitf.c: Likewise.
2940 * soft-fp/floatundidf.c: Likewise.
2941 * soft-fp/floatundisf.c: Likewise.
2942 * soft-fp/floatunditf.c: Likewise.
2943 * soft-fp/floatunsidf.c: Likewise.
2944 * soft-fp/floatunsisf.c: Likewise.
2945 * soft-fp/floatunsitf.c: Likewise.
2946 * soft-fp/floatuntidf.c: Likewise.
2947 * soft-fp/floatuntisf.c: Likewise.
2948 * soft-fp/floatuntitf.c: Likewise.
2949 * soft-fp/gedf2.c: Likewise.
2950 * soft-fp/gesf2.c: Likewise.
2951 * soft-fp/getf2.c: Likewise.
2952 * soft-fp/ledf2.c: Likewise.
2953 * soft-fp/lesf2.c: Likewise.
2954 * soft-fp/letf2.c: Likewise.
2955 * soft-fp/muldf3.c: Likewise.
2956 * soft-fp/mulsf3.c: Likewise.
2957 * soft-fp/multf3.c: Likewise.
2958 * soft-fp/negdf2.c: Likewise.
2959 * soft-fp/negsf2.c: Likewise.
2960 * soft-fp/negtf2.c: Likewise.
2961 * soft-fp/op-1.h: Likewise.
2962 * soft-fp/op-2.h: Likewise.
2963 * soft-fp/op-4.h: Likewise.
2964 * soft-fp/op-8.h: Likewise.
2965 * soft-fp/op-common.h: Likewise.
2966 * soft-fp/quad.h: Likewise.
2967 * soft-fp/single.h: Likewise.
2968 * soft-fp/soft-fp.h: Likewise.
2969 * soft-fp/subdf3.c: Likewise.
2970 * soft-fp/subsf3.c: Likewise.
2971 * soft-fp/subtf3.c: Likewise.
2972 * soft-fp/truncdfsf2.c: Likewise.
2973 * soft-fp/trunctfdf2.c: Likewise.
2974 * soft-fp/trunctfsf2.c: Likewise.
2975 * soft-fp/trunctfxf2.c: Likewise.
2976 * soft-fp/unorddf2.c: Likewise.
2977 * soft-fp/unordsf2.c: Likewise.
2978 * soft-fp/unordtf2.c: Likewise.
2979
4dfe21ac
RE
29802015-09-24 Richard Earnshaw <rearnsha@arm.com>
2981
2982 PR libgcc/67624
2983 * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
2984
df2a1cc4
RO
29852015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2986
2987 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
2988 Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
2989 * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
2990 messages.
2991 (internal_mcount): Likewise.
2992 * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
2993 crt_compile, add CRTSTUFF_T_CFLAGS_S.
2994
2d110442
RO
29952015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2996
2997 * configure.ac (libgcc_cv_solaris_crts): New test.
2998 * configure: Regenerate.
2999 * config.in: Regenerate.
3000 * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
3001 * config/gmon-sol2.c: Rename to ...
3002 * config/sol2/gmon.c: ... this.
3003 Include auto-target.h.
3004 (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
3005 * config/t-sol2: Rename to ...
3006 * config/sol2/t-sol2: ... this.
3007 (gmon.o): Reflect renaming.
3008 (crtp.o, crtpg.o): New rules.
3009 * config.host (*-*-solaris2*): Reflect renaming.
3010 Use system CRTs if present.
3011 Remove default CRT case.
3012
d572e439
JDA
30132015-09-23 John David Anglin <danglin@gcc.gnu.org>
3014
3015 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
3016 (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
3017 __kernel_cmpxchg2.
3018 (__sync_##OP##_and_fetch_##WIDTH): Likewise.
3019 (__sync_val_compare_and_swap_##WIDTH): Likewise.
3020 (__sync_bool_compare_and_swap_##WIDTH): Likewise.
3021 (__sync_lock_test_and_set_##WIDTH): Likewise.
3022 (__sync_lock_release_##WIDTH): Likewise.
3023 (__sync_fetch_and_##OP##_4): Change result to match type of
3024 __kernel_cmpxchg.
3025 (__sync_##OP##_and_fetch_4): Likewise.
3026 (__sync_val_compare_and_swap_4): Likewise.
3027 (__sync_bool_compare_and_swap_4): likewise.
3028 (__sync_lock_test_and_set_4): Likewise.
3029 (__sync_lock_release_4): Likewise.
3030 (FETCH_AND_OP_2): Add long long variants.
3031 (OP_AND_FETCH_2): Likewise.
3032 (COMPARE_AND_SWAP_2 ): Likewise.
3033 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
3034 (SYNC_LOCK_RELEASE_2): Likewise.
3035 (__sync_bool_compare_and_swap_##WIDTH): Correct return.
3036
7d296953 30372015-09-22 Kirill Yukhin <kirill.yukhin@intel.com>
06caf59d
KY
3038
3039 * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
3040 FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
3041 FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
3042 (get_available_features): Habdle new features.
3043
131314e1
JB
30442015-09-21 James Bowman <james.bowman@ftdichip.com>
3045
3046 * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
3047 memory layout. Deal correctly with BSS region larger than 32K.
3048 Handle a watchdog reset like a power-on reset. Clean up unused
3049 code.
3050
04218b35
AD
30512015-09-18 Andrew Dixie <andrewd@gentrack.com>
3052 David Edelsohn <dje.gcc@gmail.com>
3053
3054 * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
3055 * config/rs6000/crtdbase.S: New file.
3056 * config/rs6000/t-aix-cxa: Build crtdbase.o.
3057
c8338173
MF
30582015-09-15 Max Filippov <jcmvbkbc@gmail.com>
3059
3060 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
3061 Add support for call0 ABI.
3062
7a84bf71
JDA
30632015-09-13 John David Anglin <danglin@gcc.gnu.org>
3064
3065 * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
3066
4efab402
SH
30672015-09-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
3068
3069 * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
3070 (__GTHREAD_HAS_COND): Likewise.
3071 (__gthread_t): Likewise.
3072 (__gthread_cond_t): Likewise.
3073 (__gthread_time_t): Likewise.
3074 (__GTHREAD_MUTEX_INIT): Likewise.
3075 (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
3076 (__GTHREAD_COND_INIT): Likewise.
3077 (__GTHREAD_COND_INIT_FUNCTION): Likewise.
3078 (__GTHREAD_TIME_INIT): Likewise.
3079 (__gthread_create): Likewise.
3080 (__gthread_join): Likewise.
3081 (__gthread_detach): Likewise.
3082 (__gthread_equal): Likewise.
3083 (__gthread_self): Likewise.
3084 (__gthread_yield): Likewise.
3085 (__gthread_cond_broadcast): Likewise.
3086 (__gthread_cond_signal): Likewise.
3087 (__gthread_cond_wait): Likewise.
3088 (__gthread_cond_timedwait): Likewise.
3089 (__gthread_cond_wait_recursive): Likewise.
3090 (__gthread_cond_destroy): Likewise.
3091 (rtems_gxx_once): Delete.
3092 (rtems_gxx_key_create): Likewise.
3093 (rtems_gxx_key_delete): Likewise.
3094 (rtems_gxx_getspecific): Likewise.
3095 (rtems_gxx_setspecific): Likewise.
3096 (rtems_gxx_mutex_init): Likewise.
3097 (rtems_gxx_mutex_destroy): Likewise.
3098 (rtems_gxx_mutex_lock): Likewise.
3099 (rtems_gxx_mutex_trylock): Likewise.
3100 (rtems_gxx_mutex_unlock): Likewise.
3101 (rtems_gxx_recursive_mutex_init): Likewise.
3102 (rtems_gxx_recursive_mutex_lock): Likewise.
3103 (rtems_gxx_recursive_mutex_trylock): Likewise.
3104 (rtems_gxx_recursive_mutex_unlock): Likewise.
3105 (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
3106 (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
3107 (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
3108 (__gthread_once): Likewise.
3109 (__gthread_key_create): Likewise.
3110 (__gthread_key_delete): Likewise.
3111 (__gthread_getspecific): Likewise.
3112 (__gthread_setspecific): Likewise.
3113 (__gthread_key_t): Use <pthread.h> type.
3114 (__gthread_once_t): Likewise
3115 (__gthread_mutex_t): Use <sys/lock.h> type.
3116 (__gthread_recursive_mutex_t): Likewise
3117 (__gthread_mutex_lock): Use <sys/lock.h> function.
3118 (__gthread_mutex_trylock): Likewise.
3119 (__gthread_mutex_timedlock): Likewise.
3120 (__gthread_mutex_unlock): Likewise.
3121 (__gthread_mutex_destroy): Likewise.
3122 (__gthread_recursive_mutex_lock): Likewise.
3123 (__gthread_recursive_mutex_trylock): Likewise.
3124 (__gthread_recursive_mutex_timedlock): Likewise.
3125 (__gthread_recursive_mutex_unlock): Likewise.
3126 (__gthread_recursive_mutex_destroy): Likewise.
3127
991995c4
MF
31282015-08-18 Max Filippov <jcmvbkbc@gmail.com>
3129
3130 * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
3131 context->sp instead of context->cfa.
3132
0e19db59
MF
31332015-08-18 Max Filippov <jcmvbkbc@gmail.com>
3134
3135 * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
3136 with unwind-dw2-fde-dip.
3137
b6ac5f62
MF
31382015-08-18 Max Filippov <jcmvbkbc@gmail.com>
3139
3140 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
3141 CALL12 followed by series of ENTRY to spill windowed registers.
3142 (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
3143 instead of making linux spill syscall.
3144
3e0f3349
YR
31452015-08-14 Yuri Rumyantsev <ysrumyan@gmail.com>
3146
3147 * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
3148 (get_intel_cpu): Likewise.
3149
51c728b1
L
31502015-08-12 H.J. Lu <hongjiu.lu@intel.com>
3151
3152 * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
3153 (get_intel_cpu): Add Knights Landing support.
3154
aff4eeac
UB
31552015-08-11 Uros Bizjak <ubizjak@gmail.com>
3156
3157 PR target/66954
3158 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
3159 (get_available_features): Handle FEATURE_PCLMUL.
3160
736e56da
L
31612015-08-10 H.J. Lu <hongjiu.lu@intel.com>
3162
3163 * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
3164 Broadwell.
3165
54d22142
UB
31662015-07-22 Uros Bizjak <ubizjak@gmail.com>
3167
3168 PR target/66954
3169 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
3170 (get_available_features): Handle FEATURE_AES.
3171
20ca17e4
CLT
31722015-07-22 Chung-Lin Tang <cltang@codesourcery.com>
3173
3174 * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
3175 (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
3176
ebe4a560
NS
31772015-07-17 Nathan Sidwell <nathan@codesourcery.com>
3178
3179 * offloadstuff.c: Constify host data.
3180
180744c0
JB
31812015-07-17 Jan Beulich <jbeulich@suse.com>
3182
3183 * config/t-softfp: Split up "else ifneq".
3184
a03c6ae3
SL
31852015-07-14 Sandra Loosemore <sandra@codesourcery.com>
3186 Cesar Philippidis <cesar@codesourcery.com>
3187 Chung-Lin Tang <cltang@codesourcery.com>
3188
3189 * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
3190 for __nios2_arch__ level.
3191
73358db5
JM
31922015-07-13 John Marino <gnugcc@marino.st>
3193
3194 * config/i386/t-dragonfly: New.
3195
f9a12f7b
JDA
31962015-07-01 John David Anglin <danglin@gcc.gnu.org>
3197
3198 * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
3199 better match light-weight syscall argument order.
3200 (__kernel_cmpxchg2): Likewise.
3201 Adjust callers.
3202
cb78b51c
L
32032015-06-30 H.J. Lu <hongjiu.lu@intel.com>
3204
3205 * config.host: Support i[34567]86-*-elfiamcu target.
3206 * config/t-softfp-sfdftf: New file.
3207 * config/i386/32/t-iamcu: Likewise.
3208 * configure: Regenerated.
3209
4fa0f9ea
JL
32102015-06-23 James Lemke <jwlemke@codesourcery.com>
3211
3212 libgcc/config/arm/
3213 * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
3214
428b3812
L
32152015-05-27 H.J. Lu <hongjiu.lu@intel.com>
3216
3217 * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
3218
7d296953 32192015-05-27 John Marino <gnugcc@marino.st>
89c54dd3
JM
3220
3221 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
3222 md_unwind_header
3223 * config/i386/freebsd-unwind.h: New.
3224
9b789cc1
UB
32252015-05-22 Uros Bizjak <ubizjak@gmail.com>
3226
3227 * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
3228 i386/t-crtfm to tmake_file.
3229 * config/i386/crtfastmath.c (set_fast_math_sse): New function.
3230 (set_fast_math): Use set_fast_math_sse for SSE targets.
3231 * config/i386/t-crtfm: Remove.
3232
3dafb220
AM
32332015-05-21 Alan Modra <amodra@gmail.com>
3234
3235 PR libgcc/66225
3236 * config/rs6000/morestack.S: Remove ".abiversion 1".
3237
0f0fd745
AM
32382015-05-20 Alan Modra <amodra@gmail.com>
3239
3240 * config/rs6000/morestack.S: New.
3241 * config/rs6000/t-stack-rs6000: New.
3242 * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
3243 to tmake_file.
3244 * generic-morestack.c: Don't build for powerpc 32-bit.
3245
515ae71b
EB
32462015-05-19 Eric Botcazou <ebotcazou@adacore.com>
3247
3248 * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
3249 Remove useless endif/ifneq ($(enable_shared),yes) pair.
3250
36805406
JL
32512015-05-16 James Bowman <james.bowman@ftdichip.com>
3252
3253 * config.host: FT32 target added.
3254 * config/ft32/*: New files for FT32 target.
3255
ff935d0c
MG
32562015-05-15 Martin Galvan <martin.galvan@tallertechnologies.com>
3257
385c7747
UB
3258 * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
3259 New macros.
3260 * config/arm/ieee754-df.S: Add CFI directives.
3261 * config/arm/ieee754-sf.S: Add CFI directives.
ff935d0c 3262
9b92a9f3
EB
32632015-05-13 Eric Botcazou <ebotcazou@adacore.com>
3264
3265 * configure.ac: Include config/sjlj.m4.
3266 Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
3267 * config.in: Regenerate.
3268 * configure: Likewise.
3269 * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
3270
98b5dc61
UB
32712015-05-12 Uros Bizjak <ubizjak@gmail.com>
3272
3273 * libgcov-util.c: Add space between string literal and macro name.
3274
5a0ff57c
SL
32752015-05-06 Sandra Loosemore <sandra@codesourcery.com>
3276 Chris Jones <chrisj@nvidia.com>
3277 Joshua Conner <jconner@nvidia.com>
3278
3279 * config.host (arm*-*-linux*): Add support for crtfastmath.o.
3280 (arm*-*-uclinux*): Likewise.
3281 (arm*-*-eabi* | arm*-*-rtems*): Likewise.
3282 * config/arm/crtfastmath.c: New file.
3283
d28ad5d4
BS
32842014-04-29 Bernd Schmidt <bernds@codesourcery.com>
3285
3286 * Makefile.in (real_host_noncanonical): New variable.
3287 (libsubdir): Use it.
3288 * configure.ac (real_host_noncanonical): Compute. Remove special
3289 case for intelmicemul.
3290 * configure: Regenerate.
3291
cc86234f
UB
32922015-04-28 Uros Bizjak <ubizjak@gmail.com>
3293
3294 * config/frv/elf-lib.h: New file.
3295 (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
3296 * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
3297 to tm_file.
3298
32992015-04-28 Uros Bizjak <ubizjak@gmail.com>
3300
3301 * config/frv/frvbengin.c: Do not include defaults.h
3302 * config/frv/frvend.c: Ditto.
3303
2f6bd6eb
YS
33042015-04-27 Yoshinori Sato <ysato@users.sourceforge.jp>
3305
3306 * config.host: Add h8300-*-linux
3307 * config/h8300/t-linux: New file.
3308 * config/h8300/lib1funs.s: Change symbol prefix.
3309 * config/h8300/sfp-machine.h: 64bit double support.
3310
15aa7b44
GR
33112015-04-22 Gregor Richards <gregor.richards@uwaterloo.ca>
3312 Szabolcs Nagy <szabolcs.nagy@arm.com>
3313
3314 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
3315 Linux if target provides dl_iterate_phdr.
3316
abd0cdc9
L
33172015-04-17 H.J. Lu <hongjiu.lu@intel.com>
3318
3319 PR target/65612
3320 * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
3321 * config/i386/cpuinfo.c (__cpu_model): Initialize.
3322 (__cpu_indicator_init@GCC_4.8.0): New.
3323 (__cpu_model@GCC_4.8.0): Likewise.
3324 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
3325 -DUSE_ELF_SYMVER.
3326
72ed1126
NC
33272015-04-16 Nick Clifton <nickc@redhat.com>
3328
3329 * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
3330 and __modhi3 functions.
3331 * config/rl78/divmodso.S: Add G14 and G13 versions of the
3332 __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
3333
d26b2237
CG
33342015-04-15 Chen Gang <gang.chen.5i5j@gmail.com>
3335
3336 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
3337 do-while loop as macro body to avoid warnings.
3338
cacf1f59
JJ
33392015-04-10 Jakub Jelinek <jakub@redhat.com>
3340 Iain Sandoe <iain@codesourcery.com>
3341
3342 PR target/65351
3343 * configure: Regenerate.
3344
e8a4ed3b
JJ
33452015-04-07 Jakub Jelinek <jakub@redhat.com>
3346 Iain Sandoe <iain@codesourcery.com>
3347
3348 PR target/65351
3349 * configure: Regenerate.
3350
0341335e
CLT
33512015-03-25 Chung-Lin Tang <cltang@codesourcery.com>
3352
3353 * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
3354
590e2636 33552015-03-03 Max Filippov <jcmvbkbc@gmail.com>
0341335e 3356
590e2636
MF
3357 Implement call0 ABI for xtensa
3358 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
3359 __xtensa_nonlocal_goto): Don't compile for call0 ABI.
3360 (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
3361 use ret in call0 ABI.
3362 * config/xtensa/t-windowed: New file.
3363 * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
3364 * libgcc/configure: Regenerated.
3365 * libgcc/configure.ac: Check if xtensa target is configured for
3366 windowed ABI and thus needs to use custom unwind code.
3367
7727f8f2
JW
33682015-02-12 Jonathan Wakely <jwakely@redhat.com>
3369
3370 PR libgcc/64885
3371 * gthr-single.h: Use __unused__ attribute instead of unused.
3372 * config/gthr-vxworks.h: Likewise.
3373 * config/i386/gthr-win32.h: Likewise.
3374
0e4a0def
KT
33752015-02-27 Kai Tietz <ktietz@redhat.com>
3376
3377 PR target/65038
3378 * config.in: Regenerated.
3379 * configure: Likewise.
3380 * configure.ac (AC_HEADER_STDC): Added explicit.
3381 (AC_CHECK_HEADERS): Check for default headers plus
3382 for ftw.h header.
3383 * libgcov-util.c (gcov_read_profile_dir): Disable use
3384 of ftw-function, if header is not found.
3385 (ftw_read_file): Likewise.
3386
b6530d0a
TS
33872015-02-23 Thomas Schwinge <thomas@codesourcery.com>
3388
3389 PR target/65181
3390 * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
3391 -Dinhibit_libc.
3392
53cfb467
SL
33932015-02-17 Sandra Loosemore <sandra@codesourcery.com>
3394
3395 * config/arm/bpabi.S (test_div_by_zero): Make label names
3396 consistent between thumb2 and arm mode cases. Separate the
3397 signed comparison on the high word of the numerator from the
3398 unsigned comparison on the low word.
3399 * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
3400 signed comparison.
3401
77d10a1b
JM
34022015-02-17 Joseph Myers <joseph@codesourcery.com>
3403
3404 * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
3405 and <string.h>.
3406 (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
3407
98174188
RE
34082015-02-10 Rainer Emrich <rainer@emrich-ebersheim.de>
3409
3410 PR gcov-profile/61889
471274de 3411 * libgcov-driver-system.c: undefine clashing macro for mkdir.
98174188 3412
771bef14
NC
34132015-02-02 Nick Clifton <nickc@redhat.com>
3414
3415 * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
3416 rounding up the fraction.
3417
40702893
JDA
34182015-01-31 John David Anglin <danglin@gcc.gnu.org>
3419
3420 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
3421 oldval and newval to const void *. Fix typo.
3422 (FETCH_AND_OP_2): Use __atomic_load_n to load value.
3423 (FETCH_AND_OP_WORD): Likewise.
3424 (OP_AND_FETCH_WORD): Likewise.
3425 (COMPARE_AND_SWAP_2): Likewise.
3426 (__sync_val_compare_and_swap_4): Likewise.
3427 (__sync_lock_test_and_set_4): Likewise.
3428 (SYNC_LOCK_RELEASE_2): Likewise.
3429 Remove support for long long atomic operations.
3430
f7f049fa
CT
34312015-01-27 Caroline Tice <cmtice@google.com>
3432
3433 Committing VTV Cywin/Ming patch for Patrick Wollgast
3434 * Makefile.in: Move rules to build vtv_*.o out of the check
3435 for CUSTOM_CRTSTUFF.
3436 * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
3437 i[34567]86-*-mingw*)
3438 (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
3439 enable_vtable_verify.
3440
8410904a
NC
34412015-01-27 Nick Clifton <nickc@redhat.com>
3442
3443 * config/rl78/cmpsi2.S: Use function start and end macros.
3444 (__gcc_bcmp): New function.
3445 * config/rl78/lshrsi3.S: Use function start and end macros.
3446 * config/rl78/mulsi3.S: Add support for G10.
3447 (__mulqi3): New function for G10.
3448 * config/rl78/signbit.S: Use function start and end macros.
3449 * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
3450 fpmath-sf.S.
3451 (LIB2FUNCS_EXCLUDE): Define.
3452 (LIB2FUNCS_ST): Define.
3453 * config/rl78/trampoline.S: Use function start and end macros.
3454 * config/rl78/vregs.h (START_FUNC): New macro.
3455 (START_ANOTHER_FUNC): New macro.
3456 (END_FUNC): New macro.
3457 (END_ANOTHER_FUNC): New macro.
3458 * config/rl78/bit-count.S: New file. Contains assembler
3459 implementations of the bit counting functions: ___clzhi2,
3460 __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
3461 __paritysi2, __popcounthi2 and __popcountsi2.
3462 * config/rl78/fpbit-sf.S: New file. Contains assembler
3463 implementationas of the math functions: __negsf2, __cmpsf2,
3464 __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
3465 __fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
3466 * config/rl78/fpmath-sf.S: New file. Contains assembler
3467 implementations of the math functions: __subsf3, __addsf3,
3468 __mulsf3 and __divsf3
3469
f962fbf1
RO
34702015-01-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3471
3472 * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
3473 Add i386/elf-lib.h to tm_file.
3474 * config/i386/elf-lib.h: Fix comment.
3475 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
3476 && __sun__ && __svr4__]: Remove workaround.
3477
939911c5
ASJ
34782015-01-25 Allan Sandfeld Jensen <sandfeld@kde.org>
3479
3480 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
3481 FEATURE_BMI2.
3482 (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
3483
c8f2dff2
L
34842015-01-24 H.J. Lu <hongjiu.lu@intel.com>
3485
3486 * config/i386/cpuinfo.c (processor_subtypes): Add
3487 INTEL_COREI7_BROADWELL.
3488 (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
3489 model numbers.
3490
7bbf9734
UB
34912015-01-23 Uros Bizjak <ubizjak@gmail.com>
3492
3493 * config/i386/elf-lib.h: New file.
3494 (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
3495 Wrap definition in #ifdef __i386__.
3496 * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
3497 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
3498 (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
3499 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
3500 to tm_file.
3501
324820f1
CG
35022015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
3503
3504 * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
3505 "(char *)" to avoid qualifier warning by 'xgcc' compiling.
3506
a9ce4e4a
CLT
35072015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
3508
3509 * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
3510 Update rt_sigframe format and address for current Nios II
3511 Linux conventions.
3512
82a19768
AT
35132015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
3514
3515 * config.host (arm*-*-freebsd*): Add new configuration for
3516 arm*-*-freebsd*.
3517 * config/arm/freebsd-atomic.c: New file.
3518 * config/arm/t-freebsd: Likewise.
3519 * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
3520 'PC-relative indirect' OS's.
3521
0969ec7d
EB
35222015-01-06 Eric Botcazou <ebotcazou@adacore.com>
3523
3524 * config.host: Add Visium support.
3525 * config/visium: New directory.
3526
5624e564
JJ
35272015-01-05 Jakub Jelinek <jakub@redhat.com>
3528
3529 Update copyright years.
3530
82f84ecb
MF
35312014-12-19 Matthew Fortune <matthew.fortune@imgtec.com>
3532
3533 * config.host: Support mipsisa32r6 and mipsisa64r6.
3534 * config/mips/mips16.S: Do not build for R6.
3535
69044fa9
OE
35362014-12-17 Oleg Endo <olegendo@gcc.gnu.org>
3537
3538 * config/sh/crt.h: New.
3539 * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
3540 symbols.
3541 * config/sh/crt1.S: Likewise.
3542
2405e0ea
UB
35432014-12-15 Uros Bizjak <ubizjak@gmail.com>
3544
3545 PR libgcc/63832
3546 * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
3547 func_ptr *dtor_list temporary variable to avoid "array subscript
3548 is above array bounds" warnings.
3549
7d296953 35502014-12-09 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
dd913323
MH
3551
3552 * Makefile.in (with_aix_soname): Define.
3553 * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
3554 * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
3555 * configure: Recreate.
3556
a66272f6
OH
35572014-12-05 Olivier Hainque <hainque@adacore.com>
3558
3559 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
3560 now provided by defaults.h.
3561
6342b2c5
OE
35622014-11-30 Oleg Endo <olegendo@gcc.gnu.org>
3563
7d0ee249 3564 PR target/55351
6342b2c5
OE
3565 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
3566 whether it's defined.
3567
c17eac85
IT
35682014-11-27 Ilya Tocar <ilya.tocar@intel.com>
3569
3570 * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
3571 * config/i386/cpuinfo.c (get_available_features): Detect it.
3572
1025cb6c
TW
35732014-11-27 Tony Wang <tony.wang@arm.com>
3574
3575 * config/arm/lib1funcs.S (FUNC_START): Add conditional section
3576 redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
3577 (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
3578
d19f2e38
SB
35792014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
3580
3581 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
3582
17f6e9a3
JDA
35832014-11-24 John David Anglin <danglin@gcc.gnu.org>
3584
3585 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
3586 instead.
3587
0cd7c672
GM
35882014-11-21 Guy Martin <gmsoft@tuxicoman.be>
3589 John David Anglin <danglin@gcc.gnu.org>
3590
3591 * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
3592 (FETCH_AND_OP_2): New. Use for subword and double word operations.
3593 (OP_AND_FETCH_2): Likewise.
3594 (COMPARE_AND_SWAP_2): Likewise.
3595 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
3596 (SYNC_LOCK_RELEASE_2): Likewise.
3597 (SUBWORD_SYNC_OP): Remove.
3598 (SUBWORD_VAL_CAS): Likewise.
3599 (SUBWORD_BOOL_CAS): Likewise.
3600 (FETCH_AND_OP_WORD): Update.
3601 Consistently use signed types.
cc86234f 3602
85c64bbe
BS
36032014-11-13 Bernd Schmidt <bernds@codesourcery.com>
3604 Thomas Schwinge <thomas@codesourcery.com>
3605 Ilya Verbin <ilya.verbin@intel.com>
3606 Andrey Turetskiy <andrey.turetskiy@intel.com>
3607
3608 * Makefile.in (crtoffloadbegin$(objext)): New rule.
3609 (crtoffloadend$(objext)): Likewise.
3610 * configure: Regenerate.
3611 * configure.ac (accel_dir_suffix): Compute new variable.
3612 (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
3613 if enable_offload_targets is not empty.
3614 * offloadstuff.c: New file.
3615
52a1ff8b
NC
36162014-11-13 Nick Clifton <nickc@redhat.com>
3617
3618 * config/rl78/divmodhi.S: Add support for the G10 architecture.
3619 Use START_FUNC and END_FUNC macros to enable linker garbage
3620 collection.
3621 * config/rl78/divmodqi.S: Likewise.
3622 * config/rl78/divmodsi.S: Likewise.
3623 * config/rl78/mulsi3.S: Likewise.
3624 * config/rl78/lib2div.c: Remove G10 functions.
3625 * config/rl78/lib2muls.c: Likewise.
3626 * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
3627 * config/rl78/vregs.h (START_FUNC): New macro.
3628 (END_FUNC): New macro.
3629
050af144
MF
36302014-11-12 Matthew Fortune <matthew.fortune@imgtec.com>
3631
3632 * config/mips/mips16.S: Set .module when supported. Update O32
3633 FP64 calling convention and use for FPXX when possible. Add FPXX
3634 calling convention fallback case.
3635
738f2522
BS
36362014-11-06 Bernd Schmidt <bernds@codesourcery.com>
3637
3638 * config.host: Handle nvptx-*-*.
3639 * shared-object.mk (as-flags-$o): Define.
3640 ($(base)$(objext), $(base)_s$(objext)): Use it instead of
3641 -xassembler-with-cpp.
3642 * static-object.mk: Identical changes.
3643 * config/nvptx/t-nvptx: New file.
3644 * config/nvptx/crt0.s: New file.
3645 * config/nvptx/free.asm: New file.
3646 * config/nvptx/malloc.asm: New file.
3647 * config/nvptx/realloc.c: New file.
3648
e610393c
JM
36492014-10-30 Joseph Myers <joseph@codesourcery.com>
3650
3651 * Makefile.in (libgcc.map.in): New target.
3652 (libgcc.map): Use libgcc.map.in.
3653 * config/t-softfp (softfp_compat): New variable to be set by
3654 users.
3655 [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
3656 variables.
3657 [$(softfp_compat) = y] (softfp_file_list): Use files in the build
3658 directory.
3659 [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
3660 that use compat symbols and disable all code unless [SHARED].
3661 * config/t-softfp-compat: New file.
3662 * find-symver.awk: New file.
3663 * configure.ac (--with-glibc-version): New configure option.
3664 (ppc_fp_compat): New variable set for powerpc*-*-linux*.
3665 * configure: Regenerate.
3666 * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
3667 soft-float and e500.
3668
bc1b3a88
JM
36692014-10-29 Joseph Myers <joseph@codesourcery.com>
3670
3671 * config/t-hardfp (hardfp_exclusions): Document new variable for
3672 user to define.
3673 (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
3674 * config/t-softfp (softfp_extras): Document new variable for user
3675 to define.
3676 (softfp_func_list): Add functions from $(softfp_extras).
3677 * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
3678 * config.host (powerpc*-*-linux*): For e500v1, use
3679 rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
3680 t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
3681 and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
3682
ef2810c1
JDA
36832014-10-26 John David Anglin <danglin@gcc.gnu.org>
3684
3685 * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
3686 (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
3687 memory read accesses are ok.
3688
d80c2bea
JM
36892014-10-25 Joseph Myers <joseph@codesourcery.com>
3690
3691 * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
3692 * configure: Regenerate.
3693 * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
3694 additions to tmake_file. Use t-hardfp-sfdf and t-hardfp instead
3695 of soft-fp for 32-bit classic hard float. Do not use
3696 t-softfp-excl for soft float.
3697
693b297b
JM
36982014-10-22 Joseph Myers <joseph@codesourcery.com>
3699
3700 * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
3701 configurations.
3702 * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
3703 Remove variables.
3704
18a3415e
GJL
37052014-10-22 Georg-Johann Lay <avr@gjlay.de>
3706
3707 * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
3708 introduced with 2014-10-21 trunk r216525.
3709
c1dd9790 37102014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
7d296953
JJ
3711 Vidya Praveen <vidya.praveen@atmel.com>
3712 Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
3713 Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
3714 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
c1dd9790
JR
3715
3716 * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
3717 order.
3718
3719 Updated library functions for AVRTINY arch.
3720 * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
3721 Replaced occurrences of r0/r1 with tmp/zero reg macros.
3722 Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
3723 or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
3724 wsubi/wadi macors.
3725 (__mulsi3_helper): Update stack, preserve callee saved regs and
3726 argument from stack. Restore callee save registers.
3727 (__mulpsi3): Likewise.
3728 (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
3729 __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
18a3415e 3730 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
c1dd9790
JR
3731 AVRTINY.
3732 (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
3733 (__do_copy_data): Added new definition for AVRTINY.
3734 (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
3735 (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
3736 __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
3737 * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
3738 tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
3739 macors.
18a3415e 3740 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
c1dd9790
JR
3741 AVRTINY.
3742
18a3415e 3743 Fix broken long multiplication on tiny arch.
c1dd9790 3744
5f606431
JM
37452014-10-09 Joseph Myers <joseph@codesourcery.com>
3746
3747 * soft-fp/double.h: Update from glibc.
3748 * soft-fp/eqdf2.c: Likewise.
3749 * soft-fp/eqsf2.c: Likewise.
3750 * soft-fp/eqtf2.c: Likewise.
3751 * soft-fp/extenddftf2.c: Likewise.
3752 * soft-fp/extended.h: Likewise.
3753 * soft-fp/extendsfdf2.c: Likewise.
3754 * soft-fp/extendsftf2.c: Likewise.
3755 * soft-fp/extendxftf2.c: Likewise.
3756 * soft-fp/gedf2.c: Likewise.
3757 * soft-fp/gesf2.c: Likewise.
3758 * soft-fp/getf2.c: Likewise.
3759 * soft-fp/ledf2.c: Likewise.
3760 * soft-fp/lesf2.c: Likewise.
3761 * soft-fp/letf2.c: Likewise.
3762 * soft-fp/op-1.h: Likewise.
3763 * soft-fp/op-2.h: Likewise.
3764 * soft-fp/op-4.h: Likewise.
3765 * soft-fp/op-8.h: Likewise.
3766 * soft-fp/op-common.h: Likewise.
3767 * soft-fp/quad.h: Likewise.
3768 * soft-fp/single.h: Likewise.
3769 * soft-fp/soft-fp.h: Likewise.
3770 * soft-fp/unorddf2.c: Likewise.
3771 * soft-fp/unordsf2.c: Likewise.
3772 * soft-fp/unordtf2.c: Likewise.
3773 * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
3774 * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
3775 * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
3776 * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
3777 * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
3778 * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
3779 * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
3780 * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
3781 * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
3782 * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
3783
9b84e7a8
RX
37842014-10-08 Rong Xu <xur@google.com>
3785
3786 * libgcov-util.c (read_gcda_file): Fix format.
3787 (find_match_gcov_info): Ditto.
3788 (calculate_2_entries): New.
3789 (compute_one_gcov): Ditto.
3790 (gcov_info_count_all_cold): Ditto.
3791 (gcov_info_count_all_zero): Ditto.
3792 (extract_file_basename): Ditto.
3793 (get_file_basename): Ditto.
3794 (set_flag): Ditto.
3795 (matched_gcov_info): Ditto.
3796 (calculate_overlap): Ditto.
3797 (gcov_profile_overlap): Ditto.
3798 * libgcov-driver.c (compute_summary): Make
3799 it avavilable for external calls.
3800
fe1090c1
RX
38012014-10-06 Rong Xu <xur@google.com>
3802
3803 * Makefile.in: Ditto.
3804 * libgcov-driver.c (gcov_sort_n_vals): New utility function.
3805 (gcov_sort_icall_topn_counter): Ditto.
3806 (gcov_sort_topn_counter_arrays): Ditto.
3807 (dump_one_gcov): Sort indirect_call topn counters.
3808 * libgcov-merge.c (__gcov_merge_icall_topn): New merge
3809 function.
3810 * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
3811 utility function.
3812 (__gcov_indirect_call_topn_profiler): New profiler function.
3813 * libgcov-util.c (__gcov_icall_topn_counter_op): New.
3814 * libgcov.h: New decls.
3815
3daa7bbf
TS
38162014-10-04 Trevor Saunders <tsaunders@mozilla.com>
3817
3818 * config.host: Remove support for score-*.
3819
9a79452d
JM
38202014-09-22 Joseph Myers <joseph@codesourcery.com>
3821
3822 * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
3823 (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
3824 (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
3825 __LIBGCC_XF_MANT_DIG__.
3826 (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
3827 (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
3828 __LIBGCC_TF_MANT_DIG__.
3829 * libgcc2.c (NOTRUNC): Define in terms of
3830 __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
3831 * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
3832
1a849e50
JM
38332014-09-22 Joseph Myers <joseph@codesourcery.com>
3834
3835 PR target/63312
3836 * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
3837 New macros.
3838
598a1586
HPN
38392014-09-22 Hans-Peter Nilsson <hp@axis.com>
3840
3841 * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
3842 override USE_PT_GNU_EH_FRAME.
3843 [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
3844 check USE_EH_FRAME_REGISTRY_ALWAYS against
3845 __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
3846 * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
3847 variable for substituted force_explicit_eh_registry.
3848 (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
3849 * configure.ac (explicit-exception-frame-registration):
3850 New AC_ARG_ENABLE.
3851 * configure: Regenerate.
3852
3a8fe7c6
OH
38532014-09-19 Olivier Hainque <hainque@adacore.com>
3854
3855 * config.host (powerpc-wrs-vxworksmils): New configuration,
3856 same as vxworksae.
3857
dd69f047
JM
38582014-09-18 Joseph Myers <joseph@codesourcery.com>
3859
3860 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
3861
e770bfd9
JM
38622014-09-18 Joseph Myers <joseph@codesourcery.com>
3863
3864 * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
3865 bits not set bits as indicating trapping exceptions.
3866
cadb2b96
NS
38672014-09-17 Nathan sidwell <nathan@acm.org>
3868
3869 * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
3870 (LIBGCOV_DRIVER): ... here.
3871 * libgcov-driver.c (gcov_master): New.
3872 (gcov_exit): Remove from master chain.
3873 (__gcov_init): Add to master chain if version compatible. Don't
3874 clear the version.
3875 * libgcov_interface (__gcov_flust): Call gcov_dump_int.
3876 (gcov_reset_int): Clear master chain, if compatible.
3877 (gcov_dump_int): New internal interface. Dump master chain, if
3878 compatible.
3879 (gcov_dump): Alias for gcov_dump_int.
3880 * libgcov.h (struct gcov_root): Add next and prev fields.
3881 (struct gcov_master): New struct.
3882 (__gcov_master): New.
3883 (gcov_dump_int): Declare.
3884
580d22a3
OH
38852014-09-17 Olivier Hainque <hainque@adacore.com>
3886
3887 * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
3888 and crtbegin.o + crtend.o to extra_parts.
3889
8cc4b7a2
JM
38902014-09-12 Joseph Myers <joseph@codesourcery.com>
3891
3892 * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
3893 __LIBGCC_HAS_SF_MODE__.
3894 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
3895 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
3896 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
3897 * config/libbid/bid_gcc_intrinsics.h
3898 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
3899 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
3900 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
3901 * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
3902 (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
3903 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
3904
ea3f2b24
GJL
39052014-09-11 Georg-Johann Lay <avr@gjlay.de>
3906
3907 PR target/63223
3908 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
3909 and R24 as needed. Make work for all devices and .text locations.
3910 (__do_global_ctors, __do_global_dtors): Use word addresses.
3911 (__tablejump__, __tablejump_elpm__): Remove functions.
3912 * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
3913 Add _tablejump2.
3914 (XICALL, XIJMP): New macros.
3915
b677236a
MS
39162014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
3917 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
3918
3919 * config.host (aarch64*): Include crtfastmath.o and
3920 t-crtfm.
3921 * config/aarch64/crtfastmath.c: New file.
3922
157e859f
TS
39232014-09-08 Trevor Saunders <tsaunders@mozilla.com>
3924
3925 * config.host: Remove picochip support.
3926 * config/picochip/adddi3.S: Remove.
3927 * config/picochip/ashlsi3.S: Remove.
3928 * config/picochip/ashlsi3.c: Remove.
3929 * config/picochip/ashrsi3.S: Remove.
3930 * config/picochip/ashrsi3.c: Remove.
3931 * config/picochip/clzsi2.S: Remove.
3932 * config/picochip/cmpsi2.S: Remove.
3933 * config/picochip/divmod15.S: Remove.
3934 * config/picochip/divmodhi4.S: Remove.
3935 * config/picochip/divmodsi4.S: Remove.
3936 * config/picochip/lib1funcs.S: Remove.
3937 * config/picochip/longjmp.S: Remove.
3938 * config/picochip/lshrsi3.S: Remove.
3939 * config/picochip/lshrsi3.c: Remove.
3940 * config/picochip/parityhi2.S: Remove.
3941 * config/picochip/popcounthi2.S: Remove.
3942 * config/picochip/setjmp.S: Remove.
3943 * config/picochip/subdi3.S: Remove.
3944 * config/picochip/t-picochip: Remove.
3945 * config/picochip/ucmpsi2.S: Remove.
3946 * config/picochip/udivmodhi4.S: Remove.
3947 * config/picochip/udivmodsi4.S: Remove.
3948
66bb34c0
JM
39492014-09-08 Joseph Myers <joseph@codesourcery.com>
3950
3951 * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
3952 (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
3953 (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
3954 (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
3955 * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
3956 error if not defined and LIBGCC2_HAS_SF_MODE is defined.
3957 (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
3958 defined and LIBGCC2_HAS_DF_MODE is defined.
3959 (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
3960 defined and LIBGCC2_HAS_XF_MODE is defined.
3961 (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
3962 defined and LIBGCC2_HAS_TF_MODE is defined.
3963
9686a2e6
JM
39642014-09-08 Joseph Myers <joseph@codesourcery.com>
3965
3966 * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
3967 and ROUND_TOWARDS_ZERO conditionals.
3968
71c3e2ef
NS
39692014-09-07 Nathan sidwell <nathan@acm.org>
3970
3971 * libgcov-interface.c (STRONG_ALIAS): Rename to ...
3972 (ALIAS_weak): ... here. Use forwarding function. Adjust uses.
3973
53d68b9f
JM
39742014-09-05 Joseph Myers <joseph@codesourcery.com>
3975
3976 * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
3977 * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
3978 uses to __LIBGCC_STACK_POINTER_REGNUM__.
3979 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
3980 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3981 * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
3982 Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3983 * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
3984 uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
3985 (DWARF_FRAME_REGISTERS): Change all uses to
3986 __LIBGCC_DWARF_FRAME_REGISTERS__.
3987 (EH_RETURN_STACKADJ_RTX): Change all uses to
3988 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
3989 * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
3990 __LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
3991 * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
3992 use to __LIBGCC_EH_FRAME_SECTION_NAME__.
3993 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
3994 * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
3995 to __LIBGCC_EH_FRAME_SECTION_NAME__.
3996 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
3997 * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
3998 __LIBGCC_STACK_POINTER_REGNUM__.
3999 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
4000 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4001 * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
4002 to __LIBGCC_STACK_POINTER_REGNUM__.
4003 * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
4004 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4005 * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
4006 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4007 * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
4008 Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4009 (STACK_POINTER_REGNUM): Change all uses to
4010 __LIBGCC_STACK_POINTER_REGNUM__.
4011 * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
4012 use to __LIBGCC_STACK_POINTER_REGNUM__.
4013 * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
4014 uses to __LIBGCC_STACK_POINTER_REGNUM__.
4015 * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
4016 to __LIBGCC_DWARF_FRAME_REGISTERS__.
4017 * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
4018 to __LIBGCC_DWARF_FRAME_REGISTERS__.
4019 * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
4020 to __LIBGCC_STACK_POINTER_REGNUM__.
4021 * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
4022 Remove conditional definition.
4023 * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
4024 __LIBGCC_TEXT_SECTION_ASM_OP__.
4025 (EH_FRAME_SECTION_NAME): Change all uses to
4026 __LIBGCC_EH_FRAME_SECTION_NAME__.
4027 (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
4028 __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
4029 (CTORS_SECTION_ASM_OP): Change all uses to
4030 __LIBGCC_CTORS_SECTION_ASM_OP__.
4031 (DTORS_SECTION_ASM_OP): Change all uses to
4032 __LIBGCC_DTORS_SECTION_ASM_OP__.
4033 (JCR_SECTION_NAME): Change all uses to
4034 __LIBGCC_JCR_SECTION_NAME__.
4035 (INIT_SECTION_ASM_OP): Change all uses to
4036 __LIBGCC_INIT_SECTION_ASM_OP__.
4037 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
4038 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
4039 * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
4040 __LIBGCC_STACK_GROWS_DOWNWARD__.
4041 * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
4042 __LIBGCC_INIT_SECTION_ASM_OP__.
4043 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
4044 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
4045 (EH_FRAME_SECTION_NAME): Change all uses to
4046 __LIBGCC_EH_FRAME_SECTION_NAME__.
4047 * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
4048 definitions. Change all uses to
4049 __LIBGCC_VTABLE_USES_DESCRIPTORS__.
4050 * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
4051 __LIBGCC_STACK_GROWS_DOWNWARD__.
4052 (DWARF_FRAME_REGISTERS): Change all uses to
4053 __LIBGCC_DWARF_FRAME_REGISTERS__.
4054 (EH_RETURN_STACKADJ_RTX): Change all uses to
4055 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
4056 * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
4057 definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
4058 * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
4059 __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
4060 (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
4061
b20ee094
NS
40622014-09-02 Nathan sidwell <nathan@acm.org>
4063
4064 * libgcov-interface.c (STRONG_ALIAS): New.
4065 (__gcov_flush): Call __gcov_reset_int.
4066 (__gcov_reset): Strong alias for ...
4067 (__gcov_reset_ing): ... this renamed hidden version.
4068 * libgcov.h (__gcov_reset_int): New declaration.
4069
1ac83976
YS
40702014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
4071
25efdb9f
YS
4072 * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
4073 call from here...
4074 * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
4075 (__dso_handle): Define on Cygwin.
4076 * config/i386/t-cygming (crtbeginS.o): New rule.
4077 * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
4078
1ac83976
YS
4079 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
4080 declaration syntax.
4081
c6f9ea3b
SE
40822014-08-13 Steve Ellcey <sellcey@mips.com>
4083
4084 * crtstuff.c: Undef caddr_t.
4085
5b1ea7c5
SE
40862014-08-12 Steve Ellcey <sellcey@mips.com>
4087
4088 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
4089
4303c581
NS
40902014-08-07 Nathan Sidwell <nathan@acm.org>
4091
4092 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
4093 (LIBGCOV_DRIVER): ... to here.
4094 * libgcov.h (gcov_do_dump): New #define.
4095 (struct gcov_root): New.
4096 (__gcov_root): New declaration.
4097 (__gcov_dump_one): Declare.
4098 * libgcov-driver.c (gcov_list, gcov_dump_complete,
4099 run_accounted): Delete.
4100 (gcov_compute_histogram): Add LIST argument, adjust.
4101 (compute_summary): Adjust gcov_compute_histogram call.
4102 (gcov_do_dump): Not hidden, static in libgcov.
4103 (gcov_clear): Move to interface.c.
4104 (__gcov_dump_one): New, broken out of ...
4105 (gcov_exit): ... here. Make static.
4106 (__gcov_root): New.
4107 (__gcov_init): Adjust.
4108 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
4109 declarations.
4110 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
4111 (gcov_clear): Moved from driver.c. Add LIST argument.
4112 (__gcov_reset): Adjust for changed interfaces.
4113 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
4114
23742a9e
RAR
41152014-08-04 Rohit <rohitarulraj@freescale.com>
4116
4117 PR target/60102
4118 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
d406ae47 4119 based on change in SPE high register numbers and 3 HTM registers.
23742a9e 4120
b98a872b
NS
41212014-08-01 Nathan Sidwell <nathan@acm.org>
4122
4123 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
4124 LIBGCOV_INTERFACE): Reformat.
4125 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
4126 IN_GCOV_TOOL.
4127 * libgcov-interface.c: Reformat some comments.
4128 (__gcov_flush_mx): Add declaration. Tidy up definition.
4129
6adaaa1d
AM
41302014-07-31 Alan Modra <amodra@gmail.com>
4131 Peter Bergner <bergner@vnet.ibm.com>
4132
4133 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
4134 (pack_ldouble): New function.
4135 (__gcc_qadd): Use it.
4136 (__gcc_qmul): Likewise.
4137 (__gcc_qdiv): Likewise.
4138 (__gcc_qneg): Likewise.
4139 (__gcc_stoq): Likewise.
4140 (__gcc_dtoq): Likewise.
4141
87cb0c0c
UW
41422014-07-30 J. D. Johnston <jjohnst@us.ibm.com>
4143
4144 * config/s390/tpf-unwind.h: Include <stdbool.h>.
4145 (__tpf_eh_return): Add original return address as second parameter.
4146 Handle cases where unwinder routines were called directly, instead
4147 of from within the C++ library.
4148
19926161
NS
41492014-07-29 Nathan Sidwell <nathan@acm.org>
4150
4151 * libgcov.h: Move renaming of entry points to lib gcov specific
4152 portion.
4153 (gcov_do_dump): New rename.
4154 (gcov_rewrite): Remove inline, make HIDDEN.
4155 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
4156 (gcov_exit_compute_summary): Rename to ...
4157 (compute_summary): ... here. Add LIST argument.
4158 (gcov_exit_merge_gcda): Rename to ...
4159 (merge_one_data): ... here.
4160 (gcov_exit_write_gcda): Rename to ...
4161 (write_one_data): ... here.
4162 (gcov_exit_merge_summary): Rename to ...
4163 (merge_summary): Add RUN_COUNTED argument.
4164 (gcov_exit_dump_gcov): Rename to ...
4165 (dump_one_gcov): Add RUN_COUNTED argument.
4166 (gcov_do_dump): New function, broken out of ...
4167 (gcov_exit): ... here. Call it.
4168
17522262
AG
41692014-07-27 Anthony Green <green@moxielogic.com>
4170
4171 * config.host: Add moxiebox configuration suppport.
4172
6dc33097
NS
41732014-07-27 Nathan Sidwell <nathan@acm.org>
4174
4175 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
4176 (struct gcov_filename): ... here. Include buffer and max length
4177 fields.
4178 (gcov_max_filename): Remove.
4179 (gi_filename): Remove.
4180 (gcov_exit_compute_summary): Compute max filename here.
4181 (gcov_exit_merge_gcda): Add filename parm, adjust.
4182 (gcov_exit_merge_summary): Likewise.
4183 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
4184 (gcov_exit): Likewise.
4185 (__gcov_init): Don't calculate max length here.
4186 * libgcov_util.c (max_filename_len): Remove.
4187 (read_gcda_file): Don't calculate max length here.
4188 (gcov_read_profile_dir): Don't propagate here.
4189 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
4190 struct gcov_filename changes.
4191 (gcov_exit_open_gcda_file): Likewise.
4192
770f687d
NS
41932014-07-25 Nathan Sidwell <nathan@acm.org>
4194
4195 * libgcov-driver.c (set_gcov_dump_complete,
4196 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
4197 functions polluting user's namespace.
4198 (gcov_exit): Set variable directly.
4199 (gcov_clear): Reset variable directly.
4200 * libgcov-interface.c (get_gcov_dymp_complete,
4201 reset_gov_dump_complete): Remove declarations.
4202 (__gcov_reset, __gcov_dump): Don't call them.
4203
fabf71ba
DD
42042014-07-24 DJ Delorie <dj@redhat.com>
4205
4206 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
770f687d
NS
4207 (__gcc_deregister_frame): Move logic to detect deregister function
4208 to ...
4209 (__gcc_register_frame): here, so it's consistent with the register
4210 logic.
fabf71ba 4211
d10ee722
NS
42122014-07-23 Nathan Sidwell <nathan@acm.org>
4213
4214 * libgcov-driver.c (set_gcov_list): Remove.
4215 (gcov_list): Make non-static in GCOV_TOOL.
4216 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
4217
a4137090
JDA
42182014-07-17 John David Anglin <danglin@gcc.gnu.org>
4219
4220 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
4221 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
4222 Don't use SYNC_LOCK_RELEASE for int type.
4223
72602c6c
RB
42242014-07-14 Richard Biener <rguenther@suse.de>
4225
4226 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
4227
d5313205
RX
42282014-07-11 Rong Xu <xur@google.com>
4229
4230 * libgcov-util.c (gcov_max_filename): Fix declartion.
4231
c77556a5
RX
42322014-07-10 Rong Xu <xur@google.com>
4233
4234 Add gcov-tool: an offline gcda profile processing tool
4235 Support.
4236 * libgcov-driver.c (gcov_max_filename): Make available
4237 to gcov-tool.
4238 * libgcov-merge.c (__gcov_merge_add): Replace
4239 gcov_read_counter() with a Macro.
4240 (__gcov_merge_ior): Ditto.
4241 (__gcov_merge_time_profile): Ditto.
4242 (__gcov_merge_single): Ditto.
4243 (__gcov_merge_delta): Ditto.
4244 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
4245 in the utility functions.
4246 (set_fn_ctrs): Utility function for reading gcda files to in-memory
4247 gcov_list object link lists.
4248 (tag_function): Ditto.
4249 (tag_blocks): Ditto.
4250 (tag_arcs): Ditto.
4251 (tag_lines): Ditto.
4252 (tag_counters): Ditto.
4253 (tag_summary): Ditto.
4254 (read_gcda_finalize): Ditto.
4255 (read_gcda_file): Ditto.
4256 (ftw_read_file): Ditto.
4257 (read_profile_dir_init): Ditto.
4258 (gcov_read_profile_dir): Ditto.
4259 (gcov_read_counter_mem): Ditto.
4260 (gcov_get_merge_weight): Ditto.
4261 (merge_wrapper): A wrapper function that calls merging handler.
4262 (gcov_merge): Merge two gcov_info objects with weights.
4263 (find_match_gcov_info): Find the matched gcov_info in the list.
4264 (gcov_profile_merge): Merge two gcov_info object lists.
4265 (__gcov_add_counter_op): Process edge profile counter values.
4266 (__gcov_ior_counter_op): Process IOR profile counter values.
4267 (__gcov_delta_counter_op): Process delta profile counter values.
4268 (__gcov_single_counter_op): Process single profile counter values.
4269 (fp_scale): Callback function for float-point scaling.
cc86234f 4270 (int_scale): Callback function for integer fraction scaling.
c77556a5
RX
4271 (gcov_profile_scale): Scaling profile counters.
4272 (gcov_profile_normalize): Normalize profile counters.
4273 * libgcov.h: Add headers and functions for gcov-tool use.
4274 (gcov_get_counter): New.
4275 (gcov_get_counter_target): Ditto.
4276 (struct gcov_info): Make the functions field mutable in gcov-tool
4277 compilation.
4278
5c7dac8a
KT
42792014-06-23 Kai Tietz <ktietz@redhat.com>
4280
4281 PR libgcc/61585
4282 * unwind-seh.c (_Unwind_GetGR): Check for proper
4283 index range.
4284 (_Unwind_SetGR): Likewise.
4285
161c9312
NC
42862014-05-22 Nick Clifton <nickc@redhat.com>
4287
4288 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
4289 -mhwmult=none.
4290
e3f0315f
TJ
42912014-05-22 Teresa Johnson <tejohnson@google.com>
4292
4293 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
4294 include.
4295
dbed5a9b
JM
42962014-05-20 John Marino <gnugcc@marino.st>
4297
4298 * config.host (*-*-dragonfly*): New target.
4299 * crtstuff.c: Make dl_iterate_support generic on *bsd.
4300 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
4301 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
4302 * config/i386/dragonfly-unwind.h: New.
4303
1ec380e5
MR
43042014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
4305
4306 PR libgcc/60166
4307 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
4308 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
4309
54fde020
BE
43102014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
4311
4312 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
4313 implementation.
4314
999db125
GJL
43152014-05-12 Georg-Johann Lay <avr@gjlay.de>
4316
4317 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
4318
cceaf54a
RO
43192014-05-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4320
4321 PR libgcc/61097
4322 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
4323 if --enable-shared.
4324
e3fe9b5b
BE
43252014-04-30 Bernd Edlinger <bernd.edlinger@hotmail.de>
4326
4327 Work around for current cygwin32 build problems.
4328 * config/i386/cygming-crtbegin.c (__register_frame_info,
4329 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
4330 functions only for 64-bit systems.
4331
54cf37e9
RO
43322014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4333
4334 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
4335 (sigill_caught, sigill_hdlr): Remove.
4336
d9f069ab
RO
43372014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4338
4339 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
4340 check.
4341 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
4342 Solaris 9 single-threaded support.
4343 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
4344 Solaris 9 single-threaded support. Add call_user_handler code
4345 sequences.
4346 (sparc_is_sighandler): Likewise.
4347
59976ef8
AK
43482014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4349
4350 * config.host: Append t-floattodi to tmake_file depending on
4351 host_address.
4352
d02bbcf3
JS
43532014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
4354
31466bc0 4355 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
d02bbcf3 4356
c2e7e597
UB
43572014-03-10 Uros Bizjak <ubizjak@gmail.com>
4358
4359 PR libgcc/60472
4360 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
2405e0ea 4361 variable to avoid "array subscript is above array bounds" warnings.
c2e7e597
UB
4362 Use __builtin_expect when checking *jcr_list for NULL.
4363
227a7dc8
RO
43642014-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4365
4366 PR libgcc/59339
4367 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
4368 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
4369 vtv_*.o to extra_parts if enable_vtable_verify.
4370
df2b279c
NC
43712014-03-06 Nick Clifton <nickc@redhat.com>
4372
4373 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
4374 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
4375
dc11d79b
JY
43762014-02-28 Joey Ye <joey.ye@arm.com>
4377
4378 PR libgcc/60166
4379 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
4380 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
4381 Set to zero.
4382
341c653c
WL
43832014-02-24 Walter Lee <walt@tilera.com>
4384
4385 * config.host: Support "tilegx*" and "tilepro*" triplets.
4386 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
4387 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
4388
95ce7613
CLT
43892014-02-20 Sandra Loosemore <sandra@codesourcery.com>
4390 Chung-Lin Tang <cltang@codesourcery.com>
4391
4392 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
4393 * config/nios2/crti.S: Remove .file directive.
4394 * config/nios2/crtn.S: Likewise.
4395
0bb4fc05
KT
43962014-02-18 Kai Tietz <ktietz@redhat.com>
4397 Jonathan Schleifer <js@webkeks.org>
4398
4399 PR objc/56870
4400 * unwind-seh.c (_GCC_specific_handler): Pass proper
4401 value to unwind-handler.
4402
9acf28f1
JM
44032014-02-12 Joseph Myers <joseph@codesourcery.com>
4404
4405 * soft-fp/adddf3.c: Update from glibc.
4406 * soft-fp/addsf3.c: Likewise.
4407 * soft-fp/addtf3.c: Likewise.
4408 * soft-fp/divdf3.c: Likewise.
4409 * soft-fp/divsf3.c: Likewise.
4410 * soft-fp/divtf3.c: Likewise.
4411 * soft-fp/double.h: Likewise.
4412 * soft-fp/eqdf2.c: Likewise.
4413 * soft-fp/eqsf2.c: Likewise.
4414 * soft-fp/eqtf2.c: Likewise.
4415 * soft-fp/extenddftf2.c: Likewise.
4416 * soft-fp/extended.h: Likewise.
4417 * soft-fp/extendsfdf2.c: Likewise.
4418 * soft-fp/extendsftf2.c: Likewise.
4419 * soft-fp/extendxftf2.c: Likewise.
4420 * soft-fp/fixdfdi.c: Likewise.
4421 * soft-fp/fixdfsi.c: Likewise.
4422 * soft-fp/fixdfti.c: Likewise.
4423 * soft-fp/fixsfdi.c: Likewise.
4424 * soft-fp/fixsfsi.c: Likewise.
4425 * soft-fp/fixsfti.c: Likewise.
4426 * soft-fp/fixtfdi.c: Likewise.
4427 * soft-fp/fixtfsi.c: Likewise.
4428 * soft-fp/fixtfti.c: Likewise.
4429 * soft-fp/fixunsdfdi.c: Likewise.
4430 * soft-fp/fixunsdfsi.c: Likewise.
4431 * soft-fp/fixunsdfti.c: Likewise.
4432 * soft-fp/fixunssfdi.c: Likewise.
4433 * soft-fp/fixunssfsi.c: Likewise.
4434 * soft-fp/fixunssfti.c: Likewise.
4435 * soft-fp/fixunstfdi.c: Likewise.
4436 * soft-fp/fixunstfsi.c: Likewise.
4437 * soft-fp/fixunstfti.c: Likewise.
4438 * soft-fp/floatdidf.c: Likewise.
4439 * soft-fp/floatdisf.c: Likewise.
4440 * soft-fp/floatditf.c: Likewise.
4441 * soft-fp/floatsidf.c: Likewise.
4442 * soft-fp/floatsisf.c: Likewise.
4443 * soft-fp/floatsitf.c: Likewise.
4444 * soft-fp/floattidf.c: Likewise.
4445 * soft-fp/floattisf.c: Likewise.
4446 * soft-fp/floattitf.c: Likewise.
4447 * soft-fp/floatundidf.c: Likewise.
4448 * soft-fp/floatundisf.c: Likewise.
4449 * soft-fp/floatunditf.c: Likewise.
4450 * soft-fp/floatunsidf.c: Likewise.
4451 * soft-fp/floatunsisf.c: Likewise.
4452 * soft-fp/floatunsitf.c: Likewise.
4453 * soft-fp/floatuntidf.c: Likewise.
4454 * soft-fp/floatuntisf.c: Likewise.
4455 * soft-fp/floatuntitf.c: Likewise.
4456 * soft-fp/gedf2.c: Likewise.
4457 * soft-fp/gesf2.c: Likewise.
4458 * soft-fp/getf2.c: Likewise.
4459 * soft-fp/ledf2.c: Likewise.
4460 * soft-fp/lesf2.c: Likewise.
4461 * soft-fp/letf2.c: Likewise.
4462 * soft-fp/muldf3.c: Likewise.
4463 * soft-fp/mulsf3.c: Likewise.
4464 * soft-fp/multf3.c: Likewise.
4465 * soft-fp/negdf2.c: Likewise.
4466 * soft-fp/negsf2.c: Likewise.
4467 * soft-fp/negtf2.c: Likewise.
4468 * soft-fp/op-1.h: Likewise.
4469 * soft-fp/op-2.h: Likewise.
4470 * soft-fp/op-4.h: Likewise.
4471 * soft-fp/op-8.h: Likewise.
4472 * soft-fp/op-common.h: Likewise.
4473 * soft-fp/quad.h: Likewise.
4474 * soft-fp/single.h: Likewise.
4475 * soft-fp/soft-fp.h: Likewise.
4476 * soft-fp/subdf3.c: Likewise.
4477 * soft-fp/subsf3.c: Likewise.
4478 * soft-fp/subtf3.c: Likewise.
4479 * soft-fp/truncdfsf2.c: Likewise.
4480 * soft-fp/trunctfdf2.c: Likewise.
4481 * soft-fp/trunctfsf2.c: Likewise.
4482 * soft-fp/trunctfxf2.c: Likewise.
4483 * soft-fp/unorddf2.c: Likewise.
4484 * soft-fp/unordsf2.c: Likewise.
4485 * soft-fp/unordtf2.c: Likewise.
4486 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
4487 macro.
4488 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4489 Likewise.
4490 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4491 Likewise.
4492 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4493 Likewise.
4494 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4495 Likewise.
4496 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4497 Likewise.
4498 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4499 Likewise.
4500 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4501 Likewise.
4502 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4503 Likewise.
4504 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4505 Likewise.
4506 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4507 Likewise.
4508 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4509 Likewise.
4510 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4511 Likewise.
4512 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
4513 Likewise.
4514 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
4515 Likewise.
4516 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4517 Likewise.
4518
ce245ec6
AK
45192014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4520
4521 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
4522 cannot be represented.
4523 * config/s390/32/_fixsfdi.c: Likewise.
4524 * config/s390/32/_fixtfdi.c: Likewise.
4525 * config/s390/32/_fixunsdfdi.c: Likewise.
4526 * config/s390/32/_fixunssfdi.c: Likewise.
4527 * config/s390/32/_fixunstfdi.c: Likewise.
4528
1c51d688
RS
45292014-02-07 Richard Sandiford <rdsandiford@googlemail.com>
4530
4531 * configure.ac (libgcc_cv_mips_hard_float): New.
4532 * configure: Regenerate.
4533 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
4534 t-softfp-sfdf for hard-float targets.
4535 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
4536 (softfp_float_modes, softfp_int_modes, softfp_extensions)
4537 (softfp_truncations, softfp_exclude_libgcc2): New.
4538 * config/t-hardfp: New file.
4539 * config/t-hardfp-sfdf: Likewise.
4540 * config/hardfp.c: Likewise.
4541
bbf391db
AK
45422014-02-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4543
4544 * config.host: Include t-floattodi also for s390x.
4545 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
4546 * config/s390/32/_fixsfdi.c: Likewise.
4547 * config/s390/32/_fixtfdi.c: Likewise.
4548 * config/s390/32/_fixunsdfdi.c: Likewise.
4549 * config/s390/32/_fixunssfdi.c: Likewise.
4550 * config/s390/32/_fixunstfdi.c: Likewise.
4551
91da0481
RO
45522014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4553
4554 PR target/59788
4555 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
4556 (install-libgcc-unwind-map-forbuild): New target.
4557 (all): Depend on install-libgcc-unwind-map-forbuild.
4558 (install-libgcc-unwind-map): New target.
4559 (install): Depend on install-libgcc-unwind-map.
4560
02b67731
SL
45612014-02-02 Sandra Loosemore <sandra@codesourcery.com>
4562
4563 * config/nios2/crti.S (_init): Initialize GOT pointer from
4564 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
4565
1ea0a651
RS
45662014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
4567
4568 * configure.ac: Check __mips64 when setting host_address.
4569 * configure: Regenerate.
4570 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
4571 mips/t-mips64 and t-softfp.
4572 (mips*-*-linux*): Don't add mips/t-tpbit.
4573 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
4574 (DPBIT, DPBIT_CFLAGS): Delete.
4575 * config/mips/sfp-machine.h: New file.
4576 * config/mips/t-mips64: Likewise.
4577 * config/mips/t-softfp-tf: Likewise.
4578 * config/mips/t-tpbit: Delete.
4579
f32b0061
MS
45802014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
4581
4582 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
4583 as long long.
4584
a5420aa4
WL
45852014-01-25 Walter Lee <walt@tilera.com>
4586
4587 * config/tilepro/atomic.c: Include tconfig.h. Don't include
4588 config.h or system.h.
4589 (bool) Define.
4590
24534912
WL
45912014-01-25 Walter Lee <walt@tilera.com>
4592
4593 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
4594 (post_atomic_barrier): Ditto.
4595 (__fetch_and_do): New macro.
4596 (__atomic_fetch_and_do): Use __fetch_and_do.
4597 (__sync_fetch_and_do): New macro.
4598 (__sync_fetch_and_add_4): New function.
4599 (__sync_fetch_and_sub_4): New function.
4600 (__sync_fetch_and_or_4): New function.
4601 (__sync_fetch_and_and_4): New function.
4602 (__sync_fetch_and_xor_4): New function.
4603 (__sync_fetch_and_nand_4): New function.
4604 (__sync_fetch_and_add_8): New function.
4605 (__sync_fetch_and_sub_8): New function.
4606 (__sync_fetch_and_or_8): New function.
4607 (__sync_fetch_and_and_8): New function.
4608 (__sync_fetch_and_xor_8): New function.
4609 (__sync_fetch_and_nand_8): New function.
4610 (__do_and_fetch): New macro.
4611 (__atomic_do_and_fetch): Use __do_and_fetch.
4612 (__sync_do_and_fetch): New macro.
4613 (__sync_add_and_fetch_4): New function.
4614 (__sync_sub_and_fetch_4): New function.
4615 (__sync_or_and_fetch_4): New function.
4616 (__sync_and_and_fetch_4): New function.
4617 (__sync_xor_and_fetch_4): New function.
4618 (__sync_nand_and_fetch_4): New function.
4619 (__sync_add_and_fetch_8): New function.
4620 (__sync_sub_and_fetch_8): New function.
4621 (__sync_or_and_fetch_8): New function.
4622 (__sync_and_and_fetch_8): New function.
4623 (__sync_xor_and_fetch_8): New function.
4624 (__sync_nand_and_fetch_8): New function.
4625 (__sync_exchange_methods): New macro.
4626 (__sync_val_compare_and_swap_4): New function.
4627 (__sync_bool_compare_and_swap_4): New function.
4628 (__sync_lock_test_and_test_4): New function.
4629 (__sync_val_compare_and_swap_8): New function.
4630 (__sync_bool_compare_and_swap_8): New function.
4631 (__sync_lock_test_and_test_8): New function.
4632 (__subword_cmpxchg_body): New macro.
4633 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
4634 (__atomic_compare_exchange_2): Ditto.
4635 (__sync_subword_cmpxchg): New macro.
4636 (__sync_val_compare_and_swap_1): New function.
4637 (__sync_bool_compare_and_swap_1): New function.
4638 (__sync_val_compare_and_swap_2): New function.
4639 (__sync_bool_compare_and_swap_2): New function.
4640 (__atomic_subword): Rename to ...
4641 (__subword): ... New name.
4642 (__atomic_subword_fetch): Use __subword.
4643 (__sync_subword_fetch): New macro.
4644 (__sync_fetch_and_add_1): New function.
4645 (__sync_fetch_and_sub_1): New function.
4646 (__sync_fetch_and_or_1): New function.
4647 (__sync_fetch_and_and_1): New function.
4648 (__sync_fetch_and_xor_1): New function.
4649 (__sync_fetch_and_nand_1): New function.
4650 (__sync_fetch_and_add_2): New function.
4651 (__sync_fetch_and_sub_2): New function.
4652 (__sync_fetch_and_or_2): New function.
4653 (__sync_fetch_and_and_2): New function.
4654 (__sync_fetch_and_xor_2): New function.
4655 (__sync_fetch_and_nand_2): New function.
4656 (__sync_add_and_fetch_1): New function.
4657 (__sync_sub_and_fetch_1): New function.
4658 (__sync_or_and_fetch_1): New function.
4659 (__sync_and_and_fetch_1): New function.
4660 (__sync_xor_and_fetch_1): New function.
4661 (__sync_nand_and_fetch_1): New function.
4662 (__sync_add_and_fetch_2): New function.
4663 (__sync_sub_and_fetch_2): New function.
4664 (__sync_or_and_fetch_2): New function.
4665 (__sync_and_and_fetch_2): New function.
4666 (__sync_xor_and_fetch_2): New function.
4667 (__sync_nand_and_fetch_2): New function.
4668 (__atomic_subword_lock): Use __subword.
4669 (__sync_subword_lock): New macro.
4670 (__sync_lock_test_and_set_1): New function.
4671 (__sync_lock_test_and_set_2): New function.
4672
4d6d3bc5
WL
46732014-01-25 Walter Lee <walt@tilera.com>
4674
4675 * config/tilepro/atomic.c (BIT_OFFSET): Define.
4676 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
4677 (__atomic_subword): Ditto.
4678
cbd9890e
WL
46792014-01-25 Walter Lee <walt@tilera.com>
4680
4681 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
4682 a prefix op argument.
4683 (__atomic_nand_fetch_4): Add prefix op.
4684 (__atomic_nand_fetch_8): Ditto.
4685
7d296953 46862014-01-21 Baruch Siach <barch@tkos.co.il>
800d8bd5
BS
4687
4688 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
4689
46dd1242
L
46902014-01-09 Rong Xu <xur@google.com>
4691
4692 * libgcov-driver.c (this_prg): make it local to save
4693 bss space.
4694 (gcov_exit_compute_summary): Ditto.
4695 (gcov_exit_merge_gcda): Ditto.
4696 (gcov_exit_merge_summary): Ditto.
4697 (gcov_exit_dump_gcov): Ditto.
4698
cc86234f 46992014-01-08 Rong Xu <xur@google.com>
40d6b753
RX
4700
4701 * libgcov-driver.c: Use libgcov.h.
4702 (buffer_fn_data): Use xmalloc instead of malloc.
4703 (gcov_exit_merge_gcda): Ditto.
4704 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
4705 * libgcov.h: New common header files for libgcov-*.h.
4706 * libgcov-interface.c: Use libgcov.h
4707 * libgcov-merge.c: Ditto.
4708 * libgcov-profiler.c: Ditto.
4709 * Makefile.in: Add dependence to libgcov.h
4710
a02e7bdd
JM
47112014-01-02 Joseph Myers <joseph@codesourcery.com>
4712
4713 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
4714 case of small numerator and finite nonzero result.
4715
ac1dca3c
RS
47162014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
4717
4718 Update copyright years
4719
f9030485
RS
47202014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
4721
4722 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
4723 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
4724 config/arc/dp-hack.h, config/arc/fp-hack.h,
4725 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
4726 config/arc/ieee-754/arc600-dsp/divdf3.S,
4727 config/arc/ieee-754/arc600-dsp/divsf3.S,
4728 config/arc/ieee-754/arc600-dsp/muldf3.S,
4729 config/arc/ieee-754/arc600-dsp/mulsf3.S,
4730 config/arc/ieee-754/arc600-mul64/divdf3.S,
4731 config/arc/ieee-754/arc600-mul64/divsf3.S,
4732 config/arc/ieee-754/arc600-mul64/muldf3.S,
4733 config/arc/ieee-754/arc600-mul64/mulsf3.S,
4734 config/arc/ieee-754/arc600/divsf3.S,
4735 config/arc/ieee-754/arc600/mulsf3.S,
4736 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
4737 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
4738 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
4739 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
4740 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
4741 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
4742 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
4743 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
4744 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
4745 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
4746 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
4747 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
4748 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
4749 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
4750 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
4751 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
4752 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
4753 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
4754 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
4755 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
4756 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
4757 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
4758 vtv_start_preinit.c: Use the standard form for the copyright notice.
4759
e430824f
CLT
47602013-12-31 Sandra Loosemore <sandra@codesourcery.com>
4761 Chung-Lin Tang <cltang@codesourcery.com>
4762 Based on patches from Altera Corporation
4763
4764 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
4765 * config/nios2/lib2-nios2.h: New file.
4766 * config/nios2/lib2-divmod-hi.c: New file.
4767 * config/nios2/linux-unwind.h: New file.
4768 * config/nios2/lib2-divmod.c: New file.
4769 * config/nios2/linux-atomic.c: New file.
4770 * config/nios2/t-nios2: New file.
4771 * config/nios2/crti.asm: New file.
4772 * config/nios2/t-linux: New file.
4773 * config/nios2/lib2-divtable.c: New file.
4774 * config/nios2/lib2-mul.c: New file.
4775 * config/nios2/tramp.c: New file.
4776 * config/nios2/crtn.asm: New file.
4777
1879e97f
UB
47782013-12-26 Uros Bizjak <ubizjak@gmail.com>
4779
4780 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
4781 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
4782 from cpuid.h to check vendor signatures.
4783
f4a4bdbb
GG
47842013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
4785
c2e7e597 4786 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
f4a4bdbb
GG
4787 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
4788 (get_amd_cpu): Likewise.
4789
8d2ae544
L
47902013-12-25 H.J. Lu <hongjiu.lu@intel.com>
4791
4792 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
4793 Haswell.
4794
74924838
ASJ
47952013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
4796 H.J. Lu <hongjiu.lu@intel.com>
4797
0bb52f25
L
4798 PR target/59422
4799 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
74924838
ASJ
4800 and AMD_JAGUAR.
4801 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
4802 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
4803 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
4804 FEATURE_XOP and FEATURE_FMA.
4805 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
4806 AMDFAM15H_BDVER3.
4807 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
0bb52f25 4808 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
74924838
ASJ
4809 FEATURE_FMA4 and FEATURE_XOP.
4810
d3c11974
L
48112013-12-23 H.J. Lu <hongjiu.lu@intel.com>
4812
4813 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
4814 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
4815 (get_intel_cpu): Updated.
4816
064c4ff2
ZC
48172013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
4818
4819 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
4820
8b02e720
UB
48212013-12-09 Uros Bizjak <ubizjak@gmail.com>
4822
4823 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
1f71a3c3 4824 instructions when __SSE_MATH__ is defined.
8b02e720 4825
3fa2ccb4
RC
48262013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
4827
4828 * config.host (microblaze-*-rtems*): New.
4829
ecd78fc9
KV
48302013-12-04 Kugan Vivekanandarajah <kuganv@linaro.org>
4831
4832 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
4833 architectures that do not have hardware divide instruction.
4834 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
4835
b21fbbd2
RS
48362013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
4837
4838 * longlong.h: Delete (moved to include/).
4839
b03fb8c9
AZ
48402013-12-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4841
4842 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
4843 of normal number and qNaN to not raise an inexact exception.
4844
3c716922
UB
48452013-11-28 Uros Bizjak <ubizjak@gmail.com>
4846
4847 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
4848
48492013-11-28 Matthew Leach <matthew.leach@arm.com>
cceeb9a9
ML
4850
4851 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
4852 for correct opcodes on BE.
4853
a3458d22
UB
48542013-11-27 Uros Bizjak <ubizjak@gmail.com>
4855
4856 * soft-fp/op-4.h: Update from glibc.
4857
30b8f78b
KV
48582013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
4859
4860 * libgcc2.c (__udivmoddi4): Define new implementation when
4861 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
4862 divide instructions.
4863
82552a29
OE
48642013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
4865
4866 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
4867
80e87457
RO
48682013-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4869
4870 * config/t-softfp (soft-fp-objects-base): New variable.
4871 (soft-fp-objects): Use it.
4872
44178879
DE
48732013-11-23 David Edelson <dje.gcc@gmail.com>
4874 Andrew Dixie <andrewd@gentrack.com>
4875
4876 PR target/33704
4877 * config/rs6000/aixinitfini.c: New file.
4878 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
4879 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
4880 symbols.
4881
e5287671
YR
48822013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
4883
a3458d22 4884 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
e5287671 4885
867c8b03
JH
48862013-11-18 Jan Hubicka <jh@suse.cz>
4887
7f369373
JH
4888 * libgcov-driver.c (run_accounted): Make global level static.
4889 (gcov_exit_merge_summary): Silence warning; do not clear
4890 run_accounted here.
4891 (gcov_exit): Clear it here.
4892
1d0b3334
JH
4893 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
4894 run_accounted.
4895
867c8b03
JH
4896 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
4897 (all_prg, crc32): Remove static vars.
4898 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
4899 all_prg.
4900 (gcov_exit_merge_gcda): Add crc32 parameter.
4901 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
4902 do not account run if it was already accounted.
4903 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
4904 (gcov_exit): Initialize all_prg; update.
4905
66204992
AS
49062013-11-15 Andreas Schwab <schwab@linux-m68k.org>
4907
4908 * configure: Regenerate.
4909
b54214fe
UW
49102013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4911 Alan Modra <amodra@gmail.com>
4912
4913 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
4914 (frob_update_context): Use it.
4915
49162013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4917 Alan Modra <amodra@gmail.com>
4918
4919 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
4920 (trampoline_initial): Provide ELFv2 variant.
4921 (__trampoline_setup): Likewise.
4922
4923 * config/rs6000/linux-unwind.h (frob_update_context): Do not
4924 check for AIX indirect function call sequence if _CALL_ELF == 2.
4925
49262013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4927 Alan Modra <amodra@gmail.com>
4928
4929 * config/rs6000/linux-unwind.h (get_regs): Do not support
4930 old kernel versions if _CALL_ELF == 2.
4931 (frob_update_context): Do not support PLT stub variants only
4932 generated by old linkers if _CALL_ELF == 2.
4933
13e0981a
UW
49342013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4935 Alan Modra <amodra@gmail.com>
4936
4937 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
4938 location of CR save area for 64-bit little-endian systems.
4939
1a80085d
EB
49402013-11-11 Eric Botcazou <ebotcazou@adacore.com>
4941
4942 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
4943 in tmake_file.
4944 * config/arm/t-vxworks: Delete.
4945
cabeea52
KT
49462013-11-10 Kai Tietz <ktietz@redhat.com>
4947
4948 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
4949 Increment load-count on use of LIBGCC_SONAME DLL.
4950 (hmod_libgcc): New static variable to hold handle of
4951 LIBGCC_SONAME DLL.
4952 (__gcc_deregister_frame): Decrement load-count of
4953 LIBGCC_SONAME DLL.
4954
ac088ba1
BRF
49552013-11-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
4956
4957 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
4958 availability.
4959 * configure: Regenerate
4960
d59a8fcc
UB
49612013-11-07 Uros Bizjak <ubizjak@gmail.com>
4962
4963 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
4964 FP_EX_DENORM. Store result to volatile location after SSE division
4965 to close interrupt window. Remove unneeded fwait after x87
4966 division since interrupt window will be closed by emitted fstp.
9de84e84 4967 Rewrite FP_EX_INEXACT handling.
d59a8fcc 4968
9954c743
JM
49692013-11-06 Joseph Myers <joseph@codesourcery.com>
4970
4971 * soft-fp/README: Update.
4972 * soft-fp/adddf3.c: Update from glibc.
4973 * soft-fp/addsf3.c: Likewise.
4974 * soft-fp/addtf3.c: Likewise.
4975 * soft-fp/divdf3.c: Likewise.
4976 * soft-fp/divsf3.c: Likewise.
4977 * soft-fp/divtf3.c: Likewise.
4978 * soft-fp/double.h: Likewise.
4979 * soft-fp/eqdf2.c: Likewise.
4980 * soft-fp/eqsf2.c: Likewise.
4981 * soft-fp/eqtf2.c: Likewise.
4982 * soft-fp/extenddftf2.c: Likewise.
4983 * soft-fp/extended.h: Likewise.
4984 * soft-fp/extendsfdf2.c: Likewise.
4985 * soft-fp/extendsftf2.c: Likewise.
4986 * soft-fp/extendxftf2.c: Likewise.
4987 * soft-fp/fixdfdi.c: Likewise.
4988 * soft-fp/fixdfsi.c: Likewise.
4989 * soft-fp/fixdfti.c: Likewise.
4990 * soft-fp/fixsfdi.c: Likewise.
4991 * soft-fp/fixsfsi.c: Likewise.
4992 * soft-fp/fixsfti.c: Likewise.
4993 * soft-fp/fixtfdi.c: Likewise.
4994 * soft-fp/fixtfsi.c: Likewise.
4995 * soft-fp/fixtfti.c: Likewise.
4996 * soft-fp/fixunsdfdi.c: Likewise.
4997 * soft-fp/fixunsdfsi.c: Likewise.
4998 * soft-fp/fixunsdfti.c: Likewise.
4999 * soft-fp/fixunssfdi.c: Likewise.
5000 * soft-fp/fixunssfsi.c: Likewise.
5001 * soft-fp/fixunssfti.c: Likewise.
5002 * soft-fp/fixunstfdi.c: Likewise.
5003 * soft-fp/fixunstfsi.c: Likewise.
5004 * soft-fp/fixunstfti.c: Likewise.
5005 * soft-fp/floatdidf.c: Likewise.
5006 * soft-fp/floatdisf.c: Likewise.
5007 * soft-fp/floatditf.c: Likewise.
5008 * soft-fp/floatsidf.c: Likewise.
5009 * soft-fp/floatsisf.c: Likewise.
5010 * soft-fp/floatsitf.c: Likewise.
5011 * soft-fp/floattidf.c: Likewise.
5012 * soft-fp/floattisf.c: Likewise.
5013 * soft-fp/floattitf.c: Likewise.
5014 * soft-fp/floatundidf.c: Likewise.
5015 * soft-fp/floatundisf.c: Likewise.
5016 * soft-fp/floatunditf.c: Likewise.
5017 * soft-fp/floatunsidf.c: Likewise.
5018 * soft-fp/floatunsisf.c: Likewise.
5019 * soft-fp/floatunsitf.c: Likewise.
5020 * soft-fp/floatuntidf.c: Likewise.
5021 * soft-fp/floatuntisf.c: Likewise.
5022 * soft-fp/floatuntitf.c: Likewise.
5023 * soft-fp/gedf2.c: Likewise.
5024 * soft-fp/gesf2.c: Likewise.
5025 * soft-fp/getf2.c: Likewise.
5026 * soft-fp/ledf2.c: Likewise.
5027 * soft-fp/lesf2.c: Likewise.
5028 * soft-fp/letf2.c: Likewise.
5029 * soft-fp/muldf3.c: Likewise.
5030 * soft-fp/mulsf3.c: Likewise.
5031 * soft-fp/multf3.c: Likewise.
5032 * soft-fp/negdf2.c: Likewise.
5033 * soft-fp/negsf2.c: Likewise.
5034 * soft-fp/negtf2.c: Likewise.
5035 * soft-fp/op-1.h: Likewise.
5036 * soft-fp/op-2.h: Likewise.
5037 * soft-fp/op-4.h: Likewise.
5038 * soft-fp/op-8.h: Likewise.
5039 * soft-fp/op-common.h: Likewise.
5040 * soft-fp/quad.h: Likewise.
5041 * soft-fp/single.h: Likewise.
5042 * soft-fp/soft-fp.h: Likewise.
5043 * soft-fp/subdf3.c: Likewise.
5044 * soft-fp/subsf3.c: Likewise.
5045 * soft-fp/subtf3.c: Likewise.
5046 * soft-fp/truncdfsf2.c: Likewise.
5047 * soft-fp/trunctfdf2.c: Likewise.
5048 * soft-fp/trunctfsf2.c: Likewise.
5049 * soft-fp/trunctfxf2.c: Likewise.
5050 * soft-fp/unorddf2.c: Likewise.
5051 * soft-fp/unordsf2.c: Likewise.
5052 * soft-fp/unordtf2.c: Likewise.
5053
02ac9503
UB
50542013-11-05 Uros Bizjak <ubizjak@gmail.com>
5055
5056 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
5057 (_FP_MUL_MEAT_D): Ditto.
5058 (_FP_DIV_MEAT_S): Ditto.
5059 (_FP_DIV_MEAT_D): Ditto.
5060 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
5061 t-softfp-sfdf and t-softfp to tmake_file.
5062
61221141
UB
50632013-11-03 Uros Bizjak <ubizjak@gmail.com>
5064
5065 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
5066 * config/i386/crtprec.c: Ditto.
5067
9304f876
CJW
50682013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
5069 Shiva Chen <shiva0217@gmail.com>
5070
5071 * config.host (nds32*-elf*): Add nds32 target.
5072 * config/nds32 : New directory and files.
5073
0e499e75
HPN
50742013-10-16 Hans-Peter Nilsson <hp@axis.com>
5075
5076 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
5077 * config.host (cpu_type) <Setting default>: Add entry for
5078 crisv32-*-*.
5079 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
5080 <crisv32-*-linux*>: Adjust.
5081 * longlong.h: Wrap the whole CRIS section in a single
5082 defined(__CRIS__) conditional. Add comment about add_ssaaaa
5083 and sub_ddmmss.
5084 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
5085 defined.
5086 [__CRIS__] (__umulsidi3): Define.
5087 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
5088 * config/cris/sfp-machine.h: New file.
5089 * config/cris/umulsidi3.S: New file.
5090 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
5091 * config/cris/arit.c (SIGNMULT): New macro.
5092 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
5093 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
5094 saving 3 out of originally 33 cycles from the fastest
5095 path, 3 out of 54 from the medium path and one from the longest
5096 path. Improve comments.
5097
16022041
RS
50982013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
5099
5100 * sync.c: Remove static aliases and define each function directly
5101 under its real name.
5102
69778659
JDA
51032013-10-02 John David Anglin <danglin@gcc.gnu.org>
5104
5105 * config.host (hppa*64*-*-linux*): Define extra_parts.
5106 (hppa*-*-linux*): Likewise.
5107
2deaf8b0
JR
51082013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
5109
5110 * config/arc/crtgend.S: Add 2013 to Copyright years.
5111 * config/arc/gmon/atomic.h: Likewise.
5112 * config/arc/gmon/auxreg.h: Likewise.
5113 * config/arc/gmon/sys/gmon_out.h: Likewise.
5114 * config/arc/gmon/sys/gmon.h: Likewise.
5115 * config/arc/gmon/prof-freq.c: Likewise.
5116 * config/arc/gmon/mcount.c: Likewise.
5117 * config/arc/gmon/prof-freq-stub.S: Likewise.
5118 * config/arc/gmon/gmon.c: Likewise.
5119 * config/arc/gmon/machine-gmon.h: Likewise.
5120 * config/arc/gmon/profil.S: Likewise.
5121 * config/arc/gmon/dcache_linesz.S: Likewise.
5122 * config/arc/crtg.S: Likewise.
5123 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
5124 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
5125 * config/arc/ieee-754/adddf3.S: Likewise.
5126 * config/arc/ieee-754/truncdfsf2.S: Likewise.
5127 * config/arc/ieee-754/fixsfsi.S: Likewise.
5128 * config/arc/ieee-754/gtsf2.S: Likewise.
5129 * config/arc/ieee-754/floatsisf.S: Likewise.
5130 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
5131 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
5132 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
5133 * config/arc/ieee-754/fixdfsi.S: Likewise.
5134 * config/arc/ieee-754/addsf3.S: Likewise.
5135 * config/arc/ieee-754/gesf2.S: Likewise.
5136 * config/arc/ieee-754/floatsidf.S: Likewise.
5137 * config/arc/ieee-754/extendsfdf2.S: Likewise.
5138 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
5139 * config/arc/ieee-754/gtdf2.S: Likewise.
5140 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
5141 * config/arc/ieee-754/uneqdf2.S: Likewise.
5142 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
5143 * config/arc/ieee-754/uneqsf2.S: Likewise.
5144 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
5145 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
5146 * config/arc/ieee-754/eqdf2.S: Likewise.
5147 * config/arc/ieee-754/ordsf2.S: Likewise.
5148 * config/arc/ieee-754/divsf3.S: Likewise.
5149 * config/arc/ieee-754/divdf3.S: Likewise.
5150 * config/arc/ieee-754/floatunsidf.S: Likewise.
5151 * config/arc/ieee-754/orddf2.S: Likewise.
5152 * config/arc/ieee-754/eqsf2.S: Likewise.
5153 * config/arc/ieee-754/gedf2.S: Likewise.
5154 * config/arc/crtn.S: Likewise.
5155 * config/arc/crti.S: Likewise.
5156 * config/arc/t-arc700-uClibc: Likewise.
5157 * config/arc/asm.h: Likewise.
5158 * config/arc/libgcc-excl.ver: Likewise.
5159 * config/arc/t-arc-newlib: Likewise.
5160 * config/arc/divtab-arc700.c: Likewise.
5161 * config/arc/initfini.c: Likewise.
5162 * config/arc/fp-hack.h: Likewise.
5163
c8e318b0
JR
51642013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
5165 Diego Novillo <dnovillo@google.com>
5166
5167 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
a07c5b47
JR
5168 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
5169 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
5170 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
c8e318b0 5171
d38a64b4
JR
51722013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
5173 Brendan Kehoe <brendan@zen.org>
5174 Simon Cook <simon.cook@embecosm.com>
5175
5176 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
5177 * config/arc: New directory.
5178 * longlong.h [__arc__] (umul_ppmm): Remove.
5179 [__arc__] (__umulsidi3): Define.
5180 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
5181 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
5182
dff717d2
JC
51832013-09-17 Jacek Caban <jacek@codeweavers.com>
5184
5185 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
5186 CreateSemaphoreA.
5187 * config/i386/gthr-win32.h: Likewise.
5188
5c0029de
DD
51892013-09-16 DJ Delorie <dj@redhat.com>
5190
844ad6c6 5191 * config/rl78/vregs.h: Add G10 register definitions.
5c0029de
DD
5192 * config/rl78/lib2mul.c: Enable for RL78/G10.
5193 * config/rl78/lib2div.c: Likewise.
5194 * config/rl78/lshrsi3.S: Use vregs.h.
5195 * config/rl78/cmpsi2.S: Likewise.
5196 * config/rl78/trampoline.S: Likewise.
5197 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
5198
ceb2fc49
DD
51992013-09-14 DJ Delorie <dj@redhat.com>
5200 Nick Clifton <nickc@redhat.com>
5201
5202 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
5203 * config/rl78/vregs.h: New.
5204 * config/rl78/signbit.S: New file. Implements signbit function.
5205 * config/rl78/divmodsi.S: New.
5206 * config/rl78/divmodhi.S: New.
5207 * config/rl78/divmodqi.S: New.
5208 * config/rl78/t-rl78: Build them here...
5209 * config/rl78/lib2div.c: ...but not here.
5210
f6a83b4a
DD
52112013-09-12 DJ Delorie <dj@redhat.com>
5212
5213 * config.host (msp*-*-elf): New.
5214 * config/msp430/: New port.
5215
9107b096
IS
52162013-08-18 Iain Sandoe <iain@codesourcery.com>
5217
5218 PR gcov-profile/58127
5219 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
5220 __thread var for emulated TLS.
5221 (__gcov_indirect_call_counters): Likewise.
5222
0f9bde1f 52232013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
61221141 5224 Catherine Moore <clm@codesourcery.com>
7d296953 5225 Richard Sandiford <rdsandiford@googlemail.com>
0f9bde1f
MR
5226
5227 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
5228 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
5229 (CALL_STUB_NO_RET): Likewise.
5230 (CALL_STUB_RET): Likewise.
5231 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
5232 __mips16_ret call/return stub symbols.
5233 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
5234 to tmake_file.
5235
2dc14aac
MR
52362013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
5237
5238 * config.host <mips*-*-linux*>: Remove a stray comment.
5239
748d71f3
JH
52402013-08-10 Jan Hubicka <jh@suse.cz>
5241
5242 Work around binutils PR14342
5243 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
5244 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
5245 (L_gcov_indirect_call_profiler_v2): New.
5246
2fa3d31b
JH
52472013-08-06 Jan Hubicka <jh@suse.cz>
5248
5249 * libgcov.c (__gcov_indirect_call_callee,
5250 __gcov_indirect_call_counters): New global vars.
5251 (__gcov_indirect_call_profiler): replace by ...
5252 (__gcov_indirect_call_profiler_v2) ... this one.
5253
2077db1b
CT
52542013-08-06 Caroline Tice <cmtice@google.com>
5255
d0595b65 5256 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
2077db1b 5257 vtv_start_preinit.o and vtv_end_preinit.o.
d0595b65
CT
5258 * configure.ac: Add code to check/set enable_vtable_verify.
5259 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
2077db1b 5260 true.
d0595b65
CT
5261 * vtv_start_preinit.c: New file.
5262 * vtv_end_preinit.c: New file.
5263 * vtv_start.c: New file.
5264 * vtv_end.c: New file.
5265 * configure: Regenerated.
2077db1b 5266
46549c20
MK
52672013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
5268
5269 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
5270 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
5271 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
5272 GPL-3.0-with-GCC-exception.
5273
72be589b
MR
52742013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
5275
5276 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
5277 ISA and up.
5278
902a3faf
AK
52792013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5280
5281 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
5282 mapping for FPRs when creating the fallback framestate.
5283
02371798
GJL
52842013-07-19 Georg-Johann Lay <avr@gjlay.de>
5285
5286 PR target/57516
5287 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
5288 (__round_s2_const, __round_u2_const)
5289 (__round_s4_const, __round_u4_const, __round_x8):
5290 Saturate result if addition result cannot be represented.
5291
ab0e8379
MK
52922013-07-15 Matthias Klose <doko@ubuntu.com>
5293
5294 * libgcc2.c: Don't include <limits.h>.
5295
7da38058
JJ
52962013-07-09 Janis Johnson <janisjo@codesourcery.com>
5297
5298 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
5299
1f6eac90
JJ
53002013-07-06 Jakub Jelinek <jakub@redhat.com>
5301
5302 PR target/29776
5303 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
5304
4ea3d774
JJ
53052013-06-28 Jakub Jelinek <jakub@redhat.com>
5306
5307 PR middle-end/36041
5308 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
5309 Define.
5310 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
5311 instead of table lookups.
5312 (__popcountDI2): Likewise.
5313
9d2cdf25
CJW
53142013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
5315
5316 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
5317 correctly.
5318
fa1e55b0
JM
53192013-06-21 Joseph Myers <joseph@codesourcery.com>
5320
5321 PR other/53317
5322 * soft-fp/adddf3.c: Update from glibc.
5323 * soft-fp/addsf3.c: Likewise.
5324 * soft-fp/addtf3.c: Likewise.
5325 * soft-fp/divdf3.c: Likewise.
5326 * soft-fp/divsf3.c: Likewise.
5327 * soft-fp/divtf3.c: Likewise.
5328 * soft-fp/double.h: Likewise.
5329 * soft-fp/eqdf2.c: Likewise.
5330 * soft-fp/eqsf2.c: Likewise.
5331 * soft-fp/eqtf2.c: Likewise.
5332 * soft-fp/extenddftf2.c: Likewise.
5333 * soft-fp/extended.h: Likewise.
5334 * soft-fp/extendsfdf2.c: Likewise.
5335 * soft-fp/extendsftf2.c: Likewise.
5336 * soft-fp/fixdfdi.c: Likewise.
5337 * soft-fp/fixdfsi.c: Likewise.
5338 * soft-fp/fixsfdi.c: Likewise.
5339 * soft-fp/fixsfsi.c: Likewise.
5340 * soft-fp/fixtfdi.c: Likewise.
5341 * soft-fp/fixtfsi.c: Likewise.
5342 * soft-fp/fixunsdfdi.c: Likewise.
5343 * soft-fp/fixunsdfsi.c: Likewise.
5344 * soft-fp/fixunssfdi.c: Likewise.
5345 * soft-fp/fixunssfsi.c: Likewise.
5346 * soft-fp/fixunstfdi.c: Likewise.
5347 * soft-fp/fixunstfsi.c: Likewise.
5348 * soft-fp/floatdidf.c: Likewise.
5349 * soft-fp/floatdisf.c: Likewise.
5350 * soft-fp/floatditf.c: Likewise.
5351 * soft-fp/floatsidf.c: Likewise.
5352 * soft-fp/floatsisf.c: Likewise.
5353 * soft-fp/floatsitf.c: Likewise.
5354 * soft-fp/floatundidf.c: Likewise.
5355 * soft-fp/floatundisf.c: Likewise.
5356 * soft-fp/floatunditf.c: Likewise.
5357 * soft-fp/floatunsidf.c: Likewise.
5358 * soft-fp/floatunsisf.c: Likewise.
5359 * soft-fp/floatunsitf.c: Likewise.
5360 * soft-fp/gedf2.c: Likewise.
5361 * soft-fp/gesf2.c: Likewise.
5362 * soft-fp/getf2.c: Likewise.
5363 * soft-fp/ledf2.c: Likewise.
5364 * soft-fp/lesf2.c: Likewise.
5365 * soft-fp/letf2.c: Likewise.
5366 * soft-fp/muldf3.c: Likewise.
5367 * soft-fp/mulsf3.c: Likewise.
5368 * soft-fp/multf3.c: Likewise.
5369 * soft-fp/negdf2.c: Likewise.
5370 * soft-fp/negsf2.c: Likewise.
5371 * soft-fp/negtf2.c: Likewise.
5372 * soft-fp/op-1.h: Likewise.
5373 * soft-fp/op-2.h: Likewise.
5374 * soft-fp/op-4.h: Likewise.
5375 * soft-fp/op-8.h: Likewise.
5376 * soft-fp/op-common.h: Likewise.
5377 * soft-fp/quad.h: Likewise.
5378 * soft-fp/single.h: Likewise.
5379 * soft-fp/soft-fp.h: Likewise.
5380 * soft-fp/subdf3.c: Likewise.
5381 * soft-fp/subsf3.c: Likewise.
5382 * soft-fp/subtf3.c: Likewise.
5383 * soft-fp/truncdfsf2.c: Likewise.
5384 * soft-fp/trunctfdf2.c: Likewise.
5385 * soft-fp/trunctfsf2.c: Likewise.
5386 * soft-fp/unorddf2.c: Likewise.
5387 * soft-fp/unordsf2.c: Likewise.
5388 * soft-fp/unordtf2.c: Likewise.
5389 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
5390 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5391 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5392 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5393 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5394 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5395 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5396 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5397 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5398 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
5399 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
5400 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5401
0de86a92
JU
54022013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
5403
5404 * config/mips/lib2funcs.c: New file.
5405 * config/mips/t-mips (LIB2ADD_ST): Add it.
5406
0d008882
OE
54072013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
5408
5409 PR target/6526
5410 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
5411 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
5412
776434d1
WL
54132013-06-08 Walter Lee <walt@tilera.com>
5414
5415 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
5416 Replace int64_t with long long. Add __extension__ where
5417 appropriate.
5418 * config/tilepro/atomic.c: Include config.h.
5419
6ab3ebb4
DR
54202013-06-06 Douglas B Rupp <rupp@adacore.com>
5421
5422 * config.host (arm-wrs-vxworks): Configure with other soft float.
5423
107eea2c
JU
54242013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
5425
5426 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
5427 (mips64r5900el-*-elf*): New configurations.
5428
5cc19c62
AM
54292013-06-04 Alan Modra <amodra@gmail.com>
5430
5431 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
5432
0f1d3965
YR
54332013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
5434
5435 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
5436
0ba045df
EB
54372013-05-28 Eric Botcazou <ebotcazou@adacore.com>
5438
5439 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
5440 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
5441 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
5442
49dcafd4
EB
54432013-05-22 Eric Botcazou <ebotcazou@adacore.com>
5444
5445 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
5446 (powerpc-wrs-vxworks): Likewise.
5447
4fcb5d87
EB
54482013-05-22 Eric Botcazou <ebotcazou@adacore.com>
5449
5450 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
5451 signal frames as well.
5452 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
5453 STACK_BIAS to the CFA offset.
5454
0ec33224
RH
54552013-05-17 Richard Henderson <rth@redhat.com>
5456
5457 PR target/49146
5458 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
5459 (execute_cfa_program): Use it when storing to fs->regs.
5460
492a8029
KT
54612013-05-08 Kai Tietz <ktietz@redhat.com>
5462
5463 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
5464 (__deregister_frame_info): Likewise.
5465
701e2f0a
TS
54662013-05-06 Thomas Schwinge <thomas@codesourcery.com>
5467
e5123d08
TS
5468 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
5469 NaN's payload.
5470
701e2f0a
TS
5471 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
5472
b9a7eb5d
AM
54732013-04-25 Alan Modra <amodra@gmail.com>
5474
5475 * config.host: Match little-endian powerpc-linux.
5476
dfe192f5
YZ
54772013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
5478
5479 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
5480 as 'unsigned long long' instead of 'unsigned long'.
5481 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
5482 'signed long'.
5483
b6b9af2f
JB
54842013-04-10 Julian Brown <julian@codesourcery.com>
5485
5486 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
5487 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
5488 unsigned char/unsigned short.
5489 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
5490
ecabdd00
JDA
54912013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
5492
5493 PR other/55274
5494 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
5495
34652576
MI
54962013-04-04 Meador Inge <meadori@codesourcery.com>
5497
5498 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
5499 computing the location of the link register.
5500 (aeabi_uldivmod): Ditto.
5501
e9fd8c19
KT
55022013-03-27 Kai Tietz <ktietz@redhat.com>
5503
5504 * config.host: Add support for cygwin x64 target.
5505 * configure: Regenerated.
5506
a6406324
WL
55072013-03-26 Walter Lee <walt@tilera.com>
5508
5509 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
5510 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
5511
55446c7e
KT
55122013-03-25 Kai Tietz <ktietz@redhat.com>
5513
5514 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
5515
d2ae19d9
RM
55162013-03-20 Robert Mason <rbmj@verizon.net>
5517
5518 * config/vxlib-tls.c (__gthread_get_tsd_data,)
5519 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
5520 (__gthread_leave_tsd_dtor_context): Add prototypes.
5521 (tls_delete_hook): Update.
5522
22c4c869
CM
55232013-03-20 Catherine Moore <clm@codesourcery.com>
5524 Joseph Myers <joseph@codesourcery.com>
5525 Chao-ying Fu <fu@mips.com>
5526
5527 * config/mips/mips16.S: Don't build for microMIPS.
5528 * config/mips/linux-unwind.h: Handle microMIPS frame.
5529 * config/mips/crtn.S (fini, init): New labels.
5530
fbd28bc3
JJ
55312013-03-14 Jakub Jelinek <jakub@redhat.com>
5532
5533 PR tree-optimization/53265
5534 * unwind-dw2.c (execute_cfa_program): Avoid
5535 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
5536 on targets with DWARF_FRAME_REGISTERS < 32.
5537
decc676e
OE
55382013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
5539
5540 PR target/49880
5541 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
5542 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
5543
84ea618a
ST
55442013-03-07 Sriraman Tallam <tmsriram@google.com>
5545
5546 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
5547 sandybridge processors.
5548
8f6d1c86
OE
55492013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
5550
5551 PR target/56529
5552 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
5553 inclusion list.
5554
ecdbd01a 55552013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
409b1de4
EI
5556
5557 * config/microblaze/crti.S: Setup stack protection at entry
5558
0b4ce21b
GJL
55592013-03-04 Georg-Johann Lay <avr@gjlay.de>
5560
5561 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
5562 (__rotldi3): Shift bytewise if applicable.
5563
b7c3f1ca
JG
55642013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
5565
5566 * config/aarch64/sync-cache.c
5567 (__aarch64_sync_cache_range): Silence warnings.
5568
6d65e8f1
CM
55692013-02-25 Catherine Moore <clm@codesourcery.com>
5570
5571 Revert:
5572 2013-02-24 Catherine Moore <clm@codesourcery.com>
5573 Joseph Myers <joseph@codesourcery.com>
5574 Chao-ying Fu <fu@mips.com>
5575
5576 * config/mips/mips16.S: Don't build for microMIPS.
5577 * config/mips/linux-unwind.h: Handle microMIPS frame.
5578 * config/mips/crtn.S (fini, init): New labels.
5579
6941b508
CM
55802013-02-24 Catherine Moore <clm@codesourcery.com>
5581 Joseph Myers <joseph@codesourcery.com>
5582 Chao-ying Fu <fu@mips.com>
5583
5584 * config/mips/mips16.S: Don't build for microMIPS.
5585 * config/mips/linux-unwind.h: Handle microMIPS frame.
5586 * config/mips/crtn.S (fini, init): New labels.
5587
7c422dbb 55882012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
cc86234f 5589 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
7c422dbb
EI
5590 as dividend.
5591
110207ad
AM
55922013-02-16 Alan Modra <amodra@gmail.com>
5593
5594 PR target/55431
5595 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
5596 (ppc_fallback_frame_state): Always set up save locations for fp
5597 and altivec. Don't bother with non-callee-saved regs, r0-r13
5598 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
5599
e68a4ef6
GJL
56002013-02-12 Georg-Johann Lay <avr@gjlay.de>
5601
5602 PR target/54222
5603 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
5604 _ssmulHA, _ssmulSA.
5605 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
5606 _ssmulha3, _usmulusa3, _ssmulsa3.
5607 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
5608 (__muldi3): XCALL __muldi3_6 instead of rcall.
5609 (__umulsidi3, __mulsidi3): New functions.
5610 (do_prologue_saves, do_epilogue_restores): New .macros.
5611 (__divdi3_moddi3): Use them.
5612 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
5613 (__usmulusa3, __ssmulsa3): New functions.
5614
6c59ffd1
IS
56152013-02-11 Iain Sandoe <iain@codesourcery.com>
5616 Jack Howarth <howarth@bromo.med.uc.edu>
5617 Patrick Marlier <patrick.marlier@gmail.com>
5618
5619 PR libitm/55693
5620 * config/darwin-crt-tm.c: Remove dummy functions hack.
5621
85d768f3
GJL
56222013-02-08 Georg-Johann Lay <avr@gjlay.de>
5623
5624 PR target/54222
5625 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
5626 * config/avr/lib2-object.mk: New iterator to build objects from it.
5627 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
5628 lib2funcs.c.
5629 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
5630 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
5631 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
5632 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
5633 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
5634 * config/avr/lib1funcs-fixed.S: Implement them.
5635
5d5bf775
RS
56362013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
5637
5638 Update copyright years.
5639
99113dff
DE
56402013-02-01 David Edelsohn <dje.gcc@gmail.com>
5641
5642 PR target/54601
5643 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
5644 Add crtcxa to extra_parts.
5645 * config/rs6000/exit.h: New file.
5646 * config/rs6000/cxa_atexit.c: New file.
5647 * config/rs6000/cxa_finalize.c: New file.
5648 * config/rs6000/crtcxa.c: New file.
5649 * config/rs6000/t-aix-cxa: New file.
5650 * config/rs6000/libgcc-aix-cxa.ver: New file.
5651
dbdbd982
NC
56522013-01-31 Nick Clifton <nickc@redhat.com>
5653
5654 * config/v850/lib1funcs.S: Add support for e3v5 architecture
5655 variant.
5656
5893f158
GJL
56572013-01-29 Georg-Johann Lay <avr@gjlay.de>
5658
5659 PR target/54222
5660 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
5661 _mulQQ, _mulHQ, _mulHA, _mulSA,
5662 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
5663 _divQQ, _divHQ, _divHA, _divSA,
5664 _divUQQ, _divUHQ, _divUHA, _divUSA.
5665
ecdbd01a 56662013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
fbf0cf90 5667
dbdbd982 5668 * config.host(microblaze*-linux*): tmake_file: Remove
fbf0cf90
DH
5669 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
5670 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
5671 to exclude functions from being built with libgcc.c and use
5672 the microblaze assembly.
5673
ecdbd01a 56742013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
6f14eef2
EI
5675
5676 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
5677 extra_parts.
5678
922c57d1
YZ
56792013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
5680
5681 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
5682 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
5683 __UINTPTR_TYPE__; also cast 'base' to the same type before the
5684 alignment operation.
5685
e0f8b6a0
SN
56862013-01-15 Sofiane Naci <sofiane.naci@arm.com>
5687
5688 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
5689 loop start address for cache clearing.
5690
00892272
GJL
56912013-01-14 Georg-Johann Lay <avr@gjlay.de>
5692
5693 * config/avr/lib1funcs.S: Remove trailing blanks.
5694 * config/avr/lib1funcs-fixed.S: Ditto.
5695
e59ec5fd
GJL
56962013-01-14 Georg-Johann Lay <avr@gjlay.de>
5697
5698 * config/avr/avr-lib.h: Add GPL copyright notice.
5699
3ffc1958
GJL
57002013-01-14 Georg-Johann Lay <avr@gjlay.de>
5701
5702 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
5703 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
5704 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
5705 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
5706
25c210f9
MK
57072013-01-07 Mark Kettenis <kettenis@openbsd.org>
5708
5709 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
5710 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
2bc15360 5711
db59befb
NC
57122013-01-04 Nick Clifton <nickc@redhat.com>
5713
5714 * config/v850/lib1funcs.S: Only provide CALLT support functions if
5715 the CALLT instruction is supported.
5716
5aa12dbf
JW
57172012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
5718
5719 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
5720 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
5721
65f14117
JT
57222012-12-13 John Tytgat <John@bass-software.com>
5723
5724 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
5725 is 25.
5726
ee3ae4f7
JJ
57272012-12-12 Jakub Jelinek <jakub@redhat.com>
5728
5729 PR libgcc/55451
5730 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
5731 undefined signed overflows.
5732
2fcfba3d
UB
57332012-12-09 Uros Bizjak <ubizjak@gmail.com>
5734
5735 PR target/55344
5736 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
5737
4f2b3dc2
UB
57382012-12-06 Uros Bizjak <ubizjak@gmail.com>
5739
5740 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
5741 (FP_TRAPPING_EXCEPTIONS): Define.
5742 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
5743 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
5744
066161a2
RH
57452012-12-04 Richard Henderson <rth@redhat.com>
5746
5747 PR bootstrap/55571
5748 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
5749
7d296953 57502012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
25626181 5751
4f2b3dc2 5752 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
25626181
MS
5753 (FP_EX_SHIFT): Define.
5754 (FP_TRAPPING_EXCEPTIONS): Define.
5755
7d296953 57562012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
868395e8
MS
5757
5758 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
5759 (FP_ROUNDMODE): Use FP_RND_MASK.
5760 * config/aarch64/sfp-exceptions.c: New.
5761 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
5762 Use __sfp_handle_exceptions.
5763
5005fe22
RE
57642012-12-04 Richard Earnshaw <rearnsha@arm.com>
5765
5766 * config.host: (arm*-*-freebsd*): Remove.
5767 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
5768 (arm*-*-elf*): Remove.
5769 (arm*-*-wince-pe*): Remove.
5770 * arm/unwind-arm.c (struct fpa_reg): Delete.
5771 (struct fpa_regs): Delete.
5772 (phase1_vrs): Remove fpa element.
5773 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
5774 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
5775 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
5776 * ieee754-sf.S (floatundisf): Remove FPA support.
5777 (floatdisf): Likewise.
5778 * ieee75f-df.S (floatundidf): Likewise.
5779 (floatdidf): Likewise.
5780
e5a81c8e
KT
57812012-11-29 Kai Tietz <ktietz@redhat.com>
5782
5783 PR target/55445
5784 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
5785 * unwind-generic.h: Likewise.
5786 * unwind-seh.c: Likewise.
5787
f4919e4a
RH
57882012-11-28 Richard Henderson <rth@redhat.com>
5789
5790 PR libgcc/48076
5791 * emutls.c (__emutls_get_address): Avoid race condition between
5792 obj->loc.offset read and emutls_key initialization.
4f2b3dc2 5793
e13d9d5a
GJL
57942012-11-22 Georg-Johann Lay <avr@gjlay.de>
5795
5796 Adjust decimal point of signed accum mode to GCC default.
5797
5798 PR target/54222
5799 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
5800 _divqq_helper.
5801 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
5802 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
5803 (__mulha3, __mulsa3)
5804 (__divqq3, __divha3, __divsa3): Adjust to new position of
4f2b3dc2
UB
5805 decimal point of signed accum types.
5806
e13d9d5a
GJL
5807 (__mulusa3_round): New function.
5808 (__mulusa3): Use it.
5809 (__divqq_helper): New function.
5810 (__udivuqq3): Use it.
5811
1b845c6e
JJ
58122012-11-20 Jakub Jelinek <jakub@redhat.com>
5813
5814 PR bootstrap/55370
5815 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
5816
822a258a
TJ
58172012-11-18 Teresa Johnson <tejohnson@google.com>
5818
5819 PR bootstrap/55051
5820 * libgcov.c (gcov_exit): Remove merged program summary
5821 comparison unless !GCOV_LOCKED.
5822
7d296953 58232012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
54f4eaf0
MS
5824
5825 * soft-fp: Updated from glibc upstream.
5826
e808687a
ILT
58272012-11-06 Ian Lance Taylor <iant@google.com>
5828
5829 * generic-morestack.c (__generic_morestack): Align the returned
5830 stack pointer to a 32 byte boundary.
5831 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
5832 increment the return address until we have decided that we don't
5833 have a varargs function.
5834 (__morestack) [32-bit]: Align stack correctly when calling C
5835 functions.
5836 (__morestack) [64-bit]: Likewise.
5837
460277e0
TS
58382012-11-04 Thomas Schwinge <thomas@codesourcery.com>
5839
5840 * configure: Regenerate.
5841
73edb277
UB
58422012-11-02 Uros Bizjak <ubizjak@gmail.com>
5843
5844 PR target/55175
5845 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
5846 * config/i386/sfp-machine.h: Guard exception handling
5847 code with _SOFT_FLOAT.
5848 * config/i386/32/sfp-machine.h: Guard rounding handling
5849 code with _SOFT_FLOAT.
5850 * config/i386/64/sfp-machine.h: Ditto.
5851
c1d4fa04
JS
58522012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
5853
5854 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
5855 as extra_parts.
5856
eff6ca85
UB
58572012-10-26 Uros Bizjak <ubizjak@gmail.com>
5858
5859 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
5860 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
5861 when appropriate. Correct structure element types.
5862 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
5863 -minline-all-stringops from compile flags.
5864
7d296953 58652012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
43a8f1a1
RC
5866
5867 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
5868
7d296953 58692012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
76c78361 5870
eff6ca85 5871 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
76c78361 5872
6f288860
SH
58732012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
5874
5875 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
5876 tmake_file.
5877
1e3d5096
IB
58782012-10-23 Ian Bolton <ian.bolton@arm.com>
5879 Jim MacArthur <jim.macarthur@arm.com>
5880 Marcus Shawcroft <marcus.shawcroft@arm.com>
5881 Nigel Stephens <nigel.stephens@arm.com>
5882 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
5883 Richard Earnshaw <rearnsha@arm.com>
5884 Sofiane Naci <sofiane.naci@arm.com>
5885 Stephen Thomas <stephen.thomas@arm.com>
5886 Tejas Belagod <tejas.belagod@arm.com>
5887 Yufeng Zhang <yufeng.zhang@arm.com>
5888
5889 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
5890 * config/aarch64/crti.S: New file.
5891 * config/aarch64/crtn.S: New file.
5892 * config/aarch64/linux-unwind.h: New file.
5893 * config/aarch64/sfp-machine.h: New file.
5894 * config/aarch64/sync-cache.c: New file.
5895 * config/aarch64/t-aarch64: New file.
5896 * config/aarch64/t-softfp: New file.
5897
8a740f07
HPN
58982012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
5899
5900 * config/mmix/crti.S: Mark program and data addresses using PRELD.
5901 Remove typo'd and unnecessary alignment-LOC for .data. Remove
5902 no-longer-needed LDBU insns.
5903
7d296953 59042012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
153c8397
SH
5905
5906 * config.host
5907 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
5908 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
5909
595fefee
MGD
59102012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
5911
5912 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
5913
9945a876
MK
59142012-10-15 Matthias Klose <doko@ubuntu.com>
5915
5916 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
5917
1183dc2c
PC
59182012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
5919
5920 * configure: Regenerate.
5921 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
5922
945a9c1f
UB
59232012-10-10 Uros Bizjak <ubizjak@gmail.com>
5924
5925 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
5926 instructions for 64bit targets only.
5927
fb8bf47a
UB
59282012-10-10 Uros Bizjak <ubizjak@gmail.com>
5929
5930 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
5931 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
5932 * config/i386/32/sfp-machine.h: ... here.
5933 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
5934 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
5935 New defines.
5936
acb72498
MK
59372012-10-07 Matthias Klose <doko@ubuntu.com>
5938
5939 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
5940 as unused.
5941 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
5942
8eaee0f0
MK
59432012-10-06 Mark Kettenis <kettenis@openbsd.org>
5944
5945 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
5946 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
5947 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
5948 (ElfW): Likewise.
5949
5e3e4fe8
JW
59502012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
5951
5952 PR other/53889
5953 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
5954 Fix parameter names.
5955
86086376
OE
59562012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
5957
5958 PR target/33135
5959 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
5960 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
5961 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
5962
9597375a
OE
59632012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
5964
5965 PR target/50457
5966 * config/sh/linux-atomic.S: Delete.
5967 * config/sh/linux-atomic.c: New.
5968 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
5969 linux-atomic.c. Add cflags to disable warnings.
5970
1504e3e1
JW
59712012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
5972
5973 PR other/53889
5974 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
5975 function.
5976 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
5977 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
5978 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
5979 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
5e3e4fe8
JW
5980 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
5981 Likewise.
1504e3e1
JW
5982 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
5983 Likewise.
5984 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
5985 Likewise.
5986 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
5987 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
5988
17f293b0
MK
59892012-09-19 Mark Kettenis <kettenis@openbsd.org>
5990
9597375a
OE
5991 * config.host (hppa-*-openbsd*): New target.
5992 * config/pa/t-openbsd: New file.
17f293b0 5993
51526856
GJL
59942012-09-15 Georg-Johann Lay <avr@gjlay.de>
5995
5996 PR target/54222
5997 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
5998 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
5999 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
6000 (__divsa3): Use __negsi2 to negate r_quoL.
6001 * config/avr/lib1funcs.S (FALIAS): New macro.
6002 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
6003 (__negsi2): ...this new function.
6004 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
6005 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
6006 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
6007 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
6008 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
6009 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
6010
aadb5b43
OE
60112012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
6012
6013 PR target/54089
6014 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
6015 (lshrsi3): Reimplement as lshrsi3_r0.
6016
d5d66749
AS
60172012-09-10 Andreas Schwab <schwab@linux-m68k.org>
6018
6019 PR target/46191
6020 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
6021 of libgcc.a.
6022
c6c36e73
TJ
60232012-09-07 Teresa Johnson <tejohnson@google.com>
6024
9597375a 6025 PR gcov-profile/54487
c6c36e73 6026 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
9597375a 6027 differences.
c6c36e73 6028
b588ae30
GJL
60292012-09-05 Georg-Johann Lay <avr@gjlay.de>
6030
6031 PR target/54461
6032 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
6033 not configured --with-avrlibc=no.
6034 * config/avr/t-avrlibc: New file.
6035 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
6036 (DPBIT_FUNCS): Ditto.
6037 (TPBIT_FUNCS): Ditto.
6038
abd16fb1
TJ
60392012-09-04 Teresa Johnson <tejohnson@google.com>
6040
6041 * libgcov.c (struct gcov_summary_buffer): New structure.
6042 (gcov_histogram_insert): New function.
6043 (gcov_compute_histogram): Ditto.
6044 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
6045 histograms during summary merging.
6046
613061fd
MK
60472012-09-01 Mark Kettenis <kettenis@openbsd.org>
6048
6049 * config.host (x86_64-*-openbsd*): New target.
73edb277 6050
867a8345
CLT
60512012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
6052
6053 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
6054 attribute.
6055
4aeaaca3
GJL
60562012-08-24 Georg-Johann Lay <avr@gjlay.de>
6057
6058 PR target/54222
6059 * config/avr/t-avr (conv_X): Rename to func_X.
6060
e55e4056
GJL
60612012-08-24 Georg-Johann Lay <avr@gjlay.de>
6062
6063 PR target/54222
6064 * config/avr/lib1funcs-fixed.S: New file.
6065 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
6066 after they are used.
6067 (neg2, neg4): New macros.
6068 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
6069 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
6070 (__umulhisi3): Speed up MUL variant if there is enough flash.
6071 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
6072 avr-modes.def.
6073 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
6074 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
6075 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
6076 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
6077 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
6078 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
6079 (LIB2FUNCS_EXCLUDE): Add supported functions.
6080
a147b6d2
GJL
60812012-08-22 Georg-Johann Lay <avr@gjlay.de>
6082
6083 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
6084 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
6085 libgcc-s-objects.
6086 * fixed-obj.mk: Only expand dependency if $o is not in
6087 LIB2FUNCS_EXCLUDE.
6088
c637141a
L
60892012-08-22 H.J. Lu <hongjiu.lu@intel.com>
6090
6091 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
6092
130e00bd
JM
60932012-08-22 Joseph Myers <joseph@codesourcery.com>
6094
6095 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
6096 depend on --enable-shared.
6097 ($(lib1asmfuncs-o)): Use %.vis files independent of
6098 --enable-shared.
6099 * static-object.mk ($(base)$(objext), $(base).vis)
6100 ($(base)_s$(objext)): Use same rules for visibility handling as in
6101 shared-object.mk.
6102
4b1b3788
ILT
61032012-08-21 Ian Lance Taylor <iant@google.com>
6104
6105 * config/i386/morestack.S (__morestack_non_split): Increase amount
6106 of space allocated for non-split code stack.
6107
d2468141
JM
61082012-08-19 Joseph Myers <joseph@codesourcery.com>
6109
6110 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
6111 even if inhibit_libc.
6112
a508e1a8
JB
61132012-08-17 Julian Brown <julian@codesourcery.com>
6114
6115 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
6116 -fexceptions -fnon-call-exceptions if not defined.
6117 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
6118 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
6119
5615a07d
AS
61202012-08-17 Andreas Schwab <schwab@linux-m68k.org>
6121
6122 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
6123 type.
6124
138f5acd
DE
61252012-08-16 David Edelsohn <dje.gcc@gmail.com>
6126
6127 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
6128 rs6000/t-slibgcc-aix.
6129
18efc0dd
SB
61302012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
6131
6132 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
6133
6b39bc38
SB
61342012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
6135
6136 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
6137
cd25dea0
L
61382012-08-03 H.J. Lu <hongjiu.lu@intel.com>
6139
6140 PR driver/54171
6141 * Makefile.in (version): Replace top_srcdir with srcdir.
6142
a3dda30b
JY
61432012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
6144
6145 * Makefile.in (version): set to BASE-VER file from gcc directory.
6146
d04aacfc
NC
61472012-08-01 Nick Clifton <nickc@redhat.com>
6148
6149 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
6150 Implements __clrsb for an HImode argument.
6151
0d13c974
NC
61522012-07-31 Nick Clifton <nickc@redhat.com>
6153
6154 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
6155 Implements __clrsb for an HImode argument.
6156 * config/stormy16/clrsbhi2.c: New file:
6157 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
6158
efbb59b2
SB
61592012-07-22 Steven Bosscher <steven@gcc.gnu.org>
6160
6161 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
6162
bf1431e3
TG
61632012-07-19 Tristan Gingold <gingold@adacore.com>
6164 Richard Henderson <rth@redhat.com>
6165
6166 * unwind-seh.c: New file.
6167 * unwind-generic.h: Include windows.h for SEH.
6168 (_Unwind_Exception): Use 6 private fields for SEH.
6169 (_GCC_specific_handler): Declare.
6170 * unwind-c.c (__gcc_personality_seh0): New function.
6171 Adjust for SEH.
6172 * config/i386/libgcc-cygming.ver: New file.
6173 * config/i386/t-seh-eh: New file.
6174 * config.host (x86_64-*-mingw*): Default to seh.
6175
659140c8
SB
61762012-07-14 Steven Bosscher <steven@gcc.gnu.org>
6177
6178 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
6179
a20d08fd
UB
61802012-06-17 Uros Bizjak <ubizjak@gmail.com>
6181
6182 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
6183 __builtin_expect when checking for exceptions.
6184 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
6185
79261115
UB
61862012-06-13 Uros Bizjak <ubizjak@gmail.com>
6187
4a172156
UB
6188 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
6189 function declaration.
6190 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
6191 (FP_RND_MASK): New.
6192 * config/ia64/sfp-exceptions.c: New.
6193 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
79261115 6194
bb5c97d4
UB
61952012-06-13 Uros Bizjak <ubizjak@gmail.com>
6196
6197 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
6198 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
6199 * config/i386/64/sfp-machine: ... (delete here) ...
6200 * config/i386/sfp-machine.h: ... to here.
6201 (FP_EX_MASK): Remove.
6202 (FP_RND_MASK): New.
6203 (FP_INIT_ROUNDMODE): Declare asm as volatile.
6204
91fe5efb
ST
62052012-06-11 Sriraman Tallam <tmsriram@google.com>
6206
6207 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
6208 * config/i386/libgcc-sol2.ver: Ditto.
6209 * config/i386/libgcc-glibc.ver: Ditto.
6210
67a218c5
RM
62112012-06-11 Roland McGrath <mcgrathr@google.com>
6212
6213 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
6214 If __GLIBC__ is defined, refer to __pthread_key_create instead of
6215 pthread_cancel.
6216
492fbea1
UB
62172012-06-09 Uros Bizjak <ubizjak@gmail.com>
6218
6219 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
6220 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
6221 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
6222 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
6223 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
6224 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
6225 * config/i386/64/sfp-machine: ... (delete here) ...
6226 * config/i386/sfp-machine.h: ... to here.
6227 (FP_EX_MASK): New.
6228 (__sfp_handle_exceptions): New function declaration.
6229 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
6230 * config/i386/sfp-exceptions.c: New.
6231 * config/i386/t-softfp: New.
6232 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
6233 i386/t-softfp to tmake_file.
6234
7b4cf266
DM
62352012-06-03 David S. Miller <davem@davemloft.net>
6236
6237 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
6238 change.
6239
0de0d5c6
DM
62402012-05-31 David S. Miller <davem@davemloft.net>
6241
6242 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
6243 multiply and divide instructions on 32-bit when V9.
6244 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
6245
d8c9d391
JM
62462012-05-29 Joseph Myers <joseph@codesourcery.com>
6247
6248 * config/arm/ieee754-df.S: Fix typos.
6249 * config/arm/ieee754-sf.S: Fix typos.
6250 * config/c6x/libunwind.S: Fix typos.
6251 * config/epiphany/udivsi3-float.c: Fix typos.
6252 * config/microblaze/muldi3_hard.S: Fix typos.
6253 * config/picochip/adddi3.S: Fix typos.
6254 * config/picochip/ashlsi3.S: Fix typos.
6255 * config/picochip/ashrsi3.S: Fix typos.
6256 * config/picochip/clzsi2.S: Fix typos.
6257 * config/picochip/cmpsi2.S: Fix typos.
6258 * config/picochip/divmod15.S: Fix typos.
6259 * config/picochip/divmodhi4.S: Fix typos.
6260 * config/picochip/divmodsi4.S: Fix typos.
6261 * config/picochip/longjmp.S: Fix typos.
6262 * config/picochip/lshrsi3.S: Fix typos.
6263 * config/picochip/parityhi2.S: Fix typos.
6264 * config/picochip/popcounthi2.S: Fix typos.
6265 * config/picochip/setjmp.S: Fix typos.
6266 * config/picochip/subdi3.S: Fix typos.
6267 * config/picochip/ucmpsi2.S: Fix typos.
6268 * config/picochip/udivmodhi4.S: Fix typos.
6269 * config/picochip/udivmodsi4.S: Fix typos.
6270 * config/spu/divv2df3.c: Fix typos.
6271 * config/spu/mfc_multi_tag_release.c: Fix typos.
6272 * config/spu/mfc_tag_release.c: Fix typos.
6273 * configure.ac: Fix typos.
6274 * configure: Regenerate.
6275
31a18a7e
ILT
62762012-05-25 Ian Lance Taylor <iant@google.com>
6277
6278 * config/i386/morestack.S (__morestack_non_split): Check whether
6279 caller is varargs and needs %bp to hold the stack frame on return.
6280
c5768510
OH
62812012-05-25 Olivier Hainque <hainque@adacore.com>
6282
6283 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
6284 sequence in the non pic case on VxWorks.
6285
7c7c339b
OH
62862012-05-24 Olivier Hainque <hainque@adacore.com>
6287
73fb7630 6288 * Makefile.in: Move dependency on install-unwind_h from
7c7c339b
OH
6289 "install-leaf" to "install".
6290
fdc1b7d3
OH
62912012-05-24 Olivier Hainque <hainque@adacore.com>
6292
6293 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
6294 Use a separate command for stamp removals.
6295
07ba94b9
AP
62962012-05-21 Andrew Pinski <apinski@cavium.com>
6297
6298 PR bootstrap/53183
6299 * configure.ac: Define the default includes to being none.
6300 * configure: Regenerate.
6301
4677d2eb
OH
63022012-05-16 Olivier Hainque <hainque@adacore.com>
6303
6304 * Makefile.in (install-unwind_h): Rename into ...
6305 (install-unwind_h-forbuild): New target.
6306 (all): Use it instead of the former install-unwind_h.
6307 (install-unwind_h): Reinstate, copy to user install destination
6308 for include files, not to the internal gcc object directory one.
6309 (install-leaf): Depend on it.
6310
7d67c380
OH
63112012-05-15 Olivier Hainque <hainque@adacore.com>
6312
6313 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
6314 register numbers. LR_REGNO replaces R_LR.
6315 (ucontext_for): New, helper for ...
6316 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
6317 and 5.3 of ...
6318 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
6319
aca06c90
RO
63202012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6321
6322 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
6323 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
6324 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
6325 i386/t-cpuinfo ...
6326 (i[34567]86-*-*, x86_64-*-*): ... here.
6327
6328 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
6329 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
6330
6331 * config/i386/i386-cpuinfo.c: Rename to ...
6332 * config/i386/cpuinfo.c: ... this.
6333 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
6334
6335 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
6336 (libgcc_cv_init_priority): New test.
6337 * configure: Regenerate.
6338 * config.in: New file.
6339 * Makefile.in (clean): Rename config.h to auto-target.h.
6340 (config.h): Likewise.
6341 (stamp-h): Likewise.
6342
6343 * config/i386/cpuinfo.c (auto-target.h): Include.
6344 (CONSTRUCTOR_PRIORITY): Define.
6345 (__cpu_indicator_init): Use it.
6346
0d03ac1b
L
63472012-05-09 H.J. Lu <hongjiu.lu@intel.com>
6348
6349 * longlong.h: Use a URL instead of an FSF postal address.
6350 Replace spaces with tab.
6351
4a172156 63522012-05-08 Teresa Johnson <tejohnson@google.com>
4e8ee9cb
TJ
6353
6354 * libgcov.c (gcov_clear, __gcov_reset): New functions.
6355 (__gcov_dump): Ditto.
6356 (gcov_dump_complete): New global variable.
6357 (gcov_exit): Export hidden to enable use in L_gcov_dump.
6358 (__gcov_flush): Outline functionality now in gcov_clear.
6359 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
6360
e4bb767e
AJ
63612012-04-28 Aurelien Jarno <aurelien@aurel32.net>
6362
31a18a7e
ILT
6363 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
6364 (mips*-*-linux*): Include mips/t-tpbit when long double is
6365 16 bytes long.
e4bb767e 6366
5ddecff9
ST
63672012-04-25 Sriraman Tallam <tmsriram@google.com>
6368
6369 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
6370 (get_available_features): New argument. Check for AVX2.
6371 (__cpu_indicator_init): Modify call to get_available_features.
6372
b427dd7a
AM
63732012-04-25 Alan Modra <amodra@gmail.com>
6374
6375 * config/rs6000/crtsavevr.S: New file.
6376 * config/rs6000/crtrestvr.S: New file.
6377 * config/rs6000/t-savresfgpr: Build the above.
6378 * config/rs6000/t-netbsd: Likewise.
6379
ad491329
ST
63802012-04-24 Sriraman Tallam <tmsriram@google.com>
6381
6382 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
6383
792317cc
ST
63842012-04-24 Sriraman Tallam <tmsriram@google.com>
6385
6386 * libgcc/config/i386/i386-cpuinfo.c: New file.
6387 * libgcc/config/i386/t-cpuinfo: New file.
6388 * libgcc/config.host: Include t-cpuinfo.
6389 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
6390
e1be98a4
CF
63912012-04-24 Chao-ying Fu <fu@mips.com>
6392
6393 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
6394
1bde7dab
TS
63952012-04-20 Thomas Schwinge <thomas@codesourcery.com>
6396
6397 struct siginfo vs. siginfo_t
6398
6399 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
6400 siginfo_t instead of struct siginfo.
6401 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
6402 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
6403 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
6404 (ia64_handle_unwabi): Likewise.
6405 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
6406 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
6407 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
6408 (sh_fallback_frame_state): Likewise.
6409 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
6410 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
6411
24590f66
L
64122012-04-02 H.J. Lu <hongjiu.lu@intel.com>
6413
6414 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
6415 system call number.
6416
9a9dcce8
EB
64172012-03-31 Eric Botcazou <ebotcazou@adacore.com>
6418
6419 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
6420 if it hasn't been previously saved.
6421
6401aaf5
L
64222012-03-29 H.J. Lu <hongjiu.lu@intel.com>
6423
6424 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
6425 only for glibc.
6426
7fd6378e
GJL
64272012-03-28 Georg-Johann Lay <avr@gjlay.de>
6428
6429 PR target/52737
6430 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
6431 instead of __AVR_HAVE_8BIT_SP__.
6432
9e916de7
TG
64332012-03-26 Tristan Gingold <gingold@adacore.com>
6434
6435 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
6436 (unw_table_entry): Use unw_word instead of unsigned long.
6437 (_Unwind_FindTableEntry): Likewise.
6438 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
6439 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
6440 (_Unwind_FindTableEntry): Likewise.
6441 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
6442 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
6443 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
6444 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
6445 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
6446 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
6447 (uw_init_context_1, uw_install_context): Likewise.
6448 (unw_word): Move to unwind-ia64.h
6449
4b12e93d
TG
64502012-03-26 Tristan Gingold <gingold@adacore.com>
6451
6452 * config/vms/vms-ucrt0.c: Update copyright years.
6453 Add a sanity check.
6454 (___gcc_main_flags): Declare.
6455 (__main): Check flags to remap argv and exit code.
6456 * config.host (*-*-*vms*): Adjust extra_parts.
6457 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
6458 (crt0.o): Add.
6459
06ea7371
RE
64602012-03-22 Richard Earnshaw <rearnsha@arm.com>
6461
6462 * arm/lib1funcs.asm (ctzsi2): New function.
6463 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
6464 * arm/t-linux (LIB1ASMFUNCS): Likewise.
6465 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
6466 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
6467 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
6468 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
6469
d82ad50d
AT
64702012-03-21 Andreas Tobler <andreast@fgznet.ch>
6471
6472 * config.host: Add bits to support powerpc64-*-freebsd*.
6473 * config/rs6000/freebsd-unwind.h: New file.
6474 * config/rs6000/t-freebsd64: New file.
6475
b260a8c0
RG
64762012-03-20 Richard Guenther <rguenther@suse.de>
6477
6478 PR gcov-profile/52627
6479 * libgcov.c (init_mx): Fix mutex name.
6480
86286a8a
TG
64812012-03-16 Tristan Gingold <gingold@adacore.com>
6482
6483 * config/ia64/vms-unwind.h: Remove ulong (and replace
6484 it by unw_reg where used). Define unw_reg with __int64.
6485
7888f266
RO
64862012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6487
6488 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
6489 Solaris 8 handling.
6490 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
6491 Solaris 8 handling.
6492 (sparc_is_sighandler): Likewise.
6493
f155bc64
L
64942012-03-13 H.J. Lu <hongjiu.lu@intel.com>
6495
6496 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
6497 <= saved reg size.
6498
d47657bd
RO
64992012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6500
6501 * config/arm/crtn.S: Fix typo.
6502
5bef73a1
RG
65032012-03-13 Richard Guenther <rguenther@suse.de>
6504
6505 * libgcov.c: Remove stdio.h include and NULL un-define.
6506
9c4271f3
RG
65072012-03-13 Richard Guenther <rguenther@suse.de>
6508
6509 PR target/52569
6510 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
6511
c6d10e7c
RG
65122012-03-13 Richard Guenther <rguenther@suse.de>
6513
6514 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
6515
074a385f
RG
65162012-03-13 Richard Guenther <rguenther@suse.de>
6517
6518 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
6519 and __gthread_mutex_init_function definitions.
6520
c4bc5c25
RO
65212012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6522
6523 * config.host (mips*-*-openbsd*): Remove.
6524
5c30094f
RO
65252012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6526
6527 * config.host: Remove alpha*-dec-osf5.1* handling.
6528 * config/alpha/gthr-posix.c: Remove.
6529 * config/alpha/libgcc-osf5.ver: Remove.
6530 * config/alpha/osf5-unwind.h: Remove.
6531 * config/alpha/t-osf-pthread: Remove.
6532 * config/alpha/t-slibgcc-osf: Remove.
6533 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
6534 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
6535 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
6536 * mkmap-flat.awk: Remove osf_export handling.
6537
33e3e24d
RG
65382012-03-12 Richard Guenther <rguenther@suse.de>
6539
6540 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
6541 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
6542 (__gthread_mutex_init_function): New function.
6543 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
6544
6545 PR gcov/49484
6546 * libgcov.c: Include gthr.h.
6547 (__gcov_flush_mx): New global variable.
6548 (init_mx, init_mx_once): New functions.
6549 (__gcov_flush): Protect self with a mutex.
6550 (__gcov_fork): Re-initialize mutex after forking.
6551 * unwind-dw2-fde.c: Change condition under which to use
6552 __GTHREAD_MUTEX_INIT_FUNCTION.
6553
d8aba32a
TG
65542012-03-12 Tristan Gingold <gingold@adacore.com>
6555
6556 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
6557 * config/ia64/t-vms: Likewise.
6558
75ffafdc
MH
65592012-03-11 Michael Hope <michael.hope@linaro.org>
6560
4a172156
UB
6561 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
6562 for Thumb-2.
75ffafdc 6563
ef6c2c53
WL
65642012-03-07 Walter Lee <walt@tilera.com>
6565
6566 * config/tilepro/atomic.c: Rename "atomic_" prefix to
6567 "arch_atomic_".
6568 (atomic_xor): Rename and move definition to
6569 config/tilepro/atomic.h.
6570 (atomic_nand): Ditto.
6571 * config/tilepro/atomic.h: Rename "atomic_" prefix to
6572 "arch_atomic_".
6573 (arch_atomic_xor): Move from config/tilepro/atomic.c.
6574 (arch_atomic_nand): Ditto.
6575
4e30d980
GJL
65762012-03-07 Georg-Johann Lay <avr@gjlay.de>
6577
6578 PR target/52507
6579 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
6580
61108225
GJL
65812012-03-07 Georg-Johann Lay <avr@gjlay.de>
6582
6583 PR target/52505
6584 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
6585 from RAM.
6586
b30e10ab
GJL
65872012-03-07 Georg-Johann Lay <avr@gjlay.de>
6588
6589 PR target/52461
6590 PR target/52508
6591 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
6592 if RAMPZ affects reading from RAM.
6593 (__tablejump_elpm__): Ditto.
6594 (.xload): Ditto.
6595 (__movmemx_hi): Ditto.
6596 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
6597 (__do_global_dtors): Ditto.
6598 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
6599 (__movmemx_hi): Ditto.
6600
8993fde4
RH
66012012-03-05 Richard Henderson <rth@redhat.com>
6602
6603 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
6604 [ARM] (count_trailing_zeros): Use the builtin.
6605
b7633ee3
KT
66062012-03-01 Kai Tietz <ktietz@redhat.com>
6607
6608 * soft-fp: Imported from glibc upstream.
6609
fbd3340c
KT
66102012-02-28 Kai Tietz <ktietz@redhat.com>
6611
6612 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
6613 for mingw-targets as attribute gcc_struct.
6614
e9e053eb
ILT
66152012-02-28 Ian Lance Taylor <iant@google.com>
6616
6617 * generic-morestack.c (__splitstack_releasecontext): Correct call
6618 to __morestack_release_segments.
6619
d80c632e
ST
66202012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
6621
6622 PR target/52390
6623 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
6624 for __linux__ when removing signals from __morestack_fullmask.
6625
0253a8b1
GJL
66262012-02-23 Georg-Johann Lay <avr@gjlay.de>
6627
6628 PR target/52261
6629 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
6630
e10e461e
UW
66312012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6632
6633 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
6634 instead of HAVE_INITFINI_ARRAY.
6635 * config/ia64/crtend.S: Likewise.
6636
0c0c6398
KT
66372012-02-20 Kai Tietz <ktietz@redhat.com>
6638
d7470374
KT
6639 PR libstdc++/52300
6640 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
6641
0c0c6398
KT
6642 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
6643 to w32-unwind.h header.
6644
78c27266
RS
66452012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
6646
6647 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
6648 (mips*-*-linux*): Remove t-slibgcc-libgcc.
6649 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
6650 * config/mips/mips16.S (__mips16_rdhwr): Delete.
6651
5adeb246
RS
66522012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
6653
6654 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
6655
672ed313
IS
66562012-02-15 Iain Sandoe <iains@gcc.gnu.org>
6657
6658 PR libitm/52220
6659 * config/darwin-crt-tm.c: Correct typo.
e9e053eb 6660
e948a1fb
IS
66612012-02-15 Iain Sandoe <iains@gcc.gnu.org>
6662 Patrick Marlier <patrick.marlier@gmail.com>
6663
6664 PR libitm/52220
6665 * config/darwin-crt-tm.c: Generate dummy functions.
6666
6017aed3
IS
66672012-02-15 Iain Sandoe <iains@gcc.gnu.org>
6668 Patrick Marlier <patrick.marlier@gmail.com>
6669
6670 PR libitm/52042
6671 * config/darwin-crt-tm.c (getTMCloneTable): New function.
6672 (__doTMRegistrations): Call it.
e9e053eb 6673 (__doTMdeRegistrations): Likewise.
6017aed3 6674
2da8c1ad 66752012-01-15 Georg-Johann Lay <avr@gjlay.de>
7d296953
JJ
6676 Anatoly Sokolov <aesok@post.ru>
6677 Eric Weddington <eric.weddington@atmel.com>
2da8c1ad
GJL
6678
6679 PR target/52261
6680 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
6681 (__epilogue_restores__): Ditto.
6682
0f952eb4
EB
66832012-02-15 Eric Botcazou <ebotcazou@adacore.com>
6684
6685 PR target/51921
6686 PR target/52205
6687 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
6688 Solaris 11 and slightly reformat.
6689 (sparc_is_sighandler): Likewise.
6690
dd552284
WL
66912012-02-14 Walter Lee <walt@tilera.com>
6692
6693 * config.host: Handle tilegx and tilepro.
6694 * config/tilegx/sfp-machine.h: New file.
6695 * config/tilegx/sfp-machine32.h: New file.
6696 * config/tilegx/sfp-machine64.h: New file.
6697 * config/tilegx/t-crtstuff: New file.
6698 * config/tilegx/t-softfp: New file.
6699 * config/tilegx/t-tilegx: New file.
6700 * config/tilepro/atomic.c: New file.
6701 * config/tilepro/atomic.h: New file.
6702 * config/tilepro/linux-unwind.h: New file.
6703 * config/tilepro/sfp-machine.h: New file.
6704 * config/tilepro/softdivide.c: New file.
6705 * config/tilepro/softmpy.S: New file.
6706 * config/tilepro/t-crtstuff: New file.
6707 * config/tilepro/t-tilepro: New file.
6708
b59cbd50
JW
67092012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
6710
6711 PR libstdc++/51296
6712 PR libstdc++/51906
6713 * gthr-posix.h: Allow static initializer macros to be disabled.
6714 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
6715
6caf807f
CLT
67162012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
6717
6718 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
6719 Add t-slibgcc-libgcc to tmake_file.
6720 * config/mips/libgcc-mips16.ver: Revert previous patch.
6721 * config/mips/mips16.S (__mips16_rdhwr): Hide.
6722
7d296953
JJ
67232012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
6724 Jayant R Sonar <jayant.sonar@kpitcummins.com>
b25364a0
S
6725
6726 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
6727 * config/cr16/crti.S: New file.
6728 * config/cr16/crtlibid.S: New file.
6729 * config/cr16/crtn.S: New file.
6730 * config/cr16/lib1funcs.S: New file.
6731 * config/cr16/t-cr16: New file.
6732 * config/cr16/t-crtlibid: New file.
6733 * config/cr16/unwind-dw2.h: New file.
6734 * config/cr16/unwind-cr16.c: New file.
6735 * config/cr16/divmodhi3.c: New file.
6736
8ef03aa7
AM
67372012-01-25 Alan Modra <amodra@gmail.com>
6738
6739 * config/rs6000/t-linux64: Delete. Move..
6740 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
6741 * config/rs6000/t-linux: ..and libgcc flags to here.
6742
daecebc8
DR
67432012-01-22 Douglas B Rupp <rupp@gnat.com>
6744
6745 * config.host (i[34567]86-*-interix3*):
8ef03aa7 6746 Change triplet to i[34567]86-*-interix[3-9]*.
daecebc8
DR
6747 * configure: Regenerate.
6748
ddaf8125
RS
67492012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
6750 Richard Sandiford <rdsandiford@googlemail.com>
6751
6752 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
6753 * config/mips/mips16.S (__mips16_rdhwr): New function.
6754 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
6755
2cd8b32c
NS
67562012-01-11 Nathan Sidwell <nathan@acm.org>
6757
6758 * libgcov.c (__gcov_init): Ignore objects with no functions.
6759
cba300dd
GJL
67602012-01-10 Georg-Johann Lay <avr@gjlay.de>
6761
6762 PR target/49868
6763 Extend __pgmx semantics to linearize memory.
6764 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
6765 * config/avr/lib1funcs.S (__xload_1): New function.
6766 (__movmemx_qi, __movmemx_hi): New functions.
6767 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
6768 semantics.
9ffaf4bc 6769
3d137660
EB
67702012-01-09 Eric Botcazou <ebotcazou@adacore.com>
6771
6772 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
6773 purported sigacthandler address isn't null before dereferencing it.
6774 (sparc_is_sighandler): Likewise.
6775
bf4db96c
EB
67762012-01-09 Eric Botcazou <ebotcazou@adacore.com>
6777
6778 PR ada/41929
6779 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
6780 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
6781 (sparc_is_sighandler): Likewise.
6782 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
6783
1ab3568b
TG
67842012-01-06 Tristan Gingold <gingold@adacore.com>
6785
6786 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
6787 compatibility thunks...
6788 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
6789 (crtbeginS.o, crtendS.o): ... and these to ...
6790 * config/ia64/t-ia64-elf: ... this new file.
6791 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
6792 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
6793
925b0ed8
AK
67942012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6795
6796 * configure: Regenerate.
6797 * config/s390/t-crtstuff: Remove -fPIC.
6798
a99ad737
JW
67992012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
6800
6801 PR bootstrap/51006
6802 * enable-execute-stack-mprotect.c (getpagesize): Do not define
6803 for NetBSD.
6804
884f56d1
GJL
68052012-01-02 Georg-Johann Lay <avr@gjlay.de>
6806
6807 PR target/51345
6808 * config/avr/lib1funcs.S: Remove FIXME comments.
6809 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
6810
8c57e547
GJL
68112012-01-02 Georg-Johann Lay <avr@gjlay.de>
6812
6813 Implement light-weight DImode support.
6814 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
6815 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
6816 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
6817 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
6818
04dbc287
NS
68192011-12-30 Nathan Sidwell <nathan@acm.org>
6820
6821 * libgcov.c (gcov_crc32): Remove global var.
6822 (free_fn_data): New function.
6823 (buffer_fn_data): Pass in filename, more robust error recovery.
6824 (crc32_unsigned): New function.
6825 (gcov_exit): More robust detection of new program. More robust
6826 error recovery.
6827 (__gcov_init): Do not update program's crc here.
6828
8e1d97d4
TG
68292011-12-21 Tristan Gingold <gingold@adacore.com>
6830
6831 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
6832
9ffaf4bc
ILT
68332011-12-21 Ian Lance Taylor <iant@google.com>
6834
6835 * config/i386/morestack.S: Simplify CFI opcodes throughout.
6836
a0c8d0c1
ILT
68372011-12-20 Ian Lance Taylor <iant@google.com>
6838
6839 * config/i386/morestack.S (__morestack_non_split): If there is
6840 enough stack space already, don't split. Ask for more stack space
6841 than we required.
6842
69048898
SDJ
68432011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
6844
6845 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
6846 `sys/sdt.h'.
6847 (_Unwind_DebugHook): New function.
6848 (uw_restore_core_regs): New define.
6849 (unwind_phase2): Use uw_restore_core_regs instead of
6850 restore_core_regs.
6851 (unwind_phase2_forced): Likewise.
6852 (__gnu_Unwind_Resume): Likewise.
6853
1bb4b6a3
UB
68542011-12-20 Uros Bizjak <ubizjak@gmail.com>
6855
6856 * config/alpha/linux-unwind.h: Update copyright years.
6857 (MD_FROB_UPDATE_CONTEXT): New define.
6858 (alpha_frob_update_context): New function.
6859
eb028768
RS
68602011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
6861
6862 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
6863 tmake_file rather replacing it.
6864
6a2045bf
IS
68652011-12-15 Iain Sandoe <iains@gcc.gnu.org>
6866
6867 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
1bb4b6a3 6868 function is not used for PPC64.
6a2045bf
IS
6869 (save_world): Amend comments. Update the VRsave mask to reflect the
6870 saved regs.
6871 (rest_world): Update comments, do not clobber r10, do not use r8.
6872 (eh_rest_world_r10): Amend comments, do not use r8.
6873 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
6874 no longer used, move restore of CR and target address to the end of
6875 the routine.
6876
a13780a6
L
68772011-12-14 H.J. Lu <hongjiu.lu@intel.com>
6878
6879 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
6880 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
6881
d7288dfb
GJL
68822011-12-14 Georg-Johann Lay <avr@gjlay.de>
6883
6884 PR target/49313
6885 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
6886 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
6887
8d2c862d
EB
68882011-12-11 Eric Botcazou <ebotcazou@adacore.com>
6889
6890 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
6891
3447cae6
GJL
68922011-12-09 Georg-Johann Lay <avr@gjlay.de>
6893
6894 PR target/49313
6895 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
6896 * config/avr/lib1funcs.S (__muldi3): New function.
6897
806fc6aa
AP
68982011-12-06 Andrew Pinski <apinski@cavium.com>
6899
6900 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
6901 size of func_ptr.
6902 (__frame_dummy_init_array_entry): Likewise.
6903
28c5e6b5
GJL
69042011-12-06 Georg-Johann Lay <avr@gjlay.de>
6905
6906 Forward-port from gcc-4_6-branch r181936 2011-12-02.
6907
6908 PR target/51345
6909 PR target/51002
6910 * config/avr/lib1funcs.S (__prologue_saves__,
6911 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
6912 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
6913
8f90394a
IS
69142011-12-04 Iain Sandoe <iains@gcc.gnu.org>
6915
6916 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
6917
06dd33ac
JDA
69182011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
6919
6920 PR other/51272
6921 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
6922 (_ITM_deregisterTMCloneTable): Likewise.
6923 (__register_frame_info): Fix unused warning.
6924 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
6925 pthread_default_stacksize_np): Likewise.
6926 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
1bb4b6a3 6927
85b8555e
DD
69282011-11-29 DJ Delorie <dj@redhat.com>
6929
6930 * config.host (rl78-*-elf): New case.
6931 * config/rl78: New directory for the Renesas RL78.
6932
4d5ae4ea
BS
69332011-11-29 Bernd Schmidt <bernds@codesourcery.com>
6934
6935 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
6936 formatting.
6937
f9c55897
RO
69382011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6939
6940 PR other/51022
6941 * config/rs6000/t-savresfgpr: New file.
6942 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
6943 $(srcdir)/config/rs6000/eabi.S.
6944 * config/rs6000/t-ppccomm-ldbl: Remove.
6945 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
6946 tmake_file.
6947 (powerpc-*-eabispe*): Likewise.
6948 (powerpc-*-eabi*): Likewise.
6949 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
6950 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
6951 to tmake_file, remove rs6000/t-ppccomm-ldbl.
6952 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
6953 tmake_file.
6954 (powerpc-*-eabisim*): Likewise.
6955 (powerpc-*-elf*): Likewise.
6956 (powerpc-*-eabialtivec*): Likewise.
6957 (powerpc-xilinx-eabi*): Likewise.
6958 (powerpc-*-rtems*): Likewise.
6959 (powerpcle-*-elf*): Likewise.
6960 (powerpcle-*-eabisim*): Likewise.
6961 (powerpcle-*-eabi*): Likewise.
6962
a01207c4
ILT
69632011-11-27 Ian Lance Taylor <iant@google.com>
6964
6965 * generic-morestack.c (__splitstack_find): Check for NULL old
6966 stack value.
6967 (__splitstack_resetcontext): New function.
6968 (__splitstack_releasecontext): New function.
6969 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
6970
2b0b8ab2
IS
69712011-11-27 Iain Sandoe <iains@gcc.gnu.org>
6972
6973 * config/darwin-crt-tm.c: Correct comments, use correct licence.
6974
c1d8101c
IS
69752011-11-27 Iain Sandoe <iains@gcc.gnu.org>
6976
6977 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
6978
8b281334
RH
69792011-11-26 Richard Henderson <rth@redhat.com>
6980
6981 * config/m68k/linux-atomic.c: New file.
6982 * config/m68k/t-linux: New file.
6983 * config.host (m68k-uclinux, m68k-linux): Use it.
6984
7546aa9d
RH
69852011-11-26 Richard Henderson <rth@redhat.com>
6986
6987 * crtstuff.c (__TMC_LIST__): Mark used not unused.
6988 (__TMC_END__): Only declare if hidden is available; in the definition,
6989 if hidden is unavailable add a null record.
6990 (deregister_tm_clones, register_tm_clones): New.
6991 (__do_global_dtors_aux, frame_dummy): Use them.
6992 (__do_global_dtors, __do_global_ctors_1): Likewise.
6993
e2362f5d
IS
69942011-11-22 Iain Sandoe <iains@gcc.gnu.org>
6995
6996 * config/darwin-crt-tm.c: New file.
6997 * config.host (darwin): Build crttms.o crttme.o to provide
6998 startup and shutdown for tm clones.
6999 * config/t-darwin (crttms.o): New build rule.
7000 (crttme.o): Likewise.
7001
6685dd96
HPN
70022011-11-21 Hans-Peter Nilsson <hp@axis.com>
7003
7004 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
7005 et al.
7006
b0dc7e4c
RH
70072011-11-21 Richard Henderson <rth@redhat.com>
7008
7009 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
7010 (__TMC_LIST__, __TMC_END__): New.
7011 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
7012 (__do_global_dtors): Likewise.
7013 (frame_dummy): Call _ITM_registerTMCloneTable.
7014 (__do_global_ctors_1): Likewise.
7015
d4b4b542
RO
70162011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7017
7018 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
7019 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
7020 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
7021 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
7022 * config/i386/t-darwin64: Remove.
7023 * config/sh/t-netbsd (LIB2ADD): Remove.
7024
989bdb74
GJL
70252011-11-21 Georg-Johann Lay <avr@gjlay.de>
7026
7027 PR target/49313
7028 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
7029 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
7030 * config/avr/lib1funcs.S (wmov): New assembler macro.
7031 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
7032 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
7033 (__udivmod64): New function.
7034 (__negdi2): New function.
7035
515a0cfc
GP
70362011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
7037
7038 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
7039 *-*-freebsd*aout*): Remove.
7040
0115d17f
HPN
70412011-11-20 Hans-Peter Nilsson <hp@axis.com>
7042
7043 * static-object.mk (c_flags-$o): Save c_flags.
7044 ($(base)$(objext)): Use it.
7045
93aeb62b
SE
70462011-11-18 Steve Ellcey <sje@cup.hp.com>
7047
7048 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
7049
7bc6df2c
GJL
70502011-11-18 Georg-Johann Lay <avr@gjlay.de>
7051
7052 PR target/49868
7053 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
7054 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
7055 New functions.
7056
425d737b
MGD
70572011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
7058
7059 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
7060 functions.
1bb4b6a3 7061 (aeabi_uidivmod): Likewise.
425d737b
MGD
7062 (umodsi3): Likewise.
7063 (divsi3): Likewise.
7064 (aeabi_idivmod): Likewise.
7065 (modsi3): Likewise.
7066
f2a176dc
TG
70672011-11-16 Tristan Gingold <gingold@adacore.com>
7068
7069 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
7070
7c209481
GJL
70712011-11-15 Georg-Johann Lay <avr@gjlay.de>
7072
7073 PR target/49868
7074 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
7075 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
7076
9dfd5832
JDA
70772011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
7078
7079 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
7080 tmake_file list.
7081 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
7082 * config/pa/t-stublib64: Delete.
7083
f77dca5d
RH
70842011-11-12 Richard Henderson <rth@redhat.com>
7085
7086 * config/rs6000/linux-unwind.h (frob_update_context): Properly
7087 cast the pointer argument to _Unwind_SetGRPtr.
7088
902828f0
RO
70892011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7090
7091 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
7092
e14304ef
ILT
70932011-11-09 Ian Lance Taylor <iant@google.com>
7094
7095 * generic-morestack.c: Include <string.h>.
7096 (uintptr_type): Define.
7097 (struct initial_sp): Add dont_block_signals field. Reduce size of
7098 extra array by 1.
7099 (allocate_segment): Set prev field to NULL. Don't set
7100 __morestack_current_segment or __morestack_segments.
7101 (__generic_morestack): Update current->prev and *pp after calling
7102 allocate_segment.
7103 (__morestack_block_signals): Don't do anything if
7104 dont_block_signals is set.
7105 (__morestack_unblock_signals): Likewise.
7106 (__generic_findstack): Check for initial_sp == NULL. Add casts to
7107 uintptr_type.
7108 (__splitstack_block_signals): New function.
7109 (enum __splitstack_content_offsets): Define.
7110 (__splitstack_getcontext, __splitstack_setcontext): New functions.
7111 (__splitstack_makecontext): New function.
7112 (__splitstack_block_signals_context): New function.
7113 (__splitstack_find_context): New function.
7114 * config/i386/morestack.S (__morestack_get_guard): New function.
7115 (__morestack_set_guard, __morestack_make_guard): New functions.
7116 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
7117
e3d871e4
RO
71182011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7119
7120 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
7121 (i[34567]86-*-mingw*): ... here.
7122 (x86_64-*-mingw*): ... here.
7123
e55cef40
RO
71242011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7125
7126 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
7127
5366b186
NS
71282011-11-07 Nathan Sidwell <nathan@acm.org>
7129
7130 * libgcov.c (struct gcov_fn_buffer): New struct.
7131 (buffer_fn_data): New helper.
7132 (gcov_exit): Rework for new gcov data structures.
7133
74155a6f
GJL
71342011-11-07 Georg-Johann Lay <avr@gjlay.de>
7135
7136 PR target/49313
7137 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
7138
200feb07
RO
71392011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7140
7141 * config.host (tmake_file): Correct comment.
7142 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
7143 t-libgcc-pic.
7144 (bfin*-uclinux*): Likewise.
7145 (bfin*-linux-uclibc*): Likewise.
7146 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
7147
7148 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
7149 assigning.
7150 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7151 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
7152 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7153 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
7154 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7155 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
7156 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
7157 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7158 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
7159 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
7160 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
7161 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
7162 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
7163
7164 * config/bfin/t-elf: Remove.
7165 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
7166
c9cd1a07
RO
71672011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7168
7169 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
7170 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
7171 (lm32-*-elf*, lm32-*-rtems*): Split into ...
7172 (lm32-*-elf*): ... this.
7173 (lm32-*-rtems*): ... and this.
7174 Add to tmake_file.
7175 (m32r-*-rtems*): Add to tmake_file.
7176 (moxie-*-rtems*): Likewise.
7177 (sparc-*-rtems*): Likewise.
7178 Remove t-rtems from tmake_file.
7179 (sparc64-*-rtems*): Likewise.
7180 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
7181 instead.
7182
9fbcc75d
RO
71832011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7184
7185 PR bootstrap/50982
7186 * config/gthr-posix.h: Move ...
7187 * gthr-posix.h: ... here.
7188 * config/gthr-lynx.h: Reflect this.
7189 * config/gthr-vxworks.h: Likewise.
7190 * config/rs6000/gthr-aix.h: Likewise.
7191 * configure.ac (target_thread_file): Likewise.
7192 * configure: Regenerate.
7193
76644b68
SH
71942011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
7195
7196 * config.host (arm*-*-rtemseabi*): New target.
7197
5e490f2a
JDA
71982011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
7199
7200 PR other/50991
7201 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
7202 extra-parts.
7203
feeeff5c
JR
72042011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
7205
7206 * config.host (epiphany-*-elf*): New configuration.
7207 * config/epiphany: New Directory.
7208
d618bb2c
RC
72092011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
7210
7211 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
7212 * config/avr/t-rtems: New.
7213 Filter out _exit from LIB1ASMFUNCS.
7214
1bb6f778
DM
72152011-11-04 David S. Miller <davem@davemloft.net>
7216
7217 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
7218 * configure: Rebuild.
7219
9a7f7422
AK
72202011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7221
7222 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
7223 variable.
7224
e4fe948a
GJL
72252011-11-04 Georg-Johann Lay <avr@gjlay.de>
7226
7227 PR target/50931
7228 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
7229 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
7230
7084e037
JS
72312011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
7232
7233 PR target/50989
7234 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
7235
1a032034
RO
72362011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7237
7238 * config/c6x/t-elf (LIB2ADDEH): Set.
7239 * config/c6x/t-c6x-elf: Remove.
7240
d385f772
RO
72412011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7242
7243 * config/i386/sol2-ci.S: Rename to ...
7244 * config/i386/crti.S: ... this.
7245 * config/i386/sol2-cn.S: Rename to ...
7246 * config/i386/crtn.S: ... this.
7247 * config/sparc/sol2-ci.S: Rename to ...
7248 * config/sparc/crti.S: ... this.
7249 * config/sparc/sol2-cn.S: Rename to ...
7250 * config/sparc/crtn.S: ... this.
7251 * config/t-sol2 (CUSTOM_CRTIN): Remove.
7252 (crti.o, crtn.o): Remove.
7253
1ba878a9
TG
72542011-11-04 Tristan Gingold <gingold@adacore.com>
7255
7256 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
7257
02750c15
KK
72582011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
7259
7260 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
7261
bf86b067
HPN
72622011-11-03 Hans-Peter Nilsson <hp@axis.com>
7263
7264 * config.host (crisv32-*-none, cris-*-none): Remove.
7265 (crisv32-*-elf): Append to tmake_file, don't just set it.
7266 (cris-*-elf): Add missing t-fdpbit to tmake_file.
7267
d0bc53bd
RO
72682011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7269
7270 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
7271 (ecrtn$(objext)): Likewise.
7272 (ncrti$(objext)): Likewise.
7273 (ncrtn$(objext)): Likewise.
7274
036da830
AS
72752011-11-03 Andreas Schwab <schwab@redhat.com>
7276
7277 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
7278
d2a7d041
DM
72792011-11-02 David S. Miller <davem@davemloft.net>
7280
7281 * configure.ac: Set host_address on sparc too.
7282 * configure: Regenerate.
7283 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
7284 based upon host_address.
7285 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
7286
af8ed618
JM
72872011-11-02 Jason Merrill <jason@redhat.com>
7288
7289 * config/rs6000/t-ppccomm: Add missing \.
7290
5d1c8e77
RO
72912011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7292
7293 * gthr-single.h, gthr.h: New files.
7294 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
7295 config/gthr-vxworks.h, config/i386/gthr-win32.h,
7296 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
7297 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
7298 * config/i386/gthr-win32.c: Include "gthr-win32.h".
7299 * configure.ac (thread_header): New variable.
7300 Set it depending on target_thread_file.
7301 (gthr-default.h): Link from $thread_header.
7302 * configure: Regenerate.
7303 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
7304
852b75ed
RO
73052011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7306
7307 * configure.ac (tm_file_): New variable.
7308 Determine from tm_file.
7309 (tm_file, tm_defines): Substitute.
7310 * configure: Regenerate.
7311 * mkheader.sh: New file.
7312 * Makefile.in (clean): Remove libgcc_tm.h.
7313 ($(objects)): Depend on libgcc_tm.h.
7314 (libgcc_tm_defines, libgcc_tm_file): New variables.
7315 (libgcc_tm.h, libgcc_tm.stamp): New targets.
7316 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
7317 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
7318 ($(extra-parts)): Depend on libgcc_tm.h.
7319 * config.host (tm_defines, tm_file): New variable.
7320 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
7321 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
7322 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
7323 (avr-*-rtems*): Likewise.
7324 (avr-*-*): Likewise.
7325 (frv-*-elf): Likewise.
7326 (frv-*-*linux*): Likewise.
7327 (h8300-*-rtems*): Likewise.
7328 (h8300-*-elf*): Likewise.
7329 (i[34567]86-*-darwin*): Likewise.
7330 (x86_64-*-darwin*): Likewise.
7331 (rx-*-elf): Likewise.
7332 (tic6x-*-uclinux): Likewise.
7333 (tic6x-*-elf): Likewise.
7334 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
7335 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
7336 * config/i386/cygming-crtbegin.c: Likewise.
7337 * config/i386/cygming-crtend.c: Likewise.
7338 * config/ia64/fde-vms.c: Likewise.
7339 * config/ia64/unwind-ia64.c: Likewise.
7340 * config/libbid/bid_gcc_intrinsics.h: Likewise.
7341 * config/rs6000/darwin-fallback.c: Likewise.
7342 * config/stormy16/lib2funcs.c: Likewise.
7343 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
7344 * crtstuff.c: Likewise.
7345 * dfp-bit.h: Likewise.
7346 * emutls.c: Likewise.
7347 * fixed-bit.c: Likewise.
7348 * fp-bit.c: Likewise.
7349 * generic-morestack-thread.c: Likewise.
7350 * generic-morestack.c: Likewise.
7351 * libgcc2.c: Likewise.
7352 * libgcov.c: Likewise.
7353 * unwind-dw2-fde-dip.c: Likewise.
7354 * unwind-dw2-fde.c: Likewise.
7355 * unwind-dw2.c: Likewise.
7356 * unwind-sjlj.c: Likewise.
7357
f9989b51
RO
73582011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7359
7360 * configure.ac: Include ../config/picflag.m4.
7361 (GCC_PICFLAG): Call it.
7362 Substitute.
7363 * configure: Regenerate.
7364 * Makefile.in (gcc_srcdir): Remove.
7365 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
7366 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
7367 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
7368 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
7369 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
7370 Use $<.
7371 Remove comment.
7372 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
7373 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
7374 to refer to libgcc2.c.
7375 Use $<.
7376 * config/darwin-64.c: New file.
7377 * config/darwin-crt3.c: Remove comment.
7378 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
7379 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
7380 config/udivmodsi4.c: New files.
7381 * config/memcmp.c, config/memcpy.c, config/memmove.c,
7382 config/memset.c: New files.
7383 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
7384 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
7385 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
7386 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
7387 * config/t-openbsd-thread: New file.
7388 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
7389 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
7390 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
7391 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
7392 qrnnd.S.
7393 Adapt filename.
7394 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
7395 to refer to gthr-posix.c.
7396 * config/alpha/t-vms (LIB2ADD): Set.
7397 * config/alpha/vms-gcc_shell_handler.c: New file.
7398 * config/arm/bpabi.c, config/arm/fp16.c,
7399 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
7400 config/arm/unaligned-funcs.c: New files.
7401 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
7402 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
7403 * config/arm/t-linux: Likewise.
7404 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
7405 * config/arm/t-netbsd: New file.
7406 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
7407 * config/arm/t-symbian (LIB2ADD_ST): Set.
7408 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
7409 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7410 * config/bfin/t-elf: New file.
7411 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
7412 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
7413 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
7414 config/c6x/ltf.c: New files.
7415 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
7416 (HOST_LIBGCC2_CFLAGS): Set.
7417 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
7418 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7419 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
7420 New files.
7421 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
7422 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
7423 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
7424 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
7425 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
7426 files.
7427 * config/frv/t-frv (LIB2ADD): Set.
7428 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7429 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
7430 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
7431 config/h8300/popcounthi2.c: New files.
7432 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
7433 * config/i386/gthr-win32.c: New file.
7434 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
7435 * config/i386/t-cygwin: Likewise.
7436 * config/i386/t-darwin, config/i386/t-darwin64,
7437 config/i386/t-gthr-win32, config/i386/t-interix: New files.
7438 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
7439 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7440 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7441 * config/ia64/quadlib.c: New file.
7442 * config/ia64/t-hpux (LIB2ADD): Set.
7443 * config/ia64/t-ia64: Add comment.
7444 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
7445 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7446 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
7447 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
7448 * config/m32c/t-m32c (LIB2ADD): Set.
7449 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
7450 * config/m32r/t-m32r: Likewise.
7451 * config/m68k/fpgnulib.c: New file.
7452 * config/m68k/t-floatlib (LIB2ADD): Set.
7453 (xfgnulib.c): New target.
7454 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
7455 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
7456 * config/mep/t-mep (LIB2ADD): Set.
7457 * config/microblaze/divsi3.asm: Rename to divsi3.S.
7458 * config/microblaze/moddi3.asm: Rename to moddi3.S.
7459 * config/microblaze/modsi3.asm: Rename to modsi3.S.
7460 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
7461 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
7462 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
7463 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
7464 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
7465 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
7466 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
7467 New files.
7468 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
7469 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
7470 * config/pa/fptr.c, config/pa/lib2funcs.S,
7471 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
7472 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
7473 (LIB2ADD, LIB2ADD_ST): Set.
7474 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
7475 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
7476 Set.
7477 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
7478 * config/pdp11/t-pdp11: New file.
7479 * config/picochip/libgccExtras/adddi3.S,
7480 config/picochip/libgccExtras/ashlsi3.S,
7481 config/picochip/libgccExtras/ashrsi3.S,
7482 config/picochip/libgccExtras/clzsi2.S,
7483 config/picochip/libgccExtras/cmpsi2.S,
7484 config/picochip/libgccExtras/divmod15.S,
7485 config/picochip/libgccExtras/divmodhi4.S,
7486 config/picochip/libgccExtras/divmodsi4.S,
7487 config/picochip/libgccExtras/lshrsi3.S,
7488 config/picochip/libgccExtras/parityhi2.S,
7489 config/picochip/libgccExtras/popcounthi2.S,
7490 config/picochip/libgccExtras/subdi3.S,
7491 config/picochip/libgccExtras/ucmpsi2.S,
7492 config/picochip/libgccExtras/udivmodhi4.S,
7493 config/picochip/libgccExtras/udivmodsi4.S: New files.
7494 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
7495 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
7496 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
7497 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
7498 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
7499 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
7500 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
7501 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
7502 files.
7503 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
7504 (HOST_LIBGCC2_CFLAGS): Set.
7505 * config/rs6000/t-darwin64: New file.
7506 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
7507 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
7508 * config/rs6000/t-ppccomm (LIB2ADD): Add
7509 $(srcdir)/config/rs6000/tramp.S.
7510 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
7511 Add $(srcdir)/config/rs6000/eabi.S.
7512 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
7513 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
7514 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
7515 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
7516 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
7517 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
7518 * config/rs6000/tramp.S: New file.
7519 * config/s390/t-tpf: Remove.
7520 * config/sh/linux-atomic.S: New file.
7521 * config/sh/t-linux (LIB2ADD): Set.
7522 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
7523 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
7524 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
7525 to unwind-dw2.c.
7526 (HOST_LIBGCC2_CFLAGS): Set.
7527 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7528 * config/spu/divmodti4.c, config/spu/divv2df3.c,
7529 config/spu/float_disf.c, config/spu/float_unsdidf.c,
7530 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
7531 config/spu/mfc_multi_tag_release.c,
7532 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
7533 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
7534 config/spu/multi3.c: New files.
7535 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
7536 (HOST_LIBGCC2_CFLAGS): Set.
7537 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
7538 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
7539 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
7540 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
7541 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
7542 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
7543 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
7544 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
7545 config/stormy16/umodsi3.c: New files.
7546 * config/xtensa/lib2funcs.S: New file.
7547 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
7548 * config/xtensa/t-xtensa (LIB2ADD): Set.
7549 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
7550 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
7551 Add t-freebsd-thread to tmake_file for posix threads.
7552 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
7553 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
7554 (*-*-lynxos*): Likewise.
7555 (*-*-netbsd*): Likewise.
7556 (*-*-openbsd*): Likewise.
7557 Add t-openbsd-thread to tmake_file for posix threads.
7558 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
7559 (*-*-vxworks*): Set tmake_file.
7560 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
7561 (alpha*-*-freebsd*): Likewise.
7562 (alpha*-*-netbsd*): Likewise.
7563 (alpha*-*-openbsd*): Likewise.
7564 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
7565 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
7566 (alpha*-dec-*vms*): Likewise.
7567 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
7568 (bfin*-elf*): Add bfin/t-elf to tmake_file.
7569 (bfin*-uclinux*): Likewise.
7570 (bfin*-linux-uclibc*): Likewise.
7571 (crisv32-*-elf): Add cris/t-cris to tmake_file.
7572 (crisv32-*-none): Likewise.
7573 (cris-*-elf): Likewise.
7574 (cris-*-none): Likewise.
7575 (cris-*-linux*, crisv32-*-linux*): Likewise.
7576 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
7577 tmake_file.
7578 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
7579 tmake_file.
7580 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
7581 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
7582 (x86_64-*-elf*): Likewise.
7583 (i[34567]86-*-nto-qnx*): Likewise.
7584 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
7585 win32 threads.
7586 (x86_64-*-mingw*): Likewise.
7587 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
7588 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
7589 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
7590 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
7591 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
7592 tmake_file.
7593 (mipsisa64sr71k-*-elf*): Likewise.
7594 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
7595 (mips-*-elf*, mipsel-*-elf*): Likewise.
7596 (mips64-*-elf*, mips64el-*-elf*): Likewise.
7597 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
7598 (mips*-*-rtems*): Likewise.
7599 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
7600 to tmake_file.
7601 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
7602 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
7603 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
7604 (spu-*-elf*): Likewise.
7605 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
7606
45b86625
RO
76072011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7608
7609 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
7610 $(srcdir) to refer to $(LIB1ASMSRC).
7611 Use $<.
7612 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
7613 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
7614 config/arm/lib1funcs.S: New files.
7615 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
7616 * config/arm/t-arm: New file.
7617 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
7618 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
7619 config/arm/t-strongarm-elf: New files.
7620 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
7621 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
7622 * config/avr/lib1funcs.S: New file.
7623 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7624 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
7625 * config/c6x/lib1funcs.S: New file.
7626 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7627 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
7628 * config/frv/lib1funcs.S: New file.
7629 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7630 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
7631 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
7632 * config/ia64/__divxf3.asm: Rename to ...
7633 * config/ia64/__divxf3.S: ... this.
7634 Adapt lib1funcs.asm filename.
7635 * config/ia64/_fixtfdi.asm: Rename to ...
7636 * config/ia64/_fixtfdi.S: ... this.
7637 Adapt lib1funcs.asm filename.
7638 * config/ia64/_fixunstfdi.asm: Rename to ...
7639 * config/ia64/_fixunstfdi.S: ... this.
7640 Adapt lib1funcs.asm filename.
7641 * config/ia64/_floatditf.asm: Rename to ...
7642 * config/ia64/_floatditf.S: ... this.
7643 Adapt lib1funcs.asm filename.
7644 * config/ia64/lib1funcs.S: New file.
7645 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
7646 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7647 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
7648 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
7649 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
7650 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
7651 * config/mep/lib1funcs.S: New file.
7652 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7653 * config/mips/mips16.S: New file.
7654 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7655 * config/pa/milli64.S: New file.
7656 * config/pa/t-linux, config/pa/t-linux64: New files.
7657 * config/picochip/lib1funcs.S: New file.
7658 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7659 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
7660 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
7661 * config/sh/t-netbsd: New file.
7662 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
7663 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
7664 * config/sh/t-sh64: New file.
7665 * config/sparc/lb1spc.S: New file.
7666 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
7667 filename.
7668 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
7669 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
7670 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
7671 config/xtensa/lib1funcs.S: New files.
7672 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7673 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
7674 tmake_file.
7675 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
7676 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
7677 (arm*-*-linux*): Likewise.
7678 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
7679 arm*-*-linux-*eabi, add arm/t-linux otherwise.
7680 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
7681 (arm*-*-ecos-elf): Likewise.
7682 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
7683 (arm*-*-rtems*): Likewise.
7684 (arm*-*-elf): Likewise.
7685 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
7686 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
7687 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
7688 (bfin*-uclinux*): Likewise.
7689 (bfin*-linux-uclibc*): Likewise.
7690 (bfin*-rtems*): Likewise.
7691 (bfin*-*): Likewise.
7692 (fido-*-elf): Merge into m68k-*-elf*.
7693 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
7694 (frv-*-*linux*): Add frv/t-frv to tmake_file.
7695 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
7696 (h8300-*-elf*): Likewise.
7697 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
7698 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
7699 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
7700 (i[34567]86-*-mingw*): Likewise.
7701 (x86_64-*-mingw*): Likewise.
7702 (i[34567]86-*-interix3*): Likewise.
7703 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
7704 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
7705 (m68k-*-elf*): Also handle fido-*-elf.
7706 Add m68k/t-floatlib to tmake_file.
7707 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
7708 (m68k-*-linux*): Likewise.
7709 (m68k-*-rtems*): Likewise.
7710 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
7711 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
7712 sh64*-*-*.
7713 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
7714 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
7715 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
7716 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
7717 sh/t-netbsd to tmake_file.
7718 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
7719 (sh-*-rtems*): Add sh/t-sh to tmake_file.
7720 (sh-wrs-vxworks): Likewise.
7721 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
7722 *-leon[3-9]*.
7723 (v850*-*-*): Add v850/t-v850 to tmake_file.
7724 (vax-*-linux*): Add vax/t-linux to tmake_file.
7725 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
7726
5f73c6cc
RO
77272011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7728
7729 * crtstuff.c: New file.
7730 * Makefile.in (CRTSTUFF_CFLAGS): Define.
7731 (CRTSTUFF_T_CFLAGS): Define.
7732 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
7733 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
7734 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
7735 crtstuff.c.
7736 Use $<.
7737 (crtbeginT.o): Use $(objext).
7738 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
7739 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
7740 (gcc-extra-parts): Remove.
7741 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
7742 Set extra_parts.
7743 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
7744 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
7745 Add t-crtstuff-pic to tmake_file.
7746 (*-*-lynxos*): New case.
7747 Set tmake_file, extra_parts.
7748 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
7749 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
7750 *-*-netbsdelf[2-9]*.
7751 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
7752 (*-*-rtems*): Set extra_parts.
7753 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
7754 (*-*-uclinux*): New case.
7755 Set extra_parts.
7756 (*-*-vms*): New case.
7757 Set tmake_file, extra_parts.
7758 (*-*-elf): Set extra_parts.
7759 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
7760 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
7761 vms/t-vms64.
7762 Set extra_parts.
7763 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
7764 Set extra_parts.
7765 (arm*-*-freebsd*): Add t-crtin to tmake_file.
7766 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
7767 (arm-wrs-vxworks): Append to tmake_file.
7768 Set extra_parts.
7769 (arm*-*-uclinux*): Set extra_parts.
7770 (arm*-*-ecos-elf): Likewise.
7771 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
7772 arm*-*-eabi*.
7773 (arm*-*-rtems*): Set extra_parts.
7774 (arm*-*-elf): Likewise.
7775 (avr-*-rtems*): Clear extra_parts.
7776 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
7777 Set extra_parts.
7778 (bfin*-uclinux*): Likewise.
7779 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
7780 (bfin*-rtems*): Append to tmake_file.
7781 Set extra_parts.
7782 (bfin*-*): Likewise.
7783 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
7784 (crisv32-*-elf): ... this.
7785 (crisv32-*-none): ... this.
7786 (cris-*-elf, cris-*-none): New cases.
7787 Add cris/t-elfmulti to tmake_file.
7788 (fr30-*-elf): Append to tmake_file.
7789 Set extra_parts.
7790 (frv-*-elf): Append to tmake_file, add frv/t-frv.
7791 Set extra_parts.
7792 (h8300-*-rtems*): Append to tmake_file.
7793 Set extra_parts.
7794 (h8300-*-elf*): Likewise.
7795 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
7796 Set extra_parts.
7797 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
7798 Set extra_parts.
7799 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
7800 (x86_64-*-elf*): Likewise.
7801 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
7802 (x86_64-*-freebsd*): Likewise.
7803 (x86_64-*-netbsd*): Likewise.
7804 (i[34567]86-*-linux*): Likewise.
7805 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
7806 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
7807 (x86_64-*-linux*): Likewise.
7808 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
7809 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
7810 tmake_file.
7811 Set extra_parts.
7812 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
7813 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
7814 Append to extra_parts, remove crtbegin.o, crtend.o.
7815 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
7816 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
7817 crtend.o, crtbeginS.o, crtendS.o.
7818 (ia64*-*-linux*): Comment extra_parts.
7819 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
7820 Set extra_parts.
7821 (iq2000*-*-elf*): Clear extra_parts.
7822 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
7823 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
7824 (m32r-*-elf*, m32r-*-rtems*): Split off ...
7825 (m32r-*-rtems*): ... this.
7826 Add m32r/t-m32r to tmake_file.
7827 (m68k-*-elf*): Add t-crtin to tmake_file.
7828 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
7829 (mcore-*-elf): Likewise.
7830 (microblaze*-*-*): Set extra_parts.
7831 (mips*-sde-elf*): New case.
7832 Set tmake_file, extra_parts.
7833 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
7834 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
7835 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
7836 tmake_file.
7837 Set extra_parts.
7838 (mipsisa64sr71k-*-elf*): Likewise.
7839 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
7840 (mips-*-elf*, mipsel-*-elf*): Likewise.
7841 (mips64-*-elf*, mips64el-*-elf*): Likewise.
7842 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
7843 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
7844 (mips*-*-rtems*): Likewise.
7845 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
7846 (moxie-*-*): Split into ...
7847 (moxie-*-elf, moxie-*-uclinux*): ... this.
7848 Add to extra_parts, remove crtbegin.o, crtend.o.
7849 (moxie-*-rtems*): New case.
7850 Set tmake_file.
7851 Clear extra_parts.
7852 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
7853 Set extra_parts.
7854 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
7855 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
7856 tmake_file.
7857 Set extra_parts.
7858 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
7859 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
7860 Set extra_parts.
7861 (powerpc-*-eabisim*): Likewise.
7862 (powerpc-*-elf*): Likewise.
7863 (powerpc-*-eabialtivec*): Likewise.
7864 (powerpc-xilinx-eabi*): Likewise.
7865 (powerpc-*-eabi*): Likewise.
7866 (powerpc-*-rtems*): Likewise.
7867 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
7868 tmake_file.
7869 Set extra_parts.
7870 (powerpc-*-lynxos*): Add to tmake_file.
7871 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
7872 rs6000/t-crtstuff, t-crtstuff-pic.
7873 Set extra_parts.
7874 (powerpcle-*-eabisim*): Likewise.
7875 (powerpcle-*-eabi*): Likewise.
7876 (rx-*-elf): Remove extra_parts.
7877 (s390x-ibm-tpf*): Set extra_parts.
7878 (score-*-elf): Set extra_parts.
7879 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
7880 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
7881 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
7882 (sh64l*-*-netbsd*): Split into ...
7883 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
7884 Add t-crtstuff-pic to tmake_file.
7885 Set extra_parts.
7886 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
7887 Set extra_parts.
7888 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
7889 (sparc-*-elf*): Remove t-crtin from tmake_file.
7890 Add to extra_parts, remove crtbegin.o, crtend.o.
7891 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
7892 (sparc64-*-linux*): Likewise.
7893 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
7894 Add to extra_parts, remove crtbegin.o, crtend.o.
7895 (sparc64-*-elf*): Remove t-crtin from tmake_file.
7896 Add to extra_parts, remove crtbegin.o, crtend.o.
7897 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
7898 Add to extra_parts, remove crtbegin.o, crtend.o.
7899 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
7900 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
7901 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
7902 Set extra_parts.
7903 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
7904 Set extra_parts.
7905 (tic6x-*-*): Change to ...
7906 (tic6x-*-elf): ... this.
7907 Set extra_parts.
7908 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
7909 Set extra_parts.
7910 (am33_2.0-*-linux*): Add comment.
7911 (mep*-*-*): Add mep/t-mep to tmake_file.
7912 Set extra_parts.
7913 * config/alpha/t-vms: New file.
7914 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
7915 * config/arm/crti.S, config/arm/crtn.S: New files.
7916 * config/bfin/crti.S, config/bfin/crtn.S: New files.
7917 * config/bfin/crtlibid.S: New file.
7918 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
7919 * config/c6x/crti.S, config/c6x/crtn.S: New files.
7920 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
7921 (crti.o, crtin.o): New rules.
7922 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
7923 * config/c6x/t-uclinux: New file.
7924 * config/cris/t-elfmulti: New file.
7925 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
7926 * config/fr30/crti.S, config/fr30/crtn.S: New files.
7927 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
7928 * config/frv/t-frv: New file.
7929 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
7930 * config/h8300/crti.S, config/h8300/crtn.S: New files.
7931 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
7932 New files.
7933 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
7934 refer to cygming-crtbegin.c, cygming-crtend.c.
7935 Use $<.
7936 * config/i386/t-nto: New file.
7937 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
7938 * config/ia64/crti.S, config/ia64/crtn.S: New files.
7939 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
7940 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
7941 Use .S extension.
7942 Use $<.
7943 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
7944 (crtinitS.o): New rule.
7945 * config/ia64/vms-crtinit.S: New file.
7946 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
7947 * config/m32r/initfini.c: New file.
7948 * config/m32r/t-linux, config/m32r/t-m32r: New files.
7949 * config/m68k/crti.S, config/m68k/crtn.S: New files.
7950 * config/mcore/crti.S, config/mcore/crtn.S: New files.
7951 * config/mep/t-mep: New file.
7952 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
7953 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
7954 * config/mips/crti.S, config/mips/crtn.S: New files.
7955 * config/mips/t-crtstuff: New file.
7956 * config/mmix/crti.S, config/mmix/crtn.S: New files.
7957 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
7958 (CUSTOM_CRTIN): Set.
7959 ($(T)crti.o, $(T)crtn.o): Remove $(T),
7960 dependencies.
7961 Use $(srcdir) to refer to crti.S, crtn.S.
7962 Use .S extension, $<.
7963 * config/moxie/crti.asm: Rename to ...
7964 * config/moxie/crti.S: ... this.
7965 * config/moxie/crtn.asm: Rename to ...
7966 * config/moxie/crtn.S: ... this.
7967 * config/moxie/t-moxie: Remove.
7968 * config/pa/stublib.c: New file.
7969 * config/pa/t-stublib, config/pa/t-stublib64: New files.
7970 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
7971 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
7972 * config/rs6000/t-crtstuff: New file.
7973 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
7974 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
7975 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
7976 Make output file explicit.
7977 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
7978 Make output file explicit.
7979 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
7980 Make output file explicit.
7981 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
7982 Make output file explicit.
7983 * config/score/crti.S, config/score/crtn.S: New files.
7984 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
7985 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
7986 files.
7987 * config/sh/t-sh, config/sh/t-superh: New files.
7988 * config/sparc/t-linux64: New file.
7989 * config/spu/cache.S, config/spu/cachemgr.c: New files.
7990 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
7991 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
7992 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
7993 * config/t-crtin: Remove.
7994 * config/t-crtstuff-pic: New file.
7995 * config/t-sol2 (CUSTOM_CRTIN): Set.
7996 (crti.o, crtn.o): New rules.
7997 * config/vms/t-vms: New file.
7998 * config/vms/vms-ucrt0.c: New file.
7999 * config/xtensa/t-elf: New file.
8000
b040f2be
RO
80012011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8002
8003 * Makefile.in (SHLIB_NM_FLAGS): Set.
8004 * mkmap-flat.awk, mkmap-symver.awk: New files.
8005 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
8006 exceptions.
8007 * configure: Regenerate.
8008 * config/libgcc-glibc.ver: New file.
8009 * config/libgcc-libsystem.ver: New file.
8010 * config/t-libunwind (SHLIB_LC): Set.
8011 * config/t-linux: New file.
8012 * config/t-slibgcc (INSTALL_SHLIB): New.
8013 (SHLIB_INSTALL): Use it.
8014 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
8015 to mkmap-symver.awk.
8016 (SHLIB_MAPFILES): Don't append, adapt pathname.
8017 (SHLIB_VERPFX): Set.
8018 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
8019 to mkmap-symver.awk.
8020 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
8021 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
8022 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
8023 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
8024 to mkmap-flat.awk.
8025 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
8026 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
8027 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
8028 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
8029 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
8030 * config/i386/libgcc-darwin.10.4.ver,
8031 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
8032 New files.
8033 * config/i386/t-darwin: Remove.
8034 * config/i386/t-darwin64: Likewise.
8035 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
8036 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
8037 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
8038 * config/i386/t-linux: New file.
8039 * config/i386/t-mingw32: New file.
8040 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
8041 * config/ia64/t-glibc: Rename to ...
8042 * config/ia64/t-linux: ... this.
8043 (SHLIB_MAPFILES): Set.
8044 * config/ia64/t-glibc-libunwind: Rename to ...
8045 * config/ia64/t-linux-libunwind: ... this.
8046 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
8047 * config/ia64/t-slibgcc-hpux: New file.
8048 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
8049 * config/m68k/t-slibgcc-elf-ver: New file.
8050 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
8051 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
8052 to mkmap-flat.awk.
8053 * config/pa/t-slibgcc-hpux: New file.
8054 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
8055 files.
8056 * config/rs6000/libgcc-darwin.10.4.ver,
8057 config/rs6000/libgcc-darwin.10.5.ver: New files.
8058 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
8059 config/rs6000/libgcc-glibc.ver.
8060 * config/rs6000/libgcc-ppc64.ver: Rename to
8061 config/rs6000/libgcc-ibm-ldouble.ver.
8062 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
8063 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
8064 * config/rs6000/t-ldbl128: Rename to ...
8065 * config/rs6000/t-linux: ... this.
8066 (SHLIB_MAPFILES): Adapt filename.
8067 * config/rs6000/t-slibgcc-aix: New file.
8068 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
8069 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
8070 libgcc-excl.ver, libgcc-glibc.ver.
8071 (SHLIB_LINK, SHLIB_INSTALL): Remove.
8072 * config/sparc/libgcc-glibc.ver: New file.
8073 * config/sparc/t-linux: New file.
8074 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
8075 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
8076 t-slibgcc-elf-ver to tmake_file.
8077 Add t-slibgcc-nolc-override to tmake_file for posix threads on
8078 *-*-freebsd[34].
8079 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
8080 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
8081 t-slibgcc-elf-ver, t-linux to tmake_file.
8082 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
8083 tmake_file.
8084 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
8085 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
8086 (alpha*-dec-*vms*): Likewise.
8087 (arm*-*-freebsd*): Append to tmake_file.
8088 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
8089 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
8090 arm*-*-linux-*eabi.
8091 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
8092 tmake_file for arm*-*-symbianelf*.
8093 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
8094 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
8095 cris/t-linux.
8096 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
8097 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
8098 pa/t-slibgcc-dwarf-ver to tmake_file.
8099 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
8100 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
8101 (hppa*64*-*-hpux11*): Likewise.
8102 (hppa[12]*-*-hpux11*): Likewise.
8103 (x86_64-*-darwin*): Don't override tmake_file, but only keep
8104 i386/t-crtpc, i386/t-crtfm.
8105 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
8106 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
8107 to tmake_file.
8108 Add i386/t-cygwin to tmake_file.
8109 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
8110 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
8111 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
8112 to tmake_file.
8113 Add i386/t-mingw32 to tmake_file.
8114 (x86_64-*-mingw*): Likewise.
8115 (ia64*-*-freebsd*): Append to tmake_file.
8116 (ia64*-*-linux*): Append to tmake_file.
8117 Replace ia64/t-glibc by ia64/t-linux.
8118 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
8119 system libunwind.
8120 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
8121 t-slibgcc-hpux to tmake_file.
8122 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
8123 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
8124 (m32rle-*-linux*): Likewise.
8125 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
8126 sjlj exceptions.
8127 (microblaze*-linux*): New case.
8128 Append to tmake_file, add t-slibgcc-nolc-override.
8129 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
8130 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
8131 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
8132 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
8133 rs6000/t-slibgcc-aix to tmake_file.
8134 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8135 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8136 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
8137 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
8138 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
8139 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
8140 sh*-*-linux*.
8141 (sparc-*-linux*): Append to tmake_file for *-leon*.
8142 Add sparc/t-linux to tmake_file for non-Leon targets.
8143 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
8144 (tic6x-*-uclinux): New case.
8145 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
8146 (tic6x-*-*): Add c6x/t-elf to tmake_file.
8147 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
8148 (am33_2.0-*-linux*): Append to tmake_file.
8149 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
8150 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
8151 x86_64-*-kfreebsd*-gnu.
8152 Add i386/t-linux to tmake_file.
8153
18b4bd7b
ILT
81542011-10-28 Ian Lance Taylor <iant@google.com>
8155
8156 * config/i386/morestack.S: Correct CFI information to do proper
8157 returns throughout function. In 32-bit mode, save %ebx so that it
8158 is restored on unwind.
8159
5b2d9d90
BS
81602011-10-25 Bernd Schmidt <bernds@codesourcery.com>
8161
8162 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
8163 case where B3 isn't the return register.
8164
0d53e346
BS
8165 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
8166 logic for doubleword pops.
8167
cbffbd59
AT
81682011-10-25 Andreas Tobler <andreast@fgznet.ch>
8169
8170 * config/rs6000/t-freebsd: Add wildcard.
8171
56dc349e
PB
81722011-10-21 Paul Brook <paul@codesourcery.com>
8173
8174 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
8175
1e06b07d
UB
81762011-10-16 Uros Bizjak <ubizjak@gmail.com>
8177 Eric Botcazou <ebotcazou@adacore.com>
8178
8179 PR target/50737
8180 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
8181 fs->signal_frame to 1.
8182
b5204884
ILT
81832011-10-07 Ian Lance Taylor <iant@google.com>
8184
8185 * generic-morestack-thread.c: #include <errno.h>.
8186
91a639a1
ILT
81872011-10-07 Ian Lance Taylor <iant@google.com>
8188
8189 PR target/46093
8190 * generic-morestack.c (__generic_morestack): Make sure the segment
8191 is large enough for both the stack frame and the copied
8192 parameters.
8193
cc49116d
RO
81942011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8195
8196 PR bootstrap/49804
8197 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
8198 extra_parts.
8199
2996d8c3
NC
82002011-09-28 Nick Clifton <nickc@redhat.com>
8201
8202 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
8203 64-bit doubles are not enabled.
8204 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
8205 and floatunsisf functions.
8206
1e874273 82072011-09-13 Paul Brook <paul@codesourcery.com>
2996d8c3 8208
1e874273
PB
8209 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
8210 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
8211 * unwind-arm-common.inc: New file.
8212 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
8213 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
8214 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
8215 * config/c6x/libunwind.S: New file.
8216 * config/c6x/pr-support.c: New file.
8217 * config/c6x/unwind-c6x.c: New file.
8218 * config/c6x/unwind-c6x.h: New file.
8219 * config/c6x/t-c6x-elf: New file.
8220
f70c879a
UB
82212011-08-23 Uros Bizjak <ubizjak@gmail.com>
8222
8223 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
8224 (ASM_DIVZERO): Ditto.
8225 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
8226
c55b374b
RS
82272011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
8228
8229 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
8230
1e138510
RS
82312011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
8232
8233 PR target/50090
8234 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
8235 instead of an assembly one.
8236
1563503d
PB
82372011-08-12 Paolo Bonzini <bonzini@gnu.org>
8238
8239 PR bootstrap/50047
8240 * Makefile.in (install-unwind_h): Create
8241 $(gcc_objdir)/include/unwind.h atomically.
8242
3627ac1a
RO
82432011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8244
8245 * Makefile.in (install-unwind_h): Remove destination file first.
8246
c6412d86
RO
82472011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8248
8249 * sync.c: New file.
8250 * config/mips/t-mips16: New file.
8251 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
8252 (mips*-*-linux*): Likewise.
8253 (mips*-sde-elf*): Likewise.
8254 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
8255 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
8256 Add mips/t-mips16 to tmake_file.
8257 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
8258 (mips-*-elf*): Likewise.
8259 (mips64-*-elf*): Likewise.
8260 (mips64orion-*-elf*): Likewise.
8261 (mips*-*-rtems*): Likewise.
8262 (mipstx39-*-elf*): Likewise.
8263 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
8264 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
8265 LIBGCC_SYNC_CFLAGS.
8266 Use $(srcdir) to refer to sync.c.
8267 Use $<.
8268 ($(libgcc-sync-funcs-o)): Likewise.
8269 ($(libgcc-sync-size-funcs-s-o)): Likewise.
8270 ($(libgcc-sync-funcs-s-o)): Likewise.
8271
3cb6e5bd
AS
82722011-08-09 Andreas Schwab <schwab@linux-m68k.org>
8273
8274 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
8275 t-libunwind.
8276
cca2207a
L
82772011-08-08 H.J. Lu <hongjiu.lu@intel.com>
8278
8279 PR other/48007
8280 * config/i386/value-unwind.h: New.
8281
ed39fbad
RS
82822011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
8283
8284 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
8285 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
8286 Add to tmake_file rather than overriding it.
8287
aca0b0b3
RO
82882011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8289
8290 * config/t-softfp: Remove.
8291 * soft-fp: Moved from ../gcc/config.
8292 * soft-fp/README: Remove t-softfp reference.
8293 * soft-fp/t-softfp: Move to config/t-softfp.
8294 (softfp_machine_header): Remove.
8295 (softfp_file_list): Remove config subdir.
8296 (soft-fp-objects): New variable.
8297 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
8298 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
8299 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
8300 * config/t-softfp-excl: New file.
8301 * config/t-softfp-sfdf: New file.
8302 * config/t-softfp-tf: New file.
8303 * config/no-sfp-machine.h: New file.
8304 * config/arm/sfp-machine.h: New file.
8305 * config/arm/t-softfp: New file.
8306 * config/c6x/sfp-machine.h: New file.
8307 * config/i386/32/t-fprules-softfp: Rename to ...
8308 * config/i386/32/t-softfp: ... this.
8309 (tifunctions, LIB2ADD): Remove.
8310 (softfp_int_modes): Override.
8311 * config/i386/64/t-softfp-compat (tf-functions): Remove config
8312 subdir.
8313 * config/i386/64/eqtf2.c: Likewise.
8314 * config/i386/64/getf2.c: Likewise.
8315 * config/i386/64/letf2.c: Likewise.
8316 * config/ia64/sft-machine.h: New file.
8317 * config/ia64/t-fprules-softfp: Rename to ...
8318 * config/ia64/t-softfp: ... this.
8319 * config/lm32/sfp-machine.h: New file.
8320 * config/moxie/t-moxie-softfp: Remove.
8321 * config/rs6000/ibm-ldouble-format: New file.
8322 * config/rs6000/ibm-ldouble.c: New file.
8323 * config/rs6000/libgcc-ppc-glibc.ver: New file
8324 * config/rs6000/libgcc-ppc64.ver: New file
8325 * config/rs6000/sfp-machine.h: New file.
8326 * config/rs6000/t-freebsd: New file.
8327 * config/rs6000/t-ibm-ldouble: New file.
8328 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
8329 libgcc-ppc-glibc.ver.
8330 * config/rs6000/t-linux64: New file.
8331 * config/rs6000/t-ppccomm (LIB2ADD): Add
8332 $(srcdir)/config/rs6000/ibm-ldouble.c.
8333 * config/rs6000/t-ppccomm-ldbl: New file.
8334 * config/score/sfp-machine.h: New file.
8335 * config.host (sfp_machine_header): Explain.
8336 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
8337 t-softfp to tmake_file.
8338 (arm*-*-uclinux*): Likewise.
8339 (arm*-*-ecos-elf): Likewise.
8340 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
8341 (arm*-*-rtems*): Likewise.
8342 (arm*-*-elf): Likewise.
8343 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
8344 in tmake_file.
8345 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
8346 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
8347 (lm32-*-uclinux*): Likewise.
8348 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
8349 t-softfp-excl, t-softfp.
8350 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
8351 (powerpc64-*-darwin*): Likewise.
8352 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
8353 to tmake_file.
8354 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
8355 tmake_file.
8356 (powerpc-*-eabisim*): Likewise.
8357 (powerpc-*-elf*): Likewise.
8358 (powerpc-*-eabialtivec*): Likewise.
8359 (powerpc-xilinx-eabi*): Likewise.
8360 (powerpc-*-rtems*): Likewise.
8361 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
8362 t-softfp-excl, t-softfp to tmake_file.
8363 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
8364 rs6000/t-ppccomm-ldbl to tmake_file.
8365 (powerpcle-*-elf*): Likewise.
8366 (powerpcle-*-eabisim*): Likewise.
8367 (powerpcle-*-eabi*): Likewise.
8368 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
8369 rs6000/t-ibm-ldouble to tmake_file.
8370 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8371 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8372 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
8373 (tic6x-*-*): Likewise.
8374 (i[34567]86-*-darwin*, x86_64-*-darwin*,
8375 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
8376 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
8377 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
8378 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
8379 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
8380 t-softfp to tmake_file.
8381 * configure.ac (sfp_machine_header): Provide default if unset.
8382 Substitute.
8383 Link sfp-machine.h to config/$sfp_machine_header.
8384 * configure: Regenerate.
8385
569dc494
RO
83862011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8387
8388 * Makefile.in (double_type_size, long_double_type_size): Set.
8389 Remove $(fpbit-in-libgcc) support.
8390 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
8391 (fpbit-src): New variable.
8392 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
8393 Compile with -DFLOAT $(FPBIT_CFLAGS).
8394 Use $<.
8395 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
8396 Compile with $(FPBIT_CFLAGS).
8397 Use $<.
8398 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
8399 Compile with -DFLOAT $(TPBIT_CFLAGS).
8400 Use $<.
8401 * configure.ac (double_type_size, long_double_type_size):
8402 Determine and substitute.
8403 * configure: Regenerate.
8404 * fp-bit.c, fp-bit.h: New files.
8405 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
8406 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
8407 * config/mips/t-mips: New file.
8408 * config/mips/t-sdemtk: New file.
8409 * config/rs6000/ppc64-fp.c: New file.
8410 * config/rs6000/t-darwin (LIB2ADD): Add
8411 $(srcdir)/config/rs6000/ppc64-fp.c.
8412 * config/rs6000/t-ppc64-fp: New file.
8413 * config/rx/rx-lib.h: New file.
8414 * config/rx/t-rx (FPBIT): Set to true.
8415 ($(gcc_objdir)/fp-bit.c): Remove.
8416 (DPBIT): Set to true only with -m64bit-doubles.
8417 ($(gcc_objdir)/dp-bit.c): Remove.
8418 * config/sparc/t-softfp: Remove.
8419 * config/spu/t-elf: New file.
8420 * config/t-fdpbit, config/t-fpbit: New files.
8421 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
8422 (mips*-*-*): Likewise.
8423 (arm-wrs-vxworks): Likewise.
8424 (arm*-*-freebsd*): Likewise.
8425 (avr-*-rtems*): Add t-fpbit to tmake_file.
8426 (avr-*-*): Likewise.
8427 (bfin*-elf*): Add t-fdpbit to tmake_file.
8428 (bfin*-uclinux*): Likewise.
8429 (bfin*-linux-uclibc*): Likewise.
8430 (bfin*-rtems*): New case.
8431 Add t-fdpbit to tmake_file.
8432 (bfin*-*): Add t-fdpbit to tmake_file.
8433 (crisv32-*-elf): Likewise.
8434 (cris-*-linux*): Likewise.
8435 (fr30-*-elf): Likewise.
8436 (frv-*-elf, frv-*-*linux*): Likewise.
8437 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
8438 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
8439 (m32r-*-elf*): Likewise.
8440 (m32rle-*-elf*): Likewise.
8441 (m32r-*-linux*): Likewise.
8442 (m32rle-*-linux*): Likewise.
8443 (mcore-*-elf): Add t-fdpbit to tmake_file.
8444 (microblaze*-*-*): Likewise.
8445 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
8446 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
8447 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
8448 Fix typo.
8449 Add mips/t-tpbit to tmake-file.
8450 (mips*-*-linux*): Fix typo.
8451 (mips*-sde-elf*): New case
8452 Add mips/t-sdemtk unless using newlib.
8453 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
8454 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
8455 (mn10300-*-*): Likewise.
8456 (pdp11-*-*): Likewise.
8457 (picochip-*-*): Add t-fpbit to tmake_file.
8458 (powerpc-*-eabisimaltivec*): Likewise.
8459 (powerpc-*-eabisim*): Likewise.
8460 (powerpc-*-elf*): Likewise.
8461 (powerpc-*-eabialtivec*): Likewise.
8462 (powerpc-xilinx-eabi*): New case.
8463 Add t-fdpbit to tmake_file.
8464 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
8465 (powerpc-*-rtems*): Likewise.
8466 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
8467 tmake_file.
8468 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
8469 tmake_file.
8470 (powerpc-*-lynxos*): Likewise.
8471 (powerpcle-*-elf*): Likewise.
8472 (powerpcle-*-eabisim*): Likewise.
8473 (powerpcle-*-eabi*): Likewise.
8474 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
8475 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
8476 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8477 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8478 (rx-*-elf): Add t-fdpbit to tmake_file.
8479 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
8480 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
8481 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
8482 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
8483 sh*-*-netbsd*.
8484 (sh-*-rtems*): Add t-fdpbit to tmake_file.
8485 (sh-wrs-vxworks): Likewise.
8486 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
8487 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
8488 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
8489 (sparc64-*-rtems*): ... new case.
8490 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
8491 (spu-*-elf*): Likewise.
8492 Add spu/t-elf to tmake_file.
8493 (v850*-*-*): Add t-fdpbit to tmake_file.
8494 (xstormy16-*-elf): Likewise.
8495 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
8496 (mep*-*-*): Likewise.
8497
201cdb74
RO
84982011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8499
8500 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
8501 variables.
8502 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
8503 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
8504 (install-unwind_h): New target.
8505 (all): Depend on it.
8506 * config.host (unwind_header): New variable.
8507 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
8508 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
8509 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
8510 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
8511 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
8512 Set unwind_header.
8513 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
8514 Set unwind_header.
8515 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
8516 arm*-*-eabi*.
8517 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
8518 Set unwind_header.
8519 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
8520 (ia64*-*-freebsd*): Likewise.
8521 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
8522 tmake_file.
8523 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
8524 $with_system_libunwind.
8525 (ia64*-*-hpux*): Set tmake_file.
8526 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
8527 (picochip-*-*): Set tmake_file.
8528 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
8529 md_unwind_header.
8530 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8531 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8532 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
8533 (xtensa*-*-elf*): Set tmake_file.
8534 (xtensa*-*-linux*): Likewise.
8535 * configure.ac: Include ../config/unwind_ipinfo.m4.
8536 Call GCC_CHECK_UNWIND_GETIPINFO.
8537 Link unwind.h to $unwind_header.
8538 * configure: Regenerate.
8539 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
8540 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
8541 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
8542 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
8543 * config/unwind-dw2-fde-darwin.c: New file.
8544 * config/arm/libunwind.S, config/arm/pr-support.c,
8545 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
8546 config/arm/unwind-arm.h,: New files.
8547 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
8548 config/ia64/t-eh-ia64, config/ia64/t-glibc,
8549 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
8550 config/ia64/t-vms, config/ia64/unwind-ia64.c,
8551 config/ia64/unwind-ia64.h: New files.
8552 * config/picochip/t-picochip: New file.
8553 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
8554 files.
8555 * config/rs6000/t-darwin (LIB2ADDEH): Set.
8556 * config/s390/t-tpf (LIB2ADDEH): Remove.
8557 * config/t-darwin (LIB2ADDEH): Set.
8558 * config/t-eh-dw2-dip: New file.
8559 * config/t-libunwind, config/t-libunwind-elf: New files.
8560 * config/t-sol2 (LIB2ADDEH): Remove.
8561 * config/xtensa/t-xtensa: New file.
8562
40f2f11f
L
85632011-08-02 H.J. Lu <hongjiu.lu@intel.com>
8564
8565 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
8566 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
8567 long long to check rt_sigreturn syscall.
8568
bd15e32c
AM
85692011-08-02 Alan Modra <amodra@gmail.com>
8570
8571 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
8572 Restore for indirect call bcrtl from correct stack slot, and only
8573 if cfa+40 isn't valid.
8574
655b30bf
JB
85752011-08-01 Julian Brown <julian@codesourcery.com>
8576
8577 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
8578 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
8579 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
8580
247eb06f
JB
85812011-08-01 Julian Brown <julian@codesourcery.com>
8582
8583 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
8584 (libgcc-std.ver.in): Use above.
8585 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
8586 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
8587 throughout file.
8588 * config/t-fixedpoint-gnu-prefix: New file.
8589 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
8590 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
8591 instead of __PFX__.
8592
02a8fe00
L
85932011-07-28 H.J. Lu <hongjiu.lu@intel.com>
8594
8595 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
8596 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
8597 for x86-64. Properly check __x86_64__ and __LP64__.
8598
5fce9126
L
85992010-07-28 H.J. Lu <hongjiu.lu@intel.com>
8600
8601 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
8602 version.
8603 (_FP_WS_TYPE): Likewise.
8604 (_FP_I_TYPE): Likewise.
8605
2374a88a
AM
86062011-07-28 Alan Modra <amodra@gmail.com>
8607
8608 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
8609 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
8610 in a plt call stub. Do restore r2 if stopped on bctrl.
8611
e44dbbe1
RO
86122011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8613
8614 * config.host (i[3456x]86-*-netware*): Remove.
8615 * config/i386/netware-crt0.c, config/i386/t-nwld,
8616 config/i386/t-slibgcc-nwld: Remove.
8617
bcead286
BS
86182011-07-15 Bernd Schmidt <bernds@codesourcery.com>
8619
8620 * config.host: Handle tic6x-*-*.
8621 * config/c6x/c6x-abi.h: New file.
8622
b3fe1584
RO
86232011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8624
8625 * config/i386/crtprec.c: New file.
8626 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
8627 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
8628 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
8629 (x86_64-*-darwin*): Likewise.
8630 (i[34567]86-*-solaris2*: Likewise.
8631
35d8090d
RO
86322011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8633
8634 * config/alpha/crtfastmath.c: New file.
8635 * config/i386/crtfastmath.c: New file.
8636 * config/ia64/crtfastmath.c: New file.
8637 * config/mips/crtfastmath.c: New file.
8638 * config/sparc/crtfastmath.c: New file.
8639
8640 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
8641 crtfastmath.c.
8642 Add -frandom-seed=gcc-crtfastmath.
8643 * config/alpha/t-crtfm: Remove.
8644 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
8645 * config/ia64/t-ia64 (crtfastmath.o): Remove.
8646
8647 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
8648 (alpha*-dec-osf5.1*): Likewise.
8649 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
8650 Add crtfastmath.o to extra_parts.
8651 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
8652 Add crtfastmath.o to extra_parts.
8653 (x86_64-*-darwin*): Likewise.
8654 (x86_64-*-mingw*): Likewise.
8655 (ia64*-*-elf*): Add t-crtfm to tmake_file.
8656 (ia64*-*-freebsd*): Likewise.
8657 (ia64*-*-linux*): Likewise.
8658 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
8659 Add crtfastmath.o to extra_parts.
8660
e141542e
RO
86612011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8662
8663 * config/darwin-crt3.o: New file.
8664 * config/rs6000/darwin-crt2.c: New file.
8665 * config/t-darwin: New file.
8666 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
8667 (crt2.o): New rule.
8668 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
8669 (powerpc-*-darwin*): Add crt2.o to extra_parts.
8670 (powerpc64-*-darwin*): Likewise.
8671
2d1efe2d
RO
86722011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8673
8674 * config/i386/netware-crt0.c: New file.
8675 * config/i386/t-nwld: Rename to ...
8676 * config/i386/t-slibgcc-nwld: ... this.
8677 * config/i386/t-nwld: New file.
8678 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
8679 tmake_file.
8680 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
8681 extra_parts.
8682
4a8bb046
RO
86832011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8684
8685 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
8686 i386/t-crtstuff.
8687 * configure: Regenerate.
8688
2d8d5935
RO
86892011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8690
8691 * dfp-bit.c, dfp-bit.h: New files.
8692 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
8693 variables.
8694 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
8695 ($(d64pbit-o)): Likewise.
8696 ($(d128pbit-o)): Likewise.
8697 * config/t-dfprules: New file.
8698 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
8699 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
8700 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
8701 (x86_64-*-linux*): Likewise.
8702 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
8703 (i[34567]86-*-cygwin*): Likewise.
8704 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
8705 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
8706
2c50b2c3
RO
87072011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8708
8709 * Makfile.in (LIBGCOV): New variable.
8710 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
8711 * libgcov.c: New file.
8712
a039d7c2
RO
87132011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8714
8715 * fixed-bit.c, fixed-bit.h: New files.
8716 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
8717 refer to fixed-bit.c.
8718
1e4b2746
JM
87192011-07-07 Joseph Myers <joseph@codesourcery.com>
8720
8721 * config.host (*local*): Remove.
8722
fbdd5d87
RO
87232011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8724
8725 PR target/39150
8726 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
8727 like i?86-*-solaris2.1[0-9]*.
8728 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
8729 * configure.ac (i?86-*-solaris2*): Likewise.
8730 * configure: Regenerate.
8731
9e7714f4
TS
87322011-07-06 Thomas Schwinge <thomas@schwinge.name>
8733
8734 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
8735 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
8736 md_unwind_header by splitting out of...
8737 (i[34567]86-*-linux*): ... this.
8738 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
8739 Remove md_unwind_header by splitting out of...
8740 (x86_64-*-linux*): ... this.
8741
6dab9931
GJL
87422011-07-04 Georg-Johann Lay <avr@gjlay.de>
8743
8744 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
8745
4be46d19
NC
87462011-06-28 Nick Clifton <nickc@redhat.com>
8747
8748 * config.host: Recognize all V850 variants.
8749
1da9434b
UB
87502011-06-22 Uros Bizjak <ubizjak@gmail.com>
8751
8752 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
8753
e4d48a4d
RO
87542011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8755
8756 * shared-object.mk (c_flags-$o): Save c_flags.
8757 ($(base)$(objext)): Use it.
8758 ($(base)_s$(objext)): Likewise.
8759
3801c801
BS
87602011-06-21 Bernd Schmidt <bernds@codesourcery.com>
8761
8762 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
8763 * libgcc-std.ver.in (GCC_4.7.0): New section.
8764
0ad8bb3b 87652011-06-16 Georg-Johann Lay <avr@gjlay.de>
1da9434b 8766
0ad8bb3b
GJL
8767 PR target/49313
8768 PR target/29524
8769 * config/avr/t-avr: Fix line endings.
8770 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
8771 _parityXX2.
8772
ea963999
OH
87732011-06-14 Olivier Hainque <hainque@adacore.com>
8774 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8775
8776 * config/mips/irix6-unwind.h: New file.
8777 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
8778
b11b0904
EB
87792011-06-10 Eric Botcazou <ebotcazou@adacore.com>
8780
8781 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
8782 (sparc64_fallback_frame_state): Use it.
8783 (sparc64_frob_update_context): Further adjust context.
8784 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
8785 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
8786 * config/sparc/sol2-cn.S: Likewise.
8787
10e48e39
RO
87882011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8789
8790 * enable-execute-stack-empty.c: New file.
8791 * enable-execute-stack-mprotect.c: New file.
8792 * config/i386/enable-execute-stack-mingw32.c: New file.
8793 * config.host (enable_execute_stack): New variable.
8794 Select appropriate variants.
8795 * configure.ac: Link enable-execute-stack.c to
8796 $enable_execute_stack.
8797 * configure: Regenerate.
8798 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
8799 (lib2funcs): Remove _enable_execute_stack.
8800
10c4cabc
DM
88012011-06-09 David S. Miller <davem@davemloft.net>
8802 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8803
8804 * config.host (sparc-*-linux*): Correct md_unwind_header
8805 filename.
8806 (s390x-ibm-tpf*): Fix typo.
8807
aa4203e7
RO
88082011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8809
8810 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
8811 Add crtfastmath.o to extra_parts.
8812 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
8813 mips/t-crtfm.
8814 * config/mips/t-crtfm: Remove.
8815
0defd786
JDA
88162011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
8817
8818 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
8819
82f247af
KK
88202011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
8821
8822 * config.host (sh*-*-linux*): Fix typo.
8823
58cd1d70
RO
88242011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8825
8826 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
8827 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
8828 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
8829 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
8830 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
8831 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
8832 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
8833 Wrap in !__MINGW64__.
8834 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
8835 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
8836 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
8837 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
8838 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
8839 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
8840 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
8841 Wrap in !__LP64__.
8842 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
8843 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
8844 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
8845 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
8846 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
8847 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
8848 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
8849 * config/no-unwind.h: New file.
8850 * config.host (md_unwind_header): Document.
8851 Define.
8852 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
8853 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
8854 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
8855 hppa[12]*-*-hpux11*): Set md_unwind_header.
8856 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
8857 Set md_unwind_header.
8858 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
8859 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
8860 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
8861 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
8862 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
8863 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
8864 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
8865 md_unwind_header.
8866 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
8867 * configure: Regenerate.
8868
737346fa
RO
88692011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8870
8871 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
8872 Set tmake_file, extra_parts.
8873 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
8874 Remove O32 support.
8875 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
8876 Remove O32 support.
8877 * config/mips/t-irix6: New file.
8878 * config/mips/t-slibgcc-irix: New file.
8879
c192cee6
RO
88802011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8881
8882 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
8883 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
8884
ee33b5f0
RO
88852011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8886
8887 * configure.ac (target_thread_file): Determine thread model.
8888 * configure: Regenerate.
8889 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
8890 * config/alpha/t-alpha: New file.
8891 * config/alpha/t-crtfm: Use $<.
8892 * config/alpha/t-ieee: New file.
8893 * config/alpha/t-osf-pthread: New file.
8894 * config/alpha/t-slibgcc-osf: New file.
8895 * config/alpha/libgcc-osf5.ver: New file.
8896
0699e415
RO
88972011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8898
8899 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
8900 tmake_file.
8901 Add crtfastmath.o to extra_parts.
8902
a3fab9c2
RO
89032011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8904
8905 * config/gmon-sol2.c: Reindent.
8906 Cleanup comments.
8907 Remove, correct casts.
8908 Use STDERR_FILENO, NULL.
8909 (BASEADDRESS): Remove.
8910 (minbrk): Remove.
8911 (errno, sbrk): Remove declarations.
8912 (monstartup) [hp300]: Remove.
8913 (mcount): Remove.
8914
ca24c5ad
RO
89152011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8916
8917 * Makefile.in (cpu_type): Define.
8918 * config.host (i[34567]86-*-rtems*): Handle it.
8919 (i[34567]86-*-solaris2*): Move body ...
8920 (*-*-solaris2*): ... here.
8921 New case, generalize.
8922 (sparc-*-elf*): Handle it.
8923 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
8924 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
8925 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
8926 Fold into ...
8927 (sparc*-*-solaris2*): ... this.
8928 New case.
8929 (sparc64-*-elf*): Handle it.
8930 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
8931 Merge ../gcc/config/i386/gmon-sol2.c.
8932 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
8933 Use C comments.
8934 Merge ../gcc/config/i386/sol2-gc1.asm.
8935 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
8936 Use C comments.
8937 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
8938 Use C comments.
8939 * config/i386/t-crtfm (crtfastmath.o): Use $<.
8940 * config/i386/t-crtstuff: New file.
8941 * config/i386/t-softfp: New file.
8942 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
8943 $(T)crti.o, $(T)crtn.o): Remove.
8944 (gcrt1.o): New rule.
8945 (TARGET_LIBGCC2_CFLAGS): Remove.
8946 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
8947 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
8948 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
8949 * config/sparc/t-sol2: New file.
8950 * config/sparc/t-crtfm: Move to ...
8951 * config/t-crtfm: ... this.
8952 Use $(cpu_type), $<.
8953 * config/t-crtin: New file.
8954 * config/sparc/t-softfp: New file.
8955 * config/sparc/t-softmul: New file.
8956 * config/t-rtems: New file.
8957 * config/t-slibgcc: New file.
8958 * config/t-slibgcc-elf-ver: New file.
8959 * config/t-slibgcc-gld: New file.
8960 * config/t-slibgcc-sld: New file.
8961 * config/t-sol2: New file.
8962 * configure.ac: Include ../config/lib-ld.m4.
8963 Call AC_LIB_PROG_LD_GNU.
8964 Substitute cpu_type.
8965 * configure: Regenerate.
8966
ad5f3d7b
BS
89672011-05-27 Bernd Schmidt <bernds@codesourcery.com>
8968
8969 PR bootstrap/49173
8970 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
8971 libgcc-std.ver in the build directory.
8972 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
8973 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
8974
cdbf4541
BS
89752011-05-25 Bernd Schmidt <bernds@codesourcery.com>
8976
8977 * libgcc-std.ver.in: New file.
8978 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
8979 variables.
8980 (libgcc-std.ver): New rule.
8981 * config/t-gnu-prefix: New file.
8982
c8028650
RO
89832011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8984
8985 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
8986
4a68b4ca
JM
89872011-05-10 Joseph Myers <joseph@codesourcery.com>
8988
8989 * config/i386/darwin-lib.h: New file.
8990
80cf2e08
JM
89912011-05-10 Joseph Myers <joseph@codesourcery.com>
8992
8993 * config/arm/symbian-lib.h: New.
8994
a3330c9d
CD
89952011-05-04 Chris Demetriou <cgd@google.com>
8996
8997 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
8998 (__x86.get_pc_thunk.bx): ...this.
8999 (__morestack): Adjust for rename, remove undef of __i686.
9000
6ace0756
CD
90012011-05-03 Chris Demetriou <cgd@google.com>
9002
9003 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
9004
ebb9f8b0
JM
90052011-03-22 Joseph Myers <joseph@codesourcery.com>
9006
9007 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
9008 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
9009 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
9010 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
9011 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
9012 Remove cases.
9013
9cfa1499
AT
90142011-03-14 Andreas Tobler <andreast@fgznet.ch>
9015
9016 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
9017 Adjust copyright year.
9018
457186f6
ILT
90192011-03-07 Ian Lance Taylor <iant@google.com>
9020
9021 * generic-morestack.c (__splitstack_find): Adjust returned stack
9022 pointer to include all registers pushed by __morestack.
9023
58c741a6
DK
90242011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
9025
9026 PR target/40125
9027 * configure.ac: Call ACX_NONCANONICAL_TARGET.
9028 (toolexecdir): Calculate and AC_SUBST.
9029 (toolexeclibdir): Likewise.
9030 * Makefile.in (target_noncanonical): Import.
9031 (toolexecdir): Likewise.
9032 (toolexeclibdir): Likewise.
9033 * configure: Regenerate.
9034
26716c44
NF
90352010-12-13 Nathan Froyd <froydnj@codesourcery.com>
9036
9037 PR target/46040
9038 * config/arm/bpabi.h: Rename to...
9039 * config/arm/bpabi-lib.h: ...this.
9040
b595b1a1
RO
90412010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9042
9043 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
9044 appropriate.
9045 * configure: Regenerate.
9046
a3abe41c
NF
90472010-11-24 Nathan Froyd <froydnj@codesourcery.com>
9048
9049 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
9050 __FLOAT_WORD_ORDER__.
9051 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
9052 Delete.
9053
455c8f48
RW
90542010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9055
9056 PR other/46202
9057 * Makefile.in (install-strip): New phony target.
9058
f3824a8b
ILT
90592010-11-07 Ian Lance Taylor <iant@google.com>
9060
9061 PR target/46089
9062 * config/i386/morestack.S (__morestack_large_model): New
9063 function.
9064
18ed6ee4
NF
90652010-10-23 Nathan Froyd <froydnj@codesourcery.com>
9066
9067 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
9068 Delete.
9069 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
9070
8ac7fdcb
NF
90712010-10-14 Nathan Froyd <froydnj@codesourcery.com>
9072
9073 * config/arm/bpabi.h: New file.
9074 * config/frv/frv-abi.h: New file.
9075
cdb388c2
ILT
90762010-10-01 Ian Lance Taylor <iant@google.com>
9077
9078 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
9079 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
9080
ef7c141c
L
90812010-10-01 H.J. Lu <hongjiu.lu@intel.com>
9082
9083 PR target/45858
9084 * config.host: Add the missing `$'.
9085
80920132
ME
90862010-09-30 Michael Eager <eager@eagercon.com>
9087
9088 * config.host: Add microblaze*-*-*.
9089 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
9090 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
9091 udivsi3.asm,umodsi3.asm}: New.
9092
6dace308
ILT
90932010-09-28 Ian Lance Taylor <iant@google.com>
9094
9095 * configure.ac: Adjust CFI test to test assembler directly rather
9096 than checking gcc preprocessor macro.
9097 * configure: Rebuild.
9098
b6110d6d
ILT
90992010-09-27 Ian Lance Taylor <iant@google.com>
9100
9101 * configure.ac: Test whether assembler supports CFI directives.
9102 * config.host: Only add t-stack and i386/t-stack-i386 to
9103 tmake_file if libgcc_cv_cfi is "yes".
9104 * configure: Rebuild.
9105
7458026b
ILT
91062010-09-27 Ian Lance Taylor <iant@google.com>
9107
9108 * generic-morestack.h: New file.
9109 * generic-morestack.c: New file.
9110 * generic-morestack-thread.c: New file.
9111 * config/i386/morestack.S: New file.
9112 * config/t-stack: New file.
9113 * config/i386/t-stack-i386: New file.
9114 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
9115 i386/t-stack-i386 to tmake_file.
9116
5b50fc0c
IS
91172010-09-21 Iain Sandoe <iains@gcc.gnu.org>
9118
9119 * Makefile.in (libgcc-extra-parts): Check for static archives and
9120 invoke ranlib after installing them.
9121 (gcc-extra-parts): Likewise.
9122 (install-leaf): Likewise.
9123
b93cf342
L
91242010-09-14 H.J. Lu <hongjiu.lu@intel.com>
9125
9126 * configure: Regenerated.
9127
996b42ef
KT
91282010-09-10 Kai Tietz <kai.tietz@onevision.com>
9129
b93cf342 9130 * configure: Regenerated.
996b42ef 9131
be1c764e
GP
91322010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
9133 Andrew Pinski <pinskia@gmail.com>
9134
1da9434b 9135 PR target/40959
be1c764e
GP
9136 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
9137
cc0ae0ca
L
91382010-09-06 H.J. Lu <hongjiu.lu@intel.com>
9139
9140 PR target/45524
9141 * configure: Regenerated.
9142
84f47d20
AS
91432010-09-06 Andreas Schwab <schwab@redhat.com>
9144
9145 * configure: Regenerate.
9146
4159fb8d
UB
91472010-09-03 Uros Bizjak <ubizjak@gmail.com>
9148
9149 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
9150 64bit targets.
9151 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
9152 for 64bit targets.
9153
0df8fcc8
UB
91542010-09-03 Uros Bizjak <ubizjak@gmail.com>
9155 Iain Sandoe <iains@gcc.gnu.org>
9156
9157 PR target/45476
9158 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
9159 LIB2FUNCS_EXCLUDE functions.
9160
3c39bca6
AK
91612010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9162
9163 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
9164 Include dfp.m4.
9165 * configure: Regenerate.
9166
d78552bd
UB
91672010-09-01 Uros Bizjak <ubizjak@gmail.com>
9168
9169 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
9170 i386/t-freebsd to tmake_file.
9171 * config/i386/t-freebsd: New file.
9172 * config/i386/libgcc-bsd.ver: New file.
9173
c5b79d4e
NF
91742010-07-23 Nathan Froyd <froydnj@codesourcery.com>
9175
9176 * config.host (powerpc*-eabispe*): Set tmake_file.
9177 (powerpc*-eabi*): Likewise.
9178 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
9179 crtbeginS, crtendS, crtbeginT.
9180
48b09a92
KH
91812010-06-12 Kazu Hirata <kazu@codesourcery.com>
9182
9183 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
9184 to tmake_file. Add crtfastmath.o to extra_parts.
9185 * config/mips/t-crtfm: New.
9186
7d296953 91872010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
a4389204
JS
9188
9189 * config.host (sparc64-*-rtems*): New target.
9190
ed104137
RO
91912010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9192
9193 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
9194 assembler syntax.
9195
3f56ef8b
TS
91962010-04-15 Thomas Schwinge <tschwinge@gnu.org>
9197
9198 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
9199
8c200350
RO
92002010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9201
9202 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
9203 alpha-dec-osf5.0* support.
9204
7d296953 92052010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
c1b14424
RC
9206
9207 * config.host: Add lm32-*-rtems*.
9208
f128db92 92092010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7d296953 9210 Uros Bizjak <ubizjak@gmail.com>
f128db92
RO
9211
9212 PR target/39048
9213 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
9214 like other remaining 32-bit x86 OSes.
9215 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
9216 assembler syntax.
9217 * config/i386/libgcc-sol2.ver: New file.
9218 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
9219
7d296953 92202010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
368fabd5
JH
9221
9222 PR c/43553
9223 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
9224 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
9225 is used and substitute set_use_emutls.
9226 * configure: Regenerated.
9227
15baf7f8
TG
92282010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
9229
9230 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
9231
7f5441df
RO
92322010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9233
9234 PR target/38085
9235 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
9236 MULTILIB_CFLAGS.
9237 ($(T)gcrt1.o): Likewise.
9238 ($(T)crt1.o): Likewise.
9239 ($(T)crti.o): Likewise.
9240 ($(T)crtn.o): Likewise.
9241
ef74edbd
RW
92422010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9243
9244 PR other/42980
9245 * Makefile.in (install): Use $(MAKE) string in rule, for
9246 parallel make.
9247
e7c914db
HPN
92482010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
9249
9250 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
9251 * config/mmix/t-mmix: New file.
9252 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
9253
1bcb71c4
JH
92542010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
9255
9256 PR java/41991
9257 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
9258 SHLIB_MAPFILES.
9259
e6e50811
AG
92602010-01-04 Anthony Green <green@moxielogic.com>
9261
9262 * config/moxie/crti.asm, config/moxie/crtn.asm,
9263 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
9264 config/moxie/t-moxie: New files.
9265 * config.host: Add t-moxie-softfp reference.
9266
7d296953 92672009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
ca8520ad
IS
9268
9269 PR other/39888
9270 * config/t-slibgcc-darwin: Fix embedded rpaths for
9271 --enable-version-specific-runtime-libs, build extension stub
9272 libs exposing features available from current libgcc_s.
9273
7d296953 92742009-11-11 Jon Beniston <jon@beniston.com>
aa4945c1 9275
d78552bd
UB
9276 * config.host: Add lm32 targets.
9277 * config/lm32: New directory.
9278 * config/lm32/libgcc_lm32.h: New file.
9279 * config/lm32/_mulsi3.c: New file.
9280 * config/lm32/_udivmodsi4.c: New file.
9281 * config/lm32/_divsi3.c: New file.
9282 * config/lm32/_modsi3.c: New file.
9283 * config/lm32/_udivsi3.c: New file.
9284 * config/lm32/_umodsi3.c: New file.
9285 * config/lm32/_lshrsi3.S: New file.
9286 * config/lm32/_ashrsi3.S: New file.
9287 * config/lm32/_ashlsi3.S: New file.
9288 * config/lm32/crti.S: New file.
9289 * config/lm32/crtn.S: New file.
9290 * config/lm32/t-lm32: New file.
9291 * config/lm32/t-elf: New file.
9292 * config/lm32/t-uclinux: New file.
aa4945c1 9293
65a324b4
NC
92942009-10-26 Nick Clifton <nickc@redhat.com>
9295
9296 * config.host: Add support for RX target.
9297 * config/rx: New directory.
9298 * config/rx/rx-abi-functions.c: New file. Supplementary
9299 functions for libgcc to support the RX ABI.
9300 * config/rx/rx-abi.h: New file. Supplementary header file for
9301 libgcc RX ABI functions.
9302 * config/rx/t-rx: New file: Makefile fragment for building
9303 libgcc for the RX.
9304
dfb3b0e3
UB
93052009-10-09 Uros Bizjak <ubizjak@gmail.com>
9306
9307 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
9308 constraint of y0 to "g".
9309
81dd9fd7
AK
93102009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9311
9312 * config.host: Include the s390 makefile fragments.
9313 * config/s390/32/_fixdfdi.c: New file.
9314 * config/s390/32/_fixsfdi.c: New file.
9315 * config/s390/32/_fixtfdi.c: New file.
9316 * config/s390/32/_fixunsdfdi.c: New file.
9317 * config/s390/32/_fixunssfdi.c: New file.
9318 * config/s390/32/_fixunstfdi.c: New file.
9319 * config/s390/32/t-floattodi: New file.
9320 * config/s390/libgcc-glibc.ver: New file.
9321 * config/s390/t-crtstuff: New file.
9322 * config/s390/t-linux: New file.
9323 * config/s390/t-tpf: New file.
9324
df58e648
RW
93252009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9326
9327 * configure.ac (AC_PREREQ): Bump to 2.64.
9328
79052be3
KK
93292009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
9330
9331 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
9332
5213506e
RW
93332009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9334
9335 * configure: Regenerate.
9336
a9a25daa
DR
93372009-08-09 Douglas B Rupp <rupp@gnat.com>
9338
9339 * config.host (ia64-hp-*vms*): New target.
9340 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
9341 with ia64-hp-*vms*.
9342
6efbd53f
RW
93432009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9344
9345 * configure.ac: Add snippet for maintainer-mode.
9346 * configure: Regenerate.
9347 * Makefile.in (AUTOCONF, configure_deps): New variables.
9348 ($(srcdir)/configure)): New rule, active only with maintainer
9349 mode turned on.
9350
7acf4da6
DD
93512009-06-23 DJ Delorie <dj@redhat.com>
9352
9353 Add MeP port.
9354 * config.host: Add mep support.
9355
54f549af
KT
93562009-06-22 Kai Tietz <kai.tietz@onevision.com>
9357
34481f28 9358 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 9359 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
34481f28
UB
9360
9361 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
9362 for mingw targets.
54f549af
KT
9363 * config/i386/64/_multc3.c: Likewise.
9364 * config/i386/64/_powitf2.c: Likewise.
9365 * config/i386/64/eqtf2.c: Likewise.
9366 * config/i386/64/getf2.c: Likewise.
9367 * config/i386/64/letf2.c: Likewise.
9368 * config/i386/64/letf2.c: Likewise.
34481f28
UB
9369 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
9370 unsigned long long for x64 mingw targets.
9371 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
9372 (_FP_I_TYPE): Define as long long for x64 mingw target.
54f549af 9373
fea96e25
MR
93742009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
9375
9376 * config.host (vax-*-linux*): New.
9377
cceb575c
AG
93782009-05-31 Anthony Green <green@moxielogic.com>
9379
9380 * config.host: Add moxie support.
9381 * config/moxie/t-moxie: New file.
9382
7d296953 93832009-05-29 David Billinghurst <billingd@gcc.gnu.org>
e997fb9c
DB
9384
9385 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 9386 t-softfp to tmake_file for i[34567]86-*-cygwin*.
e997fb9c 9387
532bfb0a
AJ
93882009-04-17 Aurelien Jarno <aurelien@aurel32.net>
9389
9390 * config.host: Add i386/${host_address}/t-fprules-softfp to
9391 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
9392
748086b7
JJ
93932009-04-09 Nick Clifton <nickc@redhat.com>
9394
9395 * config/ia64/tf-signs.c: Change copyright header to refer to
9396 version 3 of the GNU General Public License with version 3.1
9397 of the GCC Runtime Library Exception and to point readers at
9398 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
9399 web page.
9400 * config/i386/32/tf-signs.c: Likewise.
9401 * config/libbid/_addsub_dd.c: Likewise.
9402 * config/libbid/_addsub_sd.c: Likewise.
9403 * config/libbid/_addsub_td.c: Likewise.
9404 * config/libbid/_dd_to_df.c: Likewise.
9405 * config/libbid/_dd_to_di.c: Likewise.
9406 * config/libbid/_dd_to_sd.c: Likewise.
9407 * config/libbid/_dd_to_sf.c: Likewise.
9408 * config/libbid/_dd_to_si.c: Likewise.
9409 * config/libbid/_dd_to_td.c: Likewise.
9410 * config/libbid/_dd_to_tf.c: Likewise.
9411 * config/libbid/_dd_to_udi.c: Likewise.
9412 * config/libbid/_dd_to_usi.c: Likewise.
9413 * config/libbid/_dd_to_xf.c: Likewise.
9414 * config/libbid/_df_to_dd.c: Likewise.
9415 * config/libbid/_df_to_sd.c: Likewise.
9416 * config/libbid/_df_to_td.c: Likewise.
9417 * config/libbid/_di_to_dd.c: Likewise.
9418 * config/libbid/_di_to_sd.c: Likewise.
9419 * config/libbid/_di_to_td.c: Likewise.
9420 * config/libbid/_div_dd.c: Likewise.
9421 * config/libbid/_div_sd.c: Likewise.
9422 * config/libbid/_div_td.c: Likewise.
9423 * config/libbid/_eq_dd.c: Likewise.
9424 * config/libbid/_eq_sd.c: Likewise.
9425 * config/libbid/_eq_td.c: Likewise.
9426 * config/libbid/_ge_dd.c: Likewise.
9427 * config/libbid/_ge_sd.c: Likewise.
9428 * config/libbid/_ge_td.c: Likewise.
9429 * config/libbid/_gt_dd.c: Likewise.
9430 * config/libbid/_gt_sd.c: Likewise.
9431 * config/libbid/_gt_td.c: Likewise.
9432 * config/libbid/_isinfd128.c: Likewise.
9433 * config/libbid/_isinfd32.c: Likewise.
9434 * config/libbid/_isinfd64.c: Likewise.
9435 * config/libbid/_le_dd.c: Likewise.
9436 * config/libbid/_le_sd.c: Likewise.
9437 * config/libbid/_le_td.c: Likewise.
9438 * config/libbid/_lt_dd.c: Likewise.
9439 * config/libbid/_lt_sd.c: Likewise.
9440 * config/libbid/_lt_td.c: Likewise.
9441 * config/libbid/_mul_dd.c: Likewise.
9442 * config/libbid/_mul_sd.c: Likewise.
9443 * config/libbid/_mul_td.c: Likewise.
9444 * config/libbid/_ne_dd.c: Likewise.
9445 * config/libbid/_ne_sd.c: Likewise.
9446 * config/libbid/_ne_td.c: Likewise.
9447 * config/libbid/_sd_to_dd.c: Likewise.
9448 * config/libbid/_sd_to_df.c: Likewise.
9449 * config/libbid/_sd_to_di.c: Likewise.
9450 * config/libbid/_sd_to_sf.c: Likewise.
9451 * config/libbid/_sd_to_si.c: Likewise.
9452 * config/libbid/_sd_to_td.c: Likewise.
9453 * config/libbid/_sd_to_tf.c: Likewise.
9454 * config/libbid/_sd_to_udi.c: Likewise.
9455 * config/libbid/_sd_to_usi.c: Likewise.
9456 * config/libbid/_sd_to_xf.c: Likewise.
9457 * config/libbid/_sf_to_dd.c: Likewise.
9458 * config/libbid/_sf_to_sd.c: Likewise.
9459 * config/libbid/_sf_to_td.c: Likewise.
9460 * config/libbid/_si_to_dd.c: Likewise.
9461 * config/libbid/_si_to_sd.c: Likewise.
9462 * config/libbid/_si_to_td.c: Likewise.
9463 * config/libbid/_td_to_dd.c: Likewise.
9464 * config/libbid/_td_to_df.c: Likewise.
9465 * config/libbid/_td_to_di.c: Likewise.
9466 * config/libbid/_td_to_sd.c: Likewise.
9467 * config/libbid/_td_to_sf.c: Likewise.
9468 * config/libbid/_td_to_si.c: Likewise.
9469 * config/libbid/_td_to_tf.c: Likewise.
9470 * config/libbid/_td_to_udi.c: Likewise.
9471 * config/libbid/_td_to_usi.c: Likewise.
9472 * config/libbid/_td_to_xf.c: Likewise.
9473 * config/libbid/_tf_to_dd.c: Likewise.
9474 * config/libbid/_tf_to_sd.c: Likewise.
9475 * config/libbid/_tf_to_td.c: Likewise.
9476 * config/libbid/_udi_to_dd.c: Likewise.
9477 * config/libbid/_udi_to_sd.c: Likewise.
9478 * config/libbid/_udi_to_td.c: Likewise.
9479 * config/libbid/_unord_dd.c: Likewise.
9480 * config/libbid/_unord_sd.c: Likewise.
9481 * config/libbid/_unord_td.c: Likewise.
9482 * config/libbid/_usi_to_dd.c: Likewise.
9483 * config/libbid/_usi_to_sd.c: Likewise.
9484 * config/libbid/_usi_to_td.c: Likewise.
9485 * config/libbid/_xf_to_dd.c: Likewise.
9486 * config/libbid/_xf_to_sd.c: Likewise.
9487 * config/libbid/_xf_to_td.c: Likewise.
9488 * config/libbid/bid128.c: Likewise.
9489 * config/libbid/bid128_2_str.h: Likewise.
9490 * config/libbid/bid128_2_str_macros.h: Likewise.
9491 * config/libbid/bid128_2_str_tables.c: Likewise.
9492 * config/libbid/bid128_add.c: Likewise.
9493 * config/libbid/bid128_compare.c: Likewise.
9494 * config/libbid/bid128_div.c: Likewise.
9495 * config/libbid/bid128_fma.c: Likewise.
9496 * config/libbid/bid128_logb.c: Likewise.
9497 * config/libbid/bid128_minmax.c: Likewise.
9498 * config/libbid/bid128_mul.c: Likewise.
9499 * config/libbid/bid128_next.c: Likewise.
9500 * config/libbid/bid128_noncomp.c: Likewise.
9501 * config/libbid/bid128_quantize.c: Likewise.
9502 * config/libbid/bid128_rem.c: Likewise.
9503 * config/libbid/bid128_round_integral.c: Likewise.
9504 * config/libbid/bid128_scalb.c: Likewise.
9505 * config/libbid/bid128_sqrt.c: Likewise.
9506 * config/libbid/bid128_string.c: Likewise.
9507 * config/libbid/bid128_to_int16.c: Likewise.
9508 * config/libbid/bid128_to_int32.c: Likewise.
9509 * config/libbid/bid128_to_int64.c: Likewise.
9510 * config/libbid/bid128_to_int8.c: Likewise.
9511 * config/libbid/bid128_to_uint16.c: Likewise.
9512 * config/libbid/bid128_to_uint32.c: Likewise.
9513 * config/libbid/bid128_to_uint64.c: Likewise.
9514 * config/libbid/bid128_to_uint8.c: Likewise.
9515 * config/libbid/bid32_to_bid128.c: Likewise.
9516 * config/libbid/bid32_to_bid64.c: Likewise.
9517 * config/libbid/bid64_add.c: Likewise.
9518 * config/libbid/bid64_compare.c: Likewise.
9519 * config/libbid/bid64_div.c: Likewise.
9520 * config/libbid/bid64_fma.c: Likewise.
9521 * config/libbid/bid64_logb.c: Likewise.
9522 * config/libbid/bid64_minmax.c: Likewise.
9523 * config/libbid/bid64_mul.c: Likewise.
9524 * config/libbid/bid64_next.c: Likewise.
9525 * config/libbid/bid64_noncomp.c: Likewise.
9526 * config/libbid/bid64_quantize.c: Likewise.
9527 * config/libbid/bid64_rem.c: Likewise.
9528 * config/libbid/bid64_round_integral.c: Likewise.
9529 * config/libbid/bid64_scalb.c: Likewise.
9530 * config/libbid/bid64_sqrt.c: Likewise.
9531 * config/libbid/bid64_string.c: Likewise.
9532 * config/libbid/bid64_to_bid128.c: Likewise.
9533 * config/libbid/bid64_to_int16.c: Likewise.
9534 * config/libbid/bid64_to_int32.c: Likewise.
9535 * config/libbid/bid64_to_int64.c: Likewise.
9536 * config/libbid/bid64_to_int8.c: Likewise.
9537 * config/libbid/bid64_to_uint16.c: Likewise.
9538 * config/libbid/bid64_to_uint32.c: Likewise.
9539 * config/libbid/bid64_to_uint64.c: Likewise.
9540 * config/libbid/bid64_to_uint8.c: Likewise.
9541 * config/libbid/bid_b2d.h: Likewise.
9542 * config/libbid/bid_binarydecimal.c: Likewise.
9543 * config/libbid/bid_conf.h: Likewise.
9544 * config/libbid/bid_convert_data.c: Likewise.
9545 * config/libbid/bid_decimal_data.c: Likewise.
9546 * config/libbid/bid_decimal_globals.c: Likewise.
9547 * config/libbid/bid_div_macros.h: Likewise.
9548 * config/libbid/bid_dpd.c: Likewise.
9549 * config/libbid/bid_flag_operations.c: Likewise.
9550 * config/libbid/bid_from_int.c: Likewise.
9551 * config/libbid/bid_functions.h: Likewise.
9552 * config/libbid/bid_gcc_intrinsics.h: Likewise.
9553 * config/libbid/bid_inline_add.h: Likewise.
9554 * config/libbid/bid_internal.h: Likewise.
9555 * config/libbid/bid_round.c: Likewise.
9556 * config/libbid/bid_sqrt_macros.h: Likewise.
9557
95582009-04-09 Jakub Jelinek <jakub@redhat.com>
9559
9560 * Makefile.in: Change copyright header to refer to version
9561 3 of the GNU General Public License and to point readers at the
9562 COPYING3 file and the FSF's license web page.
9563 * config.host: Likewise.
9564
633dd061
AM
95652009-04-07 Alan Modra <amodra@bigpond.net.au>
9566
9567 * config.host: Reorder and merge to match config.gcc change.
9568
457d1d00
AM
95692009-04-03 Alan Modra <amodra@bigpond.net.au>
9570
9571 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
9572
52c0e446
JM
95732009-03-28 Joseph Myers <joseph@codesourcery.com>
9574
9575 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
9576 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
9577 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
9578 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
9579
ba181049
UB
95802009-02-12 Uros Bizjak <ubizjak@gmail.com>
9581
9582 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
9583 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
9584
c252db20
L
95852009-02-12 H.J. Lu <hongjiu.lu@intel.com>
9586
ba181049
UB
9587 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
9588 ia64/t-softfp-compat to tmake_file.
c252db20
L
9589
9590 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
9591
9592 * config/ia64/__divxf3.asm: New.
9593 * config/ia64/_fixtfdi.asm: Likewise.
9594 * config/ia64/_fixunstfdi.asm: Likewise.
9595 * config/ia64/_floatditf.asm: Likewise.
9596 * config/ia64/t-fprules-softfp: Likewise.
9597 * config/ia64/t-softfp-compat: Likewise.
9598 * config/ia64/tf-signs.c: Likewise.
9599
c60535f9
BE
96002009-01-18 Ben Elliston <bje@au.ibm.com>
9601
9602 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
9603
ce16861e
BE
96042009-01-16 Ben Elliston <bje@au.ibm.com>
9605
9606 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
9607 to tmake_file.
9608
bcf4713b
BE
96092009-01-13 Ben Elliston <bje@au.ibm.com>
9610
9611 * config/t-softfp: New file.
9612 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
9613 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
9614
7d296953 96152009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
2042cb04
JS
9616
9617 * config.host: Add m32r*-*-rtems*.
9618
7d296953 96192008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
541ed00e
JS
9620
9621 * config.host: Add m32c*-*-rtems*.
9622
19523300
RO
96232008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9624
9625 PR bootstrap/33100
9626 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
9627 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
9628 * configure: Regenerate.
9629 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
9630 tmake_file here from gcc/config.gcc.
9631 Move extra_parts here from gcc/config.gcc.
9632 * config/i386/t-sol2: Move here from gcc/config/i386.
9633 Use gcc_srcdir instead of srcdir.
9634
0a4a51c7
AN
96352008-11-18 Adam Nemet <anemet@caviumnetworks.com>
9636
9637 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
9638 case.
9639
2a761e46
TS
96402008-11-09 Thomas Schwinge <tschwinge@gnu.org>
9641
9642 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
9643
c0451df7
TS
96442008-10-08 Thomas Schwinge <tschwinge@gnu.org>
9645
9646 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
9647
358da97e
HS
96482008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
9649
9650 Add picoChip port.
9651 * config.host: Add picochip-*-*.
9652
c660f132
BW
96532008-08-06 Bob Wilson <bob.wilson@acm.org>
9654
9655 * config.host: Match more processor names for Xtensa.
9656
d1349557
L
96572008-07-08 H.J. Lu <hongjiu.lu@intel.com>
9658
9659 * config/i386/64/t-softfp-compat: Update comments.
9660
dd7b73c0
L
96612008-07-07 H.J. Lu <hongjiu.lu@intel.com>
9662
9663 * config/i386/64/_divtc3-compat.c: Moved to ...
9664 * config/i386/64/_divtc3.c: Here.
9665
9666 * config/i386/64/_multc3-compat.c: Moved to ...
9667 * config/i386/64/_multc3.c: Here.
9668
9669 * config/i386/64/_powitf2-compat.c: Moved to ...
9670 * config/i386/64/_powitf2.c: Here.
9671
9672 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
9673 .c suffix instead of -compat.c.
9674
6e1fab3d
UB
96752008-07-05 Uros Bizjak <ubizjak@gmail.com>
9676
9677 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
9678 (_FP_MUL_MEAT_D): Ditto.
9679 (_FP_DIV_MEAT_S): Ditto.
9680 (_FP_DIV_MEAT_D): Ditto.
9681
f92518d7
RS
96822008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
9683
9684 * Makefile.in: Add support for __sync_* libgcc functions.
9685
d0aede14
L
96862008-07-03 H.J. Lu <hongjiu.lu@intel.com>
9687
9688 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
9689
c174f11c
L
96902008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9691
9692 PR boostrap/36702
9693 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
9694 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
9695
9696 * config/i386/64/t-fprules-softfp: Moved to ...
9697 * config/i386/64/t-softfp-compat: This. New.
9698
5f464fa2
UB
96992008-07-02 Uros Bizjak <ubizjak@gmail.com>
9700
9701 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
9702 Initialize f with 0.0.
9703
ff473280
L
97042008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9705
9706 PR target/36669
9707 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
9708
9709 * config/i386/64/_divtc3-compat.c: New.
9710 * config/i386/64/_multc3-compat.c: Likewise.
9711 * config/i386/64/_powitf2-compat.c: Likewise.
9712 * config/i386/64/eqtf2.c: Likewise.
9713 * config/i386/64/getf2.c: Likewise.
9714 * config/i386/64/letf2.c: Likewise.
9715 * config/i386/64/t-fprules-softfp: Likewise.
9716
97172008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9718
9719 * config.host: Add i386/${host_address}/t-fprules-softfp to
9720 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
dfb3b0e3 9721 i[34567]86-*-linux*, x86_64-*-linux*.
ff473280
L
9722
9723 * configure.ac: Set host_address to 64 or 32 for x86.
9724 * configure: Regenerated.
9725
9726 * Makefile.in (config.status): Also depend on
9727 $(srcdir)/config.host.
9728
9729 * config/i386/32/t-fprules-softfp: New.
9730 * config/i386/32/tf-signs.c: Likewise.
9731
9732 * config/i386/64/sfp-machine.h: New. Moved from gcc.
9733
97342008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9735 Uros Bizjak <ubizjak@gmail.com>
9736
9737 * config/i386/32/sfp-machine.h: New.
9738
30551d99
NF
97392008-06-26 Nathan Froyd <froydnj@codesourcery.com>
9740
9741 * config/rs6000/t-ppccomm: Remove rules that conflict with
9742 auto-generated rules.
9743
18c04407
RW
97442008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9745
9746 * configure.ac: sinclude override.m4.
9747 * configure: Regenerate.
9748
10fbe77a
BRF
97492008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
9750
9751 * configure: Regenerate.
9752
bc6d4c3f
JM
97532008-06-10 Joseph Myers <joseph@codesourcery.com>
9754
9755 * Makefile.in (DECNUMINC): Remove
9756 -I$(MULTIBUILDTOP)../../libdecnumber.
9757 * gstdint.h: New.
9758
cd985f66
JM
97592008-06-07 Joseph Myers <joseph@codesourcery.com>
9760
9761 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
9762 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
9763 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
9764 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
9765 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
9766 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
9767 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
9768 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
9769 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
9770 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
9771 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
9772 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
9773 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
9774 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
9775
93fea8d3
AL
97762008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
9777
9778 * config.host (sh2[lbe]*-*-linux*): Allow target.
9779
18724e30
NF
97802008-04-30 Nathan Froyd <froydnj@codesourcery.com>
9781
9782 * config/rs6000/t-ppccomm: Add build rules for new files.
9783 (LIB2ADD_ST): New variable.
9784
47583040
AH
97852008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
9786
9787 PR target/34210
9788 PR target/35508
9789 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
9790 * config/t-avr: New file. Build 16bit libgcc functions.
9791
cf8e67fe
JJ
97922008-03-02 Jakub Jelinek <jakub@redhat.com>
9793
9794 PR target/35401
9795 * config/t-slibgcc-darwin: Make install-leaf dependent on
9796 install-darwin-libgcc-stubs instead of install.
9797
8d8da227
JM
97982008-01-25 Joseph Myers <joseph@codesourcery.com>
9799
9800 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
9801 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
9802 sh-*-rtemscoff*): Remove cases.
9803
edbf8b16
RS
98042007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
9805
9806 * Makefile.in (all): Use install-leaf rather than install.
9807 (install): Split most of the rule into...
9808 (install-leaf): ...this new one.
9809
89deeaff
EK
98102007-12-19 Etsushi Kato <ek.kato@gmail.com>
9811 Paolo Bonzini <bonzini@gnu.org>
9812
9813 PR target/30572
5f464fa2
UB
9814 * Makefile.in: Use @shlib_slibdir@ substitution to get
9815 correct install name on darwin.
89deeaff 9816 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
dfb3b0e3 9817
4081d704
HPN
98182007-12-15 Hans-Peter Nilsson <hp@axis.com>
9819
9820 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
9821 cris-*-elf and cris-*-none.
9822 (crisv32-*-linux*): Similar, as cris-*-linux*.
9823
f43e89a3
RIL
98242007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
9825
9826 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
9827
b4e9c2c6
L
98282007-10-27 H.J. Lu <hongjiu.lu@intel.com>
9829
9830 PR regression/33926
9831 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
9832 * configure: Regenerated.
9833
b2a00c89
L
98342007-09-27 H.J. Lu <hongjiu.lu@intel.com>
9835
9836 * Makefile.in (dfp-filenames): Replace decimal_globals,
9837 decimal_data, binarydecimal and convert_data with
9838 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
9839 and bid_convert_data, respectively.
9840
8d2a9e0e
CF
98412007-09-17 Chao-ying Fu <fu@mips.com>
9842 Nigel Stephens <nigel@mips.com>
9843
9844 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
9845 * Makefile.in (fixed_point): Define.
9846 Check if fixed_point is yes to build support functions.
9847 * configure.ac: Check for fixed_point support.
9848 * configure: Regenerated.
9849 * gen-fixed.sh: New file to generate lists of fixed-point labels,
9850 funcs, modes, from, to.
9851
2b53935d
JJ
98522007-09-11 Janis Johnson <janis187@us.ibm.com
9853
9854 * Makefile.in (dfp-filenames): Add bid128_noncomp.
9855
2533577f
JJ
98562007-09-10 Janis Johnson <janis187@us.ibm.com>
9857
9858 * Makefile.in (dfp-filenames): Remove decUtility, add
9859 decDouble, decPacked, decQuad, decSingle.
9860
3ae3dbd6
HK
98612007-08-27 Hans Kester <hans.kester@ellips.nl>
9862
9863 * config.host : Add x86_64-elf target.
9864
22867d02
L
98652007-07-06 H.J. Lu <hongjiu.lu@intel.com>
9866
9867 * configure.ac (set_have_cc_tls): Add a missing =.
9868 * configure: Regenerated.
9869
6f461e76
L
98702007-07-06 H.J. Lu <hongjiu.lu@intel.com>
9871
9872 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
9873 and x86_64-*-linux*.
9874
9875 * config/t-tls: New file.
9876
dfb3b0e3 9877 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
6f461e76
L
9878
9879 * configure.ac: Include ../config/enable.m4 and
9880 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
9881 supports TLS and substitute set_have_cc_tls.
9882 * configure: Regenerated.
9883
200359e8
L
98842007-07-04 H.J. Lu <hongjiu.lu@intel.com>
9885
9886 * Makefile.in: Use libbid for DFP when BID is enabled.
9887
76f5e200
DS
98882007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
9889
9890 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
dfb3b0e3 9891 extra_parts. Add config/i386/t-cygming to tmake_file.
76f5e200
DS
9892 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
9893
9bd196f0 98942007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
200359e8 9895 Danny Smith <dannysmith@users.sourceforge.net>
9bd196f0
ZM
9896
9897 PR target/29498
9898 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
9899 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
9900 * config/i386/t-crtfm: Compile crtfastmath.o with
9901 -minline-all-stringops.
9902
1910440e
RS
99032007-05-10 Richard Sandiford <richard@codesourcery.com>
9904
9905 * config.host (sparc-wrs-vxworks): New target.
9906
7d33c31d
KH
99072007-04-14 Kazu Hirata <kazu@codesourcery.com>
9908
9909 * config.host: Recognize fido.
9910
96fccd0d
JJ
99112007-04-04 Janis Johnson <janis187@us.ibm.com>
9912
9913 * configure: Check host, not target, for decimal float support.
9914
577565f9
UB
99152007-04-03 Uros Bizjak <ubizjak@gmail.com>
9916
9917 * config/i386/t-crtpc: New file.
9918 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
5f464fa2 9919 (x86_64-*-linux*): Ditto.
577565f9 9920
ccf8e764
RH
99212007-02-30 Kai Tietz <kai.tietz@onevision.com>
9922
9923 * config.host (x86_64-*-mingw*): New target.
9924
79b87c74
MM
99252007-03-23 Michael Meissner <michael.meissner@amd.com>
9926 H.J. Lu <hongjiu.lu@intel.com>
9927
9928 * Makefile.in (enable_decimal_float): New.
9929 (DECNUMINC): Add
9930 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
9931 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
9932 (decbits-filenames): This.
9933 (decbits-objects): New.
9934 (libgcc-objects): Add $(decbits-objects).
9935
9936 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
9937 Substitute enable_decimal_float.
9938 * configure: Regenerated.
9939
8fce4e31
HPN
99402007-03-19 Hans-Peter Nilsson <hp@axis.com>
9941
9942 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
9943
e8bb4597
BM
99442007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
9945
9946 * Makefile.in (install-info): New dummy target.
9947
344189f9
BS
99482007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
9949
9950 * config.host (bfin*-linux-uclibc*): Set extra_parts.
9951
ac84c172
BM
99522007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
9953
9954 * Makefile.in: Add install-html and install-pdf dummy
9955 targets.
9956
cd5c2357
RS
99572007-02-05 Roger Sayle <roger@eyesopen.com>
9958 Daniel Jacobowitz <dan@codesourcery.com>
9959
9960 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
9961 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
9962 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
9963
d9a66f98
JJ
99642007-01-29 Janis Johnson <janis187@us.ibm.com>
9965
9966 * Makefile.in (dec-filenames): Add decExcept.
9967
9891ec5f
DJ
99682007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
9969
9970 PR bootstrap/30469
9971 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
9972 -fprofile-use.
9973
d6efbf5a
DJ
99742007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
9975
9976 * configure.ac: Add --enable-version-specific-runtime-libs.
9977 Correct $slibdir default.
9978 * configure: Regenerated.
9979
17caeff2
JM
99802007-01-23 Joseph Myers <joseph@codesourcery.com>
9981
9982 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
9983
5ea41e3a
AP
99842007-01-21 Andrew Pinski <pinskia@gmail.com>
9985
9986 PR target/30519
9987 * config.host (alpha*-*-linux*): Set extra_parts.
9988
26900826
KK
99892007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
9990
9991 * config/sh/t-linux: New.
9992 * config.host (sh*-*-linux*): Set tmake_file.
9993
97af925b
DJ
99942007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
9995
9996 * Makefile.in (install): Handle multilibs.
9997
b0088af7
BM
99982007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
9999
10000 * Makefile.in: Added .PHONY entry for documentation targets.
10001
e0a9456a
BM
100022007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
10003
10004 * Makefile.in: Add empty info, html, dvi, pdf targets.
10005
7fd453b4
MS
100062007-01-04 Mike Stump <mrs@apple.com>
10007
10008 * Makefile.in (MAKEINFO): Remove.
10009 (PERL): Likewise.
10010
14e8fc8b
PB
100112007-01-04 Paolo Bonzini <bonzini@gnu.org>
10012
10013 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
10014 * configure: Regenerate.
10015 * Makefile.in (host_subdir): Substitute it.
dfb3b0e3 10016 (gcc_objdir): Use it.
14e8fc8b 10017
1555beba
DJ
100182007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
10019
10020 * config.host (ia64*-*-linux*): Set tmake_file.
10021
79e6eaeb
DJ
100222007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
10023
10024 * Makefile.in (version): Define.
10025
fa958513
DJ
100262007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
10027 Paolo Bonzini <bonzini@gnu.org>
10028
10029 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
10030 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
10031 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
10032 config/sparc/t-crtfm, config/t-slibgcc-darwin,
10033 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
10034 shared-object.mk, siditi-object.mk, static-object.mk: New files.
10035 * configure: Generated.
818ab71a 10036\f
a5544970 10037Copyright (C) 2007-2019 Free Software Foundation, Inc.
818ab71a
JJ
10038
10039Copying and distribution of this file, with or without modification,
10040are permitted in any medium without royalty provided the copyright
10041notice and this notice are preserved.