]> git.ipfire.org Git - thirdparty/gcc.git/blame - libgcc/ChangeLog
or1k: Fix code quality for volatile memory loads
[thirdparty/gcc.git] / libgcc / ChangeLog
CommitLineData
61afc8f8
IS
12019-07-04 Iain Sandoe <iain@sandoe.co.uk>
2
3 * config.host: Remove reference to t-darwin8.
4
179c7ef5
IS
52019-07-03 Iain Sandoe <iain@sandoe.co.uk>
6
7 * config.host (powerpc-*-darwin*,powerpc64-*-darwin*): Revise crt
8 list.
9 * config/rs6000/t-darwin: Build crt3_2 for older systems. Revise
10 mmacosx-version-min for crts to run across all system versions.
11 * config/rs6000/t-darwin64 (LIB2ADD): Remove.
12 * config/t-darwin: Revise mmacosx-version-min for crts to run across
13 system versions >= 10.4.
14
596341c7
ML
152019-07-03 Martin Liska <mliska@suse.cz>
16
17 * Makefile.in: Use topn_values instead of one_value names.
18 * libgcov-merge.c (__gcov_merge_single): Move to ...
19 (__gcov_merge_topn): ... this.
20 (merge_single_value_set): Move to ...
21 (merge_topn_values_set): ... this.
22 * libgcov-profiler.c (__gcov_one_value_profiler_body): Move to
23 ...
24 (__gcov_topn_values_profiler_body): ... this.
25 (__gcov_one_value_profiler_v2): Move to ...
26 (__gcov_topn_values_profiler): ... this.
27 (__gcov_one_value_profiler_v2_atomic): Move to ...
28 (__gcov_topn_values_profiler_atomic): ... this.
29 (__gcov_indirect_call_profiler_v4): Remove.
30 * libgcov-util.c (__gcov_single_counter_op): Move to ...
31 (__gcov_topn_counter_op): ... this.
32 * libgcov.h (L_gcov_merge_single): Remove.
33 (L_gcov_merge_topn): New.
34 (__gcov_merge_single): Remove.
35 (__gcov_merge_topn): New.
36 (__gcov_one_value_profiler_v2): Move to ..
37 (__gcov_topn_values_profiler): ... this.
38 (__gcov_one_value_profiler_v2_atomic): Move to ...
39 (__gcov_topn_values_profiler_atomic): ... this.
40
1b309ca5
ML
412019-07-03 Martin Liska <mliska@suse.cz>
42
43 * libgcov-merge.c (merge_single_value_set): Support N values.
44 * libgcov-profiler.c (__gcov_one_value_profiler_body): Likewise.
45
5a460280
ID
462019-06-27 Ilia Diachkov <ilia.diachkov@optimitech.com>
47
48 * Makefile.in (USE_TM_CLONE_REGISTRY): New.
49 (CRTSTUFF_CFLAGS): Use USE_TM_CLONE_REGISTRY.
50 * configure.ac: Add --disable-tm-clone-registry option.
51 * configure: Regenerate.
52
45309d28
ML
532019-06-27 Martin Liska <mliska@suse.cz>
54
55 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Remove obviously
56 dead assignments.
57 * libgcov-util.c: Likewise.
58
c2f7a665
ML
592019-06-27 Martin Liska <mliska@suse.cz>
60
61 * libgcov-util.c (gcov_profile_merge): Release allocated
62 memory.
63 (calculate_overlap): Likewise.
64
a8e55c61
IS
652019-06-25 Iain Sandoe <iain@sandoe.co.uk>
66
67 * config.host: Add libef_ppc.a to the extra files for powerpc-darwin.
68 * config/rs6000/t-darwin: (PPC_ENDFILE_SRC, PPC_ENDFILE_OBJS): New.
69 Build objects for the out of line save/restore register functions
70 so that they can be used for any supported Darwin version.
71 * config/t-darwin: Default the build Darwin version to Darwin8
72 (MacOS 10.4).
73
e5ce4cbc
ML
742019-06-25 Martin Liska <mliska@suse.cz>
75
76 * libgcov-driver-system.c (replace_filename_variables): Do not
77 call strlen with NULL argument.
78
52a47d28
AS
792019-06-25 Andrew Stubbs <ams@codesourcery.com>
80
81 * config/gcn/t-amdgcn (LIB2ADD): Add unwind-gcn.c.
82 * config/gcn/unwind-gcn.c: New file.
83
76d46331
KCY
842019-06-25 Kwok Cheung Yeung <kcy@codesourcery.com>
85 Andrew Stubbs <ams@codesourcery.com>
86
87 * configure: Regenerate.
88 * config/gcn/gthr-gcn.h: New.
89
787783a0
TV
902019-06-18 Tom de Vries <tdevries@suse.de>
91
92 * config/nvptx/crt0.c (__main): Declare.
93
f32f7585
MG
942019-06-17 Matthew Green <mrg@eterna.com.au>
95 Maya Rashish <coypu@sdf.org>
96
97 * config.host (aarch64*-*-netbsd*): New case.
98
0fcc78f7
JL
992019-06-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
100
101 * config/msp430/slli.S (__mspabi_sllll): New library function for
102 performing a logical left shift of a 64-bit value.
103 * config/msp430/srai.S (__mspabi_srall): New library function for
104 performing a arithmetic right shift of a 64-bit value.
105 * config/msp430/srll.S (__mspabi_srlll): New library function for
106 performing a logical right shift of a 64-bit value.
107
b27c1082
MT
1082019-06-14 Matt Thomas <matt@3am-software.com>
109 Matthew Green <mrg@eterna.com.au>
110 Nick Hudson <skrll@netbsd.org>
111 Maya Rashish <coypu@sdf.org>
112
113 * config.host (arm*-*-netbsdelf*): Add support for EABI configurations.
114 * config/arm/t-netbsd (LIB1ASMFUNCS): Add some additional assembler
115 functions to build.
116 * config/arm/t-netbsd-eabi: New file.
117
ae7deb4b
DD
1182019-06-12 Dimitar Dimitrov <dimitar@dinux.eu>
119
120 * config.host: Add PRU target.
121 * config/pru/asri.c: New file.
122 * config/pru/eqd.c: New file.
123 * config/pru/eqf.c: New file.
124 * config/pru/ged.c: New file.
125 * config/pru/gef.c: New file.
126 * config/pru/gtd.c: New file.
127 * config/pru/gtf.c: New file.
128 * config/pru/led.c: New file.
129 * config/pru/lef.c: New file.
130 * config/pru/lib2bitcountHI.c: New file.
131 * config/pru/lib2divHI.c: New file.
132 * config/pru/lib2divQI.c: New file.
133 * config/pru/lib2divSI.c: New file.
134 * config/pru/libgcc-eabi.ver: New file.
135 * config/pru/ltd.c: New file.
136 * config/pru/ltf.c: New file.
137 * config/pru/mpyll.S: New file.
138 * config/pru/pru-abi.h: New file.
139 * config/pru/pru-asm.h: New file.
140 * config/pru/pru-divmod.h: New file.
141 * config/pru/sfp-machine.h: New file.
142 * config/pru/t-pru: New file.
143
0d7b3e47
JJ
1442019-06-11 Jakub Jelinek <jakub@redhat.com>
145
146 * libgcov-merge.c (__gcov_merge_single): Revert previous change.
147
54e2d83c
ML
1482019-06-10 Martin Liska <mliska@suse.cz>
149
150 PR bootstrap/90808
151 * libgcov.h: Add ATTRIBUTE_UNUSED.
152
92d41717
ML
1532019-06-10 Martin Liska <mliska@suse.cz>
154
155 * Makefile.in: Add __gcov_one_value_profiler_v2,
156 __gcov_one_value_profiler_v2_atomic and
157 __gcov_indirect_call_profiler_v4.
158 * libgcov-merge.c (__gcov_merge_single): Change
159 function signature.
160 (merge_single_value_set): New.
161 * libgcov-profiler.c (__gcov_one_value_profiler_body):
162 Update functionality.
163 (__gcov_one_value_profiler): Remove.
164 (__gcov_one_value_profiler_v2): ... this.
165 (__gcov_one_value_profiler_atomic): Rename to ...
166 (__gcov_one_value_profiler_v2_atomic): this.
167 (__gcov_indirect_call_profiler_v3): Rename to ...
168 (__gcov_indirect_call_profiler_v4): ... this.
169 * libgcov.h (__gcov_one_value_profiler): Remove.
170 (__gcov_one_value_profiler_atomic): Remove.
171 (__gcov_one_value_profiler_v2_atomic): New.
172 (__gcov_indirect_call_profiler_v3): Remove.
173 (__gcov_one_value_profiler_v2): New.
174 (__gcov_indirect_call_profiler_v4): New.
175 (gcov_get_counter_ignore_scaling): New function.
176
e37333ba
ML
1772019-06-07 Martin Liska <mliska@suse.cz>
178
179 * Makefile.in: Remove usage of
180 _gcov_merge_icall_topn.
181 * libgcov-driver.c (gcov_sort_n_vals): Remove.
182 (gcov_sort_icall_topn_counter): Likewise.
183 (gcov_sort_topn_counter_arrays): Likewise.
184 (dump_one_gcov): Remove call to gcov_sort_topn_counter_arrays.
185 * libgcov-merge.c (__gcov_merge_icall_topn): Remove.
186 * libgcov-profiler.c (__gcov_topn_value_profiler_body):
187 Likewise.
188 (GCOV_ICALL_COUNTER_CLEAR_THRESHOLD): Remove.
189 (struct indirect_call_tuple): Remove.
190 (__gcov_indirect_call_topn_profiler): Remove.
191 * libgcov-util.c (__gcov_icall_topn_counter_op): Remove.
192 * libgcov.h (gcov_sort_n_vals): Remove.
193 (L_gcov_merge_icall_topn): Likewise.
194 (__gcov_merge_icall_topn): Likewise.
195 (__gcov_indirect_call_topn_profiler): Likewise.
196
34a4a9c2
IS
1972019-06-06 Iain Sandoe <iain@sandoe.co.uk>
198
199 * config/rs6000/t-darwin: Ensure that the unwinder is built with
200 altivec enabled.
201
d1b2f85f
JL
2022019-06-06 Jozef Lawrynowicz <jozef.l@mittosystems.com>
203
204 * config/msp430/slli.S (__mspabi_slli_n): Put function in its own
205 section.
206 (__mspabi_slli): Likewise.
207 (__mspabi_slll_n): Likewise.
208 (__mspabi_slll): Likewise.
209 * config/msp430/srai.S (__mspabi_srai_n): Likewise.
210 (__mspabi_srai): Likewise.
211 (__mspabi_sral_n): Likewise.
212 (__mspabi_sral): Likewise.
213 * config/msp430/srli.S (__mspabi_srli_n): Likewise.
214 (__mspabi_srli): Likewise.
215 (__mspabi_srll_n): Likewise.
216 (__mspabi_srll): Likewise.
217
e69a13d1
YS
2182019-06-05 Yoshinori Sato <ysato@users.sourceforge.jp>
219
220 * config.host (rx-*-linux*): Add t-fdpbit to tmake_file
221 Add appropriate tm_file clause as well.
222 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Remove.
223
b009eac1
JC
2242019-06-05 James Clarke <jrtc27@jrtc27.com>
225
226 * config/ia64/crtbegin.S (__dso_handle): Put in .sdata/.sbss
227 rather than .data/.bss so it can be accessed via gp-relative
228 addressing.
229
781d39f2
DE
2302019-06-05 David Edelsohn <dje.gcc@gmail.com>
231
232 * config/rs6000/aix-unwind.h (LR_REGNO): Rename to R_LR.
233 (CR2_REGNO): Rename to R_CR2.
234 (XER_REGNO): Rename to R_XER.
235 (FIRST_ALTIVEC_REGNO): Rename to R_FIRST_ALTIVEC.
236 (VRSAVE_REGNO): Rename to R_VRSAVE.
237 (VSCR_REGNO): R_VSCR.
238
76aaa9cd
YS
2392019-05-29 Yoshinori Sato <ysato@users.sourceforge.jp>
240
241 * config.host (rx-*-linux*): Add new case.
242 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Force DFmode to SFmode.
243
8fc16d72
ST
2442019-05-29 Sam Tebbs <sam.tebbs@arm.com>
245
246 * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key): New
247 function.
248 * config/aarch64/aarch64-unwind.h (aarch64_post_extract_frame_addr,
249 aarch64_post_frob_eh_handler_addr): Add check for b-key.
250 * config/aarch64/aarch64-unwind-h (aarch64_post_extract_frame_addr,
251 aarch64_post_frob_eh_handler_addr, aarch64_post_frob_update_context):
252 Rename RA_A_SIGNED_BIT to RA_SIGNED_BIT.
253 * unwind-dw2-fde.c (get_cie_encoding): Add check for 'B' in augmentation
254 string.
255 * unwind-dw2.c (extract_cie_info): Add check for 'B' in augmentation
256 string.
257 (RA_A_SIGNED_BIT): Rename to RA_SIGNED_BIT.
258
e54b1a92
RO
2592019-05-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
260
261 * config/sparc/sol2-unwind.h [__arch64__] (sparc64_is_sighandler):
262 Remove Solaris 9 and 10 support.
263 (sparc_is_sighandler): Likewise.
264
abbb8307
JDA
2652019-05-26 John David Anglin <danglin@gcc.gnu.org>
266
267 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Add cast.
268
2581344d
L
2692019-05-17 H.J. Lu <hongjiu.lu@intel.com>
270
271 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
272 4_FP_W_TYPEs are used for IEEE quad precision.
273 * soft-fp/extendhftf2.c: Likewise.
274 * soft-fp/extendsftf2.c: Likewise.
275 * soft-fp/extendxftf2.c: Likewise.
276 * soft-fp/trunctfdf2.c: Likewise.
277 * soft-fp/trunctfhf2.c: Likewise.
278 * soft-fp/trunctfsf2.c: Likewise.
279 * soft-fp/trunctfxf2.c: Likewise.
280 * config/rs6000/ibm-ldouble.c: Likewise.
281
ccd1242e
RO
2822019-05-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
283
284 * config.host: Simplify various *-*-solaris2.1[0-9]* to
285 *-*-solaris2*.
286 * configure.ac: Likewise.
287 * configure: Regenerate.
288
289 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
290 Solaris 10 and Solaris 11 < snv_125 handling.
291
ef5eb79d
IS
2922019-05-12 Iain Sandoe <iain@sandoe.co.uk>
293
294 * config/rs6000/darwin-vecsave.S: Set .machine appropriately.
295
4f0e90fa
HL
2962019-05-07 Hongtao Liu <hongtao.liu@intel.com>
297
298 * config/i386/cpuinfo.c (get_available_features): Detect BF16.
299 * config/i386/cpuinfo.h (enum processor_features): Add
300 FEATURE_AVX512BF16.
301
48528842
RR
3022019-04-23 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
303 Bernd Edlinger <bernd.edlinger@hotmail.de>
304 Jakub Jelinek <jakub@redhat.com>
305
306 PR target/89093
307 * config/arm/pr-support.c: Add #pragma GCC target("general-regs-only").
308 * config/arm/unwind-arm.c: Likewise.
309 * unwind-c.c (PERSONALITY_FUNCTION): Add general-regs-only target
310 attribute for ARM.
311
887e182f
MC
3122019-04-15 Monk Chiang <sh.chiang04@gmail.com>
313
314 * config/nds32/linux-unwind.h (SIGRETURN): Remove.
315 (RT_SIGRETURN): Update.
316 (nds32_fallback_frame_state): Update.
317
a90b0cdd
MS
3182019-02-21 Martin Sebor <msebor@redhat.com>
319
320 * libgcc2.h (__clear_cache): Correct signature.
321 * libgcc2.c (__clear_cache): Same.
322
1ed28eda
UB
3232019-02-20 Uroš Bizjak <ubizjak@gmail.com>
324
325 * config/alpha/linux-unwind.h (alpha_fallback_frame_state):
326 Cast 'mcontext_t *' &rt_->uc.uc_mcontext to 'struct sigcontext *'.
327
fe95aee9
UB
3282019-02-19 Uroš Bizjak <ubizjak@gmail.com>
329
330 * unwind-dw2.c (_Unwind_GetGR) [DWARF_ZERO_REG]: Compare
331 regno instead of index to DWARF_ZERO_REG.
332
bf7988f1
EB
3332019-02-15 Eric Botcazou <ebotcazou@adacore.com>
334
335 * config/visium/lib2funcs.c (__set_trampoline_parity): Replace
336 TRAMPOLINE_SIZE with __LIBGCC_TRAMPOLINE_SIZE__.
337
ba2c1ca8
UB
3382019-01-31 Uroš Bizjak <ubizjak@gmail.com>
339
340 * config/alpha/t-linux: Add -mfp-rounding-mode=d
341 to HOST_LIBGCC2_CFLAGS.
342
6395ba73
L
3432019-01-23 Joseph Myers <joseph@codesourcery.com>
344
345 PR libgcc/88931
ba2c1ca8 346 * libgcc2.c (FSTYPE FUNC (DWtype u)): Correct no leading bits case.
6395ba73 347
756721ba
ML
3482019-01-18 Martin Liska <mliska@suse.cz>
349
350 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Rename
351 to ...
352 (__gcov_indirect_call_profiler_v3): ... this.
353 * libgcov.h (__gcov_indirect_call_profiler_v2): Likewise.
354 (__gcov_indirect_call_profiler_v3): Likewise.
355 * Makefile.in: Bump function name.
356
d273c40a
ML
3572019-01-18 Martin Liska <mliska@suse.cz>
358
359 * libgcov-driver.c (GCOV_PROF_PREFIX): Define.
360 (gcov_version): Use in gcov_error.
361 (merge_one_data): Likewise.
362 (dump_one_gcov): Likewise.
363
be9d9fdb
ML
3642019-01-18 Martin Liska <mliska@suse.cz>
365
366 * libgcov-driver.c (gcov_version_string): New function.
367 (gcov_version): Convert version integer into string.
368
91d7b7fe
AS
3692019-01-17 Andrew Stubbs <ams@codesourcery.com>
370 Kwok Cheung Yeung <kcy@codesourcery.com>
371 Julian Brown <julian@codesourcery.com>
372 Tom de Vries <tom@codesourcery.com>
373
374 * config.host: Recognize amdgcn*-*-amdhsa.
375 * config/gcn/crt0.c: New file.
376 * config/gcn/lib2-divmod-hi.c: New file.
377 * config/gcn/lib2-divmod.c: New file.
378 * config/gcn/lib2-gcn.h: New file.
379 * config/gcn/sfp-machine.h: New file.
380 * config/gcn/t-amdgcn: New file.
381
67914693
SL
3822019-01-09 Sandra Loosemore <sandra@codesourcery.com>
383
384 PR other/16615
385
386 * config/c6x/libunwind.S: Mechanically replace "can not" with
387 "cannot".
388 * config/tilepro/atomic.h: Likewise.
389 * config/vxlib-tls.c: Likewise.
390 * generic-morestack-thread.c: Likewise.
391 * generic-morestack.c: Likewise.
392 * mkmap-symver.awk: Likewise.
393
a5544970
JJ
3942019-01-01 Jakub Jelinek <jakub@redhat.com>
395
396 Update copyright years.
397
da77eace
L
3982018-12-20 H.J. Lu <hongjiu.lu@intel.com>
399
400 * unwind-pe.h (read_encoded_value_with_base): Add GCC pragma
401 to ignore -Waddress-of-packed-member.
402
72e3a529
TP
4032018-12-19 Thomas Preud'homme <thomas.preudhomme@linaro.org>
404
405 * /config/arm/lib1funcs.S (FUNC_START): Remove unused sp_section
406 parameter and corresponding code.
407 (ARM_FUNC_START): Likewise in both definitions.
408 Also update footer comment about condition that need to match with
409 gcc/config/arm/elf.h to also include libgcc/config/arm/t-arm.
410 * config/arm/ieee754-df.S (muldf3): Also build it if L_arm_muldf3 is
411 defined. Weakly define it in this case.
412 * config/arm/ieee754-sf.S (mulsf3): Likewise with L_arm_mulsf3.
413 * config/arm/t-elf (LIB1ASMFUNCS): Build _arm_muldf3.o and
414 _arm_mulsf3.o before muldiv versions if targeting Thumb-1 only. Add
415 comment to keep condition in sync with the one in
416 libgcc/config/arm/lib1funcs.S and gcc/config/arm/elf.h.
417
5d54c798
WX
4182018-12-18 Wei Xiao <wei3.xiao@intel.com>
419
420 * config/i386/cpuinfo.c (get_intel_cpu): Handle cascadelake.
421 * config/i386/cpuinfo.h: Add INTEL_COREI7_CASCADELAKE.
422
5a2580b6
RV
4232018-12-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
424
425 * config/rs6000/tramp.S (__trampoline_setup): Also emit .size
426 and .cfi_endproc directives for VxWorks targets.
427
c0c5112b
PK
4282018-12-05 Paul Koning <ni1d@arrl.net>
429
430 * udivmodhi4.c (__udivmodhi4): Fix loop end check.
431
1ea7ea18
AM
4322018-11-27 Alan Modra <amodra@gmail.com>
433
434 * config/rs6000/morestack.S (__stack_split_initialize),
435 (__morestack_get_guard, __morestack_set_guard),
436 (__morestack_make_guard): Provide CFI covering these functions.
437 * config/rs6000/tramp.S (__trampoline_setup): Likewise.
438
ff641ae1
XQ
4392018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
440
1ea7ea18 441 * config/csky/linux-unwind.h (sc_pt_regs): Update for kernel.
ff641ae1
XQ
442 (sc_pt_regs_lr): Update for kernel.
443 (sc_pt_regs_tls): Update for kernel.
444
28209372
XQ
4452018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
446
447 * config/csky/linux-unwind.h: Fix coding style.
448
b2a71af6
XQ
4492018-11-13 Xianmiao Qu <xianmiao_qu@c-sky.com>
450
451 * config/csky/linux-unwind.h (_sig_ucontext_t): Remove.
1ea7ea18 452 (csky_fallback_frame_state): Modify the check of the
b2a71af6
XQ
453 instructions to adapt to changes in the kernel
454
d929e137
SH
4552018-11-09 Stafford Horne <shorne@gmail.com>
456 Richard Henderson <rth@twiddle.net>
457
458 * config.host: Add OpenRISC support.
459 * config/or1k/*: New.
460
222cfefa
KC
4612018-11-08 Kito Cheng <kito@andestech.com>
462
463 * soft-fp/adddf3.c: Update from glibc.
464 * soft-fp/addsf3.c: Likewise.
465 * soft-fp/addtf3.c: Likewise.
466 * soft-fp/divdf3.c: Likewise.
467 * soft-fp/divsf3.c: Likewise.
468 * soft-fp/divtf3.c: Likewise.
469 * soft-fp/double.h: Likewise.
470 * soft-fp/eqdf2.c: Likewise.
471 * soft-fp/eqsf2.c: Likewise.
472 * soft-fp/eqtf2.c: Likewise.
473 * soft-fp/extenddftf2.c: Likewise.
474 * soft-fp/extended.h: Likewise.
475 * soft-fp/extendhftf2.c: Likewise.
476 * soft-fp/extendsfdf2.c: Likewise.
477 * soft-fp/extendsftf2.c: Likewise.
478 * soft-fp/extendxftf2.c: Likewise.
479 * soft-fp/fixdfdi.c: Likewise.
480 * soft-fp/fixdfsi.c: Likewise.
481 * soft-fp/fixdfti.c: Likewise.
482 * soft-fp/fixhfti.c: Likewise.
483 * soft-fp/fixsfdi.c: Likewise.
484 * soft-fp/fixsfsi.c: Likewise.
485 * soft-fp/fixsfti.c: Likewise.
486 * soft-fp/fixtfdi.c: Likewise.
487 * soft-fp/fixtfsi.c: Likewise.
488 * soft-fp/fixtfti.c: Likewise.
489 * soft-fp/fixunsdfdi.c: Likewise.
490 * soft-fp/fixunsdfsi.c: Likewise.
491 * soft-fp/fixunsdfti.c: Likewise.
492 * soft-fp/fixunshfti.c: Likewise.
493 * soft-fp/fixunssfdi.c: Likewise.
494 * soft-fp/fixunssfsi.c: Likewise.
495 * soft-fp/fixunssfti.c: Likewise.
496 * soft-fp/fixunstfdi.c: Likewise.
497 * soft-fp/fixunstfsi.c: Likewise.
498 * soft-fp/fixunstfti.c: Likewise.
499 * soft-fp/floatdidf.c: Likewise.
500 * soft-fp/floatdisf.c: Likewise.
501 * soft-fp/floatditf.c: Likewise.
502 * soft-fp/floatsidf.c: Likewise.
503 * soft-fp/floatsisf.c: Likewise.
504 * soft-fp/floatsitf.c: Likewise.
505 * soft-fp/floattidf.c: Likewise.
506 * soft-fp/floattihf.c: Likewise.
507 * soft-fp/floattisf.c: Likewise.
508 * soft-fp/floattitf.c: Likewise.
509 * soft-fp/floatundidf.c: Likewise.
510 * soft-fp/floatundisf.c: Likewise.
511 * soft-fp/floatunditf.c: Likewise.
512 * soft-fp/floatunsidf.c: Likewise.
513 * soft-fp/floatunsisf.c: Likewise.
514 * soft-fp/floatunsitf.c: Likewise.
515 * soft-fp/floatuntidf.c: Likewise.
516 * soft-fp/floatuntihf.c: Likewise.
517 * soft-fp/floatuntisf.c: Likewise.
518 * soft-fp/floatuntitf.c: Likewise.
519 * soft-fp/gedf2.c: Likewise.
520 * soft-fp/gesf2.c: Likewise.
521 * soft-fp/getf2.c: Likewise.
522 * soft-fp/half.h: Likewise.
523 * soft-fp/ledf2.c: Likewise.
524 * soft-fp/lesf2.c: Likewise.
525 * soft-fp/letf2.c: Likewise.
526 * soft-fp/muldf3.c: Likewise.
527 * soft-fp/mulsf3.c: Likewise.
528 * soft-fp/multf3.c: Likewise.
529 * soft-fp/negdf2.c: Likewise.
530 * soft-fp/negsf2.c: Likewise.
531 * soft-fp/negtf2.c: Likewise.
532 * soft-fp/op-1.h: Likewise.
533 * soft-fp/op-2.h: Likewise.
534 * soft-fp/op-4.h: Likewise.
535 * soft-fp/op-8.h: Likewise.
536 * soft-fp/op-common.h: Likewise.
537 * soft-fp/quad.h: Likewise.
538 * soft-fp/single.h: Likewise.
539 * soft-fp/soft-fp.h: Likewise.
540 * soft-fp/subdf3.c: Likewise.
541 * soft-fp/subsf3.c: Likewise.
542 * soft-fp/subtf3.c: Likewise.
543 * soft-fp/truncdfsf2.c: Likewise.
544 * soft-fp/trunctfdf2.c: Likewise.
545 * soft-fp/trunctfhf2.c: Likewise.
546 * soft-fp/trunctfsf2.c: Likewise.
547 * soft-fp/trunctfxf2.c: Likewise.
548 * soft-fp/unorddf2.c: Likewise.
549 * soft-fp/unordsf2.c: Likewise.
550 * soft-fp/unordtf2.c: Likewise.
551
2901f42f
VK
5522018-11-04 Venkataramanan Kumar <Venkataramanan.kumar@amd.com>
553
554 * config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
555 * config/i386/cpuinfo.h (processor_types): Add znver2.
556
4310ca66
PK
5572018-11-01 Paul Koning <ni1d@arrl.net>
558
559 * config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c.
560 (HOST_LIBGCC2_CFLAGS): Change to optimize for size.
561
22e05272
JM
5622018-10-31 Joseph Myers <joseph@codesourcery.com>
563
564 PR bootstrap/82856
565 * configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
566 * configure: Regenerate.
567
8180cde0
CZ
5682018-10-31 Claudiu Zissulescu <claziss@synopsys.com>
569
570 * config/arc/lib1funcs.S (_muldi3): New function.
571 * config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
572
be7b071e
RV
5732018-10-30 Rasmus Villemoes <rv@rasmusvillemoes.dk>
574
575 * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
576
3239d726
ML
5772018-10-25 Martin Liska <mliska@suse.cz>
578
579 PR other/87735
580 * libgcov-profiler.c: Revert.
581
19b55958
ML
5822018-10-24 Martin Liska <mliska@suse.cz>
583
584 * libgcov-profiler.c: Start from 1 in order to distinguish
585 functions which were seen and these that were not.
586
a9a2fddb
PK
5872018-10-18 Paul Koning <ni1d@arrl.net>
588
589 * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
590 standard.
591 * divmod.c: Update references to __udivmodsi4.
592 * udivmod.c: Ditto.
593 * udivhi3.c: New file.
594 * udivmodhi4.c: New file.
595 * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
596
fc8abc46
RV
5972018-10-17 Rasmus Villemoes <rv@rasmusvillemoes.dk>
598
599 * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
600
87f918e3
OH
6012018-10-12 Olivier Hainque <hainque@adacore.com>
602
603 * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
604 defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
605
be86efa7
PK
6062018-10-08 Paul Koning <ni1d@arrl.net>
607
608 * config/pdp11/t-pdp11: Remove -mfloat32 switch.
609
3edbcdbe
ML
6102018-10-04 Martin Liska <mliska@suse.cz>
611
612 PR gcov-profile/84107
613 * libgcov-profiler.c (__gcov_indirect_call):
614 Change type to indirect_call_tuple.
615 (struct indirect_call_tuple): New struct.
616 (__gcov_indirect_call_topn_profiler): Change type.
617 (__gcov_indirect_call_profiler_v2): Use the new
618 variables.
619 * libgcov.h (struct indirect_call_tuple): New struct
620 definition.
621
af8096fc
UB
6222018-10-03 Uros Bizjak <ubizjak@gmail.com>
623
624 * libgcc2.c (isnan): Use __builtin_isnan.
625 (isfinite): Use __builtin_isfinite.
626 (isinf): Use __builtin_isinf.
627
0a76bba4
UB
6282018-09-26 Uros Bizjak <ubizjak@gmail.com>
629
630 * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
631
5244089f
OH
6322018-09-21 Alexandre Oliva <oliva@adacore.com>
633
634 * config/vxcache.c: New file. Provide __clear_cache, based on
635 the cacheTextUpdate VxWorks service.
636 * config/t-vxworks (LIB2ADD): Add vxcache.c.
637 (LIB2FUNCS_EXCLUDE): Add _clear_cache.
638 * config/t-vxwoks7: Likewise.
639
512cc015
ML
6402018-09-21 Martin Liska <mliska@suse.cz>
641
642 * libgcov-driver.c (crc32_unsigned): Remove.
643 (gcov_histogram_insert): Likewise.
644 (gcov_compute_histogram): Likewise.
645 (compute_summary): Simplify rapidly.
646 (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
647 (merge_summary): Rapidly simplify.
648 (dump_one_gcov): Ignore gcov_summary.
649 (gcov_do_dump): Do not handle program summary, it's not
650 used.
651 * libgcov-util.c (tag_summary): Remove.
652 (read_gcda_finalize): Fix coding style.
653 (read_gcda_file): Initialize curr_object_summary.
654 (compute_summary): Remove.
655 (calculate_overlap): Remove settings of run_max.
656
36ff254b
MC
6572018-09-21 Monk Chiang <sh.chiang04@gmail.com>
658
659 * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
660 ucontext_t type instead.
661 (nds32_fallback_frame_state): Remove struct _sigframe statement.
662
229a033d
KC
6632018-09-21 Kito Cheng <kito.cheng@gmail.com>
664
665 * config/nds32/t-nds32-glibc: New file.
666
53c6feb2
RO
6672018-09-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
668
669 * configure.ac (solaris_ld_v2_maps): New test.
670 * configure: Regenerate.
671 * Makefile.in (solaris_ld_v2_maps): New variable.
672 * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
673 if supported.
674
ebdb6f23
RE
6752018-08-23 Richard Earnshaw <rearnsha@arm.com>
676
677 PR target/86951
678 * config/arm/lib1funcs.asm (speculation_barrier): New function.
679 * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
680 to build.
681
a49c064e
IS
6822018-08-22 Iain Sandoe <iain@sandoe.co.uk>
683
1ea7ea18 684 * config/unwind-dw2-fde-darwin.c
a49c064e
IS
685 (_darwin10_Unwind_FindEnclosingFunction): move from here ...
686 * config/darwin10-unwind-find-enc-func.c: … to here.
687 * config/t-darwin: Build Darwin10 unwinder shim crt.
688 * libgcc/config.host: Add the Darwin10 unwinder shim.
689
9a5b8df7
RV
6902018-08-21 Rasmus Villemoes <rv@rasmusvillemoes.dk>
691
692 * config.host: Add crtbegin.o and crtend.o for
693 powerpc-wrs-vxworks target.
694
4cd0bc3b
J
6952018-08-17 Jojo <jijie_rong@c-sky.com>
696 Huibin Wang <huibin_wang@c-sky.com>
697 Sandra Loosemore <sandra@codesourcery.com>
698 Chung-Lin Tang <cltang@codesourcery.com>
699
700 C-SKY port: libgcc
701
702 * config.host: Add C-SKY support.
703 * config/csky/*: New.
704
a4931745
CJW
7052018-08-12 Chung-Ju Wu <jasonwucj@gmail.com>
706
707 * config/nds32/t-nds32-isr: Rearrange object dependency.
708 * config/nds32/initfini.c: Add dwarf2 unwinding support.
709 * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
710 and registers usage.
711 * config/nds32/isr-library/excp_isr.S: Ditto.
712 * config/nds32/isr-library/intr_isr.S: Ditto.
713 * config/nds32/isr-library/reset.S: Ditto.
714 * config/nds32/isr-library/restore_all.inc: Ditto.
715 * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
716 * config/nds32/isr-library/restore_partial.inc: Ditto.
717 * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
718 * config/nds32/isr-library/save_all.inc: Ditto.
719 * config/nds32/isr-library/save_mac_regs.inc: Ditto.
720 * config/nds32/isr-library/save_partial.inc: Ditto.
721 * config/nds32/isr-library/save_usr_regs.inc: Ditto.
722 * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
723
2b1969f6
JDA
7242018-08-11 John David Anglin <danglin@gcc.gnu.org>
725
726 * config/pa/linux-atomic.c: Update comment.
727 (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
728 COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
729 SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
730 __ATOMIC_RELAXED for atomic loads.
731 (SYNC_LOCK_RELEASE_1): New define. Use __sync_synchronize() and
732 unordered store to release lock.
733 (__sync_lock_release_8): Likewise.
734 (SYNC_LOCK_RELEASE_2): Remove define.
af8096fc 735
89fff9cc
NP
7362018-08-02 Nicolas Pitre <nico@fluxnic.net>
737
738 PR libgcc/86512
739 * config/arm/ieee754-df.S: Don't shortcut denormal handling when
740 exponent goes negative. Update my email address.
741 * config/arm/ieee754-sf.S: Likewise.
742
fd2e1dcd
ML
7432018-08-01 Martin Liska <mliska@suse.cz>
744
745 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
92a285c1 746 check that __gcov_indirect_call_callee is non-null.
fd2e1dcd 747
b7415975
CL
7482018-07-30 Christophe Lyon <christophe.lyon@linaro.org>
749
750 * config/arm/ieee754-df.S: Fix comment for code working on
751 architectures >= 4.
752 * config/arm/ieee754-sf.S: Likewise.
753
b72e71a3
L
7542018-07-27 H.J. Lu <hongjiu.lu@intel.com>
755
756 PR libgcc/85334
757 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
758 Removed.
759
1c686aa4
JC
7602018-07-05 James Clarke <jrtc27@jrtc27.com>
761
762 * configure: Regenerated.
763
b61c9b99
RO
7642018-06-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
765
766 * Makefile.in (install_leaf): Use enable_gcov instead of
767 enable_libgcov.
768
1765b023
RV
7692018-06-27 Rasmus Villemoes <rv@rasmusvillemoes.dk>
770
771 * configure.ac: Add --disable-gcov option.
772 * configure: Regenerate.
773 * Makefile.in: Honour @enable_gcov@.
774
9b2e34ef
CL
7752018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
776
777 * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
778 __ARM_ARCH and __ARM_FEATURE_CLZ instead.
779 (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
780 * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
781 __ARM_ARCH__.
782 * config/arm/ieee754-sf.S: Likewise.
783 * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
784
d1b0dd54
CL
7852018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
786
787 * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
788 longer supported.
789 * config/arm/ieee754-sf.S: Likewise.
790
1f3fa525
TM
7912018-06-20 Than McIntosh <thanm@google.com>
792
793 PR libgcc/86213
794 * generic-morestack.c (allocate_segment): Move calls to getenv and
795 getpagesize to __morestack_load_mmap.
796 (__morestack_load_mmap) Initialize static_pagesize and
797 use_guard_page here so as to avoid clobbering SSE regs during a
798 __morestack call.
799
6a8886e4
MM
8002018-06-18 Michael Meissner <meissner@linux.ibm.com>
801
802 * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
803 support modules with -mno-gnu-attribute.
804 * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
805
fb997097
OH
8062018-06-07 Olivier Hainque <hainque@adacore.com>
807
808 * config/t-vxworks (LIBGCC_INCLUDES): Add
809 -I$(MULTIBUILDTOP)../../gcc/include.
810 * config/t-vxworks7: Likewise. Reformat a bit to match
811 the t-vxworks layout.
812
a548a5a1
OM
8132018-06-07 Olga Makhotina <olga.makhotina@intel.com>
814
815 * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
816
244aebfd
ML
8172018-06-07 Martin Liska <mliska@suse.cz>
818
819 * libgcov-driver.c: Rename cs_all to all and assign it from
92a285c1 820 all_prg.
244aebfd 821
6c086e8c
ML
8222018-06-07 Martin Liska <mliska@suse.cz>
823
92a285c1 824 PR bootstrap/86057
6c086e8c 825 * libgcov-driver-system.c (replace_filename_variables): Use
92a285c1 826 memcpy instead of mempcpy.
6c086e8c 827 (allocate_filename_struct): Do not allocate filename, allocate
92a285c1 828 prefix and set it.
6c086e8c 829 (gcov_exit_open_gcda_file): Allocate memory for gf->filename
92a285c1 830 here and properly copy content into it.
6c086e8c 831 * libgcov-driver.c (struct gcov_filename): Remove max_length
92a285c1 832 field, change prefix from size_t into char *.
6c086e8c
ML
833 (compute_summary): Do not calculate longest filename.
834 (gcov_do_dump): Release memory of gf.filename after each file.
835 * libgcov-util.c (compute_summary): Use new signature of
92a285c1 836 compute_summary.
6c086e8c
ML
837 (calculate_overlap): Likewise.
838
97a53d1d
ML
8392018-06-05 Martin Liska <mliska@suse.cz>
840
841 PR gcov-profile/47618
842 * libgcov-driver-system.c (replace_filename_variables): New
92a285c1 843 function.
97a53d1d
ML
844 (gcov_exit_open_gcda_file): Use it.
845
7f3577f5
ML
8462018-06-05 Martin Liska <mliska@suse.cz>
847
848 * libgcov-driver.c (gcov_compute_histogram): Remove usage
849 of gcov_ctr_summary.
850 (compute_summary): Do it just for a single summary.
851 (merge_one_data): Likewise.
852 (merge_summary): Simplify as we read just single summary.
853 (dump_one_gcov): Pass proper argument.
854 * libgcov-util.c (compute_one_gcov): Simplify as we have just
855 single summary.
856 (gcov_info_count_all_cold): Likewise.
857 (calculate_overlap): Likewise.
858
cf3cd43d
CJW
8592018-06-02 Chung-Ju Wu <jasonwucj@gmail.com>
860 Monk Chiang <sh.chiang04@gmail.com>
861
862 * config.host (nds32*-linux*): New.
863 * config/nds32/linux-atomic.c: New file.
864 * config/nds32/linux-unwind.h: New file.
865
8b8003ed
UB
8662018-05-31 Uros Bizjak <ubizjak@gmail.com>
867
868 PR target/85591
869 * config/i386/cpuinfo.c (get_amd_cpu): Return
870 AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
871
bbdf026f
RV
8722018-05-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
873
92a285c1 874 * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
bbdf026f 875
0e8f29da
ML
8762018-05-29 Martin Liska <mliska@suse.cz>
877
92a285c1 878 PR gcov-profile/85759
0e8f29da 879 * libgcov-driver-system.c (gcov_error): Introduce usage of
92a285c1 880 GCOV_EXIT_AT_ERROR env. variable.
0e8f29da 881 * libgcov-driver.c (merge_one_data): Print error that we
92a285c1 882 overwrite a gcov file with a different timestamp.
0e8f29da 883
54fd1590
K
8842018-05-23 Kalamatee <kalamatee@gmail.com>
885
886 * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
887 path to Lf$finfty.
888
09baee1a
KC
8892018-05-18 Kito Cheng <kito.cheng@gmail.com>
890 Monk Chiang <sh.chiang04@gmail.com>
891 Jim Wilson <jimw@sifive.com>
892
893 * config/riscv/save-restore.S: Add support for rv32e.
894
c3f808d3
KT
8952018-05-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
896
897 * config/arm/libunwind.S: Update comment relating to armv5.
898
fcf4f831
JL
8992018-05-17 Jerome Lambourg <lambourg@adacore.com>
900
901 * config/arm/cmse.c (cmse_check_address_range): Replace
902 UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
903
74b2bb19
OM
9042018-05-17 Olga Makhotina <olga.makhotina@intel.com>
905
906 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
907 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
908
50e461df
OM
9092018-05-08 Olga Makhotina <olga.makhotina@intel.com>
910
911 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
912 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
913
e5f1cdb1
AC
9142018-05-07 Amaan Cheval <amaan.cheval@gmail.com>
915
916 * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
917
8f479d7a
AT
9182018-04-27 Andreas Tobler <andreast@gcc.gnu.org>
919 Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
920
921 PR libgcc/84292
922 * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
923 op_and_fetch to return the right result.
924
ae043291
AM
9252018-04-27 Alan Modra <amodra@gmail.com>
926
927 PR libgcc/85532
928 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
929 -fno-asynchronous-unwind-tables.
930
ba169b74
CJW
9312018-04-25 Chung-Ju Wu <jasonwucj@gmail.com>
932
933 * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
934 * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
935
ffc2fc06
L
9362018-04-24 H.J. Lu <hongjiu.lu@intel.com>
937
938 * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
939 when including "config/i386/shadow-stack-unwind.h".
940
7b47ecf2
L
9412018-04-24 H.J. Lu <hongjiu.lu@intel.com>
942
943 * configure: Regenerated.
944
661eb8f9
MM
9452018-04-20 Michael Meissner <meissner@linux.ibm.com>
946
947 PR target/85456
948 * config/rs6000/_powikf2.c: New file. Add support for the
949 __builtin_powil function when long double is IEEE 128-bit floating
950 point.
951 * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
952 __powikf2 support.
953 (__powikf2): Likewise.
954 * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
955 (__powikf2_hw): Likewise.
956 (__powikf2): Likewise.
957 * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
958 * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
959 (_powikf2-hw.c): Likewise.
960
5707be3c
L
9612018-04-19 H.J. Lu <hongjiu.lu@intel.com>
962
963 PR libgcc/85334
964 * unwind-generic.h (_Unwind_Frames_Increment): New.
965 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
966 Likewise.
967 * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
968 count with _Unwind_Frames_Increment.
969 (_Unwind_ForcedUnwind_Phase2): Likewise.
970
5f9ca0b8
L
9712018-04-19 H.J. Lu <hongjiu.lu@intel.com>
972
973 PR libgcc/85379
974 * config/i386/morestack.S (__stack_split_initialize): Add
975 _CET_ENDBR.
976
a0e1df88
JJ
9772018-04-19 Jakub Jelinek <jakub@redhat.com>
978
979 * configure: Regenerated.
980
001ddaa8
DM
9812018-04-18 David Malcolm <dmalcolm@redhat.com>
982
983 PR jit/85384
984 * configure: Regenerate.
985
a57f99ba
JJ
9862018-04-16 Jakub Jelinek <jakub@redhat.com>
987
988 PR target/84945
989 * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
990 -Wdangling-else warnings. Mask shift counts to avoid
991 -Wshift-count-negative and -Wshift-count-overflow false positives.
992
4d47fe5a
RB
9932018-04-06 Ruslan Bukin <br@bsdpad.com>
994
995 * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
996
059cc8ac
L
9972018-03-29 H.J. Lu <hongjiu.lu@intel.com>
998
999 PR target/85100
1000 * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
1001 (XSTATE_FP): Likewise.
1002 (XSTATE_SSE): Likewise.
1003 (XSTATE_YMM): Likewise.
1004 (XSTATE_OPMASK): Likewise.
1005 (XSTATE_ZMM): Likewise.
1006 (XSTATE_HI_ZMM): Likewise.
1007 (XCR_AVX_ENABLED_MASK): Likewise.
1008 (XCR_AVX512F_ENABLED_MASK): Likewise.
1009 (get_available_features): Enable AVX and AVX512 features only
1010 if their states are supported by OSXSAVE.
1011
f2620385
IT
10122018-03-22 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1013
1014 PR target/85025
1015 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
1016 Fix a typo, tmp => 255.
1017
ae6dca8c
JJ
10182018-03-20 Jakub Jelinek <jakub@redhat.com>
1019
1020 PR target/84945
1021 * config/i386/cpuinfo.h (__cpu_features2): Declare.
1022 * config/i386/cpuinfo.c (__cpu_features2): New variable for
1023 ifndef SHARED only.
1024 (set_feature): Define.
1025 (get_available_features): Use set_feature macro. Set __cpu_features2
1026 to the second word of features ifndef SHARED.
1027
c36b04c1
JK
10282018-03-15 Julia Koval <julia.koval@intel.com>
1029
1030 * config/i386/cpuinfo.c (get_available_features): Add
1031 FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
1032 FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
1033 * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
1034 FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
1035 FEATURE_AVX512BITALG.
1036
79ab5364
JK
10372018-03-14 Julia Koval <julia.koval@intel.com>
1038
1039 * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
1040 icelake client and icelake server.
1041
66a00b11
JDA
10422018-03-06 John David Anglin <danglin@gcc.gnu.org>
1043
1044 * config/pa/fptr.c (_dl_read_access_allowed): New.
1045 (__canonicalize_funcptr_for_compare): Use it.
af8096fc 1046
ce579a4f
JJ
10472018-02-28 Jakub Jelinek <jakub@redhat.com>
1048
1049 PR debug/83917
1050 * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
1051 $asm_hidden_op if visibility ("hidden") attribute works.
1052 (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
1053 * config/i386/i386-asm.h: Don't include auto-host.h.
1054 (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
1055 PACKAGE_URL): Don't undefine.
1056 (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
1057 guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
1058 (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
1059 #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
1060 definition instead of hardcoded .hidden.
1061 * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
1062 directive. Use #ifdef HAVE_AS_CFI_SECTIONS rather than
1063 #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
1064 (USE_GAS_CFI_DIRECTIVES): Don't define.
1065 * configure: Regenerated.
1066 * config.in: Likewise.
1067
e5868319
JJ
10682018-02-26 Jakub Jelinek <jakub@redhat.com>
1069
1070 PR debug/83917
1071 * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
1072 PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
1073 inclusion of auto-target.h and auto-host.h.
1074 (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
1075 __GCC_HAVE_DWARF2_CFI_ASM.
1076 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
1077 cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
1078 cfi_pop): Define.
1079 * config/i386/cygwin.S: Don't include auto-host.h here, just
1080 define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
1081 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
1082 cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
1083 * config/i386/resms64fx.h: Add cfi_* directives.
1084 * config/i386/resms64x.h: Likewise.
1085
faef260e
MF
10862018-02-20 Max Filippov <jcmvbkbc@gmail.com>
1087
1088 * config/xtensa/ieee754-df.S (__adddf3_aux): Add
1089 .literal_position directive.
1090 * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
1091
14e335ed
IT
10922018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1093
1094 PR target/84148
1095 * configure: Regenerate.
1096
95df0433
IT
10972018-02-16 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1098
1099 PR target/84239
1100 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
1101 Include cetintrin.h not x86intrin.h.
1102
f8de876d
IT
11032018-02-08 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1104
1105 PR target/84239
95df0433 1106 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
f8de876d
IT
1107 Use new _get_ssp and _inc_ssp intrinsics.
1108
02da1e9c
JK
11092018-02-02 Julia Koval <julia.koval@intel.com>
1110
1111 * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
1112
048c6a9a
CZ
11132018-01-26 Claudiu Zissulescu <claziss@synopsys.com>
1114
1115 * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
1116 option.
1117 (__divsi3): Use RF16 safe registers.
1118 (__modsi3): Likewise.
1119
0889f168
MF
11202018-01-23 Max Filippov <jcmvbkbc@gmail.com>
1121
1122 * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
1123 (__divsf3): Make NaN return value quiet.
1124 * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
1125 (__divdf3): Make NaN return value quiet.
1126
bc8b0d04
SP
11272018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
1128
1129 * config/rl78/anddi3.S: New assembly file.
1130 * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
1131
99cc06ea
SP
11322018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
1133
1134 * config/rl78/umindi3.S: New assembly file.
1135 * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
1136
6e9007a0
SP
11372018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
1138
1139 * config/rl78/smindi3.S: New assembly file.
1140 * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
1141
d975e494 11422018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
af8096fc 1143
d975e494
SP
1144 * config/rl78/smaxdi3.S: New assembly file.
1145 * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
1146
6a18c146 11472018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
af8096fc 1148
5dd16013
SP
1149 * config/rl78/umaxdi3.S: New assembly file.
1150 * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
af8096fc 1151
07baf4a5
JDA
11522018-01-21 John David Anglin <danglin@gcc.gnu.org>
1153
1154 PR lto/83452
1155 * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
1156 * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
af8096fc 1157
dbc3af4f
RS
11582018-01-13 Richard Sandiford <richard.sandiford@linaro.org>
1159
1160 * config/aarch64/value-unwind.h (aarch64_vg): New function.
1161 (DWARF_LAZY_REGISTER_VALUE): Define.
1162 * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
1163 to provide a fallback register value.
1164
68df9882
MM
11652018-01-08 Michael Meissner <meissner@linux.vnet.ibm.com>
1166
1167 * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
1168 __ibm128, instead of trying to use long double.
1169 (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
1170 accomidate -mabi=ieeelongdouble multilibs.
1171 (CVT_IBM128_TO_FLOAT128): Likewise.
1172 * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
1173 the appropriate IBM extended double type.
1174 (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
1175 (__gcc_qsub): Likewise.
1176 (__gcc_qmul): Likewise.
1177 (__gcc_qdiv): Likewise.
1178 (pack_ldouble): Likewise.
1179 (__gcc_qneg): Likewise.
1180 (__gcc_qeq): Likewise.
1181 (__gcc_qne): Likewise.
1182 (__gcc_qge): Likewise.
1183 (__gcc_qle): Likewise.
1184 (__gcc_stoq): Likewise.
1185 (__gcc_dtoq): Likewise.
1186 (__gcc_itoq): Likewise.
1187 (__gcc_utoq): Likewise.
1188 (__gcc_qunord): Likewise.
1189 * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
1190 quad-float128.h for the definitions.
1191 (COPYSIGN): Use the f128 version instead of the q version.
1192 (INFINITY): Likewise.
1193 (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
1194 * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
1195 quad-float128.h for the definitions.
1196 (COPYSIGN): Use the f128 version instead of the q version.
1197 (INFINITY): Likewise.
1198 (FABS): Likewise.
1199 (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
1200 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
1201 * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
1202
64b371b1
SH
12032018-01-05 Sebastian Huber <sebastian.huber@embedded-brains.de>
1204
1205 * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
1206 configuration.
1207
85ec4feb
JJ
12082018-01-03 Jakub Jelinek <jakub@redhat.com>
1209
1210 Update copyright years.
1211
12122017-12-12 Kito Cheng <kito.cheng@gmail.com>
b8d7e076
KC
1213
1214 * config/riscv/t-elf: Use multi3.c instead of multi3.S.
1215 * config/riscv/multi3.c: New file.
1216 * config/riscv/multi3.S: Remove.
1217
3a4c600f
JW
12182017-12-08 Jim Wilson <jimw@sifive.com>
1219
1220 * config/riscv/div.S: Use FUNC_* macros.
1221 * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
1222 * config/riscv/save-restore.S: Likewise.
1223 * config/riscv/riscv-asm.h: New.
1224
75ad35b5
MM
12252017-11-30 Michael Meissner <meissner@linux.vnet.ibm.com>
1226
6ae3512c
MM
1227 * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
1228 * config/rs6000/_divkc3.c (__divkc3): Likewise.
1229
75ad35b5
MM
1230 PR libgcc/83112
1231 * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
1232 correct type for all ifunc resolvers to silence -Wattribute-alias
1233 warnings. Eliminate the forward declaration of the resolver
1234 functions which is no longer needed.
1235 (__subkf3_resolve): Likewise.
1236 (__mulkf3_resolve): Likewise.
1237 (__divkf3_resolve): Likewise.
1238 (__negkf2_resolve): Likewise.
1239 (__eqkf2_resolve): Likewise.
1240 (__nekf2_resolve): Likewise.
1241 (__gekf2_resolve): Likewise.
1242 (__gtkf2_resolve): Likewise.
1243 (__lekf2_resolve): Likewise.
1244 (__ltkf2_resolve): Likewise.
1245 (__unordkf2_resolve): Likewise.
1246 (__extendsfkf2_resolve): Likewise.
1247 (__extenddfkf2_resolve): Likewise.
1248 (__trunckfsf2_resolve): Likewise.
1249 (__trunckfdf2_resolve): Likewise.
1250 (__fixkfsi_resolve): Likewise.
1251 (__fixkfdi_resolve): Likewise.
1252 (__fixunskfsi_resolve): Likewise.
1253 (__fixunskfdi_resolve): Likewise.
1254 (__floatsikf_resolve): Likewise.
1255 (__floatdikf_resolve): Likewise.
1256 (__floatunsikf_resolve): Likewise.
1257 (__floatundikf_resolve): Likewise.
1258 (__extendkftf2_resolve): Likewise.
1259 (__trunctfkf2_resolve): Likewise.
1260
1261 PR libgcc/83103
1262 * config/rs6000/quad-float128.h (TF): Don't define if long double
1263 is IEEE 128-bit floating point.
1264 (TCtype): Define as either TCmode or KCmode, depending on whether
1265 long double is IEEE 128-bit floating point.
1266 (__mulkc3_sw): Add declarations for software/hardware versions of
1267 complex multiply/divide.
1268 (__divkc3_sw): Likewise.
1269 (__mulkc3_hw): Likewise.
1270 (__divkc3_hw): Likewise.
1271 * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
1272 handlers to switch between using software emulation and hardware
1273 float128 instructions, build the complex multiply/divide functions
1274 for both software and hardware support.
1275 * config/rs6000/_divkc3.c (_divkc3): Likewise.
1276 * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
1277 (__divkc3_resolve): Likewise.
1278 (__mulkc3): Likewise.
1279 (__divkc3): Likewise.
1280 * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
1281 (fp128_hw_src): Likewise.
1282 (fp128_hw_static_obj): Likewise.
1283 (fp128_hw_shared_obj): Likewise.
1284 (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
1285 _mulkc3.c and _divkc3.c, changing the function name.
1286 (_divkc3-hw.c): Likewise.
1287 * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
1288 and _divkc3-hw.c.
1289
c234d831
UB
12902017-11-26 Julia Koval <julia.koval@intel.com>
1291
1292 * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
1293 * config/i386/cpuinfo.h (processor_subtypes): Add
1294 INTEL_COREI7_CANNONLAKE.
1295
1ebafce0
IT
12962017-11-20 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1297
1298 PR bootstrap/83015
1299 * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
1300 parameter.
1301 * config/xtensa/unwind-dw2-xtensa.c: Likewise
1302 * config/ia64/unwind-ia64.c: Add frames parameter.
1303 * unwind-sjlj.c: Likewise.
1304
6a10fff4
IT
13052017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1306
1307 * config/i386/linux-unwind.h: Include
1308 config/i386/shadow-stack-unwind.h.
1309 * config/i386/shadow-stack-unwind.h: New file.
1310 * unwind-dw2.c: (uw_install_context): Add a frame parameter and
1311 pass it to _Unwind_Frames_Extra.
1312 * unwind-generic.h (_Unwind_Frames_Extra): New.
1313 * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
1314 parameter. Add local variable frames to count number of frames.
1315 (_Unwind_ForcedUnwind_Phase2): Likewise.
1316 (_Unwind_RaiseException): Add local variable frames to count
1317 number of frames, pass it to _Unwind_RaiseException_Phase2 and
1318 uw_install_context.
1319 (_Unwind_ForcedUnwind): Likewise.
1320 (_Unwind_Resume): Likewise.
1321 (_Unwind_Resume_or_Rethrow): Likewise.
1322
1ecae1fc
IT
13232017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1324
1325 * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
1326 (CET_FLAGS): New.
1327 * config/i386/morestack.S: Include <cet.h>.
1328 (__morestack_large_model): Add _CET_ENDBR at function entrance.
1329 * config/i386/resms64.h: Include <cet.h>.
1330 * config/i386/resms64f.h: Likewise.
1331 * config/i386/resms64fx.h: Likewise.
1332 * config/i386/resms64x.h: Likewise.
1333 * config/i386/savms64.h: Likewise.
1334 * config/i386/savms64f.h: Likewise.
1335 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
1336 (CRTSTUFF_T_CFLAGS): Likewise.
1337 * configure.ac: Include ../config/cet.m4.
1338 Set and substitute CET_FLAGS.
1339 * configure: Regenerated.
1340
f021f1d3
RO
13412017-11-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1342
1343 * config.host (*-*-solaris2*): Adapt comment for Solaris 12
1344 renaming.
1345 * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
1346 * configure.ac (libgcc_cv_solaris_crts): Likewise.
1347 * configure: Regenerate.
1348
65f480c7
TV
13492017-11-07 Tom de Vries <tom@codesourcery.com>
1350
1351 * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
1352 after "do {} while (0)".
1353
2a321acb
TV
13542017-11-07 Tom de Vries <tom@codesourcery.com>
1355
1356 PR other/82784
1357 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
1358 semicolon after "do {} while (0)".
1359 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1360 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1361 * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1362 * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1363
59fcf6c3
AT
13642017-11-04 Andreas Tobler <andreast@gcc.gnu.org>
1365
1366 PR libgcc/82635
1367 * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
1368 sysctl to determine whether we're in a trampoline.
1369 Keep the pattern matching method for systems without
1370 KERN_PROC_SIGTRAMP sysctl.
1371
b0c7ddf8
CM
13722017-11-03 Cupertino Miranda <cmiranda@synopsys.com>
1373 Vineet Gupta <vgupta@synopsys.com>
1374
1375 * config.host (arc*-*-linux*): Set md_unwind_header variable.
1376 * config/arc/linux-unwind-reg.def: New file.
1377 * config/arc/linux-unwind-reg.h: Likewise.
1378
5feee954
SP
13792017-10-23 Sebastian Perta <sebastian.perta@renesas.com>
1380
1381 * config/rl78/subdi3.S: New assembly file.
1382 * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
1383
a0bf6cf7
SP
13842017-10-13 Sebastian Perta <sebastian.perta@renesas.com>
1385
1386 * config/rl78/adddi3.S: New assembly file.
1387 * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
1388
e7176f75
JJ
13892017-10-13 Jakub Jelinek <jakub@redhat.com>
1390
1391 PR target/82274
1392 * libgcc2.c (__mulvDI3): If both operands have
1393 the same highpart of -1 and the topmost bit of lowpart is 0,
1394 multiplication overflows even if both lowparts are 0.
1395
db6601d2
JB
13962017-09-28 James Bowman <james.bowman@ftdichip.com>
1397
1398 * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
1399
938b6f1e
JM
14002017-09-26 Joseph Myers <joseph@codesourcery.com>
1401
1402 * config/microblaze/crti.S, config/microblaze/crtn.S,
1403 config/microblaze/divsi3.S, config/microblaze/moddi3.S,
1404 config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
1405 config/microblaze/mulsi3.S,
1406 config/microblaze/stack_overflow_exit.S,
1407 config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
1408 config/pa/milli64.S: Add .note.GNU-stack section.
1409
89762a83
DS
14102017-09-23 Daniel Santos <daniel.santos@pobox.com>
1411
1412 * configure.ac: Add Check for HAVE_AS_AVX.
1413 * config.in: Regenerate.
1414 * configure: Likewise.
1415 * config/i386/i386-asm.h: Include auto-target.h from libgcc.
1416 (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
1417 Correct out-of-date comments.
1418
cace2309
SP
14192017-09-20 Sebastian Peryt <sebastian.peryt@intel.com>
1420
1421 * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
1422 * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
1423
3cb626e4
DS
14242017-09-17 Daniel Santos <daniel.santos@pobox.com>
1425
cace2309 1426 * config/i386/i386-asm.h (PASTE2): New macro.
3cb626e4
DS
1427 (ASMNAME): Modify to use PASTE2.
1428 (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
1429 (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
cace2309 1430 * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
3cb626e4 1431 instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
cace2309
SP
1432 * config/i386/resms64f.S: Likewise.
1433 * config/i386/resms64fx.S: Likewise.
1434 * config/i386/resms64x.S: Likewise.
1435 * config/i386/savms64.S: Likewise.
1436 * config/i386/savms64f.S: Likewise.
1437 * config/i386/avx_resms64.S: New file that only defines a macro and
3cb626e4 1438 includes it's corresponding header file.
cace2309
SP
1439 * config/i386/avx_resms64f.S: Likewise.
1440 * config/i386/avx_resms64fx.S: Likewise.
1441 * config/i386/avx_resms64x.S: Likewise.
1442 * config/i386/avx_savms64.S: Likewise.
1443 * config/i386/avx_savms64f.S: Likewise.
1444 * config/i386/sse_resms64.S: Likewise.
1445 * config/i386/sse_resms64f.S: Likewise.
1446 * config/i386/sse_resms64fx.S: Likewise.
1447 * config/i386/sse_resms64x.S: Likewise.
1448 * config/i386/sse_savms64.S: Likewise.
1449 * config/i386/sse_savms64f.S: Likewise.
1450 * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
3cb626e4 1451
2f19c491 14522017-09-01 Olivier Hainque <hainque@adacore.com>
2f19c491
OH
1453 * config.host (*-*-vxworks7): Widen scope to vxworks7*.
1454
611e7036
OH
14552017-08-31 Olivier Hainque <hainque@adacore.com>
1456
1457 * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
1458 match as powerpc-wrs-vxworks*.
1459
c8f34527
JY
14602017-08-07 Jonathan Yong <10walls@gmail.com>
1461
1462 * config.host (*-cygwin): Include file from mingw
1463 config/i386/enable-execute-stack-mingw32.c
1464
0b458d2b 14652017-08-01 Jerome Lambourg <lambourg@adacore.com>
92a285c1
ML
1466 Doug Rupp <rupp@adacore.com>
1467 Olivier Hainque <hainque@adacore.com>
0b458d2b
JL
1468
1469 * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
1470 as well as arm-wrs-vxworks.
1471 * config/arm/t-vxworks7: New file. Add unwind-arm-vxworks.c to
1472 LIB2ADDEH.
1473 * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
1474 __exidx_start and __exidx_end for downloadable modules.
1475
4df612fa
OH
14762017-08-01 Olivier Hainque <hainque@adacore.com>
1477
1478 * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
1479 * config/t-vxworks7: Likewise.
1480
5560e8c0
OH
14812017-08-01 Olivier Hainque <hainque@adacore.com>
1482
1483 * config/t-vxworks: Instead of redefining LIB2ADD,
1484 augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
1485
16bab95a
SH
14862017-07-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1487
1488 * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
1489
9cbc07cc
DS
14902017-07-24 Daniel Santos <daniel.santos@pobox.com>
1491
1492 PR testsuite/80759
1493 * config.host: include i386/t-msabi for darwin and solaris.
1494 * config/i386/i386-asm.h
1495 (ELFFN): Rename to FN_TYPE.
1496 (FN_SIZE): New macro.
1497 (FN_HIDDEN): Likewise.
1498 (ASMNAME): Likewise.
1499 (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
1500 .globl.
1501 (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
1502 (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
1503 * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
1504 .macro.
1505 * config/i386/resms64f.S: Likewise.
1506 * config/i386/resms64fx.S: Likewise.
1507 * config/i386/resms64x.S: Likewise.
1508 * config/i386/savms64.S: Likewise.
1509 * config/i386/savms64f.S: Likewise.
1510
de742204
JM
15112017-07-19 John Marino <gnugcc@marino.st>
1512
1513 * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
1514
3787ee47
MM
15152017-07-12 Michael Meissner <meissner@linux.vnet.ibm.com>
1516
1517 PR target/81193
1518 * configure.ac (PowerPC float128 hardware support): Test whether
1519 we can use __builtin_cpu_supports before enabling the ifunc
1520 handler.
1521 * configure: Regenerate.
1522
b1938888
VG
15232017-07-10 Vineet Gupta <vgupta@synopsys.com>
1524
1525 * config.host: Remove uclibc from arc target spec.
1526
bec75e53
KW
15272017-07-09 Krister Walfridsson <krister.walfridsson@gmail.com>
1528
1529 * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
1530
d4391a62
PB
15312017-07-07 Peter Bergner <bergner@vnet.ibm.com>
1532
1533 * config/rs6000/float128-ifunc.c: Don't include auxv.h.
1534 (have_ieee_hw_p): Delete function.
1535 (SW_OR_HW) Use __builtin_cpu_supports().
1536
9296dd9b
TP
15372017-07-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
1538
1539 * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
1540
b85a969e
OH
15412017-07-03 Olivier Hainque <hainque@adacore.com>
1542
d4391a62 1543 * config/t-vxworks7: New file, really.
b85a969e 1544
883312dc
JM
15452017-06-28 Joseph Myers <joseph@codesourcery.com>
1546
1547 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
1548 config/alpha/linux-unwind.h (alpha_fallback_frame_state),
1549 config/bfin/linux-unwind.h (bfin_fallback_frame_state),
1550 config/i386/linux-unwind.h (x86_64_fallback_frame_state,
1551 x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
1552 uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
1553 config/pa/linux-unwind.h (pa32_fallback_frame_state),
1554 config/riscv/linux-unwind.h (riscv_fallback_frame_state),
1555 config/sh/linux-unwind.h (sh_fallback_frame_state),
1556 config/tilepro/linux-unwind.h (tile_fallback_frame_state),
1557 config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
1558 ucontext_t instead of struct ucontext.
1559
50567938
JL
15602017-06-27 Jerome Lambourg <lambourg@adacore.com>
1561
1562 * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
1563 (x86_64-wrs-vxworks7): Likewise.
1564
e4b0df93
OH
15652017-06-27 Olivier Hainque <hainque@adacore.com>
1566
1567 * config/t-vxworks7: New file.
1568 * config.host (*-*-vxworks7): Use it.
1569
60edf8bb
MT
15702017-06-22 Matt Turner <mattst88@gmail.com>
1571
1572 * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
1573 skylake case.
1574
a51a76e5
RB
15752017-06-21 Richard Biener <rguenther@suse.de>
1576
1577 PR gcov-profile/81080
1578 * configure.ac: Add AC_SYS_LARGEFILE.
1579 * libgcov.h: Include auto-target.h before tsystem.h to pick
1580 up _FILE_OFFSET_BITS which might differ for multilibs.
1581 * config.in: Regenerate.
1582 * configure: Likewise.
1583
f0cd49c5
RE
15842017-06-16 Richard Earnshaw <rearnsha@arm.com>
1585
1586 * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
1587
4f751c54
ML
15882017-06-09 Martin Liska <mliska@suse.cz>
1589
1590 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
1591 Reset __gcov_indirect_call_callee to NULL.
1592
1ac644c8
OH
15932017-06-08 Olivier Hainque <hainque@adacore.com>
1594
1595 * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
1596 the set of -I options, support for direct inclusions of net/uio.h
1597 by VxWorks header files via ioLib.h.
1598
d8b9cd27
TR
15992017-06-07 Tony Reix <tony.reix@atos.net>
1600 Matthieu Sarter <matthieu.sarter.external@atos.net>
1601 David Edelsohn <dje.gcc@gmail.com>
1602
92a285c1
ML
1603 * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
1604 unconditionally.
1605 (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support. Add 32-bit
1606 AIX 7.2 support.
d8b9cd27 1607
38a75ccc
OH
16082017-06-02 Olivier Hainque <hainque@adacore.com>
1609
1610 * config/vxlib.c (__gthread_once): Add missing value to
1611 return statement.
1612
5b2edf53
OH
16132017-05-30 Olivier Hainque <hainque@adacore.com>
1614
1615 * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
1616 dollar sign before $(MULTIDIR).
1617
7d66e265
RH
16182017-05-26 Richard Henderson <rth@redhat.com>
1619
1620 PR libgcc/80037
1621 * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
1622
78eca309
AT
16232017-05-17 Andreas Tobler <andreast@gcc.gnu.org>
1624
1625 * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
1626 _Unwind_SetIP available as functions for arm*-*-freebsd*.
1627 * config/arm/unwind-arm.c: Implement the above.
1628
c39d309a
AZ
16292017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1630
1631 * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
1632 section for a non-executable stack.
1633
eac8c9f2
KW
16342017-05-14 Krister Walfridsson <krister.walfridsson@gmail.com>
1635
1636 PR target/80600
1637 * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
1638
d6d4d770
DS
16392017-05-14 Daniel Santos <daniel.santos@pobox.com>
1640
1641 * config.host: Add i386/t-msabi to i386/t-linux file list.
1642 * config/i386/i386-asm.h: New file.
1643 * config/i386/resms64.S: New file.
1644 * config/i386/resms64f.S: New file.
1645 * config/i386/resms64fx.S: New file.
1646 * config/i386/resms64x.S: New file.
1647 * config/i386/savms64.S: New file.
1648 * config/i386/savms64f.S: New file.
1649 * config/i386/t-msabi: New file.
1650
8ef2b9a7
AT
16512017-05-09 Andreas Tobler <andreast@gcc.gnu.org>
1652
1653 * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
1654 arm*-*-freebsd* instead of the t-slibgcc-libgcc.
1655
7ab8766a
JC
16562017-05-05 Joshua Conner <joshconner@google.com>
1657
1658 * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
1659 pc-relative indirect handling for fuchsia.
1660 * config/t-slibgcc-fuchsia: New file.
1661 * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
d6d4d770 1662 x86_64-*-fuchsia*): Add definitions.
7ab8766a 1663
46928a8f
ML
16642017-04-19 Martin Liska <mliska@suse.cz>
1665
1666 PR gcov-profile/80435
1667 * Makefile.in: Install gcov.h.
1668 * gcov.h: New file.
1669 * libgcov.h: Use the header and make __gcov_flush publicly
1670 visible.
1671
63971184
ML
16722017-04-18 Martin Liska <mliska@suse.cz>
1673
1674 PR gcov-profile/78783
1675 * libgcov-driver.c (gcov_get_filename): New function.
1676
29d8aae6
JL
16772017-04-07 Jeff Law <law@redhat.com>
1678
1679 * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
1680 target makefile fragment.
1681 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
1682
2bdf7fc6
AM
16832017-04-07 Alan Modra <amodra@gmail.com>
1684
1685 PR target/45053
1686 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
1687
5764ee3c
JW
16882017-04-03 Jonathan Wakely <jwakely@redhat.com>
1689
1690 * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
1691
c4192ad7
CZ
16922017-03-27 Claudiu Zissulescu <claziss@synopsys.com>
1693
1694 * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
1695
4ccfdb28
JM
16962017-03-10 John Marino <gnugcc@marino.st>
1697
1698 * config/aarch64/freebsd-unwind.h: New file.
1699 * config.host: Add aarch64-*-freebsd unwinder.
1700
4144e4e3
SB
17012017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
1702
1703 * config/rs6000/crtrestvr.s: Use .machine altivec.
1704 * config/rs6000/crtsavevr.s: Ditto.
1705
7502c597
SB
17062017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
1707
1708 * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
1709 modify CFLAGS. Add -mabi=altivec -mvsx -mfloat128.
1710 (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
1711 -mfloat128-hardware to the CFLAGS. Fix syntax error in the C snippet.
1712 * configure: Regenerate.
1713 * config.in: Regenerate.
1714
db9f7f65
JY
17152017-03-02 Jonathan Yong <10walls@gmail.com>
1716
1717 * config/i386/gthr-win32.h: Define NOGDI before
1718 windows.h include to prevent w32api CC_NONE macro
1719 clash with libgfortran.
1720
126437c5
JY
17212017-03-02 Jonathan Yong <10walls@gmail.com>
1722
1723 * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
1724
31927af6
AP
17252017-02-16 Andrew Pinski <apinski@cavium.com>
1726
1727 * config/aarch64/value-unwind.h: New file.
1728 * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
1729 to tm_file.
1730
0bd99911
PD
17312017-02-06 Palmer Dabbelt <palmer@dabbelt.com>
1732
1733 * config.host: Add RISC-V tuples.
1734 * config/riscv/atomic.c: New file.
1735 * config/riscv/crti.S: Likewise.
1736 * config/riscv/crtn.S: Likewise.
1737 * config/riscv/div.S: Likewise.
1738 * config/riscv/linux-unwind.h: Likewise.
1739 * config/riscv/muldi3.S: Likewise.
1740 * config/riscv/multi3.S: Likewise.
1741 * config/riscv/save-restore.S: Likewise.
1742 * config/riscv/sfp-machine.h: Likewise.
1743 * config/riscv/t-elf: Likewise.
1744 * config/riscv/t-elf32: Likewise.
1745 * config/riscv/t-elf64: Likewise.
1746 * config/riscv/t-softfp32: Likewise.
1747 * config/riscv/t-softfp64: Likewise.
1748
a8c9ef2a
JJ
17492017-01-24 Jakub Jelinek <jakub@redhat.com>
1750
1751 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
1752 /* FALLTHRU */ comments.
1753
c6c82710
GP
17542017-01-21 Gerald Pfeifer <gerald@pfeifer.com>
1755
1756 * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
1757
a876231c
JW
17582017-01-20 Jiong Wang <jiong.wang@arm.com>
1759
1760 * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
1761 * unwind-dw2.c (execute_cfa_program): Only multiplexing
1762 DW_CFA_GNU_window_save for AArch64 and LP64.
1763
aa348be2
JW
17642017-01-20 Jiong Wang <jiong.wang@arm.com>
1765
1766 * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
1767
5636faf2
JW
17682017-01-19 Jiong Wang <jiong.wang@arm.com>
1769
1770 * config/aarch64/aarch64-unwind.h: New file.
1771 (DWARF_REGNUM_AARCH64_RA_STATE): Define.
1772 (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
1773 (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
1774 (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
1775 (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
1776 (aarch64_post_extract_frame_addr): New function.
1777 (aarch64_post_frob_eh_handler_addr): New function.
1778 (aarch64_frob_update_context): New function.
1779 * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
1780 * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
1781 aarch64*-*-freebsd*):
1782 Initialize md_unwind_header to include aarch64-unwind.h.
1783 * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
1784 (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
1785 __aarch64__.
1786 (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
1787 (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
1788 (uw_frob_return_addr): New function.
1789 (uw_install_context): Use uw_frob_return_addr.
1790
3c36aa6b
JJ
17912017-01-17 Jakub Jelinek <jakub@redhat.com>
1792
1793 PR other/79046
1794 * configure.ac: Add GCC_BASE_VER.
1795 * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
1796 version from BASE-VER file.
1797 * configure: Regenerated.
1798
829afb8f
JS
17992017-01-13 Joe Seymour <joe.s@somniumtech.com>
1800
1801 * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
1802 libmul_f5.a): Filter archived prerequisites.
1803
79fc8ffe
AS
18042017-01-10 Andrew Senkevich <andrew.senkevich@intel.com>
1805
1806 * config/i386/cpuinfo.h (processor_features): Add
1807 FEATURE_AVX512VPOPCNTDQ.
1808 * config/i386/cpuinfo.c (get_available_features): Habdle new
1809 feature.
1810
fec5f4e0
JM
18112017-01-04 Joseph Myers <joseph@codesourcery.com>
1812
1813 * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
1814 payload if [__mips_nan2008].
1815
8f56cb51
AM
18162017-01-04 Alan Modra <amodra@gmail.com>
1817
1818 * Makefile.in (configure_deps): Update.
1819 * configure: Regenerate.
1820
cbe34bb5
JJ
18212017-01-01 Jakub Jelinek <jakub@redhat.com>
1822
1823 Update copyright years.
1824
ab955692
KW
18252016-12-19 Krister Walfridsson <krister.walfridsson@gmail.com>
1826
1827 * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
1828 * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
1829 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
1830
de34320f
MK
18312016-12-17 Matthias Klose <doko@ubuntu.com>
1832
1833 * config/arc/gmon: Remove empty directory.
1834
e04ea1da
CZ
18352016-12-16 Claudiu Zissulescu <claziss@synopsys.com>
1836
1837 * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
1838 crtgend.
1839 (arc*-*-elf*): Likewise.
1840 * config/arc/t-arc: Remove old gmon lib targets.
1841 * config/arc/crtg.S: Remove.
1842 * config/arc/crtgend.S: Likewise.
1843 * config/arc/gmon/atomic.h: Likewise.
1844 * config/arc/gmon/auxreg.h: Likewise.
1845 * config/arc/gmon/dcache_linesz.S: Likewise.
1846 * config/arc/gmon/gmon.c: Likewise.
1847 * config/arc/gmon/machine-gmon.h: Likewise.
1848 * config/arc/gmon/mcount.c: Likewise.
1849 * config/arc/gmon/prof-freq-stub.S: Likewise.
1850 * config/arc/gmon/prof-freq.c: Likewise.
1851 * config/arc/gmon/profil.S: Likewise.
1852 * config/arc/gmon/sys/gmon.h: Likewise.
1853 * config/arc/gmon/sys/gmon_out.h: Likewise.
1854 * config/arc/t-arc-newlib: Likewise.
1855 * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
1856
8ae1c2c1
GS
18572016-12-12 George Spelvin <linux@sciencehorizons.net>
1858
1859 * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
1860
a5b947fa
GS
18612016-12-12 George Spelvin <linux@sciencehorizons.net>
1862
1863 * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
1864 R16 instead of push + pop.
1865 (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
1866
d6574dd1
KW
18672016-12-10 Krister Walfridsson <krister.walfridsson@gmail.com>
1868
1869 * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
1870 tmake_file.
1871
62440b4f
CM
18722016-12-05 Cupertino Miranda <cmiranda@synopsys.com>
1873
1874 * config.host (arc*-*-linux-uclibc*): Use default extra
1875 objects. Include linux-android header.
1876 * config/arc/crti.S (_init): Declare symbol as function.
1877 (_fini): Likewise.
1878
31cfd832
TK
18792016-12-03 Thomas Koenig <tkoenig@gcc.gnu.org>
1880
1881 PR fortran/78379
1882 * config/i386/cpuinfo.c: Move denums for processor vendors,
1883 processor type, processor subtypes and declaration of
1884 struct __processor_model into
1885 * config/i386/cpuinfo.h: New header file.
1886
c92e08e3
AV
18872016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
1888 Thomas Preud'homme <thomas.preudhomme@arm.com>
1889
1890 * config/arm/cmse_nonsecure_call.S: New.
1891 * config/arm/t-arm: Compile cmse_nonsecure_call.S
1892
de7b5723
AV
18932016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
1894 Thomas Preud'homme <thomas.preudhomme@arm.com>
1895
1896 * config/arm/t-arm (HAVE_CMSE): New.
1897 * config/arm/cmse.c: New.
1898
7a0d2bce
TP
18992016-11-28 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
1900
b3a5bff4
TP
1901 PR gcc/74748
1902 * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
1903 use generic linker version information on Blackfin.
1904
7a0d2bce
TP
1905 PR gcc/74748
1906 * libgcc/mkmap-symver.awk: add support for skip_underscore
1907
b410cf1d
IS
19082016-11-27 Iain Sandoe <iain@codesourcery.com>
1909 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1910
1911 PR target/67710
1912 * config/t-darwin: Default builds to 10.5 codegen.
1913
2e5f8203
JG
19142016-11-24 James Greenhalgh <james.greenhalgh@arm.com>
1915
1916 * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
1917 (_FP_NANSIGN_H): Likewise.
1918 * config/aarch64/t-softfp (softfp_extensions): Add hftf.
1919 (softfp_truncations): Add tfhf.
1920 (softfp_extras): Add required conversion functions.
1921
bea64ca3
JG
19222016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
1923 Matthew Wahab <matthew.wahab@arm.com>
1924
1925 * config/arm/fp16.c (binary64): New.
1926 (__gnu_d2h_internal): New.
1927 (__gnu_d2h_ieee): New.
1928 (__gnu_d2h_alternative): New.
1929
8630cadb
JG
19302016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
1931 Matthew Wahab <matthew.wahab@arm.com>
1932
1933 * config/arm/fp16.c (struct format): New.
1934 (binary32): New.
1935 (__gnu_float2h_internal): New. Body moved from
1936 __gnu_f2h_internal and generalize.
1937 (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
1938 Call it with binary32.
1939
5823ef23
JG
19402016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
1941
1942 * soft-fp/extendhftf2.c: Update from glibc.
1943 * soft-fp/fixhfti.c: Likewise.
1944 * soft-fp/fixunshfti.c: Likewise.
1945 * soft-fp/floattihf.c: Likewise.
1946 * soft-fp/floatuntihf.c: Likewise.
1947 * soft-fp/half.h: Likewise.
1948 * soft-fp/trunctfhf2.c: Likewise.
1949
62a7df9f
MG
19502016-11-20 Marc Glisse <marc.glisse@inria.fr>
1951
1952 PR libgcc/77813
1953 * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
1954 __TMC_END__ behind a passthrough asm.
1955
7a384912
WL
19562016-11-18 Walter Lee <walt@tilera.com>
1957
62a7df9f 1958 * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
7a384912 1959
9775c1a5
L
19602016-11-17 Andrew Senkevich <andrew.senkevich@intel.com>
1961
1962 * config/i386/cpuinfo.c (processor_features): Add
1963 FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
1964
48c842ab
CZ
19652016-11-17 Claudiu Zissulescu <claziss@synopsys.com>
1966
1967 * config/arc/dp-hack.h (ARC_OPTFPE): Define.
1968 (__ARC_NORM__): Use instead ARC_OPTFPE.
1969 * config/arc/fp-hack.h: Likewise.
1970 * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
1971 (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
1972
5012919d
AM
19732016-11-16 Alexander Monakov <amonakov@ispras.ru>
1974
1975 * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
1976 * config/nvptx/mgomp.c: New file.
1977 * config/nvptx/t-nvptx: Add mgomp.c
1978
00178b98
WB
19792016-11-16 Waldemar Brodkorb <wbx@openadk.org>
1980
1981 PR libgcc/68468
1982 * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
1983
d64af69f
CZ
19842016-11-15 Claudiu Zissulescu <claziss@synopsys.com>
1985
1986 * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
1987 of checking for cpus.
1988 (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
1989 (__modsi3, __clzsi2): Likewise.
1990
9d8f95de
SN
19912016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
1992
1993 * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
1994 i386/t-cpuinfo-static instead of i386/t-cpuinfo.
1995 * config/i386/t-cpuinfo-static: New.
1996
7d29f8e3
ML
19972016-11-03 Martin Liska <mliska@suse.cz>
1998
1999 * libgcov-profiler.c (__gcov_time_profiler): Remove.
2000 (__gcov_time_profiler_atomic): Likewise.
2001
5de3e2d8
BE
20022016-11-03 Bernd Edlinger <bernd.edlinger@hotmail.de>
2003
2004 PR libgcc/78067
2005 * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
2006 count_leading_zeros.
2007
18362447
UB
20082016-11-02 Uros Bizjak <ubizjak@gmail.com>
2009
2010 * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
2011 * libgcc2.c (__divmoddi4): New function.
2012 * libgcc2.h (__divmoddi4): Declare.
2013 * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
2014 and __PFX_divmodti4.
2015
33107571
FW
20162016-10-24 Florian Weimer <fweimer@redhat.com>
2017
2018 PR libgcc/78064
2019 * unwind-c.c: Include auto-target.h.
2020
4c6d7494
JDA
20212016-10-19 John David Anglin <danglin@gcc.gnu.org>
2022
18362447 2023 * config/pa/pa64-hpux-lib.h: New file.
4c6d7494
JDA
2024 (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
2025 (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
2026 * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
2027 hppa*64*-*-hpux11*.
2028
2a26adf1
MF
20292016-10-18 Max Filippov <jcmvbkbc@gmail.com>
2030
2031 * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
2032 definition.
2033 * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
2034 definition.
2035 * config/xtensa/t-windowed (LIB2ADDEH): Use
2036 LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
2037 or xtensa/t-linux.
2038
66192aa1
DKC
20392016-10-18 Ding-Kai Chen <dkchen@cadence.com>
2040
2041 * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
2042 __ieee754_sqrt): New functions.
2043 (__divdf3): Add implementation with new FPU instructions under
2044 #if XCHAL_HAVE_DFP_DIV.
2045 * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
2046 __ieee754_sqrtf): New functions.
2047 (__divsf3): Add implementation with new FPU instructions under
2048 #if XCHAL_HAVE_FP_DIV.
2049 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
2050 _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
2051
4d0cdd0c
TP
20522016-10-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
2053
2054 * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
2055 equivalent.
2056 * config/tilepro/atomic.c: Likewise and stop casting model to
2057 enum memmodel.
2058
73f01cca
JM
20592016-10-10 Joseph Myers <joseph@codesourcery.com>
2060
2061 PR target/77586
2062 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
2063 soft-fp.
2064
b20e7532
AT
20652016-10-10 Andreas Tobler <andreast@gcc.gnu.org>
2066
2067 * config.host: Add support for aarch64-*-freebsd*.
2068
a786cec4
AS
20692016-10-05 Andreas Schwab <schwab@suse.de>
2070
2071 * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
2072 (.section .init_array): Don't call __do_jv_register_classes.
2073 (.section .init): Likewise.
2074
5a79befb
JJ
20752016-10-04 Jakub Jelinek <jakub@redhat.com>
2076
2077 * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
2078 (__JCR_LIST__): Remove.
2079 (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
2080 * config/i386/cygming-crtend.c (__JCR_END__): Remove.
2081 * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
2082 * config/ia64/crtend.S (__JCR_END__): Remove.
2083 * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
2084 conditionals.
2085 (__JCR_LIST__, __JCR_END__): Remove.
2086 (frame_dummy): Don't attempt to _Jv_RegisterClasses.
2087 (__do_global_ctors_1): Likewise.
2088
e0ab3753
UB
20892015-09-28 Uros Bizjak <ubizjak@gmail.com>
2090
2091 * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
2092 (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
2093
8c9434c2
ML
20942016-09-27 Martin Liska <mliska@suse.cz>
2095
2096 PR gcov-profile/7970
2097 PR gcov-profile/16855
2098 PR gcov-profile/44779
2099 * libgcov-driver.c (__gcov_init): Do not register a atexit
2100 handler.
2101 (__gcov_exit): Rename from gcov_exit.
2102 * libgcov.h (__gcov_exit): Declare.
2103
56b653f1
ML
21042016-09-27 Martin Liska <mliska@suse.cz>
2105
2106 PR bootstrap/77749
2107 * Makefile.in: Remove _gcov_merge_delta.
2108 * libgcov-merge.c (void __gcov_merge_delta): Remove.
2109 * libgcov-util.c (__gcov_delta_counter_op): Remove.
2110 * libgcov.h: Remove declaration of __gcov_merge_delta.
2111
7e02fd1b
EB
21122016-09-21 Eric Botcazou <ebotcazou@adacore.com>
2113
2114 * configure.ac: Do not create links, only substitute the filenames.
2115 * configure: Regenerate.
2116 * Makefile.in: Assign the substitution results to variables.
2117 (LIBGCC_LINKS): Define.
2118 (enable-execute-stack.c): New rule.
2119 (unwind.h): Likewise.
2120 (md-unwind-support.h): Likewise.
2121 (sfp-machine.h): Likewise.
2122 (gthr-default.h): Likewise.
2123 Add $(LIBGCC_LINKS) to the prerequisites of all object files and
2124 unwind.h as prerequisite of install-unwind_h-forbuild.
2125
29991048
JJ
21262016-09-16 Jakub Jelinek <jakub@redhat.com>
2127
2128 PR libgcc/71744
2129 * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
2130 is not the primary registry and atomics are available.
2131 (any_objects_registered): New variable.
2132 (__register_frame_info_bases, __register_frame_info_table_bases):
2133 Atomically store 1 to any_objects_registered after registering first
2134 unwind info.
2135 (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
2136
0abcd6cc
JG
21372016-09-09 James Greenhalgh <james.greenhalgh@arm.com>
2138
2139 PR target/63250
2140 * Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
2141 * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
2142 (HFtype): Likewise.
2143 (HCtype): Likewise.
2144 (__divhc3): Likewise.
2145 (__mulhc3): Likewise.
2146 * libgcc2.c: Support _mulhc3 and _divhc3.
2147
d758aeb5
JM
21482016-09-07 Joseph Myers <joseph@codesourcery.com>
2149
2150 PR libgcc/77519
2151 * libgcc2.c (NOTRUNC): Invert settings.
2152
7fe76f6a
ML
21532016-09-06 Martin Liska <mliska@suse.cz>
2154
2155 PR gcov-profile/77378
2156 PR gcov-profile/77466
2157 * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
2158 conditionaly enable/disable *_atomic functions.
2159
21184026
JM
21602016-08-26 Joseph Myers <joseph@codesourcery.com>
2161
2162 * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
2163 where not already enabled.
2164
726f49c3
SN
21652016-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
2166
2167 * config/mips/linux-unwind.h: Use sys/syscall.h.
2168
feeb6268
JM
21692016-08-16 Joseph Myers <joseph@codesourcery.com>
2170
2171 PR libgcc/77265
2172 * soft-fp/adddf3.c: Update from glibc.
2173 * soft-fp/addsf3.c: Likewise.
2174 * soft-fp/addtf3.c: Likewise.
2175 * soft-fp/divdf3.c: Likewise.
2176 * soft-fp/divsf3.c: Likewise.
2177 * soft-fp/divtf3.c: Likewise.
2178 * soft-fp/double.h: Likewise.
2179 * soft-fp/eqdf2.c: Likewise.
2180 * soft-fp/eqsf2.c: Likewise.
2181 * soft-fp/eqtf2.c: Likewise.
2182 * soft-fp/extenddftf2.c: Likewise.
2183 * soft-fp/extended.h: Likewise.
2184 * soft-fp/extendsfdf2.c: Likewise.
2185 * soft-fp/extendsftf2.c: Likewise.
2186 * soft-fp/extendxftf2.c: Likewise.
2187 * soft-fp/fixdfdi.c: Likewise.
2188 * soft-fp/fixdfsi.c: Likewise.
2189 * soft-fp/fixdfti.c: Likewise.
2190 * soft-fp/fixsfdi.c: Likewise.
2191 * soft-fp/fixsfsi.c: Likewise.
2192 * soft-fp/fixsfti.c: Likewise.
2193 * soft-fp/fixtfdi.c: Likewise.
2194 * soft-fp/fixtfsi.c: Likewise.
2195 * soft-fp/fixtfti.c: Likewise.
2196 * soft-fp/fixunsdfdi.c: Likewise.
2197 * soft-fp/fixunsdfsi.c: Likewise.
2198 * soft-fp/fixunsdfti.c: Likewise.
2199 * soft-fp/fixunssfdi.c: Likewise.
2200 * soft-fp/fixunssfsi.c: Likewise.
2201 * soft-fp/fixunssfti.c: Likewise.
2202 * soft-fp/fixunstfdi.c: Likewise.
2203 * soft-fp/fixunstfsi.c: Likewise.
2204 * soft-fp/fixunstfti.c: Likewise.
2205 * soft-fp/floatdidf.c: Likewise.
2206 * soft-fp/floatdisf.c: Likewise.
2207 * soft-fp/floatditf.c: Likewise.
2208 * soft-fp/floatsidf.c: Likewise.
2209 * soft-fp/floatsisf.c: Likewise.
2210 * soft-fp/floatsitf.c: Likewise.
2211 * soft-fp/floattidf.c: Likewise.
2212 * soft-fp/floattisf.c: Likewise.
2213 * soft-fp/floattitf.c: Likewise.
2214 * soft-fp/floatundidf.c: Likewise.
2215 * soft-fp/floatundisf.c: Likewise.
2216 * soft-fp/floatunditf.c: Likewise.
2217 * soft-fp/floatunsidf.c: Likewise.
2218 * soft-fp/floatunsisf.c: Likewise.
2219 * soft-fp/floatunsitf.c: Likewise.
2220 * soft-fp/floatuntidf.c: Likewise.
2221 * soft-fp/floatuntisf.c: Likewise.
2222 * soft-fp/floatuntitf.c: Likewise.
2223 * soft-fp/gedf2.c: Likewise.
2224 * soft-fp/gesf2.c: Likewise.
2225 * soft-fp/getf2.c: Likewise.
2226 * soft-fp/ledf2.c: Likewise.
2227 * soft-fp/lesf2.c: Likewise.
2228 * soft-fp/letf2.c: Likewise.
2229 * soft-fp/muldf3.c: Likewise.
2230 * soft-fp/mulsf3.c: Likewise.
2231 * soft-fp/multf3.c: Likewise.
2232 * soft-fp/negdf2.c: Likewise.
2233 * soft-fp/negsf2.c: Likewise.
2234 * soft-fp/negtf2.c: Likewise.
2235 * soft-fp/op-1.h: Likewise.
2236 * soft-fp/op-2.h: Likewise.
2237 * soft-fp/op-4.h: Likewise.
2238 * soft-fp/op-8.h: Likewise.
2239 * soft-fp/op-common.h: Likewise.
2240 * soft-fp/quad.h: Likewise.
2241 * soft-fp/single.h: Likewise.
2242 * soft-fp/soft-fp.h: Likewise.
2243 * soft-fp/subdf3.c: Likewise.
2244 * soft-fp/subsf3.c: Likewise.
2245 * soft-fp/subtf3.c: Likewise.
2246 * soft-fp/truncdfsf2.c: Likewise.
2247 * soft-fp/trunctfdf2.c: Likewise.
2248 * soft-fp/trunctfsf2.c: Likewise.
2249 * soft-fp/trunctfxf2.c: Likewise.
2250 * soft-fp/unorddf2.c: Likewise.
2251 * soft-fp/unordsf2.c: Likewise.
2252 * soft-fp/unordtf2.c: Likewise.
2253
2e6fc1ac
GG
22542016-08-15 Gilles Gouaillardet <gilles.gouaillardet@gmail.com>
2255
2256 PR gcov-profile/67097
2257 * libgcov-util.c (gcov_profile_merge): Skip missing files.
2258
a266236e
ML
22592016-08-10 Martin Liska <mliska@suse.cz>
2260
2261 PR gcov-profile/58306
2262 * Makefile.in: New functions (modules) are added.
2263 * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
2264 function.
2265 (__gcov_pow2_profiler_atomic): New function.
2266 (__gcov_one_value_profiler_body): New argument is instroduced.
2267 (__gcov_one_value_profiler): Call with the new argument.
2268 (__gcov_one_value_profiler_atomic): Likewise.
2269 (__gcov_indirect_call_profiler_v2): Likewise.
2270 (__gcov_time_profiler_atomic): New function.
2271 (__gcov_average_profiler_atomic): Likewise.
2272 (__gcov_ior_profiler_atomic): Likewise.
2273 * libgcov.h: Declare the aforementioned functions.
2274
e0c8eebf
ML
22752016-08-09 Martin Liska <mliska@suse.cz>
2276
2277 * libgcov-util.c: Fix typo and GNU coding style.
2278
6dce6418
ML
22792016-08-09 Martin Liska <mliska@suse.cz>
2280
2281 * Makefile.in: Remove __gcov_indirect_call_profiler.
2282 * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
2283 function.
2284 * libgcov.h: And the declaration of the function.
2285
dcb1e137
ML
22862016-08-09 Martin Liska <mliska@suse.cz>
2287
2288 * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
2289 power of two.
2290
d6e69705
BS
22912016-07-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
2292
2293 * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
2294 * config/rs6000/_mulkc3.c: Likewise.
2295
96aa1f95
GJL
22962016-07-29 Georg-Johann Lay <avr@gjlay.de>
2297
2298 * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
2299 zero_reg as previous call to __umulhisi3 already cleared it.
2300
a1b01d34
AJ
23012016-07-21 Aurelien Jarno <aurelien@aurel32.net>
2302
2303 PR target/59833
2304 * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
2305
985a47b2
NC
23062016-07-19 Nick Clifton <nickc@redhat.com>
2307
2308 * config.host (m32r): Add m32r/t-m32r to tmake_file.
2309 Add crtinit.o and crtfini.o to extra_parts.
2310
f906f5ed
BS
23112016-07-12 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
2312
2313 * config/rs6000/_divkc3.c: New.
2314 * config/rs6000/_mulkc3.c: New.
2315 * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
2316 and _divkc3.
2317 * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
2318 fp128_ppc_funcs.
2319
82742404
HW
23202016-07-11 Hale Wang <hale.wang@arm.com>
2321 Andre Vieira <andre.simoesdiasvieira@arm.com>
2322
2323 * config/arm/lib1funcs.S: Add new wrapper.
2324
05a437c1
TP
23252016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
2326
2327 * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
2328
3d16d9ec
TP
23292016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
2330
2331 * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
2332 and ARMv5t* rather than for a fixed list of architectures.
2333
6f493951
TP
23342016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
2335
2336 * config/arm/bpabi-v6m.S: Clarify what architectures is the
2337 implementation suitable for.
2338 * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
2339 for all Thumb-1 only targets.
2340 (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
2341 (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
2342 __ARM_ARCH_6M__.
2343 (EQUIV): Likewise.
2344 (ARM_FUNC_ALIAS): Likewise.
2345 (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
2346 version.
2347 (modsi3): Likewise.
2348 (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
2349 (clzdi2): Likewise.
2350 (ctzsi2): Likewise.
2351 (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
2352 __ARM_ARCH_6M__ in guard for checking whether it is defined.
2353 (final includes): Test for NOT_ISA_TARGET_32BIT rather than
2354 __ARM_ARCH_6M__ and add comment to indicate the connection between
2355 this condition and the one in gcc/config/arm/elf.h.
2356 * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
2357 __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
2358 * config/arm/t-softfp: Likewise.
2359
1770511a
TS
23602016-07-06 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2361
2362 * libgcc2.c (SYMBOL__MAIN): Remove checks for
2363 CTOR_LISTS_DEFINED_EXTERNALLY.
2364
ba6be749
WL
23652016-06-28 Walter Lee <walt@tilera.com>
2366
2367 * config/tilepro/atomic.h: Do not include arch/spr_def.h and
2368 asm/unistd.h.
2369 (SPR_CMPEXCH_VALUE): Define for tilegx.
2370 (__NR_FAST_cmpxchg): Define for tilepro.
2371 (__NR_FAST_atomic_update): Define for tilepro.
2372 (__NR_FAST_cmpxchg64): Define for tilepro.
2373
a34c0db5
JS
23742016-06-23 Jakub Sejdak <jakub.sejdak@phoesys.com>
2375
18362447 2376 * config.host: Add suport for arm*-*-phoenix* targets.
a34c0db5 2377
0609abda
TS
23782016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2379
2380 * config.host: Remove support for mep-*.
2381 * config/mep/lib1funcs.S: Remove.
2382 * config/mep/lib2funcs.c: Remove.
2383 * config/mep/t-mep: Remove.
2384 * config/mep/tramp.c: Remove.
2385
3e326935
TS
23862016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2387
2388 * config.host: Remove support for avr-rtems.
2389 * config/avr/t-rtems: Remove.
2390
914b155c
TS
23912016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2392
2393 * config.host: Remove m32r-rtems support.
2394
5ebf89bd
TS
23952016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2396
2397 * config.host: Remove h8300-rtems support.
2398
8466af06
TS
23992016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2400
2401 * config.host: Remove support for knetbsd.
2402
d980e738
TS
24032016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2404
2405 * config.host: Remove support for openbsd 2 and 3.
2406
ee2499b4
TS
24072016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2408
2409 * config.host: Remove interix support.
2410 * config/i386/t-interix: Remove.
2411
9f92937b
JDA
24122016-06-18 John David Anglin <danglin@gcc.gnu.org>
2413
2414 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
2415 least-significant bit in function pointer for fixup.
2416
0a0ec53d
AC
24172016-06-05 Aaron Conole <aconole@redhat.com>
2418 Nathan Sidwell <nathan@acm.org>
2419
2420 PR libgcc/71400
2421 * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
2422 (get_gcov_error_file): Check __gcov_error_file before trying to
2423 initialize it.
2424 (gcov_error): Always use get_gcov_error_file.
2425
8aa5bdd6
AC
24262016-06-02 Aaron Conole <aconole@redhat.com>
2427
2428 * libgcov-driver-system.c (__gcov_error_file): New.
2429 (get_gcov_error_file): New.
2430 (gcov_error): Use and set __gcov_error_file.
2431 (gcov_error_exit): New.
2432 * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
2433
40774faf
NS
24342016-05-26 Nathan Sidwell <nathan@acm.org>
2435
2436 * config/nvptx/free.asm: Delete.
2437 * config/nvptx/malloc.asm: Delete.
2438 * config/nvptx/realloc.c: Delete.
2439 * t-nvptx: Update.
2440
69a6d5ad
NS
24412016-05-25 Nathan Sidwell <nathan@acm.org>
2442
2443 * config/nvptx/crt0.s: Delete.
2444 * config/nvptx/crt0.c: New.
2445 * t-nvptx: Update.
2446
6befaff6
SL
24472016-05-19 Sandra Loosemore <sandra@codesourcery.com>
2448
385c7747 2449 * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
6befaff6
SL
2450 dw2/seh configuration.
2451 [x86_64-*-mingw*]: Likewise.
2452
ad251dfd
JS
24532016-05-10 Joel Sherrill <joel@rtems.org>
2454
2455 PR libgcc/70720
2456 * config.host (moxie-*-rtems*): Merge this stanza with other moxie
2457 targets so the same extra_parts are built. Also have tmake_file add
2458 on to its value rather than override.
2459
bc6d9014
OE
24602016-04-30 Oleg Endo <olegendo@gcc.gnu.org>
2461
2462 * config.host: Remove SH5 support.
2463 * configure: Likewise.
2464
9129c8cf
OE
24652016-04-29 Oleg Endo <olegendo@gcc.gnu.org>
2466
2467 * config/sh/crt1.S: Remove SH5 support.
2468 * config/sh/crti.S: Likewise.
2469 * config/sh/crtn.S: Likewise.
2470 * config/sh/lib1funcs-4-300.S: Likewise.
2471 * config/sh/lib1funcs-Os-4-200.S: Likewise.
2472 * config/sh/lib1funcs.S: Likewise.
2473 * config/sh/linux-unwind.h: Likewise.
2474 * config/sh/t-sh64: Delete.
2475
39d50464
CZ
24762016-04-29 Claudiu Zissulescu <claziss@synopsys.com>
2477
2478 * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
2479
8b48923b
CZ
24802016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
2481 Joern Rennecke <joern.rennecke@embecosm.com>
2482
2483 * config/arc/crttls.S: New file.
2484 * config/arc/t-arc: New rule.
2485 * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
2486
2de1cf8c
NC
24872016-04-25 Nick Clifton <nickc@redhat.com>
2488
2489 * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
2490 (__mspabi_cmpd): Likewise.
2491 * config/msp430/floathidf.c (__floathidf): Likewise.
2492 * config/msp430/floathisf.c (__floathisf): Likewise
2493 * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
2494 * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
2495 * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
2496 second parameter.
2497 (__ashrsi3): Likewise.
2498
b8ce3fe2
WB
24992016-04-21 Waldemar Brodkorb <wbx@openadk.org>
2500
2501 * config/m68k/linux-atomic.c: Do not include unistd.h
2502
4986f823
MG
25032016-04-20 Martin Galvan <martin.galvan@tallertechnologies.com>
2504
2505 * config/arm/ieee754-df.S: Fix typos in comments.
2506
35fbda43
MM
25072016-04-11 Michael Meissner <meissner@linux.vnet.ibm.com>
2508
2509 PR target/70381
2510 * configure.ac (powerpc*-*-linux*): Rework tests to build
2511 __float128 emulation routines to not depend on using #pragma GCC
2512 target to enable -mfloat128.
2513 * configure: Regnerate.
2514
72d1a48d
EB
25152016-04-04 Eric Botcazou <ebotcazou@adacore.com>
2516
2517 PR target/67172
2518 * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
2519 __MINGW32__ is defined.
2520
dc2e8995
JB
25212016-03-28 James Bowman <james.bowman@ftdichip.com>
2522
385c7747 2523 * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
dc2e8995 2524
104cdaf1
MM
25252016-03-22 Michael Meissner <meissner@linux.vnet.ibm.com>
2526
2527 PR libgcc/70363
2528 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
2529 built with an assembler that does not support ISA 3.0
2530 instructions, rename __extendkftf2_sw to __extendkftf2.
2531
a5046f48
RO
25322016-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2533
2534 PR target/38239
2535 * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
2536 call-clobbered registers.
2537 (internal_mcount): Remove __i386__ handling.
2538
df674f74
JS
25392016-02-26 Joel Sherrill <joel@rtems.org>
2540
2541 * config.host: Add x86_64-*-rtems*.
2542
7cb065d6
JS
25432016-02-26 Joel Sherrill <joel@rtems.org>
2544
2545 * libgcc/config.host: Add aarch64-*-rtems*.
2546
47dfdc53
PM
25472016-02-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2548 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
2549
2550 * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
2551 union of u64 and double.
2552 (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
2553 (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
2554 value.
2555 (FP_ROUNDMODE): Update the usage of _fpscr.
2556
e6861a99
IV
25572016-02-25 Ilya Verbin <ilya.verbin@intel.com>
2558
2559 PR driver/68463
2560 * Makefile.in (crtoffloadtable$(objext)): New rule.
2561 * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
2562 enable_offload_targets is not empty.
2563 * configure: Regenerate.
2564 * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
2565 crtoffloadtable.
2566
9bfcbdee
MF
25672016-02-17 Max Filippov <jcmvbkbc@gmail.com>
2568
2569 * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
2570 .literal_position before the function.
2571 * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
2572 Likewise.
2573
4cb4721f
MK
25742016-02-15 Marcin Kościelnicki <koriakin@0x04.net>
2575
2576 * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
2577 * config/s390/morestack.S: New file.
2578 * config/s390/t-stack-s390: New file.
2579 * generic-morestack.c (__splitstack_find): Add s390-specific code.
2580
b29d9a29
WL
25812016-02-12 Walter Lee <walt@tilera.com>
2582
2583 * config.host (tilegx*-*-linux*): remove ti from
2584 softfp_int_modes for 32-bit configs.
2585
03a0ae7d
ILT
25862016-02-10 Ian Lance Taylor <iant@google.com>
2587
2588 PR go/68562
2589 * config/i386/morestack.S (__stack_split_initialize): Align
2590 stack.
2591
68750bce
AT
25922016-02-03 Andreas Tobler <andreast@gcc.gnu.org>
2593
2594 PR bootstrap/69611
2595 * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
2596 __FLOAT128__ to compile only for __float128 capable targets.
2597
7d296953
JJ
25982016-01-25 Jakub Jelinek <jakub@redhat.com>
2599
2600 PR target/69444
2601 * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
2602 instead of ___NO_FPRS__.
2603
a71c0334 26042016-01-21 Michael Meissner <meissner@linux.vnet.ibm.com>
7d296953
JJ
2605 Steven Munroe <munroesj@linux.vnet.ibm.com>
2606 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
a71c0334
MM
2607
2608 * config/rs6000/float128-sed: New files to convert TF names to KF
2609 names for PowerPC IEEE 128-bit floating point support.
2610 * config/rs6000/float128-sed-hw: Likewise.
2611
2612 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
2613 floating point hardware support.
2614
2615 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
2616 128-bit floating point software emulation or use ISA 3.0 hardware
2617 support if it is available.
2618
2619 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
2620 floating point.
2621
2622 * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
2623 floating point to IBM extended double.
2624
2625 * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
2626 double to IEEE 128-bit floating point.
2627
2628 * config/rs6000/t-float128: New Makefile fragments to enable
2629 building __float128 emulation support.
2630 * config/rs6000/t-float128-hw: Likewise.
2631
2632 * config/rs6000/sfp-exceptions.c: New file to provide exception
2633 support for IEEE 128-bit floating point.
2634
2635 * config/rs6000/floattikf.c: New files for converting between IEEE
2636 128-bit floating point and signed/unsigned 128-bit integers.
2637 * config/rs6000/fixunskfti.c: Likewise.
2638 * config/rs6000/fixkfti.c: Likewise.
2639 * config/rs6000/floatuntikf.c: Likewise.
2640
2641 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
2642 when building on 64-bit systems, or when VSX is enabled.
2643 (_FP_W_TYPE): Likewise.
2644 (_FP_WS_TYPE): Likewise.
2645 (_FP_I_TYPE): Likewise.
2646 (TItype): Define on 64-bit systems.
2647 (UTItype): Likewise.
2648 (TI_BITS): Likewise.
2649 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
2650 (_FP_MUL_MEAT_Q): Likewise.
2651 (_FP_DIV_MEAT_D): Likewise.
2652 (_FP_DIV_MEAT_Q): Likewise.
2653 (_FP_NANFRAC_D): Likewise.
2654 (_FP_NANFRAC_Q): Likewise.
2655 (ISA_BIT): Add exception support if we are being compiled on a
2656 machine with hardware floating point support to build the IEEE
2657 128-bit emulation functions.
2658 (FP_EX_INVALID): Likewise.
2659 (FP_EX_OVERFLOW): Likewise.
2660 (FP_EX_UNDERFLOW): Likewise.
2661 (FP_EX_DIVZERO): Likewise.
2662 (FP_EX_INEXACT): Likewise.
2663 (FP_EX_ALL): Likewise.
2664 (__sfp_handle_exceptions): Likewise.
2665 (FP_HANDLE_EXCEPTIONS): Likewise.
2666 (FP_RND_NEAREST): Likewise.
2667 (FP_RND_ZERO): Likewise.
2668 (FP_RND_PINF): Likewise.
2669 (FP_RND_MINF): Likewise.
2670 (FP_RND_MASK): Likewise.
2671 (_FP_DECL_EX): Likewise.
2672 (FP_INIT_ROUNDMODE): Likewise.
2673 (FP_ROUNDMODE): Likewise.
2674
2675 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
2676 VSX code, enable IEEE 128-bit floating point. If the compiler can
2677 compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
2678 floating point hardware instructions and it supports declaring
2679 functions with the ifunc attribute, enable ifunc functions to
2680 switch between software and hardware support.
2681 * configure.ac (powerpc*-*-linux*): Likewise.
2682 * configure: Regenerate.
2683
bdc27e50
NC
26842016-01-15 Nick Clifton <nickc@redhat.com>
2685
2686 * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
2687 dependency as the source file to be compiled.
2688 (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
2689 (lib2hw_mul_f5.o): Likewise.
2690
006df05d
MM
26912016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
2692
2693 * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
2694 * libgcc/config/rs6000/fixkfti.c: Likewise.
2695 * libgcc/config/rs6000/fixunskfti.c: Likewise.
2696 * libgcc/config/rs6000/float128-hw.c: Likewise.
2697 * libgcc/config/rs6000/float128-ifunc.c: Likewise.
2698 * libgcc/config/rs6000/float128-sed: Likewise.
2699 * libgcc/config/rs6000/floattikf.c: Likewise.
2700 * libgcc/config/rs6000/floatuntikf.c: Likewise.
2701 * libgcc/config/rs6000/quad-float128.h: Likewise.
2702 * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
2703 * libgcc/config/rs6000/sfp-machine.h: Likewise.
2704 * libgcc/config/rs6000/t-float128: Likewise.
2705 * libgcc/config/rs6000/t-float128-hw: Likewise.
2706 * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
2707 * libgcc/config.host: Likewise.
2708 * libgcc/configure: Likewise.
2709 * libgcc/configure.ac: Likewise.
2710
29176d57 27112016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
7d296953
JJ
2712 Steven Munroe <munroesj@linux.vnet.ibm.com>
2713 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
29176d57
MM
2714
2715 * config/rs6000/sfp-exceptions.c: New file to provide exception
2716 support for IEEE 128-bit floating point.
2717
2718 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
2719 floating point hardware support.
2720
2721 * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
2722 point conversions.
2723 * config/rs6000/fixunskfti.c: Likewise.
2724 * config/rs6000/fixkfti.c: Likewise.
2725 * config/rs6000/floatuntikf.c: Likewise.
2726 * config/rs6000/extendkftf2-sw.c: Likewise.
2727 * config/rs6000/trunctfkf2-sw.c: Likewise.
2728
2729 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
2730 128-bit floating point software emulation or use ISA 3.0 hardware
2731 support if it is available.
2732
2733 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
2734 floating point.
2735
2736 * config/rs6000/t-float128: New Makefile fragments to enable
2737 building __float128 emulation support.
2738 * config/rs6000/t-float128-hw: Likewise.
2739
2740 * config/rs6000/float128-sed: New file to convert TF names to KF
2741 names for PowerPC IEEE 128-bit floating point support.
2742
2743 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
2744 when building on 64-bit systems, or when VSX is enabled.
2745 (_FP_W_TYPE): Likewise.
2746 (_FP_WS_TYPE): Likewise.
2747 (_FP_I_TYPE): Likewise.
2748 (TItype): Define on 64-bit systems.
2749 (UTItype): Likewise.
2750 (TI_BITS): Likewise.
2751 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
2752 (_FP_MUL_MEAT_Q): Likewise.
2753 (_FP_DIV_MEAT_D): Likewise.
2754 (_FP_DIV_MEAT_Q): Likewise.
2755 (_FP_NANFRAC_D): Likewise.
2756 (_FP_NANFRAC_Q): Likewise.
2757 (ISA_BIT): Add exception support if we are being compiled on a
2758 machine with hardware floating point support to build the IEEE
2759 128-bit emulation functions.
2760 (FP_EX_INVALID): Likewise.
2761 (FP_EX_OVERFLOW): Likewise.
2762 (FP_EX_UNDERFLOW): Likewise.
2763 (FP_EX_DIVZERO): Likewise.
2764 (FP_EX_INEXACT): Likewise.
2765 (FP_EX_ALL): Likewise.
2766 (__sfp_handle_exceptions): Likewise.
2767 (FP_HANDLE_EXCEPTIONS): Likewise.
2768 (FP_RND_NEAREST): Likewise.
2769 (FP_RND_ZERO): Likewise.
2770 (FP_RND_PINF): Likewise.
2771 (FP_RND_MINF): Likewise.
2772 (FP_RND_MASK): Likewise.
2773 (_FP_DECL_EX): Likewise.
2774 (FP_INIT_ROUNDMODE): Likewise.
2775 (FP_ROUNDMODE): Likewise.
2776
2777 * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
2778 compiler can do __float128.
2779 * configure: Regenerate.
2780
2781 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
2782 VSX code, enable IEEE 128-bit floating point.
2783
a2218983
OH
27842016-01-05 Olivier Hainque <hainque@adacore.com>
2785
2786 * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
29176d57 2787 specificities.
a2218983 2788
818ab71a
JJ
27892016-01-04 Jakub Jelinek <jakub@redhat.com>
2790
2791 Update copyright years.
2792
5a6c8ffa
AP
27932015-12-18 Andris Pavenis <andris.pavenis@iki.fi>
2794
2795 * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
29176d57 2796 soft-fp targets.
5a6c8ffa 2797
077067a5
BE
27982015-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
2799
2800 * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
2801 instead of abort to avoid dependency on stdlib.h.
2802
787c1027
JDA
28032015-12-09 John David Anglin <danglin@gcc.gnu.org>
2804
2805 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
2806 to initialize call to __dl_fixup once.
2807
04a9ae28
NC
28082015-12-04 Nick Clifton <nickc@redhat.com>
2809
2810 * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
2811 Allow for the second argument being negative.
2812 * config.host (extra_parts): Define for MSP430. Create separate
2813 libraries for each of the hardware multiply formats.
2814 * config/msp430/lib2hw_mul.S: Build only the multiply routines
2815 that are needed.
2816 * config/msp430/lib2mul.c: Likewise.
2817 * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
2818 Add rules to build hardware multiply libraries.
2819 * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
2820 __mspabi_divul function.
2821 (__mspabi_divllu): New stub function.
2822
9a32d437
JDA
28232015-12-01 John David Anglin <danglin@gcc.gnu.org>
2824
2825 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
2826 fixup values if saved GOT address doesn't match runtime address.
2827 (fixup_branch_offset): Reorder list.
2828
e5ef217c
RO
28292015-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2830
2831 * Makefile.in (VTV_CFLAGS): New variable.
2832 (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
2833 (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
2834 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
2835 Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
2836 to extra_parts if $enable_vtable_verify = yes.
2837
78cc43a2
SN
28382015-11-23 Szabolcs Nagy <szabolcs.nagy@arm.com>
2839
2840 PR target/68059
2841 * config/arm/linux-atomic-64bit.c (__write): Rename to...
2842 (write): ...this and fix the return type.
2843
9afebea2
DD
28442015-11-19 DJ Delorie <dj@redhat.com>
2845
2846 * config/msp430/lib2hw_mul.S: Fix alignment.
2847
33f47f42
NS
28482015-11-18 Nathan Sidwell <nathan@codesourcery.com>
2849
2850 * config/nvptx/reduction.c: New.
2851 * config/nvptx/t-nvptx (LIB2ADD): Add it.
2852
d9adb476
DE
28532015-11-15 David Edelsohn <dje.gcc@gmail.com>
2854
2855 * config/rs6000/on_exit.c: New file.
2856 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
2857 * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
2858
c0ab1970
CZ
28592015-11-11 Claudiu Zissulescu <claziss@synopsys.com>
2860
2861 * config/arc/dp-hack.h: Add support for ARCHS.
2862 * config/arc/ieee-754/divdf3.S: Likewise.
2863 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
2864 * config/arc/ieee-754/muldf3.S: Likewise.
2865 * config/arc/ieee-754/mulsf3.S: Likewise
2866 * config/arc/lib1funcs.S: Likewise
2867 * config/arc/gmon/dcache_linesz.S: Don't read the build register
2868 for ARCv2 cores.
2869 * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
2870 for ARCv2 cores.
2871 * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
2872 * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
2873 cores.
2874
e6b6bf09
RO
28752015-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2876
2877 * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
2878 value.
2879 * config/ia64/crtend.S: Likewise.
2880
a153644f
TS
28812015-11-07 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2882
2883 * config/visium/lib2funcs.c (__set_trampoline_parity): Use
2884 __CHAR_BIT__ instead of BITS_PER_UNIT.
2885 * fixed-bit.h: Likewise.
2886 * fp-bit.h: Likewise.
2887 * libgcc2.c (__popcountSI2): Likewise.
2888 (__popcountDI2): Likewise.
2889 * libgcc2.h: Likewise.
2890 * libgcov.h: Likewise.
2891
3dee689d
DE
28922015-11-07 David Edelsohn <dje.gcc@gmail.com>
2893
2894 * config/rs6000/atexit.c: New file.
2895 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
2896 * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
2897 * config/rs6000/cxa_finalize.c
2898 (catomic_compare_and_exchange_bool_acq): Negate return value.
2899
2ef543e4
VK
29002015-10-30 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
2901
2902 * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
2903 (processor_subtypes): Add znver1.
2904 (get_amd_cpu): Detect znver1.
2905
1300f017
CL
29062015-10-29 Christophe Lyon <christophe.lyon@linaro.org>
2907
2908 * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
2909 Include crtfastmath.o.
2910
3e5bb7ee
JR
29112015-10-23 Joern Rennecke <joern.rennecke@embecosm.com>
2912
2913 PR libgcc/66883
2914 * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
1300f017 2915
793aa938
KP
29162015-10-16 Kaushik Phatak <kaushik.phatak@kpit.com>
2917
2918 * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
2919 * config/rl78/divmodsi.S: Update return register to r8.
2920 * config/rl78/divmodhi.S: Update return register to r8,r9.
2921 Branch to main_loop_done_himode to pop registers before return.
2922
7d296953 29232015-10-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
fac812f0
VK
2924
2925 * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
2926 (__cpu_indicator_init): Fix model selection for AMD CPUs.
2927
6a192b5a
KY
29282015-10-05 Kirill Yukhin <kirill.yukhin@intel.com>
2929
2930 * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
2931
4a0a9457
MF
29322015-10-03 Max Filippov <jcmvbkbc@gmail.com>
2933
2934 * config.host (xtensa*-*-uclinux*): New configuration.
2935
ab91c076
KY
29362015-10-02 Kirill Yukhin <kirill.yukhin@intel.com>
2937
385c7747 2938 * config/i386/cpuinfo.c (processor_features): Add
ab91c076
KY
2939 FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
2940
30954527
JM
29412015-09-28 Joseph Myers <joseph@codesourcery.com>
2942
2943 * soft-fp/adddf3.c: Update from glibc.
2944 * soft-fp/addsf3.c: Likewise.
2945 * soft-fp/addtf3.c: Likewise.
2946 * soft-fp/divdf3.c: Likewise.
2947 * soft-fp/divsf3.c: Likewise.
2948 * soft-fp/divtf3.c: Likewise.
2949 * soft-fp/double.h: Likewise.
2950 * soft-fp/eqdf2.c: Likewise.
2951 * soft-fp/eqsf2.c: Likewise.
2952 * soft-fp/eqtf2.c: Likewise.
2953 * soft-fp/extenddftf2.c: Likewise.
2954 * soft-fp/extended.h: Likewise.
2955 * soft-fp/extendsfdf2.c: Likewise.
2956 * soft-fp/extendsftf2.c: Likewise.
2957 * soft-fp/extendxftf2.c: Likewise.
2958 * soft-fp/fixdfdi.c: Likewise.
2959 * soft-fp/fixdfsi.c: Likewise.
2960 * soft-fp/fixdfti.c: Likewise.
2961 * soft-fp/fixsfdi.c: Likewise.
2962 * soft-fp/fixsfsi.c: Likewise.
2963 * soft-fp/fixsfti.c: Likewise.
2964 * soft-fp/fixtfdi.c: Likewise.
2965 * soft-fp/fixtfsi.c: Likewise.
2966 * soft-fp/fixtfti.c: Likewise.
2967 * soft-fp/fixunsdfdi.c: Likewise.
2968 * soft-fp/fixunsdfsi.c: Likewise.
2969 * soft-fp/fixunsdfti.c: Likewise.
2970 * soft-fp/fixunssfdi.c: Likewise.
2971 * soft-fp/fixunssfsi.c: Likewise.
2972 * soft-fp/fixunssfti.c: Likewise.
2973 * soft-fp/fixunstfdi.c: Likewise.
2974 * soft-fp/fixunstfsi.c: Likewise.
2975 * soft-fp/fixunstfti.c: Likewise.
2976 * soft-fp/floatdidf.c: Likewise.
2977 * soft-fp/floatdisf.c: Likewise.
2978 * soft-fp/floatditf.c: Likewise.
2979 * soft-fp/floatsidf.c: Likewise.
2980 * soft-fp/floatsisf.c: Likewise.
2981 * soft-fp/floatsitf.c: Likewise.
2982 * soft-fp/floattidf.c: Likewise.
2983 * soft-fp/floattisf.c: Likewise.
2984 * soft-fp/floattitf.c: Likewise.
2985 * soft-fp/floatundidf.c: Likewise.
2986 * soft-fp/floatundisf.c: Likewise.
2987 * soft-fp/floatunditf.c: Likewise.
2988 * soft-fp/floatunsidf.c: Likewise.
2989 * soft-fp/floatunsisf.c: Likewise.
2990 * soft-fp/floatunsitf.c: Likewise.
2991 * soft-fp/floatuntidf.c: Likewise.
2992 * soft-fp/floatuntisf.c: Likewise.
2993 * soft-fp/floatuntitf.c: Likewise.
2994 * soft-fp/gedf2.c: Likewise.
2995 * soft-fp/gesf2.c: Likewise.
2996 * soft-fp/getf2.c: Likewise.
2997 * soft-fp/ledf2.c: Likewise.
2998 * soft-fp/lesf2.c: Likewise.
2999 * soft-fp/letf2.c: Likewise.
3000 * soft-fp/muldf3.c: Likewise.
3001 * soft-fp/mulsf3.c: Likewise.
3002 * soft-fp/multf3.c: Likewise.
3003 * soft-fp/negdf2.c: Likewise.
3004 * soft-fp/negsf2.c: Likewise.
3005 * soft-fp/negtf2.c: Likewise.
3006 * soft-fp/op-1.h: Likewise.
3007 * soft-fp/op-2.h: Likewise.
3008 * soft-fp/op-4.h: Likewise.
3009 * soft-fp/op-8.h: Likewise.
3010 * soft-fp/op-common.h: Likewise.
3011 * soft-fp/quad.h: Likewise.
3012 * soft-fp/single.h: Likewise.
3013 * soft-fp/soft-fp.h: Likewise.
3014 * soft-fp/subdf3.c: Likewise.
3015 * soft-fp/subsf3.c: Likewise.
3016 * soft-fp/subtf3.c: Likewise.
3017 * soft-fp/truncdfsf2.c: Likewise.
3018 * soft-fp/trunctfdf2.c: Likewise.
3019 * soft-fp/trunctfsf2.c: Likewise.
3020 * soft-fp/trunctfxf2.c: Likewise.
3021 * soft-fp/unorddf2.c: Likewise.
3022 * soft-fp/unordsf2.c: Likewise.
3023 * soft-fp/unordtf2.c: Likewise.
3024
4dfe21ac
RE
30252015-09-24 Richard Earnshaw <rearnsha@arm.com>
3026
3027 PR libgcc/67624
3028 * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
3029
df2a1cc4
RO
30302015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3031
3032 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
3033 Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
3034 * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
3035 messages.
3036 (internal_mcount): Likewise.
3037 * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
3038 crt_compile, add CRTSTUFF_T_CFLAGS_S.
3039
2d110442
RO
30402015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3041
3042 * configure.ac (libgcc_cv_solaris_crts): New test.
3043 * configure: Regenerate.
3044 * config.in: Regenerate.
3045 * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
3046 * config/gmon-sol2.c: Rename to ...
3047 * config/sol2/gmon.c: ... this.
3048 Include auto-target.h.
3049 (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
3050 * config/t-sol2: Rename to ...
3051 * config/sol2/t-sol2: ... this.
3052 (gmon.o): Reflect renaming.
3053 (crtp.o, crtpg.o): New rules.
3054 * config.host (*-*-solaris2*): Reflect renaming.
3055 Use system CRTs if present.
3056 Remove default CRT case.
3057
d572e439
JDA
30582015-09-23 John David Anglin <danglin@gcc.gnu.org>
3059
3060 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
3061 (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
3062 __kernel_cmpxchg2.
3063 (__sync_##OP##_and_fetch_##WIDTH): Likewise.
3064 (__sync_val_compare_and_swap_##WIDTH): Likewise.
3065 (__sync_bool_compare_and_swap_##WIDTH): Likewise.
3066 (__sync_lock_test_and_set_##WIDTH): Likewise.
3067 (__sync_lock_release_##WIDTH): Likewise.
3068 (__sync_fetch_and_##OP##_4): Change result to match type of
3069 __kernel_cmpxchg.
3070 (__sync_##OP##_and_fetch_4): Likewise.
3071 (__sync_val_compare_and_swap_4): Likewise.
3072 (__sync_bool_compare_and_swap_4): likewise.
3073 (__sync_lock_test_and_set_4): Likewise.
3074 (__sync_lock_release_4): Likewise.
3075 (FETCH_AND_OP_2): Add long long variants.
3076 (OP_AND_FETCH_2): Likewise.
3077 (COMPARE_AND_SWAP_2 ): Likewise.
3078 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
3079 (SYNC_LOCK_RELEASE_2): Likewise.
3080 (__sync_bool_compare_and_swap_##WIDTH): Correct return.
3081
7d296953 30822015-09-22 Kirill Yukhin <kirill.yukhin@intel.com>
06caf59d
KY
3083
3084 * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
3085 FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
3086 FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
3087 (get_available_features): Habdle new features.
3088
131314e1
JB
30892015-09-21 James Bowman <james.bowman@ftdichip.com>
3090
3091 * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
3092 memory layout. Deal correctly with BSS region larger than 32K.
3093 Handle a watchdog reset like a power-on reset. Clean up unused
3094 code.
3095
04218b35
AD
30962015-09-18 Andrew Dixie <andrewd@gentrack.com>
3097 David Edelsohn <dje.gcc@gmail.com>
3098
3099 * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
3100 * config/rs6000/crtdbase.S: New file.
3101 * config/rs6000/t-aix-cxa: Build crtdbase.o.
3102
c8338173
MF
31032015-09-15 Max Filippov <jcmvbkbc@gmail.com>
3104
3105 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
3106 Add support for call0 ABI.
3107
7a84bf71
JDA
31082015-09-13 John David Anglin <danglin@gcc.gnu.org>
3109
3110 * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
3111
4efab402
SH
31122015-09-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
3113
3114 * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
3115 (__GTHREAD_HAS_COND): Likewise.
3116 (__gthread_t): Likewise.
3117 (__gthread_cond_t): Likewise.
3118 (__gthread_time_t): Likewise.
3119 (__GTHREAD_MUTEX_INIT): Likewise.
3120 (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
3121 (__GTHREAD_COND_INIT): Likewise.
3122 (__GTHREAD_COND_INIT_FUNCTION): Likewise.
3123 (__GTHREAD_TIME_INIT): Likewise.
3124 (__gthread_create): Likewise.
3125 (__gthread_join): Likewise.
3126 (__gthread_detach): Likewise.
3127 (__gthread_equal): Likewise.
3128 (__gthread_self): Likewise.
3129 (__gthread_yield): Likewise.
3130 (__gthread_cond_broadcast): Likewise.
3131 (__gthread_cond_signal): Likewise.
3132 (__gthread_cond_wait): Likewise.
3133 (__gthread_cond_timedwait): Likewise.
3134 (__gthread_cond_wait_recursive): Likewise.
3135 (__gthread_cond_destroy): Likewise.
3136 (rtems_gxx_once): Delete.
3137 (rtems_gxx_key_create): Likewise.
3138 (rtems_gxx_key_delete): Likewise.
3139 (rtems_gxx_getspecific): Likewise.
3140 (rtems_gxx_setspecific): Likewise.
3141 (rtems_gxx_mutex_init): Likewise.
3142 (rtems_gxx_mutex_destroy): Likewise.
3143 (rtems_gxx_mutex_lock): Likewise.
3144 (rtems_gxx_mutex_trylock): Likewise.
3145 (rtems_gxx_mutex_unlock): Likewise.
3146 (rtems_gxx_recursive_mutex_init): Likewise.
3147 (rtems_gxx_recursive_mutex_lock): Likewise.
3148 (rtems_gxx_recursive_mutex_trylock): Likewise.
3149 (rtems_gxx_recursive_mutex_unlock): Likewise.
3150 (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
3151 (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
3152 (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
3153 (__gthread_once): Likewise.
3154 (__gthread_key_create): Likewise.
3155 (__gthread_key_delete): Likewise.
3156 (__gthread_getspecific): Likewise.
3157 (__gthread_setspecific): Likewise.
3158 (__gthread_key_t): Use <pthread.h> type.
3159 (__gthread_once_t): Likewise
3160 (__gthread_mutex_t): Use <sys/lock.h> type.
3161 (__gthread_recursive_mutex_t): Likewise
3162 (__gthread_mutex_lock): Use <sys/lock.h> function.
3163 (__gthread_mutex_trylock): Likewise.
3164 (__gthread_mutex_timedlock): Likewise.
3165 (__gthread_mutex_unlock): Likewise.
3166 (__gthread_mutex_destroy): Likewise.
3167 (__gthread_recursive_mutex_lock): Likewise.
3168 (__gthread_recursive_mutex_trylock): Likewise.
3169 (__gthread_recursive_mutex_timedlock): Likewise.
3170 (__gthread_recursive_mutex_unlock): Likewise.
3171 (__gthread_recursive_mutex_destroy): Likewise.
3172
991995c4
MF
31732015-08-18 Max Filippov <jcmvbkbc@gmail.com>
3174
3175 * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
3176 context->sp instead of context->cfa.
3177
0e19db59
MF
31782015-08-18 Max Filippov <jcmvbkbc@gmail.com>
3179
3180 * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
3181 with unwind-dw2-fde-dip.
3182
b6ac5f62
MF
31832015-08-18 Max Filippov <jcmvbkbc@gmail.com>
3184
3185 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
3186 CALL12 followed by series of ENTRY to spill windowed registers.
3187 (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
3188 instead of making linux spill syscall.
3189
3e0f3349
YR
31902015-08-14 Yuri Rumyantsev <ysrumyan@gmail.com>
3191
3192 * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
3193 (get_intel_cpu): Likewise.
3194
51c728b1
L
31952015-08-12 H.J. Lu <hongjiu.lu@intel.com>
3196
3197 * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
3198 (get_intel_cpu): Add Knights Landing support.
3199
aff4eeac
UB
32002015-08-11 Uros Bizjak <ubizjak@gmail.com>
3201
3202 PR target/66954
3203 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
3204 (get_available_features): Handle FEATURE_PCLMUL.
3205
736e56da
L
32062015-08-10 H.J. Lu <hongjiu.lu@intel.com>
3207
3208 * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
3209 Broadwell.
3210
54d22142
UB
32112015-07-22 Uros Bizjak <ubizjak@gmail.com>
3212
3213 PR target/66954
3214 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
3215 (get_available_features): Handle FEATURE_AES.
3216
20ca17e4
CLT
32172015-07-22 Chung-Lin Tang <cltang@codesourcery.com>
3218
3219 * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
3220 (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
3221
ebe4a560
NS
32222015-07-17 Nathan Sidwell <nathan@codesourcery.com>
3223
3224 * offloadstuff.c: Constify host data.
3225
180744c0
JB
32262015-07-17 Jan Beulich <jbeulich@suse.com>
3227
3228 * config/t-softfp: Split up "else ifneq".
3229
a03c6ae3
SL
32302015-07-14 Sandra Loosemore <sandra@codesourcery.com>
3231 Cesar Philippidis <cesar@codesourcery.com>
3232 Chung-Lin Tang <cltang@codesourcery.com>
3233
3234 * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
3235 for __nios2_arch__ level.
3236
73358db5
JM
32372015-07-13 John Marino <gnugcc@marino.st>
3238
3239 * config/i386/t-dragonfly: New.
3240
f9a12f7b
JDA
32412015-07-01 John David Anglin <danglin@gcc.gnu.org>
3242
3243 * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
3244 better match light-weight syscall argument order.
3245 (__kernel_cmpxchg2): Likewise.
3246 Adjust callers.
3247
cb78b51c
L
32482015-06-30 H.J. Lu <hongjiu.lu@intel.com>
3249
3250 * config.host: Support i[34567]86-*-elfiamcu target.
3251 * config/t-softfp-sfdftf: New file.
3252 * config/i386/32/t-iamcu: Likewise.
3253 * configure: Regenerated.
3254
4fa0f9ea
JL
32552015-06-23 James Lemke <jwlemke@codesourcery.com>
3256
3257 libgcc/config/arm/
3258 * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
3259
428b3812
L
32602015-05-27 H.J. Lu <hongjiu.lu@intel.com>
3261
3262 * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
3263
7d296953 32642015-05-27 John Marino <gnugcc@marino.st>
89c54dd3
JM
3265
3266 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
3267 md_unwind_header
3268 * config/i386/freebsd-unwind.h: New.
3269
9b789cc1
UB
32702015-05-22 Uros Bizjak <ubizjak@gmail.com>
3271
3272 * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
3273 i386/t-crtfm to tmake_file.
3274 * config/i386/crtfastmath.c (set_fast_math_sse): New function.
3275 (set_fast_math): Use set_fast_math_sse for SSE targets.
3276 * config/i386/t-crtfm: Remove.
3277
3dafb220
AM
32782015-05-21 Alan Modra <amodra@gmail.com>
3279
3280 PR libgcc/66225
3281 * config/rs6000/morestack.S: Remove ".abiversion 1".
3282
0f0fd745
AM
32832015-05-20 Alan Modra <amodra@gmail.com>
3284
3285 * config/rs6000/morestack.S: New.
3286 * config/rs6000/t-stack-rs6000: New.
3287 * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
3288 to tmake_file.
3289 * generic-morestack.c: Don't build for powerpc 32-bit.
3290
515ae71b
EB
32912015-05-19 Eric Botcazou <ebotcazou@adacore.com>
3292
3293 * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
3294 Remove useless endif/ifneq ($(enable_shared),yes) pair.
3295
36805406
JL
32962015-05-16 James Bowman <james.bowman@ftdichip.com>
3297
3298 * config.host: FT32 target added.
3299 * config/ft32/*: New files for FT32 target.
3300
ff935d0c
MG
33012015-05-15 Martin Galvan <martin.galvan@tallertechnologies.com>
3302
385c7747
UB
3303 * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
3304 New macros.
3305 * config/arm/ieee754-df.S: Add CFI directives.
3306 * config/arm/ieee754-sf.S: Add CFI directives.
ff935d0c 3307
9b92a9f3
EB
33082015-05-13 Eric Botcazou <ebotcazou@adacore.com>
3309
3310 * configure.ac: Include config/sjlj.m4.
3311 Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
3312 * config.in: Regenerate.
3313 * configure: Likewise.
3314 * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
3315
98b5dc61
UB
33162015-05-12 Uros Bizjak <ubizjak@gmail.com>
3317
3318 * libgcov-util.c: Add space between string literal and macro name.
3319
5a0ff57c
SL
33202015-05-06 Sandra Loosemore <sandra@codesourcery.com>
3321 Chris Jones <chrisj@nvidia.com>
3322 Joshua Conner <jconner@nvidia.com>
3323
3324 * config.host (arm*-*-linux*): Add support for crtfastmath.o.
3325 (arm*-*-uclinux*): Likewise.
3326 (arm*-*-eabi* | arm*-*-rtems*): Likewise.
3327 * config/arm/crtfastmath.c: New file.
3328
d28ad5d4
BS
33292014-04-29 Bernd Schmidt <bernds@codesourcery.com>
3330
3331 * Makefile.in (real_host_noncanonical): New variable.
3332 (libsubdir): Use it.
3333 * configure.ac (real_host_noncanonical): Compute. Remove special
3334 case for intelmicemul.
3335 * configure: Regenerate.
3336
cc86234f
UB
33372015-04-28 Uros Bizjak <ubizjak@gmail.com>
3338
3339 * config/frv/elf-lib.h: New file.
3340 (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
3341 * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
3342 to tm_file.
3343
33442015-04-28 Uros Bizjak <ubizjak@gmail.com>
3345
3346 * config/frv/frvbengin.c: Do not include defaults.h
3347 * config/frv/frvend.c: Ditto.
3348
2f6bd6eb
YS
33492015-04-27 Yoshinori Sato <ysato@users.sourceforge.jp>
3350
3351 * config.host: Add h8300-*-linux
3352 * config/h8300/t-linux: New file.
3353 * config/h8300/lib1funs.s: Change symbol prefix.
3354 * config/h8300/sfp-machine.h: 64bit double support.
3355
15aa7b44
GR
33562015-04-22 Gregor Richards <gregor.richards@uwaterloo.ca>
3357 Szabolcs Nagy <szabolcs.nagy@arm.com>
3358
3359 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
3360 Linux if target provides dl_iterate_phdr.
3361
abd0cdc9
L
33622015-04-17 H.J. Lu <hongjiu.lu@intel.com>
3363
3364 PR target/65612
3365 * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
3366 * config/i386/cpuinfo.c (__cpu_model): Initialize.
3367 (__cpu_indicator_init@GCC_4.8.0): New.
3368 (__cpu_model@GCC_4.8.0): Likewise.
3369 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
3370 -DUSE_ELF_SYMVER.
3371
72ed1126
NC
33722015-04-16 Nick Clifton <nickc@redhat.com>
3373
3374 * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
3375 and __modhi3 functions.
3376 * config/rl78/divmodso.S: Add G14 and G13 versions of the
3377 __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
3378
d26b2237
CG
33792015-04-15 Chen Gang <gang.chen.5i5j@gmail.com>
3380
3381 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
3382 do-while loop as macro body to avoid warnings.
3383
cacf1f59
JJ
33842015-04-10 Jakub Jelinek <jakub@redhat.com>
3385 Iain Sandoe <iain@codesourcery.com>
3386
3387 PR target/65351
3388 * configure: Regenerate.
3389
e8a4ed3b
JJ
33902015-04-07 Jakub Jelinek <jakub@redhat.com>
3391 Iain Sandoe <iain@codesourcery.com>
3392
3393 PR target/65351
3394 * configure: Regenerate.
3395
0341335e
CLT
33962015-03-25 Chung-Lin Tang <cltang@codesourcery.com>
3397
3398 * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
3399
590e2636 34002015-03-03 Max Filippov <jcmvbkbc@gmail.com>
0341335e 3401
590e2636
MF
3402 Implement call0 ABI for xtensa
3403 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
3404 __xtensa_nonlocal_goto): Don't compile for call0 ABI.
3405 (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
3406 use ret in call0 ABI.
3407 * config/xtensa/t-windowed: New file.
3408 * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
3409 * libgcc/configure: Regenerated.
3410 * libgcc/configure.ac: Check if xtensa target is configured for
3411 windowed ABI and thus needs to use custom unwind code.
3412
7727f8f2
JW
34132015-02-12 Jonathan Wakely <jwakely@redhat.com>
3414
3415 PR libgcc/64885
3416 * gthr-single.h: Use __unused__ attribute instead of unused.
3417 * config/gthr-vxworks.h: Likewise.
3418 * config/i386/gthr-win32.h: Likewise.
3419
0e4a0def
KT
34202015-02-27 Kai Tietz <ktietz@redhat.com>
3421
3422 PR target/65038
3423 * config.in: Regenerated.
3424 * configure: Likewise.
3425 * configure.ac (AC_HEADER_STDC): Added explicit.
3426 (AC_CHECK_HEADERS): Check for default headers plus
3427 for ftw.h header.
3428 * libgcov-util.c (gcov_read_profile_dir): Disable use
3429 of ftw-function, if header is not found.
3430 (ftw_read_file): Likewise.
3431
b6530d0a
TS
34322015-02-23 Thomas Schwinge <thomas@codesourcery.com>
3433
3434 PR target/65181
3435 * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
3436 -Dinhibit_libc.
3437
53cfb467
SL
34382015-02-17 Sandra Loosemore <sandra@codesourcery.com>
3439
3440 * config/arm/bpabi.S (test_div_by_zero): Make label names
3441 consistent between thumb2 and arm mode cases. Separate the
3442 signed comparison on the high word of the numerator from the
3443 unsigned comparison on the low word.
3444 * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
3445 signed comparison.
3446
77d10a1b
JM
34472015-02-17 Joseph Myers <joseph@codesourcery.com>
3448
3449 * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
3450 and <string.h>.
3451 (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
3452
98174188
RE
34532015-02-10 Rainer Emrich <rainer@emrich-ebersheim.de>
3454
3455 PR gcov-profile/61889
471274de 3456 * libgcov-driver-system.c: undefine clashing macro for mkdir.
98174188 3457
771bef14
NC
34582015-02-02 Nick Clifton <nickc@redhat.com>
3459
3460 * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
3461 rounding up the fraction.
3462
40702893
JDA
34632015-01-31 John David Anglin <danglin@gcc.gnu.org>
3464
3465 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
3466 oldval and newval to const void *. Fix typo.
3467 (FETCH_AND_OP_2): Use __atomic_load_n to load value.
3468 (FETCH_AND_OP_WORD): Likewise.
3469 (OP_AND_FETCH_WORD): Likewise.
3470 (COMPARE_AND_SWAP_2): Likewise.
3471 (__sync_val_compare_and_swap_4): Likewise.
3472 (__sync_lock_test_and_set_4): Likewise.
3473 (SYNC_LOCK_RELEASE_2): Likewise.
3474 Remove support for long long atomic operations.
3475
f7f049fa
CT
34762015-01-27 Caroline Tice <cmtice@google.com>
3477
3478 Committing VTV Cywin/Ming patch for Patrick Wollgast
3479 * Makefile.in: Move rules to build vtv_*.o out of the check
3480 for CUSTOM_CRTSTUFF.
3481 * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
3482 i[34567]86-*-mingw*)
3483 (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
3484 enable_vtable_verify.
3485
8410904a
NC
34862015-01-27 Nick Clifton <nickc@redhat.com>
3487
3488 * config/rl78/cmpsi2.S: Use function start and end macros.
3489 (__gcc_bcmp): New function.
3490 * config/rl78/lshrsi3.S: Use function start and end macros.
3491 * config/rl78/mulsi3.S: Add support for G10.
3492 (__mulqi3): New function for G10.
3493 * config/rl78/signbit.S: Use function start and end macros.
3494 * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
3495 fpmath-sf.S.
3496 (LIB2FUNCS_EXCLUDE): Define.
3497 (LIB2FUNCS_ST): Define.
3498 * config/rl78/trampoline.S: Use function start and end macros.
3499 * config/rl78/vregs.h (START_FUNC): New macro.
3500 (START_ANOTHER_FUNC): New macro.
3501 (END_FUNC): New macro.
3502 (END_ANOTHER_FUNC): New macro.
3503 * config/rl78/bit-count.S: New file. Contains assembler
3504 implementations of the bit counting functions: ___clzhi2,
3505 __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
3506 __paritysi2, __popcounthi2 and __popcountsi2.
3507 * config/rl78/fpbit-sf.S: New file. Contains assembler
3508 implementationas of the math functions: __negsf2, __cmpsf2,
3509 __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
3510 __fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
3511 * config/rl78/fpmath-sf.S: New file. Contains assembler
3512 implementations of the math functions: __subsf3, __addsf3,
3513 __mulsf3 and __divsf3
3514
f962fbf1
RO
35152015-01-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3516
3517 * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
3518 Add i386/elf-lib.h to tm_file.
3519 * config/i386/elf-lib.h: Fix comment.
3520 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
3521 && __sun__ && __svr4__]: Remove workaround.
3522
939911c5
ASJ
35232015-01-25 Allan Sandfeld Jensen <sandfeld@kde.org>
3524
3525 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
3526 FEATURE_BMI2.
3527 (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
3528
c8f2dff2
L
35292015-01-24 H.J. Lu <hongjiu.lu@intel.com>
3530
3531 * config/i386/cpuinfo.c (processor_subtypes): Add
3532 INTEL_COREI7_BROADWELL.
3533 (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
3534 model numbers.
3535
7bbf9734
UB
35362015-01-23 Uros Bizjak <ubizjak@gmail.com>
3537
3538 * config/i386/elf-lib.h: New file.
3539 (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
3540 Wrap definition in #ifdef __i386__.
3541 * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
3542 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
3543 (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
3544 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
3545 to tm_file.
3546
324820f1
CG
35472015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
3548
3549 * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
3550 "(char *)" to avoid qualifier warning by 'xgcc' compiling.
3551
a9ce4e4a
CLT
35522015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
3553
3554 * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
3555 Update rt_sigframe format and address for current Nios II
3556 Linux conventions.
3557
82a19768
AT
35582015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
3559
3560 * config.host (arm*-*-freebsd*): Add new configuration for
3561 arm*-*-freebsd*.
3562 * config/arm/freebsd-atomic.c: New file.
3563 * config/arm/t-freebsd: Likewise.
3564 * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
3565 'PC-relative indirect' OS's.
3566
0969ec7d
EB
35672015-01-06 Eric Botcazou <ebotcazou@adacore.com>
3568
3569 * config.host: Add Visium support.
3570 * config/visium: New directory.
3571
5624e564
JJ
35722015-01-05 Jakub Jelinek <jakub@redhat.com>
3573
3574 Update copyright years.
3575
82f84ecb
MF
35762014-12-19 Matthew Fortune <matthew.fortune@imgtec.com>
3577
3578 * config.host: Support mipsisa32r6 and mipsisa64r6.
3579 * config/mips/mips16.S: Do not build for R6.
3580
69044fa9
OE
35812014-12-17 Oleg Endo <olegendo@gcc.gnu.org>
3582
3583 * config/sh/crt.h: New.
3584 * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
3585 symbols.
3586 * config/sh/crt1.S: Likewise.
3587
2405e0ea
UB
35882014-12-15 Uros Bizjak <ubizjak@gmail.com>
3589
3590 PR libgcc/63832
3591 * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
3592 func_ptr *dtor_list temporary variable to avoid "array subscript
3593 is above array bounds" warnings.
3594
7d296953 35952014-12-09 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
dd913323
MH
3596
3597 * Makefile.in (with_aix_soname): Define.
3598 * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
3599 * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
3600 * configure: Recreate.
3601
a66272f6
OH
36022014-12-05 Olivier Hainque <hainque@adacore.com>
3603
3604 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
3605 now provided by defaults.h.
3606
6342b2c5
OE
36072014-11-30 Oleg Endo <olegendo@gcc.gnu.org>
3608
7d0ee249 3609 PR target/55351
6342b2c5
OE
3610 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
3611 whether it's defined.
3612
c17eac85
IT
36132014-11-27 Ilya Tocar <ilya.tocar@intel.com>
3614
3615 * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
3616 * config/i386/cpuinfo.c (get_available_features): Detect it.
3617
1025cb6c
TW
36182014-11-27 Tony Wang <tony.wang@arm.com>
3619
3620 * config/arm/lib1funcs.S (FUNC_START): Add conditional section
3621 redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
3622 (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
3623
d19f2e38
SB
36242014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
3625
3626 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
3627
17f6e9a3
JDA
36282014-11-24 John David Anglin <danglin@gcc.gnu.org>
3629
3630 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
3631 instead.
3632
0cd7c672
GM
36332014-11-21 Guy Martin <gmsoft@tuxicoman.be>
3634 John David Anglin <danglin@gcc.gnu.org>
3635
3636 * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
3637 (FETCH_AND_OP_2): New. Use for subword and double word operations.
3638 (OP_AND_FETCH_2): Likewise.
3639 (COMPARE_AND_SWAP_2): Likewise.
3640 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
3641 (SYNC_LOCK_RELEASE_2): Likewise.
3642 (SUBWORD_SYNC_OP): Remove.
3643 (SUBWORD_VAL_CAS): Likewise.
3644 (SUBWORD_BOOL_CAS): Likewise.
3645 (FETCH_AND_OP_WORD): Update.
3646 Consistently use signed types.
cc86234f 3647
85c64bbe
BS
36482014-11-13 Bernd Schmidt <bernds@codesourcery.com>
3649 Thomas Schwinge <thomas@codesourcery.com>
3650 Ilya Verbin <ilya.verbin@intel.com>
3651 Andrey Turetskiy <andrey.turetskiy@intel.com>
3652
3653 * Makefile.in (crtoffloadbegin$(objext)): New rule.
3654 (crtoffloadend$(objext)): Likewise.
3655 * configure: Regenerate.
3656 * configure.ac (accel_dir_suffix): Compute new variable.
3657 (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
3658 if enable_offload_targets is not empty.
3659 * offloadstuff.c: New file.
3660
52a1ff8b
NC
36612014-11-13 Nick Clifton <nickc@redhat.com>
3662
3663 * config/rl78/divmodhi.S: Add support for the G10 architecture.
3664 Use START_FUNC and END_FUNC macros to enable linker garbage
3665 collection.
3666 * config/rl78/divmodqi.S: Likewise.
3667 * config/rl78/divmodsi.S: Likewise.
3668 * config/rl78/mulsi3.S: Likewise.
3669 * config/rl78/lib2div.c: Remove G10 functions.
3670 * config/rl78/lib2muls.c: Likewise.
3671 * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
3672 * config/rl78/vregs.h (START_FUNC): New macro.
3673 (END_FUNC): New macro.
3674
050af144
MF
36752014-11-12 Matthew Fortune <matthew.fortune@imgtec.com>
3676
3677 * config/mips/mips16.S: Set .module when supported. Update O32
3678 FP64 calling convention and use for FPXX when possible. Add FPXX
3679 calling convention fallback case.
3680
738f2522
BS
36812014-11-06 Bernd Schmidt <bernds@codesourcery.com>
3682
3683 * config.host: Handle nvptx-*-*.
3684 * shared-object.mk (as-flags-$o): Define.
3685 ($(base)$(objext), $(base)_s$(objext)): Use it instead of
3686 -xassembler-with-cpp.
3687 * static-object.mk: Identical changes.
3688 * config/nvptx/t-nvptx: New file.
3689 * config/nvptx/crt0.s: New file.
3690 * config/nvptx/free.asm: New file.
3691 * config/nvptx/malloc.asm: New file.
3692 * config/nvptx/realloc.c: New file.
3693
e610393c
JM
36942014-10-30 Joseph Myers <joseph@codesourcery.com>
3695
3696 * Makefile.in (libgcc.map.in): New target.
3697 (libgcc.map): Use libgcc.map.in.
3698 * config/t-softfp (softfp_compat): New variable to be set by
3699 users.
3700 [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
3701 variables.
3702 [$(softfp_compat) = y] (softfp_file_list): Use files in the build
3703 directory.
3704 [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
3705 that use compat symbols and disable all code unless [SHARED].
3706 * config/t-softfp-compat: New file.
3707 * find-symver.awk: New file.
3708 * configure.ac (--with-glibc-version): New configure option.
3709 (ppc_fp_compat): New variable set for powerpc*-*-linux*.
3710 * configure: Regenerate.
3711 * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
3712 soft-float and e500.
3713
bc1b3a88
JM
37142014-10-29 Joseph Myers <joseph@codesourcery.com>
3715
3716 * config/t-hardfp (hardfp_exclusions): Document new variable for
3717 user to define.
3718 (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
3719 * config/t-softfp (softfp_extras): Document new variable for user
3720 to define.
3721 (softfp_func_list): Add functions from $(softfp_extras).
3722 * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
3723 * config.host (powerpc*-*-linux*): For e500v1, use
3724 rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
3725 t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
3726 and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
3727
ef2810c1
JDA
37282014-10-26 John David Anglin <danglin@gcc.gnu.org>
3729
3730 * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
3731 (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
3732 memory read accesses are ok.
3733
d80c2bea
JM
37342014-10-25 Joseph Myers <joseph@codesourcery.com>
3735
3736 * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
3737 * configure: Regenerate.
3738 * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
3739 additions to tmake_file. Use t-hardfp-sfdf and t-hardfp instead
3740 of soft-fp for 32-bit classic hard float. Do not use
3741 t-softfp-excl for soft float.
3742
693b297b
JM
37432014-10-22 Joseph Myers <joseph@codesourcery.com>
3744
3745 * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
3746 configurations.
3747 * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
3748 Remove variables.
3749
18a3415e
GJL
37502014-10-22 Georg-Johann Lay <avr@gjlay.de>
3751
3752 * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
3753 introduced with 2014-10-21 trunk r216525.
3754
c1dd9790 37552014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
7d296953
JJ
3756 Vidya Praveen <vidya.praveen@atmel.com>
3757 Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
3758 Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
3759 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
c1dd9790
JR
3760
3761 * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
3762 order.
3763
3764 Updated library functions for AVRTINY arch.
3765 * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
3766 Replaced occurrences of r0/r1 with tmp/zero reg macros.
3767 Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
3768 or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
3769 wsubi/wadi macors.
3770 (__mulsi3_helper): Update stack, preserve callee saved regs and
3771 argument from stack. Restore callee save registers.
3772 (__mulpsi3): Likewise.
3773 (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
3774 __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
18a3415e 3775 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
c1dd9790
JR
3776 AVRTINY.
3777 (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
3778 (__do_copy_data): Added new definition for AVRTINY.
3779 (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
3780 (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
3781 __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
3782 * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
3783 tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
3784 macors.
18a3415e 3785 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
c1dd9790
JR
3786 AVRTINY.
3787
18a3415e 3788 Fix broken long multiplication on tiny arch.
c1dd9790 3789
5f606431
JM
37902014-10-09 Joseph Myers <joseph@codesourcery.com>
3791
3792 * soft-fp/double.h: Update from glibc.
3793 * soft-fp/eqdf2.c: Likewise.
3794 * soft-fp/eqsf2.c: Likewise.
3795 * soft-fp/eqtf2.c: Likewise.
3796 * soft-fp/extenddftf2.c: Likewise.
3797 * soft-fp/extended.h: Likewise.
3798 * soft-fp/extendsfdf2.c: Likewise.
3799 * soft-fp/extendsftf2.c: Likewise.
3800 * soft-fp/extendxftf2.c: Likewise.
3801 * soft-fp/gedf2.c: Likewise.
3802 * soft-fp/gesf2.c: Likewise.
3803 * soft-fp/getf2.c: Likewise.
3804 * soft-fp/ledf2.c: Likewise.
3805 * soft-fp/lesf2.c: Likewise.
3806 * soft-fp/letf2.c: Likewise.
3807 * soft-fp/op-1.h: Likewise.
3808 * soft-fp/op-2.h: Likewise.
3809 * soft-fp/op-4.h: Likewise.
3810 * soft-fp/op-8.h: Likewise.
3811 * soft-fp/op-common.h: Likewise.
3812 * soft-fp/quad.h: Likewise.
3813 * soft-fp/single.h: Likewise.
3814 * soft-fp/soft-fp.h: Likewise.
3815 * soft-fp/unorddf2.c: Likewise.
3816 * soft-fp/unordsf2.c: Likewise.
3817 * soft-fp/unordtf2.c: Likewise.
3818 * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
3819 * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
3820 * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
3821 * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
3822 * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
3823 * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
3824 * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
3825 * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
3826 * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
3827 * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
3828
9b84e7a8
RX
38292014-10-08 Rong Xu <xur@google.com>
3830
3831 * libgcov-util.c (read_gcda_file): Fix format.
3832 (find_match_gcov_info): Ditto.
3833 (calculate_2_entries): New.
3834 (compute_one_gcov): Ditto.
3835 (gcov_info_count_all_cold): Ditto.
3836 (gcov_info_count_all_zero): Ditto.
3837 (extract_file_basename): Ditto.
3838 (get_file_basename): Ditto.
3839 (set_flag): Ditto.
3840 (matched_gcov_info): Ditto.
3841 (calculate_overlap): Ditto.
3842 (gcov_profile_overlap): Ditto.
3843 * libgcov-driver.c (compute_summary): Make
3844 it avavilable for external calls.
3845
fe1090c1
RX
38462014-10-06 Rong Xu <xur@google.com>
3847
3848 * Makefile.in: Ditto.
3849 * libgcov-driver.c (gcov_sort_n_vals): New utility function.
3850 (gcov_sort_icall_topn_counter): Ditto.
3851 (gcov_sort_topn_counter_arrays): Ditto.
3852 (dump_one_gcov): Sort indirect_call topn counters.
3853 * libgcov-merge.c (__gcov_merge_icall_topn): New merge
3854 function.
3855 * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
3856 utility function.
3857 (__gcov_indirect_call_topn_profiler): New profiler function.
3858 * libgcov-util.c (__gcov_icall_topn_counter_op): New.
3859 * libgcov.h: New decls.
3860
3daa7bbf
TS
38612014-10-04 Trevor Saunders <tsaunders@mozilla.com>
3862
3863 * config.host: Remove support for score-*.
3864
9a79452d
JM
38652014-09-22 Joseph Myers <joseph@codesourcery.com>
3866
3867 * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
3868 (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
3869 (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
3870 __LIBGCC_XF_MANT_DIG__.
3871 (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
3872 (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
3873 __LIBGCC_TF_MANT_DIG__.
3874 * libgcc2.c (NOTRUNC): Define in terms of
3875 __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
3876 * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
3877
1a849e50
JM
38782014-09-22 Joseph Myers <joseph@codesourcery.com>
3879
3880 PR target/63312
3881 * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
3882 New macros.
3883
598a1586
HPN
38842014-09-22 Hans-Peter Nilsson <hp@axis.com>
3885
3886 * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
3887 override USE_PT_GNU_EH_FRAME.
3888 [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
3889 check USE_EH_FRAME_REGISTRY_ALWAYS against
3890 __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
3891 * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
3892 variable for substituted force_explicit_eh_registry.
3893 (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
3894 * configure.ac (explicit-exception-frame-registration):
3895 New AC_ARG_ENABLE.
3896 * configure: Regenerate.
3897
3a8fe7c6
OH
38982014-09-19 Olivier Hainque <hainque@adacore.com>
3899
3900 * config.host (powerpc-wrs-vxworksmils): New configuration,
3901 same as vxworksae.
3902
dd69f047
JM
39032014-09-18 Joseph Myers <joseph@codesourcery.com>
3904
3905 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
3906
e770bfd9
JM
39072014-09-18 Joseph Myers <joseph@codesourcery.com>
3908
3909 * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
3910 bits not set bits as indicating trapping exceptions.
3911
cadb2b96
NS
39122014-09-17 Nathan sidwell <nathan@acm.org>
3913
3914 * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
3915 (LIBGCOV_DRIVER): ... here.
3916 * libgcov-driver.c (gcov_master): New.
3917 (gcov_exit): Remove from master chain.
3918 (__gcov_init): Add to master chain if version compatible. Don't
3919 clear the version.
3920 * libgcov_interface (__gcov_flust): Call gcov_dump_int.
3921 (gcov_reset_int): Clear master chain, if compatible.
3922 (gcov_dump_int): New internal interface. Dump master chain, if
3923 compatible.
3924 (gcov_dump): Alias for gcov_dump_int.
3925 * libgcov.h (struct gcov_root): Add next and prev fields.
3926 (struct gcov_master): New struct.
3927 (__gcov_master): New.
3928 (gcov_dump_int): Declare.
3929
580d22a3
OH
39302014-09-17 Olivier Hainque <hainque@adacore.com>
3931
3932 * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
3933 and crtbegin.o + crtend.o to extra_parts.
3934
8cc4b7a2
JM
39352014-09-12 Joseph Myers <joseph@codesourcery.com>
3936
3937 * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
3938 __LIBGCC_HAS_SF_MODE__.
3939 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
3940 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
3941 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
3942 * config/libbid/bid_gcc_intrinsics.h
3943 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
3944 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
3945 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
3946 * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
3947 (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
3948 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
3949
ea3f2b24
GJL
39502014-09-11 Georg-Johann Lay <avr@gjlay.de>
3951
3952 PR target/63223
3953 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
3954 and R24 as needed. Make work for all devices and .text locations.
3955 (__do_global_ctors, __do_global_dtors): Use word addresses.
3956 (__tablejump__, __tablejump_elpm__): Remove functions.
3957 * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
3958 Add _tablejump2.
3959 (XICALL, XIJMP): New macros.
3960
b677236a
MS
39612014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
3962 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
3963
3964 * config.host (aarch64*): Include crtfastmath.o and
3965 t-crtfm.
3966 * config/aarch64/crtfastmath.c: New file.
3967
157e859f
TS
39682014-09-08 Trevor Saunders <tsaunders@mozilla.com>
3969
3970 * config.host: Remove picochip support.
3971 * config/picochip/adddi3.S: Remove.
3972 * config/picochip/ashlsi3.S: Remove.
3973 * config/picochip/ashlsi3.c: Remove.
3974 * config/picochip/ashrsi3.S: Remove.
3975 * config/picochip/ashrsi3.c: Remove.
3976 * config/picochip/clzsi2.S: Remove.
3977 * config/picochip/cmpsi2.S: Remove.
3978 * config/picochip/divmod15.S: Remove.
3979 * config/picochip/divmodhi4.S: Remove.
3980 * config/picochip/divmodsi4.S: Remove.
3981 * config/picochip/lib1funcs.S: Remove.
3982 * config/picochip/longjmp.S: Remove.
3983 * config/picochip/lshrsi3.S: Remove.
3984 * config/picochip/lshrsi3.c: Remove.
3985 * config/picochip/parityhi2.S: Remove.
3986 * config/picochip/popcounthi2.S: Remove.
3987 * config/picochip/setjmp.S: Remove.
3988 * config/picochip/subdi3.S: Remove.
3989 * config/picochip/t-picochip: Remove.
3990 * config/picochip/ucmpsi2.S: Remove.
3991 * config/picochip/udivmodhi4.S: Remove.
3992 * config/picochip/udivmodsi4.S: Remove.
3993
66bb34c0
JM
39942014-09-08 Joseph Myers <joseph@codesourcery.com>
3995
3996 * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
3997 (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
3998 (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
3999 (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
4000 * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
4001 error if not defined and LIBGCC2_HAS_SF_MODE is defined.
4002 (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
4003 defined and LIBGCC2_HAS_DF_MODE is defined.
4004 (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
4005 defined and LIBGCC2_HAS_XF_MODE is defined.
4006 (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
4007 defined and LIBGCC2_HAS_TF_MODE is defined.
4008
9686a2e6
JM
40092014-09-08 Joseph Myers <joseph@codesourcery.com>
4010
4011 * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
4012 and ROUND_TOWARDS_ZERO conditionals.
4013
71c3e2ef
NS
40142014-09-07 Nathan sidwell <nathan@acm.org>
4015
4016 * libgcov-interface.c (STRONG_ALIAS): Rename to ...
4017 (ALIAS_weak): ... here. Use forwarding function. Adjust uses.
4018
53d68b9f
JM
40192014-09-05 Joseph Myers <joseph@codesourcery.com>
4020
4021 * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
4022 * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
4023 uses to __LIBGCC_STACK_POINTER_REGNUM__.
4024 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
4025 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4026 * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
4027 Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4028 * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
4029 uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
4030 (DWARF_FRAME_REGISTERS): Change all uses to
4031 __LIBGCC_DWARF_FRAME_REGISTERS__.
4032 (EH_RETURN_STACKADJ_RTX): Change all uses to
4033 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
4034 * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
4035 __LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
4036 * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
4037 use to __LIBGCC_EH_FRAME_SECTION_NAME__.
4038 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
4039 * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
4040 to __LIBGCC_EH_FRAME_SECTION_NAME__.
4041 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
4042 * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
4043 __LIBGCC_STACK_POINTER_REGNUM__.
4044 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
4045 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4046 * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
4047 to __LIBGCC_STACK_POINTER_REGNUM__.
4048 * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
4049 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4050 * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
4051 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4052 * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
4053 Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4054 (STACK_POINTER_REGNUM): Change all uses to
4055 __LIBGCC_STACK_POINTER_REGNUM__.
4056 * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
4057 use to __LIBGCC_STACK_POINTER_REGNUM__.
4058 * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
4059 uses to __LIBGCC_STACK_POINTER_REGNUM__.
4060 * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
4061 to __LIBGCC_DWARF_FRAME_REGISTERS__.
4062 * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
4063 to __LIBGCC_DWARF_FRAME_REGISTERS__.
4064 * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
4065 to __LIBGCC_STACK_POINTER_REGNUM__.
4066 * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
4067 Remove conditional definition.
4068 * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
4069 __LIBGCC_TEXT_SECTION_ASM_OP__.
4070 (EH_FRAME_SECTION_NAME): Change all uses to
4071 __LIBGCC_EH_FRAME_SECTION_NAME__.
4072 (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
4073 __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
4074 (CTORS_SECTION_ASM_OP): Change all uses to
4075 __LIBGCC_CTORS_SECTION_ASM_OP__.
4076 (DTORS_SECTION_ASM_OP): Change all uses to
4077 __LIBGCC_DTORS_SECTION_ASM_OP__.
4078 (JCR_SECTION_NAME): Change all uses to
4079 __LIBGCC_JCR_SECTION_NAME__.
4080 (INIT_SECTION_ASM_OP): Change all uses to
4081 __LIBGCC_INIT_SECTION_ASM_OP__.
4082 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
4083 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
4084 * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
4085 __LIBGCC_STACK_GROWS_DOWNWARD__.
4086 * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
4087 __LIBGCC_INIT_SECTION_ASM_OP__.
4088 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
4089 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
4090 (EH_FRAME_SECTION_NAME): Change all uses to
4091 __LIBGCC_EH_FRAME_SECTION_NAME__.
4092 * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
4093 definitions. Change all uses to
4094 __LIBGCC_VTABLE_USES_DESCRIPTORS__.
4095 * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
4096 __LIBGCC_STACK_GROWS_DOWNWARD__.
4097 (DWARF_FRAME_REGISTERS): Change all uses to
4098 __LIBGCC_DWARF_FRAME_REGISTERS__.
4099 (EH_RETURN_STACKADJ_RTX): Change all uses to
4100 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
4101 * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
4102 definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
4103 * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
4104 __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
4105 (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
4106
b20ee094
NS
41072014-09-02 Nathan sidwell <nathan@acm.org>
4108
4109 * libgcov-interface.c (STRONG_ALIAS): New.
4110 (__gcov_flush): Call __gcov_reset_int.
4111 (__gcov_reset): Strong alias for ...
4112 (__gcov_reset_ing): ... this renamed hidden version.
4113 * libgcov.h (__gcov_reset_int): New declaration.
4114
1ac83976
YS
41152014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
4116
25efdb9f
YS
4117 * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
4118 call from here...
4119 * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
4120 (__dso_handle): Define on Cygwin.
4121 * config/i386/t-cygming (crtbeginS.o): New rule.
4122 * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
4123
1ac83976
YS
4124 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
4125 declaration syntax.
4126
c6f9ea3b
SE
41272014-08-13 Steve Ellcey <sellcey@mips.com>
4128
4129 * crtstuff.c: Undef caddr_t.
4130
5b1ea7c5
SE
41312014-08-12 Steve Ellcey <sellcey@mips.com>
4132
4133 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
4134
4303c581
NS
41352014-08-07 Nathan Sidwell <nathan@acm.org>
4136
4137 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
4138 (LIBGCOV_DRIVER): ... to here.
4139 * libgcov.h (gcov_do_dump): New #define.
4140 (struct gcov_root): New.
4141 (__gcov_root): New declaration.
4142 (__gcov_dump_one): Declare.
4143 * libgcov-driver.c (gcov_list, gcov_dump_complete,
4144 run_accounted): Delete.
4145 (gcov_compute_histogram): Add LIST argument, adjust.
4146 (compute_summary): Adjust gcov_compute_histogram call.
4147 (gcov_do_dump): Not hidden, static in libgcov.
4148 (gcov_clear): Move to interface.c.
4149 (__gcov_dump_one): New, broken out of ...
4150 (gcov_exit): ... here. Make static.
4151 (__gcov_root): New.
4152 (__gcov_init): Adjust.
4153 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
4154 declarations.
4155 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
4156 (gcov_clear): Moved from driver.c. Add LIST argument.
4157 (__gcov_reset): Adjust for changed interfaces.
4158 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
4159
23742a9e
RAR
41602014-08-04 Rohit <rohitarulraj@freescale.com>
4161
4162 PR target/60102
4163 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
d406ae47 4164 based on change in SPE high register numbers and 3 HTM registers.
23742a9e 4165
b98a872b
NS
41662014-08-01 Nathan Sidwell <nathan@acm.org>
4167
4168 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
4169 LIBGCOV_INTERFACE): Reformat.
4170 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
4171 IN_GCOV_TOOL.
4172 * libgcov-interface.c: Reformat some comments.
4173 (__gcov_flush_mx): Add declaration. Tidy up definition.
4174
6adaaa1d
AM
41752014-07-31 Alan Modra <amodra@gmail.com>
4176 Peter Bergner <bergner@vnet.ibm.com>
4177
4178 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
4179 (pack_ldouble): New function.
4180 (__gcc_qadd): Use it.
4181 (__gcc_qmul): Likewise.
4182 (__gcc_qdiv): Likewise.
4183 (__gcc_qneg): Likewise.
4184 (__gcc_stoq): Likewise.
4185 (__gcc_dtoq): Likewise.
4186
87cb0c0c
UW
41872014-07-30 J. D. Johnston <jjohnst@us.ibm.com>
4188
4189 * config/s390/tpf-unwind.h: Include <stdbool.h>.
4190 (__tpf_eh_return): Add original return address as second parameter.
4191 Handle cases where unwinder routines were called directly, instead
4192 of from within the C++ library.
4193
19926161
NS
41942014-07-29 Nathan Sidwell <nathan@acm.org>
4195
4196 * libgcov.h: Move renaming of entry points to lib gcov specific
4197 portion.
4198 (gcov_do_dump): New rename.
4199 (gcov_rewrite): Remove inline, make HIDDEN.
4200 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
4201 (gcov_exit_compute_summary): Rename to ...
4202 (compute_summary): ... here. Add LIST argument.
4203 (gcov_exit_merge_gcda): Rename to ...
4204 (merge_one_data): ... here.
4205 (gcov_exit_write_gcda): Rename to ...
4206 (write_one_data): ... here.
4207 (gcov_exit_merge_summary): Rename to ...
4208 (merge_summary): Add RUN_COUNTED argument.
4209 (gcov_exit_dump_gcov): Rename to ...
4210 (dump_one_gcov): Add RUN_COUNTED argument.
4211 (gcov_do_dump): New function, broken out of ...
4212 (gcov_exit): ... here. Call it.
4213
17522262
AG
42142014-07-27 Anthony Green <green@moxielogic.com>
4215
4216 * config.host: Add moxiebox configuration suppport.
4217
6dc33097
NS
42182014-07-27 Nathan Sidwell <nathan@acm.org>
4219
4220 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
4221 (struct gcov_filename): ... here. Include buffer and max length
4222 fields.
4223 (gcov_max_filename): Remove.
4224 (gi_filename): Remove.
4225 (gcov_exit_compute_summary): Compute max filename here.
4226 (gcov_exit_merge_gcda): Add filename parm, adjust.
4227 (gcov_exit_merge_summary): Likewise.
4228 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
4229 (gcov_exit): Likewise.
4230 (__gcov_init): Don't calculate max length here.
4231 * libgcov_util.c (max_filename_len): Remove.
4232 (read_gcda_file): Don't calculate max length here.
4233 (gcov_read_profile_dir): Don't propagate here.
4234 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
4235 struct gcov_filename changes.
4236 (gcov_exit_open_gcda_file): Likewise.
4237
770f687d
NS
42382014-07-25 Nathan Sidwell <nathan@acm.org>
4239
4240 * libgcov-driver.c (set_gcov_dump_complete,
4241 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
4242 functions polluting user's namespace.
4243 (gcov_exit): Set variable directly.
4244 (gcov_clear): Reset variable directly.
4245 * libgcov-interface.c (get_gcov_dymp_complete,
4246 reset_gov_dump_complete): Remove declarations.
4247 (__gcov_reset, __gcov_dump): Don't call them.
4248
fabf71ba
DD
42492014-07-24 DJ Delorie <dj@redhat.com>
4250
4251 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
770f687d
NS
4252 (__gcc_deregister_frame): Move logic to detect deregister function
4253 to ...
4254 (__gcc_register_frame): here, so it's consistent with the register
4255 logic.
fabf71ba 4256
d10ee722
NS
42572014-07-23 Nathan Sidwell <nathan@acm.org>
4258
4259 * libgcov-driver.c (set_gcov_list): Remove.
4260 (gcov_list): Make non-static in GCOV_TOOL.
4261 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
4262
a4137090
JDA
42632014-07-17 John David Anglin <danglin@gcc.gnu.org>
4264
4265 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
4266 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
4267 Don't use SYNC_LOCK_RELEASE for int type.
4268
72602c6c
RB
42692014-07-14 Richard Biener <rguenther@suse.de>
4270
4271 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
4272
d5313205
RX
42732014-07-11 Rong Xu <xur@google.com>
4274
4275 * libgcov-util.c (gcov_max_filename): Fix declartion.
4276
c77556a5
RX
42772014-07-10 Rong Xu <xur@google.com>
4278
4279 Add gcov-tool: an offline gcda profile processing tool
4280 Support.
4281 * libgcov-driver.c (gcov_max_filename): Make available
4282 to gcov-tool.
4283 * libgcov-merge.c (__gcov_merge_add): Replace
4284 gcov_read_counter() with a Macro.
4285 (__gcov_merge_ior): Ditto.
4286 (__gcov_merge_time_profile): Ditto.
4287 (__gcov_merge_single): Ditto.
4288 (__gcov_merge_delta): Ditto.
4289 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
4290 in the utility functions.
4291 (set_fn_ctrs): Utility function for reading gcda files to in-memory
4292 gcov_list object link lists.
4293 (tag_function): Ditto.
4294 (tag_blocks): Ditto.
4295 (tag_arcs): Ditto.
4296 (tag_lines): Ditto.
4297 (tag_counters): Ditto.
4298 (tag_summary): Ditto.
4299 (read_gcda_finalize): Ditto.
4300 (read_gcda_file): Ditto.
4301 (ftw_read_file): Ditto.
4302 (read_profile_dir_init): Ditto.
4303 (gcov_read_profile_dir): Ditto.
4304 (gcov_read_counter_mem): Ditto.
4305 (gcov_get_merge_weight): Ditto.
4306 (merge_wrapper): A wrapper function that calls merging handler.
4307 (gcov_merge): Merge two gcov_info objects with weights.
4308 (find_match_gcov_info): Find the matched gcov_info in the list.
4309 (gcov_profile_merge): Merge two gcov_info object lists.
4310 (__gcov_add_counter_op): Process edge profile counter values.
4311 (__gcov_ior_counter_op): Process IOR profile counter values.
4312 (__gcov_delta_counter_op): Process delta profile counter values.
4313 (__gcov_single_counter_op): Process single profile counter values.
4314 (fp_scale): Callback function for float-point scaling.
cc86234f 4315 (int_scale): Callback function for integer fraction scaling.
c77556a5
RX
4316 (gcov_profile_scale): Scaling profile counters.
4317 (gcov_profile_normalize): Normalize profile counters.
4318 * libgcov.h: Add headers and functions for gcov-tool use.
4319 (gcov_get_counter): New.
4320 (gcov_get_counter_target): Ditto.
4321 (struct gcov_info): Make the functions field mutable in gcov-tool
4322 compilation.
4323
5c7dac8a
KT
43242014-06-23 Kai Tietz <ktietz@redhat.com>
4325
4326 PR libgcc/61585
4327 * unwind-seh.c (_Unwind_GetGR): Check for proper
4328 index range.
4329 (_Unwind_SetGR): Likewise.
4330
161c9312
NC
43312014-05-22 Nick Clifton <nickc@redhat.com>
4332
4333 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
4334 -mhwmult=none.
4335
e3f0315f
TJ
43362014-05-22 Teresa Johnson <tejohnson@google.com>
4337
4338 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
4339 include.
4340
dbed5a9b
JM
43412014-05-20 John Marino <gnugcc@marino.st>
4342
4343 * config.host (*-*-dragonfly*): New target.
4344 * crtstuff.c: Make dl_iterate_support generic on *bsd.
4345 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
4346 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
4347 * config/i386/dragonfly-unwind.h: New.
4348
1ec380e5
MR
43492014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
4350
4351 PR libgcc/60166
4352 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
4353 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
4354
54fde020
BE
43552014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
4356
4357 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
4358 implementation.
4359
999db125
GJL
43602014-05-12 Georg-Johann Lay <avr@gjlay.de>
4361
4362 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
4363
cceaf54a
RO
43642014-05-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4365
4366 PR libgcc/61097
4367 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
4368 if --enable-shared.
4369
e3fe9b5b
BE
43702014-04-30 Bernd Edlinger <bernd.edlinger@hotmail.de>
4371
4372 Work around for current cygwin32 build problems.
4373 * config/i386/cygming-crtbegin.c (__register_frame_info,
4374 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
4375 functions only for 64-bit systems.
4376
54cf37e9
RO
43772014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4378
4379 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
4380 (sigill_caught, sigill_hdlr): Remove.
4381
d9f069ab
RO
43822014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4383
4384 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
4385 check.
4386 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
4387 Solaris 9 single-threaded support.
4388 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
4389 Solaris 9 single-threaded support. Add call_user_handler code
4390 sequences.
4391 (sparc_is_sighandler): Likewise.
4392
59976ef8
AK
43932014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4394
4395 * config.host: Append t-floattodi to tmake_file depending on
4396 host_address.
4397
d02bbcf3
JS
43982014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
4399
31466bc0 4400 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
d02bbcf3 4401
c2e7e597
UB
44022014-03-10 Uros Bizjak <ubizjak@gmail.com>
4403
4404 PR libgcc/60472
4405 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
2405e0ea 4406 variable to avoid "array subscript is above array bounds" warnings.
c2e7e597
UB
4407 Use __builtin_expect when checking *jcr_list for NULL.
4408
227a7dc8
RO
44092014-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4410
4411 PR libgcc/59339
4412 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
4413 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
4414 vtv_*.o to extra_parts if enable_vtable_verify.
4415
df2b279c
NC
44162014-03-06 Nick Clifton <nickc@redhat.com>
4417
4418 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
4419 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
4420
dc11d79b
JY
44212014-02-28 Joey Ye <joey.ye@arm.com>
4422
4423 PR libgcc/60166
4424 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
4425 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
4426 Set to zero.
4427
341c653c
WL
44282014-02-24 Walter Lee <walt@tilera.com>
4429
4430 * config.host: Support "tilegx*" and "tilepro*" triplets.
4431 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
4432 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
4433
95ce7613
CLT
44342014-02-20 Sandra Loosemore <sandra@codesourcery.com>
4435 Chung-Lin Tang <cltang@codesourcery.com>
4436
4437 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
4438 * config/nios2/crti.S: Remove .file directive.
4439 * config/nios2/crtn.S: Likewise.
4440
0bb4fc05
KT
44412014-02-18 Kai Tietz <ktietz@redhat.com>
4442 Jonathan Schleifer <js@webkeks.org>
4443
4444 PR objc/56870
4445 * unwind-seh.c (_GCC_specific_handler): Pass proper
4446 value to unwind-handler.
4447
9acf28f1
JM
44482014-02-12 Joseph Myers <joseph@codesourcery.com>
4449
4450 * soft-fp/adddf3.c: Update from glibc.
4451 * soft-fp/addsf3.c: Likewise.
4452 * soft-fp/addtf3.c: Likewise.
4453 * soft-fp/divdf3.c: Likewise.
4454 * soft-fp/divsf3.c: Likewise.
4455 * soft-fp/divtf3.c: Likewise.
4456 * soft-fp/double.h: Likewise.
4457 * soft-fp/eqdf2.c: Likewise.
4458 * soft-fp/eqsf2.c: Likewise.
4459 * soft-fp/eqtf2.c: Likewise.
4460 * soft-fp/extenddftf2.c: Likewise.
4461 * soft-fp/extended.h: Likewise.
4462 * soft-fp/extendsfdf2.c: Likewise.
4463 * soft-fp/extendsftf2.c: Likewise.
4464 * soft-fp/extendxftf2.c: Likewise.
4465 * soft-fp/fixdfdi.c: Likewise.
4466 * soft-fp/fixdfsi.c: Likewise.
4467 * soft-fp/fixdfti.c: Likewise.
4468 * soft-fp/fixsfdi.c: Likewise.
4469 * soft-fp/fixsfsi.c: Likewise.
4470 * soft-fp/fixsfti.c: Likewise.
4471 * soft-fp/fixtfdi.c: Likewise.
4472 * soft-fp/fixtfsi.c: Likewise.
4473 * soft-fp/fixtfti.c: Likewise.
4474 * soft-fp/fixunsdfdi.c: Likewise.
4475 * soft-fp/fixunsdfsi.c: Likewise.
4476 * soft-fp/fixunsdfti.c: Likewise.
4477 * soft-fp/fixunssfdi.c: Likewise.
4478 * soft-fp/fixunssfsi.c: Likewise.
4479 * soft-fp/fixunssfti.c: Likewise.
4480 * soft-fp/fixunstfdi.c: Likewise.
4481 * soft-fp/fixunstfsi.c: Likewise.
4482 * soft-fp/fixunstfti.c: Likewise.
4483 * soft-fp/floatdidf.c: Likewise.
4484 * soft-fp/floatdisf.c: Likewise.
4485 * soft-fp/floatditf.c: Likewise.
4486 * soft-fp/floatsidf.c: Likewise.
4487 * soft-fp/floatsisf.c: Likewise.
4488 * soft-fp/floatsitf.c: Likewise.
4489 * soft-fp/floattidf.c: Likewise.
4490 * soft-fp/floattisf.c: Likewise.
4491 * soft-fp/floattitf.c: Likewise.
4492 * soft-fp/floatundidf.c: Likewise.
4493 * soft-fp/floatundisf.c: Likewise.
4494 * soft-fp/floatunditf.c: Likewise.
4495 * soft-fp/floatunsidf.c: Likewise.
4496 * soft-fp/floatunsisf.c: Likewise.
4497 * soft-fp/floatunsitf.c: Likewise.
4498 * soft-fp/floatuntidf.c: Likewise.
4499 * soft-fp/floatuntisf.c: Likewise.
4500 * soft-fp/floatuntitf.c: Likewise.
4501 * soft-fp/gedf2.c: Likewise.
4502 * soft-fp/gesf2.c: Likewise.
4503 * soft-fp/getf2.c: Likewise.
4504 * soft-fp/ledf2.c: Likewise.
4505 * soft-fp/lesf2.c: Likewise.
4506 * soft-fp/letf2.c: Likewise.
4507 * soft-fp/muldf3.c: Likewise.
4508 * soft-fp/mulsf3.c: Likewise.
4509 * soft-fp/multf3.c: Likewise.
4510 * soft-fp/negdf2.c: Likewise.
4511 * soft-fp/negsf2.c: Likewise.
4512 * soft-fp/negtf2.c: Likewise.
4513 * soft-fp/op-1.h: Likewise.
4514 * soft-fp/op-2.h: Likewise.
4515 * soft-fp/op-4.h: Likewise.
4516 * soft-fp/op-8.h: Likewise.
4517 * soft-fp/op-common.h: Likewise.
4518 * soft-fp/quad.h: Likewise.
4519 * soft-fp/single.h: Likewise.
4520 * soft-fp/soft-fp.h: Likewise.
4521 * soft-fp/subdf3.c: Likewise.
4522 * soft-fp/subsf3.c: Likewise.
4523 * soft-fp/subtf3.c: Likewise.
4524 * soft-fp/truncdfsf2.c: Likewise.
4525 * soft-fp/trunctfdf2.c: Likewise.
4526 * soft-fp/trunctfsf2.c: Likewise.
4527 * soft-fp/trunctfxf2.c: Likewise.
4528 * soft-fp/unorddf2.c: Likewise.
4529 * soft-fp/unordsf2.c: Likewise.
4530 * soft-fp/unordtf2.c: Likewise.
4531 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
4532 macro.
4533 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4534 Likewise.
4535 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4536 Likewise.
4537 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4538 Likewise.
4539 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4540 Likewise.
4541 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4542 Likewise.
4543 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4544 Likewise.
4545 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4546 Likewise.
4547 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4548 Likewise.
4549 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4550 Likewise.
4551 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4552 Likewise.
4553 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4554 Likewise.
4555 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4556 Likewise.
4557 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
4558 Likewise.
4559 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
4560 Likewise.
4561 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4562 Likewise.
4563
ce245ec6
AK
45642014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4565
4566 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
4567 cannot be represented.
4568 * config/s390/32/_fixsfdi.c: Likewise.
4569 * config/s390/32/_fixtfdi.c: Likewise.
4570 * config/s390/32/_fixunsdfdi.c: Likewise.
4571 * config/s390/32/_fixunssfdi.c: Likewise.
4572 * config/s390/32/_fixunstfdi.c: Likewise.
4573
1c51d688
RS
45742014-02-07 Richard Sandiford <rdsandiford@googlemail.com>
4575
4576 * configure.ac (libgcc_cv_mips_hard_float): New.
4577 * configure: Regenerate.
4578 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
4579 t-softfp-sfdf for hard-float targets.
4580 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
4581 (softfp_float_modes, softfp_int_modes, softfp_extensions)
4582 (softfp_truncations, softfp_exclude_libgcc2): New.
4583 * config/t-hardfp: New file.
4584 * config/t-hardfp-sfdf: Likewise.
4585 * config/hardfp.c: Likewise.
4586
bbf391db
AK
45872014-02-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4588
4589 * config.host: Include t-floattodi also for s390x.
4590 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
4591 * config/s390/32/_fixsfdi.c: Likewise.
4592 * config/s390/32/_fixtfdi.c: Likewise.
4593 * config/s390/32/_fixunsdfdi.c: Likewise.
4594 * config/s390/32/_fixunssfdi.c: Likewise.
4595 * config/s390/32/_fixunstfdi.c: Likewise.
4596
91da0481
RO
45972014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4598
4599 PR target/59788
4600 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
4601 (install-libgcc-unwind-map-forbuild): New target.
4602 (all): Depend on install-libgcc-unwind-map-forbuild.
4603 (install-libgcc-unwind-map): New target.
4604 (install): Depend on install-libgcc-unwind-map.
4605
02b67731
SL
46062014-02-02 Sandra Loosemore <sandra@codesourcery.com>
4607
4608 * config/nios2/crti.S (_init): Initialize GOT pointer from
4609 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
4610
1ea0a651
RS
46112014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
4612
4613 * configure.ac: Check __mips64 when setting host_address.
4614 * configure: Regenerate.
4615 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
4616 mips/t-mips64 and t-softfp.
4617 (mips*-*-linux*): Don't add mips/t-tpbit.
4618 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
4619 (DPBIT, DPBIT_CFLAGS): Delete.
4620 * config/mips/sfp-machine.h: New file.
4621 * config/mips/t-mips64: Likewise.
4622 * config/mips/t-softfp-tf: Likewise.
4623 * config/mips/t-tpbit: Delete.
4624
f32b0061
MS
46252014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
4626
4627 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
4628 as long long.
4629
a5420aa4
WL
46302014-01-25 Walter Lee <walt@tilera.com>
4631
4632 * config/tilepro/atomic.c: Include tconfig.h. Don't include
4633 config.h or system.h.
4634 (bool) Define.
4635
24534912
WL
46362014-01-25 Walter Lee <walt@tilera.com>
4637
4638 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
4639 (post_atomic_barrier): Ditto.
4640 (__fetch_and_do): New macro.
4641 (__atomic_fetch_and_do): Use __fetch_and_do.
4642 (__sync_fetch_and_do): New macro.
4643 (__sync_fetch_and_add_4): New function.
4644 (__sync_fetch_and_sub_4): New function.
4645 (__sync_fetch_and_or_4): New function.
4646 (__sync_fetch_and_and_4): New function.
4647 (__sync_fetch_and_xor_4): New function.
4648 (__sync_fetch_and_nand_4): New function.
4649 (__sync_fetch_and_add_8): New function.
4650 (__sync_fetch_and_sub_8): New function.
4651 (__sync_fetch_and_or_8): New function.
4652 (__sync_fetch_and_and_8): New function.
4653 (__sync_fetch_and_xor_8): New function.
4654 (__sync_fetch_and_nand_8): New function.
4655 (__do_and_fetch): New macro.
4656 (__atomic_do_and_fetch): Use __do_and_fetch.
4657 (__sync_do_and_fetch): New macro.
4658 (__sync_add_and_fetch_4): New function.
4659 (__sync_sub_and_fetch_4): New function.
4660 (__sync_or_and_fetch_4): New function.
4661 (__sync_and_and_fetch_4): New function.
4662 (__sync_xor_and_fetch_4): New function.
4663 (__sync_nand_and_fetch_4): New function.
4664 (__sync_add_and_fetch_8): New function.
4665 (__sync_sub_and_fetch_8): New function.
4666 (__sync_or_and_fetch_8): New function.
4667 (__sync_and_and_fetch_8): New function.
4668 (__sync_xor_and_fetch_8): New function.
4669 (__sync_nand_and_fetch_8): New function.
4670 (__sync_exchange_methods): New macro.
4671 (__sync_val_compare_and_swap_4): New function.
4672 (__sync_bool_compare_and_swap_4): New function.
4673 (__sync_lock_test_and_test_4): New function.
4674 (__sync_val_compare_and_swap_8): New function.
4675 (__sync_bool_compare_and_swap_8): New function.
4676 (__sync_lock_test_and_test_8): New function.
4677 (__subword_cmpxchg_body): New macro.
4678 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
4679 (__atomic_compare_exchange_2): Ditto.
4680 (__sync_subword_cmpxchg): New macro.
4681 (__sync_val_compare_and_swap_1): New function.
4682 (__sync_bool_compare_and_swap_1): New function.
4683 (__sync_val_compare_and_swap_2): New function.
4684 (__sync_bool_compare_and_swap_2): New function.
4685 (__atomic_subword): Rename to ...
4686 (__subword): ... New name.
4687 (__atomic_subword_fetch): Use __subword.
4688 (__sync_subword_fetch): New macro.
4689 (__sync_fetch_and_add_1): New function.
4690 (__sync_fetch_and_sub_1): New function.
4691 (__sync_fetch_and_or_1): New function.
4692 (__sync_fetch_and_and_1): New function.
4693 (__sync_fetch_and_xor_1): New function.
4694 (__sync_fetch_and_nand_1): New function.
4695 (__sync_fetch_and_add_2): New function.
4696 (__sync_fetch_and_sub_2): New function.
4697 (__sync_fetch_and_or_2): New function.
4698 (__sync_fetch_and_and_2): New function.
4699 (__sync_fetch_and_xor_2): New function.
4700 (__sync_fetch_and_nand_2): New function.
4701 (__sync_add_and_fetch_1): New function.
4702 (__sync_sub_and_fetch_1): New function.
4703 (__sync_or_and_fetch_1): New function.
4704 (__sync_and_and_fetch_1): New function.
4705 (__sync_xor_and_fetch_1): New function.
4706 (__sync_nand_and_fetch_1): New function.
4707 (__sync_add_and_fetch_2): New function.
4708 (__sync_sub_and_fetch_2): New function.
4709 (__sync_or_and_fetch_2): New function.
4710 (__sync_and_and_fetch_2): New function.
4711 (__sync_xor_and_fetch_2): New function.
4712 (__sync_nand_and_fetch_2): New function.
4713 (__atomic_subword_lock): Use __subword.
4714 (__sync_subword_lock): New macro.
4715 (__sync_lock_test_and_set_1): New function.
4716 (__sync_lock_test_and_set_2): New function.
4717
4d6d3bc5
WL
47182014-01-25 Walter Lee <walt@tilera.com>
4719
4720 * config/tilepro/atomic.c (BIT_OFFSET): Define.
4721 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
4722 (__atomic_subword): Ditto.
4723
cbd9890e
WL
47242014-01-25 Walter Lee <walt@tilera.com>
4725
4726 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
4727 a prefix op argument.
4728 (__atomic_nand_fetch_4): Add prefix op.
4729 (__atomic_nand_fetch_8): Ditto.
4730
7d296953 47312014-01-21 Baruch Siach <barch@tkos.co.il>
800d8bd5
BS
4732
4733 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
4734
46dd1242
L
47352014-01-09 Rong Xu <xur@google.com>
4736
4737 * libgcov-driver.c (this_prg): make it local to save
4738 bss space.
4739 (gcov_exit_compute_summary): Ditto.
4740 (gcov_exit_merge_gcda): Ditto.
4741 (gcov_exit_merge_summary): Ditto.
4742 (gcov_exit_dump_gcov): Ditto.
4743
cc86234f 47442014-01-08 Rong Xu <xur@google.com>
40d6b753
RX
4745
4746 * libgcov-driver.c: Use libgcov.h.
4747 (buffer_fn_data): Use xmalloc instead of malloc.
4748 (gcov_exit_merge_gcda): Ditto.
4749 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
4750 * libgcov.h: New common header files for libgcov-*.h.
4751 * libgcov-interface.c: Use libgcov.h
4752 * libgcov-merge.c: Ditto.
4753 * libgcov-profiler.c: Ditto.
4754 * Makefile.in: Add dependence to libgcov.h
4755
a02e7bdd
JM
47562014-01-02 Joseph Myers <joseph@codesourcery.com>
4757
4758 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
4759 case of small numerator and finite nonzero result.
4760
ac1dca3c
RS
47612014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
4762
4763 Update copyright years
4764
f9030485
RS
47652014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
4766
4767 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
4768 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
4769 config/arc/dp-hack.h, config/arc/fp-hack.h,
4770 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
4771 config/arc/ieee-754/arc600-dsp/divdf3.S,
4772 config/arc/ieee-754/arc600-dsp/divsf3.S,
4773 config/arc/ieee-754/arc600-dsp/muldf3.S,
4774 config/arc/ieee-754/arc600-dsp/mulsf3.S,
4775 config/arc/ieee-754/arc600-mul64/divdf3.S,
4776 config/arc/ieee-754/arc600-mul64/divsf3.S,
4777 config/arc/ieee-754/arc600-mul64/muldf3.S,
4778 config/arc/ieee-754/arc600-mul64/mulsf3.S,
4779 config/arc/ieee-754/arc600/divsf3.S,
4780 config/arc/ieee-754/arc600/mulsf3.S,
4781 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
4782 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
4783 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
4784 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
4785 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
4786 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
4787 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
4788 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
4789 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
4790 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
4791 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
4792 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
4793 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
4794 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
4795 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
4796 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
4797 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
4798 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
4799 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
4800 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
4801 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
4802 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
4803 vtv_start_preinit.c: Use the standard form for the copyright notice.
4804
e430824f
CLT
48052013-12-31 Sandra Loosemore <sandra@codesourcery.com>
4806 Chung-Lin Tang <cltang@codesourcery.com>
4807 Based on patches from Altera Corporation
4808
4809 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
4810 * config/nios2/lib2-nios2.h: New file.
4811 * config/nios2/lib2-divmod-hi.c: New file.
4812 * config/nios2/linux-unwind.h: New file.
4813 * config/nios2/lib2-divmod.c: New file.
4814 * config/nios2/linux-atomic.c: New file.
4815 * config/nios2/t-nios2: New file.
4816 * config/nios2/crti.asm: New file.
4817 * config/nios2/t-linux: New file.
4818 * config/nios2/lib2-divtable.c: New file.
4819 * config/nios2/lib2-mul.c: New file.
4820 * config/nios2/tramp.c: New file.
4821 * config/nios2/crtn.asm: New file.
4822
1879e97f
UB
48232013-12-26 Uros Bizjak <ubizjak@gmail.com>
4824
4825 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
4826 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
4827 from cpuid.h to check vendor signatures.
4828
f4a4bdbb
GG
48292013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
4830
c2e7e597 4831 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
f4a4bdbb
GG
4832 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
4833 (get_amd_cpu): Likewise.
4834
8d2ae544
L
48352013-12-25 H.J. Lu <hongjiu.lu@intel.com>
4836
4837 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
4838 Haswell.
4839
74924838
ASJ
48402013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
4841 H.J. Lu <hongjiu.lu@intel.com>
4842
0bb52f25
L
4843 PR target/59422
4844 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
74924838
ASJ
4845 and AMD_JAGUAR.
4846 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
4847 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
4848 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
4849 FEATURE_XOP and FEATURE_FMA.
4850 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
4851 AMDFAM15H_BDVER3.
4852 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
0bb52f25 4853 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
74924838
ASJ
4854 FEATURE_FMA4 and FEATURE_XOP.
4855
d3c11974
L
48562013-12-23 H.J. Lu <hongjiu.lu@intel.com>
4857
4858 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
4859 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
4860 (get_intel_cpu): Updated.
4861
064c4ff2
ZC
48622013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
4863
4864 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
4865
8b02e720
UB
48662013-12-09 Uros Bizjak <ubizjak@gmail.com>
4867
4868 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
1f71a3c3 4869 instructions when __SSE_MATH__ is defined.
8b02e720 4870
3fa2ccb4
RC
48712013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
4872
4873 * config.host (microblaze-*-rtems*): New.
4874
ecd78fc9
KV
48752013-12-04 Kugan Vivekanandarajah <kuganv@linaro.org>
4876
4877 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
4878 architectures that do not have hardware divide instruction.
4879 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
4880
b21fbbd2
RS
48812013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
4882
4883 * longlong.h: Delete (moved to include/).
4884
b03fb8c9
AZ
48852013-12-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4886
4887 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
4888 of normal number and qNaN to not raise an inexact exception.
4889
3c716922
UB
48902013-11-28 Uros Bizjak <ubizjak@gmail.com>
4891
4892 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
4893
48942013-11-28 Matthew Leach <matthew.leach@arm.com>
cceeb9a9
ML
4895
4896 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
4897 for correct opcodes on BE.
4898
a3458d22
UB
48992013-11-27 Uros Bizjak <ubizjak@gmail.com>
4900
4901 * soft-fp/op-4.h: Update from glibc.
4902
30b8f78b
KV
49032013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
4904
4905 * libgcc2.c (__udivmoddi4): Define new implementation when
4906 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
4907 divide instructions.
4908
82552a29
OE
49092013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
4910
4911 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
4912
80e87457
RO
49132013-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4914
4915 * config/t-softfp (soft-fp-objects-base): New variable.
4916 (soft-fp-objects): Use it.
4917
44178879
DE
49182013-11-23 David Edelson <dje.gcc@gmail.com>
4919 Andrew Dixie <andrewd@gentrack.com>
4920
4921 PR target/33704
4922 * config/rs6000/aixinitfini.c: New file.
4923 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
4924 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
4925 symbols.
4926
e5287671
YR
49272013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
4928
a3458d22 4929 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
e5287671 4930
867c8b03
JH
49312013-11-18 Jan Hubicka <jh@suse.cz>
4932
7f369373
JH
4933 * libgcov-driver.c (run_accounted): Make global level static.
4934 (gcov_exit_merge_summary): Silence warning; do not clear
4935 run_accounted here.
4936 (gcov_exit): Clear it here.
4937
1d0b3334
JH
4938 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
4939 run_accounted.
4940
867c8b03
JH
4941 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
4942 (all_prg, crc32): Remove static vars.
4943 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
4944 all_prg.
4945 (gcov_exit_merge_gcda): Add crc32 parameter.
4946 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
4947 do not account run if it was already accounted.
4948 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
4949 (gcov_exit): Initialize all_prg; update.
4950
66204992
AS
49512013-11-15 Andreas Schwab <schwab@linux-m68k.org>
4952
4953 * configure: Regenerate.
4954
b54214fe
UW
49552013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4956 Alan Modra <amodra@gmail.com>
4957
4958 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
4959 (frob_update_context): Use it.
4960
49612013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4962 Alan Modra <amodra@gmail.com>
4963
4964 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
4965 (trampoline_initial): Provide ELFv2 variant.
4966 (__trampoline_setup): Likewise.
4967
4968 * config/rs6000/linux-unwind.h (frob_update_context): Do not
4969 check for AIX indirect function call sequence if _CALL_ELF == 2.
4970
49712013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4972 Alan Modra <amodra@gmail.com>
4973
4974 * config/rs6000/linux-unwind.h (get_regs): Do not support
4975 old kernel versions if _CALL_ELF == 2.
4976 (frob_update_context): Do not support PLT stub variants only
4977 generated by old linkers if _CALL_ELF == 2.
4978
13e0981a
UW
49792013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4980 Alan Modra <amodra@gmail.com>
4981
4982 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
4983 location of CR save area for 64-bit little-endian systems.
4984
1a80085d
EB
49852013-11-11 Eric Botcazou <ebotcazou@adacore.com>
4986
4987 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
4988 in tmake_file.
4989 * config/arm/t-vxworks: Delete.
4990
cabeea52
KT
49912013-11-10 Kai Tietz <ktietz@redhat.com>
4992
4993 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
4994 Increment load-count on use of LIBGCC_SONAME DLL.
4995 (hmod_libgcc): New static variable to hold handle of
4996 LIBGCC_SONAME DLL.
4997 (__gcc_deregister_frame): Decrement load-count of
4998 LIBGCC_SONAME DLL.
4999
ac088ba1
BRF
50002013-11-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
5001
5002 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
5003 availability.
5004 * configure: Regenerate
5005
d59a8fcc
UB
50062013-11-07 Uros Bizjak <ubizjak@gmail.com>
5007
5008 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
5009 FP_EX_DENORM. Store result to volatile location after SSE division
5010 to close interrupt window. Remove unneeded fwait after x87
5011 division since interrupt window will be closed by emitted fstp.
9de84e84 5012 Rewrite FP_EX_INEXACT handling.
d59a8fcc 5013
9954c743
JM
50142013-11-06 Joseph Myers <joseph@codesourcery.com>
5015
5016 * soft-fp/README: Update.
5017 * soft-fp/adddf3.c: Update from glibc.
5018 * soft-fp/addsf3.c: Likewise.
5019 * soft-fp/addtf3.c: Likewise.
5020 * soft-fp/divdf3.c: Likewise.
5021 * soft-fp/divsf3.c: Likewise.
5022 * soft-fp/divtf3.c: Likewise.
5023 * soft-fp/double.h: Likewise.
5024 * soft-fp/eqdf2.c: Likewise.
5025 * soft-fp/eqsf2.c: Likewise.
5026 * soft-fp/eqtf2.c: Likewise.
5027 * soft-fp/extenddftf2.c: Likewise.
5028 * soft-fp/extended.h: Likewise.
5029 * soft-fp/extendsfdf2.c: Likewise.
5030 * soft-fp/extendsftf2.c: Likewise.
5031 * soft-fp/extendxftf2.c: Likewise.
5032 * soft-fp/fixdfdi.c: Likewise.
5033 * soft-fp/fixdfsi.c: Likewise.
5034 * soft-fp/fixdfti.c: Likewise.
5035 * soft-fp/fixsfdi.c: Likewise.
5036 * soft-fp/fixsfsi.c: Likewise.
5037 * soft-fp/fixsfti.c: Likewise.
5038 * soft-fp/fixtfdi.c: Likewise.
5039 * soft-fp/fixtfsi.c: Likewise.
5040 * soft-fp/fixtfti.c: Likewise.
5041 * soft-fp/fixunsdfdi.c: Likewise.
5042 * soft-fp/fixunsdfsi.c: Likewise.
5043 * soft-fp/fixunsdfti.c: Likewise.
5044 * soft-fp/fixunssfdi.c: Likewise.
5045 * soft-fp/fixunssfsi.c: Likewise.
5046 * soft-fp/fixunssfti.c: Likewise.
5047 * soft-fp/fixunstfdi.c: Likewise.
5048 * soft-fp/fixunstfsi.c: Likewise.
5049 * soft-fp/fixunstfti.c: Likewise.
5050 * soft-fp/floatdidf.c: Likewise.
5051 * soft-fp/floatdisf.c: Likewise.
5052 * soft-fp/floatditf.c: Likewise.
5053 * soft-fp/floatsidf.c: Likewise.
5054 * soft-fp/floatsisf.c: Likewise.
5055 * soft-fp/floatsitf.c: Likewise.
5056 * soft-fp/floattidf.c: Likewise.
5057 * soft-fp/floattisf.c: Likewise.
5058 * soft-fp/floattitf.c: Likewise.
5059 * soft-fp/floatundidf.c: Likewise.
5060 * soft-fp/floatundisf.c: Likewise.
5061 * soft-fp/floatunditf.c: Likewise.
5062 * soft-fp/floatunsidf.c: Likewise.
5063 * soft-fp/floatunsisf.c: Likewise.
5064 * soft-fp/floatunsitf.c: Likewise.
5065 * soft-fp/floatuntidf.c: Likewise.
5066 * soft-fp/floatuntisf.c: Likewise.
5067 * soft-fp/floatuntitf.c: Likewise.
5068 * soft-fp/gedf2.c: Likewise.
5069 * soft-fp/gesf2.c: Likewise.
5070 * soft-fp/getf2.c: Likewise.
5071 * soft-fp/ledf2.c: Likewise.
5072 * soft-fp/lesf2.c: Likewise.
5073 * soft-fp/letf2.c: Likewise.
5074 * soft-fp/muldf3.c: Likewise.
5075 * soft-fp/mulsf3.c: Likewise.
5076 * soft-fp/multf3.c: Likewise.
5077 * soft-fp/negdf2.c: Likewise.
5078 * soft-fp/negsf2.c: Likewise.
5079 * soft-fp/negtf2.c: Likewise.
5080 * soft-fp/op-1.h: Likewise.
5081 * soft-fp/op-2.h: Likewise.
5082 * soft-fp/op-4.h: Likewise.
5083 * soft-fp/op-8.h: Likewise.
5084 * soft-fp/op-common.h: Likewise.
5085 * soft-fp/quad.h: Likewise.
5086 * soft-fp/single.h: Likewise.
5087 * soft-fp/soft-fp.h: Likewise.
5088 * soft-fp/subdf3.c: Likewise.
5089 * soft-fp/subsf3.c: Likewise.
5090 * soft-fp/subtf3.c: Likewise.
5091 * soft-fp/truncdfsf2.c: Likewise.
5092 * soft-fp/trunctfdf2.c: Likewise.
5093 * soft-fp/trunctfsf2.c: Likewise.
5094 * soft-fp/trunctfxf2.c: Likewise.
5095 * soft-fp/unorddf2.c: Likewise.
5096 * soft-fp/unordsf2.c: Likewise.
5097 * soft-fp/unordtf2.c: Likewise.
5098
02ac9503
UB
50992013-11-05 Uros Bizjak <ubizjak@gmail.com>
5100
5101 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
5102 (_FP_MUL_MEAT_D): Ditto.
5103 (_FP_DIV_MEAT_S): Ditto.
5104 (_FP_DIV_MEAT_D): Ditto.
5105 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
5106 t-softfp-sfdf and t-softfp to tmake_file.
5107
61221141
UB
51082013-11-03 Uros Bizjak <ubizjak@gmail.com>
5109
5110 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
5111 * config/i386/crtprec.c: Ditto.
5112
9304f876
CJW
51132013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
5114 Shiva Chen <shiva0217@gmail.com>
5115
5116 * config.host (nds32*-elf*): Add nds32 target.
5117 * config/nds32 : New directory and files.
5118
0e499e75
HPN
51192013-10-16 Hans-Peter Nilsson <hp@axis.com>
5120
5121 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
5122 * config.host (cpu_type) <Setting default>: Add entry for
5123 crisv32-*-*.
5124 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
5125 <crisv32-*-linux*>: Adjust.
5126 * longlong.h: Wrap the whole CRIS section in a single
5127 defined(__CRIS__) conditional. Add comment about add_ssaaaa
5128 and sub_ddmmss.
5129 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
5130 defined.
5131 [__CRIS__] (__umulsidi3): Define.
5132 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
5133 * config/cris/sfp-machine.h: New file.
5134 * config/cris/umulsidi3.S: New file.
5135 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
5136 * config/cris/arit.c (SIGNMULT): New macro.
5137 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
5138 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
5139 saving 3 out of originally 33 cycles from the fastest
5140 path, 3 out of 54 from the medium path and one from the longest
5141 path. Improve comments.
5142
16022041
RS
51432013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
5144
5145 * sync.c: Remove static aliases and define each function directly
5146 under its real name.
5147
69778659
JDA
51482013-10-02 John David Anglin <danglin@gcc.gnu.org>
5149
5150 * config.host (hppa*64*-*-linux*): Define extra_parts.
5151 (hppa*-*-linux*): Likewise.
5152
2deaf8b0
JR
51532013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
5154
5155 * config/arc/crtgend.S: Add 2013 to Copyright years.
5156 * config/arc/gmon/atomic.h: Likewise.
5157 * config/arc/gmon/auxreg.h: Likewise.
5158 * config/arc/gmon/sys/gmon_out.h: Likewise.
5159 * config/arc/gmon/sys/gmon.h: Likewise.
5160 * config/arc/gmon/prof-freq.c: Likewise.
5161 * config/arc/gmon/mcount.c: Likewise.
5162 * config/arc/gmon/prof-freq-stub.S: Likewise.
5163 * config/arc/gmon/gmon.c: Likewise.
5164 * config/arc/gmon/machine-gmon.h: Likewise.
5165 * config/arc/gmon/profil.S: Likewise.
5166 * config/arc/gmon/dcache_linesz.S: Likewise.
5167 * config/arc/crtg.S: Likewise.
5168 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
5169 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
5170 * config/arc/ieee-754/adddf3.S: Likewise.
5171 * config/arc/ieee-754/truncdfsf2.S: Likewise.
5172 * config/arc/ieee-754/fixsfsi.S: Likewise.
5173 * config/arc/ieee-754/gtsf2.S: Likewise.
5174 * config/arc/ieee-754/floatsisf.S: Likewise.
5175 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
5176 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
5177 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
5178 * config/arc/ieee-754/fixdfsi.S: Likewise.
5179 * config/arc/ieee-754/addsf3.S: Likewise.
5180 * config/arc/ieee-754/gesf2.S: Likewise.
5181 * config/arc/ieee-754/floatsidf.S: Likewise.
5182 * config/arc/ieee-754/extendsfdf2.S: Likewise.
5183 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
5184 * config/arc/ieee-754/gtdf2.S: Likewise.
5185 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
5186 * config/arc/ieee-754/uneqdf2.S: Likewise.
5187 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
5188 * config/arc/ieee-754/uneqsf2.S: Likewise.
5189 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
5190 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
5191 * config/arc/ieee-754/eqdf2.S: Likewise.
5192 * config/arc/ieee-754/ordsf2.S: Likewise.
5193 * config/arc/ieee-754/divsf3.S: Likewise.
5194 * config/arc/ieee-754/divdf3.S: Likewise.
5195 * config/arc/ieee-754/floatunsidf.S: Likewise.
5196 * config/arc/ieee-754/orddf2.S: Likewise.
5197 * config/arc/ieee-754/eqsf2.S: Likewise.
5198 * config/arc/ieee-754/gedf2.S: Likewise.
5199 * config/arc/crtn.S: Likewise.
5200 * config/arc/crti.S: Likewise.
5201 * config/arc/t-arc700-uClibc: Likewise.
5202 * config/arc/asm.h: Likewise.
5203 * config/arc/libgcc-excl.ver: Likewise.
5204 * config/arc/t-arc-newlib: Likewise.
5205 * config/arc/divtab-arc700.c: Likewise.
5206 * config/arc/initfini.c: Likewise.
5207 * config/arc/fp-hack.h: Likewise.
5208
c8e318b0
JR
52092013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
5210 Diego Novillo <dnovillo@google.com>
5211
5212 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
a07c5b47
JR
5213 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
5214 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
5215 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
c8e318b0 5216
d38a64b4
JR
52172013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
5218 Brendan Kehoe <brendan@zen.org>
5219 Simon Cook <simon.cook@embecosm.com>
5220
5221 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
5222 * config/arc: New directory.
5223 * longlong.h [__arc__] (umul_ppmm): Remove.
5224 [__arc__] (__umulsidi3): Define.
5225 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
5226 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
5227
dff717d2
JC
52282013-09-17 Jacek Caban <jacek@codeweavers.com>
5229
5230 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
5231 CreateSemaphoreA.
5232 * config/i386/gthr-win32.h: Likewise.
5233
5c0029de
DD
52342013-09-16 DJ Delorie <dj@redhat.com>
5235
844ad6c6 5236 * config/rl78/vregs.h: Add G10 register definitions.
5c0029de
DD
5237 * config/rl78/lib2mul.c: Enable for RL78/G10.
5238 * config/rl78/lib2div.c: Likewise.
5239 * config/rl78/lshrsi3.S: Use vregs.h.
5240 * config/rl78/cmpsi2.S: Likewise.
5241 * config/rl78/trampoline.S: Likewise.
5242 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
5243
ceb2fc49
DD
52442013-09-14 DJ Delorie <dj@redhat.com>
5245 Nick Clifton <nickc@redhat.com>
5246
5247 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
5248 * config/rl78/vregs.h: New.
5249 * config/rl78/signbit.S: New file. Implements signbit function.
5250 * config/rl78/divmodsi.S: New.
5251 * config/rl78/divmodhi.S: New.
5252 * config/rl78/divmodqi.S: New.
5253 * config/rl78/t-rl78: Build them here...
5254 * config/rl78/lib2div.c: ...but not here.
5255
f6a83b4a
DD
52562013-09-12 DJ Delorie <dj@redhat.com>
5257
5258 * config.host (msp*-*-elf): New.
5259 * config/msp430/: New port.
5260
9107b096
IS
52612013-08-18 Iain Sandoe <iain@codesourcery.com>
5262
5263 PR gcov-profile/58127
5264 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
5265 __thread var for emulated TLS.
5266 (__gcov_indirect_call_counters): Likewise.
5267
0f9bde1f 52682013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
61221141 5269 Catherine Moore <clm@codesourcery.com>
7d296953 5270 Richard Sandiford <rdsandiford@googlemail.com>
0f9bde1f
MR
5271
5272 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
5273 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
5274 (CALL_STUB_NO_RET): Likewise.
5275 (CALL_STUB_RET): Likewise.
5276 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
5277 __mips16_ret call/return stub symbols.
5278 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
5279 to tmake_file.
5280
2dc14aac
MR
52812013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
5282
5283 * config.host <mips*-*-linux*>: Remove a stray comment.
5284
748d71f3
JH
52852013-08-10 Jan Hubicka <jh@suse.cz>
5286
5287 Work around binutils PR14342
5288 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
5289 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
5290 (L_gcov_indirect_call_profiler_v2): New.
5291
2fa3d31b
JH
52922013-08-06 Jan Hubicka <jh@suse.cz>
5293
5294 * libgcov.c (__gcov_indirect_call_callee,
5295 __gcov_indirect_call_counters): New global vars.
5296 (__gcov_indirect_call_profiler): replace by ...
5297 (__gcov_indirect_call_profiler_v2) ... this one.
5298
2077db1b
CT
52992013-08-06 Caroline Tice <cmtice@google.com>
5300
d0595b65 5301 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
2077db1b 5302 vtv_start_preinit.o and vtv_end_preinit.o.
d0595b65
CT
5303 * configure.ac: Add code to check/set enable_vtable_verify.
5304 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
2077db1b 5305 true.
d0595b65
CT
5306 * vtv_start_preinit.c: New file.
5307 * vtv_end_preinit.c: New file.
5308 * vtv_start.c: New file.
5309 * vtv_end.c: New file.
5310 * configure: Regenerated.
2077db1b 5311
46549c20
MK
53122013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
5313
5314 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
5315 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
5316 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
5317 GPL-3.0-with-GCC-exception.
5318
72be589b
MR
53192013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
5320
5321 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
5322 ISA and up.
5323
902a3faf
AK
53242013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5325
5326 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
5327 mapping for FPRs when creating the fallback framestate.
5328
02371798
GJL
53292013-07-19 Georg-Johann Lay <avr@gjlay.de>
5330
5331 PR target/57516
5332 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
5333 (__round_s2_const, __round_u2_const)
5334 (__round_s4_const, __round_u4_const, __round_x8):
5335 Saturate result if addition result cannot be represented.
5336
ab0e8379
MK
53372013-07-15 Matthias Klose <doko@ubuntu.com>
5338
5339 * libgcc2.c: Don't include <limits.h>.
5340
7da38058
JJ
53412013-07-09 Janis Johnson <janisjo@codesourcery.com>
5342
5343 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
5344
1f6eac90
JJ
53452013-07-06 Jakub Jelinek <jakub@redhat.com>
5346
5347 PR target/29776
5348 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
5349
4ea3d774
JJ
53502013-06-28 Jakub Jelinek <jakub@redhat.com>
5351
5352 PR middle-end/36041
5353 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
5354 Define.
5355 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
5356 instead of table lookups.
5357 (__popcountDI2): Likewise.
5358
9d2cdf25
CJW
53592013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
5360
5361 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
5362 correctly.
5363
fa1e55b0
JM
53642013-06-21 Joseph Myers <joseph@codesourcery.com>
5365
5366 PR other/53317
5367 * soft-fp/adddf3.c: Update from glibc.
5368 * soft-fp/addsf3.c: Likewise.
5369 * soft-fp/addtf3.c: Likewise.
5370 * soft-fp/divdf3.c: Likewise.
5371 * soft-fp/divsf3.c: Likewise.
5372 * soft-fp/divtf3.c: Likewise.
5373 * soft-fp/double.h: Likewise.
5374 * soft-fp/eqdf2.c: Likewise.
5375 * soft-fp/eqsf2.c: Likewise.
5376 * soft-fp/eqtf2.c: Likewise.
5377 * soft-fp/extenddftf2.c: Likewise.
5378 * soft-fp/extended.h: Likewise.
5379 * soft-fp/extendsfdf2.c: Likewise.
5380 * soft-fp/extendsftf2.c: Likewise.
5381 * soft-fp/fixdfdi.c: Likewise.
5382 * soft-fp/fixdfsi.c: Likewise.
5383 * soft-fp/fixsfdi.c: Likewise.
5384 * soft-fp/fixsfsi.c: Likewise.
5385 * soft-fp/fixtfdi.c: Likewise.
5386 * soft-fp/fixtfsi.c: Likewise.
5387 * soft-fp/fixunsdfdi.c: Likewise.
5388 * soft-fp/fixunsdfsi.c: Likewise.
5389 * soft-fp/fixunssfdi.c: Likewise.
5390 * soft-fp/fixunssfsi.c: Likewise.
5391 * soft-fp/fixunstfdi.c: Likewise.
5392 * soft-fp/fixunstfsi.c: Likewise.
5393 * soft-fp/floatdidf.c: Likewise.
5394 * soft-fp/floatdisf.c: Likewise.
5395 * soft-fp/floatditf.c: Likewise.
5396 * soft-fp/floatsidf.c: Likewise.
5397 * soft-fp/floatsisf.c: Likewise.
5398 * soft-fp/floatsitf.c: Likewise.
5399 * soft-fp/floatundidf.c: Likewise.
5400 * soft-fp/floatundisf.c: Likewise.
5401 * soft-fp/floatunditf.c: Likewise.
5402 * soft-fp/floatunsidf.c: Likewise.
5403 * soft-fp/floatunsisf.c: Likewise.
5404 * soft-fp/floatunsitf.c: Likewise.
5405 * soft-fp/gedf2.c: Likewise.
5406 * soft-fp/gesf2.c: Likewise.
5407 * soft-fp/getf2.c: Likewise.
5408 * soft-fp/ledf2.c: Likewise.
5409 * soft-fp/lesf2.c: Likewise.
5410 * soft-fp/letf2.c: Likewise.
5411 * soft-fp/muldf3.c: Likewise.
5412 * soft-fp/mulsf3.c: Likewise.
5413 * soft-fp/multf3.c: Likewise.
5414 * soft-fp/negdf2.c: Likewise.
5415 * soft-fp/negsf2.c: Likewise.
5416 * soft-fp/negtf2.c: Likewise.
5417 * soft-fp/op-1.h: Likewise.
5418 * soft-fp/op-2.h: Likewise.
5419 * soft-fp/op-4.h: Likewise.
5420 * soft-fp/op-8.h: Likewise.
5421 * soft-fp/op-common.h: Likewise.
5422 * soft-fp/quad.h: Likewise.
5423 * soft-fp/single.h: Likewise.
5424 * soft-fp/soft-fp.h: Likewise.
5425 * soft-fp/subdf3.c: Likewise.
5426 * soft-fp/subsf3.c: Likewise.
5427 * soft-fp/subtf3.c: Likewise.
5428 * soft-fp/truncdfsf2.c: Likewise.
5429 * soft-fp/trunctfdf2.c: Likewise.
5430 * soft-fp/trunctfsf2.c: Likewise.
5431 * soft-fp/unorddf2.c: Likewise.
5432 * soft-fp/unordsf2.c: Likewise.
5433 * soft-fp/unordtf2.c: Likewise.
5434 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
5435 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5436 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5437 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5438 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5439 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5440 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5441 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5442 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5443 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
5444 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
5445 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5446
0de86a92
JU
54472013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
5448
5449 * config/mips/lib2funcs.c: New file.
5450 * config/mips/t-mips (LIB2ADD_ST): Add it.
5451
0d008882
OE
54522013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
5453
5454 PR target/6526
5455 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
5456 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
5457
776434d1
WL
54582013-06-08 Walter Lee <walt@tilera.com>
5459
5460 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
5461 Replace int64_t with long long. Add __extension__ where
5462 appropriate.
5463 * config/tilepro/atomic.c: Include config.h.
5464
6ab3ebb4
DR
54652013-06-06 Douglas B Rupp <rupp@adacore.com>
5466
5467 * config.host (arm-wrs-vxworks): Configure with other soft float.
5468
107eea2c
JU
54692013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
5470
5471 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
5472 (mips64r5900el-*-elf*): New configurations.
5473
5cc19c62
AM
54742013-06-04 Alan Modra <amodra@gmail.com>
5475
5476 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
5477
0f1d3965
YR
54782013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
5479
5480 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
5481
0ba045df
EB
54822013-05-28 Eric Botcazou <ebotcazou@adacore.com>
5483
5484 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
5485 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
5486 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
5487
49dcafd4
EB
54882013-05-22 Eric Botcazou <ebotcazou@adacore.com>
5489
5490 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
5491 (powerpc-wrs-vxworks): Likewise.
5492
4fcb5d87
EB
54932013-05-22 Eric Botcazou <ebotcazou@adacore.com>
5494
5495 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
5496 signal frames as well.
5497 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
5498 STACK_BIAS to the CFA offset.
5499
0ec33224
RH
55002013-05-17 Richard Henderson <rth@redhat.com>
5501
5502 PR target/49146
5503 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
5504 (execute_cfa_program): Use it when storing to fs->regs.
5505
492a8029
KT
55062013-05-08 Kai Tietz <ktietz@redhat.com>
5507
5508 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
5509 (__deregister_frame_info): Likewise.
5510
701e2f0a
TS
55112013-05-06 Thomas Schwinge <thomas@codesourcery.com>
5512
e5123d08
TS
5513 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
5514 NaN's payload.
5515
701e2f0a
TS
5516 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
5517
b9a7eb5d
AM
55182013-04-25 Alan Modra <amodra@gmail.com>
5519
5520 * config.host: Match little-endian powerpc-linux.
5521
dfe192f5
YZ
55222013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
5523
5524 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
5525 as 'unsigned long long' instead of 'unsigned long'.
5526 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
5527 'signed long'.
5528
b6b9af2f
JB
55292013-04-10 Julian Brown <julian@codesourcery.com>
5530
5531 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
5532 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
5533 unsigned char/unsigned short.
5534 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
5535
ecabdd00
JDA
55362013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
5537
5538 PR other/55274
5539 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
5540
34652576
MI
55412013-04-04 Meador Inge <meadori@codesourcery.com>
5542
5543 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
5544 computing the location of the link register.
5545 (aeabi_uldivmod): Ditto.
5546
e9fd8c19
KT
55472013-03-27 Kai Tietz <ktietz@redhat.com>
5548
5549 * config.host: Add support for cygwin x64 target.
5550 * configure: Regenerated.
5551
a6406324
WL
55522013-03-26 Walter Lee <walt@tilera.com>
5553
5554 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
5555 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
5556
55446c7e
KT
55572013-03-25 Kai Tietz <ktietz@redhat.com>
5558
5559 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
5560
d2ae19d9
RM
55612013-03-20 Robert Mason <rbmj@verizon.net>
5562
5563 * config/vxlib-tls.c (__gthread_get_tsd_data,)
5564 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
5565 (__gthread_leave_tsd_dtor_context): Add prototypes.
5566 (tls_delete_hook): Update.
5567
22c4c869
CM
55682013-03-20 Catherine Moore <clm@codesourcery.com>
5569 Joseph Myers <joseph@codesourcery.com>
5570 Chao-ying Fu <fu@mips.com>
5571
5572 * config/mips/mips16.S: Don't build for microMIPS.
5573 * config/mips/linux-unwind.h: Handle microMIPS frame.
5574 * config/mips/crtn.S (fini, init): New labels.
5575
fbd28bc3
JJ
55762013-03-14 Jakub Jelinek <jakub@redhat.com>
5577
5578 PR tree-optimization/53265
5579 * unwind-dw2.c (execute_cfa_program): Avoid
5580 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
5581 on targets with DWARF_FRAME_REGISTERS < 32.
5582
decc676e
OE
55832013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
5584
5585 PR target/49880
5586 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
5587 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
5588
84ea618a
ST
55892013-03-07 Sriraman Tallam <tmsriram@google.com>
5590
5591 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
5592 sandybridge processors.
5593
8f6d1c86
OE
55942013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
5595
5596 PR target/56529
5597 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
5598 inclusion list.
5599
ecdbd01a 56002013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
409b1de4
EI
5601
5602 * config/microblaze/crti.S: Setup stack protection at entry
5603
0b4ce21b
GJL
56042013-03-04 Georg-Johann Lay <avr@gjlay.de>
5605
5606 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
5607 (__rotldi3): Shift bytewise if applicable.
5608
b7c3f1ca
JG
56092013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
5610
5611 * config/aarch64/sync-cache.c
5612 (__aarch64_sync_cache_range): Silence warnings.
5613
6d65e8f1
CM
56142013-02-25 Catherine Moore <clm@codesourcery.com>
5615
5616 Revert:
5617 2013-02-24 Catherine Moore <clm@codesourcery.com>
5618 Joseph Myers <joseph@codesourcery.com>
5619 Chao-ying Fu <fu@mips.com>
5620
5621 * config/mips/mips16.S: Don't build for microMIPS.
5622 * config/mips/linux-unwind.h: Handle microMIPS frame.
5623 * config/mips/crtn.S (fini, init): New labels.
5624
6941b508
CM
56252013-02-24 Catherine Moore <clm@codesourcery.com>
5626 Joseph Myers <joseph@codesourcery.com>
5627 Chao-ying Fu <fu@mips.com>
5628
5629 * config/mips/mips16.S: Don't build for microMIPS.
5630 * config/mips/linux-unwind.h: Handle microMIPS frame.
5631 * config/mips/crtn.S (fini, init): New labels.
5632
7c422dbb 56332012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
cc86234f 5634 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
7c422dbb
EI
5635 as dividend.
5636
110207ad
AM
56372013-02-16 Alan Modra <amodra@gmail.com>
5638
5639 PR target/55431
5640 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
5641 (ppc_fallback_frame_state): Always set up save locations for fp
5642 and altivec. Don't bother with non-callee-saved regs, r0-r13
5643 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
5644
e68a4ef6
GJL
56452013-02-12 Georg-Johann Lay <avr@gjlay.de>
5646
5647 PR target/54222
5648 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
5649 _ssmulHA, _ssmulSA.
5650 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
5651 _ssmulha3, _usmulusa3, _ssmulsa3.
5652 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
5653 (__muldi3): XCALL __muldi3_6 instead of rcall.
5654 (__umulsidi3, __mulsidi3): New functions.
5655 (do_prologue_saves, do_epilogue_restores): New .macros.
5656 (__divdi3_moddi3): Use them.
5657 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
5658 (__usmulusa3, __ssmulsa3): New functions.
5659
6c59ffd1
IS
56602013-02-11 Iain Sandoe <iain@codesourcery.com>
5661 Jack Howarth <howarth@bromo.med.uc.edu>
5662 Patrick Marlier <patrick.marlier@gmail.com>
5663
5664 PR libitm/55693
5665 * config/darwin-crt-tm.c: Remove dummy functions hack.
5666
85d768f3
GJL
56672013-02-08 Georg-Johann Lay <avr@gjlay.de>
5668
5669 PR target/54222
5670 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
5671 * config/avr/lib2-object.mk: New iterator to build objects from it.
5672 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
5673 lib2funcs.c.
5674 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
5675 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
5676 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
5677 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
5678 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
5679 * config/avr/lib1funcs-fixed.S: Implement them.
5680
5d5bf775
RS
56812013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
5682
5683 Update copyright years.
5684
99113dff
DE
56852013-02-01 David Edelsohn <dje.gcc@gmail.com>
5686
5687 PR target/54601
5688 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
5689 Add crtcxa to extra_parts.
5690 * config/rs6000/exit.h: New file.
5691 * config/rs6000/cxa_atexit.c: New file.
5692 * config/rs6000/cxa_finalize.c: New file.
5693 * config/rs6000/crtcxa.c: New file.
5694 * config/rs6000/t-aix-cxa: New file.
5695 * config/rs6000/libgcc-aix-cxa.ver: New file.
5696
dbdbd982
NC
56972013-01-31 Nick Clifton <nickc@redhat.com>
5698
5699 * config/v850/lib1funcs.S: Add support for e3v5 architecture
5700 variant.
5701
5893f158
GJL
57022013-01-29 Georg-Johann Lay <avr@gjlay.de>
5703
5704 PR target/54222
5705 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
5706 _mulQQ, _mulHQ, _mulHA, _mulSA,
5707 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
5708 _divQQ, _divHQ, _divHA, _divSA,
5709 _divUQQ, _divUHQ, _divUHA, _divUSA.
5710
ecdbd01a 57112013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
fbf0cf90 5712
dbdbd982 5713 * config.host(microblaze*-linux*): tmake_file: Remove
fbf0cf90
DH
5714 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
5715 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
5716 to exclude functions from being built with libgcc.c and use
5717 the microblaze assembly.
5718
ecdbd01a 57192013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
6f14eef2
EI
5720
5721 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
5722 extra_parts.
5723
922c57d1
YZ
57242013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
5725
5726 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
5727 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
5728 __UINTPTR_TYPE__; also cast 'base' to the same type before the
5729 alignment operation.
5730
e0f8b6a0
SN
57312013-01-15 Sofiane Naci <sofiane.naci@arm.com>
5732
5733 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
5734 loop start address for cache clearing.
5735
00892272
GJL
57362013-01-14 Georg-Johann Lay <avr@gjlay.de>
5737
5738 * config/avr/lib1funcs.S: Remove trailing blanks.
5739 * config/avr/lib1funcs-fixed.S: Ditto.
5740
e59ec5fd
GJL
57412013-01-14 Georg-Johann Lay <avr@gjlay.de>
5742
5743 * config/avr/avr-lib.h: Add GPL copyright notice.
5744
3ffc1958
GJL
57452013-01-14 Georg-Johann Lay <avr@gjlay.de>
5746
5747 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
5748 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
5749 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
5750 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
5751
25c210f9
MK
57522013-01-07 Mark Kettenis <kettenis@openbsd.org>
5753
5754 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
5755 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
2bc15360 5756
db59befb
NC
57572013-01-04 Nick Clifton <nickc@redhat.com>
5758
5759 * config/v850/lib1funcs.S: Only provide CALLT support functions if
5760 the CALLT instruction is supported.
5761
5aa12dbf
JW
57622012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
5763
5764 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
5765 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
5766
65f14117
JT
57672012-12-13 John Tytgat <John@bass-software.com>
5768
5769 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
5770 is 25.
5771
ee3ae4f7
JJ
57722012-12-12 Jakub Jelinek <jakub@redhat.com>
5773
5774 PR libgcc/55451
5775 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
5776 undefined signed overflows.
5777
2fcfba3d
UB
57782012-12-09 Uros Bizjak <ubizjak@gmail.com>
5779
5780 PR target/55344
5781 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
5782
4f2b3dc2
UB
57832012-12-06 Uros Bizjak <ubizjak@gmail.com>
5784
5785 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
5786 (FP_TRAPPING_EXCEPTIONS): Define.
5787 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
5788 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
5789
066161a2
RH
57902012-12-04 Richard Henderson <rth@redhat.com>
5791
5792 PR bootstrap/55571
5793 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
5794
7d296953 57952012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
25626181 5796
4f2b3dc2 5797 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
25626181
MS
5798 (FP_EX_SHIFT): Define.
5799 (FP_TRAPPING_EXCEPTIONS): Define.
5800
7d296953 58012012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
868395e8
MS
5802
5803 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
5804 (FP_ROUNDMODE): Use FP_RND_MASK.
5805 * config/aarch64/sfp-exceptions.c: New.
5806 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
5807 Use __sfp_handle_exceptions.
5808
5005fe22
RE
58092012-12-04 Richard Earnshaw <rearnsha@arm.com>
5810
5811 * config.host: (arm*-*-freebsd*): Remove.
5812 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
5813 (arm*-*-elf*): Remove.
5814 (arm*-*-wince-pe*): Remove.
5815 * arm/unwind-arm.c (struct fpa_reg): Delete.
5816 (struct fpa_regs): Delete.
5817 (phase1_vrs): Remove fpa element.
5818 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
5819 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
5820 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
5821 * ieee754-sf.S (floatundisf): Remove FPA support.
5822 (floatdisf): Likewise.
5823 * ieee75f-df.S (floatundidf): Likewise.
5824 (floatdidf): Likewise.
5825
e5a81c8e
KT
58262012-11-29 Kai Tietz <ktietz@redhat.com>
5827
5828 PR target/55445
5829 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
5830 * unwind-generic.h: Likewise.
5831 * unwind-seh.c: Likewise.
5832
f4919e4a
RH
58332012-11-28 Richard Henderson <rth@redhat.com>
5834
5835 PR libgcc/48076
5836 * emutls.c (__emutls_get_address): Avoid race condition between
5837 obj->loc.offset read and emutls_key initialization.
4f2b3dc2 5838
e13d9d5a
GJL
58392012-11-22 Georg-Johann Lay <avr@gjlay.de>
5840
5841 Adjust decimal point of signed accum mode to GCC default.
5842
5843 PR target/54222
5844 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
5845 _divqq_helper.
5846 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
5847 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
5848 (__mulha3, __mulsa3)
5849 (__divqq3, __divha3, __divsa3): Adjust to new position of
4f2b3dc2
UB
5850 decimal point of signed accum types.
5851
e13d9d5a
GJL
5852 (__mulusa3_round): New function.
5853 (__mulusa3): Use it.
5854 (__divqq_helper): New function.
5855 (__udivuqq3): Use it.
5856
1b845c6e
JJ
58572012-11-20 Jakub Jelinek <jakub@redhat.com>
5858
5859 PR bootstrap/55370
5860 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
5861
822a258a
TJ
58622012-11-18 Teresa Johnson <tejohnson@google.com>
5863
5864 PR bootstrap/55051
5865 * libgcov.c (gcov_exit): Remove merged program summary
5866 comparison unless !GCOV_LOCKED.
5867
7d296953 58682012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
54f4eaf0
MS
5869
5870 * soft-fp: Updated from glibc upstream.
5871
e808687a
ILT
58722012-11-06 Ian Lance Taylor <iant@google.com>
5873
5874 * generic-morestack.c (__generic_morestack): Align the returned
5875 stack pointer to a 32 byte boundary.
5876 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
5877 increment the return address until we have decided that we don't
5878 have a varargs function.
5879 (__morestack) [32-bit]: Align stack correctly when calling C
5880 functions.
5881 (__morestack) [64-bit]: Likewise.
5882
460277e0
TS
58832012-11-04 Thomas Schwinge <thomas@codesourcery.com>
5884
5885 * configure: Regenerate.
5886
73edb277
UB
58872012-11-02 Uros Bizjak <ubizjak@gmail.com>
5888
5889 PR target/55175
5890 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
5891 * config/i386/sfp-machine.h: Guard exception handling
5892 code with _SOFT_FLOAT.
5893 * config/i386/32/sfp-machine.h: Guard rounding handling
5894 code with _SOFT_FLOAT.
5895 * config/i386/64/sfp-machine.h: Ditto.
5896
c1d4fa04
JS
58972012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
5898
5899 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
5900 as extra_parts.
5901
eff6ca85
UB
59022012-10-26 Uros Bizjak <ubizjak@gmail.com>
5903
5904 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
5905 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
5906 when appropriate. Correct structure element types.
5907 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
5908 -minline-all-stringops from compile flags.
5909
7d296953 59102012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
43a8f1a1
RC
5911
5912 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
5913
7d296953 59142012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
76c78361 5915
eff6ca85 5916 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
76c78361 5917
6f288860
SH
59182012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
5919
5920 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
5921 tmake_file.
5922
1e3d5096
IB
59232012-10-23 Ian Bolton <ian.bolton@arm.com>
5924 Jim MacArthur <jim.macarthur@arm.com>
5925 Marcus Shawcroft <marcus.shawcroft@arm.com>
5926 Nigel Stephens <nigel.stephens@arm.com>
5927 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
5928 Richard Earnshaw <rearnsha@arm.com>
5929 Sofiane Naci <sofiane.naci@arm.com>
5930 Stephen Thomas <stephen.thomas@arm.com>
5931 Tejas Belagod <tejas.belagod@arm.com>
5932 Yufeng Zhang <yufeng.zhang@arm.com>
5933
5934 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
5935 * config/aarch64/crti.S: New file.
5936 * config/aarch64/crtn.S: New file.
5937 * config/aarch64/linux-unwind.h: New file.
5938 * config/aarch64/sfp-machine.h: New file.
5939 * config/aarch64/sync-cache.c: New file.
5940 * config/aarch64/t-aarch64: New file.
5941 * config/aarch64/t-softfp: New file.
5942
8a740f07
HPN
59432012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
5944
5945 * config/mmix/crti.S: Mark program and data addresses using PRELD.
5946 Remove typo'd and unnecessary alignment-LOC for .data. Remove
5947 no-longer-needed LDBU insns.
5948
7d296953 59492012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
153c8397
SH
5950
5951 * config.host
5952 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
5953 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
5954
595fefee
MGD
59552012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
5956
5957 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
5958
9945a876
MK
59592012-10-15 Matthias Klose <doko@ubuntu.com>
5960
5961 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
5962
1183dc2c
PC
59632012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
5964
5965 * configure: Regenerate.
5966 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
5967
945a9c1f
UB
59682012-10-10 Uros Bizjak <ubizjak@gmail.com>
5969
5970 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
5971 instructions for 64bit targets only.
5972
fb8bf47a
UB
59732012-10-10 Uros Bizjak <ubizjak@gmail.com>
5974
5975 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
5976 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
5977 * config/i386/32/sfp-machine.h: ... here.
5978 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
5979 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
5980 New defines.
5981
acb72498
MK
59822012-10-07 Matthias Klose <doko@ubuntu.com>
5983
5984 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
5985 as unused.
5986 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
5987
8eaee0f0
MK
59882012-10-06 Mark Kettenis <kettenis@openbsd.org>
5989
5990 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
5991 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
5992 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
5993 (ElfW): Likewise.
5994
5e3e4fe8
JW
59952012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
5996
5997 PR other/53889
5998 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
5999 Fix parameter names.
6000
86086376
OE
60012012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
6002
6003 PR target/33135
6004 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
6005 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
6006 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
6007
9597375a
OE
60082012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
6009
6010 PR target/50457
6011 * config/sh/linux-atomic.S: Delete.
6012 * config/sh/linux-atomic.c: New.
6013 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
6014 linux-atomic.c. Add cflags to disable warnings.
6015
1504e3e1
JW
60162012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
6017
6018 PR other/53889
6019 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
6020 function.
6021 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
6022 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
6023 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
6024 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
5e3e4fe8
JW
6025 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
6026 Likewise.
1504e3e1
JW
6027 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
6028 Likewise.
6029 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
6030 Likewise.
6031 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
6032 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
6033
17f293b0
MK
60342012-09-19 Mark Kettenis <kettenis@openbsd.org>
6035
9597375a
OE
6036 * config.host (hppa-*-openbsd*): New target.
6037 * config/pa/t-openbsd: New file.
17f293b0 6038
51526856
GJL
60392012-09-15 Georg-Johann Lay <avr@gjlay.de>
6040
6041 PR target/54222
6042 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
6043 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
6044 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
6045 (__divsa3): Use __negsi2 to negate r_quoL.
6046 * config/avr/lib1funcs.S (FALIAS): New macro.
6047 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
6048 (__negsi2): ...this new function.
6049 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
6050 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
6051 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
6052 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
6053 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
6054 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
6055
aadb5b43
OE
60562012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
6057
6058 PR target/54089
6059 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
6060 (lshrsi3): Reimplement as lshrsi3_r0.
6061
d5d66749
AS
60622012-09-10 Andreas Schwab <schwab@linux-m68k.org>
6063
6064 PR target/46191
6065 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
6066 of libgcc.a.
6067
c6c36e73
TJ
60682012-09-07 Teresa Johnson <tejohnson@google.com>
6069
9597375a 6070 PR gcov-profile/54487
c6c36e73 6071 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
9597375a 6072 differences.
c6c36e73 6073
b588ae30
GJL
60742012-09-05 Georg-Johann Lay <avr@gjlay.de>
6075
6076 PR target/54461
6077 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
6078 not configured --with-avrlibc=no.
6079 * config/avr/t-avrlibc: New file.
6080 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
6081 (DPBIT_FUNCS): Ditto.
6082 (TPBIT_FUNCS): Ditto.
6083
abd16fb1
TJ
60842012-09-04 Teresa Johnson <tejohnson@google.com>
6085
6086 * libgcov.c (struct gcov_summary_buffer): New structure.
6087 (gcov_histogram_insert): New function.
6088 (gcov_compute_histogram): Ditto.
6089 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
6090 histograms during summary merging.
6091
613061fd
MK
60922012-09-01 Mark Kettenis <kettenis@openbsd.org>
6093
6094 * config.host (x86_64-*-openbsd*): New target.
73edb277 6095
867a8345
CLT
60962012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
6097
6098 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
6099 attribute.
6100
4aeaaca3
GJL
61012012-08-24 Georg-Johann Lay <avr@gjlay.de>
6102
6103 PR target/54222
6104 * config/avr/t-avr (conv_X): Rename to func_X.
6105
e55e4056
GJL
61062012-08-24 Georg-Johann Lay <avr@gjlay.de>
6107
6108 PR target/54222
6109 * config/avr/lib1funcs-fixed.S: New file.
6110 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
6111 after they are used.
6112 (neg2, neg4): New macros.
6113 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
6114 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
6115 (__umulhisi3): Speed up MUL variant if there is enough flash.
6116 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
6117 avr-modes.def.
6118 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
6119 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
6120 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
6121 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
6122 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
6123 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
6124 (LIB2FUNCS_EXCLUDE): Add supported functions.
6125
a147b6d2
GJL
61262012-08-22 Georg-Johann Lay <avr@gjlay.de>
6127
6128 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
6129 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
6130 libgcc-s-objects.
6131 * fixed-obj.mk: Only expand dependency if $o is not in
6132 LIB2FUNCS_EXCLUDE.
6133
c637141a
L
61342012-08-22 H.J. Lu <hongjiu.lu@intel.com>
6135
6136 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
6137
130e00bd
JM
61382012-08-22 Joseph Myers <joseph@codesourcery.com>
6139
6140 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
6141 depend on --enable-shared.
6142 ($(lib1asmfuncs-o)): Use %.vis files independent of
6143 --enable-shared.
6144 * static-object.mk ($(base)$(objext), $(base).vis)
6145 ($(base)_s$(objext)): Use same rules for visibility handling as in
6146 shared-object.mk.
6147
4b1b3788
ILT
61482012-08-21 Ian Lance Taylor <iant@google.com>
6149
6150 * config/i386/morestack.S (__morestack_non_split): Increase amount
6151 of space allocated for non-split code stack.
6152
d2468141
JM
61532012-08-19 Joseph Myers <joseph@codesourcery.com>
6154
6155 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
6156 even if inhibit_libc.
6157
a508e1a8
JB
61582012-08-17 Julian Brown <julian@codesourcery.com>
6159
6160 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
6161 -fexceptions -fnon-call-exceptions if not defined.
6162 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
6163 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
6164
5615a07d
AS
61652012-08-17 Andreas Schwab <schwab@linux-m68k.org>
6166
6167 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
6168 type.
6169
138f5acd
DE
61702012-08-16 David Edelsohn <dje.gcc@gmail.com>
6171
6172 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
6173 rs6000/t-slibgcc-aix.
6174
18efc0dd
SB
61752012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
6176
6177 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
6178
6b39bc38
SB
61792012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
6180
6181 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
6182
cd25dea0
L
61832012-08-03 H.J. Lu <hongjiu.lu@intel.com>
6184
6185 PR driver/54171
6186 * Makefile.in (version): Replace top_srcdir with srcdir.
6187
a3dda30b
JY
61882012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
6189
6190 * Makefile.in (version): set to BASE-VER file from gcc directory.
6191
d04aacfc
NC
61922012-08-01 Nick Clifton <nickc@redhat.com>
6193
6194 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
6195 Implements __clrsb for an HImode argument.
6196
0d13c974
NC
61972012-07-31 Nick Clifton <nickc@redhat.com>
6198
6199 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
6200 Implements __clrsb for an HImode argument.
6201 * config/stormy16/clrsbhi2.c: New file:
6202 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
6203
efbb59b2
SB
62042012-07-22 Steven Bosscher <steven@gcc.gnu.org>
6205
6206 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
6207
bf1431e3
TG
62082012-07-19 Tristan Gingold <gingold@adacore.com>
6209 Richard Henderson <rth@redhat.com>
6210
6211 * unwind-seh.c: New file.
6212 * unwind-generic.h: Include windows.h for SEH.
6213 (_Unwind_Exception): Use 6 private fields for SEH.
6214 (_GCC_specific_handler): Declare.
6215 * unwind-c.c (__gcc_personality_seh0): New function.
6216 Adjust for SEH.
6217 * config/i386/libgcc-cygming.ver: New file.
6218 * config/i386/t-seh-eh: New file.
6219 * config.host (x86_64-*-mingw*): Default to seh.
6220
659140c8
SB
62212012-07-14 Steven Bosscher <steven@gcc.gnu.org>
6222
6223 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
6224
a20d08fd
UB
62252012-06-17 Uros Bizjak <ubizjak@gmail.com>
6226
6227 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
6228 __builtin_expect when checking for exceptions.
6229 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
6230
79261115
UB
62312012-06-13 Uros Bizjak <ubizjak@gmail.com>
6232
4a172156
UB
6233 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
6234 function declaration.
6235 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
6236 (FP_RND_MASK): New.
6237 * config/ia64/sfp-exceptions.c: New.
6238 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
79261115 6239
bb5c97d4
UB
62402012-06-13 Uros Bizjak <ubizjak@gmail.com>
6241
6242 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
6243 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
6244 * config/i386/64/sfp-machine: ... (delete here) ...
6245 * config/i386/sfp-machine.h: ... to here.
6246 (FP_EX_MASK): Remove.
6247 (FP_RND_MASK): New.
6248 (FP_INIT_ROUNDMODE): Declare asm as volatile.
6249
91fe5efb
ST
62502012-06-11 Sriraman Tallam <tmsriram@google.com>
6251
6252 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
6253 * config/i386/libgcc-sol2.ver: Ditto.
6254 * config/i386/libgcc-glibc.ver: Ditto.
6255
67a218c5
RM
62562012-06-11 Roland McGrath <mcgrathr@google.com>
6257
6258 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
6259 If __GLIBC__ is defined, refer to __pthread_key_create instead of
6260 pthread_cancel.
6261
492fbea1
UB
62622012-06-09 Uros Bizjak <ubizjak@gmail.com>
6263
6264 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
6265 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
6266 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
6267 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
6268 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
6269 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
6270 * config/i386/64/sfp-machine: ... (delete here) ...
6271 * config/i386/sfp-machine.h: ... to here.
6272 (FP_EX_MASK): New.
6273 (__sfp_handle_exceptions): New function declaration.
6274 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
6275 * config/i386/sfp-exceptions.c: New.
6276 * config/i386/t-softfp: New.
6277 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
6278 i386/t-softfp to tmake_file.
6279
7b4cf266
DM
62802012-06-03 David S. Miller <davem@davemloft.net>
6281
6282 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
6283 change.
6284
0de0d5c6
DM
62852012-05-31 David S. Miller <davem@davemloft.net>
6286
6287 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
6288 multiply and divide instructions on 32-bit when V9.
6289 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
6290
d8c9d391
JM
62912012-05-29 Joseph Myers <joseph@codesourcery.com>
6292
6293 * config/arm/ieee754-df.S: Fix typos.
6294 * config/arm/ieee754-sf.S: Fix typos.
6295 * config/c6x/libunwind.S: Fix typos.
6296 * config/epiphany/udivsi3-float.c: Fix typos.
6297 * config/microblaze/muldi3_hard.S: Fix typos.
6298 * config/picochip/adddi3.S: Fix typos.
6299 * config/picochip/ashlsi3.S: Fix typos.
6300 * config/picochip/ashrsi3.S: Fix typos.
6301 * config/picochip/clzsi2.S: Fix typos.
6302 * config/picochip/cmpsi2.S: Fix typos.
6303 * config/picochip/divmod15.S: Fix typos.
6304 * config/picochip/divmodhi4.S: Fix typos.
6305 * config/picochip/divmodsi4.S: Fix typos.
6306 * config/picochip/longjmp.S: Fix typos.
6307 * config/picochip/lshrsi3.S: Fix typos.
6308 * config/picochip/parityhi2.S: Fix typos.
6309 * config/picochip/popcounthi2.S: Fix typos.
6310 * config/picochip/setjmp.S: Fix typos.
6311 * config/picochip/subdi3.S: Fix typos.
6312 * config/picochip/ucmpsi2.S: Fix typos.
6313 * config/picochip/udivmodhi4.S: Fix typos.
6314 * config/picochip/udivmodsi4.S: Fix typos.
6315 * config/spu/divv2df3.c: Fix typos.
6316 * config/spu/mfc_multi_tag_release.c: Fix typos.
6317 * config/spu/mfc_tag_release.c: Fix typos.
6318 * configure.ac: Fix typos.
6319 * configure: Regenerate.
6320
31a18a7e
ILT
63212012-05-25 Ian Lance Taylor <iant@google.com>
6322
6323 * config/i386/morestack.S (__morestack_non_split): Check whether
6324 caller is varargs and needs %bp to hold the stack frame on return.
6325
c5768510
OH
63262012-05-25 Olivier Hainque <hainque@adacore.com>
6327
6328 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
6329 sequence in the non pic case on VxWorks.
6330
7c7c339b
OH
63312012-05-24 Olivier Hainque <hainque@adacore.com>
6332
73fb7630 6333 * Makefile.in: Move dependency on install-unwind_h from
7c7c339b
OH
6334 "install-leaf" to "install".
6335
fdc1b7d3
OH
63362012-05-24 Olivier Hainque <hainque@adacore.com>
6337
6338 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
6339 Use a separate command for stamp removals.
6340
07ba94b9
AP
63412012-05-21 Andrew Pinski <apinski@cavium.com>
6342
6343 PR bootstrap/53183
6344 * configure.ac: Define the default includes to being none.
6345 * configure: Regenerate.
6346
4677d2eb
OH
63472012-05-16 Olivier Hainque <hainque@adacore.com>
6348
6349 * Makefile.in (install-unwind_h): Rename into ...
6350 (install-unwind_h-forbuild): New target.
6351 (all): Use it instead of the former install-unwind_h.
6352 (install-unwind_h): Reinstate, copy to user install destination
6353 for include files, not to the internal gcc object directory one.
6354 (install-leaf): Depend on it.
6355
7d67c380
OH
63562012-05-15 Olivier Hainque <hainque@adacore.com>
6357
6358 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
6359 register numbers. LR_REGNO replaces R_LR.
6360 (ucontext_for): New, helper for ...
6361 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
6362 and 5.3 of ...
6363 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
6364
aca06c90
RO
63652012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6366
6367 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
6368 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
6369 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
6370 i386/t-cpuinfo ...
6371 (i[34567]86-*-*, x86_64-*-*): ... here.
6372
6373 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
6374 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
6375
6376 * config/i386/i386-cpuinfo.c: Rename to ...
6377 * config/i386/cpuinfo.c: ... this.
6378 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
6379
6380 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
6381 (libgcc_cv_init_priority): New test.
6382 * configure: Regenerate.
6383 * config.in: New file.
6384 * Makefile.in (clean): Rename config.h to auto-target.h.
6385 (config.h): Likewise.
6386 (stamp-h): Likewise.
6387
6388 * config/i386/cpuinfo.c (auto-target.h): Include.
6389 (CONSTRUCTOR_PRIORITY): Define.
6390 (__cpu_indicator_init): Use it.
6391
0d03ac1b
L
63922012-05-09 H.J. Lu <hongjiu.lu@intel.com>
6393
6394 * longlong.h: Use a URL instead of an FSF postal address.
6395 Replace spaces with tab.
6396
4a172156 63972012-05-08 Teresa Johnson <tejohnson@google.com>
4e8ee9cb
TJ
6398
6399 * libgcov.c (gcov_clear, __gcov_reset): New functions.
6400 (__gcov_dump): Ditto.
6401 (gcov_dump_complete): New global variable.
6402 (gcov_exit): Export hidden to enable use in L_gcov_dump.
6403 (__gcov_flush): Outline functionality now in gcov_clear.
6404 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
6405
e4bb767e
AJ
64062012-04-28 Aurelien Jarno <aurelien@aurel32.net>
6407
31a18a7e
ILT
6408 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
6409 (mips*-*-linux*): Include mips/t-tpbit when long double is
6410 16 bytes long.
e4bb767e 6411
5ddecff9
ST
64122012-04-25 Sriraman Tallam <tmsriram@google.com>
6413
6414 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
6415 (get_available_features): New argument. Check for AVX2.
6416 (__cpu_indicator_init): Modify call to get_available_features.
6417
b427dd7a
AM
64182012-04-25 Alan Modra <amodra@gmail.com>
6419
6420 * config/rs6000/crtsavevr.S: New file.
6421 * config/rs6000/crtrestvr.S: New file.
6422 * config/rs6000/t-savresfgpr: Build the above.
6423 * config/rs6000/t-netbsd: Likewise.
6424
ad491329
ST
64252012-04-24 Sriraman Tallam <tmsriram@google.com>
6426
6427 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
6428
792317cc
ST
64292012-04-24 Sriraman Tallam <tmsriram@google.com>
6430
6431 * libgcc/config/i386/i386-cpuinfo.c: New file.
6432 * libgcc/config/i386/t-cpuinfo: New file.
6433 * libgcc/config.host: Include t-cpuinfo.
6434 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
6435
e1be98a4
CF
64362012-04-24 Chao-ying Fu <fu@mips.com>
6437
6438 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
6439
1bde7dab
TS
64402012-04-20 Thomas Schwinge <thomas@codesourcery.com>
6441
6442 struct siginfo vs. siginfo_t
6443
6444 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
6445 siginfo_t instead of struct siginfo.
6446 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
6447 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
6448 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
6449 (ia64_handle_unwabi): Likewise.
6450 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
6451 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
6452 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
6453 (sh_fallback_frame_state): Likewise.
6454 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
6455 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
6456
24590f66
L
64572012-04-02 H.J. Lu <hongjiu.lu@intel.com>
6458
6459 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
6460 system call number.
6461
9a9dcce8
EB
64622012-03-31 Eric Botcazou <ebotcazou@adacore.com>
6463
6464 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
6465 if it hasn't been previously saved.
6466
6401aaf5
L
64672012-03-29 H.J. Lu <hongjiu.lu@intel.com>
6468
6469 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
6470 only for glibc.
6471
7fd6378e
GJL
64722012-03-28 Georg-Johann Lay <avr@gjlay.de>
6473
6474 PR target/52737
6475 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
6476 instead of __AVR_HAVE_8BIT_SP__.
6477
9e916de7
TG
64782012-03-26 Tristan Gingold <gingold@adacore.com>
6479
6480 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
6481 (unw_table_entry): Use unw_word instead of unsigned long.
6482 (_Unwind_FindTableEntry): Likewise.
6483 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
6484 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
6485 (_Unwind_FindTableEntry): Likewise.
6486 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
6487 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
6488 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
6489 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
6490 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
6491 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
6492 (uw_init_context_1, uw_install_context): Likewise.
6493 (unw_word): Move to unwind-ia64.h
6494
4b12e93d
TG
64952012-03-26 Tristan Gingold <gingold@adacore.com>
6496
6497 * config/vms/vms-ucrt0.c: Update copyright years.
6498 Add a sanity check.
6499 (___gcc_main_flags): Declare.
6500 (__main): Check flags to remap argv and exit code.
6501 * config.host (*-*-*vms*): Adjust extra_parts.
6502 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
6503 (crt0.o): Add.
6504
06ea7371
RE
65052012-03-22 Richard Earnshaw <rearnsha@arm.com>
6506
6507 * arm/lib1funcs.asm (ctzsi2): New function.
6508 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
6509 * arm/t-linux (LIB1ASMFUNCS): Likewise.
6510 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
6511 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
6512 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
6513 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
6514
d82ad50d
AT
65152012-03-21 Andreas Tobler <andreast@fgznet.ch>
6516
6517 * config.host: Add bits to support powerpc64-*-freebsd*.
6518 * config/rs6000/freebsd-unwind.h: New file.
6519 * config/rs6000/t-freebsd64: New file.
6520
b260a8c0
RG
65212012-03-20 Richard Guenther <rguenther@suse.de>
6522
6523 PR gcov-profile/52627
6524 * libgcov.c (init_mx): Fix mutex name.
6525
86286a8a
TG
65262012-03-16 Tristan Gingold <gingold@adacore.com>
6527
6528 * config/ia64/vms-unwind.h: Remove ulong (and replace
6529 it by unw_reg where used). Define unw_reg with __int64.
6530
7888f266
RO
65312012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6532
6533 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
6534 Solaris 8 handling.
6535 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
6536 Solaris 8 handling.
6537 (sparc_is_sighandler): Likewise.
6538
f155bc64
L
65392012-03-13 H.J. Lu <hongjiu.lu@intel.com>
6540
6541 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
6542 <= saved reg size.
6543
d47657bd
RO
65442012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6545
6546 * config/arm/crtn.S: Fix typo.
6547
5bef73a1
RG
65482012-03-13 Richard Guenther <rguenther@suse.de>
6549
6550 * libgcov.c: Remove stdio.h include and NULL un-define.
6551
9c4271f3
RG
65522012-03-13 Richard Guenther <rguenther@suse.de>
6553
6554 PR target/52569
6555 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
6556
c6d10e7c
RG
65572012-03-13 Richard Guenther <rguenther@suse.de>
6558
6559 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
6560
074a385f
RG
65612012-03-13 Richard Guenther <rguenther@suse.de>
6562
6563 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
6564 and __gthread_mutex_init_function definitions.
6565
c4bc5c25
RO
65662012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6567
6568 * config.host (mips*-*-openbsd*): Remove.
6569
5c30094f
RO
65702012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6571
6572 * config.host: Remove alpha*-dec-osf5.1* handling.
6573 * config/alpha/gthr-posix.c: Remove.
6574 * config/alpha/libgcc-osf5.ver: Remove.
6575 * config/alpha/osf5-unwind.h: Remove.
6576 * config/alpha/t-osf-pthread: Remove.
6577 * config/alpha/t-slibgcc-osf: Remove.
6578 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
6579 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
6580 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
6581 * mkmap-flat.awk: Remove osf_export handling.
6582
33e3e24d
RG
65832012-03-12 Richard Guenther <rguenther@suse.de>
6584
6585 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
6586 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
6587 (__gthread_mutex_init_function): New function.
6588 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
6589
6590 PR gcov/49484
6591 * libgcov.c: Include gthr.h.
6592 (__gcov_flush_mx): New global variable.
6593 (init_mx, init_mx_once): New functions.
6594 (__gcov_flush): Protect self with a mutex.
6595 (__gcov_fork): Re-initialize mutex after forking.
6596 * unwind-dw2-fde.c: Change condition under which to use
6597 __GTHREAD_MUTEX_INIT_FUNCTION.
6598
d8aba32a
TG
65992012-03-12 Tristan Gingold <gingold@adacore.com>
6600
6601 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
6602 * config/ia64/t-vms: Likewise.
6603
75ffafdc
MH
66042012-03-11 Michael Hope <michael.hope@linaro.org>
6605
4a172156
UB
6606 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
6607 for Thumb-2.
75ffafdc 6608
ef6c2c53
WL
66092012-03-07 Walter Lee <walt@tilera.com>
6610
6611 * config/tilepro/atomic.c: Rename "atomic_" prefix to
6612 "arch_atomic_".
6613 (atomic_xor): Rename and move definition to
6614 config/tilepro/atomic.h.
6615 (atomic_nand): Ditto.
6616 * config/tilepro/atomic.h: Rename "atomic_" prefix to
6617 "arch_atomic_".
6618 (arch_atomic_xor): Move from config/tilepro/atomic.c.
6619 (arch_atomic_nand): Ditto.
6620
4e30d980
GJL
66212012-03-07 Georg-Johann Lay <avr@gjlay.de>
6622
6623 PR target/52507
6624 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
6625
61108225
GJL
66262012-03-07 Georg-Johann Lay <avr@gjlay.de>
6627
6628 PR target/52505
6629 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
6630 from RAM.
6631
b30e10ab
GJL
66322012-03-07 Georg-Johann Lay <avr@gjlay.de>
6633
6634 PR target/52461
6635 PR target/52508
6636 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
6637 if RAMPZ affects reading from RAM.
6638 (__tablejump_elpm__): Ditto.
6639 (.xload): Ditto.
6640 (__movmemx_hi): Ditto.
6641 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
6642 (__do_global_dtors): Ditto.
6643 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
6644 (__movmemx_hi): Ditto.
6645
8993fde4
RH
66462012-03-05 Richard Henderson <rth@redhat.com>
6647
6648 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
6649 [ARM] (count_trailing_zeros): Use the builtin.
6650
b7633ee3
KT
66512012-03-01 Kai Tietz <ktietz@redhat.com>
6652
6653 * soft-fp: Imported from glibc upstream.
6654
fbd3340c
KT
66552012-02-28 Kai Tietz <ktietz@redhat.com>
6656
6657 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
6658 for mingw-targets as attribute gcc_struct.
6659
e9e053eb
ILT
66602012-02-28 Ian Lance Taylor <iant@google.com>
6661
6662 * generic-morestack.c (__splitstack_releasecontext): Correct call
6663 to __morestack_release_segments.
6664
d80c632e
ST
66652012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
6666
6667 PR target/52390
6668 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
6669 for __linux__ when removing signals from __morestack_fullmask.
6670
0253a8b1
GJL
66712012-02-23 Georg-Johann Lay <avr@gjlay.de>
6672
6673 PR target/52261
6674 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
6675
e10e461e
UW
66762012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6677
6678 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
6679 instead of HAVE_INITFINI_ARRAY.
6680 * config/ia64/crtend.S: Likewise.
6681
0c0c6398
KT
66822012-02-20 Kai Tietz <ktietz@redhat.com>
6683
d7470374
KT
6684 PR libstdc++/52300
6685 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
6686
0c0c6398
KT
6687 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
6688 to w32-unwind.h header.
6689
78c27266
RS
66902012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
6691
6692 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
6693 (mips*-*-linux*): Remove t-slibgcc-libgcc.
6694 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
6695 * config/mips/mips16.S (__mips16_rdhwr): Delete.
6696
5adeb246
RS
66972012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
6698
6699 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
6700
672ed313
IS
67012012-02-15 Iain Sandoe <iains@gcc.gnu.org>
6702
6703 PR libitm/52220
6704 * config/darwin-crt-tm.c: Correct typo.
e9e053eb 6705
e948a1fb
IS
67062012-02-15 Iain Sandoe <iains@gcc.gnu.org>
6707 Patrick Marlier <patrick.marlier@gmail.com>
6708
6709 PR libitm/52220
6710 * config/darwin-crt-tm.c: Generate dummy functions.
6711
6017aed3
IS
67122012-02-15 Iain Sandoe <iains@gcc.gnu.org>
6713 Patrick Marlier <patrick.marlier@gmail.com>
6714
6715 PR libitm/52042
6716 * config/darwin-crt-tm.c (getTMCloneTable): New function.
6717 (__doTMRegistrations): Call it.
e9e053eb 6718 (__doTMdeRegistrations): Likewise.
6017aed3 6719
2da8c1ad 67202012-01-15 Georg-Johann Lay <avr@gjlay.de>
7d296953
JJ
6721 Anatoly Sokolov <aesok@post.ru>
6722 Eric Weddington <eric.weddington@atmel.com>
2da8c1ad
GJL
6723
6724 PR target/52261
6725 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
6726 (__epilogue_restores__): Ditto.
6727
0f952eb4
EB
67282012-02-15 Eric Botcazou <ebotcazou@adacore.com>
6729
6730 PR target/51921
6731 PR target/52205
6732 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
6733 Solaris 11 and slightly reformat.
6734 (sparc_is_sighandler): Likewise.
6735
dd552284
WL
67362012-02-14 Walter Lee <walt@tilera.com>
6737
6738 * config.host: Handle tilegx and tilepro.
6739 * config/tilegx/sfp-machine.h: New file.
6740 * config/tilegx/sfp-machine32.h: New file.
6741 * config/tilegx/sfp-machine64.h: New file.
6742 * config/tilegx/t-crtstuff: New file.
6743 * config/tilegx/t-softfp: New file.
6744 * config/tilegx/t-tilegx: New file.
6745 * config/tilepro/atomic.c: New file.
6746 * config/tilepro/atomic.h: New file.
6747 * config/tilepro/linux-unwind.h: New file.
6748 * config/tilepro/sfp-machine.h: New file.
6749 * config/tilepro/softdivide.c: New file.
6750 * config/tilepro/softmpy.S: New file.
6751 * config/tilepro/t-crtstuff: New file.
6752 * config/tilepro/t-tilepro: New file.
6753
b59cbd50
JW
67542012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
6755
6756 PR libstdc++/51296
6757 PR libstdc++/51906
6758 * gthr-posix.h: Allow static initializer macros to be disabled.
6759 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
6760
6caf807f
CLT
67612012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
6762
6763 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
6764 Add t-slibgcc-libgcc to tmake_file.
6765 * config/mips/libgcc-mips16.ver: Revert previous patch.
6766 * config/mips/mips16.S (__mips16_rdhwr): Hide.
6767
7d296953
JJ
67682012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
6769 Jayant R Sonar <jayant.sonar@kpitcummins.com>
b25364a0
S
6770
6771 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
6772 * config/cr16/crti.S: New file.
6773 * config/cr16/crtlibid.S: New file.
6774 * config/cr16/crtn.S: New file.
6775 * config/cr16/lib1funcs.S: New file.
6776 * config/cr16/t-cr16: New file.
6777 * config/cr16/t-crtlibid: New file.
6778 * config/cr16/unwind-dw2.h: New file.
6779 * config/cr16/unwind-cr16.c: New file.
6780 * config/cr16/divmodhi3.c: New file.
6781
8ef03aa7
AM
67822012-01-25 Alan Modra <amodra@gmail.com>
6783
6784 * config/rs6000/t-linux64: Delete. Move..
6785 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
6786 * config/rs6000/t-linux: ..and libgcc flags to here.
6787
daecebc8
DR
67882012-01-22 Douglas B Rupp <rupp@gnat.com>
6789
6790 * config.host (i[34567]86-*-interix3*):
8ef03aa7 6791 Change triplet to i[34567]86-*-interix[3-9]*.
daecebc8
DR
6792 * configure: Regenerate.
6793
ddaf8125
RS
67942012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
6795 Richard Sandiford <rdsandiford@googlemail.com>
6796
6797 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
6798 * config/mips/mips16.S (__mips16_rdhwr): New function.
6799 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
6800
2cd8b32c
NS
68012012-01-11 Nathan Sidwell <nathan@acm.org>
6802
6803 * libgcov.c (__gcov_init): Ignore objects with no functions.
6804
cba300dd
GJL
68052012-01-10 Georg-Johann Lay <avr@gjlay.de>
6806
6807 PR target/49868
6808 Extend __pgmx semantics to linearize memory.
6809 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
6810 * config/avr/lib1funcs.S (__xload_1): New function.
6811 (__movmemx_qi, __movmemx_hi): New functions.
6812 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
6813 semantics.
9ffaf4bc 6814
3d137660
EB
68152012-01-09 Eric Botcazou <ebotcazou@adacore.com>
6816
6817 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
6818 purported sigacthandler address isn't null before dereferencing it.
6819 (sparc_is_sighandler): Likewise.
6820
bf4db96c
EB
68212012-01-09 Eric Botcazou <ebotcazou@adacore.com>
6822
6823 PR ada/41929
6824 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
6825 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
6826 (sparc_is_sighandler): Likewise.
6827 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
6828
1ab3568b
TG
68292012-01-06 Tristan Gingold <gingold@adacore.com>
6830
6831 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
6832 compatibility thunks...
6833 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
6834 (crtbeginS.o, crtendS.o): ... and these to ...
6835 * config/ia64/t-ia64-elf: ... this new file.
6836 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
6837 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
6838
925b0ed8
AK
68392012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6840
6841 * configure: Regenerate.
6842 * config/s390/t-crtstuff: Remove -fPIC.
6843
a99ad737
JW
68442012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
6845
6846 PR bootstrap/51006
6847 * enable-execute-stack-mprotect.c (getpagesize): Do not define
6848 for NetBSD.
6849
884f56d1
GJL
68502012-01-02 Georg-Johann Lay <avr@gjlay.de>
6851
6852 PR target/51345
6853 * config/avr/lib1funcs.S: Remove FIXME comments.
6854 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
6855
8c57e547
GJL
68562012-01-02 Georg-Johann Lay <avr@gjlay.de>
6857
6858 Implement light-weight DImode support.
6859 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
6860 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
6861 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
6862 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
6863
04dbc287
NS
68642011-12-30 Nathan Sidwell <nathan@acm.org>
6865
6866 * libgcov.c (gcov_crc32): Remove global var.
6867 (free_fn_data): New function.
6868 (buffer_fn_data): Pass in filename, more robust error recovery.
6869 (crc32_unsigned): New function.
6870 (gcov_exit): More robust detection of new program. More robust
6871 error recovery.
6872 (__gcov_init): Do not update program's crc here.
6873
8e1d97d4
TG
68742011-12-21 Tristan Gingold <gingold@adacore.com>
6875
6876 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
6877
9ffaf4bc
ILT
68782011-12-21 Ian Lance Taylor <iant@google.com>
6879
6880 * config/i386/morestack.S: Simplify CFI opcodes throughout.
6881
a0c8d0c1
ILT
68822011-12-20 Ian Lance Taylor <iant@google.com>
6883
6884 * config/i386/morestack.S (__morestack_non_split): If there is
6885 enough stack space already, don't split. Ask for more stack space
6886 than we required.
6887
69048898
SDJ
68882011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
6889
6890 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
6891 `sys/sdt.h'.
6892 (_Unwind_DebugHook): New function.
6893 (uw_restore_core_regs): New define.
6894 (unwind_phase2): Use uw_restore_core_regs instead of
6895 restore_core_regs.
6896 (unwind_phase2_forced): Likewise.
6897 (__gnu_Unwind_Resume): Likewise.
6898
1bb4b6a3
UB
68992011-12-20 Uros Bizjak <ubizjak@gmail.com>
6900
6901 * config/alpha/linux-unwind.h: Update copyright years.
6902 (MD_FROB_UPDATE_CONTEXT): New define.
6903 (alpha_frob_update_context): New function.
6904
eb028768
RS
69052011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
6906
6907 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
6908 tmake_file rather replacing it.
6909
6a2045bf
IS
69102011-12-15 Iain Sandoe <iains@gcc.gnu.org>
6911
6912 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
1bb4b6a3 6913 function is not used for PPC64.
6a2045bf
IS
6914 (save_world): Amend comments. Update the VRsave mask to reflect the
6915 saved regs.
6916 (rest_world): Update comments, do not clobber r10, do not use r8.
6917 (eh_rest_world_r10): Amend comments, do not use r8.
6918 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
6919 no longer used, move restore of CR and target address to the end of
6920 the routine.
6921
a13780a6
L
69222011-12-14 H.J. Lu <hongjiu.lu@intel.com>
6923
6924 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
6925 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
6926
d7288dfb
GJL
69272011-12-14 Georg-Johann Lay <avr@gjlay.de>
6928
6929 PR target/49313
6930 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
6931 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
6932
8d2c862d
EB
69332011-12-11 Eric Botcazou <ebotcazou@adacore.com>
6934
6935 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
6936
3447cae6
GJL
69372011-12-09 Georg-Johann Lay <avr@gjlay.de>
6938
6939 PR target/49313
6940 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
6941 * config/avr/lib1funcs.S (__muldi3): New function.
6942
806fc6aa
AP
69432011-12-06 Andrew Pinski <apinski@cavium.com>
6944
6945 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
6946 size of func_ptr.
6947 (__frame_dummy_init_array_entry): Likewise.
6948
28c5e6b5
GJL
69492011-12-06 Georg-Johann Lay <avr@gjlay.de>
6950
6951 Forward-port from gcc-4_6-branch r181936 2011-12-02.
6952
6953 PR target/51345
6954 PR target/51002
6955 * config/avr/lib1funcs.S (__prologue_saves__,
6956 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
6957 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
6958
8f90394a
IS
69592011-12-04 Iain Sandoe <iains@gcc.gnu.org>
6960
6961 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
6962
06dd33ac
JDA
69632011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
6964
6965 PR other/51272
6966 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
6967 (_ITM_deregisterTMCloneTable): Likewise.
6968 (__register_frame_info): Fix unused warning.
6969 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
6970 pthread_default_stacksize_np): Likewise.
6971 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
1bb4b6a3 6972
85b8555e
DD
69732011-11-29 DJ Delorie <dj@redhat.com>
6974
6975 * config.host (rl78-*-elf): New case.
6976 * config/rl78: New directory for the Renesas RL78.
6977
4d5ae4ea
BS
69782011-11-29 Bernd Schmidt <bernds@codesourcery.com>
6979
6980 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
6981 formatting.
6982
f9c55897
RO
69832011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6984
6985 PR other/51022
6986 * config/rs6000/t-savresfgpr: New file.
6987 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
6988 $(srcdir)/config/rs6000/eabi.S.
6989 * config/rs6000/t-ppccomm-ldbl: Remove.
6990 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
6991 tmake_file.
6992 (powerpc-*-eabispe*): Likewise.
6993 (powerpc-*-eabi*): Likewise.
6994 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
6995 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
6996 to tmake_file, remove rs6000/t-ppccomm-ldbl.
6997 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
6998 tmake_file.
6999 (powerpc-*-eabisim*): Likewise.
7000 (powerpc-*-elf*): Likewise.
7001 (powerpc-*-eabialtivec*): Likewise.
7002 (powerpc-xilinx-eabi*): Likewise.
7003 (powerpc-*-rtems*): Likewise.
7004 (powerpcle-*-elf*): Likewise.
7005 (powerpcle-*-eabisim*): Likewise.
7006 (powerpcle-*-eabi*): Likewise.
7007
a01207c4
ILT
70082011-11-27 Ian Lance Taylor <iant@google.com>
7009
7010 * generic-morestack.c (__splitstack_find): Check for NULL old
7011 stack value.
7012 (__splitstack_resetcontext): New function.
7013 (__splitstack_releasecontext): New function.
7014 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
7015
2b0b8ab2
IS
70162011-11-27 Iain Sandoe <iains@gcc.gnu.org>
7017
7018 * config/darwin-crt-tm.c: Correct comments, use correct licence.
7019
c1d8101c
IS
70202011-11-27 Iain Sandoe <iains@gcc.gnu.org>
7021
7022 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
7023
8b281334
RH
70242011-11-26 Richard Henderson <rth@redhat.com>
7025
7026 * config/m68k/linux-atomic.c: New file.
7027 * config/m68k/t-linux: New file.
7028 * config.host (m68k-uclinux, m68k-linux): Use it.
7029
7546aa9d
RH
70302011-11-26 Richard Henderson <rth@redhat.com>
7031
7032 * crtstuff.c (__TMC_LIST__): Mark used not unused.
7033 (__TMC_END__): Only declare if hidden is available; in the definition,
7034 if hidden is unavailable add a null record.
7035 (deregister_tm_clones, register_tm_clones): New.
7036 (__do_global_dtors_aux, frame_dummy): Use them.
7037 (__do_global_dtors, __do_global_ctors_1): Likewise.
7038
e2362f5d
IS
70392011-11-22 Iain Sandoe <iains@gcc.gnu.org>
7040
7041 * config/darwin-crt-tm.c: New file.
7042 * config.host (darwin): Build crttms.o crttme.o to provide
7043 startup and shutdown for tm clones.
7044 * config/t-darwin (crttms.o): New build rule.
7045 (crttme.o): Likewise.
7046
6685dd96
HPN
70472011-11-21 Hans-Peter Nilsson <hp@axis.com>
7048
7049 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
7050 et al.
7051
b0dc7e4c
RH
70522011-11-21 Richard Henderson <rth@redhat.com>
7053
7054 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
7055 (__TMC_LIST__, __TMC_END__): New.
7056 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
7057 (__do_global_dtors): Likewise.
7058 (frame_dummy): Call _ITM_registerTMCloneTable.
7059 (__do_global_ctors_1): Likewise.
7060
d4b4b542
RO
70612011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7062
7063 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
7064 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
7065 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
7066 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
7067 * config/i386/t-darwin64: Remove.
7068 * config/sh/t-netbsd (LIB2ADD): Remove.
7069
989bdb74
GJL
70702011-11-21 Georg-Johann Lay <avr@gjlay.de>
7071
7072 PR target/49313
7073 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
7074 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
7075 * config/avr/lib1funcs.S (wmov): New assembler macro.
7076 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
7077 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
7078 (__udivmod64): New function.
7079 (__negdi2): New function.
7080
515a0cfc
GP
70812011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
7082
7083 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
7084 *-*-freebsd*aout*): Remove.
7085
0115d17f
HPN
70862011-11-20 Hans-Peter Nilsson <hp@axis.com>
7087
7088 * static-object.mk (c_flags-$o): Save c_flags.
7089 ($(base)$(objext)): Use it.
7090
93aeb62b
SE
70912011-11-18 Steve Ellcey <sje@cup.hp.com>
7092
7093 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
7094
7bc6df2c
GJL
70952011-11-18 Georg-Johann Lay <avr@gjlay.de>
7096
7097 PR target/49868
7098 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
7099 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
7100 New functions.
7101
425d737b
MGD
71022011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
7103
7104 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
7105 functions.
1bb4b6a3 7106 (aeabi_uidivmod): Likewise.
425d737b
MGD
7107 (umodsi3): Likewise.
7108 (divsi3): Likewise.
7109 (aeabi_idivmod): Likewise.
7110 (modsi3): Likewise.
7111
f2a176dc
TG
71122011-11-16 Tristan Gingold <gingold@adacore.com>
7113
7114 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
7115
7c209481
GJL
71162011-11-15 Georg-Johann Lay <avr@gjlay.de>
7117
7118 PR target/49868
7119 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
7120 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
7121
9dfd5832
JDA
71222011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
7123
7124 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
7125 tmake_file list.
7126 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
7127 * config/pa/t-stublib64: Delete.
7128
f77dca5d
RH
71292011-11-12 Richard Henderson <rth@redhat.com>
7130
7131 * config/rs6000/linux-unwind.h (frob_update_context): Properly
7132 cast the pointer argument to _Unwind_SetGRPtr.
7133
902828f0
RO
71342011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7135
7136 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
7137
e14304ef
ILT
71382011-11-09 Ian Lance Taylor <iant@google.com>
7139
7140 * generic-morestack.c: Include <string.h>.
7141 (uintptr_type): Define.
7142 (struct initial_sp): Add dont_block_signals field. Reduce size of
7143 extra array by 1.
7144 (allocate_segment): Set prev field to NULL. Don't set
7145 __morestack_current_segment or __morestack_segments.
7146 (__generic_morestack): Update current->prev and *pp after calling
7147 allocate_segment.
7148 (__morestack_block_signals): Don't do anything if
7149 dont_block_signals is set.
7150 (__morestack_unblock_signals): Likewise.
7151 (__generic_findstack): Check for initial_sp == NULL. Add casts to
7152 uintptr_type.
7153 (__splitstack_block_signals): New function.
7154 (enum __splitstack_content_offsets): Define.
7155 (__splitstack_getcontext, __splitstack_setcontext): New functions.
7156 (__splitstack_makecontext): New function.
7157 (__splitstack_block_signals_context): New function.
7158 (__splitstack_find_context): New function.
7159 * config/i386/morestack.S (__morestack_get_guard): New function.
7160 (__morestack_set_guard, __morestack_make_guard): New functions.
7161 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
7162
e3d871e4
RO
71632011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7164
7165 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
7166 (i[34567]86-*-mingw*): ... here.
7167 (x86_64-*-mingw*): ... here.
7168
e55cef40
RO
71692011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7170
7171 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
7172
5366b186
NS
71732011-11-07 Nathan Sidwell <nathan@acm.org>
7174
7175 * libgcov.c (struct gcov_fn_buffer): New struct.
7176 (buffer_fn_data): New helper.
7177 (gcov_exit): Rework for new gcov data structures.
7178
74155a6f
GJL
71792011-11-07 Georg-Johann Lay <avr@gjlay.de>
7180
7181 PR target/49313
7182 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
7183
200feb07
RO
71842011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7185
7186 * config.host (tmake_file): Correct comment.
7187 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
7188 t-libgcc-pic.
7189 (bfin*-uclinux*): Likewise.
7190 (bfin*-linux-uclibc*): Likewise.
7191 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
7192
7193 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
7194 assigning.
7195 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7196 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
7197 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7198 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
7199 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7200 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
7201 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
7202 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7203 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
7204 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
7205 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
7206 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
7207 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
7208
7209 * config/bfin/t-elf: Remove.
7210 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
7211
c9cd1a07
RO
72122011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7213
7214 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
7215 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
7216 (lm32-*-elf*, lm32-*-rtems*): Split into ...
7217 (lm32-*-elf*): ... this.
7218 (lm32-*-rtems*): ... and this.
7219 Add to tmake_file.
7220 (m32r-*-rtems*): Add to tmake_file.
7221 (moxie-*-rtems*): Likewise.
7222 (sparc-*-rtems*): Likewise.
7223 Remove t-rtems from tmake_file.
7224 (sparc64-*-rtems*): Likewise.
7225 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
7226 instead.
7227
9fbcc75d
RO
72282011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7229
7230 PR bootstrap/50982
7231 * config/gthr-posix.h: Move ...
7232 * gthr-posix.h: ... here.
7233 * config/gthr-lynx.h: Reflect this.
7234 * config/gthr-vxworks.h: Likewise.
7235 * config/rs6000/gthr-aix.h: Likewise.
7236 * configure.ac (target_thread_file): Likewise.
7237 * configure: Regenerate.
7238
76644b68
SH
72392011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
7240
7241 * config.host (arm*-*-rtemseabi*): New target.
7242
5e490f2a
JDA
72432011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
7244
7245 PR other/50991
7246 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
7247 extra-parts.
7248
feeeff5c
JR
72492011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
7250
7251 * config.host (epiphany-*-elf*): New configuration.
7252 * config/epiphany: New Directory.
7253
d618bb2c
RC
72542011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
7255
7256 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
7257 * config/avr/t-rtems: New.
7258 Filter out _exit from LIB1ASMFUNCS.
7259
1bb6f778
DM
72602011-11-04 David S. Miller <davem@davemloft.net>
7261
7262 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
7263 * configure: Rebuild.
7264
9a7f7422
AK
72652011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7266
7267 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
7268 variable.
7269
e4fe948a
GJL
72702011-11-04 Georg-Johann Lay <avr@gjlay.de>
7271
7272 PR target/50931
7273 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
7274 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
7275
7084e037
JS
72762011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
7277
7278 PR target/50989
7279 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
7280
1a032034
RO
72812011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7282
7283 * config/c6x/t-elf (LIB2ADDEH): Set.
7284 * config/c6x/t-c6x-elf: Remove.
7285
d385f772
RO
72862011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7287
7288 * config/i386/sol2-ci.S: Rename to ...
7289 * config/i386/crti.S: ... this.
7290 * config/i386/sol2-cn.S: Rename to ...
7291 * config/i386/crtn.S: ... this.
7292 * config/sparc/sol2-ci.S: Rename to ...
7293 * config/sparc/crti.S: ... this.
7294 * config/sparc/sol2-cn.S: Rename to ...
7295 * config/sparc/crtn.S: ... this.
7296 * config/t-sol2 (CUSTOM_CRTIN): Remove.
7297 (crti.o, crtn.o): Remove.
7298
1ba878a9
TG
72992011-11-04 Tristan Gingold <gingold@adacore.com>
7300
7301 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
7302
02750c15
KK
73032011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
7304
7305 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
7306
bf86b067
HPN
73072011-11-03 Hans-Peter Nilsson <hp@axis.com>
7308
7309 * config.host (crisv32-*-none, cris-*-none): Remove.
7310 (crisv32-*-elf): Append to tmake_file, don't just set it.
7311 (cris-*-elf): Add missing t-fdpbit to tmake_file.
7312
d0bc53bd
RO
73132011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7314
7315 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
7316 (ecrtn$(objext)): Likewise.
7317 (ncrti$(objext)): Likewise.
7318 (ncrtn$(objext)): Likewise.
7319
036da830
AS
73202011-11-03 Andreas Schwab <schwab@redhat.com>
7321
7322 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
7323
d2a7d041
DM
73242011-11-02 David S. Miller <davem@davemloft.net>
7325
7326 * configure.ac: Set host_address on sparc too.
7327 * configure: Regenerate.
7328 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
7329 based upon host_address.
7330 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
7331
af8ed618
JM
73322011-11-02 Jason Merrill <jason@redhat.com>
7333
7334 * config/rs6000/t-ppccomm: Add missing \.
7335
5d1c8e77
RO
73362011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7337
7338 * gthr-single.h, gthr.h: New files.
7339 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
7340 config/gthr-vxworks.h, config/i386/gthr-win32.h,
7341 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
7342 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
7343 * config/i386/gthr-win32.c: Include "gthr-win32.h".
7344 * configure.ac (thread_header): New variable.
7345 Set it depending on target_thread_file.
7346 (gthr-default.h): Link from $thread_header.
7347 * configure: Regenerate.
7348 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
7349
852b75ed
RO
73502011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7351
7352 * configure.ac (tm_file_): New variable.
7353 Determine from tm_file.
7354 (tm_file, tm_defines): Substitute.
7355 * configure: Regenerate.
7356 * mkheader.sh: New file.
7357 * Makefile.in (clean): Remove libgcc_tm.h.
7358 ($(objects)): Depend on libgcc_tm.h.
7359 (libgcc_tm_defines, libgcc_tm_file): New variables.
7360 (libgcc_tm.h, libgcc_tm.stamp): New targets.
7361 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
7362 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
7363 ($(extra-parts)): Depend on libgcc_tm.h.
7364 * config.host (tm_defines, tm_file): New variable.
7365 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
7366 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
7367 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
7368 (avr-*-rtems*): Likewise.
7369 (avr-*-*): Likewise.
7370 (frv-*-elf): Likewise.
7371 (frv-*-*linux*): Likewise.
7372 (h8300-*-rtems*): Likewise.
7373 (h8300-*-elf*): Likewise.
7374 (i[34567]86-*-darwin*): Likewise.
7375 (x86_64-*-darwin*): Likewise.
7376 (rx-*-elf): Likewise.
7377 (tic6x-*-uclinux): Likewise.
7378 (tic6x-*-elf): Likewise.
7379 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
7380 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
7381 * config/i386/cygming-crtbegin.c: Likewise.
7382 * config/i386/cygming-crtend.c: Likewise.
7383 * config/ia64/fde-vms.c: Likewise.
7384 * config/ia64/unwind-ia64.c: Likewise.
7385 * config/libbid/bid_gcc_intrinsics.h: Likewise.
7386 * config/rs6000/darwin-fallback.c: Likewise.
7387 * config/stormy16/lib2funcs.c: Likewise.
7388 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
7389 * crtstuff.c: Likewise.
7390 * dfp-bit.h: Likewise.
7391 * emutls.c: Likewise.
7392 * fixed-bit.c: Likewise.
7393 * fp-bit.c: Likewise.
7394 * generic-morestack-thread.c: Likewise.
7395 * generic-morestack.c: Likewise.
7396 * libgcc2.c: Likewise.
7397 * libgcov.c: Likewise.
7398 * unwind-dw2-fde-dip.c: Likewise.
7399 * unwind-dw2-fde.c: Likewise.
7400 * unwind-dw2.c: Likewise.
7401 * unwind-sjlj.c: Likewise.
7402
f9989b51
RO
74032011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7404
7405 * configure.ac: Include ../config/picflag.m4.
7406 (GCC_PICFLAG): Call it.
7407 Substitute.
7408 * configure: Regenerate.
7409 * Makefile.in (gcc_srcdir): Remove.
7410 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
7411 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
7412 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
7413 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
7414 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
7415 Use $<.
7416 Remove comment.
7417 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
7418 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
7419 to refer to libgcc2.c.
7420 Use $<.
7421 * config/darwin-64.c: New file.
7422 * config/darwin-crt3.c: Remove comment.
7423 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
7424 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
7425 config/udivmodsi4.c: New files.
7426 * config/memcmp.c, config/memcpy.c, config/memmove.c,
7427 config/memset.c: New files.
7428 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
7429 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
7430 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
7431 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
7432 * config/t-openbsd-thread: New file.
7433 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
7434 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
7435 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
7436 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
7437 qrnnd.S.
7438 Adapt filename.
7439 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
7440 to refer to gthr-posix.c.
7441 * config/alpha/t-vms (LIB2ADD): Set.
7442 * config/alpha/vms-gcc_shell_handler.c: New file.
7443 * config/arm/bpabi.c, config/arm/fp16.c,
7444 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
7445 config/arm/unaligned-funcs.c: New files.
7446 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
7447 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
7448 * config/arm/t-linux: Likewise.
7449 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
7450 * config/arm/t-netbsd: New file.
7451 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
7452 * config/arm/t-symbian (LIB2ADD_ST): Set.
7453 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
7454 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7455 * config/bfin/t-elf: New file.
7456 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
7457 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
7458 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
7459 config/c6x/ltf.c: New files.
7460 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
7461 (HOST_LIBGCC2_CFLAGS): Set.
7462 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
7463 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7464 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
7465 New files.
7466 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
7467 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
7468 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
7469 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
7470 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
7471 files.
7472 * config/frv/t-frv (LIB2ADD): Set.
7473 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7474 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
7475 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
7476 config/h8300/popcounthi2.c: New files.
7477 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
7478 * config/i386/gthr-win32.c: New file.
7479 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
7480 * config/i386/t-cygwin: Likewise.
7481 * config/i386/t-darwin, config/i386/t-darwin64,
7482 config/i386/t-gthr-win32, config/i386/t-interix: New files.
7483 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
7484 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7485 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7486 * config/ia64/quadlib.c: New file.
7487 * config/ia64/t-hpux (LIB2ADD): Set.
7488 * config/ia64/t-ia64: Add comment.
7489 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
7490 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7491 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
7492 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
7493 * config/m32c/t-m32c (LIB2ADD): Set.
7494 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
7495 * config/m32r/t-m32r: Likewise.
7496 * config/m68k/fpgnulib.c: New file.
7497 * config/m68k/t-floatlib (LIB2ADD): Set.
7498 (xfgnulib.c): New target.
7499 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
7500 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
7501 * config/mep/t-mep (LIB2ADD): Set.
7502 * config/microblaze/divsi3.asm: Rename to divsi3.S.
7503 * config/microblaze/moddi3.asm: Rename to moddi3.S.
7504 * config/microblaze/modsi3.asm: Rename to modsi3.S.
7505 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
7506 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
7507 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
7508 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
7509 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
7510 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
7511 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
7512 New files.
7513 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
7514 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
7515 * config/pa/fptr.c, config/pa/lib2funcs.S,
7516 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
7517 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
7518 (LIB2ADD, LIB2ADD_ST): Set.
7519 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
7520 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
7521 Set.
7522 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
7523 * config/pdp11/t-pdp11: New file.
7524 * config/picochip/libgccExtras/adddi3.S,
7525 config/picochip/libgccExtras/ashlsi3.S,
7526 config/picochip/libgccExtras/ashrsi3.S,
7527 config/picochip/libgccExtras/clzsi2.S,
7528 config/picochip/libgccExtras/cmpsi2.S,
7529 config/picochip/libgccExtras/divmod15.S,
7530 config/picochip/libgccExtras/divmodhi4.S,
7531 config/picochip/libgccExtras/divmodsi4.S,
7532 config/picochip/libgccExtras/lshrsi3.S,
7533 config/picochip/libgccExtras/parityhi2.S,
7534 config/picochip/libgccExtras/popcounthi2.S,
7535 config/picochip/libgccExtras/subdi3.S,
7536 config/picochip/libgccExtras/ucmpsi2.S,
7537 config/picochip/libgccExtras/udivmodhi4.S,
7538 config/picochip/libgccExtras/udivmodsi4.S: New files.
7539 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
7540 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
7541 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
7542 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
7543 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
7544 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
7545 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
7546 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
7547 files.
7548 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
7549 (HOST_LIBGCC2_CFLAGS): Set.
7550 * config/rs6000/t-darwin64: New file.
7551 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
7552 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
7553 * config/rs6000/t-ppccomm (LIB2ADD): Add
7554 $(srcdir)/config/rs6000/tramp.S.
7555 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
7556 Add $(srcdir)/config/rs6000/eabi.S.
7557 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
7558 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
7559 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
7560 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
7561 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
7562 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
7563 * config/rs6000/tramp.S: New file.
7564 * config/s390/t-tpf: Remove.
7565 * config/sh/linux-atomic.S: New file.
7566 * config/sh/t-linux (LIB2ADD): Set.
7567 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
7568 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
7569 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
7570 to unwind-dw2.c.
7571 (HOST_LIBGCC2_CFLAGS): Set.
7572 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7573 * config/spu/divmodti4.c, config/spu/divv2df3.c,
7574 config/spu/float_disf.c, config/spu/float_unsdidf.c,
7575 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
7576 config/spu/mfc_multi_tag_release.c,
7577 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
7578 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
7579 config/spu/multi3.c: New files.
7580 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
7581 (HOST_LIBGCC2_CFLAGS): Set.
7582 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
7583 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
7584 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
7585 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
7586 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
7587 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
7588 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
7589 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
7590 config/stormy16/umodsi3.c: New files.
7591 * config/xtensa/lib2funcs.S: New file.
7592 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
7593 * config/xtensa/t-xtensa (LIB2ADD): Set.
7594 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
7595 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
7596 Add t-freebsd-thread to tmake_file for posix threads.
7597 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
7598 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
7599 (*-*-lynxos*): Likewise.
7600 (*-*-netbsd*): Likewise.
7601 (*-*-openbsd*): Likewise.
7602 Add t-openbsd-thread to tmake_file for posix threads.
7603 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
7604 (*-*-vxworks*): Set tmake_file.
7605 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
7606 (alpha*-*-freebsd*): Likewise.
7607 (alpha*-*-netbsd*): Likewise.
7608 (alpha*-*-openbsd*): Likewise.
7609 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
7610 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
7611 (alpha*-dec-*vms*): Likewise.
7612 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
7613 (bfin*-elf*): Add bfin/t-elf to tmake_file.
7614 (bfin*-uclinux*): Likewise.
7615 (bfin*-linux-uclibc*): Likewise.
7616 (crisv32-*-elf): Add cris/t-cris to tmake_file.
7617 (crisv32-*-none): Likewise.
7618 (cris-*-elf): Likewise.
7619 (cris-*-none): Likewise.
7620 (cris-*-linux*, crisv32-*-linux*): Likewise.
7621 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
7622 tmake_file.
7623 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
7624 tmake_file.
7625 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
7626 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
7627 (x86_64-*-elf*): Likewise.
7628 (i[34567]86-*-nto-qnx*): Likewise.
7629 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
7630 win32 threads.
7631 (x86_64-*-mingw*): Likewise.
7632 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
7633 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
7634 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
7635 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
7636 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
7637 tmake_file.
7638 (mipsisa64sr71k-*-elf*): Likewise.
7639 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
7640 (mips-*-elf*, mipsel-*-elf*): Likewise.
7641 (mips64-*-elf*, mips64el-*-elf*): Likewise.
7642 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
7643 (mips*-*-rtems*): Likewise.
7644 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
7645 to tmake_file.
7646 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
7647 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
7648 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
7649 (spu-*-elf*): Likewise.
7650 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
7651
45b86625
RO
76522011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7653
7654 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
7655 $(srcdir) to refer to $(LIB1ASMSRC).
7656 Use $<.
7657 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
7658 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
7659 config/arm/lib1funcs.S: New files.
7660 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
7661 * config/arm/t-arm: New file.
7662 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
7663 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
7664 config/arm/t-strongarm-elf: New files.
7665 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
7666 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
7667 * config/avr/lib1funcs.S: New file.
7668 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7669 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
7670 * config/c6x/lib1funcs.S: New file.
7671 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7672 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
7673 * config/frv/lib1funcs.S: New file.
7674 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7675 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
7676 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
7677 * config/ia64/__divxf3.asm: Rename to ...
7678 * config/ia64/__divxf3.S: ... this.
7679 Adapt lib1funcs.asm filename.
7680 * config/ia64/_fixtfdi.asm: Rename to ...
7681 * config/ia64/_fixtfdi.S: ... this.
7682 Adapt lib1funcs.asm filename.
7683 * config/ia64/_fixunstfdi.asm: Rename to ...
7684 * config/ia64/_fixunstfdi.S: ... this.
7685 Adapt lib1funcs.asm filename.
7686 * config/ia64/_floatditf.asm: Rename to ...
7687 * config/ia64/_floatditf.S: ... this.
7688 Adapt lib1funcs.asm filename.
7689 * config/ia64/lib1funcs.S: New file.
7690 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
7691 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7692 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
7693 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
7694 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
7695 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
7696 * config/mep/lib1funcs.S: New file.
7697 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7698 * config/mips/mips16.S: New file.
7699 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7700 * config/pa/milli64.S: New file.
7701 * config/pa/t-linux, config/pa/t-linux64: New files.
7702 * config/picochip/lib1funcs.S: New file.
7703 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7704 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
7705 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
7706 * config/sh/t-netbsd: New file.
7707 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
7708 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
7709 * config/sh/t-sh64: New file.
7710 * config/sparc/lb1spc.S: New file.
7711 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
7712 filename.
7713 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
7714 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
7715 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
7716 config/xtensa/lib1funcs.S: New files.
7717 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7718 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
7719 tmake_file.
7720 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
7721 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
7722 (arm*-*-linux*): Likewise.
7723 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
7724 arm*-*-linux-*eabi, add arm/t-linux otherwise.
7725 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
7726 (arm*-*-ecos-elf): Likewise.
7727 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
7728 (arm*-*-rtems*): Likewise.
7729 (arm*-*-elf): Likewise.
7730 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
7731 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
7732 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
7733 (bfin*-uclinux*): Likewise.
7734 (bfin*-linux-uclibc*): Likewise.
7735 (bfin*-rtems*): Likewise.
7736 (bfin*-*): Likewise.
7737 (fido-*-elf): Merge into m68k-*-elf*.
7738 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
7739 (frv-*-*linux*): Add frv/t-frv to tmake_file.
7740 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
7741 (h8300-*-elf*): Likewise.
7742 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
7743 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
7744 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
7745 (i[34567]86-*-mingw*): Likewise.
7746 (x86_64-*-mingw*): Likewise.
7747 (i[34567]86-*-interix3*): Likewise.
7748 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
7749 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
7750 (m68k-*-elf*): Also handle fido-*-elf.
7751 Add m68k/t-floatlib to tmake_file.
7752 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
7753 (m68k-*-linux*): Likewise.
7754 (m68k-*-rtems*): Likewise.
7755 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
7756 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
7757 sh64*-*-*.
7758 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
7759 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
7760 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
7761 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
7762 sh/t-netbsd to tmake_file.
7763 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
7764 (sh-*-rtems*): Add sh/t-sh to tmake_file.
7765 (sh-wrs-vxworks): Likewise.
7766 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
7767 *-leon[3-9]*.
7768 (v850*-*-*): Add v850/t-v850 to tmake_file.
7769 (vax-*-linux*): Add vax/t-linux to tmake_file.
7770 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
7771
5f73c6cc
RO
77722011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7773
7774 * crtstuff.c: New file.
7775 * Makefile.in (CRTSTUFF_CFLAGS): Define.
7776 (CRTSTUFF_T_CFLAGS): Define.
7777 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
7778 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
7779 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
7780 crtstuff.c.
7781 Use $<.
7782 (crtbeginT.o): Use $(objext).
7783 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
7784 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
7785 (gcc-extra-parts): Remove.
7786 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
7787 Set extra_parts.
7788 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
7789 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
7790 Add t-crtstuff-pic to tmake_file.
7791 (*-*-lynxos*): New case.
7792 Set tmake_file, extra_parts.
7793 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
7794 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
7795 *-*-netbsdelf[2-9]*.
7796 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
7797 (*-*-rtems*): Set extra_parts.
7798 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
7799 (*-*-uclinux*): New case.
7800 Set extra_parts.
7801 (*-*-vms*): New case.
7802 Set tmake_file, extra_parts.
7803 (*-*-elf): Set extra_parts.
7804 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
7805 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
7806 vms/t-vms64.
7807 Set extra_parts.
7808 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
7809 Set extra_parts.
7810 (arm*-*-freebsd*): Add t-crtin to tmake_file.
7811 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
7812 (arm-wrs-vxworks): Append to tmake_file.
7813 Set extra_parts.
7814 (arm*-*-uclinux*): Set extra_parts.
7815 (arm*-*-ecos-elf): Likewise.
7816 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
7817 arm*-*-eabi*.
7818 (arm*-*-rtems*): Set extra_parts.
7819 (arm*-*-elf): Likewise.
7820 (avr-*-rtems*): Clear extra_parts.
7821 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
7822 Set extra_parts.
7823 (bfin*-uclinux*): Likewise.
7824 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
7825 (bfin*-rtems*): Append to tmake_file.
7826 Set extra_parts.
7827 (bfin*-*): Likewise.
7828 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
7829 (crisv32-*-elf): ... this.
7830 (crisv32-*-none): ... this.
7831 (cris-*-elf, cris-*-none): New cases.
7832 Add cris/t-elfmulti to tmake_file.
7833 (fr30-*-elf): Append to tmake_file.
7834 Set extra_parts.
7835 (frv-*-elf): Append to tmake_file, add frv/t-frv.
7836 Set extra_parts.
7837 (h8300-*-rtems*): Append to tmake_file.
7838 Set extra_parts.
7839 (h8300-*-elf*): Likewise.
7840 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
7841 Set extra_parts.
7842 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
7843 Set extra_parts.
7844 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
7845 (x86_64-*-elf*): Likewise.
7846 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
7847 (x86_64-*-freebsd*): Likewise.
7848 (x86_64-*-netbsd*): Likewise.
7849 (i[34567]86-*-linux*): Likewise.
7850 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
7851 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
7852 (x86_64-*-linux*): Likewise.
7853 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
7854 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
7855 tmake_file.
7856 Set extra_parts.
7857 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
7858 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
7859 Append to extra_parts, remove crtbegin.o, crtend.o.
7860 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
7861 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
7862 crtend.o, crtbeginS.o, crtendS.o.
7863 (ia64*-*-linux*): Comment extra_parts.
7864 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
7865 Set extra_parts.
7866 (iq2000*-*-elf*): Clear extra_parts.
7867 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
7868 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
7869 (m32r-*-elf*, m32r-*-rtems*): Split off ...
7870 (m32r-*-rtems*): ... this.
7871 Add m32r/t-m32r to tmake_file.
7872 (m68k-*-elf*): Add t-crtin to tmake_file.
7873 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
7874 (mcore-*-elf): Likewise.
7875 (microblaze*-*-*): Set extra_parts.
7876 (mips*-sde-elf*): New case.
7877 Set tmake_file, extra_parts.
7878 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
7879 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
7880 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
7881 tmake_file.
7882 Set extra_parts.
7883 (mipsisa64sr71k-*-elf*): Likewise.
7884 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
7885 (mips-*-elf*, mipsel-*-elf*): Likewise.
7886 (mips64-*-elf*, mips64el-*-elf*): Likewise.
7887 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
7888 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
7889 (mips*-*-rtems*): Likewise.
7890 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
7891 (moxie-*-*): Split into ...
7892 (moxie-*-elf, moxie-*-uclinux*): ... this.
7893 Add to extra_parts, remove crtbegin.o, crtend.o.
7894 (moxie-*-rtems*): New case.
7895 Set tmake_file.
7896 Clear extra_parts.
7897 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
7898 Set extra_parts.
7899 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
7900 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
7901 tmake_file.
7902 Set extra_parts.
7903 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
7904 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
7905 Set extra_parts.
7906 (powerpc-*-eabisim*): Likewise.
7907 (powerpc-*-elf*): Likewise.
7908 (powerpc-*-eabialtivec*): Likewise.
7909 (powerpc-xilinx-eabi*): Likewise.
7910 (powerpc-*-eabi*): Likewise.
7911 (powerpc-*-rtems*): Likewise.
7912 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
7913 tmake_file.
7914 Set extra_parts.
7915 (powerpc-*-lynxos*): Add to tmake_file.
7916 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
7917 rs6000/t-crtstuff, t-crtstuff-pic.
7918 Set extra_parts.
7919 (powerpcle-*-eabisim*): Likewise.
7920 (powerpcle-*-eabi*): Likewise.
7921 (rx-*-elf): Remove extra_parts.
7922 (s390x-ibm-tpf*): Set extra_parts.
7923 (score-*-elf): Set extra_parts.
7924 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
7925 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
7926 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
7927 (sh64l*-*-netbsd*): Split into ...
7928 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
7929 Add t-crtstuff-pic to tmake_file.
7930 Set extra_parts.
7931 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
7932 Set extra_parts.
7933 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
7934 (sparc-*-elf*): Remove t-crtin from tmake_file.
7935 Add to extra_parts, remove crtbegin.o, crtend.o.
7936 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
7937 (sparc64-*-linux*): Likewise.
7938 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
7939 Add to extra_parts, remove crtbegin.o, crtend.o.
7940 (sparc64-*-elf*): Remove t-crtin from tmake_file.
7941 Add to extra_parts, remove crtbegin.o, crtend.o.
7942 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
7943 Add to extra_parts, remove crtbegin.o, crtend.o.
7944 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
7945 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
7946 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
7947 Set extra_parts.
7948 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
7949 Set extra_parts.
7950 (tic6x-*-*): Change to ...
7951 (tic6x-*-elf): ... this.
7952 Set extra_parts.
7953 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
7954 Set extra_parts.
7955 (am33_2.0-*-linux*): Add comment.
7956 (mep*-*-*): Add mep/t-mep to tmake_file.
7957 Set extra_parts.
7958 * config/alpha/t-vms: New file.
7959 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
7960 * config/arm/crti.S, config/arm/crtn.S: New files.
7961 * config/bfin/crti.S, config/bfin/crtn.S: New files.
7962 * config/bfin/crtlibid.S: New file.
7963 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
7964 * config/c6x/crti.S, config/c6x/crtn.S: New files.
7965 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
7966 (crti.o, crtin.o): New rules.
7967 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
7968 * config/c6x/t-uclinux: New file.
7969 * config/cris/t-elfmulti: New file.
7970 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
7971 * config/fr30/crti.S, config/fr30/crtn.S: New files.
7972 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
7973 * config/frv/t-frv: New file.
7974 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
7975 * config/h8300/crti.S, config/h8300/crtn.S: New files.
7976 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
7977 New files.
7978 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
7979 refer to cygming-crtbegin.c, cygming-crtend.c.
7980 Use $<.
7981 * config/i386/t-nto: New file.
7982 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
7983 * config/ia64/crti.S, config/ia64/crtn.S: New files.
7984 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
7985 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
7986 Use .S extension.
7987 Use $<.
7988 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
7989 (crtinitS.o): New rule.
7990 * config/ia64/vms-crtinit.S: New file.
7991 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
7992 * config/m32r/initfini.c: New file.
7993 * config/m32r/t-linux, config/m32r/t-m32r: New files.
7994 * config/m68k/crti.S, config/m68k/crtn.S: New files.
7995 * config/mcore/crti.S, config/mcore/crtn.S: New files.
7996 * config/mep/t-mep: New file.
7997 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
7998 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
7999 * config/mips/crti.S, config/mips/crtn.S: New files.
8000 * config/mips/t-crtstuff: New file.
8001 * config/mmix/crti.S, config/mmix/crtn.S: New files.
8002 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
8003 (CUSTOM_CRTIN): Set.
8004 ($(T)crti.o, $(T)crtn.o): Remove $(T),
8005 dependencies.
8006 Use $(srcdir) to refer to crti.S, crtn.S.
8007 Use .S extension, $<.
8008 * config/moxie/crti.asm: Rename to ...
8009 * config/moxie/crti.S: ... this.
8010 * config/moxie/crtn.asm: Rename to ...
8011 * config/moxie/crtn.S: ... this.
8012 * config/moxie/t-moxie: Remove.
8013 * config/pa/stublib.c: New file.
8014 * config/pa/t-stublib, config/pa/t-stublib64: New files.
8015 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
8016 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
8017 * config/rs6000/t-crtstuff: New file.
8018 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
8019 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
8020 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
8021 Make output file explicit.
8022 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
8023 Make output file explicit.
8024 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
8025 Make output file explicit.
8026 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
8027 Make output file explicit.
8028 * config/score/crti.S, config/score/crtn.S: New files.
8029 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
8030 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
8031 files.
8032 * config/sh/t-sh, config/sh/t-superh: New files.
8033 * config/sparc/t-linux64: New file.
8034 * config/spu/cache.S, config/spu/cachemgr.c: New files.
8035 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
8036 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
8037 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
8038 * config/t-crtin: Remove.
8039 * config/t-crtstuff-pic: New file.
8040 * config/t-sol2 (CUSTOM_CRTIN): Set.
8041 (crti.o, crtn.o): New rules.
8042 * config/vms/t-vms: New file.
8043 * config/vms/vms-ucrt0.c: New file.
8044 * config/xtensa/t-elf: New file.
8045
b040f2be
RO
80462011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8047
8048 * Makefile.in (SHLIB_NM_FLAGS): Set.
8049 * mkmap-flat.awk, mkmap-symver.awk: New files.
8050 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
8051 exceptions.
8052 * configure: Regenerate.
8053 * config/libgcc-glibc.ver: New file.
8054 * config/libgcc-libsystem.ver: New file.
8055 * config/t-libunwind (SHLIB_LC): Set.
8056 * config/t-linux: New file.
8057 * config/t-slibgcc (INSTALL_SHLIB): New.
8058 (SHLIB_INSTALL): Use it.
8059 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
8060 to mkmap-symver.awk.
8061 (SHLIB_MAPFILES): Don't append, adapt pathname.
8062 (SHLIB_VERPFX): Set.
8063 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
8064 to mkmap-symver.awk.
8065 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
8066 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
8067 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
8068 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
8069 to mkmap-flat.awk.
8070 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
8071 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
8072 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
8073 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
8074 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
8075 * config/i386/libgcc-darwin.10.4.ver,
8076 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
8077 New files.
8078 * config/i386/t-darwin: Remove.
8079 * config/i386/t-darwin64: Likewise.
8080 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
8081 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
8082 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
8083 * config/i386/t-linux: New file.
8084 * config/i386/t-mingw32: New file.
8085 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
8086 * config/ia64/t-glibc: Rename to ...
8087 * config/ia64/t-linux: ... this.
8088 (SHLIB_MAPFILES): Set.
8089 * config/ia64/t-glibc-libunwind: Rename to ...
8090 * config/ia64/t-linux-libunwind: ... this.
8091 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
8092 * config/ia64/t-slibgcc-hpux: New file.
8093 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
8094 * config/m68k/t-slibgcc-elf-ver: New file.
8095 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
8096 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
8097 to mkmap-flat.awk.
8098 * config/pa/t-slibgcc-hpux: New file.
8099 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
8100 files.
8101 * config/rs6000/libgcc-darwin.10.4.ver,
8102 config/rs6000/libgcc-darwin.10.5.ver: New files.
8103 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
8104 config/rs6000/libgcc-glibc.ver.
8105 * config/rs6000/libgcc-ppc64.ver: Rename to
8106 config/rs6000/libgcc-ibm-ldouble.ver.
8107 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
8108 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
8109 * config/rs6000/t-ldbl128: Rename to ...
8110 * config/rs6000/t-linux: ... this.
8111 (SHLIB_MAPFILES): Adapt filename.
8112 * config/rs6000/t-slibgcc-aix: New file.
8113 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
8114 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
8115 libgcc-excl.ver, libgcc-glibc.ver.
8116 (SHLIB_LINK, SHLIB_INSTALL): Remove.
8117 * config/sparc/libgcc-glibc.ver: New file.
8118 * config/sparc/t-linux: New file.
8119 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
8120 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
8121 t-slibgcc-elf-ver to tmake_file.
8122 Add t-slibgcc-nolc-override to tmake_file for posix threads on
8123 *-*-freebsd[34].
8124 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
8125 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
8126 t-slibgcc-elf-ver, t-linux to tmake_file.
8127 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
8128 tmake_file.
8129 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
8130 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
8131 (alpha*-dec-*vms*): Likewise.
8132 (arm*-*-freebsd*): Append to tmake_file.
8133 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
8134 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
8135 arm*-*-linux-*eabi.
8136 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
8137 tmake_file for arm*-*-symbianelf*.
8138 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
8139 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
8140 cris/t-linux.
8141 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
8142 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
8143 pa/t-slibgcc-dwarf-ver to tmake_file.
8144 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
8145 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
8146 (hppa*64*-*-hpux11*): Likewise.
8147 (hppa[12]*-*-hpux11*): Likewise.
8148 (x86_64-*-darwin*): Don't override tmake_file, but only keep
8149 i386/t-crtpc, i386/t-crtfm.
8150 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
8151 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
8152 to tmake_file.
8153 Add i386/t-cygwin to tmake_file.
8154 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
8155 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
8156 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
8157 to tmake_file.
8158 Add i386/t-mingw32 to tmake_file.
8159 (x86_64-*-mingw*): Likewise.
8160 (ia64*-*-freebsd*): Append to tmake_file.
8161 (ia64*-*-linux*): Append to tmake_file.
8162 Replace ia64/t-glibc by ia64/t-linux.
8163 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
8164 system libunwind.
8165 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
8166 t-slibgcc-hpux to tmake_file.
8167 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
8168 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
8169 (m32rle-*-linux*): Likewise.
8170 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
8171 sjlj exceptions.
8172 (microblaze*-linux*): New case.
8173 Append to tmake_file, add t-slibgcc-nolc-override.
8174 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
8175 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
8176 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
8177 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
8178 rs6000/t-slibgcc-aix to tmake_file.
8179 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8180 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8181 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
8182 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
8183 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
8184 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
8185 sh*-*-linux*.
8186 (sparc-*-linux*): Append to tmake_file for *-leon*.
8187 Add sparc/t-linux to tmake_file for non-Leon targets.
8188 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
8189 (tic6x-*-uclinux): New case.
8190 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
8191 (tic6x-*-*): Add c6x/t-elf to tmake_file.
8192 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
8193 (am33_2.0-*-linux*): Append to tmake_file.
8194 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
8195 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
8196 x86_64-*-kfreebsd*-gnu.
8197 Add i386/t-linux to tmake_file.
8198
18b4bd7b
ILT
81992011-10-28 Ian Lance Taylor <iant@google.com>
8200
8201 * config/i386/morestack.S: Correct CFI information to do proper
8202 returns throughout function. In 32-bit mode, save %ebx so that it
8203 is restored on unwind.
8204
5b2d9d90
BS
82052011-10-25 Bernd Schmidt <bernds@codesourcery.com>
8206
8207 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
8208 case where B3 isn't the return register.
8209
0d53e346
BS
8210 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
8211 logic for doubleword pops.
8212
cbffbd59
AT
82132011-10-25 Andreas Tobler <andreast@fgznet.ch>
8214
8215 * config/rs6000/t-freebsd: Add wildcard.
8216
56dc349e
PB
82172011-10-21 Paul Brook <paul@codesourcery.com>
8218
8219 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
8220
1e06b07d
UB
82212011-10-16 Uros Bizjak <ubizjak@gmail.com>
8222 Eric Botcazou <ebotcazou@adacore.com>
8223
8224 PR target/50737
8225 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
8226 fs->signal_frame to 1.
8227
b5204884
ILT
82282011-10-07 Ian Lance Taylor <iant@google.com>
8229
8230 * generic-morestack-thread.c: #include <errno.h>.
8231
91a639a1
ILT
82322011-10-07 Ian Lance Taylor <iant@google.com>
8233
8234 PR target/46093
8235 * generic-morestack.c (__generic_morestack): Make sure the segment
8236 is large enough for both the stack frame and the copied
8237 parameters.
8238
cc49116d
RO
82392011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8240
8241 PR bootstrap/49804
8242 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
8243 extra_parts.
8244
2996d8c3
NC
82452011-09-28 Nick Clifton <nickc@redhat.com>
8246
8247 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
8248 64-bit doubles are not enabled.
8249 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
8250 and floatunsisf functions.
8251
1e874273 82522011-09-13 Paul Brook <paul@codesourcery.com>
2996d8c3 8253
1e874273
PB
8254 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
8255 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
8256 * unwind-arm-common.inc: New file.
8257 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
8258 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
8259 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
8260 * config/c6x/libunwind.S: New file.
8261 * config/c6x/pr-support.c: New file.
8262 * config/c6x/unwind-c6x.c: New file.
8263 * config/c6x/unwind-c6x.h: New file.
8264 * config/c6x/t-c6x-elf: New file.
8265
f70c879a
UB
82662011-08-23 Uros Bizjak <ubizjak@gmail.com>
8267
8268 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
8269 (ASM_DIVZERO): Ditto.
8270 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
8271
c55b374b
RS
82722011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
8273
8274 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
8275
1e138510
RS
82762011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
8277
8278 PR target/50090
8279 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
8280 instead of an assembly one.
8281
1563503d
PB
82822011-08-12 Paolo Bonzini <bonzini@gnu.org>
8283
8284 PR bootstrap/50047
8285 * Makefile.in (install-unwind_h): Create
8286 $(gcc_objdir)/include/unwind.h atomically.
8287
3627ac1a
RO
82882011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8289
8290 * Makefile.in (install-unwind_h): Remove destination file first.
8291
c6412d86
RO
82922011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8293
8294 * sync.c: New file.
8295 * config/mips/t-mips16: New file.
8296 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
8297 (mips*-*-linux*): Likewise.
8298 (mips*-sde-elf*): Likewise.
8299 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
8300 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
8301 Add mips/t-mips16 to tmake_file.
8302 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
8303 (mips-*-elf*): Likewise.
8304 (mips64-*-elf*): Likewise.
8305 (mips64orion-*-elf*): Likewise.
8306 (mips*-*-rtems*): Likewise.
8307 (mipstx39-*-elf*): Likewise.
8308 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
8309 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
8310 LIBGCC_SYNC_CFLAGS.
8311 Use $(srcdir) to refer to sync.c.
8312 Use $<.
8313 ($(libgcc-sync-funcs-o)): Likewise.
8314 ($(libgcc-sync-size-funcs-s-o)): Likewise.
8315 ($(libgcc-sync-funcs-s-o)): Likewise.
8316
3cb6e5bd
AS
83172011-08-09 Andreas Schwab <schwab@linux-m68k.org>
8318
8319 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
8320 t-libunwind.
8321
cca2207a
L
83222011-08-08 H.J. Lu <hongjiu.lu@intel.com>
8323
8324 PR other/48007
8325 * config/i386/value-unwind.h: New.
8326
ed39fbad
RS
83272011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
8328
8329 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
8330 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
8331 Add to tmake_file rather than overriding it.
8332
aca0b0b3
RO
83332011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8334
8335 * config/t-softfp: Remove.
8336 * soft-fp: Moved from ../gcc/config.
8337 * soft-fp/README: Remove t-softfp reference.
8338 * soft-fp/t-softfp: Move to config/t-softfp.
8339 (softfp_machine_header): Remove.
8340 (softfp_file_list): Remove config subdir.
8341 (soft-fp-objects): New variable.
8342 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
8343 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
8344 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
8345 * config/t-softfp-excl: New file.
8346 * config/t-softfp-sfdf: New file.
8347 * config/t-softfp-tf: New file.
8348 * config/no-sfp-machine.h: New file.
8349 * config/arm/sfp-machine.h: New file.
8350 * config/arm/t-softfp: New file.
8351 * config/c6x/sfp-machine.h: New file.
8352 * config/i386/32/t-fprules-softfp: Rename to ...
8353 * config/i386/32/t-softfp: ... this.
8354 (tifunctions, LIB2ADD): Remove.
8355 (softfp_int_modes): Override.
8356 * config/i386/64/t-softfp-compat (tf-functions): Remove config
8357 subdir.
8358 * config/i386/64/eqtf2.c: Likewise.
8359 * config/i386/64/getf2.c: Likewise.
8360 * config/i386/64/letf2.c: Likewise.
8361 * config/ia64/sft-machine.h: New file.
8362 * config/ia64/t-fprules-softfp: Rename to ...
8363 * config/ia64/t-softfp: ... this.
8364 * config/lm32/sfp-machine.h: New file.
8365 * config/moxie/t-moxie-softfp: Remove.
8366 * config/rs6000/ibm-ldouble-format: New file.
8367 * config/rs6000/ibm-ldouble.c: New file.
8368 * config/rs6000/libgcc-ppc-glibc.ver: New file
8369 * config/rs6000/libgcc-ppc64.ver: New file
8370 * config/rs6000/sfp-machine.h: New file.
8371 * config/rs6000/t-freebsd: New file.
8372 * config/rs6000/t-ibm-ldouble: New file.
8373 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
8374 libgcc-ppc-glibc.ver.
8375 * config/rs6000/t-linux64: New file.
8376 * config/rs6000/t-ppccomm (LIB2ADD): Add
8377 $(srcdir)/config/rs6000/ibm-ldouble.c.
8378 * config/rs6000/t-ppccomm-ldbl: New file.
8379 * config/score/sfp-machine.h: New file.
8380 * config.host (sfp_machine_header): Explain.
8381 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
8382 t-softfp to tmake_file.
8383 (arm*-*-uclinux*): Likewise.
8384 (arm*-*-ecos-elf): Likewise.
8385 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
8386 (arm*-*-rtems*): Likewise.
8387 (arm*-*-elf): Likewise.
8388 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
8389 in tmake_file.
8390 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
8391 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
8392 (lm32-*-uclinux*): Likewise.
8393 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
8394 t-softfp-excl, t-softfp.
8395 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
8396 (powerpc64-*-darwin*): Likewise.
8397 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
8398 to tmake_file.
8399 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
8400 tmake_file.
8401 (powerpc-*-eabisim*): Likewise.
8402 (powerpc-*-elf*): Likewise.
8403 (powerpc-*-eabialtivec*): Likewise.
8404 (powerpc-xilinx-eabi*): Likewise.
8405 (powerpc-*-rtems*): Likewise.
8406 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
8407 t-softfp-excl, t-softfp to tmake_file.
8408 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
8409 rs6000/t-ppccomm-ldbl to tmake_file.
8410 (powerpcle-*-elf*): Likewise.
8411 (powerpcle-*-eabisim*): Likewise.
8412 (powerpcle-*-eabi*): Likewise.
8413 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
8414 rs6000/t-ibm-ldouble to tmake_file.
8415 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8416 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8417 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
8418 (tic6x-*-*): Likewise.
8419 (i[34567]86-*-darwin*, x86_64-*-darwin*,
8420 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
8421 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
8422 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
8423 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
8424 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
8425 t-softfp to tmake_file.
8426 * configure.ac (sfp_machine_header): Provide default if unset.
8427 Substitute.
8428 Link sfp-machine.h to config/$sfp_machine_header.
8429 * configure: Regenerate.
8430
569dc494
RO
84312011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8432
8433 * Makefile.in (double_type_size, long_double_type_size): Set.
8434 Remove $(fpbit-in-libgcc) support.
8435 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
8436 (fpbit-src): New variable.
8437 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
8438 Compile with -DFLOAT $(FPBIT_CFLAGS).
8439 Use $<.
8440 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
8441 Compile with $(FPBIT_CFLAGS).
8442 Use $<.
8443 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
8444 Compile with -DFLOAT $(TPBIT_CFLAGS).
8445 Use $<.
8446 * configure.ac (double_type_size, long_double_type_size):
8447 Determine and substitute.
8448 * configure: Regenerate.
8449 * fp-bit.c, fp-bit.h: New files.
8450 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
8451 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
8452 * config/mips/t-mips: New file.
8453 * config/mips/t-sdemtk: New file.
8454 * config/rs6000/ppc64-fp.c: New file.
8455 * config/rs6000/t-darwin (LIB2ADD): Add
8456 $(srcdir)/config/rs6000/ppc64-fp.c.
8457 * config/rs6000/t-ppc64-fp: New file.
8458 * config/rx/rx-lib.h: New file.
8459 * config/rx/t-rx (FPBIT): Set to true.
8460 ($(gcc_objdir)/fp-bit.c): Remove.
8461 (DPBIT): Set to true only with -m64bit-doubles.
8462 ($(gcc_objdir)/dp-bit.c): Remove.
8463 * config/sparc/t-softfp: Remove.
8464 * config/spu/t-elf: New file.
8465 * config/t-fdpbit, config/t-fpbit: New files.
8466 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
8467 (mips*-*-*): Likewise.
8468 (arm-wrs-vxworks): Likewise.
8469 (arm*-*-freebsd*): Likewise.
8470 (avr-*-rtems*): Add t-fpbit to tmake_file.
8471 (avr-*-*): Likewise.
8472 (bfin*-elf*): Add t-fdpbit to tmake_file.
8473 (bfin*-uclinux*): Likewise.
8474 (bfin*-linux-uclibc*): Likewise.
8475 (bfin*-rtems*): New case.
8476 Add t-fdpbit to tmake_file.
8477 (bfin*-*): Add t-fdpbit to tmake_file.
8478 (crisv32-*-elf): Likewise.
8479 (cris-*-linux*): Likewise.
8480 (fr30-*-elf): Likewise.
8481 (frv-*-elf, frv-*-*linux*): Likewise.
8482 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
8483 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
8484 (m32r-*-elf*): Likewise.
8485 (m32rle-*-elf*): Likewise.
8486 (m32r-*-linux*): Likewise.
8487 (m32rle-*-linux*): Likewise.
8488 (mcore-*-elf): Add t-fdpbit to tmake_file.
8489 (microblaze*-*-*): Likewise.
8490 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
8491 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
8492 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
8493 Fix typo.
8494 Add mips/t-tpbit to tmake-file.
8495 (mips*-*-linux*): Fix typo.
8496 (mips*-sde-elf*): New case
8497 Add mips/t-sdemtk unless using newlib.
8498 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
8499 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
8500 (mn10300-*-*): Likewise.
8501 (pdp11-*-*): Likewise.
8502 (picochip-*-*): Add t-fpbit to tmake_file.
8503 (powerpc-*-eabisimaltivec*): Likewise.
8504 (powerpc-*-eabisim*): Likewise.
8505 (powerpc-*-elf*): Likewise.
8506 (powerpc-*-eabialtivec*): Likewise.
8507 (powerpc-xilinx-eabi*): New case.
8508 Add t-fdpbit to tmake_file.
8509 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
8510 (powerpc-*-rtems*): Likewise.
8511 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
8512 tmake_file.
8513 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
8514 tmake_file.
8515 (powerpc-*-lynxos*): Likewise.
8516 (powerpcle-*-elf*): Likewise.
8517 (powerpcle-*-eabisim*): Likewise.
8518 (powerpcle-*-eabi*): Likewise.
8519 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
8520 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
8521 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8522 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8523 (rx-*-elf): Add t-fdpbit to tmake_file.
8524 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
8525 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
8526 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
8527 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
8528 sh*-*-netbsd*.
8529 (sh-*-rtems*): Add t-fdpbit to tmake_file.
8530 (sh-wrs-vxworks): Likewise.
8531 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
8532 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
8533 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
8534 (sparc64-*-rtems*): ... new case.
8535 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
8536 (spu-*-elf*): Likewise.
8537 Add spu/t-elf to tmake_file.
8538 (v850*-*-*): Add t-fdpbit to tmake_file.
8539 (xstormy16-*-elf): Likewise.
8540 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
8541 (mep*-*-*): Likewise.
8542
201cdb74
RO
85432011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8544
8545 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
8546 variables.
8547 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
8548 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
8549 (install-unwind_h): New target.
8550 (all): Depend on it.
8551 * config.host (unwind_header): New variable.
8552 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
8553 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
8554 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
8555 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
8556 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
8557 Set unwind_header.
8558 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
8559 Set unwind_header.
8560 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
8561 arm*-*-eabi*.
8562 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
8563 Set unwind_header.
8564 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
8565 (ia64*-*-freebsd*): Likewise.
8566 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
8567 tmake_file.
8568 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
8569 $with_system_libunwind.
8570 (ia64*-*-hpux*): Set tmake_file.
8571 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
8572 (picochip-*-*): Set tmake_file.
8573 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
8574 md_unwind_header.
8575 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8576 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8577 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
8578 (xtensa*-*-elf*): Set tmake_file.
8579 (xtensa*-*-linux*): Likewise.
8580 * configure.ac: Include ../config/unwind_ipinfo.m4.
8581 Call GCC_CHECK_UNWIND_GETIPINFO.
8582 Link unwind.h to $unwind_header.
8583 * configure: Regenerate.
8584 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
8585 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
8586 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
8587 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
8588 * config/unwind-dw2-fde-darwin.c: New file.
8589 * config/arm/libunwind.S, config/arm/pr-support.c,
8590 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
8591 config/arm/unwind-arm.h,: New files.
8592 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
8593 config/ia64/t-eh-ia64, config/ia64/t-glibc,
8594 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
8595 config/ia64/t-vms, config/ia64/unwind-ia64.c,
8596 config/ia64/unwind-ia64.h: New files.
8597 * config/picochip/t-picochip: New file.
8598 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
8599 files.
8600 * config/rs6000/t-darwin (LIB2ADDEH): Set.
8601 * config/s390/t-tpf (LIB2ADDEH): Remove.
8602 * config/t-darwin (LIB2ADDEH): Set.
8603 * config/t-eh-dw2-dip: New file.
8604 * config/t-libunwind, config/t-libunwind-elf: New files.
8605 * config/t-sol2 (LIB2ADDEH): Remove.
8606 * config/xtensa/t-xtensa: New file.
8607
40f2f11f
L
86082011-08-02 H.J. Lu <hongjiu.lu@intel.com>
8609
8610 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
8611 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
8612 long long to check rt_sigreturn syscall.
8613
bd15e32c
AM
86142011-08-02 Alan Modra <amodra@gmail.com>
8615
8616 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
8617 Restore for indirect call bcrtl from correct stack slot, and only
8618 if cfa+40 isn't valid.
8619
655b30bf
JB
86202011-08-01 Julian Brown <julian@codesourcery.com>
8621
8622 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
8623 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
8624 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
8625
247eb06f
JB
86262011-08-01 Julian Brown <julian@codesourcery.com>
8627
8628 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
8629 (libgcc-std.ver.in): Use above.
8630 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
8631 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
8632 throughout file.
8633 * config/t-fixedpoint-gnu-prefix: New file.
8634 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
8635 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
8636 instead of __PFX__.
8637
02a8fe00
L
86382011-07-28 H.J. Lu <hongjiu.lu@intel.com>
8639
8640 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
8641 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
8642 for x86-64. Properly check __x86_64__ and __LP64__.
8643
5fce9126
L
86442010-07-28 H.J. Lu <hongjiu.lu@intel.com>
8645
8646 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
8647 version.
8648 (_FP_WS_TYPE): Likewise.
8649 (_FP_I_TYPE): Likewise.
8650
2374a88a
AM
86512011-07-28 Alan Modra <amodra@gmail.com>
8652
8653 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
8654 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
8655 in a plt call stub. Do restore r2 if stopped on bctrl.
8656
e44dbbe1
RO
86572011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8658
8659 * config.host (i[3456x]86-*-netware*): Remove.
8660 * config/i386/netware-crt0.c, config/i386/t-nwld,
8661 config/i386/t-slibgcc-nwld: Remove.
8662
bcead286
BS
86632011-07-15 Bernd Schmidt <bernds@codesourcery.com>
8664
8665 * config.host: Handle tic6x-*-*.
8666 * config/c6x/c6x-abi.h: New file.
8667
b3fe1584
RO
86682011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8669
8670 * config/i386/crtprec.c: New file.
8671 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
8672 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
8673 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
8674 (x86_64-*-darwin*): Likewise.
8675 (i[34567]86-*-solaris2*: Likewise.
8676
35d8090d
RO
86772011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8678
8679 * config/alpha/crtfastmath.c: New file.
8680 * config/i386/crtfastmath.c: New file.
8681 * config/ia64/crtfastmath.c: New file.
8682 * config/mips/crtfastmath.c: New file.
8683 * config/sparc/crtfastmath.c: New file.
8684
8685 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
8686 crtfastmath.c.
8687 Add -frandom-seed=gcc-crtfastmath.
8688 * config/alpha/t-crtfm: Remove.
8689 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
8690 * config/ia64/t-ia64 (crtfastmath.o): Remove.
8691
8692 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
8693 (alpha*-dec-osf5.1*): Likewise.
8694 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
8695 Add crtfastmath.o to extra_parts.
8696 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
8697 Add crtfastmath.o to extra_parts.
8698 (x86_64-*-darwin*): Likewise.
8699 (x86_64-*-mingw*): Likewise.
8700 (ia64*-*-elf*): Add t-crtfm to tmake_file.
8701 (ia64*-*-freebsd*): Likewise.
8702 (ia64*-*-linux*): Likewise.
8703 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
8704 Add crtfastmath.o to extra_parts.
8705
e141542e
RO
87062011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8707
8708 * config/darwin-crt3.o: New file.
8709 * config/rs6000/darwin-crt2.c: New file.
8710 * config/t-darwin: New file.
8711 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
8712 (crt2.o): New rule.
8713 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
8714 (powerpc-*-darwin*): Add crt2.o to extra_parts.
8715 (powerpc64-*-darwin*): Likewise.
8716
2d1efe2d
RO
87172011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8718
8719 * config/i386/netware-crt0.c: New file.
8720 * config/i386/t-nwld: Rename to ...
8721 * config/i386/t-slibgcc-nwld: ... this.
8722 * config/i386/t-nwld: New file.
8723 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
8724 tmake_file.
8725 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
8726 extra_parts.
8727
4a8bb046
RO
87282011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8729
8730 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
8731 i386/t-crtstuff.
8732 * configure: Regenerate.
8733
2d8d5935
RO
87342011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8735
8736 * dfp-bit.c, dfp-bit.h: New files.
8737 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
8738 variables.
8739 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
8740 ($(d64pbit-o)): Likewise.
8741 ($(d128pbit-o)): Likewise.
8742 * config/t-dfprules: New file.
8743 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
8744 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
8745 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
8746 (x86_64-*-linux*): Likewise.
8747 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
8748 (i[34567]86-*-cygwin*): Likewise.
8749 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
8750 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
8751
2c50b2c3
RO
87522011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8753
8754 * Makfile.in (LIBGCOV): New variable.
8755 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
8756 * libgcov.c: New file.
8757
a039d7c2
RO
87582011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8759
8760 * fixed-bit.c, fixed-bit.h: New files.
8761 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
8762 refer to fixed-bit.c.
8763
1e4b2746
JM
87642011-07-07 Joseph Myers <joseph@codesourcery.com>
8765
8766 * config.host (*local*): Remove.
8767
fbdd5d87
RO
87682011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8769
8770 PR target/39150
8771 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
8772 like i?86-*-solaris2.1[0-9]*.
8773 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
8774 * configure.ac (i?86-*-solaris2*): Likewise.
8775 * configure: Regenerate.
8776
9e7714f4
TS
87772011-07-06 Thomas Schwinge <thomas@schwinge.name>
8778
8779 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
8780 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
8781 md_unwind_header by splitting out of...
8782 (i[34567]86-*-linux*): ... this.
8783 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
8784 Remove md_unwind_header by splitting out of...
8785 (x86_64-*-linux*): ... this.
8786
6dab9931
GJL
87872011-07-04 Georg-Johann Lay <avr@gjlay.de>
8788
8789 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
8790
4be46d19
NC
87912011-06-28 Nick Clifton <nickc@redhat.com>
8792
8793 * config.host: Recognize all V850 variants.
8794
1da9434b
UB
87952011-06-22 Uros Bizjak <ubizjak@gmail.com>
8796
8797 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
8798
e4d48a4d
RO
87992011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8800
8801 * shared-object.mk (c_flags-$o): Save c_flags.
8802 ($(base)$(objext)): Use it.
8803 ($(base)_s$(objext)): Likewise.
8804
3801c801
BS
88052011-06-21 Bernd Schmidt <bernds@codesourcery.com>
8806
8807 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
8808 * libgcc-std.ver.in (GCC_4.7.0): New section.
8809
0ad8bb3b 88102011-06-16 Georg-Johann Lay <avr@gjlay.de>
1da9434b 8811
0ad8bb3b
GJL
8812 PR target/49313
8813 PR target/29524
8814 * config/avr/t-avr: Fix line endings.
8815 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
8816 _parityXX2.
8817
ea963999
OH
88182011-06-14 Olivier Hainque <hainque@adacore.com>
8819 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8820
8821 * config/mips/irix6-unwind.h: New file.
8822 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
8823
b11b0904
EB
88242011-06-10 Eric Botcazou <ebotcazou@adacore.com>
8825
8826 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
8827 (sparc64_fallback_frame_state): Use it.
8828 (sparc64_frob_update_context): Further adjust context.
8829 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
8830 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
8831 * config/sparc/sol2-cn.S: Likewise.
8832
10e48e39
RO
88332011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8834
8835 * enable-execute-stack-empty.c: New file.
8836 * enable-execute-stack-mprotect.c: New file.
8837 * config/i386/enable-execute-stack-mingw32.c: New file.
8838 * config.host (enable_execute_stack): New variable.
8839 Select appropriate variants.
8840 * configure.ac: Link enable-execute-stack.c to
8841 $enable_execute_stack.
8842 * configure: Regenerate.
8843 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
8844 (lib2funcs): Remove _enable_execute_stack.
8845
10c4cabc
DM
88462011-06-09 David S. Miller <davem@davemloft.net>
8847 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8848
8849 * config.host (sparc-*-linux*): Correct md_unwind_header
8850 filename.
8851 (s390x-ibm-tpf*): Fix typo.
8852
aa4203e7
RO
88532011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8854
8855 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
8856 Add crtfastmath.o to extra_parts.
8857 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
8858 mips/t-crtfm.
8859 * config/mips/t-crtfm: Remove.
8860
0defd786
JDA
88612011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
8862
8863 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
8864
82f247af
KK
88652011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
8866
8867 * config.host (sh*-*-linux*): Fix typo.
8868
58cd1d70
RO
88692011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8870
8871 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
8872 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
8873 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
8874 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
8875 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
8876 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
8877 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
8878 Wrap in !__MINGW64__.
8879 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
8880 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
8881 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
8882 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
8883 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
8884 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
8885 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
8886 Wrap in !__LP64__.
8887 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
8888 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
8889 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
8890 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
8891 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
8892 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
8893 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
8894 * config/no-unwind.h: New file.
8895 * config.host (md_unwind_header): Document.
8896 Define.
8897 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
8898 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
8899 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
8900 hppa[12]*-*-hpux11*): Set md_unwind_header.
8901 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
8902 Set md_unwind_header.
8903 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
8904 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
8905 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
8906 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
8907 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
8908 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
8909 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
8910 md_unwind_header.
8911 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
8912 * configure: Regenerate.
8913
737346fa
RO
89142011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8915
8916 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
8917 Set tmake_file, extra_parts.
8918 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
8919 Remove O32 support.
8920 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
8921 Remove O32 support.
8922 * config/mips/t-irix6: New file.
8923 * config/mips/t-slibgcc-irix: New file.
8924
c192cee6
RO
89252011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8926
8927 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
8928 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
8929
ee33b5f0
RO
89302011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8931
8932 * configure.ac (target_thread_file): Determine thread model.
8933 * configure: Regenerate.
8934 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
8935 * config/alpha/t-alpha: New file.
8936 * config/alpha/t-crtfm: Use $<.
8937 * config/alpha/t-ieee: New file.
8938 * config/alpha/t-osf-pthread: New file.
8939 * config/alpha/t-slibgcc-osf: New file.
8940 * config/alpha/libgcc-osf5.ver: New file.
8941
0699e415
RO
89422011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8943
8944 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
8945 tmake_file.
8946 Add crtfastmath.o to extra_parts.
8947
a3fab9c2
RO
89482011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8949
8950 * config/gmon-sol2.c: Reindent.
8951 Cleanup comments.
8952 Remove, correct casts.
8953 Use STDERR_FILENO, NULL.
8954 (BASEADDRESS): Remove.
8955 (minbrk): Remove.
8956 (errno, sbrk): Remove declarations.
8957 (monstartup) [hp300]: Remove.
8958 (mcount): Remove.
8959
ca24c5ad
RO
89602011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8961
8962 * Makefile.in (cpu_type): Define.
8963 * config.host (i[34567]86-*-rtems*): Handle it.
8964 (i[34567]86-*-solaris2*): Move body ...
8965 (*-*-solaris2*): ... here.
8966 New case, generalize.
8967 (sparc-*-elf*): Handle it.
8968 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
8969 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
8970 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
8971 Fold into ...
8972 (sparc*-*-solaris2*): ... this.
8973 New case.
8974 (sparc64-*-elf*): Handle it.
8975 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
8976 Merge ../gcc/config/i386/gmon-sol2.c.
8977 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
8978 Use C comments.
8979 Merge ../gcc/config/i386/sol2-gc1.asm.
8980 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
8981 Use C comments.
8982 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
8983 Use C comments.
8984 * config/i386/t-crtfm (crtfastmath.o): Use $<.
8985 * config/i386/t-crtstuff: New file.
8986 * config/i386/t-softfp: New file.
8987 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
8988 $(T)crti.o, $(T)crtn.o): Remove.
8989 (gcrt1.o): New rule.
8990 (TARGET_LIBGCC2_CFLAGS): Remove.
8991 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
8992 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
8993 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
8994 * config/sparc/t-sol2: New file.
8995 * config/sparc/t-crtfm: Move to ...
8996 * config/t-crtfm: ... this.
8997 Use $(cpu_type), $<.
8998 * config/t-crtin: New file.
8999 * config/sparc/t-softfp: New file.
9000 * config/sparc/t-softmul: New file.
9001 * config/t-rtems: New file.
9002 * config/t-slibgcc: New file.
9003 * config/t-slibgcc-elf-ver: New file.
9004 * config/t-slibgcc-gld: New file.
9005 * config/t-slibgcc-sld: New file.
9006 * config/t-sol2: New file.
9007 * configure.ac: Include ../config/lib-ld.m4.
9008 Call AC_LIB_PROG_LD_GNU.
9009 Substitute cpu_type.
9010 * configure: Regenerate.
9011
ad5f3d7b
BS
90122011-05-27 Bernd Schmidt <bernds@codesourcery.com>
9013
9014 PR bootstrap/49173
9015 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
9016 libgcc-std.ver in the build directory.
9017 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
9018 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
9019
cdbf4541
BS
90202011-05-25 Bernd Schmidt <bernds@codesourcery.com>
9021
9022 * libgcc-std.ver.in: New file.
9023 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
9024 variables.
9025 (libgcc-std.ver): New rule.
9026 * config/t-gnu-prefix: New file.
9027
c8028650
RO
90282011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9029
9030 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
9031
4a68b4ca
JM
90322011-05-10 Joseph Myers <joseph@codesourcery.com>
9033
9034 * config/i386/darwin-lib.h: New file.
9035
80cf2e08
JM
90362011-05-10 Joseph Myers <joseph@codesourcery.com>
9037
9038 * config/arm/symbian-lib.h: New.
9039
a3330c9d
CD
90402011-05-04 Chris Demetriou <cgd@google.com>
9041
9042 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
9043 (__x86.get_pc_thunk.bx): ...this.
9044 (__morestack): Adjust for rename, remove undef of __i686.
9045
6ace0756
CD
90462011-05-03 Chris Demetriou <cgd@google.com>
9047
9048 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
9049
ebb9f8b0
JM
90502011-03-22 Joseph Myers <joseph@codesourcery.com>
9051
9052 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
9053 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
9054 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
9055 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
9056 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
9057 Remove cases.
9058
9cfa1499
AT
90592011-03-14 Andreas Tobler <andreast@fgznet.ch>
9060
9061 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
9062 Adjust copyright year.
9063
457186f6
ILT
90642011-03-07 Ian Lance Taylor <iant@google.com>
9065
9066 * generic-morestack.c (__splitstack_find): Adjust returned stack
9067 pointer to include all registers pushed by __morestack.
9068
58c741a6
DK
90692011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
9070
9071 PR target/40125
9072 * configure.ac: Call ACX_NONCANONICAL_TARGET.
9073 (toolexecdir): Calculate and AC_SUBST.
9074 (toolexeclibdir): Likewise.
9075 * Makefile.in (target_noncanonical): Import.
9076 (toolexecdir): Likewise.
9077 (toolexeclibdir): Likewise.
9078 * configure: Regenerate.
9079
26716c44
NF
90802010-12-13 Nathan Froyd <froydnj@codesourcery.com>
9081
9082 PR target/46040
9083 * config/arm/bpabi.h: Rename to...
9084 * config/arm/bpabi-lib.h: ...this.
9085
b595b1a1
RO
90862010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9087
9088 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
9089 appropriate.
9090 * configure: Regenerate.
9091
a3abe41c
NF
90922010-11-24 Nathan Froyd <froydnj@codesourcery.com>
9093
9094 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
9095 __FLOAT_WORD_ORDER__.
9096 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
9097 Delete.
9098
455c8f48
RW
90992010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9100
9101 PR other/46202
9102 * Makefile.in (install-strip): New phony target.
9103
f3824a8b
ILT
91042010-11-07 Ian Lance Taylor <iant@google.com>
9105
9106 PR target/46089
9107 * config/i386/morestack.S (__morestack_large_model): New
9108 function.
9109
18ed6ee4
NF
91102010-10-23 Nathan Froyd <froydnj@codesourcery.com>
9111
9112 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
9113 Delete.
9114 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
9115
8ac7fdcb
NF
91162010-10-14 Nathan Froyd <froydnj@codesourcery.com>
9117
9118 * config/arm/bpabi.h: New file.
9119 * config/frv/frv-abi.h: New file.
9120
cdb388c2
ILT
91212010-10-01 Ian Lance Taylor <iant@google.com>
9122
9123 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
9124 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
9125
ef7c141c
L
91262010-10-01 H.J. Lu <hongjiu.lu@intel.com>
9127
9128 PR target/45858
9129 * config.host: Add the missing `$'.
9130
80920132
ME
91312010-09-30 Michael Eager <eager@eagercon.com>
9132
9133 * config.host: Add microblaze*-*-*.
9134 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
9135 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
9136 udivsi3.asm,umodsi3.asm}: New.
9137
6dace308
ILT
91382010-09-28 Ian Lance Taylor <iant@google.com>
9139
9140 * configure.ac: Adjust CFI test to test assembler directly rather
9141 than checking gcc preprocessor macro.
9142 * configure: Rebuild.
9143
b6110d6d
ILT
91442010-09-27 Ian Lance Taylor <iant@google.com>
9145
9146 * configure.ac: Test whether assembler supports CFI directives.
9147 * config.host: Only add t-stack and i386/t-stack-i386 to
9148 tmake_file if libgcc_cv_cfi is "yes".
9149 * configure: Rebuild.
9150
7458026b
ILT
91512010-09-27 Ian Lance Taylor <iant@google.com>
9152
9153 * generic-morestack.h: New file.
9154 * generic-morestack.c: New file.
9155 * generic-morestack-thread.c: New file.
9156 * config/i386/morestack.S: New file.
9157 * config/t-stack: New file.
9158 * config/i386/t-stack-i386: New file.
9159 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
9160 i386/t-stack-i386 to tmake_file.
9161
5b50fc0c
IS
91622010-09-21 Iain Sandoe <iains@gcc.gnu.org>
9163
9164 * Makefile.in (libgcc-extra-parts): Check for static archives and
9165 invoke ranlib after installing them.
9166 (gcc-extra-parts): Likewise.
9167 (install-leaf): Likewise.
9168
b93cf342
L
91692010-09-14 H.J. Lu <hongjiu.lu@intel.com>
9170
9171 * configure: Regenerated.
9172
996b42ef
KT
91732010-09-10 Kai Tietz <kai.tietz@onevision.com>
9174
b93cf342 9175 * configure: Regenerated.
996b42ef 9176
be1c764e
GP
91772010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
9178 Andrew Pinski <pinskia@gmail.com>
9179
1da9434b 9180 PR target/40959
be1c764e
GP
9181 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
9182
cc0ae0ca
L
91832010-09-06 H.J. Lu <hongjiu.lu@intel.com>
9184
9185 PR target/45524
9186 * configure: Regenerated.
9187
84f47d20
AS
91882010-09-06 Andreas Schwab <schwab@redhat.com>
9189
9190 * configure: Regenerate.
9191
4159fb8d
UB
91922010-09-03 Uros Bizjak <ubizjak@gmail.com>
9193
9194 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
9195 64bit targets.
9196 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
9197 for 64bit targets.
9198
0df8fcc8
UB
91992010-09-03 Uros Bizjak <ubizjak@gmail.com>
9200 Iain Sandoe <iains@gcc.gnu.org>
9201
9202 PR target/45476
9203 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
9204 LIB2FUNCS_EXCLUDE functions.
9205
3c39bca6
AK
92062010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9207
9208 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
9209 Include dfp.m4.
9210 * configure: Regenerate.
9211
d78552bd
UB
92122010-09-01 Uros Bizjak <ubizjak@gmail.com>
9213
9214 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
9215 i386/t-freebsd to tmake_file.
9216 * config/i386/t-freebsd: New file.
9217 * config/i386/libgcc-bsd.ver: New file.
9218
c5b79d4e
NF
92192010-07-23 Nathan Froyd <froydnj@codesourcery.com>
9220
9221 * config.host (powerpc*-eabispe*): Set tmake_file.
9222 (powerpc*-eabi*): Likewise.
9223 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
9224 crtbeginS, crtendS, crtbeginT.
9225
48b09a92
KH
92262010-06-12 Kazu Hirata <kazu@codesourcery.com>
9227
9228 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
9229 to tmake_file. Add crtfastmath.o to extra_parts.
9230 * config/mips/t-crtfm: New.
9231
7d296953 92322010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
a4389204
JS
9233
9234 * config.host (sparc64-*-rtems*): New target.
9235
ed104137
RO
92362010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9237
9238 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
9239 assembler syntax.
9240
3f56ef8b
TS
92412010-04-15 Thomas Schwinge <tschwinge@gnu.org>
9242
9243 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
9244
8c200350
RO
92452010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9246
9247 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
9248 alpha-dec-osf5.0* support.
9249
7d296953 92502010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
c1b14424
RC
9251
9252 * config.host: Add lm32-*-rtems*.
9253
f128db92 92542010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7d296953 9255 Uros Bizjak <ubizjak@gmail.com>
f128db92
RO
9256
9257 PR target/39048
9258 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
9259 like other remaining 32-bit x86 OSes.
9260 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
9261 assembler syntax.
9262 * config/i386/libgcc-sol2.ver: New file.
9263 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
9264
7d296953 92652010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
368fabd5
JH
9266
9267 PR c/43553
9268 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
9269 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
9270 is used and substitute set_use_emutls.
9271 * configure: Regenerated.
9272
15baf7f8
TG
92732010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
9274
9275 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
9276
7f5441df
RO
92772010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9278
9279 PR target/38085
9280 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
9281 MULTILIB_CFLAGS.
9282 ($(T)gcrt1.o): Likewise.
9283 ($(T)crt1.o): Likewise.
9284 ($(T)crti.o): Likewise.
9285 ($(T)crtn.o): Likewise.
9286
ef74edbd
RW
92872010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9288
9289 PR other/42980
9290 * Makefile.in (install): Use $(MAKE) string in rule, for
9291 parallel make.
9292
e7c914db
HPN
92932010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
9294
9295 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
9296 * config/mmix/t-mmix: New file.
9297 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
9298
1bcb71c4
JH
92992010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
9300
9301 PR java/41991
9302 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
9303 SHLIB_MAPFILES.
9304
e6e50811
AG
93052010-01-04 Anthony Green <green@moxielogic.com>
9306
9307 * config/moxie/crti.asm, config/moxie/crtn.asm,
9308 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
9309 config/moxie/t-moxie: New files.
9310 * config.host: Add t-moxie-softfp reference.
9311
7d296953 93122009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
ca8520ad
IS
9313
9314 PR other/39888
9315 * config/t-slibgcc-darwin: Fix embedded rpaths for
9316 --enable-version-specific-runtime-libs, build extension stub
9317 libs exposing features available from current libgcc_s.
9318
7d296953 93192009-11-11 Jon Beniston <jon@beniston.com>
aa4945c1 9320
d78552bd
UB
9321 * config.host: Add lm32 targets.
9322 * config/lm32: New directory.
9323 * config/lm32/libgcc_lm32.h: New file.
9324 * config/lm32/_mulsi3.c: New file.
9325 * config/lm32/_udivmodsi4.c: New file.
9326 * config/lm32/_divsi3.c: New file.
9327 * config/lm32/_modsi3.c: New file.
9328 * config/lm32/_udivsi3.c: New file.
9329 * config/lm32/_umodsi3.c: New file.
9330 * config/lm32/_lshrsi3.S: New file.
9331 * config/lm32/_ashrsi3.S: New file.
9332 * config/lm32/_ashlsi3.S: New file.
9333 * config/lm32/crti.S: New file.
9334 * config/lm32/crtn.S: New file.
9335 * config/lm32/t-lm32: New file.
9336 * config/lm32/t-elf: New file.
9337 * config/lm32/t-uclinux: New file.
aa4945c1 9338
65a324b4
NC
93392009-10-26 Nick Clifton <nickc@redhat.com>
9340
9341 * config.host: Add support for RX target.
9342 * config/rx: New directory.
9343 * config/rx/rx-abi-functions.c: New file. Supplementary
9344 functions for libgcc to support the RX ABI.
9345 * config/rx/rx-abi.h: New file. Supplementary header file for
9346 libgcc RX ABI functions.
9347 * config/rx/t-rx: New file: Makefile fragment for building
9348 libgcc for the RX.
9349
dfb3b0e3
UB
93502009-10-09 Uros Bizjak <ubizjak@gmail.com>
9351
9352 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
9353 constraint of y0 to "g".
9354
81dd9fd7
AK
93552009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9356
9357 * config.host: Include the s390 makefile fragments.
9358 * config/s390/32/_fixdfdi.c: New file.
9359 * config/s390/32/_fixsfdi.c: New file.
9360 * config/s390/32/_fixtfdi.c: New file.
9361 * config/s390/32/_fixunsdfdi.c: New file.
9362 * config/s390/32/_fixunssfdi.c: New file.
9363 * config/s390/32/_fixunstfdi.c: New file.
9364 * config/s390/32/t-floattodi: New file.
9365 * config/s390/libgcc-glibc.ver: New file.
9366 * config/s390/t-crtstuff: New file.
9367 * config/s390/t-linux: New file.
9368 * config/s390/t-tpf: New file.
9369
df58e648
RW
93702009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9371
9372 * configure.ac (AC_PREREQ): Bump to 2.64.
9373
79052be3
KK
93742009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
9375
9376 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
9377
5213506e
RW
93782009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9379
9380 * configure: Regenerate.
9381
a9a25daa
DR
93822009-08-09 Douglas B Rupp <rupp@gnat.com>
9383
9384 * config.host (ia64-hp-*vms*): New target.
9385 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
9386 with ia64-hp-*vms*.
9387
6efbd53f
RW
93882009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9389
9390 * configure.ac: Add snippet for maintainer-mode.
9391 * configure: Regenerate.
9392 * Makefile.in (AUTOCONF, configure_deps): New variables.
9393 ($(srcdir)/configure)): New rule, active only with maintainer
9394 mode turned on.
9395
7acf4da6
DD
93962009-06-23 DJ Delorie <dj@redhat.com>
9397
9398 Add MeP port.
9399 * config.host: Add mep support.
9400
54f549af
KT
94012009-06-22 Kai Tietz <kai.tietz@onevision.com>
9402
34481f28 9403 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 9404 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
34481f28
UB
9405
9406 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
9407 for mingw targets.
54f549af
KT
9408 * config/i386/64/_multc3.c: Likewise.
9409 * config/i386/64/_powitf2.c: Likewise.
9410 * config/i386/64/eqtf2.c: Likewise.
9411 * config/i386/64/getf2.c: Likewise.
9412 * config/i386/64/letf2.c: Likewise.
9413 * config/i386/64/letf2.c: Likewise.
34481f28
UB
9414 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
9415 unsigned long long for x64 mingw targets.
9416 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
9417 (_FP_I_TYPE): Define as long long for x64 mingw target.
54f549af 9418
fea96e25
MR
94192009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
9420
9421 * config.host (vax-*-linux*): New.
9422
cceb575c
AG
94232009-05-31 Anthony Green <green@moxielogic.com>
9424
9425 * config.host: Add moxie support.
9426 * config/moxie/t-moxie: New file.
9427
7d296953 94282009-05-29 David Billinghurst <billingd@gcc.gnu.org>
e997fb9c
DB
9429
9430 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 9431 t-softfp to tmake_file for i[34567]86-*-cygwin*.
e997fb9c 9432
532bfb0a
AJ
94332009-04-17 Aurelien Jarno <aurelien@aurel32.net>
9434
9435 * config.host: Add i386/${host_address}/t-fprules-softfp to
9436 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
9437
748086b7
JJ
94382009-04-09 Nick Clifton <nickc@redhat.com>
9439
9440 * config/ia64/tf-signs.c: Change copyright header to refer to
9441 version 3 of the GNU General Public License with version 3.1
9442 of the GCC Runtime Library Exception and to point readers at
9443 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
9444 web page.
9445 * config/i386/32/tf-signs.c: Likewise.
9446 * config/libbid/_addsub_dd.c: Likewise.
9447 * config/libbid/_addsub_sd.c: Likewise.
9448 * config/libbid/_addsub_td.c: Likewise.
9449 * config/libbid/_dd_to_df.c: Likewise.
9450 * config/libbid/_dd_to_di.c: Likewise.
9451 * config/libbid/_dd_to_sd.c: Likewise.
9452 * config/libbid/_dd_to_sf.c: Likewise.
9453 * config/libbid/_dd_to_si.c: Likewise.
9454 * config/libbid/_dd_to_td.c: Likewise.
9455 * config/libbid/_dd_to_tf.c: Likewise.
9456 * config/libbid/_dd_to_udi.c: Likewise.
9457 * config/libbid/_dd_to_usi.c: Likewise.
9458 * config/libbid/_dd_to_xf.c: Likewise.
9459 * config/libbid/_df_to_dd.c: Likewise.
9460 * config/libbid/_df_to_sd.c: Likewise.
9461 * config/libbid/_df_to_td.c: Likewise.
9462 * config/libbid/_di_to_dd.c: Likewise.
9463 * config/libbid/_di_to_sd.c: Likewise.
9464 * config/libbid/_di_to_td.c: Likewise.
9465 * config/libbid/_div_dd.c: Likewise.
9466 * config/libbid/_div_sd.c: Likewise.
9467 * config/libbid/_div_td.c: Likewise.
9468 * config/libbid/_eq_dd.c: Likewise.
9469 * config/libbid/_eq_sd.c: Likewise.
9470 * config/libbid/_eq_td.c: Likewise.
9471 * config/libbid/_ge_dd.c: Likewise.
9472 * config/libbid/_ge_sd.c: Likewise.
9473 * config/libbid/_ge_td.c: Likewise.
9474 * config/libbid/_gt_dd.c: Likewise.
9475 * config/libbid/_gt_sd.c: Likewise.
9476 * config/libbid/_gt_td.c: Likewise.
9477 * config/libbid/_isinfd128.c: Likewise.
9478 * config/libbid/_isinfd32.c: Likewise.
9479 * config/libbid/_isinfd64.c: Likewise.
9480 * config/libbid/_le_dd.c: Likewise.
9481 * config/libbid/_le_sd.c: Likewise.
9482 * config/libbid/_le_td.c: Likewise.
9483 * config/libbid/_lt_dd.c: Likewise.
9484 * config/libbid/_lt_sd.c: Likewise.
9485 * config/libbid/_lt_td.c: Likewise.
9486 * config/libbid/_mul_dd.c: Likewise.
9487 * config/libbid/_mul_sd.c: Likewise.
9488 * config/libbid/_mul_td.c: Likewise.
9489 * config/libbid/_ne_dd.c: Likewise.
9490 * config/libbid/_ne_sd.c: Likewise.
9491 * config/libbid/_ne_td.c: Likewise.
9492 * config/libbid/_sd_to_dd.c: Likewise.
9493 * config/libbid/_sd_to_df.c: Likewise.
9494 * config/libbid/_sd_to_di.c: Likewise.
9495 * config/libbid/_sd_to_sf.c: Likewise.
9496 * config/libbid/_sd_to_si.c: Likewise.
9497 * config/libbid/_sd_to_td.c: Likewise.
9498 * config/libbid/_sd_to_tf.c: Likewise.
9499 * config/libbid/_sd_to_udi.c: Likewise.
9500 * config/libbid/_sd_to_usi.c: Likewise.
9501 * config/libbid/_sd_to_xf.c: Likewise.
9502 * config/libbid/_sf_to_dd.c: Likewise.
9503 * config/libbid/_sf_to_sd.c: Likewise.
9504 * config/libbid/_sf_to_td.c: Likewise.
9505 * config/libbid/_si_to_dd.c: Likewise.
9506 * config/libbid/_si_to_sd.c: Likewise.
9507 * config/libbid/_si_to_td.c: Likewise.
9508 * config/libbid/_td_to_dd.c: Likewise.
9509 * config/libbid/_td_to_df.c: Likewise.
9510 * config/libbid/_td_to_di.c: Likewise.
9511 * config/libbid/_td_to_sd.c: Likewise.
9512 * config/libbid/_td_to_sf.c: Likewise.
9513 * config/libbid/_td_to_si.c: Likewise.
9514 * config/libbid/_td_to_tf.c: Likewise.
9515 * config/libbid/_td_to_udi.c: Likewise.
9516 * config/libbid/_td_to_usi.c: Likewise.
9517 * config/libbid/_td_to_xf.c: Likewise.
9518 * config/libbid/_tf_to_dd.c: Likewise.
9519 * config/libbid/_tf_to_sd.c: Likewise.
9520 * config/libbid/_tf_to_td.c: Likewise.
9521 * config/libbid/_udi_to_dd.c: Likewise.
9522 * config/libbid/_udi_to_sd.c: Likewise.
9523 * config/libbid/_udi_to_td.c: Likewise.
9524 * config/libbid/_unord_dd.c: Likewise.
9525 * config/libbid/_unord_sd.c: Likewise.
9526 * config/libbid/_unord_td.c: Likewise.
9527 * config/libbid/_usi_to_dd.c: Likewise.
9528 * config/libbid/_usi_to_sd.c: Likewise.
9529 * config/libbid/_usi_to_td.c: Likewise.
9530 * config/libbid/_xf_to_dd.c: Likewise.
9531 * config/libbid/_xf_to_sd.c: Likewise.
9532 * config/libbid/_xf_to_td.c: Likewise.
9533 * config/libbid/bid128.c: Likewise.
9534 * config/libbid/bid128_2_str.h: Likewise.
9535 * config/libbid/bid128_2_str_macros.h: Likewise.
9536 * config/libbid/bid128_2_str_tables.c: Likewise.
9537 * config/libbid/bid128_add.c: Likewise.
9538 * config/libbid/bid128_compare.c: Likewise.
9539 * config/libbid/bid128_div.c: Likewise.
9540 * config/libbid/bid128_fma.c: Likewise.
9541 * config/libbid/bid128_logb.c: Likewise.
9542 * config/libbid/bid128_minmax.c: Likewise.
9543 * config/libbid/bid128_mul.c: Likewise.
9544 * config/libbid/bid128_next.c: Likewise.
9545 * config/libbid/bid128_noncomp.c: Likewise.
9546 * config/libbid/bid128_quantize.c: Likewise.
9547 * config/libbid/bid128_rem.c: Likewise.
9548 * config/libbid/bid128_round_integral.c: Likewise.
9549 * config/libbid/bid128_scalb.c: Likewise.
9550 * config/libbid/bid128_sqrt.c: Likewise.
9551 * config/libbid/bid128_string.c: Likewise.
9552 * config/libbid/bid128_to_int16.c: Likewise.
9553 * config/libbid/bid128_to_int32.c: Likewise.
9554 * config/libbid/bid128_to_int64.c: Likewise.
9555 * config/libbid/bid128_to_int8.c: Likewise.
9556 * config/libbid/bid128_to_uint16.c: Likewise.
9557 * config/libbid/bid128_to_uint32.c: Likewise.
9558 * config/libbid/bid128_to_uint64.c: Likewise.
9559 * config/libbid/bid128_to_uint8.c: Likewise.
9560 * config/libbid/bid32_to_bid128.c: Likewise.
9561 * config/libbid/bid32_to_bid64.c: Likewise.
9562 * config/libbid/bid64_add.c: Likewise.
9563 * config/libbid/bid64_compare.c: Likewise.
9564 * config/libbid/bid64_div.c: Likewise.
9565 * config/libbid/bid64_fma.c: Likewise.
9566 * config/libbid/bid64_logb.c: Likewise.
9567 * config/libbid/bid64_minmax.c: Likewise.
9568 * config/libbid/bid64_mul.c: Likewise.
9569 * config/libbid/bid64_next.c: Likewise.
9570 * config/libbid/bid64_noncomp.c: Likewise.
9571 * config/libbid/bid64_quantize.c: Likewise.
9572 * config/libbid/bid64_rem.c: Likewise.
9573 * config/libbid/bid64_round_integral.c: Likewise.
9574 * config/libbid/bid64_scalb.c: Likewise.
9575 * config/libbid/bid64_sqrt.c: Likewise.
9576 * config/libbid/bid64_string.c: Likewise.
9577 * config/libbid/bid64_to_bid128.c: Likewise.
9578 * config/libbid/bid64_to_int16.c: Likewise.
9579 * config/libbid/bid64_to_int32.c: Likewise.
9580 * config/libbid/bid64_to_int64.c: Likewise.
9581 * config/libbid/bid64_to_int8.c: Likewise.
9582 * config/libbid/bid64_to_uint16.c: Likewise.
9583 * config/libbid/bid64_to_uint32.c: Likewise.
9584 * config/libbid/bid64_to_uint64.c: Likewise.
9585 * config/libbid/bid64_to_uint8.c: Likewise.
9586 * config/libbid/bid_b2d.h: Likewise.
9587 * config/libbid/bid_binarydecimal.c: Likewise.
9588 * config/libbid/bid_conf.h: Likewise.
9589 * config/libbid/bid_convert_data.c: Likewise.
9590 * config/libbid/bid_decimal_data.c: Likewise.
9591 * config/libbid/bid_decimal_globals.c: Likewise.
9592 * config/libbid/bid_div_macros.h: Likewise.
9593 * config/libbid/bid_dpd.c: Likewise.
9594 * config/libbid/bid_flag_operations.c: Likewise.
9595 * config/libbid/bid_from_int.c: Likewise.
9596 * config/libbid/bid_functions.h: Likewise.
9597 * config/libbid/bid_gcc_intrinsics.h: Likewise.
9598 * config/libbid/bid_inline_add.h: Likewise.
9599 * config/libbid/bid_internal.h: Likewise.
9600 * config/libbid/bid_round.c: Likewise.
9601 * config/libbid/bid_sqrt_macros.h: Likewise.
9602
96032009-04-09 Jakub Jelinek <jakub@redhat.com>
9604
9605 * Makefile.in: Change copyright header to refer to version
9606 3 of the GNU General Public License and to point readers at the
9607 COPYING3 file and the FSF's license web page.
9608 * config.host: Likewise.
9609
633dd061
AM
96102009-04-07 Alan Modra <amodra@bigpond.net.au>
9611
9612 * config.host: Reorder and merge to match config.gcc change.
9613
457d1d00
AM
96142009-04-03 Alan Modra <amodra@bigpond.net.au>
9615
9616 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
9617
52c0e446
JM
96182009-03-28 Joseph Myers <joseph@codesourcery.com>
9619
9620 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
9621 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
9622 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
9623 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
9624
ba181049
UB
96252009-02-12 Uros Bizjak <ubizjak@gmail.com>
9626
9627 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
9628 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
9629
c252db20
L
96302009-02-12 H.J. Lu <hongjiu.lu@intel.com>
9631
ba181049
UB
9632 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
9633 ia64/t-softfp-compat to tmake_file.
c252db20
L
9634
9635 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
9636
9637 * config/ia64/__divxf3.asm: New.
9638 * config/ia64/_fixtfdi.asm: Likewise.
9639 * config/ia64/_fixunstfdi.asm: Likewise.
9640 * config/ia64/_floatditf.asm: Likewise.
9641 * config/ia64/t-fprules-softfp: Likewise.
9642 * config/ia64/t-softfp-compat: Likewise.
9643 * config/ia64/tf-signs.c: Likewise.
9644
c60535f9
BE
96452009-01-18 Ben Elliston <bje@au.ibm.com>
9646
9647 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
9648
ce16861e
BE
96492009-01-16 Ben Elliston <bje@au.ibm.com>
9650
9651 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
9652 to tmake_file.
9653
bcf4713b
BE
96542009-01-13 Ben Elliston <bje@au.ibm.com>
9655
9656 * config/t-softfp: New file.
9657 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
9658 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
9659
7d296953 96602009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
2042cb04
JS
9661
9662 * config.host: Add m32r*-*-rtems*.
9663
7d296953 96642008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
541ed00e
JS
9665
9666 * config.host: Add m32c*-*-rtems*.
9667
19523300
RO
96682008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9669
9670 PR bootstrap/33100
9671 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
9672 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
9673 * configure: Regenerate.
9674 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
9675 tmake_file here from gcc/config.gcc.
9676 Move extra_parts here from gcc/config.gcc.
9677 * config/i386/t-sol2: Move here from gcc/config/i386.
9678 Use gcc_srcdir instead of srcdir.
9679
0a4a51c7
AN
96802008-11-18 Adam Nemet <anemet@caviumnetworks.com>
9681
9682 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
9683 case.
9684
2a761e46
TS
96852008-11-09 Thomas Schwinge <tschwinge@gnu.org>
9686
9687 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
9688
c0451df7
TS
96892008-10-08 Thomas Schwinge <tschwinge@gnu.org>
9690
9691 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
9692
358da97e
HS
96932008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
9694
9695 Add picoChip port.
9696 * config.host: Add picochip-*-*.
9697
c660f132
BW
96982008-08-06 Bob Wilson <bob.wilson@acm.org>
9699
9700 * config.host: Match more processor names for Xtensa.
9701
d1349557
L
97022008-07-08 H.J. Lu <hongjiu.lu@intel.com>
9703
9704 * config/i386/64/t-softfp-compat: Update comments.
9705
dd7b73c0
L
97062008-07-07 H.J. Lu <hongjiu.lu@intel.com>
9707
9708 * config/i386/64/_divtc3-compat.c: Moved to ...
9709 * config/i386/64/_divtc3.c: Here.
9710
9711 * config/i386/64/_multc3-compat.c: Moved to ...
9712 * config/i386/64/_multc3.c: Here.
9713
9714 * config/i386/64/_powitf2-compat.c: Moved to ...
9715 * config/i386/64/_powitf2.c: Here.
9716
9717 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
9718 .c suffix instead of -compat.c.
9719
6e1fab3d
UB
97202008-07-05 Uros Bizjak <ubizjak@gmail.com>
9721
9722 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
9723 (_FP_MUL_MEAT_D): Ditto.
9724 (_FP_DIV_MEAT_S): Ditto.
9725 (_FP_DIV_MEAT_D): Ditto.
9726
f92518d7
RS
97272008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
9728
9729 * Makefile.in: Add support for __sync_* libgcc functions.
9730
d0aede14
L
97312008-07-03 H.J. Lu <hongjiu.lu@intel.com>
9732
9733 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
9734
c174f11c
L
97352008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9736
9737 PR boostrap/36702
9738 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
9739 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
9740
9741 * config/i386/64/t-fprules-softfp: Moved to ...
9742 * config/i386/64/t-softfp-compat: This. New.
9743
5f464fa2
UB
97442008-07-02 Uros Bizjak <ubizjak@gmail.com>
9745
9746 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
9747 Initialize f with 0.0.
9748
ff473280
L
97492008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9750
9751 PR target/36669
9752 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
9753
9754 * config/i386/64/_divtc3-compat.c: New.
9755 * config/i386/64/_multc3-compat.c: Likewise.
9756 * config/i386/64/_powitf2-compat.c: Likewise.
9757 * config/i386/64/eqtf2.c: Likewise.
9758 * config/i386/64/getf2.c: Likewise.
9759 * config/i386/64/letf2.c: Likewise.
9760 * config/i386/64/t-fprules-softfp: Likewise.
9761
97622008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9763
9764 * config.host: Add i386/${host_address}/t-fprules-softfp to
9765 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
dfb3b0e3 9766 i[34567]86-*-linux*, x86_64-*-linux*.
ff473280
L
9767
9768 * configure.ac: Set host_address to 64 or 32 for x86.
9769 * configure: Regenerated.
9770
9771 * Makefile.in (config.status): Also depend on
9772 $(srcdir)/config.host.
9773
9774 * config/i386/32/t-fprules-softfp: New.
9775 * config/i386/32/tf-signs.c: Likewise.
9776
9777 * config/i386/64/sfp-machine.h: New. Moved from gcc.
9778
97792008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9780 Uros Bizjak <ubizjak@gmail.com>
9781
9782 * config/i386/32/sfp-machine.h: New.
9783
30551d99
NF
97842008-06-26 Nathan Froyd <froydnj@codesourcery.com>
9785
9786 * config/rs6000/t-ppccomm: Remove rules that conflict with
9787 auto-generated rules.
9788
18c04407
RW
97892008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9790
9791 * configure.ac: sinclude override.m4.
9792 * configure: Regenerate.
9793
10fbe77a
BRF
97942008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
9795
9796 * configure: Regenerate.
9797
bc6d4c3f
JM
97982008-06-10 Joseph Myers <joseph@codesourcery.com>
9799
9800 * Makefile.in (DECNUMINC): Remove
9801 -I$(MULTIBUILDTOP)../../libdecnumber.
9802 * gstdint.h: New.
9803
cd985f66
JM
98042008-06-07 Joseph Myers <joseph@codesourcery.com>
9805
9806 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
9807 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
9808 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
9809 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
9810 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
9811 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
9812 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
9813 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
9814 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
9815 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
9816 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
9817 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
9818 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
9819 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
9820
93fea8d3
AL
98212008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
9822
9823 * config.host (sh2[lbe]*-*-linux*): Allow target.
9824
18724e30
NF
98252008-04-30 Nathan Froyd <froydnj@codesourcery.com>
9826
9827 * config/rs6000/t-ppccomm: Add build rules for new files.
9828 (LIB2ADD_ST): New variable.
9829
47583040
AH
98302008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
9831
9832 PR target/34210
9833 PR target/35508
9834 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
9835 * config/t-avr: New file. Build 16bit libgcc functions.
9836
cf8e67fe
JJ
98372008-03-02 Jakub Jelinek <jakub@redhat.com>
9838
9839 PR target/35401
9840 * config/t-slibgcc-darwin: Make install-leaf dependent on
9841 install-darwin-libgcc-stubs instead of install.
9842
8d8da227
JM
98432008-01-25 Joseph Myers <joseph@codesourcery.com>
9844
9845 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
9846 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
9847 sh-*-rtemscoff*): Remove cases.
9848
edbf8b16
RS
98492007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
9850
9851 * Makefile.in (all): Use install-leaf rather than install.
9852 (install): Split most of the rule into...
9853 (install-leaf): ...this new one.
9854
89deeaff
EK
98552007-12-19 Etsushi Kato <ek.kato@gmail.com>
9856 Paolo Bonzini <bonzini@gnu.org>
9857
9858 PR target/30572
5f464fa2
UB
9859 * Makefile.in: Use @shlib_slibdir@ substitution to get
9860 correct install name on darwin.
89deeaff 9861 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
dfb3b0e3 9862
4081d704
HPN
98632007-12-15 Hans-Peter Nilsson <hp@axis.com>
9864
9865 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
9866 cris-*-elf and cris-*-none.
9867 (crisv32-*-linux*): Similar, as cris-*-linux*.
9868
f43e89a3
RIL
98692007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
9870
9871 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
9872
b4e9c2c6
L
98732007-10-27 H.J. Lu <hongjiu.lu@intel.com>
9874
9875 PR regression/33926
9876 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
9877 * configure: Regenerated.
9878
b2a00c89
L
98792007-09-27 H.J. Lu <hongjiu.lu@intel.com>
9880
9881 * Makefile.in (dfp-filenames): Replace decimal_globals,
9882 decimal_data, binarydecimal and convert_data with
9883 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
9884 and bid_convert_data, respectively.
9885
8d2a9e0e
CF
98862007-09-17 Chao-ying Fu <fu@mips.com>
9887 Nigel Stephens <nigel@mips.com>
9888
9889 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
9890 * Makefile.in (fixed_point): Define.
9891 Check if fixed_point is yes to build support functions.
9892 * configure.ac: Check for fixed_point support.
9893 * configure: Regenerated.
9894 * gen-fixed.sh: New file to generate lists of fixed-point labels,
9895 funcs, modes, from, to.
9896
2b53935d
JJ
98972007-09-11 Janis Johnson <janis187@us.ibm.com
9898
9899 * Makefile.in (dfp-filenames): Add bid128_noncomp.
9900
2533577f
JJ
99012007-09-10 Janis Johnson <janis187@us.ibm.com>
9902
9903 * Makefile.in (dfp-filenames): Remove decUtility, add
9904 decDouble, decPacked, decQuad, decSingle.
9905
3ae3dbd6
HK
99062007-08-27 Hans Kester <hans.kester@ellips.nl>
9907
9908 * config.host : Add x86_64-elf target.
9909
22867d02
L
99102007-07-06 H.J. Lu <hongjiu.lu@intel.com>
9911
9912 * configure.ac (set_have_cc_tls): Add a missing =.
9913 * configure: Regenerated.
9914
6f461e76
L
99152007-07-06 H.J. Lu <hongjiu.lu@intel.com>
9916
9917 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
9918 and x86_64-*-linux*.
9919
9920 * config/t-tls: New file.
9921
dfb3b0e3 9922 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
6f461e76
L
9923
9924 * configure.ac: Include ../config/enable.m4 and
9925 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
9926 supports TLS and substitute set_have_cc_tls.
9927 * configure: Regenerated.
9928
200359e8
L
99292007-07-04 H.J. Lu <hongjiu.lu@intel.com>
9930
9931 * Makefile.in: Use libbid for DFP when BID is enabled.
9932
76f5e200
DS
99332007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
9934
9935 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
dfb3b0e3 9936 extra_parts. Add config/i386/t-cygming to tmake_file.
76f5e200
DS
9937 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
9938
9bd196f0 99392007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
200359e8 9940 Danny Smith <dannysmith@users.sourceforge.net>
9bd196f0
ZM
9941
9942 PR target/29498
9943 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
9944 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
9945 * config/i386/t-crtfm: Compile crtfastmath.o with
9946 -minline-all-stringops.
9947
1910440e
RS
99482007-05-10 Richard Sandiford <richard@codesourcery.com>
9949
9950 * config.host (sparc-wrs-vxworks): New target.
9951
7d33c31d
KH
99522007-04-14 Kazu Hirata <kazu@codesourcery.com>
9953
9954 * config.host: Recognize fido.
9955
96fccd0d
JJ
99562007-04-04 Janis Johnson <janis187@us.ibm.com>
9957
9958 * configure: Check host, not target, for decimal float support.
9959
577565f9
UB
99602007-04-03 Uros Bizjak <ubizjak@gmail.com>
9961
9962 * config/i386/t-crtpc: New file.
9963 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
5f464fa2 9964 (x86_64-*-linux*): Ditto.
577565f9 9965
ccf8e764
RH
99662007-02-30 Kai Tietz <kai.tietz@onevision.com>
9967
9968 * config.host (x86_64-*-mingw*): New target.
9969
79b87c74
MM
99702007-03-23 Michael Meissner <michael.meissner@amd.com>
9971 H.J. Lu <hongjiu.lu@intel.com>
9972
9973 * Makefile.in (enable_decimal_float): New.
9974 (DECNUMINC): Add
9975 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
9976 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
9977 (decbits-filenames): This.
9978 (decbits-objects): New.
9979 (libgcc-objects): Add $(decbits-objects).
9980
9981 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
9982 Substitute enable_decimal_float.
9983 * configure: Regenerated.
9984
8fce4e31
HPN
99852007-03-19 Hans-Peter Nilsson <hp@axis.com>
9986
9987 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
9988
e8bb4597
BM
99892007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
9990
9991 * Makefile.in (install-info): New dummy target.
9992
344189f9
BS
99932007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
9994
9995 * config.host (bfin*-linux-uclibc*): Set extra_parts.
9996
ac84c172
BM
99972007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
9998
9999 * Makefile.in: Add install-html and install-pdf dummy
10000 targets.
10001
cd5c2357
RS
100022007-02-05 Roger Sayle <roger@eyesopen.com>
10003 Daniel Jacobowitz <dan@codesourcery.com>
10004
10005 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
10006 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
10007 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
10008
d9a66f98
JJ
100092007-01-29 Janis Johnson <janis187@us.ibm.com>
10010
10011 * Makefile.in (dec-filenames): Add decExcept.
10012
9891ec5f
DJ
100132007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
10014
10015 PR bootstrap/30469
10016 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
10017 -fprofile-use.
10018
d6efbf5a
DJ
100192007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
10020
10021 * configure.ac: Add --enable-version-specific-runtime-libs.
10022 Correct $slibdir default.
10023 * configure: Regenerated.
10024
17caeff2
JM
100252007-01-23 Joseph Myers <joseph@codesourcery.com>
10026
10027 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
10028
5ea41e3a
AP
100292007-01-21 Andrew Pinski <pinskia@gmail.com>
10030
10031 PR target/30519
10032 * config.host (alpha*-*-linux*): Set extra_parts.
10033
26900826
KK
100342007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
10035
10036 * config/sh/t-linux: New.
10037 * config.host (sh*-*-linux*): Set tmake_file.
10038
97af925b
DJ
100392007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
10040
10041 * Makefile.in (install): Handle multilibs.
10042
b0088af7
BM
100432007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
10044
10045 * Makefile.in: Added .PHONY entry for documentation targets.
10046
e0a9456a
BM
100472007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
10048
10049 * Makefile.in: Add empty info, html, dvi, pdf targets.
10050
7fd453b4
MS
100512007-01-04 Mike Stump <mrs@apple.com>
10052
10053 * Makefile.in (MAKEINFO): Remove.
10054 (PERL): Likewise.
10055
14e8fc8b
PB
100562007-01-04 Paolo Bonzini <bonzini@gnu.org>
10057
10058 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
10059 * configure: Regenerate.
10060 * Makefile.in (host_subdir): Substitute it.
dfb3b0e3 10061 (gcc_objdir): Use it.
14e8fc8b 10062
1555beba
DJ
100632007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
10064
10065 * config.host (ia64*-*-linux*): Set tmake_file.
10066
79e6eaeb
DJ
100672007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
10068
10069 * Makefile.in (version): Define.
10070
fa958513
DJ
100712007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
10072 Paolo Bonzini <bonzini@gnu.org>
10073
10074 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
10075 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
10076 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
10077 config/sparc/t-crtfm, config/t-slibgcc-darwin,
10078 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
10079 shared-object.mk, siditi-object.mk, static-object.mk: New files.
10080 * configure: Generated.
818ab71a 10081\f
a5544970 10082Copyright (C) 2007-2019 Free Software Foundation, Inc.
818ab71a
JJ
10083
10084Copying and distribution of this file, with or without modification,
10085are permitted in any medium without royalty provided the copyright
10086notice and this notice are preserved.