]> git.ipfire.org Git - thirdparty/gcc.git/blame - libgcc/ChangeLog
[ARM/FDPIC v6 04/24] [ARM] FDPIC: Add support for FDPIC for arm architecture
[thirdparty/gcc.git] / libgcc / ChangeLog
CommitLineData
b1e21e5a
CL
12019-09-10 Christophe Lyon <christophe.lyon@st.com>
2
3 * config.host: Handle *-*-uclinuxfdpiceabi.
4
91dfef96
JM
52019-09-09 Jose E. Marchesi <jose.marchesi@oracle.com>
6
7 * config.host: Set cpu_type for bpf-*-* targets.
8 * config/bpf/t-bpf: Likewise.
9 * config/bpf/crtn.S: Likewise.
10 * config/bpf/crti.S: New file.
11
2f4d8951
JW
122019-09-06 Jim Wilson <jimw@sifive.com>
13
14 * config.host (riscv*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
15 (riscv*-*-freebsd*): Likewise.
16
2f2aeda9
UW
172019-09-03 Ulrich Weigand <uweigand@de.ibm.com>
18
19 * config.host: Remove references to spu.
20 * config/spu/: Remove directory.
21
d16017da
JL
222019-08-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
23
24 PR target/91306
25 * crtstuff.c (__CTOR_LIST__): Align to the "__alignof__" the array
26 element type, instead of "sizeof" the element type.
27 (__DTOR_LIST__): Likewise.
28 (__TMC_LIST__): Likewise.
29 (__do_global_dtors_aux_fini_array_entry): Likewise.
30 (__frame_dummy_init_array_entry): Likewise.
31 (__CTOR_END__): Likewise.
32 (__DTOR_END__): Likweise.
33 (__FRAME_END__): Likewise.
34 (__TMC_END__): Likewise.
35
a9fcfec3
HL
362019-08-20 Lili Cui <lilicui@intel.com>
37
38 * config/i386/cpuinfo.h: Add INTEL_COREI7_TIGERLAKE and
39 INTEL_COREI7_COOPERLAKE.
40
428642b1
MT
412019-07-31 Matt Thomas <matt@3am-software.com>
42 Nick Hudson <nick@nthcliff.demon.co.uk>
43 Matthew Green <mrg@eterna.com.au>
44 Maya Rashish <coypu@sdf.org>
45
46 * config.host (hppa*-*-netbsd*): New case.
47 * config/pa/t-netbsd: New file.
48
f0efd925
JH
492019-07-31 Joel Hutton <Joel.Hutton@arm.com>
50
51 * config/arm/cmse.c (cmse_check_address_range): Add
52 warn_unused_result attribute.
53
a861990d
ML
542019-07-22 Martin Liska <mliska@suse.cz>
55
56 * config/pa/stublib.c: Remove stub symbol __gnu_lto_v1.
57 * config/pa/t-stublib: Likewise.
58
9c0dba7c
SH
592019-07-22 Stafford Horne <shorne@gmail.com>
60
61 PR target/90362
62 * config/or1k/lib1funcs.S (__udivsi3): Change l.sfeqi
63 to l.sfeq and l.sfltsi to l.sflts equivalents as the immediate
64 instructions are not available on every processor. Change a
65 l.bnf to l.bf to fix logic issue.
66
61afc8f8
IS
672019-07-04 Iain Sandoe <iain@sandoe.co.uk>
68
69 * config.host: Remove reference to t-darwin8.
70
179c7ef5
IS
712019-07-03 Iain Sandoe <iain@sandoe.co.uk>
72
73 * config.host (powerpc-*-darwin*,powerpc64-*-darwin*): Revise crt
74 list.
75 * config/rs6000/t-darwin: Build crt3_2 for older systems. Revise
76 mmacosx-version-min for crts to run across all system versions.
77 * config/rs6000/t-darwin64 (LIB2ADD): Remove.
78 * config/t-darwin: Revise mmacosx-version-min for crts to run across
79 system versions >= 10.4.
80
596341c7
ML
812019-07-03 Martin Liska <mliska@suse.cz>
82
83 * Makefile.in: Use topn_values instead of one_value names.
84 * libgcov-merge.c (__gcov_merge_single): Move to ...
85 (__gcov_merge_topn): ... this.
86 (merge_single_value_set): Move to ...
87 (merge_topn_values_set): ... this.
88 * libgcov-profiler.c (__gcov_one_value_profiler_body): Move to
89 ...
90 (__gcov_topn_values_profiler_body): ... this.
91 (__gcov_one_value_profiler_v2): Move to ...
92 (__gcov_topn_values_profiler): ... this.
93 (__gcov_one_value_profiler_v2_atomic): Move to ...
94 (__gcov_topn_values_profiler_atomic): ... this.
95 (__gcov_indirect_call_profiler_v4): Remove.
96 * libgcov-util.c (__gcov_single_counter_op): Move to ...
97 (__gcov_topn_counter_op): ... this.
98 * libgcov.h (L_gcov_merge_single): Remove.
99 (L_gcov_merge_topn): New.
100 (__gcov_merge_single): Remove.
101 (__gcov_merge_topn): New.
102 (__gcov_one_value_profiler_v2): Move to ..
103 (__gcov_topn_values_profiler): ... this.
104 (__gcov_one_value_profiler_v2_atomic): Move to ...
105 (__gcov_topn_values_profiler_atomic): ... this.
106
1b309ca5
ML
1072019-07-03 Martin Liska <mliska@suse.cz>
108
109 * libgcov-merge.c (merge_single_value_set): Support N values.
110 * libgcov-profiler.c (__gcov_one_value_profiler_body): Likewise.
111
5a460280
ID
1122019-06-27 Ilia Diachkov <ilia.diachkov@optimitech.com>
113
114 * Makefile.in (USE_TM_CLONE_REGISTRY): New.
115 (CRTSTUFF_CFLAGS): Use USE_TM_CLONE_REGISTRY.
116 * configure.ac: Add --disable-tm-clone-registry option.
117 * configure: Regenerate.
118
45309d28
ML
1192019-06-27 Martin Liska <mliska@suse.cz>
120
121 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Remove obviously
122 dead assignments.
123 * libgcov-util.c: Likewise.
124
c2f7a665
ML
1252019-06-27 Martin Liska <mliska@suse.cz>
126
127 * libgcov-util.c (gcov_profile_merge): Release allocated
128 memory.
129 (calculate_overlap): Likewise.
130
a8e55c61
IS
1312019-06-25 Iain Sandoe <iain@sandoe.co.uk>
132
133 * config.host: Add libef_ppc.a to the extra files for powerpc-darwin.
134 * config/rs6000/t-darwin: (PPC_ENDFILE_SRC, PPC_ENDFILE_OBJS): New.
135 Build objects for the out of line save/restore register functions
136 so that they can be used for any supported Darwin version.
137 * config/t-darwin: Default the build Darwin version to Darwin8
138 (MacOS 10.4).
139
e5ce4cbc
ML
1402019-06-25 Martin Liska <mliska@suse.cz>
141
142 * libgcov-driver-system.c (replace_filename_variables): Do not
143 call strlen with NULL argument.
144
52a47d28
AS
1452019-06-25 Andrew Stubbs <ams@codesourcery.com>
146
147 * config/gcn/t-amdgcn (LIB2ADD): Add unwind-gcn.c.
148 * config/gcn/unwind-gcn.c: New file.
149
76d46331
KCY
1502019-06-25 Kwok Cheung Yeung <kcy@codesourcery.com>
151 Andrew Stubbs <ams@codesourcery.com>
152
153 * configure: Regenerate.
154 * config/gcn/gthr-gcn.h: New.
155
787783a0
TV
1562019-06-18 Tom de Vries <tdevries@suse.de>
157
158 * config/nvptx/crt0.c (__main): Declare.
159
f32f7585
MG
1602019-06-17 Matthew Green <mrg@eterna.com.au>
161 Maya Rashish <coypu@sdf.org>
162
163 * config.host (aarch64*-*-netbsd*): New case.
164
0fcc78f7
JL
1652019-06-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
166
167 * config/msp430/slli.S (__mspabi_sllll): New library function for
168 performing a logical left shift of a 64-bit value.
169 * config/msp430/srai.S (__mspabi_srall): New library function for
170 performing a arithmetic right shift of a 64-bit value.
171 * config/msp430/srll.S (__mspabi_srlll): New library function for
172 performing a logical right shift of a 64-bit value.
173
b27c1082
MT
1742019-06-14 Matt Thomas <matt@3am-software.com>
175 Matthew Green <mrg@eterna.com.au>
176 Nick Hudson <skrll@netbsd.org>
177 Maya Rashish <coypu@sdf.org>
178
179 * config.host (arm*-*-netbsdelf*): Add support for EABI configurations.
180 * config/arm/t-netbsd (LIB1ASMFUNCS): Add some additional assembler
181 functions to build.
182 * config/arm/t-netbsd-eabi: New file.
183
ae7deb4b
DD
1842019-06-12 Dimitar Dimitrov <dimitar@dinux.eu>
185
186 * config.host: Add PRU target.
187 * config/pru/asri.c: New file.
188 * config/pru/eqd.c: New file.
189 * config/pru/eqf.c: New file.
190 * config/pru/ged.c: New file.
191 * config/pru/gef.c: New file.
192 * config/pru/gtd.c: New file.
193 * config/pru/gtf.c: New file.
194 * config/pru/led.c: New file.
195 * config/pru/lef.c: New file.
196 * config/pru/lib2bitcountHI.c: New file.
197 * config/pru/lib2divHI.c: New file.
198 * config/pru/lib2divQI.c: New file.
199 * config/pru/lib2divSI.c: New file.
200 * config/pru/libgcc-eabi.ver: New file.
201 * config/pru/ltd.c: New file.
202 * config/pru/ltf.c: New file.
203 * config/pru/mpyll.S: New file.
204 * config/pru/pru-abi.h: New file.
205 * config/pru/pru-asm.h: New file.
206 * config/pru/pru-divmod.h: New file.
207 * config/pru/sfp-machine.h: New file.
208 * config/pru/t-pru: New file.
209
0d7b3e47
JJ
2102019-06-11 Jakub Jelinek <jakub@redhat.com>
211
212 * libgcov-merge.c (__gcov_merge_single): Revert previous change.
213
54e2d83c
ML
2142019-06-10 Martin Liska <mliska@suse.cz>
215
216 PR bootstrap/90808
217 * libgcov.h: Add ATTRIBUTE_UNUSED.
218
92d41717
ML
2192019-06-10 Martin Liska <mliska@suse.cz>
220
221 * Makefile.in: Add __gcov_one_value_profiler_v2,
222 __gcov_one_value_profiler_v2_atomic and
223 __gcov_indirect_call_profiler_v4.
224 * libgcov-merge.c (__gcov_merge_single): Change
225 function signature.
226 (merge_single_value_set): New.
227 * libgcov-profiler.c (__gcov_one_value_profiler_body):
228 Update functionality.
229 (__gcov_one_value_profiler): Remove.
230 (__gcov_one_value_profiler_v2): ... this.
231 (__gcov_one_value_profiler_atomic): Rename to ...
232 (__gcov_one_value_profiler_v2_atomic): this.
233 (__gcov_indirect_call_profiler_v3): Rename to ...
234 (__gcov_indirect_call_profiler_v4): ... this.
235 * libgcov.h (__gcov_one_value_profiler): Remove.
236 (__gcov_one_value_profiler_atomic): Remove.
237 (__gcov_one_value_profiler_v2_atomic): New.
238 (__gcov_indirect_call_profiler_v3): Remove.
239 (__gcov_one_value_profiler_v2): New.
240 (__gcov_indirect_call_profiler_v4): New.
241 (gcov_get_counter_ignore_scaling): New function.
242
e37333ba
ML
2432019-06-07 Martin Liska <mliska@suse.cz>
244
245 * Makefile.in: Remove usage of
246 _gcov_merge_icall_topn.
247 * libgcov-driver.c (gcov_sort_n_vals): Remove.
248 (gcov_sort_icall_topn_counter): Likewise.
249 (gcov_sort_topn_counter_arrays): Likewise.
250 (dump_one_gcov): Remove call to gcov_sort_topn_counter_arrays.
251 * libgcov-merge.c (__gcov_merge_icall_topn): Remove.
252 * libgcov-profiler.c (__gcov_topn_value_profiler_body):
253 Likewise.
254 (GCOV_ICALL_COUNTER_CLEAR_THRESHOLD): Remove.
255 (struct indirect_call_tuple): Remove.
256 (__gcov_indirect_call_topn_profiler): Remove.
257 * libgcov-util.c (__gcov_icall_topn_counter_op): Remove.
258 * libgcov.h (gcov_sort_n_vals): Remove.
259 (L_gcov_merge_icall_topn): Likewise.
260 (__gcov_merge_icall_topn): Likewise.
261 (__gcov_indirect_call_topn_profiler): Likewise.
262
34a4a9c2
IS
2632019-06-06 Iain Sandoe <iain@sandoe.co.uk>
264
265 * config/rs6000/t-darwin: Ensure that the unwinder is built with
266 altivec enabled.
267
d1b2f85f
JL
2682019-06-06 Jozef Lawrynowicz <jozef.l@mittosystems.com>
269
270 * config/msp430/slli.S (__mspabi_slli_n): Put function in its own
271 section.
272 (__mspabi_slli): Likewise.
273 (__mspabi_slll_n): Likewise.
274 (__mspabi_slll): Likewise.
275 * config/msp430/srai.S (__mspabi_srai_n): Likewise.
276 (__mspabi_srai): Likewise.
277 (__mspabi_sral_n): Likewise.
278 (__mspabi_sral): Likewise.
279 * config/msp430/srli.S (__mspabi_srli_n): Likewise.
280 (__mspabi_srli): Likewise.
281 (__mspabi_srll_n): Likewise.
282 (__mspabi_srll): Likewise.
283
e69a13d1
YS
2842019-06-05 Yoshinori Sato <ysato@users.sourceforge.jp>
285
286 * config.host (rx-*-linux*): Add t-fdpbit to tmake_file
287 Add appropriate tm_file clause as well.
288 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Remove.
289
b009eac1
JC
2902019-06-05 James Clarke <jrtc27@jrtc27.com>
291
292 * config/ia64/crtbegin.S (__dso_handle): Put in .sdata/.sbss
293 rather than .data/.bss so it can be accessed via gp-relative
294 addressing.
295
781d39f2
DE
2962019-06-05 David Edelsohn <dje.gcc@gmail.com>
297
298 * config/rs6000/aix-unwind.h (LR_REGNO): Rename to R_LR.
299 (CR2_REGNO): Rename to R_CR2.
300 (XER_REGNO): Rename to R_XER.
301 (FIRST_ALTIVEC_REGNO): Rename to R_FIRST_ALTIVEC.
302 (VRSAVE_REGNO): Rename to R_VRSAVE.
303 (VSCR_REGNO): R_VSCR.
304
76aaa9cd
YS
3052019-05-29 Yoshinori Sato <ysato@users.sourceforge.jp>
306
307 * config.host (rx-*-linux*): Add new case.
308 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Force DFmode to SFmode.
309
8fc16d72
ST
3102019-05-29 Sam Tebbs <sam.tebbs@arm.com>
311
312 * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key): New
313 function.
314 * config/aarch64/aarch64-unwind.h (aarch64_post_extract_frame_addr,
315 aarch64_post_frob_eh_handler_addr): Add check for b-key.
316 * config/aarch64/aarch64-unwind-h (aarch64_post_extract_frame_addr,
317 aarch64_post_frob_eh_handler_addr, aarch64_post_frob_update_context):
318 Rename RA_A_SIGNED_BIT to RA_SIGNED_BIT.
319 * unwind-dw2-fde.c (get_cie_encoding): Add check for 'B' in augmentation
320 string.
321 * unwind-dw2.c (extract_cie_info): Add check for 'B' in augmentation
322 string.
323 (RA_A_SIGNED_BIT): Rename to RA_SIGNED_BIT.
324
e54b1a92
RO
3252019-05-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
326
327 * config/sparc/sol2-unwind.h [__arch64__] (sparc64_is_sighandler):
328 Remove Solaris 9 and 10 support.
329 (sparc_is_sighandler): Likewise.
330
abbb8307
JDA
3312019-05-26 John David Anglin <danglin@gcc.gnu.org>
332
333 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Add cast.
334
2581344d
L
3352019-05-17 H.J. Lu <hongjiu.lu@intel.com>
336
337 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
338 4_FP_W_TYPEs are used for IEEE quad precision.
339 * soft-fp/extendhftf2.c: Likewise.
340 * soft-fp/extendsftf2.c: Likewise.
341 * soft-fp/extendxftf2.c: Likewise.
342 * soft-fp/trunctfdf2.c: Likewise.
343 * soft-fp/trunctfhf2.c: Likewise.
344 * soft-fp/trunctfsf2.c: Likewise.
345 * soft-fp/trunctfxf2.c: Likewise.
346 * config/rs6000/ibm-ldouble.c: Likewise.
347
ccd1242e
RO
3482019-05-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
349
350 * config.host: Simplify various *-*-solaris2.1[0-9]* to
351 *-*-solaris2*.
352 * configure.ac: Likewise.
353 * configure: Regenerate.
354
355 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
356 Solaris 10 and Solaris 11 < snv_125 handling.
357
ef5eb79d
IS
3582019-05-12 Iain Sandoe <iain@sandoe.co.uk>
359
360 * config/rs6000/darwin-vecsave.S: Set .machine appropriately.
361
4f0e90fa
HL
3622019-05-07 Hongtao Liu <hongtao.liu@intel.com>
363
364 * config/i386/cpuinfo.c (get_available_features): Detect BF16.
365 * config/i386/cpuinfo.h (enum processor_features): Add
366 FEATURE_AVX512BF16.
367
48528842
RR
3682019-04-23 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
369 Bernd Edlinger <bernd.edlinger@hotmail.de>
370 Jakub Jelinek <jakub@redhat.com>
371
372 PR target/89093
373 * config/arm/pr-support.c: Add #pragma GCC target("general-regs-only").
374 * config/arm/unwind-arm.c: Likewise.
375 * unwind-c.c (PERSONALITY_FUNCTION): Add general-regs-only target
376 attribute for ARM.
377
887e182f
MC
3782019-04-15 Monk Chiang <sh.chiang04@gmail.com>
379
380 * config/nds32/linux-unwind.h (SIGRETURN): Remove.
381 (RT_SIGRETURN): Update.
382 (nds32_fallback_frame_state): Update.
383
a90b0cdd
MS
3842019-02-21 Martin Sebor <msebor@redhat.com>
385
386 * libgcc2.h (__clear_cache): Correct signature.
387 * libgcc2.c (__clear_cache): Same.
388
1ed28eda
UB
3892019-02-20 Uroš Bizjak <ubizjak@gmail.com>
390
391 * config/alpha/linux-unwind.h (alpha_fallback_frame_state):
392 Cast 'mcontext_t *' &rt_->uc.uc_mcontext to 'struct sigcontext *'.
393
fe95aee9
UB
3942019-02-19 Uroš Bizjak <ubizjak@gmail.com>
395
396 * unwind-dw2.c (_Unwind_GetGR) [DWARF_ZERO_REG]: Compare
397 regno instead of index to DWARF_ZERO_REG.
398
bf7988f1
EB
3992019-02-15 Eric Botcazou <ebotcazou@adacore.com>
400
401 * config/visium/lib2funcs.c (__set_trampoline_parity): Replace
402 TRAMPOLINE_SIZE with __LIBGCC_TRAMPOLINE_SIZE__.
403
ba2c1ca8
UB
4042019-01-31 Uroš Bizjak <ubizjak@gmail.com>
405
406 * config/alpha/t-linux: Add -mfp-rounding-mode=d
407 to HOST_LIBGCC2_CFLAGS.
408
6395ba73
L
4092019-01-23 Joseph Myers <joseph@codesourcery.com>
410
411 PR libgcc/88931
ba2c1ca8 412 * libgcc2.c (FSTYPE FUNC (DWtype u)): Correct no leading bits case.
6395ba73 413
756721ba
ML
4142019-01-18 Martin Liska <mliska@suse.cz>
415
416 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Rename
417 to ...
418 (__gcov_indirect_call_profiler_v3): ... this.
419 * libgcov.h (__gcov_indirect_call_profiler_v2): Likewise.
420 (__gcov_indirect_call_profiler_v3): Likewise.
421 * Makefile.in: Bump function name.
422
d273c40a
ML
4232019-01-18 Martin Liska <mliska@suse.cz>
424
425 * libgcov-driver.c (GCOV_PROF_PREFIX): Define.
426 (gcov_version): Use in gcov_error.
427 (merge_one_data): Likewise.
428 (dump_one_gcov): Likewise.
429
be9d9fdb
ML
4302019-01-18 Martin Liska <mliska@suse.cz>
431
432 * libgcov-driver.c (gcov_version_string): New function.
433 (gcov_version): Convert version integer into string.
434
91d7b7fe
AS
4352019-01-17 Andrew Stubbs <ams@codesourcery.com>
436 Kwok Cheung Yeung <kcy@codesourcery.com>
437 Julian Brown <julian@codesourcery.com>
438 Tom de Vries <tom@codesourcery.com>
439
440 * config.host: Recognize amdgcn*-*-amdhsa.
441 * config/gcn/crt0.c: New file.
442 * config/gcn/lib2-divmod-hi.c: New file.
443 * config/gcn/lib2-divmod.c: New file.
444 * config/gcn/lib2-gcn.h: New file.
445 * config/gcn/sfp-machine.h: New file.
446 * config/gcn/t-amdgcn: New file.
447
67914693
SL
4482019-01-09 Sandra Loosemore <sandra@codesourcery.com>
449
450 PR other/16615
451
452 * config/c6x/libunwind.S: Mechanically replace "can not" with
453 "cannot".
454 * config/tilepro/atomic.h: Likewise.
455 * config/vxlib-tls.c: Likewise.
456 * generic-morestack-thread.c: Likewise.
457 * generic-morestack.c: Likewise.
458 * mkmap-symver.awk: Likewise.
459
a5544970
JJ
4602019-01-01 Jakub Jelinek <jakub@redhat.com>
461
462 Update copyright years.
463
da77eace
L
4642018-12-20 H.J. Lu <hongjiu.lu@intel.com>
465
466 * unwind-pe.h (read_encoded_value_with_base): Add GCC pragma
467 to ignore -Waddress-of-packed-member.
468
72e3a529
TP
4692018-12-19 Thomas Preud'homme <thomas.preudhomme@linaro.org>
470
471 * /config/arm/lib1funcs.S (FUNC_START): Remove unused sp_section
472 parameter and corresponding code.
473 (ARM_FUNC_START): Likewise in both definitions.
474 Also update footer comment about condition that need to match with
475 gcc/config/arm/elf.h to also include libgcc/config/arm/t-arm.
476 * config/arm/ieee754-df.S (muldf3): Also build it if L_arm_muldf3 is
477 defined. Weakly define it in this case.
478 * config/arm/ieee754-sf.S (mulsf3): Likewise with L_arm_mulsf3.
479 * config/arm/t-elf (LIB1ASMFUNCS): Build _arm_muldf3.o and
480 _arm_mulsf3.o before muldiv versions if targeting Thumb-1 only. Add
481 comment to keep condition in sync with the one in
482 libgcc/config/arm/lib1funcs.S and gcc/config/arm/elf.h.
483
5d54c798
WX
4842018-12-18 Wei Xiao <wei3.xiao@intel.com>
485
486 * config/i386/cpuinfo.c (get_intel_cpu): Handle cascadelake.
487 * config/i386/cpuinfo.h: Add INTEL_COREI7_CASCADELAKE.
488
5a2580b6
RV
4892018-12-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
490
491 * config/rs6000/tramp.S (__trampoline_setup): Also emit .size
492 and .cfi_endproc directives for VxWorks targets.
493
c0c5112b
PK
4942018-12-05 Paul Koning <ni1d@arrl.net>
495
496 * udivmodhi4.c (__udivmodhi4): Fix loop end check.
497
1ea7ea18
AM
4982018-11-27 Alan Modra <amodra@gmail.com>
499
500 * config/rs6000/morestack.S (__stack_split_initialize),
501 (__morestack_get_guard, __morestack_set_guard),
502 (__morestack_make_guard): Provide CFI covering these functions.
503 * config/rs6000/tramp.S (__trampoline_setup): Likewise.
504
ff641ae1
XQ
5052018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
506
1ea7ea18 507 * config/csky/linux-unwind.h (sc_pt_regs): Update for kernel.
ff641ae1
XQ
508 (sc_pt_regs_lr): Update for kernel.
509 (sc_pt_regs_tls): Update for kernel.
510
28209372
XQ
5112018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
512
513 * config/csky/linux-unwind.h: Fix coding style.
514
b2a71af6
XQ
5152018-11-13 Xianmiao Qu <xianmiao_qu@c-sky.com>
516
517 * config/csky/linux-unwind.h (_sig_ucontext_t): Remove.
1ea7ea18 518 (csky_fallback_frame_state): Modify the check of the
b2a71af6
XQ
519 instructions to adapt to changes in the kernel
520
d929e137
SH
5212018-11-09 Stafford Horne <shorne@gmail.com>
522 Richard Henderson <rth@twiddle.net>
523
524 * config.host: Add OpenRISC support.
525 * config/or1k/*: New.
526
222cfefa
KC
5272018-11-08 Kito Cheng <kito@andestech.com>
528
529 * soft-fp/adddf3.c: Update from glibc.
530 * soft-fp/addsf3.c: Likewise.
531 * soft-fp/addtf3.c: Likewise.
532 * soft-fp/divdf3.c: Likewise.
533 * soft-fp/divsf3.c: Likewise.
534 * soft-fp/divtf3.c: Likewise.
535 * soft-fp/double.h: Likewise.
536 * soft-fp/eqdf2.c: Likewise.
537 * soft-fp/eqsf2.c: Likewise.
538 * soft-fp/eqtf2.c: Likewise.
539 * soft-fp/extenddftf2.c: Likewise.
540 * soft-fp/extended.h: Likewise.
541 * soft-fp/extendhftf2.c: Likewise.
542 * soft-fp/extendsfdf2.c: Likewise.
543 * soft-fp/extendsftf2.c: Likewise.
544 * soft-fp/extendxftf2.c: Likewise.
545 * soft-fp/fixdfdi.c: Likewise.
546 * soft-fp/fixdfsi.c: Likewise.
547 * soft-fp/fixdfti.c: Likewise.
548 * soft-fp/fixhfti.c: Likewise.
549 * soft-fp/fixsfdi.c: Likewise.
550 * soft-fp/fixsfsi.c: Likewise.
551 * soft-fp/fixsfti.c: Likewise.
552 * soft-fp/fixtfdi.c: Likewise.
553 * soft-fp/fixtfsi.c: Likewise.
554 * soft-fp/fixtfti.c: Likewise.
555 * soft-fp/fixunsdfdi.c: Likewise.
556 * soft-fp/fixunsdfsi.c: Likewise.
557 * soft-fp/fixunsdfti.c: Likewise.
558 * soft-fp/fixunshfti.c: Likewise.
559 * soft-fp/fixunssfdi.c: Likewise.
560 * soft-fp/fixunssfsi.c: Likewise.
561 * soft-fp/fixunssfti.c: Likewise.
562 * soft-fp/fixunstfdi.c: Likewise.
563 * soft-fp/fixunstfsi.c: Likewise.
564 * soft-fp/fixunstfti.c: Likewise.
565 * soft-fp/floatdidf.c: Likewise.
566 * soft-fp/floatdisf.c: Likewise.
567 * soft-fp/floatditf.c: Likewise.
568 * soft-fp/floatsidf.c: Likewise.
569 * soft-fp/floatsisf.c: Likewise.
570 * soft-fp/floatsitf.c: Likewise.
571 * soft-fp/floattidf.c: Likewise.
572 * soft-fp/floattihf.c: Likewise.
573 * soft-fp/floattisf.c: Likewise.
574 * soft-fp/floattitf.c: Likewise.
575 * soft-fp/floatundidf.c: Likewise.
576 * soft-fp/floatundisf.c: Likewise.
577 * soft-fp/floatunditf.c: Likewise.
578 * soft-fp/floatunsidf.c: Likewise.
579 * soft-fp/floatunsisf.c: Likewise.
580 * soft-fp/floatunsitf.c: Likewise.
581 * soft-fp/floatuntidf.c: Likewise.
582 * soft-fp/floatuntihf.c: Likewise.
583 * soft-fp/floatuntisf.c: Likewise.
584 * soft-fp/floatuntitf.c: Likewise.
585 * soft-fp/gedf2.c: Likewise.
586 * soft-fp/gesf2.c: Likewise.
587 * soft-fp/getf2.c: Likewise.
588 * soft-fp/half.h: Likewise.
589 * soft-fp/ledf2.c: Likewise.
590 * soft-fp/lesf2.c: Likewise.
591 * soft-fp/letf2.c: Likewise.
592 * soft-fp/muldf3.c: Likewise.
593 * soft-fp/mulsf3.c: Likewise.
594 * soft-fp/multf3.c: Likewise.
595 * soft-fp/negdf2.c: Likewise.
596 * soft-fp/negsf2.c: Likewise.
597 * soft-fp/negtf2.c: Likewise.
598 * soft-fp/op-1.h: Likewise.
599 * soft-fp/op-2.h: Likewise.
600 * soft-fp/op-4.h: Likewise.
601 * soft-fp/op-8.h: Likewise.
602 * soft-fp/op-common.h: Likewise.
603 * soft-fp/quad.h: Likewise.
604 * soft-fp/single.h: Likewise.
605 * soft-fp/soft-fp.h: Likewise.
606 * soft-fp/subdf3.c: Likewise.
607 * soft-fp/subsf3.c: Likewise.
608 * soft-fp/subtf3.c: Likewise.
609 * soft-fp/truncdfsf2.c: Likewise.
610 * soft-fp/trunctfdf2.c: Likewise.
611 * soft-fp/trunctfhf2.c: Likewise.
612 * soft-fp/trunctfsf2.c: Likewise.
613 * soft-fp/trunctfxf2.c: Likewise.
614 * soft-fp/unorddf2.c: Likewise.
615 * soft-fp/unordsf2.c: Likewise.
616 * soft-fp/unordtf2.c: Likewise.
617
2901f42f
VK
6182018-11-04 Venkataramanan Kumar <Venkataramanan.kumar@amd.com>
619
620 * config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
621 * config/i386/cpuinfo.h (processor_types): Add znver2.
622
4310ca66
PK
6232018-11-01 Paul Koning <ni1d@arrl.net>
624
625 * config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c.
626 (HOST_LIBGCC2_CFLAGS): Change to optimize for size.
627
22e05272
JM
6282018-10-31 Joseph Myers <joseph@codesourcery.com>
629
630 PR bootstrap/82856
631 * configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
632 * configure: Regenerate.
633
8180cde0
CZ
6342018-10-31 Claudiu Zissulescu <claziss@synopsys.com>
635
636 * config/arc/lib1funcs.S (_muldi3): New function.
637 * config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
638
be7b071e
RV
6392018-10-30 Rasmus Villemoes <rv@rasmusvillemoes.dk>
640
641 * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
642
3239d726
ML
6432018-10-25 Martin Liska <mliska@suse.cz>
644
645 PR other/87735
646 * libgcov-profiler.c: Revert.
647
19b55958
ML
6482018-10-24 Martin Liska <mliska@suse.cz>
649
650 * libgcov-profiler.c: Start from 1 in order to distinguish
651 functions which were seen and these that were not.
652
a9a2fddb
PK
6532018-10-18 Paul Koning <ni1d@arrl.net>
654
655 * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
656 standard.
657 * divmod.c: Update references to __udivmodsi4.
658 * udivmod.c: Ditto.
659 * udivhi3.c: New file.
660 * udivmodhi4.c: New file.
661 * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
662
fc8abc46
RV
6632018-10-17 Rasmus Villemoes <rv@rasmusvillemoes.dk>
664
665 * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
666
87f918e3
OH
6672018-10-12 Olivier Hainque <hainque@adacore.com>
668
669 * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
670 defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
671
be86efa7
PK
6722018-10-08 Paul Koning <ni1d@arrl.net>
673
674 * config/pdp11/t-pdp11: Remove -mfloat32 switch.
675
3edbcdbe
ML
6762018-10-04 Martin Liska <mliska@suse.cz>
677
678 PR gcov-profile/84107
679 * libgcov-profiler.c (__gcov_indirect_call):
680 Change type to indirect_call_tuple.
681 (struct indirect_call_tuple): New struct.
682 (__gcov_indirect_call_topn_profiler): Change type.
683 (__gcov_indirect_call_profiler_v2): Use the new
684 variables.
685 * libgcov.h (struct indirect_call_tuple): New struct
686 definition.
687
af8096fc
UB
6882018-10-03 Uros Bizjak <ubizjak@gmail.com>
689
690 * libgcc2.c (isnan): Use __builtin_isnan.
691 (isfinite): Use __builtin_isfinite.
692 (isinf): Use __builtin_isinf.
693
0a76bba4
UB
6942018-09-26 Uros Bizjak <ubizjak@gmail.com>
695
696 * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
697
5244089f
OH
6982018-09-21 Alexandre Oliva <oliva@adacore.com>
699
700 * config/vxcache.c: New file. Provide __clear_cache, based on
701 the cacheTextUpdate VxWorks service.
702 * config/t-vxworks (LIB2ADD): Add vxcache.c.
703 (LIB2FUNCS_EXCLUDE): Add _clear_cache.
704 * config/t-vxwoks7: Likewise.
705
512cc015
ML
7062018-09-21 Martin Liska <mliska@suse.cz>
707
708 * libgcov-driver.c (crc32_unsigned): Remove.
709 (gcov_histogram_insert): Likewise.
710 (gcov_compute_histogram): Likewise.
711 (compute_summary): Simplify rapidly.
712 (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
713 (merge_summary): Rapidly simplify.
714 (dump_one_gcov): Ignore gcov_summary.
715 (gcov_do_dump): Do not handle program summary, it's not
716 used.
717 * libgcov-util.c (tag_summary): Remove.
718 (read_gcda_finalize): Fix coding style.
719 (read_gcda_file): Initialize curr_object_summary.
720 (compute_summary): Remove.
721 (calculate_overlap): Remove settings of run_max.
722
36ff254b
MC
7232018-09-21 Monk Chiang <sh.chiang04@gmail.com>
724
725 * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
726 ucontext_t type instead.
727 (nds32_fallback_frame_state): Remove struct _sigframe statement.
728
229a033d
KC
7292018-09-21 Kito Cheng <kito.cheng@gmail.com>
730
731 * config/nds32/t-nds32-glibc: New file.
732
53c6feb2
RO
7332018-09-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
734
735 * configure.ac (solaris_ld_v2_maps): New test.
736 * configure: Regenerate.
737 * Makefile.in (solaris_ld_v2_maps): New variable.
738 * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
739 if supported.
740
ebdb6f23
RE
7412018-08-23 Richard Earnshaw <rearnsha@arm.com>
742
743 PR target/86951
744 * config/arm/lib1funcs.asm (speculation_barrier): New function.
745 * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
746 to build.
747
a49c064e
IS
7482018-08-22 Iain Sandoe <iain@sandoe.co.uk>
749
1ea7ea18 750 * config/unwind-dw2-fde-darwin.c
a49c064e
IS
751 (_darwin10_Unwind_FindEnclosingFunction): move from here ...
752 * config/darwin10-unwind-find-enc-func.c: … to here.
753 * config/t-darwin: Build Darwin10 unwinder shim crt.
754 * libgcc/config.host: Add the Darwin10 unwinder shim.
755
9a5b8df7
RV
7562018-08-21 Rasmus Villemoes <rv@rasmusvillemoes.dk>
757
758 * config.host: Add crtbegin.o and crtend.o for
759 powerpc-wrs-vxworks target.
760
4cd0bc3b
J
7612018-08-17 Jojo <jijie_rong@c-sky.com>
762 Huibin Wang <huibin_wang@c-sky.com>
763 Sandra Loosemore <sandra@codesourcery.com>
764 Chung-Lin Tang <cltang@codesourcery.com>
765
766 C-SKY port: libgcc
767
768 * config.host: Add C-SKY support.
769 * config/csky/*: New.
770
a4931745
CJW
7712018-08-12 Chung-Ju Wu <jasonwucj@gmail.com>
772
773 * config/nds32/t-nds32-isr: Rearrange object dependency.
774 * config/nds32/initfini.c: Add dwarf2 unwinding support.
775 * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
776 and registers usage.
777 * config/nds32/isr-library/excp_isr.S: Ditto.
778 * config/nds32/isr-library/intr_isr.S: Ditto.
779 * config/nds32/isr-library/reset.S: Ditto.
780 * config/nds32/isr-library/restore_all.inc: Ditto.
781 * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
782 * config/nds32/isr-library/restore_partial.inc: Ditto.
783 * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
784 * config/nds32/isr-library/save_all.inc: Ditto.
785 * config/nds32/isr-library/save_mac_regs.inc: Ditto.
786 * config/nds32/isr-library/save_partial.inc: Ditto.
787 * config/nds32/isr-library/save_usr_regs.inc: Ditto.
788 * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
789
2b1969f6
JDA
7902018-08-11 John David Anglin <danglin@gcc.gnu.org>
791
792 * config/pa/linux-atomic.c: Update comment.
793 (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
794 COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
795 SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
796 __ATOMIC_RELAXED for atomic loads.
797 (SYNC_LOCK_RELEASE_1): New define. Use __sync_synchronize() and
798 unordered store to release lock.
799 (__sync_lock_release_8): Likewise.
800 (SYNC_LOCK_RELEASE_2): Remove define.
af8096fc 801
89fff9cc
NP
8022018-08-02 Nicolas Pitre <nico@fluxnic.net>
803
804 PR libgcc/86512
805 * config/arm/ieee754-df.S: Don't shortcut denormal handling when
806 exponent goes negative. Update my email address.
807 * config/arm/ieee754-sf.S: Likewise.
808
fd2e1dcd
ML
8092018-08-01 Martin Liska <mliska@suse.cz>
810
811 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
92a285c1 812 check that __gcov_indirect_call_callee is non-null.
fd2e1dcd 813
b7415975
CL
8142018-07-30 Christophe Lyon <christophe.lyon@linaro.org>
815
816 * config/arm/ieee754-df.S: Fix comment for code working on
817 architectures >= 4.
818 * config/arm/ieee754-sf.S: Likewise.
819
b72e71a3
L
8202018-07-27 H.J. Lu <hongjiu.lu@intel.com>
821
822 PR libgcc/85334
823 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
824 Removed.
825
1c686aa4
JC
8262018-07-05 James Clarke <jrtc27@jrtc27.com>
827
828 * configure: Regenerated.
829
b61c9b99
RO
8302018-06-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
831
832 * Makefile.in (install_leaf): Use enable_gcov instead of
833 enable_libgcov.
834
1765b023
RV
8352018-06-27 Rasmus Villemoes <rv@rasmusvillemoes.dk>
836
837 * configure.ac: Add --disable-gcov option.
838 * configure: Regenerate.
839 * Makefile.in: Honour @enable_gcov@.
840
9b2e34ef
CL
8412018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
842
843 * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
844 __ARM_ARCH and __ARM_FEATURE_CLZ instead.
845 (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
846 * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
847 __ARM_ARCH__.
848 * config/arm/ieee754-sf.S: Likewise.
849 * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
850
d1b0dd54
CL
8512018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
852
853 * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
854 longer supported.
855 * config/arm/ieee754-sf.S: Likewise.
856
1f3fa525
TM
8572018-06-20 Than McIntosh <thanm@google.com>
858
859 PR libgcc/86213
860 * generic-morestack.c (allocate_segment): Move calls to getenv and
861 getpagesize to __morestack_load_mmap.
862 (__morestack_load_mmap) Initialize static_pagesize and
863 use_guard_page here so as to avoid clobbering SSE regs during a
864 __morestack call.
865
6a8886e4
MM
8662018-06-18 Michael Meissner <meissner@linux.ibm.com>
867
868 * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
869 support modules with -mno-gnu-attribute.
870 * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
871
fb997097
OH
8722018-06-07 Olivier Hainque <hainque@adacore.com>
873
874 * config/t-vxworks (LIBGCC_INCLUDES): Add
875 -I$(MULTIBUILDTOP)../../gcc/include.
876 * config/t-vxworks7: Likewise. Reformat a bit to match
877 the t-vxworks layout.
878
a548a5a1
OM
8792018-06-07 Olga Makhotina <olga.makhotina@intel.com>
880
881 * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
882
244aebfd
ML
8832018-06-07 Martin Liska <mliska@suse.cz>
884
885 * libgcov-driver.c: Rename cs_all to all and assign it from
92a285c1 886 all_prg.
244aebfd 887
6c086e8c
ML
8882018-06-07 Martin Liska <mliska@suse.cz>
889
92a285c1 890 PR bootstrap/86057
6c086e8c 891 * libgcov-driver-system.c (replace_filename_variables): Use
92a285c1 892 memcpy instead of mempcpy.
6c086e8c 893 (allocate_filename_struct): Do not allocate filename, allocate
92a285c1 894 prefix and set it.
6c086e8c 895 (gcov_exit_open_gcda_file): Allocate memory for gf->filename
92a285c1 896 here and properly copy content into it.
6c086e8c 897 * libgcov-driver.c (struct gcov_filename): Remove max_length
92a285c1 898 field, change prefix from size_t into char *.
6c086e8c
ML
899 (compute_summary): Do not calculate longest filename.
900 (gcov_do_dump): Release memory of gf.filename after each file.
901 * libgcov-util.c (compute_summary): Use new signature of
92a285c1 902 compute_summary.
6c086e8c
ML
903 (calculate_overlap): Likewise.
904
97a53d1d
ML
9052018-06-05 Martin Liska <mliska@suse.cz>
906
907 PR gcov-profile/47618
908 * libgcov-driver-system.c (replace_filename_variables): New
92a285c1 909 function.
97a53d1d
ML
910 (gcov_exit_open_gcda_file): Use it.
911
7f3577f5
ML
9122018-06-05 Martin Liska <mliska@suse.cz>
913
914 * libgcov-driver.c (gcov_compute_histogram): Remove usage
915 of gcov_ctr_summary.
916 (compute_summary): Do it just for a single summary.
917 (merge_one_data): Likewise.
918 (merge_summary): Simplify as we read just single summary.
919 (dump_one_gcov): Pass proper argument.
920 * libgcov-util.c (compute_one_gcov): Simplify as we have just
921 single summary.
922 (gcov_info_count_all_cold): Likewise.
923 (calculate_overlap): Likewise.
924
cf3cd43d
CJW
9252018-06-02 Chung-Ju Wu <jasonwucj@gmail.com>
926 Monk Chiang <sh.chiang04@gmail.com>
927
928 * config.host (nds32*-linux*): New.
929 * config/nds32/linux-atomic.c: New file.
930 * config/nds32/linux-unwind.h: New file.
931
8b8003ed
UB
9322018-05-31 Uros Bizjak <ubizjak@gmail.com>
933
934 PR target/85591
935 * config/i386/cpuinfo.c (get_amd_cpu): Return
936 AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
937
bbdf026f
RV
9382018-05-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
939
92a285c1 940 * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
bbdf026f 941
0e8f29da
ML
9422018-05-29 Martin Liska <mliska@suse.cz>
943
92a285c1 944 PR gcov-profile/85759
0e8f29da 945 * libgcov-driver-system.c (gcov_error): Introduce usage of
92a285c1 946 GCOV_EXIT_AT_ERROR env. variable.
0e8f29da 947 * libgcov-driver.c (merge_one_data): Print error that we
92a285c1 948 overwrite a gcov file with a different timestamp.
0e8f29da 949
54fd1590
K
9502018-05-23 Kalamatee <kalamatee@gmail.com>
951
952 * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
953 path to Lf$finfty.
954
09baee1a
KC
9552018-05-18 Kito Cheng <kito.cheng@gmail.com>
956 Monk Chiang <sh.chiang04@gmail.com>
957 Jim Wilson <jimw@sifive.com>
958
959 * config/riscv/save-restore.S: Add support for rv32e.
960
c3f808d3
KT
9612018-05-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
962
963 * config/arm/libunwind.S: Update comment relating to armv5.
964
fcf4f831
JL
9652018-05-17 Jerome Lambourg <lambourg@adacore.com>
966
967 * config/arm/cmse.c (cmse_check_address_range): Replace
968 UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
969
74b2bb19
OM
9702018-05-17 Olga Makhotina <olga.makhotina@intel.com>
971
972 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
973 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
974
50e461df
OM
9752018-05-08 Olga Makhotina <olga.makhotina@intel.com>
976
977 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
978 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
979
e5f1cdb1
AC
9802018-05-07 Amaan Cheval <amaan.cheval@gmail.com>
981
982 * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
983
8f479d7a
AT
9842018-04-27 Andreas Tobler <andreast@gcc.gnu.org>
985 Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
986
987 PR libgcc/84292
988 * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
989 op_and_fetch to return the right result.
990
ae043291
AM
9912018-04-27 Alan Modra <amodra@gmail.com>
992
993 PR libgcc/85532
994 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
995 -fno-asynchronous-unwind-tables.
996
ba169b74
CJW
9972018-04-25 Chung-Ju Wu <jasonwucj@gmail.com>
998
999 * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
1000 * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
1001
ffc2fc06
L
10022018-04-24 H.J. Lu <hongjiu.lu@intel.com>
1003
1004 * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
1005 when including "config/i386/shadow-stack-unwind.h".
1006
7b47ecf2
L
10072018-04-24 H.J. Lu <hongjiu.lu@intel.com>
1008
1009 * configure: Regenerated.
1010
661eb8f9
MM
10112018-04-20 Michael Meissner <meissner@linux.ibm.com>
1012
1013 PR target/85456
1014 * config/rs6000/_powikf2.c: New file. Add support for the
1015 __builtin_powil function when long double is IEEE 128-bit floating
1016 point.
1017 * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
1018 __powikf2 support.
1019 (__powikf2): Likewise.
1020 * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
1021 (__powikf2_hw): Likewise.
1022 (__powikf2): Likewise.
1023 * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
1024 * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
1025 (_powikf2-hw.c): Likewise.
1026
5707be3c
L
10272018-04-19 H.J. Lu <hongjiu.lu@intel.com>
1028
1029 PR libgcc/85334
1030 * unwind-generic.h (_Unwind_Frames_Increment): New.
1031 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
1032 Likewise.
1033 * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
1034 count with _Unwind_Frames_Increment.
1035 (_Unwind_ForcedUnwind_Phase2): Likewise.
1036
5f9ca0b8
L
10372018-04-19 H.J. Lu <hongjiu.lu@intel.com>
1038
1039 PR libgcc/85379
1040 * config/i386/morestack.S (__stack_split_initialize): Add
1041 _CET_ENDBR.
1042
a0e1df88
JJ
10432018-04-19 Jakub Jelinek <jakub@redhat.com>
1044
1045 * configure: Regenerated.
1046
001ddaa8
DM
10472018-04-18 David Malcolm <dmalcolm@redhat.com>
1048
1049 PR jit/85384
1050 * configure: Regenerate.
1051
a57f99ba
JJ
10522018-04-16 Jakub Jelinek <jakub@redhat.com>
1053
1054 PR target/84945
1055 * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
1056 -Wdangling-else warnings. Mask shift counts to avoid
1057 -Wshift-count-negative and -Wshift-count-overflow false positives.
1058
4d47fe5a
RB
10592018-04-06 Ruslan Bukin <br@bsdpad.com>
1060
1061 * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
1062
059cc8ac
L
10632018-03-29 H.J. Lu <hongjiu.lu@intel.com>
1064
1065 PR target/85100
1066 * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
1067 (XSTATE_FP): Likewise.
1068 (XSTATE_SSE): Likewise.
1069 (XSTATE_YMM): Likewise.
1070 (XSTATE_OPMASK): Likewise.
1071 (XSTATE_ZMM): Likewise.
1072 (XSTATE_HI_ZMM): Likewise.
1073 (XCR_AVX_ENABLED_MASK): Likewise.
1074 (XCR_AVX512F_ENABLED_MASK): Likewise.
1075 (get_available_features): Enable AVX and AVX512 features only
1076 if their states are supported by OSXSAVE.
1077
f2620385
IT
10782018-03-22 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1079
1080 PR target/85025
1081 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
1082 Fix a typo, tmp => 255.
1083
ae6dca8c
JJ
10842018-03-20 Jakub Jelinek <jakub@redhat.com>
1085
1086 PR target/84945
1087 * config/i386/cpuinfo.h (__cpu_features2): Declare.
1088 * config/i386/cpuinfo.c (__cpu_features2): New variable for
1089 ifndef SHARED only.
1090 (set_feature): Define.
1091 (get_available_features): Use set_feature macro. Set __cpu_features2
1092 to the second word of features ifndef SHARED.
1093
c36b04c1
JK
10942018-03-15 Julia Koval <julia.koval@intel.com>
1095
1096 * config/i386/cpuinfo.c (get_available_features): Add
1097 FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
1098 FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
1099 * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
1100 FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
1101 FEATURE_AVX512BITALG.
1102
79ab5364
JK
11032018-03-14 Julia Koval <julia.koval@intel.com>
1104
1105 * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
1106 icelake client and icelake server.
1107
66a00b11
JDA
11082018-03-06 John David Anglin <danglin@gcc.gnu.org>
1109
1110 * config/pa/fptr.c (_dl_read_access_allowed): New.
1111 (__canonicalize_funcptr_for_compare): Use it.
af8096fc 1112
ce579a4f
JJ
11132018-02-28 Jakub Jelinek <jakub@redhat.com>
1114
1115 PR debug/83917
1116 * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
1117 $asm_hidden_op if visibility ("hidden") attribute works.
1118 (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
1119 * config/i386/i386-asm.h: Don't include auto-host.h.
1120 (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
1121 PACKAGE_URL): Don't undefine.
1122 (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
1123 guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
1124 (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
1125 #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
1126 definition instead of hardcoded .hidden.
1127 * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
1128 directive. Use #ifdef HAVE_AS_CFI_SECTIONS rather than
1129 #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
1130 (USE_GAS_CFI_DIRECTIVES): Don't define.
1131 * configure: Regenerated.
1132 * config.in: Likewise.
1133
e5868319
JJ
11342018-02-26 Jakub Jelinek <jakub@redhat.com>
1135
1136 PR debug/83917
1137 * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
1138 PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
1139 inclusion of auto-target.h and auto-host.h.
1140 (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
1141 __GCC_HAVE_DWARF2_CFI_ASM.
1142 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
1143 cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
1144 cfi_pop): Define.
1145 * config/i386/cygwin.S: Don't include auto-host.h here, just
1146 define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
1147 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
1148 cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
1149 * config/i386/resms64fx.h: Add cfi_* directives.
1150 * config/i386/resms64x.h: Likewise.
1151
faef260e
MF
11522018-02-20 Max Filippov <jcmvbkbc@gmail.com>
1153
1154 * config/xtensa/ieee754-df.S (__adddf3_aux): Add
1155 .literal_position directive.
1156 * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
1157
14e335ed
IT
11582018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1159
1160 PR target/84148
1161 * configure: Regenerate.
1162
95df0433
IT
11632018-02-16 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1164
1165 PR target/84239
1166 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
1167 Include cetintrin.h not x86intrin.h.
1168
f8de876d
IT
11692018-02-08 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1170
1171 PR target/84239
95df0433 1172 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
f8de876d
IT
1173 Use new _get_ssp and _inc_ssp intrinsics.
1174
02da1e9c
JK
11752018-02-02 Julia Koval <julia.koval@intel.com>
1176
1177 * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
1178
048c6a9a
CZ
11792018-01-26 Claudiu Zissulescu <claziss@synopsys.com>
1180
1181 * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
1182 option.
1183 (__divsi3): Use RF16 safe registers.
1184 (__modsi3): Likewise.
1185
0889f168
MF
11862018-01-23 Max Filippov <jcmvbkbc@gmail.com>
1187
1188 * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
1189 (__divsf3): Make NaN return value quiet.
1190 * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
1191 (__divdf3): Make NaN return value quiet.
1192
bc8b0d04
SP
11932018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
1194
1195 * config/rl78/anddi3.S: New assembly file.
1196 * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
1197
99cc06ea
SP
11982018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
1199
1200 * config/rl78/umindi3.S: New assembly file.
1201 * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
1202
6e9007a0
SP
12032018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
1204
1205 * config/rl78/smindi3.S: New assembly file.
1206 * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
1207
d975e494 12082018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
af8096fc 1209
d975e494
SP
1210 * config/rl78/smaxdi3.S: New assembly file.
1211 * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
1212
6a18c146 12132018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
af8096fc 1214
5dd16013
SP
1215 * config/rl78/umaxdi3.S: New assembly file.
1216 * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
af8096fc 1217
07baf4a5
JDA
12182018-01-21 John David Anglin <danglin@gcc.gnu.org>
1219
1220 PR lto/83452
1221 * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
1222 * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
af8096fc 1223
dbc3af4f
RS
12242018-01-13 Richard Sandiford <richard.sandiford@linaro.org>
1225
1226 * config/aarch64/value-unwind.h (aarch64_vg): New function.
1227 (DWARF_LAZY_REGISTER_VALUE): Define.
1228 * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
1229 to provide a fallback register value.
1230
68df9882
MM
12312018-01-08 Michael Meissner <meissner@linux.vnet.ibm.com>
1232
1233 * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
1234 __ibm128, instead of trying to use long double.
1235 (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
1236 accomidate -mabi=ieeelongdouble multilibs.
1237 (CVT_IBM128_TO_FLOAT128): Likewise.
1238 * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
1239 the appropriate IBM extended double type.
1240 (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
1241 (__gcc_qsub): Likewise.
1242 (__gcc_qmul): Likewise.
1243 (__gcc_qdiv): Likewise.
1244 (pack_ldouble): Likewise.
1245 (__gcc_qneg): Likewise.
1246 (__gcc_qeq): Likewise.
1247 (__gcc_qne): Likewise.
1248 (__gcc_qge): Likewise.
1249 (__gcc_qle): Likewise.
1250 (__gcc_stoq): Likewise.
1251 (__gcc_dtoq): Likewise.
1252 (__gcc_itoq): Likewise.
1253 (__gcc_utoq): Likewise.
1254 (__gcc_qunord): Likewise.
1255 * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
1256 quad-float128.h for the definitions.
1257 (COPYSIGN): Use the f128 version instead of the q version.
1258 (INFINITY): Likewise.
1259 (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
1260 * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
1261 quad-float128.h for the definitions.
1262 (COPYSIGN): Use the f128 version instead of the q version.
1263 (INFINITY): Likewise.
1264 (FABS): Likewise.
1265 (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
1266 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
1267 * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
1268
64b371b1
SH
12692018-01-05 Sebastian Huber <sebastian.huber@embedded-brains.de>
1270
1271 * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
1272 configuration.
1273
85ec4feb
JJ
12742018-01-03 Jakub Jelinek <jakub@redhat.com>
1275
1276 Update copyright years.
1277
12782017-12-12 Kito Cheng <kito.cheng@gmail.com>
b8d7e076
KC
1279
1280 * config/riscv/t-elf: Use multi3.c instead of multi3.S.
1281 * config/riscv/multi3.c: New file.
1282 * config/riscv/multi3.S: Remove.
1283
3a4c600f
JW
12842017-12-08 Jim Wilson <jimw@sifive.com>
1285
1286 * config/riscv/div.S: Use FUNC_* macros.
1287 * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
1288 * config/riscv/save-restore.S: Likewise.
1289 * config/riscv/riscv-asm.h: New.
1290
75ad35b5
MM
12912017-11-30 Michael Meissner <meissner@linux.vnet.ibm.com>
1292
6ae3512c
MM
1293 * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
1294 * config/rs6000/_divkc3.c (__divkc3): Likewise.
1295
75ad35b5
MM
1296 PR libgcc/83112
1297 * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
1298 correct type for all ifunc resolvers to silence -Wattribute-alias
1299 warnings. Eliminate the forward declaration of the resolver
1300 functions which is no longer needed.
1301 (__subkf3_resolve): Likewise.
1302 (__mulkf3_resolve): Likewise.
1303 (__divkf3_resolve): Likewise.
1304 (__negkf2_resolve): Likewise.
1305 (__eqkf2_resolve): Likewise.
1306 (__nekf2_resolve): Likewise.
1307 (__gekf2_resolve): Likewise.
1308 (__gtkf2_resolve): Likewise.
1309 (__lekf2_resolve): Likewise.
1310 (__ltkf2_resolve): Likewise.
1311 (__unordkf2_resolve): Likewise.
1312 (__extendsfkf2_resolve): Likewise.
1313 (__extenddfkf2_resolve): Likewise.
1314 (__trunckfsf2_resolve): Likewise.
1315 (__trunckfdf2_resolve): Likewise.
1316 (__fixkfsi_resolve): Likewise.
1317 (__fixkfdi_resolve): Likewise.
1318 (__fixunskfsi_resolve): Likewise.
1319 (__fixunskfdi_resolve): Likewise.
1320 (__floatsikf_resolve): Likewise.
1321 (__floatdikf_resolve): Likewise.
1322 (__floatunsikf_resolve): Likewise.
1323 (__floatundikf_resolve): Likewise.
1324 (__extendkftf2_resolve): Likewise.
1325 (__trunctfkf2_resolve): Likewise.
1326
1327 PR libgcc/83103
1328 * config/rs6000/quad-float128.h (TF): Don't define if long double
1329 is IEEE 128-bit floating point.
1330 (TCtype): Define as either TCmode or KCmode, depending on whether
1331 long double is IEEE 128-bit floating point.
1332 (__mulkc3_sw): Add declarations for software/hardware versions of
1333 complex multiply/divide.
1334 (__divkc3_sw): Likewise.
1335 (__mulkc3_hw): Likewise.
1336 (__divkc3_hw): Likewise.
1337 * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
1338 handlers to switch between using software emulation and hardware
1339 float128 instructions, build the complex multiply/divide functions
1340 for both software and hardware support.
1341 * config/rs6000/_divkc3.c (_divkc3): Likewise.
1342 * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
1343 (__divkc3_resolve): Likewise.
1344 (__mulkc3): Likewise.
1345 (__divkc3): Likewise.
1346 * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
1347 (fp128_hw_src): Likewise.
1348 (fp128_hw_static_obj): Likewise.
1349 (fp128_hw_shared_obj): Likewise.
1350 (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
1351 _mulkc3.c and _divkc3.c, changing the function name.
1352 (_divkc3-hw.c): Likewise.
1353 * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
1354 and _divkc3-hw.c.
1355
c234d831
UB
13562017-11-26 Julia Koval <julia.koval@intel.com>
1357
1358 * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
1359 * config/i386/cpuinfo.h (processor_subtypes): Add
1360 INTEL_COREI7_CANNONLAKE.
1361
1ebafce0
IT
13622017-11-20 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1363
1364 PR bootstrap/83015
1365 * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
1366 parameter.
1367 * config/xtensa/unwind-dw2-xtensa.c: Likewise
1368 * config/ia64/unwind-ia64.c: Add frames parameter.
1369 * unwind-sjlj.c: Likewise.
1370
6a10fff4
IT
13712017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1372
1373 * config/i386/linux-unwind.h: Include
1374 config/i386/shadow-stack-unwind.h.
1375 * config/i386/shadow-stack-unwind.h: New file.
1376 * unwind-dw2.c: (uw_install_context): Add a frame parameter and
1377 pass it to _Unwind_Frames_Extra.
1378 * unwind-generic.h (_Unwind_Frames_Extra): New.
1379 * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
1380 parameter. Add local variable frames to count number of frames.
1381 (_Unwind_ForcedUnwind_Phase2): Likewise.
1382 (_Unwind_RaiseException): Add local variable frames to count
1383 number of frames, pass it to _Unwind_RaiseException_Phase2 and
1384 uw_install_context.
1385 (_Unwind_ForcedUnwind): Likewise.
1386 (_Unwind_Resume): Likewise.
1387 (_Unwind_Resume_or_Rethrow): Likewise.
1388
1ecae1fc
IT
13892017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1390
1391 * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
1392 (CET_FLAGS): New.
1393 * config/i386/morestack.S: Include <cet.h>.
1394 (__morestack_large_model): Add _CET_ENDBR at function entrance.
1395 * config/i386/resms64.h: Include <cet.h>.
1396 * config/i386/resms64f.h: Likewise.
1397 * config/i386/resms64fx.h: Likewise.
1398 * config/i386/resms64x.h: Likewise.
1399 * config/i386/savms64.h: Likewise.
1400 * config/i386/savms64f.h: Likewise.
1401 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
1402 (CRTSTUFF_T_CFLAGS): Likewise.
1403 * configure.ac: Include ../config/cet.m4.
1404 Set and substitute CET_FLAGS.
1405 * configure: Regenerated.
1406
f021f1d3
RO
14072017-11-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1408
1409 * config.host (*-*-solaris2*): Adapt comment for Solaris 12
1410 renaming.
1411 * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
1412 * configure.ac (libgcc_cv_solaris_crts): Likewise.
1413 * configure: Regenerate.
1414
65f480c7
TV
14152017-11-07 Tom de Vries <tom@codesourcery.com>
1416
1417 * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
1418 after "do {} while (0)".
1419
2a321acb
TV
14202017-11-07 Tom de Vries <tom@codesourcery.com>
1421
1422 PR other/82784
1423 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
1424 semicolon after "do {} while (0)".
1425 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1426 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1427 * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1428 * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1429
59fcf6c3
AT
14302017-11-04 Andreas Tobler <andreast@gcc.gnu.org>
1431
1432 PR libgcc/82635
1433 * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
1434 sysctl to determine whether we're in a trampoline.
1435 Keep the pattern matching method for systems without
1436 KERN_PROC_SIGTRAMP sysctl.
1437
b0c7ddf8
CM
14382017-11-03 Cupertino Miranda <cmiranda@synopsys.com>
1439 Vineet Gupta <vgupta@synopsys.com>
1440
1441 * config.host (arc*-*-linux*): Set md_unwind_header variable.
1442 * config/arc/linux-unwind-reg.def: New file.
1443 * config/arc/linux-unwind-reg.h: Likewise.
1444
5feee954
SP
14452017-10-23 Sebastian Perta <sebastian.perta@renesas.com>
1446
1447 * config/rl78/subdi3.S: New assembly file.
1448 * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
1449
a0bf6cf7
SP
14502017-10-13 Sebastian Perta <sebastian.perta@renesas.com>
1451
1452 * config/rl78/adddi3.S: New assembly file.
1453 * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
1454
e7176f75
JJ
14552017-10-13 Jakub Jelinek <jakub@redhat.com>
1456
1457 PR target/82274
1458 * libgcc2.c (__mulvDI3): If both operands have
1459 the same highpart of -1 and the topmost bit of lowpart is 0,
1460 multiplication overflows even if both lowparts are 0.
1461
db6601d2
JB
14622017-09-28 James Bowman <james.bowman@ftdichip.com>
1463
1464 * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
1465
938b6f1e
JM
14662017-09-26 Joseph Myers <joseph@codesourcery.com>
1467
1468 * config/microblaze/crti.S, config/microblaze/crtn.S,
1469 config/microblaze/divsi3.S, config/microblaze/moddi3.S,
1470 config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
1471 config/microblaze/mulsi3.S,
1472 config/microblaze/stack_overflow_exit.S,
1473 config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
1474 config/pa/milli64.S: Add .note.GNU-stack section.
1475
89762a83
DS
14762017-09-23 Daniel Santos <daniel.santos@pobox.com>
1477
1478 * configure.ac: Add Check for HAVE_AS_AVX.
1479 * config.in: Regenerate.
1480 * configure: Likewise.
1481 * config/i386/i386-asm.h: Include auto-target.h from libgcc.
1482 (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
1483 Correct out-of-date comments.
1484
cace2309
SP
14852017-09-20 Sebastian Peryt <sebastian.peryt@intel.com>
1486
1487 * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
1488 * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
1489
3cb626e4
DS
14902017-09-17 Daniel Santos <daniel.santos@pobox.com>
1491
cace2309 1492 * config/i386/i386-asm.h (PASTE2): New macro.
3cb626e4
DS
1493 (ASMNAME): Modify to use PASTE2.
1494 (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
1495 (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
cace2309 1496 * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
3cb626e4 1497 instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
cace2309
SP
1498 * config/i386/resms64f.S: Likewise.
1499 * config/i386/resms64fx.S: Likewise.
1500 * config/i386/resms64x.S: Likewise.
1501 * config/i386/savms64.S: Likewise.
1502 * config/i386/savms64f.S: Likewise.
1503 * config/i386/avx_resms64.S: New file that only defines a macro and
3cb626e4 1504 includes it's corresponding header file.
cace2309
SP
1505 * config/i386/avx_resms64f.S: Likewise.
1506 * config/i386/avx_resms64fx.S: Likewise.
1507 * config/i386/avx_resms64x.S: Likewise.
1508 * config/i386/avx_savms64.S: Likewise.
1509 * config/i386/avx_savms64f.S: Likewise.
1510 * config/i386/sse_resms64.S: Likewise.
1511 * config/i386/sse_resms64f.S: Likewise.
1512 * config/i386/sse_resms64fx.S: Likewise.
1513 * config/i386/sse_resms64x.S: Likewise.
1514 * config/i386/sse_savms64.S: Likewise.
1515 * config/i386/sse_savms64f.S: Likewise.
1516 * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
3cb626e4 1517
2f19c491 15182017-09-01 Olivier Hainque <hainque@adacore.com>
2f19c491
OH
1519 * config.host (*-*-vxworks7): Widen scope to vxworks7*.
1520
611e7036
OH
15212017-08-31 Olivier Hainque <hainque@adacore.com>
1522
1523 * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
1524 match as powerpc-wrs-vxworks*.
1525
c8f34527
JY
15262017-08-07 Jonathan Yong <10walls@gmail.com>
1527
1528 * config.host (*-cygwin): Include file from mingw
1529 config/i386/enable-execute-stack-mingw32.c
1530
0b458d2b 15312017-08-01 Jerome Lambourg <lambourg@adacore.com>
92a285c1
ML
1532 Doug Rupp <rupp@adacore.com>
1533 Olivier Hainque <hainque@adacore.com>
0b458d2b
JL
1534
1535 * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
1536 as well as arm-wrs-vxworks.
1537 * config/arm/t-vxworks7: New file. Add unwind-arm-vxworks.c to
1538 LIB2ADDEH.
1539 * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
1540 __exidx_start and __exidx_end for downloadable modules.
1541
4df612fa
OH
15422017-08-01 Olivier Hainque <hainque@adacore.com>
1543
1544 * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
1545 * config/t-vxworks7: Likewise.
1546
5560e8c0
OH
15472017-08-01 Olivier Hainque <hainque@adacore.com>
1548
1549 * config/t-vxworks: Instead of redefining LIB2ADD,
1550 augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
1551
16bab95a
SH
15522017-07-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1553
1554 * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
1555
9cbc07cc
DS
15562017-07-24 Daniel Santos <daniel.santos@pobox.com>
1557
1558 PR testsuite/80759
1559 * config.host: include i386/t-msabi for darwin and solaris.
1560 * config/i386/i386-asm.h
1561 (ELFFN): Rename to FN_TYPE.
1562 (FN_SIZE): New macro.
1563 (FN_HIDDEN): Likewise.
1564 (ASMNAME): Likewise.
1565 (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
1566 .globl.
1567 (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
1568 (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
1569 * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
1570 .macro.
1571 * config/i386/resms64f.S: Likewise.
1572 * config/i386/resms64fx.S: Likewise.
1573 * config/i386/resms64x.S: Likewise.
1574 * config/i386/savms64.S: Likewise.
1575 * config/i386/savms64f.S: Likewise.
1576
de742204
JM
15772017-07-19 John Marino <gnugcc@marino.st>
1578
1579 * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
1580
3787ee47
MM
15812017-07-12 Michael Meissner <meissner@linux.vnet.ibm.com>
1582
1583 PR target/81193
1584 * configure.ac (PowerPC float128 hardware support): Test whether
1585 we can use __builtin_cpu_supports before enabling the ifunc
1586 handler.
1587 * configure: Regenerate.
1588
b1938888
VG
15892017-07-10 Vineet Gupta <vgupta@synopsys.com>
1590
1591 * config.host: Remove uclibc from arc target spec.
1592
bec75e53
KW
15932017-07-09 Krister Walfridsson <krister.walfridsson@gmail.com>
1594
1595 * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
1596
d4391a62
PB
15972017-07-07 Peter Bergner <bergner@vnet.ibm.com>
1598
1599 * config/rs6000/float128-ifunc.c: Don't include auxv.h.
1600 (have_ieee_hw_p): Delete function.
1601 (SW_OR_HW) Use __builtin_cpu_supports().
1602
9296dd9b
TP
16032017-07-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
1604
1605 * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
1606
b85a969e
OH
16072017-07-03 Olivier Hainque <hainque@adacore.com>
1608
d4391a62 1609 * config/t-vxworks7: New file, really.
b85a969e 1610
883312dc
JM
16112017-06-28 Joseph Myers <joseph@codesourcery.com>
1612
1613 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
1614 config/alpha/linux-unwind.h (alpha_fallback_frame_state),
1615 config/bfin/linux-unwind.h (bfin_fallback_frame_state),
1616 config/i386/linux-unwind.h (x86_64_fallback_frame_state,
1617 x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
1618 uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
1619 config/pa/linux-unwind.h (pa32_fallback_frame_state),
1620 config/riscv/linux-unwind.h (riscv_fallback_frame_state),
1621 config/sh/linux-unwind.h (sh_fallback_frame_state),
1622 config/tilepro/linux-unwind.h (tile_fallback_frame_state),
1623 config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
1624 ucontext_t instead of struct ucontext.
1625
50567938
JL
16262017-06-27 Jerome Lambourg <lambourg@adacore.com>
1627
1628 * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
1629 (x86_64-wrs-vxworks7): Likewise.
1630
e4b0df93
OH
16312017-06-27 Olivier Hainque <hainque@adacore.com>
1632
1633 * config/t-vxworks7: New file.
1634 * config.host (*-*-vxworks7): Use it.
1635
60edf8bb
MT
16362017-06-22 Matt Turner <mattst88@gmail.com>
1637
1638 * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
1639 skylake case.
1640
a51a76e5
RB
16412017-06-21 Richard Biener <rguenther@suse.de>
1642
1643 PR gcov-profile/81080
1644 * configure.ac: Add AC_SYS_LARGEFILE.
1645 * libgcov.h: Include auto-target.h before tsystem.h to pick
1646 up _FILE_OFFSET_BITS which might differ for multilibs.
1647 * config.in: Regenerate.
1648 * configure: Likewise.
1649
f0cd49c5
RE
16502017-06-16 Richard Earnshaw <rearnsha@arm.com>
1651
1652 * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
1653
4f751c54
ML
16542017-06-09 Martin Liska <mliska@suse.cz>
1655
1656 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
1657 Reset __gcov_indirect_call_callee to NULL.
1658
1ac644c8
OH
16592017-06-08 Olivier Hainque <hainque@adacore.com>
1660
1661 * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
1662 the set of -I options, support for direct inclusions of net/uio.h
1663 by VxWorks header files via ioLib.h.
1664
d8b9cd27
TR
16652017-06-07 Tony Reix <tony.reix@atos.net>
1666 Matthieu Sarter <matthieu.sarter.external@atos.net>
1667 David Edelsohn <dje.gcc@gmail.com>
1668
92a285c1
ML
1669 * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
1670 unconditionally.
1671 (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support. Add 32-bit
1672 AIX 7.2 support.
d8b9cd27 1673
38a75ccc
OH
16742017-06-02 Olivier Hainque <hainque@adacore.com>
1675
1676 * config/vxlib.c (__gthread_once): Add missing value to
1677 return statement.
1678
5b2edf53
OH
16792017-05-30 Olivier Hainque <hainque@adacore.com>
1680
1681 * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
1682 dollar sign before $(MULTIDIR).
1683
7d66e265
RH
16842017-05-26 Richard Henderson <rth@redhat.com>
1685
1686 PR libgcc/80037
1687 * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
1688
78eca309
AT
16892017-05-17 Andreas Tobler <andreast@gcc.gnu.org>
1690
1691 * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
1692 _Unwind_SetIP available as functions for arm*-*-freebsd*.
1693 * config/arm/unwind-arm.c: Implement the above.
1694
c39d309a
AZ
16952017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1696
1697 * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
1698 section for a non-executable stack.
1699
eac8c9f2
KW
17002017-05-14 Krister Walfridsson <krister.walfridsson@gmail.com>
1701
1702 PR target/80600
1703 * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
1704
d6d4d770
DS
17052017-05-14 Daniel Santos <daniel.santos@pobox.com>
1706
1707 * config.host: Add i386/t-msabi to i386/t-linux file list.
1708 * config/i386/i386-asm.h: New file.
1709 * config/i386/resms64.S: New file.
1710 * config/i386/resms64f.S: New file.
1711 * config/i386/resms64fx.S: New file.
1712 * config/i386/resms64x.S: New file.
1713 * config/i386/savms64.S: New file.
1714 * config/i386/savms64f.S: New file.
1715 * config/i386/t-msabi: New file.
1716
8ef2b9a7
AT
17172017-05-09 Andreas Tobler <andreast@gcc.gnu.org>
1718
1719 * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
1720 arm*-*-freebsd* instead of the t-slibgcc-libgcc.
1721
7ab8766a
JC
17222017-05-05 Joshua Conner <joshconner@google.com>
1723
1724 * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
1725 pc-relative indirect handling for fuchsia.
1726 * config/t-slibgcc-fuchsia: New file.
1727 * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
d6d4d770 1728 x86_64-*-fuchsia*): Add definitions.
7ab8766a 1729
46928a8f
ML
17302017-04-19 Martin Liska <mliska@suse.cz>
1731
1732 PR gcov-profile/80435
1733 * Makefile.in: Install gcov.h.
1734 * gcov.h: New file.
1735 * libgcov.h: Use the header and make __gcov_flush publicly
1736 visible.
1737
63971184
ML
17382017-04-18 Martin Liska <mliska@suse.cz>
1739
1740 PR gcov-profile/78783
1741 * libgcov-driver.c (gcov_get_filename): New function.
1742
29d8aae6
JL
17432017-04-07 Jeff Law <law@redhat.com>
1744
1745 * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
1746 target makefile fragment.
1747 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
1748
2bdf7fc6
AM
17492017-04-07 Alan Modra <amodra@gmail.com>
1750
1751 PR target/45053
1752 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
1753
5764ee3c
JW
17542017-04-03 Jonathan Wakely <jwakely@redhat.com>
1755
1756 * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
1757
c4192ad7
CZ
17582017-03-27 Claudiu Zissulescu <claziss@synopsys.com>
1759
1760 * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
1761
4ccfdb28
JM
17622017-03-10 John Marino <gnugcc@marino.st>
1763
1764 * config/aarch64/freebsd-unwind.h: New file.
1765 * config.host: Add aarch64-*-freebsd unwinder.
1766
4144e4e3
SB
17672017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
1768
1769 * config/rs6000/crtrestvr.s: Use .machine altivec.
1770 * config/rs6000/crtsavevr.s: Ditto.
1771
7502c597
SB
17722017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
1773
1774 * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
1775 modify CFLAGS. Add -mabi=altivec -mvsx -mfloat128.
1776 (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
1777 -mfloat128-hardware to the CFLAGS. Fix syntax error in the C snippet.
1778 * configure: Regenerate.
1779 * config.in: Regenerate.
1780
db9f7f65
JY
17812017-03-02 Jonathan Yong <10walls@gmail.com>
1782
1783 * config/i386/gthr-win32.h: Define NOGDI before
1784 windows.h include to prevent w32api CC_NONE macro
1785 clash with libgfortran.
1786
126437c5
JY
17872017-03-02 Jonathan Yong <10walls@gmail.com>
1788
1789 * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
1790
31927af6
AP
17912017-02-16 Andrew Pinski <apinski@cavium.com>
1792
1793 * config/aarch64/value-unwind.h: New file.
1794 * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
1795 to tm_file.
1796
0bd99911
PD
17972017-02-06 Palmer Dabbelt <palmer@dabbelt.com>
1798
1799 * config.host: Add RISC-V tuples.
1800 * config/riscv/atomic.c: New file.
1801 * config/riscv/crti.S: Likewise.
1802 * config/riscv/crtn.S: Likewise.
1803 * config/riscv/div.S: Likewise.
1804 * config/riscv/linux-unwind.h: Likewise.
1805 * config/riscv/muldi3.S: Likewise.
1806 * config/riscv/multi3.S: Likewise.
1807 * config/riscv/save-restore.S: Likewise.
1808 * config/riscv/sfp-machine.h: Likewise.
1809 * config/riscv/t-elf: Likewise.
1810 * config/riscv/t-elf32: Likewise.
1811 * config/riscv/t-elf64: Likewise.
1812 * config/riscv/t-softfp32: Likewise.
1813 * config/riscv/t-softfp64: Likewise.
1814
a8c9ef2a
JJ
18152017-01-24 Jakub Jelinek <jakub@redhat.com>
1816
1817 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
1818 /* FALLTHRU */ comments.
1819
c6c82710
GP
18202017-01-21 Gerald Pfeifer <gerald@pfeifer.com>
1821
1822 * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
1823
a876231c
JW
18242017-01-20 Jiong Wang <jiong.wang@arm.com>
1825
1826 * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
1827 * unwind-dw2.c (execute_cfa_program): Only multiplexing
1828 DW_CFA_GNU_window_save for AArch64 and LP64.
1829
aa348be2
JW
18302017-01-20 Jiong Wang <jiong.wang@arm.com>
1831
1832 * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
1833
5636faf2
JW
18342017-01-19 Jiong Wang <jiong.wang@arm.com>
1835
1836 * config/aarch64/aarch64-unwind.h: New file.
1837 (DWARF_REGNUM_AARCH64_RA_STATE): Define.
1838 (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
1839 (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
1840 (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
1841 (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
1842 (aarch64_post_extract_frame_addr): New function.
1843 (aarch64_post_frob_eh_handler_addr): New function.
1844 (aarch64_frob_update_context): New function.
1845 * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
1846 * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
1847 aarch64*-*-freebsd*):
1848 Initialize md_unwind_header to include aarch64-unwind.h.
1849 * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
1850 (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
1851 __aarch64__.
1852 (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
1853 (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
1854 (uw_frob_return_addr): New function.
1855 (uw_install_context): Use uw_frob_return_addr.
1856
3c36aa6b
JJ
18572017-01-17 Jakub Jelinek <jakub@redhat.com>
1858
1859 PR other/79046
1860 * configure.ac: Add GCC_BASE_VER.
1861 * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
1862 version from BASE-VER file.
1863 * configure: Regenerated.
1864
829afb8f
JS
18652017-01-13 Joe Seymour <joe.s@somniumtech.com>
1866
1867 * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
1868 libmul_f5.a): Filter archived prerequisites.
1869
79fc8ffe
AS
18702017-01-10 Andrew Senkevich <andrew.senkevich@intel.com>
1871
1872 * config/i386/cpuinfo.h (processor_features): Add
1873 FEATURE_AVX512VPOPCNTDQ.
1874 * config/i386/cpuinfo.c (get_available_features): Habdle new
1875 feature.
1876
fec5f4e0
JM
18772017-01-04 Joseph Myers <joseph@codesourcery.com>
1878
1879 * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
1880 payload if [__mips_nan2008].
1881
8f56cb51
AM
18822017-01-04 Alan Modra <amodra@gmail.com>
1883
1884 * Makefile.in (configure_deps): Update.
1885 * configure: Regenerate.
1886
cbe34bb5
JJ
18872017-01-01 Jakub Jelinek <jakub@redhat.com>
1888
1889 Update copyright years.
1890
ab955692
KW
18912016-12-19 Krister Walfridsson <krister.walfridsson@gmail.com>
1892
1893 * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
1894 * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
1895 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
1896
de34320f
MK
18972016-12-17 Matthias Klose <doko@ubuntu.com>
1898
1899 * config/arc/gmon: Remove empty directory.
1900
e04ea1da
CZ
19012016-12-16 Claudiu Zissulescu <claziss@synopsys.com>
1902
1903 * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
1904 crtgend.
1905 (arc*-*-elf*): Likewise.
1906 * config/arc/t-arc: Remove old gmon lib targets.
1907 * config/arc/crtg.S: Remove.
1908 * config/arc/crtgend.S: Likewise.
1909 * config/arc/gmon/atomic.h: Likewise.
1910 * config/arc/gmon/auxreg.h: Likewise.
1911 * config/arc/gmon/dcache_linesz.S: Likewise.
1912 * config/arc/gmon/gmon.c: Likewise.
1913 * config/arc/gmon/machine-gmon.h: Likewise.
1914 * config/arc/gmon/mcount.c: Likewise.
1915 * config/arc/gmon/prof-freq-stub.S: Likewise.
1916 * config/arc/gmon/prof-freq.c: Likewise.
1917 * config/arc/gmon/profil.S: Likewise.
1918 * config/arc/gmon/sys/gmon.h: Likewise.
1919 * config/arc/gmon/sys/gmon_out.h: Likewise.
1920 * config/arc/t-arc-newlib: Likewise.
1921 * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
1922
8ae1c2c1
GS
19232016-12-12 George Spelvin <linux@sciencehorizons.net>
1924
1925 * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
1926
a5b947fa
GS
19272016-12-12 George Spelvin <linux@sciencehorizons.net>
1928
1929 * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
1930 R16 instead of push + pop.
1931 (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
1932
d6574dd1
KW
19332016-12-10 Krister Walfridsson <krister.walfridsson@gmail.com>
1934
1935 * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
1936 tmake_file.
1937
62440b4f
CM
19382016-12-05 Cupertino Miranda <cmiranda@synopsys.com>
1939
1940 * config.host (arc*-*-linux-uclibc*): Use default extra
1941 objects. Include linux-android header.
1942 * config/arc/crti.S (_init): Declare symbol as function.
1943 (_fini): Likewise.
1944
31cfd832
TK
19452016-12-03 Thomas Koenig <tkoenig@gcc.gnu.org>
1946
1947 PR fortran/78379
1948 * config/i386/cpuinfo.c: Move denums for processor vendors,
1949 processor type, processor subtypes and declaration of
1950 struct __processor_model into
1951 * config/i386/cpuinfo.h: New header file.
1952
c92e08e3
AV
19532016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
1954 Thomas Preud'homme <thomas.preudhomme@arm.com>
1955
1956 * config/arm/cmse_nonsecure_call.S: New.
1957 * config/arm/t-arm: Compile cmse_nonsecure_call.S
1958
de7b5723
AV
19592016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
1960 Thomas Preud'homme <thomas.preudhomme@arm.com>
1961
1962 * config/arm/t-arm (HAVE_CMSE): New.
1963 * config/arm/cmse.c: New.
1964
7a0d2bce
TP
19652016-11-28 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
1966
b3a5bff4
TP
1967 PR gcc/74748
1968 * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
1969 use generic linker version information on Blackfin.
1970
7a0d2bce
TP
1971 PR gcc/74748
1972 * libgcc/mkmap-symver.awk: add support for skip_underscore
1973
b410cf1d
IS
19742016-11-27 Iain Sandoe <iain@codesourcery.com>
1975 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1976
1977 PR target/67710
1978 * config/t-darwin: Default builds to 10.5 codegen.
1979
2e5f8203
JG
19802016-11-24 James Greenhalgh <james.greenhalgh@arm.com>
1981
1982 * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
1983 (_FP_NANSIGN_H): Likewise.
1984 * config/aarch64/t-softfp (softfp_extensions): Add hftf.
1985 (softfp_truncations): Add tfhf.
1986 (softfp_extras): Add required conversion functions.
1987
bea64ca3
JG
19882016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
1989 Matthew Wahab <matthew.wahab@arm.com>
1990
1991 * config/arm/fp16.c (binary64): New.
1992 (__gnu_d2h_internal): New.
1993 (__gnu_d2h_ieee): New.
1994 (__gnu_d2h_alternative): New.
1995
8630cadb
JG
19962016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
1997 Matthew Wahab <matthew.wahab@arm.com>
1998
1999 * config/arm/fp16.c (struct format): New.
2000 (binary32): New.
2001 (__gnu_float2h_internal): New. Body moved from
2002 __gnu_f2h_internal and generalize.
2003 (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
2004 Call it with binary32.
2005
5823ef23
JG
20062016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
2007
2008 * soft-fp/extendhftf2.c: Update from glibc.
2009 * soft-fp/fixhfti.c: Likewise.
2010 * soft-fp/fixunshfti.c: Likewise.
2011 * soft-fp/floattihf.c: Likewise.
2012 * soft-fp/floatuntihf.c: Likewise.
2013 * soft-fp/half.h: Likewise.
2014 * soft-fp/trunctfhf2.c: Likewise.
2015
62a7df9f
MG
20162016-11-20 Marc Glisse <marc.glisse@inria.fr>
2017
2018 PR libgcc/77813
2019 * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
2020 __TMC_END__ behind a passthrough asm.
2021
7a384912
WL
20222016-11-18 Walter Lee <walt@tilera.com>
2023
62a7df9f 2024 * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
7a384912 2025
9775c1a5
L
20262016-11-17 Andrew Senkevich <andrew.senkevich@intel.com>
2027
2028 * config/i386/cpuinfo.c (processor_features): Add
2029 FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
2030
48c842ab
CZ
20312016-11-17 Claudiu Zissulescu <claziss@synopsys.com>
2032
2033 * config/arc/dp-hack.h (ARC_OPTFPE): Define.
2034 (__ARC_NORM__): Use instead ARC_OPTFPE.
2035 * config/arc/fp-hack.h: Likewise.
2036 * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
2037 (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
2038
5012919d
AM
20392016-11-16 Alexander Monakov <amonakov@ispras.ru>
2040
2041 * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
2042 * config/nvptx/mgomp.c: New file.
2043 * config/nvptx/t-nvptx: Add mgomp.c
2044
00178b98
WB
20452016-11-16 Waldemar Brodkorb <wbx@openadk.org>
2046
2047 PR libgcc/68468
2048 * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
2049
d64af69f
CZ
20502016-11-15 Claudiu Zissulescu <claziss@synopsys.com>
2051
2052 * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
2053 of checking for cpus.
2054 (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
2055 (__modsi3, __clzsi2): Likewise.
2056
9d8f95de
SN
20572016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
2058
2059 * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
2060 i386/t-cpuinfo-static instead of i386/t-cpuinfo.
2061 * config/i386/t-cpuinfo-static: New.
2062
7d29f8e3
ML
20632016-11-03 Martin Liska <mliska@suse.cz>
2064
2065 * libgcov-profiler.c (__gcov_time_profiler): Remove.
2066 (__gcov_time_profiler_atomic): Likewise.
2067
5de3e2d8
BE
20682016-11-03 Bernd Edlinger <bernd.edlinger@hotmail.de>
2069
2070 PR libgcc/78067
2071 * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
2072 count_leading_zeros.
2073
18362447
UB
20742016-11-02 Uros Bizjak <ubizjak@gmail.com>
2075
2076 * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
2077 * libgcc2.c (__divmoddi4): New function.
2078 * libgcc2.h (__divmoddi4): Declare.
2079 * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
2080 and __PFX_divmodti4.
2081
33107571
FW
20822016-10-24 Florian Weimer <fweimer@redhat.com>
2083
2084 PR libgcc/78064
2085 * unwind-c.c: Include auto-target.h.
2086
4c6d7494
JDA
20872016-10-19 John David Anglin <danglin@gcc.gnu.org>
2088
18362447 2089 * config/pa/pa64-hpux-lib.h: New file.
4c6d7494
JDA
2090 (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
2091 (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
2092 * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
2093 hppa*64*-*-hpux11*.
2094
2a26adf1
MF
20952016-10-18 Max Filippov <jcmvbkbc@gmail.com>
2096
2097 * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
2098 definition.
2099 * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
2100 definition.
2101 * config/xtensa/t-windowed (LIB2ADDEH): Use
2102 LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
2103 or xtensa/t-linux.
2104
66192aa1
DKC
21052016-10-18 Ding-Kai Chen <dkchen@cadence.com>
2106
2107 * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
2108 __ieee754_sqrt): New functions.
2109 (__divdf3): Add implementation with new FPU instructions under
2110 #if XCHAL_HAVE_DFP_DIV.
2111 * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
2112 __ieee754_sqrtf): New functions.
2113 (__divsf3): Add implementation with new FPU instructions under
2114 #if XCHAL_HAVE_FP_DIV.
2115 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
2116 _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
2117
4d0cdd0c
TP
21182016-10-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
2119
2120 * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
2121 equivalent.
2122 * config/tilepro/atomic.c: Likewise and stop casting model to
2123 enum memmodel.
2124
73f01cca
JM
21252016-10-10 Joseph Myers <joseph@codesourcery.com>
2126
2127 PR target/77586
2128 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
2129 soft-fp.
2130
b20e7532
AT
21312016-10-10 Andreas Tobler <andreast@gcc.gnu.org>
2132
2133 * config.host: Add support for aarch64-*-freebsd*.
2134
a786cec4
AS
21352016-10-05 Andreas Schwab <schwab@suse.de>
2136
2137 * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
2138 (.section .init_array): Don't call __do_jv_register_classes.
2139 (.section .init): Likewise.
2140
5a79befb
JJ
21412016-10-04 Jakub Jelinek <jakub@redhat.com>
2142
2143 * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
2144 (__JCR_LIST__): Remove.
2145 (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
2146 * config/i386/cygming-crtend.c (__JCR_END__): Remove.
2147 * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
2148 * config/ia64/crtend.S (__JCR_END__): Remove.
2149 * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
2150 conditionals.
2151 (__JCR_LIST__, __JCR_END__): Remove.
2152 (frame_dummy): Don't attempt to _Jv_RegisterClasses.
2153 (__do_global_ctors_1): Likewise.
2154
e0ab3753
UB
21552015-09-28 Uros Bizjak <ubizjak@gmail.com>
2156
2157 * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
2158 (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
2159
8c9434c2
ML
21602016-09-27 Martin Liska <mliska@suse.cz>
2161
2162 PR gcov-profile/7970
2163 PR gcov-profile/16855
2164 PR gcov-profile/44779
2165 * libgcov-driver.c (__gcov_init): Do not register a atexit
2166 handler.
2167 (__gcov_exit): Rename from gcov_exit.
2168 * libgcov.h (__gcov_exit): Declare.
2169
56b653f1
ML
21702016-09-27 Martin Liska <mliska@suse.cz>
2171
2172 PR bootstrap/77749
2173 * Makefile.in: Remove _gcov_merge_delta.
2174 * libgcov-merge.c (void __gcov_merge_delta): Remove.
2175 * libgcov-util.c (__gcov_delta_counter_op): Remove.
2176 * libgcov.h: Remove declaration of __gcov_merge_delta.
2177
7e02fd1b
EB
21782016-09-21 Eric Botcazou <ebotcazou@adacore.com>
2179
2180 * configure.ac: Do not create links, only substitute the filenames.
2181 * configure: Regenerate.
2182 * Makefile.in: Assign the substitution results to variables.
2183 (LIBGCC_LINKS): Define.
2184 (enable-execute-stack.c): New rule.
2185 (unwind.h): Likewise.
2186 (md-unwind-support.h): Likewise.
2187 (sfp-machine.h): Likewise.
2188 (gthr-default.h): Likewise.
2189 Add $(LIBGCC_LINKS) to the prerequisites of all object files and
2190 unwind.h as prerequisite of install-unwind_h-forbuild.
2191
29991048
JJ
21922016-09-16 Jakub Jelinek <jakub@redhat.com>
2193
2194 PR libgcc/71744
2195 * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
2196 is not the primary registry and atomics are available.
2197 (any_objects_registered): New variable.
2198 (__register_frame_info_bases, __register_frame_info_table_bases):
2199 Atomically store 1 to any_objects_registered after registering first
2200 unwind info.
2201 (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
2202
0abcd6cc
JG
22032016-09-09 James Greenhalgh <james.greenhalgh@arm.com>
2204
2205 PR target/63250
2206 * Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
2207 * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
2208 (HFtype): Likewise.
2209 (HCtype): Likewise.
2210 (__divhc3): Likewise.
2211 (__mulhc3): Likewise.
2212 * libgcc2.c: Support _mulhc3 and _divhc3.
2213
d758aeb5
JM
22142016-09-07 Joseph Myers <joseph@codesourcery.com>
2215
2216 PR libgcc/77519
2217 * libgcc2.c (NOTRUNC): Invert settings.
2218
7fe76f6a
ML
22192016-09-06 Martin Liska <mliska@suse.cz>
2220
2221 PR gcov-profile/77378
2222 PR gcov-profile/77466
2223 * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
2224 conditionaly enable/disable *_atomic functions.
2225
21184026
JM
22262016-08-26 Joseph Myers <joseph@codesourcery.com>
2227
2228 * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
2229 where not already enabled.
2230
726f49c3
SN
22312016-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
2232
2233 * config/mips/linux-unwind.h: Use sys/syscall.h.
2234
feeb6268
JM
22352016-08-16 Joseph Myers <joseph@codesourcery.com>
2236
2237 PR libgcc/77265
2238 * soft-fp/adddf3.c: Update from glibc.
2239 * soft-fp/addsf3.c: Likewise.
2240 * soft-fp/addtf3.c: Likewise.
2241 * soft-fp/divdf3.c: Likewise.
2242 * soft-fp/divsf3.c: Likewise.
2243 * soft-fp/divtf3.c: Likewise.
2244 * soft-fp/double.h: Likewise.
2245 * soft-fp/eqdf2.c: Likewise.
2246 * soft-fp/eqsf2.c: Likewise.
2247 * soft-fp/eqtf2.c: Likewise.
2248 * soft-fp/extenddftf2.c: Likewise.
2249 * soft-fp/extended.h: Likewise.
2250 * soft-fp/extendsfdf2.c: Likewise.
2251 * soft-fp/extendsftf2.c: Likewise.
2252 * soft-fp/extendxftf2.c: Likewise.
2253 * soft-fp/fixdfdi.c: Likewise.
2254 * soft-fp/fixdfsi.c: Likewise.
2255 * soft-fp/fixdfti.c: Likewise.
2256 * soft-fp/fixsfdi.c: Likewise.
2257 * soft-fp/fixsfsi.c: Likewise.
2258 * soft-fp/fixsfti.c: Likewise.
2259 * soft-fp/fixtfdi.c: Likewise.
2260 * soft-fp/fixtfsi.c: Likewise.
2261 * soft-fp/fixtfti.c: Likewise.
2262 * soft-fp/fixunsdfdi.c: Likewise.
2263 * soft-fp/fixunsdfsi.c: Likewise.
2264 * soft-fp/fixunsdfti.c: Likewise.
2265 * soft-fp/fixunssfdi.c: Likewise.
2266 * soft-fp/fixunssfsi.c: Likewise.
2267 * soft-fp/fixunssfti.c: Likewise.
2268 * soft-fp/fixunstfdi.c: Likewise.
2269 * soft-fp/fixunstfsi.c: Likewise.
2270 * soft-fp/fixunstfti.c: Likewise.
2271 * soft-fp/floatdidf.c: Likewise.
2272 * soft-fp/floatdisf.c: Likewise.
2273 * soft-fp/floatditf.c: Likewise.
2274 * soft-fp/floatsidf.c: Likewise.
2275 * soft-fp/floatsisf.c: Likewise.
2276 * soft-fp/floatsitf.c: Likewise.
2277 * soft-fp/floattidf.c: Likewise.
2278 * soft-fp/floattisf.c: Likewise.
2279 * soft-fp/floattitf.c: Likewise.
2280 * soft-fp/floatundidf.c: Likewise.
2281 * soft-fp/floatundisf.c: Likewise.
2282 * soft-fp/floatunditf.c: Likewise.
2283 * soft-fp/floatunsidf.c: Likewise.
2284 * soft-fp/floatunsisf.c: Likewise.
2285 * soft-fp/floatunsitf.c: Likewise.
2286 * soft-fp/floatuntidf.c: Likewise.
2287 * soft-fp/floatuntisf.c: Likewise.
2288 * soft-fp/floatuntitf.c: Likewise.
2289 * soft-fp/gedf2.c: Likewise.
2290 * soft-fp/gesf2.c: Likewise.
2291 * soft-fp/getf2.c: Likewise.
2292 * soft-fp/ledf2.c: Likewise.
2293 * soft-fp/lesf2.c: Likewise.
2294 * soft-fp/letf2.c: Likewise.
2295 * soft-fp/muldf3.c: Likewise.
2296 * soft-fp/mulsf3.c: Likewise.
2297 * soft-fp/multf3.c: Likewise.
2298 * soft-fp/negdf2.c: Likewise.
2299 * soft-fp/negsf2.c: Likewise.
2300 * soft-fp/negtf2.c: Likewise.
2301 * soft-fp/op-1.h: Likewise.
2302 * soft-fp/op-2.h: Likewise.
2303 * soft-fp/op-4.h: Likewise.
2304 * soft-fp/op-8.h: Likewise.
2305 * soft-fp/op-common.h: Likewise.
2306 * soft-fp/quad.h: Likewise.
2307 * soft-fp/single.h: Likewise.
2308 * soft-fp/soft-fp.h: Likewise.
2309 * soft-fp/subdf3.c: Likewise.
2310 * soft-fp/subsf3.c: Likewise.
2311 * soft-fp/subtf3.c: Likewise.
2312 * soft-fp/truncdfsf2.c: Likewise.
2313 * soft-fp/trunctfdf2.c: Likewise.
2314 * soft-fp/trunctfsf2.c: Likewise.
2315 * soft-fp/trunctfxf2.c: Likewise.
2316 * soft-fp/unorddf2.c: Likewise.
2317 * soft-fp/unordsf2.c: Likewise.
2318 * soft-fp/unordtf2.c: Likewise.
2319
2e6fc1ac
GG
23202016-08-15 Gilles Gouaillardet <gilles.gouaillardet@gmail.com>
2321
2322 PR gcov-profile/67097
2323 * libgcov-util.c (gcov_profile_merge): Skip missing files.
2324
a266236e
ML
23252016-08-10 Martin Liska <mliska@suse.cz>
2326
2327 PR gcov-profile/58306
2328 * Makefile.in: New functions (modules) are added.
2329 * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
2330 function.
2331 (__gcov_pow2_profiler_atomic): New function.
2332 (__gcov_one_value_profiler_body): New argument is instroduced.
2333 (__gcov_one_value_profiler): Call with the new argument.
2334 (__gcov_one_value_profiler_atomic): Likewise.
2335 (__gcov_indirect_call_profiler_v2): Likewise.
2336 (__gcov_time_profiler_atomic): New function.
2337 (__gcov_average_profiler_atomic): Likewise.
2338 (__gcov_ior_profiler_atomic): Likewise.
2339 * libgcov.h: Declare the aforementioned functions.
2340
e0c8eebf
ML
23412016-08-09 Martin Liska <mliska@suse.cz>
2342
2343 * libgcov-util.c: Fix typo and GNU coding style.
2344
6dce6418
ML
23452016-08-09 Martin Liska <mliska@suse.cz>
2346
2347 * Makefile.in: Remove __gcov_indirect_call_profiler.
2348 * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
2349 function.
2350 * libgcov.h: And the declaration of the function.
2351
dcb1e137
ML
23522016-08-09 Martin Liska <mliska@suse.cz>
2353
2354 * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
2355 power of two.
2356
d6e69705
BS
23572016-07-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
2358
2359 * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
2360 * config/rs6000/_mulkc3.c: Likewise.
2361
96aa1f95
GJL
23622016-07-29 Georg-Johann Lay <avr@gjlay.de>
2363
2364 * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
2365 zero_reg as previous call to __umulhisi3 already cleared it.
2366
a1b01d34
AJ
23672016-07-21 Aurelien Jarno <aurelien@aurel32.net>
2368
2369 PR target/59833
2370 * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
2371
985a47b2
NC
23722016-07-19 Nick Clifton <nickc@redhat.com>
2373
2374 * config.host (m32r): Add m32r/t-m32r to tmake_file.
2375 Add crtinit.o and crtfini.o to extra_parts.
2376
f906f5ed
BS
23772016-07-12 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
2378
2379 * config/rs6000/_divkc3.c: New.
2380 * config/rs6000/_mulkc3.c: New.
2381 * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
2382 and _divkc3.
2383 * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
2384 fp128_ppc_funcs.
2385
82742404
HW
23862016-07-11 Hale Wang <hale.wang@arm.com>
2387 Andre Vieira <andre.simoesdiasvieira@arm.com>
2388
2389 * config/arm/lib1funcs.S: Add new wrapper.
2390
05a437c1
TP
23912016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
2392
2393 * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
2394
3d16d9ec
TP
23952016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
2396
2397 * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
2398 and ARMv5t* rather than for a fixed list of architectures.
2399
6f493951
TP
24002016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
2401
2402 * config/arm/bpabi-v6m.S: Clarify what architectures is the
2403 implementation suitable for.
2404 * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
2405 for all Thumb-1 only targets.
2406 (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
2407 (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
2408 __ARM_ARCH_6M__.
2409 (EQUIV): Likewise.
2410 (ARM_FUNC_ALIAS): Likewise.
2411 (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
2412 version.
2413 (modsi3): Likewise.
2414 (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
2415 (clzdi2): Likewise.
2416 (ctzsi2): Likewise.
2417 (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
2418 __ARM_ARCH_6M__ in guard for checking whether it is defined.
2419 (final includes): Test for NOT_ISA_TARGET_32BIT rather than
2420 __ARM_ARCH_6M__ and add comment to indicate the connection between
2421 this condition and the one in gcc/config/arm/elf.h.
2422 * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
2423 __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
2424 * config/arm/t-softfp: Likewise.
2425
1770511a
TS
24262016-07-06 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2427
2428 * libgcc2.c (SYMBOL__MAIN): Remove checks for
2429 CTOR_LISTS_DEFINED_EXTERNALLY.
2430
ba6be749
WL
24312016-06-28 Walter Lee <walt@tilera.com>
2432
2433 * config/tilepro/atomic.h: Do not include arch/spr_def.h and
2434 asm/unistd.h.
2435 (SPR_CMPEXCH_VALUE): Define for tilegx.
2436 (__NR_FAST_cmpxchg): Define for tilepro.
2437 (__NR_FAST_atomic_update): Define for tilepro.
2438 (__NR_FAST_cmpxchg64): Define for tilepro.
2439
a34c0db5
JS
24402016-06-23 Jakub Sejdak <jakub.sejdak@phoesys.com>
2441
18362447 2442 * config.host: Add suport for arm*-*-phoenix* targets.
a34c0db5 2443
0609abda
TS
24442016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2445
2446 * config.host: Remove support for mep-*.
2447 * config/mep/lib1funcs.S: Remove.
2448 * config/mep/lib2funcs.c: Remove.
2449 * config/mep/t-mep: Remove.
2450 * config/mep/tramp.c: Remove.
2451
3e326935
TS
24522016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2453
2454 * config.host: Remove support for avr-rtems.
2455 * config/avr/t-rtems: Remove.
2456
914b155c
TS
24572016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2458
2459 * config.host: Remove m32r-rtems support.
2460
5ebf89bd
TS
24612016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2462
2463 * config.host: Remove h8300-rtems support.
2464
8466af06
TS
24652016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2466
2467 * config.host: Remove support for knetbsd.
2468
d980e738
TS
24692016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2470
2471 * config.host: Remove support for openbsd 2 and 3.
2472
ee2499b4
TS
24732016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2474
2475 * config.host: Remove interix support.
2476 * config/i386/t-interix: Remove.
2477
9f92937b
JDA
24782016-06-18 John David Anglin <danglin@gcc.gnu.org>
2479
2480 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
2481 least-significant bit in function pointer for fixup.
2482
0a0ec53d
AC
24832016-06-05 Aaron Conole <aconole@redhat.com>
2484 Nathan Sidwell <nathan@acm.org>
2485
2486 PR libgcc/71400
2487 * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
2488 (get_gcov_error_file): Check __gcov_error_file before trying to
2489 initialize it.
2490 (gcov_error): Always use get_gcov_error_file.
2491
8aa5bdd6
AC
24922016-06-02 Aaron Conole <aconole@redhat.com>
2493
2494 * libgcov-driver-system.c (__gcov_error_file): New.
2495 (get_gcov_error_file): New.
2496 (gcov_error): Use and set __gcov_error_file.
2497 (gcov_error_exit): New.
2498 * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
2499
40774faf
NS
25002016-05-26 Nathan Sidwell <nathan@acm.org>
2501
2502 * config/nvptx/free.asm: Delete.
2503 * config/nvptx/malloc.asm: Delete.
2504 * config/nvptx/realloc.c: Delete.
2505 * t-nvptx: Update.
2506
69a6d5ad
NS
25072016-05-25 Nathan Sidwell <nathan@acm.org>
2508
2509 * config/nvptx/crt0.s: Delete.
2510 * config/nvptx/crt0.c: New.
2511 * t-nvptx: Update.
2512
6befaff6
SL
25132016-05-19 Sandra Loosemore <sandra@codesourcery.com>
2514
385c7747 2515 * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
6befaff6
SL
2516 dw2/seh configuration.
2517 [x86_64-*-mingw*]: Likewise.
2518
ad251dfd
JS
25192016-05-10 Joel Sherrill <joel@rtems.org>
2520
2521 PR libgcc/70720
2522 * config.host (moxie-*-rtems*): Merge this stanza with other moxie
2523 targets so the same extra_parts are built. Also have tmake_file add
2524 on to its value rather than override.
2525
bc6d9014
OE
25262016-04-30 Oleg Endo <olegendo@gcc.gnu.org>
2527
2528 * config.host: Remove SH5 support.
2529 * configure: Likewise.
2530
9129c8cf
OE
25312016-04-29 Oleg Endo <olegendo@gcc.gnu.org>
2532
2533 * config/sh/crt1.S: Remove SH5 support.
2534 * config/sh/crti.S: Likewise.
2535 * config/sh/crtn.S: Likewise.
2536 * config/sh/lib1funcs-4-300.S: Likewise.
2537 * config/sh/lib1funcs-Os-4-200.S: Likewise.
2538 * config/sh/lib1funcs.S: Likewise.
2539 * config/sh/linux-unwind.h: Likewise.
2540 * config/sh/t-sh64: Delete.
2541
39d50464
CZ
25422016-04-29 Claudiu Zissulescu <claziss@synopsys.com>
2543
2544 * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
2545
8b48923b
CZ
25462016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
2547 Joern Rennecke <joern.rennecke@embecosm.com>
2548
2549 * config/arc/crttls.S: New file.
2550 * config/arc/t-arc: New rule.
2551 * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
2552
2de1cf8c
NC
25532016-04-25 Nick Clifton <nickc@redhat.com>
2554
2555 * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
2556 (__mspabi_cmpd): Likewise.
2557 * config/msp430/floathidf.c (__floathidf): Likewise.
2558 * config/msp430/floathisf.c (__floathisf): Likewise
2559 * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
2560 * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
2561 * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
2562 second parameter.
2563 (__ashrsi3): Likewise.
2564
b8ce3fe2
WB
25652016-04-21 Waldemar Brodkorb <wbx@openadk.org>
2566
2567 * config/m68k/linux-atomic.c: Do not include unistd.h
2568
4986f823
MG
25692016-04-20 Martin Galvan <martin.galvan@tallertechnologies.com>
2570
2571 * config/arm/ieee754-df.S: Fix typos in comments.
2572
35fbda43
MM
25732016-04-11 Michael Meissner <meissner@linux.vnet.ibm.com>
2574
2575 PR target/70381
2576 * configure.ac (powerpc*-*-linux*): Rework tests to build
2577 __float128 emulation routines to not depend on using #pragma GCC
2578 target to enable -mfloat128.
2579 * configure: Regnerate.
2580
72d1a48d
EB
25812016-04-04 Eric Botcazou <ebotcazou@adacore.com>
2582
2583 PR target/67172
2584 * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
2585 __MINGW32__ is defined.
2586
dc2e8995
JB
25872016-03-28 James Bowman <james.bowman@ftdichip.com>
2588
385c7747 2589 * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
dc2e8995 2590
104cdaf1
MM
25912016-03-22 Michael Meissner <meissner@linux.vnet.ibm.com>
2592
2593 PR libgcc/70363
2594 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
2595 built with an assembler that does not support ISA 3.0
2596 instructions, rename __extendkftf2_sw to __extendkftf2.
2597
a5046f48
RO
25982016-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2599
2600 PR target/38239
2601 * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
2602 call-clobbered registers.
2603 (internal_mcount): Remove __i386__ handling.
2604
df674f74
JS
26052016-02-26 Joel Sherrill <joel@rtems.org>
2606
2607 * config.host: Add x86_64-*-rtems*.
2608
7cb065d6
JS
26092016-02-26 Joel Sherrill <joel@rtems.org>
2610
2611 * libgcc/config.host: Add aarch64-*-rtems*.
2612
47dfdc53
PM
26132016-02-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2614 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
2615
2616 * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
2617 union of u64 and double.
2618 (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
2619 (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
2620 value.
2621 (FP_ROUNDMODE): Update the usage of _fpscr.
2622
e6861a99
IV
26232016-02-25 Ilya Verbin <ilya.verbin@intel.com>
2624
2625 PR driver/68463
2626 * Makefile.in (crtoffloadtable$(objext)): New rule.
2627 * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
2628 enable_offload_targets is not empty.
2629 * configure: Regenerate.
2630 * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
2631 crtoffloadtable.
2632
9bfcbdee
MF
26332016-02-17 Max Filippov <jcmvbkbc@gmail.com>
2634
2635 * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
2636 .literal_position before the function.
2637 * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
2638 Likewise.
2639
4cb4721f
MK
26402016-02-15 Marcin Kościelnicki <koriakin@0x04.net>
2641
2642 * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
2643 * config/s390/morestack.S: New file.
2644 * config/s390/t-stack-s390: New file.
2645 * generic-morestack.c (__splitstack_find): Add s390-specific code.
2646
b29d9a29
WL
26472016-02-12 Walter Lee <walt@tilera.com>
2648
2649 * config.host (tilegx*-*-linux*): remove ti from
2650 softfp_int_modes for 32-bit configs.
2651
03a0ae7d
ILT
26522016-02-10 Ian Lance Taylor <iant@google.com>
2653
2654 PR go/68562
2655 * config/i386/morestack.S (__stack_split_initialize): Align
2656 stack.
2657
68750bce
AT
26582016-02-03 Andreas Tobler <andreast@gcc.gnu.org>
2659
2660 PR bootstrap/69611
2661 * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
2662 __FLOAT128__ to compile only for __float128 capable targets.
2663
7d296953
JJ
26642016-01-25 Jakub Jelinek <jakub@redhat.com>
2665
2666 PR target/69444
2667 * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
2668 instead of ___NO_FPRS__.
2669
a71c0334 26702016-01-21 Michael Meissner <meissner@linux.vnet.ibm.com>
7d296953
JJ
2671 Steven Munroe <munroesj@linux.vnet.ibm.com>
2672 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
a71c0334
MM
2673
2674 * config/rs6000/float128-sed: New files to convert TF names to KF
2675 names for PowerPC IEEE 128-bit floating point support.
2676 * config/rs6000/float128-sed-hw: Likewise.
2677
2678 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
2679 floating point hardware support.
2680
2681 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
2682 128-bit floating point software emulation or use ISA 3.0 hardware
2683 support if it is available.
2684
2685 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
2686 floating point.
2687
2688 * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
2689 floating point to IBM extended double.
2690
2691 * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
2692 double to IEEE 128-bit floating point.
2693
2694 * config/rs6000/t-float128: New Makefile fragments to enable
2695 building __float128 emulation support.
2696 * config/rs6000/t-float128-hw: Likewise.
2697
2698 * config/rs6000/sfp-exceptions.c: New file to provide exception
2699 support for IEEE 128-bit floating point.
2700
2701 * config/rs6000/floattikf.c: New files for converting between IEEE
2702 128-bit floating point and signed/unsigned 128-bit integers.
2703 * config/rs6000/fixunskfti.c: Likewise.
2704 * config/rs6000/fixkfti.c: Likewise.
2705 * config/rs6000/floatuntikf.c: Likewise.
2706
2707 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
2708 when building on 64-bit systems, or when VSX is enabled.
2709 (_FP_W_TYPE): Likewise.
2710 (_FP_WS_TYPE): Likewise.
2711 (_FP_I_TYPE): Likewise.
2712 (TItype): Define on 64-bit systems.
2713 (UTItype): Likewise.
2714 (TI_BITS): Likewise.
2715 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
2716 (_FP_MUL_MEAT_Q): Likewise.
2717 (_FP_DIV_MEAT_D): Likewise.
2718 (_FP_DIV_MEAT_Q): Likewise.
2719 (_FP_NANFRAC_D): Likewise.
2720 (_FP_NANFRAC_Q): Likewise.
2721 (ISA_BIT): Add exception support if we are being compiled on a
2722 machine with hardware floating point support to build the IEEE
2723 128-bit emulation functions.
2724 (FP_EX_INVALID): Likewise.
2725 (FP_EX_OVERFLOW): Likewise.
2726 (FP_EX_UNDERFLOW): Likewise.
2727 (FP_EX_DIVZERO): Likewise.
2728 (FP_EX_INEXACT): Likewise.
2729 (FP_EX_ALL): Likewise.
2730 (__sfp_handle_exceptions): Likewise.
2731 (FP_HANDLE_EXCEPTIONS): Likewise.
2732 (FP_RND_NEAREST): Likewise.
2733 (FP_RND_ZERO): Likewise.
2734 (FP_RND_PINF): Likewise.
2735 (FP_RND_MINF): Likewise.
2736 (FP_RND_MASK): Likewise.
2737 (_FP_DECL_EX): Likewise.
2738 (FP_INIT_ROUNDMODE): Likewise.
2739 (FP_ROUNDMODE): Likewise.
2740
2741 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
2742 VSX code, enable IEEE 128-bit floating point. If the compiler can
2743 compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
2744 floating point hardware instructions and it supports declaring
2745 functions with the ifunc attribute, enable ifunc functions to
2746 switch between software and hardware support.
2747 * configure.ac (powerpc*-*-linux*): Likewise.
2748 * configure: Regenerate.
2749
bdc27e50
NC
27502016-01-15 Nick Clifton <nickc@redhat.com>
2751
2752 * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
2753 dependency as the source file to be compiled.
2754 (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
2755 (lib2hw_mul_f5.o): Likewise.
2756
006df05d
MM
27572016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
2758
2759 * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
2760 * libgcc/config/rs6000/fixkfti.c: Likewise.
2761 * libgcc/config/rs6000/fixunskfti.c: Likewise.
2762 * libgcc/config/rs6000/float128-hw.c: Likewise.
2763 * libgcc/config/rs6000/float128-ifunc.c: Likewise.
2764 * libgcc/config/rs6000/float128-sed: Likewise.
2765 * libgcc/config/rs6000/floattikf.c: Likewise.
2766 * libgcc/config/rs6000/floatuntikf.c: Likewise.
2767 * libgcc/config/rs6000/quad-float128.h: Likewise.
2768 * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
2769 * libgcc/config/rs6000/sfp-machine.h: Likewise.
2770 * libgcc/config/rs6000/t-float128: Likewise.
2771 * libgcc/config/rs6000/t-float128-hw: Likewise.
2772 * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
2773 * libgcc/config.host: Likewise.
2774 * libgcc/configure: Likewise.
2775 * libgcc/configure.ac: Likewise.
2776
29176d57 27772016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
7d296953
JJ
2778 Steven Munroe <munroesj@linux.vnet.ibm.com>
2779 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
29176d57
MM
2780
2781 * config/rs6000/sfp-exceptions.c: New file to provide exception
2782 support for IEEE 128-bit floating point.
2783
2784 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
2785 floating point hardware support.
2786
2787 * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
2788 point conversions.
2789 * config/rs6000/fixunskfti.c: Likewise.
2790 * config/rs6000/fixkfti.c: Likewise.
2791 * config/rs6000/floatuntikf.c: Likewise.
2792 * config/rs6000/extendkftf2-sw.c: Likewise.
2793 * config/rs6000/trunctfkf2-sw.c: Likewise.
2794
2795 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
2796 128-bit floating point software emulation or use ISA 3.0 hardware
2797 support if it is available.
2798
2799 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
2800 floating point.
2801
2802 * config/rs6000/t-float128: New Makefile fragments to enable
2803 building __float128 emulation support.
2804 * config/rs6000/t-float128-hw: Likewise.
2805
2806 * config/rs6000/float128-sed: New file to convert TF names to KF
2807 names for PowerPC IEEE 128-bit floating point support.
2808
2809 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
2810 when building on 64-bit systems, or when VSX is enabled.
2811 (_FP_W_TYPE): Likewise.
2812 (_FP_WS_TYPE): Likewise.
2813 (_FP_I_TYPE): Likewise.
2814 (TItype): Define on 64-bit systems.
2815 (UTItype): Likewise.
2816 (TI_BITS): Likewise.
2817 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
2818 (_FP_MUL_MEAT_Q): Likewise.
2819 (_FP_DIV_MEAT_D): Likewise.
2820 (_FP_DIV_MEAT_Q): Likewise.
2821 (_FP_NANFRAC_D): Likewise.
2822 (_FP_NANFRAC_Q): Likewise.
2823 (ISA_BIT): Add exception support if we are being compiled on a
2824 machine with hardware floating point support to build the IEEE
2825 128-bit emulation functions.
2826 (FP_EX_INVALID): Likewise.
2827 (FP_EX_OVERFLOW): Likewise.
2828 (FP_EX_UNDERFLOW): Likewise.
2829 (FP_EX_DIVZERO): Likewise.
2830 (FP_EX_INEXACT): Likewise.
2831 (FP_EX_ALL): Likewise.
2832 (__sfp_handle_exceptions): Likewise.
2833 (FP_HANDLE_EXCEPTIONS): Likewise.
2834 (FP_RND_NEAREST): Likewise.
2835 (FP_RND_ZERO): Likewise.
2836 (FP_RND_PINF): Likewise.
2837 (FP_RND_MINF): Likewise.
2838 (FP_RND_MASK): Likewise.
2839 (_FP_DECL_EX): Likewise.
2840 (FP_INIT_ROUNDMODE): Likewise.
2841 (FP_ROUNDMODE): Likewise.
2842
2843 * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
2844 compiler can do __float128.
2845 * configure: Regenerate.
2846
2847 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
2848 VSX code, enable IEEE 128-bit floating point.
2849
a2218983
OH
28502016-01-05 Olivier Hainque <hainque@adacore.com>
2851
2852 * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
29176d57 2853 specificities.
a2218983 2854
818ab71a
JJ
28552016-01-04 Jakub Jelinek <jakub@redhat.com>
2856
2857 Update copyright years.
2858
5a6c8ffa
AP
28592015-12-18 Andris Pavenis <andris.pavenis@iki.fi>
2860
2861 * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
29176d57 2862 soft-fp targets.
5a6c8ffa 2863
077067a5
BE
28642015-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
2865
2866 * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
2867 instead of abort to avoid dependency on stdlib.h.
2868
787c1027
JDA
28692015-12-09 John David Anglin <danglin@gcc.gnu.org>
2870
2871 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
2872 to initialize call to __dl_fixup once.
2873
04a9ae28
NC
28742015-12-04 Nick Clifton <nickc@redhat.com>
2875
2876 * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
2877 Allow for the second argument being negative.
2878 * config.host (extra_parts): Define for MSP430. Create separate
2879 libraries for each of the hardware multiply formats.
2880 * config/msp430/lib2hw_mul.S: Build only the multiply routines
2881 that are needed.
2882 * config/msp430/lib2mul.c: Likewise.
2883 * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
2884 Add rules to build hardware multiply libraries.
2885 * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
2886 __mspabi_divul function.
2887 (__mspabi_divllu): New stub function.
2888
9a32d437
JDA
28892015-12-01 John David Anglin <danglin@gcc.gnu.org>
2890
2891 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
2892 fixup values if saved GOT address doesn't match runtime address.
2893 (fixup_branch_offset): Reorder list.
2894
e5ef217c
RO
28952015-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2896
2897 * Makefile.in (VTV_CFLAGS): New variable.
2898 (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
2899 (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
2900 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
2901 Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
2902 to extra_parts if $enable_vtable_verify = yes.
2903
78cc43a2
SN
29042015-11-23 Szabolcs Nagy <szabolcs.nagy@arm.com>
2905
2906 PR target/68059
2907 * config/arm/linux-atomic-64bit.c (__write): Rename to...
2908 (write): ...this and fix the return type.
2909
9afebea2
DD
29102015-11-19 DJ Delorie <dj@redhat.com>
2911
2912 * config/msp430/lib2hw_mul.S: Fix alignment.
2913
33f47f42
NS
29142015-11-18 Nathan Sidwell <nathan@codesourcery.com>
2915
2916 * config/nvptx/reduction.c: New.
2917 * config/nvptx/t-nvptx (LIB2ADD): Add it.
2918
d9adb476
DE
29192015-11-15 David Edelsohn <dje.gcc@gmail.com>
2920
2921 * config/rs6000/on_exit.c: New file.
2922 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
2923 * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
2924
c0ab1970
CZ
29252015-11-11 Claudiu Zissulescu <claziss@synopsys.com>
2926
2927 * config/arc/dp-hack.h: Add support for ARCHS.
2928 * config/arc/ieee-754/divdf3.S: Likewise.
2929 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
2930 * config/arc/ieee-754/muldf3.S: Likewise.
2931 * config/arc/ieee-754/mulsf3.S: Likewise
2932 * config/arc/lib1funcs.S: Likewise
2933 * config/arc/gmon/dcache_linesz.S: Don't read the build register
2934 for ARCv2 cores.
2935 * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
2936 for ARCv2 cores.
2937 * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
2938 * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
2939 cores.
2940
e6b6bf09
RO
29412015-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2942
2943 * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
2944 value.
2945 * config/ia64/crtend.S: Likewise.
2946
a153644f
TS
29472015-11-07 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2948
2949 * config/visium/lib2funcs.c (__set_trampoline_parity): Use
2950 __CHAR_BIT__ instead of BITS_PER_UNIT.
2951 * fixed-bit.h: Likewise.
2952 * fp-bit.h: Likewise.
2953 * libgcc2.c (__popcountSI2): Likewise.
2954 (__popcountDI2): Likewise.
2955 * libgcc2.h: Likewise.
2956 * libgcov.h: Likewise.
2957
3dee689d
DE
29582015-11-07 David Edelsohn <dje.gcc@gmail.com>
2959
2960 * config/rs6000/atexit.c: New file.
2961 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
2962 * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
2963 * config/rs6000/cxa_finalize.c
2964 (catomic_compare_and_exchange_bool_acq): Negate return value.
2965
2ef543e4
VK
29662015-10-30 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
2967
2968 * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
2969 (processor_subtypes): Add znver1.
2970 (get_amd_cpu): Detect znver1.
2971
1300f017
CL
29722015-10-29 Christophe Lyon <christophe.lyon@linaro.org>
2973
2974 * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
2975 Include crtfastmath.o.
2976
3e5bb7ee
JR
29772015-10-23 Joern Rennecke <joern.rennecke@embecosm.com>
2978
2979 PR libgcc/66883
2980 * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
1300f017 2981
793aa938
KP
29822015-10-16 Kaushik Phatak <kaushik.phatak@kpit.com>
2983
2984 * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
2985 * config/rl78/divmodsi.S: Update return register to r8.
2986 * config/rl78/divmodhi.S: Update return register to r8,r9.
2987 Branch to main_loop_done_himode to pop registers before return.
2988
7d296953 29892015-10-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
fac812f0
VK
2990
2991 * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
2992 (__cpu_indicator_init): Fix model selection for AMD CPUs.
2993
6a192b5a
KY
29942015-10-05 Kirill Yukhin <kirill.yukhin@intel.com>
2995
2996 * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
2997
4a0a9457
MF
29982015-10-03 Max Filippov <jcmvbkbc@gmail.com>
2999
3000 * config.host (xtensa*-*-uclinux*): New configuration.
3001
ab91c076
KY
30022015-10-02 Kirill Yukhin <kirill.yukhin@intel.com>
3003
385c7747 3004 * config/i386/cpuinfo.c (processor_features): Add
ab91c076
KY
3005 FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
3006
30954527
JM
30072015-09-28 Joseph Myers <joseph@codesourcery.com>
3008
3009 * soft-fp/adddf3.c: Update from glibc.
3010 * soft-fp/addsf3.c: Likewise.
3011 * soft-fp/addtf3.c: Likewise.
3012 * soft-fp/divdf3.c: Likewise.
3013 * soft-fp/divsf3.c: Likewise.
3014 * soft-fp/divtf3.c: Likewise.
3015 * soft-fp/double.h: Likewise.
3016 * soft-fp/eqdf2.c: Likewise.
3017 * soft-fp/eqsf2.c: Likewise.
3018 * soft-fp/eqtf2.c: Likewise.
3019 * soft-fp/extenddftf2.c: Likewise.
3020 * soft-fp/extended.h: Likewise.
3021 * soft-fp/extendsfdf2.c: Likewise.
3022 * soft-fp/extendsftf2.c: Likewise.
3023 * soft-fp/extendxftf2.c: Likewise.
3024 * soft-fp/fixdfdi.c: Likewise.
3025 * soft-fp/fixdfsi.c: Likewise.
3026 * soft-fp/fixdfti.c: Likewise.
3027 * soft-fp/fixsfdi.c: Likewise.
3028 * soft-fp/fixsfsi.c: Likewise.
3029 * soft-fp/fixsfti.c: Likewise.
3030 * soft-fp/fixtfdi.c: Likewise.
3031 * soft-fp/fixtfsi.c: Likewise.
3032 * soft-fp/fixtfti.c: Likewise.
3033 * soft-fp/fixunsdfdi.c: Likewise.
3034 * soft-fp/fixunsdfsi.c: Likewise.
3035 * soft-fp/fixunsdfti.c: Likewise.
3036 * soft-fp/fixunssfdi.c: Likewise.
3037 * soft-fp/fixunssfsi.c: Likewise.
3038 * soft-fp/fixunssfti.c: Likewise.
3039 * soft-fp/fixunstfdi.c: Likewise.
3040 * soft-fp/fixunstfsi.c: Likewise.
3041 * soft-fp/fixunstfti.c: Likewise.
3042 * soft-fp/floatdidf.c: Likewise.
3043 * soft-fp/floatdisf.c: Likewise.
3044 * soft-fp/floatditf.c: Likewise.
3045 * soft-fp/floatsidf.c: Likewise.
3046 * soft-fp/floatsisf.c: Likewise.
3047 * soft-fp/floatsitf.c: Likewise.
3048 * soft-fp/floattidf.c: Likewise.
3049 * soft-fp/floattisf.c: Likewise.
3050 * soft-fp/floattitf.c: Likewise.
3051 * soft-fp/floatundidf.c: Likewise.
3052 * soft-fp/floatundisf.c: Likewise.
3053 * soft-fp/floatunditf.c: Likewise.
3054 * soft-fp/floatunsidf.c: Likewise.
3055 * soft-fp/floatunsisf.c: Likewise.
3056 * soft-fp/floatunsitf.c: Likewise.
3057 * soft-fp/floatuntidf.c: Likewise.
3058 * soft-fp/floatuntisf.c: Likewise.
3059 * soft-fp/floatuntitf.c: Likewise.
3060 * soft-fp/gedf2.c: Likewise.
3061 * soft-fp/gesf2.c: Likewise.
3062 * soft-fp/getf2.c: Likewise.
3063 * soft-fp/ledf2.c: Likewise.
3064 * soft-fp/lesf2.c: Likewise.
3065 * soft-fp/letf2.c: Likewise.
3066 * soft-fp/muldf3.c: Likewise.
3067 * soft-fp/mulsf3.c: Likewise.
3068 * soft-fp/multf3.c: Likewise.
3069 * soft-fp/negdf2.c: Likewise.
3070 * soft-fp/negsf2.c: Likewise.
3071 * soft-fp/negtf2.c: Likewise.
3072 * soft-fp/op-1.h: Likewise.
3073 * soft-fp/op-2.h: Likewise.
3074 * soft-fp/op-4.h: Likewise.
3075 * soft-fp/op-8.h: Likewise.
3076 * soft-fp/op-common.h: Likewise.
3077 * soft-fp/quad.h: Likewise.
3078 * soft-fp/single.h: Likewise.
3079 * soft-fp/soft-fp.h: Likewise.
3080 * soft-fp/subdf3.c: Likewise.
3081 * soft-fp/subsf3.c: Likewise.
3082 * soft-fp/subtf3.c: Likewise.
3083 * soft-fp/truncdfsf2.c: Likewise.
3084 * soft-fp/trunctfdf2.c: Likewise.
3085 * soft-fp/trunctfsf2.c: Likewise.
3086 * soft-fp/trunctfxf2.c: Likewise.
3087 * soft-fp/unorddf2.c: Likewise.
3088 * soft-fp/unordsf2.c: Likewise.
3089 * soft-fp/unordtf2.c: Likewise.
3090
4dfe21ac
RE
30912015-09-24 Richard Earnshaw <rearnsha@arm.com>
3092
3093 PR libgcc/67624
3094 * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
3095
df2a1cc4
RO
30962015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3097
3098 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
3099 Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
3100 * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
3101 messages.
3102 (internal_mcount): Likewise.
3103 * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
3104 crt_compile, add CRTSTUFF_T_CFLAGS_S.
3105
2d110442
RO
31062015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3107
3108 * configure.ac (libgcc_cv_solaris_crts): New test.
3109 * configure: Regenerate.
3110 * config.in: Regenerate.
3111 * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
3112 * config/gmon-sol2.c: Rename to ...
3113 * config/sol2/gmon.c: ... this.
3114 Include auto-target.h.
3115 (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
3116 * config/t-sol2: Rename to ...
3117 * config/sol2/t-sol2: ... this.
3118 (gmon.o): Reflect renaming.
3119 (crtp.o, crtpg.o): New rules.
3120 * config.host (*-*-solaris2*): Reflect renaming.
3121 Use system CRTs if present.
3122 Remove default CRT case.
3123
d572e439
JDA
31242015-09-23 John David Anglin <danglin@gcc.gnu.org>
3125
3126 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
3127 (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
3128 __kernel_cmpxchg2.
3129 (__sync_##OP##_and_fetch_##WIDTH): Likewise.
3130 (__sync_val_compare_and_swap_##WIDTH): Likewise.
3131 (__sync_bool_compare_and_swap_##WIDTH): Likewise.
3132 (__sync_lock_test_and_set_##WIDTH): Likewise.
3133 (__sync_lock_release_##WIDTH): Likewise.
3134 (__sync_fetch_and_##OP##_4): Change result to match type of
3135 __kernel_cmpxchg.
3136 (__sync_##OP##_and_fetch_4): Likewise.
3137 (__sync_val_compare_and_swap_4): Likewise.
3138 (__sync_bool_compare_and_swap_4): likewise.
3139 (__sync_lock_test_and_set_4): Likewise.
3140 (__sync_lock_release_4): Likewise.
3141 (FETCH_AND_OP_2): Add long long variants.
3142 (OP_AND_FETCH_2): Likewise.
3143 (COMPARE_AND_SWAP_2 ): Likewise.
3144 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
3145 (SYNC_LOCK_RELEASE_2): Likewise.
3146 (__sync_bool_compare_and_swap_##WIDTH): Correct return.
3147
7d296953 31482015-09-22 Kirill Yukhin <kirill.yukhin@intel.com>
06caf59d
KY
3149
3150 * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
3151 FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
3152 FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
3153 (get_available_features): Habdle new features.
3154
131314e1
JB
31552015-09-21 James Bowman <james.bowman@ftdichip.com>
3156
3157 * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
3158 memory layout. Deal correctly with BSS region larger than 32K.
3159 Handle a watchdog reset like a power-on reset. Clean up unused
3160 code.
3161
04218b35
AD
31622015-09-18 Andrew Dixie <andrewd@gentrack.com>
3163 David Edelsohn <dje.gcc@gmail.com>
3164
3165 * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
3166 * config/rs6000/crtdbase.S: New file.
3167 * config/rs6000/t-aix-cxa: Build crtdbase.o.
3168
c8338173
MF
31692015-09-15 Max Filippov <jcmvbkbc@gmail.com>
3170
3171 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
3172 Add support for call0 ABI.
3173
7a84bf71
JDA
31742015-09-13 John David Anglin <danglin@gcc.gnu.org>
3175
3176 * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
3177
4efab402
SH
31782015-09-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
3179
3180 * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
3181 (__GTHREAD_HAS_COND): Likewise.
3182 (__gthread_t): Likewise.
3183 (__gthread_cond_t): Likewise.
3184 (__gthread_time_t): Likewise.
3185 (__GTHREAD_MUTEX_INIT): Likewise.
3186 (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
3187 (__GTHREAD_COND_INIT): Likewise.
3188 (__GTHREAD_COND_INIT_FUNCTION): Likewise.
3189 (__GTHREAD_TIME_INIT): Likewise.
3190 (__gthread_create): Likewise.
3191 (__gthread_join): Likewise.
3192 (__gthread_detach): Likewise.
3193 (__gthread_equal): Likewise.
3194 (__gthread_self): Likewise.
3195 (__gthread_yield): Likewise.
3196 (__gthread_cond_broadcast): Likewise.
3197 (__gthread_cond_signal): Likewise.
3198 (__gthread_cond_wait): Likewise.
3199 (__gthread_cond_timedwait): Likewise.
3200 (__gthread_cond_wait_recursive): Likewise.
3201 (__gthread_cond_destroy): Likewise.
3202 (rtems_gxx_once): Delete.
3203 (rtems_gxx_key_create): Likewise.
3204 (rtems_gxx_key_delete): Likewise.
3205 (rtems_gxx_getspecific): Likewise.
3206 (rtems_gxx_setspecific): Likewise.
3207 (rtems_gxx_mutex_init): Likewise.
3208 (rtems_gxx_mutex_destroy): Likewise.
3209 (rtems_gxx_mutex_lock): Likewise.
3210 (rtems_gxx_mutex_trylock): Likewise.
3211 (rtems_gxx_mutex_unlock): Likewise.
3212 (rtems_gxx_recursive_mutex_init): Likewise.
3213 (rtems_gxx_recursive_mutex_lock): Likewise.
3214 (rtems_gxx_recursive_mutex_trylock): Likewise.
3215 (rtems_gxx_recursive_mutex_unlock): Likewise.
3216 (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
3217 (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
3218 (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
3219 (__gthread_once): Likewise.
3220 (__gthread_key_create): Likewise.
3221 (__gthread_key_delete): Likewise.
3222 (__gthread_getspecific): Likewise.
3223 (__gthread_setspecific): Likewise.
3224 (__gthread_key_t): Use <pthread.h> type.
3225 (__gthread_once_t): Likewise
3226 (__gthread_mutex_t): Use <sys/lock.h> type.
3227 (__gthread_recursive_mutex_t): Likewise
3228 (__gthread_mutex_lock): Use <sys/lock.h> function.
3229 (__gthread_mutex_trylock): Likewise.
3230 (__gthread_mutex_timedlock): Likewise.
3231 (__gthread_mutex_unlock): Likewise.
3232 (__gthread_mutex_destroy): Likewise.
3233 (__gthread_recursive_mutex_lock): Likewise.
3234 (__gthread_recursive_mutex_trylock): Likewise.
3235 (__gthread_recursive_mutex_timedlock): Likewise.
3236 (__gthread_recursive_mutex_unlock): Likewise.
3237 (__gthread_recursive_mutex_destroy): Likewise.
3238
991995c4
MF
32392015-08-18 Max Filippov <jcmvbkbc@gmail.com>
3240
3241 * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
3242 context->sp instead of context->cfa.
3243
0e19db59
MF
32442015-08-18 Max Filippov <jcmvbkbc@gmail.com>
3245
3246 * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
3247 with unwind-dw2-fde-dip.
3248
b6ac5f62
MF
32492015-08-18 Max Filippov <jcmvbkbc@gmail.com>
3250
3251 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
3252 CALL12 followed by series of ENTRY to spill windowed registers.
3253 (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
3254 instead of making linux spill syscall.
3255
3e0f3349
YR
32562015-08-14 Yuri Rumyantsev <ysrumyan@gmail.com>
3257
3258 * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
3259 (get_intel_cpu): Likewise.
3260
51c728b1
L
32612015-08-12 H.J. Lu <hongjiu.lu@intel.com>
3262
3263 * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
3264 (get_intel_cpu): Add Knights Landing support.
3265
aff4eeac
UB
32662015-08-11 Uros Bizjak <ubizjak@gmail.com>
3267
3268 PR target/66954
3269 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
3270 (get_available_features): Handle FEATURE_PCLMUL.
3271
736e56da
L
32722015-08-10 H.J. Lu <hongjiu.lu@intel.com>
3273
3274 * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
3275 Broadwell.
3276
54d22142
UB
32772015-07-22 Uros Bizjak <ubizjak@gmail.com>
3278
3279 PR target/66954
3280 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
3281 (get_available_features): Handle FEATURE_AES.
3282
20ca17e4
CLT
32832015-07-22 Chung-Lin Tang <cltang@codesourcery.com>
3284
3285 * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
3286 (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
3287
ebe4a560
NS
32882015-07-17 Nathan Sidwell <nathan@codesourcery.com>
3289
3290 * offloadstuff.c: Constify host data.
3291
180744c0
JB
32922015-07-17 Jan Beulich <jbeulich@suse.com>
3293
3294 * config/t-softfp: Split up "else ifneq".
3295
a03c6ae3
SL
32962015-07-14 Sandra Loosemore <sandra@codesourcery.com>
3297 Cesar Philippidis <cesar@codesourcery.com>
3298 Chung-Lin Tang <cltang@codesourcery.com>
3299
3300 * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
3301 for __nios2_arch__ level.
3302
73358db5
JM
33032015-07-13 John Marino <gnugcc@marino.st>
3304
3305 * config/i386/t-dragonfly: New.
3306
f9a12f7b
JDA
33072015-07-01 John David Anglin <danglin@gcc.gnu.org>
3308
3309 * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
3310 better match light-weight syscall argument order.
3311 (__kernel_cmpxchg2): Likewise.
3312 Adjust callers.
3313
cb78b51c
L
33142015-06-30 H.J. Lu <hongjiu.lu@intel.com>
3315
3316 * config.host: Support i[34567]86-*-elfiamcu target.
3317 * config/t-softfp-sfdftf: New file.
3318 * config/i386/32/t-iamcu: Likewise.
3319 * configure: Regenerated.
3320
4fa0f9ea
JL
33212015-06-23 James Lemke <jwlemke@codesourcery.com>
3322
3323 libgcc/config/arm/
3324 * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
3325
428b3812
L
33262015-05-27 H.J. Lu <hongjiu.lu@intel.com>
3327
3328 * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
3329
7d296953 33302015-05-27 John Marino <gnugcc@marino.st>
89c54dd3
JM
3331
3332 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
3333 md_unwind_header
3334 * config/i386/freebsd-unwind.h: New.
3335
9b789cc1
UB
33362015-05-22 Uros Bizjak <ubizjak@gmail.com>
3337
3338 * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
3339 i386/t-crtfm to tmake_file.
3340 * config/i386/crtfastmath.c (set_fast_math_sse): New function.
3341 (set_fast_math): Use set_fast_math_sse for SSE targets.
3342 * config/i386/t-crtfm: Remove.
3343
3dafb220
AM
33442015-05-21 Alan Modra <amodra@gmail.com>
3345
3346 PR libgcc/66225
3347 * config/rs6000/morestack.S: Remove ".abiversion 1".
3348
0f0fd745
AM
33492015-05-20 Alan Modra <amodra@gmail.com>
3350
3351 * config/rs6000/morestack.S: New.
3352 * config/rs6000/t-stack-rs6000: New.
3353 * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
3354 to tmake_file.
3355 * generic-morestack.c: Don't build for powerpc 32-bit.
3356
515ae71b
EB
33572015-05-19 Eric Botcazou <ebotcazou@adacore.com>
3358
3359 * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
3360 Remove useless endif/ifneq ($(enable_shared),yes) pair.
3361
36805406
JL
33622015-05-16 James Bowman <james.bowman@ftdichip.com>
3363
3364 * config.host: FT32 target added.
3365 * config/ft32/*: New files for FT32 target.
3366
ff935d0c
MG
33672015-05-15 Martin Galvan <martin.galvan@tallertechnologies.com>
3368
385c7747
UB
3369 * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
3370 New macros.
3371 * config/arm/ieee754-df.S: Add CFI directives.
3372 * config/arm/ieee754-sf.S: Add CFI directives.
ff935d0c 3373
9b92a9f3
EB
33742015-05-13 Eric Botcazou <ebotcazou@adacore.com>
3375
3376 * configure.ac: Include config/sjlj.m4.
3377 Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
3378 * config.in: Regenerate.
3379 * configure: Likewise.
3380 * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
3381
98b5dc61
UB
33822015-05-12 Uros Bizjak <ubizjak@gmail.com>
3383
3384 * libgcov-util.c: Add space between string literal and macro name.
3385
5a0ff57c
SL
33862015-05-06 Sandra Loosemore <sandra@codesourcery.com>
3387 Chris Jones <chrisj@nvidia.com>
3388 Joshua Conner <jconner@nvidia.com>
3389
3390 * config.host (arm*-*-linux*): Add support for crtfastmath.o.
3391 (arm*-*-uclinux*): Likewise.
3392 (arm*-*-eabi* | arm*-*-rtems*): Likewise.
3393 * config/arm/crtfastmath.c: New file.
3394
d28ad5d4
BS
33952014-04-29 Bernd Schmidt <bernds@codesourcery.com>
3396
3397 * Makefile.in (real_host_noncanonical): New variable.
3398 (libsubdir): Use it.
3399 * configure.ac (real_host_noncanonical): Compute. Remove special
3400 case for intelmicemul.
3401 * configure: Regenerate.
3402
cc86234f
UB
34032015-04-28 Uros Bizjak <ubizjak@gmail.com>
3404
3405 * config/frv/elf-lib.h: New file.
3406 (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
3407 * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
3408 to tm_file.
3409
34102015-04-28 Uros Bizjak <ubizjak@gmail.com>
3411
3412 * config/frv/frvbengin.c: Do not include defaults.h
3413 * config/frv/frvend.c: Ditto.
3414
2f6bd6eb
YS
34152015-04-27 Yoshinori Sato <ysato@users.sourceforge.jp>
3416
3417 * config.host: Add h8300-*-linux
3418 * config/h8300/t-linux: New file.
3419 * config/h8300/lib1funs.s: Change symbol prefix.
3420 * config/h8300/sfp-machine.h: 64bit double support.
3421
15aa7b44
GR
34222015-04-22 Gregor Richards <gregor.richards@uwaterloo.ca>
3423 Szabolcs Nagy <szabolcs.nagy@arm.com>
3424
3425 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
3426 Linux if target provides dl_iterate_phdr.
3427
abd0cdc9
L
34282015-04-17 H.J. Lu <hongjiu.lu@intel.com>
3429
3430 PR target/65612
3431 * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
3432 * config/i386/cpuinfo.c (__cpu_model): Initialize.
3433 (__cpu_indicator_init@GCC_4.8.0): New.
3434 (__cpu_model@GCC_4.8.0): Likewise.
3435 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
3436 -DUSE_ELF_SYMVER.
3437
72ed1126
NC
34382015-04-16 Nick Clifton <nickc@redhat.com>
3439
3440 * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
3441 and __modhi3 functions.
3442 * config/rl78/divmodso.S: Add G14 and G13 versions of the
3443 __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
3444
d26b2237
CG
34452015-04-15 Chen Gang <gang.chen.5i5j@gmail.com>
3446
3447 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
3448 do-while loop as macro body to avoid warnings.
3449
cacf1f59
JJ
34502015-04-10 Jakub Jelinek <jakub@redhat.com>
3451 Iain Sandoe <iain@codesourcery.com>
3452
3453 PR target/65351
3454 * configure: Regenerate.
3455
e8a4ed3b
JJ
34562015-04-07 Jakub Jelinek <jakub@redhat.com>
3457 Iain Sandoe <iain@codesourcery.com>
3458
3459 PR target/65351
3460 * configure: Regenerate.
3461
0341335e
CLT
34622015-03-25 Chung-Lin Tang <cltang@codesourcery.com>
3463
3464 * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
3465
590e2636 34662015-03-03 Max Filippov <jcmvbkbc@gmail.com>
0341335e 3467
590e2636
MF
3468 Implement call0 ABI for xtensa
3469 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
3470 __xtensa_nonlocal_goto): Don't compile for call0 ABI.
3471 (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
3472 use ret in call0 ABI.
3473 * config/xtensa/t-windowed: New file.
3474 * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
3475 * libgcc/configure: Regenerated.
3476 * libgcc/configure.ac: Check if xtensa target is configured for
3477 windowed ABI and thus needs to use custom unwind code.
3478
7727f8f2
JW
34792015-02-12 Jonathan Wakely <jwakely@redhat.com>
3480
3481 PR libgcc/64885
3482 * gthr-single.h: Use __unused__ attribute instead of unused.
3483 * config/gthr-vxworks.h: Likewise.
3484 * config/i386/gthr-win32.h: Likewise.
3485
0e4a0def
KT
34862015-02-27 Kai Tietz <ktietz@redhat.com>
3487
3488 PR target/65038
3489 * config.in: Regenerated.
3490 * configure: Likewise.
3491 * configure.ac (AC_HEADER_STDC): Added explicit.
3492 (AC_CHECK_HEADERS): Check for default headers plus
3493 for ftw.h header.
3494 * libgcov-util.c (gcov_read_profile_dir): Disable use
3495 of ftw-function, if header is not found.
3496 (ftw_read_file): Likewise.
3497
b6530d0a
TS
34982015-02-23 Thomas Schwinge <thomas@codesourcery.com>
3499
3500 PR target/65181
3501 * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
3502 -Dinhibit_libc.
3503
53cfb467
SL
35042015-02-17 Sandra Loosemore <sandra@codesourcery.com>
3505
3506 * config/arm/bpabi.S (test_div_by_zero): Make label names
3507 consistent between thumb2 and arm mode cases. Separate the
3508 signed comparison on the high word of the numerator from the
3509 unsigned comparison on the low word.
3510 * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
3511 signed comparison.
3512
77d10a1b
JM
35132015-02-17 Joseph Myers <joseph@codesourcery.com>
3514
3515 * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
3516 and <string.h>.
3517 (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
3518
98174188
RE
35192015-02-10 Rainer Emrich <rainer@emrich-ebersheim.de>
3520
3521 PR gcov-profile/61889
471274de 3522 * libgcov-driver-system.c: undefine clashing macro for mkdir.
98174188 3523
771bef14
NC
35242015-02-02 Nick Clifton <nickc@redhat.com>
3525
3526 * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
3527 rounding up the fraction.
3528
40702893
JDA
35292015-01-31 John David Anglin <danglin@gcc.gnu.org>
3530
3531 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
3532 oldval and newval to const void *. Fix typo.
3533 (FETCH_AND_OP_2): Use __atomic_load_n to load value.
3534 (FETCH_AND_OP_WORD): Likewise.
3535 (OP_AND_FETCH_WORD): Likewise.
3536 (COMPARE_AND_SWAP_2): Likewise.
3537 (__sync_val_compare_and_swap_4): Likewise.
3538 (__sync_lock_test_and_set_4): Likewise.
3539 (SYNC_LOCK_RELEASE_2): Likewise.
3540 Remove support for long long atomic operations.
3541
f7f049fa
CT
35422015-01-27 Caroline Tice <cmtice@google.com>
3543
3544 Committing VTV Cywin/Ming patch for Patrick Wollgast
3545 * Makefile.in: Move rules to build vtv_*.o out of the check
3546 for CUSTOM_CRTSTUFF.
3547 * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
3548 i[34567]86-*-mingw*)
3549 (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
3550 enable_vtable_verify.
3551
8410904a
NC
35522015-01-27 Nick Clifton <nickc@redhat.com>
3553
3554 * config/rl78/cmpsi2.S: Use function start and end macros.
3555 (__gcc_bcmp): New function.
3556 * config/rl78/lshrsi3.S: Use function start and end macros.
3557 * config/rl78/mulsi3.S: Add support for G10.
3558 (__mulqi3): New function for G10.
3559 * config/rl78/signbit.S: Use function start and end macros.
3560 * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
3561 fpmath-sf.S.
3562 (LIB2FUNCS_EXCLUDE): Define.
3563 (LIB2FUNCS_ST): Define.
3564 * config/rl78/trampoline.S: Use function start and end macros.
3565 * config/rl78/vregs.h (START_FUNC): New macro.
3566 (START_ANOTHER_FUNC): New macro.
3567 (END_FUNC): New macro.
3568 (END_ANOTHER_FUNC): New macro.
3569 * config/rl78/bit-count.S: New file. Contains assembler
3570 implementations of the bit counting functions: ___clzhi2,
3571 __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
3572 __paritysi2, __popcounthi2 and __popcountsi2.
3573 * config/rl78/fpbit-sf.S: New file. Contains assembler
3574 implementationas of the math functions: __negsf2, __cmpsf2,
3575 __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
3576 __fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
3577 * config/rl78/fpmath-sf.S: New file. Contains assembler
3578 implementations of the math functions: __subsf3, __addsf3,
3579 __mulsf3 and __divsf3
3580
f962fbf1
RO
35812015-01-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3582
3583 * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
3584 Add i386/elf-lib.h to tm_file.
3585 * config/i386/elf-lib.h: Fix comment.
3586 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
3587 && __sun__ && __svr4__]: Remove workaround.
3588
939911c5
ASJ
35892015-01-25 Allan Sandfeld Jensen <sandfeld@kde.org>
3590
3591 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
3592 FEATURE_BMI2.
3593 (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
3594
c8f2dff2
L
35952015-01-24 H.J. Lu <hongjiu.lu@intel.com>
3596
3597 * config/i386/cpuinfo.c (processor_subtypes): Add
3598 INTEL_COREI7_BROADWELL.
3599 (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
3600 model numbers.
3601
7bbf9734
UB
36022015-01-23 Uros Bizjak <ubizjak@gmail.com>
3603
3604 * config/i386/elf-lib.h: New file.
3605 (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
3606 Wrap definition in #ifdef __i386__.
3607 * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
3608 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
3609 (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
3610 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
3611 to tm_file.
3612
324820f1
CG
36132015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
3614
3615 * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
3616 "(char *)" to avoid qualifier warning by 'xgcc' compiling.
3617
a9ce4e4a
CLT
36182015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
3619
3620 * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
3621 Update rt_sigframe format and address for current Nios II
3622 Linux conventions.
3623
82a19768
AT
36242015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
3625
3626 * config.host (arm*-*-freebsd*): Add new configuration for
3627 arm*-*-freebsd*.
3628 * config/arm/freebsd-atomic.c: New file.
3629 * config/arm/t-freebsd: Likewise.
3630 * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
3631 'PC-relative indirect' OS's.
3632
0969ec7d
EB
36332015-01-06 Eric Botcazou <ebotcazou@adacore.com>
3634
3635 * config.host: Add Visium support.
3636 * config/visium: New directory.
3637
5624e564
JJ
36382015-01-05 Jakub Jelinek <jakub@redhat.com>
3639
3640 Update copyright years.
3641
82f84ecb
MF
36422014-12-19 Matthew Fortune <matthew.fortune@imgtec.com>
3643
3644 * config.host: Support mipsisa32r6 and mipsisa64r6.
3645 * config/mips/mips16.S: Do not build for R6.
3646
69044fa9
OE
36472014-12-17 Oleg Endo <olegendo@gcc.gnu.org>
3648
3649 * config/sh/crt.h: New.
3650 * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
3651 symbols.
3652 * config/sh/crt1.S: Likewise.
3653
2405e0ea
UB
36542014-12-15 Uros Bizjak <ubizjak@gmail.com>
3655
3656 PR libgcc/63832
3657 * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
3658 func_ptr *dtor_list temporary variable to avoid "array subscript
3659 is above array bounds" warnings.
3660
7d296953 36612014-12-09 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
dd913323
MH
3662
3663 * Makefile.in (with_aix_soname): Define.
3664 * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
3665 * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
3666 * configure: Recreate.
3667
a66272f6
OH
36682014-12-05 Olivier Hainque <hainque@adacore.com>
3669
3670 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
3671 now provided by defaults.h.
3672
6342b2c5
OE
36732014-11-30 Oleg Endo <olegendo@gcc.gnu.org>
3674
7d0ee249 3675 PR target/55351
6342b2c5
OE
3676 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
3677 whether it's defined.
3678
c17eac85
IT
36792014-11-27 Ilya Tocar <ilya.tocar@intel.com>
3680
3681 * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
3682 * config/i386/cpuinfo.c (get_available_features): Detect it.
3683
1025cb6c
TW
36842014-11-27 Tony Wang <tony.wang@arm.com>
3685
3686 * config/arm/lib1funcs.S (FUNC_START): Add conditional section
3687 redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
3688 (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
3689
d19f2e38
SB
36902014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
3691
3692 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
3693
17f6e9a3
JDA
36942014-11-24 John David Anglin <danglin@gcc.gnu.org>
3695
3696 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
3697 instead.
3698
0cd7c672
GM
36992014-11-21 Guy Martin <gmsoft@tuxicoman.be>
3700 John David Anglin <danglin@gcc.gnu.org>
3701
3702 * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
3703 (FETCH_AND_OP_2): New. Use for subword and double word operations.
3704 (OP_AND_FETCH_2): Likewise.
3705 (COMPARE_AND_SWAP_2): Likewise.
3706 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
3707 (SYNC_LOCK_RELEASE_2): Likewise.
3708 (SUBWORD_SYNC_OP): Remove.
3709 (SUBWORD_VAL_CAS): Likewise.
3710 (SUBWORD_BOOL_CAS): Likewise.
3711 (FETCH_AND_OP_WORD): Update.
3712 Consistently use signed types.
cc86234f 3713
85c64bbe
BS
37142014-11-13 Bernd Schmidt <bernds@codesourcery.com>
3715 Thomas Schwinge <thomas@codesourcery.com>
3716 Ilya Verbin <ilya.verbin@intel.com>
3717 Andrey Turetskiy <andrey.turetskiy@intel.com>
3718
3719 * Makefile.in (crtoffloadbegin$(objext)): New rule.
3720 (crtoffloadend$(objext)): Likewise.
3721 * configure: Regenerate.
3722 * configure.ac (accel_dir_suffix): Compute new variable.
3723 (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
3724 if enable_offload_targets is not empty.
3725 * offloadstuff.c: New file.
3726
52a1ff8b
NC
37272014-11-13 Nick Clifton <nickc@redhat.com>
3728
3729 * config/rl78/divmodhi.S: Add support for the G10 architecture.
3730 Use START_FUNC and END_FUNC macros to enable linker garbage
3731 collection.
3732 * config/rl78/divmodqi.S: Likewise.
3733 * config/rl78/divmodsi.S: Likewise.
3734 * config/rl78/mulsi3.S: Likewise.
3735 * config/rl78/lib2div.c: Remove G10 functions.
3736 * config/rl78/lib2muls.c: Likewise.
3737 * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
3738 * config/rl78/vregs.h (START_FUNC): New macro.
3739 (END_FUNC): New macro.
3740
050af144
MF
37412014-11-12 Matthew Fortune <matthew.fortune@imgtec.com>
3742
3743 * config/mips/mips16.S: Set .module when supported. Update O32
3744 FP64 calling convention and use for FPXX when possible. Add FPXX
3745 calling convention fallback case.
3746
738f2522
BS
37472014-11-06 Bernd Schmidt <bernds@codesourcery.com>
3748
3749 * config.host: Handle nvptx-*-*.
3750 * shared-object.mk (as-flags-$o): Define.
3751 ($(base)$(objext), $(base)_s$(objext)): Use it instead of
3752 -xassembler-with-cpp.
3753 * static-object.mk: Identical changes.
3754 * config/nvptx/t-nvptx: New file.
3755 * config/nvptx/crt0.s: New file.
3756 * config/nvptx/free.asm: New file.
3757 * config/nvptx/malloc.asm: New file.
3758 * config/nvptx/realloc.c: New file.
3759
e610393c
JM
37602014-10-30 Joseph Myers <joseph@codesourcery.com>
3761
3762 * Makefile.in (libgcc.map.in): New target.
3763 (libgcc.map): Use libgcc.map.in.
3764 * config/t-softfp (softfp_compat): New variable to be set by
3765 users.
3766 [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
3767 variables.
3768 [$(softfp_compat) = y] (softfp_file_list): Use files in the build
3769 directory.
3770 [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
3771 that use compat symbols and disable all code unless [SHARED].
3772 * config/t-softfp-compat: New file.
3773 * find-symver.awk: New file.
3774 * configure.ac (--with-glibc-version): New configure option.
3775 (ppc_fp_compat): New variable set for powerpc*-*-linux*.
3776 * configure: Regenerate.
3777 * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
3778 soft-float and e500.
3779
bc1b3a88
JM
37802014-10-29 Joseph Myers <joseph@codesourcery.com>
3781
3782 * config/t-hardfp (hardfp_exclusions): Document new variable for
3783 user to define.
3784 (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
3785 * config/t-softfp (softfp_extras): Document new variable for user
3786 to define.
3787 (softfp_func_list): Add functions from $(softfp_extras).
3788 * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
3789 * config.host (powerpc*-*-linux*): For e500v1, use
3790 rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
3791 t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
3792 and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
3793
ef2810c1
JDA
37942014-10-26 John David Anglin <danglin@gcc.gnu.org>
3795
3796 * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
3797 (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
3798 memory read accesses are ok.
3799
d80c2bea
JM
38002014-10-25 Joseph Myers <joseph@codesourcery.com>
3801
3802 * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
3803 * configure: Regenerate.
3804 * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
3805 additions to tmake_file. Use t-hardfp-sfdf and t-hardfp instead
3806 of soft-fp for 32-bit classic hard float. Do not use
3807 t-softfp-excl for soft float.
3808
693b297b
JM
38092014-10-22 Joseph Myers <joseph@codesourcery.com>
3810
3811 * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
3812 configurations.
3813 * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
3814 Remove variables.
3815
18a3415e
GJL
38162014-10-22 Georg-Johann Lay <avr@gjlay.de>
3817
3818 * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
3819 introduced with 2014-10-21 trunk r216525.
3820
c1dd9790 38212014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
7d296953
JJ
3822 Vidya Praveen <vidya.praveen@atmel.com>
3823 Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
3824 Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
3825 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
c1dd9790
JR
3826
3827 * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
3828 order.
3829
3830 Updated library functions for AVRTINY arch.
3831 * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
3832 Replaced occurrences of r0/r1 with tmp/zero reg macros.
3833 Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
3834 or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
3835 wsubi/wadi macors.
3836 (__mulsi3_helper): Update stack, preserve callee saved regs and
3837 argument from stack. Restore callee save registers.
3838 (__mulpsi3): Likewise.
3839 (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
3840 __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
18a3415e 3841 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
c1dd9790
JR
3842 AVRTINY.
3843 (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
3844 (__do_copy_data): Added new definition for AVRTINY.
3845 (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
3846 (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
3847 __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
3848 * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
3849 tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
3850 macors.
18a3415e 3851 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
c1dd9790
JR
3852 AVRTINY.
3853
18a3415e 3854 Fix broken long multiplication on tiny arch.
c1dd9790 3855
5f606431
JM
38562014-10-09 Joseph Myers <joseph@codesourcery.com>
3857
3858 * soft-fp/double.h: Update from glibc.
3859 * soft-fp/eqdf2.c: Likewise.
3860 * soft-fp/eqsf2.c: Likewise.
3861 * soft-fp/eqtf2.c: Likewise.
3862 * soft-fp/extenddftf2.c: Likewise.
3863 * soft-fp/extended.h: Likewise.
3864 * soft-fp/extendsfdf2.c: Likewise.
3865 * soft-fp/extendsftf2.c: Likewise.
3866 * soft-fp/extendxftf2.c: Likewise.
3867 * soft-fp/gedf2.c: Likewise.
3868 * soft-fp/gesf2.c: Likewise.
3869 * soft-fp/getf2.c: Likewise.
3870 * soft-fp/ledf2.c: Likewise.
3871 * soft-fp/lesf2.c: Likewise.
3872 * soft-fp/letf2.c: Likewise.
3873 * soft-fp/op-1.h: Likewise.
3874 * soft-fp/op-2.h: Likewise.
3875 * soft-fp/op-4.h: Likewise.
3876 * soft-fp/op-8.h: Likewise.
3877 * soft-fp/op-common.h: Likewise.
3878 * soft-fp/quad.h: Likewise.
3879 * soft-fp/single.h: Likewise.
3880 * soft-fp/soft-fp.h: Likewise.
3881 * soft-fp/unorddf2.c: Likewise.
3882 * soft-fp/unordsf2.c: Likewise.
3883 * soft-fp/unordtf2.c: Likewise.
3884 * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
3885 * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
3886 * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
3887 * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
3888 * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
3889 * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
3890 * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
3891 * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
3892 * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
3893 * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
3894
9b84e7a8
RX
38952014-10-08 Rong Xu <xur@google.com>
3896
3897 * libgcov-util.c (read_gcda_file): Fix format.
3898 (find_match_gcov_info): Ditto.
3899 (calculate_2_entries): New.
3900 (compute_one_gcov): Ditto.
3901 (gcov_info_count_all_cold): Ditto.
3902 (gcov_info_count_all_zero): Ditto.
3903 (extract_file_basename): Ditto.
3904 (get_file_basename): Ditto.
3905 (set_flag): Ditto.
3906 (matched_gcov_info): Ditto.
3907 (calculate_overlap): Ditto.
3908 (gcov_profile_overlap): Ditto.
3909 * libgcov-driver.c (compute_summary): Make
3910 it avavilable for external calls.
3911
fe1090c1
RX
39122014-10-06 Rong Xu <xur@google.com>
3913
3914 * Makefile.in: Ditto.
3915 * libgcov-driver.c (gcov_sort_n_vals): New utility function.
3916 (gcov_sort_icall_topn_counter): Ditto.
3917 (gcov_sort_topn_counter_arrays): Ditto.
3918 (dump_one_gcov): Sort indirect_call topn counters.
3919 * libgcov-merge.c (__gcov_merge_icall_topn): New merge
3920 function.
3921 * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
3922 utility function.
3923 (__gcov_indirect_call_topn_profiler): New profiler function.
3924 * libgcov-util.c (__gcov_icall_topn_counter_op): New.
3925 * libgcov.h: New decls.
3926
3daa7bbf
TS
39272014-10-04 Trevor Saunders <tsaunders@mozilla.com>
3928
3929 * config.host: Remove support for score-*.
3930
9a79452d
JM
39312014-09-22 Joseph Myers <joseph@codesourcery.com>
3932
3933 * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
3934 (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
3935 (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
3936 __LIBGCC_XF_MANT_DIG__.
3937 (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
3938 (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
3939 __LIBGCC_TF_MANT_DIG__.
3940 * libgcc2.c (NOTRUNC): Define in terms of
3941 __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
3942 * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
3943
1a849e50
JM
39442014-09-22 Joseph Myers <joseph@codesourcery.com>
3945
3946 PR target/63312
3947 * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
3948 New macros.
3949
598a1586
HPN
39502014-09-22 Hans-Peter Nilsson <hp@axis.com>
3951
3952 * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
3953 override USE_PT_GNU_EH_FRAME.
3954 [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
3955 check USE_EH_FRAME_REGISTRY_ALWAYS against
3956 __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
3957 * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
3958 variable for substituted force_explicit_eh_registry.
3959 (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
3960 * configure.ac (explicit-exception-frame-registration):
3961 New AC_ARG_ENABLE.
3962 * configure: Regenerate.
3963
3a8fe7c6
OH
39642014-09-19 Olivier Hainque <hainque@adacore.com>
3965
3966 * config.host (powerpc-wrs-vxworksmils): New configuration,
3967 same as vxworksae.
3968
dd69f047
JM
39692014-09-18 Joseph Myers <joseph@codesourcery.com>
3970
3971 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
3972
e770bfd9
JM
39732014-09-18 Joseph Myers <joseph@codesourcery.com>
3974
3975 * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
3976 bits not set bits as indicating trapping exceptions.
3977
cadb2b96
NS
39782014-09-17 Nathan sidwell <nathan@acm.org>
3979
3980 * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
3981 (LIBGCOV_DRIVER): ... here.
3982 * libgcov-driver.c (gcov_master): New.
3983 (gcov_exit): Remove from master chain.
3984 (__gcov_init): Add to master chain if version compatible. Don't
3985 clear the version.
3986 * libgcov_interface (__gcov_flust): Call gcov_dump_int.
3987 (gcov_reset_int): Clear master chain, if compatible.
3988 (gcov_dump_int): New internal interface. Dump master chain, if
3989 compatible.
3990 (gcov_dump): Alias for gcov_dump_int.
3991 * libgcov.h (struct gcov_root): Add next and prev fields.
3992 (struct gcov_master): New struct.
3993 (__gcov_master): New.
3994 (gcov_dump_int): Declare.
3995
580d22a3
OH
39962014-09-17 Olivier Hainque <hainque@adacore.com>
3997
3998 * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
3999 and crtbegin.o + crtend.o to extra_parts.
4000
8cc4b7a2
JM
40012014-09-12 Joseph Myers <joseph@codesourcery.com>
4002
4003 * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
4004 __LIBGCC_HAS_SF_MODE__.
4005 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
4006 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
4007 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
4008 * config/libbid/bid_gcc_intrinsics.h
4009 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
4010 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
4011 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
4012 * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
4013 (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
4014 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
4015
ea3f2b24
GJL
40162014-09-11 Georg-Johann Lay <avr@gjlay.de>
4017
4018 PR target/63223
4019 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
4020 and R24 as needed. Make work for all devices and .text locations.
4021 (__do_global_ctors, __do_global_dtors): Use word addresses.
4022 (__tablejump__, __tablejump_elpm__): Remove functions.
4023 * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
4024 Add _tablejump2.
4025 (XICALL, XIJMP): New macros.
4026
b677236a
MS
40272014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
4028 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
4029
4030 * config.host (aarch64*): Include crtfastmath.o and
4031 t-crtfm.
4032 * config/aarch64/crtfastmath.c: New file.
4033
157e859f
TS
40342014-09-08 Trevor Saunders <tsaunders@mozilla.com>
4035
4036 * config.host: Remove picochip support.
4037 * config/picochip/adddi3.S: Remove.
4038 * config/picochip/ashlsi3.S: Remove.
4039 * config/picochip/ashlsi3.c: Remove.
4040 * config/picochip/ashrsi3.S: Remove.
4041 * config/picochip/ashrsi3.c: Remove.
4042 * config/picochip/clzsi2.S: Remove.
4043 * config/picochip/cmpsi2.S: Remove.
4044 * config/picochip/divmod15.S: Remove.
4045 * config/picochip/divmodhi4.S: Remove.
4046 * config/picochip/divmodsi4.S: Remove.
4047 * config/picochip/lib1funcs.S: Remove.
4048 * config/picochip/longjmp.S: Remove.
4049 * config/picochip/lshrsi3.S: Remove.
4050 * config/picochip/lshrsi3.c: Remove.
4051 * config/picochip/parityhi2.S: Remove.
4052 * config/picochip/popcounthi2.S: Remove.
4053 * config/picochip/setjmp.S: Remove.
4054 * config/picochip/subdi3.S: Remove.
4055 * config/picochip/t-picochip: Remove.
4056 * config/picochip/ucmpsi2.S: Remove.
4057 * config/picochip/udivmodhi4.S: Remove.
4058 * config/picochip/udivmodsi4.S: Remove.
4059
66bb34c0
JM
40602014-09-08 Joseph Myers <joseph@codesourcery.com>
4061
4062 * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
4063 (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
4064 (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
4065 (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
4066 * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
4067 error if not defined and LIBGCC2_HAS_SF_MODE is defined.
4068 (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
4069 defined and LIBGCC2_HAS_DF_MODE is defined.
4070 (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
4071 defined and LIBGCC2_HAS_XF_MODE is defined.
4072 (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
4073 defined and LIBGCC2_HAS_TF_MODE is defined.
4074
9686a2e6
JM
40752014-09-08 Joseph Myers <joseph@codesourcery.com>
4076
4077 * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
4078 and ROUND_TOWARDS_ZERO conditionals.
4079
71c3e2ef
NS
40802014-09-07 Nathan sidwell <nathan@acm.org>
4081
4082 * libgcov-interface.c (STRONG_ALIAS): Rename to ...
4083 (ALIAS_weak): ... here. Use forwarding function. Adjust uses.
4084
53d68b9f
JM
40852014-09-05 Joseph Myers <joseph@codesourcery.com>
4086
4087 * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
4088 * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
4089 uses to __LIBGCC_STACK_POINTER_REGNUM__.
4090 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
4091 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4092 * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
4093 Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4094 * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
4095 uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
4096 (DWARF_FRAME_REGISTERS): Change all uses to
4097 __LIBGCC_DWARF_FRAME_REGISTERS__.
4098 (EH_RETURN_STACKADJ_RTX): Change all uses to
4099 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
4100 * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
4101 __LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
4102 * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
4103 use to __LIBGCC_EH_FRAME_SECTION_NAME__.
4104 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
4105 * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
4106 to __LIBGCC_EH_FRAME_SECTION_NAME__.
4107 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
4108 * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
4109 __LIBGCC_STACK_POINTER_REGNUM__.
4110 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
4111 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4112 * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
4113 to __LIBGCC_STACK_POINTER_REGNUM__.
4114 * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
4115 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4116 * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
4117 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4118 * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
4119 Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4120 (STACK_POINTER_REGNUM): Change all uses to
4121 __LIBGCC_STACK_POINTER_REGNUM__.
4122 * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
4123 use to __LIBGCC_STACK_POINTER_REGNUM__.
4124 * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
4125 uses to __LIBGCC_STACK_POINTER_REGNUM__.
4126 * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
4127 to __LIBGCC_DWARF_FRAME_REGISTERS__.
4128 * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
4129 to __LIBGCC_DWARF_FRAME_REGISTERS__.
4130 * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
4131 to __LIBGCC_STACK_POINTER_REGNUM__.
4132 * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
4133 Remove conditional definition.
4134 * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
4135 __LIBGCC_TEXT_SECTION_ASM_OP__.
4136 (EH_FRAME_SECTION_NAME): Change all uses to
4137 __LIBGCC_EH_FRAME_SECTION_NAME__.
4138 (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
4139 __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
4140 (CTORS_SECTION_ASM_OP): Change all uses to
4141 __LIBGCC_CTORS_SECTION_ASM_OP__.
4142 (DTORS_SECTION_ASM_OP): Change all uses to
4143 __LIBGCC_DTORS_SECTION_ASM_OP__.
4144 (JCR_SECTION_NAME): Change all uses to
4145 __LIBGCC_JCR_SECTION_NAME__.
4146 (INIT_SECTION_ASM_OP): Change all uses to
4147 __LIBGCC_INIT_SECTION_ASM_OP__.
4148 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
4149 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
4150 * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
4151 __LIBGCC_STACK_GROWS_DOWNWARD__.
4152 * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
4153 __LIBGCC_INIT_SECTION_ASM_OP__.
4154 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
4155 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
4156 (EH_FRAME_SECTION_NAME): Change all uses to
4157 __LIBGCC_EH_FRAME_SECTION_NAME__.
4158 * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
4159 definitions. Change all uses to
4160 __LIBGCC_VTABLE_USES_DESCRIPTORS__.
4161 * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
4162 __LIBGCC_STACK_GROWS_DOWNWARD__.
4163 (DWARF_FRAME_REGISTERS): Change all uses to
4164 __LIBGCC_DWARF_FRAME_REGISTERS__.
4165 (EH_RETURN_STACKADJ_RTX): Change all uses to
4166 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
4167 * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
4168 definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
4169 * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
4170 __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
4171 (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
4172
b20ee094
NS
41732014-09-02 Nathan sidwell <nathan@acm.org>
4174
4175 * libgcov-interface.c (STRONG_ALIAS): New.
4176 (__gcov_flush): Call __gcov_reset_int.
4177 (__gcov_reset): Strong alias for ...
4178 (__gcov_reset_ing): ... this renamed hidden version.
4179 * libgcov.h (__gcov_reset_int): New declaration.
4180
1ac83976
YS
41812014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
4182
25efdb9f
YS
4183 * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
4184 call from here...
4185 * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
4186 (__dso_handle): Define on Cygwin.
4187 * config/i386/t-cygming (crtbeginS.o): New rule.
4188 * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
4189
1ac83976
YS
4190 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
4191 declaration syntax.
4192
c6f9ea3b
SE
41932014-08-13 Steve Ellcey <sellcey@mips.com>
4194
4195 * crtstuff.c: Undef caddr_t.
4196
5b1ea7c5
SE
41972014-08-12 Steve Ellcey <sellcey@mips.com>
4198
4199 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
4200
4303c581
NS
42012014-08-07 Nathan Sidwell <nathan@acm.org>
4202
4203 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
4204 (LIBGCOV_DRIVER): ... to here.
4205 * libgcov.h (gcov_do_dump): New #define.
4206 (struct gcov_root): New.
4207 (__gcov_root): New declaration.
4208 (__gcov_dump_one): Declare.
4209 * libgcov-driver.c (gcov_list, gcov_dump_complete,
4210 run_accounted): Delete.
4211 (gcov_compute_histogram): Add LIST argument, adjust.
4212 (compute_summary): Adjust gcov_compute_histogram call.
4213 (gcov_do_dump): Not hidden, static in libgcov.
4214 (gcov_clear): Move to interface.c.
4215 (__gcov_dump_one): New, broken out of ...
4216 (gcov_exit): ... here. Make static.
4217 (__gcov_root): New.
4218 (__gcov_init): Adjust.
4219 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
4220 declarations.
4221 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
4222 (gcov_clear): Moved from driver.c. Add LIST argument.
4223 (__gcov_reset): Adjust for changed interfaces.
4224 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
4225
23742a9e
RAR
42262014-08-04 Rohit <rohitarulraj@freescale.com>
4227
4228 PR target/60102
4229 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
d406ae47 4230 based on change in SPE high register numbers and 3 HTM registers.
23742a9e 4231
b98a872b
NS
42322014-08-01 Nathan Sidwell <nathan@acm.org>
4233
4234 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
4235 LIBGCOV_INTERFACE): Reformat.
4236 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
4237 IN_GCOV_TOOL.
4238 * libgcov-interface.c: Reformat some comments.
4239 (__gcov_flush_mx): Add declaration. Tidy up definition.
4240
6adaaa1d
AM
42412014-07-31 Alan Modra <amodra@gmail.com>
4242 Peter Bergner <bergner@vnet.ibm.com>
4243
4244 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
4245 (pack_ldouble): New function.
4246 (__gcc_qadd): Use it.
4247 (__gcc_qmul): Likewise.
4248 (__gcc_qdiv): Likewise.
4249 (__gcc_qneg): Likewise.
4250 (__gcc_stoq): Likewise.
4251 (__gcc_dtoq): Likewise.
4252
87cb0c0c
UW
42532014-07-30 J. D. Johnston <jjohnst@us.ibm.com>
4254
4255 * config/s390/tpf-unwind.h: Include <stdbool.h>.
4256 (__tpf_eh_return): Add original return address as second parameter.
4257 Handle cases where unwinder routines were called directly, instead
4258 of from within the C++ library.
4259
19926161
NS
42602014-07-29 Nathan Sidwell <nathan@acm.org>
4261
4262 * libgcov.h: Move renaming of entry points to lib gcov specific
4263 portion.
4264 (gcov_do_dump): New rename.
4265 (gcov_rewrite): Remove inline, make HIDDEN.
4266 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
4267 (gcov_exit_compute_summary): Rename to ...
4268 (compute_summary): ... here. Add LIST argument.
4269 (gcov_exit_merge_gcda): Rename to ...
4270 (merge_one_data): ... here.
4271 (gcov_exit_write_gcda): Rename to ...
4272 (write_one_data): ... here.
4273 (gcov_exit_merge_summary): Rename to ...
4274 (merge_summary): Add RUN_COUNTED argument.
4275 (gcov_exit_dump_gcov): Rename to ...
4276 (dump_one_gcov): Add RUN_COUNTED argument.
4277 (gcov_do_dump): New function, broken out of ...
4278 (gcov_exit): ... here. Call it.
4279
17522262
AG
42802014-07-27 Anthony Green <green@moxielogic.com>
4281
4282 * config.host: Add moxiebox configuration suppport.
4283
6dc33097
NS
42842014-07-27 Nathan Sidwell <nathan@acm.org>
4285
4286 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
4287 (struct gcov_filename): ... here. Include buffer and max length
4288 fields.
4289 (gcov_max_filename): Remove.
4290 (gi_filename): Remove.
4291 (gcov_exit_compute_summary): Compute max filename here.
4292 (gcov_exit_merge_gcda): Add filename parm, adjust.
4293 (gcov_exit_merge_summary): Likewise.
4294 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
4295 (gcov_exit): Likewise.
4296 (__gcov_init): Don't calculate max length here.
4297 * libgcov_util.c (max_filename_len): Remove.
4298 (read_gcda_file): Don't calculate max length here.
4299 (gcov_read_profile_dir): Don't propagate here.
4300 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
4301 struct gcov_filename changes.
4302 (gcov_exit_open_gcda_file): Likewise.
4303
770f687d
NS
43042014-07-25 Nathan Sidwell <nathan@acm.org>
4305
4306 * libgcov-driver.c (set_gcov_dump_complete,
4307 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
4308 functions polluting user's namespace.
4309 (gcov_exit): Set variable directly.
4310 (gcov_clear): Reset variable directly.
4311 * libgcov-interface.c (get_gcov_dymp_complete,
4312 reset_gov_dump_complete): Remove declarations.
4313 (__gcov_reset, __gcov_dump): Don't call them.
4314
fabf71ba
DD
43152014-07-24 DJ Delorie <dj@redhat.com>
4316
4317 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
770f687d
NS
4318 (__gcc_deregister_frame): Move logic to detect deregister function
4319 to ...
4320 (__gcc_register_frame): here, so it's consistent with the register
4321 logic.
fabf71ba 4322
d10ee722
NS
43232014-07-23 Nathan Sidwell <nathan@acm.org>
4324
4325 * libgcov-driver.c (set_gcov_list): Remove.
4326 (gcov_list): Make non-static in GCOV_TOOL.
4327 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
4328
a4137090
JDA
43292014-07-17 John David Anglin <danglin@gcc.gnu.org>
4330
4331 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
4332 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
4333 Don't use SYNC_LOCK_RELEASE for int type.
4334
72602c6c
RB
43352014-07-14 Richard Biener <rguenther@suse.de>
4336
4337 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
4338
d5313205
RX
43392014-07-11 Rong Xu <xur@google.com>
4340
4341 * libgcov-util.c (gcov_max_filename): Fix declartion.
4342
c77556a5
RX
43432014-07-10 Rong Xu <xur@google.com>
4344
4345 Add gcov-tool: an offline gcda profile processing tool
4346 Support.
4347 * libgcov-driver.c (gcov_max_filename): Make available
4348 to gcov-tool.
4349 * libgcov-merge.c (__gcov_merge_add): Replace
4350 gcov_read_counter() with a Macro.
4351 (__gcov_merge_ior): Ditto.
4352 (__gcov_merge_time_profile): Ditto.
4353 (__gcov_merge_single): Ditto.
4354 (__gcov_merge_delta): Ditto.
4355 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
4356 in the utility functions.
4357 (set_fn_ctrs): Utility function for reading gcda files to in-memory
4358 gcov_list object link lists.
4359 (tag_function): Ditto.
4360 (tag_blocks): Ditto.
4361 (tag_arcs): Ditto.
4362 (tag_lines): Ditto.
4363 (tag_counters): Ditto.
4364 (tag_summary): Ditto.
4365 (read_gcda_finalize): Ditto.
4366 (read_gcda_file): Ditto.
4367 (ftw_read_file): Ditto.
4368 (read_profile_dir_init): Ditto.
4369 (gcov_read_profile_dir): Ditto.
4370 (gcov_read_counter_mem): Ditto.
4371 (gcov_get_merge_weight): Ditto.
4372 (merge_wrapper): A wrapper function that calls merging handler.
4373 (gcov_merge): Merge two gcov_info objects with weights.
4374 (find_match_gcov_info): Find the matched gcov_info in the list.
4375 (gcov_profile_merge): Merge two gcov_info object lists.
4376 (__gcov_add_counter_op): Process edge profile counter values.
4377 (__gcov_ior_counter_op): Process IOR profile counter values.
4378 (__gcov_delta_counter_op): Process delta profile counter values.
4379 (__gcov_single_counter_op): Process single profile counter values.
4380 (fp_scale): Callback function for float-point scaling.
cc86234f 4381 (int_scale): Callback function for integer fraction scaling.
c77556a5
RX
4382 (gcov_profile_scale): Scaling profile counters.
4383 (gcov_profile_normalize): Normalize profile counters.
4384 * libgcov.h: Add headers and functions for gcov-tool use.
4385 (gcov_get_counter): New.
4386 (gcov_get_counter_target): Ditto.
4387 (struct gcov_info): Make the functions field mutable in gcov-tool
4388 compilation.
4389
5c7dac8a
KT
43902014-06-23 Kai Tietz <ktietz@redhat.com>
4391
4392 PR libgcc/61585
4393 * unwind-seh.c (_Unwind_GetGR): Check for proper
4394 index range.
4395 (_Unwind_SetGR): Likewise.
4396
161c9312
NC
43972014-05-22 Nick Clifton <nickc@redhat.com>
4398
4399 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
4400 -mhwmult=none.
4401
e3f0315f
TJ
44022014-05-22 Teresa Johnson <tejohnson@google.com>
4403
4404 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
4405 include.
4406
dbed5a9b
JM
44072014-05-20 John Marino <gnugcc@marino.st>
4408
4409 * config.host (*-*-dragonfly*): New target.
4410 * crtstuff.c: Make dl_iterate_support generic on *bsd.
4411 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
4412 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
4413 * config/i386/dragonfly-unwind.h: New.
4414
1ec380e5
MR
44152014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
4416
4417 PR libgcc/60166
4418 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
4419 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
4420
54fde020
BE
44212014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
4422
4423 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
4424 implementation.
4425
999db125
GJL
44262014-05-12 Georg-Johann Lay <avr@gjlay.de>
4427
4428 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
4429
cceaf54a
RO
44302014-05-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4431
4432 PR libgcc/61097
4433 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
4434 if --enable-shared.
4435
e3fe9b5b
BE
44362014-04-30 Bernd Edlinger <bernd.edlinger@hotmail.de>
4437
4438 Work around for current cygwin32 build problems.
4439 * config/i386/cygming-crtbegin.c (__register_frame_info,
4440 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
4441 functions only for 64-bit systems.
4442
54cf37e9
RO
44432014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4444
4445 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
4446 (sigill_caught, sigill_hdlr): Remove.
4447
d9f069ab
RO
44482014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4449
4450 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
4451 check.
4452 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
4453 Solaris 9 single-threaded support.
4454 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
4455 Solaris 9 single-threaded support. Add call_user_handler code
4456 sequences.
4457 (sparc_is_sighandler): Likewise.
4458
59976ef8
AK
44592014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4460
4461 * config.host: Append t-floattodi to tmake_file depending on
4462 host_address.
4463
d02bbcf3
JS
44642014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
4465
31466bc0 4466 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
d02bbcf3 4467
c2e7e597
UB
44682014-03-10 Uros Bizjak <ubizjak@gmail.com>
4469
4470 PR libgcc/60472
4471 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
2405e0ea 4472 variable to avoid "array subscript is above array bounds" warnings.
c2e7e597
UB
4473 Use __builtin_expect when checking *jcr_list for NULL.
4474
227a7dc8
RO
44752014-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4476
4477 PR libgcc/59339
4478 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
4479 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
4480 vtv_*.o to extra_parts if enable_vtable_verify.
4481
df2b279c
NC
44822014-03-06 Nick Clifton <nickc@redhat.com>
4483
4484 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
4485 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
4486
dc11d79b
JY
44872014-02-28 Joey Ye <joey.ye@arm.com>
4488
4489 PR libgcc/60166
4490 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
4491 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
4492 Set to zero.
4493
341c653c
WL
44942014-02-24 Walter Lee <walt@tilera.com>
4495
4496 * config.host: Support "tilegx*" and "tilepro*" triplets.
4497 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
4498 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
4499
95ce7613
CLT
45002014-02-20 Sandra Loosemore <sandra@codesourcery.com>
4501 Chung-Lin Tang <cltang@codesourcery.com>
4502
4503 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
4504 * config/nios2/crti.S: Remove .file directive.
4505 * config/nios2/crtn.S: Likewise.
4506
0bb4fc05
KT
45072014-02-18 Kai Tietz <ktietz@redhat.com>
4508 Jonathan Schleifer <js@webkeks.org>
4509
4510 PR objc/56870
4511 * unwind-seh.c (_GCC_specific_handler): Pass proper
4512 value to unwind-handler.
4513
9acf28f1
JM
45142014-02-12 Joseph Myers <joseph@codesourcery.com>
4515
4516 * soft-fp/adddf3.c: Update from glibc.
4517 * soft-fp/addsf3.c: Likewise.
4518 * soft-fp/addtf3.c: Likewise.
4519 * soft-fp/divdf3.c: Likewise.
4520 * soft-fp/divsf3.c: Likewise.
4521 * soft-fp/divtf3.c: Likewise.
4522 * soft-fp/double.h: Likewise.
4523 * soft-fp/eqdf2.c: Likewise.
4524 * soft-fp/eqsf2.c: Likewise.
4525 * soft-fp/eqtf2.c: Likewise.
4526 * soft-fp/extenddftf2.c: Likewise.
4527 * soft-fp/extended.h: Likewise.
4528 * soft-fp/extendsfdf2.c: Likewise.
4529 * soft-fp/extendsftf2.c: Likewise.
4530 * soft-fp/extendxftf2.c: Likewise.
4531 * soft-fp/fixdfdi.c: Likewise.
4532 * soft-fp/fixdfsi.c: Likewise.
4533 * soft-fp/fixdfti.c: Likewise.
4534 * soft-fp/fixsfdi.c: Likewise.
4535 * soft-fp/fixsfsi.c: Likewise.
4536 * soft-fp/fixsfti.c: Likewise.
4537 * soft-fp/fixtfdi.c: Likewise.
4538 * soft-fp/fixtfsi.c: Likewise.
4539 * soft-fp/fixtfti.c: Likewise.
4540 * soft-fp/fixunsdfdi.c: Likewise.
4541 * soft-fp/fixunsdfsi.c: Likewise.
4542 * soft-fp/fixunsdfti.c: Likewise.
4543 * soft-fp/fixunssfdi.c: Likewise.
4544 * soft-fp/fixunssfsi.c: Likewise.
4545 * soft-fp/fixunssfti.c: Likewise.
4546 * soft-fp/fixunstfdi.c: Likewise.
4547 * soft-fp/fixunstfsi.c: Likewise.
4548 * soft-fp/fixunstfti.c: Likewise.
4549 * soft-fp/floatdidf.c: Likewise.
4550 * soft-fp/floatdisf.c: Likewise.
4551 * soft-fp/floatditf.c: Likewise.
4552 * soft-fp/floatsidf.c: Likewise.
4553 * soft-fp/floatsisf.c: Likewise.
4554 * soft-fp/floatsitf.c: Likewise.
4555 * soft-fp/floattidf.c: Likewise.
4556 * soft-fp/floattisf.c: Likewise.
4557 * soft-fp/floattitf.c: Likewise.
4558 * soft-fp/floatundidf.c: Likewise.
4559 * soft-fp/floatundisf.c: Likewise.
4560 * soft-fp/floatunditf.c: Likewise.
4561 * soft-fp/floatunsidf.c: Likewise.
4562 * soft-fp/floatunsisf.c: Likewise.
4563 * soft-fp/floatunsitf.c: Likewise.
4564 * soft-fp/floatuntidf.c: Likewise.
4565 * soft-fp/floatuntisf.c: Likewise.
4566 * soft-fp/floatuntitf.c: Likewise.
4567 * soft-fp/gedf2.c: Likewise.
4568 * soft-fp/gesf2.c: Likewise.
4569 * soft-fp/getf2.c: Likewise.
4570 * soft-fp/ledf2.c: Likewise.
4571 * soft-fp/lesf2.c: Likewise.
4572 * soft-fp/letf2.c: Likewise.
4573 * soft-fp/muldf3.c: Likewise.
4574 * soft-fp/mulsf3.c: Likewise.
4575 * soft-fp/multf3.c: Likewise.
4576 * soft-fp/negdf2.c: Likewise.
4577 * soft-fp/negsf2.c: Likewise.
4578 * soft-fp/negtf2.c: Likewise.
4579 * soft-fp/op-1.h: Likewise.
4580 * soft-fp/op-2.h: Likewise.
4581 * soft-fp/op-4.h: Likewise.
4582 * soft-fp/op-8.h: Likewise.
4583 * soft-fp/op-common.h: Likewise.
4584 * soft-fp/quad.h: Likewise.
4585 * soft-fp/single.h: Likewise.
4586 * soft-fp/soft-fp.h: Likewise.
4587 * soft-fp/subdf3.c: Likewise.
4588 * soft-fp/subsf3.c: Likewise.
4589 * soft-fp/subtf3.c: Likewise.
4590 * soft-fp/truncdfsf2.c: Likewise.
4591 * soft-fp/trunctfdf2.c: Likewise.
4592 * soft-fp/trunctfsf2.c: Likewise.
4593 * soft-fp/trunctfxf2.c: Likewise.
4594 * soft-fp/unorddf2.c: Likewise.
4595 * soft-fp/unordsf2.c: Likewise.
4596 * soft-fp/unordtf2.c: Likewise.
4597 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
4598 macro.
4599 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4600 Likewise.
4601 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4602 Likewise.
4603 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4604 Likewise.
4605 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4606 Likewise.
4607 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4608 Likewise.
4609 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4610 Likewise.
4611 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4612 Likewise.
4613 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4614 Likewise.
4615 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4616 Likewise.
4617 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4618 Likewise.
4619 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4620 Likewise.
4621 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4622 Likewise.
4623 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
4624 Likewise.
4625 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
4626 Likewise.
4627 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4628 Likewise.
4629
ce245ec6
AK
46302014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4631
4632 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
4633 cannot be represented.
4634 * config/s390/32/_fixsfdi.c: Likewise.
4635 * config/s390/32/_fixtfdi.c: Likewise.
4636 * config/s390/32/_fixunsdfdi.c: Likewise.
4637 * config/s390/32/_fixunssfdi.c: Likewise.
4638 * config/s390/32/_fixunstfdi.c: Likewise.
4639
1c51d688
RS
46402014-02-07 Richard Sandiford <rdsandiford@googlemail.com>
4641
4642 * configure.ac (libgcc_cv_mips_hard_float): New.
4643 * configure: Regenerate.
4644 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
4645 t-softfp-sfdf for hard-float targets.
4646 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
4647 (softfp_float_modes, softfp_int_modes, softfp_extensions)
4648 (softfp_truncations, softfp_exclude_libgcc2): New.
4649 * config/t-hardfp: New file.
4650 * config/t-hardfp-sfdf: Likewise.
4651 * config/hardfp.c: Likewise.
4652
bbf391db
AK
46532014-02-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4654
4655 * config.host: Include t-floattodi also for s390x.
4656 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
4657 * config/s390/32/_fixsfdi.c: Likewise.
4658 * config/s390/32/_fixtfdi.c: Likewise.
4659 * config/s390/32/_fixunsdfdi.c: Likewise.
4660 * config/s390/32/_fixunssfdi.c: Likewise.
4661 * config/s390/32/_fixunstfdi.c: Likewise.
4662
91da0481
RO
46632014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4664
4665 PR target/59788
4666 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
4667 (install-libgcc-unwind-map-forbuild): New target.
4668 (all): Depend on install-libgcc-unwind-map-forbuild.
4669 (install-libgcc-unwind-map): New target.
4670 (install): Depend on install-libgcc-unwind-map.
4671
02b67731
SL
46722014-02-02 Sandra Loosemore <sandra@codesourcery.com>
4673
4674 * config/nios2/crti.S (_init): Initialize GOT pointer from
4675 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
4676
1ea0a651
RS
46772014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
4678
4679 * configure.ac: Check __mips64 when setting host_address.
4680 * configure: Regenerate.
4681 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
4682 mips/t-mips64 and t-softfp.
4683 (mips*-*-linux*): Don't add mips/t-tpbit.
4684 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
4685 (DPBIT, DPBIT_CFLAGS): Delete.
4686 * config/mips/sfp-machine.h: New file.
4687 * config/mips/t-mips64: Likewise.
4688 * config/mips/t-softfp-tf: Likewise.
4689 * config/mips/t-tpbit: Delete.
4690
f32b0061
MS
46912014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
4692
4693 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
4694 as long long.
4695
a5420aa4
WL
46962014-01-25 Walter Lee <walt@tilera.com>
4697
4698 * config/tilepro/atomic.c: Include tconfig.h. Don't include
4699 config.h or system.h.
4700 (bool) Define.
4701
24534912
WL
47022014-01-25 Walter Lee <walt@tilera.com>
4703
4704 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
4705 (post_atomic_barrier): Ditto.
4706 (__fetch_and_do): New macro.
4707 (__atomic_fetch_and_do): Use __fetch_and_do.
4708 (__sync_fetch_and_do): New macro.
4709 (__sync_fetch_and_add_4): New function.
4710 (__sync_fetch_and_sub_4): New function.
4711 (__sync_fetch_and_or_4): New function.
4712 (__sync_fetch_and_and_4): New function.
4713 (__sync_fetch_and_xor_4): New function.
4714 (__sync_fetch_and_nand_4): New function.
4715 (__sync_fetch_and_add_8): New function.
4716 (__sync_fetch_and_sub_8): New function.
4717 (__sync_fetch_and_or_8): New function.
4718 (__sync_fetch_and_and_8): New function.
4719 (__sync_fetch_and_xor_8): New function.
4720 (__sync_fetch_and_nand_8): New function.
4721 (__do_and_fetch): New macro.
4722 (__atomic_do_and_fetch): Use __do_and_fetch.
4723 (__sync_do_and_fetch): New macro.
4724 (__sync_add_and_fetch_4): New function.
4725 (__sync_sub_and_fetch_4): New function.
4726 (__sync_or_and_fetch_4): New function.
4727 (__sync_and_and_fetch_4): New function.
4728 (__sync_xor_and_fetch_4): New function.
4729 (__sync_nand_and_fetch_4): New function.
4730 (__sync_add_and_fetch_8): New function.
4731 (__sync_sub_and_fetch_8): New function.
4732 (__sync_or_and_fetch_8): New function.
4733 (__sync_and_and_fetch_8): New function.
4734 (__sync_xor_and_fetch_8): New function.
4735 (__sync_nand_and_fetch_8): New function.
4736 (__sync_exchange_methods): New macro.
4737 (__sync_val_compare_and_swap_4): New function.
4738 (__sync_bool_compare_and_swap_4): New function.
4739 (__sync_lock_test_and_test_4): New function.
4740 (__sync_val_compare_and_swap_8): New function.
4741 (__sync_bool_compare_and_swap_8): New function.
4742 (__sync_lock_test_and_test_8): New function.
4743 (__subword_cmpxchg_body): New macro.
4744 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
4745 (__atomic_compare_exchange_2): Ditto.
4746 (__sync_subword_cmpxchg): New macro.
4747 (__sync_val_compare_and_swap_1): New function.
4748 (__sync_bool_compare_and_swap_1): New function.
4749 (__sync_val_compare_and_swap_2): New function.
4750 (__sync_bool_compare_and_swap_2): New function.
4751 (__atomic_subword): Rename to ...
4752 (__subword): ... New name.
4753 (__atomic_subword_fetch): Use __subword.
4754 (__sync_subword_fetch): New macro.
4755 (__sync_fetch_and_add_1): New function.
4756 (__sync_fetch_and_sub_1): New function.
4757 (__sync_fetch_and_or_1): New function.
4758 (__sync_fetch_and_and_1): New function.
4759 (__sync_fetch_and_xor_1): New function.
4760 (__sync_fetch_and_nand_1): New function.
4761 (__sync_fetch_and_add_2): New function.
4762 (__sync_fetch_and_sub_2): New function.
4763 (__sync_fetch_and_or_2): New function.
4764 (__sync_fetch_and_and_2): New function.
4765 (__sync_fetch_and_xor_2): New function.
4766 (__sync_fetch_and_nand_2): New function.
4767 (__sync_add_and_fetch_1): New function.
4768 (__sync_sub_and_fetch_1): New function.
4769 (__sync_or_and_fetch_1): New function.
4770 (__sync_and_and_fetch_1): New function.
4771 (__sync_xor_and_fetch_1): New function.
4772 (__sync_nand_and_fetch_1): New function.
4773 (__sync_add_and_fetch_2): New function.
4774 (__sync_sub_and_fetch_2): New function.
4775 (__sync_or_and_fetch_2): New function.
4776 (__sync_and_and_fetch_2): New function.
4777 (__sync_xor_and_fetch_2): New function.
4778 (__sync_nand_and_fetch_2): New function.
4779 (__atomic_subword_lock): Use __subword.
4780 (__sync_subword_lock): New macro.
4781 (__sync_lock_test_and_set_1): New function.
4782 (__sync_lock_test_and_set_2): New function.
4783
4d6d3bc5
WL
47842014-01-25 Walter Lee <walt@tilera.com>
4785
4786 * config/tilepro/atomic.c (BIT_OFFSET): Define.
4787 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
4788 (__atomic_subword): Ditto.
4789
cbd9890e
WL
47902014-01-25 Walter Lee <walt@tilera.com>
4791
4792 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
4793 a prefix op argument.
4794 (__atomic_nand_fetch_4): Add prefix op.
4795 (__atomic_nand_fetch_8): Ditto.
4796
7d296953 47972014-01-21 Baruch Siach <barch@tkos.co.il>
800d8bd5
BS
4798
4799 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
4800
46dd1242
L
48012014-01-09 Rong Xu <xur@google.com>
4802
4803 * libgcov-driver.c (this_prg): make it local to save
4804 bss space.
4805 (gcov_exit_compute_summary): Ditto.
4806 (gcov_exit_merge_gcda): Ditto.
4807 (gcov_exit_merge_summary): Ditto.
4808 (gcov_exit_dump_gcov): Ditto.
4809
cc86234f 48102014-01-08 Rong Xu <xur@google.com>
40d6b753
RX
4811
4812 * libgcov-driver.c: Use libgcov.h.
4813 (buffer_fn_data): Use xmalloc instead of malloc.
4814 (gcov_exit_merge_gcda): Ditto.
4815 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
4816 * libgcov.h: New common header files for libgcov-*.h.
4817 * libgcov-interface.c: Use libgcov.h
4818 * libgcov-merge.c: Ditto.
4819 * libgcov-profiler.c: Ditto.
4820 * Makefile.in: Add dependence to libgcov.h
4821
a02e7bdd
JM
48222014-01-02 Joseph Myers <joseph@codesourcery.com>
4823
4824 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
4825 case of small numerator and finite nonzero result.
4826
ac1dca3c
RS
48272014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
4828
4829 Update copyright years
4830
f9030485
RS
48312014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
4832
4833 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
4834 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
4835 config/arc/dp-hack.h, config/arc/fp-hack.h,
4836 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
4837 config/arc/ieee-754/arc600-dsp/divdf3.S,
4838 config/arc/ieee-754/arc600-dsp/divsf3.S,
4839 config/arc/ieee-754/arc600-dsp/muldf3.S,
4840 config/arc/ieee-754/arc600-dsp/mulsf3.S,
4841 config/arc/ieee-754/arc600-mul64/divdf3.S,
4842 config/arc/ieee-754/arc600-mul64/divsf3.S,
4843 config/arc/ieee-754/arc600-mul64/muldf3.S,
4844 config/arc/ieee-754/arc600-mul64/mulsf3.S,
4845 config/arc/ieee-754/arc600/divsf3.S,
4846 config/arc/ieee-754/arc600/mulsf3.S,
4847 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
4848 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
4849 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
4850 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
4851 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
4852 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
4853 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
4854 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
4855 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
4856 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
4857 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
4858 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
4859 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
4860 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
4861 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
4862 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
4863 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
4864 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
4865 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
4866 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
4867 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
4868 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
4869 vtv_start_preinit.c: Use the standard form for the copyright notice.
4870
e430824f
CLT
48712013-12-31 Sandra Loosemore <sandra@codesourcery.com>
4872 Chung-Lin Tang <cltang@codesourcery.com>
4873 Based on patches from Altera Corporation
4874
4875 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
4876 * config/nios2/lib2-nios2.h: New file.
4877 * config/nios2/lib2-divmod-hi.c: New file.
4878 * config/nios2/linux-unwind.h: New file.
4879 * config/nios2/lib2-divmod.c: New file.
4880 * config/nios2/linux-atomic.c: New file.
4881 * config/nios2/t-nios2: New file.
4882 * config/nios2/crti.asm: New file.
4883 * config/nios2/t-linux: New file.
4884 * config/nios2/lib2-divtable.c: New file.
4885 * config/nios2/lib2-mul.c: New file.
4886 * config/nios2/tramp.c: New file.
4887 * config/nios2/crtn.asm: New file.
4888
1879e97f
UB
48892013-12-26 Uros Bizjak <ubizjak@gmail.com>
4890
4891 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
4892 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
4893 from cpuid.h to check vendor signatures.
4894
f4a4bdbb
GG
48952013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
4896
c2e7e597 4897 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
f4a4bdbb
GG
4898 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
4899 (get_amd_cpu): Likewise.
4900
8d2ae544
L
49012013-12-25 H.J. Lu <hongjiu.lu@intel.com>
4902
4903 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
4904 Haswell.
4905
74924838
ASJ
49062013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
4907 H.J. Lu <hongjiu.lu@intel.com>
4908
0bb52f25
L
4909 PR target/59422
4910 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
74924838
ASJ
4911 and AMD_JAGUAR.
4912 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
4913 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
4914 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
4915 FEATURE_XOP and FEATURE_FMA.
4916 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
4917 AMDFAM15H_BDVER3.
4918 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
0bb52f25 4919 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
74924838
ASJ
4920 FEATURE_FMA4 and FEATURE_XOP.
4921
d3c11974
L
49222013-12-23 H.J. Lu <hongjiu.lu@intel.com>
4923
4924 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
4925 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
4926 (get_intel_cpu): Updated.
4927
064c4ff2
ZC
49282013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
4929
4930 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
4931
8b02e720
UB
49322013-12-09 Uros Bizjak <ubizjak@gmail.com>
4933
4934 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
1f71a3c3 4935 instructions when __SSE_MATH__ is defined.
8b02e720 4936
3fa2ccb4
RC
49372013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
4938
4939 * config.host (microblaze-*-rtems*): New.
4940
ecd78fc9
KV
49412013-12-04 Kugan Vivekanandarajah <kuganv@linaro.org>
4942
4943 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
4944 architectures that do not have hardware divide instruction.
4945 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
4946
b21fbbd2
RS
49472013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
4948
4949 * longlong.h: Delete (moved to include/).
4950
b03fb8c9
AZ
49512013-12-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4952
4953 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
4954 of normal number and qNaN to not raise an inexact exception.
4955
3c716922
UB
49562013-11-28 Uros Bizjak <ubizjak@gmail.com>
4957
4958 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
4959
49602013-11-28 Matthew Leach <matthew.leach@arm.com>
cceeb9a9
ML
4961
4962 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
4963 for correct opcodes on BE.
4964
a3458d22
UB
49652013-11-27 Uros Bizjak <ubizjak@gmail.com>
4966
4967 * soft-fp/op-4.h: Update from glibc.
4968
30b8f78b
KV
49692013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
4970
4971 * libgcc2.c (__udivmoddi4): Define new implementation when
4972 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
4973 divide instructions.
4974
82552a29
OE
49752013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
4976
4977 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
4978
80e87457
RO
49792013-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4980
4981 * config/t-softfp (soft-fp-objects-base): New variable.
4982 (soft-fp-objects): Use it.
4983
44178879
DE
49842013-11-23 David Edelson <dje.gcc@gmail.com>
4985 Andrew Dixie <andrewd@gentrack.com>
4986
4987 PR target/33704
4988 * config/rs6000/aixinitfini.c: New file.
4989 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
4990 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
4991 symbols.
4992
e5287671
YR
49932013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
4994
a3458d22 4995 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
e5287671 4996
867c8b03
JH
49972013-11-18 Jan Hubicka <jh@suse.cz>
4998
7f369373
JH
4999 * libgcov-driver.c (run_accounted): Make global level static.
5000 (gcov_exit_merge_summary): Silence warning; do not clear
5001 run_accounted here.
5002 (gcov_exit): Clear it here.
5003
1d0b3334
JH
5004 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
5005 run_accounted.
5006
867c8b03
JH
5007 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
5008 (all_prg, crc32): Remove static vars.
5009 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
5010 all_prg.
5011 (gcov_exit_merge_gcda): Add crc32 parameter.
5012 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
5013 do not account run if it was already accounted.
5014 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
5015 (gcov_exit): Initialize all_prg; update.
5016
66204992
AS
50172013-11-15 Andreas Schwab <schwab@linux-m68k.org>
5018
5019 * configure: Regenerate.
5020
b54214fe
UW
50212013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5022 Alan Modra <amodra@gmail.com>
5023
5024 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
5025 (frob_update_context): Use it.
5026
50272013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5028 Alan Modra <amodra@gmail.com>
5029
5030 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
5031 (trampoline_initial): Provide ELFv2 variant.
5032 (__trampoline_setup): Likewise.
5033
5034 * config/rs6000/linux-unwind.h (frob_update_context): Do not
5035 check for AIX indirect function call sequence if _CALL_ELF == 2.
5036
50372013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5038 Alan Modra <amodra@gmail.com>
5039
5040 * config/rs6000/linux-unwind.h (get_regs): Do not support
5041 old kernel versions if _CALL_ELF == 2.
5042 (frob_update_context): Do not support PLT stub variants only
5043 generated by old linkers if _CALL_ELF == 2.
5044
13e0981a
UW
50452013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5046 Alan Modra <amodra@gmail.com>
5047
5048 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
5049 location of CR save area for 64-bit little-endian systems.
5050
1a80085d
EB
50512013-11-11 Eric Botcazou <ebotcazou@adacore.com>
5052
5053 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
5054 in tmake_file.
5055 * config/arm/t-vxworks: Delete.
5056
cabeea52
KT
50572013-11-10 Kai Tietz <ktietz@redhat.com>
5058
5059 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
5060 Increment load-count on use of LIBGCC_SONAME DLL.
5061 (hmod_libgcc): New static variable to hold handle of
5062 LIBGCC_SONAME DLL.
5063 (__gcc_deregister_frame): Decrement load-count of
5064 LIBGCC_SONAME DLL.
5065
ac088ba1
BRF
50662013-11-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
5067
5068 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
5069 availability.
5070 * configure: Regenerate
5071
d59a8fcc
UB
50722013-11-07 Uros Bizjak <ubizjak@gmail.com>
5073
5074 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
5075 FP_EX_DENORM. Store result to volatile location after SSE division
5076 to close interrupt window. Remove unneeded fwait after x87
5077 division since interrupt window will be closed by emitted fstp.
9de84e84 5078 Rewrite FP_EX_INEXACT handling.
d59a8fcc 5079
9954c743
JM
50802013-11-06 Joseph Myers <joseph@codesourcery.com>
5081
5082 * soft-fp/README: Update.
5083 * soft-fp/adddf3.c: Update from glibc.
5084 * soft-fp/addsf3.c: Likewise.
5085 * soft-fp/addtf3.c: Likewise.
5086 * soft-fp/divdf3.c: Likewise.
5087 * soft-fp/divsf3.c: Likewise.
5088 * soft-fp/divtf3.c: Likewise.
5089 * soft-fp/double.h: Likewise.
5090 * soft-fp/eqdf2.c: Likewise.
5091 * soft-fp/eqsf2.c: Likewise.
5092 * soft-fp/eqtf2.c: Likewise.
5093 * soft-fp/extenddftf2.c: Likewise.
5094 * soft-fp/extended.h: Likewise.
5095 * soft-fp/extendsfdf2.c: Likewise.
5096 * soft-fp/extendsftf2.c: Likewise.
5097 * soft-fp/extendxftf2.c: Likewise.
5098 * soft-fp/fixdfdi.c: Likewise.
5099 * soft-fp/fixdfsi.c: Likewise.
5100 * soft-fp/fixdfti.c: Likewise.
5101 * soft-fp/fixsfdi.c: Likewise.
5102 * soft-fp/fixsfsi.c: Likewise.
5103 * soft-fp/fixsfti.c: Likewise.
5104 * soft-fp/fixtfdi.c: Likewise.
5105 * soft-fp/fixtfsi.c: Likewise.
5106 * soft-fp/fixtfti.c: Likewise.
5107 * soft-fp/fixunsdfdi.c: Likewise.
5108 * soft-fp/fixunsdfsi.c: Likewise.
5109 * soft-fp/fixunsdfti.c: Likewise.
5110 * soft-fp/fixunssfdi.c: Likewise.
5111 * soft-fp/fixunssfsi.c: Likewise.
5112 * soft-fp/fixunssfti.c: Likewise.
5113 * soft-fp/fixunstfdi.c: Likewise.
5114 * soft-fp/fixunstfsi.c: Likewise.
5115 * soft-fp/fixunstfti.c: Likewise.
5116 * soft-fp/floatdidf.c: Likewise.
5117 * soft-fp/floatdisf.c: Likewise.
5118 * soft-fp/floatditf.c: Likewise.
5119 * soft-fp/floatsidf.c: Likewise.
5120 * soft-fp/floatsisf.c: Likewise.
5121 * soft-fp/floatsitf.c: Likewise.
5122 * soft-fp/floattidf.c: Likewise.
5123 * soft-fp/floattisf.c: Likewise.
5124 * soft-fp/floattitf.c: Likewise.
5125 * soft-fp/floatundidf.c: Likewise.
5126 * soft-fp/floatundisf.c: Likewise.
5127 * soft-fp/floatunditf.c: Likewise.
5128 * soft-fp/floatunsidf.c: Likewise.
5129 * soft-fp/floatunsisf.c: Likewise.
5130 * soft-fp/floatunsitf.c: Likewise.
5131 * soft-fp/floatuntidf.c: Likewise.
5132 * soft-fp/floatuntisf.c: Likewise.
5133 * soft-fp/floatuntitf.c: Likewise.
5134 * soft-fp/gedf2.c: Likewise.
5135 * soft-fp/gesf2.c: Likewise.
5136 * soft-fp/getf2.c: Likewise.
5137 * soft-fp/ledf2.c: Likewise.
5138 * soft-fp/lesf2.c: Likewise.
5139 * soft-fp/letf2.c: Likewise.
5140 * soft-fp/muldf3.c: Likewise.
5141 * soft-fp/mulsf3.c: Likewise.
5142 * soft-fp/multf3.c: Likewise.
5143 * soft-fp/negdf2.c: Likewise.
5144 * soft-fp/negsf2.c: Likewise.
5145 * soft-fp/negtf2.c: Likewise.
5146 * soft-fp/op-1.h: Likewise.
5147 * soft-fp/op-2.h: Likewise.
5148 * soft-fp/op-4.h: Likewise.
5149 * soft-fp/op-8.h: Likewise.
5150 * soft-fp/op-common.h: Likewise.
5151 * soft-fp/quad.h: Likewise.
5152 * soft-fp/single.h: Likewise.
5153 * soft-fp/soft-fp.h: Likewise.
5154 * soft-fp/subdf3.c: Likewise.
5155 * soft-fp/subsf3.c: Likewise.
5156 * soft-fp/subtf3.c: Likewise.
5157 * soft-fp/truncdfsf2.c: Likewise.
5158 * soft-fp/trunctfdf2.c: Likewise.
5159 * soft-fp/trunctfsf2.c: Likewise.
5160 * soft-fp/trunctfxf2.c: Likewise.
5161 * soft-fp/unorddf2.c: Likewise.
5162 * soft-fp/unordsf2.c: Likewise.
5163 * soft-fp/unordtf2.c: Likewise.
5164
02ac9503
UB
51652013-11-05 Uros Bizjak <ubizjak@gmail.com>
5166
5167 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
5168 (_FP_MUL_MEAT_D): Ditto.
5169 (_FP_DIV_MEAT_S): Ditto.
5170 (_FP_DIV_MEAT_D): Ditto.
5171 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
5172 t-softfp-sfdf and t-softfp to tmake_file.
5173
61221141
UB
51742013-11-03 Uros Bizjak <ubizjak@gmail.com>
5175
5176 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
5177 * config/i386/crtprec.c: Ditto.
5178
9304f876
CJW
51792013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
5180 Shiva Chen <shiva0217@gmail.com>
5181
5182 * config.host (nds32*-elf*): Add nds32 target.
5183 * config/nds32 : New directory and files.
5184
0e499e75
HPN
51852013-10-16 Hans-Peter Nilsson <hp@axis.com>
5186
5187 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
5188 * config.host (cpu_type) <Setting default>: Add entry for
5189 crisv32-*-*.
5190 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
5191 <crisv32-*-linux*>: Adjust.
5192 * longlong.h: Wrap the whole CRIS section in a single
5193 defined(__CRIS__) conditional. Add comment about add_ssaaaa
5194 and sub_ddmmss.
5195 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
5196 defined.
5197 [__CRIS__] (__umulsidi3): Define.
5198 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
5199 * config/cris/sfp-machine.h: New file.
5200 * config/cris/umulsidi3.S: New file.
5201 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
5202 * config/cris/arit.c (SIGNMULT): New macro.
5203 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
5204 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
5205 saving 3 out of originally 33 cycles from the fastest
5206 path, 3 out of 54 from the medium path and one from the longest
5207 path. Improve comments.
5208
16022041
RS
52092013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
5210
5211 * sync.c: Remove static aliases and define each function directly
5212 under its real name.
5213
69778659
JDA
52142013-10-02 John David Anglin <danglin@gcc.gnu.org>
5215
5216 * config.host (hppa*64*-*-linux*): Define extra_parts.
5217 (hppa*-*-linux*): Likewise.
5218
2deaf8b0
JR
52192013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
5220
5221 * config/arc/crtgend.S: Add 2013 to Copyright years.
5222 * config/arc/gmon/atomic.h: Likewise.
5223 * config/arc/gmon/auxreg.h: Likewise.
5224 * config/arc/gmon/sys/gmon_out.h: Likewise.
5225 * config/arc/gmon/sys/gmon.h: Likewise.
5226 * config/arc/gmon/prof-freq.c: Likewise.
5227 * config/arc/gmon/mcount.c: Likewise.
5228 * config/arc/gmon/prof-freq-stub.S: Likewise.
5229 * config/arc/gmon/gmon.c: Likewise.
5230 * config/arc/gmon/machine-gmon.h: Likewise.
5231 * config/arc/gmon/profil.S: Likewise.
5232 * config/arc/gmon/dcache_linesz.S: Likewise.
5233 * config/arc/crtg.S: Likewise.
5234 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
5235 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
5236 * config/arc/ieee-754/adddf3.S: Likewise.
5237 * config/arc/ieee-754/truncdfsf2.S: Likewise.
5238 * config/arc/ieee-754/fixsfsi.S: Likewise.
5239 * config/arc/ieee-754/gtsf2.S: Likewise.
5240 * config/arc/ieee-754/floatsisf.S: Likewise.
5241 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
5242 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
5243 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
5244 * config/arc/ieee-754/fixdfsi.S: Likewise.
5245 * config/arc/ieee-754/addsf3.S: Likewise.
5246 * config/arc/ieee-754/gesf2.S: Likewise.
5247 * config/arc/ieee-754/floatsidf.S: Likewise.
5248 * config/arc/ieee-754/extendsfdf2.S: Likewise.
5249 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
5250 * config/arc/ieee-754/gtdf2.S: Likewise.
5251 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
5252 * config/arc/ieee-754/uneqdf2.S: Likewise.
5253 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
5254 * config/arc/ieee-754/uneqsf2.S: Likewise.
5255 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
5256 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
5257 * config/arc/ieee-754/eqdf2.S: Likewise.
5258 * config/arc/ieee-754/ordsf2.S: Likewise.
5259 * config/arc/ieee-754/divsf3.S: Likewise.
5260 * config/arc/ieee-754/divdf3.S: Likewise.
5261 * config/arc/ieee-754/floatunsidf.S: Likewise.
5262 * config/arc/ieee-754/orddf2.S: Likewise.
5263 * config/arc/ieee-754/eqsf2.S: Likewise.
5264 * config/arc/ieee-754/gedf2.S: Likewise.
5265 * config/arc/crtn.S: Likewise.
5266 * config/arc/crti.S: Likewise.
5267 * config/arc/t-arc700-uClibc: Likewise.
5268 * config/arc/asm.h: Likewise.
5269 * config/arc/libgcc-excl.ver: Likewise.
5270 * config/arc/t-arc-newlib: Likewise.
5271 * config/arc/divtab-arc700.c: Likewise.
5272 * config/arc/initfini.c: Likewise.
5273 * config/arc/fp-hack.h: Likewise.
5274
c8e318b0
JR
52752013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
5276 Diego Novillo <dnovillo@google.com>
5277
5278 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
a07c5b47
JR
5279 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
5280 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
5281 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
c8e318b0 5282
d38a64b4
JR
52832013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
5284 Brendan Kehoe <brendan@zen.org>
5285 Simon Cook <simon.cook@embecosm.com>
5286
5287 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
5288 * config/arc: New directory.
5289 * longlong.h [__arc__] (umul_ppmm): Remove.
5290 [__arc__] (__umulsidi3): Define.
5291 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
5292 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
5293
dff717d2
JC
52942013-09-17 Jacek Caban <jacek@codeweavers.com>
5295
5296 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
5297 CreateSemaphoreA.
5298 * config/i386/gthr-win32.h: Likewise.
5299
5c0029de
DD
53002013-09-16 DJ Delorie <dj@redhat.com>
5301
844ad6c6 5302 * config/rl78/vregs.h: Add G10 register definitions.
5c0029de
DD
5303 * config/rl78/lib2mul.c: Enable for RL78/G10.
5304 * config/rl78/lib2div.c: Likewise.
5305 * config/rl78/lshrsi3.S: Use vregs.h.
5306 * config/rl78/cmpsi2.S: Likewise.
5307 * config/rl78/trampoline.S: Likewise.
5308 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
5309
ceb2fc49
DD
53102013-09-14 DJ Delorie <dj@redhat.com>
5311 Nick Clifton <nickc@redhat.com>
5312
5313 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
5314 * config/rl78/vregs.h: New.
5315 * config/rl78/signbit.S: New file. Implements signbit function.
5316 * config/rl78/divmodsi.S: New.
5317 * config/rl78/divmodhi.S: New.
5318 * config/rl78/divmodqi.S: New.
5319 * config/rl78/t-rl78: Build them here...
5320 * config/rl78/lib2div.c: ...but not here.
5321
f6a83b4a
DD
53222013-09-12 DJ Delorie <dj@redhat.com>
5323
5324 * config.host (msp*-*-elf): New.
5325 * config/msp430/: New port.
5326
9107b096
IS
53272013-08-18 Iain Sandoe <iain@codesourcery.com>
5328
5329 PR gcov-profile/58127
5330 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
5331 __thread var for emulated TLS.
5332 (__gcov_indirect_call_counters): Likewise.
5333
0f9bde1f 53342013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
61221141 5335 Catherine Moore <clm@codesourcery.com>
7d296953 5336 Richard Sandiford <rdsandiford@googlemail.com>
0f9bde1f
MR
5337
5338 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
5339 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
5340 (CALL_STUB_NO_RET): Likewise.
5341 (CALL_STUB_RET): Likewise.
5342 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
5343 __mips16_ret call/return stub symbols.
5344 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
5345 to tmake_file.
5346
2dc14aac
MR
53472013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
5348
5349 * config.host <mips*-*-linux*>: Remove a stray comment.
5350
748d71f3
JH
53512013-08-10 Jan Hubicka <jh@suse.cz>
5352
5353 Work around binutils PR14342
5354 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
5355 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
5356 (L_gcov_indirect_call_profiler_v2): New.
5357
2fa3d31b
JH
53582013-08-06 Jan Hubicka <jh@suse.cz>
5359
5360 * libgcov.c (__gcov_indirect_call_callee,
5361 __gcov_indirect_call_counters): New global vars.
5362 (__gcov_indirect_call_profiler): replace by ...
5363 (__gcov_indirect_call_profiler_v2) ... this one.
5364
2077db1b
CT
53652013-08-06 Caroline Tice <cmtice@google.com>
5366
d0595b65 5367 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
2077db1b 5368 vtv_start_preinit.o and vtv_end_preinit.o.
d0595b65
CT
5369 * configure.ac: Add code to check/set enable_vtable_verify.
5370 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
2077db1b 5371 true.
d0595b65
CT
5372 * vtv_start_preinit.c: New file.
5373 * vtv_end_preinit.c: New file.
5374 * vtv_start.c: New file.
5375 * vtv_end.c: New file.
5376 * configure: Regenerated.
2077db1b 5377
46549c20
MK
53782013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
5379
5380 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
5381 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
5382 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
5383 GPL-3.0-with-GCC-exception.
5384
72be589b
MR
53852013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
5386
5387 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
5388 ISA and up.
5389
902a3faf
AK
53902013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5391
5392 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
5393 mapping for FPRs when creating the fallback framestate.
5394
02371798
GJL
53952013-07-19 Georg-Johann Lay <avr@gjlay.de>
5396
5397 PR target/57516
5398 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
5399 (__round_s2_const, __round_u2_const)
5400 (__round_s4_const, __round_u4_const, __round_x8):
5401 Saturate result if addition result cannot be represented.
5402
ab0e8379
MK
54032013-07-15 Matthias Klose <doko@ubuntu.com>
5404
5405 * libgcc2.c: Don't include <limits.h>.
5406
7da38058
JJ
54072013-07-09 Janis Johnson <janisjo@codesourcery.com>
5408
5409 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
5410
1f6eac90
JJ
54112013-07-06 Jakub Jelinek <jakub@redhat.com>
5412
5413 PR target/29776
5414 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
5415
4ea3d774
JJ
54162013-06-28 Jakub Jelinek <jakub@redhat.com>
5417
5418 PR middle-end/36041
5419 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
5420 Define.
5421 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
5422 instead of table lookups.
5423 (__popcountDI2): Likewise.
5424
9d2cdf25
CJW
54252013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
5426
5427 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
5428 correctly.
5429
fa1e55b0
JM
54302013-06-21 Joseph Myers <joseph@codesourcery.com>
5431
5432 PR other/53317
5433 * soft-fp/adddf3.c: Update from glibc.
5434 * soft-fp/addsf3.c: Likewise.
5435 * soft-fp/addtf3.c: Likewise.
5436 * soft-fp/divdf3.c: Likewise.
5437 * soft-fp/divsf3.c: Likewise.
5438 * soft-fp/divtf3.c: Likewise.
5439 * soft-fp/double.h: Likewise.
5440 * soft-fp/eqdf2.c: Likewise.
5441 * soft-fp/eqsf2.c: Likewise.
5442 * soft-fp/eqtf2.c: Likewise.
5443 * soft-fp/extenddftf2.c: Likewise.
5444 * soft-fp/extended.h: Likewise.
5445 * soft-fp/extendsfdf2.c: Likewise.
5446 * soft-fp/extendsftf2.c: Likewise.
5447 * soft-fp/fixdfdi.c: Likewise.
5448 * soft-fp/fixdfsi.c: Likewise.
5449 * soft-fp/fixsfdi.c: Likewise.
5450 * soft-fp/fixsfsi.c: Likewise.
5451 * soft-fp/fixtfdi.c: Likewise.
5452 * soft-fp/fixtfsi.c: Likewise.
5453 * soft-fp/fixunsdfdi.c: Likewise.
5454 * soft-fp/fixunsdfsi.c: Likewise.
5455 * soft-fp/fixunssfdi.c: Likewise.
5456 * soft-fp/fixunssfsi.c: Likewise.
5457 * soft-fp/fixunstfdi.c: Likewise.
5458 * soft-fp/fixunstfsi.c: Likewise.
5459 * soft-fp/floatdidf.c: Likewise.
5460 * soft-fp/floatdisf.c: Likewise.
5461 * soft-fp/floatditf.c: Likewise.
5462 * soft-fp/floatsidf.c: Likewise.
5463 * soft-fp/floatsisf.c: Likewise.
5464 * soft-fp/floatsitf.c: Likewise.
5465 * soft-fp/floatundidf.c: Likewise.
5466 * soft-fp/floatundisf.c: Likewise.
5467 * soft-fp/floatunditf.c: Likewise.
5468 * soft-fp/floatunsidf.c: Likewise.
5469 * soft-fp/floatunsisf.c: Likewise.
5470 * soft-fp/floatunsitf.c: Likewise.
5471 * soft-fp/gedf2.c: Likewise.
5472 * soft-fp/gesf2.c: Likewise.
5473 * soft-fp/getf2.c: Likewise.
5474 * soft-fp/ledf2.c: Likewise.
5475 * soft-fp/lesf2.c: Likewise.
5476 * soft-fp/letf2.c: Likewise.
5477 * soft-fp/muldf3.c: Likewise.
5478 * soft-fp/mulsf3.c: Likewise.
5479 * soft-fp/multf3.c: Likewise.
5480 * soft-fp/negdf2.c: Likewise.
5481 * soft-fp/negsf2.c: Likewise.
5482 * soft-fp/negtf2.c: Likewise.
5483 * soft-fp/op-1.h: Likewise.
5484 * soft-fp/op-2.h: Likewise.
5485 * soft-fp/op-4.h: Likewise.
5486 * soft-fp/op-8.h: Likewise.
5487 * soft-fp/op-common.h: Likewise.
5488 * soft-fp/quad.h: Likewise.
5489 * soft-fp/single.h: Likewise.
5490 * soft-fp/soft-fp.h: Likewise.
5491 * soft-fp/subdf3.c: Likewise.
5492 * soft-fp/subsf3.c: Likewise.
5493 * soft-fp/subtf3.c: Likewise.
5494 * soft-fp/truncdfsf2.c: Likewise.
5495 * soft-fp/trunctfdf2.c: Likewise.
5496 * soft-fp/trunctfsf2.c: Likewise.
5497 * soft-fp/unorddf2.c: Likewise.
5498 * soft-fp/unordsf2.c: Likewise.
5499 * soft-fp/unordtf2.c: Likewise.
5500 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
5501 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5502 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5503 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5504 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5505 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5506 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5507 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5508 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5509 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
5510 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
5511 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5512
0de86a92
JU
55132013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
5514
5515 * config/mips/lib2funcs.c: New file.
5516 * config/mips/t-mips (LIB2ADD_ST): Add it.
5517
0d008882
OE
55182013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
5519
5520 PR target/6526
5521 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
5522 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
5523
776434d1
WL
55242013-06-08 Walter Lee <walt@tilera.com>
5525
5526 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
5527 Replace int64_t with long long. Add __extension__ where
5528 appropriate.
5529 * config/tilepro/atomic.c: Include config.h.
5530
6ab3ebb4
DR
55312013-06-06 Douglas B Rupp <rupp@adacore.com>
5532
5533 * config.host (arm-wrs-vxworks): Configure with other soft float.
5534
107eea2c
JU
55352013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
5536
5537 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
5538 (mips64r5900el-*-elf*): New configurations.
5539
5cc19c62
AM
55402013-06-04 Alan Modra <amodra@gmail.com>
5541
5542 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
5543
0f1d3965
YR
55442013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
5545
5546 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
5547
0ba045df
EB
55482013-05-28 Eric Botcazou <ebotcazou@adacore.com>
5549
5550 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
5551 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
5552 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
5553
49dcafd4
EB
55542013-05-22 Eric Botcazou <ebotcazou@adacore.com>
5555
5556 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
5557 (powerpc-wrs-vxworks): Likewise.
5558
4fcb5d87
EB
55592013-05-22 Eric Botcazou <ebotcazou@adacore.com>
5560
5561 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
5562 signal frames as well.
5563 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
5564 STACK_BIAS to the CFA offset.
5565
0ec33224
RH
55662013-05-17 Richard Henderson <rth@redhat.com>
5567
5568 PR target/49146
5569 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
5570 (execute_cfa_program): Use it when storing to fs->regs.
5571
492a8029
KT
55722013-05-08 Kai Tietz <ktietz@redhat.com>
5573
5574 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
5575 (__deregister_frame_info): Likewise.
5576
701e2f0a
TS
55772013-05-06 Thomas Schwinge <thomas@codesourcery.com>
5578
e5123d08
TS
5579 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
5580 NaN's payload.
5581
701e2f0a
TS
5582 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
5583
b9a7eb5d
AM
55842013-04-25 Alan Modra <amodra@gmail.com>
5585
5586 * config.host: Match little-endian powerpc-linux.
5587
dfe192f5
YZ
55882013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
5589
5590 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
5591 as 'unsigned long long' instead of 'unsigned long'.
5592 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
5593 'signed long'.
5594
b6b9af2f
JB
55952013-04-10 Julian Brown <julian@codesourcery.com>
5596
5597 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
5598 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
5599 unsigned char/unsigned short.
5600 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
5601
ecabdd00
JDA
56022013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
5603
5604 PR other/55274
5605 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
5606
34652576
MI
56072013-04-04 Meador Inge <meadori@codesourcery.com>
5608
5609 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
5610 computing the location of the link register.
5611 (aeabi_uldivmod): Ditto.
5612
e9fd8c19
KT
56132013-03-27 Kai Tietz <ktietz@redhat.com>
5614
5615 * config.host: Add support for cygwin x64 target.
5616 * configure: Regenerated.
5617
a6406324
WL
56182013-03-26 Walter Lee <walt@tilera.com>
5619
5620 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
5621 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
5622
55446c7e
KT
56232013-03-25 Kai Tietz <ktietz@redhat.com>
5624
5625 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
5626
d2ae19d9
RM
56272013-03-20 Robert Mason <rbmj@verizon.net>
5628
5629 * config/vxlib-tls.c (__gthread_get_tsd_data,)
5630 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
5631 (__gthread_leave_tsd_dtor_context): Add prototypes.
5632 (tls_delete_hook): Update.
5633
22c4c869
CM
56342013-03-20 Catherine Moore <clm@codesourcery.com>
5635 Joseph Myers <joseph@codesourcery.com>
5636 Chao-ying Fu <fu@mips.com>
5637
5638 * config/mips/mips16.S: Don't build for microMIPS.
5639 * config/mips/linux-unwind.h: Handle microMIPS frame.
5640 * config/mips/crtn.S (fini, init): New labels.
5641
fbd28bc3
JJ
56422013-03-14 Jakub Jelinek <jakub@redhat.com>
5643
5644 PR tree-optimization/53265
5645 * unwind-dw2.c (execute_cfa_program): Avoid
5646 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
5647 on targets with DWARF_FRAME_REGISTERS < 32.
5648
decc676e
OE
56492013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
5650
5651 PR target/49880
5652 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
5653 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
5654
84ea618a
ST
56552013-03-07 Sriraman Tallam <tmsriram@google.com>
5656
5657 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
5658 sandybridge processors.
5659
8f6d1c86
OE
56602013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
5661
5662 PR target/56529
5663 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
5664 inclusion list.
5665
ecdbd01a 56662013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
409b1de4
EI
5667
5668 * config/microblaze/crti.S: Setup stack protection at entry
5669
0b4ce21b
GJL
56702013-03-04 Georg-Johann Lay <avr@gjlay.de>
5671
5672 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
5673 (__rotldi3): Shift bytewise if applicable.
5674
b7c3f1ca
JG
56752013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
5676
5677 * config/aarch64/sync-cache.c
5678 (__aarch64_sync_cache_range): Silence warnings.
5679
6d65e8f1
CM
56802013-02-25 Catherine Moore <clm@codesourcery.com>
5681
5682 Revert:
5683 2013-02-24 Catherine Moore <clm@codesourcery.com>
5684 Joseph Myers <joseph@codesourcery.com>
5685 Chao-ying Fu <fu@mips.com>
5686
5687 * config/mips/mips16.S: Don't build for microMIPS.
5688 * config/mips/linux-unwind.h: Handle microMIPS frame.
5689 * config/mips/crtn.S (fini, init): New labels.
5690
6941b508
CM
56912013-02-24 Catherine Moore <clm@codesourcery.com>
5692 Joseph Myers <joseph@codesourcery.com>
5693 Chao-ying Fu <fu@mips.com>
5694
5695 * config/mips/mips16.S: Don't build for microMIPS.
5696 * config/mips/linux-unwind.h: Handle microMIPS frame.
5697 * config/mips/crtn.S (fini, init): New labels.
5698
7c422dbb 56992012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
cc86234f 5700 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
7c422dbb
EI
5701 as dividend.
5702
110207ad
AM
57032013-02-16 Alan Modra <amodra@gmail.com>
5704
5705 PR target/55431
5706 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
5707 (ppc_fallback_frame_state): Always set up save locations for fp
5708 and altivec. Don't bother with non-callee-saved regs, r0-r13
5709 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
5710
e68a4ef6
GJL
57112013-02-12 Georg-Johann Lay <avr@gjlay.de>
5712
5713 PR target/54222
5714 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
5715 _ssmulHA, _ssmulSA.
5716 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
5717 _ssmulha3, _usmulusa3, _ssmulsa3.
5718 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
5719 (__muldi3): XCALL __muldi3_6 instead of rcall.
5720 (__umulsidi3, __mulsidi3): New functions.
5721 (do_prologue_saves, do_epilogue_restores): New .macros.
5722 (__divdi3_moddi3): Use them.
5723 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
5724 (__usmulusa3, __ssmulsa3): New functions.
5725
6c59ffd1
IS
57262013-02-11 Iain Sandoe <iain@codesourcery.com>
5727 Jack Howarth <howarth@bromo.med.uc.edu>
5728 Patrick Marlier <patrick.marlier@gmail.com>
5729
5730 PR libitm/55693
5731 * config/darwin-crt-tm.c: Remove dummy functions hack.
5732
85d768f3
GJL
57332013-02-08 Georg-Johann Lay <avr@gjlay.de>
5734
5735 PR target/54222
5736 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
5737 * config/avr/lib2-object.mk: New iterator to build objects from it.
5738 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
5739 lib2funcs.c.
5740 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
5741 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
5742 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
5743 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
5744 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
5745 * config/avr/lib1funcs-fixed.S: Implement them.
5746
5d5bf775
RS
57472013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
5748
5749 Update copyright years.
5750
99113dff
DE
57512013-02-01 David Edelsohn <dje.gcc@gmail.com>
5752
5753 PR target/54601
5754 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
5755 Add crtcxa to extra_parts.
5756 * config/rs6000/exit.h: New file.
5757 * config/rs6000/cxa_atexit.c: New file.
5758 * config/rs6000/cxa_finalize.c: New file.
5759 * config/rs6000/crtcxa.c: New file.
5760 * config/rs6000/t-aix-cxa: New file.
5761 * config/rs6000/libgcc-aix-cxa.ver: New file.
5762
dbdbd982
NC
57632013-01-31 Nick Clifton <nickc@redhat.com>
5764
5765 * config/v850/lib1funcs.S: Add support for e3v5 architecture
5766 variant.
5767
5893f158
GJL
57682013-01-29 Georg-Johann Lay <avr@gjlay.de>
5769
5770 PR target/54222
5771 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
5772 _mulQQ, _mulHQ, _mulHA, _mulSA,
5773 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
5774 _divQQ, _divHQ, _divHA, _divSA,
5775 _divUQQ, _divUHQ, _divUHA, _divUSA.
5776
ecdbd01a 57772013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
fbf0cf90 5778
dbdbd982 5779 * config.host(microblaze*-linux*): tmake_file: Remove
fbf0cf90
DH
5780 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
5781 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
5782 to exclude functions from being built with libgcc.c and use
5783 the microblaze assembly.
5784
ecdbd01a 57852013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
6f14eef2
EI
5786
5787 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
5788 extra_parts.
5789
922c57d1
YZ
57902013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
5791
5792 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
5793 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
5794 __UINTPTR_TYPE__; also cast 'base' to the same type before the
5795 alignment operation.
5796
e0f8b6a0
SN
57972013-01-15 Sofiane Naci <sofiane.naci@arm.com>
5798
5799 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
5800 loop start address for cache clearing.
5801
00892272
GJL
58022013-01-14 Georg-Johann Lay <avr@gjlay.de>
5803
5804 * config/avr/lib1funcs.S: Remove trailing blanks.
5805 * config/avr/lib1funcs-fixed.S: Ditto.
5806
e59ec5fd
GJL
58072013-01-14 Georg-Johann Lay <avr@gjlay.de>
5808
5809 * config/avr/avr-lib.h: Add GPL copyright notice.
5810
3ffc1958
GJL
58112013-01-14 Georg-Johann Lay <avr@gjlay.de>
5812
5813 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
5814 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
5815 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
5816 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
5817
25c210f9
MK
58182013-01-07 Mark Kettenis <kettenis@openbsd.org>
5819
5820 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
5821 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
2bc15360 5822
db59befb
NC
58232013-01-04 Nick Clifton <nickc@redhat.com>
5824
5825 * config/v850/lib1funcs.S: Only provide CALLT support functions if
5826 the CALLT instruction is supported.
5827
5aa12dbf
JW
58282012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
5829
5830 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
5831 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
5832
65f14117
JT
58332012-12-13 John Tytgat <John@bass-software.com>
5834
5835 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
5836 is 25.
5837
ee3ae4f7
JJ
58382012-12-12 Jakub Jelinek <jakub@redhat.com>
5839
5840 PR libgcc/55451
5841 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
5842 undefined signed overflows.
5843
2fcfba3d
UB
58442012-12-09 Uros Bizjak <ubizjak@gmail.com>
5845
5846 PR target/55344
5847 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
5848
4f2b3dc2
UB
58492012-12-06 Uros Bizjak <ubizjak@gmail.com>
5850
5851 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
5852 (FP_TRAPPING_EXCEPTIONS): Define.
5853 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
5854 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
5855
066161a2
RH
58562012-12-04 Richard Henderson <rth@redhat.com>
5857
5858 PR bootstrap/55571
5859 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
5860
7d296953 58612012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
25626181 5862
4f2b3dc2 5863 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
25626181
MS
5864 (FP_EX_SHIFT): Define.
5865 (FP_TRAPPING_EXCEPTIONS): Define.
5866
7d296953 58672012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
868395e8
MS
5868
5869 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
5870 (FP_ROUNDMODE): Use FP_RND_MASK.
5871 * config/aarch64/sfp-exceptions.c: New.
5872 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
5873 Use __sfp_handle_exceptions.
5874
5005fe22
RE
58752012-12-04 Richard Earnshaw <rearnsha@arm.com>
5876
5877 * config.host: (arm*-*-freebsd*): Remove.
5878 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
5879 (arm*-*-elf*): Remove.
5880 (arm*-*-wince-pe*): Remove.
5881 * arm/unwind-arm.c (struct fpa_reg): Delete.
5882 (struct fpa_regs): Delete.
5883 (phase1_vrs): Remove fpa element.
5884 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
5885 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
5886 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
5887 * ieee754-sf.S (floatundisf): Remove FPA support.
5888 (floatdisf): Likewise.
5889 * ieee75f-df.S (floatundidf): Likewise.
5890 (floatdidf): Likewise.
5891
e5a81c8e
KT
58922012-11-29 Kai Tietz <ktietz@redhat.com>
5893
5894 PR target/55445
5895 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
5896 * unwind-generic.h: Likewise.
5897 * unwind-seh.c: Likewise.
5898
f4919e4a
RH
58992012-11-28 Richard Henderson <rth@redhat.com>
5900
5901 PR libgcc/48076
5902 * emutls.c (__emutls_get_address): Avoid race condition between
5903 obj->loc.offset read and emutls_key initialization.
4f2b3dc2 5904
e13d9d5a
GJL
59052012-11-22 Georg-Johann Lay <avr@gjlay.de>
5906
5907 Adjust decimal point of signed accum mode to GCC default.
5908
5909 PR target/54222
5910 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
5911 _divqq_helper.
5912 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
5913 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
5914 (__mulha3, __mulsa3)
5915 (__divqq3, __divha3, __divsa3): Adjust to new position of
4f2b3dc2
UB
5916 decimal point of signed accum types.
5917
e13d9d5a
GJL
5918 (__mulusa3_round): New function.
5919 (__mulusa3): Use it.
5920 (__divqq_helper): New function.
5921 (__udivuqq3): Use it.
5922
1b845c6e
JJ
59232012-11-20 Jakub Jelinek <jakub@redhat.com>
5924
5925 PR bootstrap/55370
5926 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
5927
822a258a
TJ
59282012-11-18 Teresa Johnson <tejohnson@google.com>
5929
5930 PR bootstrap/55051
5931 * libgcov.c (gcov_exit): Remove merged program summary
5932 comparison unless !GCOV_LOCKED.
5933
7d296953 59342012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
54f4eaf0
MS
5935
5936 * soft-fp: Updated from glibc upstream.
5937
e808687a
ILT
59382012-11-06 Ian Lance Taylor <iant@google.com>
5939
5940 * generic-morestack.c (__generic_morestack): Align the returned
5941 stack pointer to a 32 byte boundary.
5942 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
5943 increment the return address until we have decided that we don't
5944 have a varargs function.
5945 (__morestack) [32-bit]: Align stack correctly when calling C
5946 functions.
5947 (__morestack) [64-bit]: Likewise.
5948
460277e0
TS
59492012-11-04 Thomas Schwinge <thomas@codesourcery.com>
5950
5951 * configure: Regenerate.
5952
73edb277
UB
59532012-11-02 Uros Bizjak <ubizjak@gmail.com>
5954
5955 PR target/55175
5956 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
5957 * config/i386/sfp-machine.h: Guard exception handling
5958 code with _SOFT_FLOAT.
5959 * config/i386/32/sfp-machine.h: Guard rounding handling
5960 code with _SOFT_FLOAT.
5961 * config/i386/64/sfp-machine.h: Ditto.
5962
c1d4fa04
JS
59632012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
5964
5965 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
5966 as extra_parts.
5967
eff6ca85
UB
59682012-10-26 Uros Bizjak <ubizjak@gmail.com>
5969
5970 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
5971 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
5972 when appropriate. Correct structure element types.
5973 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
5974 -minline-all-stringops from compile flags.
5975
7d296953 59762012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
43a8f1a1
RC
5977
5978 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
5979
7d296953 59802012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
76c78361 5981
eff6ca85 5982 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
76c78361 5983
6f288860
SH
59842012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
5985
5986 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
5987 tmake_file.
5988
1e3d5096
IB
59892012-10-23 Ian Bolton <ian.bolton@arm.com>
5990 Jim MacArthur <jim.macarthur@arm.com>
5991 Marcus Shawcroft <marcus.shawcroft@arm.com>
5992 Nigel Stephens <nigel.stephens@arm.com>
5993 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
5994 Richard Earnshaw <rearnsha@arm.com>
5995 Sofiane Naci <sofiane.naci@arm.com>
5996 Stephen Thomas <stephen.thomas@arm.com>
5997 Tejas Belagod <tejas.belagod@arm.com>
5998 Yufeng Zhang <yufeng.zhang@arm.com>
5999
6000 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
6001 * config/aarch64/crti.S: New file.
6002 * config/aarch64/crtn.S: New file.
6003 * config/aarch64/linux-unwind.h: New file.
6004 * config/aarch64/sfp-machine.h: New file.
6005 * config/aarch64/sync-cache.c: New file.
6006 * config/aarch64/t-aarch64: New file.
6007 * config/aarch64/t-softfp: New file.
6008
8a740f07
HPN
60092012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
6010
6011 * config/mmix/crti.S: Mark program and data addresses using PRELD.
6012 Remove typo'd and unnecessary alignment-LOC for .data. Remove
6013 no-longer-needed LDBU insns.
6014
7d296953 60152012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
153c8397
SH
6016
6017 * config.host
6018 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
6019 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
6020
595fefee
MGD
60212012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
6022
6023 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
6024
9945a876
MK
60252012-10-15 Matthias Klose <doko@ubuntu.com>
6026
6027 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
6028
1183dc2c
PC
60292012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
6030
6031 * configure: Regenerate.
6032 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
6033
945a9c1f
UB
60342012-10-10 Uros Bizjak <ubizjak@gmail.com>
6035
6036 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
6037 instructions for 64bit targets only.
6038
fb8bf47a
UB
60392012-10-10 Uros Bizjak <ubizjak@gmail.com>
6040
6041 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
6042 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
6043 * config/i386/32/sfp-machine.h: ... here.
6044 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
6045 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
6046 New defines.
6047
acb72498
MK
60482012-10-07 Matthias Klose <doko@ubuntu.com>
6049
6050 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
6051 as unused.
6052 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
6053
8eaee0f0
MK
60542012-10-06 Mark Kettenis <kettenis@openbsd.org>
6055
6056 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
6057 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
6058 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
6059 (ElfW): Likewise.
6060
5e3e4fe8
JW
60612012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
6062
6063 PR other/53889
6064 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
6065 Fix parameter names.
6066
86086376
OE
60672012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
6068
6069 PR target/33135
6070 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
6071 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
6072 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
6073
9597375a
OE
60742012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
6075
6076 PR target/50457
6077 * config/sh/linux-atomic.S: Delete.
6078 * config/sh/linux-atomic.c: New.
6079 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
6080 linux-atomic.c. Add cflags to disable warnings.
6081
1504e3e1
JW
60822012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
6083
6084 PR other/53889
6085 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
6086 function.
6087 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
6088 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
6089 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
6090 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
5e3e4fe8
JW
6091 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
6092 Likewise.
1504e3e1
JW
6093 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
6094 Likewise.
6095 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
6096 Likewise.
6097 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
6098 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
6099
17f293b0
MK
61002012-09-19 Mark Kettenis <kettenis@openbsd.org>
6101
9597375a
OE
6102 * config.host (hppa-*-openbsd*): New target.
6103 * config/pa/t-openbsd: New file.
17f293b0 6104
51526856
GJL
61052012-09-15 Georg-Johann Lay <avr@gjlay.de>
6106
6107 PR target/54222
6108 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
6109 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
6110 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
6111 (__divsa3): Use __negsi2 to negate r_quoL.
6112 * config/avr/lib1funcs.S (FALIAS): New macro.
6113 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
6114 (__negsi2): ...this new function.
6115 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
6116 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
6117 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
6118 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
6119 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
6120 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
6121
aadb5b43
OE
61222012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
6123
6124 PR target/54089
6125 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
6126 (lshrsi3): Reimplement as lshrsi3_r0.
6127
d5d66749
AS
61282012-09-10 Andreas Schwab <schwab@linux-m68k.org>
6129
6130 PR target/46191
6131 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
6132 of libgcc.a.
6133
c6c36e73
TJ
61342012-09-07 Teresa Johnson <tejohnson@google.com>
6135
9597375a 6136 PR gcov-profile/54487
c6c36e73 6137 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
9597375a 6138 differences.
c6c36e73 6139
b588ae30
GJL
61402012-09-05 Georg-Johann Lay <avr@gjlay.de>
6141
6142 PR target/54461
6143 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
6144 not configured --with-avrlibc=no.
6145 * config/avr/t-avrlibc: New file.
6146 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
6147 (DPBIT_FUNCS): Ditto.
6148 (TPBIT_FUNCS): Ditto.
6149
abd16fb1
TJ
61502012-09-04 Teresa Johnson <tejohnson@google.com>
6151
6152 * libgcov.c (struct gcov_summary_buffer): New structure.
6153 (gcov_histogram_insert): New function.
6154 (gcov_compute_histogram): Ditto.
6155 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
6156 histograms during summary merging.
6157
613061fd
MK
61582012-09-01 Mark Kettenis <kettenis@openbsd.org>
6159
6160 * config.host (x86_64-*-openbsd*): New target.
73edb277 6161
867a8345
CLT
61622012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
6163
6164 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
6165 attribute.
6166
4aeaaca3
GJL
61672012-08-24 Georg-Johann Lay <avr@gjlay.de>
6168
6169 PR target/54222
6170 * config/avr/t-avr (conv_X): Rename to func_X.
6171
e55e4056
GJL
61722012-08-24 Georg-Johann Lay <avr@gjlay.de>
6173
6174 PR target/54222
6175 * config/avr/lib1funcs-fixed.S: New file.
6176 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
6177 after they are used.
6178 (neg2, neg4): New macros.
6179 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
6180 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
6181 (__umulhisi3): Speed up MUL variant if there is enough flash.
6182 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
6183 avr-modes.def.
6184 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
6185 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
6186 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
6187 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
6188 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
6189 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
6190 (LIB2FUNCS_EXCLUDE): Add supported functions.
6191
a147b6d2
GJL
61922012-08-22 Georg-Johann Lay <avr@gjlay.de>
6193
6194 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
6195 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
6196 libgcc-s-objects.
6197 * fixed-obj.mk: Only expand dependency if $o is not in
6198 LIB2FUNCS_EXCLUDE.
6199
c637141a
L
62002012-08-22 H.J. Lu <hongjiu.lu@intel.com>
6201
6202 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
6203
130e00bd
JM
62042012-08-22 Joseph Myers <joseph@codesourcery.com>
6205
6206 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
6207 depend on --enable-shared.
6208 ($(lib1asmfuncs-o)): Use %.vis files independent of
6209 --enable-shared.
6210 * static-object.mk ($(base)$(objext), $(base).vis)
6211 ($(base)_s$(objext)): Use same rules for visibility handling as in
6212 shared-object.mk.
6213
4b1b3788
ILT
62142012-08-21 Ian Lance Taylor <iant@google.com>
6215
6216 * config/i386/morestack.S (__morestack_non_split): Increase amount
6217 of space allocated for non-split code stack.
6218
d2468141
JM
62192012-08-19 Joseph Myers <joseph@codesourcery.com>
6220
6221 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
6222 even if inhibit_libc.
6223
a508e1a8
JB
62242012-08-17 Julian Brown <julian@codesourcery.com>
6225
6226 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
6227 -fexceptions -fnon-call-exceptions if not defined.
6228 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
6229 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
6230
5615a07d
AS
62312012-08-17 Andreas Schwab <schwab@linux-m68k.org>
6232
6233 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
6234 type.
6235
138f5acd
DE
62362012-08-16 David Edelsohn <dje.gcc@gmail.com>
6237
6238 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
6239 rs6000/t-slibgcc-aix.
6240
18efc0dd
SB
62412012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
6242
6243 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
6244
6b39bc38
SB
62452012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
6246
6247 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
6248
cd25dea0
L
62492012-08-03 H.J. Lu <hongjiu.lu@intel.com>
6250
6251 PR driver/54171
6252 * Makefile.in (version): Replace top_srcdir with srcdir.
6253
a3dda30b
JY
62542012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
6255
6256 * Makefile.in (version): set to BASE-VER file from gcc directory.
6257
d04aacfc
NC
62582012-08-01 Nick Clifton <nickc@redhat.com>
6259
6260 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
6261 Implements __clrsb for an HImode argument.
6262
0d13c974
NC
62632012-07-31 Nick Clifton <nickc@redhat.com>
6264
6265 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
6266 Implements __clrsb for an HImode argument.
6267 * config/stormy16/clrsbhi2.c: New file:
6268 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
6269
efbb59b2
SB
62702012-07-22 Steven Bosscher <steven@gcc.gnu.org>
6271
6272 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
6273
bf1431e3
TG
62742012-07-19 Tristan Gingold <gingold@adacore.com>
6275 Richard Henderson <rth@redhat.com>
6276
6277 * unwind-seh.c: New file.
6278 * unwind-generic.h: Include windows.h for SEH.
6279 (_Unwind_Exception): Use 6 private fields for SEH.
6280 (_GCC_specific_handler): Declare.
6281 * unwind-c.c (__gcc_personality_seh0): New function.
6282 Adjust for SEH.
6283 * config/i386/libgcc-cygming.ver: New file.
6284 * config/i386/t-seh-eh: New file.
6285 * config.host (x86_64-*-mingw*): Default to seh.
6286
659140c8
SB
62872012-07-14 Steven Bosscher <steven@gcc.gnu.org>
6288
6289 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
6290
a20d08fd
UB
62912012-06-17 Uros Bizjak <ubizjak@gmail.com>
6292
6293 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
6294 __builtin_expect when checking for exceptions.
6295 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
6296
79261115
UB
62972012-06-13 Uros Bizjak <ubizjak@gmail.com>
6298
4a172156
UB
6299 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
6300 function declaration.
6301 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
6302 (FP_RND_MASK): New.
6303 * config/ia64/sfp-exceptions.c: New.
6304 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
79261115 6305
bb5c97d4
UB
63062012-06-13 Uros Bizjak <ubizjak@gmail.com>
6307
6308 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
6309 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
6310 * config/i386/64/sfp-machine: ... (delete here) ...
6311 * config/i386/sfp-machine.h: ... to here.
6312 (FP_EX_MASK): Remove.
6313 (FP_RND_MASK): New.
6314 (FP_INIT_ROUNDMODE): Declare asm as volatile.
6315
91fe5efb
ST
63162012-06-11 Sriraman Tallam <tmsriram@google.com>
6317
6318 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
6319 * config/i386/libgcc-sol2.ver: Ditto.
6320 * config/i386/libgcc-glibc.ver: Ditto.
6321
67a218c5
RM
63222012-06-11 Roland McGrath <mcgrathr@google.com>
6323
6324 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
6325 If __GLIBC__ is defined, refer to __pthread_key_create instead of
6326 pthread_cancel.
6327
492fbea1
UB
63282012-06-09 Uros Bizjak <ubizjak@gmail.com>
6329
6330 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
6331 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
6332 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
6333 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
6334 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
6335 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
6336 * config/i386/64/sfp-machine: ... (delete here) ...
6337 * config/i386/sfp-machine.h: ... to here.
6338 (FP_EX_MASK): New.
6339 (__sfp_handle_exceptions): New function declaration.
6340 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
6341 * config/i386/sfp-exceptions.c: New.
6342 * config/i386/t-softfp: New.
6343 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
6344 i386/t-softfp to tmake_file.
6345
7b4cf266
DM
63462012-06-03 David S. Miller <davem@davemloft.net>
6347
6348 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
6349 change.
6350
0de0d5c6
DM
63512012-05-31 David S. Miller <davem@davemloft.net>
6352
6353 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
6354 multiply and divide instructions on 32-bit when V9.
6355 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
6356
d8c9d391
JM
63572012-05-29 Joseph Myers <joseph@codesourcery.com>
6358
6359 * config/arm/ieee754-df.S: Fix typos.
6360 * config/arm/ieee754-sf.S: Fix typos.
6361 * config/c6x/libunwind.S: Fix typos.
6362 * config/epiphany/udivsi3-float.c: Fix typos.
6363 * config/microblaze/muldi3_hard.S: Fix typos.
6364 * config/picochip/adddi3.S: Fix typos.
6365 * config/picochip/ashlsi3.S: Fix typos.
6366 * config/picochip/ashrsi3.S: Fix typos.
6367 * config/picochip/clzsi2.S: Fix typos.
6368 * config/picochip/cmpsi2.S: Fix typos.
6369 * config/picochip/divmod15.S: Fix typos.
6370 * config/picochip/divmodhi4.S: Fix typos.
6371 * config/picochip/divmodsi4.S: Fix typos.
6372 * config/picochip/longjmp.S: Fix typos.
6373 * config/picochip/lshrsi3.S: Fix typos.
6374 * config/picochip/parityhi2.S: Fix typos.
6375 * config/picochip/popcounthi2.S: Fix typos.
6376 * config/picochip/setjmp.S: Fix typos.
6377 * config/picochip/subdi3.S: Fix typos.
6378 * config/picochip/ucmpsi2.S: Fix typos.
6379 * config/picochip/udivmodhi4.S: Fix typos.
6380 * config/picochip/udivmodsi4.S: Fix typos.
6381 * config/spu/divv2df3.c: Fix typos.
6382 * config/spu/mfc_multi_tag_release.c: Fix typos.
6383 * config/spu/mfc_tag_release.c: Fix typos.
6384 * configure.ac: Fix typos.
6385 * configure: Regenerate.
6386
31a18a7e
ILT
63872012-05-25 Ian Lance Taylor <iant@google.com>
6388
6389 * config/i386/morestack.S (__morestack_non_split): Check whether
6390 caller is varargs and needs %bp to hold the stack frame on return.
6391
c5768510
OH
63922012-05-25 Olivier Hainque <hainque@adacore.com>
6393
6394 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
6395 sequence in the non pic case on VxWorks.
6396
7c7c339b
OH
63972012-05-24 Olivier Hainque <hainque@adacore.com>
6398
73fb7630 6399 * Makefile.in: Move dependency on install-unwind_h from
7c7c339b
OH
6400 "install-leaf" to "install".
6401
fdc1b7d3
OH
64022012-05-24 Olivier Hainque <hainque@adacore.com>
6403
6404 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
6405 Use a separate command for stamp removals.
6406
07ba94b9
AP
64072012-05-21 Andrew Pinski <apinski@cavium.com>
6408
6409 PR bootstrap/53183
6410 * configure.ac: Define the default includes to being none.
6411 * configure: Regenerate.
6412
4677d2eb
OH
64132012-05-16 Olivier Hainque <hainque@adacore.com>
6414
6415 * Makefile.in (install-unwind_h): Rename into ...
6416 (install-unwind_h-forbuild): New target.
6417 (all): Use it instead of the former install-unwind_h.
6418 (install-unwind_h): Reinstate, copy to user install destination
6419 for include files, not to the internal gcc object directory one.
6420 (install-leaf): Depend on it.
6421
7d67c380
OH
64222012-05-15 Olivier Hainque <hainque@adacore.com>
6423
6424 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
6425 register numbers. LR_REGNO replaces R_LR.
6426 (ucontext_for): New, helper for ...
6427 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
6428 and 5.3 of ...
6429 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
6430
aca06c90
RO
64312012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6432
6433 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
6434 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
6435 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
6436 i386/t-cpuinfo ...
6437 (i[34567]86-*-*, x86_64-*-*): ... here.
6438
6439 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
6440 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
6441
6442 * config/i386/i386-cpuinfo.c: Rename to ...
6443 * config/i386/cpuinfo.c: ... this.
6444 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
6445
6446 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
6447 (libgcc_cv_init_priority): New test.
6448 * configure: Regenerate.
6449 * config.in: New file.
6450 * Makefile.in (clean): Rename config.h to auto-target.h.
6451 (config.h): Likewise.
6452 (stamp-h): Likewise.
6453
6454 * config/i386/cpuinfo.c (auto-target.h): Include.
6455 (CONSTRUCTOR_PRIORITY): Define.
6456 (__cpu_indicator_init): Use it.
6457
0d03ac1b
L
64582012-05-09 H.J. Lu <hongjiu.lu@intel.com>
6459
6460 * longlong.h: Use a URL instead of an FSF postal address.
6461 Replace spaces with tab.
6462
4a172156 64632012-05-08 Teresa Johnson <tejohnson@google.com>
4e8ee9cb
TJ
6464
6465 * libgcov.c (gcov_clear, __gcov_reset): New functions.
6466 (__gcov_dump): Ditto.
6467 (gcov_dump_complete): New global variable.
6468 (gcov_exit): Export hidden to enable use in L_gcov_dump.
6469 (__gcov_flush): Outline functionality now in gcov_clear.
6470 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
6471
e4bb767e
AJ
64722012-04-28 Aurelien Jarno <aurelien@aurel32.net>
6473
31a18a7e
ILT
6474 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
6475 (mips*-*-linux*): Include mips/t-tpbit when long double is
6476 16 bytes long.
e4bb767e 6477
5ddecff9
ST
64782012-04-25 Sriraman Tallam <tmsriram@google.com>
6479
6480 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
6481 (get_available_features): New argument. Check for AVX2.
6482 (__cpu_indicator_init): Modify call to get_available_features.
6483
b427dd7a
AM
64842012-04-25 Alan Modra <amodra@gmail.com>
6485
6486 * config/rs6000/crtsavevr.S: New file.
6487 * config/rs6000/crtrestvr.S: New file.
6488 * config/rs6000/t-savresfgpr: Build the above.
6489 * config/rs6000/t-netbsd: Likewise.
6490
ad491329
ST
64912012-04-24 Sriraman Tallam <tmsriram@google.com>
6492
6493 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
6494
792317cc
ST
64952012-04-24 Sriraman Tallam <tmsriram@google.com>
6496
6497 * libgcc/config/i386/i386-cpuinfo.c: New file.
6498 * libgcc/config/i386/t-cpuinfo: New file.
6499 * libgcc/config.host: Include t-cpuinfo.
6500 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
6501
e1be98a4
CF
65022012-04-24 Chao-ying Fu <fu@mips.com>
6503
6504 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
6505
1bde7dab
TS
65062012-04-20 Thomas Schwinge <thomas@codesourcery.com>
6507
6508 struct siginfo vs. siginfo_t
6509
6510 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
6511 siginfo_t instead of struct siginfo.
6512 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
6513 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
6514 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
6515 (ia64_handle_unwabi): Likewise.
6516 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
6517 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
6518 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
6519 (sh_fallback_frame_state): Likewise.
6520 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
6521 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
6522
24590f66
L
65232012-04-02 H.J. Lu <hongjiu.lu@intel.com>
6524
6525 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
6526 system call number.
6527
9a9dcce8
EB
65282012-03-31 Eric Botcazou <ebotcazou@adacore.com>
6529
6530 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
6531 if it hasn't been previously saved.
6532
6401aaf5
L
65332012-03-29 H.J. Lu <hongjiu.lu@intel.com>
6534
6535 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
6536 only for glibc.
6537
7fd6378e
GJL
65382012-03-28 Georg-Johann Lay <avr@gjlay.de>
6539
6540 PR target/52737
6541 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
6542 instead of __AVR_HAVE_8BIT_SP__.
6543
9e916de7
TG
65442012-03-26 Tristan Gingold <gingold@adacore.com>
6545
6546 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
6547 (unw_table_entry): Use unw_word instead of unsigned long.
6548 (_Unwind_FindTableEntry): Likewise.
6549 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
6550 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
6551 (_Unwind_FindTableEntry): Likewise.
6552 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
6553 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
6554 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
6555 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
6556 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
6557 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
6558 (uw_init_context_1, uw_install_context): Likewise.
6559 (unw_word): Move to unwind-ia64.h
6560
4b12e93d
TG
65612012-03-26 Tristan Gingold <gingold@adacore.com>
6562
6563 * config/vms/vms-ucrt0.c: Update copyright years.
6564 Add a sanity check.
6565 (___gcc_main_flags): Declare.
6566 (__main): Check flags to remap argv and exit code.
6567 * config.host (*-*-*vms*): Adjust extra_parts.
6568 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
6569 (crt0.o): Add.
6570
06ea7371
RE
65712012-03-22 Richard Earnshaw <rearnsha@arm.com>
6572
6573 * arm/lib1funcs.asm (ctzsi2): New function.
6574 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
6575 * arm/t-linux (LIB1ASMFUNCS): Likewise.
6576 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
6577 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
6578 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
6579 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
6580
d82ad50d
AT
65812012-03-21 Andreas Tobler <andreast@fgznet.ch>
6582
6583 * config.host: Add bits to support powerpc64-*-freebsd*.
6584 * config/rs6000/freebsd-unwind.h: New file.
6585 * config/rs6000/t-freebsd64: New file.
6586
b260a8c0
RG
65872012-03-20 Richard Guenther <rguenther@suse.de>
6588
6589 PR gcov-profile/52627
6590 * libgcov.c (init_mx): Fix mutex name.
6591
86286a8a
TG
65922012-03-16 Tristan Gingold <gingold@adacore.com>
6593
6594 * config/ia64/vms-unwind.h: Remove ulong (and replace
6595 it by unw_reg where used). Define unw_reg with __int64.
6596
7888f266
RO
65972012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6598
6599 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
6600 Solaris 8 handling.
6601 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
6602 Solaris 8 handling.
6603 (sparc_is_sighandler): Likewise.
6604
f155bc64
L
66052012-03-13 H.J. Lu <hongjiu.lu@intel.com>
6606
6607 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
6608 <= saved reg size.
6609
d47657bd
RO
66102012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6611
6612 * config/arm/crtn.S: Fix typo.
6613
5bef73a1
RG
66142012-03-13 Richard Guenther <rguenther@suse.de>
6615
6616 * libgcov.c: Remove stdio.h include and NULL un-define.
6617
9c4271f3
RG
66182012-03-13 Richard Guenther <rguenther@suse.de>
6619
6620 PR target/52569
6621 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
6622
c6d10e7c
RG
66232012-03-13 Richard Guenther <rguenther@suse.de>
6624
6625 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
6626
074a385f
RG
66272012-03-13 Richard Guenther <rguenther@suse.de>
6628
6629 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
6630 and __gthread_mutex_init_function definitions.
6631
c4bc5c25
RO
66322012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6633
6634 * config.host (mips*-*-openbsd*): Remove.
6635
5c30094f
RO
66362012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6637
6638 * config.host: Remove alpha*-dec-osf5.1* handling.
6639 * config/alpha/gthr-posix.c: Remove.
6640 * config/alpha/libgcc-osf5.ver: Remove.
6641 * config/alpha/osf5-unwind.h: Remove.
6642 * config/alpha/t-osf-pthread: Remove.
6643 * config/alpha/t-slibgcc-osf: Remove.
6644 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
6645 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
6646 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
6647 * mkmap-flat.awk: Remove osf_export handling.
6648
33e3e24d
RG
66492012-03-12 Richard Guenther <rguenther@suse.de>
6650
6651 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
6652 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
6653 (__gthread_mutex_init_function): New function.
6654 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
6655
6656 PR gcov/49484
6657 * libgcov.c: Include gthr.h.
6658 (__gcov_flush_mx): New global variable.
6659 (init_mx, init_mx_once): New functions.
6660 (__gcov_flush): Protect self with a mutex.
6661 (__gcov_fork): Re-initialize mutex after forking.
6662 * unwind-dw2-fde.c: Change condition under which to use
6663 __GTHREAD_MUTEX_INIT_FUNCTION.
6664
d8aba32a
TG
66652012-03-12 Tristan Gingold <gingold@adacore.com>
6666
6667 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
6668 * config/ia64/t-vms: Likewise.
6669
75ffafdc
MH
66702012-03-11 Michael Hope <michael.hope@linaro.org>
6671
4a172156
UB
6672 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
6673 for Thumb-2.
75ffafdc 6674
ef6c2c53
WL
66752012-03-07 Walter Lee <walt@tilera.com>
6676
6677 * config/tilepro/atomic.c: Rename "atomic_" prefix to
6678 "arch_atomic_".
6679 (atomic_xor): Rename and move definition to
6680 config/tilepro/atomic.h.
6681 (atomic_nand): Ditto.
6682 * config/tilepro/atomic.h: Rename "atomic_" prefix to
6683 "arch_atomic_".
6684 (arch_atomic_xor): Move from config/tilepro/atomic.c.
6685 (arch_atomic_nand): Ditto.
6686
4e30d980
GJL
66872012-03-07 Georg-Johann Lay <avr@gjlay.de>
6688
6689 PR target/52507
6690 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
6691
61108225
GJL
66922012-03-07 Georg-Johann Lay <avr@gjlay.de>
6693
6694 PR target/52505
6695 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
6696 from RAM.
6697
b30e10ab
GJL
66982012-03-07 Georg-Johann Lay <avr@gjlay.de>
6699
6700 PR target/52461
6701 PR target/52508
6702 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
6703 if RAMPZ affects reading from RAM.
6704 (__tablejump_elpm__): Ditto.
6705 (.xload): Ditto.
6706 (__movmemx_hi): Ditto.
6707 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
6708 (__do_global_dtors): Ditto.
6709 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
6710 (__movmemx_hi): Ditto.
6711
8993fde4
RH
67122012-03-05 Richard Henderson <rth@redhat.com>
6713
6714 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
6715 [ARM] (count_trailing_zeros): Use the builtin.
6716
b7633ee3
KT
67172012-03-01 Kai Tietz <ktietz@redhat.com>
6718
6719 * soft-fp: Imported from glibc upstream.
6720
fbd3340c
KT
67212012-02-28 Kai Tietz <ktietz@redhat.com>
6722
6723 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
6724 for mingw-targets as attribute gcc_struct.
6725
e9e053eb
ILT
67262012-02-28 Ian Lance Taylor <iant@google.com>
6727
6728 * generic-morestack.c (__splitstack_releasecontext): Correct call
6729 to __morestack_release_segments.
6730
d80c632e
ST
67312012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
6732
6733 PR target/52390
6734 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
6735 for __linux__ when removing signals from __morestack_fullmask.
6736
0253a8b1
GJL
67372012-02-23 Georg-Johann Lay <avr@gjlay.de>
6738
6739 PR target/52261
6740 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
6741
e10e461e
UW
67422012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6743
6744 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
6745 instead of HAVE_INITFINI_ARRAY.
6746 * config/ia64/crtend.S: Likewise.
6747
0c0c6398
KT
67482012-02-20 Kai Tietz <ktietz@redhat.com>
6749
d7470374
KT
6750 PR libstdc++/52300
6751 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
6752
0c0c6398
KT
6753 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
6754 to w32-unwind.h header.
6755
78c27266
RS
67562012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
6757
6758 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
6759 (mips*-*-linux*): Remove t-slibgcc-libgcc.
6760 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
6761 * config/mips/mips16.S (__mips16_rdhwr): Delete.
6762
5adeb246
RS
67632012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
6764
6765 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
6766
672ed313
IS
67672012-02-15 Iain Sandoe <iains@gcc.gnu.org>
6768
6769 PR libitm/52220
6770 * config/darwin-crt-tm.c: Correct typo.
e9e053eb 6771
e948a1fb
IS
67722012-02-15 Iain Sandoe <iains@gcc.gnu.org>
6773 Patrick Marlier <patrick.marlier@gmail.com>
6774
6775 PR libitm/52220
6776 * config/darwin-crt-tm.c: Generate dummy functions.
6777
6017aed3
IS
67782012-02-15 Iain Sandoe <iains@gcc.gnu.org>
6779 Patrick Marlier <patrick.marlier@gmail.com>
6780
6781 PR libitm/52042
6782 * config/darwin-crt-tm.c (getTMCloneTable): New function.
6783 (__doTMRegistrations): Call it.
e9e053eb 6784 (__doTMdeRegistrations): Likewise.
6017aed3 6785
2da8c1ad 67862012-01-15 Georg-Johann Lay <avr@gjlay.de>
7d296953
JJ
6787 Anatoly Sokolov <aesok@post.ru>
6788 Eric Weddington <eric.weddington@atmel.com>
2da8c1ad
GJL
6789
6790 PR target/52261
6791 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
6792 (__epilogue_restores__): Ditto.
6793
0f952eb4
EB
67942012-02-15 Eric Botcazou <ebotcazou@adacore.com>
6795
6796 PR target/51921
6797 PR target/52205
6798 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
6799 Solaris 11 and slightly reformat.
6800 (sparc_is_sighandler): Likewise.
6801
dd552284
WL
68022012-02-14 Walter Lee <walt@tilera.com>
6803
6804 * config.host: Handle tilegx and tilepro.
6805 * config/tilegx/sfp-machine.h: New file.
6806 * config/tilegx/sfp-machine32.h: New file.
6807 * config/tilegx/sfp-machine64.h: New file.
6808 * config/tilegx/t-crtstuff: New file.
6809 * config/tilegx/t-softfp: New file.
6810 * config/tilegx/t-tilegx: New file.
6811 * config/tilepro/atomic.c: New file.
6812 * config/tilepro/atomic.h: New file.
6813 * config/tilepro/linux-unwind.h: New file.
6814 * config/tilepro/sfp-machine.h: New file.
6815 * config/tilepro/softdivide.c: New file.
6816 * config/tilepro/softmpy.S: New file.
6817 * config/tilepro/t-crtstuff: New file.
6818 * config/tilepro/t-tilepro: New file.
6819
b59cbd50
JW
68202012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
6821
6822 PR libstdc++/51296
6823 PR libstdc++/51906
6824 * gthr-posix.h: Allow static initializer macros to be disabled.
6825 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
6826
6caf807f
CLT
68272012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
6828
6829 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
6830 Add t-slibgcc-libgcc to tmake_file.
6831 * config/mips/libgcc-mips16.ver: Revert previous patch.
6832 * config/mips/mips16.S (__mips16_rdhwr): Hide.
6833
7d296953
JJ
68342012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
6835 Jayant R Sonar <jayant.sonar@kpitcummins.com>
b25364a0
S
6836
6837 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
6838 * config/cr16/crti.S: New file.
6839 * config/cr16/crtlibid.S: New file.
6840 * config/cr16/crtn.S: New file.
6841 * config/cr16/lib1funcs.S: New file.
6842 * config/cr16/t-cr16: New file.
6843 * config/cr16/t-crtlibid: New file.
6844 * config/cr16/unwind-dw2.h: New file.
6845 * config/cr16/unwind-cr16.c: New file.
6846 * config/cr16/divmodhi3.c: New file.
6847
8ef03aa7
AM
68482012-01-25 Alan Modra <amodra@gmail.com>
6849
6850 * config/rs6000/t-linux64: Delete. Move..
6851 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
6852 * config/rs6000/t-linux: ..and libgcc flags to here.
6853
daecebc8
DR
68542012-01-22 Douglas B Rupp <rupp@gnat.com>
6855
6856 * config.host (i[34567]86-*-interix3*):
8ef03aa7 6857 Change triplet to i[34567]86-*-interix[3-9]*.
daecebc8
DR
6858 * configure: Regenerate.
6859
ddaf8125
RS
68602012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
6861 Richard Sandiford <rdsandiford@googlemail.com>
6862
6863 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
6864 * config/mips/mips16.S (__mips16_rdhwr): New function.
6865 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
6866
2cd8b32c
NS
68672012-01-11 Nathan Sidwell <nathan@acm.org>
6868
6869 * libgcov.c (__gcov_init): Ignore objects with no functions.
6870
cba300dd
GJL
68712012-01-10 Georg-Johann Lay <avr@gjlay.de>
6872
6873 PR target/49868
6874 Extend __pgmx semantics to linearize memory.
6875 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
6876 * config/avr/lib1funcs.S (__xload_1): New function.
6877 (__movmemx_qi, __movmemx_hi): New functions.
6878 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
6879 semantics.
9ffaf4bc 6880
3d137660
EB
68812012-01-09 Eric Botcazou <ebotcazou@adacore.com>
6882
6883 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
6884 purported sigacthandler address isn't null before dereferencing it.
6885 (sparc_is_sighandler): Likewise.
6886
bf4db96c
EB
68872012-01-09 Eric Botcazou <ebotcazou@adacore.com>
6888
6889 PR ada/41929
6890 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
6891 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
6892 (sparc_is_sighandler): Likewise.
6893 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
6894
1ab3568b
TG
68952012-01-06 Tristan Gingold <gingold@adacore.com>
6896
6897 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
6898 compatibility thunks...
6899 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
6900 (crtbeginS.o, crtendS.o): ... and these to ...
6901 * config/ia64/t-ia64-elf: ... this new file.
6902 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
6903 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
6904
925b0ed8
AK
69052012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6906
6907 * configure: Regenerate.
6908 * config/s390/t-crtstuff: Remove -fPIC.
6909
a99ad737
JW
69102012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
6911
6912 PR bootstrap/51006
6913 * enable-execute-stack-mprotect.c (getpagesize): Do not define
6914 for NetBSD.
6915
884f56d1
GJL
69162012-01-02 Georg-Johann Lay <avr@gjlay.de>
6917
6918 PR target/51345
6919 * config/avr/lib1funcs.S: Remove FIXME comments.
6920 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
6921
8c57e547
GJL
69222012-01-02 Georg-Johann Lay <avr@gjlay.de>
6923
6924 Implement light-weight DImode support.
6925 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
6926 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
6927 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
6928 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
6929
04dbc287
NS
69302011-12-30 Nathan Sidwell <nathan@acm.org>
6931
6932 * libgcov.c (gcov_crc32): Remove global var.
6933 (free_fn_data): New function.
6934 (buffer_fn_data): Pass in filename, more robust error recovery.
6935 (crc32_unsigned): New function.
6936 (gcov_exit): More robust detection of new program. More robust
6937 error recovery.
6938 (__gcov_init): Do not update program's crc here.
6939
8e1d97d4
TG
69402011-12-21 Tristan Gingold <gingold@adacore.com>
6941
6942 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
6943
9ffaf4bc
ILT
69442011-12-21 Ian Lance Taylor <iant@google.com>
6945
6946 * config/i386/morestack.S: Simplify CFI opcodes throughout.
6947
a0c8d0c1
ILT
69482011-12-20 Ian Lance Taylor <iant@google.com>
6949
6950 * config/i386/morestack.S (__morestack_non_split): If there is
6951 enough stack space already, don't split. Ask for more stack space
6952 than we required.
6953
69048898
SDJ
69542011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
6955
6956 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
6957 `sys/sdt.h'.
6958 (_Unwind_DebugHook): New function.
6959 (uw_restore_core_regs): New define.
6960 (unwind_phase2): Use uw_restore_core_regs instead of
6961 restore_core_regs.
6962 (unwind_phase2_forced): Likewise.
6963 (__gnu_Unwind_Resume): Likewise.
6964
1bb4b6a3
UB
69652011-12-20 Uros Bizjak <ubizjak@gmail.com>
6966
6967 * config/alpha/linux-unwind.h: Update copyright years.
6968 (MD_FROB_UPDATE_CONTEXT): New define.
6969 (alpha_frob_update_context): New function.
6970
eb028768
RS
69712011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
6972
6973 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
6974 tmake_file rather replacing it.
6975
6a2045bf
IS
69762011-12-15 Iain Sandoe <iains@gcc.gnu.org>
6977
6978 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
1bb4b6a3 6979 function is not used for PPC64.
6a2045bf
IS
6980 (save_world): Amend comments. Update the VRsave mask to reflect the
6981 saved regs.
6982 (rest_world): Update comments, do not clobber r10, do not use r8.
6983 (eh_rest_world_r10): Amend comments, do not use r8.
6984 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
6985 no longer used, move restore of CR and target address to the end of
6986 the routine.
6987
a13780a6
L
69882011-12-14 H.J. Lu <hongjiu.lu@intel.com>
6989
6990 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
6991 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
6992
d7288dfb
GJL
69932011-12-14 Georg-Johann Lay <avr@gjlay.de>
6994
6995 PR target/49313
6996 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
6997 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
6998
8d2c862d
EB
69992011-12-11 Eric Botcazou <ebotcazou@adacore.com>
7000
7001 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
7002
3447cae6
GJL
70032011-12-09 Georg-Johann Lay <avr@gjlay.de>
7004
7005 PR target/49313
7006 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
7007 * config/avr/lib1funcs.S (__muldi3): New function.
7008
806fc6aa
AP
70092011-12-06 Andrew Pinski <apinski@cavium.com>
7010
7011 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
7012 size of func_ptr.
7013 (__frame_dummy_init_array_entry): Likewise.
7014
28c5e6b5
GJL
70152011-12-06 Georg-Johann Lay <avr@gjlay.de>
7016
7017 Forward-port from gcc-4_6-branch r181936 2011-12-02.
7018
7019 PR target/51345
7020 PR target/51002
7021 * config/avr/lib1funcs.S (__prologue_saves__,
7022 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
7023 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
7024
8f90394a
IS
70252011-12-04 Iain Sandoe <iains@gcc.gnu.org>
7026
7027 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
7028
06dd33ac
JDA
70292011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
7030
7031 PR other/51272
7032 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
7033 (_ITM_deregisterTMCloneTable): Likewise.
7034 (__register_frame_info): Fix unused warning.
7035 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
7036 pthread_default_stacksize_np): Likewise.
7037 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
1bb4b6a3 7038
85b8555e
DD
70392011-11-29 DJ Delorie <dj@redhat.com>
7040
7041 * config.host (rl78-*-elf): New case.
7042 * config/rl78: New directory for the Renesas RL78.
7043
4d5ae4ea
BS
70442011-11-29 Bernd Schmidt <bernds@codesourcery.com>
7045
7046 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
7047 formatting.
7048
f9c55897
RO
70492011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7050
7051 PR other/51022
7052 * config/rs6000/t-savresfgpr: New file.
7053 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
7054 $(srcdir)/config/rs6000/eabi.S.
7055 * config/rs6000/t-ppccomm-ldbl: Remove.
7056 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
7057 tmake_file.
7058 (powerpc-*-eabispe*): Likewise.
7059 (powerpc-*-eabi*): Likewise.
7060 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
7061 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
7062 to tmake_file, remove rs6000/t-ppccomm-ldbl.
7063 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
7064 tmake_file.
7065 (powerpc-*-eabisim*): Likewise.
7066 (powerpc-*-elf*): Likewise.
7067 (powerpc-*-eabialtivec*): Likewise.
7068 (powerpc-xilinx-eabi*): Likewise.
7069 (powerpc-*-rtems*): Likewise.
7070 (powerpcle-*-elf*): Likewise.
7071 (powerpcle-*-eabisim*): Likewise.
7072 (powerpcle-*-eabi*): Likewise.
7073
a01207c4
ILT
70742011-11-27 Ian Lance Taylor <iant@google.com>
7075
7076 * generic-morestack.c (__splitstack_find): Check for NULL old
7077 stack value.
7078 (__splitstack_resetcontext): New function.
7079 (__splitstack_releasecontext): New function.
7080 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
7081
2b0b8ab2
IS
70822011-11-27 Iain Sandoe <iains@gcc.gnu.org>
7083
7084 * config/darwin-crt-tm.c: Correct comments, use correct licence.
7085
c1d8101c
IS
70862011-11-27 Iain Sandoe <iains@gcc.gnu.org>
7087
7088 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
7089
8b281334
RH
70902011-11-26 Richard Henderson <rth@redhat.com>
7091
7092 * config/m68k/linux-atomic.c: New file.
7093 * config/m68k/t-linux: New file.
7094 * config.host (m68k-uclinux, m68k-linux): Use it.
7095
7546aa9d
RH
70962011-11-26 Richard Henderson <rth@redhat.com>
7097
7098 * crtstuff.c (__TMC_LIST__): Mark used not unused.
7099 (__TMC_END__): Only declare if hidden is available; in the definition,
7100 if hidden is unavailable add a null record.
7101 (deregister_tm_clones, register_tm_clones): New.
7102 (__do_global_dtors_aux, frame_dummy): Use them.
7103 (__do_global_dtors, __do_global_ctors_1): Likewise.
7104
e2362f5d
IS
71052011-11-22 Iain Sandoe <iains@gcc.gnu.org>
7106
7107 * config/darwin-crt-tm.c: New file.
7108 * config.host (darwin): Build crttms.o crttme.o to provide
7109 startup and shutdown for tm clones.
7110 * config/t-darwin (crttms.o): New build rule.
7111 (crttme.o): Likewise.
7112
6685dd96
HPN
71132011-11-21 Hans-Peter Nilsson <hp@axis.com>
7114
7115 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
7116 et al.
7117
b0dc7e4c
RH
71182011-11-21 Richard Henderson <rth@redhat.com>
7119
7120 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
7121 (__TMC_LIST__, __TMC_END__): New.
7122 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
7123 (__do_global_dtors): Likewise.
7124 (frame_dummy): Call _ITM_registerTMCloneTable.
7125 (__do_global_ctors_1): Likewise.
7126
d4b4b542
RO
71272011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7128
7129 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
7130 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
7131 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
7132 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
7133 * config/i386/t-darwin64: Remove.
7134 * config/sh/t-netbsd (LIB2ADD): Remove.
7135
989bdb74
GJL
71362011-11-21 Georg-Johann Lay <avr@gjlay.de>
7137
7138 PR target/49313
7139 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
7140 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
7141 * config/avr/lib1funcs.S (wmov): New assembler macro.
7142 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
7143 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
7144 (__udivmod64): New function.
7145 (__negdi2): New function.
7146
515a0cfc
GP
71472011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
7148
7149 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
7150 *-*-freebsd*aout*): Remove.
7151
0115d17f
HPN
71522011-11-20 Hans-Peter Nilsson <hp@axis.com>
7153
7154 * static-object.mk (c_flags-$o): Save c_flags.
7155 ($(base)$(objext)): Use it.
7156
93aeb62b
SE
71572011-11-18 Steve Ellcey <sje@cup.hp.com>
7158
7159 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
7160
7bc6df2c
GJL
71612011-11-18 Georg-Johann Lay <avr@gjlay.de>
7162
7163 PR target/49868
7164 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
7165 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
7166 New functions.
7167
425d737b
MGD
71682011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
7169
7170 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
7171 functions.
1bb4b6a3 7172 (aeabi_uidivmod): Likewise.
425d737b
MGD
7173 (umodsi3): Likewise.
7174 (divsi3): Likewise.
7175 (aeabi_idivmod): Likewise.
7176 (modsi3): Likewise.
7177
f2a176dc
TG
71782011-11-16 Tristan Gingold <gingold@adacore.com>
7179
7180 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
7181
7c209481
GJL
71822011-11-15 Georg-Johann Lay <avr@gjlay.de>
7183
7184 PR target/49868
7185 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
7186 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
7187
9dfd5832
JDA
71882011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
7189
7190 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
7191 tmake_file list.
7192 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
7193 * config/pa/t-stublib64: Delete.
7194
f77dca5d
RH
71952011-11-12 Richard Henderson <rth@redhat.com>
7196
7197 * config/rs6000/linux-unwind.h (frob_update_context): Properly
7198 cast the pointer argument to _Unwind_SetGRPtr.
7199
902828f0
RO
72002011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7201
7202 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
7203
e14304ef
ILT
72042011-11-09 Ian Lance Taylor <iant@google.com>
7205
7206 * generic-morestack.c: Include <string.h>.
7207 (uintptr_type): Define.
7208 (struct initial_sp): Add dont_block_signals field. Reduce size of
7209 extra array by 1.
7210 (allocate_segment): Set prev field to NULL. Don't set
7211 __morestack_current_segment or __morestack_segments.
7212 (__generic_morestack): Update current->prev and *pp after calling
7213 allocate_segment.
7214 (__morestack_block_signals): Don't do anything if
7215 dont_block_signals is set.
7216 (__morestack_unblock_signals): Likewise.
7217 (__generic_findstack): Check for initial_sp == NULL. Add casts to
7218 uintptr_type.
7219 (__splitstack_block_signals): New function.
7220 (enum __splitstack_content_offsets): Define.
7221 (__splitstack_getcontext, __splitstack_setcontext): New functions.
7222 (__splitstack_makecontext): New function.
7223 (__splitstack_block_signals_context): New function.
7224 (__splitstack_find_context): New function.
7225 * config/i386/morestack.S (__morestack_get_guard): New function.
7226 (__morestack_set_guard, __morestack_make_guard): New functions.
7227 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
7228
e3d871e4
RO
72292011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7230
7231 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
7232 (i[34567]86-*-mingw*): ... here.
7233 (x86_64-*-mingw*): ... here.
7234
e55cef40
RO
72352011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7236
7237 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
7238
5366b186
NS
72392011-11-07 Nathan Sidwell <nathan@acm.org>
7240
7241 * libgcov.c (struct gcov_fn_buffer): New struct.
7242 (buffer_fn_data): New helper.
7243 (gcov_exit): Rework for new gcov data structures.
7244
74155a6f
GJL
72452011-11-07 Georg-Johann Lay <avr@gjlay.de>
7246
7247 PR target/49313
7248 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
7249
200feb07
RO
72502011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7251
7252 * config.host (tmake_file): Correct comment.
7253 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
7254 t-libgcc-pic.
7255 (bfin*-uclinux*): Likewise.
7256 (bfin*-linux-uclibc*): Likewise.
7257 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
7258
7259 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
7260 assigning.
7261 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7262 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
7263 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7264 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
7265 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7266 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
7267 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
7268 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7269 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
7270 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
7271 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
7272 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
7273 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
7274
7275 * config/bfin/t-elf: Remove.
7276 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
7277
c9cd1a07
RO
72782011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7279
7280 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
7281 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
7282 (lm32-*-elf*, lm32-*-rtems*): Split into ...
7283 (lm32-*-elf*): ... this.
7284 (lm32-*-rtems*): ... and this.
7285 Add to tmake_file.
7286 (m32r-*-rtems*): Add to tmake_file.
7287 (moxie-*-rtems*): Likewise.
7288 (sparc-*-rtems*): Likewise.
7289 Remove t-rtems from tmake_file.
7290 (sparc64-*-rtems*): Likewise.
7291 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
7292 instead.
7293
9fbcc75d
RO
72942011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7295
7296 PR bootstrap/50982
7297 * config/gthr-posix.h: Move ...
7298 * gthr-posix.h: ... here.
7299 * config/gthr-lynx.h: Reflect this.
7300 * config/gthr-vxworks.h: Likewise.
7301 * config/rs6000/gthr-aix.h: Likewise.
7302 * configure.ac (target_thread_file): Likewise.
7303 * configure: Regenerate.
7304
76644b68
SH
73052011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
7306
7307 * config.host (arm*-*-rtemseabi*): New target.
7308
5e490f2a
JDA
73092011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
7310
7311 PR other/50991
7312 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
7313 extra-parts.
7314
feeeff5c
JR
73152011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
7316
7317 * config.host (epiphany-*-elf*): New configuration.
7318 * config/epiphany: New Directory.
7319
d618bb2c
RC
73202011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
7321
7322 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
7323 * config/avr/t-rtems: New.
7324 Filter out _exit from LIB1ASMFUNCS.
7325
1bb6f778
DM
73262011-11-04 David S. Miller <davem@davemloft.net>
7327
7328 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
7329 * configure: Rebuild.
7330
9a7f7422
AK
73312011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7332
7333 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
7334 variable.
7335
e4fe948a
GJL
73362011-11-04 Georg-Johann Lay <avr@gjlay.de>
7337
7338 PR target/50931
7339 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
7340 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
7341
7084e037
JS
73422011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
7343
7344 PR target/50989
7345 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
7346
1a032034
RO
73472011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7348
7349 * config/c6x/t-elf (LIB2ADDEH): Set.
7350 * config/c6x/t-c6x-elf: Remove.
7351
d385f772
RO
73522011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7353
7354 * config/i386/sol2-ci.S: Rename to ...
7355 * config/i386/crti.S: ... this.
7356 * config/i386/sol2-cn.S: Rename to ...
7357 * config/i386/crtn.S: ... this.
7358 * config/sparc/sol2-ci.S: Rename to ...
7359 * config/sparc/crti.S: ... this.
7360 * config/sparc/sol2-cn.S: Rename to ...
7361 * config/sparc/crtn.S: ... this.
7362 * config/t-sol2 (CUSTOM_CRTIN): Remove.
7363 (crti.o, crtn.o): Remove.
7364
1ba878a9
TG
73652011-11-04 Tristan Gingold <gingold@adacore.com>
7366
7367 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
7368
02750c15
KK
73692011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
7370
7371 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
7372
bf86b067
HPN
73732011-11-03 Hans-Peter Nilsson <hp@axis.com>
7374
7375 * config.host (crisv32-*-none, cris-*-none): Remove.
7376 (crisv32-*-elf): Append to tmake_file, don't just set it.
7377 (cris-*-elf): Add missing t-fdpbit to tmake_file.
7378
d0bc53bd
RO
73792011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7380
7381 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
7382 (ecrtn$(objext)): Likewise.
7383 (ncrti$(objext)): Likewise.
7384 (ncrtn$(objext)): Likewise.
7385
036da830
AS
73862011-11-03 Andreas Schwab <schwab@redhat.com>
7387
7388 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
7389
d2a7d041
DM
73902011-11-02 David S. Miller <davem@davemloft.net>
7391
7392 * configure.ac: Set host_address on sparc too.
7393 * configure: Regenerate.
7394 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
7395 based upon host_address.
7396 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
7397
af8ed618
JM
73982011-11-02 Jason Merrill <jason@redhat.com>
7399
7400 * config/rs6000/t-ppccomm: Add missing \.
7401
5d1c8e77
RO
74022011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7403
7404 * gthr-single.h, gthr.h: New files.
7405 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
7406 config/gthr-vxworks.h, config/i386/gthr-win32.h,
7407 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
7408 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
7409 * config/i386/gthr-win32.c: Include "gthr-win32.h".
7410 * configure.ac (thread_header): New variable.
7411 Set it depending on target_thread_file.
7412 (gthr-default.h): Link from $thread_header.
7413 * configure: Regenerate.
7414 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
7415
852b75ed
RO
74162011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7417
7418 * configure.ac (tm_file_): New variable.
7419 Determine from tm_file.
7420 (tm_file, tm_defines): Substitute.
7421 * configure: Regenerate.
7422 * mkheader.sh: New file.
7423 * Makefile.in (clean): Remove libgcc_tm.h.
7424 ($(objects)): Depend on libgcc_tm.h.
7425 (libgcc_tm_defines, libgcc_tm_file): New variables.
7426 (libgcc_tm.h, libgcc_tm.stamp): New targets.
7427 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
7428 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
7429 ($(extra-parts)): Depend on libgcc_tm.h.
7430 * config.host (tm_defines, tm_file): New variable.
7431 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
7432 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
7433 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
7434 (avr-*-rtems*): Likewise.
7435 (avr-*-*): Likewise.
7436 (frv-*-elf): Likewise.
7437 (frv-*-*linux*): Likewise.
7438 (h8300-*-rtems*): Likewise.
7439 (h8300-*-elf*): Likewise.
7440 (i[34567]86-*-darwin*): Likewise.
7441 (x86_64-*-darwin*): Likewise.
7442 (rx-*-elf): Likewise.
7443 (tic6x-*-uclinux): Likewise.
7444 (tic6x-*-elf): Likewise.
7445 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
7446 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
7447 * config/i386/cygming-crtbegin.c: Likewise.
7448 * config/i386/cygming-crtend.c: Likewise.
7449 * config/ia64/fde-vms.c: Likewise.
7450 * config/ia64/unwind-ia64.c: Likewise.
7451 * config/libbid/bid_gcc_intrinsics.h: Likewise.
7452 * config/rs6000/darwin-fallback.c: Likewise.
7453 * config/stormy16/lib2funcs.c: Likewise.
7454 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
7455 * crtstuff.c: Likewise.
7456 * dfp-bit.h: Likewise.
7457 * emutls.c: Likewise.
7458 * fixed-bit.c: Likewise.
7459 * fp-bit.c: Likewise.
7460 * generic-morestack-thread.c: Likewise.
7461 * generic-morestack.c: Likewise.
7462 * libgcc2.c: Likewise.
7463 * libgcov.c: Likewise.
7464 * unwind-dw2-fde-dip.c: Likewise.
7465 * unwind-dw2-fde.c: Likewise.
7466 * unwind-dw2.c: Likewise.
7467 * unwind-sjlj.c: Likewise.
7468
f9989b51
RO
74692011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7470
7471 * configure.ac: Include ../config/picflag.m4.
7472 (GCC_PICFLAG): Call it.
7473 Substitute.
7474 * configure: Regenerate.
7475 * Makefile.in (gcc_srcdir): Remove.
7476 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
7477 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
7478 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
7479 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
7480 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
7481 Use $<.
7482 Remove comment.
7483 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
7484 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
7485 to refer to libgcc2.c.
7486 Use $<.
7487 * config/darwin-64.c: New file.
7488 * config/darwin-crt3.c: Remove comment.
7489 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
7490 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
7491 config/udivmodsi4.c: New files.
7492 * config/memcmp.c, config/memcpy.c, config/memmove.c,
7493 config/memset.c: New files.
7494 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
7495 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
7496 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
7497 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
7498 * config/t-openbsd-thread: New file.
7499 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
7500 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
7501 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
7502 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
7503 qrnnd.S.
7504 Adapt filename.
7505 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
7506 to refer to gthr-posix.c.
7507 * config/alpha/t-vms (LIB2ADD): Set.
7508 * config/alpha/vms-gcc_shell_handler.c: New file.
7509 * config/arm/bpabi.c, config/arm/fp16.c,
7510 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
7511 config/arm/unaligned-funcs.c: New files.
7512 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
7513 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
7514 * config/arm/t-linux: Likewise.
7515 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
7516 * config/arm/t-netbsd: New file.
7517 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
7518 * config/arm/t-symbian (LIB2ADD_ST): Set.
7519 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
7520 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7521 * config/bfin/t-elf: New file.
7522 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
7523 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
7524 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
7525 config/c6x/ltf.c: New files.
7526 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
7527 (HOST_LIBGCC2_CFLAGS): Set.
7528 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
7529 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7530 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
7531 New files.
7532 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
7533 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
7534 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
7535 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
7536 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
7537 files.
7538 * config/frv/t-frv (LIB2ADD): Set.
7539 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7540 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
7541 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
7542 config/h8300/popcounthi2.c: New files.
7543 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
7544 * config/i386/gthr-win32.c: New file.
7545 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
7546 * config/i386/t-cygwin: Likewise.
7547 * config/i386/t-darwin, config/i386/t-darwin64,
7548 config/i386/t-gthr-win32, config/i386/t-interix: New files.
7549 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
7550 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7551 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7552 * config/ia64/quadlib.c: New file.
7553 * config/ia64/t-hpux (LIB2ADD): Set.
7554 * config/ia64/t-ia64: Add comment.
7555 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
7556 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7557 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
7558 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
7559 * config/m32c/t-m32c (LIB2ADD): Set.
7560 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
7561 * config/m32r/t-m32r: Likewise.
7562 * config/m68k/fpgnulib.c: New file.
7563 * config/m68k/t-floatlib (LIB2ADD): Set.
7564 (xfgnulib.c): New target.
7565 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
7566 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
7567 * config/mep/t-mep (LIB2ADD): Set.
7568 * config/microblaze/divsi3.asm: Rename to divsi3.S.
7569 * config/microblaze/moddi3.asm: Rename to moddi3.S.
7570 * config/microblaze/modsi3.asm: Rename to modsi3.S.
7571 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
7572 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
7573 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
7574 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
7575 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
7576 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
7577 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
7578 New files.
7579 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
7580 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
7581 * config/pa/fptr.c, config/pa/lib2funcs.S,
7582 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
7583 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
7584 (LIB2ADD, LIB2ADD_ST): Set.
7585 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
7586 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
7587 Set.
7588 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
7589 * config/pdp11/t-pdp11: New file.
7590 * config/picochip/libgccExtras/adddi3.S,
7591 config/picochip/libgccExtras/ashlsi3.S,
7592 config/picochip/libgccExtras/ashrsi3.S,
7593 config/picochip/libgccExtras/clzsi2.S,
7594 config/picochip/libgccExtras/cmpsi2.S,
7595 config/picochip/libgccExtras/divmod15.S,
7596 config/picochip/libgccExtras/divmodhi4.S,
7597 config/picochip/libgccExtras/divmodsi4.S,
7598 config/picochip/libgccExtras/lshrsi3.S,
7599 config/picochip/libgccExtras/parityhi2.S,
7600 config/picochip/libgccExtras/popcounthi2.S,
7601 config/picochip/libgccExtras/subdi3.S,
7602 config/picochip/libgccExtras/ucmpsi2.S,
7603 config/picochip/libgccExtras/udivmodhi4.S,
7604 config/picochip/libgccExtras/udivmodsi4.S: New files.
7605 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
7606 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
7607 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
7608 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
7609 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
7610 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
7611 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
7612 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
7613 files.
7614 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
7615 (HOST_LIBGCC2_CFLAGS): Set.
7616 * config/rs6000/t-darwin64: New file.
7617 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
7618 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
7619 * config/rs6000/t-ppccomm (LIB2ADD): Add
7620 $(srcdir)/config/rs6000/tramp.S.
7621 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
7622 Add $(srcdir)/config/rs6000/eabi.S.
7623 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
7624 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
7625 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
7626 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
7627 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
7628 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
7629 * config/rs6000/tramp.S: New file.
7630 * config/s390/t-tpf: Remove.
7631 * config/sh/linux-atomic.S: New file.
7632 * config/sh/t-linux (LIB2ADD): Set.
7633 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
7634 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
7635 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
7636 to unwind-dw2.c.
7637 (HOST_LIBGCC2_CFLAGS): Set.
7638 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7639 * config/spu/divmodti4.c, config/spu/divv2df3.c,
7640 config/spu/float_disf.c, config/spu/float_unsdidf.c,
7641 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
7642 config/spu/mfc_multi_tag_release.c,
7643 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
7644 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
7645 config/spu/multi3.c: New files.
7646 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
7647 (HOST_LIBGCC2_CFLAGS): Set.
7648 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
7649 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
7650 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
7651 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
7652 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
7653 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
7654 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
7655 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
7656 config/stormy16/umodsi3.c: New files.
7657 * config/xtensa/lib2funcs.S: New file.
7658 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
7659 * config/xtensa/t-xtensa (LIB2ADD): Set.
7660 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
7661 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
7662 Add t-freebsd-thread to tmake_file for posix threads.
7663 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
7664 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
7665 (*-*-lynxos*): Likewise.
7666 (*-*-netbsd*): Likewise.
7667 (*-*-openbsd*): Likewise.
7668 Add t-openbsd-thread to tmake_file for posix threads.
7669 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
7670 (*-*-vxworks*): Set tmake_file.
7671 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
7672 (alpha*-*-freebsd*): Likewise.
7673 (alpha*-*-netbsd*): Likewise.
7674 (alpha*-*-openbsd*): Likewise.
7675 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
7676 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
7677 (alpha*-dec-*vms*): Likewise.
7678 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
7679 (bfin*-elf*): Add bfin/t-elf to tmake_file.
7680 (bfin*-uclinux*): Likewise.
7681 (bfin*-linux-uclibc*): Likewise.
7682 (crisv32-*-elf): Add cris/t-cris to tmake_file.
7683 (crisv32-*-none): Likewise.
7684 (cris-*-elf): Likewise.
7685 (cris-*-none): Likewise.
7686 (cris-*-linux*, crisv32-*-linux*): Likewise.
7687 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
7688 tmake_file.
7689 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
7690 tmake_file.
7691 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
7692 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
7693 (x86_64-*-elf*): Likewise.
7694 (i[34567]86-*-nto-qnx*): Likewise.
7695 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
7696 win32 threads.
7697 (x86_64-*-mingw*): Likewise.
7698 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
7699 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
7700 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
7701 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
7702 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
7703 tmake_file.
7704 (mipsisa64sr71k-*-elf*): Likewise.
7705 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
7706 (mips-*-elf*, mipsel-*-elf*): Likewise.
7707 (mips64-*-elf*, mips64el-*-elf*): Likewise.
7708 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
7709 (mips*-*-rtems*): Likewise.
7710 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
7711 to tmake_file.
7712 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
7713 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
7714 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
7715 (spu-*-elf*): Likewise.
7716 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
7717
45b86625
RO
77182011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7719
7720 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
7721 $(srcdir) to refer to $(LIB1ASMSRC).
7722 Use $<.
7723 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
7724 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
7725 config/arm/lib1funcs.S: New files.
7726 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
7727 * config/arm/t-arm: New file.
7728 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
7729 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
7730 config/arm/t-strongarm-elf: New files.
7731 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
7732 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
7733 * config/avr/lib1funcs.S: New file.
7734 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7735 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
7736 * config/c6x/lib1funcs.S: New file.
7737 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7738 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
7739 * config/frv/lib1funcs.S: New file.
7740 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7741 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
7742 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
7743 * config/ia64/__divxf3.asm: Rename to ...
7744 * config/ia64/__divxf3.S: ... this.
7745 Adapt lib1funcs.asm filename.
7746 * config/ia64/_fixtfdi.asm: Rename to ...
7747 * config/ia64/_fixtfdi.S: ... this.
7748 Adapt lib1funcs.asm filename.
7749 * config/ia64/_fixunstfdi.asm: Rename to ...
7750 * config/ia64/_fixunstfdi.S: ... this.
7751 Adapt lib1funcs.asm filename.
7752 * config/ia64/_floatditf.asm: Rename to ...
7753 * config/ia64/_floatditf.S: ... this.
7754 Adapt lib1funcs.asm filename.
7755 * config/ia64/lib1funcs.S: New file.
7756 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
7757 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7758 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
7759 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
7760 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
7761 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
7762 * config/mep/lib1funcs.S: New file.
7763 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7764 * config/mips/mips16.S: New file.
7765 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7766 * config/pa/milli64.S: New file.
7767 * config/pa/t-linux, config/pa/t-linux64: New files.
7768 * config/picochip/lib1funcs.S: New file.
7769 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7770 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
7771 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
7772 * config/sh/t-netbsd: New file.
7773 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
7774 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
7775 * config/sh/t-sh64: New file.
7776 * config/sparc/lb1spc.S: New file.
7777 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
7778 filename.
7779 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
7780 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
7781 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
7782 config/xtensa/lib1funcs.S: New files.
7783 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7784 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
7785 tmake_file.
7786 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
7787 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
7788 (arm*-*-linux*): Likewise.
7789 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
7790 arm*-*-linux-*eabi, add arm/t-linux otherwise.
7791 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
7792 (arm*-*-ecos-elf): Likewise.
7793 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
7794 (arm*-*-rtems*): Likewise.
7795 (arm*-*-elf): Likewise.
7796 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
7797 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
7798 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
7799 (bfin*-uclinux*): Likewise.
7800 (bfin*-linux-uclibc*): Likewise.
7801 (bfin*-rtems*): Likewise.
7802 (bfin*-*): Likewise.
7803 (fido-*-elf): Merge into m68k-*-elf*.
7804 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
7805 (frv-*-*linux*): Add frv/t-frv to tmake_file.
7806 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
7807 (h8300-*-elf*): Likewise.
7808 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
7809 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
7810 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
7811 (i[34567]86-*-mingw*): Likewise.
7812 (x86_64-*-mingw*): Likewise.
7813 (i[34567]86-*-interix3*): Likewise.
7814 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
7815 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
7816 (m68k-*-elf*): Also handle fido-*-elf.
7817 Add m68k/t-floatlib to tmake_file.
7818 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
7819 (m68k-*-linux*): Likewise.
7820 (m68k-*-rtems*): Likewise.
7821 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
7822 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
7823 sh64*-*-*.
7824 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
7825 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
7826 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
7827 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
7828 sh/t-netbsd to tmake_file.
7829 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
7830 (sh-*-rtems*): Add sh/t-sh to tmake_file.
7831 (sh-wrs-vxworks): Likewise.
7832 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
7833 *-leon[3-9]*.
7834 (v850*-*-*): Add v850/t-v850 to tmake_file.
7835 (vax-*-linux*): Add vax/t-linux to tmake_file.
7836 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
7837
5f73c6cc
RO
78382011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7839
7840 * crtstuff.c: New file.
7841 * Makefile.in (CRTSTUFF_CFLAGS): Define.
7842 (CRTSTUFF_T_CFLAGS): Define.
7843 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
7844 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
7845 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
7846 crtstuff.c.
7847 Use $<.
7848 (crtbeginT.o): Use $(objext).
7849 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
7850 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
7851 (gcc-extra-parts): Remove.
7852 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
7853 Set extra_parts.
7854 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
7855 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
7856 Add t-crtstuff-pic to tmake_file.
7857 (*-*-lynxos*): New case.
7858 Set tmake_file, extra_parts.
7859 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
7860 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
7861 *-*-netbsdelf[2-9]*.
7862 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
7863 (*-*-rtems*): Set extra_parts.
7864 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
7865 (*-*-uclinux*): New case.
7866 Set extra_parts.
7867 (*-*-vms*): New case.
7868 Set tmake_file, extra_parts.
7869 (*-*-elf): Set extra_parts.
7870 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
7871 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
7872 vms/t-vms64.
7873 Set extra_parts.
7874 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
7875 Set extra_parts.
7876 (arm*-*-freebsd*): Add t-crtin to tmake_file.
7877 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
7878 (arm-wrs-vxworks): Append to tmake_file.
7879 Set extra_parts.
7880 (arm*-*-uclinux*): Set extra_parts.
7881 (arm*-*-ecos-elf): Likewise.
7882 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
7883 arm*-*-eabi*.
7884 (arm*-*-rtems*): Set extra_parts.
7885 (arm*-*-elf): Likewise.
7886 (avr-*-rtems*): Clear extra_parts.
7887 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
7888 Set extra_parts.
7889 (bfin*-uclinux*): Likewise.
7890 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
7891 (bfin*-rtems*): Append to tmake_file.
7892 Set extra_parts.
7893 (bfin*-*): Likewise.
7894 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
7895 (crisv32-*-elf): ... this.
7896 (crisv32-*-none): ... this.
7897 (cris-*-elf, cris-*-none): New cases.
7898 Add cris/t-elfmulti to tmake_file.
7899 (fr30-*-elf): Append to tmake_file.
7900 Set extra_parts.
7901 (frv-*-elf): Append to tmake_file, add frv/t-frv.
7902 Set extra_parts.
7903 (h8300-*-rtems*): Append to tmake_file.
7904 Set extra_parts.
7905 (h8300-*-elf*): Likewise.
7906 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
7907 Set extra_parts.
7908 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
7909 Set extra_parts.
7910 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
7911 (x86_64-*-elf*): Likewise.
7912 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
7913 (x86_64-*-freebsd*): Likewise.
7914 (x86_64-*-netbsd*): Likewise.
7915 (i[34567]86-*-linux*): Likewise.
7916 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
7917 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
7918 (x86_64-*-linux*): Likewise.
7919 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
7920 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
7921 tmake_file.
7922 Set extra_parts.
7923 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
7924 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
7925 Append to extra_parts, remove crtbegin.o, crtend.o.
7926 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
7927 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
7928 crtend.o, crtbeginS.o, crtendS.o.
7929 (ia64*-*-linux*): Comment extra_parts.
7930 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
7931 Set extra_parts.
7932 (iq2000*-*-elf*): Clear extra_parts.
7933 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
7934 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
7935 (m32r-*-elf*, m32r-*-rtems*): Split off ...
7936 (m32r-*-rtems*): ... this.
7937 Add m32r/t-m32r to tmake_file.
7938 (m68k-*-elf*): Add t-crtin to tmake_file.
7939 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
7940 (mcore-*-elf): Likewise.
7941 (microblaze*-*-*): Set extra_parts.
7942 (mips*-sde-elf*): New case.
7943 Set tmake_file, extra_parts.
7944 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
7945 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
7946 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
7947 tmake_file.
7948 Set extra_parts.
7949 (mipsisa64sr71k-*-elf*): Likewise.
7950 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
7951 (mips-*-elf*, mipsel-*-elf*): Likewise.
7952 (mips64-*-elf*, mips64el-*-elf*): Likewise.
7953 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
7954 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
7955 (mips*-*-rtems*): Likewise.
7956 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
7957 (moxie-*-*): Split into ...
7958 (moxie-*-elf, moxie-*-uclinux*): ... this.
7959 Add to extra_parts, remove crtbegin.o, crtend.o.
7960 (moxie-*-rtems*): New case.
7961 Set tmake_file.
7962 Clear extra_parts.
7963 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
7964 Set extra_parts.
7965 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
7966 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
7967 tmake_file.
7968 Set extra_parts.
7969 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
7970 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
7971 Set extra_parts.
7972 (powerpc-*-eabisim*): Likewise.
7973 (powerpc-*-elf*): Likewise.
7974 (powerpc-*-eabialtivec*): Likewise.
7975 (powerpc-xilinx-eabi*): Likewise.
7976 (powerpc-*-eabi*): Likewise.
7977 (powerpc-*-rtems*): Likewise.
7978 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
7979 tmake_file.
7980 Set extra_parts.
7981 (powerpc-*-lynxos*): Add to tmake_file.
7982 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
7983 rs6000/t-crtstuff, t-crtstuff-pic.
7984 Set extra_parts.
7985 (powerpcle-*-eabisim*): Likewise.
7986 (powerpcle-*-eabi*): Likewise.
7987 (rx-*-elf): Remove extra_parts.
7988 (s390x-ibm-tpf*): Set extra_parts.
7989 (score-*-elf): Set extra_parts.
7990 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
7991 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
7992 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
7993 (sh64l*-*-netbsd*): Split into ...
7994 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
7995 Add t-crtstuff-pic to tmake_file.
7996 Set extra_parts.
7997 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
7998 Set extra_parts.
7999 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
8000 (sparc-*-elf*): Remove t-crtin from tmake_file.
8001 Add to extra_parts, remove crtbegin.o, crtend.o.
8002 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
8003 (sparc64-*-linux*): Likewise.
8004 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
8005 Add to extra_parts, remove crtbegin.o, crtend.o.
8006 (sparc64-*-elf*): Remove t-crtin from tmake_file.
8007 Add to extra_parts, remove crtbegin.o, crtend.o.
8008 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
8009 Add to extra_parts, remove crtbegin.o, crtend.o.
8010 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
8011 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
8012 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
8013 Set extra_parts.
8014 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
8015 Set extra_parts.
8016 (tic6x-*-*): Change to ...
8017 (tic6x-*-elf): ... this.
8018 Set extra_parts.
8019 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
8020 Set extra_parts.
8021 (am33_2.0-*-linux*): Add comment.
8022 (mep*-*-*): Add mep/t-mep to tmake_file.
8023 Set extra_parts.
8024 * config/alpha/t-vms: New file.
8025 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
8026 * config/arm/crti.S, config/arm/crtn.S: New files.
8027 * config/bfin/crti.S, config/bfin/crtn.S: New files.
8028 * config/bfin/crtlibid.S: New file.
8029 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
8030 * config/c6x/crti.S, config/c6x/crtn.S: New files.
8031 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
8032 (crti.o, crtin.o): New rules.
8033 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
8034 * config/c6x/t-uclinux: New file.
8035 * config/cris/t-elfmulti: New file.
8036 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
8037 * config/fr30/crti.S, config/fr30/crtn.S: New files.
8038 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
8039 * config/frv/t-frv: New file.
8040 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
8041 * config/h8300/crti.S, config/h8300/crtn.S: New files.
8042 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
8043 New files.
8044 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
8045 refer to cygming-crtbegin.c, cygming-crtend.c.
8046 Use $<.
8047 * config/i386/t-nto: New file.
8048 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
8049 * config/ia64/crti.S, config/ia64/crtn.S: New files.
8050 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
8051 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
8052 Use .S extension.
8053 Use $<.
8054 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
8055 (crtinitS.o): New rule.
8056 * config/ia64/vms-crtinit.S: New file.
8057 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
8058 * config/m32r/initfini.c: New file.
8059 * config/m32r/t-linux, config/m32r/t-m32r: New files.
8060 * config/m68k/crti.S, config/m68k/crtn.S: New files.
8061 * config/mcore/crti.S, config/mcore/crtn.S: New files.
8062 * config/mep/t-mep: New file.
8063 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
8064 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
8065 * config/mips/crti.S, config/mips/crtn.S: New files.
8066 * config/mips/t-crtstuff: New file.
8067 * config/mmix/crti.S, config/mmix/crtn.S: New files.
8068 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
8069 (CUSTOM_CRTIN): Set.
8070 ($(T)crti.o, $(T)crtn.o): Remove $(T),
8071 dependencies.
8072 Use $(srcdir) to refer to crti.S, crtn.S.
8073 Use .S extension, $<.
8074 * config/moxie/crti.asm: Rename to ...
8075 * config/moxie/crti.S: ... this.
8076 * config/moxie/crtn.asm: Rename to ...
8077 * config/moxie/crtn.S: ... this.
8078 * config/moxie/t-moxie: Remove.
8079 * config/pa/stublib.c: New file.
8080 * config/pa/t-stublib, config/pa/t-stublib64: New files.
8081 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
8082 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
8083 * config/rs6000/t-crtstuff: New file.
8084 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
8085 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
8086 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
8087 Make output file explicit.
8088 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
8089 Make output file explicit.
8090 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
8091 Make output file explicit.
8092 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
8093 Make output file explicit.
8094 * config/score/crti.S, config/score/crtn.S: New files.
8095 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
8096 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
8097 files.
8098 * config/sh/t-sh, config/sh/t-superh: New files.
8099 * config/sparc/t-linux64: New file.
8100 * config/spu/cache.S, config/spu/cachemgr.c: New files.
8101 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
8102 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
8103 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
8104 * config/t-crtin: Remove.
8105 * config/t-crtstuff-pic: New file.
8106 * config/t-sol2 (CUSTOM_CRTIN): Set.
8107 (crti.o, crtn.o): New rules.
8108 * config/vms/t-vms: New file.
8109 * config/vms/vms-ucrt0.c: New file.
8110 * config/xtensa/t-elf: New file.
8111
b040f2be
RO
81122011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8113
8114 * Makefile.in (SHLIB_NM_FLAGS): Set.
8115 * mkmap-flat.awk, mkmap-symver.awk: New files.
8116 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
8117 exceptions.
8118 * configure: Regenerate.
8119 * config/libgcc-glibc.ver: New file.
8120 * config/libgcc-libsystem.ver: New file.
8121 * config/t-libunwind (SHLIB_LC): Set.
8122 * config/t-linux: New file.
8123 * config/t-slibgcc (INSTALL_SHLIB): New.
8124 (SHLIB_INSTALL): Use it.
8125 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
8126 to mkmap-symver.awk.
8127 (SHLIB_MAPFILES): Don't append, adapt pathname.
8128 (SHLIB_VERPFX): Set.
8129 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
8130 to mkmap-symver.awk.
8131 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
8132 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
8133 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
8134 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
8135 to mkmap-flat.awk.
8136 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
8137 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
8138 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
8139 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
8140 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
8141 * config/i386/libgcc-darwin.10.4.ver,
8142 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
8143 New files.
8144 * config/i386/t-darwin: Remove.
8145 * config/i386/t-darwin64: Likewise.
8146 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
8147 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
8148 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
8149 * config/i386/t-linux: New file.
8150 * config/i386/t-mingw32: New file.
8151 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
8152 * config/ia64/t-glibc: Rename to ...
8153 * config/ia64/t-linux: ... this.
8154 (SHLIB_MAPFILES): Set.
8155 * config/ia64/t-glibc-libunwind: Rename to ...
8156 * config/ia64/t-linux-libunwind: ... this.
8157 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
8158 * config/ia64/t-slibgcc-hpux: New file.
8159 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
8160 * config/m68k/t-slibgcc-elf-ver: New file.
8161 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
8162 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
8163 to mkmap-flat.awk.
8164 * config/pa/t-slibgcc-hpux: New file.
8165 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
8166 files.
8167 * config/rs6000/libgcc-darwin.10.4.ver,
8168 config/rs6000/libgcc-darwin.10.5.ver: New files.
8169 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
8170 config/rs6000/libgcc-glibc.ver.
8171 * config/rs6000/libgcc-ppc64.ver: Rename to
8172 config/rs6000/libgcc-ibm-ldouble.ver.
8173 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
8174 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
8175 * config/rs6000/t-ldbl128: Rename to ...
8176 * config/rs6000/t-linux: ... this.
8177 (SHLIB_MAPFILES): Adapt filename.
8178 * config/rs6000/t-slibgcc-aix: New file.
8179 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
8180 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
8181 libgcc-excl.ver, libgcc-glibc.ver.
8182 (SHLIB_LINK, SHLIB_INSTALL): Remove.
8183 * config/sparc/libgcc-glibc.ver: New file.
8184 * config/sparc/t-linux: New file.
8185 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
8186 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
8187 t-slibgcc-elf-ver to tmake_file.
8188 Add t-slibgcc-nolc-override to tmake_file for posix threads on
8189 *-*-freebsd[34].
8190 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
8191 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
8192 t-slibgcc-elf-ver, t-linux to tmake_file.
8193 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
8194 tmake_file.
8195 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
8196 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
8197 (alpha*-dec-*vms*): Likewise.
8198 (arm*-*-freebsd*): Append to tmake_file.
8199 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
8200 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
8201 arm*-*-linux-*eabi.
8202 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
8203 tmake_file for arm*-*-symbianelf*.
8204 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
8205 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
8206 cris/t-linux.
8207 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
8208 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
8209 pa/t-slibgcc-dwarf-ver to tmake_file.
8210 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
8211 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
8212 (hppa*64*-*-hpux11*): Likewise.
8213 (hppa[12]*-*-hpux11*): Likewise.
8214 (x86_64-*-darwin*): Don't override tmake_file, but only keep
8215 i386/t-crtpc, i386/t-crtfm.
8216 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
8217 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
8218 to tmake_file.
8219 Add i386/t-cygwin to tmake_file.
8220 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
8221 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
8222 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
8223 to tmake_file.
8224 Add i386/t-mingw32 to tmake_file.
8225 (x86_64-*-mingw*): Likewise.
8226 (ia64*-*-freebsd*): Append to tmake_file.
8227 (ia64*-*-linux*): Append to tmake_file.
8228 Replace ia64/t-glibc by ia64/t-linux.
8229 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
8230 system libunwind.
8231 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
8232 t-slibgcc-hpux to tmake_file.
8233 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
8234 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
8235 (m32rle-*-linux*): Likewise.
8236 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
8237 sjlj exceptions.
8238 (microblaze*-linux*): New case.
8239 Append to tmake_file, add t-slibgcc-nolc-override.
8240 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
8241 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
8242 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
8243 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
8244 rs6000/t-slibgcc-aix to tmake_file.
8245 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8246 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8247 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
8248 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
8249 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
8250 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
8251 sh*-*-linux*.
8252 (sparc-*-linux*): Append to tmake_file for *-leon*.
8253 Add sparc/t-linux to tmake_file for non-Leon targets.
8254 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
8255 (tic6x-*-uclinux): New case.
8256 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
8257 (tic6x-*-*): Add c6x/t-elf to tmake_file.
8258 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
8259 (am33_2.0-*-linux*): Append to tmake_file.
8260 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
8261 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
8262 x86_64-*-kfreebsd*-gnu.
8263 Add i386/t-linux to tmake_file.
8264
18b4bd7b
ILT
82652011-10-28 Ian Lance Taylor <iant@google.com>
8266
8267 * config/i386/morestack.S: Correct CFI information to do proper
8268 returns throughout function. In 32-bit mode, save %ebx so that it
8269 is restored on unwind.
8270
5b2d9d90
BS
82712011-10-25 Bernd Schmidt <bernds@codesourcery.com>
8272
8273 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
8274 case where B3 isn't the return register.
8275
0d53e346
BS
8276 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
8277 logic for doubleword pops.
8278
cbffbd59
AT
82792011-10-25 Andreas Tobler <andreast@fgznet.ch>
8280
8281 * config/rs6000/t-freebsd: Add wildcard.
8282
56dc349e
PB
82832011-10-21 Paul Brook <paul@codesourcery.com>
8284
8285 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
8286
1e06b07d
UB
82872011-10-16 Uros Bizjak <ubizjak@gmail.com>
8288 Eric Botcazou <ebotcazou@adacore.com>
8289
8290 PR target/50737
8291 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
8292 fs->signal_frame to 1.
8293
b5204884
ILT
82942011-10-07 Ian Lance Taylor <iant@google.com>
8295
8296 * generic-morestack-thread.c: #include <errno.h>.
8297
91a639a1
ILT
82982011-10-07 Ian Lance Taylor <iant@google.com>
8299
8300 PR target/46093
8301 * generic-morestack.c (__generic_morestack): Make sure the segment
8302 is large enough for both the stack frame and the copied
8303 parameters.
8304
cc49116d
RO
83052011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8306
8307 PR bootstrap/49804
8308 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
8309 extra_parts.
8310
2996d8c3
NC
83112011-09-28 Nick Clifton <nickc@redhat.com>
8312
8313 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
8314 64-bit doubles are not enabled.
8315 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
8316 and floatunsisf functions.
8317
1e874273 83182011-09-13 Paul Brook <paul@codesourcery.com>
2996d8c3 8319
1e874273
PB
8320 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
8321 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
8322 * unwind-arm-common.inc: New file.
8323 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
8324 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
8325 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
8326 * config/c6x/libunwind.S: New file.
8327 * config/c6x/pr-support.c: New file.
8328 * config/c6x/unwind-c6x.c: New file.
8329 * config/c6x/unwind-c6x.h: New file.
8330 * config/c6x/t-c6x-elf: New file.
8331
f70c879a
UB
83322011-08-23 Uros Bizjak <ubizjak@gmail.com>
8333
8334 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
8335 (ASM_DIVZERO): Ditto.
8336 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
8337
c55b374b
RS
83382011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
8339
8340 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
8341
1e138510
RS
83422011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
8343
8344 PR target/50090
8345 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
8346 instead of an assembly one.
8347
1563503d
PB
83482011-08-12 Paolo Bonzini <bonzini@gnu.org>
8349
8350 PR bootstrap/50047
8351 * Makefile.in (install-unwind_h): Create
8352 $(gcc_objdir)/include/unwind.h atomically.
8353
3627ac1a
RO
83542011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8355
8356 * Makefile.in (install-unwind_h): Remove destination file first.
8357
c6412d86
RO
83582011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8359
8360 * sync.c: New file.
8361 * config/mips/t-mips16: New file.
8362 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
8363 (mips*-*-linux*): Likewise.
8364 (mips*-sde-elf*): Likewise.
8365 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
8366 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
8367 Add mips/t-mips16 to tmake_file.
8368 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
8369 (mips-*-elf*): Likewise.
8370 (mips64-*-elf*): Likewise.
8371 (mips64orion-*-elf*): Likewise.
8372 (mips*-*-rtems*): Likewise.
8373 (mipstx39-*-elf*): Likewise.
8374 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
8375 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
8376 LIBGCC_SYNC_CFLAGS.
8377 Use $(srcdir) to refer to sync.c.
8378 Use $<.
8379 ($(libgcc-sync-funcs-o)): Likewise.
8380 ($(libgcc-sync-size-funcs-s-o)): Likewise.
8381 ($(libgcc-sync-funcs-s-o)): Likewise.
8382
3cb6e5bd
AS
83832011-08-09 Andreas Schwab <schwab@linux-m68k.org>
8384
8385 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
8386 t-libunwind.
8387
cca2207a
L
83882011-08-08 H.J. Lu <hongjiu.lu@intel.com>
8389
8390 PR other/48007
8391 * config/i386/value-unwind.h: New.
8392
ed39fbad
RS
83932011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
8394
8395 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
8396 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
8397 Add to tmake_file rather than overriding it.
8398
aca0b0b3
RO
83992011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8400
8401 * config/t-softfp: Remove.
8402 * soft-fp: Moved from ../gcc/config.
8403 * soft-fp/README: Remove t-softfp reference.
8404 * soft-fp/t-softfp: Move to config/t-softfp.
8405 (softfp_machine_header): Remove.
8406 (softfp_file_list): Remove config subdir.
8407 (soft-fp-objects): New variable.
8408 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
8409 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
8410 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
8411 * config/t-softfp-excl: New file.
8412 * config/t-softfp-sfdf: New file.
8413 * config/t-softfp-tf: New file.
8414 * config/no-sfp-machine.h: New file.
8415 * config/arm/sfp-machine.h: New file.
8416 * config/arm/t-softfp: New file.
8417 * config/c6x/sfp-machine.h: New file.
8418 * config/i386/32/t-fprules-softfp: Rename to ...
8419 * config/i386/32/t-softfp: ... this.
8420 (tifunctions, LIB2ADD): Remove.
8421 (softfp_int_modes): Override.
8422 * config/i386/64/t-softfp-compat (tf-functions): Remove config
8423 subdir.
8424 * config/i386/64/eqtf2.c: Likewise.
8425 * config/i386/64/getf2.c: Likewise.
8426 * config/i386/64/letf2.c: Likewise.
8427 * config/ia64/sft-machine.h: New file.
8428 * config/ia64/t-fprules-softfp: Rename to ...
8429 * config/ia64/t-softfp: ... this.
8430 * config/lm32/sfp-machine.h: New file.
8431 * config/moxie/t-moxie-softfp: Remove.
8432 * config/rs6000/ibm-ldouble-format: New file.
8433 * config/rs6000/ibm-ldouble.c: New file.
8434 * config/rs6000/libgcc-ppc-glibc.ver: New file
8435 * config/rs6000/libgcc-ppc64.ver: New file
8436 * config/rs6000/sfp-machine.h: New file.
8437 * config/rs6000/t-freebsd: New file.
8438 * config/rs6000/t-ibm-ldouble: New file.
8439 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
8440 libgcc-ppc-glibc.ver.
8441 * config/rs6000/t-linux64: New file.
8442 * config/rs6000/t-ppccomm (LIB2ADD): Add
8443 $(srcdir)/config/rs6000/ibm-ldouble.c.
8444 * config/rs6000/t-ppccomm-ldbl: New file.
8445 * config/score/sfp-machine.h: New file.
8446 * config.host (sfp_machine_header): Explain.
8447 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
8448 t-softfp to tmake_file.
8449 (arm*-*-uclinux*): Likewise.
8450 (arm*-*-ecos-elf): Likewise.
8451 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
8452 (arm*-*-rtems*): Likewise.
8453 (arm*-*-elf): Likewise.
8454 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
8455 in tmake_file.
8456 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
8457 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
8458 (lm32-*-uclinux*): Likewise.
8459 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
8460 t-softfp-excl, t-softfp.
8461 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
8462 (powerpc64-*-darwin*): Likewise.
8463 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
8464 to tmake_file.
8465 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
8466 tmake_file.
8467 (powerpc-*-eabisim*): Likewise.
8468 (powerpc-*-elf*): Likewise.
8469 (powerpc-*-eabialtivec*): Likewise.
8470 (powerpc-xilinx-eabi*): Likewise.
8471 (powerpc-*-rtems*): Likewise.
8472 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
8473 t-softfp-excl, t-softfp to tmake_file.
8474 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
8475 rs6000/t-ppccomm-ldbl to tmake_file.
8476 (powerpcle-*-elf*): Likewise.
8477 (powerpcle-*-eabisim*): Likewise.
8478 (powerpcle-*-eabi*): Likewise.
8479 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
8480 rs6000/t-ibm-ldouble to tmake_file.
8481 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8482 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8483 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
8484 (tic6x-*-*): Likewise.
8485 (i[34567]86-*-darwin*, x86_64-*-darwin*,
8486 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
8487 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
8488 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
8489 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
8490 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
8491 t-softfp to tmake_file.
8492 * configure.ac (sfp_machine_header): Provide default if unset.
8493 Substitute.
8494 Link sfp-machine.h to config/$sfp_machine_header.
8495 * configure: Regenerate.
8496
569dc494
RO
84972011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8498
8499 * Makefile.in (double_type_size, long_double_type_size): Set.
8500 Remove $(fpbit-in-libgcc) support.
8501 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
8502 (fpbit-src): New variable.
8503 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
8504 Compile with -DFLOAT $(FPBIT_CFLAGS).
8505 Use $<.
8506 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
8507 Compile with $(FPBIT_CFLAGS).
8508 Use $<.
8509 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
8510 Compile with -DFLOAT $(TPBIT_CFLAGS).
8511 Use $<.
8512 * configure.ac (double_type_size, long_double_type_size):
8513 Determine and substitute.
8514 * configure: Regenerate.
8515 * fp-bit.c, fp-bit.h: New files.
8516 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
8517 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
8518 * config/mips/t-mips: New file.
8519 * config/mips/t-sdemtk: New file.
8520 * config/rs6000/ppc64-fp.c: New file.
8521 * config/rs6000/t-darwin (LIB2ADD): Add
8522 $(srcdir)/config/rs6000/ppc64-fp.c.
8523 * config/rs6000/t-ppc64-fp: New file.
8524 * config/rx/rx-lib.h: New file.
8525 * config/rx/t-rx (FPBIT): Set to true.
8526 ($(gcc_objdir)/fp-bit.c): Remove.
8527 (DPBIT): Set to true only with -m64bit-doubles.
8528 ($(gcc_objdir)/dp-bit.c): Remove.
8529 * config/sparc/t-softfp: Remove.
8530 * config/spu/t-elf: New file.
8531 * config/t-fdpbit, config/t-fpbit: New files.
8532 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
8533 (mips*-*-*): Likewise.
8534 (arm-wrs-vxworks): Likewise.
8535 (arm*-*-freebsd*): Likewise.
8536 (avr-*-rtems*): Add t-fpbit to tmake_file.
8537 (avr-*-*): Likewise.
8538 (bfin*-elf*): Add t-fdpbit to tmake_file.
8539 (bfin*-uclinux*): Likewise.
8540 (bfin*-linux-uclibc*): Likewise.
8541 (bfin*-rtems*): New case.
8542 Add t-fdpbit to tmake_file.
8543 (bfin*-*): Add t-fdpbit to tmake_file.
8544 (crisv32-*-elf): Likewise.
8545 (cris-*-linux*): Likewise.
8546 (fr30-*-elf): Likewise.
8547 (frv-*-elf, frv-*-*linux*): Likewise.
8548 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
8549 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
8550 (m32r-*-elf*): Likewise.
8551 (m32rle-*-elf*): Likewise.
8552 (m32r-*-linux*): Likewise.
8553 (m32rle-*-linux*): Likewise.
8554 (mcore-*-elf): Add t-fdpbit to tmake_file.
8555 (microblaze*-*-*): Likewise.
8556 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
8557 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
8558 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
8559 Fix typo.
8560 Add mips/t-tpbit to tmake-file.
8561 (mips*-*-linux*): Fix typo.
8562 (mips*-sde-elf*): New case
8563 Add mips/t-sdemtk unless using newlib.
8564 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
8565 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
8566 (mn10300-*-*): Likewise.
8567 (pdp11-*-*): Likewise.
8568 (picochip-*-*): Add t-fpbit to tmake_file.
8569 (powerpc-*-eabisimaltivec*): Likewise.
8570 (powerpc-*-eabisim*): Likewise.
8571 (powerpc-*-elf*): Likewise.
8572 (powerpc-*-eabialtivec*): Likewise.
8573 (powerpc-xilinx-eabi*): New case.
8574 Add t-fdpbit to tmake_file.
8575 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
8576 (powerpc-*-rtems*): Likewise.
8577 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
8578 tmake_file.
8579 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
8580 tmake_file.
8581 (powerpc-*-lynxos*): Likewise.
8582 (powerpcle-*-elf*): Likewise.
8583 (powerpcle-*-eabisim*): Likewise.
8584 (powerpcle-*-eabi*): Likewise.
8585 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
8586 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
8587 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8588 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8589 (rx-*-elf): Add t-fdpbit to tmake_file.
8590 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
8591 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
8592 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
8593 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
8594 sh*-*-netbsd*.
8595 (sh-*-rtems*): Add t-fdpbit to tmake_file.
8596 (sh-wrs-vxworks): Likewise.
8597 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
8598 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
8599 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
8600 (sparc64-*-rtems*): ... new case.
8601 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
8602 (spu-*-elf*): Likewise.
8603 Add spu/t-elf to tmake_file.
8604 (v850*-*-*): Add t-fdpbit to tmake_file.
8605 (xstormy16-*-elf): Likewise.
8606 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
8607 (mep*-*-*): Likewise.
8608
201cdb74
RO
86092011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8610
8611 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
8612 variables.
8613 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
8614 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
8615 (install-unwind_h): New target.
8616 (all): Depend on it.
8617 * config.host (unwind_header): New variable.
8618 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
8619 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
8620 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
8621 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
8622 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
8623 Set unwind_header.
8624 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
8625 Set unwind_header.
8626 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
8627 arm*-*-eabi*.
8628 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
8629 Set unwind_header.
8630 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
8631 (ia64*-*-freebsd*): Likewise.
8632 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
8633 tmake_file.
8634 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
8635 $with_system_libunwind.
8636 (ia64*-*-hpux*): Set tmake_file.
8637 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
8638 (picochip-*-*): Set tmake_file.
8639 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
8640 md_unwind_header.
8641 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8642 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8643 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
8644 (xtensa*-*-elf*): Set tmake_file.
8645 (xtensa*-*-linux*): Likewise.
8646 * configure.ac: Include ../config/unwind_ipinfo.m4.
8647 Call GCC_CHECK_UNWIND_GETIPINFO.
8648 Link unwind.h to $unwind_header.
8649 * configure: Regenerate.
8650 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
8651 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
8652 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
8653 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
8654 * config/unwind-dw2-fde-darwin.c: New file.
8655 * config/arm/libunwind.S, config/arm/pr-support.c,
8656 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
8657 config/arm/unwind-arm.h,: New files.
8658 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
8659 config/ia64/t-eh-ia64, config/ia64/t-glibc,
8660 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
8661 config/ia64/t-vms, config/ia64/unwind-ia64.c,
8662 config/ia64/unwind-ia64.h: New files.
8663 * config/picochip/t-picochip: New file.
8664 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
8665 files.
8666 * config/rs6000/t-darwin (LIB2ADDEH): Set.
8667 * config/s390/t-tpf (LIB2ADDEH): Remove.
8668 * config/t-darwin (LIB2ADDEH): Set.
8669 * config/t-eh-dw2-dip: New file.
8670 * config/t-libunwind, config/t-libunwind-elf: New files.
8671 * config/t-sol2 (LIB2ADDEH): Remove.
8672 * config/xtensa/t-xtensa: New file.
8673
40f2f11f
L
86742011-08-02 H.J. Lu <hongjiu.lu@intel.com>
8675
8676 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
8677 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
8678 long long to check rt_sigreturn syscall.
8679
bd15e32c
AM
86802011-08-02 Alan Modra <amodra@gmail.com>
8681
8682 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
8683 Restore for indirect call bcrtl from correct stack slot, and only
8684 if cfa+40 isn't valid.
8685
655b30bf
JB
86862011-08-01 Julian Brown <julian@codesourcery.com>
8687
8688 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
8689 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
8690 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
8691
247eb06f
JB
86922011-08-01 Julian Brown <julian@codesourcery.com>
8693
8694 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
8695 (libgcc-std.ver.in): Use above.
8696 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
8697 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
8698 throughout file.
8699 * config/t-fixedpoint-gnu-prefix: New file.
8700 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
8701 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
8702 instead of __PFX__.
8703
02a8fe00
L
87042011-07-28 H.J. Lu <hongjiu.lu@intel.com>
8705
8706 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
8707 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
8708 for x86-64. Properly check __x86_64__ and __LP64__.
8709
5fce9126
L
87102010-07-28 H.J. Lu <hongjiu.lu@intel.com>
8711
8712 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
8713 version.
8714 (_FP_WS_TYPE): Likewise.
8715 (_FP_I_TYPE): Likewise.
8716
2374a88a
AM
87172011-07-28 Alan Modra <amodra@gmail.com>
8718
8719 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
8720 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
8721 in a plt call stub. Do restore r2 if stopped on bctrl.
8722
e44dbbe1
RO
87232011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8724
8725 * config.host (i[3456x]86-*-netware*): Remove.
8726 * config/i386/netware-crt0.c, config/i386/t-nwld,
8727 config/i386/t-slibgcc-nwld: Remove.
8728
bcead286
BS
87292011-07-15 Bernd Schmidt <bernds@codesourcery.com>
8730
8731 * config.host: Handle tic6x-*-*.
8732 * config/c6x/c6x-abi.h: New file.
8733
b3fe1584
RO
87342011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8735
8736 * config/i386/crtprec.c: New file.
8737 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
8738 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
8739 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
8740 (x86_64-*-darwin*): Likewise.
8741 (i[34567]86-*-solaris2*: Likewise.
8742
35d8090d
RO
87432011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8744
8745 * config/alpha/crtfastmath.c: New file.
8746 * config/i386/crtfastmath.c: New file.
8747 * config/ia64/crtfastmath.c: New file.
8748 * config/mips/crtfastmath.c: New file.
8749 * config/sparc/crtfastmath.c: New file.
8750
8751 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
8752 crtfastmath.c.
8753 Add -frandom-seed=gcc-crtfastmath.
8754 * config/alpha/t-crtfm: Remove.
8755 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
8756 * config/ia64/t-ia64 (crtfastmath.o): Remove.
8757
8758 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
8759 (alpha*-dec-osf5.1*): Likewise.
8760 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
8761 Add crtfastmath.o to extra_parts.
8762 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
8763 Add crtfastmath.o to extra_parts.
8764 (x86_64-*-darwin*): Likewise.
8765 (x86_64-*-mingw*): Likewise.
8766 (ia64*-*-elf*): Add t-crtfm to tmake_file.
8767 (ia64*-*-freebsd*): Likewise.
8768 (ia64*-*-linux*): Likewise.
8769 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
8770 Add crtfastmath.o to extra_parts.
8771
e141542e
RO
87722011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8773
8774 * config/darwin-crt3.o: New file.
8775 * config/rs6000/darwin-crt2.c: New file.
8776 * config/t-darwin: New file.
8777 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
8778 (crt2.o): New rule.
8779 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
8780 (powerpc-*-darwin*): Add crt2.o to extra_parts.
8781 (powerpc64-*-darwin*): Likewise.
8782
2d1efe2d
RO
87832011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8784
8785 * config/i386/netware-crt0.c: New file.
8786 * config/i386/t-nwld: Rename to ...
8787 * config/i386/t-slibgcc-nwld: ... this.
8788 * config/i386/t-nwld: New file.
8789 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
8790 tmake_file.
8791 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
8792 extra_parts.
8793
4a8bb046
RO
87942011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8795
8796 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
8797 i386/t-crtstuff.
8798 * configure: Regenerate.
8799
2d8d5935
RO
88002011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8801
8802 * dfp-bit.c, dfp-bit.h: New files.
8803 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
8804 variables.
8805 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
8806 ($(d64pbit-o)): Likewise.
8807 ($(d128pbit-o)): Likewise.
8808 * config/t-dfprules: New file.
8809 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
8810 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
8811 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
8812 (x86_64-*-linux*): Likewise.
8813 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
8814 (i[34567]86-*-cygwin*): Likewise.
8815 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
8816 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
8817
2c50b2c3
RO
88182011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8819
8820 * Makfile.in (LIBGCOV): New variable.
8821 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
8822 * libgcov.c: New file.
8823
a039d7c2
RO
88242011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8825
8826 * fixed-bit.c, fixed-bit.h: New files.
8827 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
8828 refer to fixed-bit.c.
8829
1e4b2746
JM
88302011-07-07 Joseph Myers <joseph@codesourcery.com>
8831
8832 * config.host (*local*): Remove.
8833
fbdd5d87
RO
88342011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8835
8836 PR target/39150
8837 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
8838 like i?86-*-solaris2.1[0-9]*.
8839 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
8840 * configure.ac (i?86-*-solaris2*): Likewise.
8841 * configure: Regenerate.
8842
9e7714f4
TS
88432011-07-06 Thomas Schwinge <thomas@schwinge.name>
8844
8845 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
8846 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
8847 md_unwind_header by splitting out of...
8848 (i[34567]86-*-linux*): ... this.
8849 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
8850 Remove md_unwind_header by splitting out of...
8851 (x86_64-*-linux*): ... this.
8852
6dab9931
GJL
88532011-07-04 Georg-Johann Lay <avr@gjlay.de>
8854
8855 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
8856
4be46d19
NC
88572011-06-28 Nick Clifton <nickc@redhat.com>
8858
8859 * config.host: Recognize all V850 variants.
8860
1da9434b
UB
88612011-06-22 Uros Bizjak <ubizjak@gmail.com>
8862
8863 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
8864
e4d48a4d
RO
88652011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8866
8867 * shared-object.mk (c_flags-$o): Save c_flags.
8868 ($(base)$(objext)): Use it.
8869 ($(base)_s$(objext)): Likewise.
8870
3801c801
BS
88712011-06-21 Bernd Schmidt <bernds@codesourcery.com>
8872
8873 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
8874 * libgcc-std.ver.in (GCC_4.7.0): New section.
8875
0ad8bb3b 88762011-06-16 Georg-Johann Lay <avr@gjlay.de>
1da9434b 8877
0ad8bb3b
GJL
8878 PR target/49313
8879 PR target/29524
8880 * config/avr/t-avr: Fix line endings.
8881 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
8882 _parityXX2.
8883
ea963999
OH
88842011-06-14 Olivier Hainque <hainque@adacore.com>
8885 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8886
8887 * config/mips/irix6-unwind.h: New file.
8888 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
8889
b11b0904
EB
88902011-06-10 Eric Botcazou <ebotcazou@adacore.com>
8891
8892 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
8893 (sparc64_fallback_frame_state): Use it.
8894 (sparc64_frob_update_context): Further adjust context.
8895 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
8896 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
8897 * config/sparc/sol2-cn.S: Likewise.
8898
10e48e39
RO
88992011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8900
8901 * enable-execute-stack-empty.c: New file.
8902 * enable-execute-stack-mprotect.c: New file.
8903 * config/i386/enable-execute-stack-mingw32.c: New file.
8904 * config.host (enable_execute_stack): New variable.
8905 Select appropriate variants.
8906 * configure.ac: Link enable-execute-stack.c to
8907 $enable_execute_stack.
8908 * configure: Regenerate.
8909 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
8910 (lib2funcs): Remove _enable_execute_stack.
8911
10c4cabc
DM
89122011-06-09 David S. Miller <davem@davemloft.net>
8913 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8914
8915 * config.host (sparc-*-linux*): Correct md_unwind_header
8916 filename.
8917 (s390x-ibm-tpf*): Fix typo.
8918
aa4203e7
RO
89192011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8920
8921 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
8922 Add crtfastmath.o to extra_parts.
8923 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
8924 mips/t-crtfm.
8925 * config/mips/t-crtfm: Remove.
8926
0defd786
JDA
89272011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
8928
8929 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
8930
82f247af
KK
89312011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
8932
8933 * config.host (sh*-*-linux*): Fix typo.
8934
58cd1d70
RO
89352011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8936
8937 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
8938 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
8939 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
8940 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
8941 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
8942 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
8943 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
8944 Wrap in !__MINGW64__.
8945 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
8946 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
8947 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
8948 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
8949 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
8950 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
8951 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
8952 Wrap in !__LP64__.
8953 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
8954 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
8955 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
8956 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
8957 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
8958 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
8959 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
8960 * config/no-unwind.h: New file.
8961 * config.host (md_unwind_header): Document.
8962 Define.
8963 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
8964 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
8965 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
8966 hppa[12]*-*-hpux11*): Set md_unwind_header.
8967 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
8968 Set md_unwind_header.
8969 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
8970 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
8971 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
8972 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
8973 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
8974 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
8975 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
8976 md_unwind_header.
8977 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
8978 * configure: Regenerate.
8979
737346fa
RO
89802011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8981
8982 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
8983 Set tmake_file, extra_parts.
8984 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
8985 Remove O32 support.
8986 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
8987 Remove O32 support.
8988 * config/mips/t-irix6: New file.
8989 * config/mips/t-slibgcc-irix: New file.
8990
c192cee6
RO
89912011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8992
8993 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
8994 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
8995
ee33b5f0
RO
89962011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8997
8998 * configure.ac (target_thread_file): Determine thread model.
8999 * configure: Regenerate.
9000 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
9001 * config/alpha/t-alpha: New file.
9002 * config/alpha/t-crtfm: Use $<.
9003 * config/alpha/t-ieee: New file.
9004 * config/alpha/t-osf-pthread: New file.
9005 * config/alpha/t-slibgcc-osf: New file.
9006 * config/alpha/libgcc-osf5.ver: New file.
9007
0699e415
RO
90082011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9009
9010 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
9011 tmake_file.
9012 Add crtfastmath.o to extra_parts.
9013
a3fab9c2
RO
90142011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9015
9016 * config/gmon-sol2.c: Reindent.
9017 Cleanup comments.
9018 Remove, correct casts.
9019 Use STDERR_FILENO, NULL.
9020 (BASEADDRESS): Remove.
9021 (minbrk): Remove.
9022 (errno, sbrk): Remove declarations.
9023 (monstartup) [hp300]: Remove.
9024 (mcount): Remove.
9025
ca24c5ad
RO
90262011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9027
9028 * Makefile.in (cpu_type): Define.
9029 * config.host (i[34567]86-*-rtems*): Handle it.
9030 (i[34567]86-*-solaris2*): Move body ...
9031 (*-*-solaris2*): ... here.
9032 New case, generalize.
9033 (sparc-*-elf*): Handle it.
9034 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
9035 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
9036 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
9037 Fold into ...
9038 (sparc*-*-solaris2*): ... this.
9039 New case.
9040 (sparc64-*-elf*): Handle it.
9041 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
9042 Merge ../gcc/config/i386/gmon-sol2.c.
9043 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
9044 Use C comments.
9045 Merge ../gcc/config/i386/sol2-gc1.asm.
9046 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
9047 Use C comments.
9048 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
9049 Use C comments.
9050 * config/i386/t-crtfm (crtfastmath.o): Use $<.
9051 * config/i386/t-crtstuff: New file.
9052 * config/i386/t-softfp: New file.
9053 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
9054 $(T)crti.o, $(T)crtn.o): Remove.
9055 (gcrt1.o): New rule.
9056 (TARGET_LIBGCC2_CFLAGS): Remove.
9057 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
9058 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
9059 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
9060 * config/sparc/t-sol2: New file.
9061 * config/sparc/t-crtfm: Move to ...
9062 * config/t-crtfm: ... this.
9063 Use $(cpu_type), $<.
9064 * config/t-crtin: New file.
9065 * config/sparc/t-softfp: New file.
9066 * config/sparc/t-softmul: New file.
9067 * config/t-rtems: New file.
9068 * config/t-slibgcc: New file.
9069 * config/t-slibgcc-elf-ver: New file.
9070 * config/t-slibgcc-gld: New file.
9071 * config/t-slibgcc-sld: New file.
9072 * config/t-sol2: New file.
9073 * configure.ac: Include ../config/lib-ld.m4.
9074 Call AC_LIB_PROG_LD_GNU.
9075 Substitute cpu_type.
9076 * configure: Regenerate.
9077
ad5f3d7b
BS
90782011-05-27 Bernd Schmidt <bernds@codesourcery.com>
9079
9080 PR bootstrap/49173
9081 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
9082 libgcc-std.ver in the build directory.
9083 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
9084 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
9085
cdbf4541
BS
90862011-05-25 Bernd Schmidt <bernds@codesourcery.com>
9087
9088 * libgcc-std.ver.in: New file.
9089 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
9090 variables.
9091 (libgcc-std.ver): New rule.
9092 * config/t-gnu-prefix: New file.
9093
c8028650
RO
90942011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9095
9096 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
9097
4a68b4ca
JM
90982011-05-10 Joseph Myers <joseph@codesourcery.com>
9099
9100 * config/i386/darwin-lib.h: New file.
9101
80cf2e08
JM
91022011-05-10 Joseph Myers <joseph@codesourcery.com>
9103
9104 * config/arm/symbian-lib.h: New.
9105
a3330c9d
CD
91062011-05-04 Chris Demetriou <cgd@google.com>
9107
9108 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
9109 (__x86.get_pc_thunk.bx): ...this.
9110 (__morestack): Adjust for rename, remove undef of __i686.
9111
6ace0756
CD
91122011-05-03 Chris Demetriou <cgd@google.com>
9113
9114 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
9115
ebb9f8b0
JM
91162011-03-22 Joseph Myers <joseph@codesourcery.com>
9117
9118 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
9119 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
9120 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
9121 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
9122 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
9123 Remove cases.
9124
9cfa1499
AT
91252011-03-14 Andreas Tobler <andreast@fgznet.ch>
9126
9127 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
9128 Adjust copyright year.
9129
457186f6
ILT
91302011-03-07 Ian Lance Taylor <iant@google.com>
9131
9132 * generic-morestack.c (__splitstack_find): Adjust returned stack
9133 pointer to include all registers pushed by __morestack.
9134
58c741a6
DK
91352011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
9136
9137 PR target/40125
9138 * configure.ac: Call ACX_NONCANONICAL_TARGET.
9139 (toolexecdir): Calculate and AC_SUBST.
9140 (toolexeclibdir): Likewise.
9141 * Makefile.in (target_noncanonical): Import.
9142 (toolexecdir): Likewise.
9143 (toolexeclibdir): Likewise.
9144 * configure: Regenerate.
9145
26716c44
NF
91462010-12-13 Nathan Froyd <froydnj@codesourcery.com>
9147
9148 PR target/46040
9149 * config/arm/bpabi.h: Rename to...
9150 * config/arm/bpabi-lib.h: ...this.
9151
b595b1a1
RO
91522010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9153
9154 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
9155 appropriate.
9156 * configure: Regenerate.
9157
a3abe41c
NF
91582010-11-24 Nathan Froyd <froydnj@codesourcery.com>
9159
9160 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
9161 __FLOAT_WORD_ORDER__.
9162 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
9163 Delete.
9164
455c8f48
RW
91652010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9166
9167 PR other/46202
9168 * Makefile.in (install-strip): New phony target.
9169
f3824a8b
ILT
91702010-11-07 Ian Lance Taylor <iant@google.com>
9171
9172 PR target/46089
9173 * config/i386/morestack.S (__morestack_large_model): New
9174 function.
9175
18ed6ee4
NF
91762010-10-23 Nathan Froyd <froydnj@codesourcery.com>
9177
9178 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
9179 Delete.
9180 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
9181
8ac7fdcb
NF
91822010-10-14 Nathan Froyd <froydnj@codesourcery.com>
9183
9184 * config/arm/bpabi.h: New file.
9185 * config/frv/frv-abi.h: New file.
9186
cdb388c2
ILT
91872010-10-01 Ian Lance Taylor <iant@google.com>
9188
9189 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
9190 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
9191
ef7c141c
L
91922010-10-01 H.J. Lu <hongjiu.lu@intel.com>
9193
9194 PR target/45858
9195 * config.host: Add the missing `$'.
9196
80920132
ME
91972010-09-30 Michael Eager <eager@eagercon.com>
9198
9199 * config.host: Add microblaze*-*-*.
9200 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
9201 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
9202 udivsi3.asm,umodsi3.asm}: New.
9203
6dace308
ILT
92042010-09-28 Ian Lance Taylor <iant@google.com>
9205
9206 * configure.ac: Adjust CFI test to test assembler directly rather
9207 than checking gcc preprocessor macro.
9208 * configure: Rebuild.
9209
b6110d6d
ILT
92102010-09-27 Ian Lance Taylor <iant@google.com>
9211
9212 * configure.ac: Test whether assembler supports CFI directives.
9213 * config.host: Only add t-stack and i386/t-stack-i386 to
9214 tmake_file if libgcc_cv_cfi is "yes".
9215 * configure: Rebuild.
9216
7458026b
ILT
92172010-09-27 Ian Lance Taylor <iant@google.com>
9218
9219 * generic-morestack.h: New file.
9220 * generic-morestack.c: New file.
9221 * generic-morestack-thread.c: New file.
9222 * config/i386/morestack.S: New file.
9223 * config/t-stack: New file.
9224 * config/i386/t-stack-i386: New file.
9225 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
9226 i386/t-stack-i386 to tmake_file.
9227
5b50fc0c
IS
92282010-09-21 Iain Sandoe <iains@gcc.gnu.org>
9229
9230 * Makefile.in (libgcc-extra-parts): Check for static archives and
9231 invoke ranlib after installing them.
9232 (gcc-extra-parts): Likewise.
9233 (install-leaf): Likewise.
9234
b93cf342
L
92352010-09-14 H.J. Lu <hongjiu.lu@intel.com>
9236
9237 * configure: Regenerated.
9238
996b42ef
KT
92392010-09-10 Kai Tietz <kai.tietz@onevision.com>
9240
b93cf342 9241 * configure: Regenerated.
996b42ef 9242
be1c764e
GP
92432010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
9244 Andrew Pinski <pinskia@gmail.com>
9245
1da9434b 9246 PR target/40959
be1c764e
GP
9247 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
9248
cc0ae0ca
L
92492010-09-06 H.J. Lu <hongjiu.lu@intel.com>
9250
9251 PR target/45524
9252 * configure: Regenerated.
9253
84f47d20
AS
92542010-09-06 Andreas Schwab <schwab@redhat.com>
9255
9256 * configure: Regenerate.
9257
4159fb8d
UB
92582010-09-03 Uros Bizjak <ubizjak@gmail.com>
9259
9260 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
9261 64bit targets.
9262 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
9263 for 64bit targets.
9264
0df8fcc8
UB
92652010-09-03 Uros Bizjak <ubizjak@gmail.com>
9266 Iain Sandoe <iains@gcc.gnu.org>
9267
9268 PR target/45476
9269 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
9270 LIB2FUNCS_EXCLUDE functions.
9271
3c39bca6
AK
92722010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9273
9274 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
9275 Include dfp.m4.
9276 * configure: Regenerate.
9277
d78552bd
UB
92782010-09-01 Uros Bizjak <ubizjak@gmail.com>
9279
9280 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
9281 i386/t-freebsd to tmake_file.
9282 * config/i386/t-freebsd: New file.
9283 * config/i386/libgcc-bsd.ver: New file.
9284
c5b79d4e
NF
92852010-07-23 Nathan Froyd <froydnj@codesourcery.com>
9286
9287 * config.host (powerpc*-eabispe*): Set tmake_file.
9288 (powerpc*-eabi*): Likewise.
9289 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
9290 crtbeginS, crtendS, crtbeginT.
9291
48b09a92
KH
92922010-06-12 Kazu Hirata <kazu@codesourcery.com>
9293
9294 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
9295 to tmake_file. Add crtfastmath.o to extra_parts.
9296 * config/mips/t-crtfm: New.
9297
7d296953 92982010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
a4389204
JS
9299
9300 * config.host (sparc64-*-rtems*): New target.
9301
ed104137
RO
93022010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9303
9304 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
9305 assembler syntax.
9306
3f56ef8b
TS
93072010-04-15 Thomas Schwinge <tschwinge@gnu.org>
9308
9309 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
9310
8c200350
RO
93112010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9312
9313 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
9314 alpha-dec-osf5.0* support.
9315
7d296953 93162010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
c1b14424
RC
9317
9318 * config.host: Add lm32-*-rtems*.
9319
f128db92 93202010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7d296953 9321 Uros Bizjak <ubizjak@gmail.com>
f128db92
RO
9322
9323 PR target/39048
9324 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
9325 like other remaining 32-bit x86 OSes.
9326 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
9327 assembler syntax.
9328 * config/i386/libgcc-sol2.ver: New file.
9329 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
9330
7d296953 93312010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
368fabd5
JH
9332
9333 PR c/43553
9334 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
9335 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
9336 is used and substitute set_use_emutls.
9337 * configure: Regenerated.
9338
15baf7f8
TG
93392010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
9340
9341 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
9342
7f5441df
RO
93432010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9344
9345 PR target/38085
9346 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
9347 MULTILIB_CFLAGS.
9348 ($(T)gcrt1.o): Likewise.
9349 ($(T)crt1.o): Likewise.
9350 ($(T)crti.o): Likewise.
9351 ($(T)crtn.o): Likewise.
9352
ef74edbd
RW
93532010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9354
9355 PR other/42980
9356 * Makefile.in (install): Use $(MAKE) string in rule, for
9357 parallel make.
9358
e7c914db
HPN
93592010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
9360
9361 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
9362 * config/mmix/t-mmix: New file.
9363 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
9364
1bcb71c4
JH
93652010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
9366
9367 PR java/41991
9368 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
9369 SHLIB_MAPFILES.
9370
e6e50811
AG
93712010-01-04 Anthony Green <green@moxielogic.com>
9372
9373 * config/moxie/crti.asm, config/moxie/crtn.asm,
9374 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
9375 config/moxie/t-moxie: New files.
9376 * config.host: Add t-moxie-softfp reference.
9377
7d296953 93782009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
ca8520ad
IS
9379
9380 PR other/39888
9381 * config/t-slibgcc-darwin: Fix embedded rpaths for
9382 --enable-version-specific-runtime-libs, build extension stub
9383 libs exposing features available from current libgcc_s.
9384
7d296953 93852009-11-11 Jon Beniston <jon@beniston.com>
aa4945c1 9386
d78552bd
UB
9387 * config.host: Add lm32 targets.
9388 * config/lm32: New directory.
9389 * config/lm32/libgcc_lm32.h: New file.
9390 * config/lm32/_mulsi3.c: New file.
9391 * config/lm32/_udivmodsi4.c: New file.
9392 * config/lm32/_divsi3.c: New file.
9393 * config/lm32/_modsi3.c: New file.
9394 * config/lm32/_udivsi3.c: New file.
9395 * config/lm32/_umodsi3.c: New file.
9396 * config/lm32/_lshrsi3.S: New file.
9397 * config/lm32/_ashrsi3.S: New file.
9398 * config/lm32/_ashlsi3.S: New file.
9399 * config/lm32/crti.S: New file.
9400 * config/lm32/crtn.S: New file.
9401 * config/lm32/t-lm32: New file.
9402 * config/lm32/t-elf: New file.
9403 * config/lm32/t-uclinux: New file.
aa4945c1 9404
65a324b4
NC
94052009-10-26 Nick Clifton <nickc@redhat.com>
9406
9407 * config.host: Add support for RX target.
9408 * config/rx: New directory.
9409 * config/rx/rx-abi-functions.c: New file. Supplementary
9410 functions for libgcc to support the RX ABI.
9411 * config/rx/rx-abi.h: New file. Supplementary header file for
9412 libgcc RX ABI functions.
9413 * config/rx/t-rx: New file: Makefile fragment for building
9414 libgcc for the RX.
9415
dfb3b0e3
UB
94162009-10-09 Uros Bizjak <ubizjak@gmail.com>
9417
9418 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
9419 constraint of y0 to "g".
9420
81dd9fd7
AK
94212009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9422
9423 * config.host: Include the s390 makefile fragments.
9424 * config/s390/32/_fixdfdi.c: New file.
9425 * config/s390/32/_fixsfdi.c: New file.
9426 * config/s390/32/_fixtfdi.c: New file.
9427 * config/s390/32/_fixunsdfdi.c: New file.
9428 * config/s390/32/_fixunssfdi.c: New file.
9429 * config/s390/32/_fixunstfdi.c: New file.
9430 * config/s390/32/t-floattodi: New file.
9431 * config/s390/libgcc-glibc.ver: New file.
9432 * config/s390/t-crtstuff: New file.
9433 * config/s390/t-linux: New file.
9434 * config/s390/t-tpf: New file.
9435
df58e648
RW
94362009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9437
9438 * configure.ac (AC_PREREQ): Bump to 2.64.
9439
79052be3
KK
94402009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
9441
9442 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
9443
5213506e
RW
94442009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9445
9446 * configure: Regenerate.
9447
a9a25daa
DR
94482009-08-09 Douglas B Rupp <rupp@gnat.com>
9449
9450 * config.host (ia64-hp-*vms*): New target.
9451 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
9452 with ia64-hp-*vms*.
9453
6efbd53f
RW
94542009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9455
9456 * configure.ac: Add snippet for maintainer-mode.
9457 * configure: Regenerate.
9458 * Makefile.in (AUTOCONF, configure_deps): New variables.
9459 ($(srcdir)/configure)): New rule, active only with maintainer
9460 mode turned on.
9461
7acf4da6
DD
94622009-06-23 DJ Delorie <dj@redhat.com>
9463
9464 Add MeP port.
9465 * config.host: Add mep support.
9466
54f549af
KT
94672009-06-22 Kai Tietz <kai.tietz@onevision.com>
9468
34481f28 9469 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 9470 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
34481f28
UB
9471
9472 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
9473 for mingw targets.
54f549af
KT
9474 * config/i386/64/_multc3.c: Likewise.
9475 * config/i386/64/_powitf2.c: Likewise.
9476 * config/i386/64/eqtf2.c: Likewise.
9477 * config/i386/64/getf2.c: Likewise.
9478 * config/i386/64/letf2.c: Likewise.
9479 * config/i386/64/letf2.c: Likewise.
34481f28
UB
9480 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
9481 unsigned long long for x64 mingw targets.
9482 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
9483 (_FP_I_TYPE): Define as long long for x64 mingw target.
54f549af 9484
fea96e25
MR
94852009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
9486
9487 * config.host (vax-*-linux*): New.
9488
cceb575c
AG
94892009-05-31 Anthony Green <green@moxielogic.com>
9490
9491 * config.host: Add moxie support.
9492 * config/moxie/t-moxie: New file.
9493
7d296953 94942009-05-29 David Billinghurst <billingd@gcc.gnu.org>
e997fb9c
DB
9495
9496 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 9497 t-softfp to tmake_file for i[34567]86-*-cygwin*.
e997fb9c 9498
532bfb0a
AJ
94992009-04-17 Aurelien Jarno <aurelien@aurel32.net>
9500
9501 * config.host: Add i386/${host_address}/t-fprules-softfp to
9502 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
9503
748086b7
JJ
95042009-04-09 Nick Clifton <nickc@redhat.com>
9505
9506 * config/ia64/tf-signs.c: Change copyright header to refer to
9507 version 3 of the GNU General Public License with version 3.1
9508 of the GCC Runtime Library Exception and to point readers at
9509 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
9510 web page.
9511 * config/i386/32/tf-signs.c: Likewise.
9512 * config/libbid/_addsub_dd.c: Likewise.
9513 * config/libbid/_addsub_sd.c: Likewise.
9514 * config/libbid/_addsub_td.c: Likewise.
9515 * config/libbid/_dd_to_df.c: Likewise.
9516 * config/libbid/_dd_to_di.c: Likewise.
9517 * config/libbid/_dd_to_sd.c: Likewise.
9518 * config/libbid/_dd_to_sf.c: Likewise.
9519 * config/libbid/_dd_to_si.c: Likewise.
9520 * config/libbid/_dd_to_td.c: Likewise.
9521 * config/libbid/_dd_to_tf.c: Likewise.
9522 * config/libbid/_dd_to_udi.c: Likewise.
9523 * config/libbid/_dd_to_usi.c: Likewise.
9524 * config/libbid/_dd_to_xf.c: Likewise.
9525 * config/libbid/_df_to_dd.c: Likewise.
9526 * config/libbid/_df_to_sd.c: Likewise.
9527 * config/libbid/_df_to_td.c: Likewise.
9528 * config/libbid/_di_to_dd.c: Likewise.
9529 * config/libbid/_di_to_sd.c: Likewise.
9530 * config/libbid/_di_to_td.c: Likewise.
9531 * config/libbid/_div_dd.c: Likewise.
9532 * config/libbid/_div_sd.c: Likewise.
9533 * config/libbid/_div_td.c: Likewise.
9534 * config/libbid/_eq_dd.c: Likewise.
9535 * config/libbid/_eq_sd.c: Likewise.
9536 * config/libbid/_eq_td.c: Likewise.
9537 * config/libbid/_ge_dd.c: Likewise.
9538 * config/libbid/_ge_sd.c: Likewise.
9539 * config/libbid/_ge_td.c: Likewise.
9540 * config/libbid/_gt_dd.c: Likewise.
9541 * config/libbid/_gt_sd.c: Likewise.
9542 * config/libbid/_gt_td.c: Likewise.
9543 * config/libbid/_isinfd128.c: Likewise.
9544 * config/libbid/_isinfd32.c: Likewise.
9545 * config/libbid/_isinfd64.c: Likewise.
9546 * config/libbid/_le_dd.c: Likewise.
9547 * config/libbid/_le_sd.c: Likewise.
9548 * config/libbid/_le_td.c: Likewise.
9549 * config/libbid/_lt_dd.c: Likewise.
9550 * config/libbid/_lt_sd.c: Likewise.
9551 * config/libbid/_lt_td.c: Likewise.
9552 * config/libbid/_mul_dd.c: Likewise.
9553 * config/libbid/_mul_sd.c: Likewise.
9554 * config/libbid/_mul_td.c: Likewise.
9555 * config/libbid/_ne_dd.c: Likewise.
9556 * config/libbid/_ne_sd.c: Likewise.
9557 * config/libbid/_ne_td.c: Likewise.
9558 * config/libbid/_sd_to_dd.c: Likewise.
9559 * config/libbid/_sd_to_df.c: Likewise.
9560 * config/libbid/_sd_to_di.c: Likewise.
9561 * config/libbid/_sd_to_sf.c: Likewise.
9562 * config/libbid/_sd_to_si.c: Likewise.
9563 * config/libbid/_sd_to_td.c: Likewise.
9564 * config/libbid/_sd_to_tf.c: Likewise.
9565 * config/libbid/_sd_to_udi.c: Likewise.
9566 * config/libbid/_sd_to_usi.c: Likewise.
9567 * config/libbid/_sd_to_xf.c: Likewise.
9568 * config/libbid/_sf_to_dd.c: Likewise.
9569 * config/libbid/_sf_to_sd.c: Likewise.
9570 * config/libbid/_sf_to_td.c: Likewise.
9571 * config/libbid/_si_to_dd.c: Likewise.
9572 * config/libbid/_si_to_sd.c: Likewise.
9573 * config/libbid/_si_to_td.c: Likewise.
9574 * config/libbid/_td_to_dd.c: Likewise.
9575 * config/libbid/_td_to_df.c: Likewise.
9576 * config/libbid/_td_to_di.c: Likewise.
9577 * config/libbid/_td_to_sd.c: Likewise.
9578 * config/libbid/_td_to_sf.c: Likewise.
9579 * config/libbid/_td_to_si.c: Likewise.
9580 * config/libbid/_td_to_tf.c: Likewise.
9581 * config/libbid/_td_to_udi.c: Likewise.
9582 * config/libbid/_td_to_usi.c: Likewise.
9583 * config/libbid/_td_to_xf.c: Likewise.
9584 * config/libbid/_tf_to_dd.c: Likewise.
9585 * config/libbid/_tf_to_sd.c: Likewise.
9586 * config/libbid/_tf_to_td.c: Likewise.
9587 * config/libbid/_udi_to_dd.c: Likewise.
9588 * config/libbid/_udi_to_sd.c: Likewise.
9589 * config/libbid/_udi_to_td.c: Likewise.
9590 * config/libbid/_unord_dd.c: Likewise.
9591 * config/libbid/_unord_sd.c: Likewise.
9592 * config/libbid/_unord_td.c: Likewise.
9593 * config/libbid/_usi_to_dd.c: Likewise.
9594 * config/libbid/_usi_to_sd.c: Likewise.
9595 * config/libbid/_usi_to_td.c: Likewise.
9596 * config/libbid/_xf_to_dd.c: Likewise.
9597 * config/libbid/_xf_to_sd.c: Likewise.
9598 * config/libbid/_xf_to_td.c: Likewise.
9599 * config/libbid/bid128.c: Likewise.
9600 * config/libbid/bid128_2_str.h: Likewise.
9601 * config/libbid/bid128_2_str_macros.h: Likewise.
9602 * config/libbid/bid128_2_str_tables.c: Likewise.
9603 * config/libbid/bid128_add.c: Likewise.
9604 * config/libbid/bid128_compare.c: Likewise.
9605 * config/libbid/bid128_div.c: Likewise.
9606 * config/libbid/bid128_fma.c: Likewise.
9607 * config/libbid/bid128_logb.c: Likewise.
9608 * config/libbid/bid128_minmax.c: Likewise.
9609 * config/libbid/bid128_mul.c: Likewise.
9610 * config/libbid/bid128_next.c: Likewise.
9611 * config/libbid/bid128_noncomp.c: Likewise.
9612 * config/libbid/bid128_quantize.c: Likewise.
9613 * config/libbid/bid128_rem.c: Likewise.
9614 * config/libbid/bid128_round_integral.c: Likewise.
9615 * config/libbid/bid128_scalb.c: Likewise.
9616 * config/libbid/bid128_sqrt.c: Likewise.
9617 * config/libbid/bid128_string.c: Likewise.
9618 * config/libbid/bid128_to_int16.c: Likewise.
9619 * config/libbid/bid128_to_int32.c: Likewise.
9620 * config/libbid/bid128_to_int64.c: Likewise.
9621 * config/libbid/bid128_to_int8.c: Likewise.
9622 * config/libbid/bid128_to_uint16.c: Likewise.
9623 * config/libbid/bid128_to_uint32.c: Likewise.
9624 * config/libbid/bid128_to_uint64.c: Likewise.
9625 * config/libbid/bid128_to_uint8.c: Likewise.
9626 * config/libbid/bid32_to_bid128.c: Likewise.
9627 * config/libbid/bid32_to_bid64.c: Likewise.
9628 * config/libbid/bid64_add.c: Likewise.
9629 * config/libbid/bid64_compare.c: Likewise.
9630 * config/libbid/bid64_div.c: Likewise.
9631 * config/libbid/bid64_fma.c: Likewise.
9632 * config/libbid/bid64_logb.c: Likewise.
9633 * config/libbid/bid64_minmax.c: Likewise.
9634 * config/libbid/bid64_mul.c: Likewise.
9635 * config/libbid/bid64_next.c: Likewise.
9636 * config/libbid/bid64_noncomp.c: Likewise.
9637 * config/libbid/bid64_quantize.c: Likewise.
9638 * config/libbid/bid64_rem.c: Likewise.
9639 * config/libbid/bid64_round_integral.c: Likewise.
9640 * config/libbid/bid64_scalb.c: Likewise.
9641 * config/libbid/bid64_sqrt.c: Likewise.
9642 * config/libbid/bid64_string.c: Likewise.
9643 * config/libbid/bid64_to_bid128.c: Likewise.
9644 * config/libbid/bid64_to_int16.c: Likewise.
9645 * config/libbid/bid64_to_int32.c: Likewise.
9646 * config/libbid/bid64_to_int64.c: Likewise.
9647 * config/libbid/bid64_to_int8.c: Likewise.
9648 * config/libbid/bid64_to_uint16.c: Likewise.
9649 * config/libbid/bid64_to_uint32.c: Likewise.
9650 * config/libbid/bid64_to_uint64.c: Likewise.
9651 * config/libbid/bid64_to_uint8.c: Likewise.
9652 * config/libbid/bid_b2d.h: Likewise.
9653 * config/libbid/bid_binarydecimal.c: Likewise.
9654 * config/libbid/bid_conf.h: Likewise.
9655 * config/libbid/bid_convert_data.c: Likewise.
9656 * config/libbid/bid_decimal_data.c: Likewise.
9657 * config/libbid/bid_decimal_globals.c: Likewise.
9658 * config/libbid/bid_div_macros.h: Likewise.
9659 * config/libbid/bid_dpd.c: Likewise.
9660 * config/libbid/bid_flag_operations.c: Likewise.
9661 * config/libbid/bid_from_int.c: Likewise.
9662 * config/libbid/bid_functions.h: Likewise.
9663 * config/libbid/bid_gcc_intrinsics.h: Likewise.
9664 * config/libbid/bid_inline_add.h: Likewise.
9665 * config/libbid/bid_internal.h: Likewise.
9666 * config/libbid/bid_round.c: Likewise.
9667 * config/libbid/bid_sqrt_macros.h: Likewise.
9668
96692009-04-09 Jakub Jelinek <jakub@redhat.com>
9670
9671 * Makefile.in: Change copyright header to refer to version
9672 3 of the GNU General Public License and to point readers at the
9673 COPYING3 file and the FSF's license web page.
9674 * config.host: Likewise.
9675
633dd061
AM
96762009-04-07 Alan Modra <amodra@bigpond.net.au>
9677
9678 * config.host: Reorder and merge to match config.gcc change.
9679
457d1d00
AM
96802009-04-03 Alan Modra <amodra@bigpond.net.au>
9681
9682 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
9683
52c0e446
JM
96842009-03-28 Joseph Myers <joseph@codesourcery.com>
9685
9686 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
9687 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
9688 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
9689 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
9690
ba181049
UB
96912009-02-12 Uros Bizjak <ubizjak@gmail.com>
9692
9693 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
9694 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
9695
c252db20
L
96962009-02-12 H.J. Lu <hongjiu.lu@intel.com>
9697
ba181049
UB
9698 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
9699 ia64/t-softfp-compat to tmake_file.
c252db20
L
9700
9701 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
9702
9703 * config/ia64/__divxf3.asm: New.
9704 * config/ia64/_fixtfdi.asm: Likewise.
9705 * config/ia64/_fixunstfdi.asm: Likewise.
9706 * config/ia64/_floatditf.asm: Likewise.
9707 * config/ia64/t-fprules-softfp: Likewise.
9708 * config/ia64/t-softfp-compat: Likewise.
9709 * config/ia64/tf-signs.c: Likewise.
9710
c60535f9
BE
97112009-01-18 Ben Elliston <bje@au.ibm.com>
9712
9713 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
9714
ce16861e
BE
97152009-01-16 Ben Elliston <bje@au.ibm.com>
9716
9717 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
9718 to tmake_file.
9719
bcf4713b
BE
97202009-01-13 Ben Elliston <bje@au.ibm.com>
9721
9722 * config/t-softfp: New file.
9723 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
9724 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
9725
7d296953 97262009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
2042cb04
JS
9727
9728 * config.host: Add m32r*-*-rtems*.
9729
7d296953 97302008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
541ed00e
JS
9731
9732 * config.host: Add m32c*-*-rtems*.
9733
19523300
RO
97342008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9735
9736 PR bootstrap/33100
9737 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
9738 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
9739 * configure: Regenerate.
9740 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
9741 tmake_file here from gcc/config.gcc.
9742 Move extra_parts here from gcc/config.gcc.
9743 * config/i386/t-sol2: Move here from gcc/config/i386.
9744 Use gcc_srcdir instead of srcdir.
9745
0a4a51c7
AN
97462008-11-18 Adam Nemet <anemet@caviumnetworks.com>
9747
9748 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
9749 case.
9750
2a761e46
TS
97512008-11-09 Thomas Schwinge <tschwinge@gnu.org>
9752
9753 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
9754
c0451df7
TS
97552008-10-08 Thomas Schwinge <tschwinge@gnu.org>
9756
9757 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
9758
358da97e
HS
97592008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
9760
9761 Add picoChip port.
9762 * config.host: Add picochip-*-*.
9763
c660f132
BW
97642008-08-06 Bob Wilson <bob.wilson@acm.org>
9765
9766 * config.host: Match more processor names for Xtensa.
9767
d1349557
L
97682008-07-08 H.J. Lu <hongjiu.lu@intel.com>
9769
9770 * config/i386/64/t-softfp-compat: Update comments.
9771
dd7b73c0
L
97722008-07-07 H.J. Lu <hongjiu.lu@intel.com>
9773
9774 * config/i386/64/_divtc3-compat.c: Moved to ...
9775 * config/i386/64/_divtc3.c: Here.
9776
9777 * config/i386/64/_multc3-compat.c: Moved to ...
9778 * config/i386/64/_multc3.c: Here.
9779
9780 * config/i386/64/_powitf2-compat.c: Moved to ...
9781 * config/i386/64/_powitf2.c: Here.
9782
9783 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
9784 .c suffix instead of -compat.c.
9785
6e1fab3d
UB
97862008-07-05 Uros Bizjak <ubizjak@gmail.com>
9787
9788 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
9789 (_FP_MUL_MEAT_D): Ditto.
9790 (_FP_DIV_MEAT_S): Ditto.
9791 (_FP_DIV_MEAT_D): Ditto.
9792
f92518d7
RS
97932008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
9794
9795 * Makefile.in: Add support for __sync_* libgcc functions.
9796
d0aede14
L
97972008-07-03 H.J. Lu <hongjiu.lu@intel.com>
9798
9799 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
9800
c174f11c
L
98012008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9802
9803 PR boostrap/36702
9804 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
9805 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
9806
9807 * config/i386/64/t-fprules-softfp: Moved to ...
9808 * config/i386/64/t-softfp-compat: This. New.
9809
5f464fa2
UB
98102008-07-02 Uros Bizjak <ubizjak@gmail.com>
9811
9812 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
9813 Initialize f with 0.0.
9814
ff473280
L
98152008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9816
9817 PR target/36669
9818 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
9819
9820 * config/i386/64/_divtc3-compat.c: New.
9821 * config/i386/64/_multc3-compat.c: Likewise.
9822 * config/i386/64/_powitf2-compat.c: Likewise.
9823 * config/i386/64/eqtf2.c: Likewise.
9824 * config/i386/64/getf2.c: Likewise.
9825 * config/i386/64/letf2.c: Likewise.
9826 * config/i386/64/t-fprules-softfp: Likewise.
9827
98282008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9829
9830 * config.host: Add i386/${host_address}/t-fprules-softfp to
9831 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
dfb3b0e3 9832 i[34567]86-*-linux*, x86_64-*-linux*.
ff473280
L
9833
9834 * configure.ac: Set host_address to 64 or 32 for x86.
9835 * configure: Regenerated.
9836
9837 * Makefile.in (config.status): Also depend on
9838 $(srcdir)/config.host.
9839
9840 * config/i386/32/t-fprules-softfp: New.
9841 * config/i386/32/tf-signs.c: Likewise.
9842
9843 * config/i386/64/sfp-machine.h: New. Moved from gcc.
9844
98452008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9846 Uros Bizjak <ubizjak@gmail.com>
9847
9848 * config/i386/32/sfp-machine.h: New.
9849
30551d99
NF
98502008-06-26 Nathan Froyd <froydnj@codesourcery.com>
9851
9852 * config/rs6000/t-ppccomm: Remove rules that conflict with
9853 auto-generated rules.
9854
18c04407
RW
98552008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9856
9857 * configure.ac: sinclude override.m4.
9858 * configure: Regenerate.
9859
10fbe77a
BRF
98602008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
9861
9862 * configure: Regenerate.
9863
bc6d4c3f
JM
98642008-06-10 Joseph Myers <joseph@codesourcery.com>
9865
9866 * Makefile.in (DECNUMINC): Remove
9867 -I$(MULTIBUILDTOP)../../libdecnumber.
9868 * gstdint.h: New.
9869
cd985f66
JM
98702008-06-07 Joseph Myers <joseph@codesourcery.com>
9871
9872 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
9873 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
9874 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
9875 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
9876 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
9877 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
9878 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
9879 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
9880 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
9881 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
9882 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
9883 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
9884 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
9885 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
9886
93fea8d3
AL
98872008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
9888
9889 * config.host (sh2[lbe]*-*-linux*): Allow target.
9890
18724e30
NF
98912008-04-30 Nathan Froyd <froydnj@codesourcery.com>
9892
9893 * config/rs6000/t-ppccomm: Add build rules for new files.
9894 (LIB2ADD_ST): New variable.
9895
47583040
AH
98962008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
9897
9898 PR target/34210
9899 PR target/35508
9900 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
9901 * config/t-avr: New file. Build 16bit libgcc functions.
9902
cf8e67fe
JJ
99032008-03-02 Jakub Jelinek <jakub@redhat.com>
9904
9905 PR target/35401
9906 * config/t-slibgcc-darwin: Make install-leaf dependent on
9907 install-darwin-libgcc-stubs instead of install.
9908
8d8da227
JM
99092008-01-25 Joseph Myers <joseph@codesourcery.com>
9910
9911 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
9912 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
9913 sh-*-rtemscoff*): Remove cases.
9914
edbf8b16
RS
99152007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
9916
9917 * Makefile.in (all): Use install-leaf rather than install.
9918 (install): Split most of the rule into...
9919 (install-leaf): ...this new one.
9920
89deeaff
EK
99212007-12-19 Etsushi Kato <ek.kato@gmail.com>
9922 Paolo Bonzini <bonzini@gnu.org>
9923
9924 PR target/30572
5f464fa2
UB
9925 * Makefile.in: Use @shlib_slibdir@ substitution to get
9926 correct install name on darwin.
89deeaff 9927 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
dfb3b0e3 9928
4081d704
HPN
99292007-12-15 Hans-Peter Nilsson <hp@axis.com>
9930
9931 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
9932 cris-*-elf and cris-*-none.
9933 (crisv32-*-linux*): Similar, as cris-*-linux*.
9934
f43e89a3
RIL
99352007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
9936
9937 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
9938
b4e9c2c6
L
99392007-10-27 H.J. Lu <hongjiu.lu@intel.com>
9940
9941 PR regression/33926
9942 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
9943 * configure: Regenerated.
9944
b2a00c89
L
99452007-09-27 H.J. Lu <hongjiu.lu@intel.com>
9946
9947 * Makefile.in (dfp-filenames): Replace decimal_globals,
9948 decimal_data, binarydecimal and convert_data with
9949 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
9950 and bid_convert_data, respectively.
9951
8d2a9e0e
CF
99522007-09-17 Chao-ying Fu <fu@mips.com>
9953 Nigel Stephens <nigel@mips.com>
9954
9955 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
9956 * Makefile.in (fixed_point): Define.
9957 Check if fixed_point is yes to build support functions.
9958 * configure.ac: Check for fixed_point support.
9959 * configure: Regenerated.
9960 * gen-fixed.sh: New file to generate lists of fixed-point labels,
9961 funcs, modes, from, to.
9962
2b53935d
JJ
99632007-09-11 Janis Johnson <janis187@us.ibm.com
9964
9965 * Makefile.in (dfp-filenames): Add bid128_noncomp.
9966
2533577f
JJ
99672007-09-10 Janis Johnson <janis187@us.ibm.com>
9968
9969 * Makefile.in (dfp-filenames): Remove decUtility, add
9970 decDouble, decPacked, decQuad, decSingle.
9971
3ae3dbd6
HK
99722007-08-27 Hans Kester <hans.kester@ellips.nl>
9973
9974 * config.host : Add x86_64-elf target.
9975
22867d02
L
99762007-07-06 H.J. Lu <hongjiu.lu@intel.com>
9977
9978 * configure.ac (set_have_cc_tls): Add a missing =.
9979 * configure: Regenerated.
9980
6f461e76
L
99812007-07-06 H.J. Lu <hongjiu.lu@intel.com>
9982
9983 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
9984 and x86_64-*-linux*.
9985
9986 * config/t-tls: New file.
9987
dfb3b0e3 9988 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
6f461e76
L
9989
9990 * configure.ac: Include ../config/enable.m4 and
9991 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
9992 supports TLS and substitute set_have_cc_tls.
9993 * configure: Regenerated.
9994
200359e8
L
99952007-07-04 H.J. Lu <hongjiu.lu@intel.com>
9996
9997 * Makefile.in: Use libbid for DFP when BID is enabled.
9998
76f5e200
DS
99992007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
10000
10001 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
dfb3b0e3 10002 extra_parts. Add config/i386/t-cygming to tmake_file.
76f5e200
DS
10003 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
10004
9bd196f0 100052007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
200359e8 10006 Danny Smith <dannysmith@users.sourceforge.net>
9bd196f0
ZM
10007
10008 PR target/29498
10009 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
10010 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
10011 * config/i386/t-crtfm: Compile crtfastmath.o with
10012 -minline-all-stringops.
10013
1910440e
RS
100142007-05-10 Richard Sandiford <richard@codesourcery.com>
10015
10016 * config.host (sparc-wrs-vxworks): New target.
10017
7d33c31d
KH
100182007-04-14 Kazu Hirata <kazu@codesourcery.com>
10019
10020 * config.host: Recognize fido.
10021
96fccd0d
JJ
100222007-04-04 Janis Johnson <janis187@us.ibm.com>
10023
10024 * configure: Check host, not target, for decimal float support.
10025
577565f9
UB
100262007-04-03 Uros Bizjak <ubizjak@gmail.com>
10027
10028 * config/i386/t-crtpc: New file.
10029 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
5f464fa2 10030 (x86_64-*-linux*): Ditto.
577565f9 10031
ccf8e764
RH
100322007-02-30 Kai Tietz <kai.tietz@onevision.com>
10033
10034 * config.host (x86_64-*-mingw*): New target.
10035
79b87c74
MM
100362007-03-23 Michael Meissner <michael.meissner@amd.com>
10037 H.J. Lu <hongjiu.lu@intel.com>
10038
10039 * Makefile.in (enable_decimal_float): New.
10040 (DECNUMINC): Add
10041 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
10042 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
10043 (decbits-filenames): This.
10044 (decbits-objects): New.
10045 (libgcc-objects): Add $(decbits-objects).
10046
10047 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
10048 Substitute enable_decimal_float.
10049 * configure: Regenerated.
10050
8fce4e31
HPN
100512007-03-19 Hans-Peter Nilsson <hp@axis.com>
10052
10053 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
10054
e8bb4597
BM
100552007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
10056
10057 * Makefile.in (install-info): New dummy target.
10058
344189f9
BS
100592007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
10060
10061 * config.host (bfin*-linux-uclibc*): Set extra_parts.
10062
ac84c172
BM
100632007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
10064
10065 * Makefile.in: Add install-html and install-pdf dummy
10066 targets.
10067
cd5c2357
RS
100682007-02-05 Roger Sayle <roger@eyesopen.com>
10069 Daniel Jacobowitz <dan@codesourcery.com>
10070
10071 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
10072 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
10073 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
10074
d9a66f98
JJ
100752007-01-29 Janis Johnson <janis187@us.ibm.com>
10076
10077 * Makefile.in (dec-filenames): Add decExcept.
10078
9891ec5f
DJ
100792007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
10080
10081 PR bootstrap/30469
10082 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
10083 -fprofile-use.
10084
d6efbf5a
DJ
100852007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
10086
10087 * configure.ac: Add --enable-version-specific-runtime-libs.
10088 Correct $slibdir default.
10089 * configure: Regenerated.
10090
17caeff2
JM
100912007-01-23 Joseph Myers <joseph@codesourcery.com>
10092
10093 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
10094
5ea41e3a
AP
100952007-01-21 Andrew Pinski <pinskia@gmail.com>
10096
10097 PR target/30519
10098 * config.host (alpha*-*-linux*): Set extra_parts.
10099
26900826
KK
101002007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
10101
10102 * config/sh/t-linux: New.
10103 * config.host (sh*-*-linux*): Set tmake_file.
10104
97af925b
DJ
101052007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
10106
10107 * Makefile.in (install): Handle multilibs.
10108
b0088af7
BM
101092007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
10110
10111 * Makefile.in: Added .PHONY entry for documentation targets.
10112
e0a9456a
BM
101132007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
10114
10115 * Makefile.in: Add empty info, html, dvi, pdf targets.
10116
7fd453b4
MS
101172007-01-04 Mike Stump <mrs@apple.com>
10118
10119 * Makefile.in (MAKEINFO): Remove.
10120 (PERL): Likewise.
10121
14e8fc8b
PB
101222007-01-04 Paolo Bonzini <bonzini@gnu.org>
10123
10124 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
10125 * configure: Regenerate.
10126 * Makefile.in (host_subdir): Substitute it.
dfb3b0e3 10127 (gcc_objdir): Use it.
14e8fc8b 10128
1555beba
DJ
101292007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
10130
10131 * config.host (ia64*-*-linux*): Set tmake_file.
10132
79e6eaeb
DJ
101332007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
10134
10135 * Makefile.in (version): Define.
10136
fa958513
DJ
101372007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
10138 Paolo Bonzini <bonzini@gnu.org>
10139
10140 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
10141 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
10142 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
10143 config/sparc/t-crtfm, config/t-slibgcc-darwin,
10144 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
10145 shared-object.mk, siditi-object.mk, static-object.mk: New files.
10146 * configure: Generated.
818ab71a 10147\f
a5544970 10148Copyright (C) 2007-2019 Free Software Foundation, Inc.
818ab71a
JJ
10149
10150Copying and distribution of this file, with or without modification,
10151are permitted in any medium without royalty provided the copyright
10152notice and this notice are preserved.