]> git.ipfire.org Git - thirdparty/gcc.git/blame - libgcc/ChangeLog
re PR tree-optimization/91201 (SIMD not generated for horizontal sum of bytes in...
[thirdparty/gcc.git] / libgcc / ChangeLog
CommitLineData
f0efd925
JH
12019-07-31 Joel Hutton <Joel.Hutton@arm.com>
2
3 * config/arm/cmse.c (cmse_check_address_range): Add
4 warn_unused_result attribute.
5
a861990d
ML
62019-07-22 Martin Liska <mliska@suse.cz>
7
8 * config/pa/stublib.c: Remove stub symbol __gnu_lto_v1.
9 * config/pa/t-stublib: Likewise.
10
9c0dba7c
SH
112019-07-22 Stafford Horne <shorne@gmail.com>
12
13 PR target/90362
14 * config/or1k/lib1funcs.S (__udivsi3): Change l.sfeqi
15 to l.sfeq and l.sfltsi to l.sflts equivalents as the immediate
16 instructions are not available on every processor. Change a
17 l.bnf to l.bf to fix logic issue.
18
61afc8f8
IS
192019-07-04 Iain Sandoe <iain@sandoe.co.uk>
20
21 * config.host: Remove reference to t-darwin8.
22
179c7ef5
IS
232019-07-03 Iain Sandoe <iain@sandoe.co.uk>
24
25 * config.host (powerpc-*-darwin*,powerpc64-*-darwin*): Revise crt
26 list.
27 * config/rs6000/t-darwin: Build crt3_2 for older systems. Revise
28 mmacosx-version-min for crts to run across all system versions.
29 * config/rs6000/t-darwin64 (LIB2ADD): Remove.
30 * config/t-darwin: Revise mmacosx-version-min for crts to run across
31 system versions >= 10.4.
32
596341c7
ML
332019-07-03 Martin Liska <mliska@suse.cz>
34
35 * Makefile.in: Use topn_values instead of one_value names.
36 * libgcov-merge.c (__gcov_merge_single): Move to ...
37 (__gcov_merge_topn): ... this.
38 (merge_single_value_set): Move to ...
39 (merge_topn_values_set): ... this.
40 * libgcov-profiler.c (__gcov_one_value_profiler_body): Move to
41 ...
42 (__gcov_topn_values_profiler_body): ... this.
43 (__gcov_one_value_profiler_v2): Move to ...
44 (__gcov_topn_values_profiler): ... this.
45 (__gcov_one_value_profiler_v2_atomic): Move to ...
46 (__gcov_topn_values_profiler_atomic): ... this.
47 (__gcov_indirect_call_profiler_v4): Remove.
48 * libgcov-util.c (__gcov_single_counter_op): Move to ...
49 (__gcov_topn_counter_op): ... this.
50 * libgcov.h (L_gcov_merge_single): Remove.
51 (L_gcov_merge_topn): New.
52 (__gcov_merge_single): Remove.
53 (__gcov_merge_topn): New.
54 (__gcov_one_value_profiler_v2): Move to ..
55 (__gcov_topn_values_profiler): ... this.
56 (__gcov_one_value_profiler_v2_atomic): Move to ...
57 (__gcov_topn_values_profiler_atomic): ... this.
58
1b309ca5
ML
592019-07-03 Martin Liska <mliska@suse.cz>
60
61 * libgcov-merge.c (merge_single_value_set): Support N values.
62 * libgcov-profiler.c (__gcov_one_value_profiler_body): Likewise.
63
5a460280
ID
642019-06-27 Ilia Diachkov <ilia.diachkov@optimitech.com>
65
66 * Makefile.in (USE_TM_CLONE_REGISTRY): New.
67 (CRTSTUFF_CFLAGS): Use USE_TM_CLONE_REGISTRY.
68 * configure.ac: Add --disable-tm-clone-registry option.
69 * configure: Regenerate.
70
45309d28
ML
712019-06-27 Martin Liska <mliska@suse.cz>
72
73 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Remove obviously
74 dead assignments.
75 * libgcov-util.c: Likewise.
76
c2f7a665
ML
772019-06-27 Martin Liska <mliska@suse.cz>
78
79 * libgcov-util.c (gcov_profile_merge): Release allocated
80 memory.
81 (calculate_overlap): Likewise.
82
a8e55c61
IS
832019-06-25 Iain Sandoe <iain@sandoe.co.uk>
84
85 * config.host: Add libef_ppc.a to the extra files for powerpc-darwin.
86 * config/rs6000/t-darwin: (PPC_ENDFILE_SRC, PPC_ENDFILE_OBJS): New.
87 Build objects for the out of line save/restore register functions
88 so that they can be used for any supported Darwin version.
89 * config/t-darwin: Default the build Darwin version to Darwin8
90 (MacOS 10.4).
91
e5ce4cbc
ML
922019-06-25 Martin Liska <mliska@suse.cz>
93
94 * libgcov-driver-system.c (replace_filename_variables): Do not
95 call strlen with NULL argument.
96
52a47d28
AS
972019-06-25 Andrew Stubbs <ams@codesourcery.com>
98
99 * config/gcn/t-amdgcn (LIB2ADD): Add unwind-gcn.c.
100 * config/gcn/unwind-gcn.c: New file.
101
76d46331
KCY
1022019-06-25 Kwok Cheung Yeung <kcy@codesourcery.com>
103 Andrew Stubbs <ams@codesourcery.com>
104
105 * configure: Regenerate.
106 * config/gcn/gthr-gcn.h: New.
107
787783a0
TV
1082019-06-18 Tom de Vries <tdevries@suse.de>
109
110 * config/nvptx/crt0.c (__main): Declare.
111
f32f7585
MG
1122019-06-17 Matthew Green <mrg@eterna.com.au>
113 Maya Rashish <coypu@sdf.org>
114
115 * config.host (aarch64*-*-netbsd*): New case.
116
0fcc78f7
JL
1172019-06-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
118
119 * config/msp430/slli.S (__mspabi_sllll): New library function for
120 performing a logical left shift of a 64-bit value.
121 * config/msp430/srai.S (__mspabi_srall): New library function for
122 performing a arithmetic right shift of a 64-bit value.
123 * config/msp430/srll.S (__mspabi_srlll): New library function for
124 performing a logical right shift of a 64-bit value.
125
b27c1082
MT
1262019-06-14 Matt Thomas <matt@3am-software.com>
127 Matthew Green <mrg@eterna.com.au>
128 Nick Hudson <skrll@netbsd.org>
129 Maya Rashish <coypu@sdf.org>
130
131 * config.host (arm*-*-netbsdelf*): Add support for EABI configurations.
132 * config/arm/t-netbsd (LIB1ASMFUNCS): Add some additional assembler
133 functions to build.
134 * config/arm/t-netbsd-eabi: New file.
135
ae7deb4b
DD
1362019-06-12 Dimitar Dimitrov <dimitar@dinux.eu>
137
138 * config.host: Add PRU target.
139 * config/pru/asri.c: New file.
140 * config/pru/eqd.c: New file.
141 * config/pru/eqf.c: New file.
142 * config/pru/ged.c: New file.
143 * config/pru/gef.c: New file.
144 * config/pru/gtd.c: New file.
145 * config/pru/gtf.c: New file.
146 * config/pru/led.c: New file.
147 * config/pru/lef.c: New file.
148 * config/pru/lib2bitcountHI.c: New file.
149 * config/pru/lib2divHI.c: New file.
150 * config/pru/lib2divQI.c: New file.
151 * config/pru/lib2divSI.c: New file.
152 * config/pru/libgcc-eabi.ver: New file.
153 * config/pru/ltd.c: New file.
154 * config/pru/ltf.c: New file.
155 * config/pru/mpyll.S: New file.
156 * config/pru/pru-abi.h: New file.
157 * config/pru/pru-asm.h: New file.
158 * config/pru/pru-divmod.h: New file.
159 * config/pru/sfp-machine.h: New file.
160 * config/pru/t-pru: New file.
161
0d7b3e47
JJ
1622019-06-11 Jakub Jelinek <jakub@redhat.com>
163
164 * libgcov-merge.c (__gcov_merge_single): Revert previous change.
165
54e2d83c
ML
1662019-06-10 Martin Liska <mliska@suse.cz>
167
168 PR bootstrap/90808
169 * libgcov.h: Add ATTRIBUTE_UNUSED.
170
92d41717
ML
1712019-06-10 Martin Liska <mliska@suse.cz>
172
173 * Makefile.in: Add __gcov_one_value_profiler_v2,
174 __gcov_one_value_profiler_v2_atomic and
175 __gcov_indirect_call_profiler_v4.
176 * libgcov-merge.c (__gcov_merge_single): Change
177 function signature.
178 (merge_single_value_set): New.
179 * libgcov-profiler.c (__gcov_one_value_profiler_body):
180 Update functionality.
181 (__gcov_one_value_profiler): Remove.
182 (__gcov_one_value_profiler_v2): ... this.
183 (__gcov_one_value_profiler_atomic): Rename to ...
184 (__gcov_one_value_profiler_v2_atomic): this.
185 (__gcov_indirect_call_profiler_v3): Rename to ...
186 (__gcov_indirect_call_profiler_v4): ... this.
187 * libgcov.h (__gcov_one_value_profiler): Remove.
188 (__gcov_one_value_profiler_atomic): Remove.
189 (__gcov_one_value_profiler_v2_atomic): New.
190 (__gcov_indirect_call_profiler_v3): Remove.
191 (__gcov_one_value_profiler_v2): New.
192 (__gcov_indirect_call_profiler_v4): New.
193 (gcov_get_counter_ignore_scaling): New function.
194
e37333ba
ML
1952019-06-07 Martin Liska <mliska@suse.cz>
196
197 * Makefile.in: Remove usage of
198 _gcov_merge_icall_topn.
199 * libgcov-driver.c (gcov_sort_n_vals): Remove.
200 (gcov_sort_icall_topn_counter): Likewise.
201 (gcov_sort_topn_counter_arrays): Likewise.
202 (dump_one_gcov): Remove call to gcov_sort_topn_counter_arrays.
203 * libgcov-merge.c (__gcov_merge_icall_topn): Remove.
204 * libgcov-profiler.c (__gcov_topn_value_profiler_body):
205 Likewise.
206 (GCOV_ICALL_COUNTER_CLEAR_THRESHOLD): Remove.
207 (struct indirect_call_tuple): Remove.
208 (__gcov_indirect_call_topn_profiler): Remove.
209 * libgcov-util.c (__gcov_icall_topn_counter_op): Remove.
210 * libgcov.h (gcov_sort_n_vals): Remove.
211 (L_gcov_merge_icall_topn): Likewise.
212 (__gcov_merge_icall_topn): Likewise.
213 (__gcov_indirect_call_topn_profiler): Likewise.
214
34a4a9c2
IS
2152019-06-06 Iain Sandoe <iain@sandoe.co.uk>
216
217 * config/rs6000/t-darwin: Ensure that the unwinder is built with
218 altivec enabled.
219
d1b2f85f
JL
2202019-06-06 Jozef Lawrynowicz <jozef.l@mittosystems.com>
221
222 * config/msp430/slli.S (__mspabi_slli_n): Put function in its own
223 section.
224 (__mspabi_slli): Likewise.
225 (__mspabi_slll_n): Likewise.
226 (__mspabi_slll): Likewise.
227 * config/msp430/srai.S (__mspabi_srai_n): Likewise.
228 (__mspabi_srai): Likewise.
229 (__mspabi_sral_n): Likewise.
230 (__mspabi_sral): Likewise.
231 * config/msp430/srli.S (__mspabi_srli_n): Likewise.
232 (__mspabi_srli): Likewise.
233 (__mspabi_srll_n): Likewise.
234 (__mspabi_srll): Likewise.
235
e69a13d1
YS
2362019-06-05 Yoshinori Sato <ysato@users.sourceforge.jp>
237
238 * config.host (rx-*-linux*): Add t-fdpbit to tmake_file
239 Add appropriate tm_file clause as well.
240 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Remove.
241
b009eac1
JC
2422019-06-05 James Clarke <jrtc27@jrtc27.com>
243
244 * config/ia64/crtbegin.S (__dso_handle): Put in .sdata/.sbss
245 rather than .data/.bss so it can be accessed via gp-relative
246 addressing.
247
781d39f2
DE
2482019-06-05 David Edelsohn <dje.gcc@gmail.com>
249
250 * config/rs6000/aix-unwind.h (LR_REGNO): Rename to R_LR.
251 (CR2_REGNO): Rename to R_CR2.
252 (XER_REGNO): Rename to R_XER.
253 (FIRST_ALTIVEC_REGNO): Rename to R_FIRST_ALTIVEC.
254 (VRSAVE_REGNO): Rename to R_VRSAVE.
255 (VSCR_REGNO): R_VSCR.
256
76aaa9cd
YS
2572019-05-29 Yoshinori Sato <ysato@users.sourceforge.jp>
258
259 * config.host (rx-*-linux*): Add new case.
260 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Force DFmode to SFmode.
261
8fc16d72
ST
2622019-05-29 Sam Tebbs <sam.tebbs@arm.com>
263
264 * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key): New
265 function.
266 * config/aarch64/aarch64-unwind.h (aarch64_post_extract_frame_addr,
267 aarch64_post_frob_eh_handler_addr): Add check for b-key.
268 * config/aarch64/aarch64-unwind-h (aarch64_post_extract_frame_addr,
269 aarch64_post_frob_eh_handler_addr, aarch64_post_frob_update_context):
270 Rename RA_A_SIGNED_BIT to RA_SIGNED_BIT.
271 * unwind-dw2-fde.c (get_cie_encoding): Add check for 'B' in augmentation
272 string.
273 * unwind-dw2.c (extract_cie_info): Add check for 'B' in augmentation
274 string.
275 (RA_A_SIGNED_BIT): Rename to RA_SIGNED_BIT.
276
e54b1a92
RO
2772019-05-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
278
279 * config/sparc/sol2-unwind.h [__arch64__] (sparc64_is_sighandler):
280 Remove Solaris 9 and 10 support.
281 (sparc_is_sighandler): Likewise.
282
abbb8307
JDA
2832019-05-26 John David Anglin <danglin@gcc.gnu.org>
284
285 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Add cast.
286
2581344d
L
2872019-05-17 H.J. Lu <hongjiu.lu@intel.com>
288
289 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
290 4_FP_W_TYPEs are used for IEEE quad precision.
291 * soft-fp/extendhftf2.c: Likewise.
292 * soft-fp/extendsftf2.c: Likewise.
293 * soft-fp/extendxftf2.c: Likewise.
294 * soft-fp/trunctfdf2.c: Likewise.
295 * soft-fp/trunctfhf2.c: Likewise.
296 * soft-fp/trunctfsf2.c: Likewise.
297 * soft-fp/trunctfxf2.c: Likewise.
298 * config/rs6000/ibm-ldouble.c: Likewise.
299
ccd1242e
RO
3002019-05-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
301
302 * config.host: Simplify various *-*-solaris2.1[0-9]* to
303 *-*-solaris2*.
304 * configure.ac: Likewise.
305 * configure: Regenerate.
306
307 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
308 Solaris 10 and Solaris 11 < snv_125 handling.
309
ef5eb79d
IS
3102019-05-12 Iain Sandoe <iain@sandoe.co.uk>
311
312 * config/rs6000/darwin-vecsave.S: Set .machine appropriately.
313
4f0e90fa
HL
3142019-05-07 Hongtao Liu <hongtao.liu@intel.com>
315
316 * config/i386/cpuinfo.c (get_available_features): Detect BF16.
317 * config/i386/cpuinfo.h (enum processor_features): Add
318 FEATURE_AVX512BF16.
319
48528842
RR
3202019-04-23 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
321 Bernd Edlinger <bernd.edlinger@hotmail.de>
322 Jakub Jelinek <jakub@redhat.com>
323
324 PR target/89093
325 * config/arm/pr-support.c: Add #pragma GCC target("general-regs-only").
326 * config/arm/unwind-arm.c: Likewise.
327 * unwind-c.c (PERSONALITY_FUNCTION): Add general-regs-only target
328 attribute for ARM.
329
887e182f
MC
3302019-04-15 Monk Chiang <sh.chiang04@gmail.com>
331
332 * config/nds32/linux-unwind.h (SIGRETURN): Remove.
333 (RT_SIGRETURN): Update.
334 (nds32_fallback_frame_state): Update.
335
a90b0cdd
MS
3362019-02-21 Martin Sebor <msebor@redhat.com>
337
338 * libgcc2.h (__clear_cache): Correct signature.
339 * libgcc2.c (__clear_cache): Same.
340
1ed28eda
UB
3412019-02-20 Uroš Bizjak <ubizjak@gmail.com>
342
343 * config/alpha/linux-unwind.h (alpha_fallback_frame_state):
344 Cast 'mcontext_t *' &rt_->uc.uc_mcontext to 'struct sigcontext *'.
345
fe95aee9
UB
3462019-02-19 Uroš Bizjak <ubizjak@gmail.com>
347
348 * unwind-dw2.c (_Unwind_GetGR) [DWARF_ZERO_REG]: Compare
349 regno instead of index to DWARF_ZERO_REG.
350
bf7988f1
EB
3512019-02-15 Eric Botcazou <ebotcazou@adacore.com>
352
353 * config/visium/lib2funcs.c (__set_trampoline_parity): Replace
354 TRAMPOLINE_SIZE with __LIBGCC_TRAMPOLINE_SIZE__.
355
ba2c1ca8
UB
3562019-01-31 Uroš Bizjak <ubizjak@gmail.com>
357
358 * config/alpha/t-linux: Add -mfp-rounding-mode=d
359 to HOST_LIBGCC2_CFLAGS.
360
6395ba73
L
3612019-01-23 Joseph Myers <joseph@codesourcery.com>
362
363 PR libgcc/88931
ba2c1ca8 364 * libgcc2.c (FSTYPE FUNC (DWtype u)): Correct no leading bits case.
6395ba73 365
756721ba
ML
3662019-01-18 Martin Liska <mliska@suse.cz>
367
368 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Rename
369 to ...
370 (__gcov_indirect_call_profiler_v3): ... this.
371 * libgcov.h (__gcov_indirect_call_profiler_v2): Likewise.
372 (__gcov_indirect_call_profiler_v3): Likewise.
373 * Makefile.in: Bump function name.
374
d273c40a
ML
3752019-01-18 Martin Liska <mliska@suse.cz>
376
377 * libgcov-driver.c (GCOV_PROF_PREFIX): Define.
378 (gcov_version): Use in gcov_error.
379 (merge_one_data): Likewise.
380 (dump_one_gcov): Likewise.
381
be9d9fdb
ML
3822019-01-18 Martin Liska <mliska@suse.cz>
383
384 * libgcov-driver.c (gcov_version_string): New function.
385 (gcov_version): Convert version integer into string.
386
91d7b7fe
AS
3872019-01-17 Andrew Stubbs <ams@codesourcery.com>
388 Kwok Cheung Yeung <kcy@codesourcery.com>
389 Julian Brown <julian@codesourcery.com>
390 Tom de Vries <tom@codesourcery.com>
391
392 * config.host: Recognize amdgcn*-*-amdhsa.
393 * config/gcn/crt0.c: New file.
394 * config/gcn/lib2-divmod-hi.c: New file.
395 * config/gcn/lib2-divmod.c: New file.
396 * config/gcn/lib2-gcn.h: New file.
397 * config/gcn/sfp-machine.h: New file.
398 * config/gcn/t-amdgcn: New file.
399
67914693
SL
4002019-01-09 Sandra Loosemore <sandra@codesourcery.com>
401
402 PR other/16615
403
404 * config/c6x/libunwind.S: Mechanically replace "can not" with
405 "cannot".
406 * config/tilepro/atomic.h: Likewise.
407 * config/vxlib-tls.c: Likewise.
408 * generic-morestack-thread.c: Likewise.
409 * generic-morestack.c: Likewise.
410 * mkmap-symver.awk: Likewise.
411
a5544970
JJ
4122019-01-01 Jakub Jelinek <jakub@redhat.com>
413
414 Update copyright years.
415
da77eace
L
4162018-12-20 H.J. Lu <hongjiu.lu@intel.com>
417
418 * unwind-pe.h (read_encoded_value_with_base): Add GCC pragma
419 to ignore -Waddress-of-packed-member.
420
72e3a529
TP
4212018-12-19 Thomas Preud'homme <thomas.preudhomme@linaro.org>
422
423 * /config/arm/lib1funcs.S (FUNC_START): Remove unused sp_section
424 parameter and corresponding code.
425 (ARM_FUNC_START): Likewise in both definitions.
426 Also update footer comment about condition that need to match with
427 gcc/config/arm/elf.h to also include libgcc/config/arm/t-arm.
428 * config/arm/ieee754-df.S (muldf3): Also build it if L_arm_muldf3 is
429 defined. Weakly define it in this case.
430 * config/arm/ieee754-sf.S (mulsf3): Likewise with L_arm_mulsf3.
431 * config/arm/t-elf (LIB1ASMFUNCS): Build _arm_muldf3.o and
432 _arm_mulsf3.o before muldiv versions if targeting Thumb-1 only. Add
433 comment to keep condition in sync with the one in
434 libgcc/config/arm/lib1funcs.S and gcc/config/arm/elf.h.
435
5d54c798
WX
4362018-12-18 Wei Xiao <wei3.xiao@intel.com>
437
438 * config/i386/cpuinfo.c (get_intel_cpu): Handle cascadelake.
439 * config/i386/cpuinfo.h: Add INTEL_COREI7_CASCADELAKE.
440
5a2580b6
RV
4412018-12-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
442
443 * config/rs6000/tramp.S (__trampoline_setup): Also emit .size
444 and .cfi_endproc directives for VxWorks targets.
445
c0c5112b
PK
4462018-12-05 Paul Koning <ni1d@arrl.net>
447
448 * udivmodhi4.c (__udivmodhi4): Fix loop end check.
449
1ea7ea18
AM
4502018-11-27 Alan Modra <amodra@gmail.com>
451
452 * config/rs6000/morestack.S (__stack_split_initialize),
453 (__morestack_get_guard, __morestack_set_guard),
454 (__morestack_make_guard): Provide CFI covering these functions.
455 * config/rs6000/tramp.S (__trampoline_setup): Likewise.
456
ff641ae1
XQ
4572018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
458
1ea7ea18 459 * config/csky/linux-unwind.h (sc_pt_regs): Update for kernel.
ff641ae1
XQ
460 (sc_pt_regs_lr): Update for kernel.
461 (sc_pt_regs_tls): Update for kernel.
462
28209372
XQ
4632018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
464
465 * config/csky/linux-unwind.h: Fix coding style.
466
b2a71af6
XQ
4672018-11-13 Xianmiao Qu <xianmiao_qu@c-sky.com>
468
469 * config/csky/linux-unwind.h (_sig_ucontext_t): Remove.
1ea7ea18 470 (csky_fallback_frame_state): Modify the check of the
b2a71af6
XQ
471 instructions to adapt to changes in the kernel
472
d929e137
SH
4732018-11-09 Stafford Horne <shorne@gmail.com>
474 Richard Henderson <rth@twiddle.net>
475
476 * config.host: Add OpenRISC support.
477 * config/or1k/*: New.
478
222cfefa
KC
4792018-11-08 Kito Cheng <kito@andestech.com>
480
481 * soft-fp/adddf3.c: Update from glibc.
482 * soft-fp/addsf3.c: Likewise.
483 * soft-fp/addtf3.c: Likewise.
484 * soft-fp/divdf3.c: Likewise.
485 * soft-fp/divsf3.c: Likewise.
486 * soft-fp/divtf3.c: Likewise.
487 * soft-fp/double.h: Likewise.
488 * soft-fp/eqdf2.c: Likewise.
489 * soft-fp/eqsf2.c: Likewise.
490 * soft-fp/eqtf2.c: Likewise.
491 * soft-fp/extenddftf2.c: Likewise.
492 * soft-fp/extended.h: Likewise.
493 * soft-fp/extendhftf2.c: Likewise.
494 * soft-fp/extendsfdf2.c: Likewise.
495 * soft-fp/extendsftf2.c: Likewise.
496 * soft-fp/extendxftf2.c: Likewise.
497 * soft-fp/fixdfdi.c: Likewise.
498 * soft-fp/fixdfsi.c: Likewise.
499 * soft-fp/fixdfti.c: Likewise.
500 * soft-fp/fixhfti.c: Likewise.
501 * soft-fp/fixsfdi.c: Likewise.
502 * soft-fp/fixsfsi.c: Likewise.
503 * soft-fp/fixsfti.c: Likewise.
504 * soft-fp/fixtfdi.c: Likewise.
505 * soft-fp/fixtfsi.c: Likewise.
506 * soft-fp/fixtfti.c: Likewise.
507 * soft-fp/fixunsdfdi.c: Likewise.
508 * soft-fp/fixunsdfsi.c: Likewise.
509 * soft-fp/fixunsdfti.c: Likewise.
510 * soft-fp/fixunshfti.c: Likewise.
511 * soft-fp/fixunssfdi.c: Likewise.
512 * soft-fp/fixunssfsi.c: Likewise.
513 * soft-fp/fixunssfti.c: Likewise.
514 * soft-fp/fixunstfdi.c: Likewise.
515 * soft-fp/fixunstfsi.c: Likewise.
516 * soft-fp/fixunstfti.c: Likewise.
517 * soft-fp/floatdidf.c: Likewise.
518 * soft-fp/floatdisf.c: Likewise.
519 * soft-fp/floatditf.c: Likewise.
520 * soft-fp/floatsidf.c: Likewise.
521 * soft-fp/floatsisf.c: Likewise.
522 * soft-fp/floatsitf.c: Likewise.
523 * soft-fp/floattidf.c: Likewise.
524 * soft-fp/floattihf.c: Likewise.
525 * soft-fp/floattisf.c: Likewise.
526 * soft-fp/floattitf.c: Likewise.
527 * soft-fp/floatundidf.c: Likewise.
528 * soft-fp/floatundisf.c: Likewise.
529 * soft-fp/floatunditf.c: Likewise.
530 * soft-fp/floatunsidf.c: Likewise.
531 * soft-fp/floatunsisf.c: Likewise.
532 * soft-fp/floatunsitf.c: Likewise.
533 * soft-fp/floatuntidf.c: Likewise.
534 * soft-fp/floatuntihf.c: Likewise.
535 * soft-fp/floatuntisf.c: Likewise.
536 * soft-fp/floatuntitf.c: Likewise.
537 * soft-fp/gedf2.c: Likewise.
538 * soft-fp/gesf2.c: Likewise.
539 * soft-fp/getf2.c: Likewise.
540 * soft-fp/half.h: Likewise.
541 * soft-fp/ledf2.c: Likewise.
542 * soft-fp/lesf2.c: Likewise.
543 * soft-fp/letf2.c: Likewise.
544 * soft-fp/muldf3.c: Likewise.
545 * soft-fp/mulsf3.c: Likewise.
546 * soft-fp/multf3.c: Likewise.
547 * soft-fp/negdf2.c: Likewise.
548 * soft-fp/negsf2.c: Likewise.
549 * soft-fp/negtf2.c: Likewise.
550 * soft-fp/op-1.h: Likewise.
551 * soft-fp/op-2.h: Likewise.
552 * soft-fp/op-4.h: Likewise.
553 * soft-fp/op-8.h: Likewise.
554 * soft-fp/op-common.h: Likewise.
555 * soft-fp/quad.h: Likewise.
556 * soft-fp/single.h: Likewise.
557 * soft-fp/soft-fp.h: Likewise.
558 * soft-fp/subdf3.c: Likewise.
559 * soft-fp/subsf3.c: Likewise.
560 * soft-fp/subtf3.c: Likewise.
561 * soft-fp/truncdfsf2.c: Likewise.
562 * soft-fp/trunctfdf2.c: Likewise.
563 * soft-fp/trunctfhf2.c: Likewise.
564 * soft-fp/trunctfsf2.c: Likewise.
565 * soft-fp/trunctfxf2.c: Likewise.
566 * soft-fp/unorddf2.c: Likewise.
567 * soft-fp/unordsf2.c: Likewise.
568 * soft-fp/unordtf2.c: Likewise.
569
2901f42f
VK
5702018-11-04 Venkataramanan Kumar <Venkataramanan.kumar@amd.com>
571
572 * config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
573 * config/i386/cpuinfo.h (processor_types): Add znver2.
574
4310ca66
PK
5752018-11-01 Paul Koning <ni1d@arrl.net>
576
577 * config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c.
578 (HOST_LIBGCC2_CFLAGS): Change to optimize for size.
579
22e05272
JM
5802018-10-31 Joseph Myers <joseph@codesourcery.com>
581
582 PR bootstrap/82856
583 * configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
584 * configure: Regenerate.
585
8180cde0
CZ
5862018-10-31 Claudiu Zissulescu <claziss@synopsys.com>
587
588 * config/arc/lib1funcs.S (_muldi3): New function.
589 * config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
590
be7b071e
RV
5912018-10-30 Rasmus Villemoes <rv@rasmusvillemoes.dk>
592
593 * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
594
3239d726
ML
5952018-10-25 Martin Liska <mliska@suse.cz>
596
597 PR other/87735
598 * libgcov-profiler.c: Revert.
599
19b55958
ML
6002018-10-24 Martin Liska <mliska@suse.cz>
601
602 * libgcov-profiler.c: Start from 1 in order to distinguish
603 functions which were seen and these that were not.
604
a9a2fddb
PK
6052018-10-18 Paul Koning <ni1d@arrl.net>
606
607 * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
608 standard.
609 * divmod.c: Update references to __udivmodsi4.
610 * udivmod.c: Ditto.
611 * udivhi3.c: New file.
612 * udivmodhi4.c: New file.
613 * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
614
fc8abc46
RV
6152018-10-17 Rasmus Villemoes <rv@rasmusvillemoes.dk>
616
617 * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
618
87f918e3
OH
6192018-10-12 Olivier Hainque <hainque@adacore.com>
620
621 * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
622 defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
623
be86efa7
PK
6242018-10-08 Paul Koning <ni1d@arrl.net>
625
626 * config/pdp11/t-pdp11: Remove -mfloat32 switch.
627
3edbcdbe
ML
6282018-10-04 Martin Liska <mliska@suse.cz>
629
630 PR gcov-profile/84107
631 * libgcov-profiler.c (__gcov_indirect_call):
632 Change type to indirect_call_tuple.
633 (struct indirect_call_tuple): New struct.
634 (__gcov_indirect_call_topn_profiler): Change type.
635 (__gcov_indirect_call_profiler_v2): Use the new
636 variables.
637 * libgcov.h (struct indirect_call_tuple): New struct
638 definition.
639
af8096fc
UB
6402018-10-03 Uros Bizjak <ubizjak@gmail.com>
641
642 * libgcc2.c (isnan): Use __builtin_isnan.
643 (isfinite): Use __builtin_isfinite.
644 (isinf): Use __builtin_isinf.
645
0a76bba4
UB
6462018-09-26 Uros Bizjak <ubizjak@gmail.com>
647
648 * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
649
5244089f
OH
6502018-09-21 Alexandre Oliva <oliva@adacore.com>
651
652 * config/vxcache.c: New file. Provide __clear_cache, based on
653 the cacheTextUpdate VxWorks service.
654 * config/t-vxworks (LIB2ADD): Add vxcache.c.
655 (LIB2FUNCS_EXCLUDE): Add _clear_cache.
656 * config/t-vxwoks7: Likewise.
657
512cc015
ML
6582018-09-21 Martin Liska <mliska@suse.cz>
659
660 * libgcov-driver.c (crc32_unsigned): Remove.
661 (gcov_histogram_insert): Likewise.
662 (gcov_compute_histogram): Likewise.
663 (compute_summary): Simplify rapidly.
664 (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
665 (merge_summary): Rapidly simplify.
666 (dump_one_gcov): Ignore gcov_summary.
667 (gcov_do_dump): Do not handle program summary, it's not
668 used.
669 * libgcov-util.c (tag_summary): Remove.
670 (read_gcda_finalize): Fix coding style.
671 (read_gcda_file): Initialize curr_object_summary.
672 (compute_summary): Remove.
673 (calculate_overlap): Remove settings of run_max.
674
36ff254b
MC
6752018-09-21 Monk Chiang <sh.chiang04@gmail.com>
676
677 * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
678 ucontext_t type instead.
679 (nds32_fallback_frame_state): Remove struct _sigframe statement.
680
229a033d
KC
6812018-09-21 Kito Cheng <kito.cheng@gmail.com>
682
683 * config/nds32/t-nds32-glibc: New file.
684
53c6feb2
RO
6852018-09-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
686
687 * configure.ac (solaris_ld_v2_maps): New test.
688 * configure: Regenerate.
689 * Makefile.in (solaris_ld_v2_maps): New variable.
690 * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
691 if supported.
692
ebdb6f23
RE
6932018-08-23 Richard Earnshaw <rearnsha@arm.com>
694
695 PR target/86951
696 * config/arm/lib1funcs.asm (speculation_barrier): New function.
697 * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
698 to build.
699
a49c064e
IS
7002018-08-22 Iain Sandoe <iain@sandoe.co.uk>
701
1ea7ea18 702 * config/unwind-dw2-fde-darwin.c
a49c064e
IS
703 (_darwin10_Unwind_FindEnclosingFunction): move from here ...
704 * config/darwin10-unwind-find-enc-func.c: … to here.
705 * config/t-darwin: Build Darwin10 unwinder shim crt.
706 * libgcc/config.host: Add the Darwin10 unwinder shim.
707
9a5b8df7
RV
7082018-08-21 Rasmus Villemoes <rv@rasmusvillemoes.dk>
709
710 * config.host: Add crtbegin.o and crtend.o for
711 powerpc-wrs-vxworks target.
712
4cd0bc3b
J
7132018-08-17 Jojo <jijie_rong@c-sky.com>
714 Huibin Wang <huibin_wang@c-sky.com>
715 Sandra Loosemore <sandra@codesourcery.com>
716 Chung-Lin Tang <cltang@codesourcery.com>
717
718 C-SKY port: libgcc
719
720 * config.host: Add C-SKY support.
721 * config/csky/*: New.
722
a4931745
CJW
7232018-08-12 Chung-Ju Wu <jasonwucj@gmail.com>
724
725 * config/nds32/t-nds32-isr: Rearrange object dependency.
726 * config/nds32/initfini.c: Add dwarf2 unwinding support.
727 * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
728 and registers usage.
729 * config/nds32/isr-library/excp_isr.S: Ditto.
730 * config/nds32/isr-library/intr_isr.S: Ditto.
731 * config/nds32/isr-library/reset.S: Ditto.
732 * config/nds32/isr-library/restore_all.inc: Ditto.
733 * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
734 * config/nds32/isr-library/restore_partial.inc: Ditto.
735 * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
736 * config/nds32/isr-library/save_all.inc: Ditto.
737 * config/nds32/isr-library/save_mac_regs.inc: Ditto.
738 * config/nds32/isr-library/save_partial.inc: Ditto.
739 * config/nds32/isr-library/save_usr_regs.inc: Ditto.
740 * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
741
2b1969f6
JDA
7422018-08-11 John David Anglin <danglin@gcc.gnu.org>
743
744 * config/pa/linux-atomic.c: Update comment.
745 (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
746 COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
747 SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
748 __ATOMIC_RELAXED for atomic loads.
749 (SYNC_LOCK_RELEASE_1): New define. Use __sync_synchronize() and
750 unordered store to release lock.
751 (__sync_lock_release_8): Likewise.
752 (SYNC_LOCK_RELEASE_2): Remove define.
af8096fc 753
89fff9cc
NP
7542018-08-02 Nicolas Pitre <nico@fluxnic.net>
755
756 PR libgcc/86512
757 * config/arm/ieee754-df.S: Don't shortcut denormal handling when
758 exponent goes negative. Update my email address.
759 * config/arm/ieee754-sf.S: Likewise.
760
fd2e1dcd
ML
7612018-08-01 Martin Liska <mliska@suse.cz>
762
763 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
92a285c1 764 check that __gcov_indirect_call_callee is non-null.
fd2e1dcd 765
b7415975
CL
7662018-07-30 Christophe Lyon <christophe.lyon@linaro.org>
767
768 * config/arm/ieee754-df.S: Fix comment for code working on
769 architectures >= 4.
770 * config/arm/ieee754-sf.S: Likewise.
771
b72e71a3
L
7722018-07-27 H.J. Lu <hongjiu.lu@intel.com>
773
774 PR libgcc/85334
775 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
776 Removed.
777
1c686aa4
JC
7782018-07-05 James Clarke <jrtc27@jrtc27.com>
779
780 * configure: Regenerated.
781
b61c9b99
RO
7822018-06-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
783
784 * Makefile.in (install_leaf): Use enable_gcov instead of
785 enable_libgcov.
786
1765b023
RV
7872018-06-27 Rasmus Villemoes <rv@rasmusvillemoes.dk>
788
789 * configure.ac: Add --disable-gcov option.
790 * configure: Regenerate.
791 * Makefile.in: Honour @enable_gcov@.
792
9b2e34ef
CL
7932018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
794
795 * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
796 __ARM_ARCH and __ARM_FEATURE_CLZ instead.
797 (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
798 * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
799 __ARM_ARCH__.
800 * config/arm/ieee754-sf.S: Likewise.
801 * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
802
d1b0dd54
CL
8032018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
804
805 * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
806 longer supported.
807 * config/arm/ieee754-sf.S: Likewise.
808
1f3fa525
TM
8092018-06-20 Than McIntosh <thanm@google.com>
810
811 PR libgcc/86213
812 * generic-morestack.c (allocate_segment): Move calls to getenv and
813 getpagesize to __morestack_load_mmap.
814 (__morestack_load_mmap) Initialize static_pagesize and
815 use_guard_page here so as to avoid clobbering SSE regs during a
816 __morestack call.
817
6a8886e4
MM
8182018-06-18 Michael Meissner <meissner@linux.ibm.com>
819
820 * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
821 support modules with -mno-gnu-attribute.
822 * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
823
fb997097
OH
8242018-06-07 Olivier Hainque <hainque@adacore.com>
825
826 * config/t-vxworks (LIBGCC_INCLUDES): Add
827 -I$(MULTIBUILDTOP)../../gcc/include.
828 * config/t-vxworks7: Likewise. Reformat a bit to match
829 the t-vxworks layout.
830
a548a5a1
OM
8312018-06-07 Olga Makhotina <olga.makhotina@intel.com>
832
833 * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
834
244aebfd
ML
8352018-06-07 Martin Liska <mliska@suse.cz>
836
837 * libgcov-driver.c: Rename cs_all to all and assign it from
92a285c1 838 all_prg.
244aebfd 839
6c086e8c
ML
8402018-06-07 Martin Liska <mliska@suse.cz>
841
92a285c1 842 PR bootstrap/86057
6c086e8c 843 * libgcov-driver-system.c (replace_filename_variables): Use
92a285c1 844 memcpy instead of mempcpy.
6c086e8c 845 (allocate_filename_struct): Do not allocate filename, allocate
92a285c1 846 prefix and set it.
6c086e8c 847 (gcov_exit_open_gcda_file): Allocate memory for gf->filename
92a285c1 848 here and properly copy content into it.
6c086e8c 849 * libgcov-driver.c (struct gcov_filename): Remove max_length
92a285c1 850 field, change prefix from size_t into char *.
6c086e8c
ML
851 (compute_summary): Do not calculate longest filename.
852 (gcov_do_dump): Release memory of gf.filename after each file.
853 * libgcov-util.c (compute_summary): Use new signature of
92a285c1 854 compute_summary.
6c086e8c
ML
855 (calculate_overlap): Likewise.
856
97a53d1d
ML
8572018-06-05 Martin Liska <mliska@suse.cz>
858
859 PR gcov-profile/47618
860 * libgcov-driver-system.c (replace_filename_variables): New
92a285c1 861 function.
97a53d1d
ML
862 (gcov_exit_open_gcda_file): Use it.
863
7f3577f5
ML
8642018-06-05 Martin Liska <mliska@suse.cz>
865
866 * libgcov-driver.c (gcov_compute_histogram): Remove usage
867 of gcov_ctr_summary.
868 (compute_summary): Do it just for a single summary.
869 (merge_one_data): Likewise.
870 (merge_summary): Simplify as we read just single summary.
871 (dump_one_gcov): Pass proper argument.
872 * libgcov-util.c (compute_one_gcov): Simplify as we have just
873 single summary.
874 (gcov_info_count_all_cold): Likewise.
875 (calculate_overlap): Likewise.
876
cf3cd43d
CJW
8772018-06-02 Chung-Ju Wu <jasonwucj@gmail.com>
878 Monk Chiang <sh.chiang04@gmail.com>
879
880 * config.host (nds32*-linux*): New.
881 * config/nds32/linux-atomic.c: New file.
882 * config/nds32/linux-unwind.h: New file.
883
8b8003ed
UB
8842018-05-31 Uros Bizjak <ubizjak@gmail.com>
885
886 PR target/85591
887 * config/i386/cpuinfo.c (get_amd_cpu): Return
888 AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
889
bbdf026f
RV
8902018-05-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
891
92a285c1 892 * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
bbdf026f 893
0e8f29da
ML
8942018-05-29 Martin Liska <mliska@suse.cz>
895
92a285c1 896 PR gcov-profile/85759
0e8f29da 897 * libgcov-driver-system.c (gcov_error): Introduce usage of
92a285c1 898 GCOV_EXIT_AT_ERROR env. variable.
0e8f29da 899 * libgcov-driver.c (merge_one_data): Print error that we
92a285c1 900 overwrite a gcov file with a different timestamp.
0e8f29da 901
54fd1590
K
9022018-05-23 Kalamatee <kalamatee@gmail.com>
903
904 * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
905 path to Lf$finfty.
906
09baee1a
KC
9072018-05-18 Kito Cheng <kito.cheng@gmail.com>
908 Monk Chiang <sh.chiang04@gmail.com>
909 Jim Wilson <jimw@sifive.com>
910
911 * config/riscv/save-restore.S: Add support for rv32e.
912
c3f808d3
KT
9132018-05-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
914
915 * config/arm/libunwind.S: Update comment relating to armv5.
916
fcf4f831
JL
9172018-05-17 Jerome Lambourg <lambourg@adacore.com>
918
919 * config/arm/cmse.c (cmse_check_address_range): Replace
920 UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
921
74b2bb19
OM
9222018-05-17 Olga Makhotina <olga.makhotina@intel.com>
923
924 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
925 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
926
50e461df
OM
9272018-05-08 Olga Makhotina <olga.makhotina@intel.com>
928
929 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
930 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
931
e5f1cdb1
AC
9322018-05-07 Amaan Cheval <amaan.cheval@gmail.com>
933
934 * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
935
8f479d7a
AT
9362018-04-27 Andreas Tobler <andreast@gcc.gnu.org>
937 Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
938
939 PR libgcc/84292
940 * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
941 op_and_fetch to return the right result.
942
ae043291
AM
9432018-04-27 Alan Modra <amodra@gmail.com>
944
945 PR libgcc/85532
946 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
947 -fno-asynchronous-unwind-tables.
948
ba169b74
CJW
9492018-04-25 Chung-Ju Wu <jasonwucj@gmail.com>
950
951 * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
952 * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
953
ffc2fc06
L
9542018-04-24 H.J. Lu <hongjiu.lu@intel.com>
955
956 * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
957 when including "config/i386/shadow-stack-unwind.h".
958
7b47ecf2
L
9592018-04-24 H.J. Lu <hongjiu.lu@intel.com>
960
961 * configure: Regenerated.
962
661eb8f9
MM
9632018-04-20 Michael Meissner <meissner@linux.ibm.com>
964
965 PR target/85456
966 * config/rs6000/_powikf2.c: New file. Add support for the
967 __builtin_powil function when long double is IEEE 128-bit floating
968 point.
969 * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
970 __powikf2 support.
971 (__powikf2): Likewise.
972 * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
973 (__powikf2_hw): Likewise.
974 (__powikf2): Likewise.
975 * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
976 * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
977 (_powikf2-hw.c): Likewise.
978
5707be3c
L
9792018-04-19 H.J. Lu <hongjiu.lu@intel.com>
980
981 PR libgcc/85334
982 * unwind-generic.h (_Unwind_Frames_Increment): New.
983 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
984 Likewise.
985 * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
986 count with _Unwind_Frames_Increment.
987 (_Unwind_ForcedUnwind_Phase2): Likewise.
988
5f9ca0b8
L
9892018-04-19 H.J. Lu <hongjiu.lu@intel.com>
990
991 PR libgcc/85379
992 * config/i386/morestack.S (__stack_split_initialize): Add
993 _CET_ENDBR.
994
a0e1df88
JJ
9952018-04-19 Jakub Jelinek <jakub@redhat.com>
996
997 * configure: Regenerated.
998
001ddaa8
DM
9992018-04-18 David Malcolm <dmalcolm@redhat.com>
1000
1001 PR jit/85384
1002 * configure: Regenerate.
1003
a57f99ba
JJ
10042018-04-16 Jakub Jelinek <jakub@redhat.com>
1005
1006 PR target/84945
1007 * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
1008 -Wdangling-else warnings. Mask shift counts to avoid
1009 -Wshift-count-negative and -Wshift-count-overflow false positives.
1010
4d47fe5a
RB
10112018-04-06 Ruslan Bukin <br@bsdpad.com>
1012
1013 * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
1014
059cc8ac
L
10152018-03-29 H.J. Lu <hongjiu.lu@intel.com>
1016
1017 PR target/85100
1018 * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
1019 (XSTATE_FP): Likewise.
1020 (XSTATE_SSE): Likewise.
1021 (XSTATE_YMM): Likewise.
1022 (XSTATE_OPMASK): Likewise.
1023 (XSTATE_ZMM): Likewise.
1024 (XSTATE_HI_ZMM): Likewise.
1025 (XCR_AVX_ENABLED_MASK): Likewise.
1026 (XCR_AVX512F_ENABLED_MASK): Likewise.
1027 (get_available_features): Enable AVX and AVX512 features only
1028 if their states are supported by OSXSAVE.
1029
f2620385
IT
10302018-03-22 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1031
1032 PR target/85025
1033 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
1034 Fix a typo, tmp => 255.
1035
ae6dca8c
JJ
10362018-03-20 Jakub Jelinek <jakub@redhat.com>
1037
1038 PR target/84945
1039 * config/i386/cpuinfo.h (__cpu_features2): Declare.
1040 * config/i386/cpuinfo.c (__cpu_features2): New variable for
1041 ifndef SHARED only.
1042 (set_feature): Define.
1043 (get_available_features): Use set_feature macro. Set __cpu_features2
1044 to the second word of features ifndef SHARED.
1045
c36b04c1
JK
10462018-03-15 Julia Koval <julia.koval@intel.com>
1047
1048 * config/i386/cpuinfo.c (get_available_features): Add
1049 FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
1050 FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
1051 * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
1052 FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
1053 FEATURE_AVX512BITALG.
1054
79ab5364
JK
10552018-03-14 Julia Koval <julia.koval@intel.com>
1056
1057 * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
1058 icelake client and icelake server.
1059
66a00b11
JDA
10602018-03-06 John David Anglin <danglin@gcc.gnu.org>
1061
1062 * config/pa/fptr.c (_dl_read_access_allowed): New.
1063 (__canonicalize_funcptr_for_compare): Use it.
af8096fc 1064
ce579a4f
JJ
10652018-02-28 Jakub Jelinek <jakub@redhat.com>
1066
1067 PR debug/83917
1068 * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
1069 $asm_hidden_op if visibility ("hidden") attribute works.
1070 (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
1071 * config/i386/i386-asm.h: Don't include auto-host.h.
1072 (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
1073 PACKAGE_URL): Don't undefine.
1074 (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
1075 guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
1076 (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
1077 #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
1078 definition instead of hardcoded .hidden.
1079 * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
1080 directive. Use #ifdef HAVE_AS_CFI_SECTIONS rather than
1081 #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
1082 (USE_GAS_CFI_DIRECTIVES): Don't define.
1083 * configure: Regenerated.
1084 * config.in: Likewise.
1085
e5868319
JJ
10862018-02-26 Jakub Jelinek <jakub@redhat.com>
1087
1088 PR debug/83917
1089 * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
1090 PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
1091 inclusion of auto-target.h and auto-host.h.
1092 (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
1093 __GCC_HAVE_DWARF2_CFI_ASM.
1094 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
1095 cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
1096 cfi_pop): Define.
1097 * config/i386/cygwin.S: Don't include auto-host.h here, just
1098 define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
1099 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
1100 cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
1101 * config/i386/resms64fx.h: Add cfi_* directives.
1102 * config/i386/resms64x.h: Likewise.
1103
faef260e
MF
11042018-02-20 Max Filippov <jcmvbkbc@gmail.com>
1105
1106 * config/xtensa/ieee754-df.S (__adddf3_aux): Add
1107 .literal_position directive.
1108 * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
1109
14e335ed
IT
11102018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1111
1112 PR target/84148
1113 * configure: Regenerate.
1114
95df0433
IT
11152018-02-16 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1116
1117 PR target/84239
1118 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
1119 Include cetintrin.h not x86intrin.h.
1120
f8de876d
IT
11212018-02-08 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1122
1123 PR target/84239
95df0433 1124 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
f8de876d
IT
1125 Use new _get_ssp and _inc_ssp intrinsics.
1126
02da1e9c
JK
11272018-02-02 Julia Koval <julia.koval@intel.com>
1128
1129 * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
1130
048c6a9a
CZ
11312018-01-26 Claudiu Zissulescu <claziss@synopsys.com>
1132
1133 * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
1134 option.
1135 (__divsi3): Use RF16 safe registers.
1136 (__modsi3): Likewise.
1137
0889f168
MF
11382018-01-23 Max Filippov <jcmvbkbc@gmail.com>
1139
1140 * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
1141 (__divsf3): Make NaN return value quiet.
1142 * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
1143 (__divdf3): Make NaN return value quiet.
1144
bc8b0d04
SP
11452018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
1146
1147 * config/rl78/anddi3.S: New assembly file.
1148 * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
1149
99cc06ea
SP
11502018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
1151
1152 * config/rl78/umindi3.S: New assembly file.
1153 * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
1154
6e9007a0
SP
11552018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
1156
1157 * config/rl78/smindi3.S: New assembly file.
1158 * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
1159
d975e494 11602018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
af8096fc 1161
d975e494
SP
1162 * config/rl78/smaxdi3.S: New assembly file.
1163 * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
1164
6a18c146 11652018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
af8096fc 1166
5dd16013
SP
1167 * config/rl78/umaxdi3.S: New assembly file.
1168 * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
af8096fc 1169
07baf4a5
JDA
11702018-01-21 John David Anglin <danglin@gcc.gnu.org>
1171
1172 PR lto/83452
1173 * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
1174 * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
af8096fc 1175
dbc3af4f
RS
11762018-01-13 Richard Sandiford <richard.sandiford@linaro.org>
1177
1178 * config/aarch64/value-unwind.h (aarch64_vg): New function.
1179 (DWARF_LAZY_REGISTER_VALUE): Define.
1180 * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
1181 to provide a fallback register value.
1182
68df9882
MM
11832018-01-08 Michael Meissner <meissner@linux.vnet.ibm.com>
1184
1185 * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
1186 __ibm128, instead of trying to use long double.
1187 (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
1188 accomidate -mabi=ieeelongdouble multilibs.
1189 (CVT_IBM128_TO_FLOAT128): Likewise.
1190 * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
1191 the appropriate IBM extended double type.
1192 (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
1193 (__gcc_qsub): Likewise.
1194 (__gcc_qmul): Likewise.
1195 (__gcc_qdiv): Likewise.
1196 (pack_ldouble): Likewise.
1197 (__gcc_qneg): Likewise.
1198 (__gcc_qeq): Likewise.
1199 (__gcc_qne): Likewise.
1200 (__gcc_qge): Likewise.
1201 (__gcc_qle): Likewise.
1202 (__gcc_stoq): Likewise.
1203 (__gcc_dtoq): Likewise.
1204 (__gcc_itoq): Likewise.
1205 (__gcc_utoq): Likewise.
1206 (__gcc_qunord): Likewise.
1207 * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
1208 quad-float128.h for the definitions.
1209 (COPYSIGN): Use the f128 version instead of the q version.
1210 (INFINITY): Likewise.
1211 (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
1212 * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
1213 quad-float128.h for the definitions.
1214 (COPYSIGN): Use the f128 version instead of the q version.
1215 (INFINITY): Likewise.
1216 (FABS): Likewise.
1217 (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
1218 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
1219 * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
1220
64b371b1
SH
12212018-01-05 Sebastian Huber <sebastian.huber@embedded-brains.de>
1222
1223 * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
1224 configuration.
1225
85ec4feb
JJ
12262018-01-03 Jakub Jelinek <jakub@redhat.com>
1227
1228 Update copyright years.
1229
12302017-12-12 Kito Cheng <kito.cheng@gmail.com>
b8d7e076
KC
1231
1232 * config/riscv/t-elf: Use multi3.c instead of multi3.S.
1233 * config/riscv/multi3.c: New file.
1234 * config/riscv/multi3.S: Remove.
1235
3a4c600f
JW
12362017-12-08 Jim Wilson <jimw@sifive.com>
1237
1238 * config/riscv/div.S: Use FUNC_* macros.
1239 * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
1240 * config/riscv/save-restore.S: Likewise.
1241 * config/riscv/riscv-asm.h: New.
1242
75ad35b5
MM
12432017-11-30 Michael Meissner <meissner@linux.vnet.ibm.com>
1244
6ae3512c
MM
1245 * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
1246 * config/rs6000/_divkc3.c (__divkc3): Likewise.
1247
75ad35b5
MM
1248 PR libgcc/83112
1249 * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
1250 correct type for all ifunc resolvers to silence -Wattribute-alias
1251 warnings. Eliminate the forward declaration of the resolver
1252 functions which is no longer needed.
1253 (__subkf3_resolve): Likewise.
1254 (__mulkf3_resolve): Likewise.
1255 (__divkf3_resolve): Likewise.
1256 (__negkf2_resolve): Likewise.
1257 (__eqkf2_resolve): Likewise.
1258 (__nekf2_resolve): Likewise.
1259 (__gekf2_resolve): Likewise.
1260 (__gtkf2_resolve): Likewise.
1261 (__lekf2_resolve): Likewise.
1262 (__ltkf2_resolve): Likewise.
1263 (__unordkf2_resolve): Likewise.
1264 (__extendsfkf2_resolve): Likewise.
1265 (__extenddfkf2_resolve): Likewise.
1266 (__trunckfsf2_resolve): Likewise.
1267 (__trunckfdf2_resolve): Likewise.
1268 (__fixkfsi_resolve): Likewise.
1269 (__fixkfdi_resolve): Likewise.
1270 (__fixunskfsi_resolve): Likewise.
1271 (__fixunskfdi_resolve): Likewise.
1272 (__floatsikf_resolve): Likewise.
1273 (__floatdikf_resolve): Likewise.
1274 (__floatunsikf_resolve): Likewise.
1275 (__floatundikf_resolve): Likewise.
1276 (__extendkftf2_resolve): Likewise.
1277 (__trunctfkf2_resolve): Likewise.
1278
1279 PR libgcc/83103
1280 * config/rs6000/quad-float128.h (TF): Don't define if long double
1281 is IEEE 128-bit floating point.
1282 (TCtype): Define as either TCmode or KCmode, depending on whether
1283 long double is IEEE 128-bit floating point.
1284 (__mulkc3_sw): Add declarations for software/hardware versions of
1285 complex multiply/divide.
1286 (__divkc3_sw): Likewise.
1287 (__mulkc3_hw): Likewise.
1288 (__divkc3_hw): Likewise.
1289 * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
1290 handlers to switch between using software emulation and hardware
1291 float128 instructions, build the complex multiply/divide functions
1292 for both software and hardware support.
1293 * config/rs6000/_divkc3.c (_divkc3): Likewise.
1294 * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
1295 (__divkc3_resolve): Likewise.
1296 (__mulkc3): Likewise.
1297 (__divkc3): Likewise.
1298 * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
1299 (fp128_hw_src): Likewise.
1300 (fp128_hw_static_obj): Likewise.
1301 (fp128_hw_shared_obj): Likewise.
1302 (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
1303 _mulkc3.c and _divkc3.c, changing the function name.
1304 (_divkc3-hw.c): Likewise.
1305 * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
1306 and _divkc3-hw.c.
1307
c234d831
UB
13082017-11-26 Julia Koval <julia.koval@intel.com>
1309
1310 * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
1311 * config/i386/cpuinfo.h (processor_subtypes): Add
1312 INTEL_COREI7_CANNONLAKE.
1313
1ebafce0
IT
13142017-11-20 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1315
1316 PR bootstrap/83015
1317 * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
1318 parameter.
1319 * config/xtensa/unwind-dw2-xtensa.c: Likewise
1320 * config/ia64/unwind-ia64.c: Add frames parameter.
1321 * unwind-sjlj.c: Likewise.
1322
6a10fff4
IT
13232017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1324
1325 * config/i386/linux-unwind.h: Include
1326 config/i386/shadow-stack-unwind.h.
1327 * config/i386/shadow-stack-unwind.h: New file.
1328 * unwind-dw2.c: (uw_install_context): Add a frame parameter and
1329 pass it to _Unwind_Frames_Extra.
1330 * unwind-generic.h (_Unwind_Frames_Extra): New.
1331 * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
1332 parameter. Add local variable frames to count number of frames.
1333 (_Unwind_ForcedUnwind_Phase2): Likewise.
1334 (_Unwind_RaiseException): Add local variable frames to count
1335 number of frames, pass it to _Unwind_RaiseException_Phase2 and
1336 uw_install_context.
1337 (_Unwind_ForcedUnwind): Likewise.
1338 (_Unwind_Resume): Likewise.
1339 (_Unwind_Resume_or_Rethrow): Likewise.
1340
1ecae1fc
IT
13412017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1342
1343 * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
1344 (CET_FLAGS): New.
1345 * config/i386/morestack.S: Include <cet.h>.
1346 (__morestack_large_model): Add _CET_ENDBR at function entrance.
1347 * config/i386/resms64.h: Include <cet.h>.
1348 * config/i386/resms64f.h: Likewise.
1349 * config/i386/resms64fx.h: Likewise.
1350 * config/i386/resms64x.h: Likewise.
1351 * config/i386/savms64.h: Likewise.
1352 * config/i386/savms64f.h: Likewise.
1353 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
1354 (CRTSTUFF_T_CFLAGS): Likewise.
1355 * configure.ac: Include ../config/cet.m4.
1356 Set and substitute CET_FLAGS.
1357 * configure: Regenerated.
1358
f021f1d3
RO
13592017-11-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1360
1361 * config.host (*-*-solaris2*): Adapt comment for Solaris 12
1362 renaming.
1363 * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
1364 * configure.ac (libgcc_cv_solaris_crts): Likewise.
1365 * configure: Regenerate.
1366
65f480c7
TV
13672017-11-07 Tom de Vries <tom@codesourcery.com>
1368
1369 * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
1370 after "do {} while (0)".
1371
2a321acb
TV
13722017-11-07 Tom de Vries <tom@codesourcery.com>
1373
1374 PR other/82784
1375 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
1376 semicolon after "do {} while (0)".
1377 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1378 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1379 * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1380 * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1381
59fcf6c3
AT
13822017-11-04 Andreas Tobler <andreast@gcc.gnu.org>
1383
1384 PR libgcc/82635
1385 * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
1386 sysctl to determine whether we're in a trampoline.
1387 Keep the pattern matching method for systems without
1388 KERN_PROC_SIGTRAMP sysctl.
1389
b0c7ddf8
CM
13902017-11-03 Cupertino Miranda <cmiranda@synopsys.com>
1391 Vineet Gupta <vgupta@synopsys.com>
1392
1393 * config.host (arc*-*-linux*): Set md_unwind_header variable.
1394 * config/arc/linux-unwind-reg.def: New file.
1395 * config/arc/linux-unwind-reg.h: Likewise.
1396
5feee954
SP
13972017-10-23 Sebastian Perta <sebastian.perta@renesas.com>
1398
1399 * config/rl78/subdi3.S: New assembly file.
1400 * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
1401
a0bf6cf7
SP
14022017-10-13 Sebastian Perta <sebastian.perta@renesas.com>
1403
1404 * config/rl78/adddi3.S: New assembly file.
1405 * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
1406
e7176f75
JJ
14072017-10-13 Jakub Jelinek <jakub@redhat.com>
1408
1409 PR target/82274
1410 * libgcc2.c (__mulvDI3): If both operands have
1411 the same highpart of -1 and the topmost bit of lowpart is 0,
1412 multiplication overflows even if both lowparts are 0.
1413
db6601d2
JB
14142017-09-28 James Bowman <james.bowman@ftdichip.com>
1415
1416 * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
1417
938b6f1e
JM
14182017-09-26 Joseph Myers <joseph@codesourcery.com>
1419
1420 * config/microblaze/crti.S, config/microblaze/crtn.S,
1421 config/microblaze/divsi3.S, config/microblaze/moddi3.S,
1422 config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
1423 config/microblaze/mulsi3.S,
1424 config/microblaze/stack_overflow_exit.S,
1425 config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
1426 config/pa/milli64.S: Add .note.GNU-stack section.
1427
89762a83
DS
14282017-09-23 Daniel Santos <daniel.santos@pobox.com>
1429
1430 * configure.ac: Add Check for HAVE_AS_AVX.
1431 * config.in: Regenerate.
1432 * configure: Likewise.
1433 * config/i386/i386-asm.h: Include auto-target.h from libgcc.
1434 (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
1435 Correct out-of-date comments.
1436
cace2309
SP
14372017-09-20 Sebastian Peryt <sebastian.peryt@intel.com>
1438
1439 * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
1440 * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
1441
3cb626e4
DS
14422017-09-17 Daniel Santos <daniel.santos@pobox.com>
1443
cace2309 1444 * config/i386/i386-asm.h (PASTE2): New macro.
3cb626e4
DS
1445 (ASMNAME): Modify to use PASTE2.
1446 (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
1447 (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
cace2309 1448 * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
3cb626e4 1449 instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
cace2309
SP
1450 * config/i386/resms64f.S: Likewise.
1451 * config/i386/resms64fx.S: Likewise.
1452 * config/i386/resms64x.S: Likewise.
1453 * config/i386/savms64.S: Likewise.
1454 * config/i386/savms64f.S: Likewise.
1455 * config/i386/avx_resms64.S: New file that only defines a macro and
3cb626e4 1456 includes it's corresponding header file.
cace2309
SP
1457 * config/i386/avx_resms64f.S: Likewise.
1458 * config/i386/avx_resms64fx.S: Likewise.
1459 * config/i386/avx_resms64x.S: Likewise.
1460 * config/i386/avx_savms64.S: Likewise.
1461 * config/i386/avx_savms64f.S: Likewise.
1462 * config/i386/sse_resms64.S: Likewise.
1463 * config/i386/sse_resms64f.S: Likewise.
1464 * config/i386/sse_resms64fx.S: Likewise.
1465 * config/i386/sse_resms64x.S: Likewise.
1466 * config/i386/sse_savms64.S: Likewise.
1467 * config/i386/sse_savms64f.S: Likewise.
1468 * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
3cb626e4 1469
2f19c491 14702017-09-01 Olivier Hainque <hainque@adacore.com>
2f19c491
OH
1471 * config.host (*-*-vxworks7): Widen scope to vxworks7*.
1472
611e7036
OH
14732017-08-31 Olivier Hainque <hainque@adacore.com>
1474
1475 * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
1476 match as powerpc-wrs-vxworks*.
1477
c8f34527
JY
14782017-08-07 Jonathan Yong <10walls@gmail.com>
1479
1480 * config.host (*-cygwin): Include file from mingw
1481 config/i386/enable-execute-stack-mingw32.c
1482
0b458d2b 14832017-08-01 Jerome Lambourg <lambourg@adacore.com>
92a285c1
ML
1484 Doug Rupp <rupp@adacore.com>
1485 Olivier Hainque <hainque@adacore.com>
0b458d2b
JL
1486
1487 * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
1488 as well as arm-wrs-vxworks.
1489 * config/arm/t-vxworks7: New file. Add unwind-arm-vxworks.c to
1490 LIB2ADDEH.
1491 * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
1492 __exidx_start and __exidx_end for downloadable modules.
1493
4df612fa
OH
14942017-08-01 Olivier Hainque <hainque@adacore.com>
1495
1496 * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
1497 * config/t-vxworks7: Likewise.
1498
5560e8c0
OH
14992017-08-01 Olivier Hainque <hainque@adacore.com>
1500
1501 * config/t-vxworks: Instead of redefining LIB2ADD,
1502 augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
1503
16bab95a
SH
15042017-07-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1505
1506 * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
1507
9cbc07cc
DS
15082017-07-24 Daniel Santos <daniel.santos@pobox.com>
1509
1510 PR testsuite/80759
1511 * config.host: include i386/t-msabi for darwin and solaris.
1512 * config/i386/i386-asm.h
1513 (ELFFN): Rename to FN_TYPE.
1514 (FN_SIZE): New macro.
1515 (FN_HIDDEN): Likewise.
1516 (ASMNAME): Likewise.
1517 (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
1518 .globl.
1519 (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
1520 (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
1521 * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
1522 .macro.
1523 * config/i386/resms64f.S: Likewise.
1524 * config/i386/resms64fx.S: Likewise.
1525 * config/i386/resms64x.S: Likewise.
1526 * config/i386/savms64.S: Likewise.
1527 * config/i386/savms64f.S: Likewise.
1528
de742204
JM
15292017-07-19 John Marino <gnugcc@marino.st>
1530
1531 * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
1532
3787ee47
MM
15332017-07-12 Michael Meissner <meissner@linux.vnet.ibm.com>
1534
1535 PR target/81193
1536 * configure.ac (PowerPC float128 hardware support): Test whether
1537 we can use __builtin_cpu_supports before enabling the ifunc
1538 handler.
1539 * configure: Regenerate.
1540
b1938888
VG
15412017-07-10 Vineet Gupta <vgupta@synopsys.com>
1542
1543 * config.host: Remove uclibc from arc target spec.
1544
bec75e53
KW
15452017-07-09 Krister Walfridsson <krister.walfridsson@gmail.com>
1546
1547 * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
1548
d4391a62
PB
15492017-07-07 Peter Bergner <bergner@vnet.ibm.com>
1550
1551 * config/rs6000/float128-ifunc.c: Don't include auxv.h.
1552 (have_ieee_hw_p): Delete function.
1553 (SW_OR_HW) Use __builtin_cpu_supports().
1554
9296dd9b
TP
15552017-07-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
1556
1557 * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
1558
b85a969e
OH
15592017-07-03 Olivier Hainque <hainque@adacore.com>
1560
d4391a62 1561 * config/t-vxworks7: New file, really.
b85a969e 1562
883312dc
JM
15632017-06-28 Joseph Myers <joseph@codesourcery.com>
1564
1565 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
1566 config/alpha/linux-unwind.h (alpha_fallback_frame_state),
1567 config/bfin/linux-unwind.h (bfin_fallback_frame_state),
1568 config/i386/linux-unwind.h (x86_64_fallback_frame_state,
1569 x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
1570 uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
1571 config/pa/linux-unwind.h (pa32_fallback_frame_state),
1572 config/riscv/linux-unwind.h (riscv_fallback_frame_state),
1573 config/sh/linux-unwind.h (sh_fallback_frame_state),
1574 config/tilepro/linux-unwind.h (tile_fallback_frame_state),
1575 config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
1576 ucontext_t instead of struct ucontext.
1577
50567938
JL
15782017-06-27 Jerome Lambourg <lambourg@adacore.com>
1579
1580 * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
1581 (x86_64-wrs-vxworks7): Likewise.
1582
e4b0df93
OH
15832017-06-27 Olivier Hainque <hainque@adacore.com>
1584
1585 * config/t-vxworks7: New file.
1586 * config.host (*-*-vxworks7): Use it.
1587
60edf8bb
MT
15882017-06-22 Matt Turner <mattst88@gmail.com>
1589
1590 * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
1591 skylake case.
1592
a51a76e5
RB
15932017-06-21 Richard Biener <rguenther@suse.de>
1594
1595 PR gcov-profile/81080
1596 * configure.ac: Add AC_SYS_LARGEFILE.
1597 * libgcov.h: Include auto-target.h before tsystem.h to pick
1598 up _FILE_OFFSET_BITS which might differ for multilibs.
1599 * config.in: Regenerate.
1600 * configure: Likewise.
1601
f0cd49c5
RE
16022017-06-16 Richard Earnshaw <rearnsha@arm.com>
1603
1604 * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
1605
4f751c54
ML
16062017-06-09 Martin Liska <mliska@suse.cz>
1607
1608 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
1609 Reset __gcov_indirect_call_callee to NULL.
1610
1ac644c8
OH
16112017-06-08 Olivier Hainque <hainque@adacore.com>
1612
1613 * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
1614 the set of -I options, support for direct inclusions of net/uio.h
1615 by VxWorks header files via ioLib.h.
1616
d8b9cd27
TR
16172017-06-07 Tony Reix <tony.reix@atos.net>
1618 Matthieu Sarter <matthieu.sarter.external@atos.net>
1619 David Edelsohn <dje.gcc@gmail.com>
1620
92a285c1
ML
1621 * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
1622 unconditionally.
1623 (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support. Add 32-bit
1624 AIX 7.2 support.
d8b9cd27 1625
38a75ccc
OH
16262017-06-02 Olivier Hainque <hainque@adacore.com>
1627
1628 * config/vxlib.c (__gthread_once): Add missing value to
1629 return statement.
1630
5b2edf53
OH
16312017-05-30 Olivier Hainque <hainque@adacore.com>
1632
1633 * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
1634 dollar sign before $(MULTIDIR).
1635
7d66e265
RH
16362017-05-26 Richard Henderson <rth@redhat.com>
1637
1638 PR libgcc/80037
1639 * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
1640
78eca309
AT
16412017-05-17 Andreas Tobler <andreast@gcc.gnu.org>
1642
1643 * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
1644 _Unwind_SetIP available as functions for arm*-*-freebsd*.
1645 * config/arm/unwind-arm.c: Implement the above.
1646
c39d309a
AZ
16472017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1648
1649 * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
1650 section for a non-executable stack.
1651
eac8c9f2
KW
16522017-05-14 Krister Walfridsson <krister.walfridsson@gmail.com>
1653
1654 PR target/80600
1655 * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
1656
d6d4d770
DS
16572017-05-14 Daniel Santos <daniel.santos@pobox.com>
1658
1659 * config.host: Add i386/t-msabi to i386/t-linux file list.
1660 * config/i386/i386-asm.h: New file.
1661 * config/i386/resms64.S: New file.
1662 * config/i386/resms64f.S: New file.
1663 * config/i386/resms64fx.S: New file.
1664 * config/i386/resms64x.S: New file.
1665 * config/i386/savms64.S: New file.
1666 * config/i386/savms64f.S: New file.
1667 * config/i386/t-msabi: New file.
1668
8ef2b9a7
AT
16692017-05-09 Andreas Tobler <andreast@gcc.gnu.org>
1670
1671 * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
1672 arm*-*-freebsd* instead of the t-slibgcc-libgcc.
1673
7ab8766a
JC
16742017-05-05 Joshua Conner <joshconner@google.com>
1675
1676 * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
1677 pc-relative indirect handling for fuchsia.
1678 * config/t-slibgcc-fuchsia: New file.
1679 * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
d6d4d770 1680 x86_64-*-fuchsia*): Add definitions.
7ab8766a 1681
46928a8f
ML
16822017-04-19 Martin Liska <mliska@suse.cz>
1683
1684 PR gcov-profile/80435
1685 * Makefile.in: Install gcov.h.
1686 * gcov.h: New file.
1687 * libgcov.h: Use the header and make __gcov_flush publicly
1688 visible.
1689
63971184
ML
16902017-04-18 Martin Liska <mliska@suse.cz>
1691
1692 PR gcov-profile/78783
1693 * libgcov-driver.c (gcov_get_filename): New function.
1694
29d8aae6
JL
16952017-04-07 Jeff Law <law@redhat.com>
1696
1697 * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
1698 target makefile fragment.
1699 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
1700
2bdf7fc6
AM
17012017-04-07 Alan Modra <amodra@gmail.com>
1702
1703 PR target/45053
1704 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
1705
5764ee3c
JW
17062017-04-03 Jonathan Wakely <jwakely@redhat.com>
1707
1708 * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
1709
c4192ad7
CZ
17102017-03-27 Claudiu Zissulescu <claziss@synopsys.com>
1711
1712 * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
1713
4ccfdb28
JM
17142017-03-10 John Marino <gnugcc@marino.st>
1715
1716 * config/aarch64/freebsd-unwind.h: New file.
1717 * config.host: Add aarch64-*-freebsd unwinder.
1718
4144e4e3
SB
17192017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
1720
1721 * config/rs6000/crtrestvr.s: Use .machine altivec.
1722 * config/rs6000/crtsavevr.s: Ditto.
1723
7502c597
SB
17242017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
1725
1726 * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
1727 modify CFLAGS. Add -mabi=altivec -mvsx -mfloat128.
1728 (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
1729 -mfloat128-hardware to the CFLAGS. Fix syntax error in the C snippet.
1730 * configure: Regenerate.
1731 * config.in: Regenerate.
1732
db9f7f65
JY
17332017-03-02 Jonathan Yong <10walls@gmail.com>
1734
1735 * config/i386/gthr-win32.h: Define NOGDI before
1736 windows.h include to prevent w32api CC_NONE macro
1737 clash with libgfortran.
1738
126437c5
JY
17392017-03-02 Jonathan Yong <10walls@gmail.com>
1740
1741 * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
1742
31927af6
AP
17432017-02-16 Andrew Pinski <apinski@cavium.com>
1744
1745 * config/aarch64/value-unwind.h: New file.
1746 * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
1747 to tm_file.
1748
0bd99911
PD
17492017-02-06 Palmer Dabbelt <palmer@dabbelt.com>
1750
1751 * config.host: Add RISC-V tuples.
1752 * config/riscv/atomic.c: New file.
1753 * config/riscv/crti.S: Likewise.
1754 * config/riscv/crtn.S: Likewise.
1755 * config/riscv/div.S: Likewise.
1756 * config/riscv/linux-unwind.h: Likewise.
1757 * config/riscv/muldi3.S: Likewise.
1758 * config/riscv/multi3.S: Likewise.
1759 * config/riscv/save-restore.S: Likewise.
1760 * config/riscv/sfp-machine.h: Likewise.
1761 * config/riscv/t-elf: Likewise.
1762 * config/riscv/t-elf32: Likewise.
1763 * config/riscv/t-elf64: Likewise.
1764 * config/riscv/t-softfp32: Likewise.
1765 * config/riscv/t-softfp64: Likewise.
1766
a8c9ef2a
JJ
17672017-01-24 Jakub Jelinek <jakub@redhat.com>
1768
1769 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
1770 /* FALLTHRU */ comments.
1771
c6c82710
GP
17722017-01-21 Gerald Pfeifer <gerald@pfeifer.com>
1773
1774 * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
1775
a876231c
JW
17762017-01-20 Jiong Wang <jiong.wang@arm.com>
1777
1778 * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
1779 * unwind-dw2.c (execute_cfa_program): Only multiplexing
1780 DW_CFA_GNU_window_save for AArch64 and LP64.
1781
aa348be2
JW
17822017-01-20 Jiong Wang <jiong.wang@arm.com>
1783
1784 * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
1785
5636faf2
JW
17862017-01-19 Jiong Wang <jiong.wang@arm.com>
1787
1788 * config/aarch64/aarch64-unwind.h: New file.
1789 (DWARF_REGNUM_AARCH64_RA_STATE): Define.
1790 (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
1791 (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
1792 (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
1793 (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
1794 (aarch64_post_extract_frame_addr): New function.
1795 (aarch64_post_frob_eh_handler_addr): New function.
1796 (aarch64_frob_update_context): New function.
1797 * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
1798 * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
1799 aarch64*-*-freebsd*):
1800 Initialize md_unwind_header to include aarch64-unwind.h.
1801 * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
1802 (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
1803 __aarch64__.
1804 (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
1805 (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
1806 (uw_frob_return_addr): New function.
1807 (uw_install_context): Use uw_frob_return_addr.
1808
3c36aa6b
JJ
18092017-01-17 Jakub Jelinek <jakub@redhat.com>
1810
1811 PR other/79046
1812 * configure.ac: Add GCC_BASE_VER.
1813 * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
1814 version from BASE-VER file.
1815 * configure: Regenerated.
1816
829afb8f
JS
18172017-01-13 Joe Seymour <joe.s@somniumtech.com>
1818
1819 * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
1820 libmul_f5.a): Filter archived prerequisites.
1821
79fc8ffe
AS
18222017-01-10 Andrew Senkevich <andrew.senkevich@intel.com>
1823
1824 * config/i386/cpuinfo.h (processor_features): Add
1825 FEATURE_AVX512VPOPCNTDQ.
1826 * config/i386/cpuinfo.c (get_available_features): Habdle new
1827 feature.
1828
fec5f4e0
JM
18292017-01-04 Joseph Myers <joseph@codesourcery.com>
1830
1831 * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
1832 payload if [__mips_nan2008].
1833
8f56cb51
AM
18342017-01-04 Alan Modra <amodra@gmail.com>
1835
1836 * Makefile.in (configure_deps): Update.
1837 * configure: Regenerate.
1838
cbe34bb5
JJ
18392017-01-01 Jakub Jelinek <jakub@redhat.com>
1840
1841 Update copyright years.
1842
ab955692
KW
18432016-12-19 Krister Walfridsson <krister.walfridsson@gmail.com>
1844
1845 * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
1846 * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
1847 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
1848
de34320f
MK
18492016-12-17 Matthias Klose <doko@ubuntu.com>
1850
1851 * config/arc/gmon: Remove empty directory.
1852
e04ea1da
CZ
18532016-12-16 Claudiu Zissulescu <claziss@synopsys.com>
1854
1855 * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
1856 crtgend.
1857 (arc*-*-elf*): Likewise.
1858 * config/arc/t-arc: Remove old gmon lib targets.
1859 * config/arc/crtg.S: Remove.
1860 * config/arc/crtgend.S: Likewise.
1861 * config/arc/gmon/atomic.h: Likewise.
1862 * config/arc/gmon/auxreg.h: Likewise.
1863 * config/arc/gmon/dcache_linesz.S: Likewise.
1864 * config/arc/gmon/gmon.c: Likewise.
1865 * config/arc/gmon/machine-gmon.h: Likewise.
1866 * config/arc/gmon/mcount.c: Likewise.
1867 * config/arc/gmon/prof-freq-stub.S: Likewise.
1868 * config/arc/gmon/prof-freq.c: Likewise.
1869 * config/arc/gmon/profil.S: Likewise.
1870 * config/arc/gmon/sys/gmon.h: Likewise.
1871 * config/arc/gmon/sys/gmon_out.h: Likewise.
1872 * config/arc/t-arc-newlib: Likewise.
1873 * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
1874
8ae1c2c1
GS
18752016-12-12 George Spelvin <linux@sciencehorizons.net>
1876
1877 * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
1878
a5b947fa
GS
18792016-12-12 George Spelvin <linux@sciencehorizons.net>
1880
1881 * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
1882 R16 instead of push + pop.
1883 (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
1884
d6574dd1
KW
18852016-12-10 Krister Walfridsson <krister.walfridsson@gmail.com>
1886
1887 * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
1888 tmake_file.
1889
62440b4f
CM
18902016-12-05 Cupertino Miranda <cmiranda@synopsys.com>
1891
1892 * config.host (arc*-*-linux-uclibc*): Use default extra
1893 objects. Include linux-android header.
1894 * config/arc/crti.S (_init): Declare symbol as function.
1895 (_fini): Likewise.
1896
31cfd832
TK
18972016-12-03 Thomas Koenig <tkoenig@gcc.gnu.org>
1898
1899 PR fortran/78379
1900 * config/i386/cpuinfo.c: Move denums for processor vendors,
1901 processor type, processor subtypes and declaration of
1902 struct __processor_model into
1903 * config/i386/cpuinfo.h: New header file.
1904
c92e08e3
AV
19052016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
1906 Thomas Preud'homme <thomas.preudhomme@arm.com>
1907
1908 * config/arm/cmse_nonsecure_call.S: New.
1909 * config/arm/t-arm: Compile cmse_nonsecure_call.S
1910
de7b5723
AV
19112016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
1912 Thomas Preud'homme <thomas.preudhomme@arm.com>
1913
1914 * config/arm/t-arm (HAVE_CMSE): New.
1915 * config/arm/cmse.c: New.
1916
7a0d2bce
TP
19172016-11-28 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
1918
b3a5bff4
TP
1919 PR gcc/74748
1920 * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
1921 use generic linker version information on Blackfin.
1922
7a0d2bce
TP
1923 PR gcc/74748
1924 * libgcc/mkmap-symver.awk: add support for skip_underscore
1925
b410cf1d
IS
19262016-11-27 Iain Sandoe <iain@codesourcery.com>
1927 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1928
1929 PR target/67710
1930 * config/t-darwin: Default builds to 10.5 codegen.
1931
2e5f8203
JG
19322016-11-24 James Greenhalgh <james.greenhalgh@arm.com>
1933
1934 * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
1935 (_FP_NANSIGN_H): Likewise.
1936 * config/aarch64/t-softfp (softfp_extensions): Add hftf.
1937 (softfp_truncations): Add tfhf.
1938 (softfp_extras): Add required conversion functions.
1939
bea64ca3
JG
19402016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
1941 Matthew Wahab <matthew.wahab@arm.com>
1942
1943 * config/arm/fp16.c (binary64): New.
1944 (__gnu_d2h_internal): New.
1945 (__gnu_d2h_ieee): New.
1946 (__gnu_d2h_alternative): New.
1947
8630cadb
JG
19482016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
1949 Matthew Wahab <matthew.wahab@arm.com>
1950
1951 * config/arm/fp16.c (struct format): New.
1952 (binary32): New.
1953 (__gnu_float2h_internal): New. Body moved from
1954 __gnu_f2h_internal and generalize.
1955 (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
1956 Call it with binary32.
1957
5823ef23
JG
19582016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
1959
1960 * soft-fp/extendhftf2.c: Update from glibc.
1961 * soft-fp/fixhfti.c: Likewise.
1962 * soft-fp/fixunshfti.c: Likewise.
1963 * soft-fp/floattihf.c: Likewise.
1964 * soft-fp/floatuntihf.c: Likewise.
1965 * soft-fp/half.h: Likewise.
1966 * soft-fp/trunctfhf2.c: Likewise.
1967
62a7df9f
MG
19682016-11-20 Marc Glisse <marc.glisse@inria.fr>
1969
1970 PR libgcc/77813
1971 * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
1972 __TMC_END__ behind a passthrough asm.
1973
7a384912
WL
19742016-11-18 Walter Lee <walt@tilera.com>
1975
62a7df9f 1976 * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
7a384912 1977
9775c1a5
L
19782016-11-17 Andrew Senkevich <andrew.senkevich@intel.com>
1979
1980 * config/i386/cpuinfo.c (processor_features): Add
1981 FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
1982
48c842ab
CZ
19832016-11-17 Claudiu Zissulescu <claziss@synopsys.com>
1984
1985 * config/arc/dp-hack.h (ARC_OPTFPE): Define.
1986 (__ARC_NORM__): Use instead ARC_OPTFPE.
1987 * config/arc/fp-hack.h: Likewise.
1988 * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
1989 (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
1990
5012919d
AM
19912016-11-16 Alexander Monakov <amonakov@ispras.ru>
1992
1993 * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
1994 * config/nvptx/mgomp.c: New file.
1995 * config/nvptx/t-nvptx: Add mgomp.c
1996
00178b98
WB
19972016-11-16 Waldemar Brodkorb <wbx@openadk.org>
1998
1999 PR libgcc/68468
2000 * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
2001
d64af69f
CZ
20022016-11-15 Claudiu Zissulescu <claziss@synopsys.com>
2003
2004 * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
2005 of checking for cpus.
2006 (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
2007 (__modsi3, __clzsi2): Likewise.
2008
9d8f95de
SN
20092016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
2010
2011 * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
2012 i386/t-cpuinfo-static instead of i386/t-cpuinfo.
2013 * config/i386/t-cpuinfo-static: New.
2014
7d29f8e3
ML
20152016-11-03 Martin Liska <mliska@suse.cz>
2016
2017 * libgcov-profiler.c (__gcov_time_profiler): Remove.
2018 (__gcov_time_profiler_atomic): Likewise.
2019
5de3e2d8
BE
20202016-11-03 Bernd Edlinger <bernd.edlinger@hotmail.de>
2021
2022 PR libgcc/78067
2023 * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
2024 count_leading_zeros.
2025
18362447
UB
20262016-11-02 Uros Bizjak <ubizjak@gmail.com>
2027
2028 * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
2029 * libgcc2.c (__divmoddi4): New function.
2030 * libgcc2.h (__divmoddi4): Declare.
2031 * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
2032 and __PFX_divmodti4.
2033
33107571
FW
20342016-10-24 Florian Weimer <fweimer@redhat.com>
2035
2036 PR libgcc/78064
2037 * unwind-c.c: Include auto-target.h.
2038
4c6d7494
JDA
20392016-10-19 John David Anglin <danglin@gcc.gnu.org>
2040
18362447 2041 * config/pa/pa64-hpux-lib.h: New file.
4c6d7494
JDA
2042 (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
2043 (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
2044 * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
2045 hppa*64*-*-hpux11*.
2046
2a26adf1
MF
20472016-10-18 Max Filippov <jcmvbkbc@gmail.com>
2048
2049 * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
2050 definition.
2051 * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
2052 definition.
2053 * config/xtensa/t-windowed (LIB2ADDEH): Use
2054 LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
2055 or xtensa/t-linux.
2056
66192aa1
DKC
20572016-10-18 Ding-Kai Chen <dkchen@cadence.com>
2058
2059 * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
2060 __ieee754_sqrt): New functions.
2061 (__divdf3): Add implementation with new FPU instructions under
2062 #if XCHAL_HAVE_DFP_DIV.
2063 * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
2064 __ieee754_sqrtf): New functions.
2065 (__divsf3): Add implementation with new FPU instructions under
2066 #if XCHAL_HAVE_FP_DIV.
2067 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
2068 _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
2069
4d0cdd0c
TP
20702016-10-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
2071
2072 * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
2073 equivalent.
2074 * config/tilepro/atomic.c: Likewise and stop casting model to
2075 enum memmodel.
2076
73f01cca
JM
20772016-10-10 Joseph Myers <joseph@codesourcery.com>
2078
2079 PR target/77586
2080 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
2081 soft-fp.
2082
b20e7532
AT
20832016-10-10 Andreas Tobler <andreast@gcc.gnu.org>
2084
2085 * config.host: Add support for aarch64-*-freebsd*.
2086
a786cec4
AS
20872016-10-05 Andreas Schwab <schwab@suse.de>
2088
2089 * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
2090 (.section .init_array): Don't call __do_jv_register_classes.
2091 (.section .init): Likewise.
2092
5a79befb
JJ
20932016-10-04 Jakub Jelinek <jakub@redhat.com>
2094
2095 * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
2096 (__JCR_LIST__): Remove.
2097 (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
2098 * config/i386/cygming-crtend.c (__JCR_END__): Remove.
2099 * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
2100 * config/ia64/crtend.S (__JCR_END__): Remove.
2101 * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
2102 conditionals.
2103 (__JCR_LIST__, __JCR_END__): Remove.
2104 (frame_dummy): Don't attempt to _Jv_RegisterClasses.
2105 (__do_global_ctors_1): Likewise.
2106
e0ab3753
UB
21072015-09-28 Uros Bizjak <ubizjak@gmail.com>
2108
2109 * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
2110 (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
2111
8c9434c2
ML
21122016-09-27 Martin Liska <mliska@suse.cz>
2113
2114 PR gcov-profile/7970
2115 PR gcov-profile/16855
2116 PR gcov-profile/44779
2117 * libgcov-driver.c (__gcov_init): Do not register a atexit
2118 handler.
2119 (__gcov_exit): Rename from gcov_exit.
2120 * libgcov.h (__gcov_exit): Declare.
2121
56b653f1
ML
21222016-09-27 Martin Liska <mliska@suse.cz>
2123
2124 PR bootstrap/77749
2125 * Makefile.in: Remove _gcov_merge_delta.
2126 * libgcov-merge.c (void __gcov_merge_delta): Remove.
2127 * libgcov-util.c (__gcov_delta_counter_op): Remove.
2128 * libgcov.h: Remove declaration of __gcov_merge_delta.
2129
7e02fd1b
EB
21302016-09-21 Eric Botcazou <ebotcazou@adacore.com>
2131
2132 * configure.ac: Do not create links, only substitute the filenames.
2133 * configure: Regenerate.
2134 * Makefile.in: Assign the substitution results to variables.
2135 (LIBGCC_LINKS): Define.
2136 (enable-execute-stack.c): New rule.
2137 (unwind.h): Likewise.
2138 (md-unwind-support.h): Likewise.
2139 (sfp-machine.h): Likewise.
2140 (gthr-default.h): Likewise.
2141 Add $(LIBGCC_LINKS) to the prerequisites of all object files and
2142 unwind.h as prerequisite of install-unwind_h-forbuild.
2143
29991048
JJ
21442016-09-16 Jakub Jelinek <jakub@redhat.com>
2145
2146 PR libgcc/71744
2147 * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
2148 is not the primary registry and atomics are available.
2149 (any_objects_registered): New variable.
2150 (__register_frame_info_bases, __register_frame_info_table_bases):
2151 Atomically store 1 to any_objects_registered after registering first
2152 unwind info.
2153 (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
2154
0abcd6cc
JG
21552016-09-09 James Greenhalgh <james.greenhalgh@arm.com>
2156
2157 PR target/63250
2158 * Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
2159 * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
2160 (HFtype): Likewise.
2161 (HCtype): Likewise.
2162 (__divhc3): Likewise.
2163 (__mulhc3): Likewise.
2164 * libgcc2.c: Support _mulhc3 and _divhc3.
2165
d758aeb5
JM
21662016-09-07 Joseph Myers <joseph@codesourcery.com>
2167
2168 PR libgcc/77519
2169 * libgcc2.c (NOTRUNC): Invert settings.
2170
7fe76f6a
ML
21712016-09-06 Martin Liska <mliska@suse.cz>
2172
2173 PR gcov-profile/77378
2174 PR gcov-profile/77466
2175 * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
2176 conditionaly enable/disable *_atomic functions.
2177
21184026
JM
21782016-08-26 Joseph Myers <joseph@codesourcery.com>
2179
2180 * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
2181 where not already enabled.
2182
726f49c3
SN
21832016-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
2184
2185 * config/mips/linux-unwind.h: Use sys/syscall.h.
2186
feeb6268
JM
21872016-08-16 Joseph Myers <joseph@codesourcery.com>
2188
2189 PR libgcc/77265
2190 * soft-fp/adddf3.c: Update from glibc.
2191 * soft-fp/addsf3.c: Likewise.
2192 * soft-fp/addtf3.c: Likewise.
2193 * soft-fp/divdf3.c: Likewise.
2194 * soft-fp/divsf3.c: Likewise.
2195 * soft-fp/divtf3.c: Likewise.
2196 * soft-fp/double.h: Likewise.
2197 * soft-fp/eqdf2.c: Likewise.
2198 * soft-fp/eqsf2.c: Likewise.
2199 * soft-fp/eqtf2.c: Likewise.
2200 * soft-fp/extenddftf2.c: Likewise.
2201 * soft-fp/extended.h: Likewise.
2202 * soft-fp/extendsfdf2.c: Likewise.
2203 * soft-fp/extendsftf2.c: Likewise.
2204 * soft-fp/extendxftf2.c: Likewise.
2205 * soft-fp/fixdfdi.c: Likewise.
2206 * soft-fp/fixdfsi.c: Likewise.
2207 * soft-fp/fixdfti.c: Likewise.
2208 * soft-fp/fixsfdi.c: Likewise.
2209 * soft-fp/fixsfsi.c: Likewise.
2210 * soft-fp/fixsfti.c: Likewise.
2211 * soft-fp/fixtfdi.c: Likewise.
2212 * soft-fp/fixtfsi.c: Likewise.
2213 * soft-fp/fixtfti.c: Likewise.
2214 * soft-fp/fixunsdfdi.c: Likewise.
2215 * soft-fp/fixunsdfsi.c: Likewise.
2216 * soft-fp/fixunsdfti.c: Likewise.
2217 * soft-fp/fixunssfdi.c: Likewise.
2218 * soft-fp/fixunssfsi.c: Likewise.
2219 * soft-fp/fixunssfti.c: Likewise.
2220 * soft-fp/fixunstfdi.c: Likewise.
2221 * soft-fp/fixunstfsi.c: Likewise.
2222 * soft-fp/fixunstfti.c: Likewise.
2223 * soft-fp/floatdidf.c: Likewise.
2224 * soft-fp/floatdisf.c: Likewise.
2225 * soft-fp/floatditf.c: Likewise.
2226 * soft-fp/floatsidf.c: Likewise.
2227 * soft-fp/floatsisf.c: Likewise.
2228 * soft-fp/floatsitf.c: Likewise.
2229 * soft-fp/floattidf.c: Likewise.
2230 * soft-fp/floattisf.c: Likewise.
2231 * soft-fp/floattitf.c: Likewise.
2232 * soft-fp/floatundidf.c: Likewise.
2233 * soft-fp/floatundisf.c: Likewise.
2234 * soft-fp/floatunditf.c: Likewise.
2235 * soft-fp/floatunsidf.c: Likewise.
2236 * soft-fp/floatunsisf.c: Likewise.
2237 * soft-fp/floatunsitf.c: Likewise.
2238 * soft-fp/floatuntidf.c: Likewise.
2239 * soft-fp/floatuntisf.c: Likewise.
2240 * soft-fp/floatuntitf.c: Likewise.
2241 * soft-fp/gedf2.c: Likewise.
2242 * soft-fp/gesf2.c: Likewise.
2243 * soft-fp/getf2.c: Likewise.
2244 * soft-fp/ledf2.c: Likewise.
2245 * soft-fp/lesf2.c: Likewise.
2246 * soft-fp/letf2.c: Likewise.
2247 * soft-fp/muldf3.c: Likewise.
2248 * soft-fp/mulsf3.c: Likewise.
2249 * soft-fp/multf3.c: Likewise.
2250 * soft-fp/negdf2.c: Likewise.
2251 * soft-fp/negsf2.c: Likewise.
2252 * soft-fp/negtf2.c: Likewise.
2253 * soft-fp/op-1.h: Likewise.
2254 * soft-fp/op-2.h: Likewise.
2255 * soft-fp/op-4.h: Likewise.
2256 * soft-fp/op-8.h: Likewise.
2257 * soft-fp/op-common.h: Likewise.
2258 * soft-fp/quad.h: Likewise.
2259 * soft-fp/single.h: Likewise.
2260 * soft-fp/soft-fp.h: Likewise.
2261 * soft-fp/subdf3.c: Likewise.
2262 * soft-fp/subsf3.c: Likewise.
2263 * soft-fp/subtf3.c: Likewise.
2264 * soft-fp/truncdfsf2.c: Likewise.
2265 * soft-fp/trunctfdf2.c: Likewise.
2266 * soft-fp/trunctfsf2.c: Likewise.
2267 * soft-fp/trunctfxf2.c: Likewise.
2268 * soft-fp/unorddf2.c: Likewise.
2269 * soft-fp/unordsf2.c: Likewise.
2270 * soft-fp/unordtf2.c: Likewise.
2271
2e6fc1ac
GG
22722016-08-15 Gilles Gouaillardet <gilles.gouaillardet@gmail.com>
2273
2274 PR gcov-profile/67097
2275 * libgcov-util.c (gcov_profile_merge): Skip missing files.
2276
a266236e
ML
22772016-08-10 Martin Liska <mliska@suse.cz>
2278
2279 PR gcov-profile/58306
2280 * Makefile.in: New functions (modules) are added.
2281 * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
2282 function.
2283 (__gcov_pow2_profiler_atomic): New function.
2284 (__gcov_one_value_profiler_body): New argument is instroduced.
2285 (__gcov_one_value_profiler): Call with the new argument.
2286 (__gcov_one_value_profiler_atomic): Likewise.
2287 (__gcov_indirect_call_profiler_v2): Likewise.
2288 (__gcov_time_profiler_atomic): New function.
2289 (__gcov_average_profiler_atomic): Likewise.
2290 (__gcov_ior_profiler_atomic): Likewise.
2291 * libgcov.h: Declare the aforementioned functions.
2292
e0c8eebf
ML
22932016-08-09 Martin Liska <mliska@suse.cz>
2294
2295 * libgcov-util.c: Fix typo and GNU coding style.
2296
6dce6418
ML
22972016-08-09 Martin Liska <mliska@suse.cz>
2298
2299 * Makefile.in: Remove __gcov_indirect_call_profiler.
2300 * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
2301 function.
2302 * libgcov.h: And the declaration of the function.
2303
dcb1e137
ML
23042016-08-09 Martin Liska <mliska@suse.cz>
2305
2306 * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
2307 power of two.
2308
d6e69705
BS
23092016-07-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
2310
2311 * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
2312 * config/rs6000/_mulkc3.c: Likewise.
2313
96aa1f95
GJL
23142016-07-29 Georg-Johann Lay <avr@gjlay.de>
2315
2316 * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
2317 zero_reg as previous call to __umulhisi3 already cleared it.
2318
a1b01d34
AJ
23192016-07-21 Aurelien Jarno <aurelien@aurel32.net>
2320
2321 PR target/59833
2322 * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
2323
985a47b2
NC
23242016-07-19 Nick Clifton <nickc@redhat.com>
2325
2326 * config.host (m32r): Add m32r/t-m32r to tmake_file.
2327 Add crtinit.o and crtfini.o to extra_parts.
2328
f906f5ed
BS
23292016-07-12 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
2330
2331 * config/rs6000/_divkc3.c: New.
2332 * config/rs6000/_mulkc3.c: New.
2333 * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
2334 and _divkc3.
2335 * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
2336 fp128_ppc_funcs.
2337
82742404
HW
23382016-07-11 Hale Wang <hale.wang@arm.com>
2339 Andre Vieira <andre.simoesdiasvieira@arm.com>
2340
2341 * config/arm/lib1funcs.S: Add new wrapper.
2342
05a437c1
TP
23432016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
2344
2345 * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
2346
3d16d9ec
TP
23472016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
2348
2349 * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
2350 and ARMv5t* rather than for a fixed list of architectures.
2351
6f493951
TP
23522016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
2353
2354 * config/arm/bpabi-v6m.S: Clarify what architectures is the
2355 implementation suitable for.
2356 * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
2357 for all Thumb-1 only targets.
2358 (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
2359 (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
2360 __ARM_ARCH_6M__.
2361 (EQUIV): Likewise.
2362 (ARM_FUNC_ALIAS): Likewise.
2363 (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
2364 version.
2365 (modsi3): Likewise.
2366 (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
2367 (clzdi2): Likewise.
2368 (ctzsi2): Likewise.
2369 (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
2370 __ARM_ARCH_6M__ in guard for checking whether it is defined.
2371 (final includes): Test for NOT_ISA_TARGET_32BIT rather than
2372 __ARM_ARCH_6M__ and add comment to indicate the connection between
2373 this condition and the one in gcc/config/arm/elf.h.
2374 * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
2375 __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
2376 * config/arm/t-softfp: Likewise.
2377
1770511a
TS
23782016-07-06 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2379
2380 * libgcc2.c (SYMBOL__MAIN): Remove checks for
2381 CTOR_LISTS_DEFINED_EXTERNALLY.
2382
ba6be749
WL
23832016-06-28 Walter Lee <walt@tilera.com>
2384
2385 * config/tilepro/atomic.h: Do not include arch/spr_def.h and
2386 asm/unistd.h.
2387 (SPR_CMPEXCH_VALUE): Define for tilegx.
2388 (__NR_FAST_cmpxchg): Define for tilepro.
2389 (__NR_FAST_atomic_update): Define for tilepro.
2390 (__NR_FAST_cmpxchg64): Define for tilepro.
2391
a34c0db5
JS
23922016-06-23 Jakub Sejdak <jakub.sejdak@phoesys.com>
2393
18362447 2394 * config.host: Add suport for arm*-*-phoenix* targets.
a34c0db5 2395
0609abda
TS
23962016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2397
2398 * config.host: Remove support for mep-*.
2399 * config/mep/lib1funcs.S: Remove.
2400 * config/mep/lib2funcs.c: Remove.
2401 * config/mep/t-mep: Remove.
2402 * config/mep/tramp.c: Remove.
2403
3e326935
TS
24042016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2405
2406 * config.host: Remove support for avr-rtems.
2407 * config/avr/t-rtems: Remove.
2408
914b155c
TS
24092016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2410
2411 * config.host: Remove m32r-rtems support.
2412
5ebf89bd
TS
24132016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2414
2415 * config.host: Remove h8300-rtems support.
2416
8466af06
TS
24172016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2418
2419 * config.host: Remove support for knetbsd.
2420
d980e738
TS
24212016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2422
2423 * config.host: Remove support for openbsd 2 and 3.
2424
ee2499b4
TS
24252016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2426
2427 * config.host: Remove interix support.
2428 * config/i386/t-interix: Remove.
2429
9f92937b
JDA
24302016-06-18 John David Anglin <danglin@gcc.gnu.org>
2431
2432 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
2433 least-significant bit in function pointer for fixup.
2434
0a0ec53d
AC
24352016-06-05 Aaron Conole <aconole@redhat.com>
2436 Nathan Sidwell <nathan@acm.org>
2437
2438 PR libgcc/71400
2439 * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
2440 (get_gcov_error_file): Check __gcov_error_file before trying to
2441 initialize it.
2442 (gcov_error): Always use get_gcov_error_file.
2443
8aa5bdd6
AC
24442016-06-02 Aaron Conole <aconole@redhat.com>
2445
2446 * libgcov-driver-system.c (__gcov_error_file): New.
2447 (get_gcov_error_file): New.
2448 (gcov_error): Use and set __gcov_error_file.
2449 (gcov_error_exit): New.
2450 * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
2451
40774faf
NS
24522016-05-26 Nathan Sidwell <nathan@acm.org>
2453
2454 * config/nvptx/free.asm: Delete.
2455 * config/nvptx/malloc.asm: Delete.
2456 * config/nvptx/realloc.c: Delete.
2457 * t-nvptx: Update.
2458
69a6d5ad
NS
24592016-05-25 Nathan Sidwell <nathan@acm.org>
2460
2461 * config/nvptx/crt0.s: Delete.
2462 * config/nvptx/crt0.c: New.
2463 * t-nvptx: Update.
2464
6befaff6
SL
24652016-05-19 Sandra Loosemore <sandra@codesourcery.com>
2466
385c7747 2467 * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
6befaff6
SL
2468 dw2/seh configuration.
2469 [x86_64-*-mingw*]: Likewise.
2470
ad251dfd
JS
24712016-05-10 Joel Sherrill <joel@rtems.org>
2472
2473 PR libgcc/70720
2474 * config.host (moxie-*-rtems*): Merge this stanza with other moxie
2475 targets so the same extra_parts are built. Also have tmake_file add
2476 on to its value rather than override.
2477
bc6d9014
OE
24782016-04-30 Oleg Endo <olegendo@gcc.gnu.org>
2479
2480 * config.host: Remove SH5 support.
2481 * configure: Likewise.
2482
9129c8cf
OE
24832016-04-29 Oleg Endo <olegendo@gcc.gnu.org>
2484
2485 * config/sh/crt1.S: Remove SH5 support.
2486 * config/sh/crti.S: Likewise.
2487 * config/sh/crtn.S: Likewise.
2488 * config/sh/lib1funcs-4-300.S: Likewise.
2489 * config/sh/lib1funcs-Os-4-200.S: Likewise.
2490 * config/sh/lib1funcs.S: Likewise.
2491 * config/sh/linux-unwind.h: Likewise.
2492 * config/sh/t-sh64: Delete.
2493
39d50464
CZ
24942016-04-29 Claudiu Zissulescu <claziss@synopsys.com>
2495
2496 * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
2497
8b48923b
CZ
24982016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
2499 Joern Rennecke <joern.rennecke@embecosm.com>
2500
2501 * config/arc/crttls.S: New file.
2502 * config/arc/t-arc: New rule.
2503 * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
2504
2de1cf8c
NC
25052016-04-25 Nick Clifton <nickc@redhat.com>
2506
2507 * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
2508 (__mspabi_cmpd): Likewise.
2509 * config/msp430/floathidf.c (__floathidf): Likewise.
2510 * config/msp430/floathisf.c (__floathisf): Likewise
2511 * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
2512 * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
2513 * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
2514 second parameter.
2515 (__ashrsi3): Likewise.
2516
b8ce3fe2
WB
25172016-04-21 Waldemar Brodkorb <wbx@openadk.org>
2518
2519 * config/m68k/linux-atomic.c: Do not include unistd.h
2520
4986f823
MG
25212016-04-20 Martin Galvan <martin.galvan@tallertechnologies.com>
2522
2523 * config/arm/ieee754-df.S: Fix typos in comments.
2524
35fbda43
MM
25252016-04-11 Michael Meissner <meissner@linux.vnet.ibm.com>
2526
2527 PR target/70381
2528 * configure.ac (powerpc*-*-linux*): Rework tests to build
2529 __float128 emulation routines to not depend on using #pragma GCC
2530 target to enable -mfloat128.
2531 * configure: Regnerate.
2532
72d1a48d
EB
25332016-04-04 Eric Botcazou <ebotcazou@adacore.com>
2534
2535 PR target/67172
2536 * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
2537 __MINGW32__ is defined.
2538
dc2e8995
JB
25392016-03-28 James Bowman <james.bowman@ftdichip.com>
2540
385c7747 2541 * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
dc2e8995 2542
104cdaf1
MM
25432016-03-22 Michael Meissner <meissner@linux.vnet.ibm.com>
2544
2545 PR libgcc/70363
2546 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
2547 built with an assembler that does not support ISA 3.0
2548 instructions, rename __extendkftf2_sw to __extendkftf2.
2549
a5046f48
RO
25502016-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2551
2552 PR target/38239
2553 * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
2554 call-clobbered registers.
2555 (internal_mcount): Remove __i386__ handling.
2556
df674f74
JS
25572016-02-26 Joel Sherrill <joel@rtems.org>
2558
2559 * config.host: Add x86_64-*-rtems*.
2560
7cb065d6
JS
25612016-02-26 Joel Sherrill <joel@rtems.org>
2562
2563 * libgcc/config.host: Add aarch64-*-rtems*.
2564
47dfdc53
PM
25652016-02-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2566 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
2567
2568 * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
2569 union of u64 and double.
2570 (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
2571 (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
2572 value.
2573 (FP_ROUNDMODE): Update the usage of _fpscr.
2574
e6861a99
IV
25752016-02-25 Ilya Verbin <ilya.verbin@intel.com>
2576
2577 PR driver/68463
2578 * Makefile.in (crtoffloadtable$(objext)): New rule.
2579 * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
2580 enable_offload_targets is not empty.
2581 * configure: Regenerate.
2582 * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
2583 crtoffloadtable.
2584
9bfcbdee
MF
25852016-02-17 Max Filippov <jcmvbkbc@gmail.com>
2586
2587 * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
2588 .literal_position before the function.
2589 * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
2590 Likewise.
2591
4cb4721f
MK
25922016-02-15 Marcin Kościelnicki <koriakin@0x04.net>
2593
2594 * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
2595 * config/s390/morestack.S: New file.
2596 * config/s390/t-stack-s390: New file.
2597 * generic-morestack.c (__splitstack_find): Add s390-specific code.
2598
b29d9a29
WL
25992016-02-12 Walter Lee <walt@tilera.com>
2600
2601 * config.host (tilegx*-*-linux*): remove ti from
2602 softfp_int_modes for 32-bit configs.
2603
03a0ae7d
ILT
26042016-02-10 Ian Lance Taylor <iant@google.com>
2605
2606 PR go/68562
2607 * config/i386/morestack.S (__stack_split_initialize): Align
2608 stack.
2609
68750bce
AT
26102016-02-03 Andreas Tobler <andreast@gcc.gnu.org>
2611
2612 PR bootstrap/69611
2613 * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
2614 __FLOAT128__ to compile only for __float128 capable targets.
2615
7d296953
JJ
26162016-01-25 Jakub Jelinek <jakub@redhat.com>
2617
2618 PR target/69444
2619 * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
2620 instead of ___NO_FPRS__.
2621
a71c0334 26222016-01-21 Michael Meissner <meissner@linux.vnet.ibm.com>
7d296953
JJ
2623 Steven Munroe <munroesj@linux.vnet.ibm.com>
2624 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
a71c0334
MM
2625
2626 * config/rs6000/float128-sed: New files to convert TF names to KF
2627 names for PowerPC IEEE 128-bit floating point support.
2628 * config/rs6000/float128-sed-hw: Likewise.
2629
2630 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
2631 floating point hardware support.
2632
2633 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
2634 128-bit floating point software emulation or use ISA 3.0 hardware
2635 support if it is available.
2636
2637 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
2638 floating point.
2639
2640 * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
2641 floating point to IBM extended double.
2642
2643 * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
2644 double to IEEE 128-bit floating point.
2645
2646 * config/rs6000/t-float128: New Makefile fragments to enable
2647 building __float128 emulation support.
2648 * config/rs6000/t-float128-hw: Likewise.
2649
2650 * config/rs6000/sfp-exceptions.c: New file to provide exception
2651 support for IEEE 128-bit floating point.
2652
2653 * config/rs6000/floattikf.c: New files for converting between IEEE
2654 128-bit floating point and signed/unsigned 128-bit integers.
2655 * config/rs6000/fixunskfti.c: Likewise.
2656 * config/rs6000/fixkfti.c: Likewise.
2657 * config/rs6000/floatuntikf.c: Likewise.
2658
2659 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
2660 when building on 64-bit systems, or when VSX is enabled.
2661 (_FP_W_TYPE): Likewise.
2662 (_FP_WS_TYPE): Likewise.
2663 (_FP_I_TYPE): Likewise.
2664 (TItype): Define on 64-bit systems.
2665 (UTItype): Likewise.
2666 (TI_BITS): Likewise.
2667 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
2668 (_FP_MUL_MEAT_Q): Likewise.
2669 (_FP_DIV_MEAT_D): Likewise.
2670 (_FP_DIV_MEAT_Q): Likewise.
2671 (_FP_NANFRAC_D): Likewise.
2672 (_FP_NANFRAC_Q): Likewise.
2673 (ISA_BIT): Add exception support if we are being compiled on a
2674 machine with hardware floating point support to build the IEEE
2675 128-bit emulation functions.
2676 (FP_EX_INVALID): Likewise.
2677 (FP_EX_OVERFLOW): Likewise.
2678 (FP_EX_UNDERFLOW): Likewise.
2679 (FP_EX_DIVZERO): Likewise.
2680 (FP_EX_INEXACT): Likewise.
2681 (FP_EX_ALL): Likewise.
2682 (__sfp_handle_exceptions): Likewise.
2683 (FP_HANDLE_EXCEPTIONS): Likewise.
2684 (FP_RND_NEAREST): Likewise.
2685 (FP_RND_ZERO): Likewise.
2686 (FP_RND_PINF): Likewise.
2687 (FP_RND_MINF): Likewise.
2688 (FP_RND_MASK): Likewise.
2689 (_FP_DECL_EX): Likewise.
2690 (FP_INIT_ROUNDMODE): Likewise.
2691 (FP_ROUNDMODE): Likewise.
2692
2693 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
2694 VSX code, enable IEEE 128-bit floating point. If the compiler can
2695 compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
2696 floating point hardware instructions and it supports declaring
2697 functions with the ifunc attribute, enable ifunc functions to
2698 switch between software and hardware support.
2699 * configure.ac (powerpc*-*-linux*): Likewise.
2700 * configure: Regenerate.
2701
bdc27e50
NC
27022016-01-15 Nick Clifton <nickc@redhat.com>
2703
2704 * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
2705 dependency as the source file to be compiled.
2706 (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
2707 (lib2hw_mul_f5.o): Likewise.
2708
006df05d
MM
27092016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
2710
2711 * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
2712 * libgcc/config/rs6000/fixkfti.c: Likewise.
2713 * libgcc/config/rs6000/fixunskfti.c: Likewise.
2714 * libgcc/config/rs6000/float128-hw.c: Likewise.
2715 * libgcc/config/rs6000/float128-ifunc.c: Likewise.
2716 * libgcc/config/rs6000/float128-sed: Likewise.
2717 * libgcc/config/rs6000/floattikf.c: Likewise.
2718 * libgcc/config/rs6000/floatuntikf.c: Likewise.
2719 * libgcc/config/rs6000/quad-float128.h: Likewise.
2720 * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
2721 * libgcc/config/rs6000/sfp-machine.h: Likewise.
2722 * libgcc/config/rs6000/t-float128: Likewise.
2723 * libgcc/config/rs6000/t-float128-hw: Likewise.
2724 * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
2725 * libgcc/config.host: Likewise.
2726 * libgcc/configure: Likewise.
2727 * libgcc/configure.ac: Likewise.
2728
29176d57 27292016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
7d296953
JJ
2730 Steven Munroe <munroesj@linux.vnet.ibm.com>
2731 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
29176d57
MM
2732
2733 * config/rs6000/sfp-exceptions.c: New file to provide exception
2734 support for IEEE 128-bit floating point.
2735
2736 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
2737 floating point hardware support.
2738
2739 * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
2740 point conversions.
2741 * config/rs6000/fixunskfti.c: Likewise.
2742 * config/rs6000/fixkfti.c: Likewise.
2743 * config/rs6000/floatuntikf.c: Likewise.
2744 * config/rs6000/extendkftf2-sw.c: Likewise.
2745 * config/rs6000/trunctfkf2-sw.c: Likewise.
2746
2747 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
2748 128-bit floating point software emulation or use ISA 3.0 hardware
2749 support if it is available.
2750
2751 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
2752 floating point.
2753
2754 * config/rs6000/t-float128: New Makefile fragments to enable
2755 building __float128 emulation support.
2756 * config/rs6000/t-float128-hw: Likewise.
2757
2758 * config/rs6000/float128-sed: New file to convert TF names to KF
2759 names for PowerPC IEEE 128-bit floating point support.
2760
2761 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
2762 when building on 64-bit systems, or when VSX is enabled.
2763 (_FP_W_TYPE): Likewise.
2764 (_FP_WS_TYPE): Likewise.
2765 (_FP_I_TYPE): Likewise.
2766 (TItype): Define on 64-bit systems.
2767 (UTItype): Likewise.
2768 (TI_BITS): Likewise.
2769 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
2770 (_FP_MUL_MEAT_Q): Likewise.
2771 (_FP_DIV_MEAT_D): Likewise.
2772 (_FP_DIV_MEAT_Q): Likewise.
2773 (_FP_NANFRAC_D): Likewise.
2774 (_FP_NANFRAC_Q): Likewise.
2775 (ISA_BIT): Add exception support if we are being compiled on a
2776 machine with hardware floating point support to build the IEEE
2777 128-bit emulation functions.
2778 (FP_EX_INVALID): Likewise.
2779 (FP_EX_OVERFLOW): Likewise.
2780 (FP_EX_UNDERFLOW): Likewise.
2781 (FP_EX_DIVZERO): Likewise.
2782 (FP_EX_INEXACT): Likewise.
2783 (FP_EX_ALL): Likewise.
2784 (__sfp_handle_exceptions): Likewise.
2785 (FP_HANDLE_EXCEPTIONS): Likewise.
2786 (FP_RND_NEAREST): Likewise.
2787 (FP_RND_ZERO): Likewise.
2788 (FP_RND_PINF): Likewise.
2789 (FP_RND_MINF): Likewise.
2790 (FP_RND_MASK): Likewise.
2791 (_FP_DECL_EX): Likewise.
2792 (FP_INIT_ROUNDMODE): Likewise.
2793 (FP_ROUNDMODE): Likewise.
2794
2795 * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
2796 compiler can do __float128.
2797 * configure: Regenerate.
2798
2799 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
2800 VSX code, enable IEEE 128-bit floating point.
2801
a2218983
OH
28022016-01-05 Olivier Hainque <hainque@adacore.com>
2803
2804 * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
29176d57 2805 specificities.
a2218983 2806
818ab71a
JJ
28072016-01-04 Jakub Jelinek <jakub@redhat.com>
2808
2809 Update copyright years.
2810
5a6c8ffa
AP
28112015-12-18 Andris Pavenis <andris.pavenis@iki.fi>
2812
2813 * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
29176d57 2814 soft-fp targets.
5a6c8ffa 2815
077067a5
BE
28162015-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
2817
2818 * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
2819 instead of abort to avoid dependency on stdlib.h.
2820
787c1027
JDA
28212015-12-09 John David Anglin <danglin@gcc.gnu.org>
2822
2823 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
2824 to initialize call to __dl_fixup once.
2825
04a9ae28
NC
28262015-12-04 Nick Clifton <nickc@redhat.com>
2827
2828 * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
2829 Allow for the second argument being negative.
2830 * config.host (extra_parts): Define for MSP430. Create separate
2831 libraries for each of the hardware multiply formats.
2832 * config/msp430/lib2hw_mul.S: Build only the multiply routines
2833 that are needed.
2834 * config/msp430/lib2mul.c: Likewise.
2835 * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
2836 Add rules to build hardware multiply libraries.
2837 * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
2838 __mspabi_divul function.
2839 (__mspabi_divllu): New stub function.
2840
9a32d437
JDA
28412015-12-01 John David Anglin <danglin@gcc.gnu.org>
2842
2843 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
2844 fixup values if saved GOT address doesn't match runtime address.
2845 (fixup_branch_offset): Reorder list.
2846
e5ef217c
RO
28472015-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2848
2849 * Makefile.in (VTV_CFLAGS): New variable.
2850 (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
2851 (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
2852 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
2853 Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
2854 to extra_parts if $enable_vtable_verify = yes.
2855
78cc43a2
SN
28562015-11-23 Szabolcs Nagy <szabolcs.nagy@arm.com>
2857
2858 PR target/68059
2859 * config/arm/linux-atomic-64bit.c (__write): Rename to...
2860 (write): ...this and fix the return type.
2861
9afebea2
DD
28622015-11-19 DJ Delorie <dj@redhat.com>
2863
2864 * config/msp430/lib2hw_mul.S: Fix alignment.
2865
33f47f42
NS
28662015-11-18 Nathan Sidwell <nathan@codesourcery.com>
2867
2868 * config/nvptx/reduction.c: New.
2869 * config/nvptx/t-nvptx (LIB2ADD): Add it.
2870
d9adb476
DE
28712015-11-15 David Edelsohn <dje.gcc@gmail.com>
2872
2873 * config/rs6000/on_exit.c: New file.
2874 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
2875 * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
2876
c0ab1970
CZ
28772015-11-11 Claudiu Zissulescu <claziss@synopsys.com>
2878
2879 * config/arc/dp-hack.h: Add support for ARCHS.
2880 * config/arc/ieee-754/divdf3.S: Likewise.
2881 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
2882 * config/arc/ieee-754/muldf3.S: Likewise.
2883 * config/arc/ieee-754/mulsf3.S: Likewise
2884 * config/arc/lib1funcs.S: Likewise
2885 * config/arc/gmon/dcache_linesz.S: Don't read the build register
2886 for ARCv2 cores.
2887 * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
2888 for ARCv2 cores.
2889 * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
2890 * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
2891 cores.
2892
e6b6bf09
RO
28932015-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2894
2895 * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
2896 value.
2897 * config/ia64/crtend.S: Likewise.
2898
a153644f
TS
28992015-11-07 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2900
2901 * config/visium/lib2funcs.c (__set_trampoline_parity): Use
2902 __CHAR_BIT__ instead of BITS_PER_UNIT.
2903 * fixed-bit.h: Likewise.
2904 * fp-bit.h: Likewise.
2905 * libgcc2.c (__popcountSI2): Likewise.
2906 (__popcountDI2): Likewise.
2907 * libgcc2.h: Likewise.
2908 * libgcov.h: Likewise.
2909
3dee689d
DE
29102015-11-07 David Edelsohn <dje.gcc@gmail.com>
2911
2912 * config/rs6000/atexit.c: New file.
2913 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
2914 * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
2915 * config/rs6000/cxa_finalize.c
2916 (catomic_compare_and_exchange_bool_acq): Negate return value.
2917
2ef543e4
VK
29182015-10-30 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
2919
2920 * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
2921 (processor_subtypes): Add znver1.
2922 (get_amd_cpu): Detect znver1.
2923
1300f017
CL
29242015-10-29 Christophe Lyon <christophe.lyon@linaro.org>
2925
2926 * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
2927 Include crtfastmath.o.
2928
3e5bb7ee
JR
29292015-10-23 Joern Rennecke <joern.rennecke@embecosm.com>
2930
2931 PR libgcc/66883
2932 * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
1300f017 2933
793aa938
KP
29342015-10-16 Kaushik Phatak <kaushik.phatak@kpit.com>
2935
2936 * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
2937 * config/rl78/divmodsi.S: Update return register to r8.
2938 * config/rl78/divmodhi.S: Update return register to r8,r9.
2939 Branch to main_loop_done_himode to pop registers before return.
2940
7d296953 29412015-10-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
fac812f0
VK
2942
2943 * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
2944 (__cpu_indicator_init): Fix model selection for AMD CPUs.
2945
6a192b5a
KY
29462015-10-05 Kirill Yukhin <kirill.yukhin@intel.com>
2947
2948 * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
2949
4a0a9457
MF
29502015-10-03 Max Filippov <jcmvbkbc@gmail.com>
2951
2952 * config.host (xtensa*-*-uclinux*): New configuration.
2953
ab91c076
KY
29542015-10-02 Kirill Yukhin <kirill.yukhin@intel.com>
2955
385c7747 2956 * config/i386/cpuinfo.c (processor_features): Add
ab91c076
KY
2957 FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
2958
30954527
JM
29592015-09-28 Joseph Myers <joseph@codesourcery.com>
2960
2961 * soft-fp/adddf3.c: Update from glibc.
2962 * soft-fp/addsf3.c: Likewise.
2963 * soft-fp/addtf3.c: Likewise.
2964 * soft-fp/divdf3.c: Likewise.
2965 * soft-fp/divsf3.c: Likewise.
2966 * soft-fp/divtf3.c: Likewise.
2967 * soft-fp/double.h: Likewise.
2968 * soft-fp/eqdf2.c: Likewise.
2969 * soft-fp/eqsf2.c: Likewise.
2970 * soft-fp/eqtf2.c: Likewise.
2971 * soft-fp/extenddftf2.c: Likewise.
2972 * soft-fp/extended.h: Likewise.
2973 * soft-fp/extendsfdf2.c: Likewise.
2974 * soft-fp/extendsftf2.c: Likewise.
2975 * soft-fp/extendxftf2.c: Likewise.
2976 * soft-fp/fixdfdi.c: Likewise.
2977 * soft-fp/fixdfsi.c: Likewise.
2978 * soft-fp/fixdfti.c: Likewise.
2979 * soft-fp/fixsfdi.c: Likewise.
2980 * soft-fp/fixsfsi.c: Likewise.
2981 * soft-fp/fixsfti.c: Likewise.
2982 * soft-fp/fixtfdi.c: Likewise.
2983 * soft-fp/fixtfsi.c: Likewise.
2984 * soft-fp/fixtfti.c: Likewise.
2985 * soft-fp/fixunsdfdi.c: Likewise.
2986 * soft-fp/fixunsdfsi.c: Likewise.
2987 * soft-fp/fixunsdfti.c: Likewise.
2988 * soft-fp/fixunssfdi.c: Likewise.
2989 * soft-fp/fixunssfsi.c: Likewise.
2990 * soft-fp/fixunssfti.c: Likewise.
2991 * soft-fp/fixunstfdi.c: Likewise.
2992 * soft-fp/fixunstfsi.c: Likewise.
2993 * soft-fp/fixunstfti.c: Likewise.
2994 * soft-fp/floatdidf.c: Likewise.
2995 * soft-fp/floatdisf.c: Likewise.
2996 * soft-fp/floatditf.c: Likewise.
2997 * soft-fp/floatsidf.c: Likewise.
2998 * soft-fp/floatsisf.c: Likewise.
2999 * soft-fp/floatsitf.c: Likewise.
3000 * soft-fp/floattidf.c: Likewise.
3001 * soft-fp/floattisf.c: Likewise.
3002 * soft-fp/floattitf.c: Likewise.
3003 * soft-fp/floatundidf.c: Likewise.
3004 * soft-fp/floatundisf.c: Likewise.
3005 * soft-fp/floatunditf.c: Likewise.
3006 * soft-fp/floatunsidf.c: Likewise.
3007 * soft-fp/floatunsisf.c: Likewise.
3008 * soft-fp/floatunsitf.c: Likewise.
3009 * soft-fp/floatuntidf.c: Likewise.
3010 * soft-fp/floatuntisf.c: Likewise.
3011 * soft-fp/floatuntitf.c: Likewise.
3012 * soft-fp/gedf2.c: Likewise.
3013 * soft-fp/gesf2.c: Likewise.
3014 * soft-fp/getf2.c: Likewise.
3015 * soft-fp/ledf2.c: Likewise.
3016 * soft-fp/lesf2.c: Likewise.
3017 * soft-fp/letf2.c: Likewise.
3018 * soft-fp/muldf3.c: Likewise.
3019 * soft-fp/mulsf3.c: Likewise.
3020 * soft-fp/multf3.c: Likewise.
3021 * soft-fp/negdf2.c: Likewise.
3022 * soft-fp/negsf2.c: Likewise.
3023 * soft-fp/negtf2.c: Likewise.
3024 * soft-fp/op-1.h: Likewise.
3025 * soft-fp/op-2.h: Likewise.
3026 * soft-fp/op-4.h: Likewise.
3027 * soft-fp/op-8.h: Likewise.
3028 * soft-fp/op-common.h: Likewise.
3029 * soft-fp/quad.h: Likewise.
3030 * soft-fp/single.h: Likewise.
3031 * soft-fp/soft-fp.h: Likewise.
3032 * soft-fp/subdf3.c: Likewise.
3033 * soft-fp/subsf3.c: Likewise.
3034 * soft-fp/subtf3.c: Likewise.
3035 * soft-fp/truncdfsf2.c: Likewise.
3036 * soft-fp/trunctfdf2.c: Likewise.
3037 * soft-fp/trunctfsf2.c: Likewise.
3038 * soft-fp/trunctfxf2.c: Likewise.
3039 * soft-fp/unorddf2.c: Likewise.
3040 * soft-fp/unordsf2.c: Likewise.
3041 * soft-fp/unordtf2.c: Likewise.
3042
4dfe21ac
RE
30432015-09-24 Richard Earnshaw <rearnsha@arm.com>
3044
3045 PR libgcc/67624
3046 * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
3047
df2a1cc4
RO
30482015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3049
3050 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
3051 Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
3052 * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
3053 messages.
3054 (internal_mcount): Likewise.
3055 * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
3056 crt_compile, add CRTSTUFF_T_CFLAGS_S.
3057
2d110442
RO
30582015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3059
3060 * configure.ac (libgcc_cv_solaris_crts): New test.
3061 * configure: Regenerate.
3062 * config.in: Regenerate.
3063 * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
3064 * config/gmon-sol2.c: Rename to ...
3065 * config/sol2/gmon.c: ... this.
3066 Include auto-target.h.
3067 (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
3068 * config/t-sol2: Rename to ...
3069 * config/sol2/t-sol2: ... this.
3070 (gmon.o): Reflect renaming.
3071 (crtp.o, crtpg.o): New rules.
3072 * config.host (*-*-solaris2*): Reflect renaming.
3073 Use system CRTs if present.
3074 Remove default CRT case.
3075
d572e439
JDA
30762015-09-23 John David Anglin <danglin@gcc.gnu.org>
3077
3078 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
3079 (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
3080 __kernel_cmpxchg2.
3081 (__sync_##OP##_and_fetch_##WIDTH): Likewise.
3082 (__sync_val_compare_and_swap_##WIDTH): Likewise.
3083 (__sync_bool_compare_and_swap_##WIDTH): Likewise.
3084 (__sync_lock_test_and_set_##WIDTH): Likewise.
3085 (__sync_lock_release_##WIDTH): Likewise.
3086 (__sync_fetch_and_##OP##_4): Change result to match type of
3087 __kernel_cmpxchg.
3088 (__sync_##OP##_and_fetch_4): Likewise.
3089 (__sync_val_compare_and_swap_4): Likewise.
3090 (__sync_bool_compare_and_swap_4): likewise.
3091 (__sync_lock_test_and_set_4): Likewise.
3092 (__sync_lock_release_4): Likewise.
3093 (FETCH_AND_OP_2): Add long long variants.
3094 (OP_AND_FETCH_2): Likewise.
3095 (COMPARE_AND_SWAP_2 ): Likewise.
3096 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
3097 (SYNC_LOCK_RELEASE_2): Likewise.
3098 (__sync_bool_compare_and_swap_##WIDTH): Correct return.
3099
7d296953 31002015-09-22 Kirill Yukhin <kirill.yukhin@intel.com>
06caf59d
KY
3101
3102 * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
3103 FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
3104 FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
3105 (get_available_features): Habdle new features.
3106
131314e1
JB
31072015-09-21 James Bowman <james.bowman@ftdichip.com>
3108
3109 * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
3110 memory layout. Deal correctly with BSS region larger than 32K.
3111 Handle a watchdog reset like a power-on reset. Clean up unused
3112 code.
3113
04218b35
AD
31142015-09-18 Andrew Dixie <andrewd@gentrack.com>
3115 David Edelsohn <dje.gcc@gmail.com>
3116
3117 * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
3118 * config/rs6000/crtdbase.S: New file.
3119 * config/rs6000/t-aix-cxa: Build crtdbase.o.
3120
c8338173
MF
31212015-09-15 Max Filippov <jcmvbkbc@gmail.com>
3122
3123 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
3124 Add support for call0 ABI.
3125
7a84bf71
JDA
31262015-09-13 John David Anglin <danglin@gcc.gnu.org>
3127
3128 * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
3129
4efab402
SH
31302015-09-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
3131
3132 * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
3133 (__GTHREAD_HAS_COND): Likewise.
3134 (__gthread_t): Likewise.
3135 (__gthread_cond_t): Likewise.
3136 (__gthread_time_t): Likewise.
3137 (__GTHREAD_MUTEX_INIT): Likewise.
3138 (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
3139 (__GTHREAD_COND_INIT): Likewise.
3140 (__GTHREAD_COND_INIT_FUNCTION): Likewise.
3141 (__GTHREAD_TIME_INIT): Likewise.
3142 (__gthread_create): Likewise.
3143 (__gthread_join): Likewise.
3144 (__gthread_detach): Likewise.
3145 (__gthread_equal): Likewise.
3146 (__gthread_self): Likewise.
3147 (__gthread_yield): Likewise.
3148 (__gthread_cond_broadcast): Likewise.
3149 (__gthread_cond_signal): Likewise.
3150 (__gthread_cond_wait): Likewise.
3151 (__gthread_cond_timedwait): Likewise.
3152 (__gthread_cond_wait_recursive): Likewise.
3153 (__gthread_cond_destroy): Likewise.
3154 (rtems_gxx_once): Delete.
3155 (rtems_gxx_key_create): Likewise.
3156 (rtems_gxx_key_delete): Likewise.
3157 (rtems_gxx_getspecific): Likewise.
3158 (rtems_gxx_setspecific): Likewise.
3159 (rtems_gxx_mutex_init): Likewise.
3160 (rtems_gxx_mutex_destroy): Likewise.
3161 (rtems_gxx_mutex_lock): Likewise.
3162 (rtems_gxx_mutex_trylock): Likewise.
3163 (rtems_gxx_mutex_unlock): Likewise.
3164 (rtems_gxx_recursive_mutex_init): Likewise.
3165 (rtems_gxx_recursive_mutex_lock): Likewise.
3166 (rtems_gxx_recursive_mutex_trylock): Likewise.
3167 (rtems_gxx_recursive_mutex_unlock): Likewise.
3168 (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
3169 (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
3170 (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
3171 (__gthread_once): Likewise.
3172 (__gthread_key_create): Likewise.
3173 (__gthread_key_delete): Likewise.
3174 (__gthread_getspecific): Likewise.
3175 (__gthread_setspecific): Likewise.
3176 (__gthread_key_t): Use <pthread.h> type.
3177 (__gthread_once_t): Likewise
3178 (__gthread_mutex_t): Use <sys/lock.h> type.
3179 (__gthread_recursive_mutex_t): Likewise
3180 (__gthread_mutex_lock): Use <sys/lock.h> function.
3181 (__gthread_mutex_trylock): Likewise.
3182 (__gthread_mutex_timedlock): Likewise.
3183 (__gthread_mutex_unlock): Likewise.
3184 (__gthread_mutex_destroy): Likewise.
3185 (__gthread_recursive_mutex_lock): Likewise.
3186 (__gthread_recursive_mutex_trylock): Likewise.
3187 (__gthread_recursive_mutex_timedlock): Likewise.
3188 (__gthread_recursive_mutex_unlock): Likewise.
3189 (__gthread_recursive_mutex_destroy): Likewise.
3190
991995c4
MF
31912015-08-18 Max Filippov <jcmvbkbc@gmail.com>
3192
3193 * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
3194 context->sp instead of context->cfa.
3195
0e19db59
MF
31962015-08-18 Max Filippov <jcmvbkbc@gmail.com>
3197
3198 * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
3199 with unwind-dw2-fde-dip.
3200
b6ac5f62
MF
32012015-08-18 Max Filippov <jcmvbkbc@gmail.com>
3202
3203 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
3204 CALL12 followed by series of ENTRY to spill windowed registers.
3205 (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
3206 instead of making linux spill syscall.
3207
3e0f3349
YR
32082015-08-14 Yuri Rumyantsev <ysrumyan@gmail.com>
3209
3210 * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
3211 (get_intel_cpu): Likewise.
3212
51c728b1
L
32132015-08-12 H.J. Lu <hongjiu.lu@intel.com>
3214
3215 * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
3216 (get_intel_cpu): Add Knights Landing support.
3217
aff4eeac
UB
32182015-08-11 Uros Bizjak <ubizjak@gmail.com>
3219
3220 PR target/66954
3221 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
3222 (get_available_features): Handle FEATURE_PCLMUL.
3223
736e56da
L
32242015-08-10 H.J. Lu <hongjiu.lu@intel.com>
3225
3226 * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
3227 Broadwell.
3228
54d22142
UB
32292015-07-22 Uros Bizjak <ubizjak@gmail.com>
3230
3231 PR target/66954
3232 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
3233 (get_available_features): Handle FEATURE_AES.
3234
20ca17e4
CLT
32352015-07-22 Chung-Lin Tang <cltang@codesourcery.com>
3236
3237 * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
3238 (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
3239
ebe4a560
NS
32402015-07-17 Nathan Sidwell <nathan@codesourcery.com>
3241
3242 * offloadstuff.c: Constify host data.
3243
180744c0
JB
32442015-07-17 Jan Beulich <jbeulich@suse.com>
3245
3246 * config/t-softfp: Split up "else ifneq".
3247
a03c6ae3
SL
32482015-07-14 Sandra Loosemore <sandra@codesourcery.com>
3249 Cesar Philippidis <cesar@codesourcery.com>
3250 Chung-Lin Tang <cltang@codesourcery.com>
3251
3252 * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
3253 for __nios2_arch__ level.
3254
73358db5
JM
32552015-07-13 John Marino <gnugcc@marino.st>
3256
3257 * config/i386/t-dragonfly: New.
3258
f9a12f7b
JDA
32592015-07-01 John David Anglin <danglin@gcc.gnu.org>
3260
3261 * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
3262 better match light-weight syscall argument order.
3263 (__kernel_cmpxchg2): Likewise.
3264 Adjust callers.
3265
cb78b51c
L
32662015-06-30 H.J. Lu <hongjiu.lu@intel.com>
3267
3268 * config.host: Support i[34567]86-*-elfiamcu target.
3269 * config/t-softfp-sfdftf: New file.
3270 * config/i386/32/t-iamcu: Likewise.
3271 * configure: Regenerated.
3272
4fa0f9ea
JL
32732015-06-23 James Lemke <jwlemke@codesourcery.com>
3274
3275 libgcc/config/arm/
3276 * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
3277
428b3812
L
32782015-05-27 H.J. Lu <hongjiu.lu@intel.com>
3279
3280 * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
3281
7d296953 32822015-05-27 John Marino <gnugcc@marino.st>
89c54dd3
JM
3283
3284 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
3285 md_unwind_header
3286 * config/i386/freebsd-unwind.h: New.
3287
9b789cc1
UB
32882015-05-22 Uros Bizjak <ubizjak@gmail.com>
3289
3290 * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
3291 i386/t-crtfm to tmake_file.
3292 * config/i386/crtfastmath.c (set_fast_math_sse): New function.
3293 (set_fast_math): Use set_fast_math_sse for SSE targets.
3294 * config/i386/t-crtfm: Remove.
3295
3dafb220
AM
32962015-05-21 Alan Modra <amodra@gmail.com>
3297
3298 PR libgcc/66225
3299 * config/rs6000/morestack.S: Remove ".abiversion 1".
3300
0f0fd745
AM
33012015-05-20 Alan Modra <amodra@gmail.com>
3302
3303 * config/rs6000/morestack.S: New.
3304 * config/rs6000/t-stack-rs6000: New.
3305 * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
3306 to tmake_file.
3307 * generic-morestack.c: Don't build for powerpc 32-bit.
3308
515ae71b
EB
33092015-05-19 Eric Botcazou <ebotcazou@adacore.com>
3310
3311 * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
3312 Remove useless endif/ifneq ($(enable_shared),yes) pair.
3313
36805406
JL
33142015-05-16 James Bowman <james.bowman@ftdichip.com>
3315
3316 * config.host: FT32 target added.
3317 * config/ft32/*: New files for FT32 target.
3318
ff935d0c
MG
33192015-05-15 Martin Galvan <martin.galvan@tallertechnologies.com>
3320
385c7747
UB
3321 * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
3322 New macros.
3323 * config/arm/ieee754-df.S: Add CFI directives.
3324 * config/arm/ieee754-sf.S: Add CFI directives.
ff935d0c 3325
9b92a9f3
EB
33262015-05-13 Eric Botcazou <ebotcazou@adacore.com>
3327
3328 * configure.ac: Include config/sjlj.m4.
3329 Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
3330 * config.in: Regenerate.
3331 * configure: Likewise.
3332 * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
3333
98b5dc61
UB
33342015-05-12 Uros Bizjak <ubizjak@gmail.com>
3335
3336 * libgcov-util.c: Add space between string literal and macro name.
3337
5a0ff57c
SL
33382015-05-06 Sandra Loosemore <sandra@codesourcery.com>
3339 Chris Jones <chrisj@nvidia.com>
3340 Joshua Conner <jconner@nvidia.com>
3341
3342 * config.host (arm*-*-linux*): Add support for crtfastmath.o.
3343 (arm*-*-uclinux*): Likewise.
3344 (arm*-*-eabi* | arm*-*-rtems*): Likewise.
3345 * config/arm/crtfastmath.c: New file.
3346
d28ad5d4
BS
33472014-04-29 Bernd Schmidt <bernds@codesourcery.com>
3348
3349 * Makefile.in (real_host_noncanonical): New variable.
3350 (libsubdir): Use it.
3351 * configure.ac (real_host_noncanonical): Compute. Remove special
3352 case for intelmicemul.
3353 * configure: Regenerate.
3354
cc86234f
UB
33552015-04-28 Uros Bizjak <ubizjak@gmail.com>
3356
3357 * config/frv/elf-lib.h: New file.
3358 (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
3359 * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
3360 to tm_file.
3361
33622015-04-28 Uros Bizjak <ubizjak@gmail.com>
3363
3364 * config/frv/frvbengin.c: Do not include defaults.h
3365 * config/frv/frvend.c: Ditto.
3366
2f6bd6eb
YS
33672015-04-27 Yoshinori Sato <ysato@users.sourceforge.jp>
3368
3369 * config.host: Add h8300-*-linux
3370 * config/h8300/t-linux: New file.
3371 * config/h8300/lib1funs.s: Change symbol prefix.
3372 * config/h8300/sfp-machine.h: 64bit double support.
3373
15aa7b44
GR
33742015-04-22 Gregor Richards <gregor.richards@uwaterloo.ca>
3375 Szabolcs Nagy <szabolcs.nagy@arm.com>
3376
3377 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
3378 Linux if target provides dl_iterate_phdr.
3379
abd0cdc9
L
33802015-04-17 H.J. Lu <hongjiu.lu@intel.com>
3381
3382 PR target/65612
3383 * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
3384 * config/i386/cpuinfo.c (__cpu_model): Initialize.
3385 (__cpu_indicator_init@GCC_4.8.0): New.
3386 (__cpu_model@GCC_4.8.0): Likewise.
3387 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
3388 -DUSE_ELF_SYMVER.
3389
72ed1126
NC
33902015-04-16 Nick Clifton <nickc@redhat.com>
3391
3392 * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
3393 and __modhi3 functions.
3394 * config/rl78/divmodso.S: Add G14 and G13 versions of the
3395 __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
3396
d26b2237
CG
33972015-04-15 Chen Gang <gang.chen.5i5j@gmail.com>
3398
3399 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
3400 do-while loop as macro body to avoid warnings.
3401
cacf1f59
JJ
34022015-04-10 Jakub Jelinek <jakub@redhat.com>
3403 Iain Sandoe <iain@codesourcery.com>
3404
3405 PR target/65351
3406 * configure: Regenerate.
3407
e8a4ed3b
JJ
34082015-04-07 Jakub Jelinek <jakub@redhat.com>
3409 Iain Sandoe <iain@codesourcery.com>
3410
3411 PR target/65351
3412 * configure: Regenerate.
3413
0341335e
CLT
34142015-03-25 Chung-Lin Tang <cltang@codesourcery.com>
3415
3416 * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
3417
590e2636 34182015-03-03 Max Filippov <jcmvbkbc@gmail.com>
0341335e 3419
590e2636
MF
3420 Implement call0 ABI for xtensa
3421 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
3422 __xtensa_nonlocal_goto): Don't compile for call0 ABI.
3423 (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
3424 use ret in call0 ABI.
3425 * config/xtensa/t-windowed: New file.
3426 * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
3427 * libgcc/configure: Regenerated.
3428 * libgcc/configure.ac: Check if xtensa target is configured for
3429 windowed ABI and thus needs to use custom unwind code.
3430
7727f8f2
JW
34312015-02-12 Jonathan Wakely <jwakely@redhat.com>
3432
3433 PR libgcc/64885
3434 * gthr-single.h: Use __unused__ attribute instead of unused.
3435 * config/gthr-vxworks.h: Likewise.
3436 * config/i386/gthr-win32.h: Likewise.
3437
0e4a0def
KT
34382015-02-27 Kai Tietz <ktietz@redhat.com>
3439
3440 PR target/65038
3441 * config.in: Regenerated.
3442 * configure: Likewise.
3443 * configure.ac (AC_HEADER_STDC): Added explicit.
3444 (AC_CHECK_HEADERS): Check for default headers plus
3445 for ftw.h header.
3446 * libgcov-util.c (gcov_read_profile_dir): Disable use
3447 of ftw-function, if header is not found.
3448 (ftw_read_file): Likewise.
3449
b6530d0a
TS
34502015-02-23 Thomas Schwinge <thomas@codesourcery.com>
3451
3452 PR target/65181
3453 * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
3454 -Dinhibit_libc.
3455
53cfb467
SL
34562015-02-17 Sandra Loosemore <sandra@codesourcery.com>
3457
3458 * config/arm/bpabi.S (test_div_by_zero): Make label names
3459 consistent between thumb2 and arm mode cases. Separate the
3460 signed comparison on the high word of the numerator from the
3461 unsigned comparison on the low word.
3462 * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
3463 signed comparison.
3464
77d10a1b
JM
34652015-02-17 Joseph Myers <joseph@codesourcery.com>
3466
3467 * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
3468 and <string.h>.
3469 (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
3470
98174188
RE
34712015-02-10 Rainer Emrich <rainer@emrich-ebersheim.de>
3472
3473 PR gcov-profile/61889
471274de 3474 * libgcov-driver-system.c: undefine clashing macro for mkdir.
98174188 3475
771bef14
NC
34762015-02-02 Nick Clifton <nickc@redhat.com>
3477
3478 * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
3479 rounding up the fraction.
3480
40702893
JDA
34812015-01-31 John David Anglin <danglin@gcc.gnu.org>
3482
3483 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
3484 oldval and newval to const void *. Fix typo.
3485 (FETCH_AND_OP_2): Use __atomic_load_n to load value.
3486 (FETCH_AND_OP_WORD): Likewise.
3487 (OP_AND_FETCH_WORD): Likewise.
3488 (COMPARE_AND_SWAP_2): Likewise.
3489 (__sync_val_compare_and_swap_4): Likewise.
3490 (__sync_lock_test_and_set_4): Likewise.
3491 (SYNC_LOCK_RELEASE_2): Likewise.
3492 Remove support for long long atomic operations.
3493
f7f049fa
CT
34942015-01-27 Caroline Tice <cmtice@google.com>
3495
3496 Committing VTV Cywin/Ming patch for Patrick Wollgast
3497 * Makefile.in: Move rules to build vtv_*.o out of the check
3498 for CUSTOM_CRTSTUFF.
3499 * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
3500 i[34567]86-*-mingw*)
3501 (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
3502 enable_vtable_verify.
3503
8410904a
NC
35042015-01-27 Nick Clifton <nickc@redhat.com>
3505
3506 * config/rl78/cmpsi2.S: Use function start and end macros.
3507 (__gcc_bcmp): New function.
3508 * config/rl78/lshrsi3.S: Use function start and end macros.
3509 * config/rl78/mulsi3.S: Add support for G10.
3510 (__mulqi3): New function for G10.
3511 * config/rl78/signbit.S: Use function start and end macros.
3512 * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
3513 fpmath-sf.S.
3514 (LIB2FUNCS_EXCLUDE): Define.
3515 (LIB2FUNCS_ST): Define.
3516 * config/rl78/trampoline.S: Use function start and end macros.
3517 * config/rl78/vregs.h (START_FUNC): New macro.
3518 (START_ANOTHER_FUNC): New macro.
3519 (END_FUNC): New macro.
3520 (END_ANOTHER_FUNC): New macro.
3521 * config/rl78/bit-count.S: New file. Contains assembler
3522 implementations of the bit counting functions: ___clzhi2,
3523 __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
3524 __paritysi2, __popcounthi2 and __popcountsi2.
3525 * config/rl78/fpbit-sf.S: New file. Contains assembler
3526 implementationas of the math functions: __negsf2, __cmpsf2,
3527 __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
3528 __fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
3529 * config/rl78/fpmath-sf.S: New file. Contains assembler
3530 implementations of the math functions: __subsf3, __addsf3,
3531 __mulsf3 and __divsf3
3532
f962fbf1
RO
35332015-01-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3534
3535 * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
3536 Add i386/elf-lib.h to tm_file.
3537 * config/i386/elf-lib.h: Fix comment.
3538 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
3539 && __sun__ && __svr4__]: Remove workaround.
3540
939911c5
ASJ
35412015-01-25 Allan Sandfeld Jensen <sandfeld@kde.org>
3542
3543 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
3544 FEATURE_BMI2.
3545 (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
3546
c8f2dff2
L
35472015-01-24 H.J. Lu <hongjiu.lu@intel.com>
3548
3549 * config/i386/cpuinfo.c (processor_subtypes): Add
3550 INTEL_COREI7_BROADWELL.
3551 (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
3552 model numbers.
3553
7bbf9734
UB
35542015-01-23 Uros Bizjak <ubizjak@gmail.com>
3555
3556 * config/i386/elf-lib.h: New file.
3557 (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
3558 Wrap definition in #ifdef __i386__.
3559 * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
3560 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
3561 (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
3562 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
3563 to tm_file.
3564
324820f1
CG
35652015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
3566
3567 * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
3568 "(char *)" to avoid qualifier warning by 'xgcc' compiling.
3569
a9ce4e4a
CLT
35702015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
3571
3572 * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
3573 Update rt_sigframe format and address for current Nios II
3574 Linux conventions.
3575
82a19768
AT
35762015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
3577
3578 * config.host (arm*-*-freebsd*): Add new configuration for
3579 arm*-*-freebsd*.
3580 * config/arm/freebsd-atomic.c: New file.
3581 * config/arm/t-freebsd: Likewise.
3582 * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
3583 'PC-relative indirect' OS's.
3584
0969ec7d
EB
35852015-01-06 Eric Botcazou <ebotcazou@adacore.com>
3586
3587 * config.host: Add Visium support.
3588 * config/visium: New directory.
3589
5624e564
JJ
35902015-01-05 Jakub Jelinek <jakub@redhat.com>
3591
3592 Update copyright years.
3593
82f84ecb
MF
35942014-12-19 Matthew Fortune <matthew.fortune@imgtec.com>
3595
3596 * config.host: Support mipsisa32r6 and mipsisa64r6.
3597 * config/mips/mips16.S: Do not build for R6.
3598
69044fa9
OE
35992014-12-17 Oleg Endo <olegendo@gcc.gnu.org>
3600
3601 * config/sh/crt.h: New.
3602 * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
3603 symbols.
3604 * config/sh/crt1.S: Likewise.
3605
2405e0ea
UB
36062014-12-15 Uros Bizjak <ubizjak@gmail.com>
3607
3608 PR libgcc/63832
3609 * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
3610 func_ptr *dtor_list temporary variable to avoid "array subscript
3611 is above array bounds" warnings.
3612
7d296953 36132014-12-09 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
dd913323
MH
3614
3615 * Makefile.in (with_aix_soname): Define.
3616 * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
3617 * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
3618 * configure: Recreate.
3619
a66272f6
OH
36202014-12-05 Olivier Hainque <hainque@adacore.com>
3621
3622 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
3623 now provided by defaults.h.
3624
6342b2c5
OE
36252014-11-30 Oleg Endo <olegendo@gcc.gnu.org>
3626
7d0ee249 3627 PR target/55351
6342b2c5
OE
3628 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
3629 whether it's defined.
3630
c17eac85
IT
36312014-11-27 Ilya Tocar <ilya.tocar@intel.com>
3632
3633 * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
3634 * config/i386/cpuinfo.c (get_available_features): Detect it.
3635
1025cb6c
TW
36362014-11-27 Tony Wang <tony.wang@arm.com>
3637
3638 * config/arm/lib1funcs.S (FUNC_START): Add conditional section
3639 redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
3640 (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
3641
d19f2e38
SB
36422014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
3643
3644 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
3645
17f6e9a3
JDA
36462014-11-24 John David Anglin <danglin@gcc.gnu.org>
3647
3648 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
3649 instead.
3650
0cd7c672
GM
36512014-11-21 Guy Martin <gmsoft@tuxicoman.be>
3652 John David Anglin <danglin@gcc.gnu.org>
3653
3654 * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
3655 (FETCH_AND_OP_2): New. Use for subword and double word operations.
3656 (OP_AND_FETCH_2): Likewise.
3657 (COMPARE_AND_SWAP_2): Likewise.
3658 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
3659 (SYNC_LOCK_RELEASE_2): Likewise.
3660 (SUBWORD_SYNC_OP): Remove.
3661 (SUBWORD_VAL_CAS): Likewise.
3662 (SUBWORD_BOOL_CAS): Likewise.
3663 (FETCH_AND_OP_WORD): Update.
3664 Consistently use signed types.
cc86234f 3665
85c64bbe
BS
36662014-11-13 Bernd Schmidt <bernds@codesourcery.com>
3667 Thomas Schwinge <thomas@codesourcery.com>
3668 Ilya Verbin <ilya.verbin@intel.com>
3669 Andrey Turetskiy <andrey.turetskiy@intel.com>
3670
3671 * Makefile.in (crtoffloadbegin$(objext)): New rule.
3672 (crtoffloadend$(objext)): Likewise.
3673 * configure: Regenerate.
3674 * configure.ac (accel_dir_suffix): Compute new variable.
3675 (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
3676 if enable_offload_targets is not empty.
3677 * offloadstuff.c: New file.
3678
52a1ff8b
NC
36792014-11-13 Nick Clifton <nickc@redhat.com>
3680
3681 * config/rl78/divmodhi.S: Add support for the G10 architecture.
3682 Use START_FUNC and END_FUNC macros to enable linker garbage
3683 collection.
3684 * config/rl78/divmodqi.S: Likewise.
3685 * config/rl78/divmodsi.S: Likewise.
3686 * config/rl78/mulsi3.S: Likewise.
3687 * config/rl78/lib2div.c: Remove G10 functions.
3688 * config/rl78/lib2muls.c: Likewise.
3689 * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
3690 * config/rl78/vregs.h (START_FUNC): New macro.
3691 (END_FUNC): New macro.
3692
050af144
MF
36932014-11-12 Matthew Fortune <matthew.fortune@imgtec.com>
3694
3695 * config/mips/mips16.S: Set .module when supported. Update O32
3696 FP64 calling convention and use for FPXX when possible. Add FPXX
3697 calling convention fallback case.
3698
738f2522
BS
36992014-11-06 Bernd Schmidt <bernds@codesourcery.com>
3700
3701 * config.host: Handle nvptx-*-*.
3702 * shared-object.mk (as-flags-$o): Define.
3703 ($(base)$(objext), $(base)_s$(objext)): Use it instead of
3704 -xassembler-with-cpp.
3705 * static-object.mk: Identical changes.
3706 * config/nvptx/t-nvptx: New file.
3707 * config/nvptx/crt0.s: New file.
3708 * config/nvptx/free.asm: New file.
3709 * config/nvptx/malloc.asm: New file.
3710 * config/nvptx/realloc.c: New file.
3711
e610393c
JM
37122014-10-30 Joseph Myers <joseph@codesourcery.com>
3713
3714 * Makefile.in (libgcc.map.in): New target.
3715 (libgcc.map): Use libgcc.map.in.
3716 * config/t-softfp (softfp_compat): New variable to be set by
3717 users.
3718 [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
3719 variables.
3720 [$(softfp_compat) = y] (softfp_file_list): Use files in the build
3721 directory.
3722 [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
3723 that use compat symbols and disable all code unless [SHARED].
3724 * config/t-softfp-compat: New file.
3725 * find-symver.awk: New file.
3726 * configure.ac (--with-glibc-version): New configure option.
3727 (ppc_fp_compat): New variable set for powerpc*-*-linux*.
3728 * configure: Regenerate.
3729 * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
3730 soft-float and e500.
3731
bc1b3a88
JM
37322014-10-29 Joseph Myers <joseph@codesourcery.com>
3733
3734 * config/t-hardfp (hardfp_exclusions): Document new variable for
3735 user to define.
3736 (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
3737 * config/t-softfp (softfp_extras): Document new variable for user
3738 to define.
3739 (softfp_func_list): Add functions from $(softfp_extras).
3740 * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
3741 * config.host (powerpc*-*-linux*): For e500v1, use
3742 rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
3743 t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
3744 and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
3745
ef2810c1
JDA
37462014-10-26 John David Anglin <danglin@gcc.gnu.org>
3747
3748 * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
3749 (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
3750 memory read accesses are ok.
3751
d80c2bea
JM
37522014-10-25 Joseph Myers <joseph@codesourcery.com>
3753
3754 * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
3755 * configure: Regenerate.
3756 * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
3757 additions to tmake_file. Use t-hardfp-sfdf and t-hardfp instead
3758 of soft-fp for 32-bit classic hard float. Do not use
3759 t-softfp-excl for soft float.
3760
693b297b
JM
37612014-10-22 Joseph Myers <joseph@codesourcery.com>
3762
3763 * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
3764 configurations.
3765 * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
3766 Remove variables.
3767
18a3415e
GJL
37682014-10-22 Georg-Johann Lay <avr@gjlay.de>
3769
3770 * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
3771 introduced with 2014-10-21 trunk r216525.
3772
c1dd9790 37732014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
7d296953
JJ
3774 Vidya Praveen <vidya.praveen@atmel.com>
3775 Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
3776 Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
3777 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
c1dd9790
JR
3778
3779 * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
3780 order.
3781
3782 Updated library functions for AVRTINY arch.
3783 * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
3784 Replaced occurrences of r0/r1 with tmp/zero reg macros.
3785 Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
3786 or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
3787 wsubi/wadi macors.
3788 (__mulsi3_helper): Update stack, preserve callee saved regs and
3789 argument from stack. Restore callee save registers.
3790 (__mulpsi3): Likewise.
3791 (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
3792 __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
18a3415e 3793 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
c1dd9790
JR
3794 AVRTINY.
3795 (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
3796 (__do_copy_data): Added new definition for AVRTINY.
3797 (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
3798 (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
3799 __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
3800 * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
3801 tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
3802 macors.
18a3415e 3803 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
c1dd9790
JR
3804 AVRTINY.
3805
18a3415e 3806 Fix broken long multiplication on tiny arch.
c1dd9790 3807
5f606431
JM
38082014-10-09 Joseph Myers <joseph@codesourcery.com>
3809
3810 * soft-fp/double.h: Update from glibc.
3811 * soft-fp/eqdf2.c: Likewise.
3812 * soft-fp/eqsf2.c: Likewise.
3813 * soft-fp/eqtf2.c: Likewise.
3814 * soft-fp/extenddftf2.c: Likewise.
3815 * soft-fp/extended.h: Likewise.
3816 * soft-fp/extendsfdf2.c: Likewise.
3817 * soft-fp/extendsftf2.c: Likewise.
3818 * soft-fp/extendxftf2.c: Likewise.
3819 * soft-fp/gedf2.c: Likewise.
3820 * soft-fp/gesf2.c: Likewise.
3821 * soft-fp/getf2.c: Likewise.
3822 * soft-fp/ledf2.c: Likewise.
3823 * soft-fp/lesf2.c: Likewise.
3824 * soft-fp/letf2.c: Likewise.
3825 * soft-fp/op-1.h: Likewise.
3826 * soft-fp/op-2.h: Likewise.
3827 * soft-fp/op-4.h: Likewise.
3828 * soft-fp/op-8.h: Likewise.
3829 * soft-fp/op-common.h: Likewise.
3830 * soft-fp/quad.h: Likewise.
3831 * soft-fp/single.h: Likewise.
3832 * soft-fp/soft-fp.h: Likewise.
3833 * soft-fp/unorddf2.c: Likewise.
3834 * soft-fp/unordsf2.c: Likewise.
3835 * soft-fp/unordtf2.c: Likewise.
3836 * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
3837 * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
3838 * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
3839 * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
3840 * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
3841 * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
3842 * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
3843 * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
3844 * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
3845 * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
3846
9b84e7a8
RX
38472014-10-08 Rong Xu <xur@google.com>
3848
3849 * libgcov-util.c (read_gcda_file): Fix format.
3850 (find_match_gcov_info): Ditto.
3851 (calculate_2_entries): New.
3852 (compute_one_gcov): Ditto.
3853 (gcov_info_count_all_cold): Ditto.
3854 (gcov_info_count_all_zero): Ditto.
3855 (extract_file_basename): Ditto.
3856 (get_file_basename): Ditto.
3857 (set_flag): Ditto.
3858 (matched_gcov_info): Ditto.
3859 (calculate_overlap): Ditto.
3860 (gcov_profile_overlap): Ditto.
3861 * libgcov-driver.c (compute_summary): Make
3862 it avavilable for external calls.
3863
fe1090c1
RX
38642014-10-06 Rong Xu <xur@google.com>
3865
3866 * Makefile.in: Ditto.
3867 * libgcov-driver.c (gcov_sort_n_vals): New utility function.
3868 (gcov_sort_icall_topn_counter): Ditto.
3869 (gcov_sort_topn_counter_arrays): Ditto.
3870 (dump_one_gcov): Sort indirect_call topn counters.
3871 * libgcov-merge.c (__gcov_merge_icall_topn): New merge
3872 function.
3873 * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
3874 utility function.
3875 (__gcov_indirect_call_topn_profiler): New profiler function.
3876 * libgcov-util.c (__gcov_icall_topn_counter_op): New.
3877 * libgcov.h: New decls.
3878
3daa7bbf
TS
38792014-10-04 Trevor Saunders <tsaunders@mozilla.com>
3880
3881 * config.host: Remove support for score-*.
3882
9a79452d
JM
38832014-09-22 Joseph Myers <joseph@codesourcery.com>
3884
3885 * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
3886 (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
3887 (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
3888 __LIBGCC_XF_MANT_DIG__.
3889 (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
3890 (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
3891 __LIBGCC_TF_MANT_DIG__.
3892 * libgcc2.c (NOTRUNC): Define in terms of
3893 __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
3894 * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
3895
1a849e50
JM
38962014-09-22 Joseph Myers <joseph@codesourcery.com>
3897
3898 PR target/63312
3899 * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
3900 New macros.
3901
598a1586
HPN
39022014-09-22 Hans-Peter Nilsson <hp@axis.com>
3903
3904 * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
3905 override USE_PT_GNU_EH_FRAME.
3906 [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
3907 check USE_EH_FRAME_REGISTRY_ALWAYS against
3908 __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
3909 * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
3910 variable for substituted force_explicit_eh_registry.
3911 (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
3912 * configure.ac (explicit-exception-frame-registration):
3913 New AC_ARG_ENABLE.
3914 * configure: Regenerate.
3915
3a8fe7c6
OH
39162014-09-19 Olivier Hainque <hainque@adacore.com>
3917
3918 * config.host (powerpc-wrs-vxworksmils): New configuration,
3919 same as vxworksae.
3920
dd69f047
JM
39212014-09-18 Joseph Myers <joseph@codesourcery.com>
3922
3923 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
3924
e770bfd9
JM
39252014-09-18 Joseph Myers <joseph@codesourcery.com>
3926
3927 * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
3928 bits not set bits as indicating trapping exceptions.
3929
cadb2b96
NS
39302014-09-17 Nathan sidwell <nathan@acm.org>
3931
3932 * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
3933 (LIBGCOV_DRIVER): ... here.
3934 * libgcov-driver.c (gcov_master): New.
3935 (gcov_exit): Remove from master chain.
3936 (__gcov_init): Add to master chain if version compatible. Don't
3937 clear the version.
3938 * libgcov_interface (__gcov_flust): Call gcov_dump_int.
3939 (gcov_reset_int): Clear master chain, if compatible.
3940 (gcov_dump_int): New internal interface. Dump master chain, if
3941 compatible.
3942 (gcov_dump): Alias for gcov_dump_int.
3943 * libgcov.h (struct gcov_root): Add next and prev fields.
3944 (struct gcov_master): New struct.
3945 (__gcov_master): New.
3946 (gcov_dump_int): Declare.
3947
580d22a3
OH
39482014-09-17 Olivier Hainque <hainque@adacore.com>
3949
3950 * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
3951 and crtbegin.o + crtend.o to extra_parts.
3952
8cc4b7a2
JM
39532014-09-12 Joseph Myers <joseph@codesourcery.com>
3954
3955 * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
3956 __LIBGCC_HAS_SF_MODE__.
3957 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
3958 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
3959 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
3960 * config/libbid/bid_gcc_intrinsics.h
3961 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
3962 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
3963 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
3964 * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
3965 (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
3966 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
3967
ea3f2b24
GJL
39682014-09-11 Georg-Johann Lay <avr@gjlay.de>
3969
3970 PR target/63223
3971 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
3972 and R24 as needed. Make work for all devices and .text locations.
3973 (__do_global_ctors, __do_global_dtors): Use word addresses.
3974 (__tablejump__, __tablejump_elpm__): Remove functions.
3975 * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
3976 Add _tablejump2.
3977 (XICALL, XIJMP): New macros.
3978
b677236a
MS
39792014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
3980 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
3981
3982 * config.host (aarch64*): Include crtfastmath.o and
3983 t-crtfm.
3984 * config/aarch64/crtfastmath.c: New file.
3985
157e859f
TS
39862014-09-08 Trevor Saunders <tsaunders@mozilla.com>
3987
3988 * config.host: Remove picochip support.
3989 * config/picochip/adddi3.S: Remove.
3990 * config/picochip/ashlsi3.S: Remove.
3991 * config/picochip/ashlsi3.c: Remove.
3992 * config/picochip/ashrsi3.S: Remove.
3993 * config/picochip/ashrsi3.c: Remove.
3994 * config/picochip/clzsi2.S: Remove.
3995 * config/picochip/cmpsi2.S: Remove.
3996 * config/picochip/divmod15.S: Remove.
3997 * config/picochip/divmodhi4.S: Remove.
3998 * config/picochip/divmodsi4.S: Remove.
3999 * config/picochip/lib1funcs.S: Remove.
4000 * config/picochip/longjmp.S: Remove.
4001 * config/picochip/lshrsi3.S: Remove.
4002 * config/picochip/lshrsi3.c: Remove.
4003 * config/picochip/parityhi2.S: Remove.
4004 * config/picochip/popcounthi2.S: Remove.
4005 * config/picochip/setjmp.S: Remove.
4006 * config/picochip/subdi3.S: Remove.
4007 * config/picochip/t-picochip: Remove.
4008 * config/picochip/ucmpsi2.S: Remove.
4009 * config/picochip/udivmodhi4.S: Remove.
4010 * config/picochip/udivmodsi4.S: Remove.
4011
66bb34c0
JM
40122014-09-08 Joseph Myers <joseph@codesourcery.com>
4013
4014 * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
4015 (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
4016 (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
4017 (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
4018 * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
4019 error if not defined and LIBGCC2_HAS_SF_MODE is defined.
4020 (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
4021 defined and LIBGCC2_HAS_DF_MODE is defined.
4022 (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
4023 defined and LIBGCC2_HAS_XF_MODE is defined.
4024 (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
4025 defined and LIBGCC2_HAS_TF_MODE is defined.
4026
9686a2e6
JM
40272014-09-08 Joseph Myers <joseph@codesourcery.com>
4028
4029 * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
4030 and ROUND_TOWARDS_ZERO conditionals.
4031
71c3e2ef
NS
40322014-09-07 Nathan sidwell <nathan@acm.org>
4033
4034 * libgcov-interface.c (STRONG_ALIAS): Rename to ...
4035 (ALIAS_weak): ... here. Use forwarding function. Adjust uses.
4036
53d68b9f
JM
40372014-09-05 Joseph Myers <joseph@codesourcery.com>
4038
4039 * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
4040 * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
4041 uses to __LIBGCC_STACK_POINTER_REGNUM__.
4042 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
4043 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4044 * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
4045 Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4046 * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
4047 uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
4048 (DWARF_FRAME_REGISTERS): Change all uses to
4049 __LIBGCC_DWARF_FRAME_REGISTERS__.
4050 (EH_RETURN_STACKADJ_RTX): Change all uses to
4051 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
4052 * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
4053 __LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
4054 * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
4055 use to __LIBGCC_EH_FRAME_SECTION_NAME__.
4056 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
4057 * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
4058 to __LIBGCC_EH_FRAME_SECTION_NAME__.
4059 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
4060 * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
4061 __LIBGCC_STACK_POINTER_REGNUM__.
4062 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
4063 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4064 * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
4065 to __LIBGCC_STACK_POINTER_REGNUM__.
4066 * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
4067 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4068 * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
4069 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4070 * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
4071 Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4072 (STACK_POINTER_REGNUM): Change all uses to
4073 __LIBGCC_STACK_POINTER_REGNUM__.
4074 * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
4075 use to __LIBGCC_STACK_POINTER_REGNUM__.
4076 * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
4077 uses to __LIBGCC_STACK_POINTER_REGNUM__.
4078 * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
4079 to __LIBGCC_DWARF_FRAME_REGISTERS__.
4080 * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
4081 to __LIBGCC_DWARF_FRAME_REGISTERS__.
4082 * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
4083 to __LIBGCC_STACK_POINTER_REGNUM__.
4084 * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
4085 Remove conditional definition.
4086 * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
4087 __LIBGCC_TEXT_SECTION_ASM_OP__.
4088 (EH_FRAME_SECTION_NAME): Change all uses to
4089 __LIBGCC_EH_FRAME_SECTION_NAME__.
4090 (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
4091 __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
4092 (CTORS_SECTION_ASM_OP): Change all uses to
4093 __LIBGCC_CTORS_SECTION_ASM_OP__.
4094 (DTORS_SECTION_ASM_OP): Change all uses to
4095 __LIBGCC_DTORS_SECTION_ASM_OP__.
4096 (JCR_SECTION_NAME): Change all uses to
4097 __LIBGCC_JCR_SECTION_NAME__.
4098 (INIT_SECTION_ASM_OP): Change all uses to
4099 __LIBGCC_INIT_SECTION_ASM_OP__.
4100 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
4101 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
4102 * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
4103 __LIBGCC_STACK_GROWS_DOWNWARD__.
4104 * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
4105 __LIBGCC_INIT_SECTION_ASM_OP__.
4106 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
4107 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
4108 (EH_FRAME_SECTION_NAME): Change all uses to
4109 __LIBGCC_EH_FRAME_SECTION_NAME__.
4110 * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
4111 definitions. Change all uses to
4112 __LIBGCC_VTABLE_USES_DESCRIPTORS__.
4113 * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
4114 __LIBGCC_STACK_GROWS_DOWNWARD__.
4115 (DWARF_FRAME_REGISTERS): Change all uses to
4116 __LIBGCC_DWARF_FRAME_REGISTERS__.
4117 (EH_RETURN_STACKADJ_RTX): Change all uses to
4118 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
4119 * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
4120 definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
4121 * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
4122 __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
4123 (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
4124
b20ee094
NS
41252014-09-02 Nathan sidwell <nathan@acm.org>
4126
4127 * libgcov-interface.c (STRONG_ALIAS): New.
4128 (__gcov_flush): Call __gcov_reset_int.
4129 (__gcov_reset): Strong alias for ...
4130 (__gcov_reset_ing): ... this renamed hidden version.
4131 * libgcov.h (__gcov_reset_int): New declaration.
4132
1ac83976
YS
41332014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
4134
25efdb9f
YS
4135 * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
4136 call from here...
4137 * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
4138 (__dso_handle): Define on Cygwin.
4139 * config/i386/t-cygming (crtbeginS.o): New rule.
4140 * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
4141
1ac83976
YS
4142 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
4143 declaration syntax.
4144
c6f9ea3b
SE
41452014-08-13 Steve Ellcey <sellcey@mips.com>
4146
4147 * crtstuff.c: Undef caddr_t.
4148
5b1ea7c5
SE
41492014-08-12 Steve Ellcey <sellcey@mips.com>
4150
4151 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
4152
4303c581
NS
41532014-08-07 Nathan Sidwell <nathan@acm.org>
4154
4155 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
4156 (LIBGCOV_DRIVER): ... to here.
4157 * libgcov.h (gcov_do_dump): New #define.
4158 (struct gcov_root): New.
4159 (__gcov_root): New declaration.
4160 (__gcov_dump_one): Declare.
4161 * libgcov-driver.c (gcov_list, gcov_dump_complete,
4162 run_accounted): Delete.
4163 (gcov_compute_histogram): Add LIST argument, adjust.
4164 (compute_summary): Adjust gcov_compute_histogram call.
4165 (gcov_do_dump): Not hidden, static in libgcov.
4166 (gcov_clear): Move to interface.c.
4167 (__gcov_dump_one): New, broken out of ...
4168 (gcov_exit): ... here. Make static.
4169 (__gcov_root): New.
4170 (__gcov_init): Adjust.
4171 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
4172 declarations.
4173 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
4174 (gcov_clear): Moved from driver.c. Add LIST argument.
4175 (__gcov_reset): Adjust for changed interfaces.
4176 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
4177
23742a9e
RAR
41782014-08-04 Rohit <rohitarulraj@freescale.com>
4179
4180 PR target/60102
4181 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
d406ae47 4182 based on change in SPE high register numbers and 3 HTM registers.
23742a9e 4183
b98a872b
NS
41842014-08-01 Nathan Sidwell <nathan@acm.org>
4185
4186 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
4187 LIBGCOV_INTERFACE): Reformat.
4188 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
4189 IN_GCOV_TOOL.
4190 * libgcov-interface.c: Reformat some comments.
4191 (__gcov_flush_mx): Add declaration. Tidy up definition.
4192
6adaaa1d
AM
41932014-07-31 Alan Modra <amodra@gmail.com>
4194 Peter Bergner <bergner@vnet.ibm.com>
4195
4196 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
4197 (pack_ldouble): New function.
4198 (__gcc_qadd): Use it.
4199 (__gcc_qmul): Likewise.
4200 (__gcc_qdiv): Likewise.
4201 (__gcc_qneg): Likewise.
4202 (__gcc_stoq): Likewise.
4203 (__gcc_dtoq): Likewise.
4204
87cb0c0c
UW
42052014-07-30 J. D. Johnston <jjohnst@us.ibm.com>
4206
4207 * config/s390/tpf-unwind.h: Include <stdbool.h>.
4208 (__tpf_eh_return): Add original return address as second parameter.
4209 Handle cases where unwinder routines were called directly, instead
4210 of from within the C++ library.
4211
19926161
NS
42122014-07-29 Nathan Sidwell <nathan@acm.org>
4213
4214 * libgcov.h: Move renaming of entry points to lib gcov specific
4215 portion.
4216 (gcov_do_dump): New rename.
4217 (gcov_rewrite): Remove inline, make HIDDEN.
4218 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
4219 (gcov_exit_compute_summary): Rename to ...
4220 (compute_summary): ... here. Add LIST argument.
4221 (gcov_exit_merge_gcda): Rename to ...
4222 (merge_one_data): ... here.
4223 (gcov_exit_write_gcda): Rename to ...
4224 (write_one_data): ... here.
4225 (gcov_exit_merge_summary): Rename to ...
4226 (merge_summary): Add RUN_COUNTED argument.
4227 (gcov_exit_dump_gcov): Rename to ...
4228 (dump_one_gcov): Add RUN_COUNTED argument.
4229 (gcov_do_dump): New function, broken out of ...
4230 (gcov_exit): ... here. Call it.
4231
17522262
AG
42322014-07-27 Anthony Green <green@moxielogic.com>
4233
4234 * config.host: Add moxiebox configuration suppport.
4235
6dc33097
NS
42362014-07-27 Nathan Sidwell <nathan@acm.org>
4237
4238 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
4239 (struct gcov_filename): ... here. Include buffer and max length
4240 fields.
4241 (gcov_max_filename): Remove.
4242 (gi_filename): Remove.
4243 (gcov_exit_compute_summary): Compute max filename here.
4244 (gcov_exit_merge_gcda): Add filename parm, adjust.
4245 (gcov_exit_merge_summary): Likewise.
4246 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
4247 (gcov_exit): Likewise.
4248 (__gcov_init): Don't calculate max length here.
4249 * libgcov_util.c (max_filename_len): Remove.
4250 (read_gcda_file): Don't calculate max length here.
4251 (gcov_read_profile_dir): Don't propagate here.
4252 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
4253 struct gcov_filename changes.
4254 (gcov_exit_open_gcda_file): Likewise.
4255
770f687d
NS
42562014-07-25 Nathan Sidwell <nathan@acm.org>
4257
4258 * libgcov-driver.c (set_gcov_dump_complete,
4259 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
4260 functions polluting user's namespace.
4261 (gcov_exit): Set variable directly.
4262 (gcov_clear): Reset variable directly.
4263 * libgcov-interface.c (get_gcov_dymp_complete,
4264 reset_gov_dump_complete): Remove declarations.
4265 (__gcov_reset, __gcov_dump): Don't call them.
4266
fabf71ba
DD
42672014-07-24 DJ Delorie <dj@redhat.com>
4268
4269 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
770f687d
NS
4270 (__gcc_deregister_frame): Move logic to detect deregister function
4271 to ...
4272 (__gcc_register_frame): here, so it's consistent with the register
4273 logic.
fabf71ba 4274
d10ee722
NS
42752014-07-23 Nathan Sidwell <nathan@acm.org>
4276
4277 * libgcov-driver.c (set_gcov_list): Remove.
4278 (gcov_list): Make non-static in GCOV_TOOL.
4279 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
4280
a4137090
JDA
42812014-07-17 John David Anglin <danglin@gcc.gnu.org>
4282
4283 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
4284 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
4285 Don't use SYNC_LOCK_RELEASE for int type.
4286
72602c6c
RB
42872014-07-14 Richard Biener <rguenther@suse.de>
4288
4289 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
4290
d5313205
RX
42912014-07-11 Rong Xu <xur@google.com>
4292
4293 * libgcov-util.c (gcov_max_filename): Fix declartion.
4294
c77556a5
RX
42952014-07-10 Rong Xu <xur@google.com>
4296
4297 Add gcov-tool: an offline gcda profile processing tool
4298 Support.
4299 * libgcov-driver.c (gcov_max_filename): Make available
4300 to gcov-tool.
4301 * libgcov-merge.c (__gcov_merge_add): Replace
4302 gcov_read_counter() with a Macro.
4303 (__gcov_merge_ior): Ditto.
4304 (__gcov_merge_time_profile): Ditto.
4305 (__gcov_merge_single): Ditto.
4306 (__gcov_merge_delta): Ditto.
4307 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
4308 in the utility functions.
4309 (set_fn_ctrs): Utility function for reading gcda files to in-memory
4310 gcov_list object link lists.
4311 (tag_function): Ditto.
4312 (tag_blocks): Ditto.
4313 (tag_arcs): Ditto.
4314 (tag_lines): Ditto.
4315 (tag_counters): Ditto.
4316 (tag_summary): Ditto.
4317 (read_gcda_finalize): Ditto.
4318 (read_gcda_file): Ditto.
4319 (ftw_read_file): Ditto.
4320 (read_profile_dir_init): Ditto.
4321 (gcov_read_profile_dir): Ditto.
4322 (gcov_read_counter_mem): Ditto.
4323 (gcov_get_merge_weight): Ditto.
4324 (merge_wrapper): A wrapper function that calls merging handler.
4325 (gcov_merge): Merge two gcov_info objects with weights.
4326 (find_match_gcov_info): Find the matched gcov_info in the list.
4327 (gcov_profile_merge): Merge two gcov_info object lists.
4328 (__gcov_add_counter_op): Process edge profile counter values.
4329 (__gcov_ior_counter_op): Process IOR profile counter values.
4330 (__gcov_delta_counter_op): Process delta profile counter values.
4331 (__gcov_single_counter_op): Process single profile counter values.
4332 (fp_scale): Callback function for float-point scaling.
cc86234f 4333 (int_scale): Callback function for integer fraction scaling.
c77556a5
RX
4334 (gcov_profile_scale): Scaling profile counters.
4335 (gcov_profile_normalize): Normalize profile counters.
4336 * libgcov.h: Add headers and functions for gcov-tool use.
4337 (gcov_get_counter): New.
4338 (gcov_get_counter_target): Ditto.
4339 (struct gcov_info): Make the functions field mutable in gcov-tool
4340 compilation.
4341
5c7dac8a
KT
43422014-06-23 Kai Tietz <ktietz@redhat.com>
4343
4344 PR libgcc/61585
4345 * unwind-seh.c (_Unwind_GetGR): Check for proper
4346 index range.
4347 (_Unwind_SetGR): Likewise.
4348
161c9312
NC
43492014-05-22 Nick Clifton <nickc@redhat.com>
4350
4351 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
4352 -mhwmult=none.
4353
e3f0315f
TJ
43542014-05-22 Teresa Johnson <tejohnson@google.com>
4355
4356 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
4357 include.
4358
dbed5a9b
JM
43592014-05-20 John Marino <gnugcc@marino.st>
4360
4361 * config.host (*-*-dragonfly*): New target.
4362 * crtstuff.c: Make dl_iterate_support generic on *bsd.
4363 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
4364 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
4365 * config/i386/dragonfly-unwind.h: New.
4366
1ec380e5
MR
43672014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
4368
4369 PR libgcc/60166
4370 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
4371 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
4372
54fde020
BE
43732014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
4374
4375 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
4376 implementation.
4377
999db125
GJL
43782014-05-12 Georg-Johann Lay <avr@gjlay.de>
4379
4380 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
4381
cceaf54a
RO
43822014-05-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4383
4384 PR libgcc/61097
4385 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
4386 if --enable-shared.
4387
e3fe9b5b
BE
43882014-04-30 Bernd Edlinger <bernd.edlinger@hotmail.de>
4389
4390 Work around for current cygwin32 build problems.
4391 * config/i386/cygming-crtbegin.c (__register_frame_info,
4392 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
4393 functions only for 64-bit systems.
4394
54cf37e9
RO
43952014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4396
4397 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
4398 (sigill_caught, sigill_hdlr): Remove.
4399
d9f069ab
RO
44002014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4401
4402 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
4403 check.
4404 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
4405 Solaris 9 single-threaded support.
4406 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
4407 Solaris 9 single-threaded support. Add call_user_handler code
4408 sequences.
4409 (sparc_is_sighandler): Likewise.
4410
59976ef8
AK
44112014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4412
4413 * config.host: Append t-floattodi to tmake_file depending on
4414 host_address.
4415
d02bbcf3
JS
44162014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
4417
31466bc0 4418 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
d02bbcf3 4419
c2e7e597
UB
44202014-03-10 Uros Bizjak <ubizjak@gmail.com>
4421
4422 PR libgcc/60472
4423 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
2405e0ea 4424 variable to avoid "array subscript is above array bounds" warnings.
c2e7e597
UB
4425 Use __builtin_expect when checking *jcr_list for NULL.
4426
227a7dc8
RO
44272014-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4428
4429 PR libgcc/59339
4430 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
4431 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
4432 vtv_*.o to extra_parts if enable_vtable_verify.
4433
df2b279c
NC
44342014-03-06 Nick Clifton <nickc@redhat.com>
4435
4436 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
4437 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
4438
dc11d79b
JY
44392014-02-28 Joey Ye <joey.ye@arm.com>
4440
4441 PR libgcc/60166
4442 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
4443 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
4444 Set to zero.
4445
341c653c
WL
44462014-02-24 Walter Lee <walt@tilera.com>
4447
4448 * config.host: Support "tilegx*" and "tilepro*" triplets.
4449 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
4450 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
4451
95ce7613
CLT
44522014-02-20 Sandra Loosemore <sandra@codesourcery.com>
4453 Chung-Lin Tang <cltang@codesourcery.com>
4454
4455 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
4456 * config/nios2/crti.S: Remove .file directive.
4457 * config/nios2/crtn.S: Likewise.
4458
0bb4fc05
KT
44592014-02-18 Kai Tietz <ktietz@redhat.com>
4460 Jonathan Schleifer <js@webkeks.org>
4461
4462 PR objc/56870
4463 * unwind-seh.c (_GCC_specific_handler): Pass proper
4464 value to unwind-handler.
4465
9acf28f1
JM
44662014-02-12 Joseph Myers <joseph@codesourcery.com>
4467
4468 * soft-fp/adddf3.c: Update from glibc.
4469 * soft-fp/addsf3.c: Likewise.
4470 * soft-fp/addtf3.c: Likewise.
4471 * soft-fp/divdf3.c: Likewise.
4472 * soft-fp/divsf3.c: Likewise.
4473 * soft-fp/divtf3.c: Likewise.
4474 * soft-fp/double.h: Likewise.
4475 * soft-fp/eqdf2.c: Likewise.
4476 * soft-fp/eqsf2.c: Likewise.
4477 * soft-fp/eqtf2.c: Likewise.
4478 * soft-fp/extenddftf2.c: Likewise.
4479 * soft-fp/extended.h: Likewise.
4480 * soft-fp/extendsfdf2.c: Likewise.
4481 * soft-fp/extendsftf2.c: Likewise.
4482 * soft-fp/extendxftf2.c: Likewise.
4483 * soft-fp/fixdfdi.c: Likewise.
4484 * soft-fp/fixdfsi.c: Likewise.
4485 * soft-fp/fixdfti.c: Likewise.
4486 * soft-fp/fixsfdi.c: Likewise.
4487 * soft-fp/fixsfsi.c: Likewise.
4488 * soft-fp/fixsfti.c: Likewise.
4489 * soft-fp/fixtfdi.c: Likewise.
4490 * soft-fp/fixtfsi.c: Likewise.
4491 * soft-fp/fixtfti.c: Likewise.
4492 * soft-fp/fixunsdfdi.c: Likewise.
4493 * soft-fp/fixunsdfsi.c: Likewise.
4494 * soft-fp/fixunsdfti.c: Likewise.
4495 * soft-fp/fixunssfdi.c: Likewise.
4496 * soft-fp/fixunssfsi.c: Likewise.
4497 * soft-fp/fixunssfti.c: Likewise.
4498 * soft-fp/fixunstfdi.c: Likewise.
4499 * soft-fp/fixunstfsi.c: Likewise.
4500 * soft-fp/fixunstfti.c: Likewise.
4501 * soft-fp/floatdidf.c: Likewise.
4502 * soft-fp/floatdisf.c: Likewise.
4503 * soft-fp/floatditf.c: Likewise.
4504 * soft-fp/floatsidf.c: Likewise.
4505 * soft-fp/floatsisf.c: Likewise.
4506 * soft-fp/floatsitf.c: Likewise.
4507 * soft-fp/floattidf.c: Likewise.
4508 * soft-fp/floattisf.c: Likewise.
4509 * soft-fp/floattitf.c: Likewise.
4510 * soft-fp/floatundidf.c: Likewise.
4511 * soft-fp/floatundisf.c: Likewise.
4512 * soft-fp/floatunditf.c: Likewise.
4513 * soft-fp/floatunsidf.c: Likewise.
4514 * soft-fp/floatunsisf.c: Likewise.
4515 * soft-fp/floatunsitf.c: Likewise.
4516 * soft-fp/floatuntidf.c: Likewise.
4517 * soft-fp/floatuntisf.c: Likewise.
4518 * soft-fp/floatuntitf.c: Likewise.
4519 * soft-fp/gedf2.c: Likewise.
4520 * soft-fp/gesf2.c: Likewise.
4521 * soft-fp/getf2.c: Likewise.
4522 * soft-fp/ledf2.c: Likewise.
4523 * soft-fp/lesf2.c: Likewise.
4524 * soft-fp/letf2.c: Likewise.
4525 * soft-fp/muldf3.c: Likewise.
4526 * soft-fp/mulsf3.c: Likewise.
4527 * soft-fp/multf3.c: Likewise.
4528 * soft-fp/negdf2.c: Likewise.
4529 * soft-fp/negsf2.c: Likewise.
4530 * soft-fp/negtf2.c: Likewise.
4531 * soft-fp/op-1.h: Likewise.
4532 * soft-fp/op-2.h: Likewise.
4533 * soft-fp/op-4.h: Likewise.
4534 * soft-fp/op-8.h: Likewise.
4535 * soft-fp/op-common.h: Likewise.
4536 * soft-fp/quad.h: Likewise.
4537 * soft-fp/single.h: Likewise.
4538 * soft-fp/soft-fp.h: Likewise.
4539 * soft-fp/subdf3.c: Likewise.
4540 * soft-fp/subsf3.c: Likewise.
4541 * soft-fp/subtf3.c: Likewise.
4542 * soft-fp/truncdfsf2.c: Likewise.
4543 * soft-fp/trunctfdf2.c: Likewise.
4544 * soft-fp/trunctfsf2.c: Likewise.
4545 * soft-fp/trunctfxf2.c: Likewise.
4546 * soft-fp/unorddf2.c: Likewise.
4547 * soft-fp/unordsf2.c: Likewise.
4548 * soft-fp/unordtf2.c: Likewise.
4549 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
4550 macro.
4551 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4552 Likewise.
4553 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4554 Likewise.
4555 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4556 Likewise.
4557 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4558 Likewise.
4559 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4560 Likewise.
4561 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4562 Likewise.
4563 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4564 Likewise.
4565 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4566 Likewise.
4567 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4568 Likewise.
4569 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4570 Likewise.
4571 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4572 Likewise.
4573 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4574 Likewise.
4575 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
4576 Likewise.
4577 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
4578 Likewise.
4579 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4580 Likewise.
4581
ce245ec6
AK
45822014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4583
4584 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
4585 cannot be represented.
4586 * config/s390/32/_fixsfdi.c: Likewise.
4587 * config/s390/32/_fixtfdi.c: Likewise.
4588 * config/s390/32/_fixunsdfdi.c: Likewise.
4589 * config/s390/32/_fixunssfdi.c: Likewise.
4590 * config/s390/32/_fixunstfdi.c: Likewise.
4591
1c51d688
RS
45922014-02-07 Richard Sandiford <rdsandiford@googlemail.com>
4593
4594 * configure.ac (libgcc_cv_mips_hard_float): New.
4595 * configure: Regenerate.
4596 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
4597 t-softfp-sfdf for hard-float targets.
4598 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
4599 (softfp_float_modes, softfp_int_modes, softfp_extensions)
4600 (softfp_truncations, softfp_exclude_libgcc2): New.
4601 * config/t-hardfp: New file.
4602 * config/t-hardfp-sfdf: Likewise.
4603 * config/hardfp.c: Likewise.
4604
bbf391db
AK
46052014-02-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4606
4607 * config.host: Include t-floattodi also for s390x.
4608 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
4609 * config/s390/32/_fixsfdi.c: Likewise.
4610 * config/s390/32/_fixtfdi.c: Likewise.
4611 * config/s390/32/_fixunsdfdi.c: Likewise.
4612 * config/s390/32/_fixunssfdi.c: Likewise.
4613 * config/s390/32/_fixunstfdi.c: Likewise.
4614
91da0481
RO
46152014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4616
4617 PR target/59788
4618 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
4619 (install-libgcc-unwind-map-forbuild): New target.
4620 (all): Depend on install-libgcc-unwind-map-forbuild.
4621 (install-libgcc-unwind-map): New target.
4622 (install): Depend on install-libgcc-unwind-map.
4623
02b67731
SL
46242014-02-02 Sandra Loosemore <sandra@codesourcery.com>
4625
4626 * config/nios2/crti.S (_init): Initialize GOT pointer from
4627 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
4628
1ea0a651
RS
46292014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
4630
4631 * configure.ac: Check __mips64 when setting host_address.
4632 * configure: Regenerate.
4633 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
4634 mips/t-mips64 and t-softfp.
4635 (mips*-*-linux*): Don't add mips/t-tpbit.
4636 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
4637 (DPBIT, DPBIT_CFLAGS): Delete.
4638 * config/mips/sfp-machine.h: New file.
4639 * config/mips/t-mips64: Likewise.
4640 * config/mips/t-softfp-tf: Likewise.
4641 * config/mips/t-tpbit: Delete.
4642
f32b0061
MS
46432014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
4644
4645 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
4646 as long long.
4647
a5420aa4
WL
46482014-01-25 Walter Lee <walt@tilera.com>
4649
4650 * config/tilepro/atomic.c: Include tconfig.h. Don't include
4651 config.h or system.h.
4652 (bool) Define.
4653
24534912
WL
46542014-01-25 Walter Lee <walt@tilera.com>
4655
4656 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
4657 (post_atomic_barrier): Ditto.
4658 (__fetch_and_do): New macro.
4659 (__atomic_fetch_and_do): Use __fetch_and_do.
4660 (__sync_fetch_and_do): New macro.
4661 (__sync_fetch_and_add_4): New function.
4662 (__sync_fetch_and_sub_4): New function.
4663 (__sync_fetch_and_or_4): New function.
4664 (__sync_fetch_and_and_4): New function.
4665 (__sync_fetch_and_xor_4): New function.
4666 (__sync_fetch_and_nand_4): New function.
4667 (__sync_fetch_and_add_8): New function.
4668 (__sync_fetch_and_sub_8): New function.
4669 (__sync_fetch_and_or_8): New function.
4670 (__sync_fetch_and_and_8): New function.
4671 (__sync_fetch_and_xor_8): New function.
4672 (__sync_fetch_and_nand_8): New function.
4673 (__do_and_fetch): New macro.
4674 (__atomic_do_and_fetch): Use __do_and_fetch.
4675 (__sync_do_and_fetch): New macro.
4676 (__sync_add_and_fetch_4): New function.
4677 (__sync_sub_and_fetch_4): New function.
4678 (__sync_or_and_fetch_4): New function.
4679 (__sync_and_and_fetch_4): New function.
4680 (__sync_xor_and_fetch_4): New function.
4681 (__sync_nand_and_fetch_4): New function.
4682 (__sync_add_and_fetch_8): New function.
4683 (__sync_sub_and_fetch_8): New function.
4684 (__sync_or_and_fetch_8): New function.
4685 (__sync_and_and_fetch_8): New function.
4686 (__sync_xor_and_fetch_8): New function.
4687 (__sync_nand_and_fetch_8): New function.
4688 (__sync_exchange_methods): New macro.
4689 (__sync_val_compare_and_swap_4): New function.
4690 (__sync_bool_compare_and_swap_4): New function.
4691 (__sync_lock_test_and_test_4): New function.
4692 (__sync_val_compare_and_swap_8): New function.
4693 (__sync_bool_compare_and_swap_8): New function.
4694 (__sync_lock_test_and_test_8): New function.
4695 (__subword_cmpxchg_body): New macro.
4696 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
4697 (__atomic_compare_exchange_2): Ditto.
4698 (__sync_subword_cmpxchg): New macro.
4699 (__sync_val_compare_and_swap_1): New function.
4700 (__sync_bool_compare_and_swap_1): New function.
4701 (__sync_val_compare_and_swap_2): New function.
4702 (__sync_bool_compare_and_swap_2): New function.
4703 (__atomic_subword): Rename to ...
4704 (__subword): ... New name.
4705 (__atomic_subword_fetch): Use __subword.
4706 (__sync_subword_fetch): New macro.
4707 (__sync_fetch_and_add_1): New function.
4708 (__sync_fetch_and_sub_1): New function.
4709 (__sync_fetch_and_or_1): New function.
4710 (__sync_fetch_and_and_1): New function.
4711 (__sync_fetch_and_xor_1): New function.
4712 (__sync_fetch_and_nand_1): New function.
4713 (__sync_fetch_and_add_2): New function.
4714 (__sync_fetch_and_sub_2): New function.
4715 (__sync_fetch_and_or_2): New function.
4716 (__sync_fetch_and_and_2): New function.
4717 (__sync_fetch_and_xor_2): New function.
4718 (__sync_fetch_and_nand_2): New function.
4719 (__sync_add_and_fetch_1): New function.
4720 (__sync_sub_and_fetch_1): New function.
4721 (__sync_or_and_fetch_1): New function.
4722 (__sync_and_and_fetch_1): New function.
4723 (__sync_xor_and_fetch_1): New function.
4724 (__sync_nand_and_fetch_1): New function.
4725 (__sync_add_and_fetch_2): New function.
4726 (__sync_sub_and_fetch_2): New function.
4727 (__sync_or_and_fetch_2): New function.
4728 (__sync_and_and_fetch_2): New function.
4729 (__sync_xor_and_fetch_2): New function.
4730 (__sync_nand_and_fetch_2): New function.
4731 (__atomic_subword_lock): Use __subword.
4732 (__sync_subword_lock): New macro.
4733 (__sync_lock_test_and_set_1): New function.
4734 (__sync_lock_test_and_set_2): New function.
4735
4d6d3bc5
WL
47362014-01-25 Walter Lee <walt@tilera.com>
4737
4738 * config/tilepro/atomic.c (BIT_OFFSET): Define.
4739 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
4740 (__atomic_subword): Ditto.
4741
cbd9890e
WL
47422014-01-25 Walter Lee <walt@tilera.com>
4743
4744 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
4745 a prefix op argument.
4746 (__atomic_nand_fetch_4): Add prefix op.
4747 (__atomic_nand_fetch_8): Ditto.
4748
7d296953 47492014-01-21 Baruch Siach <barch@tkos.co.il>
800d8bd5
BS
4750
4751 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
4752
46dd1242
L
47532014-01-09 Rong Xu <xur@google.com>
4754
4755 * libgcov-driver.c (this_prg): make it local to save
4756 bss space.
4757 (gcov_exit_compute_summary): Ditto.
4758 (gcov_exit_merge_gcda): Ditto.
4759 (gcov_exit_merge_summary): Ditto.
4760 (gcov_exit_dump_gcov): Ditto.
4761
cc86234f 47622014-01-08 Rong Xu <xur@google.com>
40d6b753
RX
4763
4764 * libgcov-driver.c: Use libgcov.h.
4765 (buffer_fn_data): Use xmalloc instead of malloc.
4766 (gcov_exit_merge_gcda): Ditto.
4767 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
4768 * libgcov.h: New common header files for libgcov-*.h.
4769 * libgcov-interface.c: Use libgcov.h
4770 * libgcov-merge.c: Ditto.
4771 * libgcov-profiler.c: Ditto.
4772 * Makefile.in: Add dependence to libgcov.h
4773
a02e7bdd
JM
47742014-01-02 Joseph Myers <joseph@codesourcery.com>
4775
4776 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
4777 case of small numerator and finite nonzero result.
4778
ac1dca3c
RS
47792014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
4780
4781 Update copyright years
4782
f9030485
RS
47832014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
4784
4785 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
4786 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
4787 config/arc/dp-hack.h, config/arc/fp-hack.h,
4788 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
4789 config/arc/ieee-754/arc600-dsp/divdf3.S,
4790 config/arc/ieee-754/arc600-dsp/divsf3.S,
4791 config/arc/ieee-754/arc600-dsp/muldf3.S,
4792 config/arc/ieee-754/arc600-dsp/mulsf3.S,
4793 config/arc/ieee-754/arc600-mul64/divdf3.S,
4794 config/arc/ieee-754/arc600-mul64/divsf3.S,
4795 config/arc/ieee-754/arc600-mul64/muldf3.S,
4796 config/arc/ieee-754/arc600-mul64/mulsf3.S,
4797 config/arc/ieee-754/arc600/divsf3.S,
4798 config/arc/ieee-754/arc600/mulsf3.S,
4799 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
4800 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
4801 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
4802 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
4803 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
4804 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
4805 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
4806 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
4807 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
4808 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
4809 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
4810 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
4811 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
4812 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
4813 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
4814 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
4815 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
4816 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
4817 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
4818 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
4819 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
4820 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
4821 vtv_start_preinit.c: Use the standard form for the copyright notice.
4822
e430824f
CLT
48232013-12-31 Sandra Loosemore <sandra@codesourcery.com>
4824 Chung-Lin Tang <cltang@codesourcery.com>
4825 Based on patches from Altera Corporation
4826
4827 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
4828 * config/nios2/lib2-nios2.h: New file.
4829 * config/nios2/lib2-divmod-hi.c: New file.
4830 * config/nios2/linux-unwind.h: New file.
4831 * config/nios2/lib2-divmod.c: New file.
4832 * config/nios2/linux-atomic.c: New file.
4833 * config/nios2/t-nios2: New file.
4834 * config/nios2/crti.asm: New file.
4835 * config/nios2/t-linux: New file.
4836 * config/nios2/lib2-divtable.c: New file.
4837 * config/nios2/lib2-mul.c: New file.
4838 * config/nios2/tramp.c: New file.
4839 * config/nios2/crtn.asm: New file.
4840
1879e97f
UB
48412013-12-26 Uros Bizjak <ubizjak@gmail.com>
4842
4843 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
4844 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
4845 from cpuid.h to check vendor signatures.
4846
f4a4bdbb
GG
48472013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
4848
c2e7e597 4849 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
f4a4bdbb
GG
4850 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
4851 (get_amd_cpu): Likewise.
4852
8d2ae544
L
48532013-12-25 H.J. Lu <hongjiu.lu@intel.com>
4854
4855 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
4856 Haswell.
4857
74924838
ASJ
48582013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
4859 H.J. Lu <hongjiu.lu@intel.com>
4860
0bb52f25
L
4861 PR target/59422
4862 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
74924838
ASJ
4863 and AMD_JAGUAR.
4864 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
4865 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
4866 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
4867 FEATURE_XOP and FEATURE_FMA.
4868 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
4869 AMDFAM15H_BDVER3.
4870 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
0bb52f25 4871 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
74924838
ASJ
4872 FEATURE_FMA4 and FEATURE_XOP.
4873
d3c11974
L
48742013-12-23 H.J. Lu <hongjiu.lu@intel.com>
4875
4876 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
4877 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
4878 (get_intel_cpu): Updated.
4879
064c4ff2
ZC
48802013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
4881
4882 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
4883
8b02e720
UB
48842013-12-09 Uros Bizjak <ubizjak@gmail.com>
4885
4886 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
1f71a3c3 4887 instructions when __SSE_MATH__ is defined.
8b02e720 4888
3fa2ccb4
RC
48892013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
4890
4891 * config.host (microblaze-*-rtems*): New.
4892
ecd78fc9
KV
48932013-12-04 Kugan Vivekanandarajah <kuganv@linaro.org>
4894
4895 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
4896 architectures that do not have hardware divide instruction.
4897 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
4898
b21fbbd2
RS
48992013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
4900
4901 * longlong.h: Delete (moved to include/).
4902
b03fb8c9
AZ
49032013-12-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4904
4905 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
4906 of normal number and qNaN to not raise an inexact exception.
4907
3c716922
UB
49082013-11-28 Uros Bizjak <ubizjak@gmail.com>
4909
4910 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
4911
49122013-11-28 Matthew Leach <matthew.leach@arm.com>
cceeb9a9
ML
4913
4914 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
4915 for correct opcodes on BE.
4916
a3458d22
UB
49172013-11-27 Uros Bizjak <ubizjak@gmail.com>
4918
4919 * soft-fp/op-4.h: Update from glibc.
4920
30b8f78b
KV
49212013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
4922
4923 * libgcc2.c (__udivmoddi4): Define new implementation when
4924 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
4925 divide instructions.
4926
82552a29
OE
49272013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
4928
4929 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
4930
80e87457
RO
49312013-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4932
4933 * config/t-softfp (soft-fp-objects-base): New variable.
4934 (soft-fp-objects): Use it.
4935
44178879
DE
49362013-11-23 David Edelson <dje.gcc@gmail.com>
4937 Andrew Dixie <andrewd@gentrack.com>
4938
4939 PR target/33704
4940 * config/rs6000/aixinitfini.c: New file.
4941 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
4942 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
4943 symbols.
4944
e5287671
YR
49452013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
4946
a3458d22 4947 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
e5287671 4948
867c8b03
JH
49492013-11-18 Jan Hubicka <jh@suse.cz>
4950
7f369373
JH
4951 * libgcov-driver.c (run_accounted): Make global level static.
4952 (gcov_exit_merge_summary): Silence warning; do not clear
4953 run_accounted here.
4954 (gcov_exit): Clear it here.
4955
1d0b3334
JH
4956 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
4957 run_accounted.
4958
867c8b03
JH
4959 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
4960 (all_prg, crc32): Remove static vars.
4961 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
4962 all_prg.
4963 (gcov_exit_merge_gcda): Add crc32 parameter.
4964 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
4965 do not account run if it was already accounted.
4966 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
4967 (gcov_exit): Initialize all_prg; update.
4968
66204992
AS
49692013-11-15 Andreas Schwab <schwab@linux-m68k.org>
4970
4971 * configure: Regenerate.
4972
b54214fe
UW
49732013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4974 Alan Modra <amodra@gmail.com>
4975
4976 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
4977 (frob_update_context): Use it.
4978
49792013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4980 Alan Modra <amodra@gmail.com>
4981
4982 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
4983 (trampoline_initial): Provide ELFv2 variant.
4984 (__trampoline_setup): Likewise.
4985
4986 * config/rs6000/linux-unwind.h (frob_update_context): Do not
4987 check for AIX indirect function call sequence if _CALL_ELF == 2.
4988
49892013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4990 Alan Modra <amodra@gmail.com>
4991
4992 * config/rs6000/linux-unwind.h (get_regs): Do not support
4993 old kernel versions if _CALL_ELF == 2.
4994 (frob_update_context): Do not support PLT stub variants only
4995 generated by old linkers if _CALL_ELF == 2.
4996
13e0981a
UW
49972013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4998 Alan Modra <amodra@gmail.com>
4999
5000 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
5001 location of CR save area for 64-bit little-endian systems.
5002
1a80085d
EB
50032013-11-11 Eric Botcazou <ebotcazou@adacore.com>
5004
5005 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
5006 in tmake_file.
5007 * config/arm/t-vxworks: Delete.
5008
cabeea52
KT
50092013-11-10 Kai Tietz <ktietz@redhat.com>
5010
5011 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
5012 Increment load-count on use of LIBGCC_SONAME DLL.
5013 (hmod_libgcc): New static variable to hold handle of
5014 LIBGCC_SONAME DLL.
5015 (__gcc_deregister_frame): Decrement load-count of
5016 LIBGCC_SONAME DLL.
5017
ac088ba1
BRF
50182013-11-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
5019
5020 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
5021 availability.
5022 * configure: Regenerate
5023
d59a8fcc
UB
50242013-11-07 Uros Bizjak <ubizjak@gmail.com>
5025
5026 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
5027 FP_EX_DENORM. Store result to volatile location after SSE division
5028 to close interrupt window. Remove unneeded fwait after x87
5029 division since interrupt window will be closed by emitted fstp.
9de84e84 5030 Rewrite FP_EX_INEXACT handling.
d59a8fcc 5031
9954c743
JM
50322013-11-06 Joseph Myers <joseph@codesourcery.com>
5033
5034 * soft-fp/README: Update.
5035 * soft-fp/adddf3.c: Update from glibc.
5036 * soft-fp/addsf3.c: Likewise.
5037 * soft-fp/addtf3.c: Likewise.
5038 * soft-fp/divdf3.c: Likewise.
5039 * soft-fp/divsf3.c: Likewise.
5040 * soft-fp/divtf3.c: Likewise.
5041 * soft-fp/double.h: Likewise.
5042 * soft-fp/eqdf2.c: Likewise.
5043 * soft-fp/eqsf2.c: Likewise.
5044 * soft-fp/eqtf2.c: Likewise.
5045 * soft-fp/extenddftf2.c: Likewise.
5046 * soft-fp/extended.h: Likewise.
5047 * soft-fp/extendsfdf2.c: Likewise.
5048 * soft-fp/extendsftf2.c: Likewise.
5049 * soft-fp/extendxftf2.c: Likewise.
5050 * soft-fp/fixdfdi.c: Likewise.
5051 * soft-fp/fixdfsi.c: Likewise.
5052 * soft-fp/fixdfti.c: Likewise.
5053 * soft-fp/fixsfdi.c: Likewise.
5054 * soft-fp/fixsfsi.c: Likewise.
5055 * soft-fp/fixsfti.c: Likewise.
5056 * soft-fp/fixtfdi.c: Likewise.
5057 * soft-fp/fixtfsi.c: Likewise.
5058 * soft-fp/fixtfti.c: Likewise.
5059 * soft-fp/fixunsdfdi.c: Likewise.
5060 * soft-fp/fixunsdfsi.c: Likewise.
5061 * soft-fp/fixunsdfti.c: Likewise.
5062 * soft-fp/fixunssfdi.c: Likewise.
5063 * soft-fp/fixunssfsi.c: Likewise.
5064 * soft-fp/fixunssfti.c: Likewise.
5065 * soft-fp/fixunstfdi.c: Likewise.
5066 * soft-fp/fixunstfsi.c: Likewise.
5067 * soft-fp/fixunstfti.c: Likewise.
5068 * soft-fp/floatdidf.c: Likewise.
5069 * soft-fp/floatdisf.c: Likewise.
5070 * soft-fp/floatditf.c: Likewise.
5071 * soft-fp/floatsidf.c: Likewise.
5072 * soft-fp/floatsisf.c: Likewise.
5073 * soft-fp/floatsitf.c: Likewise.
5074 * soft-fp/floattidf.c: Likewise.
5075 * soft-fp/floattisf.c: Likewise.
5076 * soft-fp/floattitf.c: Likewise.
5077 * soft-fp/floatundidf.c: Likewise.
5078 * soft-fp/floatundisf.c: Likewise.
5079 * soft-fp/floatunditf.c: Likewise.
5080 * soft-fp/floatunsidf.c: Likewise.
5081 * soft-fp/floatunsisf.c: Likewise.
5082 * soft-fp/floatunsitf.c: Likewise.
5083 * soft-fp/floatuntidf.c: Likewise.
5084 * soft-fp/floatuntisf.c: Likewise.
5085 * soft-fp/floatuntitf.c: Likewise.
5086 * soft-fp/gedf2.c: Likewise.
5087 * soft-fp/gesf2.c: Likewise.
5088 * soft-fp/getf2.c: Likewise.
5089 * soft-fp/ledf2.c: Likewise.
5090 * soft-fp/lesf2.c: Likewise.
5091 * soft-fp/letf2.c: Likewise.
5092 * soft-fp/muldf3.c: Likewise.
5093 * soft-fp/mulsf3.c: Likewise.
5094 * soft-fp/multf3.c: Likewise.
5095 * soft-fp/negdf2.c: Likewise.
5096 * soft-fp/negsf2.c: Likewise.
5097 * soft-fp/negtf2.c: Likewise.
5098 * soft-fp/op-1.h: Likewise.
5099 * soft-fp/op-2.h: Likewise.
5100 * soft-fp/op-4.h: Likewise.
5101 * soft-fp/op-8.h: Likewise.
5102 * soft-fp/op-common.h: Likewise.
5103 * soft-fp/quad.h: Likewise.
5104 * soft-fp/single.h: Likewise.
5105 * soft-fp/soft-fp.h: Likewise.
5106 * soft-fp/subdf3.c: Likewise.
5107 * soft-fp/subsf3.c: Likewise.
5108 * soft-fp/subtf3.c: Likewise.
5109 * soft-fp/truncdfsf2.c: Likewise.
5110 * soft-fp/trunctfdf2.c: Likewise.
5111 * soft-fp/trunctfsf2.c: Likewise.
5112 * soft-fp/trunctfxf2.c: Likewise.
5113 * soft-fp/unorddf2.c: Likewise.
5114 * soft-fp/unordsf2.c: Likewise.
5115 * soft-fp/unordtf2.c: Likewise.
5116
02ac9503
UB
51172013-11-05 Uros Bizjak <ubizjak@gmail.com>
5118
5119 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
5120 (_FP_MUL_MEAT_D): Ditto.
5121 (_FP_DIV_MEAT_S): Ditto.
5122 (_FP_DIV_MEAT_D): Ditto.
5123 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
5124 t-softfp-sfdf and t-softfp to tmake_file.
5125
61221141
UB
51262013-11-03 Uros Bizjak <ubizjak@gmail.com>
5127
5128 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
5129 * config/i386/crtprec.c: Ditto.
5130
9304f876
CJW
51312013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
5132 Shiva Chen <shiva0217@gmail.com>
5133
5134 * config.host (nds32*-elf*): Add nds32 target.
5135 * config/nds32 : New directory and files.
5136
0e499e75
HPN
51372013-10-16 Hans-Peter Nilsson <hp@axis.com>
5138
5139 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
5140 * config.host (cpu_type) <Setting default>: Add entry for
5141 crisv32-*-*.
5142 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
5143 <crisv32-*-linux*>: Adjust.
5144 * longlong.h: Wrap the whole CRIS section in a single
5145 defined(__CRIS__) conditional. Add comment about add_ssaaaa
5146 and sub_ddmmss.
5147 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
5148 defined.
5149 [__CRIS__] (__umulsidi3): Define.
5150 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
5151 * config/cris/sfp-machine.h: New file.
5152 * config/cris/umulsidi3.S: New file.
5153 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
5154 * config/cris/arit.c (SIGNMULT): New macro.
5155 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
5156 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
5157 saving 3 out of originally 33 cycles from the fastest
5158 path, 3 out of 54 from the medium path and one from the longest
5159 path. Improve comments.
5160
16022041
RS
51612013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
5162
5163 * sync.c: Remove static aliases and define each function directly
5164 under its real name.
5165
69778659
JDA
51662013-10-02 John David Anglin <danglin@gcc.gnu.org>
5167
5168 * config.host (hppa*64*-*-linux*): Define extra_parts.
5169 (hppa*-*-linux*): Likewise.
5170
2deaf8b0
JR
51712013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
5172
5173 * config/arc/crtgend.S: Add 2013 to Copyright years.
5174 * config/arc/gmon/atomic.h: Likewise.
5175 * config/arc/gmon/auxreg.h: Likewise.
5176 * config/arc/gmon/sys/gmon_out.h: Likewise.
5177 * config/arc/gmon/sys/gmon.h: Likewise.
5178 * config/arc/gmon/prof-freq.c: Likewise.
5179 * config/arc/gmon/mcount.c: Likewise.
5180 * config/arc/gmon/prof-freq-stub.S: Likewise.
5181 * config/arc/gmon/gmon.c: Likewise.
5182 * config/arc/gmon/machine-gmon.h: Likewise.
5183 * config/arc/gmon/profil.S: Likewise.
5184 * config/arc/gmon/dcache_linesz.S: Likewise.
5185 * config/arc/crtg.S: Likewise.
5186 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
5187 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
5188 * config/arc/ieee-754/adddf3.S: Likewise.
5189 * config/arc/ieee-754/truncdfsf2.S: Likewise.
5190 * config/arc/ieee-754/fixsfsi.S: Likewise.
5191 * config/arc/ieee-754/gtsf2.S: Likewise.
5192 * config/arc/ieee-754/floatsisf.S: Likewise.
5193 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
5194 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
5195 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
5196 * config/arc/ieee-754/fixdfsi.S: Likewise.
5197 * config/arc/ieee-754/addsf3.S: Likewise.
5198 * config/arc/ieee-754/gesf2.S: Likewise.
5199 * config/arc/ieee-754/floatsidf.S: Likewise.
5200 * config/arc/ieee-754/extendsfdf2.S: Likewise.
5201 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
5202 * config/arc/ieee-754/gtdf2.S: Likewise.
5203 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
5204 * config/arc/ieee-754/uneqdf2.S: Likewise.
5205 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
5206 * config/arc/ieee-754/uneqsf2.S: Likewise.
5207 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
5208 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
5209 * config/arc/ieee-754/eqdf2.S: Likewise.
5210 * config/arc/ieee-754/ordsf2.S: Likewise.
5211 * config/arc/ieee-754/divsf3.S: Likewise.
5212 * config/arc/ieee-754/divdf3.S: Likewise.
5213 * config/arc/ieee-754/floatunsidf.S: Likewise.
5214 * config/arc/ieee-754/orddf2.S: Likewise.
5215 * config/arc/ieee-754/eqsf2.S: Likewise.
5216 * config/arc/ieee-754/gedf2.S: Likewise.
5217 * config/arc/crtn.S: Likewise.
5218 * config/arc/crti.S: Likewise.
5219 * config/arc/t-arc700-uClibc: Likewise.
5220 * config/arc/asm.h: Likewise.
5221 * config/arc/libgcc-excl.ver: Likewise.
5222 * config/arc/t-arc-newlib: Likewise.
5223 * config/arc/divtab-arc700.c: Likewise.
5224 * config/arc/initfini.c: Likewise.
5225 * config/arc/fp-hack.h: Likewise.
5226
c8e318b0
JR
52272013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
5228 Diego Novillo <dnovillo@google.com>
5229
5230 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
a07c5b47
JR
5231 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
5232 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
5233 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
c8e318b0 5234
d38a64b4
JR
52352013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
5236 Brendan Kehoe <brendan@zen.org>
5237 Simon Cook <simon.cook@embecosm.com>
5238
5239 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
5240 * config/arc: New directory.
5241 * longlong.h [__arc__] (umul_ppmm): Remove.
5242 [__arc__] (__umulsidi3): Define.
5243 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
5244 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
5245
dff717d2
JC
52462013-09-17 Jacek Caban <jacek@codeweavers.com>
5247
5248 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
5249 CreateSemaphoreA.
5250 * config/i386/gthr-win32.h: Likewise.
5251
5c0029de
DD
52522013-09-16 DJ Delorie <dj@redhat.com>
5253
844ad6c6 5254 * config/rl78/vregs.h: Add G10 register definitions.
5c0029de
DD
5255 * config/rl78/lib2mul.c: Enable for RL78/G10.
5256 * config/rl78/lib2div.c: Likewise.
5257 * config/rl78/lshrsi3.S: Use vregs.h.
5258 * config/rl78/cmpsi2.S: Likewise.
5259 * config/rl78/trampoline.S: Likewise.
5260 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
5261
ceb2fc49
DD
52622013-09-14 DJ Delorie <dj@redhat.com>
5263 Nick Clifton <nickc@redhat.com>
5264
5265 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
5266 * config/rl78/vregs.h: New.
5267 * config/rl78/signbit.S: New file. Implements signbit function.
5268 * config/rl78/divmodsi.S: New.
5269 * config/rl78/divmodhi.S: New.
5270 * config/rl78/divmodqi.S: New.
5271 * config/rl78/t-rl78: Build them here...
5272 * config/rl78/lib2div.c: ...but not here.
5273
f6a83b4a
DD
52742013-09-12 DJ Delorie <dj@redhat.com>
5275
5276 * config.host (msp*-*-elf): New.
5277 * config/msp430/: New port.
5278
9107b096
IS
52792013-08-18 Iain Sandoe <iain@codesourcery.com>
5280
5281 PR gcov-profile/58127
5282 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
5283 __thread var for emulated TLS.
5284 (__gcov_indirect_call_counters): Likewise.
5285
0f9bde1f 52862013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
61221141 5287 Catherine Moore <clm@codesourcery.com>
7d296953 5288 Richard Sandiford <rdsandiford@googlemail.com>
0f9bde1f
MR
5289
5290 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
5291 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
5292 (CALL_STUB_NO_RET): Likewise.
5293 (CALL_STUB_RET): Likewise.
5294 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
5295 __mips16_ret call/return stub symbols.
5296 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
5297 to tmake_file.
5298
2dc14aac
MR
52992013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
5300
5301 * config.host <mips*-*-linux*>: Remove a stray comment.
5302
748d71f3
JH
53032013-08-10 Jan Hubicka <jh@suse.cz>
5304
5305 Work around binutils PR14342
5306 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
5307 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
5308 (L_gcov_indirect_call_profiler_v2): New.
5309
2fa3d31b
JH
53102013-08-06 Jan Hubicka <jh@suse.cz>
5311
5312 * libgcov.c (__gcov_indirect_call_callee,
5313 __gcov_indirect_call_counters): New global vars.
5314 (__gcov_indirect_call_profiler): replace by ...
5315 (__gcov_indirect_call_profiler_v2) ... this one.
5316
2077db1b
CT
53172013-08-06 Caroline Tice <cmtice@google.com>
5318
d0595b65 5319 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
2077db1b 5320 vtv_start_preinit.o and vtv_end_preinit.o.
d0595b65
CT
5321 * configure.ac: Add code to check/set enable_vtable_verify.
5322 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
2077db1b 5323 true.
d0595b65
CT
5324 * vtv_start_preinit.c: New file.
5325 * vtv_end_preinit.c: New file.
5326 * vtv_start.c: New file.
5327 * vtv_end.c: New file.
5328 * configure: Regenerated.
2077db1b 5329
46549c20
MK
53302013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
5331
5332 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
5333 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
5334 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
5335 GPL-3.0-with-GCC-exception.
5336
72be589b
MR
53372013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
5338
5339 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
5340 ISA and up.
5341
902a3faf
AK
53422013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5343
5344 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
5345 mapping for FPRs when creating the fallback framestate.
5346
02371798
GJL
53472013-07-19 Georg-Johann Lay <avr@gjlay.de>
5348
5349 PR target/57516
5350 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
5351 (__round_s2_const, __round_u2_const)
5352 (__round_s4_const, __round_u4_const, __round_x8):
5353 Saturate result if addition result cannot be represented.
5354
ab0e8379
MK
53552013-07-15 Matthias Klose <doko@ubuntu.com>
5356
5357 * libgcc2.c: Don't include <limits.h>.
5358
7da38058
JJ
53592013-07-09 Janis Johnson <janisjo@codesourcery.com>
5360
5361 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
5362
1f6eac90
JJ
53632013-07-06 Jakub Jelinek <jakub@redhat.com>
5364
5365 PR target/29776
5366 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
5367
4ea3d774
JJ
53682013-06-28 Jakub Jelinek <jakub@redhat.com>
5369
5370 PR middle-end/36041
5371 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
5372 Define.
5373 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
5374 instead of table lookups.
5375 (__popcountDI2): Likewise.
5376
9d2cdf25
CJW
53772013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
5378
5379 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
5380 correctly.
5381
fa1e55b0
JM
53822013-06-21 Joseph Myers <joseph@codesourcery.com>
5383
5384 PR other/53317
5385 * soft-fp/adddf3.c: Update from glibc.
5386 * soft-fp/addsf3.c: Likewise.
5387 * soft-fp/addtf3.c: Likewise.
5388 * soft-fp/divdf3.c: Likewise.
5389 * soft-fp/divsf3.c: Likewise.
5390 * soft-fp/divtf3.c: Likewise.
5391 * soft-fp/double.h: Likewise.
5392 * soft-fp/eqdf2.c: Likewise.
5393 * soft-fp/eqsf2.c: Likewise.
5394 * soft-fp/eqtf2.c: Likewise.
5395 * soft-fp/extenddftf2.c: Likewise.
5396 * soft-fp/extended.h: Likewise.
5397 * soft-fp/extendsfdf2.c: Likewise.
5398 * soft-fp/extendsftf2.c: Likewise.
5399 * soft-fp/fixdfdi.c: Likewise.
5400 * soft-fp/fixdfsi.c: Likewise.
5401 * soft-fp/fixsfdi.c: Likewise.
5402 * soft-fp/fixsfsi.c: Likewise.
5403 * soft-fp/fixtfdi.c: Likewise.
5404 * soft-fp/fixtfsi.c: Likewise.
5405 * soft-fp/fixunsdfdi.c: Likewise.
5406 * soft-fp/fixunsdfsi.c: Likewise.
5407 * soft-fp/fixunssfdi.c: Likewise.
5408 * soft-fp/fixunssfsi.c: Likewise.
5409 * soft-fp/fixunstfdi.c: Likewise.
5410 * soft-fp/fixunstfsi.c: Likewise.
5411 * soft-fp/floatdidf.c: Likewise.
5412 * soft-fp/floatdisf.c: Likewise.
5413 * soft-fp/floatditf.c: Likewise.
5414 * soft-fp/floatsidf.c: Likewise.
5415 * soft-fp/floatsisf.c: Likewise.
5416 * soft-fp/floatsitf.c: Likewise.
5417 * soft-fp/floatundidf.c: Likewise.
5418 * soft-fp/floatundisf.c: Likewise.
5419 * soft-fp/floatunditf.c: Likewise.
5420 * soft-fp/floatunsidf.c: Likewise.
5421 * soft-fp/floatunsisf.c: Likewise.
5422 * soft-fp/floatunsitf.c: Likewise.
5423 * soft-fp/gedf2.c: Likewise.
5424 * soft-fp/gesf2.c: Likewise.
5425 * soft-fp/getf2.c: Likewise.
5426 * soft-fp/ledf2.c: Likewise.
5427 * soft-fp/lesf2.c: Likewise.
5428 * soft-fp/letf2.c: Likewise.
5429 * soft-fp/muldf3.c: Likewise.
5430 * soft-fp/mulsf3.c: Likewise.
5431 * soft-fp/multf3.c: Likewise.
5432 * soft-fp/negdf2.c: Likewise.
5433 * soft-fp/negsf2.c: Likewise.
5434 * soft-fp/negtf2.c: Likewise.
5435 * soft-fp/op-1.h: Likewise.
5436 * soft-fp/op-2.h: Likewise.
5437 * soft-fp/op-4.h: Likewise.
5438 * soft-fp/op-8.h: Likewise.
5439 * soft-fp/op-common.h: Likewise.
5440 * soft-fp/quad.h: Likewise.
5441 * soft-fp/single.h: Likewise.
5442 * soft-fp/soft-fp.h: Likewise.
5443 * soft-fp/subdf3.c: Likewise.
5444 * soft-fp/subsf3.c: Likewise.
5445 * soft-fp/subtf3.c: Likewise.
5446 * soft-fp/truncdfsf2.c: Likewise.
5447 * soft-fp/trunctfdf2.c: Likewise.
5448 * soft-fp/trunctfsf2.c: Likewise.
5449 * soft-fp/unorddf2.c: Likewise.
5450 * soft-fp/unordsf2.c: Likewise.
5451 * soft-fp/unordtf2.c: Likewise.
5452 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
5453 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5454 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5455 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5456 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5457 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5458 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5459 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5460 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5461 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
5462 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
5463 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5464
0de86a92
JU
54652013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
5466
5467 * config/mips/lib2funcs.c: New file.
5468 * config/mips/t-mips (LIB2ADD_ST): Add it.
5469
0d008882
OE
54702013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
5471
5472 PR target/6526
5473 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
5474 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
5475
776434d1
WL
54762013-06-08 Walter Lee <walt@tilera.com>
5477
5478 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
5479 Replace int64_t with long long. Add __extension__ where
5480 appropriate.
5481 * config/tilepro/atomic.c: Include config.h.
5482
6ab3ebb4
DR
54832013-06-06 Douglas B Rupp <rupp@adacore.com>
5484
5485 * config.host (arm-wrs-vxworks): Configure with other soft float.
5486
107eea2c
JU
54872013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
5488
5489 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
5490 (mips64r5900el-*-elf*): New configurations.
5491
5cc19c62
AM
54922013-06-04 Alan Modra <amodra@gmail.com>
5493
5494 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
5495
0f1d3965
YR
54962013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
5497
5498 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
5499
0ba045df
EB
55002013-05-28 Eric Botcazou <ebotcazou@adacore.com>
5501
5502 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
5503 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
5504 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
5505
49dcafd4
EB
55062013-05-22 Eric Botcazou <ebotcazou@adacore.com>
5507
5508 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
5509 (powerpc-wrs-vxworks): Likewise.
5510
4fcb5d87
EB
55112013-05-22 Eric Botcazou <ebotcazou@adacore.com>
5512
5513 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
5514 signal frames as well.
5515 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
5516 STACK_BIAS to the CFA offset.
5517
0ec33224
RH
55182013-05-17 Richard Henderson <rth@redhat.com>
5519
5520 PR target/49146
5521 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
5522 (execute_cfa_program): Use it when storing to fs->regs.
5523
492a8029
KT
55242013-05-08 Kai Tietz <ktietz@redhat.com>
5525
5526 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
5527 (__deregister_frame_info): Likewise.
5528
701e2f0a
TS
55292013-05-06 Thomas Schwinge <thomas@codesourcery.com>
5530
e5123d08
TS
5531 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
5532 NaN's payload.
5533
701e2f0a
TS
5534 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
5535
b9a7eb5d
AM
55362013-04-25 Alan Modra <amodra@gmail.com>
5537
5538 * config.host: Match little-endian powerpc-linux.
5539
dfe192f5
YZ
55402013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
5541
5542 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
5543 as 'unsigned long long' instead of 'unsigned long'.
5544 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
5545 'signed long'.
5546
b6b9af2f
JB
55472013-04-10 Julian Brown <julian@codesourcery.com>
5548
5549 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
5550 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
5551 unsigned char/unsigned short.
5552 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
5553
ecabdd00
JDA
55542013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
5555
5556 PR other/55274
5557 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
5558
34652576
MI
55592013-04-04 Meador Inge <meadori@codesourcery.com>
5560
5561 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
5562 computing the location of the link register.
5563 (aeabi_uldivmod): Ditto.
5564
e9fd8c19
KT
55652013-03-27 Kai Tietz <ktietz@redhat.com>
5566
5567 * config.host: Add support for cygwin x64 target.
5568 * configure: Regenerated.
5569
a6406324
WL
55702013-03-26 Walter Lee <walt@tilera.com>
5571
5572 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
5573 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
5574
55446c7e
KT
55752013-03-25 Kai Tietz <ktietz@redhat.com>
5576
5577 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
5578
d2ae19d9
RM
55792013-03-20 Robert Mason <rbmj@verizon.net>
5580
5581 * config/vxlib-tls.c (__gthread_get_tsd_data,)
5582 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
5583 (__gthread_leave_tsd_dtor_context): Add prototypes.
5584 (tls_delete_hook): Update.
5585
22c4c869
CM
55862013-03-20 Catherine Moore <clm@codesourcery.com>
5587 Joseph Myers <joseph@codesourcery.com>
5588 Chao-ying Fu <fu@mips.com>
5589
5590 * config/mips/mips16.S: Don't build for microMIPS.
5591 * config/mips/linux-unwind.h: Handle microMIPS frame.
5592 * config/mips/crtn.S (fini, init): New labels.
5593
fbd28bc3
JJ
55942013-03-14 Jakub Jelinek <jakub@redhat.com>
5595
5596 PR tree-optimization/53265
5597 * unwind-dw2.c (execute_cfa_program): Avoid
5598 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
5599 on targets with DWARF_FRAME_REGISTERS < 32.
5600
decc676e
OE
56012013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
5602
5603 PR target/49880
5604 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
5605 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
5606
84ea618a
ST
56072013-03-07 Sriraman Tallam <tmsriram@google.com>
5608
5609 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
5610 sandybridge processors.
5611
8f6d1c86
OE
56122013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
5613
5614 PR target/56529
5615 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
5616 inclusion list.
5617
ecdbd01a 56182013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
409b1de4
EI
5619
5620 * config/microblaze/crti.S: Setup stack protection at entry
5621
0b4ce21b
GJL
56222013-03-04 Georg-Johann Lay <avr@gjlay.de>
5623
5624 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
5625 (__rotldi3): Shift bytewise if applicable.
5626
b7c3f1ca
JG
56272013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
5628
5629 * config/aarch64/sync-cache.c
5630 (__aarch64_sync_cache_range): Silence warnings.
5631
6d65e8f1
CM
56322013-02-25 Catherine Moore <clm@codesourcery.com>
5633
5634 Revert:
5635 2013-02-24 Catherine Moore <clm@codesourcery.com>
5636 Joseph Myers <joseph@codesourcery.com>
5637 Chao-ying Fu <fu@mips.com>
5638
5639 * config/mips/mips16.S: Don't build for microMIPS.
5640 * config/mips/linux-unwind.h: Handle microMIPS frame.
5641 * config/mips/crtn.S (fini, init): New labels.
5642
6941b508
CM
56432013-02-24 Catherine Moore <clm@codesourcery.com>
5644 Joseph Myers <joseph@codesourcery.com>
5645 Chao-ying Fu <fu@mips.com>
5646
5647 * config/mips/mips16.S: Don't build for microMIPS.
5648 * config/mips/linux-unwind.h: Handle microMIPS frame.
5649 * config/mips/crtn.S (fini, init): New labels.
5650
7c422dbb 56512012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
cc86234f 5652 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
7c422dbb
EI
5653 as dividend.
5654
110207ad
AM
56552013-02-16 Alan Modra <amodra@gmail.com>
5656
5657 PR target/55431
5658 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
5659 (ppc_fallback_frame_state): Always set up save locations for fp
5660 and altivec. Don't bother with non-callee-saved regs, r0-r13
5661 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
5662
e68a4ef6
GJL
56632013-02-12 Georg-Johann Lay <avr@gjlay.de>
5664
5665 PR target/54222
5666 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
5667 _ssmulHA, _ssmulSA.
5668 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
5669 _ssmulha3, _usmulusa3, _ssmulsa3.
5670 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
5671 (__muldi3): XCALL __muldi3_6 instead of rcall.
5672 (__umulsidi3, __mulsidi3): New functions.
5673 (do_prologue_saves, do_epilogue_restores): New .macros.
5674 (__divdi3_moddi3): Use them.
5675 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
5676 (__usmulusa3, __ssmulsa3): New functions.
5677
6c59ffd1
IS
56782013-02-11 Iain Sandoe <iain@codesourcery.com>
5679 Jack Howarth <howarth@bromo.med.uc.edu>
5680 Patrick Marlier <patrick.marlier@gmail.com>
5681
5682 PR libitm/55693
5683 * config/darwin-crt-tm.c: Remove dummy functions hack.
5684
85d768f3
GJL
56852013-02-08 Georg-Johann Lay <avr@gjlay.de>
5686
5687 PR target/54222
5688 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
5689 * config/avr/lib2-object.mk: New iterator to build objects from it.
5690 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
5691 lib2funcs.c.
5692 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
5693 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
5694 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
5695 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
5696 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
5697 * config/avr/lib1funcs-fixed.S: Implement them.
5698
5d5bf775
RS
56992013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
5700
5701 Update copyright years.
5702
99113dff
DE
57032013-02-01 David Edelsohn <dje.gcc@gmail.com>
5704
5705 PR target/54601
5706 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
5707 Add crtcxa to extra_parts.
5708 * config/rs6000/exit.h: New file.
5709 * config/rs6000/cxa_atexit.c: New file.
5710 * config/rs6000/cxa_finalize.c: New file.
5711 * config/rs6000/crtcxa.c: New file.
5712 * config/rs6000/t-aix-cxa: New file.
5713 * config/rs6000/libgcc-aix-cxa.ver: New file.
5714
dbdbd982
NC
57152013-01-31 Nick Clifton <nickc@redhat.com>
5716
5717 * config/v850/lib1funcs.S: Add support for e3v5 architecture
5718 variant.
5719
5893f158
GJL
57202013-01-29 Georg-Johann Lay <avr@gjlay.de>
5721
5722 PR target/54222
5723 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
5724 _mulQQ, _mulHQ, _mulHA, _mulSA,
5725 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
5726 _divQQ, _divHQ, _divHA, _divSA,
5727 _divUQQ, _divUHQ, _divUHA, _divUSA.
5728
ecdbd01a 57292013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
fbf0cf90 5730
dbdbd982 5731 * config.host(microblaze*-linux*): tmake_file: Remove
fbf0cf90
DH
5732 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
5733 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
5734 to exclude functions from being built with libgcc.c and use
5735 the microblaze assembly.
5736
ecdbd01a 57372013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
6f14eef2
EI
5738
5739 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
5740 extra_parts.
5741
922c57d1
YZ
57422013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
5743
5744 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
5745 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
5746 __UINTPTR_TYPE__; also cast 'base' to the same type before the
5747 alignment operation.
5748
e0f8b6a0
SN
57492013-01-15 Sofiane Naci <sofiane.naci@arm.com>
5750
5751 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
5752 loop start address for cache clearing.
5753
00892272
GJL
57542013-01-14 Georg-Johann Lay <avr@gjlay.de>
5755
5756 * config/avr/lib1funcs.S: Remove trailing blanks.
5757 * config/avr/lib1funcs-fixed.S: Ditto.
5758
e59ec5fd
GJL
57592013-01-14 Georg-Johann Lay <avr@gjlay.de>
5760
5761 * config/avr/avr-lib.h: Add GPL copyright notice.
5762
3ffc1958
GJL
57632013-01-14 Georg-Johann Lay <avr@gjlay.de>
5764
5765 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
5766 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
5767 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
5768 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
5769
25c210f9
MK
57702013-01-07 Mark Kettenis <kettenis@openbsd.org>
5771
5772 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
5773 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
2bc15360 5774
db59befb
NC
57752013-01-04 Nick Clifton <nickc@redhat.com>
5776
5777 * config/v850/lib1funcs.S: Only provide CALLT support functions if
5778 the CALLT instruction is supported.
5779
5aa12dbf
JW
57802012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
5781
5782 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
5783 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
5784
65f14117
JT
57852012-12-13 John Tytgat <John@bass-software.com>
5786
5787 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
5788 is 25.
5789
ee3ae4f7
JJ
57902012-12-12 Jakub Jelinek <jakub@redhat.com>
5791
5792 PR libgcc/55451
5793 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
5794 undefined signed overflows.
5795
2fcfba3d
UB
57962012-12-09 Uros Bizjak <ubizjak@gmail.com>
5797
5798 PR target/55344
5799 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
5800
4f2b3dc2
UB
58012012-12-06 Uros Bizjak <ubizjak@gmail.com>
5802
5803 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
5804 (FP_TRAPPING_EXCEPTIONS): Define.
5805 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
5806 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
5807
066161a2
RH
58082012-12-04 Richard Henderson <rth@redhat.com>
5809
5810 PR bootstrap/55571
5811 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
5812
7d296953 58132012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
25626181 5814
4f2b3dc2 5815 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
25626181
MS
5816 (FP_EX_SHIFT): Define.
5817 (FP_TRAPPING_EXCEPTIONS): Define.
5818
7d296953 58192012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
868395e8
MS
5820
5821 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
5822 (FP_ROUNDMODE): Use FP_RND_MASK.
5823 * config/aarch64/sfp-exceptions.c: New.
5824 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
5825 Use __sfp_handle_exceptions.
5826
5005fe22
RE
58272012-12-04 Richard Earnshaw <rearnsha@arm.com>
5828
5829 * config.host: (arm*-*-freebsd*): Remove.
5830 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
5831 (arm*-*-elf*): Remove.
5832 (arm*-*-wince-pe*): Remove.
5833 * arm/unwind-arm.c (struct fpa_reg): Delete.
5834 (struct fpa_regs): Delete.
5835 (phase1_vrs): Remove fpa element.
5836 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
5837 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
5838 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
5839 * ieee754-sf.S (floatundisf): Remove FPA support.
5840 (floatdisf): Likewise.
5841 * ieee75f-df.S (floatundidf): Likewise.
5842 (floatdidf): Likewise.
5843
e5a81c8e
KT
58442012-11-29 Kai Tietz <ktietz@redhat.com>
5845
5846 PR target/55445
5847 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
5848 * unwind-generic.h: Likewise.
5849 * unwind-seh.c: Likewise.
5850
f4919e4a
RH
58512012-11-28 Richard Henderson <rth@redhat.com>
5852
5853 PR libgcc/48076
5854 * emutls.c (__emutls_get_address): Avoid race condition between
5855 obj->loc.offset read and emutls_key initialization.
4f2b3dc2 5856
e13d9d5a
GJL
58572012-11-22 Georg-Johann Lay <avr@gjlay.de>
5858
5859 Adjust decimal point of signed accum mode to GCC default.
5860
5861 PR target/54222
5862 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
5863 _divqq_helper.
5864 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
5865 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
5866 (__mulha3, __mulsa3)
5867 (__divqq3, __divha3, __divsa3): Adjust to new position of
4f2b3dc2
UB
5868 decimal point of signed accum types.
5869
e13d9d5a
GJL
5870 (__mulusa3_round): New function.
5871 (__mulusa3): Use it.
5872 (__divqq_helper): New function.
5873 (__udivuqq3): Use it.
5874
1b845c6e
JJ
58752012-11-20 Jakub Jelinek <jakub@redhat.com>
5876
5877 PR bootstrap/55370
5878 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
5879
822a258a
TJ
58802012-11-18 Teresa Johnson <tejohnson@google.com>
5881
5882 PR bootstrap/55051
5883 * libgcov.c (gcov_exit): Remove merged program summary
5884 comparison unless !GCOV_LOCKED.
5885
7d296953 58862012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
54f4eaf0
MS
5887
5888 * soft-fp: Updated from glibc upstream.
5889
e808687a
ILT
58902012-11-06 Ian Lance Taylor <iant@google.com>
5891
5892 * generic-morestack.c (__generic_morestack): Align the returned
5893 stack pointer to a 32 byte boundary.
5894 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
5895 increment the return address until we have decided that we don't
5896 have a varargs function.
5897 (__morestack) [32-bit]: Align stack correctly when calling C
5898 functions.
5899 (__morestack) [64-bit]: Likewise.
5900
460277e0
TS
59012012-11-04 Thomas Schwinge <thomas@codesourcery.com>
5902
5903 * configure: Regenerate.
5904
73edb277
UB
59052012-11-02 Uros Bizjak <ubizjak@gmail.com>
5906
5907 PR target/55175
5908 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
5909 * config/i386/sfp-machine.h: Guard exception handling
5910 code with _SOFT_FLOAT.
5911 * config/i386/32/sfp-machine.h: Guard rounding handling
5912 code with _SOFT_FLOAT.
5913 * config/i386/64/sfp-machine.h: Ditto.
5914
c1d4fa04
JS
59152012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
5916
5917 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
5918 as extra_parts.
5919
eff6ca85
UB
59202012-10-26 Uros Bizjak <ubizjak@gmail.com>
5921
5922 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
5923 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
5924 when appropriate. Correct structure element types.
5925 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
5926 -minline-all-stringops from compile flags.
5927
7d296953 59282012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
43a8f1a1
RC
5929
5930 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
5931
7d296953 59322012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
76c78361 5933
eff6ca85 5934 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
76c78361 5935
6f288860
SH
59362012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
5937
5938 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
5939 tmake_file.
5940
1e3d5096
IB
59412012-10-23 Ian Bolton <ian.bolton@arm.com>
5942 Jim MacArthur <jim.macarthur@arm.com>
5943 Marcus Shawcroft <marcus.shawcroft@arm.com>
5944 Nigel Stephens <nigel.stephens@arm.com>
5945 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
5946 Richard Earnshaw <rearnsha@arm.com>
5947 Sofiane Naci <sofiane.naci@arm.com>
5948 Stephen Thomas <stephen.thomas@arm.com>
5949 Tejas Belagod <tejas.belagod@arm.com>
5950 Yufeng Zhang <yufeng.zhang@arm.com>
5951
5952 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
5953 * config/aarch64/crti.S: New file.
5954 * config/aarch64/crtn.S: New file.
5955 * config/aarch64/linux-unwind.h: New file.
5956 * config/aarch64/sfp-machine.h: New file.
5957 * config/aarch64/sync-cache.c: New file.
5958 * config/aarch64/t-aarch64: New file.
5959 * config/aarch64/t-softfp: New file.
5960
8a740f07
HPN
59612012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
5962
5963 * config/mmix/crti.S: Mark program and data addresses using PRELD.
5964 Remove typo'd and unnecessary alignment-LOC for .data. Remove
5965 no-longer-needed LDBU insns.
5966
7d296953 59672012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
153c8397
SH
5968
5969 * config.host
5970 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
5971 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
5972
595fefee
MGD
59732012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
5974
5975 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
5976
9945a876
MK
59772012-10-15 Matthias Klose <doko@ubuntu.com>
5978
5979 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
5980
1183dc2c
PC
59812012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
5982
5983 * configure: Regenerate.
5984 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
5985
945a9c1f
UB
59862012-10-10 Uros Bizjak <ubizjak@gmail.com>
5987
5988 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
5989 instructions for 64bit targets only.
5990
fb8bf47a
UB
59912012-10-10 Uros Bizjak <ubizjak@gmail.com>
5992
5993 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
5994 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
5995 * config/i386/32/sfp-machine.h: ... here.
5996 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
5997 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
5998 New defines.
5999
acb72498
MK
60002012-10-07 Matthias Klose <doko@ubuntu.com>
6001
6002 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
6003 as unused.
6004 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
6005
8eaee0f0
MK
60062012-10-06 Mark Kettenis <kettenis@openbsd.org>
6007
6008 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
6009 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
6010 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
6011 (ElfW): Likewise.
6012
5e3e4fe8
JW
60132012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
6014
6015 PR other/53889
6016 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
6017 Fix parameter names.
6018
86086376
OE
60192012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
6020
6021 PR target/33135
6022 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
6023 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
6024 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
6025
9597375a
OE
60262012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
6027
6028 PR target/50457
6029 * config/sh/linux-atomic.S: Delete.
6030 * config/sh/linux-atomic.c: New.
6031 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
6032 linux-atomic.c. Add cflags to disable warnings.
6033
1504e3e1
JW
60342012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
6035
6036 PR other/53889
6037 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
6038 function.
6039 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
6040 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
6041 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
6042 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
5e3e4fe8
JW
6043 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
6044 Likewise.
1504e3e1
JW
6045 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
6046 Likewise.
6047 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
6048 Likewise.
6049 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
6050 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
6051
17f293b0
MK
60522012-09-19 Mark Kettenis <kettenis@openbsd.org>
6053
9597375a
OE
6054 * config.host (hppa-*-openbsd*): New target.
6055 * config/pa/t-openbsd: New file.
17f293b0 6056
51526856
GJL
60572012-09-15 Georg-Johann Lay <avr@gjlay.de>
6058
6059 PR target/54222
6060 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
6061 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
6062 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
6063 (__divsa3): Use __negsi2 to negate r_quoL.
6064 * config/avr/lib1funcs.S (FALIAS): New macro.
6065 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
6066 (__negsi2): ...this new function.
6067 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
6068 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
6069 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
6070 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
6071 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
6072 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
6073
aadb5b43
OE
60742012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
6075
6076 PR target/54089
6077 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
6078 (lshrsi3): Reimplement as lshrsi3_r0.
6079
d5d66749
AS
60802012-09-10 Andreas Schwab <schwab@linux-m68k.org>
6081
6082 PR target/46191
6083 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
6084 of libgcc.a.
6085
c6c36e73
TJ
60862012-09-07 Teresa Johnson <tejohnson@google.com>
6087
9597375a 6088 PR gcov-profile/54487
c6c36e73 6089 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
9597375a 6090 differences.
c6c36e73 6091
b588ae30
GJL
60922012-09-05 Georg-Johann Lay <avr@gjlay.de>
6093
6094 PR target/54461
6095 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
6096 not configured --with-avrlibc=no.
6097 * config/avr/t-avrlibc: New file.
6098 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
6099 (DPBIT_FUNCS): Ditto.
6100 (TPBIT_FUNCS): Ditto.
6101
abd16fb1
TJ
61022012-09-04 Teresa Johnson <tejohnson@google.com>
6103
6104 * libgcov.c (struct gcov_summary_buffer): New structure.
6105 (gcov_histogram_insert): New function.
6106 (gcov_compute_histogram): Ditto.
6107 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
6108 histograms during summary merging.
6109
613061fd
MK
61102012-09-01 Mark Kettenis <kettenis@openbsd.org>
6111
6112 * config.host (x86_64-*-openbsd*): New target.
73edb277 6113
867a8345
CLT
61142012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
6115
6116 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
6117 attribute.
6118
4aeaaca3
GJL
61192012-08-24 Georg-Johann Lay <avr@gjlay.de>
6120
6121 PR target/54222
6122 * config/avr/t-avr (conv_X): Rename to func_X.
6123
e55e4056
GJL
61242012-08-24 Georg-Johann Lay <avr@gjlay.de>
6125
6126 PR target/54222
6127 * config/avr/lib1funcs-fixed.S: New file.
6128 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
6129 after they are used.
6130 (neg2, neg4): New macros.
6131 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
6132 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
6133 (__umulhisi3): Speed up MUL variant if there is enough flash.
6134 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
6135 avr-modes.def.
6136 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
6137 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
6138 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
6139 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
6140 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
6141 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
6142 (LIB2FUNCS_EXCLUDE): Add supported functions.
6143
a147b6d2
GJL
61442012-08-22 Georg-Johann Lay <avr@gjlay.de>
6145
6146 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
6147 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
6148 libgcc-s-objects.
6149 * fixed-obj.mk: Only expand dependency if $o is not in
6150 LIB2FUNCS_EXCLUDE.
6151
c637141a
L
61522012-08-22 H.J. Lu <hongjiu.lu@intel.com>
6153
6154 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
6155
130e00bd
JM
61562012-08-22 Joseph Myers <joseph@codesourcery.com>
6157
6158 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
6159 depend on --enable-shared.
6160 ($(lib1asmfuncs-o)): Use %.vis files independent of
6161 --enable-shared.
6162 * static-object.mk ($(base)$(objext), $(base).vis)
6163 ($(base)_s$(objext)): Use same rules for visibility handling as in
6164 shared-object.mk.
6165
4b1b3788
ILT
61662012-08-21 Ian Lance Taylor <iant@google.com>
6167
6168 * config/i386/morestack.S (__morestack_non_split): Increase amount
6169 of space allocated for non-split code stack.
6170
d2468141
JM
61712012-08-19 Joseph Myers <joseph@codesourcery.com>
6172
6173 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
6174 even if inhibit_libc.
6175
a508e1a8
JB
61762012-08-17 Julian Brown <julian@codesourcery.com>
6177
6178 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
6179 -fexceptions -fnon-call-exceptions if not defined.
6180 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
6181 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
6182
5615a07d
AS
61832012-08-17 Andreas Schwab <schwab@linux-m68k.org>
6184
6185 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
6186 type.
6187
138f5acd
DE
61882012-08-16 David Edelsohn <dje.gcc@gmail.com>
6189
6190 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
6191 rs6000/t-slibgcc-aix.
6192
18efc0dd
SB
61932012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
6194
6195 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
6196
6b39bc38
SB
61972012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
6198
6199 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
6200
cd25dea0
L
62012012-08-03 H.J. Lu <hongjiu.lu@intel.com>
6202
6203 PR driver/54171
6204 * Makefile.in (version): Replace top_srcdir with srcdir.
6205
a3dda30b
JY
62062012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
6207
6208 * Makefile.in (version): set to BASE-VER file from gcc directory.
6209
d04aacfc
NC
62102012-08-01 Nick Clifton <nickc@redhat.com>
6211
6212 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
6213 Implements __clrsb for an HImode argument.
6214
0d13c974
NC
62152012-07-31 Nick Clifton <nickc@redhat.com>
6216
6217 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
6218 Implements __clrsb for an HImode argument.
6219 * config/stormy16/clrsbhi2.c: New file:
6220 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
6221
efbb59b2
SB
62222012-07-22 Steven Bosscher <steven@gcc.gnu.org>
6223
6224 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
6225
bf1431e3
TG
62262012-07-19 Tristan Gingold <gingold@adacore.com>
6227 Richard Henderson <rth@redhat.com>
6228
6229 * unwind-seh.c: New file.
6230 * unwind-generic.h: Include windows.h for SEH.
6231 (_Unwind_Exception): Use 6 private fields for SEH.
6232 (_GCC_specific_handler): Declare.
6233 * unwind-c.c (__gcc_personality_seh0): New function.
6234 Adjust for SEH.
6235 * config/i386/libgcc-cygming.ver: New file.
6236 * config/i386/t-seh-eh: New file.
6237 * config.host (x86_64-*-mingw*): Default to seh.
6238
659140c8
SB
62392012-07-14 Steven Bosscher <steven@gcc.gnu.org>
6240
6241 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
6242
a20d08fd
UB
62432012-06-17 Uros Bizjak <ubizjak@gmail.com>
6244
6245 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
6246 __builtin_expect when checking for exceptions.
6247 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
6248
79261115
UB
62492012-06-13 Uros Bizjak <ubizjak@gmail.com>
6250
4a172156
UB
6251 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
6252 function declaration.
6253 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
6254 (FP_RND_MASK): New.
6255 * config/ia64/sfp-exceptions.c: New.
6256 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
79261115 6257
bb5c97d4
UB
62582012-06-13 Uros Bizjak <ubizjak@gmail.com>
6259
6260 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
6261 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
6262 * config/i386/64/sfp-machine: ... (delete here) ...
6263 * config/i386/sfp-machine.h: ... to here.
6264 (FP_EX_MASK): Remove.
6265 (FP_RND_MASK): New.
6266 (FP_INIT_ROUNDMODE): Declare asm as volatile.
6267
91fe5efb
ST
62682012-06-11 Sriraman Tallam <tmsriram@google.com>
6269
6270 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
6271 * config/i386/libgcc-sol2.ver: Ditto.
6272 * config/i386/libgcc-glibc.ver: Ditto.
6273
67a218c5
RM
62742012-06-11 Roland McGrath <mcgrathr@google.com>
6275
6276 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
6277 If __GLIBC__ is defined, refer to __pthread_key_create instead of
6278 pthread_cancel.
6279
492fbea1
UB
62802012-06-09 Uros Bizjak <ubizjak@gmail.com>
6281
6282 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
6283 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
6284 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
6285 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
6286 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
6287 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
6288 * config/i386/64/sfp-machine: ... (delete here) ...
6289 * config/i386/sfp-machine.h: ... to here.
6290 (FP_EX_MASK): New.
6291 (__sfp_handle_exceptions): New function declaration.
6292 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
6293 * config/i386/sfp-exceptions.c: New.
6294 * config/i386/t-softfp: New.
6295 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
6296 i386/t-softfp to tmake_file.
6297
7b4cf266
DM
62982012-06-03 David S. Miller <davem@davemloft.net>
6299
6300 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
6301 change.
6302
0de0d5c6
DM
63032012-05-31 David S. Miller <davem@davemloft.net>
6304
6305 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
6306 multiply and divide instructions on 32-bit when V9.
6307 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
6308
d8c9d391
JM
63092012-05-29 Joseph Myers <joseph@codesourcery.com>
6310
6311 * config/arm/ieee754-df.S: Fix typos.
6312 * config/arm/ieee754-sf.S: Fix typos.
6313 * config/c6x/libunwind.S: Fix typos.
6314 * config/epiphany/udivsi3-float.c: Fix typos.
6315 * config/microblaze/muldi3_hard.S: Fix typos.
6316 * config/picochip/adddi3.S: Fix typos.
6317 * config/picochip/ashlsi3.S: Fix typos.
6318 * config/picochip/ashrsi3.S: Fix typos.
6319 * config/picochip/clzsi2.S: Fix typos.
6320 * config/picochip/cmpsi2.S: Fix typos.
6321 * config/picochip/divmod15.S: Fix typos.
6322 * config/picochip/divmodhi4.S: Fix typos.
6323 * config/picochip/divmodsi4.S: Fix typos.
6324 * config/picochip/longjmp.S: Fix typos.
6325 * config/picochip/lshrsi3.S: Fix typos.
6326 * config/picochip/parityhi2.S: Fix typos.
6327 * config/picochip/popcounthi2.S: Fix typos.
6328 * config/picochip/setjmp.S: Fix typos.
6329 * config/picochip/subdi3.S: Fix typos.
6330 * config/picochip/ucmpsi2.S: Fix typos.
6331 * config/picochip/udivmodhi4.S: Fix typos.
6332 * config/picochip/udivmodsi4.S: Fix typos.
6333 * config/spu/divv2df3.c: Fix typos.
6334 * config/spu/mfc_multi_tag_release.c: Fix typos.
6335 * config/spu/mfc_tag_release.c: Fix typos.
6336 * configure.ac: Fix typos.
6337 * configure: Regenerate.
6338
31a18a7e
ILT
63392012-05-25 Ian Lance Taylor <iant@google.com>
6340
6341 * config/i386/morestack.S (__morestack_non_split): Check whether
6342 caller is varargs and needs %bp to hold the stack frame on return.
6343
c5768510
OH
63442012-05-25 Olivier Hainque <hainque@adacore.com>
6345
6346 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
6347 sequence in the non pic case on VxWorks.
6348
7c7c339b
OH
63492012-05-24 Olivier Hainque <hainque@adacore.com>
6350
73fb7630 6351 * Makefile.in: Move dependency on install-unwind_h from
7c7c339b
OH
6352 "install-leaf" to "install".
6353
fdc1b7d3
OH
63542012-05-24 Olivier Hainque <hainque@adacore.com>
6355
6356 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
6357 Use a separate command for stamp removals.
6358
07ba94b9
AP
63592012-05-21 Andrew Pinski <apinski@cavium.com>
6360
6361 PR bootstrap/53183
6362 * configure.ac: Define the default includes to being none.
6363 * configure: Regenerate.
6364
4677d2eb
OH
63652012-05-16 Olivier Hainque <hainque@adacore.com>
6366
6367 * Makefile.in (install-unwind_h): Rename into ...
6368 (install-unwind_h-forbuild): New target.
6369 (all): Use it instead of the former install-unwind_h.
6370 (install-unwind_h): Reinstate, copy to user install destination
6371 for include files, not to the internal gcc object directory one.
6372 (install-leaf): Depend on it.
6373
7d67c380
OH
63742012-05-15 Olivier Hainque <hainque@adacore.com>
6375
6376 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
6377 register numbers. LR_REGNO replaces R_LR.
6378 (ucontext_for): New, helper for ...
6379 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
6380 and 5.3 of ...
6381 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
6382
aca06c90
RO
63832012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6384
6385 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
6386 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
6387 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
6388 i386/t-cpuinfo ...
6389 (i[34567]86-*-*, x86_64-*-*): ... here.
6390
6391 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
6392 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
6393
6394 * config/i386/i386-cpuinfo.c: Rename to ...
6395 * config/i386/cpuinfo.c: ... this.
6396 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
6397
6398 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
6399 (libgcc_cv_init_priority): New test.
6400 * configure: Regenerate.
6401 * config.in: New file.
6402 * Makefile.in (clean): Rename config.h to auto-target.h.
6403 (config.h): Likewise.
6404 (stamp-h): Likewise.
6405
6406 * config/i386/cpuinfo.c (auto-target.h): Include.
6407 (CONSTRUCTOR_PRIORITY): Define.
6408 (__cpu_indicator_init): Use it.
6409
0d03ac1b
L
64102012-05-09 H.J. Lu <hongjiu.lu@intel.com>
6411
6412 * longlong.h: Use a URL instead of an FSF postal address.
6413 Replace spaces with tab.
6414
4a172156 64152012-05-08 Teresa Johnson <tejohnson@google.com>
4e8ee9cb
TJ
6416
6417 * libgcov.c (gcov_clear, __gcov_reset): New functions.
6418 (__gcov_dump): Ditto.
6419 (gcov_dump_complete): New global variable.
6420 (gcov_exit): Export hidden to enable use in L_gcov_dump.
6421 (__gcov_flush): Outline functionality now in gcov_clear.
6422 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
6423
e4bb767e
AJ
64242012-04-28 Aurelien Jarno <aurelien@aurel32.net>
6425
31a18a7e
ILT
6426 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
6427 (mips*-*-linux*): Include mips/t-tpbit when long double is
6428 16 bytes long.
e4bb767e 6429
5ddecff9
ST
64302012-04-25 Sriraman Tallam <tmsriram@google.com>
6431
6432 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
6433 (get_available_features): New argument. Check for AVX2.
6434 (__cpu_indicator_init): Modify call to get_available_features.
6435
b427dd7a
AM
64362012-04-25 Alan Modra <amodra@gmail.com>
6437
6438 * config/rs6000/crtsavevr.S: New file.
6439 * config/rs6000/crtrestvr.S: New file.
6440 * config/rs6000/t-savresfgpr: Build the above.
6441 * config/rs6000/t-netbsd: Likewise.
6442
ad491329
ST
64432012-04-24 Sriraman Tallam <tmsriram@google.com>
6444
6445 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
6446
792317cc
ST
64472012-04-24 Sriraman Tallam <tmsriram@google.com>
6448
6449 * libgcc/config/i386/i386-cpuinfo.c: New file.
6450 * libgcc/config/i386/t-cpuinfo: New file.
6451 * libgcc/config.host: Include t-cpuinfo.
6452 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
6453
e1be98a4
CF
64542012-04-24 Chao-ying Fu <fu@mips.com>
6455
6456 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
6457
1bde7dab
TS
64582012-04-20 Thomas Schwinge <thomas@codesourcery.com>
6459
6460 struct siginfo vs. siginfo_t
6461
6462 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
6463 siginfo_t instead of struct siginfo.
6464 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
6465 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
6466 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
6467 (ia64_handle_unwabi): Likewise.
6468 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
6469 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
6470 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
6471 (sh_fallback_frame_state): Likewise.
6472 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
6473 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
6474
24590f66
L
64752012-04-02 H.J. Lu <hongjiu.lu@intel.com>
6476
6477 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
6478 system call number.
6479
9a9dcce8
EB
64802012-03-31 Eric Botcazou <ebotcazou@adacore.com>
6481
6482 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
6483 if it hasn't been previously saved.
6484
6401aaf5
L
64852012-03-29 H.J. Lu <hongjiu.lu@intel.com>
6486
6487 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
6488 only for glibc.
6489
7fd6378e
GJL
64902012-03-28 Georg-Johann Lay <avr@gjlay.de>
6491
6492 PR target/52737
6493 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
6494 instead of __AVR_HAVE_8BIT_SP__.
6495
9e916de7
TG
64962012-03-26 Tristan Gingold <gingold@adacore.com>
6497
6498 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
6499 (unw_table_entry): Use unw_word instead of unsigned long.
6500 (_Unwind_FindTableEntry): Likewise.
6501 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
6502 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
6503 (_Unwind_FindTableEntry): Likewise.
6504 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
6505 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
6506 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
6507 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
6508 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
6509 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
6510 (uw_init_context_1, uw_install_context): Likewise.
6511 (unw_word): Move to unwind-ia64.h
6512
4b12e93d
TG
65132012-03-26 Tristan Gingold <gingold@adacore.com>
6514
6515 * config/vms/vms-ucrt0.c: Update copyright years.
6516 Add a sanity check.
6517 (___gcc_main_flags): Declare.
6518 (__main): Check flags to remap argv and exit code.
6519 * config.host (*-*-*vms*): Adjust extra_parts.
6520 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
6521 (crt0.o): Add.
6522
06ea7371
RE
65232012-03-22 Richard Earnshaw <rearnsha@arm.com>
6524
6525 * arm/lib1funcs.asm (ctzsi2): New function.
6526 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
6527 * arm/t-linux (LIB1ASMFUNCS): Likewise.
6528 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
6529 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
6530 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
6531 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
6532
d82ad50d
AT
65332012-03-21 Andreas Tobler <andreast@fgznet.ch>
6534
6535 * config.host: Add bits to support powerpc64-*-freebsd*.
6536 * config/rs6000/freebsd-unwind.h: New file.
6537 * config/rs6000/t-freebsd64: New file.
6538
b260a8c0
RG
65392012-03-20 Richard Guenther <rguenther@suse.de>
6540
6541 PR gcov-profile/52627
6542 * libgcov.c (init_mx): Fix mutex name.
6543
86286a8a
TG
65442012-03-16 Tristan Gingold <gingold@adacore.com>
6545
6546 * config/ia64/vms-unwind.h: Remove ulong (and replace
6547 it by unw_reg where used). Define unw_reg with __int64.
6548
7888f266
RO
65492012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6550
6551 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
6552 Solaris 8 handling.
6553 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
6554 Solaris 8 handling.
6555 (sparc_is_sighandler): Likewise.
6556
f155bc64
L
65572012-03-13 H.J. Lu <hongjiu.lu@intel.com>
6558
6559 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
6560 <= saved reg size.
6561
d47657bd
RO
65622012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6563
6564 * config/arm/crtn.S: Fix typo.
6565
5bef73a1
RG
65662012-03-13 Richard Guenther <rguenther@suse.de>
6567
6568 * libgcov.c: Remove stdio.h include and NULL un-define.
6569
9c4271f3
RG
65702012-03-13 Richard Guenther <rguenther@suse.de>
6571
6572 PR target/52569
6573 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
6574
c6d10e7c
RG
65752012-03-13 Richard Guenther <rguenther@suse.de>
6576
6577 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
6578
074a385f
RG
65792012-03-13 Richard Guenther <rguenther@suse.de>
6580
6581 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
6582 and __gthread_mutex_init_function definitions.
6583
c4bc5c25
RO
65842012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6585
6586 * config.host (mips*-*-openbsd*): Remove.
6587
5c30094f
RO
65882012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6589
6590 * config.host: Remove alpha*-dec-osf5.1* handling.
6591 * config/alpha/gthr-posix.c: Remove.
6592 * config/alpha/libgcc-osf5.ver: Remove.
6593 * config/alpha/osf5-unwind.h: Remove.
6594 * config/alpha/t-osf-pthread: Remove.
6595 * config/alpha/t-slibgcc-osf: Remove.
6596 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
6597 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
6598 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
6599 * mkmap-flat.awk: Remove osf_export handling.
6600
33e3e24d
RG
66012012-03-12 Richard Guenther <rguenther@suse.de>
6602
6603 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
6604 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
6605 (__gthread_mutex_init_function): New function.
6606 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
6607
6608 PR gcov/49484
6609 * libgcov.c: Include gthr.h.
6610 (__gcov_flush_mx): New global variable.
6611 (init_mx, init_mx_once): New functions.
6612 (__gcov_flush): Protect self with a mutex.
6613 (__gcov_fork): Re-initialize mutex after forking.
6614 * unwind-dw2-fde.c: Change condition under which to use
6615 __GTHREAD_MUTEX_INIT_FUNCTION.
6616
d8aba32a
TG
66172012-03-12 Tristan Gingold <gingold@adacore.com>
6618
6619 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
6620 * config/ia64/t-vms: Likewise.
6621
75ffafdc
MH
66222012-03-11 Michael Hope <michael.hope@linaro.org>
6623
4a172156
UB
6624 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
6625 for Thumb-2.
75ffafdc 6626
ef6c2c53
WL
66272012-03-07 Walter Lee <walt@tilera.com>
6628
6629 * config/tilepro/atomic.c: Rename "atomic_" prefix to
6630 "arch_atomic_".
6631 (atomic_xor): Rename and move definition to
6632 config/tilepro/atomic.h.
6633 (atomic_nand): Ditto.
6634 * config/tilepro/atomic.h: Rename "atomic_" prefix to
6635 "arch_atomic_".
6636 (arch_atomic_xor): Move from config/tilepro/atomic.c.
6637 (arch_atomic_nand): Ditto.
6638
4e30d980
GJL
66392012-03-07 Georg-Johann Lay <avr@gjlay.de>
6640
6641 PR target/52507
6642 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
6643
61108225
GJL
66442012-03-07 Georg-Johann Lay <avr@gjlay.de>
6645
6646 PR target/52505
6647 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
6648 from RAM.
6649
b30e10ab
GJL
66502012-03-07 Georg-Johann Lay <avr@gjlay.de>
6651
6652 PR target/52461
6653 PR target/52508
6654 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
6655 if RAMPZ affects reading from RAM.
6656 (__tablejump_elpm__): Ditto.
6657 (.xload): Ditto.
6658 (__movmemx_hi): Ditto.
6659 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
6660 (__do_global_dtors): Ditto.
6661 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
6662 (__movmemx_hi): Ditto.
6663
8993fde4
RH
66642012-03-05 Richard Henderson <rth@redhat.com>
6665
6666 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
6667 [ARM] (count_trailing_zeros): Use the builtin.
6668
b7633ee3
KT
66692012-03-01 Kai Tietz <ktietz@redhat.com>
6670
6671 * soft-fp: Imported from glibc upstream.
6672
fbd3340c
KT
66732012-02-28 Kai Tietz <ktietz@redhat.com>
6674
6675 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
6676 for mingw-targets as attribute gcc_struct.
6677
e9e053eb
ILT
66782012-02-28 Ian Lance Taylor <iant@google.com>
6679
6680 * generic-morestack.c (__splitstack_releasecontext): Correct call
6681 to __morestack_release_segments.
6682
d80c632e
ST
66832012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
6684
6685 PR target/52390
6686 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
6687 for __linux__ when removing signals from __morestack_fullmask.
6688
0253a8b1
GJL
66892012-02-23 Georg-Johann Lay <avr@gjlay.de>
6690
6691 PR target/52261
6692 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
6693
e10e461e
UW
66942012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6695
6696 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
6697 instead of HAVE_INITFINI_ARRAY.
6698 * config/ia64/crtend.S: Likewise.
6699
0c0c6398
KT
67002012-02-20 Kai Tietz <ktietz@redhat.com>
6701
d7470374
KT
6702 PR libstdc++/52300
6703 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
6704
0c0c6398
KT
6705 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
6706 to w32-unwind.h header.
6707
78c27266
RS
67082012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
6709
6710 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
6711 (mips*-*-linux*): Remove t-slibgcc-libgcc.
6712 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
6713 * config/mips/mips16.S (__mips16_rdhwr): Delete.
6714
5adeb246
RS
67152012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
6716
6717 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
6718
672ed313
IS
67192012-02-15 Iain Sandoe <iains@gcc.gnu.org>
6720
6721 PR libitm/52220
6722 * config/darwin-crt-tm.c: Correct typo.
e9e053eb 6723
e948a1fb
IS
67242012-02-15 Iain Sandoe <iains@gcc.gnu.org>
6725 Patrick Marlier <patrick.marlier@gmail.com>
6726
6727 PR libitm/52220
6728 * config/darwin-crt-tm.c: Generate dummy functions.
6729
6017aed3
IS
67302012-02-15 Iain Sandoe <iains@gcc.gnu.org>
6731 Patrick Marlier <patrick.marlier@gmail.com>
6732
6733 PR libitm/52042
6734 * config/darwin-crt-tm.c (getTMCloneTable): New function.
6735 (__doTMRegistrations): Call it.
e9e053eb 6736 (__doTMdeRegistrations): Likewise.
6017aed3 6737
2da8c1ad 67382012-01-15 Georg-Johann Lay <avr@gjlay.de>
7d296953
JJ
6739 Anatoly Sokolov <aesok@post.ru>
6740 Eric Weddington <eric.weddington@atmel.com>
2da8c1ad
GJL
6741
6742 PR target/52261
6743 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
6744 (__epilogue_restores__): Ditto.
6745
0f952eb4
EB
67462012-02-15 Eric Botcazou <ebotcazou@adacore.com>
6747
6748 PR target/51921
6749 PR target/52205
6750 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
6751 Solaris 11 and slightly reformat.
6752 (sparc_is_sighandler): Likewise.
6753
dd552284
WL
67542012-02-14 Walter Lee <walt@tilera.com>
6755
6756 * config.host: Handle tilegx and tilepro.
6757 * config/tilegx/sfp-machine.h: New file.
6758 * config/tilegx/sfp-machine32.h: New file.
6759 * config/tilegx/sfp-machine64.h: New file.
6760 * config/tilegx/t-crtstuff: New file.
6761 * config/tilegx/t-softfp: New file.
6762 * config/tilegx/t-tilegx: New file.
6763 * config/tilepro/atomic.c: New file.
6764 * config/tilepro/atomic.h: New file.
6765 * config/tilepro/linux-unwind.h: New file.
6766 * config/tilepro/sfp-machine.h: New file.
6767 * config/tilepro/softdivide.c: New file.
6768 * config/tilepro/softmpy.S: New file.
6769 * config/tilepro/t-crtstuff: New file.
6770 * config/tilepro/t-tilepro: New file.
6771
b59cbd50
JW
67722012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
6773
6774 PR libstdc++/51296
6775 PR libstdc++/51906
6776 * gthr-posix.h: Allow static initializer macros to be disabled.
6777 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
6778
6caf807f
CLT
67792012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
6780
6781 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
6782 Add t-slibgcc-libgcc to tmake_file.
6783 * config/mips/libgcc-mips16.ver: Revert previous patch.
6784 * config/mips/mips16.S (__mips16_rdhwr): Hide.
6785
7d296953
JJ
67862012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
6787 Jayant R Sonar <jayant.sonar@kpitcummins.com>
b25364a0
S
6788
6789 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
6790 * config/cr16/crti.S: New file.
6791 * config/cr16/crtlibid.S: New file.
6792 * config/cr16/crtn.S: New file.
6793 * config/cr16/lib1funcs.S: New file.
6794 * config/cr16/t-cr16: New file.
6795 * config/cr16/t-crtlibid: New file.
6796 * config/cr16/unwind-dw2.h: New file.
6797 * config/cr16/unwind-cr16.c: New file.
6798 * config/cr16/divmodhi3.c: New file.
6799
8ef03aa7
AM
68002012-01-25 Alan Modra <amodra@gmail.com>
6801
6802 * config/rs6000/t-linux64: Delete. Move..
6803 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
6804 * config/rs6000/t-linux: ..and libgcc flags to here.
6805
daecebc8
DR
68062012-01-22 Douglas B Rupp <rupp@gnat.com>
6807
6808 * config.host (i[34567]86-*-interix3*):
8ef03aa7 6809 Change triplet to i[34567]86-*-interix[3-9]*.
daecebc8
DR
6810 * configure: Regenerate.
6811
ddaf8125
RS
68122012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
6813 Richard Sandiford <rdsandiford@googlemail.com>
6814
6815 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
6816 * config/mips/mips16.S (__mips16_rdhwr): New function.
6817 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
6818
2cd8b32c
NS
68192012-01-11 Nathan Sidwell <nathan@acm.org>
6820
6821 * libgcov.c (__gcov_init): Ignore objects with no functions.
6822
cba300dd
GJL
68232012-01-10 Georg-Johann Lay <avr@gjlay.de>
6824
6825 PR target/49868
6826 Extend __pgmx semantics to linearize memory.
6827 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
6828 * config/avr/lib1funcs.S (__xload_1): New function.
6829 (__movmemx_qi, __movmemx_hi): New functions.
6830 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
6831 semantics.
9ffaf4bc 6832
3d137660
EB
68332012-01-09 Eric Botcazou <ebotcazou@adacore.com>
6834
6835 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
6836 purported sigacthandler address isn't null before dereferencing it.
6837 (sparc_is_sighandler): Likewise.
6838
bf4db96c
EB
68392012-01-09 Eric Botcazou <ebotcazou@adacore.com>
6840
6841 PR ada/41929
6842 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
6843 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
6844 (sparc_is_sighandler): Likewise.
6845 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
6846
1ab3568b
TG
68472012-01-06 Tristan Gingold <gingold@adacore.com>
6848
6849 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
6850 compatibility thunks...
6851 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
6852 (crtbeginS.o, crtendS.o): ... and these to ...
6853 * config/ia64/t-ia64-elf: ... this new file.
6854 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
6855 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
6856
925b0ed8
AK
68572012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6858
6859 * configure: Regenerate.
6860 * config/s390/t-crtstuff: Remove -fPIC.
6861
a99ad737
JW
68622012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
6863
6864 PR bootstrap/51006
6865 * enable-execute-stack-mprotect.c (getpagesize): Do not define
6866 for NetBSD.
6867
884f56d1
GJL
68682012-01-02 Georg-Johann Lay <avr@gjlay.de>
6869
6870 PR target/51345
6871 * config/avr/lib1funcs.S: Remove FIXME comments.
6872 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
6873
8c57e547
GJL
68742012-01-02 Georg-Johann Lay <avr@gjlay.de>
6875
6876 Implement light-weight DImode support.
6877 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
6878 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
6879 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
6880 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
6881
04dbc287
NS
68822011-12-30 Nathan Sidwell <nathan@acm.org>
6883
6884 * libgcov.c (gcov_crc32): Remove global var.
6885 (free_fn_data): New function.
6886 (buffer_fn_data): Pass in filename, more robust error recovery.
6887 (crc32_unsigned): New function.
6888 (gcov_exit): More robust detection of new program. More robust
6889 error recovery.
6890 (__gcov_init): Do not update program's crc here.
6891
8e1d97d4
TG
68922011-12-21 Tristan Gingold <gingold@adacore.com>
6893
6894 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
6895
9ffaf4bc
ILT
68962011-12-21 Ian Lance Taylor <iant@google.com>
6897
6898 * config/i386/morestack.S: Simplify CFI opcodes throughout.
6899
a0c8d0c1
ILT
69002011-12-20 Ian Lance Taylor <iant@google.com>
6901
6902 * config/i386/morestack.S (__morestack_non_split): If there is
6903 enough stack space already, don't split. Ask for more stack space
6904 than we required.
6905
69048898
SDJ
69062011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
6907
6908 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
6909 `sys/sdt.h'.
6910 (_Unwind_DebugHook): New function.
6911 (uw_restore_core_regs): New define.
6912 (unwind_phase2): Use uw_restore_core_regs instead of
6913 restore_core_regs.
6914 (unwind_phase2_forced): Likewise.
6915 (__gnu_Unwind_Resume): Likewise.
6916
1bb4b6a3
UB
69172011-12-20 Uros Bizjak <ubizjak@gmail.com>
6918
6919 * config/alpha/linux-unwind.h: Update copyright years.
6920 (MD_FROB_UPDATE_CONTEXT): New define.
6921 (alpha_frob_update_context): New function.
6922
eb028768
RS
69232011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
6924
6925 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
6926 tmake_file rather replacing it.
6927
6a2045bf
IS
69282011-12-15 Iain Sandoe <iains@gcc.gnu.org>
6929
6930 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
1bb4b6a3 6931 function is not used for PPC64.
6a2045bf
IS
6932 (save_world): Amend comments. Update the VRsave mask to reflect the
6933 saved regs.
6934 (rest_world): Update comments, do not clobber r10, do not use r8.
6935 (eh_rest_world_r10): Amend comments, do not use r8.
6936 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
6937 no longer used, move restore of CR and target address to the end of
6938 the routine.
6939
a13780a6
L
69402011-12-14 H.J. Lu <hongjiu.lu@intel.com>
6941
6942 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
6943 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
6944
d7288dfb
GJL
69452011-12-14 Georg-Johann Lay <avr@gjlay.de>
6946
6947 PR target/49313
6948 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
6949 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
6950
8d2c862d
EB
69512011-12-11 Eric Botcazou <ebotcazou@adacore.com>
6952
6953 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
6954
3447cae6
GJL
69552011-12-09 Georg-Johann Lay <avr@gjlay.de>
6956
6957 PR target/49313
6958 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
6959 * config/avr/lib1funcs.S (__muldi3): New function.
6960
806fc6aa
AP
69612011-12-06 Andrew Pinski <apinski@cavium.com>
6962
6963 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
6964 size of func_ptr.
6965 (__frame_dummy_init_array_entry): Likewise.
6966
28c5e6b5
GJL
69672011-12-06 Georg-Johann Lay <avr@gjlay.de>
6968
6969 Forward-port from gcc-4_6-branch r181936 2011-12-02.
6970
6971 PR target/51345
6972 PR target/51002
6973 * config/avr/lib1funcs.S (__prologue_saves__,
6974 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
6975 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
6976
8f90394a
IS
69772011-12-04 Iain Sandoe <iains@gcc.gnu.org>
6978
6979 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
6980
06dd33ac
JDA
69812011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
6982
6983 PR other/51272
6984 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
6985 (_ITM_deregisterTMCloneTable): Likewise.
6986 (__register_frame_info): Fix unused warning.
6987 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
6988 pthread_default_stacksize_np): Likewise.
6989 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
1bb4b6a3 6990
85b8555e
DD
69912011-11-29 DJ Delorie <dj@redhat.com>
6992
6993 * config.host (rl78-*-elf): New case.
6994 * config/rl78: New directory for the Renesas RL78.
6995
4d5ae4ea
BS
69962011-11-29 Bernd Schmidt <bernds@codesourcery.com>
6997
6998 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
6999 formatting.
7000
f9c55897
RO
70012011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7002
7003 PR other/51022
7004 * config/rs6000/t-savresfgpr: New file.
7005 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
7006 $(srcdir)/config/rs6000/eabi.S.
7007 * config/rs6000/t-ppccomm-ldbl: Remove.
7008 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
7009 tmake_file.
7010 (powerpc-*-eabispe*): Likewise.
7011 (powerpc-*-eabi*): Likewise.
7012 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
7013 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
7014 to tmake_file, remove rs6000/t-ppccomm-ldbl.
7015 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
7016 tmake_file.
7017 (powerpc-*-eabisim*): Likewise.
7018 (powerpc-*-elf*): Likewise.
7019 (powerpc-*-eabialtivec*): Likewise.
7020 (powerpc-xilinx-eabi*): Likewise.
7021 (powerpc-*-rtems*): Likewise.
7022 (powerpcle-*-elf*): Likewise.
7023 (powerpcle-*-eabisim*): Likewise.
7024 (powerpcle-*-eabi*): Likewise.
7025
a01207c4
ILT
70262011-11-27 Ian Lance Taylor <iant@google.com>
7027
7028 * generic-morestack.c (__splitstack_find): Check for NULL old
7029 stack value.
7030 (__splitstack_resetcontext): New function.
7031 (__splitstack_releasecontext): New function.
7032 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
7033
2b0b8ab2
IS
70342011-11-27 Iain Sandoe <iains@gcc.gnu.org>
7035
7036 * config/darwin-crt-tm.c: Correct comments, use correct licence.
7037
c1d8101c
IS
70382011-11-27 Iain Sandoe <iains@gcc.gnu.org>
7039
7040 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
7041
8b281334
RH
70422011-11-26 Richard Henderson <rth@redhat.com>
7043
7044 * config/m68k/linux-atomic.c: New file.
7045 * config/m68k/t-linux: New file.
7046 * config.host (m68k-uclinux, m68k-linux): Use it.
7047
7546aa9d
RH
70482011-11-26 Richard Henderson <rth@redhat.com>
7049
7050 * crtstuff.c (__TMC_LIST__): Mark used not unused.
7051 (__TMC_END__): Only declare if hidden is available; in the definition,
7052 if hidden is unavailable add a null record.
7053 (deregister_tm_clones, register_tm_clones): New.
7054 (__do_global_dtors_aux, frame_dummy): Use them.
7055 (__do_global_dtors, __do_global_ctors_1): Likewise.
7056
e2362f5d
IS
70572011-11-22 Iain Sandoe <iains@gcc.gnu.org>
7058
7059 * config/darwin-crt-tm.c: New file.
7060 * config.host (darwin): Build crttms.o crttme.o to provide
7061 startup and shutdown for tm clones.
7062 * config/t-darwin (crttms.o): New build rule.
7063 (crttme.o): Likewise.
7064
6685dd96
HPN
70652011-11-21 Hans-Peter Nilsson <hp@axis.com>
7066
7067 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
7068 et al.
7069
b0dc7e4c
RH
70702011-11-21 Richard Henderson <rth@redhat.com>
7071
7072 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
7073 (__TMC_LIST__, __TMC_END__): New.
7074 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
7075 (__do_global_dtors): Likewise.
7076 (frame_dummy): Call _ITM_registerTMCloneTable.
7077 (__do_global_ctors_1): Likewise.
7078
d4b4b542
RO
70792011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7080
7081 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
7082 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
7083 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
7084 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
7085 * config/i386/t-darwin64: Remove.
7086 * config/sh/t-netbsd (LIB2ADD): Remove.
7087
989bdb74
GJL
70882011-11-21 Georg-Johann Lay <avr@gjlay.de>
7089
7090 PR target/49313
7091 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
7092 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
7093 * config/avr/lib1funcs.S (wmov): New assembler macro.
7094 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
7095 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
7096 (__udivmod64): New function.
7097 (__negdi2): New function.
7098
515a0cfc
GP
70992011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
7100
7101 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
7102 *-*-freebsd*aout*): Remove.
7103
0115d17f
HPN
71042011-11-20 Hans-Peter Nilsson <hp@axis.com>
7105
7106 * static-object.mk (c_flags-$o): Save c_flags.
7107 ($(base)$(objext)): Use it.
7108
93aeb62b
SE
71092011-11-18 Steve Ellcey <sje@cup.hp.com>
7110
7111 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
7112
7bc6df2c
GJL
71132011-11-18 Georg-Johann Lay <avr@gjlay.de>
7114
7115 PR target/49868
7116 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
7117 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
7118 New functions.
7119
425d737b
MGD
71202011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
7121
7122 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
7123 functions.
1bb4b6a3 7124 (aeabi_uidivmod): Likewise.
425d737b
MGD
7125 (umodsi3): Likewise.
7126 (divsi3): Likewise.
7127 (aeabi_idivmod): Likewise.
7128 (modsi3): Likewise.
7129
f2a176dc
TG
71302011-11-16 Tristan Gingold <gingold@adacore.com>
7131
7132 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
7133
7c209481
GJL
71342011-11-15 Georg-Johann Lay <avr@gjlay.de>
7135
7136 PR target/49868
7137 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
7138 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
7139
9dfd5832
JDA
71402011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
7141
7142 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
7143 tmake_file list.
7144 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
7145 * config/pa/t-stublib64: Delete.
7146
f77dca5d
RH
71472011-11-12 Richard Henderson <rth@redhat.com>
7148
7149 * config/rs6000/linux-unwind.h (frob_update_context): Properly
7150 cast the pointer argument to _Unwind_SetGRPtr.
7151
902828f0
RO
71522011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7153
7154 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
7155
e14304ef
ILT
71562011-11-09 Ian Lance Taylor <iant@google.com>
7157
7158 * generic-morestack.c: Include <string.h>.
7159 (uintptr_type): Define.
7160 (struct initial_sp): Add dont_block_signals field. Reduce size of
7161 extra array by 1.
7162 (allocate_segment): Set prev field to NULL. Don't set
7163 __morestack_current_segment or __morestack_segments.
7164 (__generic_morestack): Update current->prev and *pp after calling
7165 allocate_segment.
7166 (__morestack_block_signals): Don't do anything if
7167 dont_block_signals is set.
7168 (__morestack_unblock_signals): Likewise.
7169 (__generic_findstack): Check for initial_sp == NULL. Add casts to
7170 uintptr_type.
7171 (__splitstack_block_signals): New function.
7172 (enum __splitstack_content_offsets): Define.
7173 (__splitstack_getcontext, __splitstack_setcontext): New functions.
7174 (__splitstack_makecontext): New function.
7175 (__splitstack_block_signals_context): New function.
7176 (__splitstack_find_context): New function.
7177 * config/i386/morestack.S (__morestack_get_guard): New function.
7178 (__morestack_set_guard, __morestack_make_guard): New functions.
7179 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
7180
e3d871e4
RO
71812011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7182
7183 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
7184 (i[34567]86-*-mingw*): ... here.
7185 (x86_64-*-mingw*): ... here.
7186
e55cef40
RO
71872011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7188
7189 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
7190
5366b186
NS
71912011-11-07 Nathan Sidwell <nathan@acm.org>
7192
7193 * libgcov.c (struct gcov_fn_buffer): New struct.
7194 (buffer_fn_data): New helper.
7195 (gcov_exit): Rework for new gcov data structures.
7196
74155a6f
GJL
71972011-11-07 Georg-Johann Lay <avr@gjlay.de>
7198
7199 PR target/49313
7200 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
7201
200feb07
RO
72022011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7203
7204 * config.host (tmake_file): Correct comment.
7205 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
7206 t-libgcc-pic.
7207 (bfin*-uclinux*): Likewise.
7208 (bfin*-linux-uclibc*): Likewise.
7209 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
7210
7211 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
7212 assigning.
7213 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7214 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
7215 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7216 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
7217 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7218 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
7219 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
7220 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7221 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
7222 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
7223 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
7224 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
7225 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
7226
7227 * config/bfin/t-elf: Remove.
7228 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
7229
c9cd1a07
RO
72302011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7231
7232 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
7233 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
7234 (lm32-*-elf*, lm32-*-rtems*): Split into ...
7235 (lm32-*-elf*): ... this.
7236 (lm32-*-rtems*): ... and this.
7237 Add to tmake_file.
7238 (m32r-*-rtems*): Add to tmake_file.
7239 (moxie-*-rtems*): Likewise.
7240 (sparc-*-rtems*): Likewise.
7241 Remove t-rtems from tmake_file.
7242 (sparc64-*-rtems*): Likewise.
7243 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
7244 instead.
7245
9fbcc75d
RO
72462011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7247
7248 PR bootstrap/50982
7249 * config/gthr-posix.h: Move ...
7250 * gthr-posix.h: ... here.
7251 * config/gthr-lynx.h: Reflect this.
7252 * config/gthr-vxworks.h: Likewise.
7253 * config/rs6000/gthr-aix.h: Likewise.
7254 * configure.ac (target_thread_file): Likewise.
7255 * configure: Regenerate.
7256
76644b68
SH
72572011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
7258
7259 * config.host (arm*-*-rtemseabi*): New target.
7260
5e490f2a
JDA
72612011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
7262
7263 PR other/50991
7264 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
7265 extra-parts.
7266
feeeff5c
JR
72672011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
7268
7269 * config.host (epiphany-*-elf*): New configuration.
7270 * config/epiphany: New Directory.
7271
d618bb2c
RC
72722011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
7273
7274 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
7275 * config/avr/t-rtems: New.
7276 Filter out _exit from LIB1ASMFUNCS.
7277
1bb6f778
DM
72782011-11-04 David S. Miller <davem@davemloft.net>
7279
7280 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
7281 * configure: Rebuild.
7282
9a7f7422
AK
72832011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7284
7285 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
7286 variable.
7287
e4fe948a
GJL
72882011-11-04 Georg-Johann Lay <avr@gjlay.de>
7289
7290 PR target/50931
7291 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
7292 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
7293
7084e037
JS
72942011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
7295
7296 PR target/50989
7297 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
7298
1a032034
RO
72992011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7300
7301 * config/c6x/t-elf (LIB2ADDEH): Set.
7302 * config/c6x/t-c6x-elf: Remove.
7303
d385f772
RO
73042011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7305
7306 * config/i386/sol2-ci.S: Rename to ...
7307 * config/i386/crti.S: ... this.
7308 * config/i386/sol2-cn.S: Rename to ...
7309 * config/i386/crtn.S: ... this.
7310 * config/sparc/sol2-ci.S: Rename to ...
7311 * config/sparc/crti.S: ... this.
7312 * config/sparc/sol2-cn.S: Rename to ...
7313 * config/sparc/crtn.S: ... this.
7314 * config/t-sol2 (CUSTOM_CRTIN): Remove.
7315 (crti.o, crtn.o): Remove.
7316
1ba878a9
TG
73172011-11-04 Tristan Gingold <gingold@adacore.com>
7318
7319 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
7320
02750c15
KK
73212011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
7322
7323 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
7324
bf86b067
HPN
73252011-11-03 Hans-Peter Nilsson <hp@axis.com>
7326
7327 * config.host (crisv32-*-none, cris-*-none): Remove.
7328 (crisv32-*-elf): Append to tmake_file, don't just set it.
7329 (cris-*-elf): Add missing t-fdpbit to tmake_file.
7330
d0bc53bd
RO
73312011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7332
7333 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
7334 (ecrtn$(objext)): Likewise.
7335 (ncrti$(objext)): Likewise.
7336 (ncrtn$(objext)): Likewise.
7337
036da830
AS
73382011-11-03 Andreas Schwab <schwab@redhat.com>
7339
7340 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
7341
d2a7d041
DM
73422011-11-02 David S. Miller <davem@davemloft.net>
7343
7344 * configure.ac: Set host_address on sparc too.
7345 * configure: Regenerate.
7346 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
7347 based upon host_address.
7348 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
7349
af8ed618
JM
73502011-11-02 Jason Merrill <jason@redhat.com>
7351
7352 * config/rs6000/t-ppccomm: Add missing \.
7353
5d1c8e77
RO
73542011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7355
7356 * gthr-single.h, gthr.h: New files.
7357 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
7358 config/gthr-vxworks.h, config/i386/gthr-win32.h,
7359 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
7360 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
7361 * config/i386/gthr-win32.c: Include "gthr-win32.h".
7362 * configure.ac (thread_header): New variable.
7363 Set it depending on target_thread_file.
7364 (gthr-default.h): Link from $thread_header.
7365 * configure: Regenerate.
7366 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
7367
852b75ed
RO
73682011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7369
7370 * configure.ac (tm_file_): New variable.
7371 Determine from tm_file.
7372 (tm_file, tm_defines): Substitute.
7373 * configure: Regenerate.
7374 * mkheader.sh: New file.
7375 * Makefile.in (clean): Remove libgcc_tm.h.
7376 ($(objects)): Depend on libgcc_tm.h.
7377 (libgcc_tm_defines, libgcc_tm_file): New variables.
7378 (libgcc_tm.h, libgcc_tm.stamp): New targets.
7379 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
7380 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
7381 ($(extra-parts)): Depend on libgcc_tm.h.
7382 * config.host (tm_defines, tm_file): New variable.
7383 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
7384 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
7385 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
7386 (avr-*-rtems*): Likewise.
7387 (avr-*-*): Likewise.
7388 (frv-*-elf): Likewise.
7389 (frv-*-*linux*): Likewise.
7390 (h8300-*-rtems*): Likewise.
7391 (h8300-*-elf*): Likewise.
7392 (i[34567]86-*-darwin*): Likewise.
7393 (x86_64-*-darwin*): Likewise.
7394 (rx-*-elf): Likewise.
7395 (tic6x-*-uclinux): Likewise.
7396 (tic6x-*-elf): Likewise.
7397 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
7398 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
7399 * config/i386/cygming-crtbegin.c: Likewise.
7400 * config/i386/cygming-crtend.c: Likewise.
7401 * config/ia64/fde-vms.c: Likewise.
7402 * config/ia64/unwind-ia64.c: Likewise.
7403 * config/libbid/bid_gcc_intrinsics.h: Likewise.
7404 * config/rs6000/darwin-fallback.c: Likewise.
7405 * config/stormy16/lib2funcs.c: Likewise.
7406 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
7407 * crtstuff.c: Likewise.
7408 * dfp-bit.h: Likewise.
7409 * emutls.c: Likewise.
7410 * fixed-bit.c: Likewise.
7411 * fp-bit.c: Likewise.
7412 * generic-morestack-thread.c: Likewise.
7413 * generic-morestack.c: Likewise.
7414 * libgcc2.c: Likewise.
7415 * libgcov.c: Likewise.
7416 * unwind-dw2-fde-dip.c: Likewise.
7417 * unwind-dw2-fde.c: Likewise.
7418 * unwind-dw2.c: Likewise.
7419 * unwind-sjlj.c: Likewise.
7420
f9989b51
RO
74212011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7422
7423 * configure.ac: Include ../config/picflag.m4.
7424 (GCC_PICFLAG): Call it.
7425 Substitute.
7426 * configure: Regenerate.
7427 * Makefile.in (gcc_srcdir): Remove.
7428 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
7429 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
7430 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
7431 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
7432 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
7433 Use $<.
7434 Remove comment.
7435 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
7436 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
7437 to refer to libgcc2.c.
7438 Use $<.
7439 * config/darwin-64.c: New file.
7440 * config/darwin-crt3.c: Remove comment.
7441 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
7442 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
7443 config/udivmodsi4.c: New files.
7444 * config/memcmp.c, config/memcpy.c, config/memmove.c,
7445 config/memset.c: New files.
7446 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
7447 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
7448 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
7449 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
7450 * config/t-openbsd-thread: New file.
7451 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
7452 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
7453 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
7454 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
7455 qrnnd.S.
7456 Adapt filename.
7457 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
7458 to refer to gthr-posix.c.
7459 * config/alpha/t-vms (LIB2ADD): Set.
7460 * config/alpha/vms-gcc_shell_handler.c: New file.
7461 * config/arm/bpabi.c, config/arm/fp16.c,
7462 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
7463 config/arm/unaligned-funcs.c: New files.
7464 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
7465 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
7466 * config/arm/t-linux: Likewise.
7467 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
7468 * config/arm/t-netbsd: New file.
7469 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
7470 * config/arm/t-symbian (LIB2ADD_ST): Set.
7471 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
7472 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7473 * config/bfin/t-elf: New file.
7474 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
7475 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
7476 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
7477 config/c6x/ltf.c: New files.
7478 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
7479 (HOST_LIBGCC2_CFLAGS): Set.
7480 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
7481 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7482 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
7483 New files.
7484 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
7485 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
7486 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
7487 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
7488 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
7489 files.
7490 * config/frv/t-frv (LIB2ADD): Set.
7491 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7492 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
7493 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
7494 config/h8300/popcounthi2.c: New files.
7495 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
7496 * config/i386/gthr-win32.c: New file.
7497 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
7498 * config/i386/t-cygwin: Likewise.
7499 * config/i386/t-darwin, config/i386/t-darwin64,
7500 config/i386/t-gthr-win32, config/i386/t-interix: New files.
7501 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
7502 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7503 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7504 * config/ia64/quadlib.c: New file.
7505 * config/ia64/t-hpux (LIB2ADD): Set.
7506 * config/ia64/t-ia64: Add comment.
7507 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
7508 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7509 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
7510 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
7511 * config/m32c/t-m32c (LIB2ADD): Set.
7512 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
7513 * config/m32r/t-m32r: Likewise.
7514 * config/m68k/fpgnulib.c: New file.
7515 * config/m68k/t-floatlib (LIB2ADD): Set.
7516 (xfgnulib.c): New target.
7517 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
7518 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
7519 * config/mep/t-mep (LIB2ADD): Set.
7520 * config/microblaze/divsi3.asm: Rename to divsi3.S.
7521 * config/microblaze/moddi3.asm: Rename to moddi3.S.
7522 * config/microblaze/modsi3.asm: Rename to modsi3.S.
7523 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
7524 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
7525 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
7526 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
7527 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
7528 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
7529 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
7530 New files.
7531 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
7532 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
7533 * config/pa/fptr.c, config/pa/lib2funcs.S,
7534 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
7535 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
7536 (LIB2ADD, LIB2ADD_ST): Set.
7537 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
7538 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
7539 Set.
7540 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
7541 * config/pdp11/t-pdp11: New file.
7542 * config/picochip/libgccExtras/adddi3.S,
7543 config/picochip/libgccExtras/ashlsi3.S,
7544 config/picochip/libgccExtras/ashrsi3.S,
7545 config/picochip/libgccExtras/clzsi2.S,
7546 config/picochip/libgccExtras/cmpsi2.S,
7547 config/picochip/libgccExtras/divmod15.S,
7548 config/picochip/libgccExtras/divmodhi4.S,
7549 config/picochip/libgccExtras/divmodsi4.S,
7550 config/picochip/libgccExtras/lshrsi3.S,
7551 config/picochip/libgccExtras/parityhi2.S,
7552 config/picochip/libgccExtras/popcounthi2.S,
7553 config/picochip/libgccExtras/subdi3.S,
7554 config/picochip/libgccExtras/ucmpsi2.S,
7555 config/picochip/libgccExtras/udivmodhi4.S,
7556 config/picochip/libgccExtras/udivmodsi4.S: New files.
7557 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
7558 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
7559 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
7560 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
7561 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
7562 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
7563 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
7564 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
7565 files.
7566 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
7567 (HOST_LIBGCC2_CFLAGS): Set.
7568 * config/rs6000/t-darwin64: New file.
7569 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
7570 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
7571 * config/rs6000/t-ppccomm (LIB2ADD): Add
7572 $(srcdir)/config/rs6000/tramp.S.
7573 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
7574 Add $(srcdir)/config/rs6000/eabi.S.
7575 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
7576 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
7577 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
7578 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
7579 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
7580 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
7581 * config/rs6000/tramp.S: New file.
7582 * config/s390/t-tpf: Remove.
7583 * config/sh/linux-atomic.S: New file.
7584 * config/sh/t-linux (LIB2ADD): Set.
7585 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
7586 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
7587 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
7588 to unwind-dw2.c.
7589 (HOST_LIBGCC2_CFLAGS): Set.
7590 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7591 * config/spu/divmodti4.c, config/spu/divv2df3.c,
7592 config/spu/float_disf.c, config/spu/float_unsdidf.c,
7593 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
7594 config/spu/mfc_multi_tag_release.c,
7595 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
7596 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
7597 config/spu/multi3.c: New files.
7598 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
7599 (HOST_LIBGCC2_CFLAGS): Set.
7600 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
7601 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
7602 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
7603 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
7604 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
7605 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
7606 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
7607 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
7608 config/stormy16/umodsi3.c: New files.
7609 * config/xtensa/lib2funcs.S: New file.
7610 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
7611 * config/xtensa/t-xtensa (LIB2ADD): Set.
7612 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
7613 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
7614 Add t-freebsd-thread to tmake_file for posix threads.
7615 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
7616 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
7617 (*-*-lynxos*): Likewise.
7618 (*-*-netbsd*): Likewise.
7619 (*-*-openbsd*): Likewise.
7620 Add t-openbsd-thread to tmake_file for posix threads.
7621 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
7622 (*-*-vxworks*): Set tmake_file.
7623 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
7624 (alpha*-*-freebsd*): Likewise.
7625 (alpha*-*-netbsd*): Likewise.
7626 (alpha*-*-openbsd*): Likewise.
7627 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
7628 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
7629 (alpha*-dec-*vms*): Likewise.
7630 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
7631 (bfin*-elf*): Add bfin/t-elf to tmake_file.
7632 (bfin*-uclinux*): Likewise.
7633 (bfin*-linux-uclibc*): Likewise.
7634 (crisv32-*-elf): Add cris/t-cris to tmake_file.
7635 (crisv32-*-none): Likewise.
7636 (cris-*-elf): Likewise.
7637 (cris-*-none): Likewise.
7638 (cris-*-linux*, crisv32-*-linux*): Likewise.
7639 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
7640 tmake_file.
7641 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
7642 tmake_file.
7643 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
7644 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
7645 (x86_64-*-elf*): Likewise.
7646 (i[34567]86-*-nto-qnx*): Likewise.
7647 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
7648 win32 threads.
7649 (x86_64-*-mingw*): Likewise.
7650 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
7651 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
7652 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
7653 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
7654 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
7655 tmake_file.
7656 (mipsisa64sr71k-*-elf*): Likewise.
7657 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
7658 (mips-*-elf*, mipsel-*-elf*): Likewise.
7659 (mips64-*-elf*, mips64el-*-elf*): Likewise.
7660 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
7661 (mips*-*-rtems*): Likewise.
7662 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
7663 to tmake_file.
7664 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
7665 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
7666 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
7667 (spu-*-elf*): Likewise.
7668 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
7669
45b86625
RO
76702011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7671
7672 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
7673 $(srcdir) to refer to $(LIB1ASMSRC).
7674 Use $<.
7675 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
7676 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
7677 config/arm/lib1funcs.S: New files.
7678 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
7679 * config/arm/t-arm: New file.
7680 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
7681 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
7682 config/arm/t-strongarm-elf: New files.
7683 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
7684 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
7685 * config/avr/lib1funcs.S: New file.
7686 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7687 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
7688 * config/c6x/lib1funcs.S: New file.
7689 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7690 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
7691 * config/frv/lib1funcs.S: New file.
7692 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7693 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
7694 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
7695 * config/ia64/__divxf3.asm: Rename to ...
7696 * config/ia64/__divxf3.S: ... this.
7697 Adapt lib1funcs.asm filename.
7698 * config/ia64/_fixtfdi.asm: Rename to ...
7699 * config/ia64/_fixtfdi.S: ... this.
7700 Adapt lib1funcs.asm filename.
7701 * config/ia64/_fixunstfdi.asm: Rename to ...
7702 * config/ia64/_fixunstfdi.S: ... this.
7703 Adapt lib1funcs.asm filename.
7704 * config/ia64/_floatditf.asm: Rename to ...
7705 * config/ia64/_floatditf.S: ... this.
7706 Adapt lib1funcs.asm filename.
7707 * config/ia64/lib1funcs.S: New file.
7708 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
7709 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7710 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
7711 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
7712 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
7713 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
7714 * config/mep/lib1funcs.S: New file.
7715 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7716 * config/mips/mips16.S: New file.
7717 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7718 * config/pa/milli64.S: New file.
7719 * config/pa/t-linux, config/pa/t-linux64: New files.
7720 * config/picochip/lib1funcs.S: New file.
7721 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7722 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
7723 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
7724 * config/sh/t-netbsd: New file.
7725 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
7726 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
7727 * config/sh/t-sh64: New file.
7728 * config/sparc/lb1spc.S: New file.
7729 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
7730 filename.
7731 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
7732 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
7733 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
7734 config/xtensa/lib1funcs.S: New files.
7735 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7736 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
7737 tmake_file.
7738 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
7739 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
7740 (arm*-*-linux*): Likewise.
7741 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
7742 arm*-*-linux-*eabi, add arm/t-linux otherwise.
7743 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
7744 (arm*-*-ecos-elf): Likewise.
7745 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
7746 (arm*-*-rtems*): Likewise.
7747 (arm*-*-elf): Likewise.
7748 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
7749 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
7750 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
7751 (bfin*-uclinux*): Likewise.
7752 (bfin*-linux-uclibc*): Likewise.
7753 (bfin*-rtems*): Likewise.
7754 (bfin*-*): Likewise.
7755 (fido-*-elf): Merge into m68k-*-elf*.
7756 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
7757 (frv-*-*linux*): Add frv/t-frv to tmake_file.
7758 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
7759 (h8300-*-elf*): Likewise.
7760 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
7761 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
7762 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
7763 (i[34567]86-*-mingw*): Likewise.
7764 (x86_64-*-mingw*): Likewise.
7765 (i[34567]86-*-interix3*): Likewise.
7766 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
7767 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
7768 (m68k-*-elf*): Also handle fido-*-elf.
7769 Add m68k/t-floatlib to tmake_file.
7770 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
7771 (m68k-*-linux*): Likewise.
7772 (m68k-*-rtems*): Likewise.
7773 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
7774 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
7775 sh64*-*-*.
7776 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
7777 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
7778 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
7779 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
7780 sh/t-netbsd to tmake_file.
7781 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
7782 (sh-*-rtems*): Add sh/t-sh to tmake_file.
7783 (sh-wrs-vxworks): Likewise.
7784 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
7785 *-leon[3-9]*.
7786 (v850*-*-*): Add v850/t-v850 to tmake_file.
7787 (vax-*-linux*): Add vax/t-linux to tmake_file.
7788 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
7789
5f73c6cc
RO
77902011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7791
7792 * crtstuff.c: New file.
7793 * Makefile.in (CRTSTUFF_CFLAGS): Define.
7794 (CRTSTUFF_T_CFLAGS): Define.
7795 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
7796 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
7797 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
7798 crtstuff.c.
7799 Use $<.
7800 (crtbeginT.o): Use $(objext).
7801 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
7802 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
7803 (gcc-extra-parts): Remove.
7804 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
7805 Set extra_parts.
7806 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
7807 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
7808 Add t-crtstuff-pic to tmake_file.
7809 (*-*-lynxos*): New case.
7810 Set tmake_file, extra_parts.
7811 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
7812 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
7813 *-*-netbsdelf[2-9]*.
7814 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
7815 (*-*-rtems*): Set extra_parts.
7816 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
7817 (*-*-uclinux*): New case.
7818 Set extra_parts.
7819 (*-*-vms*): New case.
7820 Set tmake_file, extra_parts.
7821 (*-*-elf): Set extra_parts.
7822 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
7823 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
7824 vms/t-vms64.
7825 Set extra_parts.
7826 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
7827 Set extra_parts.
7828 (arm*-*-freebsd*): Add t-crtin to tmake_file.
7829 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
7830 (arm-wrs-vxworks): Append to tmake_file.
7831 Set extra_parts.
7832 (arm*-*-uclinux*): Set extra_parts.
7833 (arm*-*-ecos-elf): Likewise.
7834 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
7835 arm*-*-eabi*.
7836 (arm*-*-rtems*): Set extra_parts.
7837 (arm*-*-elf): Likewise.
7838 (avr-*-rtems*): Clear extra_parts.
7839 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
7840 Set extra_parts.
7841 (bfin*-uclinux*): Likewise.
7842 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
7843 (bfin*-rtems*): Append to tmake_file.
7844 Set extra_parts.
7845 (bfin*-*): Likewise.
7846 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
7847 (crisv32-*-elf): ... this.
7848 (crisv32-*-none): ... this.
7849 (cris-*-elf, cris-*-none): New cases.
7850 Add cris/t-elfmulti to tmake_file.
7851 (fr30-*-elf): Append to tmake_file.
7852 Set extra_parts.
7853 (frv-*-elf): Append to tmake_file, add frv/t-frv.
7854 Set extra_parts.
7855 (h8300-*-rtems*): Append to tmake_file.
7856 Set extra_parts.
7857 (h8300-*-elf*): Likewise.
7858 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
7859 Set extra_parts.
7860 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
7861 Set extra_parts.
7862 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
7863 (x86_64-*-elf*): Likewise.
7864 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
7865 (x86_64-*-freebsd*): Likewise.
7866 (x86_64-*-netbsd*): Likewise.
7867 (i[34567]86-*-linux*): Likewise.
7868 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
7869 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
7870 (x86_64-*-linux*): Likewise.
7871 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
7872 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
7873 tmake_file.
7874 Set extra_parts.
7875 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
7876 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
7877 Append to extra_parts, remove crtbegin.o, crtend.o.
7878 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
7879 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
7880 crtend.o, crtbeginS.o, crtendS.o.
7881 (ia64*-*-linux*): Comment extra_parts.
7882 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
7883 Set extra_parts.
7884 (iq2000*-*-elf*): Clear extra_parts.
7885 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
7886 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
7887 (m32r-*-elf*, m32r-*-rtems*): Split off ...
7888 (m32r-*-rtems*): ... this.
7889 Add m32r/t-m32r to tmake_file.
7890 (m68k-*-elf*): Add t-crtin to tmake_file.
7891 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
7892 (mcore-*-elf): Likewise.
7893 (microblaze*-*-*): Set extra_parts.
7894 (mips*-sde-elf*): New case.
7895 Set tmake_file, extra_parts.
7896 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
7897 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
7898 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
7899 tmake_file.
7900 Set extra_parts.
7901 (mipsisa64sr71k-*-elf*): Likewise.
7902 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
7903 (mips-*-elf*, mipsel-*-elf*): Likewise.
7904 (mips64-*-elf*, mips64el-*-elf*): Likewise.
7905 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
7906 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
7907 (mips*-*-rtems*): Likewise.
7908 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
7909 (moxie-*-*): Split into ...
7910 (moxie-*-elf, moxie-*-uclinux*): ... this.
7911 Add to extra_parts, remove crtbegin.o, crtend.o.
7912 (moxie-*-rtems*): New case.
7913 Set tmake_file.
7914 Clear extra_parts.
7915 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
7916 Set extra_parts.
7917 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
7918 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
7919 tmake_file.
7920 Set extra_parts.
7921 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
7922 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
7923 Set extra_parts.
7924 (powerpc-*-eabisim*): Likewise.
7925 (powerpc-*-elf*): Likewise.
7926 (powerpc-*-eabialtivec*): Likewise.
7927 (powerpc-xilinx-eabi*): Likewise.
7928 (powerpc-*-eabi*): Likewise.
7929 (powerpc-*-rtems*): Likewise.
7930 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
7931 tmake_file.
7932 Set extra_parts.
7933 (powerpc-*-lynxos*): Add to tmake_file.
7934 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
7935 rs6000/t-crtstuff, t-crtstuff-pic.
7936 Set extra_parts.
7937 (powerpcle-*-eabisim*): Likewise.
7938 (powerpcle-*-eabi*): Likewise.
7939 (rx-*-elf): Remove extra_parts.
7940 (s390x-ibm-tpf*): Set extra_parts.
7941 (score-*-elf): Set extra_parts.
7942 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
7943 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
7944 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
7945 (sh64l*-*-netbsd*): Split into ...
7946 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
7947 Add t-crtstuff-pic to tmake_file.
7948 Set extra_parts.
7949 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
7950 Set extra_parts.
7951 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
7952 (sparc-*-elf*): Remove t-crtin from tmake_file.
7953 Add to extra_parts, remove crtbegin.o, crtend.o.
7954 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
7955 (sparc64-*-linux*): Likewise.
7956 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
7957 Add to extra_parts, remove crtbegin.o, crtend.o.
7958 (sparc64-*-elf*): Remove t-crtin from tmake_file.
7959 Add to extra_parts, remove crtbegin.o, crtend.o.
7960 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
7961 Add to extra_parts, remove crtbegin.o, crtend.o.
7962 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
7963 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
7964 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
7965 Set extra_parts.
7966 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
7967 Set extra_parts.
7968 (tic6x-*-*): Change to ...
7969 (tic6x-*-elf): ... this.
7970 Set extra_parts.
7971 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
7972 Set extra_parts.
7973 (am33_2.0-*-linux*): Add comment.
7974 (mep*-*-*): Add mep/t-mep to tmake_file.
7975 Set extra_parts.
7976 * config/alpha/t-vms: New file.
7977 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
7978 * config/arm/crti.S, config/arm/crtn.S: New files.
7979 * config/bfin/crti.S, config/bfin/crtn.S: New files.
7980 * config/bfin/crtlibid.S: New file.
7981 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
7982 * config/c6x/crti.S, config/c6x/crtn.S: New files.
7983 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
7984 (crti.o, crtin.o): New rules.
7985 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
7986 * config/c6x/t-uclinux: New file.
7987 * config/cris/t-elfmulti: New file.
7988 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
7989 * config/fr30/crti.S, config/fr30/crtn.S: New files.
7990 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
7991 * config/frv/t-frv: New file.
7992 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
7993 * config/h8300/crti.S, config/h8300/crtn.S: New files.
7994 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
7995 New files.
7996 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
7997 refer to cygming-crtbegin.c, cygming-crtend.c.
7998 Use $<.
7999 * config/i386/t-nto: New file.
8000 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
8001 * config/ia64/crti.S, config/ia64/crtn.S: New files.
8002 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
8003 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
8004 Use .S extension.
8005 Use $<.
8006 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
8007 (crtinitS.o): New rule.
8008 * config/ia64/vms-crtinit.S: New file.
8009 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
8010 * config/m32r/initfini.c: New file.
8011 * config/m32r/t-linux, config/m32r/t-m32r: New files.
8012 * config/m68k/crti.S, config/m68k/crtn.S: New files.
8013 * config/mcore/crti.S, config/mcore/crtn.S: New files.
8014 * config/mep/t-mep: New file.
8015 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
8016 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
8017 * config/mips/crti.S, config/mips/crtn.S: New files.
8018 * config/mips/t-crtstuff: New file.
8019 * config/mmix/crti.S, config/mmix/crtn.S: New files.
8020 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
8021 (CUSTOM_CRTIN): Set.
8022 ($(T)crti.o, $(T)crtn.o): Remove $(T),
8023 dependencies.
8024 Use $(srcdir) to refer to crti.S, crtn.S.
8025 Use .S extension, $<.
8026 * config/moxie/crti.asm: Rename to ...
8027 * config/moxie/crti.S: ... this.
8028 * config/moxie/crtn.asm: Rename to ...
8029 * config/moxie/crtn.S: ... this.
8030 * config/moxie/t-moxie: Remove.
8031 * config/pa/stublib.c: New file.
8032 * config/pa/t-stublib, config/pa/t-stublib64: New files.
8033 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
8034 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
8035 * config/rs6000/t-crtstuff: New file.
8036 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
8037 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
8038 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
8039 Make output file explicit.
8040 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
8041 Make output file explicit.
8042 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
8043 Make output file explicit.
8044 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
8045 Make output file explicit.
8046 * config/score/crti.S, config/score/crtn.S: New files.
8047 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
8048 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
8049 files.
8050 * config/sh/t-sh, config/sh/t-superh: New files.
8051 * config/sparc/t-linux64: New file.
8052 * config/spu/cache.S, config/spu/cachemgr.c: New files.
8053 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
8054 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
8055 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
8056 * config/t-crtin: Remove.
8057 * config/t-crtstuff-pic: New file.
8058 * config/t-sol2 (CUSTOM_CRTIN): Set.
8059 (crti.o, crtn.o): New rules.
8060 * config/vms/t-vms: New file.
8061 * config/vms/vms-ucrt0.c: New file.
8062 * config/xtensa/t-elf: New file.
8063
b040f2be
RO
80642011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8065
8066 * Makefile.in (SHLIB_NM_FLAGS): Set.
8067 * mkmap-flat.awk, mkmap-symver.awk: New files.
8068 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
8069 exceptions.
8070 * configure: Regenerate.
8071 * config/libgcc-glibc.ver: New file.
8072 * config/libgcc-libsystem.ver: New file.
8073 * config/t-libunwind (SHLIB_LC): Set.
8074 * config/t-linux: New file.
8075 * config/t-slibgcc (INSTALL_SHLIB): New.
8076 (SHLIB_INSTALL): Use it.
8077 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
8078 to mkmap-symver.awk.
8079 (SHLIB_MAPFILES): Don't append, adapt pathname.
8080 (SHLIB_VERPFX): Set.
8081 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
8082 to mkmap-symver.awk.
8083 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
8084 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
8085 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
8086 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
8087 to mkmap-flat.awk.
8088 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
8089 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
8090 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
8091 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
8092 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
8093 * config/i386/libgcc-darwin.10.4.ver,
8094 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
8095 New files.
8096 * config/i386/t-darwin: Remove.
8097 * config/i386/t-darwin64: Likewise.
8098 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
8099 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
8100 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
8101 * config/i386/t-linux: New file.
8102 * config/i386/t-mingw32: New file.
8103 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
8104 * config/ia64/t-glibc: Rename to ...
8105 * config/ia64/t-linux: ... this.
8106 (SHLIB_MAPFILES): Set.
8107 * config/ia64/t-glibc-libunwind: Rename to ...
8108 * config/ia64/t-linux-libunwind: ... this.
8109 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
8110 * config/ia64/t-slibgcc-hpux: New file.
8111 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
8112 * config/m68k/t-slibgcc-elf-ver: New file.
8113 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
8114 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
8115 to mkmap-flat.awk.
8116 * config/pa/t-slibgcc-hpux: New file.
8117 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
8118 files.
8119 * config/rs6000/libgcc-darwin.10.4.ver,
8120 config/rs6000/libgcc-darwin.10.5.ver: New files.
8121 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
8122 config/rs6000/libgcc-glibc.ver.
8123 * config/rs6000/libgcc-ppc64.ver: Rename to
8124 config/rs6000/libgcc-ibm-ldouble.ver.
8125 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
8126 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
8127 * config/rs6000/t-ldbl128: Rename to ...
8128 * config/rs6000/t-linux: ... this.
8129 (SHLIB_MAPFILES): Adapt filename.
8130 * config/rs6000/t-slibgcc-aix: New file.
8131 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
8132 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
8133 libgcc-excl.ver, libgcc-glibc.ver.
8134 (SHLIB_LINK, SHLIB_INSTALL): Remove.
8135 * config/sparc/libgcc-glibc.ver: New file.
8136 * config/sparc/t-linux: New file.
8137 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
8138 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
8139 t-slibgcc-elf-ver to tmake_file.
8140 Add t-slibgcc-nolc-override to tmake_file for posix threads on
8141 *-*-freebsd[34].
8142 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
8143 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
8144 t-slibgcc-elf-ver, t-linux to tmake_file.
8145 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
8146 tmake_file.
8147 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
8148 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
8149 (alpha*-dec-*vms*): Likewise.
8150 (arm*-*-freebsd*): Append to tmake_file.
8151 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
8152 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
8153 arm*-*-linux-*eabi.
8154 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
8155 tmake_file for arm*-*-symbianelf*.
8156 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
8157 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
8158 cris/t-linux.
8159 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
8160 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
8161 pa/t-slibgcc-dwarf-ver to tmake_file.
8162 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
8163 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
8164 (hppa*64*-*-hpux11*): Likewise.
8165 (hppa[12]*-*-hpux11*): Likewise.
8166 (x86_64-*-darwin*): Don't override tmake_file, but only keep
8167 i386/t-crtpc, i386/t-crtfm.
8168 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
8169 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
8170 to tmake_file.
8171 Add i386/t-cygwin to tmake_file.
8172 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
8173 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
8174 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
8175 to tmake_file.
8176 Add i386/t-mingw32 to tmake_file.
8177 (x86_64-*-mingw*): Likewise.
8178 (ia64*-*-freebsd*): Append to tmake_file.
8179 (ia64*-*-linux*): Append to tmake_file.
8180 Replace ia64/t-glibc by ia64/t-linux.
8181 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
8182 system libunwind.
8183 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
8184 t-slibgcc-hpux to tmake_file.
8185 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
8186 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
8187 (m32rle-*-linux*): Likewise.
8188 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
8189 sjlj exceptions.
8190 (microblaze*-linux*): New case.
8191 Append to tmake_file, add t-slibgcc-nolc-override.
8192 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
8193 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
8194 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
8195 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
8196 rs6000/t-slibgcc-aix to tmake_file.
8197 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8198 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8199 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
8200 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
8201 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
8202 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
8203 sh*-*-linux*.
8204 (sparc-*-linux*): Append to tmake_file for *-leon*.
8205 Add sparc/t-linux to tmake_file for non-Leon targets.
8206 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
8207 (tic6x-*-uclinux): New case.
8208 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
8209 (tic6x-*-*): Add c6x/t-elf to tmake_file.
8210 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
8211 (am33_2.0-*-linux*): Append to tmake_file.
8212 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
8213 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
8214 x86_64-*-kfreebsd*-gnu.
8215 Add i386/t-linux to tmake_file.
8216
18b4bd7b
ILT
82172011-10-28 Ian Lance Taylor <iant@google.com>
8218
8219 * config/i386/morestack.S: Correct CFI information to do proper
8220 returns throughout function. In 32-bit mode, save %ebx so that it
8221 is restored on unwind.
8222
5b2d9d90
BS
82232011-10-25 Bernd Schmidt <bernds@codesourcery.com>
8224
8225 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
8226 case where B3 isn't the return register.
8227
0d53e346
BS
8228 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
8229 logic for doubleword pops.
8230
cbffbd59
AT
82312011-10-25 Andreas Tobler <andreast@fgznet.ch>
8232
8233 * config/rs6000/t-freebsd: Add wildcard.
8234
56dc349e
PB
82352011-10-21 Paul Brook <paul@codesourcery.com>
8236
8237 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
8238
1e06b07d
UB
82392011-10-16 Uros Bizjak <ubizjak@gmail.com>
8240 Eric Botcazou <ebotcazou@adacore.com>
8241
8242 PR target/50737
8243 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
8244 fs->signal_frame to 1.
8245
b5204884
ILT
82462011-10-07 Ian Lance Taylor <iant@google.com>
8247
8248 * generic-morestack-thread.c: #include <errno.h>.
8249
91a639a1
ILT
82502011-10-07 Ian Lance Taylor <iant@google.com>
8251
8252 PR target/46093
8253 * generic-morestack.c (__generic_morestack): Make sure the segment
8254 is large enough for both the stack frame and the copied
8255 parameters.
8256
cc49116d
RO
82572011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8258
8259 PR bootstrap/49804
8260 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
8261 extra_parts.
8262
2996d8c3
NC
82632011-09-28 Nick Clifton <nickc@redhat.com>
8264
8265 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
8266 64-bit doubles are not enabled.
8267 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
8268 and floatunsisf functions.
8269
1e874273 82702011-09-13 Paul Brook <paul@codesourcery.com>
2996d8c3 8271
1e874273
PB
8272 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
8273 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
8274 * unwind-arm-common.inc: New file.
8275 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
8276 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
8277 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
8278 * config/c6x/libunwind.S: New file.
8279 * config/c6x/pr-support.c: New file.
8280 * config/c6x/unwind-c6x.c: New file.
8281 * config/c6x/unwind-c6x.h: New file.
8282 * config/c6x/t-c6x-elf: New file.
8283
f70c879a
UB
82842011-08-23 Uros Bizjak <ubizjak@gmail.com>
8285
8286 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
8287 (ASM_DIVZERO): Ditto.
8288 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
8289
c55b374b
RS
82902011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
8291
8292 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
8293
1e138510
RS
82942011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
8295
8296 PR target/50090
8297 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
8298 instead of an assembly one.
8299
1563503d
PB
83002011-08-12 Paolo Bonzini <bonzini@gnu.org>
8301
8302 PR bootstrap/50047
8303 * Makefile.in (install-unwind_h): Create
8304 $(gcc_objdir)/include/unwind.h atomically.
8305
3627ac1a
RO
83062011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8307
8308 * Makefile.in (install-unwind_h): Remove destination file first.
8309
c6412d86
RO
83102011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8311
8312 * sync.c: New file.
8313 * config/mips/t-mips16: New file.
8314 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
8315 (mips*-*-linux*): Likewise.
8316 (mips*-sde-elf*): Likewise.
8317 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
8318 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
8319 Add mips/t-mips16 to tmake_file.
8320 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
8321 (mips-*-elf*): Likewise.
8322 (mips64-*-elf*): Likewise.
8323 (mips64orion-*-elf*): Likewise.
8324 (mips*-*-rtems*): Likewise.
8325 (mipstx39-*-elf*): Likewise.
8326 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
8327 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
8328 LIBGCC_SYNC_CFLAGS.
8329 Use $(srcdir) to refer to sync.c.
8330 Use $<.
8331 ($(libgcc-sync-funcs-o)): Likewise.
8332 ($(libgcc-sync-size-funcs-s-o)): Likewise.
8333 ($(libgcc-sync-funcs-s-o)): Likewise.
8334
3cb6e5bd
AS
83352011-08-09 Andreas Schwab <schwab@linux-m68k.org>
8336
8337 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
8338 t-libunwind.
8339
cca2207a
L
83402011-08-08 H.J. Lu <hongjiu.lu@intel.com>
8341
8342 PR other/48007
8343 * config/i386/value-unwind.h: New.
8344
ed39fbad
RS
83452011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
8346
8347 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
8348 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
8349 Add to tmake_file rather than overriding it.
8350
aca0b0b3
RO
83512011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8352
8353 * config/t-softfp: Remove.
8354 * soft-fp: Moved from ../gcc/config.
8355 * soft-fp/README: Remove t-softfp reference.
8356 * soft-fp/t-softfp: Move to config/t-softfp.
8357 (softfp_machine_header): Remove.
8358 (softfp_file_list): Remove config subdir.
8359 (soft-fp-objects): New variable.
8360 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
8361 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
8362 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
8363 * config/t-softfp-excl: New file.
8364 * config/t-softfp-sfdf: New file.
8365 * config/t-softfp-tf: New file.
8366 * config/no-sfp-machine.h: New file.
8367 * config/arm/sfp-machine.h: New file.
8368 * config/arm/t-softfp: New file.
8369 * config/c6x/sfp-machine.h: New file.
8370 * config/i386/32/t-fprules-softfp: Rename to ...
8371 * config/i386/32/t-softfp: ... this.
8372 (tifunctions, LIB2ADD): Remove.
8373 (softfp_int_modes): Override.
8374 * config/i386/64/t-softfp-compat (tf-functions): Remove config
8375 subdir.
8376 * config/i386/64/eqtf2.c: Likewise.
8377 * config/i386/64/getf2.c: Likewise.
8378 * config/i386/64/letf2.c: Likewise.
8379 * config/ia64/sft-machine.h: New file.
8380 * config/ia64/t-fprules-softfp: Rename to ...
8381 * config/ia64/t-softfp: ... this.
8382 * config/lm32/sfp-machine.h: New file.
8383 * config/moxie/t-moxie-softfp: Remove.
8384 * config/rs6000/ibm-ldouble-format: New file.
8385 * config/rs6000/ibm-ldouble.c: New file.
8386 * config/rs6000/libgcc-ppc-glibc.ver: New file
8387 * config/rs6000/libgcc-ppc64.ver: New file
8388 * config/rs6000/sfp-machine.h: New file.
8389 * config/rs6000/t-freebsd: New file.
8390 * config/rs6000/t-ibm-ldouble: New file.
8391 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
8392 libgcc-ppc-glibc.ver.
8393 * config/rs6000/t-linux64: New file.
8394 * config/rs6000/t-ppccomm (LIB2ADD): Add
8395 $(srcdir)/config/rs6000/ibm-ldouble.c.
8396 * config/rs6000/t-ppccomm-ldbl: New file.
8397 * config/score/sfp-machine.h: New file.
8398 * config.host (sfp_machine_header): Explain.
8399 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
8400 t-softfp to tmake_file.
8401 (arm*-*-uclinux*): Likewise.
8402 (arm*-*-ecos-elf): Likewise.
8403 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
8404 (arm*-*-rtems*): Likewise.
8405 (arm*-*-elf): Likewise.
8406 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
8407 in tmake_file.
8408 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
8409 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
8410 (lm32-*-uclinux*): Likewise.
8411 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
8412 t-softfp-excl, t-softfp.
8413 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
8414 (powerpc64-*-darwin*): Likewise.
8415 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
8416 to tmake_file.
8417 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
8418 tmake_file.
8419 (powerpc-*-eabisim*): Likewise.
8420 (powerpc-*-elf*): Likewise.
8421 (powerpc-*-eabialtivec*): Likewise.
8422 (powerpc-xilinx-eabi*): Likewise.
8423 (powerpc-*-rtems*): Likewise.
8424 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
8425 t-softfp-excl, t-softfp to tmake_file.
8426 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
8427 rs6000/t-ppccomm-ldbl to tmake_file.
8428 (powerpcle-*-elf*): Likewise.
8429 (powerpcle-*-eabisim*): Likewise.
8430 (powerpcle-*-eabi*): Likewise.
8431 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
8432 rs6000/t-ibm-ldouble to tmake_file.
8433 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8434 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8435 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
8436 (tic6x-*-*): Likewise.
8437 (i[34567]86-*-darwin*, x86_64-*-darwin*,
8438 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
8439 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
8440 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
8441 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
8442 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
8443 t-softfp to tmake_file.
8444 * configure.ac (sfp_machine_header): Provide default if unset.
8445 Substitute.
8446 Link sfp-machine.h to config/$sfp_machine_header.
8447 * configure: Regenerate.
8448
569dc494
RO
84492011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8450
8451 * Makefile.in (double_type_size, long_double_type_size): Set.
8452 Remove $(fpbit-in-libgcc) support.
8453 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
8454 (fpbit-src): New variable.
8455 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
8456 Compile with -DFLOAT $(FPBIT_CFLAGS).
8457 Use $<.
8458 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
8459 Compile with $(FPBIT_CFLAGS).
8460 Use $<.
8461 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
8462 Compile with -DFLOAT $(TPBIT_CFLAGS).
8463 Use $<.
8464 * configure.ac (double_type_size, long_double_type_size):
8465 Determine and substitute.
8466 * configure: Regenerate.
8467 * fp-bit.c, fp-bit.h: New files.
8468 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
8469 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
8470 * config/mips/t-mips: New file.
8471 * config/mips/t-sdemtk: New file.
8472 * config/rs6000/ppc64-fp.c: New file.
8473 * config/rs6000/t-darwin (LIB2ADD): Add
8474 $(srcdir)/config/rs6000/ppc64-fp.c.
8475 * config/rs6000/t-ppc64-fp: New file.
8476 * config/rx/rx-lib.h: New file.
8477 * config/rx/t-rx (FPBIT): Set to true.
8478 ($(gcc_objdir)/fp-bit.c): Remove.
8479 (DPBIT): Set to true only with -m64bit-doubles.
8480 ($(gcc_objdir)/dp-bit.c): Remove.
8481 * config/sparc/t-softfp: Remove.
8482 * config/spu/t-elf: New file.
8483 * config/t-fdpbit, config/t-fpbit: New files.
8484 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
8485 (mips*-*-*): Likewise.
8486 (arm-wrs-vxworks): Likewise.
8487 (arm*-*-freebsd*): Likewise.
8488 (avr-*-rtems*): Add t-fpbit to tmake_file.
8489 (avr-*-*): Likewise.
8490 (bfin*-elf*): Add t-fdpbit to tmake_file.
8491 (bfin*-uclinux*): Likewise.
8492 (bfin*-linux-uclibc*): Likewise.
8493 (bfin*-rtems*): New case.
8494 Add t-fdpbit to tmake_file.
8495 (bfin*-*): Add t-fdpbit to tmake_file.
8496 (crisv32-*-elf): Likewise.
8497 (cris-*-linux*): Likewise.
8498 (fr30-*-elf): Likewise.
8499 (frv-*-elf, frv-*-*linux*): Likewise.
8500 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
8501 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
8502 (m32r-*-elf*): Likewise.
8503 (m32rle-*-elf*): Likewise.
8504 (m32r-*-linux*): Likewise.
8505 (m32rle-*-linux*): Likewise.
8506 (mcore-*-elf): Add t-fdpbit to tmake_file.
8507 (microblaze*-*-*): Likewise.
8508 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
8509 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
8510 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
8511 Fix typo.
8512 Add mips/t-tpbit to tmake-file.
8513 (mips*-*-linux*): Fix typo.
8514 (mips*-sde-elf*): New case
8515 Add mips/t-sdemtk unless using newlib.
8516 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
8517 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
8518 (mn10300-*-*): Likewise.
8519 (pdp11-*-*): Likewise.
8520 (picochip-*-*): Add t-fpbit to tmake_file.
8521 (powerpc-*-eabisimaltivec*): Likewise.
8522 (powerpc-*-eabisim*): Likewise.
8523 (powerpc-*-elf*): Likewise.
8524 (powerpc-*-eabialtivec*): Likewise.
8525 (powerpc-xilinx-eabi*): New case.
8526 Add t-fdpbit to tmake_file.
8527 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
8528 (powerpc-*-rtems*): Likewise.
8529 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
8530 tmake_file.
8531 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
8532 tmake_file.
8533 (powerpc-*-lynxos*): Likewise.
8534 (powerpcle-*-elf*): Likewise.
8535 (powerpcle-*-eabisim*): Likewise.
8536 (powerpcle-*-eabi*): Likewise.
8537 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
8538 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
8539 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8540 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8541 (rx-*-elf): Add t-fdpbit to tmake_file.
8542 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
8543 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
8544 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
8545 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
8546 sh*-*-netbsd*.
8547 (sh-*-rtems*): Add t-fdpbit to tmake_file.
8548 (sh-wrs-vxworks): Likewise.
8549 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
8550 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
8551 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
8552 (sparc64-*-rtems*): ... new case.
8553 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
8554 (spu-*-elf*): Likewise.
8555 Add spu/t-elf to tmake_file.
8556 (v850*-*-*): Add t-fdpbit to tmake_file.
8557 (xstormy16-*-elf): Likewise.
8558 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
8559 (mep*-*-*): Likewise.
8560
201cdb74
RO
85612011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8562
8563 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
8564 variables.
8565 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
8566 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
8567 (install-unwind_h): New target.
8568 (all): Depend on it.
8569 * config.host (unwind_header): New variable.
8570 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
8571 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
8572 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
8573 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
8574 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
8575 Set unwind_header.
8576 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
8577 Set unwind_header.
8578 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
8579 arm*-*-eabi*.
8580 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
8581 Set unwind_header.
8582 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
8583 (ia64*-*-freebsd*): Likewise.
8584 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
8585 tmake_file.
8586 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
8587 $with_system_libunwind.
8588 (ia64*-*-hpux*): Set tmake_file.
8589 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
8590 (picochip-*-*): Set tmake_file.
8591 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
8592 md_unwind_header.
8593 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8594 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8595 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
8596 (xtensa*-*-elf*): Set tmake_file.
8597 (xtensa*-*-linux*): Likewise.
8598 * configure.ac: Include ../config/unwind_ipinfo.m4.
8599 Call GCC_CHECK_UNWIND_GETIPINFO.
8600 Link unwind.h to $unwind_header.
8601 * configure: Regenerate.
8602 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
8603 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
8604 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
8605 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
8606 * config/unwind-dw2-fde-darwin.c: New file.
8607 * config/arm/libunwind.S, config/arm/pr-support.c,
8608 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
8609 config/arm/unwind-arm.h,: New files.
8610 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
8611 config/ia64/t-eh-ia64, config/ia64/t-glibc,
8612 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
8613 config/ia64/t-vms, config/ia64/unwind-ia64.c,
8614 config/ia64/unwind-ia64.h: New files.
8615 * config/picochip/t-picochip: New file.
8616 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
8617 files.
8618 * config/rs6000/t-darwin (LIB2ADDEH): Set.
8619 * config/s390/t-tpf (LIB2ADDEH): Remove.
8620 * config/t-darwin (LIB2ADDEH): Set.
8621 * config/t-eh-dw2-dip: New file.
8622 * config/t-libunwind, config/t-libunwind-elf: New files.
8623 * config/t-sol2 (LIB2ADDEH): Remove.
8624 * config/xtensa/t-xtensa: New file.
8625
40f2f11f
L
86262011-08-02 H.J. Lu <hongjiu.lu@intel.com>
8627
8628 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
8629 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
8630 long long to check rt_sigreturn syscall.
8631
bd15e32c
AM
86322011-08-02 Alan Modra <amodra@gmail.com>
8633
8634 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
8635 Restore for indirect call bcrtl from correct stack slot, and only
8636 if cfa+40 isn't valid.
8637
655b30bf
JB
86382011-08-01 Julian Brown <julian@codesourcery.com>
8639
8640 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
8641 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
8642 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
8643
247eb06f
JB
86442011-08-01 Julian Brown <julian@codesourcery.com>
8645
8646 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
8647 (libgcc-std.ver.in): Use above.
8648 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
8649 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
8650 throughout file.
8651 * config/t-fixedpoint-gnu-prefix: New file.
8652 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
8653 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
8654 instead of __PFX__.
8655
02a8fe00
L
86562011-07-28 H.J. Lu <hongjiu.lu@intel.com>
8657
8658 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
8659 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
8660 for x86-64. Properly check __x86_64__ and __LP64__.
8661
5fce9126
L
86622010-07-28 H.J. Lu <hongjiu.lu@intel.com>
8663
8664 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
8665 version.
8666 (_FP_WS_TYPE): Likewise.
8667 (_FP_I_TYPE): Likewise.
8668
2374a88a
AM
86692011-07-28 Alan Modra <amodra@gmail.com>
8670
8671 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
8672 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
8673 in a plt call stub. Do restore r2 if stopped on bctrl.
8674
e44dbbe1
RO
86752011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8676
8677 * config.host (i[3456x]86-*-netware*): Remove.
8678 * config/i386/netware-crt0.c, config/i386/t-nwld,
8679 config/i386/t-slibgcc-nwld: Remove.
8680
bcead286
BS
86812011-07-15 Bernd Schmidt <bernds@codesourcery.com>
8682
8683 * config.host: Handle tic6x-*-*.
8684 * config/c6x/c6x-abi.h: New file.
8685
b3fe1584
RO
86862011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8687
8688 * config/i386/crtprec.c: New file.
8689 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
8690 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
8691 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
8692 (x86_64-*-darwin*): Likewise.
8693 (i[34567]86-*-solaris2*: Likewise.
8694
35d8090d
RO
86952011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8696
8697 * config/alpha/crtfastmath.c: New file.
8698 * config/i386/crtfastmath.c: New file.
8699 * config/ia64/crtfastmath.c: New file.
8700 * config/mips/crtfastmath.c: New file.
8701 * config/sparc/crtfastmath.c: New file.
8702
8703 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
8704 crtfastmath.c.
8705 Add -frandom-seed=gcc-crtfastmath.
8706 * config/alpha/t-crtfm: Remove.
8707 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
8708 * config/ia64/t-ia64 (crtfastmath.o): Remove.
8709
8710 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
8711 (alpha*-dec-osf5.1*): Likewise.
8712 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
8713 Add crtfastmath.o to extra_parts.
8714 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
8715 Add crtfastmath.o to extra_parts.
8716 (x86_64-*-darwin*): Likewise.
8717 (x86_64-*-mingw*): Likewise.
8718 (ia64*-*-elf*): Add t-crtfm to tmake_file.
8719 (ia64*-*-freebsd*): Likewise.
8720 (ia64*-*-linux*): Likewise.
8721 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
8722 Add crtfastmath.o to extra_parts.
8723
e141542e
RO
87242011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8725
8726 * config/darwin-crt3.o: New file.
8727 * config/rs6000/darwin-crt2.c: New file.
8728 * config/t-darwin: New file.
8729 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
8730 (crt2.o): New rule.
8731 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
8732 (powerpc-*-darwin*): Add crt2.o to extra_parts.
8733 (powerpc64-*-darwin*): Likewise.
8734
2d1efe2d
RO
87352011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8736
8737 * config/i386/netware-crt0.c: New file.
8738 * config/i386/t-nwld: Rename to ...
8739 * config/i386/t-slibgcc-nwld: ... this.
8740 * config/i386/t-nwld: New file.
8741 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
8742 tmake_file.
8743 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
8744 extra_parts.
8745
4a8bb046
RO
87462011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8747
8748 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
8749 i386/t-crtstuff.
8750 * configure: Regenerate.
8751
2d8d5935
RO
87522011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8753
8754 * dfp-bit.c, dfp-bit.h: New files.
8755 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
8756 variables.
8757 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
8758 ($(d64pbit-o)): Likewise.
8759 ($(d128pbit-o)): Likewise.
8760 * config/t-dfprules: New file.
8761 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
8762 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
8763 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
8764 (x86_64-*-linux*): Likewise.
8765 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
8766 (i[34567]86-*-cygwin*): Likewise.
8767 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
8768 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
8769
2c50b2c3
RO
87702011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8771
8772 * Makfile.in (LIBGCOV): New variable.
8773 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
8774 * libgcov.c: New file.
8775
a039d7c2
RO
87762011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8777
8778 * fixed-bit.c, fixed-bit.h: New files.
8779 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
8780 refer to fixed-bit.c.
8781
1e4b2746
JM
87822011-07-07 Joseph Myers <joseph@codesourcery.com>
8783
8784 * config.host (*local*): Remove.
8785
fbdd5d87
RO
87862011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8787
8788 PR target/39150
8789 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
8790 like i?86-*-solaris2.1[0-9]*.
8791 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
8792 * configure.ac (i?86-*-solaris2*): Likewise.
8793 * configure: Regenerate.
8794
9e7714f4
TS
87952011-07-06 Thomas Schwinge <thomas@schwinge.name>
8796
8797 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
8798 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
8799 md_unwind_header by splitting out of...
8800 (i[34567]86-*-linux*): ... this.
8801 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
8802 Remove md_unwind_header by splitting out of...
8803 (x86_64-*-linux*): ... this.
8804
6dab9931
GJL
88052011-07-04 Georg-Johann Lay <avr@gjlay.de>
8806
8807 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
8808
4be46d19
NC
88092011-06-28 Nick Clifton <nickc@redhat.com>
8810
8811 * config.host: Recognize all V850 variants.
8812
1da9434b
UB
88132011-06-22 Uros Bizjak <ubizjak@gmail.com>
8814
8815 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
8816
e4d48a4d
RO
88172011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8818
8819 * shared-object.mk (c_flags-$o): Save c_flags.
8820 ($(base)$(objext)): Use it.
8821 ($(base)_s$(objext)): Likewise.
8822
3801c801
BS
88232011-06-21 Bernd Schmidt <bernds@codesourcery.com>
8824
8825 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
8826 * libgcc-std.ver.in (GCC_4.7.0): New section.
8827
0ad8bb3b 88282011-06-16 Georg-Johann Lay <avr@gjlay.de>
1da9434b 8829
0ad8bb3b
GJL
8830 PR target/49313
8831 PR target/29524
8832 * config/avr/t-avr: Fix line endings.
8833 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
8834 _parityXX2.
8835
ea963999
OH
88362011-06-14 Olivier Hainque <hainque@adacore.com>
8837 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8838
8839 * config/mips/irix6-unwind.h: New file.
8840 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
8841
b11b0904
EB
88422011-06-10 Eric Botcazou <ebotcazou@adacore.com>
8843
8844 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
8845 (sparc64_fallback_frame_state): Use it.
8846 (sparc64_frob_update_context): Further adjust context.
8847 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
8848 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
8849 * config/sparc/sol2-cn.S: Likewise.
8850
10e48e39
RO
88512011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8852
8853 * enable-execute-stack-empty.c: New file.
8854 * enable-execute-stack-mprotect.c: New file.
8855 * config/i386/enable-execute-stack-mingw32.c: New file.
8856 * config.host (enable_execute_stack): New variable.
8857 Select appropriate variants.
8858 * configure.ac: Link enable-execute-stack.c to
8859 $enable_execute_stack.
8860 * configure: Regenerate.
8861 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
8862 (lib2funcs): Remove _enable_execute_stack.
8863
10c4cabc
DM
88642011-06-09 David S. Miller <davem@davemloft.net>
8865 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8866
8867 * config.host (sparc-*-linux*): Correct md_unwind_header
8868 filename.
8869 (s390x-ibm-tpf*): Fix typo.
8870
aa4203e7
RO
88712011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8872
8873 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
8874 Add crtfastmath.o to extra_parts.
8875 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
8876 mips/t-crtfm.
8877 * config/mips/t-crtfm: Remove.
8878
0defd786
JDA
88792011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
8880
8881 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
8882
82f247af
KK
88832011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
8884
8885 * config.host (sh*-*-linux*): Fix typo.
8886
58cd1d70
RO
88872011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8888
8889 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
8890 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
8891 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
8892 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
8893 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
8894 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
8895 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
8896 Wrap in !__MINGW64__.
8897 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
8898 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
8899 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
8900 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
8901 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
8902 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
8903 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
8904 Wrap in !__LP64__.
8905 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
8906 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
8907 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
8908 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
8909 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
8910 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
8911 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
8912 * config/no-unwind.h: New file.
8913 * config.host (md_unwind_header): Document.
8914 Define.
8915 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
8916 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
8917 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
8918 hppa[12]*-*-hpux11*): Set md_unwind_header.
8919 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
8920 Set md_unwind_header.
8921 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
8922 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
8923 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
8924 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
8925 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
8926 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
8927 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
8928 md_unwind_header.
8929 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
8930 * configure: Regenerate.
8931
737346fa
RO
89322011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8933
8934 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
8935 Set tmake_file, extra_parts.
8936 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
8937 Remove O32 support.
8938 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
8939 Remove O32 support.
8940 * config/mips/t-irix6: New file.
8941 * config/mips/t-slibgcc-irix: New file.
8942
c192cee6
RO
89432011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8944
8945 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
8946 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
8947
ee33b5f0
RO
89482011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8949
8950 * configure.ac (target_thread_file): Determine thread model.
8951 * configure: Regenerate.
8952 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
8953 * config/alpha/t-alpha: New file.
8954 * config/alpha/t-crtfm: Use $<.
8955 * config/alpha/t-ieee: New file.
8956 * config/alpha/t-osf-pthread: New file.
8957 * config/alpha/t-slibgcc-osf: New file.
8958 * config/alpha/libgcc-osf5.ver: New file.
8959
0699e415
RO
89602011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8961
8962 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
8963 tmake_file.
8964 Add crtfastmath.o to extra_parts.
8965
a3fab9c2
RO
89662011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8967
8968 * config/gmon-sol2.c: Reindent.
8969 Cleanup comments.
8970 Remove, correct casts.
8971 Use STDERR_FILENO, NULL.
8972 (BASEADDRESS): Remove.
8973 (minbrk): Remove.
8974 (errno, sbrk): Remove declarations.
8975 (monstartup) [hp300]: Remove.
8976 (mcount): Remove.
8977
ca24c5ad
RO
89782011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8979
8980 * Makefile.in (cpu_type): Define.
8981 * config.host (i[34567]86-*-rtems*): Handle it.
8982 (i[34567]86-*-solaris2*): Move body ...
8983 (*-*-solaris2*): ... here.
8984 New case, generalize.
8985 (sparc-*-elf*): Handle it.
8986 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
8987 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
8988 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
8989 Fold into ...
8990 (sparc*-*-solaris2*): ... this.
8991 New case.
8992 (sparc64-*-elf*): Handle it.
8993 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
8994 Merge ../gcc/config/i386/gmon-sol2.c.
8995 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
8996 Use C comments.
8997 Merge ../gcc/config/i386/sol2-gc1.asm.
8998 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
8999 Use C comments.
9000 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
9001 Use C comments.
9002 * config/i386/t-crtfm (crtfastmath.o): Use $<.
9003 * config/i386/t-crtstuff: New file.
9004 * config/i386/t-softfp: New file.
9005 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
9006 $(T)crti.o, $(T)crtn.o): Remove.
9007 (gcrt1.o): New rule.
9008 (TARGET_LIBGCC2_CFLAGS): Remove.
9009 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
9010 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
9011 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
9012 * config/sparc/t-sol2: New file.
9013 * config/sparc/t-crtfm: Move to ...
9014 * config/t-crtfm: ... this.
9015 Use $(cpu_type), $<.
9016 * config/t-crtin: New file.
9017 * config/sparc/t-softfp: New file.
9018 * config/sparc/t-softmul: New file.
9019 * config/t-rtems: New file.
9020 * config/t-slibgcc: New file.
9021 * config/t-slibgcc-elf-ver: New file.
9022 * config/t-slibgcc-gld: New file.
9023 * config/t-slibgcc-sld: New file.
9024 * config/t-sol2: New file.
9025 * configure.ac: Include ../config/lib-ld.m4.
9026 Call AC_LIB_PROG_LD_GNU.
9027 Substitute cpu_type.
9028 * configure: Regenerate.
9029
ad5f3d7b
BS
90302011-05-27 Bernd Schmidt <bernds@codesourcery.com>
9031
9032 PR bootstrap/49173
9033 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
9034 libgcc-std.ver in the build directory.
9035 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
9036 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
9037
cdbf4541
BS
90382011-05-25 Bernd Schmidt <bernds@codesourcery.com>
9039
9040 * libgcc-std.ver.in: New file.
9041 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
9042 variables.
9043 (libgcc-std.ver): New rule.
9044 * config/t-gnu-prefix: New file.
9045
c8028650
RO
90462011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9047
9048 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
9049
4a68b4ca
JM
90502011-05-10 Joseph Myers <joseph@codesourcery.com>
9051
9052 * config/i386/darwin-lib.h: New file.
9053
80cf2e08
JM
90542011-05-10 Joseph Myers <joseph@codesourcery.com>
9055
9056 * config/arm/symbian-lib.h: New.
9057
a3330c9d
CD
90582011-05-04 Chris Demetriou <cgd@google.com>
9059
9060 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
9061 (__x86.get_pc_thunk.bx): ...this.
9062 (__morestack): Adjust for rename, remove undef of __i686.
9063
6ace0756
CD
90642011-05-03 Chris Demetriou <cgd@google.com>
9065
9066 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
9067
ebb9f8b0
JM
90682011-03-22 Joseph Myers <joseph@codesourcery.com>
9069
9070 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
9071 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
9072 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
9073 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
9074 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
9075 Remove cases.
9076
9cfa1499
AT
90772011-03-14 Andreas Tobler <andreast@fgznet.ch>
9078
9079 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
9080 Adjust copyright year.
9081
457186f6
ILT
90822011-03-07 Ian Lance Taylor <iant@google.com>
9083
9084 * generic-morestack.c (__splitstack_find): Adjust returned stack
9085 pointer to include all registers pushed by __morestack.
9086
58c741a6
DK
90872011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
9088
9089 PR target/40125
9090 * configure.ac: Call ACX_NONCANONICAL_TARGET.
9091 (toolexecdir): Calculate and AC_SUBST.
9092 (toolexeclibdir): Likewise.
9093 * Makefile.in (target_noncanonical): Import.
9094 (toolexecdir): Likewise.
9095 (toolexeclibdir): Likewise.
9096 * configure: Regenerate.
9097
26716c44
NF
90982010-12-13 Nathan Froyd <froydnj@codesourcery.com>
9099
9100 PR target/46040
9101 * config/arm/bpabi.h: Rename to...
9102 * config/arm/bpabi-lib.h: ...this.
9103
b595b1a1
RO
91042010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9105
9106 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
9107 appropriate.
9108 * configure: Regenerate.
9109
a3abe41c
NF
91102010-11-24 Nathan Froyd <froydnj@codesourcery.com>
9111
9112 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
9113 __FLOAT_WORD_ORDER__.
9114 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
9115 Delete.
9116
455c8f48
RW
91172010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9118
9119 PR other/46202
9120 * Makefile.in (install-strip): New phony target.
9121
f3824a8b
ILT
91222010-11-07 Ian Lance Taylor <iant@google.com>
9123
9124 PR target/46089
9125 * config/i386/morestack.S (__morestack_large_model): New
9126 function.
9127
18ed6ee4
NF
91282010-10-23 Nathan Froyd <froydnj@codesourcery.com>
9129
9130 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
9131 Delete.
9132 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
9133
8ac7fdcb
NF
91342010-10-14 Nathan Froyd <froydnj@codesourcery.com>
9135
9136 * config/arm/bpabi.h: New file.
9137 * config/frv/frv-abi.h: New file.
9138
cdb388c2
ILT
91392010-10-01 Ian Lance Taylor <iant@google.com>
9140
9141 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
9142 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
9143
ef7c141c
L
91442010-10-01 H.J. Lu <hongjiu.lu@intel.com>
9145
9146 PR target/45858
9147 * config.host: Add the missing `$'.
9148
80920132
ME
91492010-09-30 Michael Eager <eager@eagercon.com>
9150
9151 * config.host: Add microblaze*-*-*.
9152 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
9153 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
9154 udivsi3.asm,umodsi3.asm}: New.
9155
6dace308
ILT
91562010-09-28 Ian Lance Taylor <iant@google.com>
9157
9158 * configure.ac: Adjust CFI test to test assembler directly rather
9159 than checking gcc preprocessor macro.
9160 * configure: Rebuild.
9161
b6110d6d
ILT
91622010-09-27 Ian Lance Taylor <iant@google.com>
9163
9164 * configure.ac: Test whether assembler supports CFI directives.
9165 * config.host: Only add t-stack and i386/t-stack-i386 to
9166 tmake_file if libgcc_cv_cfi is "yes".
9167 * configure: Rebuild.
9168
7458026b
ILT
91692010-09-27 Ian Lance Taylor <iant@google.com>
9170
9171 * generic-morestack.h: New file.
9172 * generic-morestack.c: New file.
9173 * generic-morestack-thread.c: New file.
9174 * config/i386/morestack.S: New file.
9175 * config/t-stack: New file.
9176 * config/i386/t-stack-i386: New file.
9177 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
9178 i386/t-stack-i386 to tmake_file.
9179
5b50fc0c
IS
91802010-09-21 Iain Sandoe <iains@gcc.gnu.org>
9181
9182 * Makefile.in (libgcc-extra-parts): Check for static archives and
9183 invoke ranlib after installing them.
9184 (gcc-extra-parts): Likewise.
9185 (install-leaf): Likewise.
9186
b93cf342
L
91872010-09-14 H.J. Lu <hongjiu.lu@intel.com>
9188
9189 * configure: Regenerated.
9190
996b42ef
KT
91912010-09-10 Kai Tietz <kai.tietz@onevision.com>
9192
b93cf342 9193 * configure: Regenerated.
996b42ef 9194
be1c764e
GP
91952010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
9196 Andrew Pinski <pinskia@gmail.com>
9197
1da9434b 9198 PR target/40959
be1c764e
GP
9199 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
9200
cc0ae0ca
L
92012010-09-06 H.J. Lu <hongjiu.lu@intel.com>
9202
9203 PR target/45524
9204 * configure: Regenerated.
9205
84f47d20
AS
92062010-09-06 Andreas Schwab <schwab@redhat.com>
9207
9208 * configure: Regenerate.
9209
4159fb8d
UB
92102010-09-03 Uros Bizjak <ubizjak@gmail.com>
9211
9212 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
9213 64bit targets.
9214 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
9215 for 64bit targets.
9216
0df8fcc8
UB
92172010-09-03 Uros Bizjak <ubizjak@gmail.com>
9218 Iain Sandoe <iains@gcc.gnu.org>
9219
9220 PR target/45476
9221 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
9222 LIB2FUNCS_EXCLUDE functions.
9223
3c39bca6
AK
92242010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9225
9226 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
9227 Include dfp.m4.
9228 * configure: Regenerate.
9229
d78552bd
UB
92302010-09-01 Uros Bizjak <ubizjak@gmail.com>
9231
9232 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
9233 i386/t-freebsd to tmake_file.
9234 * config/i386/t-freebsd: New file.
9235 * config/i386/libgcc-bsd.ver: New file.
9236
c5b79d4e
NF
92372010-07-23 Nathan Froyd <froydnj@codesourcery.com>
9238
9239 * config.host (powerpc*-eabispe*): Set tmake_file.
9240 (powerpc*-eabi*): Likewise.
9241 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
9242 crtbeginS, crtendS, crtbeginT.
9243
48b09a92
KH
92442010-06-12 Kazu Hirata <kazu@codesourcery.com>
9245
9246 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
9247 to tmake_file. Add crtfastmath.o to extra_parts.
9248 * config/mips/t-crtfm: New.
9249
7d296953 92502010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
a4389204
JS
9251
9252 * config.host (sparc64-*-rtems*): New target.
9253
ed104137
RO
92542010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9255
9256 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
9257 assembler syntax.
9258
3f56ef8b
TS
92592010-04-15 Thomas Schwinge <tschwinge@gnu.org>
9260
9261 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
9262
8c200350
RO
92632010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9264
9265 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
9266 alpha-dec-osf5.0* support.
9267
7d296953 92682010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
c1b14424
RC
9269
9270 * config.host: Add lm32-*-rtems*.
9271
f128db92 92722010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7d296953 9273 Uros Bizjak <ubizjak@gmail.com>
f128db92
RO
9274
9275 PR target/39048
9276 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
9277 like other remaining 32-bit x86 OSes.
9278 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
9279 assembler syntax.
9280 * config/i386/libgcc-sol2.ver: New file.
9281 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
9282
7d296953 92832010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
368fabd5
JH
9284
9285 PR c/43553
9286 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
9287 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
9288 is used and substitute set_use_emutls.
9289 * configure: Regenerated.
9290
15baf7f8
TG
92912010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
9292
9293 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
9294
7f5441df
RO
92952010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9296
9297 PR target/38085
9298 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
9299 MULTILIB_CFLAGS.
9300 ($(T)gcrt1.o): Likewise.
9301 ($(T)crt1.o): Likewise.
9302 ($(T)crti.o): Likewise.
9303 ($(T)crtn.o): Likewise.
9304
ef74edbd
RW
93052010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9306
9307 PR other/42980
9308 * Makefile.in (install): Use $(MAKE) string in rule, for
9309 parallel make.
9310
e7c914db
HPN
93112010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
9312
9313 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
9314 * config/mmix/t-mmix: New file.
9315 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
9316
1bcb71c4
JH
93172010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
9318
9319 PR java/41991
9320 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
9321 SHLIB_MAPFILES.
9322
e6e50811
AG
93232010-01-04 Anthony Green <green@moxielogic.com>
9324
9325 * config/moxie/crti.asm, config/moxie/crtn.asm,
9326 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
9327 config/moxie/t-moxie: New files.
9328 * config.host: Add t-moxie-softfp reference.
9329
7d296953 93302009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
ca8520ad
IS
9331
9332 PR other/39888
9333 * config/t-slibgcc-darwin: Fix embedded rpaths for
9334 --enable-version-specific-runtime-libs, build extension stub
9335 libs exposing features available from current libgcc_s.
9336
7d296953 93372009-11-11 Jon Beniston <jon@beniston.com>
aa4945c1 9338
d78552bd
UB
9339 * config.host: Add lm32 targets.
9340 * config/lm32: New directory.
9341 * config/lm32/libgcc_lm32.h: New file.
9342 * config/lm32/_mulsi3.c: New file.
9343 * config/lm32/_udivmodsi4.c: New file.
9344 * config/lm32/_divsi3.c: New file.
9345 * config/lm32/_modsi3.c: New file.
9346 * config/lm32/_udivsi3.c: New file.
9347 * config/lm32/_umodsi3.c: New file.
9348 * config/lm32/_lshrsi3.S: New file.
9349 * config/lm32/_ashrsi3.S: New file.
9350 * config/lm32/_ashlsi3.S: New file.
9351 * config/lm32/crti.S: New file.
9352 * config/lm32/crtn.S: New file.
9353 * config/lm32/t-lm32: New file.
9354 * config/lm32/t-elf: New file.
9355 * config/lm32/t-uclinux: New file.
aa4945c1 9356
65a324b4
NC
93572009-10-26 Nick Clifton <nickc@redhat.com>
9358
9359 * config.host: Add support for RX target.
9360 * config/rx: New directory.
9361 * config/rx/rx-abi-functions.c: New file. Supplementary
9362 functions for libgcc to support the RX ABI.
9363 * config/rx/rx-abi.h: New file. Supplementary header file for
9364 libgcc RX ABI functions.
9365 * config/rx/t-rx: New file: Makefile fragment for building
9366 libgcc for the RX.
9367
dfb3b0e3
UB
93682009-10-09 Uros Bizjak <ubizjak@gmail.com>
9369
9370 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
9371 constraint of y0 to "g".
9372
81dd9fd7
AK
93732009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9374
9375 * config.host: Include the s390 makefile fragments.
9376 * config/s390/32/_fixdfdi.c: New file.
9377 * config/s390/32/_fixsfdi.c: New file.
9378 * config/s390/32/_fixtfdi.c: New file.
9379 * config/s390/32/_fixunsdfdi.c: New file.
9380 * config/s390/32/_fixunssfdi.c: New file.
9381 * config/s390/32/_fixunstfdi.c: New file.
9382 * config/s390/32/t-floattodi: New file.
9383 * config/s390/libgcc-glibc.ver: New file.
9384 * config/s390/t-crtstuff: New file.
9385 * config/s390/t-linux: New file.
9386 * config/s390/t-tpf: New file.
9387
df58e648
RW
93882009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9389
9390 * configure.ac (AC_PREREQ): Bump to 2.64.
9391
79052be3
KK
93922009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
9393
9394 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
9395
5213506e
RW
93962009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9397
9398 * configure: Regenerate.
9399
a9a25daa
DR
94002009-08-09 Douglas B Rupp <rupp@gnat.com>
9401
9402 * config.host (ia64-hp-*vms*): New target.
9403 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
9404 with ia64-hp-*vms*.
9405
6efbd53f
RW
94062009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9407
9408 * configure.ac: Add snippet for maintainer-mode.
9409 * configure: Regenerate.
9410 * Makefile.in (AUTOCONF, configure_deps): New variables.
9411 ($(srcdir)/configure)): New rule, active only with maintainer
9412 mode turned on.
9413
7acf4da6
DD
94142009-06-23 DJ Delorie <dj@redhat.com>
9415
9416 Add MeP port.
9417 * config.host: Add mep support.
9418
54f549af
KT
94192009-06-22 Kai Tietz <kai.tietz@onevision.com>
9420
34481f28 9421 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 9422 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
34481f28
UB
9423
9424 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
9425 for mingw targets.
54f549af
KT
9426 * config/i386/64/_multc3.c: Likewise.
9427 * config/i386/64/_powitf2.c: Likewise.
9428 * config/i386/64/eqtf2.c: Likewise.
9429 * config/i386/64/getf2.c: Likewise.
9430 * config/i386/64/letf2.c: Likewise.
9431 * config/i386/64/letf2.c: Likewise.
34481f28
UB
9432 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
9433 unsigned long long for x64 mingw targets.
9434 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
9435 (_FP_I_TYPE): Define as long long for x64 mingw target.
54f549af 9436
fea96e25
MR
94372009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
9438
9439 * config.host (vax-*-linux*): New.
9440
cceb575c
AG
94412009-05-31 Anthony Green <green@moxielogic.com>
9442
9443 * config.host: Add moxie support.
9444 * config/moxie/t-moxie: New file.
9445
7d296953 94462009-05-29 David Billinghurst <billingd@gcc.gnu.org>
e997fb9c
DB
9447
9448 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 9449 t-softfp to tmake_file for i[34567]86-*-cygwin*.
e997fb9c 9450
532bfb0a
AJ
94512009-04-17 Aurelien Jarno <aurelien@aurel32.net>
9452
9453 * config.host: Add i386/${host_address}/t-fprules-softfp to
9454 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
9455
748086b7
JJ
94562009-04-09 Nick Clifton <nickc@redhat.com>
9457
9458 * config/ia64/tf-signs.c: Change copyright header to refer to
9459 version 3 of the GNU General Public License with version 3.1
9460 of the GCC Runtime Library Exception and to point readers at
9461 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
9462 web page.
9463 * config/i386/32/tf-signs.c: Likewise.
9464 * config/libbid/_addsub_dd.c: Likewise.
9465 * config/libbid/_addsub_sd.c: Likewise.
9466 * config/libbid/_addsub_td.c: Likewise.
9467 * config/libbid/_dd_to_df.c: Likewise.
9468 * config/libbid/_dd_to_di.c: Likewise.
9469 * config/libbid/_dd_to_sd.c: Likewise.
9470 * config/libbid/_dd_to_sf.c: Likewise.
9471 * config/libbid/_dd_to_si.c: Likewise.
9472 * config/libbid/_dd_to_td.c: Likewise.
9473 * config/libbid/_dd_to_tf.c: Likewise.
9474 * config/libbid/_dd_to_udi.c: Likewise.
9475 * config/libbid/_dd_to_usi.c: Likewise.
9476 * config/libbid/_dd_to_xf.c: Likewise.
9477 * config/libbid/_df_to_dd.c: Likewise.
9478 * config/libbid/_df_to_sd.c: Likewise.
9479 * config/libbid/_df_to_td.c: Likewise.
9480 * config/libbid/_di_to_dd.c: Likewise.
9481 * config/libbid/_di_to_sd.c: Likewise.
9482 * config/libbid/_di_to_td.c: Likewise.
9483 * config/libbid/_div_dd.c: Likewise.
9484 * config/libbid/_div_sd.c: Likewise.
9485 * config/libbid/_div_td.c: Likewise.
9486 * config/libbid/_eq_dd.c: Likewise.
9487 * config/libbid/_eq_sd.c: Likewise.
9488 * config/libbid/_eq_td.c: Likewise.
9489 * config/libbid/_ge_dd.c: Likewise.
9490 * config/libbid/_ge_sd.c: Likewise.
9491 * config/libbid/_ge_td.c: Likewise.
9492 * config/libbid/_gt_dd.c: Likewise.
9493 * config/libbid/_gt_sd.c: Likewise.
9494 * config/libbid/_gt_td.c: Likewise.
9495 * config/libbid/_isinfd128.c: Likewise.
9496 * config/libbid/_isinfd32.c: Likewise.
9497 * config/libbid/_isinfd64.c: Likewise.
9498 * config/libbid/_le_dd.c: Likewise.
9499 * config/libbid/_le_sd.c: Likewise.
9500 * config/libbid/_le_td.c: Likewise.
9501 * config/libbid/_lt_dd.c: Likewise.
9502 * config/libbid/_lt_sd.c: Likewise.
9503 * config/libbid/_lt_td.c: Likewise.
9504 * config/libbid/_mul_dd.c: Likewise.
9505 * config/libbid/_mul_sd.c: Likewise.
9506 * config/libbid/_mul_td.c: Likewise.
9507 * config/libbid/_ne_dd.c: Likewise.
9508 * config/libbid/_ne_sd.c: Likewise.
9509 * config/libbid/_ne_td.c: Likewise.
9510 * config/libbid/_sd_to_dd.c: Likewise.
9511 * config/libbid/_sd_to_df.c: Likewise.
9512 * config/libbid/_sd_to_di.c: Likewise.
9513 * config/libbid/_sd_to_sf.c: Likewise.
9514 * config/libbid/_sd_to_si.c: Likewise.
9515 * config/libbid/_sd_to_td.c: Likewise.
9516 * config/libbid/_sd_to_tf.c: Likewise.
9517 * config/libbid/_sd_to_udi.c: Likewise.
9518 * config/libbid/_sd_to_usi.c: Likewise.
9519 * config/libbid/_sd_to_xf.c: Likewise.
9520 * config/libbid/_sf_to_dd.c: Likewise.
9521 * config/libbid/_sf_to_sd.c: Likewise.
9522 * config/libbid/_sf_to_td.c: Likewise.
9523 * config/libbid/_si_to_dd.c: Likewise.
9524 * config/libbid/_si_to_sd.c: Likewise.
9525 * config/libbid/_si_to_td.c: Likewise.
9526 * config/libbid/_td_to_dd.c: Likewise.
9527 * config/libbid/_td_to_df.c: Likewise.
9528 * config/libbid/_td_to_di.c: Likewise.
9529 * config/libbid/_td_to_sd.c: Likewise.
9530 * config/libbid/_td_to_sf.c: Likewise.
9531 * config/libbid/_td_to_si.c: Likewise.
9532 * config/libbid/_td_to_tf.c: Likewise.
9533 * config/libbid/_td_to_udi.c: Likewise.
9534 * config/libbid/_td_to_usi.c: Likewise.
9535 * config/libbid/_td_to_xf.c: Likewise.
9536 * config/libbid/_tf_to_dd.c: Likewise.
9537 * config/libbid/_tf_to_sd.c: Likewise.
9538 * config/libbid/_tf_to_td.c: Likewise.
9539 * config/libbid/_udi_to_dd.c: Likewise.
9540 * config/libbid/_udi_to_sd.c: Likewise.
9541 * config/libbid/_udi_to_td.c: Likewise.
9542 * config/libbid/_unord_dd.c: Likewise.
9543 * config/libbid/_unord_sd.c: Likewise.
9544 * config/libbid/_unord_td.c: Likewise.
9545 * config/libbid/_usi_to_dd.c: Likewise.
9546 * config/libbid/_usi_to_sd.c: Likewise.
9547 * config/libbid/_usi_to_td.c: Likewise.
9548 * config/libbid/_xf_to_dd.c: Likewise.
9549 * config/libbid/_xf_to_sd.c: Likewise.
9550 * config/libbid/_xf_to_td.c: Likewise.
9551 * config/libbid/bid128.c: Likewise.
9552 * config/libbid/bid128_2_str.h: Likewise.
9553 * config/libbid/bid128_2_str_macros.h: Likewise.
9554 * config/libbid/bid128_2_str_tables.c: Likewise.
9555 * config/libbid/bid128_add.c: Likewise.
9556 * config/libbid/bid128_compare.c: Likewise.
9557 * config/libbid/bid128_div.c: Likewise.
9558 * config/libbid/bid128_fma.c: Likewise.
9559 * config/libbid/bid128_logb.c: Likewise.
9560 * config/libbid/bid128_minmax.c: Likewise.
9561 * config/libbid/bid128_mul.c: Likewise.
9562 * config/libbid/bid128_next.c: Likewise.
9563 * config/libbid/bid128_noncomp.c: Likewise.
9564 * config/libbid/bid128_quantize.c: Likewise.
9565 * config/libbid/bid128_rem.c: Likewise.
9566 * config/libbid/bid128_round_integral.c: Likewise.
9567 * config/libbid/bid128_scalb.c: Likewise.
9568 * config/libbid/bid128_sqrt.c: Likewise.
9569 * config/libbid/bid128_string.c: Likewise.
9570 * config/libbid/bid128_to_int16.c: Likewise.
9571 * config/libbid/bid128_to_int32.c: Likewise.
9572 * config/libbid/bid128_to_int64.c: Likewise.
9573 * config/libbid/bid128_to_int8.c: Likewise.
9574 * config/libbid/bid128_to_uint16.c: Likewise.
9575 * config/libbid/bid128_to_uint32.c: Likewise.
9576 * config/libbid/bid128_to_uint64.c: Likewise.
9577 * config/libbid/bid128_to_uint8.c: Likewise.
9578 * config/libbid/bid32_to_bid128.c: Likewise.
9579 * config/libbid/bid32_to_bid64.c: Likewise.
9580 * config/libbid/bid64_add.c: Likewise.
9581 * config/libbid/bid64_compare.c: Likewise.
9582 * config/libbid/bid64_div.c: Likewise.
9583 * config/libbid/bid64_fma.c: Likewise.
9584 * config/libbid/bid64_logb.c: Likewise.
9585 * config/libbid/bid64_minmax.c: Likewise.
9586 * config/libbid/bid64_mul.c: Likewise.
9587 * config/libbid/bid64_next.c: Likewise.
9588 * config/libbid/bid64_noncomp.c: Likewise.
9589 * config/libbid/bid64_quantize.c: Likewise.
9590 * config/libbid/bid64_rem.c: Likewise.
9591 * config/libbid/bid64_round_integral.c: Likewise.
9592 * config/libbid/bid64_scalb.c: Likewise.
9593 * config/libbid/bid64_sqrt.c: Likewise.
9594 * config/libbid/bid64_string.c: Likewise.
9595 * config/libbid/bid64_to_bid128.c: Likewise.
9596 * config/libbid/bid64_to_int16.c: Likewise.
9597 * config/libbid/bid64_to_int32.c: Likewise.
9598 * config/libbid/bid64_to_int64.c: Likewise.
9599 * config/libbid/bid64_to_int8.c: Likewise.
9600 * config/libbid/bid64_to_uint16.c: Likewise.
9601 * config/libbid/bid64_to_uint32.c: Likewise.
9602 * config/libbid/bid64_to_uint64.c: Likewise.
9603 * config/libbid/bid64_to_uint8.c: Likewise.
9604 * config/libbid/bid_b2d.h: Likewise.
9605 * config/libbid/bid_binarydecimal.c: Likewise.
9606 * config/libbid/bid_conf.h: Likewise.
9607 * config/libbid/bid_convert_data.c: Likewise.
9608 * config/libbid/bid_decimal_data.c: Likewise.
9609 * config/libbid/bid_decimal_globals.c: Likewise.
9610 * config/libbid/bid_div_macros.h: Likewise.
9611 * config/libbid/bid_dpd.c: Likewise.
9612 * config/libbid/bid_flag_operations.c: Likewise.
9613 * config/libbid/bid_from_int.c: Likewise.
9614 * config/libbid/bid_functions.h: Likewise.
9615 * config/libbid/bid_gcc_intrinsics.h: Likewise.
9616 * config/libbid/bid_inline_add.h: Likewise.
9617 * config/libbid/bid_internal.h: Likewise.
9618 * config/libbid/bid_round.c: Likewise.
9619 * config/libbid/bid_sqrt_macros.h: Likewise.
9620
96212009-04-09 Jakub Jelinek <jakub@redhat.com>
9622
9623 * Makefile.in: Change copyright header to refer to version
9624 3 of the GNU General Public License and to point readers at the
9625 COPYING3 file and the FSF's license web page.
9626 * config.host: Likewise.
9627
633dd061
AM
96282009-04-07 Alan Modra <amodra@bigpond.net.au>
9629
9630 * config.host: Reorder and merge to match config.gcc change.
9631
457d1d00
AM
96322009-04-03 Alan Modra <amodra@bigpond.net.au>
9633
9634 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
9635
52c0e446
JM
96362009-03-28 Joseph Myers <joseph@codesourcery.com>
9637
9638 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
9639 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
9640 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
9641 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
9642
ba181049
UB
96432009-02-12 Uros Bizjak <ubizjak@gmail.com>
9644
9645 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
9646 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
9647
c252db20
L
96482009-02-12 H.J. Lu <hongjiu.lu@intel.com>
9649
ba181049
UB
9650 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
9651 ia64/t-softfp-compat to tmake_file.
c252db20
L
9652
9653 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
9654
9655 * config/ia64/__divxf3.asm: New.
9656 * config/ia64/_fixtfdi.asm: Likewise.
9657 * config/ia64/_fixunstfdi.asm: Likewise.
9658 * config/ia64/_floatditf.asm: Likewise.
9659 * config/ia64/t-fprules-softfp: Likewise.
9660 * config/ia64/t-softfp-compat: Likewise.
9661 * config/ia64/tf-signs.c: Likewise.
9662
c60535f9
BE
96632009-01-18 Ben Elliston <bje@au.ibm.com>
9664
9665 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
9666
ce16861e
BE
96672009-01-16 Ben Elliston <bje@au.ibm.com>
9668
9669 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
9670 to tmake_file.
9671
bcf4713b
BE
96722009-01-13 Ben Elliston <bje@au.ibm.com>
9673
9674 * config/t-softfp: New file.
9675 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
9676 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
9677
7d296953 96782009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
2042cb04
JS
9679
9680 * config.host: Add m32r*-*-rtems*.
9681
7d296953 96822008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
541ed00e
JS
9683
9684 * config.host: Add m32c*-*-rtems*.
9685
19523300
RO
96862008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9687
9688 PR bootstrap/33100
9689 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
9690 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
9691 * configure: Regenerate.
9692 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
9693 tmake_file here from gcc/config.gcc.
9694 Move extra_parts here from gcc/config.gcc.
9695 * config/i386/t-sol2: Move here from gcc/config/i386.
9696 Use gcc_srcdir instead of srcdir.
9697
0a4a51c7
AN
96982008-11-18 Adam Nemet <anemet@caviumnetworks.com>
9699
9700 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
9701 case.
9702
2a761e46
TS
97032008-11-09 Thomas Schwinge <tschwinge@gnu.org>
9704
9705 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
9706
c0451df7
TS
97072008-10-08 Thomas Schwinge <tschwinge@gnu.org>
9708
9709 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
9710
358da97e
HS
97112008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
9712
9713 Add picoChip port.
9714 * config.host: Add picochip-*-*.
9715
c660f132
BW
97162008-08-06 Bob Wilson <bob.wilson@acm.org>
9717
9718 * config.host: Match more processor names for Xtensa.
9719
d1349557
L
97202008-07-08 H.J. Lu <hongjiu.lu@intel.com>
9721
9722 * config/i386/64/t-softfp-compat: Update comments.
9723
dd7b73c0
L
97242008-07-07 H.J. Lu <hongjiu.lu@intel.com>
9725
9726 * config/i386/64/_divtc3-compat.c: Moved to ...
9727 * config/i386/64/_divtc3.c: Here.
9728
9729 * config/i386/64/_multc3-compat.c: Moved to ...
9730 * config/i386/64/_multc3.c: Here.
9731
9732 * config/i386/64/_powitf2-compat.c: Moved to ...
9733 * config/i386/64/_powitf2.c: Here.
9734
9735 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
9736 .c suffix instead of -compat.c.
9737
6e1fab3d
UB
97382008-07-05 Uros Bizjak <ubizjak@gmail.com>
9739
9740 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
9741 (_FP_MUL_MEAT_D): Ditto.
9742 (_FP_DIV_MEAT_S): Ditto.
9743 (_FP_DIV_MEAT_D): Ditto.
9744
f92518d7
RS
97452008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
9746
9747 * Makefile.in: Add support for __sync_* libgcc functions.
9748
d0aede14
L
97492008-07-03 H.J. Lu <hongjiu.lu@intel.com>
9750
9751 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
9752
c174f11c
L
97532008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9754
9755 PR boostrap/36702
9756 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
9757 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
9758
9759 * config/i386/64/t-fprules-softfp: Moved to ...
9760 * config/i386/64/t-softfp-compat: This. New.
9761
5f464fa2
UB
97622008-07-02 Uros Bizjak <ubizjak@gmail.com>
9763
9764 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
9765 Initialize f with 0.0.
9766
ff473280
L
97672008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9768
9769 PR target/36669
9770 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
9771
9772 * config/i386/64/_divtc3-compat.c: New.
9773 * config/i386/64/_multc3-compat.c: Likewise.
9774 * config/i386/64/_powitf2-compat.c: Likewise.
9775 * config/i386/64/eqtf2.c: Likewise.
9776 * config/i386/64/getf2.c: Likewise.
9777 * config/i386/64/letf2.c: Likewise.
9778 * config/i386/64/t-fprules-softfp: Likewise.
9779
97802008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9781
9782 * config.host: Add i386/${host_address}/t-fprules-softfp to
9783 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
dfb3b0e3 9784 i[34567]86-*-linux*, x86_64-*-linux*.
ff473280
L
9785
9786 * configure.ac: Set host_address to 64 or 32 for x86.
9787 * configure: Regenerated.
9788
9789 * Makefile.in (config.status): Also depend on
9790 $(srcdir)/config.host.
9791
9792 * config/i386/32/t-fprules-softfp: New.
9793 * config/i386/32/tf-signs.c: Likewise.
9794
9795 * config/i386/64/sfp-machine.h: New. Moved from gcc.
9796
97972008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9798 Uros Bizjak <ubizjak@gmail.com>
9799
9800 * config/i386/32/sfp-machine.h: New.
9801
30551d99
NF
98022008-06-26 Nathan Froyd <froydnj@codesourcery.com>
9803
9804 * config/rs6000/t-ppccomm: Remove rules that conflict with
9805 auto-generated rules.
9806
18c04407
RW
98072008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9808
9809 * configure.ac: sinclude override.m4.
9810 * configure: Regenerate.
9811
10fbe77a
BRF
98122008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
9813
9814 * configure: Regenerate.
9815
bc6d4c3f
JM
98162008-06-10 Joseph Myers <joseph@codesourcery.com>
9817
9818 * Makefile.in (DECNUMINC): Remove
9819 -I$(MULTIBUILDTOP)../../libdecnumber.
9820 * gstdint.h: New.
9821
cd985f66
JM
98222008-06-07 Joseph Myers <joseph@codesourcery.com>
9823
9824 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
9825 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
9826 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
9827 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
9828 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
9829 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
9830 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
9831 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
9832 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
9833 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
9834 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
9835 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
9836 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
9837 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
9838
93fea8d3
AL
98392008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
9840
9841 * config.host (sh2[lbe]*-*-linux*): Allow target.
9842
18724e30
NF
98432008-04-30 Nathan Froyd <froydnj@codesourcery.com>
9844
9845 * config/rs6000/t-ppccomm: Add build rules for new files.
9846 (LIB2ADD_ST): New variable.
9847
47583040
AH
98482008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
9849
9850 PR target/34210
9851 PR target/35508
9852 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
9853 * config/t-avr: New file. Build 16bit libgcc functions.
9854
cf8e67fe
JJ
98552008-03-02 Jakub Jelinek <jakub@redhat.com>
9856
9857 PR target/35401
9858 * config/t-slibgcc-darwin: Make install-leaf dependent on
9859 install-darwin-libgcc-stubs instead of install.
9860
8d8da227
JM
98612008-01-25 Joseph Myers <joseph@codesourcery.com>
9862
9863 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
9864 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
9865 sh-*-rtemscoff*): Remove cases.
9866
edbf8b16
RS
98672007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
9868
9869 * Makefile.in (all): Use install-leaf rather than install.
9870 (install): Split most of the rule into...
9871 (install-leaf): ...this new one.
9872
89deeaff
EK
98732007-12-19 Etsushi Kato <ek.kato@gmail.com>
9874 Paolo Bonzini <bonzini@gnu.org>
9875
9876 PR target/30572
5f464fa2
UB
9877 * Makefile.in: Use @shlib_slibdir@ substitution to get
9878 correct install name on darwin.
89deeaff 9879 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
dfb3b0e3 9880
4081d704
HPN
98812007-12-15 Hans-Peter Nilsson <hp@axis.com>
9882
9883 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
9884 cris-*-elf and cris-*-none.
9885 (crisv32-*-linux*): Similar, as cris-*-linux*.
9886
f43e89a3
RIL
98872007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
9888
9889 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
9890
b4e9c2c6
L
98912007-10-27 H.J. Lu <hongjiu.lu@intel.com>
9892
9893 PR regression/33926
9894 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
9895 * configure: Regenerated.
9896
b2a00c89
L
98972007-09-27 H.J. Lu <hongjiu.lu@intel.com>
9898
9899 * Makefile.in (dfp-filenames): Replace decimal_globals,
9900 decimal_data, binarydecimal and convert_data with
9901 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
9902 and bid_convert_data, respectively.
9903
8d2a9e0e
CF
99042007-09-17 Chao-ying Fu <fu@mips.com>
9905 Nigel Stephens <nigel@mips.com>
9906
9907 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
9908 * Makefile.in (fixed_point): Define.
9909 Check if fixed_point is yes to build support functions.
9910 * configure.ac: Check for fixed_point support.
9911 * configure: Regenerated.
9912 * gen-fixed.sh: New file to generate lists of fixed-point labels,
9913 funcs, modes, from, to.
9914
2b53935d
JJ
99152007-09-11 Janis Johnson <janis187@us.ibm.com
9916
9917 * Makefile.in (dfp-filenames): Add bid128_noncomp.
9918
2533577f
JJ
99192007-09-10 Janis Johnson <janis187@us.ibm.com>
9920
9921 * Makefile.in (dfp-filenames): Remove decUtility, add
9922 decDouble, decPacked, decQuad, decSingle.
9923
3ae3dbd6
HK
99242007-08-27 Hans Kester <hans.kester@ellips.nl>
9925
9926 * config.host : Add x86_64-elf target.
9927
22867d02
L
99282007-07-06 H.J. Lu <hongjiu.lu@intel.com>
9929
9930 * configure.ac (set_have_cc_tls): Add a missing =.
9931 * configure: Regenerated.
9932
6f461e76
L
99332007-07-06 H.J. Lu <hongjiu.lu@intel.com>
9934
9935 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
9936 and x86_64-*-linux*.
9937
9938 * config/t-tls: New file.
9939
dfb3b0e3 9940 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
6f461e76
L
9941
9942 * configure.ac: Include ../config/enable.m4 and
9943 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
9944 supports TLS and substitute set_have_cc_tls.
9945 * configure: Regenerated.
9946
200359e8
L
99472007-07-04 H.J. Lu <hongjiu.lu@intel.com>
9948
9949 * Makefile.in: Use libbid for DFP when BID is enabled.
9950
76f5e200
DS
99512007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
9952
9953 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
dfb3b0e3 9954 extra_parts. Add config/i386/t-cygming to tmake_file.
76f5e200
DS
9955 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
9956
9bd196f0 99572007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
200359e8 9958 Danny Smith <dannysmith@users.sourceforge.net>
9bd196f0
ZM
9959
9960 PR target/29498
9961 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
9962 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
9963 * config/i386/t-crtfm: Compile crtfastmath.o with
9964 -minline-all-stringops.
9965
1910440e
RS
99662007-05-10 Richard Sandiford <richard@codesourcery.com>
9967
9968 * config.host (sparc-wrs-vxworks): New target.
9969
7d33c31d
KH
99702007-04-14 Kazu Hirata <kazu@codesourcery.com>
9971
9972 * config.host: Recognize fido.
9973
96fccd0d
JJ
99742007-04-04 Janis Johnson <janis187@us.ibm.com>
9975
9976 * configure: Check host, not target, for decimal float support.
9977
577565f9
UB
99782007-04-03 Uros Bizjak <ubizjak@gmail.com>
9979
9980 * config/i386/t-crtpc: New file.
9981 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
5f464fa2 9982 (x86_64-*-linux*): Ditto.
577565f9 9983
ccf8e764
RH
99842007-02-30 Kai Tietz <kai.tietz@onevision.com>
9985
9986 * config.host (x86_64-*-mingw*): New target.
9987
79b87c74
MM
99882007-03-23 Michael Meissner <michael.meissner@amd.com>
9989 H.J. Lu <hongjiu.lu@intel.com>
9990
9991 * Makefile.in (enable_decimal_float): New.
9992 (DECNUMINC): Add
9993 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
9994 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
9995 (decbits-filenames): This.
9996 (decbits-objects): New.
9997 (libgcc-objects): Add $(decbits-objects).
9998
9999 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
10000 Substitute enable_decimal_float.
10001 * configure: Regenerated.
10002
8fce4e31
HPN
100032007-03-19 Hans-Peter Nilsson <hp@axis.com>
10004
10005 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
10006
e8bb4597
BM
100072007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
10008
10009 * Makefile.in (install-info): New dummy target.
10010
344189f9
BS
100112007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
10012
10013 * config.host (bfin*-linux-uclibc*): Set extra_parts.
10014
ac84c172
BM
100152007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
10016
10017 * Makefile.in: Add install-html and install-pdf dummy
10018 targets.
10019
cd5c2357
RS
100202007-02-05 Roger Sayle <roger@eyesopen.com>
10021 Daniel Jacobowitz <dan@codesourcery.com>
10022
10023 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
10024 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
10025 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
10026
d9a66f98
JJ
100272007-01-29 Janis Johnson <janis187@us.ibm.com>
10028
10029 * Makefile.in (dec-filenames): Add decExcept.
10030
9891ec5f
DJ
100312007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
10032
10033 PR bootstrap/30469
10034 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
10035 -fprofile-use.
10036
d6efbf5a
DJ
100372007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
10038
10039 * configure.ac: Add --enable-version-specific-runtime-libs.
10040 Correct $slibdir default.
10041 * configure: Regenerated.
10042
17caeff2
JM
100432007-01-23 Joseph Myers <joseph@codesourcery.com>
10044
10045 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
10046
5ea41e3a
AP
100472007-01-21 Andrew Pinski <pinskia@gmail.com>
10048
10049 PR target/30519
10050 * config.host (alpha*-*-linux*): Set extra_parts.
10051
26900826
KK
100522007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
10053
10054 * config/sh/t-linux: New.
10055 * config.host (sh*-*-linux*): Set tmake_file.
10056
97af925b
DJ
100572007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
10058
10059 * Makefile.in (install): Handle multilibs.
10060
b0088af7
BM
100612007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
10062
10063 * Makefile.in: Added .PHONY entry for documentation targets.
10064
e0a9456a
BM
100652007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
10066
10067 * Makefile.in: Add empty info, html, dvi, pdf targets.
10068
7fd453b4
MS
100692007-01-04 Mike Stump <mrs@apple.com>
10070
10071 * Makefile.in (MAKEINFO): Remove.
10072 (PERL): Likewise.
10073
14e8fc8b
PB
100742007-01-04 Paolo Bonzini <bonzini@gnu.org>
10075
10076 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
10077 * configure: Regenerate.
10078 * Makefile.in (host_subdir): Substitute it.
dfb3b0e3 10079 (gcc_objdir): Use it.
14e8fc8b 10080
1555beba
DJ
100812007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
10082
10083 * config.host (ia64*-*-linux*): Set tmake_file.
10084
79e6eaeb
DJ
100852007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
10086
10087 * Makefile.in (version): Define.
10088
fa958513
DJ
100892007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
10090 Paolo Bonzini <bonzini@gnu.org>
10091
10092 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
10093 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
10094 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
10095 config/sparc/t-crtfm, config/t-slibgcc-darwin,
10096 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
10097 shared-object.mk, siditi-object.mk, static-object.mk: New files.
10098 * configure: Generated.
818ab71a 10099\f
a5544970 10100Copyright (C) 2007-2019 Free Software Foundation, Inc.
818ab71a
JJ
10101
10102Copying and distribution of this file, with or without modification,
10103are permitted in any medium without royalty provided the copyright
10104notice and this notice are preserved.