]> git.ipfire.org Git - thirdparty/gcc.git/blame - libgcc/ChangeLog
[ARM/FDPIC v6 12/24] [ARM] FDPIC: Restore r9 after we call __aeabi_read_tp
[thirdparty/gcc.git] / libgcc / ChangeLog
CommitLineData
ae1152e5
CL
12019-09-10 Christophe Lyon <christophe.lyon@st.com>
2 Mickaël Guêné <mickael.guene@st.com>
3
4 libgcc/
5 * unwind-arm-common.inc (ARM_SET_R7_RT_SIGRETURN)
6 (THUMB2_SET_R7_RT_SIGRETURN, FDPIC_LDR_R12_WITH_FUNCDESC)
7 (FDPIC_LDR_R9_WITH_GOT, FDPIC_LDR_PC_WITH_RESTORER)
8 (FDPIC_FUNCDESC_OFFSET, ARM_NEW_RT_SIGFRAME_UCONTEXT)
9 (ARM_UCONTEXT_SIGCONTEXT, ARM_SIGCONTEXT_R0, FDPIC_T2_LDR_R12_WITH_FUNCDESC)
10 (FDPIC_T2_LDR_R9_WITH_GOT, FDPIC_T2_LDR_PC_WITH_RESTORER): New.
11 (__gnu_personality_sigframe_fdpic): New.
12 (get_eit_entry): Add FDPIC signal frame support.
13
5d727a4b
CL
142019-09-10 Christophe Lyon <christophe.lyon@st.com>
15 Mickaël Guêné <mickael.guene@st.com>
16
17 * config/arm/linux-atomic.c (__kernel_cmpxchg): Add FDPIC support.
18 (__kernel_dmb): Likewise.
19 (__fdpic_cmpxchg): New function.
20 (__fdpic_dmb): New function.
21 * config/arm/unwind-arm.h (FDPIC_REGNUM): New define.
22 (gnu_Unwind_Find_got): New function.
23 (_Unwind_decode_typeinfo_ptr): Add FDPIC support.
24 * unwind-arm-common.inc (UCB_PR_GOT): New.
25 (funcdesc_t): New struct.
26 (get_eit_entry): Add FDPIC support.
27 (unwind_phase2): Likewise.
28 (unwind_phase2_forced): Likewise.
29 (__gnu_Unwind_RaiseException): Likewise.
30 (__gnu_Unwind_Resume): Likewise.
31 (__gnu_Unwind_Backtrace): Likewise.
32 * unwind-pe.h (read_encoded_value_with_base): Likewise.
33
b1e21e5a 342019-09-10 Christophe Lyon <christophe.lyon@st.com>
11189793 35 Mickaël Guêné <mickael.guene@st.com>
b1e21e5a 36
11189793
CL
37 * libgcc/crtstuff.c: Add support for FDPIC.
38
392019-09-10 Christophe Lyon <christophe.lyon@st.com>
40
41 * config.host: Handle *-*-uclinuxfdpiceabi.
b1e21e5a 42
91dfef96
JM
432019-09-09 Jose E. Marchesi <jose.marchesi@oracle.com>
44
45 * config.host: Set cpu_type for bpf-*-* targets.
46 * config/bpf/t-bpf: Likewise.
47 * config/bpf/crtn.S: Likewise.
48 * config/bpf/crti.S: New file.
49
2f4d8951
JW
502019-09-06 Jim Wilson <jimw@sifive.com>
51
52 * config.host (riscv*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
53 (riscv*-*-freebsd*): Likewise.
54
2f2aeda9
UW
552019-09-03 Ulrich Weigand <uweigand@de.ibm.com>
56
57 * config.host: Remove references to spu.
58 * config/spu/: Remove directory.
59
d16017da
JL
602019-08-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
61
62 PR target/91306
63 * crtstuff.c (__CTOR_LIST__): Align to the "__alignof__" the array
64 element type, instead of "sizeof" the element type.
65 (__DTOR_LIST__): Likewise.
66 (__TMC_LIST__): Likewise.
67 (__do_global_dtors_aux_fini_array_entry): Likewise.
68 (__frame_dummy_init_array_entry): Likewise.
69 (__CTOR_END__): Likewise.
70 (__DTOR_END__): Likweise.
71 (__FRAME_END__): Likewise.
72 (__TMC_END__): Likewise.
73
a9fcfec3
HL
742019-08-20 Lili Cui <lilicui@intel.com>
75
76 * config/i386/cpuinfo.h: Add INTEL_COREI7_TIGERLAKE and
77 INTEL_COREI7_COOPERLAKE.
78
428642b1
MT
792019-07-31 Matt Thomas <matt@3am-software.com>
80 Nick Hudson <nick@nthcliff.demon.co.uk>
81 Matthew Green <mrg@eterna.com.au>
82 Maya Rashish <coypu@sdf.org>
83
84 * config.host (hppa*-*-netbsd*): New case.
85 * config/pa/t-netbsd: New file.
86
f0efd925
JH
872019-07-31 Joel Hutton <Joel.Hutton@arm.com>
88
89 * config/arm/cmse.c (cmse_check_address_range): Add
90 warn_unused_result attribute.
91
a861990d
ML
922019-07-22 Martin Liska <mliska@suse.cz>
93
94 * config/pa/stublib.c: Remove stub symbol __gnu_lto_v1.
95 * config/pa/t-stublib: Likewise.
96
9c0dba7c
SH
972019-07-22 Stafford Horne <shorne@gmail.com>
98
99 PR target/90362
100 * config/or1k/lib1funcs.S (__udivsi3): Change l.sfeqi
101 to l.sfeq and l.sfltsi to l.sflts equivalents as the immediate
102 instructions are not available on every processor. Change a
103 l.bnf to l.bf to fix logic issue.
104
61afc8f8
IS
1052019-07-04 Iain Sandoe <iain@sandoe.co.uk>
106
107 * config.host: Remove reference to t-darwin8.
108
179c7ef5
IS
1092019-07-03 Iain Sandoe <iain@sandoe.co.uk>
110
111 * config.host (powerpc-*-darwin*,powerpc64-*-darwin*): Revise crt
112 list.
113 * config/rs6000/t-darwin: Build crt3_2 for older systems. Revise
114 mmacosx-version-min for crts to run across all system versions.
115 * config/rs6000/t-darwin64 (LIB2ADD): Remove.
116 * config/t-darwin: Revise mmacosx-version-min for crts to run across
117 system versions >= 10.4.
118
596341c7
ML
1192019-07-03 Martin Liska <mliska@suse.cz>
120
121 * Makefile.in: Use topn_values instead of one_value names.
122 * libgcov-merge.c (__gcov_merge_single): Move to ...
123 (__gcov_merge_topn): ... this.
124 (merge_single_value_set): Move to ...
125 (merge_topn_values_set): ... this.
126 * libgcov-profiler.c (__gcov_one_value_profiler_body): Move to
127 ...
128 (__gcov_topn_values_profiler_body): ... this.
129 (__gcov_one_value_profiler_v2): Move to ...
130 (__gcov_topn_values_profiler): ... this.
131 (__gcov_one_value_profiler_v2_atomic): Move to ...
132 (__gcov_topn_values_profiler_atomic): ... this.
133 (__gcov_indirect_call_profiler_v4): Remove.
134 * libgcov-util.c (__gcov_single_counter_op): Move to ...
135 (__gcov_topn_counter_op): ... this.
136 * libgcov.h (L_gcov_merge_single): Remove.
137 (L_gcov_merge_topn): New.
138 (__gcov_merge_single): Remove.
139 (__gcov_merge_topn): New.
140 (__gcov_one_value_profiler_v2): Move to ..
141 (__gcov_topn_values_profiler): ... this.
142 (__gcov_one_value_profiler_v2_atomic): Move to ...
143 (__gcov_topn_values_profiler_atomic): ... this.
144
1b309ca5
ML
1452019-07-03 Martin Liska <mliska@suse.cz>
146
147 * libgcov-merge.c (merge_single_value_set): Support N values.
148 * libgcov-profiler.c (__gcov_one_value_profiler_body): Likewise.
149
5a460280
ID
1502019-06-27 Ilia Diachkov <ilia.diachkov@optimitech.com>
151
152 * Makefile.in (USE_TM_CLONE_REGISTRY): New.
153 (CRTSTUFF_CFLAGS): Use USE_TM_CLONE_REGISTRY.
154 * configure.ac: Add --disable-tm-clone-registry option.
155 * configure: Regenerate.
156
45309d28
ML
1572019-06-27 Martin Liska <mliska@suse.cz>
158
159 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Remove obviously
160 dead assignments.
161 * libgcov-util.c: Likewise.
162
c2f7a665
ML
1632019-06-27 Martin Liska <mliska@suse.cz>
164
165 * libgcov-util.c (gcov_profile_merge): Release allocated
166 memory.
167 (calculate_overlap): Likewise.
168
a8e55c61
IS
1692019-06-25 Iain Sandoe <iain@sandoe.co.uk>
170
171 * config.host: Add libef_ppc.a to the extra files for powerpc-darwin.
172 * config/rs6000/t-darwin: (PPC_ENDFILE_SRC, PPC_ENDFILE_OBJS): New.
173 Build objects for the out of line save/restore register functions
174 so that they can be used for any supported Darwin version.
175 * config/t-darwin: Default the build Darwin version to Darwin8
176 (MacOS 10.4).
177
e5ce4cbc
ML
1782019-06-25 Martin Liska <mliska@suse.cz>
179
180 * libgcov-driver-system.c (replace_filename_variables): Do not
181 call strlen with NULL argument.
182
52a47d28
AS
1832019-06-25 Andrew Stubbs <ams@codesourcery.com>
184
185 * config/gcn/t-amdgcn (LIB2ADD): Add unwind-gcn.c.
186 * config/gcn/unwind-gcn.c: New file.
187
76d46331
KCY
1882019-06-25 Kwok Cheung Yeung <kcy@codesourcery.com>
189 Andrew Stubbs <ams@codesourcery.com>
190
191 * configure: Regenerate.
192 * config/gcn/gthr-gcn.h: New.
193
787783a0
TV
1942019-06-18 Tom de Vries <tdevries@suse.de>
195
196 * config/nvptx/crt0.c (__main): Declare.
197
f32f7585
MG
1982019-06-17 Matthew Green <mrg@eterna.com.au>
199 Maya Rashish <coypu@sdf.org>
200
201 * config.host (aarch64*-*-netbsd*): New case.
202
0fcc78f7
JL
2032019-06-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
204
205 * config/msp430/slli.S (__mspabi_sllll): New library function for
206 performing a logical left shift of a 64-bit value.
207 * config/msp430/srai.S (__mspabi_srall): New library function for
208 performing a arithmetic right shift of a 64-bit value.
209 * config/msp430/srll.S (__mspabi_srlll): New library function for
210 performing a logical right shift of a 64-bit value.
211
b27c1082
MT
2122019-06-14 Matt Thomas <matt@3am-software.com>
213 Matthew Green <mrg@eterna.com.au>
214 Nick Hudson <skrll@netbsd.org>
215 Maya Rashish <coypu@sdf.org>
216
217 * config.host (arm*-*-netbsdelf*): Add support for EABI configurations.
218 * config/arm/t-netbsd (LIB1ASMFUNCS): Add some additional assembler
219 functions to build.
220 * config/arm/t-netbsd-eabi: New file.
221
ae7deb4b
DD
2222019-06-12 Dimitar Dimitrov <dimitar@dinux.eu>
223
224 * config.host: Add PRU target.
225 * config/pru/asri.c: New file.
226 * config/pru/eqd.c: New file.
227 * config/pru/eqf.c: New file.
228 * config/pru/ged.c: New file.
229 * config/pru/gef.c: New file.
230 * config/pru/gtd.c: New file.
231 * config/pru/gtf.c: New file.
232 * config/pru/led.c: New file.
233 * config/pru/lef.c: New file.
234 * config/pru/lib2bitcountHI.c: New file.
235 * config/pru/lib2divHI.c: New file.
236 * config/pru/lib2divQI.c: New file.
237 * config/pru/lib2divSI.c: New file.
238 * config/pru/libgcc-eabi.ver: New file.
239 * config/pru/ltd.c: New file.
240 * config/pru/ltf.c: New file.
241 * config/pru/mpyll.S: New file.
242 * config/pru/pru-abi.h: New file.
243 * config/pru/pru-asm.h: New file.
244 * config/pru/pru-divmod.h: New file.
245 * config/pru/sfp-machine.h: New file.
246 * config/pru/t-pru: New file.
247
0d7b3e47
JJ
2482019-06-11 Jakub Jelinek <jakub@redhat.com>
249
250 * libgcov-merge.c (__gcov_merge_single): Revert previous change.
251
54e2d83c
ML
2522019-06-10 Martin Liska <mliska@suse.cz>
253
254 PR bootstrap/90808
255 * libgcov.h: Add ATTRIBUTE_UNUSED.
256
92d41717
ML
2572019-06-10 Martin Liska <mliska@suse.cz>
258
259 * Makefile.in: Add __gcov_one_value_profiler_v2,
260 __gcov_one_value_profiler_v2_atomic and
261 __gcov_indirect_call_profiler_v4.
262 * libgcov-merge.c (__gcov_merge_single): Change
263 function signature.
264 (merge_single_value_set): New.
265 * libgcov-profiler.c (__gcov_one_value_profiler_body):
266 Update functionality.
267 (__gcov_one_value_profiler): Remove.
268 (__gcov_one_value_profiler_v2): ... this.
269 (__gcov_one_value_profiler_atomic): Rename to ...
270 (__gcov_one_value_profiler_v2_atomic): this.
271 (__gcov_indirect_call_profiler_v3): Rename to ...
272 (__gcov_indirect_call_profiler_v4): ... this.
273 * libgcov.h (__gcov_one_value_profiler): Remove.
274 (__gcov_one_value_profiler_atomic): Remove.
275 (__gcov_one_value_profiler_v2_atomic): New.
276 (__gcov_indirect_call_profiler_v3): Remove.
277 (__gcov_one_value_profiler_v2): New.
278 (__gcov_indirect_call_profiler_v4): New.
279 (gcov_get_counter_ignore_scaling): New function.
280
e37333ba
ML
2812019-06-07 Martin Liska <mliska@suse.cz>
282
283 * Makefile.in: Remove usage of
284 _gcov_merge_icall_topn.
285 * libgcov-driver.c (gcov_sort_n_vals): Remove.
286 (gcov_sort_icall_topn_counter): Likewise.
287 (gcov_sort_topn_counter_arrays): Likewise.
288 (dump_one_gcov): Remove call to gcov_sort_topn_counter_arrays.
289 * libgcov-merge.c (__gcov_merge_icall_topn): Remove.
290 * libgcov-profiler.c (__gcov_topn_value_profiler_body):
291 Likewise.
292 (GCOV_ICALL_COUNTER_CLEAR_THRESHOLD): Remove.
293 (struct indirect_call_tuple): Remove.
294 (__gcov_indirect_call_topn_profiler): Remove.
295 * libgcov-util.c (__gcov_icall_topn_counter_op): Remove.
296 * libgcov.h (gcov_sort_n_vals): Remove.
297 (L_gcov_merge_icall_topn): Likewise.
298 (__gcov_merge_icall_topn): Likewise.
299 (__gcov_indirect_call_topn_profiler): Likewise.
300
34a4a9c2
IS
3012019-06-06 Iain Sandoe <iain@sandoe.co.uk>
302
303 * config/rs6000/t-darwin: Ensure that the unwinder is built with
304 altivec enabled.
305
d1b2f85f
JL
3062019-06-06 Jozef Lawrynowicz <jozef.l@mittosystems.com>
307
308 * config/msp430/slli.S (__mspabi_slli_n): Put function in its own
309 section.
310 (__mspabi_slli): Likewise.
311 (__mspabi_slll_n): Likewise.
312 (__mspabi_slll): Likewise.
313 * config/msp430/srai.S (__mspabi_srai_n): Likewise.
314 (__mspabi_srai): Likewise.
315 (__mspabi_sral_n): Likewise.
316 (__mspabi_sral): Likewise.
317 * config/msp430/srli.S (__mspabi_srli_n): Likewise.
318 (__mspabi_srli): Likewise.
319 (__mspabi_srll_n): Likewise.
320 (__mspabi_srll): Likewise.
321
e69a13d1
YS
3222019-06-05 Yoshinori Sato <ysato@users.sourceforge.jp>
323
324 * config.host (rx-*-linux*): Add t-fdpbit to tmake_file
325 Add appropriate tm_file clause as well.
326 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Remove.
327
b009eac1
JC
3282019-06-05 James Clarke <jrtc27@jrtc27.com>
329
330 * config/ia64/crtbegin.S (__dso_handle): Put in .sdata/.sbss
331 rather than .data/.bss so it can be accessed via gp-relative
332 addressing.
333
781d39f2
DE
3342019-06-05 David Edelsohn <dje.gcc@gmail.com>
335
336 * config/rs6000/aix-unwind.h (LR_REGNO): Rename to R_LR.
337 (CR2_REGNO): Rename to R_CR2.
338 (XER_REGNO): Rename to R_XER.
339 (FIRST_ALTIVEC_REGNO): Rename to R_FIRST_ALTIVEC.
340 (VRSAVE_REGNO): Rename to R_VRSAVE.
341 (VSCR_REGNO): R_VSCR.
342
76aaa9cd
YS
3432019-05-29 Yoshinori Sato <ysato@users.sourceforge.jp>
344
345 * config.host (rx-*-linux*): Add new case.
346 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Force DFmode to SFmode.
347
8fc16d72
ST
3482019-05-29 Sam Tebbs <sam.tebbs@arm.com>
349
350 * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key): New
351 function.
352 * config/aarch64/aarch64-unwind.h (aarch64_post_extract_frame_addr,
353 aarch64_post_frob_eh_handler_addr): Add check for b-key.
354 * config/aarch64/aarch64-unwind-h (aarch64_post_extract_frame_addr,
355 aarch64_post_frob_eh_handler_addr, aarch64_post_frob_update_context):
356 Rename RA_A_SIGNED_BIT to RA_SIGNED_BIT.
357 * unwind-dw2-fde.c (get_cie_encoding): Add check for 'B' in augmentation
358 string.
359 * unwind-dw2.c (extract_cie_info): Add check for 'B' in augmentation
360 string.
361 (RA_A_SIGNED_BIT): Rename to RA_SIGNED_BIT.
362
e54b1a92
RO
3632019-05-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
364
365 * config/sparc/sol2-unwind.h [__arch64__] (sparc64_is_sighandler):
366 Remove Solaris 9 and 10 support.
367 (sparc_is_sighandler): Likewise.
368
abbb8307
JDA
3692019-05-26 John David Anglin <danglin@gcc.gnu.org>
370
371 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Add cast.
372
2581344d
L
3732019-05-17 H.J. Lu <hongjiu.lu@intel.com>
374
375 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
376 4_FP_W_TYPEs are used for IEEE quad precision.
377 * soft-fp/extendhftf2.c: Likewise.
378 * soft-fp/extendsftf2.c: Likewise.
379 * soft-fp/extendxftf2.c: Likewise.
380 * soft-fp/trunctfdf2.c: Likewise.
381 * soft-fp/trunctfhf2.c: Likewise.
382 * soft-fp/trunctfsf2.c: Likewise.
383 * soft-fp/trunctfxf2.c: Likewise.
384 * config/rs6000/ibm-ldouble.c: Likewise.
385
ccd1242e
RO
3862019-05-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
387
388 * config.host: Simplify various *-*-solaris2.1[0-9]* to
389 *-*-solaris2*.
390 * configure.ac: Likewise.
391 * configure: Regenerate.
392
393 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
394 Solaris 10 and Solaris 11 < snv_125 handling.
395
ef5eb79d
IS
3962019-05-12 Iain Sandoe <iain@sandoe.co.uk>
397
398 * config/rs6000/darwin-vecsave.S: Set .machine appropriately.
399
4f0e90fa
HL
4002019-05-07 Hongtao Liu <hongtao.liu@intel.com>
401
402 * config/i386/cpuinfo.c (get_available_features): Detect BF16.
403 * config/i386/cpuinfo.h (enum processor_features): Add
404 FEATURE_AVX512BF16.
405
48528842
RR
4062019-04-23 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
407 Bernd Edlinger <bernd.edlinger@hotmail.de>
408 Jakub Jelinek <jakub@redhat.com>
409
410 PR target/89093
411 * config/arm/pr-support.c: Add #pragma GCC target("general-regs-only").
412 * config/arm/unwind-arm.c: Likewise.
413 * unwind-c.c (PERSONALITY_FUNCTION): Add general-regs-only target
414 attribute for ARM.
415
887e182f
MC
4162019-04-15 Monk Chiang <sh.chiang04@gmail.com>
417
418 * config/nds32/linux-unwind.h (SIGRETURN): Remove.
419 (RT_SIGRETURN): Update.
420 (nds32_fallback_frame_state): Update.
421
a90b0cdd
MS
4222019-02-21 Martin Sebor <msebor@redhat.com>
423
424 * libgcc2.h (__clear_cache): Correct signature.
425 * libgcc2.c (__clear_cache): Same.
426
1ed28eda
UB
4272019-02-20 Uroš Bizjak <ubizjak@gmail.com>
428
429 * config/alpha/linux-unwind.h (alpha_fallback_frame_state):
430 Cast 'mcontext_t *' &rt_->uc.uc_mcontext to 'struct sigcontext *'.
431
fe95aee9
UB
4322019-02-19 Uroš Bizjak <ubizjak@gmail.com>
433
434 * unwind-dw2.c (_Unwind_GetGR) [DWARF_ZERO_REG]: Compare
435 regno instead of index to DWARF_ZERO_REG.
436
bf7988f1
EB
4372019-02-15 Eric Botcazou <ebotcazou@adacore.com>
438
439 * config/visium/lib2funcs.c (__set_trampoline_parity): Replace
440 TRAMPOLINE_SIZE with __LIBGCC_TRAMPOLINE_SIZE__.
441
ba2c1ca8
UB
4422019-01-31 Uroš Bizjak <ubizjak@gmail.com>
443
444 * config/alpha/t-linux: Add -mfp-rounding-mode=d
445 to HOST_LIBGCC2_CFLAGS.
446
6395ba73
L
4472019-01-23 Joseph Myers <joseph@codesourcery.com>
448
449 PR libgcc/88931
ba2c1ca8 450 * libgcc2.c (FSTYPE FUNC (DWtype u)): Correct no leading bits case.
6395ba73 451
756721ba
ML
4522019-01-18 Martin Liska <mliska@suse.cz>
453
454 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Rename
455 to ...
456 (__gcov_indirect_call_profiler_v3): ... this.
457 * libgcov.h (__gcov_indirect_call_profiler_v2): Likewise.
458 (__gcov_indirect_call_profiler_v3): Likewise.
459 * Makefile.in: Bump function name.
460
d273c40a
ML
4612019-01-18 Martin Liska <mliska@suse.cz>
462
463 * libgcov-driver.c (GCOV_PROF_PREFIX): Define.
464 (gcov_version): Use in gcov_error.
465 (merge_one_data): Likewise.
466 (dump_one_gcov): Likewise.
467
be9d9fdb
ML
4682019-01-18 Martin Liska <mliska@suse.cz>
469
470 * libgcov-driver.c (gcov_version_string): New function.
471 (gcov_version): Convert version integer into string.
472
91d7b7fe
AS
4732019-01-17 Andrew Stubbs <ams@codesourcery.com>
474 Kwok Cheung Yeung <kcy@codesourcery.com>
475 Julian Brown <julian@codesourcery.com>
476 Tom de Vries <tom@codesourcery.com>
477
478 * config.host: Recognize amdgcn*-*-amdhsa.
479 * config/gcn/crt0.c: New file.
480 * config/gcn/lib2-divmod-hi.c: New file.
481 * config/gcn/lib2-divmod.c: New file.
482 * config/gcn/lib2-gcn.h: New file.
483 * config/gcn/sfp-machine.h: New file.
484 * config/gcn/t-amdgcn: New file.
485
67914693
SL
4862019-01-09 Sandra Loosemore <sandra@codesourcery.com>
487
488 PR other/16615
489
490 * config/c6x/libunwind.S: Mechanically replace "can not" with
491 "cannot".
492 * config/tilepro/atomic.h: Likewise.
493 * config/vxlib-tls.c: Likewise.
494 * generic-morestack-thread.c: Likewise.
495 * generic-morestack.c: Likewise.
496 * mkmap-symver.awk: Likewise.
497
a5544970
JJ
4982019-01-01 Jakub Jelinek <jakub@redhat.com>
499
500 Update copyright years.
501
da77eace
L
5022018-12-20 H.J. Lu <hongjiu.lu@intel.com>
503
504 * unwind-pe.h (read_encoded_value_with_base): Add GCC pragma
505 to ignore -Waddress-of-packed-member.
506
72e3a529
TP
5072018-12-19 Thomas Preud'homme <thomas.preudhomme@linaro.org>
508
509 * /config/arm/lib1funcs.S (FUNC_START): Remove unused sp_section
510 parameter and corresponding code.
511 (ARM_FUNC_START): Likewise in both definitions.
512 Also update footer comment about condition that need to match with
513 gcc/config/arm/elf.h to also include libgcc/config/arm/t-arm.
514 * config/arm/ieee754-df.S (muldf3): Also build it if L_arm_muldf3 is
515 defined. Weakly define it in this case.
516 * config/arm/ieee754-sf.S (mulsf3): Likewise with L_arm_mulsf3.
517 * config/arm/t-elf (LIB1ASMFUNCS): Build _arm_muldf3.o and
518 _arm_mulsf3.o before muldiv versions if targeting Thumb-1 only. Add
519 comment to keep condition in sync with the one in
520 libgcc/config/arm/lib1funcs.S and gcc/config/arm/elf.h.
521
5d54c798
WX
5222018-12-18 Wei Xiao <wei3.xiao@intel.com>
523
524 * config/i386/cpuinfo.c (get_intel_cpu): Handle cascadelake.
525 * config/i386/cpuinfo.h: Add INTEL_COREI7_CASCADELAKE.
526
5a2580b6
RV
5272018-12-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
528
529 * config/rs6000/tramp.S (__trampoline_setup): Also emit .size
530 and .cfi_endproc directives for VxWorks targets.
531
c0c5112b
PK
5322018-12-05 Paul Koning <ni1d@arrl.net>
533
534 * udivmodhi4.c (__udivmodhi4): Fix loop end check.
535
1ea7ea18
AM
5362018-11-27 Alan Modra <amodra@gmail.com>
537
538 * config/rs6000/morestack.S (__stack_split_initialize),
539 (__morestack_get_guard, __morestack_set_guard),
540 (__morestack_make_guard): Provide CFI covering these functions.
541 * config/rs6000/tramp.S (__trampoline_setup): Likewise.
542
ff641ae1
XQ
5432018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
544
1ea7ea18 545 * config/csky/linux-unwind.h (sc_pt_regs): Update for kernel.
ff641ae1
XQ
546 (sc_pt_regs_lr): Update for kernel.
547 (sc_pt_regs_tls): Update for kernel.
548
28209372
XQ
5492018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
550
551 * config/csky/linux-unwind.h: Fix coding style.
552
b2a71af6
XQ
5532018-11-13 Xianmiao Qu <xianmiao_qu@c-sky.com>
554
555 * config/csky/linux-unwind.h (_sig_ucontext_t): Remove.
1ea7ea18 556 (csky_fallback_frame_state): Modify the check of the
b2a71af6
XQ
557 instructions to adapt to changes in the kernel
558
d929e137
SH
5592018-11-09 Stafford Horne <shorne@gmail.com>
560 Richard Henderson <rth@twiddle.net>
561
562 * config.host: Add OpenRISC support.
563 * config/or1k/*: New.
564
222cfefa
KC
5652018-11-08 Kito Cheng <kito@andestech.com>
566
567 * soft-fp/adddf3.c: Update from glibc.
568 * soft-fp/addsf3.c: Likewise.
569 * soft-fp/addtf3.c: Likewise.
570 * soft-fp/divdf3.c: Likewise.
571 * soft-fp/divsf3.c: Likewise.
572 * soft-fp/divtf3.c: Likewise.
573 * soft-fp/double.h: Likewise.
574 * soft-fp/eqdf2.c: Likewise.
575 * soft-fp/eqsf2.c: Likewise.
576 * soft-fp/eqtf2.c: Likewise.
577 * soft-fp/extenddftf2.c: Likewise.
578 * soft-fp/extended.h: Likewise.
579 * soft-fp/extendhftf2.c: Likewise.
580 * soft-fp/extendsfdf2.c: Likewise.
581 * soft-fp/extendsftf2.c: Likewise.
582 * soft-fp/extendxftf2.c: Likewise.
583 * soft-fp/fixdfdi.c: Likewise.
584 * soft-fp/fixdfsi.c: Likewise.
585 * soft-fp/fixdfti.c: Likewise.
586 * soft-fp/fixhfti.c: Likewise.
587 * soft-fp/fixsfdi.c: Likewise.
588 * soft-fp/fixsfsi.c: Likewise.
589 * soft-fp/fixsfti.c: Likewise.
590 * soft-fp/fixtfdi.c: Likewise.
591 * soft-fp/fixtfsi.c: Likewise.
592 * soft-fp/fixtfti.c: Likewise.
593 * soft-fp/fixunsdfdi.c: Likewise.
594 * soft-fp/fixunsdfsi.c: Likewise.
595 * soft-fp/fixunsdfti.c: Likewise.
596 * soft-fp/fixunshfti.c: Likewise.
597 * soft-fp/fixunssfdi.c: Likewise.
598 * soft-fp/fixunssfsi.c: Likewise.
599 * soft-fp/fixunssfti.c: Likewise.
600 * soft-fp/fixunstfdi.c: Likewise.
601 * soft-fp/fixunstfsi.c: Likewise.
602 * soft-fp/fixunstfti.c: Likewise.
603 * soft-fp/floatdidf.c: Likewise.
604 * soft-fp/floatdisf.c: Likewise.
605 * soft-fp/floatditf.c: Likewise.
606 * soft-fp/floatsidf.c: Likewise.
607 * soft-fp/floatsisf.c: Likewise.
608 * soft-fp/floatsitf.c: Likewise.
609 * soft-fp/floattidf.c: Likewise.
610 * soft-fp/floattihf.c: Likewise.
611 * soft-fp/floattisf.c: Likewise.
612 * soft-fp/floattitf.c: Likewise.
613 * soft-fp/floatundidf.c: Likewise.
614 * soft-fp/floatundisf.c: Likewise.
615 * soft-fp/floatunditf.c: Likewise.
616 * soft-fp/floatunsidf.c: Likewise.
617 * soft-fp/floatunsisf.c: Likewise.
618 * soft-fp/floatunsitf.c: Likewise.
619 * soft-fp/floatuntidf.c: Likewise.
620 * soft-fp/floatuntihf.c: Likewise.
621 * soft-fp/floatuntisf.c: Likewise.
622 * soft-fp/floatuntitf.c: Likewise.
623 * soft-fp/gedf2.c: Likewise.
624 * soft-fp/gesf2.c: Likewise.
625 * soft-fp/getf2.c: Likewise.
626 * soft-fp/half.h: Likewise.
627 * soft-fp/ledf2.c: Likewise.
628 * soft-fp/lesf2.c: Likewise.
629 * soft-fp/letf2.c: Likewise.
630 * soft-fp/muldf3.c: Likewise.
631 * soft-fp/mulsf3.c: Likewise.
632 * soft-fp/multf3.c: Likewise.
633 * soft-fp/negdf2.c: Likewise.
634 * soft-fp/negsf2.c: Likewise.
635 * soft-fp/negtf2.c: Likewise.
636 * soft-fp/op-1.h: Likewise.
637 * soft-fp/op-2.h: Likewise.
638 * soft-fp/op-4.h: Likewise.
639 * soft-fp/op-8.h: Likewise.
640 * soft-fp/op-common.h: Likewise.
641 * soft-fp/quad.h: Likewise.
642 * soft-fp/single.h: Likewise.
643 * soft-fp/soft-fp.h: Likewise.
644 * soft-fp/subdf3.c: Likewise.
645 * soft-fp/subsf3.c: Likewise.
646 * soft-fp/subtf3.c: Likewise.
647 * soft-fp/truncdfsf2.c: Likewise.
648 * soft-fp/trunctfdf2.c: Likewise.
649 * soft-fp/trunctfhf2.c: Likewise.
650 * soft-fp/trunctfsf2.c: Likewise.
651 * soft-fp/trunctfxf2.c: Likewise.
652 * soft-fp/unorddf2.c: Likewise.
653 * soft-fp/unordsf2.c: Likewise.
654 * soft-fp/unordtf2.c: Likewise.
655
2901f42f
VK
6562018-11-04 Venkataramanan Kumar <Venkataramanan.kumar@amd.com>
657
658 * config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
659 * config/i386/cpuinfo.h (processor_types): Add znver2.
660
4310ca66
PK
6612018-11-01 Paul Koning <ni1d@arrl.net>
662
663 * config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c.
664 (HOST_LIBGCC2_CFLAGS): Change to optimize for size.
665
22e05272
JM
6662018-10-31 Joseph Myers <joseph@codesourcery.com>
667
668 PR bootstrap/82856
669 * configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
670 * configure: Regenerate.
671
8180cde0
CZ
6722018-10-31 Claudiu Zissulescu <claziss@synopsys.com>
673
674 * config/arc/lib1funcs.S (_muldi3): New function.
675 * config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
676
be7b071e
RV
6772018-10-30 Rasmus Villemoes <rv@rasmusvillemoes.dk>
678
679 * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
680
3239d726
ML
6812018-10-25 Martin Liska <mliska@suse.cz>
682
683 PR other/87735
684 * libgcov-profiler.c: Revert.
685
19b55958
ML
6862018-10-24 Martin Liska <mliska@suse.cz>
687
688 * libgcov-profiler.c: Start from 1 in order to distinguish
689 functions which were seen and these that were not.
690
a9a2fddb
PK
6912018-10-18 Paul Koning <ni1d@arrl.net>
692
693 * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
694 standard.
695 * divmod.c: Update references to __udivmodsi4.
696 * udivmod.c: Ditto.
697 * udivhi3.c: New file.
698 * udivmodhi4.c: New file.
699 * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
700
fc8abc46
RV
7012018-10-17 Rasmus Villemoes <rv@rasmusvillemoes.dk>
702
703 * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
704
87f918e3
OH
7052018-10-12 Olivier Hainque <hainque@adacore.com>
706
707 * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
708 defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
709
be86efa7
PK
7102018-10-08 Paul Koning <ni1d@arrl.net>
711
712 * config/pdp11/t-pdp11: Remove -mfloat32 switch.
713
3edbcdbe
ML
7142018-10-04 Martin Liska <mliska@suse.cz>
715
716 PR gcov-profile/84107
717 * libgcov-profiler.c (__gcov_indirect_call):
718 Change type to indirect_call_tuple.
719 (struct indirect_call_tuple): New struct.
720 (__gcov_indirect_call_topn_profiler): Change type.
721 (__gcov_indirect_call_profiler_v2): Use the new
722 variables.
723 * libgcov.h (struct indirect_call_tuple): New struct
724 definition.
725
af8096fc
UB
7262018-10-03 Uros Bizjak <ubizjak@gmail.com>
727
728 * libgcc2.c (isnan): Use __builtin_isnan.
729 (isfinite): Use __builtin_isfinite.
730 (isinf): Use __builtin_isinf.
731
0a76bba4
UB
7322018-09-26 Uros Bizjak <ubizjak@gmail.com>
733
734 * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
735
5244089f
OH
7362018-09-21 Alexandre Oliva <oliva@adacore.com>
737
738 * config/vxcache.c: New file. Provide __clear_cache, based on
739 the cacheTextUpdate VxWorks service.
740 * config/t-vxworks (LIB2ADD): Add vxcache.c.
741 (LIB2FUNCS_EXCLUDE): Add _clear_cache.
742 * config/t-vxwoks7: Likewise.
743
512cc015
ML
7442018-09-21 Martin Liska <mliska@suse.cz>
745
746 * libgcov-driver.c (crc32_unsigned): Remove.
747 (gcov_histogram_insert): Likewise.
748 (gcov_compute_histogram): Likewise.
749 (compute_summary): Simplify rapidly.
750 (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
751 (merge_summary): Rapidly simplify.
752 (dump_one_gcov): Ignore gcov_summary.
753 (gcov_do_dump): Do not handle program summary, it's not
754 used.
755 * libgcov-util.c (tag_summary): Remove.
756 (read_gcda_finalize): Fix coding style.
757 (read_gcda_file): Initialize curr_object_summary.
758 (compute_summary): Remove.
759 (calculate_overlap): Remove settings of run_max.
760
36ff254b
MC
7612018-09-21 Monk Chiang <sh.chiang04@gmail.com>
762
763 * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
764 ucontext_t type instead.
765 (nds32_fallback_frame_state): Remove struct _sigframe statement.
766
229a033d
KC
7672018-09-21 Kito Cheng <kito.cheng@gmail.com>
768
769 * config/nds32/t-nds32-glibc: New file.
770
53c6feb2
RO
7712018-09-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
772
773 * configure.ac (solaris_ld_v2_maps): New test.
774 * configure: Regenerate.
775 * Makefile.in (solaris_ld_v2_maps): New variable.
776 * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
777 if supported.
778
ebdb6f23
RE
7792018-08-23 Richard Earnshaw <rearnsha@arm.com>
780
781 PR target/86951
782 * config/arm/lib1funcs.asm (speculation_barrier): New function.
783 * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
784 to build.
785
a49c064e
IS
7862018-08-22 Iain Sandoe <iain@sandoe.co.uk>
787
1ea7ea18 788 * config/unwind-dw2-fde-darwin.c
a49c064e
IS
789 (_darwin10_Unwind_FindEnclosingFunction): move from here ...
790 * config/darwin10-unwind-find-enc-func.c: … to here.
791 * config/t-darwin: Build Darwin10 unwinder shim crt.
792 * libgcc/config.host: Add the Darwin10 unwinder shim.
793
9a5b8df7
RV
7942018-08-21 Rasmus Villemoes <rv@rasmusvillemoes.dk>
795
796 * config.host: Add crtbegin.o and crtend.o for
797 powerpc-wrs-vxworks target.
798
4cd0bc3b
J
7992018-08-17 Jojo <jijie_rong@c-sky.com>
800 Huibin Wang <huibin_wang@c-sky.com>
801 Sandra Loosemore <sandra@codesourcery.com>
802 Chung-Lin Tang <cltang@codesourcery.com>
803
804 C-SKY port: libgcc
805
806 * config.host: Add C-SKY support.
807 * config/csky/*: New.
808
a4931745
CJW
8092018-08-12 Chung-Ju Wu <jasonwucj@gmail.com>
810
811 * config/nds32/t-nds32-isr: Rearrange object dependency.
812 * config/nds32/initfini.c: Add dwarf2 unwinding support.
813 * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
814 and registers usage.
815 * config/nds32/isr-library/excp_isr.S: Ditto.
816 * config/nds32/isr-library/intr_isr.S: Ditto.
817 * config/nds32/isr-library/reset.S: Ditto.
818 * config/nds32/isr-library/restore_all.inc: Ditto.
819 * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
820 * config/nds32/isr-library/restore_partial.inc: Ditto.
821 * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
822 * config/nds32/isr-library/save_all.inc: Ditto.
823 * config/nds32/isr-library/save_mac_regs.inc: Ditto.
824 * config/nds32/isr-library/save_partial.inc: Ditto.
825 * config/nds32/isr-library/save_usr_regs.inc: Ditto.
826 * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
827
2b1969f6
JDA
8282018-08-11 John David Anglin <danglin@gcc.gnu.org>
829
830 * config/pa/linux-atomic.c: Update comment.
831 (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
832 COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
833 SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
834 __ATOMIC_RELAXED for atomic loads.
835 (SYNC_LOCK_RELEASE_1): New define. Use __sync_synchronize() and
836 unordered store to release lock.
837 (__sync_lock_release_8): Likewise.
838 (SYNC_LOCK_RELEASE_2): Remove define.
af8096fc 839
89fff9cc
NP
8402018-08-02 Nicolas Pitre <nico@fluxnic.net>
841
842 PR libgcc/86512
843 * config/arm/ieee754-df.S: Don't shortcut denormal handling when
844 exponent goes negative. Update my email address.
845 * config/arm/ieee754-sf.S: Likewise.
846
fd2e1dcd
ML
8472018-08-01 Martin Liska <mliska@suse.cz>
848
849 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
92a285c1 850 check that __gcov_indirect_call_callee is non-null.
fd2e1dcd 851
b7415975
CL
8522018-07-30 Christophe Lyon <christophe.lyon@linaro.org>
853
854 * config/arm/ieee754-df.S: Fix comment for code working on
855 architectures >= 4.
856 * config/arm/ieee754-sf.S: Likewise.
857
b72e71a3
L
8582018-07-27 H.J. Lu <hongjiu.lu@intel.com>
859
860 PR libgcc/85334
861 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
862 Removed.
863
1c686aa4
JC
8642018-07-05 James Clarke <jrtc27@jrtc27.com>
865
866 * configure: Regenerated.
867
b61c9b99
RO
8682018-06-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
869
870 * Makefile.in (install_leaf): Use enable_gcov instead of
871 enable_libgcov.
872
1765b023
RV
8732018-06-27 Rasmus Villemoes <rv@rasmusvillemoes.dk>
874
875 * configure.ac: Add --disable-gcov option.
876 * configure: Regenerate.
877 * Makefile.in: Honour @enable_gcov@.
878
9b2e34ef
CL
8792018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
880
881 * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
882 __ARM_ARCH and __ARM_FEATURE_CLZ instead.
883 (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
884 * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
885 __ARM_ARCH__.
886 * config/arm/ieee754-sf.S: Likewise.
887 * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
888
d1b0dd54
CL
8892018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
890
891 * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
892 longer supported.
893 * config/arm/ieee754-sf.S: Likewise.
894
1f3fa525
TM
8952018-06-20 Than McIntosh <thanm@google.com>
896
897 PR libgcc/86213
898 * generic-morestack.c (allocate_segment): Move calls to getenv and
899 getpagesize to __morestack_load_mmap.
900 (__morestack_load_mmap) Initialize static_pagesize and
901 use_guard_page here so as to avoid clobbering SSE regs during a
902 __morestack call.
903
6a8886e4
MM
9042018-06-18 Michael Meissner <meissner@linux.ibm.com>
905
906 * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
907 support modules with -mno-gnu-attribute.
908 * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
909
fb997097
OH
9102018-06-07 Olivier Hainque <hainque@adacore.com>
911
912 * config/t-vxworks (LIBGCC_INCLUDES): Add
913 -I$(MULTIBUILDTOP)../../gcc/include.
914 * config/t-vxworks7: Likewise. Reformat a bit to match
915 the t-vxworks layout.
916
a548a5a1
OM
9172018-06-07 Olga Makhotina <olga.makhotina@intel.com>
918
919 * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
920
244aebfd
ML
9212018-06-07 Martin Liska <mliska@suse.cz>
922
923 * libgcov-driver.c: Rename cs_all to all and assign it from
92a285c1 924 all_prg.
244aebfd 925
6c086e8c
ML
9262018-06-07 Martin Liska <mliska@suse.cz>
927
92a285c1 928 PR bootstrap/86057
6c086e8c 929 * libgcov-driver-system.c (replace_filename_variables): Use
92a285c1 930 memcpy instead of mempcpy.
6c086e8c 931 (allocate_filename_struct): Do not allocate filename, allocate
92a285c1 932 prefix and set it.
6c086e8c 933 (gcov_exit_open_gcda_file): Allocate memory for gf->filename
92a285c1 934 here and properly copy content into it.
6c086e8c 935 * libgcov-driver.c (struct gcov_filename): Remove max_length
92a285c1 936 field, change prefix from size_t into char *.
6c086e8c
ML
937 (compute_summary): Do not calculate longest filename.
938 (gcov_do_dump): Release memory of gf.filename after each file.
939 * libgcov-util.c (compute_summary): Use new signature of
92a285c1 940 compute_summary.
6c086e8c
ML
941 (calculate_overlap): Likewise.
942
97a53d1d
ML
9432018-06-05 Martin Liska <mliska@suse.cz>
944
945 PR gcov-profile/47618
946 * libgcov-driver-system.c (replace_filename_variables): New
92a285c1 947 function.
97a53d1d
ML
948 (gcov_exit_open_gcda_file): Use it.
949
7f3577f5
ML
9502018-06-05 Martin Liska <mliska@suse.cz>
951
952 * libgcov-driver.c (gcov_compute_histogram): Remove usage
953 of gcov_ctr_summary.
954 (compute_summary): Do it just for a single summary.
955 (merge_one_data): Likewise.
956 (merge_summary): Simplify as we read just single summary.
957 (dump_one_gcov): Pass proper argument.
958 * libgcov-util.c (compute_one_gcov): Simplify as we have just
959 single summary.
960 (gcov_info_count_all_cold): Likewise.
961 (calculate_overlap): Likewise.
962
cf3cd43d
CJW
9632018-06-02 Chung-Ju Wu <jasonwucj@gmail.com>
964 Monk Chiang <sh.chiang04@gmail.com>
965
966 * config.host (nds32*-linux*): New.
967 * config/nds32/linux-atomic.c: New file.
968 * config/nds32/linux-unwind.h: New file.
969
8b8003ed
UB
9702018-05-31 Uros Bizjak <ubizjak@gmail.com>
971
972 PR target/85591
973 * config/i386/cpuinfo.c (get_amd_cpu): Return
974 AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
975
bbdf026f
RV
9762018-05-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
977
92a285c1 978 * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
bbdf026f 979
0e8f29da
ML
9802018-05-29 Martin Liska <mliska@suse.cz>
981
92a285c1 982 PR gcov-profile/85759
0e8f29da 983 * libgcov-driver-system.c (gcov_error): Introduce usage of
92a285c1 984 GCOV_EXIT_AT_ERROR env. variable.
0e8f29da 985 * libgcov-driver.c (merge_one_data): Print error that we
92a285c1 986 overwrite a gcov file with a different timestamp.
0e8f29da 987
54fd1590
K
9882018-05-23 Kalamatee <kalamatee@gmail.com>
989
990 * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
991 path to Lf$finfty.
992
09baee1a
KC
9932018-05-18 Kito Cheng <kito.cheng@gmail.com>
994 Monk Chiang <sh.chiang04@gmail.com>
995 Jim Wilson <jimw@sifive.com>
996
997 * config/riscv/save-restore.S: Add support for rv32e.
998
c3f808d3
KT
9992018-05-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1000
1001 * config/arm/libunwind.S: Update comment relating to armv5.
1002
fcf4f831
JL
10032018-05-17 Jerome Lambourg <lambourg@adacore.com>
1004
1005 * config/arm/cmse.c (cmse_check_address_range): Replace
1006 UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
1007
74b2bb19
OM
10082018-05-17 Olga Makhotina <olga.makhotina@intel.com>
1009
1010 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
1011 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
1012
50e461df
OM
10132018-05-08 Olga Makhotina <olga.makhotina@intel.com>
1014
1015 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
1016 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
1017
e5f1cdb1
AC
10182018-05-07 Amaan Cheval <amaan.cheval@gmail.com>
1019
1020 * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
1021
8f479d7a
AT
10222018-04-27 Andreas Tobler <andreast@gcc.gnu.org>
1023 Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
1024
1025 PR libgcc/84292
1026 * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
1027 op_and_fetch to return the right result.
1028
ae043291
AM
10292018-04-27 Alan Modra <amodra@gmail.com>
1030
1031 PR libgcc/85532
1032 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
1033 -fno-asynchronous-unwind-tables.
1034
ba169b74
CJW
10352018-04-25 Chung-Ju Wu <jasonwucj@gmail.com>
1036
1037 * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
1038 * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
1039
ffc2fc06
L
10402018-04-24 H.J. Lu <hongjiu.lu@intel.com>
1041
1042 * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
1043 when including "config/i386/shadow-stack-unwind.h".
1044
7b47ecf2
L
10452018-04-24 H.J. Lu <hongjiu.lu@intel.com>
1046
1047 * configure: Regenerated.
1048
661eb8f9
MM
10492018-04-20 Michael Meissner <meissner@linux.ibm.com>
1050
1051 PR target/85456
1052 * config/rs6000/_powikf2.c: New file. Add support for the
1053 __builtin_powil function when long double is IEEE 128-bit floating
1054 point.
1055 * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
1056 __powikf2 support.
1057 (__powikf2): Likewise.
1058 * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
1059 (__powikf2_hw): Likewise.
1060 (__powikf2): Likewise.
1061 * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
1062 * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
1063 (_powikf2-hw.c): Likewise.
1064
5707be3c
L
10652018-04-19 H.J. Lu <hongjiu.lu@intel.com>
1066
1067 PR libgcc/85334
1068 * unwind-generic.h (_Unwind_Frames_Increment): New.
1069 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
1070 Likewise.
1071 * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
1072 count with _Unwind_Frames_Increment.
1073 (_Unwind_ForcedUnwind_Phase2): Likewise.
1074
5f9ca0b8
L
10752018-04-19 H.J. Lu <hongjiu.lu@intel.com>
1076
1077 PR libgcc/85379
1078 * config/i386/morestack.S (__stack_split_initialize): Add
1079 _CET_ENDBR.
1080
a0e1df88
JJ
10812018-04-19 Jakub Jelinek <jakub@redhat.com>
1082
1083 * configure: Regenerated.
1084
001ddaa8
DM
10852018-04-18 David Malcolm <dmalcolm@redhat.com>
1086
1087 PR jit/85384
1088 * configure: Regenerate.
1089
a57f99ba
JJ
10902018-04-16 Jakub Jelinek <jakub@redhat.com>
1091
1092 PR target/84945
1093 * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
1094 -Wdangling-else warnings. Mask shift counts to avoid
1095 -Wshift-count-negative and -Wshift-count-overflow false positives.
1096
4d47fe5a
RB
10972018-04-06 Ruslan Bukin <br@bsdpad.com>
1098
1099 * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
1100
059cc8ac
L
11012018-03-29 H.J. Lu <hongjiu.lu@intel.com>
1102
1103 PR target/85100
1104 * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
1105 (XSTATE_FP): Likewise.
1106 (XSTATE_SSE): Likewise.
1107 (XSTATE_YMM): Likewise.
1108 (XSTATE_OPMASK): Likewise.
1109 (XSTATE_ZMM): Likewise.
1110 (XSTATE_HI_ZMM): Likewise.
1111 (XCR_AVX_ENABLED_MASK): Likewise.
1112 (XCR_AVX512F_ENABLED_MASK): Likewise.
1113 (get_available_features): Enable AVX and AVX512 features only
1114 if their states are supported by OSXSAVE.
1115
f2620385
IT
11162018-03-22 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1117
1118 PR target/85025
1119 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
1120 Fix a typo, tmp => 255.
1121
ae6dca8c
JJ
11222018-03-20 Jakub Jelinek <jakub@redhat.com>
1123
1124 PR target/84945
1125 * config/i386/cpuinfo.h (__cpu_features2): Declare.
1126 * config/i386/cpuinfo.c (__cpu_features2): New variable for
1127 ifndef SHARED only.
1128 (set_feature): Define.
1129 (get_available_features): Use set_feature macro. Set __cpu_features2
1130 to the second word of features ifndef SHARED.
1131
c36b04c1
JK
11322018-03-15 Julia Koval <julia.koval@intel.com>
1133
1134 * config/i386/cpuinfo.c (get_available_features): Add
1135 FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
1136 FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
1137 * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
1138 FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
1139 FEATURE_AVX512BITALG.
1140
79ab5364
JK
11412018-03-14 Julia Koval <julia.koval@intel.com>
1142
1143 * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
1144 icelake client and icelake server.
1145
66a00b11
JDA
11462018-03-06 John David Anglin <danglin@gcc.gnu.org>
1147
1148 * config/pa/fptr.c (_dl_read_access_allowed): New.
1149 (__canonicalize_funcptr_for_compare): Use it.
af8096fc 1150
ce579a4f
JJ
11512018-02-28 Jakub Jelinek <jakub@redhat.com>
1152
1153 PR debug/83917
1154 * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
1155 $asm_hidden_op if visibility ("hidden") attribute works.
1156 (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
1157 * config/i386/i386-asm.h: Don't include auto-host.h.
1158 (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
1159 PACKAGE_URL): Don't undefine.
1160 (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
1161 guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
1162 (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
1163 #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
1164 definition instead of hardcoded .hidden.
1165 * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
1166 directive. Use #ifdef HAVE_AS_CFI_SECTIONS rather than
1167 #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
1168 (USE_GAS_CFI_DIRECTIVES): Don't define.
1169 * configure: Regenerated.
1170 * config.in: Likewise.
1171
e5868319
JJ
11722018-02-26 Jakub Jelinek <jakub@redhat.com>
1173
1174 PR debug/83917
1175 * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
1176 PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
1177 inclusion of auto-target.h and auto-host.h.
1178 (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
1179 __GCC_HAVE_DWARF2_CFI_ASM.
1180 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
1181 cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
1182 cfi_pop): Define.
1183 * config/i386/cygwin.S: Don't include auto-host.h here, just
1184 define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
1185 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
1186 cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
1187 * config/i386/resms64fx.h: Add cfi_* directives.
1188 * config/i386/resms64x.h: Likewise.
1189
faef260e
MF
11902018-02-20 Max Filippov <jcmvbkbc@gmail.com>
1191
1192 * config/xtensa/ieee754-df.S (__adddf3_aux): Add
1193 .literal_position directive.
1194 * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
1195
14e335ed
IT
11962018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1197
1198 PR target/84148
1199 * configure: Regenerate.
1200
95df0433
IT
12012018-02-16 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1202
1203 PR target/84239
1204 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
1205 Include cetintrin.h not x86intrin.h.
1206
f8de876d
IT
12072018-02-08 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1208
1209 PR target/84239
95df0433 1210 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
f8de876d
IT
1211 Use new _get_ssp and _inc_ssp intrinsics.
1212
02da1e9c
JK
12132018-02-02 Julia Koval <julia.koval@intel.com>
1214
1215 * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
1216
048c6a9a
CZ
12172018-01-26 Claudiu Zissulescu <claziss@synopsys.com>
1218
1219 * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
1220 option.
1221 (__divsi3): Use RF16 safe registers.
1222 (__modsi3): Likewise.
1223
0889f168
MF
12242018-01-23 Max Filippov <jcmvbkbc@gmail.com>
1225
1226 * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
1227 (__divsf3): Make NaN return value quiet.
1228 * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
1229 (__divdf3): Make NaN return value quiet.
1230
bc8b0d04
SP
12312018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
1232
1233 * config/rl78/anddi3.S: New assembly file.
1234 * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
1235
99cc06ea
SP
12362018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
1237
1238 * config/rl78/umindi3.S: New assembly file.
1239 * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
1240
6e9007a0
SP
12412018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
1242
1243 * config/rl78/smindi3.S: New assembly file.
1244 * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
1245
d975e494 12462018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
af8096fc 1247
d975e494
SP
1248 * config/rl78/smaxdi3.S: New assembly file.
1249 * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
1250
6a18c146 12512018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
af8096fc 1252
5dd16013
SP
1253 * config/rl78/umaxdi3.S: New assembly file.
1254 * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
af8096fc 1255
07baf4a5
JDA
12562018-01-21 John David Anglin <danglin@gcc.gnu.org>
1257
1258 PR lto/83452
1259 * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
1260 * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
af8096fc 1261
dbc3af4f
RS
12622018-01-13 Richard Sandiford <richard.sandiford@linaro.org>
1263
1264 * config/aarch64/value-unwind.h (aarch64_vg): New function.
1265 (DWARF_LAZY_REGISTER_VALUE): Define.
1266 * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
1267 to provide a fallback register value.
1268
68df9882
MM
12692018-01-08 Michael Meissner <meissner@linux.vnet.ibm.com>
1270
1271 * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
1272 __ibm128, instead of trying to use long double.
1273 (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
1274 accomidate -mabi=ieeelongdouble multilibs.
1275 (CVT_IBM128_TO_FLOAT128): Likewise.
1276 * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
1277 the appropriate IBM extended double type.
1278 (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
1279 (__gcc_qsub): Likewise.
1280 (__gcc_qmul): Likewise.
1281 (__gcc_qdiv): Likewise.
1282 (pack_ldouble): Likewise.
1283 (__gcc_qneg): Likewise.
1284 (__gcc_qeq): Likewise.
1285 (__gcc_qne): Likewise.
1286 (__gcc_qge): Likewise.
1287 (__gcc_qle): Likewise.
1288 (__gcc_stoq): Likewise.
1289 (__gcc_dtoq): Likewise.
1290 (__gcc_itoq): Likewise.
1291 (__gcc_utoq): Likewise.
1292 (__gcc_qunord): Likewise.
1293 * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
1294 quad-float128.h for the definitions.
1295 (COPYSIGN): Use the f128 version instead of the q version.
1296 (INFINITY): Likewise.
1297 (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
1298 * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
1299 quad-float128.h for the definitions.
1300 (COPYSIGN): Use the f128 version instead of the q version.
1301 (INFINITY): Likewise.
1302 (FABS): Likewise.
1303 (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
1304 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
1305 * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
1306
64b371b1
SH
13072018-01-05 Sebastian Huber <sebastian.huber@embedded-brains.de>
1308
1309 * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
1310 configuration.
1311
85ec4feb
JJ
13122018-01-03 Jakub Jelinek <jakub@redhat.com>
1313
1314 Update copyright years.
1315
13162017-12-12 Kito Cheng <kito.cheng@gmail.com>
b8d7e076
KC
1317
1318 * config/riscv/t-elf: Use multi3.c instead of multi3.S.
1319 * config/riscv/multi3.c: New file.
1320 * config/riscv/multi3.S: Remove.
1321
3a4c600f
JW
13222017-12-08 Jim Wilson <jimw@sifive.com>
1323
1324 * config/riscv/div.S: Use FUNC_* macros.
1325 * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
1326 * config/riscv/save-restore.S: Likewise.
1327 * config/riscv/riscv-asm.h: New.
1328
75ad35b5
MM
13292017-11-30 Michael Meissner <meissner@linux.vnet.ibm.com>
1330
6ae3512c
MM
1331 * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
1332 * config/rs6000/_divkc3.c (__divkc3): Likewise.
1333
75ad35b5
MM
1334 PR libgcc/83112
1335 * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
1336 correct type for all ifunc resolvers to silence -Wattribute-alias
1337 warnings. Eliminate the forward declaration of the resolver
1338 functions which is no longer needed.
1339 (__subkf3_resolve): Likewise.
1340 (__mulkf3_resolve): Likewise.
1341 (__divkf3_resolve): Likewise.
1342 (__negkf2_resolve): Likewise.
1343 (__eqkf2_resolve): Likewise.
1344 (__nekf2_resolve): Likewise.
1345 (__gekf2_resolve): Likewise.
1346 (__gtkf2_resolve): Likewise.
1347 (__lekf2_resolve): Likewise.
1348 (__ltkf2_resolve): Likewise.
1349 (__unordkf2_resolve): Likewise.
1350 (__extendsfkf2_resolve): Likewise.
1351 (__extenddfkf2_resolve): Likewise.
1352 (__trunckfsf2_resolve): Likewise.
1353 (__trunckfdf2_resolve): Likewise.
1354 (__fixkfsi_resolve): Likewise.
1355 (__fixkfdi_resolve): Likewise.
1356 (__fixunskfsi_resolve): Likewise.
1357 (__fixunskfdi_resolve): Likewise.
1358 (__floatsikf_resolve): Likewise.
1359 (__floatdikf_resolve): Likewise.
1360 (__floatunsikf_resolve): Likewise.
1361 (__floatundikf_resolve): Likewise.
1362 (__extendkftf2_resolve): Likewise.
1363 (__trunctfkf2_resolve): Likewise.
1364
1365 PR libgcc/83103
1366 * config/rs6000/quad-float128.h (TF): Don't define if long double
1367 is IEEE 128-bit floating point.
1368 (TCtype): Define as either TCmode or KCmode, depending on whether
1369 long double is IEEE 128-bit floating point.
1370 (__mulkc3_sw): Add declarations for software/hardware versions of
1371 complex multiply/divide.
1372 (__divkc3_sw): Likewise.
1373 (__mulkc3_hw): Likewise.
1374 (__divkc3_hw): Likewise.
1375 * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
1376 handlers to switch between using software emulation and hardware
1377 float128 instructions, build the complex multiply/divide functions
1378 for both software and hardware support.
1379 * config/rs6000/_divkc3.c (_divkc3): Likewise.
1380 * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
1381 (__divkc3_resolve): Likewise.
1382 (__mulkc3): Likewise.
1383 (__divkc3): Likewise.
1384 * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
1385 (fp128_hw_src): Likewise.
1386 (fp128_hw_static_obj): Likewise.
1387 (fp128_hw_shared_obj): Likewise.
1388 (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
1389 _mulkc3.c and _divkc3.c, changing the function name.
1390 (_divkc3-hw.c): Likewise.
1391 * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
1392 and _divkc3-hw.c.
1393
c234d831
UB
13942017-11-26 Julia Koval <julia.koval@intel.com>
1395
1396 * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
1397 * config/i386/cpuinfo.h (processor_subtypes): Add
1398 INTEL_COREI7_CANNONLAKE.
1399
1ebafce0
IT
14002017-11-20 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1401
1402 PR bootstrap/83015
1403 * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
1404 parameter.
1405 * config/xtensa/unwind-dw2-xtensa.c: Likewise
1406 * config/ia64/unwind-ia64.c: Add frames parameter.
1407 * unwind-sjlj.c: Likewise.
1408
6a10fff4
IT
14092017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1410
1411 * config/i386/linux-unwind.h: Include
1412 config/i386/shadow-stack-unwind.h.
1413 * config/i386/shadow-stack-unwind.h: New file.
1414 * unwind-dw2.c: (uw_install_context): Add a frame parameter and
1415 pass it to _Unwind_Frames_Extra.
1416 * unwind-generic.h (_Unwind_Frames_Extra): New.
1417 * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
1418 parameter. Add local variable frames to count number of frames.
1419 (_Unwind_ForcedUnwind_Phase2): Likewise.
1420 (_Unwind_RaiseException): Add local variable frames to count
1421 number of frames, pass it to _Unwind_RaiseException_Phase2 and
1422 uw_install_context.
1423 (_Unwind_ForcedUnwind): Likewise.
1424 (_Unwind_Resume): Likewise.
1425 (_Unwind_Resume_or_Rethrow): Likewise.
1426
1ecae1fc
IT
14272017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1428
1429 * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
1430 (CET_FLAGS): New.
1431 * config/i386/morestack.S: Include <cet.h>.
1432 (__morestack_large_model): Add _CET_ENDBR at function entrance.
1433 * config/i386/resms64.h: Include <cet.h>.
1434 * config/i386/resms64f.h: Likewise.
1435 * config/i386/resms64fx.h: Likewise.
1436 * config/i386/resms64x.h: Likewise.
1437 * config/i386/savms64.h: Likewise.
1438 * config/i386/savms64f.h: Likewise.
1439 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
1440 (CRTSTUFF_T_CFLAGS): Likewise.
1441 * configure.ac: Include ../config/cet.m4.
1442 Set and substitute CET_FLAGS.
1443 * configure: Regenerated.
1444
f021f1d3
RO
14452017-11-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1446
1447 * config.host (*-*-solaris2*): Adapt comment for Solaris 12
1448 renaming.
1449 * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
1450 * configure.ac (libgcc_cv_solaris_crts): Likewise.
1451 * configure: Regenerate.
1452
65f480c7
TV
14532017-11-07 Tom de Vries <tom@codesourcery.com>
1454
1455 * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
1456 after "do {} while (0)".
1457
2a321acb
TV
14582017-11-07 Tom de Vries <tom@codesourcery.com>
1459
1460 PR other/82784
1461 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
1462 semicolon after "do {} while (0)".
1463 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1464 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1465 * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1466 * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1467
59fcf6c3
AT
14682017-11-04 Andreas Tobler <andreast@gcc.gnu.org>
1469
1470 PR libgcc/82635
1471 * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
1472 sysctl to determine whether we're in a trampoline.
1473 Keep the pattern matching method for systems without
1474 KERN_PROC_SIGTRAMP sysctl.
1475
b0c7ddf8
CM
14762017-11-03 Cupertino Miranda <cmiranda@synopsys.com>
1477 Vineet Gupta <vgupta@synopsys.com>
1478
1479 * config.host (arc*-*-linux*): Set md_unwind_header variable.
1480 * config/arc/linux-unwind-reg.def: New file.
1481 * config/arc/linux-unwind-reg.h: Likewise.
1482
5feee954
SP
14832017-10-23 Sebastian Perta <sebastian.perta@renesas.com>
1484
1485 * config/rl78/subdi3.S: New assembly file.
1486 * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
1487
a0bf6cf7
SP
14882017-10-13 Sebastian Perta <sebastian.perta@renesas.com>
1489
1490 * config/rl78/adddi3.S: New assembly file.
1491 * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
1492
e7176f75
JJ
14932017-10-13 Jakub Jelinek <jakub@redhat.com>
1494
1495 PR target/82274
1496 * libgcc2.c (__mulvDI3): If both operands have
1497 the same highpart of -1 and the topmost bit of lowpart is 0,
1498 multiplication overflows even if both lowparts are 0.
1499
db6601d2
JB
15002017-09-28 James Bowman <james.bowman@ftdichip.com>
1501
1502 * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
1503
938b6f1e
JM
15042017-09-26 Joseph Myers <joseph@codesourcery.com>
1505
1506 * config/microblaze/crti.S, config/microblaze/crtn.S,
1507 config/microblaze/divsi3.S, config/microblaze/moddi3.S,
1508 config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
1509 config/microblaze/mulsi3.S,
1510 config/microblaze/stack_overflow_exit.S,
1511 config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
1512 config/pa/milli64.S: Add .note.GNU-stack section.
1513
89762a83
DS
15142017-09-23 Daniel Santos <daniel.santos@pobox.com>
1515
1516 * configure.ac: Add Check for HAVE_AS_AVX.
1517 * config.in: Regenerate.
1518 * configure: Likewise.
1519 * config/i386/i386-asm.h: Include auto-target.h from libgcc.
1520 (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
1521 Correct out-of-date comments.
1522
cace2309
SP
15232017-09-20 Sebastian Peryt <sebastian.peryt@intel.com>
1524
1525 * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
1526 * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
1527
3cb626e4
DS
15282017-09-17 Daniel Santos <daniel.santos@pobox.com>
1529
cace2309 1530 * config/i386/i386-asm.h (PASTE2): New macro.
3cb626e4
DS
1531 (ASMNAME): Modify to use PASTE2.
1532 (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
1533 (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
cace2309 1534 * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
3cb626e4 1535 instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
cace2309
SP
1536 * config/i386/resms64f.S: Likewise.
1537 * config/i386/resms64fx.S: Likewise.
1538 * config/i386/resms64x.S: Likewise.
1539 * config/i386/savms64.S: Likewise.
1540 * config/i386/savms64f.S: Likewise.
1541 * config/i386/avx_resms64.S: New file that only defines a macro and
3cb626e4 1542 includes it's corresponding header file.
cace2309
SP
1543 * config/i386/avx_resms64f.S: Likewise.
1544 * config/i386/avx_resms64fx.S: Likewise.
1545 * config/i386/avx_resms64x.S: Likewise.
1546 * config/i386/avx_savms64.S: Likewise.
1547 * config/i386/avx_savms64f.S: Likewise.
1548 * config/i386/sse_resms64.S: Likewise.
1549 * config/i386/sse_resms64f.S: Likewise.
1550 * config/i386/sse_resms64fx.S: Likewise.
1551 * config/i386/sse_resms64x.S: Likewise.
1552 * config/i386/sse_savms64.S: Likewise.
1553 * config/i386/sse_savms64f.S: Likewise.
1554 * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
3cb626e4 1555
2f19c491 15562017-09-01 Olivier Hainque <hainque@adacore.com>
2f19c491
OH
1557 * config.host (*-*-vxworks7): Widen scope to vxworks7*.
1558
611e7036
OH
15592017-08-31 Olivier Hainque <hainque@adacore.com>
1560
1561 * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
1562 match as powerpc-wrs-vxworks*.
1563
c8f34527
JY
15642017-08-07 Jonathan Yong <10walls@gmail.com>
1565
1566 * config.host (*-cygwin): Include file from mingw
1567 config/i386/enable-execute-stack-mingw32.c
1568
0b458d2b 15692017-08-01 Jerome Lambourg <lambourg@adacore.com>
92a285c1
ML
1570 Doug Rupp <rupp@adacore.com>
1571 Olivier Hainque <hainque@adacore.com>
0b458d2b
JL
1572
1573 * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
1574 as well as arm-wrs-vxworks.
1575 * config/arm/t-vxworks7: New file. Add unwind-arm-vxworks.c to
1576 LIB2ADDEH.
1577 * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
1578 __exidx_start and __exidx_end for downloadable modules.
1579
4df612fa
OH
15802017-08-01 Olivier Hainque <hainque@adacore.com>
1581
1582 * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
1583 * config/t-vxworks7: Likewise.
1584
5560e8c0
OH
15852017-08-01 Olivier Hainque <hainque@adacore.com>
1586
1587 * config/t-vxworks: Instead of redefining LIB2ADD,
1588 augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
1589
16bab95a
SH
15902017-07-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1591
1592 * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
1593
9cbc07cc
DS
15942017-07-24 Daniel Santos <daniel.santos@pobox.com>
1595
1596 PR testsuite/80759
1597 * config.host: include i386/t-msabi for darwin and solaris.
1598 * config/i386/i386-asm.h
1599 (ELFFN): Rename to FN_TYPE.
1600 (FN_SIZE): New macro.
1601 (FN_HIDDEN): Likewise.
1602 (ASMNAME): Likewise.
1603 (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
1604 .globl.
1605 (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
1606 (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
1607 * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
1608 .macro.
1609 * config/i386/resms64f.S: Likewise.
1610 * config/i386/resms64fx.S: Likewise.
1611 * config/i386/resms64x.S: Likewise.
1612 * config/i386/savms64.S: Likewise.
1613 * config/i386/savms64f.S: Likewise.
1614
de742204
JM
16152017-07-19 John Marino <gnugcc@marino.st>
1616
1617 * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
1618
3787ee47
MM
16192017-07-12 Michael Meissner <meissner@linux.vnet.ibm.com>
1620
1621 PR target/81193
1622 * configure.ac (PowerPC float128 hardware support): Test whether
1623 we can use __builtin_cpu_supports before enabling the ifunc
1624 handler.
1625 * configure: Regenerate.
1626
b1938888
VG
16272017-07-10 Vineet Gupta <vgupta@synopsys.com>
1628
1629 * config.host: Remove uclibc from arc target spec.
1630
bec75e53
KW
16312017-07-09 Krister Walfridsson <krister.walfridsson@gmail.com>
1632
1633 * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
1634
d4391a62
PB
16352017-07-07 Peter Bergner <bergner@vnet.ibm.com>
1636
1637 * config/rs6000/float128-ifunc.c: Don't include auxv.h.
1638 (have_ieee_hw_p): Delete function.
1639 (SW_OR_HW) Use __builtin_cpu_supports().
1640
9296dd9b
TP
16412017-07-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
1642
1643 * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
1644
b85a969e
OH
16452017-07-03 Olivier Hainque <hainque@adacore.com>
1646
d4391a62 1647 * config/t-vxworks7: New file, really.
b85a969e 1648
883312dc
JM
16492017-06-28 Joseph Myers <joseph@codesourcery.com>
1650
1651 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
1652 config/alpha/linux-unwind.h (alpha_fallback_frame_state),
1653 config/bfin/linux-unwind.h (bfin_fallback_frame_state),
1654 config/i386/linux-unwind.h (x86_64_fallback_frame_state,
1655 x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
1656 uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
1657 config/pa/linux-unwind.h (pa32_fallback_frame_state),
1658 config/riscv/linux-unwind.h (riscv_fallback_frame_state),
1659 config/sh/linux-unwind.h (sh_fallback_frame_state),
1660 config/tilepro/linux-unwind.h (tile_fallback_frame_state),
1661 config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
1662 ucontext_t instead of struct ucontext.
1663
50567938
JL
16642017-06-27 Jerome Lambourg <lambourg@adacore.com>
1665
1666 * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
1667 (x86_64-wrs-vxworks7): Likewise.
1668
e4b0df93
OH
16692017-06-27 Olivier Hainque <hainque@adacore.com>
1670
1671 * config/t-vxworks7: New file.
1672 * config.host (*-*-vxworks7): Use it.
1673
60edf8bb
MT
16742017-06-22 Matt Turner <mattst88@gmail.com>
1675
1676 * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
1677 skylake case.
1678
a51a76e5
RB
16792017-06-21 Richard Biener <rguenther@suse.de>
1680
1681 PR gcov-profile/81080
1682 * configure.ac: Add AC_SYS_LARGEFILE.
1683 * libgcov.h: Include auto-target.h before tsystem.h to pick
1684 up _FILE_OFFSET_BITS which might differ for multilibs.
1685 * config.in: Regenerate.
1686 * configure: Likewise.
1687
f0cd49c5
RE
16882017-06-16 Richard Earnshaw <rearnsha@arm.com>
1689
1690 * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
1691
4f751c54
ML
16922017-06-09 Martin Liska <mliska@suse.cz>
1693
1694 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
1695 Reset __gcov_indirect_call_callee to NULL.
1696
1ac644c8
OH
16972017-06-08 Olivier Hainque <hainque@adacore.com>
1698
1699 * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
1700 the set of -I options, support for direct inclusions of net/uio.h
1701 by VxWorks header files via ioLib.h.
1702
d8b9cd27
TR
17032017-06-07 Tony Reix <tony.reix@atos.net>
1704 Matthieu Sarter <matthieu.sarter.external@atos.net>
1705 David Edelsohn <dje.gcc@gmail.com>
1706
92a285c1
ML
1707 * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
1708 unconditionally.
1709 (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support. Add 32-bit
1710 AIX 7.2 support.
d8b9cd27 1711
38a75ccc
OH
17122017-06-02 Olivier Hainque <hainque@adacore.com>
1713
1714 * config/vxlib.c (__gthread_once): Add missing value to
1715 return statement.
1716
5b2edf53
OH
17172017-05-30 Olivier Hainque <hainque@adacore.com>
1718
1719 * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
1720 dollar sign before $(MULTIDIR).
1721
7d66e265
RH
17222017-05-26 Richard Henderson <rth@redhat.com>
1723
1724 PR libgcc/80037
1725 * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
1726
78eca309
AT
17272017-05-17 Andreas Tobler <andreast@gcc.gnu.org>
1728
1729 * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
1730 _Unwind_SetIP available as functions for arm*-*-freebsd*.
1731 * config/arm/unwind-arm.c: Implement the above.
1732
c39d309a
AZ
17332017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1734
1735 * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
1736 section for a non-executable stack.
1737
eac8c9f2
KW
17382017-05-14 Krister Walfridsson <krister.walfridsson@gmail.com>
1739
1740 PR target/80600
1741 * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
1742
d6d4d770
DS
17432017-05-14 Daniel Santos <daniel.santos@pobox.com>
1744
1745 * config.host: Add i386/t-msabi to i386/t-linux file list.
1746 * config/i386/i386-asm.h: New file.
1747 * config/i386/resms64.S: New file.
1748 * config/i386/resms64f.S: New file.
1749 * config/i386/resms64fx.S: New file.
1750 * config/i386/resms64x.S: New file.
1751 * config/i386/savms64.S: New file.
1752 * config/i386/savms64f.S: New file.
1753 * config/i386/t-msabi: New file.
1754
8ef2b9a7
AT
17552017-05-09 Andreas Tobler <andreast@gcc.gnu.org>
1756
1757 * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
1758 arm*-*-freebsd* instead of the t-slibgcc-libgcc.
1759
7ab8766a
JC
17602017-05-05 Joshua Conner <joshconner@google.com>
1761
1762 * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
1763 pc-relative indirect handling for fuchsia.
1764 * config/t-slibgcc-fuchsia: New file.
1765 * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
d6d4d770 1766 x86_64-*-fuchsia*): Add definitions.
7ab8766a 1767
46928a8f
ML
17682017-04-19 Martin Liska <mliska@suse.cz>
1769
1770 PR gcov-profile/80435
1771 * Makefile.in: Install gcov.h.
1772 * gcov.h: New file.
1773 * libgcov.h: Use the header and make __gcov_flush publicly
1774 visible.
1775
63971184
ML
17762017-04-18 Martin Liska <mliska@suse.cz>
1777
1778 PR gcov-profile/78783
1779 * libgcov-driver.c (gcov_get_filename): New function.
1780
29d8aae6
JL
17812017-04-07 Jeff Law <law@redhat.com>
1782
1783 * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
1784 target makefile fragment.
1785 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
1786
2bdf7fc6
AM
17872017-04-07 Alan Modra <amodra@gmail.com>
1788
1789 PR target/45053
1790 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
1791
5764ee3c
JW
17922017-04-03 Jonathan Wakely <jwakely@redhat.com>
1793
1794 * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
1795
c4192ad7
CZ
17962017-03-27 Claudiu Zissulescu <claziss@synopsys.com>
1797
1798 * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
1799
4ccfdb28
JM
18002017-03-10 John Marino <gnugcc@marino.st>
1801
1802 * config/aarch64/freebsd-unwind.h: New file.
1803 * config.host: Add aarch64-*-freebsd unwinder.
1804
4144e4e3
SB
18052017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
1806
1807 * config/rs6000/crtrestvr.s: Use .machine altivec.
1808 * config/rs6000/crtsavevr.s: Ditto.
1809
7502c597
SB
18102017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
1811
1812 * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
1813 modify CFLAGS. Add -mabi=altivec -mvsx -mfloat128.
1814 (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
1815 -mfloat128-hardware to the CFLAGS. Fix syntax error in the C snippet.
1816 * configure: Regenerate.
1817 * config.in: Regenerate.
1818
db9f7f65
JY
18192017-03-02 Jonathan Yong <10walls@gmail.com>
1820
1821 * config/i386/gthr-win32.h: Define NOGDI before
1822 windows.h include to prevent w32api CC_NONE macro
1823 clash with libgfortran.
1824
126437c5
JY
18252017-03-02 Jonathan Yong <10walls@gmail.com>
1826
1827 * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
1828
31927af6
AP
18292017-02-16 Andrew Pinski <apinski@cavium.com>
1830
1831 * config/aarch64/value-unwind.h: New file.
1832 * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
1833 to tm_file.
1834
0bd99911
PD
18352017-02-06 Palmer Dabbelt <palmer@dabbelt.com>
1836
1837 * config.host: Add RISC-V tuples.
1838 * config/riscv/atomic.c: New file.
1839 * config/riscv/crti.S: Likewise.
1840 * config/riscv/crtn.S: Likewise.
1841 * config/riscv/div.S: Likewise.
1842 * config/riscv/linux-unwind.h: Likewise.
1843 * config/riscv/muldi3.S: Likewise.
1844 * config/riscv/multi3.S: Likewise.
1845 * config/riscv/save-restore.S: Likewise.
1846 * config/riscv/sfp-machine.h: Likewise.
1847 * config/riscv/t-elf: Likewise.
1848 * config/riscv/t-elf32: Likewise.
1849 * config/riscv/t-elf64: Likewise.
1850 * config/riscv/t-softfp32: Likewise.
1851 * config/riscv/t-softfp64: Likewise.
1852
a8c9ef2a
JJ
18532017-01-24 Jakub Jelinek <jakub@redhat.com>
1854
1855 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
1856 /* FALLTHRU */ comments.
1857
c6c82710
GP
18582017-01-21 Gerald Pfeifer <gerald@pfeifer.com>
1859
1860 * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
1861
a876231c
JW
18622017-01-20 Jiong Wang <jiong.wang@arm.com>
1863
1864 * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
1865 * unwind-dw2.c (execute_cfa_program): Only multiplexing
1866 DW_CFA_GNU_window_save for AArch64 and LP64.
1867
aa348be2
JW
18682017-01-20 Jiong Wang <jiong.wang@arm.com>
1869
1870 * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
1871
5636faf2
JW
18722017-01-19 Jiong Wang <jiong.wang@arm.com>
1873
1874 * config/aarch64/aarch64-unwind.h: New file.
1875 (DWARF_REGNUM_AARCH64_RA_STATE): Define.
1876 (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
1877 (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
1878 (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
1879 (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
1880 (aarch64_post_extract_frame_addr): New function.
1881 (aarch64_post_frob_eh_handler_addr): New function.
1882 (aarch64_frob_update_context): New function.
1883 * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
1884 * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
1885 aarch64*-*-freebsd*):
1886 Initialize md_unwind_header to include aarch64-unwind.h.
1887 * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
1888 (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
1889 __aarch64__.
1890 (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
1891 (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
1892 (uw_frob_return_addr): New function.
1893 (uw_install_context): Use uw_frob_return_addr.
1894
3c36aa6b
JJ
18952017-01-17 Jakub Jelinek <jakub@redhat.com>
1896
1897 PR other/79046
1898 * configure.ac: Add GCC_BASE_VER.
1899 * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
1900 version from BASE-VER file.
1901 * configure: Regenerated.
1902
829afb8f
JS
19032017-01-13 Joe Seymour <joe.s@somniumtech.com>
1904
1905 * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
1906 libmul_f5.a): Filter archived prerequisites.
1907
79fc8ffe
AS
19082017-01-10 Andrew Senkevich <andrew.senkevich@intel.com>
1909
1910 * config/i386/cpuinfo.h (processor_features): Add
1911 FEATURE_AVX512VPOPCNTDQ.
1912 * config/i386/cpuinfo.c (get_available_features): Habdle new
1913 feature.
1914
fec5f4e0
JM
19152017-01-04 Joseph Myers <joseph@codesourcery.com>
1916
1917 * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
1918 payload if [__mips_nan2008].
1919
8f56cb51
AM
19202017-01-04 Alan Modra <amodra@gmail.com>
1921
1922 * Makefile.in (configure_deps): Update.
1923 * configure: Regenerate.
1924
cbe34bb5
JJ
19252017-01-01 Jakub Jelinek <jakub@redhat.com>
1926
1927 Update copyright years.
1928
ab955692
KW
19292016-12-19 Krister Walfridsson <krister.walfridsson@gmail.com>
1930
1931 * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
1932 * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
1933 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
1934
de34320f
MK
19352016-12-17 Matthias Klose <doko@ubuntu.com>
1936
1937 * config/arc/gmon: Remove empty directory.
1938
e04ea1da
CZ
19392016-12-16 Claudiu Zissulescu <claziss@synopsys.com>
1940
1941 * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
1942 crtgend.
1943 (arc*-*-elf*): Likewise.
1944 * config/arc/t-arc: Remove old gmon lib targets.
1945 * config/arc/crtg.S: Remove.
1946 * config/arc/crtgend.S: Likewise.
1947 * config/arc/gmon/atomic.h: Likewise.
1948 * config/arc/gmon/auxreg.h: Likewise.
1949 * config/arc/gmon/dcache_linesz.S: Likewise.
1950 * config/arc/gmon/gmon.c: Likewise.
1951 * config/arc/gmon/machine-gmon.h: Likewise.
1952 * config/arc/gmon/mcount.c: Likewise.
1953 * config/arc/gmon/prof-freq-stub.S: Likewise.
1954 * config/arc/gmon/prof-freq.c: Likewise.
1955 * config/arc/gmon/profil.S: Likewise.
1956 * config/arc/gmon/sys/gmon.h: Likewise.
1957 * config/arc/gmon/sys/gmon_out.h: Likewise.
1958 * config/arc/t-arc-newlib: Likewise.
1959 * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
1960
8ae1c2c1
GS
19612016-12-12 George Spelvin <linux@sciencehorizons.net>
1962
1963 * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
1964
a5b947fa
GS
19652016-12-12 George Spelvin <linux@sciencehorizons.net>
1966
1967 * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
1968 R16 instead of push + pop.
1969 (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
1970
d6574dd1
KW
19712016-12-10 Krister Walfridsson <krister.walfridsson@gmail.com>
1972
1973 * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
1974 tmake_file.
1975
62440b4f
CM
19762016-12-05 Cupertino Miranda <cmiranda@synopsys.com>
1977
1978 * config.host (arc*-*-linux-uclibc*): Use default extra
1979 objects. Include linux-android header.
1980 * config/arc/crti.S (_init): Declare symbol as function.
1981 (_fini): Likewise.
1982
31cfd832
TK
19832016-12-03 Thomas Koenig <tkoenig@gcc.gnu.org>
1984
1985 PR fortran/78379
1986 * config/i386/cpuinfo.c: Move denums for processor vendors,
1987 processor type, processor subtypes and declaration of
1988 struct __processor_model into
1989 * config/i386/cpuinfo.h: New header file.
1990
c92e08e3
AV
19912016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
1992 Thomas Preud'homme <thomas.preudhomme@arm.com>
1993
1994 * config/arm/cmse_nonsecure_call.S: New.
1995 * config/arm/t-arm: Compile cmse_nonsecure_call.S
1996
de7b5723
AV
19972016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
1998 Thomas Preud'homme <thomas.preudhomme@arm.com>
1999
2000 * config/arm/t-arm (HAVE_CMSE): New.
2001 * config/arm/cmse.c: New.
2002
7a0d2bce
TP
20032016-11-28 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2004
b3a5bff4
TP
2005 PR gcc/74748
2006 * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
2007 use generic linker version information on Blackfin.
2008
7a0d2bce
TP
2009 PR gcc/74748
2010 * libgcc/mkmap-symver.awk: add support for skip_underscore
2011
b410cf1d
IS
20122016-11-27 Iain Sandoe <iain@codesourcery.com>
2013 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2014
2015 PR target/67710
2016 * config/t-darwin: Default builds to 10.5 codegen.
2017
2e5f8203
JG
20182016-11-24 James Greenhalgh <james.greenhalgh@arm.com>
2019
2020 * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
2021 (_FP_NANSIGN_H): Likewise.
2022 * config/aarch64/t-softfp (softfp_extensions): Add hftf.
2023 (softfp_truncations): Add tfhf.
2024 (softfp_extras): Add required conversion functions.
2025
bea64ca3
JG
20262016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
2027 Matthew Wahab <matthew.wahab@arm.com>
2028
2029 * config/arm/fp16.c (binary64): New.
2030 (__gnu_d2h_internal): New.
2031 (__gnu_d2h_ieee): New.
2032 (__gnu_d2h_alternative): New.
2033
8630cadb
JG
20342016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
2035 Matthew Wahab <matthew.wahab@arm.com>
2036
2037 * config/arm/fp16.c (struct format): New.
2038 (binary32): New.
2039 (__gnu_float2h_internal): New. Body moved from
2040 __gnu_f2h_internal and generalize.
2041 (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
2042 Call it with binary32.
2043
5823ef23
JG
20442016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
2045
2046 * soft-fp/extendhftf2.c: Update from glibc.
2047 * soft-fp/fixhfti.c: Likewise.
2048 * soft-fp/fixunshfti.c: Likewise.
2049 * soft-fp/floattihf.c: Likewise.
2050 * soft-fp/floatuntihf.c: Likewise.
2051 * soft-fp/half.h: Likewise.
2052 * soft-fp/trunctfhf2.c: Likewise.
2053
62a7df9f
MG
20542016-11-20 Marc Glisse <marc.glisse@inria.fr>
2055
2056 PR libgcc/77813
2057 * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
2058 __TMC_END__ behind a passthrough asm.
2059
7a384912
WL
20602016-11-18 Walter Lee <walt@tilera.com>
2061
62a7df9f 2062 * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
7a384912 2063
9775c1a5
L
20642016-11-17 Andrew Senkevich <andrew.senkevich@intel.com>
2065
2066 * config/i386/cpuinfo.c (processor_features): Add
2067 FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
2068
48c842ab
CZ
20692016-11-17 Claudiu Zissulescu <claziss@synopsys.com>
2070
2071 * config/arc/dp-hack.h (ARC_OPTFPE): Define.
2072 (__ARC_NORM__): Use instead ARC_OPTFPE.
2073 * config/arc/fp-hack.h: Likewise.
2074 * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
2075 (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
2076
5012919d
AM
20772016-11-16 Alexander Monakov <amonakov@ispras.ru>
2078
2079 * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
2080 * config/nvptx/mgomp.c: New file.
2081 * config/nvptx/t-nvptx: Add mgomp.c
2082
00178b98
WB
20832016-11-16 Waldemar Brodkorb <wbx@openadk.org>
2084
2085 PR libgcc/68468
2086 * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
2087
d64af69f
CZ
20882016-11-15 Claudiu Zissulescu <claziss@synopsys.com>
2089
2090 * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
2091 of checking for cpus.
2092 (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
2093 (__modsi3, __clzsi2): Likewise.
2094
9d8f95de
SN
20952016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
2096
2097 * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
2098 i386/t-cpuinfo-static instead of i386/t-cpuinfo.
2099 * config/i386/t-cpuinfo-static: New.
2100
7d29f8e3
ML
21012016-11-03 Martin Liska <mliska@suse.cz>
2102
2103 * libgcov-profiler.c (__gcov_time_profiler): Remove.
2104 (__gcov_time_profiler_atomic): Likewise.
2105
5de3e2d8
BE
21062016-11-03 Bernd Edlinger <bernd.edlinger@hotmail.de>
2107
2108 PR libgcc/78067
2109 * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
2110 count_leading_zeros.
2111
18362447
UB
21122016-11-02 Uros Bizjak <ubizjak@gmail.com>
2113
2114 * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
2115 * libgcc2.c (__divmoddi4): New function.
2116 * libgcc2.h (__divmoddi4): Declare.
2117 * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
2118 and __PFX_divmodti4.
2119
33107571
FW
21202016-10-24 Florian Weimer <fweimer@redhat.com>
2121
2122 PR libgcc/78064
2123 * unwind-c.c: Include auto-target.h.
2124
4c6d7494
JDA
21252016-10-19 John David Anglin <danglin@gcc.gnu.org>
2126
18362447 2127 * config/pa/pa64-hpux-lib.h: New file.
4c6d7494
JDA
2128 (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
2129 (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
2130 * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
2131 hppa*64*-*-hpux11*.
2132
2a26adf1
MF
21332016-10-18 Max Filippov <jcmvbkbc@gmail.com>
2134
2135 * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
2136 definition.
2137 * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
2138 definition.
2139 * config/xtensa/t-windowed (LIB2ADDEH): Use
2140 LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
2141 or xtensa/t-linux.
2142
66192aa1
DKC
21432016-10-18 Ding-Kai Chen <dkchen@cadence.com>
2144
2145 * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
2146 __ieee754_sqrt): New functions.
2147 (__divdf3): Add implementation with new FPU instructions under
2148 #if XCHAL_HAVE_DFP_DIV.
2149 * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
2150 __ieee754_sqrtf): New functions.
2151 (__divsf3): Add implementation with new FPU instructions under
2152 #if XCHAL_HAVE_FP_DIV.
2153 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
2154 _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
2155
4d0cdd0c
TP
21562016-10-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
2157
2158 * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
2159 equivalent.
2160 * config/tilepro/atomic.c: Likewise and stop casting model to
2161 enum memmodel.
2162
73f01cca
JM
21632016-10-10 Joseph Myers <joseph@codesourcery.com>
2164
2165 PR target/77586
2166 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
2167 soft-fp.
2168
b20e7532
AT
21692016-10-10 Andreas Tobler <andreast@gcc.gnu.org>
2170
2171 * config.host: Add support for aarch64-*-freebsd*.
2172
a786cec4
AS
21732016-10-05 Andreas Schwab <schwab@suse.de>
2174
2175 * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
2176 (.section .init_array): Don't call __do_jv_register_classes.
2177 (.section .init): Likewise.
2178
5a79befb
JJ
21792016-10-04 Jakub Jelinek <jakub@redhat.com>
2180
2181 * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
2182 (__JCR_LIST__): Remove.
2183 (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
2184 * config/i386/cygming-crtend.c (__JCR_END__): Remove.
2185 * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
2186 * config/ia64/crtend.S (__JCR_END__): Remove.
2187 * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
2188 conditionals.
2189 (__JCR_LIST__, __JCR_END__): Remove.
2190 (frame_dummy): Don't attempt to _Jv_RegisterClasses.
2191 (__do_global_ctors_1): Likewise.
2192
e0ab3753
UB
21932015-09-28 Uros Bizjak <ubizjak@gmail.com>
2194
2195 * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
2196 (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
2197
8c9434c2
ML
21982016-09-27 Martin Liska <mliska@suse.cz>
2199
2200 PR gcov-profile/7970
2201 PR gcov-profile/16855
2202 PR gcov-profile/44779
2203 * libgcov-driver.c (__gcov_init): Do not register a atexit
2204 handler.
2205 (__gcov_exit): Rename from gcov_exit.
2206 * libgcov.h (__gcov_exit): Declare.
2207
56b653f1
ML
22082016-09-27 Martin Liska <mliska@suse.cz>
2209
2210 PR bootstrap/77749
2211 * Makefile.in: Remove _gcov_merge_delta.
2212 * libgcov-merge.c (void __gcov_merge_delta): Remove.
2213 * libgcov-util.c (__gcov_delta_counter_op): Remove.
2214 * libgcov.h: Remove declaration of __gcov_merge_delta.
2215
7e02fd1b
EB
22162016-09-21 Eric Botcazou <ebotcazou@adacore.com>
2217
2218 * configure.ac: Do not create links, only substitute the filenames.
2219 * configure: Regenerate.
2220 * Makefile.in: Assign the substitution results to variables.
2221 (LIBGCC_LINKS): Define.
2222 (enable-execute-stack.c): New rule.
2223 (unwind.h): Likewise.
2224 (md-unwind-support.h): Likewise.
2225 (sfp-machine.h): Likewise.
2226 (gthr-default.h): Likewise.
2227 Add $(LIBGCC_LINKS) to the prerequisites of all object files and
2228 unwind.h as prerequisite of install-unwind_h-forbuild.
2229
29991048
JJ
22302016-09-16 Jakub Jelinek <jakub@redhat.com>
2231
2232 PR libgcc/71744
2233 * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
2234 is not the primary registry and atomics are available.
2235 (any_objects_registered): New variable.
2236 (__register_frame_info_bases, __register_frame_info_table_bases):
2237 Atomically store 1 to any_objects_registered after registering first
2238 unwind info.
2239 (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
2240
0abcd6cc
JG
22412016-09-09 James Greenhalgh <james.greenhalgh@arm.com>
2242
2243 PR target/63250
2244 * Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
2245 * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
2246 (HFtype): Likewise.
2247 (HCtype): Likewise.
2248 (__divhc3): Likewise.
2249 (__mulhc3): Likewise.
2250 * libgcc2.c: Support _mulhc3 and _divhc3.
2251
d758aeb5
JM
22522016-09-07 Joseph Myers <joseph@codesourcery.com>
2253
2254 PR libgcc/77519
2255 * libgcc2.c (NOTRUNC): Invert settings.
2256
7fe76f6a
ML
22572016-09-06 Martin Liska <mliska@suse.cz>
2258
2259 PR gcov-profile/77378
2260 PR gcov-profile/77466
2261 * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
2262 conditionaly enable/disable *_atomic functions.
2263
21184026
JM
22642016-08-26 Joseph Myers <joseph@codesourcery.com>
2265
2266 * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
2267 where not already enabled.
2268
726f49c3
SN
22692016-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
2270
2271 * config/mips/linux-unwind.h: Use sys/syscall.h.
2272
feeb6268
JM
22732016-08-16 Joseph Myers <joseph@codesourcery.com>
2274
2275 PR libgcc/77265
2276 * soft-fp/adddf3.c: Update from glibc.
2277 * soft-fp/addsf3.c: Likewise.
2278 * soft-fp/addtf3.c: Likewise.
2279 * soft-fp/divdf3.c: Likewise.
2280 * soft-fp/divsf3.c: Likewise.
2281 * soft-fp/divtf3.c: Likewise.
2282 * soft-fp/double.h: Likewise.
2283 * soft-fp/eqdf2.c: Likewise.
2284 * soft-fp/eqsf2.c: Likewise.
2285 * soft-fp/eqtf2.c: Likewise.
2286 * soft-fp/extenddftf2.c: Likewise.
2287 * soft-fp/extended.h: Likewise.
2288 * soft-fp/extendsfdf2.c: Likewise.
2289 * soft-fp/extendsftf2.c: Likewise.
2290 * soft-fp/extendxftf2.c: Likewise.
2291 * soft-fp/fixdfdi.c: Likewise.
2292 * soft-fp/fixdfsi.c: Likewise.
2293 * soft-fp/fixdfti.c: Likewise.
2294 * soft-fp/fixsfdi.c: Likewise.
2295 * soft-fp/fixsfsi.c: Likewise.
2296 * soft-fp/fixsfti.c: Likewise.
2297 * soft-fp/fixtfdi.c: Likewise.
2298 * soft-fp/fixtfsi.c: Likewise.
2299 * soft-fp/fixtfti.c: Likewise.
2300 * soft-fp/fixunsdfdi.c: Likewise.
2301 * soft-fp/fixunsdfsi.c: Likewise.
2302 * soft-fp/fixunsdfti.c: Likewise.
2303 * soft-fp/fixunssfdi.c: Likewise.
2304 * soft-fp/fixunssfsi.c: Likewise.
2305 * soft-fp/fixunssfti.c: Likewise.
2306 * soft-fp/fixunstfdi.c: Likewise.
2307 * soft-fp/fixunstfsi.c: Likewise.
2308 * soft-fp/fixunstfti.c: Likewise.
2309 * soft-fp/floatdidf.c: Likewise.
2310 * soft-fp/floatdisf.c: Likewise.
2311 * soft-fp/floatditf.c: Likewise.
2312 * soft-fp/floatsidf.c: Likewise.
2313 * soft-fp/floatsisf.c: Likewise.
2314 * soft-fp/floatsitf.c: Likewise.
2315 * soft-fp/floattidf.c: Likewise.
2316 * soft-fp/floattisf.c: Likewise.
2317 * soft-fp/floattitf.c: Likewise.
2318 * soft-fp/floatundidf.c: Likewise.
2319 * soft-fp/floatundisf.c: Likewise.
2320 * soft-fp/floatunditf.c: Likewise.
2321 * soft-fp/floatunsidf.c: Likewise.
2322 * soft-fp/floatunsisf.c: Likewise.
2323 * soft-fp/floatunsitf.c: Likewise.
2324 * soft-fp/floatuntidf.c: Likewise.
2325 * soft-fp/floatuntisf.c: Likewise.
2326 * soft-fp/floatuntitf.c: Likewise.
2327 * soft-fp/gedf2.c: Likewise.
2328 * soft-fp/gesf2.c: Likewise.
2329 * soft-fp/getf2.c: Likewise.
2330 * soft-fp/ledf2.c: Likewise.
2331 * soft-fp/lesf2.c: Likewise.
2332 * soft-fp/letf2.c: Likewise.
2333 * soft-fp/muldf3.c: Likewise.
2334 * soft-fp/mulsf3.c: Likewise.
2335 * soft-fp/multf3.c: Likewise.
2336 * soft-fp/negdf2.c: Likewise.
2337 * soft-fp/negsf2.c: Likewise.
2338 * soft-fp/negtf2.c: Likewise.
2339 * soft-fp/op-1.h: Likewise.
2340 * soft-fp/op-2.h: Likewise.
2341 * soft-fp/op-4.h: Likewise.
2342 * soft-fp/op-8.h: Likewise.
2343 * soft-fp/op-common.h: Likewise.
2344 * soft-fp/quad.h: Likewise.
2345 * soft-fp/single.h: Likewise.
2346 * soft-fp/soft-fp.h: Likewise.
2347 * soft-fp/subdf3.c: Likewise.
2348 * soft-fp/subsf3.c: Likewise.
2349 * soft-fp/subtf3.c: Likewise.
2350 * soft-fp/truncdfsf2.c: Likewise.
2351 * soft-fp/trunctfdf2.c: Likewise.
2352 * soft-fp/trunctfsf2.c: Likewise.
2353 * soft-fp/trunctfxf2.c: Likewise.
2354 * soft-fp/unorddf2.c: Likewise.
2355 * soft-fp/unordsf2.c: Likewise.
2356 * soft-fp/unordtf2.c: Likewise.
2357
2e6fc1ac
GG
23582016-08-15 Gilles Gouaillardet <gilles.gouaillardet@gmail.com>
2359
2360 PR gcov-profile/67097
2361 * libgcov-util.c (gcov_profile_merge): Skip missing files.
2362
a266236e
ML
23632016-08-10 Martin Liska <mliska@suse.cz>
2364
2365 PR gcov-profile/58306
2366 * Makefile.in: New functions (modules) are added.
2367 * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
2368 function.
2369 (__gcov_pow2_profiler_atomic): New function.
2370 (__gcov_one_value_profiler_body): New argument is instroduced.
2371 (__gcov_one_value_profiler): Call with the new argument.
2372 (__gcov_one_value_profiler_atomic): Likewise.
2373 (__gcov_indirect_call_profiler_v2): Likewise.
2374 (__gcov_time_profiler_atomic): New function.
2375 (__gcov_average_profiler_atomic): Likewise.
2376 (__gcov_ior_profiler_atomic): Likewise.
2377 * libgcov.h: Declare the aforementioned functions.
2378
e0c8eebf
ML
23792016-08-09 Martin Liska <mliska@suse.cz>
2380
2381 * libgcov-util.c: Fix typo and GNU coding style.
2382
6dce6418
ML
23832016-08-09 Martin Liska <mliska@suse.cz>
2384
2385 * Makefile.in: Remove __gcov_indirect_call_profiler.
2386 * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
2387 function.
2388 * libgcov.h: And the declaration of the function.
2389
dcb1e137
ML
23902016-08-09 Martin Liska <mliska@suse.cz>
2391
2392 * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
2393 power of two.
2394
d6e69705
BS
23952016-07-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
2396
2397 * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
2398 * config/rs6000/_mulkc3.c: Likewise.
2399
96aa1f95
GJL
24002016-07-29 Georg-Johann Lay <avr@gjlay.de>
2401
2402 * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
2403 zero_reg as previous call to __umulhisi3 already cleared it.
2404
a1b01d34
AJ
24052016-07-21 Aurelien Jarno <aurelien@aurel32.net>
2406
2407 PR target/59833
2408 * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
2409
985a47b2
NC
24102016-07-19 Nick Clifton <nickc@redhat.com>
2411
2412 * config.host (m32r): Add m32r/t-m32r to tmake_file.
2413 Add crtinit.o and crtfini.o to extra_parts.
2414
f906f5ed
BS
24152016-07-12 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
2416
2417 * config/rs6000/_divkc3.c: New.
2418 * config/rs6000/_mulkc3.c: New.
2419 * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
2420 and _divkc3.
2421 * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
2422 fp128_ppc_funcs.
2423
82742404
HW
24242016-07-11 Hale Wang <hale.wang@arm.com>
2425 Andre Vieira <andre.simoesdiasvieira@arm.com>
2426
2427 * config/arm/lib1funcs.S: Add new wrapper.
2428
05a437c1
TP
24292016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
2430
2431 * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
2432
3d16d9ec
TP
24332016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
2434
2435 * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
2436 and ARMv5t* rather than for a fixed list of architectures.
2437
6f493951
TP
24382016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
2439
2440 * config/arm/bpabi-v6m.S: Clarify what architectures is the
2441 implementation suitable for.
2442 * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
2443 for all Thumb-1 only targets.
2444 (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
2445 (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
2446 __ARM_ARCH_6M__.
2447 (EQUIV): Likewise.
2448 (ARM_FUNC_ALIAS): Likewise.
2449 (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
2450 version.
2451 (modsi3): Likewise.
2452 (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
2453 (clzdi2): Likewise.
2454 (ctzsi2): Likewise.
2455 (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
2456 __ARM_ARCH_6M__ in guard for checking whether it is defined.
2457 (final includes): Test for NOT_ISA_TARGET_32BIT rather than
2458 __ARM_ARCH_6M__ and add comment to indicate the connection between
2459 this condition and the one in gcc/config/arm/elf.h.
2460 * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
2461 __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
2462 * config/arm/t-softfp: Likewise.
2463
1770511a
TS
24642016-07-06 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2465
2466 * libgcc2.c (SYMBOL__MAIN): Remove checks for
2467 CTOR_LISTS_DEFINED_EXTERNALLY.
2468
ba6be749
WL
24692016-06-28 Walter Lee <walt@tilera.com>
2470
2471 * config/tilepro/atomic.h: Do not include arch/spr_def.h and
2472 asm/unistd.h.
2473 (SPR_CMPEXCH_VALUE): Define for tilegx.
2474 (__NR_FAST_cmpxchg): Define for tilepro.
2475 (__NR_FAST_atomic_update): Define for tilepro.
2476 (__NR_FAST_cmpxchg64): Define for tilepro.
2477
a34c0db5
JS
24782016-06-23 Jakub Sejdak <jakub.sejdak@phoesys.com>
2479
18362447 2480 * config.host: Add suport for arm*-*-phoenix* targets.
a34c0db5 2481
0609abda
TS
24822016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2483
2484 * config.host: Remove support for mep-*.
2485 * config/mep/lib1funcs.S: Remove.
2486 * config/mep/lib2funcs.c: Remove.
2487 * config/mep/t-mep: Remove.
2488 * config/mep/tramp.c: Remove.
2489
3e326935
TS
24902016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2491
2492 * config.host: Remove support for avr-rtems.
2493 * config/avr/t-rtems: Remove.
2494
914b155c
TS
24952016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2496
2497 * config.host: Remove m32r-rtems support.
2498
5ebf89bd
TS
24992016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2500
2501 * config.host: Remove h8300-rtems support.
2502
8466af06
TS
25032016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2504
2505 * config.host: Remove support for knetbsd.
2506
d980e738
TS
25072016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2508
2509 * config.host: Remove support for openbsd 2 and 3.
2510
ee2499b4
TS
25112016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2512
2513 * config.host: Remove interix support.
2514 * config/i386/t-interix: Remove.
2515
9f92937b
JDA
25162016-06-18 John David Anglin <danglin@gcc.gnu.org>
2517
2518 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
2519 least-significant bit in function pointer for fixup.
2520
0a0ec53d
AC
25212016-06-05 Aaron Conole <aconole@redhat.com>
2522 Nathan Sidwell <nathan@acm.org>
2523
2524 PR libgcc/71400
2525 * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
2526 (get_gcov_error_file): Check __gcov_error_file before trying to
2527 initialize it.
2528 (gcov_error): Always use get_gcov_error_file.
2529
8aa5bdd6
AC
25302016-06-02 Aaron Conole <aconole@redhat.com>
2531
2532 * libgcov-driver-system.c (__gcov_error_file): New.
2533 (get_gcov_error_file): New.
2534 (gcov_error): Use and set __gcov_error_file.
2535 (gcov_error_exit): New.
2536 * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
2537
40774faf
NS
25382016-05-26 Nathan Sidwell <nathan@acm.org>
2539
2540 * config/nvptx/free.asm: Delete.
2541 * config/nvptx/malloc.asm: Delete.
2542 * config/nvptx/realloc.c: Delete.
2543 * t-nvptx: Update.
2544
69a6d5ad
NS
25452016-05-25 Nathan Sidwell <nathan@acm.org>
2546
2547 * config/nvptx/crt0.s: Delete.
2548 * config/nvptx/crt0.c: New.
2549 * t-nvptx: Update.
2550
6befaff6
SL
25512016-05-19 Sandra Loosemore <sandra@codesourcery.com>
2552
385c7747 2553 * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
6befaff6
SL
2554 dw2/seh configuration.
2555 [x86_64-*-mingw*]: Likewise.
2556
ad251dfd
JS
25572016-05-10 Joel Sherrill <joel@rtems.org>
2558
2559 PR libgcc/70720
2560 * config.host (moxie-*-rtems*): Merge this stanza with other moxie
2561 targets so the same extra_parts are built. Also have tmake_file add
2562 on to its value rather than override.
2563
bc6d9014
OE
25642016-04-30 Oleg Endo <olegendo@gcc.gnu.org>
2565
2566 * config.host: Remove SH5 support.
2567 * configure: Likewise.
2568
9129c8cf
OE
25692016-04-29 Oleg Endo <olegendo@gcc.gnu.org>
2570
2571 * config/sh/crt1.S: Remove SH5 support.
2572 * config/sh/crti.S: Likewise.
2573 * config/sh/crtn.S: Likewise.
2574 * config/sh/lib1funcs-4-300.S: Likewise.
2575 * config/sh/lib1funcs-Os-4-200.S: Likewise.
2576 * config/sh/lib1funcs.S: Likewise.
2577 * config/sh/linux-unwind.h: Likewise.
2578 * config/sh/t-sh64: Delete.
2579
39d50464
CZ
25802016-04-29 Claudiu Zissulescu <claziss@synopsys.com>
2581
2582 * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
2583
8b48923b
CZ
25842016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
2585 Joern Rennecke <joern.rennecke@embecosm.com>
2586
2587 * config/arc/crttls.S: New file.
2588 * config/arc/t-arc: New rule.
2589 * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
2590
2de1cf8c
NC
25912016-04-25 Nick Clifton <nickc@redhat.com>
2592
2593 * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
2594 (__mspabi_cmpd): Likewise.
2595 * config/msp430/floathidf.c (__floathidf): Likewise.
2596 * config/msp430/floathisf.c (__floathisf): Likewise
2597 * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
2598 * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
2599 * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
2600 second parameter.
2601 (__ashrsi3): Likewise.
2602
b8ce3fe2
WB
26032016-04-21 Waldemar Brodkorb <wbx@openadk.org>
2604
2605 * config/m68k/linux-atomic.c: Do not include unistd.h
2606
4986f823
MG
26072016-04-20 Martin Galvan <martin.galvan@tallertechnologies.com>
2608
2609 * config/arm/ieee754-df.S: Fix typos in comments.
2610
35fbda43
MM
26112016-04-11 Michael Meissner <meissner@linux.vnet.ibm.com>
2612
2613 PR target/70381
2614 * configure.ac (powerpc*-*-linux*): Rework tests to build
2615 __float128 emulation routines to not depend on using #pragma GCC
2616 target to enable -mfloat128.
2617 * configure: Regnerate.
2618
72d1a48d
EB
26192016-04-04 Eric Botcazou <ebotcazou@adacore.com>
2620
2621 PR target/67172
2622 * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
2623 __MINGW32__ is defined.
2624
dc2e8995
JB
26252016-03-28 James Bowman <james.bowman@ftdichip.com>
2626
385c7747 2627 * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
dc2e8995 2628
104cdaf1
MM
26292016-03-22 Michael Meissner <meissner@linux.vnet.ibm.com>
2630
2631 PR libgcc/70363
2632 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
2633 built with an assembler that does not support ISA 3.0
2634 instructions, rename __extendkftf2_sw to __extendkftf2.
2635
a5046f48
RO
26362016-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2637
2638 PR target/38239
2639 * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
2640 call-clobbered registers.
2641 (internal_mcount): Remove __i386__ handling.
2642
df674f74
JS
26432016-02-26 Joel Sherrill <joel@rtems.org>
2644
2645 * config.host: Add x86_64-*-rtems*.
2646
7cb065d6
JS
26472016-02-26 Joel Sherrill <joel@rtems.org>
2648
2649 * libgcc/config.host: Add aarch64-*-rtems*.
2650
47dfdc53
PM
26512016-02-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2652 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
2653
2654 * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
2655 union of u64 and double.
2656 (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
2657 (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
2658 value.
2659 (FP_ROUNDMODE): Update the usage of _fpscr.
2660
e6861a99
IV
26612016-02-25 Ilya Verbin <ilya.verbin@intel.com>
2662
2663 PR driver/68463
2664 * Makefile.in (crtoffloadtable$(objext)): New rule.
2665 * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
2666 enable_offload_targets is not empty.
2667 * configure: Regenerate.
2668 * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
2669 crtoffloadtable.
2670
9bfcbdee
MF
26712016-02-17 Max Filippov <jcmvbkbc@gmail.com>
2672
2673 * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
2674 .literal_position before the function.
2675 * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
2676 Likewise.
2677
4cb4721f
MK
26782016-02-15 Marcin Kościelnicki <koriakin@0x04.net>
2679
2680 * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
2681 * config/s390/morestack.S: New file.
2682 * config/s390/t-stack-s390: New file.
2683 * generic-morestack.c (__splitstack_find): Add s390-specific code.
2684
b29d9a29
WL
26852016-02-12 Walter Lee <walt@tilera.com>
2686
2687 * config.host (tilegx*-*-linux*): remove ti from
2688 softfp_int_modes for 32-bit configs.
2689
03a0ae7d
ILT
26902016-02-10 Ian Lance Taylor <iant@google.com>
2691
2692 PR go/68562
2693 * config/i386/morestack.S (__stack_split_initialize): Align
2694 stack.
2695
68750bce
AT
26962016-02-03 Andreas Tobler <andreast@gcc.gnu.org>
2697
2698 PR bootstrap/69611
2699 * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
2700 __FLOAT128__ to compile only for __float128 capable targets.
2701
7d296953
JJ
27022016-01-25 Jakub Jelinek <jakub@redhat.com>
2703
2704 PR target/69444
2705 * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
2706 instead of ___NO_FPRS__.
2707
a71c0334 27082016-01-21 Michael Meissner <meissner@linux.vnet.ibm.com>
7d296953
JJ
2709 Steven Munroe <munroesj@linux.vnet.ibm.com>
2710 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
a71c0334
MM
2711
2712 * config/rs6000/float128-sed: New files to convert TF names to KF
2713 names for PowerPC IEEE 128-bit floating point support.
2714 * config/rs6000/float128-sed-hw: Likewise.
2715
2716 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
2717 floating point hardware support.
2718
2719 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
2720 128-bit floating point software emulation or use ISA 3.0 hardware
2721 support if it is available.
2722
2723 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
2724 floating point.
2725
2726 * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
2727 floating point to IBM extended double.
2728
2729 * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
2730 double to IEEE 128-bit floating point.
2731
2732 * config/rs6000/t-float128: New Makefile fragments to enable
2733 building __float128 emulation support.
2734 * config/rs6000/t-float128-hw: Likewise.
2735
2736 * config/rs6000/sfp-exceptions.c: New file to provide exception
2737 support for IEEE 128-bit floating point.
2738
2739 * config/rs6000/floattikf.c: New files for converting between IEEE
2740 128-bit floating point and signed/unsigned 128-bit integers.
2741 * config/rs6000/fixunskfti.c: Likewise.
2742 * config/rs6000/fixkfti.c: Likewise.
2743 * config/rs6000/floatuntikf.c: Likewise.
2744
2745 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
2746 when building on 64-bit systems, or when VSX is enabled.
2747 (_FP_W_TYPE): Likewise.
2748 (_FP_WS_TYPE): Likewise.
2749 (_FP_I_TYPE): Likewise.
2750 (TItype): Define on 64-bit systems.
2751 (UTItype): Likewise.
2752 (TI_BITS): Likewise.
2753 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
2754 (_FP_MUL_MEAT_Q): Likewise.
2755 (_FP_DIV_MEAT_D): Likewise.
2756 (_FP_DIV_MEAT_Q): Likewise.
2757 (_FP_NANFRAC_D): Likewise.
2758 (_FP_NANFRAC_Q): Likewise.
2759 (ISA_BIT): Add exception support if we are being compiled on a
2760 machine with hardware floating point support to build the IEEE
2761 128-bit emulation functions.
2762 (FP_EX_INVALID): Likewise.
2763 (FP_EX_OVERFLOW): Likewise.
2764 (FP_EX_UNDERFLOW): Likewise.
2765 (FP_EX_DIVZERO): Likewise.
2766 (FP_EX_INEXACT): Likewise.
2767 (FP_EX_ALL): Likewise.
2768 (__sfp_handle_exceptions): Likewise.
2769 (FP_HANDLE_EXCEPTIONS): Likewise.
2770 (FP_RND_NEAREST): Likewise.
2771 (FP_RND_ZERO): Likewise.
2772 (FP_RND_PINF): Likewise.
2773 (FP_RND_MINF): Likewise.
2774 (FP_RND_MASK): Likewise.
2775 (_FP_DECL_EX): Likewise.
2776 (FP_INIT_ROUNDMODE): Likewise.
2777 (FP_ROUNDMODE): Likewise.
2778
2779 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
2780 VSX code, enable IEEE 128-bit floating point. If the compiler can
2781 compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
2782 floating point hardware instructions and it supports declaring
2783 functions with the ifunc attribute, enable ifunc functions to
2784 switch between software and hardware support.
2785 * configure.ac (powerpc*-*-linux*): Likewise.
2786 * configure: Regenerate.
2787
bdc27e50
NC
27882016-01-15 Nick Clifton <nickc@redhat.com>
2789
2790 * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
2791 dependency as the source file to be compiled.
2792 (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
2793 (lib2hw_mul_f5.o): Likewise.
2794
006df05d
MM
27952016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
2796
2797 * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
2798 * libgcc/config/rs6000/fixkfti.c: Likewise.
2799 * libgcc/config/rs6000/fixunskfti.c: Likewise.
2800 * libgcc/config/rs6000/float128-hw.c: Likewise.
2801 * libgcc/config/rs6000/float128-ifunc.c: Likewise.
2802 * libgcc/config/rs6000/float128-sed: Likewise.
2803 * libgcc/config/rs6000/floattikf.c: Likewise.
2804 * libgcc/config/rs6000/floatuntikf.c: Likewise.
2805 * libgcc/config/rs6000/quad-float128.h: Likewise.
2806 * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
2807 * libgcc/config/rs6000/sfp-machine.h: Likewise.
2808 * libgcc/config/rs6000/t-float128: Likewise.
2809 * libgcc/config/rs6000/t-float128-hw: Likewise.
2810 * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
2811 * libgcc/config.host: Likewise.
2812 * libgcc/configure: Likewise.
2813 * libgcc/configure.ac: Likewise.
2814
29176d57 28152016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
7d296953
JJ
2816 Steven Munroe <munroesj@linux.vnet.ibm.com>
2817 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
29176d57
MM
2818
2819 * config/rs6000/sfp-exceptions.c: New file to provide exception
2820 support for IEEE 128-bit floating point.
2821
2822 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
2823 floating point hardware support.
2824
2825 * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
2826 point conversions.
2827 * config/rs6000/fixunskfti.c: Likewise.
2828 * config/rs6000/fixkfti.c: Likewise.
2829 * config/rs6000/floatuntikf.c: Likewise.
2830 * config/rs6000/extendkftf2-sw.c: Likewise.
2831 * config/rs6000/trunctfkf2-sw.c: Likewise.
2832
2833 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
2834 128-bit floating point software emulation or use ISA 3.0 hardware
2835 support if it is available.
2836
2837 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
2838 floating point.
2839
2840 * config/rs6000/t-float128: New Makefile fragments to enable
2841 building __float128 emulation support.
2842 * config/rs6000/t-float128-hw: Likewise.
2843
2844 * config/rs6000/float128-sed: New file to convert TF names to KF
2845 names for PowerPC IEEE 128-bit floating point support.
2846
2847 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
2848 when building on 64-bit systems, or when VSX is enabled.
2849 (_FP_W_TYPE): Likewise.
2850 (_FP_WS_TYPE): Likewise.
2851 (_FP_I_TYPE): Likewise.
2852 (TItype): Define on 64-bit systems.
2853 (UTItype): Likewise.
2854 (TI_BITS): Likewise.
2855 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
2856 (_FP_MUL_MEAT_Q): Likewise.
2857 (_FP_DIV_MEAT_D): Likewise.
2858 (_FP_DIV_MEAT_Q): Likewise.
2859 (_FP_NANFRAC_D): Likewise.
2860 (_FP_NANFRAC_Q): Likewise.
2861 (ISA_BIT): Add exception support if we are being compiled on a
2862 machine with hardware floating point support to build the IEEE
2863 128-bit emulation functions.
2864 (FP_EX_INVALID): Likewise.
2865 (FP_EX_OVERFLOW): Likewise.
2866 (FP_EX_UNDERFLOW): Likewise.
2867 (FP_EX_DIVZERO): Likewise.
2868 (FP_EX_INEXACT): Likewise.
2869 (FP_EX_ALL): Likewise.
2870 (__sfp_handle_exceptions): Likewise.
2871 (FP_HANDLE_EXCEPTIONS): Likewise.
2872 (FP_RND_NEAREST): Likewise.
2873 (FP_RND_ZERO): Likewise.
2874 (FP_RND_PINF): Likewise.
2875 (FP_RND_MINF): Likewise.
2876 (FP_RND_MASK): Likewise.
2877 (_FP_DECL_EX): Likewise.
2878 (FP_INIT_ROUNDMODE): Likewise.
2879 (FP_ROUNDMODE): Likewise.
2880
2881 * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
2882 compiler can do __float128.
2883 * configure: Regenerate.
2884
2885 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
2886 VSX code, enable IEEE 128-bit floating point.
2887
a2218983
OH
28882016-01-05 Olivier Hainque <hainque@adacore.com>
2889
2890 * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
29176d57 2891 specificities.
a2218983 2892
818ab71a
JJ
28932016-01-04 Jakub Jelinek <jakub@redhat.com>
2894
2895 Update copyright years.
2896
5a6c8ffa
AP
28972015-12-18 Andris Pavenis <andris.pavenis@iki.fi>
2898
2899 * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
29176d57 2900 soft-fp targets.
5a6c8ffa 2901
077067a5
BE
29022015-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
2903
2904 * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
2905 instead of abort to avoid dependency on stdlib.h.
2906
787c1027
JDA
29072015-12-09 John David Anglin <danglin@gcc.gnu.org>
2908
2909 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
2910 to initialize call to __dl_fixup once.
2911
04a9ae28
NC
29122015-12-04 Nick Clifton <nickc@redhat.com>
2913
2914 * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
2915 Allow for the second argument being negative.
2916 * config.host (extra_parts): Define for MSP430. Create separate
2917 libraries for each of the hardware multiply formats.
2918 * config/msp430/lib2hw_mul.S: Build only the multiply routines
2919 that are needed.
2920 * config/msp430/lib2mul.c: Likewise.
2921 * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
2922 Add rules to build hardware multiply libraries.
2923 * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
2924 __mspabi_divul function.
2925 (__mspabi_divllu): New stub function.
2926
9a32d437
JDA
29272015-12-01 John David Anglin <danglin@gcc.gnu.org>
2928
2929 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
2930 fixup values if saved GOT address doesn't match runtime address.
2931 (fixup_branch_offset): Reorder list.
2932
e5ef217c
RO
29332015-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2934
2935 * Makefile.in (VTV_CFLAGS): New variable.
2936 (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
2937 (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
2938 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
2939 Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
2940 to extra_parts if $enable_vtable_verify = yes.
2941
78cc43a2
SN
29422015-11-23 Szabolcs Nagy <szabolcs.nagy@arm.com>
2943
2944 PR target/68059
2945 * config/arm/linux-atomic-64bit.c (__write): Rename to...
2946 (write): ...this and fix the return type.
2947
9afebea2
DD
29482015-11-19 DJ Delorie <dj@redhat.com>
2949
2950 * config/msp430/lib2hw_mul.S: Fix alignment.
2951
33f47f42
NS
29522015-11-18 Nathan Sidwell <nathan@codesourcery.com>
2953
2954 * config/nvptx/reduction.c: New.
2955 * config/nvptx/t-nvptx (LIB2ADD): Add it.
2956
d9adb476
DE
29572015-11-15 David Edelsohn <dje.gcc@gmail.com>
2958
2959 * config/rs6000/on_exit.c: New file.
2960 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
2961 * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
2962
c0ab1970
CZ
29632015-11-11 Claudiu Zissulescu <claziss@synopsys.com>
2964
2965 * config/arc/dp-hack.h: Add support for ARCHS.
2966 * config/arc/ieee-754/divdf3.S: Likewise.
2967 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
2968 * config/arc/ieee-754/muldf3.S: Likewise.
2969 * config/arc/ieee-754/mulsf3.S: Likewise
2970 * config/arc/lib1funcs.S: Likewise
2971 * config/arc/gmon/dcache_linesz.S: Don't read the build register
2972 for ARCv2 cores.
2973 * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
2974 for ARCv2 cores.
2975 * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
2976 * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
2977 cores.
2978
e6b6bf09
RO
29792015-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2980
2981 * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
2982 value.
2983 * config/ia64/crtend.S: Likewise.
2984
a153644f
TS
29852015-11-07 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2986
2987 * config/visium/lib2funcs.c (__set_trampoline_parity): Use
2988 __CHAR_BIT__ instead of BITS_PER_UNIT.
2989 * fixed-bit.h: Likewise.
2990 * fp-bit.h: Likewise.
2991 * libgcc2.c (__popcountSI2): Likewise.
2992 (__popcountDI2): Likewise.
2993 * libgcc2.h: Likewise.
2994 * libgcov.h: Likewise.
2995
3dee689d
DE
29962015-11-07 David Edelsohn <dje.gcc@gmail.com>
2997
2998 * config/rs6000/atexit.c: New file.
2999 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
3000 * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
3001 * config/rs6000/cxa_finalize.c
3002 (catomic_compare_and_exchange_bool_acq): Negate return value.
3003
2ef543e4
VK
30042015-10-30 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
3005
3006 * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
3007 (processor_subtypes): Add znver1.
3008 (get_amd_cpu): Detect znver1.
3009
1300f017
CL
30102015-10-29 Christophe Lyon <christophe.lyon@linaro.org>
3011
3012 * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
3013 Include crtfastmath.o.
3014
3e5bb7ee
JR
30152015-10-23 Joern Rennecke <joern.rennecke@embecosm.com>
3016
3017 PR libgcc/66883
3018 * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
1300f017 3019
793aa938
KP
30202015-10-16 Kaushik Phatak <kaushik.phatak@kpit.com>
3021
3022 * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
3023 * config/rl78/divmodsi.S: Update return register to r8.
3024 * config/rl78/divmodhi.S: Update return register to r8,r9.
3025 Branch to main_loop_done_himode to pop registers before return.
3026
7d296953 30272015-10-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
fac812f0
VK
3028
3029 * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
3030 (__cpu_indicator_init): Fix model selection for AMD CPUs.
3031
6a192b5a
KY
30322015-10-05 Kirill Yukhin <kirill.yukhin@intel.com>
3033
3034 * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
3035
4a0a9457
MF
30362015-10-03 Max Filippov <jcmvbkbc@gmail.com>
3037
3038 * config.host (xtensa*-*-uclinux*): New configuration.
3039
ab91c076
KY
30402015-10-02 Kirill Yukhin <kirill.yukhin@intel.com>
3041
385c7747 3042 * config/i386/cpuinfo.c (processor_features): Add
ab91c076
KY
3043 FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
3044
30954527
JM
30452015-09-28 Joseph Myers <joseph@codesourcery.com>
3046
3047 * soft-fp/adddf3.c: Update from glibc.
3048 * soft-fp/addsf3.c: Likewise.
3049 * soft-fp/addtf3.c: Likewise.
3050 * soft-fp/divdf3.c: Likewise.
3051 * soft-fp/divsf3.c: Likewise.
3052 * soft-fp/divtf3.c: Likewise.
3053 * soft-fp/double.h: Likewise.
3054 * soft-fp/eqdf2.c: Likewise.
3055 * soft-fp/eqsf2.c: Likewise.
3056 * soft-fp/eqtf2.c: Likewise.
3057 * soft-fp/extenddftf2.c: Likewise.
3058 * soft-fp/extended.h: Likewise.
3059 * soft-fp/extendsfdf2.c: Likewise.
3060 * soft-fp/extendsftf2.c: Likewise.
3061 * soft-fp/extendxftf2.c: Likewise.
3062 * soft-fp/fixdfdi.c: Likewise.
3063 * soft-fp/fixdfsi.c: Likewise.
3064 * soft-fp/fixdfti.c: Likewise.
3065 * soft-fp/fixsfdi.c: Likewise.
3066 * soft-fp/fixsfsi.c: Likewise.
3067 * soft-fp/fixsfti.c: Likewise.
3068 * soft-fp/fixtfdi.c: Likewise.
3069 * soft-fp/fixtfsi.c: Likewise.
3070 * soft-fp/fixtfti.c: Likewise.
3071 * soft-fp/fixunsdfdi.c: Likewise.
3072 * soft-fp/fixunsdfsi.c: Likewise.
3073 * soft-fp/fixunsdfti.c: Likewise.
3074 * soft-fp/fixunssfdi.c: Likewise.
3075 * soft-fp/fixunssfsi.c: Likewise.
3076 * soft-fp/fixunssfti.c: Likewise.
3077 * soft-fp/fixunstfdi.c: Likewise.
3078 * soft-fp/fixunstfsi.c: Likewise.
3079 * soft-fp/fixunstfti.c: Likewise.
3080 * soft-fp/floatdidf.c: Likewise.
3081 * soft-fp/floatdisf.c: Likewise.
3082 * soft-fp/floatditf.c: Likewise.
3083 * soft-fp/floatsidf.c: Likewise.
3084 * soft-fp/floatsisf.c: Likewise.
3085 * soft-fp/floatsitf.c: Likewise.
3086 * soft-fp/floattidf.c: Likewise.
3087 * soft-fp/floattisf.c: Likewise.
3088 * soft-fp/floattitf.c: Likewise.
3089 * soft-fp/floatundidf.c: Likewise.
3090 * soft-fp/floatundisf.c: Likewise.
3091 * soft-fp/floatunditf.c: Likewise.
3092 * soft-fp/floatunsidf.c: Likewise.
3093 * soft-fp/floatunsisf.c: Likewise.
3094 * soft-fp/floatunsitf.c: Likewise.
3095 * soft-fp/floatuntidf.c: Likewise.
3096 * soft-fp/floatuntisf.c: Likewise.
3097 * soft-fp/floatuntitf.c: Likewise.
3098 * soft-fp/gedf2.c: Likewise.
3099 * soft-fp/gesf2.c: Likewise.
3100 * soft-fp/getf2.c: Likewise.
3101 * soft-fp/ledf2.c: Likewise.
3102 * soft-fp/lesf2.c: Likewise.
3103 * soft-fp/letf2.c: Likewise.
3104 * soft-fp/muldf3.c: Likewise.
3105 * soft-fp/mulsf3.c: Likewise.
3106 * soft-fp/multf3.c: Likewise.
3107 * soft-fp/negdf2.c: Likewise.
3108 * soft-fp/negsf2.c: Likewise.
3109 * soft-fp/negtf2.c: Likewise.
3110 * soft-fp/op-1.h: Likewise.
3111 * soft-fp/op-2.h: Likewise.
3112 * soft-fp/op-4.h: Likewise.
3113 * soft-fp/op-8.h: Likewise.
3114 * soft-fp/op-common.h: Likewise.
3115 * soft-fp/quad.h: Likewise.
3116 * soft-fp/single.h: Likewise.
3117 * soft-fp/soft-fp.h: Likewise.
3118 * soft-fp/subdf3.c: Likewise.
3119 * soft-fp/subsf3.c: Likewise.
3120 * soft-fp/subtf3.c: Likewise.
3121 * soft-fp/truncdfsf2.c: Likewise.
3122 * soft-fp/trunctfdf2.c: Likewise.
3123 * soft-fp/trunctfsf2.c: Likewise.
3124 * soft-fp/trunctfxf2.c: Likewise.
3125 * soft-fp/unorddf2.c: Likewise.
3126 * soft-fp/unordsf2.c: Likewise.
3127 * soft-fp/unordtf2.c: Likewise.
3128
4dfe21ac
RE
31292015-09-24 Richard Earnshaw <rearnsha@arm.com>
3130
3131 PR libgcc/67624
3132 * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
3133
df2a1cc4
RO
31342015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3135
3136 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
3137 Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
3138 * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
3139 messages.
3140 (internal_mcount): Likewise.
3141 * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
3142 crt_compile, add CRTSTUFF_T_CFLAGS_S.
3143
2d110442
RO
31442015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3145
3146 * configure.ac (libgcc_cv_solaris_crts): New test.
3147 * configure: Regenerate.
3148 * config.in: Regenerate.
3149 * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
3150 * config/gmon-sol2.c: Rename to ...
3151 * config/sol2/gmon.c: ... this.
3152 Include auto-target.h.
3153 (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
3154 * config/t-sol2: Rename to ...
3155 * config/sol2/t-sol2: ... this.
3156 (gmon.o): Reflect renaming.
3157 (crtp.o, crtpg.o): New rules.
3158 * config.host (*-*-solaris2*): Reflect renaming.
3159 Use system CRTs if present.
3160 Remove default CRT case.
3161
d572e439
JDA
31622015-09-23 John David Anglin <danglin@gcc.gnu.org>
3163
3164 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
3165 (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
3166 __kernel_cmpxchg2.
3167 (__sync_##OP##_and_fetch_##WIDTH): Likewise.
3168 (__sync_val_compare_and_swap_##WIDTH): Likewise.
3169 (__sync_bool_compare_and_swap_##WIDTH): Likewise.
3170 (__sync_lock_test_and_set_##WIDTH): Likewise.
3171 (__sync_lock_release_##WIDTH): Likewise.
3172 (__sync_fetch_and_##OP##_4): Change result to match type of
3173 __kernel_cmpxchg.
3174 (__sync_##OP##_and_fetch_4): Likewise.
3175 (__sync_val_compare_and_swap_4): Likewise.
3176 (__sync_bool_compare_and_swap_4): likewise.
3177 (__sync_lock_test_and_set_4): Likewise.
3178 (__sync_lock_release_4): Likewise.
3179 (FETCH_AND_OP_2): Add long long variants.
3180 (OP_AND_FETCH_2): Likewise.
3181 (COMPARE_AND_SWAP_2 ): Likewise.
3182 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
3183 (SYNC_LOCK_RELEASE_2): Likewise.
3184 (__sync_bool_compare_and_swap_##WIDTH): Correct return.
3185
7d296953 31862015-09-22 Kirill Yukhin <kirill.yukhin@intel.com>
06caf59d
KY
3187
3188 * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
3189 FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
3190 FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
3191 (get_available_features): Habdle new features.
3192
131314e1
JB
31932015-09-21 James Bowman <james.bowman@ftdichip.com>
3194
3195 * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
3196 memory layout. Deal correctly with BSS region larger than 32K.
3197 Handle a watchdog reset like a power-on reset. Clean up unused
3198 code.
3199
04218b35
AD
32002015-09-18 Andrew Dixie <andrewd@gentrack.com>
3201 David Edelsohn <dje.gcc@gmail.com>
3202
3203 * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
3204 * config/rs6000/crtdbase.S: New file.
3205 * config/rs6000/t-aix-cxa: Build crtdbase.o.
3206
c8338173
MF
32072015-09-15 Max Filippov <jcmvbkbc@gmail.com>
3208
3209 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
3210 Add support for call0 ABI.
3211
7a84bf71
JDA
32122015-09-13 John David Anglin <danglin@gcc.gnu.org>
3213
3214 * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
3215
4efab402
SH
32162015-09-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
3217
3218 * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
3219 (__GTHREAD_HAS_COND): Likewise.
3220 (__gthread_t): Likewise.
3221 (__gthread_cond_t): Likewise.
3222 (__gthread_time_t): Likewise.
3223 (__GTHREAD_MUTEX_INIT): Likewise.
3224 (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
3225 (__GTHREAD_COND_INIT): Likewise.
3226 (__GTHREAD_COND_INIT_FUNCTION): Likewise.
3227 (__GTHREAD_TIME_INIT): Likewise.
3228 (__gthread_create): Likewise.
3229 (__gthread_join): Likewise.
3230 (__gthread_detach): Likewise.
3231 (__gthread_equal): Likewise.
3232 (__gthread_self): Likewise.
3233 (__gthread_yield): Likewise.
3234 (__gthread_cond_broadcast): Likewise.
3235 (__gthread_cond_signal): Likewise.
3236 (__gthread_cond_wait): Likewise.
3237 (__gthread_cond_timedwait): Likewise.
3238 (__gthread_cond_wait_recursive): Likewise.
3239 (__gthread_cond_destroy): Likewise.
3240 (rtems_gxx_once): Delete.
3241 (rtems_gxx_key_create): Likewise.
3242 (rtems_gxx_key_delete): Likewise.
3243 (rtems_gxx_getspecific): Likewise.
3244 (rtems_gxx_setspecific): Likewise.
3245 (rtems_gxx_mutex_init): Likewise.
3246 (rtems_gxx_mutex_destroy): Likewise.
3247 (rtems_gxx_mutex_lock): Likewise.
3248 (rtems_gxx_mutex_trylock): Likewise.
3249 (rtems_gxx_mutex_unlock): Likewise.
3250 (rtems_gxx_recursive_mutex_init): Likewise.
3251 (rtems_gxx_recursive_mutex_lock): Likewise.
3252 (rtems_gxx_recursive_mutex_trylock): Likewise.
3253 (rtems_gxx_recursive_mutex_unlock): Likewise.
3254 (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
3255 (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
3256 (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
3257 (__gthread_once): Likewise.
3258 (__gthread_key_create): Likewise.
3259 (__gthread_key_delete): Likewise.
3260 (__gthread_getspecific): Likewise.
3261 (__gthread_setspecific): Likewise.
3262 (__gthread_key_t): Use <pthread.h> type.
3263 (__gthread_once_t): Likewise
3264 (__gthread_mutex_t): Use <sys/lock.h> type.
3265 (__gthread_recursive_mutex_t): Likewise
3266 (__gthread_mutex_lock): Use <sys/lock.h> function.
3267 (__gthread_mutex_trylock): Likewise.
3268 (__gthread_mutex_timedlock): Likewise.
3269 (__gthread_mutex_unlock): Likewise.
3270 (__gthread_mutex_destroy): Likewise.
3271 (__gthread_recursive_mutex_lock): Likewise.
3272 (__gthread_recursive_mutex_trylock): Likewise.
3273 (__gthread_recursive_mutex_timedlock): Likewise.
3274 (__gthread_recursive_mutex_unlock): Likewise.
3275 (__gthread_recursive_mutex_destroy): Likewise.
3276
991995c4
MF
32772015-08-18 Max Filippov <jcmvbkbc@gmail.com>
3278
3279 * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
3280 context->sp instead of context->cfa.
3281
0e19db59
MF
32822015-08-18 Max Filippov <jcmvbkbc@gmail.com>
3283
3284 * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
3285 with unwind-dw2-fde-dip.
3286
b6ac5f62
MF
32872015-08-18 Max Filippov <jcmvbkbc@gmail.com>
3288
3289 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
3290 CALL12 followed by series of ENTRY to spill windowed registers.
3291 (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
3292 instead of making linux spill syscall.
3293
3e0f3349
YR
32942015-08-14 Yuri Rumyantsev <ysrumyan@gmail.com>
3295
3296 * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
3297 (get_intel_cpu): Likewise.
3298
51c728b1
L
32992015-08-12 H.J. Lu <hongjiu.lu@intel.com>
3300
3301 * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
3302 (get_intel_cpu): Add Knights Landing support.
3303
aff4eeac
UB
33042015-08-11 Uros Bizjak <ubizjak@gmail.com>
3305
3306 PR target/66954
3307 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
3308 (get_available_features): Handle FEATURE_PCLMUL.
3309
736e56da
L
33102015-08-10 H.J. Lu <hongjiu.lu@intel.com>
3311
3312 * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
3313 Broadwell.
3314
54d22142
UB
33152015-07-22 Uros Bizjak <ubizjak@gmail.com>
3316
3317 PR target/66954
3318 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
3319 (get_available_features): Handle FEATURE_AES.
3320
20ca17e4
CLT
33212015-07-22 Chung-Lin Tang <cltang@codesourcery.com>
3322
3323 * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
3324 (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
3325
ebe4a560
NS
33262015-07-17 Nathan Sidwell <nathan@codesourcery.com>
3327
3328 * offloadstuff.c: Constify host data.
3329
180744c0
JB
33302015-07-17 Jan Beulich <jbeulich@suse.com>
3331
3332 * config/t-softfp: Split up "else ifneq".
3333
a03c6ae3
SL
33342015-07-14 Sandra Loosemore <sandra@codesourcery.com>
3335 Cesar Philippidis <cesar@codesourcery.com>
3336 Chung-Lin Tang <cltang@codesourcery.com>
3337
3338 * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
3339 for __nios2_arch__ level.
3340
73358db5
JM
33412015-07-13 John Marino <gnugcc@marino.st>
3342
3343 * config/i386/t-dragonfly: New.
3344
f9a12f7b
JDA
33452015-07-01 John David Anglin <danglin@gcc.gnu.org>
3346
3347 * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
3348 better match light-weight syscall argument order.
3349 (__kernel_cmpxchg2): Likewise.
3350 Adjust callers.
3351
cb78b51c
L
33522015-06-30 H.J. Lu <hongjiu.lu@intel.com>
3353
3354 * config.host: Support i[34567]86-*-elfiamcu target.
3355 * config/t-softfp-sfdftf: New file.
3356 * config/i386/32/t-iamcu: Likewise.
3357 * configure: Regenerated.
3358
4fa0f9ea
JL
33592015-06-23 James Lemke <jwlemke@codesourcery.com>
3360
3361 libgcc/config/arm/
3362 * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
3363
428b3812
L
33642015-05-27 H.J. Lu <hongjiu.lu@intel.com>
3365
3366 * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
3367
7d296953 33682015-05-27 John Marino <gnugcc@marino.st>
89c54dd3
JM
3369
3370 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
3371 md_unwind_header
3372 * config/i386/freebsd-unwind.h: New.
3373
9b789cc1
UB
33742015-05-22 Uros Bizjak <ubizjak@gmail.com>
3375
3376 * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
3377 i386/t-crtfm to tmake_file.
3378 * config/i386/crtfastmath.c (set_fast_math_sse): New function.
3379 (set_fast_math): Use set_fast_math_sse for SSE targets.
3380 * config/i386/t-crtfm: Remove.
3381
3dafb220
AM
33822015-05-21 Alan Modra <amodra@gmail.com>
3383
3384 PR libgcc/66225
3385 * config/rs6000/morestack.S: Remove ".abiversion 1".
3386
0f0fd745
AM
33872015-05-20 Alan Modra <amodra@gmail.com>
3388
3389 * config/rs6000/morestack.S: New.
3390 * config/rs6000/t-stack-rs6000: New.
3391 * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
3392 to tmake_file.
3393 * generic-morestack.c: Don't build for powerpc 32-bit.
3394
515ae71b
EB
33952015-05-19 Eric Botcazou <ebotcazou@adacore.com>
3396
3397 * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
3398 Remove useless endif/ifneq ($(enable_shared),yes) pair.
3399
36805406
JL
34002015-05-16 James Bowman <james.bowman@ftdichip.com>
3401
3402 * config.host: FT32 target added.
3403 * config/ft32/*: New files for FT32 target.
3404
ff935d0c
MG
34052015-05-15 Martin Galvan <martin.galvan@tallertechnologies.com>
3406
385c7747
UB
3407 * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
3408 New macros.
3409 * config/arm/ieee754-df.S: Add CFI directives.
3410 * config/arm/ieee754-sf.S: Add CFI directives.
ff935d0c 3411
9b92a9f3
EB
34122015-05-13 Eric Botcazou <ebotcazou@adacore.com>
3413
3414 * configure.ac: Include config/sjlj.m4.
3415 Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
3416 * config.in: Regenerate.
3417 * configure: Likewise.
3418 * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
3419
98b5dc61
UB
34202015-05-12 Uros Bizjak <ubizjak@gmail.com>
3421
3422 * libgcov-util.c: Add space between string literal and macro name.
3423
5a0ff57c
SL
34242015-05-06 Sandra Loosemore <sandra@codesourcery.com>
3425 Chris Jones <chrisj@nvidia.com>
3426 Joshua Conner <jconner@nvidia.com>
3427
3428 * config.host (arm*-*-linux*): Add support for crtfastmath.o.
3429 (arm*-*-uclinux*): Likewise.
3430 (arm*-*-eabi* | arm*-*-rtems*): Likewise.
3431 * config/arm/crtfastmath.c: New file.
3432
d28ad5d4
BS
34332014-04-29 Bernd Schmidt <bernds@codesourcery.com>
3434
3435 * Makefile.in (real_host_noncanonical): New variable.
3436 (libsubdir): Use it.
3437 * configure.ac (real_host_noncanonical): Compute. Remove special
3438 case for intelmicemul.
3439 * configure: Regenerate.
3440
cc86234f
UB
34412015-04-28 Uros Bizjak <ubizjak@gmail.com>
3442
3443 * config/frv/elf-lib.h: New file.
3444 (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
3445 * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
3446 to tm_file.
3447
34482015-04-28 Uros Bizjak <ubizjak@gmail.com>
3449
3450 * config/frv/frvbengin.c: Do not include defaults.h
3451 * config/frv/frvend.c: Ditto.
3452
2f6bd6eb
YS
34532015-04-27 Yoshinori Sato <ysato@users.sourceforge.jp>
3454
3455 * config.host: Add h8300-*-linux
3456 * config/h8300/t-linux: New file.
3457 * config/h8300/lib1funs.s: Change symbol prefix.
3458 * config/h8300/sfp-machine.h: 64bit double support.
3459
15aa7b44
GR
34602015-04-22 Gregor Richards <gregor.richards@uwaterloo.ca>
3461 Szabolcs Nagy <szabolcs.nagy@arm.com>
3462
3463 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
3464 Linux if target provides dl_iterate_phdr.
3465
abd0cdc9
L
34662015-04-17 H.J. Lu <hongjiu.lu@intel.com>
3467
3468 PR target/65612
3469 * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
3470 * config/i386/cpuinfo.c (__cpu_model): Initialize.
3471 (__cpu_indicator_init@GCC_4.8.0): New.
3472 (__cpu_model@GCC_4.8.0): Likewise.
3473 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
3474 -DUSE_ELF_SYMVER.
3475
72ed1126
NC
34762015-04-16 Nick Clifton <nickc@redhat.com>
3477
3478 * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
3479 and __modhi3 functions.
3480 * config/rl78/divmodso.S: Add G14 and G13 versions of the
3481 __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
3482
d26b2237
CG
34832015-04-15 Chen Gang <gang.chen.5i5j@gmail.com>
3484
3485 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
3486 do-while loop as macro body to avoid warnings.
3487
cacf1f59
JJ
34882015-04-10 Jakub Jelinek <jakub@redhat.com>
3489 Iain Sandoe <iain@codesourcery.com>
3490
3491 PR target/65351
3492 * configure: Regenerate.
3493
e8a4ed3b
JJ
34942015-04-07 Jakub Jelinek <jakub@redhat.com>
3495 Iain Sandoe <iain@codesourcery.com>
3496
3497 PR target/65351
3498 * configure: Regenerate.
3499
0341335e
CLT
35002015-03-25 Chung-Lin Tang <cltang@codesourcery.com>
3501
3502 * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
3503
590e2636 35042015-03-03 Max Filippov <jcmvbkbc@gmail.com>
0341335e 3505
590e2636
MF
3506 Implement call0 ABI for xtensa
3507 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
3508 __xtensa_nonlocal_goto): Don't compile for call0 ABI.
3509 (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
3510 use ret in call0 ABI.
3511 * config/xtensa/t-windowed: New file.
3512 * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
3513 * libgcc/configure: Regenerated.
3514 * libgcc/configure.ac: Check if xtensa target is configured for
3515 windowed ABI and thus needs to use custom unwind code.
3516
7727f8f2
JW
35172015-02-12 Jonathan Wakely <jwakely@redhat.com>
3518
3519 PR libgcc/64885
3520 * gthr-single.h: Use __unused__ attribute instead of unused.
3521 * config/gthr-vxworks.h: Likewise.
3522 * config/i386/gthr-win32.h: Likewise.
3523
0e4a0def
KT
35242015-02-27 Kai Tietz <ktietz@redhat.com>
3525
3526 PR target/65038
3527 * config.in: Regenerated.
3528 * configure: Likewise.
3529 * configure.ac (AC_HEADER_STDC): Added explicit.
3530 (AC_CHECK_HEADERS): Check for default headers plus
3531 for ftw.h header.
3532 * libgcov-util.c (gcov_read_profile_dir): Disable use
3533 of ftw-function, if header is not found.
3534 (ftw_read_file): Likewise.
3535
b6530d0a
TS
35362015-02-23 Thomas Schwinge <thomas@codesourcery.com>
3537
3538 PR target/65181
3539 * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
3540 -Dinhibit_libc.
3541
53cfb467
SL
35422015-02-17 Sandra Loosemore <sandra@codesourcery.com>
3543
3544 * config/arm/bpabi.S (test_div_by_zero): Make label names
3545 consistent between thumb2 and arm mode cases. Separate the
3546 signed comparison on the high word of the numerator from the
3547 unsigned comparison on the low word.
3548 * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
3549 signed comparison.
3550
77d10a1b
JM
35512015-02-17 Joseph Myers <joseph@codesourcery.com>
3552
3553 * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
3554 and <string.h>.
3555 (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
3556
98174188
RE
35572015-02-10 Rainer Emrich <rainer@emrich-ebersheim.de>
3558
3559 PR gcov-profile/61889
471274de 3560 * libgcov-driver-system.c: undefine clashing macro for mkdir.
98174188 3561
771bef14
NC
35622015-02-02 Nick Clifton <nickc@redhat.com>
3563
3564 * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
3565 rounding up the fraction.
3566
40702893
JDA
35672015-01-31 John David Anglin <danglin@gcc.gnu.org>
3568
3569 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
3570 oldval and newval to const void *. Fix typo.
3571 (FETCH_AND_OP_2): Use __atomic_load_n to load value.
3572 (FETCH_AND_OP_WORD): Likewise.
3573 (OP_AND_FETCH_WORD): Likewise.
3574 (COMPARE_AND_SWAP_2): Likewise.
3575 (__sync_val_compare_and_swap_4): Likewise.
3576 (__sync_lock_test_and_set_4): Likewise.
3577 (SYNC_LOCK_RELEASE_2): Likewise.
3578 Remove support for long long atomic operations.
3579
f7f049fa
CT
35802015-01-27 Caroline Tice <cmtice@google.com>
3581
3582 Committing VTV Cywin/Ming patch for Patrick Wollgast
3583 * Makefile.in: Move rules to build vtv_*.o out of the check
3584 for CUSTOM_CRTSTUFF.
3585 * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
3586 i[34567]86-*-mingw*)
3587 (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
3588 enable_vtable_verify.
3589
8410904a
NC
35902015-01-27 Nick Clifton <nickc@redhat.com>
3591
3592 * config/rl78/cmpsi2.S: Use function start and end macros.
3593 (__gcc_bcmp): New function.
3594 * config/rl78/lshrsi3.S: Use function start and end macros.
3595 * config/rl78/mulsi3.S: Add support for G10.
3596 (__mulqi3): New function for G10.
3597 * config/rl78/signbit.S: Use function start and end macros.
3598 * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
3599 fpmath-sf.S.
3600 (LIB2FUNCS_EXCLUDE): Define.
3601 (LIB2FUNCS_ST): Define.
3602 * config/rl78/trampoline.S: Use function start and end macros.
3603 * config/rl78/vregs.h (START_FUNC): New macro.
3604 (START_ANOTHER_FUNC): New macro.
3605 (END_FUNC): New macro.
3606 (END_ANOTHER_FUNC): New macro.
3607 * config/rl78/bit-count.S: New file. Contains assembler
3608 implementations of the bit counting functions: ___clzhi2,
3609 __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
3610 __paritysi2, __popcounthi2 and __popcountsi2.
3611 * config/rl78/fpbit-sf.S: New file. Contains assembler
3612 implementationas of the math functions: __negsf2, __cmpsf2,
3613 __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
3614 __fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
3615 * config/rl78/fpmath-sf.S: New file. Contains assembler
3616 implementations of the math functions: __subsf3, __addsf3,
3617 __mulsf3 and __divsf3
3618
f962fbf1
RO
36192015-01-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3620
3621 * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
3622 Add i386/elf-lib.h to tm_file.
3623 * config/i386/elf-lib.h: Fix comment.
3624 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
3625 && __sun__ && __svr4__]: Remove workaround.
3626
939911c5
ASJ
36272015-01-25 Allan Sandfeld Jensen <sandfeld@kde.org>
3628
3629 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
3630 FEATURE_BMI2.
3631 (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
3632
c8f2dff2
L
36332015-01-24 H.J. Lu <hongjiu.lu@intel.com>
3634
3635 * config/i386/cpuinfo.c (processor_subtypes): Add
3636 INTEL_COREI7_BROADWELL.
3637 (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
3638 model numbers.
3639
7bbf9734
UB
36402015-01-23 Uros Bizjak <ubizjak@gmail.com>
3641
3642 * config/i386/elf-lib.h: New file.
3643 (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
3644 Wrap definition in #ifdef __i386__.
3645 * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
3646 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
3647 (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
3648 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
3649 to tm_file.
3650
324820f1
CG
36512015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
3652
3653 * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
3654 "(char *)" to avoid qualifier warning by 'xgcc' compiling.
3655
a9ce4e4a
CLT
36562015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
3657
3658 * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
3659 Update rt_sigframe format and address for current Nios II
3660 Linux conventions.
3661
82a19768
AT
36622015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
3663
3664 * config.host (arm*-*-freebsd*): Add new configuration for
3665 arm*-*-freebsd*.
3666 * config/arm/freebsd-atomic.c: New file.
3667 * config/arm/t-freebsd: Likewise.
3668 * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
3669 'PC-relative indirect' OS's.
3670
0969ec7d
EB
36712015-01-06 Eric Botcazou <ebotcazou@adacore.com>
3672
3673 * config.host: Add Visium support.
3674 * config/visium: New directory.
3675
5624e564
JJ
36762015-01-05 Jakub Jelinek <jakub@redhat.com>
3677
3678 Update copyright years.
3679
82f84ecb
MF
36802014-12-19 Matthew Fortune <matthew.fortune@imgtec.com>
3681
3682 * config.host: Support mipsisa32r6 and mipsisa64r6.
3683 * config/mips/mips16.S: Do not build for R6.
3684
69044fa9
OE
36852014-12-17 Oleg Endo <olegendo@gcc.gnu.org>
3686
3687 * config/sh/crt.h: New.
3688 * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
3689 symbols.
3690 * config/sh/crt1.S: Likewise.
3691
2405e0ea
UB
36922014-12-15 Uros Bizjak <ubizjak@gmail.com>
3693
3694 PR libgcc/63832
3695 * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
3696 func_ptr *dtor_list temporary variable to avoid "array subscript
3697 is above array bounds" warnings.
3698
7d296953 36992014-12-09 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
dd913323
MH
3700
3701 * Makefile.in (with_aix_soname): Define.
3702 * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
3703 * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
3704 * configure: Recreate.
3705
a66272f6
OH
37062014-12-05 Olivier Hainque <hainque@adacore.com>
3707
3708 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
3709 now provided by defaults.h.
3710
6342b2c5
OE
37112014-11-30 Oleg Endo <olegendo@gcc.gnu.org>
3712
7d0ee249 3713 PR target/55351
6342b2c5
OE
3714 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
3715 whether it's defined.
3716
c17eac85
IT
37172014-11-27 Ilya Tocar <ilya.tocar@intel.com>
3718
3719 * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
3720 * config/i386/cpuinfo.c (get_available_features): Detect it.
3721
1025cb6c
TW
37222014-11-27 Tony Wang <tony.wang@arm.com>
3723
3724 * config/arm/lib1funcs.S (FUNC_START): Add conditional section
3725 redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
3726 (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
3727
d19f2e38
SB
37282014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
3729
3730 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
3731
17f6e9a3
JDA
37322014-11-24 John David Anglin <danglin@gcc.gnu.org>
3733
3734 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
3735 instead.
3736
0cd7c672
GM
37372014-11-21 Guy Martin <gmsoft@tuxicoman.be>
3738 John David Anglin <danglin@gcc.gnu.org>
3739
3740 * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
3741 (FETCH_AND_OP_2): New. Use for subword and double word operations.
3742 (OP_AND_FETCH_2): Likewise.
3743 (COMPARE_AND_SWAP_2): Likewise.
3744 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
3745 (SYNC_LOCK_RELEASE_2): Likewise.
3746 (SUBWORD_SYNC_OP): Remove.
3747 (SUBWORD_VAL_CAS): Likewise.
3748 (SUBWORD_BOOL_CAS): Likewise.
3749 (FETCH_AND_OP_WORD): Update.
3750 Consistently use signed types.
cc86234f 3751
85c64bbe
BS
37522014-11-13 Bernd Schmidt <bernds@codesourcery.com>
3753 Thomas Schwinge <thomas@codesourcery.com>
3754 Ilya Verbin <ilya.verbin@intel.com>
3755 Andrey Turetskiy <andrey.turetskiy@intel.com>
3756
3757 * Makefile.in (crtoffloadbegin$(objext)): New rule.
3758 (crtoffloadend$(objext)): Likewise.
3759 * configure: Regenerate.
3760 * configure.ac (accel_dir_suffix): Compute new variable.
3761 (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
3762 if enable_offload_targets is not empty.
3763 * offloadstuff.c: New file.
3764
52a1ff8b
NC
37652014-11-13 Nick Clifton <nickc@redhat.com>
3766
3767 * config/rl78/divmodhi.S: Add support for the G10 architecture.
3768 Use START_FUNC and END_FUNC macros to enable linker garbage
3769 collection.
3770 * config/rl78/divmodqi.S: Likewise.
3771 * config/rl78/divmodsi.S: Likewise.
3772 * config/rl78/mulsi3.S: Likewise.
3773 * config/rl78/lib2div.c: Remove G10 functions.
3774 * config/rl78/lib2muls.c: Likewise.
3775 * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
3776 * config/rl78/vregs.h (START_FUNC): New macro.
3777 (END_FUNC): New macro.
3778
050af144
MF
37792014-11-12 Matthew Fortune <matthew.fortune@imgtec.com>
3780
3781 * config/mips/mips16.S: Set .module when supported. Update O32
3782 FP64 calling convention and use for FPXX when possible. Add FPXX
3783 calling convention fallback case.
3784
738f2522
BS
37852014-11-06 Bernd Schmidt <bernds@codesourcery.com>
3786
3787 * config.host: Handle nvptx-*-*.
3788 * shared-object.mk (as-flags-$o): Define.
3789 ($(base)$(objext), $(base)_s$(objext)): Use it instead of
3790 -xassembler-with-cpp.
3791 * static-object.mk: Identical changes.
3792 * config/nvptx/t-nvptx: New file.
3793 * config/nvptx/crt0.s: New file.
3794 * config/nvptx/free.asm: New file.
3795 * config/nvptx/malloc.asm: New file.
3796 * config/nvptx/realloc.c: New file.
3797
e610393c
JM
37982014-10-30 Joseph Myers <joseph@codesourcery.com>
3799
3800 * Makefile.in (libgcc.map.in): New target.
3801 (libgcc.map): Use libgcc.map.in.
3802 * config/t-softfp (softfp_compat): New variable to be set by
3803 users.
3804 [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
3805 variables.
3806 [$(softfp_compat) = y] (softfp_file_list): Use files in the build
3807 directory.
3808 [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
3809 that use compat symbols and disable all code unless [SHARED].
3810 * config/t-softfp-compat: New file.
3811 * find-symver.awk: New file.
3812 * configure.ac (--with-glibc-version): New configure option.
3813 (ppc_fp_compat): New variable set for powerpc*-*-linux*.
3814 * configure: Regenerate.
3815 * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
3816 soft-float and e500.
3817
bc1b3a88
JM
38182014-10-29 Joseph Myers <joseph@codesourcery.com>
3819
3820 * config/t-hardfp (hardfp_exclusions): Document new variable for
3821 user to define.
3822 (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
3823 * config/t-softfp (softfp_extras): Document new variable for user
3824 to define.
3825 (softfp_func_list): Add functions from $(softfp_extras).
3826 * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
3827 * config.host (powerpc*-*-linux*): For e500v1, use
3828 rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
3829 t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
3830 and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
3831
ef2810c1
JDA
38322014-10-26 John David Anglin <danglin@gcc.gnu.org>
3833
3834 * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
3835 (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
3836 memory read accesses are ok.
3837
d80c2bea
JM
38382014-10-25 Joseph Myers <joseph@codesourcery.com>
3839
3840 * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
3841 * configure: Regenerate.
3842 * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
3843 additions to tmake_file. Use t-hardfp-sfdf and t-hardfp instead
3844 of soft-fp for 32-bit classic hard float. Do not use
3845 t-softfp-excl for soft float.
3846
693b297b
JM
38472014-10-22 Joseph Myers <joseph@codesourcery.com>
3848
3849 * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
3850 configurations.
3851 * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
3852 Remove variables.
3853
18a3415e
GJL
38542014-10-22 Georg-Johann Lay <avr@gjlay.de>
3855
3856 * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
3857 introduced with 2014-10-21 trunk r216525.
3858
c1dd9790 38592014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
7d296953
JJ
3860 Vidya Praveen <vidya.praveen@atmel.com>
3861 Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
3862 Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
3863 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
c1dd9790
JR
3864
3865 * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
3866 order.
3867
3868 Updated library functions for AVRTINY arch.
3869 * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
3870 Replaced occurrences of r0/r1 with tmp/zero reg macros.
3871 Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
3872 or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
3873 wsubi/wadi macors.
3874 (__mulsi3_helper): Update stack, preserve callee saved regs and
3875 argument from stack. Restore callee save registers.
3876 (__mulpsi3): Likewise.
3877 (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
3878 __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
18a3415e 3879 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
c1dd9790
JR
3880 AVRTINY.
3881 (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
3882 (__do_copy_data): Added new definition for AVRTINY.
3883 (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
3884 (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
3885 __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
3886 * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
3887 tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
3888 macors.
18a3415e 3889 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
c1dd9790
JR
3890 AVRTINY.
3891
18a3415e 3892 Fix broken long multiplication on tiny arch.
c1dd9790 3893
5f606431
JM
38942014-10-09 Joseph Myers <joseph@codesourcery.com>
3895
3896 * soft-fp/double.h: Update from glibc.
3897 * soft-fp/eqdf2.c: Likewise.
3898 * soft-fp/eqsf2.c: Likewise.
3899 * soft-fp/eqtf2.c: Likewise.
3900 * soft-fp/extenddftf2.c: Likewise.
3901 * soft-fp/extended.h: Likewise.
3902 * soft-fp/extendsfdf2.c: Likewise.
3903 * soft-fp/extendsftf2.c: Likewise.
3904 * soft-fp/extendxftf2.c: Likewise.
3905 * soft-fp/gedf2.c: Likewise.
3906 * soft-fp/gesf2.c: Likewise.
3907 * soft-fp/getf2.c: Likewise.
3908 * soft-fp/ledf2.c: Likewise.
3909 * soft-fp/lesf2.c: Likewise.
3910 * soft-fp/letf2.c: Likewise.
3911 * soft-fp/op-1.h: Likewise.
3912 * soft-fp/op-2.h: Likewise.
3913 * soft-fp/op-4.h: Likewise.
3914 * soft-fp/op-8.h: Likewise.
3915 * soft-fp/op-common.h: Likewise.
3916 * soft-fp/quad.h: Likewise.
3917 * soft-fp/single.h: Likewise.
3918 * soft-fp/soft-fp.h: Likewise.
3919 * soft-fp/unorddf2.c: Likewise.
3920 * soft-fp/unordsf2.c: Likewise.
3921 * soft-fp/unordtf2.c: Likewise.
3922 * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
3923 * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
3924 * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
3925 * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
3926 * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
3927 * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
3928 * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
3929 * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
3930 * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
3931 * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
3932
9b84e7a8
RX
39332014-10-08 Rong Xu <xur@google.com>
3934
3935 * libgcov-util.c (read_gcda_file): Fix format.
3936 (find_match_gcov_info): Ditto.
3937 (calculate_2_entries): New.
3938 (compute_one_gcov): Ditto.
3939 (gcov_info_count_all_cold): Ditto.
3940 (gcov_info_count_all_zero): Ditto.
3941 (extract_file_basename): Ditto.
3942 (get_file_basename): Ditto.
3943 (set_flag): Ditto.
3944 (matched_gcov_info): Ditto.
3945 (calculate_overlap): Ditto.
3946 (gcov_profile_overlap): Ditto.
3947 * libgcov-driver.c (compute_summary): Make
3948 it avavilable for external calls.
3949
fe1090c1
RX
39502014-10-06 Rong Xu <xur@google.com>
3951
3952 * Makefile.in: Ditto.
3953 * libgcov-driver.c (gcov_sort_n_vals): New utility function.
3954 (gcov_sort_icall_topn_counter): Ditto.
3955 (gcov_sort_topn_counter_arrays): Ditto.
3956 (dump_one_gcov): Sort indirect_call topn counters.
3957 * libgcov-merge.c (__gcov_merge_icall_topn): New merge
3958 function.
3959 * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
3960 utility function.
3961 (__gcov_indirect_call_topn_profiler): New profiler function.
3962 * libgcov-util.c (__gcov_icall_topn_counter_op): New.
3963 * libgcov.h: New decls.
3964
3daa7bbf
TS
39652014-10-04 Trevor Saunders <tsaunders@mozilla.com>
3966
3967 * config.host: Remove support for score-*.
3968
9a79452d
JM
39692014-09-22 Joseph Myers <joseph@codesourcery.com>
3970
3971 * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
3972 (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
3973 (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
3974 __LIBGCC_XF_MANT_DIG__.
3975 (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
3976 (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
3977 __LIBGCC_TF_MANT_DIG__.
3978 * libgcc2.c (NOTRUNC): Define in terms of
3979 __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
3980 * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
3981
1a849e50
JM
39822014-09-22 Joseph Myers <joseph@codesourcery.com>
3983
3984 PR target/63312
3985 * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
3986 New macros.
3987
598a1586
HPN
39882014-09-22 Hans-Peter Nilsson <hp@axis.com>
3989
3990 * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
3991 override USE_PT_GNU_EH_FRAME.
3992 [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
3993 check USE_EH_FRAME_REGISTRY_ALWAYS against
3994 __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
3995 * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
3996 variable for substituted force_explicit_eh_registry.
3997 (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
3998 * configure.ac (explicit-exception-frame-registration):
3999 New AC_ARG_ENABLE.
4000 * configure: Regenerate.
4001
3a8fe7c6
OH
40022014-09-19 Olivier Hainque <hainque@adacore.com>
4003
4004 * config.host (powerpc-wrs-vxworksmils): New configuration,
4005 same as vxworksae.
4006
dd69f047
JM
40072014-09-18 Joseph Myers <joseph@codesourcery.com>
4008
4009 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
4010
e770bfd9
JM
40112014-09-18 Joseph Myers <joseph@codesourcery.com>
4012
4013 * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
4014 bits not set bits as indicating trapping exceptions.
4015
cadb2b96
NS
40162014-09-17 Nathan sidwell <nathan@acm.org>
4017
4018 * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
4019 (LIBGCOV_DRIVER): ... here.
4020 * libgcov-driver.c (gcov_master): New.
4021 (gcov_exit): Remove from master chain.
4022 (__gcov_init): Add to master chain if version compatible. Don't
4023 clear the version.
4024 * libgcov_interface (__gcov_flust): Call gcov_dump_int.
4025 (gcov_reset_int): Clear master chain, if compatible.
4026 (gcov_dump_int): New internal interface. Dump master chain, if
4027 compatible.
4028 (gcov_dump): Alias for gcov_dump_int.
4029 * libgcov.h (struct gcov_root): Add next and prev fields.
4030 (struct gcov_master): New struct.
4031 (__gcov_master): New.
4032 (gcov_dump_int): Declare.
4033
580d22a3
OH
40342014-09-17 Olivier Hainque <hainque@adacore.com>
4035
4036 * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
4037 and crtbegin.o + crtend.o to extra_parts.
4038
8cc4b7a2
JM
40392014-09-12 Joseph Myers <joseph@codesourcery.com>
4040
4041 * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
4042 __LIBGCC_HAS_SF_MODE__.
4043 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
4044 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
4045 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
4046 * config/libbid/bid_gcc_intrinsics.h
4047 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
4048 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
4049 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
4050 * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
4051 (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
4052 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
4053
ea3f2b24
GJL
40542014-09-11 Georg-Johann Lay <avr@gjlay.de>
4055
4056 PR target/63223
4057 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
4058 and R24 as needed. Make work for all devices and .text locations.
4059 (__do_global_ctors, __do_global_dtors): Use word addresses.
4060 (__tablejump__, __tablejump_elpm__): Remove functions.
4061 * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
4062 Add _tablejump2.
4063 (XICALL, XIJMP): New macros.
4064
b677236a
MS
40652014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
4066 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
4067
4068 * config.host (aarch64*): Include crtfastmath.o and
4069 t-crtfm.
4070 * config/aarch64/crtfastmath.c: New file.
4071
157e859f
TS
40722014-09-08 Trevor Saunders <tsaunders@mozilla.com>
4073
4074 * config.host: Remove picochip support.
4075 * config/picochip/adddi3.S: Remove.
4076 * config/picochip/ashlsi3.S: Remove.
4077 * config/picochip/ashlsi3.c: Remove.
4078 * config/picochip/ashrsi3.S: Remove.
4079 * config/picochip/ashrsi3.c: Remove.
4080 * config/picochip/clzsi2.S: Remove.
4081 * config/picochip/cmpsi2.S: Remove.
4082 * config/picochip/divmod15.S: Remove.
4083 * config/picochip/divmodhi4.S: Remove.
4084 * config/picochip/divmodsi4.S: Remove.
4085 * config/picochip/lib1funcs.S: Remove.
4086 * config/picochip/longjmp.S: Remove.
4087 * config/picochip/lshrsi3.S: Remove.
4088 * config/picochip/lshrsi3.c: Remove.
4089 * config/picochip/parityhi2.S: Remove.
4090 * config/picochip/popcounthi2.S: Remove.
4091 * config/picochip/setjmp.S: Remove.
4092 * config/picochip/subdi3.S: Remove.
4093 * config/picochip/t-picochip: Remove.
4094 * config/picochip/ucmpsi2.S: Remove.
4095 * config/picochip/udivmodhi4.S: Remove.
4096 * config/picochip/udivmodsi4.S: Remove.
4097
66bb34c0
JM
40982014-09-08 Joseph Myers <joseph@codesourcery.com>
4099
4100 * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
4101 (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
4102 (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
4103 (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
4104 * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
4105 error if not defined and LIBGCC2_HAS_SF_MODE is defined.
4106 (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
4107 defined and LIBGCC2_HAS_DF_MODE is defined.
4108 (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
4109 defined and LIBGCC2_HAS_XF_MODE is defined.
4110 (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
4111 defined and LIBGCC2_HAS_TF_MODE is defined.
4112
9686a2e6
JM
41132014-09-08 Joseph Myers <joseph@codesourcery.com>
4114
4115 * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
4116 and ROUND_TOWARDS_ZERO conditionals.
4117
71c3e2ef
NS
41182014-09-07 Nathan sidwell <nathan@acm.org>
4119
4120 * libgcov-interface.c (STRONG_ALIAS): Rename to ...
4121 (ALIAS_weak): ... here. Use forwarding function. Adjust uses.
4122
53d68b9f
JM
41232014-09-05 Joseph Myers <joseph@codesourcery.com>
4124
4125 * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
4126 * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
4127 uses to __LIBGCC_STACK_POINTER_REGNUM__.
4128 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
4129 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4130 * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
4131 Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4132 * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
4133 uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
4134 (DWARF_FRAME_REGISTERS): Change all uses to
4135 __LIBGCC_DWARF_FRAME_REGISTERS__.
4136 (EH_RETURN_STACKADJ_RTX): Change all uses to
4137 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
4138 * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
4139 __LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
4140 * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
4141 use to __LIBGCC_EH_FRAME_SECTION_NAME__.
4142 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
4143 * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
4144 to __LIBGCC_EH_FRAME_SECTION_NAME__.
4145 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
4146 * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
4147 __LIBGCC_STACK_POINTER_REGNUM__.
4148 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
4149 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4150 * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
4151 to __LIBGCC_STACK_POINTER_REGNUM__.
4152 * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
4153 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4154 * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
4155 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4156 * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
4157 Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4158 (STACK_POINTER_REGNUM): Change all uses to
4159 __LIBGCC_STACK_POINTER_REGNUM__.
4160 * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
4161 use to __LIBGCC_STACK_POINTER_REGNUM__.
4162 * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
4163 uses to __LIBGCC_STACK_POINTER_REGNUM__.
4164 * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
4165 to __LIBGCC_DWARF_FRAME_REGISTERS__.
4166 * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
4167 to __LIBGCC_DWARF_FRAME_REGISTERS__.
4168 * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
4169 to __LIBGCC_STACK_POINTER_REGNUM__.
4170 * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
4171 Remove conditional definition.
4172 * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
4173 __LIBGCC_TEXT_SECTION_ASM_OP__.
4174 (EH_FRAME_SECTION_NAME): Change all uses to
4175 __LIBGCC_EH_FRAME_SECTION_NAME__.
4176 (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
4177 __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
4178 (CTORS_SECTION_ASM_OP): Change all uses to
4179 __LIBGCC_CTORS_SECTION_ASM_OP__.
4180 (DTORS_SECTION_ASM_OP): Change all uses to
4181 __LIBGCC_DTORS_SECTION_ASM_OP__.
4182 (JCR_SECTION_NAME): Change all uses to
4183 __LIBGCC_JCR_SECTION_NAME__.
4184 (INIT_SECTION_ASM_OP): Change all uses to
4185 __LIBGCC_INIT_SECTION_ASM_OP__.
4186 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
4187 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
4188 * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
4189 __LIBGCC_STACK_GROWS_DOWNWARD__.
4190 * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
4191 __LIBGCC_INIT_SECTION_ASM_OP__.
4192 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
4193 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
4194 (EH_FRAME_SECTION_NAME): Change all uses to
4195 __LIBGCC_EH_FRAME_SECTION_NAME__.
4196 * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
4197 definitions. Change all uses to
4198 __LIBGCC_VTABLE_USES_DESCRIPTORS__.
4199 * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
4200 __LIBGCC_STACK_GROWS_DOWNWARD__.
4201 (DWARF_FRAME_REGISTERS): Change all uses to
4202 __LIBGCC_DWARF_FRAME_REGISTERS__.
4203 (EH_RETURN_STACKADJ_RTX): Change all uses to
4204 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
4205 * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
4206 definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
4207 * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
4208 __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
4209 (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
4210
b20ee094
NS
42112014-09-02 Nathan sidwell <nathan@acm.org>
4212
4213 * libgcov-interface.c (STRONG_ALIAS): New.
4214 (__gcov_flush): Call __gcov_reset_int.
4215 (__gcov_reset): Strong alias for ...
4216 (__gcov_reset_ing): ... this renamed hidden version.
4217 * libgcov.h (__gcov_reset_int): New declaration.
4218
1ac83976
YS
42192014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
4220
25efdb9f
YS
4221 * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
4222 call from here...
4223 * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
4224 (__dso_handle): Define on Cygwin.
4225 * config/i386/t-cygming (crtbeginS.o): New rule.
4226 * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
4227
1ac83976
YS
4228 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
4229 declaration syntax.
4230
c6f9ea3b
SE
42312014-08-13 Steve Ellcey <sellcey@mips.com>
4232
4233 * crtstuff.c: Undef caddr_t.
4234
5b1ea7c5
SE
42352014-08-12 Steve Ellcey <sellcey@mips.com>
4236
4237 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
4238
4303c581
NS
42392014-08-07 Nathan Sidwell <nathan@acm.org>
4240
4241 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
4242 (LIBGCOV_DRIVER): ... to here.
4243 * libgcov.h (gcov_do_dump): New #define.
4244 (struct gcov_root): New.
4245 (__gcov_root): New declaration.
4246 (__gcov_dump_one): Declare.
4247 * libgcov-driver.c (gcov_list, gcov_dump_complete,
4248 run_accounted): Delete.
4249 (gcov_compute_histogram): Add LIST argument, adjust.
4250 (compute_summary): Adjust gcov_compute_histogram call.
4251 (gcov_do_dump): Not hidden, static in libgcov.
4252 (gcov_clear): Move to interface.c.
4253 (__gcov_dump_one): New, broken out of ...
4254 (gcov_exit): ... here. Make static.
4255 (__gcov_root): New.
4256 (__gcov_init): Adjust.
4257 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
4258 declarations.
4259 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
4260 (gcov_clear): Moved from driver.c. Add LIST argument.
4261 (__gcov_reset): Adjust for changed interfaces.
4262 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
4263
23742a9e
RAR
42642014-08-04 Rohit <rohitarulraj@freescale.com>
4265
4266 PR target/60102
4267 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
d406ae47 4268 based on change in SPE high register numbers and 3 HTM registers.
23742a9e 4269
b98a872b
NS
42702014-08-01 Nathan Sidwell <nathan@acm.org>
4271
4272 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
4273 LIBGCOV_INTERFACE): Reformat.
4274 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
4275 IN_GCOV_TOOL.
4276 * libgcov-interface.c: Reformat some comments.
4277 (__gcov_flush_mx): Add declaration. Tidy up definition.
4278
6adaaa1d
AM
42792014-07-31 Alan Modra <amodra@gmail.com>
4280 Peter Bergner <bergner@vnet.ibm.com>
4281
4282 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
4283 (pack_ldouble): New function.
4284 (__gcc_qadd): Use it.
4285 (__gcc_qmul): Likewise.
4286 (__gcc_qdiv): Likewise.
4287 (__gcc_qneg): Likewise.
4288 (__gcc_stoq): Likewise.
4289 (__gcc_dtoq): Likewise.
4290
87cb0c0c
UW
42912014-07-30 J. D. Johnston <jjohnst@us.ibm.com>
4292
4293 * config/s390/tpf-unwind.h: Include <stdbool.h>.
4294 (__tpf_eh_return): Add original return address as second parameter.
4295 Handle cases where unwinder routines were called directly, instead
4296 of from within the C++ library.
4297
19926161
NS
42982014-07-29 Nathan Sidwell <nathan@acm.org>
4299
4300 * libgcov.h: Move renaming of entry points to lib gcov specific
4301 portion.
4302 (gcov_do_dump): New rename.
4303 (gcov_rewrite): Remove inline, make HIDDEN.
4304 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
4305 (gcov_exit_compute_summary): Rename to ...
4306 (compute_summary): ... here. Add LIST argument.
4307 (gcov_exit_merge_gcda): Rename to ...
4308 (merge_one_data): ... here.
4309 (gcov_exit_write_gcda): Rename to ...
4310 (write_one_data): ... here.
4311 (gcov_exit_merge_summary): Rename to ...
4312 (merge_summary): Add RUN_COUNTED argument.
4313 (gcov_exit_dump_gcov): Rename to ...
4314 (dump_one_gcov): Add RUN_COUNTED argument.
4315 (gcov_do_dump): New function, broken out of ...
4316 (gcov_exit): ... here. Call it.
4317
17522262
AG
43182014-07-27 Anthony Green <green@moxielogic.com>
4319
4320 * config.host: Add moxiebox configuration suppport.
4321
6dc33097
NS
43222014-07-27 Nathan Sidwell <nathan@acm.org>
4323
4324 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
4325 (struct gcov_filename): ... here. Include buffer and max length
4326 fields.
4327 (gcov_max_filename): Remove.
4328 (gi_filename): Remove.
4329 (gcov_exit_compute_summary): Compute max filename here.
4330 (gcov_exit_merge_gcda): Add filename parm, adjust.
4331 (gcov_exit_merge_summary): Likewise.
4332 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
4333 (gcov_exit): Likewise.
4334 (__gcov_init): Don't calculate max length here.
4335 * libgcov_util.c (max_filename_len): Remove.
4336 (read_gcda_file): Don't calculate max length here.
4337 (gcov_read_profile_dir): Don't propagate here.
4338 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
4339 struct gcov_filename changes.
4340 (gcov_exit_open_gcda_file): Likewise.
4341
770f687d
NS
43422014-07-25 Nathan Sidwell <nathan@acm.org>
4343
4344 * libgcov-driver.c (set_gcov_dump_complete,
4345 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
4346 functions polluting user's namespace.
4347 (gcov_exit): Set variable directly.
4348 (gcov_clear): Reset variable directly.
4349 * libgcov-interface.c (get_gcov_dymp_complete,
4350 reset_gov_dump_complete): Remove declarations.
4351 (__gcov_reset, __gcov_dump): Don't call them.
4352
fabf71ba
DD
43532014-07-24 DJ Delorie <dj@redhat.com>
4354
4355 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
770f687d
NS
4356 (__gcc_deregister_frame): Move logic to detect deregister function
4357 to ...
4358 (__gcc_register_frame): here, so it's consistent with the register
4359 logic.
fabf71ba 4360
d10ee722
NS
43612014-07-23 Nathan Sidwell <nathan@acm.org>
4362
4363 * libgcov-driver.c (set_gcov_list): Remove.
4364 (gcov_list): Make non-static in GCOV_TOOL.
4365 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
4366
a4137090
JDA
43672014-07-17 John David Anglin <danglin@gcc.gnu.org>
4368
4369 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
4370 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
4371 Don't use SYNC_LOCK_RELEASE for int type.
4372
72602c6c
RB
43732014-07-14 Richard Biener <rguenther@suse.de>
4374
4375 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
4376
d5313205
RX
43772014-07-11 Rong Xu <xur@google.com>
4378
4379 * libgcov-util.c (gcov_max_filename): Fix declartion.
4380
c77556a5
RX
43812014-07-10 Rong Xu <xur@google.com>
4382
4383 Add gcov-tool: an offline gcda profile processing tool
4384 Support.
4385 * libgcov-driver.c (gcov_max_filename): Make available
4386 to gcov-tool.
4387 * libgcov-merge.c (__gcov_merge_add): Replace
4388 gcov_read_counter() with a Macro.
4389 (__gcov_merge_ior): Ditto.
4390 (__gcov_merge_time_profile): Ditto.
4391 (__gcov_merge_single): Ditto.
4392 (__gcov_merge_delta): Ditto.
4393 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
4394 in the utility functions.
4395 (set_fn_ctrs): Utility function for reading gcda files to in-memory
4396 gcov_list object link lists.
4397 (tag_function): Ditto.
4398 (tag_blocks): Ditto.
4399 (tag_arcs): Ditto.
4400 (tag_lines): Ditto.
4401 (tag_counters): Ditto.
4402 (tag_summary): Ditto.
4403 (read_gcda_finalize): Ditto.
4404 (read_gcda_file): Ditto.
4405 (ftw_read_file): Ditto.
4406 (read_profile_dir_init): Ditto.
4407 (gcov_read_profile_dir): Ditto.
4408 (gcov_read_counter_mem): Ditto.
4409 (gcov_get_merge_weight): Ditto.
4410 (merge_wrapper): A wrapper function that calls merging handler.
4411 (gcov_merge): Merge two gcov_info objects with weights.
4412 (find_match_gcov_info): Find the matched gcov_info in the list.
4413 (gcov_profile_merge): Merge two gcov_info object lists.
4414 (__gcov_add_counter_op): Process edge profile counter values.
4415 (__gcov_ior_counter_op): Process IOR profile counter values.
4416 (__gcov_delta_counter_op): Process delta profile counter values.
4417 (__gcov_single_counter_op): Process single profile counter values.
4418 (fp_scale): Callback function for float-point scaling.
cc86234f 4419 (int_scale): Callback function for integer fraction scaling.
c77556a5
RX
4420 (gcov_profile_scale): Scaling profile counters.
4421 (gcov_profile_normalize): Normalize profile counters.
4422 * libgcov.h: Add headers and functions for gcov-tool use.
4423 (gcov_get_counter): New.
4424 (gcov_get_counter_target): Ditto.
4425 (struct gcov_info): Make the functions field mutable in gcov-tool
4426 compilation.
4427
5c7dac8a
KT
44282014-06-23 Kai Tietz <ktietz@redhat.com>
4429
4430 PR libgcc/61585
4431 * unwind-seh.c (_Unwind_GetGR): Check for proper
4432 index range.
4433 (_Unwind_SetGR): Likewise.
4434
161c9312
NC
44352014-05-22 Nick Clifton <nickc@redhat.com>
4436
4437 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
4438 -mhwmult=none.
4439
e3f0315f
TJ
44402014-05-22 Teresa Johnson <tejohnson@google.com>
4441
4442 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
4443 include.
4444
dbed5a9b
JM
44452014-05-20 John Marino <gnugcc@marino.st>
4446
4447 * config.host (*-*-dragonfly*): New target.
4448 * crtstuff.c: Make dl_iterate_support generic on *bsd.
4449 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
4450 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
4451 * config/i386/dragonfly-unwind.h: New.
4452
1ec380e5
MR
44532014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
4454
4455 PR libgcc/60166
4456 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
4457 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
4458
54fde020
BE
44592014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
4460
4461 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
4462 implementation.
4463
999db125
GJL
44642014-05-12 Georg-Johann Lay <avr@gjlay.de>
4465
4466 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
4467
cceaf54a
RO
44682014-05-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4469
4470 PR libgcc/61097
4471 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
4472 if --enable-shared.
4473
e3fe9b5b
BE
44742014-04-30 Bernd Edlinger <bernd.edlinger@hotmail.de>
4475
4476 Work around for current cygwin32 build problems.
4477 * config/i386/cygming-crtbegin.c (__register_frame_info,
4478 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
4479 functions only for 64-bit systems.
4480
54cf37e9
RO
44812014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4482
4483 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
4484 (sigill_caught, sigill_hdlr): Remove.
4485
d9f069ab
RO
44862014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4487
4488 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
4489 check.
4490 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
4491 Solaris 9 single-threaded support.
4492 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
4493 Solaris 9 single-threaded support. Add call_user_handler code
4494 sequences.
4495 (sparc_is_sighandler): Likewise.
4496
59976ef8
AK
44972014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4498
4499 * config.host: Append t-floattodi to tmake_file depending on
4500 host_address.
4501
d02bbcf3
JS
45022014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
4503
31466bc0 4504 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
d02bbcf3 4505
c2e7e597
UB
45062014-03-10 Uros Bizjak <ubizjak@gmail.com>
4507
4508 PR libgcc/60472
4509 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
2405e0ea 4510 variable to avoid "array subscript is above array bounds" warnings.
c2e7e597
UB
4511 Use __builtin_expect when checking *jcr_list for NULL.
4512
227a7dc8
RO
45132014-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4514
4515 PR libgcc/59339
4516 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
4517 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
4518 vtv_*.o to extra_parts if enable_vtable_verify.
4519
df2b279c
NC
45202014-03-06 Nick Clifton <nickc@redhat.com>
4521
4522 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
4523 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
4524
dc11d79b
JY
45252014-02-28 Joey Ye <joey.ye@arm.com>
4526
4527 PR libgcc/60166
4528 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
4529 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
4530 Set to zero.
4531
341c653c
WL
45322014-02-24 Walter Lee <walt@tilera.com>
4533
4534 * config.host: Support "tilegx*" and "tilepro*" triplets.
4535 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
4536 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
4537
95ce7613
CLT
45382014-02-20 Sandra Loosemore <sandra@codesourcery.com>
4539 Chung-Lin Tang <cltang@codesourcery.com>
4540
4541 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
4542 * config/nios2/crti.S: Remove .file directive.
4543 * config/nios2/crtn.S: Likewise.
4544
0bb4fc05
KT
45452014-02-18 Kai Tietz <ktietz@redhat.com>
4546 Jonathan Schleifer <js@webkeks.org>
4547
4548 PR objc/56870
4549 * unwind-seh.c (_GCC_specific_handler): Pass proper
4550 value to unwind-handler.
4551
9acf28f1
JM
45522014-02-12 Joseph Myers <joseph@codesourcery.com>
4553
4554 * soft-fp/adddf3.c: Update from glibc.
4555 * soft-fp/addsf3.c: Likewise.
4556 * soft-fp/addtf3.c: Likewise.
4557 * soft-fp/divdf3.c: Likewise.
4558 * soft-fp/divsf3.c: Likewise.
4559 * soft-fp/divtf3.c: Likewise.
4560 * soft-fp/double.h: Likewise.
4561 * soft-fp/eqdf2.c: Likewise.
4562 * soft-fp/eqsf2.c: Likewise.
4563 * soft-fp/eqtf2.c: Likewise.
4564 * soft-fp/extenddftf2.c: Likewise.
4565 * soft-fp/extended.h: Likewise.
4566 * soft-fp/extendsfdf2.c: Likewise.
4567 * soft-fp/extendsftf2.c: Likewise.
4568 * soft-fp/extendxftf2.c: Likewise.
4569 * soft-fp/fixdfdi.c: Likewise.
4570 * soft-fp/fixdfsi.c: Likewise.
4571 * soft-fp/fixdfti.c: Likewise.
4572 * soft-fp/fixsfdi.c: Likewise.
4573 * soft-fp/fixsfsi.c: Likewise.
4574 * soft-fp/fixsfti.c: Likewise.
4575 * soft-fp/fixtfdi.c: Likewise.
4576 * soft-fp/fixtfsi.c: Likewise.
4577 * soft-fp/fixtfti.c: Likewise.
4578 * soft-fp/fixunsdfdi.c: Likewise.
4579 * soft-fp/fixunsdfsi.c: Likewise.
4580 * soft-fp/fixunsdfti.c: Likewise.
4581 * soft-fp/fixunssfdi.c: Likewise.
4582 * soft-fp/fixunssfsi.c: Likewise.
4583 * soft-fp/fixunssfti.c: Likewise.
4584 * soft-fp/fixunstfdi.c: Likewise.
4585 * soft-fp/fixunstfsi.c: Likewise.
4586 * soft-fp/fixunstfti.c: Likewise.
4587 * soft-fp/floatdidf.c: Likewise.
4588 * soft-fp/floatdisf.c: Likewise.
4589 * soft-fp/floatditf.c: Likewise.
4590 * soft-fp/floatsidf.c: Likewise.
4591 * soft-fp/floatsisf.c: Likewise.
4592 * soft-fp/floatsitf.c: Likewise.
4593 * soft-fp/floattidf.c: Likewise.
4594 * soft-fp/floattisf.c: Likewise.
4595 * soft-fp/floattitf.c: Likewise.
4596 * soft-fp/floatundidf.c: Likewise.
4597 * soft-fp/floatundisf.c: Likewise.
4598 * soft-fp/floatunditf.c: Likewise.
4599 * soft-fp/floatunsidf.c: Likewise.
4600 * soft-fp/floatunsisf.c: Likewise.
4601 * soft-fp/floatunsitf.c: Likewise.
4602 * soft-fp/floatuntidf.c: Likewise.
4603 * soft-fp/floatuntisf.c: Likewise.
4604 * soft-fp/floatuntitf.c: Likewise.
4605 * soft-fp/gedf2.c: Likewise.
4606 * soft-fp/gesf2.c: Likewise.
4607 * soft-fp/getf2.c: Likewise.
4608 * soft-fp/ledf2.c: Likewise.
4609 * soft-fp/lesf2.c: Likewise.
4610 * soft-fp/letf2.c: Likewise.
4611 * soft-fp/muldf3.c: Likewise.
4612 * soft-fp/mulsf3.c: Likewise.
4613 * soft-fp/multf3.c: Likewise.
4614 * soft-fp/negdf2.c: Likewise.
4615 * soft-fp/negsf2.c: Likewise.
4616 * soft-fp/negtf2.c: Likewise.
4617 * soft-fp/op-1.h: Likewise.
4618 * soft-fp/op-2.h: Likewise.
4619 * soft-fp/op-4.h: Likewise.
4620 * soft-fp/op-8.h: Likewise.
4621 * soft-fp/op-common.h: Likewise.
4622 * soft-fp/quad.h: Likewise.
4623 * soft-fp/single.h: Likewise.
4624 * soft-fp/soft-fp.h: Likewise.
4625 * soft-fp/subdf3.c: Likewise.
4626 * soft-fp/subsf3.c: Likewise.
4627 * soft-fp/subtf3.c: Likewise.
4628 * soft-fp/truncdfsf2.c: Likewise.
4629 * soft-fp/trunctfdf2.c: Likewise.
4630 * soft-fp/trunctfsf2.c: Likewise.
4631 * soft-fp/trunctfxf2.c: Likewise.
4632 * soft-fp/unorddf2.c: Likewise.
4633 * soft-fp/unordsf2.c: Likewise.
4634 * soft-fp/unordtf2.c: Likewise.
4635 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
4636 macro.
4637 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4638 Likewise.
4639 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4640 Likewise.
4641 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4642 Likewise.
4643 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4644 Likewise.
4645 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4646 Likewise.
4647 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4648 Likewise.
4649 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4650 Likewise.
4651 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4652 Likewise.
4653 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4654 Likewise.
4655 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4656 Likewise.
4657 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4658 Likewise.
4659 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4660 Likewise.
4661 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
4662 Likewise.
4663 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
4664 Likewise.
4665 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4666 Likewise.
4667
ce245ec6
AK
46682014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4669
4670 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
4671 cannot be represented.
4672 * config/s390/32/_fixsfdi.c: Likewise.
4673 * config/s390/32/_fixtfdi.c: Likewise.
4674 * config/s390/32/_fixunsdfdi.c: Likewise.
4675 * config/s390/32/_fixunssfdi.c: Likewise.
4676 * config/s390/32/_fixunstfdi.c: Likewise.
4677
1c51d688
RS
46782014-02-07 Richard Sandiford <rdsandiford@googlemail.com>
4679
4680 * configure.ac (libgcc_cv_mips_hard_float): New.
4681 * configure: Regenerate.
4682 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
4683 t-softfp-sfdf for hard-float targets.
4684 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
4685 (softfp_float_modes, softfp_int_modes, softfp_extensions)
4686 (softfp_truncations, softfp_exclude_libgcc2): New.
4687 * config/t-hardfp: New file.
4688 * config/t-hardfp-sfdf: Likewise.
4689 * config/hardfp.c: Likewise.
4690
bbf391db
AK
46912014-02-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4692
4693 * config.host: Include t-floattodi also for s390x.
4694 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
4695 * config/s390/32/_fixsfdi.c: Likewise.
4696 * config/s390/32/_fixtfdi.c: Likewise.
4697 * config/s390/32/_fixunsdfdi.c: Likewise.
4698 * config/s390/32/_fixunssfdi.c: Likewise.
4699 * config/s390/32/_fixunstfdi.c: Likewise.
4700
91da0481
RO
47012014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4702
4703 PR target/59788
4704 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
4705 (install-libgcc-unwind-map-forbuild): New target.
4706 (all): Depend on install-libgcc-unwind-map-forbuild.
4707 (install-libgcc-unwind-map): New target.
4708 (install): Depend on install-libgcc-unwind-map.
4709
02b67731
SL
47102014-02-02 Sandra Loosemore <sandra@codesourcery.com>
4711
4712 * config/nios2/crti.S (_init): Initialize GOT pointer from
4713 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
4714
1ea0a651
RS
47152014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
4716
4717 * configure.ac: Check __mips64 when setting host_address.
4718 * configure: Regenerate.
4719 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
4720 mips/t-mips64 and t-softfp.
4721 (mips*-*-linux*): Don't add mips/t-tpbit.
4722 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
4723 (DPBIT, DPBIT_CFLAGS): Delete.
4724 * config/mips/sfp-machine.h: New file.
4725 * config/mips/t-mips64: Likewise.
4726 * config/mips/t-softfp-tf: Likewise.
4727 * config/mips/t-tpbit: Delete.
4728
f32b0061
MS
47292014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
4730
4731 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
4732 as long long.
4733
a5420aa4
WL
47342014-01-25 Walter Lee <walt@tilera.com>
4735
4736 * config/tilepro/atomic.c: Include tconfig.h. Don't include
4737 config.h or system.h.
4738 (bool) Define.
4739
24534912
WL
47402014-01-25 Walter Lee <walt@tilera.com>
4741
4742 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
4743 (post_atomic_barrier): Ditto.
4744 (__fetch_and_do): New macro.
4745 (__atomic_fetch_and_do): Use __fetch_and_do.
4746 (__sync_fetch_and_do): New macro.
4747 (__sync_fetch_and_add_4): New function.
4748 (__sync_fetch_and_sub_4): New function.
4749 (__sync_fetch_and_or_4): New function.
4750 (__sync_fetch_and_and_4): New function.
4751 (__sync_fetch_and_xor_4): New function.
4752 (__sync_fetch_and_nand_4): New function.
4753 (__sync_fetch_and_add_8): New function.
4754 (__sync_fetch_and_sub_8): New function.
4755 (__sync_fetch_and_or_8): New function.
4756 (__sync_fetch_and_and_8): New function.
4757 (__sync_fetch_and_xor_8): New function.
4758 (__sync_fetch_and_nand_8): New function.
4759 (__do_and_fetch): New macro.
4760 (__atomic_do_and_fetch): Use __do_and_fetch.
4761 (__sync_do_and_fetch): New macro.
4762 (__sync_add_and_fetch_4): New function.
4763 (__sync_sub_and_fetch_4): New function.
4764 (__sync_or_and_fetch_4): New function.
4765 (__sync_and_and_fetch_4): New function.
4766 (__sync_xor_and_fetch_4): New function.
4767 (__sync_nand_and_fetch_4): New function.
4768 (__sync_add_and_fetch_8): New function.
4769 (__sync_sub_and_fetch_8): New function.
4770 (__sync_or_and_fetch_8): New function.
4771 (__sync_and_and_fetch_8): New function.
4772 (__sync_xor_and_fetch_8): New function.
4773 (__sync_nand_and_fetch_8): New function.
4774 (__sync_exchange_methods): New macro.
4775 (__sync_val_compare_and_swap_4): New function.
4776 (__sync_bool_compare_and_swap_4): New function.
4777 (__sync_lock_test_and_test_4): New function.
4778 (__sync_val_compare_and_swap_8): New function.
4779 (__sync_bool_compare_and_swap_8): New function.
4780 (__sync_lock_test_and_test_8): New function.
4781 (__subword_cmpxchg_body): New macro.
4782 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
4783 (__atomic_compare_exchange_2): Ditto.
4784 (__sync_subword_cmpxchg): New macro.
4785 (__sync_val_compare_and_swap_1): New function.
4786 (__sync_bool_compare_and_swap_1): New function.
4787 (__sync_val_compare_and_swap_2): New function.
4788 (__sync_bool_compare_and_swap_2): New function.
4789 (__atomic_subword): Rename to ...
4790 (__subword): ... New name.
4791 (__atomic_subword_fetch): Use __subword.
4792 (__sync_subword_fetch): New macro.
4793 (__sync_fetch_and_add_1): New function.
4794 (__sync_fetch_and_sub_1): New function.
4795 (__sync_fetch_and_or_1): New function.
4796 (__sync_fetch_and_and_1): New function.
4797 (__sync_fetch_and_xor_1): New function.
4798 (__sync_fetch_and_nand_1): New function.
4799 (__sync_fetch_and_add_2): New function.
4800 (__sync_fetch_and_sub_2): New function.
4801 (__sync_fetch_and_or_2): New function.
4802 (__sync_fetch_and_and_2): New function.
4803 (__sync_fetch_and_xor_2): New function.
4804 (__sync_fetch_and_nand_2): New function.
4805 (__sync_add_and_fetch_1): New function.
4806 (__sync_sub_and_fetch_1): New function.
4807 (__sync_or_and_fetch_1): New function.
4808 (__sync_and_and_fetch_1): New function.
4809 (__sync_xor_and_fetch_1): New function.
4810 (__sync_nand_and_fetch_1): New function.
4811 (__sync_add_and_fetch_2): New function.
4812 (__sync_sub_and_fetch_2): New function.
4813 (__sync_or_and_fetch_2): New function.
4814 (__sync_and_and_fetch_2): New function.
4815 (__sync_xor_and_fetch_2): New function.
4816 (__sync_nand_and_fetch_2): New function.
4817 (__atomic_subword_lock): Use __subword.
4818 (__sync_subword_lock): New macro.
4819 (__sync_lock_test_and_set_1): New function.
4820 (__sync_lock_test_and_set_2): New function.
4821
4d6d3bc5
WL
48222014-01-25 Walter Lee <walt@tilera.com>
4823
4824 * config/tilepro/atomic.c (BIT_OFFSET): Define.
4825 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
4826 (__atomic_subword): Ditto.
4827
cbd9890e
WL
48282014-01-25 Walter Lee <walt@tilera.com>
4829
4830 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
4831 a prefix op argument.
4832 (__atomic_nand_fetch_4): Add prefix op.
4833 (__atomic_nand_fetch_8): Ditto.
4834
7d296953 48352014-01-21 Baruch Siach <barch@tkos.co.il>
800d8bd5
BS
4836
4837 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
4838
46dd1242
L
48392014-01-09 Rong Xu <xur@google.com>
4840
4841 * libgcov-driver.c (this_prg): make it local to save
4842 bss space.
4843 (gcov_exit_compute_summary): Ditto.
4844 (gcov_exit_merge_gcda): Ditto.
4845 (gcov_exit_merge_summary): Ditto.
4846 (gcov_exit_dump_gcov): Ditto.
4847
cc86234f 48482014-01-08 Rong Xu <xur@google.com>
40d6b753
RX
4849
4850 * libgcov-driver.c: Use libgcov.h.
4851 (buffer_fn_data): Use xmalloc instead of malloc.
4852 (gcov_exit_merge_gcda): Ditto.
4853 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
4854 * libgcov.h: New common header files for libgcov-*.h.
4855 * libgcov-interface.c: Use libgcov.h
4856 * libgcov-merge.c: Ditto.
4857 * libgcov-profiler.c: Ditto.
4858 * Makefile.in: Add dependence to libgcov.h
4859
a02e7bdd
JM
48602014-01-02 Joseph Myers <joseph@codesourcery.com>
4861
4862 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
4863 case of small numerator and finite nonzero result.
4864
ac1dca3c
RS
48652014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
4866
4867 Update copyright years
4868
f9030485
RS
48692014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
4870
4871 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
4872 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
4873 config/arc/dp-hack.h, config/arc/fp-hack.h,
4874 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
4875 config/arc/ieee-754/arc600-dsp/divdf3.S,
4876 config/arc/ieee-754/arc600-dsp/divsf3.S,
4877 config/arc/ieee-754/arc600-dsp/muldf3.S,
4878 config/arc/ieee-754/arc600-dsp/mulsf3.S,
4879 config/arc/ieee-754/arc600-mul64/divdf3.S,
4880 config/arc/ieee-754/arc600-mul64/divsf3.S,
4881 config/arc/ieee-754/arc600-mul64/muldf3.S,
4882 config/arc/ieee-754/arc600-mul64/mulsf3.S,
4883 config/arc/ieee-754/arc600/divsf3.S,
4884 config/arc/ieee-754/arc600/mulsf3.S,
4885 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
4886 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
4887 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
4888 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
4889 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
4890 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
4891 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
4892 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
4893 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
4894 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
4895 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
4896 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
4897 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
4898 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
4899 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
4900 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
4901 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
4902 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
4903 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
4904 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
4905 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
4906 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
4907 vtv_start_preinit.c: Use the standard form for the copyright notice.
4908
e430824f
CLT
49092013-12-31 Sandra Loosemore <sandra@codesourcery.com>
4910 Chung-Lin Tang <cltang@codesourcery.com>
4911 Based on patches from Altera Corporation
4912
4913 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
4914 * config/nios2/lib2-nios2.h: New file.
4915 * config/nios2/lib2-divmod-hi.c: New file.
4916 * config/nios2/linux-unwind.h: New file.
4917 * config/nios2/lib2-divmod.c: New file.
4918 * config/nios2/linux-atomic.c: New file.
4919 * config/nios2/t-nios2: New file.
4920 * config/nios2/crti.asm: New file.
4921 * config/nios2/t-linux: New file.
4922 * config/nios2/lib2-divtable.c: New file.
4923 * config/nios2/lib2-mul.c: New file.
4924 * config/nios2/tramp.c: New file.
4925 * config/nios2/crtn.asm: New file.
4926
1879e97f
UB
49272013-12-26 Uros Bizjak <ubizjak@gmail.com>
4928
4929 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
4930 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
4931 from cpuid.h to check vendor signatures.
4932
f4a4bdbb
GG
49332013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
4934
c2e7e597 4935 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
f4a4bdbb
GG
4936 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
4937 (get_amd_cpu): Likewise.
4938
8d2ae544
L
49392013-12-25 H.J. Lu <hongjiu.lu@intel.com>
4940
4941 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
4942 Haswell.
4943
74924838
ASJ
49442013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
4945 H.J. Lu <hongjiu.lu@intel.com>
4946
0bb52f25
L
4947 PR target/59422
4948 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
74924838
ASJ
4949 and AMD_JAGUAR.
4950 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
4951 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
4952 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
4953 FEATURE_XOP and FEATURE_FMA.
4954 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
4955 AMDFAM15H_BDVER3.
4956 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
0bb52f25 4957 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
74924838
ASJ
4958 FEATURE_FMA4 and FEATURE_XOP.
4959
d3c11974
L
49602013-12-23 H.J. Lu <hongjiu.lu@intel.com>
4961
4962 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
4963 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
4964 (get_intel_cpu): Updated.
4965
064c4ff2
ZC
49662013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
4967
4968 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
4969
8b02e720
UB
49702013-12-09 Uros Bizjak <ubizjak@gmail.com>
4971
4972 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
1f71a3c3 4973 instructions when __SSE_MATH__ is defined.
8b02e720 4974
3fa2ccb4
RC
49752013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
4976
4977 * config.host (microblaze-*-rtems*): New.
4978
ecd78fc9
KV
49792013-12-04 Kugan Vivekanandarajah <kuganv@linaro.org>
4980
4981 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
4982 architectures that do not have hardware divide instruction.
4983 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
4984
b21fbbd2
RS
49852013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
4986
4987 * longlong.h: Delete (moved to include/).
4988
b03fb8c9
AZ
49892013-12-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4990
4991 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
4992 of normal number and qNaN to not raise an inexact exception.
4993
3c716922
UB
49942013-11-28 Uros Bizjak <ubizjak@gmail.com>
4995
4996 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
4997
49982013-11-28 Matthew Leach <matthew.leach@arm.com>
cceeb9a9
ML
4999
5000 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
5001 for correct opcodes on BE.
5002
a3458d22
UB
50032013-11-27 Uros Bizjak <ubizjak@gmail.com>
5004
5005 * soft-fp/op-4.h: Update from glibc.
5006
30b8f78b
KV
50072013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
5008
5009 * libgcc2.c (__udivmoddi4): Define new implementation when
5010 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
5011 divide instructions.
5012
82552a29
OE
50132013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
5014
5015 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
5016
80e87457
RO
50172013-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5018
5019 * config/t-softfp (soft-fp-objects-base): New variable.
5020 (soft-fp-objects): Use it.
5021
44178879
DE
50222013-11-23 David Edelson <dje.gcc@gmail.com>
5023 Andrew Dixie <andrewd@gentrack.com>
5024
5025 PR target/33704
5026 * config/rs6000/aixinitfini.c: New file.
5027 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
5028 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
5029 symbols.
5030
e5287671
YR
50312013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
5032
a3458d22 5033 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
e5287671 5034
867c8b03
JH
50352013-11-18 Jan Hubicka <jh@suse.cz>
5036
7f369373
JH
5037 * libgcov-driver.c (run_accounted): Make global level static.
5038 (gcov_exit_merge_summary): Silence warning; do not clear
5039 run_accounted here.
5040 (gcov_exit): Clear it here.
5041
1d0b3334
JH
5042 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
5043 run_accounted.
5044
867c8b03
JH
5045 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
5046 (all_prg, crc32): Remove static vars.
5047 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
5048 all_prg.
5049 (gcov_exit_merge_gcda): Add crc32 parameter.
5050 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
5051 do not account run if it was already accounted.
5052 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
5053 (gcov_exit): Initialize all_prg; update.
5054
66204992
AS
50552013-11-15 Andreas Schwab <schwab@linux-m68k.org>
5056
5057 * configure: Regenerate.
5058
b54214fe
UW
50592013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5060 Alan Modra <amodra@gmail.com>
5061
5062 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
5063 (frob_update_context): Use it.
5064
50652013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5066 Alan Modra <amodra@gmail.com>
5067
5068 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
5069 (trampoline_initial): Provide ELFv2 variant.
5070 (__trampoline_setup): Likewise.
5071
5072 * config/rs6000/linux-unwind.h (frob_update_context): Do not
5073 check for AIX indirect function call sequence if _CALL_ELF == 2.
5074
50752013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5076 Alan Modra <amodra@gmail.com>
5077
5078 * config/rs6000/linux-unwind.h (get_regs): Do not support
5079 old kernel versions if _CALL_ELF == 2.
5080 (frob_update_context): Do not support PLT stub variants only
5081 generated by old linkers if _CALL_ELF == 2.
5082
13e0981a
UW
50832013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5084 Alan Modra <amodra@gmail.com>
5085
5086 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
5087 location of CR save area for 64-bit little-endian systems.
5088
1a80085d
EB
50892013-11-11 Eric Botcazou <ebotcazou@adacore.com>
5090
5091 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
5092 in tmake_file.
5093 * config/arm/t-vxworks: Delete.
5094
cabeea52
KT
50952013-11-10 Kai Tietz <ktietz@redhat.com>
5096
5097 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
5098 Increment load-count on use of LIBGCC_SONAME DLL.
5099 (hmod_libgcc): New static variable to hold handle of
5100 LIBGCC_SONAME DLL.
5101 (__gcc_deregister_frame): Decrement load-count of
5102 LIBGCC_SONAME DLL.
5103
ac088ba1
BRF
51042013-11-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
5105
5106 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
5107 availability.
5108 * configure: Regenerate
5109
d59a8fcc
UB
51102013-11-07 Uros Bizjak <ubizjak@gmail.com>
5111
5112 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
5113 FP_EX_DENORM. Store result to volatile location after SSE division
5114 to close interrupt window. Remove unneeded fwait after x87
5115 division since interrupt window will be closed by emitted fstp.
9de84e84 5116 Rewrite FP_EX_INEXACT handling.
d59a8fcc 5117
9954c743
JM
51182013-11-06 Joseph Myers <joseph@codesourcery.com>
5119
5120 * soft-fp/README: Update.
5121 * soft-fp/adddf3.c: Update from glibc.
5122 * soft-fp/addsf3.c: Likewise.
5123 * soft-fp/addtf3.c: Likewise.
5124 * soft-fp/divdf3.c: Likewise.
5125 * soft-fp/divsf3.c: Likewise.
5126 * soft-fp/divtf3.c: Likewise.
5127 * soft-fp/double.h: Likewise.
5128 * soft-fp/eqdf2.c: Likewise.
5129 * soft-fp/eqsf2.c: Likewise.
5130 * soft-fp/eqtf2.c: Likewise.
5131 * soft-fp/extenddftf2.c: Likewise.
5132 * soft-fp/extended.h: Likewise.
5133 * soft-fp/extendsfdf2.c: Likewise.
5134 * soft-fp/extendsftf2.c: Likewise.
5135 * soft-fp/extendxftf2.c: Likewise.
5136 * soft-fp/fixdfdi.c: Likewise.
5137 * soft-fp/fixdfsi.c: Likewise.
5138 * soft-fp/fixdfti.c: Likewise.
5139 * soft-fp/fixsfdi.c: Likewise.
5140 * soft-fp/fixsfsi.c: Likewise.
5141 * soft-fp/fixsfti.c: Likewise.
5142 * soft-fp/fixtfdi.c: Likewise.
5143 * soft-fp/fixtfsi.c: Likewise.
5144 * soft-fp/fixtfti.c: Likewise.
5145 * soft-fp/fixunsdfdi.c: Likewise.
5146 * soft-fp/fixunsdfsi.c: Likewise.
5147 * soft-fp/fixunsdfti.c: Likewise.
5148 * soft-fp/fixunssfdi.c: Likewise.
5149 * soft-fp/fixunssfsi.c: Likewise.
5150 * soft-fp/fixunssfti.c: Likewise.
5151 * soft-fp/fixunstfdi.c: Likewise.
5152 * soft-fp/fixunstfsi.c: Likewise.
5153 * soft-fp/fixunstfti.c: Likewise.
5154 * soft-fp/floatdidf.c: Likewise.
5155 * soft-fp/floatdisf.c: Likewise.
5156 * soft-fp/floatditf.c: Likewise.
5157 * soft-fp/floatsidf.c: Likewise.
5158 * soft-fp/floatsisf.c: Likewise.
5159 * soft-fp/floatsitf.c: Likewise.
5160 * soft-fp/floattidf.c: Likewise.
5161 * soft-fp/floattisf.c: Likewise.
5162 * soft-fp/floattitf.c: Likewise.
5163 * soft-fp/floatundidf.c: Likewise.
5164 * soft-fp/floatundisf.c: Likewise.
5165 * soft-fp/floatunditf.c: Likewise.
5166 * soft-fp/floatunsidf.c: Likewise.
5167 * soft-fp/floatunsisf.c: Likewise.
5168 * soft-fp/floatunsitf.c: Likewise.
5169 * soft-fp/floatuntidf.c: Likewise.
5170 * soft-fp/floatuntisf.c: Likewise.
5171 * soft-fp/floatuntitf.c: Likewise.
5172 * soft-fp/gedf2.c: Likewise.
5173 * soft-fp/gesf2.c: Likewise.
5174 * soft-fp/getf2.c: Likewise.
5175 * soft-fp/ledf2.c: Likewise.
5176 * soft-fp/lesf2.c: Likewise.
5177 * soft-fp/letf2.c: Likewise.
5178 * soft-fp/muldf3.c: Likewise.
5179 * soft-fp/mulsf3.c: Likewise.
5180 * soft-fp/multf3.c: Likewise.
5181 * soft-fp/negdf2.c: Likewise.
5182 * soft-fp/negsf2.c: Likewise.
5183 * soft-fp/negtf2.c: Likewise.
5184 * soft-fp/op-1.h: Likewise.
5185 * soft-fp/op-2.h: Likewise.
5186 * soft-fp/op-4.h: Likewise.
5187 * soft-fp/op-8.h: Likewise.
5188 * soft-fp/op-common.h: Likewise.
5189 * soft-fp/quad.h: Likewise.
5190 * soft-fp/single.h: Likewise.
5191 * soft-fp/soft-fp.h: Likewise.
5192 * soft-fp/subdf3.c: Likewise.
5193 * soft-fp/subsf3.c: Likewise.
5194 * soft-fp/subtf3.c: Likewise.
5195 * soft-fp/truncdfsf2.c: Likewise.
5196 * soft-fp/trunctfdf2.c: Likewise.
5197 * soft-fp/trunctfsf2.c: Likewise.
5198 * soft-fp/trunctfxf2.c: Likewise.
5199 * soft-fp/unorddf2.c: Likewise.
5200 * soft-fp/unordsf2.c: Likewise.
5201 * soft-fp/unordtf2.c: Likewise.
5202
02ac9503
UB
52032013-11-05 Uros Bizjak <ubizjak@gmail.com>
5204
5205 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
5206 (_FP_MUL_MEAT_D): Ditto.
5207 (_FP_DIV_MEAT_S): Ditto.
5208 (_FP_DIV_MEAT_D): Ditto.
5209 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
5210 t-softfp-sfdf and t-softfp to tmake_file.
5211
61221141
UB
52122013-11-03 Uros Bizjak <ubizjak@gmail.com>
5213
5214 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
5215 * config/i386/crtprec.c: Ditto.
5216
9304f876
CJW
52172013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
5218 Shiva Chen <shiva0217@gmail.com>
5219
5220 * config.host (nds32*-elf*): Add nds32 target.
5221 * config/nds32 : New directory and files.
5222
0e499e75
HPN
52232013-10-16 Hans-Peter Nilsson <hp@axis.com>
5224
5225 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
5226 * config.host (cpu_type) <Setting default>: Add entry for
5227 crisv32-*-*.
5228 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
5229 <crisv32-*-linux*>: Adjust.
5230 * longlong.h: Wrap the whole CRIS section in a single
5231 defined(__CRIS__) conditional. Add comment about add_ssaaaa
5232 and sub_ddmmss.
5233 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
5234 defined.
5235 [__CRIS__] (__umulsidi3): Define.
5236 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
5237 * config/cris/sfp-machine.h: New file.
5238 * config/cris/umulsidi3.S: New file.
5239 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
5240 * config/cris/arit.c (SIGNMULT): New macro.
5241 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
5242 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
5243 saving 3 out of originally 33 cycles from the fastest
5244 path, 3 out of 54 from the medium path and one from the longest
5245 path. Improve comments.
5246
16022041
RS
52472013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
5248
5249 * sync.c: Remove static aliases and define each function directly
5250 under its real name.
5251
69778659
JDA
52522013-10-02 John David Anglin <danglin@gcc.gnu.org>
5253
5254 * config.host (hppa*64*-*-linux*): Define extra_parts.
5255 (hppa*-*-linux*): Likewise.
5256
2deaf8b0
JR
52572013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
5258
5259 * config/arc/crtgend.S: Add 2013 to Copyright years.
5260 * config/arc/gmon/atomic.h: Likewise.
5261 * config/arc/gmon/auxreg.h: Likewise.
5262 * config/arc/gmon/sys/gmon_out.h: Likewise.
5263 * config/arc/gmon/sys/gmon.h: Likewise.
5264 * config/arc/gmon/prof-freq.c: Likewise.
5265 * config/arc/gmon/mcount.c: Likewise.
5266 * config/arc/gmon/prof-freq-stub.S: Likewise.
5267 * config/arc/gmon/gmon.c: Likewise.
5268 * config/arc/gmon/machine-gmon.h: Likewise.
5269 * config/arc/gmon/profil.S: Likewise.
5270 * config/arc/gmon/dcache_linesz.S: Likewise.
5271 * config/arc/crtg.S: Likewise.
5272 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
5273 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
5274 * config/arc/ieee-754/adddf3.S: Likewise.
5275 * config/arc/ieee-754/truncdfsf2.S: Likewise.
5276 * config/arc/ieee-754/fixsfsi.S: Likewise.
5277 * config/arc/ieee-754/gtsf2.S: Likewise.
5278 * config/arc/ieee-754/floatsisf.S: Likewise.
5279 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
5280 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
5281 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
5282 * config/arc/ieee-754/fixdfsi.S: Likewise.
5283 * config/arc/ieee-754/addsf3.S: Likewise.
5284 * config/arc/ieee-754/gesf2.S: Likewise.
5285 * config/arc/ieee-754/floatsidf.S: Likewise.
5286 * config/arc/ieee-754/extendsfdf2.S: Likewise.
5287 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
5288 * config/arc/ieee-754/gtdf2.S: Likewise.
5289 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
5290 * config/arc/ieee-754/uneqdf2.S: Likewise.
5291 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
5292 * config/arc/ieee-754/uneqsf2.S: Likewise.
5293 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
5294 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
5295 * config/arc/ieee-754/eqdf2.S: Likewise.
5296 * config/arc/ieee-754/ordsf2.S: Likewise.
5297 * config/arc/ieee-754/divsf3.S: Likewise.
5298 * config/arc/ieee-754/divdf3.S: Likewise.
5299 * config/arc/ieee-754/floatunsidf.S: Likewise.
5300 * config/arc/ieee-754/orddf2.S: Likewise.
5301 * config/arc/ieee-754/eqsf2.S: Likewise.
5302 * config/arc/ieee-754/gedf2.S: Likewise.
5303 * config/arc/crtn.S: Likewise.
5304 * config/arc/crti.S: Likewise.
5305 * config/arc/t-arc700-uClibc: Likewise.
5306 * config/arc/asm.h: Likewise.
5307 * config/arc/libgcc-excl.ver: Likewise.
5308 * config/arc/t-arc-newlib: Likewise.
5309 * config/arc/divtab-arc700.c: Likewise.
5310 * config/arc/initfini.c: Likewise.
5311 * config/arc/fp-hack.h: Likewise.
5312
c8e318b0
JR
53132013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
5314 Diego Novillo <dnovillo@google.com>
5315
5316 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
a07c5b47
JR
5317 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
5318 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
5319 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
c8e318b0 5320
d38a64b4
JR
53212013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
5322 Brendan Kehoe <brendan@zen.org>
5323 Simon Cook <simon.cook@embecosm.com>
5324
5325 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
5326 * config/arc: New directory.
5327 * longlong.h [__arc__] (umul_ppmm): Remove.
5328 [__arc__] (__umulsidi3): Define.
5329 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
5330 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
5331
dff717d2
JC
53322013-09-17 Jacek Caban <jacek@codeweavers.com>
5333
5334 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
5335 CreateSemaphoreA.
5336 * config/i386/gthr-win32.h: Likewise.
5337
5c0029de
DD
53382013-09-16 DJ Delorie <dj@redhat.com>
5339
844ad6c6 5340 * config/rl78/vregs.h: Add G10 register definitions.
5c0029de
DD
5341 * config/rl78/lib2mul.c: Enable for RL78/G10.
5342 * config/rl78/lib2div.c: Likewise.
5343 * config/rl78/lshrsi3.S: Use vregs.h.
5344 * config/rl78/cmpsi2.S: Likewise.
5345 * config/rl78/trampoline.S: Likewise.
5346 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
5347
ceb2fc49
DD
53482013-09-14 DJ Delorie <dj@redhat.com>
5349 Nick Clifton <nickc@redhat.com>
5350
5351 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
5352 * config/rl78/vregs.h: New.
5353 * config/rl78/signbit.S: New file. Implements signbit function.
5354 * config/rl78/divmodsi.S: New.
5355 * config/rl78/divmodhi.S: New.
5356 * config/rl78/divmodqi.S: New.
5357 * config/rl78/t-rl78: Build them here...
5358 * config/rl78/lib2div.c: ...but not here.
5359
f6a83b4a
DD
53602013-09-12 DJ Delorie <dj@redhat.com>
5361
5362 * config.host (msp*-*-elf): New.
5363 * config/msp430/: New port.
5364
9107b096
IS
53652013-08-18 Iain Sandoe <iain@codesourcery.com>
5366
5367 PR gcov-profile/58127
5368 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
5369 __thread var for emulated TLS.
5370 (__gcov_indirect_call_counters): Likewise.
5371
0f9bde1f 53722013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
61221141 5373 Catherine Moore <clm@codesourcery.com>
7d296953 5374 Richard Sandiford <rdsandiford@googlemail.com>
0f9bde1f
MR
5375
5376 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
5377 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
5378 (CALL_STUB_NO_RET): Likewise.
5379 (CALL_STUB_RET): Likewise.
5380 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
5381 __mips16_ret call/return stub symbols.
5382 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
5383 to tmake_file.
5384
2dc14aac
MR
53852013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
5386
5387 * config.host <mips*-*-linux*>: Remove a stray comment.
5388
748d71f3
JH
53892013-08-10 Jan Hubicka <jh@suse.cz>
5390
5391 Work around binutils PR14342
5392 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
5393 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
5394 (L_gcov_indirect_call_profiler_v2): New.
5395
2fa3d31b
JH
53962013-08-06 Jan Hubicka <jh@suse.cz>
5397
5398 * libgcov.c (__gcov_indirect_call_callee,
5399 __gcov_indirect_call_counters): New global vars.
5400 (__gcov_indirect_call_profiler): replace by ...
5401 (__gcov_indirect_call_profiler_v2) ... this one.
5402
2077db1b
CT
54032013-08-06 Caroline Tice <cmtice@google.com>
5404
d0595b65 5405 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
2077db1b 5406 vtv_start_preinit.o and vtv_end_preinit.o.
d0595b65
CT
5407 * configure.ac: Add code to check/set enable_vtable_verify.
5408 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
2077db1b 5409 true.
d0595b65
CT
5410 * vtv_start_preinit.c: New file.
5411 * vtv_end_preinit.c: New file.
5412 * vtv_start.c: New file.
5413 * vtv_end.c: New file.
5414 * configure: Regenerated.
2077db1b 5415
46549c20
MK
54162013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
5417
5418 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
5419 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
5420 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
5421 GPL-3.0-with-GCC-exception.
5422
72be589b
MR
54232013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
5424
5425 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
5426 ISA and up.
5427
902a3faf
AK
54282013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5429
5430 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
5431 mapping for FPRs when creating the fallback framestate.
5432
02371798
GJL
54332013-07-19 Georg-Johann Lay <avr@gjlay.de>
5434
5435 PR target/57516
5436 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
5437 (__round_s2_const, __round_u2_const)
5438 (__round_s4_const, __round_u4_const, __round_x8):
5439 Saturate result if addition result cannot be represented.
5440
ab0e8379
MK
54412013-07-15 Matthias Klose <doko@ubuntu.com>
5442
5443 * libgcc2.c: Don't include <limits.h>.
5444
7da38058
JJ
54452013-07-09 Janis Johnson <janisjo@codesourcery.com>
5446
5447 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
5448
1f6eac90
JJ
54492013-07-06 Jakub Jelinek <jakub@redhat.com>
5450
5451 PR target/29776
5452 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
5453
4ea3d774
JJ
54542013-06-28 Jakub Jelinek <jakub@redhat.com>
5455
5456 PR middle-end/36041
5457 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
5458 Define.
5459 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
5460 instead of table lookups.
5461 (__popcountDI2): Likewise.
5462
9d2cdf25
CJW
54632013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
5464
5465 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
5466 correctly.
5467
fa1e55b0
JM
54682013-06-21 Joseph Myers <joseph@codesourcery.com>
5469
5470 PR other/53317
5471 * soft-fp/adddf3.c: Update from glibc.
5472 * soft-fp/addsf3.c: Likewise.
5473 * soft-fp/addtf3.c: Likewise.
5474 * soft-fp/divdf3.c: Likewise.
5475 * soft-fp/divsf3.c: Likewise.
5476 * soft-fp/divtf3.c: Likewise.
5477 * soft-fp/double.h: Likewise.
5478 * soft-fp/eqdf2.c: Likewise.
5479 * soft-fp/eqsf2.c: Likewise.
5480 * soft-fp/eqtf2.c: Likewise.
5481 * soft-fp/extenddftf2.c: Likewise.
5482 * soft-fp/extended.h: Likewise.
5483 * soft-fp/extendsfdf2.c: Likewise.
5484 * soft-fp/extendsftf2.c: Likewise.
5485 * soft-fp/fixdfdi.c: Likewise.
5486 * soft-fp/fixdfsi.c: Likewise.
5487 * soft-fp/fixsfdi.c: Likewise.
5488 * soft-fp/fixsfsi.c: Likewise.
5489 * soft-fp/fixtfdi.c: Likewise.
5490 * soft-fp/fixtfsi.c: Likewise.
5491 * soft-fp/fixunsdfdi.c: Likewise.
5492 * soft-fp/fixunsdfsi.c: Likewise.
5493 * soft-fp/fixunssfdi.c: Likewise.
5494 * soft-fp/fixunssfsi.c: Likewise.
5495 * soft-fp/fixunstfdi.c: Likewise.
5496 * soft-fp/fixunstfsi.c: Likewise.
5497 * soft-fp/floatdidf.c: Likewise.
5498 * soft-fp/floatdisf.c: Likewise.
5499 * soft-fp/floatditf.c: Likewise.
5500 * soft-fp/floatsidf.c: Likewise.
5501 * soft-fp/floatsisf.c: Likewise.
5502 * soft-fp/floatsitf.c: Likewise.
5503 * soft-fp/floatundidf.c: Likewise.
5504 * soft-fp/floatundisf.c: Likewise.
5505 * soft-fp/floatunditf.c: Likewise.
5506 * soft-fp/floatunsidf.c: Likewise.
5507 * soft-fp/floatunsisf.c: Likewise.
5508 * soft-fp/floatunsitf.c: Likewise.
5509 * soft-fp/gedf2.c: Likewise.
5510 * soft-fp/gesf2.c: Likewise.
5511 * soft-fp/getf2.c: Likewise.
5512 * soft-fp/ledf2.c: Likewise.
5513 * soft-fp/lesf2.c: Likewise.
5514 * soft-fp/letf2.c: Likewise.
5515 * soft-fp/muldf3.c: Likewise.
5516 * soft-fp/mulsf3.c: Likewise.
5517 * soft-fp/multf3.c: Likewise.
5518 * soft-fp/negdf2.c: Likewise.
5519 * soft-fp/negsf2.c: Likewise.
5520 * soft-fp/negtf2.c: Likewise.
5521 * soft-fp/op-1.h: Likewise.
5522 * soft-fp/op-2.h: Likewise.
5523 * soft-fp/op-4.h: Likewise.
5524 * soft-fp/op-8.h: Likewise.
5525 * soft-fp/op-common.h: Likewise.
5526 * soft-fp/quad.h: Likewise.
5527 * soft-fp/single.h: Likewise.
5528 * soft-fp/soft-fp.h: Likewise.
5529 * soft-fp/subdf3.c: Likewise.
5530 * soft-fp/subsf3.c: Likewise.
5531 * soft-fp/subtf3.c: Likewise.
5532 * soft-fp/truncdfsf2.c: Likewise.
5533 * soft-fp/trunctfdf2.c: Likewise.
5534 * soft-fp/trunctfsf2.c: Likewise.
5535 * soft-fp/unorddf2.c: Likewise.
5536 * soft-fp/unordsf2.c: Likewise.
5537 * soft-fp/unordtf2.c: Likewise.
5538 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
5539 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5540 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5541 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5542 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5543 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5544 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5545 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5546 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5547 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
5548 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
5549 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5550
0de86a92
JU
55512013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
5552
5553 * config/mips/lib2funcs.c: New file.
5554 * config/mips/t-mips (LIB2ADD_ST): Add it.
5555
0d008882
OE
55562013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
5557
5558 PR target/6526
5559 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
5560 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
5561
776434d1
WL
55622013-06-08 Walter Lee <walt@tilera.com>
5563
5564 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
5565 Replace int64_t with long long. Add __extension__ where
5566 appropriate.
5567 * config/tilepro/atomic.c: Include config.h.
5568
6ab3ebb4
DR
55692013-06-06 Douglas B Rupp <rupp@adacore.com>
5570
5571 * config.host (arm-wrs-vxworks): Configure with other soft float.
5572
107eea2c
JU
55732013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
5574
5575 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
5576 (mips64r5900el-*-elf*): New configurations.
5577
5cc19c62
AM
55782013-06-04 Alan Modra <amodra@gmail.com>
5579
5580 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
5581
0f1d3965
YR
55822013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
5583
5584 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
5585
0ba045df
EB
55862013-05-28 Eric Botcazou <ebotcazou@adacore.com>
5587
5588 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
5589 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
5590 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
5591
49dcafd4
EB
55922013-05-22 Eric Botcazou <ebotcazou@adacore.com>
5593
5594 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
5595 (powerpc-wrs-vxworks): Likewise.
5596
4fcb5d87
EB
55972013-05-22 Eric Botcazou <ebotcazou@adacore.com>
5598
5599 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
5600 signal frames as well.
5601 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
5602 STACK_BIAS to the CFA offset.
5603
0ec33224
RH
56042013-05-17 Richard Henderson <rth@redhat.com>
5605
5606 PR target/49146
5607 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
5608 (execute_cfa_program): Use it when storing to fs->regs.
5609
492a8029
KT
56102013-05-08 Kai Tietz <ktietz@redhat.com>
5611
5612 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
5613 (__deregister_frame_info): Likewise.
5614
701e2f0a
TS
56152013-05-06 Thomas Schwinge <thomas@codesourcery.com>
5616
e5123d08
TS
5617 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
5618 NaN's payload.
5619
701e2f0a
TS
5620 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
5621
b9a7eb5d
AM
56222013-04-25 Alan Modra <amodra@gmail.com>
5623
5624 * config.host: Match little-endian powerpc-linux.
5625
dfe192f5
YZ
56262013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
5627
5628 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
5629 as 'unsigned long long' instead of 'unsigned long'.
5630 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
5631 'signed long'.
5632
b6b9af2f
JB
56332013-04-10 Julian Brown <julian@codesourcery.com>
5634
5635 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
5636 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
5637 unsigned char/unsigned short.
5638 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
5639
ecabdd00
JDA
56402013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
5641
5642 PR other/55274
5643 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
5644
34652576
MI
56452013-04-04 Meador Inge <meadori@codesourcery.com>
5646
5647 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
5648 computing the location of the link register.
5649 (aeabi_uldivmod): Ditto.
5650
e9fd8c19
KT
56512013-03-27 Kai Tietz <ktietz@redhat.com>
5652
5653 * config.host: Add support for cygwin x64 target.
5654 * configure: Regenerated.
5655
a6406324
WL
56562013-03-26 Walter Lee <walt@tilera.com>
5657
5658 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
5659 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
5660
55446c7e
KT
56612013-03-25 Kai Tietz <ktietz@redhat.com>
5662
5663 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
5664
d2ae19d9
RM
56652013-03-20 Robert Mason <rbmj@verizon.net>
5666
5667 * config/vxlib-tls.c (__gthread_get_tsd_data,)
5668 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
5669 (__gthread_leave_tsd_dtor_context): Add prototypes.
5670 (tls_delete_hook): Update.
5671
22c4c869
CM
56722013-03-20 Catherine Moore <clm@codesourcery.com>
5673 Joseph Myers <joseph@codesourcery.com>
5674 Chao-ying Fu <fu@mips.com>
5675
5676 * config/mips/mips16.S: Don't build for microMIPS.
5677 * config/mips/linux-unwind.h: Handle microMIPS frame.
5678 * config/mips/crtn.S (fini, init): New labels.
5679
fbd28bc3
JJ
56802013-03-14 Jakub Jelinek <jakub@redhat.com>
5681
5682 PR tree-optimization/53265
5683 * unwind-dw2.c (execute_cfa_program): Avoid
5684 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
5685 on targets with DWARF_FRAME_REGISTERS < 32.
5686
decc676e
OE
56872013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
5688
5689 PR target/49880
5690 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
5691 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
5692
84ea618a
ST
56932013-03-07 Sriraman Tallam <tmsriram@google.com>
5694
5695 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
5696 sandybridge processors.
5697
8f6d1c86
OE
56982013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
5699
5700 PR target/56529
5701 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
5702 inclusion list.
5703
ecdbd01a 57042013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
409b1de4
EI
5705
5706 * config/microblaze/crti.S: Setup stack protection at entry
5707
0b4ce21b
GJL
57082013-03-04 Georg-Johann Lay <avr@gjlay.de>
5709
5710 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
5711 (__rotldi3): Shift bytewise if applicable.
5712
b7c3f1ca
JG
57132013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
5714
5715 * config/aarch64/sync-cache.c
5716 (__aarch64_sync_cache_range): Silence warnings.
5717
6d65e8f1
CM
57182013-02-25 Catherine Moore <clm@codesourcery.com>
5719
5720 Revert:
5721 2013-02-24 Catherine Moore <clm@codesourcery.com>
5722 Joseph Myers <joseph@codesourcery.com>
5723 Chao-ying Fu <fu@mips.com>
5724
5725 * config/mips/mips16.S: Don't build for microMIPS.
5726 * config/mips/linux-unwind.h: Handle microMIPS frame.
5727 * config/mips/crtn.S (fini, init): New labels.
5728
6941b508
CM
57292013-02-24 Catherine Moore <clm@codesourcery.com>
5730 Joseph Myers <joseph@codesourcery.com>
5731 Chao-ying Fu <fu@mips.com>
5732
5733 * config/mips/mips16.S: Don't build for microMIPS.
5734 * config/mips/linux-unwind.h: Handle microMIPS frame.
5735 * config/mips/crtn.S (fini, init): New labels.
5736
7c422dbb 57372012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
cc86234f 5738 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
7c422dbb
EI
5739 as dividend.
5740
110207ad
AM
57412013-02-16 Alan Modra <amodra@gmail.com>
5742
5743 PR target/55431
5744 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
5745 (ppc_fallback_frame_state): Always set up save locations for fp
5746 and altivec. Don't bother with non-callee-saved regs, r0-r13
5747 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
5748
e68a4ef6
GJL
57492013-02-12 Georg-Johann Lay <avr@gjlay.de>
5750
5751 PR target/54222
5752 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
5753 _ssmulHA, _ssmulSA.
5754 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
5755 _ssmulha3, _usmulusa3, _ssmulsa3.
5756 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
5757 (__muldi3): XCALL __muldi3_6 instead of rcall.
5758 (__umulsidi3, __mulsidi3): New functions.
5759 (do_prologue_saves, do_epilogue_restores): New .macros.
5760 (__divdi3_moddi3): Use them.
5761 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
5762 (__usmulusa3, __ssmulsa3): New functions.
5763
6c59ffd1
IS
57642013-02-11 Iain Sandoe <iain@codesourcery.com>
5765 Jack Howarth <howarth@bromo.med.uc.edu>
5766 Patrick Marlier <patrick.marlier@gmail.com>
5767
5768 PR libitm/55693
5769 * config/darwin-crt-tm.c: Remove dummy functions hack.
5770
85d768f3
GJL
57712013-02-08 Georg-Johann Lay <avr@gjlay.de>
5772
5773 PR target/54222
5774 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
5775 * config/avr/lib2-object.mk: New iterator to build objects from it.
5776 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
5777 lib2funcs.c.
5778 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
5779 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
5780 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
5781 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
5782 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
5783 * config/avr/lib1funcs-fixed.S: Implement them.
5784
5d5bf775
RS
57852013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
5786
5787 Update copyright years.
5788
99113dff
DE
57892013-02-01 David Edelsohn <dje.gcc@gmail.com>
5790
5791 PR target/54601
5792 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
5793 Add crtcxa to extra_parts.
5794 * config/rs6000/exit.h: New file.
5795 * config/rs6000/cxa_atexit.c: New file.
5796 * config/rs6000/cxa_finalize.c: New file.
5797 * config/rs6000/crtcxa.c: New file.
5798 * config/rs6000/t-aix-cxa: New file.
5799 * config/rs6000/libgcc-aix-cxa.ver: New file.
5800
dbdbd982
NC
58012013-01-31 Nick Clifton <nickc@redhat.com>
5802
5803 * config/v850/lib1funcs.S: Add support for e3v5 architecture
5804 variant.
5805
5893f158
GJL
58062013-01-29 Georg-Johann Lay <avr@gjlay.de>
5807
5808 PR target/54222
5809 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
5810 _mulQQ, _mulHQ, _mulHA, _mulSA,
5811 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
5812 _divQQ, _divHQ, _divHA, _divSA,
5813 _divUQQ, _divUHQ, _divUHA, _divUSA.
5814
ecdbd01a 58152013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
fbf0cf90 5816
dbdbd982 5817 * config.host(microblaze*-linux*): tmake_file: Remove
fbf0cf90
DH
5818 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
5819 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
5820 to exclude functions from being built with libgcc.c and use
5821 the microblaze assembly.
5822
ecdbd01a 58232013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
6f14eef2
EI
5824
5825 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
5826 extra_parts.
5827
922c57d1
YZ
58282013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
5829
5830 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
5831 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
5832 __UINTPTR_TYPE__; also cast 'base' to the same type before the
5833 alignment operation.
5834
e0f8b6a0
SN
58352013-01-15 Sofiane Naci <sofiane.naci@arm.com>
5836
5837 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
5838 loop start address for cache clearing.
5839
00892272
GJL
58402013-01-14 Georg-Johann Lay <avr@gjlay.de>
5841
5842 * config/avr/lib1funcs.S: Remove trailing blanks.
5843 * config/avr/lib1funcs-fixed.S: Ditto.
5844
e59ec5fd
GJL
58452013-01-14 Georg-Johann Lay <avr@gjlay.de>
5846
5847 * config/avr/avr-lib.h: Add GPL copyright notice.
5848
3ffc1958
GJL
58492013-01-14 Georg-Johann Lay <avr@gjlay.de>
5850
5851 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
5852 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
5853 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
5854 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
5855
25c210f9
MK
58562013-01-07 Mark Kettenis <kettenis@openbsd.org>
5857
5858 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
5859 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
2bc15360 5860
db59befb
NC
58612013-01-04 Nick Clifton <nickc@redhat.com>
5862
5863 * config/v850/lib1funcs.S: Only provide CALLT support functions if
5864 the CALLT instruction is supported.
5865
5aa12dbf
JW
58662012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
5867
5868 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
5869 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
5870
65f14117
JT
58712012-12-13 John Tytgat <John@bass-software.com>
5872
5873 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
5874 is 25.
5875
ee3ae4f7
JJ
58762012-12-12 Jakub Jelinek <jakub@redhat.com>
5877
5878 PR libgcc/55451
5879 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
5880 undefined signed overflows.
5881
2fcfba3d
UB
58822012-12-09 Uros Bizjak <ubizjak@gmail.com>
5883
5884 PR target/55344
5885 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
5886
4f2b3dc2
UB
58872012-12-06 Uros Bizjak <ubizjak@gmail.com>
5888
5889 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
5890 (FP_TRAPPING_EXCEPTIONS): Define.
5891 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
5892 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
5893
066161a2
RH
58942012-12-04 Richard Henderson <rth@redhat.com>
5895
5896 PR bootstrap/55571
5897 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
5898
7d296953 58992012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
25626181 5900
4f2b3dc2 5901 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
25626181
MS
5902 (FP_EX_SHIFT): Define.
5903 (FP_TRAPPING_EXCEPTIONS): Define.
5904
7d296953 59052012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
868395e8
MS
5906
5907 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
5908 (FP_ROUNDMODE): Use FP_RND_MASK.
5909 * config/aarch64/sfp-exceptions.c: New.
5910 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
5911 Use __sfp_handle_exceptions.
5912
5005fe22
RE
59132012-12-04 Richard Earnshaw <rearnsha@arm.com>
5914
5915 * config.host: (arm*-*-freebsd*): Remove.
5916 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
5917 (arm*-*-elf*): Remove.
5918 (arm*-*-wince-pe*): Remove.
5919 * arm/unwind-arm.c (struct fpa_reg): Delete.
5920 (struct fpa_regs): Delete.
5921 (phase1_vrs): Remove fpa element.
5922 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
5923 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
5924 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
5925 * ieee754-sf.S (floatundisf): Remove FPA support.
5926 (floatdisf): Likewise.
5927 * ieee75f-df.S (floatundidf): Likewise.
5928 (floatdidf): Likewise.
5929
e5a81c8e
KT
59302012-11-29 Kai Tietz <ktietz@redhat.com>
5931
5932 PR target/55445
5933 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
5934 * unwind-generic.h: Likewise.
5935 * unwind-seh.c: Likewise.
5936
f4919e4a
RH
59372012-11-28 Richard Henderson <rth@redhat.com>
5938
5939 PR libgcc/48076
5940 * emutls.c (__emutls_get_address): Avoid race condition between
5941 obj->loc.offset read and emutls_key initialization.
4f2b3dc2 5942
e13d9d5a
GJL
59432012-11-22 Georg-Johann Lay <avr@gjlay.de>
5944
5945 Adjust decimal point of signed accum mode to GCC default.
5946
5947 PR target/54222
5948 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
5949 _divqq_helper.
5950 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
5951 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
5952 (__mulha3, __mulsa3)
5953 (__divqq3, __divha3, __divsa3): Adjust to new position of
4f2b3dc2
UB
5954 decimal point of signed accum types.
5955
e13d9d5a
GJL
5956 (__mulusa3_round): New function.
5957 (__mulusa3): Use it.
5958 (__divqq_helper): New function.
5959 (__udivuqq3): Use it.
5960
1b845c6e
JJ
59612012-11-20 Jakub Jelinek <jakub@redhat.com>
5962
5963 PR bootstrap/55370
5964 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
5965
822a258a
TJ
59662012-11-18 Teresa Johnson <tejohnson@google.com>
5967
5968 PR bootstrap/55051
5969 * libgcov.c (gcov_exit): Remove merged program summary
5970 comparison unless !GCOV_LOCKED.
5971
7d296953 59722012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
54f4eaf0
MS
5973
5974 * soft-fp: Updated from glibc upstream.
5975
e808687a
ILT
59762012-11-06 Ian Lance Taylor <iant@google.com>
5977
5978 * generic-morestack.c (__generic_morestack): Align the returned
5979 stack pointer to a 32 byte boundary.
5980 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
5981 increment the return address until we have decided that we don't
5982 have a varargs function.
5983 (__morestack) [32-bit]: Align stack correctly when calling C
5984 functions.
5985 (__morestack) [64-bit]: Likewise.
5986
460277e0
TS
59872012-11-04 Thomas Schwinge <thomas@codesourcery.com>
5988
5989 * configure: Regenerate.
5990
73edb277
UB
59912012-11-02 Uros Bizjak <ubizjak@gmail.com>
5992
5993 PR target/55175
5994 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
5995 * config/i386/sfp-machine.h: Guard exception handling
5996 code with _SOFT_FLOAT.
5997 * config/i386/32/sfp-machine.h: Guard rounding handling
5998 code with _SOFT_FLOAT.
5999 * config/i386/64/sfp-machine.h: Ditto.
6000
c1d4fa04
JS
60012012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
6002
6003 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
6004 as extra_parts.
6005
eff6ca85
UB
60062012-10-26 Uros Bizjak <ubizjak@gmail.com>
6007
6008 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
6009 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
6010 when appropriate. Correct structure element types.
6011 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
6012 -minline-all-stringops from compile flags.
6013
7d296953 60142012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
43a8f1a1
RC
6015
6016 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
6017
7d296953 60182012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
76c78361 6019
eff6ca85 6020 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
76c78361 6021
6f288860
SH
60222012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
6023
6024 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
6025 tmake_file.
6026
1e3d5096
IB
60272012-10-23 Ian Bolton <ian.bolton@arm.com>
6028 Jim MacArthur <jim.macarthur@arm.com>
6029 Marcus Shawcroft <marcus.shawcroft@arm.com>
6030 Nigel Stephens <nigel.stephens@arm.com>
6031 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
6032 Richard Earnshaw <rearnsha@arm.com>
6033 Sofiane Naci <sofiane.naci@arm.com>
6034 Stephen Thomas <stephen.thomas@arm.com>
6035 Tejas Belagod <tejas.belagod@arm.com>
6036 Yufeng Zhang <yufeng.zhang@arm.com>
6037
6038 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
6039 * config/aarch64/crti.S: New file.
6040 * config/aarch64/crtn.S: New file.
6041 * config/aarch64/linux-unwind.h: New file.
6042 * config/aarch64/sfp-machine.h: New file.
6043 * config/aarch64/sync-cache.c: New file.
6044 * config/aarch64/t-aarch64: New file.
6045 * config/aarch64/t-softfp: New file.
6046
8a740f07
HPN
60472012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
6048
6049 * config/mmix/crti.S: Mark program and data addresses using PRELD.
6050 Remove typo'd and unnecessary alignment-LOC for .data. Remove
6051 no-longer-needed LDBU insns.
6052
7d296953 60532012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
153c8397
SH
6054
6055 * config.host
6056 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
6057 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
6058
595fefee
MGD
60592012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
6060
6061 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
6062
9945a876
MK
60632012-10-15 Matthias Klose <doko@ubuntu.com>
6064
6065 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
6066
1183dc2c
PC
60672012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
6068
6069 * configure: Regenerate.
6070 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
6071
945a9c1f
UB
60722012-10-10 Uros Bizjak <ubizjak@gmail.com>
6073
6074 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
6075 instructions for 64bit targets only.
6076
fb8bf47a
UB
60772012-10-10 Uros Bizjak <ubizjak@gmail.com>
6078
6079 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
6080 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
6081 * config/i386/32/sfp-machine.h: ... here.
6082 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
6083 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
6084 New defines.
6085
acb72498
MK
60862012-10-07 Matthias Klose <doko@ubuntu.com>
6087
6088 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
6089 as unused.
6090 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
6091
8eaee0f0
MK
60922012-10-06 Mark Kettenis <kettenis@openbsd.org>
6093
6094 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
6095 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
6096 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
6097 (ElfW): Likewise.
6098
5e3e4fe8
JW
60992012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
6100
6101 PR other/53889
6102 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
6103 Fix parameter names.
6104
86086376
OE
61052012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
6106
6107 PR target/33135
6108 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
6109 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
6110 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
6111
9597375a
OE
61122012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
6113
6114 PR target/50457
6115 * config/sh/linux-atomic.S: Delete.
6116 * config/sh/linux-atomic.c: New.
6117 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
6118 linux-atomic.c. Add cflags to disable warnings.
6119
1504e3e1
JW
61202012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
6121
6122 PR other/53889
6123 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
6124 function.
6125 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
6126 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
6127 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
6128 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
5e3e4fe8
JW
6129 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
6130 Likewise.
1504e3e1
JW
6131 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
6132 Likewise.
6133 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
6134 Likewise.
6135 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
6136 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
6137
17f293b0
MK
61382012-09-19 Mark Kettenis <kettenis@openbsd.org>
6139
9597375a
OE
6140 * config.host (hppa-*-openbsd*): New target.
6141 * config/pa/t-openbsd: New file.
17f293b0 6142
51526856
GJL
61432012-09-15 Georg-Johann Lay <avr@gjlay.de>
6144
6145 PR target/54222
6146 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
6147 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
6148 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
6149 (__divsa3): Use __negsi2 to negate r_quoL.
6150 * config/avr/lib1funcs.S (FALIAS): New macro.
6151 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
6152 (__negsi2): ...this new function.
6153 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
6154 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
6155 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
6156 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
6157 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
6158 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
6159
aadb5b43
OE
61602012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
6161
6162 PR target/54089
6163 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
6164 (lshrsi3): Reimplement as lshrsi3_r0.
6165
d5d66749
AS
61662012-09-10 Andreas Schwab <schwab@linux-m68k.org>
6167
6168 PR target/46191
6169 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
6170 of libgcc.a.
6171
c6c36e73
TJ
61722012-09-07 Teresa Johnson <tejohnson@google.com>
6173
9597375a 6174 PR gcov-profile/54487
c6c36e73 6175 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
9597375a 6176 differences.
c6c36e73 6177
b588ae30
GJL
61782012-09-05 Georg-Johann Lay <avr@gjlay.de>
6179
6180 PR target/54461
6181 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
6182 not configured --with-avrlibc=no.
6183 * config/avr/t-avrlibc: New file.
6184 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
6185 (DPBIT_FUNCS): Ditto.
6186 (TPBIT_FUNCS): Ditto.
6187
abd16fb1
TJ
61882012-09-04 Teresa Johnson <tejohnson@google.com>
6189
6190 * libgcov.c (struct gcov_summary_buffer): New structure.
6191 (gcov_histogram_insert): New function.
6192 (gcov_compute_histogram): Ditto.
6193 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
6194 histograms during summary merging.
6195
613061fd
MK
61962012-09-01 Mark Kettenis <kettenis@openbsd.org>
6197
6198 * config.host (x86_64-*-openbsd*): New target.
73edb277 6199
867a8345
CLT
62002012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
6201
6202 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
6203 attribute.
6204
4aeaaca3
GJL
62052012-08-24 Georg-Johann Lay <avr@gjlay.de>
6206
6207 PR target/54222
6208 * config/avr/t-avr (conv_X): Rename to func_X.
6209
e55e4056
GJL
62102012-08-24 Georg-Johann Lay <avr@gjlay.de>
6211
6212 PR target/54222
6213 * config/avr/lib1funcs-fixed.S: New file.
6214 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
6215 after they are used.
6216 (neg2, neg4): New macros.
6217 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
6218 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
6219 (__umulhisi3): Speed up MUL variant if there is enough flash.
6220 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
6221 avr-modes.def.
6222 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
6223 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
6224 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
6225 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
6226 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
6227 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
6228 (LIB2FUNCS_EXCLUDE): Add supported functions.
6229
a147b6d2
GJL
62302012-08-22 Georg-Johann Lay <avr@gjlay.de>
6231
6232 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
6233 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
6234 libgcc-s-objects.
6235 * fixed-obj.mk: Only expand dependency if $o is not in
6236 LIB2FUNCS_EXCLUDE.
6237
c637141a
L
62382012-08-22 H.J. Lu <hongjiu.lu@intel.com>
6239
6240 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
6241
130e00bd
JM
62422012-08-22 Joseph Myers <joseph@codesourcery.com>
6243
6244 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
6245 depend on --enable-shared.
6246 ($(lib1asmfuncs-o)): Use %.vis files independent of
6247 --enable-shared.
6248 * static-object.mk ($(base)$(objext), $(base).vis)
6249 ($(base)_s$(objext)): Use same rules for visibility handling as in
6250 shared-object.mk.
6251
4b1b3788
ILT
62522012-08-21 Ian Lance Taylor <iant@google.com>
6253
6254 * config/i386/morestack.S (__morestack_non_split): Increase amount
6255 of space allocated for non-split code stack.
6256
d2468141
JM
62572012-08-19 Joseph Myers <joseph@codesourcery.com>
6258
6259 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
6260 even if inhibit_libc.
6261
a508e1a8
JB
62622012-08-17 Julian Brown <julian@codesourcery.com>
6263
6264 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
6265 -fexceptions -fnon-call-exceptions if not defined.
6266 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
6267 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
6268
5615a07d
AS
62692012-08-17 Andreas Schwab <schwab@linux-m68k.org>
6270
6271 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
6272 type.
6273
138f5acd
DE
62742012-08-16 David Edelsohn <dje.gcc@gmail.com>
6275
6276 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
6277 rs6000/t-slibgcc-aix.
6278
18efc0dd
SB
62792012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
6280
6281 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
6282
6b39bc38
SB
62832012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
6284
6285 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
6286
cd25dea0
L
62872012-08-03 H.J. Lu <hongjiu.lu@intel.com>
6288
6289 PR driver/54171
6290 * Makefile.in (version): Replace top_srcdir with srcdir.
6291
a3dda30b
JY
62922012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
6293
6294 * Makefile.in (version): set to BASE-VER file from gcc directory.
6295
d04aacfc
NC
62962012-08-01 Nick Clifton <nickc@redhat.com>
6297
6298 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
6299 Implements __clrsb for an HImode argument.
6300
0d13c974
NC
63012012-07-31 Nick Clifton <nickc@redhat.com>
6302
6303 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
6304 Implements __clrsb for an HImode argument.
6305 * config/stormy16/clrsbhi2.c: New file:
6306 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
6307
efbb59b2
SB
63082012-07-22 Steven Bosscher <steven@gcc.gnu.org>
6309
6310 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
6311
bf1431e3
TG
63122012-07-19 Tristan Gingold <gingold@adacore.com>
6313 Richard Henderson <rth@redhat.com>
6314
6315 * unwind-seh.c: New file.
6316 * unwind-generic.h: Include windows.h for SEH.
6317 (_Unwind_Exception): Use 6 private fields for SEH.
6318 (_GCC_specific_handler): Declare.
6319 * unwind-c.c (__gcc_personality_seh0): New function.
6320 Adjust for SEH.
6321 * config/i386/libgcc-cygming.ver: New file.
6322 * config/i386/t-seh-eh: New file.
6323 * config.host (x86_64-*-mingw*): Default to seh.
6324
659140c8
SB
63252012-07-14 Steven Bosscher <steven@gcc.gnu.org>
6326
6327 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
6328
a20d08fd
UB
63292012-06-17 Uros Bizjak <ubizjak@gmail.com>
6330
6331 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
6332 __builtin_expect when checking for exceptions.
6333 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
6334
79261115
UB
63352012-06-13 Uros Bizjak <ubizjak@gmail.com>
6336
4a172156
UB
6337 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
6338 function declaration.
6339 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
6340 (FP_RND_MASK): New.
6341 * config/ia64/sfp-exceptions.c: New.
6342 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
79261115 6343
bb5c97d4
UB
63442012-06-13 Uros Bizjak <ubizjak@gmail.com>
6345
6346 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
6347 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
6348 * config/i386/64/sfp-machine: ... (delete here) ...
6349 * config/i386/sfp-machine.h: ... to here.
6350 (FP_EX_MASK): Remove.
6351 (FP_RND_MASK): New.
6352 (FP_INIT_ROUNDMODE): Declare asm as volatile.
6353
91fe5efb
ST
63542012-06-11 Sriraman Tallam <tmsriram@google.com>
6355
6356 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
6357 * config/i386/libgcc-sol2.ver: Ditto.
6358 * config/i386/libgcc-glibc.ver: Ditto.
6359
67a218c5
RM
63602012-06-11 Roland McGrath <mcgrathr@google.com>
6361
6362 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
6363 If __GLIBC__ is defined, refer to __pthread_key_create instead of
6364 pthread_cancel.
6365
492fbea1
UB
63662012-06-09 Uros Bizjak <ubizjak@gmail.com>
6367
6368 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
6369 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
6370 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
6371 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
6372 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
6373 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
6374 * config/i386/64/sfp-machine: ... (delete here) ...
6375 * config/i386/sfp-machine.h: ... to here.
6376 (FP_EX_MASK): New.
6377 (__sfp_handle_exceptions): New function declaration.
6378 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
6379 * config/i386/sfp-exceptions.c: New.
6380 * config/i386/t-softfp: New.
6381 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
6382 i386/t-softfp to tmake_file.
6383
7b4cf266
DM
63842012-06-03 David S. Miller <davem@davemloft.net>
6385
6386 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
6387 change.
6388
0de0d5c6
DM
63892012-05-31 David S. Miller <davem@davemloft.net>
6390
6391 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
6392 multiply and divide instructions on 32-bit when V9.
6393 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
6394
d8c9d391
JM
63952012-05-29 Joseph Myers <joseph@codesourcery.com>
6396
6397 * config/arm/ieee754-df.S: Fix typos.
6398 * config/arm/ieee754-sf.S: Fix typos.
6399 * config/c6x/libunwind.S: Fix typos.
6400 * config/epiphany/udivsi3-float.c: Fix typos.
6401 * config/microblaze/muldi3_hard.S: Fix typos.
6402 * config/picochip/adddi3.S: Fix typos.
6403 * config/picochip/ashlsi3.S: Fix typos.
6404 * config/picochip/ashrsi3.S: Fix typos.
6405 * config/picochip/clzsi2.S: Fix typos.
6406 * config/picochip/cmpsi2.S: Fix typos.
6407 * config/picochip/divmod15.S: Fix typos.
6408 * config/picochip/divmodhi4.S: Fix typos.
6409 * config/picochip/divmodsi4.S: Fix typos.
6410 * config/picochip/longjmp.S: Fix typos.
6411 * config/picochip/lshrsi3.S: Fix typos.
6412 * config/picochip/parityhi2.S: Fix typos.
6413 * config/picochip/popcounthi2.S: Fix typos.
6414 * config/picochip/setjmp.S: Fix typos.
6415 * config/picochip/subdi3.S: Fix typos.
6416 * config/picochip/ucmpsi2.S: Fix typos.
6417 * config/picochip/udivmodhi4.S: Fix typos.
6418 * config/picochip/udivmodsi4.S: Fix typos.
6419 * config/spu/divv2df3.c: Fix typos.
6420 * config/spu/mfc_multi_tag_release.c: Fix typos.
6421 * config/spu/mfc_tag_release.c: Fix typos.
6422 * configure.ac: Fix typos.
6423 * configure: Regenerate.
6424
31a18a7e
ILT
64252012-05-25 Ian Lance Taylor <iant@google.com>
6426
6427 * config/i386/morestack.S (__morestack_non_split): Check whether
6428 caller is varargs and needs %bp to hold the stack frame on return.
6429
c5768510
OH
64302012-05-25 Olivier Hainque <hainque@adacore.com>
6431
6432 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
6433 sequence in the non pic case on VxWorks.
6434
7c7c339b
OH
64352012-05-24 Olivier Hainque <hainque@adacore.com>
6436
73fb7630 6437 * Makefile.in: Move dependency on install-unwind_h from
7c7c339b
OH
6438 "install-leaf" to "install".
6439
fdc1b7d3
OH
64402012-05-24 Olivier Hainque <hainque@adacore.com>
6441
6442 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
6443 Use a separate command for stamp removals.
6444
07ba94b9
AP
64452012-05-21 Andrew Pinski <apinski@cavium.com>
6446
6447 PR bootstrap/53183
6448 * configure.ac: Define the default includes to being none.
6449 * configure: Regenerate.
6450
4677d2eb
OH
64512012-05-16 Olivier Hainque <hainque@adacore.com>
6452
6453 * Makefile.in (install-unwind_h): Rename into ...
6454 (install-unwind_h-forbuild): New target.
6455 (all): Use it instead of the former install-unwind_h.
6456 (install-unwind_h): Reinstate, copy to user install destination
6457 for include files, not to the internal gcc object directory one.
6458 (install-leaf): Depend on it.
6459
7d67c380
OH
64602012-05-15 Olivier Hainque <hainque@adacore.com>
6461
6462 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
6463 register numbers. LR_REGNO replaces R_LR.
6464 (ucontext_for): New, helper for ...
6465 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
6466 and 5.3 of ...
6467 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
6468
aca06c90
RO
64692012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6470
6471 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
6472 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
6473 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
6474 i386/t-cpuinfo ...
6475 (i[34567]86-*-*, x86_64-*-*): ... here.
6476
6477 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
6478 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
6479
6480 * config/i386/i386-cpuinfo.c: Rename to ...
6481 * config/i386/cpuinfo.c: ... this.
6482 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
6483
6484 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
6485 (libgcc_cv_init_priority): New test.
6486 * configure: Regenerate.
6487 * config.in: New file.
6488 * Makefile.in (clean): Rename config.h to auto-target.h.
6489 (config.h): Likewise.
6490 (stamp-h): Likewise.
6491
6492 * config/i386/cpuinfo.c (auto-target.h): Include.
6493 (CONSTRUCTOR_PRIORITY): Define.
6494 (__cpu_indicator_init): Use it.
6495
0d03ac1b
L
64962012-05-09 H.J. Lu <hongjiu.lu@intel.com>
6497
6498 * longlong.h: Use a URL instead of an FSF postal address.
6499 Replace spaces with tab.
6500
4a172156 65012012-05-08 Teresa Johnson <tejohnson@google.com>
4e8ee9cb
TJ
6502
6503 * libgcov.c (gcov_clear, __gcov_reset): New functions.
6504 (__gcov_dump): Ditto.
6505 (gcov_dump_complete): New global variable.
6506 (gcov_exit): Export hidden to enable use in L_gcov_dump.
6507 (__gcov_flush): Outline functionality now in gcov_clear.
6508 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
6509
e4bb767e
AJ
65102012-04-28 Aurelien Jarno <aurelien@aurel32.net>
6511
31a18a7e
ILT
6512 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
6513 (mips*-*-linux*): Include mips/t-tpbit when long double is
6514 16 bytes long.
e4bb767e 6515
5ddecff9
ST
65162012-04-25 Sriraman Tallam <tmsriram@google.com>
6517
6518 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
6519 (get_available_features): New argument. Check for AVX2.
6520 (__cpu_indicator_init): Modify call to get_available_features.
6521
b427dd7a
AM
65222012-04-25 Alan Modra <amodra@gmail.com>
6523
6524 * config/rs6000/crtsavevr.S: New file.
6525 * config/rs6000/crtrestvr.S: New file.
6526 * config/rs6000/t-savresfgpr: Build the above.
6527 * config/rs6000/t-netbsd: Likewise.
6528
ad491329
ST
65292012-04-24 Sriraman Tallam <tmsriram@google.com>
6530
6531 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
6532
792317cc
ST
65332012-04-24 Sriraman Tallam <tmsriram@google.com>
6534
6535 * libgcc/config/i386/i386-cpuinfo.c: New file.
6536 * libgcc/config/i386/t-cpuinfo: New file.
6537 * libgcc/config.host: Include t-cpuinfo.
6538 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
6539
e1be98a4
CF
65402012-04-24 Chao-ying Fu <fu@mips.com>
6541
6542 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
6543
1bde7dab
TS
65442012-04-20 Thomas Schwinge <thomas@codesourcery.com>
6545
6546 struct siginfo vs. siginfo_t
6547
6548 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
6549 siginfo_t instead of struct siginfo.
6550 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
6551 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
6552 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
6553 (ia64_handle_unwabi): Likewise.
6554 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
6555 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
6556 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
6557 (sh_fallback_frame_state): Likewise.
6558 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
6559 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
6560
24590f66
L
65612012-04-02 H.J. Lu <hongjiu.lu@intel.com>
6562
6563 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
6564 system call number.
6565
9a9dcce8
EB
65662012-03-31 Eric Botcazou <ebotcazou@adacore.com>
6567
6568 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
6569 if it hasn't been previously saved.
6570
6401aaf5
L
65712012-03-29 H.J. Lu <hongjiu.lu@intel.com>
6572
6573 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
6574 only for glibc.
6575
7fd6378e
GJL
65762012-03-28 Georg-Johann Lay <avr@gjlay.de>
6577
6578 PR target/52737
6579 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
6580 instead of __AVR_HAVE_8BIT_SP__.
6581
9e916de7
TG
65822012-03-26 Tristan Gingold <gingold@adacore.com>
6583
6584 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
6585 (unw_table_entry): Use unw_word instead of unsigned long.
6586 (_Unwind_FindTableEntry): Likewise.
6587 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
6588 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
6589 (_Unwind_FindTableEntry): Likewise.
6590 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
6591 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
6592 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
6593 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
6594 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
6595 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
6596 (uw_init_context_1, uw_install_context): Likewise.
6597 (unw_word): Move to unwind-ia64.h
6598
4b12e93d
TG
65992012-03-26 Tristan Gingold <gingold@adacore.com>
6600
6601 * config/vms/vms-ucrt0.c: Update copyright years.
6602 Add a sanity check.
6603 (___gcc_main_flags): Declare.
6604 (__main): Check flags to remap argv and exit code.
6605 * config.host (*-*-*vms*): Adjust extra_parts.
6606 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
6607 (crt0.o): Add.
6608
06ea7371
RE
66092012-03-22 Richard Earnshaw <rearnsha@arm.com>
6610
6611 * arm/lib1funcs.asm (ctzsi2): New function.
6612 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
6613 * arm/t-linux (LIB1ASMFUNCS): Likewise.
6614 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
6615 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
6616 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
6617 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
6618
d82ad50d
AT
66192012-03-21 Andreas Tobler <andreast@fgznet.ch>
6620
6621 * config.host: Add bits to support powerpc64-*-freebsd*.
6622 * config/rs6000/freebsd-unwind.h: New file.
6623 * config/rs6000/t-freebsd64: New file.
6624
b260a8c0
RG
66252012-03-20 Richard Guenther <rguenther@suse.de>
6626
6627 PR gcov-profile/52627
6628 * libgcov.c (init_mx): Fix mutex name.
6629
86286a8a
TG
66302012-03-16 Tristan Gingold <gingold@adacore.com>
6631
6632 * config/ia64/vms-unwind.h: Remove ulong (and replace
6633 it by unw_reg where used). Define unw_reg with __int64.
6634
7888f266
RO
66352012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6636
6637 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
6638 Solaris 8 handling.
6639 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
6640 Solaris 8 handling.
6641 (sparc_is_sighandler): Likewise.
6642
f155bc64
L
66432012-03-13 H.J. Lu <hongjiu.lu@intel.com>
6644
6645 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
6646 <= saved reg size.
6647
d47657bd
RO
66482012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6649
6650 * config/arm/crtn.S: Fix typo.
6651
5bef73a1
RG
66522012-03-13 Richard Guenther <rguenther@suse.de>
6653
6654 * libgcov.c: Remove stdio.h include and NULL un-define.
6655
9c4271f3
RG
66562012-03-13 Richard Guenther <rguenther@suse.de>
6657
6658 PR target/52569
6659 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
6660
c6d10e7c
RG
66612012-03-13 Richard Guenther <rguenther@suse.de>
6662
6663 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
6664
074a385f
RG
66652012-03-13 Richard Guenther <rguenther@suse.de>
6666
6667 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
6668 and __gthread_mutex_init_function definitions.
6669
c4bc5c25
RO
66702012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6671
6672 * config.host (mips*-*-openbsd*): Remove.
6673
5c30094f
RO
66742012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6675
6676 * config.host: Remove alpha*-dec-osf5.1* handling.
6677 * config/alpha/gthr-posix.c: Remove.
6678 * config/alpha/libgcc-osf5.ver: Remove.
6679 * config/alpha/osf5-unwind.h: Remove.
6680 * config/alpha/t-osf-pthread: Remove.
6681 * config/alpha/t-slibgcc-osf: Remove.
6682 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
6683 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
6684 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
6685 * mkmap-flat.awk: Remove osf_export handling.
6686
33e3e24d
RG
66872012-03-12 Richard Guenther <rguenther@suse.de>
6688
6689 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
6690 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
6691 (__gthread_mutex_init_function): New function.
6692 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
6693
6694 PR gcov/49484
6695 * libgcov.c: Include gthr.h.
6696 (__gcov_flush_mx): New global variable.
6697 (init_mx, init_mx_once): New functions.
6698 (__gcov_flush): Protect self with a mutex.
6699 (__gcov_fork): Re-initialize mutex after forking.
6700 * unwind-dw2-fde.c: Change condition under which to use
6701 __GTHREAD_MUTEX_INIT_FUNCTION.
6702
d8aba32a
TG
67032012-03-12 Tristan Gingold <gingold@adacore.com>
6704
6705 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
6706 * config/ia64/t-vms: Likewise.
6707
75ffafdc
MH
67082012-03-11 Michael Hope <michael.hope@linaro.org>
6709
4a172156
UB
6710 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
6711 for Thumb-2.
75ffafdc 6712
ef6c2c53
WL
67132012-03-07 Walter Lee <walt@tilera.com>
6714
6715 * config/tilepro/atomic.c: Rename "atomic_" prefix to
6716 "arch_atomic_".
6717 (atomic_xor): Rename and move definition to
6718 config/tilepro/atomic.h.
6719 (atomic_nand): Ditto.
6720 * config/tilepro/atomic.h: Rename "atomic_" prefix to
6721 "arch_atomic_".
6722 (arch_atomic_xor): Move from config/tilepro/atomic.c.
6723 (arch_atomic_nand): Ditto.
6724
4e30d980
GJL
67252012-03-07 Georg-Johann Lay <avr@gjlay.de>
6726
6727 PR target/52507
6728 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
6729
61108225
GJL
67302012-03-07 Georg-Johann Lay <avr@gjlay.de>
6731
6732 PR target/52505
6733 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
6734 from RAM.
6735
b30e10ab
GJL
67362012-03-07 Georg-Johann Lay <avr@gjlay.de>
6737
6738 PR target/52461
6739 PR target/52508
6740 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
6741 if RAMPZ affects reading from RAM.
6742 (__tablejump_elpm__): Ditto.
6743 (.xload): Ditto.
6744 (__movmemx_hi): Ditto.
6745 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
6746 (__do_global_dtors): Ditto.
6747 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
6748 (__movmemx_hi): Ditto.
6749
8993fde4
RH
67502012-03-05 Richard Henderson <rth@redhat.com>
6751
6752 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
6753 [ARM] (count_trailing_zeros): Use the builtin.
6754
b7633ee3
KT
67552012-03-01 Kai Tietz <ktietz@redhat.com>
6756
6757 * soft-fp: Imported from glibc upstream.
6758
fbd3340c
KT
67592012-02-28 Kai Tietz <ktietz@redhat.com>
6760
6761 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
6762 for mingw-targets as attribute gcc_struct.
6763
e9e053eb
ILT
67642012-02-28 Ian Lance Taylor <iant@google.com>
6765
6766 * generic-morestack.c (__splitstack_releasecontext): Correct call
6767 to __morestack_release_segments.
6768
d80c632e
ST
67692012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
6770
6771 PR target/52390
6772 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
6773 for __linux__ when removing signals from __morestack_fullmask.
6774
0253a8b1
GJL
67752012-02-23 Georg-Johann Lay <avr@gjlay.de>
6776
6777 PR target/52261
6778 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
6779
e10e461e
UW
67802012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6781
6782 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
6783 instead of HAVE_INITFINI_ARRAY.
6784 * config/ia64/crtend.S: Likewise.
6785
0c0c6398
KT
67862012-02-20 Kai Tietz <ktietz@redhat.com>
6787
d7470374
KT
6788 PR libstdc++/52300
6789 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
6790
0c0c6398
KT
6791 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
6792 to w32-unwind.h header.
6793
78c27266
RS
67942012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
6795
6796 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
6797 (mips*-*-linux*): Remove t-slibgcc-libgcc.
6798 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
6799 * config/mips/mips16.S (__mips16_rdhwr): Delete.
6800
5adeb246
RS
68012012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
6802
6803 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
6804
672ed313
IS
68052012-02-15 Iain Sandoe <iains@gcc.gnu.org>
6806
6807 PR libitm/52220
6808 * config/darwin-crt-tm.c: Correct typo.
e9e053eb 6809
e948a1fb
IS
68102012-02-15 Iain Sandoe <iains@gcc.gnu.org>
6811 Patrick Marlier <patrick.marlier@gmail.com>
6812
6813 PR libitm/52220
6814 * config/darwin-crt-tm.c: Generate dummy functions.
6815
6017aed3
IS
68162012-02-15 Iain Sandoe <iains@gcc.gnu.org>
6817 Patrick Marlier <patrick.marlier@gmail.com>
6818
6819 PR libitm/52042
6820 * config/darwin-crt-tm.c (getTMCloneTable): New function.
6821 (__doTMRegistrations): Call it.
e9e053eb 6822 (__doTMdeRegistrations): Likewise.
6017aed3 6823
2da8c1ad 68242012-01-15 Georg-Johann Lay <avr@gjlay.de>
7d296953
JJ
6825 Anatoly Sokolov <aesok@post.ru>
6826 Eric Weddington <eric.weddington@atmel.com>
2da8c1ad
GJL
6827
6828 PR target/52261
6829 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
6830 (__epilogue_restores__): Ditto.
6831
0f952eb4
EB
68322012-02-15 Eric Botcazou <ebotcazou@adacore.com>
6833
6834 PR target/51921
6835 PR target/52205
6836 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
6837 Solaris 11 and slightly reformat.
6838 (sparc_is_sighandler): Likewise.
6839
dd552284
WL
68402012-02-14 Walter Lee <walt@tilera.com>
6841
6842 * config.host: Handle tilegx and tilepro.
6843 * config/tilegx/sfp-machine.h: New file.
6844 * config/tilegx/sfp-machine32.h: New file.
6845 * config/tilegx/sfp-machine64.h: New file.
6846 * config/tilegx/t-crtstuff: New file.
6847 * config/tilegx/t-softfp: New file.
6848 * config/tilegx/t-tilegx: New file.
6849 * config/tilepro/atomic.c: New file.
6850 * config/tilepro/atomic.h: New file.
6851 * config/tilepro/linux-unwind.h: New file.
6852 * config/tilepro/sfp-machine.h: New file.
6853 * config/tilepro/softdivide.c: New file.
6854 * config/tilepro/softmpy.S: New file.
6855 * config/tilepro/t-crtstuff: New file.
6856 * config/tilepro/t-tilepro: New file.
6857
b59cbd50
JW
68582012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
6859
6860 PR libstdc++/51296
6861 PR libstdc++/51906
6862 * gthr-posix.h: Allow static initializer macros to be disabled.
6863 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
6864
6caf807f
CLT
68652012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
6866
6867 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
6868 Add t-slibgcc-libgcc to tmake_file.
6869 * config/mips/libgcc-mips16.ver: Revert previous patch.
6870 * config/mips/mips16.S (__mips16_rdhwr): Hide.
6871
7d296953
JJ
68722012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
6873 Jayant R Sonar <jayant.sonar@kpitcummins.com>
b25364a0
S
6874
6875 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
6876 * config/cr16/crti.S: New file.
6877 * config/cr16/crtlibid.S: New file.
6878 * config/cr16/crtn.S: New file.
6879 * config/cr16/lib1funcs.S: New file.
6880 * config/cr16/t-cr16: New file.
6881 * config/cr16/t-crtlibid: New file.
6882 * config/cr16/unwind-dw2.h: New file.
6883 * config/cr16/unwind-cr16.c: New file.
6884 * config/cr16/divmodhi3.c: New file.
6885
8ef03aa7
AM
68862012-01-25 Alan Modra <amodra@gmail.com>
6887
6888 * config/rs6000/t-linux64: Delete. Move..
6889 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
6890 * config/rs6000/t-linux: ..and libgcc flags to here.
6891
daecebc8
DR
68922012-01-22 Douglas B Rupp <rupp@gnat.com>
6893
6894 * config.host (i[34567]86-*-interix3*):
8ef03aa7 6895 Change triplet to i[34567]86-*-interix[3-9]*.
daecebc8
DR
6896 * configure: Regenerate.
6897
ddaf8125
RS
68982012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
6899 Richard Sandiford <rdsandiford@googlemail.com>
6900
6901 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
6902 * config/mips/mips16.S (__mips16_rdhwr): New function.
6903 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
6904
2cd8b32c
NS
69052012-01-11 Nathan Sidwell <nathan@acm.org>
6906
6907 * libgcov.c (__gcov_init): Ignore objects with no functions.
6908
cba300dd
GJL
69092012-01-10 Georg-Johann Lay <avr@gjlay.de>
6910
6911 PR target/49868
6912 Extend __pgmx semantics to linearize memory.
6913 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
6914 * config/avr/lib1funcs.S (__xload_1): New function.
6915 (__movmemx_qi, __movmemx_hi): New functions.
6916 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
6917 semantics.
9ffaf4bc 6918
3d137660
EB
69192012-01-09 Eric Botcazou <ebotcazou@adacore.com>
6920
6921 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
6922 purported sigacthandler address isn't null before dereferencing it.
6923 (sparc_is_sighandler): Likewise.
6924
bf4db96c
EB
69252012-01-09 Eric Botcazou <ebotcazou@adacore.com>
6926
6927 PR ada/41929
6928 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
6929 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
6930 (sparc_is_sighandler): Likewise.
6931 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
6932
1ab3568b
TG
69332012-01-06 Tristan Gingold <gingold@adacore.com>
6934
6935 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
6936 compatibility thunks...
6937 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
6938 (crtbeginS.o, crtendS.o): ... and these to ...
6939 * config/ia64/t-ia64-elf: ... this new file.
6940 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
6941 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
6942
925b0ed8
AK
69432012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6944
6945 * configure: Regenerate.
6946 * config/s390/t-crtstuff: Remove -fPIC.
6947
a99ad737
JW
69482012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
6949
6950 PR bootstrap/51006
6951 * enable-execute-stack-mprotect.c (getpagesize): Do not define
6952 for NetBSD.
6953
884f56d1
GJL
69542012-01-02 Georg-Johann Lay <avr@gjlay.de>
6955
6956 PR target/51345
6957 * config/avr/lib1funcs.S: Remove FIXME comments.
6958 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
6959
8c57e547
GJL
69602012-01-02 Georg-Johann Lay <avr@gjlay.de>
6961
6962 Implement light-weight DImode support.
6963 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
6964 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
6965 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
6966 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
6967
04dbc287
NS
69682011-12-30 Nathan Sidwell <nathan@acm.org>
6969
6970 * libgcov.c (gcov_crc32): Remove global var.
6971 (free_fn_data): New function.
6972 (buffer_fn_data): Pass in filename, more robust error recovery.
6973 (crc32_unsigned): New function.
6974 (gcov_exit): More robust detection of new program. More robust
6975 error recovery.
6976 (__gcov_init): Do not update program's crc here.
6977
8e1d97d4
TG
69782011-12-21 Tristan Gingold <gingold@adacore.com>
6979
6980 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
6981
9ffaf4bc
ILT
69822011-12-21 Ian Lance Taylor <iant@google.com>
6983
6984 * config/i386/morestack.S: Simplify CFI opcodes throughout.
6985
a0c8d0c1
ILT
69862011-12-20 Ian Lance Taylor <iant@google.com>
6987
6988 * config/i386/morestack.S (__morestack_non_split): If there is
6989 enough stack space already, don't split. Ask for more stack space
6990 than we required.
6991
69048898
SDJ
69922011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
6993
6994 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
6995 `sys/sdt.h'.
6996 (_Unwind_DebugHook): New function.
6997 (uw_restore_core_regs): New define.
6998 (unwind_phase2): Use uw_restore_core_regs instead of
6999 restore_core_regs.
7000 (unwind_phase2_forced): Likewise.
7001 (__gnu_Unwind_Resume): Likewise.
7002
1bb4b6a3
UB
70032011-12-20 Uros Bizjak <ubizjak@gmail.com>
7004
7005 * config/alpha/linux-unwind.h: Update copyright years.
7006 (MD_FROB_UPDATE_CONTEXT): New define.
7007 (alpha_frob_update_context): New function.
7008
eb028768
RS
70092011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
7010
7011 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
7012 tmake_file rather replacing it.
7013
6a2045bf
IS
70142011-12-15 Iain Sandoe <iains@gcc.gnu.org>
7015
7016 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
1bb4b6a3 7017 function is not used for PPC64.
6a2045bf
IS
7018 (save_world): Amend comments. Update the VRsave mask to reflect the
7019 saved regs.
7020 (rest_world): Update comments, do not clobber r10, do not use r8.
7021 (eh_rest_world_r10): Amend comments, do not use r8.
7022 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
7023 no longer used, move restore of CR and target address to the end of
7024 the routine.
7025
a13780a6
L
70262011-12-14 H.J. Lu <hongjiu.lu@intel.com>
7027
7028 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
7029 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
7030
d7288dfb
GJL
70312011-12-14 Georg-Johann Lay <avr@gjlay.de>
7032
7033 PR target/49313
7034 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
7035 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
7036
8d2c862d
EB
70372011-12-11 Eric Botcazou <ebotcazou@adacore.com>
7038
7039 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
7040
3447cae6
GJL
70412011-12-09 Georg-Johann Lay <avr@gjlay.de>
7042
7043 PR target/49313
7044 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
7045 * config/avr/lib1funcs.S (__muldi3): New function.
7046
806fc6aa
AP
70472011-12-06 Andrew Pinski <apinski@cavium.com>
7048
7049 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
7050 size of func_ptr.
7051 (__frame_dummy_init_array_entry): Likewise.
7052
28c5e6b5
GJL
70532011-12-06 Georg-Johann Lay <avr@gjlay.de>
7054
7055 Forward-port from gcc-4_6-branch r181936 2011-12-02.
7056
7057 PR target/51345
7058 PR target/51002
7059 * config/avr/lib1funcs.S (__prologue_saves__,
7060 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
7061 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
7062
8f90394a
IS
70632011-12-04 Iain Sandoe <iains@gcc.gnu.org>
7064
7065 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
7066
06dd33ac
JDA
70672011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
7068
7069 PR other/51272
7070 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
7071 (_ITM_deregisterTMCloneTable): Likewise.
7072 (__register_frame_info): Fix unused warning.
7073 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
7074 pthread_default_stacksize_np): Likewise.
7075 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
1bb4b6a3 7076
85b8555e
DD
70772011-11-29 DJ Delorie <dj@redhat.com>
7078
7079 * config.host (rl78-*-elf): New case.
7080 * config/rl78: New directory for the Renesas RL78.
7081
4d5ae4ea
BS
70822011-11-29 Bernd Schmidt <bernds@codesourcery.com>
7083
7084 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
7085 formatting.
7086
f9c55897
RO
70872011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7088
7089 PR other/51022
7090 * config/rs6000/t-savresfgpr: New file.
7091 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
7092 $(srcdir)/config/rs6000/eabi.S.
7093 * config/rs6000/t-ppccomm-ldbl: Remove.
7094 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
7095 tmake_file.
7096 (powerpc-*-eabispe*): Likewise.
7097 (powerpc-*-eabi*): Likewise.
7098 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
7099 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
7100 to tmake_file, remove rs6000/t-ppccomm-ldbl.
7101 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
7102 tmake_file.
7103 (powerpc-*-eabisim*): Likewise.
7104 (powerpc-*-elf*): Likewise.
7105 (powerpc-*-eabialtivec*): Likewise.
7106 (powerpc-xilinx-eabi*): Likewise.
7107 (powerpc-*-rtems*): Likewise.
7108 (powerpcle-*-elf*): Likewise.
7109 (powerpcle-*-eabisim*): Likewise.
7110 (powerpcle-*-eabi*): Likewise.
7111
a01207c4
ILT
71122011-11-27 Ian Lance Taylor <iant@google.com>
7113
7114 * generic-morestack.c (__splitstack_find): Check for NULL old
7115 stack value.
7116 (__splitstack_resetcontext): New function.
7117 (__splitstack_releasecontext): New function.
7118 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
7119
2b0b8ab2
IS
71202011-11-27 Iain Sandoe <iains@gcc.gnu.org>
7121
7122 * config/darwin-crt-tm.c: Correct comments, use correct licence.
7123
c1d8101c
IS
71242011-11-27 Iain Sandoe <iains@gcc.gnu.org>
7125
7126 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
7127
8b281334
RH
71282011-11-26 Richard Henderson <rth@redhat.com>
7129
7130 * config/m68k/linux-atomic.c: New file.
7131 * config/m68k/t-linux: New file.
7132 * config.host (m68k-uclinux, m68k-linux): Use it.
7133
7546aa9d
RH
71342011-11-26 Richard Henderson <rth@redhat.com>
7135
7136 * crtstuff.c (__TMC_LIST__): Mark used not unused.
7137 (__TMC_END__): Only declare if hidden is available; in the definition,
7138 if hidden is unavailable add a null record.
7139 (deregister_tm_clones, register_tm_clones): New.
7140 (__do_global_dtors_aux, frame_dummy): Use them.
7141 (__do_global_dtors, __do_global_ctors_1): Likewise.
7142
e2362f5d
IS
71432011-11-22 Iain Sandoe <iains@gcc.gnu.org>
7144
7145 * config/darwin-crt-tm.c: New file.
7146 * config.host (darwin): Build crttms.o crttme.o to provide
7147 startup and shutdown for tm clones.
7148 * config/t-darwin (crttms.o): New build rule.
7149 (crttme.o): Likewise.
7150
6685dd96
HPN
71512011-11-21 Hans-Peter Nilsson <hp@axis.com>
7152
7153 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
7154 et al.
7155
b0dc7e4c
RH
71562011-11-21 Richard Henderson <rth@redhat.com>
7157
7158 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
7159 (__TMC_LIST__, __TMC_END__): New.
7160 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
7161 (__do_global_dtors): Likewise.
7162 (frame_dummy): Call _ITM_registerTMCloneTable.
7163 (__do_global_ctors_1): Likewise.
7164
d4b4b542
RO
71652011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7166
7167 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
7168 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
7169 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
7170 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
7171 * config/i386/t-darwin64: Remove.
7172 * config/sh/t-netbsd (LIB2ADD): Remove.
7173
989bdb74
GJL
71742011-11-21 Georg-Johann Lay <avr@gjlay.de>
7175
7176 PR target/49313
7177 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
7178 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
7179 * config/avr/lib1funcs.S (wmov): New assembler macro.
7180 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
7181 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
7182 (__udivmod64): New function.
7183 (__negdi2): New function.
7184
515a0cfc
GP
71852011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
7186
7187 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
7188 *-*-freebsd*aout*): Remove.
7189
0115d17f
HPN
71902011-11-20 Hans-Peter Nilsson <hp@axis.com>
7191
7192 * static-object.mk (c_flags-$o): Save c_flags.
7193 ($(base)$(objext)): Use it.
7194
93aeb62b
SE
71952011-11-18 Steve Ellcey <sje@cup.hp.com>
7196
7197 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
7198
7bc6df2c
GJL
71992011-11-18 Georg-Johann Lay <avr@gjlay.de>
7200
7201 PR target/49868
7202 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
7203 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
7204 New functions.
7205
425d737b
MGD
72062011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
7207
7208 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
7209 functions.
1bb4b6a3 7210 (aeabi_uidivmod): Likewise.
425d737b
MGD
7211 (umodsi3): Likewise.
7212 (divsi3): Likewise.
7213 (aeabi_idivmod): Likewise.
7214 (modsi3): Likewise.
7215
f2a176dc
TG
72162011-11-16 Tristan Gingold <gingold@adacore.com>
7217
7218 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
7219
7c209481
GJL
72202011-11-15 Georg-Johann Lay <avr@gjlay.de>
7221
7222 PR target/49868
7223 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
7224 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
7225
9dfd5832
JDA
72262011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
7227
7228 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
7229 tmake_file list.
7230 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
7231 * config/pa/t-stublib64: Delete.
7232
f77dca5d
RH
72332011-11-12 Richard Henderson <rth@redhat.com>
7234
7235 * config/rs6000/linux-unwind.h (frob_update_context): Properly
7236 cast the pointer argument to _Unwind_SetGRPtr.
7237
902828f0
RO
72382011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7239
7240 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
7241
e14304ef
ILT
72422011-11-09 Ian Lance Taylor <iant@google.com>
7243
7244 * generic-morestack.c: Include <string.h>.
7245 (uintptr_type): Define.
7246 (struct initial_sp): Add dont_block_signals field. Reduce size of
7247 extra array by 1.
7248 (allocate_segment): Set prev field to NULL. Don't set
7249 __morestack_current_segment or __morestack_segments.
7250 (__generic_morestack): Update current->prev and *pp after calling
7251 allocate_segment.
7252 (__morestack_block_signals): Don't do anything if
7253 dont_block_signals is set.
7254 (__morestack_unblock_signals): Likewise.
7255 (__generic_findstack): Check for initial_sp == NULL. Add casts to
7256 uintptr_type.
7257 (__splitstack_block_signals): New function.
7258 (enum __splitstack_content_offsets): Define.
7259 (__splitstack_getcontext, __splitstack_setcontext): New functions.
7260 (__splitstack_makecontext): New function.
7261 (__splitstack_block_signals_context): New function.
7262 (__splitstack_find_context): New function.
7263 * config/i386/morestack.S (__morestack_get_guard): New function.
7264 (__morestack_set_guard, __morestack_make_guard): New functions.
7265 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
7266
e3d871e4
RO
72672011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7268
7269 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
7270 (i[34567]86-*-mingw*): ... here.
7271 (x86_64-*-mingw*): ... here.
7272
e55cef40
RO
72732011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7274
7275 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
7276
5366b186
NS
72772011-11-07 Nathan Sidwell <nathan@acm.org>
7278
7279 * libgcov.c (struct gcov_fn_buffer): New struct.
7280 (buffer_fn_data): New helper.
7281 (gcov_exit): Rework for new gcov data structures.
7282
74155a6f
GJL
72832011-11-07 Georg-Johann Lay <avr@gjlay.de>
7284
7285 PR target/49313
7286 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
7287
200feb07
RO
72882011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7289
7290 * config.host (tmake_file): Correct comment.
7291 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
7292 t-libgcc-pic.
7293 (bfin*-uclinux*): Likewise.
7294 (bfin*-linux-uclibc*): Likewise.
7295 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
7296
7297 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
7298 assigning.
7299 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7300 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
7301 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7302 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
7303 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7304 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
7305 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
7306 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7307 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
7308 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
7309 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
7310 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
7311 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
7312
7313 * config/bfin/t-elf: Remove.
7314 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
7315
c9cd1a07
RO
73162011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7317
7318 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
7319 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
7320 (lm32-*-elf*, lm32-*-rtems*): Split into ...
7321 (lm32-*-elf*): ... this.
7322 (lm32-*-rtems*): ... and this.
7323 Add to tmake_file.
7324 (m32r-*-rtems*): Add to tmake_file.
7325 (moxie-*-rtems*): Likewise.
7326 (sparc-*-rtems*): Likewise.
7327 Remove t-rtems from tmake_file.
7328 (sparc64-*-rtems*): Likewise.
7329 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
7330 instead.
7331
9fbcc75d
RO
73322011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7333
7334 PR bootstrap/50982
7335 * config/gthr-posix.h: Move ...
7336 * gthr-posix.h: ... here.
7337 * config/gthr-lynx.h: Reflect this.
7338 * config/gthr-vxworks.h: Likewise.
7339 * config/rs6000/gthr-aix.h: Likewise.
7340 * configure.ac (target_thread_file): Likewise.
7341 * configure: Regenerate.
7342
76644b68
SH
73432011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
7344
7345 * config.host (arm*-*-rtemseabi*): New target.
7346
5e490f2a
JDA
73472011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
7348
7349 PR other/50991
7350 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
7351 extra-parts.
7352
feeeff5c
JR
73532011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
7354
7355 * config.host (epiphany-*-elf*): New configuration.
7356 * config/epiphany: New Directory.
7357
d618bb2c
RC
73582011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
7359
7360 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
7361 * config/avr/t-rtems: New.
7362 Filter out _exit from LIB1ASMFUNCS.
7363
1bb6f778
DM
73642011-11-04 David S. Miller <davem@davemloft.net>
7365
7366 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
7367 * configure: Rebuild.
7368
9a7f7422
AK
73692011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7370
7371 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
7372 variable.
7373
e4fe948a
GJL
73742011-11-04 Georg-Johann Lay <avr@gjlay.de>
7375
7376 PR target/50931
7377 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
7378 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
7379
7084e037
JS
73802011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
7381
7382 PR target/50989
7383 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
7384
1a032034
RO
73852011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7386
7387 * config/c6x/t-elf (LIB2ADDEH): Set.
7388 * config/c6x/t-c6x-elf: Remove.
7389
d385f772
RO
73902011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7391
7392 * config/i386/sol2-ci.S: Rename to ...
7393 * config/i386/crti.S: ... this.
7394 * config/i386/sol2-cn.S: Rename to ...
7395 * config/i386/crtn.S: ... this.
7396 * config/sparc/sol2-ci.S: Rename to ...
7397 * config/sparc/crti.S: ... this.
7398 * config/sparc/sol2-cn.S: Rename to ...
7399 * config/sparc/crtn.S: ... this.
7400 * config/t-sol2 (CUSTOM_CRTIN): Remove.
7401 (crti.o, crtn.o): Remove.
7402
1ba878a9
TG
74032011-11-04 Tristan Gingold <gingold@adacore.com>
7404
7405 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
7406
02750c15
KK
74072011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
7408
7409 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
7410
bf86b067
HPN
74112011-11-03 Hans-Peter Nilsson <hp@axis.com>
7412
7413 * config.host (crisv32-*-none, cris-*-none): Remove.
7414 (crisv32-*-elf): Append to tmake_file, don't just set it.
7415 (cris-*-elf): Add missing t-fdpbit to tmake_file.
7416
d0bc53bd
RO
74172011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7418
7419 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
7420 (ecrtn$(objext)): Likewise.
7421 (ncrti$(objext)): Likewise.
7422 (ncrtn$(objext)): Likewise.
7423
036da830
AS
74242011-11-03 Andreas Schwab <schwab@redhat.com>
7425
7426 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
7427
d2a7d041
DM
74282011-11-02 David S. Miller <davem@davemloft.net>
7429
7430 * configure.ac: Set host_address on sparc too.
7431 * configure: Regenerate.
7432 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
7433 based upon host_address.
7434 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
7435
af8ed618
JM
74362011-11-02 Jason Merrill <jason@redhat.com>
7437
7438 * config/rs6000/t-ppccomm: Add missing \.
7439
5d1c8e77
RO
74402011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7441
7442 * gthr-single.h, gthr.h: New files.
7443 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
7444 config/gthr-vxworks.h, config/i386/gthr-win32.h,
7445 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
7446 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
7447 * config/i386/gthr-win32.c: Include "gthr-win32.h".
7448 * configure.ac (thread_header): New variable.
7449 Set it depending on target_thread_file.
7450 (gthr-default.h): Link from $thread_header.
7451 * configure: Regenerate.
7452 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
7453
852b75ed
RO
74542011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7455
7456 * configure.ac (tm_file_): New variable.
7457 Determine from tm_file.
7458 (tm_file, tm_defines): Substitute.
7459 * configure: Regenerate.
7460 * mkheader.sh: New file.
7461 * Makefile.in (clean): Remove libgcc_tm.h.
7462 ($(objects)): Depend on libgcc_tm.h.
7463 (libgcc_tm_defines, libgcc_tm_file): New variables.
7464 (libgcc_tm.h, libgcc_tm.stamp): New targets.
7465 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
7466 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
7467 ($(extra-parts)): Depend on libgcc_tm.h.
7468 * config.host (tm_defines, tm_file): New variable.
7469 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
7470 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
7471 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
7472 (avr-*-rtems*): Likewise.
7473 (avr-*-*): Likewise.
7474 (frv-*-elf): Likewise.
7475 (frv-*-*linux*): Likewise.
7476 (h8300-*-rtems*): Likewise.
7477 (h8300-*-elf*): Likewise.
7478 (i[34567]86-*-darwin*): Likewise.
7479 (x86_64-*-darwin*): Likewise.
7480 (rx-*-elf): Likewise.
7481 (tic6x-*-uclinux): Likewise.
7482 (tic6x-*-elf): Likewise.
7483 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
7484 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
7485 * config/i386/cygming-crtbegin.c: Likewise.
7486 * config/i386/cygming-crtend.c: Likewise.
7487 * config/ia64/fde-vms.c: Likewise.
7488 * config/ia64/unwind-ia64.c: Likewise.
7489 * config/libbid/bid_gcc_intrinsics.h: Likewise.
7490 * config/rs6000/darwin-fallback.c: Likewise.
7491 * config/stormy16/lib2funcs.c: Likewise.
7492 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
7493 * crtstuff.c: Likewise.
7494 * dfp-bit.h: Likewise.
7495 * emutls.c: Likewise.
7496 * fixed-bit.c: Likewise.
7497 * fp-bit.c: Likewise.
7498 * generic-morestack-thread.c: Likewise.
7499 * generic-morestack.c: Likewise.
7500 * libgcc2.c: Likewise.
7501 * libgcov.c: Likewise.
7502 * unwind-dw2-fde-dip.c: Likewise.
7503 * unwind-dw2-fde.c: Likewise.
7504 * unwind-dw2.c: Likewise.
7505 * unwind-sjlj.c: Likewise.
7506
f9989b51
RO
75072011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7508
7509 * configure.ac: Include ../config/picflag.m4.
7510 (GCC_PICFLAG): Call it.
7511 Substitute.
7512 * configure: Regenerate.
7513 * Makefile.in (gcc_srcdir): Remove.
7514 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
7515 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
7516 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
7517 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
7518 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
7519 Use $<.
7520 Remove comment.
7521 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
7522 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
7523 to refer to libgcc2.c.
7524 Use $<.
7525 * config/darwin-64.c: New file.
7526 * config/darwin-crt3.c: Remove comment.
7527 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
7528 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
7529 config/udivmodsi4.c: New files.
7530 * config/memcmp.c, config/memcpy.c, config/memmove.c,
7531 config/memset.c: New files.
7532 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
7533 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
7534 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
7535 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
7536 * config/t-openbsd-thread: New file.
7537 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
7538 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
7539 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
7540 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
7541 qrnnd.S.
7542 Adapt filename.
7543 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
7544 to refer to gthr-posix.c.
7545 * config/alpha/t-vms (LIB2ADD): Set.
7546 * config/alpha/vms-gcc_shell_handler.c: New file.
7547 * config/arm/bpabi.c, config/arm/fp16.c,
7548 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
7549 config/arm/unaligned-funcs.c: New files.
7550 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
7551 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
7552 * config/arm/t-linux: Likewise.
7553 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
7554 * config/arm/t-netbsd: New file.
7555 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
7556 * config/arm/t-symbian (LIB2ADD_ST): Set.
7557 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
7558 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7559 * config/bfin/t-elf: New file.
7560 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
7561 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
7562 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
7563 config/c6x/ltf.c: New files.
7564 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
7565 (HOST_LIBGCC2_CFLAGS): Set.
7566 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
7567 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7568 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
7569 New files.
7570 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
7571 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
7572 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
7573 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
7574 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
7575 files.
7576 * config/frv/t-frv (LIB2ADD): Set.
7577 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7578 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
7579 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
7580 config/h8300/popcounthi2.c: New files.
7581 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
7582 * config/i386/gthr-win32.c: New file.
7583 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
7584 * config/i386/t-cygwin: Likewise.
7585 * config/i386/t-darwin, config/i386/t-darwin64,
7586 config/i386/t-gthr-win32, config/i386/t-interix: New files.
7587 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
7588 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7589 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7590 * config/ia64/quadlib.c: New file.
7591 * config/ia64/t-hpux (LIB2ADD): Set.
7592 * config/ia64/t-ia64: Add comment.
7593 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
7594 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7595 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
7596 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
7597 * config/m32c/t-m32c (LIB2ADD): Set.
7598 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
7599 * config/m32r/t-m32r: Likewise.
7600 * config/m68k/fpgnulib.c: New file.
7601 * config/m68k/t-floatlib (LIB2ADD): Set.
7602 (xfgnulib.c): New target.
7603 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
7604 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
7605 * config/mep/t-mep (LIB2ADD): Set.
7606 * config/microblaze/divsi3.asm: Rename to divsi3.S.
7607 * config/microblaze/moddi3.asm: Rename to moddi3.S.
7608 * config/microblaze/modsi3.asm: Rename to modsi3.S.
7609 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
7610 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
7611 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
7612 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
7613 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
7614 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
7615 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
7616 New files.
7617 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
7618 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
7619 * config/pa/fptr.c, config/pa/lib2funcs.S,
7620 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
7621 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
7622 (LIB2ADD, LIB2ADD_ST): Set.
7623 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
7624 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
7625 Set.
7626 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
7627 * config/pdp11/t-pdp11: New file.
7628 * config/picochip/libgccExtras/adddi3.S,
7629 config/picochip/libgccExtras/ashlsi3.S,
7630 config/picochip/libgccExtras/ashrsi3.S,
7631 config/picochip/libgccExtras/clzsi2.S,
7632 config/picochip/libgccExtras/cmpsi2.S,
7633 config/picochip/libgccExtras/divmod15.S,
7634 config/picochip/libgccExtras/divmodhi4.S,
7635 config/picochip/libgccExtras/divmodsi4.S,
7636 config/picochip/libgccExtras/lshrsi3.S,
7637 config/picochip/libgccExtras/parityhi2.S,
7638 config/picochip/libgccExtras/popcounthi2.S,
7639 config/picochip/libgccExtras/subdi3.S,
7640 config/picochip/libgccExtras/ucmpsi2.S,
7641 config/picochip/libgccExtras/udivmodhi4.S,
7642 config/picochip/libgccExtras/udivmodsi4.S: New files.
7643 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
7644 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
7645 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
7646 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
7647 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
7648 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
7649 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
7650 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
7651 files.
7652 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
7653 (HOST_LIBGCC2_CFLAGS): Set.
7654 * config/rs6000/t-darwin64: New file.
7655 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
7656 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
7657 * config/rs6000/t-ppccomm (LIB2ADD): Add
7658 $(srcdir)/config/rs6000/tramp.S.
7659 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
7660 Add $(srcdir)/config/rs6000/eabi.S.
7661 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
7662 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
7663 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
7664 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
7665 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
7666 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
7667 * config/rs6000/tramp.S: New file.
7668 * config/s390/t-tpf: Remove.
7669 * config/sh/linux-atomic.S: New file.
7670 * config/sh/t-linux (LIB2ADD): Set.
7671 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
7672 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
7673 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
7674 to unwind-dw2.c.
7675 (HOST_LIBGCC2_CFLAGS): Set.
7676 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7677 * config/spu/divmodti4.c, config/spu/divv2df3.c,
7678 config/spu/float_disf.c, config/spu/float_unsdidf.c,
7679 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
7680 config/spu/mfc_multi_tag_release.c,
7681 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
7682 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
7683 config/spu/multi3.c: New files.
7684 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
7685 (HOST_LIBGCC2_CFLAGS): Set.
7686 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
7687 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
7688 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
7689 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
7690 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
7691 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
7692 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
7693 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
7694 config/stormy16/umodsi3.c: New files.
7695 * config/xtensa/lib2funcs.S: New file.
7696 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
7697 * config/xtensa/t-xtensa (LIB2ADD): Set.
7698 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
7699 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
7700 Add t-freebsd-thread to tmake_file for posix threads.
7701 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
7702 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
7703 (*-*-lynxos*): Likewise.
7704 (*-*-netbsd*): Likewise.
7705 (*-*-openbsd*): Likewise.
7706 Add t-openbsd-thread to tmake_file for posix threads.
7707 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
7708 (*-*-vxworks*): Set tmake_file.
7709 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
7710 (alpha*-*-freebsd*): Likewise.
7711 (alpha*-*-netbsd*): Likewise.
7712 (alpha*-*-openbsd*): Likewise.
7713 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
7714 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
7715 (alpha*-dec-*vms*): Likewise.
7716 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
7717 (bfin*-elf*): Add bfin/t-elf to tmake_file.
7718 (bfin*-uclinux*): Likewise.
7719 (bfin*-linux-uclibc*): Likewise.
7720 (crisv32-*-elf): Add cris/t-cris to tmake_file.
7721 (crisv32-*-none): Likewise.
7722 (cris-*-elf): Likewise.
7723 (cris-*-none): Likewise.
7724 (cris-*-linux*, crisv32-*-linux*): Likewise.
7725 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
7726 tmake_file.
7727 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
7728 tmake_file.
7729 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
7730 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
7731 (x86_64-*-elf*): Likewise.
7732 (i[34567]86-*-nto-qnx*): Likewise.
7733 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
7734 win32 threads.
7735 (x86_64-*-mingw*): Likewise.
7736 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
7737 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
7738 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
7739 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
7740 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
7741 tmake_file.
7742 (mipsisa64sr71k-*-elf*): Likewise.
7743 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
7744 (mips-*-elf*, mipsel-*-elf*): Likewise.
7745 (mips64-*-elf*, mips64el-*-elf*): Likewise.
7746 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
7747 (mips*-*-rtems*): Likewise.
7748 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
7749 to tmake_file.
7750 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
7751 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
7752 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
7753 (spu-*-elf*): Likewise.
7754 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
7755
45b86625
RO
77562011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7757
7758 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
7759 $(srcdir) to refer to $(LIB1ASMSRC).
7760 Use $<.
7761 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
7762 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
7763 config/arm/lib1funcs.S: New files.
7764 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
7765 * config/arm/t-arm: New file.
7766 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
7767 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
7768 config/arm/t-strongarm-elf: New files.
7769 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
7770 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
7771 * config/avr/lib1funcs.S: New file.
7772 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7773 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
7774 * config/c6x/lib1funcs.S: New file.
7775 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7776 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
7777 * config/frv/lib1funcs.S: New file.
7778 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7779 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
7780 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
7781 * config/ia64/__divxf3.asm: Rename to ...
7782 * config/ia64/__divxf3.S: ... this.
7783 Adapt lib1funcs.asm filename.
7784 * config/ia64/_fixtfdi.asm: Rename to ...
7785 * config/ia64/_fixtfdi.S: ... this.
7786 Adapt lib1funcs.asm filename.
7787 * config/ia64/_fixunstfdi.asm: Rename to ...
7788 * config/ia64/_fixunstfdi.S: ... this.
7789 Adapt lib1funcs.asm filename.
7790 * config/ia64/_floatditf.asm: Rename to ...
7791 * config/ia64/_floatditf.S: ... this.
7792 Adapt lib1funcs.asm filename.
7793 * config/ia64/lib1funcs.S: New file.
7794 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
7795 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7796 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
7797 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
7798 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
7799 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
7800 * config/mep/lib1funcs.S: New file.
7801 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7802 * config/mips/mips16.S: New file.
7803 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7804 * config/pa/milli64.S: New file.
7805 * config/pa/t-linux, config/pa/t-linux64: New files.
7806 * config/picochip/lib1funcs.S: New file.
7807 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7808 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
7809 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
7810 * config/sh/t-netbsd: New file.
7811 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
7812 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
7813 * config/sh/t-sh64: New file.
7814 * config/sparc/lb1spc.S: New file.
7815 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
7816 filename.
7817 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
7818 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
7819 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
7820 config/xtensa/lib1funcs.S: New files.
7821 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7822 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
7823 tmake_file.
7824 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
7825 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
7826 (arm*-*-linux*): Likewise.
7827 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
7828 arm*-*-linux-*eabi, add arm/t-linux otherwise.
7829 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
7830 (arm*-*-ecos-elf): Likewise.
7831 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
7832 (arm*-*-rtems*): Likewise.
7833 (arm*-*-elf): Likewise.
7834 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
7835 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
7836 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
7837 (bfin*-uclinux*): Likewise.
7838 (bfin*-linux-uclibc*): Likewise.
7839 (bfin*-rtems*): Likewise.
7840 (bfin*-*): Likewise.
7841 (fido-*-elf): Merge into m68k-*-elf*.
7842 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
7843 (frv-*-*linux*): Add frv/t-frv to tmake_file.
7844 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
7845 (h8300-*-elf*): Likewise.
7846 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
7847 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
7848 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
7849 (i[34567]86-*-mingw*): Likewise.
7850 (x86_64-*-mingw*): Likewise.
7851 (i[34567]86-*-interix3*): Likewise.
7852 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
7853 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
7854 (m68k-*-elf*): Also handle fido-*-elf.
7855 Add m68k/t-floatlib to tmake_file.
7856 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
7857 (m68k-*-linux*): Likewise.
7858 (m68k-*-rtems*): Likewise.
7859 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
7860 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
7861 sh64*-*-*.
7862 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
7863 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
7864 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
7865 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
7866 sh/t-netbsd to tmake_file.
7867 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
7868 (sh-*-rtems*): Add sh/t-sh to tmake_file.
7869 (sh-wrs-vxworks): Likewise.
7870 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
7871 *-leon[3-9]*.
7872 (v850*-*-*): Add v850/t-v850 to tmake_file.
7873 (vax-*-linux*): Add vax/t-linux to tmake_file.
7874 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
7875
5f73c6cc
RO
78762011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7877
7878 * crtstuff.c: New file.
7879 * Makefile.in (CRTSTUFF_CFLAGS): Define.
7880 (CRTSTUFF_T_CFLAGS): Define.
7881 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
7882 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
7883 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
7884 crtstuff.c.
7885 Use $<.
7886 (crtbeginT.o): Use $(objext).
7887 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
7888 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
7889 (gcc-extra-parts): Remove.
7890 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
7891 Set extra_parts.
7892 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
7893 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
7894 Add t-crtstuff-pic to tmake_file.
7895 (*-*-lynxos*): New case.
7896 Set tmake_file, extra_parts.
7897 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
7898 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
7899 *-*-netbsdelf[2-9]*.
7900 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
7901 (*-*-rtems*): Set extra_parts.
7902 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
7903 (*-*-uclinux*): New case.
7904 Set extra_parts.
7905 (*-*-vms*): New case.
7906 Set tmake_file, extra_parts.
7907 (*-*-elf): Set extra_parts.
7908 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
7909 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
7910 vms/t-vms64.
7911 Set extra_parts.
7912 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
7913 Set extra_parts.
7914 (arm*-*-freebsd*): Add t-crtin to tmake_file.
7915 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
7916 (arm-wrs-vxworks): Append to tmake_file.
7917 Set extra_parts.
7918 (arm*-*-uclinux*): Set extra_parts.
7919 (arm*-*-ecos-elf): Likewise.
7920 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
7921 arm*-*-eabi*.
7922 (arm*-*-rtems*): Set extra_parts.
7923 (arm*-*-elf): Likewise.
7924 (avr-*-rtems*): Clear extra_parts.
7925 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
7926 Set extra_parts.
7927 (bfin*-uclinux*): Likewise.
7928 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
7929 (bfin*-rtems*): Append to tmake_file.
7930 Set extra_parts.
7931 (bfin*-*): Likewise.
7932 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
7933 (crisv32-*-elf): ... this.
7934 (crisv32-*-none): ... this.
7935 (cris-*-elf, cris-*-none): New cases.
7936 Add cris/t-elfmulti to tmake_file.
7937 (fr30-*-elf): Append to tmake_file.
7938 Set extra_parts.
7939 (frv-*-elf): Append to tmake_file, add frv/t-frv.
7940 Set extra_parts.
7941 (h8300-*-rtems*): Append to tmake_file.
7942 Set extra_parts.
7943 (h8300-*-elf*): Likewise.
7944 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
7945 Set extra_parts.
7946 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
7947 Set extra_parts.
7948 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
7949 (x86_64-*-elf*): Likewise.
7950 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
7951 (x86_64-*-freebsd*): Likewise.
7952 (x86_64-*-netbsd*): Likewise.
7953 (i[34567]86-*-linux*): Likewise.
7954 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
7955 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
7956 (x86_64-*-linux*): Likewise.
7957 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
7958 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
7959 tmake_file.
7960 Set extra_parts.
7961 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
7962 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
7963 Append to extra_parts, remove crtbegin.o, crtend.o.
7964 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
7965 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
7966 crtend.o, crtbeginS.o, crtendS.o.
7967 (ia64*-*-linux*): Comment extra_parts.
7968 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
7969 Set extra_parts.
7970 (iq2000*-*-elf*): Clear extra_parts.
7971 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
7972 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
7973 (m32r-*-elf*, m32r-*-rtems*): Split off ...
7974 (m32r-*-rtems*): ... this.
7975 Add m32r/t-m32r to tmake_file.
7976 (m68k-*-elf*): Add t-crtin to tmake_file.
7977 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
7978 (mcore-*-elf): Likewise.
7979 (microblaze*-*-*): Set extra_parts.
7980 (mips*-sde-elf*): New case.
7981 Set tmake_file, extra_parts.
7982 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
7983 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
7984 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
7985 tmake_file.
7986 Set extra_parts.
7987 (mipsisa64sr71k-*-elf*): Likewise.
7988 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
7989 (mips-*-elf*, mipsel-*-elf*): Likewise.
7990 (mips64-*-elf*, mips64el-*-elf*): Likewise.
7991 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
7992 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
7993 (mips*-*-rtems*): Likewise.
7994 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
7995 (moxie-*-*): Split into ...
7996 (moxie-*-elf, moxie-*-uclinux*): ... this.
7997 Add to extra_parts, remove crtbegin.o, crtend.o.
7998 (moxie-*-rtems*): New case.
7999 Set tmake_file.
8000 Clear extra_parts.
8001 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
8002 Set extra_parts.
8003 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
8004 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
8005 tmake_file.
8006 Set extra_parts.
8007 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
8008 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
8009 Set extra_parts.
8010 (powerpc-*-eabisim*): Likewise.
8011 (powerpc-*-elf*): Likewise.
8012 (powerpc-*-eabialtivec*): Likewise.
8013 (powerpc-xilinx-eabi*): Likewise.
8014 (powerpc-*-eabi*): Likewise.
8015 (powerpc-*-rtems*): Likewise.
8016 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
8017 tmake_file.
8018 Set extra_parts.
8019 (powerpc-*-lynxos*): Add to tmake_file.
8020 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
8021 rs6000/t-crtstuff, t-crtstuff-pic.
8022 Set extra_parts.
8023 (powerpcle-*-eabisim*): Likewise.
8024 (powerpcle-*-eabi*): Likewise.
8025 (rx-*-elf): Remove extra_parts.
8026 (s390x-ibm-tpf*): Set extra_parts.
8027 (score-*-elf): Set extra_parts.
8028 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
8029 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
8030 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
8031 (sh64l*-*-netbsd*): Split into ...
8032 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
8033 Add t-crtstuff-pic to tmake_file.
8034 Set extra_parts.
8035 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
8036 Set extra_parts.
8037 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
8038 (sparc-*-elf*): Remove t-crtin from tmake_file.
8039 Add to extra_parts, remove crtbegin.o, crtend.o.
8040 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
8041 (sparc64-*-linux*): Likewise.
8042 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
8043 Add to extra_parts, remove crtbegin.o, crtend.o.
8044 (sparc64-*-elf*): Remove t-crtin from tmake_file.
8045 Add to extra_parts, remove crtbegin.o, crtend.o.
8046 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
8047 Add to extra_parts, remove crtbegin.o, crtend.o.
8048 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
8049 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
8050 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
8051 Set extra_parts.
8052 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
8053 Set extra_parts.
8054 (tic6x-*-*): Change to ...
8055 (tic6x-*-elf): ... this.
8056 Set extra_parts.
8057 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
8058 Set extra_parts.
8059 (am33_2.0-*-linux*): Add comment.
8060 (mep*-*-*): Add mep/t-mep to tmake_file.
8061 Set extra_parts.
8062 * config/alpha/t-vms: New file.
8063 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
8064 * config/arm/crti.S, config/arm/crtn.S: New files.
8065 * config/bfin/crti.S, config/bfin/crtn.S: New files.
8066 * config/bfin/crtlibid.S: New file.
8067 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
8068 * config/c6x/crti.S, config/c6x/crtn.S: New files.
8069 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
8070 (crti.o, crtin.o): New rules.
8071 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
8072 * config/c6x/t-uclinux: New file.
8073 * config/cris/t-elfmulti: New file.
8074 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
8075 * config/fr30/crti.S, config/fr30/crtn.S: New files.
8076 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
8077 * config/frv/t-frv: New file.
8078 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
8079 * config/h8300/crti.S, config/h8300/crtn.S: New files.
8080 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
8081 New files.
8082 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
8083 refer to cygming-crtbegin.c, cygming-crtend.c.
8084 Use $<.
8085 * config/i386/t-nto: New file.
8086 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
8087 * config/ia64/crti.S, config/ia64/crtn.S: New files.
8088 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
8089 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
8090 Use .S extension.
8091 Use $<.
8092 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
8093 (crtinitS.o): New rule.
8094 * config/ia64/vms-crtinit.S: New file.
8095 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
8096 * config/m32r/initfini.c: New file.
8097 * config/m32r/t-linux, config/m32r/t-m32r: New files.
8098 * config/m68k/crti.S, config/m68k/crtn.S: New files.
8099 * config/mcore/crti.S, config/mcore/crtn.S: New files.
8100 * config/mep/t-mep: New file.
8101 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
8102 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
8103 * config/mips/crti.S, config/mips/crtn.S: New files.
8104 * config/mips/t-crtstuff: New file.
8105 * config/mmix/crti.S, config/mmix/crtn.S: New files.
8106 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
8107 (CUSTOM_CRTIN): Set.
8108 ($(T)crti.o, $(T)crtn.o): Remove $(T),
8109 dependencies.
8110 Use $(srcdir) to refer to crti.S, crtn.S.
8111 Use .S extension, $<.
8112 * config/moxie/crti.asm: Rename to ...
8113 * config/moxie/crti.S: ... this.
8114 * config/moxie/crtn.asm: Rename to ...
8115 * config/moxie/crtn.S: ... this.
8116 * config/moxie/t-moxie: Remove.
8117 * config/pa/stublib.c: New file.
8118 * config/pa/t-stublib, config/pa/t-stublib64: New files.
8119 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
8120 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
8121 * config/rs6000/t-crtstuff: New file.
8122 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
8123 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
8124 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
8125 Make output file explicit.
8126 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
8127 Make output file explicit.
8128 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
8129 Make output file explicit.
8130 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
8131 Make output file explicit.
8132 * config/score/crti.S, config/score/crtn.S: New files.
8133 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
8134 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
8135 files.
8136 * config/sh/t-sh, config/sh/t-superh: New files.
8137 * config/sparc/t-linux64: New file.
8138 * config/spu/cache.S, config/spu/cachemgr.c: New files.
8139 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
8140 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
8141 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
8142 * config/t-crtin: Remove.
8143 * config/t-crtstuff-pic: New file.
8144 * config/t-sol2 (CUSTOM_CRTIN): Set.
8145 (crti.o, crtn.o): New rules.
8146 * config/vms/t-vms: New file.
8147 * config/vms/vms-ucrt0.c: New file.
8148 * config/xtensa/t-elf: New file.
8149
b040f2be
RO
81502011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8151
8152 * Makefile.in (SHLIB_NM_FLAGS): Set.
8153 * mkmap-flat.awk, mkmap-symver.awk: New files.
8154 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
8155 exceptions.
8156 * configure: Regenerate.
8157 * config/libgcc-glibc.ver: New file.
8158 * config/libgcc-libsystem.ver: New file.
8159 * config/t-libunwind (SHLIB_LC): Set.
8160 * config/t-linux: New file.
8161 * config/t-slibgcc (INSTALL_SHLIB): New.
8162 (SHLIB_INSTALL): Use it.
8163 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
8164 to mkmap-symver.awk.
8165 (SHLIB_MAPFILES): Don't append, adapt pathname.
8166 (SHLIB_VERPFX): Set.
8167 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
8168 to mkmap-symver.awk.
8169 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
8170 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
8171 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
8172 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
8173 to mkmap-flat.awk.
8174 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
8175 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
8176 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
8177 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
8178 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
8179 * config/i386/libgcc-darwin.10.4.ver,
8180 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
8181 New files.
8182 * config/i386/t-darwin: Remove.
8183 * config/i386/t-darwin64: Likewise.
8184 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
8185 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
8186 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
8187 * config/i386/t-linux: New file.
8188 * config/i386/t-mingw32: New file.
8189 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
8190 * config/ia64/t-glibc: Rename to ...
8191 * config/ia64/t-linux: ... this.
8192 (SHLIB_MAPFILES): Set.
8193 * config/ia64/t-glibc-libunwind: Rename to ...
8194 * config/ia64/t-linux-libunwind: ... this.
8195 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
8196 * config/ia64/t-slibgcc-hpux: New file.
8197 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
8198 * config/m68k/t-slibgcc-elf-ver: New file.
8199 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
8200 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
8201 to mkmap-flat.awk.
8202 * config/pa/t-slibgcc-hpux: New file.
8203 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
8204 files.
8205 * config/rs6000/libgcc-darwin.10.4.ver,
8206 config/rs6000/libgcc-darwin.10.5.ver: New files.
8207 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
8208 config/rs6000/libgcc-glibc.ver.
8209 * config/rs6000/libgcc-ppc64.ver: Rename to
8210 config/rs6000/libgcc-ibm-ldouble.ver.
8211 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
8212 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
8213 * config/rs6000/t-ldbl128: Rename to ...
8214 * config/rs6000/t-linux: ... this.
8215 (SHLIB_MAPFILES): Adapt filename.
8216 * config/rs6000/t-slibgcc-aix: New file.
8217 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
8218 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
8219 libgcc-excl.ver, libgcc-glibc.ver.
8220 (SHLIB_LINK, SHLIB_INSTALL): Remove.
8221 * config/sparc/libgcc-glibc.ver: New file.
8222 * config/sparc/t-linux: New file.
8223 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
8224 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
8225 t-slibgcc-elf-ver to tmake_file.
8226 Add t-slibgcc-nolc-override to tmake_file for posix threads on
8227 *-*-freebsd[34].
8228 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
8229 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
8230 t-slibgcc-elf-ver, t-linux to tmake_file.
8231 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
8232 tmake_file.
8233 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
8234 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
8235 (alpha*-dec-*vms*): Likewise.
8236 (arm*-*-freebsd*): Append to tmake_file.
8237 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
8238 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
8239 arm*-*-linux-*eabi.
8240 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
8241 tmake_file for arm*-*-symbianelf*.
8242 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
8243 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
8244 cris/t-linux.
8245 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
8246 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
8247 pa/t-slibgcc-dwarf-ver to tmake_file.
8248 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
8249 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
8250 (hppa*64*-*-hpux11*): Likewise.
8251 (hppa[12]*-*-hpux11*): Likewise.
8252 (x86_64-*-darwin*): Don't override tmake_file, but only keep
8253 i386/t-crtpc, i386/t-crtfm.
8254 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
8255 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
8256 to tmake_file.
8257 Add i386/t-cygwin to tmake_file.
8258 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
8259 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
8260 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
8261 to tmake_file.
8262 Add i386/t-mingw32 to tmake_file.
8263 (x86_64-*-mingw*): Likewise.
8264 (ia64*-*-freebsd*): Append to tmake_file.
8265 (ia64*-*-linux*): Append to tmake_file.
8266 Replace ia64/t-glibc by ia64/t-linux.
8267 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
8268 system libunwind.
8269 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
8270 t-slibgcc-hpux to tmake_file.
8271 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
8272 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
8273 (m32rle-*-linux*): Likewise.
8274 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
8275 sjlj exceptions.
8276 (microblaze*-linux*): New case.
8277 Append to tmake_file, add t-slibgcc-nolc-override.
8278 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
8279 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
8280 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
8281 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
8282 rs6000/t-slibgcc-aix to tmake_file.
8283 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8284 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8285 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
8286 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
8287 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
8288 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
8289 sh*-*-linux*.
8290 (sparc-*-linux*): Append to tmake_file for *-leon*.
8291 Add sparc/t-linux to tmake_file for non-Leon targets.
8292 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
8293 (tic6x-*-uclinux): New case.
8294 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
8295 (tic6x-*-*): Add c6x/t-elf to tmake_file.
8296 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
8297 (am33_2.0-*-linux*): Append to tmake_file.
8298 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
8299 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
8300 x86_64-*-kfreebsd*-gnu.
8301 Add i386/t-linux to tmake_file.
8302
18b4bd7b
ILT
83032011-10-28 Ian Lance Taylor <iant@google.com>
8304
8305 * config/i386/morestack.S: Correct CFI information to do proper
8306 returns throughout function. In 32-bit mode, save %ebx so that it
8307 is restored on unwind.
8308
5b2d9d90
BS
83092011-10-25 Bernd Schmidt <bernds@codesourcery.com>
8310
8311 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
8312 case where B3 isn't the return register.
8313
0d53e346
BS
8314 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
8315 logic for doubleword pops.
8316
cbffbd59
AT
83172011-10-25 Andreas Tobler <andreast@fgznet.ch>
8318
8319 * config/rs6000/t-freebsd: Add wildcard.
8320
56dc349e
PB
83212011-10-21 Paul Brook <paul@codesourcery.com>
8322
8323 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
8324
1e06b07d
UB
83252011-10-16 Uros Bizjak <ubizjak@gmail.com>
8326 Eric Botcazou <ebotcazou@adacore.com>
8327
8328 PR target/50737
8329 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
8330 fs->signal_frame to 1.
8331
b5204884
ILT
83322011-10-07 Ian Lance Taylor <iant@google.com>
8333
8334 * generic-morestack-thread.c: #include <errno.h>.
8335
91a639a1
ILT
83362011-10-07 Ian Lance Taylor <iant@google.com>
8337
8338 PR target/46093
8339 * generic-morestack.c (__generic_morestack): Make sure the segment
8340 is large enough for both the stack frame and the copied
8341 parameters.
8342
cc49116d
RO
83432011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8344
8345 PR bootstrap/49804
8346 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
8347 extra_parts.
8348
2996d8c3
NC
83492011-09-28 Nick Clifton <nickc@redhat.com>
8350
8351 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
8352 64-bit doubles are not enabled.
8353 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
8354 and floatunsisf functions.
8355
1e874273 83562011-09-13 Paul Brook <paul@codesourcery.com>
2996d8c3 8357
1e874273
PB
8358 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
8359 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
8360 * unwind-arm-common.inc: New file.
8361 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
8362 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
8363 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
8364 * config/c6x/libunwind.S: New file.
8365 * config/c6x/pr-support.c: New file.
8366 * config/c6x/unwind-c6x.c: New file.
8367 * config/c6x/unwind-c6x.h: New file.
8368 * config/c6x/t-c6x-elf: New file.
8369
f70c879a
UB
83702011-08-23 Uros Bizjak <ubizjak@gmail.com>
8371
8372 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
8373 (ASM_DIVZERO): Ditto.
8374 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
8375
c55b374b
RS
83762011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
8377
8378 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
8379
1e138510
RS
83802011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
8381
8382 PR target/50090
8383 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
8384 instead of an assembly one.
8385
1563503d
PB
83862011-08-12 Paolo Bonzini <bonzini@gnu.org>
8387
8388 PR bootstrap/50047
8389 * Makefile.in (install-unwind_h): Create
8390 $(gcc_objdir)/include/unwind.h atomically.
8391
3627ac1a
RO
83922011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8393
8394 * Makefile.in (install-unwind_h): Remove destination file first.
8395
c6412d86
RO
83962011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8397
8398 * sync.c: New file.
8399 * config/mips/t-mips16: New file.
8400 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
8401 (mips*-*-linux*): Likewise.
8402 (mips*-sde-elf*): Likewise.
8403 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
8404 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
8405 Add mips/t-mips16 to tmake_file.
8406 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
8407 (mips-*-elf*): Likewise.
8408 (mips64-*-elf*): Likewise.
8409 (mips64orion-*-elf*): Likewise.
8410 (mips*-*-rtems*): Likewise.
8411 (mipstx39-*-elf*): Likewise.
8412 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
8413 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
8414 LIBGCC_SYNC_CFLAGS.
8415 Use $(srcdir) to refer to sync.c.
8416 Use $<.
8417 ($(libgcc-sync-funcs-o)): Likewise.
8418 ($(libgcc-sync-size-funcs-s-o)): Likewise.
8419 ($(libgcc-sync-funcs-s-o)): Likewise.
8420
3cb6e5bd
AS
84212011-08-09 Andreas Schwab <schwab@linux-m68k.org>
8422
8423 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
8424 t-libunwind.
8425
cca2207a
L
84262011-08-08 H.J. Lu <hongjiu.lu@intel.com>
8427
8428 PR other/48007
8429 * config/i386/value-unwind.h: New.
8430
ed39fbad
RS
84312011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
8432
8433 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
8434 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
8435 Add to tmake_file rather than overriding it.
8436
aca0b0b3
RO
84372011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8438
8439 * config/t-softfp: Remove.
8440 * soft-fp: Moved from ../gcc/config.
8441 * soft-fp/README: Remove t-softfp reference.
8442 * soft-fp/t-softfp: Move to config/t-softfp.
8443 (softfp_machine_header): Remove.
8444 (softfp_file_list): Remove config subdir.
8445 (soft-fp-objects): New variable.
8446 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
8447 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
8448 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
8449 * config/t-softfp-excl: New file.
8450 * config/t-softfp-sfdf: New file.
8451 * config/t-softfp-tf: New file.
8452 * config/no-sfp-machine.h: New file.
8453 * config/arm/sfp-machine.h: New file.
8454 * config/arm/t-softfp: New file.
8455 * config/c6x/sfp-machine.h: New file.
8456 * config/i386/32/t-fprules-softfp: Rename to ...
8457 * config/i386/32/t-softfp: ... this.
8458 (tifunctions, LIB2ADD): Remove.
8459 (softfp_int_modes): Override.
8460 * config/i386/64/t-softfp-compat (tf-functions): Remove config
8461 subdir.
8462 * config/i386/64/eqtf2.c: Likewise.
8463 * config/i386/64/getf2.c: Likewise.
8464 * config/i386/64/letf2.c: Likewise.
8465 * config/ia64/sft-machine.h: New file.
8466 * config/ia64/t-fprules-softfp: Rename to ...
8467 * config/ia64/t-softfp: ... this.
8468 * config/lm32/sfp-machine.h: New file.
8469 * config/moxie/t-moxie-softfp: Remove.
8470 * config/rs6000/ibm-ldouble-format: New file.
8471 * config/rs6000/ibm-ldouble.c: New file.
8472 * config/rs6000/libgcc-ppc-glibc.ver: New file
8473 * config/rs6000/libgcc-ppc64.ver: New file
8474 * config/rs6000/sfp-machine.h: New file.
8475 * config/rs6000/t-freebsd: New file.
8476 * config/rs6000/t-ibm-ldouble: New file.
8477 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
8478 libgcc-ppc-glibc.ver.
8479 * config/rs6000/t-linux64: New file.
8480 * config/rs6000/t-ppccomm (LIB2ADD): Add
8481 $(srcdir)/config/rs6000/ibm-ldouble.c.
8482 * config/rs6000/t-ppccomm-ldbl: New file.
8483 * config/score/sfp-machine.h: New file.
8484 * config.host (sfp_machine_header): Explain.
8485 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
8486 t-softfp to tmake_file.
8487 (arm*-*-uclinux*): Likewise.
8488 (arm*-*-ecos-elf): Likewise.
8489 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
8490 (arm*-*-rtems*): Likewise.
8491 (arm*-*-elf): Likewise.
8492 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
8493 in tmake_file.
8494 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
8495 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
8496 (lm32-*-uclinux*): Likewise.
8497 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
8498 t-softfp-excl, t-softfp.
8499 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
8500 (powerpc64-*-darwin*): Likewise.
8501 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
8502 to tmake_file.
8503 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
8504 tmake_file.
8505 (powerpc-*-eabisim*): Likewise.
8506 (powerpc-*-elf*): Likewise.
8507 (powerpc-*-eabialtivec*): Likewise.
8508 (powerpc-xilinx-eabi*): Likewise.
8509 (powerpc-*-rtems*): Likewise.
8510 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
8511 t-softfp-excl, t-softfp to tmake_file.
8512 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
8513 rs6000/t-ppccomm-ldbl to tmake_file.
8514 (powerpcle-*-elf*): Likewise.
8515 (powerpcle-*-eabisim*): Likewise.
8516 (powerpcle-*-eabi*): Likewise.
8517 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
8518 rs6000/t-ibm-ldouble to tmake_file.
8519 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8520 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8521 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
8522 (tic6x-*-*): Likewise.
8523 (i[34567]86-*-darwin*, x86_64-*-darwin*,
8524 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
8525 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
8526 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
8527 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
8528 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
8529 t-softfp to tmake_file.
8530 * configure.ac (sfp_machine_header): Provide default if unset.
8531 Substitute.
8532 Link sfp-machine.h to config/$sfp_machine_header.
8533 * configure: Regenerate.
8534
569dc494
RO
85352011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8536
8537 * Makefile.in (double_type_size, long_double_type_size): Set.
8538 Remove $(fpbit-in-libgcc) support.
8539 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
8540 (fpbit-src): New variable.
8541 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
8542 Compile with -DFLOAT $(FPBIT_CFLAGS).
8543 Use $<.
8544 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
8545 Compile with $(FPBIT_CFLAGS).
8546 Use $<.
8547 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
8548 Compile with -DFLOAT $(TPBIT_CFLAGS).
8549 Use $<.
8550 * configure.ac (double_type_size, long_double_type_size):
8551 Determine and substitute.
8552 * configure: Regenerate.
8553 * fp-bit.c, fp-bit.h: New files.
8554 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
8555 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
8556 * config/mips/t-mips: New file.
8557 * config/mips/t-sdemtk: New file.
8558 * config/rs6000/ppc64-fp.c: New file.
8559 * config/rs6000/t-darwin (LIB2ADD): Add
8560 $(srcdir)/config/rs6000/ppc64-fp.c.
8561 * config/rs6000/t-ppc64-fp: New file.
8562 * config/rx/rx-lib.h: New file.
8563 * config/rx/t-rx (FPBIT): Set to true.
8564 ($(gcc_objdir)/fp-bit.c): Remove.
8565 (DPBIT): Set to true only with -m64bit-doubles.
8566 ($(gcc_objdir)/dp-bit.c): Remove.
8567 * config/sparc/t-softfp: Remove.
8568 * config/spu/t-elf: New file.
8569 * config/t-fdpbit, config/t-fpbit: New files.
8570 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
8571 (mips*-*-*): Likewise.
8572 (arm-wrs-vxworks): Likewise.
8573 (arm*-*-freebsd*): Likewise.
8574 (avr-*-rtems*): Add t-fpbit to tmake_file.
8575 (avr-*-*): Likewise.
8576 (bfin*-elf*): Add t-fdpbit to tmake_file.
8577 (bfin*-uclinux*): Likewise.
8578 (bfin*-linux-uclibc*): Likewise.
8579 (bfin*-rtems*): New case.
8580 Add t-fdpbit to tmake_file.
8581 (bfin*-*): Add t-fdpbit to tmake_file.
8582 (crisv32-*-elf): Likewise.
8583 (cris-*-linux*): Likewise.
8584 (fr30-*-elf): Likewise.
8585 (frv-*-elf, frv-*-*linux*): Likewise.
8586 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
8587 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
8588 (m32r-*-elf*): Likewise.
8589 (m32rle-*-elf*): Likewise.
8590 (m32r-*-linux*): Likewise.
8591 (m32rle-*-linux*): Likewise.
8592 (mcore-*-elf): Add t-fdpbit to tmake_file.
8593 (microblaze*-*-*): Likewise.
8594 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
8595 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
8596 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
8597 Fix typo.
8598 Add mips/t-tpbit to tmake-file.
8599 (mips*-*-linux*): Fix typo.
8600 (mips*-sde-elf*): New case
8601 Add mips/t-sdemtk unless using newlib.
8602 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
8603 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
8604 (mn10300-*-*): Likewise.
8605 (pdp11-*-*): Likewise.
8606 (picochip-*-*): Add t-fpbit to tmake_file.
8607 (powerpc-*-eabisimaltivec*): Likewise.
8608 (powerpc-*-eabisim*): Likewise.
8609 (powerpc-*-elf*): Likewise.
8610 (powerpc-*-eabialtivec*): Likewise.
8611 (powerpc-xilinx-eabi*): New case.
8612 Add t-fdpbit to tmake_file.
8613 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
8614 (powerpc-*-rtems*): Likewise.
8615 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
8616 tmake_file.
8617 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
8618 tmake_file.
8619 (powerpc-*-lynxos*): Likewise.
8620 (powerpcle-*-elf*): Likewise.
8621 (powerpcle-*-eabisim*): Likewise.
8622 (powerpcle-*-eabi*): Likewise.
8623 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
8624 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
8625 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8626 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8627 (rx-*-elf): Add t-fdpbit to tmake_file.
8628 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
8629 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
8630 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
8631 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
8632 sh*-*-netbsd*.
8633 (sh-*-rtems*): Add t-fdpbit to tmake_file.
8634 (sh-wrs-vxworks): Likewise.
8635 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
8636 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
8637 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
8638 (sparc64-*-rtems*): ... new case.
8639 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
8640 (spu-*-elf*): Likewise.
8641 Add spu/t-elf to tmake_file.
8642 (v850*-*-*): Add t-fdpbit to tmake_file.
8643 (xstormy16-*-elf): Likewise.
8644 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
8645 (mep*-*-*): Likewise.
8646
201cdb74
RO
86472011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8648
8649 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
8650 variables.
8651 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
8652 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
8653 (install-unwind_h): New target.
8654 (all): Depend on it.
8655 * config.host (unwind_header): New variable.
8656 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
8657 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
8658 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
8659 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
8660 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
8661 Set unwind_header.
8662 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
8663 Set unwind_header.
8664 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
8665 arm*-*-eabi*.
8666 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
8667 Set unwind_header.
8668 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
8669 (ia64*-*-freebsd*): Likewise.
8670 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
8671 tmake_file.
8672 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
8673 $with_system_libunwind.
8674 (ia64*-*-hpux*): Set tmake_file.
8675 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
8676 (picochip-*-*): Set tmake_file.
8677 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
8678 md_unwind_header.
8679 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8680 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8681 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
8682 (xtensa*-*-elf*): Set tmake_file.
8683 (xtensa*-*-linux*): Likewise.
8684 * configure.ac: Include ../config/unwind_ipinfo.m4.
8685 Call GCC_CHECK_UNWIND_GETIPINFO.
8686 Link unwind.h to $unwind_header.
8687 * configure: Regenerate.
8688 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
8689 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
8690 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
8691 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
8692 * config/unwind-dw2-fde-darwin.c: New file.
8693 * config/arm/libunwind.S, config/arm/pr-support.c,
8694 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
8695 config/arm/unwind-arm.h,: New files.
8696 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
8697 config/ia64/t-eh-ia64, config/ia64/t-glibc,
8698 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
8699 config/ia64/t-vms, config/ia64/unwind-ia64.c,
8700 config/ia64/unwind-ia64.h: New files.
8701 * config/picochip/t-picochip: New file.
8702 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
8703 files.
8704 * config/rs6000/t-darwin (LIB2ADDEH): Set.
8705 * config/s390/t-tpf (LIB2ADDEH): Remove.
8706 * config/t-darwin (LIB2ADDEH): Set.
8707 * config/t-eh-dw2-dip: New file.
8708 * config/t-libunwind, config/t-libunwind-elf: New files.
8709 * config/t-sol2 (LIB2ADDEH): Remove.
8710 * config/xtensa/t-xtensa: New file.
8711
40f2f11f
L
87122011-08-02 H.J. Lu <hongjiu.lu@intel.com>
8713
8714 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
8715 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
8716 long long to check rt_sigreturn syscall.
8717
bd15e32c
AM
87182011-08-02 Alan Modra <amodra@gmail.com>
8719
8720 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
8721 Restore for indirect call bcrtl from correct stack slot, and only
8722 if cfa+40 isn't valid.
8723
655b30bf
JB
87242011-08-01 Julian Brown <julian@codesourcery.com>
8725
8726 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
8727 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
8728 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
8729
247eb06f
JB
87302011-08-01 Julian Brown <julian@codesourcery.com>
8731
8732 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
8733 (libgcc-std.ver.in): Use above.
8734 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
8735 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
8736 throughout file.
8737 * config/t-fixedpoint-gnu-prefix: New file.
8738 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
8739 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
8740 instead of __PFX__.
8741
02a8fe00
L
87422011-07-28 H.J. Lu <hongjiu.lu@intel.com>
8743
8744 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
8745 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
8746 for x86-64. Properly check __x86_64__ and __LP64__.
8747
5fce9126
L
87482010-07-28 H.J. Lu <hongjiu.lu@intel.com>
8749
8750 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
8751 version.
8752 (_FP_WS_TYPE): Likewise.
8753 (_FP_I_TYPE): Likewise.
8754
2374a88a
AM
87552011-07-28 Alan Modra <amodra@gmail.com>
8756
8757 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
8758 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
8759 in a plt call stub. Do restore r2 if stopped on bctrl.
8760
e44dbbe1
RO
87612011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8762
8763 * config.host (i[3456x]86-*-netware*): Remove.
8764 * config/i386/netware-crt0.c, config/i386/t-nwld,
8765 config/i386/t-slibgcc-nwld: Remove.
8766
bcead286
BS
87672011-07-15 Bernd Schmidt <bernds@codesourcery.com>
8768
8769 * config.host: Handle tic6x-*-*.
8770 * config/c6x/c6x-abi.h: New file.
8771
b3fe1584
RO
87722011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8773
8774 * config/i386/crtprec.c: New file.
8775 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
8776 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
8777 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
8778 (x86_64-*-darwin*): Likewise.
8779 (i[34567]86-*-solaris2*: Likewise.
8780
35d8090d
RO
87812011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8782
8783 * config/alpha/crtfastmath.c: New file.
8784 * config/i386/crtfastmath.c: New file.
8785 * config/ia64/crtfastmath.c: New file.
8786 * config/mips/crtfastmath.c: New file.
8787 * config/sparc/crtfastmath.c: New file.
8788
8789 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
8790 crtfastmath.c.
8791 Add -frandom-seed=gcc-crtfastmath.
8792 * config/alpha/t-crtfm: Remove.
8793 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
8794 * config/ia64/t-ia64 (crtfastmath.o): Remove.
8795
8796 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
8797 (alpha*-dec-osf5.1*): Likewise.
8798 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
8799 Add crtfastmath.o to extra_parts.
8800 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
8801 Add crtfastmath.o to extra_parts.
8802 (x86_64-*-darwin*): Likewise.
8803 (x86_64-*-mingw*): Likewise.
8804 (ia64*-*-elf*): Add t-crtfm to tmake_file.
8805 (ia64*-*-freebsd*): Likewise.
8806 (ia64*-*-linux*): Likewise.
8807 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
8808 Add crtfastmath.o to extra_parts.
8809
e141542e
RO
88102011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8811
8812 * config/darwin-crt3.o: New file.
8813 * config/rs6000/darwin-crt2.c: New file.
8814 * config/t-darwin: New file.
8815 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
8816 (crt2.o): New rule.
8817 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
8818 (powerpc-*-darwin*): Add crt2.o to extra_parts.
8819 (powerpc64-*-darwin*): Likewise.
8820
2d1efe2d
RO
88212011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8822
8823 * config/i386/netware-crt0.c: New file.
8824 * config/i386/t-nwld: Rename to ...
8825 * config/i386/t-slibgcc-nwld: ... this.
8826 * config/i386/t-nwld: New file.
8827 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
8828 tmake_file.
8829 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
8830 extra_parts.
8831
4a8bb046
RO
88322011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8833
8834 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
8835 i386/t-crtstuff.
8836 * configure: Regenerate.
8837
2d8d5935
RO
88382011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8839
8840 * dfp-bit.c, dfp-bit.h: New files.
8841 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
8842 variables.
8843 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
8844 ($(d64pbit-o)): Likewise.
8845 ($(d128pbit-o)): Likewise.
8846 * config/t-dfprules: New file.
8847 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
8848 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
8849 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
8850 (x86_64-*-linux*): Likewise.
8851 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
8852 (i[34567]86-*-cygwin*): Likewise.
8853 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
8854 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
8855
2c50b2c3
RO
88562011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8857
8858 * Makfile.in (LIBGCOV): New variable.
8859 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
8860 * libgcov.c: New file.
8861
a039d7c2
RO
88622011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8863
8864 * fixed-bit.c, fixed-bit.h: New files.
8865 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
8866 refer to fixed-bit.c.
8867
1e4b2746
JM
88682011-07-07 Joseph Myers <joseph@codesourcery.com>
8869
8870 * config.host (*local*): Remove.
8871
fbdd5d87
RO
88722011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8873
8874 PR target/39150
8875 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
8876 like i?86-*-solaris2.1[0-9]*.
8877 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
8878 * configure.ac (i?86-*-solaris2*): Likewise.
8879 * configure: Regenerate.
8880
9e7714f4
TS
88812011-07-06 Thomas Schwinge <thomas@schwinge.name>
8882
8883 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
8884 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
8885 md_unwind_header by splitting out of...
8886 (i[34567]86-*-linux*): ... this.
8887 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
8888 Remove md_unwind_header by splitting out of...
8889 (x86_64-*-linux*): ... this.
8890
6dab9931
GJL
88912011-07-04 Georg-Johann Lay <avr@gjlay.de>
8892
8893 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
8894
4be46d19
NC
88952011-06-28 Nick Clifton <nickc@redhat.com>
8896
8897 * config.host: Recognize all V850 variants.
8898
1da9434b
UB
88992011-06-22 Uros Bizjak <ubizjak@gmail.com>
8900
8901 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
8902
e4d48a4d
RO
89032011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8904
8905 * shared-object.mk (c_flags-$o): Save c_flags.
8906 ($(base)$(objext)): Use it.
8907 ($(base)_s$(objext)): Likewise.
8908
3801c801
BS
89092011-06-21 Bernd Schmidt <bernds@codesourcery.com>
8910
8911 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
8912 * libgcc-std.ver.in (GCC_4.7.0): New section.
8913
0ad8bb3b 89142011-06-16 Georg-Johann Lay <avr@gjlay.de>
1da9434b 8915
0ad8bb3b
GJL
8916 PR target/49313
8917 PR target/29524
8918 * config/avr/t-avr: Fix line endings.
8919 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
8920 _parityXX2.
8921
ea963999
OH
89222011-06-14 Olivier Hainque <hainque@adacore.com>
8923 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8924
8925 * config/mips/irix6-unwind.h: New file.
8926 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
8927
b11b0904
EB
89282011-06-10 Eric Botcazou <ebotcazou@adacore.com>
8929
8930 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
8931 (sparc64_fallback_frame_state): Use it.
8932 (sparc64_frob_update_context): Further adjust context.
8933 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
8934 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
8935 * config/sparc/sol2-cn.S: Likewise.
8936
10e48e39
RO
89372011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8938
8939 * enable-execute-stack-empty.c: New file.
8940 * enable-execute-stack-mprotect.c: New file.
8941 * config/i386/enable-execute-stack-mingw32.c: New file.
8942 * config.host (enable_execute_stack): New variable.
8943 Select appropriate variants.
8944 * configure.ac: Link enable-execute-stack.c to
8945 $enable_execute_stack.
8946 * configure: Regenerate.
8947 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
8948 (lib2funcs): Remove _enable_execute_stack.
8949
10c4cabc
DM
89502011-06-09 David S. Miller <davem@davemloft.net>
8951 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8952
8953 * config.host (sparc-*-linux*): Correct md_unwind_header
8954 filename.
8955 (s390x-ibm-tpf*): Fix typo.
8956
aa4203e7
RO
89572011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8958
8959 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
8960 Add crtfastmath.o to extra_parts.
8961 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
8962 mips/t-crtfm.
8963 * config/mips/t-crtfm: Remove.
8964
0defd786
JDA
89652011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
8966
8967 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
8968
82f247af
KK
89692011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
8970
8971 * config.host (sh*-*-linux*): Fix typo.
8972
58cd1d70
RO
89732011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8974
8975 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
8976 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
8977 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
8978 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
8979 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
8980 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
8981 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
8982 Wrap in !__MINGW64__.
8983 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
8984 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
8985 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
8986 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
8987 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
8988 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
8989 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
8990 Wrap in !__LP64__.
8991 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
8992 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
8993 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
8994 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
8995 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
8996 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
8997 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
8998 * config/no-unwind.h: New file.
8999 * config.host (md_unwind_header): Document.
9000 Define.
9001 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
9002 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
9003 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
9004 hppa[12]*-*-hpux11*): Set md_unwind_header.
9005 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
9006 Set md_unwind_header.
9007 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
9008 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
9009 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
9010 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
9011 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
9012 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
9013 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
9014 md_unwind_header.
9015 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
9016 * configure: Regenerate.
9017
737346fa
RO
90182011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9019
9020 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
9021 Set tmake_file, extra_parts.
9022 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
9023 Remove O32 support.
9024 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
9025 Remove O32 support.
9026 * config/mips/t-irix6: New file.
9027 * config/mips/t-slibgcc-irix: New file.
9028
c192cee6
RO
90292011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9030
9031 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
9032 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
9033
ee33b5f0
RO
90342011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9035
9036 * configure.ac (target_thread_file): Determine thread model.
9037 * configure: Regenerate.
9038 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
9039 * config/alpha/t-alpha: New file.
9040 * config/alpha/t-crtfm: Use $<.
9041 * config/alpha/t-ieee: New file.
9042 * config/alpha/t-osf-pthread: New file.
9043 * config/alpha/t-slibgcc-osf: New file.
9044 * config/alpha/libgcc-osf5.ver: New file.
9045
0699e415
RO
90462011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9047
9048 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
9049 tmake_file.
9050 Add crtfastmath.o to extra_parts.
9051
a3fab9c2
RO
90522011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9053
9054 * config/gmon-sol2.c: Reindent.
9055 Cleanup comments.
9056 Remove, correct casts.
9057 Use STDERR_FILENO, NULL.
9058 (BASEADDRESS): Remove.
9059 (minbrk): Remove.
9060 (errno, sbrk): Remove declarations.
9061 (monstartup) [hp300]: Remove.
9062 (mcount): Remove.
9063
ca24c5ad
RO
90642011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9065
9066 * Makefile.in (cpu_type): Define.
9067 * config.host (i[34567]86-*-rtems*): Handle it.
9068 (i[34567]86-*-solaris2*): Move body ...
9069 (*-*-solaris2*): ... here.
9070 New case, generalize.
9071 (sparc-*-elf*): Handle it.
9072 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
9073 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
9074 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
9075 Fold into ...
9076 (sparc*-*-solaris2*): ... this.
9077 New case.
9078 (sparc64-*-elf*): Handle it.
9079 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
9080 Merge ../gcc/config/i386/gmon-sol2.c.
9081 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
9082 Use C comments.
9083 Merge ../gcc/config/i386/sol2-gc1.asm.
9084 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
9085 Use C comments.
9086 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
9087 Use C comments.
9088 * config/i386/t-crtfm (crtfastmath.o): Use $<.
9089 * config/i386/t-crtstuff: New file.
9090 * config/i386/t-softfp: New file.
9091 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
9092 $(T)crti.o, $(T)crtn.o): Remove.
9093 (gcrt1.o): New rule.
9094 (TARGET_LIBGCC2_CFLAGS): Remove.
9095 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
9096 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
9097 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
9098 * config/sparc/t-sol2: New file.
9099 * config/sparc/t-crtfm: Move to ...
9100 * config/t-crtfm: ... this.
9101 Use $(cpu_type), $<.
9102 * config/t-crtin: New file.
9103 * config/sparc/t-softfp: New file.
9104 * config/sparc/t-softmul: New file.
9105 * config/t-rtems: New file.
9106 * config/t-slibgcc: New file.
9107 * config/t-slibgcc-elf-ver: New file.
9108 * config/t-slibgcc-gld: New file.
9109 * config/t-slibgcc-sld: New file.
9110 * config/t-sol2: New file.
9111 * configure.ac: Include ../config/lib-ld.m4.
9112 Call AC_LIB_PROG_LD_GNU.
9113 Substitute cpu_type.
9114 * configure: Regenerate.
9115
ad5f3d7b
BS
91162011-05-27 Bernd Schmidt <bernds@codesourcery.com>
9117
9118 PR bootstrap/49173
9119 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
9120 libgcc-std.ver in the build directory.
9121 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
9122 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
9123
cdbf4541
BS
91242011-05-25 Bernd Schmidt <bernds@codesourcery.com>
9125
9126 * libgcc-std.ver.in: New file.
9127 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
9128 variables.
9129 (libgcc-std.ver): New rule.
9130 * config/t-gnu-prefix: New file.
9131
c8028650
RO
91322011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9133
9134 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
9135
4a68b4ca
JM
91362011-05-10 Joseph Myers <joseph@codesourcery.com>
9137
9138 * config/i386/darwin-lib.h: New file.
9139
80cf2e08
JM
91402011-05-10 Joseph Myers <joseph@codesourcery.com>
9141
9142 * config/arm/symbian-lib.h: New.
9143
a3330c9d
CD
91442011-05-04 Chris Demetriou <cgd@google.com>
9145
9146 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
9147 (__x86.get_pc_thunk.bx): ...this.
9148 (__morestack): Adjust for rename, remove undef of __i686.
9149
6ace0756
CD
91502011-05-03 Chris Demetriou <cgd@google.com>
9151
9152 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
9153
ebb9f8b0
JM
91542011-03-22 Joseph Myers <joseph@codesourcery.com>
9155
9156 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
9157 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
9158 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
9159 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
9160 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
9161 Remove cases.
9162
9cfa1499
AT
91632011-03-14 Andreas Tobler <andreast@fgznet.ch>
9164
9165 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
9166 Adjust copyright year.
9167
457186f6
ILT
91682011-03-07 Ian Lance Taylor <iant@google.com>
9169
9170 * generic-morestack.c (__splitstack_find): Adjust returned stack
9171 pointer to include all registers pushed by __morestack.
9172
58c741a6
DK
91732011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
9174
9175 PR target/40125
9176 * configure.ac: Call ACX_NONCANONICAL_TARGET.
9177 (toolexecdir): Calculate and AC_SUBST.
9178 (toolexeclibdir): Likewise.
9179 * Makefile.in (target_noncanonical): Import.
9180 (toolexecdir): Likewise.
9181 (toolexeclibdir): Likewise.
9182 * configure: Regenerate.
9183
26716c44
NF
91842010-12-13 Nathan Froyd <froydnj@codesourcery.com>
9185
9186 PR target/46040
9187 * config/arm/bpabi.h: Rename to...
9188 * config/arm/bpabi-lib.h: ...this.
9189
b595b1a1
RO
91902010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9191
9192 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
9193 appropriate.
9194 * configure: Regenerate.
9195
a3abe41c
NF
91962010-11-24 Nathan Froyd <froydnj@codesourcery.com>
9197
9198 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
9199 __FLOAT_WORD_ORDER__.
9200 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
9201 Delete.
9202
455c8f48
RW
92032010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9204
9205 PR other/46202
9206 * Makefile.in (install-strip): New phony target.
9207
f3824a8b
ILT
92082010-11-07 Ian Lance Taylor <iant@google.com>
9209
9210 PR target/46089
9211 * config/i386/morestack.S (__morestack_large_model): New
9212 function.
9213
18ed6ee4
NF
92142010-10-23 Nathan Froyd <froydnj@codesourcery.com>
9215
9216 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
9217 Delete.
9218 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
9219
8ac7fdcb
NF
92202010-10-14 Nathan Froyd <froydnj@codesourcery.com>
9221
9222 * config/arm/bpabi.h: New file.
9223 * config/frv/frv-abi.h: New file.
9224
cdb388c2
ILT
92252010-10-01 Ian Lance Taylor <iant@google.com>
9226
9227 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
9228 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
9229
ef7c141c
L
92302010-10-01 H.J. Lu <hongjiu.lu@intel.com>
9231
9232 PR target/45858
9233 * config.host: Add the missing `$'.
9234
80920132
ME
92352010-09-30 Michael Eager <eager@eagercon.com>
9236
9237 * config.host: Add microblaze*-*-*.
9238 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
9239 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
9240 udivsi3.asm,umodsi3.asm}: New.
9241
6dace308
ILT
92422010-09-28 Ian Lance Taylor <iant@google.com>
9243
9244 * configure.ac: Adjust CFI test to test assembler directly rather
9245 than checking gcc preprocessor macro.
9246 * configure: Rebuild.
9247
b6110d6d
ILT
92482010-09-27 Ian Lance Taylor <iant@google.com>
9249
9250 * configure.ac: Test whether assembler supports CFI directives.
9251 * config.host: Only add t-stack and i386/t-stack-i386 to
9252 tmake_file if libgcc_cv_cfi is "yes".
9253 * configure: Rebuild.
9254
7458026b
ILT
92552010-09-27 Ian Lance Taylor <iant@google.com>
9256
9257 * generic-morestack.h: New file.
9258 * generic-morestack.c: New file.
9259 * generic-morestack-thread.c: New file.
9260 * config/i386/morestack.S: New file.
9261 * config/t-stack: New file.
9262 * config/i386/t-stack-i386: New file.
9263 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
9264 i386/t-stack-i386 to tmake_file.
9265
5b50fc0c
IS
92662010-09-21 Iain Sandoe <iains@gcc.gnu.org>
9267
9268 * Makefile.in (libgcc-extra-parts): Check for static archives and
9269 invoke ranlib after installing them.
9270 (gcc-extra-parts): Likewise.
9271 (install-leaf): Likewise.
9272
b93cf342
L
92732010-09-14 H.J. Lu <hongjiu.lu@intel.com>
9274
9275 * configure: Regenerated.
9276
996b42ef
KT
92772010-09-10 Kai Tietz <kai.tietz@onevision.com>
9278
b93cf342 9279 * configure: Regenerated.
996b42ef 9280
be1c764e
GP
92812010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
9282 Andrew Pinski <pinskia@gmail.com>
9283
1da9434b 9284 PR target/40959
be1c764e
GP
9285 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
9286
cc0ae0ca
L
92872010-09-06 H.J. Lu <hongjiu.lu@intel.com>
9288
9289 PR target/45524
9290 * configure: Regenerated.
9291
84f47d20
AS
92922010-09-06 Andreas Schwab <schwab@redhat.com>
9293
9294 * configure: Regenerate.
9295
4159fb8d
UB
92962010-09-03 Uros Bizjak <ubizjak@gmail.com>
9297
9298 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
9299 64bit targets.
9300 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
9301 for 64bit targets.
9302
0df8fcc8
UB
93032010-09-03 Uros Bizjak <ubizjak@gmail.com>
9304 Iain Sandoe <iains@gcc.gnu.org>
9305
9306 PR target/45476
9307 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
9308 LIB2FUNCS_EXCLUDE functions.
9309
3c39bca6
AK
93102010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9311
9312 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
9313 Include dfp.m4.
9314 * configure: Regenerate.
9315
d78552bd
UB
93162010-09-01 Uros Bizjak <ubizjak@gmail.com>
9317
9318 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
9319 i386/t-freebsd to tmake_file.
9320 * config/i386/t-freebsd: New file.
9321 * config/i386/libgcc-bsd.ver: New file.
9322
c5b79d4e
NF
93232010-07-23 Nathan Froyd <froydnj@codesourcery.com>
9324
9325 * config.host (powerpc*-eabispe*): Set tmake_file.
9326 (powerpc*-eabi*): Likewise.
9327 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
9328 crtbeginS, crtendS, crtbeginT.
9329
48b09a92
KH
93302010-06-12 Kazu Hirata <kazu@codesourcery.com>
9331
9332 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
9333 to tmake_file. Add crtfastmath.o to extra_parts.
9334 * config/mips/t-crtfm: New.
9335
7d296953 93362010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
a4389204
JS
9337
9338 * config.host (sparc64-*-rtems*): New target.
9339
ed104137
RO
93402010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9341
9342 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
9343 assembler syntax.
9344
3f56ef8b
TS
93452010-04-15 Thomas Schwinge <tschwinge@gnu.org>
9346
9347 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
9348
8c200350
RO
93492010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9350
9351 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
9352 alpha-dec-osf5.0* support.
9353
7d296953 93542010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
c1b14424
RC
9355
9356 * config.host: Add lm32-*-rtems*.
9357
f128db92 93582010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7d296953 9359 Uros Bizjak <ubizjak@gmail.com>
f128db92
RO
9360
9361 PR target/39048
9362 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
9363 like other remaining 32-bit x86 OSes.
9364 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
9365 assembler syntax.
9366 * config/i386/libgcc-sol2.ver: New file.
9367 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
9368
7d296953 93692010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
368fabd5
JH
9370
9371 PR c/43553
9372 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
9373 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
9374 is used and substitute set_use_emutls.
9375 * configure: Regenerated.
9376
15baf7f8
TG
93772010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
9378
9379 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
9380
7f5441df
RO
93812010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9382
9383 PR target/38085
9384 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
9385 MULTILIB_CFLAGS.
9386 ($(T)gcrt1.o): Likewise.
9387 ($(T)crt1.o): Likewise.
9388 ($(T)crti.o): Likewise.
9389 ($(T)crtn.o): Likewise.
9390
ef74edbd
RW
93912010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9392
9393 PR other/42980
9394 * Makefile.in (install): Use $(MAKE) string in rule, for
9395 parallel make.
9396
e7c914db
HPN
93972010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
9398
9399 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
9400 * config/mmix/t-mmix: New file.
9401 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
9402
1bcb71c4
JH
94032010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
9404
9405 PR java/41991
9406 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
9407 SHLIB_MAPFILES.
9408
e6e50811
AG
94092010-01-04 Anthony Green <green@moxielogic.com>
9410
9411 * config/moxie/crti.asm, config/moxie/crtn.asm,
9412 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
9413 config/moxie/t-moxie: New files.
9414 * config.host: Add t-moxie-softfp reference.
9415
7d296953 94162009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
ca8520ad
IS
9417
9418 PR other/39888
9419 * config/t-slibgcc-darwin: Fix embedded rpaths for
9420 --enable-version-specific-runtime-libs, build extension stub
9421 libs exposing features available from current libgcc_s.
9422
7d296953 94232009-11-11 Jon Beniston <jon@beniston.com>
aa4945c1 9424
d78552bd
UB
9425 * config.host: Add lm32 targets.
9426 * config/lm32: New directory.
9427 * config/lm32/libgcc_lm32.h: New file.
9428 * config/lm32/_mulsi3.c: New file.
9429 * config/lm32/_udivmodsi4.c: New file.
9430 * config/lm32/_divsi3.c: New file.
9431 * config/lm32/_modsi3.c: New file.
9432 * config/lm32/_udivsi3.c: New file.
9433 * config/lm32/_umodsi3.c: New file.
9434 * config/lm32/_lshrsi3.S: New file.
9435 * config/lm32/_ashrsi3.S: New file.
9436 * config/lm32/_ashlsi3.S: New file.
9437 * config/lm32/crti.S: New file.
9438 * config/lm32/crtn.S: New file.
9439 * config/lm32/t-lm32: New file.
9440 * config/lm32/t-elf: New file.
9441 * config/lm32/t-uclinux: New file.
aa4945c1 9442
65a324b4
NC
94432009-10-26 Nick Clifton <nickc@redhat.com>
9444
9445 * config.host: Add support for RX target.
9446 * config/rx: New directory.
9447 * config/rx/rx-abi-functions.c: New file. Supplementary
9448 functions for libgcc to support the RX ABI.
9449 * config/rx/rx-abi.h: New file. Supplementary header file for
9450 libgcc RX ABI functions.
9451 * config/rx/t-rx: New file: Makefile fragment for building
9452 libgcc for the RX.
9453
dfb3b0e3
UB
94542009-10-09 Uros Bizjak <ubizjak@gmail.com>
9455
9456 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
9457 constraint of y0 to "g".
9458
81dd9fd7
AK
94592009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9460
9461 * config.host: Include the s390 makefile fragments.
9462 * config/s390/32/_fixdfdi.c: New file.
9463 * config/s390/32/_fixsfdi.c: New file.
9464 * config/s390/32/_fixtfdi.c: New file.
9465 * config/s390/32/_fixunsdfdi.c: New file.
9466 * config/s390/32/_fixunssfdi.c: New file.
9467 * config/s390/32/_fixunstfdi.c: New file.
9468 * config/s390/32/t-floattodi: New file.
9469 * config/s390/libgcc-glibc.ver: New file.
9470 * config/s390/t-crtstuff: New file.
9471 * config/s390/t-linux: New file.
9472 * config/s390/t-tpf: New file.
9473
df58e648
RW
94742009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9475
9476 * configure.ac (AC_PREREQ): Bump to 2.64.
9477
79052be3
KK
94782009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
9479
9480 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
9481
5213506e
RW
94822009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9483
9484 * configure: Regenerate.
9485
a9a25daa
DR
94862009-08-09 Douglas B Rupp <rupp@gnat.com>
9487
9488 * config.host (ia64-hp-*vms*): New target.
9489 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
9490 with ia64-hp-*vms*.
9491
6efbd53f
RW
94922009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9493
9494 * configure.ac: Add snippet for maintainer-mode.
9495 * configure: Regenerate.
9496 * Makefile.in (AUTOCONF, configure_deps): New variables.
9497 ($(srcdir)/configure)): New rule, active only with maintainer
9498 mode turned on.
9499
7acf4da6
DD
95002009-06-23 DJ Delorie <dj@redhat.com>
9501
9502 Add MeP port.
9503 * config.host: Add mep support.
9504
54f549af
KT
95052009-06-22 Kai Tietz <kai.tietz@onevision.com>
9506
34481f28 9507 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 9508 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
34481f28
UB
9509
9510 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
9511 for mingw targets.
54f549af
KT
9512 * config/i386/64/_multc3.c: Likewise.
9513 * config/i386/64/_powitf2.c: Likewise.
9514 * config/i386/64/eqtf2.c: Likewise.
9515 * config/i386/64/getf2.c: Likewise.
9516 * config/i386/64/letf2.c: Likewise.
9517 * config/i386/64/letf2.c: Likewise.
34481f28
UB
9518 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
9519 unsigned long long for x64 mingw targets.
9520 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
9521 (_FP_I_TYPE): Define as long long for x64 mingw target.
54f549af 9522
fea96e25
MR
95232009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
9524
9525 * config.host (vax-*-linux*): New.
9526
cceb575c
AG
95272009-05-31 Anthony Green <green@moxielogic.com>
9528
9529 * config.host: Add moxie support.
9530 * config/moxie/t-moxie: New file.
9531
7d296953 95322009-05-29 David Billinghurst <billingd@gcc.gnu.org>
e997fb9c
DB
9533
9534 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 9535 t-softfp to tmake_file for i[34567]86-*-cygwin*.
e997fb9c 9536
532bfb0a
AJ
95372009-04-17 Aurelien Jarno <aurelien@aurel32.net>
9538
9539 * config.host: Add i386/${host_address}/t-fprules-softfp to
9540 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
9541
748086b7
JJ
95422009-04-09 Nick Clifton <nickc@redhat.com>
9543
9544 * config/ia64/tf-signs.c: Change copyright header to refer to
9545 version 3 of the GNU General Public License with version 3.1
9546 of the GCC Runtime Library Exception and to point readers at
9547 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
9548 web page.
9549 * config/i386/32/tf-signs.c: Likewise.
9550 * config/libbid/_addsub_dd.c: Likewise.
9551 * config/libbid/_addsub_sd.c: Likewise.
9552 * config/libbid/_addsub_td.c: Likewise.
9553 * config/libbid/_dd_to_df.c: Likewise.
9554 * config/libbid/_dd_to_di.c: Likewise.
9555 * config/libbid/_dd_to_sd.c: Likewise.
9556 * config/libbid/_dd_to_sf.c: Likewise.
9557 * config/libbid/_dd_to_si.c: Likewise.
9558 * config/libbid/_dd_to_td.c: Likewise.
9559 * config/libbid/_dd_to_tf.c: Likewise.
9560 * config/libbid/_dd_to_udi.c: Likewise.
9561 * config/libbid/_dd_to_usi.c: Likewise.
9562 * config/libbid/_dd_to_xf.c: Likewise.
9563 * config/libbid/_df_to_dd.c: Likewise.
9564 * config/libbid/_df_to_sd.c: Likewise.
9565 * config/libbid/_df_to_td.c: Likewise.
9566 * config/libbid/_di_to_dd.c: Likewise.
9567 * config/libbid/_di_to_sd.c: Likewise.
9568 * config/libbid/_di_to_td.c: Likewise.
9569 * config/libbid/_div_dd.c: Likewise.
9570 * config/libbid/_div_sd.c: Likewise.
9571 * config/libbid/_div_td.c: Likewise.
9572 * config/libbid/_eq_dd.c: Likewise.
9573 * config/libbid/_eq_sd.c: Likewise.
9574 * config/libbid/_eq_td.c: Likewise.
9575 * config/libbid/_ge_dd.c: Likewise.
9576 * config/libbid/_ge_sd.c: Likewise.
9577 * config/libbid/_ge_td.c: Likewise.
9578 * config/libbid/_gt_dd.c: Likewise.
9579 * config/libbid/_gt_sd.c: Likewise.
9580 * config/libbid/_gt_td.c: Likewise.
9581 * config/libbid/_isinfd128.c: Likewise.
9582 * config/libbid/_isinfd32.c: Likewise.
9583 * config/libbid/_isinfd64.c: Likewise.
9584 * config/libbid/_le_dd.c: Likewise.
9585 * config/libbid/_le_sd.c: Likewise.
9586 * config/libbid/_le_td.c: Likewise.
9587 * config/libbid/_lt_dd.c: Likewise.
9588 * config/libbid/_lt_sd.c: Likewise.
9589 * config/libbid/_lt_td.c: Likewise.
9590 * config/libbid/_mul_dd.c: Likewise.
9591 * config/libbid/_mul_sd.c: Likewise.
9592 * config/libbid/_mul_td.c: Likewise.
9593 * config/libbid/_ne_dd.c: Likewise.
9594 * config/libbid/_ne_sd.c: Likewise.
9595 * config/libbid/_ne_td.c: Likewise.
9596 * config/libbid/_sd_to_dd.c: Likewise.
9597 * config/libbid/_sd_to_df.c: Likewise.
9598 * config/libbid/_sd_to_di.c: Likewise.
9599 * config/libbid/_sd_to_sf.c: Likewise.
9600 * config/libbid/_sd_to_si.c: Likewise.
9601 * config/libbid/_sd_to_td.c: Likewise.
9602 * config/libbid/_sd_to_tf.c: Likewise.
9603 * config/libbid/_sd_to_udi.c: Likewise.
9604 * config/libbid/_sd_to_usi.c: Likewise.
9605 * config/libbid/_sd_to_xf.c: Likewise.
9606 * config/libbid/_sf_to_dd.c: Likewise.
9607 * config/libbid/_sf_to_sd.c: Likewise.
9608 * config/libbid/_sf_to_td.c: Likewise.
9609 * config/libbid/_si_to_dd.c: Likewise.
9610 * config/libbid/_si_to_sd.c: Likewise.
9611 * config/libbid/_si_to_td.c: Likewise.
9612 * config/libbid/_td_to_dd.c: Likewise.
9613 * config/libbid/_td_to_df.c: Likewise.
9614 * config/libbid/_td_to_di.c: Likewise.
9615 * config/libbid/_td_to_sd.c: Likewise.
9616 * config/libbid/_td_to_sf.c: Likewise.
9617 * config/libbid/_td_to_si.c: Likewise.
9618 * config/libbid/_td_to_tf.c: Likewise.
9619 * config/libbid/_td_to_udi.c: Likewise.
9620 * config/libbid/_td_to_usi.c: Likewise.
9621 * config/libbid/_td_to_xf.c: Likewise.
9622 * config/libbid/_tf_to_dd.c: Likewise.
9623 * config/libbid/_tf_to_sd.c: Likewise.
9624 * config/libbid/_tf_to_td.c: Likewise.
9625 * config/libbid/_udi_to_dd.c: Likewise.
9626 * config/libbid/_udi_to_sd.c: Likewise.
9627 * config/libbid/_udi_to_td.c: Likewise.
9628 * config/libbid/_unord_dd.c: Likewise.
9629 * config/libbid/_unord_sd.c: Likewise.
9630 * config/libbid/_unord_td.c: Likewise.
9631 * config/libbid/_usi_to_dd.c: Likewise.
9632 * config/libbid/_usi_to_sd.c: Likewise.
9633 * config/libbid/_usi_to_td.c: Likewise.
9634 * config/libbid/_xf_to_dd.c: Likewise.
9635 * config/libbid/_xf_to_sd.c: Likewise.
9636 * config/libbid/_xf_to_td.c: Likewise.
9637 * config/libbid/bid128.c: Likewise.
9638 * config/libbid/bid128_2_str.h: Likewise.
9639 * config/libbid/bid128_2_str_macros.h: Likewise.
9640 * config/libbid/bid128_2_str_tables.c: Likewise.
9641 * config/libbid/bid128_add.c: Likewise.
9642 * config/libbid/bid128_compare.c: Likewise.
9643 * config/libbid/bid128_div.c: Likewise.
9644 * config/libbid/bid128_fma.c: Likewise.
9645 * config/libbid/bid128_logb.c: Likewise.
9646 * config/libbid/bid128_minmax.c: Likewise.
9647 * config/libbid/bid128_mul.c: Likewise.
9648 * config/libbid/bid128_next.c: Likewise.
9649 * config/libbid/bid128_noncomp.c: Likewise.
9650 * config/libbid/bid128_quantize.c: Likewise.
9651 * config/libbid/bid128_rem.c: Likewise.
9652 * config/libbid/bid128_round_integral.c: Likewise.
9653 * config/libbid/bid128_scalb.c: Likewise.
9654 * config/libbid/bid128_sqrt.c: Likewise.
9655 * config/libbid/bid128_string.c: Likewise.
9656 * config/libbid/bid128_to_int16.c: Likewise.
9657 * config/libbid/bid128_to_int32.c: Likewise.
9658 * config/libbid/bid128_to_int64.c: Likewise.
9659 * config/libbid/bid128_to_int8.c: Likewise.
9660 * config/libbid/bid128_to_uint16.c: Likewise.
9661 * config/libbid/bid128_to_uint32.c: Likewise.
9662 * config/libbid/bid128_to_uint64.c: Likewise.
9663 * config/libbid/bid128_to_uint8.c: Likewise.
9664 * config/libbid/bid32_to_bid128.c: Likewise.
9665 * config/libbid/bid32_to_bid64.c: Likewise.
9666 * config/libbid/bid64_add.c: Likewise.
9667 * config/libbid/bid64_compare.c: Likewise.
9668 * config/libbid/bid64_div.c: Likewise.
9669 * config/libbid/bid64_fma.c: Likewise.
9670 * config/libbid/bid64_logb.c: Likewise.
9671 * config/libbid/bid64_minmax.c: Likewise.
9672 * config/libbid/bid64_mul.c: Likewise.
9673 * config/libbid/bid64_next.c: Likewise.
9674 * config/libbid/bid64_noncomp.c: Likewise.
9675 * config/libbid/bid64_quantize.c: Likewise.
9676 * config/libbid/bid64_rem.c: Likewise.
9677 * config/libbid/bid64_round_integral.c: Likewise.
9678 * config/libbid/bid64_scalb.c: Likewise.
9679 * config/libbid/bid64_sqrt.c: Likewise.
9680 * config/libbid/bid64_string.c: Likewise.
9681 * config/libbid/bid64_to_bid128.c: Likewise.
9682 * config/libbid/bid64_to_int16.c: Likewise.
9683 * config/libbid/bid64_to_int32.c: Likewise.
9684 * config/libbid/bid64_to_int64.c: Likewise.
9685 * config/libbid/bid64_to_int8.c: Likewise.
9686 * config/libbid/bid64_to_uint16.c: Likewise.
9687 * config/libbid/bid64_to_uint32.c: Likewise.
9688 * config/libbid/bid64_to_uint64.c: Likewise.
9689 * config/libbid/bid64_to_uint8.c: Likewise.
9690 * config/libbid/bid_b2d.h: Likewise.
9691 * config/libbid/bid_binarydecimal.c: Likewise.
9692 * config/libbid/bid_conf.h: Likewise.
9693 * config/libbid/bid_convert_data.c: Likewise.
9694 * config/libbid/bid_decimal_data.c: Likewise.
9695 * config/libbid/bid_decimal_globals.c: Likewise.
9696 * config/libbid/bid_div_macros.h: Likewise.
9697 * config/libbid/bid_dpd.c: Likewise.
9698 * config/libbid/bid_flag_operations.c: Likewise.
9699 * config/libbid/bid_from_int.c: Likewise.
9700 * config/libbid/bid_functions.h: Likewise.
9701 * config/libbid/bid_gcc_intrinsics.h: Likewise.
9702 * config/libbid/bid_inline_add.h: Likewise.
9703 * config/libbid/bid_internal.h: Likewise.
9704 * config/libbid/bid_round.c: Likewise.
9705 * config/libbid/bid_sqrt_macros.h: Likewise.
9706
97072009-04-09 Jakub Jelinek <jakub@redhat.com>
9708
9709 * Makefile.in: Change copyright header to refer to version
9710 3 of the GNU General Public License and to point readers at the
9711 COPYING3 file and the FSF's license web page.
9712 * config.host: Likewise.
9713
633dd061
AM
97142009-04-07 Alan Modra <amodra@bigpond.net.au>
9715
9716 * config.host: Reorder and merge to match config.gcc change.
9717
457d1d00
AM
97182009-04-03 Alan Modra <amodra@bigpond.net.au>
9719
9720 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
9721
52c0e446
JM
97222009-03-28 Joseph Myers <joseph@codesourcery.com>
9723
9724 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
9725 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
9726 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
9727 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
9728
ba181049
UB
97292009-02-12 Uros Bizjak <ubizjak@gmail.com>
9730
9731 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
9732 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
9733
c252db20
L
97342009-02-12 H.J. Lu <hongjiu.lu@intel.com>
9735
ba181049
UB
9736 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
9737 ia64/t-softfp-compat to tmake_file.
c252db20
L
9738
9739 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
9740
9741 * config/ia64/__divxf3.asm: New.
9742 * config/ia64/_fixtfdi.asm: Likewise.
9743 * config/ia64/_fixunstfdi.asm: Likewise.
9744 * config/ia64/_floatditf.asm: Likewise.
9745 * config/ia64/t-fprules-softfp: Likewise.
9746 * config/ia64/t-softfp-compat: Likewise.
9747 * config/ia64/tf-signs.c: Likewise.
9748
c60535f9
BE
97492009-01-18 Ben Elliston <bje@au.ibm.com>
9750
9751 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
9752
ce16861e
BE
97532009-01-16 Ben Elliston <bje@au.ibm.com>
9754
9755 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
9756 to tmake_file.
9757
bcf4713b
BE
97582009-01-13 Ben Elliston <bje@au.ibm.com>
9759
9760 * config/t-softfp: New file.
9761 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
9762 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
9763
7d296953 97642009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
2042cb04
JS
9765
9766 * config.host: Add m32r*-*-rtems*.
9767
7d296953 97682008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
541ed00e
JS
9769
9770 * config.host: Add m32c*-*-rtems*.
9771
19523300
RO
97722008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9773
9774 PR bootstrap/33100
9775 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
9776 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
9777 * configure: Regenerate.
9778 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
9779 tmake_file here from gcc/config.gcc.
9780 Move extra_parts here from gcc/config.gcc.
9781 * config/i386/t-sol2: Move here from gcc/config/i386.
9782 Use gcc_srcdir instead of srcdir.
9783
0a4a51c7
AN
97842008-11-18 Adam Nemet <anemet@caviumnetworks.com>
9785
9786 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
9787 case.
9788
2a761e46
TS
97892008-11-09 Thomas Schwinge <tschwinge@gnu.org>
9790
9791 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
9792
c0451df7
TS
97932008-10-08 Thomas Schwinge <tschwinge@gnu.org>
9794
9795 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
9796
358da97e
HS
97972008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
9798
9799 Add picoChip port.
9800 * config.host: Add picochip-*-*.
9801
c660f132
BW
98022008-08-06 Bob Wilson <bob.wilson@acm.org>
9803
9804 * config.host: Match more processor names for Xtensa.
9805
d1349557
L
98062008-07-08 H.J. Lu <hongjiu.lu@intel.com>
9807
9808 * config/i386/64/t-softfp-compat: Update comments.
9809
dd7b73c0
L
98102008-07-07 H.J. Lu <hongjiu.lu@intel.com>
9811
9812 * config/i386/64/_divtc3-compat.c: Moved to ...
9813 * config/i386/64/_divtc3.c: Here.
9814
9815 * config/i386/64/_multc3-compat.c: Moved to ...
9816 * config/i386/64/_multc3.c: Here.
9817
9818 * config/i386/64/_powitf2-compat.c: Moved to ...
9819 * config/i386/64/_powitf2.c: Here.
9820
9821 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
9822 .c suffix instead of -compat.c.
9823
6e1fab3d
UB
98242008-07-05 Uros Bizjak <ubizjak@gmail.com>
9825
9826 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
9827 (_FP_MUL_MEAT_D): Ditto.
9828 (_FP_DIV_MEAT_S): Ditto.
9829 (_FP_DIV_MEAT_D): Ditto.
9830
f92518d7
RS
98312008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
9832
9833 * Makefile.in: Add support for __sync_* libgcc functions.
9834
d0aede14
L
98352008-07-03 H.J. Lu <hongjiu.lu@intel.com>
9836
9837 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
9838
c174f11c
L
98392008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9840
9841 PR boostrap/36702
9842 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
9843 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
9844
9845 * config/i386/64/t-fprules-softfp: Moved to ...
9846 * config/i386/64/t-softfp-compat: This. New.
9847
5f464fa2
UB
98482008-07-02 Uros Bizjak <ubizjak@gmail.com>
9849
9850 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
9851 Initialize f with 0.0.
9852
ff473280
L
98532008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9854
9855 PR target/36669
9856 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
9857
9858 * config/i386/64/_divtc3-compat.c: New.
9859 * config/i386/64/_multc3-compat.c: Likewise.
9860 * config/i386/64/_powitf2-compat.c: Likewise.
9861 * config/i386/64/eqtf2.c: Likewise.
9862 * config/i386/64/getf2.c: Likewise.
9863 * config/i386/64/letf2.c: Likewise.
9864 * config/i386/64/t-fprules-softfp: Likewise.
9865
98662008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9867
9868 * config.host: Add i386/${host_address}/t-fprules-softfp to
9869 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
dfb3b0e3 9870 i[34567]86-*-linux*, x86_64-*-linux*.
ff473280
L
9871
9872 * configure.ac: Set host_address to 64 or 32 for x86.
9873 * configure: Regenerated.
9874
9875 * Makefile.in (config.status): Also depend on
9876 $(srcdir)/config.host.
9877
9878 * config/i386/32/t-fprules-softfp: New.
9879 * config/i386/32/tf-signs.c: Likewise.
9880
9881 * config/i386/64/sfp-machine.h: New. Moved from gcc.
9882
98832008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9884 Uros Bizjak <ubizjak@gmail.com>
9885
9886 * config/i386/32/sfp-machine.h: New.
9887
30551d99
NF
98882008-06-26 Nathan Froyd <froydnj@codesourcery.com>
9889
9890 * config/rs6000/t-ppccomm: Remove rules that conflict with
9891 auto-generated rules.
9892
18c04407
RW
98932008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9894
9895 * configure.ac: sinclude override.m4.
9896 * configure: Regenerate.
9897
10fbe77a
BRF
98982008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
9899
9900 * configure: Regenerate.
9901
bc6d4c3f
JM
99022008-06-10 Joseph Myers <joseph@codesourcery.com>
9903
9904 * Makefile.in (DECNUMINC): Remove
9905 -I$(MULTIBUILDTOP)../../libdecnumber.
9906 * gstdint.h: New.
9907
cd985f66
JM
99082008-06-07 Joseph Myers <joseph@codesourcery.com>
9909
9910 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
9911 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
9912 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
9913 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
9914 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
9915 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
9916 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
9917 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
9918 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
9919 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
9920 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
9921 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
9922 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
9923 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
9924
93fea8d3
AL
99252008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
9926
9927 * config.host (sh2[lbe]*-*-linux*): Allow target.
9928
18724e30
NF
99292008-04-30 Nathan Froyd <froydnj@codesourcery.com>
9930
9931 * config/rs6000/t-ppccomm: Add build rules for new files.
9932 (LIB2ADD_ST): New variable.
9933
47583040
AH
99342008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
9935
9936 PR target/34210
9937 PR target/35508
9938 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
9939 * config/t-avr: New file. Build 16bit libgcc functions.
9940
cf8e67fe
JJ
99412008-03-02 Jakub Jelinek <jakub@redhat.com>
9942
9943 PR target/35401
9944 * config/t-slibgcc-darwin: Make install-leaf dependent on
9945 install-darwin-libgcc-stubs instead of install.
9946
8d8da227
JM
99472008-01-25 Joseph Myers <joseph@codesourcery.com>
9948
9949 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
9950 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
9951 sh-*-rtemscoff*): Remove cases.
9952
edbf8b16
RS
99532007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
9954
9955 * Makefile.in (all): Use install-leaf rather than install.
9956 (install): Split most of the rule into...
9957 (install-leaf): ...this new one.
9958
89deeaff
EK
99592007-12-19 Etsushi Kato <ek.kato@gmail.com>
9960 Paolo Bonzini <bonzini@gnu.org>
9961
9962 PR target/30572
5f464fa2
UB
9963 * Makefile.in: Use @shlib_slibdir@ substitution to get
9964 correct install name on darwin.
89deeaff 9965 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
dfb3b0e3 9966
4081d704
HPN
99672007-12-15 Hans-Peter Nilsson <hp@axis.com>
9968
9969 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
9970 cris-*-elf and cris-*-none.
9971 (crisv32-*-linux*): Similar, as cris-*-linux*.
9972
f43e89a3
RIL
99732007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
9974
9975 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
9976
b4e9c2c6
L
99772007-10-27 H.J. Lu <hongjiu.lu@intel.com>
9978
9979 PR regression/33926
9980 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
9981 * configure: Regenerated.
9982
b2a00c89
L
99832007-09-27 H.J. Lu <hongjiu.lu@intel.com>
9984
9985 * Makefile.in (dfp-filenames): Replace decimal_globals,
9986 decimal_data, binarydecimal and convert_data with
9987 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
9988 and bid_convert_data, respectively.
9989
8d2a9e0e
CF
99902007-09-17 Chao-ying Fu <fu@mips.com>
9991 Nigel Stephens <nigel@mips.com>
9992
9993 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
9994 * Makefile.in (fixed_point): Define.
9995 Check if fixed_point is yes to build support functions.
9996 * configure.ac: Check for fixed_point support.
9997 * configure: Regenerated.
9998 * gen-fixed.sh: New file to generate lists of fixed-point labels,
9999 funcs, modes, from, to.
10000
2b53935d
JJ
100012007-09-11 Janis Johnson <janis187@us.ibm.com
10002
10003 * Makefile.in (dfp-filenames): Add bid128_noncomp.
10004
2533577f
JJ
100052007-09-10 Janis Johnson <janis187@us.ibm.com>
10006
10007 * Makefile.in (dfp-filenames): Remove decUtility, add
10008 decDouble, decPacked, decQuad, decSingle.
10009
3ae3dbd6
HK
100102007-08-27 Hans Kester <hans.kester@ellips.nl>
10011
10012 * config.host : Add x86_64-elf target.
10013
22867d02
L
100142007-07-06 H.J. Lu <hongjiu.lu@intel.com>
10015
10016 * configure.ac (set_have_cc_tls): Add a missing =.
10017 * configure: Regenerated.
10018
6f461e76
L
100192007-07-06 H.J. Lu <hongjiu.lu@intel.com>
10020
10021 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
10022 and x86_64-*-linux*.
10023
10024 * config/t-tls: New file.
10025
dfb3b0e3 10026 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
6f461e76
L
10027
10028 * configure.ac: Include ../config/enable.m4 and
10029 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
10030 supports TLS and substitute set_have_cc_tls.
10031 * configure: Regenerated.
10032
200359e8
L
100332007-07-04 H.J. Lu <hongjiu.lu@intel.com>
10034
10035 * Makefile.in: Use libbid for DFP when BID is enabled.
10036
76f5e200
DS
100372007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
10038
10039 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
dfb3b0e3 10040 extra_parts. Add config/i386/t-cygming to tmake_file.
76f5e200
DS
10041 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
10042
9bd196f0 100432007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
200359e8 10044 Danny Smith <dannysmith@users.sourceforge.net>
9bd196f0
ZM
10045
10046 PR target/29498
10047 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
10048 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
10049 * config/i386/t-crtfm: Compile crtfastmath.o with
10050 -minline-all-stringops.
10051
1910440e
RS
100522007-05-10 Richard Sandiford <richard@codesourcery.com>
10053
10054 * config.host (sparc-wrs-vxworks): New target.
10055
7d33c31d
KH
100562007-04-14 Kazu Hirata <kazu@codesourcery.com>
10057
10058 * config.host: Recognize fido.
10059
96fccd0d
JJ
100602007-04-04 Janis Johnson <janis187@us.ibm.com>
10061
10062 * configure: Check host, not target, for decimal float support.
10063
577565f9
UB
100642007-04-03 Uros Bizjak <ubizjak@gmail.com>
10065
10066 * config/i386/t-crtpc: New file.
10067 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
5f464fa2 10068 (x86_64-*-linux*): Ditto.
577565f9 10069
ccf8e764
RH
100702007-02-30 Kai Tietz <kai.tietz@onevision.com>
10071
10072 * config.host (x86_64-*-mingw*): New target.
10073
79b87c74
MM
100742007-03-23 Michael Meissner <michael.meissner@amd.com>
10075 H.J. Lu <hongjiu.lu@intel.com>
10076
10077 * Makefile.in (enable_decimal_float): New.
10078 (DECNUMINC): Add
10079 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
10080 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
10081 (decbits-filenames): This.
10082 (decbits-objects): New.
10083 (libgcc-objects): Add $(decbits-objects).
10084
10085 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
10086 Substitute enable_decimal_float.
10087 * configure: Regenerated.
10088
8fce4e31
HPN
100892007-03-19 Hans-Peter Nilsson <hp@axis.com>
10090
10091 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
10092
e8bb4597
BM
100932007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
10094
10095 * Makefile.in (install-info): New dummy target.
10096
344189f9
BS
100972007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
10098
10099 * config.host (bfin*-linux-uclibc*): Set extra_parts.
10100
ac84c172
BM
101012007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
10102
10103 * Makefile.in: Add install-html and install-pdf dummy
10104 targets.
10105
cd5c2357
RS
101062007-02-05 Roger Sayle <roger@eyesopen.com>
10107 Daniel Jacobowitz <dan@codesourcery.com>
10108
10109 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
10110 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
10111 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
10112
d9a66f98
JJ
101132007-01-29 Janis Johnson <janis187@us.ibm.com>
10114
10115 * Makefile.in (dec-filenames): Add decExcept.
10116
9891ec5f
DJ
101172007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
10118
10119 PR bootstrap/30469
10120 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
10121 -fprofile-use.
10122
d6efbf5a
DJ
101232007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
10124
10125 * configure.ac: Add --enable-version-specific-runtime-libs.
10126 Correct $slibdir default.
10127 * configure: Regenerated.
10128
17caeff2
JM
101292007-01-23 Joseph Myers <joseph@codesourcery.com>
10130
10131 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
10132
5ea41e3a
AP
101332007-01-21 Andrew Pinski <pinskia@gmail.com>
10134
10135 PR target/30519
10136 * config.host (alpha*-*-linux*): Set extra_parts.
10137
26900826
KK
101382007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
10139
10140 * config/sh/t-linux: New.
10141 * config.host (sh*-*-linux*): Set tmake_file.
10142
97af925b
DJ
101432007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
10144
10145 * Makefile.in (install): Handle multilibs.
10146
b0088af7
BM
101472007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
10148
10149 * Makefile.in: Added .PHONY entry for documentation targets.
10150
e0a9456a
BM
101512007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
10152
10153 * Makefile.in: Add empty info, html, dvi, pdf targets.
10154
7fd453b4
MS
101552007-01-04 Mike Stump <mrs@apple.com>
10156
10157 * Makefile.in (MAKEINFO): Remove.
10158 (PERL): Likewise.
10159
14e8fc8b
PB
101602007-01-04 Paolo Bonzini <bonzini@gnu.org>
10161
10162 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
10163 * configure: Regenerate.
10164 * Makefile.in (host_subdir): Substitute it.
dfb3b0e3 10165 (gcc_objdir): Use it.
14e8fc8b 10166
1555beba
DJ
101672007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
10168
10169 * config.host (ia64*-*-linux*): Set tmake_file.
10170
79e6eaeb
DJ
101712007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
10172
10173 * Makefile.in (version): Define.
10174
fa958513
DJ
101752007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
10176 Paolo Bonzini <bonzini@gnu.org>
10177
10178 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
10179 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
10180 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
10181 config/sparc/t-crtfm, config/t-slibgcc-darwin,
10182 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
10183 shared-object.mk, siditi-object.mk, static-object.mk: New files.
10184 * configure: Generated.
818ab71a 10185\f
a5544970 10186Copyright (C) 2007-2019 Free Software Foundation, Inc.
818ab71a
JJ
10187
10188Copying and distribution of this file, with or without modification,
10189are permitted in any medium without royalty provided the copyright
10190notice and this notice are preserved.