]> git.ipfire.org Git - thirdparty/gcc.git/blame - libgcc/ChangeLog
altivec.md (altivec_mov<mode>, [...]): Change the RTL attribute "length" from "4...
[thirdparty/gcc.git] / libgcc / ChangeLog
CommitLineData
596341c7
ML
12019-07-03 Martin Liska <mliska@suse.cz>
2
3 * Makefile.in: Use topn_values instead of one_value names.
4 * libgcov-merge.c (__gcov_merge_single): Move to ...
5 (__gcov_merge_topn): ... this.
6 (merge_single_value_set): Move to ...
7 (merge_topn_values_set): ... this.
8 * libgcov-profiler.c (__gcov_one_value_profiler_body): Move to
9 ...
10 (__gcov_topn_values_profiler_body): ... this.
11 (__gcov_one_value_profiler_v2): Move to ...
12 (__gcov_topn_values_profiler): ... this.
13 (__gcov_one_value_profiler_v2_atomic): Move to ...
14 (__gcov_topn_values_profiler_atomic): ... this.
15 (__gcov_indirect_call_profiler_v4): Remove.
16 * libgcov-util.c (__gcov_single_counter_op): Move to ...
17 (__gcov_topn_counter_op): ... this.
18 * libgcov.h (L_gcov_merge_single): Remove.
19 (L_gcov_merge_topn): New.
20 (__gcov_merge_single): Remove.
21 (__gcov_merge_topn): New.
22 (__gcov_one_value_profiler_v2): Move to ..
23 (__gcov_topn_values_profiler): ... this.
24 (__gcov_one_value_profiler_v2_atomic): Move to ...
25 (__gcov_topn_values_profiler_atomic): ... this.
26
1b309ca5
ML
272019-07-03 Martin Liska <mliska@suse.cz>
28
29 * libgcov-merge.c (merge_single_value_set): Support N values.
30 * libgcov-profiler.c (__gcov_one_value_profiler_body): Likewise.
31
5a460280
ID
322019-06-27 Ilia Diachkov <ilia.diachkov@optimitech.com>
33
34 * Makefile.in (USE_TM_CLONE_REGISTRY): New.
35 (CRTSTUFF_CFLAGS): Use USE_TM_CLONE_REGISTRY.
36 * configure.ac: Add --disable-tm-clone-registry option.
37 * configure: Regenerate.
38
45309d28
ML
392019-06-27 Martin Liska <mliska@suse.cz>
40
41 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Remove obviously
42 dead assignments.
43 * libgcov-util.c: Likewise.
44
c2f7a665
ML
452019-06-27 Martin Liska <mliska@suse.cz>
46
47 * libgcov-util.c (gcov_profile_merge): Release allocated
48 memory.
49 (calculate_overlap): Likewise.
50
a8e55c61
IS
512019-06-25 Iain Sandoe <iain@sandoe.co.uk>
52
53 * config.host: Add libef_ppc.a to the extra files for powerpc-darwin.
54 * config/rs6000/t-darwin: (PPC_ENDFILE_SRC, PPC_ENDFILE_OBJS): New.
55 Build objects for the out of line save/restore register functions
56 so that they can be used for any supported Darwin version.
57 * config/t-darwin: Default the build Darwin version to Darwin8
58 (MacOS 10.4).
59
e5ce4cbc
ML
602019-06-25 Martin Liska <mliska@suse.cz>
61
62 * libgcov-driver-system.c (replace_filename_variables): Do not
63 call strlen with NULL argument.
64
52a47d28
AS
652019-06-25 Andrew Stubbs <ams@codesourcery.com>
66
67 * config/gcn/t-amdgcn (LIB2ADD): Add unwind-gcn.c.
68 * config/gcn/unwind-gcn.c: New file.
69
76d46331
KCY
702019-06-25 Kwok Cheung Yeung <kcy@codesourcery.com>
71 Andrew Stubbs <ams@codesourcery.com>
72
73 * configure: Regenerate.
74 * config/gcn/gthr-gcn.h: New.
75
787783a0
TV
762019-06-18 Tom de Vries <tdevries@suse.de>
77
78 * config/nvptx/crt0.c (__main): Declare.
79
f32f7585
MG
802019-06-17 Matthew Green <mrg@eterna.com.au>
81 Maya Rashish <coypu@sdf.org>
82
83 * config.host (aarch64*-*-netbsd*): New case.
84
0fcc78f7
JL
852019-06-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
86
87 * config/msp430/slli.S (__mspabi_sllll): New library function for
88 performing a logical left shift of a 64-bit value.
89 * config/msp430/srai.S (__mspabi_srall): New library function for
90 performing a arithmetic right shift of a 64-bit value.
91 * config/msp430/srll.S (__mspabi_srlll): New library function for
92 performing a logical right shift of a 64-bit value.
93
b27c1082
MT
942019-06-14 Matt Thomas <matt@3am-software.com>
95 Matthew Green <mrg@eterna.com.au>
96 Nick Hudson <skrll@netbsd.org>
97 Maya Rashish <coypu@sdf.org>
98
99 * config.host (arm*-*-netbsdelf*): Add support for EABI configurations.
100 * config/arm/t-netbsd (LIB1ASMFUNCS): Add some additional assembler
101 functions to build.
102 * config/arm/t-netbsd-eabi: New file.
103
ae7deb4b
DD
1042019-06-12 Dimitar Dimitrov <dimitar@dinux.eu>
105
106 * config.host: Add PRU target.
107 * config/pru/asri.c: New file.
108 * config/pru/eqd.c: New file.
109 * config/pru/eqf.c: New file.
110 * config/pru/ged.c: New file.
111 * config/pru/gef.c: New file.
112 * config/pru/gtd.c: New file.
113 * config/pru/gtf.c: New file.
114 * config/pru/led.c: New file.
115 * config/pru/lef.c: New file.
116 * config/pru/lib2bitcountHI.c: New file.
117 * config/pru/lib2divHI.c: New file.
118 * config/pru/lib2divQI.c: New file.
119 * config/pru/lib2divSI.c: New file.
120 * config/pru/libgcc-eabi.ver: New file.
121 * config/pru/ltd.c: New file.
122 * config/pru/ltf.c: New file.
123 * config/pru/mpyll.S: New file.
124 * config/pru/pru-abi.h: New file.
125 * config/pru/pru-asm.h: New file.
126 * config/pru/pru-divmod.h: New file.
127 * config/pru/sfp-machine.h: New file.
128 * config/pru/t-pru: New file.
129
0d7b3e47
JJ
1302019-06-11 Jakub Jelinek <jakub@redhat.com>
131
132 * libgcov-merge.c (__gcov_merge_single): Revert previous change.
133
54e2d83c
ML
1342019-06-10 Martin Liska <mliska@suse.cz>
135
136 PR bootstrap/90808
137 * libgcov.h: Add ATTRIBUTE_UNUSED.
138
92d41717
ML
1392019-06-10 Martin Liska <mliska@suse.cz>
140
141 * Makefile.in: Add __gcov_one_value_profiler_v2,
142 __gcov_one_value_profiler_v2_atomic and
143 __gcov_indirect_call_profiler_v4.
144 * libgcov-merge.c (__gcov_merge_single): Change
145 function signature.
146 (merge_single_value_set): New.
147 * libgcov-profiler.c (__gcov_one_value_profiler_body):
148 Update functionality.
149 (__gcov_one_value_profiler): Remove.
150 (__gcov_one_value_profiler_v2): ... this.
151 (__gcov_one_value_profiler_atomic): Rename to ...
152 (__gcov_one_value_profiler_v2_atomic): this.
153 (__gcov_indirect_call_profiler_v3): Rename to ...
154 (__gcov_indirect_call_profiler_v4): ... this.
155 * libgcov.h (__gcov_one_value_profiler): Remove.
156 (__gcov_one_value_profiler_atomic): Remove.
157 (__gcov_one_value_profiler_v2_atomic): New.
158 (__gcov_indirect_call_profiler_v3): Remove.
159 (__gcov_one_value_profiler_v2): New.
160 (__gcov_indirect_call_profiler_v4): New.
161 (gcov_get_counter_ignore_scaling): New function.
162
e37333ba
ML
1632019-06-07 Martin Liska <mliska@suse.cz>
164
165 * Makefile.in: Remove usage of
166 _gcov_merge_icall_topn.
167 * libgcov-driver.c (gcov_sort_n_vals): Remove.
168 (gcov_sort_icall_topn_counter): Likewise.
169 (gcov_sort_topn_counter_arrays): Likewise.
170 (dump_one_gcov): Remove call to gcov_sort_topn_counter_arrays.
171 * libgcov-merge.c (__gcov_merge_icall_topn): Remove.
172 * libgcov-profiler.c (__gcov_topn_value_profiler_body):
173 Likewise.
174 (GCOV_ICALL_COUNTER_CLEAR_THRESHOLD): Remove.
175 (struct indirect_call_tuple): Remove.
176 (__gcov_indirect_call_topn_profiler): Remove.
177 * libgcov-util.c (__gcov_icall_topn_counter_op): Remove.
178 * libgcov.h (gcov_sort_n_vals): Remove.
179 (L_gcov_merge_icall_topn): Likewise.
180 (__gcov_merge_icall_topn): Likewise.
181 (__gcov_indirect_call_topn_profiler): Likewise.
182
34a4a9c2
IS
1832019-06-06 Iain Sandoe <iain@sandoe.co.uk>
184
185 * config/rs6000/t-darwin: Ensure that the unwinder is built with
186 altivec enabled.
187
d1b2f85f
JL
1882019-06-06 Jozef Lawrynowicz <jozef.l@mittosystems.com>
189
190 * config/msp430/slli.S (__mspabi_slli_n): Put function in its own
191 section.
192 (__mspabi_slli): Likewise.
193 (__mspabi_slll_n): Likewise.
194 (__mspabi_slll): Likewise.
195 * config/msp430/srai.S (__mspabi_srai_n): Likewise.
196 (__mspabi_srai): Likewise.
197 (__mspabi_sral_n): Likewise.
198 (__mspabi_sral): Likewise.
199 * config/msp430/srli.S (__mspabi_srli_n): Likewise.
200 (__mspabi_srli): Likewise.
201 (__mspabi_srll_n): Likewise.
202 (__mspabi_srll): Likewise.
203
e69a13d1
YS
2042019-06-05 Yoshinori Sato <ysato@users.sourceforge.jp>
205
206 * config.host (rx-*-linux*): Add t-fdpbit to tmake_file
207 Add appropriate tm_file clause as well.
208 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Remove.
209
b009eac1
JC
2102019-06-05 James Clarke <jrtc27@jrtc27.com>
211
212 * config/ia64/crtbegin.S (__dso_handle): Put in .sdata/.sbss
213 rather than .data/.bss so it can be accessed via gp-relative
214 addressing.
215
781d39f2
DE
2162019-06-05 David Edelsohn <dje.gcc@gmail.com>
217
218 * config/rs6000/aix-unwind.h (LR_REGNO): Rename to R_LR.
219 (CR2_REGNO): Rename to R_CR2.
220 (XER_REGNO): Rename to R_XER.
221 (FIRST_ALTIVEC_REGNO): Rename to R_FIRST_ALTIVEC.
222 (VRSAVE_REGNO): Rename to R_VRSAVE.
223 (VSCR_REGNO): R_VSCR.
224
76aaa9cd
YS
2252019-05-29 Yoshinori Sato <ysato@users.sourceforge.jp>
226
227 * config.host (rx-*-linux*): Add new case.
228 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Force DFmode to SFmode.
229
8fc16d72
ST
2302019-05-29 Sam Tebbs <sam.tebbs@arm.com>
231
232 * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key): New
233 function.
234 * config/aarch64/aarch64-unwind.h (aarch64_post_extract_frame_addr,
235 aarch64_post_frob_eh_handler_addr): Add check for b-key.
236 * config/aarch64/aarch64-unwind-h (aarch64_post_extract_frame_addr,
237 aarch64_post_frob_eh_handler_addr, aarch64_post_frob_update_context):
238 Rename RA_A_SIGNED_BIT to RA_SIGNED_BIT.
239 * unwind-dw2-fde.c (get_cie_encoding): Add check for 'B' in augmentation
240 string.
241 * unwind-dw2.c (extract_cie_info): Add check for 'B' in augmentation
242 string.
243 (RA_A_SIGNED_BIT): Rename to RA_SIGNED_BIT.
244
e54b1a92
RO
2452019-05-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
246
247 * config/sparc/sol2-unwind.h [__arch64__] (sparc64_is_sighandler):
248 Remove Solaris 9 and 10 support.
249 (sparc_is_sighandler): Likewise.
250
abbb8307
JDA
2512019-05-26 John David Anglin <danglin@gcc.gnu.org>
252
253 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Add cast.
254
2581344d
L
2552019-05-17 H.J. Lu <hongjiu.lu@intel.com>
256
257 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
258 4_FP_W_TYPEs are used for IEEE quad precision.
259 * soft-fp/extendhftf2.c: Likewise.
260 * soft-fp/extendsftf2.c: Likewise.
261 * soft-fp/extendxftf2.c: Likewise.
262 * soft-fp/trunctfdf2.c: Likewise.
263 * soft-fp/trunctfhf2.c: Likewise.
264 * soft-fp/trunctfsf2.c: Likewise.
265 * soft-fp/trunctfxf2.c: Likewise.
266 * config/rs6000/ibm-ldouble.c: Likewise.
267
ccd1242e
RO
2682019-05-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
269
270 * config.host: Simplify various *-*-solaris2.1[0-9]* to
271 *-*-solaris2*.
272 * configure.ac: Likewise.
273 * configure: Regenerate.
274
275 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
276 Solaris 10 and Solaris 11 < snv_125 handling.
277
ef5eb79d
IS
2782019-05-12 Iain Sandoe <iain@sandoe.co.uk>
279
280 * config/rs6000/darwin-vecsave.S: Set .machine appropriately.
281
4f0e90fa
HL
2822019-05-07 Hongtao Liu <hongtao.liu@intel.com>
283
284 * config/i386/cpuinfo.c (get_available_features): Detect BF16.
285 * config/i386/cpuinfo.h (enum processor_features): Add
286 FEATURE_AVX512BF16.
287
48528842
RR
2882019-04-23 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
289 Bernd Edlinger <bernd.edlinger@hotmail.de>
290 Jakub Jelinek <jakub@redhat.com>
291
292 PR target/89093
293 * config/arm/pr-support.c: Add #pragma GCC target("general-regs-only").
294 * config/arm/unwind-arm.c: Likewise.
295 * unwind-c.c (PERSONALITY_FUNCTION): Add general-regs-only target
296 attribute for ARM.
297
887e182f
MC
2982019-04-15 Monk Chiang <sh.chiang04@gmail.com>
299
300 * config/nds32/linux-unwind.h (SIGRETURN): Remove.
301 (RT_SIGRETURN): Update.
302 (nds32_fallback_frame_state): Update.
303
a90b0cdd
MS
3042019-02-21 Martin Sebor <msebor@redhat.com>
305
306 * libgcc2.h (__clear_cache): Correct signature.
307 * libgcc2.c (__clear_cache): Same.
308
1ed28eda
UB
3092019-02-20 Uroš Bizjak <ubizjak@gmail.com>
310
311 * config/alpha/linux-unwind.h (alpha_fallback_frame_state):
312 Cast 'mcontext_t *' &rt_->uc.uc_mcontext to 'struct sigcontext *'.
313
fe95aee9
UB
3142019-02-19 Uroš Bizjak <ubizjak@gmail.com>
315
316 * unwind-dw2.c (_Unwind_GetGR) [DWARF_ZERO_REG]: Compare
317 regno instead of index to DWARF_ZERO_REG.
318
bf7988f1
EB
3192019-02-15 Eric Botcazou <ebotcazou@adacore.com>
320
321 * config/visium/lib2funcs.c (__set_trampoline_parity): Replace
322 TRAMPOLINE_SIZE with __LIBGCC_TRAMPOLINE_SIZE__.
323
ba2c1ca8
UB
3242019-01-31 Uroš Bizjak <ubizjak@gmail.com>
325
326 * config/alpha/t-linux: Add -mfp-rounding-mode=d
327 to HOST_LIBGCC2_CFLAGS.
328
6395ba73
L
3292019-01-23 Joseph Myers <joseph@codesourcery.com>
330
331 PR libgcc/88931
ba2c1ca8 332 * libgcc2.c (FSTYPE FUNC (DWtype u)): Correct no leading bits case.
6395ba73 333
756721ba
ML
3342019-01-18 Martin Liska <mliska@suse.cz>
335
336 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Rename
337 to ...
338 (__gcov_indirect_call_profiler_v3): ... this.
339 * libgcov.h (__gcov_indirect_call_profiler_v2): Likewise.
340 (__gcov_indirect_call_profiler_v3): Likewise.
341 * Makefile.in: Bump function name.
342
d273c40a
ML
3432019-01-18 Martin Liska <mliska@suse.cz>
344
345 * libgcov-driver.c (GCOV_PROF_PREFIX): Define.
346 (gcov_version): Use in gcov_error.
347 (merge_one_data): Likewise.
348 (dump_one_gcov): Likewise.
349
be9d9fdb
ML
3502019-01-18 Martin Liska <mliska@suse.cz>
351
352 * libgcov-driver.c (gcov_version_string): New function.
353 (gcov_version): Convert version integer into string.
354
91d7b7fe
AS
3552019-01-17 Andrew Stubbs <ams@codesourcery.com>
356 Kwok Cheung Yeung <kcy@codesourcery.com>
357 Julian Brown <julian@codesourcery.com>
358 Tom de Vries <tom@codesourcery.com>
359
360 * config.host: Recognize amdgcn*-*-amdhsa.
361 * config/gcn/crt0.c: New file.
362 * config/gcn/lib2-divmod-hi.c: New file.
363 * config/gcn/lib2-divmod.c: New file.
364 * config/gcn/lib2-gcn.h: New file.
365 * config/gcn/sfp-machine.h: New file.
366 * config/gcn/t-amdgcn: New file.
367
67914693
SL
3682019-01-09 Sandra Loosemore <sandra@codesourcery.com>
369
370 PR other/16615
371
372 * config/c6x/libunwind.S: Mechanically replace "can not" with
373 "cannot".
374 * config/tilepro/atomic.h: Likewise.
375 * config/vxlib-tls.c: Likewise.
376 * generic-morestack-thread.c: Likewise.
377 * generic-morestack.c: Likewise.
378 * mkmap-symver.awk: Likewise.
379
a5544970
JJ
3802019-01-01 Jakub Jelinek <jakub@redhat.com>
381
382 Update copyright years.
383
da77eace
L
3842018-12-20 H.J. Lu <hongjiu.lu@intel.com>
385
386 * unwind-pe.h (read_encoded_value_with_base): Add GCC pragma
387 to ignore -Waddress-of-packed-member.
388
72e3a529
TP
3892018-12-19 Thomas Preud'homme <thomas.preudhomme@linaro.org>
390
391 * /config/arm/lib1funcs.S (FUNC_START): Remove unused sp_section
392 parameter and corresponding code.
393 (ARM_FUNC_START): Likewise in both definitions.
394 Also update footer comment about condition that need to match with
395 gcc/config/arm/elf.h to also include libgcc/config/arm/t-arm.
396 * config/arm/ieee754-df.S (muldf3): Also build it if L_arm_muldf3 is
397 defined. Weakly define it in this case.
398 * config/arm/ieee754-sf.S (mulsf3): Likewise with L_arm_mulsf3.
399 * config/arm/t-elf (LIB1ASMFUNCS): Build _arm_muldf3.o and
400 _arm_mulsf3.o before muldiv versions if targeting Thumb-1 only. Add
401 comment to keep condition in sync with the one in
402 libgcc/config/arm/lib1funcs.S and gcc/config/arm/elf.h.
403
5d54c798
WX
4042018-12-18 Wei Xiao <wei3.xiao@intel.com>
405
406 * config/i386/cpuinfo.c (get_intel_cpu): Handle cascadelake.
407 * config/i386/cpuinfo.h: Add INTEL_COREI7_CASCADELAKE.
408
5a2580b6
RV
4092018-12-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
410
411 * config/rs6000/tramp.S (__trampoline_setup): Also emit .size
412 and .cfi_endproc directives for VxWorks targets.
413
c0c5112b
PK
4142018-12-05 Paul Koning <ni1d@arrl.net>
415
416 * udivmodhi4.c (__udivmodhi4): Fix loop end check.
417
1ea7ea18
AM
4182018-11-27 Alan Modra <amodra@gmail.com>
419
420 * config/rs6000/morestack.S (__stack_split_initialize),
421 (__morestack_get_guard, __morestack_set_guard),
422 (__morestack_make_guard): Provide CFI covering these functions.
423 * config/rs6000/tramp.S (__trampoline_setup): Likewise.
424
ff641ae1
XQ
4252018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
426
1ea7ea18 427 * config/csky/linux-unwind.h (sc_pt_regs): Update for kernel.
ff641ae1
XQ
428 (sc_pt_regs_lr): Update for kernel.
429 (sc_pt_regs_tls): Update for kernel.
430
28209372
XQ
4312018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
432
433 * config/csky/linux-unwind.h: Fix coding style.
434
b2a71af6
XQ
4352018-11-13 Xianmiao Qu <xianmiao_qu@c-sky.com>
436
437 * config/csky/linux-unwind.h (_sig_ucontext_t): Remove.
1ea7ea18 438 (csky_fallback_frame_state): Modify the check of the
b2a71af6
XQ
439 instructions to adapt to changes in the kernel
440
d929e137
SH
4412018-11-09 Stafford Horne <shorne@gmail.com>
442 Richard Henderson <rth@twiddle.net>
443
444 * config.host: Add OpenRISC support.
445 * config/or1k/*: New.
446
222cfefa
KC
4472018-11-08 Kito Cheng <kito@andestech.com>
448
449 * soft-fp/adddf3.c: Update from glibc.
450 * soft-fp/addsf3.c: Likewise.
451 * soft-fp/addtf3.c: Likewise.
452 * soft-fp/divdf3.c: Likewise.
453 * soft-fp/divsf3.c: Likewise.
454 * soft-fp/divtf3.c: Likewise.
455 * soft-fp/double.h: Likewise.
456 * soft-fp/eqdf2.c: Likewise.
457 * soft-fp/eqsf2.c: Likewise.
458 * soft-fp/eqtf2.c: Likewise.
459 * soft-fp/extenddftf2.c: Likewise.
460 * soft-fp/extended.h: Likewise.
461 * soft-fp/extendhftf2.c: Likewise.
462 * soft-fp/extendsfdf2.c: Likewise.
463 * soft-fp/extendsftf2.c: Likewise.
464 * soft-fp/extendxftf2.c: Likewise.
465 * soft-fp/fixdfdi.c: Likewise.
466 * soft-fp/fixdfsi.c: Likewise.
467 * soft-fp/fixdfti.c: Likewise.
468 * soft-fp/fixhfti.c: Likewise.
469 * soft-fp/fixsfdi.c: Likewise.
470 * soft-fp/fixsfsi.c: Likewise.
471 * soft-fp/fixsfti.c: Likewise.
472 * soft-fp/fixtfdi.c: Likewise.
473 * soft-fp/fixtfsi.c: Likewise.
474 * soft-fp/fixtfti.c: Likewise.
475 * soft-fp/fixunsdfdi.c: Likewise.
476 * soft-fp/fixunsdfsi.c: Likewise.
477 * soft-fp/fixunsdfti.c: Likewise.
478 * soft-fp/fixunshfti.c: Likewise.
479 * soft-fp/fixunssfdi.c: Likewise.
480 * soft-fp/fixunssfsi.c: Likewise.
481 * soft-fp/fixunssfti.c: Likewise.
482 * soft-fp/fixunstfdi.c: Likewise.
483 * soft-fp/fixunstfsi.c: Likewise.
484 * soft-fp/fixunstfti.c: Likewise.
485 * soft-fp/floatdidf.c: Likewise.
486 * soft-fp/floatdisf.c: Likewise.
487 * soft-fp/floatditf.c: Likewise.
488 * soft-fp/floatsidf.c: Likewise.
489 * soft-fp/floatsisf.c: Likewise.
490 * soft-fp/floatsitf.c: Likewise.
491 * soft-fp/floattidf.c: Likewise.
492 * soft-fp/floattihf.c: Likewise.
493 * soft-fp/floattisf.c: Likewise.
494 * soft-fp/floattitf.c: Likewise.
495 * soft-fp/floatundidf.c: Likewise.
496 * soft-fp/floatundisf.c: Likewise.
497 * soft-fp/floatunditf.c: Likewise.
498 * soft-fp/floatunsidf.c: Likewise.
499 * soft-fp/floatunsisf.c: Likewise.
500 * soft-fp/floatunsitf.c: Likewise.
501 * soft-fp/floatuntidf.c: Likewise.
502 * soft-fp/floatuntihf.c: Likewise.
503 * soft-fp/floatuntisf.c: Likewise.
504 * soft-fp/floatuntitf.c: Likewise.
505 * soft-fp/gedf2.c: Likewise.
506 * soft-fp/gesf2.c: Likewise.
507 * soft-fp/getf2.c: Likewise.
508 * soft-fp/half.h: Likewise.
509 * soft-fp/ledf2.c: Likewise.
510 * soft-fp/lesf2.c: Likewise.
511 * soft-fp/letf2.c: Likewise.
512 * soft-fp/muldf3.c: Likewise.
513 * soft-fp/mulsf3.c: Likewise.
514 * soft-fp/multf3.c: Likewise.
515 * soft-fp/negdf2.c: Likewise.
516 * soft-fp/negsf2.c: Likewise.
517 * soft-fp/negtf2.c: Likewise.
518 * soft-fp/op-1.h: Likewise.
519 * soft-fp/op-2.h: Likewise.
520 * soft-fp/op-4.h: Likewise.
521 * soft-fp/op-8.h: Likewise.
522 * soft-fp/op-common.h: Likewise.
523 * soft-fp/quad.h: Likewise.
524 * soft-fp/single.h: Likewise.
525 * soft-fp/soft-fp.h: Likewise.
526 * soft-fp/subdf3.c: Likewise.
527 * soft-fp/subsf3.c: Likewise.
528 * soft-fp/subtf3.c: Likewise.
529 * soft-fp/truncdfsf2.c: Likewise.
530 * soft-fp/trunctfdf2.c: Likewise.
531 * soft-fp/trunctfhf2.c: Likewise.
532 * soft-fp/trunctfsf2.c: Likewise.
533 * soft-fp/trunctfxf2.c: Likewise.
534 * soft-fp/unorddf2.c: Likewise.
535 * soft-fp/unordsf2.c: Likewise.
536 * soft-fp/unordtf2.c: Likewise.
537
2901f42f
VK
5382018-11-04 Venkataramanan Kumar <Venkataramanan.kumar@amd.com>
539
540 * config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
541 * config/i386/cpuinfo.h (processor_types): Add znver2.
542
4310ca66
PK
5432018-11-01 Paul Koning <ni1d@arrl.net>
544
545 * config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c.
546 (HOST_LIBGCC2_CFLAGS): Change to optimize for size.
547
22e05272
JM
5482018-10-31 Joseph Myers <joseph@codesourcery.com>
549
550 PR bootstrap/82856
551 * configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
552 * configure: Regenerate.
553
8180cde0
CZ
5542018-10-31 Claudiu Zissulescu <claziss@synopsys.com>
555
556 * config/arc/lib1funcs.S (_muldi3): New function.
557 * config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
558
be7b071e
RV
5592018-10-30 Rasmus Villemoes <rv@rasmusvillemoes.dk>
560
561 * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
562
3239d726
ML
5632018-10-25 Martin Liska <mliska@suse.cz>
564
565 PR other/87735
566 * libgcov-profiler.c: Revert.
567
19b55958
ML
5682018-10-24 Martin Liska <mliska@suse.cz>
569
570 * libgcov-profiler.c: Start from 1 in order to distinguish
571 functions which were seen and these that were not.
572
a9a2fddb
PK
5732018-10-18 Paul Koning <ni1d@arrl.net>
574
575 * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
576 standard.
577 * divmod.c: Update references to __udivmodsi4.
578 * udivmod.c: Ditto.
579 * udivhi3.c: New file.
580 * udivmodhi4.c: New file.
581 * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
582
fc8abc46
RV
5832018-10-17 Rasmus Villemoes <rv@rasmusvillemoes.dk>
584
585 * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
586
87f918e3
OH
5872018-10-12 Olivier Hainque <hainque@adacore.com>
588
589 * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
590 defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
591
be86efa7
PK
5922018-10-08 Paul Koning <ni1d@arrl.net>
593
594 * config/pdp11/t-pdp11: Remove -mfloat32 switch.
595
3edbcdbe
ML
5962018-10-04 Martin Liska <mliska@suse.cz>
597
598 PR gcov-profile/84107
599 * libgcov-profiler.c (__gcov_indirect_call):
600 Change type to indirect_call_tuple.
601 (struct indirect_call_tuple): New struct.
602 (__gcov_indirect_call_topn_profiler): Change type.
603 (__gcov_indirect_call_profiler_v2): Use the new
604 variables.
605 * libgcov.h (struct indirect_call_tuple): New struct
606 definition.
607
af8096fc
UB
6082018-10-03 Uros Bizjak <ubizjak@gmail.com>
609
610 * libgcc2.c (isnan): Use __builtin_isnan.
611 (isfinite): Use __builtin_isfinite.
612 (isinf): Use __builtin_isinf.
613
0a76bba4
UB
6142018-09-26 Uros Bizjak <ubizjak@gmail.com>
615
616 * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
617
5244089f
OH
6182018-09-21 Alexandre Oliva <oliva@adacore.com>
619
620 * config/vxcache.c: New file. Provide __clear_cache, based on
621 the cacheTextUpdate VxWorks service.
622 * config/t-vxworks (LIB2ADD): Add vxcache.c.
623 (LIB2FUNCS_EXCLUDE): Add _clear_cache.
624 * config/t-vxwoks7: Likewise.
625
512cc015
ML
6262018-09-21 Martin Liska <mliska@suse.cz>
627
628 * libgcov-driver.c (crc32_unsigned): Remove.
629 (gcov_histogram_insert): Likewise.
630 (gcov_compute_histogram): Likewise.
631 (compute_summary): Simplify rapidly.
632 (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
633 (merge_summary): Rapidly simplify.
634 (dump_one_gcov): Ignore gcov_summary.
635 (gcov_do_dump): Do not handle program summary, it's not
636 used.
637 * libgcov-util.c (tag_summary): Remove.
638 (read_gcda_finalize): Fix coding style.
639 (read_gcda_file): Initialize curr_object_summary.
640 (compute_summary): Remove.
641 (calculate_overlap): Remove settings of run_max.
642
36ff254b
MC
6432018-09-21 Monk Chiang <sh.chiang04@gmail.com>
644
645 * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
646 ucontext_t type instead.
647 (nds32_fallback_frame_state): Remove struct _sigframe statement.
648
229a033d
KC
6492018-09-21 Kito Cheng <kito.cheng@gmail.com>
650
651 * config/nds32/t-nds32-glibc: New file.
652
53c6feb2
RO
6532018-09-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
654
655 * configure.ac (solaris_ld_v2_maps): New test.
656 * configure: Regenerate.
657 * Makefile.in (solaris_ld_v2_maps): New variable.
658 * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
659 if supported.
660
ebdb6f23
RE
6612018-08-23 Richard Earnshaw <rearnsha@arm.com>
662
663 PR target/86951
664 * config/arm/lib1funcs.asm (speculation_barrier): New function.
665 * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
666 to build.
667
a49c064e
IS
6682018-08-22 Iain Sandoe <iain@sandoe.co.uk>
669
1ea7ea18 670 * config/unwind-dw2-fde-darwin.c
a49c064e
IS
671 (_darwin10_Unwind_FindEnclosingFunction): move from here ...
672 * config/darwin10-unwind-find-enc-func.c: … to here.
673 * config/t-darwin: Build Darwin10 unwinder shim crt.
674 * libgcc/config.host: Add the Darwin10 unwinder shim.
675
9a5b8df7
RV
6762018-08-21 Rasmus Villemoes <rv@rasmusvillemoes.dk>
677
678 * config.host: Add crtbegin.o and crtend.o for
679 powerpc-wrs-vxworks target.
680
4cd0bc3b
J
6812018-08-17 Jojo <jijie_rong@c-sky.com>
682 Huibin Wang <huibin_wang@c-sky.com>
683 Sandra Loosemore <sandra@codesourcery.com>
684 Chung-Lin Tang <cltang@codesourcery.com>
685
686 C-SKY port: libgcc
687
688 * config.host: Add C-SKY support.
689 * config/csky/*: New.
690
a4931745
CJW
6912018-08-12 Chung-Ju Wu <jasonwucj@gmail.com>
692
693 * config/nds32/t-nds32-isr: Rearrange object dependency.
694 * config/nds32/initfini.c: Add dwarf2 unwinding support.
695 * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
696 and registers usage.
697 * config/nds32/isr-library/excp_isr.S: Ditto.
698 * config/nds32/isr-library/intr_isr.S: Ditto.
699 * config/nds32/isr-library/reset.S: Ditto.
700 * config/nds32/isr-library/restore_all.inc: Ditto.
701 * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
702 * config/nds32/isr-library/restore_partial.inc: Ditto.
703 * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
704 * config/nds32/isr-library/save_all.inc: Ditto.
705 * config/nds32/isr-library/save_mac_regs.inc: Ditto.
706 * config/nds32/isr-library/save_partial.inc: Ditto.
707 * config/nds32/isr-library/save_usr_regs.inc: Ditto.
708 * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
709
2b1969f6
JDA
7102018-08-11 John David Anglin <danglin@gcc.gnu.org>
711
712 * config/pa/linux-atomic.c: Update comment.
713 (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
714 COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
715 SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
716 __ATOMIC_RELAXED for atomic loads.
717 (SYNC_LOCK_RELEASE_1): New define. Use __sync_synchronize() and
718 unordered store to release lock.
719 (__sync_lock_release_8): Likewise.
720 (SYNC_LOCK_RELEASE_2): Remove define.
af8096fc 721
89fff9cc
NP
7222018-08-02 Nicolas Pitre <nico@fluxnic.net>
723
724 PR libgcc/86512
725 * config/arm/ieee754-df.S: Don't shortcut denormal handling when
726 exponent goes negative. Update my email address.
727 * config/arm/ieee754-sf.S: Likewise.
728
fd2e1dcd
ML
7292018-08-01 Martin Liska <mliska@suse.cz>
730
731 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
92a285c1 732 check that __gcov_indirect_call_callee is non-null.
fd2e1dcd 733
b7415975
CL
7342018-07-30 Christophe Lyon <christophe.lyon@linaro.org>
735
736 * config/arm/ieee754-df.S: Fix comment for code working on
737 architectures >= 4.
738 * config/arm/ieee754-sf.S: Likewise.
739
b72e71a3
L
7402018-07-27 H.J. Lu <hongjiu.lu@intel.com>
741
742 PR libgcc/85334
743 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
744 Removed.
745
1c686aa4
JC
7462018-07-05 James Clarke <jrtc27@jrtc27.com>
747
748 * configure: Regenerated.
749
b61c9b99
RO
7502018-06-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
751
752 * Makefile.in (install_leaf): Use enable_gcov instead of
753 enable_libgcov.
754
1765b023
RV
7552018-06-27 Rasmus Villemoes <rv@rasmusvillemoes.dk>
756
757 * configure.ac: Add --disable-gcov option.
758 * configure: Regenerate.
759 * Makefile.in: Honour @enable_gcov@.
760
9b2e34ef
CL
7612018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
762
763 * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
764 __ARM_ARCH and __ARM_FEATURE_CLZ instead.
765 (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
766 * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
767 __ARM_ARCH__.
768 * config/arm/ieee754-sf.S: Likewise.
769 * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
770
d1b0dd54
CL
7712018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
772
773 * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
774 longer supported.
775 * config/arm/ieee754-sf.S: Likewise.
776
1f3fa525
TM
7772018-06-20 Than McIntosh <thanm@google.com>
778
779 PR libgcc/86213
780 * generic-morestack.c (allocate_segment): Move calls to getenv and
781 getpagesize to __morestack_load_mmap.
782 (__morestack_load_mmap) Initialize static_pagesize and
783 use_guard_page here so as to avoid clobbering SSE regs during a
784 __morestack call.
785
6a8886e4
MM
7862018-06-18 Michael Meissner <meissner@linux.ibm.com>
787
788 * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
789 support modules with -mno-gnu-attribute.
790 * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
791
fb997097
OH
7922018-06-07 Olivier Hainque <hainque@adacore.com>
793
794 * config/t-vxworks (LIBGCC_INCLUDES): Add
795 -I$(MULTIBUILDTOP)../../gcc/include.
796 * config/t-vxworks7: Likewise. Reformat a bit to match
797 the t-vxworks layout.
798
a548a5a1
OM
7992018-06-07 Olga Makhotina <olga.makhotina@intel.com>
800
801 * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
802
244aebfd
ML
8032018-06-07 Martin Liska <mliska@suse.cz>
804
805 * libgcov-driver.c: Rename cs_all to all and assign it from
92a285c1 806 all_prg.
244aebfd 807
6c086e8c
ML
8082018-06-07 Martin Liska <mliska@suse.cz>
809
92a285c1 810 PR bootstrap/86057
6c086e8c 811 * libgcov-driver-system.c (replace_filename_variables): Use
92a285c1 812 memcpy instead of mempcpy.
6c086e8c 813 (allocate_filename_struct): Do not allocate filename, allocate
92a285c1 814 prefix and set it.
6c086e8c 815 (gcov_exit_open_gcda_file): Allocate memory for gf->filename
92a285c1 816 here and properly copy content into it.
6c086e8c 817 * libgcov-driver.c (struct gcov_filename): Remove max_length
92a285c1 818 field, change prefix from size_t into char *.
6c086e8c
ML
819 (compute_summary): Do not calculate longest filename.
820 (gcov_do_dump): Release memory of gf.filename after each file.
821 * libgcov-util.c (compute_summary): Use new signature of
92a285c1 822 compute_summary.
6c086e8c
ML
823 (calculate_overlap): Likewise.
824
97a53d1d
ML
8252018-06-05 Martin Liska <mliska@suse.cz>
826
827 PR gcov-profile/47618
828 * libgcov-driver-system.c (replace_filename_variables): New
92a285c1 829 function.
97a53d1d
ML
830 (gcov_exit_open_gcda_file): Use it.
831
7f3577f5
ML
8322018-06-05 Martin Liska <mliska@suse.cz>
833
834 * libgcov-driver.c (gcov_compute_histogram): Remove usage
835 of gcov_ctr_summary.
836 (compute_summary): Do it just for a single summary.
837 (merge_one_data): Likewise.
838 (merge_summary): Simplify as we read just single summary.
839 (dump_one_gcov): Pass proper argument.
840 * libgcov-util.c (compute_one_gcov): Simplify as we have just
841 single summary.
842 (gcov_info_count_all_cold): Likewise.
843 (calculate_overlap): Likewise.
844
cf3cd43d
CJW
8452018-06-02 Chung-Ju Wu <jasonwucj@gmail.com>
846 Monk Chiang <sh.chiang04@gmail.com>
847
848 * config.host (nds32*-linux*): New.
849 * config/nds32/linux-atomic.c: New file.
850 * config/nds32/linux-unwind.h: New file.
851
8b8003ed
UB
8522018-05-31 Uros Bizjak <ubizjak@gmail.com>
853
854 PR target/85591
855 * config/i386/cpuinfo.c (get_amd_cpu): Return
856 AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
857
bbdf026f
RV
8582018-05-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
859
92a285c1 860 * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
bbdf026f 861
0e8f29da
ML
8622018-05-29 Martin Liska <mliska@suse.cz>
863
92a285c1 864 PR gcov-profile/85759
0e8f29da 865 * libgcov-driver-system.c (gcov_error): Introduce usage of
92a285c1 866 GCOV_EXIT_AT_ERROR env. variable.
0e8f29da 867 * libgcov-driver.c (merge_one_data): Print error that we
92a285c1 868 overwrite a gcov file with a different timestamp.
0e8f29da 869
54fd1590
K
8702018-05-23 Kalamatee <kalamatee@gmail.com>
871
872 * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
873 path to Lf$finfty.
874
09baee1a
KC
8752018-05-18 Kito Cheng <kito.cheng@gmail.com>
876 Monk Chiang <sh.chiang04@gmail.com>
877 Jim Wilson <jimw@sifive.com>
878
879 * config/riscv/save-restore.S: Add support for rv32e.
880
c3f808d3
KT
8812018-05-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
882
883 * config/arm/libunwind.S: Update comment relating to armv5.
884
fcf4f831
JL
8852018-05-17 Jerome Lambourg <lambourg@adacore.com>
886
887 * config/arm/cmse.c (cmse_check_address_range): Replace
888 UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
889
74b2bb19
OM
8902018-05-17 Olga Makhotina <olga.makhotina@intel.com>
891
892 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
893 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
894
50e461df
OM
8952018-05-08 Olga Makhotina <olga.makhotina@intel.com>
896
897 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
898 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
899
e5f1cdb1
AC
9002018-05-07 Amaan Cheval <amaan.cheval@gmail.com>
901
902 * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
903
8f479d7a
AT
9042018-04-27 Andreas Tobler <andreast@gcc.gnu.org>
905 Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
906
907 PR libgcc/84292
908 * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
909 op_and_fetch to return the right result.
910
ae043291
AM
9112018-04-27 Alan Modra <amodra@gmail.com>
912
913 PR libgcc/85532
914 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
915 -fno-asynchronous-unwind-tables.
916
ba169b74
CJW
9172018-04-25 Chung-Ju Wu <jasonwucj@gmail.com>
918
919 * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
920 * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
921
ffc2fc06
L
9222018-04-24 H.J. Lu <hongjiu.lu@intel.com>
923
924 * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
925 when including "config/i386/shadow-stack-unwind.h".
926
7b47ecf2
L
9272018-04-24 H.J. Lu <hongjiu.lu@intel.com>
928
929 * configure: Regenerated.
930
661eb8f9
MM
9312018-04-20 Michael Meissner <meissner@linux.ibm.com>
932
933 PR target/85456
934 * config/rs6000/_powikf2.c: New file. Add support for the
935 __builtin_powil function when long double is IEEE 128-bit floating
936 point.
937 * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
938 __powikf2 support.
939 (__powikf2): Likewise.
940 * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
941 (__powikf2_hw): Likewise.
942 (__powikf2): Likewise.
943 * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
944 * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
945 (_powikf2-hw.c): Likewise.
946
5707be3c
L
9472018-04-19 H.J. Lu <hongjiu.lu@intel.com>
948
949 PR libgcc/85334
950 * unwind-generic.h (_Unwind_Frames_Increment): New.
951 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
952 Likewise.
953 * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
954 count with _Unwind_Frames_Increment.
955 (_Unwind_ForcedUnwind_Phase2): Likewise.
956
5f9ca0b8
L
9572018-04-19 H.J. Lu <hongjiu.lu@intel.com>
958
959 PR libgcc/85379
960 * config/i386/morestack.S (__stack_split_initialize): Add
961 _CET_ENDBR.
962
a0e1df88
JJ
9632018-04-19 Jakub Jelinek <jakub@redhat.com>
964
965 * configure: Regenerated.
966
001ddaa8
DM
9672018-04-18 David Malcolm <dmalcolm@redhat.com>
968
969 PR jit/85384
970 * configure: Regenerate.
971
a57f99ba
JJ
9722018-04-16 Jakub Jelinek <jakub@redhat.com>
973
974 PR target/84945
975 * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
976 -Wdangling-else warnings. Mask shift counts to avoid
977 -Wshift-count-negative and -Wshift-count-overflow false positives.
978
4d47fe5a
RB
9792018-04-06 Ruslan Bukin <br@bsdpad.com>
980
981 * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
982
059cc8ac
L
9832018-03-29 H.J. Lu <hongjiu.lu@intel.com>
984
985 PR target/85100
986 * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
987 (XSTATE_FP): Likewise.
988 (XSTATE_SSE): Likewise.
989 (XSTATE_YMM): Likewise.
990 (XSTATE_OPMASK): Likewise.
991 (XSTATE_ZMM): Likewise.
992 (XSTATE_HI_ZMM): Likewise.
993 (XCR_AVX_ENABLED_MASK): Likewise.
994 (XCR_AVX512F_ENABLED_MASK): Likewise.
995 (get_available_features): Enable AVX and AVX512 features only
996 if their states are supported by OSXSAVE.
997
f2620385
IT
9982018-03-22 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
999
1000 PR target/85025
1001 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
1002 Fix a typo, tmp => 255.
1003
ae6dca8c
JJ
10042018-03-20 Jakub Jelinek <jakub@redhat.com>
1005
1006 PR target/84945
1007 * config/i386/cpuinfo.h (__cpu_features2): Declare.
1008 * config/i386/cpuinfo.c (__cpu_features2): New variable for
1009 ifndef SHARED only.
1010 (set_feature): Define.
1011 (get_available_features): Use set_feature macro. Set __cpu_features2
1012 to the second word of features ifndef SHARED.
1013
c36b04c1
JK
10142018-03-15 Julia Koval <julia.koval@intel.com>
1015
1016 * config/i386/cpuinfo.c (get_available_features): Add
1017 FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
1018 FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
1019 * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
1020 FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
1021 FEATURE_AVX512BITALG.
1022
79ab5364
JK
10232018-03-14 Julia Koval <julia.koval@intel.com>
1024
1025 * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
1026 icelake client and icelake server.
1027
66a00b11
JDA
10282018-03-06 John David Anglin <danglin@gcc.gnu.org>
1029
1030 * config/pa/fptr.c (_dl_read_access_allowed): New.
1031 (__canonicalize_funcptr_for_compare): Use it.
af8096fc 1032
ce579a4f
JJ
10332018-02-28 Jakub Jelinek <jakub@redhat.com>
1034
1035 PR debug/83917
1036 * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
1037 $asm_hidden_op if visibility ("hidden") attribute works.
1038 (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
1039 * config/i386/i386-asm.h: Don't include auto-host.h.
1040 (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
1041 PACKAGE_URL): Don't undefine.
1042 (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
1043 guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
1044 (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
1045 #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
1046 definition instead of hardcoded .hidden.
1047 * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
1048 directive. Use #ifdef HAVE_AS_CFI_SECTIONS rather than
1049 #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
1050 (USE_GAS_CFI_DIRECTIVES): Don't define.
1051 * configure: Regenerated.
1052 * config.in: Likewise.
1053
e5868319
JJ
10542018-02-26 Jakub Jelinek <jakub@redhat.com>
1055
1056 PR debug/83917
1057 * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
1058 PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
1059 inclusion of auto-target.h and auto-host.h.
1060 (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
1061 __GCC_HAVE_DWARF2_CFI_ASM.
1062 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
1063 cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
1064 cfi_pop): Define.
1065 * config/i386/cygwin.S: Don't include auto-host.h here, just
1066 define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
1067 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
1068 cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
1069 * config/i386/resms64fx.h: Add cfi_* directives.
1070 * config/i386/resms64x.h: Likewise.
1071
faef260e
MF
10722018-02-20 Max Filippov <jcmvbkbc@gmail.com>
1073
1074 * config/xtensa/ieee754-df.S (__adddf3_aux): Add
1075 .literal_position directive.
1076 * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
1077
14e335ed
IT
10782018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1079
1080 PR target/84148
1081 * configure: Regenerate.
1082
95df0433
IT
10832018-02-16 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1084
1085 PR target/84239
1086 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
1087 Include cetintrin.h not x86intrin.h.
1088
f8de876d
IT
10892018-02-08 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1090
1091 PR target/84239
95df0433 1092 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
f8de876d
IT
1093 Use new _get_ssp and _inc_ssp intrinsics.
1094
02da1e9c
JK
10952018-02-02 Julia Koval <julia.koval@intel.com>
1096
1097 * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
1098
048c6a9a
CZ
10992018-01-26 Claudiu Zissulescu <claziss@synopsys.com>
1100
1101 * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
1102 option.
1103 (__divsi3): Use RF16 safe registers.
1104 (__modsi3): Likewise.
1105
0889f168
MF
11062018-01-23 Max Filippov <jcmvbkbc@gmail.com>
1107
1108 * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
1109 (__divsf3): Make NaN return value quiet.
1110 * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
1111 (__divdf3): Make NaN return value quiet.
1112
bc8b0d04
SP
11132018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
1114
1115 * config/rl78/anddi3.S: New assembly file.
1116 * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
1117
99cc06ea
SP
11182018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
1119
1120 * config/rl78/umindi3.S: New assembly file.
1121 * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
1122
6e9007a0
SP
11232018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
1124
1125 * config/rl78/smindi3.S: New assembly file.
1126 * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
1127
d975e494 11282018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
af8096fc 1129
d975e494
SP
1130 * config/rl78/smaxdi3.S: New assembly file.
1131 * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
1132
6a18c146 11332018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
af8096fc 1134
5dd16013
SP
1135 * config/rl78/umaxdi3.S: New assembly file.
1136 * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
af8096fc 1137
07baf4a5
JDA
11382018-01-21 John David Anglin <danglin@gcc.gnu.org>
1139
1140 PR lto/83452
1141 * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
1142 * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
af8096fc 1143
dbc3af4f
RS
11442018-01-13 Richard Sandiford <richard.sandiford@linaro.org>
1145
1146 * config/aarch64/value-unwind.h (aarch64_vg): New function.
1147 (DWARF_LAZY_REGISTER_VALUE): Define.
1148 * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
1149 to provide a fallback register value.
1150
68df9882
MM
11512018-01-08 Michael Meissner <meissner@linux.vnet.ibm.com>
1152
1153 * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
1154 __ibm128, instead of trying to use long double.
1155 (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
1156 accomidate -mabi=ieeelongdouble multilibs.
1157 (CVT_IBM128_TO_FLOAT128): Likewise.
1158 * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
1159 the appropriate IBM extended double type.
1160 (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
1161 (__gcc_qsub): Likewise.
1162 (__gcc_qmul): Likewise.
1163 (__gcc_qdiv): Likewise.
1164 (pack_ldouble): Likewise.
1165 (__gcc_qneg): Likewise.
1166 (__gcc_qeq): Likewise.
1167 (__gcc_qne): Likewise.
1168 (__gcc_qge): Likewise.
1169 (__gcc_qle): Likewise.
1170 (__gcc_stoq): Likewise.
1171 (__gcc_dtoq): Likewise.
1172 (__gcc_itoq): Likewise.
1173 (__gcc_utoq): Likewise.
1174 (__gcc_qunord): Likewise.
1175 * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
1176 quad-float128.h for the definitions.
1177 (COPYSIGN): Use the f128 version instead of the q version.
1178 (INFINITY): Likewise.
1179 (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
1180 * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
1181 quad-float128.h for the definitions.
1182 (COPYSIGN): Use the f128 version instead of the q version.
1183 (INFINITY): Likewise.
1184 (FABS): Likewise.
1185 (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
1186 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
1187 * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
1188
64b371b1
SH
11892018-01-05 Sebastian Huber <sebastian.huber@embedded-brains.de>
1190
1191 * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
1192 configuration.
1193
85ec4feb
JJ
11942018-01-03 Jakub Jelinek <jakub@redhat.com>
1195
1196 Update copyright years.
1197
11982017-12-12 Kito Cheng <kito.cheng@gmail.com>
b8d7e076
KC
1199
1200 * config/riscv/t-elf: Use multi3.c instead of multi3.S.
1201 * config/riscv/multi3.c: New file.
1202 * config/riscv/multi3.S: Remove.
1203
3a4c600f
JW
12042017-12-08 Jim Wilson <jimw@sifive.com>
1205
1206 * config/riscv/div.S: Use FUNC_* macros.
1207 * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
1208 * config/riscv/save-restore.S: Likewise.
1209 * config/riscv/riscv-asm.h: New.
1210
75ad35b5
MM
12112017-11-30 Michael Meissner <meissner@linux.vnet.ibm.com>
1212
6ae3512c
MM
1213 * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
1214 * config/rs6000/_divkc3.c (__divkc3): Likewise.
1215
75ad35b5
MM
1216 PR libgcc/83112
1217 * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
1218 correct type for all ifunc resolvers to silence -Wattribute-alias
1219 warnings. Eliminate the forward declaration of the resolver
1220 functions which is no longer needed.
1221 (__subkf3_resolve): Likewise.
1222 (__mulkf3_resolve): Likewise.
1223 (__divkf3_resolve): Likewise.
1224 (__negkf2_resolve): Likewise.
1225 (__eqkf2_resolve): Likewise.
1226 (__nekf2_resolve): Likewise.
1227 (__gekf2_resolve): Likewise.
1228 (__gtkf2_resolve): Likewise.
1229 (__lekf2_resolve): Likewise.
1230 (__ltkf2_resolve): Likewise.
1231 (__unordkf2_resolve): Likewise.
1232 (__extendsfkf2_resolve): Likewise.
1233 (__extenddfkf2_resolve): Likewise.
1234 (__trunckfsf2_resolve): Likewise.
1235 (__trunckfdf2_resolve): Likewise.
1236 (__fixkfsi_resolve): Likewise.
1237 (__fixkfdi_resolve): Likewise.
1238 (__fixunskfsi_resolve): Likewise.
1239 (__fixunskfdi_resolve): Likewise.
1240 (__floatsikf_resolve): Likewise.
1241 (__floatdikf_resolve): Likewise.
1242 (__floatunsikf_resolve): Likewise.
1243 (__floatundikf_resolve): Likewise.
1244 (__extendkftf2_resolve): Likewise.
1245 (__trunctfkf2_resolve): Likewise.
1246
1247 PR libgcc/83103
1248 * config/rs6000/quad-float128.h (TF): Don't define if long double
1249 is IEEE 128-bit floating point.
1250 (TCtype): Define as either TCmode or KCmode, depending on whether
1251 long double is IEEE 128-bit floating point.
1252 (__mulkc3_sw): Add declarations for software/hardware versions of
1253 complex multiply/divide.
1254 (__divkc3_sw): Likewise.
1255 (__mulkc3_hw): Likewise.
1256 (__divkc3_hw): Likewise.
1257 * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
1258 handlers to switch between using software emulation and hardware
1259 float128 instructions, build the complex multiply/divide functions
1260 for both software and hardware support.
1261 * config/rs6000/_divkc3.c (_divkc3): Likewise.
1262 * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
1263 (__divkc3_resolve): Likewise.
1264 (__mulkc3): Likewise.
1265 (__divkc3): Likewise.
1266 * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
1267 (fp128_hw_src): Likewise.
1268 (fp128_hw_static_obj): Likewise.
1269 (fp128_hw_shared_obj): Likewise.
1270 (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
1271 _mulkc3.c and _divkc3.c, changing the function name.
1272 (_divkc3-hw.c): Likewise.
1273 * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
1274 and _divkc3-hw.c.
1275
c234d831
UB
12762017-11-26 Julia Koval <julia.koval@intel.com>
1277
1278 * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
1279 * config/i386/cpuinfo.h (processor_subtypes): Add
1280 INTEL_COREI7_CANNONLAKE.
1281
1ebafce0
IT
12822017-11-20 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1283
1284 PR bootstrap/83015
1285 * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
1286 parameter.
1287 * config/xtensa/unwind-dw2-xtensa.c: Likewise
1288 * config/ia64/unwind-ia64.c: Add frames parameter.
1289 * unwind-sjlj.c: Likewise.
1290
6a10fff4
IT
12912017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1292
1293 * config/i386/linux-unwind.h: Include
1294 config/i386/shadow-stack-unwind.h.
1295 * config/i386/shadow-stack-unwind.h: New file.
1296 * unwind-dw2.c: (uw_install_context): Add a frame parameter and
1297 pass it to _Unwind_Frames_Extra.
1298 * unwind-generic.h (_Unwind_Frames_Extra): New.
1299 * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
1300 parameter. Add local variable frames to count number of frames.
1301 (_Unwind_ForcedUnwind_Phase2): Likewise.
1302 (_Unwind_RaiseException): Add local variable frames to count
1303 number of frames, pass it to _Unwind_RaiseException_Phase2 and
1304 uw_install_context.
1305 (_Unwind_ForcedUnwind): Likewise.
1306 (_Unwind_Resume): Likewise.
1307 (_Unwind_Resume_or_Rethrow): Likewise.
1308
1ecae1fc
IT
13092017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1310
1311 * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
1312 (CET_FLAGS): New.
1313 * config/i386/morestack.S: Include <cet.h>.
1314 (__morestack_large_model): Add _CET_ENDBR at function entrance.
1315 * config/i386/resms64.h: Include <cet.h>.
1316 * config/i386/resms64f.h: Likewise.
1317 * config/i386/resms64fx.h: Likewise.
1318 * config/i386/resms64x.h: Likewise.
1319 * config/i386/savms64.h: Likewise.
1320 * config/i386/savms64f.h: Likewise.
1321 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
1322 (CRTSTUFF_T_CFLAGS): Likewise.
1323 * configure.ac: Include ../config/cet.m4.
1324 Set and substitute CET_FLAGS.
1325 * configure: Regenerated.
1326
f021f1d3
RO
13272017-11-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1328
1329 * config.host (*-*-solaris2*): Adapt comment for Solaris 12
1330 renaming.
1331 * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
1332 * configure.ac (libgcc_cv_solaris_crts): Likewise.
1333 * configure: Regenerate.
1334
65f480c7
TV
13352017-11-07 Tom de Vries <tom@codesourcery.com>
1336
1337 * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
1338 after "do {} while (0)".
1339
2a321acb
TV
13402017-11-07 Tom de Vries <tom@codesourcery.com>
1341
1342 PR other/82784
1343 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
1344 semicolon after "do {} while (0)".
1345 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1346 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1347 * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1348 * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1349
59fcf6c3
AT
13502017-11-04 Andreas Tobler <andreast@gcc.gnu.org>
1351
1352 PR libgcc/82635
1353 * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
1354 sysctl to determine whether we're in a trampoline.
1355 Keep the pattern matching method for systems without
1356 KERN_PROC_SIGTRAMP sysctl.
1357
b0c7ddf8
CM
13582017-11-03 Cupertino Miranda <cmiranda@synopsys.com>
1359 Vineet Gupta <vgupta@synopsys.com>
1360
1361 * config.host (arc*-*-linux*): Set md_unwind_header variable.
1362 * config/arc/linux-unwind-reg.def: New file.
1363 * config/arc/linux-unwind-reg.h: Likewise.
1364
5feee954
SP
13652017-10-23 Sebastian Perta <sebastian.perta@renesas.com>
1366
1367 * config/rl78/subdi3.S: New assembly file.
1368 * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
1369
a0bf6cf7
SP
13702017-10-13 Sebastian Perta <sebastian.perta@renesas.com>
1371
1372 * config/rl78/adddi3.S: New assembly file.
1373 * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
1374
e7176f75
JJ
13752017-10-13 Jakub Jelinek <jakub@redhat.com>
1376
1377 PR target/82274
1378 * libgcc2.c (__mulvDI3): If both operands have
1379 the same highpart of -1 and the topmost bit of lowpart is 0,
1380 multiplication overflows even if both lowparts are 0.
1381
db6601d2
JB
13822017-09-28 James Bowman <james.bowman@ftdichip.com>
1383
1384 * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
1385
938b6f1e
JM
13862017-09-26 Joseph Myers <joseph@codesourcery.com>
1387
1388 * config/microblaze/crti.S, config/microblaze/crtn.S,
1389 config/microblaze/divsi3.S, config/microblaze/moddi3.S,
1390 config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
1391 config/microblaze/mulsi3.S,
1392 config/microblaze/stack_overflow_exit.S,
1393 config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
1394 config/pa/milli64.S: Add .note.GNU-stack section.
1395
89762a83
DS
13962017-09-23 Daniel Santos <daniel.santos@pobox.com>
1397
1398 * configure.ac: Add Check for HAVE_AS_AVX.
1399 * config.in: Regenerate.
1400 * configure: Likewise.
1401 * config/i386/i386-asm.h: Include auto-target.h from libgcc.
1402 (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
1403 Correct out-of-date comments.
1404
cace2309
SP
14052017-09-20 Sebastian Peryt <sebastian.peryt@intel.com>
1406
1407 * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
1408 * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
1409
3cb626e4
DS
14102017-09-17 Daniel Santos <daniel.santos@pobox.com>
1411
cace2309 1412 * config/i386/i386-asm.h (PASTE2): New macro.
3cb626e4
DS
1413 (ASMNAME): Modify to use PASTE2.
1414 (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
1415 (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
cace2309 1416 * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
3cb626e4 1417 instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
cace2309
SP
1418 * config/i386/resms64f.S: Likewise.
1419 * config/i386/resms64fx.S: Likewise.
1420 * config/i386/resms64x.S: Likewise.
1421 * config/i386/savms64.S: Likewise.
1422 * config/i386/savms64f.S: Likewise.
1423 * config/i386/avx_resms64.S: New file that only defines a macro and
3cb626e4 1424 includes it's corresponding header file.
cace2309
SP
1425 * config/i386/avx_resms64f.S: Likewise.
1426 * config/i386/avx_resms64fx.S: Likewise.
1427 * config/i386/avx_resms64x.S: Likewise.
1428 * config/i386/avx_savms64.S: Likewise.
1429 * config/i386/avx_savms64f.S: Likewise.
1430 * config/i386/sse_resms64.S: Likewise.
1431 * config/i386/sse_resms64f.S: Likewise.
1432 * config/i386/sse_resms64fx.S: Likewise.
1433 * config/i386/sse_resms64x.S: Likewise.
1434 * config/i386/sse_savms64.S: Likewise.
1435 * config/i386/sse_savms64f.S: Likewise.
1436 * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
3cb626e4 1437
2f19c491 14382017-09-01 Olivier Hainque <hainque@adacore.com>
2f19c491
OH
1439 * config.host (*-*-vxworks7): Widen scope to vxworks7*.
1440
611e7036
OH
14412017-08-31 Olivier Hainque <hainque@adacore.com>
1442
1443 * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
1444 match as powerpc-wrs-vxworks*.
1445
c8f34527
JY
14462017-08-07 Jonathan Yong <10walls@gmail.com>
1447
1448 * config.host (*-cygwin): Include file from mingw
1449 config/i386/enable-execute-stack-mingw32.c
1450
0b458d2b 14512017-08-01 Jerome Lambourg <lambourg@adacore.com>
92a285c1
ML
1452 Doug Rupp <rupp@adacore.com>
1453 Olivier Hainque <hainque@adacore.com>
0b458d2b
JL
1454
1455 * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
1456 as well as arm-wrs-vxworks.
1457 * config/arm/t-vxworks7: New file. Add unwind-arm-vxworks.c to
1458 LIB2ADDEH.
1459 * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
1460 __exidx_start and __exidx_end for downloadable modules.
1461
4df612fa
OH
14622017-08-01 Olivier Hainque <hainque@adacore.com>
1463
1464 * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
1465 * config/t-vxworks7: Likewise.
1466
5560e8c0
OH
14672017-08-01 Olivier Hainque <hainque@adacore.com>
1468
1469 * config/t-vxworks: Instead of redefining LIB2ADD,
1470 augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
1471
16bab95a
SH
14722017-07-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1473
1474 * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
1475
9cbc07cc
DS
14762017-07-24 Daniel Santos <daniel.santos@pobox.com>
1477
1478 PR testsuite/80759
1479 * config.host: include i386/t-msabi for darwin and solaris.
1480 * config/i386/i386-asm.h
1481 (ELFFN): Rename to FN_TYPE.
1482 (FN_SIZE): New macro.
1483 (FN_HIDDEN): Likewise.
1484 (ASMNAME): Likewise.
1485 (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
1486 .globl.
1487 (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
1488 (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
1489 * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
1490 .macro.
1491 * config/i386/resms64f.S: Likewise.
1492 * config/i386/resms64fx.S: Likewise.
1493 * config/i386/resms64x.S: Likewise.
1494 * config/i386/savms64.S: Likewise.
1495 * config/i386/savms64f.S: Likewise.
1496
de742204
JM
14972017-07-19 John Marino <gnugcc@marino.st>
1498
1499 * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
1500
3787ee47
MM
15012017-07-12 Michael Meissner <meissner@linux.vnet.ibm.com>
1502
1503 PR target/81193
1504 * configure.ac (PowerPC float128 hardware support): Test whether
1505 we can use __builtin_cpu_supports before enabling the ifunc
1506 handler.
1507 * configure: Regenerate.
1508
b1938888
VG
15092017-07-10 Vineet Gupta <vgupta@synopsys.com>
1510
1511 * config.host: Remove uclibc from arc target spec.
1512
bec75e53
KW
15132017-07-09 Krister Walfridsson <krister.walfridsson@gmail.com>
1514
1515 * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
1516
d4391a62
PB
15172017-07-07 Peter Bergner <bergner@vnet.ibm.com>
1518
1519 * config/rs6000/float128-ifunc.c: Don't include auxv.h.
1520 (have_ieee_hw_p): Delete function.
1521 (SW_OR_HW) Use __builtin_cpu_supports().
1522
9296dd9b
TP
15232017-07-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
1524
1525 * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
1526
b85a969e
OH
15272017-07-03 Olivier Hainque <hainque@adacore.com>
1528
d4391a62 1529 * config/t-vxworks7: New file, really.
b85a969e 1530
883312dc
JM
15312017-06-28 Joseph Myers <joseph@codesourcery.com>
1532
1533 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
1534 config/alpha/linux-unwind.h (alpha_fallback_frame_state),
1535 config/bfin/linux-unwind.h (bfin_fallback_frame_state),
1536 config/i386/linux-unwind.h (x86_64_fallback_frame_state,
1537 x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
1538 uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
1539 config/pa/linux-unwind.h (pa32_fallback_frame_state),
1540 config/riscv/linux-unwind.h (riscv_fallback_frame_state),
1541 config/sh/linux-unwind.h (sh_fallback_frame_state),
1542 config/tilepro/linux-unwind.h (tile_fallback_frame_state),
1543 config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
1544 ucontext_t instead of struct ucontext.
1545
50567938
JL
15462017-06-27 Jerome Lambourg <lambourg@adacore.com>
1547
1548 * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
1549 (x86_64-wrs-vxworks7): Likewise.
1550
e4b0df93
OH
15512017-06-27 Olivier Hainque <hainque@adacore.com>
1552
1553 * config/t-vxworks7: New file.
1554 * config.host (*-*-vxworks7): Use it.
1555
60edf8bb
MT
15562017-06-22 Matt Turner <mattst88@gmail.com>
1557
1558 * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
1559 skylake case.
1560
a51a76e5
RB
15612017-06-21 Richard Biener <rguenther@suse.de>
1562
1563 PR gcov-profile/81080
1564 * configure.ac: Add AC_SYS_LARGEFILE.
1565 * libgcov.h: Include auto-target.h before tsystem.h to pick
1566 up _FILE_OFFSET_BITS which might differ for multilibs.
1567 * config.in: Regenerate.
1568 * configure: Likewise.
1569
f0cd49c5
RE
15702017-06-16 Richard Earnshaw <rearnsha@arm.com>
1571
1572 * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
1573
4f751c54
ML
15742017-06-09 Martin Liska <mliska@suse.cz>
1575
1576 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
1577 Reset __gcov_indirect_call_callee to NULL.
1578
1ac644c8
OH
15792017-06-08 Olivier Hainque <hainque@adacore.com>
1580
1581 * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
1582 the set of -I options, support for direct inclusions of net/uio.h
1583 by VxWorks header files via ioLib.h.
1584
d8b9cd27
TR
15852017-06-07 Tony Reix <tony.reix@atos.net>
1586 Matthieu Sarter <matthieu.sarter.external@atos.net>
1587 David Edelsohn <dje.gcc@gmail.com>
1588
92a285c1
ML
1589 * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
1590 unconditionally.
1591 (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support. Add 32-bit
1592 AIX 7.2 support.
d8b9cd27 1593
38a75ccc
OH
15942017-06-02 Olivier Hainque <hainque@adacore.com>
1595
1596 * config/vxlib.c (__gthread_once): Add missing value to
1597 return statement.
1598
5b2edf53
OH
15992017-05-30 Olivier Hainque <hainque@adacore.com>
1600
1601 * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
1602 dollar sign before $(MULTIDIR).
1603
7d66e265
RH
16042017-05-26 Richard Henderson <rth@redhat.com>
1605
1606 PR libgcc/80037
1607 * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
1608
78eca309
AT
16092017-05-17 Andreas Tobler <andreast@gcc.gnu.org>
1610
1611 * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
1612 _Unwind_SetIP available as functions for arm*-*-freebsd*.
1613 * config/arm/unwind-arm.c: Implement the above.
1614
c39d309a
AZ
16152017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1616
1617 * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
1618 section for a non-executable stack.
1619
eac8c9f2
KW
16202017-05-14 Krister Walfridsson <krister.walfridsson@gmail.com>
1621
1622 PR target/80600
1623 * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
1624
d6d4d770
DS
16252017-05-14 Daniel Santos <daniel.santos@pobox.com>
1626
1627 * config.host: Add i386/t-msabi to i386/t-linux file list.
1628 * config/i386/i386-asm.h: New file.
1629 * config/i386/resms64.S: New file.
1630 * config/i386/resms64f.S: New file.
1631 * config/i386/resms64fx.S: New file.
1632 * config/i386/resms64x.S: New file.
1633 * config/i386/savms64.S: New file.
1634 * config/i386/savms64f.S: New file.
1635 * config/i386/t-msabi: New file.
1636
8ef2b9a7
AT
16372017-05-09 Andreas Tobler <andreast@gcc.gnu.org>
1638
1639 * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
1640 arm*-*-freebsd* instead of the t-slibgcc-libgcc.
1641
7ab8766a
JC
16422017-05-05 Joshua Conner <joshconner@google.com>
1643
1644 * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
1645 pc-relative indirect handling for fuchsia.
1646 * config/t-slibgcc-fuchsia: New file.
1647 * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
d6d4d770 1648 x86_64-*-fuchsia*): Add definitions.
7ab8766a 1649
46928a8f
ML
16502017-04-19 Martin Liska <mliska@suse.cz>
1651
1652 PR gcov-profile/80435
1653 * Makefile.in: Install gcov.h.
1654 * gcov.h: New file.
1655 * libgcov.h: Use the header and make __gcov_flush publicly
1656 visible.
1657
63971184
ML
16582017-04-18 Martin Liska <mliska@suse.cz>
1659
1660 PR gcov-profile/78783
1661 * libgcov-driver.c (gcov_get_filename): New function.
1662
29d8aae6
JL
16632017-04-07 Jeff Law <law@redhat.com>
1664
1665 * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
1666 target makefile fragment.
1667 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
1668
2bdf7fc6
AM
16692017-04-07 Alan Modra <amodra@gmail.com>
1670
1671 PR target/45053
1672 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
1673
5764ee3c
JW
16742017-04-03 Jonathan Wakely <jwakely@redhat.com>
1675
1676 * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
1677
c4192ad7
CZ
16782017-03-27 Claudiu Zissulescu <claziss@synopsys.com>
1679
1680 * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
1681
4ccfdb28
JM
16822017-03-10 John Marino <gnugcc@marino.st>
1683
1684 * config/aarch64/freebsd-unwind.h: New file.
1685 * config.host: Add aarch64-*-freebsd unwinder.
1686
4144e4e3
SB
16872017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
1688
1689 * config/rs6000/crtrestvr.s: Use .machine altivec.
1690 * config/rs6000/crtsavevr.s: Ditto.
1691
7502c597
SB
16922017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
1693
1694 * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
1695 modify CFLAGS. Add -mabi=altivec -mvsx -mfloat128.
1696 (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
1697 -mfloat128-hardware to the CFLAGS. Fix syntax error in the C snippet.
1698 * configure: Regenerate.
1699 * config.in: Regenerate.
1700
db9f7f65
JY
17012017-03-02 Jonathan Yong <10walls@gmail.com>
1702
1703 * config/i386/gthr-win32.h: Define NOGDI before
1704 windows.h include to prevent w32api CC_NONE macro
1705 clash with libgfortran.
1706
126437c5
JY
17072017-03-02 Jonathan Yong <10walls@gmail.com>
1708
1709 * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
1710
31927af6
AP
17112017-02-16 Andrew Pinski <apinski@cavium.com>
1712
1713 * config/aarch64/value-unwind.h: New file.
1714 * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
1715 to tm_file.
1716
0bd99911
PD
17172017-02-06 Palmer Dabbelt <palmer@dabbelt.com>
1718
1719 * config.host: Add RISC-V tuples.
1720 * config/riscv/atomic.c: New file.
1721 * config/riscv/crti.S: Likewise.
1722 * config/riscv/crtn.S: Likewise.
1723 * config/riscv/div.S: Likewise.
1724 * config/riscv/linux-unwind.h: Likewise.
1725 * config/riscv/muldi3.S: Likewise.
1726 * config/riscv/multi3.S: Likewise.
1727 * config/riscv/save-restore.S: Likewise.
1728 * config/riscv/sfp-machine.h: Likewise.
1729 * config/riscv/t-elf: Likewise.
1730 * config/riscv/t-elf32: Likewise.
1731 * config/riscv/t-elf64: Likewise.
1732 * config/riscv/t-softfp32: Likewise.
1733 * config/riscv/t-softfp64: Likewise.
1734
a8c9ef2a
JJ
17352017-01-24 Jakub Jelinek <jakub@redhat.com>
1736
1737 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
1738 /* FALLTHRU */ comments.
1739
c6c82710
GP
17402017-01-21 Gerald Pfeifer <gerald@pfeifer.com>
1741
1742 * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
1743
a876231c
JW
17442017-01-20 Jiong Wang <jiong.wang@arm.com>
1745
1746 * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
1747 * unwind-dw2.c (execute_cfa_program): Only multiplexing
1748 DW_CFA_GNU_window_save for AArch64 and LP64.
1749
aa348be2
JW
17502017-01-20 Jiong Wang <jiong.wang@arm.com>
1751
1752 * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
1753
5636faf2
JW
17542017-01-19 Jiong Wang <jiong.wang@arm.com>
1755
1756 * config/aarch64/aarch64-unwind.h: New file.
1757 (DWARF_REGNUM_AARCH64_RA_STATE): Define.
1758 (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
1759 (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
1760 (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
1761 (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
1762 (aarch64_post_extract_frame_addr): New function.
1763 (aarch64_post_frob_eh_handler_addr): New function.
1764 (aarch64_frob_update_context): New function.
1765 * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
1766 * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
1767 aarch64*-*-freebsd*):
1768 Initialize md_unwind_header to include aarch64-unwind.h.
1769 * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
1770 (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
1771 __aarch64__.
1772 (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
1773 (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
1774 (uw_frob_return_addr): New function.
1775 (uw_install_context): Use uw_frob_return_addr.
1776
3c36aa6b
JJ
17772017-01-17 Jakub Jelinek <jakub@redhat.com>
1778
1779 PR other/79046
1780 * configure.ac: Add GCC_BASE_VER.
1781 * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
1782 version from BASE-VER file.
1783 * configure: Regenerated.
1784
829afb8f
JS
17852017-01-13 Joe Seymour <joe.s@somniumtech.com>
1786
1787 * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
1788 libmul_f5.a): Filter archived prerequisites.
1789
79fc8ffe
AS
17902017-01-10 Andrew Senkevich <andrew.senkevich@intel.com>
1791
1792 * config/i386/cpuinfo.h (processor_features): Add
1793 FEATURE_AVX512VPOPCNTDQ.
1794 * config/i386/cpuinfo.c (get_available_features): Habdle new
1795 feature.
1796
fec5f4e0
JM
17972017-01-04 Joseph Myers <joseph@codesourcery.com>
1798
1799 * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
1800 payload if [__mips_nan2008].
1801
8f56cb51
AM
18022017-01-04 Alan Modra <amodra@gmail.com>
1803
1804 * Makefile.in (configure_deps): Update.
1805 * configure: Regenerate.
1806
cbe34bb5
JJ
18072017-01-01 Jakub Jelinek <jakub@redhat.com>
1808
1809 Update copyright years.
1810
ab955692
KW
18112016-12-19 Krister Walfridsson <krister.walfridsson@gmail.com>
1812
1813 * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
1814 * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
1815 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
1816
de34320f
MK
18172016-12-17 Matthias Klose <doko@ubuntu.com>
1818
1819 * config/arc/gmon: Remove empty directory.
1820
e04ea1da
CZ
18212016-12-16 Claudiu Zissulescu <claziss@synopsys.com>
1822
1823 * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
1824 crtgend.
1825 (arc*-*-elf*): Likewise.
1826 * config/arc/t-arc: Remove old gmon lib targets.
1827 * config/arc/crtg.S: Remove.
1828 * config/arc/crtgend.S: Likewise.
1829 * config/arc/gmon/atomic.h: Likewise.
1830 * config/arc/gmon/auxreg.h: Likewise.
1831 * config/arc/gmon/dcache_linesz.S: Likewise.
1832 * config/arc/gmon/gmon.c: Likewise.
1833 * config/arc/gmon/machine-gmon.h: Likewise.
1834 * config/arc/gmon/mcount.c: Likewise.
1835 * config/arc/gmon/prof-freq-stub.S: Likewise.
1836 * config/arc/gmon/prof-freq.c: Likewise.
1837 * config/arc/gmon/profil.S: Likewise.
1838 * config/arc/gmon/sys/gmon.h: Likewise.
1839 * config/arc/gmon/sys/gmon_out.h: Likewise.
1840 * config/arc/t-arc-newlib: Likewise.
1841 * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
1842
8ae1c2c1
GS
18432016-12-12 George Spelvin <linux@sciencehorizons.net>
1844
1845 * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
1846
a5b947fa
GS
18472016-12-12 George Spelvin <linux@sciencehorizons.net>
1848
1849 * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
1850 R16 instead of push + pop.
1851 (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
1852
d6574dd1
KW
18532016-12-10 Krister Walfridsson <krister.walfridsson@gmail.com>
1854
1855 * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
1856 tmake_file.
1857
62440b4f
CM
18582016-12-05 Cupertino Miranda <cmiranda@synopsys.com>
1859
1860 * config.host (arc*-*-linux-uclibc*): Use default extra
1861 objects. Include linux-android header.
1862 * config/arc/crti.S (_init): Declare symbol as function.
1863 (_fini): Likewise.
1864
31cfd832
TK
18652016-12-03 Thomas Koenig <tkoenig@gcc.gnu.org>
1866
1867 PR fortran/78379
1868 * config/i386/cpuinfo.c: Move denums for processor vendors,
1869 processor type, processor subtypes and declaration of
1870 struct __processor_model into
1871 * config/i386/cpuinfo.h: New header file.
1872
c92e08e3
AV
18732016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
1874 Thomas Preud'homme <thomas.preudhomme@arm.com>
1875
1876 * config/arm/cmse_nonsecure_call.S: New.
1877 * config/arm/t-arm: Compile cmse_nonsecure_call.S
1878
de7b5723
AV
18792016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
1880 Thomas Preud'homme <thomas.preudhomme@arm.com>
1881
1882 * config/arm/t-arm (HAVE_CMSE): New.
1883 * config/arm/cmse.c: New.
1884
7a0d2bce
TP
18852016-11-28 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
1886
b3a5bff4
TP
1887 PR gcc/74748
1888 * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
1889 use generic linker version information on Blackfin.
1890
7a0d2bce
TP
1891 PR gcc/74748
1892 * libgcc/mkmap-symver.awk: add support for skip_underscore
1893
b410cf1d
IS
18942016-11-27 Iain Sandoe <iain@codesourcery.com>
1895 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1896
1897 PR target/67710
1898 * config/t-darwin: Default builds to 10.5 codegen.
1899
2e5f8203
JG
19002016-11-24 James Greenhalgh <james.greenhalgh@arm.com>
1901
1902 * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
1903 (_FP_NANSIGN_H): Likewise.
1904 * config/aarch64/t-softfp (softfp_extensions): Add hftf.
1905 (softfp_truncations): Add tfhf.
1906 (softfp_extras): Add required conversion functions.
1907
bea64ca3
JG
19082016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
1909 Matthew Wahab <matthew.wahab@arm.com>
1910
1911 * config/arm/fp16.c (binary64): New.
1912 (__gnu_d2h_internal): New.
1913 (__gnu_d2h_ieee): New.
1914 (__gnu_d2h_alternative): New.
1915
8630cadb
JG
19162016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
1917 Matthew Wahab <matthew.wahab@arm.com>
1918
1919 * config/arm/fp16.c (struct format): New.
1920 (binary32): New.
1921 (__gnu_float2h_internal): New. Body moved from
1922 __gnu_f2h_internal and generalize.
1923 (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
1924 Call it with binary32.
1925
5823ef23
JG
19262016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
1927
1928 * soft-fp/extendhftf2.c: Update from glibc.
1929 * soft-fp/fixhfti.c: Likewise.
1930 * soft-fp/fixunshfti.c: Likewise.
1931 * soft-fp/floattihf.c: Likewise.
1932 * soft-fp/floatuntihf.c: Likewise.
1933 * soft-fp/half.h: Likewise.
1934 * soft-fp/trunctfhf2.c: Likewise.
1935
62a7df9f
MG
19362016-11-20 Marc Glisse <marc.glisse@inria.fr>
1937
1938 PR libgcc/77813
1939 * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
1940 __TMC_END__ behind a passthrough asm.
1941
7a384912
WL
19422016-11-18 Walter Lee <walt@tilera.com>
1943
62a7df9f 1944 * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
7a384912 1945
9775c1a5
L
19462016-11-17 Andrew Senkevich <andrew.senkevich@intel.com>
1947
1948 * config/i386/cpuinfo.c (processor_features): Add
1949 FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
1950
48c842ab
CZ
19512016-11-17 Claudiu Zissulescu <claziss@synopsys.com>
1952
1953 * config/arc/dp-hack.h (ARC_OPTFPE): Define.
1954 (__ARC_NORM__): Use instead ARC_OPTFPE.
1955 * config/arc/fp-hack.h: Likewise.
1956 * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
1957 (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
1958
5012919d
AM
19592016-11-16 Alexander Monakov <amonakov@ispras.ru>
1960
1961 * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
1962 * config/nvptx/mgomp.c: New file.
1963 * config/nvptx/t-nvptx: Add mgomp.c
1964
00178b98
WB
19652016-11-16 Waldemar Brodkorb <wbx@openadk.org>
1966
1967 PR libgcc/68468
1968 * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
1969
d64af69f
CZ
19702016-11-15 Claudiu Zissulescu <claziss@synopsys.com>
1971
1972 * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
1973 of checking for cpus.
1974 (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
1975 (__modsi3, __clzsi2): Likewise.
1976
9d8f95de
SN
19772016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
1978
1979 * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
1980 i386/t-cpuinfo-static instead of i386/t-cpuinfo.
1981 * config/i386/t-cpuinfo-static: New.
1982
7d29f8e3
ML
19832016-11-03 Martin Liska <mliska@suse.cz>
1984
1985 * libgcov-profiler.c (__gcov_time_profiler): Remove.
1986 (__gcov_time_profiler_atomic): Likewise.
1987
5de3e2d8
BE
19882016-11-03 Bernd Edlinger <bernd.edlinger@hotmail.de>
1989
1990 PR libgcc/78067
1991 * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
1992 count_leading_zeros.
1993
18362447
UB
19942016-11-02 Uros Bizjak <ubizjak@gmail.com>
1995
1996 * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
1997 * libgcc2.c (__divmoddi4): New function.
1998 * libgcc2.h (__divmoddi4): Declare.
1999 * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
2000 and __PFX_divmodti4.
2001
33107571
FW
20022016-10-24 Florian Weimer <fweimer@redhat.com>
2003
2004 PR libgcc/78064
2005 * unwind-c.c: Include auto-target.h.
2006
4c6d7494
JDA
20072016-10-19 John David Anglin <danglin@gcc.gnu.org>
2008
18362447 2009 * config/pa/pa64-hpux-lib.h: New file.
4c6d7494
JDA
2010 (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
2011 (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
2012 * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
2013 hppa*64*-*-hpux11*.
2014
2a26adf1
MF
20152016-10-18 Max Filippov <jcmvbkbc@gmail.com>
2016
2017 * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
2018 definition.
2019 * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
2020 definition.
2021 * config/xtensa/t-windowed (LIB2ADDEH): Use
2022 LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
2023 or xtensa/t-linux.
2024
66192aa1
DKC
20252016-10-18 Ding-Kai Chen <dkchen@cadence.com>
2026
2027 * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
2028 __ieee754_sqrt): New functions.
2029 (__divdf3): Add implementation with new FPU instructions under
2030 #if XCHAL_HAVE_DFP_DIV.
2031 * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
2032 __ieee754_sqrtf): New functions.
2033 (__divsf3): Add implementation with new FPU instructions under
2034 #if XCHAL_HAVE_FP_DIV.
2035 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
2036 _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
2037
4d0cdd0c
TP
20382016-10-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
2039
2040 * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
2041 equivalent.
2042 * config/tilepro/atomic.c: Likewise and stop casting model to
2043 enum memmodel.
2044
73f01cca
JM
20452016-10-10 Joseph Myers <joseph@codesourcery.com>
2046
2047 PR target/77586
2048 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
2049 soft-fp.
2050
b20e7532
AT
20512016-10-10 Andreas Tobler <andreast@gcc.gnu.org>
2052
2053 * config.host: Add support for aarch64-*-freebsd*.
2054
a786cec4
AS
20552016-10-05 Andreas Schwab <schwab@suse.de>
2056
2057 * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
2058 (.section .init_array): Don't call __do_jv_register_classes.
2059 (.section .init): Likewise.
2060
5a79befb
JJ
20612016-10-04 Jakub Jelinek <jakub@redhat.com>
2062
2063 * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
2064 (__JCR_LIST__): Remove.
2065 (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
2066 * config/i386/cygming-crtend.c (__JCR_END__): Remove.
2067 * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
2068 * config/ia64/crtend.S (__JCR_END__): Remove.
2069 * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
2070 conditionals.
2071 (__JCR_LIST__, __JCR_END__): Remove.
2072 (frame_dummy): Don't attempt to _Jv_RegisterClasses.
2073 (__do_global_ctors_1): Likewise.
2074
e0ab3753
UB
20752015-09-28 Uros Bizjak <ubizjak@gmail.com>
2076
2077 * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
2078 (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
2079
8c9434c2
ML
20802016-09-27 Martin Liska <mliska@suse.cz>
2081
2082 PR gcov-profile/7970
2083 PR gcov-profile/16855
2084 PR gcov-profile/44779
2085 * libgcov-driver.c (__gcov_init): Do not register a atexit
2086 handler.
2087 (__gcov_exit): Rename from gcov_exit.
2088 * libgcov.h (__gcov_exit): Declare.
2089
56b653f1
ML
20902016-09-27 Martin Liska <mliska@suse.cz>
2091
2092 PR bootstrap/77749
2093 * Makefile.in: Remove _gcov_merge_delta.
2094 * libgcov-merge.c (void __gcov_merge_delta): Remove.
2095 * libgcov-util.c (__gcov_delta_counter_op): Remove.
2096 * libgcov.h: Remove declaration of __gcov_merge_delta.
2097
7e02fd1b
EB
20982016-09-21 Eric Botcazou <ebotcazou@adacore.com>
2099
2100 * configure.ac: Do not create links, only substitute the filenames.
2101 * configure: Regenerate.
2102 * Makefile.in: Assign the substitution results to variables.
2103 (LIBGCC_LINKS): Define.
2104 (enable-execute-stack.c): New rule.
2105 (unwind.h): Likewise.
2106 (md-unwind-support.h): Likewise.
2107 (sfp-machine.h): Likewise.
2108 (gthr-default.h): Likewise.
2109 Add $(LIBGCC_LINKS) to the prerequisites of all object files and
2110 unwind.h as prerequisite of install-unwind_h-forbuild.
2111
29991048
JJ
21122016-09-16 Jakub Jelinek <jakub@redhat.com>
2113
2114 PR libgcc/71744
2115 * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
2116 is not the primary registry and atomics are available.
2117 (any_objects_registered): New variable.
2118 (__register_frame_info_bases, __register_frame_info_table_bases):
2119 Atomically store 1 to any_objects_registered after registering first
2120 unwind info.
2121 (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
2122
0abcd6cc
JG
21232016-09-09 James Greenhalgh <james.greenhalgh@arm.com>
2124
2125 PR target/63250
2126 * Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
2127 * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
2128 (HFtype): Likewise.
2129 (HCtype): Likewise.
2130 (__divhc3): Likewise.
2131 (__mulhc3): Likewise.
2132 * libgcc2.c: Support _mulhc3 and _divhc3.
2133
d758aeb5
JM
21342016-09-07 Joseph Myers <joseph@codesourcery.com>
2135
2136 PR libgcc/77519
2137 * libgcc2.c (NOTRUNC): Invert settings.
2138
7fe76f6a
ML
21392016-09-06 Martin Liska <mliska@suse.cz>
2140
2141 PR gcov-profile/77378
2142 PR gcov-profile/77466
2143 * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
2144 conditionaly enable/disable *_atomic functions.
2145
21184026
JM
21462016-08-26 Joseph Myers <joseph@codesourcery.com>
2147
2148 * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
2149 where not already enabled.
2150
726f49c3
SN
21512016-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
2152
2153 * config/mips/linux-unwind.h: Use sys/syscall.h.
2154
feeb6268
JM
21552016-08-16 Joseph Myers <joseph@codesourcery.com>
2156
2157 PR libgcc/77265
2158 * soft-fp/adddf3.c: Update from glibc.
2159 * soft-fp/addsf3.c: Likewise.
2160 * soft-fp/addtf3.c: Likewise.
2161 * soft-fp/divdf3.c: Likewise.
2162 * soft-fp/divsf3.c: Likewise.
2163 * soft-fp/divtf3.c: Likewise.
2164 * soft-fp/double.h: Likewise.
2165 * soft-fp/eqdf2.c: Likewise.
2166 * soft-fp/eqsf2.c: Likewise.
2167 * soft-fp/eqtf2.c: Likewise.
2168 * soft-fp/extenddftf2.c: Likewise.
2169 * soft-fp/extended.h: Likewise.
2170 * soft-fp/extendsfdf2.c: Likewise.
2171 * soft-fp/extendsftf2.c: Likewise.
2172 * soft-fp/extendxftf2.c: Likewise.
2173 * soft-fp/fixdfdi.c: Likewise.
2174 * soft-fp/fixdfsi.c: Likewise.
2175 * soft-fp/fixdfti.c: Likewise.
2176 * soft-fp/fixsfdi.c: Likewise.
2177 * soft-fp/fixsfsi.c: Likewise.
2178 * soft-fp/fixsfti.c: Likewise.
2179 * soft-fp/fixtfdi.c: Likewise.
2180 * soft-fp/fixtfsi.c: Likewise.
2181 * soft-fp/fixtfti.c: Likewise.
2182 * soft-fp/fixunsdfdi.c: Likewise.
2183 * soft-fp/fixunsdfsi.c: Likewise.
2184 * soft-fp/fixunsdfti.c: Likewise.
2185 * soft-fp/fixunssfdi.c: Likewise.
2186 * soft-fp/fixunssfsi.c: Likewise.
2187 * soft-fp/fixunssfti.c: Likewise.
2188 * soft-fp/fixunstfdi.c: Likewise.
2189 * soft-fp/fixunstfsi.c: Likewise.
2190 * soft-fp/fixunstfti.c: Likewise.
2191 * soft-fp/floatdidf.c: Likewise.
2192 * soft-fp/floatdisf.c: Likewise.
2193 * soft-fp/floatditf.c: Likewise.
2194 * soft-fp/floatsidf.c: Likewise.
2195 * soft-fp/floatsisf.c: Likewise.
2196 * soft-fp/floatsitf.c: Likewise.
2197 * soft-fp/floattidf.c: Likewise.
2198 * soft-fp/floattisf.c: Likewise.
2199 * soft-fp/floattitf.c: Likewise.
2200 * soft-fp/floatundidf.c: Likewise.
2201 * soft-fp/floatundisf.c: Likewise.
2202 * soft-fp/floatunditf.c: Likewise.
2203 * soft-fp/floatunsidf.c: Likewise.
2204 * soft-fp/floatunsisf.c: Likewise.
2205 * soft-fp/floatunsitf.c: Likewise.
2206 * soft-fp/floatuntidf.c: Likewise.
2207 * soft-fp/floatuntisf.c: Likewise.
2208 * soft-fp/floatuntitf.c: Likewise.
2209 * soft-fp/gedf2.c: Likewise.
2210 * soft-fp/gesf2.c: Likewise.
2211 * soft-fp/getf2.c: Likewise.
2212 * soft-fp/ledf2.c: Likewise.
2213 * soft-fp/lesf2.c: Likewise.
2214 * soft-fp/letf2.c: Likewise.
2215 * soft-fp/muldf3.c: Likewise.
2216 * soft-fp/mulsf3.c: Likewise.
2217 * soft-fp/multf3.c: Likewise.
2218 * soft-fp/negdf2.c: Likewise.
2219 * soft-fp/negsf2.c: Likewise.
2220 * soft-fp/negtf2.c: Likewise.
2221 * soft-fp/op-1.h: Likewise.
2222 * soft-fp/op-2.h: Likewise.
2223 * soft-fp/op-4.h: Likewise.
2224 * soft-fp/op-8.h: Likewise.
2225 * soft-fp/op-common.h: Likewise.
2226 * soft-fp/quad.h: Likewise.
2227 * soft-fp/single.h: Likewise.
2228 * soft-fp/soft-fp.h: Likewise.
2229 * soft-fp/subdf3.c: Likewise.
2230 * soft-fp/subsf3.c: Likewise.
2231 * soft-fp/subtf3.c: Likewise.
2232 * soft-fp/truncdfsf2.c: Likewise.
2233 * soft-fp/trunctfdf2.c: Likewise.
2234 * soft-fp/trunctfsf2.c: Likewise.
2235 * soft-fp/trunctfxf2.c: Likewise.
2236 * soft-fp/unorddf2.c: Likewise.
2237 * soft-fp/unordsf2.c: Likewise.
2238 * soft-fp/unordtf2.c: Likewise.
2239
2e6fc1ac
GG
22402016-08-15 Gilles Gouaillardet <gilles.gouaillardet@gmail.com>
2241
2242 PR gcov-profile/67097
2243 * libgcov-util.c (gcov_profile_merge): Skip missing files.
2244
a266236e
ML
22452016-08-10 Martin Liska <mliska@suse.cz>
2246
2247 PR gcov-profile/58306
2248 * Makefile.in: New functions (modules) are added.
2249 * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
2250 function.
2251 (__gcov_pow2_profiler_atomic): New function.
2252 (__gcov_one_value_profiler_body): New argument is instroduced.
2253 (__gcov_one_value_profiler): Call with the new argument.
2254 (__gcov_one_value_profiler_atomic): Likewise.
2255 (__gcov_indirect_call_profiler_v2): Likewise.
2256 (__gcov_time_profiler_atomic): New function.
2257 (__gcov_average_profiler_atomic): Likewise.
2258 (__gcov_ior_profiler_atomic): Likewise.
2259 * libgcov.h: Declare the aforementioned functions.
2260
e0c8eebf
ML
22612016-08-09 Martin Liska <mliska@suse.cz>
2262
2263 * libgcov-util.c: Fix typo and GNU coding style.
2264
6dce6418
ML
22652016-08-09 Martin Liska <mliska@suse.cz>
2266
2267 * Makefile.in: Remove __gcov_indirect_call_profiler.
2268 * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
2269 function.
2270 * libgcov.h: And the declaration of the function.
2271
dcb1e137
ML
22722016-08-09 Martin Liska <mliska@suse.cz>
2273
2274 * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
2275 power of two.
2276
d6e69705
BS
22772016-07-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
2278
2279 * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
2280 * config/rs6000/_mulkc3.c: Likewise.
2281
96aa1f95
GJL
22822016-07-29 Georg-Johann Lay <avr@gjlay.de>
2283
2284 * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
2285 zero_reg as previous call to __umulhisi3 already cleared it.
2286
a1b01d34
AJ
22872016-07-21 Aurelien Jarno <aurelien@aurel32.net>
2288
2289 PR target/59833
2290 * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
2291
985a47b2
NC
22922016-07-19 Nick Clifton <nickc@redhat.com>
2293
2294 * config.host (m32r): Add m32r/t-m32r to tmake_file.
2295 Add crtinit.o and crtfini.o to extra_parts.
2296
f906f5ed
BS
22972016-07-12 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
2298
2299 * config/rs6000/_divkc3.c: New.
2300 * config/rs6000/_mulkc3.c: New.
2301 * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
2302 and _divkc3.
2303 * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
2304 fp128_ppc_funcs.
2305
82742404
HW
23062016-07-11 Hale Wang <hale.wang@arm.com>
2307 Andre Vieira <andre.simoesdiasvieira@arm.com>
2308
2309 * config/arm/lib1funcs.S: Add new wrapper.
2310
05a437c1
TP
23112016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
2312
2313 * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
2314
3d16d9ec
TP
23152016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
2316
2317 * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
2318 and ARMv5t* rather than for a fixed list of architectures.
2319
6f493951
TP
23202016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
2321
2322 * config/arm/bpabi-v6m.S: Clarify what architectures is the
2323 implementation suitable for.
2324 * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
2325 for all Thumb-1 only targets.
2326 (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
2327 (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
2328 __ARM_ARCH_6M__.
2329 (EQUIV): Likewise.
2330 (ARM_FUNC_ALIAS): Likewise.
2331 (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
2332 version.
2333 (modsi3): Likewise.
2334 (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
2335 (clzdi2): Likewise.
2336 (ctzsi2): Likewise.
2337 (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
2338 __ARM_ARCH_6M__ in guard for checking whether it is defined.
2339 (final includes): Test for NOT_ISA_TARGET_32BIT rather than
2340 __ARM_ARCH_6M__ and add comment to indicate the connection between
2341 this condition and the one in gcc/config/arm/elf.h.
2342 * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
2343 __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
2344 * config/arm/t-softfp: Likewise.
2345
1770511a
TS
23462016-07-06 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2347
2348 * libgcc2.c (SYMBOL__MAIN): Remove checks for
2349 CTOR_LISTS_DEFINED_EXTERNALLY.
2350
ba6be749
WL
23512016-06-28 Walter Lee <walt@tilera.com>
2352
2353 * config/tilepro/atomic.h: Do not include arch/spr_def.h and
2354 asm/unistd.h.
2355 (SPR_CMPEXCH_VALUE): Define for tilegx.
2356 (__NR_FAST_cmpxchg): Define for tilepro.
2357 (__NR_FAST_atomic_update): Define for tilepro.
2358 (__NR_FAST_cmpxchg64): Define for tilepro.
2359
a34c0db5
JS
23602016-06-23 Jakub Sejdak <jakub.sejdak@phoesys.com>
2361
18362447 2362 * config.host: Add suport for arm*-*-phoenix* targets.
a34c0db5 2363
0609abda
TS
23642016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2365
2366 * config.host: Remove support for mep-*.
2367 * config/mep/lib1funcs.S: Remove.
2368 * config/mep/lib2funcs.c: Remove.
2369 * config/mep/t-mep: Remove.
2370 * config/mep/tramp.c: Remove.
2371
3e326935
TS
23722016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2373
2374 * config.host: Remove support for avr-rtems.
2375 * config/avr/t-rtems: Remove.
2376
914b155c
TS
23772016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2378
2379 * config.host: Remove m32r-rtems support.
2380
5ebf89bd
TS
23812016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2382
2383 * config.host: Remove h8300-rtems support.
2384
8466af06
TS
23852016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2386
2387 * config.host: Remove support for knetbsd.
2388
d980e738
TS
23892016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2390
2391 * config.host: Remove support for openbsd 2 and 3.
2392
ee2499b4
TS
23932016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2394
2395 * config.host: Remove interix support.
2396 * config/i386/t-interix: Remove.
2397
9f92937b
JDA
23982016-06-18 John David Anglin <danglin@gcc.gnu.org>
2399
2400 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
2401 least-significant bit in function pointer for fixup.
2402
0a0ec53d
AC
24032016-06-05 Aaron Conole <aconole@redhat.com>
2404 Nathan Sidwell <nathan@acm.org>
2405
2406 PR libgcc/71400
2407 * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
2408 (get_gcov_error_file): Check __gcov_error_file before trying to
2409 initialize it.
2410 (gcov_error): Always use get_gcov_error_file.
2411
8aa5bdd6
AC
24122016-06-02 Aaron Conole <aconole@redhat.com>
2413
2414 * libgcov-driver-system.c (__gcov_error_file): New.
2415 (get_gcov_error_file): New.
2416 (gcov_error): Use and set __gcov_error_file.
2417 (gcov_error_exit): New.
2418 * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
2419
40774faf
NS
24202016-05-26 Nathan Sidwell <nathan@acm.org>
2421
2422 * config/nvptx/free.asm: Delete.
2423 * config/nvptx/malloc.asm: Delete.
2424 * config/nvptx/realloc.c: Delete.
2425 * t-nvptx: Update.
2426
69a6d5ad
NS
24272016-05-25 Nathan Sidwell <nathan@acm.org>
2428
2429 * config/nvptx/crt0.s: Delete.
2430 * config/nvptx/crt0.c: New.
2431 * t-nvptx: Update.
2432
6befaff6
SL
24332016-05-19 Sandra Loosemore <sandra@codesourcery.com>
2434
385c7747 2435 * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
6befaff6
SL
2436 dw2/seh configuration.
2437 [x86_64-*-mingw*]: Likewise.
2438
ad251dfd
JS
24392016-05-10 Joel Sherrill <joel@rtems.org>
2440
2441 PR libgcc/70720
2442 * config.host (moxie-*-rtems*): Merge this stanza with other moxie
2443 targets so the same extra_parts are built. Also have tmake_file add
2444 on to its value rather than override.
2445
bc6d9014
OE
24462016-04-30 Oleg Endo <olegendo@gcc.gnu.org>
2447
2448 * config.host: Remove SH5 support.
2449 * configure: Likewise.
2450
9129c8cf
OE
24512016-04-29 Oleg Endo <olegendo@gcc.gnu.org>
2452
2453 * config/sh/crt1.S: Remove SH5 support.
2454 * config/sh/crti.S: Likewise.
2455 * config/sh/crtn.S: Likewise.
2456 * config/sh/lib1funcs-4-300.S: Likewise.
2457 * config/sh/lib1funcs-Os-4-200.S: Likewise.
2458 * config/sh/lib1funcs.S: Likewise.
2459 * config/sh/linux-unwind.h: Likewise.
2460 * config/sh/t-sh64: Delete.
2461
39d50464
CZ
24622016-04-29 Claudiu Zissulescu <claziss@synopsys.com>
2463
2464 * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
2465
8b48923b
CZ
24662016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
2467 Joern Rennecke <joern.rennecke@embecosm.com>
2468
2469 * config/arc/crttls.S: New file.
2470 * config/arc/t-arc: New rule.
2471 * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
2472
2de1cf8c
NC
24732016-04-25 Nick Clifton <nickc@redhat.com>
2474
2475 * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
2476 (__mspabi_cmpd): Likewise.
2477 * config/msp430/floathidf.c (__floathidf): Likewise.
2478 * config/msp430/floathisf.c (__floathisf): Likewise
2479 * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
2480 * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
2481 * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
2482 second parameter.
2483 (__ashrsi3): Likewise.
2484
b8ce3fe2
WB
24852016-04-21 Waldemar Brodkorb <wbx@openadk.org>
2486
2487 * config/m68k/linux-atomic.c: Do not include unistd.h
2488
4986f823
MG
24892016-04-20 Martin Galvan <martin.galvan@tallertechnologies.com>
2490
2491 * config/arm/ieee754-df.S: Fix typos in comments.
2492
35fbda43
MM
24932016-04-11 Michael Meissner <meissner@linux.vnet.ibm.com>
2494
2495 PR target/70381
2496 * configure.ac (powerpc*-*-linux*): Rework tests to build
2497 __float128 emulation routines to not depend on using #pragma GCC
2498 target to enable -mfloat128.
2499 * configure: Regnerate.
2500
72d1a48d
EB
25012016-04-04 Eric Botcazou <ebotcazou@adacore.com>
2502
2503 PR target/67172
2504 * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
2505 __MINGW32__ is defined.
2506
dc2e8995
JB
25072016-03-28 James Bowman <james.bowman@ftdichip.com>
2508
385c7747 2509 * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
dc2e8995 2510
104cdaf1
MM
25112016-03-22 Michael Meissner <meissner@linux.vnet.ibm.com>
2512
2513 PR libgcc/70363
2514 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
2515 built with an assembler that does not support ISA 3.0
2516 instructions, rename __extendkftf2_sw to __extendkftf2.
2517
a5046f48
RO
25182016-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2519
2520 PR target/38239
2521 * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
2522 call-clobbered registers.
2523 (internal_mcount): Remove __i386__ handling.
2524
df674f74
JS
25252016-02-26 Joel Sherrill <joel@rtems.org>
2526
2527 * config.host: Add x86_64-*-rtems*.
2528
7cb065d6
JS
25292016-02-26 Joel Sherrill <joel@rtems.org>
2530
2531 * libgcc/config.host: Add aarch64-*-rtems*.
2532
47dfdc53
PM
25332016-02-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2534 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
2535
2536 * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
2537 union of u64 and double.
2538 (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
2539 (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
2540 value.
2541 (FP_ROUNDMODE): Update the usage of _fpscr.
2542
e6861a99
IV
25432016-02-25 Ilya Verbin <ilya.verbin@intel.com>
2544
2545 PR driver/68463
2546 * Makefile.in (crtoffloadtable$(objext)): New rule.
2547 * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
2548 enable_offload_targets is not empty.
2549 * configure: Regenerate.
2550 * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
2551 crtoffloadtable.
2552
9bfcbdee
MF
25532016-02-17 Max Filippov <jcmvbkbc@gmail.com>
2554
2555 * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
2556 .literal_position before the function.
2557 * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
2558 Likewise.
2559
4cb4721f
MK
25602016-02-15 Marcin Kościelnicki <koriakin@0x04.net>
2561
2562 * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
2563 * config/s390/morestack.S: New file.
2564 * config/s390/t-stack-s390: New file.
2565 * generic-morestack.c (__splitstack_find): Add s390-specific code.
2566
b29d9a29
WL
25672016-02-12 Walter Lee <walt@tilera.com>
2568
2569 * config.host (tilegx*-*-linux*): remove ti from
2570 softfp_int_modes for 32-bit configs.
2571
03a0ae7d
ILT
25722016-02-10 Ian Lance Taylor <iant@google.com>
2573
2574 PR go/68562
2575 * config/i386/morestack.S (__stack_split_initialize): Align
2576 stack.
2577
68750bce
AT
25782016-02-03 Andreas Tobler <andreast@gcc.gnu.org>
2579
2580 PR bootstrap/69611
2581 * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
2582 __FLOAT128__ to compile only for __float128 capable targets.
2583
7d296953
JJ
25842016-01-25 Jakub Jelinek <jakub@redhat.com>
2585
2586 PR target/69444
2587 * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
2588 instead of ___NO_FPRS__.
2589
a71c0334 25902016-01-21 Michael Meissner <meissner@linux.vnet.ibm.com>
7d296953
JJ
2591 Steven Munroe <munroesj@linux.vnet.ibm.com>
2592 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
a71c0334
MM
2593
2594 * config/rs6000/float128-sed: New files to convert TF names to KF
2595 names for PowerPC IEEE 128-bit floating point support.
2596 * config/rs6000/float128-sed-hw: Likewise.
2597
2598 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
2599 floating point hardware support.
2600
2601 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
2602 128-bit floating point software emulation or use ISA 3.0 hardware
2603 support if it is available.
2604
2605 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
2606 floating point.
2607
2608 * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
2609 floating point to IBM extended double.
2610
2611 * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
2612 double to IEEE 128-bit floating point.
2613
2614 * config/rs6000/t-float128: New Makefile fragments to enable
2615 building __float128 emulation support.
2616 * config/rs6000/t-float128-hw: Likewise.
2617
2618 * config/rs6000/sfp-exceptions.c: New file to provide exception
2619 support for IEEE 128-bit floating point.
2620
2621 * config/rs6000/floattikf.c: New files for converting between IEEE
2622 128-bit floating point and signed/unsigned 128-bit integers.
2623 * config/rs6000/fixunskfti.c: Likewise.
2624 * config/rs6000/fixkfti.c: Likewise.
2625 * config/rs6000/floatuntikf.c: Likewise.
2626
2627 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
2628 when building on 64-bit systems, or when VSX is enabled.
2629 (_FP_W_TYPE): Likewise.
2630 (_FP_WS_TYPE): Likewise.
2631 (_FP_I_TYPE): Likewise.
2632 (TItype): Define on 64-bit systems.
2633 (UTItype): Likewise.
2634 (TI_BITS): Likewise.
2635 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
2636 (_FP_MUL_MEAT_Q): Likewise.
2637 (_FP_DIV_MEAT_D): Likewise.
2638 (_FP_DIV_MEAT_Q): Likewise.
2639 (_FP_NANFRAC_D): Likewise.
2640 (_FP_NANFRAC_Q): Likewise.
2641 (ISA_BIT): Add exception support if we are being compiled on a
2642 machine with hardware floating point support to build the IEEE
2643 128-bit emulation functions.
2644 (FP_EX_INVALID): Likewise.
2645 (FP_EX_OVERFLOW): Likewise.
2646 (FP_EX_UNDERFLOW): Likewise.
2647 (FP_EX_DIVZERO): Likewise.
2648 (FP_EX_INEXACT): Likewise.
2649 (FP_EX_ALL): Likewise.
2650 (__sfp_handle_exceptions): Likewise.
2651 (FP_HANDLE_EXCEPTIONS): Likewise.
2652 (FP_RND_NEAREST): Likewise.
2653 (FP_RND_ZERO): Likewise.
2654 (FP_RND_PINF): Likewise.
2655 (FP_RND_MINF): Likewise.
2656 (FP_RND_MASK): Likewise.
2657 (_FP_DECL_EX): Likewise.
2658 (FP_INIT_ROUNDMODE): Likewise.
2659 (FP_ROUNDMODE): Likewise.
2660
2661 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
2662 VSX code, enable IEEE 128-bit floating point. If the compiler can
2663 compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
2664 floating point hardware instructions and it supports declaring
2665 functions with the ifunc attribute, enable ifunc functions to
2666 switch between software and hardware support.
2667 * configure.ac (powerpc*-*-linux*): Likewise.
2668 * configure: Regenerate.
2669
bdc27e50
NC
26702016-01-15 Nick Clifton <nickc@redhat.com>
2671
2672 * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
2673 dependency as the source file to be compiled.
2674 (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
2675 (lib2hw_mul_f5.o): Likewise.
2676
006df05d
MM
26772016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
2678
2679 * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
2680 * libgcc/config/rs6000/fixkfti.c: Likewise.
2681 * libgcc/config/rs6000/fixunskfti.c: Likewise.
2682 * libgcc/config/rs6000/float128-hw.c: Likewise.
2683 * libgcc/config/rs6000/float128-ifunc.c: Likewise.
2684 * libgcc/config/rs6000/float128-sed: Likewise.
2685 * libgcc/config/rs6000/floattikf.c: Likewise.
2686 * libgcc/config/rs6000/floatuntikf.c: Likewise.
2687 * libgcc/config/rs6000/quad-float128.h: Likewise.
2688 * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
2689 * libgcc/config/rs6000/sfp-machine.h: Likewise.
2690 * libgcc/config/rs6000/t-float128: Likewise.
2691 * libgcc/config/rs6000/t-float128-hw: Likewise.
2692 * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
2693 * libgcc/config.host: Likewise.
2694 * libgcc/configure: Likewise.
2695 * libgcc/configure.ac: Likewise.
2696
29176d57 26972016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
7d296953
JJ
2698 Steven Munroe <munroesj@linux.vnet.ibm.com>
2699 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
29176d57
MM
2700
2701 * config/rs6000/sfp-exceptions.c: New file to provide exception
2702 support for IEEE 128-bit floating point.
2703
2704 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
2705 floating point hardware support.
2706
2707 * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
2708 point conversions.
2709 * config/rs6000/fixunskfti.c: Likewise.
2710 * config/rs6000/fixkfti.c: Likewise.
2711 * config/rs6000/floatuntikf.c: Likewise.
2712 * config/rs6000/extendkftf2-sw.c: Likewise.
2713 * config/rs6000/trunctfkf2-sw.c: Likewise.
2714
2715 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
2716 128-bit floating point software emulation or use ISA 3.0 hardware
2717 support if it is available.
2718
2719 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
2720 floating point.
2721
2722 * config/rs6000/t-float128: New Makefile fragments to enable
2723 building __float128 emulation support.
2724 * config/rs6000/t-float128-hw: Likewise.
2725
2726 * config/rs6000/float128-sed: New file to convert TF names to KF
2727 names for PowerPC IEEE 128-bit floating point support.
2728
2729 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
2730 when building on 64-bit systems, or when VSX is enabled.
2731 (_FP_W_TYPE): Likewise.
2732 (_FP_WS_TYPE): Likewise.
2733 (_FP_I_TYPE): Likewise.
2734 (TItype): Define on 64-bit systems.
2735 (UTItype): Likewise.
2736 (TI_BITS): Likewise.
2737 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
2738 (_FP_MUL_MEAT_Q): Likewise.
2739 (_FP_DIV_MEAT_D): Likewise.
2740 (_FP_DIV_MEAT_Q): Likewise.
2741 (_FP_NANFRAC_D): Likewise.
2742 (_FP_NANFRAC_Q): Likewise.
2743 (ISA_BIT): Add exception support if we are being compiled on a
2744 machine with hardware floating point support to build the IEEE
2745 128-bit emulation functions.
2746 (FP_EX_INVALID): Likewise.
2747 (FP_EX_OVERFLOW): Likewise.
2748 (FP_EX_UNDERFLOW): Likewise.
2749 (FP_EX_DIVZERO): Likewise.
2750 (FP_EX_INEXACT): Likewise.
2751 (FP_EX_ALL): Likewise.
2752 (__sfp_handle_exceptions): Likewise.
2753 (FP_HANDLE_EXCEPTIONS): Likewise.
2754 (FP_RND_NEAREST): Likewise.
2755 (FP_RND_ZERO): Likewise.
2756 (FP_RND_PINF): Likewise.
2757 (FP_RND_MINF): Likewise.
2758 (FP_RND_MASK): Likewise.
2759 (_FP_DECL_EX): Likewise.
2760 (FP_INIT_ROUNDMODE): Likewise.
2761 (FP_ROUNDMODE): Likewise.
2762
2763 * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
2764 compiler can do __float128.
2765 * configure: Regenerate.
2766
2767 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
2768 VSX code, enable IEEE 128-bit floating point.
2769
a2218983
OH
27702016-01-05 Olivier Hainque <hainque@adacore.com>
2771
2772 * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
29176d57 2773 specificities.
a2218983 2774
818ab71a
JJ
27752016-01-04 Jakub Jelinek <jakub@redhat.com>
2776
2777 Update copyright years.
2778
5a6c8ffa
AP
27792015-12-18 Andris Pavenis <andris.pavenis@iki.fi>
2780
2781 * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
29176d57 2782 soft-fp targets.
5a6c8ffa 2783
077067a5
BE
27842015-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
2785
2786 * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
2787 instead of abort to avoid dependency on stdlib.h.
2788
787c1027
JDA
27892015-12-09 John David Anglin <danglin@gcc.gnu.org>
2790
2791 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
2792 to initialize call to __dl_fixup once.
2793
04a9ae28
NC
27942015-12-04 Nick Clifton <nickc@redhat.com>
2795
2796 * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
2797 Allow for the second argument being negative.
2798 * config.host (extra_parts): Define for MSP430. Create separate
2799 libraries for each of the hardware multiply formats.
2800 * config/msp430/lib2hw_mul.S: Build only the multiply routines
2801 that are needed.
2802 * config/msp430/lib2mul.c: Likewise.
2803 * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
2804 Add rules to build hardware multiply libraries.
2805 * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
2806 __mspabi_divul function.
2807 (__mspabi_divllu): New stub function.
2808
9a32d437
JDA
28092015-12-01 John David Anglin <danglin@gcc.gnu.org>
2810
2811 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
2812 fixup values if saved GOT address doesn't match runtime address.
2813 (fixup_branch_offset): Reorder list.
2814
e5ef217c
RO
28152015-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2816
2817 * Makefile.in (VTV_CFLAGS): New variable.
2818 (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
2819 (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
2820 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
2821 Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
2822 to extra_parts if $enable_vtable_verify = yes.
2823
78cc43a2
SN
28242015-11-23 Szabolcs Nagy <szabolcs.nagy@arm.com>
2825
2826 PR target/68059
2827 * config/arm/linux-atomic-64bit.c (__write): Rename to...
2828 (write): ...this and fix the return type.
2829
9afebea2
DD
28302015-11-19 DJ Delorie <dj@redhat.com>
2831
2832 * config/msp430/lib2hw_mul.S: Fix alignment.
2833
33f47f42
NS
28342015-11-18 Nathan Sidwell <nathan@codesourcery.com>
2835
2836 * config/nvptx/reduction.c: New.
2837 * config/nvptx/t-nvptx (LIB2ADD): Add it.
2838
d9adb476
DE
28392015-11-15 David Edelsohn <dje.gcc@gmail.com>
2840
2841 * config/rs6000/on_exit.c: New file.
2842 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
2843 * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
2844
c0ab1970
CZ
28452015-11-11 Claudiu Zissulescu <claziss@synopsys.com>
2846
2847 * config/arc/dp-hack.h: Add support for ARCHS.
2848 * config/arc/ieee-754/divdf3.S: Likewise.
2849 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
2850 * config/arc/ieee-754/muldf3.S: Likewise.
2851 * config/arc/ieee-754/mulsf3.S: Likewise
2852 * config/arc/lib1funcs.S: Likewise
2853 * config/arc/gmon/dcache_linesz.S: Don't read the build register
2854 for ARCv2 cores.
2855 * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
2856 for ARCv2 cores.
2857 * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
2858 * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
2859 cores.
2860
e6b6bf09
RO
28612015-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2862
2863 * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
2864 value.
2865 * config/ia64/crtend.S: Likewise.
2866
a153644f
TS
28672015-11-07 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2868
2869 * config/visium/lib2funcs.c (__set_trampoline_parity): Use
2870 __CHAR_BIT__ instead of BITS_PER_UNIT.
2871 * fixed-bit.h: Likewise.
2872 * fp-bit.h: Likewise.
2873 * libgcc2.c (__popcountSI2): Likewise.
2874 (__popcountDI2): Likewise.
2875 * libgcc2.h: Likewise.
2876 * libgcov.h: Likewise.
2877
3dee689d
DE
28782015-11-07 David Edelsohn <dje.gcc@gmail.com>
2879
2880 * config/rs6000/atexit.c: New file.
2881 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
2882 * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
2883 * config/rs6000/cxa_finalize.c
2884 (catomic_compare_and_exchange_bool_acq): Negate return value.
2885
2ef543e4
VK
28862015-10-30 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
2887
2888 * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
2889 (processor_subtypes): Add znver1.
2890 (get_amd_cpu): Detect znver1.
2891
1300f017
CL
28922015-10-29 Christophe Lyon <christophe.lyon@linaro.org>
2893
2894 * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
2895 Include crtfastmath.o.
2896
3e5bb7ee
JR
28972015-10-23 Joern Rennecke <joern.rennecke@embecosm.com>
2898
2899 PR libgcc/66883
2900 * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
1300f017 2901
793aa938
KP
29022015-10-16 Kaushik Phatak <kaushik.phatak@kpit.com>
2903
2904 * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
2905 * config/rl78/divmodsi.S: Update return register to r8.
2906 * config/rl78/divmodhi.S: Update return register to r8,r9.
2907 Branch to main_loop_done_himode to pop registers before return.
2908
7d296953 29092015-10-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
fac812f0
VK
2910
2911 * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
2912 (__cpu_indicator_init): Fix model selection for AMD CPUs.
2913
6a192b5a
KY
29142015-10-05 Kirill Yukhin <kirill.yukhin@intel.com>
2915
2916 * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
2917
4a0a9457
MF
29182015-10-03 Max Filippov <jcmvbkbc@gmail.com>
2919
2920 * config.host (xtensa*-*-uclinux*): New configuration.
2921
ab91c076
KY
29222015-10-02 Kirill Yukhin <kirill.yukhin@intel.com>
2923
385c7747 2924 * config/i386/cpuinfo.c (processor_features): Add
ab91c076
KY
2925 FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
2926
30954527
JM
29272015-09-28 Joseph Myers <joseph@codesourcery.com>
2928
2929 * soft-fp/adddf3.c: Update from glibc.
2930 * soft-fp/addsf3.c: Likewise.
2931 * soft-fp/addtf3.c: Likewise.
2932 * soft-fp/divdf3.c: Likewise.
2933 * soft-fp/divsf3.c: Likewise.
2934 * soft-fp/divtf3.c: Likewise.
2935 * soft-fp/double.h: Likewise.
2936 * soft-fp/eqdf2.c: Likewise.
2937 * soft-fp/eqsf2.c: Likewise.
2938 * soft-fp/eqtf2.c: Likewise.
2939 * soft-fp/extenddftf2.c: Likewise.
2940 * soft-fp/extended.h: Likewise.
2941 * soft-fp/extendsfdf2.c: Likewise.
2942 * soft-fp/extendsftf2.c: Likewise.
2943 * soft-fp/extendxftf2.c: Likewise.
2944 * soft-fp/fixdfdi.c: Likewise.
2945 * soft-fp/fixdfsi.c: Likewise.
2946 * soft-fp/fixdfti.c: Likewise.
2947 * soft-fp/fixsfdi.c: Likewise.
2948 * soft-fp/fixsfsi.c: Likewise.
2949 * soft-fp/fixsfti.c: Likewise.
2950 * soft-fp/fixtfdi.c: Likewise.
2951 * soft-fp/fixtfsi.c: Likewise.
2952 * soft-fp/fixtfti.c: Likewise.
2953 * soft-fp/fixunsdfdi.c: Likewise.
2954 * soft-fp/fixunsdfsi.c: Likewise.
2955 * soft-fp/fixunsdfti.c: Likewise.
2956 * soft-fp/fixunssfdi.c: Likewise.
2957 * soft-fp/fixunssfsi.c: Likewise.
2958 * soft-fp/fixunssfti.c: Likewise.
2959 * soft-fp/fixunstfdi.c: Likewise.
2960 * soft-fp/fixunstfsi.c: Likewise.
2961 * soft-fp/fixunstfti.c: Likewise.
2962 * soft-fp/floatdidf.c: Likewise.
2963 * soft-fp/floatdisf.c: Likewise.
2964 * soft-fp/floatditf.c: Likewise.
2965 * soft-fp/floatsidf.c: Likewise.
2966 * soft-fp/floatsisf.c: Likewise.
2967 * soft-fp/floatsitf.c: Likewise.
2968 * soft-fp/floattidf.c: Likewise.
2969 * soft-fp/floattisf.c: Likewise.
2970 * soft-fp/floattitf.c: Likewise.
2971 * soft-fp/floatundidf.c: Likewise.
2972 * soft-fp/floatundisf.c: Likewise.
2973 * soft-fp/floatunditf.c: Likewise.
2974 * soft-fp/floatunsidf.c: Likewise.
2975 * soft-fp/floatunsisf.c: Likewise.
2976 * soft-fp/floatunsitf.c: Likewise.
2977 * soft-fp/floatuntidf.c: Likewise.
2978 * soft-fp/floatuntisf.c: Likewise.
2979 * soft-fp/floatuntitf.c: Likewise.
2980 * soft-fp/gedf2.c: Likewise.
2981 * soft-fp/gesf2.c: Likewise.
2982 * soft-fp/getf2.c: Likewise.
2983 * soft-fp/ledf2.c: Likewise.
2984 * soft-fp/lesf2.c: Likewise.
2985 * soft-fp/letf2.c: Likewise.
2986 * soft-fp/muldf3.c: Likewise.
2987 * soft-fp/mulsf3.c: Likewise.
2988 * soft-fp/multf3.c: Likewise.
2989 * soft-fp/negdf2.c: Likewise.
2990 * soft-fp/negsf2.c: Likewise.
2991 * soft-fp/negtf2.c: Likewise.
2992 * soft-fp/op-1.h: Likewise.
2993 * soft-fp/op-2.h: Likewise.
2994 * soft-fp/op-4.h: Likewise.
2995 * soft-fp/op-8.h: Likewise.
2996 * soft-fp/op-common.h: Likewise.
2997 * soft-fp/quad.h: Likewise.
2998 * soft-fp/single.h: Likewise.
2999 * soft-fp/soft-fp.h: Likewise.
3000 * soft-fp/subdf3.c: Likewise.
3001 * soft-fp/subsf3.c: Likewise.
3002 * soft-fp/subtf3.c: Likewise.
3003 * soft-fp/truncdfsf2.c: Likewise.
3004 * soft-fp/trunctfdf2.c: Likewise.
3005 * soft-fp/trunctfsf2.c: Likewise.
3006 * soft-fp/trunctfxf2.c: Likewise.
3007 * soft-fp/unorddf2.c: Likewise.
3008 * soft-fp/unordsf2.c: Likewise.
3009 * soft-fp/unordtf2.c: Likewise.
3010
4dfe21ac
RE
30112015-09-24 Richard Earnshaw <rearnsha@arm.com>
3012
3013 PR libgcc/67624
3014 * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
3015
df2a1cc4
RO
30162015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3017
3018 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
3019 Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
3020 * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
3021 messages.
3022 (internal_mcount): Likewise.
3023 * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
3024 crt_compile, add CRTSTUFF_T_CFLAGS_S.
3025
2d110442
RO
30262015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3027
3028 * configure.ac (libgcc_cv_solaris_crts): New test.
3029 * configure: Regenerate.
3030 * config.in: Regenerate.
3031 * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
3032 * config/gmon-sol2.c: Rename to ...
3033 * config/sol2/gmon.c: ... this.
3034 Include auto-target.h.
3035 (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
3036 * config/t-sol2: Rename to ...
3037 * config/sol2/t-sol2: ... this.
3038 (gmon.o): Reflect renaming.
3039 (crtp.o, crtpg.o): New rules.
3040 * config.host (*-*-solaris2*): Reflect renaming.
3041 Use system CRTs if present.
3042 Remove default CRT case.
3043
d572e439
JDA
30442015-09-23 John David Anglin <danglin@gcc.gnu.org>
3045
3046 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
3047 (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
3048 __kernel_cmpxchg2.
3049 (__sync_##OP##_and_fetch_##WIDTH): Likewise.
3050 (__sync_val_compare_and_swap_##WIDTH): Likewise.
3051 (__sync_bool_compare_and_swap_##WIDTH): Likewise.
3052 (__sync_lock_test_and_set_##WIDTH): Likewise.
3053 (__sync_lock_release_##WIDTH): Likewise.
3054 (__sync_fetch_and_##OP##_4): Change result to match type of
3055 __kernel_cmpxchg.
3056 (__sync_##OP##_and_fetch_4): Likewise.
3057 (__sync_val_compare_and_swap_4): Likewise.
3058 (__sync_bool_compare_and_swap_4): likewise.
3059 (__sync_lock_test_and_set_4): Likewise.
3060 (__sync_lock_release_4): Likewise.
3061 (FETCH_AND_OP_2): Add long long variants.
3062 (OP_AND_FETCH_2): Likewise.
3063 (COMPARE_AND_SWAP_2 ): Likewise.
3064 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
3065 (SYNC_LOCK_RELEASE_2): Likewise.
3066 (__sync_bool_compare_and_swap_##WIDTH): Correct return.
3067
7d296953 30682015-09-22 Kirill Yukhin <kirill.yukhin@intel.com>
06caf59d
KY
3069
3070 * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
3071 FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
3072 FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
3073 (get_available_features): Habdle new features.
3074
131314e1
JB
30752015-09-21 James Bowman <james.bowman@ftdichip.com>
3076
3077 * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
3078 memory layout. Deal correctly with BSS region larger than 32K.
3079 Handle a watchdog reset like a power-on reset. Clean up unused
3080 code.
3081
04218b35
AD
30822015-09-18 Andrew Dixie <andrewd@gentrack.com>
3083 David Edelsohn <dje.gcc@gmail.com>
3084
3085 * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
3086 * config/rs6000/crtdbase.S: New file.
3087 * config/rs6000/t-aix-cxa: Build crtdbase.o.
3088
c8338173
MF
30892015-09-15 Max Filippov <jcmvbkbc@gmail.com>
3090
3091 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
3092 Add support for call0 ABI.
3093
7a84bf71
JDA
30942015-09-13 John David Anglin <danglin@gcc.gnu.org>
3095
3096 * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
3097
4efab402
SH
30982015-09-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
3099
3100 * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
3101 (__GTHREAD_HAS_COND): Likewise.
3102 (__gthread_t): Likewise.
3103 (__gthread_cond_t): Likewise.
3104 (__gthread_time_t): Likewise.
3105 (__GTHREAD_MUTEX_INIT): Likewise.
3106 (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
3107 (__GTHREAD_COND_INIT): Likewise.
3108 (__GTHREAD_COND_INIT_FUNCTION): Likewise.
3109 (__GTHREAD_TIME_INIT): Likewise.
3110 (__gthread_create): Likewise.
3111 (__gthread_join): Likewise.
3112 (__gthread_detach): Likewise.
3113 (__gthread_equal): Likewise.
3114 (__gthread_self): Likewise.
3115 (__gthread_yield): Likewise.
3116 (__gthread_cond_broadcast): Likewise.
3117 (__gthread_cond_signal): Likewise.
3118 (__gthread_cond_wait): Likewise.
3119 (__gthread_cond_timedwait): Likewise.
3120 (__gthread_cond_wait_recursive): Likewise.
3121 (__gthread_cond_destroy): Likewise.
3122 (rtems_gxx_once): Delete.
3123 (rtems_gxx_key_create): Likewise.
3124 (rtems_gxx_key_delete): Likewise.
3125 (rtems_gxx_getspecific): Likewise.
3126 (rtems_gxx_setspecific): Likewise.
3127 (rtems_gxx_mutex_init): Likewise.
3128 (rtems_gxx_mutex_destroy): Likewise.
3129 (rtems_gxx_mutex_lock): Likewise.
3130 (rtems_gxx_mutex_trylock): Likewise.
3131 (rtems_gxx_mutex_unlock): Likewise.
3132 (rtems_gxx_recursive_mutex_init): Likewise.
3133 (rtems_gxx_recursive_mutex_lock): Likewise.
3134 (rtems_gxx_recursive_mutex_trylock): Likewise.
3135 (rtems_gxx_recursive_mutex_unlock): Likewise.
3136 (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
3137 (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
3138 (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
3139 (__gthread_once): Likewise.
3140 (__gthread_key_create): Likewise.
3141 (__gthread_key_delete): Likewise.
3142 (__gthread_getspecific): Likewise.
3143 (__gthread_setspecific): Likewise.
3144 (__gthread_key_t): Use <pthread.h> type.
3145 (__gthread_once_t): Likewise
3146 (__gthread_mutex_t): Use <sys/lock.h> type.
3147 (__gthread_recursive_mutex_t): Likewise
3148 (__gthread_mutex_lock): Use <sys/lock.h> function.
3149 (__gthread_mutex_trylock): Likewise.
3150 (__gthread_mutex_timedlock): Likewise.
3151 (__gthread_mutex_unlock): Likewise.
3152 (__gthread_mutex_destroy): Likewise.
3153 (__gthread_recursive_mutex_lock): Likewise.
3154 (__gthread_recursive_mutex_trylock): Likewise.
3155 (__gthread_recursive_mutex_timedlock): Likewise.
3156 (__gthread_recursive_mutex_unlock): Likewise.
3157 (__gthread_recursive_mutex_destroy): Likewise.
3158
991995c4
MF
31592015-08-18 Max Filippov <jcmvbkbc@gmail.com>
3160
3161 * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
3162 context->sp instead of context->cfa.
3163
0e19db59
MF
31642015-08-18 Max Filippov <jcmvbkbc@gmail.com>
3165
3166 * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
3167 with unwind-dw2-fde-dip.
3168
b6ac5f62
MF
31692015-08-18 Max Filippov <jcmvbkbc@gmail.com>
3170
3171 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
3172 CALL12 followed by series of ENTRY to spill windowed registers.
3173 (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
3174 instead of making linux spill syscall.
3175
3e0f3349
YR
31762015-08-14 Yuri Rumyantsev <ysrumyan@gmail.com>
3177
3178 * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
3179 (get_intel_cpu): Likewise.
3180
51c728b1
L
31812015-08-12 H.J. Lu <hongjiu.lu@intel.com>
3182
3183 * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
3184 (get_intel_cpu): Add Knights Landing support.
3185
aff4eeac
UB
31862015-08-11 Uros Bizjak <ubizjak@gmail.com>
3187
3188 PR target/66954
3189 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
3190 (get_available_features): Handle FEATURE_PCLMUL.
3191
736e56da
L
31922015-08-10 H.J. Lu <hongjiu.lu@intel.com>
3193
3194 * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
3195 Broadwell.
3196
54d22142
UB
31972015-07-22 Uros Bizjak <ubizjak@gmail.com>
3198
3199 PR target/66954
3200 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
3201 (get_available_features): Handle FEATURE_AES.
3202
20ca17e4
CLT
32032015-07-22 Chung-Lin Tang <cltang@codesourcery.com>
3204
3205 * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
3206 (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
3207
ebe4a560
NS
32082015-07-17 Nathan Sidwell <nathan@codesourcery.com>
3209
3210 * offloadstuff.c: Constify host data.
3211
180744c0
JB
32122015-07-17 Jan Beulich <jbeulich@suse.com>
3213
3214 * config/t-softfp: Split up "else ifneq".
3215
a03c6ae3
SL
32162015-07-14 Sandra Loosemore <sandra@codesourcery.com>
3217 Cesar Philippidis <cesar@codesourcery.com>
3218 Chung-Lin Tang <cltang@codesourcery.com>
3219
3220 * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
3221 for __nios2_arch__ level.
3222
73358db5
JM
32232015-07-13 John Marino <gnugcc@marino.st>
3224
3225 * config/i386/t-dragonfly: New.
3226
f9a12f7b
JDA
32272015-07-01 John David Anglin <danglin@gcc.gnu.org>
3228
3229 * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
3230 better match light-weight syscall argument order.
3231 (__kernel_cmpxchg2): Likewise.
3232 Adjust callers.
3233
cb78b51c
L
32342015-06-30 H.J. Lu <hongjiu.lu@intel.com>
3235
3236 * config.host: Support i[34567]86-*-elfiamcu target.
3237 * config/t-softfp-sfdftf: New file.
3238 * config/i386/32/t-iamcu: Likewise.
3239 * configure: Regenerated.
3240
4fa0f9ea
JL
32412015-06-23 James Lemke <jwlemke@codesourcery.com>
3242
3243 libgcc/config/arm/
3244 * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
3245
428b3812
L
32462015-05-27 H.J. Lu <hongjiu.lu@intel.com>
3247
3248 * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
3249
7d296953 32502015-05-27 John Marino <gnugcc@marino.st>
89c54dd3
JM
3251
3252 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
3253 md_unwind_header
3254 * config/i386/freebsd-unwind.h: New.
3255
9b789cc1
UB
32562015-05-22 Uros Bizjak <ubizjak@gmail.com>
3257
3258 * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
3259 i386/t-crtfm to tmake_file.
3260 * config/i386/crtfastmath.c (set_fast_math_sse): New function.
3261 (set_fast_math): Use set_fast_math_sse for SSE targets.
3262 * config/i386/t-crtfm: Remove.
3263
3dafb220
AM
32642015-05-21 Alan Modra <amodra@gmail.com>
3265
3266 PR libgcc/66225
3267 * config/rs6000/morestack.S: Remove ".abiversion 1".
3268
0f0fd745
AM
32692015-05-20 Alan Modra <amodra@gmail.com>
3270
3271 * config/rs6000/morestack.S: New.
3272 * config/rs6000/t-stack-rs6000: New.
3273 * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
3274 to tmake_file.
3275 * generic-morestack.c: Don't build for powerpc 32-bit.
3276
515ae71b
EB
32772015-05-19 Eric Botcazou <ebotcazou@adacore.com>
3278
3279 * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
3280 Remove useless endif/ifneq ($(enable_shared),yes) pair.
3281
36805406
JL
32822015-05-16 James Bowman <james.bowman@ftdichip.com>
3283
3284 * config.host: FT32 target added.
3285 * config/ft32/*: New files for FT32 target.
3286
ff935d0c
MG
32872015-05-15 Martin Galvan <martin.galvan@tallertechnologies.com>
3288
385c7747
UB
3289 * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
3290 New macros.
3291 * config/arm/ieee754-df.S: Add CFI directives.
3292 * config/arm/ieee754-sf.S: Add CFI directives.
ff935d0c 3293
9b92a9f3
EB
32942015-05-13 Eric Botcazou <ebotcazou@adacore.com>
3295
3296 * configure.ac: Include config/sjlj.m4.
3297 Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
3298 * config.in: Regenerate.
3299 * configure: Likewise.
3300 * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
3301
98b5dc61
UB
33022015-05-12 Uros Bizjak <ubizjak@gmail.com>
3303
3304 * libgcov-util.c: Add space between string literal and macro name.
3305
5a0ff57c
SL
33062015-05-06 Sandra Loosemore <sandra@codesourcery.com>
3307 Chris Jones <chrisj@nvidia.com>
3308 Joshua Conner <jconner@nvidia.com>
3309
3310 * config.host (arm*-*-linux*): Add support for crtfastmath.o.
3311 (arm*-*-uclinux*): Likewise.
3312 (arm*-*-eabi* | arm*-*-rtems*): Likewise.
3313 * config/arm/crtfastmath.c: New file.
3314
d28ad5d4
BS
33152014-04-29 Bernd Schmidt <bernds@codesourcery.com>
3316
3317 * Makefile.in (real_host_noncanonical): New variable.
3318 (libsubdir): Use it.
3319 * configure.ac (real_host_noncanonical): Compute. Remove special
3320 case for intelmicemul.
3321 * configure: Regenerate.
3322
cc86234f
UB
33232015-04-28 Uros Bizjak <ubizjak@gmail.com>
3324
3325 * config/frv/elf-lib.h: New file.
3326 (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
3327 * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
3328 to tm_file.
3329
33302015-04-28 Uros Bizjak <ubizjak@gmail.com>
3331
3332 * config/frv/frvbengin.c: Do not include defaults.h
3333 * config/frv/frvend.c: Ditto.
3334
2f6bd6eb
YS
33352015-04-27 Yoshinori Sato <ysato@users.sourceforge.jp>
3336
3337 * config.host: Add h8300-*-linux
3338 * config/h8300/t-linux: New file.
3339 * config/h8300/lib1funs.s: Change symbol prefix.
3340 * config/h8300/sfp-machine.h: 64bit double support.
3341
15aa7b44
GR
33422015-04-22 Gregor Richards <gregor.richards@uwaterloo.ca>
3343 Szabolcs Nagy <szabolcs.nagy@arm.com>
3344
3345 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
3346 Linux if target provides dl_iterate_phdr.
3347
abd0cdc9
L
33482015-04-17 H.J. Lu <hongjiu.lu@intel.com>
3349
3350 PR target/65612
3351 * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
3352 * config/i386/cpuinfo.c (__cpu_model): Initialize.
3353 (__cpu_indicator_init@GCC_4.8.0): New.
3354 (__cpu_model@GCC_4.8.0): Likewise.
3355 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
3356 -DUSE_ELF_SYMVER.
3357
72ed1126
NC
33582015-04-16 Nick Clifton <nickc@redhat.com>
3359
3360 * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
3361 and __modhi3 functions.
3362 * config/rl78/divmodso.S: Add G14 and G13 versions of the
3363 __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
3364
d26b2237
CG
33652015-04-15 Chen Gang <gang.chen.5i5j@gmail.com>
3366
3367 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
3368 do-while loop as macro body to avoid warnings.
3369
cacf1f59
JJ
33702015-04-10 Jakub Jelinek <jakub@redhat.com>
3371 Iain Sandoe <iain@codesourcery.com>
3372
3373 PR target/65351
3374 * configure: Regenerate.
3375
e8a4ed3b
JJ
33762015-04-07 Jakub Jelinek <jakub@redhat.com>
3377 Iain Sandoe <iain@codesourcery.com>
3378
3379 PR target/65351
3380 * configure: Regenerate.
3381
0341335e
CLT
33822015-03-25 Chung-Lin Tang <cltang@codesourcery.com>
3383
3384 * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
3385
590e2636 33862015-03-03 Max Filippov <jcmvbkbc@gmail.com>
0341335e 3387
590e2636
MF
3388 Implement call0 ABI for xtensa
3389 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
3390 __xtensa_nonlocal_goto): Don't compile for call0 ABI.
3391 (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
3392 use ret in call0 ABI.
3393 * config/xtensa/t-windowed: New file.
3394 * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
3395 * libgcc/configure: Regenerated.
3396 * libgcc/configure.ac: Check if xtensa target is configured for
3397 windowed ABI and thus needs to use custom unwind code.
3398
7727f8f2
JW
33992015-02-12 Jonathan Wakely <jwakely@redhat.com>
3400
3401 PR libgcc/64885
3402 * gthr-single.h: Use __unused__ attribute instead of unused.
3403 * config/gthr-vxworks.h: Likewise.
3404 * config/i386/gthr-win32.h: Likewise.
3405
0e4a0def
KT
34062015-02-27 Kai Tietz <ktietz@redhat.com>
3407
3408 PR target/65038
3409 * config.in: Regenerated.
3410 * configure: Likewise.
3411 * configure.ac (AC_HEADER_STDC): Added explicit.
3412 (AC_CHECK_HEADERS): Check for default headers plus
3413 for ftw.h header.
3414 * libgcov-util.c (gcov_read_profile_dir): Disable use
3415 of ftw-function, if header is not found.
3416 (ftw_read_file): Likewise.
3417
b6530d0a
TS
34182015-02-23 Thomas Schwinge <thomas@codesourcery.com>
3419
3420 PR target/65181
3421 * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
3422 -Dinhibit_libc.
3423
53cfb467
SL
34242015-02-17 Sandra Loosemore <sandra@codesourcery.com>
3425
3426 * config/arm/bpabi.S (test_div_by_zero): Make label names
3427 consistent between thumb2 and arm mode cases. Separate the
3428 signed comparison on the high word of the numerator from the
3429 unsigned comparison on the low word.
3430 * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
3431 signed comparison.
3432
77d10a1b
JM
34332015-02-17 Joseph Myers <joseph@codesourcery.com>
3434
3435 * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
3436 and <string.h>.
3437 (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
3438
98174188
RE
34392015-02-10 Rainer Emrich <rainer@emrich-ebersheim.de>
3440
3441 PR gcov-profile/61889
471274de 3442 * libgcov-driver-system.c: undefine clashing macro for mkdir.
98174188 3443
771bef14
NC
34442015-02-02 Nick Clifton <nickc@redhat.com>
3445
3446 * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
3447 rounding up the fraction.
3448
40702893
JDA
34492015-01-31 John David Anglin <danglin@gcc.gnu.org>
3450
3451 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
3452 oldval and newval to const void *. Fix typo.
3453 (FETCH_AND_OP_2): Use __atomic_load_n to load value.
3454 (FETCH_AND_OP_WORD): Likewise.
3455 (OP_AND_FETCH_WORD): Likewise.
3456 (COMPARE_AND_SWAP_2): Likewise.
3457 (__sync_val_compare_and_swap_4): Likewise.
3458 (__sync_lock_test_and_set_4): Likewise.
3459 (SYNC_LOCK_RELEASE_2): Likewise.
3460 Remove support for long long atomic operations.
3461
f7f049fa
CT
34622015-01-27 Caroline Tice <cmtice@google.com>
3463
3464 Committing VTV Cywin/Ming patch for Patrick Wollgast
3465 * Makefile.in: Move rules to build vtv_*.o out of the check
3466 for CUSTOM_CRTSTUFF.
3467 * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
3468 i[34567]86-*-mingw*)
3469 (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
3470 enable_vtable_verify.
3471
8410904a
NC
34722015-01-27 Nick Clifton <nickc@redhat.com>
3473
3474 * config/rl78/cmpsi2.S: Use function start and end macros.
3475 (__gcc_bcmp): New function.
3476 * config/rl78/lshrsi3.S: Use function start and end macros.
3477 * config/rl78/mulsi3.S: Add support for G10.
3478 (__mulqi3): New function for G10.
3479 * config/rl78/signbit.S: Use function start and end macros.
3480 * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
3481 fpmath-sf.S.
3482 (LIB2FUNCS_EXCLUDE): Define.
3483 (LIB2FUNCS_ST): Define.
3484 * config/rl78/trampoline.S: Use function start and end macros.
3485 * config/rl78/vregs.h (START_FUNC): New macro.
3486 (START_ANOTHER_FUNC): New macro.
3487 (END_FUNC): New macro.
3488 (END_ANOTHER_FUNC): New macro.
3489 * config/rl78/bit-count.S: New file. Contains assembler
3490 implementations of the bit counting functions: ___clzhi2,
3491 __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
3492 __paritysi2, __popcounthi2 and __popcountsi2.
3493 * config/rl78/fpbit-sf.S: New file. Contains assembler
3494 implementationas of the math functions: __negsf2, __cmpsf2,
3495 __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
3496 __fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
3497 * config/rl78/fpmath-sf.S: New file. Contains assembler
3498 implementations of the math functions: __subsf3, __addsf3,
3499 __mulsf3 and __divsf3
3500
f962fbf1
RO
35012015-01-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3502
3503 * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
3504 Add i386/elf-lib.h to tm_file.
3505 * config/i386/elf-lib.h: Fix comment.
3506 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
3507 && __sun__ && __svr4__]: Remove workaround.
3508
939911c5
ASJ
35092015-01-25 Allan Sandfeld Jensen <sandfeld@kde.org>
3510
3511 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
3512 FEATURE_BMI2.
3513 (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
3514
c8f2dff2
L
35152015-01-24 H.J. Lu <hongjiu.lu@intel.com>
3516
3517 * config/i386/cpuinfo.c (processor_subtypes): Add
3518 INTEL_COREI7_BROADWELL.
3519 (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
3520 model numbers.
3521
7bbf9734
UB
35222015-01-23 Uros Bizjak <ubizjak@gmail.com>
3523
3524 * config/i386/elf-lib.h: New file.
3525 (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
3526 Wrap definition in #ifdef __i386__.
3527 * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
3528 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
3529 (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
3530 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
3531 to tm_file.
3532
324820f1
CG
35332015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
3534
3535 * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
3536 "(char *)" to avoid qualifier warning by 'xgcc' compiling.
3537
a9ce4e4a
CLT
35382015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
3539
3540 * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
3541 Update rt_sigframe format and address for current Nios II
3542 Linux conventions.
3543
82a19768
AT
35442015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
3545
3546 * config.host (arm*-*-freebsd*): Add new configuration for
3547 arm*-*-freebsd*.
3548 * config/arm/freebsd-atomic.c: New file.
3549 * config/arm/t-freebsd: Likewise.
3550 * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
3551 'PC-relative indirect' OS's.
3552
0969ec7d
EB
35532015-01-06 Eric Botcazou <ebotcazou@adacore.com>
3554
3555 * config.host: Add Visium support.
3556 * config/visium: New directory.
3557
5624e564
JJ
35582015-01-05 Jakub Jelinek <jakub@redhat.com>
3559
3560 Update copyright years.
3561
82f84ecb
MF
35622014-12-19 Matthew Fortune <matthew.fortune@imgtec.com>
3563
3564 * config.host: Support mipsisa32r6 and mipsisa64r6.
3565 * config/mips/mips16.S: Do not build for R6.
3566
69044fa9
OE
35672014-12-17 Oleg Endo <olegendo@gcc.gnu.org>
3568
3569 * config/sh/crt.h: New.
3570 * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
3571 symbols.
3572 * config/sh/crt1.S: Likewise.
3573
2405e0ea
UB
35742014-12-15 Uros Bizjak <ubizjak@gmail.com>
3575
3576 PR libgcc/63832
3577 * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
3578 func_ptr *dtor_list temporary variable to avoid "array subscript
3579 is above array bounds" warnings.
3580
7d296953 35812014-12-09 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
dd913323
MH
3582
3583 * Makefile.in (with_aix_soname): Define.
3584 * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
3585 * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
3586 * configure: Recreate.
3587
a66272f6
OH
35882014-12-05 Olivier Hainque <hainque@adacore.com>
3589
3590 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
3591 now provided by defaults.h.
3592
6342b2c5
OE
35932014-11-30 Oleg Endo <olegendo@gcc.gnu.org>
3594
7d0ee249 3595 PR target/55351
6342b2c5
OE
3596 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
3597 whether it's defined.
3598
c17eac85
IT
35992014-11-27 Ilya Tocar <ilya.tocar@intel.com>
3600
3601 * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
3602 * config/i386/cpuinfo.c (get_available_features): Detect it.
3603
1025cb6c
TW
36042014-11-27 Tony Wang <tony.wang@arm.com>
3605
3606 * config/arm/lib1funcs.S (FUNC_START): Add conditional section
3607 redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
3608 (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
3609
d19f2e38
SB
36102014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
3611
3612 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
3613
17f6e9a3
JDA
36142014-11-24 John David Anglin <danglin@gcc.gnu.org>
3615
3616 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
3617 instead.
3618
0cd7c672
GM
36192014-11-21 Guy Martin <gmsoft@tuxicoman.be>
3620 John David Anglin <danglin@gcc.gnu.org>
3621
3622 * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
3623 (FETCH_AND_OP_2): New. Use for subword and double word operations.
3624 (OP_AND_FETCH_2): Likewise.
3625 (COMPARE_AND_SWAP_2): Likewise.
3626 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
3627 (SYNC_LOCK_RELEASE_2): Likewise.
3628 (SUBWORD_SYNC_OP): Remove.
3629 (SUBWORD_VAL_CAS): Likewise.
3630 (SUBWORD_BOOL_CAS): Likewise.
3631 (FETCH_AND_OP_WORD): Update.
3632 Consistently use signed types.
cc86234f 3633
85c64bbe
BS
36342014-11-13 Bernd Schmidt <bernds@codesourcery.com>
3635 Thomas Schwinge <thomas@codesourcery.com>
3636 Ilya Verbin <ilya.verbin@intel.com>
3637 Andrey Turetskiy <andrey.turetskiy@intel.com>
3638
3639 * Makefile.in (crtoffloadbegin$(objext)): New rule.
3640 (crtoffloadend$(objext)): Likewise.
3641 * configure: Regenerate.
3642 * configure.ac (accel_dir_suffix): Compute new variable.
3643 (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
3644 if enable_offload_targets is not empty.
3645 * offloadstuff.c: New file.
3646
52a1ff8b
NC
36472014-11-13 Nick Clifton <nickc@redhat.com>
3648
3649 * config/rl78/divmodhi.S: Add support for the G10 architecture.
3650 Use START_FUNC and END_FUNC macros to enable linker garbage
3651 collection.
3652 * config/rl78/divmodqi.S: Likewise.
3653 * config/rl78/divmodsi.S: Likewise.
3654 * config/rl78/mulsi3.S: Likewise.
3655 * config/rl78/lib2div.c: Remove G10 functions.
3656 * config/rl78/lib2muls.c: Likewise.
3657 * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
3658 * config/rl78/vregs.h (START_FUNC): New macro.
3659 (END_FUNC): New macro.
3660
050af144
MF
36612014-11-12 Matthew Fortune <matthew.fortune@imgtec.com>
3662
3663 * config/mips/mips16.S: Set .module when supported. Update O32
3664 FP64 calling convention and use for FPXX when possible. Add FPXX
3665 calling convention fallback case.
3666
738f2522
BS
36672014-11-06 Bernd Schmidt <bernds@codesourcery.com>
3668
3669 * config.host: Handle nvptx-*-*.
3670 * shared-object.mk (as-flags-$o): Define.
3671 ($(base)$(objext), $(base)_s$(objext)): Use it instead of
3672 -xassembler-with-cpp.
3673 * static-object.mk: Identical changes.
3674 * config/nvptx/t-nvptx: New file.
3675 * config/nvptx/crt0.s: New file.
3676 * config/nvptx/free.asm: New file.
3677 * config/nvptx/malloc.asm: New file.
3678 * config/nvptx/realloc.c: New file.
3679
e610393c
JM
36802014-10-30 Joseph Myers <joseph@codesourcery.com>
3681
3682 * Makefile.in (libgcc.map.in): New target.
3683 (libgcc.map): Use libgcc.map.in.
3684 * config/t-softfp (softfp_compat): New variable to be set by
3685 users.
3686 [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
3687 variables.
3688 [$(softfp_compat) = y] (softfp_file_list): Use files in the build
3689 directory.
3690 [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
3691 that use compat symbols and disable all code unless [SHARED].
3692 * config/t-softfp-compat: New file.
3693 * find-symver.awk: New file.
3694 * configure.ac (--with-glibc-version): New configure option.
3695 (ppc_fp_compat): New variable set for powerpc*-*-linux*.
3696 * configure: Regenerate.
3697 * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
3698 soft-float and e500.
3699
bc1b3a88
JM
37002014-10-29 Joseph Myers <joseph@codesourcery.com>
3701
3702 * config/t-hardfp (hardfp_exclusions): Document new variable for
3703 user to define.
3704 (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
3705 * config/t-softfp (softfp_extras): Document new variable for user
3706 to define.
3707 (softfp_func_list): Add functions from $(softfp_extras).
3708 * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
3709 * config.host (powerpc*-*-linux*): For e500v1, use
3710 rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
3711 t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
3712 and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
3713
ef2810c1
JDA
37142014-10-26 John David Anglin <danglin@gcc.gnu.org>
3715
3716 * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
3717 (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
3718 memory read accesses are ok.
3719
d80c2bea
JM
37202014-10-25 Joseph Myers <joseph@codesourcery.com>
3721
3722 * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
3723 * configure: Regenerate.
3724 * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
3725 additions to tmake_file. Use t-hardfp-sfdf and t-hardfp instead
3726 of soft-fp for 32-bit classic hard float. Do not use
3727 t-softfp-excl for soft float.
3728
693b297b
JM
37292014-10-22 Joseph Myers <joseph@codesourcery.com>
3730
3731 * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
3732 configurations.
3733 * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
3734 Remove variables.
3735
18a3415e
GJL
37362014-10-22 Georg-Johann Lay <avr@gjlay.de>
3737
3738 * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
3739 introduced with 2014-10-21 trunk r216525.
3740
c1dd9790 37412014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
7d296953
JJ
3742 Vidya Praveen <vidya.praveen@atmel.com>
3743 Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
3744 Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
3745 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
c1dd9790
JR
3746
3747 * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
3748 order.
3749
3750 Updated library functions for AVRTINY arch.
3751 * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
3752 Replaced occurrences of r0/r1 with tmp/zero reg macros.
3753 Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
3754 or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
3755 wsubi/wadi macors.
3756 (__mulsi3_helper): Update stack, preserve callee saved regs and
3757 argument from stack. Restore callee save registers.
3758 (__mulpsi3): Likewise.
3759 (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
3760 __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
18a3415e 3761 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
c1dd9790
JR
3762 AVRTINY.
3763 (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
3764 (__do_copy_data): Added new definition for AVRTINY.
3765 (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
3766 (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
3767 __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
3768 * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
3769 tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
3770 macors.
18a3415e 3771 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
c1dd9790
JR
3772 AVRTINY.
3773
18a3415e 3774 Fix broken long multiplication on tiny arch.
c1dd9790 3775
5f606431
JM
37762014-10-09 Joseph Myers <joseph@codesourcery.com>
3777
3778 * soft-fp/double.h: Update from glibc.
3779 * soft-fp/eqdf2.c: Likewise.
3780 * soft-fp/eqsf2.c: Likewise.
3781 * soft-fp/eqtf2.c: Likewise.
3782 * soft-fp/extenddftf2.c: Likewise.
3783 * soft-fp/extended.h: Likewise.
3784 * soft-fp/extendsfdf2.c: Likewise.
3785 * soft-fp/extendsftf2.c: Likewise.
3786 * soft-fp/extendxftf2.c: Likewise.
3787 * soft-fp/gedf2.c: Likewise.
3788 * soft-fp/gesf2.c: Likewise.
3789 * soft-fp/getf2.c: Likewise.
3790 * soft-fp/ledf2.c: Likewise.
3791 * soft-fp/lesf2.c: Likewise.
3792 * soft-fp/letf2.c: Likewise.
3793 * soft-fp/op-1.h: Likewise.
3794 * soft-fp/op-2.h: Likewise.
3795 * soft-fp/op-4.h: Likewise.
3796 * soft-fp/op-8.h: Likewise.
3797 * soft-fp/op-common.h: Likewise.
3798 * soft-fp/quad.h: Likewise.
3799 * soft-fp/single.h: Likewise.
3800 * soft-fp/soft-fp.h: Likewise.
3801 * soft-fp/unorddf2.c: Likewise.
3802 * soft-fp/unordsf2.c: Likewise.
3803 * soft-fp/unordtf2.c: Likewise.
3804 * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
3805 * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
3806 * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
3807 * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
3808 * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
3809 * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
3810 * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
3811 * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
3812 * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
3813 * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
3814
9b84e7a8
RX
38152014-10-08 Rong Xu <xur@google.com>
3816
3817 * libgcov-util.c (read_gcda_file): Fix format.
3818 (find_match_gcov_info): Ditto.
3819 (calculate_2_entries): New.
3820 (compute_one_gcov): Ditto.
3821 (gcov_info_count_all_cold): Ditto.
3822 (gcov_info_count_all_zero): Ditto.
3823 (extract_file_basename): Ditto.
3824 (get_file_basename): Ditto.
3825 (set_flag): Ditto.
3826 (matched_gcov_info): Ditto.
3827 (calculate_overlap): Ditto.
3828 (gcov_profile_overlap): Ditto.
3829 * libgcov-driver.c (compute_summary): Make
3830 it avavilable for external calls.
3831
fe1090c1
RX
38322014-10-06 Rong Xu <xur@google.com>
3833
3834 * Makefile.in: Ditto.
3835 * libgcov-driver.c (gcov_sort_n_vals): New utility function.
3836 (gcov_sort_icall_topn_counter): Ditto.
3837 (gcov_sort_topn_counter_arrays): Ditto.
3838 (dump_one_gcov): Sort indirect_call topn counters.
3839 * libgcov-merge.c (__gcov_merge_icall_topn): New merge
3840 function.
3841 * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
3842 utility function.
3843 (__gcov_indirect_call_topn_profiler): New profiler function.
3844 * libgcov-util.c (__gcov_icall_topn_counter_op): New.
3845 * libgcov.h: New decls.
3846
3daa7bbf
TS
38472014-10-04 Trevor Saunders <tsaunders@mozilla.com>
3848
3849 * config.host: Remove support for score-*.
3850
9a79452d
JM
38512014-09-22 Joseph Myers <joseph@codesourcery.com>
3852
3853 * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
3854 (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
3855 (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
3856 __LIBGCC_XF_MANT_DIG__.
3857 (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
3858 (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
3859 __LIBGCC_TF_MANT_DIG__.
3860 * libgcc2.c (NOTRUNC): Define in terms of
3861 __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
3862 * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
3863
1a849e50
JM
38642014-09-22 Joseph Myers <joseph@codesourcery.com>
3865
3866 PR target/63312
3867 * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
3868 New macros.
3869
598a1586
HPN
38702014-09-22 Hans-Peter Nilsson <hp@axis.com>
3871
3872 * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
3873 override USE_PT_GNU_EH_FRAME.
3874 [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
3875 check USE_EH_FRAME_REGISTRY_ALWAYS against
3876 __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
3877 * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
3878 variable for substituted force_explicit_eh_registry.
3879 (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
3880 * configure.ac (explicit-exception-frame-registration):
3881 New AC_ARG_ENABLE.
3882 * configure: Regenerate.
3883
3a8fe7c6
OH
38842014-09-19 Olivier Hainque <hainque@adacore.com>
3885
3886 * config.host (powerpc-wrs-vxworksmils): New configuration,
3887 same as vxworksae.
3888
dd69f047
JM
38892014-09-18 Joseph Myers <joseph@codesourcery.com>
3890
3891 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
3892
e770bfd9
JM
38932014-09-18 Joseph Myers <joseph@codesourcery.com>
3894
3895 * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
3896 bits not set bits as indicating trapping exceptions.
3897
cadb2b96
NS
38982014-09-17 Nathan sidwell <nathan@acm.org>
3899
3900 * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
3901 (LIBGCOV_DRIVER): ... here.
3902 * libgcov-driver.c (gcov_master): New.
3903 (gcov_exit): Remove from master chain.
3904 (__gcov_init): Add to master chain if version compatible. Don't
3905 clear the version.
3906 * libgcov_interface (__gcov_flust): Call gcov_dump_int.
3907 (gcov_reset_int): Clear master chain, if compatible.
3908 (gcov_dump_int): New internal interface. Dump master chain, if
3909 compatible.
3910 (gcov_dump): Alias for gcov_dump_int.
3911 * libgcov.h (struct gcov_root): Add next and prev fields.
3912 (struct gcov_master): New struct.
3913 (__gcov_master): New.
3914 (gcov_dump_int): Declare.
3915
580d22a3
OH
39162014-09-17 Olivier Hainque <hainque@adacore.com>
3917
3918 * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
3919 and crtbegin.o + crtend.o to extra_parts.
3920
8cc4b7a2
JM
39212014-09-12 Joseph Myers <joseph@codesourcery.com>
3922
3923 * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
3924 __LIBGCC_HAS_SF_MODE__.
3925 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
3926 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
3927 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
3928 * config/libbid/bid_gcc_intrinsics.h
3929 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
3930 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
3931 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
3932 * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
3933 (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
3934 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
3935
ea3f2b24
GJL
39362014-09-11 Georg-Johann Lay <avr@gjlay.de>
3937
3938 PR target/63223
3939 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
3940 and R24 as needed. Make work for all devices and .text locations.
3941 (__do_global_ctors, __do_global_dtors): Use word addresses.
3942 (__tablejump__, __tablejump_elpm__): Remove functions.
3943 * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
3944 Add _tablejump2.
3945 (XICALL, XIJMP): New macros.
3946
b677236a
MS
39472014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
3948 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
3949
3950 * config.host (aarch64*): Include crtfastmath.o and
3951 t-crtfm.
3952 * config/aarch64/crtfastmath.c: New file.
3953
157e859f
TS
39542014-09-08 Trevor Saunders <tsaunders@mozilla.com>
3955
3956 * config.host: Remove picochip support.
3957 * config/picochip/adddi3.S: Remove.
3958 * config/picochip/ashlsi3.S: Remove.
3959 * config/picochip/ashlsi3.c: Remove.
3960 * config/picochip/ashrsi3.S: Remove.
3961 * config/picochip/ashrsi3.c: Remove.
3962 * config/picochip/clzsi2.S: Remove.
3963 * config/picochip/cmpsi2.S: Remove.
3964 * config/picochip/divmod15.S: Remove.
3965 * config/picochip/divmodhi4.S: Remove.
3966 * config/picochip/divmodsi4.S: Remove.
3967 * config/picochip/lib1funcs.S: Remove.
3968 * config/picochip/longjmp.S: Remove.
3969 * config/picochip/lshrsi3.S: Remove.
3970 * config/picochip/lshrsi3.c: Remove.
3971 * config/picochip/parityhi2.S: Remove.
3972 * config/picochip/popcounthi2.S: Remove.
3973 * config/picochip/setjmp.S: Remove.
3974 * config/picochip/subdi3.S: Remove.
3975 * config/picochip/t-picochip: Remove.
3976 * config/picochip/ucmpsi2.S: Remove.
3977 * config/picochip/udivmodhi4.S: Remove.
3978 * config/picochip/udivmodsi4.S: Remove.
3979
66bb34c0
JM
39802014-09-08 Joseph Myers <joseph@codesourcery.com>
3981
3982 * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
3983 (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
3984 (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
3985 (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
3986 * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
3987 error if not defined and LIBGCC2_HAS_SF_MODE is defined.
3988 (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
3989 defined and LIBGCC2_HAS_DF_MODE is defined.
3990 (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
3991 defined and LIBGCC2_HAS_XF_MODE is defined.
3992 (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
3993 defined and LIBGCC2_HAS_TF_MODE is defined.
3994
9686a2e6
JM
39952014-09-08 Joseph Myers <joseph@codesourcery.com>
3996
3997 * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
3998 and ROUND_TOWARDS_ZERO conditionals.
3999
71c3e2ef
NS
40002014-09-07 Nathan sidwell <nathan@acm.org>
4001
4002 * libgcov-interface.c (STRONG_ALIAS): Rename to ...
4003 (ALIAS_weak): ... here. Use forwarding function. Adjust uses.
4004
53d68b9f
JM
40052014-09-05 Joseph Myers <joseph@codesourcery.com>
4006
4007 * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
4008 * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
4009 uses to __LIBGCC_STACK_POINTER_REGNUM__.
4010 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
4011 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4012 * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
4013 Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4014 * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
4015 uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
4016 (DWARF_FRAME_REGISTERS): Change all uses to
4017 __LIBGCC_DWARF_FRAME_REGISTERS__.
4018 (EH_RETURN_STACKADJ_RTX): Change all uses to
4019 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
4020 * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
4021 __LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
4022 * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
4023 use to __LIBGCC_EH_FRAME_SECTION_NAME__.
4024 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
4025 * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
4026 to __LIBGCC_EH_FRAME_SECTION_NAME__.
4027 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
4028 * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
4029 __LIBGCC_STACK_POINTER_REGNUM__.
4030 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
4031 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4032 * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
4033 to __LIBGCC_STACK_POINTER_REGNUM__.
4034 * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
4035 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4036 * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
4037 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4038 * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
4039 Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4040 (STACK_POINTER_REGNUM): Change all uses to
4041 __LIBGCC_STACK_POINTER_REGNUM__.
4042 * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
4043 use to __LIBGCC_STACK_POINTER_REGNUM__.
4044 * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
4045 uses to __LIBGCC_STACK_POINTER_REGNUM__.
4046 * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
4047 to __LIBGCC_DWARF_FRAME_REGISTERS__.
4048 * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
4049 to __LIBGCC_DWARF_FRAME_REGISTERS__.
4050 * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
4051 to __LIBGCC_STACK_POINTER_REGNUM__.
4052 * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
4053 Remove conditional definition.
4054 * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
4055 __LIBGCC_TEXT_SECTION_ASM_OP__.
4056 (EH_FRAME_SECTION_NAME): Change all uses to
4057 __LIBGCC_EH_FRAME_SECTION_NAME__.
4058 (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
4059 __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
4060 (CTORS_SECTION_ASM_OP): Change all uses to
4061 __LIBGCC_CTORS_SECTION_ASM_OP__.
4062 (DTORS_SECTION_ASM_OP): Change all uses to
4063 __LIBGCC_DTORS_SECTION_ASM_OP__.
4064 (JCR_SECTION_NAME): Change all uses to
4065 __LIBGCC_JCR_SECTION_NAME__.
4066 (INIT_SECTION_ASM_OP): Change all uses to
4067 __LIBGCC_INIT_SECTION_ASM_OP__.
4068 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
4069 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
4070 * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
4071 __LIBGCC_STACK_GROWS_DOWNWARD__.
4072 * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
4073 __LIBGCC_INIT_SECTION_ASM_OP__.
4074 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
4075 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
4076 (EH_FRAME_SECTION_NAME): Change all uses to
4077 __LIBGCC_EH_FRAME_SECTION_NAME__.
4078 * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
4079 definitions. Change all uses to
4080 __LIBGCC_VTABLE_USES_DESCRIPTORS__.
4081 * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
4082 __LIBGCC_STACK_GROWS_DOWNWARD__.
4083 (DWARF_FRAME_REGISTERS): Change all uses to
4084 __LIBGCC_DWARF_FRAME_REGISTERS__.
4085 (EH_RETURN_STACKADJ_RTX): Change all uses to
4086 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
4087 * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
4088 definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
4089 * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
4090 __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
4091 (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
4092
b20ee094
NS
40932014-09-02 Nathan sidwell <nathan@acm.org>
4094
4095 * libgcov-interface.c (STRONG_ALIAS): New.
4096 (__gcov_flush): Call __gcov_reset_int.
4097 (__gcov_reset): Strong alias for ...
4098 (__gcov_reset_ing): ... this renamed hidden version.
4099 * libgcov.h (__gcov_reset_int): New declaration.
4100
1ac83976
YS
41012014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
4102
25efdb9f
YS
4103 * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
4104 call from here...
4105 * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
4106 (__dso_handle): Define on Cygwin.
4107 * config/i386/t-cygming (crtbeginS.o): New rule.
4108 * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
4109
1ac83976
YS
4110 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
4111 declaration syntax.
4112
c6f9ea3b
SE
41132014-08-13 Steve Ellcey <sellcey@mips.com>
4114
4115 * crtstuff.c: Undef caddr_t.
4116
5b1ea7c5
SE
41172014-08-12 Steve Ellcey <sellcey@mips.com>
4118
4119 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
4120
4303c581
NS
41212014-08-07 Nathan Sidwell <nathan@acm.org>
4122
4123 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
4124 (LIBGCOV_DRIVER): ... to here.
4125 * libgcov.h (gcov_do_dump): New #define.
4126 (struct gcov_root): New.
4127 (__gcov_root): New declaration.
4128 (__gcov_dump_one): Declare.
4129 * libgcov-driver.c (gcov_list, gcov_dump_complete,
4130 run_accounted): Delete.
4131 (gcov_compute_histogram): Add LIST argument, adjust.
4132 (compute_summary): Adjust gcov_compute_histogram call.
4133 (gcov_do_dump): Not hidden, static in libgcov.
4134 (gcov_clear): Move to interface.c.
4135 (__gcov_dump_one): New, broken out of ...
4136 (gcov_exit): ... here. Make static.
4137 (__gcov_root): New.
4138 (__gcov_init): Adjust.
4139 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
4140 declarations.
4141 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
4142 (gcov_clear): Moved from driver.c. Add LIST argument.
4143 (__gcov_reset): Adjust for changed interfaces.
4144 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
4145
23742a9e
RAR
41462014-08-04 Rohit <rohitarulraj@freescale.com>
4147
4148 PR target/60102
4149 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
d406ae47 4150 based on change in SPE high register numbers and 3 HTM registers.
23742a9e 4151
b98a872b
NS
41522014-08-01 Nathan Sidwell <nathan@acm.org>
4153
4154 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
4155 LIBGCOV_INTERFACE): Reformat.
4156 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
4157 IN_GCOV_TOOL.
4158 * libgcov-interface.c: Reformat some comments.
4159 (__gcov_flush_mx): Add declaration. Tidy up definition.
4160
6adaaa1d
AM
41612014-07-31 Alan Modra <amodra@gmail.com>
4162 Peter Bergner <bergner@vnet.ibm.com>
4163
4164 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
4165 (pack_ldouble): New function.
4166 (__gcc_qadd): Use it.
4167 (__gcc_qmul): Likewise.
4168 (__gcc_qdiv): Likewise.
4169 (__gcc_qneg): Likewise.
4170 (__gcc_stoq): Likewise.
4171 (__gcc_dtoq): Likewise.
4172
87cb0c0c
UW
41732014-07-30 J. D. Johnston <jjohnst@us.ibm.com>
4174
4175 * config/s390/tpf-unwind.h: Include <stdbool.h>.
4176 (__tpf_eh_return): Add original return address as second parameter.
4177 Handle cases where unwinder routines were called directly, instead
4178 of from within the C++ library.
4179
19926161
NS
41802014-07-29 Nathan Sidwell <nathan@acm.org>
4181
4182 * libgcov.h: Move renaming of entry points to lib gcov specific
4183 portion.
4184 (gcov_do_dump): New rename.
4185 (gcov_rewrite): Remove inline, make HIDDEN.
4186 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
4187 (gcov_exit_compute_summary): Rename to ...
4188 (compute_summary): ... here. Add LIST argument.
4189 (gcov_exit_merge_gcda): Rename to ...
4190 (merge_one_data): ... here.
4191 (gcov_exit_write_gcda): Rename to ...
4192 (write_one_data): ... here.
4193 (gcov_exit_merge_summary): Rename to ...
4194 (merge_summary): Add RUN_COUNTED argument.
4195 (gcov_exit_dump_gcov): Rename to ...
4196 (dump_one_gcov): Add RUN_COUNTED argument.
4197 (gcov_do_dump): New function, broken out of ...
4198 (gcov_exit): ... here. Call it.
4199
17522262
AG
42002014-07-27 Anthony Green <green@moxielogic.com>
4201
4202 * config.host: Add moxiebox configuration suppport.
4203
6dc33097
NS
42042014-07-27 Nathan Sidwell <nathan@acm.org>
4205
4206 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
4207 (struct gcov_filename): ... here. Include buffer and max length
4208 fields.
4209 (gcov_max_filename): Remove.
4210 (gi_filename): Remove.
4211 (gcov_exit_compute_summary): Compute max filename here.
4212 (gcov_exit_merge_gcda): Add filename parm, adjust.
4213 (gcov_exit_merge_summary): Likewise.
4214 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
4215 (gcov_exit): Likewise.
4216 (__gcov_init): Don't calculate max length here.
4217 * libgcov_util.c (max_filename_len): Remove.
4218 (read_gcda_file): Don't calculate max length here.
4219 (gcov_read_profile_dir): Don't propagate here.
4220 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
4221 struct gcov_filename changes.
4222 (gcov_exit_open_gcda_file): Likewise.
4223
770f687d
NS
42242014-07-25 Nathan Sidwell <nathan@acm.org>
4225
4226 * libgcov-driver.c (set_gcov_dump_complete,
4227 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
4228 functions polluting user's namespace.
4229 (gcov_exit): Set variable directly.
4230 (gcov_clear): Reset variable directly.
4231 * libgcov-interface.c (get_gcov_dymp_complete,
4232 reset_gov_dump_complete): Remove declarations.
4233 (__gcov_reset, __gcov_dump): Don't call them.
4234
fabf71ba
DD
42352014-07-24 DJ Delorie <dj@redhat.com>
4236
4237 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
770f687d
NS
4238 (__gcc_deregister_frame): Move logic to detect deregister function
4239 to ...
4240 (__gcc_register_frame): here, so it's consistent with the register
4241 logic.
fabf71ba 4242
d10ee722
NS
42432014-07-23 Nathan Sidwell <nathan@acm.org>
4244
4245 * libgcov-driver.c (set_gcov_list): Remove.
4246 (gcov_list): Make non-static in GCOV_TOOL.
4247 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
4248
a4137090
JDA
42492014-07-17 John David Anglin <danglin@gcc.gnu.org>
4250
4251 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
4252 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
4253 Don't use SYNC_LOCK_RELEASE for int type.
4254
72602c6c
RB
42552014-07-14 Richard Biener <rguenther@suse.de>
4256
4257 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
4258
d5313205
RX
42592014-07-11 Rong Xu <xur@google.com>
4260
4261 * libgcov-util.c (gcov_max_filename): Fix declartion.
4262
c77556a5
RX
42632014-07-10 Rong Xu <xur@google.com>
4264
4265 Add gcov-tool: an offline gcda profile processing tool
4266 Support.
4267 * libgcov-driver.c (gcov_max_filename): Make available
4268 to gcov-tool.
4269 * libgcov-merge.c (__gcov_merge_add): Replace
4270 gcov_read_counter() with a Macro.
4271 (__gcov_merge_ior): Ditto.
4272 (__gcov_merge_time_profile): Ditto.
4273 (__gcov_merge_single): Ditto.
4274 (__gcov_merge_delta): Ditto.
4275 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
4276 in the utility functions.
4277 (set_fn_ctrs): Utility function for reading gcda files to in-memory
4278 gcov_list object link lists.
4279 (tag_function): Ditto.
4280 (tag_blocks): Ditto.
4281 (tag_arcs): Ditto.
4282 (tag_lines): Ditto.
4283 (tag_counters): Ditto.
4284 (tag_summary): Ditto.
4285 (read_gcda_finalize): Ditto.
4286 (read_gcda_file): Ditto.
4287 (ftw_read_file): Ditto.
4288 (read_profile_dir_init): Ditto.
4289 (gcov_read_profile_dir): Ditto.
4290 (gcov_read_counter_mem): Ditto.
4291 (gcov_get_merge_weight): Ditto.
4292 (merge_wrapper): A wrapper function that calls merging handler.
4293 (gcov_merge): Merge two gcov_info objects with weights.
4294 (find_match_gcov_info): Find the matched gcov_info in the list.
4295 (gcov_profile_merge): Merge two gcov_info object lists.
4296 (__gcov_add_counter_op): Process edge profile counter values.
4297 (__gcov_ior_counter_op): Process IOR profile counter values.
4298 (__gcov_delta_counter_op): Process delta profile counter values.
4299 (__gcov_single_counter_op): Process single profile counter values.
4300 (fp_scale): Callback function for float-point scaling.
cc86234f 4301 (int_scale): Callback function for integer fraction scaling.
c77556a5
RX
4302 (gcov_profile_scale): Scaling profile counters.
4303 (gcov_profile_normalize): Normalize profile counters.
4304 * libgcov.h: Add headers and functions for gcov-tool use.
4305 (gcov_get_counter): New.
4306 (gcov_get_counter_target): Ditto.
4307 (struct gcov_info): Make the functions field mutable in gcov-tool
4308 compilation.
4309
5c7dac8a
KT
43102014-06-23 Kai Tietz <ktietz@redhat.com>
4311
4312 PR libgcc/61585
4313 * unwind-seh.c (_Unwind_GetGR): Check for proper
4314 index range.
4315 (_Unwind_SetGR): Likewise.
4316
161c9312
NC
43172014-05-22 Nick Clifton <nickc@redhat.com>
4318
4319 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
4320 -mhwmult=none.
4321
e3f0315f
TJ
43222014-05-22 Teresa Johnson <tejohnson@google.com>
4323
4324 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
4325 include.
4326
dbed5a9b
JM
43272014-05-20 John Marino <gnugcc@marino.st>
4328
4329 * config.host (*-*-dragonfly*): New target.
4330 * crtstuff.c: Make dl_iterate_support generic on *bsd.
4331 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
4332 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
4333 * config/i386/dragonfly-unwind.h: New.
4334
1ec380e5
MR
43352014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
4336
4337 PR libgcc/60166
4338 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
4339 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
4340
54fde020
BE
43412014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
4342
4343 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
4344 implementation.
4345
999db125
GJL
43462014-05-12 Georg-Johann Lay <avr@gjlay.de>
4347
4348 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
4349
cceaf54a
RO
43502014-05-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4351
4352 PR libgcc/61097
4353 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
4354 if --enable-shared.
4355
e3fe9b5b
BE
43562014-04-30 Bernd Edlinger <bernd.edlinger@hotmail.de>
4357
4358 Work around for current cygwin32 build problems.
4359 * config/i386/cygming-crtbegin.c (__register_frame_info,
4360 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
4361 functions only for 64-bit systems.
4362
54cf37e9
RO
43632014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4364
4365 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
4366 (sigill_caught, sigill_hdlr): Remove.
4367
d9f069ab
RO
43682014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4369
4370 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
4371 check.
4372 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
4373 Solaris 9 single-threaded support.
4374 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
4375 Solaris 9 single-threaded support. Add call_user_handler code
4376 sequences.
4377 (sparc_is_sighandler): Likewise.
4378
59976ef8
AK
43792014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4380
4381 * config.host: Append t-floattodi to tmake_file depending on
4382 host_address.
4383
d02bbcf3
JS
43842014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
4385
31466bc0 4386 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
d02bbcf3 4387
c2e7e597
UB
43882014-03-10 Uros Bizjak <ubizjak@gmail.com>
4389
4390 PR libgcc/60472
4391 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
2405e0ea 4392 variable to avoid "array subscript is above array bounds" warnings.
c2e7e597
UB
4393 Use __builtin_expect when checking *jcr_list for NULL.
4394
227a7dc8
RO
43952014-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4396
4397 PR libgcc/59339
4398 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
4399 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
4400 vtv_*.o to extra_parts if enable_vtable_verify.
4401
df2b279c
NC
44022014-03-06 Nick Clifton <nickc@redhat.com>
4403
4404 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
4405 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
4406
dc11d79b
JY
44072014-02-28 Joey Ye <joey.ye@arm.com>
4408
4409 PR libgcc/60166
4410 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
4411 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
4412 Set to zero.
4413
341c653c
WL
44142014-02-24 Walter Lee <walt@tilera.com>
4415
4416 * config.host: Support "tilegx*" and "tilepro*" triplets.
4417 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
4418 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
4419
95ce7613
CLT
44202014-02-20 Sandra Loosemore <sandra@codesourcery.com>
4421 Chung-Lin Tang <cltang@codesourcery.com>
4422
4423 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
4424 * config/nios2/crti.S: Remove .file directive.
4425 * config/nios2/crtn.S: Likewise.
4426
0bb4fc05
KT
44272014-02-18 Kai Tietz <ktietz@redhat.com>
4428 Jonathan Schleifer <js@webkeks.org>
4429
4430 PR objc/56870
4431 * unwind-seh.c (_GCC_specific_handler): Pass proper
4432 value to unwind-handler.
4433
9acf28f1
JM
44342014-02-12 Joseph Myers <joseph@codesourcery.com>
4435
4436 * soft-fp/adddf3.c: Update from glibc.
4437 * soft-fp/addsf3.c: Likewise.
4438 * soft-fp/addtf3.c: Likewise.
4439 * soft-fp/divdf3.c: Likewise.
4440 * soft-fp/divsf3.c: Likewise.
4441 * soft-fp/divtf3.c: Likewise.
4442 * soft-fp/double.h: Likewise.
4443 * soft-fp/eqdf2.c: Likewise.
4444 * soft-fp/eqsf2.c: Likewise.
4445 * soft-fp/eqtf2.c: Likewise.
4446 * soft-fp/extenddftf2.c: Likewise.
4447 * soft-fp/extended.h: Likewise.
4448 * soft-fp/extendsfdf2.c: Likewise.
4449 * soft-fp/extendsftf2.c: Likewise.
4450 * soft-fp/extendxftf2.c: Likewise.
4451 * soft-fp/fixdfdi.c: Likewise.
4452 * soft-fp/fixdfsi.c: Likewise.
4453 * soft-fp/fixdfti.c: Likewise.
4454 * soft-fp/fixsfdi.c: Likewise.
4455 * soft-fp/fixsfsi.c: Likewise.
4456 * soft-fp/fixsfti.c: Likewise.
4457 * soft-fp/fixtfdi.c: Likewise.
4458 * soft-fp/fixtfsi.c: Likewise.
4459 * soft-fp/fixtfti.c: Likewise.
4460 * soft-fp/fixunsdfdi.c: Likewise.
4461 * soft-fp/fixunsdfsi.c: Likewise.
4462 * soft-fp/fixunsdfti.c: Likewise.
4463 * soft-fp/fixunssfdi.c: Likewise.
4464 * soft-fp/fixunssfsi.c: Likewise.
4465 * soft-fp/fixunssfti.c: Likewise.
4466 * soft-fp/fixunstfdi.c: Likewise.
4467 * soft-fp/fixunstfsi.c: Likewise.
4468 * soft-fp/fixunstfti.c: Likewise.
4469 * soft-fp/floatdidf.c: Likewise.
4470 * soft-fp/floatdisf.c: Likewise.
4471 * soft-fp/floatditf.c: Likewise.
4472 * soft-fp/floatsidf.c: Likewise.
4473 * soft-fp/floatsisf.c: Likewise.
4474 * soft-fp/floatsitf.c: Likewise.
4475 * soft-fp/floattidf.c: Likewise.
4476 * soft-fp/floattisf.c: Likewise.
4477 * soft-fp/floattitf.c: Likewise.
4478 * soft-fp/floatundidf.c: Likewise.
4479 * soft-fp/floatundisf.c: Likewise.
4480 * soft-fp/floatunditf.c: Likewise.
4481 * soft-fp/floatunsidf.c: Likewise.
4482 * soft-fp/floatunsisf.c: Likewise.
4483 * soft-fp/floatunsitf.c: Likewise.
4484 * soft-fp/floatuntidf.c: Likewise.
4485 * soft-fp/floatuntisf.c: Likewise.
4486 * soft-fp/floatuntitf.c: Likewise.
4487 * soft-fp/gedf2.c: Likewise.
4488 * soft-fp/gesf2.c: Likewise.
4489 * soft-fp/getf2.c: Likewise.
4490 * soft-fp/ledf2.c: Likewise.
4491 * soft-fp/lesf2.c: Likewise.
4492 * soft-fp/letf2.c: Likewise.
4493 * soft-fp/muldf3.c: Likewise.
4494 * soft-fp/mulsf3.c: Likewise.
4495 * soft-fp/multf3.c: Likewise.
4496 * soft-fp/negdf2.c: Likewise.
4497 * soft-fp/negsf2.c: Likewise.
4498 * soft-fp/negtf2.c: Likewise.
4499 * soft-fp/op-1.h: Likewise.
4500 * soft-fp/op-2.h: Likewise.
4501 * soft-fp/op-4.h: Likewise.
4502 * soft-fp/op-8.h: Likewise.
4503 * soft-fp/op-common.h: Likewise.
4504 * soft-fp/quad.h: Likewise.
4505 * soft-fp/single.h: Likewise.
4506 * soft-fp/soft-fp.h: Likewise.
4507 * soft-fp/subdf3.c: Likewise.
4508 * soft-fp/subsf3.c: Likewise.
4509 * soft-fp/subtf3.c: Likewise.
4510 * soft-fp/truncdfsf2.c: Likewise.
4511 * soft-fp/trunctfdf2.c: Likewise.
4512 * soft-fp/trunctfsf2.c: Likewise.
4513 * soft-fp/trunctfxf2.c: Likewise.
4514 * soft-fp/unorddf2.c: Likewise.
4515 * soft-fp/unordsf2.c: Likewise.
4516 * soft-fp/unordtf2.c: Likewise.
4517 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
4518 macro.
4519 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4520 Likewise.
4521 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4522 Likewise.
4523 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4524 Likewise.
4525 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4526 Likewise.
4527 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4528 Likewise.
4529 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4530 Likewise.
4531 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4532 Likewise.
4533 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4534 Likewise.
4535 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4536 Likewise.
4537 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4538 Likewise.
4539 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4540 Likewise.
4541 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4542 Likewise.
4543 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
4544 Likewise.
4545 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
4546 Likewise.
4547 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4548 Likewise.
4549
ce245ec6
AK
45502014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4551
4552 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
4553 cannot be represented.
4554 * config/s390/32/_fixsfdi.c: Likewise.
4555 * config/s390/32/_fixtfdi.c: Likewise.
4556 * config/s390/32/_fixunsdfdi.c: Likewise.
4557 * config/s390/32/_fixunssfdi.c: Likewise.
4558 * config/s390/32/_fixunstfdi.c: Likewise.
4559
1c51d688
RS
45602014-02-07 Richard Sandiford <rdsandiford@googlemail.com>
4561
4562 * configure.ac (libgcc_cv_mips_hard_float): New.
4563 * configure: Regenerate.
4564 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
4565 t-softfp-sfdf for hard-float targets.
4566 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
4567 (softfp_float_modes, softfp_int_modes, softfp_extensions)
4568 (softfp_truncations, softfp_exclude_libgcc2): New.
4569 * config/t-hardfp: New file.
4570 * config/t-hardfp-sfdf: Likewise.
4571 * config/hardfp.c: Likewise.
4572
bbf391db
AK
45732014-02-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4574
4575 * config.host: Include t-floattodi also for s390x.
4576 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
4577 * config/s390/32/_fixsfdi.c: Likewise.
4578 * config/s390/32/_fixtfdi.c: Likewise.
4579 * config/s390/32/_fixunsdfdi.c: Likewise.
4580 * config/s390/32/_fixunssfdi.c: Likewise.
4581 * config/s390/32/_fixunstfdi.c: Likewise.
4582
91da0481
RO
45832014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4584
4585 PR target/59788
4586 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
4587 (install-libgcc-unwind-map-forbuild): New target.
4588 (all): Depend on install-libgcc-unwind-map-forbuild.
4589 (install-libgcc-unwind-map): New target.
4590 (install): Depend on install-libgcc-unwind-map.
4591
02b67731
SL
45922014-02-02 Sandra Loosemore <sandra@codesourcery.com>
4593
4594 * config/nios2/crti.S (_init): Initialize GOT pointer from
4595 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
4596
1ea0a651
RS
45972014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
4598
4599 * configure.ac: Check __mips64 when setting host_address.
4600 * configure: Regenerate.
4601 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
4602 mips/t-mips64 and t-softfp.
4603 (mips*-*-linux*): Don't add mips/t-tpbit.
4604 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
4605 (DPBIT, DPBIT_CFLAGS): Delete.
4606 * config/mips/sfp-machine.h: New file.
4607 * config/mips/t-mips64: Likewise.
4608 * config/mips/t-softfp-tf: Likewise.
4609 * config/mips/t-tpbit: Delete.
4610
f32b0061
MS
46112014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
4612
4613 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
4614 as long long.
4615
a5420aa4
WL
46162014-01-25 Walter Lee <walt@tilera.com>
4617
4618 * config/tilepro/atomic.c: Include tconfig.h. Don't include
4619 config.h or system.h.
4620 (bool) Define.
4621
24534912
WL
46222014-01-25 Walter Lee <walt@tilera.com>
4623
4624 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
4625 (post_atomic_barrier): Ditto.
4626 (__fetch_and_do): New macro.
4627 (__atomic_fetch_and_do): Use __fetch_and_do.
4628 (__sync_fetch_and_do): New macro.
4629 (__sync_fetch_and_add_4): New function.
4630 (__sync_fetch_and_sub_4): New function.
4631 (__sync_fetch_and_or_4): New function.
4632 (__sync_fetch_and_and_4): New function.
4633 (__sync_fetch_and_xor_4): New function.
4634 (__sync_fetch_and_nand_4): New function.
4635 (__sync_fetch_and_add_8): New function.
4636 (__sync_fetch_and_sub_8): New function.
4637 (__sync_fetch_and_or_8): New function.
4638 (__sync_fetch_and_and_8): New function.
4639 (__sync_fetch_and_xor_8): New function.
4640 (__sync_fetch_and_nand_8): New function.
4641 (__do_and_fetch): New macro.
4642 (__atomic_do_and_fetch): Use __do_and_fetch.
4643 (__sync_do_and_fetch): New macro.
4644 (__sync_add_and_fetch_4): New function.
4645 (__sync_sub_and_fetch_4): New function.
4646 (__sync_or_and_fetch_4): New function.
4647 (__sync_and_and_fetch_4): New function.
4648 (__sync_xor_and_fetch_4): New function.
4649 (__sync_nand_and_fetch_4): New function.
4650 (__sync_add_and_fetch_8): New function.
4651 (__sync_sub_and_fetch_8): New function.
4652 (__sync_or_and_fetch_8): New function.
4653 (__sync_and_and_fetch_8): New function.
4654 (__sync_xor_and_fetch_8): New function.
4655 (__sync_nand_and_fetch_8): New function.
4656 (__sync_exchange_methods): New macro.
4657 (__sync_val_compare_and_swap_4): New function.
4658 (__sync_bool_compare_and_swap_4): New function.
4659 (__sync_lock_test_and_test_4): New function.
4660 (__sync_val_compare_and_swap_8): New function.
4661 (__sync_bool_compare_and_swap_8): New function.
4662 (__sync_lock_test_and_test_8): New function.
4663 (__subword_cmpxchg_body): New macro.
4664 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
4665 (__atomic_compare_exchange_2): Ditto.
4666 (__sync_subword_cmpxchg): New macro.
4667 (__sync_val_compare_and_swap_1): New function.
4668 (__sync_bool_compare_and_swap_1): New function.
4669 (__sync_val_compare_and_swap_2): New function.
4670 (__sync_bool_compare_and_swap_2): New function.
4671 (__atomic_subword): Rename to ...
4672 (__subword): ... New name.
4673 (__atomic_subword_fetch): Use __subword.
4674 (__sync_subword_fetch): New macro.
4675 (__sync_fetch_and_add_1): New function.
4676 (__sync_fetch_and_sub_1): New function.
4677 (__sync_fetch_and_or_1): New function.
4678 (__sync_fetch_and_and_1): New function.
4679 (__sync_fetch_and_xor_1): New function.
4680 (__sync_fetch_and_nand_1): New function.
4681 (__sync_fetch_and_add_2): New function.
4682 (__sync_fetch_and_sub_2): New function.
4683 (__sync_fetch_and_or_2): New function.
4684 (__sync_fetch_and_and_2): New function.
4685 (__sync_fetch_and_xor_2): New function.
4686 (__sync_fetch_and_nand_2): New function.
4687 (__sync_add_and_fetch_1): New function.
4688 (__sync_sub_and_fetch_1): New function.
4689 (__sync_or_and_fetch_1): New function.
4690 (__sync_and_and_fetch_1): New function.
4691 (__sync_xor_and_fetch_1): New function.
4692 (__sync_nand_and_fetch_1): New function.
4693 (__sync_add_and_fetch_2): New function.
4694 (__sync_sub_and_fetch_2): New function.
4695 (__sync_or_and_fetch_2): New function.
4696 (__sync_and_and_fetch_2): New function.
4697 (__sync_xor_and_fetch_2): New function.
4698 (__sync_nand_and_fetch_2): New function.
4699 (__atomic_subword_lock): Use __subword.
4700 (__sync_subword_lock): New macro.
4701 (__sync_lock_test_and_set_1): New function.
4702 (__sync_lock_test_and_set_2): New function.
4703
4d6d3bc5
WL
47042014-01-25 Walter Lee <walt@tilera.com>
4705
4706 * config/tilepro/atomic.c (BIT_OFFSET): Define.
4707 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
4708 (__atomic_subword): Ditto.
4709
cbd9890e
WL
47102014-01-25 Walter Lee <walt@tilera.com>
4711
4712 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
4713 a prefix op argument.
4714 (__atomic_nand_fetch_4): Add prefix op.
4715 (__atomic_nand_fetch_8): Ditto.
4716
7d296953 47172014-01-21 Baruch Siach <barch@tkos.co.il>
800d8bd5
BS
4718
4719 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
4720
46dd1242
L
47212014-01-09 Rong Xu <xur@google.com>
4722
4723 * libgcov-driver.c (this_prg): make it local to save
4724 bss space.
4725 (gcov_exit_compute_summary): Ditto.
4726 (gcov_exit_merge_gcda): Ditto.
4727 (gcov_exit_merge_summary): Ditto.
4728 (gcov_exit_dump_gcov): Ditto.
4729
cc86234f 47302014-01-08 Rong Xu <xur@google.com>
40d6b753
RX
4731
4732 * libgcov-driver.c: Use libgcov.h.
4733 (buffer_fn_data): Use xmalloc instead of malloc.
4734 (gcov_exit_merge_gcda): Ditto.
4735 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
4736 * libgcov.h: New common header files for libgcov-*.h.
4737 * libgcov-interface.c: Use libgcov.h
4738 * libgcov-merge.c: Ditto.
4739 * libgcov-profiler.c: Ditto.
4740 * Makefile.in: Add dependence to libgcov.h
4741
a02e7bdd
JM
47422014-01-02 Joseph Myers <joseph@codesourcery.com>
4743
4744 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
4745 case of small numerator and finite nonzero result.
4746
ac1dca3c
RS
47472014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
4748
4749 Update copyright years
4750
f9030485
RS
47512014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
4752
4753 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
4754 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
4755 config/arc/dp-hack.h, config/arc/fp-hack.h,
4756 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
4757 config/arc/ieee-754/arc600-dsp/divdf3.S,
4758 config/arc/ieee-754/arc600-dsp/divsf3.S,
4759 config/arc/ieee-754/arc600-dsp/muldf3.S,
4760 config/arc/ieee-754/arc600-dsp/mulsf3.S,
4761 config/arc/ieee-754/arc600-mul64/divdf3.S,
4762 config/arc/ieee-754/arc600-mul64/divsf3.S,
4763 config/arc/ieee-754/arc600-mul64/muldf3.S,
4764 config/arc/ieee-754/arc600-mul64/mulsf3.S,
4765 config/arc/ieee-754/arc600/divsf3.S,
4766 config/arc/ieee-754/arc600/mulsf3.S,
4767 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
4768 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
4769 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
4770 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
4771 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
4772 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
4773 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
4774 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
4775 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
4776 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
4777 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
4778 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
4779 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
4780 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
4781 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
4782 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
4783 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
4784 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
4785 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
4786 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
4787 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
4788 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
4789 vtv_start_preinit.c: Use the standard form for the copyright notice.
4790
e430824f
CLT
47912013-12-31 Sandra Loosemore <sandra@codesourcery.com>
4792 Chung-Lin Tang <cltang@codesourcery.com>
4793 Based on patches from Altera Corporation
4794
4795 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
4796 * config/nios2/lib2-nios2.h: New file.
4797 * config/nios2/lib2-divmod-hi.c: New file.
4798 * config/nios2/linux-unwind.h: New file.
4799 * config/nios2/lib2-divmod.c: New file.
4800 * config/nios2/linux-atomic.c: New file.
4801 * config/nios2/t-nios2: New file.
4802 * config/nios2/crti.asm: New file.
4803 * config/nios2/t-linux: New file.
4804 * config/nios2/lib2-divtable.c: New file.
4805 * config/nios2/lib2-mul.c: New file.
4806 * config/nios2/tramp.c: New file.
4807 * config/nios2/crtn.asm: New file.
4808
1879e97f
UB
48092013-12-26 Uros Bizjak <ubizjak@gmail.com>
4810
4811 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
4812 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
4813 from cpuid.h to check vendor signatures.
4814
f4a4bdbb
GG
48152013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
4816
c2e7e597 4817 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
f4a4bdbb
GG
4818 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
4819 (get_amd_cpu): Likewise.
4820
8d2ae544
L
48212013-12-25 H.J. Lu <hongjiu.lu@intel.com>
4822
4823 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
4824 Haswell.
4825
74924838
ASJ
48262013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
4827 H.J. Lu <hongjiu.lu@intel.com>
4828
0bb52f25
L
4829 PR target/59422
4830 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
74924838
ASJ
4831 and AMD_JAGUAR.
4832 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
4833 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
4834 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
4835 FEATURE_XOP and FEATURE_FMA.
4836 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
4837 AMDFAM15H_BDVER3.
4838 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
0bb52f25 4839 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
74924838
ASJ
4840 FEATURE_FMA4 and FEATURE_XOP.
4841
d3c11974
L
48422013-12-23 H.J. Lu <hongjiu.lu@intel.com>
4843
4844 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
4845 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
4846 (get_intel_cpu): Updated.
4847
064c4ff2
ZC
48482013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
4849
4850 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
4851
8b02e720
UB
48522013-12-09 Uros Bizjak <ubizjak@gmail.com>
4853
4854 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
1f71a3c3 4855 instructions when __SSE_MATH__ is defined.
8b02e720 4856
3fa2ccb4
RC
48572013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
4858
4859 * config.host (microblaze-*-rtems*): New.
4860
ecd78fc9
KV
48612013-12-04 Kugan Vivekanandarajah <kuganv@linaro.org>
4862
4863 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
4864 architectures that do not have hardware divide instruction.
4865 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
4866
b21fbbd2
RS
48672013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
4868
4869 * longlong.h: Delete (moved to include/).
4870
b03fb8c9
AZ
48712013-12-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4872
4873 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
4874 of normal number and qNaN to not raise an inexact exception.
4875
3c716922
UB
48762013-11-28 Uros Bizjak <ubizjak@gmail.com>
4877
4878 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
4879
48802013-11-28 Matthew Leach <matthew.leach@arm.com>
cceeb9a9
ML
4881
4882 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
4883 for correct opcodes on BE.
4884
a3458d22
UB
48852013-11-27 Uros Bizjak <ubizjak@gmail.com>
4886
4887 * soft-fp/op-4.h: Update from glibc.
4888
30b8f78b
KV
48892013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
4890
4891 * libgcc2.c (__udivmoddi4): Define new implementation when
4892 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
4893 divide instructions.
4894
82552a29
OE
48952013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
4896
4897 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
4898
80e87457
RO
48992013-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4900
4901 * config/t-softfp (soft-fp-objects-base): New variable.
4902 (soft-fp-objects): Use it.
4903
44178879
DE
49042013-11-23 David Edelson <dje.gcc@gmail.com>
4905 Andrew Dixie <andrewd@gentrack.com>
4906
4907 PR target/33704
4908 * config/rs6000/aixinitfini.c: New file.
4909 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
4910 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
4911 symbols.
4912
e5287671
YR
49132013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
4914
a3458d22 4915 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
e5287671 4916
867c8b03
JH
49172013-11-18 Jan Hubicka <jh@suse.cz>
4918
7f369373
JH
4919 * libgcov-driver.c (run_accounted): Make global level static.
4920 (gcov_exit_merge_summary): Silence warning; do not clear
4921 run_accounted here.
4922 (gcov_exit): Clear it here.
4923
1d0b3334
JH
4924 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
4925 run_accounted.
4926
867c8b03
JH
4927 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
4928 (all_prg, crc32): Remove static vars.
4929 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
4930 all_prg.
4931 (gcov_exit_merge_gcda): Add crc32 parameter.
4932 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
4933 do not account run if it was already accounted.
4934 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
4935 (gcov_exit): Initialize all_prg; update.
4936
66204992
AS
49372013-11-15 Andreas Schwab <schwab@linux-m68k.org>
4938
4939 * configure: Regenerate.
4940
b54214fe
UW
49412013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4942 Alan Modra <amodra@gmail.com>
4943
4944 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
4945 (frob_update_context): Use it.
4946
49472013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4948 Alan Modra <amodra@gmail.com>
4949
4950 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
4951 (trampoline_initial): Provide ELFv2 variant.
4952 (__trampoline_setup): Likewise.
4953
4954 * config/rs6000/linux-unwind.h (frob_update_context): Do not
4955 check for AIX indirect function call sequence if _CALL_ELF == 2.
4956
49572013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4958 Alan Modra <amodra@gmail.com>
4959
4960 * config/rs6000/linux-unwind.h (get_regs): Do not support
4961 old kernel versions if _CALL_ELF == 2.
4962 (frob_update_context): Do not support PLT stub variants only
4963 generated by old linkers if _CALL_ELF == 2.
4964
13e0981a
UW
49652013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4966 Alan Modra <amodra@gmail.com>
4967
4968 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
4969 location of CR save area for 64-bit little-endian systems.
4970
1a80085d
EB
49712013-11-11 Eric Botcazou <ebotcazou@adacore.com>
4972
4973 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
4974 in tmake_file.
4975 * config/arm/t-vxworks: Delete.
4976
cabeea52
KT
49772013-11-10 Kai Tietz <ktietz@redhat.com>
4978
4979 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
4980 Increment load-count on use of LIBGCC_SONAME DLL.
4981 (hmod_libgcc): New static variable to hold handle of
4982 LIBGCC_SONAME DLL.
4983 (__gcc_deregister_frame): Decrement load-count of
4984 LIBGCC_SONAME DLL.
4985
ac088ba1
BRF
49862013-11-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
4987
4988 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
4989 availability.
4990 * configure: Regenerate
4991
d59a8fcc
UB
49922013-11-07 Uros Bizjak <ubizjak@gmail.com>
4993
4994 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
4995 FP_EX_DENORM. Store result to volatile location after SSE division
4996 to close interrupt window. Remove unneeded fwait after x87
4997 division since interrupt window will be closed by emitted fstp.
9de84e84 4998 Rewrite FP_EX_INEXACT handling.
d59a8fcc 4999
9954c743
JM
50002013-11-06 Joseph Myers <joseph@codesourcery.com>
5001
5002 * soft-fp/README: Update.
5003 * soft-fp/adddf3.c: Update from glibc.
5004 * soft-fp/addsf3.c: Likewise.
5005 * soft-fp/addtf3.c: Likewise.
5006 * soft-fp/divdf3.c: Likewise.
5007 * soft-fp/divsf3.c: Likewise.
5008 * soft-fp/divtf3.c: Likewise.
5009 * soft-fp/double.h: Likewise.
5010 * soft-fp/eqdf2.c: Likewise.
5011 * soft-fp/eqsf2.c: Likewise.
5012 * soft-fp/eqtf2.c: Likewise.
5013 * soft-fp/extenddftf2.c: Likewise.
5014 * soft-fp/extended.h: Likewise.
5015 * soft-fp/extendsfdf2.c: Likewise.
5016 * soft-fp/extendsftf2.c: Likewise.
5017 * soft-fp/extendxftf2.c: Likewise.
5018 * soft-fp/fixdfdi.c: Likewise.
5019 * soft-fp/fixdfsi.c: Likewise.
5020 * soft-fp/fixdfti.c: Likewise.
5021 * soft-fp/fixsfdi.c: Likewise.
5022 * soft-fp/fixsfsi.c: Likewise.
5023 * soft-fp/fixsfti.c: Likewise.
5024 * soft-fp/fixtfdi.c: Likewise.
5025 * soft-fp/fixtfsi.c: Likewise.
5026 * soft-fp/fixtfti.c: Likewise.
5027 * soft-fp/fixunsdfdi.c: Likewise.
5028 * soft-fp/fixunsdfsi.c: Likewise.
5029 * soft-fp/fixunsdfti.c: Likewise.
5030 * soft-fp/fixunssfdi.c: Likewise.
5031 * soft-fp/fixunssfsi.c: Likewise.
5032 * soft-fp/fixunssfti.c: Likewise.
5033 * soft-fp/fixunstfdi.c: Likewise.
5034 * soft-fp/fixunstfsi.c: Likewise.
5035 * soft-fp/fixunstfti.c: Likewise.
5036 * soft-fp/floatdidf.c: Likewise.
5037 * soft-fp/floatdisf.c: Likewise.
5038 * soft-fp/floatditf.c: Likewise.
5039 * soft-fp/floatsidf.c: Likewise.
5040 * soft-fp/floatsisf.c: Likewise.
5041 * soft-fp/floatsitf.c: Likewise.
5042 * soft-fp/floattidf.c: Likewise.
5043 * soft-fp/floattisf.c: Likewise.
5044 * soft-fp/floattitf.c: Likewise.
5045 * soft-fp/floatundidf.c: Likewise.
5046 * soft-fp/floatundisf.c: Likewise.
5047 * soft-fp/floatunditf.c: Likewise.
5048 * soft-fp/floatunsidf.c: Likewise.
5049 * soft-fp/floatunsisf.c: Likewise.
5050 * soft-fp/floatunsitf.c: Likewise.
5051 * soft-fp/floatuntidf.c: Likewise.
5052 * soft-fp/floatuntisf.c: Likewise.
5053 * soft-fp/floatuntitf.c: Likewise.
5054 * soft-fp/gedf2.c: Likewise.
5055 * soft-fp/gesf2.c: Likewise.
5056 * soft-fp/getf2.c: Likewise.
5057 * soft-fp/ledf2.c: Likewise.
5058 * soft-fp/lesf2.c: Likewise.
5059 * soft-fp/letf2.c: Likewise.
5060 * soft-fp/muldf3.c: Likewise.
5061 * soft-fp/mulsf3.c: Likewise.
5062 * soft-fp/multf3.c: Likewise.
5063 * soft-fp/negdf2.c: Likewise.
5064 * soft-fp/negsf2.c: Likewise.
5065 * soft-fp/negtf2.c: Likewise.
5066 * soft-fp/op-1.h: Likewise.
5067 * soft-fp/op-2.h: Likewise.
5068 * soft-fp/op-4.h: Likewise.
5069 * soft-fp/op-8.h: Likewise.
5070 * soft-fp/op-common.h: Likewise.
5071 * soft-fp/quad.h: Likewise.
5072 * soft-fp/single.h: Likewise.
5073 * soft-fp/soft-fp.h: Likewise.
5074 * soft-fp/subdf3.c: Likewise.
5075 * soft-fp/subsf3.c: Likewise.
5076 * soft-fp/subtf3.c: Likewise.
5077 * soft-fp/truncdfsf2.c: Likewise.
5078 * soft-fp/trunctfdf2.c: Likewise.
5079 * soft-fp/trunctfsf2.c: Likewise.
5080 * soft-fp/trunctfxf2.c: Likewise.
5081 * soft-fp/unorddf2.c: Likewise.
5082 * soft-fp/unordsf2.c: Likewise.
5083 * soft-fp/unordtf2.c: Likewise.
5084
02ac9503
UB
50852013-11-05 Uros Bizjak <ubizjak@gmail.com>
5086
5087 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
5088 (_FP_MUL_MEAT_D): Ditto.
5089 (_FP_DIV_MEAT_S): Ditto.
5090 (_FP_DIV_MEAT_D): Ditto.
5091 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
5092 t-softfp-sfdf and t-softfp to tmake_file.
5093
61221141
UB
50942013-11-03 Uros Bizjak <ubizjak@gmail.com>
5095
5096 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
5097 * config/i386/crtprec.c: Ditto.
5098
9304f876
CJW
50992013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
5100 Shiva Chen <shiva0217@gmail.com>
5101
5102 * config.host (nds32*-elf*): Add nds32 target.
5103 * config/nds32 : New directory and files.
5104
0e499e75
HPN
51052013-10-16 Hans-Peter Nilsson <hp@axis.com>
5106
5107 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
5108 * config.host (cpu_type) <Setting default>: Add entry for
5109 crisv32-*-*.
5110 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
5111 <crisv32-*-linux*>: Adjust.
5112 * longlong.h: Wrap the whole CRIS section in a single
5113 defined(__CRIS__) conditional. Add comment about add_ssaaaa
5114 and sub_ddmmss.
5115 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
5116 defined.
5117 [__CRIS__] (__umulsidi3): Define.
5118 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
5119 * config/cris/sfp-machine.h: New file.
5120 * config/cris/umulsidi3.S: New file.
5121 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
5122 * config/cris/arit.c (SIGNMULT): New macro.
5123 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
5124 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
5125 saving 3 out of originally 33 cycles from the fastest
5126 path, 3 out of 54 from the medium path and one from the longest
5127 path. Improve comments.
5128
16022041
RS
51292013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
5130
5131 * sync.c: Remove static aliases and define each function directly
5132 under its real name.
5133
69778659
JDA
51342013-10-02 John David Anglin <danglin@gcc.gnu.org>
5135
5136 * config.host (hppa*64*-*-linux*): Define extra_parts.
5137 (hppa*-*-linux*): Likewise.
5138
2deaf8b0
JR
51392013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
5140
5141 * config/arc/crtgend.S: Add 2013 to Copyright years.
5142 * config/arc/gmon/atomic.h: Likewise.
5143 * config/arc/gmon/auxreg.h: Likewise.
5144 * config/arc/gmon/sys/gmon_out.h: Likewise.
5145 * config/arc/gmon/sys/gmon.h: Likewise.
5146 * config/arc/gmon/prof-freq.c: Likewise.
5147 * config/arc/gmon/mcount.c: Likewise.
5148 * config/arc/gmon/prof-freq-stub.S: Likewise.
5149 * config/arc/gmon/gmon.c: Likewise.
5150 * config/arc/gmon/machine-gmon.h: Likewise.
5151 * config/arc/gmon/profil.S: Likewise.
5152 * config/arc/gmon/dcache_linesz.S: Likewise.
5153 * config/arc/crtg.S: Likewise.
5154 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
5155 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
5156 * config/arc/ieee-754/adddf3.S: Likewise.
5157 * config/arc/ieee-754/truncdfsf2.S: Likewise.
5158 * config/arc/ieee-754/fixsfsi.S: Likewise.
5159 * config/arc/ieee-754/gtsf2.S: Likewise.
5160 * config/arc/ieee-754/floatsisf.S: Likewise.
5161 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
5162 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
5163 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
5164 * config/arc/ieee-754/fixdfsi.S: Likewise.
5165 * config/arc/ieee-754/addsf3.S: Likewise.
5166 * config/arc/ieee-754/gesf2.S: Likewise.
5167 * config/arc/ieee-754/floatsidf.S: Likewise.
5168 * config/arc/ieee-754/extendsfdf2.S: Likewise.
5169 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
5170 * config/arc/ieee-754/gtdf2.S: Likewise.
5171 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
5172 * config/arc/ieee-754/uneqdf2.S: Likewise.
5173 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
5174 * config/arc/ieee-754/uneqsf2.S: Likewise.
5175 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
5176 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
5177 * config/arc/ieee-754/eqdf2.S: Likewise.
5178 * config/arc/ieee-754/ordsf2.S: Likewise.
5179 * config/arc/ieee-754/divsf3.S: Likewise.
5180 * config/arc/ieee-754/divdf3.S: Likewise.
5181 * config/arc/ieee-754/floatunsidf.S: Likewise.
5182 * config/arc/ieee-754/orddf2.S: Likewise.
5183 * config/arc/ieee-754/eqsf2.S: Likewise.
5184 * config/arc/ieee-754/gedf2.S: Likewise.
5185 * config/arc/crtn.S: Likewise.
5186 * config/arc/crti.S: Likewise.
5187 * config/arc/t-arc700-uClibc: Likewise.
5188 * config/arc/asm.h: Likewise.
5189 * config/arc/libgcc-excl.ver: Likewise.
5190 * config/arc/t-arc-newlib: Likewise.
5191 * config/arc/divtab-arc700.c: Likewise.
5192 * config/arc/initfini.c: Likewise.
5193 * config/arc/fp-hack.h: Likewise.
5194
c8e318b0
JR
51952013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
5196 Diego Novillo <dnovillo@google.com>
5197
5198 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
a07c5b47
JR
5199 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
5200 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
5201 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
c8e318b0 5202
d38a64b4
JR
52032013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
5204 Brendan Kehoe <brendan@zen.org>
5205 Simon Cook <simon.cook@embecosm.com>
5206
5207 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
5208 * config/arc: New directory.
5209 * longlong.h [__arc__] (umul_ppmm): Remove.
5210 [__arc__] (__umulsidi3): Define.
5211 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
5212 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
5213
dff717d2
JC
52142013-09-17 Jacek Caban <jacek@codeweavers.com>
5215
5216 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
5217 CreateSemaphoreA.
5218 * config/i386/gthr-win32.h: Likewise.
5219
5c0029de
DD
52202013-09-16 DJ Delorie <dj@redhat.com>
5221
844ad6c6 5222 * config/rl78/vregs.h: Add G10 register definitions.
5c0029de
DD
5223 * config/rl78/lib2mul.c: Enable for RL78/G10.
5224 * config/rl78/lib2div.c: Likewise.
5225 * config/rl78/lshrsi3.S: Use vregs.h.
5226 * config/rl78/cmpsi2.S: Likewise.
5227 * config/rl78/trampoline.S: Likewise.
5228 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
5229
ceb2fc49
DD
52302013-09-14 DJ Delorie <dj@redhat.com>
5231 Nick Clifton <nickc@redhat.com>
5232
5233 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
5234 * config/rl78/vregs.h: New.
5235 * config/rl78/signbit.S: New file. Implements signbit function.
5236 * config/rl78/divmodsi.S: New.
5237 * config/rl78/divmodhi.S: New.
5238 * config/rl78/divmodqi.S: New.
5239 * config/rl78/t-rl78: Build them here...
5240 * config/rl78/lib2div.c: ...but not here.
5241
f6a83b4a
DD
52422013-09-12 DJ Delorie <dj@redhat.com>
5243
5244 * config.host (msp*-*-elf): New.
5245 * config/msp430/: New port.
5246
9107b096
IS
52472013-08-18 Iain Sandoe <iain@codesourcery.com>
5248
5249 PR gcov-profile/58127
5250 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
5251 __thread var for emulated TLS.
5252 (__gcov_indirect_call_counters): Likewise.
5253
0f9bde1f 52542013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
61221141 5255 Catherine Moore <clm@codesourcery.com>
7d296953 5256 Richard Sandiford <rdsandiford@googlemail.com>
0f9bde1f
MR
5257
5258 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
5259 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
5260 (CALL_STUB_NO_RET): Likewise.
5261 (CALL_STUB_RET): Likewise.
5262 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
5263 __mips16_ret call/return stub symbols.
5264 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
5265 to tmake_file.
5266
2dc14aac
MR
52672013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
5268
5269 * config.host <mips*-*-linux*>: Remove a stray comment.
5270
748d71f3
JH
52712013-08-10 Jan Hubicka <jh@suse.cz>
5272
5273 Work around binutils PR14342
5274 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
5275 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
5276 (L_gcov_indirect_call_profiler_v2): New.
5277
2fa3d31b
JH
52782013-08-06 Jan Hubicka <jh@suse.cz>
5279
5280 * libgcov.c (__gcov_indirect_call_callee,
5281 __gcov_indirect_call_counters): New global vars.
5282 (__gcov_indirect_call_profiler): replace by ...
5283 (__gcov_indirect_call_profiler_v2) ... this one.
5284
2077db1b
CT
52852013-08-06 Caroline Tice <cmtice@google.com>
5286
d0595b65 5287 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
2077db1b 5288 vtv_start_preinit.o and vtv_end_preinit.o.
d0595b65
CT
5289 * configure.ac: Add code to check/set enable_vtable_verify.
5290 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
2077db1b 5291 true.
d0595b65
CT
5292 * vtv_start_preinit.c: New file.
5293 * vtv_end_preinit.c: New file.
5294 * vtv_start.c: New file.
5295 * vtv_end.c: New file.
5296 * configure: Regenerated.
2077db1b 5297
46549c20
MK
52982013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
5299
5300 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
5301 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
5302 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
5303 GPL-3.0-with-GCC-exception.
5304
72be589b
MR
53052013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
5306
5307 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
5308 ISA and up.
5309
902a3faf
AK
53102013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5311
5312 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
5313 mapping for FPRs when creating the fallback framestate.
5314
02371798
GJL
53152013-07-19 Georg-Johann Lay <avr@gjlay.de>
5316
5317 PR target/57516
5318 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
5319 (__round_s2_const, __round_u2_const)
5320 (__round_s4_const, __round_u4_const, __round_x8):
5321 Saturate result if addition result cannot be represented.
5322
ab0e8379
MK
53232013-07-15 Matthias Klose <doko@ubuntu.com>
5324
5325 * libgcc2.c: Don't include <limits.h>.
5326
7da38058
JJ
53272013-07-09 Janis Johnson <janisjo@codesourcery.com>
5328
5329 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
5330
1f6eac90
JJ
53312013-07-06 Jakub Jelinek <jakub@redhat.com>
5332
5333 PR target/29776
5334 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
5335
4ea3d774
JJ
53362013-06-28 Jakub Jelinek <jakub@redhat.com>
5337
5338 PR middle-end/36041
5339 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
5340 Define.
5341 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
5342 instead of table lookups.
5343 (__popcountDI2): Likewise.
5344
9d2cdf25
CJW
53452013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
5346
5347 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
5348 correctly.
5349
fa1e55b0
JM
53502013-06-21 Joseph Myers <joseph@codesourcery.com>
5351
5352 PR other/53317
5353 * soft-fp/adddf3.c: Update from glibc.
5354 * soft-fp/addsf3.c: Likewise.
5355 * soft-fp/addtf3.c: Likewise.
5356 * soft-fp/divdf3.c: Likewise.
5357 * soft-fp/divsf3.c: Likewise.
5358 * soft-fp/divtf3.c: Likewise.
5359 * soft-fp/double.h: Likewise.
5360 * soft-fp/eqdf2.c: Likewise.
5361 * soft-fp/eqsf2.c: Likewise.
5362 * soft-fp/eqtf2.c: Likewise.
5363 * soft-fp/extenddftf2.c: Likewise.
5364 * soft-fp/extended.h: Likewise.
5365 * soft-fp/extendsfdf2.c: Likewise.
5366 * soft-fp/extendsftf2.c: Likewise.
5367 * soft-fp/fixdfdi.c: Likewise.
5368 * soft-fp/fixdfsi.c: Likewise.
5369 * soft-fp/fixsfdi.c: Likewise.
5370 * soft-fp/fixsfsi.c: Likewise.
5371 * soft-fp/fixtfdi.c: Likewise.
5372 * soft-fp/fixtfsi.c: Likewise.
5373 * soft-fp/fixunsdfdi.c: Likewise.
5374 * soft-fp/fixunsdfsi.c: Likewise.
5375 * soft-fp/fixunssfdi.c: Likewise.
5376 * soft-fp/fixunssfsi.c: Likewise.
5377 * soft-fp/fixunstfdi.c: Likewise.
5378 * soft-fp/fixunstfsi.c: Likewise.
5379 * soft-fp/floatdidf.c: Likewise.
5380 * soft-fp/floatdisf.c: Likewise.
5381 * soft-fp/floatditf.c: Likewise.
5382 * soft-fp/floatsidf.c: Likewise.
5383 * soft-fp/floatsisf.c: Likewise.
5384 * soft-fp/floatsitf.c: Likewise.
5385 * soft-fp/floatundidf.c: Likewise.
5386 * soft-fp/floatundisf.c: Likewise.
5387 * soft-fp/floatunditf.c: Likewise.
5388 * soft-fp/floatunsidf.c: Likewise.
5389 * soft-fp/floatunsisf.c: Likewise.
5390 * soft-fp/floatunsitf.c: Likewise.
5391 * soft-fp/gedf2.c: Likewise.
5392 * soft-fp/gesf2.c: Likewise.
5393 * soft-fp/getf2.c: Likewise.
5394 * soft-fp/ledf2.c: Likewise.
5395 * soft-fp/lesf2.c: Likewise.
5396 * soft-fp/letf2.c: Likewise.
5397 * soft-fp/muldf3.c: Likewise.
5398 * soft-fp/mulsf3.c: Likewise.
5399 * soft-fp/multf3.c: Likewise.
5400 * soft-fp/negdf2.c: Likewise.
5401 * soft-fp/negsf2.c: Likewise.
5402 * soft-fp/negtf2.c: Likewise.
5403 * soft-fp/op-1.h: Likewise.
5404 * soft-fp/op-2.h: Likewise.
5405 * soft-fp/op-4.h: Likewise.
5406 * soft-fp/op-8.h: Likewise.
5407 * soft-fp/op-common.h: Likewise.
5408 * soft-fp/quad.h: Likewise.
5409 * soft-fp/single.h: Likewise.
5410 * soft-fp/soft-fp.h: Likewise.
5411 * soft-fp/subdf3.c: Likewise.
5412 * soft-fp/subsf3.c: Likewise.
5413 * soft-fp/subtf3.c: Likewise.
5414 * soft-fp/truncdfsf2.c: Likewise.
5415 * soft-fp/trunctfdf2.c: Likewise.
5416 * soft-fp/trunctfsf2.c: Likewise.
5417 * soft-fp/unorddf2.c: Likewise.
5418 * soft-fp/unordsf2.c: Likewise.
5419 * soft-fp/unordtf2.c: Likewise.
5420 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
5421 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5422 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5423 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5424 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5425 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5426 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5427 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5428 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5429 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
5430 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
5431 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5432
0de86a92
JU
54332013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
5434
5435 * config/mips/lib2funcs.c: New file.
5436 * config/mips/t-mips (LIB2ADD_ST): Add it.
5437
0d008882
OE
54382013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
5439
5440 PR target/6526
5441 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
5442 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
5443
776434d1
WL
54442013-06-08 Walter Lee <walt@tilera.com>
5445
5446 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
5447 Replace int64_t with long long. Add __extension__ where
5448 appropriate.
5449 * config/tilepro/atomic.c: Include config.h.
5450
6ab3ebb4
DR
54512013-06-06 Douglas B Rupp <rupp@adacore.com>
5452
5453 * config.host (arm-wrs-vxworks): Configure with other soft float.
5454
107eea2c
JU
54552013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
5456
5457 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
5458 (mips64r5900el-*-elf*): New configurations.
5459
5cc19c62
AM
54602013-06-04 Alan Modra <amodra@gmail.com>
5461
5462 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
5463
0f1d3965
YR
54642013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
5465
5466 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
5467
0ba045df
EB
54682013-05-28 Eric Botcazou <ebotcazou@adacore.com>
5469
5470 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
5471 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
5472 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
5473
49dcafd4
EB
54742013-05-22 Eric Botcazou <ebotcazou@adacore.com>
5475
5476 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
5477 (powerpc-wrs-vxworks): Likewise.
5478
4fcb5d87
EB
54792013-05-22 Eric Botcazou <ebotcazou@adacore.com>
5480
5481 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
5482 signal frames as well.
5483 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
5484 STACK_BIAS to the CFA offset.
5485
0ec33224
RH
54862013-05-17 Richard Henderson <rth@redhat.com>
5487
5488 PR target/49146
5489 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
5490 (execute_cfa_program): Use it when storing to fs->regs.
5491
492a8029
KT
54922013-05-08 Kai Tietz <ktietz@redhat.com>
5493
5494 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
5495 (__deregister_frame_info): Likewise.
5496
701e2f0a
TS
54972013-05-06 Thomas Schwinge <thomas@codesourcery.com>
5498
e5123d08
TS
5499 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
5500 NaN's payload.
5501
701e2f0a
TS
5502 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
5503
b9a7eb5d
AM
55042013-04-25 Alan Modra <amodra@gmail.com>
5505
5506 * config.host: Match little-endian powerpc-linux.
5507
dfe192f5
YZ
55082013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
5509
5510 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
5511 as 'unsigned long long' instead of 'unsigned long'.
5512 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
5513 'signed long'.
5514
b6b9af2f
JB
55152013-04-10 Julian Brown <julian@codesourcery.com>
5516
5517 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
5518 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
5519 unsigned char/unsigned short.
5520 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
5521
ecabdd00
JDA
55222013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
5523
5524 PR other/55274
5525 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
5526
34652576
MI
55272013-04-04 Meador Inge <meadori@codesourcery.com>
5528
5529 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
5530 computing the location of the link register.
5531 (aeabi_uldivmod): Ditto.
5532
e9fd8c19
KT
55332013-03-27 Kai Tietz <ktietz@redhat.com>
5534
5535 * config.host: Add support for cygwin x64 target.
5536 * configure: Regenerated.
5537
a6406324
WL
55382013-03-26 Walter Lee <walt@tilera.com>
5539
5540 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
5541 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
5542
55446c7e
KT
55432013-03-25 Kai Tietz <ktietz@redhat.com>
5544
5545 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
5546
d2ae19d9
RM
55472013-03-20 Robert Mason <rbmj@verizon.net>
5548
5549 * config/vxlib-tls.c (__gthread_get_tsd_data,)
5550 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
5551 (__gthread_leave_tsd_dtor_context): Add prototypes.
5552 (tls_delete_hook): Update.
5553
22c4c869
CM
55542013-03-20 Catherine Moore <clm@codesourcery.com>
5555 Joseph Myers <joseph@codesourcery.com>
5556 Chao-ying Fu <fu@mips.com>
5557
5558 * config/mips/mips16.S: Don't build for microMIPS.
5559 * config/mips/linux-unwind.h: Handle microMIPS frame.
5560 * config/mips/crtn.S (fini, init): New labels.
5561
fbd28bc3
JJ
55622013-03-14 Jakub Jelinek <jakub@redhat.com>
5563
5564 PR tree-optimization/53265
5565 * unwind-dw2.c (execute_cfa_program): Avoid
5566 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
5567 on targets with DWARF_FRAME_REGISTERS < 32.
5568
decc676e
OE
55692013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
5570
5571 PR target/49880
5572 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
5573 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
5574
84ea618a
ST
55752013-03-07 Sriraman Tallam <tmsriram@google.com>
5576
5577 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
5578 sandybridge processors.
5579
8f6d1c86
OE
55802013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
5581
5582 PR target/56529
5583 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
5584 inclusion list.
5585
ecdbd01a 55862013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
409b1de4
EI
5587
5588 * config/microblaze/crti.S: Setup stack protection at entry
5589
0b4ce21b
GJL
55902013-03-04 Georg-Johann Lay <avr@gjlay.de>
5591
5592 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
5593 (__rotldi3): Shift bytewise if applicable.
5594
b7c3f1ca
JG
55952013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
5596
5597 * config/aarch64/sync-cache.c
5598 (__aarch64_sync_cache_range): Silence warnings.
5599
6d65e8f1
CM
56002013-02-25 Catherine Moore <clm@codesourcery.com>
5601
5602 Revert:
5603 2013-02-24 Catherine Moore <clm@codesourcery.com>
5604 Joseph Myers <joseph@codesourcery.com>
5605 Chao-ying Fu <fu@mips.com>
5606
5607 * config/mips/mips16.S: Don't build for microMIPS.
5608 * config/mips/linux-unwind.h: Handle microMIPS frame.
5609 * config/mips/crtn.S (fini, init): New labels.
5610
6941b508
CM
56112013-02-24 Catherine Moore <clm@codesourcery.com>
5612 Joseph Myers <joseph@codesourcery.com>
5613 Chao-ying Fu <fu@mips.com>
5614
5615 * config/mips/mips16.S: Don't build for microMIPS.
5616 * config/mips/linux-unwind.h: Handle microMIPS frame.
5617 * config/mips/crtn.S (fini, init): New labels.
5618
7c422dbb 56192012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
cc86234f 5620 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
7c422dbb
EI
5621 as dividend.
5622
110207ad
AM
56232013-02-16 Alan Modra <amodra@gmail.com>
5624
5625 PR target/55431
5626 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
5627 (ppc_fallback_frame_state): Always set up save locations for fp
5628 and altivec. Don't bother with non-callee-saved regs, r0-r13
5629 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
5630
e68a4ef6
GJL
56312013-02-12 Georg-Johann Lay <avr@gjlay.de>
5632
5633 PR target/54222
5634 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
5635 _ssmulHA, _ssmulSA.
5636 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
5637 _ssmulha3, _usmulusa3, _ssmulsa3.
5638 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
5639 (__muldi3): XCALL __muldi3_6 instead of rcall.
5640 (__umulsidi3, __mulsidi3): New functions.
5641 (do_prologue_saves, do_epilogue_restores): New .macros.
5642 (__divdi3_moddi3): Use them.
5643 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
5644 (__usmulusa3, __ssmulsa3): New functions.
5645
6c59ffd1
IS
56462013-02-11 Iain Sandoe <iain@codesourcery.com>
5647 Jack Howarth <howarth@bromo.med.uc.edu>
5648 Patrick Marlier <patrick.marlier@gmail.com>
5649
5650 PR libitm/55693
5651 * config/darwin-crt-tm.c: Remove dummy functions hack.
5652
85d768f3
GJL
56532013-02-08 Georg-Johann Lay <avr@gjlay.de>
5654
5655 PR target/54222
5656 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
5657 * config/avr/lib2-object.mk: New iterator to build objects from it.
5658 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
5659 lib2funcs.c.
5660 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
5661 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
5662 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
5663 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
5664 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
5665 * config/avr/lib1funcs-fixed.S: Implement them.
5666
5d5bf775
RS
56672013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
5668
5669 Update copyright years.
5670
99113dff
DE
56712013-02-01 David Edelsohn <dje.gcc@gmail.com>
5672
5673 PR target/54601
5674 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
5675 Add crtcxa to extra_parts.
5676 * config/rs6000/exit.h: New file.
5677 * config/rs6000/cxa_atexit.c: New file.
5678 * config/rs6000/cxa_finalize.c: New file.
5679 * config/rs6000/crtcxa.c: New file.
5680 * config/rs6000/t-aix-cxa: New file.
5681 * config/rs6000/libgcc-aix-cxa.ver: New file.
5682
dbdbd982
NC
56832013-01-31 Nick Clifton <nickc@redhat.com>
5684
5685 * config/v850/lib1funcs.S: Add support for e3v5 architecture
5686 variant.
5687
5893f158
GJL
56882013-01-29 Georg-Johann Lay <avr@gjlay.de>
5689
5690 PR target/54222
5691 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
5692 _mulQQ, _mulHQ, _mulHA, _mulSA,
5693 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
5694 _divQQ, _divHQ, _divHA, _divSA,
5695 _divUQQ, _divUHQ, _divUHA, _divUSA.
5696
ecdbd01a 56972013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
fbf0cf90 5698
dbdbd982 5699 * config.host(microblaze*-linux*): tmake_file: Remove
fbf0cf90
DH
5700 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
5701 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
5702 to exclude functions from being built with libgcc.c and use
5703 the microblaze assembly.
5704
ecdbd01a 57052013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
6f14eef2
EI
5706
5707 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
5708 extra_parts.
5709
922c57d1
YZ
57102013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
5711
5712 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
5713 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
5714 __UINTPTR_TYPE__; also cast 'base' to the same type before the
5715 alignment operation.
5716
e0f8b6a0
SN
57172013-01-15 Sofiane Naci <sofiane.naci@arm.com>
5718
5719 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
5720 loop start address for cache clearing.
5721
00892272
GJL
57222013-01-14 Georg-Johann Lay <avr@gjlay.de>
5723
5724 * config/avr/lib1funcs.S: Remove trailing blanks.
5725 * config/avr/lib1funcs-fixed.S: Ditto.
5726
e59ec5fd
GJL
57272013-01-14 Georg-Johann Lay <avr@gjlay.de>
5728
5729 * config/avr/avr-lib.h: Add GPL copyright notice.
5730
3ffc1958
GJL
57312013-01-14 Georg-Johann Lay <avr@gjlay.de>
5732
5733 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
5734 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
5735 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
5736 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
5737
25c210f9
MK
57382013-01-07 Mark Kettenis <kettenis@openbsd.org>
5739
5740 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
5741 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
2bc15360 5742
db59befb
NC
57432013-01-04 Nick Clifton <nickc@redhat.com>
5744
5745 * config/v850/lib1funcs.S: Only provide CALLT support functions if
5746 the CALLT instruction is supported.
5747
5aa12dbf
JW
57482012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
5749
5750 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
5751 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
5752
65f14117
JT
57532012-12-13 John Tytgat <John@bass-software.com>
5754
5755 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
5756 is 25.
5757
ee3ae4f7
JJ
57582012-12-12 Jakub Jelinek <jakub@redhat.com>
5759
5760 PR libgcc/55451
5761 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
5762 undefined signed overflows.
5763
2fcfba3d
UB
57642012-12-09 Uros Bizjak <ubizjak@gmail.com>
5765
5766 PR target/55344
5767 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
5768
4f2b3dc2
UB
57692012-12-06 Uros Bizjak <ubizjak@gmail.com>
5770
5771 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
5772 (FP_TRAPPING_EXCEPTIONS): Define.
5773 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
5774 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
5775
066161a2
RH
57762012-12-04 Richard Henderson <rth@redhat.com>
5777
5778 PR bootstrap/55571
5779 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
5780
7d296953 57812012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
25626181 5782
4f2b3dc2 5783 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
25626181
MS
5784 (FP_EX_SHIFT): Define.
5785 (FP_TRAPPING_EXCEPTIONS): Define.
5786
7d296953 57872012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
868395e8
MS
5788
5789 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
5790 (FP_ROUNDMODE): Use FP_RND_MASK.
5791 * config/aarch64/sfp-exceptions.c: New.
5792 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
5793 Use __sfp_handle_exceptions.
5794
5005fe22
RE
57952012-12-04 Richard Earnshaw <rearnsha@arm.com>
5796
5797 * config.host: (arm*-*-freebsd*): Remove.
5798 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
5799 (arm*-*-elf*): Remove.
5800 (arm*-*-wince-pe*): Remove.
5801 * arm/unwind-arm.c (struct fpa_reg): Delete.
5802 (struct fpa_regs): Delete.
5803 (phase1_vrs): Remove fpa element.
5804 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
5805 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
5806 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
5807 * ieee754-sf.S (floatundisf): Remove FPA support.
5808 (floatdisf): Likewise.
5809 * ieee75f-df.S (floatundidf): Likewise.
5810 (floatdidf): Likewise.
5811
e5a81c8e
KT
58122012-11-29 Kai Tietz <ktietz@redhat.com>
5813
5814 PR target/55445
5815 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
5816 * unwind-generic.h: Likewise.
5817 * unwind-seh.c: Likewise.
5818
f4919e4a
RH
58192012-11-28 Richard Henderson <rth@redhat.com>
5820
5821 PR libgcc/48076
5822 * emutls.c (__emutls_get_address): Avoid race condition between
5823 obj->loc.offset read and emutls_key initialization.
4f2b3dc2 5824
e13d9d5a
GJL
58252012-11-22 Georg-Johann Lay <avr@gjlay.de>
5826
5827 Adjust decimal point of signed accum mode to GCC default.
5828
5829 PR target/54222
5830 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
5831 _divqq_helper.
5832 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
5833 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
5834 (__mulha3, __mulsa3)
5835 (__divqq3, __divha3, __divsa3): Adjust to new position of
4f2b3dc2
UB
5836 decimal point of signed accum types.
5837
e13d9d5a
GJL
5838 (__mulusa3_round): New function.
5839 (__mulusa3): Use it.
5840 (__divqq_helper): New function.
5841 (__udivuqq3): Use it.
5842
1b845c6e
JJ
58432012-11-20 Jakub Jelinek <jakub@redhat.com>
5844
5845 PR bootstrap/55370
5846 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
5847
822a258a
TJ
58482012-11-18 Teresa Johnson <tejohnson@google.com>
5849
5850 PR bootstrap/55051
5851 * libgcov.c (gcov_exit): Remove merged program summary
5852 comparison unless !GCOV_LOCKED.
5853
7d296953 58542012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
54f4eaf0
MS
5855
5856 * soft-fp: Updated from glibc upstream.
5857
e808687a
ILT
58582012-11-06 Ian Lance Taylor <iant@google.com>
5859
5860 * generic-morestack.c (__generic_morestack): Align the returned
5861 stack pointer to a 32 byte boundary.
5862 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
5863 increment the return address until we have decided that we don't
5864 have a varargs function.
5865 (__morestack) [32-bit]: Align stack correctly when calling C
5866 functions.
5867 (__morestack) [64-bit]: Likewise.
5868
460277e0
TS
58692012-11-04 Thomas Schwinge <thomas@codesourcery.com>
5870
5871 * configure: Regenerate.
5872
73edb277
UB
58732012-11-02 Uros Bizjak <ubizjak@gmail.com>
5874
5875 PR target/55175
5876 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
5877 * config/i386/sfp-machine.h: Guard exception handling
5878 code with _SOFT_FLOAT.
5879 * config/i386/32/sfp-machine.h: Guard rounding handling
5880 code with _SOFT_FLOAT.
5881 * config/i386/64/sfp-machine.h: Ditto.
5882
c1d4fa04
JS
58832012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
5884
5885 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
5886 as extra_parts.
5887
eff6ca85
UB
58882012-10-26 Uros Bizjak <ubizjak@gmail.com>
5889
5890 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
5891 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
5892 when appropriate. Correct structure element types.
5893 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
5894 -minline-all-stringops from compile flags.
5895
7d296953 58962012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
43a8f1a1
RC
5897
5898 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
5899
7d296953 59002012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
76c78361 5901
eff6ca85 5902 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
76c78361 5903
6f288860
SH
59042012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
5905
5906 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
5907 tmake_file.
5908
1e3d5096
IB
59092012-10-23 Ian Bolton <ian.bolton@arm.com>
5910 Jim MacArthur <jim.macarthur@arm.com>
5911 Marcus Shawcroft <marcus.shawcroft@arm.com>
5912 Nigel Stephens <nigel.stephens@arm.com>
5913 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
5914 Richard Earnshaw <rearnsha@arm.com>
5915 Sofiane Naci <sofiane.naci@arm.com>
5916 Stephen Thomas <stephen.thomas@arm.com>
5917 Tejas Belagod <tejas.belagod@arm.com>
5918 Yufeng Zhang <yufeng.zhang@arm.com>
5919
5920 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
5921 * config/aarch64/crti.S: New file.
5922 * config/aarch64/crtn.S: New file.
5923 * config/aarch64/linux-unwind.h: New file.
5924 * config/aarch64/sfp-machine.h: New file.
5925 * config/aarch64/sync-cache.c: New file.
5926 * config/aarch64/t-aarch64: New file.
5927 * config/aarch64/t-softfp: New file.
5928
8a740f07
HPN
59292012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
5930
5931 * config/mmix/crti.S: Mark program and data addresses using PRELD.
5932 Remove typo'd and unnecessary alignment-LOC for .data. Remove
5933 no-longer-needed LDBU insns.
5934
7d296953 59352012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
153c8397
SH
5936
5937 * config.host
5938 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
5939 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
5940
595fefee
MGD
59412012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
5942
5943 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
5944
9945a876
MK
59452012-10-15 Matthias Klose <doko@ubuntu.com>
5946
5947 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
5948
1183dc2c
PC
59492012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
5950
5951 * configure: Regenerate.
5952 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
5953
945a9c1f
UB
59542012-10-10 Uros Bizjak <ubizjak@gmail.com>
5955
5956 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
5957 instructions for 64bit targets only.
5958
fb8bf47a
UB
59592012-10-10 Uros Bizjak <ubizjak@gmail.com>
5960
5961 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
5962 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
5963 * config/i386/32/sfp-machine.h: ... here.
5964 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
5965 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
5966 New defines.
5967
acb72498
MK
59682012-10-07 Matthias Klose <doko@ubuntu.com>
5969
5970 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
5971 as unused.
5972 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
5973
8eaee0f0
MK
59742012-10-06 Mark Kettenis <kettenis@openbsd.org>
5975
5976 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
5977 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
5978 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
5979 (ElfW): Likewise.
5980
5e3e4fe8
JW
59812012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
5982
5983 PR other/53889
5984 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
5985 Fix parameter names.
5986
86086376
OE
59872012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
5988
5989 PR target/33135
5990 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
5991 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
5992 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
5993
9597375a
OE
59942012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
5995
5996 PR target/50457
5997 * config/sh/linux-atomic.S: Delete.
5998 * config/sh/linux-atomic.c: New.
5999 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
6000 linux-atomic.c. Add cflags to disable warnings.
6001
1504e3e1
JW
60022012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
6003
6004 PR other/53889
6005 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
6006 function.
6007 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
6008 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
6009 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
6010 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
5e3e4fe8
JW
6011 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
6012 Likewise.
1504e3e1
JW
6013 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
6014 Likewise.
6015 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
6016 Likewise.
6017 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
6018 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
6019
17f293b0
MK
60202012-09-19 Mark Kettenis <kettenis@openbsd.org>
6021
9597375a
OE
6022 * config.host (hppa-*-openbsd*): New target.
6023 * config/pa/t-openbsd: New file.
17f293b0 6024
51526856
GJL
60252012-09-15 Georg-Johann Lay <avr@gjlay.de>
6026
6027 PR target/54222
6028 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
6029 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
6030 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
6031 (__divsa3): Use __negsi2 to negate r_quoL.
6032 * config/avr/lib1funcs.S (FALIAS): New macro.
6033 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
6034 (__negsi2): ...this new function.
6035 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
6036 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
6037 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
6038 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
6039 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
6040 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
6041
aadb5b43
OE
60422012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
6043
6044 PR target/54089
6045 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
6046 (lshrsi3): Reimplement as lshrsi3_r0.
6047
d5d66749
AS
60482012-09-10 Andreas Schwab <schwab@linux-m68k.org>
6049
6050 PR target/46191
6051 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
6052 of libgcc.a.
6053
c6c36e73
TJ
60542012-09-07 Teresa Johnson <tejohnson@google.com>
6055
9597375a 6056 PR gcov-profile/54487
c6c36e73 6057 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
9597375a 6058 differences.
c6c36e73 6059
b588ae30
GJL
60602012-09-05 Georg-Johann Lay <avr@gjlay.de>
6061
6062 PR target/54461
6063 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
6064 not configured --with-avrlibc=no.
6065 * config/avr/t-avrlibc: New file.
6066 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
6067 (DPBIT_FUNCS): Ditto.
6068 (TPBIT_FUNCS): Ditto.
6069
abd16fb1
TJ
60702012-09-04 Teresa Johnson <tejohnson@google.com>
6071
6072 * libgcov.c (struct gcov_summary_buffer): New structure.
6073 (gcov_histogram_insert): New function.
6074 (gcov_compute_histogram): Ditto.
6075 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
6076 histograms during summary merging.
6077
613061fd
MK
60782012-09-01 Mark Kettenis <kettenis@openbsd.org>
6079
6080 * config.host (x86_64-*-openbsd*): New target.
73edb277 6081
867a8345
CLT
60822012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
6083
6084 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
6085 attribute.
6086
4aeaaca3
GJL
60872012-08-24 Georg-Johann Lay <avr@gjlay.de>
6088
6089 PR target/54222
6090 * config/avr/t-avr (conv_X): Rename to func_X.
6091
e55e4056
GJL
60922012-08-24 Georg-Johann Lay <avr@gjlay.de>
6093
6094 PR target/54222
6095 * config/avr/lib1funcs-fixed.S: New file.
6096 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
6097 after they are used.
6098 (neg2, neg4): New macros.
6099 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
6100 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
6101 (__umulhisi3): Speed up MUL variant if there is enough flash.
6102 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
6103 avr-modes.def.
6104 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
6105 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
6106 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
6107 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
6108 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
6109 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
6110 (LIB2FUNCS_EXCLUDE): Add supported functions.
6111
a147b6d2
GJL
61122012-08-22 Georg-Johann Lay <avr@gjlay.de>
6113
6114 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
6115 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
6116 libgcc-s-objects.
6117 * fixed-obj.mk: Only expand dependency if $o is not in
6118 LIB2FUNCS_EXCLUDE.
6119
c637141a
L
61202012-08-22 H.J. Lu <hongjiu.lu@intel.com>
6121
6122 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
6123
130e00bd
JM
61242012-08-22 Joseph Myers <joseph@codesourcery.com>
6125
6126 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
6127 depend on --enable-shared.
6128 ($(lib1asmfuncs-o)): Use %.vis files independent of
6129 --enable-shared.
6130 * static-object.mk ($(base)$(objext), $(base).vis)
6131 ($(base)_s$(objext)): Use same rules for visibility handling as in
6132 shared-object.mk.
6133
4b1b3788
ILT
61342012-08-21 Ian Lance Taylor <iant@google.com>
6135
6136 * config/i386/morestack.S (__morestack_non_split): Increase amount
6137 of space allocated for non-split code stack.
6138
d2468141
JM
61392012-08-19 Joseph Myers <joseph@codesourcery.com>
6140
6141 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
6142 even if inhibit_libc.
6143
a508e1a8
JB
61442012-08-17 Julian Brown <julian@codesourcery.com>
6145
6146 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
6147 -fexceptions -fnon-call-exceptions if not defined.
6148 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
6149 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
6150
5615a07d
AS
61512012-08-17 Andreas Schwab <schwab@linux-m68k.org>
6152
6153 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
6154 type.
6155
138f5acd
DE
61562012-08-16 David Edelsohn <dje.gcc@gmail.com>
6157
6158 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
6159 rs6000/t-slibgcc-aix.
6160
18efc0dd
SB
61612012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
6162
6163 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
6164
6b39bc38
SB
61652012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
6166
6167 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
6168
cd25dea0
L
61692012-08-03 H.J. Lu <hongjiu.lu@intel.com>
6170
6171 PR driver/54171
6172 * Makefile.in (version): Replace top_srcdir with srcdir.
6173
a3dda30b
JY
61742012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
6175
6176 * Makefile.in (version): set to BASE-VER file from gcc directory.
6177
d04aacfc
NC
61782012-08-01 Nick Clifton <nickc@redhat.com>
6179
6180 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
6181 Implements __clrsb for an HImode argument.
6182
0d13c974
NC
61832012-07-31 Nick Clifton <nickc@redhat.com>
6184
6185 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
6186 Implements __clrsb for an HImode argument.
6187 * config/stormy16/clrsbhi2.c: New file:
6188 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
6189
efbb59b2
SB
61902012-07-22 Steven Bosscher <steven@gcc.gnu.org>
6191
6192 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
6193
bf1431e3
TG
61942012-07-19 Tristan Gingold <gingold@adacore.com>
6195 Richard Henderson <rth@redhat.com>
6196
6197 * unwind-seh.c: New file.
6198 * unwind-generic.h: Include windows.h for SEH.
6199 (_Unwind_Exception): Use 6 private fields for SEH.
6200 (_GCC_specific_handler): Declare.
6201 * unwind-c.c (__gcc_personality_seh0): New function.
6202 Adjust for SEH.
6203 * config/i386/libgcc-cygming.ver: New file.
6204 * config/i386/t-seh-eh: New file.
6205 * config.host (x86_64-*-mingw*): Default to seh.
6206
659140c8
SB
62072012-07-14 Steven Bosscher <steven@gcc.gnu.org>
6208
6209 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
6210
a20d08fd
UB
62112012-06-17 Uros Bizjak <ubizjak@gmail.com>
6212
6213 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
6214 __builtin_expect when checking for exceptions.
6215 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
6216
79261115
UB
62172012-06-13 Uros Bizjak <ubizjak@gmail.com>
6218
4a172156
UB
6219 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
6220 function declaration.
6221 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
6222 (FP_RND_MASK): New.
6223 * config/ia64/sfp-exceptions.c: New.
6224 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
79261115 6225
bb5c97d4
UB
62262012-06-13 Uros Bizjak <ubizjak@gmail.com>
6227
6228 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
6229 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
6230 * config/i386/64/sfp-machine: ... (delete here) ...
6231 * config/i386/sfp-machine.h: ... to here.
6232 (FP_EX_MASK): Remove.
6233 (FP_RND_MASK): New.
6234 (FP_INIT_ROUNDMODE): Declare asm as volatile.
6235
91fe5efb
ST
62362012-06-11 Sriraman Tallam <tmsriram@google.com>
6237
6238 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
6239 * config/i386/libgcc-sol2.ver: Ditto.
6240 * config/i386/libgcc-glibc.ver: Ditto.
6241
67a218c5
RM
62422012-06-11 Roland McGrath <mcgrathr@google.com>
6243
6244 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
6245 If __GLIBC__ is defined, refer to __pthread_key_create instead of
6246 pthread_cancel.
6247
492fbea1
UB
62482012-06-09 Uros Bizjak <ubizjak@gmail.com>
6249
6250 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
6251 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
6252 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
6253 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
6254 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
6255 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
6256 * config/i386/64/sfp-machine: ... (delete here) ...
6257 * config/i386/sfp-machine.h: ... to here.
6258 (FP_EX_MASK): New.
6259 (__sfp_handle_exceptions): New function declaration.
6260 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
6261 * config/i386/sfp-exceptions.c: New.
6262 * config/i386/t-softfp: New.
6263 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
6264 i386/t-softfp to tmake_file.
6265
7b4cf266
DM
62662012-06-03 David S. Miller <davem@davemloft.net>
6267
6268 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
6269 change.
6270
0de0d5c6
DM
62712012-05-31 David S. Miller <davem@davemloft.net>
6272
6273 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
6274 multiply and divide instructions on 32-bit when V9.
6275 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
6276
d8c9d391
JM
62772012-05-29 Joseph Myers <joseph@codesourcery.com>
6278
6279 * config/arm/ieee754-df.S: Fix typos.
6280 * config/arm/ieee754-sf.S: Fix typos.
6281 * config/c6x/libunwind.S: Fix typos.
6282 * config/epiphany/udivsi3-float.c: Fix typos.
6283 * config/microblaze/muldi3_hard.S: Fix typos.
6284 * config/picochip/adddi3.S: Fix typos.
6285 * config/picochip/ashlsi3.S: Fix typos.
6286 * config/picochip/ashrsi3.S: Fix typos.
6287 * config/picochip/clzsi2.S: Fix typos.
6288 * config/picochip/cmpsi2.S: Fix typos.
6289 * config/picochip/divmod15.S: Fix typos.
6290 * config/picochip/divmodhi4.S: Fix typos.
6291 * config/picochip/divmodsi4.S: Fix typos.
6292 * config/picochip/longjmp.S: Fix typos.
6293 * config/picochip/lshrsi3.S: Fix typos.
6294 * config/picochip/parityhi2.S: Fix typos.
6295 * config/picochip/popcounthi2.S: Fix typos.
6296 * config/picochip/setjmp.S: Fix typos.
6297 * config/picochip/subdi3.S: Fix typos.
6298 * config/picochip/ucmpsi2.S: Fix typos.
6299 * config/picochip/udivmodhi4.S: Fix typos.
6300 * config/picochip/udivmodsi4.S: Fix typos.
6301 * config/spu/divv2df3.c: Fix typos.
6302 * config/spu/mfc_multi_tag_release.c: Fix typos.
6303 * config/spu/mfc_tag_release.c: Fix typos.
6304 * configure.ac: Fix typos.
6305 * configure: Regenerate.
6306
31a18a7e
ILT
63072012-05-25 Ian Lance Taylor <iant@google.com>
6308
6309 * config/i386/morestack.S (__morestack_non_split): Check whether
6310 caller is varargs and needs %bp to hold the stack frame on return.
6311
c5768510
OH
63122012-05-25 Olivier Hainque <hainque@adacore.com>
6313
6314 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
6315 sequence in the non pic case on VxWorks.
6316
7c7c339b
OH
63172012-05-24 Olivier Hainque <hainque@adacore.com>
6318
73fb7630 6319 * Makefile.in: Move dependency on install-unwind_h from
7c7c339b
OH
6320 "install-leaf" to "install".
6321
fdc1b7d3
OH
63222012-05-24 Olivier Hainque <hainque@adacore.com>
6323
6324 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
6325 Use a separate command for stamp removals.
6326
07ba94b9
AP
63272012-05-21 Andrew Pinski <apinski@cavium.com>
6328
6329 PR bootstrap/53183
6330 * configure.ac: Define the default includes to being none.
6331 * configure: Regenerate.
6332
4677d2eb
OH
63332012-05-16 Olivier Hainque <hainque@adacore.com>
6334
6335 * Makefile.in (install-unwind_h): Rename into ...
6336 (install-unwind_h-forbuild): New target.
6337 (all): Use it instead of the former install-unwind_h.
6338 (install-unwind_h): Reinstate, copy to user install destination
6339 for include files, not to the internal gcc object directory one.
6340 (install-leaf): Depend on it.
6341
7d67c380
OH
63422012-05-15 Olivier Hainque <hainque@adacore.com>
6343
6344 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
6345 register numbers. LR_REGNO replaces R_LR.
6346 (ucontext_for): New, helper for ...
6347 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
6348 and 5.3 of ...
6349 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
6350
aca06c90
RO
63512012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6352
6353 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
6354 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
6355 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
6356 i386/t-cpuinfo ...
6357 (i[34567]86-*-*, x86_64-*-*): ... here.
6358
6359 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
6360 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
6361
6362 * config/i386/i386-cpuinfo.c: Rename to ...
6363 * config/i386/cpuinfo.c: ... this.
6364 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
6365
6366 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
6367 (libgcc_cv_init_priority): New test.
6368 * configure: Regenerate.
6369 * config.in: New file.
6370 * Makefile.in (clean): Rename config.h to auto-target.h.
6371 (config.h): Likewise.
6372 (stamp-h): Likewise.
6373
6374 * config/i386/cpuinfo.c (auto-target.h): Include.
6375 (CONSTRUCTOR_PRIORITY): Define.
6376 (__cpu_indicator_init): Use it.
6377
0d03ac1b
L
63782012-05-09 H.J. Lu <hongjiu.lu@intel.com>
6379
6380 * longlong.h: Use a URL instead of an FSF postal address.
6381 Replace spaces with tab.
6382
4a172156 63832012-05-08 Teresa Johnson <tejohnson@google.com>
4e8ee9cb
TJ
6384
6385 * libgcov.c (gcov_clear, __gcov_reset): New functions.
6386 (__gcov_dump): Ditto.
6387 (gcov_dump_complete): New global variable.
6388 (gcov_exit): Export hidden to enable use in L_gcov_dump.
6389 (__gcov_flush): Outline functionality now in gcov_clear.
6390 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
6391
e4bb767e
AJ
63922012-04-28 Aurelien Jarno <aurelien@aurel32.net>
6393
31a18a7e
ILT
6394 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
6395 (mips*-*-linux*): Include mips/t-tpbit when long double is
6396 16 bytes long.
e4bb767e 6397
5ddecff9
ST
63982012-04-25 Sriraman Tallam <tmsriram@google.com>
6399
6400 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
6401 (get_available_features): New argument. Check for AVX2.
6402 (__cpu_indicator_init): Modify call to get_available_features.
6403
b427dd7a
AM
64042012-04-25 Alan Modra <amodra@gmail.com>
6405
6406 * config/rs6000/crtsavevr.S: New file.
6407 * config/rs6000/crtrestvr.S: New file.
6408 * config/rs6000/t-savresfgpr: Build the above.
6409 * config/rs6000/t-netbsd: Likewise.
6410
ad491329
ST
64112012-04-24 Sriraman Tallam <tmsriram@google.com>
6412
6413 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
6414
792317cc
ST
64152012-04-24 Sriraman Tallam <tmsriram@google.com>
6416
6417 * libgcc/config/i386/i386-cpuinfo.c: New file.
6418 * libgcc/config/i386/t-cpuinfo: New file.
6419 * libgcc/config.host: Include t-cpuinfo.
6420 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
6421
e1be98a4
CF
64222012-04-24 Chao-ying Fu <fu@mips.com>
6423
6424 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
6425
1bde7dab
TS
64262012-04-20 Thomas Schwinge <thomas@codesourcery.com>
6427
6428 struct siginfo vs. siginfo_t
6429
6430 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
6431 siginfo_t instead of struct siginfo.
6432 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
6433 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
6434 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
6435 (ia64_handle_unwabi): Likewise.
6436 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
6437 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
6438 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
6439 (sh_fallback_frame_state): Likewise.
6440 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
6441 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
6442
24590f66
L
64432012-04-02 H.J. Lu <hongjiu.lu@intel.com>
6444
6445 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
6446 system call number.
6447
9a9dcce8
EB
64482012-03-31 Eric Botcazou <ebotcazou@adacore.com>
6449
6450 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
6451 if it hasn't been previously saved.
6452
6401aaf5
L
64532012-03-29 H.J. Lu <hongjiu.lu@intel.com>
6454
6455 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
6456 only for glibc.
6457
7fd6378e
GJL
64582012-03-28 Georg-Johann Lay <avr@gjlay.de>
6459
6460 PR target/52737
6461 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
6462 instead of __AVR_HAVE_8BIT_SP__.
6463
9e916de7
TG
64642012-03-26 Tristan Gingold <gingold@adacore.com>
6465
6466 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
6467 (unw_table_entry): Use unw_word instead of unsigned long.
6468 (_Unwind_FindTableEntry): Likewise.
6469 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
6470 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
6471 (_Unwind_FindTableEntry): Likewise.
6472 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
6473 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
6474 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
6475 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
6476 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
6477 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
6478 (uw_init_context_1, uw_install_context): Likewise.
6479 (unw_word): Move to unwind-ia64.h
6480
4b12e93d
TG
64812012-03-26 Tristan Gingold <gingold@adacore.com>
6482
6483 * config/vms/vms-ucrt0.c: Update copyright years.
6484 Add a sanity check.
6485 (___gcc_main_flags): Declare.
6486 (__main): Check flags to remap argv and exit code.
6487 * config.host (*-*-*vms*): Adjust extra_parts.
6488 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
6489 (crt0.o): Add.
6490
06ea7371
RE
64912012-03-22 Richard Earnshaw <rearnsha@arm.com>
6492
6493 * arm/lib1funcs.asm (ctzsi2): New function.
6494 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
6495 * arm/t-linux (LIB1ASMFUNCS): Likewise.
6496 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
6497 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
6498 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
6499 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
6500
d82ad50d
AT
65012012-03-21 Andreas Tobler <andreast@fgznet.ch>
6502
6503 * config.host: Add bits to support powerpc64-*-freebsd*.
6504 * config/rs6000/freebsd-unwind.h: New file.
6505 * config/rs6000/t-freebsd64: New file.
6506
b260a8c0
RG
65072012-03-20 Richard Guenther <rguenther@suse.de>
6508
6509 PR gcov-profile/52627
6510 * libgcov.c (init_mx): Fix mutex name.
6511
86286a8a
TG
65122012-03-16 Tristan Gingold <gingold@adacore.com>
6513
6514 * config/ia64/vms-unwind.h: Remove ulong (and replace
6515 it by unw_reg where used). Define unw_reg with __int64.
6516
7888f266
RO
65172012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6518
6519 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
6520 Solaris 8 handling.
6521 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
6522 Solaris 8 handling.
6523 (sparc_is_sighandler): Likewise.
6524
f155bc64
L
65252012-03-13 H.J. Lu <hongjiu.lu@intel.com>
6526
6527 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
6528 <= saved reg size.
6529
d47657bd
RO
65302012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6531
6532 * config/arm/crtn.S: Fix typo.
6533
5bef73a1
RG
65342012-03-13 Richard Guenther <rguenther@suse.de>
6535
6536 * libgcov.c: Remove stdio.h include and NULL un-define.
6537
9c4271f3
RG
65382012-03-13 Richard Guenther <rguenther@suse.de>
6539
6540 PR target/52569
6541 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
6542
c6d10e7c
RG
65432012-03-13 Richard Guenther <rguenther@suse.de>
6544
6545 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
6546
074a385f
RG
65472012-03-13 Richard Guenther <rguenther@suse.de>
6548
6549 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
6550 and __gthread_mutex_init_function definitions.
6551
c4bc5c25
RO
65522012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6553
6554 * config.host (mips*-*-openbsd*): Remove.
6555
5c30094f
RO
65562012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6557
6558 * config.host: Remove alpha*-dec-osf5.1* handling.
6559 * config/alpha/gthr-posix.c: Remove.
6560 * config/alpha/libgcc-osf5.ver: Remove.
6561 * config/alpha/osf5-unwind.h: Remove.
6562 * config/alpha/t-osf-pthread: Remove.
6563 * config/alpha/t-slibgcc-osf: Remove.
6564 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
6565 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
6566 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
6567 * mkmap-flat.awk: Remove osf_export handling.
6568
33e3e24d
RG
65692012-03-12 Richard Guenther <rguenther@suse.de>
6570
6571 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
6572 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
6573 (__gthread_mutex_init_function): New function.
6574 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
6575
6576 PR gcov/49484
6577 * libgcov.c: Include gthr.h.
6578 (__gcov_flush_mx): New global variable.
6579 (init_mx, init_mx_once): New functions.
6580 (__gcov_flush): Protect self with a mutex.
6581 (__gcov_fork): Re-initialize mutex after forking.
6582 * unwind-dw2-fde.c: Change condition under which to use
6583 __GTHREAD_MUTEX_INIT_FUNCTION.
6584
d8aba32a
TG
65852012-03-12 Tristan Gingold <gingold@adacore.com>
6586
6587 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
6588 * config/ia64/t-vms: Likewise.
6589
75ffafdc
MH
65902012-03-11 Michael Hope <michael.hope@linaro.org>
6591
4a172156
UB
6592 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
6593 for Thumb-2.
75ffafdc 6594
ef6c2c53
WL
65952012-03-07 Walter Lee <walt@tilera.com>
6596
6597 * config/tilepro/atomic.c: Rename "atomic_" prefix to
6598 "arch_atomic_".
6599 (atomic_xor): Rename and move definition to
6600 config/tilepro/atomic.h.
6601 (atomic_nand): Ditto.
6602 * config/tilepro/atomic.h: Rename "atomic_" prefix to
6603 "arch_atomic_".
6604 (arch_atomic_xor): Move from config/tilepro/atomic.c.
6605 (arch_atomic_nand): Ditto.
6606
4e30d980
GJL
66072012-03-07 Georg-Johann Lay <avr@gjlay.de>
6608
6609 PR target/52507
6610 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
6611
61108225
GJL
66122012-03-07 Georg-Johann Lay <avr@gjlay.de>
6613
6614 PR target/52505
6615 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
6616 from RAM.
6617
b30e10ab
GJL
66182012-03-07 Georg-Johann Lay <avr@gjlay.de>
6619
6620 PR target/52461
6621 PR target/52508
6622 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
6623 if RAMPZ affects reading from RAM.
6624 (__tablejump_elpm__): Ditto.
6625 (.xload): Ditto.
6626 (__movmemx_hi): Ditto.
6627 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
6628 (__do_global_dtors): Ditto.
6629 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
6630 (__movmemx_hi): Ditto.
6631
8993fde4
RH
66322012-03-05 Richard Henderson <rth@redhat.com>
6633
6634 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
6635 [ARM] (count_trailing_zeros): Use the builtin.
6636
b7633ee3
KT
66372012-03-01 Kai Tietz <ktietz@redhat.com>
6638
6639 * soft-fp: Imported from glibc upstream.
6640
fbd3340c
KT
66412012-02-28 Kai Tietz <ktietz@redhat.com>
6642
6643 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
6644 for mingw-targets as attribute gcc_struct.
6645
e9e053eb
ILT
66462012-02-28 Ian Lance Taylor <iant@google.com>
6647
6648 * generic-morestack.c (__splitstack_releasecontext): Correct call
6649 to __morestack_release_segments.
6650
d80c632e
ST
66512012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
6652
6653 PR target/52390
6654 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
6655 for __linux__ when removing signals from __morestack_fullmask.
6656
0253a8b1
GJL
66572012-02-23 Georg-Johann Lay <avr@gjlay.de>
6658
6659 PR target/52261
6660 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
6661
e10e461e
UW
66622012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6663
6664 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
6665 instead of HAVE_INITFINI_ARRAY.
6666 * config/ia64/crtend.S: Likewise.
6667
0c0c6398
KT
66682012-02-20 Kai Tietz <ktietz@redhat.com>
6669
d7470374
KT
6670 PR libstdc++/52300
6671 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
6672
0c0c6398
KT
6673 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
6674 to w32-unwind.h header.
6675
78c27266
RS
66762012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
6677
6678 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
6679 (mips*-*-linux*): Remove t-slibgcc-libgcc.
6680 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
6681 * config/mips/mips16.S (__mips16_rdhwr): Delete.
6682
5adeb246
RS
66832012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
6684
6685 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
6686
672ed313
IS
66872012-02-15 Iain Sandoe <iains@gcc.gnu.org>
6688
6689 PR libitm/52220
6690 * config/darwin-crt-tm.c: Correct typo.
e9e053eb 6691
e948a1fb
IS
66922012-02-15 Iain Sandoe <iains@gcc.gnu.org>
6693 Patrick Marlier <patrick.marlier@gmail.com>
6694
6695 PR libitm/52220
6696 * config/darwin-crt-tm.c: Generate dummy functions.
6697
6017aed3
IS
66982012-02-15 Iain Sandoe <iains@gcc.gnu.org>
6699 Patrick Marlier <patrick.marlier@gmail.com>
6700
6701 PR libitm/52042
6702 * config/darwin-crt-tm.c (getTMCloneTable): New function.
6703 (__doTMRegistrations): Call it.
e9e053eb 6704 (__doTMdeRegistrations): Likewise.
6017aed3 6705
2da8c1ad 67062012-01-15 Georg-Johann Lay <avr@gjlay.de>
7d296953
JJ
6707 Anatoly Sokolov <aesok@post.ru>
6708 Eric Weddington <eric.weddington@atmel.com>
2da8c1ad
GJL
6709
6710 PR target/52261
6711 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
6712 (__epilogue_restores__): Ditto.
6713
0f952eb4
EB
67142012-02-15 Eric Botcazou <ebotcazou@adacore.com>
6715
6716 PR target/51921
6717 PR target/52205
6718 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
6719 Solaris 11 and slightly reformat.
6720 (sparc_is_sighandler): Likewise.
6721
dd552284
WL
67222012-02-14 Walter Lee <walt@tilera.com>
6723
6724 * config.host: Handle tilegx and tilepro.
6725 * config/tilegx/sfp-machine.h: New file.
6726 * config/tilegx/sfp-machine32.h: New file.
6727 * config/tilegx/sfp-machine64.h: New file.
6728 * config/tilegx/t-crtstuff: New file.
6729 * config/tilegx/t-softfp: New file.
6730 * config/tilegx/t-tilegx: New file.
6731 * config/tilepro/atomic.c: New file.
6732 * config/tilepro/atomic.h: New file.
6733 * config/tilepro/linux-unwind.h: New file.
6734 * config/tilepro/sfp-machine.h: New file.
6735 * config/tilepro/softdivide.c: New file.
6736 * config/tilepro/softmpy.S: New file.
6737 * config/tilepro/t-crtstuff: New file.
6738 * config/tilepro/t-tilepro: New file.
6739
b59cbd50
JW
67402012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
6741
6742 PR libstdc++/51296
6743 PR libstdc++/51906
6744 * gthr-posix.h: Allow static initializer macros to be disabled.
6745 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
6746
6caf807f
CLT
67472012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
6748
6749 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
6750 Add t-slibgcc-libgcc to tmake_file.
6751 * config/mips/libgcc-mips16.ver: Revert previous patch.
6752 * config/mips/mips16.S (__mips16_rdhwr): Hide.
6753
7d296953
JJ
67542012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
6755 Jayant R Sonar <jayant.sonar@kpitcummins.com>
b25364a0
S
6756
6757 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
6758 * config/cr16/crti.S: New file.
6759 * config/cr16/crtlibid.S: New file.
6760 * config/cr16/crtn.S: New file.
6761 * config/cr16/lib1funcs.S: New file.
6762 * config/cr16/t-cr16: New file.
6763 * config/cr16/t-crtlibid: New file.
6764 * config/cr16/unwind-dw2.h: New file.
6765 * config/cr16/unwind-cr16.c: New file.
6766 * config/cr16/divmodhi3.c: New file.
6767
8ef03aa7
AM
67682012-01-25 Alan Modra <amodra@gmail.com>
6769
6770 * config/rs6000/t-linux64: Delete. Move..
6771 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
6772 * config/rs6000/t-linux: ..and libgcc flags to here.
6773
daecebc8
DR
67742012-01-22 Douglas B Rupp <rupp@gnat.com>
6775
6776 * config.host (i[34567]86-*-interix3*):
8ef03aa7 6777 Change triplet to i[34567]86-*-interix[3-9]*.
daecebc8
DR
6778 * configure: Regenerate.
6779
ddaf8125
RS
67802012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
6781 Richard Sandiford <rdsandiford@googlemail.com>
6782
6783 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
6784 * config/mips/mips16.S (__mips16_rdhwr): New function.
6785 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
6786
2cd8b32c
NS
67872012-01-11 Nathan Sidwell <nathan@acm.org>
6788
6789 * libgcov.c (__gcov_init): Ignore objects with no functions.
6790
cba300dd
GJL
67912012-01-10 Georg-Johann Lay <avr@gjlay.de>
6792
6793 PR target/49868
6794 Extend __pgmx semantics to linearize memory.
6795 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
6796 * config/avr/lib1funcs.S (__xload_1): New function.
6797 (__movmemx_qi, __movmemx_hi): New functions.
6798 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
6799 semantics.
9ffaf4bc 6800
3d137660
EB
68012012-01-09 Eric Botcazou <ebotcazou@adacore.com>
6802
6803 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
6804 purported sigacthandler address isn't null before dereferencing it.
6805 (sparc_is_sighandler): Likewise.
6806
bf4db96c
EB
68072012-01-09 Eric Botcazou <ebotcazou@adacore.com>
6808
6809 PR ada/41929
6810 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
6811 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
6812 (sparc_is_sighandler): Likewise.
6813 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
6814
1ab3568b
TG
68152012-01-06 Tristan Gingold <gingold@adacore.com>
6816
6817 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
6818 compatibility thunks...
6819 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
6820 (crtbeginS.o, crtendS.o): ... and these to ...
6821 * config/ia64/t-ia64-elf: ... this new file.
6822 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
6823 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
6824
925b0ed8
AK
68252012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6826
6827 * configure: Regenerate.
6828 * config/s390/t-crtstuff: Remove -fPIC.
6829
a99ad737
JW
68302012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
6831
6832 PR bootstrap/51006
6833 * enable-execute-stack-mprotect.c (getpagesize): Do not define
6834 for NetBSD.
6835
884f56d1
GJL
68362012-01-02 Georg-Johann Lay <avr@gjlay.de>
6837
6838 PR target/51345
6839 * config/avr/lib1funcs.S: Remove FIXME comments.
6840 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
6841
8c57e547
GJL
68422012-01-02 Georg-Johann Lay <avr@gjlay.de>
6843
6844 Implement light-weight DImode support.
6845 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
6846 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
6847 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
6848 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
6849
04dbc287
NS
68502011-12-30 Nathan Sidwell <nathan@acm.org>
6851
6852 * libgcov.c (gcov_crc32): Remove global var.
6853 (free_fn_data): New function.
6854 (buffer_fn_data): Pass in filename, more robust error recovery.
6855 (crc32_unsigned): New function.
6856 (gcov_exit): More robust detection of new program. More robust
6857 error recovery.
6858 (__gcov_init): Do not update program's crc here.
6859
8e1d97d4
TG
68602011-12-21 Tristan Gingold <gingold@adacore.com>
6861
6862 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
6863
9ffaf4bc
ILT
68642011-12-21 Ian Lance Taylor <iant@google.com>
6865
6866 * config/i386/morestack.S: Simplify CFI opcodes throughout.
6867
a0c8d0c1
ILT
68682011-12-20 Ian Lance Taylor <iant@google.com>
6869
6870 * config/i386/morestack.S (__morestack_non_split): If there is
6871 enough stack space already, don't split. Ask for more stack space
6872 than we required.
6873
69048898
SDJ
68742011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
6875
6876 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
6877 `sys/sdt.h'.
6878 (_Unwind_DebugHook): New function.
6879 (uw_restore_core_regs): New define.
6880 (unwind_phase2): Use uw_restore_core_regs instead of
6881 restore_core_regs.
6882 (unwind_phase2_forced): Likewise.
6883 (__gnu_Unwind_Resume): Likewise.
6884
1bb4b6a3
UB
68852011-12-20 Uros Bizjak <ubizjak@gmail.com>
6886
6887 * config/alpha/linux-unwind.h: Update copyright years.
6888 (MD_FROB_UPDATE_CONTEXT): New define.
6889 (alpha_frob_update_context): New function.
6890
eb028768
RS
68912011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
6892
6893 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
6894 tmake_file rather replacing it.
6895
6a2045bf
IS
68962011-12-15 Iain Sandoe <iains@gcc.gnu.org>
6897
6898 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
1bb4b6a3 6899 function is not used for PPC64.
6a2045bf
IS
6900 (save_world): Amend comments. Update the VRsave mask to reflect the
6901 saved regs.
6902 (rest_world): Update comments, do not clobber r10, do not use r8.
6903 (eh_rest_world_r10): Amend comments, do not use r8.
6904 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
6905 no longer used, move restore of CR and target address to the end of
6906 the routine.
6907
a13780a6
L
69082011-12-14 H.J. Lu <hongjiu.lu@intel.com>
6909
6910 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
6911 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
6912
d7288dfb
GJL
69132011-12-14 Georg-Johann Lay <avr@gjlay.de>
6914
6915 PR target/49313
6916 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
6917 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
6918
8d2c862d
EB
69192011-12-11 Eric Botcazou <ebotcazou@adacore.com>
6920
6921 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
6922
3447cae6
GJL
69232011-12-09 Georg-Johann Lay <avr@gjlay.de>
6924
6925 PR target/49313
6926 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
6927 * config/avr/lib1funcs.S (__muldi3): New function.
6928
806fc6aa
AP
69292011-12-06 Andrew Pinski <apinski@cavium.com>
6930
6931 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
6932 size of func_ptr.
6933 (__frame_dummy_init_array_entry): Likewise.
6934
28c5e6b5
GJL
69352011-12-06 Georg-Johann Lay <avr@gjlay.de>
6936
6937 Forward-port from gcc-4_6-branch r181936 2011-12-02.
6938
6939 PR target/51345
6940 PR target/51002
6941 * config/avr/lib1funcs.S (__prologue_saves__,
6942 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
6943 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
6944
8f90394a
IS
69452011-12-04 Iain Sandoe <iains@gcc.gnu.org>
6946
6947 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
6948
06dd33ac
JDA
69492011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
6950
6951 PR other/51272
6952 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
6953 (_ITM_deregisterTMCloneTable): Likewise.
6954 (__register_frame_info): Fix unused warning.
6955 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
6956 pthread_default_stacksize_np): Likewise.
6957 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
1bb4b6a3 6958
85b8555e
DD
69592011-11-29 DJ Delorie <dj@redhat.com>
6960
6961 * config.host (rl78-*-elf): New case.
6962 * config/rl78: New directory for the Renesas RL78.
6963
4d5ae4ea
BS
69642011-11-29 Bernd Schmidt <bernds@codesourcery.com>
6965
6966 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
6967 formatting.
6968
f9c55897
RO
69692011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6970
6971 PR other/51022
6972 * config/rs6000/t-savresfgpr: New file.
6973 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
6974 $(srcdir)/config/rs6000/eabi.S.
6975 * config/rs6000/t-ppccomm-ldbl: Remove.
6976 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
6977 tmake_file.
6978 (powerpc-*-eabispe*): Likewise.
6979 (powerpc-*-eabi*): Likewise.
6980 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
6981 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
6982 to tmake_file, remove rs6000/t-ppccomm-ldbl.
6983 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
6984 tmake_file.
6985 (powerpc-*-eabisim*): Likewise.
6986 (powerpc-*-elf*): Likewise.
6987 (powerpc-*-eabialtivec*): Likewise.
6988 (powerpc-xilinx-eabi*): Likewise.
6989 (powerpc-*-rtems*): Likewise.
6990 (powerpcle-*-elf*): Likewise.
6991 (powerpcle-*-eabisim*): Likewise.
6992 (powerpcle-*-eabi*): Likewise.
6993
a01207c4
ILT
69942011-11-27 Ian Lance Taylor <iant@google.com>
6995
6996 * generic-morestack.c (__splitstack_find): Check for NULL old
6997 stack value.
6998 (__splitstack_resetcontext): New function.
6999 (__splitstack_releasecontext): New function.
7000 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
7001
2b0b8ab2
IS
70022011-11-27 Iain Sandoe <iains@gcc.gnu.org>
7003
7004 * config/darwin-crt-tm.c: Correct comments, use correct licence.
7005
c1d8101c
IS
70062011-11-27 Iain Sandoe <iains@gcc.gnu.org>
7007
7008 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
7009
8b281334
RH
70102011-11-26 Richard Henderson <rth@redhat.com>
7011
7012 * config/m68k/linux-atomic.c: New file.
7013 * config/m68k/t-linux: New file.
7014 * config.host (m68k-uclinux, m68k-linux): Use it.
7015
7546aa9d
RH
70162011-11-26 Richard Henderson <rth@redhat.com>
7017
7018 * crtstuff.c (__TMC_LIST__): Mark used not unused.
7019 (__TMC_END__): Only declare if hidden is available; in the definition,
7020 if hidden is unavailable add a null record.
7021 (deregister_tm_clones, register_tm_clones): New.
7022 (__do_global_dtors_aux, frame_dummy): Use them.
7023 (__do_global_dtors, __do_global_ctors_1): Likewise.
7024
e2362f5d
IS
70252011-11-22 Iain Sandoe <iains@gcc.gnu.org>
7026
7027 * config/darwin-crt-tm.c: New file.
7028 * config.host (darwin): Build crttms.o crttme.o to provide
7029 startup and shutdown for tm clones.
7030 * config/t-darwin (crttms.o): New build rule.
7031 (crttme.o): Likewise.
7032
6685dd96
HPN
70332011-11-21 Hans-Peter Nilsson <hp@axis.com>
7034
7035 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
7036 et al.
7037
b0dc7e4c
RH
70382011-11-21 Richard Henderson <rth@redhat.com>
7039
7040 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
7041 (__TMC_LIST__, __TMC_END__): New.
7042 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
7043 (__do_global_dtors): Likewise.
7044 (frame_dummy): Call _ITM_registerTMCloneTable.
7045 (__do_global_ctors_1): Likewise.
7046
d4b4b542
RO
70472011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7048
7049 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
7050 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
7051 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
7052 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
7053 * config/i386/t-darwin64: Remove.
7054 * config/sh/t-netbsd (LIB2ADD): Remove.
7055
989bdb74
GJL
70562011-11-21 Georg-Johann Lay <avr@gjlay.de>
7057
7058 PR target/49313
7059 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
7060 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
7061 * config/avr/lib1funcs.S (wmov): New assembler macro.
7062 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
7063 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
7064 (__udivmod64): New function.
7065 (__negdi2): New function.
7066
515a0cfc
GP
70672011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
7068
7069 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
7070 *-*-freebsd*aout*): Remove.
7071
0115d17f
HPN
70722011-11-20 Hans-Peter Nilsson <hp@axis.com>
7073
7074 * static-object.mk (c_flags-$o): Save c_flags.
7075 ($(base)$(objext)): Use it.
7076
93aeb62b
SE
70772011-11-18 Steve Ellcey <sje@cup.hp.com>
7078
7079 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
7080
7bc6df2c
GJL
70812011-11-18 Georg-Johann Lay <avr@gjlay.de>
7082
7083 PR target/49868
7084 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
7085 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
7086 New functions.
7087
425d737b
MGD
70882011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
7089
7090 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
7091 functions.
1bb4b6a3 7092 (aeabi_uidivmod): Likewise.
425d737b
MGD
7093 (umodsi3): Likewise.
7094 (divsi3): Likewise.
7095 (aeabi_idivmod): Likewise.
7096 (modsi3): Likewise.
7097
f2a176dc
TG
70982011-11-16 Tristan Gingold <gingold@adacore.com>
7099
7100 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
7101
7c209481
GJL
71022011-11-15 Georg-Johann Lay <avr@gjlay.de>
7103
7104 PR target/49868
7105 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
7106 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
7107
9dfd5832
JDA
71082011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
7109
7110 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
7111 tmake_file list.
7112 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
7113 * config/pa/t-stublib64: Delete.
7114
f77dca5d
RH
71152011-11-12 Richard Henderson <rth@redhat.com>
7116
7117 * config/rs6000/linux-unwind.h (frob_update_context): Properly
7118 cast the pointer argument to _Unwind_SetGRPtr.
7119
902828f0
RO
71202011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7121
7122 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
7123
e14304ef
ILT
71242011-11-09 Ian Lance Taylor <iant@google.com>
7125
7126 * generic-morestack.c: Include <string.h>.
7127 (uintptr_type): Define.
7128 (struct initial_sp): Add dont_block_signals field. Reduce size of
7129 extra array by 1.
7130 (allocate_segment): Set prev field to NULL. Don't set
7131 __morestack_current_segment or __morestack_segments.
7132 (__generic_morestack): Update current->prev and *pp after calling
7133 allocate_segment.
7134 (__morestack_block_signals): Don't do anything if
7135 dont_block_signals is set.
7136 (__morestack_unblock_signals): Likewise.
7137 (__generic_findstack): Check for initial_sp == NULL. Add casts to
7138 uintptr_type.
7139 (__splitstack_block_signals): New function.
7140 (enum __splitstack_content_offsets): Define.
7141 (__splitstack_getcontext, __splitstack_setcontext): New functions.
7142 (__splitstack_makecontext): New function.
7143 (__splitstack_block_signals_context): New function.
7144 (__splitstack_find_context): New function.
7145 * config/i386/morestack.S (__morestack_get_guard): New function.
7146 (__morestack_set_guard, __morestack_make_guard): New functions.
7147 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
7148
e3d871e4
RO
71492011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7150
7151 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
7152 (i[34567]86-*-mingw*): ... here.
7153 (x86_64-*-mingw*): ... here.
7154
e55cef40
RO
71552011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7156
7157 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
7158
5366b186
NS
71592011-11-07 Nathan Sidwell <nathan@acm.org>
7160
7161 * libgcov.c (struct gcov_fn_buffer): New struct.
7162 (buffer_fn_data): New helper.
7163 (gcov_exit): Rework for new gcov data structures.
7164
74155a6f
GJL
71652011-11-07 Georg-Johann Lay <avr@gjlay.de>
7166
7167 PR target/49313
7168 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
7169
200feb07
RO
71702011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7171
7172 * config.host (tmake_file): Correct comment.
7173 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
7174 t-libgcc-pic.
7175 (bfin*-uclinux*): Likewise.
7176 (bfin*-linux-uclibc*): Likewise.
7177 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
7178
7179 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
7180 assigning.
7181 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7182 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
7183 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7184 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
7185 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7186 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
7187 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
7188 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7189 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
7190 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
7191 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
7192 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
7193 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
7194
7195 * config/bfin/t-elf: Remove.
7196 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
7197
c9cd1a07
RO
71982011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7199
7200 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
7201 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
7202 (lm32-*-elf*, lm32-*-rtems*): Split into ...
7203 (lm32-*-elf*): ... this.
7204 (lm32-*-rtems*): ... and this.
7205 Add to tmake_file.
7206 (m32r-*-rtems*): Add to tmake_file.
7207 (moxie-*-rtems*): Likewise.
7208 (sparc-*-rtems*): Likewise.
7209 Remove t-rtems from tmake_file.
7210 (sparc64-*-rtems*): Likewise.
7211 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
7212 instead.
7213
9fbcc75d
RO
72142011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7215
7216 PR bootstrap/50982
7217 * config/gthr-posix.h: Move ...
7218 * gthr-posix.h: ... here.
7219 * config/gthr-lynx.h: Reflect this.
7220 * config/gthr-vxworks.h: Likewise.
7221 * config/rs6000/gthr-aix.h: Likewise.
7222 * configure.ac (target_thread_file): Likewise.
7223 * configure: Regenerate.
7224
76644b68
SH
72252011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
7226
7227 * config.host (arm*-*-rtemseabi*): New target.
7228
5e490f2a
JDA
72292011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
7230
7231 PR other/50991
7232 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
7233 extra-parts.
7234
feeeff5c
JR
72352011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
7236
7237 * config.host (epiphany-*-elf*): New configuration.
7238 * config/epiphany: New Directory.
7239
d618bb2c
RC
72402011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
7241
7242 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
7243 * config/avr/t-rtems: New.
7244 Filter out _exit from LIB1ASMFUNCS.
7245
1bb6f778
DM
72462011-11-04 David S. Miller <davem@davemloft.net>
7247
7248 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
7249 * configure: Rebuild.
7250
9a7f7422
AK
72512011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7252
7253 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
7254 variable.
7255
e4fe948a
GJL
72562011-11-04 Georg-Johann Lay <avr@gjlay.de>
7257
7258 PR target/50931
7259 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
7260 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
7261
7084e037
JS
72622011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
7263
7264 PR target/50989
7265 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
7266
1a032034
RO
72672011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7268
7269 * config/c6x/t-elf (LIB2ADDEH): Set.
7270 * config/c6x/t-c6x-elf: Remove.
7271
d385f772
RO
72722011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7273
7274 * config/i386/sol2-ci.S: Rename to ...
7275 * config/i386/crti.S: ... this.
7276 * config/i386/sol2-cn.S: Rename to ...
7277 * config/i386/crtn.S: ... this.
7278 * config/sparc/sol2-ci.S: Rename to ...
7279 * config/sparc/crti.S: ... this.
7280 * config/sparc/sol2-cn.S: Rename to ...
7281 * config/sparc/crtn.S: ... this.
7282 * config/t-sol2 (CUSTOM_CRTIN): Remove.
7283 (crti.o, crtn.o): Remove.
7284
1ba878a9
TG
72852011-11-04 Tristan Gingold <gingold@adacore.com>
7286
7287 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
7288
02750c15
KK
72892011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
7290
7291 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
7292
bf86b067
HPN
72932011-11-03 Hans-Peter Nilsson <hp@axis.com>
7294
7295 * config.host (crisv32-*-none, cris-*-none): Remove.
7296 (crisv32-*-elf): Append to tmake_file, don't just set it.
7297 (cris-*-elf): Add missing t-fdpbit to tmake_file.
7298
d0bc53bd
RO
72992011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7300
7301 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
7302 (ecrtn$(objext)): Likewise.
7303 (ncrti$(objext)): Likewise.
7304 (ncrtn$(objext)): Likewise.
7305
036da830
AS
73062011-11-03 Andreas Schwab <schwab@redhat.com>
7307
7308 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
7309
d2a7d041
DM
73102011-11-02 David S. Miller <davem@davemloft.net>
7311
7312 * configure.ac: Set host_address on sparc too.
7313 * configure: Regenerate.
7314 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
7315 based upon host_address.
7316 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
7317
af8ed618
JM
73182011-11-02 Jason Merrill <jason@redhat.com>
7319
7320 * config/rs6000/t-ppccomm: Add missing \.
7321
5d1c8e77
RO
73222011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7323
7324 * gthr-single.h, gthr.h: New files.
7325 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
7326 config/gthr-vxworks.h, config/i386/gthr-win32.h,
7327 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
7328 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
7329 * config/i386/gthr-win32.c: Include "gthr-win32.h".
7330 * configure.ac (thread_header): New variable.
7331 Set it depending on target_thread_file.
7332 (gthr-default.h): Link from $thread_header.
7333 * configure: Regenerate.
7334 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
7335
852b75ed
RO
73362011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7337
7338 * configure.ac (tm_file_): New variable.
7339 Determine from tm_file.
7340 (tm_file, tm_defines): Substitute.
7341 * configure: Regenerate.
7342 * mkheader.sh: New file.
7343 * Makefile.in (clean): Remove libgcc_tm.h.
7344 ($(objects)): Depend on libgcc_tm.h.
7345 (libgcc_tm_defines, libgcc_tm_file): New variables.
7346 (libgcc_tm.h, libgcc_tm.stamp): New targets.
7347 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
7348 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
7349 ($(extra-parts)): Depend on libgcc_tm.h.
7350 * config.host (tm_defines, tm_file): New variable.
7351 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
7352 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
7353 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
7354 (avr-*-rtems*): Likewise.
7355 (avr-*-*): Likewise.
7356 (frv-*-elf): Likewise.
7357 (frv-*-*linux*): Likewise.
7358 (h8300-*-rtems*): Likewise.
7359 (h8300-*-elf*): Likewise.
7360 (i[34567]86-*-darwin*): Likewise.
7361 (x86_64-*-darwin*): Likewise.
7362 (rx-*-elf): Likewise.
7363 (tic6x-*-uclinux): Likewise.
7364 (tic6x-*-elf): Likewise.
7365 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
7366 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
7367 * config/i386/cygming-crtbegin.c: Likewise.
7368 * config/i386/cygming-crtend.c: Likewise.
7369 * config/ia64/fde-vms.c: Likewise.
7370 * config/ia64/unwind-ia64.c: Likewise.
7371 * config/libbid/bid_gcc_intrinsics.h: Likewise.
7372 * config/rs6000/darwin-fallback.c: Likewise.
7373 * config/stormy16/lib2funcs.c: Likewise.
7374 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
7375 * crtstuff.c: Likewise.
7376 * dfp-bit.h: Likewise.
7377 * emutls.c: Likewise.
7378 * fixed-bit.c: Likewise.
7379 * fp-bit.c: Likewise.
7380 * generic-morestack-thread.c: Likewise.
7381 * generic-morestack.c: Likewise.
7382 * libgcc2.c: Likewise.
7383 * libgcov.c: Likewise.
7384 * unwind-dw2-fde-dip.c: Likewise.
7385 * unwind-dw2-fde.c: Likewise.
7386 * unwind-dw2.c: Likewise.
7387 * unwind-sjlj.c: Likewise.
7388
f9989b51
RO
73892011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7390
7391 * configure.ac: Include ../config/picflag.m4.
7392 (GCC_PICFLAG): Call it.
7393 Substitute.
7394 * configure: Regenerate.
7395 * Makefile.in (gcc_srcdir): Remove.
7396 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
7397 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
7398 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
7399 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
7400 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
7401 Use $<.
7402 Remove comment.
7403 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
7404 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
7405 to refer to libgcc2.c.
7406 Use $<.
7407 * config/darwin-64.c: New file.
7408 * config/darwin-crt3.c: Remove comment.
7409 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
7410 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
7411 config/udivmodsi4.c: New files.
7412 * config/memcmp.c, config/memcpy.c, config/memmove.c,
7413 config/memset.c: New files.
7414 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
7415 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
7416 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
7417 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
7418 * config/t-openbsd-thread: New file.
7419 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
7420 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
7421 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
7422 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
7423 qrnnd.S.
7424 Adapt filename.
7425 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
7426 to refer to gthr-posix.c.
7427 * config/alpha/t-vms (LIB2ADD): Set.
7428 * config/alpha/vms-gcc_shell_handler.c: New file.
7429 * config/arm/bpabi.c, config/arm/fp16.c,
7430 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
7431 config/arm/unaligned-funcs.c: New files.
7432 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
7433 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
7434 * config/arm/t-linux: Likewise.
7435 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
7436 * config/arm/t-netbsd: New file.
7437 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
7438 * config/arm/t-symbian (LIB2ADD_ST): Set.
7439 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
7440 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7441 * config/bfin/t-elf: New file.
7442 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
7443 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
7444 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
7445 config/c6x/ltf.c: New files.
7446 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
7447 (HOST_LIBGCC2_CFLAGS): Set.
7448 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
7449 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7450 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
7451 New files.
7452 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
7453 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
7454 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
7455 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
7456 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
7457 files.
7458 * config/frv/t-frv (LIB2ADD): Set.
7459 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7460 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
7461 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
7462 config/h8300/popcounthi2.c: New files.
7463 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
7464 * config/i386/gthr-win32.c: New file.
7465 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
7466 * config/i386/t-cygwin: Likewise.
7467 * config/i386/t-darwin, config/i386/t-darwin64,
7468 config/i386/t-gthr-win32, config/i386/t-interix: New files.
7469 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
7470 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7471 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7472 * config/ia64/quadlib.c: New file.
7473 * config/ia64/t-hpux (LIB2ADD): Set.
7474 * config/ia64/t-ia64: Add comment.
7475 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
7476 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7477 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
7478 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
7479 * config/m32c/t-m32c (LIB2ADD): Set.
7480 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
7481 * config/m32r/t-m32r: Likewise.
7482 * config/m68k/fpgnulib.c: New file.
7483 * config/m68k/t-floatlib (LIB2ADD): Set.
7484 (xfgnulib.c): New target.
7485 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
7486 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
7487 * config/mep/t-mep (LIB2ADD): Set.
7488 * config/microblaze/divsi3.asm: Rename to divsi3.S.
7489 * config/microblaze/moddi3.asm: Rename to moddi3.S.
7490 * config/microblaze/modsi3.asm: Rename to modsi3.S.
7491 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
7492 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
7493 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
7494 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
7495 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
7496 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
7497 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
7498 New files.
7499 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
7500 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
7501 * config/pa/fptr.c, config/pa/lib2funcs.S,
7502 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
7503 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
7504 (LIB2ADD, LIB2ADD_ST): Set.
7505 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
7506 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
7507 Set.
7508 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
7509 * config/pdp11/t-pdp11: New file.
7510 * config/picochip/libgccExtras/adddi3.S,
7511 config/picochip/libgccExtras/ashlsi3.S,
7512 config/picochip/libgccExtras/ashrsi3.S,
7513 config/picochip/libgccExtras/clzsi2.S,
7514 config/picochip/libgccExtras/cmpsi2.S,
7515 config/picochip/libgccExtras/divmod15.S,
7516 config/picochip/libgccExtras/divmodhi4.S,
7517 config/picochip/libgccExtras/divmodsi4.S,
7518 config/picochip/libgccExtras/lshrsi3.S,
7519 config/picochip/libgccExtras/parityhi2.S,
7520 config/picochip/libgccExtras/popcounthi2.S,
7521 config/picochip/libgccExtras/subdi3.S,
7522 config/picochip/libgccExtras/ucmpsi2.S,
7523 config/picochip/libgccExtras/udivmodhi4.S,
7524 config/picochip/libgccExtras/udivmodsi4.S: New files.
7525 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
7526 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
7527 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
7528 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
7529 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
7530 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
7531 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
7532 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
7533 files.
7534 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
7535 (HOST_LIBGCC2_CFLAGS): Set.
7536 * config/rs6000/t-darwin64: New file.
7537 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
7538 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
7539 * config/rs6000/t-ppccomm (LIB2ADD): Add
7540 $(srcdir)/config/rs6000/tramp.S.
7541 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
7542 Add $(srcdir)/config/rs6000/eabi.S.
7543 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
7544 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
7545 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
7546 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
7547 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
7548 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
7549 * config/rs6000/tramp.S: New file.
7550 * config/s390/t-tpf: Remove.
7551 * config/sh/linux-atomic.S: New file.
7552 * config/sh/t-linux (LIB2ADD): Set.
7553 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
7554 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
7555 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
7556 to unwind-dw2.c.
7557 (HOST_LIBGCC2_CFLAGS): Set.
7558 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7559 * config/spu/divmodti4.c, config/spu/divv2df3.c,
7560 config/spu/float_disf.c, config/spu/float_unsdidf.c,
7561 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
7562 config/spu/mfc_multi_tag_release.c,
7563 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
7564 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
7565 config/spu/multi3.c: New files.
7566 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
7567 (HOST_LIBGCC2_CFLAGS): Set.
7568 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
7569 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
7570 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
7571 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
7572 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
7573 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
7574 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
7575 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
7576 config/stormy16/umodsi3.c: New files.
7577 * config/xtensa/lib2funcs.S: New file.
7578 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
7579 * config/xtensa/t-xtensa (LIB2ADD): Set.
7580 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
7581 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
7582 Add t-freebsd-thread to tmake_file for posix threads.
7583 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
7584 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
7585 (*-*-lynxos*): Likewise.
7586 (*-*-netbsd*): Likewise.
7587 (*-*-openbsd*): Likewise.
7588 Add t-openbsd-thread to tmake_file for posix threads.
7589 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
7590 (*-*-vxworks*): Set tmake_file.
7591 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
7592 (alpha*-*-freebsd*): Likewise.
7593 (alpha*-*-netbsd*): Likewise.
7594 (alpha*-*-openbsd*): Likewise.
7595 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
7596 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
7597 (alpha*-dec-*vms*): Likewise.
7598 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
7599 (bfin*-elf*): Add bfin/t-elf to tmake_file.
7600 (bfin*-uclinux*): Likewise.
7601 (bfin*-linux-uclibc*): Likewise.
7602 (crisv32-*-elf): Add cris/t-cris to tmake_file.
7603 (crisv32-*-none): Likewise.
7604 (cris-*-elf): Likewise.
7605 (cris-*-none): Likewise.
7606 (cris-*-linux*, crisv32-*-linux*): Likewise.
7607 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
7608 tmake_file.
7609 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
7610 tmake_file.
7611 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
7612 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
7613 (x86_64-*-elf*): Likewise.
7614 (i[34567]86-*-nto-qnx*): Likewise.
7615 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
7616 win32 threads.
7617 (x86_64-*-mingw*): Likewise.
7618 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
7619 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
7620 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
7621 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
7622 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
7623 tmake_file.
7624 (mipsisa64sr71k-*-elf*): Likewise.
7625 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
7626 (mips-*-elf*, mipsel-*-elf*): Likewise.
7627 (mips64-*-elf*, mips64el-*-elf*): Likewise.
7628 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
7629 (mips*-*-rtems*): Likewise.
7630 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
7631 to tmake_file.
7632 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
7633 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
7634 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
7635 (spu-*-elf*): Likewise.
7636 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
7637
45b86625
RO
76382011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7639
7640 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
7641 $(srcdir) to refer to $(LIB1ASMSRC).
7642 Use $<.
7643 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
7644 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
7645 config/arm/lib1funcs.S: New files.
7646 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
7647 * config/arm/t-arm: New file.
7648 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
7649 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
7650 config/arm/t-strongarm-elf: New files.
7651 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
7652 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
7653 * config/avr/lib1funcs.S: New file.
7654 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7655 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
7656 * config/c6x/lib1funcs.S: New file.
7657 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7658 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
7659 * config/frv/lib1funcs.S: New file.
7660 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7661 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
7662 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
7663 * config/ia64/__divxf3.asm: Rename to ...
7664 * config/ia64/__divxf3.S: ... this.
7665 Adapt lib1funcs.asm filename.
7666 * config/ia64/_fixtfdi.asm: Rename to ...
7667 * config/ia64/_fixtfdi.S: ... this.
7668 Adapt lib1funcs.asm filename.
7669 * config/ia64/_fixunstfdi.asm: Rename to ...
7670 * config/ia64/_fixunstfdi.S: ... this.
7671 Adapt lib1funcs.asm filename.
7672 * config/ia64/_floatditf.asm: Rename to ...
7673 * config/ia64/_floatditf.S: ... this.
7674 Adapt lib1funcs.asm filename.
7675 * config/ia64/lib1funcs.S: New file.
7676 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
7677 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7678 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
7679 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
7680 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
7681 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
7682 * config/mep/lib1funcs.S: New file.
7683 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7684 * config/mips/mips16.S: New file.
7685 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7686 * config/pa/milli64.S: New file.
7687 * config/pa/t-linux, config/pa/t-linux64: New files.
7688 * config/picochip/lib1funcs.S: New file.
7689 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7690 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
7691 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
7692 * config/sh/t-netbsd: New file.
7693 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
7694 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
7695 * config/sh/t-sh64: New file.
7696 * config/sparc/lb1spc.S: New file.
7697 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
7698 filename.
7699 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
7700 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
7701 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
7702 config/xtensa/lib1funcs.S: New files.
7703 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7704 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
7705 tmake_file.
7706 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
7707 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
7708 (arm*-*-linux*): Likewise.
7709 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
7710 arm*-*-linux-*eabi, add arm/t-linux otherwise.
7711 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
7712 (arm*-*-ecos-elf): Likewise.
7713 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
7714 (arm*-*-rtems*): Likewise.
7715 (arm*-*-elf): Likewise.
7716 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
7717 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
7718 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
7719 (bfin*-uclinux*): Likewise.
7720 (bfin*-linux-uclibc*): Likewise.
7721 (bfin*-rtems*): Likewise.
7722 (bfin*-*): Likewise.
7723 (fido-*-elf): Merge into m68k-*-elf*.
7724 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
7725 (frv-*-*linux*): Add frv/t-frv to tmake_file.
7726 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
7727 (h8300-*-elf*): Likewise.
7728 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
7729 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
7730 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
7731 (i[34567]86-*-mingw*): Likewise.
7732 (x86_64-*-mingw*): Likewise.
7733 (i[34567]86-*-interix3*): Likewise.
7734 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
7735 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
7736 (m68k-*-elf*): Also handle fido-*-elf.
7737 Add m68k/t-floatlib to tmake_file.
7738 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
7739 (m68k-*-linux*): Likewise.
7740 (m68k-*-rtems*): Likewise.
7741 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
7742 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
7743 sh64*-*-*.
7744 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
7745 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
7746 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
7747 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
7748 sh/t-netbsd to tmake_file.
7749 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
7750 (sh-*-rtems*): Add sh/t-sh to tmake_file.
7751 (sh-wrs-vxworks): Likewise.
7752 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
7753 *-leon[3-9]*.
7754 (v850*-*-*): Add v850/t-v850 to tmake_file.
7755 (vax-*-linux*): Add vax/t-linux to tmake_file.
7756 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
7757
5f73c6cc
RO
77582011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7759
7760 * crtstuff.c: New file.
7761 * Makefile.in (CRTSTUFF_CFLAGS): Define.
7762 (CRTSTUFF_T_CFLAGS): Define.
7763 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
7764 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
7765 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
7766 crtstuff.c.
7767 Use $<.
7768 (crtbeginT.o): Use $(objext).
7769 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
7770 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
7771 (gcc-extra-parts): Remove.
7772 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
7773 Set extra_parts.
7774 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
7775 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
7776 Add t-crtstuff-pic to tmake_file.
7777 (*-*-lynxos*): New case.
7778 Set tmake_file, extra_parts.
7779 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
7780 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
7781 *-*-netbsdelf[2-9]*.
7782 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
7783 (*-*-rtems*): Set extra_parts.
7784 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
7785 (*-*-uclinux*): New case.
7786 Set extra_parts.
7787 (*-*-vms*): New case.
7788 Set tmake_file, extra_parts.
7789 (*-*-elf): Set extra_parts.
7790 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
7791 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
7792 vms/t-vms64.
7793 Set extra_parts.
7794 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
7795 Set extra_parts.
7796 (arm*-*-freebsd*): Add t-crtin to tmake_file.
7797 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
7798 (arm-wrs-vxworks): Append to tmake_file.
7799 Set extra_parts.
7800 (arm*-*-uclinux*): Set extra_parts.
7801 (arm*-*-ecos-elf): Likewise.
7802 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
7803 arm*-*-eabi*.
7804 (arm*-*-rtems*): Set extra_parts.
7805 (arm*-*-elf): Likewise.
7806 (avr-*-rtems*): Clear extra_parts.
7807 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
7808 Set extra_parts.
7809 (bfin*-uclinux*): Likewise.
7810 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
7811 (bfin*-rtems*): Append to tmake_file.
7812 Set extra_parts.
7813 (bfin*-*): Likewise.
7814 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
7815 (crisv32-*-elf): ... this.
7816 (crisv32-*-none): ... this.
7817 (cris-*-elf, cris-*-none): New cases.
7818 Add cris/t-elfmulti to tmake_file.
7819 (fr30-*-elf): Append to tmake_file.
7820 Set extra_parts.
7821 (frv-*-elf): Append to tmake_file, add frv/t-frv.
7822 Set extra_parts.
7823 (h8300-*-rtems*): Append to tmake_file.
7824 Set extra_parts.
7825 (h8300-*-elf*): Likewise.
7826 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
7827 Set extra_parts.
7828 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
7829 Set extra_parts.
7830 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
7831 (x86_64-*-elf*): Likewise.
7832 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
7833 (x86_64-*-freebsd*): Likewise.
7834 (x86_64-*-netbsd*): Likewise.
7835 (i[34567]86-*-linux*): Likewise.
7836 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
7837 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
7838 (x86_64-*-linux*): Likewise.
7839 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
7840 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
7841 tmake_file.
7842 Set extra_parts.
7843 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
7844 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
7845 Append to extra_parts, remove crtbegin.o, crtend.o.
7846 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
7847 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
7848 crtend.o, crtbeginS.o, crtendS.o.
7849 (ia64*-*-linux*): Comment extra_parts.
7850 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
7851 Set extra_parts.
7852 (iq2000*-*-elf*): Clear extra_parts.
7853 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
7854 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
7855 (m32r-*-elf*, m32r-*-rtems*): Split off ...
7856 (m32r-*-rtems*): ... this.
7857 Add m32r/t-m32r to tmake_file.
7858 (m68k-*-elf*): Add t-crtin to tmake_file.
7859 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
7860 (mcore-*-elf): Likewise.
7861 (microblaze*-*-*): Set extra_parts.
7862 (mips*-sde-elf*): New case.
7863 Set tmake_file, extra_parts.
7864 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
7865 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
7866 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
7867 tmake_file.
7868 Set extra_parts.
7869 (mipsisa64sr71k-*-elf*): Likewise.
7870 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
7871 (mips-*-elf*, mipsel-*-elf*): Likewise.
7872 (mips64-*-elf*, mips64el-*-elf*): Likewise.
7873 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
7874 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
7875 (mips*-*-rtems*): Likewise.
7876 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
7877 (moxie-*-*): Split into ...
7878 (moxie-*-elf, moxie-*-uclinux*): ... this.
7879 Add to extra_parts, remove crtbegin.o, crtend.o.
7880 (moxie-*-rtems*): New case.
7881 Set tmake_file.
7882 Clear extra_parts.
7883 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
7884 Set extra_parts.
7885 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
7886 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
7887 tmake_file.
7888 Set extra_parts.
7889 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
7890 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
7891 Set extra_parts.
7892 (powerpc-*-eabisim*): Likewise.
7893 (powerpc-*-elf*): Likewise.
7894 (powerpc-*-eabialtivec*): Likewise.
7895 (powerpc-xilinx-eabi*): Likewise.
7896 (powerpc-*-eabi*): Likewise.
7897 (powerpc-*-rtems*): Likewise.
7898 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
7899 tmake_file.
7900 Set extra_parts.
7901 (powerpc-*-lynxos*): Add to tmake_file.
7902 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
7903 rs6000/t-crtstuff, t-crtstuff-pic.
7904 Set extra_parts.
7905 (powerpcle-*-eabisim*): Likewise.
7906 (powerpcle-*-eabi*): Likewise.
7907 (rx-*-elf): Remove extra_parts.
7908 (s390x-ibm-tpf*): Set extra_parts.
7909 (score-*-elf): Set extra_parts.
7910 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
7911 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
7912 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
7913 (sh64l*-*-netbsd*): Split into ...
7914 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
7915 Add t-crtstuff-pic to tmake_file.
7916 Set extra_parts.
7917 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
7918 Set extra_parts.
7919 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
7920 (sparc-*-elf*): Remove t-crtin from tmake_file.
7921 Add to extra_parts, remove crtbegin.o, crtend.o.
7922 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
7923 (sparc64-*-linux*): Likewise.
7924 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
7925 Add to extra_parts, remove crtbegin.o, crtend.o.
7926 (sparc64-*-elf*): Remove t-crtin from tmake_file.
7927 Add to extra_parts, remove crtbegin.o, crtend.o.
7928 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
7929 Add to extra_parts, remove crtbegin.o, crtend.o.
7930 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
7931 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
7932 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
7933 Set extra_parts.
7934 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
7935 Set extra_parts.
7936 (tic6x-*-*): Change to ...
7937 (tic6x-*-elf): ... this.
7938 Set extra_parts.
7939 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
7940 Set extra_parts.
7941 (am33_2.0-*-linux*): Add comment.
7942 (mep*-*-*): Add mep/t-mep to tmake_file.
7943 Set extra_parts.
7944 * config/alpha/t-vms: New file.
7945 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
7946 * config/arm/crti.S, config/arm/crtn.S: New files.
7947 * config/bfin/crti.S, config/bfin/crtn.S: New files.
7948 * config/bfin/crtlibid.S: New file.
7949 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
7950 * config/c6x/crti.S, config/c6x/crtn.S: New files.
7951 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
7952 (crti.o, crtin.o): New rules.
7953 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
7954 * config/c6x/t-uclinux: New file.
7955 * config/cris/t-elfmulti: New file.
7956 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
7957 * config/fr30/crti.S, config/fr30/crtn.S: New files.
7958 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
7959 * config/frv/t-frv: New file.
7960 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
7961 * config/h8300/crti.S, config/h8300/crtn.S: New files.
7962 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
7963 New files.
7964 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
7965 refer to cygming-crtbegin.c, cygming-crtend.c.
7966 Use $<.
7967 * config/i386/t-nto: New file.
7968 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
7969 * config/ia64/crti.S, config/ia64/crtn.S: New files.
7970 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
7971 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
7972 Use .S extension.
7973 Use $<.
7974 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
7975 (crtinitS.o): New rule.
7976 * config/ia64/vms-crtinit.S: New file.
7977 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
7978 * config/m32r/initfini.c: New file.
7979 * config/m32r/t-linux, config/m32r/t-m32r: New files.
7980 * config/m68k/crti.S, config/m68k/crtn.S: New files.
7981 * config/mcore/crti.S, config/mcore/crtn.S: New files.
7982 * config/mep/t-mep: New file.
7983 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
7984 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
7985 * config/mips/crti.S, config/mips/crtn.S: New files.
7986 * config/mips/t-crtstuff: New file.
7987 * config/mmix/crti.S, config/mmix/crtn.S: New files.
7988 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
7989 (CUSTOM_CRTIN): Set.
7990 ($(T)crti.o, $(T)crtn.o): Remove $(T),
7991 dependencies.
7992 Use $(srcdir) to refer to crti.S, crtn.S.
7993 Use .S extension, $<.
7994 * config/moxie/crti.asm: Rename to ...
7995 * config/moxie/crti.S: ... this.
7996 * config/moxie/crtn.asm: Rename to ...
7997 * config/moxie/crtn.S: ... this.
7998 * config/moxie/t-moxie: Remove.
7999 * config/pa/stublib.c: New file.
8000 * config/pa/t-stublib, config/pa/t-stublib64: New files.
8001 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
8002 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
8003 * config/rs6000/t-crtstuff: New file.
8004 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
8005 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
8006 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
8007 Make output file explicit.
8008 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
8009 Make output file explicit.
8010 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
8011 Make output file explicit.
8012 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
8013 Make output file explicit.
8014 * config/score/crti.S, config/score/crtn.S: New files.
8015 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
8016 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
8017 files.
8018 * config/sh/t-sh, config/sh/t-superh: New files.
8019 * config/sparc/t-linux64: New file.
8020 * config/spu/cache.S, config/spu/cachemgr.c: New files.
8021 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
8022 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
8023 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
8024 * config/t-crtin: Remove.
8025 * config/t-crtstuff-pic: New file.
8026 * config/t-sol2 (CUSTOM_CRTIN): Set.
8027 (crti.o, crtn.o): New rules.
8028 * config/vms/t-vms: New file.
8029 * config/vms/vms-ucrt0.c: New file.
8030 * config/xtensa/t-elf: New file.
8031
b040f2be
RO
80322011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8033
8034 * Makefile.in (SHLIB_NM_FLAGS): Set.
8035 * mkmap-flat.awk, mkmap-symver.awk: New files.
8036 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
8037 exceptions.
8038 * configure: Regenerate.
8039 * config/libgcc-glibc.ver: New file.
8040 * config/libgcc-libsystem.ver: New file.
8041 * config/t-libunwind (SHLIB_LC): Set.
8042 * config/t-linux: New file.
8043 * config/t-slibgcc (INSTALL_SHLIB): New.
8044 (SHLIB_INSTALL): Use it.
8045 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
8046 to mkmap-symver.awk.
8047 (SHLIB_MAPFILES): Don't append, adapt pathname.
8048 (SHLIB_VERPFX): Set.
8049 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
8050 to mkmap-symver.awk.
8051 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
8052 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
8053 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
8054 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
8055 to mkmap-flat.awk.
8056 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
8057 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
8058 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
8059 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
8060 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
8061 * config/i386/libgcc-darwin.10.4.ver,
8062 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
8063 New files.
8064 * config/i386/t-darwin: Remove.
8065 * config/i386/t-darwin64: Likewise.
8066 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
8067 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
8068 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
8069 * config/i386/t-linux: New file.
8070 * config/i386/t-mingw32: New file.
8071 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
8072 * config/ia64/t-glibc: Rename to ...
8073 * config/ia64/t-linux: ... this.
8074 (SHLIB_MAPFILES): Set.
8075 * config/ia64/t-glibc-libunwind: Rename to ...
8076 * config/ia64/t-linux-libunwind: ... this.
8077 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
8078 * config/ia64/t-slibgcc-hpux: New file.
8079 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
8080 * config/m68k/t-slibgcc-elf-ver: New file.
8081 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
8082 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
8083 to mkmap-flat.awk.
8084 * config/pa/t-slibgcc-hpux: New file.
8085 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
8086 files.
8087 * config/rs6000/libgcc-darwin.10.4.ver,
8088 config/rs6000/libgcc-darwin.10.5.ver: New files.
8089 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
8090 config/rs6000/libgcc-glibc.ver.
8091 * config/rs6000/libgcc-ppc64.ver: Rename to
8092 config/rs6000/libgcc-ibm-ldouble.ver.
8093 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
8094 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
8095 * config/rs6000/t-ldbl128: Rename to ...
8096 * config/rs6000/t-linux: ... this.
8097 (SHLIB_MAPFILES): Adapt filename.
8098 * config/rs6000/t-slibgcc-aix: New file.
8099 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
8100 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
8101 libgcc-excl.ver, libgcc-glibc.ver.
8102 (SHLIB_LINK, SHLIB_INSTALL): Remove.
8103 * config/sparc/libgcc-glibc.ver: New file.
8104 * config/sparc/t-linux: New file.
8105 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
8106 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
8107 t-slibgcc-elf-ver to tmake_file.
8108 Add t-slibgcc-nolc-override to tmake_file for posix threads on
8109 *-*-freebsd[34].
8110 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
8111 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
8112 t-slibgcc-elf-ver, t-linux to tmake_file.
8113 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
8114 tmake_file.
8115 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
8116 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
8117 (alpha*-dec-*vms*): Likewise.
8118 (arm*-*-freebsd*): Append to tmake_file.
8119 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
8120 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
8121 arm*-*-linux-*eabi.
8122 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
8123 tmake_file for arm*-*-symbianelf*.
8124 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
8125 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
8126 cris/t-linux.
8127 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
8128 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
8129 pa/t-slibgcc-dwarf-ver to tmake_file.
8130 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
8131 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
8132 (hppa*64*-*-hpux11*): Likewise.
8133 (hppa[12]*-*-hpux11*): Likewise.
8134 (x86_64-*-darwin*): Don't override tmake_file, but only keep
8135 i386/t-crtpc, i386/t-crtfm.
8136 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
8137 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
8138 to tmake_file.
8139 Add i386/t-cygwin to tmake_file.
8140 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
8141 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
8142 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
8143 to tmake_file.
8144 Add i386/t-mingw32 to tmake_file.
8145 (x86_64-*-mingw*): Likewise.
8146 (ia64*-*-freebsd*): Append to tmake_file.
8147 (ia64*-*-linux*): Append to tmake_file.
8148 Replace ia64/t-glibc by ia64/t-linux.
8149 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
8150 system libunwind.
8151 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
8152 t-slibgcc-hpux to tmake_file.
8153 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
8154 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
8155 (m32rle-*-linux*): Likewise.
8156 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
8157 sjlj exceptions.
8158 (microblaze*-linux*): New case.
8159 Append to tmake_file, add t-slibgcc-nolc-override.
8160 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
8161 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
8162 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
8163 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
8164 rs6000/t-slibgcc-aix to tmake_file.
8165 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8166 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8167 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
8168 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
8169 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
8170 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
8171 sh*-*-linux*.
8172 (sparc-*-linux*): Append to tmake_file for *-leon*.
8173 Add sparc/t-linux to tmake_file for non-Leon targets.
8174 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
8175 (tic6x-*-uclinux): New case.
8176 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
8177 (tic6x-*-*): Add c6x/t-elf to tmake_file.
8178 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
8179 (am33_2.0-*-linux*): Append to tmake_file.
8180 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
8181 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
8182 x86_64-*-kfreebsd*-gnu.
8183 Add i386/t-linux to tmake_file.
8184
18b4bd7b
ILT
81852011-10-28 Ian Lance Taylor <iant@google.com>
8186
8187 * config/i386/morestack.S: Correct CFI information to do proper
8188 returns throughout function. In 32-bit mode, save %ebx so that it
8189 is restored on unwind.
8190
5b2d9d90
BS
81912011-10-25 Bernd Schmidt <bernds@codesourcery.com>
8192
8193 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
8194 case where B3 isn't the return register.
8195
0d53e346
BS
8196 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
8197 logic for doubleword pops.
8198
cbffbd59
AT
81992011-10-25 Andreas Tobler <andreast@fgznet.ch>
8200
8201 * config/rs6000/t-freebsd: Add wildcard.
8202
56dc349e
PB
82032011-10-21 Paul Brook <paul@codesourcery.com>
8204
8205 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
8206
1e06b07d
UB
82072011-10-16 Uros Bizjak <ubizjak@gmail.com>
8208 Eric Botcazou <ebotcazou@adacore.com>
8209
8210 PR target/50737
8211 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
8212 fs->signal_frame to 1.
8213
b5204884
ILT
82142011-10-07 Ian Lance Taylor <iant@google.com>
8215
8216 * generic-morestack-thread.c: #include <errno.h>.
8217
91a639a1
ILT
82182011-10-07 Ian Lance Taylor <iant@google.com>
8219
8220 PR target/46093
8221 * generic-morestack.c (__generic_morestack): Make sure the segment
8222 is large enough for both the stack frame and the copied
8223 parameters.
8224
cc49116d
RO
82252011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8226
8227 PR bootstrap/49804
8228 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
8229 extra_parts.
8230
2996d8c3
NC
82312011-09-28 Nick Clifton <nickc@redhat.com>
8232
8233 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
8234 64-bit doubles are not enabled.
8235 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
8236 and floatunsisf functions.
8237
1e874273 82382011-09-13 Paul Brook <paul@codesourcery.com>
2996d8c3 8239
1e874273
PB
8240 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
8241 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
8242 * unwind-arm-common.inc: New file.
8243 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
8244 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
8245 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
8246 * config/c6x/libunwind.S: New file.
8247 * config/c6x/pr-support.c: New file.
8248 * config/c6x/unwind-c6x.c: New file.
8249 * config/c6x/unwind-c6x.h: New file.
8250 * config/c6x/t-c6x-elf: New file.
8251
f70c879a
UB
82522011-08-23 Uros Bizjak <ubizjak@gmail.com>
8253
8254 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
8255 (ASM_DIVZERO): Ditto.
8256 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
8257
c55b374b
RS
82582011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
8259
8260 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
8261
1e138510
RS
82622011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
8263
8264 PR target/50090
8265 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
8266 instead of an assembly one.
8267
1563503d
PB
82682011-08-12 Paolo Bonzini <bonzini@gnu.org>
8269
8270 PR bootstrap/50047
8271 * Makefile.in (install-unwind_h): Create
8272 $(gcc_objdir)/include/unwind.h atomically.
8273
3627ac1a
RO
82742011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8275
8276 * Makefile.in (install-unwind_h): Remove destination file first.
8277
c6412d86
RO
82782011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8279
8280 * sync.c: New file.
8281 * config/mips/t-mips16: New file.
8282 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
8283 (mips*-*-linux*): Likewise.
8284 (mips*-sde-elf*): Likewise.
8285 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
8286 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
8287 Add mips/t-mips16 to tmake_file.
8288 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
8289 (mips-*-elf*): Likewise.
8290 (mips64-*-elf*): Likewise.
8291 (mips64orion-*-elf*): Likewise.
8292 (mips*-*-rtems*): Likewise.
8293 (mipstx39-*-elf*): Likewise.
8294 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
8295 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
8296 LIBGCC_SYNC_CFLAGS.
8297 Use $(srcdir) to refer to sync.c.
8298 Use $<.
8299 ($(libgcc-sync-funcs-o)): Likewise.
8300 ($(libgcc-sync-size-funcs-s-o)): Likewise.
8301 ($(libgcc-sync-funcs-s-o)): Likewise.
8302
3cb6e5bd
AS
83032011-08-09 Andreas Schwab <schwab@linux-m68k.org>
8304
8305 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
8306 t-libunwind.
8307
cca2207a
L
83082011-08-08 H.J. Lu <hongjiu.lu@intel.com>
8309
8310 PR other/48007
8311 * config/i386/value-unwind.h: New.
8312
ed39fbad
RS
83132011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
8314
8315 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
8316 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
8317 Add to tmake_file rather than overriding it.
8318
aca0b0b3
RO
83192011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8320
8321 * config/t-softfp: Remove.
8322 * soft-fp: Moved from ../gcc/config.
8323 * soft-fp/README: Remove t-softfp reference.
8324 * soft-fp/t-softfp: Move to config/t-softfp.
8325 (softfp_machine_header): Remove.
8326 (softfp_file_list): Remove config subdir.
8327 (soft-fp-objects): New variable.
8328 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
8329 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
8330 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
8331 * config/t-softfp-excl: New file.
8332 * config/t-softfp-sfdf: New file.
8333 * config/t-softfp-tf: New file.
8334 * config/no-sfp-machine.h: New file.
8335 * config/arm/sfp-machine.h: New file.
8336 * config/arm/t-softfp: New file.
8337 * config/c6x/sfp-machine.h: New file.
8338 * config/i386/32/t-fprules-softfp: Rename to ...
8339 * config/i386/32/t-softfp: ... this.
8340 (tifunctions, LIB2ADD): Remove.
8341 (softfp_int_modes): Override.
8342 * config/i386/64/t-softfp-compat (tf-functions): Remove config
8343 subdir.
8344 * config/i386/64/eqtf2.c: Likewise.
8345 * config/i386/64/getf2.c: Likewise.
8346 * config/i386/64/letf2.c: Likewise.
8347 * config/ia64/sft-machine.h: New file.
8348 * config/ia64/t-fprules-softfp: Rename to ...
8349 * config/ia64/t-softfp: ... this.
8350 * config/lm32/sfp-machine.h: New file.
8351 * config/moxie/t-moxie-softfp: Remove.
8352 * config/rs6000/ibm-ldouble-format: New file.
8353 * config/rs6000/ibm-ldouble.c: New file.
8354 * config/rs6000/libgcc-ppc-glibc.ver: New file
8355 * config/rs6000/libgcc-ppc64.ver: New file
8356 * config/rs6000/sfp-machine.h: New file.
8357 * config/rs6000/t-freebsd: New file.
8358 * config/rs6000/t-ibm-ldouble: New file.
8359 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
8360 libgcc-ppc-glibc.ver.
8361 * config/rs6000/t-linux64: New file.
8362 * config/rs6000/t-ppccomm (LIB2ADD): Add
8363 $(srcdir)/config/rs6000/ibm-ldouble.c.
8364 * config/rs6000/t-ppccomm-ldbl: New file.
8365 * config/score/sfp-machine.h: New file.
8366 * config.host (sfp_machine_header): Explain.
8367 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
8368 t-softfp to tmake_file.
8369 (arm*-*-uclinux*): Likewise.
8370 (arm*-*-ecos-elf): Likewise.
8371 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
8372 (arm*-*-rtems*): Likewise.
8373 (arm*-*-elf): Likewise.
8374 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
8375 in tmake_file.
8376 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
8377 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
8378 (lm32-*-uclinux*): Likewise.
8379 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
8380 t-softfp-excl, t-softfp.
8381 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
8382 (powerpc64-*-darwin*): Likewise.
8383 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
8384 to tmake_file.
8385 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
8386 tmake_file.
8387 (powerpc-*-eabisim*): Likewise.
8388 (powerpc-*-elf*): Likewise.
8389 (powerpc-*-eabialtivec*): Likewise.
8390 (powerpc-xilinx-eabi*): Likewise.
8391 (powerpc-*-rtems*): Likewise.
8392 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
8393 t-softfp-excl, t-softfp to tmake_file.
8394 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
8395 rs6000/t-ppccomm-ldbl to tmake_file.
8396 (powerpcle-*-elf*): Likewise.
8397 (powerpcle-*-eabisim*): Likewise.
8398 (powerpcle-*-eabi*): Likewise.
8399 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
8400 rs6000/t-ibm-ldouble to tmake_file.
8401 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8402 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8403 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
8404 (tic6x-*-*): Likewise.
8405 (i[34567]86-*-darwin*, x86_64-*-darwin*,
8406 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
8407 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
8408 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
8409 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
8410 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
8411 t-softfp to tmake_file.
8412 * configure.ac (sfp_machine_header): Provide default if unset.
8413 Substitute.
8414 Link sfp-machine.h to config/$sfp_machine_header.
8415 * configure: Regenerate.
8416
569dc494
RO
84172011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8418
8419 * Makefile.in (double_type_size, long_double_type_size): Set.
8420 Remove $(fpbit-in-libgcc) support.
8421 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
8422 (fpbit-src): New variable.
8423 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
8424 Compile with -DFLOAT $(FPBIT_CFLAGS).
8425 Use $<.
8426 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
8427 Compile with $(FPBIT_CFLAGS).
8428 Use $<.
8429 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
8430 Compile with -DFLOAT $(TPBIT_CFLAGS).
8431 Use $<.
8432 * configure.ac (double_type_size, long_double_type_size):
8433 Determine and substitute.
8434 * configure: Regenerate.
8435 * fp-bit.c, fp-bit.h: New files.
8436 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
8437 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
8438 * config/mips/t-mips: New file.
8439 * config/mips/t-sdemtk: New file.
8440 * config/rs6000/ppc64-fp.c: New file.
8441 * config/rs6000/t-darwin (LIB2ADD): Add
8442 $(srcdir)/config/rs6000/ppc64-fp.c.
8443 * config/rs6000/t-ppc64-fp: New file.
8444 * config/rx/rx-lib.h: New file.
8445 * config/rx/t-rx (FPBIT): Set to true.
8446 ($(gcc_objdir)/fp-bit.c): Remove.
8447 (DPBIT): Set to true only with -m64bit-doubles.
8448 ($(gcc_objdir)/dp-bit.c): Remove.
8449 * config/sparc/t-softfp: Remove.
8450 * config/spu/t-elf: New file.
8451 * config/t-fdpbit, config/t-fpbit: New files.
8452 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
8453 (mips*-*-*): Likewise.
8454 (arm-wrs-vxworks): Likewise.
8455 (arm*-*-freebsd*): Likewise.
8456 (avr-*-rtems*): Add t-fpbit to tmake_file.
8457 (avr-*-*): Likewise.
8458 (bfin*-elf*): Add t-fdpbit to tmake_file.
8459 (bfin*-uclinux*): Likewise.
8460 (bfin*-linux-uclibc*): Likewise.
8461 (bfin*-rtems*): New case.
8462 Add t-fdpbit to tmake_file.
8463 (bfin*-*): Add t-fdpbit to tmake_file.
8464 (crisv32-*-elf): Likewise.
8465 (cris-*-linux*): Likewise.
8466 (fr30-*-elf): Likewise.
8467 (frv-*-elf, frv-*-*linux*): Likewise.
8468 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
8469 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
8470 (m32r-*-elf*): Likewise.
8471 (m32rle-*-elf*): Likewise.
8472 (m32r-*-linux*): Likewise.
8473 (m32rle-*-linux*): Likewise.
8474 (mcore-*-elf): Add t-fdpbit to tmake_file.
8475 (microblaze*-*-*): Likewise.
8476 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
8477 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
8478 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
8479 Fix typo.
8480 Add mips/t-tpbit to tmake-file.
8481 (mips*-*-linux*): Fix typo.
8482 (mips*-sde-elf*): New case
8483 Add mips/t-sdemtk unless using newlib.
8484 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
8485 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
8486 (mn10300-*-*): Likewise.
8487 (pdp11-*-*): Likewise.
8488 (picochip-*-*): Add t-fpbit to tmake_file.
8489 (powerpc-*-eabisimaltivec*): Likewise.
8490 (powerpc-*-eabisim*): Likewise.
8491 (powerpc-*-elf*): Likewise.
8492 (powerpc-*-eabialtivec*): Likewise.
8493 (powerpc-xilinx-eabi*): New case.
8494 Add t-fdpbit to tmake_file.
8495 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
8496 (powerpc-*-rtems*): Likewise.
8497 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
8498 tmake_file.
8499 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
8500 tmake_file.
8501 (powerpc-*-lynxos*): Likewise.
8502 (powerpcle-*-elf*): Likewise.
8503 (powerpcle-*-eabisim*): Likewise.
8504 (powerpcle-*-eabi*): Likewise.
8505 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
8506 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
8507 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8508 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8509 (rx-*-elf): Add t-fdpbit to tmake_file.
8510 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
8511 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
8512 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
8513 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
8514 sh*-*-netbsd*.
8515 (sh-*-rtems*): Add t-fdpbit to tmake_file.
8516 (sh-wrs-vxworks): Likewise.
8517 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
8518 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
8519 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
8520 (sparc64-*-rtems*): ... new case.
8521 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
8522 (spu-*-elf*): Likewise.
8523 Add spu/t-elf to tmake_file.
8524 (v850*-*-*): Add t-fdpbit to tmake_file.
8525 (xstormy16-*-elf): Likewise.
8526 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
8527 (mep*-*-*): Likewise.
8528
201cdb74
RO
85292011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8530
8531 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
8532 variables.
8533 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
8534 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
8535 (install-unwind_h): New target.
8536 (all): Depend on it.
8537 * config.host (unwind_header): New variable.
8538 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
8539 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
8540 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
8541 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
8542 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
8543 Set unwind_header.
8544 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
8545 Set unwind_header.
8546 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
8547 arm*-*-eabi*.
8548 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
8549 Set unwind_header.
8550 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
8551 (ia64*-*-freebsd*): Likewise.
8552 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
8553 tmake_file.
8554 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
8555 $with_system_libunwind.
8556 (ia64*-*-hpux*): Set tmake_file.
8557 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
8558 (picochip-*-*): Set tmake_file.
8559 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
8560 md_unwind_header.
8561 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8562 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8563 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
8564 (xtensa*-*-elf*): Set tmake_file.
8565 (xtensa*-*-linux*): Likewise.
8566 * configure.ac: Include ../config/unwind_ipinfo.m4.
8567 Call GCC_CHECK_UNWIND_GETIPINFO.
8568 Link unwind.h to $unwind_header.
8569 * configure: Regenerate.
8570 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
8571 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
8572 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
8573 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
8574 * config/unwind-dw2-fde-darwin.c: New file.
8575 * config/arm/libunwind.S, config/arm/pr-support.c,
8576 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
8577 config/arm/unwind-arm.h,: New files.
8578 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
8579 config/ia64/t-eh-ia64, config/ia64/t-glibc,
8580 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
8581 config/ia64/t-vms, config/ia64/unwind-ia64.c,
8582 config/ia64/unwind-ia64.h: New files.
8583 * config/picochip/t-picochip: New file.
8584 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
8585 files.
8586 * config/rs6000/t-darwin (LIB2ADDEH): Set.
8587 * config/s390/t-tpf (LIB2ADDEH): Remove.
8588 * config/t-darwin (LIB2ADDEH): Set.
8589 * config/t-eh-dw2-dip: New file.
8590 * config/t-libunwind, config/t-libunwind-elf: New files.
8591 * config/t-sol2 (LIB2ADDEH): Remove.
8592 * config/xtensa/t-xtensa: New file.
8593
40f2f11f
L
85942011-08-02 H.J. Lu <hongjiu.lu@intel.com>
8595
8596 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
8597 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
8598 long long to check rt_sigreturn syscall.
8599
bd15e32c
AM
86002011-08-02 Alan Modra <amodra@gmail.com>
8601
8602 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
8603 Restore for indirect call bcrtl from correct stack slot, and only
8604 if cfa+40 isn't valid.
8605
655b30bf
JB
86062011-08-01 Julian Brown <julian@codesourcery.com>
8607
8608 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
8609 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
8610 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
8611
247eb06f
JB
86122011-08-01 Julian Brown <julian@codesourcery.com>
8613
8614 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
8615 (libgcc-std.ver.in): Use above.
8616 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
8617 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
8618 throughout file.
8619 * config/t-fixedpoint-gnu-prefix: New file.
8620 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
8621 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
8622 instead of __PFX__.
8623
02a8fe00
L
86242011-07-28 H.J. Lu <hongjiu.lu@intel.com>
8625
8626 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
8627 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
8628 for x86-64. Properly check __x86_64__ and __LP64__.
8629
5fce9126
L
86302010-07-28 H.J. Lu <hongjiu.lu@intel.com>
8631
8632 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
8633 version.
8634 (_FP_WS_TYPE): Likewise.
8635 (_FP_I_TYPE): Likewise.
8636
2374a88a
AM
86372011-07-28 Alan Modra <amodra@gmail.com>
8638
8639 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
8640 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
8641 in a plt call stub. Do restore r2 if stopped on bctrl.
8642
e44dbbe1
RO
86432011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8644
8645 * config.host (i[3456x]86-*-netware*): Remove.
8646 * config/i386/netware-crt0.c, config/i386/t-nwld,
8647 config/i386/t-slibgcc-nwld: Remove.
8648
bcead286
BS
86492011-07-15 Bernd Schmidt <bernds@codesourcery.com>
8650
8651 * config.host: Handle tic6x-*-*.
8652 * config/c6x/c6x-abi.h: New file.
8653
b3fe1584
RO
86542011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8655
8656 * config/i386/crtprec.c: New file.
8657 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
8658 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
8659 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
8660 (x86_64-*-darwin*): Likewise.
8661 (i[34567]86-*-solaris2*: Likewise.
8662
35d8090d
RO
86632011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8664
8665 * config/alpha/crtfastmath.c: New file.
8666 * config/i386/crtfastmath.c: New file.
8667 * config/ia64/crtfastmath.c: New file.
8668 * config/mips/crtfastmath.c: New file.
8669 * config/sparc/crtfastmath.c: New file.
8670
8671 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
8672 crtfastmath.c.
8673 Add -frandom-seed=gcc-crtfastmath.
8674 * config/alpha/t-crtfm: Remove.
8675 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
8676 * config/ia64/t-ia64 (crtfastmath.o): Remove.
8677
8678 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
8679 (alpha*-dec-osf5.1*): Likewise.
8680 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
8681 Add crtfastmath.o to extra_parts.
8682 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
8683 Add crtfastmath.o to extra_parts.
8684 (x86_64-*-darwin*): Likewise.
8685 (x86_64-*-mingw*): Likewise.
8686 (ia64*-*-elf*): Add t-crtfm to tmake_file.
8687 (ia64*-*-freebsd*): Likewise.
8688 (ia64*-*-linux*): Likewise.
8689 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
8690 Add crtfastmath.o to extra_parts.
8691
e141542e
RO
86922011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8693
8694 * config/darwin-crt3.o: New file.
8695 * config/rs6000/darwin-crt2.c: New file.
8696 * config/t-darwin: New file.
8697 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
8698 (crt2.o): New rule.
8699 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
8700 (powerpc-*-darwin*): Add crt2.o to extra_parts.
8701 (powerpc64-*-darwin*): Likewise.
8702
2d1efe2d
RO
87032011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8704
8705 * config/i386/netware-crt0.c: New file.
8706 * config/i386/t-nwld: Rename to ...
8707 * config/i386/t-slibgcc-nwld: ... this.
8708 * config/i386/t-nwld: New file.
8709 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
8710 tmake_file.
8711 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
8712 extra_parts.
8713
4a8bb046
RO
87142011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8715
8716 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
8717 i386/t-crtstuff.
8718 * configure: Regenerate.
8719
2d8d5935
RO
87202011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8721
8722 * dfp-bit.c, dfp-bit.h: New files.
8723 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
8724 variables.
8725 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
8726 ($(d64pbit-o)): Likewise.
8727 ($(d128pbit-o)): Likewise.
8728 * config/t-dfprules: New file.
8729 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
8730 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
8731 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
8732 (x86_64-*-linux*): Likewise.
8733 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
8734 (i[34567]86-*-cygwin*): Likewise.
8735 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
8736 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
8737
2c50b2c3
RO
87382011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8739
8740 * Makfile.in (LIBGCOV): New variable.
8741 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
8742 * libgcov.c: New file.
8743
a039d7c2
RO
87442011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8745
8746 * fixed-bit.c, fixed-bit.h: New files.
8747 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
8748 refer to fixed-bit.c.
8749
1e4b2746
JM
87502011-07-07 Joseph Myers <joseph@codesourcery.com>
8751
8752 * config.host (*local*): Remove.
8753
fbdd5d87
RO
87542011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8755
8756 PR target/39150
8757 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
8758 like i?86-*-solaris2.1[0-9]*.
8759 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
8760 * configure.ac (i?86-*-solaris2*): Likewise.
8761 * configure: Regenerate.
8762
9e7714f4
TS
87632011-07-06 Thomas Schwinge <thomas@schwinge.name>
8764
8765 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
8766 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
8767 md_unwind_header by splitting out of...
8768 (i[34567]86-*-linux*): ... this.
8769 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
8770 Remove md_unwind_header by splitting out of...
8771 (x86_64-*-linux*): ... this.
8772
6dab9931
GJL
87732011-07-04 Georg-Johann Lay <avr@gjlay.de>
8774
8775 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
8776
4be46d19
NC
87772011-06-28 Nick Clifton <nickc@redhat.com>
8778
8779 * config.host: Recognize all V850 variants.
8780
1da9434b
UB
87812011-06-22 Uros Bizjak <ubizjak@gmail.com>
8782
8783 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
8784
e4d48a4d
RO
87852011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8786
8787 * shared-object.mk (c_flags-$o): Save c_flags.
8788 ($(base)$(objext)): Use it.
8789 ($(base)_s$(objext)): Likewise.
8790
3801c801
BS
87912011-06-21 Bernd Schmidt <bernds@codesourcery.com>
8792
8793 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
8794 * libgcc-std.ver.in (GCC_4.7.0): New section.
8795
0ad8bb3b 87962011-06-16 Georg-Johann Lay <avr@gjlay.de>
1da9434b 8797
0ad8bb3b
GJL
8798 PR target/49313
8799 PR target/29524
8800 * config/avr/t-avr: Fix line endings.
8801 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
8802 _parityXX2.
8803
ea963999
OH
88042011-06-14 Olivier Hainque <hainque@adacore.com>
8805 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8806
8807 * config/mips/irix6-unwind.h: New file.
8808 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
8809
b11b0904
EB
88102011-06-10 Eric Botcazou <ebotcazou@adacore.com>
8811
8812 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
8813 (sparc64_fallback_frame_state): Use it.
8814 (sparc64_frob_update_context): Further adjust context.
8815 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
8816 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
8817 * config/sparc/sol2-cn.S: Likewise.
8818
10e48e39
RO
88192011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8820
8821 * enable-execute-stack-empty.c: New file.
8822 * enable-execute-stack-mprotect.c: New file.
8823 * config/i386/enable-execute-stack-mingw32.c: New file.
8824 * config.host (enable_execute_stack): New variable.
8825 Select appropriate variants.
8826 * configure.ac: Link enable-execute-stack.c to
8827 $enable_execute_stack.
8828 * configure: Regenerate.
8829 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
8830 (lib2funcs): Remove _enable_execute_stack.
8831
10c4cabc
DM
88322011-06-09 David S. Miller <davem@davemloft.net>
8833 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8834
8835 * config.host (sparc-*-linux*): Correct md_unwind_header
8836 filename.
8837 (s390x-ibm-tpf*): Fix typo.
8838
aa4203e7
RO
88392011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8840
8841 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
8842 Add crtfastmath.o to extra_parts.
8843 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
8844 mips/t-crtfm.
8845 * config/mips/t-crtfm: Remove.
8846
0defd786
JDA
88472011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
8848
8849 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
8850
82f247af
KK
88512011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
8852
8853 * config.host (sh*-*-linux*): Fix typo.
8854
58cd1d70
RO
88552011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8856
8857 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
8858 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
8859 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
8860 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
8861 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
8862 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
8863 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
8864 Wrap in !__MINGW64__.
8865 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
8866 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
8867 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
8868 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
8869 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
8870 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
8871 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
8872 Wrap in !__LP64__.
8873 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
8874 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
8875 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
8876 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
8877 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
8878 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
8879 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
8880 * config/no-unwind.h: New file.
8881 * config.host (md_unwind_header): Document.
8882 Define.
8883 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
8884 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
8885 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
8886 hppa[12]*-*-hpux11*): Set md_unwind_header.
8887 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
8888 Set md_unwind_header.
8889 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
8890 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
8891 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
8892 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
8893 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
8894 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
8895 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
8896 md_unwind_header.
8897 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
8898 * configure: Regenerate.
8899
737346fa
RO
89002011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8901
8902 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
8903 Set tmake_file, extra_parts.
8904 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
8905 Remove O32 support.
8906 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
8907 Remove O32 support.
8908 * config/mips/t-irix6: New file.
8909 * config/mips/t-slibgcc-irix: New file.
8910
c192cee6
RO
89112011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8912
8913 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
8914 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
8915
ee33b5f0
RO
89162011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8917
8918 * configure.ac (target_thread_file): Determine thread model.
8919 * configure: Regenerate.
8920 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
8921 * config/alpha/t-alpha: New file.
8922 * config/alpha/t-crtfm: Use $<.
8923 * config/alpha/t-ieee: New file.
8924 * config/alpha/t-osf-pthread: New file.
8925 * config/alpha/t-slibgcc-osf: New file.
8926 * config/alpha/libgcc-osf5.ver: New file.
8927
0699e415
RO
89282011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8929
8930 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
8931 tmake_file.
8932 Add crtfastmath.o to extra_parts.
8933
a3fab9c2
RO
89342011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8935
8936 * config/gmon-sol2.c: Reindent.
8937 Cleanup comments.
8938 Remove, correct casts.
8939 Use STDERR_FILENO, NULL.
8940 (BASEADDRESS): Remove.
8941 (minbrk): Remove.
8942 (errno, sbrk): Remove declarations.
8943 (monstartup) [hp300]: Remove.
8944 (mcount): Remove.
8945
ca24c5ad
RO
89462011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8947
8948 * Makefile.in (cpu_type): Define.
8949 * config.host (i[34567]86-*-rtems*): Handle it.
8950 (i[34567]86-*-solaris2*): Move body ...
8951 (*-*-solaris2*): ... here.
8952 New case, generalize.
8953 (sparc-*-elf*): Handle it.
8954 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
8955 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
8956 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
8957 Fold into ...
8958 (sparc*-*-solaris2*): ... this.
8959 New case.
8960 (sparc64-*-elf*): Handle it.
8961 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
8962 Merge ../gcc/config/i386/gmon-sol2.c.
8963 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
8964 Use C comments.
8965 Merge ../gcc/config/i386/sol2-gc1.asm.
8966 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
8967 Use C comments.
8968 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
8969 Use C comments.
8970 * config/i386/t-crtfm (crtfastmath.o): Use $<.
8971 * config/i386/t-crtstuff: New file.
8972 * config/i386/t-softfp: New file.
8973 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
8974 $(T)crti.o, $(T)crtn.o): Remove.
8975 (gcrt1.o): New rule.
8976 (TARGET_LIBGCC2_CFLAGS): Remove.
8977 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
8978 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
8979 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
8980 * config/sparc/t-sol2: New file.
8981 * config/sparc/t-crtfm: Move to ...
8982 * config/t-crtfm: ... this.
8983 Use $(cpu_type), $<.
8984 * config/t-crtin: New file.
8985 * config/sparc/t-softfp: New file.
8986 * config/sparc/t-softmul: New file.
8987 * config/t-rtems: New file.
8988 * config/t-slibgcc: New file.
8989 * config/t-slibgcc-elf-ver: New file.
8990 * config/t-slibgcc-gld: New file.
8991 * config/t-slibgcc-sld: New file.
8992 * config/t-sol2: New file.
8993 * configure.ac: Include ../config/lib-ld.m4.
8994 Call AC_LIB_PROG_LD_GNU.
8995 Substitute cpu_type.
8996 * configure: Regenerate.
8997
ad5f3d7b
BS
89982011-05-27 Bernd Schmidt <bernds@codesourcery.com>
8999
9000 PR bootstrap/49173
9001 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
9002 libgcc-std.ver in the build directory.
9003 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
9004 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
9005
cdbf4541
BS
90062011-05-25 Bernd Schmidt <bernds@codesourcery.com>
9007
9008 * libgcc-std.ver.in: New file.
9009 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
9010 variables.
9011 (libgcc-std.ver): New rule.
9012 * config/t-gnu-prefix: New file.
9013
c8028650
RO
90142011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9015
9016 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
9017
4a68b4ca
JM
90182011-05-10 Joseph Myers <joseph@codesourcery.com>
9019
9020 * config/i386/darwin-lib.h: New file.
9021
80cf2e08
JM
90222011-05-10 Joseph Myers <joseph@codesourcery.com>
9023
9024 * config/arm/symbian-lib.h: New.
9025
a3330c9d
CD
90262011-05-04 Chris Demetriou <cgd@google.com>
9027
9028 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
9029 (__x86.get_pc_thunk.bx): ...this.
9030 (__morestack): Adjust for rename, remove undef of __i686.
9031
6ace0756
CD
90322011-05-03 Chris Demetriou <cgd@google.com>
9033
9034 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
9035
ebb9f8b0
JM
90362011-03-22 Joseph Myers <joseph@codesourcery.com>
9037
9038 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
9039 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
9040 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
9041 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
9042 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
9043 Remove cases.
9044
9cfa1499
AT
90452011-03-14 Andreas Tobler <andreast@fgznet.ch>
9046
9047 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
9048 Adjust copyright year.
9049
457186f6
ILT
90502011-03-07 Ian Lance Taylor <iant@google.com>
9051
9052 * generic-morestack.c (__splitstack_find): Adjust returned stack
9053 pointer to include all registers pushed by __morestack.
9054
58c741a6
DK
90552011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
9056
9057 PR target/40125
9058 * configure.ac: Call ACX_NONCANONICAL_TARGET.
9059 (toolexecdir): Calculate and AC_SUBST.
9060 (toolexeclibdir): Likewise.
9061 * Makefile.in (target_noncanonical): Import.
9062 (toolexecdir): Likewise.
9063 (toolexeclibdir): Likewise.
9064 * configure: Regenerate.
9065
26716c44
NF
90662010-12-13 Nathan Froyd <froydnj@codesourcery.com>
9067
9068 PR target/46040
9069 * config/arm/bpabi.h: Rename to...
9070 * config/arm/bpabi-lib.h: ...this.
9071
b595b1a1
RO
90722010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9073
9074 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
9075 appropriate.
9076 * configure: Regenerate.
9077
a3abe41c
NF
90782010-11-24 Nathan Froyd <froydnj@codesourcery.com>
9079
9080 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
9081 __FLOAT_WORD_ORDER__.
9082 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
9083 Delete.
9084
455c8f48
RW
90852010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9086
9087 PR other/46202
9088 * Makefile.in (install-strip): New phony target.
9089
f3824a8b
ILT
90902010-11-07 Ian Lance Taylor <iant@google.com>
9091
9092 PR target/46089
9093 * config/i386/morestack.S (__morestack_large_model): New
9094 function.
9095
18ed6ee4
NF
90962010-10-23 Nathan Froyd <froydnj@codesourcery.com>
9097
9098 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
9099 Delete.
9100 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
9101
8ac7fdcb
NF
91022010-10-14 Nathan Froyd <froydnj@codesourcery.com>
9103
9104 * config/arm/bpabi.h: New file.
9105 * config/frv/frv-abi.h: New file.
9106
cdb388c2
ILT
91072010-10-01 Ian Lance Taylor <iant@google.com>
9108
9109 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
9110 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
9111
ef7c141c
L
91122010-10-01 H.J. Lu <hongjiu.lu@intel.com>
9113
9114 PR target/45858
9115 * config.host: Add the missing `$'.
9116
80920132
ME
91172010-09-30 Michael Eager <eager@eagercon.com>
9118
9119 * config.host: Add microblaze*-*-*.
9120 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
9121 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
9122 udivsi3.asm,umodsi3.asm}: New.
9123
6dace308
ILT
91242010-09-28 Ian Lance Taylor <iant@google.com>
9125
9126 * configure.ac: Adjust CFI test to test assembler directly rather
9127 than checking gcc preprocessor macro.
9128 * configure: Rebuild.
9129
b6110d6d
ILT
91302010-09-27 Ian Lance Taylor <iant@google.com>
9131
9132 * configure.ac: Test whether assembler supports CFI directives.
9133 * config.host: Only add t-stack and i386/t-stack-i386 to
9134 tmake_file if libgcc_cv_cfi is "yes".
9135 * configure: Rebuild.
9136
7458026b
ILT
91372010-09-27 Ian Lance Taylor <iant@google.com>
9138
9139 * generic-morestack.h: New file.
9140 * generic-morestack.c: New file.
9141 * generic-morestack-thread.c: New file.
9142 * config/i386/morestack.S: New file.
9143 * config/t-stack: New file.
9144 * config/i386/t-stack-i386: New file.
9145 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
9146 i386/t-stack-i386 to tmake_file.
9147
5b50fc0c
IS
91482010-09-21 Iain Sandoe <iains@gcc.gnu.org>
9149
9150 * Makefile.in (libgcc-extra-parts): Check for static archives and
9151 invoke ranlib after installing them.
9152 (gcc-extra-parts): Likewise.
9153 (install-leaf): Likewise.
9154
b93cf342
L
91552010-09-14 H.J. Lu <hongjiu.lu@intel.com>
9156
9157 * configure: Regenerated.
9158
996b42ef
KT
91592010-09-10 Kai Tietz <kai.tietz@onevision.com>
9160
b93cf342 9161 * configure: Regenerated.
996b42ef 9162
be1c764e
GP
91632010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
9164 Andrew Pinski <pinskia@gmail.com>
9165
1da9434b 9166 PR target/40959
be1c764e
GP
9167 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
9168
cc0ae0ca
L
91692010-09-06 H.J. Lu <hongjiu.lu@intel.com>
9170
9171 PR target/45524
9172 * configure: Regenerated.
9173
84f47d20
AS
91742010-09-06 Andreas Schwab <schwab@redhat.com>
9175
9176 * configure: Regenerate.
9177
4159fb8d
UB
91782010-09-03 Uros Bizjak <ubizjak@gmail.com>
9179
9180 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
9181 64bit targets.
9182 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
9183 for 64bit targets.
9184
0df8fcc8
UB
91852010-09-03 Uros Bizjak <ubizjak@gmail.com>
9186 Iain Sandoe <iains@gcc.gnu.org>
9187
9188 PR target/45476
9189 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
9190 LIB2FUNCS_EXCLUDE functions.
9191
3c39bca6
AK
91922010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9193
9194 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
9195 Include dfp.m4.
9196 * configure: Regenerate.
9197
d78552bd
UB
91982010-09-01 Uros Bizjak <ubizjak@gmail.com>
9199
9200 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
9201 i386/t-freebsd to tmake_file.
9202 * config/i386/t-freebsd: New file.
9203 * config/i386/libgcc-bsd.ver: New file.
9204
c5b79d4e
NF
92052010-07-23 Nathan Froyd <froydnj@codesourcery.com>
9206
9207 * config.host (powerpc*-eabispe*): Set tmake_file.
9208 (powerpc*-eabi*): Likewise.
9209 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
9210 crtbeginS, crtendS, crtbeginT.
9211
48b09a92
KH
92122010-06-12 Kazu Hirata <kazu@codesourcery.com>
9213
9214 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
9215 to tmake_file. Add crtfastmath.o to extra_parts.
9216 * config/mips/t-crtfm: New.
9217
7d296953 92182010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
a4389204
JS
9219
9220 * config.host (sparc64-*-rtems*): New target.
9221
ed104137
RO
92222010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9223
9224 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
9225 assembler syntax.
9226
3f56ef8b
TS
92272010-04-15 Thomas Schwinge <tschwinge@gnu.org>
9228
9229 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
9230
8c200350
RO
92312010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9232
9233 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
9234 alpha-dec-osf5.0* support.
9235
7d296953 92362010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
c1b14424
RC
9237
9238 * config.host: Add lm32-*-rtems*.
9239
f128db92 92402010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7d296953 9241 Uros Bizjak <ubizjak@gmail.com>
f128db92
RO
9242
9243 PR target/39048
9244 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
9245 like other remaining 32-bit x86 OSes.
9246 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
9247 assembler syntax.
9248 * config/i386/libgcc-sol2.ver: New file.
9249 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
9250
7d296953 92512010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
368fabd5
JH
9252
9253 PR c/43553
9254 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
9255 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
9256 is used and substitute set_use_emutls.
9257 * configure: Regenerated.
9258
15baf7f8
TG
92592010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
9260
9261 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
9262
7f5441df
RO
92632010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9264
9265 PR target/38085
9266 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
9267 MULTILIB_CFLAGS.
9268 ($(T)gcrt1.o): Likewise.
9269 ($(T)crt1.o): Likewise.
9270 ($(T)crti.o): Likewise.
9271 ($(T)crtn.o): Likewise.
9272
ef74edbd
RW
92732010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9274
9275 PR other/42980
9276 * Makefile.in (install): Use $(MAKE) string in rule, for
9277 parallel make.
9278
e7c914db
HPN
92792010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
9280
9281 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
9282 * config/mmix/t-mmix: New file.
9283 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
9284
1bcb71c4
JH
92852010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
9286
9287 PR java/41991
9288 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
9289 SHLIB_MAPFILES.
9290
e6e50811
AG
92912010-01-04 Anthony Green <green@moxielogic.com>
9292
9293 * config/moxie/crti.asm, config/moxie/crtn.asm,
9294 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
9295 config/moxie/t-moxie: New files.
9296 * config.host: Add t-moxie-softfp reference.
9297
7d296953 92982009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
ca8520ad
IS
9299
9300 PR other/39888
9301 * config/t-slibgcc-darwin: Fix embedded rpaths for
9302 --enable-version-specific-runtime-libs, build extension stub
9303 libs exposing features available from current libgcc_s.
9304
7d296953 93052009-11-11 Jon Beniston <jon@beniston.com>
aa4945c1 9306
d78552bd
UB
9307 * config.host: Add lm32 targets.
9308 * config/lm32: New directory.
9309 * config/lm32/libgcc_lm32.h: New file.
9310 * config/lm32/_mulsi3.c: New file.
9311 * config/lm32/_udivmodsi4.c: New file.
9312 * config/lm32/_divsi3.c: New file.
9313 * config/lm32/_modsi3.c: New file.
9314 * config/lm32/_udivsi3.c: New file.
9315 * config/lm32/_umodsi3.c: New file.
9316 * config/lm32/_lshrsi3.S: New file.
9317 * config/lm32/_ashrsi3.S: New file.
9318 * config/lm32/_ashlsi3.S: New file.
9319 * config/lm32/crti.S: New file.
9320 * config/lm32/crtn.S: New file.
9321 * config/lm32/t-lm32: New file.
9322 * config/lm32/t-elf: New file.
9323 * config/lm32/t-uclinux: New file.
aa4945c1 9324
65a324b4
NC
93252009-10-26 Nick Clifton <nickc@redhat.com>
9326
9327 * config.host: Add support for RX target.
9328 * config/rx: New directory.
9329 * config/rx/rx-abi-functions.c: New file. Supplementary
9330 functions for libgcc to support the RX ABI.
9331 * config/rx/rx-abi.h: New file. Supplementary header file for
9332 libgcc RX ABI functions.
9333 * config/rx/t-rx: New file: Makefile fragment for building
9334 libgcc for the RX.
9335
dfb3b0e3
UB
93362009-10-09 Uros Bizjak <ubizjak@gmail.com>
9337
9338 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
9339 constraint of y0 to "g".
9340
81dd9fd7
AK
93412009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9342
9343 * config.host: Include the s390 makefile fragments.
9344 * config/s390/32/_fixdfdi.c: New file.
9345 * config/s390/32/_fixsfdi.c: New file.
9346 * config/s390/32/_fixtfdi.c: New file.
9347 * config/s390/32/_fixunsdfdi.c: New file.
9348 * config/s390/32/_fixunssfdi.c: New file.
9349 * config/s390/32/_fixunstfdi.c: New file.
9350 * config/s390/32/t-floattodi: New file.
9351 * config/s390/libgcc-glibc.ver: New file.
9352 * config/s390/t-crtstuff: New file.
9353 * config/s390/t-linux: New file.
9354 * config/s390/t-tpf: New file.
9355
df58e648
RW
93562009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9357
9358 * configure.ac (AC_PREREQ): Bump to 2.64.
9359
79052be3
KK
93602009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
9361
9362 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
9363
5213506e
RW
93642009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9365
9366 * configure: Regenerate.
9367
a9a25daa
DR
93682009-08-09 Douglas B Rupp <rupp@gnat.com>
9369
9370 * config.host (ia64-hp-*vms*): New target.
9371 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
9372 with ia64-hp-*vms*.
9373
6efbd53f
RW
93742009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9375
9376 * configure.ac: Add snippet for maintainer-mode.
9377 * configure: Regenerate.
9378 * Makefile.in (AUTOCONF, configure_deps): New variables.
9379 ($(srcdir)/configure)): New rule, active only with maintainer
9380 mode turned on.
9381
7acf4da6
DD
93822009-06-23 DJ Delorie <dj@redhat.com>
9383
9384 Add MeP port.
9385 * config.host: Add mep support.
9386
54f549af
KT
93872009-06-22 Kai Tietz <kai.tietz@onevision.com>
9388
34481f28 9389 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 9390 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
34481f28
UB
9391
9392 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
9393 for mingw targets.
54f549af
KT
9394 * config/i386/64/_multc3.c: Likewise.
9395 * config/i386/64/_powitf2.c: Likewise.
9396 * config/i386/64/eqtf2.c: Likewise.
9397 * config/i386/64/getf2.c: Likewise.
9398 * config/i386/64/letf2.c: Likewise.
9399 * config/i386/64/letf2.c: Likewise.
34481f28
UB
9400 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
9401 unsigned long long for x64 mingw targets.
9402 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
9403 (_FP_I_TYPE): Define as long long for x64 mingw target.
54f549af 9404
fea96e25
MR
94052009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
9406
9407 * config.host (vax-*-linux*): New.
9408
cceb575c
AG
94092009-05-31 Anthony Green <green@moxielogic.com>
9410
9411 * config.host: Add moxie support.
9412 * config/moxie/t-moxie: New file.
9413
7d296953 94142009-05-29 David Billinghurst <billingd@gcc.gnu.org>
e997fb9c
DB
9415
9416 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 9417 t-softfp to tmake_file for i[34567]86-*-cygwin*.
e997fb9c 9418
532bfb0a
AJ
94192009-04-17 Aurelien Jarno <aurelien@aurel32.net>
9420
9421 * config.host: Add i386/${host_address}/t-fprules-softfp to
9422 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
9423
748086b7
JJ
94242009-04-09 Nick Clifton <nickc@redhat.com>
9425
9426 * config/ia64/tf-signs.c: Change copyright header to refer to
9427 version 3 of the GNU General Public License with version 3.1
9428 of the GCC Runtime Library Exception and to point readers at
9429 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
9430 web page.
9431 * config/i386/32/tf-signs.c: Likewise.
9432 * config/libbid/_addsub_dd.c: Likewise.
9433 * config/libbid/_addsub_sd.c: Likewise.
9434 * config/libbid/_addsub_td.c: Likewise.
9435 * config/libbid/_dd_to_df.c: Likewise.
9436 * config/libbid/_dd_to_di.c: Likewise.
9437 * config/libbid/_dd_to_sd.c: Likewise.
9438 * config/libbid/_dd_to_sf.c: Likewise.
9439 * config/libbid/_dd_to_si.c: Likewise.
9440 * config/libbid/_dd_to_td.c: Likewise.
9441 * config/libbid/_dd_to_tf.c: Likewise.
9442 * config/libbid/_dd_to_udi.c: Likewise.
9443 * config/libbid/_dd_to_usi.c: Likewise.
9444 * config/libbid/_dd_to_xf.c: Likewise.
9445 * config/libbid/_df_to_dd.c: Likewise.
9446 * config/libbid/_df_to_sd.c: Likewise.
9447 * config/libbid/_df_to_td.c: Likewise.
9448 * config/libbid/_di_to_dd.c: Likewise.
9449 * config/libbid/_di_to_sd.c: Likewise.
9450 * config/libbid/_di_to_td.c: Likewise.
9451 * config/libbid/_div_dd.c: Likewise.
9452 * config/libbid/_div_sd.c: Likewise.
9453 * config/libbid/_div_td.c: Likewise.
9454 * config/libbid/_eq_dd.c: Likewise.
9455 * config/libbid/_eq_sd.c: Likewise.
9456 * config/libbid/_eq_td.c: Likewise.
9457 * config/libbid/_ge_dd.c: Likewise.
9458 * config/libbid/_ge_sd.c: Likewise.
9459 * config/libbid/_ge_td.c: Likewise.
9460 * config/libbid/_gt_dd.c: Likewise.
9461 * config/libbid/_gt_sd.c: Likewise.
9462 * config/libbid/_gt_td.c: Likewise.
9463 * config/libbid/_isinfd128.c: Likewise.
9464 * config/libbid/_isinfd32.c: Likewise.
9465 * config/libbid/_isinfd64.c: Likewise.
9466 * config/libbid/_le_dd.c: Likewise.
9467 * config/libbid/_le_sd.c: Likewise.
9468 * config/libbid/_le_td.c: Likewise.
9469 * config/libbid/_lt_dd.c: Likewise.
9470 * config/libbid/_lt_sd.c: Likewise.
9471 * config/libbid/_lt_td.c: Likewise.
9472 * config/libbid/_mul_dd.c: Likewise.
9473 * config/libbid/_mul_sd.c: Likewise.
9474 * config/libbid/_mul_td.c: Likewise.
9475 * config/libbid/_ne_dd.c: Likewise.
9476 * config/libbid/_ne_sd.c: Likewise.
9477 * config/libbid/_ne_td.c: Likewise.
9478 * config/libbid/_sd_to_dd.c: Likewise.
9479 * config/libbid/_sd_to_df.c: Likewise.
9480 * config/libbid/_sd_to_di.c: Likewise.
9481 * config/libbid/_sd_to_sf.c: Likewise.
9482 * config/libbid/_sd_to_si.c: Likewise.
9483 * config/libbid/_sd_to_td.c: Likewise.
9484 * config/libbid/_sd_to_tf.c: Likewise.
9485 * config/libbid/_sd_to_udi.c: Likewise.
9486 * config/libbid/_sd_to_usi.c: Likewise.
9487 * config/libbid/_sd_to_xf.c: Likewise.
9488 * config/libbid/_sf_to_dd.c: Likewise.
9489 * config/libbid/_sf_to_sd.c: Likewise.
9490 * config/libbid/_sf_to_td.c: Likewise.
9491 * config/libbid/_si_to_dd.c: Likewise.
9492 * config/libbid/_si_to_sd.c: Likewise.
9493 * config/libbid/_si_to_td.c: Likewise.
9494 * config/libbid/_td_to_dd.c: Likewise.
9495 * config/libbid/_td_to_df.c: Likewise.
9496 * config/libbid/_td_to_di.c: Likewise.
9497 * config/libbid/_td_to_sd.c: Likewise.
9498 * config/libbid/_td_to_sf.c: Likewise.
9499 * config/libbid/_td_to_si.c: Likewise.
9500 * config/libbid/_td_to_tf.c: Likewise.
9501 * config/libbid/_td_to_udi.c: Likewise.
9502 * config/libbid/_td_to_usi.c: Likewise.
9503 * config/libbid/_td_to_xf.c: Likewise.
9504 * config/libbid/_tf_to_dd.c: Likewise.
9505 * config/libbid/_tf_to_sd.c: Likewise.
9506 * config/libbid/_tf_to_td.c: Likewise.
9507 * config/libbid/_udi_to_dd.c: Likewise.
9508 * config/libbid/_udi_to_sd.c: Likewise.
9509 * config/libbid/_udi_to_td.c: Likewise.
9510 * config/libbid/_unord_dd.c: Likewise.
9511 * config/libbid/_unord_sd.c: Likewise.
9512 * config/libbid/_unord_td.c: Likewise.
9513 * config/libbid/_usi_to_dd.c: Likewise.
9514 * config/libbid/_usi_to_sd.c: Likewise.
9515 * config/libbid/_usi_to_td.c: Likewise.
9516 * config/libbid/_xf_to_dd.c: Likewise.
9517 * config/libbid/_xf_to_sd.c: Likewise.
9518 * config/libbid/_xf_to_td.c: Likewise.
9519 * config/libbid/bid128.c: Likewise.
9520 * config/libbid/bid128_2_str.h: Likewise.
9521 * config/libbid/bid128_2_str_macros.h: Likewise.
9522 * config/libbid/bid128_2_str_tables.c: Likewise.
9523 * config/libbid/bid128_add.c: Likewise.
9524 * config/libbid/bid128_compare.c: Likewise.
9525 * config/libbid/bid128_div.c: Likewise.
9526 * config/libbid/bid128_fma.c: Likewise.
9527 * config/libbid/bid128_logb.c: Likewise.
9528 * config/libbid/bid128_minmax.c: Likewise.
9529 * config/libbid/bid128_mul.c: Likewise.
9530 * config/libbid/bid128_next.c: Likewise.
9531 * config/libbid/bid128_noncomp.c: Likewise.
9532 * config/libbid/bid128_quantize.c: Likewise.
9533 * config/libbid/bid128_rem.c: Likewise.
9534 * config/libbid/bid128_round_integral.c: Likewise.
9535 * config/libbid/bid128_scalb.c: Likewise.
9536 * config/libbid/bid128_sqrt.c: Likewise.
9537 * config/libbid/bid128_string.c: Likewise.
9538 * config/libbid/bid128_to_int16.c: Likewise.
9539 * config/libbid/bid128_to_int32.c: Likewise.
9540 * config/libbid/bid128_to_int64.c: Likewise.
9541 * config/libbid/bid128_to_int8.c: Likewise.
9542 * config/libbid/bid128_to_uint16.c: Likewise.
9543 * config/libbid/bid128_to_uint32.c: Likewise.
9544 * config/libbid/bid128_to_uint64.c: Likewise.
9545 * config/libbid/bid128_to_uint8.c: Likewise.
9546 * config/libbid/bid32_to_bid128.c: Likewise.
9547 * config/libbid/bid32_to_bid64.c: Likewise.
9548 * config/libbid/bid64_add.c: Likewise.
9549 * config/libbid/bid64_compare.c: Likewise.
9550 * config/libbid/bid64_div.c: Likewise.
9551 * config/libbid/bid64_fma.c: Likewise.
9552 * config/libbid/bid64_logb.c: Likewise.
9553 * config/libbid/bid64_minmax.c: Likewise.
9554 * config/libbid/bid64_mul.c: Likewise.
9555 * config/libbid/bid64_next.c: Likewise.
9556 * config/libbid/bid64_noncomp.c: Likewise.
9557 * config/libbid/bid64_quantize.c: Likewise.
9558 * config/libbid/bid64_rem.c: Likewise.
9559 * config/libbid/bid64_round_integral.c: Likewise.
9560 * config/libbid/bid64_scalb.c: Likewise.
9561 * config/libbid/bid64_sqrt.c: Likewise.
9562 * config/libbid/bid64_string.c: Likewise.
9563 * config/libbid/bid64_to_bid128.c: Likewise.
9564 * config/libbid/bid64_to_int16.c: Likewise.
9565 * config/libbid/bid64_to_int32.c: Likewise.
9566 * config/libbid/bid64_to_int64.c: Likewise.
9567 * config/libbid/bid64_to_int8.c: Likewise.
9568 * config/libbid/bid64_to_uint16.c: Likewise.
9569 * config/libbid/bid64_to_uint32.c: Likewise.
9570 * config/libbid/bid64_to_uint64.c: Likewise.
9571 * config/libbid/bid64_to_uint8.c: Likewise.
9572 * config/libbid/bid_b2d.h: Likewise.
9573 * config/libbid/bid_binarydecimal.c: Likewise.
9574 * config/libbid/bid_conf.h: Likewise.
9575 * config/libbid/bid_convert_data.c: Likewise.
9576 * config/libbid/bid_decimal_data.c: Likewise.
9577 * config/libbid/bid_decimal_globals.c: Likewise.
9578 * config/libbid/bid_div_macros.h: Likewise.
9579 * config/libbid/bid_dpd.c: Likewise.
9580 * config/libbid/bid_flag_operations.c: Likewise.
9581 * config/libbid/bid_from_int.c: Likewise.
9582 * config/libbid/bid_functions.h: Likewise.
9583 * config/libbid/bid_gcc_intrinsics.h: Likewise.
9584 * config/libbid/bid_inline_add.h: Likewise.
9585 * config/libbid/bid_internal.h: Likewise.
9586 * config/libbid/bid_round.c: Likewise.
9587 * config/libbid/bid_sqrt_macros.h: Likewise.
9588
95892009-04-09 Jakub Jelinek <jakub@redhat.com>
9590
9591 * Makefile.in: Change copyright header to refer to version
9592 3 of the GNU General Public License and to point readers at the
9593 COPYING3 file and the FSF's license web page.
9594 * config.host: Likewise.
9595
633dd061
AM
95962009-04-07 Alan Modra <amodra@bigpond.net.au>
9597
9598 * config.host: Reorder and merge to match config.gcc change.
9599
457d1d00
AM
96002009-04-03 Alan Modra <amodra@bigpond.net.au>
9601
9602 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
9603
52c0e446
JM
96042009-03-28 Joseph Myers <joseph@codesourcery.com>
9605
9606 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
9607 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
9608 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
9609 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
9610
ba181049
UB
96112009-02-12 Uros Bizjak <ubizjak@gmail.com>
9612
9613 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
9614 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
9615
c252db20
L
96162009-02-12 H.J. Lu <hongjiu.lu@intel.com>
9617
ba181049
UB
9618 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
9619 ia64/t-softfp-compat to tmake_file.
c252db20
L
9620
9621 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
9622
9623 * config/ia64/__divxf3.asm: New.
9624 * config/ia64/_fixtfdi.asm: Likewise.
9625 * config/ia64/_fixunstfdi.asm: Likewise.
9626 * config/ia64/_floatditf.asm: Likewise.
9627 * config/ia64/t-fprules-softfp: Likewise.
9628 * config/ia64/t-softfp-compat: Likewise.
9629 * config/ia64/tf-signs.c: Likewise.
9630
c60535f9
BE
96312009-01-18 Ben Elliston <bje@au.ibm.com>
9632
9633 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
9634
ce16861e
BE
96352009-01-16 Ben Elliston <bje@au.ibm.com>
9636
9637 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
9638 to tmake_file.
9639
bcf4713b
BE
96402009-01-13 Ben Elliston <bje@au.ibm.com>
9641
9642 * config/t-softfp: New file.
9643 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
9644 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
9645
7d296953 96462009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
2042cb04
JS
9647
9648 * config.host: Add m32r*-*-rtems*.
9649
7d296953 96502008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
541ed00e
JS
9651
9652 * config.host: Add m32c*-*-rtems*.
9653
19523300
RO
96542008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9655
9656 PR bootstrap/33100
9657 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
9658 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
9659 * configure: Regenerate.
9660 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
9661 tmake_file here from gcc/config.gcc.
9662 Move extra_parts here from gcc/config.gcc.
9663 * config/i386/t-sol2: Move here from gcc/config/i386.
9664 Use gcc_srcdir instead of srcdir.
9665
0a4a51c7
AN
96662008-11-18 Adam Nemet <anemet@caviumnetworks.com>
9667
9668 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
9669 case.
9670
2a761e46
TS
96712008-11-09 Thomas Schwinge <tschwinge@gnu.org>
9672
9673 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
9674
c0451df7
TS
96752008-10-08 Thomas Schwinge <tschwinge@gnu.org>
9676
9677 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
9678
358da97e
HS
96792008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
9680
9681 Add picoChip port.
9682 * config.host: Add picochip-*-*.
9683
c660f132
BW
96842008-08-06 Bob Wilson <bob.wilson@acm.org>
9685
9686 * config.host: Match more processor names for Xtensa.
9687
d1349557
L
96882008-07-08 H.J. Lu <hongjiu.lu@intel.com>
9689
9690 * config/i386/64/t-softfp-compat: Update comments.
9691
dd7b73c0
L
96922008-07-07 H.J. Lu <hongjiu.lu@intel.com>
9693
9694 * config/i386/64/_divtc3-compat.c: Moved to ...
9695 * config/i386/64/_divtc3.c: Here.
9696
9697 * config/i386/64/_multc3-compat.c: Moved to ...
9698 * config/i386/64/_multc3.c: Here.
9699
9700 * config/i386/64/_powitf2-compat.c: Moved to ...
9701 * config/i386/64/_powitf2.c: Here.
9702
9703 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
9704 .c suffix instead of -compat.c.
9705
6e1fab3d
UB
97062008-07-05 Uros Bizjak <ubizjak@gmail.com>
9707
9708 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
9709 (_FP_MUL_MEAT_D): Ditto.
9710 (_FP_DIV_MEAT_S): Ditto.
9711 (_FP_DIV_MEAT_D): Ditto.
9712
f92518d7
RS
97132008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
9714
9715 * Makefile.in: Add support for __sync_* libgcc functions.
9716
d0aede14
L
97172008-07-03 H.J. Lu <hongjiu.lu@intel.com>
9718
9719 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
9720
c174f11c
L
97212008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9722
9723 PR boostrap/36702
9724 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
9725 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
9726
9727 * config/i386/64/t-fprules-softfp: Moved to ...
9728 * config/i386/64/t-softfp-compat: This. New.
9729
5f464fa2
UB
97302008-07-02 Uros Bizjak <ubizjak@gmail.com>
9731
9732 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
9733 Initialize f with 0.0.
9734
ff473280
L
97352008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9736
9737 PR target/36669
9738 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
9739
9740 * config/i386/64/_divtc3-compat.c: New.
9741 * config/i386/64/_multc3-compat.c: Likewise.
9742 * config/i386/64/_powitf2-compat.c: Likewise.
9743 * config/i386/64/eqtf2.c: Likewise.
9744 * config/i386/64/getf2.c: Likewise.
9745 * config/i386/64/letf2.c: Likewise.
9746 * config/i386/64/t-fprules-softfp: Likewise.
9747
97482008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9749
9750 * config.host: Add i386/${host_address}/t-fprules-softfp to
9751 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
dfb3b0e3 9752 i[34567]86-*-linux*, x86_64-*-linux*.
ff473280
L
9753
9754 * configure.ac: Set host_address to 64 or 32 for x86.
9755 * configure: Regenerated.
9756
9757 * Makefile.in (config.status): Also depend on
9758 $(srcdir)/config.host.
9759
9760 * config/i386/32/t-fprules-softfp: New.
9761 * config/i386/32/tf-signs.c: Likewise.
9762
9763 * config/i386/64/sfp-machine.h: New. Moved from gcc.
9764
97652008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9766 Uros Bizjak <ubizjak@gmail.com>
9767
9768 * config/i386/32/sfp-machine.h: New.
9769
30551d99
NF
97702008-06-26 Nathan Froyd <froydnj@codesourcery.com>
9771
9772 * config/rs6000/t-ppccomm: Remove rules that conflict with
9773 auto-generated rules.
9774
18c04407
RW
97752008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9776
9777 * configure.ac: sinclude override.m4.
9778 * configure: Regenerate.
9779
10fbe77a
BRF
97802008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
9781
9782 * configure: Regenerate.
9783
bc6d4c3f
JM
97842008-06-10 Joseph Myers <joseph@codesourcery.com>
9785
9786 * Makefile.in (DECNUMINC): Remove
9787 -I$(MULTIBUILDTOP)../../libdecnumber.
9788 * gstdint.h: New.
9789
cd985f66
JM
97902008-06-07 Joseph Myers <joseph@codesourcery.com>
9791
9792 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
9793 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
9794 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
9795 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
9796 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
9797 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
9798 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
9799 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
9800 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
9801 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
9802 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
9803 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
9804 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
9805 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
9806
93fea8d3
AL
98072008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
9808
9809 * config.host (sh2[lbe]*-*-linux*): Allow target.
9810
18724e30
NF
98112008-04-30 Nathan Froyd <froydnj@codesourcery.com>
9812
9813 * config/rs6000/t-ppccomm: Add build rules for new files.
9814 (LIB2ADD_ST): New variable.
9815
47583040
AH
98162008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
9817
9818 PR target/34210
9819 PR target/35508
9820 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
9821 * config/t-avr: New file. Build 16bit libgcc functions.
9822
cf8e67fe
JJ
98232008-03-02 Jakub Jelinek <jakub@redhat.com>
9824
9825 PR target/35401
9826 * config/t-slibgcc-darwin: Make install-leaf dependent on
9827 install-darwin-libgcc-stubs instead of install.
9828
8d8da227
JM
98292008-01-25 Joseph Myers <joseph@codesourcery.com>
9830
9831 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
9832 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
9833 sh-*-rtemscoff*): Remove cases.
9834
edbf8b16
RS
98352007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
9836
9837 * Makefile.in (all): Use install-leaf rather than install.
9838 (install): Split most of the rule into...
9839 (install-leaf): ...this new one.
9840
89deeaff
EK
98412007-12-19 Etsushi Kato <ek.kato@gmail.com>
9842 Paolo Bonzini <bonzini@gnu.org>
9843
9844 PR target/30572
5f464fa2
UB
9845 * Makefile.in: Use @shlib_slibdir@ substitution to get
9846 correct install name on darwin.
89deeaff 9847 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
dfb3b0e3 9848
4081d704
HPN
98492007-12-15 Hans-Peter Nilsson <hp@axis.com>
9850
9851 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
9852 cris-*-elf and cris-*-none.
9853 (crisv32-*-linux*): Similar, as cris-*-linux*.
9854
f43e89a3
RIL
98552007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
9856
9857 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
9858
b4e9c2c6
L
98592007-10-27 H.J. Lu <hongjiu.lu@intel.com>
9860
9861 PR regression/33926
9862 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
9863 * configure: Regenerated.
9864
b2a00c89
L
98652007-09-27 H.J. Lu <hongjiu.lu@intel.com>
9866
9867 * Makefile.in (dfp-filenames): Replace decimal_globals,
9868 decimal_data, binarydecimal and convert_data with
9869 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
9870 and bid_convert_data, respectively.
9871
8d2a9e0e
CF
98722007-09-17 Chao-ying Fu <fu@mips.com>
9873 Nigel Stephens <nigel@mips.com>
9874
9875 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
9876 * Makefile.in (fixed_point): Define.
9877 Check if fixed_point is yes to build support functions.
9878 * configure.ac: Check for fixed_point support.
9879 * configure: Regenerated.
9880 * gen-fixed.sh: New file to generate lists of fixed-point labels,
9881 funcs, modes, from, to.
9882
2b53935d
JJ
98832007-09-11 Janis Johnson <janis187@us.ibm.com
9884
9885 * Makefile.in (dfp-filenames): Add bid128_noncomp.
9886
2533577f
JJ
98872007-09-10 Janis Johnson <janis187@us.ibm.com>
9888
9889 * Makefile.in (dfp-filenames): Remove decUtility, add
9890 decDouble, decPacked, decQuad, decSingle.
9891
3ae3dbd6
HK
98922007-08-27 Hans Kester <hans.kester@ellips.nl>
9893
9894 * config.host : Add x86_64-elf target.
9895
22867d02
L
98962007-07-06 H.J. Lu <hongjiu.lu@intel.com>
9897
9898 * configure.ac (set_have_cc_tls): Add a missing =.
9899 * configure: Regenerated.
9900
6f461e76
L
99012007-07-06 H.J. Lu <hongjiu.lu@intel.com>
9902
9903 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
9904 and x86_64-*-linux*.
9905
9906 * config/t-tls: New file.
9907
dfb3b0e3 9908 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
6f461e76
L
9909
9910 * configure.ac: Include ../config/enable.m4 and
9911 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
9912 supports TLS and substitute set_have_cc_tls.
9913 * configure: Regenerated.
9914
200359e8
L
99152007-07-04 H.J. Lu <hongjiu.lu@intel.com>
9916
9917 * Makefile.in: Use libbid for DFP when BID is enabled.
9918
76f5e200
DS
99192007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
9920
9921 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
dfb3b0e3 9922 extra_parts. Add config/i386/t-cygming to tmake_file.
76f5e200
DS
9923 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
9924
9bd196f0 99252007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
200359e8 9926 Danny Smith <dannysmith@users.sourceforge.net>
9bd196f0
ZM
9927
9928 PR target/29498
9929 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
9930 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
9931 * config/i386/t-crtfm: Compile crtfastmath.o with
9932 -minline-all-stringops.
9933
1910440e
RS
99342007-05-10 Richard Sandiford <richard@codesourcery.com>
9935
9936 * config.host (sparc-wrs-vxworks): New target.
9937
7d33c31d
KH
99382007-04-14 Kazu Hirata <kazu@codesourcery.com>
9939
9940 * config.host: Recognize fido.
9941
96fccd0d
JJ
99422007-04-04 Janis Johnson <janis187@us.ibm.com>
9943
9944 * configure: Check host, not target, for decimal float support.
9945
577565f9
UB
99462007-04-03 Uros Bizjak <ubizjak@gmail.com>
9947
9948 * config/i386/t-crtpc: New file.
9949 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
5f464fa2 9950 (x86_64-*-linux*): Ditto.
577565f9 9951
ccf8e764
RH
99522007-02-30 Kai Tietz <kai.tietz@onevision.com>
9953
9954 * config.host (x86_64-*-mingw*): New target.
9955
79b87c74
MM
99562007-03-23 Michael Meissner <michael.meissner@amd.com>
9957 H.J. Lu <hongjiu.lu@intel.com>
9958
9959 * Makefile.in (enable_decimal_float): New.
9960 (DECNUMINC): Add
9961 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
9962 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
9963 (decbits-filenames): This.
9964 (decbits-objects): New.
9965 (libgcc-objects): Add $(decbits-objects).
9966
9967 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
9968 Substitute enable_decimal_float.
9969 * configure: Regenerated.
9970
8fce4e31
HPN
99712007-03-19 Hans-Peter Nilsson <hp@axis.com>
9972
9973 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
9974
e8bb4597
BM
99752007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
9976
9977 * Makefile.in (install-info): New dummy target.
9978
344189f9
BS
99792007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
9980
9981 * config.host (bfin*-linux-uclibc*): Set extra_parts.
9982
ac84c172
BM
99832007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
9984
9985 * Makefile.in: Add install-html and install-pdf dummy
9986 targets.
9987
cd5c2357
RS
99882007-02-05 Roger Sayle <roger@eyesopen.com>
9989 Daniel Jacobowitz <dan@codesourcery.com>
9990
9991 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
9992 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
9993 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
9994
d9a66f98
JJ
99952007-01-29 Janis Johnson <janis187@us.ibm.com>
9996
9997 * Makefile.in (dec-filenames): Add decExcept.
9998
9891ec5f
DJ
99992007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
10000
10001 PR bootstrap/30469
10002 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
10003 -fprofile-use.
10004
d6efbf5a
DJ
100052007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
10006
10007 * configure.ac: Add --enable-version-specific-runtime-libs.
10008 Correct $slibdir default.
10009 * configure: Regenerated.
10010
17caeff2
JM
100112007-01-23 Joseph Myers <joseph@codesourcery.com>
10012
10013 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
10014
5ea41e3a
AP
100152007-01-21 Andrew Pinski <pinskia@gmail.com>
10016
10017 PR target/30519
10018 * config.host (alpha*-*-linux*): Set extra_parts.
10019
26900826
KK
100202007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
10021
10022 * config/sh/t-linux: New.
10023 * config.host (sh*-*-linux*): Set tmake_file.
10024
97af925b
DJ
100252007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
10026
10027 * Makefile.in (install): Handle multilibs.
10028
b0088af7
BM
100292007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
10030
10031 * Makefile.in: Added .PHONY entry for documentation targets.
10032
e0a9456a
BM
100332007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
10034
10035 * Makefile.in: Add empty info, html, dvi, pdf targets.
10036
7fd453b4
MS
100372007-01-04 Mike Stump <mrs@apple.com>
10038
10039 * Makefile.in (MAKEINFO): Remove.
10040 (PERL): Likewise.
10041
14e8fc8b
PB
100422007-01-04 Paolo Bonzini <bonzini@gnu.org>
10043
10044 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
10045 * configure: Regenerate.
10046 * Makefile.in (host_subdir): Substitute it.
dfb3b0e3 10047 (gcc_objdir): Use it.
14e8fc8b 10048
1555beba
DJ
100492007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
10050
10051 * config.host (ia64*-*-linux*): Set tmake_file.
10052
79e6eaeb
DJ
100532007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
10054
10055 * Makefile.in (version): Define.
10056
fa958513
DJ
100572007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
10058 Paolo Bonzini <bonzini@gnu.org>
10059
10060 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
10061 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
10062 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
10063 config/sparc/t-crtfm, config/t-slibgcc-darwin,
10064 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
10065 shared-object.mk, siditi-object.mk, static-object.mk: New files.
10066 * configure: Generated.
818ab71a 10067\f
a5544970 10068Copyright (C) 2007-2019 Free Software Foundation, Inc.
818ab71a
JJ
10069
10070Copying and distribution of this file, with or without modification,
10071are permitted in any medium without royalty provided the copyright
10072notice and this notice are preserved.